/**** (c) Valve Corporation. Use is governed by the terms of the Steam Subscriber Agreement http://store.steampowered.com/subscriber_agreement/. ****/ (self.webpackChunkstore=self.webpackChunkstore||[]).push([[179],{51194:e=>{e.exports={FocusRingRoot:"_3PH_XZYjqRMfVtlm5hbWz3",FocusRing:"_1IZrQ5Gmmvv0TMVF07zSq0",flash:"_1YTKZzpZzBEruHqjfaSm2q",growOutline:"Z3LxSTUmQb5RlaA4-G2RD",fadeOutline:"_2hZu3k2oOq-M2UmoA0An2N",blinker:"_3wFMMgT2t6sECeNlGtBjDN",DebugFocusRing:"YxeOZVLgl_cW7IESy3NHt",FocusRingOnHiddenItem:"_2OusVQKikkszayzpUDX35h"}},87123:e=>{e.exports={ScrollPanel:"_1CXdiS1qYxpxp_UoUYeo1k",ScrollY:"_313lBO-jwNHzNrjZznA-74",ScrollX:"_1oRGoiP88OvaMu0R8O6zNR",ScrollBoth:"_3S2KoD34fIYgAqKqp_j4F4"}},74736:e=>{e.exports={HoverPosition:"_3XUANycKE9h4rEXlPo3TIW",Ready:"qEo88cpdjUGTMNgC_QK8c",NoSpace:"_2NTbbe3ZK4ExTBIfPyPTpZ",EnablePointerEvents:"_2MP9nTdz-JMvAvlIcFdd8r",HoverAboveModal:"_1SHX2kGS9WtIThx3v7JOV-",HoverPositionOuter:"EUN4GPmCCaj1QX2Yy9CVb"}},27241:e=>{e.exports={"duration-app-launch":"800ms",ContextMenuMouseOverlay:"pu9cOpUMN0Q4mmIX2WZPl",ContextMenuFocusContainer:"_2qyBZV8YvxstXuSKiYDF19",contextMenu:"LQkrbbayZPY11qHm01t7F",ContextMenuPopup:"_2GpKTB_eizdXpH2xVGbMKi",contextMenuContents:"_2y2tUbsMx8OIwkimGSyHmb",contextMenuItem:"pFo3kQOzrl9qVLPXXGIMp",active:"_1KPWUt7wYWSfD3V7sYpsyT",MenuSectionHeader:"_2Q7u1fQF0a2A_2xSIDV2SR",ContextMenuSeparator:"_1F2EcTc-0vNkdiBz8ATakM",NoSeparation:"_3twt275mAolCcqrtO-59f2",UpperCase:"_2ZwZjZKSz-6JfDSbPDOipQ",SubMenu:"jVo8TLdJLQjHUL3pO8px9",Label:"_38fI0DDIZFjiJ8-vBlvzMT",Arrow:"_2NKnRaE_GTR4HoJdhr_fDM",IconContainer:"J6UFbJ6N78NGDtokLDl4R",ContextMenuHRSeparator:"_3Ac-MSxrQqUlE1OuKnETqa",ForceDesktop:"_7K1n9EZg9218K75ZOzcHl",PopoutSubMenu:"IpTgn1Zy8PpuhRakOTeAu",PopoutSubMenuItems:"y5L1fJRNiyJszsBNKnIMv"}},410:e=>{e.exports={"duration-app-launch":"800ms",BasicContextMenuModal:"_2xS2_If-53JedoqNgMQcEn",BasicContextMenuHeader:"_2Jp8BDwgO-UBblFHIRJJCJ",BasicContextMenuHeaderShrinkableSpacing:"_21uc7wxVD2jnd60jclrC__",BasicContextMenuContainer:"_2ZDB68s0nwpd-ww-M4WXfa",slideInAnimation:"_2z70QCCSordaKXpONVNm3G",contextMenu:"x13bNBuBUPKDebZAIInQb",contextMenuContents:"sIgB-Ym9BCGONmDUz_XUW",hasSubMenu:"E-IgWN9c3hGPMmmRDwHWs",contextMenuFade:"_3jmEJTvvk_QHIB2_P0eaME",contextMenuItem:"_1sdvoquNUMKb-NNY0a_gjX",Destructive:"_3aIFvGweOy28vYEoJ9r9DK",Positive:"_2gJWj-FfbKrSsAuDQWMhcb",Emphasis:"_1viOGaAjubgRbWQgU49yrB",active:"_2Pk-xcrPB0zrPQv_m7Glg1",Selected:"_1PnETr0dHMlZfYZFdQDIRr",Focused:"X813rH7Ns5knT--YPnHvb",Capitalized:"_3Jww5TmX3Fht-eSNhHKK4k",MenuSectionHeader:"_1EMaMb9bJrlRqu0HIfXdRH",UpperCase:"_2bA03_F2rlokJc2wSq8sv-",SubMenu:"_1_tPNTB5jp2HQILYz35WVF",ContextMenuSeparator:"_1KL6nJ26YGTHf7lVcq-ueN",Label:"_1WqSgURiPIav8273oCt-ms",Arrow:"_2EDBbj7YpXO6u9jrkGAzod",BackgroundAnimation:"J5n9qP6b-YLGfy9gd-NqL","ItemFocusAnim-darkerGrey-nocolor":"_15NxM9F29Zr4oLRQg1u6m5","ItemFocusAnim-darkerGrey":"_1m4Mb4TcguNr5a9wpWN36M","ItemFocusAnim-darkGrey":"_26VnWYnqLWhaAb0Zg2L-aq","ItemFocusAnim-grey":"_3kAMT-HKipgXoD2lDn23p_","ItemFocusAnim-translucent-white-10":"xal3780lwHpatn1e32BLC","ItemFocusAnim-translucent-white-20":"_3IpHnTQC6hTPSHNcqsbbfk","ItemFocusAnimBorder-darkGrey":"-BoSikoOI1Ovt6GosWGAD","ItemFocusAnim-green":"ta8gIjmXW8HR02rPa2KoJ",focusAnimation:"HkwmLm9uyjMCdyJqvHfrH",hoverAnimation:"_9vT7Oh5LgUAyqMTH0r8Z3"}},97696:e=>{e.exports={DialogDropDownMenu_Item:"_1R-DVEa2yqX0no8BYLtn9N",DialogDropDownMenu:"_1tiuYeMmTc9DMG4mhgaQ5w"}},64012:e=>{e.exports={DropDownLabelContainer:"_2wVxOfRdsjOPgSC1Gi13mP",DropDownLabelIconContainer:"_3nHUn_xAMbh8-8jkezi4Uf",DropDownLabelTextColumn:"P4jYQ15F_jKksIIFQNOQC",DropDownLabelTitle:"uDBZWGBy_BP0IFXToHYjk",DropDownLabelUpperDescription:"_2_JN3g32-zWsCBoU8R8yzG",DropDownLabelDescription:"_1JPcbbojrgNM_FTODskCRa"}},99967:e=>{e.exports={"duration-app-launch":"800ms",GamepadDialogContent:"_3joNkY6kRyL-6RK1rKIrV2",GamepadDialogContent_InnerWidth:"_3XeydYM9PEBVW2iTkFcpDS",Field:"S-_LaQG5eEOM2HWZ-geJI",Button:"_1kn7017HPxqS3NKx_wnI4e",NoMinWidth:"_21cihLI2EMdS6hOPGuEIT8",ActiveAndUnfocused:"_11tOPninQ5qef9jHYBccjV",StandaloneFieldSeparator:"_23kNbTg9_TY8TV_uLN8MJy",StandardPadding:"XRBFu6jAfd5kH9a3V8q_x",CompactPadding:"_1DIZQm8Vp2NVirFkTTuKcF",WithDescription:"_3bMISJvxiSHPx1ol-0Aswn",WithBottomSeparatorStandard:"_3s1Rkl6cFOze_SdV2g-AFo",WithBottomSeparatorThick:"_28hmyYPpB6U3AhU3i93m4q",HighlightOnFocus:"wE4V6Ei2Sy2qWDo_XNcwn",Clickable:"_27UVYW_V-GslmLf0-gfVCM",Disabled:"_1pmyxI3wxLrWwGnc52yVns",WithBottomSeparator:"_1lUZxgL06M64Pd0dTKSTyk","ItemFocusAnim-darkerGrey":"_3ZRaK9N59f2GlQwXn_I2PP","ItemFocusAnim-darkGrey":"_2zfa-F0ZSlbWhS6wq8vMdp",FieldChildrenWithIcon:"_2ZQ9wHACVFqZcufK_WRGPM",FieldChildrenInner:"_3N47t_-VlHS8JAEptE5rlR",FieldClickTarget:"TN6vN88R7oq-393_YwVGd",FieldIcon:"_1sC68UJqI3ry5Gnk5cnH9U",Front:"YngiULyDFSZ6zgqqD2HZv",BeforeChildren:"_1qtqBLJ3RtTjpSZECAD0Xr",FieldLabelRow:"H9WOq6bV_VhQ4QjJS_Bxg",VerticalAlignCenter:"_3XNvAmJ9bv_xuKx5YUkP-5",InlineWrapShiftsChildrenBelow:"pHUb63vb7yLjlsvZSLQAk",ExtraPaddingOnChildrenBelow:"_5UO-_VhgFhDWlkDIOZcn_",ChildrenWidthFixed:"_1ugIUbowxDg0qM0pJUbBRM",ChildrenWidthGrow:"_Oeqvtl9-rkcGHLG_8-Bu",WithFirstRow:"qFXi6I-Cs0mJjTjqGXWZA",WithChildrenBelow:"_1u5FTYl4sD9y1KMWvCggAO",FieldLabel:"_3b0U-QDD-uhFpw6xM716fw",FieldLabelValue:"lcD7JwtsRxFA78_NDNzGr",FieldDescription:"_2OJfkxlD3X9p8Ygu1vR7Lr",ModalPosition:"_30VHlA4G1lPFjpUGGpt8iu",VR:"_1sYg0MfVV3lExuSqxVIDl8",WithStandardPadding:"_1s9-eDUK8B2XQzyryPSKki",NoHeaderPadding:"_2kAHXSCQSnn_86diAEaYp0",ModalClickToDismiss:"_2szdGcwEfYbQFSC5LUZ2Zk",slideInAnimation:"_17KuO6EZhl9laTwWJZnsTP",ScrollWithin:"_2y_Up4wWFyT8AULYBSi_eo",BasicTextInput:"_3GCBiQSfTTBlpriDamDKBV",Toggle:"_24G4gV0rYtRbebXM44GkKk",ToggleRail:"_2JtC3JSLKaOtdpAVEACsG1",On:"_3ld7THBuSMiFtcB_Wo165i",ToggleSwitch:"_3__ODLQXuoDAX41pQbgHf9",LabelFieldValue:"_5MylhHd8PK_zUS95p0n-1",DropDownControlButtonContents:"LzvediNQdGegZQ8wjCDIZ",Spacer:"_3nOZQD8c3VJ9ypIOJoNERZ",DropDownRow:"xCbGIYX-Ofm52x9HWfSL_",IconContainer:"_223iJLPZZTCnykXEb6Ubz3",Label:"SqnsK0BFKkDNe1Ty0laLt",ControlsListOuterPanel:"_2Mvpu0Kldp2FgzYp0Tx-OP",StandardSpacing:"E-It0s_4FBljpfdIM1OXO",ExtraSpacing:"_3YMmGt3id8hjkzKuUwPaU9",ItemMaxSizeDesktop:"LFWdf_kEag5nfyHdl0Dlv",AlignRight:"_4eBGApwI8PJJ_demUf2n9",AlignLeft:"_2N3q6hYt7WttFXomuhGs9s",AlignCenter:"_3groUm_cODLA260YI1QW2q",FullWidth:"_1a_HObsloATE70dbQ_4ez1",ControlsListChild:"XvRsoF63hkSPNVBr2XPVI","QuickAccess-Menu":"_1YEXnCx25S2OrHeMkBQ5mf",BottomButtons:"_3_EvpXK_JWLTD7HqnJRESk",BackgroundAnimation:"_1_Rc0oEjNAd-iCYRQ5_FOm","ItemFocusAnim-darkerGrey-nocolor":"_20uOg74f-aQcCeKcE3x14U","ItemFocusAnim-grey":"_37Ohc8lwo9mBIeU01SZT5G","ItemFocusAnim-translucent-white-10":"YLWBZJlBzdpw-Ps2-ckQ6","ItemFocusAnim-translucent-white-20":"_1hX6Y1JhQnd65G4HbxzJwo","ItemFocusAnimBorder-darkGrey":"_8BINskL0lK1EakDMXV1hq","ItemFocusAnim-green":"wPuMlzH5b3rp2_78l7o9r",focusAnimation:"PlqwmVAzSN58jrWbVRo0V",hoverAnimation:"_22zeKzy5kIdE2k7OQ_n14i"}},81921:e=>{e.exports={"duration-app-launch":"800ms",DropDownControlButton:"_28bny-9cz71SOMbuLQQkQA"}},20204:e=>{e.exports={TogglePasswordVisibilityBtn:"_1Z-CctcUAd2cuoe30TyZMb",Digits:"znEp6EwA5lpfa-_93eqkM",PinDigit:"_1oiQ56h0luQ50rEza0T7hV"}},74491:e=>{e.exports={"duration-app-launch":"800ms",PagedSettingsDialog:"_2P_CGCggNDc72p0hKDdZrb",PagedSettingsDialog_PageContent:"wIOLOQKKPuLgY4IZ8NEEs",NoPadding:"_2BpB-fMDEbYRxrXVNy1Ciu",PagedSettingsDialog_PageListColumn:"_2EZ3ouQtA9IbManxqNnvA1",PagedSettingsDialog_Title:"_1Px9ukfy7b7T2NuVqMDQ8C",PagedSettingsDialog_PageList:"_3c_Jp_a4-eR0-rTZ4P7Sve",PagedSettingsDialog_PageList_DisableScrolling:"_2brQEAt9nGh8jioAwiQGTi",PagedSettingsDialog_PageList_ShowTitle:"d113OWu_OjkdR2vq0yS4S",PageSettingsDialog_PageList_NoHeaderPadding:"_2vaiq5TbRxQ7G1EdvkhoWu",PagedSettingsDialog_PageListItem:"_1ix7rZL2Pvv5c98VUx91on",DisabledItem:"_3Lp2fJUSU_c5MNIeitoAF",Active:"_22LLBKepb_vE9CzP72j37V","ItemFocusAnim-darkerGrey":"ur7guBeTwV8PrAJyW0coV","ItemFocusAnim-darkGrey":"_3qFxlI6ulBZs0LAxE2HH84",PageListItem_Icon:"_1F_5QathRzG24VcbGeS4d6",PageListItem_Title:"_2PPLvVfTY7IMf4TTVa57vQ",Separator:"_3vV7luh3gv8KrX3yv-QeSH",PagedSettingDialog_ContentColumn:"_3JPleAZbLDWQNJajW0T1fM",Up:"_3Qp0kr0XErRbQRRvYg1ss",ContentTransition:"NCmolI-2Q6Dhdja8hKYhc",Enter:"_2x_gOmvPp1yMBbRVCDoemq",EnterActive:"_1JBp4lU4wnxIWMC-gQJMqd",Exit:"_1lJGyskqN3UJy70HHseYrG",ExitActive:"_1fljM5Nm8uQjb34T0wv8L6",Down:"_37IKRgWRQ2TNJUOE3b5j0H",BackgroundAnimation:"Lezt5wmw8FuQcvjsZyd3i","ItemFocusAnim-darkerGrey-nocolor":"_3M5nCisK-oCh6nkRFQOY_E","ItemFocusAnim-grey":"_1fG-jZ2FFm015Mis8HgeP","ItemFocusAnim-translucent-white-10":"_3_Y-eF7PXEum5N94NA71VY","ItemFocusAnim-translucent-white-20":"_2NdaOzSchXl5eKnN9YVCbQ","ItemFocusAnimBorder-darkGrey":"_2l2lkej10sb_Bp22hxJ-Cv","ItemFocusAnim-green":"HSYwKiHY58PGv1kEw_OqF",focusAnimation:"nKO5M0taEElbg5yGEbo73",hoverAnimation:"vXWdQTqO5HuufEyycJL2T"}},13708:e=>{e.exports={"duration-app-launch":"800ms","error-shake-duration":"500ms",SliderControlPanelGroup:"MY8iYjSUBt6cezwjPvtWp",SliderControlAndNotches:"_1Cccx-a5SBDaDmN3xR8PV1",WithDefaultValue:"_1t8of8LGkzYgP2BJKY8wSX",SliderControl:"_3o137DBNF03ytbLBl2jPri",Disabled:"_1lI1N9gfJs3s_Gfo1F_4-D",SliderTrack:"Mq25Nap224hVdTdtXSsnq",SliderHasNotches:"_2XiAyVOl4QrUqofSC3IGA3",DefaultValueIsColorRange:"_2xK5B-wDXlgY-8qHYyUI3i",DefaultValueColorLeft:"uanTsGchIL7AW8XzKY-3v",DefaultValueColorRight:"_3aFKYalqis1i6P8OLTyWX7",SliderTrackDark:"_3UIUDh2q1nXDaHbWOLCILH",SliderHandleContainer:"_1pQZiklDl2xXiNsZ6Uvy_a",VerticalLineSliderHandleContainer:"_1lQz2japXLRHldtR7-ZDZl",ParenSliderHandleContainer:"_3ubaMuINb3B2SomD6h8fe6",SliderHandle:"_2yVKjlAVW3txkGmVpX9G8i",SliderHandleFocusPop:"_2lNxL6U6dIi2bYSJ5Z7sPz",VerticalLineSliderHandle:"i3l9tX0t4uqz4Q2oVK5Q-",ParenSliderHandle:"_3ZGMEKq1IUwilkKWSzJi-l",Left:"_1PL0awDqGBV6cLVicc-VKF",Icon:"_21uKinb5EXvbyc8CvukINm",SliderNotchContainer:"_2N-a5Onx7LEqonNgWc_Eq5",SliderNotch:"_3x6veTpXM67YGCg0y5gfOl",AlignToEnds:"_2SgU_ksVhRSkm8_uq5Cjz_",SliderNotchLabel:"u_sH1WTT856KgeLf7S0EZ",AlignToLeft:"_3CtMn3lhG9gom31tUt6nY5",AlignToRight:"_eiEPnYBQu7aKrOiXAWJC",SliderNotchTick:"Fv1HtHd8WS-PIZnAq_vC0",TickActive:"_1gnUVUYrOfFMR2_U2YfebL",LabelText:"_1-PvKyVCqRu3M8-AWETzj6",DescriptionValue:"_2oRwFaVMzVZ-cMk0tPPtCP",EditableValue:"_2DXnlaGsSVGY9MbHDPXsec",FakeEditableValue:"_1-lyBxX5NpJ9_Ij1w3qxX0",RedBorder:"_1h5To6Vc0HQCY6LE-Zpg7z",ErrorShake:"_2SGoMcfCZ2Z3PXH8Yu3_0F","error-shake":"_3HxdORGQyi-_wzl26nOHdq",CompoundSlider:"_3Q4jT2WcmoJ8ljt1ckQNpF",CompoundSliderSubSlider:"_20HO3W7Dy2NYHTkrJxC2Hx",Right:"syN8nA_jgsJm4oHGF0JV3",CompoundSliderSubSliderLabelContainer:"_1h_oebePbE2PTmDJpNahSQ",CompoundSliderSubSliderLabelPositioner:"mKcUnPOPhSvWeLY7wxpIS",CompoundSliderSubSliderLabel:"iYrz97SrsrO228cdnM-T5",CompoundSliderSubSliderLabelInternal:"_1dkDUfU5yqAAv-jgpipoYo",DefaultValueTickContainer:"_23F6ABe8GsjCOEWml-L0Xz",DefaultValueTick:"_1WFYbdGNkz-psgihc4g_M1",BackgroundAnimation:"_3cacE0DBS8iu4jK2huzatx","ItemFocusAnim-darkerGrey-nocolor":"_2ieuB49H_AbNMxnoiql8vl","ItemFocusAnim-darkerGrey":"rV8edc-V9QZCJb8AXqLv0","ItemFocusAnim-darkGrey":"_3mh_qpQwKn-pmCp-3Mg9yj","ItemFocusAnim-grey":"v4-MhNp9ZkuFpnKOzuaRk","ItemFocusAnim-translucent-white-10":"_10l9qTfXF_K1uTe6vjwvrI","ItemFocusAnim-translucent-white-20":"_1OCQ4bra9HRrd6m8HNa_QQ","ItemFocusAnimBorder-darkGrey":"_3Kc9jyseSOzfi-ZvTAtot9","ItemFocusAnim-green":"_8o7mUwYKsk4Du3A3WpC-2"}},40093:e=>{e.exports={"duration-app-launch":"800ms",PagedSettingsDialog:"_3I6h_oySuLmmLY9TjIKT9s",PagedSettingsDialog_PageContent:"_1I3NifxqTHCkE-2DeritAs",NoPadding:"_1iWhHeynPmLcXcAebKsalK",PagedSettingsDialog_PageListColumn:"RTicBCbDcEGkjsbmWzA8C",Hidden:"_1uk_4ujCnZKFDlDXM_LWdF",NewNoteButton:"sc_I7jHX2S2xw8Ou6KgP8",PagedSettingsDialog_Title:"_3qEgQJqeb0zyM12KXq64Or",PagedSettingsDialog_PageList:"_EebF_xe4DGRZ9a0XkyDj",PagedSettingsDialog_PageList_DisableScrolling:"_36SrgqA3nPhqhDB9AkRbSc",PagedSettingsDialog_PageListItem:"bkfjn0yka2uHNqEvWZaTJ",PageListItem_Icon:"U6HcKswXzjmWtFxbjxuz4",PageListItem_Title:"_2X9_IsQsEJDpAd2JGrHdJI",DisabledItem:"_1RDp9x1K3WsjXf7hYWmmiX",Active:"Myra7iGjzCdMPzitboVfh",PageListSpacer:"_33lCZVHm3IW1fUgl7-zhnx",PageListSeparator:"_1UEEmNDZ7Ta3enwTf5T0O0",Transparent:"SeoUZ6M01FoetLA2uCUtT",HidePageListButton:"_3i4EpiSDpxQHVFExxUa1Zp"}},27363:e=>{e.exports={Group:"_2qYC3gFAkLcB48i6dTz051",Button:"_3lwcRYJ_r7x01Cn15bcdYI",Disabled:"_3Yc8UCsmMtheFi5YrgQO-p",Active:"_3ZBFoxumQBb1JEVw_DZzaC"}},24672:e=>{e.exports={Toggle:"_3jXWQl2Xun5nCqu_XZuWlx",Disabled:"_2V_kUPdu717hnIpy_2KM5L",ToggleRail:"GKYwHIpJCXaWh3_8eEfAc",Highlight:"_2l9tHgvLGdcJ28Ttj7MBdg",On:"_1YqUAESt7qu1Zh60YEX9UF",Off:"_3_gMXEo1MJCh__1oPRZVrl",ToggleSwitch:"_2mW8B6npDIK23Ft0oWU46I",ToggleRow:"RFRVY1zEAMhZEG0e7yHhK",Label:"_2sb8qdRMMZUTcYeFjOsMe"}},37990:e=>{e.exports={Spinner:"_2Hc4fTsuerNhm5znqO8oEU",SpinnerSpokeFade:"_2QBT4miG3pEx5Ay49P3zfO",WirelessConnectingActive:"UCVKttzop_epYxSxD8Tai",WifiBar1:"_25g4S4xBiAN0aPLg3avRdB",WifiBar1Anim:"_3WnTDLQV56r5yIkWft09mx",WifiBar2:"_1UtwlfIX_G1aEFEODw7b_1",WifiBar2Anim:"_3BoKoNHd6Lou5gNi7gRJ8",WifiBar3:"zZxOyqUSg1ubghCYGtZlN",WifiBar3Anim:"_1C2Pjh--hLCrEkG-mfneeo",WifiBar4:"_23OJcxlxtSraprZCKOauOv",WifiBar4Anim:"bMD58yf9RKEYU35SagsCV",GenericGamepadHighlight:"_1zfyDXN323iXxU7QFog0Hp",GenericGamepadEmpty:"_3zuMWG9iFA6sAG-HyiKrH1"}},58412:e=>{e.exports={BodyNoScroll:"_3ItVl5yHyoIzbT-OEavM23",BodyNoScrollDialog:"_3lrlAZAJPhZF96afnFP60d",OverlayModal:"_1RM4plj6KXEz75LarkzWYW",GamepadOnlyModalWrapper:"_3tgceAT6NY-l8_0N8vJVhD",GamepadOnlyPanelWrapper:"_1vgBET-1EU0j0JXAqd42u4"}},49632:e=>{e.exports={ParentalPINDialog:"_176OW7bm2DlpiaHpiUGsCK",ParentalUnlock:"_26x49M4hs3q9L9IJm6wCef",ParentalRequest:"_3CX0pjh6AQTAECXUu59Yq6",Body:"_3Vbr2dXh-ZReDLPQUDPTWj",Title:"heMWC0R5OYrSytpbVjQvZ",ErrorText:"_332ybmOctIiXAdjLt58Qqh",TextInput:"_2WMdvsfJ-0rwRExirsDw46",ButtonWrapper:"Q7uvxJpnTZRC-d92zJwxa",Button:"_1v4JsoSgsuK4z7jzvyADkr"}},79124:e=>{e.exports={"duration-app-launch":"800ms",PurchaseNoticeContainer:"_3MM2BhNZmevfgOJURUrajU",RightHandImage:"_1rj3M_cGOydME3ePoqYNXA",PurchaseNoticeLabel:"_3isvN1K0OSelqFk6h2VmQq",PurchaseNoticeImageContainer:"_2oYi0P4Z1jEx865YKYHrPa",VRSupported:"PJBlJexSd9DN9vhiLPxii",PurchaseNoticeImage:"_1vJ5G1lfEURrIbGN5Yv1wD",Tilt:"_2YKuvYIj0HRXYUrJLRGCer",VROnly:"_30HWu-TnAQw9384ZJ61zk_"}},7765:e=>{e.exports={v6:"_3r3LeMDqAWrWz5yemfRZrr",SubText:"_3Ctn8z4OyGV9MBod7YNr6-",AvatarImageContainer:"_10L8evhSrx2eeQJ0fei915",GameImageContainer:"_2opUaJnY6NOPvR5IVKYaL1",AvatarImage:"_3GB710zAzAnS2XrcJNMPUH",STV_HomeGridPreviewDetails:"h3usSTJi7GnFFN6LL-VLV",ChatAvatarImage:"_1GZJGsi-EOiVvsSg6DeinE",EditButton:"utVo_5sJ20VNS9XKs89ZS",Small:"_2MbrVNjLgQbsQTv3OCfrO0",FlexCenter:"_24qeH7UeGNtRNxbdhD5ODx",ThrobberCtn:"r-SBjvROnx8UafET_3x2e",MarkdownLink:"_2KgeHD329pvCJr1xvKQT9B",SummaryTextArea:"_2xqdReHqqH6BGLQjBfqUkb",RemoveIcon:"_1iOrEj79rxXXMqQLk3gqfQ"}},45691:e=>{e.exports={"duration-app-launch":"800ms",EmoticonBow:"S9_rtPcEuu70u2OOV-egc",EmoticonBow_st0:"_1MS_8abHufZMpS5b6d9Hmx",EmoticonBow_st1:"_3nqUNkFEGhT_NAyO2pzTdf",SteamDeckCompatInfo:"_2LcFIT3jWqcaUW0dGnVwie",SteamDeckCompatLogo:"Tplfb7q8fegNrMFf822ZS",SteamDeckCompatIcon:"_2hEWYXcqrdo3PPQfF5ldF4",SteamDeckCompatVerified:"_3mvZqebsUKh5KtZdhJm_OJ",SteamDeckCompatPlayable:"S7BDmthsl8-xF7aEuDW-E",SteamDeckCompatUnsupported:"_1SeOP2727kq8F4yXLQVkiN",SteamDeckCompatUnknown:"_15dEsyOLWcvaqEtVZE1yG2"}},81212:e=>{e.exports={TextToolTip:"_29b2a87G5A5NZeYh5Kgvea",ToolTipCustom:"_3Dt__IV9HmQY4KgsvaOz1i",ToolTipTitle:"_3YNfm7dGrnyUD_jVsU9L7",Center:"_2-PU0n9-KvYusAgl9Ui9mC",ToolTipInsetContent:"_1nxOnnCuHV-WYfXeUtBTKf"}},13447:e=>{e.exports={nTimelineHoverEdgePadding:"4",TrailerPlayer:"_1i1ECwT1Yn-3qHQ6EF4fPb",PlayerControls:"_17DgCqGykYc7kQJN-Yb4bP",LowerControls:"_3uzFvLFlB1RhYmrT2WsmZg",Timeline:"_2Gb_iJb5pdEKez6rzUShak",Bar:"_1BXDR28f-XR-TzlCwnTZR5",Buffered:"_2kyax4_G8Z3QxmvHtLtAD0",Played:"_3S8so5SSuWWsDiDJ516ra5",HoverTick:"_1W9oI752c54kx0lRTE7L-n",HoverTime:"_3M1RDWpfvrTwq8276rk4sQ",UserInputNeeded:"tH6oU7QQWiEIGfQ6VE6yB"}},53909:e=>{e.exports={TransitionGroup:"_11Twu0o4V-XsRzf4a8iPXR",ContentWrapper:"_1knAsslT5L-Hzp4pKrcP8N"}},22871:e=>{e.exports={App:"_2uHYtSBLSS1MxFonkOXr0O"}},82252:e=>{e.exports={ShoppingCartCountCtn:"_1LXDg91iImWld4-5gWdGx4",CartCountButton:"_2Fm-3XmbFRXR6yOZiRB0-d",ShoppingCartSVG:"_1P_gEVnGARDlC_80XwA2tX"}},77115:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,U:()=>r});const i="{STEAM_CLAN_IMAGE}",r="{STEAM_CLAN_LOC_IMAGE}"},68324:(e,t,n)=>{"use strict";n.d(t,{Pw:()=>a,c8:()=>o,hB:()=>r,zB:()=>s});const i=new(n(68785).sO)("video"),r=(i.Info,i.Debug);i.Error,i.Warning;function s(e){let t=Math.floor(e/3600),n=Math.floor(e/60)%60,i=Math.floor(e)%60,r=i.toString();i<10&&(r="0"+r);let s=n.toString();return n<10&&t>0&&(s="0"+s),(t>0?t+":":"")+s+":"+r}function o(){let e=!1;try{e=MediaSource.isTypeSupported('video/mp4;codecs="avc1.4d4032,mp4a.40.2"')}catch(e){}return e}function a(){let e=document.createElement("video").canPlayType('application/vnd.apple.mpegurl;codecs="avc1.64001f,mp4a.40.02"');return"probably"===e||"maybe"===e}},46157:(e,t,n)=>{"use strict";n.d(t,{C2:()=>H,N1:()=>G,YW:()=>N});var i=n(85556),r=n(80751),s=n.n(r),o=n(54842),a=n(77936),l=(n(83999),n(62210)),c=n(45492),u=n(31846),d=n(45651),m=n(16997),h=n(46984),p=n(37563),g=n(68324),_=n(48695);function f(e,t){let n=e.getElementsByTagName("MPD");return n&&1==n.length?n[0]:null}function v(e,t){for(let n=0;n(t=Number.parseInt(t),(Array(t).join("0")+n.toString()).slice(-t))))}function L(e){return e.startsWith("http://")||e.startsWith("https://")}function M(e,t){let n=e;n.endsWith("/")||(n+="/");let i=t.startsWith("/")?1:0;return n+t.substring(i)}function R(e,t){return L(e)||!L(t)?e:M(t,e)}function I(e){return 0==e.rgRoles.length||e.rgRoles.findIndex((e=>"main"==e))>=0}function T(e){if(!e)return 0;let t=e.segmentTemplate;return 1e3==t.nTimeScale?t.nDuration:t.nDuration/t.nTimeScale*1e3}function A(e,t,n){let i=T(t),r=n+1e3*e.GetStartTime()%i;return Math.floor(r/i)+t.segmentTemplate.nStartNumber}function k(e){return D(e.segmentTemplate.strInitialization,e.strID,0)}class O{constructor(){this.m_strType=void 0,this.m_nMinBufferTime=0,this.m_dtAvailabilityStartTime=null,this.m_dtPublishTime=null,this.m_nMinimumUpdatePeriod=0,this.m_nTimeShiftBufferDepth=0,this.m_nMediaPresentationDuration=0,this.m_strBaseURL="",this.m_strStatsLink="",this.m_strStalledLink="",this.m_strEventLogLink="",this.m_rgPeriods=null,this.m_tsLiveContentStart=0}GetType(){return this.m_strType}GetMinimumUpdatePeriod(){return this.m_nMinimumUpdatePeriod}GetAvailabilityStartTime(){return this.m_dtAvailabilityStartTime}GetPeriods(){return this.m_rgPeriods}GetBaseURL(){return this.m_strBaseURL}GetTimeShiftBufferDepth(){return this.m_nTimeShiftBufferDepth}GetMinBufferTime(){return this.m_nMinBufferTime}GetTimedTextAdaptionSet(e){return e<0||e>this.m_rgPeriods.length?[]:this.m_rgPeriods[e].rgAdaptationSets.filter((e=>e.bIsTimedText))}IsLiveContent(){return"dynamic"==this.GetType()}GetAdaptationByTrackID(e){if(!this.m_rgPeriods||0==this.m_rgPeriods.length)return null;let t=this.m_rgPeriods[0];for(let n of t.rgAdaptationSets)if(e==n.strID)return n;return null}GetVideoAdaption(){let e=this.m_rgPeriods[0];for(let t of e.rgAdaptationSets)if(t.bContainsVideo)return t;return null}GetStartTime(){return!this.IsLiveContent()&&this.m_rgPeriods.length>0?this.m_rgPeriods[0].nStart:0}GetEndTime(){if(!this.IsLiveContent()){if(this.m_rgPeriods.length>0&&this.m_rgPeriods[0].nDuration)return this.GetStartTime()+this.m_rgPeriods[0].nDuration;if(this.m_nMediaPresentationDuration>0)return this.GetStartTime()+this.m_nMediaPresentationDuration}return Number.MAX_VALUE}GetLowestRepresentation(e){let t=this.GetAdaptationByTrackID(e);if(!t)return null;let n=t.rgRepresentations[0];for(let e of t.rgRepresentations)e.nBandwidth=0||n.endsWith("/"))&&(n=n.substring(0,n.lastIndexOf("/"))),M(t.origin,n)+"/"}(t);let o=v(i,"Analytics");o&&(this.m_strStatsLink=y(o,"statslink"),this.m_strStalledLink=y(o,"stalledlink"),this.m_strEventLogLink=y(o,"eventlink"));let a=n.getElementsByTagName("Period");if(0==a.length)return!1;let l=a[0],c={strID:y(l,"id"),nStart:S(l,"start"),nDuration:S(l,"duration"),rgAdaptationSets:[]};if(!c.strID||null===c.nStart)return(0,g.hB)("MPD - Missing Period Information."),!1;this.m_rgPeriods=[],this.m_rgPeriods.push(c);let u=l.getElementsByTagName("AdaptationSet");for(let e=0;e1)for(let t=0;tt.end(0)&&(e=t.end(0));let n=t.end(0)-e;return Math.floor(1e3*n)}GetAmountBufferedMS(e){let t=this.GetAmountBufferedInPlayerMS(e);for(let e of this.m_rgBufferedSegments)t+=e.nDurationMS;return t}ChangeRepresentation(e){if(this.m_adaptation.rgRepresentations.indexOf(e)<0)return null;if(this.m_representation==e)return null;if(this.ContainsVideo()&&(0,g.hB)(`${this.GetDebugName()} changing representation to ${e.nHeight||0}p at ${Math.ceil(e.nBandwidth/1e3)}KB for segment ${this.m_nNextSegment}`),this.m_representation=e,this.m_bNeedInitSegment=!this.ContainsGame(),this.m_stats.SetRepresentation(e),this.ContainsGame())return e;if(!this.m_sourceBuffer){let t=e.strMimeType+";codecs="+e.strCodecs;this.m_sourceBuffer=this.m_mediaSource.addSourceBuffer(t),(0,g.hB)(t),this.m_listeners.AddEventListener(this.m_sourceBuffer,"updateend",this.OnSourceBufferUpdateEnd),this.m_listeners.AddEventListener(this.m_sourceBuffer,"error",this.OnSourceBufferError),this.m_listeners.AddEventListener(this.m_sourceBuffer,"abort",this.OnSourceBufferAbort)}return e}Close(){this.m_listeners.Unregister(),this.m_sourceBuffer=null,this.ForceStopDownloads(),this.m_eBufferUpdate=B.None,this.m_bRemoveBufferState=!1,this.m_callbacks=null,this.m_mpd=null,this.m_adaptation=null,this.m_mediaSource=null,this.m_nTrackBufferMS=0,this.m_representation=null,this.m_rgBufferedSegments=[],this.m_bNeedInitSegment=!0,this.m_nNextSegment=0,this.m_bSeekInProgress=!1,this.m_tsLastBufferRemove=0,this.m_rgDownloadLog=[],this.m_stats=null,this.m_rgGameDataFrames=[],this.m_statsGameData=null}GetActiveDownloads(){return this.m_xhrDownload?1:0}GetActiveDownloadProgress(){return this.GetActiveDownloads()?this.m_nCurDownloadProgress:0}OnSourceBufferUpdateEnd(e){let t=this.m_callbacks.GetCurrentPlayTime(),n=this.GetAmountBufferedInPlayerMS(t);(0,g.hB)(`${this.GetDebugName()} OnSourceBufferUpdateEnd: [playback=${t}][buffered=${n}][start=${this.GetBufferedStart()}][end=${this.GetBufferedEnd()}]`);let i=this.m_eBufferUpdate;this.m_eBufferUpdate=B.None,i==B.Append&&this.m_callbacks.OnSegmentDownloaded(this),this.m_bSeekInProgress&&i==B.Remove&&!this.m_bRemoveBufferState&&this.ContinueSeek(),this.UpdateBuffer()}OnSourceBufferError(e){console.log("OnSourceBufferError",this.GetDebugName(),e),this.m_callbacks&&this.m_callbacks.OnMediaSourceError(this)}OnSourceBufferAbort(e){console.log("OnSourceBufferAbort",this.GetDebugName(),e)}ScheduleNextDownload(){if(this.m_bNeedInitSegment)return void this.DownloadNextSegment();if(this.m_schNextDownload.Cancel(),this.m_xhrDownload)return void(0,g.hB)(`${this.GetDebugName()} ScheduleNextDownload - download already going`);if(this.m_bSeekInProgress)return void(0,g.hB)(`${this.GetDebugName()} ScheduleNextDownload - seeking`);if(this.m_nNextSegment>this.GetMaxSegment())return void(0,g.hB)(`${this.GetDebugName()} ScheduleNextDownload - reached max segment`);let e=this.m_callbacks.GetCurrentPlayTime(),t=this.m_callbacks.GetPlaybackRate(),n=function(e,t,n){if(!e.IsLiveContent())return 0;let i=T(t);return(n-t.segmentTemplate.nStartNumber+1)*i-e.GetDurationSinceStarted()}(this.m_mpd,this.m_representation,this.m_nNextSegment);if(n>0)return(0,g.hB)(`${this.GetDebugName()} ScheduleNextDownload - segment in future`),void this.m_schNextDownload.Schedule(n,this.ScheduleNextDownload);let i=this.GetAmountBufferedMS(e);if(t>1&&(i/=t),i<4e4)return(0,g.hB)(`${this.GetDebugName()} ScheduleNextDownload - have ${i} buffered, desire 40000 - downloading now`),void this.DownloadNextSegment();let r=1.1*T(this.m_representation),s=this.GetAmountBufferedInPlayerMS(this.m_callbacks.GetCurrentPlayTime());(0,g.hB)(`${this.GetDebugName()} ScheduleNextDownload - buffered, schedule later [sleep=${r}ms][buffer=${s}]`),this.m_schNextDownload.Schedule(r,this.ScheduleNextDownload)}DownloadNextSegment(){this.m_schNextDownload.Cancel();let e="",t=0,n=!1;if(this.m_bNeedInitSegment)e=k(this.m_representation),t=0,n=!0;else{if(this.m_nNextSegment<0)return void console.error("Attempting to download negative segment:",this.m_nNextSegment);i=this.m_representation,r=this.m_nNextSegment,e=D(i.segmentTemplate.strMedia,i.strID,r),t=T(this.m_representation),this.m_nNextSegment++}var i,r;this.DownloadSegment(this.m_representation.strID,n,e,t)}DownloadSegment(e,t,n,r,o=performance.now()){return(0,i.mG)(this,void 0,void 0,(function*(){(0,l.X)(null===this.m_xhrDownload,"Trying to download another segment while a download is already in flight"),this.m_schNextDownload.Cancel();const i=this.m_callbacks.GetCDNAuthURLParameter();i&&(n+=i),(0,g.hB)(`${this.GetDebugName()} Downloading: `+n);let a,c=null,u=performance.now(),d=s().CancelToken.source();try{this.m_nCurDownloadProgress=0,this.m_xhrDownload=d;let e={cancelToken:this.m_xhrDownload.token,timeout:15e3,responseType:"arraybuffer",onDownloadProgress:e=>{this.m_nCurDownloadProgress=e.loaded/e.total,this.m_nCurDownloadBitrate=8*e.loaded*1e3/Math.max(1,performance.now()-u)}};this.ContainsGame()&&(e.responseType="json"),c=yield s().get(n,e)}catch(e){a=e,c=e.response}if(!this.m_xhrDownload||this.m_xhrDownload!=d)return void(0,g.hB)(`Throwing away cancelled download: ${n}`);a&&(0,g.hB)(`${this.GetDebugName()} Failed to download segment: ${n}`,a);let m=performance.now(),h=Math.floor(performance.now()-u),p=c?c.status:0;if(this.m_xhrDownload=null,this.m_bSeekInProgress)return(0,g.hB)(`${this.GetDebugName()} Throwing away download due to seek: ${n}`),void this.ContinueSeek();if(!c||200!=c.status)return this.ContainsGame()?void this.ScheduleNextDownload():(this.m_stats.LogSegmentDownloadFailure(h,c?c.status:444),m-o>9e3?((0,g.hB)(`${this.GetDebugName()} HTTP download failed.. stopping loader: ${m-o}ms`),void this.DownloadFailed()):410==p?(this.m_nNumConsecutiveDownloadGones+=1,(0,g.hB)(`${this.GetDebugName()} HTTP download gone.. informing the player: ${m-o}ms`),void this.DownloadGone()):void this.m_schNextDownload.Schedule(500,(()=>this.DownloadSegment(e,t,n,r,o))));if(this.m_nNumConsecutiveDownloadGones=0,t&&(this.m_bNeedInitSegment=!1),this.ContainsGame()){let e=c.data;this.m_rgGameDataFrames||(this.m_rgGameDataFrames=[]);let t=Number.MIN_VALUE,n=Number.MIN_VALUE;this.m_rgGameDataFrames.length>0&&(t=this.m_rgGameDataFrames[this.m_rgGameDataFrames.length-1].pts,n=this.m_rgGameDataFrames[this.m_rgGameDataFrames.length-1].gdi);const i=e.frame;i&&(i.pts&&i.gamedata&&i.gdi?i.pts<=t?(0,g.hB)("Invalid game pts"):i.gdi!=n&&this.m_rgGameDataFrames.push(i):(0,g.hB)("Invalid game data")),this.TrimGameDataIfNecessary(),this.m_statsGameData={nAppID:e.appid,ulBroadcastRelayID:e.broadcastrelayid,nSegmentID:e.segmentid}}else{let t=new Uint8Array(c.data);this.m_rgBufferedSegments.push({nDurationMS:r,data:t,representationStrID:e}),this.LogDownload(u,t.length),this.UpdateBuffer(),(0,g.hB)(`HTTP ${p} (${h}ms, ${Math.floor(t.length/1e3)}k): ${n}`)}this.ScheduleNextDownload()}))}DownloadFailed(){this.m_callbacks.OnSegmentDownloadFailed(this)}DownloadGone(){this.m_callbacks.OnSegmentDownloadGone(this)}TrimGameDataIfNecessary(){}UpdateBuffer(){if(this.m_eBufferUpdate!=B.None)return;if(this.m_bRemoveBufferState)return void this.RemoveAllBuffers();if(!this.m_sourceBuffer)return void(0,g.hB)("No source buffer?");if(this.m_rgBufferedSegments.length>0){try{this.m_eBufferUpdate=B.Append;let e=this.m_rgBufferedSegments[0];this.m_sourceBuffer.appendBuffer(e.data),this.m_rgBufferedSegments.splice(0,1)}catch(e){"QuotaExceededError"===e.name?(this.m_eBufferUpdate=B.None,(0,g.hB)(`${this.GetDebugName()} Buffer - QuotaExceededError`)):(0,g.hB)(`${this.GetDebugName()} Buffer - Exception`,e)}return}let e=performance.now();if(!this.m_bSeekInProgress&&e-this.m_tsLastBufferRemove>1e4){let t=this.GetBufferedStart(),n=this.m_callbacks.GetCurrentPlayTime()-40;if(tn;if(0==t&&0==n&&(i=!0),(0,g.hB)(`${this.GetDebugName()} making an ${i?"unbuffered":"buffered"} seek to ${e}`),!this.m_bSeekInProgress&&!i&&!this.m_bNeedInitSegment)return void this.ScheduleNextDownload();this.m_bSeekInProgress=!0,this.ForceStopDownloads();const r=e-this.m_mpd.GetStartTime();let s=A(this.m_mpd,this.m_representation,1e3*r);if(this.m_nNextSegment=Math.min(s,this.GetMaxSegment()),(0,g.hB)("Seek To Next Segment: "+this.m_nNextSegment+" at approx. "+(0,g.zB)((this.m_nNextSegment-1)*this.GetCurrentSegmentDurationMS()/1e3)+" seconds."),this.ContainsGame())return this.m_bSeekInProgress=!1,this.m_rgGameDataFrames=[],void this.ScheduleNextDownload();this.m_bRemoveBufferState=!0,this.UpdateBuffer()}ContinueSeek(){this.m_bSeekInProgress&&(this.m_eBufferUpdate==B.Remove||this.m_bRemoveBufferState||(this.m_bSeekInProgress=!1,this.ScheduleNextDownload()))}BHasEnoughBuffered(e){if(this.m_bSeekInProgress)return!1;if(this.ContainsGame())return!0;let t=!this.m_xhrDownload&&!this.m_schNextDownload.IsScheduled()&&this.m_nNextSegment>this.GetMaxSegment();return this.GetAmountBufferedInPlayerMS(e)>=this.m_nTrackBufferMS||t}LogDownload(e,t){this.m_rgDownloadLog.length>=4&&this.m_rgDownloadLog.shift();let n=performance.now()-e;n<=0||(this.m_rgDownloadLog.push({cubData:t,nDownloadMS:n}),this.m_stats.LogDownload(t,n))}GetDownloadHistory(){return this.m_rgDownloadLog}GetAvgDownloadRate(){let e=0,t=0;for(let n of this.m_rgDownloadLog)e+=n.nDownloadMS,t+=n.cubData;return e<=0?this.m_nCurDownloadBitrate&&this.GetActiveDownloads()>0?this.m_nCurDownloadBitrate:0:8*t*1e3/e}GetGameDataFrames(){return this.m_rgGameDataFrames}GetLatestGameDataFrameAppID(){return this.m_statsGameData&&this.m_statsGameData.nAppID?this.m_statsGameData.nAppID:0}}(0,i.gn)([m.a],x.prototype,"OnSourceBufferUpdateEnd",null),(0,i.gn)([m.a],x.prototype,"OnSourceBufferError",null),(0,i.gn)([m.a],x.prototype,"OnSourceBufferAbort",null),(0,i.gn)([m.a],x.prototype,"ScheduleNextDownload",null),(0,i.gn)([m.a],x.prototype,"DownloadNextSegment",null),(0,i.gn)([m.a],x.prototype,"DownloadFailed",null),(0,i.gn)([m.a],x.prototype,"DownloadGone",null);const N=5,P="auto";var F,G,V;!function(e){e[e.HAVE_NOTHING=0]="HAVE_NOTHING",e[e.HAVE_METADATA=1]="HAVE_METADATA",e[e.HAVE_CURRENT_DATA=2]="HAVE_CURRENT_DATA",e[e.HAVE_FUTURE_DATA=3]="HAVE_FUTURE_DATA",e[e.HAVE_ENOUGH_DATA=4]="HAVE_ENOUGH_DATA"}(F||(F={})),function(e){e[e.Invalid=0]="Invalid",e[e.StreamGone=1]="StreamGone"}(G||(G={})),function(e){e[e.Absolute=0]="Absolute",e[e.FromAvailableStart=1]="FromAvailableStart"}(V||(V={}));class H{constructor(e,t=!1){this.m_elVideo=null,this.m_strMPD="",this.m_strHLS="",this.m_strCDNAuthURLParameters=null,this.m_schUpdateMPD=new c.Ar,this.m_bUseHLSManifest=!1,this.m_strVideoAdaptationID="",this.m_strAudioAdaptationID="",this.m_strGameAdaptationID="",this.m_rgLoaders=[],this.m_mediaSource=null,this.m_nTrackBufferMS=0,this.m_nLimitFPS=0,this.m_bIsBuffering=!0,this.m_seekingToTime=null,this.m_listeners=new c.G_,this.m_bFirstPlay=!0,this.m_bPlaybackStarted=!1,this.m_nTimedText=0,this.m_schGameDataEventTrigger=new c.Ar,this.m_schReportPlayerTrigger=new c.Ar,this.m_nGameDataLastFramePTS=-1,this.m_bStatsViewVisible=!1,this.m_schCaptureDisplayStatsTrigger=new c.Ar,this.m_videoRepSelected=null,this.m_nAudioRepresentationIndex=0,this.m_timedTextRepSelected=null,this.m_stats=new _.vf,this.m_bClosing=!1,this.m_hlsTimeOffset=0,this.m_bUserPlayChoice=!0,this.m_bUserLiveEdgeChoice=!0,this.m_schFirstFrameThrottler=new c.Ar,this.m_bookMarkAdapter=null,this.m_schBookmarkUpdater=new c.Ar,(0,o.rC)(this),this.m_elVideo=e,this.m_schReportPlayerTrigger.Schedule(3e4,this.ReportPlayerStats),this.m_bUseHLSManifest=t}CalcVideoStartRelativeToSystemClock(e){let t=(e?new Date(e).getTime():Date.now())-this.m_mpd.GetAvailabilityStartTime().getTime();this.m_mpd.StartLiveContentNow(t),(0,g.hB)("server time: "+e)}GetMPDURL(){return this.m_strMPD}PlayMPD(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){this.m_strMPD=e,this.m_strHLS=n,this.m_strCDNAuthURLParameters=t;let i=yield this.DownloadMPD();if(i)if(this.m_mpd=new O,this.m_mpd.BParse(i.data,e)){if(this.IsLiveContent()&&(this.m_mpd.GetMinimumUpdatePeriod()>0&&this.m_schUpdateMPD.Schedule(1e3*this.m_mpd.GetMinimumUpdatePeriod(),this.UpdateMPD),this.CalcVideoStartRelativeToSystemClock(i.headers.date)),this.m_bUseHLSManifest)return this.m_elVideo.src=this.m_strHLS,this.m_elVideo.addEventListener("loadedmetadata",(()=>{this.m_bIsBuffering=!1,this.BeginPlayback()})),void document.addEventListener("visibilitychange",this.OnVisibilityChange);this.BCreateLoaders()?(this.InitVideoControl(),this.InitTimedText()):this.CloseWithError("playbackerror","Failed to create segment loaders")}else this.CloseWithError("playbackerror","Failed to parse MPD file",this.m_strMPD)}))}InitTimedText(){let e=!0;this.m_nTimedText=0,this.m_mpd.GetTimedTextAdaptionSet(0).forEach((t=>{let n=(0,a.jM)(p.De.LANGUAGE);if(t.rgRepresentations.length>0&&t.rgRepresentations[0].strClosedCaptionFile&&u.is[t.strLanguage]){const i=document.createElement("track");i.kind="subtitles",i.label=(0,u.Xx)("#Language_"+(0,a.j_)(u.is[t.strLanguage])),i.srclang=t.strLanguage,i.src=t.rgRepresentations[0].strClosedCaptionFile,this.m_nTimedText+=1,0!=n&&u.is[t.strLanguage]==n&&(i.default=!0,this.m_timedTextRepSelected=t.rgRepresentations[0],e=!1),this.m_elVideo.appendChild(i),e&&(i.addEventListener("load",(()=>{this.m_elVideo.textTracks&&this.m_elVideo.textTracks.length>0&&(this.m_elVideo.textTracks[0].mode="disabled")})),e=!1)}}))}SetSubtitles(e){let t=null;for(let n=0;ne.strLanguage==i.language));e&&e.length>0&&e[0].rgRepresentations&&(t=e[0].rgRepresentations[0]),i.mode="showing"}else i.mode="disabled"}this.m_timedTextRepSelected=t}PlayWebRTC(e,t,n,i,r){}OnVisibilityChange(){"visible"===document.visibilityState&&(this.m_elVideo.src=this.m_strHLS)}Close(){if(this.m_bClosing=!0,this.m_listeners.Unregister(),this.m_bUseHLSManifest&&document.removeEventListener("visibilitychange",this.OnVisibilityChange),this.StopDownloads(),this.m_elVideo&&this.m_elVideo.pause(),this.m_mediaSource){try{"closed"!=this.m_mediaSource.readyState&&this.m_mediaSource.endOfStream()}catch(e){}this.m_mediaSource=null}this.m_bIsBuffering=!0,this.m_elVideo=null,this.m_strMPD="",this.m_mpd=null,this.m_bUseHLSManifest=!1,this.m_strVideoAdaptationID="",this.m_strAudioAdaptationID="",this.m_strGameAdaptationID="",this.m_nTrackBufferMS=0,this.m_nLimitFPS=0,this.m_seekingToTime=null,this.m_nGameDataLastFramePTS=-1,this.m_bStatsViewVisible=!1,this.m_videoRepSelected=null,this.m_nAudioRepresentationIndex=0,this.m_stats&&this.m_stats.GetFPSMonitor().Close(),this.m_stats=null,this.m_bFirstPlay=!0,this.m_bPlaybackStarted=!1}StopDownloads(){this.m_xhrUpdateMPD&&(this.m_xhrUpdateMPD.cancel(),this.m_xhrUpdateMPD=null),this.m_schUpdateMPD.Cancel(),this.m_schGameDataEventTrigger.Cancel(),this.m_schReportPlayerTrigger.Cancel(),this.m_schCaptureDisplayStatsTrigger.Cancel(),this.m_schFirstFrameThrottler.Cancel(),this.m_schBookmarkUpdater.Cancel(),this.m_elVideo&&1!=this.m_elVideo.playbackRate&&(this.m_elVideo.playbackRate=1);for(let e of this.m_rgLoaders)e.Close();this.m_rgLoaders=[],this.m_bIsBuffering=!0}IsBuffering(){return this.m_bIsBuffering}IsLiveContent(){return!!this.m_mpd&&this.m_mpd.IsLiveContent()}DownloadMPD(){return(0,i.mG)(this,void 0,void 0,(function*(){if(this.m_xhrUpdateMPD)return(0,l.X)(!1,"Multiple MPD download requests"),null;let e=performance.now();for(;performance.now()-e<3e4;){let e=null;try{this.m_xhrUpdateMPD=s().CancelToken.source();const t=this.m_strMPD+(this.m_strCDNAuthURLParameters?this.m_strCDNAuthURLParameters:"");e=yield s().get(t,{cancelToken:this.m_xhrUpdateMPD.token})}catch(e){}if(this.m_xhrUpdateMPD=null,this.m_bClosing)return null;if(e&&200==e.status)return e;if(e&&410==e.status)return this.CloseWithError("playbackerror","Failed to download MPD: 410 Gone"),null;(0,g.hB)("Failed to download, will retry: "+this.m_strMPD),yield(0,h._R)(200)}return(0,g.hB)("Failed to download: "+this.m_strMPD),null}))}UpdateMPD(){return(0,i.mG)(this,void 0,void 0,(function*(){(0,g.hB)("Updating MPD in player from: "+this.m_strMPD);let e=yield this.DownloadMPD();e&&(this.m_mpd.BUpdate(e.data)?(this.IsLiveContent()&&this.CalcVideoStartRelativeToSystemClock(e.headers.date),this.m_stats.SetAnalyticLinks(this.m_mpd.GetStatsLink(),this.m_mpd.GetStalledLink(),this.m_mpd.GetEventLink()),this.m_mpd.GetMinimumUpdatePeriod()>0&&this.m_schUpdateMPD.Schedule(1e3*this.m_mpd.GetMinimumUpdatePeriod(),this.UpdateMPD)):this.CloseWithError("playbackerror","Failed to parse on Update the MPD file"))}))}CloseWithError(e,...t){this.Close(),(0,g.hB)(...t)}BCreateLoaders(){let e=this.m_mpd.GetPeriods();if(0==e.length)return!1;let t=e[0];this.m_strVideoAdaptationID="",this.m_strAudioAdaptationID="",this.m_strGameAdaptationID="";for(let e of t.rgAdaptationSets){let t=null;if(!this.m_strVideoAdaptationID&&e.bContainsVideo&&I(e)&&(t=e,this.m_strVideoAdaptationID=e.strID),!this.m_strAudioAdaptationID&&e.bContainsAudio&&I(e)&&(t=e,this.m_strAudioAdaptationID=e.strID),!this.m_strGameAdaptationID&&e.bContainsGame&&(t=e,this.m_strGameAdaptationID=e.strID),t){let e=new x(this,this.m_mpd,t,this.m_stats);this.m_rgLoaders.push(e)}}return this.m_strVideoAdaptationID.length>0}InitVideoControl(){let e=new MediaSource,t=URL.createObjectURL(e);this.m_elVideo.pause(),this.m_elVideo.srcObject=null,this.m_elVideo.src=t,this.m_mediaSource=e,this.m_listeners.AddEventListener(e,"sourceopen",this.OnMediaSourceOpen),this.m_listeners.AddEventListener(e,"sourceended",this.OnMediaSourceEnded),this.m_listeners.AddEventListener(e,"sourceclose",this.OnMediaSourceClose),this.m_listeners.AddEventListener(this.m_elVideo,"waiting",this.OnVideoWaiting),this.m_listeners.AddEventListener(this.m_elVideo,"error",this.OnVideoError),this.m_listeners.AddEventListener(this.m_elVideo,"canplay",this.OnVideoCanPlay),this.m_listeners.AddEventListener(this.m_elVideo,"pause",this.OnVideoPause),this.m_listeners.AddEventListener(this.m_elVideo,"resize",this.OnVideoResize),this.m_listeners.AddEventListener(this.m_elVideo,"valve-bufferupdate",this.OnVideoTimeUpdate),this.m_listeners.AddEventListener(this.m_elVideo,"timeupdate",this.OnVideoTimeUpdate),this.m_listeners.AddEventListener(this.m_elVideo,"play",this.OnPlayAction)}OnMediaSourceOpen(e){(0,g.hB)("OnMediaSourceOpen");for(let e of this.m_rgLoaders)e.SetMediaSource(this.m_mediaSource);this.BeginPlayback()}HandleMediaSourceError(e){this.m_bClosing||e.target!=this.m_mediaSource||this.StopDownloads()}OnMediaSourceEnded(e){(0,g.hB)("OnMediaSourceEnded",e),this.HandleMediaSourceError(e)}OnMediaSourceClose(e){(0,g.hB)("OnMediaSourceClose",e),this.HandleMediaSourceError(e)}OnVideoWaiting(e){if(!this.IsLiveContent()&&this.m_mpd&&this.m_mpd.GetEndTime()-this.GetCurrentPlayTime()<1)return(0,g.hB)(`pausing playback due to OnVideoWaiting (endTime=${this.m_mpd.GetEndTime()}, currentPlaytime=${this.GetCurrentPlayTime()} )`),void this.Pause();if(!this.BIsPlayerBufferedBetween(this.m_elVideo.currentTime,this.m_elVideo.currentTime+.5)&&!this.m_seekingToTime){if(this.m_elVideo&&this.m_elVideo.buffered.length>1){let e=this.m_elVideo.currentTime,t=this.m_elVideo.buffered;for(let n=0;n0&&0===this.m_hlsTimeOffset&&(this.m_hlsTimeOffset=this.GetBufferedLiveEdgeTime()-this.m_elVideo.currentTime),this.m_elVideo.currentTime+this.m_hlsTimeOffset):this.m_elVideo.currentTime}OnVideoTimeUpdate(){if(this.m_bUserLiveEdgeChoice&&this.IsLiveContent()){let e=this.GetBufferedLiveEdgeTime();if(1==this.m_elVideo.playbackRate&&this.m_elVideo.currentTime<=e-4.5&&this.BIsPlayerBufferedBetween(this.m_elVideo.currentTime,e)){let t=e-this.m_elVideo.currentTime;this.m_elVideo.playbackRate=1.1,(0,g.hB)("User is behind by "+t.toFixed(2)+" seconds, increasing playback speed to catch-up to live edge.")}else 1.1==this.m_elVideo.playbackRate&&this.m_elVideo.currentTime>=e-1&&(this.m_elVideo.playbackRate=1,(0,g.hB)("User is caught up, returning to normal playrate"))}else{const e=this.GetAvailableVideoStartTime(),t=this.GetBufferedLiveEdgeTime()-e;this.GetCurrentPlayTime()-e>=t&&this.Pause()}}SetBookmarkAdapter(e){this.m_bookMarkAdapter=e}SendUpdateToBookmarkServiceIfNeeded(){if(this.m_bookMarkAdapter){let e=this.m_elVideo.currentTime,t=this.GetCurrentVideoAdaptation(),n=t&&t.strID?t.strID:null,i=this.GetCurrentAudioAdaptationfunction(),r=i&&i.strID?i.strID:null,s=this.GetCurrentTimedTextRepresentation(),o=s&&s.strID?s.strID:null;this.m_bookMarkAdapter.SetBookmark(e>=0?e:0,n,r,o),this.IsPaused()?this.m_schBookmarkUpdater.Cancel():this.m_schBookmarkUpdater.Schedule(6e4,this.SendUpdateToBookmarkServiceIfNeeded)}}GetCurrentTimedTextRepresentation(){return this.m_timedTextRepSelected}OnPlayAction(){this.SendUpdateToBookmarkServiceIfNeeded()}BIsPlayerBufferedBetween(e,t){return this.m_elVideo.buffered.length>0&&e>=this.m_elVideo.buffered.start(0)&&t<=this.m_elVideo.buffered.end(0)}GetLiveContentStartTime(){return this.m_mpd.GetAvailabilityStartTime()}GetTimeTextAdaptions(e){return this.m_mpd?this.m_mpd.GetTimedTextAdaptionSet(e):[]}GetAvailableVideoStartTime(){if(!this.m_mpd)return 0;let e=0;if(this.IsLiveContent()){let t=Math.floor(this.m_mpd.GetDurationSinceStarted()/1e3),n=this.GetBufferedLiveEdgeTime(),i=this.m_mpd.GetTimeShiftBufferDepth();e=i?t-i+10:0,e=d.Lh(e,0,n)}else e=this.m_mpd.GetStartTime();return e}GetBufferedLiveEdgeTime(){if(!this.m_mpd)return 0;let e=0;return e=this.IsLiveContent()?Math.floor((this.m_mpd.GetDurationSinceStarted()-this.m_nTrackBufferMS)/1e3):this.m_mpd.GetEndTime(),e}IsPaused(){return!this.m_bUserPlayChoice}SetUserPlayChoice(e){this.m_bUserPlayChoice=e,this.DispatchEvent("valve-userpausechange")}Play(){this.SetUserPlayChoice(!0),!this.IsLiveContent()&&this.m_mpd&&this.m_mpd.GetEndTime()-this.GetCurrentPlayTime()<1?this.Seek(this.m_mpd.GetStartTime()):this.Seek(this.GetCurrentPlayTime())}Pause(){var e,t;this.m_bUserLiveEdgeChoice=!1,1.1==(null===(e=this.m_elVideo)||void 0===e?void 0:e.playbackRate)&&(this.m_elVideo.playbackRate=1),this.SetUserPlayChoice(!1),null===(t=this.m_elVideo)||void 0===t||t.pause()}GetPlaybackRate(){return this.m_elVideo.paused?0:this.m_elVideo.playbackRate}GetCDNAuthURLParameter(){return this.m_strCDNAuthURLParameters}OnSegmentDownloaded(e){(0,g.hB)(e.GetDebugName()+" OnSegmentDownloaded"),this.UpdateVideoRepresentation(this.m_videoRepSelected),this.OnVideoBufferProgress(),e==this.GetVideoLoader()&&this.m_stats.SetCurrentVideoBandwidth(e.GetAvgDownloadRate())}PlayOnElement(){let e=this.m_bFirstPlay;this.m_bFirstPlay=!1;let t=this.m_elVideo.play();t?t.then((()=>{this.m_stats.GetFPSMonitor().StartTracking((()=>this.m_stats.ExtractFrameInfo(this.m_elVideo)))})).catch((t=>{e&&this.DispatchEvent("valve-userinputneeded")})):this.m_stats.GetFPSMonitor().StartTracking((()=>this.m_stats.ExtractFrameInfo(this.m_elVideo)))}OnVideoBufferProgress(){if(!this.IsBuffering())return;let e=this.m_rgLoaders.length>0,t=this.GetPlaybackStartTime(0);for(let n of this.m_rgLoaders){if(!n.BHasEnoughBuffered(t)){e=!1;break}t=Math.max(t,n.GetBufferedStart())}e&&(this.m_bIsBuffering=!1,this.m_seekingToTime=null,this.m_elVideo.currentTime!=t?this.m_elVideo.currentTime=t:this.m_elVideo.paused&&this.m_bUserPlayChoice&&this.PlayOnElement(),this.DispatchEvent("valve-bufferupdate"))}OnSegmentDownloadFailed(e,t){this.StopDownloads(),this.DispatchEvent("valve-downloadfailed",t)}OnSegmentDownloadGone(e){this.m_bIsBuffering&&e.GetNumConsecutiveDownloadGones()<=3?this.Seek(this.GetCurrentPlayTime()+e.GetCurrentSegmentDurationMS()/1e3):((0,g.hB)("OnSegmentDownloadGone: too many consecutive 'gone', erroring the download: "+e.GetNumConsecutiveDownloadGones()),this.OnSegmentDownloadFailed(e,G.StreamGone))}OnMediaSourceError(e){this.DispatchEvent("valve-playbackerror")}GetCurrentAudioAdaptationfunction(){return this.m_mpd?this.m_mpd.GetAdaptationByTrackID(this.m_strAudioAdaptationID):null}GetCurrentVideoAdaptation(){return this.m_mpd?this.m_mpd.GetAdaptationByTrackID(this.m_strVideoAdaptationID):null}GetVideoLoader(){for(let e of this.m_rgLoaders)if(e.ContainsVideo())return e;return null}GetAudioLoader(){for(let e of this.m_rgLoaders)if(e.ContainsAudio())return e;return null}GetGameLoader(){for(let e of this.m_rgLoaders)if(e.ContainsGame())return e;return null}SetTrackBufferMS(e){this.m_nTrackBufferMS=e;for(let t of this.m_rgLoaders)t.SetBufferMS(e)}BeginPlayback(){if(!this.m_bUseHLSManifest){let e=this.PickStartingVideoRepresentation();for(let t of this.m_rgLoaders)if(t.ContainsVideo()){t.ChangeRepresentation(e);let n=t.GetCurrentSegmentDurationMS();this.m_schFirstFrameThrottler.Schedule(n/2,this.VerifyFirstSegmentDownloadProgress)}else if(t.ContainsAudio()||t.ContainsGame()){let e=t.GetAdaptation().rgRepresentations.length>0?t.GetAdaptation().rgRepresentations[0]:null;t.ChangeRepresentation(e)}}this.m_bPlaybackStarted=!0;let e=0;if(this.IsLiveContent()){let t=this.GetVideoLoader().GetCurrentSegmentDurationMS(),n=1e3*this.m_mpd.GetMinBufferTime(),i=Math.max(t,n);this.SetTrackBufferMS(i);let r=this.GetBufferedLiveEdgeTime();e=this.GetPlaybackStartTime(r),(0,g.hB)(`Begin playback of live content [this.buffer=${this.m_nTrackBufferMS}][nStartTime=${e}][nLiveEdge=${r}]`)}else this.SetTrackBufferMS(8e3),e=this.GetPlaybackStartTime(0),this.m_bookMarkAdapter&&(e=this.m_bookMarkAdapter.GetBeginPlaytime(),this.m_mpd.GetEndTime()-e<5&&(e=0)),(0,g.hB)(`Begin playback of non-live content [this.buffer=${this.m_nTrackBufferMS}][nStartTime=${e}]`);this.m_seekingToTime=null,(0,g.hB)("Starting playback at "+e),this.m_stats.SetSegmentDurationMS(this.GetVideoLoader().GetCurrentSegmentDurationMS()),this.m_stats.SetAnalyticLinks(this.m_mpd.GetStatsLink(),this.m_mpd.GetStalledLink(),this.m_mpd.GetEventLink()),this.m_stats.SetVideoInitializationURL(this.GetVideoLoader().GetCurrentSegmentInitializationURL()),this.Seek(e),this.GetGameLoader()&&this.m_schGameDataEventTrigger.Schedule(500,this.GameDataEventTrigger)}VerifyFirstSegmentDownloadProgress(){let e=this.GetVideoLoader();if(null===this.m_videoRepSelected&&e&&e.GetDownloadHistory().length<=1&&e.GetActiveDownloads()>0&&e.GetActiveDownloadProgress()<.55){let t=this.DetermineBestVideoRepresentation();t&&!e.BIsCurrentRepresentation(t)&&(e.ChangeRepresentation(t),e.ForceRestartDownload(),(0,g.hB)("Video download progressing too slowly, choosing "+t.nWidth+"x"+t.nHeight+"@"+t.nFrameRate+" instead"))}}PickStartingVideoRepresentation(){let e=this.GetVideoLoader();if(!e)return null;let t=e.GetAdaptation(),n=null;for(let i=e.GetRepresentationsCount()-1;i>=0;i--){let e=t.rgRepresentations[i],r=e.nFrameRate?e.nFrameRate:0;if(!(this.m_nLimitFPS>0&&r>this.m_nLimitFPS)&&(n=e,this.GetVideoPlayerHeight()<=e.nHeight))break}return n}DetermineBestVideoRepresentation(){let e=this.GetVideoLoader(),t=this.GetAudioLoader(),n=t&&t!=e?t.GetEstimatedAudioRate():0,i=this.GetAvgLoaderDownloadRate(),r=e.GetRepresentationsCount()-1,s=e.GetAdaptation().rgRepresentations[r];for(let t=r-1;t>=0;t--){let r=e.GetAdaptation().rgRepresentations[t],o=(r.nBandwidth+n)*this.m_elVideo.playbackRate*1.15;if(i30){let e=this.m_stats.GetFPSMonitor();if(e.BIsDroppingFrames()||e.BHasCurrentFPS()&&Math.ceil(e.GetCurrentFPS())<29){(0,g.hB)(`Video select: Skipping ${t} due to dropping frames and high FPS representation: [fps:${a}]`);continue}}if(this.m_nLimitFPS>0&&a>this.m_nLimitFPS){(0,g.hB)(`Video select: Skipping ${t} due to frame rate limit`);continue}let l=s.nHeight||0,c=r.nHeight||0,u=this.GetVideoPlayerHeight();if(u>0&&l>0){if(c>U(u))break}s=r}return s}UpdateVideoRepresentation(e){if(e&&this.m_videoRepSelected==e)return null;let t=this.GetVideoLoader();if(!t)return null;if(this.IsBuffering())return null;let n=this.DetermineBestVideoRepresentation();return this.m_videoRepSelected=null,t.ChangeRepresentation(n)}GetPlaybackStartTime(e){if(!this.m_seekingToTime)return e;(0,l.X)(this.m_bPlaybackStarted,"Missing mpd info to calculate seek time");let t=this.m_seekingToTime.eSeekType==V.FromAvailableStart?this.GetAvailableVideoStartTime():0;return this.m_seekingToTime.nTime+t}CanSeek(){return!0}SeekAndPlay(e){return this.SetUserPlayChoice(!0),this.Seek(e)}Seek(e,t=V.Absolute){if(!this.m_bPlaybackStarted)return this.m_seekingToTime={nTime:e,eSeekType:t},e;t==V.FromAvailableStart&&(e+=this.GetAvailableVideoStartTime());let n=this.GetAvailableVideoStartTime(),i=this.GetBufferedLiveEdgeTime();const r=e;(e=d.Lh(e,n,i))!=r&&(0,g.hB)(`Seek time ${r} was clamped to the range ${n} to ${i}`),this.m_bUserLiveEdgeChoice=e>=i-N;let s=this.m_elVideo.paused;if(s||this.m_elVideo.pause(),this.m_bUseHLSManifest)this.m_elVideo.currentTime=e-this.m_hlsTimeOffset,this.m_elVideo.play();else{this.m_bIsBuffering=!0,this.m_seekingToTime={nTime:e,eSeekType:V.Absolute};for(let t of this.m_rgLoaders)t.ContainsGame()&&(e=this.GetBufferedLiveEdgeTime()),t.Seek(e);this.DispatchEvent("valve-bufferupdate"),s&&this.OnVideoBufferProgress()}return e}JumpTime(e){return e+=this.GetCurrentPlayTime(),this.Seek(e)}GetVideoPlayerHeight(){return this.m_elVideo.clientHeight}GetAvgLoaderDownloadRate(){let e=0,t=0,n=[this.GetVideoLoader()];for(let i of n)i&&(e+=i.GetAvgDownloadRate(),t++);return 0==t?0:e/t}GameDataEventTrigger(){let e=this.GetGameLoader();if(!e)return;let t=e.GetGameDataFrames(),n=-1;if(n=t.length-1,n>=0){let i=t[n];i.pts!=this.m_nGameDataLastFramePTS&&(this.m_nGameDataLastFramePTS=i.pts,i.gamedata.appid=e.GetLatestGameDataFrameAppID(),this.DispatchEvent("valve-gamedataupdate",i))}this.m_schGameDataEventTrigger.Schedule(500,this.GameDataEventTrigger)}DispatchEvent(e,t=null){let n=new CustomEvent(e,{cancelable:!0,bubbles:!0,detail:t});this.m_elVideo?this.m_elVideo.dispatchEvent(n):console.error(`dashplayer: attempting to fire ${e} when elVideo not set`,t)}IsMuted(){return this.m_elVideo.muted}SetMuted(e){this.m_elVideo.muted=e}SetVolume(e){e=d.Lh(e,0,1),this.m_elVideo.volume=e}GetVolume(){return this.m_elVideo.volume}GetDASHPlayerStats(){return this.m_stats}ReportPlayerStats(){this.m_stats.ReportPlayerStats(this.m_rgLoaders,this.m_elVideo),this.m_schReportPlayerTrigger.Schedule(3e5,this.ReportPlayerStats)}SetStatsViewIsVisible(e){e&&!this.m_bStatsViewVisible?(this.CaptureStatsForDisplay(),this.m_schCaptureDisplayStatsTrigger.Schedule(250,this.CaptureStatsForDisplay)):!e&&this.m_bStatsViewVisible&&this.m_schCaptureDisplayStatsTrigger.Cancel(),this.m_bStatsViewVisible=e}CaptureStatsForDisplay(){this.m_stats.SetHTMLVideoPlayerDisplay(this.m_elVideo.videoWidth,this.m_elVideo.videoHeight,this.m_elVideo.clientWidth,this.m_elVideo.clientHeight),this.m_stats.CaptureFrequentlyUpdatingInformation(this.m_elVideo,this.m_rgLoaders),this.m_schCaptureDisplayStatsTrigger.Schedule(250,this.CaptureStatsForDisplay)}GetVideoRepresentations(){let e=[];if(e.push({id:P,displayName:"Auto",selected:null===this.m_videoRepSelected}),this.m_bUseHLSManifest)return e;let t=this.GetCurrentVideoAdaptation();if(t)for(let n of t.rgRepresentations){let t=this.m_videoRepSelected&&this.m_videoRepSelected.strID==n.strID,i=n.nFrameRate;i>50&&n.nFrameRate<70?i=60:i>25&&i<35&&(i=30);let r=`${n.nWidth}x${n.nHeight} @ ${i}fps`;e.push({id:n.strID,displayName:r,selected:t,width:n.nWidth,fps:i})}return e.sort(((e,t)=>e.width===t.width?t.fps-e.fps:t.width-e.width)),e}SetVideoRepresentation(e){let t=!0,n=this.GetVideoLoader();if(e&&e.id!=P){let i=n.GetRepresentationByID(e.id);i&&(t=!1,null!==this.m_videoRepSelected&&this.m_videoRepSelected.strID==i.strID||(this.m_videoRepSelected=i,n.ChangeRepresentation(i),this.Seek(this.GetCurrentPlayTime())))}t&&(this.m_videoRepSelected=null)}GetThumbnailForTimestamp(e){return""}BHasTimedText(){return this.m_nTimedText>0}}function U(e){return e<360?480:e<480?720:4320}(0,i.gn)([o.LO],H.prototype,"m_nTimedText",void 0),(0,i.gn)([o.aD],H.prototype,"InitTimedText",null),(0,i.gn)([m.a],H.prototype,"OnVisibilityChange",null),(0,i.gn)([m.a],H.prototype,"UpdateMPD",null),(0,i.gn)([m.a],H.prototype,"OnMediaSourceOpen",null),(0,i.gn)([m.a],H.prototype,"HandleMediaSourceError",null),(0,i.gn)([m.a],H.prototype,"OnMediaSourceEnded",null),(0,i.gn)([m.a],H.prototype,"OnMediaSourceClose",null),(0,i.gn)([m.a],H.prototype,"OnVideoWaiting",null),(0,i.gn)([m.a],H.prototype,"OnVideoPause",null),(0,i.gn)([m.a],H.prototype,"OnVideoResize",null),(0,i.gn)([m.a],H.prototype,"OnDebugPrintEventInfoAndAvailableBuffer",null),(0,i.gn)([m.a],H.prototype,"OnVideoError",null),(0,i.gn)([m.a],H.prototype,"OnVideoCanPlay",null),(0,i.gn)([m.a],H.prototype,"GetCurrentPlayTime",null),(0,i.gn)([m.a],H.prototype,"OnVideoTimeUpdate",null),(0,i.gn)([m.a],H.prototype,"SendUpdateToBookmarkServiceIfNeeded",null),(0,i.gn)([m.a],H.prototype,"OnPlayAction",null),(0,i.gn)([m.a],H.prototype,"GetPlaybackRate",null),(0,i.gn)([m.a],H.prototype,"GetCDNAuthURLParameter",null),(0,i.gn)([m.a],H.prototype,"OnSegmentDownloaded",null),(0,i.gn)([m.a],H.prototype,"PlayOnElement",null),(0,i.gn)([m.a],H.prototype,"OnSegmentDownloadFailed",null),(0,i.gn)([m.a],H.prototype,"OnSegmentDownloadGone",null),(0,i.gn)([m.a],H.prototype,"OnMediaSourceError",null),(0,i.gn)([m.a],H.prototype,"VerifyFirstSegmentDownloadProgress",null),(0,i.gn)([m.a],H.prototype,"GameDataEventTrigger",null),(0,i.gn)([m.a],H.prototype,"ReportPlayerStats",null),(0,i.gn)([o.aD.bound],H.prototype,"CaptureStatsForDisplay",null)},48695:(e,t,n)=>{"use strict";n.d(t,{vf:()=>f});var i=n(85556),r=n(54842),s=n(80751),o=n.n(s),a=n(35427),l=n(68324),c=n(37563),u=n(45492),d=n(31846),m=n(24549);const h=1e6;class p{constructor(){this.playback_speed=1}}class g extends p{}class _ extends p{}class f{constructor(){this.m_steamIDBroadcast="",this.m_steamIDViewer="",this.m_broadcastID="",this.m_ulViewerToken="",this.m_strCDNAuthUrlParameters=void 0,this.m_host="",this.m_strBroadcastOrigin="",this.m_strStatsLink="",this.m_strStalledLink="",this.m_strEventLogLink="",this.m_allTimeSnapshot=new v(0),this.m_rgSnapShots=new Array(new v(0)),this.m_videoResolution=0,this.m_audioRate=0,this.m_audioChannel=0,this.m_frameRate=0,this.m_strBufferingVideoResolution="0x0@0",this.m_nPlaybackVideoResolution=0,this.m_strPlaybackVideoResolution="0x0",this.m_htmlVideoResolution=0,this.m_strHtmlVideoDisplay="",this.m_nAudioBandwidth=0,this.m_nVideoBandwidth=0,this.m_nBandwidthRequired=0,this.m_nCurBandwidthVideo=0,this.m_nAudioBufferedMS=0,this.m_nVideoBufferedMS=0,this.m_nActiveDownloads=0,this.m_nVideoDownloadProgress=0,this.m_videoBufferedRanges=null,this.m_audioBufferedRanges=null,this.m_nSegmentDurationMS=0,this.m_nPlaybackRate=0,this.m_nTimeToFirstFrameMS=-1,this.m_fpsMonitor=new S,(0,r.rC)(this)}GetBytesReceivedToDisplay(){return(0,m.l)(this.m_allTimeSnapshot.m_nBytesReceived,1)}GetBufferingResolutionToDisplay(){return this.m_strBufferingVideoResolution}GetPlaybackResolutionToDisplay(){return this.m_strPlaybackVideoResolution}GetHTMLVideoResolutionToDisplay(){return this.m_strHtmlVideoDisplay}GetDroppedFramesToDisplay(){return this.m_allTimeSnapshot.m_nFramesDropped+"/"+this.m_allTimeSnapshot.m_nFramesDecoded}GetStalledEventsToDisplay(){return String(this.m_allTimeSnapshot.m_nStallEvents)}GetFailedDownloadsToDisplay(){return String(this.m_allTimeSnapshot.m_nFailedSegments)}GetNumBufferedVideoRanges(){return this.m_videoBufferedRanges?this.m_videoBufferedRanges.length:0}GetNumBufferedAudioRanges(){return this.m_audioBufferedRanges?this.m_audioBufferedRanges.length:0}GetBufferedVideoSegmentForDisplay(e){return this.m_videoBufferedRanges&&e0}GetBandwidthRequiredToDisplay(){return(this.m_nBandwidthRequired/h).toFixed(3)}GetBandwithVideoToDisplay(){return(this.m_nCurBandwidthVideo/h).toFixed(3)}GetContentServerToDisplay(){return this.m_host}GetVideoBufferedToDisplay(){return(this.m_nVideoBufferedMS/1e3).toFixed(3)}GetAudioBufferedToDisplay(){return(this.m_nAudioBufferedMS/1e3).toFixed(3)}GetActiveDownloadsToDisplay(){return String(this.m_nActiveDownloads)}GetVideoDownloadProgressToDisplay(){return this.m_nVideoDownloadProgress?String(Math.round(100*this.m_nVideoDownloadProgress))+"%":"100%"}GetTimeToFirstFrameToDisplay(){return-1==this.m_nTimeToFirstFrameMS?"Unknown":String(this.m_nTimeToFirstFrameMS)}GetPersistentFrameDropsForDisplay(){return String(this.m_fpsMonitor.BIsDroppingFrames())}GetCurrentFPSForDisplay(){return this.m_fpsMonitor.BHasCurrentFPS()?this.m_fpsMonitor.GetCurrentFPS().toFixed(1):(0,d.Xx)("#DASHPlayerStats_Tracking")}GetPlaybackRateForDisplay(){return this.m_nPlaybackRate.toFixed(1)+"x"}GetFPSMonitor(){return this.m_fpsMonitor}SetHTMLVideoPlayerDisplay(e,t,n,i){this.m_htmlVideoResolution!=i&&(this.m_htmlVideoResolution=i,this.m_strHtmlVideoDisplay=n+"x"+i),this.m_nPlaybackVideoResolution!=t&&(this.m_nPlaybackVideoResolution=t,this.m_strPlaybackVideoResolution=e+"x"+t)}SetVideoPlaybackResolution(e,t,n){0==this.m_videoResolution&&(this.m_allTimeSnapshot.m_nInitialVideoResolution=t,this.m_rgSnapShots[this.m_rgSnapShots.length-1].m_nInitialVideoResolution=t),this.m_strBufferingVideoResolution=e+"x"+t+"@"+n,this.m_videoResolution=t,this.m_frameRate=n}SetRepresentation(e){e&&(e.nAudioSamplingRate?(this.m_audioRate=Math.round(e.nBandwidth/1e3),this.m_audioChannel=e.nAudioChannels,this.m_nAudioBandwidth=e.nBandwidth):e.nFrameRate&&(this.SetVideoPlaybackResolution(e.nWidth,e.nHeight,e.nFrameRate),this.m_nVideoBandwidth=e.nBandwidth),this.m_nBandwidthRequired=this.m_nAudioBandwidth+this.m_nVideoBandwidth)}SetCurrentVideoBandwidth(e){this.m_nCurBandwidthVideo=e}SetSegmentDurationMS(e){this.m_nSegmentDurationMS=e}SetBroadcasterAndViewerInfo(e,t,n,i,r){this.m_steamIDBroadcast=e,this.m_steamIDViewer=t,this.m_broadcastID=n,this.m_ulViewerToken=i,this.m_strCDNAuthUrlParameters=r}SetAnalyticLinks(e,t,n){this.m_strStatsLink=e,this.m_strStalledLink=t,this.m_strEventLogLink=n}SetVideoInitializationURL(e){let t=new URL(e);this.m_host=t.hostname,this.m_strBroadcastOrigin=t.searchParams.get("broadcast_origin")||"";let n=this.m_strBroadcastOrigin.indexOf(":");-1!==n&&(this.m_strBroadcastOrigin=this.m_strBroadcastOrigin.substr(0,n))}SetAudioRate(e){this.m_audioRate=e}CaptureFrequentlyUpdatingInformation(e,t){let n=this.ExtractFrameInfo(e);this.LogFrameInfo(n),this.LogBufferDuration(t,e)}LogDownload(e,t){this.m_allTimeSnapshot.SegmentReceived(e,t),this.m_rgSnapShots[this.m_rgSnapShots.length-1].SegmentReceived(e,t)}LogSegmentDownloadFailure(e,t){this.m_allTimeSnapshot.m_nFailedSegments+=1,this.m_rgSnapShots[this.m_rgSnapShots.length-1].m_nFailedSegments+=1,this.m_allTimeSnapshot.m_nLastSegementDownloadStatus=t,this.m_rgSnapShots[this.m_rgSnapShots.length-1].m_nLastSegementDownloadStatus=t,this.LogDownload(0,e)}LogVideoError(e){}LogVideoOnCanPlay(e){-1===this.m_nTimeToFirstFrameMS&&(this.m_nTimeToFirstFrameMS=Date.now()-this.m_allTimeSnapshot.m_timeMS)}LogErrorEvent(e,t){}ReportVideoStalled(e,t){if(0==this.m_strStalledLink.length)return;let n=this.FindBehindSegmentLoader(e,t);if(!n)return void(0,l.hB)("DASHStats: Did not find any audio or video loaders");this.m_allTimeSnapshot.m_nStallEvents+=1,this.m_rgSnapShots[this.m_rgSnapShots.length-1].m_nStallEvents+=1;let i=new _;this.GatherCommonStats(i,t,n.GetBandwidthRequired(),n.GetAvgDownloadRate()),i.last_segment_response=this.m_rgSnapShots[this.m_rgSnapShots.length-1].m_nLastSegementDownloadStatus,i.audio_stalled=n.ContainsAudio(),this.CaptureActiveDownloads(e),i.active_downloads=this.m_nActiveDownloads,i.vid_down_progress=this.m_nVideoDownloadProgress;let r=n.GetDownloadHistory(),s=0;for(let e=r.length-1;e>=0&&s<3;--e)++s,i["segment"+s+"_bytes"]=r[e].cubData,i["segment"+s+"_time"]=Math.round(r[e].nDownloadMS)/1e3;this.SendReportToServer(i,this.m_strStalledLink)}FindBehindSegmentLoader(e,t){let n=!1,i=!1,r=t.currentTime,s=null,o=null;for(let t of e)o=t.ContainsAudio()?t:o,s=t.ContainsVideo()?t:o,t.BHasEnoughBuffered(r)&&(i=i||t.ContainsAudio(),n=n||t.ContainsVideo());return i=i||null==o,!n||n&&i?s:o}ExtractFrameInfo(e){let t=0,n=0;if(e.getVideoPlaybackQuality)try{let i=e.getVideoPlaybackQuality();n=i.totalVideoFrames,t=i.droppedVideoFrames}catch(e){(0,l.hB)("Browser does not support HTMLVideoElement.getVideoPlaybackQuality()",e.message)}else e.webkitDecodedFrames?(n=e.webkitDecodedFrames,t=e.webkitDroppedFrames):e.webkitDecodedFrameCount&&(n=e.webkitDecodedFrameCount,t=e.webkitDroppedFrameCount);return{framesDecoded:n,framesDropped:t}}LogFrameInfo(e){this.m_allTimeSnapshot.m_nFramesDecoded=e.framesDecoded,this.m_allTimeSnapshot.m_nFramesDropped=e.framesDropped;let t=this.m_rgSnapShots[this.m_rgSnapShots.length-1];if(1==this.m_rgSnapShots.length)t.m_nFramesDecoded=e.framesDecoded,t.m_nFramesDropped=e.framesDropped;else{let n=this.m_rgSnapShots[this.m_rgSnapShots.length-2];t.m_nFramesDecoded=e.framesDecoded-n.m_nFramesDecoded,t.m_nFramesDropped=e.framesDropped-n.m_nFramesDropped}}LogBufferDuration(e,t){this.m_nActiveDownloads=0;for(let n of e)n.ContainsAudio()?(this.m_nAudioBufferedMS=n.GetAmountBufferedMS(t.currentTime),this.m_audioBufferedRanges=n.GetSourceBufferTimeRanges()):n.ContainsVideo()&&(this.m_nVideoBufferedMS=n.GetAmountBufferedMS(t.currentTime),this.m_videoBufferedRanges=n.GetSourceBufferTimeRanges()),this.m_nActiveDownloads+=n.GetActiveDownloads(),n.ContainsVideo()&&(this.m_nVideoDownloadProgress=n.GetActiveDownloadProgress());this.m_nPlaybackRate=t.playbackRate}CaptureActiveDownloads(e){this.m_nActiveDownloads=0;for(let t of e)this.m_nActiveDownloads+=t.GetActiveDownloads(),t.ContainsVideo()&&(this.m_nVideoDownloadProgress=t.GetActiveDownloadProgress())}ReportPlayerStats(e,t){if(0==this.m_strStatsLink.length)return;let n=this.ExtractFrameInfo(t);if(n.framesDecoded==this.m_allTimeSnapshot.m_nFramesDecoded&&0==this.m_rgSnapShots[this.m_rgSnapShots.length-1].m_nBytesReceived)return void this.CreateNewEmptySnapshot(t.videoHeight);this.LogFrameInfo(n),this.LogBufferDuration(e,t);let i=new g,r=this.m_rgSnapShots[this.m_rgSnapShots.length-1];i.frames_decoded=r.m_nFramesDecoded,i.frames_dropped=r.m_nFramesDropped,i.bytes_received=r.m_nBytesReceived,i.seconds_delta=Math.round((Date.now()-r.m_timeMS)/1e3),i.failed_segments=r.m_nFailedSegments,i.bw_min=r.m_nBandwidthMin,i.bw_max=r.m_nBandwidthMax,i.audio_buffer=Math.round(this.m_nAudioBufferedMS/1e3),i.video_buffer=Math.round(this.m_nVideoBufferedMS/1e3),i.seg_time_avg=Math.round(r.GetAverageDownloadTime())/1e3,i.seg_time_min=Math.round(r.m_nSegmentDownloadTimeMinMS)/1e3,i.seg_time_max=Math.round(r.m_nSegmentDownloadTimeMaxMS)/1e3,i.initial_vid_res=r.m_nInitialVideoResolution,i.ttff=this.m_nTimeToFirstFrameMS,i.seg_duration=this.m_nSegmentDurationMS,this.GatherCommonStats(i,t,this.m_nBandwidthRequired,r.GetAverageBandwidth()),this.CreateNewEmptySnapshot(t.videoHeight),this.SendReportToServer(i,this.m_strStatsLink)}SendReportToServer(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){let n=new URL(t),i=new FormData;for(let t of Object.keys(e))i.append(t,e[t]);i.append("l",n.searchParams.get("l")),i.append("e",n.searchParams.get("e")),i.append("h",n.searchParams.get("h")),(0,l.hB)("CDASHStats Sending Report to Server",e),o().post(t,i).catch((e=>{(0,l.hB)("Failed to upload stats: ",e)}))}))}CreateNewEmptySnapshot(e){this.m_rgSnapShots.length>=5&&this.m_rgSnapShots.shift(),this.m_rgSnapShots.push(new v(e))}GatherCommonStats(e,t,n,i){e.steamid=this.m_steamIDViewer,e.host=this.m_host,e.playback_position=Math.round(t.currentTime),e.video_res=this.m_videoResolution,e.audio_rate=this.m_audioRate,e.audio_ch=this.m_audioChannel,e.bw_required=n,e.bw_avg=Math.round(i),e.broadcast_accountid=this.m_steamIDBroadcast?new a.K(this.m_steamIDBroadcast).GetAccountID():0,e.useragent=window.navigator.userAgent,e.sessionid=c.De.SESSIONID,e.broadcast_origin=this.m_strBroadcastOrigin}}(0,i.gn)([r.LO],f.prototype,"m_allTimeSnapshot",void 0),(0,i.gn)([r.LO],f.prototype,"m_strBufferingVideoResolution",void 0),(0,i.gn)([r.LO],f.prototype,"m_strPlaybackVideoResolution",void 0),(0,i.gn)([r.LO],f.prototype,"m_strHtmlVideoDisplay",void 0),(0,i.gn)([r.LO],f.prototype,"m_nBandwidthRequired",void 0),(0,i.gn)([r.LO],f.prototype,"m_nCurBandwidthVideo",void 0),(0,i.gn)([r.LO],f.prototype,"m_nAudioBufferedMS",void 0),(0,i.gn)([r.LO],f.prototype,"m_nVideoBufferedMS",void 0),(0,i.gn)([r.LO],f.prototype,"m_nActiveDownloads",void 0),(0,i.gn)([r.LO],f.prototype,"m_nVideoDownloadProgress",void 0),(0,i.gn)([r.LO],f.prototype,"m_videoBufferedRanges",void 0),(0,i.gn)([r.LO],f.prototype,"m_audioBufferedRanges",void 0),(0,i.gn)([r.LO],f.prototype,"m_nPlaybackRate",void 0),(0,i.gn)([r.aD],f.prototype,"SetVideoPlaybackResolution",null),(0,i.gn)([r.aD],f.prototype,"SetRepresentation",null),(0,i.gn)([r.aD],f.prototype,"SetCurrentVideoBandwidth",null),(0,i.gn)([r.aD],f.prototype,"CaptureFrequentlyUpdatingInformation",null),(0,i.gn)([r.aD],f.prototype,"LogDownload",null),(0,i.gn)([r.aD],f.prototype,"LogSegmentDownloadFailure",null),(0,i.gn)([r.aD],f.prototype,"LogFrameInfo",null),(0,i.gn)([r.aD],f.prototype,"LogBufferDuration",null);class v{constructor(e){this.m_timeMS=Date.now(),this.m_nBytesReceived=0,this.m_nInitialVideoResolution=0,this.m_nFailedSegments=0,this.m_nStallEvents=0,this.m_nEntries=0,this.m_nSegmentDownloadTimeTotalMS=0,this.m_nSegmentDownloadTimeMaxMS=0,this.m_nSegmentDownloadTimeMinMS=0,this.m_nBandwidthTotal=0,this.m_nBandwidthMin=0,this.m_nBandwidthMax=0,this.m_nLastSegementDownloadStatus=200,this.m_nFramesDecoded=0,this.m_nFramesDropped=0,(0,r.rC)(this),this.m_nInitialVideoResolution=e}GetAverageBandwidth(){return this.m_nBandwidthTotal/Math.max(1,this.m_nEntries)}GetAverageDownloadTime(){return this.m_nSegmentDownloadTimeTotalMS/Math.max(1,this.m_nEntries)}GetAverageBandwidthFromTwo(e){return(e.m_nBandwidthTotal+this.m_nBandwidthTotal)/Math.max(1,e.m_nEntries+this.m_nEntries)}GetAverageDownloadTimeFromTwo(e){return(e.m_nSegmentDownloadTimeTotalMS+this.m_nSegmentDownloadTimeTotalMS)/Math.max(1,e.m_nEntries+this.m_nEntries)}SegmentReceived(e,t){if(this.m_nBytesReceived+=e,e<1024)return;let n=Math.round(8*e*1e3/Math.max(t,1));0==this.m_nEntries?(this.m_nSegmentDownloadTimeMinMS=t,this.m_nBandwidthMin=n):(this.m_nSegmentDownloadTimeMinMS=Math.min(t,this.m_nSegmentDownloadTimeMinMS),this.m_nBandwidthMin=Math.min(n,this.m_nBandwidthMin)),this.m_nBandwidthMax=Math.max(n,this.m_nBandwidthMax),this.m_nSegmentDownloadTimeMaxMS=Math.max(t,this.m_nSegmentDownloadTimeMaxMS),this.m_nBandwidthTotal+=n,this.m_nSegmentDownloadTimeTotalMS+=t,this.m_nEntries+=1}}(0,i.gn)([r.LO],v.prototype,"m_nBytesReceived",void 0),(0,i.gn)([r.LO],v.prototype,"m_nFailedSegments",void 0),(0,i.gn)([r.LO],v.prototype,"m_nStallEvents",void 0),(0,i.gn)([r.LO],v.prototype,"m_nSegmentDownloadTimeMaxMS",void 0),(0,i.gn)([r.LO],v.prototype,"m_nSegmentDownloadTimeMinMS",void 0),(0,i.gn)([r.LO],v.prototype,"m_nBandwidthMin",void 0),(0,i.gn)([r.LO],v.prototype,"m_nBandwidthMax",void 0),(0,i.gn)([r.LO],v.prototype,"m_nFramesDecoded",void 0),(0,i.gn)([r.LO],v.prototype,"m_nFramesDropped",void 0),(0,i.gn)([r.aD],v.prototype,"SegmentReceived",null);class C{reset(e,t){this.bDropReading=e,this.nTotalDecodedFrames=t}}class S{constructor(){this.k_nTestFrequencyMS=1e3,this.k_nSlidingWindow=6,this.k_nDroppedFramesThreshold=1,this.k_nFailThreshold=3,this.k_nIgnoreReadingAroundResizeMS=2e3,this.m_schTracker=new u.Ar,this.m_rgResultsWindow=[],this.m_nLastResizeMS=0,this.m_bDroppingFrameDetected=!1,this.m_nCurrentFPS=0,(0,r.rC)(this)}StartTracking(e){this.m_schTracker.Schedule(this.k_nTestFrequencyMS,this.TakeReading),this.m_fnRequestDecoded=e,this.m_lastFrameInfo=this.m_fnRequestDecoded(),this.m_bDroppingFrameDetected=!1}BHasCurrentFPS(){return 0!=this.m_nCurrentFPS}GetCurrentFPS(){return this.m_nCurrentFPS}BIsDroppingFrames(){return this.m_bDroppingFrameDetected}SetWindowResized(){this.m_nLastResizeMS=Date.now()}BIsInResizeTimeWindow(){return this.m_nLastResizeMS&&Date.now()-this.m_nLastResizeMS0&&t.framesDropped-this.m_lastFrameInfo.framesDropped>this.k_nDroppedFramesThreshold),this.AppendReading(e,t.framesDecoded),this.m_bDroppingFrameDetected=this.ComputeDroppingFrames(),this.m_nCurrentFPS=t.framesDecoded-this.m_lastFrameInfo.framesDecoded-(t.framesDropped-this.m_lastFrameInfo.framesDropped),this.m_lastFrameInfo=t}ComputeDroppingFrames(){return this.m_rgResultsWindow.length==this.k_nSlidingWindow&&this.m_rgResultsWindow.filter((e=>e.bDropReading)).length>=this.k_nFailThreshold}AppendReading(e,t){let n;n=this.m_rgResultsWindow.length>=this.k_nSlidingWindow?this.m_rgResultsWindow.shift():new C,n.reset(e,t),this.m_rgResultsWindow.push(n)}}(0,i.gn)([r.LO],S.prototype,"m_bDroppingFrameDetected",void 0),(0,i.gn)([r.LO],S.prototype,"m_nCurrentFPS",void 0),(0,i.gn)([r.aD.bound],S.prototype,"TakeReading",null)},53923:(e,t,n)=>{"use strict";n.d(t,{B:()=>s,M:()=>o});var i=n(47427);const r=(0,i.createContext)(void 0),s=r.Provider,o=()=>{const e=(0,i.useContext)(r);if(!e)throw new Error("called useActiveAccount outside of ActiveAccountProvider");return e.useActiveAccount()}},75683:(e,t,n)=>{"use strict";n.d(t,{BZ:()=>E,Bk:()=>B,Bu:()=>S,IL:()=>b,T8:()=>C,WY:()=>O,X1:()=>v,aG:()=>I,gS:()=>T,lz:()=>L,nh:()=>w,v$:()=>A,w7:()=>R});var i=n(85556),r=n(42718),s=n(77936),o=n(79545),a=n(40057),l=n(32830),c=n(93124),u=(n(82182),n(37563),n(14476)),d=n(46009),m=n(53923),h=n(35427),p=n(47427);function g(e){return["parentalsettings",e]}function _(e){const t=e.applist_base.concat(e.applist_custom);return new Map(t.map((e=>[e.appid,e.is_allowed])))}function f(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){const n=o.gA.Init(l.RR);n.Body().set_steamid(t);const i=yield l.pR.GetParentalSettings(e,n);if(1!=i.GetEResult())throw new Error(`Error from GetParentalSettings: ${i.GetEResult()}`);const r=i.Body().settings().toObject();if(!r.playtime_restrictions){const e={apply_playtime_restrictions:!1,playtime_days:Array(7).fill({allowed_time_windows:BigInt(0xffffffffffff).toString(),allowed_daily_minutes:1440})};r.playtime_restrictions=e}return{settings:r,mapAppsAllowed:_(r)}}))}function v(e){const t=(0,a.bY)();return(0,r.useQuery)(g(e),{queryFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){return yield f(t,e)})),placeholderData:{settings:void 0,mapAppsAllowed:void 0}})}function C(){const e=(0,a.bY)(),t=(0,m.M)(),n=(0,d.bG)("steamparental"),s=function(){const e=(0,d.bG)("clientsessionid"),t=(0,d.bG)("sessionid");return e||t}();let c=n,u=(null==c?void 0:c.split("||"))||[];2==u.length&&(c=u[1]);const h=c&&"0"!==c?s+"||"+c:void 0,p=(0,r.useQuery)(function(e,t){return["validateparentaltoken",e,t]}(t,h),(()=>(0,i.mG)(this,void 0,void 0,(function*(){if(!h)return 15;const t=o.gA.Init(l.LD);t.Body().set_unlock_token(h);return(yield l.pR.ValidateToken(e,t)).GetEResult()}))));return!p.isSuccess||1!==p.data}function S(e,t,n){if(!e)return!0;if(!e.is_enabled)return!1;if(t==u.zE||null==t)return!1;if(!n)return!1;if(t==u.JY)return!0;const i=e.enabled_features;return!i||0==(i&1<=s.RI&&e<=s.pv)return!1;if(-1!==[s.p6,s.Mq,s.xM,s.jA,s.us].indexOf(e))return!1;if(null===(r=n.utility_appids)||void 0===r?void 0:r.includes(e))return!1;const o=i.get(e);return void 0===o||!o}function w(e){var t;const n=(0,m.M)(),{settings:i}=null!==(t=v(n).data)&&void 0!==t?t:{};return S(i,e,C())}function y(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){const n=o.gA.Init(l.NX);n.Body().set_steamid(t);const i=yield l.pR.DisableParentalSettings(e,n);if(1!=i.GetEResult())throw new Error(`Error from DisableParentalSettings: ${i.GetErrorMessage()} (${i.GetEResult()})`)}))}function E(e){const t=(0,a.bY)(),n=k(),s=(0,r.useQueryClient)();return(0,r.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){return yield y(t,e)})),onSuccess:()=>{s.invalidateQueries({queryKey:g(e)}),n()}})}function D(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){const i=o.gA.Init(l.ux);i.Body().set_steamid(t),i.Body().set_settings(c.gA.fromObject(n));const r=yield l.pR.EnableParentalSettings(e,i);if(1!=r.GetEResult())throw new Error(`Error from EnableParentalSettings: ${r.GetErrorMessage()} (${r.GetEResult()})`)}))}function L(e,t){const n=(0,a.bY)(),s=(0,r.useQueryClient)();return(0,r.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){return yield D(n,e,t)})),onSuccess:()=>{s.invalidateQueries({queryKey:g(e)})}})}function M(e,t,n,r={}){return(0,i.mG)(this,void 0,void 0,(function*(){const i=o.gA.Init(l.W8);i.Body().set_steamid(t),i.Body().set_settings(c.gA.fromObject(n));const{password:s,new_password:a,sessionid:u}=r;s&&i.Body().set_password(s),a&&i.Body().set_new_password(s),u&&i.Body().set_sessionid(u);const d=yield l.pR.SetParentalSettings(e,i);if(1!=d.GetEResult())throw new Error(`Error from SetParentalSettings: ${d.GetErrorMessage()} (${d.GetEResult()})`)}))}function R(e){const t=(0,a.bY)(),n=(0,r.useQueryClient)();return(0,r.useMutation)({mutationFn:n=>(0,i.mG)(this,void 0,void 0,(function*(){return yield M(t,e,n)})),onSuccess:(t,i)=>{n.setQueryData(g(e),{settings:i,mapAppsAllowed:_(i)})}})}function I(){const e=(0,a.bY)(),t=(0,r.useQueryClient)();return(0,r.useMutation)({mutationFn:t=>(0,i.mG)(this,void 0,void 0,(function*(){const{steamidSrc:n,steamidDest:i}=t,{settings:r}=yield f(e,n),s=h.K.InitFromString(i);r.steamid=s.GetAccountID().toString();let o=!0;try{yield D(e,i,r)}catch(e){o=!1}o||(yield M(e,i,r)),r.is_enabled||(yield y(e,i))})),onSuccess:(e,n)=>{t.invalidateQueries({queryKey:g(n.steamidDest)})}})}function T(e,t,n,s){const c=(0,a.bY)();return(0,r.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){if(t!==u.JY&&t!==u.zE){const n=o.gA.Init(l.BT);n.Body().set_steamid(e),n.Body().set_features(1<(0,i.mG)(this,void 0,void 0,(function*(){const i=o.gA.Init(l.X1);i.Body().set_family_groupid(e),void 0!==t&&i.Body().set_rt_include_completed_since(t);const r=yield l.pR.GetRequests(n,i);if(1!=r.GetEResult())throw new Error(`Error from GetRequests: ${r.GetEResult()} ${r.GetErrorMessage()}`);return r.Body()}))))}function k(){const e=(0,r.useQueryClient)();return(0,p.useCallback)((()=>e.invalidateQueries({queryKey:["parental_requests"]})),[e])}function O(e,t,n){const s=(0,a.bY)(),c=k();return(0,r.useMutation)({mutationFn:t=>(0,i.mG)(this,void 0,void 0,(function*(){const{bApprove:n,durationSec:i}=t,r=o.gA.Init(l.Ok);r.Body().set_requestid(e.requestid()),r.Body().set_steamid(e.steamid()),r.Body().set_features(e.features()),r.Body().set_approve(n),r.Body().set_duration(i);const a=yield l.pR.ApproveFeatureAccess(s,r);if(1!=a.GetEResult())throw{result:a.GetEResult(),message:`Error from ApproveFeatureAccess: ${a.GetErrorMessage()} (${a.GetEResult()})`}})),onSuccess:()=>{c(),t&&t()},onError:n})}function B(e,t,n){const s=(0,a.bY)(),c=k();return(0,r.useMutation)({mutationFn:t=>(0,i.mG)(this,void 0,void 0,(function*(){const{bApprove:n,restrictions:i}=t,r=o.gA.Init(l.PI);r.Body().set_requestid(e.requestid()),r.Body().set_steamid(e.steamid()),r.Body().set_restrictions_approved(i),r.Body().set_approve(n);const a=yield l.pR.ApprovePlaytime(s,r);if(1!=a.GetEResult())throw{result:a.GetEResult(),message:`Error from ApprovePlaytime: ${a.GetErrorMessage()} (${a.GetEResult()})`}})),onSuccess:()=>{c(),t&&t()},onError:n})}},40057:(e,t,n)=>{"use strict";n.d(t,{Ub:()=>l,bY:()=>c,be:()=>u,lS:()=>m,y$:()=>d});var i=n(47427),r=n(62210);const s=i.createContext(void 0),o=s.Provider,a=()=>{const e=i.useContext(s);if(!e)throw new Error("called useActiveServiceTransportContext outside of ServiceTransportProvider");return e};function l(e){const{useStorage:t,children:n}=e;let s,a;"useActiveCMInterface"in e?a=s=e.useActiveCMInterface:"useActiveSteamInterface"in e?a=e.useActiveSteamInterface:(0,r.Z)(e,"neither useActiveCMInterface nor useActiveSteamInterface were provided");const l=i.useMemo((()=>({useActiveSteamInterface:a,useActiveCMInterface:s,useStorage:t})),[a,s,t]);return i.createElement(o,{value:l},n)}const c=()=>a().useActiveSteamInterface().GetServiceTransport(),u=()=>a().useActiveSteamInterface().GetAnonymousServiceTransport(),d=()=>a().useStorage(),m=()=>a().useActiveSteamInterface()},61134:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(85556);class r{GetObject(e){return(0,i.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,i.mG)(this,void 0,void 0,(function*(){return this.StoreString(e,JSON.stringify(t))}))}}class s extends r{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()}}},77131:(e,t,n)=>{"use strict";n.d(t,{R:()=>v,N:()=>C});var i=n(85556),r=n(77936),s=n(20417),o=n(90938),a=n(79545),l=n(2260),c=n(68785),u=n(62210),d=(n(24308),n(54842));class m{constructor(){this.m_mapCallbacks=new Map,this.m_rgRegisteredEMsgs=[],this.m_mapServiceMethodHandlers=new Map,this.m_rgRegisteredServiceMethodHandlers=[],(0,d.rC)(this)}InstallErrorReportingStore(e){this.m_ErrorReportingStore=e}DispatchMsgToHandlers(e,t){let n=e.GetEMsg();if(146==n){let n=e.Hdr().target_job_name();if(n){let i=this.m_mapServiceMethodHandlers.get(n);if(i){this.DEBUG_LogMessageDispatch(e,i[0]);for(let n of i)try{n.invoke(e,t)}catch(e){e instanceof Error&&this.m_ErrorReportingStore?this.m_ErrorReportingStore.ReportError(e):console.error("MessageHandlers failed to dispatch message to handler: ",e)}return!0}}}else{let t=this.m_mapCallbacks.get(n);if(t){this.DEBUG_LogMessageDispatch(e,t[0]);for(let n of t)try{n.invoke(e)}catch(e){e instanceof Error&&this.m_ErrorReportingStore?this.m_ErrorReportingStore.ReportError(e):console.error("MessageHandlers failed to dispatch message to handler: ",e)}return!0}}return!1}DEBUG_LogMessageDispatch(e,t){0}get emsg_list(){return this.m_rgRegisteredEMsgs}get servicemethod_list(){return this.m_rgRegisteredServiceMethodHandlers}AddCallback(e,t,n){let i=this.m_mapCallbacks.get(e);return i||(i=[],this.m_mapCallbacks.set(e,i),this.m_rgRegisteredEMsgs.push(e)),i.push({invoke:n,msgClass:t}),{invoke:n,unregister:()=>{let t=this.m_mapCallbacks.get(e);if(t)for(let e=0;e{let r=a.gA.InitFromMsg(e.request,n),s=a.gA.Init(e.response,147),o=t(r,s),l=e=>{s.Hdr().set_eresult(e),i(s)};o instanceof Promise?o.then(l).catch((()=>{l(2)})):l(o)};return this.m_mapServiceMethodHandlers.has(e.name)?console.error("Duplicate registration for method "+e.name):(this.m_mapServiceMethodHandlers.set(e.name,[{invoke:n,msgClass:e.request}]),this.m_rgRegisteredServiceMethodHandlers.push(e.name)),{invoke:n,unregister:()=>{let t=this.m_mapServiceMethodHandlers.get(e.name);if(t)for(let e=0;e{let r=a.gA.InitFromMsg(e.request,n);t(r)},i=this.m_mapServiceMethodHandlers.get(e.name);return i||(i=[],this.m_mapServiceMethodHandlers.set(e.name,i),this.m_rgRegisteredServiceMethodHandlers.push(e.name)),i.push({invoke:n,msgClass:e.request}),{invoke:n,unregister:()=>{let t=this.m_mapServiceMethodHandlers.get(e.name);if(t)for(let e=0;e{n(a.gA.InitFromMsg(t,e))}))}RegisterEMessageAction(e,t,n){return this.AddCallback(e,t,(e=>{(0,d.z)((()=>{n(a.gA.InitFromMsg(t,e))}))}))}RegisterServiceNotificationHandler(e,t){return this.AddServiceNotificationHandler(e,t)}RegisterServiceNotificationHandlerAction(e,t){return this.AddServiceNotificationHandler(e,(e=>{let n;return(0,d.z)((()=>{n=t(e)})),n}))}RegisterServiceMethodHandler(e,t){return this.AddServiceMethodHandler(e,t)}RegisterServiceMethodHandlerAction(e,t){return this.AddServiceMethodHandler(e,((e,n)=>{let i;return(0,d.z)((()=>{i=t(e,n)})),i}))}}(0,i.gn)([d.LO],m.prototype,"m_rgRegisteredEMsgs",void 0),(0,i.gn)([d.LO],m.prototype,"m_rgRegisteredServiceMethodHandlers",void 0);var h=n(24701),p=n(65255),g=n(45651);class _{constructor(e,t){var n,i,r,s,o,a,l;this.m_socket=null,this.Log=new c.sO("CWebSocketConnection",(()=>this.m_sName)),this.m_bDisconnectRequested=!1,this.m_bConnecting=!1,this.m_sName=e,this.m_fnOnMessageHandler=t.fnOnMessageHandler,this.m_fnOnCloseHandler=t.fnOnCloseHandler,this.m_fnOnReconnectStartHandler=null!==(n=t.fnOnReconnectStartHandler)&&void 0!==n?n:()=>{},this.m_fnOnReconnectFinishHandler=null!==(i=t.fnOnReconnectFinishHandler)&&void 0!==i?i:()=>{},this.m_nConnectAttemptsMax=null!==(r=t.nConnectAttemptsMax)&&void 0!==r?r:8,this.m_nConnectAttemptTimeoutMs=null!==(s=t.nConnectAttemptTimeoutMs)&&void 0!==s?s:1e3,this.m_bReconnectOnFailure=null!==(o=t.bReconnectOnFailure)&&void 0!==o&&o,this.m_nReconnectAttemptsMax=null!==(a=t.nReconnectAttemptsMax)&&void 0!==a?a:3e4,this.m_nReconnectAttemptTimeoutMs=null!==(l=t.nReconnectAttemptTimeoutMs)&&void 0!==l?l:1e4}get name(){return this.m_sName}Connect(e){return(0,i.mG)(this,void 0,void 0,(function*(){return this.m_sURL=e,this.ConnectWithRetry(this.m_sURL,this.m_nConnectAttemptsMax,this.m_nConnectAttemptTimeoutMs)}))}Reconnect(){return(0,i.mG)(this,void 0,void 0,(function*(){return this.ConnectWithRetry(this.m_sURL,this.m_nReconnectAttemptsMax,this.m_nReconnectAttemptTimeoutMs)}))}GetInterAttemptBackoffMs(e){return 1e3*(0,g.Lh)(e,1,5)}ConnectWithRetry(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){this.m_bConnecting=!0;let i=0;do{try{const t=yield this.ConnectToSocket(e,n);if(1==t.result)return this.m_bConnecting=!1,t;this.Log.Warning(`connect attempt failed: ${t.result} - ${t.message}`)}catch(e){this.Log.Warning(`connect attempt failed: exception ${e.name} - ${e}`)}const r=this.GetInterAttemptBackoffMs(i);this.Log.Info(`connect retry: attempt:${i}/${t} backoff:${r}`),yield new Promise((e=>setTimeout(e,r))),this.m_socket=null,i+=1}while(i0;)n--,yield new Promise((e=>setTimeout(e,100)));return e.readyState==WebSocket.OPEN}))}BCanSendMessages(){return null!=this.m_socket&&this.m_socket.readyState==WebSocket.OPEN}OnSocketError(e){this.Log.Warning("websocket error")}OnSocketOpen(e){this.Log.Info("websocket open")}OnSocketClose(e){if(this.m_bDisconnectRequested)return this.Log.Info("websocket closed"),void this.m_fnOnCloseHandler({connection:this,bError:!1,bIsExpectedToReconnect:!1});if(this.m_bConnecting)return;this.Log.Warning("websocket unexpectedly closed");const t=this.BShouldReconnect();this.m_fnOnCloseHandler({connection:this,bError:!0,bIsExpectedToReconnect:t}),t&&this.StartReconnect()}OnSocketMessage(e){return(0,i.mG)(this,void 0,void 0,(function*(){this.m_fnOnMessageHandler(e.data)}))}SendSerializedMessage(e){try{return this.m_socket.send(e),1}catch(e){return 2}}}(0,i.gn)([s.ak],_.prototype,"OnSocketError",null),(0,i.gn)([s.ak],_.prototype,"OnSocketOpen",null),(0,i.gn)([s.ak],_.prototype,"OnSocketClose",null),(0,i.gn)([s.ak],_.prototype,"OnSocketMessage",null);const f=new c.sO("WebUITransport");class v{constructor(){this.m_iMsgSeq=1,this.m_mapPendingMethodRequests=new Map,this.m_messageHandlers=new m,this.m_mapServiceCallErrorCount=new Map,this.m_mapConnectionDetails=new Map,this.m_bInitialized=!1}static InstallErrorReportingStore(e){this.sm_ErrorReportingStore=e}BIsValid(){return this.m_bInitialized}ReportError(e){f.Warning(e);const t=v.sm_ErrorReportingStore;t&&t.ReportError(new Error(e),{bIncludeMessageInIdentifier:!0,cCallsitesToIgnore:1})}Init(){return(0,i.mG)(this,void 0,void 0,(function*(){if(!p.De.IN_CLIENT)return;const e=yield SteamClient.WebUITransport.GetTransportInfo();this.CreateConnection(1,"steamUI",e.portSteamUI,e.authKeySteamUI),this.CreateConnection(2,"clientdll",e.portClientdll,e.authKeyClientdll),(0,l.SM)().SetDefaultTransport(this),(0,l.SM)().SetDefaultHandlerRegistry(this.m_messageHandlers),h.zw.RegisterForNotifyStartShutdown(this.OnStartShutdown)}))}get messageHandlers(){return this.m_messageHandlers}SetStatusEventHandler(e){this.m_fnOnStatusEventHandler=e}SetReconnectErrorHandler(e){this.m_fnOnReconnectErrorHandler=e}CreateConnection(e,t,n,i){const r={bReconnectOnFailure:!0,fnOnMessageHandler:this.OnWebsocketMessage,fnOnCloseHandler:this.OnWebsocketClose,fnOnReconnectStartHandler:this.OnWebsocketReconnectStart,fnOnReconnectFinishHandler:this.OnWebsocketReconnectFinish,nConnectAttemptsMax:10,nConnectAttemptTimeoutMs:1e3,nReconnectAttemptsMax:20,nReconnectAttemptTimeoutMs:1e3},s={connection:new _(t,r),sUrl:`ws://localhost:${n}/transportsocket/`,sAuthKey:i,eClientExecutionSite:e};this.m_mapConnectionDetails.set(e,s)}SendMsg(e,t,n,i){return new Promise(((r,s)=>{var o;const a=i.eClientExecutionSite;if(null==a||0==a)return f.Error(`SendMsg: Invalid client execution site: ${a}`),void s(`Transport SendMsg: invalid client execution site ${a}`);const l=this.m_mapConnectionDetails.get(a);if(null==l)return f.Error(`SendMsg: could not find connection for execution site: ${a}`),void s(`Transport SendMsg: could not find connection for execution site ${a}`);const c=l.connection;if(!c.BCanSendMessages()){const t=null!==(o=this.m_mapServiceCallErrorCount.get(e))&&void 0!==o?o:1;this.m_mapServiceCallErrorCount.set(e,t+1);const n=`SendMsg: Attempt to send message but socket wasn't ready: ${c.name} - ${e}`;return 1==t&&this.ReportError(n),f.Warning(n+` error count: ${t}`),void s("Transport SendMsg: socket not ready")}const u=this.m_iMsgSeq++;t.SetEMsg(146),t.Hdr().set_target_job_name(e),t.Hdr().set_jobid_source(""+u);if(1!=c.SendSerializedMessage(t.Serialize()))return f.Error("SendMsg: Failed to send message"),void s("Transport SendMsg: failed to send message");this.m_mapPendingMethodRequests.set(u,{m_iSeq:u,m_responseClass:n,m_fnCallback:r,m_fnError:s})}))}SendNotification(e,t,n){var i;const r=n.eClientExecutionSite;if(null==r||0==r)return f.Error(`SendNotification: Invalid client execution site: ${r}`),!1;const s=this.m_mapConnectionDetails.get(r);if(null==s)return f.Error(`SendNotification: could not find connection for execution site: ${r}`),!1;const o=s.connection;if(!o.BCanSendMessages()){const t=null!==(i=this.m_mapServiceCallErrorCount.get(e))&&void 0!==i?i:1;this.m_mapServiceCallErrorCount.set(e,t+1);const n=`SendNotification: Attempt to send message but socket wasn't ready: ${o.name} - ${e}`;return 1==t&&this.ReportError(n),f.Warning(n+` error count: ${t}`),!1}t.SetEMsg(146),t.Hdr().set_target_job_name(e);return 1==o.SendSerializedMessage(t.Serialize())}ConnectToSite(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t=e.connection,n=yield t.Connect(e.sUrl);if(1!=n.result)return n;return(yield this.SendAuthMessage(e)).BSuccess()?{result:1,message:"connected"}:{result:2,message:"client auth failed"}}))}MakeReady(){return(0,i.mG)(this,void 0,void 0,(function*(){const e=[];for(const[t,n]of this.m_mapConnectionDetails)e.push(this.ConnectToSite(n));const t=yield Promise.all(e);this.m_bInitialized=!0,this.DispatchTransportStatusUpdate();for(const e of t)if(1!=e.result)return e;return{result:1,message:"ready"}}))}GetConnectionDetails(e){for(const[t,n]of this.m_mapConnectionDetails)if(n.connection===e)return n;return f.Error("GetConnectionDetails: failed to identify connection"),null}DispatchTransportStatusUpdate(){if(!this.m_fnOnStatusEventHandler)return;let e=!0;for(const[t,n]of this.m_mapConnectionDetails)n.connection.BCanSendMessages()||(e=!1);this.m_fnOnStatusEventHandler({bConnected:e})}OnWebsocketReconnectStart(e){this.DispatchTransportStatusUpdate()}OnWebsocketReconnectFinish(e){var t;if(this.DispatchTransportStatusUpdate(),1!=e.eResult)return f.Warning("OnWebsocketReconnect: Failed to reconnect to steam client"),void(null===(t=this.m_fnOnReconnectErrorHandler)||void 0===t||t.call(this,{}));this.FailAllPendingRequests();const n=this.GetConnectionDetails(e.connection);n&&this.SendAuthMessage(n)}OnWebsocketClose(e){e.bIsExpectedToReconnect||this.FailAllPendingRequests()}OnWebsocketMessage(e){const t=new o.At(e),n=a.gA.InitHeaderFromPacket(t);n.Hdr().jobid_target()&&n.Hdr().jobid_target()!==r.Z3?this.DispatchMethodResponse(n):this.DispatchNotification(n)}DispatchMethodResponse(e){const t=parseInt(e.Hdr().jobid_target()),n=this.m_mapPendingMethodRequests.get(t);if(null==n)return void(0,u.X)(!1,"Transport Error: no pending callback for request");(0,u.X)(t==n.m_iSeq,"Transport Error: mistmatched request sequence"),this.m_mapPendingMethodRequests.delete(t);const i=a.gA.InitFromMsg(n.m_responseClass,e);n.m_fnCallback(i)}DispatchNotification(e){this.m_messageHandlers.DispatchMsgToHandlers(e,(e=>{(0,u.X)(!1,"Transport Error: A notification should not generate a response")}))}FailAllPendingRequests(){for(const[e,t]of this.m_mapPendingMethodRequests){this.ReportError(`FailAllPendingRequests: forcing failure for request: ${t.m_responseClass.name}`);let e=a.gA.Init(t.m_responseClass);e.Hdr().set_eresult(2),t.m_fnCallback(e)}this.m_mapPendingMethodRequests.clear()}SendAuthMessage(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t=h.zw.AuthenticateHandler.name,n={eClientExecutionSite:e.eClientExecutionSite},i=a.gA.Init(h.np);i.Hdr().set_webui_auth_key(e.sAuthKey);return yield this.SendMsg(t,i,h.zw.AuthenticateHandler.response,n)}))}OnStartShutdown(e){for(const[e,t]of this.m_mapConnectionDetails)t.connection.PrepareForShutdown();return 1}}(0,i.gn)([s.ak],v.prototype,"OnWebsocketReconnectStart",null),(0,i.gn)([s.ak],v.prototype,"OnWebsocketReconnectFinish",null),(0,i.gn)([s.ak],v.prototype,"OnWebsocketClose",null),(0,i.gn)([s.ak],v.prototype,"OnWebsocketMessage",null),(0,i.gn)([s.ak],v.prototype,"OnStartShutdown",null);const C=new v},95315:(e,t,n)=>{"use strict";n.d(t,{Oo:()=>a,yV:()=>l});n(85496);var i=n(89570),r=n(47692),s=n(62210);class o{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 i.u,this.m_mapManagers.set(e,t)),t}SetMenuManager(e,t){(0,s.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 a=(0,r.Yt)("ContextMenuFactory",(()=>new o));function l(e,t,n){let i,r,s,o=t;if((null==o?void 0:o.preventDefault)&&(null==o?void 0:o.stopPropagation)){if(o.shiftKey||o.altKey&&!(null==n?void 0:n.bRootContextMenu))return null;o.preventDefault(),o.stopPropagation(),s=o.currentTarget,i=o.clientX,r=o.clientY}else s=t;let l=a.GetContextMenuManagerFromWindow(s).CreateContextMenuInstance(e,s,i,r,n);return l.Show(),(null==n?void 0:n.bCreateHidden)&&l.Hide(),l}},85496:(e,t,n)=>{"use strict";n.d(t,{$Y:()=>l});var i=n(85556),r=n(54842),s=n(50423),o=(n(22042),n(77936));class a{constructor(e,t){this.m_nKey=null,this.m_bVisible=!1,this.m_rctLabel=void 0,this.m_timerHideMenu=0,this.m_elSubmenuItem=null,this.m_timerHideSubMenu=0,(0,r.rC)(this),this.m_ContextMenuManager=e,this.m_rctElement=t}get Manager(){return this.m_ContextMenuManager}get key(){return null==this.m_nKey&&(this.m_nKey=a.s_nNextKeyValue,a.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_bVisible=!0,this.m_ContextMenuManager.ShowMenu(this)}OnCancel(e=0){var t;(null===(t=this.options)||void 0===t?void 0:t.onCancel)&&this.options.onCancel(),this.Hide(e)}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){var n;return this.m_elSubmenuItem==e?(this.CancelHideSubMenuTimer(),null===(n=this.m_submenu)||void 0===n||n.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(o.IF.k_EWindowBringToFrontAndForceOS),this.m_elSubmenuItem=null,this.m_submenu.InternalHide(),this.m_submenu=void 0)}TakeFocus(e=o.IF.k_EWindowBringToFrontAndForceOS){this.m_popupContextMenu&&this.m_popupContextMenu.Focus(e),this.m_fnTakeFocus&&this.m_fnTakeFocus()}BInternalElementInParentHierarchy(e){return null!=this.m_parentInstance&&(this.m_parentInstance.BIsChildElement(e)||this.m_parentInstance.BInternalElementInParentHierarchy(e))}BInternalElementInChildHierarchy(e){return null!=this.m_submenu&&(this.m_submenu.BIsChildElement(e)||this.m_submenu.BInternalElementInChildHierarchy(e))}BIsChildElement(e){var t;return this.m_element?s.ni(this.m_element,e):s.ni(null===(t=this.m_popupContextMenu)||void 0===t?void 0:t.root_element,e)}BHasFocus(){var e;return this.m_popupContextMenu?this.m_popupContextMenu.focused:s.ni(this.m_element,null===(e=this.m_element)||void 0===e?void 0:e.ownerDocument.activeElement)}BIsFocusInChildHierarchy(){return null!=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}}a.s_nNextKeyValue=1,(0,i.gn)([r.LO],a.prototype,"m_bVisible",void 0),(0,i.gn)([r.LO.ref],a.prototype,"m_rctLabel",void 0);class l extends a{constructor(e,t,n,i,r,s){super(e,t),this.m_options=s||{},this.m_position={element:n,clientX:i,clientY:r,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 a{constructor(e,t,n,i){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:i},this.m_position={element:n,clientX:void 0,clientY:void 0,instance:this,options:this.m_options,fnOnMenuItemSelected:()=>{this.Hide()},bSubmenu:!0}}Hide(){var e;this.m_popupContextMenu?window.setTimeout((()=>{var e;null===(e=this.m_parentInstance)||void 0===e||e.HideIfNotInFocus()}),10):null===(e=this.m_parentInstance)||void 0===e||e.Hide()}ForceHide(){var e;null===(e=this.m_parentInstance)||void 0===e||e.ForceHide()}BIsSubMenu(){return!0}}},89570:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var i=n(85496),r=n(62210),s=n(45492),o=n(83999);class a{constructor(){this.m_callbacksMenusChanged=new s.pB,this.m_rgActiveSubmenus=[],this.m_setHiddenMenus=new Set}CreateContextMenuInstance(e,t,n,r,s){const o=new i.$Y(this,e,t,n,r,s);return(null==s?void 0:s.bCreateHidden)&&(this.m_setHiddenMenus.add(o),this.m_callbacksMenusChanged.Dispatch()),o}get OnMenusChanged(){return this.m_callbacksMenusChanged}HideActiveMenu(){var e;(null===(e=this.m_ActiveMenu)||void 0===e?void 0:e.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()?o.Zf(this.m_rgActiveSubmenus,e)&&this.m_callbacksMenusChanged.Dispatch():((0,r.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)}}},83654:(e,t,n)=>{"use strict";n.d(t,{AN:()=>a});var i=n(24522),r=n(50423);class s{constructor(e){this.instance=new o(e,!1)}}class o{constructor(e,t=!0){this.m_container=null,this.m_parent=e,this.m_window=e.ownerDocument.defaultView,this.m_bRemoveOnHide=t}Show(e,t){return this.CancelShowInterval(),t?new Promise(((n,i)=>{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)),this.m_reactRoot||(this.m_reactRoot=i.createRoot(this.m_container)),this.m_reactRoot.render(e)}Hide(e){this.CancelShowInterval(),e?this.iIntervalShow=this.m_window.setTimeout((()=>{this.InternalHide()}),e):this.InternalHide()}InternalHide(){this.m_reactRoot&&(this.m_reactRoot.unmount(),this.m_reactRoot=void 0),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&&r.ni(this.m_container,e)}}class a{constructor(e){this.m_mapEmbeddedHovers=new WeakMap,this.m_strUniqueID=e}ShowElementDelayed(e,t,n,i){let r=this.GetEmbeddedElement(e);return r.activeObject=i,r.instance.Show(n,t)}ShowElement(e,t,n){let i=this.GetEmbeddedElement(e);i.activeObject=n,i.instance.Show(t)}HideElement(e,t,n){let i=this.GetEmbeddedElement(e);i.activeObject==t&&(i.activeObject=void 0,i.instance.Hide(n))}GetEmbeddedElement(e){let t=this.m_mapEmbeddedHovers.get(e);return t||(t=new s(e.body),this.m_mapEmbeddedHovers.set(e,t)),t}}},10095:(e,t,n)=>{"use strict";n.d(t,{Rt:()=>E,K3:()=>D,eL:()=>v,iJ:()=>C,sB:()=>b,AN:()=>M,Wy:()=>y});var i=n(85556),r=n(54842),s=n(47427),o=n(50423),a=n(60616),l=n(16997),c=n(77936),u=n(37066),d=n(31846),m=n(37563),h=n(62210),p=n(83999);class g{constructor(e,t,n){if(this.m_rgLoadingLinks=[],this.m_rgLoadingLinks=[],n)for(let e=0;es.useContext(w);function E(e){const{ownerWindow:t,children:n}=e,i=s.useMemo((()=>({ownerWindow:t})),[t]);return s.createElement(w.Provider,{value:i},n)}class D{constructor(e,t){this.m_bCreated=!1,this.m_onCreateRender=null,this.m_bFocused=!1,(0,r.rC)(this),(0,h.X)(e,"Name is required. This is an internal name, different from title."),this.m_strName=e;const{title:n,eCreationFlags:s}=t,o=(0,i._T)(t,["title","eCreationFlags"]);this.m_rgParams=Object.assign(Object.assign({},o),{eCreationFlags:null!=s?s:0}),this.m_rgParams.target_browser&&(this.m_strName+="_uid"+this.m_rgParams.target_browser.m_unPID),this.m_bCreateHidden=!!(this.m_rgParams.eCreationFlags&v.Hidden),this.m_strTitle=n}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 i;i="boolean"==typeof e?e?c.IF.k_EWindowBringToFrontAndForceOS:c.IF.k_EWindowBringToFrontInvalid:e,window.SteamClient&&(this.m_rgParams.eCreationFlags|=v.Hidden),this.m_rgParams.eCreationFlags&v.NotFocusable&&(i=c.IF.k_EWindowBringToFrontInvalid),this.BIsValid()&&(this.BIsClosed()?(this.m_popup=void 0,this.m_element=void 0):i!=c.IF.k_EWindowBringToFrontInvalid&&this.Focus(i));let r,s,o,a=M.GetExistingPopup(this.m_strName);a&&!this.m_rgParams.replace_existing_popup||(this.m_rgParams=this.UpdateParamsBeforeShow(this.m_rgParams),a?(s=a.m_element,r=a.m_popup,a.ReleasePopup(),o=a.m_renderWhenReady,M.RemoveTrackedPopup(a),null==r||r.removeEventListener("beforeunload",a.OnBeforeUnloadEvent),null==r||r.removeEventListener("unload",a.OnUnload),null==r||r.removeEventListener("resize",a.OnResizeEvent),null==r||r.removeEventListener("focus",this.OnFocusInternal),null==r||r.removeEventListener("blur",this.OnBlurInternal),null==r||r.removeEventListener("drop",a.OnDrop),null==r||r.removeEventListener("dragover",a.OnDragOver),null==r||r.removeEventListener("message",this.OnMessage)):(({popup:r,element:s}=L.CreatePopup(this.m_strName,Object.assign(Object.assign({},this.m_rgParams),{title:this.m_strTitle}))),o=new g(r.document,s)),r&&s&&(r.document.title=this.m_strTitle,r.addEventListener("beforeunload",this.OnBeforeUnloadEvent),r.addEventListener("unload",this.OnUnload),r.addEventListener("resize",this.OnResizeEvent),r.addEventListener("focus",this.OnFocusInternal),r.addEventListener("blur",this.OnBlurInternal),r.addEventListener("drop",this.OnDrop),r.addEventListener("dragover",this.OnDragOver),r.addEventListener("message",this.OnMessage),m.De.LANGUAGE&&r.document.documentElement.setAttribute("lang",null!==(t=(0,d.CE)())&&void 0!==t?t:""),this.m_popup=r,this.m_element=s,this.m_renderWhenReady=o,null===(n=this.m_renderWhenReady)||void 0===n||n.SetTarget((()=>{this.m_popup&&this.m_element&&this.RenderInternal(this.m_popup,this.m_element,i)}))),M.AddTrackedPopup(this),a&&(this.OnCreateInternal(),i!=c.IF.k_EWindowBringToFrontInvalid&&this.Focus(i)))}RemoveEventListeners(){var e,t,n,i,r,s,o,a;null===(e=this.window)||void 0===e||e.removeEventListener("beforeunload",this.OnBeforeUnloadEvent),null===(t=this.window)||void 0===t||t.removeEventListener("unload",this.OnUnload),null===(n=this.window)||void 0===n||n.removeEventListener("resize",this.OnResizeEvent),null===(i=this.window)||void 0===i||i.removeEventListener("focus",this.OnFocusInternal),null===(r=this.window)||void 0===r||r.removeEventListener("blur",this.OnBlurInternal),null===(s=this.window)||void 0===s||s.removeEventListener("drop",this.OnDrop),null===(o=this.window)||void 0===o||o.removeEventListener("dragover",this.OnDragOver),null===(a=this.window)||void 0===a||a.removeEventListener("message",this.OnMessage)}RenderInternal(e,t,n){this.m_bCreated?(this.browser_info&&(0,u.Su)(this.browser_info.m_eBrowserType)&&(t.ownerDocument.body.className+=" VR"),this.Render(e,t),this.OnLoad(),(null==e?void 0: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(),M.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,f.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(){var e;return this.BIsVisible()&&!!(null===(e=this.m_popup)||void 0===e?void 0:e.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(0,f.w3)(this.m_popup,"Window.GetWindowRestoreDetails")&&!this.m_popup.closed?this.m_popup.SteamClient.Window.GetWindowRestoreDetails():Promise.resolve("")}IsMinimized(){return(0,f.w3)(this.m_popup,"Window.IsWindowMinimized")&&!this.m_popup.closed?this.m_popup.SteamClient.Window.IsWindowMinimized():Promise.resolve(!1)}IsMaximized(){return(0,f.w3)(this.m_popup,"Window.IsWindowMaximized")&&!this.m_popup.closed?this.m_popup.SteamClient.Window.IsWindowMaximized():Promise.resolve(!1)}ReleasePopup(){this.OnClose(),this.m_popup=null}OnResize(){this.IsMaximized().then((e=>{var t,n;e?null===(t=this.m_popup)||void 0===t||t.document.body.classList.add("Maximized"):null===(n=this.m_popup)||void 0===n||n.document.body.classList.remove("Maximized")}))}OnBeforeUnload(){}OnFocus(){}OnBlur(){}}(0,i.gn)([r.LO],D.prototype,"m_bFocused",void 0),(0,i.gn)([l.a],D.prototype,"OnMessage",null),(0,i.gn)([l.a],D.prototype,"RenderInternal",null),(0,i.gn)([l.a],D.prototype,"OnCreateInternal",null),(0,i.gn)([l.a],D.prototype,"OnResizeEvent",null),(0,i.gn)([l.a],D.prototype,"OnBeforeUnloadEvent",null),(0,i.gn)([l.a],D.prototype,"OnUnload",null),(0,i.gn)([l.a],D.prototype,"OnFocusInternal",null),(0,i.gn)([l.a],D.prototype,"OnBlurInternal",null);(0,i.gn)([l.a],class extends D{constructor(e,t,n,i){super(e,n),this.SetSavedDimensionsKey(t),this.m_bExpires=i}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(),M.SetRestoreDetails(this.m_strInitialSavedDimensionsKey,e.strRestoreDetails,this.m_bExpires)):(this.m_strInitialSavedDimensionsKey=this.GetSavedDimensionsKey(),e.strRestoreDetails=M.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(){var e;if(this.m_strInitialRestoreDetails){let t=this.GetSavedDimensionsKey();null===(e=this.m_popup)||void 0===e||e.setTimeout((()=>{this.GetWindowRestoreDetails().then((e=>{let n=this.m_rgParams.strRestoreDetails==e&&t==this.m_strInitialSavedDimensionsKey;this.m_popup&&this.m_strSavedDimensionsKey&&e&&!n&&(M.SetRestoreDetails(t,e,this.m_bExpires),this.m_rgParams.strRestoreDetails=e,this.m_strInitialSavedDimensionsKey=t,this.OnResizeComplete(e))}))}),30)}}OnBeforeUnload(){this.QueryAndStoreWindowPosition(),super.OnBeforeUnload()}OnClose(){}SaveWindowPosition(e){M.SetRestoreDetails(this.GetSavedDimensionsKey(),e,!1),this.m_rgParams.strRestoreDetails=e}}.prototype,"QueryAndStoreWindowPosition",null);class L{constructor(){if(this.m_bShuttingDown=!1,this.m_mapPopups=r.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&&"addEventListener"in window){window.addEventListener("beforeunload",(e=>{var t,n,i,r;this.m_bShuttingDown=!0;for(let e of this.m_rgShutdownCallbacks)e();let s=[];this.m_mapPopups.forEach((e=>{e.BIsValid()&&!e.BIsClosed()&&s.push(e)}));for(let e of s)(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===(i=e.window)||void 0===i?void 0:i.SteamClient.Window.SetHideOnClose)&&(null===(r=e.window)||void 0===r||r.SteamClient.Window.SetHideOnClose(!1)),e.Close();this.m_bSaveRequired&&this.SaveSavedDimensionStore(),this.m_mapPopups.clear()}));let e=document.querySelector("head");(0,h.X)(e,"Couldn't find head element"),e&&(this.m_DynamicCSSObserver=new MutationObserver((()=>{const e=o.Mv();this.m_mapPopups.forEach((t=>{o.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(){var e;for(const t of this.m_mapPopups.values())if(t.focused&&(null!==(e=t.params.eCreationFlags)&&void 0!==e?e:0)&v.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||{},i=n.width||300,r=n.height||300,s=t.title,a="width="+i+",height="+r;void 0!==n.left&&(a+=",left="+n.left),void 0!==n.top&&(a+=",top="+n.top),a+=",resizeable,status=0,toolbar=0,menubar=0,location=0";let l="about:blank",c=[];c.push("createflags="+t.eCreationFlags),t.minWidth&&c.push("minwidth="+t.minWidth),t.minHeight&&c.push("minheight="+t.minHeight),t.maxWidth&&t.maxWidth!=1/0&&c.push("maxwidth="+t.maxWidth),t.maxHeight&&t.maxHeight!=1/0&&c.push("maxheight="+t.maxHeight),t.target_browser?(c.push("pid="+t.target_browser.m_unPID),c.push("browser="+t.target_browser.m_nBrowserID),t.target_browser.m_eBrowserType?c.push("browserType="+t.target_browser.m_eBrowserType):t.browserType&&c.push("browserType="+t.browserType),t.availscreenwidth&&t.availscreenheight&&(c.push("screenavailwidth="+t.availscreenwidth),c.push("screenavailheight="+t.availscreenheight))):t.browserType&&c.push("browserType="+t.browserType),t.strVROverlayKey&&c.push("vrOverlayKey="+t.strVROverlayKey),t.strRestoreDetails&&c.push("restoredetails="+t.strRestoreDetails),t.window_opener_id&&c.push("openerid="+t.window_opener_id),t.parent_container_popup_id&&c.push("parentcontainerpopupid="+t.parent_container_popup_id),t.center_on_window&&void 0===n.left&&void 0===n.top&&c.push("centerOnBrowserID="+t.center_on_window.SteamClient.Browser.GetBrowserID()),t.strUserAgent&&c.push("useragent="+t.strUserAgent),t.hwndParent&&c.push("hwndParent="+t.hwndParent),t.bPinned&&c.push("pinned=true"),t.bModal&&c.push("modal=true"),c&&(l+="?"+c.join("&"));let u=(t.owner_window||window).open(l,e,a);if(!u)return console.error(`Failed to create popup, browser/CEF may be blocking popups for "${window.location.origin}"`),{};let d="";t.html_class&&(d=`class="${t.html_class}"`);let m="";t.body_class&&(m=`class="${t.body_class}"`);let h="";t.popup_class&&(h=`class="${t.popup_class}"`);let p=``;return u.document.write(p),u.document.title=s,o.V2(u,o.Mv()),{popup:u,element:u.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.clear();let t=window.localStorage.getItem(e);if(t)try{let e=JSON.parse(t);this.m_mapRestoreDetails=new Map(e)}catch(e){}}SaveSavedDimensionStore(){if(!this.m_unCurrentAccountID||!this.m_bSaveRequired)return;let e=this.GetLocalStorageKey(),t=JSON.stringify(Array.from(this.m_mapRestoreDetails));try{window.localStorage.setItem(e,t),this.m_bSaveRequired=!1}catch(n){if("name"in n&&"QuotaExceededError"==n.name){console.log("Quota exceeded");for(let t of Object.keys(window.localStorage))t.startsWith("PopupSavedDimensions_")&&t!=e&&window.localStorage.removeItem(t);window.localStorage.setItem(e,t),this.m_bSaveRequired=!1}}}DebouncedSaveSavedDimensionStore(){this.SaveSavedDimensionStore()}ClearSavedDimensionStore(){var e;null===(e=this.m_mapRestoreDetails)||void 0===e||e.clear(),this.m_bSaveRequired=!1}GetRestoreDetails(e){var t;if(!(null===(t=this.m_mapRestoreDetails)||void 0===t?void 0:t.has(e)))return"";let n=this.m_mapRestoreDetails.get(e);return n.last_used=Date.now(),this.m_bSaveRequired=!0,n.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 i=this.m_mapRestoreDetails.get(n);i.last_usednew L));window.g_PopupManager=M},697:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var i=n(47427),r=n(10095);const s=i.createContext({body_class:""});function o(){return i.useContext(s)}var a=n(77936),l=n(13129);n(53923),n(6276);function c(e,t,n){const r=i.useRef(void 0),[s,c]=i.useState(void 0),d=o();return r.current||(r.current=new u(e,function(e,t){return Object.assign(Object.assign({},e),{body_class:(0,l.Z)(e.body_class,t.body_class)})}(t,d),c)),r.current.m_callbacks=n,i.useEffect((()=>{var e,t,n;if(!(null===(e=r.current)||void 0===e?void 0:e.params.bNoInitialShow)){let e=(null===(t=r.current)||void 0===t?void 0:t.params.bNoFocusOnShow)?a.IF.k_EWindowBringToFrontWithoutForcingOS:a.IF.k_EWindowBringToFrontAndForceOS;null===(n=r.current)||void 0===n||n.Show(e)}return()=>{var e,t;r.current.m_callbacks=void 0,(null===(e=r.current.window)||void 0===e?void 0:e.SteamClient.Window.SetHideOnClose)&&(null===(t=r.current.window)||void 0===t||t.SteamClient.Window.SetHideOnClose(!1)),r.current.Close()}}),[]),i.useEffect((()=>{var e,n;(null===(e=r.current.window)||void 0===e?void 0:e.SteamClient.Window.SetHideOnClose)&&(null===(n=r.current.window)||void 0===n||n.SteamClient.Window.SetHideOnClose(!!t.bHideOnClose))}),[t.bHideOnClose]),{popup:r.current.window,element:s,popupObj:r.current}}class u extends r.K3{constructor(e,t,n){super(e,t),this.m_fnReadyToRender=n}DoCallback(e){var t,n;null===(n=null===(t=this.m_callbacks)||void 0===t?void 0:t[e])||void 0===n||n.call(t,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)}}},92686:(e,t,n)=>{"use strict";n.d(t,{BU:()=>F,DC:()=>L,GY:()=>re,JM:()=>R,MP:()=>B,Nu:()=>I,Nw:()=>H,P2:()=>G,PE:()=>ne,Rj:()=>T,Rs:()=>M,XX:()=>x,Xe:()=>U,Xn:()=>P,Xx:()=>ae,aF:()=>se,bF:()=>O,cL:()=>Z,cc:()=>$,ct:()=>Q,ht:()=>X,jo:()=>V,kz:()=>k,lV:()=>N,oZ:()=>q,rQ:()=>A,s9:()=>J,sT:()=>K,sj:()=>ie,ud:()=>oe,zj:()=>z,zs:()=>j});var i=n(85556),r=n(47427),s=n(79545),o=n(42718),a=n(53923),l=n(40057),c=n(75017),u=n(82182),d=n(31846),m=(n(85516),n(65255)),h=n(46009),p=n(75683),g=n(45284),_=n(6276);const f=e=>(t,n,i)=>i?[e,t,n,i]:n?[e,t,n]:t?[e,t]:[e],v=f("get_family_group_for_user "),C=f("get_family_group"),S=f("get_family_history"),b=f("get_users_sharing_device"),w=f("get_purchase_requests"),y=(f("get_shopping_cart_contents"),f("recent_playtime_sessions"));f("get_playtime_summary"),f("get_invite_check_results");function E(e,t){if(1!=e)throw e}const D=r.createContext({staleTimeMs:1/0});function L(e){const{staleTimeMs:t,children:n}=e,i=r.useMemo((()=>({staleTimeMs:null!=t?t:3e3})),[t]);return r.createElement(D.Provider,{value:i},n)}function M(){const e=(0,l.bY)(),t=(0,a.M)(),n=(0,r.useContext)(D).staleTimeMs;return(0,o.useQuery)({queryKey:v(t),queryFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=s.gA.Init(c.fd),n=yield c.s4.GetFamilyGroupForUser(e,t);return E(n.GetEResult()),n.Body()})),staleTime:n,enabled:!!t})}function R(e){const t=(0,l.bY)(),n=(0,r.useContext)(D).staleTimeMs;return(0,o.useQuery)({queryKey:C(e),queryFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const n=s.gA.Init(c.ep);n.Body().set_family_groupid(e);const i=yield c.s4.GetFamilyGroup(t,n);return E(i.GetEResult()),i.Body()})),staleTime:n})}function I(){const e=(0,l.bY)(),t=(0,o.useQueryClient)(),n=(0,a.M)();return(0,o.useMutation)({mutationFn:t=>(0,i.mG)(this,void 0,void 0,(function*(){const n=s.gA.Init(c.tP);n.Body().set_name(t);const i=yield c.s4.CreateFamilyGroup(e,n);return E(i.GetEResult()),i.Body()})),onSuccess:()=>{t.invalidateQueries({queryKey:v(n)})}})}function T(e){const t=(0,l.bY)(),n=(0,o.useQueryClient)(),r=(0,a.M)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const n=s.gA.Init(c.UL);n.Body().set_family_groupid(e);const i=yield c.s4.DeleteFamilyGroup(t,n);return E(i.GetEResult()),i.Body()})),onSuccess:()=>{n.invalidateQueries({queryKey:v(r)}),n.invalidateQueries({queryKey:C(e)}),n.invalidateQueries({queryKey:S(e)})}})}function A(e){const t=(0,l.bY)(),n=(0,o.useQueryClient)();return(0,o.useMutation)({mutationFn:n=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.$X);i.Body().set_family_groupid(e),i.Body().set_name(n);const r=yield c.s4.ModifyFamilyGroupDetails(t,i);return E(r.GetEResult()),r.Body()})),onSuccess:()=>{n.invalidateQueries({queryKey:C(e)}),n.invalidateQueries({queryKey:S(e)})}})}function k(e,t,n){const r=(0,l.bY)(),a=(0,o.useQueryClient)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.oI);i.Body().set_family_groupid(e),i.Body().set_receiver_steamid(t),i.Body().set_receiver_role(n);const o=yield c.s4.InviteToFamilyGroup(r,i);return E(o.GetEResult()),o.Body()})),onSuccess:()=>{a.invalidateQueries({queryKey:v(t)}),a.invalidateQueries({queryKey:C(e)}),a.invalidateQueries({queryKey:S(e)})}})}function O(e,t=null){const n=(0,l.bY)(),r=(0,a.M)(),u=(0,o.useQueryClient)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.QV);i.Body().set_family_groupid(e),null!==t&&i.Body().set_nonce(t);const r=yield c.s4.JoinFamilyGroup(n,i);return E(r.GetEResult()),r.Body()})),onSuccess:()=>{u.invalidateQueries({queryKey:v(r)}),u.invalidateQueries({queryKey:C(e)}),u.invalidateQueries({queryKey:S(e)})}})}function B(e,t){const n=(0,l.bY)(),r=(0,o.useQueryClient)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c._U);i.Body().set_family_groupid(e),i.Body().set_steamid_to_cancel(t);const r=yield c.s4.CancelFamilyGroupInvite(n,i);return E(r.GetEResult()),r.Body()})),onSuccess:()=>{r.invalidateQueries({queryKey:v(t)}),r.invalidateQueries({queryKey:C(e)}),r.invalidateQueries({queryKey:S(e)})}})}function x(e,t){const n=(0,l.bY)(),r=(0,o.useQueryClient)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.BV);i.Body().set_family_groupid(e),i.Body().set_steamid_to_remove(t);const r=yield c.s4.RemoveFromFamilyGroup(n,i);return E(r.GetEResult()),r.Body()})),onSuccess:()=>{r.invalidateQueries({queryKey:v(t)}),r.invalidateQueries({queryKey:C(e)}),r.invalidateQueries({queryKey:S(e)})}})}function N(e){const t=(0,l.bY)();return(0,o.useQuery)(b(e),(()=>(0,i.mG)(this,void 0,void 0,(function*(){const n=(0,h.bG)("clientsessionid"),i=n&&BigInt("0x"+n).toString(),r=s.gA.Init(c.Hm);r.Body().set_family_groupid(e),r.Body().set_client_instance_id(null!=i?i:void 0);const o=yield c.s4.GetUsersSharingDevice(t,r);return E(o.GetEResult()),o.Body()}))))}function P(e){var t,n;const i=(0,a.M)();return null===(n=null===(t=R(e).data)||void 0===t?void 0:t.members().find((e=>e.steamid()==i)))||void 0===n?void 0:n.role()}function F(e,t){const n=(0,l.bY)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.xv);i.Body().set_family_groupid(e),i.Body().set_use_account_cart(!0),i.Body().set_store_country_code(t);const r=yield c.s4.RequestPurchase(n,i);return E(r.GetEResult()),r.Body()}))})}function G(e,t){const n=(0,l.bY)(),r=(0,a.M)();return(0,o.useQuery)(w(e,r),(()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.SE);i.Body().set_family_groupid(e),void 0!==t&&i.Body().set_rt_include_completed_since(t);const r=yield c.s4.GetPurchaseRequests(n,i);return E(r.GetEResult()),r.Body()}))))}function V(e,t){const n=(0,l.bY)(),r=(0,a.M)();return(0,o.useQuery)(w(e,r,t),(()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.SE);i.Body().set_family_groupid(e),i.Body().add_request_ids(t);const r=yield c.s4.GetPurchaseRequests(n,i);return E(r.GetEResult()),r.Body()}))),{select:e=>{var n;return null===(n=e.toObject().requests)||void 0===n?void 0:n.find((({request_id:e})=>e===t))}})}function H(e,t,n){const r=(0,l.bY)(),a=(0,o.useQueryClient)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.fB);i.Body().set_family_groupid(e),i.Body().set_request_id(t),i.Body().set_action(n);const o=yield c.s4.RespondToRequestedPurchase(r,i);return E(o.GetEResult()),o.Body()})),onSuccess:()=>{a.invalidateQueries({queryKey:w(e)}),a.invalidateQueries({queryKey:S(e)})}})}const U=(0,r.createContext)({errorMessage:null,setErrorMessage:e=>{}});var j;!function(e){e[e.k_EFamilyQueryNone=0]="k_EFamilyQueryNone",e[e.k_EFamilyQueryLoadFamily=1]="k_EFamilyQueryLoadFamily",e[e.k_EFamilyQueryJoinFamily=2]="k_EFamilyQueryJoinFamily",e[e.k_EFamilyQueryDeclineInvite=3]="k_EFamilyQueryDeclineInvite",e[e.k_EFamilyQueryInviteToFamily=4]="k_EFamilyQueryInviteToFamily",e[e.k_EFamilyQueryCreateFamily=5]="k_EFamilyQueryCreateFamily",e[e.k_EFamilyQueryDeleteFamily=6]="k_EFamilyQueryDeleteFamily",e[e.k_EFamilyQueryModifyFamily=7]="k_EFamilyQueryModifyFamily",e[e.k_EFamilyQueryRemoveFromFamily=8]="k_EFamilyQueryRemoveFromFamily",e[e.k_EFamilyQueryGetUsersSharingDevice=9]="k_EFamilyQueryGetUsersSharingDevice",e[e.k_EFamilyQueryPurchaseRequest=10]="k_EFamilyQueryPurchaseRequest",e[e.k_EFamilyQueryGetPurchaseRequests=11]="k_EFamilyQueryGetPurchaseRequests",e[e.k_EFamilyQueryDeclinePurchaseRequest=12]="k_EFamilyQueryDeclinePurchaseRequest",e[e.k_EFamilyQueryLoadHistory=13]="k_EFamilyQueryLoadHistory",e[e.k_EFamilyQueryLoadCart=14]="k_EFamilyQueryLoadCart",e[e.k_EFamilyQuerySetCooldownOverrides=15]="k_EFamilyQuerySetCooldownOverrides",e[e.k_EFamilyQueryResendInvite=16]="k_EFamilyQueryResendInvite"}(j||(j={}));const W={8:"#FamilyManagement_ErrorInternalServerError",2:"#FamilyManagement_ErrorInternalServerError",10:"#FamilyManagement_ErrorInternalServerError",37:"#FamilyManagement_ErrorInternalServerError",15:"#FamilyManagement_AccessDenied",42:"#FamilyManagement_ErrorNoMatch",43:"#FamilyManagement_ErrorAccountDisabled",11:"#FamilyManagement_ErrorNoActiveInvite",45:"#FamilyManagement_PartnerAccountCannotJoinAsChild",129:"#FamilyManagement_ErrorFamilySizeLimitExceeded",25:"#FamilyManagement_ErrorLimitExceeded",96:"#FamilyManagement_ErrorAccountActivityLimitExceeded",112:"#FamilyManagement_LimitedAccount_CreateFamily",84:{[j.k_EFamilyQueryCreateFamily]:"#FamilyManagement_RateLimitExceeded_CreateFamily"},83:{[j.k_EFamilyQueryCreateFamily]:"#FamilyManagement_RegionLocked_CreateFamily",[j.k_EFamilyQueryJoinFamily]:"#FamilyManagement_Household_JoinFamily"},31:{[j.k_EFamilyQueryJoinFamily]:"#FamilyManagement_Household_JoinFamily"},95:{[j.k_EFamilyQueryCreateFamily]:"#FamilyManagement_ErrorAccountLimitExceeded_CreateFamily",[j.k_EFamilyQueryJoinFamily]:"#FamilyManagement_ErrorAccountLimitExceeded_JoinFamily",[j.k_EFamilyQueryRemoveFromFamily]:"#FamilyManagement_ErrorAccountLimitExceeded_RemoveFromFamily"},29:{[j.k_EFamilyQueryJoinFamily]:"#FamilyManagement_ErrorDuplicateRequest_JoinFamily",[j.k_EFamilyQueryInviteToFamily]:"#FamilyManagement_ErrorDuplicateRequest_InviteToFamily",[j.k_EFamilyQueryRemoveFromFamily]:"#FamilyManagement_ErrorDuplicateRequest_RemoveFromFamily"},40:{[j.k_EFamilyQueryInviteToFamily]:"#FamilyManagement_ErrorFailed_NoAdditionalDetails"}};function Z(){const{setErrorMessage:e}=(0,r.useContext)(U);return{setErrorMessage:e}}function z(e,t,n){const{setErrorMessage:i}=Z();(0,r.useEffect)((()=>{if(e.isError){const r=e.error;i(function(e,t,n){let i="";if(e in W){const t=W[e];if("string"==typeof t)i=(0,d.Xx)(t);else{const e=t;n in e&&(i=(0,d.Xx)(e[n]))}}return(0,d.Xx)(t,i)}(r,t,n))}}),[i,e.isError,e.error,t,n])}function K(e,t){const{setErrorMessage:n}=Z();(0,r.useEffect)((()=>{e.isError&&n((0,d.Xx)(t))}),[n,e.isError,t])}function q(e){const t=(0,l.bY)();return(0,o.useQuery)(S(e),(()=>(0,i.mG)(this,void 0,void 0,(function*(){const n=s.gA.Init(c.Uf);n.Body().set_family_groupid(e);const i=yield c.s4.GetChangeLog(t,n);return E(i.GetEResult()),i.Body().changes()}))),{staleTime:0})}function $(e,t){return`${m.De.STORE_BASE_URL}cart/purchaserequest/${e}/${t}`}function X(e){return`${m.De.STORE_BASE_URL}cart/purchaserequested/${e}`}function Y(e,t,n,i){return["get_shared_library_apps",e,null==t?void 0:t.bIncludeOwn,null==t?void 0:t.bIncludeExcluded,null==t?void 0:t.bIncludeNonGames,null==t?void 0:t.for_account_id,n,i]}function Q(e,t){const n=(0,a.M)(),{settings:r,mapAppsAllowed:u}=(0,p.X1)(n).data,d=(0,p.T8)(),h=(0,l.bY)(),{bIncludeOwn:g,bIncludeExcluded:f,bIncludeNonGames:v,for_account_id:C}=null!=t?t:{},S=void 0===(null==t?void 0:t.enabled)||t.enabled,b=Y(e,t,r,d),w=e=>!(0,p.IL)(e.appid(),d,r,u);return(0,o.useQuery)(b,{queryFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=s.gA.Init(c.Ai);if(t.Body().set_family_groupid(e),t.Body().set_include_own(g),t.Body().set_include_excluded(f),t.Body().set_language(m.De.LANGUAGE),t.Body().set_include_non_games(v),C){const e=_.Kg.InitFromAccountID(C,m.De.EUNIVERSE);t.Body().set_steamid(e.ConvertTo64BitString())}const n=yield c.s4.GetSharedLibraryApps(h,t);return E(n.GetEResult()),n.Body().apps().filter(w).map((e=>e.toObject()))})),enabled:!!r&&S,keepPreviousData:!0,select:null==t?void 0:t.select})}function J(e,t){var n;const i=(0,o.useQueryClient)(),s=(0,a.M)(),{settings:l}=null!==(n=(0,p.X1)(s).data)&&void 0!==n?n:{},c=Y(e,t,l,(0,p.T8)());return(0,r.useCallback)((()=>{i.invalidateQueries({queryKey:c})}),[i,c])}function ee(e,t){let n=e.sort_as||e.name,i=t.sort_as||t.name;return(0,g.tN)(n,i)}function te(e,t){return t.rt_time_acquired-e.rt_time_acquired||ee(e,t)}function ne(e,t,n,i=[]){const s=(0,r.useMemo)((()=>(null==e?void 0:e.filter((e=>function(e,t,n){var i,r;if(!e&&0===t.length)return!0;const s=null===(i=n.name)||void 0===i?void 0:i.toLocaleLowerCase(),o=e.toLocaleLowerCase(),a=(null==s?void 0:s.includes(o))||(null===(r=n.appid)||void 0===r?void 0:r.toString())==o;let l=!0;if(n.content_descriptors)for(const e of t)if(!n.content_descriptors.includes(e)){l=!1;break}return a&&l}(n,i,e))))||[]),[e,n,i]),o=(0,r.useCallback)(((e,n)=>{let i=ee;switch(t){case"alpha-asc":i=ee;break;case"alpha-desc":i=(e,t)=>ee(t,e);break;case"date_acquired-asc":i=(e,t)=>te(t,e);break;case"date_acquired-desc":i=te}return i(e,n)}),[t]);return(0,r.useMemo)((()=>s.slice().sort(o)),[s,o])}function ie(e,t,n){const r=(0,l.bY)(),u=(0,o.useQueryClient)(),d=(0,a.M)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.b2);i.Body().set_family_groupid(e),i.Body().set_invite_id(t),i.Body().set_nonce(n);const o=yield c.s4.ConfirmJoinFamilyGroup(r,i);return E(o.GetEResult()),o.Body()})),onSuccess:()=>{u.invalidateQueries({queryKey:v(d)}),u.invalidateQueries({queryKey:C(e)}),u.invalidateQueries({queryKey:S(e)})}})}function re(e,t,n){const r=(0,l.bY)(),a=(0,o.useQueryClient)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.G$);i.Body().set_family_groupid(e),i.Body().set_invite_id(t),i.Body().set_nonce(n);const o=yield c.s4.ConfirmInviteToFamilyGroup(r,i);return E(o.GetEResult()),o.Body()})),onSuccess:()=>{a.invalidateQueries({queryKey:C(e)}),a.invalidateQueries({queryKey:S(e)})}})}function se(e,t){const n=(0,l.bY)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const i=s.gA.Init(c.e0);i.Body().set_family_groupid(e),i.Body().set_steamid(t);const r=yield c.s4.ResendInvitationToFamilyGroup(n,i);return E(r.GetEResult()),r}))})}function oe(e){const t=(0,l.bY)();return(0,o.useQuery)({queryKey:y(e),queryFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const n=s.gA.Init(u.Gz);n.Body().set_steamid(e);const i=yield u.lk.GetRecentPlaytimeSessionsForChild(t,n);E(i.GetEResult());const r=function(e){let t=[];e.sort(((e,t)=>e.time_start-t.time_start));let n=new Map;for(const i of e){let e=n.get(i.appid);void 0===e?n.set(i.appid,i):i.time_start<=e.time_end?e.time_end=Math.max(e.time_end,i.time_end):(t.push(e),n.set(i.appid,i))}for(const e of n.values())t.push(e);return t.sort(((e,t)=>e.time_start-t.time_start)),t}(i.Body().toObject().sessions||[]);return r}))})}function ae(e){const t=(0,l.bY)(),n=(0,a.M)(),r=(0,o.useQueryClient)();return(0,o.useMutation)({mutationFn:()=>(0,i.mG)(this,void 0,void 0,(function*(){const n=s.gA.Init(c.sF);n.Body().set_family_groupid(e);const i=yield c.s4.UndeleteFamilyGroup(t,n);return E(i.GetEResult()),i})),onSuccess:()=>{r.invalidateQueries({queryKey:v(n)}),r.invalidateQueries({queryKey:C(e)}),r.invalidateQueries({queryKey:S(e)})}})}},82493:(e,t,n)=>{"use strict";n.d(t,{DP:()=>f,Fe:()=>c,Hy:()=>m,IS:()=>g,K:()=>d,Ks:()=>h,bX:()=>_,cp:()=>v,wl:()=>p});var i=n(85556),r=n(47427),s=n(28781),o=n(25849),a=n(20417),l=n(59885);const c=r.forwardRef((function(e,t){const{NavigationManager:n,onActivated:c,onDeactivated:d,navTreeRef:m,secondary:h,virtualFocus:p,navID:g,children:_,"flow-children":f,parentEmbeddedNavTree:v,focusClassesInDesktop:C}=e,S=(0,i._T)(e,["NavigationManager","onActivated","onDeactivated","navTreeRef","secondary","virtualFocus","navID","children","flow-children","parentEmbeddedNavTree","focusClassesInDesktop"]),{elemProps:b,navOptions:w,gamepadEvents:y}=(0,s.QH)(S),E=(null===(D=r.useContext(u))||void 0===D?void 0:D.focusNavWindow)||n.GetDefaultContext();var D;let L=r.useRef(null);L.current||(L.current=n.NewGamepadNavigationTree(E,g));const M=L.current;r.useLayoutEffect((()=>{const e=(0,o.t)(f);M.Root.SetProperties(Object.assign(Object.assign({},w),{layout:e}))}));let R=r.useRef(null);M.SetUseVirtualFocus(p),M.SetParentEmbeddedNavTree(v),M.SetApplyFocusClassesInDesktop(null!=C&&C),(0,a.Qg)(M.OnActivateCallbacks,c),(0,a.Qg)(M.OnDeactivateCallbacks,d),(0,l.Jd)(y,R,L.current),r.useLayoutEffect((()=>M.RegisterNavigationItem(M.Root,R.current)),[M,R]),r.useLayoutEffect((()=>n.RegisterGamepadNavigationTree(M,R.current.ownerDocument.defaultView,null!=h&&h)),[n,h,M]),r.useLayoutEffect((()=>((0,a.k$)(m,M),()=>(0,a.k$)(m,null))),[m,M]);const I=(0,a.BE)(R,t);return r.createElement("div",Object.assign({},b,{id:g,"data-react-nav-root":g,ref:I}),r.createElement(s.ET.Provider,{value:M.Root},_))})),u=r.createContext({focusNavWindow:null,bSupportsFocus:!0});function d(){var e,t;return null===(t=null===(e=r.useContext(u))||void 0===e?void 0:e.bSupportsFocus)||void 0===t||t}function m(){return r.createRef()}const h=(0,s.lP)("div"),p=(0,s.lP)("button"),g=(0,s.lP)("a"),_=(0,s.hi)("input"),f=(0,s.hi)("textarea");(0,s.lP)("img");function v(e,t,n=!1){r.useEffect((()=>{const i=e.current;i&&(t?i.Activate(n):i.Deactivate())}),[t,n,e])}},28781:(e,t,n)=>{"use strict";n.d(t,{CO:()=>S,QH:()=>b,zQ:()=>y,Iy:()=>v,lP:()=>D,hi:()=>L,ET:()=>f,Pd:()=>C});var i=n(85556),r=n(47427),s=n(82493),o=n(59885),a=n(77262),l=n(40659),c=n(35643);var u=n(47692),d=n(14243),m=n(87476),h=n(13129),p=n(20417),g=n(37563),_=n(6799);const f=(0,u.Yt)("GamepadNavigationContext",(()=>r.createContext(null))),v=(0,u.Yt)("FocusRingNavigationContext",(()=>r.createContext(l.U7)));function C(e){const{navRef:t}=e,n=(0,i._T)(e,["navRef"]),s=r.useRef(null),o=(0,r.useContext)(f),a=(0,r.useContext)(v),l=function(e,t){let n=r.useRef(null);return!e||n.current&&n.current.m_Parent==e||(n.current=e.Tree.CreateNode(e,t)),n.current}(o,a);return r.useLayoutEffect((()=>{l&&l.SetProperties(n)})),r.useLayoutEffect((()=>{if(!o)return;const e=o.Tree.RegisterNavigationItem(l,s.current);return()=>{e()}}),[o,l,s]),r.useLayoutEffect((()=>{if(l&&t)return(0,p.k$)(t,l.CreateHandle()),()=>(0,p.k$)(t,null)}),[l,t]),{ref:s,node:l}}function S(e){const{onButtonDown:t,onButtonUp:n,onOKButton:r,onCancelButton:s,onSecondaryButton:o,onOptionsButton:l,onGamepadDirection:c,onGamepadFocus:u,onGamepadBlur:d,onMenuButton:m,onOKActionDescription:h,onCancelActionDescription:p,onSecondaryActionDescription:g,onOptionsActionDescription:_,onMenuActionDescription:f,actionDescriptionMap:v}=e,C=(0,i._T)(e,["onButtonDown","onButtonUp","onOKButton","onCancelButton","onSecondaryButton","onOptionsButton","onGamepadDirection","onGamepadFocus","onGamepadBlur","onMenuButton","onOKActionDescription","onCancelActionDescription","onSecondaryActionDescription","onOptionsActionDescription","onMenuActionDescription","actionDescriptionMap"]),S={};void 0!==t&&(S.onButtonDown=t),void 0!==n&&(S.onButtonUp=n),void 0!==r&&(S.onOKButton=r),void 0!==s&&(S.onCancelButton=s),void 0!==o&&(S.onSecondaryButton=o),void 0!==l&&(S.onOptionsButton=l),void 0!==m&&(S.onMenuButton=m),void 0!==c&&(S.onGamepadDirection=c),void 0!==u&&(S.onGamepadFocus=u),void 0!==d&&(S.onGamepadBlur=d);return{gamepadEvents:S,actionDescriptions:(0,a.Cj)({onOKActionDescription:h,onCancelActionDescription:p,onSecondaryActionDescription:g,onOptionsActionDescription:_,onMenuActionDescription:f,actionDescriptionMap:v}),props:C}}function b(e){const{autoFocus:t,preferredFocus:n,disableNavSounds:r,fnCanTakeFocus:s,childFocusDisabled:o,retainFocus:a,onFocusWithin:l,navKey:c,noFocusRing:u,focusable:d,focusableIfNoChildren:m,navRef:h,actionDescriptionMap:p,onMoveUp:g,onMoveRight:_,onMoveDown:f,onMoveLeft:v,navEntryPreferPosition:C,scrollIntoViewWhenChildFocused:b,fnScrollIntoViewHandler:w,scrollIntoViewType:y,resetNavOnEntry:E}=e,D=(0,i._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:L,actionDescriptions:M,props:R}=S(D);return{elemProps:R,navOptions:{autoFocus:t,preferredFocus:n,disableNavSounds:r,fnCanTakeFocus:s,childFocusDisabled:o,retainFocus:a,onFocusWithin:l,navKey:c,noFocusRing:u,focusable:d,focusableIfNoChildren:m,navRef:h,onMoveUp:g,onMoveRight:_,onMoveDown:f,onMoveLeft:v,navEntryPreferPosition:C,scrollIntoViewWhenChildFocused:b,fnScrollIntoViewHandler:w,scrollIntoViewType:y,resetNavOnEntry:E,actionDescriptionMap:Object.assign(Object.assign({},p),M)},gamepadEvents:L}}function w(e){return function(t){const{focusClassName:n,focusWithinClassName:o,className:a,divRef:l,node:c,tabIndex:u,children:d}=t,m=(0,i._T)(t,["focusClassName","focusWithinClassName","className","divRef","node","tabIndex","children"]),_=(0,p.NW)(),f=(0,g.id)()||c.Tree.GetApplyFocusClassesInDesktop(),v=(0,s.K)(),C=c.BHasFocus()&&v,S=c.BFocusWithin()&&v,b=c.Tree.BIsActive();return(0,p.Qg)(c.FocusCallbackList,_),(0,p.Qg)(c.FocusWithinCallbackList,_),(0,p.Qg)(c.Tree.OnActiveStateChangedCallbacks,C||S?_:void 0),r.createElement(e,Object.assign(Object.assign({},m),{className:(0,h.Z)(a,f&&C&&b&&n,f&&S&&b&&o),tabIndex:b?u:-1,ref:l}),d)}}const y=w("div");function E(e,t,n,i){const{elemProps:s,navOptions:a,gamepadEvents:l}=b(n);void 0!==a.focusable||s.disabled||(a.focusable=!0);const{ref:c,node:u}=C(Object.assign({},a)),g=(0,r.useCallback)((()=>{var e;return d.LT.PlayNavSound(d.qr.DefaultOk),null===(e=c.current)||void 0===e||e.click(),!0}),[c]);l.onOKButton||("onClick"in s&&s.onClick||"button"==e&&"submit"==s.type||"a"==e)&&(l.onOKButton=g),a.focusable&&(s.tabIndex=s.tabIndex||0),(0,o.pD)(l,c);const v=(0,m.Ze)(2,(()=>"self"==(null==u?void 0:u.GetFocusable())||null!=s.onClick)),S=(0,_.M)(s);(0,_.B)(s);const w=(0,p.BE)(v,S,i,c),y=s.children;delete s.children;const E=s.focusClassName;return delete s.focusClassName,r.createElement(f.Provider,{value:u},u?r.createElement(t,Object.assign(Object.assign({},s),{divRef:w,node:u,focusClassName:(0,h.Z)(E,"gpfocus"),focusWithinClassName:"gpfocuswithin",className:(0,h.Z)(s.className,"Focusable")}),y):r.createElement(e,Object.assign(Object.assign({},s),{ref:w,className:(0,h.Z)(s.className,"Focusable")}),y))}function D(e){const t=w(e);return r.forwardRef((function(n,i){return E(e,t,n,i)}))}function L(e){const t=w(e);return r.forwardRef((function(n,r){const s=function(e){const{onEnterKeyPress:t,strEnterKeyLabel:n,onKeyboardNavOut:r,onKeyboardShow:s,onKeyboardFullyVisible:o,onTextEntered:a,BIsElementValidForInput:l}=e;return{virtualKeyboardProps:{onEnterKeyPress:t,strEnterKeyLabel:n,onKeyboardNavOut:r,onKeyboardShow:s,onKeyboardFullyVisible:o,onTextEntered:a,BIsElementValidForInput:l},props:(0,i._T)(e,["onEnterKeyPress","strEnterKeyLabel","onKeyboardNavOut","onKeyboardShow","onKeyboardFullyVisible","onTextEntered","BIsElementValidForInput"])}}(n),{virtualKeyboardProps:o}=s,a=s.props,{refKeyboardHandle:l}=a,u=(0,i._T)(a,["refKeyboardHandle"]),d=(0,c.k$)(o,l),m=(0,p.BE)(r,d);return E(e,t,u,m)}))}},4030:(e,t,n)=>{"use strict";n.d(t,{O:()=>h});var i=n(47427),r=n(13129),s=n(68785),o=(n(40659),n(28781)),a=n(51194),l=n.n(a),c=n(20417),u=n(37563),d=n(82493);const m=new s.sO("FocusNavigation").Debug;function h(e){const{className:t,rootClassName:n,render:s,children:a,NavigationManager:m}=e,h=(0,u.id)(),g=i.useRef(null),[_,f]=i.useState({bFocusWithin:!1,navTarget:null,prevTarget:null}),v=(0,c.e1)(null==m?void 0:m.GetShowDebugFocusRing()),C=i.useRef(null),S=(0,d.K)(),b=i.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:y}=_;return h?i.createElement(i.Fragment,null,i.createElement("div",{className:(0,r.Z)(l().FocusRingRoot,n),ref:g},i.createElement(p,{ref:C,className:(0,r.Z)(t,v&&l().DebugFocusRing),render:s,bFocusWithin:w&&(S||v),navTarget:y,refContainer:g,bDebug:v})),i.createElement(o.Iy.Provider,{value:b},a)):i.createElement(i.Fragment,null,a)}const p=i.forwardRef((function(e,t){const{className:n,render:s,bFocusWithin:o,navTarget:a,refContainer:c,bDebug:u}=e,[d,h]=i.useState(a),[p,_]=i.useState(null),[f,v]=i.useState(!1),[C,S]=i.useState(!1),b=i.useRef(performance.now()),w=(0,i.useCallback)((()=>{if(!a||!a.BWantsFocusRing())return null!=p&&(_(null),!0);let e=a.GetBoundingRect();const t=c.current.getBoundingClientRect();if(u){let t=a.Element;const n=t.ownerDocument.defaultView,i=t=>"none"==n.getComputedStyle(t).display||0==(null==e?void 0:e.width)&&0==e.height&&0==e.x&&0==e.y;for(;i(t)&&(null==t?void 0:t.parentElement);)t=t.parentElement,e=t.getBoundingClientRect();let r=a.Element!=t;r!=C&&(S(r),r&&m("Focused on hidden item: ",a.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)&&(_(n),!0)}),[a,c,_,p,C,S,u]);i.useImperativeHandle(t,(()=>({MeasureElementAndUpdate:w})),[w]);let y=o,E=p||{};a&&c.current&&(a.BWantsFocusRing()||(y=!1)),a!=d&&(h(a),b.current=performance.now(),w(),f&&v(!1)),i.useEffect((()=>{if(!y||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 D=s||g;return i.createElement(D,Object.assign({},E,{visible:y&&null!==p,key:b.current,className:(0,r.Z)(n,C&&l().FocusRingOnHiddenItem),animationEnabled:!f,target:a}))}));function g(e){const{className:t,visible:n,left:s,top:o,height:a,width:c,target:u,animationEnabled:d}=e;if(!n)return null;const m={left:(null!=s?s:0)-0+"px",top:(null!=o?o:0)-0+"px",height:a+"px",width:c+"px"};return i.createElement("div",{className:(0,r.Z)(l().FocusRing,d&&l().Animated,t),style:m})}},59885:(e,t,n)=>{"use strict";n.d(t,{Jd:()=>u,pD:()=>l});var i=n(85556),r=n(47427),s=n(77262),o=n(68785);n(28781);const a=new o.sO("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]),r.useLayoutEffect((()=>{let n=t.current;const i=[];return n&&(e.onButtonDown&&i.push((0,s.VC)(n,e.onButtonDown)),e.onButtonUp&&i.push((0,s.If)(n,e.onButtonUp)),e.onOKButton&&i.push((0,s.x)(n,e.onOKButton)),e.onCancelButton&&i.push((0,s.R3)(n,e.onCancelButton)),e.onSecondaryButton&&i.push((0,s.n2)(n,e.onSecondaryButton)),e.onOptionsButton&&i.push((0,s.DX)(n,e.onOptionsButton)),e.onMenuButton&&i.push((0,s.WF)(n,e.onMenuButton)),e.onGamepadDirection&&i.push((0,s.$G)(n,e.onGamepadDirection)),e.onGamepadFocus&&i.push((0,s.mk)(n,e.onGamepadFocus)),e.onGamepadBlur&&i.push((0,s.BG)(n,e.onGamepadBlur))),()=>i.forEach((e=>e()))}),n)}function c(e){return e.stopPropagation(),!1}function u(e,t,n){const{onButtonDown:s}=e,o=(0,i._T)(e,["onButtonDown"]),u=r.useCallback((e=>{s&&s(e),a("Gamepad Event fired:",e.detail.button,", handled:",null!=s,", propagation stopped:",e.cancelBubble),e.cancelBubble||n.HandleButtonDownEventAsLogicalEvent(e)}),[s,n]);l(o,t);l({onButtonDown:u,onButtonUp:c,onOKButton:c,onCancelButton:c,onSecondaryButton:c,onOptionsButton:c,onMenuButton:c,onGamepadDirection:c,onGamepadFocus:c,onGamepadBlur:c},t,[u])}},91618:(e,t,n)=>{"use strict";n.d(t,{s:()=>_});var i=n(85556),r=n(47427),s=n(28781),o=n(25849),a=n(87476),l=n(13129),c=n(20417),u=n(6799),d=n(37563);const m=(0,r.createContext)(null);var h=n(3783),p=n(82493),g=n(59885);const _=r.forwardRef((function(e,t){var n;const{"flow-children":a,onActivate:u,onCancel:m,focusClassName:_,focusWithinClassName:v}=e,C=(0,i._T)(e,["flow-children","onActivate","onCancel","focusClassName","focusWithinClassName"]),{elemProps:S,navOptions:b,gamepadEvents:w}=(0,s.QH)(C);let y={};const E=(0,o.t)(a);E!=h.gj.NONE&&(y.layout=E),u&&(S.onClick=S.onClick||u,w.onOKButton=w.onOKButton||u),w.onOKButton&&void 0===b.focusable&&void 0===b.focusableIfNoChildren&&(b.focusable=!0),m&&(w.onCancelButton=w.onCancelButton||m);const{ref:D,node:L}=(0,s.Pd)(Object.assign(Object.assign({},y),b)),M=(0,p.K)();S.className=(0,l.Z)(S.className,"Panel",M&&"Focusable"),(0,g.pD)(w,D);const R=(0,c.BE)(D,t),I=null===(n=(0,d.qt)({bSuppressAssert:!0}))||void 0===n?void 0:n.IN_VR;!b.focusable&&!b.focusableIfNoChildren||L&&L.Tree.BUseVirtualFocus()||(S.tabIndex=S.tabIndex||0);const T=I?f:s.zQ;return r.createElement(s.ET.Provider,{value:L},L?r.createElement(T,Object.assign({},S,{divRef:R,node:L,focusClassName:(0,l.Z)(_,"gpfocus"),focusWithinClassName:(0,l.Z)(v,"gpfocuswithin")})):r.createElement("div",Object.assign({},S,{ref:R})))}));function f(e){const{node:t,divRef:n}=e,o=(0,i._T)(e,["node","divRef"]),l=(0,r.useContext)(m),d=(0,a.Ze)(2,(()=>"self"==(null==t?void 0:t.GetFocusable())||null!=o.onClick)),h=(0,a.Ze)(1,(()=>null==l?void 0:l.HasContextMenu(t))),p=(0,u.M)(o);(0,u.B)(o),l&&(o.onContextMenu=n=>{var i;l.OnContextMenu(t,n)||null===(i=e.onContextMenu)||void 0===i||i.call(e,n)});const g=(0,c.BE)(d,h,p,n);return r.createElement(s.zQ,Object.assign({},o,{divRef:g,node:t}))}},84686:(e,t,n)=>{"use strict";n.d(t,{eh:()=>l});var i=n(85556),r=n(47427),s=n(20417),o=n(91618),a=n(47144);const l=r.forwardRef((function(e,t){const{onExplicitFocusLevelChanged:n,onOKButton:a,onCancelButton:l,navRef:u,focusable:d}=e,m=(0,i._T)(e,["onExplicitFocusLevelChanged","onOKButton","onCancelButton","navRef","focusable"]),h=r.useRef(null),{fnOnOKButton:p,fnOnCancelButton:g}=c({navRefPanel:h,onOKButton:a,onCancelButton:l,onExplicitFocusLevelChanged:n}),_=(0,s.BE)(u,h);return r.createElement(o.s,Object.assign({},m,{onOKButton:p,onCancelButton:g,navRef:_,ref:t,focusable:!1!==d}))}));r.forwardRef((function(e,t){const{onOKButton:n,onCancelButton:o,navRef:l,focusable:u}=e,d=(0,i._T)(e,["onOKButton","onCancelButton","navRef","focusable"]),m=r.useRef(null),h=r.useRef(null),p=r.useCallback(((e,t)=>e.FocusVisibleChild()),[]),{fnOnOKButton:g,fnOnCancelButton:_}=c({navRefPanel:m,onOKButton:n,onCancelButton:o,fnFocusChildren:p}),f=(0,s.BE)(h,t),v=(0,s.BE)(l,m);return r.createElement(a.TN,Object.assign({},d,{onOKButton:e=>null==g?void 0:g(e),onCancelButton:_,navRef:v,ref:f,focusable:!1!==u}))}));function c(e){let{navRefPanel:t,onOKButton:n,onCancelButton:i,onExplicitFocusLevelChanged:s,fnFocusChildren:o}=e;o=null!=o?o:u;return{fnOnOKButton:r.useCallback((e=>{const i=t.current;return(null==i?void 0:i.BHasFocus())&&o(i,e.detail.button)?(s&&s(!0),!0):!!n&&n(e)}),[t,n,s,o]),fnOnCancelButton:r.useCallback((e=>{const n=t.current;return(null==n?void 0:n.BFocusWithin())&&!n.BHasFocus()&&n.TakeFocus(e.detail.button)?(s&&s(!1),!0):!!i&&i(e)}),[t,i,s])}}function u(e,t){return e.ChildTakeFocus(t)}},47144:(e,t,n)=>{"use strict";n.d(t,{P8:()=>g,TN:()=>_});var i=n(85556),r=n(47427),s=n(13974),o=n(62210),a=n(13129),l=n(20417),c=n(56617),u=n(3783),d=n(4030),m=n(91618),h=n(87123),p=n.n(h);const g=r.forwardRef((function(e,t){var n;const{scrollDirection:o,scrollPaddingTop:c,scrollPaddingRight:u,scrollPaddingBottom:h,scrollPaddingLeft:g,className:_,children:f,style:v}=e,C=(0,i._T)(e,["scrollDirection","scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft","className","children","style"]);let S;switch(o){case"x":S=p().ScrollX;break;case"both":S=p().ScrollBoth;break;default:S=p().ScrollY}let b=Object.assign({},v);(c||0===c)&&(b.scrollPaddingTop=c),(u||0===u)&&(b.scrollPaddingRight=u),(h||0===h)&&(b.scrollPaddingBottom=h),(g||0===g)&&(b.scrollPaddingLeft=g);const{ref:w,navRef:y}=(0,s.$1)(),E=(0,l.BE)(y,C.navRef),D=(0,l.BE)(w,t),L=null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.Node().Tree.Controller;return r.createElement(m.s,Object.assign({},C,{style:b,className:(0,a.Z)(_,p().ScrollPanel,S),ref:D,navRef:E}),r.createElement(d.O,{NavigationManager:L},f))})),_=r.forwardRef((function(e,t){const{scrollStepPercent:n,scrollBehavior:o}=e,a=(0,i._T)(e,["scrollStepPercent","scrollBehavior"]),c=r.useRef(null),d=r.useCallback((e=>e.currentTarget!=e.target),[]),m=(0,s.pj)(c,o,n,d),h=(0,l.BE)(c,t);return r.createElement(g,Object.assign({},a,{onGamepadDirection:m,ref:h,scrollIntoViewType:u.mz.NoTransformSparseContent}))}));r.forwardRef((function(e,t){const{name:n,msScrollRestoreDelay:s,onScroll:o}=e,a=(0,i._T)(e,["name","msScrollRestoreDelay","onScroll"]);return r.createElement(f,{name:n,msScrollRestoreDelay:s,parentOnScroll:o,refDiv:t},((e,t)=>r.createElement(g,Object.assign({},a,{onScroll:e,ref:t}))))})),r.forwardRef((function(e,t){const{name:n,msScrollRestoreDelay:s,onScroll:o}=e,a=(0,i._T)(e,["name","msScrollRestoreDelay","onScroll"]);return r.createElement(f,{name:n,msScrollRestoreDelay:s,parentOnScroll:o,refDiv:t},((e,t)=>r.createElement(_,Object.assign({},a,{onScroll:e,ref:t}))))}));function f(e){const{name:t,msScrollRestoreDelay:n,parentOnScroll:i,refDiv:s,children:a}=e,[u,d]=(0,c.lJ)(`${t}ScrollTop`,250,0),[m,h]=(0,c.lJ)(`${t}ScrollLeft`,250,0),p=r.useRef(0),g=r.useRef(0),_=r.useRef();let f=r.useCallback((e=>{const{scrollTop:t,scrollLeft:n}=e.currentTarget;d(t),p.current=t,h(n),g.current=n,i&&i(e)}),[d,h,i]);r.useLayoutEffect((()=>{const e=function(){_.current&&((0,o.X)(_.current.scrollHeight>=u,`Element is ${_.current.scrollHeight} high but trying to restore scrollTop of ${u}, element may need more time to lay out.`,_.current),p.current=u,g.current=m,_.current.scrollTo({top:u,left:m,behavior:"auto"}),_.current.dispatchEvent(new UIEvent("scroll")))};u==p.current&&m==g.current||(n?window.setTimeout(e,n):e())}),[u,m,n]);const v=(0,l.BE)(_,s);return r.useMemo((()=>a(f,v)),[f,v,a])}},77262:(e,t,n)=>{"use strict";n.d(t,{$G:()=>p,BG:()=>_,Cj:()=>S,DX:()=>m,If:()=>l,Jb:()=>f,R3:()=>u,Ut:()=>v,VC:()=>a,WF:()=>h,mk:()=>g,n2:()=>d,uS:()=>i,x:()=>c});var i,r=n(15633);!function(e){e[e.GAMEPAD=0]="GAMEPAD",e[e.KEYBOARD=1]="KEYBOARD",e[e.APPLICATION=2]="APPLICATION",e[e.BROWSER=3]="BROWSER"}(i||(i={}));let s={[r.eV.OK]:"vgp_onok",[r.eV.CANCEL]:"vgp_oncancel",[r.eV.SECONDARY]:"vgp_onsecondaryaction",[r.eV.OPTIONS]:"vgp_onoptions",[r.eV.START]:"vgp_onmenu"};function o(e,t,n){return e.addEventListener(t,n),()=>function(e,t,n){e.removeEventListener(t,n)}(e,t,n)}function a(e,t){return o(e,"vgp_onbuttondown",t)}function l(e,t){return o(e,"vgp_onbuttonup",t)}function c(e,t){return o(e,"vgp_onok",C(t))}function u(e,t){return o(e,"vgp_oncancel",C(t))}function d(e,t){return o(e,"vgp_onsecondaryaction",C(t))}function m(e,t){return o(e,"vgp_onoptions",C(t))}function h(e,t){return o(e,"vgp_onmenu",C(t))}function p(e,t){return o(e,"vgp_ondirection",C(t))}function g(e,t){return o(e,"vgp_onfocus",t)}function _(e,t){return o(e,"vgp_onblur",t)}function f(e,t,n){let i=e;if(!i||!i.ownerDocument||!i.ownerDocument.defaultView)return!0;let r=new i.ownerDocument.defaultView.CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});return i.dispatchEvent(r)}function v(e){const t=[r.eV.DIR_UP,r.eV.DIR_DOWN,r.eV.DIR_LEFT,r.eV.DIR_RIGHT];let n=!0,i=!1,o=s[e.detail.button];return o?(i=!0,n=f(e.target,o,e.detail)):-1!==t.indexOf(e.detail.button)&&(i=!0,n=f(e.target,"vgp_ondirection",e.detail)),{bUnhandled:n,bHadLogicalEventMapping:i}}function C(e){return t=>{!1!==e(t)&&(t.stopPropagation(),t.preventDefault())}}function S(e){const{onOKActionDescription:t,onCancelActionDescription:n,onSecondaryActionDescription:i,onOptionsActionDescription:s,onMenuActionDescription:o,actionDescriptionMap:a}=e,l=Object.assign({},a);return void 0!==t&&(l[r.eV.OK]=t),void 0!==n&&(l[r.eV.CANCEL]=n),void 0!==i&&(l[r.eV.SECONDARY]=i),void 0!==s&&(l[r.eV.OPTIONS]=s),void 0!==o&&(l[r.eV.START]=o),l}},15633:(e,t,n)=>{"use strict";n.d(t,{eV:()=>r,Rr:()=>s,oH:()=>c});var i,r,s,o=n(45492);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)}}}!function(e){e[e.None=0]="None",e[e.Horizontal=1]="Horizontal",e[e.Vertical=2]="Vertical"}(i||(i={}));class l{constructor(e){this.m_repeatOnAxis=i.None,this.m_bRepeatEnabled=!0,this.m_config=e,this.m_inputRepeatGenerator=new a(e)}Reset(){this.m_inputRepeatGenerator.Reset()}SetEnabled(e){this.m_bRepeatEnabled=e,this.m_bRepeatEnabled||this.Reset()}HandleInputButtonDown(e,t,n){this.m_bRepeatEnabled&&this.m_config.inputsThatRepeat.has(e)?this.m_repeatOnAxis==i.None&&(e!=r.DIR_UP&&e!=r.DIR_DOWN||(this.m_repeatOnAxis=i.Vertical),e!=r.DIR_LEFT&&e!=r.DIR_RIGHT||(this.m_repeatOnAxis=i.Horizontal),t(),this.m_inputRepeatGenerator.HandleInputButtonDown(e,n)):(t(),this.m_inputRepeatGenerator.Reset())}HandleInputButtonUp(e){if(this.m_config.inputsThatRepeat.has(e)&&this.m_repeatOnAxis!=i.None){const t=e==r.DIR_UP||e==r.DIR_DOWN,n=e==r.DIR_LEFT||e==r.DIR_RIGHT;(this.m_repeatOnAxis==i.Vertical&&t||this.m_repeatOnAxis==i.Horizontal&&n)&&(this.m_repeatOnAxis=i.None,this.m_inputRepeatGenerator.Reset())}else 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"}(s||(s={}));class c{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 l({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}SetRepeatAllowed(e){this.m_ButtonRepeatHandler.SetEnabled(e)}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.m_ButtonRepeatHandler.HandleInputButtonDown(e,(()=>this.DispatchButtonDown(e,!1)),(()=>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,i){void 0===i&&(i=-1),this.SetControllerActive(i),this.m_AnalogCallbacks.Dispatch(e,this.m_nLastActiveControllerIndex,t,n)}OnNavigationTypeChanged(e){this.m_NavigationTypeChangeCallbacks.Dispatch(e)}}},22671:(e,t,n)=>{"use strict";n.d(t,{$y:()=>a,Sp:()=>o,VA:()=>l,Y0:()=>c});var i=n(62210),r=n(77262);class s{constructor(e){this.m_root=e}static SerializeNavState(e,t=!0,n=!0){return{root:s.SerializeNavNode(e,t,n),bHadFocus:e.BFocusWithin()}}static SerializeNavNode(e,t=!0,n=!0){let i=null;const[r,o]=e.GetChildren();return r.length&&-1!=o&&t&&(i=r.map(((e,t)=>s.SerializeNavNode(e,t==o||n,n)))),{sNavKey:e.NavKey,iActiveChild:o,rgChildren:i}}static RestoreSerializedNavState(e,t,n=0){const{root:i,bHadFocus:o}=t;e.Tree.Controller.RestoreHistoryTransaction((()=>{s.RestoreSerializedNavNode(e,i),(1==n||0==n&&o)&&e.BTakeFocus(r.uS.APPLICATION)}))}static RestoreSerializedNavNode(e,t){var n;const{sNavKey:r,iActiveChild:o,rgChildren:a}=t;if(r&&(0,i.X)(r==e.NavKey,"navkey mismatch"),e.SetActiveChild(o),a&&a.length){const[t]=e.GetChildren();let i=new Map;t.forEach((e=>{e.NavKey&&i.set(e.NavKey,e)}));for(const e of a){if(!e.sNavKey)continue;const t=i.get(e.sNavKey);t&&s.RestoreSerializedNavNode(t,e)}if(-1!=o&&(null===(n=a[o])||void 0===n?void 0:n.sNavKey)){const n=i.get(a[o].sNavKey);n&&e.SetActiveChild(t.indexOf(n))}let r=0,l=0;for(;r=t.length||l>=a.length)break;s.RestoreSerializedNavNode(t[r],a[l]),r++,l++}}}}function o(e){return s.SerializeNavState(e,!0,!1)}function a(e,t,n=0){return s.RestoreSerializedNavState(e,t,n)}class l extends s{constructor(){super(...arguments),this.m_rgHistory=[]}PushState(){this.m_rgHistory.push(s.SerializeNavState(this.m_root))}PopState(e=0){this.m_rgHistory.length&&s.RestoreSerializedNavState(this.m_root,this.m_rgHistory.pop(),e)}}class c extends s{constructor(){super(...arguments),this.m_mapHistory=new Map}SaveState(e){this.m_mapHistory.set(e,s.SerializeNavState(this.m_root))}RestoreState(e,t=0){const n=this.m_mapHistory.get(e);return!!n&&(console.log(`Restoring history for state ${e}`),s.RestoreSerializedNavState(this.m_root,n,t),!0)}}},20922:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var i=n(85556),r=n(15633),s=n(43235),o=n(83999),a=n(62210),l=n(16997),c=n(45492),u=n(50423),d=n(68785),m=n(77262),h=n(78078);const p=new d.sO("FocusNavigation").Debug;class g{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(){var e;for(let t=this.m_rgGamepadNavigationTrees.length-1;t>=0;t--){const n=this.m_rgGamepadNavigationTrees[t];if(null===(e=n.Window)||void 0===e?void 0:e.document.hasFocus())return n}}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 i;const r=this.m_bActive!=e;this.m_bActive=e,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)),r&&(this.m_bActive=e,this.m_ActiveCallbacks.Dispatch(e),null===(i=this.m_LastActiveFocusNavTree)||void 0===i||i.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){var t;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 (${null===(t=this.m_activeWindow)||void 0===t?void 0:t.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&&o.Zf(this.m_rgGamepadNavigationTrees,n),e||this.m_rgGamepadNavigationTrees.length&&(e=this.m_rgGamepadNavigationTrees[this.m_rgGamepadNavigationTrees.length-1]);const i=this.m_LastActiveFocusNavTree==e;e&&o.Zf(this.m_rgGamepadNavigationTrees,e),this.m_LastActiveNavTree=e,e&&e.BUseVirtualFocus()||(this.m_LastActiveFocusNavTree=e),p(`${this.LogName(null==e?void 0: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),i||!t||e.DeferredFocus.BHasQueuedFocusNode()||e.DeferredFocus.RequestFocus(e.Root)),n&&n!=this.m_LastActiveFocusNavTree&&n.OnDeactivate(e),e&&!i&&e.OnActivate(n)}BlurNavTree(e){this.m_LastActiveNavTree==e&&this.SetActiveNavTree(null,!0),o.Zf(this.m_rgGamepadNavigationTrees,e),this.m_rgGamepadNavigationTrees.unshift(e)}UnregisterGamepadNavigationTree(e){o.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,i){return 0==this.m_iFocusChangeStack?this.m_ActiveFocusChange={source:e,from:n,to:i}:this.m_ActiveFocusChange&&!this.m_ActiveFocusChange.from&&n&&(this.m_ActiveFocusChange.from=n),this.m_iFocusChangeStack++}OnFocusChangeComplete(e){var t;if(this.m_iFocusChangeStack--,(0,a.X)(e==this.m_iFocusChangeStack,"out of order focus pop"),0==this.m_iFocusChangeStack){const{source:e,from:n,to:i}=null!==(t=this.m_ActiveFocusChange)&&void 0!==t?t:{};this.m_FocusChangedCallbacks.Dispatch(e,n,i)}}}const _=new d.sO("FocusNavigation").Debug,f=new d.sO("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 S{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:r.Rr.UNKNOWN,nActiveGamepadIndex:-1,nLastActiveGamepadIndex:-1},C),this.m_navigationSourceSupportsFocus=(0,c.km)(this.m_navigationSource,(e=>(null==e?void 0:e.eActivationSourceType)===r.Rr.GAMEPAD||(null==e?void 0:e.eActivationSourceType)===r.Rr.KEYBOARD||(null==e?void 0:e.eActivationSourceType)===r.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 g(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;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){_(`${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,a.X)(!1,`Failed to find an active context, will fall back to ${this.m_LastActiveContext.LogName()}`),this.m_ActiveContext=this.m_LastActiveContext,this.m_ActiveContext.OnActivate(null===(e=this.m_LastActiveContext.m_LastActiveFocusNavTree)||void 0===e?void 0:e.Window)),this.m_ActiveContext}SetShowDebugFocusRing(e){this.m_bShowDebugFocusRing.Set(e),function(e){e?sessionStorage.setItem(v,"shown"):sessionStorage.removeItem(v)}(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,r.Rr.UNKNOWN,-1)}DispatchVirtualButtonClick(e,t){var n;let i;t&&(i=null!==(n=this.GetActiveContext())&&void 0!==n?n:this.FindAnActiveContext()),this.OnButtonDown(e,r.Rr.GAMEPAD,-1,void 0,t,i,!0),this.OnButtonUp(e,r.Rr.GAMEPAD,-1,void 0,t,i,!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===r.eV.STEAM_GUIDE||e===r.eV.STEAM_QUICK_MENU||e===r.eV.CANCEL}GetEventTarget(e,t,n=!1){var i,s,o,a,l;let c=this.GetActiveContext();!c&&n&&(c=this.FindAnActiveContext());let u=null===(i=null==c?void 0:c.ActiveWindow)||void 0===i?void 0:i.document.activeElement;if(null==c?void 0:c.m_LastActiveNavTree){if(t||(t=null===(o=null===(s=this.m_navigationSource)||void 0===s?void 0:s.Value)||void 0===o?void 0:o.eActivationSourceType),!(c.m_LastActiveNavTree.GetLastFocusedNode()||t!=r.Rr.GAMEPAD&&t!=r.Rr.KEYBOARD||(_(`GetEventTarget: Context ${c.LogName()} tree ${c.m_LastActiveNavTree.id} has no focused node, ${n?"finding one":"will not find one"}`),n&&c.m_LastActiveNavTree.TakeFocus(m.uS.GAMEPAD,!0),this.BGlobalGamepadButton(e))))return[void 0,c];c.m_LastActiveNavTree.GetLastFocusedNode()?u=null===(l=null===(a=c.m_LastActiveNavTree)||void 0===a?void 0:a.GetLastFocusedNode())||void 0===l?void 0:l.Element:_(`GetEventTarget: Context ${c.LogName()} tree ${c.m_LastActiveNavTree.id} still has no focused node - will fall back to document.activeElement`)}return[u,c]}ChangeNavigationSource(e,t){let n=this.m_navigationSource.Value,i=n.nLastActiveGamepadIndex;n.nActiveGamepadIndex&&n.nActiveGamepadIndex>=0&&(i=n.nActiveGamepadIndex),this.m_navigationSource.Set({eActivationSourceType:e,nActiveGamepadIndex:t,nLastActiveGamepadIndex:i}),e!=r.Rr.MOUSE&&(0,s.U5)("Browser.HideCursorUntilMouseEvent")&&SteamClient.Browser.HideCursorUntilMouseEvent()}OnButtonActionInternal(e,t,n,i,s,o,a,l){var c,u;if(this.m_fnCatchAllGamepadInput&&this.m_fnCatchAllGamepadInput(t))return void(e&&_("Ignoring button press - gamepad input is suppressed by parent window"));f(!!o==!!a,"Must set both overrideContext and overrideElement or neither");let d=o,h=a;null!=d&&null!=h||([d,h]=this.GetEventTarget(t,n,!0)),!(null==h?void 0:h.BIsGamepadInputSuppressed())||l?(this.ChangeNavigationSource(n,i),e&&_(`Firing ${r.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:s})))):_(`Suppressing ${r.eV[t]} input on element ${null==d?void 0: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,i,r,s,o){this.OnButtonActionInternal(!0,e,t,n,i,r,s,o)}OnButtonUp(e,t,n,i,r,s,o){this.OnButtonActionInternal(!1,e,t,n,!1,r,s,o)}BatchedUpdate(e){this.m_fnGamepadEventUpdateBatcher(e)}OnNavigationTypeChange(e){var t,n;if(this.ChangeNavigationSource(e,-1),document.hasFocus()&&(e==r.Rr.MOUSE||e==r.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:void 0;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 i=e.WindowContext;return e.SetIsMounted(t),n||(this.m_ActiveContext=i,this.m_LastActiveContext=i),i.AddNavTree(e,n),this.m_bGlobalEventsInitialized||this.BindGlobalEventHandlers(),()=>i.UnregisterGamepadNavigationTree(e)}OnGamepadNavigationTreeActivated(e,t=!1){e.WindowContext.SetActiveNavTree(e,t)}OnGamepadNavigationTreeFocused(e,t,n=!1){var i,r;const s=e.WindowContext;s!=this.m_ActiveContext&&_(`(${s.LogName(e.Window)}) Focus event in inactive window`),e!=s.m_LastActiveFocusNavTree&&e!=s.m_LastActiveNavTree&&((null===(i=s.m_LastActiveFocusNavTree)||void 0===i?void 0:i.GetParentEmbeddedNavTree())==e||e.GetParentEmbeddedNavTree()==s.m_LastActiveFocusNavTree?(_(`There was a focus event in ${e.id}, allowing focus transfer to activate nav tree due to parent embedded relationship`),e.Activate()):_(`There was a focus event in ${e.id}, but the active nav tree is ${null===(r=s.m_LastActiveFocusNavTree)||void 0===r?void 0:r.id} so it is being ignored. Source: ${t&&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(){var e,t;window.focus();let n=(null===(e=this.m_ActiveContext)||void 0===e?void 0:e.m_LastActiveFocusNavTree)||(null===(t=this.m_ActiveContext)||void 0===t?void 0:t.m_LastActiveNavTree);n&&n.TakeFocus(m.uS.APPLICATION)}OnContextActivated(e){this.m_ActiveContext=e,this.m_LastActiveContext=e,this.UpdateRepeatAllowed()}OnContextDeactivated(e,t){t&&(this.m_LastActiveContext==e&&(this.m_LastActiveContext=void 0),o.Zf(this.m_rgAllContexts,e)),this.m_ActiveContext==e&&(this.m_ActiveContext=void 0),this.UpdateRepeatAllowed()}BIsRestoringHistory(){return this.m_bRestoringHistory}RestoreHistoryTransaction(e){return(0,i.mG)(this,void 0,void 0,(function*(){this.m_bRestoringHistory=!0;try{yield e()}finally{this.m_bRestoringHistory=!1}}))}UpdateRepeatAllowed(){var e,t;const n=null!==(t=null===(e=this.m_ActiveContext)||void 0===e?void 0:e.BIsActive())&&void 0!==t&&t;for(const e of this.m_rgGamepadInputSources)e.SetRepeatAllowed(n)}}(0,i.gn)([l.a],S.prototype,"OnButtonDown",null),(0,i.gn)([l.a],S.prototype,"OnButtonUp",null),(0,i.gn)([l.a],S.prototype,"OnNavigationTypeChange",null),(0,i.gn)([l.a],S.prototype,"UpdateRepeatAllowed",null)},40659:(e,t,n)=>{"use strict";n.d(t,{Ii:()=>g,TB:()=>m,U7:()=>p,ZR:()=>h,ZT:()=>l.Z,lx:()=>u,sA:()=>_,sq:()=>d,uW:()=>c});var i=n(15633),r=n(62210),s=n(77262),o=n(22671),a=n(3783),l=n(20922);n(78078);class c{constructor(e){this.m_node=e}TakeFocus(e){return this.m_node.BTakeFocus(e?s.uS.GAMEPAD:s.uS.APPLICATION,e)}ParentTakeFocus(e){var t;null===(t=this.m_node.Parent)||void 0===t||t.BTakeFocus(e?s.uS.GAMEPAD:s.uS.APPLICATION,e)}ChildTakeFocus(e){return this.m_node.BChildTakeFocus(e?s.uS.GAMEPAD:s.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 o.VA(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 o.Y0(this.m_node)),this.m_StateHistory.SaveState(e)}RestoreState(e,t=0){return!!this.m_StateHistory&&this.m_StateHistory.RestoreState(e,t)}GetFocusSnapshot(){return(0,o.Sp)(this.m_node)}RestoreFocusSnapshot(e,t=0){return(0,o.$y)(this.m_node,e,t)}NavTree(){return this.m_node.Tree}Node(){return this.m_node}}function u(e,t,n,i=.001){return"x"==e?t.x+t.width>n.x+i&&t.x+in.y+i&&t.y+ir.max?i-r.max:0}function h(e){return{x:e.x,y:e.y}}const p={OnBlur:()=>{},OnFocus:()=>{},OnFocusChange:()=>{},OnForceMeasureFocusRing:()=>{}};function g(e){if(!e)return a.gj.NONE;const t=e.ownerDocument.defaultView,n=t.getComputedStyle(e);if("flex"==n.display)switch(n.flexDirection){case"row":return"wrap"==n.flexWrap?a.gj.GRID:a.gj.ROW;case"row-reverse":return a.gj.ROW_REVERSE;case"column":return a.gj.COLUMN;case"column-reverse":return a.gj.COLUMN_REVERSE}else{if("grid"==n.display)return a.gj.GRID;if(e.childElementCount>0){const n=t.getComputedStyle(e.firstElementChild);if("left"===n.float)return a.gj.ROW;if("right"===n.float)return a.gj.ROW_REVERSE;if("inline"===n.display||"inline-block"===n.display)return a.gj.GRID}}return a.gj.COLUMN}function _(e){switch(e){case i.eV.DIR_UP:case i.eV.DIR_DOWN:return"y";case i.eV.DIR_LEFT:case i.eV.DIR_RIGHT:return"x";default:return}}},3783:(e,t,n)=>{"use strict";n.d(t,{Vp:()=>G,zE:()=>F,gj:()=>x,c4:()=>N,mz:()=>P});var i=n(85556),r=n(15633),s=n(77816),o=n(62210),a=n(16997),l=n(45492),c=n(68785);var u=n(77262),d=n(40659),m=n(50423);function h(e,t,n){var i;const r=[],[s,o]=e.GetChildren(),a=e.GetActiveChild();let l;const c=a?null===(i=a.Element)||void 0===i?void 0:i.getBoundingClientRect():null;if(a){const e=_(a,t,n);if(e&&!e.offScreen&&(l=p(a,e,e.overlap,n),l&&!l.visibility.offScreen))return l;e&&r.push({child:a,visibility:e})}const u=n||c;for(let e=0;ed.visibility.distance)break}const r=n==a?l:p(n,i,i.overlap||t,null!=u?u:void 0);r&&(!d||g(r,d)<0)&&(d=r)}return d}function p(e,t,n,i){switch(e.GetFocusable()){case"none":return;case"children":return h(e,t.overlap||n,i);case"self":return{child:e,visibility:t}}}function g(e,t){const n=e.visibility,i=t.visibility;return n.offScreen?i.offScreen?n.distance-i.distance:1:i.offScreen?-1:n.distance-i.distance}function _(e,t,n){var i;const r=null===(i=e.Element)||void 0===i?void 0:i.getBoundingClientRect(),s=e.GetFocusable();let o;if("none"==s||!r||!t)return null;if("self"==s){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:rl&&o>c?r-a-u:rc||s>l&&o<=c?s-l+d:0}function D(e){return"auto"==e?0:e.endsWith("px")?parseInt(e):(console.log("Unsupported length",e),0)}function L(e){if(!("ownerDocument"in e))return{left:0,right:0,top:0,bottom:0};const t=e.ownerDocument.defaultView.getComputedStyle(e);return{left:D(t.scrollMarginLeft),right:D(t.scrollMarginRight),top:D(t.scrollMarginTop),bottom:D(t.scrollMarginBottom)}}function M(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:D(t.scrollPaddingLeft),right:D(t.scrollPaddingRight),top:D(t.scrollPaddingTop),bottom:D(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 R(e){return e>-1&&e<1}function I(e,t,n,i,r){C("----------------------------------------------------------------------------------"),C("Scrolling Into View:",t);let s=[],o=t,a=w(t),l=null!=r?r:Number.MAX_VALUE;for(;o;){let e=(0,m.Et)(o);e||(e=(0,m.kR)(o));let t=L(o),n=M(e,w(e)),c=k(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 => ",a),i&&"y"!=i||!(0,m.U0)(e,"y")||(u.top=E(a,n,t,"y"),u.top=f.Lh(u.top,-c.scrollTop,c.MaxScrollTop()-c.scrollTop),r&&(u.top=Math.min(l,Math.abs(u.top))*(u.top<0?-1:1),l-=Math.abs(u.top)),C(`- checked y: ${u.top}`)),i&&"x"!=i||!(0,m.U0)(e,"x")||(u.left=E(a,n,t,"x"),u.left=f.Lh(u.left,-c.scrollLeft,c.MaxScrollLeft()-c.scrollLeft),r&&(u.left=Math.min(l,Math.abs(u.left))*(u.left<0?-1:1),l-=Math.abs(u.left)),C(`- checked x: ${u.left}`)),s.push(u),r&&!l)break;if(!("ownerDocument"in e))break;const d=window.getComputedStyle(e);if("fixed"===d.position||"sticky"===d.position)break;o=e,a={top:a.top-u.top,right:a.right-u.left,bottom:a.bottom-u.top,left:a.left-u.left}}let c=!1;for(let e of s){if(R(e.left)&&R(e.top))continue;let t=k(e.element),i=t.scrollTop+e.top,r=t.scrollLeft+e.left;r=f.Lh(r,0,t.MaxScrollLeft()),i=f.Lh(i,0,t.MaxScrollTop()),R(t.scrollLeft-r)&&R(t.scrollTop-i)||(t.scrollTo({left:r,top:i,behavior:n}),c||(C("Scrolling:"),c=!0),C(`- ${e.top},${e.left} => ${i}, ${r}, behavior: ${n}`,e.element))}}class T{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,i;if("smooth"!=(null==e?void 0:e.behavior))this.m_animation&&(this.m_animation.Cancel(),this.m_animation=void 0),this.m_window?this.m_window.scrollTo(e):null===(t=this.m_fnOriginalScrollTo)||void 0===t||t.apply(this.m_element,[e]),this.ResetScrollState();else{const t=null!==(n=e.left)&&void 0!==n?n:this.scrollLeft,r=null!==(i=e.top)&&void 0!==i?i:this.scrollTop;let s="sine";this.m_animation&&(this.m_animation.Cancel(),s="linear");if(Math.max(Math.abs(this.currentScrollTop-r),Math.abs(this.currentScrollLeft-t))>0){const e={msDuration:200,timing:s,onComplete:this.ResetScrollState};if(this.m_window){const n=this.currentScrollLeft,i=this.currentScrollTop;this.m_animation=new v.sw(this.m_window,e,(e=>{var s;null===(s=this.m_window)||void 0===s||s.scrollTo({left:n+(t-n)*e,top:i+(r-i)*e,behavior:"auto"})}))}else this.m_element.style.scrollSnapType="initial",this.m_animation=new v.jg(this.m_element,{scrollTop:r,scrollLeft:t},e);this.m_scrollLeftTarget=t,this.m_scrollTopTarget=r,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,i.gn)([a.a],T.prototype,"ResetScrollState",null);const A=new WeakMap;function k(e){let t=A.get(e);return t||(t=new T(e),A.set(e,t)),t}function O(e){const t=A.get(e);return t?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}const B=new c.sO("FocusNavigationMovement").Debug;var x,N,P,F;!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"}(x||(x={})),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"}(P||(P={})),function(e){e[e.INVALID=0]="INVALID",e[e.FORWARD=1]="FORWARD",e[e.BACKWARD=2]="BACKWARD"}(F||(F={}));class G{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,i,r,s;const o=(a=null===(t=this.m_Properties)||void 0===t?void 0:t.actionDescriptionMap,l=null==e?void 0:e.actionDescriptionMap,!(null==a||null==l?a===l:"object"==typeof a&&"object"==typeof l&&Object.keys(a).length===Object.keys(l).length&&Object.keys(a).every((e=>l.hasOwnProperty(e)&&a[e]===l[e]))));var a,l;const c=null===(n=this.m_Properties)||void 0===n?void 0:n.retainFocus,d=null===(i=this.m_Properties)||void 0===i?void 0:i.noFocusRing;this.m_Properties=e||{},o&&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===(r=this.m_FocusRing)||void 0===r||r.OnBlur(u.uS.APPLICATION,this,this):!this.m_Properties.noFocusRing&&d&&this.BHasFocus()&&(null===(s=this.m_FocusRing)||void 0===s||s.OnFocus(u.uS.APPLICATION,this,this)),this.m_element&&this.RegisterDOMEvents()}BWantsAutoFocus(){var e;return(null===(e=this.m_Properties)||void 0===e?void 0:e.autoFocus)||this.m_bAutoFocusChild}BWantsPreferredFocus(){var e;return null===(e=this.m_Properties)||void 0===e?void 0:e.preferredFocus}BWantsFocusRing(){var e;return!(null===(e=this.m_Properties)||void 0===e?void 0:e.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 i=t;void 0===e[i]&&(e[i]=n[i])}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,o.X)(!this.m_ActiveChild&&this.BFocusWithin(),"Invalid focus state in AddChild"),this.SetActiveChild(this.m_rgChildren.length-1))}OnMount(e){var t,n;this.m_element=e,this.m_Parent?this.m_Parent.AddChild(this):(0,o.X)(this==this.m_Tree.Root,"Only root should have no parent"),this.m_bMounted=!0,this.RegisterDOMEvents();const i=this.m_RetainFocusParent&&this.m_RetainFocusParent.BHasFocus(),r=(null===(t=this.m_Properties)||void 0===t?void 0:t.autoFocus)||i;if(this.BWantsAutoFocus()||r){let e=-1;this.m_rgChildren.length&&(this.EnsureChildrenSorted(),e=this.m_rgChildren.findIndex((e=>e.BWantsAutoFocus()))),((null===(n=this.m_Properties)||void 0===n?void 0:n.autoFocus)||r||-1!==e)&&(this.SetActiveChild(e),!this.m_Parent||this.m_Parent.m_element?i?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,o.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)&&(B(`The focused node is unmounting, ${this.m_RetainFocusParent?"will transfer to retain focus ancestor":"will blur"}.`),t&&this.Tree.DeferredFocus.RequestFocus(null),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,o.X)(this==this.m_Tree.Root,"Only root should have no parent")}RegisterDOMEvents(){var e,t,n,i,r;!this.m_rgNavigationHandlers.length&&this.m_element&&(this.m_rgChildren.length>=2||(null===(e=this.m_Properties)||void 0===e?void 0:e.layout)!=x.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)),((null===(t=this.m_Properties)||void 0===t?void 0:t.focusable)||(null===(n=this.m_Properties)||void 0===n?void 0:n.focusableIfNoChildren)||0==this.m_rgChildren.length)&&(this.m_rgFocusHandlers.length||(null===(i=this.m_element)||void 0===i||i.addEventListener("focus",this.OnDOMFocus),null===(r=this.m_element)||void 0===r||r.addEventListener("blur",this.OnDOMBlur),this.m_rgFocusHandlers.push((()=>{var e,t;null===(e=this.m_element)||void 0===e||e.removeEventListener("focus",this.OnDOMFocus),null===(t=this.m_element)||void 0===t||t.removeEventListener("blur",this.OnDOMBlur)}))))}RemoveChild(e){let t=this.m_rgChildren.indexOf(e);(0,o.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,i=t.m_element;if(!n)return i?1:0;if(!i)return-1;const r=n.compareDocumentPosition(i);return r&Node.DOCUMENT_POSITION_PRECEDING?1:r&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){if(!this.m_bFocused){if("children"==this.GetFocusable()){const e=this.FindFocusableDescendant();if(e&&e!==this)return B("Browser gave node focus but we are marked focusableIfNoChildren, transfering focus to descendant.",this.m_element,e.m_element),void this.m_Tree.TransferFocus(u.uS.BROWSER,e)}this.m_Tree.TransferFocus(u.uS.BROWSER,this)}}OnDOMBlur(e){var t;this.m_bFocused&&(null===(t=this.m_element)||void 0===t?void 0:t.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:i}=this.m_Properties;return this.m_bMounted?i&&!i(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,F.FORWARD,r.eV.INVALID);return this.InternalFocusDescendant(t,e)}BFocusLastChild(e){const t=this.FindNextFocusableChildInDirection(this.m_rgChildren.length,F.BACKWARD,r.eV.INVALID);return this.InternalFocusDescendant(t,e)}FindFocusableDescendant(e,t){var n,i,r,o;const a=(0,d.sA)(e),{focusableIfNoChildren:l,childFocusDisabled:c}=null!==(n=this.m_Properties)&&void 0!==n?n:{};if(c)return null;if(this.m_rgChildren.length){this.EnsureChildrenSorted();const{navEntryPreferPosition:n,resetNavOnEntry:c}=null!==(i=this.m_Properties)&&void 0!==i?i:{};let u,d=this.GetActiveChildIndex();if(c&&void 0!==e&&(d=-1),!this.IsValidChildIndex(d)){const e=this.GetLayout();d=d>=this.m_rgChildren.length||e==x.ROW_REVERSE||e==x.COLUMN_REVERSE||n==N.LAST?this.m_rgChildren.length-1:0}if((n==N.MAINTAIN_X||n==N.MAINTAIN_Y||t)&&a){let i,l;n==N.MAINTAIN_X?i="x":n==N.MAINTAIN_Y&&(i="y"),i==s.TP[a]&&(l=null!==(r=this.m_Tree.GetLastFocusedMovementRect(s.TP[a]))&&void 0!==r?r:null===(o=this.m_Tree.GetLastFocusedNode())||void 0===o?void 0:o.GetBoundingRect()),B(`Taking focus while preserving ${n&&N[n]} preserved: ${i} movement: ${a}, node:`,l||t);const c=this.ComputeRelativeDirection(e,x.GRID);if(l||t){const n=c==F.BACKWARD?this.m_rgChildren.length-1:0;u=this.FindClosestChildInNextAxiallyAlignedSet(i||s.TP[a],c,e,l||t,n,this.m_rgChildren[n].GetBoundingRect())}else if(i!=s.TP[a]){const t=c==F.BACKWARD?this.m_rgChildren.length:-1;u=this.FindNextFocusableChildInDirection(t,c,e)}}else if(n==N.PREFERRED_CHILD){for(const t of this.m_rgChildren)if(u=t.BWantsPreferredFocus()?t.FindFocusableNode(e):void 0,u)return u}else n==N.LAST&&(u=this.FindNextFocusableChildInDirection(d+1,F.BACKWARD,e));return u||(u=this.FindNextFocusableChildInDirection(d-1,F.FORWARD,e)),u||(u=this.FindNextFocusableChildInDirection(d,F.BACKWARD,e)),u||(l?this:null)}return null}BVisibleChildTakeFocus(e){var t,n,i,r,s;const o=null!==(i=null===(n=null===(t=this.Element)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView)&&void 0!==i?i:window,a=h(this,{top:0,left:0,right:o.innerWidth,bottom:o.innerHeight});return B(`Focusing visible child, best child match is ${null===(s=null===(r=null==a?void 0:a.child)||void 0===r?void 0:r.Element)||void 0===s?void 0:s.className} - ${JSON.stringify(null==a?void 0:a.visibility)}`),!!a&&a.child.BTakeFocus(e)}GetLayout(){var e;if(null===(e=this.m_Properties)||void 0===e?void 0:e.layout)return this.m_Properties.layout;if(this.m_rgChildren.length<2)return x.NONE;return(0,d.Ii)(this.m_element)}OnNavigationEvent(e){var t,n;const i=e.detail.button;if(this.BTryInternalNavigation(i,null!==(t=e.detail.is_repeat)&&void 0!==t&&t))return!0;const{onMoveUp:s,onMoveRight:o,onMoveDown:a,onMoveLeft:l}=null!==(n=this.m_Properties)&&void 0!==n?n:{};let c=!1;switch(i){case r.eV.DIR_UP:s&&(c=s(e.detail,this));break;case r.eV.DIR_RIGHT:o&&(c=o(e.detail,this));break;case r.eV.DIR_DOWN:a&&(c=a(e.detail,this));break;case r.eV.DIR_LEFT:l&&(c=l(e.detail,this))}return c}InternalFocusDescendant(e,t,n){return!!e&&(this.m_Tree.TransferFocus(t,e,(0,d.sA)(n)),!0)}BTryInternalNavigation(e,t){var n,i;const s=this.GetLayout();let o,a=this.ComputeRelativeDirection(e,s);if(B(`Handling navigation event ${r.eV[e]} - ${x[s]} - ${F[a]}`,this.m_element),a==F.INVALID)return!1;if((null===(n=this.m_Properties)||void 0===n?void 0:n.focusable)&&this.m_bFocused)return B("Skipping navigation within focused element"),!1;if(this.EnsureChildrenSorted(!0),s==x.GRID)o=this.FindNextFocusableChildInGrid(this.GetActiveChildIndex(),a,e);else{let t=this.GetActiveChildIndex();this.IsValidChildIndex(t)||(t=a==F.FORWARD?-1:this.m_rgChildren.length),o=this.FindNextFocusableChildInDirection(t,a,e)}if(o){const n=(0,d.sA)(e);if(this.GetScrollIntoViewType()==P.NoTransformSparseContent){const e=null===(i=o.Element)||void 0===i?void 0:i.ownerDocument.defaultView;if(e){const i=("y"==n?e.innerHeight:e.innerWidth)/(t?4.5:3.33),r=w(o.Element);if(r.top>e.innerHeight&&r.bottom>e.innerHeight+i||r.bottom<0&&r.top<-i||r.left>e.innerWidth&&r.right>e.innerWidth+i||r.right<0&&r.left<-i)return B(`Element too far away, scrolling ${i} on ${n} axis `),I(o.Element,o.Element,"smooth",n,i),!0}}return this.m_Tree.TransferFocus(u.uS.GAMEPAD,o,n),!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():P.Standard}GetRelativeDirection(e){return this.ComputeRelativeDirection(e,this.GetLayout())}ComputeRelativeDirection(e,t){let n=t==x.ROW_REVERSE||t==x.COLUMN_REVERSE;switch(t){case x.ROW:case x.ROW_REVERSE:switch(e){case r.eV.DIR_LEFT:return n?F.FORWARD:F.BACKWARD;case r.eV.DIR_RIGHT:return n?F.BACKWARD:F.FORWARD;default:return F.INVALID}case x.COLUMN:case x.COLUMN_REVERSE:switch(e){case r.eV.DIR_UP:return n?F.FORWARD:F.BACKWARD;case r.eV.DIR_DOWN:return n?F.BACKWARD:F.FORWARD;default:return F.INVALID}case x.GRID:switch(e){case r.eV.DIR_LEFT:case r.eV.DIR_UP:return n?F.FORWARD:F.BACKWARD;case r.eV.DIR_RIGHT:case r.eV.DIR_DOWN:return n?F.BACKWARD:F.FORWARD;default:return F.INVALID}default:return F.INVALID}}AdvanceIndex(e,t){return e+(t==F.FORWARD?1:-1)}FindNextFocusableChildInDirection(e,t,n){let i=t==F.FORWARD?1:-1;for(let t=e+i;t>=0&&t=0&&t!(0,d.lx)("y",c,e.GetBoundingRect())));if(-1!=e){const i=this.m_rgChildren[e].GetBoundingRect(),r=this.FindClosestChildInNextAxiallyAlignedSet("x",t,n,c,e,i);if(r)return r}i=e}}else{let i=t==F.FORWARD?1:-1;for(let r=this.AdvanceIndex(e,t);r>=0&&r{const n=t.GetBoundingRect();return!!n&&(!(!o||(0,d.lx)(s.TP[e],o,n))||(a.push({child:t,overlap:(0,d.sq)(e,i,n),dist:(0,d.TB)(e,l,n)}),!1))})),t==F.BACKWARD&&a.reverse(),a.sort(((e,t)=>{const n=t.overlap-e.overlap;return 0!=n?n:e.dist-t.dist}));for(const{child:e}of a){const t=e.FindFocusableNode(n,i);if(t)return t}return null}GetChildren(){return this.EnsureChildrenSorted(),[this.m_rgChildren,this.m_iLastActiveChildIndex]}SetActiveChild(e){e instanceof G?(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){var t;this.m_RetainFocusParent=e,(null===(t=this.m_Properties)||void 0===t?void 0:t.retainFocus)||this.PropagateRetainFocusParentToChildren(e)}PropagateRetainFocusParentToChildren(e){for(let t=0;twindow.innerHeight+i)&&(n=!0);let r=n?"auto":"smooth";n&&(b=performance.now()),e.Tree.Controller.BIsRestoringHistory()&&(r="auto"),c?I(0,l,r):l.scrollIntoView({behavior:r,block:"nearest"})}else c?I(0,l,"auto"):null==l||l.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}}(this,t),this.m_Tree.OnChildActivated(e)}}(0,i.gn)([a.a],G.prototype,"OnDOMFocus",null),(0,i.gn)([a.a],G.prototype,"OnDOMBlur",null),(0,i.gn)([a.a],G.prototype,"OnNavigationEvent",null)},78078:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var i=n(15633),r=n(45492),s=n(68785),o=n(77262),a=n(3783);const l=new s.sO("FocusNavigation").Debug,c=new s.sO("GamepadEvents").Debug;class u{constructor(e,t,n){this.m_onActivateCallbacks=new r.pB,this.m_onDeactivateCallbacks=new r.pB,this.m_onActiveFocusStateChangedCallbacks=new r.pB,this.m_applyFocusClassesInDesktop=!1,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 a.Vp(this,null,null),this.m_Root.SetProperties({layout:a.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 a.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}SetApplyFocusClassesInDesktop(e){this.m_applyFocusClassesInDesktop=e}GetApplyFocusClassesInDesktop(){return this.m_applyFocusClassesInDesktop}SetOnUnhandledButtonCallback(e){this.m_onUnhandledButton=e}HandleButtonDownEventAsLogicalEvent(e){let{bUnhandled:t,bHadLogicalEventMapping:n}=(0,o.Ut)(e);return c(`Logical gamepad Event fired: ${i.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 i=this.m_lastFocusNode;if(i==t&&(this.m_bWasActiveForLastFocusChange||!this.BIsActive()))return;l(`Transfer focus in ${this.id}, source: ${e&&o.uS[e]}, from/to:`,null==i?void 0:i.m_element,null==t?void 0:t.m_element);const r={blurredNode:i,focusedNode:t,source:e},s=function(e,t){if(!t||!e)return null;let n=t,i=e;for(;n.GetDepth()>i.GetDepth()&&n.Parent;)n=n.Parent;for(;i.GetDepth()>n.GetDepth()&&i.Parent;)i=i.Parent;for(;n!=i&&n&&i;)n=n.Parent,i=i.Parent;return n}(i,t);if(i){i.SetHasFocus(!1);for(let e=i;e&&e!=s;e=e.Parent)e.SetFocusWithin(!1)}if(t){t.SetHasFocus(!0);for(let e=t;e&&e!=s;e=e.Parent)e.SetFocusWithin(!0)}let a=this.m_context.OnFocusChangeStart(e,this,i,t);t&&t.SetDOMFocusAndScroll(e,i),i&&((0,o.Jb)(i.Element,"vgp_onblur",r),!i.m_FocusRing||t&&i.m_FocusRing==t.m_FocusRing||i.m_FocusRing.OnBlur(e,i,t)),t&&((0,o.Jb)(t.Element,"vgp_onfocus",r),t.m_FocusRing&&(i&&t.m_FocusRing==i.m_FocusRing?t.m_FocusRing.OnFocusChange(e,i,t):t.m_FocusRing.OnFocus(e,t,i))),this.m_lastFocusNode=t,this.m_bWasActiveForLastFocusChange=this.BIsActive(),"x"==n?this.m_lastFocusNodeXMovement.SetNode(null==t?void 0:t.Element):"y"==n?this.m_lastFocusNodeYMovement.SetNode(null==t?void 0:t.Element):(this.m_lastFocusNodeXMovement.Reset(),this.m_lastFocusNodeYMovement.Reset()),this.m_context.OnFocusChangeComplete(a)}}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 r.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(o.uS.APPLICATION)||this.m_tree.TransferFocus(o.uS.APPLICATION,e):e.BTakeFocus(o.uS.APPLICATION)}}}},25849:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(3783);function r(e){switch(e){case"column":return i.gj.COLUMN;case"column-reverse":return i.gj.COLUMN_REVERSE;case"row":return i.gj.ROW;case"row-reverse":return i.gj.ROW_REVERSE;case"grid":return i.gj.GRID;default:return i.gj.NONE}}},13974:(e,t,n)=>{"use strict";n.d(t,{$1:()=>l,pj:()=>a});var i=n(47427),r=n(48766),s=n(20417),o=n(15633);function a(e,t="smooth",n,s){const a=(null!=n?n:30)/100,l=i.useRef(void 0),c=i.useRef(void 0),u=i.useCallback((()=>{l.current=void 0,c.current=void 0}),[]),d=function(e,t){const n=i.useRef();return i.useCallback(((i,s)=>{let o="sine";if(n.current&&(n.current.Cancel(),o="linear"),!e.current)return;void 0===i&&(i=e.current.scrollTop),void 0===s&&(s=e.current.scrollLeft);let a=Math.max(Math.abs(e.current.scrollTop-i),Math.abs(e.current.scrollLeft-s));if(a>0){let l=Math.max(Math.min(a/1e3*200,500),300);n.current=new r.jg(e.current,{scrollTop:i,scrollLeft:s},{msDuration:l,timing:o,onComplete:t}),n.current.Start()}else t&&t()}),[e,t])}(e,u);return i.useCallback((n=>{var i,r;if(s&&!s(n))return!1;if(n.defaultPrevented)return!1;if(!e.current)return!1;const{scrollTop:m,scrollHeight:h,clientHeight:p,scrollLeft:g,scrollWidth:_,clientWidth:f}=e.current,v=null!==(i=l.current)&&void 0!==i?i:m,C=null!==(r=c.current)&&void 0!==r?r:g;switch(n.detail.button){case o.eV.DIR_UP:if(v<=2)return!1;l.current=Math.max(0,v-p*a);break;case o.eV.DIR_DOWN:if(v>=h-p-2)return!1;l.current=Math.min(h-p,v+p*a);break;case o.eV.DIR_LEFT:if(C<=2)return!1;c.current=Math.max(0,C-f*a);break;case o.eV.DIR_RIGHT:if(C>=_-f-2)return!1;c.current=Math.min(_-f,C+f*a);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}),[s,e,t,a,d,u])}function l(){const e=i.useRef(null),t=i.useCallback((t=>{window.requestAnimationFrame((()=>{var t,n,i;(null===(t=e.current)||void 0===t?void 0:t.BFocusWithin())&&(null===(i=null===(n=e.current.Node())||void 0===n?void 0:n.GetLastFocusElement())||void 0===i||i.scrollIntoView({behavior:"auto",block:"nearest"}))}))}),[e]);return{ref:(0,s.yU)(t),navRef:e}}},35643:(e,t,n)=>{"use strict";n.d(t,{k$:()=>d,o5:()=>u});var i=n(85556),r=n(47427),s=n(10095),o=n(77262),a=n(20417),l=n(37563);const c=r.createContext((function(e,t){return{ShowVirtualKeyboard:()=>{},ShowModalKeyboard:()=>{},SetAsCurrentVirtualKeyboardTarget:()=>{},HideVirtualKeyboard:()=>{},DelayHideVirtualKeyboard:()=>{},BIsActive:()=>!1,BIsElementValidForInput:()=>!1}}));function u(e){const{factory:t,children:n}=e,i=r.useMemo((()=>t.CreateVirtualKeyboardRef.bind(t)),[t]);return r.createElement(c.Provider,{value:i},n)}function d(e,t){const{onTextEntered:n}=e,u=(0,i._T)(e,["onTextEntered"]),d=r.useRef(null),m=(0,l.qt)({bSuppressAssert:!0}),h=r.useRef({onTextEntered:()=>null});Object.assign(h.current,Object.assign(Object.assign({},u),{onTextEntered:n||(e=>function(e,t){var n,i;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=""}null===(i=SteamClient.Input)||void 0===i||i.ControllerKeyboardSendText(e)}}(e,m.IN_VR)),BIsElementValidForInput:()=>d.current&&document.activeElement==d.current}));const p=function(e,t){const n=r.useRef(),i=r.useContext(c);n.current||(n.current=i(e,t));return n.current}(h.current,(()=>d.current.ownerDocument.defaultView)),g=r.useCallback((e=>{var t,n;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 i=null!==(n=null===(t=s.AN.GetPopupForWindow(d.current.ownerDocument.defaultView))||void 0===t?void 0:t.params.bUseVRKeyboard)&&void 0!==n&&n;(p.BIsActive()||i)&&p.DelayHideVirtualKeyboard()}),[p]),_=(0,a.xK)((e=>{d.current=e;const t=[];return e&&(e.addEventListener("focus",p.SetAsCurrentVirtualKeyboardTarget),t.push((()=>e.removeEventListener("focus",p.SetAsCurrentVirtualKeyboardTarget))),e.addEventListener("click",p.ShowVirtualKeyboard),t.push((()=>e.removeEventListener("click",p.ShowVirtualKeyboard))),t.push((0,o.x)(e,p.ShowVirtualKeyboard)),t.push((0,o.BG)(e,g))),()=>t.forEach((e=>e()))}),[g,p]);return r.useLayoutEffect((()=>((0,a.k$)(t,{TakeFocusAndShowKeyboard:()=>{const e=d.current;e&&(document.activeElement!=e&&e.focus(),p.ShowVirtualKeyboard())},HideVirtualKeyboard:()=>{p.HideVirtualKeyboard()}}),()=>(0,a.k$)(t,null))),[p,t]),_}},39773:(e,t,n)=>{"use strict";n.d(t,{Xl:()=>s,xD:()=>a});var i=n(45284);const r=900;function s(e){try{if(!e||"string"!=typeof e)return null;const t=e.split(".");if(3!==t.length)return null;const[n,r]=t,s=(0,i.nh)(n),o=(0,i.nh)(r);return s&&o?{header:JSON.parse(s),body:JSON.parse(o)}:null}catch(e){return console.error(`Exception while attempting to decode token: "${e}"`),null}}function o(e){return e?e.body.exp:0}function a(e){const t=o(e),n=function(e){return e?e.body.nbf||e.body.iat:0}(e);let i=r;const s=t-n;return s<1.5*r&&(i=s<=60?0:60),o(e)-i{"use strict";n.d(t,{J:()=>p});var i=n(85556),r=n(50060),s=n(10059),o=n(79545),a=n(16997),l=n(80751),c=n.n(l),u=n(90938),d=n(35427),m=n(39773),h=n(46009);class p{constructor(e,t,n=!1,i){this.m_webApiAccessToken="",this.m_bJsonMode=!1,this.m_strSpoofedSteamID="",this.m_bJWTToken=!1,this.m_dtLastExpireCheck=0,this.m_strWebAPIBaseURL=e,this.m_webApiAccessToken=t,this.m_bJsonMode=n,this.m_fnRequestNewAccessToken=i,this.m_bJWTToken=null!=(0,m.Xl)(t),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)};const r=(0,h.bG)("steamLoginSpoofSteamID");r&&/[0-9]+/g.test(r)&&(this.m_strSpoofedSteamID=r)}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}SendMsgAndAwaitResponse(e,t,n,r,a){var l;return(0,i.mG)(this,void 0,void 0,(function*(){let i=null;try{if(this.m_bJWTToken&&e.bSendAuth){const e=Date.now()/1e3;if(this.m_refreshAccessTokenPromise)yield this.m_refreshAccessTokenPromise;else if(this.m_fnRequestNewAccessToken&&e-this.m_dtLastExpireCheck>60){this.m_dtLastExpireCheck=e;const t=(0,m.Xl)(this.m_webApiAccessToken);t&&(0,m.xD)(t)&&(this.m_refreshAccessTokenPromise=this.m_fnRequestNewAccessToken(),this.m_webApiAccessToken=yield this.m_refreshAccessTokenPromise,this.m_refreshAccessTokenPromise=void 0)}}let l=yield this.Send(e,t,n,a);if(200!=l.status||!l.data)throw new Error("Request Error");if(i=o.gA.Init(r,147),l.headers&&(l.headers["x-eresult"]&&i.Hdr().set_eresult(parseInt(l.headers["x-eresult"])),l.headers["x-error_message"]&&i.Hdr().set_error_message(l.headers["x-error_message"])),this.m_bJsonMode)i.SetBodyJSON(l.data.response);else{let e=new u.At(l.data),t=new s.BinaryReader(e.GetPacket(),e.TellGet(),e.GetCountBytesRemaining());r.deserializeBinaryFromReader(i.Body(),t)}0}catch(t){const n=t&&"object"==typeof t&&"response"in t&&401===(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.status),s=n?"Unauthorized":null;i=this.CreateFailedMsgProtobuf(r,3,s),n&&!this.m_refreshAccessTokenPromise&&this.m_bJWTToken&&e.bSendAuth&&this.m_fnRequestNewAccessToken&&(this.m_refreshAccessTokenPromise=this.m_fnRequestNewAccessToken(),this.m_webApiAccessToken=yield this.m_refreshAccessTokenPromise,this.m_refreshAccessTokenPromise=void 0)}return i}))}SendNotification(e,t,n,i){return this.Send(e,t,n,i),!0}Send(e,t,n,i){let s=this.CreateWebAPIURL(t);if(!s)throw"Couldn't find service name "+t;let o=n.SerializeBody(),a=r.JQ(o);const l=null==i?void 0:i.eWebAPIKeyRequirement;let u=0==(null==i?void 0:i.ePrivilege)&&1==l,d={responseType:this.m_bJsonMode?"json":"arraybuffer",params:{},headers:(null==i?void 0:i.bConstMethod)?{}:{"Content-Type":"multipart/form-data"}};if(e.bSendAuth||1==l||console.error(`Attempting to invoke service ${t} without auth, but auth is required.`),this.m_webApiAccessToken&&e.bSendAuth&&!u&&(d.params.access_token=this.m_webApiAccessToken,d.params.spoof_steamid=this.m_strSpoofedSteamID),null==i?void 0:i.bConstMethod)return d.params.origin=self.origin,this.m_bJsonMode?d.params.input_json=JSON.stringify(n.Body().toObject()):d.params.input_protobuf_encoded=a,c().get(s,d);{const e=new FormData;return this.m_bJsonMode?e.append("input_json",JSON.stringify(n.Body().toObject())):e.append("input_protobuf_encoded",a),c().post(s,e,d)}}CreateWebAPIURL(e){let t=e.match(/([^\.]+)\.(.+)#(\d+)/);return t&&4==t.length?`${this.m_strWebAPIBaseURL}I${t[1]}Service/${t[2]}/v${t[3]}`:null}CreateFailedMsgProtobuf(e,t,n){let i=o.gA.Init(e);return i.Hdr().set_eresult(2),i.Hdr().set_transport_error(t),n&&i.Hdr().set_error_message(n),i}}(0,i.gn)([a.a],p.prototype,"SendMsgAndAwaitResponse",null),(0,i.gn)([a.a],p.prototype,"SendNotification",null),(0,i.gn)([a.a],p.prototype,"Send",null)},22520:(e,t,n)=>{"use strict";n.d(t,{Am:()=>c,kI:()=>o,x3:()=>l});var i=n(37563),r=n(48760),s=n(62210);const o=0,a="061818254b2c99ac49e6626adb128ed1282a392f",l=120;class c{constructor(e){this.m_bInitialized=!1,this.m_unAppID=e}get appid(){return this.m_unAppID}get is_initialized(){return this.m_bInitialized}get is_valid(){return this.m_bInitialized&&!!this.m_strName}get name(){return this.m_strName}get header_image_url(){return i.De.MEDIA_CDN_URL+`steam/apps/${this.m_unAppID}/header.jpg`}get icon_url_no_default(){return this.m_strIconURL&&this.BuildAppURL(this.m_strIconURL,a)}get icon_url(){return this.BuildAppURL(this.m_strIconURL,a)}get logo_url(){return i.De.MEDIA_CDN_URL+`steam/apps/${this.m_unAppID}/capsule_231x87.jpg`}get time_updated_from_server(){return this.m_dtUpdatedFromServer}get apptype(){return this.m_eAppType}BIsApplicationOrTool(){return 4==this.apptype||2==this.apptype}BuildAppURL(e,t){return e?i.De.MEDIA_CDN_COMMUNITY_URL+"images/apps/"+this.appid+"/"+e+".jpg":(0,r.U)(t)}DeserializeFromMessage(e){this.m_bInitialized=!0,this.m_strName=e.name(),this.m_strIconURL=e.icon(),this.m_dtUpdatedFromServer=new Date,this.m_eAppType=e.app_type()}DeserializeFromAppOverview(e){e.icon_hash()&&1073741824!=e.app_type()?(this.m_bInitialized=!0,this.m_strName=e.display_name(),this.m_strIconURL=e.icon_hash(),this.m_dtUpdatedFromServer=new Date,this.m_eAppType=e.app_type()):this.m_bInitialized=!1}DeserializeFromCacheObject(e){try{this.m_strName=e.strName,this.m_strIconURL=e.strIconURL,this.m_dtUpdatedFromServer=new Date(e.strUpdatedFromServer),this.m_eAppType=e.eAppType,this.m_bInitialized=!0}catch(e){}}SerializeToCacheObject(){return(0,s.X)(this.m_bInitialized,"Attempting to serialize an uninitialized AppInfo object for caching!"),this.m_bInitialized?{strName:this.m_strName,strIconURL:this.m_strIconURL,strUpdatedFromServer:this.m_dtUpdatedFromServer.toJSON(),eAppType:this.m_eAppType}:null}}},47692:(e,t,n)=>{"use strict";var i;n.d(t,{Yt:()=>r}),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"}(i||(i={}));function r(e,t){return t()}},37265:(e,t,n)=>{"use strict";n.d(t,{T:()=>d});var i=n(85556),r=n(27605),s=n(47427),o=n(45492),a=n(13129),l=n(20417),c=n(74736),u=n.n(c);let d=class extends s.Component{constructor(){super(...arguments),this.m_listeners=new o.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:r,style:o,bEnablePointerEvents:l,direction:c,nBodyAlignment:d,nBodyDistance:m,nAllowOffscreenPx:h,nMaxLateralMoveOnScreen:p,children:g,onNoSpace:_,onWindowBlur:f,bTopmost:v}=e,C=(0,i._T)(e,["target","visibilityObserver","className","style","bEnablePointerEvents","direction","nBodyAlignment","nBodyDistance","nAllowOffscreenPx","nMaxLateralMoveOnScreen","children","onNoSpace","onWindowBlur","bTopmost"]);let S=Object.assign({left:this.state.x,top:this.state.y},o),b=!n||n.visible;return s.createElement("div",{className:(0,a.Z)(u().HoverPositionOuter,v&&u().HoverAboveModal)},s.createElement("div",Object.assign({},C,{className:(0,a.Z)(u().HoverPosition,b&&this.state.hoverPositionReady&&u().Ready,this.m_bNoSpace&&u().NoSpace,l&&u().EnablePointerEvents,r),style:S,ref:this.bindHover}),g))}positionHover(){var e,t,n;let i=this.m_elHover,r=this.props.target;if(!i||!r)return;if(this.state.hoverPositionReady&&this.props.visibilityObserver&&!this.props.visibilityObserver.visible)return;let s=r.ownerDocument.defaultView;if(!s||s.closed)return;const o=i.querySelector(".hover_arrow.left"),a=i.querySelector(".hover_arrow.right"),l=i.querySelector(".hover_arrow.top"),c=i.querySelector(".hover_arrow.bottom"),u=r.getBoundingClientRect(),d=i.getBoundingClientRect(),h="overlay"==this.props.direction||"overlay-center"==this.props.direction;o&&o.setAttribute("style","display: none;"),a&&a.setAttribute("style","display: none;"),l&&l.setAttribute("style","display: none;"),c&&c.setAttribute("style","display: none;");let{nBodyDistance:p=8,direction:g="right",nBodyAlignment:_=.5}=this.props,{nLeft:f,nTop:v,nOverflow:C,nLateralOverflow:S}=m(g,_,p,u,d,s.innerWidth,s.innerHeight);if(C>(null!==(e=this.props.nAllowOffscreenPx)&&void 0!==e?e:10)&&!h){const e=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"}}(null!==(t=this.props.direction)&&void 0!==t?t:"right"),{nLeft:r,nTop:o,nOverflow:a,nLateralOverflow:l}=m(e,_,p,u,d,s.innerWidth,s.innerHeight);if(a(null!==(n=this.props.nAllowOffscreenPx)&&void 0!==n?n:10))return console.log("Not showing hover because it didn't fit in the main or alt direction"),i.setAttribute("style","display: none;"),this.m_bNoSpace=!0,void(this.props.onNoSpace&&this.props.onNoSpace())}0===this.props.nMaxLateralMoveOnScreen||h||([v,f]=function(e,t,n,i,r){let s=Math.max(t[0],t[1]);void 0!==e&&(s=Math.min(e,s));s=Math.max(0,s);const o=t[0]>t[1]?s:-s;"left"===n||"right"===n?i+=o:r+=o;return[i,r]}(this.props.nMaxLateralMoveOnScreen,S,null!=g?g:"right",v,f));let b=null;switch(g){case"left":b=a;break;case"right":b=o;break;case"top":b=c;break;case"bottom":b=l}b&&b.setAttribute("style",""),f!=this.state.x&&this.setState({x:f}),v!=this.state.y&&this.setState({y:v}),this.state.hoverPositionReady||this.setState({hoverPositionReady:!0})}};function m(e,t,n,i,r,s,o){const a=s,l=o;let c,u,d,m;switch(e){case"right":c=i.right+n,u=h(i.top,i.height,r.height,t),d=Math.max(0,c+r.width-a),m=[Math.max(0,0-u),Math.max(0,u+r.height-l)];break;case"left":c=i.left-n-r.width,u=h(i.top,i.height,r.height,t),d=Math.max(0,0-c),m=[Math.max(0,0-u),Math.max(0,u+r.height-l)];break;case"bottom":c=h(i.left,i.width,r.width,t),u=i.bottom+n,d=Math.max(0,u+r.height-l),m=[Math.max(0,0-c),Math.max(0,c+r.width-a)];break;case"top":c=h(i.left,i.width,r.width,t),u=i.top-n-r.height,d=Math.max(0,0-u),m=[Math.max(0,0-c),Math.max(0,c+r.width-a)];break;case"overlay":c=i.left,u=i.top,d=0,m=[0,0];break;case"overlay-center":c=i.left+.5*i.width-.5*r.width,u=i.top+.5*i.height-.5*r.height,d=0,m=[0,0]}return{nLeft:c,nTop:u,nOverflow:d,nLateralOverflow:m}}function h(e,t,n,i){return Math.max(0,Math.min(1,i))*(t-n)+e}d.defaultProps={direction:"right",nBodyAlignment:.5,nAllowOffscreenPx:10,nBodyDistance:8,nMaxLateralMoveOnScreen:void 0},(0,i.gn)([l.ak],d.prototype,"bindHover",null),(0,i.gn)([l.ak],d.prototype,"OnWindowBlur",null),d=(0,i.gn)([r.Pi],d)},43090:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,d:()=>s});var i=n(13499),r=n(65255);function s(e){return r.De.COMMUNITY_BASE_URL+"linkfilter/?u="+encodeURIComponent(e)}function o(e,t){if(e.startsWith("steam://"))return!1;if(e.startsWith("/"))return!1;const n=(0,i.FM)(e).toLowerCase(),s=(0,i.FM)(r.De.COMMUNITY_BASE_URL).toLowerCase(),o=(0,i.FM)(r.De.STORE_BASE_URL).toLowerCase(),a=(0,i.FM)(r.De.HELP_BASE_URL).toLowerCase(),l=(0,i.FM)(r.De.PARTNER_BASE_URL||"").toLowerCase();return n!==s&&n!==o&&n!==a&&"support.steampowered.com"!==n&&n!==l&&"www.dota2.com"!==n&&(!t||0==t.filter((e=>n==e)).length)}},48760:(e,t,n)=>{"use strict";n.d(t,{U:()=>s,W:()=>r});var i=n(37563);const r="fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb";function s(e,t){let n=".jpg";e&&"0000000000000000000000000000000000000000"!==e||(e=r),44==e.length&&(n=e.substr(-4),e=e.substr(0,40));let s=i.De.AVATAR_BASE_URL;return s||(s=i.De.MEDIA_CDN_COMMUNITY_URL+"images/avatars/",s+=e.substr(0,2)+"/"),s+=e,t&&"small"!=t&&(s+="_"+t),s+=n,s}},35427:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var i=n(94947),r=n.n(i),s=n(77936),o=n(37563);class a{constructor(e=0,t,n,i){e instanceof a?this.m_ulSteamID=e.m_ulSteamID:"string"==typeof e?this.m_ulSteamID=r().fromString(e,!0):t&&n&&void 0!==i?this.SetFromComponents(null!=e?e:0,i,n,t):this.m_ulSteamID=e?r().fromNumber(e,!0):r().UZERO}static InitFromAccountID(e){return new a(Number(e),o.De.EUNIVERSE,1,s.QS)}static InitFromClanID(e){return new a(Number(e),o.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 a;try{let[n,i,r,s,o]=e.match(/\[([I|g|A|G|M|P|C|U]):(\d+):(\d+):?(\d+)?\]/)||[],a=Number(r),l=Number(s),c=o?Number(o):1;switch(i){case"I":t.SetFromComponents(l,c,0,a);case"g":t.SetFromComponents(l,0,7,a);case"A":t.SetFromComponents(l,c,4,a);case"G":t.SetFromComponents(l,c,3,a);case"M":t.SetFromComponents(l,c,2,a);case"P":t.SetFromComponents(l,c,5,a);case"C":t.SetFromComponents(l,c,6,a);case"U":t.SetFromComponents(l,c,1,a)}}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()>s.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(r())(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,i){let s=((255&i)<<24)+((15&n)<<20)+(1048575&t),o=4294967295&e;this.m_ulSteamID=new(r())(o,s,!0)}}},31421:(e,t,n)=>{"use strict";n.d(t,{B1:()=>l,Hf:()=>c,OL:()=>a,ZP:()=>m,bP:()=>h,mY:()=>u});var i=n(85556),r=n(62210),s=n(13499),o=n(65255);function a(e,t="",n=null){return d.InstrumentLink(e,t,n)}function l(e,t,n=null){const i=(0,s.FM)(e).toLowerCase(),r=(0,s.FM)(o.De.COMMUNITY_BASE_URL).toLowerCase(),a=(0,s.FM)(o.De.STORE_BASE_URL).toLowerCase();return i===r||i===a?c(e,t,n):e}function c(e,t,n=null){const i=u(t,n);return d.AddNavParamToURL(e,i)}function u(e,t=null){return(null==e?void 0:e.domain)?d.GetLinkParam(e,t):o.De.SNR}class d{static Load(){return(0,i.mG)(this,void 0,void 0,(function*(){return d.sm_promiseLoading||(d.sm_promiseLoading=(()=>(0,i.mG)(this,void 0,void 0,(function*(){d.sm_rgNavEventDictionary=(yield n.e(4103).then(n.t.bind(n,199,19))).default,d.sm_bIsLoaded=!0})))()),d.sm_promiseLoading}))}static BIsLoaded(){return d.sm_bIsLoaded}static SetNavEventParams(e,t,n=null,i=null){d.sm_strDomain=e,d.sm_strController=t,d.sm_strMethod=n,d.sm_strSubmethod=i,d.sm_strComputedLinkPrefix=null,d.Load()}static GetDefaultParams(){let e={domain:d.sm_strDomain,controller:d.sm_strController};return d.sm_strMethod&&(e.method=d.sm_strMethod),d.sm_strSubmethod&&(e.submethod=d.sm_strSubmethod),e}static ParseSNR(e){const t=e.split("_")||[];return{domain:d.DecodeEventComponent(t[0]),controller:d.DecodeEventComponent(t[1]),method:d.DecodeEventComponent(t[2]),submethod:d.DecodeEventComponent(t[3]),feature:d.DecodeEventComponent(t[4]),depth:t[5]?Number(t[5]):void 0}}static InstrumentLink(e,t,n=null){const i=d.GetLinkParam(t,n);return d.AddNavParamToURL(e,i)}static GetLinkParam(e,t=null){var n;let i,r;if("string"==typeof e||e.domain||(e=e.feature||""),"string"!=typeof e&&e.domain)i=d.ComputeLinkPrefix(e.domain,e.controller,e.method,e.submethod),r=e.feature,t=null!==(n=null!=t?t:e.depth)&&void 0!==n?n:null;else{if(!d.sm_strComputedLinkPrefix&&!d.ComputeStaticLinkPrefix())return null;i=d.sm_strComputedLinkPrefix,r="string"==typeof e?e:e.feature}let s=d.EncodeEventComponent(r);return s&&(i+="_"+s,t&&(i+="_"+t)),i}static AddNavParamToURL(e,t){try{const n=new URL((0,s.Pm)(e)),i=new URLSearchParams(n.search);return i.set("snr",encodeURIComponent(t)),n.origin+n.pathname+"?"+i.toString()+n.hash}catch(t){return console.error(e,t),e}}static ComputeStaticLinkPrefix(){return d.sm_strDomain?(d.sm_strComputedLinkPrefix=d.ComputeLinkPrefix(d.sm_strDomain,d.sm_strController,d.sm_strMethod,d.sm_strSubmethod),!0):((0,r.X)(!1,"CStoreNavEvents::SetNavEventParams was not called before calling InstrumentLink!"),!1)}static ComputeLinkPrefix(e,t,n,i){let r="";return r+=d.EncodeEventComponent(e),r+="_",r+=d.EncodeEventComponent(t),r+="_",r+=d.EncodeEventComponent(n),r+="_",r+=d.EncodeEventComponent(i),r}static EncodeEventComponent(e){if(!e)return"";d.Load();let t=d.sm_rgNavEventDictionary||{};return e in t?""+t[e]:(e.match(/^[0-9]+$/)||(e=e.replace(/^[0-9]+/,"")),e.replace(/[^a-zA-Z0-9\- ]+/g,""))}static DecodeEventComponent(e){const t=e&&parseInt(e);if(t&&d.sm_rgNavEventDictionary)for(const e in d.sm_rgNavEventDictionary)if(d.sm_rgNavEventDictionary[e]==t)return e;return d.SanitizeEventComponent(e)}static SanitizeEventComponent(e){return e&&e.match(/^[a-zA-Z0-9\-.]*$/)?e:""}}d.sm_bIsLoaded=!1;const m=d;function h(e){return Object.assign(Object.assign({},e),{domain:d.SanitizeEventComponent(e.domain),controller:d.SanitizeEventComponent(e.controller),method:d.SanitizeEventComponent(e.method),submethod:d.SanitizeEventComponent(e.submethod),feature:d.SanitizeEventComponent(e.feature),depth:e.depth||0})}},43235:(e,t,n)=>{"use strict";function i(e,t){return!!e&&("object"==typeof e.SteamClient&&t in e.SteamClient)}function r(e,t){if(!e)return!1;const[n,r]=t.split(".",2);return n&&r&&i(e,n)&&r in e.SteamClient[n]}function s(e){return r(window,e)}n.d(t,{U5:()=>s,w3:()=>r})},14243:(e,t,n)=>{"use strict";n.d(t,{LT:()=>s,qr:()=>i});var i,r=n(45492);!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",e[e.Screenshot=28]="Screenshot"}(i||(i={}));const s=new class{constructor(){this.m_fnCallbackOnPlaySound=new r.pB}RegisterCallbackOnPlaySound(e){return this.m_fnCallbackOnPlaySound.Register(e)}PlayNavSound(e,t){this.m_fnCallbackOnPlaySound.Dispatch(e,t)}}},19399:(e,t,n)=>{"use strict";n.d(t,{HZ:()=>a,OL:()=>s,pd:()=>o});var i=n(77115),r=n(65255);function s(){return`${r.De.CLAN_CDN_ASSET_URL}images/`}function o(e){return(e=e.replace(i.A,s())).replace("http://","https://")}function a(e){return e.replace(/{STEAM_CLAN_IMAGE}/g,s())}},41130:(e,t,n)=>{"use strict";n.d(t,{L:()=>b});var i=n(85556),r=n(15633),s=n(16997);let o=[{index:0,type:r.eV.OK,category:"action"},{index:1,type:r.eV.CANCEL,category:"action"},{index:2,type:r.eV.SECONDARY,category:"action"},{index:3,type:r.eV.OPTIONS,category:"action"},{index:4,type:r.eV.BUMPER_LEFT,category:"action"},{index:5,type:r.eV.BUMPER_RIGHT,category:"action"},{index:6,type:r.eV.TRIGGER_LEFT,category:"action"},{index:7,type:r.eV.TRIGGER_RIGHT,category:"action"},{index:8,type:r.eV.SELECT,category:"action"},{index:9,type:r.eV.START,category:"action"},{index:10,type:r.eV.LSTICK_CLICK,category:"action"},{index:11,type:r.eV.RSTICK_CLICK,category:"action"},{index:12,type:r.eV.DIR_UP,category:"navigation"},{index:13,type:r.eV.DIR_DOWN,category:"navigation"},{index:14,type:r.eV.DIR_LEFT,category:"navigation"},{index:15,type:r.eV.DIR_RIGHT,category:"navigation"},{index:16,type:r.eV.STEAM_GUIDE,category:"action"},{index:17,type:r.eV.SELECT,category:"action"}];class a extends r.oH{constructor(){super(),this.m_rgGamepadStatus=[],this.SetSourceType(r.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 r.eV;e++)t.activeButtons[e]&&this.OnButtonUp(e,n);this.OnAnalogPad(r.eV.LPAD_TOUCH,0,0,n),this.OnAnalogPad(r.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,n;e?this.m_hUnregisterControllerAnalogInput=null===(t=SteamClient.Input)||void 0===t?void 0:t.RegisterForControllerAnalogInputMessages(this.HandleControllerInputMessages):null===(n=this.m_hUnregisterControllerAnalogInput)||void 0===n||n.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[r.eV.LPAD_TOUCH]&&this.OnAnalogPad(r.eV.LPAD_TOUCH,t.x,t.y,t.nC):t.nA==c.A.GAMEPAD_ANALOG_RIGHT_KEYBOARD_CURSOR&&n.activeButtons[r.eV.RPAD_TOUCH]&&this.OnAnalogPad(r.eV.RPAD_TOUCH,t.x,t.y,t.nC))}}}(0,i.gn)([s.a],m.prototype,"OnControllerListChanged",null),(0,i.gn)([s.a],m.prototype,"HandleSystemKeyEvents",null),(0,i.gn)([s.a],m.prototype,"EnableAnalogInputMessages",null),(0,i.gn)([s.a],m.prototype,"HandleControllerInputMessages",null);var h=n(50423),p=n(65255);class g extends r.oH{constructor(e){super(),this.m_lastButtonDown=r.eV.INVALID,this.SetSourceType(r.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!=r.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!=r.eV.INVALID&&(this.OnButtonUp(t),this.m_lastButtonDown=r.eV.INVALID,e.preventDefault())}Reset(){this.m_lastButtonDown!=r.eV.INVALID&&(this.OnButtonUp(this.m_lastButtonDown),this.m_lastButtonDown=r.eV.INVALID)}GetKeycodeFromEvent(e){return"linux"===p.De.PLATFORM&&e.key.length>1?e.key||e.code:e.code||e.key}BShouldSwallowEventForTextInputWorkaround(e){var t,n,i,r,s,o,a;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 l=this.GetKeycodeFromEvent(e);let c=e.target;const u=Array.from(c.ownerDocument.getElementsByClassName("gpfocus")).some((e=>Array.from(e.classList).some((e=>e.includes("virtualkeyboard")))));switch(l){case"ArrowUp":{if(u)return!0;let n=null==c?void 0:c.value.indexOf("\n");return"TEXTAREA"===e.target.nodeName&&n>=0&&n<(null!==(t=null==c?void 0:c.selectionStart)&&void 0!==t?t:0)}case"ArrowDown":{if(u)return!0;let t=null==c?void 0:c.value.lastIndexOf("\n");return"TEXTAREA"===e.target.nodeName&&t>=0&&t>=(null!==(n=null==c?void 0:c.selectionStart)&&void 0!==n?n:0)&&(null!==(i=null==c?void 0:c.selectionEnd)&&void 0!==i?i:0)<(null==c?void 0:c.value.length)}case"ArrowLeft":return!!u||(null!==(r=null==c?void 0:c.selectionStart)&&void 0!==r?r:0)>0&&(null!==(s=null==c?void 0:c.selectionEnd)&&void 0!==s?s:0)>0;case"ArrowRight":return!!u||(null!==(o=null==c?void 0:c.selectionStart)&&void 0!==o?o:0)<(null==c?void 0:c.value.length)&&(null!==(a=null==c?void 0:c.selectionEnd)&&void 0!==a?a:0)<(null==c?void 0:c.value.length);case"Enter":case"Backspace":return!0;default:return!1}}TranslateKey(e){const t=this.GetKeycodeFromEvent(e),n=e.ctrlKey,i=e.shiftKey;if(this.BShouldSwallowEventForTextInputWorkaround(e))return r.eV.INVALID;if(n&&i)switch(t){case"Digit4":return r.eV.TRIGGER_LEFT;case"Digit5":return r.eV.TRIGGER_RIGHT;default:return r.eV.INVALID}if(n)switch(t){case"Digit1":return r.eV.STEAM_GUIDE;case"Digit2":return r.eV.STEAM_QUICK_MENU;case"Digit3":case"Digit9":return r.eV.SELECT;case"Digit4":return r.eV.BUMPER_LEFT;case"Digit5":return r.eV.BUMPER_RIGHT;case"Digit6":return r.eV.LSTICK_CLICK;case"Digit7":return r.eV.RSTICK_CLICK;case"Digit8":return r.eV.OPTIONS;case"Digit0":return r.eV.START}switch(t){case"Escape":return r.eV.CANCEL;case"Enter":return r.eV.OK;case"Backspace":return r.eV.SECONDARY;case"ArrowUp":return r.eV.DIR_UP;case"ArrowDown":return r.eV.DIR_DOWN;case"ArrowLeft":return r.eV.DIR_LEFT;case"ArrowRight":return r.eV.DIR_RIGHT}return r.eV.INVALID}}(0,i.gn)([s.a],g.prototype,"OnKeyDown",null),(0,i.gn)([s.a],g.prototype,"OnKeyUp",null),(0,i.gn)([s.a],g.prototype,"Reset",null);class _ extends r.oH{constructor(e){super(),this.m_nAccumulatedMouseMovement=0,this.m_bFirstMouseUpdate=!0,this.m_lastButtonDown=r.eV.INVALID,this.SetSourceType(r.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?r.eV.CANCEL:r.eV.INVALID}OnMouseDown(e){if(e.defaultPrevented)return;const t=this.TranslateKey(e);t!=r.eV.INVALID&&(e.preventDefault(),t!=this.m_lastButtonDown&&(this.Reset(),this.OnButtonDown(t),this.m_lastButtonDown=t),this.OnNavigationTypeChanged(r.Rr.MOUSE))}OnMouseUp(e){const t=this.TranslateKey(e);t!=r.eV.INVALID&&(this.OnButtonUp(t),this.m_lastButtonDown=r.eV.INVALID,e.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(r.Rr.MOUSE))}}Reset(){this.m_nAccumulatedMouseMovement=0,this.m_bFirstMouseUpdate=!0,this.m_lastButtonDown!=r.eV.INVALID&&(this.OnButtonUp(this.m_lastButtonDown),this.m_lastButtonDown=r.eV.INVALID)}}(0,i.gn)([s.a],_.prototype,"TranslateKey",null),(0,i.gn)([s.a],_.prototype,"OnMouseDown",null),(0,i.gn)([s.a],_.prototype,"OnMouseUp",null),(0,i.gn)([s.a],_.prototype,"OnMouseMove",null),(0,i.gn)([s.a],_.prototype,"Reset",null);var f=n(40659),v=n(37563),C=n(42287);class S{GetNavigationController(){return this.m_GamepadNavigationController}static Get(e){return e?(S.s_SingletonGamepaUI||(S.s_SingletonGamepaUI=new S(!0),"dev"==v.De.WEB_UNIVERSE&&(window.g_StoreWebNavStoreGamepadUI=S.s_Singleton)),S.s_SingletonGamepaUI):(S.s_Singleton||(S.s_Singleton=new S(!1)),S.s_Singleton)}constructor(e){this.m_GamepadNavigationController=new f.ZT,e&&(this.m_GamepadNavigationController.RegisterInputSource(new m),this.m_GamepadNavigationController.RegisterInputSource(new a)),"dev"==v.De.WEB_UNIVERSE&&(this.m_GamepadNavigationController.RegisterInputSource(new g(window)),this.m_GamepadNavigationController.RegisterInputSource(new _(window)))}}function b(){let e=window.legacyWebFocusNavController,t=(0,v.id)();return e||(e=S.Get(t).GetNavigationController()),e.SetGamepadEventUpdateBatcher(C.unstable_batchedUpdates),e}},77151:(e,t,n)=>{"use strict";n.d(t,{LA:()=>_,jg:()=>g});var i,r=n(85556),s=n(80751),o=n.n(s),a=n(54842),l=n(16649),c=n(37563),u=n(47427),d=n(50423),m=n(31421);!function(e){e[e.AnyController=0]="AnyController",e[e.XboxController=1]="XboxController",e[e.Ps3Controller=2]="Ps3Controller",e[e.Ps4Controller=3]="Ps4Controller",e[e.Ps5Controller=4]="Ps5Controller",e[e.SwitchController=5]="SwitchController",e[e.SteamController=6]="SteamController",e[e.SteamDeckNeptune=7]="SteamDeckNeptune",e[e.SteamDeckGalileo=8]="SteamDeckGalileo"}(i||(i={}));const h={any_controller:i.AnyController,xbox_controller:i.XboxController,ps3_controller:i.Ps3Controller,ps4_controller:i.Ps4Controller,ps5_controller:i.Ps5Controller,switch_controller:i.SwitchController,steam_controller:i.SteamController,steam_deck_neptune:i.SteamDeckNeptune,steam_deck_galileo:i.SteamDeckGalileo},p="unUserdataVersion";class g{BIsLoaded(){return this.m_bIsLoaded}GetWishlistGamesInUserOrder(){return this.m_wishlistInOrder}GetWishlistGameCount(){return this.m_setWishList.size}GetRecommendedGamesInIRPriorityOrder(){return this.m_recAppInOrder}GetFollowedCuratorCount(){return this.m_setCuratorsFollowed.size}GetFollowedCuratorsAccountID(){return Array.from(this.m_setCuratorsFollowed)}GetPackagesInCartCount(){return this.m_setPackagesInCart.size}GetAppInCartCount(){return this.m_setAppsInCart.size}GetCartLineItemCount(){return this.m_nCartLineItemCount}GetIgnoredAppsCount(){return this.m_mapIgnoredApps.size}BIsFollowingCurator(e){const t="object"==typeof e&&"GetAccountID"in e?e.GetAccountID():e;return this.m_setCuratorsFollowed.has(t)}BIsFollowingCreator(e){return this.BIsFollowingCurator(e)}BIsIgnoringCurator(e){const t="object"==typeof e&&"GetAccountID"in e?e.GetAccountID():e;return this.m_setCuratorsIgnored.has(t)}get ExcludedContentDescriptor(){return Array.from(this.m_setExcludedContentDescriptors)}BExcludesTag(e){return e.some((e=>this.m_setExcludedTagsIds.has(Number(e.tagid))))}BExcludeTagIDs(e){return e.some((e=>this.m_setExcludedTagsIds.has(e)))}GetExcludedTagsSortedByID(){return Array.from(this.m_setExcludedTagsIds).sort()}BExcludesContentDescriptor(e){return e.some((e=>this.m_setExcludedContentDescriptors.has(e)))}BIncludesContentDescriptor(e){return!this.m_setExcludedContentDescriptors.has(e)}BIsGameWishlisted(e){return this.m_setWishList.has(Number(e))}BIsGameRecommended(e){return this.m_setRecommendedApps.has(Number(e))}BIsGameIgnored(e){return this.m_mapIgnoredApps&&this.m_mapIgnoredApps.has(e)}BIsPackageIgnored(e){var t;return null===(t=this.m_mapIgnoredPackages)||void 0===t?void 0:t.has(e)}BIsGameOwned(e){return this.m_setOwnedApps.has(Number(e))}BOwnsApp(e){return this.m_setOwnedApps.has(Number(e))}BFollowsApp(e){return this.m_setFollowedApps.has(Number(e))}BOwnsPackage(e){return this.m_setOwnedPackages.has(Number(e))}BHasUsedHardware(e){return this.m_rgHardwareUsed.has(e)}BShowFilteredUserReviewScores(){return this.m_bShowFilteredUserReviewScores}BAppImpressionsAllowed(){return this.m_bAllowAppImpressions}GetPrimaryLanguage(){return this.m_primaryLanguage}GetSecondaryLanguages(){return this.m_secondaryLanguages}BIsAnyLanguageEnabled(e){return null==this.m_primaryLanguage||(this.m_primaryLanguage<=-1||31<=this.m_primaryLanguage||e.some((e=>this.m_primaryLanguage===e||this.m_secondaryLanguages.has(e))))}GetRecommendedTags(){return this.m_setRecommendedTags}BIsAjaxInFlight(){return this.m_bAjaxInFlight}BIsAppRecommendedBySomeCurator(e){return this.m_mapRecommendingCuratorsForApp.has(e)}GetRecommendingCuratorsForApp(e){return this.m_mapRecommendingCuratorsForApp.get(e)}GetOwnedApps(){return this.m_setOwnedApps}GetWishlistedApps(){return this.m_setWishList}HintLoad(){return(0,r.mG)(this,void 0,void 0,(function*(){return this.m_promise||(this.m_promise=this.InternalLoad()),this.m_promise}))}InternalLoad(){return(0,r.mG)(this,void 0,void 0,(function*(){let e=window.localStorage.getItem(p)||"0",t={v:"0"==e?void 0:e,id:""+c.L7.accountid,cc:""+c.De.COUNTRY,origin:self.origin},n=c.De.STORE_BASE_URL+"dynamicstore/userdata/";try{let e=yield o().get(n,{params:t,withCredentials:!0});e&&200==e.status&&(0,a.z)((()=>{if(this.m_bIsLoaded=!0,e.data.rgCurators){this.m_setCuratorsFollowed=new Set;for(const t in e.data.rgCurators)this.m_setCuratorsFollowed.add(Number(t))}if(e.data.rgCuratorsIgnored&&(this.m_setCuratorsIgnored=new Set(e.data.rgCuratorsIgnored.map((e=>Number(e))))),e.data.rgWishlist&&(this.m_wishlistInOrder=e.data.rgWishlist.map((e=>Number(e))),this.m_setWishList=new Set(e.data.rgWishlist.map((e=>Number(e))))),e.data.rgFollowedApps&&(this.m_setFollowedApps=new Set(e.data.rgFollowedApps.map((e=>Number(e))))),e.data.rgOwnedApps&&(this.m_setOwnedApps=new Set(e.data.rgOwnedApps.map((e=>Number(e))))),e.data.rgOwnedPackages&&(this.m_setOwnedPackages=new Set(e.data.rgOwnedPackages.map((e=>Number(e))))),e.data.rgIgnoredApps){const t=e.data.rgIgnoredApps;this.m_mapIgnoredApps=new Map;for(const e in t)this.m_mapIgnoredApps.set(Number(e),Number(t[e]))}if(e.data.rgIgnoredPackages){const t=e.data.rgIgnoredPackages;this.m_mapIgnoredPackages=new Map;for(const e in t)this.m_mapIgnoredPackages.set(Number(e),Number(t[e]))}if(e.data.rgExcludedTags&&(this.m_setExcludedTagsIds=new Set(e.data.rgExcludedTags.map((e=>Number(e.tagid))))),e.data.rgExcludedContentDescriptorIDs&&(this.m_setExcludedContentDescriptors=new Set(e.data.rgExcludedContentDescriptorIDs.map((e=>Number(e))))),e.data.rgRecommendedApps&&(this.m_recAppInOrder=e.data.rgRecommendedApps.map((e=>Number(e))),this.m_setRecommendedApps=new Set(e.data.rgRecommendedApps.map((e=>Number(e))))),e.data.rgPreferredPlatforms&&(this.m_setPreferredPlatforms=new Set(e.data.rgPreferredPlatforms)),e.data.bAllowAppImpressions&&(this.m_bAllowAppImpressions=e.data.bAllowAppImpressions),this.m_bShowFilteredUserReviewScores=!!e.data.bShowFilteredUserReviewScores,void 0!==e.data.rgPrimaryLanguage&&(this.m_primaryLanguage=e.data.rgPrimaryLanguage),e.data.rgSecondaryLanguages&&(this.m_secondaryLanguages=new Set(e.data.rgSecondaryLanguages)),e.data.rgRecommendedTags&&(this.m_setRecommendedTags=new Set(e.data.rgRecommendedTags.map((e=>e.tagid)))),e.data.rgAppsInCart&&(this.m_setAppsInCart=new Set(e.data.rgAppsInCart)),e.data.rgPackagesInCart&&(this.m_setPackagesInCart=new Set(e.data.rgPackagesInCart)),e.data.nCartLineItemCount&&(this.m_nCartLineItemCount=e.data.nCartLineItemCount),e.data.rgCurations)for(const t of Object.keys(e.data.rgCurations)){const n=[];for(const i of Object.keys(e.data.rgCurations[t]))0===e.data.rgCurations[t][i]&&n.push(Number(i));this.m_mapRecommendingCuratorsForApp.set(Number(t),n)}if(e.data.rgHardwareUsed)for(const t of e.data.rgHardwareUsed){const e=h[t];e&&this.m_rgHardwareUsed.add(e)}}))}catch(e){let t=(0,l.l)(e);console.error("CDynamicStore.InternalLoad",t.strErrorMsg,t)}return this}))}UpdateFollowOrIgnoreCurator(e,t,n){return(0,r.mG)(this,void 0,void 0,(function*(){let i=c.De.STORE_BASE_URL+"curators/"+(t?"ajaxfollow/":"ajaxignore/");const r=e.GetAccountID(),s=new FormData;s.append("clanid",""+r),s.append("sessionid",c.De.SESSIONID),s.append(t?"follow":"ignore",n?"1":"0");let a=yield o().post(i,s,{withCredentials:!0});if(a&&200==a.status){this.InvalidateCache();const e=t?this.m_setCuratorsFollowed:this.m_setCuratorsIgnored;n?e.add(r):e.delete(r)}return a.data}))}UpdateAppIgnore(e,t,n=0){return(0,r.mG)(this,void 0,void 0,(function*(){let i=c.De.STORE_BASE_URL+"recommended/ignorerecommendation";const r=new FormData;r.append("sessionid",c.De.SESSIONID),r.append("appid",""+e),r.append("remove",t?"0":"1"),r.append("snr",c.De.SNR),r.append("ignore_reason",""+n);try{this.m_bAjaxInFlight=!0;let s=yield o().post(i,r,{withCredentials:!0});return s&&200==s.status&&(0,a.z)((()=>{this.InvalidateCache(),t?this.m_mapIgnoredApps.set(e,n):this.m_mapIgnoredApps.delete(e)})),this.m_bAjaxInFlight=!1,s.data}catch(e){let t=(0,l.l)(e);console.error("UpdateAppIgnore",t.strErrorMsg,t)}return this.m_bAjaxInFlight=!1,{success:2}}))}UpdateGameWishlist(e,t,n,i){return(0,r.mG)(this,void 0,void 0,(function*(){let r=c.De.STORE_BASE_URL+"api/"+(t?"addtowishlist":"removefromwishlist");const s=new FormData;s.append("appid",""+e),s.append("sessionid",c.De.SESSIONID),n&&s.append("snr",n),this.m_bAjaxInFlight=!0;let a=yield o().post(r,s,{withCredentials:!0,cancelToken:i?i.token:void 0});if(this.m_bAjaxInFlight=!1,i&&i.token.reason)return{success:52};if(a.data.success=1==a.data.success?1:2,1==a.data.success)if(this.InvalidateCache(),e=Number(e),t)this.m_setWishList.has(e)||this.m_wishlistInOrder.push(e),this.m_setWishList.add(e);else{if(this.m_setWishList.has(e)){const t=this.m_wishlistInOrder.findIndex((t=>t==e));-1!=t&&this.m_wishlistInOrder.splice(t,1)}this.m_setWishList.delete(e)}return a.data}))}AddToCart(e,t,n,i,s,a,l){return(0,r.mG)(this,void 0,void 0,(function*(){if(void 0!==window.g_bUseNewCartAPI&&window.g_bUseNewCartAPI&&"function"==typeof window.AddItemToCart){let e;return s&&(yield m.ZP.Load(),e=m.ZP.ParseSNR(s)),window.AddItemToCart(t,a,e),!0}const r=new FormData;r.append("action","add_to_cart"),a?r.append("bundleid",a.toString()):r.append("subid",""+t),s&&r.append("snr",s),r.append("sessionid",c.De.SESSIONID),r.append("quantity","1");const u=(0,d.RA)(e);e.preventDefault();try{yield o().post(n,r,{withCredentials:!0}),this.InvalidateCache(u),(null==l?void 0:l.fnSetURL)?l.fnSetURL(i):u.location.href=i}catch(e){return console.log("HandleOnAddToCart",e),!1}return!0}))}AddLicenseForFreeGame(e){return(0,r.mG)(this,void 0,void 0,(function*(){if(this.BOwnsApp(e))return 1;try{const t=new FormData;t.append("sessionid",c.De.SESSIONID),t.append("appid",""+e),t.append("cc",c.De.COUNTRY);let n=c.De.STORE_BASE_URL+"actions/addappformastersubscription",i=yield o().post(n,t,{withCredentials:!0});if(this.InvalidateCache(),!i.data.success||1!==i.data.success)return i.data.success?i.data.success:2;this.m_setOwnedApps.add(Number(e))}catch(e){let t=(0,l.l)(e);return console.log("AddLicense request failed:",t.strErrorMsg,t),2}return 1}))}UpdateFollowingApp(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){try{const n=c.De.STORE_BASE_URL+"explore/followgame",i=new FormData;i.append("appid",""+e),i.append("sessionid",c.De.SESSIONID),t||i.append("unfollow","1");const r=yield o().post(n,i,{withCredentials:!0});if(!r.data)return 2;this.InvalidateCache(),t?this.m_setFollowedApps.add(Number(e)):this.m_setFollowedApps.delete(Number(e))}catch(e){return console.log("Follow game request failed"),2}return 1}))}BHasPlatformPreferenceSet(){return this.m_setPreferredPlatforms.size>0&&this.m_setPreferredPlatforms.size<3}BIsPreferredPlatform(e){return this.m_setPreferredPlatforms.has(e)}InvalidateCache(e){const t=e||window;t.localStorage.setItem(p,(Number.parseInt(t.localStorage.getItem(p)||"0")+1).toString())}static Get(){return g.s_globalSingletonStore||(g.s_globalSingletonStore=new g,"dev"==c.De.WEB_UNIVERSE&&(window.DUS=g.s_globalSingletonStore)),g.s_globalSingletonStore}constructor(){this.m_setWishList=new Set,this.m_wishlistInOrder=Array(),this.m_setOwnedPackages=new Set,this.m_setOwnedApps=new Set,this.m_setFollowedApps=new Set,this.m_setExcludedTagsIds=new Set,this.m_setExcludedContentDescriptors=new Set,this.m_setRecommendedApps=new Set,this.m_recAppInOrder=new Array,this.m_mapIgnoredApps=new Map,this.m_mapIgnoredPackages=new Map,this.m_setCuratorsFollowed=new Set,this.m_setCuratorsIgnored=new Set,this.m_bShowFilteredUserReviewScores=!0,this.m_setPreferredPlatforms=new Set,this.m_bAllowAppImpressions=!1,this.m_primaryLanguage=-1,this.m_secondaryLanguages=new Set,this.m_setRecommendedTags=new Set,this.m_mapRecommendingCuratorsForApp=new Map,this.m_setPackagesInCart=new Set,this.m_setAppsInCart=new Set,this.m_nCartLineItemCount=0,this.m_rgHardwareUsed=new Set,this.m_bIsLoaded=!1,this.m_bAjaxInFlight=!1,(0,a.rC)(this)}}function _(){const[e,t]=(0,u.useState)(!g.Get().BIsLoaded());return(0,u.useEffect)((()=>{e&&g.Get().HintLoad().finally((()=>t(!g.Get().BIsLoaded())))}),[e]),[e,g.Get()]}(0,r.gn)([a.LO],g.prototype,"m_setWishList",void 0),(0,r.gn)([a.LO],g.prototype,"m_setOwnedPackages",void 0),(0,r.gn)([a.LO],g.prototype,"m_setOwnedApps",void 0),(0,r.gn)([a.LO],g.prototype,"m_setFollowedApps",void 0),(0,r.gn)([a.LO],g.prototype,"m_setExcludedTagsIds",void 0),(0,r.gn)([a.LO],g.prototype,"m_setExcludedContentDescriptors",void 0),(0,r.gn)([a.LO],g.prototype,"m_setRecommendedApps",void 0),(0,r.gn)([a.LO],g.prototype,"m_mapIgnoredApps",void 0),(0,r.gn)([a.LO],g.prototype,"m_mapIgnoredPackages",void 0),(0,r.gn)([a.LO],g.prototype,"m_setCuratorsFollowed",void 0),(0,r.gn)([a.LO],g.prototype,"m_setCuratorsIgnored",void 0),(0,r.gn)([a.LO],g.prototype,"m_bShowFilteredUserReviewScores",void 0),(0,r.gn)([a.LO],g.prototype,"m_primaryLanguage",void 0),(0,r.gn)([a.LO],g.prototype,"m_secondaryLanguages",void 0),(0,r.gn)([a.LO],g.prototype,"m_setRecommendedTags",void 0),(0,r.gn)([a.LO],g.prototype,"m_mapRecommendingCuratorsForApp",void 0),(0,r.gn)([a.LO],g.prototype,"m_setPackagesInCart",void 0),(0,r.gn)([a.LO],g.prototype,"m_setAppsInCart",void 0),(0,r.gn)([a.LO],g.prototype,"m_nCartLineItemCount",void 0),(0,r.gn)([a.LO],g.prototype,"m_rgHardwareUsed",void 0),(0,r.gn)([a.LO],g.prototype,"m_bAjaxInFlight",void 0),(0,r.gn)([a.Fl],g.prototype,"ExcludedContentDescriptor",null),(0,r.gn)([a.aD],g.prototype,"UpdateAppIgnore",null)},92011:(e,t,n)=>{"use strict";n.d(t,{Uh:()=>E,jh:()=>L});var i=n(85556),r=n(79545),s=n(14351),o=n(10162),a=n(31846),l=n(77131);const c=window.addEventListener||n.g&&n.g.addEventListener||(()=>{});let u,d=[],m=(e,t)=>d.push({error:e,cCallsitesToIgnore:t});const h=!0;{const e=console.assert;console.assert=(t,n,...i)=>{t||m(new Error(f(n,...i)),2),e.apply(console,[t,n,...i])};const t=console.error;console.error=(e,...n)=>{m(new Error(f(e,...n)),1),t.apply(console,[e,...n])},console.clogerror=(e,n,...i)=>{m(new Error(f(n,...i)),e+1),t.apply(console,[n,...i])},c("error",(e=>{m(e.error,0)})),u=window.setTimeout((()=>{d=[],m=()=>{}}),3e4)}const p={cCallsitesToIgnore:0,bIncludeMessageInIdentifier:!1},g=["/localhost:1337/","chrome-extension://"];class _{constructor(e=!0){this.m_transport=null,this.m_rgErrorQueue=[],this.m_sendTimer=null,this.m_bEnabled=!0,this.m_bInitialized=!1,e?(d.forEach((({error:e,cCallsitesToIgnore:t})=>this.ReportError(e,{cCallsitesToIgnore:t}))),m=(e,t)=>this.ReportError(e,{cCallsitesToIgnore:t})):m=()=>{},d=[],clearTimeout(u),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,i.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({},p),t);if(!this.m_bEnabled)return null;0;const r=yield function(e,t){try{return e.stack&&e.stack.match(v)?function(e,t){var n,r;return(0,i.mG)(this,void 0,void 0,(function*(){const{cCallsitesToIgnore:i,bIncludeMessageInIdentifier:s}=t,o=null!==(r=null===(n=e.stack)||void 0===n?void 0:n.split("\n"))&&void 0!==r?r:[];let a=y(o.filter((e=>!!e.match(v)))[i]);s&&(a=`${a} ${e.message}`);const l=o.map((e=>{const t=e.match(/(.*)\((.*):(\d+):(\d+)\)/);if(!t)return e;if(5===t.length){const[e,n,i,r,s]=t,o=parseInt(r),a=parseInt(s);if(!isNaN(o)&&!isNaN(a))return[n,i,o,a]}return e})).filter((e=>!!e));return{identifier:a,identifierHash:yield L(a),message:l}}))}(e,t):e.stack&&e.stack.match(C)?function(e,t){var n,r;return(0,i.mG)(this,void 0,void 0,(function*(){const{cCallsitesToIgnore:i,bIncludeMessageInIdentifier:s}=t,o=null!==(r=null===(n=e.stack)||void 0===n?void 0:n.split("\n"))&&void 0!==r?r:[];let a=y(o.filter((e=>!!e.match(C)))[i]);s&&(a=`${a} ${e.message}`);const l=o.map((e=>{const t=e.match(/(.*@)?(.*):(\d+):(\d+)/);if(!t)return e;if(5===t.length){const[e,n,i,r,s]=t,o=parseInt(r),a=parseInt(s);if(!isNaN(o)&&!isNaN(a))return[n,i,o,a]}return e})).filter((e=>!!e));return{identifier:a,identifierHash:yield L(a),message:[e.message,...l]}}))}(e,t):e.stack&&e.stack.match(S)?function(e,t){var n,r;return(0,i.mG)(this,void 0,void 0,(function*(){const{bIncludeMessageInIdentifier:i,cCallsitesToIgnore:s}=t,o=null!==(r=null===(n=e.stack)||void 0===n?void 0:n.split("\n"))&&void 0!==r?r:[],a=o[s],l=a.split("/");let c=l[l.length-1];a.indexOf("@")>-1&&(c=a.split("@")[0]+"@"+c),i&&(c=`${c} ${e.message}`);const u=o.map((e=>{const t=e.match(/(.*@)?(.*):(\d+):(\d+)/);if(!t)return e;if(5===t.length){const[e,n,i,r,s]=t,o=parseInt(r),a=parseInt(s);if(!isNaN(o)&&!isNaN(a))return[n,i,o,a]}return e})).filter((e=>!!e));return{identifier:c,identifierHash:yield L(c),message:[e.message,...u]}}))}(e,t):(w||(console.warn("Error reporter does not know how to parse generated stack:"),console.warn(e.stack),w=!0),null)}catch(e){return console.warn(`Failed to normalize error stack: ${e}`),null}}(e,n);return r?(this.SendErrorReport(r),r):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 g){const i=new RegExp(t);if(n.match(i))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=r.gA.Init(s.$4),n=e.reduce(((e,t)=>(e[t.identifier]?e[t.identifier].count++:e[t.identifier]={report:t,count:1},e)),{}),i=Object.keys(n).map((e=>{const{report:t,count:i}=n[e],r=new s.kb;return r.set_count(i),r.set_identifier(t.identifier+" "+t.identifierHash),r.set_message(JSON.stringify(t.message)),r}));t.Body().set_product(this.m_strProduct),t.Body().set_version(this.m_strVersion),t.Body().set_errors(i),s.TF.ReportClientError(this.m_transport,t)}get version(){return this.m_strVersion}get product(){return this.m_strProduct}get reporting_enabled(){return h}}function f(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 v=/^\s*at .*(\S+:\d+|\(native\))/m,C=/(^|@)\S+:\d+/,S=/.*\/bundle-[a-zA-Z0-9]+:\d+:\d+/;let b,w=!1;function y(e){return function(e){const t="https://",n=e.indexOf(t);if(-1===n)return e;const i=e.indexOf("/",n+t.length);return-1===i?e:e.slice(0,n)+e.slice(i)}(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 E=()=>(b||D(new _),b),D=e=>{b=e,o.SV.InstallErrorReportingStore(b),r.lq.InstallErrorReportingStore(b),a.LJ.InstallErrorReportingStore(b),l.R.InstallErrorReportingStore(b)};function L(e){return(0,i.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,i=e.length;t("00"+e.toString(16)).slice(-2))).join("")).slice(0,16)}catch(e){return""}var t}))}},97423:(e,t,n)=>{"use strict";n.d(t,{FY:()=>E,Fg:()=>V,NR:()=>F,Nr:()=>S,PU:()=>b,Pi:()=>ee,VI:()=>L,Zz:()=>K,a8:()=>y,d2:()=>Z,g1:()=>W,gQ:()=>N,gt:()=>j,pH:()=>Q,rc:()=>H,sA:()=>te,tL:()=>x,x:()=>U});var i=n(85556),r=n(49457),s=n(79545),o=n(40212),a=n(42718),l=n(54842),c=n(35427),u=n(15690),d=n(14476),m=n(46984),h=n(68785),p=n(65255),g=n(37563),_=n(92686),f=n(62210),v=n(75683);const C={11:{displayNameLoc:"#SteamNotification_HelpRequest_Author",titleLoc:"#SteamNotification_HelpRequest_Title",bodyLoc:e=>({locString:"#SteamNotification_HelpRequest_Body",params:[e.ticket]}),link:e=>p.De.HELP_BASE_URL+"wizard/HelpRequest/"+e.ticket},6:{displayNameLoc:"#SteamNotifications_MajorSale",titleLoc:e=>({locString:e.title}),bodyLoc:e=>(0,g.h4)()&&e.link.includes("https://store.steampowered.com")?"#SteamNotifications_MajorSale_SteamChina_Title":e.body,image:e=>e.image,link:e=>(0,g.h4)()&&e.link.includes("https://store.steampowered.com")?e.link.replace("https://store.steampowered.com",p.De.STORE_BASE_URL):e.link},10:{displayNameLoc:e=>e.display_name,titleLoc:e=>e.title,bodyLoc:e=>e.body,image:e=>e.image,link:e=>e.link},14:{titleLoc:"#SteamNotification_ModeratorMessage_Title",link:e=>p.De.COMMUNITY_BASE_URL+"my/moderatormessages/"+e.msgid}};function S(e){if(void 0!==e)return C[e]}function b(e){return!!S(e)}const w={16:{steamidAttribute:"inviter",titleLoc:"#SteamNotifications_FamilyInviteTitle",bodyLoc:"#SteamNotifications_FamilyInviteBody",url:e=>`${p.De.STORE_BASE_URL}account/familymanagement/join?invitation=${e.familyid}`},15:{steamidAttribute:"steamid",titleLoc:"#SteamNotifications_ParentalFeatureRequestTitle",bodyLoc:"#SteamNotifications_ParentalFeatureRequestBody",url:()=>`${p.De.STORE_BASE_URL}account/familymanagement?tab=requests`},17:{steamidAttribute:"requestor_steamid",titleLoc:"#SteamNotifications_FamilyPurchaseRequestTitle",bodyLoc:"#SteamNotifications_FamilyPurchaseRequestBody",url:e=>(0,_.cc)(e.familyid,e.request_id)},19:{steamidAttribute:"responder_steamid",titleLoc:e=>1==e.action?"#SteamNotifications_FamilyPurchaseRequestResponseDeclinedTitle":"",bodyLoc:e=>1==e.action?"#SteamNotifications_FamilyPurchaseRequestDeclinedBody":"",url:()=>`${p.De.STORE_BASE_URL}account/familymanagement?tab=requests`},18:{steamidAttribute:"steamid",titleLoc:"#SteamNotifications_ParentalPlaytimeRequestTitle",bodyLoc:"#SteamNotifications_ParentalPlaytimeRequestBody",url:()=>`${p.De.STORE_BASE_URL}account/familymanagement?tab=requests`},20:{steamidAttribute:"steamid_approver",titleLoc:e=>e.approved?"#SteamNotifications_ParentalFeatureAccessResponseTitleApproved":"#SteamNotifications_ParentalFeatureAccessResponseTitleDeclined",bodyLoc:e=>e.approved?"#SteamNotifications_ParentalFeatureAccessResponseBodyApproved":"#SteamNotifications_ParentalFeatureAccessResponseBodyDeclined",url:()=>`${p.De.STORE_BASE_URL}account/familymanagement?tab=requests`},21:{steamidAttribute:"steamid_approver",titleLoc:e=>e.approved?"#SteamNotifications_ParentalPlaytimeResponseTitleApproved":"#SteamNotifications_ParentalPlaytimeResponseTitleDeclined",bodyLoc:e=>e.approved?"#SteamNotifications_ParentalPlaytimeResponseBodyApproved":"#SteamNotifications_ParentalPlaytimeResponseBodyDeclined",url:()=>`${p.De.STORE_BASE_URL}account/familymanagement?tab=requests`}};function y(e){if(void 0!==e)return w[e]}function E(e){return!!y(e)}const D=[3,5,2,4,8,9,12,22,24];function L(e){return null!=D.findIndex((t=>t==e))}function M(e){return!e.hidden&&((b(t=e.notification_type)||E(t)||L(t))&&Z(e.body_data));var t}var R;!function(e){e[e.New=0]="New",e[e.Update=1]="Update",e[e.Remove=2]="Remove"}(R||(R={}));const I=172800,T=600,A=new h.sO("SteamNotificationStore"),k=A.Debug,O=A.Error,B=A.Warning;class x{constructor(){this.m_rgNotificationRollups=[],this.m_summary={comments:0,inventory_items:0,invites:0,gifts:0,offline_messages:0,trade_offers:0,async_game_updates:0,moderator_messages:0,help_request_replies:0,general:0,wishlist:0,pending_gifts:0,pending_invites:0,major_sale:0,parental_feature_requests:0,family_invites:0,family_purchase_requests:0,family_purchase_request_responses:0,pending_family_invites:0,parental_playtime_requests:0,parental_feature_access_responses:0,parental_playtime_responses:0,requested_game_added:0},this.m_bLoaded=!1,this.m_nUnviewed=0,this.m_rgNotifyServerRead=[],this.m_rgNotifyServerHidden=[],this.m_keyNotifyServerRead="",this.m_keyNotifyServerHidden="",this.m_rgUnreadNotificationIDs=[],this.m_rgNewRollupIDs=new Map,this.m_rgTestNotifications=[],this.m_currentNotificationsData=null,this.m_strRemoteClientID="",this.m_eTargetClientType=0,this.m_fnOnNotificationCallback=null,(0,l.rC)(this)}BHasNotificationsData(){return null!=this.m_currentNotificationsData}setTransport(e){this.m_transport=e}RegisterOnNotificationCallback(e){this.m_fnOnNotificationCallback=e}SetClientFilters(e,t=0){this.m_strRemoteClientID=e,this.m_eTargetClientType=t}NotifyServerNotificationsRead(e){this.m_rgNotifyServerRead.push(...e),this.UpdateServer()}NotifyServerNotificationsHidden(e){this.m_rgNotifyServerHidden.push(...e),this.UpdateServer()}BSendToCallbackAsNew(e){return!e.read&&!te(e)&&!this.m_rgUnreadNotificationIDs.includes(e.notification_id)}Dev_AddTestNotification(e){}Dev_UpdateTestNotificationReadState(e,t){const n=this.m_rgTestNotifications.findIndex((t=>t.notification_id==e));return-1!==n&&this.m_rgTestNotifications[n].read!=t&&(this.m_rgTestNotifications[n].read=t,!0)}UpdateServer(){if(this.m_rgNotifyServerRead.length>0){const e=s.gA.Init(r.rM);e.Body().set_notification_ids(this.m_rgNotifyServerRead),r.ST.MarkNotificationsRead(this.m_transport,e)&&(this.m_rgNotifyServerRead=[])}if(this.m_rgNotifyServerHidden.length>0){const e=s.gA.Init(r.HY);e.Body().set_notification_ids(this.m_rgNotifyServerHidden),r.ST.HideNotification(this.m_transport,e)&&(this.m_rgNotifyServerHidden=[])}}MarkItemRead(e,t=!1){var n;let i=this.m_rgNotificationRollups.findIndex((t=>t.item.notification_id==e));if(-1===i)return void(t?this.NotifyServerNotificationsRead([e]):O("Attempted to mark notification read that is not in the notification store"));let r=this.m_rgNotificationRollups[i];if(r.item.read)O("Attempted to mark notification read that is already read");else if(r.item.read=!0,(null===(n=r.rgunread)||void 0===n?void 0:n.length)>0){this.ReduceNewTotals(r.type,r.rgunread.length);let e=[];r.rgunread.forEach((t=>{e.push(t)})),r.rgread.push(...r.rgunread),r.rgunread=[],this.NotifyServerNotificationsRead(e)}}MarkItemHidden(e){var t,n;let i=this.m_rgNotificationRollups.findIndex((t=>t.item.notification_id==e));if(-1===i)return void O("Attempted to mark notification hidden that is not in the notification store");let r=this.m_rgNotificationRollups[i];r.item.hidden=!0,(null===(t=r.rgunread)||void 0===t?void 0:t.length)>0&&this.ReduceNewTotals(r.type,null===(n=r.rgunread)||void 0===n?void 0:n.length),this.NotifyServerNotificationsHidden([...r.rgunread,...r.rgread])}ReduceNewTotals(e,t){J(this.m_summary,e,-t)}MarkAllItemsViewed(){const e=s.gA.Init(r.a2);e.Body().set_remote_client_id(this.m_strRemoteClientID),e.Body().set_target_client_type(this.m_eTargetClientType),r.ST.MarkNotificationsViewed(this.m_transport,e),this.m_nUnviewed=0}MarkAllItemsRead(e){let t=[],n=[];const i=null!=e?e:this.m_rgNotificationRollups;return i.forEach(((e,i)=>{e.rgunread.length>0&&(e.rgunread.forEach((e=>{t.push(e)})),n.push(i))})),t.length>0&&(this.m_summary=Object.assign({comments:0,inventory_items:0,invites:0,gifts:0,offline_messages:0,trade_offers:0,async_game_updates:0,moderator_messages:0,help_request_replies:0,general:0,wishlist:0,pending_gifts:0,pending_invites:0,major_sale:0,parental_feature_requests:0,family_invites:0,family_purchase_requests:0,family_purchase_request_responses:0,pending_family_invites:0,parental_playtime_requests:0,parental_feature_access_responses:0,parental_playtime_responses:0,requested_game_added:0},{pending_gifts:this.m_summary.pending_gifts,pending_invites:this.m_summary.pending_invites,pending_family_invites:this.m_summary.pending_family_invites}),n.forEach((e=>{let t=i[e];t.item.read=!0,t.rgunread=[]})),this.NotifyServerNotificationsRead(t)),t.length+0}ApplyNotificationsUpdate(e){var t,n;if(k("ApplyNotificationsUpdate",e),!e||!(null===(t=e.notifications)||void 0===t?void 0:t.length)&&void 0===e.pending_friend_count&&void 0===e.pending_gift_count)return void k("Error: ApplyNotificationsUpdate was called with no data");if(!this.m_currentNotificationsData)return void k("Error: ApplyNotificationsUpdate was called before this.m_currentNotificationsData was set");const i=this.m_currentNotificationsData;null===(n=e.notifications)||void 0===n||n.forEach((e=>{const t=i.notifications.findIndex((t=>t.notification_id==e.notification_id));-1!=t?Object.assign(i.notifications[t],e):i.notifications.push(e)})),void 0!==e.pending_friend_count&&(this.m_currentNotificationsData.pending_friend_count=e.pending_friend_count),void 0!==e.pending_gift_count&&(this.m_currentNotificationsData.pending_gift_count=e.pending_gift_count),void 0!==e.pending_family_invite_count&&(this.m_currentNotificationsData.pending_family_invite_count=e.pending_family_invite_count),this.ProcessNotifications()}ProcessNewNotificationPayload(e){this.m_currentNotificationsData=JSON.parse(JSON.stringify(e)),this.ProcessNotifications()}ProcessNotifications(){var e,t,n,i,r,s,o,a;let l=[],c={comments:0,inventory_items:0,invites:0,gifts:0,offline_messages:0,trade_offers:0,async_game_updates:0,moderator_messages:0,help_request_replies:0,general:0,wishlist:0,pending_gifts:0,pending_invites:0,major_sale:0,parental_feature_requests:0,family_invites:0,family_purchase_requests:0,family_purchase_request_responses:0,pending_family_invites:0,parental_playtime_requests:0,parental_feature_access_responses:0,parental_playtime_responses:0,requested_game_added:0},u=0;if(null===(t=null===(e=this.m_currentNotificationsData)||void 0===e?void 0:e.notifications)||void 0===t||t.forEach((e=>{if(!this.BExcludeClientTargetedNotification(e)){if(this.m_rgNotifyServerHidden.length>0){-1!==this.m_rgNotifyServerHidden.findIndex((t=>t==e.notification_id))&&(e.hidden=!0)}if(M(e)){if(this.m_rgNotifyServerRead.length>0){-1!==this.m_rgNotifyServerRead.findIndex((t=>t==e.notification_id))&&(e.read=!0)}e.read||J(c,e.notification_type,1),e.viewed||u++,this.AddNotificationToRollups(l,e)}}})),l.sort(((e,t)=>e.timestamp-t.timestamp)),this.m_fnOnNotificationCallback){for(const e of l)if(e.bSendToCallbackAsNew)this.m_rgNewRollupIDs.set(e.key,e),this.m_fnOnNotificationCallback(e,R.New);else if(this.m_rgNewRollupIDs.has(e.key)){let t=this.m_rgNewRollupIDs.get(e.key);t.item.read==e.item.read&&t.item.viewed==e.item.viewed||(this.m_rgNewRollupIDs.set(e.key,e),this.m_fnOnNotificationCallback(e,R.Update))}for(const[e,t]of this.m_rgNewRollupIDs)-1==l.findIndex((t=>t.key==e))&&(this.m_fnOnNotificationCallback(t,R.Remove),this.m_rgNewRollupIDs.delete(e))}l.reverse(),c.pending_gifts=null!==(i=null===(n=this.m_currentNotificationsData)||void 0===n?void 0:n.pending_gift_count)&&void 0!==i?i:0,c.pending_invites=null!==(s=null===(r=this.m_currentNotificationsData)||void 0===r?void 0:r.pending_friend_count)&&void 0!==s?s:0,c.pending_family_invites=null!==(a=null===(o=this.m_currentNotificationsData)||void 0===o?void 0:o.pending_family_invite_count)&&void 0!==a?a:0,this.m_rgNotificationRollups=l.slice(),this.m_summary=c,this.m_bLoaded=!0,this.m_nUnviewed=u}BExcludeClientTargetedNotification(e){const t=Z(e.body_data);return!!t&&(!(!t.remote_client_id||this.m_strRemoteClientID==t.remote_client_id)||!(!t.target_client_types||this.m_eTargetClientType&t.target_client_types))}BReplaceRollupItem(e,t){return e.read!=t.read?t.read:e.read&&t.read||t.viewed==e.viewed?t.timestampe.key==s));if(-1==l)e.push({type:a,key:s,item:t,rollup_count:1,timestamp:t.timestamp,rgunread:t.read?[]:[t.notification_id],rgread:t.read?[t.notification_id]:[],bSendToCallbackAsNew:o,url:G(r)});else{let n=e[l];this.BReplaceRollupItem(t,n.item)&&(n.item.read&&(n.url=G(r)),n.item=t,n.timestamp=t.timestamp,n.bSendToCallbackAsNew=o),n.rollup_count=n.rollup_count+1,t.read?n.rgread.push(t.notification_id):n.rgunread.push(t.notification_id)}(null===(i=r.json_data)||void 0===i?void 0:i.app_id)&&u.Z.Get().QueueAppRequest(r.json_data.app_id,{include_assets:!0})}break;case 4:const l=z(t);if(l){const n="item_"+l.appid;this.AddNotificationToRollupByAppID(e,t,n,a,o,l.appid)}break;case 12:const c=null===(r=z(t))||void 0===r?void 0:r.appid.toString();if(c){const n="asyncgame_"+c;this.AddNotificationToRollupByAppID(e,t,n,a,o,c)}break;case 8:const d=null===(s=z(t))||void 0===s?void 0:s.appid;d&&u.Z.Get().QueueAppRequest(d,{include_assets:!0});default:e.push({type:a,key:t.notification_id,item:t,timestamp:t.timestamp,rgunread:t.read?[]:[t.notification_id],rgread:t.read?[t.notification_id]:[],bSendToCallbackAsNew:o})}}AddNotificationToRollupByAppID(e,t,n,i,r,s){let o=e.findIndex((e=>e.key==n));if(-1==o)e.push({type:i,key:n,item:t,rollup_count:1,timestamp:t.timestamp,rgunread:t.read?[]:[t.notification_id],rgread:t.read?[t.notification_id]:[],bSendToCallbackAsNew:r});else{let n=e[o];this.BReplaceRollupItem(t,n.item)&&(n.item=t,n.timestamp=t.timestamp,n.bSendToCallbackAsNew=r),n.rollup_count=n.rollup_count+1,t.read?n.rgread.push(t.notification_id):n.rgunread.push(t.notification_id)}u.Z.Get().QueueAppRequest(parseInt(s),{include_assets:!0})}}function N(e,t,n,o,a,l=!0,c=!1){var u;return(0,i.mG)(this,void 0,void 0,(function*(){if(!t)throw new Error("Invalid steamid for GetSteamNotifications");const i=s.gA.Init(r.BX);i.Body().set_language(n),i.Body().set_include_read(l),i.Body().set_include_pinned_counts(!0),i.Body().set_include_confirmation_count(c);const d=yield r.ST.GetSteamNotifications(e,i);if(1!==d.GetEResult())throw B(`Received error from GetSteamNotifications. Result ${d.GetEResult()}. Transport ${d.Hdr().transport_error()}`),new Error(`Error from GetSteamNotifications: ${d.GetEResult()}`);const m=d.Body().toObject();return o&&(m.notifications=null===(u=m.notifications)||void 0===u?void 0:u.filter((e=>!Q(e.notification_type,o,a)))),m}))}(0,i.gn)([l.LO],x.prototype,"m_rgNotificationRollups",void 0),(0,i.gn)([l.LO],x.prototype,"m_summary",void 0),(0,i.gn)([l.LO],x.prototype,"m_bLoaded",void 0),(0,i.gn)([l.LO],x.prototype,"m_nUnviewed",void 0),(0,i.gn)([l.aD],x.prototype,"ProcessNotifications",null);const P="ItemMetadata";function F(e,t,n){let r=q(4,e.body_data);r.steamid=t;let l=(0,a.useQuery)(function(e){return`${P}_${null==e?void 0:e.steamid}_${null==e?void 0:e.appid}_${null==e?void 0:e.contextid}_${null==e?void 0:e.assetid}`}(r),(()=>(0,i.mG)(this,void 0,void 0,(function*(){return function(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!(e&&e.steamid&&e.contextid&&e.appid&&e.assetid))return O("Item notification missing required attributes"),null;const n=s.gA.Init(o.IX);n.Body().set_steamid(e.steamid),n.Body().set_contextid(e.contextid),n.Body().set_appid(parseInt(e.appid)),n.Body().set_get_descriptions(!0);let i=new o._B;i.add_assetids(e.assetid),n.Body().set_filters(i);const r=yield o.$n.GetInventoryItemsWithDescriptions(t,n);if(1!==r.GetEResult())return O("Request for steam item metadata did not succeed",r.GetEResult()),null;let a="";const l=yield u.Z.Get().QueueAppRequest(parseInt(e.appid),{});if(1==l){const t=u.Z.Get().GetApp(parseInt(e.appid));a=null==t?void 0:t.GetName()}else O("Failed getting app info",l);return{app_name:a,item_data:r.Body().toObject().descriptions[0]}}))}(r,n)}))),{staleTime:1/0});return l.isSuccess?l.data:null}function G(e){let t=`comment/${e.comment_type}/bounce/${e.owner_steam_id.ConvertTo64BitString()}/${e.forum_id}/?feature2=${e.topic_id}`;return e.last_post>0&&(t+="&tscn="+(e.last_post-1)),t}function V(e){return 10==e.comment_type}function H(e){return null==e?void 0:e.bhas_friend}function U(e){return 10==e.comment_type}function j(e){return V(e)||H(e)}function W(e){return U(e)}function Z(e){if(!e)return null;try{return JSON.parse(e)}catch(t){k("Steam notification in invalid format:",e)}return null}function z(e){return q(e.notification_type,e.body_data)}function K(e){var t;return q(e.type,null===(t=e.item)||void 0===t?void 0:t.body_data)}function q(e,t){var n,i,r,s;let o=Z(t);if(!o)return null;switch(e){case 2:return o.gifter_account;case 22:return{responder_steamid:o.responder_steamid,package_id:o.package_id,bundle_id:o.bundle_id};case 9:return parseInt(o.sender);case 8:return{appid:o.appid,count:null!==(n=o.count)&&void 0!==n?n:1,appids:null!==(i=o.appids)&&void 0!==i?i:[]};case 12:return!o.appid||!o.state||1!=o.state&&2!=o.state?(k("Async game notification invalid data",t),null):{appid:parseInt(o.appid),state:parseInt(o.state)};case 3:let a={owner_steam_id:o.owner_steam_id?new c.K(o.owner_steam_id):null,bclan_account:$(o.bclan_account),title:o.title,comment:o.text,time:o.last_post,comment_type:Number(o.type),topic_id:o.topic_id,forum_id:o.forum_id,account_steam_id:o.account_id?c.K.InitFromAccountID(o.account_id):null,bhas_friend:$(o.bhas_friend),bis_forum:$(o.bis_forum),last_post:o.last_post,bsubscribed:$(o.subscribed),bis_owner:$(o.bis_owner)};return o.json_data&&(a.json_data={app_id:parseInt(o.json_data.app_id),file_type:parseInt(o.json_data.file_type),title:o.json_data.title}),a;case 5:return{requestorID:parseInt(o.requestor_id),state:o.state?parseInt(o.state):0};case 4:return{appid:parseInt(o.app_id),assetid:null!==(r=o.asset_id)&&void 0!==r?r:"",contextid:null!==(s=o.context_id)&&void 0!==s?s:""};default:return k("GetCustomNotificationDataByType called with unexpected type:"+e,t),null}}function $(e){var t;if(void 0===e)return!1;if("number"==typeof e)return e>0;if("string"==typeof e)switch(null===(t=e.toLowerCase())||void 0===t?void 0:t.trim()){case"true":case"1":return!0;default:return!1}return k("notification contained unexpected boolean value"),!1}const X={0:{rollup_field:void 0,eFeature:void 0},1:{rollup_field:void 0,eFeature:void 0},2:{rollup_field:"gifts",eFeature:d.zE},3:{rollup_field:"comments",eFeature:2},4:{rollup_field:"inventory_items",eFeature:3},5:{rollup_field:"invites",eFeature:4},6:{rollup_field:"major_sale",eFeature:1},7:{rollup_field:void 0,eFeature:void 0},8:{rollup_field:"wishlist",eFeature:1},9:{rollup_field:"trade_offers",eFeature:6},10:{rollup_field:"general",eFeature:d.zE},11:{rollup_field:"help_request_replies",eFeature:d.zE},12:{rollup_field:"async_game_updates",eFeature:d.zE},13:{rollup_field:void 0,eFeature:4},14:{rollup_field:"moderator_messages",eFeature:2},15:{rollup_field:"parental_feature_requests",eFeature:d.zE},16:{rollup_field:"family_invites",eFeature:d.zE},17:{rollup_field:"family_purchase_requests",eFeature:d.zE},18:{rollup_field:"parental_playtime_requests",eFeature:d.zE},19:{rollup_field:"family_purchase_request_responses",eFeature:d.zE},20:{rollup_field:"parental_feature_access_responses",eFeature:d.zE},21:{rollup_field:"parental_playtime_responses",eFeature:d.zE},22:{rollup_field:"requested_game_added",eFeature:d.zE},23:{rollup_field:void 0,eFeature:d.zE},24:{rollup_field:void 0,eFeature:d.zE}};function Y(e){const t=X[e];return(0,f.X)(!!t,`Missing notification type data for ${e}`),t}function Q(e,t,n){if(!t)return!1;const i=Y(e);return(0,v.Bu)(t,(null==i?void 0:i.eFeature)||d.JY,n)}function J(e,t,n){(0,l.z)((()=>{const i=Y(t);(null==i?void 0:i.rollup_field)&&(e[i.rollup_field]=Math.max(0,e[i.rollup_field]+n))}))}function ee(e){return!e.viewed||e.viewed+T>(0,m.QU)()}function te(e){return e.viewed&&e.viewed+I<(0,m.QU)()}},80998:(e,t,n)=>{"use strict";n.d(t,{De:()=>c,Fq:()=>l,Gk:()=>u,pA:()=>a});var i=n(80002),r=n(37563),s=n(38071),o=n(44922);function a(e,t){e.Body().set_context(l(t))}function l(e){let t=new i.WJ;return e||t.set_country_code(r.De.COUNTRY),t.set_language(r.De.LANGUAGE),r.De.EREALM!=s.IN.k_ESteamRealmUnknown&&t.set_steam_realm(r.De.EREALM),t}function c(e,t){e.Body().set_data_request(i.Qn.fromObject(t))}function u(e,t){e.Body().set_filters(o.Jd.fromObject(t))}},51465:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var i=n(54842),r=n(86437),s=n(62210),o=n(31846),a=n(12251),l=n(37563);function c(e){return function(e,t,n){switch(e){case"date_full":return(0,o.vX)(t);case"date_month":return(0,a.LO)(new Date(1e3*t));case"date_quarter":return(0,a.Kb)(new Date(1e3*t));case"date_year":return(0,a.Np)(new Date(1e3*t));case"text_comingsoon":return n||(0,o.Xx)("#Store_ComingSoon_ComingSoon");case"text_tba":return n||(0,o.Xx)("#Store_ComingSoon_TBA");default:return""}}(e.coming_soon_display,e.steam_release_date,e.custom_release_date_message)}class u{constructor(e,t){var n,i,r;this.m_bVisible=!1,this.m_rgStoreTags=[],this.m_rgStoreTagIDs=[],this.m_DataRequested={include_tag_count:0},this.k_regexSalePage=/^https?:\/\/[^\/]*(?:valvesoftware|steampowered).com\/(?:(curator|dev|developer|pub|publisher|franchise)\/[0-9a-zA-Z\-_]+\/)?sale\//,this.m_eItemType=e.item_type(),this.m_unID=e.id(),this.m_bVisible=!!e.visible(),this.m_strName=e.name(),this.m_strStoreURLPath=e.store_url_path(),this.m_unAppID=e.appid(),this.m_eAppType=e.type(),this.m_rgIncludedAppTypes=e.included_types(),this.m_rgIncludedAppIDs=e.included_appids(),this.m_bIsFree=e.is_free(),this.m_bIsFreeTemporary=e.is_free_temporarily(),this.m_bIsEarlyAccess=e.is_early_access(),this.m_RelatedItems=null===(n=e.related_items())||void 0===n?void 0:n.toObject(),this.m_ContentDescriptorIDs=e.content_descriptorids(),this.m_StoreCategories=e.categories().toObject(),this.m_BestPurchaseOption=null===(i=e.best_purchase_option())||void 0===i?void 0:i.toObject(),this.m_strStoreURLPathOverride=e.store_url_path_override(),this.m_freeWeekend=null===(r=e.free_weekend())||void 0===r?void 0:r.toObject(),this.m_strInternalName=e.internal_name(),1!=this.m_eItemType&&2!=this.m_eItemType||(this.m_SelfPurchaseOption=e.self_purchase_option(!1)?e.self_purchase_option().toObject():this.m_BestPurchaseOption),this.MergeData(e,t)}MergeData(e,t){t.include_assets&&!this.m_Assets&&(this.m_Assets=new m(e.assets(),e.id()),this.m_DataRequested.include_assets=!0),t.include_assets_without_overrides&&!this.m_AssetsWithoutOverrides&&(this.m_AssetsWithoutOverrides=new m(e.assets_without_overrides(),e.id()),this.m_DataRequested.include_assets_without_overrides=!0),t.include_release&&!this.m_ReleaseInfo&&(this.m_ReleaseInfo=e.release().toObject(),this.m_DataRequested.include_release=!0),t.include_platforms&&!this.m_Platforms&&(this.m_Platforms=e.platforms().toObject(),this.m_DataRequested.include_platforms=!0),t.include_all_purchase_options&&!this.m_rgPurchaseOptions&&(this.m_rgPurchaseOptions=e.purchase_options().map((e=>e.toObject())),this.m_DataRequested.include_all_purchase_options=!0),t.include_screenshots&&!this.m_Screenshots&&(this.m_Screenshots=new g(e.screenshots()),this.m_DataRequested.include_screenshots=!0),t.include_trailers&&!this.m_Trailers&&(this.m_Trailers=new h(e.trailers()),this.m_DataRequested.include_trailers=!0),t.include_tag_count&&t.include_tag_count>this.m_rgStoreTags.length&&this.m_DataRequested.include_tag_counte.toObject())),this.m_rgStoreTagIDs=this.m_rgStoreTags.map((e=>e.tagid)),this.m_DataRequested.include_tag_count=Math.max(t.include_tag_count,this.m_rgStoreTags.length||0)),t.include_reviews&&!this.m_ReviewInfo&&(this.m_ReviewInfo=e.reviews().toObject(),this.m_DataRequested.include_reviews=!0),t.include_basic_info&&!this.m_BasicInfo&&(this.m_BasicInfo=e.basic_info().toObject(),this.m_DataRequested.include_basic_info=!0),t.include_supported_languages&&!this.m_rgSupportedLanguages&&(this.m_rgSupportedLanguages=e.supported_languages().map((e=>e.toObject())),this.m_DataRequested.include_supported_languages=!0)}static BDataRequestContainsOtherDataRequest(e,t){return Boolean((!t.include_assets||e.include_assets)&&(!t.include_release||e.include_release)&&(!t.include_platforms||e.include_platforms)&&(!t.include_all_purchase_options||e.include_all_purchase_options)&&(!t.include_screenshots||e.include_screenshots)&&(!t.include_trailers||e.include_trailers)&&(!t.include_ratings||e.include_ratings)&&(!t.include_tag_count||(e.include_tag_count||0)>=t.include_tag_count)&&(!t.include_reviews||e.include_reviews)&&(!t.include_basic_info||e.include_basic_info)&&(!t.include_supported_languages||e.include_supported_languages))}BContainDataRequest(e){return u.BDataRequestContainsOtherDataRequest(this.m_DataRequested,e)}BCheckDataRequestIncluded(e){"dev"!=l.De.WEB_UNIVERSE&&"beta"!=l.De.WEB_UNIVERSE||(0,s.X)(this.BContainDataRequest(e),`Requested data without for ${(0,r.qE)(this.m_eItemType)} @ ${this.m_unID}`,(0,i.ZN)(e),(0,i.ZN)(this.m_DataRequested))}GetStoreItemType(){return this.m_eItemType}GetID(){return this.m_unID}GetUniqueID(){return this.m_eItemType+"_"+this.m_unID}BIsVisible(){return this.m_bVisible}GetName(){return this.m_strName}GetStorePageURL(){return l.De.STORE_BASE_URL+this.m_strStoreURLPath}GetStorePageURLWithOverride(){return this.m_strStoreURLPathOverride&&this.m_strStoreURLPathOverride.length>0?this.GetStorePageURLOverride():this.GetStorePageURL()}GetStorePageURLOverride(){return this.m_strStoreURLPathOverride}GetCommunityPageURL(){return this.GetAppID()?l.De.COMMUNITY_BASE_URL+"app/"+this.GetAppID():null}GetCommunityDiscussionForumsURL(){return this.GetAppID()?l.De.COMMUNITY_BASE_URL+"app/"+this.GetAppID()+"/discussions/":null}GetAppID(){return this.m_unAppID}GetAppIDToRun(){const e=this.GetParentAppID();return e&&11!=this.m_eAppType?e:this.GetAppID()}GetAppType(){return this.m_eAppType}BIsApplicationOrTool(){return 6==this.GetAppType()||13==this.GetAppType()}BIsSalePage(){return 0===this.GetStoreItemType()&&this.k_regexSalePage.test(this.GetStorePageURLWithOverride())}GetSalePageVanityURL(){let e=this.GetStorePageURLWithOverride();return 0===this.GetStoreItemType()&&(e=this.GetStorePageURLWithOverride().replace(this.k_regexSalePage,""),e.endsWith("/")&&(e=e.replace("/",""))),e}GetIncludedAppTypes(){return this.m_rgIncludedAppTypes}GetIncludedAppIDs(){return this.m_rgIncludedAppIDs}GetIncludedAppIDsOrSelf(){return 0==this.GetStoreItemType()?[this.GetID()]:this.GetIncludedAppIDs()}BIsFree(){return this.m_bIsFree}BIsFreeTemporary(){return this.m_bIsFreeTemporary}BIsFreeWeekend(){const e=Date.now()/1e3;return Boolean(this.m_freeWeekend)&&this.m_freeWeekend.start_time<=e&&e<=this.m_freeWeekend.end_time}GetFreeWeekendEnd(){var e;return null===(e=this.m_freeWeekend)||void 0===e?void 0:e.end_time}GetFreeWeekendPlayTextOverride(){var e;return null===(e=this.m_freeWeekend)||void 0===e?void 0:e.text}BIsEarlyAccess(){return this.m_bIsEarlyAccess}GetParentAppID(){var e;return null===(e=this.m_RelatedItems)||void 0===e?void 0:e.parent_appid}GetContentDescriptorIDs(){return this.m_ContentDescriptorIDs}HasContentDescriptorID(e){var t;return null===(t=this.m_ContentDescriptorIDs)||void 0===t?void 0:t.includes(e)}GetStoreCategories_SupportedPlayers(){var e;return(null===(e=this.m_StoreCategories)||void 0===e?void 0:e.supported_player_categoryids)||[]}GetStoreCategories_Features(){var e;return(null===(e=this.m_StoreCategories)||void 0===e?void 0:e.feature_categoryids)||[]}GetStoreCategories_Controller(){var e;return(null===(e=this.m_StoreCategories)||void 0===e?void 0:e.controller_categoryids)||[]}BHasStoreCategory(e){return Boolean(this.GetStoreCategories_SupportedPlayers().find((t=>e===t))||this.GetStoreCategories_Features().find((t=>e===t))||this.GetStoreCategories_Controller().find((t=>e===t)))}GetFilteredReviewSummary(){var e;return this.BCheckDataRequestIncluded({include_reviews:!0}),null===(e=this.m_ReviewInfo)||void 0===e?void 0:e.summary_filtered}GetUnfilteredReviewSummary(){var e,t;return this.BCheckDataRequestIncluded({include_reviews:!0}),(null===(e=this.m_ReviewInfo)||void 0===e?void 0:e.summary_unfiltered)||(null===(t=this.m_ReviewInfo)||void 0===t?void 0:t.summary_filtered)}GetShortDescription(){var e,t;return this.BCheckDataRequestIncluded({include_basic_info:!0}),null!==(t=null===(e=this.m_BasicInfo)||void 0===e?void 0:e.short_description)&&void 0!==t?t:""}GetDeveloperNames(){var e,t,n,i;return this.BCheckDataRequestIncluded({include_basic_info:!0}),null!==(i=null===(n=null===(t=null===(e=this.m_BasicInfo)||void 0===e?void 0:e.developers)||void 0===t?void 0:t.map((e=>e.name.trim())))||void 0===n?void 0:n.filter((e=>(null==e?void 0:e.length)>0)))&&void 0!==i?i:[]}GetFranchiseNames(){var e,t,n,i;return this.BCheckDataRequestIncluded({include_basic_info:!0}),null!==(i=null===(n=null===(t=null===(e=this.m_BasicInfo)||void 0===e?void 0:e.franchises)||void 0===t?void 0:t.map((e=>e.name.trim())))||void 0===n?void 0:n.filter((e=>(null==e?void 0:e.length)>0)))&&void 0!==i?i:[]}GetPublisherNames(){var e,t,n,i;this.BCheckDataRequestIncluded({include_basic_info:!0});const r=null!==(i=null===(n=null===(t=null===(e=this.m_BasicInfo)||void 0===e?void 0:e.publishers)||void 0===t?void 0:t.map((e=>e.name.trim())))||void 0===n?void 0:n.filter((e=>(null==e?void 0:e.length)>0)))&&void 0!==i?i:[];return(null==r?void 0:r.length)>0?r:this.GetDeveloperNames()}GetAllCreatorClanIDs(){return this.BCheckDataRequestIncluded({include_basic_info:!0}),this.m_BasicInfo?d([...this.m_BasicInfo.developers,...this.m_BasicInfo.publishers,...this.m_BasicInfo.franchises]):[]}GetAllPublisherCreatorClans(){return this.BCheckDataRequestIncluded({include_basic_info:!0}),this.m_BasicInfo?d(this.m_BasicInfo.publishers):[]}GetAllDeveloperCreatorClans(){return this.BCheckDataRequestIncluded({include_basic_info:!0}),this.m_BasicInfo?d(this.m_BasicInfo.developers):[]}GetAllFranchiseCreatorClans(){return this.BCheckDataRequestIncluded({include_basic_info:!0}),this.m_BasicInfo?d(this.m_BasicInfo.franchises):[]}GetCapsuleHeadline(){var e;return this.BCheckDataRequestIncluded({include_basic_info:!0}),null===(e=this.m_BasicInfo)||void 0===e?void 0:e.capsule_headline}GetTags(){return this.BCheckDataRequestIncluded({include_tag_count:1}),this.m_rgStoreTags}GetTagIDs(){return this.BCheckDataRequestIncluded({include_tag_count:1}),this.m_rgStoreTagIDs}BHasTags(){var e;return this.BCheckDataRequestIncluded({include_tag_count:1}),(null===(e=this.m_rgStoreTagIDs)||void 0===e?void 0:e.length)>0}GetAssets(){return this.BCheckDataRequestIncluded({include_assets:!0}),this.m_Assets}GetAssetsWithoutOverrides(){return this.BCheckDataRequestIncluded({include_assets_without_overrides:!0}),this.m_AssetsWithoutOverrides}GetOriginalReleaseDateRTime(){var e;this.BCheckDataRequestIncluded({include_release:!0});let t=null===(e=this.m_ReleaseInfo)||void 0===e?void 0:e.original_steam_release_date;return t||(t=this.GetReleaseDateRTime()),t}GetReleaseDateRTime(){var e,t,n;if(this.BCheckDataRequestIncluded({include_release:!0}),null===(e=this.m_ReleaseInfo)||void 0===e?void 0:e.is_coming_soon)return 0;let i=null===(t=this.m_ReleaseInfo)||void 0===t?void 0:t.steam_release_date;return i||(i=null===(n=this.m_ReleaseInfo)||void 0===n?void 0:n.original_release_date),i}GetFormattedSteamReleaseDate(){var e,t,n,i,r;if(this.BCheckDataRequestIncluded({include_release:!0}),null===(e=this.m_ReleaseInfo)||void 0===e?void 0:e.is_coming_soon){if(null===(t=this.m_ReleaseInfo)||void 0===t?void 0:t.coming_soon_display)return c(this.m_ReleaseInfo);if(null===(n=this.m_ReleaseInfo)||void 0===n?void 0:n.custom_release_date_message)return this.m_ReleaseInfo.custom_release_date_message;const e=null===(i=this.m_ReleaseInfo)||void 0===i?void 0:i.steam_release_date;return e?(null===(r=this.m_ReleaseInfo)||void 0===r?void 0:r.is_abridged_release_date)?(0,a.LO)(new Date(1e3*e)):(0,o.vX)(e):""}const s=this.GetReleaseDateRTime();return s?(0,o.vX)(s):""}BIsComingSoon(){var e;return this.BCheckDataRequestIncluded({include_release:!0}),null===(e=this.m_ReleaseInfo)||void 0===e?void 0:e.is_coming_soon}BIsCustomComingSoonDisplay(){var e,t;return!!this.BIsComingSoon()&&((null===(e=this.m_ReleaseInfo)||void 0===e?void 0:e.coming_soon_display)?["text_tba","text_comingsoon"].includes(this.m_ReleaseInfo.coming_soon_display):!!(null===(t=this.m_ReleaseInfo)||void 0===t?void 0:t.custom_release_date_message))}BIsPrePurchase(){var e;return this.BIsComingSoon()&&Boolean(null===(e=this.GetBestPurchaseOption())||void 0===e?void 0:e.packageid)}BIsReleased(){return!this.BIsComingSoon()}GetPlatforms(){return this.BCheckDataRequestIncluded({include_platforms:!0}),this.m_Platforms}GetBestPurchaseOption(){return this.m_BestPurchaseOption}GetBestPurchasePriceInCents(){var e;if(null===(e=this.m_BestPurchaseOption)||void 0===e?void 0:e.final_price_in_cents)return Number.parseInt(this.m_BestPurchaseOption.final_price_in_cents)}GetBestPurchasePriceFormatted(){var e;return null===(e=this.m_BestPurchaseOption)||void 0===e?void 0:e.formatted_final_price}GetBestPurchaseOriginalPriceInCents(){var e;return(null===(e=this.m_BestPurchaseOption)||void 0===e?void 0:e.original_price_in_cents)?Number.parseInt(this.m_BestPurchaseOption.final_price_in_cents):this.GetBestPurchasePriceInCents()}GetBestPurchaseOriginalPriceFormatted(){var e,t,n;return null!==(t=null===(e=this.m_BestPurchaseOption)||void 0===e?void 0:e.formatted_original_price)&&void 0!==t?t:null===(n=this.m_BestPurchaseOption)||void 0===n?void 0:n.formatted_final_price}GetAllPurchaseOptions(){return this.BCheckDataRequestIncluded({include_all_purchase_options:!0}),this.m_rgPurchaseOptions}GetSelfPurchaseOption(){return this.m_SelfPurchaseOption}BHasAgeSafeScreenshots(){return this.GetOnlyAllAgesSafeScreenshots().length>0}GetOnlyAllAgesSafeScreenshots(){var e;return this.BCheckDataRequestIncluded({include_screenshots:!0}),(null===(e=this.m_Screenshots)||void 0===e?void 0:e.GetOnlyAllAgesScreenshots())||[]}GetBothAllAgesSafeAndMatureScreenshots(){var e;return this.BCheckDataRequestIncluded({include_screenshots:!0}),(null===(e=this.m_Screenshots)||void 0===e?void 0:e.GetAllAgesAndMatureScreenshots())||[]}BHasTrailers(){var e;return this.BCheckDataRequestIncluded({include_trailers:!0}),null===(e=this.m_Trailers)||void 0===e?void 0:e.BHasTrailers()}BHasHighlightTrailers(){var e,t,n;return this.BCheckDataRequestIncluded({include_trailers:!0}),(null!==(n=null===(t=null===(e=this.m_Trailers)||void 0===e?void 0:e.GetHighlightTrailers())||void 0===t?void 0:t.length)&&void 0!==n?n:0)>0}GetAllTrailers(){return this.BCheckDataRequestIncluded({include_trailers:!0}),this.m_Trailers}BHasSomeLanguageSupport(e){var t;return this.BCheckDataRequestIncluded({include_supported_languages:!0}),(null===(t=this.m_rgSupportedLanguages)||void 0===t?void 0:t.some((t=>t.elanguage==e&&(t.supported||t.subtitles||t.full_audio))))||!1}GetAllLanguagesWithSomeSupport(){var e;return this.BCheckDataRequestIncluded({include_supported_languages:!0}),(null===(e=this.m_rgSupportedLanguages)||void 0===e?void 0:e.filter((e=>e.supported||e.subtitles||e.full_audio)).map((e=>e.elanguage)))||[]}GetDataRequest(){return this.m_DataRequested}GetMicroTrailer(){this.BCheckDataRequestIncluded({include_trailers:!0});let e=null;return this.m_Trailers&&(this.m_Trailers.GetHighlightTrailers().forEach((t=>{!e&&t.GetMicroTrailer()&&(e=t.GetMicroTrailer())})),e||this.m_Trailers.GetOtherTrailers().forEach((t=>{!e&&t.GetMicroTrailer()&&(e=t.GetMicroTrailer())}))),e}ReplaceBestPurchaseOption(e){this.m_BestPurchaseOption=e}GetInternalName(){return this.m_strInternalName}}function d(e){if(!(null==e?void 0:e.length))return[];const t=e.map((e=>e.creator_clan_account_id)).filter((e=>!!e));return Array.from(new Set(t))}class m{constructor(e,t){const n=e.asset_url_format();n&&(e.main_capsule()&&(this.m_strMainCapsuleURL=this.ConstructAssetURL(n,e.main_capsule())),e.small_capsule()&&(this.m_strSmallCapsuleURL=this.ConstructAssetURL(n,e.small_capsule())),e.header()&&(this.m_strHeaderURL=this.ConstructAssetURL(n,e.header())),e.package_header()&&(this.m_strPackageHeaderURL=this.ConstructAssetURL(n,e.package_header())),e.page_background()&&(this.m_strPageBackgroundURL=this.ConstructAssetURL(n,e.page_background())),e.hero_capsule()&&(this.m_strHeroCapsuleURL=this.ConstructAssetURL(n,e.hero_capsule())),e.hero_capsule_2x()&&(this.m_strHeroCapsuleURL_2x=this.ConstructAssetURL(n,e.hero_capsule_2x())),e.library_capsule()&&(this.m_strLibraryCapsuleURL=this.ConstructAssetURL(n,e.library_capsule())),e.library_capsule_2x()&&(this.m_strLibraryCapsuleURL_2x=this.ConstructAssetURL(n,e.library_capsule_2x())),e.library_hero()&&(this.m_strLibraryHeroURL=this.ConstructAssetURL(n,e.library_hero())),e.library_hero_2x()&&(this.m_strLibraryHeroURL_2x=this.ConstructAssetURL(n,e.library_hero_2x()))),e.community_icon()&&(this.m_strCommunityIcon=`${l.De.MEDIA_CDN_COMMUNITY_URL}images/apps/${t}/${e.community_icon()}.jpg`)}GetMainCapsuleURL(){return this.m_strMainCapsuleURL}GetSmallCapsuleURL(){return this.m_strSmallCapsuleURL}GetHeaderURL(){return this.m_strHeaderURL}GetPackageHeaderURL(){return this.m_strPackageHeaderURL}GetPageBackgroundURL(){return this.m_strPageBackgroundURL}GetHeroCapsuleURL(){return this.m_strHeroCapsuleURL}GetHeroCapsuleURL_2x(){return this.m_strHeroCapsuleURL_2x}GetLibraryCapsuleURL(){return this.m_strLibraryCapsuleURL}GetLibraryCapsuleURL_2x(){return this.m_strLibraryCapsuleURL_2x}GetLibraryHeroURL(){return this.m_strLibraryHeroURL}GetLibraryHeroURL_2x(){return this.m_strLibraryHeroURL_2x}ConstructAssetURL(e,t){return l.De.MEDIA_CDN_URL+e.replace("${FILENAME}",t)}GetCommunityIconURL(){return this.m_strCommunityIcon}}class h{constructor(e){this.m_mapTrailer=new Map,this.m_higherTrailers=new Array,this.m_otherTrailers=new Array,e.highlights()&&e.highlights().forEach((e=>{let t=new p(e);this.m_mapTrailer.set(t.GetTrailerID(),t),this.m_higherTrailers.push(t)})),e.other_trailers()&&e.other_trailers().forEach((e=>{let t=new p(e);this.m_mapTrailer.set(t.GetTrailerID(),t),this.m_otherTrailers.push(t)}))}BHasTrailers(){return this.m_higherTrailers.length>0||this.m_otherTrailers.length>0}GetHighlightTrailers(){return this.m_higherTrailers}GetOtherTrailers(){return this.m_otherTrailers}GetTrailerByID(e){return this.m_mapTrailer.get(e)}}class p{constructor(e){this.m_strTrailerName=e.trailer_name(),this.m_nBaseID=e.trailer_base_id();const t=e.trailer_url_format();t&&(e.trailer_480p()&&(this.m_Trailer480p=this.ExtractTrailerFormats(t,e.trailer_480p())),e.trailer_max()&&(this.m_TrailerMax=this.ExtractTrailerFormats(t,e.trailer_max())),e.microtrailer()&&(this.m_MicroTrailer=this.ExtractTrailerFormats(t,e.microtrailer())),e.screenshot_medium()&&(this.m_strScreenshotMedium=this.ConstructAssetURL(t,e.screenshot_medium())),e.screenshot_full()&&(this.m_strScreenshotFull=this.ConstructAssetURL(t,e.screenshot_full())))}GetName(){return this.m_strTrailerName}GetTrailerID(){return this.m_nBaseID}GetTrailer480p(){return this.m_Trailer480p}GetTrailerMax(){return this.m_TrailerMax}GetMicroTrailer(){return this.m_MicroTrailer}GetScreenshot(){return this.m_strScreenshotFull?this.m_strScreenshotFull:this.m_strScreenshotMedium}ExtractTrailerFormats(e,t){let n={};return t.forEach((t=>{"video/mp4"==t.type()?n.strMP4URL=this.ConstructAssetURL(e,t.filename()):"video/webm"==t.type()&&(n.strWebMURL=this.ConstructAssetURL(e,t.filename()))})),n}ConstructAssetURL(e,t){return l.De.MEDIA_CDN_URL+e.replace("${FILENAME}",t)}}class g{constructor(e){this.m_rgAllScreenshots=new Array,this.m_rgOnlyAllAgesScreenshots=new Array;let t=0,n=0;const i=e.all_ages_screenshots()||[],r=e.mature_content_screenshots()||[];for(;t{"use strict";n.d(t,{Z:()=>f});var i=n(85556),r=n(54842),s=n(79545),o=n(22791),a=n(23309),l=n(80002),c=n(62210),u=n(16649),d=n(37563),m=n(80998),h=n(51465);function p(e,t){if(!e)return t;if(!t)return e;return{include_assets:e.include_assets||t.include_assets,include_release:e.include_release||t.include_release,include_platforms:e.include_platforms||t.include_platforms,include_all_purchase_options:e.include_all_purchase_options||t.include_all_purchase_options,include_screenshots:e.include_screenshots||t.include_screenshots,include_trailers:e.include_trailers||t.include_trailers,include_ratings:e.include_ratings||t.include_ratings,include_tag_count:Math.max(e.include_tag_count||0,t.include_tag_count||0)||void 0,include_reviews:e.include_reviews||t.include_reviews,include_basic_info:e.include_basic_info||t.include_basic_info,include_supported_languages:e.include_supported_languages||t.include_supported_languages,include_full_description:e.include_full_description||t.include_full_description,include_included_items:e.include_included_items||t.include_included_items,include_assets_without_overrides:e.include_assets_without_overrides||t.include_assets_without_overrides,apply_user_filters:e.apply_user_filters||t.apply_user_filters}}function g(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){const n=yield e,i=yield t;return 1!=n?n:i}))}class _{constructor(){this.k_QueueWaitUntilRequestMS=5,this.k_nMaxBatchSize=250,this.m_bReturnUnavailableItems=!1,this.m_mapApps=new Map,this.m_mapPackages=new Map,this.m_mapBundles=new Map,this.m_mapTags=new Map,this.m_mapCreators=new Map,this.m_mapHubCategories=new Map,this.m_setUnavailableApps=new Set,this.m_setUnavailablePackages=new Set,this.m_setUnavailableBundles=new Set,this.m_setUnavailableTags=new Set,this.m_setUnavailableCreators=new Set,this.m_setUnavailableHubCategories=new Set,this.m_setUnavailableDueToCountryRestrictionApps=new Set,this.m_setUnavailableDueToCountryRestrictionPackages=new Set,this.m_setUnavailableDueToCountryRestrictionBundles=new Set,this.m_mapAppsInFlight=new Map,this.m_mapPackageInFlight=new Map,this.m_mapBundleInFlight=new Map,this.m_mapTagsInFlight=new Map,this.m_mapCreatorsInFlight=new Map,this.m_mapHubCategoriesInFlight=new Map,this.m_SteamInterface=null,this.m_bUsePartnerAPI=!1,this.m_bInitialized=!1,this.m_bActivelyResettingCache=!1,this.m_setPendingAppInfo=new Set,this.m_setPendingBundleInfo=new Set,this.m_setPendingPackageInfo=new Set,this.m_setPendingTagInfo=new Set,this.m_setPendingCreatorInfo=new Set,this.m_setPendingHubCategoryInfo=new Set,this.m_setPendingDataRequest={},this.m_PendingInfoResolve=void 0,this.m_PendingTimer=void 0,this.k_AlreadyResolvedOK=Promise.resolve(1),this.k_AlreadyResolvedInvalid=Promise.resolve(8),this.k_AlreadyResolvedBusy=Promise.resolve(10)}static Get(){return _.sm_instance||(_.sm_instance=new _,window.StoreItemCache=_.sm_instance),_.sm_instance}static Initialize(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){(0,c.X)(!_.Get().m_bInitialized,"CStoreItemCache was already initialized; initialize it only once."),_.Get().m_SteamInterface=e,_.Get().m_bUsePartnerAPI=!!t,_.Get().m_bInitialized=!0}))}GetSteamInterface(){return this.m_SteamInterface}SetSteamInterface(e){this.m_SteamInterface=e}SetReturnUnavailableItems(e){this.m_bReturnUnavailableItems=e}GetReturnUnavailableItems(){return this.m_bReturnUnavailableItems}ResetCache(){return(0,i.mG)(this,void 0,void 0,(function*(){this.m_bActivelyResettingCache=!0,this.FlushPendingInfo();let e=[];this.m_mapAppsInFlight.forEach((t=>{e.push(t.promise)})),this.m_mapBundleInFlight.forEach((t=>{e.push(t.promise)})),this.m_mapPackageInFlight.forEach((t=>{e.push(t.promise)})),this.m_mapTagsInFlight.forEach((t=>{e.push(t.promise)})),this.m_mapCreatorsInFlight.forEach((t=>{e.push(t.promise)})),this.m_mapHubCategoriesInFlight.forEach((t=>{e.push(t.promise)})),yield Promise.all(e),this.m_mapApps.clear(),this.m_mapBundles.clear(),this.m_mapPackages.clear(),this.m_mapTagsInFlight.clear(),this.m_mapCreatorsInFlight.clear(),this.m_mapHubCategoriesInFlight.clear(),this.m_bActivelyResettingCache=!1}))}static BIsInitialized(){return _.Get().m_bInitialized}QueueAppRequest(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return this.QueueStoreItemRequest(e,0,t)}))}QueuePackageRequest(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return this.QueueStoreItemRequest(e,1,t)}))}QueueBundleRequest(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return this.QueueStoreItemRequest(e,2,t)}))}QueueTagRequest(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return this.QueueStoreItemRequest(e,4,t)}))}QueueCreatorRequest(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return this.QueueStoreItemRequest(e,5,t)}))}QueueHubCategoryRequest(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return this.QueueStoreItemRequest(e,6,t)}))}static ValidateDataRequest(e){const t=[e.include_assets,e.include_release,e.include_platforms,e.include_all_purchase_options,e.include_screenshots,e.include_trailers,e.include_ratings,e.include_reviews,e.include_basic_info,e.include_supported_languages];for(const e of t)if(!0!==e&&void 0!==e)return!1;return!0}QueueMultipleAppRequests(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e||0==e.length)return 1;const n=(yield Promise.all(e.map((e=>this.QueueStoreItemRequest(e,0,t))))).filter((e=>1!=e));return n.length>0?n[0]:1}))}QueueMultiplePackageRequests(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e||0==e.length)return 1;const n=(yield Promise.all(e.map((e=>this.QueueStoreItemRequest(e,1,t))))).filter((e=>1!=e));return n.length>0?n[0]:1}))}QueueMultipleBundleRequests(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e||0==e.length)return 1;const n=(yield Promise.all(e.map((e=>this.QueueStoreItemRequest(e,2,t))))).filter((e=>1!=e));return n.length>0?n[0]:1}))}QueueMultipleTagRequests(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e||0==e.length)return 1;const n=(yield Promise.all(e.map((e=>this.QueueStoreItemRequest(e,4,t))))).filter((e=>1!=e));return n.length>0?n[0]:1}))}QueueMultipleCreatorRequests(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e||0==e.length)return 1;const n=(yield Promise.all(e.map((e=>this.QueueStoreItemRequest(e,5,t))))).filter((e=>1!=e));return n.length>0?n[0]:1}))}QueueMultipleHubCategoryRequests(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e||0==e.length)return 1;const n=(yield Promise.all(e.map((e=>this.QueueStoreItemRequest(e,6,t))))).filter((e=>1!=e));return n.length>0?n[0]:1}))}QueueMultipleStoreItemRequests(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e||0==e.length)return 1;const i=(yield Promise.all(e.map(((e,i)=>this.QueueStoreItemRequest(e,t[i],n))))).filter((e=>1!=e));return i.length>0?i[0]:1}))}QueueStoreItemRequest(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){if((0,c.X)(_.ValidateDataRequest(n),"Invalid Data Request: "+JSON.stringify(n)),"string"==typeof e&&(e=parseInt(e)),this.m_bActivelyResettingCache)return console.log("Rejecting store item request due to currently clearing the cache"),this.k_AlreadyResolvedBusy;if(!e)return(0,c.X)(!e,`unexpected id ${e} of zero or undefined for type ${t}`),this.k_AlreadyResolvedInvalid;const i=this.GetPreviousSupersetLoadPromise(e,t,n);if(i)return i;switch(this.m_PendingInfoPromise||(this.m_PendingInfoPromise=new Promise((e=>this.m_PendingInfoResolve=e)),this.m_PendingTimer=window.setTimeout((()=>this.FlushPendingInfo()),this.k_QueueWaitUntilRequestMS)),this.m_setPendingDataRequest=p(this.m_setPendingDataRequest,n),t){case 0:this.m_setPendingAppInfo.add(e);break;case 2:this.m_setPendingBundleInfo.add(e);break;case 1:this.m_setPendingPackageInfo.add(e);break;case 4:this.m_setPendingTagInfo.add(e);break;case 5:this.m_setPendingCreatorInfo.add(e);break;case 6:this.m_setPendingHubCategoryInfo.add(e);break;default:(0,c.X)(!1,`Unexpected Type ${t}`)}const r=this.m_PendingInfoPromise;return this.m_setPendingAppInfo.size+this.m_setPendingPackageInfo.size+this.m_setPendingBundleInfo.size>=this.k_nMaxBatchSize&&(this.m_PendingTimer&&window.clearTimeout(this.m_PendingTimer),this.FlushPendingInfo()),r}))}FlushPendingInfo(){return(0,i.mG)(this,void 0,void 0,(function*(){if(void 0===this.m_PendingInfoResolve)return;const e=this.m_PendingInfoResolve,t=Array.from(this.m_setPendingAppInfo),n=Array.from(this.m_setPendingPackageInfo),i=Array.from(this.m_setPendingBundleInfo),r=Array.from(this.m_setPendingTagInfo),s=Array.from(this.m_setPendingCreatorInfo),o=Array.from(this.m_setPendingHubCategoryInfo),a=this.m_setPendingDataRequest;this.m_PendingInfoPromise=void 0,this.m_PendingInfoResolve=void 0,this.m_setPendingAppInfo.clear(),this.m_setPendingBundleInfo.clear(),this.m_setPendingPackageInfo.clear(),this.m_setPendingTagInfo.clear(),this.m_setPendingCreatorInfo.clear(),this.m_setPendingHubCategoryInfo.clear(),this.m_setPendingDataRequest={},this.m_PendingTimer=void 0,this.HintLoadStoreItems(void 0,t,n,i,r,s,o,a).then((t=>e(t)))}))}HintLoadStoreApps(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return this.HintLoadStoreItems(null,e,null,null,null,null,null,t)}))}HintLoadStorePackages(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return this.HintLoadStoreItems(null,null,e,null,null,null,null,t)}))}HintLoadStoreBundles(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return this.HintLoadStoreItems(null,null,null,e,null,null,null,t)}))}GetPreviousSupersetLoadPromise(e,t,n){if(this.BHasStoreItem(e,t,n)||this.BIsStoreItemMissing(e,t))return this.k_AlreadyResolvedOK;let i=null;switch(t){case 0:i=this.m_mapAppsInFlight.get(e);break;case 1:i=this.m_mapPackageInFlight.get(e);break;case 2:i=this.m_mapBundleInFlight.get(e);break;case 4:i=this.m_mapTagsInFlight.get(e);break;case 5:i=this.m_mapCreatorsInFlight.get(e);break;case 6:i=this.m_mapHubCategoriesInFlight.get(e)}return i&&h.Z.BDataRequestContainsOtherDataRequest(i.dataRequest,n)?i.promise:null}HintLoadStoreItems(e,t,n,r,s,o,a,c){return(0,i.mG)(this,void 0,void 0,(function*(){let i=null;const u=new Promise((e=>i=e));let d=[],m=[];(t||[]).forEach((e=>{const t=this.GetPreviousSupersetLoadPromise(e,0,c);if(t)m.push(t);else{d.push(l.oY.fromObject({appid:e}));let t=p(this.GetStoreItemDataRequest(e,0),c);const n=this.m_mapAppsInFlight.get(e);t=p(null==n?void 0:n.dataRequest,t),n&&m.push(n.promise),this.m_mapAppsInFlight.set(e,{promise:n?g(n.promise,u):u,dataRequest:t})}})),(n||[]).forEach((e=>{const t=this.GetPreviousSupersetLoadPromise(e,1,c);if(t)m.push(t);else{d.push(l.oY.fromObject({packageid:e}));let t=p(this.GetStoreItemDataRequest(e,1),c);const n=this.m_mapPackageInFlight.get(e);t=p(null==n?void 0:n.dataRequest,t),n&&m.push(n.promise),this.m_mapPackageInFlight.set(e,{promise:n?g(n.promise,u):u,dataRequest:t})}})),(r||[]).forEach((e=>{const t=this.GetPreviousSupersetLoadPromise(e,2,c);if(t)m.push(t);else{d.push(l.oY.fromObject({bundleid:e}));let t=p(this.GetStoreItemDataRequest(e,2),c);const n=this.m_mapBundleInFlight.get(e);t=p(null==n?void 0:n.dataRequest,t),n&&m.push(n.promise),this.m_mapBundleInFlight.set(e,{promise:n?g(n.promise,u):u,dataRequest:t})}})),(s||[]).forEach((e=>{const t=this.GetPreviousSupersetLoadPromise(e,4,c);if(t)m.push(t);else{d.push(l.oY.fromObject({tagid:e}));let t=p(this.GetStoreItemDataRequest(e,4),c);const n=this.m_mapTagsInFlight.get(e);t=p(null==n?void 0:n.dataRequest,t),n&&m.push(n.promise),this.m_mapTagsInFlight.set(e,{promise:n?g(n.promise,u):u,dataRequest:t})}})),(o||[]).forEach((e=>{const t=this.GetPreviousSupersetLoadPromise(e,5,c);if(t)m.push(t);else{d.push(l.oY.fromObject({creatorid:e}));let t=p(this.GetStoreItemDataRequest(e,5),c);const n=this.m_mapCreatorsInFlight.get(e);t=p(null==n?void 0:n.dataRequest,t),n&&m.push(n.promise),this.m_mapCreatorsInFlight.set(e,{promise:n?g(n.promise,u):u,dataRequest:t})}})),(a||[]).forEach((e=>{const t=this.GetPreviousSupersetLoadPromise(e,6,c);if(t)m.push(t);else{d.push(l.oY.fromObject({hubcategoryid:e}));let t=p(this.GetStoreItemDataRequest(e,6),c);const n=this.m_mapHubCategoriesInFlight.get(e);t=p(null==n?void 0:n.dataRequest,t),n&&m.push(n.promise),this.m_mapHubCategoriesInFlight.set(e,{promise:n?g(n.promise,u):u,dataRequest:t})}}));let h=1;if(d.length>0&&(h=yield this.InternalHandleLoadStoreItems(e,d,c)),i(h),m.length>0){const e=yield Promise.all(m);for(const t of e)1!=t&&1==h&&(h=t)}return(t||[]).forEach((e=>this.m_mapAppsInFlight.delete(e))),(n||[]).forEach((e=>this.m_mapPackageInFlight.delete(e))),(r||[]).forEach((e=>this.m_mapBundleInFlight.delete(e))),(s||[]).forEach((e=>this.m_mapTagsInFlight.delete(e))),(o||[]).forEach((e=>this.m_mapCreatorsInFlight.delete(e))),(a||[]).forEach((e=>this.m_mapHubCategoriesInFlight.delete(e))),h}))}MarkStoreItemIDUnavailable(e){(e||[]).forEach((e=>{e.appid()?(this.m_setUnavailableApps.add(e.appid()),this.m_mapApps.delete(e.appid())):e.packageid()?(this.m_setUnavailablePackages.add(e.packageid()),this.m_mapPackages.delete(e.packageid())):e.bundleid()?(this.m_setUnavailableBundles.add(e.bundleid()),this.m_mapBundles.delete(e.bundleid())):e.tagid()?(this.m_setUnavailableTags.add(e.tagid()),this.m_mapTags.delete(e.tagid())):e.creatorid()?(this.m_setUnavailableCreators.add(e.creatorid()),this.m_mapCreators.delete(e.creatorid())):e.hubcategoryid()&&(this.m_setUnavailableHubCategories.add(e.hubcategoryid()),this.m_mapHubCategories.delete(e.hubcategoryid()))}))}SortStoreItems(e){let t=e.slice();return t.sort(((e,t)=>{var n,i,r,s,o,a,l,c,u,d,m,h;let p=null!==(n=e.appid())&&void 0!==n?n:0,g=null!==(i=t.appid())&&void 0!==i?i:0;if(p!=g)return p-g;let _=null!==(r=e.packageid())&&void 0!==r?r:0,f=null!==(s=t.packageid())&&void 0!==s?s:0;if(_!=f)return _-f;let v=null!==(o=e.bundleid())&&void 0!==o?o:0,C=null!==(a=t.bundleid())&&void 0!==a?a:0;if(v!=C)return v-C;let S=null!==(l=e.tagid())&&void 0!==l?l:0,b=null!==(c=t.tagid())&&void 0!==c?c:0;if(S!=b)return S-b;let w=null!==(u=e.creatorid())&&void 0!==u?u:0,y=null!==(d=t.creatorid())&&void 0!==d?d:0;if(w!=y)return w-y;let E=null!==(m=e.hubcategoryid())&&void 0!==m?m:0,D=null!==(h=t.hubcategoryid())&&void 0!==h?h:0;return E!=D?E-D:0})),t}InternalHandleLoadStoreItems(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){let i=1;e||(this.GetSteamInterface()||this.SetSteamInterface(new o.J(d.De.WEBAPI_BASE_URL)),e=this.GetSteamInterface()),t=this.SortStoreItems(t),n.include_included_items&&(n=Object.assign(Object.assign({},n),{included_item_data_request:Object.assign(Object.assign({},n),{include_included_items:!1})}));const c=new Array;try{const o=[];for(;t.length>0;){const i=t.splice(0,this.k_nMaxBatchSize);if(c.push(i),this.m_bUsePartnerAPI){const t=s.gA.Init(a.z4);t.Body().set_include_unpublished(!1);const r=t.Body().request(!0);r.set_context((0,m.Fq)(this.m_bUsePartnerAPI)),r.set_data_request(l.Qn.fromObject(n)),r.set_ids(i),o.push(a.n7.GetItems(e.GetServiceTransport(),t))}else{const t=s.gA.Init(l.eK);(0,m.pA)(t,this.m_bUsePartnerAPI),(0,m.De)(t,n),t.Body().set_ids(i),o.push(l.VJ.GetItems(e.GetAnonymousServiceTransport(),t))}}(yield Promise.all(o)).forEach(((e,s)=>{1==e.GetEResult()?e.Body().store_items().forEach((i=>{const s=i.id(),o=i.item_type();let a=this.m_bReturnUnavailableItems&&15==i.success(),l=1==i.success()&&!this.BIsStoreItemMissing(s,o);if(a||l)this.ReadItem(i,n);else{switch("dev"==d.De.WEB_UNIVERSE&&console.warn(`Failed to load ${s} type ${o} with error ${i.success()}`,i),o){case 0:this.m_setUnavailableApps.add(s),this.m_mapApps.delete(s);break;case 1:this.m_setUnavailablePackages.add(s),this.m_mapPackages.delete(s);break;case 2:this.m_setUnavailableBundles.add(s),this.m_mapBundles.delete(s);break;case 4:this.m_setUnavailableTags.add(s),this.m_mapTags.delete(s);break;case 5:this.m_setUnavailableCreators.add(s),this.m_mapCreators.delete(s);break;case 6:this.m_setUnavailableHubCategories.add(s),this.m_mapHubCategories.delete(s);break;default:console.error("CStoreItemCache.InternalHandleLoadStoreItems unexpected item_type in response "+o+" "+s)}if(i.unvailable_for_country_restriction())switch(o){case 0:this.m_setUnavailableDueToCountryRestrictionApps.add(s);break;case 1:this.m_setUnavailableDueToCountryRestrictionPackages.add(s);break;case 2:this.m_setUnavailableDueToCountryRestrictionBundles.add(s);break;case 4:case 5:case 6:console.error("CStoreItemCache::InternalHandleLoadStoreItems - tags, creators or categories don't have country restrictions. eResult: "+e.GetEResult()+" message: "+e.Hdr().error_message(),(0,r.ZN)(t))}}})):(console.warn("CStoreItemCache::InternalHandleLoadStoreItems failed with eResult: "+e.GetEResult()+" message: "+e.Hdr().error_message(),(0,r.ZN)(t)),(1==e.Hdr().transport_error()||d.De.FROM_WEB)&&this.MarkStoreItemIDUnavailable(c[s]),1==i&&(i=e.GetEResult()))}))}catch(e){const t=(0,u.l)(e);return console.error("CStoreItemCache::InternalHandleLoadStoreItems failed: "+t.strErrorMsg,t),c.forEach((e=>this.MarkStoreItemIDUnavailable(e))),79}return i}))}GetMapForType(e){let t;switch(e){case 0:t=this.m_mapApps;break;case 2:t=this.m_mapBundles;break;case 1:t=this.m_mapPackages;break;case 4:t=this.m_mapTags;break;case 5:t=this.m_mapCreators;break;case 6:t=this.m_mapHubCategories;break;default:console.error("Invalid map type requested",e)}return t}BHasStoreItem(e,t,n){let i=this.GetMapForType(t);return Boolean(i&&i.has(e)&&(!n||i.get(e).BContainDataRequest(n)))}GetStoreItem(e,t){if(-1==t||3==t)return;const n=this.GetMapForType(t);return null==n?void 0:n.get(e)}GetStoreItemWithLegacyVisibilityCheck(e,t){const n=this.GetStoreItem(e,t);return n&&(this.m_bReturnUnavailableItems||n.BIsVisible())?n:void 0}GetStoreItemDataRequest(e,t){var n,i;return(null===(i=null===(n=this.GetMapForType(t))||void 0===n?void 0:n.get(e))||void 0===i?void 0:i.GetDataRequest())||null}BHasApp(e,t){return this.BHasStoreItem(e,0,t)}GetApp(e){return this.GetStoreItem(e,0)}BHasPackage(e,t){return this.BHasStoreItem(e,1,t)}GetPackage(e){return this.GetStoreItem(e,1)}BHasBundle(e,t){return this.BHasStoreItem(e,2,t)}GetBundle(e){return this.GetStoreItem(e,2)}BHasTag(e,t){return this.BHasStoreItem(e,4,t)}GetTag(e){return this.GetStoreItem(e,4)}BHasCreator(e,t){return this.BHasStoreItem(e,5,t)}GetCreator(e){return this.GetStoreItem(e,5)}BHasHubCategory(e,t){return this.BHasStoreItem(e,6,t)}GetHubCategory(e){return this.GetStoreItem(e,6)}BIsStoreItemMissing(e,t){switch(t){case 0:return this.BIsAppMissing(e);case 1:return this.BIsPackageMissing(e);case 2:return this.BIsBundleMissing(e);case 4:return this.BIsTagMissing(e);case 5:return this.BIsCreatorMissing(e);case 6:return this.BIsHubCategoryMissing(e);default:return console.error("BStoreItemMissing invalid type",t),!0}}BIsAppMissing(e){return this.m_setUnavailableApps.has(e)}BIsPackageMissing(e){return this.m_setUnavailablePackages.has(e)}BIsBundleMissing(e){return this.m_setUnavailableBundles.has(e)}BIsTagMissing(e){return this.m_setUnavailableTags.has(e)}BIsCreatorMissing(e){return this.m_setUnavailableCreators.has(e)}BIsHubCategoryMissing(e){return this.m_setUnavailableHubCategories.has(e)}BIsStoreItemUnavailableDueToCountryRestriction(e,t){switch(t){case 0:return this.BIsAppUnavailableDueToCountryRestriction(e);case 1:return this.BIsPackageUnavailableDueToCountryRestriction(e);case 2:return this.BIsBundleUnavailableDueToCountryRestriction(e);case 4:case 5:case 6:return console.error("BIsStoreItemUnavailableDueToCountryRestriction - tags, creators or categories don't have country restrictions. type: ",t),!0;default:return console.error("BStoreItemMissing invalid type",t),!0}}BIsAppUnavailableDueToCountryRestriction(e){return this.m_setUnavailableDueToCountryRestrictionApps.has(e)}BIsPackageUnavailableDueToCountryRestriction(e){return this.m_setUnavailableDueToCountryRestrictionPackages.has(e)}BIsBundleUnavailableDueToCountryRestriction(e){return this.m_setUnavailableDueToCountryRestrictionBundles.has(e)}ReadResults(e,t){let n=[];for(const i of e)n.push(this.ReadItem(i,t));return n}ReadItem(e,t){const n=e.item_type();let i=null;switch(n){case 0:i=this.m_mapApps;break;case 1:i=this.m_mapPackages;break;case 2:i=this.m_mapBundles;break;case 4:i=this.m_mapTags;break;case 5:i=this.m_mapCreators;break;case 6:i=this.m_mapHubCategories;break;default:return console.error(`Invalid item type: ${n}`),null}let r=i.get(e.id());if(r?r.MergeData(e,t):(r=new h.Z(e,t),i.set(e.id(),r)),t.include_included_items&&e.included_items(!1)){for(const n of e.included_items().included_apps())this.ReadItem(n,t.included_item_data_request);for(const n of e.included_items().included_packages())this.ReadItem(n,t.included_item_data_request)}return r}}_.k_DataRequest_CommonOnly={},_.k_DataRequest_BasicInfo={include_basic_info:!0},_.k_DataRequest_Assets={include_assets:!0},_.k_DataRequest_IncludeAll={include_assets:!0,include_release:!0,include_platforms:!0,include_all_purchase_options:!0,include_screenshots:!0,include_trailers:!0,include_ratings:!0,include_tag_count:20,include_reviews:!0,include_basic_info:!0,include_supported_languages:!0};const f=_},86437:(e,t,n)=>{"use strict";var i;function r(e){return"app"==e?0:"sub"==e?1:2}function s(e){switch(e){case 0:return"app";case 2:return"bundle";case 1:return"package";case 3:return"mtx"}return"invalid"}function o(e){switch(e){case"sub":return 1;case"bundle":return 2;default:return 0}}function a(e,t){switch(e){case 2:return"bundle";case 1:return"sub";default:switch(t){case 0:default:return"game";case 12:return"beta";case 4:return"dlc";case 1:return"demo";case 6:return"software";case 7:case 3:return"video";case 10:return"hardware";case 11:return"music";case 13:return"tool";case 2:return"mod";case 9:return"episode";case 8:return"series"}}}function l(e){switch(e){case 2:return"bundle";case 1:return"sub";default:return"app"}}function c(e,t){return 0==t?{appid:e}:1==t?{packageid:e}:2==t?{bundleid:e}:4==t?{tagid:e}:5==t?{creatorid:e}:6==t?{hubcategoryid:e}:null}function u(e){return(null==e?void 0:e.appid)?"a"+e.appid:(null==e?void 0:e.packageid)?"p"+e.packageid:(null==e?void 0:e.bundleid)?"b"+e.bundleid:(null==e?void 0:e.creatorid)?"c"+e.creatorid:(null==e?void 0:e.hubcategoryid)?"h"+e.hubcategoryid:(null==e?void 0:e.tagid)?"t"+e.tagid:"unknown0"}n.d(t,{$k:()=>i,Bo:()=>c,Ds:()=>a,GV:()=>r,Hy:()=>l,TM:()=>o,qE:()=>s,y:()=>u}),function(e){e[e.k_NotRejected=-1]="k_NotRejected",e[e.k_RejectNoMainCap=0]="k_RejectNoMainCap",e[e.k_RejectWrongPlatform=1]="k_RejectWrongPlatform",e[e.k_RejectNoComingSoon=2]="k_RejectNoComingSoon",e[e.k_RejectNoVR=3]="k_RejectNoVR",e[e.k_RejectCreatorClan=4]="k_RejectCreatorClan",e[e.k_RejectIgnoredGame=5]="k_RejectIgnoredGame",e[e.k_RejectSupportedLanguage=6]="k_RejectSupportedLanguage",e[e.k_RejectNotLoaded=7]="k_RejectNotLoaded",e[e.k_RejectIgnoreGameTags=8]="k_RejectIgnoreGameTags",e[e.k_RejectIgnoreContentDescriptors=9]="k_RejectIgnoreContentDescriptors",e[e.k_RejectEarlyAccess=10]="k_RejectEarlyAccess",e[e.k_RejectSoftware=11]="k_RejectSoftware",e[e.k_RejectDLC=12]="k_RejectDLC",e[e.k_RejectInLibrary=13]="k_RejectInLibrary",e[e.k_RejectNotInLibrary=14]="k_RejectNotInLibrary",e[e.k_RejectVideo=15]="k_RejectVideo",e[e.k_RejectNoDiscount=16]="k_RejectNoDiscount",e[e.k_RejectAlreadyDisplayed=17]="k_RejectAlreadyDisplayed"}(i||(i={}))},87476:(e,t,n)=>{"use strict";n.d(t,{Ze:()=>m});var i=n(85556),r=n(47427),s=n(54842),o=n(52178),a=n(19929),l=n(68785),c=(n(20417),n(22520));const u=new l.sO("VR");class d{constructor(){this.m_rgMutualCapabilities=void 0,this.m_bHMDPresent=void 0,this.m_bHMDHardwareDetected=void 0,this.m_strHMDName=void 0,this.m_bIsVRRunning=void 0,this.m_error=void 0,this.m_eHMDActivityLevel=void 0,this.m_bVRDeviceSeenRecently=!1,this.m_bIsKeyboardOpen=void 0,this.m_eKeyboardFlags=void 0,this.m_sInitialKeyboardText=void 0,this.m_unSceneAppID=c.kI,this.m_bSimulatingVROnDesktop=!1,this.m_mapAffordanceElems=new Map,(0,s.rC)(this)}Init(){var e,t,n,i,r,s,o,a,l,c,u,d,m,h;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===(i=null===(n=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===n?void 0:n.RegisterForVRModeChange)||void 0===i||i.call(n,this.OnVRModeChanged),null===(s=null===(r=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===r?void 0:r.RegisterForStartupErrors)||void 0===s||s.call(r,this.OnStartupError),null===(a=null===(o=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===o?void 0:o.RegisterForHMDActivityLevelChanged)||void 0===a||a.call(o,this.OnHMDActivityLevelChanged),null===(c=null===(l=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===l?void 0:l.RegisterForVRSceneAppChange)||void 0===c||c.call(l,this.OnSceneAppChanged),null===(u=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===u||u.Device.RegisterForVRDeviceSeenRecently(this.OnVRDeviceSeenRecentlyChanged),null===(h=null===(d=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===d?void 0:(m=d.Keyboard).RegisterForStatus)||void 0===h||h.call(m,this.OnKeyboardStatus)}OnVRHardwareDetected(e,t,n){this.m_bHMDPresent=e,this.m_bHMDHardwareDetected=t,this.m_strHMDName=n}OnVRModeChanged(e){this.m_bIsVRRunning=e,this.UpdateMutualCapabilities()}OnStartupError(e,t,n){let i;e!=o.w.k_EVRError_None&&(i={eClient:e,eInit:t,strInit:n}),this.m_error=i}OnHMDActivityLevelChanged(e){this.m_eHMDActivityLevel=e}OnSceneAppChanged(e){this.m_unSceneAppID=e}OnVRDeviceSeenRecentlyChanged(e){this.m_bVRDeviceSeenRecently=e}OnKeyboardStatus(e,t,n){this.m_bIsKeyboardOpen=e,this.m_eKeyboardFlags=t,this.m_sInitialKeyboardText=n}get IsVRHMDPresent(){return Boolean(this.m_bSimulatingVROnDesktop||this.m_bHMDPresent||this.m_bHMDHardwareDetected)}get CurrentSceneAppID(){return this.m_unSceneAppID}HasVRHMDBeenSeen(){return!!this.m_bVRDeviceSeenRecently}get IsSteamVRRunning(){return this.m_bSimulatingVROnDesktop||!!this.m_bIsVRRunning}get IsSteamVRSimulatedOnDesktop(){return this.m_bSimulatingVROnDesktop}get IsVRHMDAwake(){return this.m_bSimulatingVROnDesktop||this.m_eHMDActivityLevel==a.$6.UserInteraction}get VRKeyboardStatus(){const e=0!=(this.m_eKeyboardFlags&a.vS.Minimal);return{bIsOpen:!!this.m_bIsKeyboardOpen,sInitialText:this.m_sInitialKeyboardText,bMinimal:e,bShowArrowKeys:!e||0!=(this.m_eKeyboardFlags&a.vS.ShowArrowKeys),bShowDoneKey:0==(this.m_eKeyboardFlags&a.vS.HideDoneKey)}}get VRHMDActivityLevel(){return this.m_bSimulatingVROnDesktop?a.$6.UserInteraction:this.m_eHMDActivityLevel}get VRKeyboardDisplayFlags(){return this.m_eKeyboardFlags}get error(){return this.m_error}ClearError(){this.m_error=void 0}SetSimulatingVROnDesktop(e){this.m_bSimulatingVROnDesktop=e}SetInteractionAffordance(e,t,n){var i,r,s;if(null==e)return;this.m_mapAffordanceElems.has(t)||this.m_mapAffordanceElems.set(t,new Set);const o=this.m_mapAffordanceElems.get(t),a=Array.from(o).filter((t=>t.ownerDocument.defaultView==e.ownerDocument.defaultView)).length>0;n?o.add(e):o.delete(e);const l=Array.from(o).filter((t=>t.ownerDocument.defaultView==e.ownerDocument.defaultView)).length>0;l!=a&&(null===(s=null===(r=null===(i=e.ownerDocument.defaultView)||void 0===i?void 0:i.SteamClient)||void 0===r?void 0:r.OpenVR)||void 0===s||s.SetOverlayInteractionAffordance(t,l))}BHasMutualCapabilities(){return null!=this.m_rgMutualCapabilities}BHasMutualCapability(e){var t;return null===(t=this.m_rgMutualCapabilities)||void 0===t?void 0:t.includes(e)}UpdateMutualCapabilities(){var e;return(0,i.mG)(this,void 0,void 0,(function*(){if(this.IsSteamVRRunning)try{this.m_rgMutualCapabilities=yield null===(e=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===e?void 0:e.GetMutualCapabilities()}catch(e){this.m_rgMutualCapabilities=void 0,u.Error("Failed to fetch Mutual Capabilities:",e)}else this.m_rgMutualCapabilities=void 0}))}}function m(e,t){const[n,i]=r.useState(),s=r.useCallback((()=>!0),[]),o=r.useRef();return o.current=null!=t?t:s,r.useEffect((()=>{const t=()=>{var t,i,r,s;const l=!(!o.current||!o.current());h.SetInteractionAffordance(n,e,l),2==e&&l&&(null===(s=null===(r=null===(i=null===(t=null==n?void 0:n.ownerDocument.defaultView)||void 0===t?void 0:t.SteamClient)||void 0===i?void 0:i.OpenVR)||void 0===r?void 0:r.TriggerOverlayHapticEffect)||void 0===s||s.call(r,a.sH.ButtonEnter,0))},i=()=>{var t,i,r,s;h.SetInteractionAffordance(n,e,!1),2==e&&o.current&&o.current()&&(null===(s=null===(r=null===(i=null===(t=null==n?void 0:n.ownerDocument.defaultView)||void 0===t?void 0:t.SteamClient)||void 0===i?void 0:i.OpenVR)||void 0===r?void 0:r.TriggerOverlayHapticEffect)||void 0===s||s.call(r,a.sH.ButtonLeave,0))};return null==n||n.addEventListener("mouseenter",t),null==n||n.addEventListener("mouseleave",i),()=>{null==n||n.removeEventListener("mouseenter",t),null==n||n.removeEventListener("mouseleave",i),h.SetInteractionAffordance(n,e,!1)}}),[n,e]),i}(0,i.gn)([s.LO],d.prototype,"m_rgMutualCapabilities",void 0),(0,i.gn)([s.LO],d.prototype,"m_bHMDPresent",void 0),(0,i.gn)([s.LO],d.prototype,"m_bHMDHardwareDetected",void 0),(0,i.gn)([s.LO],d.prototype,"m_strHMDName",void 0),(0,i.gn)([s.LO],d.prototype,"m_bIsVRRunning",void 0),(0,i.gn)([s.LO],d.prototype,"m_error",void 0),(0,i.gn)([s.LO],d.prototype,"m_eHMDActivityLevel",void 0),(0,i.gn)([s.LO],d.prototype,"m_bVRDeviceSeenRecently",void 0),(0,i.gn)([s.LO],d.prototype,"m_bIsKeyboardOpen",void 0),(0,i.gn)([s.LO],d.prototype,"m_eKeyboardFlags",void 0),(0,i.gn)([s.LO],d.prototype,"m_sInitialKeyboardText",void 0),(0,i.gn)([s.LO],d.prototype,"m_unSceneAppID",void 0),(0,i.gn)([s.LO],d.prototype,"m_bSimulatingVROnDesktop",void 0),(0,i.gn)([s.aD.bound],d.prototype,"OnVRHardwareDetected",null),(0,i.gn)([s.aD.bound],d.prototype,"OnVRModeChanged",null),(0,i.gn)([s.aD.bound],d.prototype,"OnStartupError",null),(0,i.gn)([s.aD.bound],d.prototype,"OnHMDActivityLevelChanged",null),(0,i.gn)([s.aD.bound],d.prototype,"OnSceneAppChanged",null),(0,i.gn)([s.aD.bound],d.prototype,"OnVRDeviceSeenRecentlyChanged",null),(0,i.gn)([s.aD.bound],d.prototype,"OnKeyboardStatus",null),(0,i.gn)([s.aD.bound],d.prototype,"ClearError",null);const h=new d},22042:(e,t,n)=>{"use strict";n.d(t,{Td:()=>R,xV:()=>L,Yr:()=>D,Zo:()=>M,D1:()=>T,Vc:()=>O,Wn:()=>k,T:()=>B});var i=n(85556),r=n(27605),s=n(47427),o=n(95315),a=n(82493),l=n(91618),c=n(3783),u=n(77262);n(15633);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(47692),p=n(43235),g=n(38204),_=(n(27438),n(90069),n(62613)),f=n(13129),v=n(60616),C=n(50423),S=n(31846),b=n(20417),w=n(37563),y=n(27241),E=n.n(y);const D=(0,h.Yt)("ContextMenuInstanceContext",(()=>s.createContext(null)));let L=class extends s.Component{constructor(){super(...arguments),this.m_navRef=(0,a.Hy)(),this.m_divRef=s.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:r,label:o,onCancel:a,cancelText:u,refInstance:m,bForceDesktopPresentation:h,footer:p}=t,g=(0,i._T)(t,["children","className","label","onCancel","cancelText","refInstance","bForceDesktopPresentation","footer"]);const _=null!==(e=this.context.styles)&&void 0!==e?e:E();let v=null!=u?u:"#Button_Cancel";if(1!=this.context.presentation||h)return s.createElement("div",Object.assign({},g,{ref:this.m_divRef,className:(0,f.Z)({[_.contextMenuContents]:!0,[_.hasSubMenu]:this.instance.BIsSubMenuVisible(),[_.ForceDesktop]:h},r)}),n);{const e=()=>{a&&a(),this.instance.Hide()};return s.createElement(l.s,Object.assign({},g,{className:(0,f.Z)(_.contextMenuContents,{[_.hasSubMenu]:this.instance.BIsSubMenuVisible()},r),"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()&&s.createElement(s.Fragment,null,s.createElement(I,null),s.createElement(M,{className:_.Cancel,onSelected:e},(0,S.Xx)(v)),p),this.instance.BIsSubMenuVisible()&&s.createElement("div",{className:_.contextMenuFade,onClick:()=>this.instance.HideSubMenu()}))}}};L.contextType=D,(0,i.gn)([b.ak],L.prototype,"HideIfSubmenu",null),(0,i.gn)([b.ak],L.prototype,"HideMenu",null),L=(0,i.gn)([r.Pi],L);class M extends s.PureComponent{constructor(){super(...arguments),this.m_ref=s.createRef(),this.m_refDiv=s.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){var t;null===(t=this.m_refDiv.current)||void 0===t||t.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:r,bInteractableItem:o,onMoveRight:a}=n,c=(0,i._T)(n,["onSelected","bInteractableItem","onMoveRight"]),u=null!==(t=null===(e=this.context)||void 0===e?void 0:e.styles)&&void 0!==t?t:E();return 1==this.context.presentation?s.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:a,unselectable:this.props.unselectable}),this.props.children):s.createElement(g.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)}}M.contextType=D,(0,i.gn)([b.ak],M.prototype,"OnClick",null),(0,i.gn)([b.ak],M.prototype,"OnOKButton",null),(0,i.gn)([b.ak],M.prototype,"OnMouseEnter",null),(0,i.gn)([b.ak],M.prototype,"Focus",null);class R extends s.PureComponent{render(){const e=this.props,{bChecked:t,children:n,className:r}=e,o=(0,i._T)(e,["bChecked","children","className"]);return s.createElement(M,Object.assign({},o,{className:(0,f.Z)(r,t&&"menuChecked")}),s.createElement("div",{className:"contextMenuCheckMark"}),n)}}s.PureComponent;function I(e){var t;const n=null!==(t=s.useContext(D).styles)&&void 0!==t?t:E();return s.createElement("div",{className:n.ContextMenuSeparator})}const T=e=>{const t=(0,w.id)();return s.createElement(A,Object.assign({},e,{bInGamepadUI:t}))};class A extends s.PureComponent{constructor(e){super(e),this.m_refItem=s.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 s.createElement(L,{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:r,children:o,className:a,bInGamepadUI:l}=t,c=(0,i._T)(t,["label","selectedWithin","children","className","bInGamepadUI"]);const u=null!==(e=this.context.styles)&&void 0!==e?e:E();return s.createElement(M,Object.assign({},c,{ref:this.m_refItem,onClick:this.OnClick,selected:r&&!this.state.bActive,className:(0,f.Z)(a,u.SubMenu,this.state.bActive&&u.active),onMouseEnter:this.OnMouseEnter,bInteractableItem:!0,onMoveRight:()=>this.ShowSubMenu()}),s.createElement("div",{className:u.Label},n),s.createElement("div",{className:u.Arrow},s.createElement(_.$gZ,null)))}}A.contextType=D,(0,i.gn)([b.ak],A.prototype,"OnSubMenuMouseEnter",null),(0,i.gn)([b.ak],A.prototype,"OnSubMenuHidden",null),(0,i.gn)([b.ak],A.prototype,"ShowSubMenu",null),(0,i.gn)([b.ak],A.prototype,"RenderSubMenu",null),(0,i.gn)([b.ak],A.prototype,"OnMouseEnter",null),(0,i.gn)([b.ak],A.prototype,"OnClick",null);let k=class extends s.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){var t,n;this.props.instance.SetElement(e),this.m_elMenu&&(this.m_mutationObserver.disconnect(),this.props.popup&&!this.props.options.bScreenCoordinates||null===(t=this.m_elMenu.ownerDocument.defaultView)||void 0===t||t.removeEventListener("resize",this.OnWindowResize)),e&&(this.m_mutationObserver.observe(e,{childList:!0,subtree:!0}),this.props.popup&&!this.props.options.bScreenCoordinates||null===(n=e.ownerDocument.defaultView)||void 0===n||n.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},(()=>{var e;(null===(e=this.props.options)||void 0===e?void 0:e.bSkipFocusWhenReady)||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.OnCancel(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,i=this.props.element;if(!n)return;let r=null!=this.props.popup,s=this.parentWin;if(!s||i&&"none"===s.getComputedStyle(i).display)return;let o=this.props.clientX,a=this.props.clientY,l=0,c=0,u=s.innerWidth,d=s.innerHeight,m=1,h=null==i?void 0:i.getBoundingClientRect();if(r)if(t.bScreenCoordinates||void 0===o||void 0===a||(o+=s.screenLeft,a+=s.screenTop),h&&(h=C.sH(s,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=s.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)&&(o=a=void 0);let p=n.getBoundingClientRect();if(t.flGamepadScale&&t.flGamepadScale>0){const e=t.flGamepadScale;p=new DOMRect(p.x*e,p.y*e,p.width*e,p.height*e)}let g={menuLeft:void 0,menuRight:void 0,menuTop:void 0,menuBottom:void 0,menuWidth:void 0,menuHeight:void 0,menuMinWidth:void 0},_=null!=o?o:h.left,f=null!=o?o:h.right,v=p.width;t.bMatchWidth&&(v=f-_,g.menuWidth=v),t.bGrowToElementWidth&&(g.menuMinWidth=Math.max(v,f-_));let S=(t.bOverlapHorizontal?f:_)-l-v,b=S>0,w=l+u-(t.bOverlapHorizontal?_:f)-v,y=w>0,E=(t.bPreferPopLeft||!y)&&b;b||y||(E=b>y,t.bFitToWindow&&(v+=(E?S:w)-8,g.menuWidth=v)),E?g.menuRight=u-(t.bOverlapHorizontal?f:_):g.menuLeft=t.bOverlapHorizontal?_:f;let D=null!=a?a:h.top,L=null!=a?a:h.bottom,M=n.scrollHeight;t.bMatchHeight&&(M=L-D,g.menuHeight=M);let R=(t.bOverlapVertical?L:D)-c-M,I=R>0,T=c+d-(t.bOverlapVertical?D:L)-M,A=T>0,k=(t.bPreferPopTop||!A)&&I&&!t.bDisablePopTop;if(!I&&!A){const e=void 0!==t.bShiftToFitWindow?t.bShiftToFitWindow:!!t.bFitToWindow&&!t.bOverlapHorizontal;k=R>T&&!t.bDisablePopTop,e&&(k?g.menuTop=4:g.menuBottom=4),t.bFitToWindow&&(e?M=Math.min(M,d-8):M+=k?R:T,g.menuHeight=M-8)}void 0===g.menuBottom&&void 0===g.menuTop&&(k?g.menuBottom=d-(t.bOverlapVertical?L:D):g.menuTop=t.bOverlapVertical?D:L),r?(g.menuHeight||(g.menuHeight=p.height),g.menuWidth||(g.menuWidth=p.width),g.menuBottom&&!g.menuTop&&(g.menuTop=d-g.menuBottom-g.menuHeight,g.menuBottom=void 0),g.menuRight&&!g.menuLeft&&(g.menuLeft=u-g.menuRight-g.menuWidth,g.menuRight=void 0)):(g.menuLeft&&(g.menuLeft+=s.scrollX),g.menuTop&&(g.menuTop+=s.scrollY),g.menuBottom&&(g.menuBottom+=s.document.body.clientHeight-s.scrollY-s.innerHeight),g.menuRight&&(g.menuRight+=s.document.body.clientWidth-s.scrollX-s.innerWidth)),(e||g.menuLeft!==this.state.menuLeft||g.menuRight!==this.state.menuRight||g.menuTop!==this.state.menuTop||g.menuBottom!==this.state.menuBottom||g.menuWidth!==this.state.menuWidth||g.menuHeight!==this.state.menuHeight)&&this.setState(g)}PositionPopupWindow(){var e,t,n,i;if(!(void 0!==this.state.menuLeft&&void 0!==this.state.menuTop&&void 0!==this.state.menuWidth&&void 0!==this.state.menuHeight))return;const r=null===(e=this.props.popup)||void 0===e?void 0:e.window,s=this.props.options;if(s.bScreenCoordinates){let e=null===(t=this.parentWin)||void 0===t?void 0:t.devicePixelRatio;if(s.targetMonitor){let t=s.flGamepadScale||1;e=(null!==(n=s.targetMonitor.flMonitorScale)&&void 0!==n?n:1)/t}return null==r||r.SteamClient.Window.MoveTo(this.state.menuLeft,this.state.menuTop,e),void(null==r||r.SteamClient.Window.ResizeTo(this.state.menuWidth,this.state.menuHeight,e))}null===(i=this.parentWin)||void 0===i||i.SteamClient.Window.GetWindowRestoreDetails().then((e=>{const t=this.state.menuLeft-this.parentWin.screenX,n=this.state.menuTop-this.parentWin.screenY;try{null==r||r.SteamClient.Window.PositionWindowRelative(e,t,n,this.state.menuWidth,this.state.menuHeight)}catch(e){console.error(e)}}))}render(){var e,t,n;let i={visibility:this.state.ready?"visible":"hidden"};if(this.props.options.flGamepadScale&&this.props.options.flGamepadScale>0)i.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&&(i.zoom=(null!==(n=this.props.options.targetMonitor.flMonitorScale)&&void 0!==n?n:1)/e)}this.props.popup?(this.PositionPopupWindow(),void 0!==this.state.menuMinWidth&&(i.minWidth=this.state.menuMinWidth)):(void 0!==this.state.menuTop?i.top=this.state.menuTop:void 0!==this.state.menuBottom&&(i.bottom=this.state.menuBottom),void 0!==this.state.menuLeft?i.left=this.state.menuLeft:void 0!==this.state.menuRight&&(i.right=this.state.menuRight),void 0!==this.state.menuHeight&&(i.height=this.state.menuHeight),void 0!==this.state.menuWidth&&(i.width=this.state.menuWidth),void 0!==this.state.menuMinWidth&&(i.minWidth=this.state.menuMinWidth));let r=this.props.options.strClassName||E().contextMenu;return(this.props.options.bCreateHidden||this.props.instance.visible&&this.state.ready)&&(r+=" visible"),r+=" "+E().ContextMenuFocusContainer,s.createElement("div",{className:r,ref:this.BindMenuElement,style:i,onBlur:this.OnBlur,onKeyDown:this.OnKeyDown,tabIndex:0},this.props.children)}};function O(e){return s.createElement("div",{className:E().ContextMenuMouseOverlay})}function B(e){let t=[],n=C.RA(e),i=n.getSelection(),r=i&&i.rangeCount>0&&i.toString().length>0,a=e.target,l=!1;const c=e.clientY,u=e.clientX;if(a&&"tagName"in a&&("INPUT"!=a.tagName&&"TEXTAREA"!=a.tagName||(l=!0)),w.De.IN_CLIENT&&l&&(0,p.w3)(n,"Browser.GetSpellingSuggestions")){let[e,...i]=n.SteamClient.Browser.GetSpellingSuggestions(),r=a;if(r&&i.forEach(((e,i)=>{t.push(s.createElement(M,{key:`spelling_${i}_${e}`,onSelected:()=>{r.setRangeText(e),function(e,t){let n=t.createEvent("HTMLEvents");n.initEvent("change",!0,!1),e.dispatchEvent(n)}(r,n.document),r.setSelectionRange(r.selectionEnd,r.selectionEnd),a.focus()},className:E().NoSeparation},e))})),e&&(0,p.w3)(n,"Browser.AddWordToDictionary")){const i=30;e=e.trim(),t.push(s.createElement(M,{key:`addtodictionary_${e}`,onSelected:()=>n.SteamClient.Browser.AddWordToDictionary(e)},(0,S.Xx)("#ContextMenu_AddToDictionary",e.length{n.document.execCommand("cut")}},(0,S.Xx)("#ContextMenu_Cut"))),(n.document.queryCommandEnabled("copy")||r)&&t.push(s.createElement(M,{key:"copy",onSelected:()=>{n.document.execCommand("copy")},className:E().NoSeparation},(0,S.Xx)("#ContextMenu_Copy"))),w.De.IN_CLIENT&&l&&(0,p.w3)(n,"Browser.Paste")&&t.push(s.createElement(M,{key:"paste",onSelected:()=>{a.focus(),n.SteamClient.Browser.Paste()},className:E().NoSeparation},(0,S.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(s.createElement(I,{key:"devtools-separator"})),(0,p.U5)("Browser.OpenDevTools")&&t.push(s.createElement(M,{key:"opendevtools",onSelected:()=>{a.focus(),n.SteamClient.Browser.OpenDevTools()}},"Open Dev Tools")),(0,p.U5)("Browser.InspectElement")&&t.push(s.createElement(M,{key:"inspectelement",onSelected:()=>{a.focus(),n.SteamClient.Browser.InspectElement(c,u)},className:E().NoSeparation},"Inspect Element"))),t.length)(0,o.yV)(s.createElement(L,null,t),e,{bRootContextMenu:!0});else{if(e.shiftKey)return;e.preventDefault(),e.stopPropagation()}}(0,i.gn)([b.ak],k.prototype,"BindMenuElement",null),(0,i.gn)([b.ak,(0,v.D)(100)],k.prototype,"OnMenuMutation",null),(0,i.gn)([b.ak],k.prototype,"OnWindowResize",null),(0,i.gn)([b.ak],k.prototype,"OnBlur",null),(0,i.gn)([b.ak],k.prototype,"OnKeyDown",null),k=(0,i.gn)([r.Pi],k);const x="EnableContextMenuBlurDelay3";function N(){return"true"===(window.localStorage&&window.localStorage.getItem(x))}},38204:(e,t,n)=>{"use strict";n.d(t,{P:()=>c,s:()=>l});var i=n(85556),r=n(47427),s=n(13129),o=n(27241),a=n.n(o);const l=r.forwardRef(((e,t)=>{const{className:n,contextMenuStyles:o,disabled:l}=e,c=(0,i._T)(e,["className","contextMenuStyles","disabled"]);return r.createElement("div",Object.assign({},c,{ref:t,className:(0,s.Z)(n,(o||a()).contextMenuItem,"contextMenuItem",l&&"disabled")}))}));function c(e){const{bChecked:t,children:n,className:o}=e,a=(0,i._T)(e,["bChecked","children","className"]);return r.createElement(l,Object.assign({},a,{className:(0,s.Z)(o,t&&"menuChecked")}),r.createElement("div",{className:"contextMenuCheckMark"}),n)}l.displayName="MenuItem"},1485:(e,t,n)=>{"use strict";n.d(t,{E0:()=>nt,iN:()=>V,uT:()=>D,V5:()=>L,Ac:()=>E,zx:()=>N,ji:()=>U,sg:()=>I,VY:()=>T,oX:()=>O,Vh:()=>Je,RD:()=>d,TW:()=>we,ry:()=>ve,gN:()=>lt,$_:()=>w,ZY:()=>Bt,gB:()=>pt,Eb:()=>_t,fp:()=>kt,h4:()=>S,II:()=>J,BW:()=>pe,V$:()=>he,__:()=>y,o9:()=>F,$0:()=>G,KM:()=>x,EU:()=>le,SY:()=>ae,BQ:()=>j,DS:()=>ne,Yz:()=>P,bU:()=>b,FT:()=>R,gE:()=>W,Uq:()=>M});var i=n(85556),r=n(47427),s=n(82493),o=n(91618),a=n(62613),l=n(13129),c=n(31846),u=n(16997);const d=r.createContext({}),m=()=>r.useContext(d);var h=n(51592),p=n(24672),g=n.n(p);const _=e=>{const t=m();return r.createElement(h.T,Object.assign({component:null==t?void 0:t.ToggleControl,fallback:f},e))},f=e=>{const{value:t,onChange:n,disabled:i}=e;return r.createElement("div",{className:(0,l.Z)(g().Toggle,i&&g().Disabled),onClick:()=>!i&&n&&n(!t)},r.createElement("div",{className:g().ToggleRail}),r.createElement("div",{className:(0,l.Z)(g().ToggleRail,g().Highlight,t?g().On:g().Off)}),r.createElement("div",{className:(0,l.Z)(g().ToggleSwitch,t?g().On:g().Off)}))};var v=n(14609);function C(e){return r.forwardRef((function(t,n){return r.createElement(o.s,Object.assign({},t,{className:(0,l.Z)(e,t.className),ref:n}))}))}let S=(0,v.Sb)("DialogHeader"),b=(0,v.Sb)("DialogSubHeader"),w=((0,v.Sb)("SettingsDialogSubHeader"),(0,v.Sb)("DialogFooter")),y=(0,v.Sb)("DialogLabel _DialogLayout"),E=(0,v.Sb)("DialogBodyText"),D=(0,v.Sb)("DialogBody"),L=C("DialogBody"),M=((0,v.Sb)("DialogInnerBody"),(0,v.Sb)("DialogControlsSection"),(0,v.Sb)("DialogControlsSectionHeader"),C("DialogTwoColLayout _DialogColLayout")),R=C("DialogThreeColLayout _DialogColLayout"),I=(C("DialogTwoThirdColLayout _DialogColLayout"),(0,v.Sb)("DialogColumn _DialogLayout"));function T(e){const t=m().Content||A;return r.createElement(t,Object.assign({},e))}function A(e){let{children:t,bCenterVertically:n,refElem:s}=e,o=(0,i._T)(e,["children","bCenterVertically","refElem"]),a="DialogContent _DialogLayout"+(e.className?" "+e.className:"");return n&&(a+=" _DialogCenterVertically"),r.createElement("div",Object.assign({},o,{ref:s,className:a}),r.createElement("div",{className:"DialogContent_InnerWidth"},t))}class k extends r.Component{OnSubmit(e){e.preventDefault(),this.props.onSubmit&&this.props.onSubmit(e)}render(){return r.createElement("form",Object.assign({},this.props,{onSubmit:this.OnSubmit}))}}function O(e){const{classNameContent:t,bCenterVertically:n}=e,s=(0,i._T)(e,["classNameContent","bCenterVertically"]);return r.createElement(T,{className:t,bCenterVertically:n},r.createElement(k,Object.assign({},s)))}(0,i.gn)([u.a],k.prototype,"OnSubmit",null);const B=r.forwardRef((function(e,t){const n=m(),{svgicon:o}=e,a=(0,i._T)(e,["svgicon"]),c=(0,l.Z)(e.className,void 0!==o&&"hasSVGIcon",a.disabled&&"Disabled",n.strButtonClassName),u=e=>{if(!a.disabled&&e)return t=>{t.stopPropagation(),e(t)}};return r.createElement(s.wl,Object.assign({ref:t,onOKActionDescription:a.disabled?null:void 0,noFocusRing:!!n.strButtonClassName},a,{className:c,disabled:!1,onClick:u(a.onClick),onPointerDown:u(a.onPointerDown),onPointerUp:u(a.onPointerUp),onPointerCancel:u(a.onPointerCancel),onMouseDown:u(a.onMouseDown),onMouseUp:u(a.onMouseUp),onTouchStart:u(a.onTouchStart),onTouchEnd:u(a.onTouchEnd),onTouchCancel:u(a.onTouchCancel),onSubmit:u(a.onSubmit)}),o&&o(),e.children)})),x=r.forwardRef((function(e,t){return r.createElement(B,Object.assign({preferredFocus:!0,type:e.onClick?"button":"submit"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton","_DialogLayout","Primary")}))})),N=r.forwardRef((function(e,t){return r.createElement(B,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton","_DialogLayout","Secondary")}))})),P=(r.forwardRef((function(e,t){return r.createElement(B,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton","_DialogLayout","EmptyButton")}))})),r.forwardRef((function(e,t){return r.createElement(B,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton _DialogLayout Small")}))})));r.forwardRef((function(e,t){return r.createElement(B,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"TextButton")}))}));function F(e){return r.createElement(M,{className:e.className},r.createElement(x,{onClick:e.onOK,disabled:e.bOKDisabled,autoFocus:"primary"==e.focusButton},e.strOKText||(0,c.Xx)("#Button_Confirm")," "),r.createElement(N,{onClick:e.onCancel,disabled:e.bCancelDisabled,autoFocus:"secondary"==e.focusButton},e.strCancelText||(0,c.Xx)("#Button_Cancel")))}function G(e){const t=e.bOKDisabled?N:x,n=e.bOKDisabled?x:N;return r.createElement(R,null,r.createElement(t,{onClick:e.onOK,disabled:e.bOKDisabled},e.strOKText||(0,c.Xx)("#Button_Confirm")," "),r.createElement(n,{onClick:e.onUpdate,disabled:e.bUpdateDisabled},e.strUpdateText||(0,c.Xx)("#Button_Update")," "),r.createElement(N,{onClick:e.onCancel,disabled:e.bCancelDisabled},e.strCancelText||(0,c.Xx)("#Button_Cancel")))}class V extends r.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:r,description:s,tabIndex:o,disabled:a,className:l,tooltip:c,color:u,highlightColor:d,bottomSeparator:m,controlled:h}=e,p=(0,i._T)(e,["onChange","checked","label","description","tabIndex","disabled","className","tooltip","color","highlightColor","bottomSeparator","controlled"]);return Object.assign(Object.assign({},p),{tabIndex:o||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,i.gn)([u.a],V.prototype,"Toggle",null),(0,i.gn)([u.a],V.prototype,"KeyDown",null),(0,i.gn)([u.a],V.prototype,"SetChecked",null);class H extends V{render(){let e="DialogCheckbox"+(this.checked?" Active":"");return 1==this.state.disabled&&(e+=" Disabled"),this.props.label?r.createElement(o.s,Object.assign({className:"DialogCheckbox_Container _DialogLayout "+(this.props.className?this.props.className:"")},this.GetPanelElementProps()),r.createElement("div",{className:e},r.createElement(a.mKE,{color:this.props.color,highlightColor:this.props.highlightColor})),r.createElement("div",{className:"DialogToggle_Label"},"string"==typeof this.props.label&&r.createElement("span",null,this.props.label),"string"!=typeof this.props.label&&this.props.label,this.props.tooltip&&r.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)")),r.createElement("div",{style:{clear:"left"}}),this.props.description&&r.createElement("div",{className:"DialogToggle_Description"},this.props.description),this.props.children):r.createElement(o.s,Object.assign({className:e},this.GetPanelElementProps()),r.createElement(a.mKE,null))}}class U extends V{render(){return r.createElement(h.T,Object.assign({fallback:H},this.props))}}U.contextType=d;class j extends V{render(){let e=this.checked?" Active":"";return r.createElement(o.s,Object.assign({className:(0,l.Z)("DialogRoundCheckboxField_Container",this.props.className,this.props.label?"WithLabel":"")},this.GetPanelElementProps()),r.createElement("div",{className:"DialogRoundCheckboxField"},r.createElement("div",{className:"DialogRoundCheckboxField_Control"+e},r.createElement("div",{className:"DialogRoundCheckboxField_OuterCircle"},r.createElement("div",{className:"DialogRoundCheckboxField_InnerCircle"})))),this.props.label&&r.createElement("div",{className:"DialogToggle_Label"},r.createElement("span",null,this.props.label),this.props.tooltip&&r.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)")))}}const W=r.forwardRef((function(e,t){const n=m();return r.createElement(h.T,Object.assign({component:n.ToggleField,fallback:Z,componentRef:t},e))}));class Z 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"),r.createElement("div",{className:e,tabIndex:this.props.tabIndex||0,onKeyDown:this.OnOffKeyDown},r.createElement("div",{className:"displayColumn alignSelfCenter"},r.createElement("div",{className:"DialogToggle_Label"},r.createElement("span",null,this.props.label),this.props.tooltip&&r.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)")),this.props.description&&r.createElement("div",{className:"DialogToggle_Description"},this.props.description),this.props.children),this.props.useToggleRail?r.createElement("div",{className:"DialogToggleField_NewUIContainer"},r.createElement(_,{onChange:this.OnNewUIToggle,value:this.checked})):r.createElement("div",{className:"DialogToggleField_Control",onClick:this.Toggle},r.createElement(o.s,{className:"DialogToggleField_OptionPanel",onOKButton:this.Toggle},r.createElement("div",{className:"DialogToggleField_Option Off"+(this.checked?"":" Active")},(0,c.Xx)("#Dialog_Off")),r.createElement("div",{className:"DialogToggleField_Option On"+(this.checked?" Active":"")},(0,c.Xx)("#Dialog_On")))))}}(0,i.gn)([u.a],Z.prototype,"OnOffKeyDown",null),(0,i.gn)([u.a],Z.prototype,"OnNewUIToggle",null);var z=n(20417),K=n(42287),q=n(50423),$=n(48766);class X extends $.Rq{constructor(e,t,n){super(q.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 i=this.m_props[n],r=i.start+(i.end-i.start)*e;t[n]=r}this.m_component.setState(t)}FireOnComplete(){super.FireOnComplete(),this.m_setStateOnComplete&&this.m_component.setState(this.m_setStateOnComplete)}}var Y=n(62210);const Q=r.forwardRef((function(e,t){const n=m();return r.createElement(h.T,Object.assign({component:null==n?void 0:n.InputElement,fallback:s.bX},e,{componentRef:t}))}));class J extends r.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_strInvalidURLMessage:null,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 null!=e&&(/^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 null!=e&&/^(([^<>()\[\]\\.,;:\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(){var e,t,n,i,r,s;this.setState({m_bNumberBelowMinRange:null!==this.props.rangeMin&&void 0!==this.props.rangeMin&&Number(null===(e=this.m_elInput)||void 0===e?void 0:e.value)this.props.rangeMax,m_bIsNotNumeric:1==this.props.mustBeNumeric&&isNaN(Number(null===(n=this.m_elInput)||void 0===n?void 0:n.value)),m_bIsInvalidURL:1==this.props.mustBeURL&&!J.validateUrl(null===(i=this.m_elInput)||void 0===i?void 0:i.value),m_strInvalidURLMessage:this.props.fnStrValidateURL?this.props.fnStrValidateURL(null===(r=this.m_elInput)||void 0===r?void 0:r.value):null,m_bIsInvalidEmail:1==this.props.mustBeEmail&&!J.validateEmail(null===(s=this.m_elInput)||void 0===s?void 0:s.value),m_bAboveMaxChars:null!=this.props.maxChars&&null!=this.m_elInput&&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,i=-24;this.setState({m_bCompletedCopiedAnimation:!1}),this.setState({m_CopiedYPos:n},(()=>{this.m_CopiedAnimation=new X(this,{m_CopiedYPos:i},{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:s,bShowCopyAction:l,bShowClearAction:u,bAlwaysShowClearAction:d,rangeMin:m,rangeMax:h,mustBeNumeric:p,mustBeURL:g,fnStrValidateURL:_,mustBeEmail:f,focusOnMount:v,tooltip:C,inlineControls:S,maxChars:b}=e,w=(0,i._T)(e,["label","description","requiredLabel","bShowCopyAction","bShowClearAction","bAlwaysShowClearAction","rangeMin","rangeMax","mustBeNumeric","mustBeURL","fnStrValidateURL","mustBeEmail","focusOnMount","tooltip","inlineControls","maxChars"]);let y="DialogInput DialogInputPlaceholder DialogTextInputBase"+(w.className?" "+w.className:""),E="copiedAnimation",D=this.state.m_bCompletedCopiedAnimation;this.m_CopiedAnimation&&(E="copiedAnimation animationPlaying"),D&&(E="copiedAnimation animationComplete");let L={};void 0!==this.state.m_CopiedYPos&&(L.transform="translateY("+this.state.m_CopiedYPos+"px)");let M=r.createElement(r.Fragment,null,r.createElement(o.s,{className:"DialogInput_Wrapper _DialogLayout","flow-children":"row"},r.createElement(Q,Object.assign({type:"text"},w,{className:y,ref:this.OnInputRef,onChange:this.OnChanged})),l&&r.createElement("div",{className:"displayRow"},r.createElement(N,{className:"DialogInput_CopyAction Primary",onClick:this.OnCopyClick},(0,c.Xx)("#Button_Copy")),r.createElement("div",{style:L,className:E},(0,c.Xx)("#Button_Copied"))),(d||u&&w.value)&&r.createElement("div",{className:"DialogInput_ClearAction",onClick:this.OnClearClick},r.createElement(a.pVO,null)),S),n&&r.createElement("div",{className:"DialogLabelExplainer"},n));return t?r.createElement("div",{className:"DialogInputLabelGroup _DialogLayout DialogRequirementLabel"},r.createElement("label",null,r.createElement("div",{className:"DialogLabel"},t," ",this.props.tooltip&&r.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)"),r.createElement("span",{className:"DialogInputRequirementLabel"},this.props.requiredLabel)," "),M,this.state.m_bNumberBelowMinRange?r.createElement("div",null," ",(0,c.Xx)("#Input_Error_NumberTooSmall")," "):null,this.state.m_bNumberAboveMaxRange?r.createElement("div",null," ",(0,c.Xx)("#Input_Error_NumberTooLarge")," "):null,this.state.m_bIsInvalidURL?r.createElement("div",null," ",(0,c.Xx)("#Input_Error_MustBeURL")," "):null,this.state.m_strInvalidURLMessage?r.createElement("div",null," ",this.state.m_strInvalidURLMessage," "):null,this.state.m_bIsInvalidEmail?r.createElement("div",null," ",(0,c.Xx)("#Input_Error_MustBeEmail")," "):null,this.state.m_bIsNotNumeric?r.createElement("div",null," ",(0,c.Xx)("#Input_Error_MustBeNumber")," "):null,this.state.m_bAboveMaxChars?r.createElement("div",null," ",(0,c.kQ)("#Input_Error_TooManyCharacters",b)," "):null)):M}}(0,i.gn)([z.ak],J.prototype,"OnInputRef",null),(0,i.gn)([z.ak],J.prototype,"OnChanged",null),(0,i.gn)([z.ak],J.prototype,"OnCopyClick",null),(0,i.gn)([z.ak],J.prototype,"OnClearClick",null);class ee extends J{constructor(){super(...arguments),this.m_bFocused=!1}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:a,bShowCopyAction:c,bShowClearAction:u,bAlwaysShowClearAction:d,rangeMin:m,rangeMax:h,maxChars:p,mustBeNumeric:g,mustBeURL:_,fnStrValidateURL:f,mustBeEmail:v,focusOnMount:C,tooltip:S,inlineControls:b,className:w,children:y}=e,E=(0,i._T)(e,["label","description","requiredLabel","bShowCopyAction","bShowClearAction","bAlwaysShowClearAction","rangeMin","rangeMax","maxChars","mustBeNumeric","mustBeURL","fnStrValidateURL","mustBeEmail","focusOnMount","tooltip","inlineControls","className","children"]);return r.createElement("div",{className:"DialogInputLabelGroup _DialogLayout DialogListBuilderInput"},r.createElement("label",null,t&&r.createElement("div",{className:"DialogLabel"},t),r.createElement("div",{className:(0,l.Z)("_DialogInputContainer","DialogTextInputBase",this.m_bFocused&&"Active"),onClick:this.OnBackgroundClick},r.createElement(o.s,{className:"DialogListBuilderInput_List","flow-children":"row"},r.Children.map(y,((e,t)=>r.createElement("div",{className:"DialogListBuilderInput_ListItem",key:t},e))),r.createElement(s.bX,Object.assign({type:"text"},E,{className:"DialogListBuilderInput_Input DialogInputPlaceholder",ref:this.OnInputRef,onFocus:this.OnInputFocus,onBlur:this.OnInputBlur,size:4})))),n&&r.createElement("div",{className:"DialogLabelExplainer"},n)))}}(0,i.gn)([z.ak],ee.prototype,"OnBackgroundClick",null),(0,i.gn)([z.ak],ee.prototype,"OnInputFocus",null),(0,i.gn)([z.ak],ee.prototype,"OnInputBlur",null);const te=(e,t)=>""+(null!=e?Number.parseFloat(e.toFixed(3)):null)+(null!=t?t:""),ne=e=>{const t=m();return r.createElement(h.T,Object.assign({component:t.SliderField,fallback:ie},e))};class ie extends r.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){var t,n;this.m_elSlider=e.currentTarget,this.m_rectSlider=this.m_elSlider.getBoundingClientRect(),this.props.onChangeStart&&this.props.onChangeStart(1),this.AdjustSliderForClientX(e.clientX,1),null===(t=this.m_elSlider.ownerDocument.defaultView)||void 0===t||t.addEventListener("mousemove",this.OnMouseMove),null===(n=this.m_elSlider.ownerDocument.defaultView)||void 0===n||n.addEventListener("mouseup",this.OnMouseUp)}OnMouseMove(e){this.AdjustSliderForClientX(e.clientX,1)}OnMouseUp(e){var t,n,i,r;null===(n=null===(t=this.m_elSlider)||void 0===t?void 0:t.ownerDocument.defaultView)||void 0===n||n.removeEventListener("mousemove",this.OnMouseMove),null===(r=null===(i=this.m_elSlider)||void 0===i?void 0:i.ownerDocument.defaultView)||void 0===r||r.removeEventListener("mouseup",this.OnMouseUp),this.CompleteChange(1)}OnTouchStart(e){var t,n;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),null===(t=this.m_elSlider.ownerDocument.defaultView)||void 0===t||t.addEventListener("touchmove",this.OnTouchMove),null===(n=this.m_elSlider.ownerDocument.defaultView)||void 0===n||n.addEventListener("touchend",this.OnTouchEnd)}OnTouchMove(e){this.AdjustSliderForClientX(e.touches[0].clientX,0)}OnTouchEnd(e){var t,n,i,r;null===(n=null===(t=this.m_elSlider)||void 0===t?void 0:t.ownerDocument.defaultView)||void 0===n||n.removeEventListener("touchmove",this.OnTouchMove),null===(r=null===(i=this.m_elSlider)||void 0===i?void 0:i.ownerDocument.defaultView)||void 0===r||r.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 i=this.ClampValue(n);i!=this.props.value&&(this.props.onChange&&this.props.onChange(i,t),this.m_flLastSetValue=i)}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 s=this.props,{label:o,description:a,tooltip:l}=s,c=((0,i._T)(s,["label","description","tooltip"]),null!==(e=this.props.renderValue)&&void 0!==e?e:te);return r.createElement("div",{className:"DialogSlider_Container _DialogInputContainer _DialogLayout"+(this.props.className?" "+this.props.className:""),onKeyDown:this.OnKeyDown,tabIndex:this.props.tabIndex||0},o&&r.createElement("div",{className:"DialogLabel"},o,Boolean(l)&&r.createElement("span",{"data-tooltip-text":l}," (?)")),r.createElement("div",{className:"DialogSlider_Slider",onMouseDown:this.OnMouseDown,onTouchStart:this.OnTouchStart},r.createElement("div",{className:"DialogSlider_Value",style:t}),r.createElement("div",{className:"DialogSlider_Grabber",style:n})),this.props.showValue&&r.createElement("div",{className:"DialogLabelExplainer"},c(this.props.value,this.props.valueSuffix)),a&&r.createElement("div",{className:"DialogLabelExplainer"},a))}}(0,i.gn)([z.ak],ie.prototype,"OnMouseDown",null),(0,i.gn)([z.ak],ie.prototype,"OnMouseMove",null),(0,i.gn)([z.ak],ie.prototype,"OnMouseUp",null),(0,i.gn)([z.ak],ie.prototype,"OnTouchStart",null),(0,i.gn)([z.ak],ie.prototype,"OnTouchMove",null),(0,i.gn)([z.ak],ie.prototype,"OnTouchEnd",null),(0,i.gn)([z.ak],ie.prototype,"OnKeyDown",null);var re=n(27363),se=n.n(re);const oe=r.createContext({setValue:()=>{}});function ae(e){const{value:t,onChange:n,classNames:i,disabled:s,children:a}=e,c={value:t,setValue:n,disabled:s};return r.createElement(oe.Provider,{value:c},r.createElement(o.s,{className:(0,l.Z)(se().Group,"Shared_Radio_Group",i,s&&se().Disabled,c.bVertical&&se().VerticalGrouping)},a))}function le(e){const{value:t,children:n}=e,o=(0,i._T)(e,["value","children"]),{value:a,setValue:c,disabled:u}=r.useContext(oe);let d=c;const m=t===a;return r.createElement(s.Ks,Object.assign({className:(0,l.Z)(se().Button,"RadioButton",m&&se().Active,u&&se().Disabled),onClick:u?void 0:()=>d(t)},o),n)}var ce=n(95315),ue=n(97696),de=n.n(ue),me=n(59728);function he(e){return"object"==typeof e&&"data"in e}function pe(e){return"object"==typeof e&&"options"in e}function ge(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,s)=>{he(t)?i.push(r.createElement("div",{key:s,className:(0,l.Z)(de().DialogDropDownMenu_Item,e.strDropDownItemClassName,t.strOptionClass),"data-dropdown-index":s,onClick:n=>e.onValueSelected&&e.onValueSelected(n,t)},Boolean(t.tooltip)?r.createElement(me.HP,{toolTipContent:t.tooltip,bTopmost:!0,className:"TooltipContainer"},t.label):r.createElement("div",null,t.label))):pe(t)&&n.push(t.options)}));return r.createElement("div",{className:(0,l.Z)(de().DialogDropDownMenu,"_DialogInputContainer",e.strDropDownMenuCtnClass)},i)}class Le extends r.Component{constructor(){super(...arguments),this.state={rgOptions:void 0}}OnMenuOpened(){return(0,i.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:s}=e,o=(0,i._T)(e,["fnLoadOptions","strInitialDisplay","initialValue"]);let{rgOptions:a}=this.state;return void 0===a&&(n||s?(a=[{label:n,data:s}],o.selectedOption=s):a=[]),r.createElement(ve,Object.assign({},o,{rgOptions:a,onMenuOpened:this.OnMenuOpened}))}}(0,i.gn)([z.ak],Le.prototype,"OnMenuOpened",null);n(64012);var Me=n(54842),Re=n(83654),Ie=n(83999),Te=n(45651);const Ae=new(n(68785).sO)("DragDrop").Debug;class ke extends r.Component{constructor(){super(...arguments),this.m_coordinator=new Be}OnDrop(e,t){t>e&&t--,t!=e&&this.props.onReorder(e,t)}render(){let e=[];return e.push(r.createElement(Ge,{coordinator:this.m_coordinator,key:"dropregion_top",fnBAcceptDraggable:e=>0!=e.props.data,fnOnDrop:e=>this.OnDrop(e.props.data,0)})),r.Children.forEach(this.props.children,((t,n)=>{const i=t.props.id||"__list_"+n,s=n+1;e.push(r.createElement(xe,{coordinator:this.m_coordinator,data:n,key:i},t)),e.push(r.createElement(Ge,{coordinator:this.m_coordinator,key:"dropregion_"+i,fnBAcceptDraggable:e=>e.props.data!=s,fnOnDrop:e=>this.OnDrop(e.props.data,s)}))})),r.createElement("div",{className:"DialogReorderableList"},e)}}function Oe(e,t,n,i){return i?n&&e>n.left&&en.top&&t=n.left&&e<=n.right&&t>=n.top&&t<=n.bottom}(0,i.gn)([z.ak],ke.prototype,"OnDrop",null);class Be{constructor(){this.m_embeddedElement=new Re.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){Ie.Zf(this.m_rgDropRegions,e),Ie.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=r.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(){var e;null===(e=this.m_nodeCloneCopy.parentNode)||void 0===e||e.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 i;if("elementsFromPoint"in n&&(i=n.elementsFromPoint(e,t)),i){const e=new Map;this.m_rgActiveDropRegions.forEach((t=>e.set(t.GetElement(),t)));for(const t of i){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 i=this.m_rgActiveDropRegions[n];if(i.BDraggableInRegion(e,t,this.m_activeDraggable))return i}}}OnDrag(e,t,n){var i,r;const s=this.m_prevClientX||t,o=this.m_prevClientY||n;if(e.props.bEnableHTMLDrag&&this.m_dragOffWindowTimer&&window.clearTimeout(this.m_dragOffWindowTimer),this.m_dragGhost){const t=void 0===s?0:s-(null!==(i=this.m_dragGhost.state.clientX)&&void 0!==i?i:0),n=void 0===o?0:o-(null!==(r=this.m_dragGhost.state.clientY)&&void 0!==r?r:0);if(this.m_dragGhost.setState({clientX:s,clientY:o,clientXDelta:t,clientYDelta:n,bVisible:!0}),e.props.bEnableHTMLDrag&&(t||n)){const i=s+t,r=o+n,a=e.GetDragDocument().body.getBoundingClientRect();if(Oe(s,o,a)&&!Oe(i,r,a,!0)){const t=Te.r4(i,a.left,a.right,a.left-200,a.right+200),n=Te.r4(r,a.top,a.bottom,a.top-100,a.bottom+100),s=50;this.m_dragOffWindowTimer=window.setTimeout((()=>{e==this.m_activeDraggable&&this.OnDrag(e,t,n)}),s)}}}const a=this.FindBestActiveDropRegionForPoint(s,o);this.m_prevClientX=t,this.m_prevClientY=n,!!this.m_activeDropRegion!=!!a&&(this.ShowDragGhost(),this.m_dropGhost||(this.m_dropGhost=this.m_activeDraggable.renderDropGhost())),this.m_activeDropRegion&&this.m_activeDropRegion!=a&&this.m_activeDropRegion.OnDragLeave(this.m_activeDraggable),a&&this.m_activeDropRegion!=a&&a.OnDragEnter(this.m_activeDraggable,this.m_dropGhost),this.m_activeDropRegion=a,this.m_activeDropRegion&&this.m_activeDropRegion.OnDragMove(s,o,this.m_activeDraggable)}}(0,i.gn)([z.ak],Be.prototype,"OnDragGhostRef",null);class xe extends r.Component{constructor(e){super(e),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=r.createRef(),(0,Me.rC)(this)}GetDragDocument(){var e;return null===(e=this.m_DragInfo.ownerWin)||void 0===e?void 0:e.document}RecordDragStart(e,t,n){this.m_DragInfo.startClientX=t,this.m_DragInfo.startClientY=n;let i=e.getBoundingClientRect();this.m_DragInfo.startOffsetX=t-i.left,this.m_DragInfo.startOffsetY=n-i.top,this.m_DragInfo.startWidth=i.width,this.m_DragInfo.startHeight=i.height,this.m_DragInfo.ownerWin=e.ownerDocument.defaultView}ProcessDragMove(e){var t,n;Ae("ProcessDragMove",e,this.props.data);const[i,r]=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==i&&0==r)return;this.props.coordinator.OnDrag(this,i,r)}else Math.pow(i-(null!==(t=this.m_DragInfo.startClientX)&&void 0!==t?t:0),2)+Math.pow(r-(null!==(n=this.m_DragInfo.startClientY)&&void 0!==n?n:0),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,i,r))}OnMouseDown(e){var t,n;this.m_DragInfo.bStarted||0!=e.button||(this.RecordDragStart(e.currentTarget,e.clientX,e.clientY),null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.addEventListener("mousemove",this.ProcessDragMove),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.addEventListener("mouseup",this.OnMouseUp))}OnMouseUp(e){var t,n;null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.removeEventListener("mousemove",this.ProcessDragMove),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.removeEventListener("mouseup",this.OnMouseUp),this.ResetDragState()}OnTouchStart(e){var t,n;this.m_DragInfo.bStarted||(this.RecordDragStart(e.currentTarget,e.touches[0].clientX,e.touches[0].clientY),null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.addEventListener("touchmove",this.ProcessDragMove),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.addEventListener("touchend",this.OnTouchEnd))}OnTouchEnd(e){var t,n;null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.removeEventListener("touchmove",this.ProcessDragMove),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.removeEventListener("touchend",this.OnTouchEnd),this.ResetDragState()}ResetDragState(){Ae("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){var t,n;Ae("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 i=new Image;e.dataTransfer.setDragImage(i,0,0),this.RecordDragStart(e.currentTarget,e.clientX,e.clientY),null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.addEventListener("drag",this.OnHTMLDrag),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.addEventListener("dragend",this.OnHTMLDragEnd)}OnHTMLDrag(e){var t;Ae("HTMLDrag",e,null===(t=e.dataTransfer)||void 0===t?void 0:t.types.length),this.ProcessDragMove(e)}OnHTMLDragEnd(e){var t,n,i;Ae("HTMLDragEnd",e,(null===(t=e.dataTransfer)||void 0===t?void 0:t.getData("text/plain"))||"NOTHING",this.props.data),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.removeEventListener("drag",this.OnHTMLDrag),null===(i=this.m_DragInfo.ownerWin)||void 0===i||i.removeEventListener("dragend",this.OnHTMLDragEnd),this.ResetDragState()}render(){const e=this.props,{coordinator:t,data:n,bEnableHTMLDrag:s,strHTMLDragData:o,fnOnDragStart:a,fnOnDragEnd:c,fnRenderDragGhost:u,fnRenderDropGhost:d,className:m,strActiveClassName:h,children:p}=e,g=(0,i._T)(e,["coordinator","data","bEnableHTMLDrag","strHTMLDragData","fnOnDragStart","fnOnDragEnd","fnRenderDragGhost","fnRenderDropGhost","className","strActiveClassName","children"]);let _={},f=m||"DialogDraggable";return this.m_DragInfo.bStarted?(f=(0,l.Z)(f,h||"DraggedOut"),s&&(_={onDragEnd:this.OnHTMLDragEnd})):_=s?{onDragStart:this.OnHTMLDragStart}:{onMouseDown:this.OnMouseDown,onTouchStart:this.OnTouchStart},r.createElement("div",Object.assign({ref:this.m_divRef,className:f},_,g,{draggable:s}),p)}renderDropGhost(){return this.props.fnRenderDropGhost?this.props.fnRenderDropGhost():r.createElement(Ne,{elContent:this.GetClone()})}renderDragGhost(){return this.props.fnRenderDragGhost?this.props.fnRenderDragGhost():r.createElement(Pe,{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,i.gn)([z.ak],xe.prototype,"ProcessDragMove",null),(0,i.gn)([z.ak],xe.prototype,"OnMouseDown",null),(0,i.gn)([z.ak],xe.prototype,"OnMouseUp",null),(0,i.gn)([z.ak],xe.prototype,"OnTouchStart",null),(0,i.gn)([z.ak],xe.prototype,"OnTouchEnd",null),(0,i.gn)([Me.aD],xe.prototype,"ResetDragState",null),(0,i.gn)([z.ak],xe.prototype,"OnHTMLDragStart",null),(0,i.gn)([z.ak],xe.prototype,"OnHTMLDrag",null),(0,i.gn)([z.ak],xe.prototype,"OnHTMLDragEnd",null);class Ne extends r.Component{OnRef(e){e&&this.props.elContent&&e.appendChild(this.props.elContent)}render(){return r.createElement("div",{className:"DialogDraggable_DropGhost",ref:this.OnRef})}}(0,i.gn)([z.ak],Ne.prototype,"OnRef",null);class Pe extends r.Component{constructor(){super(...arguments),this.state={clientX:void 0,clientY:void 0,bVisible:!0,clientXDelta:void 0,clientYDelta:void 0}}OnRef(e){e&&this.props.elContent&&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(){var e;if(!this.state.bVisible||void 0===this.state.clientX||void 0===this.state.clientY)return r.createElement("div",null);let t={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"},n=Te.r4(this.CalculateRotationDegrees(this.state.clientYDelta),-90,90,2,0),i={transform:`rotateX(${this.CalculateRotationDegrees(-1*(null!==(e=this.state.clientYDelta)&&void 0!==e?e:0))}deg) rotateY( ${this.CalculateRotationDegrees(this.state.clientXDelta)}deg)`,transition:"transform .16s ease-out, filter .16s ease-out",filter:"brightness("+n+")"};const s=this.props.className||"DialogDraggable_DragGhost";return r.createElement("div",{className:s,style:t},r.createElement("div",{ref:this.OnRef,style:i}))}}(0,i.gn)([z.ak],Pe.prototype,"OnRef",null);class Fe extends r.Component{constructor(e){super(e),this.m_divRef=r.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:o,fnOnDragEnter:a,fnOnDragLeave:c,className:u,strActiveClassName:d,children:m,focusable:h}=e,p=(0,i._T)(e,["coordinator","fnBAcceptDraggable","fnOnDrop","fnOnDragEnter","fnOnDragLeave","className","strActiveClassName","children","focusable"]),g=(0,l.Z)(u||"DialogDropRegion",this.state.bDraggableActive&&(d||"Active"));return r.createElement(s.Ks,Object.assign({ref:this.m_divRef,className:g},p,{focusable:void 0===h?!!p.onClick:h}),this.state.dropGhost,m)}}class Ge extends Fe{BDraggableInRegion(e,t,n){let i=this.GetClientRect();return!!i&&(e>=i.left&&e<=i.right&&t>=i.top-20&&t<=i.bottom+20)}}var Ve=n(15633),He=n(14243),Ue=n(10162),je=n(40093),We=n.n(je),Ze=n(3783),ze=n(58538);class Ke{constructor(){this.m_flPageListScrollTop=0,this.m_flPageScrollTop=0,(0,Me.rC)(this)}}(0,i.gn)([Me.LO],Ke.prototype,"m_flPageListScrollTop",void 0),(0,i.gn)([Me.LO],Ke.prototype,"m_flPageScrollTop",void 0);class qe{static Get(){return qe.s_Instance||(qe.s_Instance=new qe),qe.s_Instance}constructor(){this.m_setPagedSettingsInstances=new Set,(0,Me.rC)(this)}}(0,i.gn)([Me.LO],qe.prototype,"m_setPagedSettingsInstances",void 0);const $e=r.forwardRef((function(e,t){return r.createElement(o.s,Object.assign({ref:t,navEntryPreferPosition:Ze.c4.PREFERRED_CHILD},e))}));function Xe(e){const{title:t,icon:n,active:s,className:o,onClick:a}=e,l=(0,i._T)(e,["title","icon","active","className","onClick"]);return r.createElement("div",{className:o,onClick:a},n?r.createElement("div",{className:We().PageListItem_Icon},n):null,r.createElement("div",Object.assign({className:We().PageListItem_Title},l),t))}function Ye(e){var t;const n=null!==(t=e.activePage.padding)&&void 0!==t?t:"standard";return r.createElement(T,{className:(0,l.Z)(e.stylesheet.PagedSettingsDialog_PageContent,e.activePage.pageClassName,{[e.stylesheet.NoPadding]:"none"==n}),refElem:e.refForScrollingContainer},e.activePage.header,!e.hideTitle&&r.createElement(S,null,e.activePage.title),r.createElement(Ue.SV,{errorKey:e.activePage.title},e.activePage.content))}function Qe(e){return r.createElement("div",{className:(0,l.Z)(We().PageListSeparator,{[We().Transparent]:e.bTransparent})})}const Je=r.forwardRef((function(e,t){var n,i;const s=null!==(n=e.stylesheet)&&void 0!==n?n:We(),a=e.pages,c=null!=e.startingPage?a.findIndex((t=>"object"==typeof t&&t.identifier===e.startingPage)):-1,u=null==e.page,[d,m]=r.useState(c);let h=d;u||(h=a.findIndex((t=>"object"==typeof t&&t.identifier===e.page))),(h<0||h>=a.length)&&(h=0);let p=null;"object"==typeof a[h]&&(p=a[h]);let g=function(e){let t=r.useRef(e),n=r.useRef("none"),i=t.current;if(i==e)return n.current;let s="none";ie&&(s="up");return t.current=e,n.current=s,s}(h);const _=r.useRef(null),f=r.useCallback((()=>{var e;return null===(e=_.current)||void 0===e?void 0:e.TakeFocus()}),[_]),v=e=>{e&&S(!0)},[C,S]=r.useState(!1),b=a.map(((t,n)=>{if("separator"===t){const t=n===h+1||n===h-1;return r.createElement(r.Fragment,{key:n},e.renderPageListSeparator?e.renderPageListSeparator({}):r.createElement(Qe,{bTransparent:t}))}if("spacer"===t)return r.createElement("div",{key:n,className:We().PageListSpacer});if(!1===t.visible)return null;const i=t==p,o=t.identifier||t.title||n.toString(),a=e.renderPageListItem||Xe;return r.createElement(a,{className:(0,l.Z)(s.PagedSettingsDialog_PageListItem,{[s.Active]:i}),key:o,onClick:()=>{v(!0),He.LT.PlayNavSound(He.qr.PagedNavigation),e.onPageRequested&&e.onPageRequested(t.identifier),t.click?t.click():u&&n!=d&&m(n)},title:t.title,icon:t.icon,active:i})})),w=r.useRef(null),y=null==p?void 0:p.hideTitle,E=null===(i=e.showTitle)||void 0===i||i,D=(0,l.Z)("DialogContentTransition",s.PagedSettingDialog_ContentColumn);r.useEffect((()=>{var t;e.focusChild&&(null===(t=w.current)||void 0===t||t.TakeFocus())}),[]);const L=e.renderPageAnimation&&p?e.renderPageAnimation:tt,M=r.useMemo((()=>new Ke),[]);r.useEffect((()=>(qe.Get().m_setPagedSettingsInstances.add(M),()=>{qe.Get().m_setPagedSettingsInstances.delete(M)})),[M]);const{refForPageList:R,refForPage:I}=function(e){const t=r.useCallback((t=>e.m_flPageListScrollTop=t.currentTarget.scrollTop),[e]),n=r.useCallback((t=>e.m_flPageScrollTop=t.currentTarget.scrollTop),[e]),i=(0,z.eF)("scroll",t),s=(0,z.eF)("scroll",n),o=r.useCallback((t=>{var n;return e.m_flPageListScrollTop=null!==(n=null==t?void 0:t.scrollTop)&&void 0!==n?n:0}),[e]),a=r.useCallback((t=>{var n;return e.m_flPageScrollTop=null!==(n=null==t?void 0:t.scrollTop)&&void 0!==n?n:0}),[e]),l=(0,z.BE)(i,o),c=(0,z.BE)(s,a);return{refForPageList:l,refForPage:c}}(M),T=function(e,t){const n=r.useMemo((()=>new Map),[]),i=r.useRef();i.current=e;const s=r.useRef();s.current=t;const o=r.useCallback((e=>t=>{n.set(e,t),e===i.current&&(0,z.k$)(s.current,t)}),[n]);return r.useEffect((()=>((0,z.k$)(t,e&&n.get(e)),()=>(0,z.k$)(t,void 0))),[n,e,t]),o}(null==p?void 0:p.identifier,I);return r.createElement(o.s,{className:(0,l.Z)(s.PagedSettingsDialog,e.className),ref:t},r.createElement(o.s,{className:(0,l.Z)(s.PagedSettingsDialog_PageListColumn,e.hideList&&We().Hidden,"PageListColumn"),navRef:_,onButtonDown:e=>{var t;e.detail.button==Ve.eV.OK&&(null===(t=w.current)||void 0===t||t.TakeFocus(e.detail.button))},onFocusWithin:v},E&&r.createElement("div",{className:s.PagedSettingsDialog_Title},e.title),e.topControls&&r.createElement("div",null,e.topControls),r.createElement($e,{className:(0,l.Z)(s.PagedSettingsDialog_PageList,e.disablePageListScrolling&&s.PagedSettingsDialog_PageList_DisableScrolling,E&&s.PagedSettingsDialog_PageList_ShowTitle,e.bNoHeaderPadding&&s.PageSettingsDialog_PageList_NoHeaderPadding),onFocusWithin:v,ref:R},b),e.bottomControls&&r.createElement("div",null,e.bottomControls)),r.createElement(o.s,{className:D,onCancelButton:C?f:void 0,navRef:w},e.toggleHideList&&r.createElement(et,{hideList:e.hideList,toggleHideList:e.toggleHideList}),r.createElement(L,{activePage:p,direction:g},p&&r.createElement(Ye,{refForScrollingContainer:T(p.identifier),key:p.identifier,stylesheet:s,hideTitle:y,activePage:p}))))}));function et(e){const{hideList:t,toggleHideList:n}=e;return r.createElement("div",{className:(0,l.Z)(We().HidePageListButton,t&&We().ListHidden),onClick:n},t?r.createElement(ze.vVQ,{direction:"right"}):r.createElement(ze.vVQ,{direction:"left"}))}function tt(e){return r.createElement(r.Fragment,null,e.children)}class nt extends r.Component{constructor(){super(...arguments),this.m_refTextArea=r.createRef(),this.m_cEntryLength=Number.MAX_VALUE}get textarea(){return this.m_refTextArea.current}get value(){var e;return null===(e=this.m_refTextArea.current)||void 0===e?void 0:e.value}focus(){var e;null===(e=this.m_refTextArea.current)||void 0===e||e.focus()}InternalOnInput(){const e=this.m_refTextArea.current,t=this.GetMinHeight(),n=this.GetMaxHeight();let i,r=e.value.length;if(void 0===this.m_nTextAreaPadding&&this.CalculatePadding(),rn)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!==i&&window.scrollTo(window.scrollX,i),this.m_cEntryLength=r}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){var t;e.nMinHeight==this.props.nMinHeight&&e.nMaxHeight==this.props.nMaxHeight||(this.m_cEntryLength=Number.MAX_VALUE),(null===(t=this.m_refTextArea.current)||void 0===t?void 0:t.value.length)!=this.m_cEntryLength&&this.InternalOnInput()}render(){const e=this.props,{nMinHeight:t,nMaxHeight:n}=e,o=(0,i._T)(e,["nMinHeight","nMaxHeight"]);return r.createElement(s.DP,Object.assign({},o,{ref:this.m_refTextArea,onKeyUp:this.OnKeyUp,onBlur:this.OnBlur,onClick:this.OnClick,onPaste:this.OnPaste,onCut:this.OnCut}))}}(0,i.gn)([z.ak],nt.prototype,"InternalOnInput",null),(0,i.gn)([z.ak],nt.prototype,"OnKeyUp",null),(0,i.gn)([z.ak],nt.prototype,"OnBlur",null),(0,i.gn)([z.ak],nt.prototype,"OnClick",null),(0,i.gn)([z.ak],nt.prototype,"OnPaste",null),(0,i.gn)([z.ak],nt.prototype,"OnCut",null);var it=n(99967),rt=n.n(it),st=n(37563),ot=n(10095),at=n(27438);const lt=r.forwardRef((function(e,t){const{label:n,description:s,icon:a,children:u,childrenLayout:d,inlineWrap:m,childrenContainerWidth:h,spacingBetweenLabelAndChild:p,padding:g,disabled:_,bottomSeparator:f,className:v,highlightOnFocus:C,indentLevel:S,verticalAlignment:b,iconLocation:w,tooltip:y,explainer:E,explainerTitle:D}=e,L=(0,i._T)(e,["label","description","icon","children","childrenLayout","inlineWrap","childrenContainerWidth","spacingBetweenLabelAndChild","padding","disabled","bottomSeparator","className","highlightOnFocus","indentLevel","verticalAlignment","iconLocation","tooltip","explainer","explainerTitle"]),M=(0,st.id)(),R=null!=d?d:"inline",I=null!=w?w:"front",T="front"==I&&!!a,A="before-children"==I&&!!a,k="inline"==R&&!!u,O="below"==R&&!!u,B=null!=m?m:M?"shift-children-below":"keep-inline",x=!!(L.onClick||L.onActivate||L.focusable),N=null!=a&&T||null!=n||k&&null!=u,P=null!=h?h:"min",F=null!=p?p:"standard",G=null!=g?g:"standard",V=null!=f?f:"standard",H=null==C||C,U=null!=S?S:0,j=null!=b?b:"center",W=function(e,t){const n=(0,ot.Wy)(),i=r.useCallback((()=>{var i;(0,at.jF)(e,t,null!==(i=n.ownerWindow)&&void 0!==i?i:window)}),[n,e,t]);if(null==t)return{};const s=(0,c.Xx)("#Field_MoreInfo_Action");return{onOptionsButton:i,onOptionsActionDescription:s}}(null!=D?D:n,E),Z=r.useRef(),K=(0,z.BE)(Z,e.navRef),q=r.useCallback((e=>{var t;null===(t=Z.current)||void 0===t||t.TakeFocus(),e.preventDefault()}),[Z]);return r.createElement(o.s,Object.assign({focusable:x,noFocusRing:!0,scrollIntoViewWhenChildFocused:!0,onActivate:e=>{var t;return null===(t=L.onClick)||void 0===t?void 0:t.call(L,e)},ref:t,onMouseDown:x?void 0:q},L,W,{navRef:K,className:(0,l.Z)(v,rt().Field,_&&rt().Disabled,N&&rt().WithFirstRow,k&&rt().WithChildrenInline,O&&rt().WithChildrenBelow,"center"==j&&rt().VerticalAlignCenter,"shift-children-below"==B&&rt().InlineWrapShiftsChildrenBelow,!!s&&rt().WithDescription,"standard"==V&&rt().WithBottomSeparatorStandard,"thick"==V&&rt().WithBottomSeparatorThick,"fixed"==P&&rt().ChildrenWidthFixed,"max"==P&&rt().ChildrenWidthGrow,"standard"==F&&rt().ExtraPaddingOnChildrenBelow,"standard"==G&&rt().StandardPadding,"compact"==G&&rt().CompactPadding,x&&rt().Clickable,H&&rt().HighlightOnFocus),style:{"--indent-level":U}}),N&&r.createElement("div",{className:rt().FieldLabelRow},r.createElement("div",{className:rt().FieldLabel},T&&r.createElement("div",{className:(0,l.Z)(rt().FieldIcon,rt().Front)},a),n,y&&r.createElement("span",{"data-tooltip-text":y}," (?)")),k&&r.createElement("div",{className:rt().FieldChildrenWithIcon},A&&r.createElement("div",{className:(0,l.Z)(rt().FieldIcon,rt().BeforeChildren)},a),r.createElement("div",{className:rt().FieldChildrenInner},u))),O&&r.createElement("div",{className:rt().FieldChildrenWithIcon},A&&r.createElement("div",{className:(0,l.Z)(rt().FieldIcon,rt().BeforeChildren)},a),r.createElement("div",{className:rt().FieldChildrenInner},u)),s&&r.createElement("div",{className:rt().FieldDescription},s))}));r.forwardRef((function(e,t){const{label:n,description:s,explainer:o,icon:a,layout:l,disabled:c,onActivate:u,bottomSeparator:d,highlightOnFocus:m,childrenContainerWidth:h,padding:p,inlineWrap:g,fieldClassName:_}=e,f=(0,i._T)(e,["label","description","explainer","icon","layout","disabled","onActivate","bottomSeparator","highlightOnFocus","childrenContainerWidth","padding","inlineWrap","fieldClassName"]),{refWithValue:v,refForElement:C}=(0,z.ww)(t);return r.createElement(lt,{label:n,description:s,icon:a,bottomSeparator:d,highlightOnFocus:m,childrenLayout:null!=l?l:"inline",childrenContainerWidth:null!=h?h:"min",onMouseDown:e=>{var t;null===(t=v.current)||void 0===t||t.focus(),e.preventDefault()},padding:p,inlineWrap:g,explainer:o,className:_,disabled:c,onActivate:c?u:void 0},r.createElement(N,Object.assign({},f,{disabled:c,ref:C})))}));const ct=r.forwardRef((function(e,t){const{label:n,description:s,icon:o,layout:a,bottomSeparator:l,highlightOnFocus:c}=e,u=(0,i._T)(e,["label","description","icon","layout","bottomSeparator","highlightOnFocus"]),{refWithValue:d,refForElement:m}=(0,z.ww)(t);return r.createElement(lt,{label:n,description:s,icon:o,bottomSeparator:l,highlightOnFocus:c,childrenLayout:null!=a?a:"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()}},r.createElement(J,Object.assign({},u,{ref:m})))}));r.forwardRef((function(e,t){return r.createElement(s.bX,Object.assign({noFocusRing:!0},e,{ref:t,className:(0,l.Z)(rt().BasicTextInput,e.className),size:1}))}));var ut=n(81921),dt=n.n(ut),mt=n(22042),ht=n(28781);function pt(e){const{label:t,tooltip:n,disabled:s,strClassName:o,dropDownControlRef:a,description:l,layout:c,bottomSeparator:u,highlightOnFocus:d,autoFocus:m,indentLevel:h,childrenContainerWidth:p="fixed",onContextMenu:g,onActivate:_}=e,f=(0,i._T)(e,["label","tooltip","disabled","strClassName","dropDownControlRef","description","layout","bottomSeparator","highlightOnFocus","autoFocus","indentLevel","childrenContainerWidth","onContextMenu","onActivate"]),{actionDescriptions:v,gamepadEvents:C,props:S}=(0,ht.CO)(f);return r.createElement(lt,Object.assign({className:o,disabled:s,label:t,onActivate:_,description:null!=l?l:n,childrenLayout:null!=c?c:"inline",childrenContainerWidth:p,bottomSeparator:u,highlightOnFocus:d,autoFocus:m,indentLevel:h,onContextMenu:g,actionDescriptionMap:v},C),r.createElement(we,Object.assign({menuLabel:t,disabled:s},S,{ref:a})))}function gt(e,t){for(const n of e.options){if(he(n)&&n.data===t)return!0;if(pe(n)&>(n,t))return!0}return!1}function _t(e){const t=n=>null==n?void 0:n.map(((n,i)=>he(n)?r.createElement(mt.Zo,{key:i,onSelected:t=>e.onValueSelected&&e.onValueSelected(t,n),selected:e.selectedValue===n.data},r.createElement(r.Fragment,null,n.label)):pe(n)?r.createElement(mt.D1,{label:n.label,key:i,selectedWithin:gt(n,e.selectedValue)},t(n.options)):null));return r.createElement(mt.xV,{onCancel:e.onCancel},t(e.rgOptions))}r.forwardRef((function(e,t){return r.createElement(N,{className:(0,l.Z)(dt().DropDownControlButton,e.className),focusable:e.focusable,disabled:e.disabled,onClick:e.onClick,tabIndex:e.tabIndex,ref:t},r.createElement("div",{className:rt().DropDownControlButtonContents},e.children,r.createElement("div",{className:(0,l.Z)(rt().Spacer,"Spacer")}),r.createElement(ze.$nC,{direction:"down"})))}));var ft=n(20204);r.forwardRef((function(e,t){const{className:n}=e,s=(0,i._T)(e,["className"]);let a=r.useRef(),l=(0,z.BE)(t,a);const[u,d]=r.useState(!1),m=r.useCallback((()=>{d((e=>!e)),window.setTimeout((()=>{var e;return null===(e=a.current)||void 0===e?void 0:e.Focus()}),1)}),[]);return r.createElement(o.s,{className:n,onOptionsButton:m,onOptionsActionDescription:(0,c.Xx)(u?"#Login_HidePassword":"#Login_ShowPassword")},r.createElement(J,Object.assign({autoComplete:"off",ref:l,inlineControls:r.createElement(N,{className:ft.TogglePasswordVisibilityBtn,onPointerDown:m,onOKButton:m},u?r.createElement(ze.Hz5,null):r.createElement(ze.dQJ,null))},s,{type:u?"text":"password"})))}));r.forwardRef((function(e,t){const{className:n,value:s}=e,o=(0,i._T)(e,["className","value"]),a=null!=s?s:"";return r.createElement(ct,Object.assign({autoComplete:"off",value:a,ref:t,placeholder:" . . . "},o,{onChange:e=>{!function(e){const t=e.split(".");if(t.length>4)return!1;for(let e=0;e=0&&i<=255))return!1}return!0}(e.target.value)?e.target.value=a:o.onChange&&o.onChange(e)}}))}));var vt=n(13708),Ct=n.n(vt),St=n(77816),bt=n(84686),wt=n(19929);const yt=1;(0,v.Qc)(Ct()["error-shake-duration"]);function Et(e,t){return t<0?0:t>1?1:0==e?t:Math.round(t/e)*e}function Dt(e,t,n){const i=e+n*(t-e);return Number.parseFloat(i.toFixed(10))}function Lt(e,t,n){return(n-e)/(t-e)}var Mt;!function(e){e[e.None=0]="None",e[e.MouseDragging=1]="MouseDragging",e[e.TouchStart=2]="TouchStart",e[e.TouchDragging=3]="TouchDragging"}(Mt||(Mt={}));class Rt extends r.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 Lt(this.props.min,this.props.max,e)}get normalizedDefaultValue(){const e=this.props.resetValue;if(!(null==e||isNaN(e)||ethis.props.max))return Lt(this.props.min,this.props.max,e)}get normalizedSliderOrigin(){const e=(0,Te.Lh)(0,this.props.min,this.props.max);return Lt(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 Mt.MouseDragging:return 1;case Mt.TouchDragging:case Mt.TouchStart:return 0;case Mt.None:return}}constructor(e){super(e),this.m_refSlider=r.createRef(),this.m_refHandle=r.createRef(),this.m_navRefSlider=r.createRef(),this.m_sliderBounds=void 0,this.m_handleBounds=void 0,this.m_fZoom=1,this.m_eDragMode=Mt.None,this.m_vTouchStartPosition=(0,St.kN)(),this.m_bInnerSliderHasFocus=!1,this.m_nRepeatCount=0,this.m_fInitalRepeatTime=void 0,this.m_fStartValue=this.props.value,this.m_fLatestUserValue=this.props.value,this.m_fLatestOnChangeValue=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,i,r,s,o,a,l;if(e!=this.m_eDragMode){switch(this.m_eDragMode=e,this.props.onChangeStart&&this.props.onChangeStart(this.SliderChangeSource),e){case Mt.MouseDragging:case Mt.TouchDragging:case Mt.TouchStart:this.RecomputeSliderBounds(),this.m_fStartValue=this.props.value,this.m_fLatestUserValue=this.props.value;case Mt.None:}switch(e){case Mt.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===(r=null===(i=this.m_refSlider.current)||void 0===i?void 0:i.ownerDocument)||void 0===r||r.addEventListener("mouseup",this.OnWindowMouseUp,{passive:!1});break;case Mt.TouchStart:case Mt.TouchDragging:null===(o=null===(s=this.m_refSlider.current)||void 0===s?void 0:s.ownerDocument)||void 0===o||o.addEventListener("touchmove",this.OnWindowTouchMove,{passive:!1}),null===(l=null===(a=this.m_refSlider.current)||void 0===a?void 0:a.ownerDocument)||void 0===l||l.addEventListener("touchend",this.OnWindowTouchEnd,{passive:!1});break;case Mt.None:this.RemoveDocumentEventListeners()}}}OnGamepadDirection(e){var t,n;if(this.props.disabled)return!1;let i=0;if(e.detail.button==Ve.eV.DIR_LEFT)i=-1;else{if(e.detail.button!=Ve.eV.DIR_RIGHT)return!1;i=1}e.detail.is_repeat?(0==this.m_nRepeatCount&&(this.m_fInitalRepeatTime=performance.now()),this.m_nRepeatCount++):(this.m_nRepeatCount=0,this.m_fInitalRepeatTime=performance.now());const r=performance.now()-this.m_fInitalRepeatTime,s=(0,Te.bU)(r,0,2e3,500,250),o=Math.pow(2,Math.floor(r/s)),a=this.normalizedDpadStep*o,l=(0,Te.Lh)(a,this.normalizedDpadStep,.05)*i,c=Et(this.normalizedStep,this.normalizedClampedValue+l);let u=Dt(this.props.min,this.props.max,c);if(u=(0,Te.Lh)(u,null!==(t=this.props.clampMin)&&void 0!==t?t:this.props.min,null!==(n=this.props.clampMax)&&void 0!==n?n:this.props.max),u!=this.props.value){const e=u>this.m_fLatestUserValue;He.LT.PlayNavSound(e?He.qr.SliderUp:He.qr.SliderDown),this.m_fLatestUserValue=u,this.FireOnChange(u,2)}else He.LT.PlayNavSound(He.qr.FailedNav);return!0}FireOnChange(e,t){this.m_fLatestOnChangeValue!=e&&(this.m_fLatestOnChangeValue=e,this.props.onChange&&this.props.onChange(e,t))}ComputeNormalizedValueForMousePosition(e){if(null==this.m_sliderBounds)return 0;const t=e/this.m_fZoom,n=this.m_sliderBounds.right-this.m_sliderBounds.left,i=null==this.m_handleBounds?0:this.m_handleBounds.right-this.m_handleBounds.left,r=n-i;return(t-this.m_sliderBounds.left-i/2)/r}BShouldTriggerHapticOnSnap(){const e=this.normalizedStep;return e>0&&e>=1/40}PlayHaptic(e){var t,n,i,r,s;null===(s=null===(r=null===(i=null===(n=null===(t=this.m_refSlider.current)||void 0===t?void 0:t.ownerDocument.defaultView)||void 0===n?void 0:n.SteamClient)||void 0===i?void 0:i.OpenVR)||void 0===r?void 0:r.TriggerOverlayHapticEffect)||void 0===s||s.call(r,e,0)}UpdateSliderValueForPosition(e){var t,n;if(this.props.disabled||!this.m_refSlider.current)return;const i=this.ComputeNormalizedValueForMousePosition(e),r=Et(this.normalizedStep,i);let s=Dt(this.props.min,this.props.max,r);const o=null!==(t=this.props.clampMin)&&void 0!==t?t:this.props.min,a=null!==(n=this.props.clampMax)&&void 0!==n?n:this.props.max;if(s=(0,Te.Lh)(s,o,a),s!=this.props.value){const e=s>this.props.value,t=0==this.step;if((this.m_eDragMode==Mt.None||!t)&&He.LT.PlayNavSound(e?He.qr.SliderUp:He.qr.SliderDown),this.m_eDragMode==Mt.MouseDragging||this.m_eDragMode==Mt.TouchDragging){let e=!1;if((s==o||s==a)&&this.m_fLatestUserValue>o&&this.m_fLatestUserValue=o&&this.m_fLatestUserValue<=a){const t=40;Math.floor((this.m_fLatestUserValue-o)/(a-o)*t)==Math.floor((s-o)/(a-o)*t)||e||(this.PlayHaptic(wt.sH.Sliding),e=!0)}t||e||(this.PlayHaptic(wt.sH.Snap),e=!0)}this.m_fLatestUserValue=s,this.FireOnChange(s,this.SliderChangeSource)}}OnWindowMouseMove(e){this.UpdateSliderValueForPosition(e.clientX)}OnWindowMouseUp(e){this.m_eDragMode!=Mt.None&&this.Complete()}OnMouseDown(e){0==e.button&&(this.props.disabled||(e.preventDefault(),this.SetDragMode(Mt.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(Mt.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 Mt.TouchStart:const n={x:e.touches[0].clientX,y:e.touches[0].clientY};if((0,St.iD)(this.m_vTouchStartPosition,n)>=10){const e=(0,St.UA)(this.m_vTouchStartPosition,n);Math.abs(e.x)>Math.abs(e.y)?(this.SetDragMode(Mt.TouchDragging),null===(t=this.m_refSlider.current)||void 0===t||t.focus()):this.SetDragMode(Mt.None)}break;case Mt.TouchDragging:this.UpdateSliderValueForPosition(e.touches[0].clientX)}e.preventDefault()}}OnWindowTouchEnd(e){this.m_eDragMode!=Mt.None&&this.Complete()}Complete(){const e=this.m_eDragMode!=Mt.None;this.FireOnChange(this.m_fLatestUserValue,this.SliderChangeSource),this.props.onChangeComplete&&this.props.onChangeComplete(this.m_fLatestUserValue,this.SliderChangeSource),this.SetDragMode(Mt.None);const t=0==this.step;if(this.m_fLatestUserValue!=this.m_fStartValue&&t&&e){const e=this.m_fLatestUserValue>this.m_fStartValue;He.LT.PlayNavSound(e?He.qr.SliderUp:He.qr.SliderDown)}}RemoveDocumentEventListeners(){var e,t,n,i,r,s,o,a;null===(t=null===(e=this.m_refSlider.current)||void 0===e?void 0:e.ownerDocument)||void 0===t||t.removeEventListener("mousemove",this.OnWindowMouseMove),null===(i=null===(n=this.m_refSlider.current)||void 0===n?void 0:n.ownerDocument)||void 0===i||i.removeEventListener("touchmove",this.OnWindowTouchMove),null===(s=null===(r=this.m_refSlider.current)||void 0===r?void 0:r.ownerDocument)||void 0===s||s.removeEventListener("mouseup",this.OnWindowMouseUp),null===(a=null===(o=this.m_refSlider.current)||void 0===o?void 0:o.ownerDocument)||void 0===a||a.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!=Mt.None)return;let e;this.m_fLatestUserValue=this.props.resetValue,this.FireOnChange(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)),He.LT.PlayNavSound(e?He.qr.SliderUp:He.qr.SliderDown)}OnContextMenu(e){if(null!=this.props.resetValue){const t=r.createElement(mt.xV,null,r.createElement(mt.Zo,{disabled:!this.CanResetToDefault,onSelected:this.ResetToDefault},(0,c.Xx)("#ResetToDefault")));(0,ce.yV)(t,e)}}render(){var e,t,n,i;const o=null!==(e=this.props.showBookendLabels)&&void 0!==e&&e,a=null!==(t=this.props.notchTicksVisible)&&void 0!==t?t:!o,u=o?2:this.props.notchCount,d=[{notchIndex:0,label:`${this.props.min}`},{notchIndex:1,label:`${this.props.max}`}],m=o?d:this.props.notchLabels,h=null===(n=this.props.focusable)||void 0===n||n,p=this.normalizedDefaultValue,g=this.normalizedSliderOrigin,_=null!=p,f=null!==(i=this.props.resetValueAppearance)&&void 0!==i?i:"top-caret",v="top-caret"==f,C=!v,S={};this.CanResetToDefault&&(S[Ve.eV.SECONDARY]=(0,c.Xx)("#ResetToDefault"));let b=`${Ct().SliderHandle} SliderHandle`,w=`${Ct().SliderHandleContainer} SliderHandleContainer `;return"verticalline"==this.props.handleType?(b=`${Ct().VerticalLineSliderHandle} SliderHandle`,w=`${Ct().VerticalLineSliderHandleContainer} SliderHandleContainer `):"leftparen"!=this.props.handleType&&"rightparen"!=this.props.handleType||(b=(0,l.Z)(Ct().ParenSliderHandle,"leftparen"==this.props.handleType?Ct().Left:Ct().Right,"SliderHandle"),w=(0,l.Z)(Ct().ParenSliderHandleContainer,"leftparen"==this.props.handleType?Ct().Left:Ct().Right,"SliderHandleContainer")),r.createElement(bt.eh,{noFocusRing:!0,className:(0,l.Z)(Ct().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:h,childFocusDisabled:this.props.disabled||!h,onContextMenu:this.OnContextMenu,onOKButton:this.props.disabled?()=>He.LT.PlayNavSound(He.qr.FailedNav):void 0,onSecondaryButton:this.CanResetToDefault?this.ResetToDefault:void 0,onSecondaryActionDescription:this.CanResetToDefault?(0,c.Xx)("#ResetToDefault"):void 0,actionDescriptionMap:S},r.createElement(s.Ks,{className:(0,l.Z)(Ct().SliderControlAndNotches,this.props.disabled&&Ct().Disabled,_&&Ct().WithDefaultValue,_&&C&&Ct().DefaultValueIsColorRange,_&&C&&"left"==f.side&&Ct().DefaultValueColorLeft,_&&C&&"left"!=f.side&&Ct().DefaultValueColorRight),focusable:this.isKeyNavTarget,noFocusRing:!0,onFocus:this.OnInnerSliderFocus,onBlur:this.OnInnerSliderBlur,style:{"--normalized-slider-value":this.normalizedClampedValue,"--normalized-slider-default-value":p,"--normalized-slider-origin":g,"--default-value-track-color":C?f.trackForegroundColor:void 0},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")},r.createElement("div",{className:(0,l.Z)(Ct().SliderControl,"SliderControl")},r.createElement("div",{className:(0,l.Z)(Ct().SliderTrack,null!=this.props.notchCount&&a&&Ct().SliderHasNotches,{[Ct().SliderTrackDark]:"dark"===this.props.trackTone},"SliderTrack")}),_&&v&&r.createElement("div",{className:Ct().DefaultValueTickContainer},r.createElement("div",{className:Ct().DefaultValueTick},r.createElement(ze.$nC,{direction:"down"}))),this.validRange&&null!=this.props.value&&!isNaN(this.props.value)&&this.showHandle&&r.createElement("div",{className:w},r.createElement("div",{className:b,ref:this.m_refHandle},"leftparen"==this.props.handleType&&r.createElement(ze.Tvf,null),"rightparen"==this.props.handleType&&r.createElement(ze.RCC,null)))),r.createElement(It,{notchCount:u,notchLabels:m,sliderValue:this.normalizedClampedValue,notchTicksVisible:a})))}}function It(e){let{sliderValue:t,notchCount:n,notchLabels:i,notchTicksVisible:s}=e,a=null!=i?i:[];if(!n)return null;let c=!1,u=[];for(let e=0;et.notchIndex==e));i&&(c=!0),u.push(r.createElement(Tt,{key:e,notchIndex:e,sliderValue:t,notchLabel:i,notchCount:n,notchTicksVisible:s}))}return r.createElement(o.s,{className:(0,l.Z)(Ct().SliderNotchContainer)},u)}function Tt(e){var t;const n=e.notchIndex<=(e.notchCount-1)*e.sliderValue,i=e.notchCount<=3&&!e.notchTicksVisible,s=i&&0==e.notchIndex,o=i&&e.notchIndex==e.notchCount-1;return r.createElement("div",{className:(0,l.Z)(Ct().SliderNotch,i&&Ct().AlignToEnds)},e.notchTicksVisible&&r.createElement("div",{className:(0,l.Z)(Ct().SliderNotchTick,n&&Ct().TickActive)}),e.notchLabel&&r.createElement("div",{className:(0,l.Z)(Ct().SliderNotchLabel,s&&Ct().AlignToLeft,o&&Ct().AlignToRight)},null===(t=e.notchLabel)||void 0===t?void 0:t.label))}(0,i.gn)([z.ak],Rt.prototype,"RecomputeSliderBounds",null),(0,i.gn)([z.ak],Rt.prototype,"SetDragMode",null),(0,i.gn)([z.ak],Rt.prototype,"OnGamepadDirection",null),(0,i.gn)([z.ak],Rt.prototype,"UpdateSliderValueForPosition",null),(0,i.gn)([z.ak],Rt.prototype,"OnWindowMouseMove",null),(0,i.gn)([z.ak],Rt.prototype,"OnWindowMouseUp",null),(0,i.gn)([z.ak],Rt.prototype,"OnMouseDown",null),(0,i.gn)([z.ak],Rt.prototype,"OnTouchStart",null),(0,i.gn)([z.ak],Rt.prototype,"OnWindowTouchMove",null),(0,i.gn)([z.ak],Rt.prototype,"OnWindowTouchEnd",null),(0,i.gn)([z.ak],Rt.prototype,"Complete",null),(0,i.gn)([z.ak],Rt.prototype,"BlurInnerSlider",null),(0,i.gn)([z.ak],Rt.prototype,"OnInnerSliderFocus",null),(0,i.gn)([z.ak],Rt.prototype,"OnInnerSliderBlur",null),(0,i.gn)([z.ak],Rt.prototype,"ResetToDefault",null),(0,i.gn)([z.ak],Rt.prototype,"OnContextMenu",null);r.forwardRef((function(e,t){const{label:n,labelIndex:i,xOffset:s,onResize:o,OnMouseDown:a,OnTouchStart:l}=e;r.useEffect((()=>{o(i)}),[o,i]);const c=r.useCallback((e=>{o(i)}),[o,i]),u=(0,z.yU)(c),d=(0,z.BE)(u,t);return r.createElement("div",{className:Ct().CompoundSliderSubSliderLabel,ref:d,onMouseDown:a,onTouchStart:l,style:{transform:`translateX(${s}px)`}},r.createElement("div",{className:Ct().CompoundSliderSubSliderLabelInternal},n))}));const At=r.forwardRef((function(e,t){const{value:n,onChange:i,disabled:o,className:a,focusable:c,children:u,navRef:d}=e;return r.createElement(s.Ks,{noFocusRing:!0,className:(0,l.Z)(a,rt().Toggle,{[rt().Disabled]:!!o,[rt().On]:!!n}),onClick:()=>{if(!o&&i){const e=!n;i(e),He.LT.PlayNavSound(e?He.qr.ToggleOn:He.qr.ToggleOff)}},ref:t,navRef:d,focusable:c},r.createElement("div",{className:rt().ToggleRail}),r.createElement("div",{className:rt().ToggleSwitch}),u)}));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,ht.CO)(this.props);return r.createElement(lt,Object.assign({className:this.props.className,disabled:e,label:this.props.label,icon:this.props.icon,description:this.props.description,explainer:this.props.explainer,explainerTitle:this.props.explainerTitle,padding:this.props.padding,bottomSeparator:this.props.bottomSeparator,highlightOnFocus:this.props.highlightOnFocus,inlineWrap:"keep-inline",onContextMenu:this.props.onContextMenu,actionDescriptionMap:t,onClick:this.props.onClick},n),r.createElement(At,{onChange:this.OnToggleChange,value:this.checked,disabled:e,navRef:this.props.navRef}))}}(0,i.gn)([z.ak],kt.prototype,"OnToggleChange",null);var Ot=n(13974);function Bt(e){const{children:t,bCenterVertically:n,refElem:s}=e,a=(0,i._T)(e,["children","bCenterVertically","refElem"]),c=(0,l.Z)(rt().GamepadDialogContent,"DialogContent _DialogLayout",e.className,n&&" _DialogCenterVertically"),{ref:u,navRef:d}=(0,Ot.$1)(),m=(0,z.BE)(s,u);return r.createElement(o.s,Object.assign({},a,{className:c,ref:m,navRef:d}),r.createElement(o.s,{className:(0,l.Z)(rt().GamepadDialogContent_InnerWidth,"DialogContent_InnerWidth")},t))}var xt,Nt=n(53909),Pt=n.n(Nt),Ft=n(39073),Gt=n(94350);function Vt(e){const{childrenKey:t,childrenClasses:n,children:i,directionClass:s,animate:o=!0}=e,a=(0,l.Z)(Pt().TransitionGroup,s);return r.createElement(Ft.Z,{className:a,appear:!1,enter:o,exit:o},r.createElement(Ht,{key:t,childrenClasses:n},i))}function Ht(e){const{sizeClass:t,children:n,childrenClasses:s}=e,a=(0,i._T)(e,["sizeClass","children","childrenClasses"]),[c,u,d,m]=function(){let e=r.useRef(null),t=r.useRef();r.useLayoutEffect((()=>{let n=e.current;if(!n||t.current)return;t.current={element:n,activeProps:new Set,bExiting:!1,fnDone:null};let i=t.current,r=e=>{e.target==n&&i.activeProps.add(e.propertyName)};n.addEventListener("transitionrun",r,!1);let s=e=>{e.target==n&&(i.activeProps.delete(e.propertyName),i.fnDone&&0==i.activeProps.size&&i.bExiting&&i.fnDone())};n.addEventListener("transitionend",s,!1),n.addEventListener("transitioncancel",s,!1)}),[]);let n=r.useCallback((e=>{t.current?t.current.fnDone=e:e()}),[t]),i=r.useCallback((()=>{t.current&&(t.current.bExiting=!1)}),[t]),s=r.useCallback((()=>{t.current&&(t.current.bExiting=!0)}),[t]);return[e,n,i,s]}(),h=r.useRef(!0),p=r.useCallback((()=>h.current),[h]),g=r.useCallback((()=>{h.current=!0,d()}),[d]),_=r.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:r.createElement(Gt.Z,Object.assign({nodeRef:c,classNames:v,in:!0,timeout:1e4,addEndListener:u,onEntering:g,onExiting:_},a),r.createElement("div",{ref:c,className:(0,l.Z)(Pt().ContentWrapper,t,f.base)},r.createElement(o.s,{className:t,fnCanTakeFocus:p},e.children)))}function Ut(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"}(xt||(xt={}));var jt=n(74491),Wt=n.n(jt);const Zt=r.createContext(null);function zt(e){const t=r.useContext(Zt),n=(0,st.qt)().IN_VR,{title:s,icon:a,active:l}=e,c=(0,i._T)(e,["title","icon","active"]);return r.createElement(o.s,Object.assign({preferredFocus:l,navRef:l&&t?t:void 0,noFocusRing:!0,onActivate:n?void 0:c.onClick,onFocus:n?void 0:c.onClick},c),a&&r.createElement("div",{className:Wt().PageListItem_Icon},a),r.createElement("div",{className:Wt().PageListItem_Title},s))}function Kt(e){return r.createElement("div",{className:Wt().Separator})}r.forwardRef((function(e,t){const n=r.useRef(null),[i,s]=r.useState(!0);r.useEffect((()=>{var t;i&&e.bNoInitialLeftColumnFocus||null===(t=n.current)||void 0===t||t.TakeFocus(),s(!1)}),[e.page,e.bNoInitialLeftColumnFocus,i]);const o=Boolean(e.showTitle);return r.createElement(Zt.Provider,{value:n},r.createElement(Je,Object.assign({},e,{stylesheet:Wt(),showTitle:o,renderPageListItem:zt,renderPageListSeparator:Kt,renderPageAnimation:qt})))}));function qt(e){var t;let n=xt.None;"up"==e.direction?n=xt.Up:"down"==e.direction&&(n=xt.Down);let i=(s=Wt(),(o=n)==xt.Left?s.Left:o==xt.Right?s.Right:o==xt.Up?s.Up:o==xt.Down?s.Down:"");var s,o;return r.createElement(Vt,{childrenKey:null===(t=e.activePage)||void 0===t?void 0:t.identifier,childrenClasses:Ut(Wt(),Wt().ContentTransition),directionClass:i,animate:n!=xt.None},e.children)}},51592:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var i=n(85556),r=n(47427);function s(e){const{component:t,fallback:n,componentRef:s}=e,o=(0,i._T)(e,["component","fallback","componentRef"]),[[a,l]]=r.useState([t,n]),c=null!=a?a:l;return r.createElement(c,Object.assign({},o,{ref:s}))}},10162:(e,t,n)=>{"use strict";n.d(t,{AP:()=>o,DT:()=>a,SV:()=>l});var i=n(85556),r=n(47427),s=n(20417);function o(e){return function(t){return r.createElement(l,null,r.createElement(e,Object.assign({},t)))}}function a(e){return r.createElement(r.Fragment,null,r.Children.map(e.children,(e=>r.createElement(l,null,e))))}class l extends r.Component{constructor(e){super(e),this.state={},this.state.lastErrorKey=e.errorKey}static InstallErrorReportingStore(e){this.sm_ErrorReportingStore=e}componentDidCatch(e,t){const n=l.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:void 0})}render(){const{children:e,fallback:t,errorKey:n}=this.props,{error:i,identifierHash:s,lastErrorKey:o}=this.state;return i&&n==o?void 0!==t?"function"==typeof t?t(i.error):t:l.sm_ErrorReportingStore&&l.sm_ErrorReportingStore.reporting_enabled?r.createElement(u,{error:i,identifierHash:s,store:l.sm_ErrorReportingStore,onRefresh:this.Reset}):r.createElement(c,{error:i,onDismiss:this.Reset}):e||null}}(0,i.gn)([s.ak],l.prototype,"Reset",null);const c=({error:e,onDismiss:t})=>{let n=e.error?e.error.stack:"Stack missing",i=e.info?e.info.componentStack:"",s=e.error&&e.error.message||"unknown error";return r.createElement(d,null,r.createElement(m,null,'Error: "',s,'"'),"   ",r.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:t},"(x) Dismiss"),r.createElement("br",null),r.createElement(h,null,n),r.createElement(h,null,"The error occurred while rendering:",i))},u=e=>{const{error:t,onRefresh:n,identifierHash:i,store:s}=e,o=t.error&&t.error.message||"unknown error",a=`${s.product}_${s.version}_${i}`;return r.createElement(d,null,r.createElement(m,null,"Something went wrong while displaying this content. ",r.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:n},"Refresh")),r.createElement(h,null,"Error Reference: ",a),r.createElement(h,null,o))},d=({children:e})=>r.createElement("div",{style:{overflow:"auto",marginLeft:"15px",color:"white",fontSize:"16px",userSelect:"auto",backgroundColor:"black"},className:"ErrorBoundary"},e),m=({children:e})=>r.createElement("h1",{style:{fontSize:"20px",display:"inline-block",marginTop:"15px",userSelect:"auto"}},e),h=({children:e})=>r.createElement("pre",{style:{marginTop:"15px",opacity:.7,userSelect:"auto"}},e)},15363:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});const i=n(47427).createContext({bCanUseLink:!1})},58538:(e,t,n)=>{"use strict";n.d(t,{$jN:()=>C,$nC:()=>_,CtA:()=>m,Ehc:()=>g,Hz5:()=>y,IRk:()=>M,MCw:()=>p,Qrh:()=>d,RCC:()=>L,Tvf:()=>D,Tx5:()=>w,V7L:()=>R,YbX:()=>I,aVo:()=>v,aeH:()=>h,atL:()=>k,by3:()=>A,dQJ:()=>E,dqu:()=>b,qTB:()=>c,tkI:()=>S,uWd:()=>T,vVQ:()=>f});var i=n(85556),r=n(47427),s=n(37990),o=n.n(s),a=n(23163),l=n(13129);function c(){return r.createElement("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.8 0H0V8.8H8.8V0ZM8.8 11.2H0V20H8.8V11.2ZM11.2 11.2H20V20H11.2V11.2ZM20 0H11.2V8.8H20V0Z",fill:"currentColor"}))}function u(e){const{none:t,partial:n}=e,s=(0,i._T)(e,["none","partial"]);return t?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("path",{d:"M36 24.2C36 27.68 31 30 31 30L25 24H17.36L26.55 14.81C27.0058 14.9963 27.5066 15.0439 27.9893 14.9467C28.4721 14.8494 28.9154 14.6118 29.2636 14.2636C29.6118 13.9154 29.8494 13.4721 29.9466 12.9893C30.0438 12.5066 29.9963 12.0059 29.81 11.55L32.76 8.55002C33.39 10.79 36 20.12 36 24.2ZM33.56 3.56002L2.56 34.56L0.44 32.44L3.65 29.23C2.17 28.28 0 26.49 0 24.2C0 19.56 3.38 8.14002 3.38 8.14002C3.38 8.14002 7.5 4.00002 18 4.00002C21.2151 3.94797 24.4172 4.42085 27.48 5.40002L31.48 1.40002L33.56 3.56002ZM6 16H9V19H12V16H15V13H12V10H9V13H6V16Z",fill:"currentColor"})):n?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},s),r.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M12.9,6.2c-0.2,0-0.4-0.1-0.5-0.2c-0.2-0.2-0.5-0.4-1.2-0.4c-1.1,0-4.5,1.1-5.1,1.7S5.6,8.4,5.6,8.4v0.1 c-0.4,0.3-0.8,0.7-1.1,1C3.4,10.7,0,20.2,0,25.3s3.4,5.6,3.4,5.6c0.9,0,2.3-1.8,3.7-3.5c1.2-1.5,2.3-3,3.1-3.2 c0.8-0.3,4.4-0.4,7.9-0.4V6.2H12.9z M8.4,14.6c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S9.7,14.6,8.4,14.6z M15.8,18.8 c0,0.3-0.3,0.6-0.6,0.6h-0.8v0.8c0,0.3-0.3,0.6-0.6,0.6h-1.1c-0.3,0-0.6-0.3-0.6-0.6v-0.8h-0.8c-0.3,0-0.6-0.3-0.6-0.6v-1.1 c0-0.3,0.3-0.6,0.6-0.6h0.8v-0.8c0-0.3,0.3-0.6,0.6-0.6h1.1c0.3,0,0.6,0.3,0.6,0.6v0.8h0.8c0.3,0,0.6,0.3,0.6,0.6V18.8z"}),r.createElement("path",{fill:"currentColor",d:"M31.5,9.6c-0.3-0.3-0.7-0.6-1.1-1V8.4c0,0,0-0.6-0.6-1.1s-3.9-1.7-5.1-1.7c-0.7,0-0.9,0.2-1.2,0.4c-0.2,0.1-0.3,0.2-0.5,0.2 H18v17.6c3.5,0,7,0.1,7.9,0.4c0.8,0.3,1.9,1.7,3.1,3.2c1.4,1.7,2.8,3.5,3.7,3.5c0,0,3.4-0.6,3.4-5.6S32.6,10.7,31.5,9.6z M27.6,8.7 c0.8,0,1.4,0.6,1.4,1.4s-0.6,1.4-1.4,1.4s-1.4-0.6-1.4-1.4S26.8,8.7,27.6,8.7z M23.1,20.2c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2 s2.2,1,2.2,2.2S24.3,20.2,23.1,20.2z M25,14.1c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4c0.8,0,1.4,0.6,1.4,1.4 C26.4,13.4,25.8,14.1,25,14.1z M27.6,16.6c-0.8,0-1.4-0.6-1.4-1.4s0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4S28.3,16.6,27.6,16.6z M30.1,14.1 c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4c0.8,0,1.4,0.6,1.4,1.4C31.5,13.4,30.9,14.1,30.1,14.1z"})):r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},s),r.createElement("path",{fill:"currentColor",d:"M31.5,9.6c-0.3-0.3-0.7-0.6-1.1-1V8.4c0,0,0-0.6-0.6-1.1s-3.9-1.7-5.1-1.7c-0.7,0-0.9,0.2-1.2,0.4c-0.2,0.1-0.3,0.2-0.5,0.2 H12.9c-0.2,0-0.4-0.1-0.5-0.2c-0.2-0.2-0.5-0.4-1.2-0.4c-1.1,0-4.5,1.1-5.1,1.7S5.6,8.4,5.6,8.4v0.1c-0.4,0.3-0.8,0.7-1.1,1 C3.4,10.7,0,20.2,0,25.3s3.4,5.6,3.4,5.6c0.9,0,2.3-1.8,3.7-3.5c1.2-1.5,2.3-3,3.1-3.2c1.7-0.6,14.1-0.6,15.8,0 c0.8,0.3,1.9,1.7,3.1,3.2c1.4,1.7,2.8,3.5,3.7,3.5c0,0,3.4-0.6,3.4-5.6S32.6,10.7,31.5,9.6z M8.4,14.6c-1.2,0-2.2-1-2.2-2.2 s1-2.2,2.2-2.2s2.2,1,2.2,2.2S9.7,14.6,8.4,14.6z M15.8,18.8c0,0.3-0.3,0.6-0.6,0.6h-0.8v0.8c0,0.3-0.3,0.6-0.6,0.6h-1.1 c-0.3,0-0.6-0.3-0.6-0.6v-0.8h-0.8c-0.3,0-0.6-0.3-0.6-0.6v-1.1c0-0.3,0.3-0.6,0.6-0.6h0.8v-0.8c0-0.3,0.3-0.6,0.6-0.6h1.1 c0.3,0,0.6,0.3,0.6,0.6v0.8h0.8c0.3,0,0.6,0.3,0.6,0.6V18.8z M27.6,8.7c0.8,0,1.4,0.6,1.4,1.4s-0.6,1.4-1.4,1.4s-1.4-0.6-1.4-1.4 S26.8,8.7,27.6,8.7z M23.1,20.2c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S24.3,20.2,23.1,20.2z M25,14.1 c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4C26.4,13.4,25.8,14.1,25,14.1z M27.6,16.6c-0.8,0-1.4-0.6-1.4-1.4 s0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4S28.3,16.6,27.6,16.6z M30.1,14.1c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4 C31.5,13.4,30.9,14.1,30.1,14.1z"}))}function d(e){const{type:t,partial:n}=e,s=(0,i._T)(e,["type","partial"]),[o,l]=(0,a.y)();return"steam"==t?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("g",{clipPath:l},r.createElement("path",{fill:"currentColor",d:"M5.625 31.0429C0.0351562 31.0429 0.0351562 24.75 0.0351562 24.75C0.0351562 23.2708 0.691018 18.9574 1.67867 14.9078C2.09604 21.229 4.23237 26.4107 7.46967 30.1342C6.94663 30.6907 6.34611 31.0429 5.625 31.0429Z"}),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M8.16687 29.2194C4.59849 25.0137 2.43205 18.8213 2.76162 11.0707C3.47054 8.93505 4.26138 7.27235 5.0625 6.76752C8.1706 5.06632 27.6869 4.8903 31.0078 6.76752C31.7909 7.26099 32.5642 8.86083 33.2607 10.9273C33.6225 18.7277 31.4618 24.9603 27.8856 29.1914C27.4035 28.4325 26.984 27.5272 26.5768 26.6483C25.7189 24.7967 24.9154 23.0625 23.6953 23.0625H12.375C11.1549 23.0625 10.3514 24.7967 9.49349 26.6483C9.08125 27.538 8.65647 28.4548 8.16687 29.2194ZM18 12.9375C18.7766 12.9375 19.4062 12.3079 19.4062 11.5312C19.4062 10.7546 18.7766 10.125 18 10.125C17.2234 10.125 16.5938 10.7546 16.5938 11.5312C16.5938 12.3079 17.2234 12.9375 18 12.9375ZM22.5 15.75C22.5 16.3713 21.9963 16.875 21.375 16.875C20.7537 16.875 20.25 16.3713 20.25 15.75C20.25 15.1286 20.7537 14.625 21.375 14.625C21.9963 14.625 22.5 15.1286 22.5 15.75ZM15.75 18.8437C15.75 19.931 14.8686 20.8125 13.7812 20.8125C12.6939 20.8125 11.8125 19.931 11.8125 18.8437C11.8125 17.7564 12.6939 16.875 13.7812 16.875C14.8686 16.875 15.75 17.7564 15.75 18.8437ZM24.75 18C24.75 18.6213 24.2463 19.125 23.625 19.125C23.0037 19.125 22.5 18.6213 22.5 18C22.5 17.3786 23.0037 16.875 23.625 16.875C24.2463 16.875 24.75 17.3786 24.75 18ZM21.375 21.375C21.9963 21.375 22.5 20.8713 22.5 20.25C22.5 19.6286 21.9963 19.125 21.375 19.125C20.7537 19.125 20.25 19.6286 20.25 20.25C20.25 20.8713 20.7537 21.375 21.375 21.375ZM20.25 18C20.25 18.6213 19.7463 19.125 19.125 19.125C18.5037 19.125 18 18.6213 18 18C18 17.3786 18.5037 16.875 19.125 16.875C19.7463 16.875 20.25 17.3786 20.25 18ZM13.5 12.375C13.5 14.8602 11.4853 16.875 9 16.875C6.51472 16.875 4.5 14.8602 4.5 12.375C4.5 9.88969 6.51472 7.87497 9 7.87497C11.4853 7.87497 13.5 9.88969 13.5 12.375ZM27 16.875C29.4853 16.875 31.5 14.8602 31.5 12.375C31.5 9.88969 29.4853 7.87497 27 7.87497C24.5147 7.87497 22.5 9.88969 22.5 12.375C22.5 14.8602 24.5147 16.875 27 16.875Z"}),r.createElement("path",{fill:"currentColor",d:"M28.5791 30.1112C29.1072 30.6809 29.7143 31.0429 30.4453 31.0429C36.0352 31.0429 36.0352 24.75 36.0352 24.75C36.0352 23.2544 35.3647 18.8614 34.3587 14.7732C33.9637 21.1424 31.8281 26.3629 28.5791 30.1112Z"})),r.createElement("defs",null,r.createElement("clipPath",{id:o},r.createElement("rect",{fill:"currentColor",width:"36",height:"36"})))):"xbox"==t?n?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},s),r.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M12.9,6.2c-0.2,0-0.4-0.1-0.5-0.2c-0.2-0.2-0.5-0.4-1.2-0.4c-1.1,0-4.5,1.1-5.1,1.7S5.6,8.4,5.6,8.4v0.1 c-0.4,0.3-0.8,0.7-1.1,1C3.4,10.7,0,20.2,0,25.3s3.4,5.6,3.4,5.6c0.9,0,2.3-1.8,3.7-3.5c1.2-1.5,2.3-3,3.1-3.2 c0.8-0.3,4.4-0.4,7.9-0.4V6.2H12.9z M8.4,14.6c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S9.7,14.6,8.4,14.6z M15.8,18.8 c0,0.3-0.3,0.6-0.6,0.6h-0.8v0.8c0,0.3-0.3,0.6-0.6,0.6h-1.1c-0.3,0-0.6-0.3-0.6-0.6v-0.8h-0.8c-0.3,0-0.6-0.3-0.6-0.6v-1.1 c0-0.3,0.3-0.6,0.6-0.6h0.8v-0.8c0-0.3,0.3-0.6,0.6-0.6h1.1c0.3,0,0.6,0.3,0.6,0.6v0.8h0.8c0.3,0,0.6,0.3,0.6,0.6V18.8z"}),r.createElement("path",{fill:"currentColor",d:"M31.5,9.6c-0.3-0.3-0.7-0.6-1.1-1V8.4c0,0,0-0.6-0.6-1.1s-3.9-1.7-5.1-1.7c-0.7,0-0.9,0.2-1.2,0.4c-0.2,0.1-0.3,0.2-0.5,0.2 H18v17.6c3.5,0,7,0.1,7.9,0.4c0.8,0.3,1.9,1.7,3.1,3.2c1.4,1.7,2.8,3.5,3.7,3.5c0,0,3.4-0.6,3.4-5.6S32.6,10.7,31.5,9.6z M27.6,8.7 c0.8,0,1.4,0.6,1.4,1.4s-0.6,1.4-1.4,1.4s-1.4-0.6-1.4-1.4S26.8,8.7,27.6,8.7z M23.1,20.2c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2 s2.2,1,2.2,2.2S24.3,20.2,23.1,20.2z M25,14.1c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4c0.8,0,1.4,0.6,1.4,1.4 C26.4,13.4,25.8,14.1,25,14.1z M27.6,16.6c-0.8,0-1.4-0.6-1.4-1.4s0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4S28.3,16.6,27.6,16.6z M30.1,14.1 c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4c0.8,0,1.4,0.6,1.4,1.4C31.5,13.4,30.9,14.1,30.1,14.1z"})):r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M11.25 5.625C11.909 5.625 12.182 5.81802 12.4081 5.97792C12.568 6.09099 12.7045 6.1875 12.9375 6.1875H23.0625C23.2955 6.1875 23.432 6.09099 23.5919 5.97792C23.818 5.81802 24.091 5.625 24.75 5.625C25.875 5.625 29.25 6.75 29.8125 7.3125C30.375 7.875 30.375 8.4375 30.375 8.4375V8.5803C30.8163 8.91923 31.1986 9.26106 31.5 9.5625C32.625 10.6875 36 20.25 36 25.3125C36 30.375 32.625 30.9375 32.625 30.9375C31.7178 30.9375 30.323 29.1494 28.9649 27.4083C27.7966 25.9106 26.6553 24.4476 25.875 24.1875C24.1875 23.625 11.8125 23.625 10.125 24.1875C9.34465 24.4476 8.20344 25.9106 7.03512 27.4083C5.67696 29.1494 4.28215 30.9375 3.375 30.9375C3.375 30.9375 0 30.375 0 25.3125C0 20.25 3.375 10.6875 4.5 9.5625C4.80144 9.26106 5.18366 8.91923 5.625 8.5803V8.4375C5.625 8.4375 5.625 7.875 6.1875 7.3125C6.75 6.75 10.125 5.625 11.25 5.625ZM27.5625 8.71875C28.3392 8.71875 28.9688 9.34835 28.9688 10.125C28.9688 10.9017 28.3392 11.5312 27.5625 11.5312C26.7858 11.5312 26.1562 10.9017 26.1562 10.125C26.1562 9.34835 26.7858 8.71875 27.5625 8.71875ZM8.4375 14.625C9.68014 14.625 10.6875 13.6176 10.6875 12.375C10.6875 11.1324 9.68014 10.125 8.4375 10.125C7.19486 10.125 6.1875 11.1324 6.1875 12.375C6.1875 13.6176 7.19486 14.625 8.4375 14.625ZM23.0625 20.25C24.3051 20.25 25.3125 19.2426 25.3125 18C25.3125 16.7574 24.3051 15.75 23.0625 15.75C21.8199 15.75 20.8125 16.7574 20.8125 18C20.8125 19.2426 21.8199 20.25 23.0625 20.25ZM12.0938 17.1562V16.3125C12.0938 16.0018 12.3456 15.75 12.6562 15.75H13.7812C14.0919 15.75 14.3438 16.0018 14.3438 16.3125V17.1562H15.1875C15.4982 17.1562 15.75 17.4081 15.75 17.7188V18.8438C15.75 19.1544 15.4982 19.4062 15.1875 19.4062H14.3438V20.25C14.3438 20.5607 14.0919 20.8125 13.7812 20.8125H12.6562C12.3456 20.8125 12.0938 20.5607 12.0938 20.25V19.4062H11.25C10.9393 19.4062 10.6875 19.1544 10.6875 18.8438V17.7188C10.6875 17.4081 10.9393 17.1562 11.25 17.1562H12.0938ZM25.0312 14.0625C25.8079 14.0625 26.4375 13.4329 26.4375 12.6562C26.4375 11.8796 25.8079 11.25 25.0312 11.25C24.2546 11.25 23.625 11.8796 23.625 12.6562C23.625 13.4329 24.2546 14.0625 25.0312 14.0625ZM31.5 12.6562C31.5 13.4329 30.8704 14.0625 30.0938 14.0625C29.3171 14.0625 28.6875 13.4329 28.6875 12.6562C28.6875 11.8796 29.3171 11.25 30.0938 11.25C30.8704 11.25 31.5 11.8796 31.5 12.6562ZM28.9688 15.1875C28.9688 14.4108 28.3392 13.7812 27.5625 13.7812C26.7858 13.7812 26.1562 14.4108 26.1562 15.1875C26.1562 15.9642 26.7858 16.5938 27.5625 16.5938C28.3392 16.5938 28.9688 15.9642 28.9688 15.1875Z"})):"ps4"==t?n?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},s),r.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M12.9,13.7c-0.6,0-1.1-0.5-1.1-1.1V8l-1.7,0L9.6,7.5c0,0-0.1,0-0.2,0C9.3,7.3,9.2,7.1,9,6.9 C6.7,6.5,5.2,7.1,4.7,7.4c-0.1,0-0.1,0.1-0.2,0.1C3.9,8,2.8,10.3,2.8,10.3C2.2,12,0.6,17,0,23.8c0,0-0.6,5.1,3.4,5.6 c3.5,0.4,4.6-4.1,5.2-6.5c0.2-0.7,0.3-1.2,0.4-1.4c0.3-0.3,0.7-0.5,0.9-0.5c0.6,0.7,1.5,1.1,2.5,1.1c1,0,1.9-0.4,2.5-1.1H18v-7.3 H12.9z M5.6,10.8c0-0.3,0.2-0.5,0.5-0.5h1.2c0.3,0,0.5,0.2,0.5,0.5v1c0,0.1-0.1,0.3-0.1,0.4l-0.6,0.6c-0.2,0.2-0.5,0.2-0.7,0 l-0.6-0.6c-0.1-0.1-0.1-0.2-0.1-0.4V10.8z M5.1,14.5h-1c-0.3,0-0.5-0.2-0.5-0.5v-1.2c0-0.3,0.2-0.5,0.5-0.5h1c0.1,0,0.3,0.1,0.4,0.1 L6.1,13c0.2,0.2,0.2,0.5,0,0.7l-0.6,0.6C5.4,14.4,5.3,14.5,5.1,14.5z M7.9,16c0,0.3-0.2,0.5-0.5,0.5H6.1c-0.3,0-0.5-0.2-0.5-0.5v-1 c0-0.1,0.1-0.3,0.1-0.4L6.4,14c0.2-0.2,0.5-0.2,0.7,0l0.6,0.6c0.1,0.1,0.1,0.2,0.1,0.4V16z M9.8,14c0,0.3-0.2,0.5-0.5,0.5h-1 c-0.1,0-0.3-0.1-0.4-0.1l-0.6-0.6c-0.2-0.2-0.2-0.5,0-0.7L8,12.4c0.1-0.1,0.2-0.1,0.4-0.1h1c0.3,0,0.5,0.2,0.5,0.5V14z M12.1,20.4 c-1.2,0-2.2-1-2.2-2.2c0-1.2,1-2.2,2.2-2.2c1.2,0,2.2,1,2.2,2.2C14.4,19.4,13.4,20.4,12.1,20.4z"}),r.createElement("path",{fill:"currentColor",d:"M36,23.8C35.4,17,33.8,12,33.2,10.3c0,0-1.1-2.2-1.7-2.8c0,0-0.1-0.1-0.2-0.1c-0.5-0.3-2-0.9-4.3-0.5 c-0.2,0.2-0.3,0.4-0.4,0.5c-0.1,0-0.2,0-0.2,0L25.9,8l-1.7,0v4.5c0,0.6-0.5,1.1-1.1,1.1H18V21h3.1c0.6,0.7,1.5,1.1,2.5,1.1 c1,0,1.9-0.4,2.5-1.1c0.2,0.1,0.6,0.2,0.9,0.5c0.1,0.1,0.3,0.7,0.4,1.4c0.6,2.4,1.7,6.9,5.2,6.5C36.6,28.8,36,23.8,36,23.8z M23.6,20.4c-1.2,0-2.2-1-2.2-2.2c0-1.2,1-2.2,2.2-2.2c1.2,0,2.2,1,2.2,2.2C25.9,19.4,24.9,20.4,23.6,20.4z M26.7,14.5 c-0.6,0-1.1-0.5-1.1-1.1c0-0.6,0.5-1.1,1.1-1.1c0.6,0,1.1,0.5,1.1,1.1C27.8,14,27.3,14.5,26.7,14.5z M29.2,17 c-0.6,0-1.1-0.5-1.1-1.1c0-0.6,0.5-1.1,1.1-1.1c0.6,0,1.1,0.5,1.1,1.1C30.4,16.5,29.9,17,29.2,17z M29.2,12c-0.6,0-1.1-0.5-1.1-1.1 c0-0.6,0.5-1.1,1.1-1.1c0.6,0,1.1,0.5,1.1,1.1C30.4,11.5,29.9,12,29.2,12z M31.8,14.5c-0.6,0-1.1-0.5-1.1-1.1c0-0.6,0.5-1.1,1.1-1.1 c0.6,0,1.1,0.5,1.1,1.1C32.9,14,32.4,14.5,31.8,14.5z"}),r.createElement("rect",{fill:"currentColor",opacity:"0.5",x:"12.9",y:"8",width:"5.1",height:"4.5"}),r.createElement("rect",{fill:"currentColor",x:"18",y:"8",width:"5.1",height:"4.5"})):r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("g",{clipPath:l},r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M4.49995 7.47C3.93745 8.0325 2.81244 10.2825 2.81244 10.2825C2.24993 11.97 0.562445 17.0325 -5.43911e-05 23.7825C-5.43911e-05 23.7825 -0.562553 28.845 3.37495 29.4075C6.832 29.8396 7.9652 25.2921 8.55982 22.9059C8.73921 22.186 8.86958 21.6629 8.99995 21.5325C9.33789 21.1945 9.67584 21.0596 9.89181 21.0058C10.5086 21.6754 11.3928 22.095 12.3749 22.095C13.3745 22.095 14.2726 21.6605 14.8906 20.97H21.1093C21.7273 21.6605 22.6254 22.095 23.6249 22.095C24.6071 22.095 25.4913 21.6754 26.1081 21.0058C26.3241 21.0596 26.662 21.1945 27 21.5325C27.1303 21.6629 27.2607 22.186 27.4401 22.9059C28.0347 25.2921 29.1679 29.8396 32.625 29.4075C36.5625 28.845 36 23.7825 36 23.7825C35.4375 17.0325 33.75 11.97 33.1875 10.2825C33.1875 10.2825 32.0625 8.03251 31.4999 7.47C31.4575 7.42758 31.3927 7.39155 31.3091 7.36121C30.794 7.09333 29.2603 6.45543 26.9999 6.9075C26.8121 7.09539 26.6869 7.28328 26.6036 7.45021C26.4971 7.46255 26.4375 7.47001 26.4375 7.47001L25.875 8.0325L24.1874 8.03251V12.5325C24.1874 13.1538 23.6838 13.6575 23.0624 13.6575H12.9374C12.3161 13.6575 11.8124 13.1538 11.8124 12.5325V8.03251L10.1249 8.03249L9.56245 7.47C9.56245 7.47 9.50277 7.46254 9.39629 7.4502C9.31296 7.28328 9.18783 7.09539 8.99995 6.9075C6.73958 6.45543 5.20586 7.09333 4.6908 7.36121C4.60721 7.39155 4.54237 7.42759 4.49995 7.47ZM14.3999 18.1575C14.3999 19.4002 13.3926 20.4075 12.1499 20.4075C10.9073 20.4075 9.89995 19.4002 9.89995 18.1575C9.89995 16.9149 10.9073 15.9075 12.1499 15.9075C13.3926 15.9075 14.3999 16.9149 14.3999 18.1575ZM23.6249 20.4075C24.8676 20.4075 25.8749 19.4002 25.8749 18.1575C25.8749 16.9149 24.8676 15.9075 23.6249 15.9075C22.3823 15.9075 21.3749 16.9149 21.3749 18.1575C21.3749 19.4002 22.3823 20.4075 23.6249 20.4075ZM30.3749 10.845C30.3749 11.4663 29.8713 11.97 29.2499 11.97C28.6286 11.97 28.1249 11.4663 28.1249 10.845C28.1249 10.2237 28.6286 9.72001 29.2499 9.72001C29.8713 9.72001 30.3749 10.2237 30.3749 10.845ZM29.2499 17.0325C29.8713 17.0325 30.3749 16.5288 30.3749 15.9075C30.3749 15.2862 29.8713 14.7825 29.2499 14.7825C28.6286 14.7825 28.1249 15.2862 28.1249 15.9075C28.1249 16.5288 28.6286 17.0325 29.2499 17.0325ZM26.7187 12.2513C27.34 12.2513 27.8437 12.7549 27.8437 13.3763C27.8437 13.9976 27.34 14.5013 26.7187 14.5013C26.0974 14.5013 25.5937 13.9976 25.5937 13.3763C25.5937 12.7549 26.0974 12.2513 26.7187 12.2513ZM32.9062 13.3763C32.9062 12.7549 32.4025 12.2513 31.7812 12.2513C31.1599 12.2513 30.6562 12.7549 30.6562 13.3763C30.6562 13.9976 31.1599 14.5013 31.7812 14.5013C32.4025 14.5013 32.9062 13.9976 32.9062 13.3763ZM5.62495 10.7825C5.62495 10.5064 5.8488 10.2825 6.12495 10.2825H7.37495C7.65109 10.2825 7.87495 10.5064 7.87495 10.7825V11.7629C7.87495 11.8955 7.82227 12.0227 7.7285 12.1165L7.1035 12.7415C6.90824 12.9367 6.59166 12.9367 6.39639 12.7415L5.77139 12.1165C5.67763 12.0227 5.62495 11.8955 5.62495 11.7629V10.7825ZM6.12495 16.47C5.8488 16.47 5.62495 16.2462 5.62495 15.97V14.9896C5.62495 14.857 5.67763 14.7298 5.77139 14.6361L6.39639 14.0111C6.59166 13.8158 6.90824 13.8158 7.1035 14.0111L7.7285 14.6361C7.82227 14.7298 7.87495 14.857 7.87495 14.9896V15.97C7.87495 16.2462 7.65109 16.47 7.37495 16.47H6.12495ZM4.1562 14.5013C3.88006 14.5013 3.6562 14.2774 3.6562 14.0013V12.7513C3.6562 12.4751 3.88006 12.2513 4.1562 12.2513H5.13659C5.2692 12.2513 5.39638 12.3039 5.49014 12.3977L6.11514 13.0227C6.31041 13.218 6.31041 13.5346 6.11514 13.7298L5.49014 14.3548C5.39638 14.4486 5.2692 14.5013 5.13659 14.5013H4.1562ZM9.8437 14.0013C9.8437 14.2774 9.61984 14.5013 9.3437 14.5013H8.36331C8.2307 14.5013 8.10352 14.4486 8.00975 14.3548L7.38475 13.7298C7.18949 13.5346 7.18949 13.218 7.38475 13.0227L8.00975 12.3977C8.10352 12.3039 8.2307 12.2513 8.36331 12.2513H9.3437C9.61984 12.2513 9.8437 12.4751 9.8437 12.7513V14.0013Z"}),r.createElement("path",{fill:"currentColor",d:"M23.0624 8.03251L12.9374 8.03251V12.5325H23.0624V8.03251Z"})),r.createElement("defs",null,r.createElement("clipPath",{id:o},r.createElement("rect",{fill:"currentColor",width:"36",height:"36"})))):"ps5"==t?n?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},s),r.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M4.7,25.2c0.5-1.7,1.2-3.4,1.8-4.5c0.9-1.6,2.4-3.3,3.5-4.5c0.9-1,1.4-2.4,1.1-3.8l-0.7-3.8 c-0.1-0.4,0-0.7,0.3-0.9l0,0c-0.4,0-0.8,0.1-1.1,0.1V7.3c0,0,0-0.6-1.7-0.6c-1.3,0-2.6,0.7-3.1,1C4.6,7.8,4.5,8,4.5,8.2v0.6 C4.3,8.9,4.1,8.9,3.9,9C2.8,9.6,0,18,0,23.1c0,2.7,0.5,4.6,0.9,5.8c0.2,0.6,0.7,1.1,1.2,1.4l0.1,0c0.5,0.2,1-0.1,1.1-0.6 C3.7,28.6,4.1,26.9,4.7,25.2z M7.9,16.3c0,0.3-0.3,0.6-0.6,0.6H6.2c-0.3,0-0.6-0.3-0.6-0.6v-0.9c0-0.1,0.1-0.3,0.2-0.4l0.6-0.6 c0.2-0.2,0.6-0.2,0.8,0L7.7,15c0.1,0.1,0.2,0.2,0.2,0.4V16.3z M9,9.1c0.3-0.1,0.6,0,0.8,0.3l0.3,0.6c0.1,0.3,0,0.6-0.3,0.8 c-0.3,0.1-0.6,0-0.8-0.3L8.8,9.8C8.6,9.5,8.8,9.2,9,9.1z M8,12.8c0.1-0.1,0.2-0.2,0.4-0.2h0.9c0.3,0,0.6,0.3,0.6,0.6v1.1 c0,0.3-0.3,0.6-0.6,0.6H8.4c-0.1,0-0.3-0.1-0.4-0.2l-0.6-0.6c-0.2-0.2-0.2-0.6,0-0.8L8,12.8z M5.6,11.2c0-0.3,0.3-0.6,0.6-0.6h1.1 c0.3,0,0.6,0.3,0.6,0.6v0.9c0,0.1-0.1,0.3-0.2,0.4l-0.6,0.6c-0.2,0.2-0.6,0.2-0.8,0l-0.6-0.6c-0.1-0.1-0.2-0.2-0.2-0.4V11.2z M3.7,13.2c0-0.3,0.3-0.6,0.6-0.6h0.9c0.1,0,0.3,0.1,0.4,0.2l0.6,0.6c0.2,0.2,0.2,0.6,0,0.8l-0.6,0.6c-0.1,0.1-0.2,0.2-0.4,0.2H4.2 c-0.3,0-0.6-0.3-0.6-0.6V13.2z"}),r.createElement("path",{fill:"currentColor",d:"M23.8,13.5l0.6-2l0.5-3c0-0.2,0-0.3-0.1-0.4c-0.1-0.1-0.4-0.3-0.7-0.4c-0.1,0-0.2-0.1-0.3-0.1c-1.7-0.1-3.7-0.2-5.9-0.2v7.6 h4C22.8,14.9,23.6,14.3,23.8,13.5z"}),r.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M12,7.5c-0.1,0-0.1,0-0.2,0.1c-0.3,0.1-0.5,0.3-0.7,0.4C11,8.2,11,8.3,11,8.5l0.5,2.9l0.6,2.1 c0.3,0.8,1,1.4,1.9,1.4h4V7.3C15.8,7.3,13.7,7.4,12,7.5z"}),r.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M14,15.5c-1,0-2-0.6-2.4-1.6c-0.2,1-0.6,1.9-1.3,2.7C9.3,17.8,7.9,19.4,7,21c-0.6,1-1.2,2.7-1.8,4.4 c-0.5,1.7-1,3.4-1.3,4.5c-0.1,0.4-0.3,0.7-0.6,0.8l0,0c1,0.2,2-0.4,2.3-1.3l1.9-4.7c0.5-1.3,1.8-2.1,3.1-2.1H18v-7H14z M12.4,21.4 c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S13.6,21.4,12.4,21.4z"}),r.createElement("path",{fill:"currentColor",d:"M32.1,29.8c-0.3-1.1-0.7-2.8-1.3-4.5C30.2,23.6,29.6,22,29,21c-0.9-1.5-2.3-3.2-3.4-4.4c-0.7-0.8-1.1-1.7-1.3-2.7 c-0.4,1-1.3,1.6-2.4,1.6h-4v7h7.3c1.4,0,2.6,0.8,3.1,2.1l1.9,4.7c0.4,0.9,1.3,1.5,2.3,1.3l0,0C32.4,30.5,32.2,30.2,32.1,29.8z M23.6,21.4c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S24.9,21.4,23.6,21.4z"}),r.createElement("path",{fill:"currentColor",d:"M32.1,9c-0.1-0.1-0.3-0.1-0.6-0.2V8.2c0-0.2-0.1-0.4-0.3-0.5c-0.5-0.3-1.8-1-3.1-1c-1.7,0-1.7,0.6-1.7,0.6v0.5 c-0.4,0-0.8-0.1-1.2-0.1l0,0c0.2,0.2,0.3,0.6,0.3,0.9l-0.5,3l0,0l0,0l-0.1,0.7c-0.2,1.4,0.2,2.8,1.1,3.8c1.1,1.2,2.5,3,3.5,4.5 c0.6,1.1,1.3,2.8,1.8,4.5c0.5,1.7,1,3.4,1.3,4.5c0.1,0.5,0.6,0.8,1.1,0.6l0.1,0c0.5-0.3,1-0.8,1.2-1.4c0.4-1.2,0.9-3.1,0.9-5.8 C36,18,33.2,9.6,32.1,9z M29.2,10.1c0.6,0,1.1,0.5,1.1,1.1s-0.5,1.1-1.1,1.1s-1.1-0.5-1.1-1.1S28.6,10.1,29.2,10.1z M25.9,9.9 l0.3-0.6C26.4,9,26.7,8.9,27,9.1c0.3,0.1,0.4,0.5,0.3,0.8l-0.3,0.6c-0.1,0.3-0.5,0.4-0.8,0.3C25.9,10.5,25.8,10.2,25.9,9.9z M27,14.6c-0.6,0-1.1-0.5-1.1-1.1s0.5-1.1,1.1-1.1s1.1,0.5,1.1,1.1S27.6,14.6,27,14.6z M29.2,16.9c-0.6,0-1.1-0.5-1.1-1.1 s0.5-1.1,1.1-1.1s1.1,0.5,1.1,1.1S29.9,16.9,29.2,16.9z M31.5,14.6c-0.6,0-1.1-0.5-1.1-1.1s0.5-1.1,1.1-1.1s1.1,0.5,1.1,1.1 S32.1,14.6,31.5,14.6z"})):r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 8.77962V8.17604C4.5 7.98797 4.59324 7.8129 4.75606 7.71875C5.29052 7.40971 6.58276 6.75 7.875 6.75C9.5625 6.75 9.5625 7.3125 9.5625 7.3125V7.79346C9.92732 7.74841 10.3079 7.7053 10.7038 7.66469L10.7001 7.66881C10.4768 7.91891 10.3639 8.22982 10.4289 8.58762L11.114 12.3555C11.3614 13.7163 10.9231 15.1154 9.99052 16.155C8.88458 17.3878 7.44481 19.1078 6.50883 20.6678C5.85918 21.7505 5.21964 23.4605 4.67636 25.1549C4.13086 26.8562 3.67463 28.5672 3.3961 29.6673C3.27268 30.1547 2.76181 30.4366 2.2902 30.2794L2.14425 30.2308C1.59878 29.9208 1.15999 29.4611 0.929107 28.8508C0.480791 27.6656 0 25.7647 0 23.0625C0 18 2.8125 9.5625 3.9375 9C4.07055 8.93348 4.25867 8.85908 4.5 8.77962ZM5.625 11.25C5.625 10.9393 5.87684 10.6875 6.1875 10.6875H7.3125C7.62316 10.6875 7.875 10.9393 7.875 11.25V12.142C7.875 12.2912 7.81574 12.4343 7.71025 12.5398L7.14775 13.1023C6.92808 13.3219 6.57192 13.3219 6.35225 13.1023L5.78975 12.5398C5.68426 12.4343 5.625 12.2912 5.625 12.142V11.25ZM5.625 16.3125C5.625 16.6232 5.87684 16.875 6.1875 16.875H7.3125C7.62316 16.875 7.875 16.6232 7.875 16.3125V15.4205C7.875 15.2713 7.81574 15.1282 7.71025 15.0227L7.14775 14.4602C6.92808 14.2406 6.57192 14.2406 6.35225 14.4602L5.78975 15.0227C5.68426 15.1282 5.625 15.2713 5.625 15.4205V16.3125ZM9.84375 14.3438C9.84375 14.6544 9.59191 14.9062 9.28125 14.9062H8.38924C8.24006 14.9062 8.09699 14.847 7.9915 14.7415L7.429 14.179C7.20933 13.9593 7.20933 13.6032 7.429 13.3835L7.9915 12.821C8.09699 12.7155 8.24006 12.6562 8.38925 12.6562H9.28125C9.59191 12.6562 9.84375 12.9081 9.84375 13.2188V14.3438ZM4.21875 14.9062C3.90809 14.9062 3.65625 14.6544 3.65625 14.3438V13.2188C3.65625 12.9081 3.90809 12.6562 4.21875 12.6562H5.11076C5.25994 12.6562 5.40301 12.7155 5.5085 12.821L6.071 13.3835C6.29067 13.6032 6.29067 13.9593 6.071 14.179L5.5085 14.7415C5.40301 14.847 5.25994 14.9062 5.11076 14.9062H4.21875ZM9.0297 9.05937C9.30756 8.92044 9.64544 9.03307 9.78437 9.31093L10.0656 9.87343C10.2046 10.1513 10.0919 10.4892 9.81406 10.6281C9.5362 10.767 9.19832 10.6544 9.05939 10.3765L8.77814 9.81404C8.63921 9.53618 8.75183 9.1983 9.0297 9.05937Z"}),r.createElement("path",{fill:"currentColor",d:"M18 7.3125C15.7603 7.3125 13.748 7.4035 11.9892 7.54668C11.9209 7.57082 11.8551 7.59586 11.7919 7.62185C11.4768 7.75142 11.2526 7.89452 11.1197 8.04343C10.9961 8.18189 10.9523 8.32182 10.9824 8.48699L11.5138 11.4097L12.1573 13.5129C12.4103 14.3408 13.1744 14.9062 14.0401 14.9062H21.9642C22.8281 14.9062 23.591 14.3431 23.8456 13.5176L24.4729 11.483L25.0176 8.48699C25.0463 8.32909 25.0039 8.1935 24.8798 8.05684C24.7463 7.90988 24.5214 7.76808 24.2057 7.6392C24.1215 7.60486 24.0327 7.57213 23.9398 7.54094C22.1978 7.40107 20.2096 7.3125 18 7.3125Z"}),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3.37124 30.6556L3.34019 30.6503C3.62833 30.4606 3.84996 30.1665 3.94139 29.8054C4.2185 28.7109 4.67149 27.0124 5.212 25.3266C5.75474 23.6339 6.37801 21.9791 6.99117 20.9572C7.89825 19.4454 9.30802 17.7581 10.4092 16.5306C11.085 15.7773 11.5326 14.8493 11.6859 13.8677C12.0647 14.8275 12.9948 15.4687 14.0401 15.4687H21.9642C23.0065 15.4687 23.9345 14.8312 24.3153 13.8755C24.4698 14.8543 24.9168 15.7794 25.5908 16.5306C26.692 17.7581 28.1017 19.4454 29.0088 20.9572C29.622 21.9791 30.2453 23.6339 30.788 25.3266C31.3285 27.0124 31.7815 28.7109 32.0586 29.8054C32.15 30.1664 32.3717 30.4606 32.6598 30.6503L32.6288 30.6556C31.6413 30.8202 30.6725 30.275 30.3007 29.3455L28.4111 24.6216C27.8986 23.3402 26.6576 22.5 25.2775 22.5H10.7225C9.34243 22.5 8.10142 23.3402 7.58888 24.6216L5.69928 29.3455C5.3275 30.275 4.35868 30.8202 3.37124 30.6556ZM25.875 19.125C25.875 20.3676 24.8676 21.375 23.625 21.375C22.3824 21.375 21.375 20.3676 21.375 19.125C21.375 17.8824 22.3824 16.875 23.625 16.875C24.8676 16.875 25.875 17.8824 25.875 19.125ZM12.375 21.375C13.6176 21.375 14.625 20.3676 14.625 19.125C14.625 17.8824 13.6176 16.875 12.375 16.875C11.1324 16.875 10.125 17.8824 10.125 19.125C10.125 20.3676 11.1324 21.375 12.375 21.375Z"}),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M33.7098 30.2794L33.8557 30.2308C34.4012 29.9208 34.84 29.4611 35.0709 28.8508C35.5192 27.6656 36 25.7647 36 23.0625C36 18 33.1875 9.5625 32.0625 9C31.9295 8.93348 31.7413 8.85908 31.5 8.77962V8.17604C31.5 7.98797 31.4068 7.8129 31.2439 7.71875C30.7095 7.40971 29.4172 6.75 28.125 6.75C26.4375 6.75 26.4375 7.3125 26.4375 7.3125V7.79346C26.0683 7.74787 25.683 7.70427 25.282 7.66324L25.2962 7.67864C25.52 7.92502 25.6356 8.23268 25.5711 8.58762L25.0274 11.5776L25.0319 11.579L25.0203 11.6166L24.886 12.3555C24.6386 13.7163 25.0769 15.1154 26.0095 16.155C27.1154 17.3878 28.5552 19.1078 29.4912 20.6678C30.1408 21.7505 30.7804 23.4605 31.3236 25.1549C31.8691 26.8562 32.3254 28.5672 32.6039 29.6673C32.7273 30.1547 33.2382 30.4366 33.7098 30.2794ZM26.2156 9.31093C26.3546 9.03307 26.6924 8.92044 26.9703 9.05937C27.2482 9.1983 27.3608 9.53618 27.2219 9.81404L26.9406 10.3765C26.8017 10.6544 26.4638 10.767 26.1859 10.6281C25.9081 10.4892 25.7954 10.1513 25.9344 9.87343L26.2156 9.31093ZM30.375 15.75C30.375 16.3713 29.8713 16.875 29.25 16.875C28.6287 16.875 28.125 16.3713 28.125 15.75C28.125 15.1287 28.6287 14.625 29.25 14.625C29.8713 14.625 30.375 15.1287 30.375 15.75ZM31.5 14.625C32.1213 14.625 32.625 14.1213 32.625 13.5C32.625 12.8787 32.1213 12.375 31.5 12.375C30.8787 12.375 30.375 12.8787 30.375 13.5C30.375 14.1213 30.8787 14.625 31.5 14.625ZM30.375 11.25C30.375 11.8713 29.8713 12.375 29.25 12.375C28.6287 12.375 28.125 11.8713 28.125 11.25C28.125 10.6287 28.6287 10.125 29.25 10.125C29.8713 10.125 30.375 10.6287 30.375 11.25ZM27 14.625C27.6213 14.625 28.125 14.1213 28.125 13.5C28.125 12.8787 27.6213 12.375 27 12.375C26.3787 12.375 25.875 12.8787 25.875 13.5C25.875 14.1213 26.3787 14.625 27 14.625Z"})):"switchpro"==t?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("path",{fill:"currentColor",d:"M3.375 30.375C0 30.375 0 25.875 0 25.875C0 25.875 0.679114 19.5689 1.65511 14.6014C2.11919 15.2235 2.72448 16.0277 3.42078 16.936C4.97674 18.9655 6.99227 21.5211 8.90421 23.7256C8.37233 24.3118 7.95006 25.2335 7.50451 26.2061C6.59778 28.1853 5.59464 30.375 3.375 30.375Z"}),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M9.94135 23.2037C10.5784 23.0625 11.25 23.0625 11.25 23.0625H24.75C24.75 23.0625 25.4216 23.0625 26.0586 23.2037C28.0029 20.9779 30.0841 18.3414 31.6864 16.2515C32.493 15.1994 33.1768 14.2877 33.6589 13.639C33.8038 13.444 33.9305 13.2728 34.0368 13.1288C33.6024 11.1876 33.1223 9.62156 32.625 8.99998C30.9375 6.75 24.75 6.75 24.75 6.75H11.25C11.25 6.75 5.0625 6.75 3.375 8.99998C2.87774 9.62156 2.39764 11.1876 1.96319 13.1288C2.06947 13.2728 2.19616 13.444 2.34111 13.639C2.82318 14.2877 3.50702 15.1994 4.31359 16.2515C5.91589 18.3414 7.99714 20.9779 9.94135 23.2037ZM27.5062 9.11247C28.2829 9.11247 28.9125 9.74207 28.9125 10.5187C28.9125 11.2954 28.2829 11.925 27.5062 11.925C26.7296 11.925 26.1 11.2954 26.1 10.5187C26.1 9.74207 26.7296 9.11247 27.5062 9.11247ZM8.1 15.1875C9.34264 15.1875 10.35 14.1801 10.35 12.9375C10.35 11.6949 9.34264 10.6875 8.1 10.6875C6.85736 10.6875 5.85 11.6949 5.85 12.9375C5.85 14.1801 6.85736 15.1875 8.1 15.1875ZM22.725 20.25C23.9676 20.25 24.975 19.2426 24.975 18C24.975 16.7574 23.9676 15.75 22.725 15.75C21.4824 15.75 20.475 16.7574 20.475 18C20.475 19.2426 21.4824 20.25 22.725 20.25ZM31.725 13.1063C31.725 13.8829 31.0954 14.5125 30.3187 14.5125C29.5421 14.5125 28.9125 13.8829 28.9125 13.1063C28.9125 12.3296 29.5421 11.7 30.3187 11.7C31.0954 11.7 31.725 12.3296 31.725 13.1063ZM24.6937 14.5125C25.4704 14.5125 26.1 13.8829 26.1 13.1063C26.1 12.3296 25.4704 11.7 24.6937 11.7C23.9171 11.7 23.2875 12.3296 23.2875 13.1063C23.2875 13.8829 23.9171 14.5125 24.6937 14.5125ZM28.9125 15.4688C28.9125 14.6921 28.2829 14.0625 27.5062 14.0625C26.7296 14.0625 26.1 14.6921 26.1 15.4688C26.1 16.2454 26.7296 16.875 27.5062 16.875C28.2829 16.875 28.9125 16.2454 28.9125 15.4688ZM11.5312 17.1562V16.3125C11.5312 16.0018 11.7831 15.75 12.0938 15.75H13.2188C13.5294 15.75 13.7812 16.0018 13.7812 16.3125V17.1562H14.625C14.9357 17.1562 15.1875 17.4081 15.1875 17.7188V18.8438C15.1875 19.1544 14.9357 19.4062 14.625 19.4062H13.7812V20.25C13.7812 20.5607 13.5294 20.8125 13.2188 20.8125H12.0938C11.7831 20.8125 11.5312 20.5607 11.5312 20.25V19.4062H10.6875C10.3768 19.4062 10.125 19.1544 10.125 18.8438V17.7188C10.125 17.4081 10.3768 17.1562 10.6875 17.1562H11.5312Z"}),r.createElement("path",{fill:"currentColor",d:"M34.3449 14.6014C33.8808 15.2235 33.2755 16.0277 32.5792 16.936C31.0233 18.9655 29.0077 21.5211 27.0958 23.7256C27.6277 24.3118 28.0499 25.2335 28.4955 26.2061C29.4022 28.1853 30.4054 30.375 32.625 30.375C36 30.375 36 25.875 36 25.875C36 25.875 35.3209 19.5689 34.3449 14.6014Z"})):r.createElement(u,Object.assign({},s))}function m(e){const{controllerType:t}=e,n=(0,i._T)(e,["controllerType"]);switch(t){case 4:return r.createElement(h,Object.assign({},n));case 34:case 47:return r.createElement(d,Object.assign({type:"ps4"},n));case 45:case 48:return r.createElement(d,Object.assign({type:"ps5"},n));case 2:return r.createElement(d,Object.assign({type:"steam"},n));case 31:case 32:case 46:return r.createElement(d,Object.assign({type:"xbox"},n));case 42:case 39:case 40:case 41:case 38:case 44:return r.createElement(d,Object.assign({type:"switchpro"},n));default:return r.createElement(d,Object.assign({type:"generic"},n))}}function h(e){const{type:t,partial:n}=e,s=(0,i._T)(e,["type","partial"]);return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M0 11C0 9.89543 0.895431 9 2 9H34C35.1046 9 36 9.89543 36 11V24C36 25.6569 34.6569 27 33 27H3C1.34315 27 0 25.6569 0 24V11ZM33 16C33 16.5523 32.5523 17 32 17C31.4477 17 31 16.5523 31 16C31 15.4477 31.4477 15 32 15C32.5523 15 33 15.4477 33 16ZM32 13C32.5523 13 33 12.5523 33 12C33 11.4477 32.5523 11 32 11C31.4477 11 31 11.4477 31 12C31 12.5523 31.4477 13 32 13ZM35 14C35 14.5523 34.5523 15 34 15C33.4477 15 33 14.5523 33 14C33 13.4477 33.4477 13 34 13C34.5523 13 35 13.4477 35 14ZM30 15C30.5523 15 31 14.5523 31 14C31 13.4477 30.5523 13 30 13C29.4477 13 29 13.4477 29 14C29 14.5523 29.4477 15 30 15ZM6 14C6 15.1046 5.10457 16 4 16C2.89543 16 2 15.1046 2 14C2 12.8954 2.89543 12 4 12C5.10457 12 6 12.8954 6 14ZM2.5 21C2.22386 21 2 21.2239 2 21.5V24.5C2 24.7761 2.22386 25 2.5 25H5.5C5.77614 25 6 24.7761 6 24.5V21.5C6 21.2239 5.77614 21 5.5 21H2.5ZM30 21.5C30 21.2239 30.2239 21 30.5 21H33.5C33.7761 21 34 21.2239 34 21.5V24.5C34 24.7761 33.7761 25 33.5 25H30.5C30.2239 25 30 24.7761 30 24.5V21.5ZM28 11H8V25H28V11Z"}))}function p(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.createElement("path",{d:"M31.09 4.38L13 22.46L5.41 14.88L1.88 18.41L13 29.54L34.62 7.91L31.09 4.38Z",fill:"currentColor"}))}function g(e){const{direction:t}=e,n=(0,i._T)(e,["direction"]);switch(t){case"up":return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),r.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 r.createElement("svg",Object.assign({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r.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 _(e){const{direction:t}=e,n=(0,i._T)(e,["direction"]);switch(t){case"up":return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),r.createElement("path",{d:"M17.98 10.23L3.20996 25H32.75L17.98 10.23Z",fill:"currentColor"}));case"down":return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),r.createElement("path",{d:"M17.98 26.54L3.20996 11.77H32.75L17.98 26.54Z",fill:"currentColor"}));case"left":return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),r.createElement("path",{d:"M9.82497 18.385L24.595 3.61499L24.595 33.155L9.82497 18.385Z",fill:"currentColor"}));case"right":return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),r.createElement("path",{d:"M26.135 18.385L11.365 33.155L11.365 3.61503L26.135 18.385Z",fill:"currentColor"}))}}function f(e){const{direction:t}=e;(0,i._T)(e,["direction"]);switch(t){case"up":return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 v(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.createElement("rect",{x:"4",y:"4",width:"28",height:"4",fill:"currentColor"}),r.createElement("rect",{x:"4",y:"12",width:"28",height:"4",fill:"currentColor"}),r.createElement("rect",{x:"4",y:"20",width:"28",height:"4",fill:"currentColor"}),r.createElement("rect",{x:"4",y:"28",width:"28",height:"4",fill:"currentColor"}))}function C(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e,{className:(0,l.Z)(e.className,o().Spinner)}),r.createElement("path",{d:"M18 10C17.4696 10 16.9609 9.78929 16.5858 9.41421C16.2107 9.03914 16 8.53043 16 8V3H20V8C20 8.53043 19.7893 9.03914 19.4142 9.41421C19.0391 9.78929 18.5304 10 18 10Z",fill:"currentColor"}),r.createElement("path",{d:"M23.66 12.34C23.2875 11.9653 23.0784 11.4584 23.0784 10.93C23.0784 10.4016 23.2875 9.89473 23.66 9.52L27.19 6L30 8.81L26.47 12.34C26.0957 12.7095 25.5909 12.9166 25.065 12.9166C24.5391 12.9166 24.0343 12.7095 23.66 12.34Z",fill:"currentColor"}),r.createElement("path",{d:"M33 20H28C27.4696 20 26.9609 19.7893 26.5858 19.4142C26.2107 19.0391 26 18.5304 26 18C26 17.4696 26.2107 16.9609 26.5858 16.5858C26.9609 16.2107 27.4696 16 28 16H33V20Z",fill:"currentColor"}),r.createElement("path",{d:"M27.19 30L23.66 26.46C23.2875 26.0853 23.0784 25.5783 23.0784 25.05C23.0784 24.5216 23.2875 24.0147 23.66 23.64C23.8458 23.454 24.0663 23.3065 24.3091 23.2059C24.5519 23.1052 24.8122 23.0534 25.075 23.0534C25.3378 23.0534 25.5981 23.1052 25.8409 23.2059C26.0837 23.3065 26.3043 23.454 26.49 23.64L30 27.19L27.19 30Z",fill:"currentColor"}),r.createElement("path",{d:"M20 33H16V28C16 27.4696 16.2107 26.9609 16.5858 26.5858C16.9609 26.2107 17.4696 26 18 26C18.5304 26 19.0391 26.2107 19.4142 26.5858C19.7893 26.9609 20 27.4696 20 28V33Z",fill:"currentColor"}),r.createElement("path",{d:"M8.81 30L6 27.19L9.53 23.66C9.71575 23.474 9.93632 23.3265 10.1791 23.2259C10.4219 23.1252 10.6822 23.0734 10.945 23.0734C11.2078 23.0734 11.4681 23.1252 11.7109 23.2259C11.9537 23.3265 12.1743 23.474 12.36 23.66C12.7325 24.0347 12.9416 24.5416 12.9416 25.07C12.9416 25.5984 12.7325 26.1053 12.36 26.48L8.81 30Z",fill:"currentColor"}),r.createElement("path",{d:"M8 20H3V16H8C8.53043 16 9.03914 16.2107 9.41421 16.5858C9.78929 16.9609 10 17.4696 10 18C10 18.5304 9.78929 19.0391 9.41421 19.4142C9.03914 19.7893 8.53043 20 8 20Z",fill:"currentColor"}),r.createElement("path",{d:"M9.51 12.34L6 8.81L8.81 6L12.34 9.54C12.7125 9.91472 12.9216 10.4216 12.9216 10.95C12.9216 11.4784 12.7125 11.9853 12.34 12.36C12.1529 12.5446 11.9313 12.6906 11.6878 12.7895C11.4443 12.8885 11.1837 12.9385 10.9209 12.9366C10.658 12.9347 10.3981 12.8811 10.156 12.7787C9.91396 12.6764 9.69443 12.5273 9.51 12.34Z",fill:"currentColor"}))}function S(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 b(e){return r.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.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 w(e){const{alert:t,urgent:n}=e,s=(0,i._T)(e,["alert","urgent"]);return n?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M21.1862 2.52116C20.1687 2.17914 19.0936 2 18 2C15.3478 2 12.8043 3.05357 10.9289 4.92893C9.05357 6.8043 8 9.34784 8 12V19L4 24V26H32V24L28 19V14.4025C23.9218 12.9611 21 9.07177 21 4.5C21 3.82354 21.064 3.16202 21.1862 2.52116ZM21.46 32.897C20.4483 33.6133 19.2396 33.9986 18 34C16.7604 33.9986 15.5517 33.6133 14.54 32.897C13.5282 32.1807 12.7632 31.1687 12.35 30H23.65C23.2368 31.1687 22.4718 32.1807 21.46 32.897Z"}),r.createElement("path",{fill:"#FFC82C",d:"M36 4.5C36 6.98528 33.9853 9 31.5 9C29.0147 9 27 6.98528 27 4.5C27 2.01472 29.0147 0 31.5 0C33.9853 0 36 2.01472 36 4.5Z"})):t?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M21.1862 2.52116C20.1687 2.17914 19.0936 2 18 2C15.3478 2 12.8043 3.05357 10.9289 4.92893C9.05357 6.8043 8 9.34784 8 12V19L4 24V26H32V24L28 19V14.4025C23.9218 12.9611 21 9.07177 21 4.5C21 3.82354 21.064 3.16202 21.1862 2.52116ZM21.46 32.897C20.4483 33.6133 19.2396 33.9986 18 34C16.7604 33.9986 15.5517 33.6133 14.54 32.897C13.5282 32.1807 12.7632 31.1687 12.35 30H23.65C23.2368 31.1687 22.4718 32.1807 21.46 32.897Z"}),r.createElement("path",{fill:"#1A9FFF",d:"M36 4.5C36 6.98528 33.9853 9 31.5 9C29.0147 9 27 6.98528 27 4.5C27 2.01472 29.0147 0 31.5 0C33.9853 0 36 2.01472 36 4.5Z"})):r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},s),r.createElement("g",{className:"SVGIcon_Notification"},r.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"}),r.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 y(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 E(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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"}),r.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 D(e){return r.createElement("svg",{width:"5",height:"19",viewBox:"0 0 5 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5 0H3C1.34315 0 0 1.34315 0 3V16C0 17.6569 1.34315 19 3 19H5V0Z",fill:"white"}))}function L(e){return r.createElement("svg",{width:"5",height:"19",viewBox:"0 0 5 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M0 0H2C3.65685 0 5 1.34315 5 3V16C5 17.6569 3.65685 19 2 19H0V0Z",fill:"white"}))}function M(e){const{bGreyOutRightSide:t}=e,n=(0,i._T)(e,["bGreyOutRightSide"]);return t?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"-3 0 25 15",fill:"none"},n),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M11.3699 2.1855H7.84997C7.1763 2.1855 6.52367 2.03814 5.8921 1.82761C2.57518 0.642996 1.92458 2.62958 1.05846 5.27426C0.924084 5.68458 0.78452 6.11073 0.629005 6.54335C-0.528876 9.78541 -0.0446708 12.9012 1.72373 13.5327C3.13424 14.038 4.94474 12.7538 6.20789 10.5222C6.46052 10.6486 6.75525 10.7328 7.07103 10.7328C7.28247 10.7328 7.48656 10.6985 7.67799 10.6352L11.3699 2.1855ZM4.41843 7.40649C4.41843 7.4907 4.48159 7.55386 4.5658 7.55386V7.53281H5.42895C5.51316 7.53281 5.57632 7.46965 5.57632 7.38544V6.22756H6.7342C6.83946 6.22756 6.90262 6.1644 6.90262 6.08019V5.2381C6.90262 5.15389 6.81841 5.09073 6.7342 5.09073H5.57632V3.93285C5.57632 3.84864 5.51316 3.78548 5.42895 3.78548H4.5658C4.48159 3.78548 4.41843 3.84864 4.41843 3.93285V5.09073H3.26055C3.15529 5.09073 3.09213 5.15389 3.09213 5.2381V6.10125C3.09213 6.18546 3.17634 6.24861 3.26055 6.24861H4.41843V7.40649ZM6.14473 8.7749C6.14473 9.28016 6.54473 9.7012 7.04998 9.7012C7.55524 9.7012 7.97629 9.28016 7.97629 8.7749C7.97629 8.29069 7.55524 7.86965 7.04998 7.86965C6.56578 7.86965 6.14473 8.26964 6.14473 8.7749Z"}),r.createElement("path",{fill:"grey",fillRule:"evenodd",clipRule:"evenodd",d:"M13.828 2.92182C13.8318 2.92822 13.8354 2.93477 13.839 2.94132C13.8436 2.94968 13.8481 2.95804 13.8532 2.96608C13.86 2.97684 13.8674 2.98708 13.8748 2.99732L13.8748 2.99736L13.8748 2.9974C13.8798 3.00433 13.8848 3.01126 13.8897 3.01835C14.0485 3.25263 14.2573 3.45281 14.5086 3.59687L14.5127 3.59947C14.5584 3.62555 14.6063 3.64869 14.6546 3.67094C14.6589 3.67292 14.6631 3.67511 14.6673 3.67731L14.6673 3.67731C14.6721 3.67986 14.677 3.68241 14.682 3.6846C14.7397 3.71 14.7992 3.73269 14.8603 3.75245C14.865 3.75395 14.8698 3.7552 14.8746 3.75644L14.8746 3.75644C14.8788 3.75754 14.883 3.75864 14.8872 3.7599L14.8881 3.76002C15.2353 3.86547 15.6028 3.86558 15.9504 3.76002L15.9512 3.75985L15.9521 3.75968C15.9562 3.7584 15.9604 3.75733 15.9645 3.75625C15.9692 3.75504 15.9738 3.75383 15.9785 3.75234C16.0447 3.731 16.1087 3.70503 16.1714 3.67658C16.1885 3.66881 16.2052 3.66017 16.2218 3.65153L16.2437 3.64023C16.2799 3.62182 16.3158 3.60274 16.3507 3.58208C16.3798 3.56481 16.4081 3.54663 16.4361 3.52777C16.4636 3.50937 16.4905 3.49006 16.5169 3.47019C16.5466 3.44795 16.5762 3.42548 16.6045 3.40144C16.6231 3.38577 16.6409 3.36911 16.6586 3.35246L16.6703 3.3416L16.6888 3.3244L16.6888 3.32438C16.7113 3.30361 16.7338 3.28286 16.7549 3.26064C16.7681 3.24682 16.7804 3.23217 16.7927 3.21749L16.7927 3.21747L16.7927 3.21745C16.7991 3.20984 16.8054 3.20222 16.8119 3.19471C16.8559 3.14413 16.897 3.09129 16.9356 3.03608L16.9462 3.02092C16.9636 2.99614 16.9809 2.97142 16.9969 2.94553C17.0115 2.92184 17.0249 2.89721 17.0382 2.87262L17.0382 2.8726L17.0464 2.85747C17.1084 2.74389 17.1621 2.62455 17.2009 2.49798C17.5113 1.48671 16.9628 0.406 15.9783 0.0888548C15.7942 0.0294676 15.6053 0 15.4174 0C15.1269 0 14.8385 0.0703387 14.5726 0.209322C14.1217 0.444952 13.7898 0.847565 13.6377 1.34321C13.4833 1.84608 13.5417 2.36611 13.7602 2.8009C13.7811 2.84256 13.8045 2.88219 13.828 2.92182ZM15.4233 0.661048C15.464 0.534258 15.5996 0.464032 15.7264 0.505129C16.4892 0.751032 16.915 1.58494 16.6758 2.36408C16.6441 2.46795 16.5487 2.53456 16.4458 2.53456C16.4223 2.53456 16.3984 2.53106 16.3749 2.52373C16.2478 2.48455 16.1764 2.34952 16.2156 2.22216C16.3776 1.69411 16.0921 1.13005 15.579 0.964758C15.4524 0.923887 15.3827 0.787951 15.4233 0.661048ZM15.7794 7.10124V8.4729C15.7794 8.67172 15.6177 8.8334 15.4192 8.8334C15.2205 8.8334 15.0589 8.67172 15.0589 8.4729V7.10124V5.77417V4.29458C15.1785 4.31354 15.2988 4.32325 15.4192 4.32325C15.5395 4.32325 15.6599 4.31354 15.7794 4.29458V5.77406V7.10124ZM15.4192 11.1944C13.9757 11.1944 12.8014 10.0184 12.8014 8.573C12.8014 7.44668 13.5323 6.44692 14.5773 6.09093V6.94821C13.9729 7.26129 13.5902 7.88214 13.5902 8.57311C13.5902 9.58314 14.4108 10.4049 15.4192 10.4049C16.4277 10.4049 17.2482 9.58314 17.2482 8.57311C17.2482 7.88203 16.8655 7.2614 16.261 6.9481V6.09082C17.3059 6.44692 18.037 7.44679 18.037 8.573C18.037 10.0184 16.8627 11.1944 15.4192 11.1944ZM14.5773 7.51953V8.47289C14.5773 8.93782 14.9551 9.31616 15.4192 9.31616C15.8833 9.31616 16.261 8.93782 16.261 8.47289V7.51953C16.5762 7.77097 16.7665 8.15461 16.7665 8.57292C16.7665 9.31672 16.1621 9.92189 15.4192 9.92189C14.6763 9.92189 14.0719 9.31672 14.0719 8.57292C14.0719 8.15473 14.2622 7.77108 14.5773 7.51953ZM10 9.51902V14.0001H16.6L20.8387 4.29884V3.14599H17.4399C17.4033 3.20899 17.3638 3.26973 17.322 3.32878L17.3209 3.33036C17.1532 3.56655 16.9447 3.76989 16.7053 3.9301L16.7052 3.93021C16.5914 4.00642 16.4707 4.07281 16.3441 4.12824C16.3326 4.13333 16.321 4.13829 16.3094 4.14315L16.2899 4.1516C16.2803 4.15579 16.2708 4.15998 16.2612 4.16381V5.58797C17.58 5.96123 18.5189 7.18487 18.5189 8.57313C18.5189 10.2847 17.1284 11.6773 15.4194 11.6773C13.7103 11.6773 12.3198 10.2846 12.3198 8.57302C12.3198 7.18476 13.2586 5.96112 14.5774 5.58786V4.16133L14.5516 4.15149L14.5516 4.15149C14.5331 4.14452 14.5146 4.13756 14.4966 4.12971C14.4859 4.12505 14.4755 4.11987 14.4652 4.1147L14.4652 4.11469C14.4614 4.11278 14.4576 4.11087 14.4537 4.10898C14.4503 4.10732 14.447 4.10569 14.4435 4.10408C14.3911 4.0797 14.3392 4.05441 14.2891 4.02641C14.2787 4.02057 14.2687 4.01439 14.2587 4.00821L14.2404 3.99705C14.1902 3.96736 14.1407 3.93642 14.093 3.903C14.0844 3.89705 14.0762 3.89081 14.0679 3.88457L14.0679 3.88455L14.0536 3.87387C14.0047 3.8382 13.9569 3.80094 13.911 3.76154C13.9042 3.75576 13.8976 3.7498 13.891 3.74384L13.891 3.74381L13.8787 3.73275C13.8328 3.69187 13.7884 3.64942 13.7457 3.60494C13.7377 3.59661 13.7299 3.58813 13.722 3.57963L13.7159 3.57299C13.6752 3.52907 13.6363 3.48357 13.5989 3.43649C13.5882 3.42305 13.5777 3.40939 13.5673 3.39573C13.5335 3.35113 13.5012 3.30529 13.4704 3.2581C13.4587 3.24015 13.4469 3.22208 13.4356 3.20379C13.4306 3.19569 13.4254 3.18779 13.4201 3.17988C13.4127 3.16872 13.4054 3.15757 13.3986 3.14587H12.7846L10 9.51902ZM11.0839 12.5368C11.0839 12.8356 11.3275 13.0786 11.6272 13.0786C11.9268 13.0786 12.1707 12.8356 12.1706 12.5368C12.1706 12.238 11.9267 11.9949 11.6272 11.9949C11.3276 11.9949 11.0839 12.238 11.0839 12.5368Z"})):r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"-3 0 25 15",fill:"none"},n),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M11.3699 2.1855H7.84997C7.1763 2.1855 6.52367 2.03814 5.8921 1.82761C2.57518 0.642996 1.92458 2.62958 1.05846 5.27426C0.924084 5.68458 0.78452 6.11073 0.629006 6.54335C-0.528876 9.78541 -0.0446708 12.9012 1.72373 13.5327C3.13424 14.038 4.94474 12.7538 6.20789 10.5222C6.46052 10.6486 6.75525 10.7328 7.07103 10.7328C7.28247 10.7328 7.48656 10.6985 7.67799 10.6352L11.3699 2.1855ZM4.41843 7.40649C4.41843 7.4907 4.48159 7.55386 4.5658 7.55386V7.53281H5.42895C5.51316 7.53281 5.57632 7.46965 5.57632 7.38544V6.22756H6.7342C6.83946 6.22756 6.90262 6.1644 6.90262 6.08019V5.2381C6.90262 5.15389 6.81841 5.09073 6.7342 5.09073H5.57632V3.93285C5.57632 3.84864 5.51316 3.78548 5.42895 3.78548H4.5658C4.48159 3.78548 4.41843 3.84864 4.41843 3.93285V5.09073H3.26055C3.15529 5.09073 3.09213 5.15389 3.09213 5.2381V6.10125C3.09213 6.18546 3.17634 6.24861 3.26055 6.24861H4.41843V7.40649ZM6.14473 8.7749C6.14473 9.28016 6.54473 9.7012 7.04998 9.7012C7.55524 9.7012 7.97629 9.28016 7.97629 8.7749C7.97629 8.29069 7.55524 7.86965 7.04998 7.86965C6.56578 7.86965 6.14473 8.26964 6.14473 8.7749Z"}),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M13.828 2.92182C13.8318 2.92822 13.8354 2.93477 13.839 2.94132C13.8436 2.94968 13.8481 2.95804 13.8532 2.96608C13.86 2.97684 13.8674 2.98708 13.8748 2.99732L13.8748 2.99736L13.8748 2.9974C13.8798 3.00433 13.8848 3.01126 13.8897 3.01835C14.0485 3.25263 14.2573 3.45281 14.5086 3.59687L14.5127 3.59947C14.5584 3.62555 14.6063 3.64869 14.6546 3.67094C14.6589 3.67292 14.6631 3.67511 14.6673 3.67731L14.6673 3.67731C14.6721 3.67986 14.677 3.68241 14.682 3.6846C14.7397 3.71 14.7992 3.73269 14.8603 3.75245C14.865 3.75395 14.8698 3.7552 14.8746 3.75644L14.8746 3.75644C14.8788 3.75754 14.883 3.75864 14.8872 3.7599L14.8881 3.76002C15.2353 3.86547 15.6028 3.86558 15.9504 3.76002L15.9512 3.75985L15.9521 3.75968C15.9562 3.7584 15.9604 3.75733 15.9645 3.75625C15.9692 3.75504 15.9738 3.75383 15.9785 3.75234C16.0447 3.731 16.1087 3.70503 16.1714 3.67658C16.1885 3.66881 16.2052 3.66017 16.2218 3.65153L16.2437 3.64023C16.2799 3.62182 16.3158 3.60274 16.3507 3.58208C16.3798 3.56481 16.4081 3.54663 16.4361 3.52777C16.4636 3.50937 16.4905 3.49006 16.5169 3.47019C16.5466 3.44795 16.5762 3.42548 16.6045 3.40144C16.6231 3.38577 16.6409 3.36911 16.6586 3.35246L16.6703 3.3416L16.6888 3.3244L16.6888 3.32438C16.7113 3.30361 16.7338 3.28286 16.7549 3.26064C16.7681 3.24682 16.7804 3.23217 16.7927 3.21749L16.7927 3.21747L16.7927 3.21745C16.7991 3.20984 16.8054 3.20222 16.8119 3.19471C16.8559 3.14413 16.897 3.09129 16.9356 3.03608L16.9462 3.02092C16.9636 2.99614 16.9809 2.97142 16.9969 2.94553C17.0115 2.92184 17.0249 2.89721 17.0382 2.87262L17.0382 2.8726L17.0464 2.85747C17.1084 2.74389 17.1621 2.62455 17.2009 2.49798C17.5113 1.48671 16.9628 0.406 15.9783 0.0888548C15.7942 0.0294676 15.6053 0 15.4174 0C15.1269 0 14.8385 0.0703387 14.5726 0.209322C14.1217 0.444952 13.7898 0.847565 13.6377 1.34321C13.4833 1.84608 13.5417 2.36611 13.7602 2.8009C13.7811 2.84256 13.8045 2.88219 13.828 2.92182ZM15.4233 0.661048C15.464 0.534258 15.5996 0.464032 15.7264 0.505129C16.4892 0.751032 16.915 1.58494 16.6758 2.36408C16.6441 2.46795 16.5487 2.53456 16.4458 2.53456C16.4223 2.53456 16.3984 2.53106 16.3749 2.52373C16.2478 2.48455 16.1764 2.34952 16.2156 2.22216C16.3776 1.69411 16.0921 1.13005 15.579 0.964758C15.4524 0.923887 15.3827 0.787951 15.4233 0.661048ZM15.7794 7.10124V8.4729C15.7794 8.67172 15.6177 8.8334 15.4192 8.8334C15.2205 8.8334 15.0589 8.67172 15.0589 8.4729V7.10124V5.77417V4.29458C15.1785 4.31354 15.2988 4.32325 15.4192 4.32325C15.5395 4.32325 15.6599 4.31354 15.7794 4.29458V5.77406V7.10124ZM15.4192 11.1944C13.9757 11.1944 12.8014 10.0184 12.8014 8.573C12.8014 7.44668 13.5323 6.44692 14.5773 6.09093V6.94821C13.9729 7.26129 13.5902 7.88214 13.5902 8.57311C13.5902 9.58314 14.4108 10.4049 15.4192 10.4049C16.4277 10.4049 17.2482 9.58314 17.2482 8.57311C17.2482 7.88203 16.8655 7.2614 16.261 6.9481V6.09082C17.3059 6.44692 18.037 7.44679 18.037 8.573C18.037 10.0184 16.8627 11.1944 15.4192 11.1944ZM14.5773 7.51953V8.47289C14.5773 8.93782 14.9551 9.31616 15.4192 9.31616C15.8833 9.31616 16.261 8.93782 16.261 8.47289V7.51953C16.5762 7.77097 16.7665 8.15461 16.7665 8.57292C16.7665 9.31672 16.1621 9.92189 15.4192 9.92189C14.6763 9.92189 14.0719 9.31672 14.0719 8.57292C14.0719 8.15473 14.2622 7.77108 14.5773 7.51953ZM10 9.51902V14.0001H16.6L20.8387 4.29884V3.14599H17.4399C17.4033 3.20899 17.3638 3.26973 17.322 3.32878L17.3209 3.33036C17.1532 3.56655 16.9447 3.76989 16.7053 3.9301L16.7052 3.93021C16.5914 4.00642 16.4707 4.07281 16.3441 4.12824C16.3326 4.13333 16.321 4.13829 16.3094 4.14315L16.2899 4.1516C16.2803 4.15579 16.2708 4.15998 16.2612 4.16381V5.58797C17.58 5.96123 18.5189 7.18487 18.5189 8.57313C18.5189 10.2847 17.1284 11.6773 15.4194 11.6773C13.7103 11.6773 12.3198 10.2846 12.3198 8.57302C12.3198 7.18476 13.2586 5.96112 14.5774 5.58786V4.16133L14.5516 4.15149L14.5516 4.15149C14.5331 4.14452 14.5146 4.13756 14.4966 4.12971C14.4859 4.12505 14.4755 4.11987 14.4652 4.1147L14.4652 4.11469C14.4614 4.11278 14.4576 4.11087 14.4537 4.10898C14.4503 4.10732 14.447 4.10569 14.4435 4.10408C14.3911 4.0797 14.3392 4.05441 14.2891 4.02641C14.2787 4.02057 14.2687 4.01439 14.2587 4.00821L14.2404 3.99705C14.1902 3.96736 14.1407 3.93642 14.093 3.903C14.0844 3.89705 14.0762 3.89081 14.0679 3.88457L14.0679 3.88455L14.0536 3.87387C14.0047 3.8382 13.9569 3.80094 13.911 3.76154C13.9042 3.75576 13.8976 3.7498 13.891 3.74384L13.891 3.74381L13.8787 3.73275C13.8328 3.69187 13.7884 3.64942 13.7457 3.60494C13.7377 3.59661 13.7299 3.58813 13.722 3.57963L13.7159 3.57299C13.6752 3.52907 13.6363 3.48357 13.5989 3.43649C13.5882 3.42305 13.5777 3.40939 13.5673 3.39573C13.5335 3.35113 13.5012 3.30529 13.4704 3.2581C13.4587 3.24015 13.4469 3.22208 13.4356 3.20379C13.4306 3.19569 13.4254 3.18779 13.4201 3.17988C13.4127 3.16872 13.4054 3.15757 13.3986 3.14587H12.7846L10 9.51902ZM11.0839 12.5368C11.0839 12.8356 11.3275 13.0786 11.6272 13.0786C11.9268 13.0786 12.1707 12.8356 12.1706 12.5368C12.1706 12.238 11.9267 11.9949 11.6272 11.9949C11.3276 11.9949 11.0839 12.238 11.0839 12.5368Z"}))}function R(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 33 17",fill:"none"},e),r.createElement("path",{fill:"currentColor",d:"M10.272 17H6.6L0.24 0.199999H4.104L8.52 12.992L12.816 0.199999H16.68L10.272 17ZM32.4499 17H28.5379L25.1539 11.336H24.7459H22.2499V17H18.7219V0.199999H25.0099C27.3139 0.199999 29.0099 0.663999 30.0979 1.592C31.1859 2.504 31.7299 3.784 31.7299 5.432C31.7299 6.728 31.4419 7.808 30.8659 8.672C30.3059 9.536 29.5139 10.192 28.4899 10.64L32.4499 17ZM22.2499 3.2V8.312H25.0099C25.9379 8.312 26.6579 8.08 27.1699 7.616C27.6979 7.136 27.9619 6.48 27.9619 5.648C27.9619 4.832 27.7059 4.224 27.1939 3.824C26.6979 3.408 25.8979 3.2 24.7939 3.2H22.2499Z"}))}function I(e){const[t,n]=(0,a.y)();return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 57 45",fill:"none"},e),r.createElement("path",{fill:"currentColor",d:"M8.132 23.6465H5.225L0.19 10.3465H3.249L6.745 20.4735L10.146 10.3465H13.205L8.132 23.6465ZM25.6895 23.6465H22.5925L19.9135 19.1625H19.5905H17.6145V23.6465H14.8215V10.3465H19.7995C21.6235 10.3465 22.9662 10.7138 23.8275 11.4485C24.6888 12.1705 25.1195 13.1838 25.1195 14.4885C25.1195 15.5145 24.8915 16.3695 24.4355 17.0535C23.9922 17.7375 23.3652 18.2568 22.5545 18.6115L25.6895 23.6465ZM17.6145 12.7215V16.7685H19.7995C20.5342 16.7685 21.1042 16.5848 21.5095 16.2175C21.9275 15.8375 22.1365 15.3182 22.1365 14.6595C22.1365 14.0135 21.9338 13.5322 21.5285 13.2155C21.1358 12.8862 20.5025 12.7215 19.6285 12.7215H17.6145ZM32.7768 16.1035H36.4248V18.1555H32.7768V21.7845H30.6678V18.1555H27.0008V16.1035H30.6678V12.4745H32.7768V16.1035Z"}),r.createElement("mask",{id:t,"mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"16",y:"0",width:"41",height:"45"},r.createElement("rect",{fill:"currentColor",x:"30.6709",width:"28.0621",height:"36.6291",transform:"rotate(22.1353 30.6709 0)"})),r.createElement("g",{mask:n},r.createElement("path",{fill:"currentColor",d:"M43.86 9.64648H17.3018C17.1351 9.64648 17 9.78157 17 9.94828V25.8623C17 25.9424 17.0318 26.0191 17.0884 26.0757C17.145 26.1323 17.2217 26.1641 17.3018 26.1641H43.86C43.9401 26.1641 44.0168 26.1323 44.0734 26.0757C44.13 26.0191 44.1618 25.9424 44.1618 25.8623V9.94828C44.1618 9.78157 44.0267 9.64648 43.86 9.64648ZM42.6528 24.6551H18.509V11.1555H42.6528V24.6551Z"}),r.createElement("path",{fill:"currentColor",d:"M28.0661 27.4272V28.735H23.0743C22.735 28.735 22.4096 28.8698 22.1697 29.1098C21.9297 29.3497 21.7949 29.6751 21.7949 30.0144V30.6463L39.3671 30.6464V30.0144C39.3671 29.6751 39.2323 29.3497 38.9924 29.1097C38.7524 28.8698 38.4271 28.735 38.0877 28.735H33.096V27.4272L28.0661 27.4272Z"})))}function T(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e,{className:(0,l.Z)(e.className)}),r.createElement("path",{d:"M18 10C17.4696 10 16.9609 9.78929 16.5858 9.41421C16.2107 9.03914 16 8.53043 16 8V3H20V8C20 8.53043 19.7893 9.03914 19.4142 9.41421C19.0391 9.78929 18.5304 10 18 10Z",fill:"currentColor"}),r.createElement("path",{d:"M23.66 12.34C23.2875 11.9653 23.0784 11.4584 23.0784 10.93C23.0784 10.4016 23.2875 9.89473 23.66 9.52L27.19 6L30 8.81L26.47 12.34C26.0957 12.7095 25.5909 12.9166 25.065 12.9166C24.5391 12.9166 24.0343 12.7095 23.66 12.34Z",fill:"currentColor"}),r.createElement("path",{d:"M33 20H28C27.4696 20 26.9609 19.7893 26.5858 19.4142C26.2107 19.0391 26 18.5304 26 18C26 17.4696 26.2107 16.9609 26.5858 16.5858C26.9609 16.2107 27.4696 16 28 16H33V20Z",fill:"currentColor"}),r.createElement("path",{d:"M27.19 30L23.66 26.46C23.2875 26.0853 23.0784 25.5783 23.0784 25.05C23.0784 24.5216 23.2875 24.0147 23.66 23.64C23.8458 23.454 24.0663 23.3065 24.3091 23.2059C24.5519 23.1052 24.8122 23.0534 25.075 23.0534C25.3378 23.0534 25.5981 23.1052 25.8409 23.2059C26.0837 23.3065 26.3043 23.454 26.49 23.64L30 27.19L27.19 30Z",fill:"currentColor"}),r.createElement("path",{d:"M20 33H16V28C16 27.4696 16.2107 26.9609 16.5858 26.5858C16.9609 26.2107 17.4696 26 18 26C18.5304 26 19.0391 26.2107 19.4142 26.5858C19.7893 26.9609 20 27.4696 20 28V33Z",fill:"currentColor"}),r.createElement("path",{d:"M8.81 30L6 27.19L9.53 23.66C9.71575 23.474 9.93632 23.3265 10.1791 23.2259C10.4219 23.1252 10.6822 23.0734 10.945 23.0734C11.2078 23.0734 11.4681 23.1252 11.7109 23.2259C11.9537 23.3265 12.1743 23.474 12.36 23.66C12.7325 24.0347 12.9416 24.5416 12.9416 25.07C12.9416 25.5984 12.7325 26.1053 12.36 26.48L8.81 30Z",fill:"currentColor"}),r.createElement("path",{d:"M8 20H3V16H8C8.53043 16 9.03914 16.2107 9.41421 16.5858C9.78929 16.9609 10 17.4696 10 18C10 18.5304 9.78929 19.0391 9.41421 19.4142C9.03914 19.7893 8.53043 20 8 20Z",fill:"currentColor"}),r.createElement("path",{d:"M9.51 12.34L6 8.81L8.81 6L12.34 9.54C12.7125 9.91472 12.9216 10.4216 12.9216 10.95C12.9216 11.4784 12.7125 11.9853 12.34 12.36C12.1529 12.5446 11.9313 12.6906 11.6878 12.7895C11.4443 12.8885 11.1837 12.9385 10.9209 12.9366C10.658 12.9347 10.3981 12.8811 10.156 12.7787C9.91396 12.6764 9.69443 12.5273 9.51 12.34Z",fill:"currentColor"}))}function A(e){return r.createElement("svg",Object.assign({width:"21",height:"16",viewBox:"0 0 21 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{className:(0,l.Z)(e.className)}),r.createElement("path",{d:"M19.8036 8.20159L17.1427 2.47984C16.8199 1.77029 16.2208 1.26744 15.5477 0.983445C14.8911 0.761343 14.239 0.803399 13.6699 1.15492C13.2079 1.41139 12.7957 1.85353 12.6023 2.36971L5.5464 4.26032C5.12084 3.90999 4.60466 3.71661 4.01445 3.74208C3.36234 3.78414 2.77658 4.07377 2.30245 4.5325C1.78302 5.0697 1.59409 5.85004 1.66932 6.62593L2.22581 12.9115C2.35523 14.1373 3.35116 15.1308 4.53158 15.0799C5.71201 15.0289 6.64366 14.0496 6.63803 12.7907L6.65342 11.8578C7.10771 12.0678 7.59072 12.1374 8.08586 12.0047C9.19995 11.7062 9.87959 10.529 9.58107 9.41495L11.7473 8.8345C12.0459 9.94858 13.223 10.6282 14.3371 10.3297C14.8323 10.197 15.2158 9.89526 15.5208 9.54818L16.0006 10.3484C16.5135 11.2723 17.5624 11.721 18.4908 11.4722C18.6146 11.439 18.8003 11.3893 18.9075 11.2942C19.9387 10.6862 20.3044 9.32782 19.8036 8.20159ZM5.60416 7.69439L5.62075 7.75628C5.72026 8.12764 5.53902 8.44156 5.16766 8.54106C4.79629 8.64057 4.48238 8.45933 4.38288 8.08797L4.36629 8.02608L4.3044 8.04266C3.93304 8.14217 3.61912 7.96093 3.51962 7.58957C3.42011 7.21821 3.60135 6.90429 3.97271 6.80479L4.03461 6.7882L4.01802 6.72631C3.91851 6.35495 4.09975 6.04103 4.47111 5.94153C4.84248 5.84202 5.15639 6.02326 5.25589 6.39462L5.27248 6.45652L5.33437 6.43993C5.70573 6.34042 6.01965 6.52166 6.11915 6.89302C6.21866 7.26439 6.03742 7.5783 5.66606 7.6778L5.60416 7.69439ZM7.6757 10.7215C7.24244 10.8376 6.77158 10.5658 6.65549 10.1325C6.6389 10.0706 6.62232 10.0087 6.58915 9.88495L6.61787 9.74458C6.65874 9.40194 6.91845 9.13334 7.22792 9.05041C7.53739 8.96749 7.89661 9.07025 8.10332 9.34655C8.19838 9.45375 8.23155 9.57754 8.26472 9.70133C8.38081 10.1346 8.10895 10.6055 7.6757 10.7215ZM10.5557 6.36764L9.31778 6.69933C8.94642 6.79883 8.63251 6.6176 8.533 6.24623C8.4335 5.87487 8.61474 5.56096 8.9861 5.46145L10.224 5.12977C10.5953 5.03026 10.9092 5.2115 11.0087 5.58286C11.1083 5.95422 10.927 6.26813 10.5557 6.36764ZM13.9889 9.02994C13.5556 9.14603 13.0847 8.87417 12.9686 8.44092C12.9355 8.31713 12.9023 8.19334 12.931 8.05297C12.9719 7.71033 13.2316 7.44173 13.5411 7.35881C13.603 7.34223 13.7268 7.30906 13.8052 7.35437L13.8671 7.33778C13.929 7.3212 14.0075 7.36651 14.0075 7.36651L14.086 7.41182C14.1479 7.39523 14.1645 7.45713 14.2263 7.44054L14.3048 7.48585C14.3214 7.54774 14.3833 7.53116 14.3999 7.59305C14.3999 7.59305 14.3999 7.59305 14.4165 7.65495L14.5281 7.82404C14.5447 7.88594 14.5447 7.88594 14.5613 7.94783C14.7559 8.4264 14.4221 8.91385 13.9889 9.02994ZM15.569 5.02431L15.5071 5.04089L15.5237 5.10279C15.6232 5.47415 15.442 5.78806 15.0706 5.88757C14.6993 5.98707 14.3854 5.80583 14.2859 5.43447L14.2693 5.37258L14.2074 5.38916C13.836 5.48867 13.5221 5.30743 13.4226 4.93607C13.3231 4.56471 13.5043 4.2508 13.8757 4.15129L13.9376 4.13471L13.921 4.07281C13.8215 3.70145 14.0027 3.38754 14.3741 3.28803C14.7455 3.18853 15.0594 3.36976 15.1589 3.74112L15.1755 3.80302L15.2374 3.78643C15.6087 3.68693 15.9226 3.86817 16.0221 4.23953C16.1216 4.61089 15.8785 4.94139 15.569 5.02431Z",fill:"black"}))}function k(e){return r.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"6 6 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{className:(0,l.Z)(e.className)}),r.createElement("path",{d:"M16.9511 6.69098L16 3.76393L15.0489 6.69098L13.0283 12.9098H6.48944H3.41175L5.90165 14.7188L11.1917 18.5623L9.17109 24.7812L8.22003 27.7082L10.7099 25.8992L16 22.0557L21.2901 25.8992L23.78 27.7082L22.8289 24.7812L20.8083 18.5623L26.0984 14.7188L28.5882 12.9098H25.5106H18.9717L16.9511 6.69098Z",fill:"white",stroke:"#141E2B",strokeWidth:"2"}))}},95082:(e,t,n)=>{"use strict";n.d(t,{BR:()=>a,Ff:()=>l,ZP:()=>c});var i=n(47427),r=n(58112),s=n(25006);const o=i.createContext({AddImpression:()=>{console.log("Impression Tracking not enabled")},BIsValid:()=>!1});function a(){return i.useContext(o)}function l(e){return i.createElement(o.Provider,{value:e.ImpressionTracker},e.children)}function c(e){const{appID:t,feature:n,depth:o,children:l}=e,c=(0,s.PZ)(n,o),u=a(),d=i.useCallback((()=>t&&u.AddImpression(t,c)),[u,t,c]);return i.createElement(r.h,{onEnter:d},l)}},7341:(e,t,n)=>{"use strict";n.d(t,{t:()=>b});var i=n(85556),r=n(15481),s=n(47427),o=n(10095),a=n(10162),l=n(43099),c=n(42287),u=n(37563);function d(e){const{ModalManager:t}=e,[n,i]=s.useState(void 0),[r,o]=s.useState(!0),a=s.useRef(0),l=s.useCallback((()=>{o(!0)}),[]);s.useEffect((()=>t.RegisterMeasureModalCallback(l).Unregister),[t,l]),s.useLayoutEffect((()=>{n||(i(t.TakeMeasureModalRequest()),o(!1))}),[t,n,r]);const c=s.useCallback((e=>{a.current++,i((t=>t===e?void 0:t))}),[]);return n?s.createElement(m,{key:a.current,onMeasureComplete:c,request:n}):null}function m(e){const[t,n]=s.useState(),i=(0,o.Wy)().ownerWindow;return s.useLayoutEffect((()=>{const e=i.document.body,t=i.document.createElement("div");return t.style.position="absolute",t.style.visibility="hidden",e.appendChild(t),n(t),()=>{e.removeChild(t)}}),[i]),t?c.createPortal(s.createElement(h,Object.assign({},e,{elContainer:t})),t):null}function h(e){const{elContainer:t,onMeasureComplete:n,request:r}=e;return s.useEffect((()=>{let e=!1;const s=t=>{e||(r.fnResults(t),n(r),e=!0)};return function(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){t&&(yield t);let n=document;u.De.IN_STEAMUI&&n.fonts&&(yield n.fonts.ready);const i=e.getBoundingClientRect();return{height:Math.ceil(i.height),width:Math.ceil(i.width)}}))}(t,r.promiseContentReady).then(s),()=>s(void 0)}),[t,n,r]),s.createElement(a.SV,null,r.rctToMeasure)}var p=n(13129),g=n(20417),_=n(61809),f=n(45329),v=n(58412),C=n(50423);function S(e){s.useEffect((()=>{if(e)return document.body.classList.add(v.BodyNoScrollDialog),()=>document.body.classList.remove(v.BodyNoScrollDialog)}),[e])}function b(e){let{ModalManager:t,bRegisterModalManager:n=!0,DialogWrapper:a,style:l}=e,c=(0,i._T)(e,["ModalManager","bRegisterModalManager","DialogWrapper","style"]);const u=t.modals,m=u&&!!u.length,h=t.active_modal;S(m),function(e){const t=(0,o.Wy)().ownerWindow,n=(0,g.NW)(),i=s.useCallback((()=>{var e;(null===(e=null==t?void 0:t.SteamClient)||void 0===e?void 0:e.Window)&&t.SteamClient.Window.BringToFront()}),[t]);s.useEffect((()=>e.RegisterOverlay(n)),[e,n]),s.useEffect((()=>e.RegisterOnModalShownCallback(i).Unregister),[e,i])}(t);const v=function(e,t){return(0,g.xK)((n=>{if(!n||!t)return;const i=n.ownerDocument.defaultView;return f.Zp.RegisterModalManager(e,i)}),[e])}(t,n);let C=null;return u&&u.length?C=u.map((e=>e instanceof _.kv?s.createElement(y,{key:e.key,modal:e,active:e==h,Component:null!=a?a:E}):e instanceof _.QA?s.createElement(w,{key:e.key,modal:e,active:e==h}):void 0)):l=Object.assign(Object.assign({},l),{display:"none"}),s.createElement(s.Fragment,null,s.createElement(r.Z,null,s.createElement("div",Object.assign({},c,{style:l,ref:v,className:(0,p.Z)(c.className,"FullModalOverlay")}),s.createElement("div",{className:"ModalOverlayContent ModalOverlayBackground"}),C)),s.createElement(d,{ModalManager:t}),s.createElement(D,{ModalManager:t}))}function w(e){const{modal:t,active:n}=e;return s.useEffect((()=>n?(t.SetActive(n),()=>t.SetActive(!1)):void 0),[t,n]),s.createElement(a.SV,null,s.createElement("div",{className:(0,p.Z)("ModalOverlayContent",n?"active":"inactive"),ref:t.RefModalElement}))}function y(e){const{modal:t,active:n,Component:i}=e,r=(0,g.NW)();return(0,g.Qg)(t.ModalUpdatedCallback,r),s.createElement(a.SV,null,s.createElement(i,{className:(0,p.Z)("ModalOverlayContent",n?"active":"inactive"),active:n,modalKey:t.key},t.element))}function E(e){const{className:t,active:n,children:i}=e,r=s.useRef(null);return s.useEffect((()=>{const e=r.current;if(e&&n){const t=e.firstChild;t&&!(0,C.ni)(t,t.ownerDocument.activeElement)&&t&&t.focus&&t.focus()}}),[n]),s.createElement("div",{ref:r,className:t,tabIndex:-1},i)}function D(e){const{ModalManager:t}=e,n=(0,g.NW)();return(0,g.Qg)(t.LegacyPopupModalCountChangedCallbacks,n),s.createElement(s.Fragment,null,t.legacy_popup_modals.map((e=>s.createElement(l.l6,{key:e.key,Modal:e}))))}},27438:(e,t,n)=>{"use strict";n.d(t,{On:()=>m,Pv:()=>C,uH:()=>M,RG:()=>D,JX:()=>R,BL:()=>a.BL,e1:()=>c.e1,D2:()=>h,RM:()=>I,jF:()=>A,Yy:()=>l});var i=n(47427),r=n(1485),s=n(42287),o=n(98843),a=n(45329);function l(e){const{active:t,children:n}=e,r=(0,o.$C)()||(0,a.BL)(window),l=(0,o.eR)(),[c,u]=i.useState(null),[d,m]=i.useState(!1),h=i.useRef();if(i.useLayoutEffect((()=>{if(t){const e=r.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()}}}),[r,t]),!c||!t)return null;let p=n;return l&&(p=i.createElement(l,{active:d,modalKey:h.current},n)),s.createPortal(p,c)}var c=n(70716),u=(n(697),n(22042),n(35949),n(20417)),d=(n(10095),n(37563));n(12135);const m=({active:e,onDismiss:t,className:n,modalClassName:s,children:o})=>i.createElement(l,{active:e},i.createElement(c.e1,{onEscKeypress:t,className:s},i.createElement(r.VY,{className:n},o)));function h(e){const{className:t,children:n}=e;return i.createElement(l,{active:!0},i.createElement("div",{className:t},n))}n(7341);var p=n(82493),g=n(4030),_=n(91618),f=n(41130),v=n(58412);function C(e){const{children:t,navID:n,closeModal:r}=e,s=i.createRef(),o=(0,f.L)(),a=e=>(e.stopPropagation(),e.preventDefault(),!0);return(0,d.id)()&&!d.De.IN_STEAMUI?i.createElement(p.Fe,{navID:n,NavigationManager:o,navTreeRef:s,onCancelButton:r,className:v.GamepadOnlyModalWrapper},i.createElement(g.O,null,i.createElement(_.s,{className:v.GamepadOnlyPanelWrapper,onGamepadDirection:a,focusableIfNoChildren:!0},t))):i.createElement(i.Fragment,null,t)}var S=n(85556),b=n(27605),w=n(31846),y=n(62210),E=n(13129);const D=(0,b.Pi)((e=>{const{onCancel:t,closeModal:n,bOKDisabled:s,onOK:o}=e,a=(0,d.id)();(0,y.X)(n||t,`Either closeModal or onCancel should be passed to GenericDialog. Classes: ${e.className} ${e.modalClassName}`);const l=i.useCallback((()=>{t&&t()||n&&n()}),[t,n]),u=i.useCallback((()=>(0,S.mG)(void 0,void 0,void 0,(function*(){s||(o&&(yield o()),n&&n())}))),[s,o,n]);return i.createElement(c.e1,{onEscKeypress:l,className:e.modalClassName,bDestructiveWarning:e.bDestructiveWarning,bDisableBackgroundDismiss:e.bDisableBackgroundDismiss,bHideCloseIcon:e.bHideCloseIcon},i.createElement(r.oX,{classNameContent:(0,E.Z)("GenericConfirmDialog",e.bAllowFullSize&&"DialogContentFullSize",e.className),onSubmit:u,bCenterVertically:!a},e.children))}));var L=n(90069);let M=class extends i.Component{Cancel(){this.props.onCancel&&this.props.onCancel(),this.props.closeModal&&this.props.closeModal()}render(){const e=this.props,{strTitle:t,strDescription:n,strOKButtonText:s,strCancelButtonText:o,strMiddleButtonText:a,onMiddleButton:l,bAlertDialog:c,children:u}=e,d=(0,S._T)(e,["strTitle","strDescription","strOKButtonText","strCancelButtonText","strMiddleButtonText","onMiddleButton","bAlertDialog","children"]),m=s||(0,w.Xx)("#Button_Close");let h=i.createElement(r.o9,{bOKDisabled:this.props.bOKDisabled,bCancelDisabled:this.props.bCancelDisabled,strOKText:s,onCancel:this.Cancel,strCancelText:o});return c?h=i.createElement(r.KM,null,m):l&&(h=i.createElement(r.$0,{bOKDisabled:this.props.bOKDisabled,bCancelDisabled:this.props.bCancelDisabled,strOKText:s,onCancel:this.Cancel,strCancelText:o,onUpdate:()=>{l(),this.props.closeModal&&this.props.closeModal()},strUpdateText:a,bUpdateDisabled:this.props.bMiddleDisabled})),i.createElement(D,Object.assign({},d),i.createElement(r.h4,null," ",t||i.createElement(i.Fragment,null," ")," "),i.createElement(r.V5,{onCancelButton:this.Cancel},i.createElement(r.Ac,null,n,u),i.createElement(r.$_,null,h)))}};(0,S.gn)([u.ak],M.prototype,"Cancel",null),M=(0,S.gn)([b.Pi],M);let R=class extends i.Component{render(){const e=Object.assign({strTitle:(0,w.Xx)("#Error_FailureNotice"),strDescription:(0,w.Xx)("#Error_GenericFailureDescription"),bAlertDialog:!0,bDestructiveWarning:!0,onOK:()=>{},onCancel:()=>{}},this.props);return i.createElement(M,Object.assign({},e))}};function I(e,t){(0,L.AM)(i.createElement(R,{strDescription:e}),t)}R=(0,S.gn)([b.Pi],R);let T=class extends i.Component{render(){let e=Object.assign({onOK:()=>{},onCancel:()=>{},bAlertDialog:!0},this.props);return e.strDescription=i.createElement("span",{style:{whiteSpace:"pre-line"}}," ",e.strDescription," "),i.createElement(M,Object.assign({},e))}};function A(e,t,n){(0,L.AM)(i.createElement(T,{strTitle:e,strDescription:t}),n)}T=(0,S.gn)([b.Pi],T)},43099:(e,t,n)=>{"use strict";n.d(t,{l6:()=>m,lc:()=>h});var i=n(47427),r=n(42287),s=n(10095),o=n(697),a=n(22042),l=n(61809),c=n(98843),u=n(35949),d=n(37563);n(27438);function m(e){const{Modal:t}=e,{name:n,modalProps:l,options:m}=t,h=(0,s.Wy)().ownerWindow,{popup:p,element:g}=(0,o.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,i){var r,s;let o,a,l,c=t.popupWidth||500,u=t.popupHeight||400;if(d.De.IN_CLIENT&&(null===(s=null===(r=null==i?void 0:i.SteamClient)||void 0===r?void 0:r.Browser)||void 0===s?void 0:s.GetBrowserID))l=i.SteamClient.Browser.GetBrowserID();else{let e=i.screen;o=(e.availWidth-c)/2,a=(e.availHeight-u)/2;let t=e;void 0!==t.availLeft&&void 0!==t.availTop&&(o+=t.availLeft,a+=t.availTop)}return Object.assign(Object.assign({},e),{dimensions:{width:c,height:u,left:o,top:a},center_on_window:n.bCenterOnWindow?i:void 0,window_opener_id:l})}(e,l,m,h),onClose:()=>l.fnOnClose&&l.fnOnClose()}),_=null==m?void 0:m.bHideActions,f="number"==typeof(null==m?void 0:m.nDragAreaHeight)?{height:m.nDragAreaHeight}:void 0;return g?r.createPortal(i.createElement(s.Rt,{ownerWindow:p},i.createElement("div",{className:"PopupFullWindow",onContextMenu:a.T},i.createElement(u.T,{hideMin:!0,hideMax:!0,popup:p,hideActions:_,style:f}),i.createElement(c.Y0,{browserInfo:l.browserContext,bCenterPopupsOnWindow:m.bCenterOnWindow},t.element))),g):null}class h extends l.kv{constructor(e,t,n,i){super(t),this.m_strName=e,this.m_modalProps=n,this.m_options=i}get name(){return this.m_strName}get modalProps(){return this.m_modalProps}get options(){return this.m_options}}},61809:(e,t,n)=>{"use strict";n.d(t,{QA:()=>l,kv:()=>a});var i=n(85556),r=n(16997),s=n(45492);class o{constructor(){this.key="Modal_"+o.sm_lastKey++}}o.sm_lastKey=0;class a extends o{constructor(e){super(),this.ModalUpdatedCallback=new s.pB,this.element=e}UpdateModal(e){this.element=e,this.ModalUpdatedCallback.Dispatch()}}class l extends o{constructor(){super(),this.m_OnElementReadyCallbacks=new s.pB,this.m_OnActiveModalCallbacks=new s.pB}get OnElementReadyCallbacks(){return this.m_OnElementReadyCallbacks}get OnModalActiveCallbacks(){return this.m_OnActiveModalCallbacks}RefModalElement(e){e&&this.m_OnElementReadyCallbacks.Dispatch(e)}SetActive(e){this.m_OnActiveModalCallbacks.Dispatch(e)}}(0,i.gn)([r.a],l.prototype,"RefModalElement",null)},98843:(e,t,n)=>{"use strict";n.d(t,{Y0:()=>M,Yu:()=>T,eR:()=>I,$C:()=>R});var i=n(85556),r=n(47427),s=n(42287),o=n(32573),a=n(7341),l=n(45329),c=n(95315),u=n(89570),d=n(10095),m=n(77936),h=n(697),p=n(22042),g=n(27241),_=n.n(g),f=n(10162),v=n(50423),C=n(20417);function S(e){var t;const{manager:n,ownerWindow:i,browserInfo:o,bSuppressMouseOverlay:a}=e,l=(0,C.NW)(),c=null===(t=i.document)||void 0===t?void 0:t.body;(0,C.Qg)(n.OnMenusChanged,l);const u=!a&&n.BShouldRenderMouseOverlay(),d=n.GetAllMenus();return r.createElement(r.Fragment,null,u&&s.createPortal(r.createElement(p.Vc,null),c),d.map((e=>r.createElement(f.SV,{key:e.key},r.createElement(b,{instance:e,elRoot:c,browserInfo:o})))))}function b(e){var t;const{instance:n,elRoot:i,browserInfo:s,children:o}=e,a=R(),l=r.useRef(void 0);if(void 0===l.current)if(i){const e=i.ownerDocument.defaultView;l.current=(n.options.bForcePopup||e.innerWidth<400||(null==a?void 0:a.BOnlyPopups()))&&!!(null===(t=e.SteamClient)||void 0===t?void 0:t.Window)}else l.current=!0;const c=r.useMemo((()=>({instance:n,styles:_(),presentation:0})),[n]),u=o||n.ReactElement;return r.createElement(p.Yr.Provider,{value:c},l.current?r.createElement(y,{instance:n,browserInfo:s,children:u}):r.createElement(w,{instance:n,elRoot:i,children:u}))}function w(e){const{instance:t,elRoot:n,children:i}=e;return s.createPortal(r.createElement(p.Wn,Object.assign({},t.position),i),n)}function y(e){const{instance:t,browserInfo:n,children:i}=e,o=r.useRef(null),a=(0,d.Wy)().ownerWindow,l=a.SteamClient.Browser.GetBrowserID(),c=r.useCallback((e=>{const{options:n,position:i}=t,r=i.element;if(n.bScreenCoordinates)e.dimensions={left:i.clientX,top:i.clientY,width:2,height:1};else{let t=v.sH(a,r.getBoundingClientRect());e.dimensions={left:t.right,top:t.top,width:2,height:1},e.availscreenwidth=a.screen.availWidth,e.availscreenheight=a.screen.availHeight}return e}),[a,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:g,element:f}=(0,h.B)("contextmenu_"+t.key,{title:t.options.title||"Menu",html_class:_().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,r.useEffect)((()=>{if(g)if(t.visible){o.current&&o.current.PositionMenu(),o.current&&o.current.PositionPopupWindow();let e=t.options.bNoFocusWhenShown?m.IF.k_EWindowBringToFrontWithoutForcingOS:m.IF.k_EWindowBringToFrontAndForceOS;t.TakeFocus(e)}else t.options.bRetainOnHide&&window.setTimeout((()=>{var e;null===(e=g.window)||void 0===e||e.SteamClient.Window.HideWindow()}),30)}),[g,t,t.visible]),T(g.window),r.useLayoutEffect((()=>{t.SetPopup(g)}),[t,g]),f?s.createPortal(r.createElement(p.Wn,Object.assign({ref:o},t.position,{parentWin:a,popup:g}),i),f):null}const E=r.createContext(null);function D(e){const{ActiveMenuComponent:t,refContextMenuManager:n,browserInfo:i,bRegisterMenuManager:s=!0,children:o}=e,a=(0,d.Wy)(),l=(null==a?void 0:a.ownerWindow)||window,m=r.useRef();m.current||(m.current=new u.u),r.useLayoutEffect((()=>{if(s)return c.Oo.SetMenuManager(l,m.current),()=>c.Oo.SetMenuManager(l,void 0)}),[l,s]),r.useLayoutEffect((()=>((0,C.k$)(n,m.current),()=>(0,C.k$)(n,void 0))),[n]);const h=t||S;return r.createElement(E.Provider,{value:m.current},r.createElement(h,{manager:m.current,ownerWindow:l,browserInfo:i}),o)}const L=r.createContext({}),M=r.memo((function(e){var t,n,c;const{children:u,bRenderOverlayAtRoot:d,refModalManager:m,DialogWrapper:h,ContextMenuComponent:p,refContextMenuManager:g,browserInfo:_,bUsePopups:v,bOnlyPopups:C,bCenterPopupsOnWindow:S,bRegisterManagersWithWindow:b=!0}=e,w=(0,i._T)(e,["children","bRenderOverlayAtRoot","refModalManager","DialogWrapper","ContextMenuComponent","refContextMenuManager","browserInfo","bUsePopups","bOnlyPopups","bCenterPopupsOnWindow","bRegisterManagersWithWindow"]),y=r.useRef();y.current||(y.current=new l.pG);let E=r.createElement(a.t,Object.assign({},w,{DialogWrapper:h,ModalManager:y.current,bRegisterModalManager:b}));e.bRenderOverlayAtRoot&&"body"in document&&(E=s.createPortal(E,document.body)),(0,o.LY)(m,y.current),void 0!==v&&(null===(t=y.current)||void 0===t||t.SetUsePopups(v)),void 0!==S&&(null===(n=y.current)||void 0===n||n.SetCenterPopupsOnWindow(S)),void 0!==C&&(null===(c=y.current)||void 0===c||c.SetOnlyPopups(C)),y.current.SetBrowserInfo(_);const M=r.useMemo((()=>({ModalManager:y.current,DialogWrapper:h})),[h]);return r.createElement(L.Provider,{value:M},r.createElement(D,{ActiveMenuComponent:p,refContextMenuManager:g,browserInfo:_,bRegisterMenuManager:b},r.createElement(f.SV,null,E),e.children))}));function R(){return r.useContext(L).ModalManager}function I(){return r.useContext(L).DialogWrapper}function T(e){const t=R();r.useEffect((()=>{if(e)return l.Zp.RegisterModalManager(t,e)}),[e,t])}},45329:(e,t,n)=>{"use strict";n.d(t,{BL:()=>d,Zp:()=>u,pG:()=>l});n(47427);var i=n(47692),r=n(43099),s=n(62210),o=n(45492),a=(n(20417),n(61809));n(98843);class l{constructor(){this.m_bUsePopups=!0,this.m_bOnlyPopups=!1,this.m_bCenterPopupsOnWindow=!1,this.m_rgModals=[],this.m_OnModalCountChangedCallbacks=new o.pB,this.m_OnModalShownCallbacks=new o.pB,this.m_OnModalHiddenCallbacks=new o.pB,this.m_cMountedOverlays=0,this.m_rgMeasureModalRequests=[],this.m_OnMeasureModal=new o.pB,this.m_rgLegacyPopupModals=[],this.m_OnLegacyPopupModalCountChanged=new o.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,s.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,s.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,s.X)(!this.m_bOnlyPopups,"Attempting to show modal in popup-only modal manager; will not display.");const t=new a.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,s.X)(!this.m_bOnlyPopups,"Attempting to show modal in popup-only modal manager; will not display.");const e=new a.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}SetBrowserInfo(e){this.m_browserInfo=e}GetBrowserInfo(){return this.m_browserInfo}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,i){const s=()=>{let e=this.m_rgLegacyPopupModals.indexOf(o);-1!=e&&this.m_rgLegacyPopupModals.splice(e,1),this.m_OnLegacyPopupModalCountChanged.Dispatch(this.m_rgLegacyPopupModals.length),n.fnOnClose&&n.fnOnClose()},o=new r.lc(e,t,Object.assign(Object.assign({},n),{fnOnClose:s}),Object.assign({bCenterOnWindow:this.m_bCenterPopupsOnWindow},i));return this.m_rgLegacyPopupModals.push(o),this.m_OnLegacyPopupModalCountChanged.Dispatch(this.m_rgLegacyPopupModals.length),{Close:s,Update:e=>{o.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,s.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,i.Yt)("ModalManagerFactory",(()=>new c));function d(e){return u.GetModalManager(e)}},70716:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,e1:()=>d});var i=n(47427),r=n(47692),s=n(10162),o=n(62613),a=n(50423),l=n(51592);const c=(0,r.Yt)("ModalPresentationContext",(()=>i.createContext({}))),u=()=>i.useContext(c);function d(e){const t=u();return i.createElement(l.T,Object.assign({component:t.ModalPosition,fallback:m},e))}function m(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&&(a.ni(e,e.ownerDocument.activeElement)||e.focus())});let r=["ModalPosition"];e.className&&r.push(e.className),e.bDestructiveWarning&&r.push("Destructive");const l=e.renderContent||(e=>i.createElement("div",Object.assign({},e))),c=i.createElement(i.Fragment,null,!e.hideTopBar&&i.createElement("div",{className:"ModalPosition_TopBar"}),e.onEscKeypress&&!e.bHideCloseIcon&&i.createElement("div",{className:"ModalPosition_Dismiss"},i.createElement("div",{className:"closeButton",onClick:t=>{t.stopPropagation(),e.onEscKeypress()}},i.createElement(o.pVO,null))),i.createElement(s.SV,null,e.children));return i.createElement("div",Object.assign({className:r.join(" ")},n,{ref:t}),l({className:"ModalPosition_Content",children:c}))}},56480:(e,t,n)=>{"use strict";n.d(t,{d:()=>c});var i=n(47427),r=n(42287),s=n(50423),o=n(83999),a=n(93855),l=n(10162);function c({config:e,isDynamic:t}){const n=t?d:u;return i.createElement(i.Fragment,null,Object.keys(e||{}).map((t=>i.createElement(n,{key:t,featureName:t,render:e[t]}))))}function u(e){const{featureName:t,render:n}=e,r=i.useMemo((()=>Array.from(document.querySelectorAll(`[data-featuretarget=${t}]`))),[t]);return r.length?i.createElement(i.Fragment,null,r.map(((e,r)=>i.createElement(m,{key:r,featureName:t,elem:e,render:n})))):null}function d(e){const{featureName:t,render:n}=e,r=(0,a.NW)(),l=i.useRef([]),c=i.useRef(0);return i.useEffect((()=>{const e=`[data-featuretarget=${t}]`;l.current=[],c.current=0;const n=e=>l.current.push({key:c.current++,elem:e}),i=e=>o.Qf(l.current,(t=>t.elem==e));document.querySelectorAll(e).forEach(n),l.current.length&&r();const a=new MutationObserver((t=>{let o=!1;for(const r of t)s.Eu(r,(t=>{h(t,e).forEach((e=>{n(e),o=!0}))}),(t=>{h(t,e).forEach((e=>{i(e),o=!0}))}));o&&r()}));return a.observe(document,{childList:!0,subtree:!0}),()=>a.disconnect()}),[t,r]),i.createElement(i.Fragment,null,l.current.map((({key:e,elem:r})=>i.createElement(m,{key:e,elem:r,featureName:t,render:n}))))}function m(e){const{featureName:t,elem:n,render:s}=e,o=i.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,r.createPortal)(i.createElement(l.SV,null,s(o)),n)}function h(e,t){return e.matches(t)?[e]:e.querySelectorAll(t)}},90069:(e,t,n)=>{"use strict";n.d(t,{AM:()=>u,BR:()=>d,e1:()=>s.e1,x1:()=>c});var i=n(85556),r=n(47427),s=n(27438),o=n(62210),a=n(31846),l=n(37563);function c(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){const l=(0,s.BL)(t),c=(null==n?void 0:n.bForcePopOut)||h(l);(0,o.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),g=c&&(null==n?void 0:n.popupWidth)&&(null==n?void 0:n.popupHeight);let _;if(p&&!g){const t=r.cloneElement(e,{closeModal:()=>{}});_=yield function(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){return new Promise(((i,r)=>{e.RequestModalMeasure(t,i,n)}))}))}(l,t,null==n?void 0:n.promiseRenderComplete)}const f=_&&_.height/t.innerHeight<.9&&_.width/t.innerWidth<.8;if(u||!c&&f)return d(e,t,void 0,{fnOnClose:null==n?void 0:n.fnOnClose});{const i={strTitle:(null==n?void 0:n.strTitle)||(0,a.Xx)("#Dialog_DefaultWindowTitle"),fnOnClose:null==n?void 0:n.fnOnClose,popupWidth:(null==n?void 0:n.popupWidth)||(null==_?void 0:_.width),popupHeight:(null==n?void 0:n.popupHeight)||(null==_?void 0:_.height),bHideMainWindowForPopouts:null==n?void 0:n.bHideMainWindowForPopouts,className:null==n?void 0:n.className},r={bHideActions:null==n?void 0:n.bHideActionIcons},s=(null==n?void 0:n.browserContext)||t.browserInfo;return d(e,t,i.strTitle,i,s,r,l)}}))}function u(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){return c(e,t,Object.assign({bHideMainWindowForPopouts:!0},n))}))}function d(e,t,n,i,o,a,l){let c,u;const d=e.props.closeModal,h=()=>{u&&u.Close(),d&&d(),(null==i?void 0:i.fnOnClose)&&i.fnOnClose()},p=()=>{c&&c.Close(),h()},g=r.cloneElement(e,{closeModal:p});if(m(l=l||(0,s.BL)(t),t)&&i&&n){if(i.bHideMainWindowForPopouts){const e=r.createElement(s.e1,{className:"Hidden",onEscKeypress:g.props.bDisableBackgroundDismiss?void 0:p},r.createElement("div",null));u=l.ShowModal(e)}const e=Object.assign(Object.assign({},i),{fnOnClose:h,browserContext:o});c=l.ShowLegacyPopupModal(n,g,e,a)}else c=l.ShowModal(g);return c}function m(e,t){return e=e||(0,s.BL)(t||window),l.De.USE_POPUPS&&e.BUsePopups()}function h(e){return e.BOnlyPopups&&e.BOnlyPopups()}},90071:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EPurchaseNoticeType:()=>u,PurchaseNotice:()=>d,default:()=>g});var i=n(47427),r=n(97423),s=n(13129),o=n(31846),a=n(79124),l=n.n(a),c=n(58538);new r.tL;var u;function d(e){const{appid:t,type:n}=e;switch(n){case u.EPurchaseNoticeType_ControllerRequired:return i.createElement(m,{appid:t,controllerType:32});case u.EPurchaseNoticeType_VRRequired:return i.createElement(h,null);case u.EPurchaseNoticeType_VRSupported:default:return i.createElement(p,null)}}function m(e){return i.createElement("div",{className:(0,s.Z)(l().PurchaseNoticeContainer)},i.createElement("div",{className:(0,s.Z)(l().PurchaseNoticeImageContainer)},i.createElement(c.Qrh,{type:"xbox",className:(0,s.Z)(l().PurchaseNoticeImage,l().Tilt)})),i.createElement("div",{className:(0,s.Z)(l().PurchaseNoticeLabel)},(0,o.Xx)("#PurchaseNotice_ControllerRequired")))}function h(e){return i.createElement("div",{className:(0,s.Z)(l().PurchaseNoticeContainer)},i.createElement("div",{className:(0,s.Z)(l().PurchaseNoticeImageContainer)},i.createElement(c.V7L,{className:(0,s.Z)(l().PurchaseNoticeImage,l().VROnly)})),i.createElement("div",{className:(0,s.Z)(l().PurchaseNoticeLabel)},(0,o.Xx)("#PurchaseNotice_VRRequired")))}function p(e){return i.createElement("div",{className:(0,s.Z)(l().PurchaseNoticeContainer)},i.createElement("div",{className:(0,s.Z)(l().PurchaseNoticeImageContainer,l().VRSupported)},i.createElement(c.YbX,{className:(0,s.Z)(l().PurchaseNoticeImage,l().VRSupported)})),i.createElement("div",{className:(0,s.Z)(l().PurchaseNoticeLabel)},(0,o.Xx)("#PurchaseNotice_VRSupported")))}!function(e){e[e.EPurchaseNoticeType_ControllerRequired=0]="EPurchaseNoticeType_ControllerRequired",e[e.EPurchaseNoticeType_VRRequired=1]="EPurchaseNoticeType_VRRequired",e[e.EPurchaseNoticeType_VRSupported=2]="EPurchaseNoticeType_VRSupported"}(u||(u={}));const g=d},62613:(e,t,n)=>{"use strict";n.d(t,{$06:()=>de,$gZ:()=>v,BKy:()=>z,BNo:()=>Ge,Bh5:()=>Te,Cdc:()=>ct,Cts:()=>Ze,Ehc:()=>U,F8F:()=>_,Fsn:()=>ne,GhU:()=>A,I8b:()=>Le,IF0:()=>ye,IWH:()=>le,JrY:()=>x,KJh:()=>Fe,KKY:()=>ot,Lao:()=>Y,LjF:()=>Ke,Lk$:()=>ve,LpF:()=>mt,MrB:()=>he,NP6:()=>Z,P7E:()=>y,P9w:()=>se,Q1v:()=>He,R3k:()=>_t,SK8:()=>De,SUY:()=>b,SjW:()=>We,UNs:()=>gt,Ucz:()=>me,Uos:()=>H,V7n:()=>te,VR:()=>pe,Vgm:()=>Se,WWB:()=>Be,Wnw:()=>ht,X:()=>D,XBH:()=>ce,YVI:()=>st,YVR:()=>re,YqJ:()=>K,YtI:()=>S,ZJH:()=>Ae,ZNm:()=>ee,Zrf:()=>f,_GE:()=>be,a9H:()=>pt,c7E:()=>it,dCe:()=>ut,dLw:()=>Oe,doA:()=>qe,dzL:()=>B,faS:()=>N,ffh:()=>T,g0p:()=>ze,gR:()=>q,ge:()=>G,hIH:()=>X,hUE:()=>Ie,hoX:()=>Q,j5H:()=>Ue,j7C:()=>rt,k4K:()=>w,k6n:()=>O,kL2:()=>P,kqV:()=>Ve,ktE:()=>je,lBf:()=>g,lsH:()=>ae,mBz:()=>nt,mKE:()=>F,mKt:()=>Me,miF:()=>Je,n5m:()=>ie,ncs:()=>p,nkn:()=>V,opd:()=>$e,pUF:()=>R,pVO:()=>L,pkz:()=>I,r6F:()=>$,rFk:()=>J,ret:()=>C,shV:()=>k,soM:()=>dt,sqQ:()=>Xe,svY:()=>xe,t6e:()=>m,tEX:()=>ue,tLe:()=>fe,thP:()=>W,u$$:()=>we,uZu:()=>Re,ui7:()=>oe,vJ$:()=>ke,vT2:()=>ge,vVQ:()=>ft,vwM:()=>vt,vyu:()=>at,wn$:()=>Ee,wr9:()=>_e,wx$:()=>j,x0L:()=>Qe,xg:()=>Pe,yBp:()=>M,yRy:()=>E,yTB:()=>d,yTr:()=>Ye,yVt:()=>Ce,ydL:()=>h,yh4:()=>Ne,z5E:()=>lt});var i=n(85556),r=n(47427),s=n(13129),o=n(45691),a=n.n(o),l=n(37563),c=n(23163),u=n(41003);function d(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.createElement("path",{d:"M33.63 8.05005L30.11 20.81C29.9416 21.453 29.5645 22.0219 29.0378 22.4273C28.5111 22.8328 27.8647 23.0518 27.2 23.05H14.75C14.1022 23.0507 13.4715 22.8416 12.9524 22.4541C12.4333 22.0665 12.0536 21.5213 11.87 20.9L7.56 8.05005H2V4.05005H8.28C8.90845 4.05122 9.52067 4.24973 10.0302 4.61755C10.5398 4.98538 10.921 5.50394 11.12 6.10005L11.78 8.10005L33.63 8.05005ZM15 27.05C14.5055 27.05 14.0222 27.1967 13.6111 27.4714C13.2 27.7461 12.8795 28.1365 12.6903 28.5933C12.5011 29.0502 12.4516 29.5528 12.548 30.0378C12.6445 30.5227 12.8826 30.9682 13.2322 31.3178C13.5819 31.6674 14.0273 31.9056 14.5123 32.002C14.9972 32.0985 15.4999 32.049 15.9567 31.8597C16.4135 31.6705 16.804 31.3501 17.0787 30.939C17.3534 30.5278 17.5 30.0445 17.5 29.55C17.5 28.887 17.2366 28.2511 16.7678 27.7823C16.2989 27.3134 15.663 27.05 15 27.05ZM27 27.05C26.5055 27.05 26.0222 27.1967 25.6111 27.4714C25.2 27.7461 24.8795 28.1365 24.6903 28.5933C24.5011 29.0502 24.4516 29.5528 24.548 30.0378C24.6445 30.5227 24.8826 30.9682 25.2322 31.3178C25.5819 31.6674 26.0273 31.9056 26.5123 32.002C26.9972 32.0985 27.4999 32.049 27.9567 31.8597C28.4135 31.6705 28.804 31.3501 29.0787 30.939C29.3534 30.5278 29.5 30.0445 29.5 29.55C29.5 28.887 29.2366 28.2511 28.7678 27.7823C28.2989 27.3134 27.663 27.05 27 27.05Z",fill:"currentColor"}))}function m(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 h(e){return r.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.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"}),r.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"}),r.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"}),r.createElement("path",{d:"M32.7419 20.4742L25.9919 24.3713L25.9919 16.5771L32.7419 20.4742Z",fill:"currentColor"}))}function p(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M2 7H11V12H2V7ZM2 16H11V23L16 20.9545V31H2V16ZM20 31V20.9545L25 23V16H34V31H20ZM34 12H25V7H34V12ZM22 7H14V19L18 17.3636L22 19V7Z"}))}function g(e){const[t,n]=(0,c.y)();return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 23",fill:"none"},e),r.createElement("g",{clipPath:n},r.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"})),r.createElement("defs",null,r.createElement("clipPath",{id:t},r.createElement("rect",{fill:"currentColor",width:"15",height:"23"}))))}function _(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 f(e){const t=(0,s.Z)("SVGIcon_Button","SVGIcon_Settings",e.className);return r.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"},r.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 v(){return r.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"},r.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 C(e){return r.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"},r.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 S(e){let t="SVGIcon_Button SVGIcon_MagnifyingGlass";return e.className&&(t+=` ${e.className}`),r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100"},r.createElement("g",{transform:"translate(0,-952.36218)"},r.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 b(){return r.createElement("svg",{className:"SVGIcon_Button SVGIcon_Clock",version:"1.1",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 20 20"},r.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 w(e){return r.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),r.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"}))}function y(){const[e,t]=(0,c.y)();return r.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100px",height:"91.582px",viewBox:"0 0 100 91.582",enableBackground:"new 0 0 100 91.582"},r.createElement("g",null,r.createElement("path",{clipPath:t,d:"M88.853,29.724H62.271V11.351C62.262,5.18,57.26,0.179,51.089,0.169H11.255\n\t\t\t\tC5.085,0.179,0.085,5.18,0.074,11.351v24.908c-0.001,2.207,0.657,4.36,1.888,6.19c3.942,7.586,22.118,18.799,22.314,18.916\n\t\t\t\tc0.389,0.229,0.83,0.354,1.281,0.361c1.351,0.01,2.455-1.074,2.468-2.426c0.003-0.329-0.062-0.654-0.187-0.958\n\t\t\t\tc-1.319-3.565-2.341-7.233-3.053-10.968h13.135v18.389C37.93,71.9,42.882,76.882,49.02,76.928H75.29\n\t\t\t\tc-0.715,3.724-1.737,7.379-3.054,10.936c-0.517,1.248,0.076,2.678,1.323,3.196c0.303,0.125,0.63,0.188,0.959,0.186\n\t\t\t\tc0.451-0.006,0.894-0.13,1.279-0.361c0.197-0.115,18.373-11.329,22.314-18.914c1.235-1.834,1.894-3.997,1.888-6.207V40.906\n\t\t\t\tC99.99,34.746,95.01,29.751,88.853,29.724 M32.797,42.449H21.831c-0.721,0.01-1.4,0.327-1.873,0.869\n\t\t\t\tc-0.464,0.544-0.669,1.265-0.558,1.973c0,0.228,0.59,3.79,1.641,8.028c-5.517-3.842-12.773-9.425-14.776-13.136\n\t\t\t\tc-0.067-0.162-0.149-0.314-0.247-0.46c-0.738-1.033-1.13-2.276-1.116-3.546V11.351c0.008-3.463,2.825-6.264,6.288-6.255h0.065\n\t\t\t\th39.833c3.45,0.007,6.246,2.804,6.255,6.255v18.373H49.02c-3.223,0.005-6.286,1.399-8.406,3.825\n\t\t\t\tc-1.744-0.054-3.464-0.427-5.074-1.101c2.588-3.257,4.169-7.2,4.548-11.345h1.33c1.359,0,2.463-1.103,2.463-2.463\n\t\t\t\tc0-1.361-1.104-2.461-2.463-2.461h-7.784v-4.384c0-1.36-1.102-2.464-2.461-2.464c-1.361,0-2.463,1.104-2.463,2.464v4.384h-7.668\n\t\t\t\tc-1.361,0-2.462,1.1-2.462,2.461c0,1.36,1.102,2.463,2.462,2.463H35.13c-0.348,3.137-1.604,6.104-3.613,8.538\n\t\t\t\tc-1.439-1.598-2.553-3.46-3.284-5.482c-0.489-1.271-1.916-1.903-3.185-1.414c-1.27,0.489-1.902,1.917-1.412,3.185\n\t\t\t\tc0.892,2.395,2.192,4.619,3.841,6.57c-2.017,0.812-4.178,1.208-6.354,1.165c-1.359,0-2.463,1.102-2.463,2.461\n\t\t\t\tc0,1.362,1.104,2.465,2.463,2.465c3.647,0.07,7.244-0.868,10.393-2.71c2.032,1.239,4.293,2.049,6.649,2.38\n\t\t\t\tc-0.218,0.859-0.327,1.741-0.327,2.627v1.641L32.797,42.449z M95.19,65.763c0.013,1.271-0.379,2.514-1.117,3.547\n\t\t\t\tc-0.097,0.138-0.181,0.287-0.246,0.443c-1.938,3.678-9.211,9.277-14.776,13.135c1.099-4.236,1.64-7.799,1.64-8.03\n\t\t\t\tc0.111-0.704-0.091-1.425-0.558-1.969c-0.462-0.548-1.138-0.871-1.854-0.887H49.02c-3.447,0-6.246-2.791-6.255-6.239V40.906\n\t\t\t\tc0.009-3.452,2.805-6.249,6.255-6.257h39.833c3.449,0.008,6.246,2.805,6.256,6.257L95.19,65.763z M77.834,56.635L77.834,56.635\n\t\t\t\tl-6.564-16.42c-0.037-0.092-0.081-0.18-0.133-0.262l-0.099-0.165c-0.047-0.078-0.102-0.15-0.164-0.214l-0.132-0.164l-0.182-0.147\n\t\t\t\tl-0.195-0.099c-0.056-0.043-0.116-0.076-0.182-0.098l-0.246-0.132c-0.06-0.009-0.121-0.009-0.18,0l-0.248-0.082h-0.245h-0.231\n\t\t\t\th-0.261h-0.214l-0.279,0.082c-0.055-0.007-0.109-0.007-0.164,0l-0.246,0.132l-0.247,0.098c-0.064,0.044-0.124,0.095-0.18,0.147\n\t\t\t\tl-0.182,0.148l-0.149,0.166c-0.056,0.066-0.113,0.138-0.161,0.211v0.166l-0.149,0.263l-6.567,16.418l-3.282,8.21\n\t\t\t\tc-0.546,1.246,0.026,2.697,1.272,3.24c0.036,0.016,0.072,0.029,0.105,0.042c0.29,0.127,0.604,0.189,0.919,0.182\n\t\t\t\tc1.005-0.006,1.905-0.616,2.283-1.544l2.657-6.665h9.854l2.66,6.665c0.383,0.931,1.291,1.54,2.298,1.544\n\t\t\t\tc0.31,0.003,0.619-0.059,0.904-0.182c1.269-0.485,1.906-1.907,1.422-3.18c-0.014-0.034-0.028-0.069-0.044-0.103L77.834,56.635z\n\t\t\t\tM66.062,55.123l2.939-7.323l2.923,7.323H66.062z"})))}function E(){return r.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"},r.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 D(e){return r.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),r.createElement("g",null,r.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 L(e){const t=e.color||"#FFFFFF";return r.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:(0,s.Z)("SVGIcon_Button","SVGIcon_X_Line",e.className),x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},r.createElement("line",{fill:"none",stroke:t,strokeWidth:"45",strokeMiterlimit:"10",x1:"212",y1:"212",x2:"44",y2:"44"}),r.createElement("line",{fill:"none",stroke:t,strokeWidth:"45",strokeMiterlimit:"10",x1:"44",y1:"212",x2:"212",y2:"44"}))}function M(e){return(0,l.id)()?r.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.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"}),r.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"})):r.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"},r.createElement("g",{className:"friendHead",transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},r.createElement("circle",{cx:"86.296",cy:"47.419",r:"33.526",fill:"currentcolor"})),r.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",fill:"currentColor"}),r.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",fill:"currentColor"}))}function R(){return r.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"},r.createElement("g",{className:"friendHead",transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},r.createElement("circle",{cx:"85.923",cy:"47.419",r:"33.526"})),r.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"}),r.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"}),r.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"}),r.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 I(){return r.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"},r.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 r.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:(0,s.Z)("SVGIcon_Button","SVGIcon_Volume",n),x:"0px",y:"0px",width:"256px",height:"255.999px",viewBox:"0 0 256 255.999"},r.createElement("g",{className:"Speaker"},r.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&&r.createElement("g",{className:"SoundWaves"},r.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"}),r.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"}),r.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"}),r.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"})),r.createElement("g",{className:"SoundX"},r.createElement("line",{fill:"none",strokeWidth:t?10:0,stroke:"#fff",strokeMiterlimit:"10",x1:"137",y1:"170.667",x2:"223.167",y2:"84.5"}),r.createElement("line",{fill:"none",strokeWidth:t?10:0,stroke:"#fff",strokeMiterlimit:"10",x1:"137",y1:"84.5",x2:"223.167",y2:"170.667"})))}function A(){return r.createElement("svg",{width:"50px",height:"25px",viewBox:"0 0 50 25"},r.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 k(){return r.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"},r.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 r.createElement("svg",{width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M15.3252 10.8948L9.73258 7.16634C9.24837 6.85161 8.6189 7.19055 8.6189 7.77161V15.2284C8.6189 15.8095 9.27258 16.1484 9.73258 15.8337L15.3252 12.1053C15.761 11.8148 15.761 11.1853 15.3252 10.8948Z",fill:"#C3D3D8"}),r.createElement("path",{d:"M11.5 0C5.15684 0 0 5.15684 0 11.5C0 17.8432 5.15684 23 11.5 23C17.8432 23 23 17.8432 23 11.5C23 5.15684 17.8432 0 11.5 0ZM11.5 21.2084C6.14947 21.2084 1.79158 16.8505 1.79158 11.5C1.79158 6.14947 6.14947 1.79158 11.5 1.79158C16.8505 1.79158 21.2084 6.14947 21.2084 11.5C21.2084 16.8505 16.8505 21.2084 11.5 21.2084Z",fill:"#C3D3D8"}))}function B(){return r.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"},r.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"}),r.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 x(e){var t;return r.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),r.createElement("polyline",{fill:"none",points:"49.5,147.75 95,210.75 206.5,45.25 "}))}function N(){return r.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"},r.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"}),r.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"}),r.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 P(){return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M1.91995 1.20001C1.5223 1.20001 1.19995 1.52236 1.19995 1.92001V22.08C1.19995 22.4776 1.52232 22.8 1.91995 22.8H22.08C22.4776 22.8 22.7999 22.4776 22.7999 22.08C22.7999 21.6824 22.4776 21.36 22.08 21.36H2.63995V1.92001C2.63995 1.52236 2.31758 1.20001 1.91995 1.20001ZM16.32 6.72001C15.8854 6.71929 15.5464 7.12373 15.5625 7.47751C15.5821 7.85454 15.9429 8.17971 16.32 8.16001H18.3525L11.97 14.16L9.67495 12.2475C9.52982 12.0749 9.29995 11.9772 9.07495 11.9925C8.91446 12.004 8.75853 12.0713 8.63995 12.18L3.83995 16.5C3.54514 16.7473 3.50834 17.2483 3.76495 17.535C4.02158 17.8217 4.52167 17.8383 4.79995 17.5725L9.14246 13.665L11.4525 15.5925C11.7066 15.887 12.2125 15.9125 12.495 15.645L19.4399 9.12001V11.28C19.4347 11.6604 19.7795 12.0075 20.16 12.0075C20.5404 12.0075 20.8853 11.6604 20.8799 11.28V7.44001C20.8799 7.06303 20.5369 6.72005 20.16 6.72001H16.32Z",fill:"#C3D3D8"}))}function F(e){let t=e.highlightColor||"#00ccff",n=e.color||"#2d73ff";const[i,s]=(0,c.y)(),[o,a]=(0,c.y)(),[l]=(0,r.useState)(Math.random().toString());return r.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"},r.createElement("defs",null,r.createElement("linearGradient",{id:i,x1:"0%",y1:"0%",x2:"100%",y2:"100%"},r.createElement("stop",{offset:"0%",stopColor:t}),r.createElement("stop",{offset:"100%",stopColor:n})),r.createElement("filter",{id:o,x:"0",y:"0",width:"200%",height:"200%"},r.createElement("feOffset",{result:"offOut",in:"SourceAlpha",dx:"20",dy:"20"}),r.createElement("feGaussianBlur",{result:"blurOut",in:"offOut",stdDeviation:"10"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"blurOut",mode:"normal"}))),r.createElement("path",{fill:"none",stroke:s,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"}),r.createElement("path",{fill:"none",opacity:".2",filter:a,stroke:s,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 G(e){const{className:t,color:n="#020202"}=e;return r.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:(0,s.Z)("SVGIcon_Button","SVGIcon_Caution",t),x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},r.createElement("g",{className:"triangle"},r.createElement("path",{stroke:n,strokeWidth:"16",strokeLinecap:"round",strokeMiterlimit:"10",d:"M127.9,76.632"}),r.createElement("path",{fill:"none",stroke:n,strokeWidth:"11",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"5",d:"M128.001,226.606c42.507,0,81.538,0,87.756,0c31.222,0,36.95-14.974,24.045-34.771c-6.921-10.617-78.297-122.962-89.163-140.254\tC141.859,37.613,138.542,29.393,128,29.393l0,0c-10.543,0-13.86,8.222-22.639,22.189C94.495,68.874,23.119,181.219,16.198,191.836 c-12.905,19.797-7.175,34.771,24.045,34.771C46.463,226.606,85.494,226.606,128.001,226.606"}),r.createElement("path",{fill:n,d:"M127.9,208.12"})),r.createElement("g",{className:"exclamation"},r.createElement("line",{fill:"none",stroke:n,strokeWidth:"16",strokeLinecap:"round",strokeMiterlimit:"10",x1:"127.9",y1:"76.632",x2:"127.9",y2:"160.07"}),r.createElement("path",{fill:n,d:"M127.9,208.12c-6.377,0-11.548-5.17-11.548-11.548c0-6.377,5.17-11.547,11.548-11.547 c6.377,0,11.547,5.17,11.547,11.547C139.447,202.95,134.277,208.12,127.9,208.12"})))}function V(){return r.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"},r.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"}),r.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 H(e){return(0,l.id)()?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Bell",viewBox:"0 0 36 36",fill:"none"},e),r.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"})):r.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"},r.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 U(e){return r.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"},r.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 "}),r.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 j(e){const{direction:t}=e,n=(0,i._T)(e,["direction"]);switch(t){case"up":return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"36px",height:"36px",viewBox:"0 0 36 36",fill:"none"},n),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"36px",height:"36px",viewBox:"0 0 36 36",fill:"none"},n),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"36px",height:"36px",viewBox:"0 0 36 36",fill:"none"},n),r.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 r.createElement("svg",Object.assign({viewBox:"0 0 36 36",width:"36px",height:"36px",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r.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 W(){return r.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"},r.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 Z(e){return r.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"},r.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&&r.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 z(e){const{angle:t}=e,n=(0,i._T)(e,["angle"]);return r.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),r.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 K(){return r.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"},r.createElement("rect",{x:"24",y:"42.167",fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"18",strokeMiterlimit:"10",width:"208",height:"171.667"}),r.createElement("line",{fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"42",strokeMiterlimit:"10",x1:"24",y1:"54.01",x2:"232",y2:"54.01"}))}function q(){return r.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"},r.createElement("line",{fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"18",strokeMiterlimit:"10",x1:"24",y1:"209.01",x2:"232",y2:"209.01"}))}function $(){return r.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"},r.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 "}),r.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 r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Skip",version:"1.1",viewBox:"0 0 1200 1200"},r.createElement("g",null,r.createElement("path",{d:"m895.2 600-283.2 283.2c-44.398 44.398-44.398 116.4 0 160.8 44.398 44.398 116.4 44.398 160.8 0l363.6-363.6c21.602-21.602 33.602-50.398 33.602-80.398s-12-58.801-33.602-80.398l-363.6-363.6c-22.801-22.801-51.602-33.602-80.398-33.602-28.801 0-57.602 12-80.402 33.602-44.398 44.398-44.398 116.4 0 160.8z"}),r.createElement("path",{d:"m346.8 600-283.2 283.2c-44.398 44.398-44.398 116.4 0 160.8 44.398 44.398 116.4 44.398 160.8 0l363.6-363.6c21.602-21.602 33.602-50.398 33.602-80.398s-12-58.801-33.602-80.398l-363.6-363.6c-22.801-22.801-51.602-33.602-80.398-33.602-28.801 0-58.801 12-80.398 33.602-44.398 44.398-44.398 116.4 0 160.8z"})))}function Y(){return r.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"},r.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"}),r.createElement("polygon",{points:"147.639,108.361 245.755,10.166 245.834,108.361 "}))}function Q(){return r.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"},r.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"}),r.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 J(){return r.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"},r.createElement("g",{className:"base"},r.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"})),r.createElement("g",{className:"lines"},r.createElement("path",{className:"line1",fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M128,68.12v137.197"}),r.createElement("path",{className:"line2",fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M83.613,68.12 l4.035,137.197"}),r.createElement("path",{className:"line3",fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M172.387,68.12 l-4.035,137.197"})),r.createElement("g",{className:"lid"},r.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M27.121,38.577H228.88"}),r.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 ee(){return r.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"},r.createElement("g",{className:"base"},r.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"})),r.createElement("g",{className:"lines"},r.createElement("path",{className:"line1",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M128,68.12v137.197"}),r.createElement("path",{className:"line2",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M83.613,68.12 l4.035,137.197"}),r.createElement("path",{className:"line3",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M172.387,68.12 l-4.035,137.197"})),r.createElement("g",{className:"lid"},r.createElement("path",{fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M27.121,38.577H228.88"}),r.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 te(e){return r.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"},r.createElement("polygon",{points:"13.913,141 128,59 242.087,141 ",fill:"#ffffff"}))}function ne(e){let{bPending:t,bShowArm:n,className:o}=e,a=(0,i._T)(e,["bPending","bShowArm","className"]);return(0,l.id)({bSuppressAssert:!0})?r.createElement("svg",Object.assign({className:(0,s.Z)("SVGIcon_Button","SVGIcon_FriendIcon",o),viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r.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"}),r.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"}),r.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"})):r.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:(0,s.Z)("SVGIcon_Button","SVGIcon_FriendIcon",t?" SVGIcon_FriendIcon_Pending":"",o),x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},r.createElement("g",{className:"Outline"},r.createElement("g",{transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},r.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"})),r.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"}),r.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"})),r.createElement("g",{className:"foreground"},r.createElement("g",{transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},r.createElement("circle",{fill:"currentColor",cx:"102.239",cy:"49.488",r:"33.446"})),r.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"}),r.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 ie(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_User",viewBox:"0 0 36 36",fill:"none"},e),r.createElement("path",{d:"M30 32H6V31C6 27.8174 7.26428 24.7652 9.51472 22.5147C11.7652 20.2643 14.8174 19 18 19C21.1826 19 24.2348 20.2643 26.4853 22.5147C28.7357 24.7652 30 27.8174 30 31V32ZM18 3C16.8133 3 15.6533 3.35189 14.6666 4.01118C13.6799 4.67047 12.9108 5.60754 12.4567 6.7039C12.0026 7.80026 11.8838 9.00666 12.1153 10.1705C12.3468 11.3344 12.9182 12.4035 13.7574 13.2426C14.5965 14.0818 15.6656 14.6532 16.8295 14.8847C17.9933 15.1162 19.1997 14.9974 20.2961 14.5433C21.3925 14.0892 22.3295 13.3201 22.9888 12.3334C23.6481 11.3467 24 10.1867 24 9C24 7.4087 23.3679 5.88258 22.2426 4.75736C21.1174 3.63214 19.5913 3 18 3Z",fill:"currentColor"}))}function re(){return r.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"},r.createElement("circle",{fill:"none",stroke:"#ffffff",strokeWidth:"24",strokeMiterlimit:"10",cx:"128",cy:"128",r:"101.5"}),r.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"24",strokeMiterlimit:"10",x1:"73",y1:"128",x2:"183",y2:"128"}))}function se(e){return r.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"},r.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"}),r.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"}),r.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"}),r.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 oe(e){const t=(0,s.Z)("SVGIcon_Button","SVGIcon_SteamLogo",e&&e.className);return r.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"},r.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"}),r.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"}),r.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 ae(){return r.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"},r.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"}),r.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 le(){return r.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"},r.createElement("g",null,r.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 ce(){return r.createElement("svg",{version:"1.1",id:"Layer_5",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 64 64"},r.createElement("g",null,r.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 ue(){return r.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"},r.createElement("g",{className:"leftarrow",opacity:"0"},r.createElement("polygon",{points:"127.817,4.403 4,128 127.817,251.598"})),r.createElement("g",{className:"rightarrow",opacity:"0"},r.createElement("polygon",{points:"127.816,4.403 251.633,128 127.816,251.598"})),r.createElement("g",{className:"grabber"},r.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 de(){return r.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"},r.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"}),r.createElement("rect",{className:"line",x:"116.271",y:"3.168",width:"23.459",height:"137.332"}))}function me(){return r.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"},r.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 he(e){const{className:t}=e;return r.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:(0,s.Z)("SVGIcon_Button","SVGIcon_MobilePhone",t),x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},r.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 pe(e){return r.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),r.createElement("path",{d:"M11.45 26.5H7.625L1 9H5.025L9.625 22.325L14.1 9H18.125L11.45 26.5Z",fill:"white"}),r.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 ge(){return r.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_LargeMobilePhone",x:"0px",y:"0px",width:"128px",height:"255px",viewBox:"0 0 128 255"},r.createElement("rect",{className:"screen",x:"7.756",y:"5.518",fill:"#292D33",width:"112.144",height:"234.357"}),r.createElement("path",{className:"frame",fill:"#3C414B",d:"M40.334,15.72h47.237c3.957,0,7.164-3.259,7.164-7.28c0-1.113,0.889-2.017,1.984-2.017h9.746 c7.417,0,13.432,6.108,13.432,13.646v206.156c0,7.538-6.015,13.647-13.431,13.647H21.459c-7.417,0-13.429-6.109-13.429-13.647 V20.071c0-7.536,6.013-13.646,13.429-13.646h9.728c1.096,0,1.983,0.903,1.983,2.017C33.17,12.461,36.377,15.72,40.334,15.72 M107.057,0.001H20.87c-9.922,0-17.965,8.174-17.965,18.256v217.505c0,10.082,8.043,18.256,17.965,18.256h86.188 c9.923,0,17.966-8.174,17.966-18.256V18.257C125.022,8.175,116.979,0.001,107.057,0.001"}),r.createElement("path",{fill:"#3C414B",d:"M0.826,33.349C0.369,33.349,0,33.725,0,34.189v7.616c0,0.464,0.37,0.84,0.826,0.84s0.827-0.376,0.827-0.84 v-7.617C1.653,33.725,1.283,33.349,0.826,33.349"}),r.createElement("path",{fill:"#3C414B",d:"M0.826,51.56C0.369,51.56,0,51.936,0,52.4v16.8c0,0.465,0.37,0.841,0.826,0.841s0.827-0.376,0.827-0.841 V52.4C1.653,51.936,1.283,51.56,0.826,51.56"}),r.createElement("path",{fill:"#3C414B",d:"M0.826,75.304C0.369,75.304,0,75.68,0,76.144v15.904c0,0.464,0.37,0.84,0.826,0.84s0.827-0.376,0.827-0.84 V76.144C1.653,75.68,1.283,75.304,0.826,75.304"}),r.createElement("path",{fill:"#3C414B",d:"M127.617,58.056c-0.457,0-0.827,0.376-0.827,0.84v27.328c0,0.464,0.37,0.84,0.827,0.84 c0.456,0,0.826-0.376,0.826-0.84V58.896C128.443,58.432,128.073,58.056,127.617,58.056"}))}function _e(){return r.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Envelope",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},r.createElement("polygon",{fill:"#3C414B",points:"3.167,48.809 127.22,128 252.833,48.809 "}),r.createElement("polygon",{fill:"#3C414B",points:"252.833,203.68 252.833,55.439 185.151,99.131 "}),r.createElement("polygon",{fill:"#3C414B",points:"247.958,207.191 180.47,101.472 128.001,134.24 75.142,101.472 7.849,207.191 "}),r.createElement("polygon",{fill:"#3C414B",points:"3.167,203.682 3.167,55.441 70.851,99.132 "}))}function fe(){return r.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"},r.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 ve(){return r.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"},r.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 Ce(){return r.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"},r.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 Se(){return r.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"},r.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"}),r.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"}),r.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 be(){return r.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"},r.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"}),r.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"}),r.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"}),r.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"}),r.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"}),r.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 we(e){return r.createElement("svg",Object.assign({width:"25",height:"15",viewBox:"0 0 25 15",fill:"black",xmlns:"http://www.w3.org/2000/svg"},e),r.createElement("path",{d:"M20.4983 14.9998H5.50068C4.77794 15.0049 4.05853 14.901 3.36635 14.6914C2.73245 14.5017 2.13941 14.1939 1.6178 13.7838C1.09666 13.3667 0.67927 12.8325 0.398748 12.2237C0.118225 11.615 -0.0177451 10.9486 0.00185477 10.2775C-0.0054678 9.70509 0.0977818 9.13666 0.305747 8.60408C0.498657 8.12872 0.785143 7.69778 1.14794 7.33745C1.81398 6.67001 2.78944 6.15547 4.04731 5.80829C4.10841 4.25269 4.75842 2.77984 5.86348 1.69365C6.96903 0.60364 8.45437 -0.00449463 9.99987 2.50132e-05C11.0001 0.00807229 11.9825 0.267715 12.8582 0.7555C13.7339 1.24329 14.4753 1.9437 15.0152 2.79335C15.4947 2.6343 15.994 2.54414 16.4984 2.52541C17.9193 2.52443 19.2832 3.08972 20.2932 4.09833C21.3094 5.10022 21.9038 6.45906 21.9527 7.89189C22.9609 8.23234 23.6526 8.60787 24.1302 9.07289C24.7185 9.65279 25.0339 10.4583 24.9971 11.2875C25.0059 11.8527 24.8841 12.4122 24.6414 12.9216C24.4147 13.3796 24.0837 13.7769 23.6754 14.0808C22.8776 14.6823 21.7794 14.9998 20.4983 14.9998ZM10.6373 8.62986L9.91893 9.35485L12.1391 11.6L12.4984 11.9464L12.8573 11.6L15.0793 9.35506L14.361 8.63007L12.9987 10.005V5.55515H11.9997V10.005L10.6373 8.62986Z",fill:"currentColor"}))}function ye(){return r.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_PlayTime",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},r.createElement("polyline",{fill:"none",stroke:"#000000",strokeWidth:"16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",points:"85.5,149.167 128,128 128,55.167 "}),r.createElement("path",{fill:"none",stroke:"#000000",strokeWidth:"16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",d:"M128,17.5c61.027,0,110.5,49.473,110.5,110.5S189.027,238.5,128,238.5S17.5,189.027,17.5,128"}),r.createElement("circle",{stroke:"#000000",strokeWidth:"7",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",cx:"26.448",cy:"85.833",r:"5.5"}),r.createElement("circle",{stroke:"#000000",strokeWidth:"7",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",cx:"50.167",cy:"50.5",r:"5.5"}),r.createElement("circle",{stroke:"#000000",strokeWidth:"7",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",cx:"86",cy:"26.667",r:"5.5"}))}function Ee(){return r.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"},r.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 De(){return r.createElement("svg",{version:"1.1",id:"Layer_4",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Home",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},r.createElement("polygon",{points:"42.054,228.271 113.669,228.271 113.669,170.973 142.324,170.973 142.324,228.271 213.946,228.271 213.946,142.324 242.595,142.324 128,27.729 13.405,142.324 42.054,142.324 "}))}function Le(){return r.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"},r.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"}),r.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"}),r.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"}),r.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 Me(){return r.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"},r.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"}),r.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"}),r.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 Re(){return r.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"},r.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"}),r.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 Ie(){return r.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_LinuxLogo",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},r.createElement("path",{d:"M234.16,207.854c-3.953-2.455-13.301-5.047-14.086-22.99c-3.539,3.146-3.13,19.863,6.746,23.182 c11.031,3.705,17.923,9.91-2.586,16.922c-13.577,4.645-15.887,6.074-26.637,15.021c-10.875,9.055-27.017,5.457-24.197-13.602 c1.469-9.934,2.313-18.141-0.158-26.773c-1.206-4.217-1.807-9.625-0.982-13.418c1.604-7.377,5.596-9.6,9.512-2.516 c2.457,4.441,3.315,9.641,12.111,10.064c13.819,0.66,16.555-13.354,20.973-13.99c2.944-0.428,5.889-8.764,3.646-22.25 c-2.403-14.438-10.897-37.234-21.791-48.795c-9.055-9.609-14.762-18.033-18.351-30.057c-3.017-10.103-4.7-19.936-4.079-29.335 c0.806-12.18-5.95-29.129-16.703-37.103c-6.73-4.993-17.287-7.667-26.841-7.562c-5.358,0.058-10.401,0.841-14.276,2.944 c-15.949,8.658-18.177,21.024-17.938,35.14c0.223,13.26,0.675,28.39,2.181,42.783c-1.782,6.609-11.068,19.138-17.013,26.762 c-7.993,7.896-12.03,23.157-17.203,36.491c-2.759,7.107-7.407,10.318-7.798,19.457c-0.108,2.555-0.021,9.168,2.423,7.277 c9.348-7.232,21.049,11,38.722,38.82c3.389,5.334,15.329,27.793-5.602,30.705c-7,0.979-18.271-4.07-29.192-6.742 c-9.812-2.398-19.775-3.822-25.352-5.391c-3.358-0.943-4.762-2.146-5.053-3.553c-0.773-3.729,4.075-8.955,4.321-13.369 c0.246-4.416-1.609-6.709-3.129-10.311c-1.522-3.609-1.919-6.313-0.701-7.859c0.948-1.205,2.873-1.707,6.005-1.4 c3.97,0.391,8.766-0.422,11.342-1.996c4.339-2.645,6.381-8.068,4.428-14.604c0,6.395-2.097,8.816-7.354,11.74 c-4.954,2.758-12.604,0.527-16.117,3.576c-4.229,3.672,1.509,13.146,1.04,20.104c-0.361,5.346-5.938,11.365-3.451,16.727 c2.502,5.395,14.17,5.979,26.336,8.523c17.293,3.619,27.375,9.912,35.365,10.211c11.656,0.432,13.441-11.531,31.743-11.693 c5.338-0.281,10.559-0.447,15.773-0.514c5.91-0.072,11.813-0.025,17.873,0.119c12.182,0.295,7.99,6.648,15.894,10.713 c6.667,3.426,18.654,2.072,21.522-0.664c3.88-3.701,14.298-12.604,22.28-16.625C227.758,227.004,251.121,218.375,234.16,207.854 z M170.973,212.664c-0.609,7.697-2.744,15.326-3.947,23.057c-4.075-0.154-3.679-3.139-2.37-7.322 c1.153-3.689,3.014-8.316,3.135-12.75c0.11-4.016-0.328-6.525-1.34-7.148c-1.013-0.623-2.599,0.643-4.787,4.168 c-4.677,7.529-14.802,10.84-24.258,12.023c-9.456,1.186-18.246,0.246-22.9-4.967c-1.592-1.783-4.232,0.486-4.546,0.959 c-0.42,0.635,1.541,1.865,3.019,4.578c2.159,3.959,4.212,9.969-0.902,12.711c0.061-13.943-4.352-14.76-8.862-23.277 c8.825-0.912,9.99-10.254,5.833-14.33c-3.424-3.359-22.319-17.387-27.251-22.902c-2.287-2.559-5.39-3.814-6.704-6.689 c-3.021-6.617-5.139-16.063-1.305-22.846c0.693-1.225,1.14-0.676,0.608,1.877c-3.01,14.473,6.413,26.293,8.486,20.23 c1.435-4.188,0.105-11.68,0.87-17.629c1.355-10.533,10.94-30.749,15.15-31.902c-6.494-12.026,7.613-21.441,7.441-31.997 c-0.113-6.864,6.029,8.439,12.202,11.685c6.894,3.623,14.472-6.829,25.228-12.131c3.043-1.501,6.945-3.225,6.685-4.504 c-1.265-6.171-14.129,7.613-25.618,8.078c-5.243,0.211-7.188-1.03-9.215-2.986c-6.123-5.918,0.624-0.979,9.729-2.626 c4.045-0.732,5.405-1.406,9.698-3.141c4.295-1.736,9.201-4.305,14.06-5.624c3.383-0.92,3.103-3.462,1.785-4.225 c-0.758-0.439-1.88-0.396-2.771,1.141c-2.085,3.604-11.887,5.688-14.945,6.623c-3.928,1.202-8.273,2.325-14.046,2.09 c-8.771-0.356-6.726-4.376-12.999-7.973c-1.839-1.054-1.343-3.824,1.103-6.269c1.28-1.282,4.79-2.005,6.53-4.919 c0.245-0.408,2.488-2.754,4.246-3.968c0.607-0.421,1.988-3.235,9.988-1.235l9.5,1c2.088,0.267,8.388,6.752,12.059,7.467 c12.047,2.345,3.195,9.25,4.761,17.61c1.766,9.442,7.984,6.948,13.573,31.949c1.17,1.522,5.797,2.964,10.309,22.17 c4.057,17.281-1.688,29.85,8.07,28.816c2.195-0.23,5.407-0.848,6.805-5.742c3.65-12.801-1.828-28.049-7.362-38.34 c-3.224-6-6.258-10.086-7.86-11.49c6.343,3.749,14.449,15.72,16.317,24.605c2.458,11.676,4.212,16.619,0.494,28.965 c2.146,1.074,7.483,3.34,7.483,5.889c-5.56-4.57-22.586-5.383-23.022,5.549c-2.904,0.059-5.098,0.295-6.969,2.514 C165.313,187.604,171.669,203.916,170.973,212.664z"}))}function Te(){return r.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"},r.createElement("rect",{fill:"currentColor",width:"60.834",height:"60.835"}),r.createElement("rect",{x:"67.165",fill:"currentColor",width:"60.835",height:"60.835"}),r.createElement("rect",{y:"67.164",fill:"currentColor",width:"60.834",height:"60.836"}),r.createElement("rect",{x:"67.165",y:"67.164",fill:"currentColor",width:"60.835",height:"60.836"}))}function Ae(){return r.createElement("svg",{version:"1.1",id:"Layer_3_copy",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 256 256"},r.createElement("g",{id:"Layer_3_copy"},r.createElement("g",{id:"g4768_1_",transform:"translate(-6.9308024,-10)"},r.createElement("g",{id:"g4763_1_"})),r.createElement("path",{d:"M206.3,36.6c-19.4,0-35.8,14.1-40.3,33H24.8c-6,0-10.8,4.8-10.8,10.8s4.8,10.8,10.8,10.8h141.3\n\t\t\t\tc4.7,18.6,20.9,32.4,40.2,32.4c22.9,0,41.5-19.5,41.5-43.5C247.9,56.2,229.2,36.6,206.3,36.6z M206.3,109.7\n\t\t\t\tc-15.2,0-27.5-13.2-27.5-29.5c0-16.3,12.4-29.5,27.5-29.5s27.5,13.2,27.5,29.5C233.9,96.4,221.5,109.7,206.3,109.7z"}),r.createElement("path",{d:"M230.4,157.3H107.9c-4.6-14.6-18.3-25.2-34.3-25.2s-29.7,10.6-34.3,25.2H24.8c-6,0-10.8,4.8-10.8,10.8\n\t\t\t\tS18.9,179,24.8,179h14.3c4.6,14.6,18.3,25.2,34.3,25.2s29.7-10.6,34.3-25.2h122.5c6,0,10.8-4.8,10.8-10.8S236.4,157.3,230.4,157.3z\n\t\t\t\tM73.5,189.8c-8,0-14.9-4.3-18.7-10.8l0,0c-0.7-1.2-1.3-2.4-1.7-3.7c0,0,0-0.1,0-0.1c-0.1-0.4-0.2-0.8-0.4-1.2c0-0.1,0-0.1,0-0.2\n\t\t\t\tc-0.2-0.8-0.4-1.7-0.5-2.6c0-0.1,0-0.2,0-0.3c0-0.3-0.1-0.7-0.1-1c0-0.1,0-0.2,0-0.4c0-0.4,0-0.9,0-1.3s0-0.9,0-1.3\n\t\t\t\tc0-0.1,0-0.2,0-0.4c0-0.3,0.1-0.7,0.1-1c0-0.1,0-0.2,0-0.3c0.1-0.9,0.3-1.8,0.5-2.6c0-0.1,0-0.1,0-0.2c0.1-0.4,0.2-0.8,0.4-1.2\n\t\t\t\tc0,0,0-0.1,0-0.1c0.5-1.3,1-2.6,1.7-3.7c3.7-6.4,10.7-10.8,18.7-10.8c8,0,14.9,4.3,18.7,10.8c0.7,1.2,1.3,2.4,1.7,3.7\n\t\t\t\tc0,0,0,0.1,0,0.1c0.1,0.4,0.3,0.8,0.4,1.2c0,0.1,0,0.1,0,0.2c0.2,0.8,0.4,1.7,0.5,2.6c0,0.1,0,0.2,0,0.3c0,0.3,0.1,0.7,0.1,1\n\t\t\t\tc0,0.1,0,0.2,0,0.4c0,0.4,0,0.9,0,1.3s0,0.9,0,1.3c0,0.1,0,0.2,0,0.4c0,0.3-0.1,0.7-0.1,1c0,0.1,0,0.2,0,0.3\n\t\t\t\tc-0.1,0.9-0.3,1.8-0.5,2.6c0,0.1,0,0.1,0,0.2c-0.1,0.4-0.2,0.8-0.4,1.2c0,0,0,0.1,0,0.1c-0.5,1.3-1,2.6-1.7,3.7l0,0\n\t\t\t\tC88.5,185.4,81.5,189.8,73.5,189.8z"})))}function ke(){return r.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 256 256"},r.createElement("circle",{cx:"126",cy:"134",r:"20.6"}),r.createElement("circle",{cx:"189.4",cy:"134",r:"20.6"}),r.createElement("circle",{cx:"62.6",cy:"134",r:"20.6"}))}function Oe(){return r.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"},r.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 Be(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",x:"0px",y:"0px"},r.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"}),r.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"}),r.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 xe(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4V20V24L7 20H24V4H2ZM34 12V32L29 28H12V24H28V12H34Z",fill:"currentColor"}))}function Ne(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.78 19.22L19.22 33.78L4 18.56V4H18.56L33.78 19.22Z",fill:"currentColor"}))}function Pe(e,t){return(0,l.id)()?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4V16V20L7 16H24V4H2ZM12 20V32H29L34 36V32V20H12Z",fill:"currentColor"})):r.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"},r.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\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 Fe(e){return r.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"},r.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\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\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\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\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\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\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\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 Ge(e){return r.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"},r.createElement("g",{display:"none"},r.createElement("rect",{x:"-660.877",y:"-37.172",display:"inline",width:"1370.931",height:"1263.231"})),r.createElement("g",null,r.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"}),r.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 Ve(e){const{className:t}=e;(0,i._T)(e,["className"]);return r.createElement("svg",{className:(0,s.Z)(t,"SVGIcon_Button"),width:"59px",height:"59px",viewBox:"0 0 59 59",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.9907 30.2382L57.9932 30.1318L23.3635 58.4652L23.159 58.2152L23.0596 58.295C9.86456 55.3567 0 43.5804 0 29.5C0 13.2076 13.2076 0 29.5 0C45.7683 0 58.9609 13.1684 59 29.4275L57.9907 30.2382ZM57.9886 28.6833C52.956 26.4605 41.9077 24.7254 31.9404 33.2687C22.1502 41.6604 21.6264 52.0873 22.7598 57.1984C10.2728 54.1704 1 42.9181 1 29.5C1 13.7599 13.7599 1 29.5 1C44.967 1 57.5563 13.3209 57.9886 28.6833ZM57.2445 29.4523L23.7148 56.8857C22.676 52.0493 23.1845 42.0909 32.5912 34.028C41.9759 25.984 52.3311 27.4183 57.2445 29.4523Z",fill:""}))}function He(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("svg",Object.assign({className:(0,s.Z)(t,"SVGIcon_Button"),width:"60px",height:"52px",viewBox:"0 0 60 52",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 5.5C0.5 2.46243 2.96243 0 6 0H54C57.0376 0 59.5 2.46243 59.5 5.5V35C59.5 38.0376 57.0376 40.5 54 40.5H52.5C51.6716 40.5 51 41.1716 51 42V50.0858C51 51.4221 49.3843 52.0914 48.4393 51.1464L37.7929 40.5H6C2.96243 40.5 0.5 38.0376 0.5 35V5.5ZM6 1C3.51472 1 1.5 3.01472 1.5 5.5V35C1.5 37.4853 3.51472 39.5 6 39.5H38H38.2071L38.3536 39.6464L49.1464 50.4393C49.4614 50.7543 50 50.5312 50 50.0858V42C50 40.6193 51.1193 39.5 52.5 39.5H54C56.4853 39.5 58.5 37.4853 58.5 35V5.5C58.5 3.01472 56.4853 1 54 1H6ZM30 32C36.6274 32 42 26.6274 42 20C42 13.3726 36.6274 8 30 8C23.3726 8 18 13.3726 18 20C18 26.6274 23.3726 32 30 32ZM30 33C37.1797 33 43 27.1797 43 20C43 12.8203 37.1797 7 30 7C22.8203 7 17 12.8203 17 20C17 27.1797 22.8203 33 30 33ZM26.5 18C27.3284 18 28 17.3284 28 16.5C28 15.6716 27.3284 15 26.5 15C25.6716 15 25 15.6716 25 16.5C25 17.3284 25.6716 18 26.5 18ZM35 16.5C35 17.3284 34.3284 18 33.5 18C32.6716 18 32 17.3284 32 16.5C32 15.6716 32.6716 15 33.5 15C34.3284 15 35 15.6716 35 16.5ZM24.5 22C24.5 24.4853 26.5147 26.5 29 26.5H31C33.4853 26.5 35.5 24.4853 35.5 22H34.5C34.5 23.933 32.933 25.5 31 25.5H29C27.067 25.5 25.5 23.933 25.5 22H24.5Z",fill:""}))}function Ue(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M18 3C15.0333 3 12.1332 3.87973 9.66645 5.52796C7.19972 7.17618 5.27713 9.51886 4.14181 12.2597C3.0065 15.0006 2.70945 18.0166 3.28823 20.9264C3.86701 23.8361 5.29562 26.5088 7.3934 28.6066C9.49119 30.7044 12.1639 32.133 15.0737 32.7118C17.9834 33.2906 20.9994 32.9935 23.7403 31.8582C26.4811 30.7229 28.8238 28.8003 30.472 26.3336C32.1203 23.8668 33 20.9667 33 18C33 16.0302 32.612 14.0796 31.8582 12.2597C31.1044 10.4399 29.9995 8.78628 28.6066 7.3934C27.2137 6.00052 25.5601 4.89563 23.7403 4.14181C21.9204 3.38799 19.9698 3 18 3ZM9.00001 15C9.00001 14.4067 9.17595 13.8266 9.5056 13.3333C9.83524 12.8399 10.3038 12.4554 10.852 12.2284C11.4001 12.0013 12.0033 11.9419 12.5853 12.0576C13.1672 12.1734 13.7018 12.4591 14.1213 12.8787C14.5409 13.2982 14.8266 13.8328 14.9424 14.4147C15.0581 14.9967 14.9987 15.5999 14.7716 16.1481C14.5446 16.6962 14.1601 17.1648 13.6667 17.4944C13.1734 17.8241 12.5934 18 12 18C11.2044 18 10.4413 17.6839 9.87869 17.1213C9.31608 16.5587 9.00001 15.7956 9.00001 15ZM24 18C23.4067 18 22.8266 17.8241 22.3333 17.4944C21.8399 17.1648 21.4554 16.6962 21.2284 16.1481C21.0013 15.5999 20.9419 14.9967 21.0576 14.4147C21.1734 13.8328 21.4591 13.2982 21.8787 12.8787C22.2982 12.4591 22.8328 12.1734 23.4147 12.0576C23.9967 11.9419 24.5999 12.0013 25.1481 12.2284C25.6962 12.4554 26.1648 12.8399 26.4944 13.3333C26.8241 13.8266 27 14.4067 27 15C27 15.7956 26.6839 16.5587 26.1213 17.1213C25.5587 17.6839 24.7957 18 24 18ZM26.3149 23.6788C26.7672 22.8295 27 21.9193 27 21H18H9C9 21.9193 9.23279 22.8295 9.68508 23.6788C10.1374 24.5281 10.8003 25.2997 11.636 25.9497C12.4718 26.5998 13.4639 27.1154 14.5558 27.4672C15.6478 27.8189 16.8181 28 18 28C19.1819 28 20.3522 27.8189 21.4442 27.4672C22.5361 27.1154 23.5282 26.5998 24.364 25.9497C25.1997 25.2997 25.8626 24.5281 26.3149 23.6788Z"}))}function je(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("svg",Object.assign({className:(0,s.Z)(t,"SVGIcon_Button"),width:"60px",height:"52px",viewBox:"0 0 60 52",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 0C2.96243 0 0.5 2.46243 0.5 5.5V35C0.5 38.0376 2.96243 40.5 6 40.5H37.7929L48.4393 51.1464C49.3843 52.0914 51 51.4221 51 50.0858V42C51 41.1716 51.6716 40.5 52.5 40.5H54C57.0376 40.5 59.5 38.0376 59.5 35V5.5C59.5 2.46243 57.0376 0 54 0H6ZM1.5 5.5C1.5 3.01472 3.51472 1 6 1H54C56.4853 1 58.5 3.01472 58.5 5.5V35C58.5 37.4853 56.4853 39.5 54 39.5H52.5C51.1193 39.5 50 40.6193 50 42V50.0858C50 50.5312 49.4614 50.7543 49.1464 50.4393L38.3536 39.6464L38.2071 39.5H38H6C3.51472 39.5 1.5 37.4853 1.5 35V5.5ZM16 8.88154L17.8736 13.9448C18.0761 14.4922 18.5078 14.9239 19.0552 15.1264L24.1185 17L19.0552 18.8736C18.5078 19.0761 18.0761 19.5078 17.8736 20.0552L16 25.1185L14.1264 20.0552C13.9239 19.5078 13.4922 19.0761 12.9448 18.8736L7.88154 17L12.9448 15.1264C13.4922 14.9239 13.9239 14.4922 14.1264 13.9448L16 8.88154ZM15.0621 8.53451C15.3843 7.66389 16.6157 7.66389 16.9379 8.5345L18.8114 13.5978C18.9127 13.8715 19.1285 14.0873 19.4022 14.1886L24.4655 16.0621C25.3361 16.3843 25.3361 17.6157 24.4655 17.9379L19.4022 19.8114C19.1285 19.9127 18.9127 20.1285 18.8114 20.4022L16.9379 25.4655C16.6157 26.3361 15.3843 26.3361 15.0621 25.4655L13.1886 20.4022C13.0873 20.1285 12.8715 19.9127 12.5978 19.8114L7.53451 17.9379C6.66389 17.6157 6.66389 16.3843 7.5345 16.0621L12.5978 14.1886C12.8715 14.0873 13.0873 13.8715 13.1886 13.5978L15.0621 8.53451ZM32.8736 23.9448L31 18.8815L29.1264 23.9448C28.9239 24.4922 28.4922 24.9239 27.9448 25.1264L22.8815 27L27.9448 28.8736C28.4922 29.0761 28.9239 29.5078 29.1264 30.0552L31 35.1185L32.8736 30.0552C33.0761 29.5078 33.5078 29.0761 34.0552 28.8736L39.1185 27L34.0552 25.1264C33.5078 24.9239 33.0761 24.4922 32.8736 23.9448ZM31.9379 18.5345C31.6157 17.6639 30.3843 17.6639 30.0621 18.5345L28.1886 23.5978C28.0873 23.8715 27.8715 24.0873 27.5978 24.1886L22.5345 26.0621C21.6639 26.3843 21.6639 27.6157 22.5345 27.9379L27.5978 29.8114C27.8715 29.9127 28.0873 30.1285 28.1886 30.4022L30.0621 35.4655C30.3843 36.3361 31.6157 36.3361 31.9379 35.4655L33.8114 30.4022C33.9127 30.1285 34.1285 29.9127 34.4022 29.8114L39.4655 27.9379C40.3361 27.6157 40.3361 26.3843 39.4655 26.0621L34.4022 24.1886C34.1285 24.0873 33.9127 23.8715 33.8114 23.5978L31.9379 18.5345ZM43 4.88154L44.8736 9.9448C45.0761 10.4922 45.5078 10.9239 46.0552 11.1264L51.1185 13L46.0552 14.8736C45.5078 15.0761 45.0761 15.5078 44.8736 16.0552L43 21.1185L41.1264 16.0552C40.9239 15.5078 40.4922 15.0761 39.9448 14.8736L34.8815 13L39.9448 11.1264C40.4922 10.9239 40.9239 10.4922 41.1264 9.9448L43 4.88154ZM42.0621 4.53451C42.3843 3.66389 43.6157 3.66389 43.9379 4.5345L45.8114 9.59776C45.9127 9.87148 46.1285 10.0873 46.4022 10.1886L51.4655 12.0621C52.3361 12.3843 52.3361 13.6157 51.4655 13.9379L46.4022 15.8114C46.1285 15.9127 45.9127 16.1285 45.8114 16.4022L43.9379 21.4655C43.6157 22.3361 42.3843 22.3361 42.0621 21.4655L40.1886 16.4022C40.0873 16.1285 39.8715 15.9127 39.5978 15.8114L34.5345 13.9379C33.6639 13.6157 33.6639 12.3843 34.5345 12.0621L39.5978 10.1886C39.8715 10.0873 40.0873 9.87148 40.1886 9.59776L42.0621 4.53451Z",fill:""}))}function We(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("svg",Object.assign({className:(0,s.Z)(t,"SVGIcon_Button"),width:"78px",height:"59px",viewBox:"0 0 78 59",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2H75C75.5523 2 76 2.44772 76 3V25.6362L68.5063 32.7893L55.6643 18.4365L54.9851 17.6774L54.2386 18.3705L47.6334 24.504L33.3138 11.2072L32.6449 10.5861L31.9655 11.1958L17.0936 24.5423L12.5854 20.7277L11.9914 20.2251L11.3582 20.6773L2 27.3618V3C2 2.44772 2.44772 2 3 2ZM2 44.3885V55.898C2 56.4502 2.44772 56.898 3 56.898H75C75.5523 56.898 76 56.4502 76 55.898V44.4179L70.3673 42.7281C69.6315 42.5074 68.8478 42.5032 68.1097 42.716L62.7717 44.2552C61.5774 44.5995 60.3057 44.5645 59.1323 44.1549L55.3406 42.8316C54.5367 42.5511 53.6643 42.5343 52.8502 42.7838L48.1375 44.2284C46.9576 44.5901 45.6948 44.5791 44.5213 44.197L40.1648 42.7783C39.397 42.5283 38.5714 42.5165 37.7968 42.7446L32.6112 44.271C31.4845 44.6027 30.2852 44.5963 29.162 44.2528L24.2385 42.7469C23.483 42.5158 22.6759 42.5137 21.9192 42.7407L16.9269 44.2384C15.7429 44.5936 14.4782 44.5744 13.3055 44.1835L9.22505 42.8234C8.40398 42.5497 7.5163 42.5497 6.69523 42.8234L2 44.3885ZM2 42.2803L6.06277 40.926C7.29438 40.5155 8.62591 40.5155 9.85751 40.926L13.9379 42.2862C14.7197 42.5468 15.5629 42.5595 16.3522 42.3227L21.3445 40.8251C22.4796 40.4845 23.6902 40.4878 24.8235 40.8344L29.747 42.3403C30.4957 42.5693 31.2953 42.5735 32.0464 42.3524L37.232 40.826C38.394 40.4839 39.6323 40.5016 40.7841 40.8766L45.1406 42.2953C45.9229 42.55 46.7647 42.5573 47.5514 42.3162L52.2641 40.8716C53.4852 40.4974 54.7938 40.5225 55.9996 40.9433L59.7913 42.2667C60.5736 42.5397 61.4214 42.563 62.2176 42.3335L67.5556 40.7943C68.6627 40.4751 69.8383 40.4814 70.942 40.8125L76 42.3299V28.4011L69.1402 34.9491L68.3931 35.6622L67.7044 34.8925L54.8531 20.5292L44.4567 30.183L43.0958 28.7174L46.1637 25.8686L32.6219 13.294L18.6349 25.8464L22.9324 29.4828L21.6405 31.0095L16.467 26.632L11.8875 22.7571L2 29.8196V42.2803ZM0 3C0 1.34315 1.34315 0 3 0H75C76.6569 0 78 1.34315 78 3V55.898C78 57.5548 76.6569 58.898 75 58.898H3C1.34315 58.898 0 57.5548 0 55.898V3ZM17.6094 13.1832C18.414 11.5742 18.9328 10.7593 19.4551 10.3118C19.8967 9.93322 20.4163 9.75659 21.4905 9.75659C22.0428 9.75659 22.4905 9.30888 22.4905 8.75659C22.4905 8.20431 22.0428 7.75659 21.4905 7.75659C20.177 7.75659 19.1047 7.97793 18.1535 8.79321C17.4662 9.38227 16.9009 10.2384 16.3059 11.3474C13.8336 10.1236 11.0561 10.2073 9.15781 11.0209C8.65018 11.2384 8.41503 11.8263 8.63259 12.334C8.85014 12.8416 9.43802 13.0767 9.94565 12.8592C11.5101 12.1887 14.0696 12.1744 16.1604 13.568L17.1028 14.1963L17.6094 13.1832ZM62.8781 15.5106C64.8505 15.5106 66.4495 13.9116 66.4495 11.9392C66.4495 9.96674 64.8505 8.36776 62.8781 8.36776C60.9056 8.36776 59.3066 9.96674 59.3066 11.9392C59.3066 13.9116 60.9056 15.5106 62.8781 15.5106ZM62.8781 17.5106C65.9551 17.5106 68.4495 15.0162 68.4495 11.9392C68.4495 8.86217 65.9551 6.36776 62.8781 6.36776C59.8011 6.36776 57.3066 8.86217 57.3066 11.9392C57.3066 15.0162 59.8011 17.5106 62.8781 17.5106Z",fill:""}))}function Ze(e){const{className:t}=e;(0,i._T)(e,["className"]);return r.createElement("svg",{className:(0,s.Z)(t,"SVGIcon_Button"),width:"46px",height:"62px",viewBox:"0 0 46 62",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.425 1.87316L27.6636 5.16235C28.5084 6.02034 29.6947 6.45213 30.8934 6.33789L35.4885 5.89995C36.6002 5.794 37.5833 6.61889 37.672 7.73207L38.0386 12.3335C38.1343 13.5337 38.7655 14.6271 39.7571 15.31L43.5587 17.9282C44.4784 18.5616 44.7013 19.8255 44.0537 20.7352L41.3768 24.4958C40.6786 25.4767 40.4594 26.72 40.78 27.8806L42.0092 32.3299C42.3066 33.4063 41.6649 34.5176 40.5841 34.7983L36.1163 35.9584C34.9508 36.261 33.9837 37.0725 33.4833 38.1677L31.565 42.3662C31.101 43.3819 29.895 43.8208 28.8867 43.341L24.7184 41.3579C23.6311 40.8405 22.3687 40.8405 21.2814 41.3579L17.1131 43.341C16.1047 43.8208 14.8988 43.3819 14.4347 42.3662L12.5164 38.1677C12.0161 37.0725 11.0489 36.261 9.88351 35.9584L5.41569 34.7983C4.33483 34.5176 3.69318 33.4063 3.99056 32.3299L5.21979 27.8806C5.54043 26.72 5.32121 25.4767 4.62295 24.4958L1.9461 20.7352C1.29852 19.8255 1.52136 18.5617 2.44105 17.9282L6.24264 15.31C7.23429 14.6271 7.86553 13.5337 7.96117 12.3335L8.32782 7.73206C8.41652 6.61889 9.39959 5.794 10.5112 5.89995L15.1064 6.33789C16.305 6.45213 17.4914 6.02034 18.3362 5.16235L21.5748 1.87316C22.3582 1.07744 23.6415 1.07744 24.425 1.87316ZM20.8622 1.17156C22.0374 -0.0220298 23.9624 -0.0220289 25.1376 1.17156L28.3762 4.46075C29.0098 5.10424 29.8995 5.42808 30.7985 5.34241L35.3937 4.90446C37.0612 4.74554 38.5358 5.98288 38.6688 7.65264L39.0355 12.254C39.1072 13.1542 39.5806 13.9742 40.3243 14.4865L44.1259 17.1047C45.5055 18.0548 45.8397 19.9505 44.8684 21.3151L42.1915 25.0757C41.6678 25.8114 41.5034 26.7438 41.7439 27.6143L42.9731 32.0636C43.4192 33.6782 42.4567 35.3452 40.8354 35.7662L36.3676 36.9263C36.0989 36.9961 35.8442 37.1019 35.6095 37.2389L42.0805 56.2205C42.5334 57.5492 41.0763 58.7164 39.8785 57.9845L34.3458 54.6034C34.0661 54.4324 33.7003 54.5724 33.6061 54.8863L31.865 60.6901C31.4472 62.0828 29.4909 62.126 29.012 60.7531L22.9999 43.5185L16.9878 60.7531C16.5089 62.126 14.5526 62.0828 14.1348 60.6901L12.3936 54.8863C12.2994 54.5724 11.9337 54.4324 11.654 54.6034L6.12127 57.9845C4.9235 58.7164 3.46639 57.5492 3.91933 56.2205L10.3903 37.2389C10.1556 37.1019 9.90091 36.9961 9.63218 36.9263L5.16437 35.7662C3.54308 35.3452 2.5806 33.6782 3.02667 32.0636L4.2559 27.6143C4.49638 26.7439 4.33196 25.8114 3.80827 25.0757L1.13142 21.3151C0.160044 19.9505 0.494311 18.0548 1.87384 17.1047L5.67543 14.4865C6.41917 13.9742 6.8926 13.1542 6.96433 12.254L7.33098 7.65263C7.46402 5.98288 8.93863 4.74554 10.6061 4.90446L15.2013 5.34241C16.1003 5.42808 16.99 5.10424 17.6236 4.46075L20.8622 1.17156ZM34.3929 38.5833C34.4993 38.3504 34.6338 38.1347 34.7919 37.9398L41.1339 56.5432C41.2849 56.9861 40.7992 57.3752 40.4 57.1312L34.8672 53.7501C34.0281 53.2373 32.9309 53.6571 32.6483 54.599L30.9072 60.4027C30.7679 60.867 30.1158 60.8814 29.9562 60.4238L23.5356 42.0181C23.7936 42.0649 24.047 42.1458 24.2888 42.2609L28.457 44.244C29.9696 44.9637 31.7785 44.3053 32.4746 42.7818L34.3929 38.5833ZM22.9999 42.0004L22.9156 41.9711C22.9718 41.9695 23.028 41.9695 23.0841 41.9711L22.9999 42.0004ZM11.2079 37.9398L4.86584 56.5432C4.71486 56.9861 5.20057 57.3752 5.59982 57.1312L11.1326 53.7501C11.9716 53.2373 13.0689 53.6571 13.3515 54.599L15.0926 60.4027C15.2319 60.867 15.884 60.8814 16.0436 60.4238L22.4642 42.0181C22.2061 42.0649 21.9528 42.1458 21.711 42.2609L17.5428 44.244C16.0302 44.9637 14.2213 44.3053 13.5252 42.7818L11.6069 38.5833C11.5005 38.3504 11.366 38.1347 11.2079 37.9398ZM33.9999 23.0004C33.9999 29.0756 29.075 34.0005 22.9999 34.0005C16.9248 34.0005 11.9999 29.0756 11.9999 23.0004C11.9999 16.9253 16.9248 12.0004 22.9999 12.0004C29.075 12.0004 33.9999 16.9253 33.9999 23.0004ZM34.9999 23.0004C34.9999 29.6279 29.6273 35.0005 22.9999 35.0005C16.3725 35.0005 10.9999 29.6279 10.9999 23.0004C10.9999 16.373 16.3725 11.0004 22.9999 11.0004C29.6273 11.0004 34.9999 16.373 34.9999 23.0004Z"}))}function ze(e){return r.createElement("svg",Object.assign({width:"29",height:"26",viewBox:"0 0 29 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.createElement("path",{d:"M18.6753 0C13.7187 0 9.58825 3.59513 8.90967 8.25443C9.11619 8.22567 9.32272 8.19691 9.55875 8.19691C11.1224 8.19691 12.5681 9.00221 13.3647 10.2965L18.7934 19.1836C24.163 19.0974 28.5 14.8407 28.5 9.57744C28.5295 4.31416 24.104 0 18.6753 0ZM22.7468 10.6704H18.6753C18.0558 10.6704 17.5837 10.1814 17.5837 9.6062V4.63053C17.5837 4.02655 18.0853 3.56637 18.6753 3.56637C19.2949 3.56637 19.767 4.05531 19.767 4.63053V8.54204H22.7468C23.3664 8.54204 23.8385 9.03098 23.8385 9.6062C23.868 10.2102 23.3664 10.6704 22.7468 10.6704Z",fill:"#E1E7EA"}),r.createElement("path",{d:"M11.3288 11.5332C10.5322 10.2389 8.58496 10.2389 7.78836 11.5332L0.796018 22.9801C-0.0300818 24.3031 0.973039 26 2.56623 26H16.5804C18.1736 26 19.1472 24.3031 18.3506 22.9801L11.3288 11.5332ZM9.47007 14.1217C10.1191 14.0642 10.6797 14.5243 10.7092 15.1571C10.7092 15.2146 10.7092 15.3009 10.7092 15.3584L10.3257 19.6438C10.2962 20.0465 9.91262 20.3628 9.49957 20.3341C9.11602 20.3053 8.82099 20.0177 8.79148 19.6438L8.40794 15.3584C8.34893 14.7257 8.82099 14.1792 9.47007 14.1217ZM9.55858 23.6704C8.87999 23.6704 8.31943 23.1239 8.31943 22.4624C8.31943 21.8009 8.87999 21.2544 9.55858 21.2544C10.2372 21.2544 10.7977 21.8009 10.7977 22.4624C10.7977 23.1239 10.2372 23.6704 9.55858 23.6704Z",fill:"#E1E7EA"}))}function Ke(e){const{className:t}=e,n=(0,i._T)(e,["className"]),[o,a]=(0,c.y)(),[l,u]=(0,c.y)(),[d,m]=(0,c.y)(),[h,p]=(0,c.y)(),[g,_]=(0,c.y)(),[f,v]=(0,c.y)(),[C,S]=(0,c.y)(),[b,w]=(0,c.y)();return r.createElement("svg",Object.assign({className:(0,s.Z)(t,"SVGIcon_Button"),width:"1em",height:"1em",viewBox:"0 0 148 148",fill:"none"},n),r.createElement("path",{d:"M151.309 62.585L87.852.305 25.31 63.348l12.204 12.365 50.338-49.458 63.457 61.059V62.585z",fill:"#189AD3"}),r.createElement("path",{d:"M151.309 62.585L87.852.305 25.31 63.348l12.204 12.365 50.338-49.458 63.457 61.059V62.585z",fill:a}),r.createElement("path",{d:"M151.309 62.585L87.852.305 25.31 63.348l12.204 12.365 50.338-49.458 63.457 61.059V62.585z",fill:u}),r.createElement("path",{d:"M88.31 0H63.444L.294 63.501l62.236 62.891 13.424-12.823L25.31 63.501 88.31 0z",fill:"#B1AEAE"}),r.createElement("path",{d:"M88.31 0H63.444L.294 63.501l62.236 62.891 13.424-12.823L25.31 63.501 88.31 0z",fill:m}),r.createElement("path",{d:"M88.31 0H63.444L.294 63.501l62.236 62.891 13.424-12.823L25.31 63.501 88.31 0z",fill:p}),r.createElement("path",{d:"M87.547 26.255L75.954 38.162l50.033 49.152-63.457 63.501h25.017l63.914-63.501-63.914-61.059z",fill:"#B1AEAE"}),r.createElement("path",{d:"M87.547 26.255L75.954 38.162l50.033 49.152-63.457 63.501h25.017l63.914-63.501-63.914-61.059z",fill:_}),r.createElement("path",{d:"M87.547 26.255L75.954 38.162l50.033 49.152-63.457 63.501h25.017l63.914-63.501-63.914-61.059z",fill:v}),r.createElement("path",{d:"M.904 88.23V63.5l61.931 62.585 51.406-50.22 11.746 11.448-63.152 63.196L.904 88.23z",fill:"#1351CB"}),r.createElement("path",{d:"M.904 88.23V63.5l61.931 62.585 51.406-50.22 11.746 11.448-63.152 63.196L.904 88.23z",fill:S}),r.createElement("path",{d:"M.904 88.23V63.5l61.931 62.585 51.406-50.22 11.746 11.448-63.152 63.196L.904 88.23z",fill:w}),r.createElement("defs",null,r.createElement("linearGradient",{id:o,x1:88.309,y1:.305,x2:39.697,y2:70.698,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:.458,stopColor:"#2682D7"}),r.createElement("stop",{offset:.88,stopColor:"#13538E"}),r.createElement("stop",{offset:1,stopColor:"#0F2C64"})),r.createElement("linearGradient",{id:l,x1:151.461,y1:63.725,x2:113.241,y2:31.243,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:.005,stopColor:"#114B82"}),r.createElement("stop",{offset:.672,stopColor:"#1974C7"}),r.createElement("stop",{offset:1,stopColor:"#166588",stopOpacity:0})),r.createElement("linearGradient",{id:d,x1:72.598,y1:0,x2:151.522,y2:89.161,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#9D99A9"}),r.createElement("stop",{offset:.484,stopColor:"#DFDEE1"}),r.createElement("stop",{offset:.734,stopColor:"#6D6B74"}),r.createElement("stop",{offset:1,stopColor:"#22202D"})),r.createElement("linearGradient",{id:h,x1:65.886,y1:141.046,x2:80.542,y2:158.743,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:.531,stopColor:"#7B7474",stopOpacity:0}),r.createElement("stop",{offset:1,stopColor:"#535661"})),r.createElement("linearGradient",{id:g,x1:72.598,y1:0,x2:151.522,y2:89.161,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#9D99A9"}),r.createElement("stop",{offset:.484,stopColor:"#DFDEE1"}),r.createElement("stop",{offset:.734,stopColor:"#6D6B74"}),r.createElement("stop",{offset:1,stopColor:"#22202D"})),r.createElement("linearGradient",{id:f,x1:65.886,y1:141.046,x2:80.542,y2:158.743,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:.531,stopColor:"#7B7474",stopOpacity:0}),r.createElement("stop",{offset:1,stopColor:"#535661"})),r.createElement("linearGradient",{id:C,x1:.904,y1:81.208,x2:80.116,y2:82.127,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#234BB3"}),r.createElement("stop",{offset:.068,stopColor:"#032939"}),r.createElement("stop",{offset:.547,stopColor:"#45556D",stopOpacity:.737}),r.createElement("stop",{offset:1,stopColor:"#fff",stopOpacity:0})),r.createElement("linearGradient",{id:b,x1:126.031,y1:88.506,x2:75.005,y2:136.736,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:.089,stopColor:"#0D66A6"}),r.createElement("stop",{offset:.402,stopColor:"#6699D5"}),r.createElement("stop",{offset:1,stopColor:"#fff",stopOpacity:0}))))}function qe(e){const{className:t}=e,[n,s]=((0,i._T)(e,["className"]),(0,c.y)()),[o,a]=(0,c.y)(),[l,u]=(0,c.y)(),[d,m]=(0,c.y)(),[h,p]=(0,c.y)();return r.createElement("svg",{className:t,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("circle",{cx:"16",cy:"16",r:"16",fill:"#BDCCDB"}),r.createElement("circle",{cx:"16",cy:"16",r:"16",fill:s}),r.createElement("circle",{cx:"16",cy:"16",r:"14.2745",fill:"#98A8B7"}),r.createElement("circle",{cx:"16",cy:"16",r:"14.2745",fill:a}),r.createElement("circle",{cx:"16",cy:"16",r:"14.2745",stroke:"#7A92A9"}),r.createElement("circle",{cx:"16",cy:"16",r:"11.1309",fill:"#BDCCDB"}),r.createElement("circle",{cx:"16",cy:"16",r:"11.1309",fill:u}),r.createElement("circle",{cx:"16",cy:"16",r:"10.2107",fill:"#5792C8"}),r.createElement("circle",{cx:"16",cy:"16",r:"10.2107",fill:m}),r.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"}),r.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}),r.createElement("defs",null,r.createElement("linearGradient",{id:n,x1:"8.4375",y1:"1.75",x2:"23.1875",y2:"22.9375",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"white",stopOpacity:"0.54"}),r.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})),r.createElement("linearGradient",{id:o,x1:"9",y1:"3.125",x2:"22.4375",y2:"24.625",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"white",stopOpacity:"0.25"}),r.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})),r.createElement("linearGradient",{id:l,x1:"10.3125",y1:"6.375",x2:"19.6875",y2:"23.125",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"white",stopOpacity:"0.65"}),r.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})),r.createElement("linearGradient",{id:d,x1:"10",y1:"8",x2:"20.5",y2:"26.2107",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#72A5D3"}),r.createElement("stop",{offset:"1",stopColor:"#4F7294"})),r.createElement("linearGradient",{id:h,x1:"12.1875",y1:"13.5625",x2:"18.5625",y2:"23.5574",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"white",stopOpacity:"0.44"}),r.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"}))))}function $e(){return r.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"},r.createElement("g",null,r.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"}),r.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"}),r.createElement("circle",{cx:"26.695",cy:"74.305",r:"9.812"})))}function Xe(e){return r.createElement("svg",Object.assign({},e,{height:"24px",width:"24px",viewBox:"0 0 24 24",x:"0px",y:"0px"}),r.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 Ye(){return r.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"},r.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\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\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\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 Qe(){return r.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"},r.createElement("g",null,r.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\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\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\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\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\n\t\t\tc1.33,0,2.37,1.04,2.37,2.37S25.18,14.97,23.85,14.97z"})))}function Je(){return r.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"},r.createElement("g",null,r.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"}),r.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\n\t\t\tC10.98,19.86,13.27,22.15,16.08,22.15z"}),r.createElement("g",null,r.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\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\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\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\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\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\n\t\t\t\tC25.69,12.88,25.04,11.44,24.09,10.21z"}),r.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\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\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\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\n\t\t\t\tC32.02,7.84,24.86,0.68,16.02,0.68"}))))}function et(e){return r.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"}),r.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 tt(e){return r.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"}),r.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\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\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\n\t\t\t\t\tc0,0.2-0.1,0.4-0.3,0.6C8.4,10.9,8.2,11,8,11z"}),r.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\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\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\n\t\t\t\tc-0.4,0.4-1,0.6-1.7,0.6H4z"}))}function nt(e){return(0,u.RY)()?r.createElement(tt,Object.assign({},e)):r.createElement(et,Object.assign({},e))}function it(){return r.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"},r.createElement("g",null,r.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"}),r.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 rt(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("svg",Object.assign({className:(0,s.Z)(a().SteamDeckCompatLogo,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),r.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 st(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("svg",Object.assign({className:(0,s.Z)(a().SteamDeckCompatIcon,a().SteamDeckCompatVerified,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),r.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 ot(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("svg",Object.assign({className:(0,s.Z)(a().SteamDeckCompatIcon,a().SteamDeckCompatPlayable,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),r.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 at(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("svg",Object.assign({className:(0,s.Z)(a().SteamDeckCompatIcon,a().SteamDeckCompatUnsupported,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),r.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 lt(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("svg",Object.assign({className:(0,s.Z)(a().SteamDeckCompatIcon,a().SteamDeckCompatUnknown,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),r.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 ct(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",className:t},n,{width:"50",height:"50",viewBox:"0 0 50 50",fill:"none"}),r.createElement("circle",{fill:"currentColor",cx:"25",cy:"25",r:"25"}))}function ut(e){return r.createElement("svg",Object.assign({width:"26",height:"26",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 26",fill:"none"},e),r.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"}))}function dt(e){return r.createElement("svg",{viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.998 9.82081C17.998 12.24 16.0368 14.2012 13.6176 14.2012C11.1984 14.2012 9.23724 12.24 9.23724 9.82081C9.23724 7.40159 11.1984 5.44043 13.6176 5.44043C16.0368 5.44043 17.998 7.40159 17.998 9.82081ZM6.31793 24.4221C6.31793 20.3901 9.58654 17.1215 13.6186 17.1215C14.8524 17.1215 16.0147 17.4275 17.0338 17.9679C17.2536 19.4972 18.0606 20.8369 19.219 21.751C16.1722 23.1386 14.0541 26.2102 14.0541 29.7765V30.7493H6.31793V24.4221ZM20.8293 23.2728C20.8885 23.6472 20.9192 24.0311 20.9192 24.4221V30.7493H16.0541V29.7765C16.0541 29.4275 16.0804 29.0847 16.131 28.7499C16.523 26.1552 18.3783 24.0403 20.8293 23.2728Z",fill:"white",fillOpacity:"0.3"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.8671 21.0156C25.0175 21.0156 26.7608 19.2723 26.7608 17.1219C26.7608 14.9715 25.0175 13.2282 22.8671 13.2282C20.7167 13.2282 18.9734 14.9715 18.9734 17.1219C18.9734 19.2723 20.7167 21.0156 22.8671 21.0156ZM22.8681 22.9625C19.1048 22.9625 16.0541 26.0132 16.0541 29.7765V30.7499H29.682V29.7765C29.682 26.0132 26.6313 22.9625 22.8681 22.9625Z",fill:"white"}))}function mt(e){return r.createElement("svg",{viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.6737 18.9768C20.4716 18.6971 20.2544 18.4292 20.0231 18.1741C19.6636 17.5852 19.4564 16.8931 19.4564 16.1527C19.4564 14.0072 21.1957 12.268 23.3411 12.268C25.4866 12.268 27.2258 14.0072 27.2258 16.1527C27.2258 18.2981 25.4866 20.0374 23.3411 20.0374C22.3082 20.0374 21.3695 19.6343 20.6737 18.9768ZM20.4271 30.7201H16.5438V28.7777C16.5438 26.1434 18.0421 23.8591 20.2331 22.7305C20.36 23.269 20.4271 23.8305 20.4271 24.4077V30.7201ZM22.4271 30.7201V24.4077C22.4271 23.6062 22.3255 22.8284 22.1345 22.0864C22.5264 22.0162 22.9299 21.9795 23.342 21.9795C27.0966 21.9795 30.1402 25.0232 30.1402 28.7777V30.7201H22.4271Z",fill:"white",fillOpacity:"0.3"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1424 14.2104C15.5561 14.2104 17.5127 12.2538 17.5127 9.84018C17.5127 7.42654 15.5561 5.46991 13.1424 5.46991C10.7288 5.46991 8.77216 7.42654 8.77216 9.84018C8.77216 12.2538 10.7288 14.2104 13.1424 14.2104ZM13.1433 17.124C9.12062 17.124 5.85956 20.385 5.85956 24.4077V30.7203H20.4271V24.4077C20.4271 20.385 17.1661 17.124 13.1433 17.124Z",fill:"white"}))}function ht(e){return r.createElement("svg",{viewBox:"0 0 24 24",fill:"none"},r.createElement("path",{d:"M7.81998 15.3333C6.2349 16.4298 5.14521 18.1062 4.78665 20H1.33331V15.3333C1.33331 14.0956 1.82498 12.9086 2.70015 12.0335C3.57532 11.1583 4.7623 10.6666 5.99998 10.6666C6.27492 10.6673 6.54929 10.6918 6.81998 10.74C6.71508 11.163 6.66357 11.5975 6.66665 12.0333C6.66944 13.2316 7.07572 14.3941 7.81998 15.3333ZM5.99998 8.69995C6.59332 8.69995 7.17334 8.52401 7.66669 8.19436C8.16004 7.86472 8.54456 7.39618 8.77162 6.848C8.99868 6.29982 9.05809 5.69662 8.94234 5.11468C8.82658 4.53274 8.54086 3.99819 8.1213 3.57863C7.70174 3.15907 7.16719 2.87335 6.58525 2.7576C6.00331 2.64184 5.40011 2.70125 4.85193 2.92831C4.30375 3.15538 3.83522 3.53989 3.50557 4.03324C3.17593 4.52659 2.99998 5.10661 2.99998 5.69995C2.9991 6.09416 3.0761 6.48467 3.22655 6.84904C3.377 7.21342 3.59795 7.54448 3.8767 7.82323C4.15545 8.10198 4.48652 8.32293 4.85089 8.47338C5.21526 8.62383 5.60577 8.70083 5.99998 8.69995ZM18 8.69995C18.5933 8.69995 19.1733 8.52401 19.6667 8.19436C20.16 7.86472 20.5446 7.39618 20.7716 6.848C20.9987 6.29982 21.0581 5.69662 20.9423 5.11468C20.8266 4.53274 20.5409 3.99819 20.1213 3.57863C19.7017 3.15907 19.1672 2.87335 18.5853 2.7576C18.0033 2.64184 17.4001 2.70125 16.8519 2.92831C16.3038 3.15538 15.8352 3.53989 15.5056 4.03324C15.1759 4.52659 15 5.10661 15 5.69995C14.9991 6.09416 15.0761 6.48467 15.2266 6.84904C15.377 7.21342 15.5979 7.54448 15.8767 7.82323C16.1554 8.10198 16.4865 8.32293 16.8509 8.47338C17.2153 8.62383 17.6058 8.70083 18 8.69995ZM21.3333 12.0666C20.896 11.6293 20.3761 11.2833 19.8038 11.0487C19.2316 10.814 18.6184 10.6955 18 10.7C17.725 10.7006 17.4507 10.7251 17.18 10.7733C17.2822 11.1855 17.3336 11.6086 17.3333 12.0333C17.338 13.243 16.9313 14.4185 16.18 15.3666C17.7651 16.4631 18.8547 18.1396 19.2133 20.0333H22.6666V15.3666C22.6756 14.1337 22.1963 12.9473 21.3333 12.0666Z",fill:"currentColor"}),r.createElement("path",{d:"M12 14.7C12.5274 14.7 13.043 14.5436 13.4815 14.2506C13.92 13.9576 14.2618 13.5411 14.4637 13.0539C14.6655 12.5666 14.7183 12.0304 14.6154 11.5131C14.5125 10.9958 14.2585 10.5207 13.8856 10.1477C13.5127 9.77481 13.0375 9.52083 12.5202 9.41794C12.0029 9.31505 11.4668 9.36785 10.9795 9.56969C10.4922 9.77152 10.0757 10.1133 9.78273 10.5518C9.48971 10.9904 9.33331 11.5059 9.33331 12.0334C9.33331 12.7406 9.61426 13.4189 10.1144 13.919C10.6145 14.4191 11.2927 14.7 12 14.7ZM12 16.7C10.7623 16.7 9.57532 17.1917 8.70015 18.0669C7.82498 18.942 7.33331 20.129 7.33331 21.3667H16.6666C16.6666 20.129 16.175 18.942 15.2998 18.0669C14.4246 17.1917 13.2377 16.7 12 16.7Z",fill:"currentColor"}))}function pt(e){return r.createElement("svg",{viewBox:"0 0 78 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M45.2819 30.6667C42.1118 32.8597 39.9324 36.2126 39.2153 40H32.3086V30.6667C32.3086 28.1913 33.2919 25.8174 35.0423 24.067C36.7926 22.3167 39.1666 21.3334 41.6419 21.3334C42.1918 21.3347 42.7405 21.3837 43.2819 21.48C43.0721 22.3261 42.9691 23.1951 42.9753 24.0667C42.9808 26.4634 43.7934 28.7883 45.2819 30.6667ZM41.6419 17.4C42.8286 17.4 43.9887 17.0481 44.9753 16.3888C45.962 15.7296 46.7311 14.7925 47.1852 13.6961C47.6393 12.5998 47.7582 11.3934 47.5266 10.2295C47.2951 9.0656 46.7237 7.9965 45.8846 7.15739C45.0455 6.31827 43.9764 5.74683 42.8125 5.51532C41.6486 5.2838 40.4422 5.40262 39.3458 5.85675C38.2495 6.31088 37.3124 7.07991 36.6531 8.06661C35.9938 9.0533 35.6419 10.2133 35.6419 11.4C35.6402 12.1885 35.7942 12.9695 36.0951 13.6982C36.396 14.427 36.8379 15.0891 37.3954 15.6466C37.9529 16.2041 38.615 16.646 39.3437 16.9469C40.0725 17.2478 40.8535 17.4018 41.6419 17.4ZM65.6419 17.4C66.8286 17.4 67.9887 17.0481 68.9753 16.3888C69.962 15.7296 70.7311 14.7925 71.1852 13.6961C71.6393 12.5998 71.7581 11.3934 71.5266 10.2295C71.2951 9.0656 70.7237 7.9965 69.8846 7.15739C69.0454 6.31827 67.9764 5.74683 66.8125 5.51532C65.6486 5.2838 64.4422 5.40262 63.3458 5.85675C62.2495 6.31088 61.3124 7.07991 60.6531 8.06661C59.9938 9.0533 59.6419 10.2133 59.6419 11.4C59.6402 12.1885 59.7942 12.9695 60.0951 13.6982C60.396 14.427 60.8379 15.0891 61.3954 15.6466C61.9529 16.2041 62.615 16.646 63.3437 16.9469C64.0725 17.2478 64.8535 17.4018 65.6419 17.4ZM72.3086 24.1334C71.4339 23.2587 70.3941 22.5667 69.2497 22.0974C68.1052 21.6282 66.8788 21.3911 65.6419 21.4C65.092 21.4013 64.5433 21.4504 64.0019 21.5467C64.2063 22.3711 64.3093 23.2173 64.3086 24.0667C64.3181 26.4862 63.5047 28.8371 62.0019 30.7334C65.1721 32.9264 67.3515 36.2792 68.0686 40.0667H74.9753V30.7334C74.9932 28.2675 74.0345 25.8947 72.3086 24.1334ZM53.6419 29.4C54.6968 29.4 55.7279 29.0872 56.605 28.5012C57.482 27.9152 58.1656 27.0822 58.5693 26.1077C58.9729 25.1331 59.0786 24.0608 58.8728 23.0262C58.667 21.9916 58.159 21.0413 57.4132 20.2955C56.6673 19.5496 55.717 19.0416 54.6824 18.8358C53.6478 18.6301 52.5755 18.7357 51.6009 19.1393C50.6264 19.543 49.7935 20.2266 49.2074 21.1037C48.6214 21.9807 48.3086 23.0119 48.3086 24.0667C48.3086 25.4812 48.8705 26.8377 49.8707 27.8379C50.8709 28.8381 52.2274 29.4 53.6419 29.4ZM53.6419 33.4C51.1666 33.4 48.7926 34.3834 47.0423 36.1337C45.2919 37.884 44.3086 40.258 44.3086 42.7334H62.9753C62.9753 40.258 61.9919 37.884 60.2416 36.1337C58.4912 34.3834 56.1173 33.4 53.6419 33.4Z",fill:"currentColor"}),r.createElement("path",{d:"M11.6169 34.9735V25.8254H2.46875V22.3068H11.6169V13.1587H15.1354V22.3068H24.2836V25.8254H15.1354V34.9735H11.6169Z",fill:"currentColor"}))}function gt(e){return r.createElement("svg",{viewBox:"0 0 78 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.0304 40.3334C40.7475 36.5459 42.9269 33.1931 46.097 31.0001C44.6085 29.1217 43.7959 26.7967 43.7904 24.4001C43.7842 23.5284 43.8872 22.6594 44.097 21.8134C43.5556 21.7171 43.0069 21.668 42.457 21.6667C39.9817 21.6667 37.6077 22.6501 35.8574 24.4004C34.107 26.1507 33.1237 28.5247 33.1237 31.0001V40.3334H40.0304ZM45.7905 16.7222C44.8038 17.3815 43.6437 17.7334 42.457 17.7334C41.6686 17.7352 40.8876 17.5812 40.1589 17.2803C39.4301 16.9794 38.768 16.5375 38.2105 15.98C37.653 15.4225 37.2111 14.7603 36.9102 14.0316C36.6093 13.3028 36.4553 12.5218 36.457 11.7334C36.457 10.5467 36.8089 9.38667 37.4682 8.39998C38.1275 7.41329 39.0646 6.64425 40.1609 6.19012C41.2573 5.736 42.4637 5.61718 43.6276 5.84869C44.7915 6.0802 45.8606 6.65165 46.6997 7.49076C47.5388 8.32988 48.1102 9.39897 48.3417 10.5629C48.5733 11.7267 48.4544 12.9331 48.0003 14.0295C47.5462 15.1259 46.7771 16.0629 45.7905 16.7222ZM69.7905 16.7222C68.8038 17.3815 67.6437 17.7334 66.457 17.7334C65.6686 17.7352 64.8876 17.5812 64.1589 17.2803C63.4301 16.9794 62.768 16.5375 62.2105 15.98C61.653 15.4225 61.2111 14.7603 60.9102 14.0316C60.6093 13.3028 60.4553 12.5218 60.457 11.7334C60.457 10.5467 60.8089 9.38667 61.4682 8.39998C62.1275 7.41329 63.0646 6.64425 64.1609 6.19012C65.2573 5.736 66.4637 5.61718 67.6276 5.84869C68.7915 6.0802 69.8606 6.65165 70.6997 7.49076C71.5388 8.32988 72.1102 9.39897 72.3417 10.5629C72.5732 11.7267 72.4544 12.9331 72.0003 14.0295C71.5462 15.1259 70.7771 16.0629 69.7905 16.7222ZM70.0648 22.4308C71.2092 22.9 72.249 23.5921 73.1237 24.4667C74.8496 26.2281 75.8083 28.6008 75.7904 31.0667V40.4001H68.8837C68.1666 36.6126 65.9872 33.2597 62.817 31.0667C64.3198 29.1704 65.1332 26.8196 65.1237 24.4001C65.1244 23.5507 65.0214 22.7045 64.817 21.8801C65.3584 21.7838 65.9071 21.7347 66.457 21.7334C67.6939 21.7245 68.9203 21.9616 70.0648 22.4308ZM57.4201 28.8346C56.543 29.4206 55.5119 29.7334 54.457 29.7334C53.0425 29.7334 51.686 29.1715 50.6858 28.1713C49.6856 27.1711 49.1237 25.8146 49.1237 24.4001C49.1237 23.3452 49.4365 22.3141 50.0225 21.437C50.6086 20.56 51.4415 19.8764 52.4161 19.4727C53.3906 19.069 54.4629 18.9634 55.4975 19.1692C56.5321 19.375 57.4824 19.883 58.2283 20.6288C58.9741 21.3747 59.4821 22.325 59.6879 23.3596C59.8937 24.3942 59.7881 25.4665 59.3844 26.441C58.9807 27.4156 58.2971 28.2485 57.4201 28.8346ZM47.8574 36.4671C49.6077 34.7167 51.9817 33.7334 54.457 33.7334C56.9324 33.7334 59.3064 34.7167 61.0567 36.4671C62.807 38.2174 63.7904 40.5914 63.7904 43.0667H45.1237C45.1237 40.5914 46.107 38.2174 47.8574 36.4671ZM17.0587 13.6268C16.2777 12.8458 15.0114 12.8458 14.2303 13.6268C13.4493 14.4079 13.4493 15.6742 14.2303 16.4553L20.7181 22.9431H6.13672C5.03215 22.9431 4.13672 23.8385 4.13672 24.9431C4.13672 26.0477 5.03215 26.9431 6.13672 26.9431H20.7188L14.2309 33.4309C13.4499 34.212 13.4499 35.4783 14.2309 36.2594C15.012 37.0404 16.2783 37.0404 17.0593 36.2594L26.9588 26.3599C27.4091 25.9096 27.5998 25.298 27.5309 24.7111C27.4812 24.2782 27.2903 23.8584 26.9582 23.5263L17.0587 13.6268Z",fill:"currentColor"}))}function _t(e){return r.createElement("svg",{viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.9315 14.2104C26.3452 14.2104 28.3018 12.2538 28.3018 9.84018C28.3018 7.42654 26.3452 5.46991 23.9315 5.46991C21.5179 5.46991 19.5613 7.42654 19.5613 9.84018C19.5613 12.2538 21.5179 14.2104 23.9315 14.2104ZM23.9325 17.124C19.9097 17.124 16.6487 20.385 16.6487 24.4077V30.7203H31.2162V24.4077C31.2162 20.385 27.9552 17.124 23.9325 17.124Z",fill:"white"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4686 13.409H8.47119V17.0964H4.78375V19.0938H8.47119V22.7813H10.4686V19.0938H14.1561V17.0964H10.4686V13.409Z",fill:"white"}))}function ft(e){const{direction:t}=e;(0,i._T)(e,["direction"]);switch(t){case"up":return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),r.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 vt(e){return r.createElement("svg",{width:"48",height:"24",viewBox:"0 0 48 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("rect",{width:"48",height:"24",rx:"3",fill:"#1A9FFF"}),r.createElement("path",{d:"M14.3799 11.712C14.9399 11.896 15.3359 12.16 15.5679 12.504C15.8079 12.848 15.9279 13.264 15.9279 13.752C15.9279 14.248 15.7999 14.68 15.5439 15.048C15.2959 15.416 14.9359 15.7 14.4639 15.9C13.9999 16.1 13.4559 16.2 12.8319 16.2H9.17188V7.79999H12.4959C13.5119 7.79999 14.2559 7.98799 14.7279 8.36399C15.2079 8.73199 15.4479 9.25599 15.4479 9.93599C15.4479 10.744 15.0919 11.336 14.3799 11.712ZM11.2839 9.51599V11.22H12.3879C12.7159 11.22 12.9639 11.144 13.1319 10.992C13.3079 10.84 13.3959 10.62 13.3959 10.332C13.3959 9.78799 13.0479 9.51599 12.3519 9.51599H11.2839ZM12.6159 14.496C12.9759 14.496 13.2439 14.412 13.4199 14.244C13.6039 14.068 13.6959 13.84 13.6959 13.56C13.6959 12.984 13.3519 12.696 12.6639 12.696H11.2839V14.496H12.6159Z",fill:"white"}),r.createElement("path",{d:"M17.1992 7.79999H23.0192V9.57599H19.2752V11.088H22.4552V12.852H19.2752V14.424H23.0192V16.2H17.1992V7.79999Z",fill:"white"}),r.createElement("path",{d:"M28.5072 16.2H26.4312V9.57599H23.9832V7.79999H30.9552V9.57599H28.5072V16.2Z",fill:"white"}),r.createElement("path",{d:"M38.8285 16.2H36.5845L36.0925 14.76H33.0325L32.5525 16.2H30.3805L33.5365 7.79999H35.5525L38.8285 16.2ZM34.5325 10.236L33.5725 13.128H35.5285L34.5325 10.236Z",fill:"white"}))}},25006:(e,t,n)=>{"use strict";n.d(t,{HC:()=>u,PZ:()=>g,YR:()=>p,ZP:()=>c,bJ:()=>m,ef:()=>v,uX:()=>f,xp:()=>h,zv:()=>d});var i=n(85556),r=n(47427),s=n(31421),o=n(37563);const a=r.createContext({}),l=r.createContext(void 0);function c(e){const{children:t}=e,n=(0,i._T)(e,["children"]),o=m(),l=_(),c=r.useMemo((()=>Object.assign(Object.assign(Object.assign({},s.ZP.GetDefaultParams()),o),n)),[l,o,n.domain,n.controller,n.method,n.submethod,n.feature,n.depth]);return r.createElement(a.Provider,{value:c},t)}function u(e){const{children:t}=e,n=_();let i=r.useMemo((()=>s.ZP.ParseSNR(o.De.SNR)),[n]);return r.createElement(a.Provider,{value:Object.assign(Object.assign({},s.ZP.GetDefaultParams()),i)},t)}function d(e,t,n){return Object.assign(Object.assign({},e),{feature:t||e.feature,depth:n||e.depth,countrycode:o.De.COUNTRY,is_client:o.De.IN_CLIENT})}function m(){return r.useContext(a)}function h(e,t){return d(m(),e,t)}function p(e,t,n){const i=m();return r.useMemo((()=>function(e,t,n,i){const r=s.ZP.GetLinkParam(Object.assign(Object.assign({},e),{feature:n||e.feature}),i);return s.ZP.AddNavParamToURL(t,r)}(i,e,t,n)),[e,i,t,n])}function g(e,t){const n=m();return r.useMemo((()=>s.ZP.GetLinkParam(Object.assign(Object.assign({},n),{feature:e||n.feature}),t)),[n,e,t])}function _(){const[e,t]=r.useState(s.ZP.BIsLoaded());return r.useEffect((()=>{e||s.ZP.Load().then((()=>t(!0)))}),[e]),e}function f(e){const{uiData:t,children:n}=e,i=r.useMemo((()=>({domain:t.domain,controller:t.controller,method:t.method,submethod:t.submethod,feature:t.feature,depth:t.depth})),[t.domain,t.controller,t.method,t.submethod,t.feature,t.depth]);return r.createElement(l.Provider,{value:i,children:n})}function v(){const e=r.useContext(l),t=m();return e||t}},23163:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var i=n(47427);let r=0;function s(){const e=i.useRef();return void 0===e.current&&(e.current="svgid_"+r++),[e.current,`url(#${e.current})`]}},35949:(e,t,n)=>{"use strict";n.d(t,{T:()=>h});var i=n(47427),r=n(43235),s=n(62613),o=n(13129),a=n(12135),l=n(37563);function c(e){const{popup:t,onMaximize:n,bOSX:l}=e,c=(0,a.b3)(t),u=i.useCallback((()=>{n?n():(0,r.w3)(t,"Window.ToggleMaximize")&&t.SteamClient.Window.ToggleMaximize()}),[t,n]);return i.createElement(m,{className:(0,o.Z)(c?"restoreButton":"maximizeButton","windowControlButton"),onClick:u},!l&&(c?i.createElement(s.r6F,null):i.createElement(s.YqJ,null)))}function u(e){const{popup:t,onMinimize:n,bOSX:r}=e,o=i.useCallback((()=>{t.SteamClient.Window.Minimize()}),[t]);return i.createElement(m,{className:"minimizeButton windowControlButton",onClick:null!=n?n:o},!r&&i.createElement(s.gR,null))}function d(e){const{popup:t,onClose:n,bOSX:o}=e,a=i.useCallback((()=>{t&&((0,r.w3)(t,"Window.Close")?t.SteamClient.Window.Close():t.close())}),[t]);return i.createElement(m,{className:"closeButton windowControlButton",onClick:null!=n?n:a},!o&&i.createElement(s.pVO,null))}function m(e){const{className:t,onClick:n,children:r}=e,s=i.useCallback((e=>{n&&(e.stopPropagation(),n(e))}),[n]);return i.createElement("div",{className:(0,o.Z)("title-area-icon",t),onClick:s},i.createElement("div",{className:"title-area-icon-inner"},r))}function h(e){const{className:t,style:n,hideActions:r,hideClose:s,hideMin:m,hideMax:h,bOSX:p=(0,l.Uy)(),bForceWindowFocused:g,onMinimize:_,onMaximize:f,onClose:v,extraActions:C,popup:S,children:b}=e,w=(0,a.n8)(S);return i.createElement("div",{className:(0,o.Z)("TitleBar","title-area",p&&"OSX",(w||g)&&"WindowFocus",t),style:n},i.createElement("div",{className:"title-area-highlight"}),i.createElement("div",{className:"title-area-children"},b),!r&&i.createElement(i.Fragment,null,C&&i.createElement("div",{className:"title-bar-actions extra-actions"},C),i.createElement("div",{className:"title-bar-actions window-controls"},!s&&i.createElement(d,{popup:S,onClose:v,bOSX:p}),!h&&i.createElement(c,{popup:S,onMaximize:f,bOSX:p}),!m&&i.createElement(u,{popup:S,onMinimize:_,bOSX:p}))))}},59728:(e,t,n)=>{"use strict";n.d(t,{HP:()=>p,gz:()=>f});var i=n(85556),r=n(47427),s=n(42287),o=n(82493),a=n(37265),l=n(13129),c=n(31846),u=n(81212),d=n.n(u);const m=r.createContext({}),h=()=>r.useContext(m);function p(e){var t;const{divProps:n,tooltipProps:i}=g(e);return r.createElement(o.Ks,Object.assign({noFocusRing:!0,focusable:null!==(t=e.bNavStop)&&void 0!==t?t:!!n.onClick},n),r.createElement(v,Object.assign({},i)),e.children)}function g(e){const{toolTipContent:t,nDelayShowMS:n=300,bDisabled:s,direction:o,nBodyAlignment:a,nBodyDistance:l,nAllowOffscreenPx:c,nMaxLateralMoveOnScreen:u,strTooltipClassname:d,bNavStop:m,bTopmost:h,children:p}=e,g=(0,i._T)(e,["toolTipContent","nDelayShowMS","bDisabled","direction","nBodyAlignment","nBodyDistance","nAllowOffscreenPx","nMaxLateralMoveOnScreen","strTooltipClassname","bNavStop","bTopmost","children"]),_={direction:o,nBodyAlignment:a,nBodyDistance:l,nAllowOffscreenPx:c,nMaxLateralMoveOnScreen:u,className:d,bTopmost:h},[f,v]=r.useState(!1),[C,S]=r.useState(),b=r.useCallback((e=>{v(!0),S(e.currentTarget)}),[]),w=r.useCallback((()=>{v(!1)}),[]),y={active:f&&!s,target:C,nDelayShowMS:n,hoverPositionProps:_,children:t};return{divProps:Object.assign(Object.assign({},g),{onMouseEnter:b,onMouseLeave:w}),tooltipProps:y}}function _(e){return r.createElement("div",Object.assign({},e,{className:(0,l.Z)(d().TextToolTip,e.className)}))}function f(e){const{className:t}=e,n=(0,i._T)(e,["className"]);return r.createElement("div",Object.assign({className:(0,l.Z)(d().ToolTipCustom,t)},n))}function v(e){var t;const{active:n,target:i,nDelayShowMS:o=300,hoverPositionProps:l,children:u}=e,[d,m]=r.useState(n),p=h();if(r.useLayoutEffect((()=>{if(n){if(o){const e=window.setTimeout((()=>m(!0)),o);return()=>window.clearTimeout(e)}m(!0)}else m(!1)}),[n]),!d)return null;let g=u;return"function"==typeof u?g=u():"string"==typeof u&&(g=r.createElement(_,null,(0,c.Xx)(u))),g&&i?s.createPortal(r.createElement(a.T,Object.assign({target:i},l),g),null!==(t=null==p?void 0:p.targetElement)&&void 0!==t?t:i.ownerDocument.body):null}},14609:(e,t,n)=>{"use strict";n.d(t,{M2:()=>C,Qc:()=>b,R6:()=>p,Sb:()=>S,b8:()=>v,ns:()=>g});var i=n(85556),r=n(54842),s=n(47427),o=n(95315),a=n(43090),l=n(43235),c=n(13129),u=n(50423),d=n(31846),m=n(37563),h=n(22042);function p(e,t){let n;n="currentTarget"in e?e.currentTarget.ownerDocument.defaultView:e,0==t.indexOf("steam://")?(0,l.w3)(n,"URL.ExecuteSteamURL")?n.SteamClient.URL.ExecuteSteamURL(t):n.location.href=t:n.open(t,void 0,"menubar,location,resizable,scrollbars,status,noopener")}function g(e){let{bDisableContextMenu:t,onContextMenu:n,bForceExternal:r,href:o,bUseLinkFilter:l,getPIDFromEvent:c}=e,u=(0,i._T)(e,["bDisableContextMenu","onContextMenu","bForceExternal","href","bUseLinkFilter","getPIDFromEvent"]);return t||n||(n=f),l&&o&&(o=(m.De.IN_CLIENT?"steam://openurl_external/":"")+(0,a.d)(o)),c||(c=()=>0),s.createElement("a",Object.assign({},u,{href:o,onClick:e=>{e.preventDefault(),v(window,o,{bForceExternal:!!r,bUseLinkFilter:!!l,unPID:c(e)})},onContextMenu:n,rel:l?"noopener noreferrer":void 0}),e.children)}function _(e){const{strURL:t,unPID:n}=e;return s.createElement(s.Fragment,null,s.createElement(h.Zo,{onSelected:()=>{u.J$(t)}},(0,d.Xx)("#ContextMenu_CopyLinkURL")),s.createElement(h.Zo,{onSelected:e=>{v(e,t,{unPID:n})}},(0,d.Xx)("#ContextMenu_OpenLinkInNewWindow")))}function f(e,t){let n=e.currentTarget;return(0,o.yV)(s.createElement(h.xV,null,s.createElement(_,{strURL:n.href,unPID:t})),e)}function v(e,t,n={}){const{bForceExternal:i,unPID:r,bUseLinkFilter:s}=n;let o;o="currentTarget"in e?e.currentTarget.ownerDocument.defaultView:e,"undefined"!=typeof SteamClient&&void 0!==SteamClient.WebChat?SteamClient.WebChat.OpenURLInClient(t,r||0,!!i):0==t.indexOf("steam://")&&0!=t.indexOf("steam://remoteplay/connect")?o.location.href=t:o.open(t,void 0,"menubar,location,resizable,scrollbars,status,noopener"+(s?",noreferrer":""))}const C=e=>s.createElement(s.Fragment,null,Boolean(e.condition)?e.wrap(e.children):e.children);function S(e){return s.forwardRef((function(t,n){return s.createElement("div",Object.assign({},t,{className:(0,c.Z)(e,t.className),ref:n}))}))}function b(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,i.gn)([r.LO],class{constructor(e){this.m_Value=void 0,(0,r.rC)(this),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)},77816:(e,t,n)=>{"use strict";n.d(t,{TP:()=>i,UA:()=>o,iD:()=>a,kN:()=>r});const i={x:"y",y:"x"};function r(){return{x:0,y:0}}function s(e,t){return e.x*t.x+e.y*t.y}function o(e,t){return{x:t.x-e.x,y:t.y-e.y}}function a(e,t){const n=o(e,t);return Math.sqrt(s(n,n))}},48766:(e,t,n)=>{"use strict";n.d(t,{Rq:()=>r,jg:()=>o,sw:()=>s});var i=n(50423);class r{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 s extends r{constructor(e,t,n){super(e,t),this.m_fnCallback=n}Update(e){this.m_fnCallback(e)}}class o extends r{constructor(e,t,n){super("ownerDocument"in e?i.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],i=n.start+(n.end-n.start)*e;this.m_object[t]=i}}}},83999:(e,t,n)=>{"use strict";function i(e,t=0){if((null==e?void 0:e.length)>1){let n=t>0?Math.min(t,e.length):e.length;for(;0!==n;){const t=Math.floor(Math.random()*n);n-=1;const i=e[n];e[n]=e[t],e[t]=i}}}function r(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 a(e,t){const n=e.findIndex(t);return n>=0&&(e.splice(n,1),!0)}function l(e,t){let n=0,i=e.length-1;for(;n<=i;){const r=Math.floor((n+i)/2),s=t(e[r]);if(s>0)n=r+1;else if(s<0)i=r-1;else{if(i==r)return r;if(r==n)return i>r&&t(e[r+1])<0?r:r+1;n=r}}return i}function c(e,t,n){return e||console.error("array should be defined for us to fill in the missing indexes"),e.lengths,LG:()=>c,LQ:()=>i,Qf:()=>a,Zf:()=>o,sL:()=>l,wc:()=>r})},62210:(e,t,n)=>{"use strict";function i(e,t,...n){try{console.assert?0==n.length?console.assert(!!e,t):console.assert(!!e,t,...n):e||console.warn(t,...n)}catch(e){}}function r(e,t,...n){i(!1,t,...n)}n.d(t,{X:()=>i,Z:()=>r})},16649:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var i=n(80751),r=n.n(i),s=n(79545);function o(e){if(r().isCancel(e))return{strErrorMsg:"Action Cancelled:"+e,errorCode:52};if(void 0!==e.response&&e.response.data&&"object"==typeof e.response.data){if("msg"in e.response.data)return{strErrorMsg:e.response.data.msg,errorCode:e.response.data.success};if("err_msg"in e.response.data)return{strErrorMsg:e.response.data.err_msg,errorCode:e.response.data.success};if("message"in e.response.data)return{strErrorMsg:e.response.data.message,errorCode:e.response.data.success};if("success"in e.response.data)return{strErrorMsg:"error code: "+e.response.data.success,errorCode:e.response.data.success}}else if("object"==typeof e.data){if("msg"in e.data)return{strErrorMsg:e.data.msg,errorCode:e.data.success};if("err_msg"in e.data)return{strErrorMsg:e.data.err_msg,errorCode:e.data.success};if("message"in e.data)return{strErrorMsg:e.data.message,errorCode:e.data.success};if("success"in e.data)return{strErrorMsg:"error code: "+e.data.success,errorCode:e.data.success}}else{if(void 0!==e.success&&void 0!==e.msg)return{strErrorMsg:e.msg,errorCode:e.success};if(void 0!==e.success&&void 0!==e.message)return{strErrorMsg:e.message,errorCode:e.success};if(void 0!==e.success&&void 0!==e.err_msg)return{strErrorMsg:e.err_msg,errorCode:e.success};if("string"==typeof e&&e.length>1024)console.groupCollapsed("GetMsgAndErrorCodeFromResponse cannot parse: "),console.warn(e),console.groupEnd();else{if("object"==typeof e&&e instanceof s.gA)return{strErrorMsg:""+e.GetErrorMessage(),errorCode:e.GetEResult()};console.warn("GetMsgAndErrorCodeFromResponse cannot parse: ",e)}}return"object"==typeof e&&"status"in e?{strErrorMsg:"Unknown Error: "+e+"\nStatus Code:"+e.status,errorCode:2}:{strErrorMsg:"Unknown Error: "+e,errorCode:2}}},16997:(e,t,n)=>{"use strict";function i(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:()=>i})},45492:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>d,G_:()=>m,Hf:()=>p,bX:()=>h,km:()=>u,pB:()=>o,vq:()=>l});var i=n(85556),r=n(83999),s=n(16997);class o{constructor(){this.m_vecCallbacks=[]}Register(e){this.m_vecCallbacks.push(e);return{Unregister:()=>{r.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 a{constructor(e,t){this.m_callbacks=new o,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 a(e,t)}class c{constructor(e,t,n){this.m_subscriptionRefCount=0,this.m_originalSubscribableValue=e,this.m_mappedSubscribableValue=new a(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:()=>{var e;n.Unsubscribe(),0==--this.m_subscriptionRefCount&&(null===(e=this.m_mappedUnsubscribe)||void 0===e||e.Unsubscribe(),this.m_mappedUnsubscribe=void 0)}}}}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;const e=this.m_fnCallback;this.m_fnCallback=void 0,null==e||e()}}(0,i.gn)([s.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(const e of this.m_rgListeners)e.element.removeEventListener(e.type,e.listener);this.m_rgListeners=[]}}function h(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t=[],n=Object.keys(e);n.forEach((n=>t.push(e[n])));return(yield Promise.all(t)).reduce(((e,t,i)=>(e[n[i]]=t,e)),{})}))}class p{constructor(){this.m_vecCallbacks=[]}Push(e){this.m_vecCallbacks.push(e)}PushArrayRemove(e,t){this.m_vecCallbacks.push((()=>r.Zf(e,t)))}Unregister(){for(const e of this.m_vecCallbacks)e();this.m_vecCallbacks=[]}GetUnregisterFunc(){return this.Unregister}}(0,i.gn)([s.a],p.prototype,"Unregister",null)},13129:(e,t,n)=>{"use strict";function i(...e){return e.reduce(((e,t)=>t?"string"==typeof t?e?`${e} ${t}`:t:"object"==typeof t?e?`${e} ${r(t)}`:r(t):e:e),"")}function r(e){return Object.keys(e).reduce(((t,n)=>e[n]?t?`${t} ${n}`:n:t),"")}n.d(t,{Z:()=>i})},46009:(e,t,n)=>{"use strict";function i(e){if(!s()||!window.document.cookie)return null;const t=document.cookie.match("(^|; )"+e+"=([^;]*)");return t&&t[2]?decodeURIComponent(t[2]):null}function r(e,t,n,i){if(!s())return;i||(i="/");let r="";if(void 0!==n&&n){const e=new Date;e.setTime(e.getTime()+864e5*n),r="; expires="+e.toUTCString()}document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+r+";path="+i}function s(){return!!window.document}n.d(t,{I1:()=>r,bG:()=>i,t$:()=>s})},60616:(e,t,n)=>{"use strict";function i(e,t=!0){return function(n,i,r){const s=r.value;r.value=function(...n){let r=this[i+"_DebounceProperties"];void 0===r&&(r=this[i+"_DebounceProperties"]={hTimer:void 0,nPending:0}),void 0===r.hTimer?(t?s.apply(this,n):r.nPending+=1,r.hTimer=window.setInterval((()=>{r.nPending>0?(s.apply(this,n),r.nPending=0):(window.clearInterval(r.hTimer),r.hTimer=void 0)}),e)):r.nPending+=1}}}n.d(t,{D:()=>i})},50423:(e,t,n)=>{"use strict";function i(e){return null!=e&&void 0!==e.focus}function r(e,t){var n;let i=t;for(;i;){if((null===(n=i.parentNode)||void 0===n?void 0:n.nodeType)==Node.DOCUMENT_FRAGMENT_NODE&&(i=i.parentNode.host),i==e)return!0;i=i.parentElement}return!1}function s(e,t){let n=0,i=0;return t.righte.right&&(n=t.left-e.right),t.bottome.bottom&&(i=t.top-e.bottom),Math.sqrt(n*n+i*i)}function o(e,t){return{top:e.screenTop+t.top,bottom:e.screenTop+t.bottom,left:e.screenLeft+t.left,right:e.screenLeft+t.right}}function a(e){let t;return e&&i(e.currentTarget)&&(t=e.currentTarget.ownerDocument.defaultView),t}function l(e){let t;return e&&(t=e.ownerDocument.defaultView),t}function c(e){const t="steam://openurl/";e.startsWith(t)&&(e=e.slice(16)),function(e){let t=window.document;try{t=window.top.document}catch(e){}const 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)}}(e)}function u(e){const t=e.ownerDocument;return t.fullscreen||t.webkitIsFullScreen||t.mozFullScreen||t.msFullscreenElement}function d(e,t){const 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 m(e){const t=e.ownerDocument;t.cancelFullscreen?t.cancelFullscreen():t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen()}function h(e){return"INPUT"===e.nodeName}function p(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 g(e){"loading"==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.d(t,{Dj:()=>g,Et:()=>f,Eu:()=>E,GB:()=>i,H8:()=>v,J$:()=>c,Jk:()=>C,LO:()=>D,Lh:()=>_,Mv:()=>b,RA:()=>a,RD:()=>d,U0:()=>S,V2:()=>w,_J:()=>p,b$:()=>y,dw:()=>s,h9:()=>u,kR:()=>l,mQ:()=>m,ni:()=>r,sH:()=>o,uk:()=>h});function _(e,t){const n=e;return n.lastModifiedDate=new Date,n.name=t||Date.now().toString(),e}function f(e,t){let n=null==e?void 0:e.parentElement;for(;n;){if(!t||"x"==t){const e=window.getComputedStyle(n);if("scroll"==e.overflowX||"auto"==e.overflowX||"fixed"==e.position)break}if(!t||"y"==t){const e=window.getComputedStyle(n);if("scroll"==e.overflowY||"auto"==e.overflowY||"fixed"==e.position)break}n=n.parentElement}return i(n)?n:null}function v(e,t){const n=[];let i=e;for(;i=f(i,t);)n.push(i);return n}function C(e,t){let n=e;for(;n;){if(t(n))return n;n=n.parentElement}}function S(e,t){if(!("ownerDocument"in e))return!0;const n=e.ownerDocument.defaultView.getComputedStyle(e),i="x"===t?n.overflowX:n.overflowY;return"auto"===i||"scroll"===i}function b(){return function(e){const t={};return e.querySelectorAll('link[rel="stylesheet"]').forEach((e=>{t[e.href]=e})),t}(document)}function w(e,t){y(e.document,t,!0)}function y(e,t,n){var i;const r=Object.assign({},t),s=e.getElementsByTagName("head")[0],o=s.getElementsByTagName("link"),a=o.length;for(let e=0;e{"use strict";n.d(t,{$1:()=>c.$1,CE:()=>y,Jr:()=>p,LJ:()=>u,LZ:()=>S,Mh:()=>c.Mh,Np:()=>c.Np,Qw:()=>d,XG:()=>c.XG,Xx:()=>m,Yt:()=>D,eH:()=>E,is:()=>w,jr:()=>c.jr,kQ:()=>h,kb:()=>v,m9:()=>c.m9,oL:()=>c.oL,vX:()=>c.vX,x$:()=>_,yW:()=>c.yW,yu:()=>g});var i=n(47427),r=n(77936),s=n(38071),o=n(37563),a=n(83999),l=n(45492),c=n(12251);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?s.IN.k_ESteamRealmChina:s.IN.k_ESteamRealmGlobal)}static GetLanguageListForRealms(e){const t=new Array;for(let n=0;n<31;n++)for(const i of e)if(this.IsELanguageValidInRealm(n,i)){t.push(n);break}return t}InitFromObjects(e,t,n,i,r){r||this.m_mapTokens.clear();const s=Object.assign(Object.assign({},n||{}),e),o=Object.assign(Object.assign({},i||{}),t||{});this.AddTokens(s,o),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,r.jM)(o.De.LANGUAGE)),(o.De.SUPPORTED_LANGUAGES||[]).forEach((e=>{e.value!=o.De.LANGUAGE&&t.push((0,r.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 '${o.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){return null!=D.LocalizeString(e,!0)}function m(e,...t){let n=D.LocalizeString(e);return void 0===n?e:C(n,...t)}function h(e,...t){let n=D.LocalizeString(e);if(void 0===n)return e;let r,s=[],o=/(.*?)%(\d+)\$s/g,a=0;for(;r=o.exec(n);){a+=r[0].length,s.push(r[1]);let e=parseInt(r[2]);e>=1&&e<=t.length&&s.push(t[e-1])}return s.push(n.substr(a)),i.createElement(i.Fragment,null,...s)}function p(e,t,...n){return 1===t||"1"===t?h(e,t,...n):h(e+"_Plural",t.toLocaleString(),...n)}function g(e,...t){let n=D.LocalizeIfToken(e);return void 0===n?e:f(n,...t)}function _(e,t,...n){let i;return i=m(1===t||"1"===t?e:e+"_Plural",t),void 0===i?e:f(i,...n)}function f(e,...t){let n,r=[],s=new RegExp(/(.*?)<(\d+)>(.*?)<\/(\2)>/,"gs"),o=0;for(;n=s.exec(e);){o+=n[0].length,r.push(n[1]);let e=parseInt(n[2]),s=n[3]||"",a=f(s,...t),l=(e>=1&&e<=t.length?t[e-1]:null)?i.cloneElement(t[e-1],{},s?a:null):s;r.push(l)}return r.push(e.substr(o)),i.createElement(i.Fragment,null,...r)}function v(e,t,...n){return 1===t||"1"===t?m(e,t,...n):m(e+"_Plural",t,...n)}function C(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 S{static Set(e,t,n){if(e.length<=t){if(t>=31)return e;e=(0,a.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 S.Get(e,t)||S.Get(e,u.GetELanguageFallback(t))}return null}}const b={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"},w={"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 y(){return b[o.De.LANGUAGE]||null}function E(e){let t,n=new Promise((e=>t=e)),i=Array(e.length),r=e.length;return e.forEach(((e,n)=>{Promise.resolve(e).then((e=>{i[n]=e,r--,0==r&&t(i)})).catch((e=>{console.error("Failed to load localization file: "+e),i[n]={},r--,0==r&&t(i)}))})),n}const D=new u;window.LocalizationManager=D},12251:(e,t,n)=>{"use strict";n.d(t,{$1:()=>c,Kb:()=>A,LO:()=>T,Mh:()=>L,Np:()=>I,Sc:()=>p,Ti:()=>d,U$:()=>i,XG:()=>D,ds:()=>B,jA:()=>k,jr:()=>v,kI:()=>R,m9:()=>f,o9:()=>m,oL:()=>a,vX:()=>u,yW:()=>l});var i,r=n(24289),s=n(31846),o=n(46984);function a(e,t){return l(Date.now()/1e3-e,t)}function l(e,t,n){let r;if("boolean"==typeof t){r={eSuffix:t?i.None:i.Ago,bForceSingleUnits:n,bHighGranularity:!1}}else r=Object.assign({eSuffix:i.Ago,bForceSingleUnits:!1,bHighGranularity:!1},t);let a="#TimeInterval_";r.eSuffix==i.Ago?a="#TimeSince_":r.eSuffix==i.Remaining&&(a="#TimeRemaining_");let l=e=>Math.floor(e);if(r.bAllowDecimal&&(l=e=>Math.round(10*e)/10),e>=2*o._H.PerYear)return(0,s.Xx)(a+"XYears",l(e/o._H.PerYear));if(e>=o._H.PerYear)return(e-=o._H.PerYear)>=2*o._H.PerMonth&&!r.bForceSingleUnits?(0,s.Xx)(a+"1YearXMonths",l(e/o._H.PerMonth)):(0,s.Xx)(a+"1Year");if(e>=2*o._H.PerMonth)return(0,s.Xx)(a+"XMonths",l(e/o._H.PerMonth));if(e>=2*o._H.PerWeek)return(0,s.Xx)(a+"XWeeks",l(e/o._H.PerWeek));if(e>=o._H.PerWeek)return(0,s.Xx)(a+"1Week",l(e/o._H.PerWeek));if(e>=2*o._H.PerDay)return(0,s.Xx)(a+"XDays",l(e/o._H.PerDay));if(e>=o._H.PerDay)return(e-=o._H.PerDay)>=2*o._H.PerHour&&!r.bForceSingleUnits?(0,s.Xx)(a+"1DayXHours",l(e/o._H.PerHour)):(0,s.Xx)(a+"1Day");if(e>=2*o._H.PerHour)return(0,s.Xx)(a+"XHours",l(e/o._H.PerHour));if(e>=o._H.PerHour)return(e-=o._H.PerHour)>=2*o._H.PerMinute&&!r.bForceSingleUnits?(0,s.Xx)(a+"1HourXMinutes",l(e/o._H.PerMinute)):(0,s.Xx)(a+"1Hour");if(e>=2*o._H.PerMinute){const t=Math.floor(e/o._H.PerMinute),n=e%o._H.PerMinute;return r.bHighGranularity&&0!=n?1==n?(0,s.Xx)(a+"XMinutes1Second",t):(0,s.Xx)(a+"XMinutesXSeconds",t,n):(0,s.Xx)(a+"XMinutes",l(e/o._H.PerMinute))}if(e>=o._H.PerMinute){const t=e%o._H.PerMinute;return r.bHighGranularity&&0!=t?1==t?(0,s.Xx)(a+"1Minute1Second"):(0,s.Xx)(a+"1MinuteXSeconds",t):(0,s.Xx)(a+"1Minute")}return r.bHighGranularity?1==e?(0,s.Xx)(a+"1Second"):(0,s.Xx)(a+"XSeconds",e):(0,s.Xx)(a+"LessThanAMinute")}function c(e,t,n){let i;i=void 0===t||!0===t||!1===t?{weekday:n?"long":"short",year:t?void 0:"numeric"}:t;let r=new Date(1e3*e);const o=Object.assign({weekday:"short",month:"long",day:"numeric",year:"numeric"},i);return r.toLocaleDateString(s.Yt.GetPreferredLocales(),o)}function u(e,t){let n,i=new Date(1e3*e);if(!t){const e=i.setHours(0,0,0,0);let t=g.get(e);if(t)return t}const r=Object.assign({year:"numeric",month:"short",day:"numeric"},t);return n=i.toLocaleDateString(s.Yt.GetPreferredLocales(),r),n}function d(e){return T(new Date(1e3*e))}function m(e){return I(new Date(1e3*e))}!function(e){e[e.None=0]="None",e[e.Ago=1]="Ago",e[e.Remaining=2]="Remaining"}(i||(i={}));const h=new Map;function p(e,t,n){const i=new Date(1e3*e),r=s.Yt.GetPreferredLocales(),o=(null==t?void 0:t.bForce24HourClock)||function(e){let t=h.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}),h.set(e,t),t}(r[0]),a=Object.assign(Object.assign({},o?{hour:"numeric",minute:"2-digit",hourCycle:"h23"}:{hour:"numeric",minute:"2-digit"}),n);return i.toLocaleTimeString(r,a)}const g=new Map,_=new Map;function f(e,t,n=!0,i=!0,o=!1){const a=new Date,l=new Date(1e3*e);if(l.getFullYear()!=a.getFullYear())return u(e);i&&r.zO((new Date).setHours(24,0,0,0)-a.getTime());const c=new Date;if(c.setHours(0,0,0,0),n)if(l>=c){if(c.setDate(c.getDate()+1),l=c)return(0,s.Xx)("#Time_Yesterday");const d={month:t?"long":"short",day:"numeric"};o&&(d.weekday="long");const m=l.setHours(0,0,0,0)+d.month;let h=_.get(m);return h||(h=l.toLocaleDateString(s.Yt.GetPreferredLocales(),d),_.set(m,h),h)}function v(e,t){const n=new Date(1e3*e),i=new Date,a=Object.assign({bGranularFutureTime:!1,bGranularTodayTimeOnly:!1,bGranularToday:!1,bGranularYesterday:!1,bGranularWeek:!1,bGranularPast:!1,bAbbreviateDayOfWeek:!1,bForce24HourClock:!1},t);if(n>i){if(!a.bGranularFutureTime)return r.zO(n.getTime()-i.getTime()),n.getFullYear()==i.getFullYear()?M(n):T(n);r.zO((new Date).setHours(24,0,0,0)-i.getTime());let e=new Date;return e.setHours(0,0,0,0),e.setDate(e.getDate()+1),n=l)return a.bGranularToday?a.bGranularTodayTimeOnly?p(e,{bForce24HourClock:a.bForce24HourClock}):(0,s.Xx)("#Time_Today_At",p(e,{bForce24HourClock:a.bForce24HourClock})):(0,s.Xx)("#Time_Today");if(l.setDate(i.getDate()-1),n>=l)return a.bGranularYesterday?(0,s.Xx)("#Time_Yesterday_At",p(e,{bForce24HourClock:a.bForce24HourClock})):(0,s.Xx)("#Time_Yesterday");l.setDate(i.getDate()-6);const u=new Date(l);if(a.bGranularWeek&&n>=u)return D(n,!1,!a.bAbbreviateDayOfWeek);if(a.bGranularPast)return(0,s.Xx)("#Time_Past_At",c(e,n.getFullYear()==i.getFullYear(),!a.bAbbreviateDayOfWeek),p(e,{bForce24HourClock:a.bForce24HourClock}));if(n>=u)return(0,s.Xx)("#TimeSince_ThisWeek");if(n.getMonth()==i.getMonth()&&n.getFullYear()==i.getFullYear()){const e=Math.floor((u.valueOf()-n.valueOf())/(1e3*o._H.PerWeek))+1;return 1==e?(0,s.Xx)("#TimeSince_1Week"):(0,s.Xx)("#TimeSince_XWeeks",e)}return n.getFullYear()==i.getFullYear()?M(n):T(n)}const C=new Map,S=new Map,b=new Map,w=new Map,y=new Map,E=new Map;function D(e,t=!1,n=!0){const i={weekday:n?"long":"short",day:"numeric",month:t?"long":"short"},r=e.setHours(0,0,0,0)+i.weekday+i.month;let o=y.get(r);return o||(o=e.toLocaleDateString(s.Yt.GetPreferredLocales(),i),y.set(r,o),o)}function L(e){let t=C.get(e.getDay());return t||(t=e.toLocaleDateString(s.Yt.GetPreferredLocales(),{weekday:"long"}),C.set(e.getDay(),t),t)}function M(e){let t=S.get(e.getMonth());return t||(t=e.toLocaleDateString(s.Yt.GetPreferredLocales(),{month:"long"}),S.set(e.getMonth(),t),t)}function R(e){let t=E.get(e.getMonth());return t||(t=e.toLocaleDateString(s.Yt.GetPreferredLocales(),{month:"short"}),E.set(e.getMonth(),t),t)}function I(e){let t=b.get(e.getFullYear());return t||(t=e.toLocaleDateString(s.Yt.GetPreferredLocales(),{year:"numeric"}),b.set(e.getFullYear(),t),t)}function T(e){const t=e.getMonth()+12*e.getFullYear();let n=w.get(t);return n||(n=e.toLocaleDateString(s.Yt.GetPreferredLocales(),{month:"long",year:"numeric"}),w.set(t,n),n)}function A(e){switch(e.getUTCMonth()){case 0:case 1:case 2:return(0,s.Xx)("#Time_QuarterOfYear_Q1",e.getUTCFullYear());case 3:case 4:case 5:return(0,s.Xx)("#Time_QuarterOfYear_Q2",e.getUTCFullYear());case 6:case 7:case 8:return(0,s.Xx)("#Time_QuarterOfYear_Q3",e.getUTCFullYear());default:return(0,s.Xx)("#Time_QuarterOfYear_Q4",e.getUTCFullYear())}}function k(e){const t=Math.floor(e/o._H.PerYear),n=Math.floor(e/o._H.PerMonth),i=Math.floor(e%o._H.PerMonth/o._H.PerDay),r=Math.floor(e%o._H.PerDay/o._H.PerHour),a=Math.floor(e%o._H.PerHour/o._H.PerMinute);return e%=o._H.PerMinute,t>0?(0,s.Xx)("#TimeRemaining_MoreThanOneYear"):n>0?(0,s.Xx)("#TimeRemaining_MonthsDays",n,i):i>0?(0,s.Xx)("#TimeRemaining_DaysHoursMinutes",i,r.toString().padStart(2,"0"),a.toString().padStart(2,"0")):r>0?(0,s.Xx)("#TimeRemaining_HoursMinutesSeconds",r.toString().padStart(2,"0"),a.toString().padStart(2,"0"),e.toString().padStart(2,"0")):(0,s.Xx)("#TimeRemaining_MinutesSeconds",a.toString().padStart(2,"0"),e.toString().padStart(2,"0"))}function O(e){return(void 0===e||isNaN(e))&&(e=0),{hours:Math.floor(e/3600),minutes:Math.floor(e%3600/60),seconds:Math.floor(e%60),fraction:e-Math.floor(e)}}function B(e){const t=O(e),n=60*t.hours+t.minutes,i=t.hours,r=Math.floor(t.hours/24),o=Math.floor(r/30);return o>1?(0,s.Xx)("#ReadableDuration_Months",o):1===o?(0,s.Xx)("#ReadableDuration_OneMonth",r):r>1?(0,s.Xx)("#ReadableDuration_Days",r):i>2?(0,s.Xx)("#ReadableDuration_Hours",i):n>2?(0,s.Xx)("#ReadableDuration_Minutes",n):n>1?(0,s.Xx)("#ReadableDuration_OneMinute"):(0,s.Xx)("#ReadableDuration_LessThanOneMinute")}},24549:(e,t,n)=>{"use strict";n.d(t,{AV:()=>s,X_:()=>o,l:()=>r});var i=n(31846);function r(e,t,n,r){let s=t;s="number"==typeof s?{nDigitsAfterDecimal:t,bUseBinary1K:n||void 0===n,bValueIsInBytes:!r,bValueIsRate:r,nMinimumDigitsAfterDecimal:0}:Object.assign({nDigitsAfterDecimal:2,bUseBinary1K:!0,bValueIsInBytes:!0,bValueIsRate:!1,nMinimumDigitsAfterDecimal:0},s);const o=s.bUseBinary1K?1024:1e3,a=o*o,l=a*o,c=l*o;let u,d="";e>c?(u=e/c,d="Tera"):e>l?(u=e/l,d="Giga"):e>a?(u=e/a,d="Mega"):e>o?(u=e/o,d="Kilo"):u=e;const m="#"+d+(s.bValueIsInBytes?"bytes":"bits")+(s.bValueIsRate?"_PerSecond":"");return(0,i.Xx)(m,u.toLocaleString(i.Yt.GetPreferredLocales(),{minimumFractionDigits:s.nMinimumDigitsAfterDecimal,maximumFractionDigits:s.nDigitsAfterDecimal}))}function s(e){return e?e.toLocaleString(i.Yt.GetPreferredLocales()):""+e}function o(e){return e>1e9?Math.trunc(e/1e9).toString()+"B":e>1e6?Math.trunc(e/1e6).toString()+"M":e>1e3?Math.trunc(e/1e3).toString()+"K":e.toString()}},68785:(e,t,n)=>{"use strict";n.d(t,{sO:()=>c});var i=n(85556),r=n(16997),s=n(61134),o=n(45492);const a=["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","VRDashboardPopupStore","VRGamepadUIMessages","VRPathProperties"];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=void 0,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,i;const r=u.Get().IsDebugLogEnabled(this.m_sName);if(e==l.Debug&&!r)return;let s=this.m_sName;const o=null!==(i=null===(n=this.m_fnIdGenerator)||void 0===n?void 0:n.call(this))&&void 0!==i?i:null;null!=o&&(s+=" ("+o+")");d(e,r,u.Get().IncludeBacktraceInLog,s,this.m_sName,...t)}}(0,i.gn)([r.a],c.prototype,"Debug",null),(0,i.gn)([r.a],c.prototype,"Info",null),(0,i.gn)([r.a],c.prototype,"Warning",null),(0,i.gn)([r.a],c.prototype,"Error",null),(0,i.gn)([r.a],c.prototype,"Assert",null);class u{constructor(){this.m_Storage=null,this.m_setEnabledDebugLogs=new Set,this.m_bIncludeBacktraceInLog=!1,this.m_SettingsChangedCallback=new o.pB,this.m_bLoading=!1,this.m_Storage=new s.Z,this.m_rgLogNames=a.slice(),this.LoadSettings()}LogAsLogManager(...e){d(l.Info,!0,this.IncludeBacktraceInLog,"LogManager","LogManager",...e)}LoadSettings(){var e,t;return(0,i.mG)(this,void 0,void 0,(function*(){this.m_bLoading=!0,this.m_bIncludeBacktraceInLog=!!(yield null===(e=this.m_Storage)||void 0===e?void 0:e.GetObject(u.k_IncludeBacktraceInLog_StorageKey));const n=yield null===(t=this.m_Storage)||void 0===t?void 0:t.GetObject(u.k_EnabledLogNames_StorageKey);Array.isArray(n)&&(this.m_setEnabledDebugLogs=new Set(n),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(){var e,t;return(0,i.mG)(this,void 0,void 0,(function*(){yield null===(e=this.m_Storage)||void 0===e?void 0:e.StoreObject(u.k_EnabledLogNames_StorageKey,Array.from(this.m_setEnabledDebugLogs)),yield null===(t=this.m_Storage)||void 0===t?void 0:t.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,i.mG)(this,void 0,void 0,(function*(){this.SetDebugLogEnabled(e,!this.IsDebugLogEnabled(e))}))}SetDebugLogEnabled(e,t){return(0,i.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,i.mG)(this,void 0,void 0,(function*(){this.m_setEnabledDebugLogs=new Set(e?a:[]),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,i.mG)(this,void 0,void 0,(function*(){this.m_bIncludeBacktraceInLog=e,this.m_SettingsChangedCallback.Dispatch(),yield this.SaveSettings()}))}}function d(e,t,n,i,r,...s){const o=function(e){let t=0;for(let n=0;n>0&255,t>>8&255,t>>16&255]}(r).map(((e,t)=>Math.round(Math.max(0,Math.min(255,255*(.8*(e/255-.5)+.15)))))),a=(299*(c=o)[0]+587*c[1]+114*c[2])/1e3>=128;var c;let u=i;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=s.length>=1&&"string"==typeof s[0]&&s[0].includes("%c"),m=d&&s.shift();let h;if(h=t?[`%c${u}%c:${d?" %c"+m:""}`,`color: ${a?"black":"white"}; background: rgb(${o.join(",")}); padding: 0 1ch; border-radius: 3px;`,"color: transparent; margin-right: -1ch",...d?[""]:[],...s]:s,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.clogerror?console.clogerror(3,...h):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)},45651:(e,t,n)=>{"use strict";function i(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}function r(e,t,n){return null==e||isNaN(e)?e:Math.max(t,Math.min(n,e))}function s(e,t,n,i,r){return i+(r-i)*(e-t)/(n-t)}function o(e,t,n,i,s){return r(i+(s-i)*(e-t)/(n-t),Math.min(i,s),Math.max(i,s))}n.d(t,{LO:()=>i,Lh:()=>r,bU:()=>o,r4:()=>s})},20417:(e,t,n)=>{"use strict";n.d(t,{KM:()=>i.KM,Gt:()=>u,it:()=>c,dn:()=>r.dn,ak:()=>d.a,B8:()=>i.B8,k$:()=>r.k$,Qg:()=>i.Qg,eF:()=>i.eF,NW:()=>i.NW,JI:()=>i.JI,vK:()=>i.vK,kD:()=>i.kD,X9:()=>i.X9,BE:()=>r.BE,I5:()=>i.I5,ww:()=>r.ww,xK:()=>r.xK,yU:()=>l,e1:()=>i.e1,fB:()=>i.fB,Dc:()=>i.Dc});var i=n(93855),r=n(32573),s=n(47427),o=n(62210);function a(e,t){return(0,r.xK)((n=>{if(!n)return;const i=t(n.ownerDocument.defaultView,(t=>{e(t[0])}));return i.observe(n),()=>i.unobserve(n)}),[e,t])}function l(e){return a(e,s.useCallback(((e,t)=>e.ResizeObserver?new e.ResizeObserver(t):((0,o.X)(!1,"ResizeObserver is not available"),{observe:()=>{},unobserve:()=>{},disconnect:()=>{}})),[]))}function c(e,...t){const n=new e.ownerDocument.defaultView.ResizeObserver(...t);return n.observe(e),n}function u(e,...t){const n=new e.ownerDocument.defaultView.IntersectionObserver(...t);return n.observe(e),n}var d=n(16997)},2041:(e,t,n)=>{"use strict";n.d(t,{R:()=>s,U:()=>o});var i=n(47427),r=n(42718);n(70610),n(10162);function s(e){const t=i.useRef(o),n=function(e,t,...n){console.log(`React-Query ${e}`,t,...n)};(0,r.setLogger)({log:(e,...t)=>n("LOG",e,...t),warn:(e,...t)=>n("WARN",e,...t),error:(e,...t)=>n("ERROR",e,...t)});let s=e.children;return e.debug,i.createElement(r.QueryClientProvider,{client:t.current},s)}const o=new r.QueryClient({defaultOptions:{queries:{staleTime:1/0}}})},93855:(e,t,n)=>{"use strict";n.d(t,{B8:()=>o,Dc:()=>g,I5:()=>v,JI:()=>d,KM:()=>l,NW:()=>a,Qg:()=>h,X9:()=>_,e1:()=>p,eF:()=>u,fB:()=>c,kD:()=>f,vK:()=>m});var i=n(47427),r=n(32573),s=n(50423);n(20417),n(46984),n(12251);function o(e,t,n){return[e,t,n]}function a(){const[,e]=i.useState(0);return i.useCallback((()=>e((e=>e+1))),[])}function l(e){let t=1,n=e;for(;null!=n&&"HTML"!=n.tagName;){const e=getComputedStyle(n);if(e.zoom){const n=Number.parseFloat(e.zoom);isNaN(n)||(t*=n)}n=n.parentElement}return t}function c(e){const t=i.useRef({flLastExecutionTimeMs:0,fnLatestCallback:null,nTimeoutHandle:0,fnExecuteLatestCallback(){null!=this.fnLatestCallback&&(this.fnLatestCallback(),this.fnLatestCallback=null,this.flLastExecutionTimeMs=Date.now()),window.clearTimeout(this.nTimeoutHandle),this.nTimeoutHandle=0}});return i.useEffect((()=>{const e=t.current;return()=>e.fnExecuteLatestCallback()}),[]),i.useCallback((n=>{const i=t.current;i.fnLatestCallback=n;const r=Date.now()-i.flLastExecutionTimeMs,s=Math.max(e-r,0);window.clearTimeout(i.nTimeoutHandle),i.nTimeoutHandle=window.setTimeout((()=>i.fnExecuteLatestCallback()),s)}),[e])}function u(e,t,n){return(0,r.xK)((i=>{if(i&&t)return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t)}),[e,t])}function d(e,t,n,r){i.useEffect((()=>{if(e&&n)return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}),[e,t,n])}function m(e,t,n,i){return d(e,"message",(function(e){t.includes(e.data)&&n(this,e)}),i)}function h(e,t){i.useLayoutEffect((()=>{if(!t||!e)return;const n=e.Register(t);return()=>n.Unregister()}),[e,t])}function p(e){const[t,n]=i.useState(null==e?void 0:e.Value);return i.useEffect((()=>{if(null==e)return()=>{};const i=e.Subscribe(n);return t!==e.Value&&n(e.Value),null==i?void 0:i.Unsubscribe}),[e]),t}function g(e,t){return function(e,t){const[n,r]=i.useState(e);return i.useEffect((()=>{if(!e){const e=window.setTimeout((()=>r(!1)),t);return()=>window.clearTimeout(e)}r(!0)}),[e,t]),n}(e,t)||e}function _(e=!1){const[t,n]=i.useState(e);return[t,i.useCallback((()=>n(!0)),[]),i.useCallback((()=>n(!1)),[])]}function f(e){const t=i.useRef();return i.useCallback((()=>(t.current&&t.current.factory==e||(t.current={value:e(),factory:e}),t.current.value)),[e])}function v(e){return(0,r.xK)((t=>{if(!t||!e)return;const n=(0,s.H8)(t);return n.forEach((t=>t.addEventListener("scroll",e))),()=>n.forEach((t=>t.removeEventListener("scroll",e)))}),[e])}},32573:(e,t,n)=>{"use strict";n.d(t,{BE:()=>s,LY:()=>c,dn:()=>o,k$:()=>r,ww:()=>l,xK:()=>a});var i=n(47427);function r(e,t){null!=e&&("function"==typeof e?e(t):"current"in e&&(e.current=t))}function s(...e){return i.useCallback((t=>{for(const n of e)r(n,t)}),e)}function o(...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 a(e,t){const n=i.useRef();return i.useCallback((t=>{n.current&&n.current(),n.current=e(t)}),t)}function l(e){const t=i.useRef(null);return{refWithValue:t,refForElement:s(e,t)}}function c(e,t){const n=i.useRef(!1);i.useLayoutEffect((()=>()=>{n.current&&r(e,void 0)}),[e]),i.useLayoutEffect((()=>{(t||n.current)&&(r(e,t),n.current=!!t)}),[e,t])}},56617:(e,t,n)=>{"use strict";n.d(t,{i4:()=>s,lJ:()=>o});var i=n(47427),r=n(8285);function s(e,t){var n;const s=`${e}_HistoryValue`,o=(0,r.k6)(),a=(0,r.TH)(),l=null!==(n=a.state&&a.state[s])&&void 0!==n?n:t,c=i.useCallback((e=>{o.replace(o.location.pathname,Object.assign(Object.assign({},o.location.state),{[s]:e}))}),[o,s]);return[l,c]}function o(e,t,n){var s;const o=`${e}_HistoryValue`,a=(0,r.k6)(),l=(0,r.TH)(),c=null!==(s=l.state&&l.state[o])&&void 0!==s?s:n,u=i.useRef(!1),d=i.useRef(),m=i.useRef(),h=i.useCallback((e=>{if(u.current&&(d.current=e,!m.current)){const e=a.location.pathname;m.current=window.setTimeout((()=>{a.location.pathname!=e||a.location.state&&a.location.state[o]==d.current||a.replace(a.location.pathname,Object.assign(Object.assign({},a.location.state||{}),{[o]:d.current})),m.current=void 0}),t)}}),[a,o,t]);return i.useEffect((()=>{u.current=!0}),[]),[c,h]}},45284:(e,t,n)=>{"use strict";function i(e,t){return et?1:0}function r(e,t){return i(e.toLocaleLowerCase(),t.toLocaleLowerCase())}function s(e,t){let n=e.toString(),i="";for(let e=0;e0?`${a}${i}:${s(r,2)}:${s(o,2)}`:`${a}${r}:${s(o,2)}`}function a(e){if(!e)return"";if(DOMParser){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}return e}function l(e,t=""){return e.replace(/\bhttps?:\/\/\S+/gi,t)}function c(e,t,n=!0){let i=e.trim();if(i=i.replace(n?/\s+/g:/[ \t]+/g," "),i.length>t){i=i.substring(0,t);let e=i.replace(/^(.*([.!?])) .*$/,"$1"),r=e.length;(r<.6*t||r==t)&&(e=i.replace(/ [^ ]*$/,"...")),i=n?e.replace(/(\r\n|\n|\r)/gm,""):e}return i}function u(e){let t,n,i=0;if(0===e.length)return i;for(t=0;th,HA:()=>a,I8:()=>o,JD:()=>u,W5:()=>l,Xf:()=>d,eT:()=>i,nh:()=>m,oU:()=>c,tN:()=>r})},46984:(e,t,n)=>{"use strict";n.d(t,{QU:()=>l,U8:()=>s,_H:()=>i,_R:()=>a,pd:()=>o,yK:()=>r});const i={PerYear:31536e3,PerMonth:2628e3,PerWeek:604800,PerDay:86400,PerHour:3600,PerMinute:60};function r(e,t){return e.getFullYear()==t.getFullYear()&&e.getMonth()==t.getMonth()&&e.getDate()==t.getDate()}function s(e,t){return e.getFullYear()==t.getFullYear()}function o(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),0,0,0)}function a(e){return new Promise((t=>setTimeout(t,e)))}function l(){return Math.floor(Date.now()/1e3)}},13499:(e,t,n)=>{"use strict";n.d(t,{FM:()=>o,H7:()=>s,OL:()=>g,Pm:()=>c,XW:()=>a,bk:()=>f,dK:()=>d,et:()=>u,k6:()=>p,md:()=>_,xL:()=>h});var i=n(37563),r=(n(31846),n(19399));const s=/((?:(?:https?:)|(?:www[.,])|(?:[!#-;=?-Z\\\^-~]+[\.,](?:(?:[a-zA-Z]{2,4}[\.?]*[\/\\\?#])|(?:(?:biz|com|gallery|in|name|net|online|org|tech|trade|xyz)(?=\W|$)))))(?:[^ː\s"<>\[\]]*[^\\s"<>\[\],.ː:])?)/;function o(e){let t=new RegExp("^(steam://openurl(_external)?/)?((f|ht)tps?://)?([^@/?#]*@)?([^/#?]+)","im"),n=e.match(t);return n&&n.length>5?n[6].toString():e}function a(e){let t=o(e);return t.startsWith("www.")&&(t=t.slice(4)),t}const l=/^(steam|ftp|https?):\/\//;function c(e){return l.test(e)?e:"https://"+e}function u(e){return e?1!=i.De.EUNIVERSE?e:("http:"==e.substring(0,5)&&(e="https:"+e.substring(5)),e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/https:\/\/media.steampowered.com\//g,i.De.MEDIA_CDN_URL)).replace(/https:\/\/cdn.akamai.steamstatic.com\//g,i.De.MEDIA_CDN_URL)).replace(/https:\/\/cdn.cloudflare.steamstatic.com\//g,i.De.MEDIA_CDN_URL)).replace(/https:\/\/cdn.edgecast.steamstatic.com\//g,i.De.MEDIA_CDN_URL)).replace(/https:\/\/cdn.dota2.com\//g,i.De.MEDIA_CDN_URL)).replace(/https:\/\/storefront.steampowered.com\/v\/gfx\//g,i.De.MEDIA_CDN_URL+"steam/")).replace(/https:\/\/clan.akamai.steamstatic.com\//g,i.De.CLAN_CDN_ASSET_URL)).replace(/https:\/\/clan.cloudflare.steamstatic.com\//g,i.De.CLAN_CDN_ASSET_URL)).replace(/https:\/\/cdn.steamcommunity.com\//g,i.De.COMMUNITY_CDN_URL)).replace(/https:\/\/community.akamai.steamstatic.com\//g,i.De.COMMUNITY_CDN_URL)).replace(/https:\/\/community.cloudflare.steamstatic.com\//g,i.De.COMMUNITY_CDN_URL)).replace(/https:\/\/community.edgecast.steamstatic.com\//g,i.De.COMMUNITY_CDN_URL)).replace(/{IMG_URL}/g,i.De.IMG_URL)).replace(/{MEDIA_CDN_URL}/g,i.De.MEDIA_CDN_URL)).replace(/{MEDIA_CDN_COMMUNITY_URL}/g,i.De.MEDIA_CDN_COMMUNITY_URL)).replace(/{COMMUNITY_CDN_URL}/g,i.De.COMMUNITY_CDN_URL),e=(0,r.HZ)(e)):e}function d(e){if(!e)return!0;const t=o(e).toLocaleLowerCase();return[o(i.De.COMMUNITY_CDN_URL).toLocaleLowerCase(),o(i.De.MEDIA_CDN_URL).toLocaleLowerCase(),o(i.De.MEDIA_CDN_COMMUNITY_URL).toLocaleLowerCase(),o(i.De.STORE_CDN_URL).toLocaleLowerCase(),o(i.De.BASE_URL_SHARED_CDN).toLocaleLowerCase(),o(i.De.CLAN_CDN_ASSET_URL).toLocaleLowerCase(),"support.steampowered.com","steamcdn-a.akamaihd.net","cdn.cloudflare.steamstatic.com","cdn.akamai.steamstatic.com"].indexOf(t)>=0}function m(e,t){return`${i.De.MEDIA_CDN_URL}steam/apps/${e}/${t}`}function h(e){return m(e,"page_bg_generated.jpg")}function p(e){return m(e,"page_bg_generated_v6b.jpg")}function g(e){return i.De.SNR&&i.De.SNR.length>0&&e&&-1==e.toLocaleLowerCase().indexOf("snr=")?e+(e.indexOf("?")>=0?"&":"?")+"snr="+i.De.SNR:e}function _(e,t){try{const n=new URL(t),i=new URL(e);return n.href.replace(/\/$/,"")+i.pathname+i.search+i.hash}catch(e){return""}}function f(e){return i.De.IN_STEAMUI&&!e.startsWith("steam://")&&(e=`steam://openurl/${e}`),e}},12135:(e,t,n)=>{"use strict";n.d(t,{b3:()=>o,n8:()=>a});var i=n(47427),r=n(43235),s=n(20417);function o(e){const[t,n]=i.useState(!1),o=i.useCallback((()=>{(0,r.w3)(e,"Window.IsWindowMaximized")?e.SteamClient.Window.IsWindowMaximized().then((e=>{n(e)})):(null==e?void 0:e.screen)&&n(e.screen.availWidth==e.innerWidth&&e.screen.availHeight==e.innerHeight)}),[e]);return i.useEffect(o,[o,e]),(0,s.JI)(e,"resize",o),(0,s.vK)(e,["window_moved"],o),t}function a(e,t=100){const[n,r]=i.useState(!1),o=i.useCallback((()=>r(!0)),[r]),a=i.useCallback((()=>r(!1)),[r]);return i.useEffect((()=>e?(e.addEventListener("focus",o),e.addEventListener("blur",a),()=>{e.removeEventListener("focus",o),e.removeEventListener("blur",a)}):void 0),[e,o,a]),(0,s.Dc)(n,t)}},6799:(e,t,n)=>{"use strict";n.d(t,{B:()=>d,M:()=>u});var i=n(47427),r=n(14243),s=n(50423),o=n(20417),a=n(37563);const l=new WeakMap;function c(e){if(e)return l.has(e)||l.set(e,new Set),l.get(e)}function u(e){const t=(0,a.qt)({bSuppressAssert:!0}).IN_VR,n=i.useMemo((()=>new Map),[]),[r,l]=i.useState(!1),u=i.useRef(void 0),d=e.onClick,m=i.useCallback((e=>{d&&d(e)}),[d]),h=e.onTouchStart,p=i.useCallback((e=>{for(const t of Array.from(e.targetTouches)){const i=c(e.view);if(!n.has(t.identifier)){if(i.has(t.identifier))continue;i.add(t.identifier),n.set(t.identifier,{bReceivedTouchMove:!1,bScrolled:!1,elemTouchStart:e.target})}}l(n.size>0),h&&h(e)}),[h,n]),g=e.onTouchMove,_=i.useCallback((e=>{for(const t of Array.from(e.changedTouches))n.has(t.identifier)&&(n.get(t.identifier).bReceivedTouchMove=!0);g&&g(e)}),[g,n]),f=e.onTouchEnd,v=i.useCallback((e=>{var t,i;let r=!1;for(const o of Array.from(e.changedTouches)){if(!n.has(o.identifier))continue;if(r||!u.current)continue;const a=n.get(o.identifier);if(n.delete(o.identifier),null===(t=c(e.view))||void 0===t||t.delete(o.identifier),!a.bReceivedTouchMove)continue;if(a.bScrolled)continue;const l=a.elemTouchStart,d=u.current.ownerDocument.elementFromPoint(o.clientX,o.clientY),m=(0,s.LO)((0,s.GB)(l)?l:void 0,(0,s.GB)(d)?d:void 0);u.current.contains(m)&&(null===(i=null==m?void 0:m.click)||void 0===i||i.call(m),r=!0)}l(n.size>0),f&&f(e)}),[f,n]);i.useEffect((()=>{var e,t,i;const r=c(null!==(i=null===(t=null===(e=u.current)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)&&void 0!==i?i:void 0);return()=>{for(const e of n.keys())null==r||r.delete(e)}}),[n]);const C=i.useCallback((e=>{for(const e of n.values())e.bScrolled=!0}),[n]),S=(0,o.I5)(r?C:void 0),b=(0,o.BE)(u,S);return t&&e.onClick?(e.onClick=m,e.onTouchStart=p,e.onTouchMove=_,e.onTouchEnd=v,b):void 0}function d(e){const t=(0,a.qt)({bSuppressAssert:!0}).IN_VR,n=e.onClick,s=i.useCallback((e=>{r.LT.PlayNavSound(r.qr.BasicNav),n&&n(e)}),[n]);t&&n&&(e.onClick=s)}},37563:(e,t,n)=>{"use strict";n.d(t,{De:()=>a.De,E_:()=>u,Ek:()=>c.Ek,JA:()=>a.JA,Kc:()=>y,L7:()=>a.L7,Me:()=>_,S$:()=>S,Uy:()=>f,Wj:()=>a.Wj,Zv:()=>E,dk:()=>a.dk,eG:()=>v,eL:()=>p,fI:()=>m,h4:()=>g,id:()=>h,ip:()=>c.ip,kQ:()=>c.kQ,qt:()=>d,wg:()=>C,x:()=>b,y9:()=>c.y9});var i=n(85556),r=n(47427),s=n(38071),o=n(62210),a=n(65255),l=n(41003),c=n(82756);const u=r.createContext({}),d=e=>{const t=r.useContext(u);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 m(e){var t;const{IN_GAMEPADUI:n,IN_DESKTOPUI:i,IN_VR:s,children:o}=e,c=d({bSuppressAssert:!0}),m=null===(t=(0,l.g3)())||void 0===t?void 0:t.startsWith("Gamepad VR"),h=r.useMemo((()=>{var e,t,r;return{IN_GAMEPADUI:null!==(e=null!=n?n:null==c?void 0:c.IN_GAMEPADUI)&&void 0!==e?e:a.De.IN_GAMEPADUI,IN_DESKTOPUI:null!==(t=null!=i?i:null==c?void 0:c.IN_DESKTOPUI)&&void 0!==t&&t,IN_VR:null!==(r=null!=s?s:null==c?void 0:c.IN_VR)&&void 0!==r?r:m}}),[c,n,i,s,m]);return r.createElement(u.Provider,{value:h},o)}function h(e){const t=d(e);return null==t?void 0:t.IN_GAMEPADUI}function p(e){const t=d(e);return null==t?void 0:t.IN_DESKTOPUI}function g(){return a.De.EREALM===s.IN.k_ESteamRealmChina}function _(){return"windows"==a.De.PLATFORM}function f(){return"macos"==a.De.PLATFORM}function v(){return"linux"==a.De.PLATFORM}function C(){return a.De.IN_CHROMEOS}function S(){return a.De.ON_STEAMOS}function b(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){if(null==n?void 0:n.config){const n=(yield e.get(t+"ajaxgetconfig")).data;n&&(delete n.SESSIONID,Object.assign(a.De,n))}if(null==n?void 0:n.userConfig){const n=(yield e.get(t+"ajaxgetuserconfig",{withCredentials:!0})).data;n&&Object.assign(a.L7,n)}}))}function w(e,t){return 0!=t.length&&e.startsWith(t)}function y(){if(!window||!window.location||!window.location.href)return console.warn("Unable to determine base url!"),"unknown";const e=window.location.href;return w(e,a.De.STORE_BASE_URL)?a.De.STORE_BASE_URL:w(e,a.De.COMMUNITY_BASE_URL)?a.De.COMMUNITY_BASE_URL:w(e,a.De.CHAT_BASE_URL)?a.De.CHAT_BASE_URL:w(e,a.De.PARTNER_BASE_URL)?a.De.PARTNER_BASE_URL:w(e,a.De.HELP_BASE_URL)?a.De.HELP_BASE_URL:w(e,a.De.STEAMTV_BASE_URL)?a.De.STEAMTV_BASE_URL:w(e,a.De.STATS_BASE_URL)?a.De.STATS_BASE_URL:w(e,a.De.INTERNAL_STATS_BASE_URL)?a.De.INTERNAL_STATS_BASE_URL:w(e,a.De.STORE_CHECKOUT_BASE_URL)?a.De.STORE_CHECKOUT_BASE_URL:w(e,"https://steamloopback.host")?"https://steamloopback.host":""}function E(){const e=window.location.href;return w(e,a.De.STORE_BASE_URL)||w(e,a.De.STORE_CHECKOUT_BASE_URL)?"store":w(e,a.De.COMMUNITY_BASE_URL)?"community":w(e,a.De.PARTNER_BASE_URL)?"partnerweb":w(e,a.De.HELP_BASE_URL)?"help":w(e,a.De.STEAMTV_BASE_URL)?"steamtv":w(e,a.De.STATS_BASE_URL)||w(e,a.De.INTERNAL_STATS_BASE_URL)?"stats":""}},65255:(e,t,n)=>{"use strict";n.d(t,{De:()=>r,JA:()=>a,L7:()=>s,Wj:()=>l,dk:()=>o});var i=n(82756);const r={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,i.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,CLIENT_SESSION:0};const s={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:""},o={steamid:"",clanid:0,listid:0},a={CLANSTEAMID:"",CLANACCOUNTID:0,APPID:0,VANITY_ID:"",IS_CREATOR_HOME:!1,IS_CURATOR:!1,IS_OGG:!1,CAN_UPLOAD_IMAGES:!1,IS_VALVE_GROUP:!1,IS_ALLOWED_SC:!1},l={ANNOUNCEMENT_GID:"",TAKEOVER_ANNOUNCEMENT_GID:""}},82756:(e,t,n)=>{"use strict";n.d(t,{Ek:()=>u,c9:()=>l,ip:()=>m,kQ:()=>d,y9:()=>g});var i=n(45651),r=n(46009),s=n(65255);const o="webui_config";let a;function l(){if(!(0,r.t$)())return a||(a=c()),a;let e=(0,r.bG)("sessionid");return e||(e=c()),e}function c(){const e=function(){let e="";for(let t=0;t<24;t++)e+=(0,i.LO)(0,35).toString(36);return e}();return(0,r.I1)("sessionid",e,0),e}function u(e=o){const t={},n=d("config",e);n&&(delete n.SESSIONID,Object.assign(s.De,n),t.config=!0);const i=d("userinfo",e);i&&(Object.assign(s.L7,i),t.userConfig=!0,s.L7.is_support&&g()&&(s.L7.is_support=!1));const r=d("broadcast",e);r&&(Object.assign(s.dk,r),t.broadcastConfig=!0);const a=d("community",e);a&&(Object.assign(s.JA,a),t.communityConfig=!0);const l=d("event",e);return l&&(Object.assign(s.Wj,l),t.eventConfig=!0),t}function d(e,t=o){return h(e,t,!0)}function m(e,t=o){return h(e,t,!1)}function h(e,t=o,n){let i;if(i="string"==typeof t?{NODE_ENV:"production",STEAM_BUILD:"buildbot"}.MOBILE_BUILD?null:document.getElementById(t):t,i)try{if(i.hasAttribute("data-"+e)){return JSON.parse(i.getAttribute("data-"+e))}return null}catch(e){console.error("Failed to parse config for "+s.L7.steamid+" ("+window.location.href+")",e)}else n&&console.error("Missing config element #",t)}const p="presentation_mode";function g(){let e=null;return(0,r.t$)()&&(e=(0,r.bG)(p)),Boolean(e&&1===Number.parseInt(e))}},316:(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"),123!==Array.from(new Set([123]))[0]&&console.error("Should not include prototypejs.")},41003:(e,t,n)=>{"use strict";n.d(t,{RY:()=>u,g3:()=>d,k0:()=>c});let i=!1,r=!1,s=!1,o=!1,a=!1,l=!1;function c(){return i||h(),r||s}function u(){return i||h(),l}function d(){if(!(null===navigator||void 0===navigator?void 0:navigator.userAgent))return;const e=navigator.userAgent.match(/Valve Steam ([^\/]*)\//);return e&&2==e.length?e[1]:void 0}function m(e,t){return!!window.location.href.match("[?&]"+t+"=")||!("undefined"==typeof navigator||!navigator.userAgent||-1==navigator.userAgent.toLowerCase().indexOf(e.toLowerCase()))}function h(){o=m("Valve Steam Tenfoot","force_tenfoot_client_view"),s=m("Valve Steam GameOverlay","force_overlay_view"),r=o||m("Valve Steam Client","force_client_view"),l=m("iphone","force_ios_view")||m("ipad","force_ios_view")||m("ipod","force_ios_view")||m("macintosh","force_ios_view")&&m("safari","force_ios_view"),a=m("android","force_android_view"),i=!0}},760:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u,l:()=>d});var i=n(37563);const r={},s={LoyaltyEquippedProfile:e=>`/points/profile/${e}`},o={LoyaltySteamBadge:()=>"/points/shop/c/steambadge",LoyaltyProfileCustomizations:()=>"/points/shop/profileshowcases"},a={LoyaltyItemBundles:()=>"/points/shop/c/itembundles",LoyaltyItemBundle:e=>`/points/shop/bundle/${e}`},l={JoinMultiplayerSession:()=>"/multiplayersession/:jointype(\\w+)"},c={},u=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({Home:()=>"/",Login:()=>"/login",OAuthLogin:()=>"/oauth/loginform",AppStorePage:()=>"/app/:appid(\\d+)/:gamename?",PackageStorePage:()=>"/sub/:subid(\\d+)/:packagename?",BundleStorePage:()=>"/bundle/:bundleid(\\d+)/:bundlename?",SaleLandingPage:()=>"/:prefix(sale|deckverified)/:salePageName",RemotePlay:()=>"/remoteplay_hub/",VRHardware:()=>"/vrhardware/",RemotePlayTogether:()=>"/together/",SteamDeck:()=>"/steamdeck/",SteamDeckDock:()=>"/steamdeckdock/",CreatorSaleLandingPage:()=>"/:prefix(curator|publisher|pub|dev|developer|franchise)/:creatorPageName/sale/:salePageName?",SubscriptionPlanLandingPage:()=>"/subscriptions/:salePageName",CuratorHomePage:()=>["/:prefix(publisher|pub|dev|developer|franchise|subscriptions|curator)/:curatorPageName","/:prefix(dlc)/:appid(\\d+)/:curatorPageName"],CuratorListPage:()=>["/:prefix(publisher|pub|dev|developer|franchise|subscriptions|curator)/:curatorPageName/:infix(list)?/:listid(\\d+)?","/:prefix(dlc)/:appid(\\d+)/:curatorPageName/:infix(list)?/:listid(\\d+)?"],CuratorAdminPage:()=>"/:prefix(publisher|pub|dev|developer|franchise|subscriptions|curator)/:curatorVanity/admin"},{NewsHub:()=>"/:prefix(news|newshub|events)",NewsHubApp:(e,t)=>`/:prefix(news|newshub|events)/app/${e}/${t}`,NewsHubGroup:(e,t)=>`/:prefix(news|newshub|events)/group/${e}/${t}`,NewsHubCollection:(e,t)=>`/:prefix(news|newshub|events)/collection/${e}/${t}`,NewsHubSale:(e,t)=>`/:prefix(news|newshub|events)/sale/${e}/${t}`,NewsHubContentHub:(e,t,n)=>`/:prefix(news|newshub|events)/${e}/${t}/${n}`,EventViewByApp:(e,t,n)=>`/:prefix(news|newshub|events)/app/${e}/:viewtype(view|inline)/${t}/${n}`,EventViewByGroup:(e,t,n)=>`/:prefix(news|newshub|events)/group/${e}/:viewtype(view|inline)/${t}/${n}`,OldAnnouncementViewByApp:(e,t,n)=>`/:prefix(news|newshub|events)/app/${e}/:viewtype(old_view|old_inline)/${t}/${n}`,OldAnnouncementViewByGroup:(e,t,n)=>`/:prefix(news|newshub|events)/group/${e}/:viewtype(old_view|old_inline)/${t}/${n}`}),{EventAdmin:()=>"/events_admin",EventModeration:()=>"/events_admin/(moderate)?/:appid(\\d+)?/",EventBackfill:()=>"/events_admin/backfill/"}),{EventModeration:()=>"/events_admin/:infix(moderate)?/:appid(\\d+)?/",EventBackfill:()=>"/events_admin/backfill/",EventGameFestivalDebug:()=>"/events_admin/gamefestival/:clanacountid(\\d+)/:claneventgid(\\d+)",EventRSSModeration:()=>"/events_admin/rss_admin/",InteractiveRecommender:()=>"/recommender/:steamid(\\d+)?/",LabsSandbox:()=>"/labs/sandbox",LabsHome:()=>"/labs",AccountPreferences:()=>"/account/"}),{SteamCharts:()=>"/charts/"}),{SteamAwardNominations:()=>"/steamawards/nominations/:steamid(\\d+)?",SteamAwards:()=>"/steamawards/:year(\\d+)?"}),{Loyalty:()=>"/points",LoyaltyStore:()=>"/points/shop",LoyaltyGetPoints:()=>"/points/getpoints",LoyaltyHowItWorks:()=>"/points/howitworks",LoyaltyStickers:()=>"/points/shop/c/stickers",LoyaltyEmoticons:()=>"/points/shop/c/emoticons",LoyaltyChatEffects:()=>"/points/shop/c/chateffects",LoyaltyBackgrounds:()=>"/points/shop/c/backgrounds",LoyaltyProfile:()=>"/points/shop/c/profile",LoyaltyAvatar:()=>"/points/shop/c/avatar",LoyaltyByGame:()=>"/points/shop/c/games",LoyaltyByEvent:()=>"/points/shop/c/events",LoyaltyGiveawayRules:()=>"/points/giveawayrules",LoyaltyEvents:e=>`/points/shop/event/${e}`}),{LoyaltySteamDeck:()=>"/points/shop/c/steamdeck"}),{LoyaltyKeyboard:()=>"/points/shop/c/keyboard"}),{LoyaltyStartupMovie:()=>"/points/shop/c/startupmovie"}),r),o),a),{LoyaltyProfileBundles:()=>"/points/shop/c/profilebundles",LoyaltyArtistProfiles:()=>"/points/shop/c/artistprofiles"}),s),{ContentHubHome:()=>"/:prefix(tags|category|genre|videos|weekly|vr|software|macos|linux|freetoplay|earlyaccess|pccafe|demos|specials|remoteplay_phone|remoteplay_tablet|remoteplay_tv|remoteplay_together|games|adultonly|soundtracks|greatondeck|controller|dlcforyou)"}),{Categories:()=>"/categories/"}),{SummerSale2021Story:()=>"/forgeyourfate"}),{MarketingMessages:()=>"/marketingmessages/"}),{YearInReview:(e,t)=>`/:prefix(yearinreview|replay)${e?"/"+e:"/"}${t?"/"+t:""}`}),l),{ShoppingCart:()=>"/cart/",ShoppingCartGifts:()=>"/cart/gifts/",ShoppingCartPurchaseRequest:()=>"/cart/purchaserequest/:familygroupid/:requestid",ShoppingCartAccountCartPurchaseRequested:()=>"/cart/purchaserequested/:familygroupid"}),c),{DiagData:()=>"/:anything*/diagdata"});function d(){let e=document.createElement("a");e.href=i.De.STORE_BASE_URL;let t=e.pathname;return t.endsWith("/")||(t+="/"),t}},99834:(e,t,n)=>{"use strict";var i=n(85556),r=(n(316),n(69414),n(24522)),s=n(47427),o=n(80751),a=n.n(o),l=n(37563),c=n(31846);var u=n(77936),d=n(760);var m=n(22871),h=n.n(m),p=n(8285),g=n(28017),_=n(53923),f=n(40057),v=n(61134),C=n(22791);class S extends s.Component{render(){if("dev"!==l.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(s.createElement("h1",{key:"header-"+n},n)),t.push(s.createElement(b,{key:"body-"+n,data:JSON.parse(e.getAttribute(n))})))})),s.createElement("div",null,t)}}class b extends s.Component{render(){return s.createElement("div",null,s.createElement("pre",null,JSON.stringify(this.props.data,null,2)))}}var w=n(15363),y=n(98843),E=n(41130),D=n(30750),L=n(91618),M=n(14243),R=n(22042),I=n(10162),T=n(27438),A=n(13129),k=n(20417),O=n(410),B=n.n(O);function x(e){const{manager:t}=e,n=(0,k.NW)();return(0,k.Qg)(t.OnMenusChanged,n),s.createElement(T.Yy,{active:!!t.ActiveMenu},s.createElement(N,{ActiveMenu:t.ActiveMenu}))}function N(e){const{ActiveMenu:t}=e,n=s.useCallback((()=>{null==t||t.OnCancel()}),[t]);s.useEffect((()=>()=>null==t?void 0:t.Hide()),[t]);let i=[],r=null;(0,D.SZ)((()=>{for(let e=t;e&&e.visible;e=e.submenu)i.push(s.createElement(P,{key:e.key,instance:e})),r=e.label}));const o=s.useCallback((e=>{e.currentTarget==e.target&&n()}),[n]);return s.createElement(T.e1,{padding:"none"},s.createElement("div",{onClick:o,className:(0,A.Z)("BasicUIContextMenu",B().BasicContextMenuModal)},r&&s.createElement(s.Fragment,null,s.createElement("div",{className:B().BasicContextMenuHeader},r)),s.createElement(L.s,{className:B().BasicContextMenuContainer,onCancelButton:n,onClick:o},i)))}function P(e){const{instance:t}=e,n=(0,l.id)(),i=s.useCallback((()=>{n&&M.LT.PlayNavSound(M.qr.FailedNav)}),[n]);let r=s.useMemo((()=>({instance:t,styles:B(),presentation:1,callbacks:{onDisabledItemSelected:i}})),[t,i]);return s.createElement(I.SV,null,s.createElement(R.Yr.Provider,{value:r},t.ReactElement))}var F=n(1485),G=n(82493),V=n(4030),H=n(99967),U=n.n(H),j=n(70716);function W(e){return s.useMemo((()=>{if(e)return function(e){return function(t){const{refNavTree:n,className:i,active:r,children:o,modalKey:a}=t,l=s.useRef(null);(0,G.cp)(l,r,!0);const c=(0,k.BE)(l,n);return s.createElement(G.Fe,{className:i,navTreeRef:c,secondary:!0,NavigationManager:e,navID:`ModalDialogOverlay_${a}`},o)}}(e)}),[e])}function Z(e){const{className:t,onEscKeypress:n,padding:i="standard",bGamepadUIScrollWithin:r,children:o}=e,a=(0,A.Z)(U().ModalPosition,"standard"==i&&U().WithStandardPadding,r&&U().ScrollWithin,t);return s.createElement(L.s,{className:a,onCancelButton:n,focusableIfNoChildren:!0},s.createElement(V.O,null,s.createElement(I.SV,null,o)))}function z(e){const t=s.useMemo((()=>({ModalPosition:Z})),[]);return s.createElement(j.A.Provider,{value:t},e.children)}function K(e){const t=W((0,E.L)()),n=s.useMemo((()=>({DropDownMenu:F.Eb,Content:F.ZY})),[]);return s.createElement(F.RD.Provider,{value:n},s.createElement(z,null,s.createElement(y.Y0,Object.assign({},e,{DialogWrapper:t,ContextMenuComponent:x}))))}function q(e){const t=(0,l.id)(),n=Object.assign({bRenderOverlayAtRoot:!0,bUsePopups:!1},e);return t?s.createElement(K,Object.assign({},n)):s.createElement(y.Y0,Object.assign({},n))}var $=n(14476),X=n(49632),Y=n.n(X),Q=n(75683);function J(e){return s.createElement("a",{href:l.De.STORE_BASE_URL+"parental/requestrecovery"},(0,c.Xx)("#FamilyView_Unlock_ForgotPIN"))}function ee(e){return s.createElement("div",null,(0,c.Xx)("#FamilyView_Unlock_NoRecovery"))}function te(e){const{url:t,bHasRecoveryEmail:n,strPostFormID:r}=e,[o,u]=s.useState(""),[d,m]=s.useState(""),h=s.useRef(),p=s.useCallback((e=>{var t;(!e.target.value||(t=e.target.value.slice(-1))>="0"&&t<="9"&&e.target.value.length<=4)&&m(e.target.value)}),[]),g=s.useCallback((e=>(0,i.mG)(this,void 0,void 0,(function*(){const n=new FormData;n.append("pin",e),n.append("sessionid",l.De.SESSIONID);const i=a().post(l.De.STORE_BASE_URL+"parental/ajaxunlock/",n,{withCredentials:!0}),s=a().post(l.De.STORE_CHECKOUT_BASE_URL+"parental/ajaxunlock/",n,{withCredentials:!0}),o=a().post(l.De.COMMUNITY_BASE_URL+"parental/ajaxunlock/",n,{withCredentials:!0}),d=a().post(l.De.STEAMTV_BASE_URL+"parental/ajaxunlock",n,{withCredentials:!0}),p=yield Promise.all([i,s,o,d]);for(let e of p)if(!e.data.success&&21!=e.data.eresult)return m(""),u(e.data.error_message||(0,c.Xx)("#FamilyView_Unlock_ErrorUnknown",e.data.eresult)),void h.current.focus();if(r){const e=h.current.ownerDocument.getElementById(r);e?e.submit():console.error(`ID ${r} not found in document`)}else window.location.href=t}))),[t,r]),_=s.useCallback((e=>{g(d),e.preventDefault()}),[g,d]);return s.createElement("div",{className:Y().ParentalPINDialog},s.createElement("form",{className:Y().ParentalUnlock,onSubmit:_},s.createElement("div",{className:Y().Body},s.createElement("div",{className:Y().Title},(0,c.Xx)("#FamilyView_Dialog_Title")),s.createElement("div",{className:Y().Description},(0,c.Xx)("#FamilyView_UnlockDialog_Description")),s.createElement("div",{className:Y().ErrorText},o||s.createElement("span",null," ")),s.createElement("input",{className:(0,A.Z)(Y().TextInput),ref:h,value:d,type:"password",autoFocus:!0,onChange:p}),s.createElement("div",{className:Y().ButtonWrapper},s.createElement(F.KM,{className:Y().Button,disabled:d.length<4,type:"submit"},(0,c.Xx)("#Button_OK"))),n?s.createElement(J,null):s.createElement(ee,null))))}function ne(e){const{feature:t,url:n,bHasRecoveryEmail:i,strRedirectFormID:r}=e;return s.createElement(te,{url:n,bHasRecoveryEmail:i,strPostFormID:r})}const ie=e=>{const{feature:t}=e,n=Math.log2(t),[i,r]=s.useState(s.createElement(s.Fragment,null," ")),o=(0,_.M)(),[a,l]=s.useState(!1),u=s.useCallback((e=>{84!==e.result?r((0,c.Xx)("#FamilyView_RequestFeatureAccess_GenericError",e.result)):l(!0)}),[]),d=s.useCallback((()=>{l(!0)}),[]),m=(0,Q.gS)(o,n,d,u),h=s.useCallback((e=>{r(s.createElement(s.Fragment,null," ")),m.mutate(),e.preventDefault()}),[m]);return s.createElement("div",{className:Y().ParentalPINDialog},s.createElement("form",{className:Y().ParentalRequest,onSubmit:h},s.createElement("div",{className:(0,A.Z)(Y().Body,a&&Y().Complete)},s.createElement("div",{className:Y().Title},(0,c.Xx)("#FamilyView_Dialog_Title")),!a&&s.createElement(s.Fragment,null,s.createElement("div",{className:Y().Description},(0,c.Xx)("#FamilyView_RequestFeatureAccess")),n!==$.JY&&s.createElement(s.Fragment,null,s.createElement("div",{className:Y().ErrorText},i||s.createElement("span",null," ")),s.createElement("div",{className:Y().ButtonWrapper},s.createElement(F.KM,{className:Y().Button,type:"submit"},(0,c.Xx)("#FamilyView_RequestFeatureAccess_Request"))))),a&&s.createElement("div",{className:Y().CompleteText},(0,c.Xx)("#FamilyView_RequestFeatureAccess_Complete")))))};var re=n(56480),se=n(90071),oe=n(25006),ae=n(54842),le=n(62613),ce=n(45651),ue=n(13447),de=n.n(ue),me=n(46157),he=n(45492);class pe{constructor(){this.m_elVideo=null,this.m_player=null,this.m_listeners=new he.G_,this.m_bPaused=!1,this.m_bUserInputNeeded=!1,this.m_nPlaybackTime=0,this.m_nVideoStartTime=0,this.m_nVideoDuration=0,(0,ae.rC)(this)}IsPaused(){return this.m_bPaused}GetUserInputNeeded(){return this.m_bUserInputNeeded}GetPlaybackTime(){return this.m_nPlaybackTime}GetTimelineDuration(){return this.m_nVideoDuration}Start(e,t){this.Stop(),this.m_elVideo=e,this.m_listeners.AddEventListener(this.m_elVideo,"playing",this.OnVideoPlaying),this.m_listeners.AddEventListener(this.m_elVideo,"pause",this.OnVideoPause),this.m_listeners.AddEventListener(this.m_elVideo,"timeupdate",this.OnVideoTimeUpdate),this.m_listeners.AddEventListener(this.m_elVideo,"ended",this.OnVideoEnd),this.m_listeners.AddEventListener(this.m_elVideo,"valve-bufferupdate",this.OnVideoTimeUpdate),this.m_listeners.AddEventListener(this.m_elVideo,"valve-downloadfailed",this.OnDownloadFailed),this.m_listeners.AddEventListener(this.m_elVideo,"valve-userinputneeded",this.OnUserInputNeeded),this.m_player=new me.C2(this.m_elVideo,!1),this.SetMute(!0),this.m_player.PlayMPD(t,null,null)}Stop(){this.m_listeners.Unregister(),this.m_player&&this.m_player.Close(),this.m_elVideo=null,this.m_player=null,this.m_bPaused=!1,this.m_bUserInputNeeded=!1,this.m_nPlaybackTime=0,this.m_nVideoStartTime=0,this.m_nVideoDuration=0}IsInitialized(){return!!this.m_player}OnVideoPlaying(){this.m_bPaused=!1,console.log("video playing")}OnVideoPause(){this.m_bPaused=!0,console.log("video paused")}OnVideoTimeUpdate(){this.m_nVideoStartTime=this.m_player.GetAvailableVideoStartTime(),this.m_nVideoDuration=this.m_player.GetBufferedLiveEdgeTime()-this.m_nVideoStartTime,this.m_nPlaybackTime=this.m_player.GetCurrentPlayTime()-this.m_nVideoStartTime}OnVideoEnd(){console.log("video ended")}OnDownloadFailed(){console.log("video download failed")}OnUserInputNeeded(){this.m_bUserInputNeeded=!0}UserInputReceived(){this.IsInitialized()&&(this.m_bUserInputNeeded=!1,this.m_player.SeekAndPlay(0))}SetVolume(e){this.IsInitialized()&&this.m_player.SetVolume(e)}SetMute(e){this.IsInitialized()&&this.m_player.SetMuted(e)}TogglePlayPause(){this.IsInitialized()&&(this.m_player.IsPaused()?this.Play():this.Pause())}Play(){this.IsInitialized()&&this.m_player.Play()}Pause(){this.IsInitialized()&&this.m_player.Pause()}Seek(e){this.m_player.Seek(this.m_nVideoStartTime+e)}}(0,i.gn)([ae.LO],pe.prototype,"m_bPaused",void 0),(0,i.gn)([ae.LO],pe.prototype,"m_bUserInputNeeded",void 0),(0,i.gn)([ae.LO],pe.prototype,"m_nPlaybackTime",void 0),(0,i.gn)([ae.LO],pe.prototype,"m_nVideoStartTime",void 0),(0,i.gn)([ae.LO],pe.prototype,"m_nVideoDuration",void 0),(0,i.gn)([k.ak],pe.prototype,"OnVideoPlaying",null),(0,i.gn)([k.ak],pe.prototype,"OnVideoPause",null),(0,i.gn)([k.ak],pe.prototype,"OnVideoTimeUpdate",null),(0,i.gn)([k.ak],pe.prototype,"OnVideoEnd",null),(0,i.gn)([k.ak],pe.prototype,"OnDownloadFailed",null),(0,i.gn)([k.ak],pe.prototype,"OnUserInputNeeded",null),(0,i.gn)([k.ak],pe.prototype,"UserInputReceived",null);var ge=n(45284);const _e=parseInt(de().nTimelineHoverEdgePadding);function fe(e){let{manifest:t,forcePause:n}=e,[i,r]=function(e){let t=s.useRef(new pe);return[(0,k.xK)((n=>{if(n)return t.current.Start(n,e),()=>t.current.Stop()}),[t,e]),t.current]}(t);!function(e,t){let n=s.useRef(!1),i=s.useRef(!1);if(n.current==t)return;t?(i.current=e.IsPaused(),e.Pause()):i.current||e.Play();n.current=t}(r,n);let o=(0,D.SZ)((()=>r.GetUserInputNeeded()));return s.createElement("div",{className:de().TrailerPlayer},s.createElement("video",{ref:i}),s.createElement(ve,{player:r}),o&&s.createElement(Ee,{player:r}))}function ve(e){let{player:t}=e,n=s.useCallback((()=>{t.TogglePlayPause()}),[t]);return s.createElement("div",{className:de().PlayerControls,onClick:n},s.createElement("div",{className:de().LowerControls},s.createElement("div",{className:de().LoweControlTopRow},s.createElement(Se,{player:t}),s.createElement(be,{player:t}),s.createElement(we,{player:t}),s.createElement(ye,{player:t})),s.createElement(Ce,{player:t})))}function Ce(e){let{player:t}=e,[n,i]=function(e){return(0,D.SZ)((()=>[e.GetPlaybackTime(),e.GetTimelineDuration()]))}(t),r=function(e){return s.useCallback((t=>{let n=t.currentTarget.getBoundingClientRect(),i=(t.pageX-n.left)/(n.right-n.left);e.Seek(i*e.GetTimelineDuration()),t.preventDefault(),t.stopPropagation()}),[e])}(t),[o,a,l,c,u,d,m,h]=function(e){let t=s.useRef(null),[n,i]=s.useState(!1),[r,o]=s.useState({nTickOffset:0,nHoverOffset:0,nPlaybackSeconds:0}),a=s.useCallback((e=>{i(!0)}),[i]),l=s.useCallback((e=>{i(!1)}),[i]),c=s.useCallback((n=>{if(!t.current)return;let i=n.currentTarget.getBoundingClientRect(),r=n.pageX-i.left,s=r/(i.right-i.left),a=Math.round(e.GetTimelineDuration()*s),l=t.current.getBoundingClientRect(),c=i.right-i.left,u=l.right-l.left,d=ce.Lh(r-u/2,0+_e,c-u-_e);o({nTickOffset:r,nHoverOffset:d,nPlaybackSeconds:a})}),[e,o]);return[t,a,l,c,n,r.nTickOffset,r.nHoverOffset,r.nPlaybackSeconds]}(t),p={left:d,display:u?"block":"none"},g={left:m,display:u?"block":"none"},_={width:`${ce.r4(n,0,i,0,100).toFixed(1)}%`};return s.createElement("div",{className:de().Timeline,onClick:r,onMouseMove:c,onMouseEnter:a,onMouseLeave:l},s.createElement("div",{className:(0,A.Z)(de().Bar,de().Buffered)}),s.createElement("div",{className:(0,A.Z)(de().Bar,de().Played),style:_}),s.createElement("div",{className:(0,A.Z)(de().HoverTick),style:p}),s.createElement("div",{ref:o,className:(0,A.Z)(de().HoverTime),style:g},(0,ge.I8)(h,!0)))}function Se(e){return s.createElement("div",null)}function be(e){return s.createElement("div",null)}function we(e){return s.createElement("div",null)}function ye(e){return s.createElement("div",null)}function Ee(e){let{player:t}=e,n=s.useCallback((()=>{t.UserInputReceived()}),[t]);return s.createElement("div",{className:de().UserInputNeeded,onClick:n},s.createElement(le.shV,null))}function De(e){let{id:t,manifest:n}=e,i=(0,D.SZ)((()=>!function(){Me||(Me=new Le,window.GameHighlightTrailers=Me,window.dispatchEvent(new CustomEvent("valve_gamehighlighttrailers_ready")));return Me}().BPlayTrailer(t))),r=function(e){let t=s.useRef(!1);e||(t.current=!0);return t.current}(i);return r?s.createElement(fe,{manifest:n,forcePause:i}):null}class Le{constructor(){this.m_mapTrailerPlay=new Map,(0,ae.rC)(this)}SetTrailerState(e,t){this.m_mapTrailerPlay.set(e,t)}BPlayTrailer(e){let t=this.m_mapTrailerPlay.get(e);return void 0!==t&&t}}(0,i.gn)([ae.LO],Le.prototype,"m_mapTrailerPlay",void 0);let Me=null;function Re(e){const t=(0,p.TH)();return t.pathname.includes("//")?(console.error(`Malformed path: "${t.pathname}"`),s.createElement(p.l_,{to:t.pathname.replace(/\/\//g,"/")})):e.redirect?s.createElement(p.l_,{push:!0,to:e.redirect||"/"}):null}var Ie=n(2041),Te=n(92790),Ae=n(42718),ke=n(65255),Oe=n(24549),Be=n(82252),xe=n.n(Be);function Ne(){const e=(0,oe.YR)(ke.De.STORE_BASE_URL+"cart"),t=(0,Te.cw)();return t.data?s.createElement("div",{className:xe().ShoppingCartCountCtn},s.createElement("a",{href:e,className:xe().CartCountButton},s.createElement(le.yTB,{className:xe().ShoppingCartSVG})," ",(0,c.Xx)("#Cart_CountWidget",(0,Oe.AV)(t.data)))):null}function Pe(){const e=(0,oe.YR)(ke.De.STORE_BASE_URL+"cart"),{data:t}=(0,Te.cw)();return t?s.createElement("a",{href:e},(0,c.kQ)("#Cart_CountWidget",s.createElement("b",null,(0,Oe.AV)(t)))):null}function Fe(){const{data:e}=(0,Te.cw)();return s.useEffect((()=>{window.SetReactNativeHeaderCartItemCount&&void 0!==e&&window.SetReactNativeHeaderCartItemCount(e)}),[e]),null}var Ge=n(5522),Ve=n(43981),He=n(34809),Ue=n(44731);const je=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3344),n.e(1213),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(708),n.e(9702),n.e(7311)]).then(n.bind(n,11001)))),We=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3344),n.e(1213),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(708),n.e(9702),n.e(7311)]).then(n.bind(n,11001)).then((e=>({default:e.ShoppingCartErrorModal})))));function Ze(e){return s.createElement(s.Fragment,null,s.createElement(re.d,{config:{"shoppingcart-count-widget":Ne,"shoppingcart-count-widget-responsive":Pe,"shoppingcart-count-updater-reactnative":Fe}}),s.createElement(ze,null))}function ze(e){const[t,n]=s.useState(null),[i,r]=s.useState(null),[o,a]=s.useState(null),[l,c]=s.useState(!1),[u,d]=s.useState(),m=(0,f.bY)(),h=(0,Ae.useQueryClient)(),p=(0,Ve.tv)(),g=l||!!t||!!o;s.useEffect((()=>{!u&&g&&(0,Ge.v)().then((()=>d(!0)))}),[u,g]);const _=s.useCallback(((e,t,i)=>{const s="number"==typeof e?[e]:e;c(!0),(0,Te.mI)(m,h,p,s,t,i).then((({success:e,result:t,items:i,replaced_packageids:s,existing_billing_agreementid:o,new_billing_agreement_recurring_packageid:l})=>{e?i.length>1?window.location.href=`${ke.De.STORE_BASE_URL}cart`:(n(i),r(s)):30==t&&o&&o.length>0?window.location.href=`${ke.De.STORE_BASE_URL}account/subscriptions/`+o+"/"+l:a(t||2)}))}),[h,m,p]);return s.useEffect((()=>{const e=window;e.ShowShoppingCart=()=>n([]),e.HideShoppingCart=()=>n(null),e.AddItemToCart=_;let t=window.rgOnAccountCartReadyCallbacks;return t&&(t.forEach((e=>e())),delete window.rgOnAccountCartReadyCallbacks),()=>{delete e.ShowShoppingCart,delete e.HideShoppingCart,delete e.AddItemToCart}}),[m,h,_]),u?s.createElement(s.Suspense,{fallback:null},!!t&&s.createElement(je,{key:JSON.stringify(t),lineItemIDs:t,replacedPackageIDs:i,closeCart:()=>{n(null),r(null)}}),!!o&&s.createElement(We,{active:!!o,onDismiss:()=>a(null),result:o})):null}var Ke=n(95082),qe=n(77151),$e=n(46009),Xe=n(60616);class Ye{constructor(){this.m_mapAppToSNRs=new Map,this.m_rgImpressionsToAdd=[]}AddImpression(e,t){qe.jg.Get().BIsLoaded()?this.InternalAddImpression(e,t):qe.jg.Get().HintLoad().then((()=>this.InternalAddImpression(e,t)))}BIsValid(){return!0}InternalAddImpression(e,t){if(!qe.jg.Get().BAppImpressionsAllowed())return void("dev"===l.De.WEB_UNIVERSE&&console.log("ImpressionTracker: Not allowing app impressions due to Cookie Prefs"));let n=!1;this.m_mapAppToSNRs.has(e)?-1==this.m_mapAppToSNRs.get(e).indexOf(t)&&(this.m_mapAppToSNRs.get(e).push(t),n=!0):(this.m_mapAppToSNRs.set(e,[t]),n=!0),n&&(this.m_rgImpressionsToAdd.push(`${e}@${t}`),this.UpdateCookie())}UpdateCookie(){const e=[(0,$e.bG)("app_impressions")||"",...this.m_rgImpressionsToAdd].join("|");this.m_rgImpressionsToAdd=[];const t=encodeURIComponent(e).length;t<=3200?(0,$e.I1)("app_impressions",e):console.warn(`Cookie max length exceeded ( ${t} > 3200 ), discarding impressions`)}}(0,i.gn)([(0,Xe.D)(1e3)],Ye.prototype,"UpdateCookie",null);const Qe=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3807),n.e(2276),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5331)]).then(n.bind(n,42495)))),Je=s.lazy((()=>Promise.all([n.e(460),n.e(7200),n.e(6882),n.e(7247),n.e(9424),n.e(9682)]).then(n.bind(n,67938)))),et=(s.lazy((()=>Promise.all([n.e(460),n.e(6882),n.e(7247),n.e(9424),n.e(1501)]).then(n.bind(n,19044)))),s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3425),n.e(3245),n.e(4801),n.e(7400),n.e(8436),n.e(6882),n.e(7247),n.e(9424),n.e(5944),n.e(6571),n.e(8986)]).then(n.bind(n,61216))))),tt=s.lazy((()=>Promise.all([n.e(3245),n.e(7400),n.e(6882),n.e(6571),n.e(988)]).then(n.bind(n,42705)))),nt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(8973),n.e(8429),n.e(5024),n.e(2706),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(259),n.e(6002),n.e(4601)]).then(n.bind(n,50327)))),it=s.lazy((()=>Promise.all([n.e(8015),n.e(6099),n.e(6882),n.e(7247),n.e(5944),n.e(2814)]).then(n.bind(n,19952)))),rt=s.lazy((()=>Promise.all([n.e(460),n.e(9766),n.e(3425),n.e(8359),n.e(6882),n.e(7247),n.e(9424),n.e(40)]).then(n.bind(n,46521)))),st=s.lazy((()=>Promise.all([n.e(9766),n.e(8973),n.e(5821)]).then(n.bind(n,479)))),ot=s.lazy((()=>n.e(1918).then(n.bind(n,85121)))),at=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(6520),n.e(3207)]).then(n.bind(n,33955)))),lt=s.lazy((()=>Promise.all([n.e(6882),n.e(7695),n.e(1825)]).then(n.bind(n,1688)))),ct=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3245),n.e(8429),n.e(4801),n.e(8359),n.e(1712),n.e(9177),n.e(3661),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(259),n.e(708),n.e(4970),n.e(8038),n.e(3238),n.e(691),n.e(2136)]).then(n.bind(n,63897)))),ut=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3245),n.e(8429),n.e(4801),n.e(8359),n.e(1712),n.e(3344),n.e(9177),n.e(3661),n.e(3321),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(259),n.e(708),n.e(4970),n.e(8038),n.e(3238),n.e(691),n.e(9788)]).then(n.bind(n,64663)))),dt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3245),n.e(8429),n.e(4801),n.e(8359),n.e(1712),n.e(3344),n.e(9177),n.e(3661),n.e(3321),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(259),n.e(708),n.e(4970),n.e(8038),n.e(3238),n.e(691),n.e(9788)]).then(n.bind(n,53553)))),mt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3245),n.e(8429),n.e(4801),n.e(8359),n.e(1712),n.e(9177),n.e(3661),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(259),n.e(708),n.e(4970),n.e(8038),n.e(3238),n.e(691),n.e(680)]).then(n.bind(n,13854)))),ht=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3245),n.e(8429),n.e(4801),n.e(8359),n.e(1712),n.e(9177),n.e(3661),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(259),n.e(708),n.e(4970),n.e(8038),n.e(3238),n.e(691),n.e(680)]).then(n.bind(n,98079)))),pt=s.lazy((()=>Promise.all([n.e(460),n.e(6882),n.e(7247),n.e(9424),n.e(4535)]).then(n.bind(n,9084)))),gt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(3540),n.e(9177),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(3238),n.e(556)]).then(n.bind(n,86445)))),_t=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(3540),n.e(9177),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(3238),n.e(556)]).then(n.bind(n,78862)))),ft=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3373),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(6520),n.e(4158)]).then(n.bind(n,52811)))),vt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3245),n.e(8429),n.e(1712),n.e(3807),n.e(3143),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(259),n.e(4970),n.e(8087)]).then(n.bind(n,45660)))),Ct=s.lazy((()=>Promise.all([n.e(8015),n.e(5024),n.e(5164),n.e(5944),n.e(1915),n.e(6002),n.e(3068)]).then(n.bind(n,70298)))),St=s.lazy((()=>Promise.all([n.e(6882),n.e(7695),n.e(1825)]).then(n.bind(n,90071)))),bt=s.lazy((()=>Promise.all([n.e(6882),n.e(7695),n.e(1825)]).then(n.bind(n,85401)))),wt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3344),n.e(1213),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(708),n.e(9702),n.e(7311)]).then(n.bind(n,46193)))),yt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(6909),n.e(6882),n.e(7247),n.e(9424),n.e(3369)]).then(n.bind(n,89457)))),Et=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3344),n.e(1213),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(708),n.e(9702),n.e(6957),n.e(7280)]).then(n.bind(n,79798)))),Dt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3344),n.e(1213),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(708),n.e(9702),n.e(6957),n.e(3375)]).then(n.bind(n,76957)))),Lt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3245),n.e(8429),n.e(4801),n.e(8359),n.e(1712),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(259),n.e(4970),n.e(8038),n.e(3805)]).then(n.bind(n,42957)))),Mt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3245),n.e(8429),n.e(4801),n.e(8359),n.e(1712),n.e(9177),n.e(3661),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(259),n.e(708),n.e(4970),n.e(8038),n.e(3238),n.e(691),n.e(2136)]).then(n.bind(n,60284)).then((e=>({default:e.Events}))))),Rt=s.lazy((()=>Promise.all([n.e(460),n.e(8015),n.e(9766),n.e(3398),n.e(3425),n.e(8973),n.e(3540),n.e(3245),n.e(8429),n.e(4801),n.e(8359),n.e(1712),n.e(9177),n.e(3661),n.e(6882),n.e(7247),n.e(9424),n.e(7695),n.e(5164),n.e(2365),n.e(5944),n.e(1915),n.e(6470),n.e(6520),n.e(259),n.e(708),n.e(4970),n.e(8038),n.e(3238),n.e(691),n.e(2136)]).then(n.bind(n,60284)).then((e=>({default:e.DemoAndQuickPitch}))))),It=s.lazy((()=>n.e(4118).then(n.bind(n,74479))));function Tt(e){return s.createElement(I.SV,null,s.createElement(p.AW,Object.assign({},e)))}function At(){return(0,s.useEffect)((()=>(console.log("Suspense boundary mounted."),()=>console.log("Suspense boundary unmounted."))),[]),null}function kt(){const[e,t]=s.useState(),[n,i]=s.useState(!1);return(0,s.useEffect)((()=>{const e=(0,c.CE)();e&&(document.documentElement.setAttribute("lang",e),c.Yt.SetPreferredLocales([e]));const n=function(e=!1){return e?(0,l.ip)("store_user_config","application_config"):(0,l.kQ)("store_user_config","application_config")}(!0);n&&(t(n),function(e){const t=(0,Ve.do)();if((0,He.jp)(t)){const n=e.accountcart;n&&(0,Ue.IS)(Ie.U,t,n.cart)}else if((0,He.wV)(t)){const n=e.shoppingcart;n&&(0,Ue.IS)(Ie.U,t,(0,Te.S6)(n))}}(n)),i(!0)}),[]),n?s.createElement(g.VK,{basename:(0,d.l)()},s.createElement("div",{className:h().App},s.createElement(Nt,{storeUserConfig:e},s.createElement(Pt,null),s.createElement(s.Suspense,{fallback:s.createElement(At,null)},s.createElement(p.rs,null,s.createElement(Tt,{exact:!0,path:d.Z.DiagData(),render:e=>s.createElement(S,Object.assign({},e,{key:"diab_data_"+e.match.params.gid,strConfigID:"application_config"}))}),s.createElement(Tt,{exact:!0,path:d.Z.Login()},s.createElement(re.d,{config:{login:e=>s.createElement(pt,Object.assign({},e))}})),s.createElement(Tt,{exact:!0,path:d.Z.OAuthLogin()},s.createElement(re.d,{config:{login:e=>s.createElement(pt,Object.assign({},e))}})),s.createElement(Tt,{exact:!0,path:d.Z.AppStorePage(),render:e=>{const{match:{params:{appid:t}}}=e;return s.createElement(re.d,{config:{"events-row":()=>s.createElement(Mt,{key:`appeventrow${t}`,appid:Number.parseInt(t)}),"review-award":()=>s.createElement(tt,{key:`appawardmodal${t}`}),"steamawardsvote-embed":()=>s.createElement(rt,{key:`steamawardsvote_${t}`,appID:Number.parseInt(t)}),"broadcast-embed":()=>s.createElement(nt,Object.assign({key:`appbroadcastcast_${t}`},e,{appid:Number.parseInt(t)})),"demo-and-quick-pitch":()=>s.createElement(Rt,{key:`appdemoquickpitch_${t}`,appID:Number.parseInt(t)}),"deck-verified-results":()=>s.createElement(lt,{appID:Number.parseInt(t),results:(0,l.kQ)("deckcompatibility","application_config"),appName:(0,l.kQ)("appname","application_config")}),"gamehighlight-trailer":e=>s.createElement(De,Object.assign({},e)),"discovery-queue-app-widget":()=>s.createElement(gt,{key:`discoveryqueue${t}`,appID:Number.parseInt(t)}),"game-notice-controller-required":()=>s.createElement(St,{appid:Number.parseInt(t),type:se.EPurchaseNoticeType.EPurchaseNoticeType_ControllerRequired}),"game-notice-vr-required":()=>s.createElement(St,{type:se.EPurchaseNoticeType.EPurchaseNoticeType_VRRequired}),"game-notice-vr-supported":()=>s.createElement(St,{type:se.EPurchaseNoticeType.EPurchaseNoticeType_VRSupported}),"store-sidebar-controller-support-info":e=>s.createElement(bt,Object.assign({},e))}})}}),s.createElement(Tt,{exact:!0,path:d.Z.SaleLandingPage(),render:e=>{const{match:{params:{salePagename:t}}}=e;return s.createElement(re.d,{config:{"sale-display":()=>s.createElement(mt,{key:`sale_${t}`,promotionName:`sale_${t}`,language:(0,u.jM)(l.De.LANGUAGE)}),"broadcast-embed":()=>s.createElement(nt,Object.assign({key:`broadcastsale_${t}`},e,{promotionName:t}))}})}}),s.createElement(Tt,{path:d.Z.CuratorAdminPage(),render:e=>s.createElement(re.d,{config:{"curator-admin-rss":()=>s.createElement(ut,null)}})}),s.createElement(Tt,{exact:!0,path:d.Z.CreatorSaleLandingPage(),render:e=>s.createElement(re.d,{config:{"sale-display":()=>s.createElement(mt,{key:"salecreator_"+e.match.params.creatorPageName+"_"+e.match.params.salePageName,promotionName:"sale_"+e.match.params.salePageName,language:(0,u.jM)(l.De.LANGUAGE)})}})}),s.createElement(Tt,{path:[d.Z.RemotePlay(),d.Z.RemotePlayTogether(),d.Z.VRHardware(),d.Z.SteamDeck(),d.Z.SteamDeckDock(),d.Z.SubscriptionPlanLandingPage()],render:e=>s.createElement(Ot,null)}),s.createElement(Tt,{exact:!0,path:d.Z.CuratorHomePage(),render:e=>s.createElement(re.d,{config:{"broadcast-embed":()=>s.createElement(nt,Object.assign({key:"curatorbroadcast_"+l.dk.clanid+"_"+l.dk.listid},e,{clanid:l.dk.clanid,listid:l.dk.listid}))}})}),s.createElement(Tt,{exact:!0,path:d.Z.CuratorListPage(),render:e=>s.createElement(re.d,{config:{"list-display":()=>s.createElement(at,{key:"curator_list",listid:e.match.params.listid})}})}),s.createElement(Tt,{exact:!0,path:d.Z.PackageStorePage(),render:e=>s.createElement(re.d,{config:{"broadcast-embed":()=>s.createElement(nt,{key:"packagebroadcast_"+e.match.params.subid,subid:Number.parseInt(e.match.params.subid)||0})}})}),s.createElement(Tt,{exact:!0,path:d.Z.BundleStorePage(),render:e=>s.createElement(re.d,{config:{"broadcast-embed":()=>s.createElement(nt,{key:"bundlebroadcast_"+e.match.params.bundleid,bundleid:Number.parseInt(e.match.params.bundleid)||0})}})}),s.createElement(Tt,{path:d.Z.NewsHub(),render:e=>s.createElement(re.d,{config:{"event-calendar":()=>s.createElement(ct,null)}})}),s.createElement(Tt,{path:d.Z.EventAdmin(),render:e=>s.createElement(re.d,{config:{"event-calendar":()=>s.createElement(dt,null)}})}),s.createElement(Tt,{exact:!0,path:d.Z.InteractiveRecommender(),render:e=>s.createElement(re.d,{config:{recommender:()=>s.createElement(Je,null)}})}),!1,s.createElement(Tt,{path:d.Z.LabsSandbox(),render:e=>s.createElement(it,null)}),s.createElement(Tt,{path:d.Z.SteamCharts(),render:e=>s.createElement(re.d,{config:{"react-root":()=>s.createElement(Qe,Object.assign({},e))}})}),s.createElement(Tt,{path:d.Z.Loyalty(),render:()=>s.createElement(re.d,{config:{"points-shop":()=>s.createElement(et,null)}})}),s.createElement(Tt,{path:d.Z.ContentHubHome(),render:e=>{const{match:{params:{category:t}}}=e;return s.createElement(re.d,{config:{"sale-display":()=>s.createElement(mt,{key:"contenthub_"+t,promotionName:"contenthub_"+t,language:(0,u.jM)(l.De.LANGUAGE)})}})}}),s.createElement(Tt,{path:d.Z.Categories(),render:()=>s.createElement(re.d,{config:{categories:()=>s.createElement(ht,null)}})}),s.createElement(Tt,{path:d.Z.AccountPreferences(),render:e=>s.createElement(st,Object.assign({},e))}),s.createElement(Tt,{exact:!0,path:d.Z.SummerSale2021Story(),render:e=>s.createElement(re.d,{config:{"forge-your-fate":()=>s.createElement(ot,null)}})}),s.createElement(Tt,{exact:!0,path:d.Z.LabsHome(),render:e=>s.createElement(re.d,{config:{"discovery-queue-button":()=>s.createElement(_t,null)}})}),s.createElement(Tt,{path:d.Z.MarketingMessages(),render:e=>s.createElement(ft,Object.assign({},e))}),s.createElement(Tt,{path:d.Z.YearInReview(),render:e=>s.createElement(vt,Object.assign({},e))}),s.createElement(Tt,{path:d.Z.ShoppingCartAccountCartPurchaseRequested(),render:e=>s.createElement(re.d,{config:{"react-root":()=>s.createElement(Et,{familyGroupID:e.match.params.familygroupid})}})}),s.createElement(Tt,{path:d.Z.ShoppingCartPurchaseRequest(),render:e=>s.createElement(re.d,{config:{"react-root":()=>s.createElement(Dt,{familyGroupID:e.match.params.familygroupid,requestID:e.match.params.requestid})}})}),s.createElement(Tt,{path:d.Z.ShoppingCartGifts(),render:e=>s.createElement(re.d,{config:{"react-root":()=>s.createElement(wt,{initialStep:"gifts"})}})}),s.createElement(Tt,{path:d.Z.ShoppingCart(),render:e=>s.createElement(re.d,{config:{"react-root":()=>s.createElement(wt,null)}})}),s.createElement(Tt,{path:d.Z.SteamAwards(),render:e=>s.createElement(re.d,{config:{"react-root":()=>s.createElement(Lt,null)}})}),s.createElement(Tt,{path:d.Z.JoinMultiplayerSession(),render:e=>s.createElement(yt,null)}),s.createElement(Tt,null,s.createElement(Re,null))))))):null}function Ot(e){const t=(0,p.TH)().pathname.split("/").filter(Boolean).pop(),n="sale_"+((null==t?void 0:t.split("?")[0])||"unknown");return s.createElement(re.d,{config:{"sale-display":()=>s.createElement(mt,{key:n,promotionName:n,language:(0,u.jM)(l.De.LANGUAGE)})}})}function Bt(e){const{storeUserConfig:t,children:n}=e,i=s.useCallback((()=>new C.J(l.De.WEBAPI_BASE_URL,null==t?void 0:t.webapi_token)),[null==t?void 0:t.webapi_token]),r=(0,k.kD)(i),o=(0,k.kD)(s.useCallback((()=>new v.Z),[])),a=(0,s.useMemo)((()=>({useActiveAccount:()=>l.L7.steamid})),[]);return s.createElement(_.B,{value:a},s.createElement(f.Ub,{useActiveSteamInterface:r,useStorage:o},n))}function xt(e){const{storeUserConfig:t,children:n}=e,i=s.useRef();i.current||(i.current=new Ye);let r=n;return(null==t?void 0:t.originating_navdata)&&(r=s.createElement(oe.uX,{uiData:e.storeUserConfig.originating_navdata},r)),s.createElement(oe.HC,null,s.createElement(Ke.Ff,{ImpressionTracker:i.current},r))}function Nt(e){const{storeUserConfig:t,children:n}=e;return s.createElement(xt,{storeUserConfig:t},s.createElement(w.u.Provider,{value:{bCanUseLink:!0}},s.createElement(l.fI,null,s.createElement(Bt,{storeUserConfig:t},s.createElement(Ie.R,null,s.createElement(q,null,n))))))}const Pt=s.memo((function(e){return s.createElement(s.Fragment,null,s.createElement(Ze,null),s.createElement(re.d,{config:{"green-envelope":()=>s.createElement(s.Suspense,{fallback:null},s.createElement(Ct,{bResponsiveHeader:!1,notifications:(0,l.kQ)("steam_notifications","application_config")})),"green-envelope-responsive":()=>s.createElement(s.Suspense,{fallback:null},s.createElement(Ct,{bResponsiveHeader:!0,notifications:(0,l.kQ)("steam_notifications","application_config")})),parentalunlock:e=>s.createElement(s.Suspense,{fallback:null},s.createElement(ne,Object.assign({},e))),"open-in-desktop-client":()=>s.createElement(s.Suspense,{fallback:null},s.createElement(It,null))}}),s.createElement(re.d,{config:{parentalfeaturerequest:e=>s.createElement(s.Suspense,{fallback:null},s.createElement(ie,Object.assign({},e)))}}))}));var Ft=n(92011),Gt=n(50423);n(33557);new Map;n(7765);(0,ae.jQ)({enforceActions:"never"}),Gt.Dj((function(){return(0,i.mG)(this,void 0,void 0,(function*(){(0,l.Ek)("application_config").userConfig||(yield(0,l.x)(a(),l.De.STORE_BASE_URL+"actions/",{userConfig:!0})),(0,Ft.Uh)().Init("Store",CLSTAMP,new C.J(l.De.WEBAPI_BASE_URL).GetServiceTransport()),yield function(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t=c.LJ.GetLanguageFallback(e),i=e===t,[r,s,o,a,l,u,d,m]=yield(0,c.eH)([n(11580)(`./shared_${e}.json`),n(64788)(`./sales_${e}.json`),n(89705)(`./main_${e}.json`),n(78832)(`./marketing_${e}.json`),i?{}:n(64050)(`./shared_${t}.json`),i?{}:n(60623)(`./sales_${t}.json`),i?{}:n(29790)(`./main_${t}.json`),i?{}:n(44444)(`./marketing_${t}.json`)]);c.Yt.AddTokens(Object.assign(Object.assign(Object.assign(Object.assign({},s),r),o),a),Object.assign(Object.assign(Object.assign(Object.assign({},u),l),d),m))}))}(l.De.LANGUAGE),document.getElementById("application_root")?r.createRoot(document.getElementById("application_root")).render(s.createElement(kt)):console.error('No "application_root" was found to target')}))}))},34809:(e,t,n)=>{"use strict";function i(e){return"account"===e.type}function r(e){return"anonymous"===e.type}function s(e){return"request"===e.type}function o(e){return"replay"===e.type}n.d(t,{_H:()=>s,jp:()=>i,s$:()=>o,wV:()=>r})},92790:(e,t,n)=>{"use strict";n.d(t,{Rn:()=>D,S6:()=>L,UZ:()=>y,cw:()=>b,g1:()=>S,mI:()=>w,tZ:()=>E});var i=n(85556),r=n(79545),s=n(82973),o=n(83065),a=n(58501),l=n(85516),c=n(80751),u=n.n(c),d=n(34809),m=n(44731),h=n(43981),p=n(42718),g=n(40057),_=n(31421),f=n(77151),v=n(80998),C=n(65255);function S(e){const t=(0,g.bY)(),n=(0,h.tv)();return(0,p.useQuery)((0,m.te)(n),(()=>(0,i.mG)(this,void 0,void 0,(function*(){return D(t,n)}))),Object.assign({staleTime:18e5},e))}function b(e){return S(Object.assign({select:e=>e.line_items.length},e))}function w(e,t,n,o,l,c){if((0,d.jp)(n)){const u=(o||[]).map((e=>({packageid:e})));return l&&u.push({bundleid:l}),function(e,t,n){return(0,i.mG)(this,void 0,void 0,(function*(){const i=r.gA.Init(s.QJ);if(!t||0===t.length)return console.error("No valid Package or Bundle provided to add to cart"),[8,null];t.forEach((e=>{const t=i.Body().add_items();e.packageid?t.set_packageid(e.packageid):e.bundleid?t.set_bundleid(e.bundleid):console.error("Neither a package nor bundle ID were provided with an item in AddItemsToAccountCart"),e.bIsGift&&t.flags().set_is_gift(!0)})),n&&i.Body().set_navdata(a.K.fromObject((0,_.bP)(n))),i.Body().set_user_country(C.L7.country_code);const o=yield s.Wr.AddItemsToCart(e,i);return o.BSuccess()||console.warn(`Failed to add item to account cart: ${o.GetEResult()}`),[o.GetEResult(),o.Body().toObject()]}))}(e,u,c).then((([e,i])=>(f.jg.Get().InvalidateCache(),1==e?((0,m.IS)(t,n,i.cart),{success:!0,items:i.line_item_ids,replaced_packageids:i.replaced_packages}):{success:!1,result:e,existing_billing_agreementid:i.existing_billing_agreementid,new_billing_agreement_recurring_packageid:i.new_billing_agreement_recurring_packageid})))}return y(e,o,l).then((([e,i])=>{if(f.jg.Get().InvalidateCache(),e){(0,m.IS)(t,n,L(i));const e=(o||[]).map((e=>i.lineitems.find((t=>{var n;return(null===(n=t.package_item)||void 0===n?void 0:n.packageid)===e}))));l&&e.push(i.lineitems.find((e=>{var t;return(null===(t=e.bundle_item)||void 0===t?void 0:t.bundleid)===l})));return{success:!0,items:e.filter(Boolean).map((e=>e.gidlineitem))}}return{success:!1}}))}function y(e,t,n,r){var s,o;return(0,i.mG)(this,void 0,void 0,(function*(){const e=new FormData;t&&(1===t.length?e.set("subid",t[0].toString()):t.forEach((t=>e.set("subid[]",t.toString())))),n&&e.set("bundleid",n.toString()),e.set("sessionid",C.De.SESSIONID),e.set("action","add_to_cart");const i=yield u().post(`${C.De.STORE_BASE_URL}cart/addtocart`,e);return[!!(null===(s=i.data)||void 0===s?void 0:s.success),null===(o=i.data)||void 0===o?void 0:o.contents]}))}function E(e,t,n,o,l){return(0,i.mG)(this,void 0,void 0,(function*(){const i=r.gA.Init(s.QJ);if(!t&&!n)return console.warn("No valid Package or Bundle provided to add to cart"),[8,null];const c=i.Body().add_items();t?c.set_packageid(t):n?c.set_bundleid(n):console.error("Neither a package nor bundle ID were provided with an item in AddItemsToAccountCart"),c.flags().set_is_gift(o),l&&i.Body().set_navdata(a.K.fromObject((0,_.bP)(l))),i.Body().set_user_country(C.L7.country_code);const u=yield s.Wr.AddItemsToCart(e,i);return u.BSuccess()||console.warn(`Failed to add item to account cart: ${u.GetEResult()}`),[u.GetEResult(),u.Body().toObject()]}))}function D(e,t){var n;return(0,i.mG)(this,void 0,void 0,(function*(){if((0,d.jp)(t)){const t=r.gA.Init(s.rm);t.Body().set_user_country(C.L7.country_code);const i=yield s.Wr.GetCart(e,t);return null===(n=i.Body().toObject())||void 0===n?void 0:n.cart}if((0,d.s$)(t)){const n=r.gA.Init(o.vE);(0,v.pA)(n),n.Body().set_gidreplayoftransid(t.gid);return function(e){let t={subtotal:e.estimated_totals.subtotal,line_items:[]};return t.line_items=e.cart_items.map((e=>{var t,n;let i;if(e.item_id.packageid)i=1;else{if(!e.item_id.bundleid)return;i=2}return{line_item_id:e.line_item_id,type:i,packageid:e.item_id.packageid,bundleid:e.item_id.bundleid,is_valid:!0,price_when_added:e.price_when_added,gift_info:e.gift_info,flags:{is_gift:!!(null===(t=e.gift_info)||void 0===t?void 0:t.accountid_giftee)},gidcoupon_applied:null===(n=e.coupon_applied)||void 0===n?void 0:n.gidcoupon}})).filter(Boolean),t}((yield o.ZY.ValidateCart(e,n)).Body().toObject())}{const n=r.gA.Init(l.AC);n.Body().set_gidshoppingcart(t.gid);return L((yield l.FP.GetShoppingCartContents(e,n)).Body().toObject().contents)}}))}function L(e){var t;let n={line_items:[]};return(null===(t=null==e?void 0:e.lineitems)||void 0===t?void 0:t.length)>0&&(n.line_items=e.lineitems.map((e=>{var t;return(null===(t=e.package_item)||void 0===t?void 0:t.gidbundle)?null:function(e){var t,n,i,r,s;let o={price_when_added:{},flags:{}};o.line_item_id=e.gidlineitem,(null===(t=e.bundle_item)||void 0===t?void 0:t.bundleid)?(o.bundleid=e.bundle_item.bundleid,o.type=2):e.package_item&&(o.packageid=e.package_item.packageid,o.price_when_added.amount_in_cents=null!==(i=null===(n=e.package_item.costwhenadded)||void 0===n?void 0:n.amount)&&void 0!==i?i:"",o.price_when_added.currency_code=null!==(s=null===(r=e.package_item.costwhenadded)||void 0===r?void 0:r.currencycode)&&void 0!==s?s:0,o.type=1);return o}(e)})).filter(Boolean)),n}},44731:(e,t,n)=>{"use strict";n.d(t,{IS:()=>u,N:()=>a,Yp:()=>c,te:()=>o});var i=n(34809),r=n(65255);function s(e){return(0,i.jp)(e)?e.type:e.gid}function o(e){return["shopping_cart",s(e),r.L7.accountid]}function a(e){return["validate_checkout",s(e),r.L7.accountid]}function l(e,t){e.invalidateQueries(a(t))}function c(e,t){e.invalidateQueries(o(t)),l(e,t)}function u(e,t,n){e.setQueryData(o(t),n),l(e,t)}},43981:(e,t,n)=>{"use strict";n.d(t,{do:()=>o,lh:()=>c,tv:()=>l});var i=n(47427),r=n(46009),s=n(65255);function o(){if(s.L7.logged_in)return{type:"account"};return{type:"anonymous",gid:(0,r.bG)("shoppingCartGID")}}const a=i.createContext({cartID:void 0});function l(){return i.useContext(a).cartID||o()}function c(e){const{cartID:t,children:n}=e,r=i.useMemo((()=>({cartID:t})),[t]);return i.createElement(a.Provider,{value:r,children:n})}},5522:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var i=n(85556),r=n(31846),s=n(65255);function o(){return(0,i.mG)(this,void 0,void 0,(function*(){const e=s.De.LANGUAGE,t=r.LJ.GetLanguageFallback(e),i=e===t,[o,a]=yield Promise.all([n(78960)(`./shoppingcart_${e}.json`),i?void 0:n(25627)(`./shoppingcart_${t}.json`)]);r.Yt.AddTokens(o.default,a?a.default:void 0)}))}},78832:(e,t,n)=>{var i={"./marketing_brazilian.json":[24421,4458],"./marketing_bulgarian.json":[7545,8960],"./marketing_czech.json":[58229,3453],"./marketing_danish.json":[30114,2581],"./marketing_dutch.json":[95845,874],"./marketing_english.json":[5,4929],"./marketing_finnish.json":[76525,7942],"./marketing_french.json":[45185,4199],"./marketing_german.json":[60503,2824],"./marketing_greek.json":[67395,7871],"./marketing_hungarian.json":[64634,8994],"./marketing_indonesian.json":[5725,8399],"./marketing_italian.json":[14031,8001],"./marketing_japanese.json":[93191,7082],"./marketing_koreana.json":[80166,4171],"./marketing_latam.json":[83212,9899],"./marketing_norwegian.json":[65973,6169],"./marketing_polish.json":[5640,2448],"./marketing_portuguese.json":[46454,5257],"./marketing_romanian.json":[55238,8774],"./marketing_russian.json":[10557,903],"./marketing_sc_schinese.json":[34221,9919],"./marketing_schinese.json":[40517,4033],"./marketing_spanish.json":[73425,2601],"./marketing_swedish.json":[85214,6019],"./marketing_tchinese.json":[28747,9903],"./marketing_thai.json":[47822,4238],"./marketing_turkish.json":[28246,819],"./marketing_ukrainian.json":[80870,6035],"./marketing_vietnamese.json":[8467,6846]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=78832,e.exports=r},44444:(e,t,n)=>{var i={"./marketing_brazilian.json":[24421,4458],"./marketing_bulgarian.json":[7545,8960],"./marketing_czech.json":[58229,3453],"./marketing_danish.json":[30114,2581],"./marketing_dutch.json":[95845,874],"./marketing_english.json":[5,4929],"./marketing_finnish.json":[76525,7942],"./marketing_french.json":[45185,4199],"./marketing_german.json":[60503,2824],"./marketing_greek.json":[67395,7871],"./marketing_hungarian.json":[64634,8994],"./marketing_indonesian.json":[5725,8399],"./marketing_italian.json":[14031,8001],"./marketing_japanese.json":[93191,7082],"./marketing_koreana.json":[80166,4171],"./marketing_latam.json":[83212,9899],"./marketing_norwegian.json":[65973,6169],"./marketing_polish.json":[5640,2448],"./marketing_portuguese.json":[46454,5257],"./marketing_romanian.json":[55238,8774],"./marketing_russian.json":[10557,903],"./marketing_sc_schinese.json":[34221,9919],"./marketing_schinese.json":[40517,4033],"./marketing_spanish.json":[73425,2601],"./marketing_swedish.json":[85214,6019],"./marketing_tchinese.json":[28747,9903],"./marketing_thai.json":[47822,4238],"./marketing_turkish.json":[28246,819],"./marketing_ukrainian.json":[80870,6035],"./marketing_vietnamese.json":[8467,6846]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=44444,e.exports=r},64788:(e,t,n)=>{var i={"./sales_brazilian.json":[56195,4812],"./sales_bulgarian.json":[59784,3634],"./sales_czech.json":[33497,1722],"./sales_danish.json":[7401,4961],"./sales_dutch.json":[57409,101],"./sales_english.json":[12445,7952],"./sales_finnish.json":[87956,3313],"./sales_french.json":[98965,7724],"./sales_german.json":[43093,3685],"./sales_greek.json":[45906,4447],"./sales_hungarian.json":[6131,8993],"./sales_indonesian.json":[48340,2681],"./sales_italian.json":[16260,6693],"./sales_japanese.json":[53461,7094],"./sales_koreana.json":[2335,584],"./sales_latam.json":[55341,4682],"./sales_norwegian.json":[90497,1164],"./sales_polish.json":[80600,4248],"./sales_portuguese.json":[57278,5414],"./sales_romanian.json":[30499,1012],"./sales_russian.json":[70338,61],"./sales_sc_schinese.json":[81081,6762],"./sales_schinese.json":[56194,1043],"./sales_spanish.json":[40545,3174],"./sales_swedish.json":[31725,5855],"./sales_tchinese.json":[43004,7181],"./sales_thai.json":[29505,4166],"./sales_turkish.json":[23981,8767],"./sales_ukrainian.json":[59125,7934],"./sales_vietnamese.json":[29509,77]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=64788,e.exports=r},60623:(e,t,n)=>{var i={"./sales_brazilian.json":[56195,4812],"./sales_bulgarian.json":[59784,3634],"./sales_czech.json":[33497,1722],"./sales_danish.json":[7401,4961],"./sales_dutch.json":[57409,101],"./sales_english.json":[12445,7952],"./sales_finnish.json":[87956,3313],"./sales_french.json":[98965,7724],"./sales_german.json":[43093,3685],"./sales_greek.json":[45906,4447],"./sales_hungarian.json":[6131,8993],"./sales_indonesian.json":[48340,2681],"./sales_italian.json":[16260,6693],"./sales_japanese.json":[53461,7094],"./sales_koreana.json":[2335,584],"./sales_latam.json":[55341,4682],"./sales_norwegian.json":[90497,1164],"./sales_polish.json":[80600,4248],"./sales_portuguese.json":[57278,5414],"./sales_romanian.json":[30499,1012],"./sales_russian.json":[70338,61],"./sales_sc_schinese.json":[81081,6762],"./sales_schinese.json":[56194,1043],"./sales_spanish.json":[40545,3174],"./sales_swedish.json":[31725,5855],"./sales_tchinese.json":[43004,7181],"./sales_thai.json":[29505,4166],"./sales_turkish.json":[23981,8767],"./sales_ukrainian.json":[59125,7934],"./sales_vietnamese.json":[29509,77]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=60623,e.exports=r},11580:(e,t,n)=>{var i={"./shared_arabic.json":[95874,2431],"./shared_brazilian.json":[60338,8385],"./shared_bulgarian.json":[25454,1313],"./shared_czech.json":[44162,4189],"./shared_danish.json":[1519,9753],"./shared_dutch.json":[9437,5925],"./shared_english.json":[44965,7975],"./shared_finnish.json":[10966,3557],"./shared_french.json":[37025,3112],"./shared_german.json":[50515,6007],"./shared_greek.json":[93579,4297],"./shared_hungarian.json":[46965,5948],"./shared_indonesian.json":[13386,8754],"./shared_italian.json":[42471,5933],"./shared_japanese.json":[36603,2844],"./shared_koreana.json":[40931,6542],"./shared_latam.json":[32620,2443],"./shared_norwegian.json":[22406,4108],"./shared_polish.json":[83343,3252],"./shared_portuguese.json":[17810,5849],"./shared_romanian.json":[166,4823],"./shared_russian.json":[66116,9062],"./shared_sc_schinese.json":[59598,2029],"./shared_schinese.json":[43124,2537],"./shared_spanish.json":[48770,6492],"./shared_swedish.json":[10731,5625],"./shared_tchinese.json":[57050,7602],"./shared_thai.json":[8799,1162],"./shared_turkish.json":[24416,5438],"./shared_ukrainian.json":[85038,7781],"./shared_vietnamese.json":[23240,4964]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=11580,e.exports=r},64050:(e,t,n)=>{var i={"./shared_arabic.json":[95874,2431],"./shared_brazilian.json":[60338,8385],"./shared_bulgarian.json":[25454,1313],"./shared_czech.json":[44162,4189],"./shared_danish.json":[1519,9753],"./shared_dutch.json":[9437,5925],"./shared_english.json":[44965,7975],"./shared_finnish.json":[10966,3557],"./shared_french.json":[37025,3112],"./shared_german.json":[50515,6007],"./shared_greek.json":[93579,4297],"./shared_hungarian.json":[46965,5948],"./shared_indonesian.json":[13386,8754],"./shared_italian.json":[42471,5933],"./shared_japanese.json":[36603,2844],"./shared_koreana.json":[40931,6542],"./shared_latam.json":[32620,2443],"./shared_norwegian.json":[22406,4108],"./shared_polish.json":[83343,3252],"./shared_portuguese.json":[17810,5849],"./shared_romanian.json":[166,4823],"./shared_russian.json":[66116,9062],"./shared_sc_schinese.json":[59598,2029],"./shared_schinese.json":[43124,2537],"./shared_spanish.json":[48770,6492],"./shared_swedish.json":[10731,5625],"./shared_tchinese.json":[57050,7602],"./shared_thai.json":[8799,1162],"./shared_turkish.json":[24416,5438],"./shared_ukrainian.json":[85038,7781],"./shared_vietnamese.json":[23240,4964]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=64050,e.exports=r},78960:(e,t,n)=>{var i={"./shoppingcart_brazilian.json":[79281,7548],"./shoppingcart_bulgarian.json":[79475,6802],"./shoppingcart_czech.json":[24714,2908],"./shoppingcart_danish.json":[22870,8589],"./shoppingcart_dutch.json":[49194,230],"./shoppingcart_english.json":[5582,3766],"./shoppingcart_finnish.json":[34048,579],"./shoppingcart_french.json":[4857,9202],"./shoppingcart_german.json":[57624,1503],"./shoppingcart_greek.json":[46658,639],"./shoppingcart_hungarian.json":[75431,2318],"./shoppingcart_indonesian.json":[21692,5817],"./shoppingcart_italian.json":[6830,2849],"./shoppingcart_japanese.json":[84069,9803],"./shoppingcart_koreana.json":[3966,7131],"./shoppingcart_latam.json":[45496,7606],"./shoppingcart_norwegian.json":[20151,9994],"./shoppingcart_polish.json":[2982,7117],"./shoppingcart_portuguese.json":[45032,1236],"./shoppingcart_romanian.json":[5423,4513],"./shoppingcart_russian.json":[84765,7136],"./shoppingcart_sc_schinese.json":[78441,2730],"./shoppingcart_schinese.json":[85994,7323],"./shoppingcart_spanish.json":[37569,8873],"./shoppingcart_swedish.json":[92064,319],"./shoppingcart_tchinese.json":[16676,9830],"./shoppingcart_thai.json":[97463,3935],"./shoppingcart_turkish.json":[66531,2776],"./shoppingcart_ukrainian.json":[16804,7586],"./shoppingcart_vietnamese.json":[94203,9429]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=78960,e.exports=r},25627:(e,t,n)=>{var i={"./shoppingcart_brazilian.json":[79281,7548],"./shoppingcart_bulgarian.json":[79475,6802],"./shoppingcart_czech.json":[24714,2908],"./shoppingcart_danish.json":[22870,8589],"./shoppingcart_dutch.json":[49194,230],"./shoppingcart_english.json":[5582,3766],"./shoppingcart_finnish.json":[34048,579],"./shoppingcart_french.json":[4857,9202],"./shoppingcart_german.json":[57624,1503],"./shoppingcart_greek.json":[46658,639],"./shoppingcart_hungarian.json":[75431,2318],"./shoppingcart_indonesian.json":[21692,5817],"./shoppingcart_italian.json":[6830,2849],"./shoppingcart_japanese.json":[84069,9803],"./shoppingcart_koreana.json":[3966,7131],"./shoppingcart_latam.json":[45496,7606],"./shoppingcart_norwegian.json":[20151,9994],"./shoppingcart_polish.json":[2982,7117],"./shoppingcart_portuguese.json":[45032,1236],"./shoppingcart_romanian.json":[5423,4513],"./shoppingcart_russian.json":[84765,7136],"./shoppingcart_sc_schinese.json":[78441,2730],"./shoppingcart_schinese.json":[85994,7323],"./shoppingcart_spanish.json":[37569,8873],"./shoppingcart_swedish.json":[92064,319],"./shoppingcart_tchinese.json":[16676,9830],"./shoppingcart_thai.json":[97463,3935],"./shoppingcart_turkish.json":[66531,2776],"./shoppingcart_ukrainian.json":[16804,7586],"./shoppingcart_vietnamese.json":[94203,9429]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=25627,e.exports=r},89705:(e,t,n)=>{var i={"./main_brazilian.json":[69341,9431],"./main_bulgarian.json":[23206,3359],"./main_czech.json":[36549,647],"./main_danish.json":[77127,3323],"./main_dutch.json":[76209,698],"./main_english.json":[63336,6815],"./main_finnish.json":[61289,3768],"./main_french.json":[58512,1117],"./main_german.json":[44556,799],"./main_greek.json":[65805,9568],"./main_hungarian.json":[27137,8051],"./main_indonesian.json":[36507,7072],"./main_italian.json":[34936,8155],"./main_japanese.json":[4940,727],"./main_koreana.json":[15873,4722],"./main_latam.json":[42065,6087],"./main_norwegian.json":[33242,7951],"./main_polish.json":[82284,2767],"./main_portuguese.json":[93067,7236],"./main_romanian.json":[75623,3277],"./main_russian.json":[29413,4860],"./main_sc_schinese.json":[40475,7533],"./main_schinese.json":[70213,9980],"./main_spanish.json":[30430,6817],"./main_swedish.json":[24235,3185],"./main_tchinese.json":[98532,2942],"./main_thai.json":[84238,7890],"./main_turkish.json":[87821,9663],"./main_ukrainian.json":[26748,2848],"./main_vietnamese.json":[13835,8168]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=89705,e.exports=r},29790:(e,t,n)=>{var i={"./main_brazilian.json":[69341,9431],"./main_bulgarian.json":[23206,3359],"./main_czech.json":[36549,647],"./main_danish.json":[77127,3323],"./main_dutch.json":[76209,698],"./main_english.json":[63336,6815],"./main_finnish.json":[61289,3768],"./main_french.json":[58512,1117],"./main_german.json":[44556,799],"./main_greek.json":[65805,9568],"./main_hungarian.json":[27137,8051],"./main_indonesian.json":[36507,7072],"./main_italian.json":[34936,8155],"./main_japanese.json":[4940,727],"./main_koreana.json":[15873,4722],"./main_latam.json":[42065,6087],"./main_norwegian.json":[33242,7951],"./main_polish.json":[82284,2767],"./main_portuguese.json":[93067,7236],"./main_romanian.json":[75623,3277],"./main_russian.json":[29413,4860],"./main_sc_schinese.json":[40475,7533],"./main_schinese.json":[70213,9980],"./main_spanish.json":[30430,6817],"./main_swedish.json":[24235,3185],"./main_tchinese.json":[98532,2942],"./main_thai.json":[84238,7890],"./main_turkish.json":[87821,9663],"./main_ukrainian.json":[26748,2848],"./main_vietnamese.json":[13835,8168]};function r(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],r=t[0];return n.e(t[1]).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(i),r.id=29790,e.exports=r}},e=>{e.O(0,[3250],(()=>{return t=99834,e(e.s=t);var t}));e.O()}]);