Module 173226

908,199 characters · in no known chunk
Dependencies
Required by (1)
Lazily required by (0)none
Requires (1566)
59512153137320341065180586769817584768978077864888095889842986510088110231177912054124701428914509169611715917928184371957520015207422221222231223632482525639261372643027232279892908030076301083016930370305293079331300314083150231587317173172832880330063418834275359563614936482376463776638405389103942339619396233993840876412374160441984422314247343105432034399045494457734578745945462254627547167472944767147891486864938149431499995213352416532985350553516537885394354570556195605956562589236027061090613306258363238639956458564700651546516266834674807068870730713937185572265738257483375804767887713877468777297870179858805008055680703813698146682034824958281983107845408510985448855638614787221874048754988001881879064490924912429186892077922599244693474936889556195635957019656697124973529746997808978939967799753100767101277102597102853103407104510105530106044106236107361107715108822109112109487110384111113111159111162111219111956111994112173112834113494113673113854114716115036115354115723115979116085116956117723119966121623121780121894123292123917123973127062128286131168131319131607131677132860133171134047134861135978136722137177138017138082138134138298139033139286140175140735141006141060141628141931142703143236143582143838144914146151147964148795148803148864150934151476151781152007152367152567153488153659154049154323155545155718156828157016157225157257157550157559159273159730163328164956165610166403166862167789168186172272173054173660173936174197174459174768175841176360176522176781177141177953179689179771179820181079181658182892183623183636183994184809184940184989185657186111187207187322189081189213189252189812189883190107191023191842192308192444193885194117194261194526196492197111197808199160200192201327202384204651204925205106207371207777207803208207209489209700209932210714211753212245212455214771214947214958215026216418216964217306218429218471219065219271222692222823224640224750225315226870227042227628228366231265231483231723232424232835234020234320234396234419235079235351235986237146237751240921241326241541243721245604246568246913246943247775251391252431252545254138257269258057258599260509260981261958264322264779265059266080267102268218268313268791268988271597271866272355272533272613272720272984274184274303274372274997275759276293277192277370278416279194279234279250279263279449279877280041280056282026283346283973284009285395285796286617287809289020289873289919290136290595290863291445291731291747292801293260293588296027297152297413298990299855301958302495302884304296306173306471306788307301308060308323308368308528309010309199309698309796310031310419312006312138312671313281313731313961314732315206315290315710315982316501317017317525318009318254319745320448320989321034321073321987323073323384323874325278328162328968329072329139329177329972330100331887332461332837333405334463334465334686334738335180337095337358337371337836338771338854339048339350339984340124340287340829341335342296343032343166344351345942346142346411347306347481349288349361349435350535350723351022351906352255353182353202353640353835354670355097355522358618359286360469360669361157362288362704362790363195364522365199366505366605366811366999367727369163369606370227371911371912372684373846374200375708376728377802378570379418379587379610379848380335380610381689381844382259383233384059384200384684386406386467387758390435390848391242392107393431394871394953395422395671395766395899396478396574397244398025398523398590398932399263400492401432401565401843402216403362403581403777404374404522404778405018405433405892406595406810406935408278409067409626410516410767411976411986413249413323414499414711416696416730417270417376418524420854421438421838422258422688422936422998425557426620427262427358427603428262428678428689429913430363430392430993432017433492436317437959438705440293440454440594440971440976442353442433443865444570445451445567446057446080446576446600446868447404447453450232450510451394451988452027453001453314454346454743456874457699458294458518459192459838460288460905461150461213462887463347464578464792465158466919468550468689469177469778470710471993472229473702473935474090474399474570475358475706475815475825476713477155477262477782478016478437480595480890480900481606481613485296485599485845485947486020486164488225488428488803488926488995490277490285490704492055492213492349492462492466492684495544497767498419498642499118499373499454499979500060501859502229503002503509503698504337505200505930505973506774506803507107507240507263508770509434509963510241512474513297514042515183515718516746517092517164517381518769519059519396520006521427521502521588522937522986523056524501525075525748526162526701527699528767528772529433529689530005530557530789531260531685531743532309532590532624532676532706532794532804533207533550534514534890535586536184536194537668538064539895539916540418540999541830542986543465543897544105546859546983548118548411549384549711549996550640551826552122554146554830555337555704556112556525558845559647559758559908560010561155562153562708563119563337564194564450565058565645565829567249567341567761568004569926572164573435573648573725573879574172574381574520575181576705576761577473578623578797579872580630581925582394584099584569584777586660586774587626587895588190588975591552594061595244595529595623595811597050597601597770599026601193601198602339602674602853603488604338605323606096606621607399607407607567608599608960609174609425609731610136610509612181613057613755614455615300615405615675616356617617618714619921621380621466621956622629622631623646624479625494625657625903626034626258626584626736626900627363627968628284629016631001632789633018635739636194636401636537636585638421638495638916639214639621639719639735640708641703642269642846643278643501646270646363646865646917648356648427650048650583650809651743652215652896653766654108655087655116656318657044659421661531662546663066663341663413663417664121665039665095665260666492666654667532668267668953669281670492670735671523672979673185674168674378674567674586675991676955678428678708681582681827682261682348682492683760684013684407685761686757687966688796688810689035689168689818690521692969693806693841695250695366695458695515695633696208696292696451697138697627697744698441700491700623702841702904704333704877705751707554707592707606707890708988709977710195710315710969711014711950712687713125713132713608714114714385715314715482715641716965717125717398717400717421717558718446720149721668722306723176723690723702724066725441725613725807726249726845727949728321728552728555729475730852731667731854732755734057734066734660735438736056736400736653737393738011738188738533738678739175740426741231741812741961742023742158742459742589742821743368743407744682744898746080748562750128750385750506750943751188751906752239752755753027753390754692755172757780758836760751760911761508761640761821761929763175763827765178765379765548765671766075766928767709768451768622768953769297769651769765770178770880771016772838773371773669774774775121775602776078776096776677777666778492778712780338780645780907780964781481781696782091782134782603783592783775783977784578785796785866787301788120788868789645789999790381790782791105791332792205792620793322793574793920793943794383795733795816796140796774796878797285799422800342800828801416801964802516802958803224803301803805804980805627806931806932807072807348808107808166808666808728811229811893812282812729812808812991813564814793815706818050818348820081820276820284821589821609821956822074823448823598824579825437825860826223826673826925827343829997830215830382831453831544832163833272834040834615834730834942834981835002835095835245835723836480836602836753837057837152837381839067841595843020844222844972845187845798847374848362848847849516851109851580851746851907851974852218853145853742854378855473855511855522855687857071857253859040859703860071860430860689861004861382861621862482863036863922865116866323866945868285869003869038869146870308870391870570871109871237871633872351873263873298874486874546874804875444877575877624877784878784879408879945880144881335881373881489881615881636883202885386885437885574885576887129887909888366890245890377890856891540892035892340892491892547892799892842894284894374894778897513898196898467899536899784900019900797901123902001904054905499905552906292907085907135908031908289909536911411912309912592913765915089916099917878919395919638920050920814921853921955922016922139922288923495924283924895924985925004926268926321927018927813928264928550929788929921931480932553933024933832933958935063935208935286935399935671936504936649937724938796939249939333939341939857940382941426942381942614942857943255943577943812944775944791945276945810945886947641948428949626950305950373951001952270952818953051953384953727953822954457956549956703957283957292957485957896958005958590959988960027960076960648960755960851961773961973963169963307964486964623964661964837965042966597966833966846966971967198967347967492967812968309969043969117969151970163970278970636970928972213973153973522973854974293975412975571975732975807976634976860977445977997978940980707981133982484983060983851986226987482988393988672989349989395989837990078990836992250993838994277994314994500996682997146997187997571997630998218998445998694998740998921999751
Source Raw
function(e,t,n){"use strict";let i,r,s,a,o,l,u;var c,d,_,h,f,p,E,m,g,A,I,T,S,y,N,v,C,R,O,b,D,L,w,M,P,x,k={};n.r(k),n.d(k,{AIcon:()=>dh,AccessibilityIcon:()=>da.c,AchievementsIcon:()=>dl.K,ActivitiesIcon:()=>dd,ActivitiesPlusIcon:()=>d_.d,AirplayIcon:()=>df.K,AnalyticsIcon:()=>dp.U,AngleBracketsIcon:()=>dE.G,AnnouncementsChatIcon:()=>dm,AnnouncementsIcon:()=>dg.k,AnnouncementsLockIcon:()=>dA.X,AnnouncementsSpoilerIcon:()=>dI.u,AnnouncementsWarningIcon:()=>dT.M,AppleBrandLightIcon:()=>dS,AppleNeutralIcon:()=>dy.z,AppsIcon:()=>aG.k,ArrowAngleDownLeftIcon:()=>dN,ArrowAngleLeftDownIcon:()=>dv,ArrowAngleLeftUpIcon:()=>dC.W,ArrowAngleRightDownIcon:()=>dR,ArrowAngleRightUpIcon:()=>dO.t,ArrowAngleUpLeftIcon:()=>db,ArrowLargeDownIcon:()=>dD,ArrowLargeLeftIcon:()=>dL.Z,ArrowLargeRightIcon:()=>dw.K,ArrowLargeUpIcon:()=>dM.D,ArrowSmallDownIcon:()=>dx.M,ArrowSmallLeftIcon:()=>r0.r,ArrowSmallRightIcon:()=>r1.E,ArrowSmallUpIcon:()=>dk.z,ArrowsLeftRightIcon:()=>dP,ArrowsUpDownIcon:()=>dU.J,AsteriskIcon:()=>dG,AtIcon:()=>dF.X,AttachmentIcon:()=>dV.P,BIcon:()=>dq,BackspaceIcon:()=>dB,BadgeIcon:()=>dH.b,BankIcon:()=>dj.M,BattlenetBrandIcon:()=>dY,BattlenetNeutralIcon:()=>dW.a,BeakerIcon:()=>dK.c,BellIcon:()=>sS.X,BellSlashIcon:()=>d$.a,BellZIcon:()=>dz.R,BicycleIcon:()=>dX.h,BillIcon:()=>dZ.d,BlueskyBrandIcon:()=>dQ,BlueskyNeutralIcon:()=>dJ.a,BluetoothIcon:()=>d0.y,BlurBackgroundIcon:()=>d1.f,BoldIcon:()=>d2.$,BookCheckIcon:()=>d3.B,BookmarkIcon:()=>d6.c,BookmarkOutlineIcon:()=>d4.c,BoostGemIcon:()=>d5._,BoostGemOutlineIcon:()=>d7.Q,BoostGemSlashIcon:()=>d8.x,BoostTier1Icon:()=>d9,BoostTier1SimpleIcon:()=>_e.E,BoostTier2Icon:()=>_t.d,BoostTier2SimpleIcon:()=>_n.v,BoostTier3Icon:()=>_i._,BoostTier3SimpleIcon:()=>_r.q,BrowserCheckeredIcon:()=>_s.O,BrowserIcon:()=>_a.W,BrowserLinkIcon:()=>_o.I,BrowserPlusIcon:()=>_l.q,BrowserQuestionMarkIcon:()=>_u,BugIcon:()=>ss.Q,BurgerIcon:()=>_c.L,CalendarIcon:()=>_d.C,CalendarMinusIcon:()=>__,CalendarPlusIcon:()=>_h.U,CalendarRetryIcon:()=>_f,CalendarXIcon:()=>_p,CameraIcon:()=>_E.x,CameraSwapIcon:()=>_m,CandyIcon:()=>_g,CarIcon:()=>_A.A,ChannelListIcon:()=>_I.$,ChannelListMagnifyingGlassIcon:()=>_T.k,ChannelListMinusIcon:()=>_S,ChannelListPlusIcon:()=>_y.f,ChannelListRetryIcon:()=>_N,ChannelNotificationIcon:()=>_v,ChannelsFollowedIcon:()=>_C._,ChatArrowRightIcon:()=>_R.t,ChatCheckIcon:()=>_O.M,ChatDotsIcon:()=>_b,ChatEyeIcon:()=>_D,ChatIcon:()=>u1.o,ChatMarkUnreadIcon:()=>_L.Q,ChatMinusIcon:()=>_w,ChatPlusIcon:()=>_M.g,ChatRetryIcon:()=>_P,ChatShieldIcon:()=>_x.l,ChatSlowModeIcon:()=>_k,ChatSmileIcon:()=>_U.S,ChatSpeakIcon:()=>_G._,ChatWarningIcon:()=>_F.E,ChatXIcon:()=>_V._,CheckmarkLargeBoldIcon:()=>_B.r,CheckmarkLargeIcon:()=>cI.A,CheckmarkSmallBoldIcon:()=>_H.B,CheckmarkSmallIcon:()=>_j.U,ChevronLargeDownIcon:()=>_Y.g,ChevronLargeLeftIcon:()=>_W.f,ChevronLargeRightIcon:()=>_K.u,ChevronLargeUpIcon:()=>_$.j,ChevronSmallDownIcon:()=>uq.a,ChevronSmallLeftIcon:()=>_z.n,ChevronSmallRightIcon:()=>_q._,ChevronSmallUpIcon:()=>uz.t,CircleCheckIcon:()=>_X.y,CircleErrorIcon:()=>_Z.E,CircleInformationIcon:()=>_Q.m,CircleMinusIcon:()=>_J,CirclePlayIcon:()=>_0.S,CirclePlusIcon:()=>_1.U,CircleQuestionIcon:()=>se.c,CircleXIcon:()=>_2.a,ClapperboardIcon:()=>_3,ClipboardCheckIcon:()=>_6.O,ClipboardListIcon:()=>_4.s,ClipsGalleryIcon:()=>_5.T,ClipsIcon:()=>rP.x,ClockIcon:()=>_7.O,ClockWarningIcon:()=>_8.g,ClockXIcon:()=>_9.O,ClosedCaptionsIcon:()=>he,ClosedCaptionsOutlineIcon:()=>ht,CloudDownloadIcon:()=>hn,CloudIcon:()=>oY.h,ClydeIcon:()=>sN.p,CollapseListIcon:()=>hi,CompassIcon:()=>sC.Q,ConnectionAverageIcon:()=>hr.j,ConnectionBadIcon:()=>hs.R,ConnectionFineIcon:()=>ha.Q,ConnectionUnknownIcon:()=>ho.e,ContactsIcon:()=>hl,CopyIcon:()=>hu.T,CreditCardIcon:()=>hc.B,CropIcon:()=>hd,CrownIcon:()=>h_.p,CrunchyrollBrandLightIcon:()=>hh,CrunchyrollNeutralIcon:()=>hf.k,DenyIcon:()=>hp.K,DiceIcon:()=>hE.j,DoorEnterIcon:()=>hm.I,DoorExitIcon:()=>aa.o,DoubleCheckmarkIcon:()=>hg.i,DoubleChevronSmallLeftIcon:()=>hA,DoubleChevronSmallRightIcon:()=>hI.V,DownloadIcon:()=>s_.s,DpadIcon:()=>hT.L,DragIcon:()=>hS.W,DyingRoseIcon:()=>hy.e,EducationIcon:()=>hN,EmbedIcon:()=>hv.J,EmoIcon:()=>hC,EnvelopeIcon:()=>dt.u,EpicGamesBrandDarkIcon:()=>hR,EpicGamesNeutralIcon:()=>hO.r,ExpandGifIcon:()=>hb,ExperimentalCheckpointIcon:()=>hD,ExperimentalCommonIcon:()=>hL.p,ExperimentalConfettiIcon:()=>hw._,ExperimentalCreateEmojiIcon:()=>hM,ExperimentalEpicIcon:()=>hP.b,ExperimentalGameControllerLinkIcon:()=>oj.A,ExperimentalLootboxIcon:()=>hx,ExperimentalMicrophoneSparkleIcon:()=>hk,ExperimentalMicrophoneSparkleMutedIcon:()=>hU,ExperimentalMicrophoneSpeakingIcon:()=>hG,ExperimentalMythicIcon:()=>hF.O,ExperimentalPineappleHouseIcon:()=>hV,ExperimentalRareIcon:()=>hB.A,ExperimentalSnowflakeIcon:()=>hH,EyeDropperIcon:()=>hj.d,EyeIcon:()=>cS.b,EyePlusIcon:()=>hY.v,EyeSlashIcon:()=>hW.G,FacebookNeutralIcon:()=>hK.Z,FileDenyIcon:()=>h$.u,FileIcon:()=>hz.o,FileUpIcon:()=>hq.H,FileWarningIcon:()=>hX.m,FiltersHorizontalIcon:()=>hZ.R,FireIcon:()=>hQ.Y,FlagIcon:()=>hJ.i,FlagMinusIcon:()=>h0,FlagPlusIcon:()=>h1,FlagRetryIcon:()=>h2,FlashIcon:()=>sv.g,FlipHorizontalIcon:()=>h3.v,FlipVerticalIcon:()=>h6,FolderIcon:()=>h4.s,FolderPlusIcon:()=>h5.Y,FoodIcon:()=>h7.i,ForumIcon:()=>h8.b,ForumLockIcon:()=>h9.Q,ForumSpoilerIcon:()=>fe.H,ForumWarningIcon:()=>ft.f,FriendsIcon:()=>sb.$,FullscreenEnterIcon:()=>fn.T,FullscreenExitIcon:()=>fi.z,GameControllerIcon:()=>oW._,GifIcon:()=>fr.O,GiftIcon:()=>u4.o,GlobeEarthIcon:()=>fs.L,GridHorizontalIcon:()=>fa,GridSquareIcon:()=>fo,GridVerticalIcon:()=>fl,GroupArrowDownIcon:()=>fu.U,GroupArrowRightIcon:()=>fc.M,GroupIcon:()=>sD.n,GroupMinusIcon:()=>fd,GroupPlusIcon:()=>f_.D,GroupRetryIcon:()=>fh,HammerIcon:()=>ff.w,HammerMinusIcon:()=>fp,HammerPlusIcon:()=>fE,HammerRetryIcon:()=>fm,HammerXIcon:()=>fg,HandRequestDenyIcon:()=>fA._,HandRequestSpeakIcon:()=>fI.E,HandRequestSpeakListIcon:()=>fT.c,HashmarkIcon:()=>fS,HdIcon:()=>fy,HeadphonesDenyIcon:()=>fN.T,HeadphonesIcon:()=>fv.L,HeadphonesSlashIcon:()=>fC.c,HeartIcon:()=>fR.C,HeartOutlineIcon:()=>fO.y,HomeIcon:()=>fb.f,HomeSlashIcon:()=>fD,HourglassIcon:()=>fL.Q,HubIcon:()=>fw.P,IdIcon:()=>fM.L,ImageBrokenIcon:()=>fP,ImageFileIcon:()=>fx.D,ImageFileUpIcon:()=>fk.k,ImageIcon:()=>fU.x,ImageLockIcon:()=>fG.c,ImagePlusIcon:()=>fF.X,ImageSparkleIcon:()=>fB.d,ImageTextIcon:()=>fH,ImageWarningIcon:()=>fj.D,ImagesIcon:()=>fV.s,InboxIcon:()=>sY.K,InstagramNeutralIcon:()=>fY.L,InventoryIcon:()=>de._,ItalicIcon:()=>fW.y,JoystickIcon:()=>fK._,KeyIcon:()=>fz.R,KeyboardIcon:()=>f$.F,LanguageIcon:()=>fq.U,LaptopPhoneIcon:()=>fX.W,LeagueOfLegendsBrandIcon:()=>fZ,LettersIcon:()=>fQ,LightbulbIcon:()=>fJ.x,LinkExternalMediumIcon:()=>f0.W,LinkExternalSmallIcon:()=>sa.I,LinkIcon:()=>f1.q,LinkPlusIcon:()=>f2,LinkshellIcon:()=>f3,ListBulletsIcon:()=>f6.j,ListNumberedIcon:()=>f4,ListViewIcon:()=>f5.p,LocationIcon:()=>f7.B,LockIcon:()=>f8.X,LockUnlockedIcon:()=>f9.w,MagicDoorIcon:()=>pe.f,MagicWandIcon:()=>pt.D,MagnifyingGlassIcon:()=>pn.$,MagnifyingGlassMinusIcon:()=>pi.V,MagnifyingGlassPlusIcon:()=>pr.r,ManaIcon:()=>ps,MastodonBrandIcon:()=>pa,MastodonNeutralIcon:()=>po,MaximizeIcon:()=>pl._,MedalIcon:()=>pu,MenuIcon:()=>pc.Z,MicrophoneArrowRightIcon:()=>pd.L,MicrophoneDenyIcon:()=>p_.O,MicrophoneIcon:()=>ph.c,MicrophoneSlashIcon:()=>pf.z,MicrophoneWarningIcon:()=>pp,MinecraftBrandIcon:()=>pE,MinecraftNeutralIcon:()=>pm.m,MinimizeIcon:()=>as.g,MinusIcon:()=>pg.Q,MobilePhoneControllerIcon:()=>pA.q,MobilePhoneIcon:()=>pI.u,MobilePhonePlusIcon:()=>pT,MobilePhoneSettingsIcon:()=>pS,MobilePhoneShareIcon:()=>py,MobilePhoneSpeakerIcon:()=>pN,MobilePhoneVideoIcon:()=>pv,MobilePhoneXIcon:()=>pC,ModerationIcon:()=>pR.q,MoreHorizontalIcon:()=>pO.j,MoreVerticalIcon:()=>u2.F,MusicIcon:()=>pb.T,MusicSlashIcon:()=>pD.C,NatureIcon:()=>pL.p,NearbyScanIcon:()=>pw,NewUserIcon:()=>pM.N,NewUserSimpleIcon:()=>pP.P,NintendoSwitchNeutralIcon:()=>px.M,NitroWheelIcon:()=>sR.t,ObjectIcon:()=>pk.D,OrbsIcon:()=>pU.C,PaintPaletteIcon:()=>pK.B,PaintbrushThickIcon:()=>pG,PaintbrushThickMinusIcon:()=>pF,PaintbrushThickPlusIcon:()=>pV,PaintbrushThickRetryIcon:()=>pB,PaintbrushThinIcon:()=>pH.V,PaintbrushThinMinusIcon:()=>pj,PaintbrushThinPlusIcon:()=>pY,PaintbrushThinRetryIcon:()=>pW,PaperClockIcon:()=>p$,PaperIcon:()=>pz.u,PaperLockIcon:()=>pq,PaperPlusIcon:()=>pX.i,PauseIcon:()=>pZ.E,PawPrintIcon:()=>pQ.N,PaymentTypeAmericanExpressIcon:()=>pJ,PaymentTypeApplePayIcon:()=>p0,PaymentTypeAthIcon:()=>p1,PaymentTypeBancontactIcon:()=>p2,PaymentTypeBcCardIcon:()=>p3,PaymentTypeBoletoIcon:()=>p6,PaymentTypeCartesBancairesIcon:()=>p4,PaymentTypeCashAppIcon:()=>p5,PaymentTypeDinaCardIcon:()=>p7,PaymentTypeDinersClubIcon:()=>p8,PaymentTypeDiscoverIcon:()=>p9,PaymentTypeEloCardBrIcon:()=>Ee,PaymentTypeEpsUberweisungIcon:()=>Et,PaymentTypeGCashIcon:()=>En,PaymentTypeGiftCardIcon:()=>Ei._,PaymentTypeGiropayIcon:()=>Er,PaymentTypeGoPayIcon:()=>Ea,PaymentTypeGooglePayIcon:()=>Es,PaymentTypeGrabPayIcon:()=>Eo,PaymentTypeHipercardIcon:()=>El,PaymentTypeIDealWeroIcon:()=>Eu,PaymentTypeInteracIcon:()=>Ec,PaymentTypeJcbIcon:()=>Ed,PaymentTypeKakaoPayIcon:()=>E_,PaymentTypeKlarnaIcon:()=>Eh,PaymentTypeKookminBankIcon:()=>Ef,PaymentTypeMaestroIcon:()=>Ep,PaymentTypeMastercardIcon:()=>EE,PaymentTypeMoMoWalletIcon:()=>Em,PaymentTypeMultibancoIcon:()=>Eg,PaymentTypePayPalIcon:()=>EA,PaymentTypePaysafeCardIcon:()=>EI,PaymentTypePrzelewy24Icon:()=>ET,PaymentTypeUnionPayIcon:()=>ES,PaymentTypeVenmoIcon:()=>Ey,PaymentTypeVisaIcon:()=>EN,PencilIcon:()=>Ev.R,PencilSparkleIcon:()=>EC,PhoneCallIcon:()=>ER._,PhoneHangUpIcon:()=>EO.z,PhoneIcon:()=>Eb.E,PiggyBankIcon:()=>ED.m,PinIcon:()=>EL.t,PinUprightIcon:()=>Ew.q,PinUprightSlashIcon:()=>EM.h,PlaneIcon:()=>EP,PlaneTravelIcon:()=>Ex,PlayIcon:()=>EG.u,PlaybackOffIcon:()=>Ek,PlaybackOnIcon:()=>EU,PlaystationNeutralIcon:()=>EF.X,PlusLargeIcon:()=>EV.p,PlusMediumIcon:()=>EB.T,PlusSmallIcon:()=>EH.j,PollsIcon:()=>Ej.Y,PotionIcon:()=>EY.H,PrivacyAndSafetyIcon:()=>EW,PuzzlePieceIcon:()=>EK,PuzzlePieceMinusIcon:()=>E$,PuzzlePiecePlusIcon:()=>Ez,PuzzlePieceRetryIcon:()=>Eq,QrCodeIcon:()=>EX.y,QuestsIcon:()=>sL.r,QuoteIcon:()=>cy.c,ReactionIcon:()=>EZ.n,ReactionMinusIcon:()=>EQ.t,ReactionPlusIcon:()=>EJ,ReceiptIcon:()=>E0.K,RecordPlayerIcon:()=>E1.Y,RedditNeutralIcon:()=>E2.T,RedoIcon:()=>E3,RefreshIcon:()=>E6.f,RemixIcon:()=>E4,RemoveReactionIcon:()=>E5.F,RetryIcon:()=>E7.m,RibbonIcon:()=>E8.q,RiotGamesBrandIcon:()=>E9,RiotGamesNeutralIcon:()=>me.A,RobloxBrandDarkIcon:()=>mt,RobloxNeutralIcon:()=>mn.H,RobotIcon:()=>mi.C,RotateIcon:()=>mr.H,ScienceIcon:()=>ms.g,ScreenArrowIcon:()=>ma.F,ScreenIcon:()=>mo.k,ScreenSlashIcon:()=>ml.n,ScreenStreamIcon:()=>mu.o,ScreenSystemRequirementsIcon:()=>mc.v,ScreenXIcon:()=>md.G,SendMessageIcon:()=>m_.l,ServerGridIcon:()=>mh.B,ServerIcon:()=>aU.R,SettingsArrowUpIcon:()=>mf,SettingsCircleIcon:()=>mp,SettingsIcon:()=>mE.Z,SettingsInfoIcon:()=>mm.H,SettingsPlusIcon:()=>mg,ShareIcon:()=>mA.l,ShieldAtIcon:()=>mI.E,ShieldIcon:()=>mT.l,ShieldLockIcon:()=>mS.m,ShieldUserIcon:()=>my.i,ShopCircleIcon:()=>mN,ShopIcon:()=>sO.U,ShopMinusIcon:()=>mv,ShopPlusIcon:()=>mC,ShopSparkleIcon:()=>mR.U,SignPostIcon:()=>mO.Z,SkipBackwardIcon:()=>mb.q,SkipForwardIcon:()=>mD.i,SkullIcon:()=>mL,SlashBoxIcon:()=>mw.k,SlashIcon:()=>mM.F,SlashMinusIcon:()=>mP,SlashPlusIcon:()=>mx,SlashRetryIcon:()=>mk,SoundboardIcon:()=>mU.J,SoundboardSlashIcon:()=>mG,SparklesIcon:()=>mF.B,SpeedometerIcon:()=>mV.$,SpoilerIcon:()=>mB,SpotifyBrandIcon:()=>mH,SpotifyNeutralIcon:()=>mj.L,StaffBadgeIcon:()=>mY.V,StageIcon:()=>mW.q,StageListIcon:()=>mK,StageLockIcon:()=>m$.D,StageMinusIcon:()=>mz,StageModeratorIcon:()=>mq,StagePlusIcon:()=>mX,StageRetryIcon:()=>mZ,StageXIcon:()=>mQ,StampIcon:()=>mJ.L,StampXIcon:()=>m0.$,StarIcon:()=>sy.G,StarOutlineIcon:()=>m1.y,StarShootingIcon:()=>m2.f,SteamBrandDarkIcon:()=>m3,SteamBrandLightIcon:()=>m6,SteamNeutralIcon:()=>m4.N,StickerDeadIcon:()=>m5,StickerIcon:()=>m7.t,StickerMinusIcon:()=>m8,StickerPlusIcon:()=>m9,StickerRetryIcon:()=>ge,StickerSadIcon:()=>gt.d,StickerSmallIcon:()=>gn.s,StickerWink1Icon:()=>gi,StickerWink2Icon:()=>gr,StopIcon:()=>gs.w,StrikethroughIcon:()=>ga.t,SubscriptionIcon:()=>go.L,SuperReactionIcon:()=>gl.i,TagIcon:()=>gu.g,TagsIcon:()=>gc,TeacupIcon:()=>gd.C,TextControllerIcon:()=>g_.x,TextIcon:()=>gh.N,TextLockIcon:()=>gf.I,TextSpoilerIcon:()=>gp.n,TextUserIcon:()=>gE,TextWarningIcon:()=>gm.r,ThemeDarkIcon:()=>gg.Z,ThemeGrayIcon:()=>gA,ThemeLightIcon:()=>gI.F,ThemeMidnightIcon:()=>gT.L,ThreadIcon:()=>gS.y,ThreadLockIcon:()=>gy.t,ThreadMinusIcon:()=>gN,ThreadPlusIcon:()=>gv.G,ThreadRetryIcon:()=>gC,ThreadWarningIcon:()=>gR.m,ThumbsDownIcon:()=>gO.d,ThumbsUpIcon:()=>gb.G,TicketIcon:()=>gD.q,TiktokNeutralIcon:()=>gL.X,TimerIcon:()=>gw.x,TopicsIcon:()=>gM.K,TrainIcon:()=>gP.E,TranscriptIcon:()=>gx,TranscriptOutlineIcon:()=>gk,TrashIcon:()=>gU.u,TreehouseIcon:()=>gG.c,TrophyIcon:()=>gF.O,TvIcon:()=>gV.U,TwitchNeutralIcon:()=>gB.a,TwitterNeutralIcon:()=>gH,UnderlineIcon:()=>gj.q,UndoIcon:()=>gY.e,UnknownGameIcon:()=>gW._,UnsendIcon:()=>gK.n,UploadIcon:()=>g$.J,UserArrowDiagonalBottomRightIcon:()=>gz,UserCheckIcon:()=>gq.V,UserCircleIcon:()=>gX.r,UserCircleStatusIcon:()=>gZ.n,UserClockIcon:()=>gQ.l,UserIcon:()=>gJ.n,UserMinusIcon:()=>g0.N,UserPlatformIcon:()=>g1._,UserPlayIcon:()=>g2.J,UserPlusIcon:()=>g3.R,UserRetryIcon:()=>g6,UserSquareIcon:()=>g4.c,UserStatusIcon:()=>g5,UserWarningIcon:()=>g7,VeinIcon:()=>g8.E,VideoIcon:()=>g9.n,VideoLockIcon:()=>Ae.k,VideoSlashIcon:()=>At.O,ViewReactionIcon:()=>An.S,VoiceBluetoothIcon:()=>Ai,VoiceLockIcon:()=>Ar.t,VoiceLowIcon:()=>As.S,VoiceNormalIcon:()=>oz.H,VoiceNormalSpoilerIcon:()=>Aa.P,VoiceWarningIcon:()=>Ao.O,VoiceXIcon:()=>Al._,VrHeadsetIcon:()=>Au.G,WalletIcon:()=>Ac,WarningIcon:()=>Ad.i,WaveformIcon:()=>A_,WaveformSlashIcon:()=>Ah,WebhookIcon:()=>Af.X,WebhookPlusIcon:()=>Ap,WidgetsIcon:()=>AE,WidgetsMinusIcon:()=>Am,WidgetsPlusIcon:()=>Ag.X,WidgetsRetryIcon:()=>AA,WindowLaunchIcon:()=>AI.t,WindowReturnIcon:()=>AT._,WindowTopIcon:()=>AS,WindowTopOutlineIcon:()=>Ay.l,WrenchIcon:()=>rC.P,XLargeBoldIcon:()=>Av.U,XLargeIcon:()=>AC.d,XNeutralIcon:()=>AR.p,XSmallBoldIcon:()=>AO.a,XSmallIcon:()=>cT.P,XXsmallBoldIcon:()=>Ab,XXsmallIcon:()=>AD,XboxNeutralIcon:()=>AN.Y,YoutubeNeutralIcon:()=>AL.C}),n(323874),n(14289),n(35956),n(142703);var U=n(627968),G=[],F="ResizeObserver loop completed with undelivered notifications.",V=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:F}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=F),window.dispatchEvent(e)};(c=D||(D={})).BORDER_BOX="border-box",c.CONTENT_BOX="content-box",c.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var B=function(){function e(e,t,n,i){return this.x=e,this.y=t,this.width=n,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Object.freeze(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),H=function(e){return e instanceof SVGElement&&"getBBox"in e},j=function(e){if(H(e)){var t=e.getBBox(),n=t.width,i=t.height;return!n&&!i}var r=e.offsetWidth,s=e.offsetHeight;return!(r||s||e.getClientRects().length)},Y=function(e){var t,n=null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},W=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},K="u">typeof window?window:{},$=new WeakMap,z=/auto|scroll/,q=/^tb|vertical/,X=/msie|trident/i.test(K.navigator&&K.navigator.userAgent),Z=function(e){return parseFloat(e||"0")},Q=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),Object.freeze({inlineSize:(n?t:e)||0,blockSize:(n?e:t)||0})},J=Object.freeze({devicePixelContentBoxSize:Q(),borderBoxSize:Q(),contentBoxSize:Q(),contentRect:new B(0,0,0,0)}),ee=function(e,t){if(void 0===t&&(t=!1),$.has(e)&&!t)return $.get(e);if(j(e))return $.set(e,J),J;var n=getComputedStyle(e),i=H(e)&&e.ownerSVGElement&&e.getBBox(),r=!X&&"border-box"===n.boxSizing,s=q.test(n.writingMode||""),a=!i&&z.test(n.overflowY||""),o=!i&&z.test(n.overflowX||""),l=i?0:Z(n.paddingTop),u=i?0:Z(n.paddingRight),c=i?0:Z(n.paddingBottom),d=i?0:Z(n.paddingLeft),_=i?0:Z(n.borderTopWidth),h=i?0:Z(n.borderRightWidth),f=i?0:Z(n.borderBottomWidth),p=i?0:Z(n.borderLeftWidth),E=d+u,m=l+c,g=p+h,A=_+f,I=o?e.offsetHeight-A-e.clientHeight:0,T=a?e.offsetWidth-g-e.clientWidth:0,S=i?i.width:Z(n.width)-(r?E+g:0)-T,y=i?i.height:Z(n.height)-(r?m+A:0)-I,N=S+E+T+g,v=y+m+I+A,C=Object.freeze({devicePixelContentBoxSize:Q(Math.round(S*devicePixelRatio),Math.round(y*devicePixelRatio),s),borderBoxSize:Q(N,v,s),contentBoxSize:Q(S,y,s),contentRect:new B(d,l,S,y)});return $.set(e,C),C},et=function(e,t,n){var i=ee(e,n),r=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case D.DEVICE_PIXEL_CONTENT_BOX:return a;case D.BORDER_BOX:return r;default:return s}},en=function(e){var t=ee(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=[t.borderBoxSize],this.contentBoxSize=[t.contentBoxSize],this.devicePixelContentBoxSize=[t.devicePixelContentBoxSize]},ei=function(e){if(j(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},er=function(){var e=1/0,t=[];G.forEach(function(n){if(0!==n.activeTargets.length){var i=[];n.activeTargets.forEach(function(t){var n=new en(t.target),r=ei(t.target);i.push(n),t.lastReportedSize=et(t.target,t.observedBox),r<e&&(e=r)}),t.push(function(){n.callback.call(n.observer,i,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0;n<t.length;n++)(0,t[n])();return e},es=function(e){G.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(ei(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},ea=function(){var e=0;for(es(0);G.some(function(e){return e.activeTargets.length>0});)es(e=er());return G.some(function(e){return e.skippedTargets.length>0})&&V(),e>0},eo=[],el=function(e){if(!L){var t=0,n=document.createTextNode("");new MutationObserver(function(){return eo.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),L=function(){n.textContent=""+(t?t--:t++)}}eo.push(e),L()},eu=function(e){el(function(){requestAnimationFrame(e)})},ec=0,ed={attributes:!0,characterData:!0,childList:!0,subtree:!0},e_=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],eh=function(e){return void 0===e&&(e=0),Date.now()+e},ef=!1,ep=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!ef){ef=!0;var n=eh(e);eu(function(){var i=!1;try{i=ea()}finally{if(ef=!1,e=n-eh(),!ec)return;i?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,ed)};document.body?t():K.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),e_.forEach(function(t){return K.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),e_.forEach(function(t){return K.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),eE=function(e){!ec&&e>0&&ep.start(),(ec+=e)||ep.stop()},em=function(){function e(e,t){this.target=e,this.observedBox=t||D.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=et(this.target,this.observedBox,!0);return H(e=this.target)||W(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),eg=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},eA=new WeakMap,eI=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return -1},eT=function(){function e(){}return e.connect=function(e,t){var n=new eg(e,t);eA.set(e,n)},e.observe=function(e,t,n){var i=eA.get(e),r=0===i.observationTargets.length;0>eI(i.observationTargets,t)&&(r&&G.push(i),i.observationTargets.push(new em(t,n&&n.box)),eE(1),ep.schedule())},e.unobserve=function(e,t){var n=eA.get(e),i=eI(n.observationTargets,t),r=1===n.observationTargets.length;i>=0&&(r&&G.splice(G.indexOf(n),1),n.observationTargets.splice(i,1),eE(-1))},e.disconnect=function(e){var t=this,n=eA.get(e);n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),eS=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");eT.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Y(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");eT.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Y(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");eT.unobserve(this,e)},e.prototype.disconnect=function(){eT.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();n(308060);var ey=n(214958),eN=n.n(ey);window.platform=eN(),null==window.ResizeObserver&&(window.ResizeObserver=eS),"object"!=typeof globalThis&&(window.globalThis=window),Map.prototype.toJSON=function(){return Array.from(this)},Set.prototype.toJSON=function(){return Array.from(this)};{class e{x;y;z;w;constructor(e=0,t=0,n=0,i=1){this.x=e,this.y=t,this.z=n,this.w=i}static fromPoint(t){return new e(t.x,t.y,void 0!==t.z?t.z:0,void 0!==t.w?t.w:1)}matrixTransform(t){return(t.is2D||t instanceof SVGMatrix)&&0===this.z&&1===this.w?new e(this.x*t.a+this.y*t.c+t.e,this.x*t.b+this.y*t.d+t.f,0,1):new e(this.x*t.m11+this.y*t.m21+this.z*t.m31+this.w*t.m41,this.x*t.m12+this.y*t.m22+this.z*t.m32+this.w*t.m42,this.x*t.m13+this.y*t.m23+this.z*t.m33+this.w*t.m43,this.x*t.m14+this.y*t.m24+this.z*t.m34+this.w*t.m44)}toJSON(){return{x:this.x,y:this.y,z:this.z,w:this.w}}}null==window.DOMPoint&&(window.DOMPoint=e)}{class e{x;y;width;height;constructor(e=0,t=0,n=0,i=0){this.x=e,this.y=t,this.width=n,this.height=i}static fromRect(t){return new e(t.x,t.y,t.width,t.height)}get top(){return this.y}get left(){return this.x}get right(){return this.x+this.width}get bottom(){return this.y+this.height}toJSON(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,left:this.left,right:this.right,bottom:this.bottom}}}null==window.DOMRect&&(window.DOMRect=e)}null==window.TextEncoder&&n(283346),n(890245);var ev=n(38405);n(618714),n(179689),n(321073),n(333405);var eC=n(636537),eR=n(562708),eO=n(234396),eb=n(183636),eD=n(53943),eL=n(652215),ew=n(174459),eM=n(945810);let eP=(0,eM.mj)({kind:"user",name:"2026-04-http-request-sample",defaultConfig:{sampleRate:0},variations:{1:{sampleRate:1e-4}}});var ex=n(30076),ek=n(209489),eU=n(723702),eG=n(998218),eF=n(187207),eV=n(472229);let eB=["https://cdn.discordapp.com/bad-domains/updated_hashes.json","https://cdn.discordapp.com/bad-domains/hashes.json"],eH=new eF.n,ej=/\/api(\/v\d+)?\/science/;function eY(e){try{let t=new URL(e).pathname;return ej.test(t)}catch{return ej.test(e)}}(0,eC.IA)({prepareRequest(e){let{default:t}=n(495544),{default:i}=n(111162),{default:r}=n(773669),{default:s}=n(287809),{default:a}=n(174459),{isPlatformEmbedded:o}=n(723702),l=performance.now();if("/"===e.url[0]){let n,l,u,c,d;e.url=(0,eC.TP)()+e.url,"Authorization"in e.header||"authorization"in e.header||e.set("Authorization",t.getToken()),n=(0,eO.Vc)(),l=(0,eR.getSuperProperties)(),u={},(c=n?.uuid)!==l?.client_heartbeat_session_id&&(u.client_heartbeat_session_id=c),(d=eb.A.getState())!==l?.client_app_state&&(u.client_app_state=d),Object.keys(u).length>0&&(0,eR.extendSuperProperties)(u);let _=a.getSuperPropertiesBase64();null!=_&&e.set("X-Super-Properties",_);let h=t.getFingerprint();null!=h&&""!==h&&e.set("X-Fingerprint",h);let f=t.getInstallationForTracking();if(null!=f&&""!==f&&e.set("X-Installation-ID",f),o){let t,n=[];null!=navigator&&(n=[...navigator.languages]??[]);let i=(t=10,n.reduce((e,n)=>(10===t?e.push(n):e.push(`${n};q=0.${t}`),t=Math.max(t-1,1),e),[]).join(","));e.set("Accept-Language",i)}e.set("X-Discord-Locale",r.locale);let p=(0,eV.A)();null!=p&&e.set("X-Discord-Timezone",p);let E=i.getDebugOptionsHeaderValue();if(null!=E&&""!==E&&e.set("X-Debug-Options",E),i.isTracingRequests){let t=s.getCurrentUser(),n=eH.generate(t?.id??"0");e.set("x-client-trace-id",n);try{let t=new URL(e.url).pathname;if(!eY(t)){let i,r,s=((i=new URLSearchParams).append("query",`@http.x_client_trace_id:"${n}"`),i.append("showAllSpans","true"),r=eG.A.toURLSafe(`traces?${i.toString()}`,"https://datadog.discord.tools/apm/"),null==r?null:r.toString());null!==s&&console.debug("%c[tracing]%c %s %s\n%s","font-weight: bold","",e.method,t,s)}}catch(e){console.error("error while printing tracing log",e)}}}let u=!eY(e.url);function c(t){if(u){var n,i;let r;r={...n={url:e.url,method:e.method,status_code:t?.status,duration_ms:Math.round(performance.now()-l)},url:null==(i=n.url)?i:i.split(/[?#]/)[0].replace(/\d+/g,"#")},Math.random()<function(){let{sampleRate:e}=eP.getConfig({location:"track_http_request"});return e}()&&ew.default.track(eL.HAw.HTTP_REQUEST,{...r,source:"sample"}),u=!1}}eD.z8("Network",`Sending ${e.method} to ${e.url}`),e.on("response",t=>{let n=null!=t&&t.status>=400?t.text:null,i=null==n?"":`and body: ${n}`;eD.z8("Network",`Completed ${e.method} to ${e.url} with status: ${t?.status} ${i}`),c(t)}),e.on("error",(t,n)=>{if(eD.z8("Network",`Failed ${e.method} to ${e.url} with status ${t?.status} and body: ${n?.text}`),null!=t&&"parse"in t&&t.parse){let n="[FILTERED]";eB.includes(e.url)&&(n=e.xhr?.responseText?.slice(0,1e3)),ev.A.addBreadcrumb({category:"superagent",message:"Failed to parse HTTP response.",data:{method:e.method,url:e.url,responseText:n,status:t.status}})}c(n)})},interceptResponse(e,t,i){var r,s;return 400===e.statusCode&&e.body?.captcha_key?(Promise.all([n.e("36037").then(n.bind(n,165508)),Promise.resolve().then(n.bind(n,888548))]).then(t=>{let[{default:n},{extractCaptchaPropsFromResponse:i}]=t;return n.showCaptchaAsync(i(e.body))}).then(e=>{let{captcha_key:n,captcha_rqtoken:i,captcha_session_id:r}=e,s={"X-Captcha-Key":n};null!=i&&(s["X-Captcha-Rqtoken"]=i),null!=r&&(s["X-Captcha-Session-Id"]=r),t(s)}).catch(i),!0):401===e.statusCode&&e.body?.code===eL.t02.MFA_REQUIRED&&e.body?.mfa?(Promise.all([n.e("81927"),n.e("8979"),n.e("4736"),n.e("90966"),n.e("65171")]).then(n.bind(n,522238)).then(n=>{let{openMFAModal:r}=n;r(e.body.mfa,t,i)}).catch(i),!0):(0,ex.O)(e.statusCode,e.body?.code)?(Promise.resolve().then(n.bind(n,700241)).then(e=>{let{default:t}=e;t()}),!1):((r=e.statusCode,s=e.body?.code,403===r&&null!=s&&s>=eL.t02.GUILD_LIMITED_ACCESS_DEFAULT&&s<=eL.t02.GUILD_LIMITED_ACCESS_MAX)?n.e("52729").then(n.bind(n,116960)).then(t=>{let{default:n}=t;n(e.body?.guild_id)}):403===e.statusCode&&e.body?.code===eL.t02.RESTRICTED_HOURS_ACTIVE&&Promise.resolve().then(n.bind(n,580296)).then(e=>{let{openRestrictedHoursModal:t}=e;t()}),!1)}}),(0,eC.Cu)(async e=>{eD.z8("Network",`Request to ${e} failed, will retry.`),ek.A.isOnline()||(await ek.A.awaitOnline(),eD.z8("Network",`Network detected online, retrying ${e}`))});var eW=n(495544),eK=n(736056),e$=n(167789),ez=n(228366);(0,eR.analyticsTrackingStoreMaker)({dispatcher:ez.h,actionHandler:{CONNECTION_OPEN:e=>eR.AnalyticsActionHandlers.handleConnectionOpen(e),OVERLAY_INITIALIZE:e=>eR.AnalyticsActionHandlers.handleConnectionOpen(e),CURRENT_USER_UPDATE:e=>eR.AnalyticsActionHandlers.handleConnectionOpen(e),CONNECTION_CLOSED:()=>eR.AnalyticsActionHandlers.handleConnectionClosed(),FINGERPRINT:()=>eR.AnalyticsActionHandlers.handleFingerprint(),TRACK:e=>eR.AnalyticsActionHandlers.handleTrack(e),SET_ANALYTICS_TOKEN:e=>eR.AnalyticsActionHandlers.handleSetAnalyticsToken(e)},TRACKING_URL:eL.Rsh.TRACK,waitFor:[eW.default],getFingerprint:eW.default.getFingerprint,getSessionId:()=>(0,eO.Ht)().then(e=>({sessionId:e?.uuid})),getLaunchSignature:()=>ew.launchSignature,scheduleWhenIdle:e$.O});var eq=n(247775),eX=n(143236),eZ=((d=eZ||{}).VERTICAL="vertical",d.HORIZONTAL="horizontal",d);let eQ={open:!1,orientation:null};class eJ extends eX.EventEmitter{constructor(){super(),setInterval(()=>this.check(),500)}get orientations(){return Object.values(eZ)}get state(){return eQ}check(){let e=function(){try{return window.outerWidth-window.innerWidth}catch(e){return 0}}()>160,t=function(){try{return window.outerHeight-window.innerHeight}catch(e){return 0}}()>160,n=e?"vertical":"horizontal";if(!(t&&e)&&(e||t)){let e=eQ.open;eQ={open:!0,orientation:n},e&&eQ.orientation===n||this.emit("changed",eQ)}else eQ.open&&(eQ.open=!1,this.emit("changed",eQ))}}var e0=n(607399),e1=n(855522);function e2(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(null!=e1.A.Messages.SELF_XSS_HEADER)if(console.log(`%c${e1.A.Messages.SELF_XSS_HEADER}`,"color: #5865f2; -webkit-text-stroke: 2px black; font-size: 72px; font-weight: bold;"),console.log(`%c${e1.A.Messages.SELF_XSS_LINE_1}`,"font-size: 16px;"),console.log(`%c${e1.A.Messages.SELF_XSS_LINE_2}`,"font-size: 18px; font-weight: bold; color: red;"),e>=4){console.log(`%c${e1.A.Messages.SELF_XSS_LINE_3}`,"font-size: 16px;");let e=e1.A.Messages.SELF_XSS_LINE_4.format({url:`${location.protocol}${window.GLOBAL_ENV.MARKETING_ENDPOINT}/jobs`});console.log(`%c${e}`,"font-size: 16px;")}else setTimeout(()=>e2(e+1),1e3)}var e3=n(121894),e6=n(17928),e4=n(413323),e5=n(187322),e7=n(775602),e8=n(64700),e9=n.t(e8,2),te=n(791332),tt=n.n(te),tn=n(349288),ti=n(77729),tr=n(502229),ts=n(873298),ta=n(97469),to=n(363195),tl=n(885386),tu=n(617617),tc=n(53298);let td=tc.O.NONE,t_=window.matchMedia("(prefers-color-scheme: dark)"),th=window.matchMedia("(prefers-color-scheme: light)"),tf=window.matchMedia("(inverted-colors: inverted)"),tp=window.matchMedia("(prefers-contrast: more)"),tE=window.matchMedia("(forced-colors: active)");function tm(e,t){t?td|=e:td&=~e}n(40876);var tg=n(141931),tA=n(506774),tI=n(728555),tT=n(287809),tS=n(19575),ty=n(77138);let tN=window.DiscordNative,tv=`${eL.HAw.APP_NATIVE_CRASH}Storage`;function tC(e,t){let n={did_crash:!0,electron_crash_reporter_did_crash:!0,child_process_crash_type:t.type?.toLowerCase()??null,child_process_crash_reason:t.reason??null,child_process_crash_exit_code:t.exitCode??null};ew.default.track(eL.HAw.APP_NATIVE_CRASH,n)}async function tR(){var e,t;let n,i;if(__OVERLAY__)return;let r=tN?.processUtils?.getLastCrash;if((0,eU.isDesktop)()&&tS.Ay.on("CRASH_REPORTER_NEW_CRASH",tC),null==r)return void console.log("AppCrashedFatalReport: getLastCrash not supported.");let s=await r(),{didCrashReporterSeeCrash:a,didCrashOrUncleanExit:o}=(e=tA.w.get(tv,{}),t=s,n=e?.lastId!==t?.id&&t?.id!=null,i=t?.rendererCrashExitCode??null,{didCrashReporterSeeCrash:n,didCrashOrUncleanExit:n||null!=i&&0!==i}),l=function(e,t,n){function i(e){return n?.storedInformation!=null&&1===n.storedInformation[e]}function r(e){return n?.storedInformation==null||null==n.storedInformation[e]?null:n.storedInformation[e]}let s={did_crash:t,renderer_crash_reason:n?.rendererCrashReason??null,renderer_crash_exit_code:n?.rendererCrashExitCode??null,child_process_crash_type:null,child_process_crash_reason:null,child_process_crash_exit_code:null,had_rtc_connection:i(tg.du.HasRTCConnection),was_sending_video:i(tg.du.IsSendingVideo),was_sending_stream:i(tg.du.IsSendingStream),was_receiving_video:i(tg.du.IsReceivingVideo),was_receiving_stream:i(tg.du.IsReceivingStream),video_media_session_id:r(tg.du.VideoMediaSessionId),stream_media_session_id:r(tg.du.StreamMediaSessionId),intentional_crash_reason:r(tg.du.IntentionalCrashReason),last_memory_usage_kb:n?.lastMemoryInformation?.memoryUsageKB??null,last_used_js_heap_size_kb:n?.lastMemoryInformation?.usedJSHeapSizeKB??null,last_memory_usage_uptime:n?.lastMemoryInformation?.uptimeSeconds??null,highest_memory_usage_kb:n?.highestMemoryInformation?.memoryUsageKB??null,highest_used_js_heap_size_kb:n?.highestMemoryInformation?.usedJSHeapSizeKB??null,highest_memory_usage_uptime:n?.highestMemoryInformation?.uptimeSeconds??null},a=n?.minidumpInformation;return{electron_crash_reporter_did_crash:e,minidump_exception_type:a?.exceptionString??null,minidump_exception_module_name:a?.exceptionModuleName??null,minidump_relative_crash_address:a?.relativeCrashAddress??null,minidump_exception_module_version:a?.exceptionModuleVersion??null,minidump_exception_module_code_id:a?.exceptionModuleCodeId??null,minidump_exception_thread_name:a?.exceptionThreadName??null,...s}}(a,o,s);ew.default.track(eL.HAw.APP_NATIVE_CRASH,l),tA.w.set(tv,{lastId:s?.id}),o&&setTimeout(async()=>await tO(),1e4)}async function tO(){if(tT.default.getCurrentUser()?.isStaff())try{await tI.Ay.getMediaEngine().writeAudioDebugState(),await (0,ty.a)(eL.Umv.RTC),console.log("Successfully uploaded debug files")}catch(e){console.log("Failed to upload debug files")}}var tb=n(626584),tD=n(865116),tL=n(608960),tw=n(41237),tM=n(279263),tP=n(317525),tx=n(71393),tk=n(157016),tU=n(892842);let tG=new tb.A("DispatcherBridge"),tF=[tM.A,tx.A,tP.A,tL.A,tw.A],tV={GUILD_MEMBER_ADD:e=>({...e,currentUserId:eW.default.getId()}),CONNECTION_OPEN:e=>({guilds:e.guilds,unavailableGuilds:e.unavailableGuilds}),CACHE_LOADED:e=>({guilds:e.guilds}),CACHE_LOADED_LAZY:e=>({guilds:e.guilds}),BACKGROUND_SYNC:e=>({guilds:e.guilds})};class tB{tokenToStore=new Map;disabledFromFatalError=!1;constructor(e){if(0===e.length)return;const t=tk.V;if(null==t)return void tG.info("Not initializing DispatcherBridge, because kvStoreApi is unavailable.");try{const n=[];for(const i of e){const e=i.getName(),r=i.connectWithLibdiscore(t);this.tokenToStore.set(r,i),n.push(`${e} => [token: ${r}, mode: ${i.getMode()}]`)}tG.info(`Connected ${e.length} store(s), mapping: ${n.join(", ")}.`);const i=t.getRegisteredActionTypes();tG.info(`Registering ${i.length} bridged action(s): ${i.join(", ")}.`);const r=e=>{let n;if(this.disabledFromFatalError)return;let i=tV[e.type],r=performance.now();n=null!=i?JSON.stringify({type:e.type,...i(e)}):JSON.stringify(e);let s={kind:"json_stringify_action",durationMillis:performance.now()-r},a=tU.pd.shouldCollectMetrics(),o=t.dispatchAction(n,a);if(!o.ok)return void this.handleFatalError(o.error,e.type);let l=performance.now()-r,{metrics:u,storeResults:c}=o.value,d=[];for(let t of c)null!=t.error?this.handleStoreError(t,e.type):d.push(t);for(let t of d)this.withStoreToken(t.storeToken,e.type,e=>{e.applyChanges(t.databaseChanges)});for(let t of d)this.withStoreToken(t.storeToken,e.type,t=>{t.doEmitChanges(e)});if(null!=u&&a){let t=[s,...u.timings];if(tD.Ay.get("libdiscore_verbose_telemetry_logging")){let n=t.map(e=>{let{kind:t,durationMillis:n}=e;return` - ${t}: ${n}ms`}).join("\n"),i=u.mutations.map(e=>{let{recordType:t,metrics:n}=e,i=Object.entries(n).filter(e=>{let[t,n]=e;return 0!==n}).map(e=>{let[t,n]=e;return` - ${t}: ${n}`}).join("\n");return` * Record Type: ${t}
${i}`}).join("\n"),r=u.memory.map(e=>{let{recordType:t,statistics:n}=e,i=Object.entries(n).map(e=>{let[t,n]=e;return` - ${t}: ${JSON.stringify(n)}`}).join("\n");return` * Record Type: ${t}
${i}`}).join("\n"),s=[["Timings",n],["Mutations",i],["Memory Usage",r]].filter(e=>{let[,t]=e;return t.length>0}).map(e=>{let[t,n]=e;return`${t}:
${n}`}).join("\n\n");tG.info(`Handling action ${e.type} took ${l}ms
${s}`)}ew.default.track(eL.HAw.LIBDISCORE_DISPATCH_BRIDGE_TELEMETRY,{action_type:e.type,total_duration_millis:l,timings:JSON.stringify(t),mutations:JSON.stringify(u.mutations),memory_usage:JSON.stringify(u.memory)}),tU.pd.didEmit()}};ez.h.register("LibDiscoreDispatcherBridge",Object.fromEntries(i.map(e=>[e,r])),()=>{},ez.A.Database)}catch(e){tG.error("Failed to initialize the dispatcher bridge",e)}}handleFatalError(e,t){let n=Error(e),i=this.hasAnyAuthoritativeStore();if(tG.error("Fatal dispatch error for action",t,"hasAuthoritativeStore:",i,n),ev.A.captureException(n,{extra:{actionType:t,hasAuthoritativeStore:i},tags:{source:"libdiscore",errorKind:"fatal_dispatch"}}),i)throw(0,tU.pX)(),n;for(let e of(tG.warn("Disabling DispatcherBridge until restart"),this.disabledFromFatalError=!0,this.tokenToStore.values()))e.disableDualReadValidation()}handleStoreError(e,t){let n=this.tokenToStore.get(e.storeToken),i=n?.getName()??`unknown(token:${e.storeToken})`,r=n?.getMode(),s=Error(e.error??"unknown store error");if(tG.error("Store",i,"failed to handle action",t,"mode:",r,s),ev.A.captureException(s,{extra:{actionType:t,storeName:i,storeMode:r},tags:{source:"libdiscore",errorKind:"store_dispatch"}}),"typescript-libdiscore-dual-read"===r)tG.warn(`Store: ${i} had unexpected error in Rust implementation, disabling moving forward`),n?.disableDualReadValidation();else if("libdiscore"===r)throw(0,tU.pX)(),s;else throw Error(`unexpected storeMode '${r}' for store ${i}`)}withStoreToken(e,t,n){let i=this.tokenToStore.get(e);null==i?tG.warn("When dispatching action",t,"we got a store token",e,"that is unknown"):n(i)}hasAnyAuthoritativeStore(){for(let e of this.tokenToStore.values())if("libdiscore"===e.getMode())return!0;return!1}}let tH=new Set(["libdiscore","typescript-libdiscore-dual-read"]);if(new tB(__OVERLAY__?(tG.verbose("Not enabling rust implementation because we're in the legacy overlay"),[]):tF.filter(e=>tH.has(e.getMode()))),n.p=(window.GLOBAL_ENV.STATIC_ENDPOINT??"")+window.GLOBAL_ENV.PUBLIC_PATH,!0===window.__METICULOUS_ENABLED&&Promise.all([n.e("64270"),n.e("92885")]).then(n.bind(n,534164)).then(e=>e.init()),window.Meticulous?.isRunningAsTest===!0){let{initWasmTracking:e}=n(474570);e(),n.e("67620").then(n.bind(n,559023)).then(e=>e.init())}(0,e4.Zs)(function(e){return e.paragraph={...e.paragraph,react:function(e,t,n){return(0,U.jsx)("p",{children:t(e.content,n)},n.key)}},e.link={...e.link,react:function(e,t,n){let i={};if(null!=e.context){let t=e.context[e.target];t&&t.onClick?(i.onClick=t.onClick,i.onContextMenu=t.onContextMenu):i.onClick=t}return null==i.onClick&&(i.href=tt().sanitizeUrl(e.target)),(0,U.jsx)(tn.Anchor,{title:e.title,...i,children:t(e.content,n)},n.key)}},e}),function(e,t){if(null!=t&&"0.0.0"===t.app.getVersion())return;let n=new eJ;if(null!=t)if(null!=t.window.setDevtoolsCallbacks)t.window.setDevtoolsCallbacks(()=>{e.hideToken(),e2()},()=>{e.showToken()});else{let n=t.window.webContents;n.removeAllListeners("devtools-opened"),n.on("devtools-opened",()=>{e.hideToken(),e2()}),n.on("devtools-closed",e.showToken)}else e0.Fr||e0.v1||n.on("changed",t=>{let{open:n}=t;n?(e.hideToken(),e2()):e.showToken()});window.addEventListener("beforeunload",t=>{t.isTrusted&&e.showToken()})}(eq,ti.A),e6.Ay.Emitter.injectBatchEmitChanges(e3.r),e6.Ay.PersistedStore.disableWrites=__OVERLAY__,e6.Ay.initialize(),n.e("94459").then(n.t.bind(n,868086,19));let tj=window.GLOBAL_ENV.RELEASE_CHANNEL;new tb.A().log(`[BUILD INFO] Release Channel: ${tj}, Build Number: 556699, Version Hash: cca563d2254d5b8cb0f193284b9b7cfef969c550`),ev.A.setTags({appContext:eL.QCW}),tr.A.initBasic(),({init(){e7.A.addChangeListener(this.handleAccessibilityStoreChanged),to.A.addChangeListener(this.handleAccessibilityStoreChanged),tu.A.addChangeListener(this.handleUiDensityChanged),t_.addListener(this.handlePrefersColorSchemeDarkChanged),this.handlePrefersColorSchemeDarkChanged(t_),th.addListener(this.handlePrefersColorSchemeLightChanged),this.handlePrefersColorSchemeLightChanged(th),tp.addListener(this.handlePrefersMoreContrastChanged),this.handlePrefersMoreContrastChanged(tp),tE.addListener(this.handlePrefersForcedColorsChanged),this.handlePrefersForcedColorsChanged(tE),tf.addListener(this.handleInvertColorsChanged),this.handleInvertColorsChanged(tf),ew.default.setSystemAccessibilityFeatures(this.getActiveFeatures)},getActiveFeatures:()=>td,handlePrefersColorSchemeDarkChanged(e){tm(tc.O.PREFERS_COLOR_SCHEME_DARK,e.matches)},handlePrefersColorSchemeLightChanged(e){tm(tc.O.PREFERS_COLOR_SCHEME_LIGHT,e.matches)},handlePrefersMoreContrastChanged(e){tm(tc.O.HIGH_CONTRAST,e.matches)},handlePrefersForcedColorsChanged(e){tm(tc.O.FORCED_COLORS,e.matches)},handleInvertColorsChanged(e){tm(tc.O.INVERT_COLORS,e.matches)},handleUiDensityChanged(){let e=tl.Xi.getSetting();tm(tc.O.UI_DENSITY_COMPACT,e===ts.NS.COMPACT),tm(tc.O.UI_DENSITY_SPACIOUS,e===ts.NS.COZY)},handleAccessibilityStoreChanged(){tm(tc.O.REDUCED_MOTION,e7.A.useReducedMotion),tm(tc.O.REDUCED_MOTION_FROM_USER_SETTINGS,"auto"!==e7.A.rawPrefersReducedMotion),tm(tc.O.FORCED_COLORS_FROM_USER_SETTINGS,e7.A.syncForcedColors),tm(tc.O.CHAT_FONT_SCALE_DECREASED,e7.A.isFontScaledDown),tm(tc.O.CHAT_FONT_SCALE_INCREASED,e7.A.isFontScaledUp),tm(tc.O.ZOOM_LEVEL_DECREASED,e7.A.isZoomedOut),tm(tc.O.ZOOM_LEVEL_INCREASED,e7.A.isZoomedIn),tm(tc.O.MESSAGE_GROUP_SPACING_DECREASED,e7.A.isMessageGroupSpacingDecreased),tm(tc.O.MESSAGE_GROUP_SPACING_INCREASED,e7.A.isMessageGroupSpacingIncreased),tm(tc.O.DARK_SIDEBAR,(0,ta.$i)()),tm(tc.O.SATURATION_LEVEL_DECREASED,e7.A.saturation<1),tm(tc.O.ROLE_STYLE_ADJUSTED,"username"!==e7.A.roleStyle),tm(tc.O.SYNC_PROFILE_THEME_WITH_USER_THEME,e7.A.syncProfileThemeWithUserTheme),tm(tc.O.CONTRAST_LEVEL_INCREASED,e7.A.isHighContrastModeEnabled)}}).init(),({init(){e7.A.addChangeListener(()=>{e7.A.keyboardModeEnabled?(e5.oP.setRingsEnabled(!0),e5.oP.enableAnimationTracking()):(e5.oP.setRingsEnabled(!1),e5.oP.disableAnimationTracking())})}}).init(),tR();var tY=n(507240),tW=n(284009),tK=n.n(tW),t$=n(30169),tz=n(481613),tq=n.n(tz),tX=n(422998),tZ=n(833272),tQ=n(112834),tJ=n(821609),t0=n(565645),t1=n(503698),t2=n.n(t1),t3=n(939249),t6=n(43990),t4=n(942857),t5=n(313961),t7=n(267102),t8=n(85563),t9=n(908031),ne=n(953727);function nt(e){let{width:t=12,height:n=12,color:i="currentColor",foreground:r,...s}=e;return(0,U.jsx)("svg",{...(0,ne.A)(s),width:t,height:n,viewBox:"0 0 12 12",children:(0,U.jsx)("path",{stroke:i,className:r,fill:"none",d:"M8.5,3.5 L6,6 L3.5,3.5 L6,6 L3.5,8.5 L6,6 L8.5,8.5 L6,6 L8.5,3.5 Z"})})}var nn=n(155545);function ni(e){let{width:t=12,height:n=12,color:i="currentColor",foreground:r,...s}=e;return(0,U.jsx)("svg",{...(0,ne.A)(s),width:t,height:n,viewBox:"0 0 12 12",children:(0,U.jsxs)("g",{fill:i,className:r,fillRule:"evenodd",children:[(0,U.jsx)("path",{d:"M5,3 C5,3 5,6.1325704 5,6.48601043 C5,6.83945045 5.18485201,7 5.49021559,7 L9,7 L9,6 L8,6 L8,5 L7,5 L7,4 L6,4 L6,3 L5,3 Z",transform:"rotate(180 7 5)"}),(0,U.jsx)("path",{d:"M3,5 C3,5 3,8.1325704 3,8.48601043 C3,8.83945045 3.18485201,9 3.49021559,9 L7,9 L7,8 L6,8 L6,7 L5,7 L5,6 L4,6 L4,5 L3,5 Z"})]})})}var nr=n(561155);function ns(e){let{width:t=12,height:n=12,color:i="currentColor",foreground:r,...s}=e;return(0,U.jsx)("svg",{...(0,ne.A)(s),width:t,height:n,viewBox:"0 0 12 12",children:(0,U.jsx)("rect",{fill:i,className:r,width:"8",height:"2",x:"2",y:"5",fillRule:"evenodd"})})}var na=n(375708),no=n(964837);let nl=(e,t)=>{(0,eU.isMac)()&&!t.altKey?tS.Ay.fullscreen(e):tS.Ay.maximize(e)},nu=e=>{let{children:t,windowKey:n,themeOverride:i,hasOpenLayer:r}=e,s=(0,U.jsx)(t3.D,{className:no.d1,onClick:()=>tS.Ay.close(n),"aria-label":na.intl.string(na.t.ZdNUj2),tabIndex:-1,children:(0,U.jsx)(t9.A,{})}),a=(0,U.jsx)(t3.D,{className:no.T0,onClick:e=>nl(n,e),"aria-label":na.intl.string(na.t.G1u0hK),tabIndex:-1,children:(0,U.jsx)(nn.A,{})}),o=(0,U.jsx)(t3.D,{className:no.T0,onClick:()=>tS.Ay.minimize(n),"aria-label":na.intl.string(na.t.CxOC4U),tabIndex:-1,children:(0,U.jsx)(nr.A,{})}),l=(0,U.jsxs)(U.Fragment,{children:[s,a,o]});return(0,U.jsx)(t6.N,{theme:i,children:e=>(0,U.jsxs)("div",{className:t2()(no._B,e,{[no.N_]:!r}),children:[(0,U.jsx)("div",{className:no.X1,children:(0,U.jsx)(t8.A,{})}),t,l]})})},nc=e=>{let{focused:t,windowKey:n,frame:i,themeOverride:r,hasOpenLayer:s,children:a}=e;return(0,U.jsx)(t6.N,{theme:r,children:e=>(0,U.jsxs)(t3.D,{className:t2()(i?no.zY:no.kE,t?no.in:no.Vn,e,{[no.N_]:!s}),onDoubleClick:()=>tS.Ay.maximize(n),tabIndex:-1,children:[ti.A.window.USE_OSX_NATIVE_TRAFFIC_LIGHTS?a:(0,U.jsxs)("div",{className:no.lY,children:[(0,U.jsx)(t3.D,{className:no.gV,onClick:()=>tS.Ay.close(n),"aria-label":na.intl.string(na.t.ZdNUj2),tabIndex:-1,children:(0,U.jsx)(nt,{color:"#4c0000"})}),(0,U.jsx)(t3.D,{className:no.wv,onClick:()=>tS.Ay.minimize(n),"aria-label":na.intl.string(na.t.CxOC4U),tabIndex:-1,children:(0,U.jsx)(ns,{color:"#975500"})}),(0,U.jsx)(t3.D,{className:no.KH,onClick:e=>nl(n,e),"aria-label":na.intl.string(na.t["2nM3Pk"]),tabIndex:-1,children:(0,U.jsx)(ni,{color:"#006500"})})]}),i?(0,U.jsx)("div",{className:no.Th,children:(0,U.jsx)(t8.A,{color:"#ffffff"})}):null]})})};var nd=n(531685),n_=n(690521),nh=n(975571),nf=n(721668);let np=e6.Ay.connectStores([nd.A],()=>({focused:nd.A.isFocused()}))(function(e){let{focused:t,type:n,windowKey:i,macOSFrame:r=!1,themeOverride:s}=e,a=(0,t7.Us)(),o=(0,e6.bG)([t5.A],()=>t5.A.isFullscreenInContext(a)),l=(0,t4.A)();if(o)return null;switch(n){case eU.PlatformTypes.WINDOWS:return(0,U.jsx)(nu,{windowKey:i,themeOverride:s,hasOpenLayer:l});case eU.PlatformTypes.OSX:return(0,U.jsx)(nc,{focused:t,windowKey:i,frame:r,themeOverride:s,hasOpenLayer:l});default:return null}});class nE extends e8.PureComponent{handleDownload=()=>{window.open(this.getPlatform()===eU.PlatformTypes.WINDOWS?nh.A.getArticleURL(eL.MVz.CORRUPT_INSTALLATION):eL.X7G.DOWNLOAD)};getPlatform(){let e=tq().os?.family;return null!=e&&/^win/i.test(e)?eU.PlatformTypes.WINDOWS:null!=e&&/darwin|os x/i.test(e)?eU.PlatformTypes.OSX:eU.PlatformTypes.LINUX}componentDidMount(){let e;e=window.require("electron").remote.getCurrentWindow(),tS.Ay.minimize=()=>e.minimize(),tS.Ay.maximize=()=>{e.isMaximized()?e.unmaximize():e.maximize()},tS.Ay.close=()=>e.close()}render(){let e=(0,U.jsx)("div",{children:(0,U.jsxs)("p",{children:[na.intl.string(na.t["4tRjHC"])," ",(0,U.jsx)(t0.A,{src:n_.Ay.getURL(tZ.A.convert.fromCodePoint("1f44c")),emojiName:":ok_hand:",animated:!1})]})});return(0,U.jsxs)(e8.Fragment,{children:[(0,U.jsx)(tX.mg,{children:(0,U.jsx)("html",{className:(0,tQ.m)(eL.NJ8.DARK)})}),(0,U.jsx)(np,{type:this.getPlatform()}),(0,U.jsx)(nf.A,{title:na.intl.string(na.t["3h+n+8"]),note:e,action:(0,U.jsx)(tJ.$,{size:"md",variant:"primary",text:na.intl.string(na.t["1WjMbC"]),onClick:this.handleDownload})})]})}}var nm=n(488428),ng=n(873263),nA=n(279194),nI=n(742821),nT=n(80703);let nS=e6.Ay.connectStores([eK.A,eW.default],()=>{let e=eW.default.getToken();return{token:e,hasLoadedExperiments:null!=e||eK.A.hasLoadedExperiments}})(e=>{let{hasLoadedExperiments:t,token:n}=e;return null!=n?(0,U.jsx)(ng.rd,{to:eL.BVt.APP}):t?(0,U.jsx)(ng.rd,{to:eL.BVt.DEFAULT_LOGGED_OUT}):null});var ny=n(492462),nN=n(156828),nv=n(192308),nC=n(830215),nR=n(258057),nO=n(869038),nb=n(66834),nD=n(730852),nL=n(271866),nw=n(197111),nM=n(10088);let nP=e0.Fr||e0.v1;function nx(e){let{children:t,deepLinkType:n,path:i,paramsBuilder:r,search:s}=e,a=(0,e6.bG)([eW.default],()=>eW.default.getFingerprint()??eW.default.getId()),o=(0,e6.bG)([eW.default],()=>eW.default.getInstallationForTracking()),l=(0,e6.bG)([nM.A],()=>nM.A.getState(i),[i]),u=e8.useMemo(()=>null==r?{path:i,fingerprint:a,installationId:o,search:s}:r({path:i,fingerprint:a,search:s,installationId:o}),[i,r,a,o,s]);return e8.useEffect(()=>{nP||null==l&&nw.A.openNativeAppModal(i,eL.e$_.DEEP_LINK,{type:n,params:u})},[l,i,u,n]),t}var nk=n(854378),nU=n(370227);let nG=n(843020);function nF(e){let{children:t}=e,n=(0,e6.bG)([nM.A],()=>nM.A.getHighestState());return(0,eU.isDesktop)()||n!==eL.fAW.OPENING?(0,eU.isDesktop)()||n!==eL.fAW.OPEN?t:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("img",{className:nU.Lq,src:nG,alt:""}),(0,U.jsx)("div",{className:nU.kL,children:(0,U.jsxs)(nk.Ay,{children:[(0,U.jsx)(nk.hE,{className:nU.Ns,children:na.intl.string(na.t.csrAMJ)}),(0,U.jsx)(nk.tK,{children:na.intl.string(na.t.ghBJz9)})]})})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("img",{className:nU.Lq,src:nG,alt:""}),(0,U.jsx)("div",{className:nU.kL,children:(0,U.jsxs)(nk.Ay,{children:[(0,U.jsx)(nk.hE,{children:na.intl.string(na.t["Z+hCVU"])}),(0,U.jsx)(nk.CK,{})]})})]})}function nV(e){function t(t){return(0,U.jsx)(nF,{children:(0,U.jsx)(e,{...t},"deeplink-wrapper")})}return t.displayName=`Deeplink(${e.displayName??e.name??"<Unknown>"})`,t}var nB=n(836753),nH=n(196492),nj=n(869003),nY=n(315206),nW=n(892491),nK=n(272355),n$=n(36149),nz=n(381689),nq=n(260509),nX=n(309010),nZ=n(967198),nQ=n(323073),nJ=n(329972),n0=n(784578),n1=n(204925),n2=n(835002);class n3 extends nK.A{_initialize(){ez.h.subscribe("CONNECTION_OPEN",this.handleConnectionOpen),ez.h.subscribe("CHANNEL_SELECT",this.handleChannelSelect),ez.h.subscribe("AGE_GATE_MODAL_OPEN",this.handleAgeGateModalOpen),ez.h.subscribe("AGE_GATE_MODAL_CLOSE",this.handleAgeGateModalClose),ez.h.subscribe("AGE_GATE_SUCCESS_MODAL_OPEN",this.handleAgeGateSuccess),ez.h.subscribe("AGE_GATE_FAILURE_MODAL_OPEN",this.handleAgeGateFailure),ez.h.subscribe("GUILD_UPDATE",this.handleGuildUpdate)}_terminate(){ez.h.unsubscribe("CONNECTION_OPEN",this.handleConnectionOpen),ez.h.unsubscribe("CHANNEL_SELECT",this.handleChannelSelect),ez.h.unsubscribe("AGE_GATE_MODAL_OPEN",this.handleAgeGateModalOpen),ez.h.unsubscribe("AGE_GATE_MODAL_CLOSE",this.handleAgeGateModalClose),ez.h.unsubscribe("AGE_GATE_SUCCESS_MODAL_OPEN",this.handleAgeGateSuccess),ez.h.unsubscribe("AGE_GATE_FAILURE_MODAL_OPEN",this.handleAgeGateFailure),ez.h.unsubscribe("GUILD_UPDATE",this.handleGuildUpdate)}handleChannelSelect(e){let{guildId:t,channelId:n}=e;(0,nQ.kK)(t,n)}handleConnectionOpen(){let e=nZ.A.getGuildId(),t=nX.A.getChannelId();(0,nQ.kK)(e,t)}handleAgeGateModalOpen(e){let{source:t}=e;(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("81927"),n.e("80774"),n.e("28367"),n.e("82758"),n.e("57641"),n.e("10136")]).then(n.bind(n,776971));return n=>(0,U.jsx)(e,{source:t,...n})},{modalKey:n1.Uy,onCloseRequest:eL.tEg,backdropStyle:(0,n$.lU)(t)?nW.F.LIGHTBOX:void 0})}handleAgeGateSuccess(){nz.A.showSuccessToast(n2.OB.EXISTING_USER_AGE_GATE_SUCCESS),(0,nv.closeModal)(n1.Uy)}handleAgeGateFailure(e){let{underageMessage:t}=e;(0,nv.updateModal)(n1.Uy,e=>(0,U.jsx)(n0.default,{underageMessage:t,...e}))}handleAgeGateModalClose(){(0,nv.closeModal)(n1.Uy)}handleGuildUpdate(e){let{guild:t}=e,n=nZ.A.getGuildId();if(null!=n&&t.id===n&&(t.owner_configured_content_level===eL.ftr.AGE_RESTRICTED||(0,nJ.v)("age_gate_manager")&&nq.uA.has(t.nsfw_level)))return void(0,nQ.kK)(t.id,null)}}let n6=new n3;var n4=n(451988),n5=n(927813),n7=n(881615),n8=n(789999);let n9=eW.default.getToken();class ie extends nK.A{focusedOrForegrounded=(0,n8.R)();heartbeatInterval=new n4.IX;schedulerStarted=!1;lastHeartbeatTimestamp=0;_initialize(){this.focusedOrForegrounded=(0,n8.R)(),eW.default.addChangeListener(this.handleAuthenticationChange),ez.h.subscribe("WINDOW_FOCUS",this.handleWindowFocus),ez.h.subscribe("APP_STATE_UPDATE",this.handleAppStateUpdate),ez.h.subscribe("QUESTS_ENROLL_SUCCESS",this.handleEnrollmentSuccess),ez.h.subscribe("LOGIN_SUCCESS",this.handleLogin),ez.h.subscribe("LOGOUT",this.handleLogout),this.scheduleHeartbeatTracking()}_terminate(){this.stopAnalyticHeartbeat(),eW.default.removeChangeListener(this.handleAuthenticationChange),ez.h.unsubscribe("WINDOW_FOCUS",this.handleWindowFocus),ez.h.unsubscribe("APP_STATE_UPDATE",this.handleAppStateUpdate),ez.h.unsubscribe("QUESTS_ENROLL_SUCCESS",this.handleEnrollmentSuccess),ez.h.unsubscribe("LOGIN_SUCCESS",this.handleLogin),ez.h.unsubscribe("LOGOUT",this.handleLogout)}maybeStartHeartbeat=()=>{this.heartbeatInterval.isStarted()||(this.trackHeartbeat(),this.heartbeatInterval.start(5*n5.A.Millis.MINUTE,this.trackHeartbeat))};startAnalyticHeartbeat=()=>{this.schedulerStarted||(this.schedulerStarted=!0,ev.A.addBreadcrumb({category:"ad",message:"Starting ad session heartbeat"}),this.maybeStartHeartbeat())};trackHeartbeat=(()=>{var e=this;return function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e.schedulerStarted&&!t){ev.A.addBreadcrumb({category:"ad",message:"Ad heartbeat called but scheduler not started"}),e.heartbeatInterval.stop();return}let n=performance.now(),i=n-e.lastHeartbeatTimestamp,r=5*n5.A.Millis.MINUTE;if(!t&&e.lastHeartbeatTimestamp>0&&i<r)return;let s=(0,n7.sN)();ew.default.track(eL.HAw.CLIENT_AD_HEARTBEAT,{client_ad_session_id:s.uuid,client_heartbeat_initialization_timestamp:s.createdAtTimestamp,client_heartbeat_version:3}),e.lastHeartbeatTimestamp=n}})();stopAnalyticHeartbeat=(()=>{var e=this;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"DEFAULT";e.schedulerStarted&&(e.schedulerStarted=!1,e.lastHeartbeatTimestamp=0,ev.A.addBreadcrumb({category:"ad",message:`Stopping ad session heartbeat: ${t}`}),e.heartbeatInterval.stop())}})();scheduleHeartbeatTracking=(()=>{var e=this;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"DEFAULT";if(e.focusedOrForegrounded&&null!=n9)try{e.startAnalyticHeartbeat()}catch(e){ev.A.captureException(e)}else e.stopAnalyticHeartbeat(t)}})();handleLogin=()=>{this.scheduleHeartbeatTracking(),this.trackHeartbeat(!0)};handleLogout=()=>{this.stopAnalyticHeartbeat("USER_LOGOUT"),(0,n7.Db)()};handleEnrollmentSuccess=()=>{(0,n7.sN)(!0)};handleWindowFocus=e=>{let{focused:t}=e;this.focusedOrForegrounded=t,this.scheduleHeartbeatTracking("WINDOW_FOCUS")};handleAppStateUpdate=e=>{let{state:t}=e;this.focusedOrForegrounded=t===eL.g6G.ACTIVE,this.scheduleHeartbeatTracking("APP_STATE_UPDATE")};handleAuthenticationChange=()=>{let e=eW.default.getToken();n9!==e&&(n9=e,(0,n7.Db)(),this.stopAnalyticHeartbeat()),this.scheduleHeartbeatTracking()}}let it=new ie;var ii=n(793574),ir=n(114716),is=n(827343),ia=n(952818),io=n(869146),il=n(731854);let iu=new Set,ic=new Set,id=null;function i_(){for(let e of iu)is.A.setDisableLocalVideo(e,eL.bb8.MANUAL_ENABLED,il.x.DEFAULT,!1);ic.clear(),iu.clear()}class ih extends nK.A{_initialize(){ez.h.subscribe("RTC_CONNECTION_VIDEO",this.handleIncomingVideo),ez.h.subscribe("AUDIO_SET_LOCAL_VIDEO_DISABLED",this.handleManualLocalVideoToggle),ez.h.subscribe("WINDOW_VISIBILITY_CHANGE",this.handleWindowVisibilityChange),ez.h.subscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect),io.A.addChangeListener(this.handlePopoutChange)}_terminate(){ez.h.unsubscribe("RTC_CONNECTION_VIDEO",this.handleIncomingVideo),ez.h.unsubscribe("AUDIO_SET_LOCAL_VIDEO_DISABLED",this.handleManualLocalVideoToggle),ez.h.unsubscribe("WINDOW_VISIBILITY_CHANGE",this.handleWindowVisibilityChange),ez.h.unsubscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect),io.A.removeChangeListener(this.handlePopoutChange),i_(),id=null}handleIncomingVideo(e){let{userId:t,context:n,streamId:i}=e;if(n!==il.x.DEFAULT||null==i)return;let r=null!=ia.Ay.getVisibleGame(),s=nd.A.isVisible(),a=io.A.getWindowVisible(eL.MLl.CHANNEL_CALL_POPOUT),o=tI.Ay.isLocalVideoDisabled(t,n),l=ic.has(t);!r||s||a||o||l||(iu.add(t),is.A.setDisableLocalVideo(t,eL.bb8.DISABLED,n,!1))}handleManualLocalVideoToggle(e){let{userId:t,persist:n}=e;n&&(ic.add(t),iu.delete(t))}handleWindowVisibilityChange=e=>{let{visible:t}=e;t&&i_()};handleVoiceChannelSelect=e=>{let{channelId:t}=e;t!==id&&(i_(),id=t)};handlePopoutChange=()=>{io.A.getWindowVisible(eL.MLl.CHANNEL_CALL_POPOUT)&&i_()}}let ip=new ih;var iE=n(735438),im=n.n(iE);class ig extends e8.Component{animProps;_animationFrame;ref=e8.createRef();constructor(e){super(e),this.state={shaking:!1}}getDefaultAnimProps(e,t){return{duration:e??300,progress:0,last:Date.now(),intensity:t??5,lastDirection:-1,frameCount:0}}componentWillUnmount(){this._animationCleanup()}shake(e,t){this.animProps=this.getDefaultAnimProps(e,t),this.state.shaking||this.setState({shaking:!0},this._animate)}stop(){this.state.shaking&&this.setState({shaking:!1})}_animate=()=>{let{animProps:e}=this;if(!this.state.shaking||e.progress>e.duration||null==this.ref.current)return void this._animationComplete();let t=Date.now();if(e.progress+=t-e.last,e.last=t,e.frameCount%2!=0){let t=e.lastDirection*e.intensity,n=im().random(-e.intensity,e.intensity,!0),i=Math.max(0,Math.cbrt(e.duration-e.progress/1e3));e.intensity*=Math.min(1,i),e.lastDirection*=-1,tK()(null!=this.ref.current,"Shakeable style set when not mounted"),this.ref.current.style.transform=`translate3d(${t}px,${n}px,0px)`}e.frameCount+=1,this._animationFrame=requestAnimationFrame(this._animate)};_animationComplete(){this.setState({shaking:!1},this._animationCleanup)}_animationCleanup=()=>{null!=this.ref.current&&(this.ref.current.style.transform=""),cancelAnimationFrame(this._animationFrame)};render(){let{children:e,...t}=this.props;return(0,U.jsx)("div",{...t,ref:this.ref,children:e})}}var iA=n(447453),iI=n(933958),iT=n(969151),iS=n(91242),iy=n(643501),iN=n(652896),iv=n(400492),iC=n(105530),iR=n(95701),iO=n(616356),ib=n(734057),iD=n(803224),iL=n(763827),iw=n(485296),iM=n(977997),iP=n(607567),ix=n(403362);function ik(e,t,n,i){e8.useEffect(()=>{let r=t(),s=new e6.ru(e,()=>{let e=t(),s=n(r,e);null==s||iD.A.isSoundDisabled(s)||(0,iv.Ak)(s,i??.4),r=e});return s.attach("useSound"),()=>s.detach()})}function iU(){return ik([tI.Ay,nX.A],()=>({inVoiceChannel:null!=nX.A.getVoiceChannelId(),selfMute:tI.Ay.isSelfMute(),selfDeaf:tI.Ay.isSelfDeaf(),audioPermissionReady:tI.Ay.isNativeAudioPermissionReady(),shouldSkipMuteUnmuteSound:tI.Ay.shouldSkipMuteUnmuteSound()}),(e,t)=>{let{inVoiceChannel:n,selfMute:i,selfDeaf:r,audioPermissionReady:s,shouldSkipMuteUnmuteSound:a}=t;if(e.selfDeaf!==r)return r?"deafen":"undeafen";if(s&&(n||e.audioPermissionReady)&&e.selfMute!==i)return a?void tI.Ay.notifyMuteUnmuteSoundWasSkipped():i?"mute":"unmute"}),null}function iG(){return ik([tI.Ay,nX.A],()=>({videoEnabled:tI.Ay.isVideoEnabled(),inVoiceChannel:null!=nX.A.getVoiceChannelId()}),(e,t)=>{let{videoEnabled:n,inVoiceChannel:i}=t,{videoEnabled:r,inVoiceChannel:s}=e;if(r!==n&&s&&i)return n?"camera_on":"camera_off"}),null}function iF(){return ik([ib.A,iL.A,nX.A,iy.default],()=>{let e=ib.A.getChannel(nX.A.getVoiceChannelId()),t=e?.type,n=e?.getGuildId(),i=iL.A.getWasEverRtcConnected(),r=iL.A.getState();return{channelType:t,guildId:n,connected:r===eL.S7L.RTC_CONNECTED,connectHasStarted:!i&&r!==eL.S7L.DISCONNECTED||r===eL.S7L.RTC_CONNECTED,awaitingRemote:null!=iy.default.getAwaitingRemoteSessionInfo(),connectedRemote:null!=iy.default.getRemoteSessionId()}},(e,t)=>{let{channelType:n,connected:i,connectHasStarted:r,awaitingRemote:s,connectedRemote:a}=t,o=e.channelType,l=e.connectedRemote,u=e.connected;if(!e.connectHasStarted&&r||a&&!l){if(null!=n&&iR.Do.has(n))return;return"user_join"}if(u&&!i){if(s||a||null!=o&&iR.Do.has(o))return;return"disconnect"}}),null}function iV(){return ik([iw.A],()=>iw.A.isCurrentUserPTTActive(),(e,t)=>{if(e!==t){let e=tI.Ay.isSelfMute();if(tI.Ay.getMode()===eL.TBI.PUSH_TO_TALK&&!e)return t?"ptt_start":"ptt_stop"}}),null}function iB(){return ik([tI.Ay],()=>tI.Ay.isSelfMutedTemporarily(),(e,t)=>{if(e!==t){let e=tI.Ay.isSelfMute();if(tI.Ay.getMode()===eL.TBI.VOICE_ACTIVITY&&!e)return t?"ptt_stop":"ptt_start"}}),null}function iH(){return ik([iw.A],()=>iw.A.isCurrentUserPrioritySpeaker(),(e,t)=>{if(e!==t){let e=tI.Ay.isSelfMute();if(tI.Ay.getMode()===eL.TBI.VOICE_ACTIVITY&&!e)return t?"ptt_start":"ptt_stop"}}),null}function ij(){return ik([iM.A],()=>iM.A.userHasBeenMovedVersion,(e,t)=>{if(e!==t)return"user_moved"}),null}function iY(){return ik([nX.A,iM.A],()=>{let e=nX.A.getVoiceChannelId();if(null==e)return iC.zF.NONE;let t=iM.A.getVoiceStateForChannel(e);return(0,iC.eY)(t)},(e,t)=>{if(e!==t&&t===iC.zF.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK)return"reconnect"}),null}function iW(){return ik([nX.A,iO.A,eW.default,iM.A,ib.A],()=>{let e,t,n=nX.A.getVoiceChannelId(),i=eW.default.getId(),r=[],s=null,a=0,o=iO.A.getAllActiveStreams();if(null!=n){let i=ib.A.getChannel(n);null!=i&&(e=i.type,t=iP.Ay.countVoiceStatesForChannel(i.id)-!!iM.A.isInChannel(i.id),r=iO.A.getAllApplicationStreamsForChannel(i.id).map(e=>e.ownerId))}let l=null;return l=1===o.length?o[0]:iO.A.getCurrentUserActiveStream(),l?.state===eL.XYD.CONNECTING&&(l=null),null!=l&&(s=(0,iN._z)(l),a=iO.A.getViewerIds(s).filter(e=>e!==i).length),{channelType:e,voiceChannelId:n,voiceChannelUserCount:t,streamingUserIds:r,singleActiveStreamKey:s,singleActiveStreamViewerCount:a,currentUserId:i,allActiveStreams:o}},(e,t)=>{let{channelType:n,voiceChannelId:i,voiceChannelUserCount:r,streamingUserIds:s,singleActiveStreamKey:a,singleActiveStreamViewerCount:o,currentUserId:l}=t;if(e.voiceChannelId!==i||null==i||function(e){let t=ib.A.getChannel(e);if(null==t)return!1;let n=t.getGuildId();if(null==n)return!1;let i=tx.A.getGuild(n);return null!=i&&i.afkChannelId===t.id}(i)||null!=n&&iR.Do.has(n))return;let u=null!=a&&e.singleActiveStreamKey===a,c=s.some(t=>!e.streamingUserIds.includes(t)),d=e.allActiveStreams.map(e=>e.ownerId),_=e.streamingUserIds.some(e=>!s.includes(e)&&(e===l||d.includes(e)));if(c)return"stream_started";if(_)return"stream_ended";if(e.singleActiveStreamViewerCount<=25&&u&&o>e.singleActiveStreamViewerCount)return"stream_user_joined";if(null!=e.voiceChannelUserCount&&null!=r&&e.voiceChannelUserCount<=25&&r>e.voiceChannelUserCount)return"user_join";if(null!=e.voiceChannelUserCount&&null!=r&&e.voiceChannelUserCount<=25&&r<e.voiceChannelUserCount)return"user_leave";else if(e.singleActiveStreamViewerCount<=25&&u&&o<e.singleActiveStreamViewerCount)return"stream_user_left"}),null}function iK(){return ik([nX.A,iI.Ay,iS.A,eW.default],()=>{let e=nX.A.getVoiceChannelId(),t=nX.A.getChannelId(),n=iI.Ay.getConnectedActivityLocation(),i=(0,iT.H)(n),r=eW.default.getId(),s=(0,ix.Vq)(t)?iI.Ay.getEmbeddedActivitiesForChannel(t):iI.Am,a=(0,ix.Vq)(e)?iI.Ay.getEmbeddedActivitiesForChannel(e):iI.Am,o=(0,ix.Vq)(i)?iI.Ay.getEmbeddedActivitiesForChannel(i):iI.Am,l=(0,ix.Vq)(n)?iI.Ay.getSelfEmbeddedActivityForLocation(n):null;return{connectedActivityLocation:n,voiceChannelId:e,currentUserId:r,channelActivities:s,connectedChannelActivities:o,userConnectedActivity:l,voiceChannelActivities:a,connectedFrame:iS.A.getConnectedFrame()}},(e,t)=>{let n,{connectedActivityLocation:i,voiceChannelId:r,currentUserId:s,channelActivities:a,connectedChannelActivities:o,userConnectedActivity:l,voiceChannelActivities:u,connectedFrame:c}=t,d=u.some(e=>e.applicationId===l?.applicationId&&e.launchId===l.launchId);if((0,ix.Vq)(r)){let t=e.voiceChannelActivities.find(e=>e.userIds.has(s)),i=u.find(e=>e.userIds.has(s));e.voiceChannelActivities.length<u.length&&(0,ix.Vq)(e.voiceChannelId)&&(n="activity_launch"),void 0===i&&(0,ix.Vq)(t)&&(n="activity_end"),void 0===t&&(0,ix.Vq)(i)&&i.userIds.size>1&&(n="activity_user_join"),(0,ix.Vq)(i)&&(0,ix.Vq)(t)&&(i.userIds.size>t.userIds.size&&(n="activity_user_join"),i.userIds.size<t.userIds.size&&(n="activity_user_left"))}if(!d){e.connectedChannelActivities.length<o.length&&e.channelActivities.length<a.length&&(n="activity_launch");let t=e.userConnectedActivity;null==l&&(0,ix.Vq)(t)&&(n="activity_end"),(0,ix.Vq)(l)&&(0,ix.Vq)(t)&&(l.userIds.size>t.userIds.size&&(n="activity_user_join"),l.userIds.size<t.userIds.size&&(n="activity_user_left"))}return null==n&&(null!=e.connectedActivityLocation||null!=i)&&(null==e.connectedActivityLocation&&null!=i?n="activity_launch":null!=e.connectedActivityLocation&&null==i?n="activity_end":null!=l&&null!=e.userConnectedActivity&&(e.userConnectedActivity.userIds.size<l.userIds.size?n="activity_user_join":e.userConnectedActivity.userIds.size>l.userIds.size&&(n="activity_user_leave"))),null==n&&(null!=e.connectedFrame||null!=c)&&(null==e.connectedFrame&&null!=c?n="activity_launch":null!=e.connectedFrame&&null==c&&(n="activity_end")),n}),null}function i$(){return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(iU,{}),(0,U.jsx)(iG,{}),(0,U.jsx)(iF,{}),(0,U.jsx)(iV,{}),(0,U.jsx)(iB,{}),(0,U.jsx)(ij,{}),(0,U.jsx)(iW,{}),(0,U.jsx)(iY,{}),(0,U.jsx)(iK,{}),(0,U.jsx)(iH,{})]})}var iz=n(337371),iq=n(775121),iX=n(498419),iZ=n.n(iX),iQ=n(800828),iJ=n(912309),i0=n(458294),i1=n(994500),i2=n(503509),i3=n(726249);let i6=new Set(["Blink","Gecko","WebKit"]),i4=eL.tEg;if(eU.isPlatformEmbedded)i4=e=>tS.Ay.setBadge(e);else if(i6.has(tq().layout)){let e=new(iZ())({animation:"none"});i4=t=>{try{(0,i3.sF)(t),e.badge(-1===t?"\u2022":t)}catch(e){}}}var i5=n(780964),i7=n(766075);let i8=(0,eU.isMac)()?null:"DEFAULT";class i9 extends e8.PureComponent{getIcon=()=>{let{deafened:e,muted:t,speaking:n,connected:i,unread:r}=this.props,s=i8;return(0,eU.isMac)()&&!i?s:(0,eU.isLinux)()||!i?(r&&(s="UNREAD"),s):s=e?"DEAFENED":t?"MUTED":n?"SPEAKING":"CONNECTED"};componentDidMount(){tS.Ay.setSystemTrayIcon(this.getIcon())}componentDidUpdate(){tS.Ay.setSystemTrayIcon(this.getIcon())}componentWillUnmount(){tS.Ay.setSystemTrayIcon(i8)}render(){return null}}let re=()=>null;eU.isPlatformEmbedded&&(tS.Ay.on("SYSTEM_TRAY_TOGGLE_MUTE",()=>is.A.toggleSelfMute({location:"System Tray"})),tS.Ay.on("SYSTEM_TRAY_TOGGLE_DEAFEN",()=>is.A.toggleSelfDeaf()),tS.Ay.on("SYSTEM_TRAY_OPEN_VOICE_SETTINGS",()=>{(0,i7.openUserSettings)(i5.X.VOICE_CATEGORY)}),re=e6.Ay.connectStores([iL.A,tI.Ay,iw.A,i0.default,i1.A,iD.A,iQ.A],()=>{let e=i0.default.getTotalMentionCount(),t=i0.default.hasAnyUnread(),n=(0,iJ.dH)([i1.A,iQ.A]),i=!iD.A.getDisableUnreadBadge()&&!!(t||e+n>0);return{connected:iL.A.isConnected(),speaking:iw.A.isCurrentUserSpeaking(),muted:tI.Ay.isSelfMute()||tI.Ay.isSelfMutedTemporarily(),deafened:tI.Ay.isSelfDeaf(),unread:i}})(i9));let rt=re;var rn=n(289873),ri=n(720149),rr=n(183994),rs=n(268218),ra=n(335180);let ro=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("66787"),n.e("39713"),n.e("46461"),n.e("41973"),n.e("5539"),n.e("85471"),n.e("28885"),n.e("89156"),n.e("18270"),n.e("21437"),n.e("47680"),n.e("10471"),n.e("11301"),n.e("61737"),n.e("2368"),n.e("2316"),n.e("56959"),n.e("44057"),n.e("87782"),n.e("29569"),n.e("40003"),n.e("59587"),n.e("55839"),n.e("43148"),n.e("6687"),n.e("3177")]).then(n.bind(n,338249)),webpackId:338249,renderLoader:ra.IA});var rl=n(761929),ru=n(458518),rc=n(107361),rd=n(549711),r_=n(824579),rh=n(702841),rf=n(131607),rp=n(533550),rE=n(49999),rm=n(46275);let rg=e8.memo(function(e){let{state:t,markAsDismissed:n}=e,{name:i,guildId:r,boundingRect:s}=t,a=e8.useMemo(()=>null,[i,r,n]);return null==a?null:(0,U.jsx)("div",{className:t2()(rm.UX,(null==s||s.y<0)&&rm.R),style:null==s?{}:{top:s.top,left:s.right-s.x},children:a})});function rA(){let e=(0,rh.bG)([nZ.A],()=>nZ.A.getGuildId()),t=(0,rp.RX)(e),[n,i]=(0,rf.kn)(Object.values(t).filter(e=>{let{disabled:t}=e;return!t}).map(e=>{let{name:t}=e;return t}),rE.m.SIDEBAR);if(null==n)return null;let r=t[n];return null==r?null:(0,U.jsx)("div",{className:rm.kL,children:(0,U.jsx)(rg,{state:r,markAsDismissed:i})})}let rI=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("24003"),n.e("44123"),n.e("66787"),n.e("31329"),n.e("89156"),n.e("22995"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("75804"),n.e("10577"),n.e("76119"),n.e("12669"),n.e("64235"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("42724"),n.e("86127"),n.e("23608"),n.e("44571"),n.e("87439"),n.e("36877"),n.e("38501"),n.e("98329"),n.e("21957"),n.e("93766"),n.e("52511"),n.e("54622"),n.e("54103"),n.e("70683"),n.e("2260"),n.e("28203"),n.e("52803"),n.e("43710"),n.e("76622"),n.e("64926"),n.e("99976"),n.e("82561"),n.e("74382"),n.e("63176"),n.e("72570")]).then(n.bind(n,887073)),webpackId:887073}),rT=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("24003"),n.e("44123"),n.e("66787"),n.e("31329"),n.e("89156"),n.e("22995"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("84935"),n.e("77880"),n.e("12669"),n.e("64235"),n.e("59271"),n.e("75804"),n.e("10577"),n.e("76119"),n.e("50474"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("8596"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("9233"),n.e("72963"),n.e("42724"),n.e("86127"),n.e("86814"),n.e("50117"),n.e("23608"),n.e("44571"),n.e("87439"),n.e("92128"),n.e("99549"),n.e("36877"),n.e("38501"),n.e("98329"),n.e("21957"),n.e("93766"),n.e("52511"),n.e("61058"),n.e("54622"),n.e("54103"),n.e("70683"),n.e("2260"),n.e("28203"),n.e("52803"),n.e("43710"),n.e("76622"),n.e("75284"),n.e("64926"),n.e("99976"),n.e("82561"),n.e("74382"),n.e("25056"),n.e("86823"),n.e("2750"),n.e("63176"),n.e("50958"),n.e("59275")]).then(n.bind(n,708184)),webpackId:708184}),rS=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("24003"),n.e("44123"),n.e("66787"),n.e("31329"),n.e("89156"),n.e("22995"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("75804"),n.e("10577"),n.e("76119"),n.e("12669"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("42724"),n.e("86127"),n.e("23608"),n.e("44571"),n.e("87439"),n.e("36877"),n.e("38501"),n.e("98329"),n.e("21957"),n.e("93766"),n.e("52511"),n.e("54622"),n.e("54103"),n.e("70683"),n.e("2260"),n.e("28203"),n.e("52803"),n.e("43710"),n.e("76622"),n.e("64926"),n.e("99976"),n.e("82561"),n.e("74382"),n.e("82583")]).then(n.bind(n,479808)),webpackId:479808});var ry=n(353640),rN=n(574381),rv=n(312138),rC=n(346411),rR=n(793943),rO=n(189252);function rb(){let{activePanel:e}=(0,rR.fy)(),t=e===rR.HP.APPLICATION_TEST_MODE_DEBUG;return(0,U.jsx)(rO.A,{onClick:()=>{t?(0,rR.Jp)():(0,rR.nf)(rR.HP.APPLICATION_TEST_MODE_DEBUG)},icon:rC.P,tooltip:na.intl.string(na.t["9Isknj"]),selected:t})}var rD=n(587895),rL=n(875444);let rw=(0,eM.mj)({name:"2026-01-bug-reporter",kind:"user",defaultConfig:{hasBugReporterAccess:!1},variations:{1:{hasBugReporterAccess:!0}}});var rM=n(554146),rP=n(176781),rx=n(379848),rk=n(447404),rU=n(186111),rG=n(734066),rF=n(138082),rV=n(274372),rB=n(361157),rH=n(710315),rj=n(537668);function rY(e){let{markAsDismissed:t,onCheckItOut:n,shouldShow:i=!0,children:r}=e,s=(0,rB.K)(e=>e.clipsButtonRef),a=(0,rB.n)();return null==s?r:(0,U.jsx)(rj.A,{markAsDismissed:t,position:"bottom",shouldShow:i,targetElementRef:a,onCheckItOut:n,children:r})}var rW=n(338854),rK=n(43105),r$=n(372684),rz=n(877575),rq=n(665039);function rX(e){let{onOpenClipsGallery:t,canShowReminder:n}=e,{canShowReminders:i,lastClipsSession:r,mostRecentClip:s}=(0,e6.cf)([rV.Ay],()=>{let e=rV.Ay.getLastClipsSession(),t=e?.newClipIds,n=null!=t?rV.Ay.getClipIds().find(e=>t.includes(e)):null;return{canShowReminders:rV.Ay.canShowReminders(),lastClipsSession:e,mostRecentClip:null!=n?rV.Ay.getClipById(n):null}}),a=(0,rB.K)(e=>e.clipsButtonRef),o=(0,rB.n)(),l=(0,nv.useModalsStore)(nv.hasAnyModalOpenSelector),u=(0,e6.bG)([rU.A],()=>rU.A.hasLayers()),c=(0,rq.j)(s),d=e8.useCallback(()=>{(0,rz.jA)()},[]);return!n||!i||l||u||null==a||null==s||null==r?null:s.type!==r$.nQ.SCREENSHOT&&s.type!==r$.nQ.VOICE_CLIP&&null!=c?(0,U.jsx)(rW.H,{targetElementRef:o,position:"bottom",title:na.intl.string(na.t.JugHO7),body:na.intl.format(na.t["+qxkzC"],{count:r.newClipIds.length}),assetUrl:c,disableMediaViewer:!0,caretConfig:{align:"center"},action:{text:na.intl.string(na.t.tQPBml),onClick:t},onRequestClose:d}):(0,U.jsx)(rK.A,{targetElementRef:o,position:"bottom",title:na.intl.string(na.t.JugHO7),body:na.intl.format(na.t["+qxkzC"],{count:r.newClipIds.length}),graphic:null!=s.thumbnail?{type:"image",src:s.thumbnail}:void 0,caretConfig:{align:"center"},actions:[{text:na.intl.string(na.t.tQPBml),onClick:t}],onRequestClose:d})}var rZ=n(271597);function rQ(e){let{canShowReminder:t=!1}=e,n=(0,rG.sw)(),{topBarButton:i,userStatusMenu:r}=rH.$.useConfig({location:"ClipsButton"}),{enableQuickBar:s}=rF.h.useConfig({location:"ClipsButton"}),{hasNewClips:a,hasAnyClipAnimations:o}=(0,e6.cf)([rV.Ay],()=>({hasNewClips:rV.Ay.getNewClipIds().length>0,hasAnyClipAnimations:rV.Ay.hasAnyClipAnimations()})),l=(0,rB.K)(e=>e.clipsButtonRef),u=(0,rB.K)(e=>e.setClipsButtonRef),c=(0,nv.useModalsStore)(nv.hasAnyModalOpenSelector),d=(0,e6.bG)([rU.A],()=>rU.A.hasLayers()),{preventIdle:_,allowIdle:h}=(0,rk.o)("animation");function f(){(0,rZ.p)()}return(e8.useEffect(()=>(o?_():h(),()=>h()),[o,_,h]),i&&n)?(0,U.jsx)(rx.Ay,{contentTypes:null==l||r||c||d?[]:[rM.M.CLIPS_PRIMARY_ENTRY_POINT_COACHMARK],children:e=>{let{visibleContent:n,markAsDismissed:i}=e;return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(rX,{canShowReminder:t&&!s,onOpenClipsGallery:f}),(0,U.jsx)(rY,{markAsDismissed:i,shouldShow:n===rM.M.CLIPS_PRIMARY_ENTRY_POINT_COACHMARK,onCheckItOut:f,children:(0,U.jsx)("div",{ref:u,children:(0,U.jsx)(rO.A,{icon:rP.x,showBadge:a,tooltip:na.intl.string(na.t.MXaLEM),onClick:f})})})]})}}):null}var rJ=n(990078),r0=n(477155),r1=n(935286),r2=n(176522),r3=n(963169),r6=n(546859);let r4=r2.GY.binds["0"],r5=r2.M$.binds["0"],r7=e=>{let{firstElementFocusJumpSectionProps:t={}}=e,{canGoBack:n,canGoForward:i}=function(){let e=e8.useCallback(()=>{if(null==window||!("navigation"in window))return{canGoBack:!1,canGoForward:!1};let e=window.navigation;return{canGoBack:e.canGoBack??!1,canGoForward:e.canGoForward??!1}},[]),[t,n]=e8.useState(e);return e8.useEffect(()=>{let t=()=>{n(e())};return ez.h.subscribe("ROUTE_CHANGED",t),ez.h.subscribe("LOGOUT",t),()=>{ez.h.unsubscribe("ROUTE_CHANGED",t),ez.h.unsubscribe("LOGOUT",t)}},[e]),t}();return(0,U.jsxs)("div",{className:r6.y_,children:[(0,U.jsx)(rJ.m,{ariaHidden:!0,shouldShow:n,text:na.intl.string(na.t.B9vzIP),keyboardShortcut:r4,children:(0,U.jsx)(t3.D,{"aria-label":na.intl.string(na.t.B9vzIP),"aria-disabled":!n,tabIndex:n?0:-1,className:t2()(r6.x6,r6.aX,{[r6.r9]:!n}),onClick:()=>(0,r3.OE)("nav_button"),...t,children:(0,U.jsx)(r0.r,{size:"sm",color:"currentColor"})})}),(0,U.jsx)(rJ.m,{ariaHidden:!0,shouldShow:i,text:na.intl.string(na.t["9KJ29e"]),keyboardShortcut:r5,children:(0,U.jsx)(t3.D,{"aria-label":na.intl.string(na.t["9KJ29e"]),"aria-disabled":!i,tabIndex:i?0:-1,className:t2()(r6.x6,r6.sY,{[r6.r9]:!i}),onClick:()=>(0,r3.Qb)("nav_button"),children:(0,U.jsx)(r1.E,{size:"sm",color:"currentColor"})})})]})};var r8=n(291445),r9=n(661531),se=n(290136),st=n(427262);function sn(e){let{focusSectionProps:t}=e,n=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),i=(0,st.mv)(n);return(0,U.jsx)(tn.Anchor,{href:nh.C,target:"_blank",tabIndex:-1,children:(0,U.jsx)(rO.A,{color:i?r9.A.unsafe_rawColors.GREEN_360.css:"currentColor",onClick:()=>ew.default.track(eL.HAw.HELP_CLICKED,{highlighted:i}),icon:se.c,tooltip:na.intl.string(na.t["cqEoj/"]),...t})})}var si=n(980707),sr=n(477782),ss=n(92446),sa=n(509434),so=n(922016),sl=n(975807);let su=()=>(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("81927"),n.e("86173"),n.e("28367"),n.e("38695"),n.e("31897")]).then(n.bind(n,317248));return t=>(0,U.jsx)(e,{...t})});function sc(e){let{onClose:t}=e;return(0,U.jsx)(si.W,{"data-menu-migrated":!0,onSelect:()=>{},navId:"staff-help-popout",variant:"fixed",onClose:t,"aria-label":na.intl.string(na.t.HpQykc),children:(0,U.jsxs)(sr.rX,{children:[(0,U.jsx)(sr.Dr,{id:"staff-help-bug-reporter",label:na.intl.string(na.t["5LqopY"]),icon:ss.Q,leadingAccessory:{type:"icon",icon:ss.Q},action:su}),(0,U.jsx)(sr.Dr,{id:"staff-help-center",label:"Go to Help Center",icon:sa.I,leadingAccessory:{type:"icon",icon:se.c},trailingIndicator:{type:"icon",icon:sa.I},action:()=>(0,sl.A)(nh.C)})]})})}function sd(e){let{focusSectionProps:t}=e,[n,i]=e8.useState(!1),[r,s]=e8.useState(0),a=e8.useRef(null),o=e=>{clearTimeout(r),s(setTimeout(()=>{i(e)},100))};return(0,U.jsx)("div",{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:(0,U.jsx)(so.Y,{targetElementRef:a,shouldShow:n,animation:so.Y.Animation.NONE,position:"bottom",align:"right",autoInvert:!1,onRequestOpen:()=>i(!0),onRequestClose:()=>i(!1),renderPopout:()=>(0,U.jsx)(sc,{onClose:()=>i(!1)}),children:(e,n)=>{let{isShown:i}=n;return(0,U.jsx)(rO.A,{ref:a,onClick:su,icon:ss.Q,"aria-label":na.intl.string(na.t["5LqopY"]),selected:i,...t})}})})}var s_=n(32880),sh=n(157559),sf=n(987482);let sp="UPDATE_NOT_AVAILABLE";function sE(e){sp=e.type}class sm extends e6.Ay.Store{static displayName="AutoUpdateStore";getState(){return sp}}let sg=new sm(ez.h,{CHECKING_FOR_UPDATES:sE,UPDATE_NOT_AVAILABLE:sE,UPDATE_AVAILABLE:sE,UPDATE_MANUALLY:sE,UPDATE_ERROR:sE,UPDATE_DOWNLOADED:sE});var sA=n(82819);class sI extends e8.PureComponent{static getDerivedStateFromProps(e,t){return e.mode!==t.memoizedMode?{memoizedMode:e.mode,clicked:!1}:null}state={memoizedMode:this.props.mode,clicked:!1};handleDownloadApps(){(0,nv.openModal)(e=>(0,U.jsx)(sf.default,{source:"Links",...e}))}handleInstallDownload=()=>{iL.A.isConnected()?sh.A.show({title:na.intl.string(na.t.tiu1ly),body:na.intl.string(na.t["zK+lqW"]),onConfirm:this.doUpdate,cancelText:na.intl.string(na.t["ETE/oC"]),confirmText:na.intl.string(na.t["QDX/qu"]),confirmVariant:"critical-primary"}):this.doUpdate()};doUpdate=()=>{this.state.clicked||(this.setState({clicked:!0}),ez.h.dispatch({type:"AUTO_UPDATER_QUIT_AND_INSTALL"}))};render(){let e="UPDATE_AVAILABLE"===this.props.mode,t="UPDATE_DOWNLOADED"===this.props.mode||"UPDATE_MANUALLY"===this.props.mode;return e||t?(0,U.jsx)(rO.A,{tooltip:e?na.intl.string(na.t["zp9d/4"]):na.intl.string(na.t.u18OXF),color:r9.A.unsafe_rawColors.GREEN_360.css,colorClass:e?sA.z:void 0,onClick:this.handleInstallDownload,icon:s_.s,disabled:e}):null}}let sT=e6.Ay.connectStores([sg],()=>({mode:sg.getState()}))(sI);var sS=n(782603),sy=n(27232),sN=n(111159),sv=n(768622),sC=n(836480),sR=n(403581),sO=n(34188),sb=n(214947),sD=n(177953),sL=n(577473),sw=n(834730),sM=n(313281),sP=n(5180),sx=n(548118),sk=n(394953),sU=n(486020),sG=n(165610),sF=n(602339),sV=n(957896);function sB(){let e,t=(0,ng.zy)(),n=(0,e6.bG)([nZ.A],()=>nZ.A.getGuildId()),i=(0,e6.bG)([nX.A],()=>nX.A.getChannelId()),r=(0,e6.bG)([ib.A],()=>ib.A.getChannel(i),[i]),s=n??r?.guild_id,a=(0,e6.bG)([tx.A],()=>tx.A.getGuild(s),[s]),o=(0,sM.DZ)(),l=(0,sk.lI)(),{application:u,isFrameInFocusedMode:c}=(0,e6.cf)([rD.A,iS.A],()=>{let e=iS.A.getConnectedFrame();return{application:rD.A.getApplication(e?.applicationId),isFrameInFocusedMode:iS.A.getFrameLayoutMode()===sG.y.FOCUSED}}),d=null!=u?sU.Ay.getApplicationIconURL({id:u.id,icon:u.icon,bot:u.bot}):void 0,_=null;return(null!=u&&c?(e=u.name,_=(0,U.jsx)("img",{className:sV.Z2,alt:na.intl.string(na.t.X4IxWL),src:d,"aria-hidden":!0,draggable:!1})):l?(e=na.intl.string(na.t.HcoRu0),_=(0,U.jsx)(sS.X,{size:"sm"})):null!=a?(e=(0,sP.YC)(a),_=o?(0,U.jsx)(sy.G,{size:"sm"}):(0,U.jsx)(sx.Ay,{guild:a,size:sx.Ay.Sizes.SMOL,active:!0,className:sV.$f})):null!=r&&(r.isDM()||r.isGroupDM())?(e=na.intl.string(na.t.YUU0RF),_=(0,U.jsx)(sN.p,{size:"sm"})):t.pathname.startsWith(eL.BVt.ICYMI)?(e=na.intl.string(na.t["jnXV/V"]),_=(0,U.jsx)(sv.g,{size:"sm"})):t.pathname.startsWith(eL.BVt.GLOBAL_DISCOVERY)?(e=na.intl.string(na.t["4nEZLk"]),_=(0,U.jsx)(sC.Q,{size:"sm"})):t.pathname.startsWith(eL.BVt.NITRO_HOME)?(e=na.intl.string(na.t.Ipxkog),_=(0,U.jsx)(sR.t,{size:"sm"})):t.pathname.startsWith(eL.BVt.COLLECTIBLES_SHOP)?(e=na.intl.string(na.t.pWG4ze),_=(0,U.jsx)(sO.U,{size:"sm"})):t.pathname.startsWith(eL.BVt.FRIENDS)?(e=na.intl.string(na.t.TdEu5X),_=(0,U.jsx)(sb.$,{size:"sm"})):t.pathname.startsWith(eL.BVt.FAMILY_CENTER)?(e=na.intl.string(sF.default.RZqaJn),_=(0,U.jsx)(sD.n,{size:"sm"})):t.pathname.startsWith(eL.BVt.QUEST_HOME)&&(e=na.intl.string(na.t.JALI2K),_=(0,U.jsx)(sL.r,{size:"sm"})),null==e||""===e)?null:(0,U.jsxs)("div",{className:sV.DD,children:[_,(0,U.jsx)(sw.E,{variant:"text-sm/medium",lineClamp:1,children:e})]})}var sH=n(851109),sj=n(567249),sY=n(912592),sW=n(851580),sK=n(222823),s$=n(371911),sz=n(790782);function sq(e){let{onOpen:t,onClose:n,"data-jump-section":i}=e,r=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),s=e8.useRef(null),a=(0,e6.bG)([sK.Ay],()=>r?.id!=null&&sK.Ay.getMentionCount(r.id,sz.P.NOTIFICATION_CENTER)>0);return(0,U.jsx)(s$.C,{targetElementRef:s,onOpen:t,onClose:n,badgeState:{badgeForYou:a},popoutPosition:"bottom",popoutAlign:"right",children:(e,t,n,r)=>(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(rO.A,{...n,icon:sY.K,tooltip:na.intl.string(na.t.GSmTKJ),onClick:e,showBadge:a||r,selected:t,"data-jump-section":i,ref:s}),(0,U.jsx)(sW.v,{location:"inbox-button",targetElementRef:s})]})})}var sX=n(966597),sZ=n(430363);function sQ(){return null}var sJ=n(540999),s0=n(147964),s1=n(475815),s2=n(71855);n(801416);let s3=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("44136"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("66787"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("84935"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("28885"),n.e("49937"),n.e("32538"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("87478"),n.e("44780"),n.e("5557"),n.e("95160"),n.e("62718"),n.e("1812"),n.e("92128"),n.e("92295"),n.e("15109"),n.e("99549"),n.e("16988"),n.e("59797"),n.e("59466"),n.e("93336"),n.e("69793"),n.e("75859"),n.e("68530"),n.e("42726"),n.e("59373"),n.e("94888"),n.e("38951"),n.e("22427")]).then(n.bind(n,922281)),webpackId:922281,name:"ForLaterButton"}),s6=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("98594"),n.e("31329"),n.e("11328"),n.e("81154"),n.e("66622"),n.e("22822"),n.e("44136"),n.e("99961"),n.e("7927"),n.e("7580"),n.e("32950"),n.e("76602"),n.e("91763"),n.e("28229"),n.e("43437"),n.e("39970"),n.e("72789"),n.e("17249"),n.e("62422"),n.e("82644"),n.e("35321"),n.e("50033"),n.e("44780"),n.e("95160"),n.e("1812"),n.e("15109"),n.e("59466"),n.e("75133"),n.e("28850"),n.e("27659"),n.e("60003"),n.e("59373"),n.e("85802"),n.e("65200"),n.e("41348"),n.e("53402"),n.e("46240"),n.e("81505"),n.e("8066"),n.e("3671")]).then(n.bind(n,667086)),webpackId:667086,name:"NotificationsInboxTitleBarButton"}),s4=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("97177"),n.e("61949"),n.e("97549"),n.e("31329"),n.e("66787"),n.e("44078"),n.e("38518"),n.e("333"),n.e("68299"),n.e("19032"),n.e("84935"),n.e("89156"),n.e("45690"),n.e("47048"),n.e("14831"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("81927"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("22995"),n.e("44136"),n.e("22535"),n.e("44123"),n.e("82297"),n.e("69970"),n.e("88826"),n.e("28510"),n.e("45503"),n.e("99961"),n.e("89209"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("63635"),n.e("75804"),n.e("2065"),n.e("28885"),n.e("98651"),n.e("43413"),n.e("3633"),n.e("13114"),n.e("30402"),n.e("81516"),n.e("38559"),n.e("80287"),n.e("49937"),n.e("3445"),n.e("4981"),n.e("14764"),n.e("89217"),n.e("78576"),n.e("76026"),n.e("18102"),n.e("41973"),n.e("5539"),n.e("85471"),n.e("18270"),n.e("21437"),n.e("3175"),n.e("81275"),n.e("15086"),n.e("18042"),n.e("94695"),n.e("64235"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("95429"),n.e("13111"),n.e("68201"),n.e("62052"),n.e("38939"),n.e("3376"),n.e("13554"),n.e("94678"),n.e("1856"),n.e("91211"),n.e("55205"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("34552"),n.e("93103"),n.e("8757"),n.e("76602"),n.e("91763"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("85968"),n.e("76418"),n.e("68403"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("29787"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("98965"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("76273"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("35321"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("50033"),n.e("83952"),n.e("3998"),n.e("44780"),n.e("5557"),n.e("95160"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("60773"),n.e("61156"),n.e("92128"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("59957"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("20930"),n.e("74610"),n.e("38056"),n.e("26001"),n.e("16988"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("36877"),n.e("57458"),n.e("59797"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("38601"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("75133"),n.e("15920"),n.e("77487"),n.e("75859"),n.e("96804"),n.e("44057"),n.e("38501"),n.e("28850"),n.e("95998"),n.e("27659"),n.e("68530"),n.e("42234"),n.e("3930"),n.e("3663"),n.e("11617"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("66580"),n.e("77467"),n.e("78046"),n.e("80093"),n.e("98972"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("10943"),n.e("29260"),n.e("41701"),n.e("98329"),n.e("17823"),n.e("7775"),n.e("39894"),n.e("21455"),n.e("60989"),n.e("82486"),n.e("79435"),n.e("68083"),n.e("21957"),n.e("48730"),n.e("93766"),n.e("71467"),n.e("60003"),n.e("49013"),n.e("30167"),n.e("51892"),n.e("52511"),n.e("41838"),n.e("59373"),n.e("46045"),n.e("755"),n.e("33448"),n.e("3710"),n.e("73122"),n.e("42324"),n.e("45830"),n.e("8979"),n.e("54622"),n.e("33771"),n.e("54103"),n.e("9045"),n.e("77602"),n.e("70683"),n.e("46039"),n.e("95602"),n.e("5896"),n.e("18413"),n.e("15275"),n.e("34409"),n.e("16054"),n.e("69537"),n.e("87782"),n.e("29569"),n.e("36002"),n.e("96480"),n.e("2260"),n.e("41786"),n.e("79593"),n.e("73611"),n.e("41706"),n.e("28203"),n.e("52803"),n.e("62175"),n.e("40003"),n.e("94888"),n.e("89541"),n.e("90804"),n.e("21883"),n.e("44727"),n.e("5871"),n.e("27462"),n.e("22455"),n.e("68031"),n.e("50068"),n.e("97162"),n.e("10147"),n.e("6627"),n.e("60536"),n.e("81398"),n.e("4374"),n.e("86546"),n.e("94161"),n.e("70587"),n.e("7408"),n.e("55895"),n.e("46327"),n.e("28011"),n.e("15057"),n.e("48317"),n.e("91531"),n.e("76622"),n.e("75284"),n.e("20643"),n.e("43256"),n.e("64926"),n.e("30313"),n.e("50541"),n.e("47999"),n.e("37886"),n.e("59587"),n.e("61750"),n.e("20803"),n.e("43372"),n.e("88109"),n.e("95782"),n.e("13051"),n.e("19119"),n.e("61137"),n.e("96817"),n.e("73566"),n.e("55839"),n.e("92064"),n.e("18710"),n.e("86629"),n.e("98384"),n.e("71492"),n.e("24564"),n.e("24049"),n.e("34428"),n.e("39721"),n.e("19631"),n.e("82384"),n.e("76892"),n.e("16799"),n.e("78377"),n.e("82969"),n.e("77298"),n.e("43148"),n.e("71811"),n.e("91685"),n.e("9598"),n.e("38249"),n.e("40976"),n.e("85216"),n.e("26223"),n.e("26359"),n.e("83774"),n.e("83102"),n.e("86470"),n.e("6294"),n.e("80890"),n.e("2552"),n.e("89588"),n.e("62075"),n.e("24084"),n.e("44790"),n.e("87641"),n.e("74913"),n.e("35476"),n.e("99976"),n.e("49344"),n.e("54876"),n.e("14451"),n.e("7755"),n.e("93720"),n.e("54658"),n.e("31828"),n.e("37193"),n.e("80026"),n.e("27870"),n.e("4787"),n.e("18307"),n.e("92223"),n.e("40247"),n.e("73691"),n.e("99513"),n.e("55663"),n.e("56814"),n.e("36001"),n.e("54588"),n.e("81863"),n.e("94171"),n.e("76064"),n.e("69077"),n.e("84970"),n.e("44269"),n.e("24805"),n.e("14124"),n.e("43784"),n.e("43456"),n.e("87791"),n.e("86823"),n.e("44038"),n.e("8878")]).then(n.bind(n,540177)),webpackId:540177}),s5=()=>Promise.all([n.e("31329"),n.e("44123"),n.e("81927"),n.e("38559"),n.e("63635"),n.e("48115"),n.e("75842"),n.e("95752"),n.e("44780"),n.e("5557"),n.e("59797"),n.e("60989"),n.e("33771"),n.e("46039"),n.e("10147"),n.e("30313"),n.e("37886"),n.e("91803")]).then(n.bind(n,496879)),s7=(0,rs.Fe)({createPromise:s5,webpackId:496879}),s8=(0,ry.v)(()=>({isOpen:!0,width:375})),s9=e8.memo(function(){e8.useLayoutEffect(()=>{tS.Ay.setMinimumSize(800,500)},[]);let{notificationCenterVariant:e,entrypoint:t}=(0,sH.X8)({location:"AppTitleBar"}),{hasBugReporterAccess:n}=rw.useConfig({location:"HeaderBar"}),i=(0,e6.bG)([sJ.A],()=>sJ.A.isDeveloper),r=(0,sZ.Uk)("VoiceDareTitleBarButton"),s=(0,e6.bG)([s0.A,rD.A],()=>tl.Q_.getSetting()&&null!=s0.A.testModeApplicationId&&null!=rD.A.getApplication(s0.A.testModeApplicationId)&&(0,rL.A)(rD.A.getApplication(s0.A.testModeApplicationId))),a=null!==e&&t===sH.RK.TITLE_BAR_LEFT,o=null===e,{enabled:l,inInbox:u}=sX.A.useConfig({location:"AppTitleBar"});e8.useLayoutEffect(()=>{tS.Ay.setMinimumSize(800,500)},[]);let c=(0,ta.NC)(),d=(0,e6.bG)([nd.A,sj.A],()=>(0,s1._U)()),_=(0,rN.xl)(),h=function(e){let{showBackForwardButtons:t,showNotificationsInbox:n,showRecentsButton:i}=e;return e8.useMemo(()=>t?"BACK_FORWARD_NAVIGATION":n?"NOTIFICATIONS_INBOX":i?"RECENTS":"HELP",[t,n,i])}({showBackForwardButtons:_,showNotificationsInbox:a,showRecentsButton:o}),{hasFriendList:f}=(0,r8.K)("friends-button");return(e8.useEffect(()=>{f&&s5()},[f]),d)?null:(0,U.jsx)(rv.sk,{children:e=>(0,U.jsx)(t6.N,{theme:c,children:t=>(0,U.jsx)(s2.cq,{className:t,leading:(0,U.jsxs)(U.Fragment,{children:[_&&(0,U.jsx)(r7,{firstElementFocusJumpSectionProps:"BACK_FORWARD_NAVIGATION"===h?e:void 0}),a&&(0,U.jsx)(s6,{focusSectionProps:"NOTIFICATIONS_INBOX"===h?e:void 0})]}),title:(0,U.jsx)(sB,{}),trailing:(0,U.jsxs)(U.Fragment,{children:[f&&(0,U.jsx)(s7,{}),r?(0,U.jsx)(sQ,{}):null,!1,(0,U.jsx)(rQ,{canShowReminder:!0}),l&&!u&&(0,U.jsx)(s3,{}),o&&(0,U.jsx)(sq,{..."RECENTS"===h?e:{}}),n?(0,U.jsx)(sd,{focusSectionProps:"HELP"===h?e:void 0}):(0,U.jsx)(sn,{focusSectionProps:"HELP"===h?e:void 0}),i&&(0,U.jsx)(s4,{}),s&&(0,U.jsx)(rb,{}),(0,U.jsx)(sT,{})]})})})})});var ae=n(920814),at=n(969043),an=n(862482),ai=n(602853),ar=n(623646),as=n(446576),aa=n(70688),ao=n(795816),al=n(216418),au=n(47294),ac=n(16961),ad=n(95561),a_=n(429913),ah=n(982484),af=n(742023),ap=n(204651),aE=n(520006),am=n(128286),ag=n(113854),aA=n(31728),aI=n(625494);let aT=(e,t)=>{ez.h.wait(()=>{(0,aA.I_)(e,t)})};function aS(e){let{embedId:t,className:n,style:i,currentWindow:r}=e,s=(0,e6.bG)([iS.A],()=>iS.A.getConnectedFrame()),a=(0,e6.bG)([iS.A],()=>iS.A.getFrameLayoutMode()),o=null!=s&&a===sG.y.FOCUSED?window:r??window,l=e8.useRef(null),u=e8.useCallback(()=>{null==l.current||aT(t,l.current.getBoundingClientRect())},[t]);e8.useLayoutEffect(()=>{u()});let c=e8.useMemo(()=>new ResizeObserver(()=>{u()}),[u]);return e8.useLayoutEffect(()=>{let e=l.current;if(null!=e)return c.observe(e),()=>c.unobserve(e)},[c]),e8.useLayoutEffect(()=>{let e=()=>u(),t=()=>u();return o.addEventListener("scroll",e,!0),o.addEventListener("resize",t),()=>{o.removeEventListener("scroll",e,!0),o.removeEventListener("resize",t)}},[u,o]),e8.useLayoutEffect(()=>(aI._.subscribe(eL.jej.MANUAL_IFRAME_RESIZING,u),()=>{aI._.unsubscribe(eL.jej.MANUAL_IFRAME_RESIZING,u)}),[u]),e8.useLayoutEffect(()=>()=>{aT(t,null)},[t]),(0,U.jsx)("div",{ref:l,className:n,style:i})}var ay=n(227042),aN=n(334463);let av=null;function aC(e){return`framepip:${e.applicationId}`}function aR(){let e=iS.A.getConnectedFrame();if(null==e){let e;return void(null!=(e=av)&&aN.A.isOpen(e)&&(ez.h.wait(()=>aA.VN(e)),av=null))}var t=aC(e);if(aN.A.isOpen(t))return!1;if(null!=av){let e=av;ez.h.wait(()=>aA.VN(e))}return ez.h.wait(()=>aA.ho(t,eL.o1q.FRAME,{})),void(av=t)}function aO(){let e;if((0,ay.A)({LayerStore:rU.A,PopoutWindowStore:io.A})){let e;return void(null!=(e=(void 0)??av)&&aN.A.isOpen(e)&&ez.h.wait(()=>aA.jD(e)))}null!=(e=(void 0)??av)&&aN.A.isOpen(e)&&ez.h.wait(()=>aA.WU(e))}class ab extends nK.A{_initialize(){iS.A.addChangeListener(aR),rU.A.addChangeListener(aO)}_terminate(){iS.A.removeChangeListener(aR),rU.A.removeChangeListener(aO)}}let aD=new ab;var aL=n(5867),aw=n(492466);let aM={[aL.E8.NO_CHAT]:aw.Oo,[aL.E8.RESIZABLE]:aw.Ig};function aP(e){let{frame:t}=e,n=(0,a_.h)(t.applicationId),i=(0,t4.A)(),{selectedChannelId:r,selectedVoiceChannelId:s}=(0,e6.cf)([nX.A],()=>({selectedChannelId:nX.A.getChannelId(),selectedVoiceChannelId:nX.A.getVoiceChannelId()})),a=(0,e6.bG)([t5.A],()=>null!=s&&r===s&&t5.A.getChatOpen(s),[r,s]),o=(0,e6.bG)([af.Ay],()=>af.Ay.callChatSidebarWidth),l=(0,ai.r)(r9.A.modules.chat.RESIZE_HANDLE_WIDTH),u=e8.useRef(null),c=e8.useRef(null),[d,_]=e8.useState({width:0,height:0}),h=e8.useCallback(()=>{ag.A.updateFrameLayoutMode({applicationId:t.applicationId,layoutMode:sG.y.PIP})},[t.applicationId]),f=e8.useCallback(()=>{ag.A.stopFrame({applicationId:t.applicationId})},[t.applicationId]);e8.useLayoutEffect(()=>{if(null==c.current)return;let e=new ResizeObserver(()=>{_({width:c.current?.clientWidth??0,height:c.current?.clientHeight??0})});return e.observe(c.current),()=>e.disconnect()},[]),e8.useEffect(()=>{let e=e=>{let n=e.target;null==u.current||null==n||(0,ar.H)(u.current,n)||null!=n.closest("[data-window-chrome]")||i||ag.A.updateFrameLayoutMode({applicationId:t.applicationId,layoutMode:sG.y.PIP})};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[t.applicationId,i]);let p=d.width/Math.max(d.height,1)<aL.B5,E=0,m=0,g=(0,al.A)(n?.id);if(!g){let e=d.width,t=d.height;p?((t=d.width/aL.B5)>d.height&&(e=(t=d.height)*aL.B5),m=(d.height-t)/2):((e=Math.min(d.height*aL.B5,d.width))>d.width&&(t=(e=d.width)/aL.B5),E=(d.width-e)/2)}let A=aL.E8.NO_CHAT,I=(0,ac.G)();if(null==n)return null;let T=(o??eL.da6)+l,S=aC(t);return(0,U.jsx)(t6.N,{theme:eL.NJ8.DARK,children:e=>(0,U.jsxs)("div",{className:t2()(aw.iE,aM[A],e),ref:u,style:{right:a&&!Number.isNaN(T)?T:0},children:[(0,U.jsx)(ah.A,{applicationId:t.applicationId}),(0,U.jsx)("div",{className:aw.lq,children:(0,U.jsx)("div",{className:t2()(aw.ht,{[aw.kK]:g}),style:{paddingLeft:E,paddingRight:E,paddingTop:m,paddingBottom:m},ref:c,children:(0,U.jsx)(aS,{className:aw.pU,embedId:S})})}),(0,U.jsxs)("div",{className:aw.qr,children:[(0,U.jsx)(aE.A,{appContext:eL.BRT.APP,applicationId:n.id,shouldPrioritizeGroupPlusIcon:!0,isRichPresenceInvite:!0,iconClassName:aw.NS,size:an.$n.Sizes.MEDIUM,look:an.$n.Looks.FILLED,buttonText:na.intl.string(na.t["6F9ivu"]),color:an.$n.Colors.TRANSPARENT}),(0,U.jsxs)("div",{className:aw.Hq,children:[(0,U.jsx)("div",{className:aw.qi,children:(0,U.jsx)(ap.l,{isTrayButton:!0,label:na.intl.string(na.t.brPQ5U),onClick:h,iconComponent:as.g,themeable:!0})}),(0,U.jsx)(ap.l,{isTrayButton:!1,label:na.intl.string(na.t["R/FK4A"]),onClick:f,iconComponent:aa.o,color:"disconnect"})]}),I?(0,U.jsx)(am.A,{popoutOpen:!1,onOpenPopout:()=>{(0,ad.zV)(eL.HAw.ACTIVITY_POPOUT_POP_OUT_BUTTON_CLICKED),(0,au.A)({onConfirm:async()=>{n?.id!=null&&await ag.A.refreshProxyTicket({applicationId:n.id}),(0,ao.jp)()}})},onClosePopout:()=>{}}):null]})]})})}function ax(){let e=(0,e6.bG)([iS.A],()=>iS.A.getConnectedFrame()),t=(0,e6.bG)([iS.A],()=>iS.A.getFrameLayoutMode()),n=(0,e6.bG)([io.A],()=>io.A.getWindowOpen(eL.MLl.ACTIVITY_POPOUT));return t!==sG.y.FOCUSED||null==e||n?null:(0,U.jsx)(aP,{frame:e})}var ak=n(696292),aU=n(664121),aG=n(323384),aF=n(534514),aV=n(416730),aB=n(310419),aH=n(282026),aj=n(601193),aY=n(631001),aW=n(726845),aK=n(285395),a$=n(837057),az=n(488995),aq=n(190107),aX=n(525748);function aZ(e){let{tab:t}=e,n=aW.A.useField("selectedTab"),i=e8.useMemo(()=>(function(e){switch(e){case az.GlobalDiscoveryTab.SERVERS:return(0,U.jsx)(aU.R,{color:"currentColor"});case az.GlobalDiscoveryTab.APPS:return(0,U.jsx)(aG.k,{color:"currentColor"});case az.GlobalDiscoveryTab.QUESTS:return(0,U.jsx)(sL.r,{color:"currentColor"})}})(t),[t]),r=e8.useMemo(()=>(0,aK.t)(t),[t]),s=n===t,a=e8.useCallback(()=>{switch(t){case az.GlobalDiscoveryTab.QUESTS:return s&&aY.A.resetState(),ew.default.track(eL.HAw.DISCOVERY_QUEST_TAB_CLICKED,{client_ad_session_id:(0,n7.sN)().uuid}),(0,a$.transitionToGlobalDiscovery)({tab:az.GlobalDiscoveryTab.QUESTS,location:aq.rE.DISCOVERY_SIDEBAR,questContent:ak.u.DISCOVERY_SIDEBAR});case az.GlobalDiscoveryTab.APPS:if(!s)return(0,a$.transitionToGlobalDiscovery)({tab:t,newSessionState:{entrypoint:{name:aB.sW.GLOBAL_DISCOVERY_SIDEBAR},restorePreviousView:!0}});aV.A.resetState(),(0,a$.transitionToGlobalDiscovery)({tab:t});return;case az.GlobalDiscoveryTab.SERVERS:if(!s)return(0,a$.transitionToGlobalDiscovery)({tab:t});aH.A.resetState(),aj.A.resetState();return;default:return(0,a$.transitionToGlobalDiscovery)({tab:t})}},[t,s]);return(0,U.jsxs)(t3.D,{role:"tab","aria-selected":s,tabIndex:s?0:-1,onClick:a,className:t2()(aX.pc,{[aX.wH]:s}),children:[(0,U.jsx)("div",{className:aX.wz,children:i}),(0,U.jsx)(sw.E,{variant:"text-md/medium",color:"none",children:r})]})}let aQ=function(){return(0,U.jsxs)("div",{className:aX.kL,children:[(0,U.jsx)("div",{className:aX.wx,children:(0,U.jsx)(aF.D,{variant:"text-lg/semibold",children:na.intl.string(na.t["1KqYnl"])})}),(0,U.jsx)("nav",{className:aX.C$,role:"tablist",children:az.GLOBAL_DISCOVERY_TABS.map(e=>(0,U.jsx)(aZ,{tab:e},e))})]})};var aJ=n(386467),a0=n(961973),a1=n(440293),a2=n(689035),a3=n(379610),a6=n(164956),a4=n(209700),a5=n(578797),a7=n(9588),a8=n(521427);let a9={closeSidebar(){ez.h.dispatch({type:"MOBILE_WEB_SIDEBAR_CLOSE"})},openSidebar(){ez.h.dispatch({type:"MOBILE_WEB_SIDEBAR_OPEN"})}},oe=!1;class ot extends e6.Ay.Store{static displayName="MobileWebSidebarStore";getIsOpen(){return!e0.Fr||oe}}let on=new ot(ez.h,{MOBILE_WEB_SIDEBAR_OPEN:function(){oe=!0},MOBILE_WEB_SIDEBAR_CLOSE:function(){oe=!1}});var oi=n(988672),or=n(765178),os=n(777666),oa=n(761508),oo=n(944791),ol=n(711950),ou=n(915089),oc=n(586774),od=n(742589),o_=n(277370),oh=n(364522),of=n(820284),op=n(688810),oE=n(290595),om=n(516746);function og(e){let{padded:t=!0,inset:n=!1,active:i=!1,className:r,children:s,onClick:a,ref:o,noBackground:l=!1,...u}=e;return null!=a?(0,U.jsx)(t3.D,{innerRef:o,onClick:a,tabIndex:null!=a?0:-1,className:t2()(r,{[om.A7]:!n,[om.C5]:n,[om.jC]:t,[om.vu]:i,[om.bG]:null!=a,[om._$]:l}),...u,children:s}):(0,U.jsx)("div",{ref:o,className:t2()(r,{[om.A7]:!n,[om.C5]:n,[om.jC]:t,[om.vu]:i,[om._$]:l}),...u,children:s})}var oA=n(362288);function oI(e){let{className:t,markAsDismissed:n}=e;return(0,U.jsxs)(og,{className:t2()(oA.Nr,t),children:[(0,U.jsx)(aF.D,{variant:"heading-md/semibold",className:oA.wx,children:na.intl.string(na.t.HcbnMM)}),(0,U.jsx)(sw.E,{variant:"text-sm/normal",children:na.intl.format(na.t.NkFrzN,{onPrivacyClick:()=>{(0,i7.openUserSettings)(i5.X.DATA_AND_PRIVACY_PANEL)}})}),(0,U.jsxs)("div",{className:oA.UD,children:[(0,U.jsx)(tJ.$,{variant:"primary",size:"sm",fullWidth:!0,text:na.intl.string(na.t.ebojgD),onClick:()=>(0,oE.U)([eL.YAq.PERSONALIZATION],[])}),(0,U.jsx)(tJ.$,{variant:"secondary",size:"sm",fullWidth:!0,text:na.intl.string(na.t.f3Pet9),onClick:()=>n(rE.i.DISMISS)})]})]})}var oT=n(153488),oS=n(111956),oy=n.n(oS),oN=n(340124),ov=n(859703),oC=n(507107),oR=n(31587),oO=n(710969),ob=n(639214),oD=n(814793),oL=n(219271),ow=n(427358),oM=n(943577),oP=n(279877),ox=n(401843),ok=n(682261),oU=n(765379),oG=n(90644),oF=n(960076),oV=n(834615),oB=n(970928),oH=n(475706),oj=n(141628),oY=n(414499),oW=n(687966),oK=n(97808),o$=n(778712),oz=n(983851),oq=n(492684),oX=n(212245),oZ=n(573648),oQ=n(62583),oJ=n(908289),o0=n(672979),o1=n(440594);function o2(e,t){if(null!=e&&e.type===eL.$pd.CUSTOM_STATUS)return null!=e.state?e.state.trim():null;if(null!=t)return null==e||e.type!==eL.$pd.PLAYING?na.intl.string(na.t.eXan7B):e.name;if(null==e||null==e.name)return null;if((0,oF.A)(e))return null!=e.details&&""!==e.details?e.details:e.name;if((0,oU.A)(e))return(0,o1.A)(e.name);var n=e.type,i=e.name;switch(n){case eL.$pd.LISTENING:case eL.$pd.WATCHING:case eL.$pd.COMPETING:case eL.$pd.STREAMING:return i;case eL.$pd.CUSTOM_STATUS:case eL.$pd.HANG_STATUS:return null;case eL.$pd.PLAYING:default:return i}}var o3=n(737393),o6=n(139286),o4=n(46225),o5=n(627363),o7=n(47167),o8=n(402216),o9=n(939341),le=n(681827),lt=n(826673),ln=n(609425),li=n(252545),lr=n(137177),ls=n(409626),la=n(692969),lo=n(569926),ll=n(279250),lu=n(607407),lc=n(529433),ld=n(928550),l_=n(102853),lh=n(378570),lf=n(345942),lp=n(804980),lE=n(879945),lm=n(266080),lg=n(342296);function lA(e){let{width:t=24,height:n=24,color:i="currentColor",...r}=e;return(0,U.jsxs)("svg",{...(0,ne.A)(r),width:t,height:n,viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:i,d:"M12 14C7.289 14 4 16.467 4 20V22H20V20C20 16.467 16.711 14 12 14ZM11 19C10.447 19 10 18.553 10 18C10 17.447 10.447 17 11 17C11.553 17 12 17.447 12 18C12 18.553 11.553 19 11 19ZM14 19C13.447 19 13 18.553 13 18C13 17.447 13.447 17 14 17C14.553 17 15 17.447 15 18C15 18.553 14.553 19 14 19Z"}),(0,U.jsx)("path",{fill:i,d:"M18 6H17.91C17.432 3.167 14.967 1 12 1C9.033 1 6.568 3.167 6.09 6H6C4.896 6 4 6.896 4 8V9C4 10.104 4.896 11 6 11C6 12.102 6.897 13 8 13H16C17.104 13 18 12.102 18 11C19.104 11 20 10.104 20 9V8C20 6.896 19.104 6 18 6ZM16 10H8V6H16V10Z"})]})}var lI=n(562153),lT=n(656318);let lS=e=>{let{member:t,empty:n,guildId:i}=e,r=e8.useRef(null);return n?(0,U.jsx)("div",{className:lT._b}):null==t?(0,U.jsx)("div",{className:lT.j7,children:(0,U.jsx)(lA,{className:lT.s$})}):(0,U.jsx)("div",{className:lT.sR,children:(0,U.jsx)(lg.A,{targetElementRef:r,userId:t.id,guildId:i,newAnalyticsLocations:[ii.A.AVATAR],position:"left",clickTrap:!0,children:e=>(0,U.jsx)(rJ.m,{text:lI.Ay.getName(i,void 0,t),children:(0,U.jsx)(oK.eu,{...e,ref:r,src:t.getAvatarURL(i,24),"aria-label":t.username,size:o$._3.SIZE_24,className:lT.pO})})})})},ly=e=>{let{partySize:t,members:n,minAvatarsShown:i=1,maxAvatarsShown:r=2,guildId:s,overflowRef:a}=e,{unknownSize:o,totalSize:l,knownSize:u}=t;if(l<i)return null;let c=im()(n).filter(ix.Vq).take(r).map(e=>(0,U.jsx)(lS,{member:e,guildId:s},e.id)).value();for(let e=0;e<o&&c.length<r;e++)c.push((0,U.jsx)(lS,{guildId:s},`unknown-member-${e}`));let d=l-u-o;for(let e=0;e<d&&c.length<r;e++)c.push((0,U.jsx)(lS,{empty:!0,guildId:s},`empty-member-${e}`));let _=Math.max(Math.min(l-c.length,99),0);if(1===_){let e=n[r];c.push((0,U.jsx)(lS,{member:e,guildId:s},e.id))}return(0,U.jsx)("div",{className:lT.iE,children:(0,U.jsxs)("div",{className:lT.S3,children:[c,_>1?(0,U.jsxs)("div",{className:lT.Hi,ref:a,children:["+",_]}):null]})})};n(595);var lN=n(492213);let lv=[14,14,12,12,10,8,6],lC=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,U.jsx)(sw.E,{className:t2()(lN.P_,t),variant:"text-sm/semibold",children:e})},lR=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,U.jsx)(sw.E,{className:t2()(lN.P_,t),variant:"text-xs/normal",color:"text-muted",children:e})},lO=(0,oq.A)(e=>{let{message:t}=e;return(0,U.jsx)("div",{className:lN.__invalid_timestamp,children:t})}),lb=e=>{let{children:t}=e;return(0,U.jsx)("section",{className:lN.uW,children:t})},lD=e=>{let{inset:t,className:n}=e;return(0,U.jsx)("div",{className:t2()(lN.me,{[lN.C5]:t},n)})},lL=e=>{let{onCloudPlayClick:t,analyticsLocations:n}=e;return(0,o6.A)({name:eR.ImpressionNames.CLOUD_PLAY_CTA,type:eR.ImpressionTypes.VIEW,properties:{location_stack:n}}),(0,U.jsx)(rJ.m,{text:na.intl.string(na.t.JVwWva),children:(0,U.jsx)(tJ.$,{size:"sm",variant:"primary",icon:oY.h,text:na.intl.string(na.t.YsIsPU),onClick:t})})},lw=e=>{let{activity:t,user:n}=e,i=(0,l_.l)({activity:t,user:n,supportsAskToJoin:!1}),r=null!=i,{data:s}=(0,o5.YY)(t.application_id),{fetched:a,hasAlreadyLinked:o,canStartAuthorization:l,startAuthorization:u}=(0,o4.RD)(s),c=!r&&a&&l&&!o;return{isJoinActivityButtonShown:r,joinActivityButtonAction:i,isLinkAccountButtonShown:c,startAuthorization:u,hasButton:r||c}},lM=e=>{let{activity:t,user:n}=e,{joinActivityButtonAction:i,isJoinActivityButtonShown:r,isLinkAccountButtonShown:s,startAuthorization:a}=lw({activity:t,user:n}),{newestAnalyticsLocation:o}=(0,op.Ay)();if(r&&null!=i){let{isJoining:e,handleJoinRequest:t,buttonCTA:n,tooltip:r,isEnabled:s}=i;return(0,U.jsx)(rJ.m,{text:r,asContainer:!s,children:(0,U.jsx)(tJ.$,{size:"sm",variant:"secondary",icon:oW._,text:n,disabled:!s,loading:e,onClick:e=>{e.stopPropagation(),t()}})})}return s?(0,U.jsx)(tJ.$,{size:"sm",variant:"secondary",icon:oj.A,text:na.intl.string(na.t.sbdnpw),onClick:e=>{e.stopPropagation(),a({analyticsLocations:[o]})}}):null},lP=e=>{let{activity:t,analyticsLocations:n}=e,{application_id:i,name:r}=t,{data:s}=(0,o5.YY)(i),a=(0,o3.A)({application:s,analyticsLocations:n}),o=(0,lt.JZ)(rM.M.CLOUD_PLAY_NEW_BADGE),[l]=(0,ld.L)(i);return null==a||l?null:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(lD,{className:lN.gi}),(0,U.jsxs)("div",{className:lN.DK,children:[(0,U.jsxs)("div",{className:lN.tJ,children:[o?null:(0,U.jsx)(os.Lp,{text:na.intl.string(na.t.y2b7CA),color:r9.A.colors.BACKGROUND_BRAND.css}),(0,U.jsx)(sw.E,{variant:"text-xs/medium",children:na.intl.formatToPlainString(na.t.RmiYF3,{gameName:r})})]}),(0,U.jsx)(lL,{onCloudPlayClick:a,analyticsLocations:n})]})]})};var lx=((_=lx||{}).XBOX="XBOX",_.SPOTIFY="SPOTIFY",_.MULTIPLE="MULTIPLE",_);let lk=e=>{let t,{src:n,onClick:i,onContextMenu:r}=e;switch(n){case"XBOX":t=(0,U.jsx)(lm.A,{className:lN.nr,color:r9.A.unsafe_rawColors.PRIMARY_300.css});break;case"SPOTIFY":t=(0,U.jsx)(lE.A,{className:lN.nr,color:r9.A.unsafe_rawColors.PLATFORM_SPOTIFY.css});break;case"MULTIPLE":t=(0,U.jsx)("div",{className:lN.XQ,children:(0,U.jsx)(oW._,{size:"md",className:t2()(lN.nr,lN.iY),color:r9.A.unsafe_rawColors.PRIMARY_300.css})});break;default:t=(0,U.jsx)("img",{src:n??void 0,alt:"",className:lN.nr})}return null!=i||null!=r?(0,U.jsx)(t3.D,{onClick:i,className:t2()(null!=i?lN.vk:""),onContextMenu:r,children:t}):t};lk.Src=lx;let lU=e=>{let{priorityUser:t,title:n,subtitle:i,icon:r,onSubtitleClick:s,onIconClick:a,onContextMenu:o,guildId:l,displayNameFont:u}=e,c=(0,U.jsx)(sw.E,{className:lN.P_,variant:"text-sm/normal",color:"text-muted",children:i});return(0,U.jsxs)("header",{className:null!=r?lN.dI:lN.sk,children:[(0,U.jsx)(oK.eu,{src:t.user.getAvatarURL(l,32),"aria-label":t.user.username,size:o$._3.SIZE_32,className:lN.Nw,status:t.status,onContextMenu:o}),(0,U.jsxs)("div",{className:lN.__invalid_headerDetails,children:[(0,U.jsx)(sw.E,{className:t2()(lN.P_,u),variant:"text-md/semibold",children:n}),null!=s?(0,U.jsx)(t3.D,{className:lN.vk,onClick:s,children:c}):c]}),null!=r&&null!=a?(0,U.jsx)(t3.D,{className:lN.vk,onClick:a,children:r}):r]})};lU.Icon=lk;let lG=e=>{let{children:t,className:n,...i}=e;return(0,U.jsx)(e5.vN,{children:(0,U.jsx)(og,{noBackground:!0,className:t2()(n,lN.iE),padded:!1,...i,children:t})})};lG.Header=lU,lG.Body=e=>{let{children:t}=e;return(0,U.jsx)(og,{inset:!0,padded:!1,className:lN.rf,children:t})},lG.Separator=lD,lG.VoiceSection=e=>{let{guild:t,channel:n,partySize:i,members:r,onChannelContextMenu:s}=e,a=e8.useRef(null),o=(0,o7.Ay)(n,!0),l=(0,nq.Iv)(t,32),u=(0,nq.Rb)(t);return(0,U.jsx)(lb,{children:(0,U.jsxs)("div",{className:lN.iO,ref:a,onContextMenu:e=>s(e,n),children:[(0,U.jsx)(t3.D,{onClick:()=>(0,lf.u)(t.id),"aria-hidden":!0,tabIndex:-1,children:(0,U.jsxs)("div",{className:lN.J4,children:[null!=l?(0,U.jsx)("img",{alt:"",src:l,className:t2()(lN.y8,lN.p8)}):(0,U.jsx)("div",{className:lN.I,children:(0,U.jsx)("div",{className:lN.lB,style:{fontSize:lv[u.length]??lv[lv.length-1]},children:u})}),(0,U.jsx)("div",{className:lN._s,children:(0,U.jsx)(oz.H,{size:"md",color:"currentColor",className:lN.ZS})})]})}),(0,U.jsx)(t3.D,{onClick:()=>{nD.default.selectVoiceChannel(n.id),(0,lh.iN)(n.id)},focusProps:{ringTarget:a},children:(0,U.jsxs)("div",{className:lN.U6,children:[lC(t.name,lN.BJ),lR(o,lN.BJ)]})}),(0,U.jsx)(ly,{partySize:i,members:r,guildId:t.id})]})})},lG.GameSection=e=>{let{application:t,partySize:n,members:i,activity:r}=e,{analyticsLocations:s}=(0,op.Ay)(ii.A.NOW_PLAYING_ITEM_GAME_SECTION),a=(0,la.A)({applicationId:r.application_id,location:"FriendsActivityFeed",source:ls.Ob.FriendsActivityFeed}),{data:o}=(0,lo.I)(t.getCanonicalGameId()),l=o?.getIconURL(64)??t.getIconURL(64),u=o?.name??t.name,c=null!=l?(0,U.jsx)("img",{alt:"",src:l,className:lN.RZ}):null,d=lC(u);return(0,U.jsxs)(lb,{children:[(0,U.jsxs)("div",{className:lN.yn,children:[null!=c&&null!=a?(0,U.jsx)(t3.D,{onClick:a,className:lN.vk,children:c}):c,(0,U.jsxs)("div",{children:[null!=a?(0,U.jsx)(t3.D,{onClick:a,className:lN.vk,children:d}):d,lR(na.intl.formatToPlainString(na.t.C4WXvc,{memberCount:n.totalSize}))]}),(0,U.jsx)(ly,{partySize:n,members:i})]}),(0,U.jsx)(lP,{activity:r,analyticsLocations:s})]})},lG.RichPresenceSection=e=>{let{activity:t,getAssetImage:i,user:r}=e,{analyticsLocations:s}=(0,op.Ay)(ii.A.NOW_PLAYING_ITEM_RICH_PRESENCE_SECTION),{data:a}=(0,o5.YY)(t.application_id),o=(0,la.A)({applicationId:t.application_id,location:"FriendsActivityFeed",source:ls.Ob.FriendsActivityFeed}),{assets:l,details:u,state:c,application_id:d}=t,{hasButton:_}=lw({activity:t,user:r}),h=(0,o9.C4)(a)?.src??n(960648),f=(0,o3.A)({application:a,analyticsLocations:s});if(null==t.assets&&!(0,ok.A)(t)&&null==f)return null;let p=null!=l&&0!==Object.keys(l).length?(0,U.jsxs)("div",{className:lN.YY,children:[(0,U.jsx)("img",{alt:l.large_text??"",src:i(d,l.large_image,[160,160])??h,className:t2()(lN.nX,{[lN.p8]:null!=l.small_image})}),null!=l.small_image?(0,U.jsx)("img",{alt:l.small_text??"",src:i(d,l.small_image,[64,64]),className:lN.rp}):null]}):(0,U.jsx)("div",{className:lN.YY,children:(0,U.jsx)("img",{alt:"",src:h,className:lN.nX})}),E=lC(null!=u&&""!==u?u:t.name);return(0,U.jsxs)(lb,{children:[(0,U.jsxs)("div",{className:t2()(lN.tL,{[lN._2]:_}),children:[null!=o?(0,U.jsx)(t3.D,{onClick:o,className:lN.vk,children:p}):p,(0,U.jsxs)("div",{className:lN.JD,children:[null!=o?(0,U.jsx)(t3.D,{onClick:o,className:lN.vk,children:E}):E,null!=c?lR(c):null,(()=>{let{timestamps:e}=t;return null==e||!(0,o0.A)(t)||(0,oG.A)(t)?null:lR((0,ok.A)(t)?(0,U.jsx)(lO,{timestamps:e}):(0,U.jsx)(lc.Ay,{start:e.start,end:e.end,location:lc.Ay.Locations.USER_ACTIVITY,className:lN.__invalid_playTime}))})()]}),(0,U.jsx)(lM,{activity:t,user:r})]}),(0,U.jsx)(lP,{activity:t,analyticsLocations:s})]})},lG.SpotifySection=e=>{let{activity:{assets:t,details:n,state:i,application_id:r},partySize:s,members:a,isSolo:o,getAssetImage:l}=e;return(0,U.jsx)(lb,{children:(0,U.jsxs)("div",{className:lN.uy,children:[null!=t?(0,U.jsxs)("div",{className:lN.YY,children:[(0,U.jsx)("img",{alt:t.large_text??"",src:l(r,t.large_image,[160,160]),className:t2()(lN.nX,lN.Dy,{[lN.p8]:null!=t.small_image})}),o?null:(0,U.jsx)(lE.A,{className:lN.rp,color:r9.A.unsafe_rawColors.PLATFORM_SPOTIFY.css})]}):(0,U.jsx)("div",{}),(0,U.jsxs)("div",{children:[null!=n?lC(n):null,null!=i?lR(i.replace(/; /g,", ")):null]}),(0,U.jsx)(ly,{minAvatarsShown:o?2:1,partySize:s,members:a})]})})},lG.TwitchSection=e=>{let t,{activity:i,user:r,getAssetImage:s,guildId:a}=e,{name:o,details:l,assets:u,application_id:c}=i;return null!=u&&(0,oF.A)(i)&&(t=(0,U.jsx)(le.A,{className:lN.E6,aspectRatio:16/9,children:(0,U.jsxs)(t3.D,{href:(0,oJ.A)(i),tag:"a",target:"_blank",children:[(0,U.jsx)("img",{alt:u.large_text??"",src:s(c,u.large_image,[900,500]),className:lN.ZB}),(0,U.jsx)("img",{src:n(606621),className:lN.vc,alt:""})]})})),(0,U.jsxs)(lb,{children:[(0,U.jsxs)("div",{className:t2()({[lN.x5]:null==r,[lN.Qh]:null!=r}),children:[(0,U.jsx)("img",{alt:"",src:oZ.A.get(eL.fg2.TWITCH).icon.lightSVG,className:lN.Gq}),(0,U.jsxs)("div",{children:[lC(o),null!=l?lR(l):null]}),null!=r?(0,U.jsx)(oK.eu,{src:r.getAvatarURL(a,24),"aria-label":r.username,className:lN.AZ,size:o$._3.SIZE_24}):null]}),t]})},lG.ApplicationStreamingSection=e=>{let{activity:t,user:n,applicationStream:i,onPreviewClick:r,guildId:s}=e,a=(0,e6.bG)([ib.A],()=>ib.A.getChannel(i.channelId)),[o,l]=(0,ll.zP)(a),u=(0,U.jsxs)(t3.D,{onClick:o?r:void 0,className:lN.q_,children:[(0,U.jsx)(lu.A,{stream:i,className:lN.IN}),(0,U.jsx)(sw.E,{className:lN.Er,variant:"text-sm/medium",color:"always-white",children:(0,ll.CT)(l)})]}),c=function(e,t){if(Array.isArray(e)){let n=e;null!=t&&!1!==t.discoverable&&(n=[...n,null]);let i=null;for(let e of n){let n=o2(e,t);if(null!=n)return{activity:e,activityText:n};e?.type===eL.$pd.CUSTOM_STATUS&&null!=e.emoji&&(i=e)}return i?.emoji!=null?{activity:i,activityText:null}:null}return o2(e,t)}(t,i)?.activityText??na.intl.string(na.t.eXan7B),d=(0,ln.A)({userId:n.id,guildId:s}),_=(0,li.a)({displayNameStyles:d});return(0,U.jsxs)(lb,{children:[(0,U.jsxs)("div",{className:lN.ME,children:[(0,U.jsx)(oK.eu,{size:o$._3.SIZE_32,src:n.getAvatarURL(s,32),"aria-label":n.username,className:lN.OL}),(0,U.jsxs)("div",{children:[lC(st.Ay.getName(n),_),lR(c)]}),(0,U.jsx)(o8.Ay,{size:o8.Ay.Sizes.SMALL})]}),u]})},lG.EmbeddedActivitySection=e=>{let{activity:t,channel:n,guildId:i,participants:r}=e,[s,a]=e8.useState(null),o=t.application_id;e8.useEffect(()=>{null!=o&&(0,oB.RG)(o,["embedded_background"]).then(e=>{let[t]=e;return a(t)})},[o]);let l=(0,e6.yK)([tT.default,eW.default],()=>Array.from(r).map(e=>eW.default.getId()===e?null:tT.default.getUser(e)).filter(ix.Vq)),u=(0,oX.p)(),{analyticsLocations:c}=(0,op.Ay)();if(null==o)return null;let d=rD.A.getApplication(o);if(null==d)return null;let _=null!=t.created_at&&t.created_at>0?{start:t.created_at}:void 0,h=(0,oB.uD)(d.id,s,300);return(0,U.jsxs)(lb,{children:[(0,U.jsxs)("div",{className:lN.h1,children:[(0,U.jsx)(lr.A,{game:d,size:lr.M.XSMALL,className:lN.VZ}),(0,U.jsx)("div",{className:lN.F0,children:(0,U.jsx)(sw.E,{variant:"text-sm/semibold",children:d.name})}),null!=_?(0,U.jsx)("div",{className:lN.T$,children:(0,U.jsx)(sw.E,{color:"text-muted",variant:"text-sm/normal",children:(0,U.jsx)(lO,{timestamps:_})})}):null]}),(0,U.jsxs)("div",{className:lN.Kt,children:[null!=h?(0,U.jsx)("img",{src:h,alt:d.name,className:lN.pV}):null,(0,U.jsxs)("div",{className:lN.d4,children:[(0,U.jsx)(lp.LN,{users:l,guildId:i,channelId:n.id}),(0,U.jsx)("div",{className:lN.ZE,children:(0,U.jsx)(tJ.$,{variant:"primary",size:"sm",text:na.intl.string(na.t.VJlc0S),onClick:e=>{e.stopPropagation(),(0,oQ.A)({applicationId:o,activityChannelId:n.id,locationObject:u.location,analyticsLocations:c})}})})]})]})]})};var lF=n(812808);function lV(e){let{party:t,onChannelContextMenu:n,quest:i,hasStaffQuestActivityPanelOverride:r}=e,s=(0,lF.G)(),{voiceChannels:a,currentActivities:o,partiedMembers:l,applicationStreams:u,guildContext:c}=t,d=(0,oR.sb)(i),_=[],h=e=>{let{length:t}=_;_.push(e)};for(let{activity:e}of(a.length>0&&a.forEach(e=>{let{members:t,channel:i,guild:r}=e;h((0,U.jsx)(lG.VoiceSection,{guild:r,channel:i,members:t,partySize:function(e){let t=e.length;return{knownSize:t,unknownSize:0,totalSize:t+0}}(t),onChannelContextMenu:n},`voice-${i.id}`))}),t.currentActivities))if(null!=e){let t=oH.Fm(e);if(null!=t){h(t);break}}return u.length>0&&s&&u.forEach(e=>{let{stream:t,streamUser:n,activity:i}=e;h((0,U.jsx)(lG.ApplicationStreamingSection,{guildId:c?.id,user:n,activity:i,applicationStream:t,onPreviewClick:()=>{nD.default.selectVoiceChannel(t.channelId),(0,ox.Nl)(t)}},`application-stream-${t.ownerId}`))}),o.forEach((e,t)=>{let{activity:n,application:s,playingMembers:u,activityUser:_}=e;if(null==n||null==n.type)return null;if(n.type===eL.$pd.PLAYING){let e=null!=s?(0,U.jsx)(lG.GameSection,{application:s,partySize:{knownSize:u.length,unknownSize:0,totalSize:u.length},members:u,activity:n},`game-${n.session_id??t}-${n.application_id??t}`):null;if(o.length>1&&!(0,ok.A)(n)&&null!=e)h(e);else if((0,oU.A)(n)){let e=new Set(u.map(e=>e.id)),t=a.find(e=>null!=e)?.channel;null!=t&&h((0,U.jsx)(lG.EmbeddedActivitySection,{activity:n,participants:e,channel:t,guildId:t.guild_id},`embedded-activity-${n.application_id}`))}else null==e||(0,ok.A)(n)||null!=n.assets?h((0,U.jsx)(lG.RichPresenceSection,{activity:n,getAssetImage:oB.uD,user:_},`rich-presence-${n.session_id??t}-${_.id}`)):h(e)}else if((0,oF.A)(n)){let e=a.length>0&&a[0].members.length>1,i=u.length>1;h((0,U.jsx)(lG.TwitchSection,{guildId:c?.id,activity:n,user:e||i?_:null,getAssetImage:oB.uD},`streaming-${n.session_id??t}`))}else n.type===eL.$pd.LISTENING&&((0,oG.A)(n)?h((0,U.jsx)(lG.SpotifySection,{activity:n,isSolo:1===l.length,partySize:{knownSize:u.length,unknownSize:0,totalSize:u.length},getAssetImage:oB.uD,members:u},`spotify-${n.session_id??t}-${_.id}`)):(null!=n.assets||(0,ok.A)(n))&&h((0,U.jsx)(lG.RichPresenceSection,{activity:n,getAssetImage:oB.uD,user:_},`rich-presence-${n.session_id??t}-${_.id}`)));!0!==r&&null!=i&&null!=s&&d&&(0,ob.zS)(n,i)&&(null==i.userStatus||!(0,oO.gO)(i.userStatus,oC.uF.ACTIVITY_PANEL))&&h((0,U.jsx)(oV.A,{quest:i},`quest-${i.id}-${n.session_id??t}`))}),!0===r&&null!=i&&h((0,U.jsx)(oV.A,{quest:i},`quest-override-${i.id}`)),_.length>0?(0,U.jsx)(lG.Body,{children:_}):null}var lB=n(61330);function lH(e){let{party:t,onUserContextMenu:i}=e,{priorityMembers:r,partiedMembers:s,guildContext:a}=t,o=r[0],l=function(e){let{priorityMembers:t,partiedMembers:n}=e,i=new Set(t.map(e=>{let{user:t}=e;return t.id})),r=n.filter(e=>!i.has(e.id)),s=st.Ay.getName(t[0].user),a=null!=t[1]?st.Ay.getName(t[1].user):null!=r[0]?st.Ay.getName(r[0]):null;switch(n.length){case 1:return s;case 2:return na.intl.format(na.t.t1DyC1,{user1:s,user2:a});default:return na.intl.format(na.t["5CSEcJ"],{user1:s,user2:a,extras:n.length-2})}}(t),{subtitle:u,icon:c}=function(e){let{priorityMembers:t,partiedMembers:i,voiceChannels:r,currentActivities:s}=e,a=t.length,o=i.length-a,l=s[0],u=l?.activity,c=l?.startedPlayingTime,d={name:u?.name??""};if((0,oU.A)(u)&&null!=u)return{subtitle:(0,U.jsx)(lc.Ay,{start:c,location:lc.Ay.Locations.ACTIVITY_FEED_NEW,messageProps:d}),icon:null};if(a+o===1&&null!=l){let{application:e}=l;if(null==u)return{subtitle:null,icon:null};let t=oH.Ij(u);if(null!=t)return t;switch(u.type){case eL.$pd.PLAYING:if((0,lB.A)(u))return{subtitle:na.intl.string(na.t.tO8wOx),icon:(0,U.jsx)(lG.Header.Icon,{src:lG.Header.Icon.Src.XBOX})};return{subtitle:(0,U.jsx)(lc.Ay,{start:c,location:lc.Ay.Locations.ACTIVITY_FEED_NEW,messageProps:d}),icon:null!=e?(0,U.jsx)(lG.Header.Icon,{src:null!=e.getIconURL(64)?e.getIconURL(64):n(960648)}):null};case eL.$pd.STREAMING:return{subtitle:na.intl.string(na.t.HyGHj7),icon:null!=e&&null!=e.getIconURL(64)?(0,U.jsx)(lG.Header.Icon,{src:e.getIconURL(64)}):null};case eL.$pd.LISTENING:let i;return i=(0,oG.A)(u)?(0,U.jsx)(lG.Header.Icon,{src:lG.Header.Icon.Src.SPOTIFY}):null!=e.getIconURL(64)?(0,U.jsx)(lG.Header.Icon,{src:e.getIconURL(64)}):(0,U.jsx)(lG.Header.Icon,{src:n(960648)}),{subtitle:na.intl.formatToPlainString(na.t.NF5xop,{name:u.name}),icon:i};case eL.$pd.WATCHING:return{subtitle:na.intl.formatToPlainString(na.t.pW3Ip3,{name:u.name}),icon:null!=e&&null!=e.getIconURL(64)?(0,U.jsx)(lG.Header.Icon,{src:e.getIconURL(64)}):null};default:return{subtitle:na.intl.string(na.t.grGyaf),icon:null}}}if(0===s.length){if(r.length>0)return{subtitle:na.intl.string(na.t.grGyaf),icon:null};let e=s[0];if(null!=e){let{activity:t}=e;if(null!=t){let e=oH.Ij(t);if(null!=e)return e}if(null!=t&&t.type===eL.$pd.LISTENING)return{subtitle:na.intl.string(na.t.rmnkz4),icon:(0,U.jsx)(lG.Header.Icon,{src:lG.Header.Icon.Src.SPOTIFY})}}}else if(1===s.length){let e=s.find(e=>null!=e.activity);if(null==e)return{subtitle:null,icon:null};let{activity:t,application:n,startedPlayingTime:i}=e;tK()(null!=t,"Activity was null somehow");let r=(0,U.jsx)(lc.Ay,{start:i,location:lc.Ay.Locations.ACTIVITY_FEED_NEW,messageProps:d});return(0,lB.A)(t)?{subtitle:r,icon:(0,U.jsx)(lG.Header.Icon,{src:oZ.A.get(eL.fg2.XBOX).icon.lightPNG})}:{subtitle:r,icon:null!=n&&null!=n.getIconURL(64)?(0,U.jsx)(lG.Header.Icon,{src:n.getIconURL(64)}):null}}return{subtitle:na.intl.string(na.t.sau5tt),icon:(0,U.jsx)(lG.Header.Icon,{src:lG.Header.Icon.Src.MULTIPLE})}}(t),d=(0,la.A)({applicationId:t.currentActivities[0]?.activity?.application_id,location:"FriendsActivityFeed",source:ls.Ob.FriendsActivityFeed}),_=(0,ln.A)({userId:o.user.id,guildId:a?.id}),h=(0,li.a)({displayNameStyles:_});return(0,U.jsx)(lG.Header,{priorityUser:o,guildId:a?.id,title:l,subtitle:u,icon:c,onSubtitleClick:d,onIconClick:d,onContextMenu:e=>i(e,o.user),displayNameFont:1===s.length?h:void 0})}var lj=n(964486),lY=n(308368),lW=n(780907),lK=n(776677),l$=n(874546),lz=n(651743),lq=n(30370),lX=n(134861),lZ=n(498642),lQ=n(189081),lJ=n(480595),l0=n(576705),l1=n(461213),l2=n(689168),l3=n(340829),l6=n(144914),l4=n(113673);let l5=oZ.A.get(eL.fg2.XBOX).name;var l7=n(975732),l8=n(297413),l9=n(564450);function ue(e){let{user:t,status:n,guildId:i}=e;return(0,U.jsxs)("div",{className:l9.Ku,children:[(0,U.jsx)(oK.eu,{src:t.getAvatarURL(i,24),className:l9.my,"aria-label":t.username,size:o$._3.SIZE_24,status:n}),(0,U.jsx)(l8.A,{user:t,hideDiscriminator:!0})]})}function ut(e){let{label:t}=e;return(0,U.jsxs)("div",{className:l9.Ku,children:[(0,U.jsx)("div",{className:t2()(l9.my,l9.L5)}),(0,U.jsx)("div",{children:t})]})}function un(e){let{priorityMembers:t,otherMembers:n,totalMembers:i,activity:r,guildId:s,sourceAnalyticsLocations:a}=e,o=[];for(let{user:e,status:n}of t)o.push((0,U.jsx)(sr.Dr,{id:e.id,keepItemStyles:!0,render:t=>(0,U.jsx)(ue,{...t,user:e,status:n,guildId:s}),action:()=>(0,l7.openUserProfileModal)({userId:e.id,guildId:s,sourceAnalyticsLocations:a})}));for(let e of n)o.push((0,U.jsx)(sr.Dr,{id:e.id,keepItemStyles:!0,render:t=>(0,U.jsx)(ue,{...t,user:e,guildId:s}),action:()=>(0,l7.openUserProfileModal)({userId:e.id,guildId:s,sourceAnalyticsLocations:a})}));let l=i-o.length;return l>0&&o.push((0,U.jsx)(sr.Dr,{id:`unknown-members-${r?.session_id}`,render:e=>(0,U.jsx)(ut,{...e,label:na.intl.formatToPlainString(na.t["6Kqn9M"],{count:l})})})),o}var ui=n(308528),ur=n(855511);function us(e){return{af_voice_chat:e.voiceChannels.length>0,af_people_count:e.partiedMembers.length,af_rich_presence:e.currentActivities.some(e=>{let{activity:t}=e;return(0,ok.A)(t)}),game_platform:e.currentActivities.length>0?(0,ur.A)(e.currentActivities[0].activity):null}}var ua=n(655116),uo=n(341335),ul=n(286617),uu=n(533207),uc=n(881335),ud=n(272984);function u_(e){let t,n,i,{party:r,close:s,onSelect:a}=e,o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{priorityMembers:n,partiedMembers:i}=e,r=e8.useContext(ew.AnalyticsContext),s=n.map(e=>{let{user:t}=e;return t.id}),a=1===i.length&&1===n.length,o=n.length-i.length>0;return(a||t)&&!o&&0!==s.length?(0,U.jsx)(sr.Dr,{id:"message",action:function(){ui.A.openPrivateChannel({recipientIds:s}).then(t=>ad.Ay.trackWithMetadata(eL.HAw.ACTIVITY_FEED_DM_VISITED,{source:{...r.location,object:eL.ZSU.LIST_ITEM},channel_id:t,recipient_id:"string"==typeof s?s:s[0],af_recently_played:!1,...us(e)}))},label:na.intl.string(na.t["g33r/P"])}):null}(r),l=(t=e8.useContext(ew.AnalyticsContext),n=r.voiceChannels[0],i=(0,e6.bG)([l0.A],()=>null!=n&&l0.A.can(eL.xBc.CONNECT,n.channel)),null==n?null:[(0,U.jsx)(sr.Dr,{id:"join-voice",action:function(){(0,lh.iN)(n.channel.id),nD.default.selectVoiceChannel(n.channel.id),ad.Ay.trackWithMetadata(eL.HAw.ACTIVITY_FEED_VOICE_CHANNEL_VISITED,{source:{...t.location,object:eL.ZSU.LIST_ITEM},guild_id:n.guild.id,channel_id:n.channel.id,...us(r)})},label:na.intl.string(na.t["8yOlh9"]),disabled:!i},"join-voice"),(0,U.jsx)(sr.Dr,{id:"goto-server",action:function(){(0,lf.u)(n.guild.id),ad.Ay.trackWithMetadata(eL.HAw.ACTIVITY_FEED_GUILD_VISITED,{source:{...t.location,object:eL.ZSU.LIST_ITEM},guild_id:n.guild.id,af_recently_played:!1,...us(r)})},label:na.intl.string(na.t.RGgqm1)},"goto-server")]),u=function(e){let{applicationStreams:t}=e;return t.map(e=>{let{stream:t,streamUser:n}=e;return(0,U.jsx)(sr.Dr,{id:`spectate-${t.ownerId}`,action:()=>{nD.default.selectVoiceChannel(t.channelId),(0,ox.Nl)(t)},label:na.intl.formatToPlainString(na.t.m09d0T,{streamerName:st.Ay.getName(n)})},`spectate-${t.ownerId}`)})}(r),c=function(e){let{currentActivities:t,isSpotifyActivity:n}=e,i=t[0],r=function(e,t){let n=(0,e6.bG)([ua.A,eW.default],()=>null!=t?(0,ul.A)(ua.A,eW.default,t,e):void 0,[e,t]);if(null==n||null==e||null==t)return null;let i=n.isCurrentUser||n.notPlayable||n.playingSameTrack,r=n.isCurrentUser||n.syncingWithUser||n.syncingWithParty;return[(0,U.jsx)(sr.Dr,{id:`spotify-play-${e.session_id}`,action:()=>(0,uc.A)(n,ud.Qp.USER_ACTIVITY_PLAY,void 0),label:na.intl.string(na.t.rRffNz),subtext:i?(0,uo.A)(n,ud.Qp.USER_ACTIVITY_PLAY):void 0,disabled:i},`spotify-play-${e.session_id}`),n.canPlaySpotify?(0,U.jsx)(sr.Dr,{id:`spotify-sync-${e.session_id}`,action:()=>(0,uu.A)(n,ud.Qp.USER_ACTIVITY_SYNC,void 0),label:na.intl.string(na.t.eU3inB),subtext:r?(0,uo.A)(n,ud.Qp.USER_ACTIVITY_SYNC):void 0,disabled:r},`spotify-sync-${e.session_id}`):null]}(i?.activity,i?.activityUser);return n?r:null}(r),d=function(e){let{currentActivities:t}=e,n=t.length>1,i=function(e){let{currentActivities:t}=e,n=t.some(e=>{let{activity:t}=e;return(0,ok.A)(t)}),i=(0,e6.bG)([lq.A],()=>lq.A.getAccounts().some(e=>e.type===oZ.A.get(eL.fg2.XBOX).type)),r=t.filter(e=>{let{activity:t}=e;return(0,lB.A)(t)}),s=r.length>0,a=r.some(e=>{let{activity:t}=e;return(0,l$.Ay)(t)});return n||i||!s||a?null:(0,U.jsx)(sr.Dr,{id:"xbox-connect",action:()=>(0,i7.openUserSettings)(i5.X.CONNECTIONS_PANEL),label:na.intl.formatToPlainString(na.t.XWSHTb,{platform:l5})})}(e),r=function(e){let{currentActivities:t}=e,n=e8.useContext(ew.AnalyticsContext);return(0,e6.yK)([tT.default,lQ.A,ib.A,tx.A,lZ.A,i1.A,nX.A,iM.A,l0.A,lJ.A,l1.A,iI.Ay,lz.A,l3.A,lX.A,ia.Ay,l2.A],()=>{let e=tT.default.getCurrentUser();return t.filter(e=>!(0,oU.A)(e.activity)).map(t=>{let{activity:i,application:r,activityUser:s}=t,a=lQ.A.getActiveLibraryApplication(r.id);return{...t,libraryApplication:a,activityJoinability:(0,lK.A)({user:s,activity:i,application:r,channelId:null,currentUser:e,isEmbedded:!1,ChannelStore:ib.A,GuildStore:tx.A,GuildMemberCountStore:lZ.A,RelationshipStore:i1.A,SelectedChannelStore:nX.A,VoiceStateStore:iM.A,PermissionStore:l0.A,LocalActivityStore:lJ.A,SelfPresenceStore:l1.A,EmbeddedActivitiesStore:iI.Ay}),canPlay:(0,l6.A)({LibraryApplicationStore:lQ.A,LaunchableGameStore:lz.A,DispatchApplicationStore:l3.A,ConnectedAppsStore:lX.A,applicationId:r.id,branchId:null!=a?a.branchId:null}),isJoining:l2.A.getState(r.id,eL.xL.JOIN)===eL.eAD.LOADING,isLaunching:lz.A.launchingGames.has(r.id),isRunning:ia.Ay.getRunningVerifiedApplicationIds().includes(r.id),location:n.location}})},[n.location,t])}(e),s=[];for(let e of r){let{activity:t}=e;null!=t&&null!=t.type&&s.push(function(e,t){let{activity:n,activityUser:i,application:r,activityJoinability:s,isJoining:a}=e;if(null==n)return null;if(s===lK.o.JOINED)return(0,U.jsx)(sr.Dr,{id:`joined-game-${n.session_id}`,label:na.intl.string(na.t.KC26NR),subtext:n.name,disabled:!0});if(s===lK.o.CAN_JOIN)return(0,U.jsx)(sr.Dr,{id:`join-game-${n.session_id}`,label:a?na.intl.string(na.t.bf6Ci7):na.intl.string(na.t.VJlc0S),subtext:n.name,disabled:a,action:()=>{lW.Ay.join({userId:i.id,sessionId:n.session_id,applicationId:r.id,channelId:null,messageId:null,source:eL.ThZ.USER_ACTIVITY_ACTIONS})}});if((0,l$._C)(n)){async function o(){if(null==n)return;let e=await lY.A.sendActivityInviteUser({type:eL.xL.JOIN_REQUEST,userId:i.id,activity:n,location:eL.ThZ.USER_ACTIVITY_ACTIONS});null!=e&&nD.default.selectPrivateChannel(e.id)}return(0,U.jsx)(sr.Dr,{id:`join-${n.session_id}`,label:t?na.intl.formatToPlainString(na.t.wFAvxM,{name:i.toString()}):na.intl.string(na.t.OKsSCR),subtext:n.name,action:o})}return null}(e,n),function(e,t){let{activity:n,application:i,libraryApplication:r,location:s,canPlay:a,isRunning:o,isLaunching:l}=e;if(!a||null==n)return null;let u=o?na.intl.formatToPlainString(na.t["gBme/4"],{name:i.name}):l?na.intl.formatToPlainString(na.t.WtSQwG,{name:i.name}):void 0;return(0,U.jsx)(sr.Dr,{id:`play-${n.session_id}`,action:function(){(0,l4.playApplication)(i.id,r,{analyticsParams:{location:{...s,object:eL.ZSU.LIST_ITEM}}})},label:t?na.intl.formatToPlainString(na.t.ZDZEJN,{name:i.name}):na.intl.string(na.t.XKUw8m),disabled:o||l,subtext:u})}(e,n))}return[...s,i]}(r),_=function(e){let{priorityMembers:t,partiedMembers:n,currentActivities:i,guildContext:r}=e,s=new Set(t.map(e=>{let{user:t}=e;return t.id})),a=n.filter(e=>!s.has(e.id)),{analyticsLocations:o}=(0,op.Ay)(),l=e8.useMemo(()=>{let e=i.flatMap(e=>{let{playingMembers:t}=e;return t}).map(e=>e.id);return n.filter(t=>!e.includes(t.id))},[n,i]);if(i.length<=1&&0===l.length)return(0,U.jsx)(sr.rX,{label:n.length>1?na.intl.formatToPlainString(na.t.C4WXvc,{memberCount:n.length}):void 0,children:un({priorityMembers:t,otherMembers:a,totalMembers:n.length,activity:i[0]?.activity??void 0,guildId:r?.id,sourceAnalyticsLocations:o})});let u=i.map((e,n)=>{let{playingMembers:i,application:a,activity:l}=e,u=new Set(i.map(e=>e.id));return(0,U.jsx)(sr.rX,{label:`${a.name} - ${i.length}`,children:un({priorityMembers:t.filter(e=>{let{user:t}=e;return u.has(t.id)}),otherMembers:i.filter(e=>!s.has(e.id)),totalMembers:i.length,activity:l??void 0,guildId:r?.id,sourceAnalyticsLocations:o})},n)}),c=l.map(e=>e.id);return[...u,(0,U.jsx)(sr.rX,{label:`${na.intl.string(na.t["mIx+gG"])} - ${l.length}`,children:un({priorityMembers:t.filter(e=>{let{user:t}=e;return c.includes(t.id)}),otherMembers:l.filter(e=>!s.has(e.id)),totalMembers:l.length,guildId:r?.id,sourceAnalyticsLocations:o})})]}(r);return(0,lj.Ay)(()=>{let e=r.currentActivities.filter(e=>e.application?.name!=null&&(0,ew.isGameApplicationType)(e.application?.type)).map(e=>e.application.name);ew.default.track(eL.HAw.OPEN_POPOUT,{type:"Now Playing Card Popout",games_detected:e})}),(0,U.jsxs)(si.W,{"data-menu-migrated":!0,navId:"now-playing-menu",onClose:s,"aria-label":na.intl.string(na.t.ogxXGq),onSelect:a,children:[o,(0,U.jsxs)(sr.rX,{children:[l,u]}),(0,U.jsx)(sr.rX,{children:c}),(0,U.jsx)(sr.rX,{children:d}),_]})}var uh=n(442433),uf=n(707606),up=n(522986);let uE=15*n5.A.Millis.MINUTE,um=(h=function(e){let{party:t,onUserContextMenu:n,onChannelContextMenu:i,quest:r,hasStaffQuestActivityPanelOverride:s}=e,a=e8.useRef(null),o=(0,U.jsx)(lH,{party:t,onUserContextMenu:n}),l=(0,U.jsx)(lV,{party:t,onChannelContextMenu:i,quest:r,hasStaffQuestActivityPanelOverride:s}),{partiedMembers:u,applicationStreams:c,currentActivities:d,voiceChannels:_}=t,h=u.length,f=c.length,p=d.length,E=_.length>0,m=e8.useCallback(()=>{let e=d.filter(e=>e.application?.name!=null&&(0,ew.isGameApplicationType)(e.application?.type)).map(e=>e.application.name);ew.default.track(eL.HAw.NOW_PLAYING_CARD_HOVERED,{num_users:h,num_streams:f,num_activities:p,in_voice_channel:E,games_detected:e})},[h,f,p,E,d]),g=e8.useMemo(()=>oy()(m,uE),[m]);return null!=o||null!=l?(0,U.jsx)(so.Y,{targetElementRef:a,position:"left",renderPopout:e=>{let{closePopout:n}=e;return(0,U.jsx)(u_,{party:t,close:n})},spacing:8,children:(e,t)=>{let{isShown:n}=t;return(0,U.jsx)(lG,{...e,ref:a,onMouseEnter:g,"aria-haspopup":"menu",className:up.MP,active:n,children:(0,U.jsxs)("div",{children:[o,l]})})}}):null},(0,uf.A)(class extends e8.Component{render(){return(0,U.jsx)(h,{...this.props,onMessageUser:this.handleMessageUser,onUserContextMenu:this.handleUserContextMenu,onGuildContextMenu:this.handleGuildContextMenu,onChannelContextMenu:this.handleChannelContextMenu})}handleMessageUser(e,t){return ui.A.openPrivateChannel({recipientIds:t.id})}handleUserContextMenu(e,t,i){(0,uh.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("31329"),n.e("94881"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("8757"),n.e("89673"),n.e("85968"),n.e("68403"),n.e("29787"),n.e("82073"),n.e("97558"),n.e("91994"),n.e("76665"),n.e("76273"),n.e("24198"),n.e("32418")]).then(n.bind(n,668569));return n=>(0,U.jsx)(e,{...n,user:t})},{onClose:i})}handleGuildContextMenu(e,t){(0,uh.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("66787"),n.e("72899"),n.e("89156"),n.e("39713"),n.e("45249"),n.e("81927"),n.e("98651"),n.e("44136"),n.e("65498"),n.e("44123"),n.e("11520"),n.e("97549"),n.e("51692"),n.e("94682"),n.e("61949"),n.e("99961"),n.e("89209"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("84935"),n.e("63635"),n.e("44078"),n.e("69337"),n.e("76026"),n.e("87845"),n.e("35636"),n.e("30402"),n.e("49089"),n.e("36769"),n.e("45970"),n.e("28885"),n.e("49937"),n.e("1472"),n.e("70534"),n.e("4974"),n.e("42527"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("49681"),n.e("96382"),n.e("22687"),n.e("62052"),n.e("63202"),n.e("82596"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("93103"),n.e("76602"),n.e("91763"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("83952"),n.e("44780"),n.e("5557"),n.e("95160"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("49145"),n.e("60773"),n.e("92128"),n.e("9004"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("15109"),n.e("59957"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("20930"),n.e("74610"),n.e("26001"),n.e("16988"),n.e("30997"),n.e("14591"),n.e("52111"),n.e("57458"),n.e("59797"),n.e("38601"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("28136"),n.e("15920"),n.e("75859"),n.e("44057"),n.e("43116"),n.e("27659"),n.e("68530"),n.e("3930"),n.e("3663"),n.e("16084"),n.e("66580"),n.e("78046"),n.e("80093"),n.e("73669"),n.e("10943"),n.e("7775"),n.e("60989"),n.e("82486"),n.e("36624"),n.e("61058"),n.e("50342"),n.e("33097"),n.e("3710"),n.e("45830"),n.e("22547"),n.e("77602"),n.e("10262"),n.e("95602"),n.e("46313"),n.e("5896"),n.e("34409"),n.e("29569"),n.e("36002"),n.e("43233"),n.e("91643"),n.e("63726"),n.e("71329"),n.e("41786"),n.e("56373"),n.e("83827"),n.e("42749"),n.e("56026"),n.e("16301"),n.e("22191"),n.e("25961"),n.e("30501"),n.e("8364"),n.e("66147"),n.e("89541"),n.e("74337"),n.e("52823"),n.e("56967"),n.e("47011"),n.e("31203"),n.e("66913"),n.e("71719"),n.e("19690"),n.e("93767"),n.e("13848"),n.e("39214"),n.e("99108"),n.e("88307"),n.e("14878"),n.e("26508"),n.e("61347"),n.e("42935"),n.e("73091"),n.e("69178"),n.e("86692"),n.e("52695"),n.e("16373"),n.e("81398"),n.e("24484"),n.e("44943"),n.e("32347"),n.e("8458"),n.e("11810"),n.e("91977"),n.e("90152"),n.e("87973"),n.e("57197"),n.e("14863"),n.e("84951"),n.e("60165"),n.e("71167"),n.e("12390"),n.e("13446"),n.e("61309"),n.e("94529"),n.e("30313"),n.e("26918"),n.e("21300"),n.e("17699"),n.e("57032"),n.e("22941"),n.e("94832"),n.e("26386"),n.e("65338"),n.e("94171"),n.e("76064"),n.e("74572")]).then(n.bind(n,860417));return n=>(0,U.jsx)(e,{...n,guild:t})})}handleChannelContextMenu(e,t){let i=tx.A.getGuild(t.getGuildId());if(null==i)return null;(0,uh.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("26132"),n.e("3998"),n.e("9004"),n.e("30997"),n.e("12255"),n.e("40959"),n.e("79995"),n.e("44058"),n.e("35723"),n.e("29542"),n.e("67596")]).then(n.bind(n,113255));return n=>(0,U.jsx)(e,{...n,channel:t,guild:i})})}})),ug=im().throttle(()=>oL.u(),3e5);function uA(){let{nowPlayingCards:e,loaded:t,needsRefresh:n,fetching:i,currentUser:r}=(0,e6.cf)([oM.A,ow.A,tT.default],()=>({nowPlayingCards:oM.A.nowPlayingCards,loaded:oM.A.loaded,needsRefresh:ow.A.shouldFetch(),fetching:ow.A.isFetching(),currentUser:tT.default.getCurrentUser()})),s=(0,e6.bG)([ov.A],()=>ov.A.quests),a=(0,oR.oH)(Array.from(s.values()));e8.useEffect(()=>(ez.h.wait(()=>oP.O()),()=>{ez.h.wait(()=>oP.v())}),[r?.id]),e8.useEffect(()=>{n&&!i&&ug()},[n,i]);let o=e8.useMemo(()=>{let t=new Map,n=new Set,i=(0,oD.$e)(s,aq.B3);for(let r of e)r.party.currentActivities.forEach(e=>{let{activity:s}=e;if(null==s)return;let a=(0,ob.nq)(i,s);null==a||n.has(a.id)||(n.add(a.id),t.set(r.party.id,a.id))});return t},[e,s,a]),l=(0,e6.bG)([ov.A],()=>ov.A.earnedQuestForPlacement.get(oC.uF.ACTIVITY_PANEL),[]),u=e8.useRef([]),c=e8.useMemo(()=>{let e=Array.from(o.values()),t=u.current;return t.length===e.length&&e.every((e,n)=>e===t[n])?t:(u.current=e,e)},[o]),d=(0,e6.bG)([nd.A],()=>nd.A.isAppFocused());e8.useEffect(()=>{0!==c.length&&d&&(0,oN.yO)(c,oC.uF.ACTIVITY_PANEL,"NowPlaying")},[c,l,d]);let _=e8.useMemo(()=>{if(null==l)return new Map;let e=new Map;for(let[t,n]of o.entries()){let i=l.earnedDecisionByQuestId.get(n),r=s.get(n);(0,oO.Oh)(i)&&i.shouldDeliver&&null!=r&&e.set(t,r)}return e},[l,o,s]),h=(0,e6.bG)([ov.A],()=>ov.A.getQuestPreviewOverride(oC.uF.ACTIVITY_PANEL),[]),f=null;return t?f=e.length>0?e.map((e,t)=>{let{party:n}=e;return(0,U.jsx)(um,{party:n,quest:null!=h&&0===t?h:_.get(n.id),hasStaffQuestActivityPanelOverride:null!=h&&0===t},n.id)}):(0,U.jsxs)("div",{className:up.aM,children:[(0,U.jsx)(aF.D,{variant:"heading-md/semibold",className:up.jU,children:na.intl.string(na.t["ngJ/5u"])}),(0,U.jsx)(sw.E,{color:"none",className:up.BI,variant:"text-sm/normal",children:na.intl.string(na.t["99ZWxQ"])})]}):(0,U.jsx)("div",{className:up.aM,children:(0,U.jsx)(rn.y,{})})}var uI=n(678428);function uT(){let{analyticsLocations:e}=(0,op.Ay)(ii.A.ACTIVE_NOW_COLUMN),t=(0,e6.bG)([oT.A],()=>oT.A.hasConsented(eL.YAq.PERSONALIZATION))?[]:[rM.M.NOW_PLAYING_CONSENT_CARD],n=(0,ou.GV)();return(0,U.jsx)(op.f5,{value:e,children:(0,U.jsx)(of.A,{section:eL.JJy.ACTIVE_NOW_COLUMN,children:(0,U.jsx)("aside",{className:t2()(uI.kL,"refresh-active-now"),"aria-labelledby":n,children:(0,U.jsx)(oh.Ip,{className:uI.XG,children:(0,U.jsxs)("div",{children:[(0,U.jsx)(aF.D,{variant:"heading-lg/semibold",className:uI.wx,id:n,children:na.intl.string(na.t.F4Zggw)}),(0,U.jsx)(rx.Ay,{contentTypes:t,children:e=>{let{visibleContent:t,markAsDismissed:n}=e;if(t===rM.M.NOW_PLAYING_CONSENT_CARD)return(0,U.jsx)(oI,{className:uI.__invalid_consentCard,markAsDismissed:n})}}),(0,U.jsx)(uA,{})]})})})})})}var uS=n(210714),uy=n(595623),uN=n(189812),uv=n(573725),uC=n(717398),uR=n(953051),uO=n(189883),ub=n(395422),uD=n(650583),uL=n(235351),uw=n(818050);let uM=n(892799),uP={canSend:!1,hint:null,success:null,error:null},ux=(0,ou.Ld)(),uk=`${ux}-decription`,uU=`${ux}-error`;function uG(e,t){switch(t.type){case"RESET":return uP;case"SUCCESS":return{...uP,success:t.text};case"HINT":return{...uP,canSend:!0,hint:t.text};case"ERROR":return{...e,canSend:!0,error:t.text}}}function uF(e){let{placeholder:t=na.intl.string(na.t.qRaqel)}=e,n=e8.useRef(null),i=e8.useRef(null),[r,s]=e8.useReducer(uG,uP),{canSend:a,hint:o,error:l,success:u}=r,{enabled:c}=uO.A.useConfig({location:"AddFriendInput"}),[d,_]=e8.useState("");return e8.useEffect(()=>{null!=u&&(tK()(null!=n.current,"Input is submitting when not mounted"),n.current.value="",n.current.focus())},[u,n]),(0,U.jsxs)("form",{onSubmit:e=>{e.preventDefault(),tK()(null!=n.current,"Input is submitted when not mounted");let t=n.current.value.trim();!t.includes("#")&&t.startsWith("@")&&(t=t.substring(1));let i=(0,ub.Ty)(t);null!=i?s({type:"ERROR",text:i}):uC.A.sendRequest({discordTag:t,context:{location:"Add Friend"},note:c&&d.length>0?d:void 0}).then(()=>{s({type:"SUCCESS",text:na.intl.format(na.t.Rtl1Ep,{discordTag:t})}),_("")},e=>s({type:"ERROR",text:e?.body?.note!=null?na.intl.string(na.t.ckHwck):(0,ub.vU)(e.body?.code,t)}))},autoComplete:"off",children:[(0,U.jsxs)("div",{className:uL.QR,children:[(0,U.jsx)(sw.E,{tag:"div",variant:"heading-md/normal",children:na.intl.string(na.t["Rn/sLl"])}),(0,U.jsx)("img",{src:uM,alt:"Wumpus Waving"})]}),(0,U.jsx)(e5.vN,{focusTarget:n,ringTarget:i,ringClassName:uL.hN,children:(0,U.jsxs)("div",{className:t2()(uL.fc,{[uL.kX]:u,[uL.z3]:!c&&l,[uL._f]:c&&l}),children:[(0,U.jsxs)("div",{ref:i,className:uL.qe,children:[(0,U.jsx)(uv.p,{id:ux,inputRef:n,className:uL.QP,inputClassName:uL.hF,onKeyPress:e=>{let t=e.currentTarget.value;if(e.key!==uD.N$.Enter&&t.includes("#")){tK()(null!=n.current,"Input is handling keypress when not mounted");let i=t.indexOf("#"),r=n.current.selectionStart,s=e.key===uD.N$.Backspace||e.key===uD.N$.ArrowRight||e.key===uD.N$.ArrowLeft,a=(0,uR.A)(e.key);null!=r&&r>i&&/^(.+?#\d{4})$/.test(t)&&!s?e.preventDefault():null==r||!(r>i)||a||s||e.preventDefault()}},onChange:e=>{if(e.length<=0)return void s({type:"RESET"});let t="",[,n]=e.split("#");null!=n&&(t=e+eL.RoK.slice(null!=n?n.length+1:0)),s({type:"HINT",text:t})},maxLength:37,autoComplete:"off",name:"add-friend","data-form-type":"other","data-lpignore":!0,"data-1p-ignore":!0,placeholder:t,"aria-label":t,"aria-invalid":null!=l||void 0,"aria-describedby":null!=l?uU:uk}),null!=o&&(0,U.jsx)("div",{className:uL.dQ,"aria-hidden":!0,children:o}),(0,U.jsx)(tJ.$,{variant:"primary",size:"sm",text:na.intl.string(na.t["PMsq/b"]),disabled:!a,type:"submit"})]}),c&&(0,U.jsxs)("div",{className:uL.v7,children:[(0,U.jsx)(uN.d,{className:uL.xh,value:d,onChange:e=>{_(e.target.value.replace(/\n/g,""))},placeholder:na.intl.string(na.t.Yi6Mpu),maxLength:120,onKeyDown:e=>{if(e.key===uD.N$.Enter)return void e.preventDefault()}}),(0,U.jsx)("div",{className:uL.Dq,children:(0,U.jsx)(sw.E,{variant:"text-sm/normal",color:d.length>=120?"text-feedback-critical":"text-subtle",children:120-d.length})})]})]})}),c&&null==l&&null==u&&(0,U.jsx)(sw.E,{variant:"text-sm/normal",className:uw.Ot,color:"text-subtle",children:na.intl.string(na.t.UtfQNw)}),null!=l&&(0,U.jsx)("div",{role:"alert",children:(0,U.jsx)(sw.E,{id:uU,variant:"text-sm/normal",className:uw.Ot,color:"text-feedback-critical",children:l})}),null!=u&&(0,U.jsx)("div",{role:"status",children:(0,U.jsx)(sw.E,{variant:"text-sm/normal",className:uw.Ot,color:"text-feedback-positive",children:u})})]})}var uV=n(976860);function uB(e){let{color:t="currentColor",...n}=e;return(0,U.jsx)("svg",{...n,fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,U.jsx)("path",{clipRule:"evenodd",d:"m5.41667 4.2625 5.66573 5.7375-5.66573 5.7375 1.74426 1.7625 7.42237-7.5-7.42237-7.5z",fill:t,fillRule:"evenodd"})})}var uH=n(505973);function uj(){var e,t,n;return(0,U.jsxs)(e8.Fragment,{children:[(0,U.jsxs)("header",{className:uH.wx,children:[(0,U.jsx)(aF.D,{variant:"heading-lg/semibold",color:"text-strong",children:na.intl.string(na.t.IuMx1Y)}),(0,U.jsx)(sw.E,{tag:"div",variant:"heading-md/normal",children:na.intl.string(na.t.DwevPs)})]}),(0,U.jsx)("div",{className:uH.Vg,children:(e=sC.Q,t=na.intl.string(na.t.AhKnz4),n=()=>{ew.default.track(eL.HAw.ADD_FRIEND_OTHER_PLACES_DISCOVERY_CLICKED),(0,uV.pX)(eL.BVt.GUILD_DISCOVERY)},(0,U.jsxs)("button",{className:uH.kL,onClick:n,children:["function"==typeof e?(0,U.jsx)("div",{className:uH.Kk,children:(0,U.jsx)(e,{className:uH.__invalid_iconInner,color:r9.A.colors.WHITE.css})}):(0,U.jsx)("img",{className:uH.Kk,alt:"",src:e}),(0,U.jsx)(sw.E,{className:uH.Qq,variant:"text-md/medium",children:t}),(0,U.jsx)(uB,{className:uH.UE})]},t))})]})}var uY=n(739175);function uW(){return(0,U.jsxs)("header",{className:uY.wx,children:[(0,U.jsx)(aF.D,{variant:"heading-lg/semibold",className:uY.DD,children:na.intl.string(na.t.w5uwoI)}),(0,U.jsx)(uF,{})]})}let uK=function(){return(0,U.jsxs)(e8.Fragment,{children:[(0,U.jsx)(uW,{}),(0,U.jsx)(uj,{})]})};var u$=n(123292),uz=n(900797),uq=n(847374),uX=n(892547),uZ=n(140735),uQ=n(70730),uJ=n(45787),u0=n(275759),u1=n(534890),u2=n(530005),u3=n(3203),u6=n(408278),u4=n(597770),u5=n(414711),u7=n(397244),u8=n(714114),u9=n(394871),ce=n(501859);let ct=function(e){let{hovered:t,activities:n,applicationStream:i,status:r,user:s,userIgnored:a}=e,{voiceChannel:o}=(0,u8.A)({userId:s?.id});return a?(0,U.jsx)("div",{className:ce.Q,children:na.intl.string(na.t.tFY5Zb)}):(0,u7.A)({activities:n,status:r,applicationStream:i,voiceChannel:o})?(0,U.jsx)(u9.A,{textClassName:ce.q,activities:n,applicationStream:i,voiceChannel:o,animateEmoji:t,user:s,textSize:"sm"}):(0,U.jsx)("div",{className:ce.Q,children:(0,st.MU)(r)})};var cn=n(723690),ci=n(751188);n(646363);var cr=n(728552);function cs(e){let{ref:t,isFocused:i,isActive:r,status:s,activities:a,applicationStream:o,isGameRelationship:l,isMobile:u,isVR:c,onOtherHover:d,onClick:_,recipientUser:h,analyticsLocations:f,giftIntentType:p}=e,{analyticsLocations:E}=(0,op.Ay)(ii.A.PREMIUM_GIFT_INTENT_FRIEND_ROW),{Component:m}=(0,u3.V)(),g=(0,e6.bG)([u0.Ay],()=>u0.Ay.getFriendAnniversaryYears(h.id)),{openGiftModal:A}=(0,ci.$)({giftRecipient:h,analyticsLocations:E,analyticsLocation:eL.ThZ.FRIEND_ANNIVERSARIES_ACTION_BUTTON,analyticsObject:{page:eL.liQ.FRIENDS_LIST,section:eL.JJy.FRIENDS_LIST_FRIEND_ROW,object:eL.ZSU.BUTTON_CTA,objectType:eL.AnalyticsObjectTypes.GIFT},location:"gift-intent-friend-row"});e8.useEffect(()=>{let e=ow.A.getUserAffinity(h.id);(0,o6.x)({name:eR.ImpressionNames.GIFT_INTENT_ACTION_BUTTON,type:eR.ImpressionTypes.VIEW,properties:{gift_intent_type:p,affinity:e?.communicationProbability}})},[h,p]);let I=e=>{e.stopPropagation();let t=ow.A.getUserAffinity(h.id);ew.default.track(eL.HAw.GIFT_INTENT_ACTION_BUTTON_CLICKED,{gift_intent_type:p,affinity:t?.dmProbability,location_stack:E}),A()};return(0,U.jsx)(u5.A,{ref:t,isFocused:i,isActive:r,user:h,analyticsLocations:f,onOtherHover:d,onClick:_,height:72,children:e=>(0,U.jsxs)("div",{className:t2()(cr.a4,cr.Z$),children:[(0,U.jsx)(cn.A,{className:cr.Cv,user:h,status:s,isMobile:u,isVR:c,subText:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(ct,{hovered:e,activities:a,applicationStream:o,status:s,user:h,userIgnored:i1.A.isIgnored(h.id)}),(0,U.jsxs)("div",{className:cr.K3,children:[(0,U.jsx)(sb.$,{size:"xxs",color:"currentColor"}),(0,U.jsx)(sw.E,{variant:"text-xs/normal",color:"text-subtle",children:na.intl.formatToPlainString(na.t.S3fdq7,{numberOfYears:g})})]})]}),hovered:e,showAccountIdentifier:!l&&!h.isProvisional}),(0,U.jsxs)("div",{className:cr.o1,children:[(0,U.jsx)(u6.K,{size:"sm",variant:"secondary",icon:m,"aria-label":na.intl.string(na.t.I61IsE),onClick:()=>{ew.default.track(eL.HAw.GIFT_INTENT_CARD_SECONDARY_CTA_CLICKED,{gift_intent_type:p,cta_type:"send_message",location_stack:E}),(0,uJ.xs)(h.id),(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("22638"),n.e("95501")]).then(n.bind(n,367516));return t=>(0,U.jsx)(e,{...t,giftIntentType:p??void 0,analyticsLocationHistory:E})})}}),(0,U.jsx)(tJ.$,{size:"sm",text:na.intl.string(na.t.PEjaCx),icon:u4.o,"aria-label":na.intl.string(na.t.PEjaCx),onClick:I})]})]})})}var ca=n(22212),co=n(411986),cl=n(513297),cu=n(788868);function cc(e){let{user:t,applicationId:n,isGameRelationship:i,onSelect:r}=e,s=e8.useCallback(()=>{(0,ca.X9)({targetUserId:t.id,tab:uy.Ay.getState().section}),ui.A.openPrivateChannel({recipientIds:t.id,joinCall:!0})},[t.id]),a=e8.useCallback(()=>{(0,ca.Cf)({targetUserId:t.id,tab:uy.Ay.getState().section}),ui.A.openPrivateChannel({recipientIds:t.id,joinCall:!0,joinCallVideo:!0})},[t.id]),o=e8.useCallback(()=>{co.A.removeFriend({userId:t.id,applicationId:i?n:null,location:"Friends"})},[n,i,t.id]),l=e8.useCallback(()=>{let e=i?na.intl.string(na.t.RLcE6x):na.intl.string(na.t.cvSt1J);(0,ca.lP)({targetUserId:t.id,tab:uy.Ay.getState().section}),sh.A.show({title:na.intl.formatToPlainString(na.t.fPLvZd,{name:st.Ay.getName(t)}),body:na.intl.formatToPlainString(na.t.l5FFq6,{name:st.Ay.getName(t)}),confirmText:e,confirmVariant:"critical-primary",cancelText:na.intl.string(na.t["ETE/oC"]),onConfirm:o})},[o,i,t]),u=(0,e6.bG)([tI.Ay],()=>tI.Ay.supports(il.O5.VIDEO)),c=t.isProvisional,d=i?na.intl.string(na.t.RLcE6x):na.intl.string(na.t.cvSt1J);return(0,U.jsxs)(si.W,{"data-menu-migrated-auto":!0,navId:"friend-row","aria-label":na.intl.string(na.t.liqwPJ),onClose:uh.Z_,onSelect:r,children:[!c&&u?(0,U.jsx)(sr.Dr,{id:"start-video-call",label:na.intl.string(na.t.oCqlGG),action:a}):null,!c&&(0,U.jsx)(sr.Dr,{id:"start-voice-call",label:na.intl.string(na.t.focH1t),action:s}),(0,U.jsx)(sr.Dr,{id:"remove-friend",label:d,action:l,color:"danger"})]})}class cd extends e8.PureComponent{peopleListItemRef=e8.createRef();state={isActiveRow:!1};componentWillLeave(e){null!=this.peopleListItemRef.current&&this.peopleListItemRef.current.componentWillLeave(e)}componentWillEnter(e){null!=this.peopleListItemRef.current&&this.peopleListItemRef.current.componentWillEnter(e)}openPrivateChannel=()=>{let{user:e}=this.props,t=ib.A.getDMFromUserId(e.id);null!=t?(0,uV.pX)(eL.BVt.CHANNEL(eL.ME,t)):ui.A.openPrivateChannel({recipientIds:e.id})};handleRowClick=e=>{e.stopPropagation(),(0,ca.xF)({targetUserId:this.props.user.id,tab:uy.Ay.getState().section}),this.openPrivateChannel()};handleMessageClick=e=>{e.stopPropagation(),(0,ca.WD)({targetUserId:this.props.user.id,tab:uy.Ay.getState().section}),this.openPrivateChannel()};handleOpenActionsMenu=e=>{let{user:t,isGameRelationship:n,applicationId:i}=this.props;(0,uh.jA)(e,e=>(0,U.jsx)(cc,{...e,user:t,applicationId:i,isGameRelationship:n}),{onClose:()=>{this.setState({isActiveRow:!1})}}),this.setState({isActiveRow:!0})};render(){let{user:e,isFocused:t,analyticsLocations:n,activities:i,applicationStream:r,status:s,isMobile:a,isVR:o,isGameRelationship:l,giftIntentType:u,hasFriendAnniversarySection:c,sectionIndex:d}=this.props,{isActiveRow:_}=this.state;return(0,uQ.p)(ii.A.FRIENDS_LIST)&&u===cu.np.FRIEND_ANNIVERSARY&&c&&0===d?(0,U.jsx)(cs,{ref:this.peopleListItemRef,isFocused:t,isActive:_,recipientUser:e,analyticsLocations:n,onOtherHover:()=>_?null:(0,uh.Z_)(),onClick:this.handleRowClick,giftIntentType:u,status:s,activities:i,applicationStream:r,isMobile:a,isVR:o,isGameRelationship:l}):(0,U.jsx)(u5.A,{ref:this.peopleListItemRef,isFocused:t,isActive:_,user:e,analyticsLocations:n,onOtherHover:()=>_?null:(0,uh.Z_)(),onClick:this.handleRowClick,children:(t,n)=>(0,U.jsxs)("div",{className:cr.a4,children:[(0,U.jsx)(cn.A,{user:e,status:s,isMobile:a,isVR:o,subText:(0,U.jsx)(ct,{hovered:t,activities:i,applicationStream:r,status:s,user:e,userIgnored:i1.A.isIgnored(e.id)}),hovered:t,showAccountIdentifier:!l&&!e.isProvisional}),(0,U.jsxs)("div",{className:cr.o1,children:[(0,U.jsx)(cl.A,{icon:u1.o,tooltip:na.intl.string(na.t["g33r/P"]),onClick:this.handleMessageClick,shouldHighlight:t,tabIndex:n}),(0,U.jsx)(cl.A,{icon:u2.F,tooltip:na.intl.string(na.t["UKOtz+"]),onClick:this.handleOpenActionsMenu,shouldHighlight:t,tabIndex:n})]})]})})}}var c_=n(615300),ch=n(396478),cf=n(34275),cp=((f={}).SECTION_NO_RESULTS="SECTION_NO_RESULTS",f);let cE=Object.freeze({SECTION_ALL:{lightSrc:n(445451),darkSrc:n(642269),width:376,height:162,renderContent:e=>(0,U.jsxs)(e8.Fragment,{children:[(0,U.jsx)(ch.SG,{note:na.intl.string(na.t.Y4vMY8)}),(0,U.jsx)("div",{"data-button-hoisted-classname-wrapper":!0,className:cf.x6,children:(0,U.jsx)(tJ.$,{variant:"primary",text:na.intl.string(na.t.w5uwoI),onClick:e})})]})},SECTION_ONLINE:{lightSrc:n(939333),darkSrc:n(492055),width:421,height:218,renderContent:()=>(0,U.jsx)(ch.SG,{note:na.intl.string(na.t.v7HbiQ)})},SECTION_BLOCKED:{lightSrc:n(751906),darkSrc:n(689818),width:433,height:232,renderContent:()=>(0,U.jsx)(ch.SG,{note:na.intl.string(na.t["9xdyWB"])})},SECTION_PENDING:{lightSrc:n(826223),darkSrc:n(317017),width:415,height:200,renderContent:(e,t)=>(0,U.jsxs)("div",{className:cf.y7,children:[(0,U.jsx)(ch.SG,{note:na.intl.string(na.t["aCYQ+P"])}),null!=e&&(0,U.jsx)(tJ.$,{variant:"secondary",text:t?na.intl.string(na.t.R40bU2):na.intl.string(na.t.rXl8fj),onClick:e,size:"sm"})]})},SECTION_SUGGESTIONS:{lightSrc:n(826223),darkSrc:n(317017),width:415,height:200,renderContent:()=>(0,U.jsx)(ch.SG,{note:na.intl.string(na.t["vgI/EF"])})},SECTION_NO_RESULTS:{lightSrc:n(939333),darkSrc:n(492055),width:421,height:218,renderContent:()=>(0,U.jsx)(ch.SG,{note:na.intl.string(na.t["7sW4h1"])})}}),cm=e=>{let{theme:t}=e,n=na.intl.string(na.t["oi+B4p"]);return(0,U.jsx)(ch.pp,{theme:t,children:(0,U.jsx)(ch.SG,{note:n})})};class cg extends e8.PureComponent{state={opacity:new c_.A.Value(1)};componentWillEnter=e=>{this.state.opacity.setValue(0),c_.A.timing(this.state.opacity,{toValue:1,duration:250}).start(e)};componentWillLeave=e=>{c_.A.timing(this.state.opacity,{toValue:0,duration:250}).start(e)};render(){let{type:e,onClick:t,theme:n}=this.props,i={opacity:this.state.opacity},r=function(e){switch(e){case eL.m3P.ADD_FRIEND:case eL.m3P.ALL:return cE.SECTION_ALL;case eL.m3P.ONLINE:return cE.SECTION_ONLINE;case eL.m3P.PENDING:return cE.SECTION_PENDING;case eL.m3P.SUGGESTIONS:return cE.SECTION_SUGGESTIONS;case"SECTION_NO_RESULTS":return cE.SECTION_NO_RESULTS;default:throw Error("FriendsEmptyState: Invalid empty state")}}(e);return e===eL.m3P.ADD_FRIEND?(0,U.jsx)(c_.A.div,{className:cf.VD,style:i,children:(0,U.jsx)(cm,{theme:n})}):(0,U.jsx)(c_.A.div,{className:cf.VD,style:i,children:(0,U.jsx)(ch.pp,{theme:n,children:r.renderContent(t)})})}}let cA=e6.Ay.connectStores([to.A],()=>({theme:to.A.theme}),{forwardRef:!0})(cg);var cI=n(933832),cT=n(789645),cS=n(39623),cy=n(216964),cN=n(640708),cv=n(390848),cC=n(525075);function cR(e){let{user:t,applicationId:n,isGameRelationship:i,active:r,tabIndex:s}=e,[a,o]=e8.useState(!1),l=tT.default.getCurrentUser()?.isStaff()&&t?.isStaff(),{acceptFriendRequest:u,cancelFriendRequest:c}=(0,cv.I)({userId:t.id,applicationId:n,isGameRelationship:i,location:"Friends",onFinally:()=>{o(!1)}}),d=e8.useCallback(e=>{o(!0),e.stopPropagation(),u()},[u]),_=e8.useCallback(e=>{e.stopPropagation(),c()},[c]);return(0,U.jsxs)(U.Fragment,{children:[l&&(0,U.jsx)("div",{className:cC.ou,children:(0,U.jsx)(os.Lp,{color:r9.A.unsafe_rawColors.BRAND_500.css,text:na.intl.string(na.t.oMx98L)})}),(0,U.jsx)(cl.A,{icon:cI.A,actionType:cl.A.ActionTypes.ACCEPT,tooltip:na.intl.string(na.t.Zcibdf),onClick:d,shouldHighlight:r,loading:a,tabIndex:s}),(0,U.jsx)(cl.A,{icon:cT.P,actionType:cl.A.ActionTypes.DENY,tooltip:na.intl.string(na.t.xuio0C),onClick:_,shouldHighlight:r,tabIndex:s})]})}function cO(e){let{userId:t,applicationId:n,isGameRelationship:i,active:r,tabIndex:s}=e,{cancelFriendRequest:a}=(0,cv.I)({userId:t,applicationId:n,isGameRelationship:i,location:"Friends"}),o=e8.useCallback(e=>{e.stopPropagation(),a()},[a]);return(0,U.jsx)(cl.A,{icon:cT.P,actionType:cl.A.ActionTypes.DENY,tooltip:na.intl.string(na.t.eaq81S),onClick:o,shouldHighlight:r,tabIndex:s})}function cb(e){let{userId:t,relationshipType:n,isGameRelationship:i,applicationId:r,userTag:s,isProvisional:a}=e,o=e8.useMemo(()=>i?na.intl.string(na.t["Uv/eTx"]):s,[i,s]),l=(0,e6.bG)([rD.A],()=>null!=r?rD.A.getApplication(r):null),u=tl.Zd.useSetting(),c=(0,e6.bG)([i1.A],()=>i1.A.getNote(t)),d=!u&&null!=c&&""!==c;return(0,U.jsxs)("div",{className:cC.P9,children:[!a&&!d&&(0,U.jsx)(sw.E,{variant:"text-sm/medium",color:"text-subtle",children:o}),!a&&d&&(0,U.jsx)(cw,{note:c,relationshipType:n}),null!=l&&(0,U.jsxs)(U.Fragment,{children:[!a&&(0,U.jsx)(cN.A,{height:2,width:2}),(0,U.jsx)(lr.A,{game:l,size:lr.M.XXSMALL}),(0,U.jsx)(sw.E,{variant:"text-sm/medium",color:"text-subtle",children:l.name})]})]})}function cD(e){let{user:t,hovered:n,status:i,isGameRelationship:r,applicationId:s,relationshipType:a}=e,o=st.Ay.useUserTag(t);return(0,U.jsx)(cn.A,{user:t,hovered:n,status:i,showAccountIdentifier:!1,subText:(0,U.jsx)(cb,{userId:t.id,relationshipType:a,isGameRelationship:r,isProvisional:t.isProvisional,applicationId:s,userTag:o})})}function cL(e){let{user:t,type:n,status:i,isFocused:r,applicationId:s,isGameRelationship:a}=e,{analyticsLocations:o}=(0,op.Ay)(),l=i===eL.clD.OFFLINE?eL.clD.UNKNOWN:i,u=e8.useCallback(()=>(0,l7.openUserProfileModal)({userId:t.id,sourceAnalyticsLocations:o}),[o,t.id]);return(0,U.jsx)(u5.A,{isFocused:r,user:t,analyticsLocations:o,onClick:u,children:(e,i)=>(0,U.jsxs)("div",{className:cC.a4,children:[(0,U.jsx)(cD,{user:t,hovered:e,status:l,isGameRelationship:a,applicationId:s,relationshipType:n}),(0,U.jsx)("div",{className:cC.o1,children:n===eL.eA$.PENDING_INCOMING?(0,U.jsx)(cR,{user:t,applicationId:s,isGameRelationship:a,active:e,tabIndex:i}):(0,U.jsx)(cO,{userId:t.id,applicationId:s,isGameRelationship:a,active:e,tabIndex:i})})]})})}let cw=e=>{let{note:t,relationshipType:n}=e,[i,r]=e8.useState(n===eL.eA$.PENDING_INCOMING),s=e8.useCallback(e=>{e.stopPropagation(),r(!1),(0,ca.Yq)({analyticsLocation:"Friend Request Row",noteLength:t?.length??0})},[t]);return i?(0,U.jsxs)(t3.D,{className:cC.lm,onClick:s,children:[(0,U.jsx)(cS.b,{size:"sm",color:r9.A.colors.TEXT_BRAND}),(0,U.jsx)(sw.E,{variant:"text-sm/medium",color:"text-brand",children:na.intl.string(na.t.sB0q4C)})]}):(0,U.jsxs)("div",{className:cC.gA,children:[(0,U.jsx)(cy.c,{size:"xxs",color:r9.A.colors.ICON_SUBTLE}),(0,U.jsx)(sw.E,{variant:"text-sm/normal",color:"text-subtle",children:t})]})};var cM=n(887129),cP=n(837381),cx=n(475825),ck=n(795733);let cU=function(e){let{rows:t,renderRow:n,renderSection:i,footer:r,sectionFilter:s,renderSectionFooter:a}=e,o=e=>{let{section:i,row:r}=e,s=t[i];if(null==s||null==r)return null;let a=s[r];return null==a?null:n(a,i)},l=e8.useCallback((e,n)=>{let i=t[e]?.[n];return s===eL.m3P.ALL&&i?.giftIntentType===cu.np.FRIEND_ANNIVERSARY&&0===e?72:61},[t,s]),u=e8.useCallback(e=>{let{section:t}=e;return i(t)},[i]),c=e8.useCallback(e=>null==a?null:a(e.section),[a]),d=e8.useCallback(e=>null==a?0:48*(null!=a(e)),[a]),_=(0,e6.bG)([e7.A],()=>e7.A.keyboardModeEnabled),h=e8.useRef(null),f=e8.useCallback(()=>new Promise(e=>{let t=h.current;if(null==t)return e();t.scrollToTop({callback:()=>requestAnimationFrame(()=>e())})}),[]),p=e8.useCallback(()=>new Promise(e=>{let t=h.current;if(null==t)return e();t.scrollToBottom({callback:()=>requestAnimationFrame(()=>e())})}),[]),E=e8.useCallback(e=>{let t=document.querySelector(e),n=h.current;null!=t&&null!=n&&n.scrollIntoViewNode({node:t,padding:8,callback:()=>t?.focus()})},[]),m=(0,cM.Ay)({id:"people-list",isEnabled:_,scrollToStart:f,scrollToEnd:p,setFocus:E}),g=e8.useMemo(()=>t.map(e=>e.length),[t]);return(0,U.jsx)(cP.hD,{navigator:m,children:(0,U.jsx)(cP.PR,{children:e=>{let{ref:t,...n}=e;return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(cx.Ei,{ref:e=>{h.current=e,t.current=e?.getScrollerNode()??null},renderRow:o,rowHeight:l,renderSection:u,sectionHeight:50,renderFooter:c,footerHeight:d,sections:g,className:ck.e3,...n}),r]})}})})};var cG=n(868285);let cF=function(e){let{rows:t,renderRow:n,renderSection:i,hasSearchQuery:r,sectionFilter:s,footer:a,renderSectionFooter:o}=e,l=(0,e6.bG)([e7.A],()=>e7.A.keyboardModeEnabled),u=(0,e6.bG)([e7.A],()=>e7.A.useReducedMotion),c=(0,cM.Ay)({id:"people",isEnabled:l,async scrollToStart(){},async scrollToEnd(){}}),d=s!==eL.m3P.ONLINE&&s!==eL.m3P.ALL,_=u||r||d,h=e8.useMemo(()=>t.map((e,t)=>0===e.length?null:_?(0,U.jsxs)("div",{children:[i(t),e.map(e=>n(e,t)),o?.(t)]},t):(0,U.jsxs)(cG.F,{transitionAppear:!1,component:"div",children:[i(t),e.map(e=>n(e,t)),o?.(t)]},t)),[n,i,o,t,_]);return(0,U.jsx)(cP.hD,{navigator:c,children:(0,U.jsx)(cP.PR,{children:e=>{let{ref:t,...n}=e;return(0,U.jsxs)(oh.Ar,{ref:t,className:ck.e3,...n,children:[h,a]})}})})};function cV(e){let{rows:t,renderRow:n,renderSection:i,isVirtualizedList:r,hasSearchQuery:s,sectionFilter:a,footer:o,renderSectionFooter:l}=e;return r?(0,U.jsx)(cU,{rows:t,renderRow:n,renderSection:i,footer:o,sectionFilter:a,renderSectionFooter:l}):(0,U.jsx)(cF,{rows:t,renderRow:n,renderSection:i,sectionFilter:a,hasSearchQuery:s,footer:o,renderSectionFooter:l})}var cB=n(866945),cH=n(613755);function cj(){let[e,t]=(0,rf.kn)([rM.M.RESTRICTED_ACCOUNTS_SETTING_NOTICE]);return e8.useMemo(()=>e===rM.M.RESTRICTED_ACCOUNTS_SETTING_NOTICE,[e])?(0,U.jsx)(cB.e,{label:na.t.zqv4nV,labelHook:()=>{(0,i7.openUserSettings)(i5.X.RESTRICTED_USERS_CATEGORY)},dismissNotice:()=>t(rE.i.USER_DISMISS),className:cH._,noticeType:n2.YA.RESTRICTED_ACCOUNTS_SETTING_NOTICE}):null}var cY=n(485947),cW=n(490277);function cK(e){let{title:t,id:n}=e;return(0,U.jsx)(cY.A,{className:cW.D,id:n,children:t})}var c$=n(38910),cz=n(648356);function cq(e){let{user:t,nickname:n,status:i,isFocused:r}=e,{analyticsLocations:s}=(0,op.Ay)(),a=e=>{e?.stopPropagation(),uC.A.addRelationship({userId:t.id,context:{location:"Friends"},type:void 0,fromFriendSuggestion:!0})},o=e=>{e?.stopPropagation(),c$.A.ignore(t.id)},l=i===eL.clD.OFFLINE?eL.clD.UNKNOWN:i;return(0,U.jsx)(u5.A,{isFocused:r,user:t,analyticsLocations:s,onClick:()=>(0,l7.openUserProfileModal)({userId:t.id,sourceAnalyticsLocations:s}),children:(e,i)=>{let r=(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(cl.A,{icon:cI.A,actionType:cl.A.ActionTypes.ACCEPT,tooltip:na.intl.string(na.t.Zcibdf),onClick:a,shouldHighlight:e,tabIndex:i}),(0,U.jsx)(cl.A,{icon:cT.P,actionType:cl.A.ActionTypes.DENY,tooltip:na.intl.string(na.t.xuio0C),onClick:o,shouldHighlight:e,tabIndex:i})]});return(0,U.jsxs)("div",{className:cz.a,children:[(0,U.jsx)(cn.A,{user:t,hovered:e,status:l,subText:n,className:cz.__invalid_userInfo}),(0,U.jsx)("div",{className:cz.o,children:r})]})}})}let cX=[];function cZ(){ol.A.transitionToSection(eL.m3P.ADD_FRIEND,{explicit:!0})}function cQ(){(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("27917"),n.e("73152")]).then(n.bind(n,516259));return t=>(0,U.jsx)(e,{...t})})}function cJ(e){let{section:t,showSpamCta:n}=e,i=e8.useMemo(()=>n?cQ:t!==eL.m3P.PENDING?cZ:void 0,[n,t]);return(0,U.jsx)("div",{className:ck.y7,children:(0,U.jsx)(cA,{type:t,onClick:i},t)})}let c0=function(e){let{titleId:t}=e,{analyticsLocations:n}=(0,op.Ay)(ii.A.FRIENDS_LIST),{rows:i,section:r}=(0,e6.cf)([uy.Ay],()=>uy.Ay.getState()),s=(0,e6.bG)([nd.A],()=>nd.A.isFocused()),{relationshipCount:a,hasBlockedOrIgnored:o}=(0,e6.cf)([i1.A],()=>({relationshipCount:i1.A.getRelationshipCount(),hasBlockedOrIgnored:i1.A.getBlockedOrIgnoredIDs().length>0})),[l,u]=e8.useState(()=>{let e={};for(let t of Object.values(eL.m3P))e[t]="";return e}),c=(0,uQ.p)(ii.A.FRIENDS_LIST),[d,_]=e8.useState(!1),h=e8.useCallback((e,t)=>{let{key:i,...a}=e;switch(r){case eL.m3P.PENDING:return(0,U.jsx)(cL,{...a,isFocused:s},i);case eL.m3P.SUGGESTIONS:return(0,U.jsx)(cq,{...a,isFocused:s},i);case eL.m3P.ALL:return(0,U.jsx)(cd,{...a,isFocused:s,analyticsLocations:n,sectionIndex:t,hasFriendAnniversarySection:c},`${t}-${i}`);case eL.m3P.ONLINE:default:return(0,U.jsx)(cd,{...a,isFocused:s,analyticsLocations:n},i)}},[r,s,n,c]),f=e8.useCallback(e=>{u({...l,[r]:e})},[l,r]),p=e8.useCallback(()=>{u({...l,[r]:""})},[l,r]),E=e8.useMemo(()=>r===eL.m3P.PENDING&&(i.filter(eL.m3P.SPAM).length>0||i.filter(eL.m3P.PENDING_IGNORED).length>0),[i,r]),m=e8.useMemo(()=>i.filter(r,l[r]),[i,l,r]),g=r===eL.m3P.PENDING,A=e8.useMemo(()=>{if(!g)return cX;let e=[];return m.forEach(t=>{let{applicationId:n}=t;null!=n&&e.push(n)}),e},[g,m]);(0,a_.A)(A,g);let I=e8.useMemo(()=>r===eL.m3P.ALL&&c&&m.some(e=>e.giftIntentType===cu.np.FRIEND_ANNIVERSARY)?m.filter(e=>e.giftIntentType===cu.np.FRIEND_ANNIVERSARY).length:0,[m,r,c]),T=e8.useMemo(()=>{switch(r){case eL.m3P.PENDING:let e=[],t=[];return m.forEach(n=>{n.type===eL.eA$.PENDING_INCOMING?e.push(n):n.type===eL.eA$.PENDING_OUTGOING&&t.push(n)}),[e,t];case eL.m3P.ALL:if(!(c&&m.some(e=>e.giftIntentType===cu.np.FRIEND_ANNIVERSARY)))return[m];{let e=[];return m.forEach(t=>{t.giftIntentType===cu.np.FRIEND_ANNIVERSARY&&e.push(t)}),e.sort((e,t)=>ow.A.compareByDmProbability(e.userId,t.userId)),[d?e:e.slice(0,u0.ZD),m]}default:return[m]}},[m,r,d,c]),S=e8.useMemo(()=>m.filter(e=>e.type===eL.eA$.PENDING_INCOMING).length,[m]),y=r===eL.m3P.PENDING&&S>0&&S>=5,N=e8.useCallback(e=>{e.stopPropagation(),uC.A.confirmClearPendingRelationships(S)},[S]),v=e8.useCallback(()=>{_(e=>!e)},[]),C=e8.useCallback(e=>{let n=T[e],i=function(e,t,n,i){switch(e){case eL.m3P.ONLINE:return na.intl.formatToPlainString(na.t.BagU2U,{online:t.toString()});case eL.m3P.PENDING:if(0===n)return na.intl.formatToPlainString(na.t["g+3FIa"],{count:t.toString()});if(1===n)return na.intl.formatToPlainString(na.t.npJsRl,{count:t.toString()});throw Error(`Unexpected pending friend requests section index: ${n}`);case eL.m3P.SUGGESTIONS:return na.intl.formatToPlainString(na.t["DYMZ/p"],{count:t.toString()});default:if((0,uQ.p)(ii.A.FRIENDS_LIST)&&i)if(0===n)return na.intl.formatToPlainString(na.t.rrZTqK,{count:t.toString()});else if(1===n);else throw Error(`Unexpected friends all section index: ${n}`);return na.intl.formatToPlainString(na.t.rHRrhC,{count:t.toString()})}}(r,n.length,e,n.some(e=>e.giftIntentType===cu.np.FRIEND_ANNIVERSARY));return r===eL.m3P.PENDING&&0===e?(0,U.jsxs)("div",{className:ck.Gf,children:[(0,U.jsx)(cK,{id:t,title:i}),y&&(0,U.jsx)("div",{className:ck.mt,children:(0,U.jsx)(u$.Q,{text:na.intl.string(na.t.O8k7O4),onClick:N,"aria-label":na.intl.string(na.t.O8k7O4),textVariant:"text-sm/medium"})})]},i):(0,U.jsx)("div",{className:ck.Gf,children:(0,U.jsx)(cK,{id:t,title:i})},i)},[T,r,t,y,N]),R=e8.useCallback(e=>r===eL.m3P.ALL&&0===e&&c&&I>u0.ZD?(0,U.jsx)("div",{className:ck.Nf,children:(0,U.jsx)(tJ.$,{icon:d?uz.t:uq.a,variant:"secondary",size:"sm",text:na.intl.string(d?na.t["6MwJo/"]:na.t["37C26f"]),onClick:v,"aria-label":na.intl.string(d?na.t["6MwJo/"]:na.t["37C26f"])})}):null,[r,I,d,v,c]);if(e8.useEffect(()=>{r===eL.m3P.ALL&&(0,uJ.Ad)()},[r]),e8.useEffect(()=>{_(!1)},[r,I]),0===m.length&&""===l[r])return(0,U.jsx)(cJ,{section:r,showSpamCta:E});let O=""!==l[r],b=0===m.length&&O;return(0,U.jsx)(op.f5,{value:n,children:(0,U.jsxs)(of.A,{section:eL.JJy.FRIENDS_LIST,children:[o&&(0,U.jsx)(cj,{}),(0,U.jsx)("div",{className:ck.ON,children:(0,U.jsx)(uX.I,{query:l[r],onChange:f,onClear:p})}),(0,U.jsx)(uZ.A,{"aria-live":"polite",role:"status",children:O?na.intl.formatToPlainString(na.t.xIWGxu,{count:m.length}):""}),(0,U.jsx)(cV,{rows:T,renderRow:h,renderSection:C,sectionFilter:r,isVirtualizedList:a>=64,hasSearchQuery:O,renderSectionFooter:R,footer:E&&!b?(0,U.jsx)("div",{className:ck.RE,children:(0,U.jsx)(u$.Q,{text:na.intl.string(na.t.R40bU2),onClick:cQ,textVariant:"text-xs/medium",variant:"secondary"})}):null}),b&&(0,U.jsx)("div",{className:ck.y7,children:(0,U.jsx)(cA,{type:cp.SECTION_NO_RESULTS},r)})]})})};var c1=n(465158);function c2(){return(0,U.jsx)("div",{className:c1.N3,children:(0,U.jsx)(o_.Ay,{tooltip:na.intl.string(na.t["HfOgA/"])})})}let c3=function(e){let{initialSection:t}=e,n=(0,ng.zy)(),i=(0,ng.W6)();e8.useEffect(()=>{"true"===new URLSearchParams(n.search).get("confirm-age")&&ez.h.dispatch({type:"AGE_GATE_MODAL_OPEN",source:n1.w_.DEEP_LINK_PROMPT}).then(()=>{i.replace(eL.BVt.ME)})},[i,n]),e8.useEffect(()=>{oo.I(eL.BVt.FRIENDS),(0,uS.d)("friends")},[]);let r=(0,e6.bG)([to.A],()=>to.A.theme),s=(0,iJ.kX)(),{section:a,rows:o}=(0,e6.cf)([uy.Ay],()=>uy.Ay.getState()),l=(0,e6.bG)([oc.A],()=>oc.A.getSuggestionCount()),u=e8.useMemo(()=>o.getRelationshipCounts(),[o]);e8.useEffect(()=>{null!=t&&ol.A.setInitialSection(t),0===u[eL.eA$.FRIEND]&&0===u[eL.eA$.PENDING_INCOMING]&&0===u[eL.eA$.PENDING_OUTGOING]&&0===u[eL.eA$.BLOCKED]&&ol.A.transitionToSection(eL.m3P.ADD_FRIEND)},[t,u]);let c=e=>{ol.A.transitionToSection(e,{explicit:!0})},d=(0,ou.GV)(),_=(0,ou.GV)(),h=[{id:eL.m3P.ONLINE,show:o.filter(eL.m3P.ONLINE).length>0,content:na.intl.string(na.t.b9w3bO),announceName:na.intl.string(na.t.b9w3bO),className:c1.AS},{id:eL.m3P.ALL,show:u[eL.eA$.FRIEND]>0,content:na.intl.string(na.t.PfjFjR),announceName:na.intl.string(na.t.PfjFjR),className:c1.AS},{id:eL.m3P.PENDING,show:u[eL.eA$.PENDING_INCOMING]>0||u[eL.eA$.PENDING_OUTGOING]>0,content:(0,U.jsxs)(U.Fragment,{children:[na.intl.string(na.t.p6IHGE),s>0&&(0,U.jsx)(os.hV,{count:s,className:c1.qS})]}),ariaLabel:na.intl.formatToPlainString(na.t.OAC0Z4,{count:s.toString()}),announceName:na.intl.string(na.t.p6IHGE),className:c1.AS},{id:eL.m3P.SUGGESTIONS,show:l>0,content:(0,U.jsxs)(U.Fragment,{children:[na.intl.string(na.t["8rSi1/"]),(0,U.jsx)(os.hV,{count:l,className:c1.qS})]}),ariaLabel:na.intl.formatToPlainString(na.t.AbMQp7,{count:l.toString()}),announceName:na.intl.string(na.t["8rSi1/"]),className:c1.AS},{id:eL.m3P.ADD_FRIEND,show:!0,content:(0,U.jsx)("span",{children:na.intl.string(na.t.j0wbE5)}),ariaLabel:na.intl.string(na.t.j0wbE5),announceName:na.intl.string(na.t.j0wbE5),className:t2()(c1.AS,c1.GU)}],f=h.filter(e=>e.show).map(e=>e.id).join(","),p=e8.useRef(null);e8.useEffect(()=>{let e=""===f?[]:f.split(","),t=new Set(e),n=p.current;if(null!=n){for(let t of e)if(!n.has(t)){let e=h.find(e=>e.id===t);null!=e&&or.O.announce(na.intl.formatToPlainString(na.t["6x49+U"],{tabName:e.announceName}),"polite")}}p.current=t},[f]);let E=null,m=(0,U.jsx)("div",{className:c1.Xl,children:(0,U.jsx)(uT,{})});return E=a===eL.m3P.ADD_FRIEND?(0,U.jsx)(uK,{}):(0,U.jsx)(c0,{titleId:_}),(0,U.jsxs)("main",{className:c1.kL,"aria-label":na.intl.string(na.t.TdEu5X),children:[(0,U.jsx)(i3.HI,{location:na.intl.string(na.t.TdEu5X)}),(0,U.jsx)(t6.N,{theme:r,children:e=>(0,U.jsxs)(od.A,{className:e,toolbar:(0,U.jsx)(c2,{}),role:"navigation","aria-labelledby":d,scrollable:!0,children:[(0,U.jsx)(od.A.Icon,{icon:sb.$,"aria-hidden":!0}),(0,U.jsx)(od.A.Title,{id:d,children:na.intl.string(na.t.TdEu5X)}),(0,U.jsx)(od.A.Divider,{}),(0,U.jsx)(oa.V,{"aria-label":na.intl.string(na.t.TdEu5X),selectedItem:a,type:"top-pill",onItemSelect:c,className:c1.$H,children:h.filter(e=>e.show).map(e=>(0,U.jsx)(oa.V.Item,{id:e.id,className:e.className,"aria-label":e.ariaLabel,children:e.content},e.id))})]})}),(0,U.jsxs)("div",{className:c1.MJ,children:[(0,U.jsx)(oa.V.Panel,{id:a,className:c1.UL,"aria-labelledby":_,children:E}),m]})]})};var c6=n(488803),c4=n(969117),c5=n(942381);function c7(e){let{alt:t,ariaLabel:n,ariaHidden:i,role:r,size:s=64}=e;return(0,U.jsx)("img",{style:{width:s,height:s},src:"https://cdn.discordapp.com/assets/content/0ab7942e40003faf2ed4139f35e71f93573a2b4dd16a9f8483c677c6fd86c31c.svg",alt:t,"aria-label":n,"aria-hidden":i,role:r??"img"})}var c8=n(780645),c9=n(459192),de=n(657044),dt=n(849516),dn=n(808166),di=n(58923),dr=n(509963),ds=n(924283),da=n(550640),dl=n(433492),du=n(996682),dc=n(27989);let dd=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M22 4v1.51a6 6 0 0 1-1.76 4.25l-4.1 4.1a.5.5 0 0 0-.14.35v3.74a3 3 0 0 1-.66 1.87l-1.79 2.24a.5.5 0 0 1-.86-.14l-1.86-5.02a.5.5 0 0 0-.11-.18l-3.46-3.46a.5.5 0 0 0-.17-.11l-4.8-1.85a.5.5 0 0 1-.15-.85l2.02-1.73A3 3 0 0 1 6.1 8h3.68a.5.5 0 0 0 .36-.15l4.1-4.1A6 6 0 0 1 18.48 2H20a2 2 0 0 1 2 2Zm-5 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M9 19a1 1 0 0 0-1-1H7a1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1 3 3 0 0 0-3 3v3a1 1 0 0 0 1 1h3a3 3 0 0 0 3-3Z",className:s})]})};var d_=n(768451);let dh=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M20.84 21.32a.5.5 0 0 1-.46.68h-1.52a1 1 0 0 1-.94-.66l-1.55-4.28H7.63l-1.56 4.28a1 1 0 0 1-.94.66H3.62a.5.5 0 0 1-.47-.68l7.09-18.6a1 1 0 0 1 .93-.64h1.63a1 1 0 0 1 .93.65l7.11 18.6ZM11.98 5.1l-3.43 9.43h6.87L11.98 5.1Z",className:s})})};var df=n(82034),dp=n(555704),dE=n(387758);let dm=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M22.84 6.03a.57.57 0 0 0 .04.5l1.04 1.67c.22.35-.03.8-.44.8h-4.92A4.53 4.53 0 0 1 14 4.5C14 2.02 16.04 0 18.56 0a4.53 4.53 0 0 1 4.28 6.03Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fillRule:"evenodd",d:"M22 11.5a.5.5 0 0 0-.5-.5h-2.94a6.56 6.56 0 0 1-6.29-4.63.54.54 0 0 0-.68-.37L6.33 7.88a.5.5 0 0 0-.33.47v10.09a3 3 0 0 0 2.27 2.9l.62.16c1.57.4 3.15-.56 3.55-2.12a.92.92 0 0 1 1.23-.63l2.36.94c.42.27.79.62 1.07 1.03A3 3 0 0 0 19.56 22h.94c.83 0 1.5-.67 1.5-1.5v-9Zm-10.97 6.3L8 16.7v1.73a1 1 0 0 0 .76.97l.62.15c.5.13 1-.17 1.12-.67.1-.41.29-.78.53-1.1Z",clipRule:"evenodd",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M2 10c0-1.1.9-2 2-2h.5c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5H4a2 2 0 0 1-2-2v-4Z",fill:"string"==typeof r?r:r.css,className:s})]})};var dg=n(778492),dA=n(669281),dI=n(986226),dT=n(922288);let dS=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.ICON_OVERLAY_LIGHT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19.76 8.82c-.11.09-2.16 1.24-2.16 3.8 0 2.98 2.6 4.03 2.68 4.05 0 .07-.41 1.44-1.37 2.84-.86 1.23-1.75 2.46-3.11 2.46-1.36 0-1.71-.79-3.28-.79-1.53 0-2.08.82-3.32.82-1.24 0-2.11-1.14-3.11-2.54A12.25 12.25 0 0 1 4 12.84c0-3.9 2.53-5.95 5.02-5.95 1.32 0 2.42.86 3.25.86.8 0 2.02-.92 3.53-.92.57 0 2.62.06 3.96 1.99Zm-4.68-3.63a4.47 4.47 0 0 0 1.07-2.79c0-.14-.02-.28-.04-.4a4.47 4.47 0 0 0-2.95 1.52 4.35 4.35 0 0 0-1.1 2.7c0 .16.03.32.04.37l.27.02c.91 0 2.05-.6 2.71-1.42Z",className:s})})};var dy=n(610509);let dN=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16.7 21.7a1 1 0 0 1-1.4 0l-5-5a1 1 0 1 1 1.4-1.4l3.3 3.29V13a7 7 0 0 0-7-7H4a1 1 0 1 1 0-2h4a9 9 0 0 1 9 9v5.59l3.3-3.3a1 1 0 0 1 1.4 1.42l-5 5Z",className:s})})},dv=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M2.3 16.7a1 1 0 0 1 0-1.4l5-5a1 1 0 1 1 1.4 1.4L5.42 15H11a7 7 0 0 0 7-7V4a1 1 0 1 1 2 0v4a9 9 0 0 1-9 9H5.41l3.3 3.3a1 1 0 1 1-1.42 1.4l-5-5Z",className:s})})};var dC=n(110384);let dR=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M21.7 16.7a1 1 0 0 0 0-1.4l-5-5a1 1 0 0 0-1.4 1.4l3.29 3.3H13a7 7 0 0 1-7-7V4a1 1 0 1 0-2 0v4a9 9 0 0 0 9 9h5.59l-3.3 3.3a1 1 0 0 0 1.42 1.4l5-5Z",className:s})})};var dO=n(292801);let db=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M7.3 2.3a1 1 0 0 1 1.4 0l5 5a1 1 0 0 1-1.4 1.4L9 5.42V11a7 7 0 0 0 7 7h4a1 1 0 1 1 0 2h-4a9 9 0 0 1-9-9V5.41l-3.3 3.3a1 1 0 0 1-1.4-1.42l5-5Z",className:s})})},dD=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12.7 20.7a1 1 0 0 1-1.4 0l-8-8a1 1 0 1 1 1.4-1.4l6.3 6.29V4a1 1 0 1 1 2 0v13.59l6.3-6.3a1 1 0 0 1 1.4 1.42l-8 8Z",className:s})})};var dL=n(548411),dw=n(554830),dM=n(763175);let dP=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M2.3 7.7a1 1 0 0 1 0-1.4l4-4a1 1 0 0 1 1.4 1.4L5.42 6H21a1 1 0 1 1 0 2H5.41l2.3 2.3a1 1 0 1 1-1.42 1.4l-4-4ZM17.7 21.7l4-4a1 1 0 0 0 0-1.4l-4-4a1 1 0 0 0-1.4 1.4l2.29 2.3H3a1 1 0 1 0 0 2h15.59l-2.3 2.3a1 1 0 0 0 1.42 1.4Z",className:s})})};var dx=n(708988),dk=n(872351),dU=n(112173);let dG=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19.94 7.03c.58-.28 1.27.01 1.46.62l1 3.1c.2.6-.19 1.25-.81 1.36l-6.73 1.2 4.71 4.98c.44.46.37 1.2-.14 1.57l-2.62 1.92c-.52.38-1.25.21-1.55-.35l-3.22-6.06-3.29 6.07c-.3.56-1.03.72-1.54.35l-2.63-1.93a1.05 1.05 0 0 1-.14-1.57l4.7-4.98-6.72-1.2c-.62-.11-1-.75-.81-1.36l1-3.1c.2-.61.88-.9 1.45-.63l6.24 3.01-.93-6.84C9.28 2.56 9.77 2 10.41 2h3.2c.63 0 1.12.56 1.04 1.18l-.88 6.85 6.17-3Z",className:s})})};var dF=n(935063),dV=n(588975);let dB=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M9.35 3A3 3 0 0 0 7.1 4l-5.34 6a3 3 0 0 0 0 4l5.34 6a3 3 0 0 0 2.24 1H20a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H9.35Zm1.94 5.3a1 1 0 0 1 1.42 0L15 10.58l2.3-2.3a1 1 0 1 1 1.4 1.42L16.42 12l2.3 2.3a1 1 0 0 1-1.42 1.4L15 13.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L13.58 12l-2.3-2.3a1 1 0 0 1 0-1.4Z",clipRule:"evenodd",className:s})})};var dH=n(715641),dj=n(355522);let dY=e=>{let{size:t="md",width:n,height:i,color:r="#009AE5",colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M18.38 8.6A22.71 22.71 0 0 0 7.83 6.8c.2-1.25.64-2.12 1.42-2.28 1.06-.25 2.2.44 3.29 1.7.72.08 1.55.24 2.14.38-2-3.75-4.68-5.84-6.7-5.06-1.57.58-2.35 2.73-2.26 5.56-2 .42-3.6 1.2-4.6 2.29-.05.05-.16.2-.1.27.02.06.13 0 .16-.02 1.17-.81 2.67-1.26 4.6-1.53a22.14 22.14 0 0 0 3.7 10.01c-1.17.48-2.15.5-2.7-.08-.76-.78-.73-2.11-.17-3.7-.28-.67-.56-1.47-.72-2.06-2.26 3.6-2.73 6.96-1.03 8.32 1.28 1.03 3.5.67 5.95-.83 1.36 1.53 2.81 2.5 4.29 2.84.08.02.25.02.3-.03.03-.06-.08-.11-.1-.14a10.35 10.35 0 0 1-3.63-3.23c2.5-1.75 5.2-4.81 6.82-8.21.98.78 1.5 1.61 1.28 2.37-.3 1.03-1.47 1.67-3.12 2-.44.58-1 1.22-1.41 1.67 4.23.14 7.4-1.11 7.73-3.26.25-1.64-1.2-3.36-3.73-4.73.64-1.95.75-3.7.3-5.12-.02-.08-.07-.25-.16-.25-.05 0-.05.11-.05.17.14 1.42-.23 2.92-.95 4.76Zm-7.8 9.02a18.52 18.52 0 0 1-2.8-9.68c3.4-.11 6.84.7 9.8 2.4-1.62 3-4.04 5.59-7 7.28Z",className:s})})};var dW=n(422688),dK=n(127062),d$=n(780338),dz=n(440971);let dq=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M6.46 22a1 1 0 0 1-1-1V3.08a1 1 0 0 1 1-1h7.05c1.58 0 2.84.47 3.78 1.39a4.9 4.9 0 0 1 1.42 3.67 4.7 4.7 0 0 1-.81 2.85 4.64 4.64 0 0 1-2.02 1.59c2.46.62 3.7 2.25 3.7 4.9 0 1.9-.56 3.29-1.65 4.2-1.1.88-2.65 1.32-4.65 1.32H6.46Zm6.16-11.43a3.8 3.8 0 0 0 2.5-.75c.6-.5.9-1.26.9-2.28 0-1.02-.3-1.78-.9-2.28a3.7 3.7 0 0 0-2.5-.78H8.17v6.09h4.45Zm.6 9.03c1.12 0 2-.27 2.63-.8.65-.56.98-1.4.98-2.52 0-1.11-.33-1.94-.98-2.48a3.93 3.93 0 0 0-2.63-.8H8.17v6.6h5.05Z",className:s})})};var dX=n(115979),dZ=n(700623);let dQ=e=>{let{size:t="md",width:n,height:i,color:r="#0085FF",colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M6.9 5.08C8.97 6.64 11.2 9.8 12 11.5v4.5c0-.1-.04.01-.12.24-.42 1.27-2.08 6.19-5.88 2.25-2-2.07-1.07-4.14 2.57-4.77-2.09.36-4.43-.23-5.07-2.55-.19-.66-.5-4.77-.5-5.33 0-2.77 2.41-1.9 3.9-.77Zm10.2 0C15.03 6.64 12.8 9.8 12 11.5v4.5c0-.1.04.01.12.24.42 1.27 2.08 6.19 5.88 2.25 2-2.07 1.07-4.14-2.57-4.77 2.09.36 4.43-.23 5.07-2.55.18-.66.5-4.77.5-5.33 0-2.77-2.41-1.9-3.9-.77Z",className:s})})};var dJ=n(967492),d0=n(12054),d1=n(635739),d2=n(902001),d3=n(622629),d6=n(606096),d4=n(997146),d5=n(104510),d7=n(532804),d8=n(492349);let d9=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M13.05 1.4a1.59 1.59 0 0 0-2.1 0l-4.9 4A3.37 3.37 0 0 0 5 8v8c0 1.07.4 2.06 1.05 2.6l4.9 4c.65.53 1.45.53 2.1 0l4.9-4A3.37 3.37 0 0 0 19 16V8c0-1.07-.4-2.06-1.05-2.6l-4.9-4ZM12 4.41 8.06 7.64c-.03.08-.06.2-.06.36v8c0 .16.03.28.06.36L12 19.59l3.94-3.23c.03-.08.06-.2.06-.36V8c0-.16-.03-.28-.06-.36L12 4.41Z",clipRule:"evenodd",className:s})})};var _e=n(734660),_t=n(279449),_n=n(369163),_i=n(899784),_r=n(359286),_s=n(115354),_a=n(93688),_o=n(928264),_l=n(717400);let _u=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M20 3a3 3 0 0 1 3 3v5.22c0 .93-1.3 1.5-2.17 1.16a5.59 5.59 0 0 0-6.36 1.7l-.2.28a3 3 0 0 0 .79 4.17c.42.29.72.78.77 1.29 0 .08.02.15.04.23a.8.8 0 0 1-.8.95H4a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h16ZM4 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm3 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm3 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 22a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM18.81 14c1.82 0 3.44 1.38 3.44 3.25 0 1.45-.98 2.61-2.27 3.05v.02a1 1 0 1 1-1.96.36l-.19-1a1 1 0 0 1 .98-1.18c.87 0 1.44-.63 1.44-1.25S19.68 16 18.81 16c-.54 0-1 .26-1.23.62a1 1 0 0 1-1.66-1.13 3.49 3.49 0 0 1 2.9-1.49Z",className:s})]})};var _c=n(608599),_d=n(81466);let __=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M2 10a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v5.5a.5.5 0 0 1-.5.5H15a3 3 0 0 0-3 3c0 1.2.7 2.1 1.73 2.61.11.06.06.39-.06.39H5a3 3 0 0 1-3-3v-9Zm3.5 2a.5.5 0 0 0-.5.5v3c0 .28.22.5.5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M7 1a1 1 0 0 1 1 1v.75c0 .14.11.25.25.25h7.5c.14 0 .25-.11.25-.25V2a1 1 0 1 1 2 0v.75c0 .14.11.25.25.25H19a3 3 0 0 1 3 3 1 1 0 0 1-1 1H3a1 1 0 0 1-1-1 3 3 0 0 1 3-3h.75c.14 0 .25-.11.25-.25V2a1 1 0 0 1 1-1ZM15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})]})};var _h=n(588190);let _f=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fillRule:"evenodd",d:"M19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24a3 3 0 0 0-1.29-.85M19 16c.17 0 .34.01.5.04L19 16Z",clipRule:"evenodd",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M19.95 16.15v.01l-.44-.12",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fillRule:"evenodd",d:"M22 11.82V10a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v9a3 3 0 0 0 3 3h6.88c.37 0 .61-.38.5-.73a7 7 0 0 1 8.83-8.91c.15.05.3.03.44-.04l.02-.01c.2-.1.33-.28.33-.5ZM5 12.5c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3Z",clipRule:"evenodd",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M8 2a1 1 0 1 0-2 0v.75c0 .14-.11.25-.25.25H5a3 3 0 0 0-3 3 1 1 0 0 0 1 1h18a1 1 0 0 0 1-1 3 3 0 0 0-3-3h-.75a.25.25 0 0 1-.25-.25V2a1 1 0 1 0-2 0v.75c0 .14-.11.25-.25.25h-7.5A.25.25 0 0 1 8 2.75V2Z",fill:"string"==typeof r?r:r.css,className:s})]})},_p=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15.3 15.3a1 1 0 0 1 1.4 0l2.3 2.29 2.3-2.3a1 1 0 0 1 1.4 1.42L20.42 19l2.3 2.3a1 1 0 0 1-1.42 1.4L19 20.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L17.58 19l-2.3-2.3a1 1 0 0 1 0-1.4Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"m18.65 14.4-.53-.52a3 3 0 1 0-4.24 4.24l.52.53c.2.2.2.5 0 .7l-.52.53a2.99 2.99 0 0 0-.84 1.62c-.04.27-.26.5-.54.5H5a3 3 0 0 1-3-3v-9a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v2.5c0 .28-.23.5-.5.54-.6.1-1.16.38-1.62.84l-.53.52a.5.5 0 0 1-.7 0ZM5.5 12a.5.5 0 0 0-.5.5v3c0 .28.22.5.5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M7 1a1 1 0 0 1 1 1v.75c0 .14.11.25.25.25h7.5c.14 0 .25-.11.25-.25V2a1 1 0 1 1 2 0v.75c0 .14.11.25.25.25H19a3 3 0 0 1 3 3 1 1 0 0 1-1 1H3a1 1 0 0 1-1-1 3 3 0 0 1 3-3h.75c.14 0 .25-.11.25-.25V2a1 1 0 0 1 1-1Z",className:s})]})};var _E=n(332461);let _m=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M8.62 4.51A2 2 0 0 1 10.56 3h2.88a2 2 0 0 1 1.94 1.51c.06.27.28.49.55.49H17a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7c0-1.1.9-2 2-2h1.07c.27 0 .49-.22.55-.49ZM12 12a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M4 10.35c-1.18.94-2 2.18-2 3.65 0 1.78 1.2 3.22 2.79 4.2 1.15.71 2.6 1.24 4.21 1.53v2.06c0 .45.54.67.85.36l2.8-2.8a.5.5 0 0 0 0-.7l-2.8-2.8a.5.5 0 0 0-.85.36v1.48a10.06 10.06 0 0 1-3.16-1.2C4.54 15.7 4 14.8 4 14v-3.65ZM20 14c0 .61-.31 1.27-1.05 1.92a8.23 8.23 0 0 1-3.22 1.6 1 1 0 0 0 .54 1.92 10.2 10.2 0 0 0 4-2.02A4.59 4.59 0 0 0 22 14c0-1.47-.82-2.7-2-3.65V14Z",className:s})]})},_g=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M15.9 2.17c0-1.22 1.65-1.63 2.22-.54l1.2 2.3c.17.32.43.57.75.74l2.3 1.21c1.08.57.68 2.21-.55 2.21h-3.27c-.11 0-.2.06-.26.14a7.35 7.35 0 0 1-10.2 9.99v3.6c0 1.23-1.64 1.64-2.2.55l-1.22-2.3a1.76 1.76 0 0 0-.74-.74l-2.3-1.21c-1.09-.57-.68-2.21.54-2.21h3.61a7.35 7.35 0 0 1 9.99-10.2.31.31 0 0 0 .13-.26V2.17Zm-2.02 5.31c-.1-.8-1.15-1.32-2.34-1.17-1.2.14-2.09.9-1.99 1.7.1.8 1.15 1.32 2.34 1.18 1.2-.15 2.08-.91 1.99-1.7Z",clipRule:"evenodd",className:s})})};var _A=n(626258),_I=n(673185),_T=n(740426);let _S=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M3 3a1 1 0 0 0 0 2h18a1 1 0 1 0 0-2H3ZM15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8ZM2 8a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1ZM3 11a1 1 0 1 0 0 2h11a1 1 0 1 0 0-2H3ZM2 16a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1ZM3 19a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H3Z",className:s})})};var _y=n(194117);let _N=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M3 3a1 1 0 0 0 0 2h18a1 1 0 1 0 0-2H3ZM19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24A3 3 0 0 0 19 16ZM2 8a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1ZM3 11a1 1 0 1 0 0 2h11a1 1 0 1 0 0-2H3ZM2 16a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1ZM3 19a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H3Z",className:s})})},_v=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M2 5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v6.88c0 .37-.38.61-.73.5a7 7 0 0 0-8.9 8.89c.12.35-.12.73-.49.73H5a3 3 0 0 1-3-3V5Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 24a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z",className:s})]})};var _C=n(184940),_R=n(99677),_O=n(582394);let _b=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M22 12a10 10 0 0 1-10 10H2.2a1 1 0 0 1-.75-1.66l2.06-2.37a.52.52 0 0 0 .04-.61A10 10 0 1 1 22 12Zm-10 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm7-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM7 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",clipRule:"evenodd",className:s})})},_D=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12 10a2 2 0 0 1-2.75 1.85c-.12-.04-.25.03-.25.15a3 3 0 1 0 3-3c-.12 0-.2.13-.15.25A2 2 0 0 1 12 10Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M12 22a10 10 0 1 0-8.45-4.64c.13.19.11.44-.04.61l-2.06 2.37A1 1 0 0 0 2.2 22H12Zm6.85-9.65C18.3 13.48 16.27 17 12 17s-6.3-3.52-6.85-4.65a.8.8 0 0 1 0-.7C5.7 10.52 7.73 7 12 7s6.3 3.52 6.85 4.65c.1.22.1.48 0 .7Z",clipRule:"evenodd",className:s})]})};var _L=n(666492);let _w=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M12.2 22c.5-.01.67-.84.37-1.24A3 3 0 0 1 15 16h5.84c.2 0 .38-.12.46-.3a10 10 0 1 0-17.74 1.66c.12.19.1.44-.04.61l-2.07 2.37A1 1 0 0 0 2.2 22h10Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",fill:"string"==typeof r?r:r.css,className:s})]})};var _M=n(888366);let _P=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M19 16A3 3 0 1 0 21 21.25a1 1 0 1 1 1.32 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.23A3 3 0 0 0 19 16Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M22 12c0 .1-.06.2-.16.23a3 3 0 0 0-.19.09.58.58 0 0 1-.44.04 7 7 0 0 0-8.8 9c.1.3-.09.64-.4.64H2.2a1 1 0 0 1-.76-1.66l2.07-2.37a.52.52 0 0 0 .04-.61A10 10 0 1 1 22 12Z",fill:"string"==typeof r?r:r.css,className:s})]})};var _x=n(476713);let _k=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12 22c.32 0 .52-.33.41-.63A6.99 6.99 0 0 1 19 12c.83 0 1.63.14 2.37.41.3.1.63-.1.63-.41a10 10 0 1 0-18.45 5.36c.13.19.11.44-.04.61l-2.06 2.37A1 1 0 0 0 2.2 22H12Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M24 19a5 5 0 1 1-10 0 5 5 0 0 1 10 0Zm-5-3a1 1 0 0 1 1 1v1.59l.7.7a1 1 0 0 1-1.4 1.42l-1-1A1 1 0 0 1 18 19v-2a1 1 0 0 1 1-1Z",clipRule:"evenodd",className:s})]})};var _U=n(845798),_G=n(556112),_F=n(953822),_V=n(353182),_B=n(947641),_H=n(820081),_j=n(478016),_Y=n(715482),_W=n(668953),_K=n(881636),_$=n(138017),_z=n(921853),_q=n(320448),_X=n(628284),_Z=n(695366),_Q=n(885574);let _J=e=>{let{size:t="md",width:n,height:i,secondaryColor:r="transparent",secondaryColorClass:s="",color:a=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:o="",...l}=e,u=(0,dc.J)(t),c=u?.width??n,d=u?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(l),xmlns:"http://www.w3.org/2000/svg",width:c,height:d,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fill:"string"==typeof a?a:a.css,fillRule:"evenodd",d:"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22ZM7 11a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H7Z",clipRule:"evenodd",className:o})]})};var _0=n(65154),_1=n(245604),_2=n(285796);let _3=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M21.5 10c.28 0 .5.22.5.5V19a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-8.5c0-.28.22-.5.5-.5h19Zm-10.69 2.65a.5.5 0 0 0-.81.39v5.92c0 .42.49.65.81.4l3.7-2.97a.5.5 0 0 0 0-.78l-3.7-2.96Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M6.72 3.05a.5.5 0 0 1 .54.71L5.14 8.2a.5.5 0 0 1-.37.27l-2.2.4A.5.5 0 0 1 2 8.45l-.26-1.48A3 3 0 0 1 4.17 3.5l2.55-.45ZM14.6 1.67a.5.5 0 0 1 .54.7l-2.12 4.44a.5.5 0 0 1-.37.28l-4.25.74a.5.5 0 0 1-.53-.7l2.11-4.44a.5.5 0 0 1 .37-.28l4.25-.74ZM18.23 1.04a3 3 0 0 1 3.2 2.47l.27 1.47a.5.5 0 0 1-.41.58l-5 .89a.5.5 0 0 1-.55-.71l2.12-4.44c.07-.14.2-.25.37-.26Z",className:s})]})};var _6=n(662546),_4=n(643278),_5=n(510241),_7=n(406810),_8=n(60270),_9=n(337358);let he=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M5 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5Zm2.03 13.7c.5.3 1.1.45 1.75.45.64 0 1.19-.13 1.66-.4.47-.25.85-.63 1.11-1.13l-1.14-.89a1.83 1.83 0 0 1-1.63 1.03 1.7 1.7 0 0 1-1.6-1.08 3.2 3.2 0 0 1-.25-1.3c0-.5.08-.94.24-1.3.16-.36.38-.63.67-.81a1.75 1.75 0 0 1 1.9 0c.28.18.5.43.67.75l1.14-.89c-.54-1.01-1.46-1.52-2.77-1.52-.66 0-1.24.15-1.75.46-.51.3-.91.73-1.2 1.3a4.39 4.39 0 0 0-.43 2c0 .78.14 1.45.43 2.01.29.57.69 1 1.2 1.32Zm6.74 0c.51.3 1.1.45 1.76.45.63 0 1.19-.13 1.66-.4.47-.25.84-.63 1.1-1.13l-1.14-.89a1.83 1.83 0 0 1-1.62 1.03 1.7 1.7 0 0 1-1.6-1.08 3.2 3.2 0 0 1-.25-1.3c0-.5.08-.94.24-1.3a1.7 1.7 0 0 1 1.6-1.1 1.86 1.86 0 0 1 1.63 1.03l1.15-.88c-.54-1.01-1.46-1.52-2.77-1.52-.66 0-1.25.15-1.76.46-.5.3-.9.73-1.2 1.3a4.39 4.39 0 0 0-.42 2c0 .78.14 1.45.43 2.01.28.57.68 1 1.2 1.32Z",clipRule:"evenodd",className:s})})},ht=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h14Zm0-2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M8.78 16.15a3.16 3.16 0 0 1-2.95-1.76 4.39 4.39 0 0 1-.43-2.01c0-.77.14-1.44.43-2 .29-.58.69-1 1.2-1.31.5-.3 1.1-.46 1.75-.46 1.3 0 2.23.5 2.77 1.52l-1.14.9a1.86 1.86 0 0 0-.67-.76c-.3-.18-.61-.28-.96-.28a1.7 1.7 0 0 0-1.6 1.1c-.17.35-.25.78-.25 1.29 0 .5.08.94.24 1.3.16.36.38.63.67.8a1.73 1.73 0 0 0 1.89 0c.29-.17.52-.43.68-.75l1.14.9c-.26.5-.64.87-1.11 1.13-.47.26-1.02.39-1.66.39ZM15.53 16.15c-.66 0-1.25-.15-1.76-.45-.5-.31-.9-.75-1.2-1.32a4.39 4.39 0 0 1-.42-2c0-.77.14-1.44.43-2 .28-.58.68-1 1.2-1.31.5-.3 1.09-.46 1.75-.46 1.3 0 2.23.5 2.77 1.52l-1.15.9a1.86 1.86 0 0 0-.67-.76c-.28-.18-.6-.28-.95-.28a1.7 1.7 0 0 0-1.6 1.1c-.17.35-.25.78-.25 1.29 0 .5.08.94.24 1.3a1.7 1.7 0 0 0 1.6 1.08 1.83 1.83 0 0 0 1.63-1.03l1.15.9c-.27.5-.64.87-1.11 1.13-.47.26-1.03.39-1.66.39Z",className:s})]})},hn=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M18.3 23.7a1 1 0 0 0 1.4 0l4-4a1 1 0 0 0-1.4-1.4L20 20.58V14.9a1 1 0 0 0-2 .1v5.59l-.73-.73-1.56-1.57a1 1 0 0 0-1.42 1.42l4 4Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M15.31 16.02a3 3 0 0 0-3.3 3.3c.04.34-.2.68-.55.68H6a5 5 0 0 1-3.2-8.85c.12-.1.2-.24.2-.4a6 6 0 0 1 4.55-5.57c.36-.1.64.26.57.62a6.03 6.03 0 0 0 .3 3.4c.12.32.58.15.58-.2a5.98 5.98 0 0 1 6-6 6 6 0 0 1 5.83 7.44c-.06.22.03.45.2.59a5 5 0 0 1 1.92 4.65c-.02.19-.19.32-.38.35-.28.04-.57-.16-.57-.45V15a3 3 0 0 0-6 0v.46c0 .35-.34.6-.69.56Z",fill:"string"==typeof r?r:r.css,className:s})]})},hi=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M7.3 2.3a1 1 0 0 1 1.4 0L12 5.58l3.3-3.3a1 1 0 1 1 1.4 1.42l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.42ZM2 12a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1ZM8.7 21.7a1 1 0 0 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L12 18.42l-3.3 3.3Z",className:s})})};var hr=n(526701),hs=n(522937),ha=n(200192),ho=n(653766);let hl=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M3.75 5c.14 0 .25-.11.26-.25A3 3 0 0 1 7 2h12a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H7a3 3 0 0 1-2.99-2.75.27.27 0 0 0-.26-.25H3a1 1 0 1 1 0-2h.75c.14 0 .25-.11.25-.25v-.5a.25.25 0 0 0-.25-.25H3a1 1 0 1 1 0-2h.75c.14 0 .25-.11.25-.25v-.5a.25.25 0 0 0-.25-.25H3a1 1 0 1 1 0-2h.75c.14 0 .25-.11.25-.25v-.5a.25.25 0 0 0-.25-.25H3a1 1 0 0 1 0-2h.75c.14 0 .25-.11.25-.25v-.5A.25.25 0 0 0 3.75 7H3a1 1 0 0 1 0-2h.75ZM13 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a5 5 0 0 0-5 5 1 1 0 0 0 1 1c.16 0 .3-.11.35-.27.18-.64.42-1.24.64-1.74.11-.24.43-.15.4.12l-.13 1.34c-.03.3.2.55.5.55h4.49a.5.5 0 0 0 .5-.55l-.14-1.34c-.03-.27.29-.36.4-.12.22.5.46 1.1.64 1.74.04.16.19.27.35.27a1 1 0 0 0 1-1 5 5 0 0 0-5-5Z",clipRule:"evenodd",className:s})})};var hu=n(624479),hc=n(360669);let hd=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M7 2a1 1 0 0 0-2 0v3H2a1 1 0 1 0 0 2h3v8a4 4 0 0 0 4 4h8v3a1 1 0 1 0 2 0v-3h3a1 1 0 1 0 0-2H9a2 2 0 0 1-2-2V2Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M9 7h6a2 2 0 0 1 2 2v6h2V9a4 4 0 0 0-4-4H9v2Z",className:s})]})};var h_=n(329177);let hh=e=>{let{size:t="md",width:n,height:i,color:r="#F78B24",colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M10.94 22.7a11.02 11.02 0 0 1-8.86-6.08A10.08 10.08 0 0 1 1 11.85c0-1.79.33-3.22 1.08-4.75a10.96 10.96 0 0 1 8.52-6.05c.8-.1 2.51-.07 3.27.07 1.57.28 2.98.84 4.24 1.69a10.8 10.8 0 0 1 4.86 9.64c-.03.06-.05 0-.07-.28a9.65 9.65 0 0 0-19.01-.88 9.25 9.25 0 0 0 .3 4.84 9.62 9.62 0 0 0 8.1 6.48c.67.05.5.1-.33.1-.46 0-.92-.02-1.02-.03Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M13.27 21.34a7.7 7.7 0 0 1-7.06-8.7 7.7 7.7 0 0 1 6.6-6.5c.7-.1 1.94-.07 2.6.07a8.2 8.2 0 0 1 1.74.56l.39.18-.37.18a3.47 3.47 0 0 0-1.96 3.5 3.5 3.5 0 0 0 5.98 1.96c.16-.16.3-.28.3-.26.02.02.05.24.09.5a7.67 7.67 0 0 1-8.3 8.51Z",className:s})]})};var hf=n(347306),hp=n(428678),hE=n(926321),hm=n(808666),hg=n(143838);let hA=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12.7 5.3a1 1 0 0 1 0 1.4L7.42 12l5.3 5.3a1 1 0 0 1-1.42 1.4l-6-6a1 1 0 0 1 0-1.4l6-6a1 1 0 0 1 1.42 0Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M18.7 5.3a1 1 0 0 1 0 1.4L13.42 12l5.3 5.3a1 1 0 0 1-1.42 1.4l-6-6a1 1 0 0 1 0-1.4l6-6a1 1 0 0 1 1.42 0Z",className:s})]})};var hI=n(890377),hT=n(111219),hS=n(772838),hy=n(601198);let hN=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22.56 9.63 12.8 13.9a2 2 0 0 1-1.6 0L5 11.19V15a1 1 0 1 1-2 0v-4.69l-1.56-.68a.75.75 0 0 1-.05-1.35l9.69-5.05a2 2 0 0 1 1.84 0l9.69 5.05c.56.29.53 1.1-.05 1.35Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M6.98 18.98a.48.48 0 0 1-.28-.38l-.18-1.43a1 1 0 0 0-.1-.32l-.37-.74a.5.5 0 0 1-.05-.23v-1.7c0-.35.37-.6.7-.45l4.9 2.1c.26.1.54.1.8 0l5.9-2.53c.33-.14.7.1.7.46v3.44c0 .2-.05.39-.18.54C17.65 19.11 14.65 20 12 20c-1.73 0-3.6-.38-5.02-1.02ZM3.38 17a1 1 0 0 0-.99.88l-.25 2a1 1 0 0 0 1 1.12h1.73a1 1 0 0 0 .99-1.12l-.25-2a1 1 0 0 0-1-.88H3.39Z",className:s})]})};var hv=n(11023);let hC=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M10.39 17.4a1 1 0 0 1 0 2h-.92a1 1 0 0 1 0-2h.92Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M7.43 1.98A11 11 0 0 1 22.99 12h.02v7.57s0 .5-.36.5c-.19 0-.62-.5-1-1l.8 2.34a.6.6 0 0 1-.9.72l-1.71-1.16a1.3 1.3 0 0 0-1.48 0 11 11 0 1 1-10.93-19ZM3.68 12.52a.59.59 0 0 0-.6.66 9 9 0 0 0 13.7 6.43.43.43 0 0 0 .19-.36.43.43 0 0 0-.2-.35L9.13 13.7v.02a1.81 1.81 0 1 1-3.15-1.2h-2.3Z",clipRule:"evenodd",className:s})]})},hR=e=>{let{size:t="md",width:n,height:i,color:r="#000",colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M11.15 7.76v-2c0-.33-.15-.48-.46-.48h-.5v2.94h.5c.31 0 .46-.15.46-.46ZM9.5 14.87l-.27.68h.55l-.27-.68Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19.35 1.6H4.65C3.44 1.6 3 2.06 3 3.24v14.5c0 .18.03.51.1.66.05.14.11.26.22.36.12.11.32.22.42.27l7.8 3.28a1.2 1.2 0 0 0 .93 0l7.8-3.28c.09-.05.29-.16.4-.27.12-.1.17-.22.24-.36.06-.15.09-.48.09-.67V3.23c0-1.18-.44-1.62-1.65-1.62Zm-6.41 2.61h1.23v7.97h-1.23V4.21ZM13 14.1h.72v2.41h-.68v-1.38l-.62.94h-.01l-.63-.94v1.38h-.66V14.1h.72l.58.93.58-.93ZM8.96 4.2h1.93c1 0 1.5.5 1.5 1.48v2.12c0 1-.5 1.48-1.5 1.48h-.7v2.9H8.96V4.2Zm-3.36 0h2.74v1.1h-1.5v2.26h1.44v1.1H6.83v2.41h1.53v1.1H5.6V4.21Zm2.33 11.97a1.6 1.6 0 0 1-1.6.28c-.15-.06-.29-.15-.4-.26a1.19 1.19 0 0 1-.39-.9 1.22 1.22 0 0 1 .37-.9 1.41 1.41 0 0 1 .94-.36c.22 0 .41.04.57.1.15.06.3.15.43.26l-.4.47a1.09 1.09 0 0 0-.27-.17.8.8 0 0 0-.32-.06.59.59 0 0 0-.44.2.68.68 0 0 0-.18.46v.01a.61.61 0 0 0 .4.62.7.7 0 0 0 .26.05.7.7 0 0 0 .39-.1v-.3h-.48v-.48h1.12v1.08Zm.22.32 1.04-2.43h.65l1.04 2.43h-.72l-.18-.43h-.94l-.18.43h-.71Zm6.82 2.68-.01.02-.02.01-2.85 1.2a.25.25 0 0 1-.2 0l-2.82-1.2-.02-.01-.01-.02v-.05l.01-.02.02-.02h5.87l.02.02.01.02v.05Zm1.18-2.68h-1.98V14.1h1.97v.57h-1.3v.36h1.17v.53h-1.17v.39h1.31v.56Zm-1.33-5.73V5.63c0-1 .5-1.48 1.5-1.48h.6c1 0 1.48.47 1.48 1.46v1.63h-1.2V5.68c0-.32-.16-.46-.47-.46h-.2c-.33 0-.48.14-.48.46v5.04c0 .31.15.46.47.46h.23c.31 0 .46-.15.46-.46v-1.8h1.21v1.85c0 1-.5 1.48-1.5 1.48h-.6c-1 0-1.5-.49-1.5-1.48Zm3.65 5c0 .12-.03.23-.07.32a.72.72 0 0 1-.2.25.91.91 0 0 1-.31.16 1.92 1.92 0 0 1-1.03-.05c-.2-.07-.37-.17-.53-.3l.38-.45c.25.2.51.3.8.3a.4.4 0 0 0 .2-.05.14.14 0 0 0 .07-.12v-.01l-.01-.07a.18.18 0 0 0-.07-.05 2.17 2.17 0 0 0-.33-.1 4.65 4.65 0 0 1-.36-.1c-.11-.04-.21-.1-.3-.15a.63.63 0 0 1-.19-.2.62.62 0 0 1-.07-.32c0-.12.02-.22.06-.32.05-.1.11-.17.2-.24a.9.9 0 0 1 .3-.16c.1-.04.24-.06.39-.06.2 0 .4.03.56.08.16.06.3.13.44.24l-.34.47a1.38 1.38 0 0 0-.34-.17 1.05 1.05 0 0 0-.34-.06.3.3 0 0 0-.18.04.13.13 0 0 0-.07.11l.02.08.07.06a2.6 2.6 0 0 0 .34.1l.38.1.28.15a.58.58 0 0 1 .25.5v.01Z",className:s})]})};var hO=n(349361);let hb=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M5 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5Zm4.8 4H6.5a.5.5 0 0 0-.5.5v3.3c0 .44.54.66.85.35l.8-.8 1.29 1.3c.2.2.51.2.7 0l1-1a.5.5 0 0 0 0-.71l-1.29-1.3.8-.79A.5.5 0 0 0 9.79 6Zm.35 11.15-.8-.8 1.3-1.29a.5.5 0 0 0 0-.7l-1-1a.5.5 0 0 0-.71 0l-1.3 1.29-.79-.8a.5.5 0 0 0-.85.36v3.29c0 .28.22.5.5.5h3.3a.5.5 0 0 0 .35-.85Zm6.2-7.8-1.29 1.3a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 0-.71l1.29-1.3-.8-.79a.5.5 0 0 1 .36-.85h3.29c.28 0 .5.22.5.5v3.3a.5.5 0 0 1-.85.35l-.8-.8Zm-1.29 4 1.3 1.3.79-.8a.5.5 0 0 1 .85.36v3.29a.5.5 0 0 1-.5.5h-3.3a.5.5 0 0 1-.35-.85l.8-.8-1.3-1.29a.5.5 0 0 1 0-.7l1-1c.2-.2.52-.2.71 0Z",clipRule:"evenodd",className:s})})},hD=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M5.1 1a2.1 2.1 0 0 1 1.8 3.14h14.05c.84 0 1.34.94.87 1.63L19.1 9.85c-.23.35-.23.8 0 1.16l2.72 4.08c.47.7-.03 1.62-.87 1.62H6.15v5.24a1.05 1.05 0 0 1-2.1 0V4.91A2.1 2.1 0 0 1 5.1 1ZM16.3 7.6c-.4-.42-1.07-.42-1.48 0l-3.45 3.44-1.35-1.35a1.05 1.05 0 0 0-1.48 1.48l2.1 2.1c.4.4 1.06.4 1.47 0l4.2-4.2c.4-.4.4-1.07 0-1.48Z",clipRule:"evenodd",className:s})})};var hL=n(260981),hw=n(191842);let hM=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{d:"M10.24 3.17a1 1 0 1 1-.39-1.96l.53-.1a11.09 11.09 0 0 1 3.77.1l.1.02a1 1 0 0 1-.5 1.94 9.06 9.06 0 0 0-3.5 0ZM20.87 7.27A1 1 0 0 1 19.48 7 9.06 9.06 0 0 0 17 4.52a1 1 0 0 1 1.11-1.67c1.2.8 2.23 1.84 3.04 3.04a1 1 0 0 1-.28 1.38ZM4.52 7a1 1 0 0 1-1.67-1.11c.8-1.2 1.84-2.23 3.04-3.04l.09-.05A1 1 0 0 1 7 4.52l-.36.25A9.06 9.06 0 0 0 4.52 7ZM18.09 10.86a1.5 1.5 0 0 1-2.05-1.1 1.52 1.52 0 0 1 1.47-1.8 1.5 1.5 0 0 1 1.5 1.51 1.51 1.51 0 0 1-.92 1.4ZM6.5 10.98a1.5 1.5 0 0 1-1.47-1.8 1.51 1.51 0 0 1 1.18-1.19 1.5 1.5 0 0 1 1.8 1.48 1.51 1.51 0 0 1-1.5 1.5ZM21.97 13.3a1 1 0 0 1-.97-1.03V12c0-.6-.06-1.19-.17-1.76a1 1 0 1 1 1.96-.39c.14.7.21 1.42.21 2.15v.08a1 1 0 0 1 0 .1V12.32l-.01.1a1 1 0 0 1-1.02.87ZM2.38 14.93a1 1 0 0 1-1.17-.78l-.1-.53a11.08 11.08 0 0 1 .1-3.77l.02-.1a1 1 0 0 1 1.94.5 9.05 9.05 0 0 0 0 3.5 1 1 0 0 1-.79 1.18ZM12.17 15.67a5.49 5.49 0 0 1-4.54-2.18l-.2-.27-.05-.1a1.01 1.01 0 0 1 .33-1.3 1 1 0 0 1 1.32.2l.07.08.12.17a3.51 3.51 0 0 0 5.7-.17 1 1 0 1 1 1.67 1.12 5.52 5.52 0 0 1-4.42 2.45ZM7.27 20.87a1 1 0 0 1-1.38.28c-1.2-.8-2.23-1.84-3.04-3.04A1 1 0 1 1 4.52 17c.65.98 1.5 1.83 2.48 2.48a1 1 0 0 1 .27 1.4ZM12 23c-.73 0-1.45-.07-2.15-.2a1 1 0 0 1 .4-1.97c.56.11 1.15.17 1.75.17h.14a1 1 0 0 1 .08 0h.07a1 1 0 0 1 .06 2H12ZM19 14a1 1 0 0 1 1 1v3h3.1a1 1 0 0 1 0 2H20v3a1 1 0 1 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",fill:"string"==typeof r?r:r.css,className:s})})};var hP=n(907085);let hx=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M23 6a3 3 0 0 0-3-3H4a3 3 0 0 0-3 3v4.5c0 .28.22.5.5.5h7c.22 0 .41-.14.5-.34.53-1.3 1.68-2.41 3-2.41s2.47 1.11 3 2.4c.09.2.28.35.5.35h7a.5.5 0 0 0 .5-.5V6ZM23 13.5a.5.5 0 0 0-.5-.5h-7c-.22 0-.41.14-.5.34-.53 1.3-1.68 2.41-3 2.41s-2.47-1.11-3-2.4a.54.54 0 0 0-.5-.35h-7a.5.5 0 0 0-.5.5V18a3 3 0 0 0 3 3h16a3 3 0 0 0 3-3v-4.5Z",className:s})})},hk=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M5.04 12c-.37 0-.7.34-.58.7A8 8 0 0 0 11 17.93V20H9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-2v-2.06A8 8 0 0 0 20 10a1 1 0 1 0-2 0 6 6 0 0 1-11.56 2.27.62.62 0 0 0-.7-.35c-.23.05-.47.08-.7.08Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M8 9.94V10a4 4 0 0 0 8 0V6a4 4 0 0 0-4.53-3.97c-.4.06-.47.58-.21.9A3.22 3.22 0 0 1 9.9 8l-1.16.43a.5.5 0 0 0-.3.3L8.01 9.9 8 9.94Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"m9.2 3.86-.46-.17-.91-.34a2 2 0 0 1-1.18-1.18L6.14.79a1.21 1.21 0 0 0-2.28 0l-.5 1.38a2 2 0 0 1-1.19 1.18l-1.38.51a1.21 1.21 0 0 0 0 2.28l1.38.5a2 2 0 0 1 1.18 1.19l.51 1.38a1.21 1.21 0 0 0 2.28 0l.5-1.38a2 2 0 0 1 1.19-1.18L8 6.59l1.2-.45a1.21 1.21 0 0 0 0-2.28Z",className:s})]})},hU=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M10.78 17.22c-.25.25-.13.67.22.72V20H9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-2v-2.06A8 8 0 0 0 20 10a1 1 0 1 0-2 0 6 6 0 0 1-5.8 6 .52.52 0 0 0-.35.15l-1.07 1.07ZM15.4 4.6a.46.46 0 0 0 .1-.56 4 4 0 0 0-4.03-2c-.4.05-.47.57-.21.89A3.22 3.22 0 0 1 9.9 8l-1.16.43a.5.5 0 0 0-.3.3L8.01 9.9 8 9.94V10c0 .33.04.66.12.96.08.34.5.42.74.18L15.4 4.6ZM5.1 14.07c.17.26.53.3.75.08l.75-.75c.16-.16.19-.41.08-.62a5.99 5.99 0 0 1-.24-.51.62.62 0 0 0-.7-.35c-.23.05-.47.08-.7.08-.37 0-.7.34-.58.7.18.47.4.93.65 1.37Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M9.2 3.86a1.21 1.21 0 0 1 0 2.28l-1.37.5a2 2 0 0 0-1.18 1.19l-.51 1.38a1.21 1.21 0 0 1-2.28 0l-.5-1.38a2 2 0 0 0-1.19-1.18L.79 6.14a1.21 1.21 0 0 1 0-2.28l1.38-.5a2 2 0 0 0 1.18-1.19L3.86.79a1.21 1.21 0 0 1 2.28 0l.5 1.38a2 2 0 0 0 1.19 1.18l1.38.51Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M22.7 1.3a1 1 0 0 1 0 1.4l-20 20a1 1 0 0 1-1.4-1.4l20-20a1 1 0 0 1 1.4 0Z",clipRule:"evenodd",className:s})]})},hG=e=>{let{size:t="md",width:n,height:i,secondaryColor:r=r9.A.colors.ICON_VOICE_SPEAKING,secondaryColorClass:s="",color:a=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:o="",...l}=e,u=(0,dc.J)(t),c=u?.width??n,d=u?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(l),xmlns:"http://www.w3.org/2000/svg",width:c,height:d,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("circle",{cx:"19",cy:"5",r:"5",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fill:"string"==typeof a?a:a.css,d:"M12 2c.33 0 .51.35.4.66a6.99 6.99 0 0 0 3.04 8.37c.2.12.31.37.21.6A4 4 0 0 1 8 10V6a4 4 0 0 1 4-4Z",className:o}),(0,U.jsx)("path",{fill:"string"==typeof a?a:a.css,d:"M17.55 12.29c.1-.23.33-.37.58-.34.29.03.58.05.87.05h.04c.35 0 .63.32.51.65A8 8 0 0 1 13 17.94V20h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2v-2.06A8 8 0 0 1 4 10a1 1 0 1 1 2 0 6 6 0 0 0 11.55 2.29Z",className:o})]})};var hF=n(179820);let hV=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M15.27 3.08a1.12 1.12 0 0 1 1.5.47c.28.65.26 1.38.21 1.97a5.37 5.37 0 0 1-1.56 3.29c3.1.1 5.58 2.62 5.58 5.72V22a1 1 0 0 1-1 1h-5.1a.5.5 0 0 1-.5-.5v-5c0-1.34-1.1-2.43-2.44-2.43a2.43 2.43 0 0 0-2.44 2.42v5.01a.5.5 0 0 1-.5.5H4a1 1 0 0 1-1-1v-7.47c0-3.1 2.49-5.63 5.6-5.72a5.32 5.32 0 0 1-1.45-5.04c.15-.6.77-.94 1.36-.78a4.2 4.2 0 0 1 1.63 1.22l.01.02c.05-.28.1-.56.17-.84.26-.92.87-3 2.25-2.21.6.5.85 1.33 1.06 2l.06.2c.07.29.12.56.17.84.38-.44.83-.83 1.41-1.14Zm-6 9.66c0 .93-.76 1.68-1.69 1.68-.93 0-1.69-.75-1.69-1.68 0-.93.76-1.68 1.7-1.68.92 0 1.68.75 1.68 1.68Z",clipRule:"evenodd",className:s})})};var hB=n(540418);let hH=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M11 2.5a1 1 0 1 1 2 0v2.3l1.6-1.05a1 1 0 0 1 1.1 1.67L13 7.2v4.34l4.18-1.35.88-3.1a1 1 0 1 1 1.93.54l-.52 1.82 2.22-.71a1 1 0 1 1 .62 1.9l-2.21.71 1.5 1.17a1 1 0 1 1-1.24 1.57l-2.56-2-4.17 1.35 2.57 3.5 3.26-.12a1 1 0 0 1 .08 2l-1.91.07 1.36 1.86a1 1 0 0 1-1.62 1.18L16 20.06l-.67 1.79a1 1 0 0 1-1.87-.7l1.12-3.02L12 14.61l-2.58 3.52 1.12 3.02a1 1 0 0 1-1.87.7L8 20.06l-1.37 1.88A1 1 0 1 1 5 20.76l1.36-1.86-1.9-.08a1 1 0 1 1 .07-2l3.26.14 2.57-3.51L6.2 12.1l-2.56 2a1 1 0 1 1-1.23-1.57l1.49-1.17-2.2-.7a1 1 0 0 1 .6-1.91l2.23.71L4 7.64a1 1 0 0 1 1.93-.54l.88 3.1L11 11.55V7.2L8.3 5.4a1 1 0 0 1 1.1-1.66L11 4.8V2.5Z",className:s})})};var hj=n(714385),hY=n(622631),hW=n(952270),hK=n(319745),h$=n(519396),hz=n(514042),hq=n(81369),hX=n(860430),hZ=n(783977),hQ=n(825860),hJ=n(138134);let h0=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M4 2a1 1 0 0 0-2 0v19a1 1 0 1 0 2 0v-6.82l8.2-1.37c.37-.06.65.28.47.6a5.01 5.01 0 0 1-1.94 1.94c-.26.14-.38.47-.18.68a2 2 0 0 0 1.78.6l9-1.5A2 2 0 0 0 23 13.15v-7.3a2 2 0 0 0-2.33-1.98L15 4.82V3.35a2 2 0 0 0-2.33-1.98L4 2.82V2ZM15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})})},h1=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M19 14a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M21.85 14.07c.12.36.54.57.76.27a2 2 0 0 0 .39-1.19v-7.3a2 2 0 0 0-2.33-1.98L15 4.82V3.35a2 2 0 0 0-2.33-1.98L4 2.82V2a1 1 0 1 0-2 0v19a1 1 0 1 0 2 0v-6.82l8.2-1.37c.37-.06.65.28.47.6a5.01 5.01 0 0 1-1.94 1.94c-.26.14-.38.47-.18.68a2 2 0 0 0 1.78.6c.37-.07.73-.18 1.09-.3.52-.16 1.04-.33 1.58-.33h.5a.5.5 0 0 0 .5-.5V15a3 3 0 0 1 5.85-.93Z",fill:"string"==typeof r?r:r.css,className:s})]})},h2=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24A3 3 0 0 0 19 16Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M12.45 16.53a.16.16 0 0 1-.12.1 2 2 0 0 1-1.78-.6c-.2-.21-.08-.54.18-.68a5.01 5.01 0 0 0 1.94-1.94c.18-.32-.1-.66-.46-.6L4 14.18V21a1 1 0 1 1-2 0V2a1 1 0 0 1 2 0v.82l8.67-1.45A2 2 0 0 1 15 3.35v1.47l5.67-.95A2 2 0 0 1 23 5.85v5.65c0 .28-.23.5-.5.54-.3.05-.58.15-.85.28a.58.58 0 0 1-.44.04 7 7 0 0 0-8.76 4.17Z",fill:"string"==typeof r?r:r.css,className:s})]})};var h3=n(725441);let h6=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M2 11a1 1 0 1 0 0 2h20a1 1 0 1 0 0-2H2ZM2 19a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-4a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v4ZM3 10a1 1 0 0 1-1-1V7a1 1 0 0 1 2 0v2a1 1 0 0 1-1 1ZM22 7a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0V7ZM2 4c0-1.1.9-2 2-2a1 1 0 1 1 0 2 1 1 0 0 1-2 0ZM20 2a1 1 0 1 0 0 2 1 1 0 1 0 2 0 2 2 0 0 0-2-2ZM7 3a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1ZM14 2a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2h-2Z",className:s})})};var h4=n(678708),h5=n(234020),h7=n(141060),h8=n(56059),h9=n(597050),fe=n(760911),ft=n(781481),fn=n(729475),fi=n(86147),fr=n(391242),fs=n(998445);let fa=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M2 4c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4ZM2 15c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5ZM15 13a2 2 0 0 0-2 2v5c0 1.1.9 2 2 2h5a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2h-5Z",className:s})})},fo=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15 11a2 2 0 0 1-2-2V4c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5ZM2 20c0 1.1.9 2 2 2h5a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v5ZM13 20c0 1.1.9 2 2 2h5a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2h-5a2 2 0 0 0-2 2v5ZM2 9c0 1.1.9 2 2 2h5a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v5Z",className:s})})},fl=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M4 22a2 2 0 0 1-2-2V4c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4ZM15 22a2 2 0 0 1-2-2v-5c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5ZM13 9c0 1.1.9 2 2 2h5a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-5a2 2 0 0 0-2 2v5Z",className:s})})};var fu=n(381844),fc=n(173054);let fd=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M14.5 8a3 3 0 1 0-2.7-4.3c-.2.4.06.86.44 1.12a5 5 0 0 1 2.14 3.08c.01.06.06.1.12.1ZM18.17 16a.52.52 0 0 1-.45-.26 9.55 9.55 0 0 0-3.1-3.25c-.53-.33-.71-1.05-.48-1.63.11-.27.2-.57.26-.87.11-.54.55-1 1.1-.92a7.5 7.5 0 0 1 6.43 6.4c.04.28-.2.53-.48.53h-3.28ZM15.19 15.61c.13.16.02.39-.19.39a3 3 0 0 0-1.52 5.59c.2.12.26.41.02.41h-8a.5.5 0 0 1-.5-.5v-2.1c0-.25-.31-.33-.42-.1-.32.67-.67 1.58-.88 2.54a.2.2 0 0 1-.2.16A1.5 1.5 0 0 1 2 20.5a7.5 7.5 0 0 1 13.19-4.89ZM9.5 12a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM15.5 22Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})]})};var f_=n(241541);let fh=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M14.5 8a3 3 0 1 0-2.7-4.3c-.2.4.06.86.44 1.12a5 5 0 0 1 2.14 3.08c.01.06.06.1.12.1ZM12.38 21.27c.11.35-.13.73-.5.73H5.5a.5.5 0 0 1-.5-.5v-2.1c0-.25-.31-.33-.42-.1-.32.67-.67 1.58-.88 2.54a.2.2 0 0 1-.2.16A1.5 1.5 0 0 1 2 20.5a7.5 7.5 0 0 1 11.3-6.47c.26.16.3.5.12.74a6.97 6.97 0 0 0-1.04 6.5ZM20.12 14.14v-.01c.3.07.59.16.86.28M15.08 12.81c.17.12.4.14.58.04a6.97 6.97 0 0 1 3.67-.84c.46.02.79-.5.46-.83a7.48 7.48 0 0 0-4.3-2.11c-.54-.08-.98.38-1.09.92-.06.3-.15.6-.26.87-.23.58-.05 1.3.47 1.63l.47.32ZM9.5 12a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16 19a3 3 0 0 1 5.24-2H20a1 1 0 1 0 0 2h3a1 1 0 0 0 1-1v-3a1 1 0 0 0-2 0 5 5 0 1 0 .3 7.75 1 1 0 0 0-1.32-1.5A3 3 0 0 1 16 19Z",className:s})]})};var ff=n(215026);let fp=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{d:"M1.23 21.13a1 1 0 0 1 0-1.41l7.48-7.47c.2-.2.51-.2.7 0l2.13 2.12c.2.2.2.5 0 .7l-7.48 7.48a1 1 0 0 1-1.41 0l-1.42-1.42ZM7.76 4.93a2 2 0 0 0 0 2.83l8.1 8.1c.09.09.22.14.35.14h2.9a.5.5 0 0 0 .35-.14l3.15-3.15a2 2 0 0 0 0-2.83l-2.94-2.94.65-.66a1 1 0 0 0 0-1.4l-1.41-1.42a1 1 0 0 0-1.41 0l-.66.65-2.72-2.71a2 2 0 0 0-2.83 0L7.76 4.93ZM15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",fill:"string"==typeof r?r:r.css,className:s})})},fE=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M19 14a1 1 0 0 1 1 1v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1ZM1.23 21.13a1 1 0 0 1 0-1.41l7.48-7.48c.2-.2.5-.2.7 0l2.13 2.12c.2.2.2.52 0 .71l-7.48 7.48a1 1 0 0 1-1.41 0l-1.42-1.42Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M21.3 13.07c.21.26.62.32.86.08l.45-.44a2 2 0 0 0 0-2.83l-2.94-2.94.65-.66a1 1 0 0 0 0-1.41l-1.41-1.42a1 1 0 0 0-1.41 0l-.66.66-2.72-2.72a2 2 0 0 0-2.83 0L7.76 4.93a2 2 0 0 0 0 2.83l7.53 7.53c.26.26.71.08.71-.29a3 3 0 0 1 5.3-1.93Z",fill:"string"==typeof r?r:r.css,className:s})]})},fm=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{d:"M19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 0 1 0-2h1.24A3 3 0 0 0 19 16ZM1.23 21.13a1 1 0 0 1 0-1.41l7.48-7.48c.2-.2.5-.2.7 0l2.13 2.12c.2.2.2.52 0 .71l-7.48 7.48a1 1 0 0 1-1.41 0l-1.42-1.42ZM23.12 11.84a.24.24 0 0 1-.23.17c-.43.02-.87.13-1.24.31a.59.59 0 0 1-.44.04 7 7 0 0 0-6.8 1.35.53.53 0 0 1-.71-.01L7.76 7.76a2 2 0 0 1 0-2.83l3.53-3.54a2 2 0 0 1 2.83 0l2.72 2.72.66-.66a1 1 0 0 1 1.41 0l1.41 1.42a1 1 0 0 1 0 1.41l-.65.66 2.94 2.94a2 2 0 0 1 .5 1.96Z",fill:"string"==typeof r?r:r.css,className:s})})},fg=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15.3 15.3a1 1 0 0 1 1.4 0l2.3 2.29 2.3-2.3a1 1 0 0 1 1.4 1.42L20.42 19l2.3 2.3a1 1 0 1 1-1.42 1.4L19 20.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L17.58 19l-2.3-2.3a1 1 0 0 1 0-1.4ZM1.23 21.13a1 1 0 0 1 0-1.41l7.48-7.48c.2-.2.5-.2.7 0l2.13 2.12c.2.2.2.52 0 .71l-7.48 7.48a1 1 0 0 1-1.41 0l-1.42-1.42ZM18.65 14.4l-.53-.52a3 3 0 0 0-3.86-.32c-.22.16-.54.16-.73-.03L7.76 7.76a2 2 0 0 1 0-2.83l3.53-3.54a2 2 0 0 1 2.83 0l2.72 2.72.66-.66a1 1 0 0 1 1.41 0l1.41 1.42a1 1 0 0 1 0 1.41l-.65.66 2.94 2.94a2 2 0 0 1 0 2.83l-.14.14c-.1.1-.26.15-.4.15a3 3 0 0 0-2.2.88l-.52.52a.5.5 0 0 1-.7 0Z",className:s})})};var fA=n(309796),fI=n(297152),fT=n(280056);let fS=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M7.75 2a.75.75 0 0 0-.75.75V7H2.75a.75.75 0 0 0-.75.75v1.5c0 .41.34.75.75.75H7v4H2.75a.75.75 0 0 0-.75.75v1.5c0 .41.34.75.75.75H7v4.25c0 .41.34.75.75.75h1.5c.41 0 .75-.34.75-.75V17h4v4.25c0 .41.34.75.75.75h1.5c.41 0 .75-.34.75-.75V17h4.25c.41 0 .75-.34.75-.75v-1.5a.75.75 0 0 0-.75-.75H17v-4h4.25c.41 0 .75-.34.75-.75v-1.5a.75.75 0 0 0-.75-.75H17V2.75a.75.75 0 0 0-.75-.75h-1.5a.75.75 0 0 0-.75.75V7h-4V2.75A.75.75 0 0 0 9.25 2h-1.5ZM14 14v-4h-4v4h4Z",clipRule:"evenodd",className:s})})},fy=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M17.52 13.84c-.4.38-.93.58-1.6.58h-1.19V9.3h1.2c.66 0 1.2.2 1.59.58.39.38.58 1.04.58 1.98s-.2 1.6-.58 1.98Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M5 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5Zm-.47 14h1.75v-3.42h3.27V16h1.75V7.72H9.55V11H6.28V7.72H4.53V16Zm8.45-8.28V16h2.94c1.26 0 2.22-.36 2.9-1.07.7-.71 1.04-1.73 1.04-3.07 0-1.34-.35-2.36-1.04-3.07-.68-.71-1.64-1.07-2.9-1.07h-2.94Z",clipRule:"evenodd",className:s})]})};var fN=n(615675),fv=n(597601),fC=n(990836),fR=n(926268),fO=n(559758),fb=n(332837);let fD=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22.7 2.7a1 1 0 0 0-1.4-1.4l-20 20a1 1 0 1 0 1.4 1.4l20-20ZM15.5 3.7a.5.5 0 0 1 .05.75l-10.9 10.9a.5.5 0 0 1-.85-.3l-.27-2.72a.46.46 0 0 0-.35-.4 2 2 0 0 1-.79-3.54l8.39-6.45a2 2 0 0 1 2.44 0L15.5 3.7ZM6.31 22c-.12 0-.17-.14-.08-.23l1.92-1.92a.5.5 0 0 1 .85.36V21a1 1 0 0 1-1 1H6.31ZM14.47 13.53c-.19.19-.19.5-.03.73.35.5.56 1.1.56 1.74v5a1 1 0 0 0 1 1h1.69a2 2 0 0 0 1.99-1.8l.79-7.87c.02-.2.16-.36.35-.4a2 2 0 0 0 .79-3.54l-.78-.6a.5.5 0 0 0-.66.04l-5.7 5.7Z",className:s})})};var fL=n(339350),fw=n(101277),fM=n(473935);let fP=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M5 2a3 3 0 0 0-3 3v4.7l3.33 3.33 3.39-3.38a1.5 1.5 0 0 1 2.12 0l3.38 3.38 3.39-3.38a1.5 1.5 0 0 1 2.12 0L22 11.92V5a3 3 0 0 0-3-3H5Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"m22 14.75-3.33-3.34-3.39 3.39a1.5 1.5 0 0 1-2.12 0L9.78 11.4 6.39 14.8a1.5 1.5 0 0 1-2.12 0L2 12.53V19a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-4.25Z",className:s})]})};var fx=n(529689),fk=n(626034),fU=n(191023),fG=n(532590),fF=n(750943),fV=n(477262),fB=n(251391);let fH=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M5 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h7.28c.2 0 .39-.13.46-.32l.76-2a.5.5 0 0 0-.47-.68H5.81a.75.75 0 0 1-.59-1.22l1.86-2.32a1.5 1.5 0 0 1 2.34 0l.5.64 2.23-2.97a2 2 0 0 1 3.2 0l.42.56.15-.4A2 2 0 0 1 17.79 12h2.32c.57 0 1.09.24 1.46.64.11.12.43.04.43-.13V5a3 3 0 0 0-3-3H5Zm3.65 3.08c.67-.65 1.78-.01 1.55.9-.12.49.17.98.65 1.12.9.26.9 1.54 0 1.8a.93.93 0 0 0-.65 1.12c.23.91-.88 1.55-1.55.9a.93.93 0 0 0-1.3 0c-.67.65-1.78.01-1.55-.9a.93.93 0 0 0-.65-1.12c-.9-.26-.9-1.54 0-1.8a.93.93 0 0 0 .65-1.12c-.23-.91.88-1.55 1.55-.9.36.35.94.35 1.3 0Z",fill:"string"==typeof r?r:r.css,fillRule:"evenodd",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{d:"M21.61 24.04h2.3L20.11 14H17.8l-3.8 10.04h2.3l.65-1.92h4.02l.65 1.92Zm-4-3.84 1.34-3.92 1.34 3.92H17.6Z",fill:"string"==typeof r?r:r.css,fillRule:"evenodd",clipRule:"evenodd",className:s})]})};var fj=n(87221),fY=n(488225),fW=n(899536),fK=n(785866),f$=n(410767),fz=n(530557),fq=n(37646),fX=n(766928);let fZ=e=>{let{size:t="md",width:n,height:i,color:r="#CEA146",colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M10.78 1.5v18.08h10.5l-2.34 2.92H4.71l1.75-2.92V3.6L4.94 1.5h5.84Zm1.28 3.97a7.5 7.5 0 0 1 5.13 12.83h2.22a10.07 10.07 0 0 0 1.75-5.25 9.16 9.16 0 0 0-9.1-9.33v1.75ZM5.18 16.08a6.95 6.95 0 0 1-.7-3.15c0-1.16.23-2.21.7-3.15V6.75a9.81 9.81 0 0 0-2.45 6.07c0 2.45.81 4.66 2.45 6.3v-3.04Z",className:s})})},fQ=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M13.23 18h-2.27l-.99-2.77H4.75L3.76 18H1.5L6.21 5.58h2.3L13.23 18ZM7.36 7.87 5.44 13.3h3.85L7.36 7.87ZM17 18.25c-.75 0-1.38-.22-1.88-.66a2.36 2.36 0 0 1-.76-1.88c0-1.9 1.73-2.86 5.18-2.9v-.25c0-.51-.15-.91-.45-1.2-.3-.29-.72-.43-1.26-.43a3.55 3.55 0 0 0-2.3.97l-.97-1.24c.4-.44.9-.77 1.5-1.01a4.95 4.95 0 0 1 1.88-.36c2.4 0 3.58 1.09 3.58 3.27V18h-1.81l-.17-1.06a3.01 3.01 0 0 1-2.53 1.31Zm.51-1.58c.78 0 1.46-.38 2.03-1.14v-1.4c-1.1.04-1.92.18-2.44.43-.53.24-.8.6-.8 1.06 0 .34.11.6.33.78.21.18.5.27.88.27Z",clipRule:"evenodd",className:s})})};var fJ=n(443865),f0=n(743368),f1=n(173936);let f2=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M11.8 3.75a5.98 5.98 0 0 1 8.98 7.85 1 1 0 0 1-1.6-1.21 3.98 3.98 0 0 0-5.97-5.22l-2.51 2.5a1 1 0 1 1-1.42-1.4l2.52-2.52ZM7.68 9.28a1 1 0 0 1 0 1.42L5.17 13.2a3.98 3.98 0 0 0 5.22 5.98 1 1 0 1 1 1.21 1.59 5.98 5.98 0 0 1-7.85-8.98l2.52-2.52a1 1 0 0 1 1.4 0Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M14.7 10.7a1 1 0 0 0-1.4-1.4l-4 4a1 1 0 1 0 1.4 1.4l4-4ZM19 14a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",fill:"string"==typeof r?r:r.css,className:s})]})},f3=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M11.83 1c1.6 0 3.12.35 4.5.99.83-.16 2.06-.2 3.69.28 4.36 1.26 3.81 3.4 3.03 3.32-.77-.08-.23-1.11-1.71-1.43-.7-.14-1.18.1-1.5.43a11.02 11.02 0 0 1 2.28 3.96c.4-.34.96-.73 1.4-.6.85.27-.49 1.63-.86 4.07A10.91 10.91 0 0 1 11.83 23 10.91 10.91 0 0 1 1 11.99C1 5.92 5.85 1 11.83 1Zm2.08 5.3c-.15.25-.28.52-.4.8-1.14-.17-2.3-.17-3.45 0a8.05 8.05 0 0 0-.4-.8c-1.07.18-2.12.5-3.1.95a12.54 12.54 0 0 0-2.24 8.53 12.5 12.5 0 0 0 3.81 1.91c.31-.41.59-.86.82-1.31a8.28 8.28 0 0 1-1.29-.62l.32-.23a8.97 8.97 0 0 0 7.62 0c.1.08.2.16.32.23-.41.25-.84.45-1.3.62.24.46.52.9.83 1.31a12.5 12.5 0 0 0 3.8-1.9c.32-3.24-.53-6.05-2.23-8.54-.99-.45-2.03-.77-3.1-.95h-.01Zm-4.63 4.75c.77 0 1.37.68 1.36 1.5-.01.84-.6 1.51-1.35 1.51-.75 0-1.36-.67-1.36-1.5s.59-1.5 1.35-1.5Zm5.01 0c.76 0 1.37.68 1.36 1.5-.02.84-.6 1.51-1.36 1.51-.74 0-1.35-.67-1.35-1.5s.59-1.5 1.35-1.5Z",className:s})})};var f6=n(916099);let f4=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M5.87 8.42h1.95V10h-5.7V8.42H4.1V3.8C3.74 4.57 3.09 5 2.13 5.12V3.14c.41-.05.8-.2 1.19-.46.37-.26.63-.58.78-.96h1.77v6.7ZM10 5a1 1 0 0 0 0 2h11a1 1 0 1 0 0-2H10ZM10 17a1 1 0 1 0 0 2h7a1 1 0 1 0 0-2h-7ZM7.42 22v-1.51h-3.8c.08-.27.24-.52.5-.76.26-.25.61-.5 1.07-.77.78-.44 1.34-.89 1.67-1.33.33-.44.5-.95.5-1.53 0-.78-.26-1.4-.77-1.85-.51-.47-1.2-.7-2.06-.7-.8 0-1.43.18-1.92.54-.48.36-.83.83-1.03 1.4l1.4.8c.14-.4.34-.7.59-.9.25-.22.55-.33.87-.33.39 0 .68.1.88.28.2.18.31.43.31.73 0 .28-.09.55-.26.8-.18.23-.54.51-1.08.83-.56.33-1.01.64-1.36.92-.33.28-.62.66-.86 1.14a4.01 4.01 0 0 0-.35 1.77V22h5.7Z",className:s})})};var f5=n(115723),f7=n(116085),f8=n(194261),f9=n(328162),pe=n(685761),pt=n(152367),pn=n(7689),pi=n(92259),pr=n(218429);let ps=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M10.46 10.32v.03a2 2 0 0 0 1.19 1.18l.03.01c.43.16.43.76 0 .92h-.03a2 2 0 0 0-1.18 1.19l-.01.03a.49.49 0 0 1-.92 0v-.03a2 2 0 0 0-1.19-1.18l-.03-.01a.49.49 0 0 1 0-.92h.03a2 2 0 0 0 1.18-1.19l.01-.03a.49.49 0 0 1 .92 0ZM17.97 14.96a6 6 0 0 1-2.83 4.5c-.4.23-.85.32-1.31.32h-3.66c-.46 0-.92-.09-1.31-.33a6.01 6.01 0 0 1-2.69-3.68c-.08-.35.26-.64.6-.52l1.45.49a5 5 0 0 0 1.6.26h.36a4.4 4.4 0 0 0 3.1-1.29 3.52 3.52 0 0 1 3.93-.72l.22.1c.35.15.58.5.54.87Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M11 0a1 1 0 0 0-1 1v1H9a1 1 0 0 0 0 2v1.48a9.5 9.5 0 0 0-6.5 9.02 9.27 9.27 0 0 0 4.53 7.98c.62.38 1.35.52 2.08.52h5.78c.73 0 1.46-.14 2.08-.52a9.27 9.27 0 0 0 4.53-7.98A9.5 9.5 0 0 0 15 5.48V4a1 1 0 0 0 1-1 1 1 0 0 0-1-1h-1V1a1 1 0 0 0-1-1h-2Zm0 4v2.93l-1.37.45A7.5 7.5 0 0 0 4.5 14.5c0 2.68 1.4 4.96 3.57 6.27A2 2 0 0 0 9.1 21h5.78a2 2 0 0 0 1.04-.23 7.27 7.27 0 0 0 3.57-6.27 7.5 7.5 0 0 0-5.13-7.12L13 6.93V4h-2Z",clipRule:"evenodd",className:s})]})},pa=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.ICON_OVERLAY_DARK,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M20 9.25c0-3.47-2.44-4.49-2.44-4.49-1.23-.52-3.34-.74-5.53-.76h-.06c-2.19.02-4.3.24-5.53.76 0 0-2.44 1.02-2.44 4.5C4 10.04 4 11 4.02 12c.08 3.39.66 6.74 4.03 7.57 1.55.38 2.88.46 3.95.4a8.3 8.3 0 0 0 3.04-.64l-.07-1.32s-1.39.4-2.95.36c-1.54-.05-3.18-.16-3.43-1.93a3.38 3.38 0 0 1-.03-.5s1.52.35 3.44.43c1.18.05 2.28-.06 3.4-.18 2.15-.24 4.02-1.48 4.26-2.6.37-1.79.34-4.35.34-4.35Zm-2.88 4.47h-1.78V9.65c0-.86-.39-1.3-1.16-1.3-.86 0-1.3.52-1.3 1.54v2.23h-1.77V9.9c0-1.02-.43-1.54-1.28-1.54-.78 0-1.17.44-1.17 1.3v4.07H6.88v-4.2c0-.86.23-1.54.7-2.04.49-.5 1.12-.77 1.91-.77.92 0 1.6.33 2.07.98l.44.7.45-.7c.45-.65 1.14-.98 2.06-.98.79 0 1.42.26 1.9.77.48.5.71 1.18.71 2.04v4.2Z",className:s})})},po=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M20 9.25c0-3.47-2.44-4.49-2.44-4.49-1.23-.52-3.34-.74-5.53-.76h-.06c-2.19.02-4.3.24-5.53.76 0 0-2.44 1.02-2.44 4.5C4 10.04 4 11 4.02 12c.08 3.39.66 6.74 4.03 7.57 1.55.38 2.88.46 3.95.4a8.3 8.3 0 0 0 3.04-.64l-.07-1.32s-1.39.4-2.95.36c-1.54-.05-3.18-.16-3.43-1.93a3.38 3.38 0 0 1-.03-.5s1.52.35 3.44.43c1.18.05 2.28-.06 3.4-.18 2.15-.24 4.02-1.48 4.26-2.6.37-1.79.34-4.35.34-4.35Zm-2.88 4.47h-1.78V9.65c0-.86-.39-1.3-1.16-1.3-.86 0-1.3.52-1.3 1.54v2.23h-1.77V9.9c0-1.02-.43-1.54-1.28-1.54-.78 0-1.17.44-1.17 1.3v4.07H6.88v-4.2c0-.86.23-1.54.7-2.04.49-.5 1.12-.77 1.91-.77.92 0 1.6.33 2.07.98l.44.7.45-.7c.45-.65 1.14-.98 2.06-.98.79 0 1.42.26 1.9.77.48.5.71 1.18.71 2.04v4.2Z",className:s})})};var pl=n(26430);let pu=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M17.34 11.06c-.18.28-.56.32-.8.1-.34-.28-.7-.53-1.08-.75a.52.52 0 0 1-.19-.18l-1.95-3.25a.5.5 0 0 1 0-.51l2.1-3.5A2 2 0 0 1 17.13 2h3.16a1.5 1.5 0 0 1 1.28 2.3l-4.23 6.76ZM3.7 2h3.17a2 2 0 0 1 1.71.97L12 8.67l.25.41c.1.18-.03.42-.25.42-1.73 0-3.31.63-4.54 1.67-.24.2-.62.17-.8-.1L2.43 4.28C1.81 3.3 2.53 2 3.71 2ZM12 19a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M12 22a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11Zm0-2a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z",clipRule:"evenodd",className:s})]})};var pc=n(97893),pd=n(117723),p_=n(666654),ph=n(831544),pf=n(83107);let pp=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M5 9a1 1 0 0 1 1 1 6 6 0 0 0 11.37 2.68c.2-.4.58-.68 1.03-.68.68 0 1.18.65.9 1.27-1 2.24-3 3.93-5.43 4.51a1.1 1.1 0 0 0-.87 1.04V19a1 1 0 0 0 1 1h1a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h1a1 1 0 0 0 1-1v-.18c0-.5-.38-.92-.87-1.04A8 8 0 0 1 4 10a1 1 0 0 1 1-1Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12 2c.59 0 1.14.13 1.65.35.8.37.91 1.4.47 2.17l-1.72 3c-1.22 2.13.46 4.48 2.64 4.48.19 0 .3.2.2.35A4 4 0 0 1 8 10V6a4 4 0 0 1 4-4Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M18.09 1.63c.4-.7 1.43-.69 1.82 0l3.96 6.9c.38.66-.12 1.47-.91 1.47h-7.92c-.79 0-1.3-.81-.91-1.48l3.96-6.9ZM19 7a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-.45-3.5a.5.5 0 0 0-.5.55l.22 2.02c.01.16.17.26.33.23a1.93 1.93 0 0 1 .8 0c.16.03.32-.07.33-.23l.21-2.02a.5.5 0 0 0-.5-.55h-.89Z",clipRule:"evenodd",className:s})]})},pE=e=>{let{size:t="md",width:n,height:i,color:r="#52A535",colorClass:s="",secondaryColor:a="#000",secondaryColorClass:o="",tertiaryColor:l="#86D562",tertiaryColorClass:u="",quaternaryColor:c="#2A641C",quaternaryColorClass:d="",..._}=e,h=(0,dc.J)(t),f=h?.width??n,p=h?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(_),xmlns:"http://www.w3.org/2000/svg",width:f,height:p,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22 2H2v20h20V2Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof a?a:a.css,d:"M18 10V6h-4v4h-4v2H8v6h2v-2h4v2h2v-6h-2v-2h4Z",className:o}),(0,U.jsx)("path",{fill:"string"==typeof a?a:a.css,d:"M10 6H6v4h4V6Z",className:o}),(0,U.jsx)("path",{fill:"string"==typeof l?l:l.css,d:"M18 10h-4v.33h4V10ZM14 16h-4v.33h4V16ZM16 18h-2v.33h2V18ZM10 18H8v.33h2V18ZM10 10H6v.33h4V10Z",className:u}),(0,U.jsx)("path",{fill:"string"==typeof c?c:c.css,d:"M14 10h-4v.33h4V10ZM10 12H8v.33h2V12ZM16 12h-2v.33h2V12ZM18 6h-4v.33h4V6ZM10 6H6v.33h4V6Z",className:d})]})};var pm=n(695250),pg=n(834040),pA=n(481606),pI=n(646270);let pT=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M8 1a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3h7.5a.5.5 0 0 0 0-1H15a3 3 0 0 1-2.81-4.05c.15-.4-.11-.95-.54-.95H8a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v7.65c0 .43.55.69.95.54A3 3 0 0 1 19 12V4a3 3 0 0 0-3-3H8Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 14a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",className:s})]})},pS=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M8 1a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3h4.3c.4 0 .65-.46.46-.82a6.97 6.97 0 0 1-.63-4.53c.06-.33-.18-.65-.51-.65H8a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v7.62c0 .33.32.57.65.51a7 7 0 0 1 .85-.11c.28-.02.5-.24.5-.52V4a3 3 0 0 0-3-3H8Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fillRule:"evenodd",d:"M18.06 14.57c-.02-.25.12-.5.37-.54a5.04 5.04 0 0 1 1.14 0c.25.03.4.29.37.54-.04.48.13.9.47 1.04.33.14.75-.04 1.06-.4.16-.2.44-.28.64-.13.3.24.57.51.8.81.16.2.08.48-.11.64-.37.31-.55.73-.4 1.06.13.34.55.51 1.03.47.25-.02.5.12.54.37a5.04 5.04 0 0 1 0 1.14c-.03.25-.29.39-.54.37-.48-.04-.9.13-1.04.47-.14.33.04.75.4 1.06.2.16.28.44.13.64-.24.3-.51.57-.81.8-.2.16-.48.08-.64-.11-.31-.37-.73-.55-1.06-.4-.34.13-.51.55-.47 1.03.02.25-.12.5-.37.54a5.05 5.05 0 0 1-1.14 0c-.25-.03-.39-.29-.37-.54.04-.48-.13-.9-.47-1.04-.33-.14-.75.04-1.06.4-.16.2-.44.28-.64.13-.3-.24-.57-.51-.8-.81-.16-.2-.08-.48.11-.64.37-.31.55-.73.4-1.06-.13-.34-.55-.51-1.03-.47-.25.02-.5-.12-.54-.37a5.04 5.04 0 0 1 0-1.14c.03-.25.29-.39.54-.37.48.04.9-.13 1.04-.47.14-.33-.04-.75-.4-1.06-.2-.16-.28-.44-.13-.64.24-.3.51-.57.81-.8.2-.16.48-.08.64.11.31.37.73.55 1.06.4.34-.13.51-.55.47-1.03ZM19 20.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",clipRule:"evenodd",fill:"string"==typeof r?r:r.css,className:s})]})},py=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M8 1a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-6.46c0-.35-.34-.6-.69-.56-.2.03-.41.03-.62 0-.35-.03-.69.21-.69.56V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6.82c.2 0 .4-.14.49-.33a3 3 0 0 1 .8-1c.27-.22.23-.67-.11-.67H8Zm3 18a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2h-2Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22 7a1 1 0 0 0-.3-.7l-3-3a1 1 0 1 0-1.4 1.4L18.58 6H18a7 7 0 0 0-7 7 1 1 0 1 0 2 0 5 5 0 0 1 5-5h.59l-1.3 1.3a1 1 0 0 0 1.42 1.4l3-3A1 1 0 0 0 22 7Z",className:s})]})},pN=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M8 1a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3h2.5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5H8a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3.5c0 .28.22.5.5.5h1a.5.5 0 0 0 .5-.5V4a3 3 0 0 0-3-3H8ZM18 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M14 10a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V11a1 1 0 0 0-1-1h-6Zm5.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM18 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",clipRule:"evenodd",className:s})]})},pv=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M8 1a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3h3.67c.38 0 .63-.42.52-.8A4 4 0 0 1 12 21v-3.5a.5.5 0 0 0-.5-.5H8a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8.5c0 .28.22.5.5.5h1a.5.5 0 0 0 .5-.5V4a3 3 0 0 0-3-3H8Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M14 17c0-1.1.9-2 2-2h3a2 2 0 0 1 2 2v.36c0-.21.14-.4.34-.47l2-.67a.5.5 0 0 1 .66.47v4.62a.5.5 0 0 1-.66.47l-2-.67a.5.5 0 0 1-.34-.47V21a2 2 0 0 1-2 2h-3a2 2 0 0 1-2-2v-4Z",className:s})]})},pC=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M8.3 6.3a1 1 0 0 1 1.4 0L12 8.58l2.3-2.3a1 1 0 1 1 1.4 1.42L13.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L12 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L10.58 10l-2.3-2.3a1 1 0 0 1 0-1.4Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M8 1a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8Zm3 18a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2h-2ZM7 4a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4Z",clipRule:"evenodd",className:s})]})};var pR=n(713608),pO=n(365199),pb=n(432017),pD=n(532676),pL=n(413249);let pw=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M13 10a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M3 5v-.75C3 3.56 3.56 3 4.25 3s1.24.56 1.33 1.25C6.12 8.65 9.46 12 13 12h1c.35 0 .7.02 1.04.07.4.05.53.56.26.87a5.45 5.45 0 0 0-1.3 3.54 7.63 7.63 0 0 0 1.72 4.64c.26.35.03.88-.4.88H9a2 2 0 0 1-2-2v-2.22c0-1.57-.67-3.05-1.53-4.37A15.85 15.85 0 0 1 3 5Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M19.87 21.73c.9-.7 3.13-2.7 3.13-5.25a3.5 3.5 0 0 0-7 0c0 2.56 2.24 4.55 3.13 5.25.22.17.52.17.74 0ZM19.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",clipRule:"evenodd",className:s})]})};var pM=n(506803),pP=n(246913),px=n(418524),pk=n(524501),pU=n(318254);let pG=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M15.35 7.24C15.9 6.67 16 5.8 16 5a3 3 0 1 1 3 3c-.8 0-1.67.09-2.24.65a1.5 1.5 0 0 0 0 2.11l1.12 1.12a3 3 0 0 1 0 4.24l-5 5a3 3 0 0 1-4.25 0l-5.76-5.75a3 3 0 0 1 0-4.24l4.04-4.04.97-.97a3 3 0 0 1 4.24 0l1.12 1.12c.58.58 1.52.58 2.1 0ZM6.9 9.9 4.3 12.54a1 1 0 0 0 0 1.42l2.17 2.17.83-.84a1 1 0 0 1 1.42 1.42l-.84.83.59.59 1.83-1.84a1 1 0 0 1 1.42 1.42l-1.84 1.83.17.17a1 1 0 0 0 1.42 0l2.63-2.62L6.9 9.9Z",clipRule:"evenodd",className:s})})},pF=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15.35 7.24C15.9 6.67 16 5.8 16 5a3 3 0 1 1 3 3c-.8 0-1.67.09-2.24.65a1.5 1.5 0 0 0 0 2.11l1.12 1.12a3 3 0 0 1 .26 3.95.46.46 0 0 1-.37.17H15a3 3 0 0 0-1.21.26.56.56 0 0 1-.63-.1L6.91 9.91 4.3 12.54a1 1 0 0 0 0 1.42l2.17 2.17.83-.84a1 1 0 0 1 1.42 1.42l-.84.83.59.59 1.83-1.84a1 1 0 0 1 1.42 1.42l-1.84 1.83.17.17a1 1 0 0 0 1.42 0c.2-.2.6-.07.69.22a3 3 0 0 0 .56 1c.09.11.09.27-.02.36a3 3 0 0 1-4.06-.16l-5.76-5.76a3 3 0 0 1 0-4.24L6.9 7.09h.01l.97-.97a3 3 0 0 1 4.24 0l1.12 1.12a1.5 1.5 0 0 0 2.1 0Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})]})},pV=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15.35 7.24C15.9 6.67 16 5.8 16 5a3 3 0 1 1 3 3c-.8 0-1.67.09-2.24.65a1.5 1.5 0 0 0 0 2.11l.4.4.46.43c.25.25.12.66-.18.84A3 3 0 0 0 16 15v.5a.5.5 0 0 1-.5.5H15c-.43 0-.84.1-1.21.26a.56.56 0 0 1-.63-.1L6.91 9.91 4.3 12.54a1 1 0 0 0 0 1.42l2.17 2.17.83-.84a1 1 0 0 1 1.42 1.42l-.84.83.59.59 1.83-1.84a1 1 0 0 1 1.42 1.42l-1.84 1.83.17.17a1 1 0 0 0 1.42 0c.2-.2.6-.07.69.22a3 3 0 0 0 .56 1c.09.11.09.27-.02.36a3 3 0 0 1-4.06-.16l-5.76-5.76a3 3 0 0 1 0-4.24L6.9 7.09h.01l.97-.97a3 3 0 0 1 4.24 0l1.12 1.12a1.5 1.5 0 0 0 2.1 0Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 14a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",className:s})]})},pB=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15.35 7.24C15.9 6.67 16 5.8 16 5a3 3 0 1 1 3 3c-.8 0-1.67.09-2.24.65a1.5 1.5 0 0 0 0 2.11l.4.4.26.24c.28.28.12.74-.26.85a7.01 7.01 0 0 0-4.03 2.94c-.19.29-.6.35-.83.1L6.9 9.92 4.3 12.54a1 1 0 0 0 0 1.42l2.17 2.17.83-.84a1 1 0 0 1 1.42 1.42l-.84.83.59.59 1.83-1.84a1 1 0 0 1 1.42 1.42l-1.84 1.83.17.17a1 1 0 0 0 1.42 0c.2-.2.56-.06.6.23.06.4.14.8.26 1.17.07.22 0 .46-.2.57a3 3 0 0 1-3.5-.55l-5.75-5.76a3 3 0 0 1 0-4.24L6.9 7.09h.01l.97-.97a3 3 0 0 1 4.24 0l1.12 1.12a1.5 1.5 0 0 0 2.1 0Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24A3 3 0 0 0 19 16Z",className:s})]})};var pH=n(193885);let pj=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"m11.33 14.83-2.16-2.16a1 1 0 0 1-.25-.99l.75-2.57A3 3 0 0 1 11 7.4l8.05-4.91a1.8 1.8 0 0 1 2.47 2.47L16.61 13a3 3 0 0 1-1.72 1.32l-2.57.75a1 1 0 0 1-.99-.25ZM8.74 13.57c-.2-.2-.44-.36-.7-.43a4 4 0 0 0-5 4.42C3.14 18.23 2.68 19 2 19a1 1 0 1 0 0 2h5a4 4 0 0 0 3.86-5.03c-.07-.27-.23-.51-.43-.7l-1.7-1.7ZM15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})})},pY=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"m11.33 14.83-2.16-2.16a1 1 0 0 1-.25-.99l.75-2.57A3 3 0 0 1 11 7.4l8.05-4.91a1.8 1.8 0 0 1 2.47 2.47L16.61 13a3 3 0 0 1-1.72 1.32l-2.57.75a1 1 0 0 1-.99-.25ZM8.74 13.57c-.2-.2-.44-.36-.7-.43a4 4 0 0 0-5 4.42C3.14 18.23 2.68 19 2 19a1 1 0 1 0 0 2h5a4 4 0 0 0 3.86-5.03c-.07-.27-.23-.51-.43-.7l-1.7-1.7ZM19 14a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",className:s})})},pW=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"m11.33 14.83-2.16-2.16a1 1 0 0 1-.25-.99l.75-2.57A3 3 0 0 1 11 7.4l8.05-4.91a1.8 1.8 0 0 1 2.47 2.47L16.61 13a3 3 0 0 1-1.72 1.32l-2.57.75a1 1 0 0 1-.99-.25ZM8.74 13.57c-.2-.2-.44-.36-.7-.43a4 4 0 0 0-5 4.42C3.14 18.23 2.68 19 2 19a1 1 0 1 0 0 2h5a4 4 0 0 0 3.86-5.03c-.07-.27-.23-.51-.43-.7l-1.7-1.7ZM19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24A3 3 0 0 0 19 16Z",className:s})})};var pK=n(650809);let p$=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M5 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h6.88c.37 0 .61-.38.5-.73a7 7 0 0 1-.37-2.7.53.53 0 0 0-.52-.57H6a1 1 0 1 1 0-2h6.36c.2 0 .37-.11.46-.28.3-.6.7-1.13 1.17-1.6.35-.37.11-1.12-.4-1.12H6a1 1 0 1 1 0-2h12a1 1 0 0 1 .88.52c.13.24.34.48.62.5.61.04 1.2.16 1.77.36.35.11.73-.13.73-.5V5a3 3 0 0 0-3-3H5Zm1 4a1 1 0 0 0 0 2h5a1 1 0 1 0 0-2H6Z",fill:"string"==typeof r?r:r.css,fillRule:"evenodd",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{d:"M24 19a5 5 0 1 1-10 0 5 5 0 0 1 10 0Zm-5-3a1 1 0 0 1 1 1v1.59l.7.7a1 1 0 1 1-1.4 1.42l-1-1A1 1 0 0 1 18 19v-2a1 1 0 0 1 1-1Z",fill:"string"==typeof r?r:r.css,fillRule:"evenodd",clipRule:"evenodd",className:s})]})};var pz=n(261958);let pq=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M5 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h7.5a.5.5 0 0 0 .5-.5V19c0-.1 0-.2.02-.31.03-.35-.21-.69-.56-.69H6a1 1 0 1 1 0-2h8.4c.21 0 .4-.13.49-.33a4.5 4.5 0 0 1 6.2-2.16c.38.2.91-.05.91-.48V5a3 3 0 0 0-3-3H5Zm1 4a1 1 0 0 0 0 2h5a1 1 0 1 0 0-2H6Zm-1 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Z",fill:"string"==typeof r?r:r.css,fillRule:"evenodd",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{d:"M16 18h.5v-.5a2.5 2.5 0 0 1 5 0v.5h.5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1Zm4-.5v.5h-2v-.5a1 1 0 0 1 2 0Z",fill:"string"==typeof r?r:r.css,fillRule:"evenodd",clipRule:"evenodd",className:s})]})};var pX=n(444570),pZ=n(113494),pQ=n(157225);let pJ=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"#006FCF",fillRule:"evenodd",d:"M2.9 4C1.57 4 .5 4.9.5 6v12c0 1.1 1.07 2 2.4 2h19.2c1.32 0 2.4-.9 2.4-2V6c0-1.1-1.08-2-2.4-2H2.9Z",clipRule:"evenodd"}),(0,U.jsx)("path",{stroke:"#97979F",strokeOpacity:".3",strokeWidth:".5",d:"M22.1 3.75c1.42 0 2.65.97 2.65 2.25v12c0 1.28-1.23 2.25-2.65 2.25H2.9C1.48 20.25.25 19.28.25 18V6c0-1.28 1.23-2.25 2.65-2.25h19.2Z"}),(0,U.jsx)("path",{fill:"#fff",d:"m15.14 8.53.25-.58.25.58.5 1.2h-1.45l.45-1.2Z"}),(0,U.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"m18.2 11.49.04.1h-.04v-.1Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"m21.93 6-.58 1.53-.54-1.49h-3.43v1.45l-.67-1.45h-2.77l-2.85 6.42h2.27V18h6.87l.91-1.03.91 1.03h2.44v-1.86l-1.32-1.36 1.32-1.33.01-1.87h-1.2V7.94l-.2.63-1.17 3.06h-1.07L19.7 8.57l-.25-.63V11.58h-2.56l-.37-.9h-2.28l-.37.9H12.5l2.07-4.67h1.6l2.03 4.58V6.91h2l.9 2.36.25.66.25-.66.91-2.36h1.99V6h-2.57ZM14.3 17.13V12.5h3.9v.99h-2.74v.83h2.65v1h-2.65v.82h2.73v1h-3.89Zm9.81-.04H22.6L21.1 15.6l-1.4 1.54h-1.5l2.2-2.32-2.2-2.36h1.58l1.4 1.53 1.41-1.53h1.53l-2.19 2.32 2.2 2.31Z",clipRule:"evenodd"})]})},p0=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#000",d:"M14.68 12.31c.02 1.52 1.3 2.02 1.32 2.02-.16.51-.39.99-.68 1.43-.4.6-.83 1.21-1.5 1.23-.66 0-.87-.4-1.63-.4-.75 0-.98.38-1.6.4-.65.03-1.14-.65-1.56-1.26-.84-1.24-1.48-3.5-.62-5.04a2.4 2.4 0 0 1 2.03-1.25c.64-.01 1.24.44 1.63.44.38 0 1.11-.54 1.88-.46.32.01 1.21.13 1.8.99-.05.03-1.08.64-1.07 1.9ZM13.45 8.6c.34-.43.57-1.01.5-1.6-.49.02-1.09.34-1.44.76-.32.37-.6.97-.52 1.54.55.05 1.11-.28 1.46-.7Z"})]})},p1=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#211D1D",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#FFD634",fillRule:"evenodd",d:"M6 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M7 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM18.42 11.54H20V10h1v4h-1v-1.65h-1.5V14h-1v-4h1l-.08 1.54Zm-2-.66V14h-1v-3.12h-.86V10h2.75v.88h-.89Zm-3.11 1.63-.47-1.33-.47 1.33h.94Zm.27.79H12.1l-.24.7h-1.11l1.52-4h1.14l1.52 4h-1.11l-.24-.7Z",clipRule:"evenodd"})]})},p2=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#1E3764",d:"M4 17v-2.34h.72c.52 0 .86.2.86.6 0 .23-.1.4-.26.49.22.1.35.3.35.55 0 .47-.35.7-.88.7H4Zm.46-1.37h.35c.2 0 .3-.1.3-.3 0-.2-.17-.26-.39-.26h-.26v.56Zm0 .96h.29c.28 0 .44-.07.44-.3 0-.2-.14-.3-.4-.3h-.33v.6Zm2.1.44c-.45 0-.68-.22-.68-.52 0-.33.27-.52.67-.53l.3.03v-.08c0-.2-.12-.3-.34-.3-.15 0-.3.03-.44.08l-.09-.36c.15-.06.38-.1.58-.1.49 0 .73.26.73.71v.93c-.13.07-.39.14-.72.14Zm.29-.37v-.36a1.12 1.12 0 0 0-.24-.03c-.15 0-.27.06-.27.22 0 .14.1.21.27.21.08 0 .16 0 .24-.04Zm.77.33v-1.6c.24-.09.5-.14.75-.14.49 0 .77.24.77.68V17h-.46v-1.02c0-.23-.1-.34-.31-.34a.7.7 0 0 0-.3.06V17h-.45Zm3.13-1.64-.1.36a1.01 1.01 0 0 0-.37-.08c-.27 0-.41.2-.41.5 0 .35.15.52.44.52.12 0 .25-.03.37-.08l.07.37c-.15.07-.32.1-.48.1-.55 0-.87-.35-.87-.9 0-.53.31-.89.84-.89.18 0 .35.03.5.1Zm.99 1.68c-.51 0-.83-.35-.83-.89 0-.53.32-.89.83-.89.52 0 .83.36.83.9 0 .53-.31.88-.83.88Zm0-.38c.24 0 .36-.2.36-.5 0-.32-.12-.52-.36-.52-.23 0-.36.2-.36.51 0 .32.13.51.36.51Zm1.1.34v-1.6c.24-.09.5-.14.75-.14.49 0 .77.24.77.68V17h-.46v-1.02c0-.23-.11-.34-.31-.34a.7.7 0 0 0-.3.06V17h-.45Zm2.55.04c-.4 0-.6-.21-.6-.65v-.72h-.22v-.37h.22v-.37l.46-.02v.4h.38v.36h-.38v.71c0 .2.08.28.23.28.06 0 .12 0 .18-.02l.03.37c-.1.03-.2.04-.3.03Zm1.17 0c-.46 0-.69-.22-.69-.52 0-.33.27-.52.67-.53l.3.03v-.08c0-.2-.12-.3-.34-.3-.15 0-.3.03-.44.08l-.09-.36c.15-.06.38-.1.58-.1.49 0 .73.26.73.71v.93c-.13.07-.39.14-.72.14Zm.28-.37v-.36a1.12 1.12 0 0 0-.24-.03c-.15 0-.27.06-.27.22 0 .14.1.21.27.21.08 0 .16 0 .24-.04Zm2.02-1.3-.09.35a1.01 1.01 0 0 0-.38-.08c-.27 0-.41.2-.41.5 0 .35.15.52.44.52.13 0 .25-.03.37-.08l.07.37c-.15.07-.31.1-.48.1-.55 0-.87-.35-.87-.9 0-.53.31-.89.84-.89.18 0 .35.03.5.1Zm1.01 1.67c-.4 0-.6-.21-.6-.65v-.72h-.23v-.37h.23v-.37l.46-.02v.4h.37v.36h-.37v.71c0 .2.08.28.23.28.06 0 .12 0 .18-.02l.02.37c-.1.03-.2.04-.29.03Z"}),(0,U.jsx)("path",{fill:"url(#b)",d:"M7.21 13.5c2.43 0 3.65-1.63 4.87-3.25H4v3.24h3.21Z"}),(0,U.jsx)("path",{fill:"url(#c)",d:"M16.95 7c-2.44 0-3.65 1.62-4.87 3.25h8.08V7h-3.21Z"}),(0,U.jsxs)("defs",{children:[(0,U.jsxs)("linearGradient",{id:"b",x1:"7.27",x2:"19.99",y1:"12.48",y2:"9.42",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#005AB9"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#1E3764"})]}),(0,U.jsxs)("linearGradient",{id:"c",x1:"12.57",x2:"18.84",y1:"10.53",y2:"8.39",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#FBA900"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#FFD800"})]})]})]})},p3=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#454C4F",fillRule:"evenodd",d:"M9.6 12.27a1 1 0 0 0-.53-.34l.04-.01.03-.02a.76.76 0 0 0 .34-.23.72.72 0 0 0-.03-.87 1.06 1.06 0 0 0-.55-.3c-.3-.09-.62-.09-.92-.07-.13 0-.26.03-.38.07-.22.08-.31.23-.31.47v2.22c.01.1.05.17.12.24.12.1.27.16.43.17.32.03.65.03.98-.01.23-.04.44-.12.63-.26a.78.78 0 0 0 .14-1.06Zm-1.47-.43h-.07v.25h.09l.15.01.33.03c.2.04.37.14.44.36.06.16.04.32-.05.46a.5.5 0 0 1-.38.22 4 4 0 0 1-.36.02h-.2c-.21.02-.22-.05-.22-.21a352.59 352.59 0 0 0 0-1.98c0-.1.05-.15.15-.15h.1c.18 0 .35-.01.51.03.12.02.24.06.31.17.16.23.06.56-.2.7-.14.06-.28.07-.42.08l-.18.01Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#454C4F",d:"m12.5 11.14.12.07c.06-.14.04-.38-.04-.5a.57.57 0 0 0-.28-.17c-.4-.14-.8-.15-1.2-.04-.43.12-.76.37-.96.77-.16.33-.2.68-.16 1.04.07.5.33.88.79 1.12a1.96 1.96 0 0 0 1.72-.02.3.3 0 0 0 .15-.24v-.26c0-.02 0-.04-.02-.05h-.06c-.35.27-.74.34-1.16.26a.94.94 0 0 1-.75-.6c-.09-.21-.1-.44-.07-.67a1 1 0 0 1 .42-.74c.4-.27.82-.27 1.25-.1.1.02.17.07.25.13Z"}),(0,U.jsx)("path",{fill:"#454C4F",fillRule:"evenodd",d:"M16.71 12.23c.01-.25-.1-.38-.27-.43a1.27 1.27 0 0 0-.83.06c-.03 0-.05.02-.08.03l-.13.05-.07.03V11.67c.01-.05.07-.1.11-.13.28-.16.58-.2.9-.17.11 0 .23.03.34.06.33.09.54.3.56.64.02.34.02.68 0 1.03 0 .22-.14.36-.35.42a.93.93 0 0 1-.27.05h-.01c-.27 0-.53 0-.8-.02a.73.73 0 0 1-.53-.27c-.25-.32-.1-.8.28-.95.2-.08.43-.1.65-.1h.51Zm-.13.35h-.3l-.36.04c-.12.02-.21.14-.23.27 0 .12.05.22.17.27l.1.04c.17.03.34.03.52 0 .15-.03.22-.1.23-.26a2.47 2.47 0 0 0 0-.36h-.13ZM20.54 11.85l-.02-.01a.99.99 0 0 0-.66-.1.76.76 0 0 0-.65.63c-.04.2-.04.41 0 .62.07.3.25.49.55.55.17.04.34.04.51.03h.2l.14-.01c.27-.05.4-.26.39-.47a125.2 125.2 0 0 1 0-2.04V11h-.46v.86Zm.02.9h-.02V13.06a.2.2 0 0 1-.15.19.8.8 0 0 1-.47 0 .33.33 0 0 1-.22-.2 1 1 0 0 1 .01-.78c.11-.22.39-.3.6-.19.12.06.18.16.2.28l.04.28v.13Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#454C4F",d:"m14.86 11.96-.08-.04a1.64 1.64 0 0 0-.18-.09.91.91 0 0 0-.79.03.67.67 0 0 0-.33.72c.06.4.37.57.67.59a1 1 0 0 0 .7-.2l.01.01.02.03c.07.12.01.34-.1.41a.92.92 0 0 1-.36.13c-.28.05-.55.04-.82-.07a1 1 0 0 1-.66-.9c-.06-.68.42-1.17 1.08-1.22.25-.02.5.03.73.14.16.08.22.31.1.46ZM17.6 13.53h.54V12.2c0-.16.08-.27.21-.34a.88.88 0 0 1 .36-.1h.37v-.25c0-.11-.05-.15-.16-.15h-.3c-.23.02-.45.06-.66.18-.21.13-.35.3-.36.56a85.38 85.38 0 0 0 0 1.41v.02Z"}),(0,U.jsx)("path",{fill:"#F04651",d:"m3.37 11.87-.02.01c-.02-.07 0-.1.03-.14.08-.1.16-.18.22-.28a.41.41 0 0 0 .06-.3c0-.05-.04-.07-.08-.04-.13.1-.27.2-.28.39a3.28 3.28 0 0 0 .1.97l.02.03a6.14 6.14 0 0 1 .22-.11c.13-.08.19-.2.18-.35-.02-.26-.18-.34-.4-.2l-.05.02Z"}),(0,U.jsx)("path",{fill:"#F04651",fillRule:"evenodd",d:"M5.31 10.02 5.23 10h-.38a1.49 1.49 0 0 0-.1.02A2.04 2.04 0 0 0 3 11.86v.39l.01.02a2.04 2.04 0 1 0 4.05-.56 2.02 2.02 0 0 0-1.66-1.68l-.09-.01Zm.62 1.56c0-.02.02-.03.03-.04.1.1.09.29-.01.37-.16.13-.34.2-.54.23-.24.05-.47.04-.7-.06a.93.93 0 0 1-.56-1.02c.08-.42.41-.74.83-.8.16-.01.3 0 .45.03.1.03.14.1.16.19.02.04 0 .06-.06.04a.92.92 0 0 0-.36-.05.63.63 0 0 0-.6.45c-.08.36.13.87.68.9a.9.9 0 0 0 .59-.17l.09-.07Zm-2.1-.1-.03.02c.2.02.32.11.37.3.05.17.04.34-.03.5a.45.45 0 0 1-.23.24l-.4.18c-.12.06-.24 0-.28-.13-.1-.35-.13-.7-.07-1.05.06-.3.25-.51.5-.68l.03-.02c.16-.07.28 0 .3.17a.6.6 0 0 1-.13.42l-.04.05Z",clipRule:"evenodd"})]})},p6=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#000",d:"M4.08 15.47h-.43V8.18h.43v7.3ZM4.43 15.47h-.25V8.18h.25v7.3ZM20 15.47h-.43V8.18H20v7.3ZM19.26 11.4h-.18V8.18h.18v3.22ZM18.97 11.4h-.24V8.18h.24v3.22ZM18.31 11.4h-.43V8.18h.43v3.22ZM17.67 11.4h-.24V8.18h.24v3.22ZM17.18 11.4h-.77V8.18h.77v3.22ZM16.2 11.4h-.25V8.18h.25v3.22ZM15.85 11.4h-.43V8.18h.43v3.22ZM15.26 11.4h-.19V8.18h.19v3.22ZM14.97 11.4h-.25V8.18h.25v3.22ZM14.4 11.4h-.24V8.18h.24v3.22ZM14.06 11.4h-.43V8.18h.43v3.22ZM13.46 11.4h-.18V8.18h.19v3.22ZM13.17 11.4h-.24V8.18h.24v3.22ZM12.52 11.4h-.44V8.18h.44v3.22ZM11.78 11.4h-.19V8.18h.19v3.22ZM11.49 11.4h-.24V8.18h.24v3.22ZM10.83 11.4h-.43V8.18h.43v3.22ZM10.19 11.4h-.24V8.18h.24v3.22ZM9.7 11.4h-.78V8.18h.78v3.22ZM8.57 11.4h-.24V8.18h.24v3.22ZM8.23 11.4H7.8V8.18h.43v3.22ZM7.63 11.4h-.18V8.18h.18v3.22ZM7.34 11.4H7.1V8.18h.24v3.22ZM6.68 11.4h-.43V8.18h.43v3.22ZM6.04 11.4H5.8V8.18h.24v3.22ZM5.56 11.4h-.78V8.18h.78v3.22ZM4.81 15.33v-3.7h1.4c.27 0 .5.04.67.12a.9.9 0 0 1 .55.83c0 .16-.05.3-.13.45a.92.92 0 0 1-.39.34c.23.06.4.17.52.33a.9.9 0 0 1 .18.56 1.08 1.08 0 0 1-.38.83c-.11.08-.25.14-.4.18-.17.04-.37.06-.6.06H4.8Zm.5-2.14h.8c.21 0 .37-.01.46-.04.13-.04.22-.1.28-.19.07-.08.1-.2.1-.32a.59.59 0 0 0-.1-.33.45.45 0 0 0-.24-.19c-.11-.03-.3-.05-.57-.05h-.73v1.12Zm0 1.71h.92c.15 0 .27 0 .33-.02a.8.8 0 0 0 .28-.1.54.54 0 0 0 .19-.2c.05-.1.07-.2.07-.32a.61.61 0 0 0-.1-.36.56.56 0 0 0-.3-.21c-.12-.04-.3-.07-.54-.07h-.85v1.28ZM8.05 14c0-.5.14-.87.42-1.1.23-.2.5-.3.84-.3.37 0 .67.12.9.36.23.24.35.57.35 1 0 .34-.05.61-.15.8-.1.2-.26.36-.46.47-.2.1-.4.16-.64.16a1.2 1.2 0 0 1-.91-.36c-.23-.24-.35-.59-.35-1.04Zm.47 0c0 .34.07.6.22.76.15.17.34.26.57.26.22 0 .41-.09.56-.26.15-.17.23-.43.23-.78 0-.33-.08-.58-.23-.75a.72.72 0 0 0-.56-.26.73.73 0 0 0-.57.26c-.15.17-.22.42-.22.76ZM11.08 15.33v-3.7h.46v3.7h-.46ZM14.07 14.47l.47.06c-.07.27-.21.48-.41.63-.2.15-.46.23-.77.23-.39 0-.7-.12-.93-.36a1.41 1.41 0 0 1-.34-1.01c0-.45.12-.8.35-1.05.23-.25.53-.37.9-.37.36 0 .65.12.87.36.23.25.34.59.34 1.03v.12h-2c.02.3.1.52.26.67.14.16.33.24.55.24.17 0 .31-.05.43-.13a.87.87 0 0 0 .28-.42Zm-1.49-.73h1.5a.9.9 0 0 0-.18-.5.7.7 0 0 0-.56-.27c-.2 0-.38.07-.52.2a.83.83 0 0 0-.24.57ZM16.1 14.93l.06.4a1.7 1.7 0 0 1-.34.04.77.77 0 0 1-.38-.08.44.44 0 0 1-.2-.2 1.63 1.63 0 0 1-.05-.54V13h-.34v-.35h.34V12l.45-.27v.93h.46V13h-.46v1.57c0 .13.01.22.03.25.01.04.04.07.08.1a.3.3 0 0 0 .15.03l.2-.02ZM16.38 14c0-.5.14-.87.41-1.1.23-.2.51-.3.84-.3.37 0 .67.12.9.36.24.24.36.57.36 1 0 .34-.05.61-.16.8-.1.2-.25.36-.45.47-.2.1-.41.16-.65.16a1.2 1.2 0 0 1-.9-.36c-.24-.24-.35-.59-.35-1.04Zm.46 0c0 .34.08.6.23.76.15.17.34.26.56.26.23 0 .42-.09.57-.26.15-.17.22-.43.22-.78 0-.33-.07-.58-.22-.75a.72.72 0 0 0-.57-.26.73.73 0 0 0-.56.26c-.15.17-.23.42-.23.76Z"})]})},p4=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"url(#a)",fillRule:"evenodd",d:"M2.4 4C1.07 4 0 4.9 0 6v12c0 1.1 1.07 2 2.4 2h19.2c1.32 0 2.4-.9 2.4-2V6c0-1.1-1.08-2-2.4-2H2.4Z",clipRule:"evenodd"}),(0,U.jsx)("path",{stroke:"#97979F",strokeOpacity:".3",strokeWidth:".5",d:"M2.4 4.25h19.2c1.23 0 2.15.82 2.15 1.75v12c0 .93-.92 1.75-2.15 1.75H2.4C1.17 19.75.25 18.93.25 18V6c0-.93.92-1.75 2.15-1.75Z"}),(0,U.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M8 12v-1h4a3.49 3.49 0 0 0-3.5-3h-1a3.5 3.5 0 1 0 0 7h1a3.49 3.49 0 0 0 3.5-3H8Zm12 1.5c0-.83-.67-1.5-1.5-1.5H13v3h5.5c.83 0 1.5-.67 1.5-1.5ZM18.5 11H13V8h5.5a1.5 1.5 0 1 1 0 3Z",clipRule:"evenodd"}),(0,U.jsx)("defs",{children:(0,U.jsxs)("linearGradient",{id:"a",x1:"24",x2:"8.68",y1:"4",y2:"24.87",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#102C5E"}),(0,U.jsx)("stop",{offset:".53",stopColor:"#107B9D"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#219943"})]})})]})},p5=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#00D533",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#fff",d:"M12.63 6.25a.2.2 0 0 0-.2.15l-.2.97c-1.86.15-3.08 1.25-3.08 2.7 0 1.27.82 2.03 2.88 2.48 1.21.25 1.57.49 1.57 1 0 .66-.71 1.13-1.66 1.13a3 3 0 0 1-2.5-1.27.2.2 0 0 0-.3-.04l-1.07.84a.2.2 0 0 0-.04.26A4.09 4.09 0 0 0 10.3 16l-.24 1.04a.2.2 0 0 0 .2.24h1.54a.2.2 0 0 0 .2-.15l.19-.94c2-.13 3.3-1.3 3.3-2.87 0-1.26-.83-2-2.63-2.39-1.42-.3-1.88-.57-1.87-1.05 0-.59.6-1 1.55-1 .85 0 1.63.35 2.14.96.06.1.18.1.27.04l.99-.8a.2.2 0 0 0 .03-.28 3.61 3.61 0 0 0-1.85-1.22l.23-1.08a.2.2 0 0 0-.2-.24h-1.51Z"})]})},p7=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#E02228",fillRule:"evenodd",d:"M16.9 11a5 5 0 0 0-9.8 0h9.8ZM7.1 13a5 5 0 0 0 9.8 0H7.1Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#284E98",fillRule:"evenodd",d:"M8 15H7a3 3 0 1 1 0-6h1c.28-.38.62-.72 1-1H7a4 4 0 0 0 0 8h2a4.99 4.99 0 0 1-1-1ZM17 8h-2c.38.28.72.62 1 1h1a3 3 0 1 1 0 6h-1c-.28.38-.62.72-1 1h2a4 4 0 0 0 0-8Z",clipRule:"evenodd"})]})},p8=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#004C97",d:"M12.48 8.92c1.3.5 2.21 1.74 2.22 3.2 0 1.47-.93 2.71-2.22 3.21V8.92ZM10 15.33a3.44 3.44 0 0 1-2.22-3.2c0-1.47.92-2.72 2.22-3.21v6.4Z"}),(0,U.jsx)("path",{fill:"#004C97",fillRule:"evenodd",d:"M12.77 6.21c3.26 0 6.23 2.44 6.23 5.98 0 3.22-2.97 5.86-6.23 5.86h-1.55c-3.3.02-6-2.63-6-5.86a5.86 5.86 0 0 1 6-5.98h1.55Zm-1.53.5a5.44 5.44 0 0 0-5.45 5.41c0 3 2.44 5.42 5.45 5.42a5.44 5.44 0 0 0 5.45-5.42c0-3-2.44-5.42-5.45-5.42Z",clipRule:"evenodd"})]})},p9=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#201D1C",d:"m14.62 10.43.84 2.13.86-2.13h.66l-1.36 3.25h-.34l-1.34-3.25h.68ZM6.54 11.25c0 .17.1.26.48.4.7.25.9.48.9.98 0 .62-.44 1.04-1.09 1.04-.46 0-.8-.18-1.1-.6l.4-.38c.15.27.39.42.68.42.28 0 .48-.2.48-.45a.38.38 0 0 0-.18-.33c-.07-.03-.19-.1-.43-.18-.58-.2-.78-.43-.78-.86 0-.52.43-.91.99-.91.34 0 .66.12.93.35l-.33.42c-.16-.18-.3-.25-.5-.25-.26 0-.45.15-.45.35Z"}),(0,U.jsx)("path",{fill:"#201D1C",fillRule:"evenodd",d:"M2 10.43h.9c1 0 1.7.65 1.7 1.59a1.59 1.59 0 0 1-1.7 1.58H2v-3.17Zm.78 2.63c.4 0 .65-.08.85-.25a1.09 1.09 0 0 0 0-1.59c-.2-.18-.45-.25-.85-.25h-.16v2.09h.16Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#201D1C",d:"M4.89 13.6h.62v-3.17h-.62v3.17ZM8.12 12.02c0 .93.73 1.65 1.67 1.65.27 0 .5-.06.78-.19v-.72c-.25.24-.47.34-.75.34-.62 0-1.06-.45-1.06-1.09 0-.6.45-1.09 1.03-1.09.3 0 .52.1.78.36v-.73c-.28-.13-.5-.2-.76-.2-.94 0-1.69.75-1.69 1.67ZM17.26 13.6h1.75v-.54h-1.13v-.85h1.1v-.54h-1.1v-.7h1.13v-.54h-1.75v3.17Z"}),(0,U.jsx)("path",{fill:"#201D1C",fillRule:"evenodd",d:"M21.46 11.36c0-.59-.41-.93-1.12-.93h-.92v3.17h.62v-1.28h.08l.85 1.28h.76l-1-1.34c.47-.1.73-.41.73-.9Zm-1.24.53h-.18v-.96h.19c.38 0 .6.16.6.47 0 .32-.22.49-.61.49Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#201D1C",d:"M21.75 10.46c.06 0 .1.03.1.09v.02a.07.07 0 0 0 .03-.06c0-.05-.04-.08-.13-.08h-.03v.03h.03ZM21.72 10.59v-.13h-.06v.28h.06v-.1l.08.1h.08l-.09-.11c.03-.01.06-.03.06-.06a.18.18 0 0 1-.1.02h-.03Z"}),(0,U.jsx)("path",{fill:"#201D1C",fillRule:"evenodd",d:"M21.76 10.36c-.13 0-.24.1-.24.24 0 .14.1.24.24.24.13 0 .24-.1.24-.24 0-.13-.1-.24-.24-.24Zm0 .44a.2.2 0 0 1-.2-.2c0-.1.1-.2.2-.2s.2.1.2.2c0 .11-.1.2-.2.2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"url(#b)",d:"M12.38 13.8a1.77 1.77 0 1 1 0-3.55 1.77 1.77 0 0 1 0 3.54Z"}),(0,U.jsx)("defs",{children:(0,U.jsxs)("radialGradient",{id:"b",cx:"0",cy:"0",r:"1",gradientTransform:"matrix(-2.72642 -2.18115 1.701 -2.12624 13.6 12.98)",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#F08F14"}),(0,U.jsx)("stop",{offset:".8",stopColor:"#E0481E"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#661D14"})]})})]})},Ee=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"#000",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{stroke:"#97979F",strokeOpacity:".3",strokeWidth:".5",d:"M2.4 4.25h19.2c1.23 0 2.15.82 2.15 1.75v12c0 .93-.92 1.75-2.15 1.75H2.4C1.17 19.75.25 18.93.25 18V6c0-.93.92-1.75 2.15-1.75Z"}),(0,U.jsx)("path",{fill:"#FC0",d:"M8.12 8.42c.34-.1.7-.17 1.07-.17 1.64 0 3 1.11 3.32 2.58l2.32-.45A5.7 5.7 0 0 0 9.2 6c-.63 0-1.25.1-1.82.28l.75 2.14Z"}),(0,U.jsx)("path",{fill:"#00A0DE",d:"M5.44 15.67 7 13.96a3.22 3.22 0 0 1 0-4.9L5.44 7.34a5.48 5.48 0 0 0 0 8.33Z"}),(0,U.jsx)("path",{fill:"#EC3413",d:"M12.51 12.18a3.43 3.43 0 0 1-4.4 2.46l-.74 2.18c.57.18 1.19.28 1.83.28 2.78 0 5.1-1.91 5.63-4.46l-2.32-.46Z"}),(0,U.jsx)("path",{fill:"#fff",d:"M14.1 17.36a1.29 1.29 0 0 1-.12-1.16c.12-.36.38-.63.7-.77a1.37 1.37 0 0 1 1.8.76l.05.12-2.44 1.05Zm.8-1.4a.66.66 0 0 0-.4.7l1.23-.52c-.21-.24-.49-.33-.82-.18Zm.98 1.13-.03-.01a.72.72 0 0 1-.33.27c-.27.12-.53.09-.7-.07l-.02.02-.32.46a1.3 1.3 0 0 0 1.29.12c.25-.1.45-.27.58-.47l-.47-.32ZM17.4 14.76v2.55l.42.16-.23.53-.46-.18a.51.51 0 0 1-.22-.18.55.55 0 0 1-.1-.32v-2.56h.6Z"}),(0,U.jsx)("path",{fill:"#fff",d:"M18.45 16.68c0-.22.1-.41.26-.55l-.42-.45a1.31 1.31 0 0 0 0 2l.42-.45a.71.71 0 0 1-.26-.55ZM19.18 17.39a.74.74 0 0 1-.23-.04l-.2.58a1.35 1.35 0 0 0 1.75-1l-.6-.13a.73.73 0 0 1-.72.59ZM19.18 15.33c-.15 0-.3.02-.43.06l.2.59a.73.73 0 0 1 .95.55l.6-.13a1.35 1.35 0 0 0-1.32-1.07Z"})]})},Et=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#71706F",d:"M17.12 12h-1.44a.29.29 0 0 1-.29-.28c0-.16.13-.3.3-.3h2.18v-1.07h-2.19c-.76 0-1.38.62-1.38 1.37 0 .76.62 1.38 1.38 1.38h1.42c.16 0 .29.12.29.28 0 .16-.13.27-.3.27h-3.02c-.26.5-.51.91-1.02 1.12h4.07a1.4 1.4 0 0 0 1.36-1.39c0-.75-.61-1.37-1.36-1.38Z"}),(0,U.jsx)("path",{fill:"#71706F",d:"M11.62 10.35a2.2 2.2 0 0 0-2.2 2.2v4.6h1.1v-2.38h1.1c1.21 0 2.2-1 2.2-2.22a2.2 2.2 0 0 0-2.2-2.2Zm0 3.3h-1.1v-1.1c0-.61.49-1.12 1.1-1.12.61 0 1.11.5 1.11 1.12 0 .62-.5 1.1-1.1 1.1Z"}),(0,U.jsx)("path",{fill:"#C8036F",d:"M5.93 14.77a2.23 2.23 0 0 1-2.15-1.7s-.07-.32-.07-.53a2.22 2.22 0 0 1 4.44 0v.53H4.9c.2.37.58.58 1.03.58h2.92v-3.14A.86.86 0 0 0 8 9.65H3.86a.85.85 0 0 0-.86.84v4.11c0 .47.39.87.86.87h4.13c.43 0 .78-.3.85-.7h-2.9Z"}),(0,U.jsx)("path",{fill:"#C8036F",d:"M5.93 11.38c-.45 0-.84.27-1.03.62h2.05a1.2 1.2 0 0 0-1.02-.62ZM7.8 8.32c0-1-.84-1.82-1.87-1.82-1.02 0-1.85.79-1.88 1.77v.55c0 .07.06.13.12.13h.7c.06 0 .12-.06.12-.13v-.5c0-.5.42-.91.94-.91.51 0 .93.4.93.9v.51c0 .07.06.13.13.13h.68c.07 0 .13-.06.13-.13v-.5Z"}),(0,U.jsx)("path",{fill:"#71706F",d:"m12.86 16.19-.1.56c-.05.28-.24.41-.5.41-.2 0-.38-.14-.33-.41l.1-.56h.16l-.1.56c-.03.17.05.27.2.27.15 0 .28-.09.31-.27l.1-.56h.16Zm-.6-.18c0 .05.03.07.07.07.04 0 .1-.03.1-.1 0-.04-.03-.07-.07-.07-.05 0-.1.04-.1.1Zm.32 0c0 .05.04.07.08.07s.1-.03.1-.1c0-.04-.03-.07-.07-.07-.05 0-.1.04-.1.1ZM13.23 16.19l-.07.39a.35.35 0 0 1 .26-.13c.17 0 .29.1.29.29 0 .26-.18.42-.42.42-.1 0-.17-.03-.22-.12l-.02.1h-.14l.17-.95h.15Zm-.11.65c0 .12.07.19.17.19.14 0 .27-.1.28-.26 0-.12-.07-.18-.18-.18-.13 0-.26.1-.27.25ZM13.99 16.86c0 .1.07.17.2.17.06 0 .15-.02.2-.07l.08.09a.48.48 0 0 1-.31.11c-.2 0-.32-.11-.32-.3 0-.23.2-.4.43-.4.22 0 .35.12.27.4H14Zm.44-.11c0-.12-.06-.17-.18-.17-.1 0-.2.05-.24.17h.42ZM14.92 16.47v.09c.06-.09.14-.1.22-.1.06 0 .12.02.15.05l-.08.13a.15.15 0 0 0-.11-.05c-.1 0-.2.06-.22.19l-.07.36h-.14l.12-.67h.13ZM15.98 16.47l.07.53.26-.53h.16l-.35.67h-.17l-.07-.44-.1.22-.13.22h-.16l-.12-.67h.16l.07.53.26-.53h.12ZM16.66 16.86c-.01.1.06.17.19.17.07 0 .16-.02.2-.07l.09.09a.48.48 0 0 1-.32.11c-.2 0-.3-.11-.3-.3 0-.23.18-.4.42-.4.22 0 .34.12.27.4h-.55Zm.43-.11c.01-.12-.05-.17-.17-.17-.1 0-.2.05-.24.17h.41ZM17.6 16.47l-.12.67h-.14l.12-.67h.14Zm-.13-.19c0 .05.04.08.08.08.05 0 .1-.04.1-.1a.07.07 0 0 0-.07-.08c-.05 0-.1.04-.1.1ZM18.23 16.64c-.04-.05-.1-.07-.17-.07-.09 0-.16.03-.16.1 0 .04.06.06.14.07.12.01.28.05.25.23-.03.12-.15.2-.33.2-.11 0-.22-.03-.29-.13l.1-.1c.04.07.13.1.21.1.07 0 .15-.02.17-.09 0-.06-.05-.08-.15-.09-.11-.01-.24-.05-.24-.18 0-.17.18-.23.32-.23.1 0 .19.02.25.1l-.1.09ZM18.68 16.47l-.06.36c-.02.12.03.2.15.2.11 0 .2-.1.23-.2l.06-.36h.14l-.12.67h-.13l.01-.1a.35.35 0 0 1-.25.12c-.17 0-.27-.12-.24-.33l.07-.36h.14ZM19.83 17.14l.06-.36c.02-.12-.02-.2-.15-.2-.11 0-.2.1-.23.21l-.06.35h-.14l.12-.67h.13l-.01.1c.08-.08.16-.11.25-.11.16 0 .27.11.24.32l-.07.36h-.14ZM20.3 17.24c0 .09.07.13.2.13.1 0 .21-.06.24-.21l.02-.12a.33.33 0 0 1-.26.12c-.18 0-.3-.1-.3-.29 0-.26.2-.42.43-.42.1 0 .18.05.2.13l.03-.11H21l-.12.7c-.04.25-.24.33-.41.33-.21 0-.33-.1-.3-.26h.14Zm.05-.4c0 .12.08.2.18.2.3 0 .38-.46.08-.46-.14 0-.26.1-.26.27Z"})]})},En=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#0068E8",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#001B8B",d:"M10.4 6.04c1.21-.22 3.65.47 4.37 1.54v.46c-.6 1.07-1.4-.03-2.11-.3a4.54 4.54 0 0 0-5.9 2.41 4.64 4.64 0 0 0 2.35 6.1c1.15.5 2.38.49 3.54.02.43-.18 1.06-.68 1.37-.73a.6.6 0 0 1 .46.1c.16.1.26.27.3.46.08.54-.5.86-.89 1.1a5.9 5.9 0 0 1-8.83-4.35c-.22-1.6.2-3.21 1.16-4.49a5.82 5.82 0 0 1 4.17-2.32Z"}),(0,U.jsx)("path",{fill:"#fff",d:"M10.9 8.2c.67 0 2.84.45 2.22 1.54-.13.23-.37.31-.61.37-.25-.08-.5-.24-.74-.33a2.34 2.34 0 0 0-2.98 1.18 2.4 2.4 0 0 0 1.06 3.2c.61.3 1.23.35 1.87.1.8-.3 1.13-.8 1.48-1.54-.5-.01-1.72.13-2.07-.2a.73.73 0 0 1-.22-.53c0-.8.87-.66 1.4-.66.64 0 1.27 0 1.91.02.2.12.29.22.41.42a3.7 3.7 0 0 1-.84 2.66 3.7 3.7 0 0 1-5.3.47 3.86 3.86 0 0 1-.42-5.37c.77-.92 1.67-1.24 2.83-1.33Z"}),(0,U.jsx)("path",{fill:"#57A8E9",d:"M17.37 7.92c.5-.04.74.27.93.7.87 2 .93 4.33.17 6.35-.16.44-.31.92-.76 1.13-.12 0-.24.02-.35-.02-.88-.27-.34-1.18-.12-1.73a7.04 7.04 0 0 0 .04-4.57c-.13-.3-.4-.9-.4-1.2 0-.09.02-.17.04-.24.08-.25.24-.32.45-.42Z"}),(0,U.jsx)("path",{fill:"#57A8E9",d:"M15.51 9.11c.45-.01.58.12.83.52.64 1.05.72 4.67-.5 5.28-.55.02-.71-.12-.89-.64.08-.32.26-.73.35-1.08.37-1.43.07-2.14-.35-3.42.14-.39.19-.48.56-.66Z"})]})};var Ei=n(37766);let Er=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#1F3A6A",d:"M10.23 10.98H9.8v2.47h.43v-2.47Zm-1.4 1.25a1 1 0 0 1-.15.53.69.69 0 0 1-.56.34.68.68 0 0 1-.45-.18c-.18-.17-.23-.44-.23-.7 0-.38.11-.59.29-.75.1-.1.24-.16.38-.16.15 0 .3.06.41.15.32.27.3.75.3.77Zm.21 1.9c.19-.24.2-.49.21-1v-2.15h-.41v.38a.88.88 0 0 0-.79-.43 1 1 0 0 0-.83.44c-.2.27-.24.59-.24.86 0 .18.02.35.07.52.06.21.18.4.34.54.19.15.42.23.66.2.21 0 .42-.07.59-.2a.91.91 0 0 0 .16-.2v.35c0 .1-.02.22-.06.33a.53.53 0 0 1-.1.18c-.13.14-.28.21-.57.22-.21 0-.42-.04-.63-.1a1.44 1.44 0 0 1-.24-.12l-.04.43.19.07c.22.07.46.1.7.1.33 0 .55-.07.7-.15a.88.88 0 0 0 .3-.26Zm.73-3.73h.47V9.9h-.47v.49Zm2.07.95c.1 0 .2.02.3.06v-.44l-.27-.02a.72.72 0 0 0-.58.26l-.12.18-.02-.4h-.41l.02.82V13.45h.44v-1.2c.01-.24.03-.55.27-.76.1-.1.23-.14.37-.14Zm2.27.84c0 .27-.09.67-.42.85a.71.71 0 0 1-.64.02.87.87 0 0 1-.12-.08.8.8 0 0 1-.23-.32 1.13 1.13 0 0 1-.09-.48c.01-.34.15-.58.3-.7.14-.12.31-.18.49-.18.38 0 .55.26.63.46.05.14.08.29.08.43Zm.1.99c.28-.3.36-.68.35-1 0-.6-.33-.96-.63-1.12a1.2 1.2 0 0 0-.53-.12c-.56 0-.91.29-1.08.58-.12.22-.17.46-.17.7 0 .5.17.79.38 1l.16.1c.14.1.33.17.66.17.18.01.36-.02.52-.1.12-.05.24-.12.33-.21ZM14.95 11.5l.01 1.3-.01 1.8h.44V13.1l.14.16a.9.9 0 0 0 .6.22 1.05 1.05 0 0 0 .78-.33c.37-.4.34-.93.34-1.01 0-.19-.04-.37-.1-.54a1 1 0 0 0-.98-.68c-.06 0-.4 0-.66.25a.92.92 0 0 0-.15.18l-.02-.38h-.41l.02.53Zm.43.7c0-.12.02-.24.05-.35.11-.35.38-.54.67-.54.23 0 .47.13.6.4.07.17.1.34.09.51 0 .13-.02.26-.07.38-.16.46-.52.5-.64.5-.28 0-.54-.18-.65-.52a1.27 1.27 0 0 1-.05-.39ZM21.79 10.98l-.55 1.34-.25.64-.02.04-.22-.64-.51-1.38h-.48l1 2.47-.49 1.14h.44l1.55-3.6h-.47ZM19.44 11.3c-.13-.21-.46-.36-.85-.36-.47 0-.7.16-.77.2v.4c.1-.07.38-.24.7-.24.29 0 .53.17.59.33.03.1.04.22.04.33a7.3 7.3 0 0 0-.35-.01 2 2 0 0 0-.83.12c-.19.1-.45.27-.45.67a.75.75 0 0 0 .25.57c.14.11.32.16.51.17.28.01.52-.08.65-.16.1-.08.18-.17.26-.26v.39h.37v-1.6c0-.24-.05-.45-.12-.55Zm-.28 1.04c0 .1 0 .22-.04.33a.64.64 0 0 1-.1.21.7.7 0 0 1-.56.26c-.2 0-.48-.1-.48-.4 0-.28.34-.43.53-.46a3.94 3.94 0 0 1 .66 0v.06ZM4.37 11H4.1v.08h.22l.56 2.27H2.02l.55-2.27h.23v-.07H2.5l-.61 2.44H5L4.36 11Z"}),(0,U.jsx)("path",{fill:"#5DC4E9",d:"M3.99 9.98H2.9a.11.11 0 0 0-.11.12v1.06h.08V10.1a.03.03 0 0 1 .03-.03h.2v.76H2.9l.3.33h.5l.3-.33h-.2v-.76h.2a.03.03 0 0 1 .03.03v1.06h.08V10.1a.11.11 0 0 0-.11-.12Z"}),(0,U.jsx)("path",{fill:"#1F3A6A",d:"M3.2 12.49h.48a.05.05 0 0 0 .06-.06l-.02-.31a.06.06 0 0 0-.06-.06h-.43a.06.06 0 0 0-.06.06l-.02.31a.05.05 0 0 0 .05.06ZM3 12.06h-.43a.07.07 0 0 0-.07.06l-.07.31a.05.05 0 0 0 .05.06h.48a.06.06 0 0 0 .07-.06l.02-.31a.05.05 0 0 0-.03-.06H3ZM3.22 11.96h.44a.04.04 0 0 0 .05-.05l-.02-.25a.05.05 0 0 0-.05-.04h-.4a.05.05 0 0 0-.05.04l-.01.25a.04.04 0 0 0 .04.05ZM3.05 11.62h-.4a.06.06 0 0 0-.06.04l-.05.26a.04.04 0 0 0 .04.04h.44a.05.05 0 0 0 .05-.05l.02-.25a.04.04 0 0 0-.01-.03.04.04 0 0 0-.03-.01ZM4.31 11.96a.04.04 0 0 0 .04-.04l-.05-.26a.06.06 0 0 0-.06-.04H3.82a.04.04 0 0 0-.02.04l.02.25a.05.05 0 0 0 .05.05h.44ZM3.24 11.53H3.66a.04.04 0 0 0 .02-.02v-.22a.04.04 0 0 0-.05-.03h-.37a.04.04 0 0 0-.04.04l-.02.2a.04.04 0 0 0 .04.03ZM4.23 11.53h.01a.03.03 0 0 0 .02-.02v-.02l-.04-.2a.05.05 0 0 0-.05-.03H3.8a.04.04 0 0 0-.03.04l.02.2a.05.05 0 0 0 .05.03h.4ZM3.09 11.26H2.7a.05.05 0 0 0-.05.04l-.04.2a.03.03 0 0 0 0 .02.03.03 0 0 0 .04.01h.4a.04.04 0 0 0 .05-.04l.01-.2a.04.04 0 0 0-.03-.03ZM4.4 12.49a.05.05 0 0 0 .04-.02.05.05 0 0 0 .01-.04l-.06-.31a.07.07 0 0 0-.07-.06h-.43a.05.05 0 0 0-.04.02.05.05 0 0 0-.02.04l.03.31a.06.06 0 0 0 .06.06h.49ZM3.68 12.6H3.2a.07.07 0 0 0-.07.08l-.03.4a.06.06 0 0 0 .07.06h.53a.06.06 0 0 0 .06-.07l-.02-.4a.07.07 0 0 0-.07-.06ZM2.94 12.6h-.47a.09.09 0 0 0-.08.07l-.09.4a.05.05 0 0 0 .06.07h.54a.08.08 0 0 0 .07-.07l.03-.4a.06.06 0 0 0-.03-.06h-.03ZM4.5 12.67a.09.09 0 0 0-.08-.06h-.47a.06.06 0 0 0-.05.02.06.06 0 0 0-.02.05l.04.4a.08.08 0 0 0 .07.06h.54a.05.05 0 0 0 .05-.07l-.08-.4Z"})]})},Es=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{stroke:"#97979F",strokeOpacity:".3",strokeWidth:".5",d:"M2.4 4.25h19.2c1.23 0 2.15.82 2.15 1.75v12c0 .93-.92 1.75-2.15 1.75H2.4C1.17 19.75.25 18.93.25 18V6c0-.93.92-1.75 2.15-1.75Z"}),(0,U.jsx)("path",{fill:"#3C4043",d:"M11.4 14.52h-.66V9.38h1.75c.45 0 .82.14 1.13.44.32.3.48.66.48 1.08 0 .44-.16.8-.48 1.1-.3.29-.68.43-1.13.43H11.4v2.09Zm0-4.51v1.8h1.1c.27 0 .49-.1.66-.27a.87.87 0 0 0 0-1.26.86.86 0 0 0-.65-.27h-1.1ZM15.83 10.88c.49 0 .87.13 1.15.4.29.26.43.61.43 1.07v2.17h-.63v-.5h-.03c-.27.41-.64.61-1.1.61-.38 0-.7-.11-.97-.34a1.1 1.1 0 0 1-.39-.86c0-.37.14-.66.42-.87.27-.22.64-.32 1.1-.32.39 0 .71.07.96.21v-.15a.75.75 0 0 0-.27-.58.93.93 0 0 0-.64-.25 1 1 0 0 0-.87.47l-.58-.36c.32-.47.8-.7 1.42-.7Zm-.86 2.56c0 .17.08.31.22.43a.8.8 0 0 0 .52.17c.28 0 .52-.1.74-.31.22-.2.33-.45.33-.73-.2-.16-.5-.24-.86-.24-.27 0-.5.06-.67.2-.19.13-.28.29-.28.48ZM21 11l-2.2 5.06h-.68l.81-1.77-1.45-3.3h.72l1.05 2.53h.01L20.28 11H21Z"}),(0,U.jsx)("path",{fill:"#4285F4",d:"M8.77 12.01c0-.21-.02-.42-.05-.61H5.95v1.13h1.6c-.07.38-.28.7-.6.92v.73h.95c.56-.51.87-1.27.87-2.17Z"}),(0,U.jsx)("path",{fill:"#34A853",d:"M6.95 13.45c-.26.17-.6.28-1 .28-.77 0-1.42-.52-1.66-1.22h-.98v.76a2.95 2.95 0 0 0 2.64 1.63c.8 0 1.46-.27 1.95-.72l-.95-.73Z"}),(0,U.jsx)("path",{fill:"#FABB05",d:"M4.2 11.95c0-.2.03-.39.1-.57v-.76H3.3a2.93 2.93 0 0 0 0 2.65l.98-.76c-.06-.18-.09-.37-.09-.56Z"}),(0,U.jsx)("path",{fill:"#E94235",d:"M5.95 10.17c.43 0 .82.15 1.13.44l.84-.84a2.95 2.95 0 0 0-4.6.86l.97.75c.24-.7.89-1.21 1.66-1.21Z"})]})},Ea=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{stroke:"#97979F",strokeOpacity:".3",strokeWidth:".5",d:"M2.4 4.25h19.2c1.23 0 2.15.82 2.15 1.75v12c0 .93-.92 1.75-2.15 1.75H2.4C1.17 19.75.25 18.93.25 18V6c0-.93.92-1.75 2.15-1.75Z"}),(0,U.jsx)("path",{fill:"#1899D6",d:"M8 17c-2.87 0-4.58-1.87-4.5-4.3C3.6 9.58 6.46 7 9.86 7c1.46 0 2.63.36 3.4.74l-.45 2.3a6.14 6.14 0 0 0-3.16-.8c-2.12 0-3.52 1.52-3.57 3.16-.05 1.31.77 2.4 2.36 2.4.36 0 .77-.06 1.05-.13l.62-3.15h2.41l-.93 4.76A9.28 9.28 0 0 1 8 17Zm12.32-5.35-4.94-2.8-1.3 6.57 6.24-3.77Z"})]})},Eo=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#00B14F",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#fff",d:"M3.74 12.45c0 1.32.98 2.33 2.24 2.33 1.22 0 1.83-.8 1.83-1.68v-.32H6.04v.49h1.29c0 .47-.42 1.03-1.35 1.03-1.02 0-1.72-.77-1.72-1.85 0-1.05.76-1.83 1.81-1.83.68 0 1.23.17 1.73.53l.03-.03v-.45a3.14 3.14 0 0 0-1.78-.53 2.3 2.3 0 0 0-2.31 2.3Zm-.74 0a2.94 2.94 0 0 0 2.98 3.05c1.56 0 2.52-1 2.52-2.6v-.83H6.04v.47h2.01v.43c0 1.27-.77 2.05-2.07 2.05-1.42 0-2.48-1.1-2.48-2.57A2.52 2.52 0 0 1 6.05 9.9c.69 0 1.31.17 1.78.5v-.48a2.94 2.94 0 0 0-1.78-.5A3 3 0 0 0 3 12.45Zm6.5.41v2.5h.48v-2.5c0-.55.36-.95.89-.95.16 0 .3.04.45.1.07-.14.13-.27.21-.4a1.22 1.22 0 0 0-.65-.18c-.8 0-1.37.59-1.37 1.43Zm-.68 2.5h.47v-2.5c0-.99.65-1.66 1.6-1.66.31 0 .64.1.78.2.09-.1.19-.22.31-.33-.3-.2-.69-.33-1.12-.33-1.25 0-2.04.86-2.04 2.13v2.5Zm7.36-2.8v.7c.27-.37.51-.7.74-.98.56-.7 1.06-1.1 1.82-1.1 1.03 0 1.79.8 1.79 1.92 0 1.09-.74 1.92-1.76 1.92-.83 0-1.54-.57-1.7-1.36l-.34.46a2.1 2.1 0 0 0 2.03 1.38c1.3 0 2.24-1.05 2.24-2.4 0-1.37-.95-2.4-2.26-2.4-1.35 0-1.97 1.03-2.56 1.86Zm1.45.36h-.01l-.37.5c.06.6.65 1.37 1.52 1.37.9 0 1.54-.74 1.54-1.7s-.66-1.68-1.57-1.68c-.89 0-1.4.66-1.75 1.14-.18.24-.48.62-.81 1.1v.77c.3-.47.73-1.02 1.04-1.4.52-.64.84-1.12 1.51-1.12.65 0 1.1.5 1.1 1.19 0 .7-.42 1.22-1.06 1.22-.67 0-1.14-.62-1.14-1.32v-.07ZM17.16 9v2.02c.15-.12.3-.26.47-.32V9h-.47Zm-.7 2.75c.15-.18.3-.39.47-.56V9h-.47v2.75Zm-1.9 2.3h-.01c-.2.16-.53.26-.84.26-.64 0-1.11-.48-1.11-1.2 0-.7.47-1.22 1.1-1.22.67 0 1.08.5 1.08 1.17v2.3h.47v-2.32c0-.94-.64-1.63-1.55-1.63-.9 0-1.59.7-1.59 1.7 0 .99.69 1.7 1.6 1.68.34-.01.69-.14.84-.25v-.48Zm-3.16-.95c0 1.4.98 2.4 2.3 2.4.3 0 .64-.09.85-.26v-.48c-.14.12-.49.26-.85.26-1.08 0-1.81-.77-1.81-1.92 0-1.1.78-1.91 1.81-1.91s1.78.76 1.78 1.84v2.33h.47v-2.34c0-1.34-.93-2.33-2.25-2.33-1.3 0-2.3 1.05-2.3 2.4Z"})]})},El=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"#BA1319",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{stroke:"#97979F",strokeOpacity:".3",strokeWidth:".5",d:"M2.4 4.25h19.2c1.23 0 2.15.82 2.15 1.75v12c0 .93-.92 1.75-2.15 1.75H2.4C1.17 19.75.25 18.93.25 18V6c0-.93.92-1.75 2.15-1.75Z"}),(0,U.jsx)("path",{fill:"#fff",d:"m3.01 13.38.15-.8.15-.83.25-1.63v-.06h.54v.05c-.03.1-.06.31-.12.64l-.1.6-.02.08h1.48v-.07l.1-.63c.08-.44.09-.47.11-.67h.54l-.01.06-.14.79-.15.84-.13.84-.13.79v.05h-.55l.01-.05.08-.44.08-.45.08-.45.04-.24.01-.05H3.8c0 .1-.01.12-.04.3l-.07.44-.07.45-.08.44v.05H3l.01-.05ZM6.01 13.38l.1-.54.11-.6.1-.6.08-.56v-.05h.48l-.01.05-.11.57-.1.58-.1.61-.08.54v.05H6l.01-.05Zm.49-2.97c0-.24.11-.39.31-.39.14 0 .21.07.21.2 0 .25-.12.4-.32.4-.11 0-.18-.05-.2-.14v-.07ZM6.73 14.45l.16-.9.15-.87.14-.83.11-.77v-.05h.42l-.01.05-.02.14-.01.05c.22-.2.44-.29.75-.29.51 0 .8.3.8.84 0 .3-.09.65-.22.95-.22.48-.58.72-1.06.72-.3 0-.44-.08-.55-.33l-.01.05-.1.72c-.05.24-.07.41-.08.51v.06H6.7l.02-.05Zm.92-2.83-.15.9-.02.18c0 .31.15.47.45.47a.6.6 0 0 0 .48-.21c.19-.23.32-.67.32-1.08 0-.39-.17-.58-.53-.58a.7.7 0 0 0-.54.25l-.01.07ZM10.26 13.48c-.62 0-.93-.28-.93-.86 0-.31.08-.67.22-.97.2-.45.58-.67 1.14-.67.53 0 .79.21.79.63 0 .12-.03.31-.08.53h-.05l-.77-.01H9.85c-.04.22-.04.28-.04.43 0 .39.2.6.6.6.26 0 .51-.06.79-.18l-.07.38c-.27.08-.58.12-.87.12Zm-.3-1.62h1.06v-.07c.02-.05.02-.1.02-.15 0-.24-.15-.36-.45-.36-.37 0-.58.18-.68.58h.05ZM11.55 13.38l.1-.54.1-.6.1-.6.08-.56v-.05h.42v.05l-.06.3-.01.07c.07-.13.1-.16.16-.23.13-.16.3-.24.48-.24.1 0 .17.02.26.06l-.06.35a.83.83 0 0 0-.27-.05c-.28 0-.52.26-.62.66-.04.15-.07.33-.1.53-.1.6-.1.65-.12.9h-.47v-.05ZM14.84 11.4c-.2-.06-.4-.1-.6-.1-.22 0-.4.06-.5.17-.2.19-.34.66-.34 1.08 0 .4.17.6.52.6.2 0 .47-.06.66-.16l-.07.37c-.23.08-.48.12-.73.12-.36 0-.56-.08-.71-.3a.95.95 0 0 1-.15-.57c0-.33.08-.68.23-.98.06-.14.16-.27.27-.38.2-.19.46-.27.88-.27.15 0 .3 0 .55.03h.05l-.06.4ZM15.53 13.48c-.47 0-.69-.2-.69-.62 0-.63.42-1 1.16-1l.49.03.01-.06.03-.24c0-.2-.15-.3-.46-.3-.24 0-.47.05-.77.13l.09-.4.04.01c.07 0 .19 0 .35-.03l.4-.02c.55 0 .8.15.8.48 0 .09-.01.19-.05.4l-.08.44a7.14 7.14 0 0 0-.12 1.13h-.41v-.04a4 4 0 0 1 .03-.36.88.88 0 0 1-.82.45Zm.86-1.32-.3-.01c-.28 0-.45.03-.58.14a.63.63 0 0 0-.22.5c0 .24.14.37.4.37.25 0 .47-.15.58-.38.07-.16.12-.34.17-.61h-.05ZM17.13 13.38l.1-.54.1-.6.1-.6.08-.56v-.05h.42v.05l-.06.3-.02.07c.08-.13.11-.16.17-.23.13-.16.3-.24.48-.24.1 0 .17.02.26.06l-.06.35a.83.83 0 0 0-.28-.05c-.27 0-.51.26-.61.66-.04.15-.07.33-.1.53-.1.6-.1.65-.12.9h-.47v-.05ZM19.3 13.48c-.54 0-.8-.26-.8-.82 0-.33.08-.68.23-.98.22-.46.6-.7 1.1-.7.15 0 .3.01.4.04l.14.05V11a13.58 13.58 0 0 0 .16-.97V10H21v.03a51.23 51.23 0 0 0-.53 3.36v.04h-.43l.02-.2.03-.2c-.19.34-.4.45-.8.45Zm.56-2.19a.7.7 0 0 0-.49.17c-.23.21-.38.67-.38 1.14 0 .39.14.56.47.56.24 0 .46-.15.56-.37.05-.1.09-.23.12-.38l.17-.97v-.06a1.2 1.2 0 0 0-.45-.09Z"})]})},Eu=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#FFF48D",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#fff",d:"M1.5 9.06v6.38c0 .31.25.56.56.56h3.85c2.91 0 4.18-1.62 4.18-3.76 0-2.14-1.27-3.74-4.18-3.74H2.06c-.3 0-.56.25-.56.56Z"}),(0,U.jsx)("path",{fill:"#C06",d:"M4.08 10.07v4.72h2.07c1.88 0 2.7-1.06 2.7-2.55 0-1.49-.82-2.53-2.7-2.53H4.44c-.2 0-.36.16-.36.36Z"}),(0,U.jsx)("path",{fill:"#232323",fillRule:"evenodd",d:"M2.56 15.5h3.35c2.35 0 3.65-1.16 3.65-3.26 0-1.2-.47-3.23-3.65-3.23H2.56c-.3 0-.54.24-.54.54v5.4c0 .3.25.54.54.54ZM2.2 9.54c0-.2.16-.36.36-.36h3.35c1.3 0 3.47.4 3.47 3.05 0 1.98-1.23 3.07-3.47 3.07H2.56a.36.36 0 0 1-.36-.35V9.55Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M5.1 11.56a.59.59 0 0 0-.2-.04h-.48v1.14h.48c.09 0 .16-.02.22-.04a.46.46 0 0 0 .25-.3.86.86 0 0 0 0-.48.58.58 0 0 0-.11-.18.45.45 0 0 0-.16-.1Zm-.12.88a.34.34 0 0 1-.1.01h-.22v-.71h.18a.4.4 0 0 1 .15.02l.1.08.05.12.02.15c0 .07 0 .12-.02.16a.33.33 0 0 1-.07.1.2.2 0 0 1-.09.07Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#fff",d:"M6.4 11.74h-.6v.24h.55v.2H5.8v.27h.6v.21h-.85v-1.14h.84v.22Z"}),(0,U.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"m7.65 12.67-.42-1.14h-.25l-.42 1.14h.25l.08-.26h.42l.09.26h.25Zm-.54-.86.14.41h-.29l.15-.41Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#fff",d:"M8.05 11.52v.93h.54v.21h-.78v-1.14h.24Z"}),(0,U.jsx)("path",{fill:"#232323",d:"M3.11 12.68a.54.54 0 1 0 0-1.07.54.54 0 0 0 0 1.07ZM3.43 14.83c-.41 0-.75-.36-.75-.8v-.63c0-.22.17-.4.38-.4s.38.18.38.4v1.43Z"}),(0,U.jsx)("path",{fill:"#1D1C1C",d:"M20.06 12.28c0-.63.44-1.2 1.22-1.2.77 0 1.22.57 1.22 1.2 0 .62-.45 1.2-1.22 1.2-.78 0-1.22-.58-1.22-1.2Zm1.76 0c0-.3-.2-.59-.54-.59-.35 0-.55.28-.55.59 0 .3.2.58.55.58.34 0 .54-.28.54-.58ZM19.58 12.72a.83.83 0 0 0 .41-.73.82.82 0 0 0-.84-.85h-1.09v2.27h.67v-.58h.13l.38.58h.8l-.46-.69Zm-.57-.41h-.28v-.64h.28c.18 0 .3.14.3.32 0 .17-.12.32-.3.32ZM15 11.14l-.4 1.35-.39-1.35h-.53l-.4 1.35-.4-1.35h-.7l.8 2.26h.59l.37-1.23.38 1.23h.58l.81-2.26h-.7ZM16.72 12.85a.52.52 0 0 1-.5-.35h1.7a1.17 1.17 0 0 0-1.2-1.42v.61c.26 0 .43.15.5.35h-1.7l-.02.23c0 .63.45 1.2 1.22 1.2v-.62Z"}),(0,U.jsx)("path",{fill:"url(#b)",d:"M16.72 13.47h.08c.16-.01.3-.04.43-.1a1.12 1.12 0 0 0 .68-.82h-.7a.58.58 0 0 1-.15.19.5.5 0 0 1-.26.1l-.08.01a.52.52 0 0 1-.38-.16l-.46.47c.2.19.5.3.84.3Z"}),(0,U.jsx)("path",{fill:"url(#c)",d:"M16.72 11.08c-.65 0-1.07.4-1.18.91h.7c.09-.17.25-.3.48-.3.19 0 .33.08.42.2l.47-.47c-.21-.21-.51-.34-.89-.34Z"}),(0,U.jsx)("path",{fill:"#1D1C1C",d:"M11.12 14.78a.1.1 0 0 1-.1-.1V9.81a.1.1 0 0 1 .2 0v4.87a.1.1 0 0 1-.1.1Z"}),(0,U.jsxs)("defs",{children:[(0,U.jsxs)("linearGradient",{id:"b",x1:"17.57",x2:"16.51",y1:"12.14",y2:"13.43",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{offset:".02",stopColor:"#1D1C1C",stopOpacity:"0"}),(0,U.jsx)("stop",{offset:".68",stopColor:"#1D1C1C"})]}),(0,U.jsxs)("linearGradient",{id:"c",x1:"15.72",x2:"16.8",y1:"12.41",y2:"11.34",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{offset:".02",stopColor:"#1D1C1C",stopOpacity:"0"}),(0,U.jsx)("stop",{offset:".68",stopColor:"#1D1C1C"})]})]})]})},Ec=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F5B214",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#221E1F",fillRule:"evenodd",d:"M8 18h2v-2H8a1 1 0 1 0 0 2Zm0-6h2v-2H8a1 1 0 0 0 0 2Zm0 3h2v-2H8a1 1 0 1 0 0 2Zm9-1v6h-4a2 2 0 0 1-2-2V9a1 1 0 0 1 2 0v5h1v-3l2.16 1.44c.52.35.84.93.84 1.56Z",clipRule:"evenodd"})]})},Ed=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"url(#b)",d:"M15.54 13.13h1.02l.12-.01c.2-.04.36-.22.36-.46 0-.23-.17-.4-.36-.45H15.54v.92Z"}),(0,U.jsx)("path",{fill:"url(#c)",d:"M16.44 6.74c-.96 0-1.75.78-1.75 1.76v1.82h2.64c.56.03.98.32.98.82 0 .4-.28.73-.8.8v.02c.57.04 1 .36 1 .85 0 .53-.48.87-1.12.87h-2.71v3.57h2.57c.96 0 1.75-.78 1.75-1.76V6.74h-2.56Z"}),(0,U.jsx)("path",{fill:"url(#d)",d:"M16.91 11.26a.4.4 0 0 0-.35-.42h-1.02v.84h1.02a.4.4 0 0 0 .35-.42Z"}),(0,U.jsx)("path",{fill:"url(#e)",d:"M6.76 6.74C5.79 6.74 5 7.52 5 8.5v4.32c.5.24 1 .4 1.52.4.6 0 .93-.37.93-.87V10.3h1.5v2.03c0 .79-.49 1.43-2.16 1.43-1 0-1.8-.22-1.8-.22v3.69h2.57c.97 0 1.76-.78 1.76-1.76V6.74H6.76Z"}),(0,U.jsx)("path",{fill:"url(#f)",d:"M11.6 6.74c-.96 0-1.75.78-1.75 1.76v2.29c.44-.38 1.2-.62 2.45-.56.66.03 1.38.21 1.38.21v.74a3.33 3.33 0 0 0-1.33-.38c-.94-.07-1.51.4-1.51 1.2 0 .82.57 1.28 1.5 1.2a3.5 3.5 0 0 0 1.34-.38v.74s-.7.18-1.38.21c-1.24.06-2.01-.18-2.45-.56v4.05h2.57c.96 0 1.75-.78 1.75-1.76V6.74H11.6Z"}),(0,U.jsxs)("defs",{children:[(0,U.jsxs)("linearGradient",{id:"b",x1:"-3.06",x2:"37.54",y1:"12.01",y2:"12.01",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#007940"}),(0,U.jsx)("stop",{offset:".23",stopColor:"#00873F"}),(0,U.jsx)("stop",{offset:".74",stopColor:"#40A737"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#5CB531"})]}),(0,U.jsxs)("linearGradient",{id:"c",x1:"5.02",x2:"19.04",y1:"12",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#007940"}),(0,U.jsx)("stop",{offset:".23",stopColor:"#00873F"}),(0,U.jsx)("stop",{offset:".74",stopColor:"#40A737"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#5CB531"})]}),(0,U.jsxs)("linearGradient",{id:"d",x1:"-3.8",x2:"40.52",y1:"11.98",y2:"11.98",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#007940"}),(0,U.jsx)("stop",{offset:".23",stopColor:"#00873F"}),(0,U.jsx)("stop",{offset:".74",stopColor:"#40A737"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#5CB531"})]}),(0,U.jsxs)("linearGradient",{id:"e",x1:"5.02",x2:"19.25",y1:"12",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#1F286F"}),(0,U.jsx)("stop",{offset:".47",stopColor:"#004E94"}),(0,U.jsx)("stop",{offset:".83",stopColor:"#0066B1"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#006FBC"})]}),(0,U.jsxs)("linearGradient",{id:"f",x1:"9.82",x2:"14.09",y1:"11.99",y2:"11.99",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#6C2C2F"}),(0,U.jsx)("stop",{offset:".17",stopColor:"#882730"}),(0,U.jsx)("stop",{offset:".57",stopColor:"#BE1833"}),(0,U.jsx)("stop",{offset:".86",stopColor:"#DC0436"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#E60039"})]})]})]})},E_=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"#FFE101",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{stroke:"#97979F",strokeOpacity:".3",strokeWidth:".5",d:"M2.4 4.25h19.2c1.23 0 2.15.82 2.15 1.75v12c0 .93-.92 1.75-2.15 1.75H2.4C1.17 19.75.25 18.93.25 18V6c0-.93.92-1.75 2.15-1.75Z"}),(0,U.jsx)("path",{fill:"#000",d:"M5.96 10h.3c.76.04 1.54.3 2.07.88.69.76.58 1.79-.2 2.44-.68.56-1.46.72-2.31.66-.12.06-.3.2-.43.27-.31.2-.62.43-.95.61a.12.12 0 0 1-.1 0 .12.12 0 0 1-.06-.06.25.25 0 0 1 0-.13l.24-.86.07-.2a2.52 2.52 0 0 1-.37-.23c-.38-.31-.66-.71-.7-1.2-.06-.48.07-.86.37-1.24.37-.45.95-.73 1.51-.86l.56-.07Z"}),(0,U.jsx)("path",{fill:"#000",fillRule:"evenodd",d:"M12.09 10.23c1.16-.04 1.43 1.15 1.3 2.06-.08.43-.28.84-.64 1.1-.45.33-.95.33-1.46.25v1.22h-.92v-4.54h.64c.03.09.08.2.13.28.22-.23.54-.34.87-.37h.08Zm-.37.7a1.1 1.1 0 0 0-.43.12v1.97c.27.01.43.03.7-.07.54-.25.53-.95.46-1.46-.06-.39-.33-.58-.73-.55ZM15.24 10.23c.4-.04.88.06 1.16.33.4.4.33 1.04.33 1.56v1.47h-.65l-.07-.27c-.41.26-.75.41-1.26.35a.91.91 0 0 1-.64-.37c-.21-.3-.24-.87-.05-1.18.37-.59 1.21-.52 1.82-.52 0-.25-.03-.52-.31-.6-.35-.1-.9.02-1.21.17-.09-.17-.18-.4-.26-.58.35-.2.74-.33 1.14-.36Zm.64 1.94h-.62c-.17.03-.31.06-.43.2-.07.1-.1.22-.08.34.04.32.37.33.62.27.22-.06.32-.1.51-.23v-.58Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#000",d:"M19.61 10.2c.3.06.58.16.89.22-.06.22-.16.46-.25.68l-.3.77-.36.96c-.3.82-.63 1.68-1.42 2.17l-.56-.5c.3-.25.55-.55.75-.89l-.21-.56-.66-1.73c-.1-.25-.24-.65-.35-.89l.91-.22c.04.1.08.22.1.33.22.75.48 1.5.69 2.25.03-.16.1-.35.15-.51l.32-1.09.18-.59.12-.4Z"})]})},Eh=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#000",d:"M19.27 13.55a.75.75 0 0 1-.74-.75c0-.42.33-.76.74-.76.42 0 .75.34.75.76 0 .41-.33.75-.75.75Zm-.2.8c.35 0 .8-.13 1.06-.66l.02.01c-.1.3-.1.46-.1.5v.07h.89v-2.95h-.9v.07c0 .04 0 .2.11.5h-.02c-.25-.52-.7-.65-1.06-.65-.86 0-1.46.67-1.46 1.56 0 .88.6 1.55 1.46 1.55Zm-3.02-3.11c-.4 0-.72.14-.98.66l-.02-.01c.1-.3.1-.46.1-.5v-.07h-.89v2.95h.92v-1.55c0-.41.24-.67.63-.67s.58.22.58.66v1.56h.92V12.4c0-.67-.53-1.15-1.26-1.15Zm-3.12.66-.02-.01c.1-.3.1-.46.1-.5v-.07h-.89v2.95h.92v-1.42c0-.41.23-.66.6-.66a1 1 0 0 1 .26.03v-.9c-.4-.09-.77.07-.97.58Zm-2.92 1.65a.75.75 0 0 1-.75-.75c0-.42.33-.76.75-.76.41 0 .74.34.74.76 0 .41-.33.75-.74.75Zm-.21.8c.35 0 .8-.13 1.06-.66l.02.01c-.1.3-.1.46-.1.5v.07h.89v-2.95h-.9v.07c0 .04 0 .2.11.5h-.02c-.25-.52-.7-.65-1.06-.65-.86 0-1.46.67-1.46 1.56 0 .88.6 1.55 1.46 1.55Zm-2.74-.08h.92V10h-.92v4.27ZM6.4 10h-.94c0 .76-.47 1.45-1.2 1.93l-.27.2V10H3v4.27h.98v-2.12l1.6 2.12h1.2l-1.55-2.02A2.7 2.7 0 0 0 6.39 10Z"})]})},Ef=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{stroke:"#97979F",strokeOpacity:".3",strokeWidth:".5",d:"M2.4 4.25h19.2c1.23 0 2.15.82 2.15 1.75v12c0 .93-.92 1.75-2.15 1.75H2.4C1.17 19.75.25 18.93.25 18V6c0-.93.92-1.75 2.15-1.75Z"}),(0,U.jsxs)("mask",{id:"a",width:"20",height:"8",x:"2",y:"8",fill:"#000",maskUnits:"userSpaceOnUse",children:[(0,U.jsx)("path",{fill:"#fff",d:"M2 8h20v8H2z"}),(0,U.jsx)("path",{d:"m11.2 12.05-.06-.05c-.25-.24-.6-.35-1.05-.32-.38.02-.68.17-.92.31 0-.13.02-.26.03-.38l.03-.38a.89.89 0 0 0-.06-.35.07.07 0 0 0-.06-.04 1 1 0 0 0-.43.14l-.03.07c0 .13-.03.51-.06.56l-.02.05a6.89 6.89 0 0 0 0 1.43c0 .04.08.1.14.13.07.02.28-.04.4-.08h.05c.03-.01.06-.05.05-.09v-.12c.1-.35.45-.77.87-.84a.6.6 0 0 1 .57.19c.02.02.06.28-.1.57-.11.22-.34.4-.65.52-.29.1-.6.15-1 .14l-.36-.25c-.31-.22-.7-.49-1.05-.62-.06-.03-.17-.12-.24-.17l-.04-.03c-.2-.16-.58-.42-.89-.63l-.17-.1v-.04l.2-.13c.28-.16.4-.24.43-.28l.04-.02.67-.38a8.23 8.23 0 0 0 1.76-1.15l.02-.06v-.06a.37.37 0 0 0 .01-.22c0-.03-.02-.05-.05-.06-.3-.03-.69.15-1.04.48a.94.94 0 0 1-.21.15l-.06.03c-.39.22-1.26.77-1.72 1.06.03-.5.12-1.2.23-1.78v-.07l-.06-.08-.03-.07h-.01c-.1-.05-.17-.03-.22-.01l-.1.03-.12.04a.07.07 0 0 0-.05.05c-.22.53-.4 1.4-.44 2.1a10.5 10.5 0 0 0-1.04-.58l-.03-.01a.73.73 0 0 1-.24-.11l-.17-.11-.25-.16-.07-.02a.8.8 0 0 0-.38.26l-.01.04v.06l.02.05.01.03c.12.12.43.33.73.5l.35.18.54.3.09.06.06.04h.01l-.97.66-.51.34a3 3 0 0 1-.3.14.42.42 0 0 0-.23.19l-.01.03.01.02.04.03.06.03.05.04h.05c.1.01.23-.04.48-.15.23-.1.85-.48 1.11-.64l.12-.06c.04 0 .1-.04.14-.07.05-.05.17-.12.24-.15l.08-.04v.03c.01.8.06 1.4.15 1.86v.02c.05.07.1.26.14.43l.1.34.03.03c.06.04.24.1.35.1l.03-.01.02-.04.02-.16-.01-.21-.01-.12c-.04-.57-.08-1.4-.08-1.93v-.05l.52.33c.72.46 1.8 1.17 2.46 1.35a.1.1 0 0 0 .1-.02l.1-.06.01-.01c.04-.02.06-.08.07-.15.55-.03 1.32-.24 1.73-.76.16-.2.23-.45.23-.66 0-.17-.04-.32-.13-.4ZM13.01 10h.64v1.79L15.8 10h.9l-2.27 1.8L16.9 14H16l-2.34-2.14V14H13v-4ZM17.34 10h1.96c.94 0 1.43.31 1.43.99 0 .48-.34.82-.79.9v.02c.64.08.95.5.95.98 0 .6-.44 1.11-1.53 1.11h-2.02v-4Zm.63 1.69h1.3c.48 0 .84-.19.84-.61 0-.38-.18-.62-.91-.62h-1.23v1.22Zm0 1.86h1.26c.78 0 .99-.3.99-.7 0-.46-.32-.71-1.02-.71h-1.23v1.4Z"})]}),(0,U.jsx)("path",{fill:"#FCAF16",d:"m11.2 12.05-.06-.05c-.25-.24-.6-.35-1.05-.32-.38.02-.68.17-.92.31 0-.13.02-.26.03-.38l.03-.38a.89.89 0 0 0-.06-.35.07.07 0 0 0-.06-.04 1 1 0 0 0-.43.14l-.03.07c0 .13-.03.51-.06.56l-.02.05a6.89 6.89 0 0 0 0 1.43c0 .04.08.1.14.13.07.02.28-.04.4-.08h.05c.03-.01.06-.05.05-.09v-.12c.1-.35.45-.77.87-.84a.6.6 0 0 1 .57.19c.02.02.06.28-.1.57-.11.22-.34.4-.65.52-.29.1-.6.15-1 .14l-.36-.25c-.31-.22-.7-.49-1.05-.62-.06-.03-.17-.12-.24-.17l-.04-.03c-.2-.16-.58-.42-.89-.63l-.17-.1v-.04l.2-.13c.28-.16.4-.24.43-.28l.04-.02.67-.38a8.23 8.23 0 0 0 1.76-1.15l.02-.06v-.06a.37.37 0 0 0 .01-.22c0-.03-.02-.05-.05-.06-.3-.03-.69.15-1.04.48a.94.94 0 0 1-.21.15l-.06.03c-.39.22-1.26.77-1.72 1.06.03-.5.12-1.2.23-1.78v-.07l-.06-.08-.03-.07h-.01c-.1-.05-.17-.03-.22-.01l-.1.03-.12.04a.07.07 0 0 0-.05.05c-.22.53-.4 1.4-.44 2.1a10.5 10.5 0 0 0-1.04-.58l-.03-.01a.73.73 0 0 1-.24-.11l-.17-.11-.25-.16-.07-.02a.8.8 0 0 0-.38.26l-.01.04v.06l.02.05.01.03c.12.12.43.33.73.5l.35.18.54.3.09.06.06.04h.01l-.97.66-.51.34a3 3 0 0 1-.3.14.42.42 0 0 0-.23.19l-.01.03.01.02.04.03.06.03.05.04h.05c.1.01.23-.04.48-.15.23-.1.85-.48 1.11-.64l.12-.06c.04 0 .1-.04.14-.07.05-.05.17-.12.24-.15l.08-.04v.03c.01.8.06 1.4.15 1.86v.02c.05.07.1.26.14.43l.1.34.03.03c.06.04.24.1.35.1l.03-.01.02-.04.02-.16-.01-.21-.01-.12c-.04-.57-.08-1.4-.08-1.93v-.05l.52.33c.72.46 1.8 1.17 2.46 1.35a.1.1 0 0 0 .1-.02l.1-.06.01-.01c.04-.02.06-.08.07-.15.55-.03 1.32-.24 1.73-.76.16-.2.23-.45.23-.66 0-.17-.04-.32-.13-.4Z"}),(0,U.jsx)("path",{fill:"#776C61",d:"M13.01 10h.64v1.79L15.8 10h.9l-2.27 1.8L16.9 14H16l-2.34-2.14V14H13v-4ZM17.34 10h1.96c.94 0 1.43.31 1.43.99 0 .48-.34.82-.79.9v.02c.64.08.95.5.95.98 0 .6-.44 1.11-1.53 1.11h-2.02v-4Zm.63 1.69h1.3c.48 0 .84-.19.84-.61 0-.38-.18-.62-.91-.62h-1.23v1.22Zm0 1.86h1.26c.78 0 .99-.3.99-.7 0-.46-.32-.71-1.02-.71h-1.23v1.4Z"}),(0,U.jsx)("path",{stroke:"#776C61",strokeWidth:".23",d:"m11.2 12.05-.06-.05c-.25-.24-.6-.35-1.05-.32-.38.02-.68.17-.92.31 0-.13.02-.26.03-.38l.03-.38a.89.89 0 0 0-.06-.35.07.07 0 0 0-.06-.04 1 1 0 0 0-.43.14l-.03.07c0 .13-.03.51-.06.56l-.02.05a6.89 6.89 0 0 0 0 1.43c0 .04.08.1.14.13.07.02.28-.04.4-.08h.05c.03-.01.06-.05.05-.09v-.12c.1-.35.45-.77.87-.84a.6.6 0 0 1 .57.19c.02.02.06.28-.1.57-.11.22-.34.4-.65.52-.29.1-.6.15-1 .14l-.36-.25c-.31-.22-.7-.49-1.05-.62-.06-.03-.17-.12-.24-.17l-.04-.03c-.2-.16-.58-.42-.89-.63l-.17-.1v-.04l.2-.13c.28-.16.4-.24.43-.28l.04-.02.67-.38a8.23 8.23 0 0 0 1.76-1.15l.02-.06v-.06a.37.37 0 0 0 .01-.22c0-.03-.02-.05-.05-.06-.3-.03-.69.15-1.04.48a.94.94 0 0 1-.21.15l-.06.03c-.39.22-1.26.77-1.72 1.06.03-.5.12-1.2.23-1.78v-.07l-.06-.08-.03-.07h-.01c-.1-.05-.17-.03-.22-.01l-.1.03-.12.04a.07.07 0 0 0-.05.05c-.22.53-.4 1.4-.44 2.1a10.5 10.5 0 0 0-1.04-.58l-.03-.01a.73.73 0 0 1-.24-.11l-.17-.11-.25-.16-.07-.02a.8.8 0 0 0-.38.26l-.01.04v.06l.02.05.01.03c.12.12.43.33.73.5l.35.18.54.3.09.06.06.04h.01l-.97.66-.51.34a3 3 0 0 1-.3.14.42.42 0 0 0-.23.19l-.01.03.01.02.04.03.06.03.05.04h.05c.1.01.23-.04.48-.15.23-.1.85-.48 1.11-.64l.12-.06c.04 0 .1-.04.14-.07.05-.05.17-.12.24-.15l.08-.04v.03c.01.8.06 1.4.15 1.86v.02c.05.07.1.26.14.43l.1.34.03.03c.06.04.24.1.35.1l.03-.01.02-.04.02-.16-.01-.21-.01-.12c-.04-.57-.08-1.4-.08-1.93v-.05l.52.33c.72.46 1.8 1.17 2.46 1.35a.1.1 0 0 0 .1-.02l.1-.06.01-.01c.04-.02.06-.08.07-.15.55-.03 1.32-.24 1.73-.76.16-.2.23-.45.23-.66 0-.17-.04-.32-.13-.4ZM13.01 10h.64v1.79L15.8 10h.9l-2.27 1.8L16.9 14H16l-2.34-2.14V14H13v-4ZM17.34 10h1.96c.94 0 1.43.31 1.43.99 0 .48-.34.82-.79.9v.02c.64.08.95.5.95.98 0 .6-.44 1.11-1.53 1.11h-2.02v-4Zm.63 1.69h1.3c.48 0 .84-.19.84-.61 0-.38-.18-.62-.91-.62h-1.23v1.22Zm0 1.86h1.26c.78 0 .99-.3.99-.7 0-.46-.32-.71-1.02-.71h-1.23v1.4Z",mask:"url(#a)"})]})},Ep=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#000",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#7375CF",d:"M14.16 8.06H9.84v7.77h4.32V8.06Z"}),(0,U.jsx)("path",{fill:"#EB001B",d:"M10.11 11.94A4.94 4.94 0 0 1 12 8.06a4.94 4.94 0 1 0 0 7.77 4.94 4.94 0 0 1-1.89-3.89Z"}),(0,U.jsx)("path",{fill:"#00A2E5",d:"M19.53 15v-.15h.06v-.03h-.16v.03h.06V15h.04Zm.32 0v-.18h-.05l-.06.13-.06-.13h-.05V15h.04v-.15l.05.13h.04l.05-.13v.15h.04ZM20 11.94a4.94 4.94 0 0 1-8 3.9 4.95 4.95 0 0 0 0-7.78 4.94 4.94 0 0 1 8 3.88Z"})]})},EE=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#FF5F00",d:"M14.16 8.06H9.84v7.77h4.32V8.06Z"}),(0,U.jsx)("path",{fill:"#EB001B",d:"M10.11 11.94c0-1.5.7-2.95 1.88-3.88a4.94 4.94 0 1 0 .02 7.77 4.95 4.95 0 0 1-1.9-3.89Z"}),(0,U.jsx)("path",{fill:"#F79E1B",d:"M20 11.94a4.94 4.94 0 0 1-8 3.89 4.95 4.95 0 0 0 0-7.77 4.92 4.92 0 0 1 8 3.88Z"})]})},Em=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#A50064",d:"M7 8.11A1.11 1.11 0 0 1 8.11 7h7.78A1.11 1.11 0 0 1 17 8.11v7.78A1.11 1.11 0 0 1 15.89 17H8.1A1.11 1.11 0 0 1 7 15.89V8.1Z"}),(0,U.jsx)("path",{fill:"#fff",d:"M14.2 8.39a1.58 1.58 0 1 0 0 3.15 1.58 1.58 0 0 0 0-3.15Zm0 2.25a.67.67 0 0 1 0-1.35.67.67 0 0 1 0 1.35ZM11 8.39c-.26 0-.51.08-.72.23-.2-.15-.44-.23-.71-.23-.66 0-1.18.53-1.18 1.18v1.97h.9V9.57a.26.26 0 1 1 .52 0v1.97h.91V9.57a.26.26 0 1 1 .52 0v1.97h.9V9.58c.03-.66-.49-1.2-1.15-1.2Zm3.2 3.84a1.58 1.58 0 1 0 0 3.15 1.58 1.58 0 0 0 0-3.15Zm0 2.23a.67.67 0 1 1 0-1.34.67.67 0 0 1 0 1.34ZM11 12.23c-.26 0-.51.08-.72.23-.2-.15-.44-.23-.71-.23-.66 0-1.18.53-1.18 1.18v1.97h.9V13.4a.26.26 0 1 1 .52 0v1.98h.91v-1.98a.26.26 0 1 1 .52 0v1.98h.9V13.4c.03-.66-.49-1.18-1.15-1.18Z"})]})},Eg=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#383536",fillRule:"evenodd",d:"M16.97 12.1c.49.22.83.7.83 1.25 0 .78-.68 1.41-1.5 1.41h-2.32c-.22 0-.4-.17-.4-.37V10c0-.22.18-.4.4-.4h1.92a1.48 1.48 0 0 1 1.07 2.5Zm-1.73-.37h.73a.7.7 0 0 0 .6-.7.7.7 0 0 0-.7-.7h-1.49V14h1.88c.4 0 .73-.32.73-.72 0-.4-.33-.72-.73-.72h-1.02a.4.4 0 0 1-.41-.41c0-.23.18-.4.4-.4Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#383536",d:"M13.22 14.32a.46.46 0 1 1-.93.1l-.38-3.5-1.35 3.42v.02h-.01v.02h-.01v.01a.46.46 0 0 1-.1.13.46.46 0 0 1-.09.06l-.02.01h-.01v.01h-.02l-.02.01a.46.46 0 0 1-.14.03h-.03a.46.46 0 0 1-.15-.03h-.01l-.01-.01h-.02l-.01-.01H9.9v-.01a.47.47 0 0 1-.08-.05l-.01-.01-.01-.02h-.02l-.01-.02a.46.46 0 0 1-.05-.08l-.01-.02v-.01H9.7v-.02L8.33 10.9l-.38 3.5a.47.47 0 1 1-.93-.09l.45-4.13a.77.77 0 0 1 .67-.69H8.29c.05 0 .1 0 .14.02.24.05.45.22.54.46l1.15 2.92 1.15-2.92a.76.76 0 0 1 .69-.48.78.78 0 0 1 .14 0 .77.77 0 0 1 .67.68l.45 4.14Z"}),(0,U.jsx)("path",{fill:"#1766AC",fillRule:"evenodd",d:"M17 17.54c1.05 0 1.06-1.12.96-1.68-.06-.37-.7-.37-.76 0v.43c0 .2-.17.36-.36.36H7.99a.36.36 0 0 1-.36-.36v-.43c-.07-.37-.7-.37-.76 0-.1.56-.1 1.68.96 1.68H17ZM16.24 6.8c.5 0 .9.43.9.96v.46c0 .65-.87.65-.87 0v-.25a.3.3 0 0 0-.3-.29H8.84a.3.3 0 0 0-.29.3v.24c0 .64-.84.64-.84.01v-.47c0-.53.41-.96.91-.96h7.62Z",clipRule:"evenodd"})]})},EA=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#009DDC",fillRule:"evenodd",d:"M15.48 9.54c.13-.78 0-1.3-.42-1.79-.46-.52-1.3-.75-2.37-.75H9.6c-.22 0-.41.16-.45.38l-1.29 8.2c-.02.16.1.31.26.31h1.92l-.13.84c-.02.14.09.27.23.27h1.62c.19 0 .35-.14.38-.33l.02-.08.3-1.93.02-.1c.03-.2.2-.34.39-.34h.24c1.57 0 2.8-.63 3.15-2.48.15-.76.07-1.4-.32-1.86a1.54 1.54 0 0 0-.45-.34Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#211D6F",fillRule:"evenodd",d:"M15.48 9.54c.13-.78 0-1.3-.42-1.79-.46-.52-1.3-.75-2.37-.75H9.6c-.22 0-.41.16-.45.38l-1.29 8.2c-.02.16.1.31.26.31h1.92l.48-3.06-.01.1a.44.44 0 0 1 .44-.38h.91c1.79 0 3.2-.72 3.6-2.83l.03-.18Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#1C3587",fillRule:"evenodd",d:"M11.03 9.55a.39.39 0 0 1 .39-.33h2.43a5.09 5.09 0 0 1 1.3.18c.12.04.23.09.33.14.13-.78 0-1.3-.42-1.79-.46-.52-1.3-.75-2.37-.75H9.6c-.22 0-.41.16-.45.38l-1.29 8.2c-.02.16.1.31.26.31h1.92l.48-3.06.52-3.28Z",clipRule:"evenodd"})]})},EI=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#141414",d:"M16.13 11.71c0-.7.47-1.08.92-1.08h.15c.45 0 .77.35.8.79h-.37c-.02-.26-.2-.46-.42-.46h-.16c-.27 0-.53.28-.53.75 0 .48.25.76.52.76h.16c.23 0 .4-.21.43-.47h.38c-.04.45-.42.8-.81.8h-.16c-.46 0-.91-.38-.91-1.09Zm3.92.21v.85h-.36v-1.52h.36v.2a.33.33 0 0 1 .3-.2h.2v.3h-.22c-.18 0-.28.2-.28.37Zm-14.7-.2-.02.03-1.07 1.05h-.02a.02.02 0 0 1-.02 0 .02.02 0 0 1 0-.01v-1.07l-.02.03-1.06 1.05a.05.05 0 0 1-.03 0h-.04l-1.06-1.05-.01-.03.01-.04 1.06-1.05h.07l1.06 1.05a.05.05 0 0 1 .01.03v-1.07s.01-.02.03-.02h.02l1.07 1.06a.05.05 0 0 1 .01.03Zm2.36-.98a.74.74 0 0 0-.35-.08h-.89v2.1h.39v-.8h.5c.13 0 .25-.03.36-.09.1-.05.17-.13.23-.23.05-.1.08-.2.08-.33a.7.7 0 0 0-.08-.34.57.57 0 0 0-.23-.23Zm-.1.73a.27.27 0 0 1-.11.12.35.35 0 0 1-.18.04h-.46v-.65h.46c.1 0 .18.03.24.1.05.05.08.13.08.23 0 .06-.01.11-.03.16Zm3.22-.22L10.2 13a.62.62 0 0 1-.19.28.44.44 0 0 1-.28.09h-.2v-.3h.17c.06 0 .1-.01.13-.05.04-.04.1-.2.11-.24l-.57-1.54h.38l.37 1.09c.02-.1.36-1.1.36-1.1h.36Zm1.13.76c.06.07.1.17.1.3 0 .1-.03.18-.08.25a.5.5 0 0 1-.2.17.61.61 0 0 1-.27.06h-.12c-.1 0-.2-.02-.29-.06a.45.45 0 0 1-.2-.16.53.53 0 0 1-.08-.28h.36c0 .06.01.14.06.17.04.05.1.06.15.06h.1c.06 0 .1-.02.15-.05.03-.02.05-.07.05-.13 0-.05-.01-.09-.04-.11a.26.26 0 0 0-.14-.06l-.3-.06a.48.48 0 0 1-.27-.15.41.41 0 0 1-.1-.28c0-.09.03-.16.07-.24a.47.47 0 0 1 .2-.16.6.6 0 0 1 .25-.06h.12c.1 0 .18.02.26.06a.5.5 0 0 1 .2.16c.05.07.07.19.07.28h-.34c0-.05-.01-.13-.06-.17a.19.19 0 0 0-.13-.05h-.1a.2.2 0 0 0-.13.04.14.14 0 0 0-.05.11c0 .04.01.07.04.1s.07.05.12.06l.3.07c.13.02.23.07.3.13Zm1.5.42-.01-.08v-.56c0-.1-.02-.2-.07-.29a.5.5 0 0 0-.2-.2.6.6 0 0 0-.3-.08h-.11c-.1 0-.2.02-.3.07a.57.57 0 0 0-.21.18.45.45 0 0 0-.1.25h.37c0-.07.02-.11.06-.15.05-.04.1-.06.18-.06h.1a.2.2 0 0 1 .12.03c.03.03.06.06.07.1.02.04.03.08.03.13v.04l-.4.06a.82.82 0 0 0-.4.15.4.4 0 0 0-.14.33c0 .09.02.16.06.23.04.07.1.12.18.15.08.04.17.06.27.06s.2-.02.29-.06c.08-.05.14-.1.18-.18 0 .08.03.13.07.16.05.04.1.06.18.06h.24v-.3h-.1a.08.08 0 0 1-.05-.04Zm-.37-.3a.4.4 0 0 1-.04.2.33.33 0 0 1-.13.14.4.4 0 0 1-.2.04.23.23 0 0 1-.15-.05.16.16 0 0 1-.06-.13c0-.06.02-.11.07-.14a.52.52 0 0 1 .2-.07l.31-.06v.07Zm-3.55.34h-.1a.08.08 0 0 1-.06-.04l-.02-.08v-.56c0-.1-.02-.2-.06-.29a.5.5 0 0 0-.2-.2.6.6 0 0 0-.3-.08h-.12c-.1 0-.2.02-.29.07a.57.57 0 0 0-.22.18.45.45 0 0 0-.09.25h.36c0-.07.02-.11.07-.15.04-.04.1-.06.17-.06h.11a.2.2 0 0 1 .11.03l.08.1c.02.04.03.08.03.13v.04l-.4.06a.82.82 0 0 0-.4.15.4.4 0 0 0-.15.33c0 .09.02.16.07.23.04.07.1.12.17.15.08.04.17.06.27.06.11 0 .2-.02.3-.06.07-.05.14-.1.18-.18 0 .08.02.13.07.16.04.04.1.06.18.06h.24v-.3ZM9 12.13a.4.4 0 0 1-.05.2.33.33 0 0 1-.13.14.4.4 0 0 1-.2.04.23.23 0 0 1-.15-.05.16.16 0 0 1-.05-.13c0-.06.02-.11.06-.14a.52.52 0 0 1 .2-.07l.32-.06v.07Zm5.59-.59h-.42v1.22h-.36v-1.22h-.3v-.3h.3v-.14c0-.14.04-.25.11-.33a.42.42 0 0 1 .32-.11h.35v.29h-.25c-.06 0-.1.01-.13.05-.03.03-.04.07-.04.14v.1h.42v.3Zm1.1-.22a.56.56 0 0 0-.33-.1h-.11a.6.6 0 0 0-.33.1.7.7 0 0 0-.25.27.86.86 0 0 0-.09.41c0 .15.03.29.09.4.06.13.14.22.24.29.1.07.22.1.34.1h.11a.64.64 0 0 0 .52-.26c.06-.08.1-.17.1-.27h-.34a.3.3 0 0 1-.1.16.26.26 0 0 1-.17.07h-.11a.24.24 0 0 1-.17-.06.41.41 0 0 1-.11-.17.68.68 0 0 1-.04-.18H16v-.13a.8.8 0 0 0-.08-.37.69.69 0 0 0-.22-.26Zm-.74.5.03-.09a.4.4 0 0 1 .12-.17c.05-.04.1-.06.16-.06h.1c.05 0 .1.01.14.04a.3.3 0 0 1 .1.12c.02.05.04.1.04.16h-.69Zm4.5.64a.08.08 0 0 1-.05-.03c-.02-.02-.02-.04-.02-.08v-.56c0-.1-.02-.2-.07-.29a.5.5 0 0 0-.2-.2.6.6 0 0 0-.3-.08h-.11c-.1 0-.2.02-.3.07a.57.57 0 0 0-.21.18.45.45 0 0 0-.1.25h.37c0-.07.02-.11.06-.15.05-.04.1-.06.18-.06h.1a.2.2 0 0 1 .11.03c.04.03.06.06.08.1.02.04.03.08.03.13v.03l-.4.06a.82.82 0 0 0-.4.16.4.4 0 0 0-.14.33c0 .09.02.16.06.23.04.07.1.12.18.15.08.04.17.06.27.06s.2-.02.29-.06c.08-.05.14-.1.18-.18 0 .08.03.13.07.16.05.04.1.05.18.05h.24v-.3h-.1Zm-.43-.33a.4.4 0 0 1-.04.2.33.33 0 0 1-.13.14.4.4 0 0 1-.2.04.23.23 0 0 1-.15-.05.16.16 0 0 1-.06-.13c0-.06.02-.11.07-.14a.52.52 0 0 1 .2-.07l.31-.06v.07Zm2.2.35h.1c.19 0 .34-.2.34-.48 0-.28-.15-.48-.34-.48h-.1c-.18 0-.33.2-.33.48 0 .29.15.48.33.48Zm-.7-.48c0-.43.26-.78.66-.78h.09c.14 0 .29.09.36.2v-.76H22v2.1h-.36v-.17a.53.53 0 0 1-.37.2h-.09c-.37 0-.65-.37-.65-.79Z"})]})},ET=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#B4B2B2",d:"M19.42 9.95c.12-.02.25.04.36.1.52.25 1.13.58 1.46 1.07.08.12.13.26.18.4H18.5c-.26 0-1.34.03-1.53-.03-.08-.03-.5-.33-.53-.4l.44-.17c.85-.31 1.7-.68 2.54-.97ZM14.53 9c.32 0 .7.02 1.03.04.22.03.46.02.68.05.57.08 1.15.17 1.71.32.1.02.37.05.43.13-.02.06-1 .53-1.13.61-.41.21-.83.44-1.24.63-.07.03-.68-.33-.81-.37-.3-.1-.92-.36-1.21-.36.1-.18.46-.97.54-1.04Z"}),(0,U.jsx)("path",{fill:"#D3343B",d:"M2.88 11.95h.05a9.81 9.81 0 0 1 1.52.04c.49.12.37.46.33.79-.1 1.01-.57.94-1.46.94h-.3l-.16 1c-.1.01-.36.03-.43 0-.01-.1.04-.36.06-.48l.15-.9c.04-.2.18-1.27.24-1.39Zm.2 1.36c.33 0 .78.03 1.07-.06.12-.05.14-.19.15-.31.02-.11.14-.51-.01-.54-.33-.05-.7-.03-1.04-.03-.03.1-.04.21-.05.32-.03.19-.06.43-.11.62Z"}),(0,U.jsx)("path",{fill:"#B4B2B2",d:"M20.98 11.96h.44c.01.14-.04.36-.07.52l-.12.67c-.02.17-.04.41-.09.56l.4-.01c0 .15-.03.26-.06.4-.15.01-.27.02-.42 0 0 .16-.03.31-.04.46-.02.22-.3.17-.48.18.01-.18.05-.35.09-.53 0-.05.02-.06 0-.1h-1.4c.01-.13.04-.3.1-.43.06-.11 1.35-1.5 1.52-1.66a.34.34 0 0 1 .13-.06Zm-1.13 1.75h.85c.06-.24.1-.48.13-.72 0-.07.1-.42.07-.46-.21.21-.44.48-.65.7l-.42.45v.02h.02ZM18.43 11.9c.26-.02.71.04.86.27.16.26.04.89-.14 1.1-.24.32-.84.36-1.2.49-.13.04-.28.06-.4.13-.09.16-.08.25-.14.42h1.67l-.08.41c-.58-.02-1.23 0-1.81 0h-.28c.05-.24.1-.59.17-.8.16-.54.94-.58 1.4-.73l.35-.14.03-.1c.03-.1.1-.43.04-.53a.1.1 0 0 0-.07-.06 2.33 2.33 0 0 0-1 .03c-.09.04-.16.44-.18.54l-.39-.01c-.09-.12.1-.62.2-.73.24-.26.66-.26.97-.29Z"}),(0,U.jsx)("path",{fill:"#D3343B",d:"M12.88 14.14c.05-.08.12-.26.16-.36l.29-.68c.22-.5.17-.35.67-.39 0 .44.15 1.03.12 1.44.2-.33.4-1.05.62-1.39.04-.06.33-.03.42-.03-.06.1-.23.54-.3.68-.04.18-.26.6-.34.8-.24.57-.15.55-.74.52-.05-.44-.1-.94-.13-1.39-.07.19-.53 1.3-.62 1.36-.08.08-.38.03-.5.03-.04-.32-.03-.63-.08-.98-.05-.27-.06-.69-.09-.97l.02-.02c.1-.05.25-.04.36-.04.02 0 .02.01.03.02.01.17.01.37.03.53.03.26.1.6.08.87ZM11.23 12.72c.24-.04.73-.04.91.15.28.3.06.67.06.98-.42.03-.95 0-1.38 0v.46c.22.08.4.07.64.04.3-.03.15-.27.36-.3h.3l.03.04c0 .1-.09.28-.15.36-.14.19-.3.26-.54.3-.25.03-.69.03-.9-.11-.1-.07-.16-.23-.18-.36-.02-.16.02-.28.04-.44.03-.27.07-.64.24-.86.15-.2.34-.24.57-.26Zm-.14.4c-.14.13-.13.17-.18.35h.92c0-.15.03-.35-.18-.37-.13-.02-.27 0-.4 0l-.16.02ZM8.68 12.72l.37-.01c.87 0 .69.57.61 1.14h-.2c-.39-.01-.8.03-1.19 0v.46c.21.06.4.08.62.05.2-.03.22-.13.3-.28.02-.03.08-.02.12-.03h.31c-.09.4-.26.65-.68.7-1 .1-1.24-.17-1.03-1.14.11-.53.15-.8.77-.9Zm-.13.4c-.16.16-.11.15-.19.35H9.3c0-.42-.11-.39-.49-.37H8.8c-.1 0-.15 0-.25.02Z"}),(0,U.jsx)("path",{fill:"#B4B2B2",d:"m13.76 9.04.03.01c.02.1-.24.77-.29.9-.73-.03-1.38-.06-2.1.1-.21.03-.35.04-.55.13-.02-.1-.1-.5-.08-.6a11.7 11.7 0 0 1 2.78-.52c.06 0 .14 0 .2-.02Z"}),(0,U.jsx)("path",{fill:"#D3343B",d:"M15.22 12.73c.1 0 .24-.02.34 0l.08.03c.07.18.2 1.32.27 1.42.05-.04.1-.21.13-.27.07-.15.54-1.12.6-1.15a.67.67 0 0 1 .36-.03l.03.04c0 .08-.51 1.05-.6 1.22-.2.38-.39.77-.6 1.14-.11.16-.28.29-.48.33-.08.01-.28.05-.3-.07 0-.05 0-.28.04-.3.03-.03.28-.05.33-.05.07-.1.13-.18.17-.28-.03-.2-.39-1.98-.37-2.03ZM6.5 12.73c.46-.02 1.03 0 1.51-.01 0 .09-.04.32-.09.38-.17.2-.44.44-.64.62-.21.2-.45.45-.67.64.16-.04.91-.02 1.13-.02-.02.1-.04.34-.1.4a41 41 0 0 0-1.61 0c.01-.1.03-.35.1-.42.38-.38.84-.9 1.27-1.21-.3.03-.72-.01-1.04.02 0-.1.02-.27.07-.36.01-.03.03-.03.06-.04Z"}),(0,U.jsx)("path",{fill:"#B4B2B2",d:"M10.2 9.71h.04c.1.06.1.43.16.58-.13.02-.3.1-.43.14-.57.2-1 .42-1.52.7a10.28 10.28 0 0 1-.6-.4c.08-.07.24-.14.34-.19.52-.27 1.06-.47 1.6-.68.11-.04.33-.1.4-.15ZM7.29 11.04c.12.03.62.29.75.36-.2.1-.38.24-.56.37-.17.11-.42.34-.6.4-.08.03-.38.02-.47.01-.2 0-.6-.01-.8.02.28-.28 1.32-.98 1.68-1.16Z"}),(0,U.jsx)("path",{fill:"#D3343B",d:"M10.53 11.95h.02l.01.02-.05.31-.14.84c-.07.38-.12.77-.2 1.16-.01.11-.05.33-.09.43-.06.05-.23.03-.33.03h-.06c-.03-.1.22-1.37.25-1.55l.11-.75c.03-.16.04-.33.08-.48.1-.02.3-.01.4-.01ZM5.05 12.73c.1 0 .33-.02.4.02.02.03.01.05 0 .08.09.02.53-.22.67-.07a.7.7 0 0 1-.06.32c-.03.04-.14.04-.19.04-.55 0-.58.54-.63.97l-.14.63h-.43c0-.23.1-.56.13-.8.04-.25.08-.5.14-.74.02-.12.02-.4.11-.45Z"})]})},ES=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#E21836",d:"M7.13 7h4c.55 0 .9.45.77 1.01L10.04 16a1.36 1.36 0 0 1-1.25 1H4.8c-.56 0-.9-.45-.77-1L5.89 8C6.02 7.45 6.58 7 7.13 7Z"}),(0,U.jsx)("path",{fill:"#00447C",d:"M10.8 7h4.59c.55 0 .3.45.17 1.01L13.7 16c-.13.55-.09 1-.65 1H8.46c-.56 0-.9-.45-.77-1L9.55 8c.13-.56.69-1.01 1.24-1.01Z"}),(0,U.jsx)("path",{fill:"#007B84",d:"M15.2 7h4c.56 0 .9.45.77 1.01L18.11 16a1.36 1.36 0 0 1-1.24 1h-4c-.55 0-.9-.45-.77-1L13.96 8c.13-.56.69-1.01 1.24-1.01Z"}),(0,U.jsx)("path",{fill:"#FEFEFE",d:"m8.18 9.56-.57-.01-.3 1.35c-.06.26-.1.44-.25.56a.45.45 0 0 1-.3.1c-.17 0-.28-.09-.3-.26v-.06l.05-.35.35-1.31v-.02l-.67-.01-.02.08-.3 1.32-.02.1-.05.37c0 .11.02.2.06.27.14.24.52.28.74.28.28 0 .55-.06.72-.17.31-.19.4-.47.47-.73l.03-.13.35-1.36v-.02Zm1.02.97c-.08 0-.2.02-.33.08l-.12.07.04-.14-.03-.02-.54.09-.02.01a6.87 6.87 0 0 1-.26 1.32v.02h.52l.02-.03.09-.43.11-.52c.05-.02.1-.05.15-.05.12 0 .1.1.1.14 0 .07-.05.3-.09.48l-.03.13-.06.26v.02h.51l.03-.03.1-.57.04-.14c.06-.27.1-.41.05-.53-.05-.13-.17-.16-.28-.16Zm1.13.3-.28.04-.27.04-.01.01h-.01l-.04.27a4.74 4.74 0 0 1-.13.55l-.06.2v.01l.01.01h.26c.08-.01.16 0 .28 0l.01-.02h.01l.03-.19.08-.33.06-.29.07-.29v-.02Zm0-.4c-.1-.06-.3-.04-.44.05-.13.1-.15.22-.03.29.1.06.3.04.44-.05.13-.1.15-.22.04-.29Zm.7 1.55c.22 0 .46-.06.63-.25.14-.15.2-.38.22-.47.07-.3.02-.45-.05-.54-.1-.13-.29-.18-.48-.18a.88.88 0 0 0-.6.21.99.99 0 0 0-.27.52c-.05.2-.1.53.22.66.1.04.23.05.32.05Zm-.03-.7c.06-.23.12-.42.28-.42.12 0 .13.14.08.38-.01.05-.06.24-.12.33-.04.06-.1.1-.15.1-.02 0-.12 0-.12-.15a1 1 0 0 1 .03-.23Zm1.46.67.01-.02.09-.43.11-.52c.06-.02.1-.05.16-.05.11 0 .1.1.1.14-.01.07-.05.3-.1.48l-.03.13-.06.26.01.02h.5l.03-.03.11-.57.03-.14c.07-.27.1-.41.05-.53-.05-.13-.17-.16-.28-.16a.79.79 0 0 0-.45.15l.04-.14-.02-.02-.54.09-.02.01a7.13 7.13 0 0 1-.27 1.32l.01.02h.52Zm1.73.01.1-.5.08-.32s.02-.04.05-.05h.03c.33 0 .7 0 .99-.21.2-.15.33-.36.39-.63a.94.94 0 0 0 .02-.21c0-.1-.02-.2-.07-.28-.15-.2-.44-.21-.78-.21a998.87 998.87 0 0 0-.85 0l-.02.08-.15.72-.4 1.6.6.01Zm.28-1.28.17-.72V9.9h.07l.35.04c.14.05.2.18.15.36a.53.53 0 0 1-.27.36.86.86 0 0 1-.38.06h-.1l.01-.04Zm1.03.62c-.04.19-.09.53.22.65.1.04.19.05.28.05.1 0 .18-.05.27-.12l-.03.08.02.02h.53l.03-.02c.03-.21.06-.41.16-.81l.13-.57v-.02l-.56.09-.02.01v.06a.34.34 0 0 0-.18-.15c-.11-.04-.36.02-.58.21a.98.98 0 0 0-.27.52Zm.53.01c.05-.23.12-.42.27-.42.1 0 .16.1.15.25l-.03.13-.05.2a.5.5 0 0 1-.06.12c-.04.06-.14.1-.2.1-.01 0-.1 0-.11-.15a1 1 0 0 1 .03-.23Zm2.75-.76-.02-.02-.52.1h-.02v.02c-.17.39-.17.3-.3.61v-.04l-.04-.67-.02-.02-.5.1h-.03v.03l.05.37.05.35.07.6c-.17.26-.2.36-.36.6l-.1.17c-.02.02-.03.04-.05.04a.17.17 0 0 1-.07.01h-.06l-.1.3h.32c.18 0 .3-.08.36-.2l.2-.33h-.01l.02-.02c.13-.28 1.13-2 1.13-2ZM15.5 14.5h-.13l.49-1.6h.16l.05-.17v.18c0 .12.1.22.33.2h.27l.1-.31h-.11c-.06 0-.09-.01-.08-.05v-.18h-.51c-.17 0-.65.01-.75.04-.12.03-.25.12-.25.12l.05-.17h-.47l-.1.33-.5 1.64h-.09l-.1.3h.95l-.03.11h.46l.03-.1h.13l.1-.34Zm-.38-1.28c-.08.02-.22.09-.22.09l.13-.42h.37l-.09.3-.2.03Zm0 .59-.19.03c-.08.02-.22.1-.22.1l.13-.43h.38l-.1.3Zm-.2.7h-.38l.1-.36h.38l-.1.36Zm.9-1h.54l-.07.25h-.55l-.09.28h.48l-.36.51a.15.15 0 0 1-.07.06.22.22 0 0 1-.1.03h-.13l-.1.3h.35c.18 0 .3-.08.37-.19l.25-.34.05.35c.02.06.06.1.1.11.03.02.06.05.12.06H16.9l.1-.34h-.07c-.04 0-.1 0-.11-.02-.02-.01-.02-.03-.02-.07l-.06-.35h-.22l.1-.11h.55l.08-.28h-.5l.07-.25h.51l.1-.31H15.9l-.09.3Zm-4.58 1.07.13-.42h.52l.1-.32h-.53l.08-.26h.5l.1-.3h-1.27l-.1.3h.3l-.08.26h-.3l-.09.32h.3l-.18.56c-.02.07.01.1.04.14.02.03.04.05.09.06.05.02.08.02.13.02h.59l.1-.34-.26.03c-.05 0-.19 0-.17-.05Zm.06-2.02-.13.24a.28.28 0 0 1-.08.1l-.12.02h-.07l-.09.3h.23c.11 0 .2-.04.23-.06.05-.02.06 0 .1-.04l.07-.07h.71l.1-.31h-.52l.09-.18h-.52Zm1.05 2.02c-.01-.01 0-.04.02-.1l.2-.65H13.47c.05-.01.1-.03.16-.07.07-.03.1-.07.13-.1a.95.95 0 0 0 .12-.28l.24-.82h-.72s-.22.04-.32.08-.24.15-.24.15l.07-.22h-.45l-.62 2.06-.04.17c0 .04.05.08.08.1.04.04.1.03.14.04H12.62l.1-.35-.3.03a.08.08 0 0 1-.07-.04Zm.34-1.19h.73l-.05.15h-.73l.05-.15Zm.14-.49h.74l-.05.18h-.4c-.25.05-.4.18-.4.18l.11-.36Zm.56 1.12c0 .02-.02.04-.03.05l-.08.01h-.1v-.18h-.43l-.01.87c0 .06 0 .1.05.13.04.03.18.04.37.04h.27l.1-.33-.23.02h-.08c-.01 0-.02 0-.03-.02-.01-.01-.03 0-.03-.07v-.22h.25c.13 0 .2-.05.24-.1.05-.03.06-.08.08-.14l.04-.2h-.34l-.04.14Z"})]})},Ey=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#008CFF",d:"M16.44 7c.39.6.56 1.22.56 2 0 2.5-2.27 5.73-4.1 8H8.68L7 7.55l3.68-.33.9 6.73c.83-1.28 1.85-3.28 1.85-4.64 0-.75-.13-1.26-.35-1.67L16.44 7Z"})]})},EN=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dc.J)(t),a=s?.width??n,o=s?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("mask",{id:"a",fill:"#fff",children:(0,U.jsx)("path",{fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"})}),(0,U.jsx)("path",{fill:"#F3F3F4",fillRule:"evenodd",d:"M2.4 4h19.2c1.32 0 2.4.9 2.4 2v12c0 1.1-1.08 2-2.4 2H2.4C1.08 20 0 19.1 0 18V6c0-1.1 1.08-2 2.4-2Z",clipRule:"evenodd"}),(0,U.jsx)("path",{fill:"#97979F",fillOpacity:".3",d:"M2.4 4v.5h19.2v-1H2.4V4Zm19.2 0v.5c1.14 0 1.9.75 1.9 1.5h1c0-1.46-1.39-2.5-2.9-2.5V4ZM24 6h-.5v12h1V6H24Zm0 12h-.5c0 .75-.76 1.5-1.9 1.5v1c1.51 0 2.9-1.04 2.9-2.5H24Zm-2.4 2v-.5H2.4v1h19.2V20ZM2.4 20v-.5C1.26 19.5.5 18.75.5 18h-1c0 1.46 1.39 2.5 2.9 2.5V20ZM0 18h.5V6h-1v12H0ZM0 6h.5c0-.75.76-1.5 1.9-1.5v-1C.89 3.5-.5 4.54-.5 6H0Z",mask:"url(#a)"}),(0,U.jsx)("path",{fill:"#1434CB",d:"M14.44 9c-1.24 0-2.36.65-2.36 1.85 0 1.37 1.98 1.46 1.98 2.15 0 .29-.33.55-.9.55-.8 0-1.4-.36-1.4-.36l-.26 1.2s.7.3 1.61.3c1.36 0 2.44-.67 2.44-1.88 0-1.45-1.99-1.54-1.99-2.18 0-.23.27-.48.84-.48.64 0 1.16.27 1.16.27l.25-1.17s-.57-.24-1.37-.24Zm-11.4.1L3 9.27s.52.1 1 .29c.6.22.65.35.75.74l1.12 4.3h1.5l2.3-5.5h-1.5L6.7 12.84l-.6-3.17c-.06-.37-.34-.57-.68-.57H3.04Zm7.24 0L9.1 14.6h1.42l1.17-5.5h-1.42Zm7.94 0c-.35 0-.53.18-.66.5l-2.09 5h1.5l.28-.83h1.82l.18.84h1.32L19.42 9.1h-1.2Zm.2 1.49.43 2.06h-1.18l.74-2.06Z"})]})};var Ev=n(22231);let EC=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M6.3 2.55a.85.85 0 0 0-1.6 0l-.35.97a1.4 1.4 0 0 1-.83.83l-.97.35a.85.85 0 0 0 0 1.6l.97.35c.38.15.68.45.83.83l.35.97a.85.85 0 0 0 1.6 0l.35-.97c.15-.38.45-.68.83-.83l.97-.35a.85.85 0 0 0 0-1.6l-.97-.35a1.4 1.4 0 0 1-.83-.83l-.35-.97ZM13.96 5.46l4.58 4.58a1 1 0 0 0 1.42 0l1.38-1.38a2 2 0 0 0 0-2.82l-3.18-3.18a2 2 0 0 0-2.82 0l-1.38 1.38a1 1 0 0 0 0 1.42ZM2.11 20.16l.73-4.22a3 3 0 0 1 .83-1.61l7.87-7.87a1 1 0 0 1 1.42 0l4.58 4.58a1 1 0 0 1 0 1.42l-7.87 7.87a3 3 0 0 1-1.6.83l-4.23.73a1.5 1.5 0 0 1-1.73-1.73ZM18.48 15.71a1.1 1.1 0 0 1 2.04 0l.46 1.24c.19.5.57.88 1.07 1.07l1.24.46c.95.35.95 1.7 0 2.04l-1.24.46c-.5.19-.88.57-1.07 1.07l-.46 1.24a1.1 1.1 0 0 1-2.04 0l-.46-1.24a1.8 1.8 0 0 0-1.07-1.07l-1.24-.46a1.1 1.1 0 0 1 0-2.04l1.24-.46c.5-.19.88-.57 1.07-1.07l.46-1.24Z",className:s})})};var ER=n(978940),EO=n(960027),Eb=n(289020),ED=n(695458),EL=n(366605),Ew=n(788120),EM=n(609731);let EP=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M20.3 2.01c.24-.04.73.03.93.13 1.06.56.85 1.9.4 2.78-.2.39-.34.7-.64 1.02-.84.9-1.7 1.75-2.55 2.63-.13.14-.7.67-.78.81a47.4 47.4 0 0 1 .37 1.42l.34 1.39c.05.18.1.43.17.6.1-.06.17-.16.24-.24.32-.33.64-.78 1.17-.66.33.08.49.27.73.5.15.14.27.25.38.44.44.7-.22 1.15-.67 1.6-.3.3-.58.62-.89.9-.23.21-.21.3-.15.58l.1.43c.2.82.44 1.62.64 2.43.08.3.2.68.13 1a1 1 0 0 1-.19.37c-.14.19-.52.53-.7.7-.3.28-.56.64-.9.85-.47.28-.73-.38-.88-.68l-.42-.81-.79-1.52-1.65-3.18-.64-1.22-.43-.85c-.47.4-.98.93-1.44 1.36l-1.2 1.14c-.37.35-.7.64-1.06 1 .03.23.11.6.16.85l.3 1.66c.15.82.38 1.09-.33 1.7-.3.27-.59.74-1 .86h-.02c-.24-.07-.33-.14-.46-.35-.53-.87-1.12-1.71-1.64-2.58-.23-.29-.54-.89-.78-1.1-.15-.13-.79-.48-1-.6l-2.33-1.31c-.25-.15-.55-.27-.75-.47-.13-.13-.06-.37.04-.5.22-.29.52-.54.78-.8.2-.2.36-.43.68-.44.35-.01.7.06 1.05.1l2.52.27c.21-.19.36-.39.55-.59l1.25-1.35 1.18-1.24c.15-.17.3-.3.45-.48a60.55 60.55 0 0 0-1.6-.83L4.4 7.47l-1.3-.63-.73-.36c-.35-.19-.49-.43-.22-.76.22-.27.47-.51.72-.75.23-.21.48-.53.74-.7.2-.14.45-.21.7-.21.24 0 .69.14.95.2.59.12 1.18.26 1.76.4.34.08.76.2 1.09.26l.34-.36.83-.86c.36-.37.78-.92 1.36-.74.45.14 1.12.8 1.18 1.28.06.5-.32.8-.63 1.12-.06.05-.17.15-.19.22l.02.02c.28.1.89.2 1.2.28l2.17.52c.2.04.27.06.4-.1l.24-.26 1.63-1.65C17.7 3.3 18.67 2.18 20.3 2Z",className:s})})},Ex=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M8.25 3.5h.8l.73.01c.07.01.27.05.33.1.3.22.55.6.78.88l1.1 1.36c.86 1.1 1.73 2.18 2.62 3.26.1.13.62.79.7.84.95.03 1.92-.01 2.87 0 .83.01 1.76-.05 2.55.24.76.28 2.27 1.22 2.27 2.19 0 .29-.1.56-.3.77-.95 1.02-3.61.9-4.88.9H15.3c-.1.08-.28.33-.36.43l-.55.68-2.13 2.64c-.3.37-.57.74-.88 1.11l-.62.79c-.27.33-.58.79-1.02.8h-1.5l-.18-.09c-.06-.1-.09-.19-.06-.32.05-.2.25-.64.35-.85l.46-1.1.8-1.88c.32-.72.66-1.48.94-2.2-.9-.04-1.82.02-2.73-.04-.84-.06-1.67-.2-2.48-.44-.69-.19-1.4-.43-2.07-.65-1.1-.34-1.12-.9-1.36-1.92l-.44-1.9-.31-1.34c-.05-.22-.12-.44-.15-.67-.02-.11-.02-.23.05-.33.05-.07.13-.1.22-.1a8.64 8.64 0 0 1 1.58.03c.08.04.16.1.22.17.23.24.5.62.7.9.28.36.56.7.83 1.07.19.25.5.71.73.9.12.1.26.18.4.2.29.04.6.02.88.02h3.06c.23 0 .65.01.87-.01h.02c-.15-.42-.33-.79-.5-1.2C9.4 7.16 8.7 5.58 8.04 3.98c-.1-.25-.04-.4.21-.47Z",className:s})})},Ek=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22.7 2.7a1 1 0 0 0-1.4-1.4l-20 20a1 1 0 1 0 1.4 1.4l20-20ZM16.62 2.44c.33.11.4.53.16.78l-.83.83a.53.53 0 0 1-.5.13A6.01 6.01 0 0 0 8 10c0 .5.07.97.2 1.42.05.18 0 .38-.13.51l-.82.82c-.24.24-.65.17-.77-.15-.3-.8-.48-1.67-.48-2.6a8 8 0 0 1 10.62-7.56ZM19.95 8.05a.53.53 0 0 0-.13.5c.12.46.18.95.18 1.45a1 1 0 1 0 2 0c0-.92-.15-1.8-.44-2.62-.11-.33-.53-.4-.78-.16l-.83.83ZM11.77 16.23a.18.18 0 0 1 .24-.02c1.15.82 1.8 2.13 2.29 3.1l.02.03A3 3 0 0 0 20 18a1 1 0 1 1 2 0 5 5 0 0 1-9.47 2.24c-.53-1.06-1-1.91-1.68-2.4a.42.42 0 0 1-.05-.64l.97-.97Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M5.06 14.94c.17-.17.2-.42.08-.63A8.66 8.66 0 0 1 4 10c0-2.5 1.04-4.74 2.68-6.27a1 1 0 0 0-1.36-1.46A10.55 10.55 0 0 0 2 10c0 2.06.58 3.98 1.57 5.6.17.26.53.3.75.08l.74-.74Z",className:s})]})},EU=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M5.32 2.27a1 1 0 1 1 1.36 1.46A8.55 8.55 0 0 0 4 10c0 2.5 1.04 4.74 2.68 6.27a1 1 0 1 1-1.36 1.46A10.55 10.55 0 0 1 2 10c0-3.06 1.28-5.82 3.32-7.73Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M8 10a6 6 0 0 1 12 0v1a1 1 0 1 0 2 0v-1a8 8 0 1 0-16 0c0 3.85 3.04 6.56 4.85 7.84.69.49 1.15 1.34 1.68 2.4A5 5 0 0 0 22 18a1 1 0 1 0-2 0 3 3 0 0 1-5.68 1.34l-.02-.03c-.49-.97-1.14-2.28-2.3-3.1-1.74-1.24-4-3.42-4-6.21Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16 11.17V10a2 2 0 1 0-4 0 1 1 0 1 1-2 0 4 4 0 0 1 8 0v2a1 1 0 0 1-1 1 1 1 0 0 0-1 1 1 1 0 1 1-2 0 3 3 0 0 1 2-2.83Z",className:s})]})};var EG=n(782134),EF=n(22363),EV=n(663341),EB=n(499373),EH=n(307301),Ej=n(642846),EY=n(659421);let EW=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M23 12a11 11 0 1 1-22 0 11 11 0 0 1 22 0Zm-6.9 8.01a8.96 8.96 0 0 1-8.2 0l2.37-3.32a4.99 4.99 0 0 0 3.46 0l2.38 3.32ZM3 12c0 1.48.36 2.87.99 4.1l3.32-2.37a4.99 4.99 0 0 1 0-3.46L3.99 7.89A8.96 8.96 0 0 0 3 12Zm4.9-8.01a8.96 8.96 0 0 1 8.2 0L13.74 7.3a4.99 4.99 0 0 0-3.46 0L7.89 3.99ZM20 16.1a8.96 8.96 0 0 0 0-8.22l-3.32 2.38a4.99 4.99 0 0 1 0 3.46l3.32 2.38ZM15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z",clipRule:"evenodd",className:s})})},EK=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16 4a3 3 0 1 1-5.98-.31c.03-.35-.21-.69-.56-.69H7a3 3 0 0 0-3 3v2.5c0 .28-.23.5-.5.54a3 3 0 0 0 0 5.92c.27.04.5.26.5.54V18a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-2.46c-.35 0-.6.34-.56.69L16 4Z",className:s})})},E$=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16 4a3 3 0 1 1-5.98-.31c.03-.35-.21-.69-.56-.69H7a3 3 0 0 0-3 3v2.5c0 .28-.23.5-.5.54a3 3 0 0 0 0 5.92c.27.04.5.26.5.54V18a3 3 0 0 0 3 3h4.65c.43 0 .69-.55.54-.95A3 3 0 0 1 15 16h6.5a.5.5 0 0 0 .5-.5V6a3 3 0 0 0-3-3h-2.46c-.35 0-.6.34-.56.69L16 4Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})]})},Ez=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16 4a3 3 0 1 1-5.98-.31c.03-.35-.21-.69-.56-.69H7a3 3 0 0 0-3 3v2.5c0 .28-.23.5-.5.54a3 3 0 0 0 0 5.92c.27.04.5.26.5.54V18a3 3 0 0 0 3 3h4.65c.43 0 .69-.55.54-.95A3 3 0 0 1 15 16h.5a.5.5 0 0 0 .5-.5V15a3 3 0 1 1 6 0V6a3 3 0 0 0-3-3h-2.46c-.35 0-.6.34-.56.69L16 4Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 14a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",className:s})]})},Eq=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M13 7a3 3 0 0 0 2.98-3.31c-.03-.35.21-.69.56-.69H19a3 3 0 0 1 3 3v5.82c0 .2-.14.4-.33.49h-.02a.58.58 0 0 1-.44.05 7 7 0 0 0-9.08 7.99c.06.33-.18.65-.51.65H7a3 3 0 0 1-3-3v-2.5c0-.28-.23-.5-.5-.54a3 3 0 0 1 0-5.92c.27-.04.5-.26.5-.54V6a3 3 0 0 1 3-3h2.46c.35 0 .6.34.56.69L10 4a3 3 0 0 0 3 3Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24A3 3 0 0 0 19 16Z",className:s})]})};var EX=n(141006),EZ=n(460905),EQ=n(997571);let EJ=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 14a1 1 0 0 1 .1 0l.05.01h.04l.01.01.07.02h.01l.06.02h.02A1 1 0 0 1 20 15v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3h-3a1 1 0 0 1-.96-.72l-.01-.05A1 1 0 0 1 14 19a1.01 1.01 0 0 1 .35-.76l.02-.02a.95.95 0 0 1 .05-.04c.01 0 .02 0 .03-.02a.96.96 0 0 1 .06-.03l.02-.01.05-.03.04-.02a.98.98 0 0 1 .07-.02h.01a1 1 0 0 1 .2-.05H18v-3a1 1 0 0 1 1-1ZM10.67 1.33a9.33 9.33 0 0 1 9.12 11.3c-.17-.06-.35-.1-.53-.12L19 12.5a2.5 2.5 0 0 0-2.5 2.5v1.5H15a2.5 2.5 0 0 0-2.49 2.24l-.01.26.01.26c.02.18.06.36.12.53a9.33 9.33 0 1 1-1.96-18.46Zm3.64 11.18a.85.85 0 0 0-1.17.23 2.97 2.97 0 0 1-4.94 0 .85.85 0 1 0-1.41.94 4.66 4.66 0 0 0 7.76 0 .85.85 0 0 0-.24-1.17ZM6 8.97a1.27 1.27 0 1 0 0 2.54 1.27 1.27 0 0 0 0-2.54Zm9.33 0a1.27 1.27 0 1 0 0 2.55 1.27 1.27 0 0 0 0-2.55Z",className:s})})};var E0=n(874804),E1=n(362704),E2=n(72265);let E3=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22 8a1 1 0 1 0-2 0v3.54A10.26 10.26 0 0 0 11.63 7c-4.24 0-7.84 2.74-9.54 6.6a1 1 0 0 0 1.82.8C5.36 11.15 8.31 9 11.63 9a8.34 8.34 0 0 1 6.95 4H15a1 1 0 1 0 0 2h6a1 1 0 0 0 1-1V8Z",className:s})})};var E6=n(663417);let E4=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M6 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V5.41l-6.64 6.64A4.66 4.66 0 0 0 4 15.35V17a3 3 0 0 0 3 3 1 1 0 1 1 0 2 5 5 0 0 1-5-5v-1.66c0-1.76.7-3.46 1.95-4.7L10.59 4H7a1 1 0 0 1-1-1Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M18 21a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-6a1 1 0 1 1 2 0v3.59l6.64-6.64A4.66 4.66 0 0 0 20 8.65V7a3 3 0 0 0-3-3 1 1 0 1 1 0-2 5 5 0 0 1 5 5v1.66c0 1.76-.7 3.46-1.95 4.7L13.41 20H17a1 1 0 0 1 1 1Z",className:s})]})};var E5=n(769297),E7=n(417270),E8=n(877784);let E9=e=>{let{size:t="md",width:n,height:i,color:r="#D22A36",colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"m12.5 20.96-1.02-2.58 9.92.5-.45 4.12-8.45-2.04ZM14.88 1 1 7.39 3.15 17h2.83l-.5-6.88.44-.13L7.62 17h2.95l-.11-8.38.43-.13 1.49 8.52h3.11l.74-10.14.43-.13.77 10.27h4.12L23 2.92 14.88 1Z",className:s})})};var me=n(505200);let mt=e=>{let{size:t="md",width:n,height:i,color:r="#000",colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M6.23 2 2 17.77 17.77 22 22 6.23 6.23 2Zm7.38 12.8-4.4-1.19 1.18-4.4 4.4 1.18-1.18 4.4Z",className:s})})};var mn=n(924895),mi=n(430392),mr=n(831453),ms=n(776078),ma=n(183623),mo=n(31300),ml=n(1215),mu=n(500060),mc=n(676955),md=n(959988),m_=n(559647),mh=n(704333);let mf=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M9.97 2.65c0-.76.4-1.56 1.16-1.62a11.15 11.15 0 0 1 1.74 0c.76.06 1.16.86 1.16 1.62 0 .92.37 1.68 1.03 1.96.66.27 1.46 0 2.11-.66.54-.53 1.4-.81 1.97-.32.44.38.85.79 1.23 1.23.5.58.21 1.43-.32 1.97-.65.65-.93 1.45-.66 2.1.28.67 1.04 1.03 1.96 1.04.76 0 1.56.4 1.62 1.16a11.17 11.17 0 0 1 0 1.74c-.03.38-.25.67-.55.86-.17.11-.38.06-.53-.08l-.77-.77a3 3 0 0 0-4.24 0l-.86.86a.2.2 0 0 1-.28 0 .2.2 0 0 1-.04-.22A3.99 3.99 0 0 0 12 8a4 4 0 1 0 1.52 7.7.2.2 0 0 1 .22.04.2.2 0 0 1 0 .28l-.86.86a3 3 0 0 0 .7 4.76c.22.12.37.37.26.6-.2.4-.52.7-.97.73a11.12 11.12 0 0 1-1.74 0c-.76-.06-1.16-.86-1.16-1.62 0-.92-.37-1.68-1.03-1.96-.66-.27-1.46 0-2.11.66-.54.53-1.4.81-1.97.32-.44-.38-.85-.79-1.23-1.23-.5-.58-.21-1.43.32-1.97.65-.65.93-1.45.66-2.1-.28-.67-1.04-1.03-1.96-1.04-.76 0-1.56-.4-1.62-1.16a11.15 11.15 0 0 1 0-1.74c.06-.76.86-1.16 1.62-1.16.92 0 1.68-.37 1.96-1.03.27-.66 0-1.46-.66-2.11-.53-.54-.81-1.4-.32-1.97.38-.44.79-.85 1.23-1.23.58-.5 1.43-.21 1.97.32.65.65 1.45.93 2.1.66.67-.28 1.03-1.04 1.04-1.96Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M18.3 14.3a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L20 17.42V23a1 1 0 0 1-2 0v-5.59l-2.3 2.3a1 1 0 0 1-1.4-1.42l4-4Z",className:s})]})},mp=e=>{let{size:t="md",width:n,height:i,secondaryColor:r=r9.A.colors.ICON_FEEDBACK_NOTIFICATION,secondaryColorClass:s="",color:a=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:o="",...l}=e,u=(0,dc.J)(t),c=u?.width??n,d=u?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(l),xmlns:"http://www.w3.org/2000/svg",width:c,height:d,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("circle",{cx:"19",cy:"19",r:"5",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fill:"string"==typeof a?a:a.css,d:"M9.92 2.08c-.07-.45.18-.93.64-.99a11.1 11.1 0 0 1 2.88 0c.46.06.7.54.64.99-.18 1.16.19 2.2.98 2.53.8.33 1.79-.14 2.49-1.1.27-.36.78-.52 1.14-.24.77.59 1.45 1.27 2.04 2.04.28.36.12.87-.24 1.14-.96.7-1.43 1.7-1.1 2.49.33.8 1.37 1.16 2.53.98.45-.07.93.18.99.64a11.1 11.1 0 0 1 .08 1.82c0 .38-.43.58-.77.4a6.97 6.97 0 0 0-5.63-.35c-.28.1-.59-.14-.59-.43a4 4 0 1 0-4 4c.3 0 .53.31.43.59a6.99 6.99 0 0 0 .35 5.63c.18.34-.02.76-.4.77a11.39 11.39 0 0 1-1.82-.08c-.46-.06-.7-.54-.64-.99.18-1.16-.19-2.2-.98-2.53-.8-.33-1.79.15-2.49 1.1-.27.36-.78.52-1.14.24a11.06 11.06 0 0 1-2.04-2.04c-.28-.36-.12-.87.24-1.14.96-.7 1.43-1.7 1.1-2.49-.33-.8-1.37-1.16-2.53-.98-.45.07-.93-.18-.99-.64a11.1 11.1 0 0 1 0-2.88c.06-.46.54-.7.99-.64 1.16.18 2.2-.19 2.53-.98.33-.8-.14-1.79-1.1-2.49-.36-.27-.52-.78-.24-1.14.59-.77 1.27-1.45 2.04-2.04.36-.28.87-.12 1.14.24.7.95 1.7 1.43 2.49 1.1.8-.33 1.16-1.37.98-2.53Z",className:o})]})};var mE=n(625903),mm=n(848847);let mg=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M10.56 1.1c-.46.05-.7.53-.64.98.18 1.16-.19 2.2-.98 2.53-.8.33-1.79-.15-2.49-1.1-.27-.36-.78-.52-1.14-.24-.77.59-1.45 1.27-2.04 2.04-.28.36-.12.87.24 1.14.96.7 1.43 1.7 1.1 2.49-.33.8-1.37 1.16-2.53.98-.45-.07-.93.18-.99.64a11.1 11.1 0 0 0 0 2.88c.06.46.54.7.99.64 1.16-.18 2.2.19 2.53.98.33.8-.14 1.79-1.1 2.49-.36.27-.52.78-.24 1.14.59.77 1.27 1.45 2.04 2.04.36.28.87.12 1.14-.24.7-.95 1.7-1.43 2.49-1.1.8.33 1.16 1.37.98 2.53-.07.45.19.93.64.99a11.1 11.1 0 0 0 2.88 0c.46-.06.7-.54.64-.99a.12.12 0 0 0-.08-.09A3 3 0 0 1 15 16h.5a.5.5 0 0 0 .5-.5V15a3 3 0 0 1 5.83-1c.01.04.05.07.1.08.44.07.92-.18.98-.64a11.1 11.1 0 0 0 0-2.88c-.06-.46-.54-.7-.99-.64-1.16.18-2.2-.19-2.53-.98-.33-.8.15-1.79 1.1-2.49.36-.27.52-.78.24-1.14a11.07 11.07 0 0 0-2.04-2.04c-.36-.28-.87-.12-1.14.24-.7.96-1.7 1.43-2.49 1.1-.8-.33-1.16-1.37-.98-2.53.07-.45-.18-.93-.64-.99a11.1 11.1 0 0 0-2.88 0ZM16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 14a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",className:s})]})};var mA=n(405433),mI=n(626900),mT=n(231483),mS=n(254138),my=n(957485);let mN=e=>{let{size:t="md",width:n,height:i,secondaryColor:r=r9.A.colors.ICON_FEEDBACK_NOTIFICATION,secondaryColorClass:s="",color:a=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:o="",...l}=e,u=(0,dc.J)(t),c=u?.width??n,d=u?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(l),xmlns:"http://www.w3.org/2000/svg",width:c,height:d,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("circle",{cx:"19",cy:"19",r:"5",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fill:"string"==typeof a?a:a.css,d:"M5.52 2a3 3 0 0 0-2.89 2.19l-.55 1.98A3.02 3.02 0 0 0 4.98 10h.05A2.97 2.97 0 0 0 8 7.03V3a1 1 0 0 0-1-1H5.52ZM9 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4.03a2.99 2.99 0 0 1-3.3 2.95A3 3 0 0 1 9 7V3ZM17 2a1 1 0 0 0-1 1V7.03A2.95 2.95 0 0 0 18.96 10h.06c2 0 3.44-1.9 2.9-3.83l-.56-1.98A3 3 0 0 0 18.48 2H17Z",className:o}),(0,U.jsx)("path",{fill:"string"==typeof a?a:a.css,d:"M20.35 12.13c.33.06.65-.18.65-.51v-.2c0-.18-.2-.3-.37-.24a4.46 4.46 0 0 1-4.94-1.1.28.28 0 0 0-.4 0 4.49 4.49 0 0 1-6.58 0 .28.28 0 0 0-.4 0 4.45 4.45 0 0 1-4.94 1.1c-.17-.07-.37.06-.37.24V19a3 3 0 0 0 3 3h2.75c.14 0 .25-.11.25-.25V16c0-1.1.9-2 2-2h2a2 2 0 0 1 .55.08c.21.06.45.02.6-.13a6.98 6.98 0 0 1 6.2-1.82Z",className:o})]})},mv=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M2.63 4.19A3 3 0 0 1 5.53 2H7a1 1 0 0 1 1 1v4.03A2.95 2.95 0 0 1 5.03 10h-.05c-2 0-3.44-1.9-2.9-3.83l.55-1.98ZM10 2a1 1 0 0 0-1 1v4a3 3 0 0 0 5.7 1.33c.07-.16-.05-.34-.23-.38a3 3 0 0 1-1.02-5.52c.18-.11.14-.41-.08-.42L12 2h-2ZM16.3 8.33c-.08-.16.05-.33.22-.33h5.05c.14 0 .24.14.18.26A3.01 3.01 0 0 1 19.02 10h-.05a2.97 2.97 0 0 1-2.67-1.67Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M21 11.42V19a3 3 0 0 1-3 3h-2.75a.25.25 0 0 1-.25-.25V16a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v5.75c0 .14-.11.25-.25.25H6a3 3 0 0 1-3-3v-7.58c0-.18.2-.3.37-.24a4.46 4.46 0 0 0 4.94-1.1c.1-.12.3-.12.4 0a4.49 4.49 0 0 0 6.58 0c.1-.12.3-.12.4 0a4.45 4.45 0 0 0 4.94 1.1c.17-.07.37.06.37.24ZM15 4a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})]})},mC=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 0a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0V6h-3a1 1 0 1 1 0-2h3V1a1 1 0 0 1 1-1Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M14 2c.11 0 .11.13 0 .17a3 3 0 0 0 .5 5.79c.16.03.28.2.2.34v.03A3 3 0 0 1 9 7V3a1 1 0 0 1 1-1h4Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M21 11.42c0-.16-.2-.25-.33-.15-.48.37-1.07.73-1.67.73-.96 0-2-.5-2.5-1-.3-.3-.53-.63-.8-.93a.28.28 0 0 0-.41 0 4.49 4.49 0 0 1-6.58 0 .28.28 0 0 0-.4 0 4.45 4.45 0 0 1-4.94 1.11c-.17-.07-.37.06-.37.24V19a3 3 0 0 0 3 3h2.75c.14 0 .25-.11.25-.25V16c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v5.75c0 .14.11.25.25.25H18a3 3 0 0 0 3-3v-7.58ZM2.63 4.19A3 3 0 0 1 5.53 2H7a1 1 0 0 1 1 1v4.03A2.95 2.95 0 0 1 5.03 10h-.05c-2 0-3.44-1.9-2.9-3.83l.55-1.98Z",className:s})]})};var mR=n(503002),mO=n(855473),mb=n(461150),mD=n(898196);let mL=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"m13.47 1 .07.04c.45.06.9.1 1.35.18.95.17 1.88.46 2.75.88.78.36 1.5.84 2.14 1.42.77.7 1.38 1.55 1.8 2.5.3.68.5 1.4.6 2.13l.09.49v1.8c-.03.18-.07.35-.09.53a8.9 8.9 0 0 1-.65 2.5c-.17.4-.41.8-.58 1.2-.05.19-.05.38 0 .56.09.56 0 1.14-.25 1.66a3.88 3.88 0 0 1-2.2 2l-.6.2a.54.54 0 0 0-.44.63c.01.5-.08.98-.28 1.43a2.58 2.58 0 0 1-1.34 1.28c-.2.1-.41.18-.63.25a.84.84 0 0 1-1.09-.81v-.85h.02v-.45a.5.5 0 0 0-.85-.36.5.5 0 0 0-.15.36v1.58a.8.8 0 0 1-.78.8h-.41a.8.8 0 0 1-.8-.8v-1.58a.5.5 0 0 0-.86-.35.5.5 0 0 0-.14.35v1.3a.84.84 0 0 1-1.09.8c-.36-.1-.7-.26-1.03-.46a2.62 2.62 0 0 1-1.17-2.05l-.04-.58c-.01-.29-.21-.4-.45-.48a5.53 5.53 0 0 1-1.63-.8 3.27 3.27 0 0 1-1.38-2.12 5.1 5.1 0 0 1 .02-1.26c.02-.22-.11-.36-.2-.51-.4-.76-.7-1.57-.9-2.4a10.79 10.79 0 0 1-.25-3.27c.06-.98.3-1.94.72-2.83a7.35 7.35 0 0 1 1.86-2.49 9.5 9.5 0 0 1 4-2.03c.7-.2 1.42-.3 2.14-.35.02 0 .04-.03.06-.04h2.66Zm-1.35 13.91a.48.48 0 0 0-.34.15l-.76.8a.48.48 0 0 0 .35.82h1.5a.48.48 0 0 0 .46-.3.48.48 0 0 0-.1-.52l-.75-.8a.48.48 0 0 0-.36-.15Zm4.07-6.08a2.82 2.82 0 0 0-3.26 3.45 2.82 2.82 0 0 0 3.41 2.04h.01c.05 0 .09-.02.13-.03l.25-.1h.02l.16-.07.04-.02a2.86 2.86 0 0 0 .47-.31l.04-.03a2.83 2.83 0 0 0 .53-.59H18l.04-.07.06-.1.05-.08.04-.09.04-.08a2.78 2.78 0 0 0 .11-.29l.03-.1.03-.11.01-.07.01-.04.01-.06a2.82 2.82 0 0 0 .05-.48v-.08l-.01-.13-.01-.1a2.77 2.77 0 0 0-.05-.3l-.03-.12a2.82 2.82 0 0 0-.09-.28l-.02-.07-.03-.06a2.83 2.83 0 0 0-.46-.71l-.04-.05-.08-.1-.07-.05a2.87 2.87 0 0 0-.1-.1l-.07-.05a2.84 2.84 0 0 0-.37-.25l-.08-.04a2.82 2.82 0 0 0-.19-.1L16.74 9l-.05-.02a2.8 2.8 0 0 0-.2-.07h-.01a2.82 2.82 0 0 0-.23-.07h-.06Zm-6.28.28a2.81 2.81 0 0 0-4.1 1.98v.03l-.01.06c-.02.1-.02.21-.03.32v.04a2.82 2.82 0 0 0 0 .24l.02.12v.08l.03.13v.03l.01.04.04.14c0 .04.02.07.03.11l.02.08a2.81 2.81 0 0 0 3.21 1.84l.08-.01a2.97 2.97 0 0 0 .19-.06l.09-.03c.04 0 .07-.02.11-.04.02 0 .04 0 .06-.02l.03-.01a2.78 2.78 0 0 0 .27-.14l.09-.05.13-.08.03-.03a2.83 2.83 0 0 0 .26-.2l.07-.07.03-.03.06-.06.05-.05.08-.1.06-.07.06-.09.04-.05.02-.03.05-.09.06-.1.03-.06.07-.13.02-.07a2.87 2.87 0 0 0 .08-.2l.03-.11.03-.1.02-.1.01-.03.01-.06a2.74 2.74 0 0 0 .03-.23v-.07l.01-.17v-.04A2.8 2.8 0 0 0 9.91 9.1Z",clipRule:"evenodd",className:s})})};var mw=n(633018),mM=n(88187);let mP=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M5 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h8.67c.12 0 .17-.33.06-.39A2.87 2.87 0 0 1 12 19a3 3 0 0 1 3-3h6.5a.5.5 0 0 0 .5-.5V5a3 3 0 0 0-3-3H5Zm12.79 3.37a.25.25 0 0 0-.22-.37h-3.13a.75.75 0 0 0-.66.38L6.21 18.63c-.1.16.03.37.22.37h3.13c.27 0 .52-.14.66-.38l7.57-13.25Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})]})},mx=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M19 14a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fillRule:"evenodd",d:"M22 13.67c0 .12-.33.17-.39.06A2.87 2.87 0 0 0 19 12a3 3 0 0 0-3 3v.5a.5.5 0 0 1-.5.5H15a3 3 0 0 0-3 3c0 1.2.7 2.1 1.73 2.61.11.06.06.39-.06.39H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v8.67Zm-4.21-8.3a.25.25 0 0 0-.22-.37h-3.13a.75.75 0 0 0-.66.38L6.21 18.63c-.1.16.03.37.22.37h3.13c.27 0 .52-.14.66-.38l7.57-13.25Z",clipRule:"evenodd",fill:"string"==typeof r?r:r.css,className:s})]})},mk=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M19 16a3 3 0 1 0 1.98 5.25 1 1 0 0 1 1.33 1.5A4.99 4.99 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24A3 3 0 0 0 19 16Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fillRule:"evenodd",d:"M22 11.82c0 .2-.14.4-.33.49h-.02a.58.58 0 0 1-.44.05 6.99 6.99 0 0 0-8.83 8.9c.11.36-.13.74-.5.74H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v6.82ZM17.57 5c.2 0 .31.2.22.37l-7.57 13.25a.75.75 0 0 1-.66.38H6.43c-.2 0-.31-.2-.22-.37l7.57-13.25a.75.75 0 0 1 .66-.38h3.13Z",clipRule:"evenodd",fill:"string"==typeof r?r:r.css,className:s})]})};var mU=n(7807);let mG=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M17.15 10.85c-.1.1-.16.23-.13.36a1 1 0 0 0 1.22.76l4-1a1 1 0 1 0-.48-1.94l-3.58.9a.5.5 0 0 0-.24.13l-.8.8ZM13.94 6.06a.5.5 0 0 0 .13-.24l.9-3.58a1 1 0 1 0-1.94-.48l-1 4a1 1 0 0 0 .76 1.22c.13.03.26-.03.36-.13l.8-.8ZM10.08 9.92a.48.48 0 0 0-.1-.76c-2.41-1.38-4.84-1.59-6.12-.3A3.13 3.13 0 0 0 3 11l-.71 5.44a.5.5 0 0 0 .85.42l2.53-2.53c.16-.16.19-.4.08-.6-.27-.52-.47-1.01-.59-1.47-.35-1.27-.05-1.82.11-1.99.17-.16.72-.46 2-.11.45.12.94.32 1.46.6.2.1.44.07.6-.1l.75-.74ZM7.56 21.71a.5.5 0 0 1-.42-.85l2.53-2.53c.16-.16.4-.19.6-.08.52.27 1.01.47 1.47.59 1.27.35 1.82.05 1.99-.11.16-.17.46-.72.11-2a7.26 7.26 0 0 0-.6-1.46.52.52 0 0 1 .1-.6l.74-.75c.22-.22.6-.18.76.1 1.38 2.41 1.59 4.84.3 6.12-.54.54-1.28.82-2.14.86l-5.44.71ZM7.05 3.32a1 1 0 0 1 1.9-.64l1 3a1 1 0 0 1-1.9.64l-1-3ZM20.68 16.95a1 1 0 0 0 .64-1.9l-3-1a1 1 0 0 0-.64 1.9l3 1ZM22.7 2.7a1 1 0 0 0-1.4-1.4l-20 20a1 1 0 1 0 1.4 1.4l20-20Z",className:s})})};var mF=n(175841),mV=n(268791);let mB=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15.56 11.77c.2-.1.44.02.44.23a4 4 0 1 1-4-4c.21 0 .33.25.23.44A2.5 2.5 0 0 0 14.5 12c.38 0 .74-.08 1.06-.23Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M2 5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5Zm10 1c4.99 0 7.3 4.4 7.86 5.67.1.21.1.45 0 .66C19.3 13.6 17 18 12 18s-7.3-4.4-7.86-5.67a.8.8 0 0 1 0-.66C4.7 10.4 7 6 12 6Z",clipRule:"evenodd",className:s})]})},mH=e=>{let{size:t="md",width:n,height:i,color:r="#1ED760",colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M12 1C5.94 1 1 5.94 1 12s4.94 11 11 11 11-4.94 11-11S18.06 1 12 1Zm4.8 15.79a.68.68 0 0 1-.95.23c-2.57-1.58-5.8-1.93-9.62-1.06a.68.68 0 0 1-.3-1.33c4.17-.95 7.75-.54 10.64 1.22.32.2.42.62.22.94Zm1.33-2.98a.85.85 0 0 1-1.17.28c-2.94-1.81-7.43-2.34-10.91-1.28a.86.86 0 0 1-.5-1.63c3.98-1.2 8.92-.62 12.3 1.45.4.25.53.78.28 1.18Zm1.52-3.47c-.29.49-.92.65-1.4.36C14.72 8.6 8.9 8.41 5.53 9.44a1.02 1.02 0 1 1-.6-1.96C8.8 6.3 15.23 6.53 19.3 8.94c.5.29.65.92.36 1.4Z",clipRule:"evenodd",className:s})})};var mj=n(109487),mY=n(306471),mW=n(451394);let mK=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22.24 13.2c.33.1.71-.1.73-.44A11 11 0 1 0 2.91 18.2c.34.5 1.05.51 1.46.07l.02-.02c.33-.36.34-.91.07-1.33a9 9 0 1 1 16.49-3.98c0 .03.02.06.05.06a4 4 0 0 1 1.24.2Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12.59 16.03c.28.03.46.3.43.59L13 17v4a4 4 0 0 0 .2 1.24c.1.33-.1.71-.44.73a11.17 11.17 0 0 1-5.62-1.1 1.52 1.52 0 0 1-.8-1.84 6 6 0 0 1 6.25-4ZM18.98 12.57a.48.48 0 0 1-.48.43H17a.08.08 0 0 1-.08-.1 5 5 0 1 0-9.53 1.04c.18.42.14.9-.17 1.23l-.05.06c-.43.47-1.18.42-1.45-.14a7 7 0 1 1 13.26-2.52Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M17 15a2 2 0 0 0-2 2v4c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-4Zm1 1.5a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2h-2Zm0 3a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2h-2Z",clipRule:"evenodd",className:s})]})};var m$=n(808107);let mz=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M6.33 20.03c-.25.72.12 1.5.8 1.84a10.95 10.95 0 0 0 7.97.69c.36-.1.27-.56-.1-.56a3 3 0 0 1-2.28-4.95c.3-.35.2-1-.25-1.03a6 6 0 0 0-6.14 4.01Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M21.9 16c.21 0 .4-.13.47-.32A11 11 0 1 0 2.9 18.2c.34.5 1.05.51 1.46.07l.02-.02c.33-.36.34-.91.07-1.33a9 9 0 1 1 15.93-1.66c-.13.35.11.74.48.74h1.04Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16.83 15.23c.43.47 1.18.42 1.45-.14a7 7 0 1 0-12.57 0c.28.56 1.03.6 1.46.14l.05-.06c.3-.33.35-.81.17-1.23A4.98 4.98 0 0 1 12 7a5 5 0 0 1 4.6 6.94c-.17.42-.13.9.18 1.23l.05.06Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})]})},mq=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M4.56 4.36A2.83 2.83 0 0 0 3 6.9v3.03c0 5.6 3.3 10.68 8.42 12.96.37.16.79.16 1.16 0A14.18 14.18 0 0 0 21 9.92V6.9c0-1.07-.6-2.05-1.56-2.53l-6.1-3.04a3 3 0 0 0-2.68 0l-6.1 3.04Zm8.25 3.3a.85.85 0 0 0-1.62 0l-.55 1.64a.25.25 0 0 1-.24.17H8.7a.85.85 0 0 0-.5 1.55l1.35.94c.1.07.13.18.1.29l-.53 1.57a.85.85 0 0 0 1.3.97l1.44-1.02c.08-.06.2-.06.28 0l1.45 1.02a.85.85 0 0 0 1.3-.97l-.54-1.57c-.03-.1 0-.22.1-.29l1.34-.94a.85.85 0 0 0-.49-1.55h-1.7c-.11 0-.2-.06-.24-.17l-.55-1.64Z",clipRule:"evenodd",className:s})})},mX=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22.29 15.9a.15.15 0 0 1-.29-.05V15c0-.81-.32-1.55-.85-2.09a.57.57 0 0 1-.16-.42L21 12a9 9 0 1 0-16.54 4.92c.27.42.26.97-.07 1.33l-.02.02c-.41.44-1.12.43-1.46-.07a11 11 0 1 1 19.37-2.3Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12.72 17.05c.3-.35.2-1-.25-1.03a6 6 0 0 0-6.14 4.01c-.25.72.12 1.5.8 1.84a10.96 10.96 0 0 0 8.78.42c.05-.03.09-.08.09-.14a.15.15 0 0 0-.15-.15H15a3 3 0 0 1-2.28-4.95ZM19 12a7 7 0 1 0-13.28 3.09c.27.56 1.02.6 1.45.14l.05-.06c.3-.33.35-.81.17-1.23A4.98 4.98 0 0 1 12 7a5 5 0 0 1 5 5c0 .27.37.47.6.34.42-.22.9-.34 1.4-.34Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM19 14a1 1 0 0 1 1 1v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",className:s})]})},mZ=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24A3 3 0 0 0 19 16ZM12.78 22.22c.18.34-.02.76-.4.77L12 23c-1.74 0-3.4-.4-4.86-1.13a1.52 1.52 0 0 1-.8-1.84A6 6 0 0 1 12 16c.32 0 .52.34.4.64a6.99 6.99 0 0 0 .38 5.58ZM13.55 14.57a3.02 3.02 0 0 0 1.43-2.88 3 3 0 1 0-1.43 2.88Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M17.27 12.21A.22.22 0 0 1 17 12a5 5 0 1 0-9.6 1.94c.17.42.13.9-.18 1.23l-.05.06c-.43.47-1.18.42-1.45-.14a7 7 0 1 1 13.27-3.59c.01.28-.21.5-.49.52-.42.03-.83.1-1.23.2Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M21.27 12.38A.4.4 0 0 1 21 12a9 9 0 1 0-16.54 4.92c.27.42.26.97-.07 1.33l-.02.02c-.41.44-1.12.43-1.46-.07A11 11 0 1 1 23 11.5c.01.28-.22.5-.49.54-.32.05-.62.16-.9.3a.41.41 0 0 1-.33.04Z",className:s})]})},mQ=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22.34 13.02c.31.03.63-.17.65-.49L23 12a11 11 0 1 0-20.09 6.2c.34.5 1.05.51 1.46.07l.02-.02c.33-.36.34-.91.07-1.33A9 9 0 1 1 21 12.36c-.01.38.37.68.75.65.2-.02.4-.01.6 0Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12.6 16.03c.23.02.4.23.44.46.1.6.38 1.17.84 1.63l.52.53c.2.2.2.5 0 .7l-.52.53a3 3 0 0 0-.86 2.46c.03.31-.17.63-.49.65a11.16 11.16 0 0 1-5.4-1.12 1.52 1.52 0 0 1-.8-1.84 6 6 0 0 1 6.26-4ZM13.13 14.78A3 3 0 0 1 9 12a3 3 0 1 1 4.13 2.78Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M18.79 13.71c-.08.3-.45.39-.67.17a3 3 0 0 0-.81-.58.62.62 0 0 1-.35-.63c.02-.22.04-.44.04-.67a5 5 0 1 0-9.6 1.94c.17.42.13.9-.18 1.23l-.05.06c-.43.47-1.18.42-1.45-.14a7 7 0 1 1 13.07-1.38ZM16.7 15.3a1 1 0 0 0-1.4 1.4l2.29 2.3-2.3 2.3a1 1 0 0 0 1.42 1.4L19 20.42l2.3 2.3a1 1 0 0 0 1.4-1.42L20.42 19l2.3-2.3a1 1 0 0 0-1.42-1.4L19 17.58l-2.3-2.3Z",className:s})]})};var mJ=n(581925),m0=n(563119),m1=n(505930),m2=n(605323);let m3=e=>{let{size:t="md",width:n,height:i,color:r="#231F20",colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M4.5 3.92A11.03 11.03 0 0 1 11.99 1v.02a11.06 11.06 0 0 1 9.87 6.09 10.96 10.96 0 0 1-5.9 15.15A10.99 10.99 0 0 1 1.4 15l4.22 1.74a3.12 3.12 0 0 0 6.17-.62v-.14l3.75-2.67h.08a4.16 4.16 0 0 0 2.95-7.08 4.15 4.15 0 0 0-7.1 2.94v.05l-2.62 3.8h-.18c-.62 0-1.23.19-1.75.54L1 11.1a10.96 10.96 0 0 1 3.5-7.2Zm3.4 13.76-1.35-.55a2.35 2.35 0 0 0 3.45.9 2.32 2.32 0 0 0 .33-3.54 2.34 2.34 0 0 0-2.5-.55l1.4.58a1.72 1.72 0 0 1-1.33 3.17ZM17.91 7.63a2.76 2.76 0 0 1-3.84 3.83 2.8 2.8 0 0 1-1.19-2.84 2.75 2.75 0 0 1 3.78-2.01c.5.22.94.57 1.24 1.02h.01Zm-4.03.38a2.09 2.09 0 1 0 3.66 1.96c.16-.38.2-.8.11-1.2-.08-.4-.28-.77-.57-1.07a2.1 2.1 0 0 0-3.2.32Z",clipRule:"evenodd",className:s})})},m6=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.ICON_OVERLAY_LIGHT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M11.99 1A11 11 0 0 0 1 11.12l5.9 2.44a3.11 3.11 0 0 1 1.76-.54h.17l2.63-3.8v-.07a4.15 4.15 0 1 1 6.46 3.44c-.68.46-1.5.7-2.31.7h-.1l-3.74 2.67v.15a3.12 3.12 0 0 1-6.18.6l-4.22-1.72a10.93 10.93 0 0 0 8.57 7.82 10.98 10.98 0 0 0 11.9-15.72 11.07 11.07 0 0 0-4.06-4.45A11.14 11.14 0 0 0 11.98 1Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"m7.9 17.7-1.35-.56a2.3 2.3 0 0 0 2.19 1.33 2.31 2.31 0 0 0 2.1-1.47 2.33 2.33 0 0 0-3-3.06l1.4.57a1.7 1.7 0 0 1 .93.93 1.72 1.72 0 0 1 0 1.32 1.7 1.7 0 0 1-.94.93 1.73 1.73 0 0 1-1.31 0H7.9ZM18.39 9.17a2.76 2.76 0 1 0-5.53.01 2.76 2.76 0 0 0 5.53 0Zm-4.84 0a2.08 2.08 0 0 1 3.57-1.46c.28.29.48.66.57 1.07.08.4.04.82-.12 1.2a2.09 2.09 0 0 1-4.02-.8h.01Z",className:s})]})};var m4=n(49381);let m5=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M6 2h12a4 4 0 0 1 4 4v7.5a.5.5 0 0 1-.5.5H19a5 5 0 0 0-5 5v2.5a.5.5 0 0 1-.5.5H6a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4Zm-.3 3.3a1 1 0 0 0-1.4 1.4l.79.8-.8.8a1 1 0 0 0 1.42 1.4l.79-.79.8.8a1 1 0 0 0 1.4-1.42l-.79-.79.8-.8a1 1 0 0 0-1.42-1.4l-.79.79-.8-.8Zm9.6 0a1 1 0 0 1 1.4 0l.8.79.8-.8a1 1 0 1 1 1.4 1.42l-.79.79.8.8a1 1 0 0 1-1.42 1.4l-.79-.79-.8.8a1 1 0 0 1-1.4-1.42l.79-.79-.8-.8a1 1 0 0 1 0-1.4Zm-6.21 8.26a1 1 0 0 1-1.66-1.12 5.5 5.5 0 0 1 9.14 0 1 1 0 0 1-1.66 1.12 3.5 3.5 0 0 0-5.82 0Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M21.66 16c.03 0 .05.03.04.06a3 3 0 0 1-.58.82l-4.24 4.24a3 3 0 0 1-.82.58.04.04 0 0 1-.06-.04V19a3 3 0 0 1 3-3h2.66Z",className:s})]})};var m7=n(797285);let m8=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fillRule:"evenodd",d:"M18 2H6a4 4 0 0 0-4 4v12a4 4 0 0 0 4 4h7.73c.12 0 .16-.26.05-.31A2.88 2.88 0 0 1 12 19a3 3 0 0 1 3-3h6.4c.2 0 .39-.11.45-.3a3 3 0 0 0 .15-.94V6a4 4 0 0 0-4-4ZM6.5 10a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM19 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-9.91 2.94a1 1 0 0 0-1.66 1.12 5.5 5.5 0 0 0 9.14 0 1 1 0 0 0-1.66-1.12 3.5 3.5 0 0 1-5.82 0Z",clipRule:"evenodd",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{d:"M15 18a1 1 0 1 0 0 2h8a1 1 0 0 0 0-2h-8Z",fill:"string"==typeof r?r:r.css,className:s})]})},m9=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{d:"M19 14a1 1 0 0 1 1 1v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1Z",fill:"string"==typeof r?r:r.css,className:s}),(0,U.jsx)("path",{fillRule:"evenodd",d:"M21.6 13.54c.05.1.4.05.4-.07V6a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v12a4 4 0 0 0 4 4 11298.86 11298.86 0 0 0 7.76 0c.12 0 .17-.3.06-.36-1-.5-1.82-1.44-1.82-2.64a3 3 0 0 1 3-3h.5a.5.5 0 0 0 .5-.5V15a3 3 0 0 1 3-3c1.17 0 2.08.6 2.6 1.54ZM6.5 10a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM19 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-9.91 2.94a1 1 0 0 0-1.66 1.12 5.5 5.5 0 0 0 9.14 0 1 1 0 0 0-1.66-1.12 3.5 3.5 0 0 1-5.82 0Z",clipRule:"evenodd",fill:"string"==typeof r?r:r.css,className:s})]})},ge=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24A3 3 0 0 0 19 16Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M22 11.82c0 .2-.14.4-.33.49h-.02a.58.58 0 0 1-.44.05 7 7 0 0 0-4.55.04 1 1 0 0 0-1.75-.96 3.5 3.5 0 0 1-5.82 0 1 1 0 0 0-1.66 1.12 5.5 5.5 0 0 0 5.95 2.27 6.97 6.97 0 0 0-1 6.44c.11.35-.13.73-.5.73H6a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h12a4 4 0 0 1 4 4v5.82ZM6.5 10a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM19 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z",clipRule:"evenodd",className:s})]})};var gt=n(395899),gn=n(812282);let gi=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M6 2h12a4 4 0 0 1 4 4v7.5a.5.5 0 0 1-.5.5H19a5 5 0 0 0-5 5v2.5a.5.5 0 0 1-.5.5H6a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4Zm11.5 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM5.1 6.55a1 1 0 0 1 1.35-.44l3 1.5a1 1 0 0 1 0 1.78l-3 1.5a1 1 0 1 1-.9-1.78l1.21-.61-1.2-.6a1 1 0 0 1-.45-1.35Zm3.99 4.9a1 1 0 0 0-1.66 1.1 5.5 5.5 0 0 0 9.14 0 1 1 0 0 0-1.66-1.1 3.5 3.5 0 0 1-5.82 0Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M21.66 16c.03 0 .05.03.04.06a3 3 0 0 1-.58.82l-4.24 4.24a3 3 0 0 1-.82.58.05.05 0 0 1-.06-.04V19a3 3 0 0 1 3-3h2.66Z",className:s})]})},gr=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M6 2h12a4 4 0 0 1 4 4v7.5a.5.5 0 0 1-.5.5H19a5 5 0 0 0-5 5v2.5a.5.5 0 0 1-.5.5H6a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4Zm11.5 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm-2.14 1.99c.15-.53-.3-.99-.86-.99h-5c-.55 0-1.01.46-.86.99a3.5 3.5 0 0 0 6.72 0ZM6.45 6.1a1 1 0 1 0-.9 1.78l1.21.61-1.2.6a1 1 0 1 0 .89 1.8l3-1.5a1 1 0 0 0 0-1.8l-3-1.5Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M21.66 16c.03 0 .05.03.04.06a3 3 0 0 1-.58.82l-4.24 4.24a3 3 0 0 1-.82.58.04.04 0 0 1-.06-.04V19a3 3 0 0 1 3-3h2.66Z",className:s})]})};var gs=n(29080),ga=n(74833),go=n(153659),gl=n(343032),gu=n(278416);let gc=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M9.12 1.88A3 3 0 0 1 11.24 1H17a2 2 0 0 1 1.94 1.5c.07.27-.16.5-.44.5h-4.26a4 4 0 0 0-2.83 1.17l-7.25 7.25c-.5.51-.85 1.12-1.03 1.77-.12.45-.74.7-1.06.38l-.2-.2a3 3 0 0 1 0-4.24l7.25-7.25Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M13.12 5.88A3 3 0 0 1 15.24 5H21a2 2 0 0 1 2 2v5.76a3 3 0 0 1-.88 2.12l-7.25 7.25a3 3 0 0 1-4.24 0l-4.76-4.76a3 3 0 0 1 0-4.24l7.25-7.25ZM20 9.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z",clipRule:"evenodd",className:s})]})};var gd=n(373846),g_=n(24825),gh=n(276293),gf=n(770880),gp=n(446057);let gE=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M21 2a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM14 9.27a4.77 4.77 0 0 1 4.77-4.77h.46A4.77 4.77 0 0 1 24 9.27c0 .4-.33.73-.73.73h-.11a.26.26 0 0 1-.26-.2 5.17 5.17 0 0 0-.66-1.46c-.06-.1-.21-.04-.2.08l.13 1.3c.02.15-.1.28-.25.28h-5.84a.25.25 0 0 1-.25-.27l.13-1.3c.01-.13-.14-.2-.2-.09-.24.37-.52.9-.66 1.46a.26.26 0 0 1-.26.2h-.1a.73.73 0 0 1-.74-.73Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M10.18 8h1.33c.27 0 .5.22.54.49.03.21.09.43.16.63.15.39-.1.88-.52.88H9.85l-.67 4h4.97l.37-2.23c.05-.29.33-.47.62-.45l.26.02h.63c.31 0 .55.27.5.58L16.18 14H20a1 1 0 1 1 0 2h-4.15l-.86 5.16a1 1 0 0 1-1.98-.32l.8-4.84H8.86l-.86 5.16A1 1 0 0 1 6 20.84L6.82 16H3a1 1 0 1 1 0-2h4.15l.67-4H4a1 1 0 0 1 0-2h4.15l.86-5.16a1 1 0 1 1 1.98.32L10.19 8Z",className:s})]})};var gm=n(11779),gg=n(943255);let gA=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M4.13 12.02a4 4 0 0 1 5.48-4.68A5.1 5.1 0 0 1 14 5c2.61 0 4.75 1.8 4.98 4.1A5 5 0 0 1 18 19H4.5a3.5 3.5 0 0 1-.37-6.98Z",className:s})})};var gI=n(575181),gT=n(308323),gS=n(163328),gy=n(425557);let gN=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{d:"M12 1.4a1 1 0 0 0 0 1.41l.35.35-1 1.01a1 1 0 0 0 .08 1.58l9.54 6.72a1 1 0 0 0 1.3-.13l.7-.7a1 1 0 0 0 0-1.4l-9.2-9.2a1 1 0 0 0-1.41 0L12 1.4ZM12 22.61a1 1 0 0 0 0-1.41l-.35-.36.37-.37a.56.56 0 0 0 .12-.56 3 3 0 0 1-.06-1.57.56.56 0 0 0-.21-.58l-8.84-6.22a1 1 0 0 0-1.3.13l-.69.69a1 1 0 0 0 0 1.41l9.2 9.2a1 1 0 0 0 1.4 0l.36-.36ZM15 16h.16c.33 0 .56-.32.3-.53a.98.98 0 0 0-.07-.06L6.9 9.76a1 1 0 1 0-1.1 1.66l7.3 4.88c.17.1.39.1.56.02.4-.2.86-.32 1.34-.32ZM18.5 13.97a1 1 0 0 1-1.4.28L8.63 8.59a1 1 0 0 1 1.1-1.66l8.5 5.66a1 1 0 0 1 .27 1.38ZM15 18a1 1 0 1 0 0 2h8a1 1 0 0 0 0-2h-8Z",fill:"string"==typeof r?r:r.css,className:s})})};var gv=n(523056);let gC=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{d:"M19 16A3 3 0 1 0 21 21.25a1 1 0 0 1 1.32 1.5 4.98 4.98 0 0 1-8.3-3.75 4.99 4.99 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 0 1 0-2h1.23A3 3 0 0 0 19 16ZM15.04 12.88c.17.1.38.1.55.01.27-.15.55-.28.83-.4.41-.16.52-.75.15-1L9.73 6.93a1 1 0 0 0-1.11 1.66l6.42 4.29ZM21.44 12.44c.34-.2.73-.35 1.14-.4l.38-.39a1 1 0 0 0 0-1.41l-9.19-9.2a1 1 0 0 0-1.41 0L12 1.4a1 1 0 0 0 0 1.41l.35.35-1 1.01a1 1 0 0 0 .08 1.58l9.13 6.43c.3.07.6.15.88.26ZM12.2 15.69c.25.17.59.07.74-.2a7 7 0 0 1 .47-.7.53.53 0 0 0-.1-.77L6.9 9.76a1 1 0 1 0-1.12 1.66l6.4 4.27ZM3.03 11.54l8.8 6.2c.16.1.24.29.22.48a7.07 7.07 0 0 0 .04 1.88.52.52 0 0 1-.14.45l-.3.3.35.35a1 1 0 0 1 0 1.41l-.35.35a1 1 0 0 1-1.41 0l-9.2-9.19a1 1 0 0 1 0-1.41l.7-.7a1 1 0 0 1 1.3-.12Z",fill:"string"==typeof r?r:r.css,className:s})})};var gR=n(948428),gO=n(148795),gb=n(53788),gD=n(638916),gL=n(218471),gw=n(291747),gM=n(306788),gP=n(420854);let gx=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M5 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5Zm2 4a1 1 0 0 0 0 2h3a1 1 0 1 0 0-2H7Zm-1 6a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H7Z",clipRule:"evenodd",className:s})})},gk=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M7 8h3a1 1 0 1 0 0-2H7a1 1 0 0 0 0 2ZM17 16H7a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2ZM17 11H7a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2Z",clipRule:"evenodd",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h14Zm0-2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3Z",className:s})]})};var gU=n(241326),gG=n(796140),gF=n(369606),gV=n(748562),gB=n(454346);let gH=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"m20.75 7.51.01.59c0 5.96-4.54 12.84-12.84 12.84-2.45 0-4.86-.7-6.92-2.03a9.06 9.06 0 0 0 6.68-1.87 4.52 4.52 0 0 1-4.22-3.13c.68.13 1.38.1 2.04-.08A4.51 4.51 0 0 1 1.88 9.4v-.05c.63.35 1.33.54 2.05.56a4.52 4.52 0 0 1-1.4-6.02 12.81 12.81 0 0 0 9.3 4.71 4.52 4.52 0 0 1 7.7-4.12 9.06 9.06 0 0 0 2.86-1.1 4.53 4.53 0 0 1-1.98 2.5c.9-.1 1.77-.34 2.59-.7-.6.9-1.37 1.7-2.25 2.33Z",className:s})})};var gj=n(929788),gY=n(744898),gW=n(109112),gK=n(454743),g$=n(95635);let gz=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12 10a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM11.53 11A9.53 9.53 0 0 0 2 20.53c0 .81.66 1.47 1.47 1.47h.22c.24 0 .44-.17.5-.4.29-1.12.84-2.17 1.32-2.91.14-.21.43-.1.4.15l-.26 2.61c-.02.3.2.55.5.55h7.67c.2 0 .4-.14.49-.33.22-.44.55-.83.95-1.12.3-.2.4-.65.14-.9l-.52-.53a3 3 0 0 1 2.43-5.1c.35.03.69-.21.69-.56v-.43a.49.49 0 0 0-.21-.4A9.49 9.49 0 0 0 12.47 11h-.94Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M24 17a1 1 0 1 0-2 0v3.59l-4.3-4.3a1 1 0 0 0-1.4 1.42L20.58 22H17a1 1 0 1 0 0 2h6a1 1 0 0 0 1-1v-6Z",className:s})]})};var gq=n(497767),gX=n(26137),gZ=n(812991),gQ=n(565829),gJ=n(950305),g0=n(905499),g1=n(682348),g2=n(835723),g3=n(283973);let g6=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 0 1 0-2h1.24A3 3 0 0 0 19 16Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16.08 11.7c.41.18.36.77-.05.96a7 7 0 0 0-3.65 8.6c.11.36-.13.74-.5.74H6.15a.5.5 0 0 1-.5-.55l.27-2.6c.02-.26-.27-.37-.41-.16-.48.74-1.03 1.8-1.32 2.9a.53.53 0 0 1-.5.41h-.22C2.66 22 2 21.34 2 20.53A9.53 9.53 0 0 1 11.53 11h.94c1.28 0 2.5.25 3.61.7ZM16 6a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z",className:s})]})};var g4=n(861004);let g5=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16 6a4 4 0 1 1-8 0 4 4 0 0 1 8 0ZM2 20.53A9.53 9.53 0 0 1 11.53 11h.94c1.28 0 2.5.25 3.61.7.41.18.36.77-.05.96a7 7 0 0 0-3.65 8.6c.11.36-.13.74-.5.74H6.15a.5.5 0 0 1-.5-.55l.27-2.6c.02-.26-.27-.37-.41-.16-.48.74-1.03 1.8-1.32 2.9a.53.53 0 0 1-.5.41h-.22C2.66 22 2 21.34 2 20.53Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M24 19a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z",className:s})]})},g7=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12.47 11c1.56 0 3.03.38 4.33 1.04.34.18.33.67.06.94-.2.18-.36.4-.5.65l-3.96 6.9c-.1.16-.18.33-.24.5-.18.51-.62.97-1.17.97H6.15a.5.5 0 0 1-.5-.55l.27-2.6c.02-.26-.28-.37-.41-.16-.48.74-1.03 1.8-1.32 2.9a.53.53 0 0 1-.5.41h-.22C2.66 22 2 21.34 2 20.53A9.53 9.53 0 0 1 11.53 11h.94ZM12 2a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M19.91 14.63a1.06 1.06 0 0 0-1.82 0l-3.96 6.9c-.38.66.12 1.47.91 1.47h7.92c.79 0 1.3-.81.91-1.48l-3.96-6.9Zm-.46 1.87h-.9a.5.5 0 0 0-.5.55l.22 2.02c.01.16.17.26.33.23a1.93 1.93 0 0 1 .8 0c.16.03.32-.07.33-.23l.21-2.02a.5.5 0 0 0-.5-.55ZM20 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",clipRule:"evenodd",className:s})]})};var g8=n(604338),g9=n(428689),Ae=n(844972),At=n(943812),An=n(217306);let Ai=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12 3a1 1 0 0 0-1-1h-.06a1 1 0 0 0-.74.32L5.92 7H3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.92l4.28 4.68a1 1 0 0 0 .74.32H11a1 1 0 0 0 1-1V3Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M19.53 6.47a.75.75 0 0 0-1.28.53v3.8l-2.76-2.37a.75.75 0 1 0-.98 1.14l3.42 2.93-3.42 2.93a.75.75 0 1 0 .98 1.14l2.76-2.37V18a.75.75 0 0 0 1.28.53l3-3a.75.75 0 0 0-.04-1.1l-2.25-1.93 2.25-1.93a.75.75 0 0 0 .04-1.1l-3-3Zm1.37 8.57-1.15-.98v2.13l1.15-1.15Zm-1.15-6.23v2.13l1.15-.98-1.15-1.15Z",clipRule:"evenodd",className:s})]})};var Ar=n(146151),As=n(793920),Aa=n(445567),Ao=n(512474),Al=n(358618),Au=n(738678);let Ac=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M4 4a1 1 0 0 0 0 2h16a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h14a1 1 0 1 1 0 2H4Zm15.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",clipRule:"evenodd",className:s})})};var Ad=n(738188);let A_=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M7 2a1 1 0 0 0-1 1v18a1 1 0 1 0 2 0V3a1 1 0 0 0-1-1ZM11 6a1 1 0 1 1 2 0v12a1 1 0 1 1-2 0V6ZM1 8a1 1 0 0 1 2 0v8a1 1 0 1 1-2 0V8ZM16 5a1 1 0 1 1 2 0v14a1 1 0 1 1-2 0V5ZM22 8a1 1 0 0 0-1 1v6a1 1 0 1 0 2 0V9a1 1 0 0 0-1-1Z",className:s})})},Ah=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22.7 2.7a1 1 0 0 0-1.4-1.4l-20 20a1 1 0 1 0 1.4 1.4l20-20ZM6.85 13.15a.5.5 0 0 1-.85-.36V3a1 1 0 0 1 2 0v8.8a.5.5 0 0 1-.15.35l-1 1ZM11 17.2v.8a1 1 0 1 0 2 0v-1.8a.5.5 0 0 0-.85-.35l-1 1a.5.5 0 0 0-.15.36ZM11 7.8V6a1 1 0 1 1 2 0v.8a.5.5 0 0 1-.15.35l-1 1a.5.5 0 0 1-.85-.36ZM17.15 10.85a.5.5 0 0 1 .85.36V19a1 1 0 1 1-2 0v-6.8a.5.5 0 0 1 .15-.35l1-1ZM2 7a1 1 0 0 0-1 1v8a1 1 0 1 0 2 0V8a1 1 0 0 0-1-1ZM21 9a1 1 0 1 1 2 0v6a1 1 0 1 1-2 0V9Z",className:s})})};var Af=n(39619);let Ap=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M19 14a1 1 0 0 1 1 1v3h3a1 1 0 0 1 0 2h-3v3a1 1 0 0 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 1-1ZM5.97 13.88a1 1 0 0 1-.72 1.21 3 3 0 1 0 2.73 5.16 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 1 18a5 5 0 0 1 3.75-4.84 1 1 0 0 1 1.22.72Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M11.65 17c.43 0 .69.55.54.95-.07.18-.12.36-.15.55-.04.27-.26.5-.54.5H7.73a2 2 0 1 1-1.78-3l3.2-5.9A5 5 0 1 1 17 6a1 1 0 1 1-2 0 3 3 0 1 0-4.12 2.78 1 1 0 0 1 .5 1.4L7.7 16.96l.02.05h3.92Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M17.12 12.66c.23-.18.32-.52.15-.76L13.8 6.86A2 2 0 1 0 12.16 8l3.52 5.13c.23.33.75.28 1-.03.14-.16.28-.3.44-.43Z",className:s})]})},AE=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M18.45 1.85a3 3 0 0 0-4.1 1.1l-1.5 2.6a3 3 0 0 0 1.1 4.1l2.6 1.5a3 3 0 0 0 4.1-1.1l1.5-2.6a3 3 0 0 0-1.1-4.1l-2.6-1.5ZM5 2a3 3 0 0 0-3 3v3a3 3 0 0 0 3 3h3a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5ZM5 13a3 3 0 0 0-3 3v3a3 3 0 0 0 3 3h3a3 3 0 0 0 3-3v-3a3 3 0 0 0-3-3H5ZM13 16a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3h-3a3 3 0 0 1-3-3v-3Z",className:s})})},Am=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M18.45 1.85a3 3 0 0 0-4.1 1.1l-1.5 2.6a3 3 0 0 0 1.1 4.1l2.6 1.5a3 3 0 0 0 4.1-1.1l1.5-2.6a3 3 0 0 0-1.1-4.1l-2.6-1.5ZM2 5a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5ZM2 16a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-3ZM15 18a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-8Z",className:s})})};var Ag=n(352255);let AA=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M18.45 1.85a3 3 0 0 0-4.1 1.1l-1.5 2.6a3 3 0 0 0 1.1 4.1l2.6 1.5a3 3 0 0 0 4.1-1.1l1.5-2.6a3 3 0 0 0-1.1-4.1l-2.6-1.5ZM2 5a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5ZM2 16a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-3ZM19 16a3 3 0 1 0 1.98 5.25 1 1 0 1 1 1.33 1.5A4.98 4.98 0 0 1 14 19a5 5 0 0 1 8-4 1 1 0 0 1 2 0v3a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h1.24A3 3 0 0 0 19 16Z",className:s})})};var AI=n(811893),AT=n(12470);let AS=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsxs)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M4 5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3H5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3 1 1 0 1 0 0-2 1 1 0 0 1-1-1V5Z",className:s}),(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M11 8a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-8a3 3 0 0 0-3-3h-8Z",className:s})]})};var Ay=n(625657),AN=n(802516),Av=n(807072),AC=n(972213),AR=n(274997),AO=n(401432);let Ab=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M15.94 5.94a1.5 1.5 0 1 1 2.12 2.12L14.12 12l3.94 3.94a1.5 1.5 0 0 1-2.12 2.12L12 14.12l-3.94 3.94a1.5 1.5 0 1 1-2.12-2.12L9.88 12 5.94 8.06a1.5 1.5 0 1 1 2.12-2.12L12 9.88l3.94-3.94Z",className:s})})},AD=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dc.J)(t),l=o?.width??n,u=o?.height??i;return(0,U.jsx)("svg",{...(0,du.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,U.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M16.3 6.3a1 1 0 1 1 1.4 1.4L13.42 12l4.3 4.3a1 1 0 1 1-1.42 1.4L12 13.42l-4.3 4.3a1 1 0 1 1-1.4-1.42L10.58 12l-4.3-4.3a1 1 0 1 1 1.42-1.4L12 10.58l4.3-4.3Z",className:s})})};var AL=n(80500),Aw=n(508770),AM=n(462887),AP=n(781696),Ax=n(736653),Ak=n(7584),AU=n(486164),AG=n(821589),AF=n(859040),AV=n(755172);let AB=e=>{let{displayOptions:t,targetElementRef:n,onRequestClose:i,onClick:r}=e,{analyticsLocations:s}=(0,op.Ay)(ii.A.HOME_PAGE_SHOP_TAB),a=(0,Ax.Ay)(),o=(0,AM.M)(a)?t.assetDark:t.assetLight,l=e8.useRef(i);return l.current=i,e8.useEffect(()=>()=>{l.current?.()},[]),(0,U.jsx)(rK.A,{targetElementRef:n,position:"right",alignmentStrategy:"edge",align:"top",size:"lg",caretConfig:{align:"start"},title:t.title(),body:t.body(),graphic:{type:"image",src:o},actions:[{text:t.buttonLabel??na.intl.string(na.t.fYfGgK),variant:"primary",onClick:()=>{r?.(),(0,uV.pX)(eL.BVt.COLLECTIBLES_SHOP),(0,AF.Cz)({analyticsLocations:s,analyticsSource:ii.A.HOME_PAGE_SHOP_TAB})}}],onRequestClose:i})};var AH=n(758836);let Aj=e=>{let{targetElementRef:t,onRequestClose:n,onClick:i}=e,{analyticsLocations:r}=(0,op.Ay)(ii.A.HOME_PAGE_SHOP_TAB),s=e8.useRef(n);return s.current=n,e8.useEffect(()=>()=>{s.current?.()},[]),(0,U.jsx)(rK.A,{targetElementRef:t,position:"right",size:"md",alignmentStrategy:"edge",align:"top",caretConfig:{align:"start"},title:na.intl.string(na.t.epBu6F),body:na.intl.string(na.t["o8+3AX"]),graphic:{type:"image",src:"https://cdn.discordapp.com/assets/content/2d7d3d15cd72e021497ff066e2bc6ac36c4c88b3664be0a79fadaf3ccaef118e.svg"},gradientColor:"blue",actions:[{text:na.intl.string(na.t.dp9qDi),variant:"primary",onClick:()=>{i?.(),(0,AF.Cz)({analyticsLocations:r,analyticsSource:ii.A.HOME_PAGE_SHOP_TAB,tab:AH.G2.HOME})}}],onRequestClose:n})};var AY=n(870308),AW=n(998694),AK=n(966971),A$=n(563337);let Az=e=>{let{badgeIcon:t,badgeText:n}=e,i=null!=t&&""!==t?k[t]:void 0;return(0,U.jsx)("div",{className:A$.newBadge,children:(0,U.jsx)(Aw.E,{type:null!=n&&""!==n?{text:n}:"new",variant:"expressive",icon:i})})},Aq=()=>{let{noCache:e,includeUnpublished:t}=(0,AW.A)();return(0,AV.y)(AH.G2.HOME,{noCache:e,includeUnpublished:t},void 0,!0),null},AX=e=>{let{selected:t,locationState:n,icon:i,onClick:r,collectibleShopTab:s,onMouseEnter:a,onMouseLeave:o,children:l,showHoverGradient:u,hoverGradientStart:c,hoverGradientMiddle:d,hoverGradientEnd:_,...h}=e,f=(0,cP.rm)("shop"),p=ii.A.HOME_PAGE_SHOP_TAB,{analyticsLocations:E}=(0,op.Ay)(p),[m,g]=e8.useState(!1),A=e8.useCallback(()=>{void 0!==r&&r(),void 0!==s&&(0,AF.Cz)({tab:s,analyticsLocations:E,analyticsSource:p}),g(!0),(0,AF.Sw)({analyticsSource:p,analyticsLocations:E})},[p,E,r,g,s]),I=eL.BVt.COLLECTIBLES_SHOP;return(0,U.jsxs)(U.Fragment,{children:[m&&(0,U.jsx)(Aq,{}),(0,U.jsx)(dn.z9,{showHoverGradient:u??!1,selected:t,route:I,icon:i??sO.U,text:na.intl.string(na.t.pWG4ze),locationState:n,...f,...h,hoverGradientStart:c,hoverGradientMiddle:d,hoverGradientEnd:_,onMouseEnter:a,onMouseLeave:o,onClick:A,children:l})]})},AZ=e=>{if(null==e.current||null==e.current.parentElement)return!1;let t=e.current.parentElement.offsetWidth;return t>=175&&t<=230},AQ=(e,t)=>{let[n,i]=e8.useState(!1),[r,s]=e8.useState(!1),a=e8.useRef(null),o=e8.useRef(null),l=(0,Ax.Ay)(),u=(0,AM.M)(l),c=null!=e&&(null!=e.srcDark||null!=e.srcLight||null!=e.srcDarkHovered||null!=e.srcLightHovered)||null!=t,d=n?u?e?.srcDarkHovered:e?.srcLightHovered:u?e?.srcDark:e?.srcLight,_=n?u?t?.hovered?.dark:t?.hovered?.light:u?t?.resting?.dark:t?.resting?.light,h=e8.useCallback(()=>{i(!0);let e=()=>s(AZ(a));e(),o.current=requestAnimationFrame(e)},[]),f=e8.useCallback(()=>{i(!1),s(!1),null!=o.current&&(cancelAnimationFrame(o.current),o.current=null)},[]);return e8.useEffect(()=>()=>{null!=o.current&&cancelAnimationFrame(o.current)},[]),{backgroundAsset:d,backgroundStyle:_,shouldApplyFade:r,buttonRef:a,handleMouseEnter:h,handleMouseLeave:f,hasHoverTreatment:c}},AJ=e=>{let{backgroundAsset:t,backgroundStyle:n,shouldApplyFade:i,buttonRef:r}=e;return(0,U.jsx)("div",{ref:r,className:A$.marketingButtonBackgroundNew,style:null!=n?{background:n}:void 0,children:null!=t&&(0,U.jsx)("img",{src:t,className:t2()(A$.marketingButtonBackgroundImage,i&&A$.marketingButtonBackgroundImageFaded),alt:"","aria-hidden":!0})})},A0=e=>{let{displayOptions:t,...n}=e,{backgroundAsset:i,backgroundStyle:r,shouldApplyFade:s,buttonRef:a,handleMouseEnter:o,handleMouseLeave:l}=AQ(t.entryPointBackgroundAssets,t.entrypointBackgroundStyle);return(0,U.jsx)(AU.A,{title:t.title(),body:t.body?.()??"",asset:(0,U.jsx)("img",{src:t.asset,alt:"","aria-hidden":!0}),children:(0,U.jsxs)(AX,{className:null!=t.entryPointClassName?(0,AG.t)(A$,t.entryPointClassName):void 0,...n,icon:t.entryPointIcon,onMouseEnter:o,onMouseLeave:l,...!0===t.showHoverGradient&&{showHoverGradient:!0,hoverGradientStart:r9.A.colors.COLLECTIBLES_TAB_GRADIENT_CENTER,hoverGradientMiddle:r9.A.colors.COLLECTIBLES_TAB_GRADIENT_INNER,hoverGradientEnd:r9.A.colors.COLLECTIBLES_TAB_GRADIENT_OUTER},children:[(0,U.jsx)(AJ,{backgroundAsset:i,backgroundStyle:r,shouldApplyFade:s,buttonRef:a}),(0,U.jsx)(Az,{badgeIcon:t.badgeIcon,badgeText:t.badgeText})]})})},A1=e=>{let{displayOptions:t,...n}=e,{backgroundAsset:i,backgroundStyle:r,shouldApplyFade:s,buttonRef:a,handleMouseEnter:o,handleMouseLeave:l,hasHoverTreatment:u}=AQ(t?.entryPointBackgroundAssets,t?.entrypointBackgroundStyle);return(0,U.jsxs)(AX,{...n,onMouseEnter:u?o:void 0,onMouseLeave:u?l:void 0,...t?.showHoverGradient===!0&&{showHoverGradient:!0,hoverGradientStart:r9.A.colors.COLLECTIBLES_TAB_GRADIENT_CENTER,hoverGradientMiddle:r9.A.colors.COLLECTIBLES_TAB_GRADIENT_INNER,hoverGradientEnd:r9.A.colors.COLLECTIBLES_TAB_GRADIENT_OUTER},children:[u&&(0,U.jsx)(AJ,{backgroundAsset:i,backgroundStyle:r,shouldApplyFade:s,buttonRef:a}),(0,U.jsx)(Az,{badgeIcon:t?.badgeIcon,badgeText:t?.badgeText})]})},A2=e=>{let{displayOptions:t,...n}=e,i=e8.useMemo(()=>{let e=null!=t.emojiName?Ak.Ay.getByName(t.emojiName)?.surrogates:null;return(0,U.jsxs)(sw.E,{variant:"text-sm/medium",className:A$.marketingBadgeTooltipContent,children:[null!=e&&(0,U.jsx)(t0.A,{emojiName:e}),t.title()]})},[t]);return(0,U.jsx)(AP.ST,{"data-migration-pending":!0,text:i,tooltipClassName:A$.marketingBadgeTooltip,position:"right",delay:100,hideOnClick:!1,"aria-label":t.title(),children:e=>(0,U.jsx)(AX,{...n,...e,children:(0,U.jsx)(Az,{badgeIcon:t.badgeIcon,badgeText:t.badgeText})})})},A3=e=>{let{displayOptions:t,dismissContent:n,...i}=e,r=e8.useRef(null),s=e8.useRef(null),[a,o]=e8.useState(!1),l=(0,Ax.Ay)(),u=(0,AM.M)(l),c=t.entryPointBackgroundAssets,d=t.entrypointBackgroundStyle,_=u?c?.srcDarkHovered:c?.srcLightHovered,h=u?d?.hovered?.dark:d?.hovered?.light;return e8.useEffect(()=>{if(null==_||""===_)return void o(!1);let e=()=>{o(AZ(s))};e();let t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}},[_]),(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(AX,{...i,listItemRef:r,children:[(0,U.jsx)(AJ,{backgroundAsset:_,backgroundStyle:h,shouldApplyFade:a,buttonRef:s}),(0,U.jsx)(Az,{badgeIcon:t.badgeIcon,badgeText:t.badgeText})]}),(0,U.jsx)(AB,{displayOptions:t,targetElementRef:r,onClick:()=>n(rE.i.TAKE_ACTION),onRequestClose:()=>n(rE.i.USER_DISMISS)})]})},A6=e=>{let{dismissContent:t,...n}=e,i=e8.useRef(null);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(AX,{...n,onClick:()=>t(rE.i.TAKE_ACTION),listItemRef:i}),(0,U.jsx)(Aj,{targetElementRef:i,onClick:()=>t(rE.i.TAKE_ACTION),onRequestClose:()=>t(rE.i.USER_DISMISS)})]})},A4=e=>{let{selected:t,onClick:n,locationState:i,listItemRef:r}=e,{shopButtonDisplayOptions:s,dismissShopButtonDC:a}=(0,AY.A)(),o=!(0,nv.hasAnyModalOpen)(),[l,u]=(0,rf.kn)(o?[rM.M.WISHLIST_SHOP_BUTTON_POPOVER]:[]),c={selected:t,locationState:i,onClick:()=>{a(),n?.()},listItemRef:r};if(null!=s)switch(s.type){case AK.FF.TOOLTIP:return(0,U.jsx)(A2,{...c,displayOptions:s});case AK.FF.TAB_TOOLTIP:return(0,U.jsx)(A0,{...c,displayOptions:s});case AK.FF.BADGE:return(0,U.jsx)(A1,{...c,displayOptions:s});case AK.FF.COACHMARK:return(0,U.jsx)(A3,{dismissContent:a,...c,displayOptions:s})}return l===rM.M.WISHLIST_SHOP_BUTTON_POPOVER?(0,U.jsx)(A6,{...c,dismissContent:u}):(0,U.jsx)(AX,{...c})};var A5=n(558845),A7=n(519059),A8=n(957283),A9=n(411976),Ie=n(380335),It=n(309199),In=n(157550);function Ii(){return(0,e6.bG)([Ie.A,In.A],()=>(0,It.SM)([Ie.A,In.A]))}var Ir=n(945276),Is=n(834981),Ia=n(851746),Io=n(894374),Il=n(877624),Iu=n(366999),Ic=n(531260),Id=n(892035);let I_=(0,eM.mj)({name:"2026-04-croissant-reheat",kind:"user",defaultConfig:{enabled:!1},variations:{0:{enabled:!1},1:{enabled:!0}}});var Ih=n(674567),If=((p={})[p.NONE=0]="NONE",p[p.POPOVER=1]="POPOVER",p),Ip=n(878784);let IE=()=>{let e=(0,Ip.bu)(),[t,n]=(0,rf.kn)(null!=e?[rM.M.WHATS_NEW_TENURE_BADGE_REWARD]:[],void 0,!0);return t===rM.M.WHATS_NEW_TENURE_BADGE_REWARD?[na.intl.string(na.t["jyYgZ+"]).toLocaleUpperCase(),n]:[null,n]};var Im=n(192444),Ig=n(366505),IA=n(909536),II=n(166403),IT=n(428262),IS=n(683760),Iy=n(960851),IN=n(881489);let Iv=(0,eM.mj)({name:"2026-04-premium-group-announcement",kind:"user",defaultConfig:!1,variations:{0:!1,1:!0}}),IC=(0,eM.mj)({name:"2026-03-premium-group-popover",kind:"user",defaultConfig:!1,variations:{0:!1,1:!0}});function IR(e){let{location:t}=e;return IC.useConfig({location:t})}var IO=n(595529),Ib=n(774774),ID=n(626736);let IL="premium_tier_gradient",Iw="smaller_sparkle_gradient";function IM(e){let{width:t=14,height:n=15,color:i="white",foreground:r,...s}=e;return(0,U.jsxs)("svg",{...(0,ne.A)({...s}),preserveAspectRatio:"none",width:t,height:n,viewBox:"0 0 14 15",className:r,xmlns:"http://www.w3.org/2000/svg",children:[(0,U.jsx)("defs",{children:(0,U.jsxs)("linearGradient",{id:IL,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,U.jsx)("stop",{offset:"0%",stopColor:"#8547C6"}),(0,U.jsx)("stop",{offset:"50%",stopColor:"#B845C1"}),(0,U.jsx)("stop",{offset:"100%",stopColor:"#AB5D8A"})]})}),(0,U.jsxs)("linearGradient",{id:Iw,x1:"-4.95474",y1:"5.44067",x2:"11.2384",y2:"8.58386",gradientUnits:"userSpaceOnUse",children:[(0,U.jsx)("stop",{stopColor:"#8547C6"}),(0,U.jsx)("stop",{offset:"0.52899",stopColor:"#B845C1"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#AB5D8A"})]}),(0,U.jsx)("path",{d:"M8.59403 1.52779C8.04647 0.0480288 5.95353 0.0480288 5.40597 1.52779L4.56476 3.8011C4.36219 4.34854 3.93057 4.78016 3.38313 4.98273L1.10982 5.82394C-0.36994 6.3715 -0.36994 8.46444 1.10982 9.012L3.38313 9.8532C3.93057 10.0558 4.36219 10.4874 4.56476 11.0348L5.40597 13.3081C5.95353 14.7879 8.04647 14.7879 8.59403 13.3081L9.43524 11.0348C9.63781 10.4874 10.0694 10.0558 10.6169 9.8532L12.8902 9.012C14.3699 8.46444 14.3699 6.3715 12.8902 5.82394L10.6169 4.98273C10.0694 4.78016 9.63781 4.34854 9.43524 3.8011L8.59403 1.52779Z",fill:i})]})}function IP(e){let{className:t,startsAt:n,endsAt:i,messageStyle:r,upperCase:s,showSparkles:a}=e,[o]=(0,IO.Bo)(rM.M.FRACTIONAL_NITRO_DURATION_LEFT_PILL,{showAfterTimestamp:n.valueOf(),cooldownDurationMs:0}),l=(0,Iu.Ay)(i,r);return""===l?null:(s&&(l=l.toUpperCase()),(0,U.jsxs)("div",{className:t2()(t,ID.Iv),children:[a?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(IM,{foreground:ID.QX,color:`url(#${Iw})`}),(0,U.jsx)(IM,{foreground:ID.J0,color:`url(#${IL})`})]}):null,(0,U.jsx)(Ib.e4,{text:l,colorOptions:o===rM.M.FRACTIONAL_NITRO_DURATION_LEFT_PILL?Ib.at.PREMIUM_TIER_2_NEW_GRADIENT_FILL:Ib.at.PREMIUM_TIER_2_GREY_FILL})]}))}var Ix=n(131168),Ik=n(422936),IU=n(234419),IG=n(549996),IF=n(39423),IV=n(935399),IB=n(851974),IH=n(73825),Ij=n(97352),IY=n(580630),IW=n(97124),IK=n(88001),I$=n(466919),Iz=n(693841);function Iq(e){let t,{userDiscount:n,isTabSelected:i}=e,r=parseFloat(n.discount.amount),s=na.intl.formatToPlainString(I$.default.GEwdVw,{percent:r,discountOfferAmount:n.discount.amount}),a=cu.pe.TIER_2,{plan:o,isFetching:l}=(0,e6.cf)([Ij.A],()=>({plan:Ij.A.get(cu.gD.PREMIUM_GROUP_MONTH),isFetching:Ij.A.isFetchingForSKU(a)}));if((0,IV.Ay)(()=>{null!=n.expiresAt||null!=o||l||(0,IH.ur)(a)}),null!=n.expiresAt)return(0,U.jsx)(IW.JP,{expiresAt:n.expiresAt.toISOString(),isTabSelected:i,badgeCopy:s});if(null==o)return(0,U.jsx)(Aw.E,{type:{text:s},variant:"expressive"});try{t=(0,IT.JM)(cu.gD.PREMIUM_GROUP_MONTH)}catch{return(0,U.jsx)(Aw.E,{type:{text:s},variant:"expressive"})}let u=Math.round(t.amount*(1-r/100)),c=(0,IY.$g)(Math.round(u/IK.aw),t.currency);return(0,U.jsx)(c9.u,{title:na.intl.string(I$.default.luFmt7),body:na.intl.formatToPlainString(I$.default.QnXCe6,{pricePerPerson:c}),asset:(0,U.jsxs)("div",{className:Iz.W,"aria-hidden":!0,children:[(0,U.jsx)("div",{className:Iz.r,children:(0,U.jsx)(IB.d,{alt:"",ariaHidden:!0,width:48,height:48})}),(0,U.jsx)(sR.t,{size:"custom",width:27,height:27,color:r9.A.colors.WHITE,className:Iz.r})]}),assetSize:48,position:"right",align:"center",asContainer:!0,children:(0,U.jsx)(Aw.E,{type:{text:s},variant:"expressive"})})}var IX=n(603488),IZ=n(964661);let IQ=(0,eM.mj)({kind:"user",name:"2026-05-logitech-ss-reheat-ff",defaultConfig:{enabled:!1},variations:{1:{enabled:!0}}});var IJ=n(398523),I0=n(881373),I1=n(727949),I2=n(961773);let I3=e=>{let{isSelected:t,discountOffer:n}=e,[i,r]=(0,rf.kn)([rM.M.CHURN_DISCOUNT_PREMIUM_TAB_BADGE],void 0,!0);return(e8.useEffect(()=>{t&&i===rM.M.CHURN_DISCOUNT_PREMIUM_TAB_BADGE&&r(rE.i.TAKE_ACTION)},[t,r,i]),i===rM.M.CHURN_DISCOUNT_PREMIUM_TAB_BADGE)?(0,U.jsx)(IW.MA,{badgeCopy:na.intl.format(na.t.AYcXGW,{discountOfferAmount:n.discount.amount}).toString(),isTabSelected:t,offerExpiresAt:null}):(0,U.jsxs)("div",{className:t2()(I2.bv,I2.Hf),children:[(0,U.jsx)(_7.O,{size:"custom",width:14,height:14,color:"currentColor",className:I2.aW}),(0,U.jsx)(sw.E,{variant:"eyebrow",color:"text-subtle",children:na.intl.format(na.t.AYcXGW,{discountOfferAmount:n.discount.amount})})]})};var I6=n(791105),I4=n(989349),I5=n.n(I4),I7=n(983060),I8=n(237146);function I9(e){let{targetElementRef:t,dismissPopover:n,children:i}=e;return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{children:i}),(0,U.jsx)(rK.A,{size:"lg",shouldShow:!0,position:"right",align:"top",caretConfig:{align:"start"},targetElementRef:t,onRequestClose:()=>n(rE.i.USER_DISMISS),badge:{type:"new",variant:"expressive"},title:na.intl.string(I8.default.pdaUSE),body:na.intl.format(I8.default.bsMVNi,{termsLink:(0,I7.xA)()}),graphic:{type:"image",src:"https://cdn.discordapp.com/assets/content/a626e89f21174d458db77a7934048a601ec3147f0d79fbe3d0f33b76d066c155.png",aspectRatio:"16/9"},actions:[{text:na.intl.string(na.t.RzWDqY),variant:"expressive",icon:sR.t,onClick:()=>{n(rE.i.TAKE_ACTION),(0,uV.pX)(eL.BVt.NITRO_HOME)}}]})]})}var Te=n(646917),Tt=n(576761);let Tn=e=>{let{children:t,multiplier:n}=e,i=(0,Te.z)()===Tt.MA.NITRO?na.intl.format(na.t.NpUfej,{bonusOrbMultiplier:n}):na.intl.format(na.t["G5k+lZ"],{bonusOrbMultiplier:n});return(0,U.jsx)(c9.u,{title:na.intl.string(na.t.Csf5Ol),body:i,asset:(0,U.jsx)("img",{src:"https://cdn.discordapp.com/assets/content/d499eaa867393cbe4b7d560aa82343f68e83dcd1fd55a2f86a1b5aceb420c66a.svg",alt:"","aria-hidden":!0}),assetSize:80,position:"right",align:"center",asContainer:!0,children:t})};var Ti=n(532794),Tr=n(438705);let Ts=e=>{let{targetElementRef:t,dismissPopover:i,children:r}=e,s=IR({location:"nitro_tab_popover"}),{analyticsLocations:a}=(0,op.Ay)(),o=s?na.intl.string(I$.default.oOSj1l):na.intl.format(I$.default["c+NBSl"],{premiumGroupProductName:(0,IK.DP)()}),l=s?na.intl.string(I$.default.nCLJQn):na.intl.format(I$.default.MuUV5u,{premiumGroupProductName:(0,IK.DP)(),totalSeats:IK.aw}),u=(0,U.jsx)(rK.A,{targetElementRef:t,title:o,body:l,graphic:{type:"image",src:Tr},badge:{type:"beta",variant:"expressive"},gradientColor:"nitro-pink",size:"md",align:"top",position:"right",caretConfig:{align:"start"},actions:[{text:s?na.intl.format(I$.default.LwdrNi,{premiumGroupProductName:(0,IK.DP)()}):na.intl.string(I$.default["IO+nlU"]),variant:s?"expressive":"primary",onClick:()=>{i(rE.i.TAKE_ACTION),s?(0,Ti.A)({subscriptionTier:cu.pe.TIER_2,initialPlanId:cu.gD.PREMIUM_GROUP_MONTH,analyticsLocations:a}):(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("99709"),n.e("69595")]).then(n.bind(n,526710));return t=>(0,U.jsx)(e,{...t})})},...s?{icon:sR.t,iconPosition:"start"}:{}}],onRequestClose:()=>i(rE.i.USER_DISMISS)});return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{children:r}),u]})};var Ta=n(421438);function To(e){let{targetElementRef:t,children:n}=e;return(0,U.jsx)(c9.u,{targetElementRef:t,asset:(0,U.jsx)("img",{src:Ta,alt:""}),title:na.intl.string(I$.default.aFBQ3d),body:na.intl.string(I$.default.HXu14O),padding:"lg",caretConfig:{align:"center",position:"left"},position:"right",children:n})}var Tl=n(741231),Tu=n(920050),Tc=n(280041),Td=n(264779),T_=n(382259);let Th=e=>{let{targetElementRef:t,dismissPopover:n,children:i}=e,{analyticsLocations:r}=(0,op.Ay)(ii.A.HOME_PAGE_PREMIUM_TAB),s=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),a=(0,Td.$_)(s),o=IT.Ay.isPremiumExactly(s,cu.PremiumTypes.TIER_2),l=(0,I0.YS)({location:"SSLogitechReheatPopover"}).functionalityEnabled,u=!0===a?na.intl.string(na.t.YfTxzY):na.intl.string(na.t.K0dyhm),c=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,Tl.A)(eL.BVt.NITRO_HOME,{search:(0,ny.stringify)({[I6.x6]:Tc.NI.THREE_P_PROMOTIONS})}),(0,T_.u)({analyticsLocations:r})},[n,r]),d=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,Tl.A)(eL.BVt.NITRO_HOME,{search:(0,ny.stringify)({[I6.WU]:l?Tu.LOGITECH_3PP_CARD_ID:Tu.RECURRING_3P_PROMOTIONS_CARD_ID})})},[n,l]),_=o?{text:na.intl.string(na.t["CDdYB/"]),onClick:d}:{text:na.intl.string(na.t["CDdYB/"]),onClick:c};return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{children:i}),(0,U.jsx)(rK.A,{shouldShow:!0,targetElementRef:t,title:na.intl.string(na.t.nt2xCC),body:u,graphic:{type:"image",src:"https://cdn.discordapp.com/assets/content/c70d0bb22b44b2c433ed2f725e31545da26e57881eb528f59ddccd75e8a16cec.png"},size:"lg",alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},actions:[_],onRequestClose:()=>n(rE.i.USER_DISMISS)})]})};var Tf=n(567341),Tp=n(31502),TE=n(490285);function Tm(e){let{targetElementRef:t,dismissPopover:n,orbsRewardAmount:i,children:r}=e,s=(0,Tp.l)("PremiumOrbRewardsIntroductionPopover"),a=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,uV.pX)(eL.BVt.NITRO_HOME,{search:(0,ny.stringify)({perk:Tu.NITRO_ORBS_REWARDS_CARD_ID})})},[n]),o=(0,U.jsx)(rK.A,{targetElementRef:t,onRequestClose:()=>n(rE.i.USER_DISMISS),graphic:{type:"rive",rive:Tf.Z},badge:{type:s?"new":"beta",variant:"expressive"},alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},size:"md",title:na.intl.string(TE.default.hx5AFp),body:na.intl.format(TE.default.wq3CF2,{orbsCount:i}),actions:[{text:na.intl.string(na.t.RzWDqY),icon:sR.t,onClick:a}],gradientColor:"nitro-pink"});return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{children:r}),o]})}function Tg(e){let{targetElementRef:t,dismissPopover:n,lastGrantedRewardAmount:i,children:r}=e,s=(0,Tp.l)("PremiumOrbRewardsOrbDropPopover"),a=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,uV.pX)(eL.BVt.NITRO_HOME,{search:(0,ny.stringify)({perk:Tu.NITRO_ORBS_REWARDS_CARD_ID})})},[n]),o=(0,U.jsx)(rK.A,{targetElementRef:t,onRequestClose:()=>n(rE.i.USER_DISMISS),graphic:{type:"rive",rive:Tf.Z},badge:{type:s?"new":"beta",variant:"expressive"},alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},size:"md",title:na.intl.string(TE.default["78+gLr"]),body:na.intl.formatToPlainString(TE.default.Ry1TXC,{orbsCount:i}),actions:[{text:na.intl.string(na.t.RzWDqY),icon:sR.t,onClick:a}],gradientColor:"nitro-pink"});return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{children:r}),o]})}var TA=n(549384);function TI(e){let{targetElementRef:t,dismissPopover:n,children:i}=e,r=(0,Tp.l)("PremiumOrbRewardsUpsellPopover"),s=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,uV.pX)(`${eL.BVt.NITRO_HOME}?section=${TA.L}`)},[n]),a=(0,U.jsx)(rK.A,{targetElementRef:t,onRequestClose:()=>n(rE.i.USER_DISMISS),graphic:{type:"rive",rive:Tf.Z},badge:{type:r?"new":"beta",variant:"expressive"},alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},size:"md",title:na.intl.string(TE.default["3BI7j6"]),body:na.intl.string(TE.default.XNHr3C),actions:[{text:na.intl.string(na.t.hvVgAZ),onClick:s}],gradientColor:"nitro-pink"});return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{children:i}),a]})}var TT=n(410516),TS=n(272533);function Ty(e){let{targetElementRef:t,discountOffer:n,children:i}=e,r=(0,TT.YJ)(n)??cu.gD.PREMIUM_YEAR_TIER_2,s=(0,TT.N1)(r),a=na.intl.format(na.t["4FUWIL"],{percent:n.discount.amount}),o=na.intl.format(na.t.XTzCoo,{discountedPrice:s}),l=(0,U.jsxs)("div",{className:TS.W,"aria-hidden":!0,children:[(0,U.jsx)("div",{className:TS.r,children:(0,U.jsx)(IB.d,{alt:"Nitro Icon background",ariaHidden:!0,width:48,height:48})}),(0,U.jsx)(sR.t,{size:"custom",width:27,height:27,color:r9.A.colors.WHITE,className:TS.r})]});return(0,U.jsx)(c9.u,{title:a,body:o,asset:l,assetSize:48,position:"right",targetElementRef:t,shouldShow:null!=s,children:i})}var TN=n(473702),Tv=n(398932);let TC=e=>{let{targetElementRef:t,discountOffer:i,premiumSubscription:r,dismissCoachmark:s,children:a}=e,{analyticsLocations:o}=(0,op.Ay)(ii.A.CHURN_DISCOUNT_POPOVER),l=(0,TT.iU)(cu.gD.PREMIUM_MONTH_TIER_2,i,r),u=(0,U.jsx)(rK.h,{targetElementRef:t,position:"right",align:"top",size:"md",caretConfig:{align:"start"},title:na.intl.format(na.t["3yZP0G"],{percent:i.discount.amount}).toString(),body:na.intl.format(na.t["3Q4wCy"],{discountedPrice:l,billingPeriod:(0,IT.Ke)(i.discount.userUsageLimitInterval),numMonths:i.discount.userUsageLimit}),graphic:{type:"image",src:Tv.A},gradientColor:"nitro-pink",actions:[{text:na.intl.string(na.t.zrCzVB),variant:"expressive",onClick:()=>{s(rE.i.TAKE_ACTION),(0,nv.openModalLazy)(async()=>{let{PremiumBrandRefreshSubscriptionCancellationModal:e}=await Promise.all([n.e("34218"),n.e("31329"),n.e("26963"),n.e("90862"),n.e("51402"),n.e("59859"),n.e("97177"),n.e("81927"),n.e("18090"),n.e("4222"),n.e("46461"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("11301"),n.e("61737"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("6338"),n.e("83255"),n.e("96811"),n.e("23608"),n.e("44571"),n.e("9045"),n.e("94161"),n.e("13051"),n.e("80347"),n.e("80166")]).then(n.bind(n,293061));return t=>(0,U.jsx)(e,{...t,premiumSubscription:r,analyticsLocations:o,initialStep:TN.g.CONFIRM_DISCOUNT})})},icon:sR.t}],onRequestClose:()=>{s(rE.i.USER_DISMISS)}});return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{children:a}),u]})};var TR=n(52416),TO=n(796878);function Tb(e){let{alt:t,ariaLabel:n,ariaHidden:i,role:r,width:s=144,height:a=144}=e;return(0,U.jsx)("img",{style:{width:s,height:a},src:"https://cdn.discordapp.com/assets/content/ccd2a924e833d06271b72e92c1f8c684cb4b746c147dd762a9ce025aa8fc7b05.svg",alt:t,"aria-label":n,"aria-hidden":i,role:r??"img"})}function TD(e){let{children:t,endsAt:n,variant:i="initial"}=e,r=(0,IN.Zb)(n),s=(0,IY.$g)(0,(0,IT.Rr)(),{minimumFractionDigits:0,maximumFractionDigits:0}),a="followup"===i,o=a?na.intl.string(na.t.gzhz8w):na.intl.string(na.t.aopiS6),l=a?na.intl.format(na.t["3iUE+U"],{price:s}):na.intl.format(na.t.AQd9tZ,{days:r});return(0,U.jsx)(c9.u,{title:l,body:o,asset:(0,U.jsx)(Tb,{alt:"",width:48,height:48}),assetSize:48,position:"right",asContainer:!0,children:(0,U.jsx)("div",{children:t})})}var TL=((E={}).NONE="none",E.CHURN_DISCOUNT="churn_discount",E.PREMIUM_GROUP="premium_group",E.PREMIUM_GROUP_TOOLTIP="premium_group_tooltip",E.ORBS_UPSELL="orbs_upsell",E.ORBS_INTRO="orbs_intro",E.ORBS_DROP="orbs_drop",E.TOOLTIP="tooltip",E.MARKETING_MOMENT_POPOVER="marketing_moment_popover",E.SS_LOGITECH_REHEAT="ss_logitech_reheat",E.REVERSE_TRIAL="reverse_trial",E.ORBS_MULTIPLIER="orbs_multiplier",E.CROISSANT_REHEAT_MOMENT="croissant_reheat_moment",E.ANNUAL_DISCOUNT="annual_discount",E);function Tw(e){let{children:t,popoverType:n,targetElementRef:i,discountOffer:r,churnDiscountOffer:s,premiumSubscription:a,lastGrantedRewardAmount:o,dismissCoachMark:l,dismissOrbsDropPopover:u,dismissMarketingPopover:c,orbMultiplier:d,orbsRewardAmount:_,fpCurrentEntitlementEndsAt:h,trialOffer:f}=e,p=(0,nv.useHasAnyModalOpen)(),E=(0,e6.bG)([aN.A],()=>null!=aN.A.pipVideoWindow);if(p||E)return t;switch(n){case"churn_discount":if(null!=s&&null!=a)return(0,U.jsx)(TC,{targetElementRef:i,discountOffer:s,premiumSubscription:a,dismissCoachmark:l,children:t});break;case"premium_group":return(0,U.jsx)(Ts,{targetElementRef:i,dismissPopover:l,children:t});case"premium_group_tooltip":return(0,U.jsx)(To,{targetElementRef:i,children:t});case"orbs_upsell":return(0,U.jsx)(TI,{targetElementRef:i,dismissPopover:l,children:t});case"orbs_intro":return(0,U.jsx)(Tm,{targetElementRef:i,dismissPopover:l,orbsRewardAmount:_,children:t});case"orbs_drop":if(null!=o)return(0,U.jsx)(Tg,{targetElementRef:i,dismissPopover:u,lastGrantedRewardAmount:o,children:t});break;case"reverse_trial":{let e=f?.trial_id===cu.Tt,n=h??(f?.expires_at!=null?I5()(f?.expires_at):null);if(null!=n)return(0,U.jsx)(TD,{endsAt:n,variant:e?"followup":"initial",children:t});break}case"tooltip":return(0,U.jsx)(TO.A,{children:t});case"annual_discount":if(null!=r)return(0,U.jsx)(Ty,{targetElementRef:i,discountOffer:r,children:t});break;case"marketing_moment_popover":return(0,U.jsx)(TR.A,{targetElementRef:i,dismissPopover:c,children:t});case"ss_logitech_reheat":return(0,U.jsx)(Th,{targetElementRef:i,dismissPopover:l,children:t});case"orbs_multiplier":return(0,U.jsx)(Tn,{multiplier:d,children:t});case"croissant_reheat_moment":return(0,U.jsx)(I9,{targetElementRef:i,dismissPopover:l,children:t})}return t}let TM=new Set([rM.M.PREMIUM_WISHLIST_COACHMARK]),TP=e=>{let{selected:t}=e,n=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),i=(0,e6.bG)([II.A],()=>II.A.getPremiumTypeSubscription()),r=(0,IU.V)(),s=(0,Ik.O)({includePremiumGroupDiscount:!0}),a=(0,Iy.cg)(),[o]=IE(),l=(0,IT.Of)(n,i),u=(0,e6.bG)([IS.A],()=>IS.A.getCreatedAtOverride()),c=t||null!=r||null!=s||a||null!=o||l,d=null!=u?u:n?.createdAt;return c||null!=n&&null!=d&&Date.now()-d.getTime()>12096e5},Tx=e=>{let t,n,i,{selected:r,nitroTabButtonRef:s,route:a,locationState:o,showHoverGradient:l,...u}=e,c=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),d=(0,e6.bG)([II.A],()=>II.A.getPremiumTypeSubscription()),_=(0,IT.Of)(c,d),h=(0,IT.YE)(c,cu.PremiumTypes.TIER_2),f=(0,cP.rm)("nitro"),p=(0,IU.V)(),E=(0,Ik.O)({includePremiumGroupDiscount:!0}),m=(0,Ix.p)(),g=(0,IN.ds)(),A=(0,Iy.cg)(),I=(0,I1.NF)({trialOffer:p}),T=(0,IF.bf)(),[S,y]=IE(),{shouldShowBonusOrbsUX:N,dismissOrbMultiplierTabTooltip:v,orbMultiplier:C}=function(){let e=(0,nv.useHasAnyModalOpen)(),t=(0,A5.Ay)(e=>e.postConnectionOpen),{shouldShowBonusOrbsUX:n,multiplier:i}=(0,Im.lk)(aq.rE.NITRO_HOME_TAB),[r,s]=(0,rf.kn)(!e&&n&&t?[rM.M.NITRO_TAB_QUEST_ORB_MULTIPLIER_TOOLTIP]:[],rE.m.PRIVATE_CHANNELS_LIST);return{shouldShowBonusOrbsUX:r===rM.M.NITRO_TAB_QUEST_ORB_MULTIPLIER_TOOLTIP,dismissOrbMultiplierTabTooltip:s,orbMultiplier:i}}(),R=(0,I1.Tp)(),O=(0,e6.bG)([Ia.A],()=>Ia.A.getReminderStateId()),b=(()=>{let{enabled:e}=IJ.Ay.useConfig({location:"useIsSSLogitechReheatPopoverShowable"}),{functionalityEnabled:t}=(0,I0.YS)({location:"useIsSSLogitechReheatPopoverShowable"});return function(e){let{location:t}=e,{enabled:n}=IQ.useConfig({location:t});return n}({location:"useIsSSLogitechReheatPopoverShowable"})&&(e||t)})(),{programReward:D,isEligible:L}=(0,Ig.F)({location:"NitroTabButton"}),w=IR({location:"nitro_tab_popover"}),M=function(e){let{location:t}=e;return Iv.useConfig({location:t})}({location:"nitro_tab_popover"}),P=D?.reward_amount??0,x=!(0,IT.TW)(c)&&L,k=D?.last_granted_reward,G=D?.last_granted_reward_amount,F=(0,A5.mB)(rM.M.PREMIUM_ORBS_REWARDS_INTRO_POPOVER),V=h&&L&&null!=k&&null!=G&&!F,B=h&&L&&!V&&null!=D&&P>0,H=null!=m&&null!=d&&d.status===eL.Dmq.CANCELED,j=(0,IA.Gh)("NitroTabButton"),Y=function(){let e=(0,Ih.V)();if(!function(e){let{enabled:t}=I_.useConfig({location:e});return t}("nitro_tab_button"))return 0;switch(e){case Ih.s.NON_NITRO:case Ih.s.FREE_FRACTIONAL_NITRO:return 1;default:return 0}}(),W=Y!==If.NONE,{showEaPremiumMarketing:K}=(0,Id.z$)("NitroTabButton"),{fractionalState:$,startsAt:z,endsAt:q,currentEntitlementEndsAt:X}=(0,Ic.A)({forceFetch:!0}),[Z,Q]=(0,rf.Wl)($!==cu.xc.NONE?rM.M.FRACTIONAL_NITRO_DURATION_LEFT_PILL:null,{showAfterTimestamp:z.valueOf(),cooldownDurationMs:0}),J=p?.trial_id===cu.Dw,ee=[],et=[];(0,A5.Tc)()&&(A&&ee.push(rM.M.BOGO_2025_NITRO_TAB_BADGE),K&&ee.push(rM.M.PROFILE_FRAMES_NITRO_TAB_NEW_BADGE));let[en,ei]=(0,rf.kn)(ee,void 0,!0);H&&et.push(rM.M.CHURN_DISCOUNT_PREMIUM_TAB_COACHMARK),T&&(w||M?et.push(rM.M.PREMIUM_GROUP_POPOVER_UPSELL_V2):et.push(rM.M.PREMIUM_GROUP_POPOVER)),x&&et.push(rM.M.PREMIUM_ORBS_UPSELL_POPOVER),B&&et.push(rM.M.PREMIUM_ORBS_REWARDS_INTRO_POPOVER),b&&et.push(rM.M.STEELSERIES_LOGITECH_REHEAT),j&&et.push(rM.M.PREMIUM_WISHLIST_COACHMARK),W&&et.push(rM.M.CROISSANT_REHEAT_MOMENT);let[er,es]=(0,rf.kn)(et,void 0,!0),ea=(0,IG.c)(Il.C.PREMIUM_TAB),eo=(0,IG.c)(Il.C.PREMIUM_TAB_TOOLTIP),el=(0,IG.c)(Il.C.PREMIUM_TAB_POPOVER),[eu,ec]=(0,rf.Cc)(null!=ea&&"premiumTab"===ea.properties.properties.oneofKind?rM.M.PREMIUM_TAB_MARKETING_MOMENT_OFFER_BADGE:null,ea?.promotionId??"",void 0,!0),[ed,e_]=(0,rf.Cc)(null!=el&&"premiumTabPopover"===el.properties.properties.oneofKind?rM.M.PREMIUM_MARKETING_MOMENT_REMINDER_UPSELL:null,el?.promotionId??"",void 0,!0),[eh,ef]=(0,rf.Cc)(V?rM.M.PREMIUM_ORBS_REWARDS_DROP_POPOVER:null,k??"",void 0,!0),ep=null!=eo&&"premiumTabTooltip"===eo.properties.properties.oneofKind&&eu===rM.M.PREMIUM_TAB_MARKETING_MOMENT_OFFER_BADGE,eE=b&&er===rM.M.STEELSERIES_LOGITECH_REHEAT,em=null!=E&&cu.U4.includes(E.discountId)&&null==E.expiresAt;if(e8.useEffect(()=>{!0===r&&(null!=en&&ei(rE.i.AUTO_DISMISS),null==er||TM.has(er)||es(rE.i.AUTO_DISMISS),null!=eu&&ec(rE.i.AUTO_DISMISS),null!=eh&&ef(rE.i.AUTO_DISMISS),null!=ed&&e_(rE.i.AUTO_DISMISS),N&&v(rE.i.AUTO_DISMISS),null!=S&&y(rE.i.AUTO_DISMISS))},[ei,r,en,es,er,eu,ec,eh,ef,ed,e_,N,v,S,y]),!TP({selected:r}))return null;let eg=()=>{Z===rM.M.FRACTIONAL_NITRO_DURATION_LEFT_PILL&&Q(rE.i.TAKE_ACTION),ew.default.track(eL.HAw.NITRO_TAB_VISITED,{badge_decorator:n,has_premium:_}),null!=en&&ei(rE.i.USER_DISMISS),null!=eu&&ec(rE.i.USER_DISMISS),(er===rM.M.PREMIUM_GROUP_POPOVER||er===rM.M.PREMIUM_GROUP_POPOVER_UPSELL_V2)&&es(rE.i.USER_DISMISS),er===rM.M.STEELSERIES_LOGITECH_REHEAT&&es(rE.i.USER_DISMISS),er===rM.M.CROISSANT_REHEAT_MOMENT&&es(rE.i.USER_DISMISS),N&&v(rE.i.USER_DISMISS),null!=S&&y(rE.i.USER_DISMISS)};$===cu.xc.NONE||g||(n=7,t=(0,U.jsx)(IP,{className:"",startsAt:z,endsAt:q,messageStyle:Iu.yE.SHORT_TIME,upperCase:!0}));let eA=er===rM.M.PREMIUM_GROUP_POPOVER||er===rM.M.PREMIUM_GROUP_POPOVER_UPSELL_V2,eI=T&&eA,eT=(0,lt.u$)(rM.M.PREMIUM_TAB_MARKETING_MOMENT_OFFER_BADGE,ea?.promotionId??"").isDismissed;if(null==ea||"premiumTab"!==ea.properties.properties.oneofKind||eT)if(R)t=(0,U.jsx)(Aw.E,{type:{text:na.intl.string(na.t.RDE0Sc)},variant:"expressive"}),eg=()=>{ew.default.track(eL.HAw.NITRO_TAB_VISITED,{badge_decorator:n,has_premium:_}),(0,I1.ne)(O)},n=6;else if(eI)t=(0,U.jsx)(Aw.E,{type:"new",variant:"expressive"}),n=11;else if(A)t=(0,U.jsx)(IX.A,{}),n=0;else if(I){let e=(0,I1.ZR)();t=(0,U.jsx)(IW.MA,{isTabSelected:r,badgeCopy:na.intl.string(na.t.OS9KPu),offerExpiresAt:!0===e?p?.expires_at:null}),n=4}else eE?(t=(0,U.jsx)(Aw.E,{type:"new",variant:"expressive"}),n=12):g?(t=(0,U.jsx)(Aw.E,{type:{text:na.intl.string(na.t.raP9dM)},variant:"expressive"}),n=4):null!=S?(t=(0,U.jsx)(Aw.E,{type:{text:S},variant:"expressive"}),n=1):null!=E&&E.discountId===cu.xH?(t=(0,U.jsx)(Iq,{userDiscount:E,isTabSelected:r}),n=9):null!=E?(t=(0,U.jsx)(IW.fY,{userDiscount:E,isTabSelected:r,includesAmountOff:!1}),n=3):null==p||J?H?(t=(0,U.jsx)(I3,{isSelected:r,discountOffer:m}),n=8):x&&er===rM.M.PREMIUM_ORBS_UPSELL_POPOVER||B&&er===rM.M.PREMIUM_ORBS_REWARDS_INTRO_POPOVER||V&&eh===rM.M.PREMIUM_ORBS_REWARDS_DROP_POPOVER?(t=(0,U.jsx)(Aw.E,{type:"new",variant:"expressive"}),n=2):j&&er===rM.M.PREMIUM_WISHLIST_COACHMARK?(t=(0,U.jsx)(Aw.E,{type:"new",variant:"expressive"}),n=13):N?(t=(0,U.jsx)(Aw.E,{type:"new",variant:"expressive"}),n=14):W&&er===rM.M.CROISSANT_REHEAT_MOMENT?(t=(0,U.jsx)(Aw.E,{type:"new",variant:"expressive"}),n=2):K&&en===rM.M.PROFILE_FRAMES_NITRO_TAB_NEW_BADGE&&(t=(0,U.jsx)(Aw.E,{type:"new",variant:"expressive"}),n=15):(t=(0,U.jsx)(IW.Ag,{trialOffer:p,isTabSelected:r}),n=4);else t=(0,U.jsx)(IZ.A,{componentId:ea.id,badgeCopy:ea.properties.properties.premiumTab.badgeLabel,acknowledgedBadgeCopy:ea.properties.properties.premiumTab.acknowledgedBadgeLabel,isDismissed:eT}),n=10,l=ea.properties.properties.premiumTab.showHoverGradient,i=ea.properties.properties.premiumTab.deeplinkSection;let eS=TL.NONE;ed===rM.M.PREMIUM_MARKETING_MOMENT_REMINDER_UPSELL?eS=TL.MARKETING_MOMENT_POPOVER:H&&er===rM.M.CHURN_DISCOUNT_PREMIUM_TAB_COACHMARK&&8===n?eS=TL.CHURN_DISCOUNT:eI&&!M?eS=TL.PREMIUM_GROUP:eI&&M?(eS=TL.PREMIUM_GROUP_TOOLTIP,l=!0):x&&er===rM.M.PREMIUM_ORBS_UPSELL_POPOVER?eS=TL.ORBS_UPSELL:B&&er===rM.M.PREMIUM_ORBS_REWARDS_INTRO_POPOVER?eS=TL.ORBS_INTRO:V&&eh===rM.M.PREMIUM_ORBS_REWARDS_DROP_POPOVER?eS=TL.ORBS_DROP:ep?eS=TL.TOOLTIP:em&&3===n?eS=TL.ANNUAL_DISCOUNT:eE?eS=TL.SS_LOGITECH_REHEAT:g||p?.trial_id===cu.Tt?eS=TL.REVERSE_TRIAL:N?eS=TL.ORBS_MULTIPLIER:Y===If.POPOVER&&er===rM.M.CROISSANT_REHEAT_MOMENT&&(eS=TL.CROISSANT_REHEAT_MOMENT);let ey=(0,U.jsx)(dn.z9,{listItemRef:s,selected:r,route:a,icon:sR.t,showHoverGradient:l??!1,nitroHoverGradient:!0,text:(0,U.jsx)(c8.A,{children:h?na.intl.string(na.t["4gwVVn"]):na.intl.string(na.t.Ipxkog)}),locationState:o,onClick:()=>{if(null!=i&&""!==i){let e=new URL(a,window.location.origin);e.searchParams.set(I6.x6,i),(0,uV.pX)(`${e.pathname}?${e.searchParams.toString()}`)}eg()},...u,...f,children:t});return(0,U.jsx)(Tw,{orbsRewardAmount:P,popoverType:eS,targetElementRef:s,discountOffer:E,churnDiscountOffer:m,premiumSubscription:d,orbMultiplier:C,lastGrantedRewardAmount:G,dismissCoachMark:es,dismissOrbsDropPopover:ef,dismissMarketingPopover:e_,fpCurrentEntitlementEndsAt:X,trialOffer:p,children:ey})};var Tk=n(954457);let TU=e=>{let{targetElementRef:t}=e,i=(0,I1.Tp)(),r=(0,e6.bG)([Ia.A],()=>Ia.A.getReminderStateId()),s=(0,e6.bG)([Ia.A],()=>Ia.A.getReferralsRemaining()),a=(0,e6.bG)([tu.A],()=>{let e=tu.A.settings.userContent?.recurringDismissibleContentStates[rM.M.REFERRAL_PROGRAM_POPOVER_V2];return e?.numTimesDismissed??0}),o=()=>{(0,I1.ne)(r)};return(0,U.jsx)(rK.A,{targetElementRef:t,title:na.intl.string(na.t.K2DyeS),body:na.intl.string(na.t["JICo+3"]),graphic:{type:"image",src:Tk.A},size:"md",shouldShow:i,align:"top",position:"right",gradientColor:"nitro-pink",caretConfig:{align:"start"},actions:[{text:na.intl.string(na.t.t2N81y),onClick:()=>{ew.default.track(eL.HAw.REFERRAL_PROGRAM_SHARE_MODAL_CTA_CLICKED,{location_stack:[ii.A.HOME_PAGE_PREMIUM_TAB],times_dismissed:null!=r?a+1:null,referrals_remaining:s}),o(),(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.resolve().then(n.bind(n,212737));return t=>(0,U.jsx)(e,{...t})})}}],onRequestClose:o})};var TG=n(922139),TF=n(717421),TV=n(770178),TB=n(87549),TH=n(18437),Tj=n(194526),TY=n(78701);function TW(e){let{onNavigateToQuestHome:t,onRender:n,onRequestClose:i,targetElementRef:r}=e,s=e8.useCallback(()=>{t(),(0,uV.pX)(eL.BVt.QUEST_HOME)},[t]);return e8.useEffect(()=>{n()},[n]),(0,U.jsx)(rK.A,{actions:[{text:na.intl.string(na.t.facYnD),variant:"primary",onClick:s}],alignmentStrategy:"edge",align:"top",body:na.intl.string(na.t.o4NGXc),caretConfig:{align:"start"},gradientColor:"purple",graphic:{type:"image",src:TY.A},onRequestClose:i,position:"right",size:"lg",targetElementRef:r,title:na.intl.string(na.t.EDDchq)})}var TK=n(398025),T$=n(301958);let Tz=Math.ceil(Math.sqrt(115200)),Tq=(Tz-240)/2,TX=function(e){let{selected:t}=e,n=(0,cP.rm)("quests"),i=e8.useRef(null),{shouldShowPopover:r,shouldShowGradientAndBadge:s,dismissOnboardingContent:a}=function(){let e=(0,nv.useHasAnyModalOpen)(),t=(0,e6.bG)([ov.A],()=>ov.A.quests.size>0),n=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),[i,r]=(0,rf.kn)(!e&&t&&null!=n?[rM.M.QUEST_HOME_ENTRYPOINT_ONBOARDING]:[],rE.m.PRIVATE_CHANNELS_LIST,!0),s=e8.useCallback(()=>{r(rE.i.TAKE_ACTION)},[r]),a=i===rM.M.QUEST_HOME_ENTRYPOINT_ONBOARDING,o=(0,lt.JZ)(rM.M.QUEST_HOME_ENTRYPOINT_ONBOARDING);return{shouldShowPopover:a,shouldShowGradientAndBadge:t&&!o,dismissOnboardingContent:s}}(),{shouldShowQuestHomeHeroContent:o,dismissQuestHomeHeroContent:l,questHomeHero:u}=(0,Tj.I)(),c=(0,TH.cR)({questHomeHero:u,shouldShowQuestHomeHeroContent:o}),d=e8.useCallback(()=>{TB.A.getState().setUtmCurrentContext({utmContentCurrent:"PRIMARY_QUEST_HOME"}),o&&l(),c.handleEntrypointClick()},[o,l,c]),[{glowSpring:_},h]=(0,TF.z)(()=>({from:{glowSpring:0},config:{clamp:!0,mass:1,tension:240,friction:12}})),[{shineSpring:f},p]=(0,TF.z)(()=>({from:{shineSpring:0},config:{clamp:!0,mass:1,tension:170,friction:38}})),E=e8.useCallback(()=>{p({shineSpring:1}),h({glowSpring:1,delay:200}),c.handleMouseEnter()},[p,h,c]),m=e8.useCallback(()=>{p({shineSpring:0,immediate:!0}),h({glowSpring:0,delay:0}),c.handleMouseLeave()},[p,h,c]),g=e8.useCallback(()=>{p({shineSpring:1,delay:500}),h({glowSpring:1,delay:700}),c.handleOnboardingPopoutRender()},[p,h,c]),[A,I]=e8.useState(-1),T=e8.useCallback(e=>{I(e.contentRect.width)},[]),S=(0,TV.w)(T,[],{fireOnMount:!0}),y=!o&&s,N=!o&&r,v=o&&u?.questHomeEntrypoint?.tooltipTitle!=null,{inlineCssProperties:C,shouldShowQuestHomeHeroGradient:R}=e8.useMemo(()=>{let e={"--custom-shine-dimensions":"240px","--custom-shine-rotated-dimensions-delta":`${Tq}px`},t=u?.questHomeEntrypoint?.linearGradient?.start,n=u?.questHomeEntrypoint?.linearGradient?.end,i=u?.questHomeEntrypoint?.radialGradient?.start,r=u?.questHomeEntrypoint?.radialGradient?.end;o&&(null!=t&&null!=n&&(e["--custom-quest-home-hero-linear-gradient-start"]=t,e["--custom-quest-home-hero-linear-gradient-end"]=n),null!=i&&null!=r&&(e["--custom-quest-home-hero-radial-gradient-start"]=i,e["--custom-quest-home-hero-radial-gradient-end"]=r));let s=null!=i&&null!=r,a=null!=t&&null!=n;return{inlineCssProperties:e,shouldShowQuestHomeHeroGradient:o&&(s||a)}},[o,u]),O=(0,U.jsx)("div",{className:T$.iE,onMouseEnter:E,onMouseLeave:m,onFocus:E,onBlur:m,ref:S,style:C,children:(0,U.jsxs)(dn.z9,{showHoverGradient:!1,className:t2()({[T$.VU]:y||R,[T$.jR]:y,[T$.XO]:o}),icon:sL.r,listItemRef:i,onClick:d,route:eL.BVt.QUEST_HOME,selected:t,text:na.intl.string(na.t.JALI2K),...n,children:[o&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{className:T$.qS,children:(0,U.jsx)(Aw.E,{type:{text:na.intl.string(na.t.y2b7CA)},variant:"expressive"})}),u?.questHomeEntrypoint?.image!=null&&(0,U.jsx)("img",{src:u?.questHomeEntrypoint?.image,className:T$.Nd,alt:""})]}),y&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(TG.animated.div,{className:T$.q2,style:{transform:f.to(e=>`translateX(calc(${e*A}px + ${e*Tz}px)) translateY(-50%) rotate(45deg)`)}}),(0,U.jsx)(TG.animated.div,{className:T$.ys,style:{opacity:(0,TK.a)(_.to({range:[0,1],output:[0,.5]}))}}),(0,U.jsx)(os.Lp,{className:T$.qS,text:na.intl.string(na.t.y2b7CA),color:r9.A.colors.BACKGROUND_BRAND.css})]})]})});return(0,U.jsxs)(U.Fragment,{children:[v?(0,U.jsx)(AU.A,{title:u?.questHomeEntrypoint?.tooltipTitle,body:u?.questHomeEntrypoint?.tooltipSubtitle??"",asset:u?.questHomeEntrypoint?.tooltipImage!=null?(0,U.jsx)("img",{src:u.questHomeEntrypoint.tooltipImage,alt:""}):void 0,children:O}):O,N&&(0,U.jsx)(TW,{targetElementRef:i,onNavigateToQuestHome:d,onRender:g,onRequestClose:a})]})};var TZ=n(793322),TQ=n(366811),TJ=n(728321),T0=n(839067),T1=n(67480),T2=n(619921),T3=n(541830),T6=n(925004);let T4=e=>{let{selected:t,...n}=e,i=(0,A7.c)("PrivateChannels.ICYMIButton"),r=(0,cP.rm)("icymi");return i?(0,U.jsx)("div",{className:T6.F2,children:(0,U.jsx)(dn.z9,{selected:t,route:eL.BVt.ICYMI,icon:sv.g,text:(0,U.jsxs)(U.Fragment,{children:[na.intl.string(na.t["jnXV/V"]),(0,U.jsx)("span",{className:T6.HH,children:na.intl.string(na.t.Ac2OZA)})]}),...n,...r})}):null},T5=e=>{let{selected:t,...n}=e,i=(0,cP.rm)("friends"),r=(0,iJ.kX)(),s=(0,e6.bG)([u0.Ay],()=>u0.Ay.canShowFriendsTabBadge()),{enabled:a}=uQ.u.useConfig({location:"Friends Tab"}),[o,l]=(0,rf.Wl)(s&&a?rM.M.GIFTING_INTENT_FRIENDS_TAB_BADGE:null,{cooldownDurationMs:u0.hb}),u=o===rM.M.GIFTING_INTENT_FRIENDS_TAB_BADGE;e8.useEffect(()=>{u&&(0,o6.x)({name:eR.ImpressionNames.GIFT_INTENT_BADGE,type:eR.ImpressionTypes.VIEW,properties:{gift_intent_type:cu.np.FRIEND_ANNIVERSARY}})},[u]);let c=()=>{let e;u?(ew.default.track(eL.HAw.GIFT_INTENT_BADGE_CLICKED,{gift_intent_type:cu.np.FRIEND_ANNIVERSARY}),e=eL.m3P.ALL,ol.A.setSection(eL.m3P.ALL),l(rE.i.TAKE_ACTION)):e=uy.Ay.getState().section,(0,ds.A)({tab_opened:e})},d=()=>(0,U.jsx)(dn.z9,{showHoverGradient:u,onClick:c,selected:t,route:eL.BVt.FRIENDS,icon:sb.$,text:na.intl.string(na.t.TdEu5X),...n,...i,children:r>0?(0,U.jsx)(os.hV,{count:r}):null});return(0,U.jsx)("div",{className:T6.F2,children:u?(0,U.jsx)(c9.u,{title:na.intl.string(na.t.Thb5MO),body:na.intl.string(na.t.kGvgwS),position:"left",asset:(0,U.jsx)(c7,{size:32,alt:na.intl.string(na.t["4LohBA"])}),children:d()}):d()})},T7=e=>{let{selected:t,hideGameUpdateProgressIndicator:n,...i}=e,r=(0,cP.rm)("library");return(0,U.jsx)(dn.z9,{selected:t,route:eL.BVt.APPLICATION_LIBRARY,icon:de._,text:na.intl.string(na.t.cw57ar),...i,...r,children:(0,U.jsx)(dr.A,{className:t2()(T6.Qw,{[T6.QI]:n})})})},T8=()=>{let e=(0,A9.W)();return e>0?(0,U.jsx)(os.hV,{count:e}):null},T9=e=>{let{selected:t}=e,n=(0,cP.rm)("messageRequests"),{channelId:i}=(0,A8.N)();if(!Ii())return null;let r=null==i?void 0:()=>ui.A.preload(eL.ME,i);return(0,U.jsx)(dn.z9,{selected:t,route:eL.BVt.MESSAGE_REQUESTS,icon:dt.u,text:na.intl.string(na.t.e7GWjQ),onClick:r,...n,children:(0,U.jsx)(T8,{})})},Se=e=>{let{selected:t}=e,n=na.intl.string(sF.default.Rkdixs),i=(0,cP.rm)("family-center"),[r,s]=e8.useState(!0);return(0,U.jsx)(dn.z9,{selected:t,route:eL.BVt.FAMILY_CENTER,icon:sD.n,text:n,onMouseEnter:()=>{s(!0)},onMouseLeave:()=>{s(!1)},interactiveClassName:T6.M1,...i,children:(0,U.jsx)(St,{isParentHovered:r})})},St=e=>{let{isParentHovered:t}=e,i=(0,Is.VT)();return t?(0,U.jsx)("div",{className:T6.lL,children:(0,U.jsx)(dn.w_,{onClick:()=>{(0,nv.openModalLazy)(async()=>{let{default:e}=await n.e("67195").then(n.bind(n,371158));return t=>(0,U.jsx)(e,{...t})})},"aria-label":na.intl.string(na.t.cpT0Cq),icon:cT.P})}):i>0?(0,U.jsx)("div",{className:t2()(T6.lL,T6.iL),children:(0,U.jsx)(os.hV,{count:i})}):(0,U.jsx)("div",{className:T6.lL})},Sn=()=>(0,TZ.WU)("DM_SEARCH");function Si(e){switch(e){case eL.BVt.APPLICATION_LIBRARY:return eL.liQ.LIBRARY;case eL.BVt.FRIENDS:return eL.liQ.FRIENDS_LIST;case eL.BVt.COLLECTIBLES_SHOP:return eL.liQ.COLLECTIBLES_SHOP}return e.startsWith(eL.BVt.APPLICATION_STORE)?e===eL.BVt.APPLICATION_STORE?eL.liQ.STORE_DIRECTORY_HOME:e.startsWith(eL.BVt.APPLICATION_STORE)?eL.liQ.STORE_DIRECTORY_BROWSE:eL.liQ.STORE_LISTING:eL.liQ.DM_CHANNEL}let Sr=e8.memo(function(e){let{showLibrary:t,hasLibraryApplication:n,homeLink:i,premiumTabSelected:r,shouldShowNitroTab:s,showReferralProgramPopover:a,shouldShowMessageRequestsRow:o,shouldShowFamilyCenterRow:l,selectedChannelId:u,path:c}=e,d=e8.useRef(null),_=e8.useRef(null),h=e8.useRef(null),f=e8.useRef(null),p=(0,A7.c)("PrivateChannels"),E=null;return a&&(E=(0,U.jsx)(TU,{targetElementRef:f})),(0,U.jsxs)("nav",{className:T6.AB,"aria-label":na.intl.string(na.t.ZH9aP4),children:[(0,U.jsx)(TJ.A,{childRef:d,tutorialId:"direct-messages",position:"right",offsetX:-52,children:(0,U.jsx)("div",{ref:d,className:t2()(T6.ON,{[T6.jD]:e0.Fr}),children:(0,U.jsx)(tJ.$,{fullWidth:!0,variant:"secondary",size:"sm",onClick:Sn,text:na.intl.format(na.t.fH9FBy,{tooltipHook:(e,t)=>(0,U.jsx)(c8.A,{children:e},t)})})})}),(0,U.jsxs)(di.A,{...e,version:c,selectedChannelId:u,listScrollerRef:h,children:[(0,U.jsx)(T5,{selected:null!=c?c===eL.BVt.FRIENDS:i===eL.BVt.FRIENDS},"friends"),p?(0,U.jsx)(T4,{selected:null!=c?c===eL.BVt.ICYMI:i===eL.BVt.ICYMI},"icymi"):null,n&&t?(0,U.jsx)(T7,{selected:null==c?null!=i&&i.startsWith(eL.BVt.APPLICATION_LIBRARY):c.startsWith(eL.BVt.APPLICATION_LIBRARY),hideGameUpdateProgressIndicator:i===eL.BVt.APPLICATION_LIBRARY},"library"):null,o?(0,U.jsx)(T9,{selected:null==c?null!=i&&i.startsWith(eL.BVt.MESSAGE_REQUESTS):c===eL.BVt.MESSAGE_REQUESTS},"message-requests"):null,s?(0,U.jsxs)("div",{children:[(0,U.jsx)(Tx,{nitroTabButtonRef:f,selected:null==c?r:c.startsWith(eL.BVt.APPLICATION_STORE),route:eL.BVt.APPLICATION_STORE,locationState:{analyticsSource:{page:Si(i),section:eL.JJy.NAVIGATION,object:eL.ZSU.NAVIGATION_LINK}}}),E]},"nitro-tab-group"):null,(0,U.jsx)(A4,{selected:c===eL.BVt.COLLECTIBLES_SHOP||i?.startsWith(eL.BVt.COLLECTIBLES_SHOP),listItemRef:_,locationState:{analyticsSource:{page:Si(i),section:eL.JJy.NAVIGATION,object:eL.ZSU.NAVIGATION_LINK}}},"discord-shop"),l?(0,U.jsx)(Se,{selected:null!=i&&i.startsWith(eL.BVt.FAMILY_CENTER)||null!=c&&c.startsWith(eL.BVt.FAMILY_CENTER)},"family-center"):null,(0,U.jsx)(TX,{selected:null==c?null!=i&&i.startsWith(eL.BVt.QUEST_HOME):c===eL.BVt.QUEST_HOME},"quests"),(0,U.jsx)(Ss,{},"section-divider-top")]})]})});function Ss(){return(0,U.jsx)("div",{className:T6.ts})}function Sa(){let e,t,n=(0,e6.bG)([T2.A],()=>T2.A.getHomeLink()),i=(0,e6.bG)([T1.A],()=>{if(n===eL.BVt.APPLICATION_STORE)return!0;let e=(0,T3.qt)(n);return null!=e&&(T1.A.get(e)?.premium??!1)},[n]),r=!tl.l_.useSetting(),{theme:s}=(0,e6.cf)([to.A],()=>({theme:to.A.theme})),a=(0,e6.bG)([lQ.A],()=>lQ.A.hasLibraryApplication()),o=(0,e6.bG)([T0.A],()=>T0.A.getCurrentPath()),[l,u]=(0,TQ.A)(e=>{let{channelId:t,path:n}=e;return[t,n]},c5.x),c=TP({selected:null==u?i:u.startsWith(eL.BVt.APPLICATION_STORE)}),d=(0,I1.Tp)(),_=(0,e6.bG)([Ia.A],()=>Ia.A.getReminderStateId()),h=[],f=(0,Io.A)({location:"Private Channels"});(0,A5.Tc)()&&d&&!f&&h.push(rM.M.REFERRAL_PROGRAM_POPOVER);let[p]=(0,rf.Cc)(d&&f?rM.M.REFERRAL_PROGRAM_POPOVER_V2:null,_??"",void 0,!0),[E,m]=(0,rf.kn)(h,void 0,!0),g=f?p===rM.M.REFERRAL_PROGRAM_POPOVER_V2:E===rM.M.REFERRAL_PROGRAM_POPOVER,A=Ii(),I=(e=tl.dm.useSetting(),t=(0,Ir.A)(),!0===e&&!0===t);return(0,U.jsx)(Sr,{theme:s,showLibrary:r,hasLibraryApplication:a,storeLink:o,homeLink:n,premiumTabSelected:i,shouldShowNitroTab:c,showReferralProgramPopover:g,shouldShowMessageRequestsRow:A,shouldShowFamilyCenterRow:I,selectedChannelId:l,path:u})}var So=n(892340),Sl=n(272720),Su=n(320989),Sc=n(463347),Sd=n(334465),S_=n(718446),Sh=n(650048),Sf=n(696451),Sp=n(177141),SE=n(935208),Sm=n(521502),Sg=n(380610);function SA(e){let{width:t=14,height:n=14,color:i="currentColor",foreground:r,...s}=e;return(0,U.jsx)("svg",{...(0,ne.A)(s),width:t,height:n,viewBox:"0 0 14 14",children:(0,U.jsx)("path",{fill:i,className:r,d:"M6.99471698,9.67522659 C8.47108874,9.67522659 9.66792453,8.47748685 9.66792453,7 C9.66792453,5.52251315 8.47108874,4.32477341 6.99471698,4.32477341 C5.51834522,4.32477341 4.32150943,5.52251315 4.32150943,7 C4.32150943,8.47748685 5.51834522,9.67522659 6.99471698,9.67522659 Z M6.99471698,2.67522659 C8.18867925,2.67522659 9.26641509,3.16163142 10.0483019,3.94410876 L11.9396226,2.05135952 C10.6822642,0.782477341 8.92830189,0 6.99471698,0 C3.12754717,0 0,3.14048338 0,7 L2.67320755,7 C2.67320755,4.6102719 4.60679245,2.67522659 6.99471698,2.67522659 Z M11.3267925,7 C11.3267925,9.3897281 9.39320755,11.3247734 7.00528302,11.3247734 C5.81132075,11.3247734 4.73358491,10.8383686 3.94113208,10.0558912 L2.04981132,11.9486405 C3.31773585,13.2175227 5.06113208,14 6.99471698,14 C10.8618868,14 14,10.8595166 14,7 L11.3267925,7 Z"})})}var SI=n(932553);let ST="isHideDevBanner",SS=()=>{let[e,t]=(0,e8.useState)(tA.w.get(ST,"false")?.toString()==="true"),n=(0,e6.bG)([Sm.A],()=>(0,Sg.kK)()?Sm.A.getCurrentBuildOverride().overrides?.discord_web:null);if(e)return null;let i=()=>{tA.w.set(ST,!0),t(!0)},r=()=>(0,U.jsx)(t3.D,{onClick:i,className:SI.b,"aria-label":na.intl.string(na.t.WAI6xu),children:(0,U.jsx)(cT.P,{size:"md",color:"currentColor",className:SI.ut})});return null!=n?(0,U.jsxs)("div",{className:t2()(SI.Wz,SI.DM),children:[(0,U.jsx)(SA,{className:SI.Kk}),na.intl.string(na.t.Wj3LW4),(0,U.jsx)(r,{})]}):"staging"===window.GLOBAL_ENV.RELEASE_CHANNEL?(0,U.jsxs)("div",{className:t2()(SI.Wz,SI.mr),children:[(0,U.jsx)(SA,{className:SI.Kk}),na.intl.format(na.t.uyrfYF,{buildNumber:"556699"}),(0,U.jsx)(r,{})]}):null};var Sy=n(765671),SN=n(890856),Sv=n(905552),SC=n(157257),SR=n(609174),SO=n(226870),Sb=n(111994),SD=n(409067),SL=n(227628),Sw=n(468550),SM=n(700491);function SP(){let{enableQuickBar:e}=rF.h.useConfig({location:"ClipsQuickBar"}),t=(0,SL.MZ)(e=>e.isOpen),n=(0,Sw.sY)(e=>e.isOpen),i=(0,e6.bG)([rV.Ay],()=>rV.Ay.canShowReminders()),r=(0,e6.bG)([ia.Ay,SC.A],()=>(0,Sv.A)(ia.Ay,SC.A)),s=(0,e6.yK)([rV.Ay],()=>rV.Ay.getLastClipsSession()?.newClipIds??[]),a=e8.useMemo(()=>(0,SD.u)(s.map(e=>rV.Ay.getClipById(e)).filter(e=>null!=e).filter(e=>e.applicationId===r?.id),Sb.mu.MOST_RECENT),[s,r]),o=a.length>0;e8.useEffect(()=>{!t||i&&o||(0,SL.yj)()},[t,i,o]);let l=e8.useCallback(e=>{(0,rZ.p)({initialEditingClipId:e.id})},[]),u=e8.useCallback(()=>{(0,rZ.p)({selectedGameId:r?.id})},[r?.id]);if(!e||n||!t||!i||0===a.length||null==r)return null;let c=4-a.length;return(0,U.jsx)("div",{className:SM.$j,children:(0,U.jsx)("div",{className:SM.e1,children:a.slice(0,4).concat(...Array(c>0?c:0).fill(null)).map((e,t)=>((e,t,n)=>{if(null==e)return(0,U.jsx)("div",{className:SM.WK},`no-clip-${n}`);let i="auto"===e.clipMethod,r=t&&a.length>4,s=a.length-3;return(0,U.jsx)(SN.s,{className:SM.WK,"aria-label":na.intl.string(na.t.bt75uw),onClick:r?u:l.bind(null,e),children:(0,U.jsx)(SR.Cl,{clip:e,children:(0,U.jsx)(SO.d,{isStatic:!0,children:r?(0,U.jsx)("div",{className:SM.N7,children:(0,U.jsxs)(sw.E,{variant:"text-sm/medium",color:"text-strong",children:["+",s]})}):i&&(0,U.jsx)(mF.B,{className:SM.$v,size:"xs",color:r9.A.colors.TEXT_STRONG.css,"aria-label":na.intl.string(na.t["3Y2DJ8"])})})})},e.id)})(e,3===t,t))})})}var Sx=n(371912),Sk=n(334686),SU=n(584099);let SG=[0,-1];function SF(e,t,n,i){return t<=1?i:n+e/(t-1)*(i-n)}function SV(e){if(0===e.length)return[0,0];let t=1/0,n=-1/0,i=1/0,r=-1/0;for(let[s,a]of e)s<t&&(t=s),s>n&&(n=s),a<i&&(i=a),a>r&&(r=a);return[-(t+n)/2,-(i+r)/2]}function SB(e){let{clips:t,minRotationDeg:n=5,maxRotationDeg:i=15,minSpreadPx:r=5,maxSpreadPx:s=5,hoverMinSpreadPx:a,hoverMaxSpreadPx:o,topHoverLiftPx:l=0,spreadOnHover:u=!0,withShadow:c=!1,playTopOnHover:d=!1,renderOverlay:_,className:h}=e,[f,p]=e8.useState(!1),E=e8.useCallback(()=>p(!0),[]),m=e8.useCallback(()=>p(!1),[]);if(0===t.length)return null;let g=a??r,A=o??s,I=t.length-1,[T,S]=SG,y=t.map((e,t)=>{let n=0===t,i=t-1,a=n||u?0:SF(i,I,r,s),o=n?0:SF(i,I,g,A);return{restX:n?0:T*a,restY:n?0:S*a,hoverX:n?0:T*o,hoverY:n?-l:S*o}}),[N,v]=SV(y.map(e=>[e.restX,e.restY])),[C,R]=SV(y.map(e=>[e.hoverX,e.hoverY])),O={"--custom-stack-bbox-rest-x":`${N}px`,"--custom-stack-bbox-rest-y":`${v}px`,"--custom-stack-bbox-hover-x":`${C}px`,"--custom-stack-bbox-hover-y":`${R}px`};return(0,U.jsx)("div",{className:t2()(SU.kL,h),style:O,onMouseEnter:d?E:void 0,onMouseLeave:d?m:void 0,children:t.map((e,r)=>{var s;let a=0===r,o=a?0:(s=r-1,I<=1?i:n+s/(I-1)*(i-n)),{restX:l,restY:u,hoverX:h,hoverY:p}=y[r],E={"--custom-stack-rotation":`${o}deg`,"--custom-stack-rest-x":`${l}px`,"--custom-stack-rest-y":`${u}px`,"--custom-stack-hover-x":`${h}px`,"--custom-stack-hover-y":`${p}px`,zIndex:t.length-r},m=a&&d;return(0,U.jsx)("div",{className:t2()(SU.xn,c&&SU.$u),style:E,children:(0,U.jsx)(SR.Cl,{clip:e,children:(0,U.jsx)(SO.d,{isStatic:!m,isPlaying:m&&f,children:_?.({index:r,clip:e})})})},e.id)})})}var SH=n(826925);let Sj=[],SY=[];function SW(){let{enableQuickBar:e}=rF.h.useConfig({location:"ClipsReminder"}),{enabled:t}=Sk.O.useConfig({location:"ClipsReminder"}),{isOpen:n,openedAt:i,applicationId:r}=(0,Sw.sY)(),{isQuestBarEmpty:s}=(0,Sx.c9)(),a=(0,e6.yK)([rV.Ay],()=>rV.Ay.getLastClipsSession()?.newClipIds??Sj),o=e8.useMemo(()=>{if(null==r||0===a.length)return SY;let e=a.map(e=>rV.Ay.getClipById(e)).filter(e=>null!=e&&e.applicationId===r);return(0,SD.u)(e,Sb.mu.MOST_RECENT)},[r,a]),{data:l}=(0,lo.I)(r),u=(0,la.A)({applicationId:r??void 0,location:"ClipsReminder",source:ls.Ob.ClipsReminder}),c=o.length,d=o.filter(e=>"auto"===e.clipMethod).length,_=o.slice(0,3);e8.useEffect(()=>{if(!n||null==i)return;let e=Math.max(0,6e4-(Date.now()-i)),t=window.setTimeout(()=>(0,Sw.kF)(),e);return()=>window.clearTimeout(t)},[n,i]);let h=e8.useCallback(()=>{t?(0,rZ.p)():null!=r&&(0,rZ.p)({selectedGameId:r}),(0,Sw.kF)()},[r,t]),f=e8.useCallback(()=>(0,Sw.kF)(),[]),p=e&&s&&n&&null!=r&&c>0,E=l?.name??"",m=_[0]?.thumbnail,g=null!=m?{backgroundImage:`url(${m})`}:void 0;return(0,U.jsx)("div",{className:SH.iE,"data-open":p?"true":"false","aria-hidden":!p,children:p&&(0,U.jsxs)("div",{className:SH.nd,children:[null!=g&&(0,U.jsx)("div",{className:SH.tB,style:g,"aria-hidden":"true"}),(0,U.jsxs)("div",{className:SH.l$,children:[(0,U.jsx)("div",{className:SH.wx,children:(0,U.jsxs)(t3.D,{className:SH.MP,onClick:f,"aria-label":na.intl.string(na.t["9CE7R5"]),children:[(0,U.jsx)("span",{className:SH.Hw,"aria-hidden":"true",children:(0,U.jsx)(S$,{durationMs:6e4},i??0)}),(0,U.jsx)("span",{className:SH.rJ,"aria-hidden":"true",children:(0,U.jsx)(cT.P,{size:"xs",color:r9.A.colors.TEXT_DEFAULT.css})})]})}),(0,U.jsx)("div",{className:SH._4,children:(0,U.jsx)(t3.D,{className:SH.JS,onClick:h,"aria-label":na.intl.string(na.t.Pcrpjt),children:(0,U.jsx)(SB,{className:SH.c3,clips:_,withShadow:!0,hoverMinSpreadPx:14,hoverMaxSpreadPx:20,topHoverLiftPx:6,playTopOnHover:!0})})})]}),(0,U.jsxs)("div",{className:SH.Pb,children:[(0,U.jsx)(lr.A,{className:SH.Gt,game:l,size:lr.M.MEDIUM}),(0,U.jsxs)("div",{className:SH.Vx,children:[null!=u?(0,U.jsx)(t3.D,{tag:"span",className:SH.gH,onClick:u,children:(0,U.jsx)(sw.E,{variant:"text-sm/semibold",color:"text-strong",className:SH.mO,children:E})}):(0,U.jsx)(sw.E,{variant:"text-sm/semibold",color:"text-strong",className:SH.mO,children:E}),(0,U.jsx)(sw.E,{variant:"text-xs/normal",color:"text-muted",children:d>0?na.intl.format(na.t["49uRjt"],{clips:c,highlights:d}):na.intl.format(na.t.wxGoM3,{clips:c})})]})]}),(0,U.jsx)(tJ.$,{variant:"secondary",size:"sm",fullWidth:!0,text:na.intl.string(na.t.Pcrpjt),onClick:h})]})})}let SK=2*Math.PI*7;function S$(e){let{durationMs:t}=e,n={animationDuration:`${t}ms`,strokeDasharray:SK,"--custom-final-offset":`${SK}`};return(0,U.jsxs)("svg",{className:SH._p,width:16,height:16,viewBox:"0 0 16 16","aria-hidden":"true",children:[(0,U.jsx)("circle",{className:SH.RF,cx:8,cy:8,r:7,strokeWidth:2}),(0,U.jsx)("circle",{className:SH.nA,cx:8,cy:8,r:7,strokeWidth:2,style:n})]})}var Sz=n(757780);let Sq=(0,eM.mj)({name:"2026-05-rtc-connection-functional",kind:"user",defaultConfig:{enabled:!1},variations:{0:{enabled:!1},1:{enabled:!0}}});var SX=n(527699),SZ=n(950373),SQ=n(504337),SJ=n(629016),S0=n(235986),S1=n(636585),S2=n(42473),S3=n(994314),S6=n(485599),S4=n(246568);class S5 extends e8.PureComponent{partyMemberAvatarRef=e8.createRef();partyMemberOverflowRef=e8.createRef();isHost(){let{currentUser:e,host:t}=this.props;return e.id===t?.id}renderTitle(){return(0,U.jsxs)("div",{children:[(0,U.jsx)(S6.A,{children:this.isHost()?na.intl.formatToPlainString(na.t["6UJ7mh"],{count:this.props.party.length}):na.intl.string(na.t.RZufbH)}),(0,U.jsx)(S3.A,{children:na.intl.string(na.t["0ZHLIi"])})]})}renderStopListeningButton(){let{onStopListening:e}=this.props;return this.isHost()?null:(0,U.jsx)(S2.A,{tooltipText:na.intl.string(na.t.LeZSpz),onClick:e,icon:cT.P})}renderPartyMember=(e,t)=>{let n;if(null==e)return null;let{host:i,onUserContextMenu:r}=this.props;return n=i?.id===e.id?na.intl.string(na.t["N9bqD+"]):na.intl.string(na.t.Z2Y4c9),(0,U.jsx)(lg.A,{targetElementRef:this.partyMemberAvatarRef,user:e,newAnalyticsLocations:[ii.A.AVATAR],position:"top",align:"center",clickTrap:!0,children:i=>(0,U.jsx)(rJ.m,{text:n,children:(0,e8.createElement)(oK.eu,{...i,key:e.id,src:e.getAvatarURL(void 0,24),size:o$._3.SIZE_24,className:t2()(S4.my,t),"aria-label":e.username,onContextMenu:t=>void(null!=e&&r?.(t,e)),avatarContentRef:this.partyMemberAvatarRef})})},e.id)};renderPartyMemberOverflow=(e,t,n)=>{let{renderOverflowPopout:i}=this.props;return(0,U.jsx)(so.Y,{renderPopout:i,targetElementRef:this.partyMemberOverflowRef,children:n=>(0,U.jsx)(rJ.m,{text:na.intl.string(na.t.Zf4NPe),children:(0,U.jsx)("div",{...n,ref:this.partyMemberOverflowRef,className:t2()(S4.ju,t),children:e})})},n)};renderHelpIcon(){return this.isHost()?(0,U.jsx)(S2.A,{tooltipText:na.intl.string(na.t.U7N2Hs),onClick:()=>{window.open(nh.A.getArticleURL(eL.MVz.SPOTIFY_CONNECTION),"_blank")},icon:_Q.m}):null}render(){return(0,U.jsxs)("div",{className:S4.Jh,children:[this.renderTitle(),(0,U.jsx)(S0.A,{justify:S0.A.Justify.END,className:S4.Hg,children:(0,U.jsx)(S1.A,{users:this.props.party,max:this.isHost()?5:4,renderUser:this.renderPartyMember,renderMoreUsers:this.renderPartyMemberOverflow})}),(0,U.jsxs)("div",{className:S4.Pt,children:[this.renderHelpIcon(),this.renderStopListeningButton()]})]})}}var S7=n(883202);class S8 extends e8.PureComponent{handleContextMenu(e,t){(0,uh.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("31329"),n.e("94881"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("8757"),n.e("89673"),n.e("85968"),n.e("68403"),n.e("29787"),n.e("82073"),n.e("97558"),n.e("91994"),n.e("76665"),n.e("76273"),n.e("24198"),n.e("32418")]).then(n.bind(n,668569));return n=>(0,U.jsx)(e,{...n,user:t})})}renderUser(e){return null==e?null:(0,U.jsxs)(S0.A,{className:S7.kQ,align:S0.A.Align.CENTER,onContextMenu:t=>{null!=e&&this.handleContextMenu(t,e)},children:[(0,U.jsx)(oK.eu,{src:e.getAvatarURL(void 0,24),"aria-label":e.username,size:o$._3.SIZE_24,className:S7.my}),(0,U.jsx)(l8.A,{user:e,className:S7.Tc,usernameClass:S7.Xh,discriminatorClass:S7.D2})]},e.id)}render(){let{party:e,header:t}=this.props,n=e.map(e=>this.renderUser(e));return(0,U.jsxs)("div",{className:S7.Gh,children:[(0,U.jsx)("div",{className:S7.wx,children:t}),(0,U.jsx)(oh.Ip,{className:S7.Qs,fade:!0,children:n})]})}}class S9 extends e8.PureComponent{hasParty(e){return e.length>1}handleStopListening(){(0,SQ.A)()}handleUserContextMenu=(e,t)=>{(0,uh.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("31329"),n.e("94881"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("8757"),n.e("89673"),n.e("85968"),n.e("68403"),n.e("29787"),n.e("82073"),n.e("97558"),n.e("91994"),n.e("76665"),n.e("76273"),n.e("24198"),n.e("32418")]).then(n.bind(n,668569));return n=>(0,U.jsx)(e,{...n,user:t})})};renderOverflowPopout=()=>{let{party:e}=this.props;return(0,U.jsx)(S8,{party:e,header:na.intl.formatToPlainString(na.t.I9et1z,{count:e.length})})};render(){let{currentUser:e,host:t,party:n}=this.props;return this.hasParty(n)&&null!=e?(0,U.jsx)(S5,{currentUser:e,host:t,party:n,renderOverflowPopout:this.renderOverflowPopout,onStopListening:this.handleStopListening,onUserContextMenu:this.handleUserContextMenu}):null}}let ye=e6.Ay.connectStores([ua.A,tT.default,i1.A,SJ.A],()=>{let e,t,n=ua.A.getSyncingWith(),i=ua.A.getActivity(),r=tT.default.getCurrentUser(),s=[];return null!=n?(e=tT.default.getUser(n.userId),t=n.partyId):null!=i&&null!=i.party&&null!=i.party.id&&(e=r,t=i.party.id),null!=t&&(s=im()(Array.from(SJ.A.getParty(t)??[])).map(e=>tT.default.getUser(e)).filter(ix.Vq).orderBy([t=>null==e||e.id===t.id,e=>i1.A.isFriend(e.id)],["desc","desc"]).value()),{currentUser:r,host:e,party:s}})(S9);var yt=n(936504),yn=n(697744),yi=n(416696),yr=n(446080),ys=n(744682);let ya={disable:{name:"disable",start:0,duration:70},enable:{name:"enable",start:100,duration:70},hover_enabled:{name:"hover_enabled",start:200,duration:70},hover_disabled:{name:"hover_disabled",start:300,duration:70}},yo=e=>{let t=e8.useRef(null),i=e8.useRef(e);i.current=e;let r=e8.useMemo(()=>()=>{null!=t.current&&t.current.play(e)},[e]),s=e8.useCallback(()=>{if(null==t.current)return;let n="enable"===e?"hover_disabled":"hover_enabled";t.current.play(n)},[e]),a=e8.useCallback(()=>{if(null==t.current)return;let n="enable"===e?"hover_disabled":"hover_enabled";t.current.stopIfPlaying(n)},[e]),o=e8.useCallback(e=>(0,U.jsx)(ys.P,{...e,src:()=>n.e("24596").then(n.t.bind(n,941983,19)),ref:t,initialAnimation:i.current,markers:ya}),[]);return{events:{onClick:r,onMouseEnter:s,onMouseLeave:a},play:r,getDuration:e8.useCallback(()=>t.current?.getDuration(),[]),getCurrentFrame:e8.useCallback(()=>t.current?.getCurrentFrame()??null,[]),Component:o}};var yl=n(315710),yu=n(243721),yc=n(452027),yd=n(951001),y_=n(155718),yh=n(967812),yf=n(404522),yp=n(782091),yE=n(641703),ym=n(521588),yg=n(975412),yA=n(152567),yI=n(329072),yT=n(384059),yS=n(480890),yy=n(857253),yN=n(528767),yv=n(790381),yC=n(30529),yR=n(544105),yO=n(674586);function yb(e){let{platform:t}=e;return t===yR.f$.XBOX?(0,U.jsx)(lm.A,{className:yO.Kk}):t===yR.f$.PLAYSTATION?(0,U.jsx)(yv.A,{className:yO.Kk}):null}function yD(e){let{voiceState:t,awaitingRemoteSessionInfo:n}=e,i=null!=n?(0,yC.X)(n.type):null,r=(0,e6.bG)([yN.A],()=>yN.A.getSessionById(t?.sessionId??"")?.clientInfo.os),s=i??r;if(null==s||!yR.hv.has(s))return null;let a=null!=n,o=a?s===yR.f$.XBOX?na.intl.string(na.t.UjA4HX):na.intl.string(na.t.QCw1oW):s===yR.f$.XBOX?na.intl.format(na.t["ynEs/Y"],{}):na.intl.format(na.t.TZ17Bg,{});return(0,U.jsxs)("div",{className:t2()(yO.zr,a?yO.jI:yO.aW),children:[(0,U.jsx)(yb,{platform:s}),(0,U.jsx)(sw.E,{color:a?"text-strong":"always-white",variant:"text-xs/medium",children:o})]})}var yL=n(880144),yw=n(338771),yM=n(421838),yP=n(891540),yx=n(205106);function yk(){return(0,e6.bG)([tI.Ay],()=>(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tI.Ay,t=e.getSystemMicrophoneMode();return!(0,yx.A)(!0,t)})(tI.Ay))}var yU=n(999751),yG=n(123973),yF=n(621956),yV=n(173660),yB=n(234320),yH=n(813564),yj=n(674168),yY=n(277192),yW=n(395766);function yK(e){let{channel:t,...i}=e,r=e8.useRef(null),{mute:s,suppress:a}=(0,yV.A)(t),o=(0,rh.bG)([tI.Ay],()=>tI.Ay.isDeaf()),l=s||a||o,[u,c]=e8.useState(!1),d=t.getGuildId(),_=(0,yH.VE)({isSoundboardButtonDisabled:l}),[h,f]=(0,IO.DP)(_),{analyticsLocations:p,parentAnalyticsLocation:E}=(0,op.Ay)(ii.A.SOUNDBOARD_BUTTON);function m(e){null!=d&&(0,uh.L3)(e,async()=>{let{default:e}=await n.e("11562").then(n.bind(n,666801));return t=>(0,U.jsx)(e,{guildId:d,sourceAnalyticsLocations:p,...t,onInteraction:(0,yS.s)("SoundboardContextMenu",ii.A.RTC_PANEL)})})}let{Component:g,play:A,events:{onMouseEnter:I,onMouseLeave:T}}=(0,yF.E)(),S=e8.useCallback(()=>{l||c(!u)},[l,u]);return(0,yB.Vo)({event:eL.jej.TOGGLE_SOUNDBOARD,handler:S}),(0,U.jsx)(op.f5,{value:p,children:(0,U.jsx)(rJ.m,{targetElementRef:r,text:s?na.intl.string(na.t["Ox4/zU"]):a?na.intl.string(na.t["+YBKYI"]):o?na.intl.string(na.t.X1lQli):na.intl.string(na.t["6EJvHt"]),asContainer:!0,shouldShow:!u,children:(0,U.jsx)(so.Y,{targetElementRef:r,animation:so.Y.Animation.FADE,shouldShow:u,position:"top",onRequestClose:()=>c(!1),renderPopout:e=>{let{closePopout:n}=e;return(0,U.jsx)(yY.A,{guildId:d,channel:t,onClose:n,gridNotice:h===rM.M.CUSTOM_CALL_SOUNDS_PICKER_UPSELL&&(0,U.jsx)(yj.m,{onClose:n,markAsDismissed:f}),analyticsSource:"rtc panel"})},children:e=>(0,U.jsx)("div",{ref:r,children:(0,U.jsx)(an.$n,{"data-migration-pending":!0,...e,className:t2()(yW.x6,yW.Sq,{[yW.W4]:u,[yW.r9]:l}),wrapperClassName:yW.x6,innerClassName:yW.bk,disabled:l,onClick:()=>{null!=h&&h!==rM.M.CUSTOM_CALL_SOUNDS_PICKER_UPSELL&&f(rE.i.UNKNOWN),c(!u),A(),(0,yT.X)(E,yT.O.SOUNDBOARD)},onMouseEnter:e=>{i.onMouseEnter?.(e),I()},onMouseLeave:e=>{i.onMouseLeave?.(e),T()},onContextMenu:m,fullWidth:!0,size:an.$n.Sizes.MEDIUM,...i,children:(0,U.jsx)(g,{className:yW.iA,size:"sm",color:"currentColor"})})})})})})}var y$=n(63995),yz=n(518769),yq=n(96566),yX=n(302884),yZ=n(30108),yQ=n(39938),yJ=n(151476),y0=n(405018),y1=n(704877),y2=n(848362),y3=n(222692),y6=n(702904),y4=n(471993),y5=n(442353),y7=n(970636),y8=n(377802),y9=n(707592),Ne=n(132860),Nt=n(993838),Nn=n(106044);function Ni(e){let{tooltipText:t,onClick:n}=e,{parentAnalyticsLocation:i}=(0,op.Ay)(),{events:r,Component:s}=(0,y8.O)();return(0,U.jsx)(S2.A,{tooltipText:t,onClick:()=>{(0,yT.X)(i,yT.O.DISCONNECT),n()},...r,icon:(0,U.jsx)(s,{size:"refresh_sm"})})}function Nr(e){let{channel:t}=e;return(0,U.jsx)(Ni,{tooltipText:na.intl.string(na.t.SMKyih),onClick:()=>{(0,Nn.A)(t)?(0,Nt.j3)(t):nD.default.disconnect()}})}function Ns(e){let{channel:t}=e;return(0,U.jsx)(Ni,{tooltipText:na.intl.string(na.t["6vrfgt"]),onClick:()=>{(0,Ne.A)(t)?(0,y9.Py)(t):nD.default.disconnect()}})}function Na(e){let{channel:t}=e;return t.isGuildStageVoice()?(0,U.jsx)(Nr,{channel:t}):(0,U.jsx)(Ns,{channel:t})}var No=n(459838),Nl=n(404778),Nu=n(742158),Nc=n(106236),Nd=n(717558),N_=n(85448),Nh=n(829997),Nf=n(329139),Np=n(36482);function NE(e){let{worldX:t,worldY:n,worldZ:i}=e;return{x:t,y:n,z:i}}function Nm(e,t){let n=7/t,i=e/2;return{zoom:n,pan:{offsetX:i*(1-n),offsetY:i-i*(1-t/14)*n}}}function Ng(e){let{mode:t,users:n,guildId:i,onUserDragged:r,distance:s,view:a,setView:o,canvasSize:l,setCanvasSize:u}=e,c=e8.useRef(null),d=e8.useRef(null),[_,h]=e8.useState(null),[f,p]=e8.useState(!1),E=(0,ai.r)(r9.A.colors.BACKGROUND_BASE_LOW).hex(),m=(0,ai.r)(r9.A.colors.BACKGROUND_MOD_MUTED).hex(),g=(0,ai.r)(r9.A.colors.STATUS_POSITIVE).hex(),A=(0,ai.r)(r9.A.colors.TEXT_DEFAULT).hex(),I=na.intl.string(Nf.default.chrbRg);(0,lj.u5)(()=>{let e=c.current;if(null==e)return;let t=!0,n=new ResizeObserver(e=>{let n=Math.floor(e[0].contentRect.width);n<=0||(t&&(t=!1,o(Nm(n,s))),u(n))});return n.observe(e),()=>n.disconnect()}),e8.useEffect(()=>{let e=c.current;if(null==e)return;let t=t=>{t.preventDefault();let n=e.getBoundingClientRect(),i=t.clientX-n.left,r=t.clientY-n.top;o(e=>{let{zoom:n,pan:s}=e,a=Math.max(NA,Math.min(NI,n*Math.exp(-t.deltaY*NT))),o=a/n;return{zoom:a,pan:{offsetX:i-(i-s.offsetX)*o,offsetY:r-(r-s.offsetY)*o}}})};return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t)},[o]),e8.useEffect(()=>{let e=d.current;if(null==e||0===l)return;let t=e.getContext("2d");if(null!=t){t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,l,l),t.fillStyle=E,t.fillRect(0,0,l,l),t.setTransform(a.zoom,0,0,a.zoom,a.pan.offsetX,a.pan.offsetY),t.strokeStyle=m,t.lineWidth=1/a.zoom;for(let e=0;e<=10;e++){let n=e*l/10;t.beginPath(),t.moveTo(n,0),t.lineTo(n,l),t.stroke(),t.beginPath(),t.moveTo(0,n),t.lineTo(l,n),t.stroke()}t.fillStyle=g,t.beginPath(),t.arc(l/2,l/2,10/a.zoom,0,2*Math.PI),t.fill(),t.fillStyle=A,t.font=`bold ${11/a.zoom}px gg sans`,t.textAlign="center",t.fillText(I,l/2,l/2-16/a.zoom)}},[l,a,E,m,g,A,I]);let T=e8.useCallback((e,n)=>{"manual"===t&&0===e.button&&(e.stopPropagation(),h(n))},[t]),S=e8.useCallback(e=>{0===e.button&&p(!0)},[]),y=e8.useCallback(e=>{if(f)return void o(t=>({zoom:t.zoom,pan:{offsetX:t.pan.offsetX+e.movementX,offsetY:t.pan.offsetY+e.movementY}}));if(null==_)return;let t=d.current;if(null==t||0===l)return;let n=t.getBoundingClientRect();r(_,{canvasX:(e.clientX-n.left-a.pan.offsetX)/a.zoom,canvasY:(e.clientY-n.top-a.pan.offsetY)/a.zoom})},[f,_,l,a.pan.offsetX,a.pan.offsetY,a.zoom,o,r]),N=e8.useCallback(()=>{h(null),p(!1)},[]),v=f?"grabbing":"default";return(0,U.jsxs)("div",{ref:c,className:Np.BW,style:{cursor:v},onMouseDown:S,onMouseMove:y,onMouseUp:N,onMouseLeave:N,onContextMenu:e=>e.preventDefault(),children:[(0,U.jsx)("canvas",{ref:d,width:l,height:l,className:Np.Ji}),SE.default.entries(n).map(e=>{let[n,r]=e;return(0,U.jsx)(NS,{userId:n,guildId:i,position:{canvasX:r.canvasX*a.zoom+a.pan.offsetX,canvasY:r.canvasY*a.zoom+a.pan.offsetY},draggable:"manual"===t,handleMouseDown:T},n)})]})}let NA=.25,NI=4,NT=.002;function NS(e){let{userId:t,guildId:n,position:i,draggable:r,handleMouseDown:s}=e,a=(0,e6.bG)([tT.default],()=>tT.default.getUser(t)),o=(0,Nd.A)({userId:t}),[l,u]=e8.useState(!1);return null==a?null:(0,U.jsx)(rJ.m,{text:a.username,shouldShow:!l,hideOnClick:!1,children:(0,U.jsx)("div",{className:Np.my,style:{left:i.canvasX-12,top:i.canvasY-12,cursor:r?"grab":"default"},onMouseDown:e=>{u(!0),s(e,t)},onMouseUp:()=>{u(!1)},children:(0,U.jsx)(N_.A,{userId:t,size:o$._3.SIZE_24,src:a.getAvatarURL(n,24),speaking:o,ringing:!1})})})}function Ny(){let e=(0,e6.bG)([tI.Ay],()=>tI.Ay.getAudioMixerSettings()),t=No.x.DEFAULT,[n,i]=e8.useState({zoom:1,pan:{offsetX:0,offsetY:0}}),[r,s]=e8.useState(0),a=e8.useCallback(e=>{let{worldX:t,worldZ:n}=e,i=r/2;return{canvasX:i+t/7*i,canvasY:i+n/7*i}},[r]),o=e8.useCallback(e=>{let{canvasX:t,canvasY:n}=e,i=r/2;return{worldX:(t-i)/i*7,worldY:0,worldZ:(n-i)/i*7}},[r]),{channelId:l,guildId:u}=(0,e6.cf)([iL.A],()=>({channelId:iL.A.getChannelId(),guildId:iL.A.getGuildId()??void 0})),c=(0,e6.bG)([eW.default],()=>eW.default.getId()),d=(0,e6.yK)([iM.A],()=>null==l?[]:Object.values(iM.A.getVoiceStatesForChannel(l)).filter(e=>{let{userId:t}=e;return t!==c}),[l,c]),_=e.mode,h=e8.useMemo(()=>({line:t=>{if(1===d.length)return{worldX:0,worldY:0,worldZ:-e.distance};let n=t/(d.length-1);return{worldX:-e.spread/2+e.spread*n,worldY:0,worldZ:-e.distance}},arc:t=>{if(1===d.length)return{worldX:0,worldY:0,worldZ:-e.distance};let n=e.arcAngle*Math.PI/180,i=Math.PI/2+n/2-t/(d.length-1)*n;return{worldX:e.distance*Math.cos(i),worldY:0,worldZ:-e.distance*Math.sin(i)}},grid:t=>{let n=e.gridColumns,i=Math.floor(t/n);return{worldX:(t%n-(n-1)/2)*e.gridSpacing,worldY:0,worldZ:-(e.distance+i*e.gridSpacing)}}}),[e,d.length]),[f,p]=e8.useState(new Map),E=e8.useMemo(()=>0===r?{}:Object.fromEntries(d.map((e,t)=>{let{userId:n}=e;if("manual"===_){let e=f.get(n);return[n,e??{canvasX:r/2,canvasY:r/2}]}return[n,a(h[_](t))]})),[r,f,_,d,h,a]);e8.useEffect(()=>{"manual"===_||0===r||tI.Ay.getMediaEngine().eachConnection(e=>{d.forEach((t,n)=>{let{userId:i}=t,r=h[_](n);e.setUserPosition(i,NE(r))})})},[e,r,_,d,h]);let m=e8.useCallback((e,t)=>{p(n=>new Map(n).set(e,t)),0!==r&&tI.Ay.getMediaEngine().eachConnection(n=>{n.setUserPosition(e,NE(o(t)))})},[r,o]),g=e8.useCallback(n=>{is.A.setAudioMixerSettings({...e,...n},t)},[e,t]),[A,I]=e8.useState(e.roomSize),T=e8.useRef(null),S=e8.useCallback(e=>{I(e),null!==T.current&&clearTimeout(T.current),T.current=window.setTimeout(()=>{g({roomSize:e}),T.current=null},500)},[g]),y=[{value:"line",label:na.intl.string(Nf.default.xwwX9a),ariaLabel:na.intl.string(Nf.default.Go69Wz)},{value:"arc",label:na.intl.string(Nf.default.k21Ys4),ariaLabel:na.intl.string(Nf.default["g8+1Gb"])},{value:"grid",label:na.intl.string(Nf.default.nVAKlB),ariaLabel:na.intl.string(Nf.default.fxMbmH)},{value:"manual",label:na.intl.string(Nf.default.Wmv386),ariaLabel:na.intl.string(Nf.default.U9PON6)}];return(0,U.jsxs)("div",{className:Np.kL,children:[(0,U.jsxs)("div",{className:Np.ne,children:[(0,U.jsxs)("div",{className:Np.nM,children:[(0,U.jsx)(sw.E,{variant:"text-md/normal",children:na.intl.string(Nf.default["p/J17q"])}),(0,U.jsx)(yu.d,{checked:e.enabled,onChange:e=>g({enabled:e}),"aria-label":na.intl.string(Nf.default.gtmo6U)})]}),(0,U.jsx)(Nl.c,{className:Np.yF}),(0,U.jsx)(Nu.z,{className:Np.Pf,children:na.intl.string(Nf.default.FCvOS0)}),(0,U.jsx)(Nc.A,{className:Np.aw,initialValue:e.spatialBlend,value:e.spatialBlend,minValue:0,maxValue:1,asValueChanges:e=>g({spatialBlend:e}),onValueRender:e=>`${Math.round(100*e)}%`,"aria-label":na.intl.string(Nf.default.FCvOS0)}),(0,U.jsx)(Nu.z,{className:Np.Pf,children:na.intl.string(Nf.default["/GM1bA"])}),(0,U.jsx)(Nc.A,{className:Np.aw,initialValue:A,value:A,minValue:10,maxValue:150,asValueChanges:S,onValueRender:e=>e.toFixed(0),"aria-label":na.intl.string(Nf.default.l5XHLy)}),(0,U.jsx)(Nl.c,{className:Np.yF}),(0,U.jsx)(Nu.z,{className:Np.Pf,children:na.intl.string(Nf.default.CMFya4)}),(0,U.jsx)("div",{className:Np.XU,role:"group","aria-label":na.intl.string(Nf.default.CMFya4),children:y.map(t=>{let{value:n,label:s,ariaLabel:o}=t;return(0,U.jsx)("button",{className:`${Np._V} ${_===n?Np.cB:""}`,"aria-label":o,"aria-pressed":_===n,onClick:()=>{if("manual"===n&&"manual"!==_&&r>0){let e=new Map;d.forEach((t,n)=>{let{userId:i}=t;e.set(i,a(h[_](n)))}),p(e)}g({mode:n}),r>0&&i(Nm(r,e.distance))},children:s},n)})}),"manual"!==_&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Nu.z,{className:Np.Pf,children:na.intl.string(Nf.default.i4BAoc)}),(0,U.jsx)(Nc.A,{className:Np.aw,initialValue:e.distance,value:e.distance,minValue:1,maxValue:10,asValueChanges:e=>g({distance:e}),onValueRender:e=>e.toFixed(1),"aria-label":na.intl.string(Nf.default.i4BAoc)})]}),"line"===_&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Nu.z,{className:Np.Pf,children:na.intl.string(Nf.default["/ZoKQI"])}),(0,U.jsx)(Nc.A,{className:Np.aw,initialValue:e.spread,value:e.spread,minValue:0,maxValue:10,asValueChanges:e=>g({spread:e}),onValueRender:e=>e.toFixed(1),"aria-label":na.intl.string(Nf.default["/ZoKQI"])})]}),"arc"===_&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Nu.z,{className:Np.Pf,children:na.intl.string(Nf.default.EOmtMO)}),(0,U.jsx)(Nc.A,{className:Np.aw,initialValue:e.arcAngle,value:e.arcAngle,minValue:0,maxValue:180,asValueChanges:e=>g({arcAngle:e}),onValueRender:e=>`${e.toFixed(0)}\xb0`,"aria-label":na.intl.string(Nf.default.FbPuig)})]}),"grid"===_&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Nu.z,{className:Np.Pf,children:na.intl.string(Nf.default.Q5EMQe)}),(0,U.jsx)(Nc.A,{className:Np.aw,initialValue:e.gridColumns,value:e.gridColumns,minValue:2,maxValue:6,keyboardStep:1,asValueChanges:e=>g({gridColumns:Math.round(e)}),onValueRender:e=>e.toFixed(0),"aria-label":na.intl.string(Nf.default.Q5EMQe)}),(0,U.jsx)(Nu.z,{className:Np.Pf,children:na.intl.string(Nf.default.lxrCwG)}),(0,U.jsx)(Nc.A,{className:Np.aw,initialValue:e.gridSpacing,value:e.gridSpacing,minValue:.5,maxValue:3,asValueChanges:e=>g({gridSpacing:e}),onValueRender:e=>e.toFixed(1),"aria-label":na.intl.string(Nf.default.LDP0hu)})]}),(0,U.jsx)(Nl.c,{className:Np.yF}),(0,U.jsx)(tJ.$,{variant:"secondary",size:"sm",text:na.intl.string(Nf.default.HlbWSY),onClick:()=>{let e=(0,iE.omit)(Nh.b,["enabled"]);I(e.roomSize),r>0&&i(Nm(r,e.distance)),g(e)}})]}),(0,U.jsx)(Ng,{mode:_,users:E,guildId:u,onUserDragged:m,distance:e.distance,view:n,setView:i,canvasSize:r,setCanvasSize:s})]})}var NN=n(811229);function Nv(e){let{onClose:t}=e;return(0,U.jsx)(si.W,{"data-menu-migrated":!0,navId:"spatial-audio-settings","aria-label":na.intl.string(Nf.default.EWQJcc),onClose:t,onSelect:t,variant:"fixed",className:NN.M,children:(0,U.jsx)(sr.aK,{id:"spatial-audio-panel",interactive:!1,control:()=>(0,U.jsx)(Ny,{})})})}let NC=(0,eM.mj)({name:"2026-05-spatial-audio-for-voice",kind:"user",defaultConfig:{enabled:!1},variations:{1:{enabled:!0}}});var NR=n(490704),NO=n(769651);function Nb(){let{enabled:e}=NC.useConfig({location:"RTCConnection"});return e?(0,U.jsx)(ND,{}):null}function ND(){let e=(0,e6.bG)([tI.Ay],()=>tI.Ay.getAudioMixerSettings()),t=(0,yy.A)(),{parentAnalyticsLocation:n}=(0,op.Ay)(),i=e8.useRef(null);if(null!=t)return null;let r=tI.Ay.getMediaEngine().supports(il.O5.SPATIAL_AUDIO),s=r&&e.enabled,a=()=>{let t=!s;(0,yT.X)(n,yT.O.SPATIAL_AUDIO,t),is.A.setAudioMixerSettings({...e,enabled:t},No.x.DEFAULT)},o=r?na.intl.string(Nf.default.EWQJcc):na.intl.string(Nf.default["9qCMXb"]),l=r?na.intl.string(s?Nf.default.RX3dTX:Nf.default.nqknZL):na.intl.string(Nf.default["9qCMXb"]),u=na.intl.string(Nf.default.HUDkvK);return(0,U.jsx)(so.Y,{targetElementRef:i,renderPopout:e=>{let{closePopout:t}=e;return(0,U.jsx)(Nv,{onClose:t})},position:"top",align:"left",animation:so.Y.Animation.FADE,spacing:4,children:(e,t)=>{let{onClick:n}=e,{isShown:c}=t,d=c?uz.t:uq.a;return(0,U.jsxs)("div",{ref:i,className:t2()(NR.Lh,{[NR.q6]:c}),children:[(0,U.jsx)(S2.A,{role:"switch","aria-checked":s,"aria-label":l,tooltipText:o,icon:r?mW.q:m$.D,iconForeground:s?NO.s:void 0,className:t2()(NR.eT,{[NO.v]:s}),disabled:!r,onClick:a,onContextMenu:r?n:void 0}),(0,U.jsx)(S2.A,{"aria-label":u,className:t2()(NR.UT,{[NR.q6]:c,[NO.v]:s}),disabled:!r,icon:(0,U.jsx)(d,{className:NR.$$,size:"custom",width:12,height:12,color:"currentColor"}),onClick:n,onContextMenu:n,tooltipShouldShow:!c,tooltipText:u})]})}})}var NL=n(765548),Nw=n(556525),NM=n(551826),NP=n(31408),Nx=n(595811);let Nk={offset:2},NU={serverDeaf:{icon:fN.T,colorize:!0,getStatus:()=>na.intl.string(na.t.btxSdB)},serverMute:{icon:p_.O,colorize:!0,getStatus:()=>na.intl.string(na.t.uLddbQ)},deaf:{icon:fC.c,colorize:!1,getStatus:()=>na.intl.string(na.t.NjmiOL)},mute:{icon:pf.z,colorize:!1,getStatus:()=>na.intl.string(na.t.tjtv3P)},localMute:{icon:p_.O,colorize:!1,getStatus:()=>na.intl.string(na.t["9F+xJU"])}};function NG(e){let t=e8.useRef(null),{parentAnalyticsLocation:i}=(0,op.Ay)(),{channel:r,user:s,nick:a,mute:o,deaf:l,serverMute:u,serverDeaf:c}=e,d=(0,e6.bG)([tI.Ay],()=>tI.Ay.isLocalMute(s.id)),_=(0,Nd.A)({userId:s.id,checkSoundSharing:!0}),h=r.getGuildId()??void 0,f=s.getAvatarURL(r.guild_id,24),p=a??st.Ay.getName(s),{icon:E,colorize:m,getStatus:g}=function(e){let{serverDeaf:t,deaf:n,serverMute:i,mute:r,localMute:s}=e;if(t)return NU.serverDeaf;if(n)return NU.deaf;if(i)return NU.serverMute;if(s)return NU.localMute;if(r)return NU.mute}({serverDeaf:c,deaf:l,serverMute:u,mute:o,localMute:d})??{},A=null!=g?na.intl.formatToPlainString(na.t["1+MVBP"],{userName:p,status:g()}):p;function I(e){null!=h?(0,uh.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("39713"),n.e("30402"),n.e("44136"),n.e("94881"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("93103"),n.e("8757"),n.e("89673"),n.e("21921"),n.e("85968"),n.e("76418"),n.e("68403"),n.e("66495"),n.e("29787"),n.e("71210"),n.e("82073"),n.e("97558"),n.e("82263"),n.e("88342"),n.e("91994"),n.e("42451"),n.e("35027"),n.e("76665"),n.e("98965"),n.e("35313"),n.e("24198"),n.e("39171"),n.e("36564"),n.e("45996"),n.e("792"),n.e("92822"),n.e("23427"),n.e("49145"),n.e("29422"),n.e("9291"),n.e("74610"),n.e("7059"),n.e("43116"),n.e("11617"),n.e("70314"),n.e("70515"),n.e("27435"),n.e("66939"),n.e("17334"),n.e("84841")]).then(n.bind(n,107632));return t=>(0,U.jsx)(e,{...t,user:s,guildId:h,channel:r,showMediaItems:!0,onInteraction:(0,yS.s)("GuildChannelUserContextMenu",ii.A.RTC_PANEL,{targetUserId:s.id})})}):(0,uh.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("31329"),n.e("94881"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("8757"),n.e("89673"),n.e("85968"),n.e("68403"),n.e("29787"),n.e("82073"),n.e("97558"),n.e("91994"),n.e("76665"),n.e("76273"),n.e("24198"),n.e("32418")]).then(n.bind(n,668569));return t=>(0,U.jsx)(e,{...t,user:s,showMediaItems:!0,onInteraction:(0,yS.s)("UserGenericContextMenu",ii.A.RTC_PANEL,{targetUserId:s.id})})})}let T=(0,e6.bG)([iw.A],()=>iw.A.getVoiceVolume(s.id)),S=(0,Nw.v)({isSpeaking:_,voiceDb:T,spreadDirection:Nw.O.INSET_ONLY,maxInnerSpreadRadius:3});return(0,U.jsx)(lg.A,{targetElementRef:t,user:s,guildId:h,channelId:r.id,position:"top",clickTrap:!0,children:e=>(0,U.jsx)(rJ.m,{text:A,children:(0,U.jsx)(t3.D,{innerRef:t,onClick:t=>{e.onClick(t),(0,yT.X)(i,yT.O.VOICE_USER)},className:Nx.H,onContextMenu:I,focusProps:Nk,children:(0,U.jsx)(NM.A,{shakeLocation:NP.uD.VOICE_USER,isShaking:_,children:(0,U.jsx)("div",{className:Nx.my,style:{backgroundImage:`url(${f})`,...S},children:null!=E?(0,U.jsx)(E,{className:t2()(Nx.tr,{[Nx.qE]:m}),color:"currentColor",size:"xs"}):null})})})})})}function NF(e){let{voiceStates:t,channel:n,className:i}=e,[r,s]=e8.useState(!1),a=(0,e6.bG)([eW.default],()=>eW.default.getId()),{containerRef:o,maxVisibleAvatars:l}=function(e){let[t,n]=e8.useState(7),i=(0,NL.A)(()=>{let t=r?.current;if(null==t)return;let i=Math.floor((t.offsetWidth+4)/28);n(Math.max(1,e>i?i-1:i))}),r=(0,TV.w)(i,[e],{fireOnMount:!0,fireOnDepsChange:!0});return{containerRef:r,maxVisibleAvatars:t}}(t.length-1),[u,c]=function(e,t,n){let i=[];for(let r of e)if(r.user.id!==t&&!i.some(e=>e.user.id===r.user.id)){if(i.length>=n)return[i,!0];i.push(r)}return[i,!1]}(t,a,l),d=r?pg.Q:EH.j,_=r?na.intl.string(na.t["Z/Tya5"]):na.intl.string(na.t.XR5BAc),h=(0,U.jsx)(rJ.m,{text:_,ariaHidden:!0,children:(0,U.jsx)(u6.K,{"aria-label":_,onClick:()=>s(!r),icon:()=>(0,U.jsx)(d,{size:"md"}),variant:"icon-only",size:"sm"})}),f=c&&r?t:u;return f.length<=0?null:(0,U.jsx)(oh.Ip,{className:t2()(Nx.XG,i),fade:!0,children:(0,U.jsxs)("div",{ref:o,className:t2()(Nx.Xk,!r&&Nx.yZ),role:"group","aria-label":na.intl.string(na.t["/ZgaVU"]),children:[f.map(e=>{let{user:t,nick:i,voiceState:r}=e;return t.id!==a?(0,U.jsx)(NG,{channel:n,user:t,nick:i,mute:r.isVoiceMuted(),deaf:r.isVoiceDeafened(),video:r.selfVideo,serverMute:r.mute,serverDeaf:r.deaf},t.id):null}),c?h:null]})})}var NV=n(806931),NB=n(897513),NH=n(621380);let Nj={offset:{left:-1,top:-1,right:1,bottom:1}};function NY(e){let t=e.currentTarget;ew.default.track(eL.HAw.NOISE_CANCELLATION_LINK_CLICKED,{text:t.text,href:t.href,location:{section:eL.JJy.NOISE_CANCELLATION_POPOUT}})}function NW(){let e=e8.useRef(null);(0,yl.t)(e),e8.useEffect(()=>{ew.default.track(eL.HAw.OPEN_POPOUT,{type:eL.JJy.NOISE_CANCELLATION_POPOUT})},[]);let t=(0,e6.bG)([tI.Ay],()=>tI.Ay.getNoiseCancellation()),n=yk(),i=(0,e6.bG)([tI.Ay],()=>tI.Ay.getActiveInputProfile()),r=null!=i&&i!==NH.m.CUSTOM,s=na.intl.string(na.t.uKdWn6),a=na.intl.string(na.t.uKdWn6);return n?(s=na.intl.string(na.t.mXZgC9),a=na.intl.format(na.t.F6lrb4,{onSettingsClick:()=>{tI.Ay.getMediaEngine().showSystemCaptureConfigurationUI("microphone_modes")}})):r&&(s=na.intl.formatToPlainString(na.t["/tqmfM"],{enabled:t?"true":"false",inputProfile:i})),(0,U.jsxs)("div",{ref:e,className:yW.dD,children:[(0,U.jsx)(rJ.m,{text:s,shouldShow:r||n,align:"right",children:(0,U.jsx)("div",{children:(0,U.jsx)(yu.d,{label:na.intl.string(na.t["WGWHv/"]),checked:t&&!n,disabled:r||n,onChange:()=>is.A.setNoiseCancellation(!t,{section:eL.JJy.NOISE_CANCELLATION_POPOUT})})})}),(0,U.jsx)(sw.E,{variant:"text-sm/normal",children:a}),(0,U.jsx)(yA.A,{title:na.intl.string(na.t.JdUas1),notchBackground:yA.V.BLACK,buttonTest:na.intl.string(na.t["sG+MGg"]),buttonStop:na.intl.string(na.t.Yp3SbJ),location:{section:eL.JJy.NOISE_CANCELLATION_POPOUT}}),(0,U.jsx)(yc.D,{label:na.intl.string(na.t.k6h1F4),children:(0,U.jsxs)(S0.A,{justify:S0.A.Justify.BETWEEN,className:yW.__invalid_footer,children:[(0,U.jsx)(tn.Anchor,{href:eL.X7G.KRISP,onClick:e=>NY(e),children:(0,U.jsx)("div",{className:yW.zQ})}),(0,U.jsx)(tn.Anchor,{href:nh.A.getArticleURL(eL.MVz.NOISE_SUPPRESSION),className:yW.W,onClick:e=>NY(e),children:na.intl.string(na.t.hvVgAZ)})]})})]})}function NK(){let{parentAnalyticsLocation:e}=(0,op.Ay)(),t=(0,e6.bG)([yQ.A],()=>yQ.A.isMuted()),n=t?na.intl.string(na.t.ScHlfl):na.intl.string(na.t.zqxfrf);return(0,U.jsx)(S2.A,{tooltipText:n,icon:t?pD.C:pb.T,onClick:()=>{(0,yT.X)(e,yT.O.STAGE_MUSIC,t),(0,yX.k)(!t)}})}function N$(e){let{channel:t,enableActivities:n,disabled:i}=e,r=e8.useRef(null),{parentAnalyticsLocation:s}=(0,op.Ay)(),a=(0,yJ.A)(),o=(0,y1.A)(t),l=(0,e6.bG)([iI.Ay],()=>null!=iI.Ay.getSelfEmbeddedActivityForLocation(iI.Ay.getConnectedActivityLocation())),u=(0,yG.Ay)(t),{reachedLimit:c,limit:d}=(0,y0.A)(t),_=e8.useCallback(()=>{(0,y3.A)()},[]),h=(0,t7.Us)(),f=e8.useCallback(e=>{if(tI.Ay.isVideoEnabled()===e)return;let n=()=>{is.A.setVideoEnabled(e),e&&(0,uV.pX)(eL.BVt.CHANNEL(t.getGuildId()??eL.ME,t.id))};(0,yT.X)(s,yT.O.CAMERA,e),e?(0,y5.A)(n,h):n()},[t,h,s]),p=l||n||u,{Component:E,play:m,events:g}=(0,yr.K)(a.enabled?"disable":"enable");return e8.useEffect(()=>()=>m(),[a.enabled,m]),(0,U.jsx)(y7.r,{onChange:f,onCameraUnavailable:_,hasPermission:o,channelLimit:d,channelLimitReached:c,...a,enabled:!i&&a.enabled,children:e=>{let{unavailable:t,isActive:n,label:i,iconComponent:a,iconColor:o,...l}=e,u=(0,U.jsx)(E,{size:"md",className:t2()(yW.iA,{[yW.ij]:!p}),color:"currentColor"});return(0,U.jsx)(so.Y,{targetElementRef:r,renderPopout:e=>{let{closePopout:t}=e;return(0,U.jsx)(yI.A,{onClose:t,minimal:!0,onInteraction:(0,yS.s)("VideoDeviceMenu",s)})},position:"top",align:"center",animation:so.Y.Animation.FADE,children:(e,s)=>{let{onClick:a,...o}=e,{isShown:c}=s;return(0,U.jsx)(rJ.m,{text:i,children:(0,U.jsx)(an.$n,{"data-migration-pending":!0,buttonRef:r,...l,...o,"aria-pressed":n,onClick:e=>{l.onClick(e),c&&a(e)},onMouseEnter:()=>{o.onMouseEnter?.(),g.onMouseEnter()},onMouseLeave:()=>{g.onMouseLeave()},onContextMenu:e=>{a(e)},size:an.$n.Sizes.MEDIUM,className:t2()(yW.x6,yW.Sq,{[yW.rK]:n,[yW.tU]:t,[yW.r9]:l.disabled}),innerClassName:yW.bk,wrapperClassName:yW.x6,fullWidth:!0,focusProps:Nj,children:p?u:(0,U.jsxs)(S0.A,{align:S0.A.Align.CENTER,children:[u,na.intl.string(na.t.FlNoSV)]})})})}})}})}function Nz(e){let{channel:t,enableActivities:n}=e,i=(0,t7.Us)(),{parentAnalyticsLocation:r,newestAnalyticsLocation:s}=(0,op.Ay)(),a=i===eL.BRT.POPOUT,o=(0,yp.et)(t.id),l=(0,yp.dL)(o),{userInActivity:u}=(0,e6.cf)([iI.Ay],()=>({userInActivity:null!=iI.Ay.getSelfEmbeddedActivityForChannel(t.id)})),c=(0,yf.b)({surface:y_.YI.VOICE_LAUNCHER,skipFetchingShelf:!0}),d=o!==yp.xy.CAN_LAUNCH,{Component:_,events:h,play:f}=(0,yn.c)();return n?(0,U.jsx)(rx.GY,{contentType:rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE,latestVersion:c,children:e=>{let{visibleContent:n,markAsDismissed:i}=e;return(0,U.jsx)(rJ.m,{text:l,children:(0,U.jsxs)(an.$n,{"data-migration-pending":!0,fullWidth:!0,size:an.$n.Sizes.MEDIUM,...h,onClick:()=>{f(),(0,yg.A)({context:null!=t?{type:"channel",channel:t}:{type:"contextless"},openInPopout:a,analyticsLocation:s}),(0,yT.X)(r,yT.O.ACTIVITY),n===rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE&&i(rE.i.TAKE_ACTION)},onMouseEnter:()=>{h.onMouseEnter()},onMouseLeave:()=>{h.onMouseLeave()},disabled:d,className:t2()(yW.x6,yW.Sq,{[yW.rK]:u,[yW.r9]:d}),innerClassName:yW.bk,wrapperClassName:yW.x6,focusProps:Nj,children:[n===rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE&&(0,U.jsx)(ym.a,{top:-1,right:-1}),(0,U.jsx)(_,{size:"md",color:"currentColor",className:yW.iA})]})})}}):null}function Nq(e){let t,{channel:n,canGoLive:i,enableActivities:r,disabled:s}=e,a=e8.useRef(null),{parentAnalyticsLocation:o,analyticsLocations:l}=(0,op.Ay)(),u=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),c=(0,e6.yK)([iO.A],()=>iO.A.getAllActiveStreams()),d=(0,y1.A)(n),_=n.getGuildId(),h=(0,e6.cf)([iI.Ay],()=>null!=iI.Ay.getSelfEmbeddedActivityForChannel(n.id)),f=(0,yG.Ay)(n),p=e8.useCallback(()=>{(0,y4.A)(_,n.id,l)},[_,n.id,l]),E=c.find(e=>e.ownerId===u?.id),m=(0,y2.T)(n,u,c);t=null==E?i?p:y6.A:()=>(0,yw.A)(E);let g=null!=E||m.length>0,A=d?na.intl.string(na.t.fjBNo1):na.intl.string(na.t.uQn9B8),I=h||r||f,T=null!=E,{Component:S,events:y,play:N}=(0,yi.c)(T?"disable":"enable");e8.useEffect(()=>()=>N(),[N,T]);let v=(0,U.jsx)(S,{size:"md",color:"currentColor",className:t2()(yW.iA,{[yW.ij]:!I})});return(0,U.jsx)(so.Y,{targetElementRef:a,renderPopout:e=>{let{closePopout:t}=e;return(0,U.jsx)(y2.A,{channel:n,currentUser:u,activeStreams:c,onClose:t,handleGoLive:i?p:y6.A,onInteraction:(0,yS.s)("ManageStreamsMenu",o,{entrypoint:NV.GK.OTHER_BUTTON})})},position:"top",align:"center",animation:so.Y.Animation.FADE,children:e=>{let{onClick:n,onMouseEnter:i,...r}=e;return(0,U.jsx)(rJ.m,{text:A,children:(0,U.jsx)(an.$n,{"data-migration-pending":!0,buttonRef:a,size:an.$n.Sizes.MEDIUM,"aria-pressed":null!=E,onClick:e=>{(0,yT.X)(o,yT.O.STREAM,null==E),g?n(e):t()},disabled:!d||s,className:t2()(yW.x6,yW.Sq,{[yW.rK]:null!=E,[yW.r9]:!d||s}),...g?r:null,onMouseEnter:()=>{i?.(),y.onMouseEnter()},onMouseLeave:()=>{y.onMouseLeave()},innerClassName:yW.bk,wrapperClassName:yW.x6,focusProps:Nj,children:I?v:(0,U.jsxs)(S0.A,{align:S0.A.Align.CENTER,children:[v,na.intl.string(na.t["r0/+v7"])]})})})}})}class NX extends e8.PureComponent{ref=e8.createRef();krispButtonRef=e8.createRef();handleChannelLinkClick=e=>{let{guild:t,channel:n}=this.props;tK()(null!=n,"Channel is null during navigation click"),e.stopPropagation(),yd.A.channelListScrollTo(t?.id??eL.ME,n.id),(0,yT.X)(ii.A.RTC_PANEL,yT.O.CHANNEL_LINK)};handleChannelLinkContextMenu=e=>{let{channel:t,analyticsLocations:i}=this.props;(0,uh.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("43266"),n.e("9004"),n.e("44058"),n.e("60536"),n.e("93720"),n.e("57550")]).then(n.bind(n,576701));return n=>(0,U.jsx)(op.f5,{value:i,children:(0,U.jsx)(e,{...n,channel:t,onInteraction:(0,yS.s)("RTCConnectionMenu",ii.A.RTC_PANEL)})})})};handleCloseVoicePanelIntroduction=()=>{yM.sF(NB._.VOICE_PANEL_INTRODUCTION)};renderConnectionStatus(){let e,{channel:t,guild:n,rtcConnectionQuality:i,rtcConnectionState:r,rtcConnectionLastPing:s,hasVideo:a}=this.props;if(null==t)return null;let o=(0,o7.m1)(t,tT.default,i1.A);return null!=n?(e=eL.BVt.CHANNEL(n.id,t.id),o=`${o} / ${n.name}`):e=eL.BVt.CHANNEL(eL.ME,t.id),(0,U.jsx)(yU.A,{channelId:t.id,quality:i,state:r,lastPing:s,hasVideo:a,connectionStatusTextVariant:"text-md/medium",childrenAsSubtitle:!0,children:(0,U.jsx)(e5.vN,{children:(0,U.jsx)(yt.N_,{to:e,onClick:this.handleChannelLinkClick,onContextMenu:this.handleChannelLinkContextMenu,children:(0,U.jsx)(S3.A,{className:yW.Ix,children:(0,U.jsx)(sw.E,{variant:"text-xs/medium",color:"text-subtle",lineClamp:1,children:o})})})})})}renderNoiseCancellation(){let{noiseCancellationActive:e,noiseCancellationError:t,hasLayers:n,remoteVoiceState:i,channel:r,voiceStates:s}=this.props;return null!=i?null:r?.isGuildStageVoice()&&null==s.find(e=>e.user.id===eW.default.getId()&&(0,iC.eY)(e.voiceState)===iC.zF.ON_STAGE)&&(0,yZ.Zl)(r.id)?(0,U.jsx)(NK,{}):!n&&t?(0,U.jsx)(rJ.m,{text:na.intl.string(na.t["i+SO/U"]),forceOpen:!0,children:(0,U.jsx)(S2.A,{tooltipText:null,disabled:!0,icon:Ah,"aria-label":na.intl.string(na.t["i+SO/U"])})}):(0,U.jsx)(so.Y,{targetElementRef:this.krispButtonRef,position:"top",align:"center",renderPopout:()=>(0,U.jsx)(NW,{}),children:(t,n)=>{let{isShown:i}=n;return(0,U.jsx)(NZ,{popoutProps:t,isShown:i,noiseCancellationActive:e,ref:this.krispButtonRef})}},"krisp-popout")}renderVoiceStates(){let{channel:e,voiceStates:t,showVoiceStates:n}=this.props;return null!=e&&n&&0!==t.length?(0,U.jsx)(NF,{voiceStates:t,channel:e,className:yW.Xk}):null}renderChannelButtons(){let{channel:e,canGoLive:t,remoteVoiceState:n,enableActivities:i,voiceStates:r,selfStream:s,isPrivateChannelWithEnabledActivities:a}=this.props;if(null==e||null!=n)return null;let o=eW.default.getId();if(e.isGuildStageVoice()){if(!(0,yq.Bw)(e.guild_id)||!t)return null;let n=r.find(e=>e.user.id===o);if(null==n||n.voiceState.suppress)return null}let l=(e.isGuildVoice()||a)&&i,{reachedLimit:u}=(0,y0.M)(e),c=(0,yq.xn)(e.id);return(0,U.jsxs)("div",{className:yW.uu,children:[(0,U.jsx)(N$,{channel:e,enableActivities:l,disabled:!c&&u}),(0,U.jsx)(Nq,{channel:e,canGoLive:t,enableActivities:l,disabled:e.isGuildStageVoice()&&(c&&null==s||!c&&u)}),l?(0,U.jsx)(Nz,{channel:e,enableActivities:i}):null,(0,yG.Ay)(e)?(0,U.jsx)(yK,{channel:e,focusProps:Nj}):null]})}renderVoicePanelIntroduction=()=>(0,U.jsxs)("div",{className:t2()(yW.SC,"theme-light"),children:[(0,U.jsx)(aF.D,{className:yW.oN,variant:"heading-md/semibold",children:na.intl.string(na.t["ba/rL2"])}),(0,U.jsx)(sw.E,{className:yW.uf,variant:"text-sm/normal",children:na.intl.string(na.t.Ne1Eew)}),(0,U.jsx)(tJ.$,{fullWidth:!0,onClick:this.handleCloseVoicePanelIntroduction,text:na.intl.string(na.t.shaBeH),focusProps:Nj})]});render(){let{channel:e,noiseCancellationSupported:t,shouldShowVoicePanelIntroduction:n}=this.props;return null==e?null:(0,U.jsx)(so.Y,{targetElementRef:this.ref,renderPopout:this.renderVoicePanelIntroduction,position:"top",align:"center",animation:so.Y.Animation.TRANSLATE,shouldShow:n,children:()=>(0,U.jsxs)("div",{ref:this.ref,className:yW.kL,children:[(0,U.jsxs)(S0.A,{className:yW.FI,align:S0.A.Align.CENTER,children:[(0,U.jsx)("div",{className:yW.vW,children:this.renderConnectionStatus()}),(0,U.jsxs)(S0.A,{grow:0,shrink:0,className:yW.nL,children:[(0,U.jsx)(Nb,{}),t?this.renderNoiseCancellation():null,(0,U.jsx)(Na,{channel:e})]})]}),this.renderVoiceStates(),this.renderChannelButtons()]})})}}function NZ(e){let{popoutProps:t,isShown:n,noiseCancellationActive:i,ref:r}=e,{parentAnalyticsLocation:s}=(0,op.Ay)(),{play:a,Component:o,events:l}=yo(i?"disable":"enable");return e8.useEffect(()=>()=>a(),[i,a]),(0,U.jsx)(S2.A,{...t,ref:r,onClick:e=>{(0,yT.X)(s,yT.O.KRISP,!i),t.onClick(e)},onMouseEnter:()=>{t.onMouseEnter?.(),l.onMouseEnter()},onMouseLeave:()=>{l.onMouseLeave()},tooltipText:n?null:na.intl.string(na.t.vFiCSx),icon:(0,U.jsx)(o,{size:"refresh_sm"})})}let NQ=(0,uf.A)(function(e){let t=(0,yy.A)(),n=(0,e6.bG)([iy.default],()=>iy.default.getAwaitingRemoteSessionInfo()),i=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),{channelId:r,...s}=(0,e6.cf)([iL.A],()=>null!=t?{channelId:t.channelId,rtcConnectionQuality:eL.bFR.FINE,rtcConnectionState:eL.S7L.RTC_CONNECTED,rtcConnectionLastPing:0}:{channelId:iL.A.getChannelId(),rtcConnectionQuality:iL.A.getQuality(),rtcConnectionState:iL.A.getState(),rtcConnectionLastPing:iL.A.getLastPing()}),a=(0,e6.bG)([ib.A],()=>ib.A.getChannel(r),[r]),o=a?.getGuildId(),l=(0,e6.bG)([tx.A],()=>tx.A.getGuild(o),[o]),u=(0,e6.cf)([tI.Ay],()=>({noiseCancellationSupported:tI.Ay.isNoiseCancellationSupported(),noiseCancellationActive:(0,yx.A)(tI.Ay.getNoiseCancellation(),tI.Ay.getSystemMicrophoneMode()),noiseCancellationError:tI.Ay.isNoiseCancellationError(),canGoLive:(0,yL.A)(tI.Ay)})),c=(0,e6.bG)([tI.Ay,yP.A],()=>yP.A.hasHotspot(NB._.VOICE_PANEL_INTRODUCTION)&&(0,st.mv)(i)&&!tI.Ay.isInteractionRequired()&&!a?.isGuildStageVoice()),d=(0,e6.bG)([iM.A],()=>null!=r&&iM.A.hasVideo(r),[r]),_=(0,e6.bG)([iO.A],()=>iO.A.getCurrentUserActiveStream()),h=(0,e6.bG)([rU.A],()=>rU.A.hasLayers()),f=(0,e6.bG)([a6.A],()=>a6.A.isViewingRoles(o)),p=(0,e6.bG)([l0.A],()=>f&&!l0.A.can(eL.xBc.VIEW_CHANNEL,a),[f,a]),E=tl.vL.useSetting(),[m,g,A]=(0,e6.yK)([iP.Ay,y$.A],()=>a?.isGuildStageVoice()?[y$.A.getMutableParticipants(a.id,yz.ip.SPEAKER),y$.A.getParticipantsVersion(a.id),null]:[null,null,null!=a?iP.Ay.getVoiceStatesForChannel(a):null],[a]),I=e8.useMemo(()=>m?.map(e=>{let{user:t,userNick:n,voiceState:i}=e;return{user:t,nick:n,voiceState:i}})??A??[],[m,g,A]),[T,S]=e8.useState(!1);e8.useEffect(()=>{(f||p)&&S(!1)},[f,p,S]);let{analyticsLocations:y}=(0,op.Ay)(ii.A.RTC_PANEL),N=(0,yh.A)(o??eL.dJq,a?.id),v=(0,yE.A)(a?.id);return(0,U.jsx)(op.f5,{value:y,children:(0,U.jsxs)("div",{className:yW.iE,children:[null!=t||null!=n?(0,U.jsx)(yD,{voiceState:t,awaitingRemoteSessionInfo:n}):null,(0,U.jsx)(NX,{...e,...u,...s,enableActivities:N,remoteVoiceState:t,guild:l,channel:a,hasVideo:d,selfStream:_,hasLayers:h,voiceStates:I,showVoiceStates:E,shouldShowVoicePanelIntroduction:c,isPrivateChannelWithEnabledActivities:v,analyticsLocations:y}),!T&&f&&null!=o?(0,U.jsxs)("div",{className:yW.BT,children:[(0,U.jsx)(sw.E,{variant:"text-sm/normal",className:yW.u0,children:p?na.intl.string(na.t.efjuQJ):na.intl.string(na.t.br8H2N)}),(0,U.jsx)(tJ.$,{size:"sm",fullWidth:!0,onClick:()=>{S(!0)},text:na.intl.string(na.t.WAI6xu),focusProps:Nj})]}):null]})})}),NJ={offset:{left:-1,top:-1,right:1,bottom:1}};function N0(e){let t=e.currentTarget;ew.default.track(eL.HAw.NOISE_CANCELLATION_LINK_CLICKED,{text:t.text,href:t.href,location:{section:eL.JJy.NOISE_CANCELLATION_POPOUT}})}function N1(){let e=e8.useRef(null);(0,yl.t)(e),e8.useEffect(()=>{ew.default.track(eL.HAw.OPEN_POPOUT,{type:eL.JJy.NOISE_CANCELLATION_POPOUT})},[]);let t=(0,e6.bG)([tI.Ay],()=>tI.Ay.getNoiseCancellation()),n=yk(),i=(0,e6.bG)([tI.Ay],()=>tI.Ay.getActiveInputProfile()),r=null!=i&&i!==NH.m.CUSTOM,s=na.intl.string(na.t.uKdWn6),a=na.intl.string(na.t.uKdWn6);return n?(s=na.intl.string(na.t.mXZgC9),a=na.intl.format(na.t.F6lrb4,{onSettingsClick:()=>{tI.Ay.getMediaEngine().showSystemCaptureConfigurationUI("microphone_modes")}})):r&&(s=na.intl.formatToPlainString(na.t["/tqmfM"],{enabled:t?"true":"false",inputProfile:i})),(0,U.jsxs)("div",{ref:e,className:yW.dD,children:[(0,U.jsx)(rJ.m,{text:s,shouldShow:r||n,align:"right",children:(0,U.jsx)("div",{children:(0,U.jsx)(yu.d,{label:na.intl.string(na.t["WGWHv/"]),checked:t&&!n,disabled:r||n,onChange:()=>is.A.setNoiseCancellation(!t,{section:eL.JJy.NOISE_CANCELLATION_POPOUT})})})}),(0,U.jsx)(sw.E,{variant:"text-sm/normal",children:a}),(0,U.jsx)(yA.A,{title:na.intl.string(na.t.JdUas1),notchBackground:yA.V.BLACK,buttonTest:na.intl.string(na.t["sG+MGg"]),buttonStop:na.intl.string(na.t.Yp3SbJ),location:{section:eL.JJy.NOISE_CANCELLATION_POPOUT}}),(0,U.jsx)(yc.D,{label:na.intl.string(na.t.k6h1F4),children:(0,U.jsxs)(S0.A,{justify:S0.A.Justify.BETWEEN,className:yW.__invalid_footer,children:[(0,U.jsx)(tn.Anchor,{href:eL.X7G.KRISP,onClick:e=>N0(e),children:(0,U.jsx)("div",{className:yW.zQ})}),(0,U.jsx)(tn.Anchor,{href:nh.A.getArticleURL(eL.MVz.NOISE_SUPPRESSION),className:yW.W,onClick:e=>N0(e),children:na.intl.string(na.t.hvVgAZ)})]})})]})}function N2(){let{parentAnalyticsLocation:e}=(0,op.Ay)(),t=(0,e6.bG)([yQ.A],()=>yQ.A.isMuted()),n=t?na.intl.string(na.t.ScHlfl):na.intl.string(na.t.zqxfrf);return(0,U.jsx)(S2.A,{tooltipText:n,icon:t?pD.C:pb.T,onClick:()=>{(0,yT.X)(e,yT.O.STAGE_MUSIC,t),(0,yX.k)(!t)}})}function N3(e){let{channel:t,enableActivities:n,disabled:i}=e,r=e8.useRef(null),{parentAnalyticsLocation:s}=(0,op.Ay)(),a=(0,yJ.A)(),o=(0,y1.A)(t),l=(0,e6.bG)([iI.Ay],()=>null!=iI.Ay.getSelfEmbeddedActivityForLocation(iI.Ay.getConnectedActivityLocation())),u=(0,yG.Ay)(t),{reachedLimit:c,limit:d}=(0,y0.A)(t),_=e8.useCallback(()=>{(0,y3.A)()},[]),h=(0,t7.Us)(),f=e8.useCallback(e=>{if(tI.Ay.isVideoEnabled()===e)return;let n=()=>{is.A.setVideoEnabled(e),e&&(0,uV.pX)(eL.BVt.CHANNEL(t.getGuildId()??eL.ME,t.id))};(0,yT.X)(s,yT.O.CAMERA,e),e?(0,y5.A)(n,h):n()},[t,h,s]),p=l||n||u,{Component:E,play:m,events:g}=(0,yr.K)(a.enabled?"disable":"enable");return e8.useEffect(()=>()=>m(),[a.enabled,m]),(0,U.jsx)(y7.r,{onChange:f,onCameraUnavailable:_,hasPermission:o,channelLimit:d,channelLimitReached:c,...a,enabled:!i&&a.enabled,children:e=>{let{unavailable:t,isActive:n,label:i,iconComponent:a,iconColor:o,...l}=e,u=(0,U.jsx)(E,{size:"md",className:t2()(yW.iA,{[yW.ij]:!p}),color:"currentColor"});return(0,U.jsx)(so.Y,{targetElementRef:r,renderPopout:e=>{let{closePopout:t}=e;return(0,U.jsx)(yI.A,{onClose:t,minimal:!0,onInteraction:(0,yS.s)("VideoDeviceMenu",s)})},position:"top",align:"center",animation:so.Y.Animation.FADE,children:(e,s)=>{let{onClick:a,...o}=e,{isShown:c}=s;return(0,U.jsx)(rJ.m,{text:i,children:(0,U.jsx)(an.$n,{"data-migration-pending":!0,buttonRef:r,...l,...o,onClick:e=>{l.onClick(e),c&&a(e)},onMouseEnter:()=>{o.onMouseEnter?.(),g.onMouseEnter()},onMouseLeave:()=>{g.onMouseLeave()},onContextMenu:e=>{a(e)},size:an.$n.Sizes.MEDIUM,"aria-pressed":n,className:t2()(yW.x6,yW.Sq,{[yW.rK]:n,[yW.tU]:t,[yW.r9]:l.disabled}),innerClassName:yW.bk,wrapperClassName:yW.x6,fullWidth:!0,focusProps:NJ,children:p?u:(0,U.jsxs)(S0.A,{align:S0.A.Align.CENTER,children:[u,na.intl.string(na.t.FlNoSV)]})})})}})}})}function N6(e){let{channel:t,enableActivities:n}=e,i=(0,t7.Us)(),{parentAnalyticsLocation:r,newestAnalyticsLocation:s}=(0,op.Ay)(),a=i===eL.BRT.POPOUT,o=(0,yp.et)(t.id),l=(0,yp.dL)(o),{userInActivity:u}=(0,e6.cf)([iI.Ay],()=>({userInActivity:null!=iI.Ay.getSelfEmbeddedActivityForChannel(t.id)})),c=(0,yf.b)({surface:y_.YI.VOICE_LAUNCHER,skipFetchingShelf:!0}),d=o!==yp.xy.CAN_LAUNCH,{Component:_,events:h,play:f}=(0,yn.c)();return n?(0,U.jsx)(rx.GY,{contentType:rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE,latestVersion:c,children:e=>{let{visibleContent:n,markAsDismissed:i}=e;return(0,U.jsx)(rJ.m,{text:l,children:(0,U.jsxs)(an.$n,{"data-migration-pending":!0,fullWidth:!0,size:an.$n.Sizes.MEDIUM,...h,onClick:()=>{f(),(0,yg.A)({context:null!=t?{type:"channel",channel:t}:{type:"contextless"},openInPopout:a,analyticsLocation:s}),(0,yT.X)(r,yT.O.ACTIVITY),n===rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE&&i(rE.i.TAKE_ACTION)},onMouseEnter:()=>{h.onMouseEnter()},onMouseLeave:()=>{h.onMouseLeave()},disabled:d,className:t2()(yW.x6,yW.Sq,{[yW.rK]:u,[yW.r9]:d}),innerClassName:yW.bk,wrapperClassName:yW.x6,focusProps:NJ,children:[n===rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE&&(0,U.jsx)(ym.a,{top:-1,right:-1}),(0,U.jsx)(_,{size:"md",color:"currentColor",className:yW.iA})]})})}}):null}function N4(e){let t,{channel:n,canGoLive:i,enableActivities:r,disabled:s}=e,a=e8.useRef(null),{parentAnalyticsLocation:o,analyticsLocations:l}=(0,op.Ay)(),u=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),c=(0,e6.yK)([iO.A],()=>iO.A.getAllActiveStreams()),d=(0,y1.A)(n),_=n.getGuildId(),h=(0,e6.cf)([iI.Ay],()=>null!=iI.Ay.getSelfEmbeddedActivityForChannel(n.id)),f=(0,yG.Ay)(n),p=e8.useCallback(()=>{(0,y4.A)(_,n.id,l)},[_,n.id,l]),E=c.find(e=>e.ownerId===u?.id),m=(0,y2.T)(n,u,c);t=null==E?i?p:y6.A:()=>(0,yw.A)(E);let g=null!=E||m.length>0,A=d?na.intl.string(na.t.fjBNo1):na.intl.string(na.t.uQn9B8),I=h||r||f,T=null!=E,{Component:S,events:y,play:N}=(0,yi.c)(T?"disable":"enable");e8.useEffect(()=>()=>N(),[N,T]);let v=(0,U.jsx)(S,{size:"md",color:"currentColor",className:t2()(yW.iA,{[yW.ij]:!I})});return(0,U.jsx)(so.Y,{targetElementRef:a,renderPopout:e=>{let{closePopout:t}=e;return(0,U.jsx)(y2.A,{channel:n,currentUser:u,activeStreams:c,onClose:t,handleGoLive:i?p:y6.A,onInteraction:(0,yS.s)("ManageStreamsMenu",o,{entrypoint:NV.GK.OTHER_BUTTON})})},position:"top",align:"center",animation:so.Y.Animation.FADE,children:e=>{let{onClick:n,onMouseEnter:i,...r}=e;return(0,U.jsx)(rJ.m,{text:A,children:(0,U.jsx)(an.$n,{"data-migration-pending":!0,buttonRef:a,size:an.$n.Sizes.MEDIUM,"aria-pressed":null!=E,onClick:e=>{(0,yT.X)(o,yT.O.STREAM,null==E),g?n(e):t()},disabled:!d||s,className:t2()(yW.x6,yW.Sq,{[yW.rK]:null!=E,[yW.r9]:!d||s}),...g?r:null,onMouseEnter:()=>{i?.(),y.onMouseEnter()},onMouseLeave:()=>{y.onMouseLeave()},innerClassName:yW.bk,wrapperClassName:yW.x6,focusProps:NJ,children:I?v:(0,U.jsxs)(S0.A,{align:S0.A.Align.CENTER,children:[v,na.intl.string(na.t["r0/+v7"])]})})})}})}function N5(e){let{channel:t,analyticsLocations:i,hasRemoteVoiceState:r}=e,s=(0,o7.Ay)(t),a=(0,e6.bG)([tx.A],()=>{let e=tx.A.getGuild(t.guild_id);return e?.name}),{rtcConnectionQuality:o,rtcConnectionState:l,rtcConnectionLastPing:u}=(0,e6.cf)([iL.A],()=>r?{rtcConnectionQuality:eL.bFR.FINE,rtcConnectionState:eL.S7L.RTC_CONNECTED,rtcConnectionLastPing:0}:{rtcConnectionQuality:iL.A.getQuality(),rtcConnectionState:iL.A.getState(),rtcConnectionLastPing:iL.A.getLastPing()}),c=(0,e6.bG)([iM.A],()=>iM.A.hasVideo(t.id)),d=null!=a?`${s} / ${a}`:s,_=eL.BVt.CHANNEL(t.guild_id??eL.ME,t.id);return(0,U.jsx)(yU.A,{channelId:t.id,quality:o,state:l,lastPing:u,hasVideo:c,connectionStatusTextVariant:"text-md/medium",childrenAsSubtitle:!0,children:(0,U.jsx)(e5.vN,{children:(0,U.jsx)(yt.N_,{to:_,onClick:e=>{e.stopPropagation(),yd.A.channelListScrollTo(t.guild_id??eL.ME,t.id),(0,yT.X)(ii.A.RTC_PANEL,yT.O.CHANNEL_LINK)},onContextMenu:e=>{(0,uh.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("43266"),n.e("9004"),n.e("44058"),n.e("60536"),n.e("93720"),n.e("57550")]).then(n.bind(n,576701));return n=>(0,U.jsx)(op.f5,{value:i,children:(0,U.jsx)(e,{...n,channel:t,onInteraction:(0,yS.s)("RTCConnectionMenu",ii.A.RTC_PANEL)})})})},children:(0,U.jsx)(S3.A,{className:yW.Ix,children:(0,U.jsx)(sw.E,{variant:"text-xs/medium",color:"text-subtle",lineClamp:1,children:d})})})})})}function N7(){yM.sF(NB._.VOICE_PANEL_INTRODUCTION)}function N8(){return(0,U.jsxs)("div",{className:t2()(yW.SC,"theme-light"),children:[(0,U.jsx)(aF.D,{className:yW.oN,variant:"heading-md/semibold",children:na.intl.string(na.t["ba/rL2"])}),(0,U.jsx)(sw.E,{className:yW.uf,variant:"text-sm/normal",children:na.intl.string(na.t.Ne1Eew)}),(0,U.jsx)(tJ.$,{fullWidth:!0,onClick:N7,text:na.intl.string(na.t.shaBeH),focusProps:NJ})]})}function N9(){return(0,U.jsx)(N8,{})}function ve(e){let{popoutProps:t,isShown:n,noiseCancellationActive:i,ref:r}=e,{parentAnalyticsLocation:s}=(0,op.Ay)(),{play:a,Component:o,events:l}=yo(i?"disable":"enable");return e8.useEffect(()=>()=>a(),[i,a]),(0,U.jsx)(S2.A,{...t,ref:r,onClick:e=>{(0,yT.X)(s,yT.O.KRISP,!i),t.onClick(e)},onMouseEnter:()=>{t.onMouseEnter?.(),l.onMouseEnter()},onMouseLeave:()=>{l.onMouseLeave()},tooltipText:n?null:na.intl.string(na.t.vFiCSx),icon:(0,U.jsx)(o,{size:"refresh_sm"})})}function vt(e){let{channel:t}=e,n=(0,e6.bG)([rU.A],()=>rU.A.hasLayers()),{noiseCancellationActive:i,noiseCancellationError:r}=(0,e6.cf)([tI.Ay],()=>({noiseCancellationActive:(0,yx.A)(tI.Ay.getNoiseCancellation(),tI.Ay.getSystemMicrophoneMode()),noiseCancellationError:tI.Ay.isNoiseCancellationError()})),s=e8.useRef(null),a=(0,e6.bG)([iM.A,eW.default],()=>iM.A.getVoiceState(t.guild_id,eW.default.getId()));return t?.isGuildStageVoice()&&(0,iC.eY)(a)!==iC.zF.ON_STAGE&&(0,yZ.Zl)(t.id)?(0,U.jsx)(N2,{}):!n&&r?(0,U.jsx)(rJ.m,{text:na.intl.string(na.t["i+SO/U"]),forceOpen:!0,children:(0,U.jsx)(S2.A,{tooltipText:null,disabled:!0,icon:Ah,"aria-label":na.intl.string(na.t["i+SO/U"])})}):(0,U.jsx)(so.Y,{targetElementRef:s,position:"top",align:"center",renderPopout:()=>(0,U.jsx)(N1,{}),children:(e,t)=>{let{isShown:n}=t;return(0,U.jsx)(ve,{popoutProps:e,isShown:n,noiseCancellationActive:i,ref:s})}},"krisp-popout")}function vn(e){let{channel:t,canGoLive:n}=e,{reachedLimit:i}=(0,y0.A)(t),r=(0,yq.qT)(t.id),s=(0,e6.bG)([iO.A],()=>iO.A.getCurrentUserActiveStream()),a=(0,yh.A)(t.guild_id??eL.dJq,t.id),o=(0,yE.A)(t.id),l=(0,e6.bG)([iM.A,eW.default],()=>iM.A.getVoiceState(t.guild_id,eW.default.getId()));if(t.isGuildStageVoice()&&(null==l||l.suppress||!n||!(0,yq.Bw)(t.guild_id)))return null;let u=(t.isGuildVoice()||o)&&a;return(0,U.jsxs)("div",{className:yW.uu,children:[(0,U.jsx)(N3,{channel:t,enableActivities:u,disabled:!r&&i}),(0,U.jsx)(N4,{channel:t,canGoLive:n,enableActivities:u,disabled:t.isGuildStageVoice()&&(r&&null==s||!r&&i)}),u?(0,U.jsx)(N6,{channel:t,enableActivities:a}):null,(0,yG.Ay)(t)?(0,U.jsx)(yK,{channel:t,focusProps:NJ}):null]})}function vi(e){let{channel:t}=e,n=(0,e6.bG)([a6.A],()=>a6.A.isViewingRoles(t.guild_id)),i=(0,e6.bG)([l0.A],()=>n&&!l0.A.can(eL.xBc.VIEW_CHANNEL,t),[n,t]),[r,s]=e8.useState(!1);return(e8.useEffect(()=>{(n||i)&&s(!1)},[n,i,s]),null==t.guild_id||r||!n)?null:(0,U.jsxs)("div",{className:yW.BT,children:[(0,U.jsx)(sw.E,{variant:"text-sm/normal",className:yW.u0,children:i?na.intl.string(na.t.efjuQJ):na.intl.string(na.t.br8H2N)}),(0,U.jsx)(tJ.$,{size:"sm",fullWidth:!0,onClick:()=>{s(!0)},text:na.intl.string(na.t.WAI6xu),focusProps:NJ})]})}function vr(e){let{channel:t}=e,[n,i,r]=(0,e6.yK)([iP.Ay,y$.A],()=>t?.isGuildStageVoice()?[y$.A.getMutableParticipants(t.id,yz.ip.SPEAKER),y$.A.getParticipantsVersion(t.id),null]:[null,null,null!=t?iP.Ay.getVoiceStatesForChannel(t):null],[t]),s=e8.useMemo(()=>n?.map(e=>{let{user:t,userNick:n,voiceState:i}=e;return{user:t,nick:n,voiceState:i}})??r??[],[n,i,r]);return(0,U.jsx)(NF,{voiceStates:s,channel:t,className:yW.Xk})}function vs(){let e=(0,yy.A)(),t=(0,e6.bG)([iy.default],()=>iy.default.getAwaitingRemoteSessionInfo()),n=(0,e6.bG)([iL.A],()=>e?.channelId??iL.A.getChannelId()),i=(0,e6.bG)([ib.A],()=>ib.A.getChannel(n),[n]),{noiseCancellationSupported:r,canGoLive:s}=(0,e6.cf)([tI.Ay],()=>({noiseCancellationSupported:tI.Ay.isNoiseCancellationSupported(),canGoLive:(0,yL.A)(tI.Ay)})),a=(0,e6.bG)([tI.Ay,yP.A,tT.default],()=>yP.A.hasHotspot(NB._.VOICE_PANEL_INTRODUCTION)&&(0,st.mv)(tT.default.getCurrentUser())&&!tI.Ay.isInteractionRequired()&&!i?.isGuildStageVoice()),o=tl.vL.useSetting(),{analyticsLocations:l}=(0,op.Ay)(ii.A.RTC_PANEL),u=e8.useRef(null);if(null==i)return;let c=null!=e;return(0,U.jsx)(op.f5,{value:l,children:(0,U.jsxs)("div",{className:yW.iE,children:[null!=e||null!=t?(0,U.jsx)(yD,{voiceState:e,awaitingRemoteSessionInfo:t}):null,(0,U.jsx)(so.Y,{targetElementRef:u,renderPopout:N9,position:"top",align:"center",animation:so.Y.Animation.TRANSLATE,shouldShow:a,children:()=>(0,U.jsxs)("div",{ref:u,className:yW.kL,children:[(0,U.jsxs)(S0.A,{className:yW.FI,align:S0.A.Align.CENTER,children:[(0,U.jsx)("div",{className:yW.vW,children:(0,U.jsx)(N5,{channel:i,analyticsLocations:l,hasRemoteVoiceState:c})}),(0,U.jsxs)(S0.A,{grow:0,shrink:0,className:yW.nL,children:[(0,U.jsx)(Nb,{}),r&&!c?(0,U.jsx)(vt,{channel:i}):null,(0,U.jsx)(Na,{channel:i})]})]}),o?(0,U.jsx)(vr,{channel:i}):null,c?null:(0,U.jsx)(vn,{channel:i,canGoLive:s})]})}),(0,U.jsx)(vi,{channel:i})]})})}var va=n(743407),vo=n(111113);function vl(e){let{analyticsLocations:t}=(0,op.Ay)(ii.A.ACTIVITY_PANEL),n=(0,TQ.A)(e=>{let{guildId:t}=e;return t});return(0,U.jsx)(op.f5,{value:t,children:(0,U.jsx)(SZ.A,{...e,guildId:n})})}let vu=e8.memo(function(){let e=e8.useRef(null);(0,Sy.i4)(e,e=>{let{height:t}=e;document.body.style.setProperty("--custom-app-panels-height",`${t}px`)},[]);let{enableQuickBar:t}=rF.h.useConfig({location:"ClipsQuickBar"}),n=(0,SL.MZ)(e=>e.isOpen)&&t,{isSorting:i}=(0,Sz.A)(),{enabled:r}=Sq.useConfig({location:"AppPanels"});return(0,U.jsx)("section",{ref:e,className:t2()(vo.C3,{[vo.aB]:i}),"aria-label":na.intl.string(na.t.vTl6Lk),children:(0,U.jsxs)(e5.xp,{containerRef:e,children:[(0,U.jsx)(SS,{}),(0,U.jsx)(va.A,{}),(0,U.jsx)(ye,{}),(0,U.jsx)(of.A,{section:eL.JJy.ACTIVITY_PANEL,children:(0,U.jsx)(vl,{className:t2()(vo.iz,{[vo.$j]:n})})}),(0,U.jsx)(SW,{}),(0,U.jsx)(SP,{}),(0,U.jsx)(of.A,{section:eL.JJy.RTC_CONNECTION_PANEL,children:(0,U.jsx)(r?vs:NQ,{})}),(0,U.jsx)(of.A,{section:eL.JJy.ACCOUNT_PANEL,children:(0,U.jsx)(SX.A,{})})]})})});var vc=n(746080),vd=n(539916),v_=n(613057),vh=n(355097);n(964623);let vf=()=>(0,U.jsx)("div",{className:vo.wG,children:(0,U.jsx)(rn.y,{})}),vp=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("98594"),n.e("31329"),n.e("11328"),n.e("81154"),n.e("66622"),n.e("22822"),n.e("44136"),n.e("99961"),n.e("7927"),n.e("76602"),n.e("91763"),n.e("28229"),n.e("43437"),n.e("39970"),n.e("72789"),n.e("17249"),n.e("62422"),n.e("82644"),n.e("35321"),n.e("50033"),n.e("44780"),n.e("95160"),n.e("1812"),n.e("15109"),n.e("59466"),n.e("75133"),n.e("28850"),n.e("27659"),n.e("60003"),n.e("59373"),n.e("85802"),n.e("65200"),n.e("41348"),n.e("53402"),n.e("46240"),n.e("81505")]).then(n.bind(n,320080)),webpackId:320080,name:"NotificationsInboxSidebar",renderLoader:vf}),vE=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("74556"),n.e("81275"),n.e("44136"),n.e("99961"),n.e("89209"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("66787"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("84935"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("70306"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("87478"),n.e("95160"),n.e("1812"),n.e("92128"),n.e("15109"),n.e("99549"),n.e("16988"),n.e("59797"),n.e("93336"),n.e("69793"),n.e("15920"),n.e("75859"),n.e("80093"),n.e("73122"),n.e("79593"),n.e("41706"),n.e("14863"),n.e("86629"),n.e("46855"),n.e("55197"),n.e("50974"),n.e("69171"),n.e("78870")]).then(n.bind(n,480178)),webpackId:480178,name:"GuildShopPage",renderLoader:ra.uW}),vm=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("79848"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("84935"),n.e("2313"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("9233"),n.e("72963"),n.e("86814"),n.e("50117"),n.e("23608"),n.e("44571"),n.e("87439"),n.e("92128"),n.e("99549"),n.e("77467"),n.e("36768"),n.e("14078")]).then(n.bind(n,939599)),webpackId:939599,name:"SocialLayerStorefront",renderLoader:vf}),vg=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("79848"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("84935"),n.e("2313"),n.e("75804"),n.e("94620"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("9233"),n.e("72963"),n.e("86814"),n.e("50117"),n.e("23608"),n.e("44571"),n.e("87439"),n.e("92128"),n.e("99549"),n.e("77467"),n.e("52511"),n.e("54103"),n.e("52803"),n.e("43710"),n.e("36768"),n.e("14078"),n.e("22231")]).then(n.bind(n,425663)),webpackId:425663,name:"SocialLayerStorefrontApplicationWrapper",renderLoader:vf}),vA=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("4744"),n.e("16373"),n.e("8497")]).then(n.bind(n,254316)),webpackId:254316,name:"ServerMonetizationOnboardingForwarder",renderLoader:vf}),vI=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("57073"),n.e("93559"),n.e("66787"),n.e("44136"),n.e("23967"),n.e("84935"),n.e("88826"),n.e("28510"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("28885"),n.e("49937"),n.e("30402"),n.e("19032"),n.e("3445"),n.e("1907"),n.e("20605"),n.e("35636"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("13111"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("91763"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("68403"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("98965"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("35321"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("50033"),n.e("3998"),n.e("5557"),n.e("95160"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("60773"),n.e("61156"),n.e("92128"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("20930"),n.e("74610"),n.e("38056"),n.e("26001"),n.e("16988"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("57458"),n.e("59797"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("75133"),n.e("77487"),n.e("75859"),n.e("96804"),n.e("28850"),n.e("95998"),n.e("27659"),n.e("68530"),n.e("42234"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("78046"),n.e("98972"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("41701"),n.e("39894"),n.e("21455"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("60003"),n.e("30167"),n.e("51892"),n.e("41838"),n.e("59373"),n.e("46045"),n.e("16054"),n.e("21883"),n.e("50068"),n.e("88307"),n.e("25344"),n.e("80469"),n.e("1485"),n.e("31189"),n.e("23685"),n.e("92313"),n.e("82910"),n.e("33957")]).then(n.bind(n,578839)),webpackId:578839,name:"GuildHomePage",renderLoader:ra.tV}),vT=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("44136"),n.e("7087"),n.e("39970"),n.e("62862"),n.e("95160"),n.e("1243"),n.e("61731")]).then(n.bind(n,827641)),webpackId:827641,name:"GuildOfficialMessagesPage"}),vS=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("31299"),n.e("76026"),n.e("45249"),n.e("44136"),n.e("31329"),n.e("3402"),n.e("89156"),n.e("44078"),n.e("84935"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("66787"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("97549"),n.e("63635"),n.e("28885"),n.e("49937"),n.e("1472"),n.e("70534"),n.e("4974"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("49681"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("83952"),n.e("5557"),n.e("95160"),n.e("62718"),n.e("1812"),n.e("49145"),n.e("92128"),n.e("92295"),n.e("68763"),n.e("15109"),n.e("99549"),n.e("26001"),n.e("16988"),n.e("52111"),n.e("59797"),n.e("93336"),n.e("69793"),n.e("28136"),n.e("75859"),n.e("68530"),n.e("73669"),n.e("10943"),n.e("7775"),n.e("48730"),n.e("61058"),n.e("33097"),n.e("3710"),n.e("45830"),n.e("46313"),n.e("36002"),n.e("43233"),n.e("30501"),n.e("66913"),n.e("71719"),n.e("13848"),n.e("39214"),n.e("14878"),n.e("73091"),n.e("44943"),n.e("60206"),n.e("50096"),n.e("99583")]).then(n.bind(n,206778)),webpackId:206778,name:"MemberSafetyPage",renderLoader:ra.NU}),vy=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("66787"),n.e("44136"),n.e("23967"),n.e("84935"),n.e("88826"),n.e("28510"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("28885"),n.e("49937"),n.e("30402"),n.e("19032"),n.e("3445"),n.e("1907"),n.e("35636"),n.e("98178"),n.e("89217"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("13111"),n.e("96382"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("91763"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("68403"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("98965"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("35321"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("50033"),n.e("3998"),n.e("5557"),n.e("95160"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("60773"),n.e("61156"),n.e("92128"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("20930"),n.e("74610"),n.e("38056"),n.e("26001"),n.e("16988"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("57458"),n.e("59797"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("75133"),n.e("77487"),n.e("75859"),n.e("96804"),n.e("28850"),n.e("95998"),n.e("27659"),n.e("68530"),n.e("42234"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("78046"),n.e("98972"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("29260"),n.e("41701"),n.e("39894"),n.e("21455"),n.e("60989"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("60003"),n.e("30167"),n.e("51892"),n.e("41838"),n.e("59373"),n.e("46045"),n.e("16054"),n.e("56026"),n.e("16301"),n.e("22191"),n.e("25961"),n.e("21883"),n.e("50068"),n.e("88307"),n.e("26508"),n.e("61347"),n.e("32347"),n.e("25344"),n.e("13446"),n.e("30313"),n.e("80469"),n.e("1485"),n.e("31189"),n.e("13939"),n.e("82910"),n.e("72165")]).then(n.bind(n,807780)),webpackId:807780,name:"ChannelsAndRolesPage",renderLoader:ra.n}),vN=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("89217"),n.e("35636"),n.e("81927"),n.e("91428"),n.e("96382"),n.e("8555"),n.e("29260"),n.e("15275"),n.e("56026"),n.e("16301"),n.e("22191"),n.e("25961"),n.e("26508"),n.e("74821"),n.e("86692"),n.e("15537"),n.e("36999"),n.e("13939"),n.e("39579")]).then(n.bind(n,123071)),webpackId:123071,name:"GuildOnboardingPage",renderLoader:vf}),vv=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("62036"),n.e("81275"),n.e("36769"),n.e("31329"),n.e("10615"),n.e("22822"),n.e("44136"),n.e("85469"),n.e("76602"),n.e("95602"),n.e("42749"),n.e("2552"),n.e("3345"),n.e("57807"),n.e("88466"),n.e("49379"),n.e("37084"),n.e("35016"),n.e("88615")]).then(n.bind(n,351425)),webpackId:351425,name:"GuildPowerupsPage",renderLoader:ra.Ru}),vC=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("30402"),n.e("7866"),n.e("62036"),n.e("71210"),n.e("68708"),n.e("88466"),n.e("37084"),n.e("63562"),n.e("19750")]).then(n.bind(n,717959)),webpackId:717959,name:"GameServerPage",renderLoader:ra.Ub}),vR=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("97549"),n.e("73801"),n.e("76026"),n.e("15356"),n.e("22687"),n.e("82596"),n.e("41678"),n.e("501"),n.e("57197"),n.e("40976"),n.e("52753"),n.e("17321"),n.e("72970")]).then(n.bind(n,590114)),webpackId:590114,name:"ApplicationLibraryPage",renderLoader:ra.cL}),vO=(0,nN.qT)({createPromise:()=>Promise.all([n.e("61749"),n.e("81927"),n.e("44651"),n.e("36769"),n.e("407"),n.e("97549"),n.e("4149"),n.e("31329"),n.e("63635"),n.e("11491"),n.e("83072"),n.e("98594"),n.e("11328"),n.e("81154"),n.e("46286"),n.e("97177"),n.e("70845"),n.e("85755"),n.e("72963"),n.e("43437"),n.e("82263"),n.e("6174"),n.e("6949"),n.e("35027"),n.e("89088"),n.e("32756"),n.e("95752"),n.e("44571"),n.e("41678"),n.e("2698"),n.e("32209"),n.e("87478"),n.e("15109"),n.e("16988"),n.e("59797"),n.e("75859"),n.e("11617"),n.e("60989"),n.e("36624"),n.e("33448"),n.e("83827"),n.e("73611"),n.e("93767"),n.e("61347"),n.e("52695"),n.e("48317"),n.e("84951"),n.e("30313"),n.e("21300"),n.e("53402"),n.e("26223"),n.e("36999"),n.e("42492"),n.e("68708"),n.e("36793"),n.e("3345"),n.e("57729"),n.e("54588"),n.e("76064"),n.e("57807"),n.e("7521"),n.e("60206"),n.e("86336"),n.e("49111"),n.e("42270"),n.e("97585"),n.e("87634"),n.e("47250"),n.e("42243"),n.e("9114"),n.e("83373")]).then(n.bind(n,622168)),webpackId:622168,name:"GuildSidebar",renderLoader:ra.L}),vb=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("47695"),n.e("31329"),n.e("8921"),n.e("83108"),n.e("84935"),n.e("78576"),n.e("76026"),n.e("44123"),n.e("22023"),n.e("61949"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("28885"),n.e("75804"),n.e("8068"),n.e("43413"),n.e("94242"),n.e("66787"),n.e("51919"),n.e("69445"),n.e("45249"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("93103"),n.e("42724"),n.e("40258"),n.e("86127"),n.e("6174"),n.e("91146"),n.e("46070"),n.e("6949"),n.e("36863"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("52548"),n.e("80854"),n.e("23608"),n.e("58946"),n.e("44571"),n.e("52617"),n.e("87439"),n.e("59957"),n.e("74610"),n.e("16988"),n.e("52511"),n.e("61058"),n.e("45830"),n.e("33771"),n.e("54103"),n.e("46039"),n.e("91643"),n.e("52803"),n.e("8364"),n.e("74337"),n.e("56967"),n.e("68031"),n.e("70587"),n.e("92064"),n.e("24564"),n.e("85384"),n.e("80026"),n.e("68974"),n.e("1953"),n.e("30003"),n.e("75072"),n.e("78677"),n.e("33546"),n.e("73169"),n.e("5468"),n.e("14289")]).then(n.bind(n,942262)),webpackId:942262,name:"GlobalDiscovery",renderLoader:ra.Bj}),vD=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("81927"),n.e("94695"),n.e("97549"),n.e("64235"),n.e("61949"),n.e("28367"),n.e("83952"),n.e("38056"),n.e("42234"),n.e("34546"),n.e("16054"),n.e("5871"),n.e("27462"),n.e("6627"),n.e("7408"),n.e("75284"),n.e("82384"),n.e("91685"),n.e("43784"),n.e("25252")]).then(n.bind(n,767060)),webpackId:767060,name:"FamilyCenterRouter",renderLoader:ra.c5}),vL=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("83108"),n.e("31329"),n.e("8921"),n.e("75804"),n.e("8068"),n.e("81927"),n.e("43413"),n.e("94242"),n.e("68299"),n.e("66787"),n.e("51919"),n.e("69445"),n.e("45249"),n.e("28367"),n.e("34303"),n.e("42724"),n.e("40258"),n.e("86127"),n.e("36863"),n.e("58946"),n.e("59957"),n.e("52511"),n.e("33771"),n.e("54103"),n.e("46039"),n.e("52803"),n.e("70587"),n.e("80026"),n.e("1953"),n.e("30003"),n.e("33546"),n.e("5468")]).then(n.bind(n,550489)),webpackId:550489,name:"QuestHomePage",renderLoader:ra.g4}),vw=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("44136"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("66787"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("84935"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("28885"),n.e("49937"),n.e("11273"),n.e("69984"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("87478"),n.e("5557"),n.e("95160"),n.e("62718"),n.e("1812"),n.e("92128"),n.e("15109"),n.e("99549"),n.e("16988"),n.e("59797"),n.e("93336"),n.e("69793"),n.e("75859"),n.e("68530"),n.e("38652")]).then(n.bind(n,241188)),webpackId:241188,name:"ICYMIPage",renderLoader:ra.so}),vM=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("66787"),n.e("44136"),n.e("84935"),n.e("88826"),n.e("28510"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("28885"),n.e("49937"),n.e("30402"),n.e("19032"),n.e("3445"),n.e("1907"),n.e("70080"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("13111"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("68403"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("98965"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("3998"),n.e("5557"),n.e("95160"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("60773"),n.e("61156"),n.e("92128"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("20930"),n.e("74610"),n.e("38056"),n.e("26001"),n.e("16988"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("57458"),n.e("59797"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("75133"),n.e("77487"),n.e("75859"),n.e("96804"),n.e("28850"),n.e("95998"),n.e("68530"),n.e("42234"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("98972"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("41701"),n.e("39894"),n.e("21455"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("30167"),n.e("51892"),n.e("41838"),n.e("59373"),n.e("46045"),n.e("16054"),n.e("21883"),n.e("50068"),n.e("25344"),n.e("80469"),n.e("11015")]).then(n.bind(n,515766)),webpackId:515766,name:"MessageRequestPage",renderLoader:ra.rt}),vP=(0,nN.qT)({createPromise:()=>Promise.all([n.e("84935"),n.e("66787"),n.e("31329"),n.e("41297"),n.e("44136"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("28885"),n.e("49937"),n.e("66346"),n.e("53773"),n.e("88826"),n.e("28510"),n.e("30402"),n.e("19032"),n.e("3445"),n.e("47206"),n.e("66465"),n.e("81275"),n.e("17270"),n.e("43413"),n.e("23967"),n.e("50256"),n.e("57073"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("13111"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("34552"),n.e("93103"),n.e("8757"),n.e("76602"),n.e("91763"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("85968"),n.e("76418"),n.e("68403"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("29787"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("98965"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("76273"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("35321"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("50033"),n.e("83952"),n.e("3998"),n.e("44780"),n.e("5557"),n.e("95160"),n.e("43266"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("49145"),n.e("60773"),n.e("61156"),n.e("92128"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("20930"),n.e("74610"),n.e("38056"),n.e("26001"),n.e("16988"),n.e("12255"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("40959"),n.e("57458"),n.e("59797"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("75133"),n.e("15920"),n.e("77487"),n.e("75859"),n.e("96804"),n.e("38501"),n.e("28850"),n.e("95998"),n.e("27659"),n.e("68530"),n.e("42234"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("77467"),n.e("78046"),n.e("80093"),n.e("98972"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("41701"),n.e("17823"),n.e("39894"),n.e("21455"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("60003"),n.e("30167"),n.e("51892"),n.e("41838"),n.e("59373"),n.e("46045"),n.e("73122"),n.e("42324"),n.e("85802"),n.e("16054"),n.e("96480"),n.e("65200"),n.e("79593"),n.e("41706"),n.e("94888"),n.e("90804"),n.e("21883"),n.e("50068"),n.e("70587"),n.e("55895"),n.e("28011"),n.e("25344"),n.e("76622"),n.e("26250"),n.e("37065"),n.e("80469"),n.e("43372"),n.e("51212"),n.e("1485"),n.e("24049"),n.e("41348"),n.e("84601"),n.e("51743"),n.e("86470"),n.e("86861"),n.e("31189"),n.e("84042"),n.e("27880"),n.e("70961"),n.e("82830"),n.e("46855"),n.e("59228"),n.e("8032"),n.e("77970"),n.e("88563"),n.e("92313"),n.e("7521"),n.e("80782"),n.e("59991"),n.e("85681"),n.e("87791"),n.e("97934"),n.e("92461")]).then(n.bind(n,11014)),webpackId:11014,name:"Channel",renderLoader:ra.l3}),vx=(0,nN.Fe)({createPromise:()=>n.e("22270").then(n.bind(n,816015)),webpackId:816015,name:"ChannelStoreListing",renderLoader:vf}),vk=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("89145"),n.e("49212")]).then(n.bind(n,575429)),webpackId:575429,name:"DeepLinkLaunchActivityInDM",renderLoader:vf}),vU=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("37491"),n.e("46240"),n.e("97544")]).then(n.bind(n,667429)),webpackId:667429,name:"EmptyNotificationsPage",renderLoader:vf}),vG=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("89217"),n.e("25099"),n.e("15537"),n.e("36999"),n.e("86105")]).then(n.bind(n,995198)),webpackId:995198,name:"GuildMemberVerificationPreviewDisabled",renderLoader:vf}),vF=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("89217"),n.e("91428"),n.e("15275"),n.e("74821"),n.e("15537"),n.e("36999"),n.e("56485")]).then(n.bind(n,140354)),webpackId:140354,name:"GuildOnboardingBlockedPage",renderLoader:vf}),vV=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("81275"),n.e("44136"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("66787"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("84935"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("62177"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("87478"),n.e("95160"),n.e("1812"),n.e("92128"),n.e("15109"),n.e("99549"),n.e("16988"),n.e("59797"),n.e("93336"),n.e("69793"),n.e("15920"),n.e("75859"),n.e("80093"),n.e("73122"),n.e("79593"),n.e("41706"),n.e("86629"),n.e("54658"),n.e("46855"),n.e("86336"),n.e("85681"),n.e("42243"),n.e("69171"),n.e("67508")]).then(n.bind(n,726561)),webpackId:726561,name:"GuildRoleSubscriptionsOverviewPageWithContext",renderLoader:vf}),vB=e=>{let{match:t}=e,n=(0,ru.o)(),i=(0,e6.bG)([ib.A,nX.A],()=>{let e=nX.A.getChannelId();return ib.A.getChannel(e)}),{guildId:r,channelId:s,messageId:a,threadId:o}=t.params,l=s??void 0;null==l&&null!=t.params.gameShopPageIndex&&(l=vc.VV.GAME_SHOP);let u=(0,e6.bG)([tx.A],()=>tx.A.getGuild(r)),c=(0,e6.bG)([Sf.Ay],()=>null==r?null:Sf.Ay.getSelfMember(r)),d=(0,c6.C$)(r,"ChannelRenderer"),_=(0,c4.N)("ChannelRenderer"),h=u?.features.has(eL.GuildFeatures.GAME_SERVERS)??!1,f=(0,a8.bW)(r,"ChannelRenderer"),p=(0,e6.bG)([a6.A],()=>{if(null==r)return;let e=a6.A.getData(r);if(e?.type===a4._.SERVER_SHOP)switch(e.initialTab){case"role_subscriptions":return ae.B.GUILD_ROLE_SUBSCRIPTIONS;case"guild_products":return ae.B.GUILD_PRODUCTS;default:return}}),E=(0,e6.bG)([at.A],()=>(0,So.C$)(l)&&(0,So.C$)(o),[l,o]);e8.useEffect(()=>{E||(null!=u&&(0,uV.pX)(eL.BVt.CHANNEL(u.id,(0,Sl.A)(u))),(0,a7.showInaccessibleReportPostModal)())},[E,u]);let m=null!=u,g=e8.useRef(null);e8.useEffect(()=>{m||null==r||g.current===r||(g.current=r,nb.A.joinGuild(r,{lurker:!0,autoNavigate:!1}).catch(()=>{}))},[m,r]);let A=(0,a1.$)(r);if(null!=r&&null!=l&&(0,vc.jq)(l))switch(l){case vc.VV.ROLE_SUBSCRIPTIONS:return A?(0,U.jsx)(vE,{guildId:r,initialTab:ae.B.GUILD_ROLE_SUBSCRIPTIONS}):(0,U.jsx)(vV,{guildId:r});case vc.VV.SERVER_MONETIZATION_ONBOARDING:return(0,U.jsx)(vA,{guildId:r});case vc.VV.GAME_SHOP:return(0,U.jsx)(vm,{...e});case vc.VV.GUILD_SHOP:return(0,U.jsx)(vE,{guildId:r,productId:a,initialTab:p});case vc.VV.MEMBER_APPLICATIONS:return(0,U.jsx)(ng.rd,{to:eL.BVt.CHANNEL(r,vc.VV.MEMBER_SAFETY)});case vc.VV.GUILD_HOME:return(0,U.jsx)(vI,{guildId:r});case vc.VV.CHANNEL_BROWSER:return(0,U.jsx)(vy,{guildId:r,selectedSection:vd.qC.BROWSE});case vc.VV.GUILD_ONBOARDING:return(0,U.jsx)(vN,{guildId:r});case vc.VV.CUSTOMIZE_COMMUNITY:return(0,U.jsx)(vy,{guildId:r,selectedSection:vd.qC.CUSTOMIZE});case vc.VV.MEMBER_SAFETY:return(0,U.jsx)(vS,{guildId:r});case vc.VV.GUILD_BOOSTS:return(0,U.jsx)(vv,{guildId:r,powerupListingId:n.get("powerupId")??n.get("powerupSkuId")});case vc.VV.GAME_SERVERS:if(!d||!h&&!_)return(0,U.jsx)(ng.rd,{to:eL.BVt.CHANNEL(r)});return(0,U.jsx)(vC,{guildId:r});case vc.VV.REPORT_TO_MOD:return(0,U.jsx)(vP,{});case vc.VV.GUILD_OFFICIAL_MESSAGES:if(!f)return(0,U.jsx)(ng.rd,{to:eL.BVt.CHANNEL(r)});return(0,U.jsx)(vT,{guildId:r});default:(0,ix.xb)(l)}if((0,a0.$Y)(u,c))return(0,U.jsx)(vF,{guildId:r,channelId:l});if(i?.type===eL.rbe.GUILD_STORE){let e=SE.default.cast(t.params.messageId);return(0,U.jsx)(vx,{channel:i,inputSkuId:e},i.id)}return(0,U.jsx)(vP,{})},vH=e8.memo(function(){let{guildId:e,channelId:t}=(0,TQ.A)(),{notificationCenterVariant:n}=(0,sH.X8)({location:"Sidebar"}),i=(0,e6.bG)([nX.A],()=>t??nX.A.getChannelId(e));return window.location.pathname.startsWith(eL.BVt.CHANNEL(eL.gNP))?("sidebar"!==n&&(0,uV.bG)(Sh.A.defaultRoute),(0,U.jsx)(vp,{includePanelSpacing:!0})):window.location.pathname.startsWith(eL.BVt.GLOBAL_DISCOVERY)||window.location.pathname.startsWith(eL.BVt.GUILD_DISCOVERY)||(0,oO.r$)()?(0,U.jsx)(aQ,{}):null!=e?(0,U.jsx)(vO,{selectedChannelId:i,guildId:e},e):(0,U.jsx)(Sa,{})}),vj=e=>(0,U.jsx)(vB,{...e}),vY=()=>(0,U.jsx)(vb,{}),vW=e=>(0,U.jsx)(vK,{...e}),vK=e=>{let{channelId:t,messageId:n}=e.match.params;return(e8.useEffect(()=>{null!=t&&null!=n&&ri.A.jumpToMessage({channelId:t,messageId:n,flash:!0,context:"notification_center_navigation"})},[t,n]),null==t)?(0,U.jsx)(vU,{}):vj(e)},v$=e=>{let{match:t}=e;return null!=t.params.guildId?(0,U.jsx)(vG,{guildId:t.params.guildId}):null},vz=e=>{let{match:t}=e;return(0,uV.pX)(eL.BVt.ME),(0,a3.A)(t.params.inviteCode),null},vq=()=>(0,U.jsx)(vR,{}),vX=()=>(0,U.jsx)(ro,{}),vZ=()=>function(e){let{tab:t,applicationId:n}=(0,ny.parse)(e.location.search);if(t===AH.G2.GAME_SHOPS&&null!=n){let{pageIndex:t,skuId:i}=(0,ny.parse)(e.location.search);return(0,U.jsx)(vg,{applicationId:n,pageIndex:t,skuId:i})}return Object.values(AH.G2).includes(t)?(0,U.jsx)(rT,{tab:t,...e}):(0,U.jsx)(rT,{...e})};function vQ(){return(0,U.jsx)(vL,{topLevelRoute:!0})}let vJ=e=>(0,U.jsx)(vk,{...e}),v0=()=>(0,U.jsx)(c3,{}),v1=()=>(0,U.jsx)(vw,{}),v2=()=>(0,U.jsx)(vM,{}),v3=()=>(0,U.jsx)(vD,{}),v6=e=>{let t=e.location.pathname;return(0,U.jsx)(nx,{deepLinkType:v_.XK.FEATURES,path:t,children:(e=>{let{match:t}=e;switch(t.params.feature){case"friends":return(0,U.jsx)(c3,{initialSection:eL.m3P.ONLINE});case"addFriends":return(0,U.jsx)(c3,{initialSection:eL.m3P.ADD_FRIEND});case"pendingFriends":return(0,U.jsx)(c3,{initialSection:eL.m3P.PENDING});case"sessionManagement":return(0,U.jsx)(ng.rd,{to:(0,S_.settingsPathToRoute)(vh.od.SESSIONS)});case"connections":return(0,U.jsx)(ng.rd,{to:{pathname:(0,S_.settingsPathToRoute)(vh.od.CONNECTIONS),search:e.location.search}});case"family-center":return(0,U.jsx)(ng.rd,{to:eL.BVt.FAMILY_CENTER});case"account-standing":return(0,U.jsx)(ng.rd,{to:(0,S_.settingsPathToRoute)(vh.od.ACCOUNT_ACCOUNT_STANDING)});case"authorized-apps":return(0,U.jsx)(ng.rd,{to:(0,S_.settingsPathToRoute)(vh.od.AUTHORIZED_APPS)});case"open-shop":let{tab:n}=(0,ny.parse)(e.location.search);if(Object.values(AH.G2).includes(n))return(0,U.jsx)(ng.rd,{to:eL.BVt.COLLECTIBLES_SHOP_WITH_TAB(n)});return(0,U.jsx)(ng.rd,{to:eL.BVt.COLLECTIBLES_SHOP});case"editProfile":return(0,U.jsx)(ng.rd,{to:{pathname:(0,S_.settingsPathToRoute)(vh.od.PROFILE_CUSTOMIZATION)}});case"gift":case"store":return(0,U.jsx)(ng.rd,{to:{pathname:eL.BVt.NITRO_HOME}});case"connected-games":return(0,U.jsx)(ng.rd,{to:(0,S_.settingsPathToRoute)(vh.od.CONTENT_AND_SOCIAL_CONNECTED_GAMES)});case"boost":let i=t.params.guildId;return(0,U.jsx)(ng.rd,{to:eL.BVt.POWERUP_STORE(i)});case"boost-settings":return(0,U.jsx)(ng.rd,{to:(0,S_.settingsPathToRoute)(vh.od.GUILD_BOOSTING)});default:return(0,U.jsx)(ng.rd,{to:eL.BVt.ME})}})(e)})};function v4(e){s8.setState({width:e}),document.body.style.setProperty("--custom-guild-sidebar-width",`${e}px`)}function v5(e){let{hasNotice:t,sidebarTheme:n,hideSidebar:i,hideChannelList:r,isSidebarOpen:s}=e,a=(0,e6.bG)([t5.A],()=>t5.A.isFullscreenInContext()),o=s8(e=>!e.isOpen)&&!1,l=s8(e=>e.width);e8.useLayoutEffect(()=>{},[!1]),e8.useLayoutEffect(()=>{if(o)v4(76);else{let e=parseInt(tA.w.get(rr.o)??"");Number.isNaN(e)&&(e=375),v4(e)}},[o]);let u=e8.useRef(null),c=e8.useCallback((e,t)=>{v4(e);t<=264?document.body.classList.add(vo._A):document.body.classList.remove(vo._A),t>=432?document.body.classList.add(vo.uN):document.body.classList.remove(vo.uN);let n=t-e;u.current?.style.setProperty("--custom-overdrag",`${1+Math.min(Math.abs(n/76),.25)}`)},[!1]),d=e8.useCallback(()=>{document.body.classList.add(vo.cB)},[]),_=e8.useCallback(e=>{document.body.classList.remove(vo.cB),document.body.classList.remove(vo._A),document.body.classList.remove(vo.uN),document.body.classList.remove(vo.l4),u.current?.style.setProperty("--custom-overdrag","0px"),tA.w.set(rr.o,e),ew.default.track(eL.HAw.CHANNEL_SIDEBAR_RESIZED,{width:e})},[]),h=(0,rl.A)({minDimension:264,maxDimension:432,resizableDomNodeRef:u,onElementResize:c,onElementResizeStart:d,onElementResizeEnd:_,orientation:rl.R.HORIZONTAL_RIGHT,throttleDuration:0}),f=e8.useCallback(()=>{s8.setState(e=>({isOpen:!e.isOpen}))},[]),p=e8.useCallback(e=>{let t;if("Enter"===e.key){e.preventDefault(),f();return}if(o)return;switch(e.key){case"ArrowRight":t=l+10;break;case"ArrowLeft":t=l-10;break;case"Home":t=264;break;case"End":t=432;break;default:return}e.preventDefault();let n=Math.min(Math.max(t,264),432);n!==l&&(v4(n),tA.w.set(rr.o,n),ew.default.track(eL.HAw.CHANNEL_SIDEBAR_RESIZED,{width:n}))},[o,l,f]);if(e8.useLayoutEffect(()=>{o&&v4(76)},[o]),i)return null;let E={className:t2()(vo.th,{[vo.Qd]:!t})};return(0,U.jsx)(t6.N,{theme:n,children:e=>(0,U.jsxs)("div",{ref:u,"data-collapsed":o,className:t2()(vo.pz,e,{[vo.Ij]:e0.Fr,[vo.R]:a,[vo.WG]:r}),children:[s&&(0,U.jsx)(a2.A,{className:vo.Pl,themeOverride:n}),!r&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{...E,children:(0,U.jsx)(vH,{})}),(0,U.jsx)(e5.vN,{children:(0,U.jsx)("div",{role:"separator",tabIndex:0,"aria-orientation":"vertical","aria-label":"Resize Sidebar","aria-valuenow":l,"aria-valuemin":264,"aria-valuemax":432,className:vo.tq,onClick:f,onMouseDown:h,onKeyDown:p})}),(0,U.jsx)(vu,{})]})]})})}function v7(){let e,t=(0,e6.bG)([Sp.Ay],()=>Sp.Ay.hasNotice()),n=(0,ta.NC)(),i=function(){let[e,t]=e8.useState(()=>window.location.pathname.startsWith(eL.BVt.GUILD_MEMBER_VERIFICATION("")));return e8.useEffect(()=>Su.A.addRouteChangeListener(e=>{t(e.pathname.startsWith(eL.BVt.GUILD_MEMBER_VERIFICATION("")))}),[]),e}(),r=(e=(0,ng.zy)(),(0,Sd.B)(e.pathname,eL.BVt.GUILD_BOOSTING_MARKETING(Sc.pv.guildId()))?.isExact===!0),s=(0,e6.bG)([on],()=>on.getIsOpen()),{notificationCenterVariant:a}=(0,sH.X8)({location:"Sidebar"}),o=(0,a5.U)("AppView"),l=(0,ng.W5)([eL.BVt.CHANNEL(eL.ME,Sc.pv.channelId()),eL.BVt.CHANNEL(Sc.pv.guildId(),Sc.pv.channelId({optional:!0}),":messageId?")]),u=l?.params?.channelId===vc.VV.GUILD_ONBOARDING,c=e8.useCallback(()=>a9.openSidebar(),[]),d=(s8(e=>!e.isOpen),(0,e6.bG)([t5.A],()=>t5.A.isFullscreenInContext())),_=(0,e6.bG)([iS.A],()=>iS.A.isFrameActive());return e8.useEffect(()=>{(0,r_.t)(()=>{vP.preload(),vO.preload()})},[]),(0,U.jsx)("div",{className:vo.kL,children:(0,U.jsx)(aJ.A.Provider,{value:l?.params.guildId===eL.ME?void 0:l?.params.guildId,children:(0,U.jsxs)("div",{className:vo.E3,"data-fullscreen":d,children:[!d&&(0,U.jsx)(s9,{}),e0.Fr?null:(0,U.jsx)(oi.A,{}),(0,U.jsxs)("div",{className:vo.Qs,children:[(0,U.jsx)(rA,{}),(0,U.jsx)(v5,{isSidebarOpen:s,hasNotice:t,sidebarTheme:n,hideChannelList:i||r||u,hideSidebar:!s}),(0,U.jsx)("div",{className:vo.MY,"data-collapsed":!1,children:(0,U.jsxs)(rc.A.Provider,{value:c,children:[(0,U.jsxs)(ng.dO,{children:[(0,U.jsx)(rd.A,{path:eL.BVt.ACTIVITY,disableTrack:!0,children:(0,U.jsx)(ng.rd,{to:eL.BVt.ME})}),(0,U.jsx)(rd.A,{path:eL.BVt.ACTIVITY_DETAILS(":applicationId"),render:vJ,impressionName:eR.ImpressionNames.ACTIVITY_DETAILS,impressionProperties:e=>{let{match:t}=e;return{application_id:t?.params.applicationId}}}),(0,U.jsx)(rd.A,{path:eL.BVt.APPLICATION_LIBRARY,render:vq,impressionName:eR.ImpressionNames.APPLICATION_LIBRARY,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.APPLICATION_STORE,render:vX,impressionName:eR.ImpressionNames.APPLICATION_STORE,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.COLLECTIBLES_SHOP_WITH_TAB(":tab"),render:vZ(),disableTrack:!0}),o&&(0,U.jsx)(rd.A,{path:eL.BVt.COLLECTIBLES_SHOP_LAYOUT(":layoutId"),render:function(e){let{match:t,...n}=e,{layoutId:i}=t.params;return null==i||""===i?(0,U.jsx)(rT,{...n}):(0,U.jsx)(rS,{layoutId:i,...n})},disableTrack:!0}),o&&(0,U.jsx)(rd.A,{path:eL.BVt.COLLECTIBLES_SHOP_COLLECTION_DETAIL(":collectionId"),render:function(e){let{match:t,...n}=e,{collectionId:i}=t.params;return null==i||""===i?(0,U.jsx)(rT,{...n}):(0,U.jsx)(rI,{collectionId:i,...n})},disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.COLLECTIBLES_SHOP,render:vZ(),disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.COLLECTIBLES_SHOP_PRODUCT_DETAIL(":skuId"),render:vZ(),disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.ICYMI,render:v1,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.MESSAGE_REQUESTS,render:v2,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.FAMILY_CENTER,render:v3,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.ME,exact:!0,render:v0,impressionName:eR.ImpressionNames.FRIENDS,disableTrack:!0}),a===sH.U5.SIDEBAR&&(0,U.jsx)(rd.A,{path:eL.BVt.CHANNEL(eL.gNP,Sc.pv.channelId({optional:!0}),":messageId?"),render:vW,disableTrack:!0}),(0,U.jsx)(rd.A,{path:[eL.BVt.CHANNEL_THREAD_VIEW(Sc.pv.guildId(),Sc.pv.channelId(),":threadId",":messageId?"),eL.BVt.CHANNELS_GAME_SHOP(Sc.pv.guildId(),":gameShopPageIndex",":gameShopSkuId?",":gameShopSlug?"),eL.BVt.CHANNEL(eL.ME,Sc.pv.channelId()),eL.BVt.CHANNEL(Sc.pv.guildId(),Sc.pv.channelId({optional:!0}),":messageId?")],render:vj,impressionName:eR.ImpressionNames.GUILD_CHANNEL,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.GLOBAL_DISCOVERY,render:vY,impressionName:eR.ImpressionNames.GLOBAL_DISCOVERY,disableTrack:!0,exact:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.GLOBAL_DISCOVERY_SERVERS,render:vY,impressionName:eR.ImpressionNames.GLOBAL_DISCOVERY,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.GLOBAL_DISCOVERY_APPS,render:vY,impressionName:eR.ImpressionNames.GLOBAL_DISCOVERY_APPS,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.QUEST_HOME_DEPRECATED,render:vY,impressionName:eR.ImpressionNames.QUEST_HOME,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.QUEST_HOME,render:vQ,impressionName:eR.ImpressionNames.QUEST_HOME,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.GUILD_DISCOVERY,render:vY,impressionName:eR.ImpressionNames.GUILD_DISCOVERY,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.GUILD_MEMBER_VERIFICATION(Sc.pv.guildId()),render:v$,impressionName:eR.ImpressionNames.GUILD_MEMBER_VERIFICATION,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.GUILD_MEMBER_VERIFICATION_FOR_HUB(Sc.pv.guildId(),":inviteCode?"),render:vz}),(0,U.jsx)(rd.A,{path:eL.BVt.GUILD_FEATURE(":feature",Sc.pv.guildId()),exact:!0,render:v6,disableTrack:!0}),(0,U.jsx)(rd.A,{path:eL.BVt.FEATURE(":feature"),exact:!0,render:v6,disableTrack:!0})]}),_&&(0,U.jsx)(ax,{})]})})]})]})})})}var v8=n(159730);n(938796);var v9=n(665260),Ce=n(56562),Ct=n(837152),Cn=n(885437),Ci=n(973854),Cr=n(933024),Cs=n(815706),Ca=n(134047),Co=n(181079),Cl=n(668267),Cu=n(379587),Cc=n(953384),Cd=n(973522),C_=n(587626),Ch=n(136722),Cf=n(808728),Cp=n(698441),CE=n(960755),Cm=n(211753),Cg=n(41984),CA=n(296027),CI=n(515183),CT=n(871633),CS=n(446600),Cy=n(760751),CN=n(232835),Cv=n(543465),CC=n(184809),CR=n(474090),CO=n(705751);async function Cb(e){let{runningGame:t,game:n,detectionMethod:i,overlayStatus:r,overlayMethod:s,sharedGuildIds:a,voiceChannelId:o,voiceChannelType:l,voiceChannelBitrate:u,voiceChannelGuildId:c}=e,[d,_]=await Promise.all([(0,CI.E1)(t.pid),ia.Ay.canCollectExecutableFingerprintsForRunningGames()?tS.Ay.getExecutableFingerprintForProcess(t.pid):Promise.resolve(null)]),{gameName:h,gameId:f,exe:p,distributor:E,rawExePath:m}=(0,Cd.wH)(t),g=r.enabledLegacy||r.enabledOOP,A=Cm.x.legacyEnabled||Cm.x.oopEnabled,I=r.source;ew.default.track(eL.HAw.LAUNCH_GAME,{game:h,game_id:f,verified:null!=n&&(0,Cd.PQ)(m,n?.executables),elevated:t.elevated,is_launcher:t?.isLauncher??!1,game_platform:eL.yTV.DESKTOP,detection_method:i,distributor:E,is_overlay_enabled:A,is_overlay_game_enabled:g,is_overlay_game_source:I,fullscreen_type:null!=d?Ce.aI[d]:Ce.aI.UNKNOWN.toString(),hardware_display_count:await ti.A?.hardware?.getDisplayCount?.()??null,overlay_method:Cg.Ue[s]??(__OVERLAY__?Cg.Ue[Cg.Ue.Hook]:null),activity_status_enabled:tl.tz.getSetting(),activity_status_shared_guilds:a,current_user_status:l1.A.getStatus(),game_detection_enabled:(0,ia.Xr)(t),executable_path:p,voice_channel_id:o,voice_channel_type:l,voice_channel_bitrate:u,voice_channel_guild_id:c,distributor_game_id:t.sku,hidden_by_distributor:t.hidden,game_metadata:(0,CT.MT)(t),executable_fingerprint:_??t.executableFingerprint}),null!=p&&ia.Ay.addExecutableTrackedByAnalytics(p)}async function CD(e){let{runningNonGame:t,nonGameApplication:n,voiceChannelId:i,voiceChannelType:r,voiceChannelBitrate:s,voiceChannelGuildId:a}=e,o=ia.Ay.canCollectExecutableFingerprintsForRunningGames()?await tS.Ay.getExecutableFingerprintForProcess(t.pid):null;ew.default.track(eL.HAw.LAUNCH_NON_GAME_APPLICATION,{name:n.name,application_id:n.id,application_type:CO.S7.NON_GAME_DETECTABLE,elevated:t.elevated,game_platform:eL.yTV.DESKTOP,distributor:t.distributor,detection_method:"verified_non_game_application",current_user_status:l1.A.getStatus(),executable_path:(0,Cd.Ic)(t.exePath),voice_channel_id:i,voice_channel_type:r,voice_channel_bitrate:s,voice_channel_guild_id:a,executable_fingerprint:o??t.executableFingerprint})}class CL extends e8.PureComponent{isMessageRequestsInitialized=!1;debouncedRobloxAnalytics=im().debounce(Cb,5e3);componentDidUpdate(e){let{voiceChannelId:t,voiceChannelGuildId:n,voiceChannelType:i,voiceChannelBitrate:r,videoEnabled:s,isScreenSharing:a,runningGame:o,runningGamePid:l,runningNonGame:u,selectedChannelId:c,selectedGuildId:d,connected:_}=this.props;if(e.voiceChannelId!==t&&null!=e.voiceChannelId){let t=ia.Ay.getCurrentGameForAnalytics(),n=null!=t?t.name:"",i=CS.A.getStageInstanceByChannel(e.voiceChannelId),r=Cp.Ay.getActiveEventByChannel(e.voiceChannelId),s=iL.A.getLastRTCConnectionState();s?.channelId!==e.voiceChannelId&&(s=null),ew.default.track(eL.HAw.LEAVE_VOICE_CHANNEL,{channel_id:e.voiceChannelId,channel_type:e.voiceChannelType,channel_bitrate:e.voiceChannelBitrate,guild_id:e.voiceChannelGuildId,rtc_connection_id:s?.rtcConnectionId,game_name:n,duration:s?.duration,game_platform:this.props.gamePlatform,game_id:this.props.gameId,media_session_id:s?.mediaSessionId,stage_instance_id:i?.id,guild_scheduled_event_id:r?.id,...(0,ad.JK)(e.voiceChannelGuildId,e.voiceChannelId,e.videoEnabled),...s?.voiceStateAnalytics?.getStats(),...t5.A.getSelectedParticipantStats(e.voiceChannelId)})}if(e.voiceChannelId!==t&&null!=t){let e=ia.Ay.getCurrentGameForAnalytics(),a=null!=e?e.name:"",o=CS.A.getStageInstanceByChannel(t),l=Cp.Ay.getActiveEventByChannel(t);(0,ad.zV)(eL.HAw.CHANNEL_OPENED,{...(0,ad.qL)(t)}),(0,Ci.A)({channelId:t});let u=null,c=CC.default.getFocusedPID();null!=c&&CA.default.getOverlayMethod(c)!==Cg.Ue.Disabled&&(CC.default.isInstanceLocked()?u=eL.Xmn.OVERLAY_LOCKED_ACTIVATED:CC.default.isInstanceLocked()||(u=CC.default.isPinned(eL.uss.TEXT)?eL.Xmn.OVERLAY_UNLOCKED_PINNED:eL.Xmn.OVERLAY_UNLOCKED)),ew.default.track(eL.HAw.JOIN_VOICE_CHANNEL,{location:u,channel_id:t,channel_type:i,channel_bitrate:r,guild_id:n,game_name:a,game_platform:this.props.gamePlatform,game_id:this.props.gameId,stage_instance_id:o?.id,guild_scheduled_event_id:l?.id,was_moved:iL.A.getWasMoved(),join_voice_id:iL.A.getJoinVoiceId(),...(0,ad.dL)(n,t),...(0,ad.JK)(n,t,s)})}let h=o?.distributor===e.runningGame?.distributor&&o?.sku===e.runningGame?.sku&&o?.name===e.runningGame?.name,f=null!=e.runningGame&&null!=o&&e.runningGame.isLauncher!==o.isLauncher;if(e.runningGame!==o&&null!=o&&!o.isLauncher&&(!h||f)){let{gameId:e}=(0,Cd.wH)(o),s=void 0!==e?Cy.A.getDetectableGame(e):null,a=ia.Ay.getOverrideForGame(o),u=tx.A.getGuildIds(),c=tl.JG.getSetting(),d=u.filter(e=>!c.includes(e)).slice(0,200),_=null;_=null!=a?"custom_override":null!=s?"verified_game":"launcher";let h=CA.default.getTrackedGameByPid(o.pid),f=(0,ia.hw)(o),p={enabledOOP:h?.oopEnabled??f.enabledOOP,enabledLegacy:h?.legacyEnabled??f.enabledLegacy,overlayMethod:h?.overlayMethod??f.overlayMethod,source:h?.source??f.source,reason:"ChatAutoAnalytics"},E=CA.default.getOverlayMethod(o.pid)??p.overlayMethod;if(setTimeout(()=>{(o.distributor===eL.d3x.ROBLOX?this.debouncedRobloxAnalytics:Cb)({runningGame:o,game:s,detectionMethod:_,overlayStatus:p,overlayMethod:E,sharedGuildIds:d,voiceChannelId:t,voiceChannelType:i,voiceChannelBitrate:r,voiceChannelGuildId:n})},1e4),null!=o.name&&null!=l&&Cy.A.shouldReport(o)){let e=o.name;lW.Ay.identifyGame(l,e).then(e=>lW.Ay.reportUnverifiedGame(e)).catch(e=>new tb.A("AutoAnalytics").error("Cannot identify game",e))}}if(e.runningNonGame!==u&&u?.id!=null&&e.runningNonGame?.id!==u.id){let e=Cc.A.getById(u.id);null!=e&&CD({runningNonGame:u,nonGameApplication:e,voiceChannelId:t,voiceChannelType:i,voiceChannelBitrate:r,voiceChannelGuildId:n})}if((e.videoEnabled!==s||e.isScreenSharing!==a)&&null!=t){let e="none",n=[a?"screen":null,s?"camera":null].filter(ix.Vq),i=null;a?(e="screen",i=(0,Cs.p)()):s&&(e="camera"),ew.default.track(eL.HAw.VIDEO_INPUT_TOGGLED,{video_input_type:e,video_toggle_source:__OVERLAY__?"overlay":"app",enabled_inputs:n,preview_enabled:tl.bm.getSetting(),...i,...this.getGameMetadata(),...(0,ad.QS)(t)})}if(_&&null!=c&&(!e.connected||c!==e.selectedChannelId||d!==e.selectedGuildId)){let t=e.selectedChannelId,n=ib.A.getChannel(t),i=tx.A.getGuild(n?.getGuildId());if(null!=t&&null!=n&&null!=i&&i.publicUpdatesChannelId===t){let e=CN.A.getMessages(t),r=e.toArray().reverse().find(e=>(0,v9.Lt)(e.flags,eL.pr7.IS_CROSSPOST)&&e.messageReference?.guild_id==="667560445975986187");ew.default.track(eL.HAw.ACK_COMMUNITY_MESSAGES,{last_message_id:r?.id,last_message_reference_message_id:r?.messageReference?.message_id,messages_loaded:e.hasFetched,...(0,ad.dI)(n),...(0,ad.H$)(i.id)})}e.isTextInVoice&&!this.props.isTextInVoice&&Ca.M.getConfig({location:"ChatAutoAnalytics"}).collectAnalytics&&ew.default.track(eL.HAw.TEXT_IN_VOICE_CLOSED,{reason:"switched away",channel_id:t,guild_id:n?.getGuildId()})}}getGameMetadata(){return{game_platform:this.props.gamePlatform,game_name:this.props.gameName,game_exe_name:this.props.gameExeName,game_id:this.props.gameId}}render(){return null}}function Cw(){let e,[t,n]=(0,e6.yK)([nX.A],()=>[nX.A.getVoiceChannelId(),nX.A.getChannelId()],[]),i=(0,e6.bG)([ib.A],()=>ib.A.getChannel(n),[n]),r=(0,e6.bG)([t5.A],()=>i?.id!=null&&t5.A.getChatOpen(i.id),[i]),s=i?.nsfw,a=(0,e6.bG)([ib.A],()=>ib.A.getChannel(t),[t]),o=(0,e6.bG)([nZ.A],()=>nZ.A.getGuildId(),[]),l=(0,e6.bG)([tx.A],()=>tx.A.getGuild(o),[o]),u=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser(),[]),c=(0,e6.bG)([Sf.Ay],()=>null!=u&&null!=o&&(Sf.Ay.getMember(o,u.id)?.isPending??!1),[u,o]),d=(0,e6.bG)([uy.Ay],()=>uy.Ay.getState().section,[]),_=(0,e6.bG)([T2.A],()=>T2.A.getHomeLink(),[]),h=(0,e6.bG)([C_.A],()=>C_.A.isConnected(),[]),[f,p]=(0,e6.yK)([tI.Ay],()=>[tI.Ay.isVideoEnabled(),tI.Ay.isScreenSharing()],[]),E=(0,e6.bG)([l1.A],()=>l1.A.getPrimaryActivity(),[]),{currentGame:m,currentNonGame:g}=(0,e6.cf)([ia.Ay],()=>({currentGame:ia.Ay.getCurrentGameForAnalytics(),currentNonGame:ia.Ay.getCurrentNonGameForAnalytics()}),[]),A=0===(e=(0,e6.bG)([Cf.Ay],()=>Cf.Ay.getChannels(o)[Cf.I6]??[],[o])).length?0:e.filter(e=>{let{channel:t}=e;return l0.A.can(Ch.kg(eL.xBc.SEND_MESSAGES,eL.xBc.VIEW_CHANNEL),t)}).length,I=(0,e6.bG)([Ie.A],()=>Ie.A.getMessageRequestsCount(),[]),T={selectedChannelId:n,isNSFWChannel:s,selectedGuildId:o,friendsTabSection:d,homeLink:_,connected:h,videoEnabled:f,isScreenSharing:p,voiceChannelId:a?.id,voiceChannelGuildId:a?.getGuildId(),voiceChannelType:a?.type,voiceChannelBitrate:a?.bitrate,runningGame:m,runningGamePid:null!=m?m.pid:null,runningNonGame:g,gamePlatform:(0,ur.A)(E),gameName:null!=E?E.name:null,gameId:null!=E?E.application_id:null,gameExeName:null!=m?m.exeName:null,hasPreviewEnabled:l?.features.has(eL.GuildFeatures.PREVIEW_ENABLED),isMemberPending:c,postableChannelCount:A,isTextInVoice:r,numMessageRequests:I};return!function(e){let t=e8.useRef(e);e8.useEffect(()=>{t.current=e},[e]);let{connected:n,friendsTabSection:i,homeLink:r,isMemberPending:s,selectedChannelId:a,selectedGuildId:o}=e;e8.useEffect(()=>{n&&null!=a&&((0,ad.zV)(eL.HAw.CHANNEL_OPENED,{...(0,Cn.p)(a),...(0,ad.qL)(a),selected_guild_id:o}),(0,Ci.A)({channelId:a}),t.current.isTextInVoice&&(0,ad.zV)(eL.HAw.TEXT_IN_VOICE_OPENED,{channel_is_nsfw:t.current.isNSFWChannel}))},[n,a,o]),e8.useEffect(()=>{n&&null==o&&r===eL.BVt.FRIENDS&&function(e){let{tab_opened:t,source:n}=e,i=(0,Cr.A)();ew.default.track(eL.HAw.FRIENDS_LIST_VIEWED,{tab_opened:t,source:n,...i}),(0,Ct.k)(eL.HAw.FRIENDS_LIST_VIEWED_CLICKSTREAM,{tab_opened:t??"tabless",num_friends:i.num_friends??0,now_playing_visible:i.now_playing_visible??!1,now_playing_num_cards:i.now_playing_num_cards??0})}({tab_opened:i})},[n,i,r,o]),e8.useEffect(()=>{if(n&&null!=o){let e=s?{is_pending:s,preview_enabled:t.current.hasPreviewEnabled}:{},n=tx.A.getGuild(nZ.A.getGuildId()),i=function(e){let{guildChannels:t}=CE.A.getGuildWithoutChangingGuildActionRows(e),n=new Set,i=[];return t.forEachShownChannel(e=>{!n.has(e.id)&&sK.Ay.hasUnread(e.id)&&!eL.kvI.GUILD_VOCAL.has(e.type)&&i.push(e.id),n.add(e.id)},{ignoreRecents:!0}),i}(o),r={...e,postable_channels:t.current.postableChannelCount,premium_progress_bar_enabled:n?.premiumProgressBarEnabled??!1,viewing_all_channels:!Cv.Ay.isOptInEnabled(o),num_recent_channels:CE.A.recentsChannelCount(o),num_unread_channels:i.length,unread_channel_ids:i};if((0,ad.zV)(eL.HAw.GUILD_VIEWED,r),(0,Ct.k)(eL.HAw.GUILD_VIEWED_CLICKSTREAM,{guild_id:o}),(0,sP.ai)(o)){let e=Cu.o.getConfig({location:"ChatAutoAnalytics"}).enabled,t=CR.Ay.isPremiumExactly(tT.default.getCurrentUser(),cu.PremiumTypes.TIER_2),n=(0,Cl.Kg)();(0,Cl.U5)(n,Co.A.getFavoritesCount(),e,t)}}},[n,o,s]);let l=e8.useRef(!1);e8.useEffect(()=>{n&&null==o&&r===eL.BVt.MESSAGE_REQUESTS&&!l.current&&(l.current=!0,ew.default.track(eL.HAw.MESSAGE_REQUESTS_INITIALIZED,{num_message_requests:t.current.numMessageRequests}))},[n,o,r])}(T),(0,U.jsx)(CL,{...T})}var CM=n(844222),CP=n(398590),Cx=n(390435),Ck=n(663066),CU=n(783775);let CG=(0,rs.Fe)({createPromise:()=>Promise.resolve().then(n.bind(n,944771)),webpackId:944771,name:"ComponentPlayground"}),CF=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("44078"),n.e("66787"),n.e("51755"),n.e("84935"),n.e("61949"),n.e("61663"),n.e("39713"),n.e("89156"),n.e("44123"),n.e("69337"),n.e("81927"),n.e("45249"),n.e("44136"),n.e("42527"),n.e("97549"),n.e("35598"),n.e("23924"),n.e("42205"),n.e("62052"),n.e("82030"),n.e("45959"),n.e("40258"),n.e("88342"),n.e("6949"),n.e("88599"),n.e("9640"),n.e("63235"),n.e("83952"),n.e("60773"),n.e("8018"),n.e("68763"),n.e("59957"),n.e("26001"),n.e("30997"),n.e("12255"),n.e("28136"),n.e("44057"),n.e("16084"),n.e("66580"),n.e("73669"),n.e("10943"),n.e("7775"),n.e("36624"),n.e("3710"),n.e("22547"),n.e("77602"),n.e("10262"),n.e("46313"),n.e("36002"),n.e("43233"),n.e("56967"),n.e("66913"),n.e("99108"),n.e("24484"),n.e("84951"),n.e("86861"),n.e("91553"),n.e("94209"),n.e("62433"),n.e("78888")]).then(n.bind(n,738266)),webpackId:738266,name:"ChannelSettings"}),CV=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("24003"),n.e("44123"),n.e("66787"),n.e("31329"),n.e("89156"),n.e("22995"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("84935"),n.e("77880"),n.e("12669"),n.e("64235"),n.e("59271"),n.e("75804"),n.e("10577"),n.e("76119"),n.e("50474"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("8596"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("9233"),n.e("72963"),n.e("42724"),n.e("86127"),n.e("86814"),n.e("50117"),n.e("23608"),n.e("44571"),n.e("87439"),n.e("92128"),n.e("99549"),n.e("36877"),n.e("38501"),n.e("98329"),n.e("21957"),n.e("93766"),n.e("52511"),n.e("61058"),n.e("54622"),n.e("54103"),n.e("70683"),n.e("2260"),n.e("28203"),n.e("52803"),n.e("43710"),n.e("76622"),n.e("75284"),n.e("64926"),n.e("99976"),n.e("82561"),n.e("74382"),n.e("25056"),n.e("86823"),n.e("2750"),n.e("63176"),n.e("50958"),n.e("59275")]).then(n.bind(n,708184)),webpackId:708184,name:"CollectiblesShop"}),CB=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("44078"),n.e("66787"),n.e("72899"),n.e("89156"),n.e("39713"),n.e("45249"),n.e("81927"),n.e("98651"),n.e("44136"),n.e("65498"),n.e("44123"),n.e("11520"),n.e("97549"),n.e("51692"),n.e("94682"),n.e("61949"),n.e("99961"),n.e("89209"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("84935"),n.e("63635"),n.e("69337"),n.e("76026"),n.e("87845"),n.e("35636"),n.e("30402"),n.e("49089"),n.e("36769"),n.e("45970"),n.e("28885"),n.e("49937"),n.e("1472"),n.e("70534"),n.e("4974"),n.e("42527"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("49681"),n.e("96382"),n.e("22687"),n.e("62052"),n.e("63202"),n.e("82596"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("83952"),n.e("44780"),n.e("5557"),n.e("95160"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("49145"),n.e("60773"),n.e("92128"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("15109"),n.e("59957"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("20930"),n.e("26001"),n.e("16988"),n.e("30997"),n.e("14591"),n.e("52111"),n.e("57458"),n.e("59797"),n.e("38601"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("28136"),n.e("15920"),n.e("75859"),n.e("44057"),n.e("68530"),n.e("3930"),n.e("3663"),n.e("16084"),n.e("66580"),n.e("78046"),n.e("80093"),n.e("73669"),n.e("10943"),n.e("7775"),n.e("60989"),n.e("82486"),n.e("36624"),n.e("61058"),n.e("50342"),n.e("33097"),n.e("3710"),n.e("45830"),n.e("22547"),n.e("77602"),n.e("10262"),n.e("95602"),n.e("46313"),n.e("5896"),n.e("34409"),n.e("29569"),n.e("36002"),n.e("43233"),n.e("91643"),n.e("63726"),n.e("71329"),n.e("41786"),n.e("83827"),n.e("42749"),n.e("56026"),n.e("16301"),n.e("22191"),n.e("25961"),n.e("30501"),n.e("8364"),n.e("66147"),n.e("89541"),n.e("74337"),n.e("52823"),n.e("56967"),n.e("47011"),n.e("31203"),n.e("66913"),n.e("71719"),n.e("93767"),n.e("13848"),n.e("39214"),n.e("99108"),n.e("88307"),n.e("14878"),n.e("26508"),n.e("61347"),n.e("42935"),n.e("73091"),n.e("69178"),n.e("86692"),n.e("16373"),n.e("81398"),n.e("24484"),n.e("44943"),n.e("32347"),n.e("8458"),n.e("11810"),n.e("91977"),n.e("90152"),n.e("87973"),n.e("57197"),n.e("14863"),n.e("84951"),n.e("60165"),n.e("71167"),n.e("12390"),n.e("61309"),n.e("94529"),n.e("30313"),n.e("26918"),n.e("21300"),n.e("94171"),n.e("76064"),n.e("74572"),n.e("98700")]).then(n.bind(n,422559)),webpackId:422559,name:"GuildSettings"}),CH={[eL.zgK.CHANNEL_SETTINGS]:()=>(0,U.jsx)(CF,{}),[eL.zgK.GUILD_SETTINGS]:()=>(0,U.jsx)(CB,{}),[eL.zgK.COLLECTIBLES_SHOP]:()=>(0,U.jsx)(CV,{}),[eL.zgK.COMPONENT_PLAYGROUND]:()=>(0,U.jsx)(CG,{})},Cj="SHOWN",CY="HIDDEN",CW={friction:10,tension:100};function CK(){return e8.useEffect(()=>(iq.A.enable(),iq.A.enableTemp(Cx.w),()=>iq.A.disableTemp()),[]),null}class C$ extends e8.PureComponent{containerRef=e8.createRef();static getDerivedStateFromProps(e,t){return e.mode!==t.mode?{animating:!0,mode:e.mode}:null}static defaultProps={baseLayer:!1};static contextType=CM.C;constructor(e){super(e);let t=1,n=1;e.mode===CY&&(t=.93,n=0),this.state={animating:!1,scale:new c_.A.Value(t),opacity:new c_.A.Value(n),mode:e.mode}}componentDidUpdate(e){let{mode:t}=this.props,{mode:n}=e;if(t!==n){if(t===Cj&&n===CY)return this.animateIn();if(t===CY&&n===Cj)return this.animateUnder()}}componentWillEnter(e){let{opacity:t,scale:n}=this.state;n.setValue(1.1),t.setValue(0),e(),this.setState({animating:!0},()=>this.animateIn())}componentWillLeave(e){this.setState({animating:!0},()=>this.animateOut(e))}animateIn(e){e6.Ay.Emitter.pause(500);let{opacity:t,scale:n}=this.state;c_.A.parallel([c_.A.spring(t,{toValue:1,...CW}),c_.A.spring(n,{toValue:1,...CW})]).start(()=>this.animateComplete(e))}animateOut(e){e6.Ay.Emitter.pause(500);let{opacity:t,scale:n}=this.state;c_.A.parallel([c_.A.spring(t,{toValue:0,...CW}),c_.A.spring(n,{toValue:1.1,...CW})]).start(()=>{e(),aI._.dispatch(eL.jej.LAYER_POP_COMPLETE)})}animateUnder(){e6.Ay.Emitter.pause(500);let{opacity:e,scale:t}=this.state;c_.A.parallel([c_.A.spring(e,{toValue:0,...CW}),c_.A.spring(t,{toValue:.93,...CW})]).start(()=>this.animateComplete())}animateComplete(e){this.setState({animating:!1},e)}render(){let{animating:e}=this.state,{name:t,mode:n,children:i,baseLayer:r,...s}=this.props,a=n===CY,o=e||a?this.getAnimatedStyle():null,l=!a&&!r,u=(0,U.jsx)(c_.A.div,{ref:e=>this.containerRef.current=null!=e?e.componentRef:void 0,"data-layer":t??"base","aria-hidden":a,"aria-modal":l,"aria-label":l?function(e){switch(e){case eL.zgK.CHANNEL_SETTINGS:return na.intl.string(na.t.XPDhcc);case eL.zgK.COLLECTIBLES_SHOP:return na.intl.string(na.t.pWG4ze);case eL.zgK.COMPONENT_PLAYGROUND:return"Component Playground";default:return""}}(t):void 0,role:l?"dialog":void 0,className:t2()(CU.qd,{[CU.n3]:r,[CU.bW]:e,"stop-animations":n===CY}),style:o,...s,children:i});return r?u:(0,U.jsx)(yl.O,{containerRef:this.containerRef,children:u})}getAnimatedStyle(){let{baseLayer:e}=this.props,{opacity:t,scale:n}=this.state,{reducedMotion:i}=this.context;return{opacity:t,transform:i.enabled||e?void 0:[{scale:n},{translateZ:0}]}}}class Cz extends e8.PureComponent{componentDidMount(){aI._.subscribe(eL.jej.LAYER_POP_ESCAPE_KEY,CP.jH)}componentWillUnmount(){aI._.unsubscribe(eL.jej.LAYER_POP_ESCAPE_KEY,CP.jH)}renderLayers(){let{children:e,layers:t,hasFullScreenLayer:n}=this.props,{length:i}=t,r=[];return r.push((0,U.jsx)(C$,{mode:0!==i||n?CY:Cj,baseLayer:!0,children:e},"layer-base")),t.forEach((e,t)=>r.push(this.renderComponent(e,t,i))),r}renderComponent(e,t,n){let i;return i="string"==typeof e?CH[e]():(0,U.jsx)(e,{}),(0,U.jsxs)(C$,{name:"string"==typeof e?e:void 0,mode:t===n-1?Cj:CY,children:[(0,U.jsx)(CK,{}),i]},`layer-${t}`)}renderArtisanalHack(){return(0,U.jsx)(t6.N,{theme:this.props.sidebarTheme,children:e=>(0,U.jsx)("div",{className:t2()(CU.bg,e)})})}render(){return(0,U.jsxs)(U.Fragment,{children:[this.renderArtisanalHack(),(0,U.jsx)(cG.F,{component:"div",className:t2()(CU.ZF,this.props.className),children:this.renderLayers()})]})}}function Cq(e){let t=(0,ta.NC)(),n=(0,e6.bG)([rU.A],()=>rU.A.getLayers()),i=(0,Ck.xr)(e=>e.fullScreenLayers.length>0&&!e.fullScreenLayers.some(e=>e.options.showAppUnderLayer));return(0,U.jsx)(Cz,{...e,sidebarTheme:t,layers:n,hasFullScreenLayer:i})}var CX=n(107715);let CZ=e8.memo(function(){let e,t,n=(0,t4.A)(),i=e8.useRef(null),r=e8.useCallback(e=>{let{duration:t,intensity:n}=e;if(e7.A.useReducedMotion||!nd.A.isFocused())return;let{current:r}=i;tK()(null!=r,"Shakeable is shaken when not mounted"),r.shake(t,n)},[]);return e8.useEffect(()=>(iq.A.setLayout(iz.Ay),iq.A.enable(),()=>iq.A.disable()),[]),e8.useEffect(()=>(aI._.subscribe(eL.jej.SHAKE_APP,r),()=>{aI._.unsubscribe(eL.jej.SHAKE_APP,r)}),[r]),e=(0,e6.bG)([i2.A],()=>i2.A.hasIncomingCalls()),t=(0,e6.bG)([i0.default,i1.A,iD.A,iQ.A],()=>{let e=i0.default.getTotalMentionCount(),t=(0,iJ.dH)([i1.A,iQ.A]),n=i0.default.hasAnyUnread(),i=iD.A.getDisableUnreadBadge(),r=e+t;return 0===r&&n&&!i&&(r=-1),r}),e8.useEffect(()=>{if(!e)return;let t=tS.Ay.bounceDock("critical"),n=(0,i3.iA)({messages:[na.intl.string(na.t["fk1/bX"])],count:50});return()=>{t?.(),n()}},[e]),e8.useEffect(()=>{i4(t)},[t]),e8.useEffect(()=>()=>i4(0),[]),(0,U.jsxs)(ig,{ref:i,className:CX.y,children:[(0,U.jsx)(Cq,{className:CX.Z,children:(0,U.jsx)(v7,{})}),(0,U.jsx)(rt,{}),(0,U.jsx)(i$,{}),(0,U.jsx)(Cw,{}),(0,U.jsx)(v8.A,{}),!n&&(0,U.jsx)(iA.S,{})]})});var CQ=n(148803),CJ=n(154323),C0=n(536194);let C1="CollectiblesMarketingManager",C2="CollectiblesAnnouncementModal",C3=new tb.A(C1);class C6 extends nK.A{didOpenAnnouncementModal=!1;_initialize(){ez.h.subscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen),ez.h.subscribe("LOGOUT",this.handleLogout)}_terminate(){ez.h.unsubscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen),ez.h.unsubscribe("LOGOUT",this.handleLogout)}handleLogout=()=>{this.didOpenAnnouncementModal=!1};handlePostConnectionOpen=()=>{let e=CJ.A.get("shop_include_unpublished");(0,AF.LX)({release:e?CQ.P.BETA:CQ.P.PROD}),this.maybeOpenAnnouncementModal()};maybeOpenAnnouncementModal=async()=>{if(this.didOpenAnnouncementModal||C0.P.isDisallowPopupsSet()||(0,nv.hasModalOpen)(C2))return;let e=tT.default.getCurrentUser();if(!(null==e||!e.verified||(0,lt.k8)(rM.M.COLLECTIBLES_PROFILE_FRAMES_ANNOUNCEMENT))&&(0,Id.ix)(C1).isAnnouncementEligible){this.didOpenAnnouncementModal=!0;try{await (0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("80178"),n.e("58120")]).then(n.bind(n,320539));return t=>(0,U.jsx)(e,{...t})},{modalKey:C2})}catch(e){this.didOpenAnnouncementModal=!1,C3.error("Failed to open announcement modal",e)}}}}let C4=new C6;var C5=n(347481),C7=n(792205);let C8={ignoredDevices:{}},C9=C8,Re=!1,Rt={},Rn={},Ri={},Rr={id:null,justChanged:!1},Rs={id:null,justChanged:!1},Ra=/\((.+)\)\s*$/;function Ro(e){if((0,eU.getPlatform)()===eU.PlatformTypes.WINDOWS){let t=e.name.match(Ra);if(null!=t)return t[1]}return e.name}function Rl(e,t,n){return null==e||e.displayName!==t?{displayName:t,type:n}:e.type===C7.E.INPUT&&n===C7.E.OUTPUT||e.type===C7.E.OUTPUT&&n===C7.E.INPUT?{displayName:t,type:C7.E.INPUT_AND_OUTPUT}:e}class Ru extends e6.Ay.DeviceSettingsStore{static displayName="ConnectedDeviceStore";static persistKey="ConnectedDeviceStore";static migrations=[e=>null==e.ignoredDevices?{...e,ignoredDevices:{}}:e];initialize(e){this.waitFor(tI.Ay,tu.A),C9=e??C8}getUserAgnosticState(){return C9}get initialized(){return Re}get lastDeviceConnected(){return Ri}get inputDevices(){return Rt}get lastInputSystemDevice(){return Rr}get outputDevices(){return Rn}get lastOutputSystemDevice(){return Rs}}let Rc=new Ru(ez.h,{MEDIA_ENGINE_DEVICES:function(e){let{inputDevices:t,outputDevices:n}=e,i={};Rr.justChanged=!1,t.forEach(e=>{if(i[Ro(e)]=e.id,e.id===il.dx){let t=e.originalId??e.originalName;t!==Rr.id&&(Rr.justChanged=!0),Rr.id=t}});let r={};if(Rs.justChanged=!1,n.forEach(e=>{if(r[Ro(e)]=e.id,e.id===il.dx){let t=e.originalId??e.originalName;t!==Rs.id&&(Rs.justChanged=!0),Rs.id=t}}),!Re){Rt=i,Rn=r,Re=!0;return}let s=Object.keys(Rt),a=Object.keys(i),o=Object.keys(Rn),l=Object.keys(r),u=im().difference(s,a),c=im().difference(o,l);return u.length>0||c.length>0?Ri={}:(im().difference(a,s).forEach(e=>{Ri[e]=Rl(Ri[e],e,C7.E.INPUT)}),im().difference(l,o).forEach(e=>{Ri[e]=Rl(Ri[e],e,C7.E.OUTPUT)})),!(im().isEqual(s,a)&&im().isEqual(o,l))&&(Rt=i,Rn=r,!0)},CONNECTED_DEVICE_SWITCH:function(e){let{displayName:t,connectedDevicePreference:n,location:i}=e;if(n===C7.f.INPUT||n===C7.f.INPUT_AND_OUTPUT){let e=Rt[t];null!=e&&ez.h.wait(()=>is.A.setInputDevice(e,{location:i}))}if(n===C7.f.OUTPUT||n===C7.f.INPUT_AND_OUTPUT){let e=Rn[t];ez.h.wait(()=>is.A.setOutputDevice(e,{location:i}))}delete Ri[t]},CONNECTED_DEVICE_DONT_SWITCH:function(e){let{displayName:t}=e;delete Ri[t]},CONNECTED_DEVICE_IGNORE:function(e){let{displayName:t}=e;C9.ignoredDevices[t]=!0,delete Ri[t]},CONNECTED_DEVICE_NEVER_SHOW_MODAL:function(){Ri={},C9.neverShowModal=!0}}),Rd=new Set(["DisplayPort"]),R_="connected-device-modal";function Rh(){let e;if((0,nv.hasModalOpen)(R_))return;let t=tI.Ay.getInputDeviceId(),i=tI.Ay.getOutputDeviceId();if(Rc.getState().neverShowModal||im().isEmpty(Rc.lastDeviceConnected))return;let r=Ro(tI.Ay.getInputDevices()[t]),s=Ro(tI.Ay.getOutputDevices()[i]);if(im().some(Rc.lastDeviceConnected,e=>Rd.has(e.displayName)||e.displayName===r||e.displayName===s))return;let a=im().some(Rc.lastDeviceConnected,e=>C5.A.isCertified(Rc.inputDevices[e.displayName])||C5.A.isCertified(Rc.outputDevices[e.displayName]));if((t===il.dx&&Rc.lastInputSystemDevice.justChanged||i===il.dx&&Rc.lastOutputSystemDevice.justChanged)&&!a)return;let o=im().first(Object.keys(Rc.lastDeviceConnected)),l=null!=o&&""!==o?Rc.lastDeviceConnected[o]:null;null==l||Rc.getState().ignoredDevices[l.displayName]||(Rc.initialized&&null!=o&&(C5.A.isCertified(Rc.inputDevices[o])?e=C5.A.getCertifiedDevice(Rc.inputDevices[o]):C5.A.isCertified(Rc.outputDevices[o])&&(e=C5.A.getCertifiedDevice(Rc.outputDevices[o]))),(0,nv.openModalLazy)(async()=>{let{default:t}=await n.e("65573").then(n.bind(n,442468));return n=>{let{transitionState:i,onClose:r}=n;return(0,U.jsx)(t,{device:l,certifiedDeviceMetadata:e,transitionState:i,onClose:r})}},{modalKey:R_}))}let Rf={init(){Rc.addChangeListener(Rh)}},Rp="CONNECTIONS_GRID_MODAL_KEY";class RE extends nK.A{_initialize(){ez.h.subscribe("CONNECTIONS_GRID_MODAL_SHOW",this.handleShow),ez.h.subscribe("CONNECTIONS_GRID_MODAL_HIDE",this.handleHide)}_terminate(){ez.h.unsubscribe("CONNECTIONS_GRID_MODAL_SHOW",this.handleShow),ez.h.unsubscribe("CONNECTIONS_GRID_MODAL_HIDE",this.handleHide)}handleShow(e){let{onComplete:t,excludedPlatformTypes:i,includedPlatformTypes:r,integrations:s,onCompleteApplication:a,includeApplicationConnections:o,gameApplicationIds:l,onCompleteIdentityApplication:u,stackingBehavior:c}=e;(0,nv.hasModalOpen)(Rp)||(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("97549"),n.e("26343"),n.e("69178"),n.e("89588"),n.e("95198")]).then(n.bind(n,58829));return n=>(0,U.jsx)(e,{onComplete:t,excludedPlatformTypes:i,includedPlatformTypes:r,integrations:s,onCompleteApplication:a,includeApplicationConnections:o,gameApplicationIds:l,onCompleteIdentityApplication:u,...n})},{stackingBehavior:c})}handleHide(){(0,nv.closeModal)(Rp)}}let Rm=new RE;var Rg=n(480900),RA=n(293260);class RI extends nK.A{_initialize(){ez.h.subscribe("GUILD_ROLE_CONNECTIONS_MODAL_SHOW",this.handleShow)}_terminate(){ez.h.unsubscribe("GUILD_ROLE_CONNECTIONS_MODAL_SHOW",this.handleShow)}handleShow(e){let{role:t,guildId:n}=e;(0,nv.hasModalOpen)("GUILD_ROLE_CONNECTIONS_MODAL_KEY")||(null!=t&&t.tags?.guild_connections===null?(0,Rg.b)(t,n):(0,RA.c0)(n))}}let RT=new RI;var RS=n(475358),Ry=n(785796),RN=n(552122),Rv=n(312671),RC=n(773669),RR=n(437959),RO=n(47891),Rb=n(417376);class RD extends e8.PureComponent{videoRef=null;_noProblemsTimeout=null;_problemsTimeout=null;_connectedSound=this.createSound();_loadingText=(function(){let e=[na.intl.string(na.t.Ex79K6),na.intl.string(na.t["+v5zsT"]),na.intl.string(na.t["RLx6+Y"]),na.intl.string(na.t.Q1PZkN),na.intl.string(na.t.x7sfVg),na.intl.format(na.t.PHuQsQ,{tabHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"tab",className:Rb.P},t)}),na.intl.string(na.t["il/GZt"]),na.intl.string(na.t["5qAKlq"]),na.intl.format(na.t.FVVp79,{F6Hook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"f6",className:Rb.P},t),tabHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"tab",className:Rb.P},t)}),na.intl.string(na.t["7Y1hFH"]),na.intl.string(na.t.UcCW71),na.intl.string(na.t.E5Ghfc),na.intl.string(na.t.bANqo8),na.intl.string(na.t.yOEVDr),na.intl.string(na.t["u0Ra/G"]),na.intl.string(na.t.un4cQ7),na.intl.string(na.t["2cyYx1"]),na.intl.string(na.t.KCmze1),na.intl.string(na.t.I98MEE),na.intl.format(na.t.c0YCIx,{}),na.intl.string(na.t.z8AvIN),na.intl.string(na.t.IjX3P1),na.intl.string(na.t.lg3Ckc),na.intl.string(na.t["4GaLhY"]),na.intl.string(na.t.qHKbUw),na.intl.string(na.t.mJxKDw),na.intl.string(na.t.iiQBXF),na.intl.string(na.t.YPD46Q),na.intl.string(na.t.O8Bpga),na.intl.string(na.t.xzFwfi),na.intl.string(na.t["4G3fsX"]),na.intl.string(na.t["/jPyKC"]),na.intl.string(na.t["8x7D5c"]),na.intl.string(na.t.G6Q8H3),na.intl.string(na.t["9Cx+xL"]),na.intl.string(na.t.WsZ8dW),na.intl.string(na.t.btoe7M),na.intl.string(na.t.E6Y0j7),na.intl.string(na.t["7KZ81/"]),na.intl.string(na.t.hm7OKu),na.intl.string(na.t["H535i+"]),na.intl.string(na.t["08WJUR"]),na.intl.string(na.t.hhtfyi),na.intl.string(na.t.on980U),na.intl.string(na.t.AL6c01),na.intl.string(na.t.iLTeF6),na.intl.string(na.t.b3vSu7),na.intl.string(na.t.f8ao58),na.intl.format(na.t["1v1h8o"],{asterisks:"**"}),na.intl.format(na.t.MUlAVW,{quickSwitcherHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"mod+k",className:Rb.P},t)}),na.intl.format(na.t.aes5VI,{markUnreadHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"alt+click",className:Rb.P},t)}),na.intl.format(na.t.md9Svv,{markServerUnreadHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"shift+esc",className:Rb.P},t)}),na.intl.format(na.t["X0Tu+u"],{navigateUnreadHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"shift+alt+up",className:Rb.P},t),downHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"down",className:Rb.P},t)}),na.intl.format(na.t.AkoeIY,{keyboardShortcutsHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"mod+/",className:Rb.P},t)}),na.intl.format(na.t.P9sfAH,{messageNewlineHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"shift+return",className:Rb.P},t)}),na.intl.format(na.t["3Ox33f"],{shiftHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"shift",className:Rb.P},t)}),na.intl.format(na.t.enCV6b,{upHook:(e,t)=>(0,U.jsx)(RS.e,{shortcut:"up",className:Rb.P},t)})];return RC.default.locale.startsWith("en-")&&e.push(na.intl.string(na.t.dQ9Wqk)),e[im().random(e.length-1)]})();_eventLoadingText=(function(){let e=RN.A.getLoadingTips();if(null!=e&&e.length>0)return e[im().random(e.length-1)]})();constructor(e){super(e);const{connected:t}=e;this.state={ready:t,hide:t,problems:!1,shouldRender:!t},this._connectedSound.volume=1}createSound(){let{soundpack:e}=this.props,t=(0,iv.aN)("discodo",e);return t.volume=1,t}componentDidMount(){this.setProblemsTimeout(),this.props.connected&&(0,uS.D)()}componentDidUpdate(e,t){let{ready:n,hide:i,problems:r}=this.state,{connected:s,soundpack:a}=this.props,o=s&&n&&!i&&!r;e.soundpack!==a&&(this._connectedSound=this.createSound()),e.connected!==s||o?(s&&(0,uS.D)(),s&&null!=this.videoRef&&tA.w.get(eL.wqg)&&this._connectedSound.play(),this.setState({problems:!1,hide:s})):t.hide!==i?(i?this.clearProblemsTimeout():this.setProblemsTimeout(),this.setState({shouldRender:!0}),setTimeout(()=>this.setState({shouldRender:!i}),200)):t.problems!==r&&r&&Ry.A.checkIncidents()}componentWillUnmount(){this.clearProblemsTimeout()}handleReady=()=>{this.setState({ready:!0}),(0,eU.isDesktop)()&&(tS.Ay.send("UPDATED_QUOTES",["Hold Tight \u2014 Loading Discord"]),tS.Ay.send("UPDATE_OPEN_ON_STARTUP"))};setVideoRef=e=>{this.videoRef=e};setProblemsTimeout=()=>{null==this._problemsTimeout&&(this._problemsTimeout=setTimeout(()=>this.setState({problems:!0}),1e4))};clearProblemsTimeout=()=>{clearTimeout(this._problemsTimeout),this._problemsTimeout=null};render(){let{connected:e,incident:t}=this.props,{hide:n}=this.state;if(!this.state.shouldRender)return null;{let i=this._loadingText,r=null;return null!=this._eventLoadingText&&(i=this._eventLoadingText),null!=t&&(i=t.name,r=t.incident_updates[0].body),(0,U.jsxs)("div",{className:Rb.kL,"data-fade":n,style:{"--connecting-container-fade-duration":"200ms","--connecting-content-fade-duration":"150ms"},children:[(0,U.jsxs)("div",{className:Rb.Qs,children:[(0,U.jsx)(RO.A,{autoPlay:!0,loop:!e,setRef:this.setVideoRef,onReady:this.handleReady,className:t2()(Rb.bE,this.state.ready?Rb.Gc:"")}),(0,U.jsxs)("div",{className:Rb.Qq,children:[null!=t?null:(0,U.jsx)("div",{className:Rb.mu,children:na.intl.string(na.t.v0R1Lh)}),(0,U.jsx)("div",{className:null!=t?Rb.DD:Rb.uN,children:i}),(0,U.jsx)("div",{className:Rb.rf,children:r})]})]}),(0,U.jsxs)("div",{className:t2()(Rb.Bk,{[Rb.ly]:this.state.problems}),children:[(0,U.jsx)("div",{className:Rb.u1,children:na.intl.string(na.t.AG2zPM)}),(0,U.jsxs)("div",{children:[(0,U.jsxs)(tn.Anchor,{className:Rb.AR,href:eL.qF7.TWITTER_SUPPORT,target:"_blank",children:[(0,U.jsx)(AR.p,{size:"xs",color:"currentColor",className:Rb.Kk}),na.intl.string(na.t.KlyTbj)]}),(0,U.jsxs)(tn.Anchor,{className:Rb.gy,href:eL.qF7.STATUS,target:"_blank",children:[(0,U.jsx)(SA,{className:Rb.Kk}),na.intl.string(na.t.AgXXyy)]})]})]})]})}}}let RL=e6.Ay.connectStores([C_.A,RR.A,Rv.A,e7.A],()=>({isTryingToConnect:C_.A.isTryingToConnect(),connected:C_.A.isConnected(),incident:RR.A.getIncident(),soundpack:Rv.A.getSoundpack(),reducedMotion:e7.A.useReducedMotion}))(e=>{let{isTryingToConnect:t,connected:n,incident:i,soundpack:r,reducedMotion:s}=e;return t?(0,U.jsx)(RD,{reducedMotion:s,soundpack:r,connected:n,incident:i}):null});var Rw=n(272613);class RM extends nK.A{_initialize(){ez.h.subscribe("POST_CONNECTION_OPEN",this._maybeStartDevSession),ez.h.subscribe("BILLING_STANDALONE_INITIALIZED",this._maybeStartDevSession),ez.h.subscribe("LOGOUT",this._maybeStopDevSession)}_terminate(){ez.h.unsubscribe("POST_CONNECTION_OPEN",this._maybeStartDevSession),ez.h.unsubscribe("BILLING_STANDALONE_INITIALIZED",this._maybeStartDevSession),ez.h.unsubscribe("LOGOUT",this._maybeStopDevSession)}_maybeStartDevSession(){if(null==window.DiscordDevSession||!0!==window.__METICULOUS_ENABLED)return;let e="production"===window.GLOBAL_ENV.PROJECT_ENV,t=tT.default.getCurrentUser();t?.email==null||e&&t.isStaff()||(t.username.startsWith("mtcls")||!e?window.DiscordDevSession.start():window.DiscordDevSession.stop())}_maybeStopDevSession(){null!=window.DiscordDevSession&&window.DiscordDevSession.started&&window.DiscordDevSession.stop()}}let RP=new RM;var Rx=n(422258);function Rk(e){let{channel:{id:t}}=e;(0,Rx.i_)(t,{trackAnalytics:!1})}class RU extends nK.A{_initialize(){ez.h.subscribe("CHANNEL_DELETE",Rk)}_terminate(){ez.h.unsubscribe("CHANNEL_DELETE",Rk)}}let RG=new RU;var RF=n(367727),RV=n(853742);class RB extends nK.A{_initialize(){ez.h.subscribe("CHANNEL_SELECT",this.handleChannelSelect)}_terminate(){ez.h.unsubscribe("CHANNEL_SELECT",this.handleChannelSelect)}handleChannelSelect(e){let t,i,r,s,a,{guildId:o}=e;if(null==o||(t=tx.A.getGuild(o),i=!!t?.features.has(eL.GuildFeatures.COMMUNITY),r=l0.A.can(eL.xBc.MANAGE_CHANNELS,t),s=(0,lt.k8)(rM.M.FORUM_CHANNEL_UPSELL_MODAL),a=lZ.A.getMemberCount(o)??0,!i||!r||s||!(a>=200)))return;(0,RV.zd)(),(0,RF.Vh)(rM.M.FORUM_CHANNEL_UPSELL_MODAL);let l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rE.i.DISMISS;(0,lt.Dr)(rM.M.FORUM_CHANNEL_UPSELL_MODAL,{dismissAction:e})};(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("43051"),n.e("90052")]).then(n.bind(n,653682));return t=>(0,U.jsx)(e,{...t,onClose:e=>{l(e),t.onClose()},guildId:o,shouldUpsellCreation:!0})},{onCloseCallback:()=>(0,lt.Dr)(rM.M.FORUM_CHANNEL_UPSELL_MODAL,{dismissAction:rE.i.DISMISS}),onCloseRequest:eL.FXj})}}let RH=new RB;var Rj=n(208207);class RY extends nK.A{_initialize(){ez.h.subscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen)}_terminate(){ez.h.unsubscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen)}handlePostConnectionOpen=()=>{let e=iQ.A.getGameRelationships(),t=new Set;e.values().forEach(e=>{e.type===eL.eA$.PENDING_INCOMING&&t.add(e.applicationId)}),o5.Ay.fetchApplications(Array.from(t))};destroy(){ez.h.unsubscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen)}}let RW=new RY,RK={};function R$(e){let{name:t,hash:n,missingData:i}=e;for(let e of(Cy.A.markGameReported(t),i))if("icon"===e){let e=RK[t];null!=e&&lW.Ay.uploadIcon(t,n,e);return}else new tb.A("GameStoreIconManager").log(`Could not find missing data key: ${e}`)}function Rz(e){let{gameName:t,icon:n}=e;RK[t]=n}let Rq={initialize(){ez.h.subscribe("UNVERIFIED_GAME_UPDATE",R$),ez.h.subscribe("GAME_ICON_UPDATE",Rz)}};var RX=n(738533);function RZ(e){let t,n,{gameId:i}=e;t=lz.A.launchableGames[i],(null!=(n=rD.A.getApplication(i))?RX.A.isLaunchable(n):RX.A.isGameLaunchable(i)).then(e=>{e!==t&&ez.h.dispatch({type:"GAME_LAUNCHABLE_UPDATE",gameId:i,isLaunchable:e})})}let RQ={initialize(){ez.h.subscribe("CHECK_LAUNCHABLE_GAME",RZ)}},RJ={init(){lQ.A.whenInitialized(()=>{null!=s0.A.testModeApplicationId&&(0,nL.q1)(s0.A.testModeApplicationId,s0.A.testModeOriginURL)})}};var R0=n(92077);function R1(){if(!(0,l6.S)())return;let e=eW.default.getToken(),t=eW.default.getId();if(null==e)throw Error("missing user token");R0.Ts(e,t)}function R2(){R0.zr()}let R3={init(){ez.h.subscribe("CONNECTION_OPEN",R1),ez.h.subscribe("LOGOUT",R2)}};var R6=n(507263),R4=n(376728),R5=n(970163);async function R7(e){let{code:t}=e,i=(await (0,R5.A)(t)).invite;if(null==i||null==i.guild)return;let r=i.guild.id,s=Sf.Ay.getMember(r,eW.default.getId()),a=!1;if(null!=s&&null!=i.roles&&i.roles.length>0){let e=new Set(s.roles??[]);a=i.roles.some(t=>!e.has(t.id))}if(null==s||a)return void ez.h.dispatch({type:"INVITE_MODAL_OPEN",invite:i,code:t,context:eL.BRT.APP});let{default:o}=await Promise.resolve().then(n.bind(n,608401));await o({guildId:r}),R4.Ay.transitionToInvite(i,void 0,!0)}var R8=n(468689),R9=n(268313),Oe=n(998740);function Ot(e){return`haven:${e}`}function On(){let e=i;if(null==e)return!1;let t=Ot(e);if(!aN.A.isOpen(t))return!1;let n=aN.A.pipHavenWindow;if(null==n||n.id!==t)return i=null,!1;ez.h.wait(()=>aA.VN(t)),i=null}function Oi(){return rU.A.hasLayers()}function Or(){let e,t,n=iL.A.getChannelId(),r=null!=n?ib.A.getChannel(n):null;if(e=iL.A.getChannelId(),t=nX.A.getChannelId(),null==e||!Oe.A.isUserConnected(e)||e===t||sj.A.getWindowOpen(eL.MLl.CHANNEL_CALL_POPOUT)||0)return On();if(null!=r&&Oe.A.isUserConnected(r.id)){if(i!==r.id){let e=Ot(r.id);if(aN.A.isOpen(e))return!1;if(null!=i){let e=i;ez.h.wait(()=>aA.VN(e))}return ez.h.wait(()=>{aA.ho(e,eL.o1q.HAVEN,{channel:r}),Oi()&&aA.jD(e)}),i=r.id,!0}return!1}return On()}function Os(){if(Oi()){let e=(void 0)??i;if(null==e)return;let t=Ot(e);aN.A.isOpen(t)&&ez.h.wait(()=>aA.jD(t));return}let e=(void 0)??i;if(null==e)return;let t=Ot(e);aN.A.isOpen(t)&&ez.h.wait(()=>aA.WU(t))}class Oa extends nK.A{_initialize(){nX.A.addChangeListener(Or),nZ.A.addChangeListener(Or),iL.A.addChangeListener(Or),iM.A.addChangeListener(Or),rU.A.addChangeListener(Os),Oe.A.addChangeListener(Or),sj.A.addChangeListener(Or)}_terminate(){nX.A.removeChangeListener(Or),nZ.A.removeChangeListener(Or),iL.A.removeChangeListener(Or),iM.A.removeChangeListener(Or),rU.A.removeChangeListener(Os),Oe.A.removeChangeListener(Or),sj.A.removeChangeListener(Or)}}let Oo=new Oa,Ol={init(){ez.h.subscribe("VOICE_CHANNEL_SELECT",e=>{let{channelId:t}=e;null==t&&yM.sF(NB._.VOICE_PANEL_INTRODUCTION)})}};var Ou=n(4106);let Oc=null;class Od extends nK.A{_initialize(){ez.h.subscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen)}_terminate(){ez.h.unsubscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen)}handlePostConnectionOpen(){(0,A7.HF)("ICYMIManager")&&(!function e(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Ou.A.fetchDehydrated({isInitialLoad:t}),null!=Oc&&clearTimeout(Oc),Oc=setTimeout(()=>e(),15*n5.A.Millis.MINUTE)}(!0),Ou.A.getGuildChannelScores(),Ou.A.getRecommendedGuilds())}}let O_=new Od;var Oh=n(684013),Of=n(55619),Op=n(974293),OE=n(572164),Om=n(299855),Og=n.n(Om),OA=n(997630),OI=n(325278),OT=n(140175),OS=n(528772),Oy=n(944775),ON=n(351906),Ov=n(532624),OC=n(773371),OR=n(427603);let OO=new Map;function Ob(e,t,n,i){if(!iL.A.isConnected())return;let r=i.context??il.x.DEFAULT,s=OO.get(r);null==s&&(s={held:new Set,priorityHeld:new Set},OO.set(r,s)),n||(e?s.held.add(i.id):s.held.delete(i.id)),t&&(e?s.priorityHeld.add(i.id):s.priorityHeld.delete(i.id));let a=s.held.size>0,o=s.priorityHeld.size>0;(0,OT.N)(a,o)}let OD={[eL.hCu.TOGGLE_PRIORITY_SPEAKER]:{onTrigger(){},keyEvents:{}},[eL.hCu.UNASSIGNED]:{onTrigger(){},keyEvents:{}},[eL.hCu.PUSH_TO_TALK]:{onTrigger(e,t){tI.Ay.getMode(t.context)===eL.TBI.PUSH_TO_TALK&&(OD[eL.hCu.PUSH_TO_TALK].isPressed=e,Ob(e,!1,!1,t))},keyEvents:{keyup:!0,keydown:!0},isPressed:!1},[eL.hCu.PUSH_TO_TALK_PRIORITY]:{onTrigger(e,t){tI.Ay.getMode()===eL.TBI.PUSH_TO_TALK&&(OD[eL.hCu.PUSH_TO_TALK_PRIORITY].isPressed=e,Ob(e,!0,!1,t))},keyEvents:{keyup:!0,keydown:!0},isPressed:!1},[eL.hCu.VAD_PRIORITY]:{onTrigger(e,t){tI.Ay.getMode()===eL.TBI.VOICE_ACTIVITY&&(OD[eL.hCu.VAD_PRIORITY].isPressed=e,Ob(e,!0,!0,t))},keyEvents:{keyup:!0,keydown:!0},isPressed:!1},[eL.hCu.PUSH_TO_MUTE]:{onTrigger(e){tI.Ay.getMode()===eL.TBI.VOICE_ACTIVITY&&(OD[eL.hCu.PUSH_TO_MUTE].isPressed=e,is.A.setTemporarySelfMute(e))},keyEvents:{keyup:!0,keydown:!0},isPressed:!1},[eL.hCu.TOGGLE_MUTE]:{onTrigger:()=>is.A.toggleSelfMute({usedKeybind:!0,location:"Custom Keybind"}),keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.TOGGLE_DEAFEN]:{onTrigger:()=>is.A.toggleSelfDeaf({usedKeybind:!0,location:"Custom Keybind"}),keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.TOGGLE_CAMERA]:{onTrigger:()=>(function(){let e=tI.Ay.isVideoEnabled(),t=Object.values(tI.Ay.getVideoDevices())[0],n=t?.disabled??!0,i=tI.Ay.supportsInApp(il.O5.VIDEO)&&tI.Ay.supportsInApp(il.O5.DESKTOP_CAPTURE),r=ib.A.getChannel(iL.A.getChannelId()),s=tT.default.getCurrentUser()?.id;if(null==r||null==s)return;let{reachedLimit:a}=(0,y0.M)(r);if(!a){if(r.isGuildStageVoice()){let e=y$.A.getMutableParticipants(r.id,yz.ip.SPEAKER),t=e?.find(e=>{let{user:t}=e;return t.id===s});if(!(0,yq.Bw)(r.guild_id)||!i||null==t||t.voiceState.suppress)return}return e?is.A.setVideoEnabled(!1):!1===n?(0,y5.A)(()=>{is.A.setVideoEnabled(!0)},eL.BRT.APP,!0):(0,y3.A)(),!1}})(),keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.TOGGLE_VOICE_MODE]:{onTrigger(){let e=tI.Ay.getMode()===eL.TBI.PUSH_TO_TALK?eL.TBI.VOICE_ACTIVITY:eL.TBI.PUSH_TO_TALK;is.A.setMode(e)},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.TOGGLE_OVERLAY]:{onTrigger(){},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.TOGGLE_OVERLAY_INPUT_LOCK]:{onTrigger(e,t){if(!(0,Ov.DV)(t.shortcut))return;let n=(0,OR.A)();null!=n&&Oh.A.setInputLocked(!CC.default.isLocked(n),n)},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET]:{onTrigger(){let e=OC.default.getFocusedPID(),t=null!=e;null!=e&&t&&CC.default.isPinned(eL.uss.TEXT)&&CC.default.isLocked(e)&&OC.default.isReady(e)&&Oh.A.activateRegion(eL.ajI.TEXT_WIDGET)},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.TOGGLE_GO_LIVE_STREAMING]:{onTrigger(){let e=iO.A.getCurrentUserActiveStream();if(null!=e)return(0,ox.vN)((0,iN._z)(e));!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!(0,yL.A)(tI.Ay)||null!=iO.A.getCurrentUserActiveStream())return;let n=nX.A.getVoiceChannelId(),i=ib.A.getChannel(n);if(null==i)return;let r=i.getGuildId();if((0,ll.vz)(i,tx.A,l0.A,!1))if(tI.Ay.getUseSystemScreensharePicker())(0,eU.isMac)()&&Og().satisfies(ti.A?.os.release,OI.WZ)?(0,OA.a)():(0,OA.a)("window");else{let n=(0,Sv.A)(ia.Ay,SC.A);if(null==n||n.isLauncher&&!e)return;(0,ox.XI)(r,i.id,{pid:n.pid,analyticsLocations:t})}}(!0,[ii.A.GO_LIVE_KEYBIND])},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.TOGGLE_STREAMER_MODE]:{onTrigger(){Of.A.setEnabled(!ON.A.enabled)},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.NAVIGATE_BACK]:{onTrigger:()=>(0,r3.OE)("global_keybind"),keyEvents:{keyup:!0,keydown:!1,focused:!0,blurred:!1}},[eL.hCu.NAVIGATE_FORWARD]:{onTrigger:()=>(0,r3.Qb)("global_keybind"),keyEvents:{keyup:!0,keydown:!1,focused:!0,blurred:!1}},[eL.hCu.SOUNDBOARD]:{onTrigger:()=>{let e=(0,OR.A)();if(null!=e)if(OS.A.enabled)(0,Oy.Lk)(e);else{if(!(0,yG.lI)())return;(0,Oy.hK)(!0,e)}},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.SOUNDBOARD_HOLD]:{onTrigger:e=>{let t=(0,OR.A)();if(null!=t){if(e){if(!(0,yG.lI)())return;(0,Oy.hK)(!1,t)}else(0,Oy.Lk)(t);return}},keyEvents:{keyup:!0,keydown:!0}},[eL.hCu.SAVE_CLIP]:{onTrigger:()=>{(0,OE.TD)()&&(ew.default.track(eL.HAw.CLIP_SAVE_KEYBIND_PRESSED,{clip_runtime:(0,Op.GN)()}),(0,rz.l0)())},keyEvents:{keyup:!1,keydown:!0}},[eL.hCu.SAVE_SCREENSHOT]:{onTrigger:()=>{!(0,OE.TD)()||(0,rG.cx)()&&(ew.default.track(eL.HAw.CLIP_SAVE_KEYBIND_PRESSED,{clip_runtime:(0,Op.GN)()}),(0,rz.yT)())},keyEvents:{keyup:!1,keydown:!0}},[eL.hCu.SWITCH_TO_VOICE_CHANNEL]:{onTrigger(e,t){let{params:{channelId:n}}=t;null!=n&&nD.default.selectVoiceChannel(n)},keyEvents:{keyup:!0,keydown:!1,blurred:!0,focused:!0}},[eL.hCu.DISCONNECT_FROM_VOICE_CHANNEL]:{onTrigger(){nD.default.selectVoiceChannel(null)},keyEvents:{keyup:!0,keydown:!1,blurred:!0,focused:!0}}};function OL(){OO.clear(),(0,OT.N)(!1,!1)}class Ow extends nK.A{_initialize(){ez.h.wait(()=>ez.h.dispatch({type:"KEYBINDS_REGISTER_GLOBAL_KEYBIND_ACTIONS",keybinds:OD})),ez.h.subscribe("AUDIO_SET_MODE",OL),ez.h.subscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect)}_terminate(){ez.h.unsubscribe("AUDIO_SET_MODE",OL),ez.h.unsubscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect)}handleVoiceChannelSelect(e){let{currentVoiceChannelId:t,channelId:n}=e;t!==n&&OL()}}let OM=new Ow;var OP=n(913765),Ox=n(942614),Ok=n(315982),OU=n(202384),OG=n(709977),OF=n(14509),OV=n(894778),OB=n(225315),OH=n(684407),Oj=n(919638),OY=n(426620),OW=n(771016),OK=n(994277);n(436317);var O$=n(315290);function Oz(){null!=r&&(0,nv.closeModal)(r)}class Oq extends nK.A{_initialize(){ez.h.subscribe("CONNECTION_OPEN",this.handleConnectionOpen),ez.h.subscribe("LOGOUT",Oz)}_terminate(){ez.h.unsubscribe("CONNECTION_OPEN",this.handleConnectionOpen),ez.h.unsubscribe("LOGOUT",Oz)}handleConnectionOpen(){var e;let t,i=OY.A.getType();if(null==i)return;switch(i){case OW.zY.INVITE_UNCLAIMED:OV.A.flowStart(O$.do.INVITE,O$.ju.NUF_STARTED);break;case OW.zY.ORGANIC_REGISTERED:OV.A.flowStart(O$.do.ORGANIC,O$.ju.NUF_STARTED);break;case OW.zY.MARKETING_UNCLAIMED:OV.A.flowStart(O$.do.ORGANIC_MARKETING,O$.ju.NUF_STARTED)}let s=!1,a=nZ.A.getGuildId();if(i===OW.zY.INVITE_UNCLAIMED){let e=tx.A.getGuild(a);null!=e&&(0,OG.Qd)(e)&&(s=!0,(0,OB.Fy)(e.id))}e=[{key:"Unified NUF Modal",open:async function(e){let{default:t}=await n.e("74082").then(n.bind(n,491380));if(t.getConfig({location:"nuf_manager"}).enabled){r=await (0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("89156"),n.e("80774"),n.e("7850"),n.e("16138"),n.e("74678"),n.e("19580"),n.e("97804"),n.e("56856"),n.e("82721"),n.e("16799"),n.e("99574"),n.e("57794"),n.e("29574")]).then(n.bind(n,655045));return t=>(0,U.jsx)(e,{...t})},{onCloseRequest:eL.tEg,onCloseCallback:e,modalKey:r});return}let i=e=>{switch(e){case OK.i.AGE_GATE:OV.A.flowStep(O$.do.ANY,O$.ju.AGE_GATE);break;case OK.i.CHOOSE_TEMPLATE:OV.A.flowStep(O$.do.ANY,O$.jC.GUILD_TEMPLATES);break;case OK.i.CUSTOMIZE_GUILD:OV.A.flowStep(O$.do.ANY,O$.jC.GUILD_CREATE);break;case OK.i.CHANNEL_PROMPT:OV.A.flowStep(O$.do.ANY,O$.jC.CHANNEL_PROMPT);break;case OK.i.JOIN_GUILD:OV.A.flowStep(O$.do.ANY,O$.jC.JOIN_GUILD);break;case OK.i.CREATION_INTENT:OV.A.flowStep(O$.do.ANY,O$.jC.CREATION_INTENT);break;case OK.i.COMPLETE:OV.A.flowStep(O$.do.ANY,O$.jC.SUCCESS);break;case null:break;default:ix.xb(e)}};r=await (0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("89156"),n.e("80774"),n.e("81927"),n.e("59405"),n.e("28367"),n.e("74678"),n.e("19580"),n.e("97804"),n.e("56856"),n.e("82758"),n.e("99574"),n.e("57641"),n.e("50475")]).then(n.bind(n,111185));return t=>(0,U.jsx)(e,{...t,onSlideChange:i})},{onCloseRequest:eL.tEg,onCloseCallback:e,modalKey:r})},predicate:()=>0===Oj.A.totalGuilds&&!eU.isPlatformEmbedded},{key:"New User Age Gate",open:Ok.v,predicate:()=>nQ.xq()&&!0},{key:"Claim Account Modal",open:e=>Ok.R(eU.isPlatformEmbedded,e),predicate:()=>!s&&null!=tT.default.getCurrentUser()&&!tT.default.getCurrentUser()?.isClaimed()&&!(0,OF._9)()},{key:"Verification Gate with Claim Account",open:e=>(0,OU.Ze)(a,e??void 0),predicate:()=>s&&!tT.default.getCurrentUser()?.isClaimed()&&!0},{key:"Guild Welcome Modal",open:e=>(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("71898"),n.e("10585")]).then(n.bind(n,954784));return t=>(0,U.jsx)(e,{...t,guildId:a})},{onCloseCallback:e}),predicate:()=>null!=a&&null!=OH.A.get(a)&&OH.A.get(a)!==OH.E}],t=()=>{Ox.D(),OV.A.flowStep(O$.do.ANY,O$.ju.NUF_COMPLETE,!0)},[...e].reverse().forEach(e=>{let n=t;t=()=>{e.predicate()?e.open(n):n()}}),t()}}let OX=new Oq;var OZ=n(682492),OQ=n(754692),OJ=n(874486),O0=n(927018),O1=n(3137),O2=n(559908);let O3=new Set;class O6 extends nK.A{_initialize(){ez.h.subscribe("MESSAGE_CREATE",this.handleMessageCreate),ez.h.subscribe("POGGERMODE_SETTINGS_UPDATE",this.handleSettingsUpdate)}_terminate(){ez.h.unsubscribe("MESSAGE_CREATE",this.handleMessageCreate),ez.h.unsubscribe("POGGERMODE_SETTINGS_UPDATE",this.handleSettingsUpdate)}handleSettingsUpdate=e=>{let{settings:t}=e;t.enabled?(0,OQ._)(O0.sn.ENABLE_POGGERMODE):!1===t.enabled&&(0,OQ._)(O0.sn.DISABLE_POGGERMODE),Object.keys(t).some(e=>e.startsWith("confetti"))&&(0,OQ._)(O0.sn.CUSTOMIZE_CONFETTI)};handleMessageCreate=e=>{let{channelId:t,message:{author:n,nonce:i,mentions:r}}=e;if(!O1.A.isEnabled())return!1;let s=eW.default.getId();if(r?.find(e=>e.id===s)!=null?(0,OQ._)(O0.sn.PING_ME):(r?.length??0)>0&&n?.id===s&&(0,OQ._)(O0.sn.PING_SOMEONE),!(0,O2.gN)(n?.id,s,i,O3))return!1;let{combo:a}=O2.Ay.getMostRecentMessageCombo(t)??{};if(null==a)return!1;Object.values(O0.sn).forEach(e=>{if(null!=OJ.A.getUnlocked(e))return;let t=(0,O0.vM)(e),n=t?.checkUnlock;null==n||!1!==n(a)&&(0,OQ._)(e)})}}let O4=new O6;var O5=n(64585),O7=n(139033);class O8 extends nK.A{_initialize(){ez.h.subscribe("POGGERMODE_TEMPORARILY_DISABLED",this.handlePoggermodeTemporarilyDisabled)}_terminate(){ez.h.unsubscribe("POGGERMODE_TEMPORARILY_DISABLED",this.handlePoggermodeTemporarilyDisabled)}handlePoggermodeTemporarilyDisabled(){(0,O7.A)({title:na.intl.string(na.t.wDQgnX),subtitle:na.intl.string(na.t.OJklbS)})}}let O9=new O8;var be=n(958005),bt=n(574172);n(41604);let bn=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("66787"),n.e("28885"),n.e("44136"),n.e("99961"),n.e("81927"),n.e("4981"),n.e("97177"),n.e("39713"),n.e("14764"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("80287"),n.e("89217"),n.e("22822"),n.e("84935"),n.e("88826"),n.e("28510"),n.e("89209"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("49937"),n.e("30402"),n.e("19032"),n.e("3445"),n.e("43413"),n.e("11491"),n.e("32703"),n.e("44123"),n.e("44078"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("13111"),n.e("68201"),n.e("85755"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("68403"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("98965"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("35321"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("50033"),n.e("3998"),n.e("792"),n.e("92822"),n.e("5557"),n.e("95160"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("60773"),n.e("61156"),n.e("92128"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("9291"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("20930"),n.e("74610"),n.e("38056"),n.e("26001"),n.e("16988"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("57458"),n.e("59797"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("75133"),n.e("77487"),n.e("75859"),n.e("96804"),n.e("44057"),n.e("28850"),n.e("95998"),n.e("68530"),n.e("42234"),n.e("11617"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("77467"),n.e("78046"),n.e("98972"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("10943"),n.e("29260"),n.e("41701"),n.e("17823"),n.e("39894"),n.e("21455"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("36624"),n.e("71467"),n.e("49013"),n.e("30167"),n.e("51892"),n.e("41838"),n.e("59373"),n.e("46045"),n.e("755"),n.e("33448"),n.e("42324"),n.e("77602"),n.e("15275"),n.e("16054"),n.e("69537"),n.e("96480"),n.e("73611"),n.e("21883"),n.e("50068"),n.e("74821"),n.e("43710"),n.e("81398"),n.e("4374"),n.e("70587"),n.e("15057"),n.e("26792"),n.e("25344"),n.e("80469"),n.e("88109"),n.e("22094"),n.e("1485"),n.e("24049"),n.e("45916"),n.e("26223"),n.e("70011"),n.e("91553"),n.e("61924"),n.e("15980"),n.e("42492"),n.e("30761"),n.e("97306"),n.e("36793"),n.e("59228"),n.e("97934"),n.e("14842"),n.e("71138")]).then(n.bind(n,140539)),webpackId:140539,name:"PopoutWindowChannelCall"}),bi=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("81927"),n.e("4981"),n.e("97177"),n.e("39713"),n.e("14764"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("80287"),n.e("85386"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("68201"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("93103"),n.e("21921"),n.e("9233"),n.e("98765"),n.e("28083"),n.e("23608"),n.e("44571"),n.e("87439"),n.e("92128"),n.e("74610"),n.e("77467"),n.e("29260"),n.e("17823"),n.e("49013"),n.e("755"),n.e("33448"),n.e("42324"),n.e("69537"),n.e("96480"),n.e("21883"),n.e("88109"),n.e("24049"),n.e("15980"),n.e("29624"),n.e("36133")]).then(n.bind(n,418838)),webpackId:418838,name:"PopoutWindowCallTile"}),br=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("66787"),n.e("84935"),n.e("88826"),n.e("28510"),n.e("44136"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("28885"),n.e("49937"),n.e("30402"),n.e("19032"),n.e("3445"),n.e("4981"),n.e("14764"),n.e("80287"),n.e("89217"),n.e("85222"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("13111"),n.e("68201"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("68403"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("98965"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("35321"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("50033"),n.e("3998"),n.e("792"),n.e("92822"),n.e("5557"),n.e("95160"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("60773"),n.e("61156"),n.e("92128"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("9291"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("20930"),n.e("74610"),n.e("38056"),n.e("26001"),n.e("16988"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("57458"),n.e("59797"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("75133"),n.e("77487"),n.e("75859"),n.e("96804"),n.e("28850"),n.e("95998"),n.e("68530"),n.e("42234"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("77467"),n.e("78046"),n.e("98972"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("29260"),n.e("41701"),n.e("17823"),n.e("39894"),n.e("21455"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("49013"),n.e("30167"),n.e("51892"),n.e("41838"),n.e("59373"),n.e("46045"),n.e("755"),n.e("33448"),n.e("42324"),n.e("15275"),n.e("16054"),n.e("69537"),n.e("96480"),n.e("56373"),n.e("20577"),n.e("21883"),n.e("50068"),n.e("74821"),n.e("43710"),n.e("60536"),n.e("4374"),n.e("26792"),n.e("25344"),n.e("64287"),n.e("88109"),n.e("22094"),n.e("1485"),n.e("24049"),n.e("45916"),n.e("70011"),n.e("91553"),n.e("61924"),n.e("15980"),n.e("42492"),n.e("30761"),n.e("97306"),n.e("59228"),n.e("78827"),n.e("28732"),n.e("36308")]).then(n.bind(n,911315)),webpackId:911315,name:"PopoutWindowStageChannelCall"}),bs=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("66787"),n.e("28885"),n.e("44136"),n.e("99961"),n.e("81927"),n.e("4981"),n.e("97177"),n.e("39713"),n.e("14764"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("80287"),n.e("89217"),n.e("22822"),n.e("84935"),n.e("88826"),n.e("28510"),n.e("89209"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("97549"),n.e("89156"),n.e("63635"),n.e("49937"),n.e("30402"),n.e("19032"),n.e("3445"),n.e("43413"),n.e("11491"),n.e("32703"),n.e("44123"),n.e("44078"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("13111"),n.e("68201"),n.e("85755"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("68403"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("98965"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("35321"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("50033"),n.e("3998"),n.e("792"),n.e("92822"),n.e("5557"),n.e("95160"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("60773"),n.e("61156"),n.e("92128"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("9291"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("20930"),n.e("74610"),n.e("38056"),n.e("26001"),n.e("16988"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("57458"),n.e("59797"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("75133"),n.e("77487"),n.e("75859"),n.e("96804"),n.e("44057"),n.e("28850"),n.e("95998"),n.e("68530"),n.e("42234"),n.e("11617"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("77467"),n.e("78046"),n.e("98972"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("10943"),n.e("29260"),n.e("41701"),n.e("17823"),n.e("39894"),n.e("21455"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("36624"),n.e("71467"),n.e("49013"),n.e("30167"),n.e("51892"),n.e("41838"),n.e("59373"),n.e("46045"),n.e("755"),n.e("33448"),n.e("42324"),n.e("77602"),n.e("15275"),n.e("16054"),n.e("69537"),n.e("96480"),n.e("73611"),n.e("21883"),n.e("50068"),n.e("74821"),n.e("43710"),n.e("81398"),n.e("4374"),n.e("70587"),n.e("15057"),n.e("26792"),n.e("25344"),n.e("80469"),n.e("88109"),n.e("22094"),n.e("1485"),n.e("24049"),n.e("45916"),n.e("26223"),n.e("70011"),n.e("91553"),n.e("61924"),n.e("15980"),n.e("42492"),n.e("30761"),n.e("97306"),n.e("36793"),n.e("59228"),n.e("97934"),n.e("14842"),n.e("71138")]).then(n.bind(n,767675)),webpackId:767675,name:"PopoutWindowRTCDebug"}),ba=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("28553"),n.e("49802")]).then(n.bind(n,446517)),webpackId:446517,name:"PopoutWindowDiscordStats"}),bo=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("97177"),n.e("14119"),n.e("93103"),n.e("74610"),n.e("30761"),n.e("56385"),n.e("32986"),n.e("13492")]).then(n.bind(n,481477)),webpackId:481477,name:"PopoutWindowActivity"});class bl extends nK.A{_observer=null;_initialize(){ez.h.subscribe("CHANNEL_CALL_POPOUT_WINDOW_OPEN",this.handleOpenChannelCallPopout),ez.h.subscribe("CALL_TILE_POPOUT_WINDOW_OPEN",this.handleOpenCallTilePopout),ez.h.subscribe("RTC_DEBUG_POPOUT_WINDOW_OPEN",this.handleOpenRTCDebugPopout),ez.h.subscribe("ACTIVITY_POPOUT_WINDOW_OPEN",this.handleOpenActivityPopout),ez.h.subscribe("DISCORD_STATS_POPOUT_WINDOW_OPEN",this.handleOpenDiscordStatsPopout),this.initializeStyleSheetObserver()}_terminate(){ez.h.unsubscribe("CHANNEL_CALL_POPOUT_WINDOW_OPEN",this.handleOpenChannelCallPopout),ez.h.unsubscribe("CALL_TILE_POPOUT_WINDOW_OPEN",this.handleOpenCallTilePopout),ez.h.unsubscribe("RTC_DEBUG_POPOUT_WINDOW_OPEN",this.handleOpenRTCDebugPopout),ez.h.unsubscribe("ACTIVITY_POPOUT_WINDOW_OPEN",this.handleOpenActivityPopout),ez.h.unsubscribe("DISCORD_STATS_POPOUT_WINDOW_OPEN",this.handleOpenDiscordStatsPopout),this.terminateStyleSheetObserver()}handleOpenChannelCallPopout(e){let{channel:t}=e;bt.open(eL.MLl.CHANNEL_CALL_POPOUT,e=>t.isGuildStageVoice()?(0,U.jsx)(br,{windowKey:e,channelId:t.id}):(0,U.jsx)(bn,{windowKey:e,channelId:t.id}),{defaultWidth:854,defaultHeight:480})}handleOpenCallTilePopout=e=>{let{channelId:t,participantId:n}=e,i=(0,be.A)(t,n);bt.open(i,e=>(0,U.jsx)(bi,{windowKey:e,channelId:t,participantId:n}),{defaultWidth:854,defaultHeight:480})};initializeStyleSheetObserver(){this._observer=new MutationObserver(function(e){for(let t of e)if("childList"===t.type){for(let e of t.addedNodes)if(e.nodeType===Node.ELEMENT_NODE&&"LINK"===e.tagName&&"stylesheet"===e.rel){let t=e.href,n=e.integrity;bt.addStylesheet(t,n)}}}),this._observer.observe(document.head,{childList:!0})}terminateStyleSheetObserver(){null!=this._observer&&(this._observer.disconnect(),this._observer=null)}handleOpenRTCDebugPopout(){bt.open(eL.MLl.RTC_DEBUG_POPOUT,e=>(0,U.jsx)(bs,{windowKey:e}),{defaultWidth:854,defaultHeight:480})}handleOpenActivityPopout(){bt.open(eL.MLl.ACTIVITY_POPOUT,e=>(0,U.jsx)(bo,{windowKey:e}),{defaultWidth:854,defaultHeight:480})}handleOpenDiscordStatsPopout(){bt.open(eL.MLl.STATS_POPOUT,e=>(0,U.jsx)(ba,{windowKey:e}),{defaultWidth:380,defaultHeight:600})}}let bu=new bl;class bc extends nK.A{_initialize(){io.A.addChangeListener(this.handlePopoutWindowChange),ez.h.subscribe("WINDOW_FOCUS",this.handleMainWindowFocus)}_terminate(){io.A.removeChangeListener(this.handlePopoutWindowChange),ez.h.unsubscribe("WINDOW_FOCUS",this.handleMainWindowFocus),this.injectWindowAnimationFrame(window)}handleMainWindowFocus=e=>{e.focused&&e.windowId===window.__DISCORD_WINDOW_ID&&this.injectWindowAnimationFrame(window)};handlePopoutWindowChange=()=>{let e=io.A.getWindowKeys().find(e=>io.A.getWindowFocused(e));if(null==e)return this.injectWindowAnimationFrame(window);let t=io.A.getWindow(e);if(null==t||t.closed)return this.injectWindowAnimationFrame(window);this.injectWindowAnimationFrame(t)};injectWindowAnimationFrame(e){let t=t=>e.requestAnimationFrame(t),n=t=>e.cancelAnimationFrame(t);c_.A.inject.RequestAnimationFrame(t),c_.A.inject.CancelAnimationFrame(n),TG.Globals.frameLoop?.setRAF(t,n)}}let bd=new bc;var b_=n(835095),bh=n(354670),bf=n(374200),bp=n(852218),bE=n(231265),bm=n(103407);let bg="PremiumServerDriveAnnouncementModal";class bA extends nK.A{_initialize(){ez.h.subscribe("PREMIUM_MARKETING_DATA_READY",this.mayShowAnnouncementModal),ez.h.subscribe("PREMIUM_MARKETING_PREVIEW",this.handlePreview),ez.h.subscribe("ACTIVE_PROMOTIONS_FETCH_SUCCESS",this.handleActivePromotionsFetchSuccess),ez.h.subscribe("BILLING_USER_OFFER_FETCH_SUCCESS",this.handleUserOfferFetchSuccess),ez.h.subscribe("ENTITLEMENT_CREATE",this.handleEntitlementCreate)}_terminate(){ez.h.unsubscribe("PREMIUM_MARKETING_DATA_READY",this.mayShowAnnouncementModal),ez.h.unsubscribe("PREMIUM_MARKETING_PREVIEW",this.handlePreview),ez.h.unsubscribe("ACTIVE_PROMOTIONS_FETCH_SUCCESS",this.handleActivePromotionsFetchSuccess),ez.h.unsubscribe("BILLING_USER_OFFER_FETCH_SUCCESS",this.handleUserOfferFetchSuccess),ez.h.unsubscribe("ENTITLEMENT_CREATE",this.handleEntitlementCreate)}maybeShowAnnouncementModalFromPromotions=e=>{for(let t of e)if(null!=t.marketingComponents){if(null!=t.trialId){let e=bh.A.getUserTrialOffer(t.trialId);if(null==e||null!=e.expires_at&&Date.parse(e.expires_at)<Date.now())continue}for(let e of t.marketingComponents)if(e.component_type===Il.C.ANNOUNCEMENT_MODAL)return void this.maybeOpenServerDriveAnnouncementModal(e.id,e.promotion_id,e.properties,!1)}(0,IN.al)(),(0,IN.QM)()};handleActivePromotionsFetchSuccess=e=>{let{promotions:t}=e;this.maybeShowAnnouncementModalFromPromotions(t.map(e=>b_.A.createFromServer(e)))};handleUserOfferFetchSuccess=e=>{let{userTrialOffer:t}=e;null!=t&&this.maybeShowAnnouncementModalFromPromotions(Object.values(bf.A.promotionsByType[bp.pt.MARKETING_MOMENT]))};handleEntitlementCreate=e=>{let{entitlement:t}=e;C0.P.isDisallowPopupsSet()||t.source_type!==eL.GD.REVERSE_TRIAL||(0,IN.al)()};maybeOpenServerDriveAnnouncementModal=async(e,t,i,r)=>{if((0,nv.hasModalOpen)(bg))return!1;let s=(0,bm.H)({promotionId:t,content:i,isPreview:r});if(null!=s)return(!1!==r||s?.contentIdentifier!=="summer_bogo_content"||!!await (0,bE.C)())&&((0,nv.openModalLazy)(async()=>{let{default:i}=await Promise.resolve().then(n.bind(n,103407));return n=>(0,U.jsx)(i,{renderModalProps:n,componentId:e,promotionId:t,properties:s})},{modalKey:bg}),!0)};handlePreview=e=>{let{data:t}=e;this.maybeOpenServerDriveAnnouncementModal(t.id,t.promotion_id,t.properties,!0)};mayShowAnnouncementModal=async()=>{if(await (0,Iy.hb)(),C0.P.isDisallowPopupsSet())return;let e=tT.default.getCurrentUser();if(null!=e&&!e.verified)return}}let bI=new bA;var bT=n(499454),bS=n(17159),by=n(688796),bN=n(392107),bv=n(207803),bC=n(84540),bR=n(919395),bO=n(339984);class bb extends nK.A{_initialize(){ez.h.subscribe("PROFILE_CUSTOMIZATION_OPEN_PREVIEW_MODAL",this.maybeOpenProfilePreviewModal)}_terminate(){ez.h.unsubscribe("PROFILE_CUSTOMIZATION_OPEN_PREVIEW_MODAL",this.maybeOpenProfilePreviewModal)}maybeOpenProfilePreviewModal(e){return e.uploadType===bO.HL.AVATAR?(e=>{let{image:t,file:n,guildId:i,isTryItOut:r}=e;if(r)return void(0,bv.e$)(t);let s=tT.default.getCurrentUser();if(IT.Ay.canUseAnimatedAvatar(s)||"image/gif"!==n.type){(0,bC.p)({guildId:i,avatar:t}),(0,bR.WU)("set");return}null!=s&&(0,by.G)({uploadType:bO.HL.AVATAR})})(e):e.uploadType===bO.HL.BANNER?(e=>{let{image:t,guildId:n,isTryItOut:i}=e,r=t.imageUri,s=t.assetOrigin!==bN.E.ARCHIVED_ASSET?t.originalMd5??null:null;if(i)return void(0,bv.xe)(r);let a=tT.default.getCurrentUser(),o=IT.Ay.canUsePremiumProfileCustomization(a);IT.Ay.canUsePremiumProfileCustomization(a)?(0,bC.p)({guildId:n,banner:r,bannerOriginalMd5:s}):null==a||o||(0,by.G)({uploadType:bO.HL.BANNER})})(e):void 0}}let bD=new bb;var bL=n(453314),bw=n(302495),bM=n(901123);let bP=new Set([bM.BV.APP_WITH_INVITE_AND_GUILD_ONBOARDING(":inviteCode"),bM.BV.APP_WITH_GIFT_CODE(":giftCode"),bM.BV.APP,bM.BV.PICK_GUILD_SETTINGS(":section?",":subsection?"),bM.BV.SETTINGS(":section",":subsection?"),bM.BV.USER_GUILD_NOTIFICATION_SETTINGS(bw.p.guildId()),bM.BV.APPLICATION_LIBRARY_INVENTORY,bM.BV.WELCOME(bw.p.guildId({optional:!0}),bw.p.channelId({optional:!0})),bM.BV.GUILD_EVENT_DETAILS(bw.p.guildId({optional:!0}),":guildEventId"),bM.BV.GUILD_SETTINGS(bw.p.guildId(),":section?",":subsection?"),bM.BV.CHANNEL_THREAD_VIEW(bw.p.guildId(),bw.p.channelId(),":threadId",":messageId?"),bM.BV.CHANNEL(bw.p.guildId(),bw.p.channelId({optional:!0}),":messageId?"),bM.BV.ACTIVITY,bM.BV.ACTIVITIES,bM.BV.ACTIVITIES_HAPPENING_NOW,bM.BV.ACTIVITY_DETAILS(":applicationId"),bM.BV.APPLICATION_LIBRARY,bM.BV.APPLICATION_STORE,bM.BV.MESSAGE_REQUESTS,bM.BV.COLLECTIBLES_SHOP,bM.BV.COLLECTIBLES_SHOP_COLLECTION_DETAIL(":collectionId"),bM.BV.COLLECTIBLES_SHOP_PRODUCT_DETAIL(":skuId"),bM.BV.COLLECTIBLES_SHOP_LAYOUT(":layoutId"),bM.BV.GUILD_DISCOVERY,bM.BV.QUEST_HOME_DEPRECATED,bM.BV.QUEST_HOME,bM.BV.ICYMI,bM.BV.GLOBAL_DISCOVERY,bM.BV.GUILD_MEMBER_VERIFICATION(bw.p.guildId()),bM.BV.GUILD_MEMBER_VERIFICATION_FOR_HUB(bw.p.guildId(),":inviteCode?"),bM.BV.GUILD_BOOSTING_MARKETING(bw.p.guildId()),bM.BV.GUILD_FEATURE(":feature",bw.p.guildId()),bM.BV.FEATURE(":feature"),bM.BV.FAMILY_CENTER,bM.BV.APPLICATION_DIRECTORY,bM.BV.GAME_SHOP(bw.p.guildId(),":shopSkuId?",":shopSlug?")]);var bx=n(655087),bk=((m={})[m.UNHANDLED=-1]="UNHANDLED",m[m.NOMINAL=0]="NOMINAL",m[m.FAIR=1]="FAIR",m[m.SERIOUS=2]="SERIOUS",m[m.CRITICAL=3]="CRITICAL",m);function bU(){var e=bx.A.getRawThermalState();if(null==e)return -1;if((0,eU.isIOS)())return e;if(!(0,eU.isAndroid)())return -1;switch(e){case 0:return 0;case 1:case 2:return 1;case 3:return 2;case 4:case 5:case 6:return 3;default:return -1}}var bG=n(792620),bF=n(290863),bV=n(90924),bB=n(639621);function bH(){let e=iI.Ay.getCurrentEmbeddedActivity();if(null==e)return{participants:[]};let t=(0,iT.D)(e.location),n=(0,iT.H)(e.location);return{participants:Array.from(e.userIds,e=>{let i=tT.default.getUser(e);if(null==i)return;let r=(0,lI.tJ)(t,n,i);return{...(0,bB.A)(i),nickname:r??void 0}}).filter(ix.Vq)}}let bj={[v_.sm.ANY]:[v_.VH]};var bY=n(360469),bW=n(179771),bK=n(818348);let b$={[bK.e$.INITIATE_IMAGE_UPLOAD]:{request:void 0,response:e=>({image_url:e.string().required()})},[bK.e$.OPEN_SHARE_MOMENT_DIALOG]:{response:void 0,request:e=>({mediaUrl:e.string().required().max(1024)})},[bK.e$.AUTHENTICATE]:{request:e=>({access_token:e.string().allow(null).optional()}),response:e=>({access_token:e.string().required(),user:e.object({username:e.string().required(),discriminator:e.string().required(),id:e.string().required(),avatar:e.string().allow(null),public_flags:e.number().required(),global_name:e.string().allow(null)}).required(),scopes:e.array().items(e.string().valid(...Object.values(bW.F))).required(),expires:e.string().required(),application:e.object({description:e.string().required(),icon:e.string().allow(null),id:e.string().required(),rpc_origins:e.array().items(e.string()).optional(),name:e.string().required()}).required()})},[bK.e$.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS]:{request:void 0,response:e=>({participants:e.array().items(bq(e).keys({nickname:e.string().description("Server nickname. Not unique.")}).required()).required()})},[bK.e$.SHARE_INTERACTION]:{request:e=>({command:e.string().required(),options:e.array().items(e.object({name:e.string().required(),value:e.string().required()})),content:e.string().max(2e3),require_launch_channel:e.boolean(),preview_image:e.object({height:e.number().required(),url:e.string().required(),width:e.number().required()}),components:e.array().items(bX(e)),pid:e.number()}),response:e=>({success:e.boolean().required()})},[bK.e$.SHARE_LINK]:{request:e=>({custom_id:e.string().max(64),message:e.string().max(1e3).required(),link_id:e.string().max(64)}),response:e=>({success:e.boolean().required(),didCopyLink:e.boolean().required(),didSendMessage:e.boolean().required()})},[bK.e$.GET_RELATIONSHIPS]:{request:void 0,response:e=>({relationships:e.array().required().items(e.object({type:e.number().required(),user:bq(e).required(),presence:e.object({status:e.string().required(),activity:bz(e).allow(null)})}))})},[bK.e$.INVITE_USER_EMBEDDED]:{request:e=>({user_id:e.string().required(),content:e.string().min(0).max(1024)}),response:void 0},[bK.e$.GET_USER]:{request:e=>({id:e.string().max(64).required()}),response:e=>bq(e).allow(null)},[bK.e$.GET_QUEST_ENROLLMENT_STATUS]:{request:e=>({quest_id:e.string().required()}),response:e=>({quest_id:e.string().required(),is_enrolled:e.boolean().required(),enrolled_at:e.string().allow(null).optional()})},[bK.e$.QUEST_START_TIMER]:{request:e=>({quest_id:e.string().required()}),response:e=>({success:e.boolean().required()})},[bK.e$.GET_QUEST]:{request:void 0,response:e=>({quest_id:e.string().required(),enrolled_at:e.string().allow(null).optional(),completed_at:e.string().allow(null).optional(),external_cta_url:e.string().required()})},[bK.e$.REQUEST_PROXY_TICKET_REFRESH]:{request:void 0,response:e=>({ticket:e.string().required()})}},bz=e=>e.object({session_id:e.string().optional(),type:e.number().optional(),name:e.string().required(),url:e.string().allow(null).optional(),application_id:e.string().optional(),status_display_type:e.number().optional(),state:e.string().optional(),state_url:e.string().optional(),details:e.string().optional(),details_url:e.string().optional(),emoji:e.object({name:e.string().required(),id:e.string().allow(null).optional(),animated:e.bool().optional().allow(null)}).allow(null).optional(),assets:e.object({large_image:e.string().optional(),large_text:e.string().optional(),large_url:e.string().optional(),small_image:e.string().optional(),small_text:e.string().optional(),small_url:e.string().optional()}).optional(),timestamps:e.object({start:e.number().optional(),end:e.number().optional()}).optional(),party:e.object({id:e.string().optional(),size:e.array().items(e.number()).length(2).optional(),privacy:e.number().optional()}).optional(),secrets:e.object({match:e.string().optional(),join:e.string().optional()}).optional(),sync_id:e.string().optional(),created_at:e.number().optional(),instance:e.bool().optional(),flags:e.number().optional(),metadata:e.object().optional(),platform:e.string().optional(),supported_platforms:e.array().items(e.string()).optional(),buttons:e.array().items(e.string()).optional(),hangStatus:e.string().optional()}),bq=e=>e.object({id:e.string().required().description("User ID"),username:e.string().required(),global_name:e.string().allow(null).description("Global Discord name. Not unique."),discriminator:e.string().required().description("Global name discriminator. Will be 0 if a unique username"),avatar:e.string().allow(null).description("User Avatar ID"),flags:e.number().required().description("Public user flags"),bot:e.bool().required().description("If a bot user."),avatar_decoration_data:e.object({asset:e.string().allow(null),skuId:e.string(),expiresAt:e.number()}).allow(null).description("Details about avatar decoration"),premium_type:e.number().allow(null).description("Nitro premium type")}).description("Discord User"),bX=e=>e.object({type:e.number().valid(1).required(),components:e.array().max(5).items(bZ(e))}),bZ=e=>e.object({type:e.number().valid(2).required(),style:e.number().min(1).max(5).required(),label:e.string().max(80).description("Text that appears on the button"),custom_id:e.string().max(100).description("Developer-defined identifier for the button; max 100 characters")});function bQ(e,t){let{scope:n,handler:i}=t,r={scope:n,handler:i},s=b$[e]?.request,a=null;return null!=s&&(r.validation=function(e){return null==a&&(a=e.object(s(e)).required().unknown(!0)),a}),r}var bJ=n(20015),b0=n(636401);function b1(){let e=iI.Ay.getConnectedActivityChannelId();return ib.A.getChannel(e)}let b2={[eL.e$_.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS]:bQ(eL.e$_.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS,{scope:bj,handler(e){let{socket:t}=e;return(0,bV.lG)(t.transport),bH()}}),[eL.e$_.REQUEST_PROXY_TICKET_REFRESH]:bQ(eL.e$_.REQUEST_PROXY_TICKET_REFRESH,{scope:bj,async handler(e){let{socket:t}=e;(0,bV.lG)(t.transport);let n=(0,bV.D2)(t.application);if(!(0,bJ.n)(t.application,eL.gfo.EMBEDDED))throw new b0.A({errorCode:eL.Lw6.UNAUTHORIZED_FOR_APPLICATION},"This application cannot access this API");let i=b1();try{return{ticket:await (0,ao.D2)(n,i?.id)}}catch(e){throw new b0.A({errorCode:eL.Lw6.UNKNOWN_ERROR},"Failed to create proxy ticket")}}})};var b3=n(957292),b6=n(977445);function b4(e){return e.object().unknown(!0)}let b5={[eL.e$_.SEND_ANALYTICS_EVENT]:{validation:e=>b4(e).required().keys({event_name:e.string().required(),event_properties:b4(e).required()}),handler(e){let{socket:t,args:{event_name:n,event_properties:i}}=e;(0,bV.lG)(t.transport),(0,bV.D2)(t.application);let r=t.application.id,s=b1(),a=s?.getGuildId(),o=rD.A.getApplication(r);if(!(0,bJ.n)(o,eL.gfo.EMBEDDED_FIRST_PARTY))throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"This application cannot access this API");let l=(0,b3.DV)(r),u={activity_application_id:r,activity_channel_type:s?.type,activity_guild_id:a,activity_user_session_id:l?.activityUserSessionId};ew.default.track(n,{...u,...i})}},[eL.e$_.GET_APPLICATION_TICKET]:{scope:v_.hj,handler(e){let{socket:t}=e,n=t.application.id;if(null==n)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return eC.Bo.post({url:eL.Rsh.APPLICATION_TICKET(n),body:{test_mode:(0,b6.F)(n)},retries:3,oldFormErrors:!0,rejectWithError:!1}).then(e=>{let{body:t}=e;return t})}}},b7={[eL.e$_.SET_CERTIFIED_DEVICES]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},validation:e=>b4(e).required().keys({devices:e.array().items(b4(e).keys({type:e.string().required().valid([il.oh.AUDIO_INPUT,il.oh.AUDIO_OUTPUT,il.oh.VIDEO_INPUT]),id:e.string().required().min(1),vendor:b4(e).required().keys({name:e.string().min(1),url:e.string().min(1)}),model:b4(e).required().keys({name:e.string().min(1),url:e.string().min(1)}),related:e.array().items(e.string().min(1)),echo_cancellation:e.boolean(),noise_suppression:e.boolean(),automatic_gain_control:e.boolean(),hardware_mute:e.boolean()}))}),handler(e){var t,n;let{socket:i,args:{devices:r}}=e;if(null==i.application.id)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");t=i.application.id,n=r.map(e=>({type:e.type,id:e.id,vendor:e.vendor,model:e.model,related:e.related.filter(e=>r.some(t=>t.id===e)),echoCancellation:e.echo_cancellation,noiseSuppression:e.noise_suppression,automaticGainControl:e.automatic_gain_control,hardwareMute:e.hardware_mute})),ez.h.dispatch({type:"CERTIFIED_DEVICES_SET",applicationId:t,devices:n})}}};var b8=n(871237);let b9={[eL.e$_.GET_CHANNEL]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.GUILDS,bW.F.GUILDS_CHANNELS_READ]},handler(e){let{args:{channel_id:t},socket:n}=e,i=ib.A.getChannel(t);if(null==i)throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${t}`);if(i.isPrivate()){let e=n.authorization.scopes;if(!e.includes(bW.F.RPC)&&!e.includes(bW.F.DM_CHANNELS_READ))throw new b0.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},"Invalid scope")}return(0,bV.SN)(i,(0,bV.B_)(i,n.application.id,n.authorization.scopes))}},[eL.e$_.GET_CHANNELS]:{scope:bW.F.RPC,handler(e){let{args:{guild_id:t}}=e,n=im().values(ib.A.loadAllGuildAndPrivateChannelsFromDisk());if(t){let e=tx.A.getGuild(t);if(null==e)throw new b0.A({errorCode:eL.Lw6.INVALID_GUILD},`Invalid guild id: ${t}`);n=n.filter(t=>{let{guild_id:n}=t;return n===e.id})}return{channels:n.filter(e=>l0.A.can(eL.xBc.VIEW_CHANNEL,e)).map(e=>{let{id:t,name:n,type:i}=e;return{id:t,name:n,type:i}})}}},[eL.e$_.GET_CHANNEL_PERMISSIONS]:{scope:{[v_.sm.ANY]:[bW.F.GUILDS_MEMBERS_READ,bW.F.GUILDS_CHANNELS_READ]},handler(e){let t=b1();if(null==t)throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Invalid channel");return{permissions:l0.A.computePermissions(t)}}},[eL.e$_.SELECT_VOICE_CHANNEL]:{scope:bW.F.RPC,validation:e=>b4(e).required().keys({channel_id:e.string().allow(null),timeout:e.number().min(0).max(60),force:e.boolean(),navigate:e.boolean()}),handler(e){let{server:t,socket:n,args:{channel_id:i,timeout:r=0,force:s=!1,navigate:a=!1}}=e;if(!i)return nD.default.selectVoiceChannel(null),null;let o=nX.A.getVoiceChannelId();if(null!=o&&o!==i&&!1===s)throw new b0.A({errorCode:eL.Lw6.SELECT_VOICE_FORCE_REQUIRED},"User is already joined to a voice channel.");return t.storeWait(n,()=>ib.A.getChannel(i),r).catch(()=>{throw new b0.A({errorCode:eL.Lw6.SELECT_CHANNEL_TIMED_OUT},"Request to select voice channel timed out.")}).then(e=>{if(null==e)throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${i}`);if(!(0,iR.gV)(e.type))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Channel is not a voice channel");return Promise.all([Promise.resolve(e),(0,bV.SN)(e,(0,bV.B_)(e,n.application.id,n.authorization.scopes))])}).then(e=>{let[t,n]=e;if(n.guild_id){if((0,b8.Pd)(t,iM.A,tx.A))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Channel is full");if(!l0.A.can(eL.xBc.CONNECT,t))throw new b0.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},"Connect permission required to join channel")}return nD.default.selectVoiceChannel(t.id),a&&(0,uV.bG)(eL.BVt.CHANNEL(t.guild_id,t.id)),n})}},[eL.e$_.GET_SELECTED_VOICE_CHANNEL]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_READ]},handler(e){let{socket:t}=e,n=nX.A.getVoiceChannelId(),i=null!=n?ib.A.getChannel(n):null;return null!=i?(0,bV.SN)(i,(0,bV.B_)(i,t.application.id,t.authorization.scopes)):null}},[eL.e$_.SELECT_TEXT_CHANNEL]:{scope:bW.F.RPC,validation:e=>b4(e).required().keys({channel_id:e.string().allow(null),timeout:e.number().min(0).max(60)}),handler(e){let{server:t,socket:n,args:{channel_id:i,timeout:r=0}}=e;return i?t.storeWait(n,()=>ib.A.getChannel(i),r).catch(()=>{throw new b0.A({errorCode:eL.Lw6.SELECT_CHANNEL_TIMED_OUT},"Request to select text channel timed out.")}).then(e=>{if(null==e)throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${i}`);if(!(0,iR.pQ)(e.type))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Channel is not a text channel");return Promise.all([Promise.resolve(e),(0,bV.SN)(e,(0,bV.B_)(e,n.application.id,n.authorization.scopes))])}).then(e=>{let[t,n]=e;if(n.guild_id&&!l0.A.can(eL.xBc.VIEW_CHANNEL,t))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},"No permission to see channel");return n.guild_id?(0,uV.bG)(eL.BVt.CHANNEL(n.guild_id,t.id)):nD.default.selectPrivateChannel(t.id),n}):((0,uV.pX)(eL.BVt.ME),null)}},[eL.e$_.CREATE_CHANNEL_INVITE]:{scope:bW.F.RPC,handler(e){let{args:{channel_id:t,...n}}=e;return R4.Ay.createInvite(t,n,"RPC").catch(()=>{throw new b0.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},`Unable to generate an invite for ${t}. Does this user have permissions?`)})}}},De={[eL.e$_.SET_CONFIG]:{scope:v_.VH,validation:e=>b4(e).required().keys({use_interactive_pip:e.boolean()}),handler(e){let{socket:t,args:{use_interactive_pip:n}}=e;if(t.transport!==v_.z4.POST_MESSAGE)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},`command not available from "${t.transport} transport`);if(null==t.application.id)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"invalid application");return ez.h.dispatch({type:"EMBEDDED_ACTIVITY_SET_CONFIG",applicationId:t.application.id,config:{useInteractivePIP:n}}),Promise.resolve({use_interactive_pip:n})}}},Dt={[eL.e$_.GET_GUILD]:{scope:bW.F.RPC,validation:e=>b4(e).required().keys({guild_id:e.string(),timeout:e.number().min(0).max(60)}),handler(e){let{socket:t,server:n,args:{guild_id:i,timeout:r=0}}=e;return n.storeWait(t,()=>tx.A.getGuild(i),r).catch(()=>{throw new b0.A({errorCode:eL.Lw6.GET_GUILD_TIMED_OUT},"Request to get guild timed out.")}).then(e=>{if(null==e)throw new b0.A({errorCode:eL.Lw6.INVALID_GUILD},`Invalid guild id: ${i}`);return{id:e.id,name:e.name,icon_url:(0,nq.Iv)(e,128)??null,members:[],vanity_url_code:e.vanityURLCode}})}},[eL.e$_.GET_GUILDS]:{scope:bW.F.RPC,handler:()=>({guilds:tx.A.getGuildsArray().map(e=>({id:e.id,name:e.name,icon_url:(0,nq.Iv)(e,128)??null}))})}};var Dn=n(515718);let Di={[eL.e$_.GET_IMAGE]:{scope:v_.hj,validation:e=>b4(e).required().keys({type:e.string().required().valid(["user"]),id:e.string().required(),format:e.string().required().valid(["png","webp","jpg"]),size:e.number().required().valid([16,32,64,128,256,512,1024])}),handler(e){let t,{args:{type:n,id:i,format:r="png",size:s=128}}=e;if("user"===n){let e=tT.default.getUser(i);if(null!=e){t=sU.Ay.getUserAvatarURL(e,!1,s,r);let n=window.GLOBAL_ENV.CDN_HOST;null!=n&&-1!==t.indexOf(n)&&(t+="&_=")}else throw new b0.A({errorCode:eL.Lw6.INVALID_USER},`Invalid user id: ${i}`)}if(null==t)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No valid type.");return fetch(t).then(e=>e.blob()).then(e=>(0,Dn.We)(e)).then(e=>({data_url:e}))}}};var Dr=n(119966),Ds=n(478437),Da=n(344351),Do=n(855687);function Dl(){let e=iS.A.getConnectedFrame();if(null!=e)return{frame:e,channel:void 0,guild:void 0};let t=b1();if(null==t)throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Invalid channel");let n=tx.A.getGuild(t.getGuildId());if(null==n)throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid guild ${t.getGuildId()}`);if(!(0,Do.K)(l0.A,n,t))throw new b0.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},`No invite permissions for ${t.id}`);return{frame:void 0,channel:t,guild:n}}let Du={[bK.e$.INVITE_USER_EMBEDDED]:bQ(bK.e$.INVITE_USER_EMBEDDED,{scope:{[v_.sm.ANY]:[bW.F.DM_CHANNELS_MESSAGES_WRITE,bW.F.ACTIVITIES_INVITES_WRITE]},async handler(e){let t,{socket:n,args:{user_id:i,content:r}}=e,s=n.application.id;if(null==s)throw new Dr.G({errorCode:bK.Lw.INVALID_COMMAND},"No application.");let a=iI.Ay.getConnectedActivityLocation();if(null==a)throw new Dr.G({errorCode:bK.Lw.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure an activity was set using setActivity.");switch(a.kind){case Da.T.GUILD_CHANNEL:case Da.T.GUILD_CHANNEL_MESSAGE:t=Dl().channel;break;case Da.T.PRIVATE_CHANNEL:case Da.T.PRIVATE_CHANNEL_MESSAGE:let o=ib.A.getChannel(a.channel_id);if(null==o)throw new Dr.G({errorCode:bK.Lw.INVALID_CHANNEL},"Invalid channel");if(o.type===Ds.r.DM)throw new Dr.G({errorCode:bK.Lw.INVALID_CHANNEL},"Cannot send invite to a DM");t=o;break;default:throw new Dr.G({errorCode:bK.Lw.NO_ELIGIBLE_ACTIVITY},"Unsupported activity location")}try{await (0,ao.Ue)({channelId:t.id,applicationId:s,userId:i,prefixedContent:r,location:"RPC_ACTIVITY_INVITE_USER",inviteAnalyticsMetadata:{source:eL.PE1.ACTIVITY_INVITE}})}catch{throw new Dr.G({errorCode:bK.Lw.UNKNOWN_ERROR},"Failed to invite user")}}})};var Dc=n(646865),Dd=n(231723),D_=n(851907);async function Dh(e,t){if(void 0===e)return!1;try{let{body:n}=await eC.Bo.get({url:eL.Rsh.ACTIVITIES_TRUSTED_LINKS(e),rejectWithError:!1,query:{url:t},timeout:500});return!!n.trusted}catch{return!1}}var Df=n(353835),Dp=n(123917);let DE=new Set([bY.AM,bY.eK]),Dm={[eL.e$_.OPEN_EXTERNAL_LINK]:{scope:{[v_.sm.ANY]:[v_.VH,v_.W_]},validation:e=>b4(e).required().keys({url:e.string().required()}),async handler(e){let{socket:t,args:{url:n}}=e;(0,bV.lG)(t.transport);let i=iI.Ay.getCurrentEmbeddedActivity();try{let e=new URL(n).toString();if(eU.isPlatformEmbedded){let e=(0,Dc.f)()?eL.MLl.ACTIVITY_POPOUT:null;Df.A.focus(e,!0)}let r=rD.A.getApplication(t.application?.id),s=(0,iT.H)(i?.location);if(await Dh(r?.id,e))return(0,sl.A)(e),ew.default.track(eL.HAw.RPC_OPEN_EXTERNAL_LINK_CALLED,{application_id:t.application?.id,url:e,opened:!0}),Promise.resolve({opened:!0});return new Promise(n=>(0,Dp.h)({href:e,shouldConfirm:!0,onConfirm:()=>{(0,sl.A)(e),ew.default.track(eL.HAw.RPC_OPEN_EXTERNAL_LINK_CALLED,{application_id:t.application?.id,url:e,opened:!0}),n({opened:!0})},onCancel:()=>{ew.default.track(eL.HAw.RPC_OPEN_EXTERNAL_LINK_CALLED,{application_id:t.application?.id,url:e,opened:!1}),n({opened:!1})}},void 0,void 0,function(e){let{application:t,channelId:n}=e;return null!=(0,D_.Ay)({application:t,channelId:n})?Dd.KX:Dd.SY}({application:r,channelId:s})))}catch(e){throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},`Invalid URL: ${n}`)}}},[eL.e$_.NAVIGATE_TO_CONNECTIONS]:{validation:e=>b4(e),scope:{[v_.sm.ANY]:[v_.VH]},handler(e){let{socket:t}=e;(0,bV.lG)(t.transport);let i=(0,bV.D2)(t.application);if(!DE.has(i))throw new b0.A({errorCode:eL.Lw6.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application");{let{openUserSettings:e}=n(766075);e(i5.X.CONNECTIONS_PANEL)}}},[eL.e$_.SHARE_LINK]:bQ(eL.e$_.SHARE_LINK,{scope:{[v_.sm.ANY]:[v_.VH]},handler(e){let{socket:t,args:{custom_id:i,message:r,link_id:s}}=e;(0,bV.lG)(t.transport);let a=(0,bV.D2)(t.application);if(null==a)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");if(!(0,bJ.n)(t.application,eL.gfo.EMBEDDED))throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"This application cannot access this API");return new Promise(e=>{!function(e){let{applicationId:t,customId:i,linkId:r,message:s,onShare:a}=e,o=rD.A.getApplication(t);if(null==o)return a(!1,!1);let l=null!=(0,D_.LU)({applicationId:o.id})?Dd.KX:Dd.SY,u=!1;function c(e){a(e,u)}function d(){u=!0}(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("46776"),n.e("72618"),n.e("44780"),n.e("36946"),n.e("92639"),n.e("40963"),n.e("90480"),n.e("37065"),n.e("13491"),n.e("19666")]).then(n.bind(n,803977));return n=>(0,U.jsx)(e,{applicationId:t,customId:i,linkId:r,message:s,onCopyLink:d,onShare:c,...n})},{modalKey:"activity-share-moment-modal",contextKey:l,onCloseCallback:()=>{a(!1,u)}})}({applicationId:a,customId:i,linkId:s,message:r,onShare:(t,n)=>{e({success:n||t,didCopyLink:n,didSendMessage:t})}})})}})},Dg=new tb.A(eL.meB),DA={[eL.e$_.CAPTURE_LOG]:{validation:e=>b4(e).required().keys({level:e.string().max(10).required(),message:e.string().max(1e3).required()}),handler(e){let{socket:t,args:{level:n,message:i}}=e;(0,bV.lG)(t.transport);let r=t.application.id,s=`${r} - ${i}`;switch(n){case"log":Dg.log(s);break;case"warn":Dg.warn(s);break;case"debug":Dg.verbose(s);break;case"info":Dg.info(s);break;case"error":Dg.error(s)}}}},DI={[eL.e$_.GET_NETWORKING_CONFIG]:{scope:v_.hj,handler:()=>Promise.all([eC.Bo.get({url:location.protocol+window.GLOBAL_ENV.NETWORKING_ENDPOINT,retries:3,rejectWithError:!1}).then(e=>{let{body:{address:t}}=e;return t}),eC.Bo.post({url:eL.Rsh.NETWORKING_TOKEN,retries:3,oldFormErrors:!0,rejectWithError:!1}).then(e=>{let{body:{token:t}}=e;return t})]).then(e=>{let[t,n]=e;return{address:t,token:n}})},[eL.e$_.NETWORKING_SYSTEM_METRICS]:{scope:v_.hj,handler(e){let{socket:t,args:n}=e;n.application_id=t.application.id,ew.default.track(eL.HAw.NETWORKING_SYSTEM_METRICS,n)}},[eL.e$_.NETWORKING_PEER_METRICS]:{scope:v_.hj,handler(e){let{socket:t,args:n}=e;n.application_id=t.application.id,ew.default.track(eL.HAw.NETWORKING_PEER_METRICS,n)}},[eL.e$_.NETWORKING_CREATE_TOKEN]:{scope:v_.hj,handler:()=>eC.Bo.post({url:eL.Rsh.NETWORKING_TOKEN,retries:1,oldFormErrors:!0,rejectWithError:!1}).then(e=>e.body)}},DT={[bK.e$.GET_PLATFORM_BEHAVIORS]:{handler:()=>({iosKeyboardResizesView:!0})}};var DS=n(77468),Dy=n(968309);let DN=new Set([bY.AM,bY.eK]),Dv={[bK.e$.GET_PROVIDER_ACCESS_TOKEN]:{scope:{[v_.sm.ANY]:[v_.VH]},validation:e=>b4(e).required().keys({provider:e.string().required(),connection_redirect:e.string()}),handler:e=>{let{socket:t,args:{provider:n,connection_redirect:i}}=e;(0,bV.lG)(t.transport);let r=(0,bV.D2)(t.application),s=oZ.A.get(n);if(null==s)throw new b0.A({errorCode:bK.Lw.INVALID_PROVIDER},`Platform not found for provider "${n}"`);if(n===eL.fg2.AMAZON_MUSIC){if(!DN.has(r))throw new b0.A({errorCode:bK.Lw.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application")}else throw new b0.A({errorCode:bK.Lw.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application");return new Promise(async(e,t)=>{let r=lq.A.getAccount(null,n);if(null==r){function a(t){if(null==s)return;let n=(t.accounts??[]).find(e=>e.type===s.type);null!=n&&(e({access_token:n.access_token}),l())}function o(){t(new b0.A({errorCode:bK.Lw.OAUTH2_ERROR},`OAuth2 setup for "${n}" failed`)),l()}function l(){ez.h.unsubscribe("USER_CONNECTIONS_UPDATE",a),aI._.unsubscribe(eL.jej.CONNECTIONS_CALLBACK_ERROR,o)}ez.h.subscribe("USER_CONNECTIONS_UPDATE",a),aI._.subscribe(eL.jej.CONNECTIONS_CALLBACK_ERROR,o),(0,Dy.A)({platformType:s.type,location:eL.ThZ.ACTIVITY_RPC,successRedirect:i})}else try{let t=await DS.A.refreshAccessToken(s.type,r.id);if(null==t)throw new b0.A({errorCode:bK.Lw.OAUTH2_ERROR},"Refreshing access token did not return a new access token");e({access_token:t})}catch(e){t(e)}})}},[bK.e$.MAYBE_GET_PROVIDER_ACCESS_TOKEN]:{scope:{[v_.sm.ANY]:[v_.VH]},validation:e=>b4(e).required().keys({provider:e.string().required()}),handler:async e=>{let{socket:t,args:{provider:n}}=e;(0,bV.lG)(t.transport);let i=(0,bV.D2)(t.application),r=oZ.A.get(n);if(null==r)throw new b0.A({errorCode:bK.Lw.INVALID_PROVIDER},`Platform not found for provider "${n}"`);if(n===eL.fg2.AMAZON_MUSIC){if(!DN.has(i))throw new b0.A({errorCode:bK.Lw.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application")}else throw new b0.A({errorCode:bK.Lw.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application");let s=lq.A.getAccount(null,n);if(null==s)throw new b0.A({errorCode:bK.Lw.NO_CONNECTION_FOUND},"No connection found");let a=await DS.A.refreshAccessToken(r.type,s.id);if(null==a)throw new b0.A({errorCode:bK.Lw.OAUTH2_ERROR},"Refreshing access token did not return a new access token");return{access_token:a}}}},DC={[eL.e$_.GET_QUEST_ENROLLMENT_STATUS]:{scope:bW.F.IDENTIFY,handler(e){let{socket:t,args:{quest_id:n}}=e;(0,bV.lG)(t.transport);let i=(0,bV.D2)(t.application),r=ov.A.getQuest(n),s=(0,bG.TP)(r);if(null==r||null==s||s!==i)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},`Quest not found: ${n}`);return{quest_id:n,is_enrolled:r.userStatus?.enrolledAt!=null,enrolled_at:r.userStatus?.enrolledAt??null}}},[eL.e$_.QUEST_START_TIMER]:{scope:bW.F.IDENTIFY,handler(e){let{socket:t,args:{quest_id:n}}=e;(0,bV.lG)(t.transport);let i=(0,bV.D2)(t.application),r=ov.A.getQuest(n),s=(0,bG.vS)(r);if(null==r||null==s||s!==i)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},`Quest not found: ${n}`);if(r.userStatus?.enrolledAt==null)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"User is not enrolled in quest");return ew.default.track(eL.HAw.RPC_QUEST_START_TIMER_CALLED,{application_id:i,quest_id:n}),ez.h.dispatch({type:"QUEST_APPLICATION_START_TIMER",questId:n,applicationId:i}),{success:!0}}},[eL.e$_.GET_QUEST]:{scope:bW.F.IDENTIFY,handler(e){let{socket:t}=e;(0,bV.lG)(t.transport);let n=(0,bV.D2)(t.application),i=(0,ob.jm)(ov.A.quests,n,!0);if(0===i.length)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No eligible quests found");return i.map(e=>({quest_id:e.id,enrolled_at:e.userStatus?.enrolledAt??null,completed_at:e.userStatus?.completedAt??null,external_cta_url:e.config.ctaConfig.link})).sort((e,t)=>null==e.enrolled_at&&null==t.enrolled_at?0:null==e.enrolled_at?1:null==t.enrolled_at?-1:new Date(e.enrolled_at).getTime()-new Date(t.enrolled_at).getTime())[0]}}},DR={[eL.e$_.GET_RELATIONSHIPS]:bQ(eL.e$_.GET_RELATIONSHIPS,{scope:{[v_.sm.ANY]:[bW.F.RELATIONSHIPS_READ]},handler(e){if(Ch.zy(Ch.iu(e.socket.application.flags??0),Ch.iu(eL.gfo.DISABLE_RELATIONSHIPS_ACCESS)))throw new b0.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},"Missing Permissions");let t=[];for(let[n,i]of i1.A.getMutableRelationships().entries()){if(i===eL.eA$.NONE)continue;let r=tT.default.getUser(n);if(null==r)continue;let s=(0,bV.Gc)(i,r);t.push((0,bV.LP)(s,e.socket.application.id))}return{relationships:t}}})};var DO=n(599026),Db=n(182892),DD=n(207371);let DL=["1402418171662569542"],Dw={[eL.e$_.SET_ACTIVITY]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_ACTIVITIES_WRITE,v_.hj]},validation:e=>b4(e).required().keys({pid:e.number().min(0),activity:b4(e).keys({name:e.string().min(1).max(128),state:e.string().min(2).max(128),state_url:e.string().uri().min(1).max(256),details:e.string().min(2).max(128),details_url:e.string().uri().min(1).max(256),timestamps:b4(e).keys({start:e.number().min(1),end:e.number().min(1)}),assets:b4(e).keys({large_image:e.string().min(1).max(300),large_text:e.string().min(2).max(128),large_url:e.string().uri().min(1).max(256),small_image:e.string().min(1).max(300),small_text:e.string().min(2).max(128),small_url:e.string().uri().min(1).max(256),invite_cover_image:e.string().min(1).max(300)}),party:b4(e).keys({id:e.string().min(2).max(128),size:e.array().items(e.number().min(0)).length(2),privacy:e.number().default(eL.KIY.PRIVATE).valid([eL.KIY.PRIVATE,eL.KIY.PUBLIC])}),secrets:b4(e).keys({match:e.string().min(2).max(128),join:e.string().min(2).max(128),spectate:e.string().min(2).max(128)}),buttons:e.array().items(b4(e).keys({label:e.string().min(1).max(32).required(),url:e.string().uri().min(1).max(512).required()})).min(1).max(2),instance:e.boolean(),supported_platforms:e.array().items(e.string().min(1).max(32)).min(1).max(10),type:e.number().default(eL.$pd.PLAYING).valid(eL.$pd.PLAYING,eL.$pd.LISTENING,eL.$pd.WATCHING,eL.$pd.COMPETING),status_display_type:e.number().optional().valid(DO.A.NAME,DO.A.STATE,DO.A.DETAILS)}).allow(null)}),handler(e){let t,{socket:n,args:{pid:i,activity:r},isSocketConnected:s}=e;if(![v_.z4.IPC,v_.z4.WEBSOCKET,v_.z4.POST_MESSAGE].includes(n.transport))throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},`command not available from "${n.transport}" transport`);if(null==i&&v_.z4.IPC===n.transport)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"nonzero pid required");if(null==r)return ez.h.dispatch({type:"LOCAL_ACTIVITY_UPDATE",socketId:n.id,pid:i,activity:r}),Promise.resolve(r);let a={};r.name||(r.name=n.application.name);let o=n.application.id;r.application_id=o;let l=n.transport===v_.z4.POST_MESSAGE;r.platform=l?eL.yTV.EMBEDDED:eL.yTV.DESKTOP;let u=rD.A.getApplication(o??void 0),c=r.instance??!1,d=r.party?.privacy;delete r.instance,delete r.party?.privacy;let _=(0,Db.E)(r,c,l,null!=u&&(0,DD.x)(u)&&l,d);_>0&&(r.flags=_);let{assets:h,party:f,secrets:p,timestamps:E,buttons:m,type:g}=r;if(null==g&&(r.type=eL.$pd.PLAYING),null!=p){let e=im().values(p).filter(e=>!!e);if(null!=f&&im().intersection(e,[f.id]).length>0&&!DL.includes(n.application.id))throw new b0.A({errorCode:eL.Lw6.INVALID_ACTIVITY_SECRET},"secrets cannot match the party id");if(im().uniq(e).length<e.length)throw new b0.A({errorCode:eL.Lw6.INVALID_ACTIVITY_SECRET},"secrets must be unique");if(null!=m)throw new b0.A({errorCode:eL.Lw6.INVALID_ACTIVITY_SECRET},"secrets cannot currently be sent with buttons")}if(null!=m&&(a.button_urls=m.map(e=>e.url),r.buttons=m.map(e=>e.label)),r.metadata=a,null!=E)for(let e of Object.keys(E))Date.now().toString().length-E[e].toString().length>2&&(E[e]=Math.floor(E[e]*n5.A.Millis.SECOND));if(null==h)t=Promise.resolve([]);else{if(null==n.application||null==n.application.id)throw Error();t=(0,oB.RG)(n.application.id,[h.large_image,h.small_image,h.invite_cover_image])}return t.then(e=>{let[t,a,o]=e;if(null!=h&&(null!=t?h.large_image=t:delete h.large_image,null!=a?h.small_image=a:delete h.small_image,null!=o?h.invite_cover_image=o:delete h.invite_cover_image),!s())return;ez.h.dispatch({type:"LOCAL_ACTIVITY_UPDATE",socketId:n.id,pid:i,activity:r,partyPrivacy:d});let{secrets:l,party:u}=r,c={application_id:n.application.id,type:r.type,name:r.name,status_display_type:r.status_display_type,details:r.details??"",state:r.state??"",has_urls:null!=r.state_url||null!=r.details_url||r.assets?.large_url!=null||r.assets?.small_url!=null};return null!=l&&(c.has_match_secret=!!l.match,c.has_join_secret=!!l.join),null!=h&&(c.has_images=!!(h.large_image||h.small_image||h.invite_cover_image)),null!=u&&(c.party_max=null!=u.size&&u.size[1]>0?u.size[1]:void 0,c.party_id=u.id),ew.default.track(eL.HAw.ACTIVITY_UPDATED,c),r})}}},DM={[bK.e$.SET_ORIENTATION_LOCK_STATE]:{validation:e=>b4(e).required().keys({lock_state:e.number().valid(bY.N7.UNLOCKED,bY.N7.PORTRAIT,bY.N7.LANDSCAPE).required(),picture_in_picture_lock_state:e.number().valid(bY.N7.UNLOCKED,bY.N7.PORTRAIT,bY.N7.LANDSCAPE).allow(null).optional(),grid_lock_state:e.number().valid(bY.N7.UNLOCKED,bY.N7.PORTRAIT,bY.N7.LANDSCAPE).allow(null).optional()}),handler(e){let{socket:t,args:{lock_state:n,picture_in_picture_lock_state:i,grid_lock_state:r}}=e,s=t.application.id;if(null!=s)ez.h.dispatch({type:"FRAME_SET_ORIENTATION_LOCK_STATE",applicationId:s,lockState:n,pictureInPictureLockState:i}),ez.h.dispatch({type:"EMBEDDED_ACTIVITY_SET_ORIENTATION_LOCK_STATE",applicationId:s,lockState:n,pictureInPictureLockState:i,gridLockState:r});else throw new b0.A({errorCode:bK.Lw.INVALID_COMMAND},"No application.")}}};var DP=n(796774),Dx=n(209932),Dk=n(807348),DU=n(693806);let DG={[bK.e$.GET_SOUNDBOARD_SOUNDS]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},async handler(){await (0,DP.E7)();let e=Dx.A.getSounds(),t=[];return e.forEach(e=>e.forEach(e=>t.push((0,Dk.A2)(e)))),t}},[bK.e$.PLAY_SOUNDBOARD_SOUND]:{scope:{[v_.sm.ALL]:[bW.F.RPC,bW.F.RPC_VOICE_WRITE]},validation:e=>b4(e).required().keys({guild_id:e.string(),sound_id:e.string()}),async handler(e){let{args:{guild_id:t,sound_id:n}}=e;await (0,DP.E7)();let i=tT.default.getCurrentUser(),r=Dx.A.getSound(t,n),s=(0,DU.A)(),a=null!=r&&null!=i&&(0,yH.Ir)(i,r,s);if(null==s)throw new b0.A({errorCode:bK.Lw.INVALID_CHANNEL},"Invalid Channel.");if(a)if((0,yG.Ay)(s))null!=r&&(0,yH.Ak)(r,s.id,[ii.A.RPC]);else throw new b0.A({errorCode:bK.Lw.INVALID_PERMISSIONS},"Invalid Permissions.");else throw new b0.A({errorCode:bK.Lw.INVALID_SOUND},"Invalid Sound.")}}};var DF=n(339048),DV=n(830382),DB=n(800342),DH=n(143582);function Dj(e){if(v_.z4.IPC!==e&&v_.z4.POST_MESSAGE!==e)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"Invalid transport.")}async function DY(e,t){let n=t.filter(e=>e.type===eL.Puh.SUBSCRIPTION_GROUP),i=await Promise.all(n.map(async t=>await (0,DH.vz)(e,t.id))),r=[];return i.forEach(e=>{if(null==e)return null;let n=e.subscription_listings;if(null==n)return null;let i=[];n.forEach(e=>{e.subscription_plans.forEach(n=>{let r=n?.price,s=t.find(e=>e.id===n.sku_id);if(null==s)return;let a={id:n.sku_id,name:s.name,type:s.type,price:{amount:r,currency:eL.Yri.USD},application_id:e.application_id,flags:e.sku_flags,release_date:s.release_date??null};i.push(a)})}),i.filter(e=>e?.price!=null).forEach(e=>r.push(e))}),r}async function DW(e){let{socket:t}=e;Dj(t.transport);let n=t.application.id;if(null==n)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");if((0,b6.F)(n)){let e=await DV.O1(n,!1),t=await DY(n,e);return[...e.filter(e=>null!=e.price),...t]}let i=await DB.JI(n);return[...i.filter(e=>e.sku.type!==eL.Puh.SUBSCRIPTION_GROUP).map(e=>e.sku).filter(e=>null!=e.price),...await DY(n,i.map(e=>e.sku))]}function DK(e){let{socket:t}=e;Dj(t.transport);let n=t.application.id;if(null==n)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return DF.LM(n)}let D$={[eL.e$_.GET_SKUS]:{[v_.sm.ANY]:[v_.VH,v_.hj],handler:DW},[eL.e$_.GET_ENTITLEMENTS]:{[v_.sm.ANY]:[v_.VH,v_.hj],handler:DK},[eL.e$_.GET_SKUS_EMBEDDED]:{[v_.sm.ANY]:[v_.VH,v_.hj],handler:async e=>({skus:await DW(e)})},[eL.e$_.GET_ENTITLEMENTS_EMBEDDED]:{[v_.sm.ANY]:[v_.VH,v_.hj],handler:async e=>({entitlements:await DK(e)})}};var Dz=n(722306);let Dq={[eL.e$_.SUBSCRIBE]:{async handler(e){let{server:t,socket:n,evt:i,args:r}=e,s=t.events[i];if(null==s)throw new b0.A({errorCode:eL.Lw6.INVALID_EVENT},`Invalid event: ${i}`);if(!(0,Dz.A)(n.authorization.scopes,s.scope))throw new b0.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},"Not authenticated or invalid scope");if(ew.default.track(eL.HAw.RPC_SUBSCRIPTION_REQUESTED,{event:i,scope:"object"==typeof s.scope?JSON.stringify(s.scope):s.scope,application_id:n.application.id,socket_scope:n.authorization.scopes.toString()}),null!=s.validation){let e=await t.getJoi();if(null!=e.validate(r,s.validation(e),{convert:!1}).error)throw new b0.A({errorCode:eL.Lw6.INVALID_PAYLOAD},"Invalid subscription parameters provided")}let a=s.handler({args:r,socket:n}),o=function(e,t,n){switch(t){case eL.ZE4.ACTIVITY_PIP_MODE_UPDATE:{let t=e.application?.id,n=null!=t?iI.Ay.getLayoutModeForApp(t):null;return null!=n?{is_pip_mode:n!==bY.bN.FOCUSED}:null}case eL.ZE4.ACTIVITY_LAYOUT_MODE_UPDATE:{let t=e.application?.id,n=null!=t?iI.Ay.getLayoutModeForApp(t):null;return null!=n?{layout_mode:n}:null}case eL.ZE4.FRAME_LAYOUT_MODE_UPDATE:{let t=null!=e.application?.id?iS.A.getConnectedFrame()?.layoutMode:null;return null!=t?{layout_mode:t}:null}case eL.ZE4.THERMAL_STATE_UPDATE:{let e=bU();if(e===bk.UNHANDLED)return null;return{thermal_state:e}}case eL.ZE4.ORIENTATION_UPDATE:return null;case eL.ZE4.ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE:return bH();case eL.ZE4.QUEST_ENROLLMENT_STATUS_UPDATE:{let{quest_id:t}=n;if(!t)return null;let i=ov.A.getQuest(t),r=(0,bG.TP)(i);if(null==i||null==r||r!==e.application?.id)return null;return{quest_id:t,is_enrolled:i.userStatus?.enrolledAt!=null,enrolled_at:i.userStatus?.enrolledAt??null}}default:return null}}(n,i,r);return new Promise(e=>{setImmediate(()=>{t.addSubscription(n,i,r,a),null!=o&&t.dispatchToSubscriptions(i,e=>e.socket.id===n.id,o)}),e({evt:i})})}},[eL.e$_.UNSUBSCRIBE]:{handler(e){let{server:t,socket:n,evt:i,args:r}=e;if(null==t.events[i])throw new b0.A({errorCode:eL.Lw6.INVALID_EVENT},`Invalid event: ${i}`);return t.removeSubscription(n,i,r),{evt:i}}}},DX={[eL.e$_.USER_SETTINGS_GET_LOCALE]:{scope:bW.F.IDENTIFY,handler:()=>({locale:RC.default.locale})}},DZ={[eL.e$_.GET_USER]:bQ(eL.e$_.GET_USER,{scope:{[v_.sm.ANY]:[v_.W_,v_.hj]},handler(e){let{args:{id:t}}=e,n=tT.default.getUser(t);return null==n?null:(0,bB.A)(n)}})},DQ={...b5,...b7,...b9,...De,...Dt,...Di,...Du,...Dm,...DA,...DI,...Dv,...DR,...Dw,...DM,...D$,...Dq,...DZ,...DX,...DT,...DG,...b2,...DC};var DJ=n(52133),D0=n(821956);let D1=e=>b4(e).required().keys({channel_id:e.string().required()});function D2(e){let{args:{channel_id:t},socket:n}=e,i=ib.A.getChannel(t);if(null==i||!(0,bV.B_)(i,n.application.id,n.authorization.scopes))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${t}`);if((0,nQ.$v)(i))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid nsfw channel id: ${i.id}`)}let D3=e=>b4(e).keys({channel_id:e.string().allow(null)});function D6(e){let{args:{channel_id:t}}=e;if(null!=t&&null==ib.A.getChannel(t))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${t}`)}let D4={[eL.ZE4.GUILD_STATUS]:{scope:bW.F.RPC,validation:e=>b4(e).required().keys({guild_id:e.string().required()}),handler(e){let{args:{guild_id:t}}=e;if(null==tx.A.getGuild(t))throw new b0.A({errorCode:eL.Lw6.INVALID_GUILD},`Invalid guild id: ${t}`);return e=>{let{prevState:n,dispatch:i}=e,r=tx.A.getGuild(t);if(null==r)return;let s={guild:{id:r.id,name:r.name,icon_url:(0,nq.Iv)(r,128)??null},online:0};return im().isEqual(n,s)||i(s),s}}},[eL.ZE4.VOICE_STATE_CREATE]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_READ]},validation:e=>b4(e).required().keys({channel_id:e.string().required()}),handler(e){let{args:{channel_id:t}}=e;if(null==ib.A.getChannel(t))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${t}`);return e=>{let{prevState:n,dispatch:i}=e,r=ib.A.getChannel(t);if(null==r)return;let s=r.getGuildId(),a=Object.values(iM.A.getVoiceStatesForChannel(r.id));return n&&im().differenceBy(a,n,e=>{let{userId:t}=e;return t}).forEach(e=>i((0,bV.qG)(s,r.id,e))),a}}},[eL.ZE4.VOICE_STATE_DELETE]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_READ]},validation:e=>b4(e).required().keys({channel_id:e.string().required()}),handler(e){let{args:{channel_id:t}}=e;if(null==ib.A.getChannel(t))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${t}`);return e=>{let{prevState:n,dispatch:i}=e,r=ib.A.getChannel(t);if(null==r)return;let s=r.getGuildId(),a=Object.values(iM.A.getVoiceStatesForChannel(r.id));return im().differenceBy(n,a,e=>{let{userId:t}=e;return t}).forEach(e=>i((0,bV.qG)(s,r.id,e))),a}}},[eL.ZE4.VOICE_STATE_UPDATE]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_READ]},validation:e=>b4(e).required().keys({channel_id:e.string().required()}),handler(e){let{args:{channel_id:t}}=e;if(null==ib.A.getChannel(t))throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${t}`);return e=>{let{prevState:n,dispatch:i}=e,r=ib.A.getChannel(t);if(null==r)return;let s=r.getGuildId(),a=Object.values(iM.A.getVoiceStatesForChannel(r.id)).map(e=>(0,bV.qG)(s,r.id,e));return im().differenceWith(a,n,im().isEqual).forEach(e=>i(e)),a}}},[eL.ZE4.VOICE_CONNECTION_STATUS]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_READ]},handler:()=>e=>{let{prevState:t,dispatch:n}=e,i={state:(0,bV.SK)(iL.A.getState()),hostname:iL.A.getHostname(),pings:iL.A.getPings(),average_ping:iL.A.getAveragePing(),last_ping:iL.A.getLastPing()};return im().isEqual(i,t)||n(i),i}},[eL.ZE4.MESSAGE_CREATE]:{scope:bW.F.RPC,validation:D1,handler:D2},[eL.ZE4.MESSAGE_UPDATE]:{scope:bW.F.RPC,validation:D1,handler:D2},[eL.ZE4.MESSAGE_DELETE]:{scope:bW.F.RPC,validation:D1,handler:D2},[eL.ZE4.SPEAKING_START]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_READ,v_.hj]},validation:D3,handler:D6},[eL.ZE4.SPEAKING_STOP]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_READ,v_.hj]},validation:D3,handler:D6},[eL.ZE4.GUILD_CREATE]:{scope:bW.F.RPC,handler(){}},[eL.ZE4.CHANNEL_CREATE]:{scope:bW.F.RPC,handler(){}},[eL.ZE4.GAME_JOIN]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},handler(){}},[eL.ZE4.GAME_SPECTATE]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},handler(){}},[eL.ZE4.ACTIVITY_JOIN]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.VH,v_.hj]},handler(){}},[eL.ZE4.ACTIVITY_JOIN_REQUEST]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},handler(){}},[eL.ZE4.ACTIVITY_SPECTATE]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.VH,v_.hj]},handler(){}},[eL.ZE4.ACTIVITY_INVITE]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},handler(){}},[eL.ZE4.ACTIVITY_PIP_MODE_UPDATE]:{scope:void 0,handler(){}},[eL.ZE4.ACTIVITY_LAYOUT_MODE_UPDATE]:{scope:void 0,handler(){}},[eL.ZE4.FRAME_LAYOUT_MODE_UPDATE]:{scope:void 0,handler(){}},[eL.ZE4.ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE]:{scope:bj,handler:()=>e=>{let{prevState:t,dispatch:n}=e,i=bH();return im().isEqual(i,t)||n(i),i}},[eL.ZE4.THERMAL_STATE_UPDATE]:{scope:{[v_.sm.ANY]:[v_.VH]},handler(){}},[eL.ZE4.ORIENTATION_UPDATE]:{scope:{[v_.sm.ANY]:[v_.VH]},handler(){}},[eL.ZE4.VOICE_CHANNEL_SELECT]:{scope:bW.F.RPC,handler(){}},[eL.ZE4.NOTIFICATION_CREATE]:{scope:{[v_.sm.ALL]:[bW.F.RPC,bW.F.RPC_NOTIFICATIONS_READ]},handler(){}},[eL.ZE4.RELATIONSHIP_UPDATE]:{scope:bW.F.RELATIONSHIPS_READ,handler(e){let{socket:t}=e;if(Ch.zy(Ch.iu(t.application.flags??0),Ch.iu(eL.gfo.DISABLE_RELATIONSHIPS_ACCESS)))throw new b0.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},"Missing Permissions")}},[eL.ZE4.CURRENT_USER_UPDATE]:{scope:{[v_.sm.ANY]:[v_.hj,bW.F.IDENTIFY]},handler:()=>e=>{let{prevState:t,dispatch:n}=e,i={currentUser:tT.default.getCurrentUser()};return null==i.currentUser||null!=t&&(0,DJ.A)(i,t)||n((0,bB.A)(i.currentUser)),i}},[eL.ZE4.CURRENT_GUILD_MEMBER_UPDATE]:{scope:{[v_.sm.ALL]:[bW.F.IDENTIFY,bW.F.GUILDS_MEMBERS_READ]},handler(e){let{args:{guild_id:t}}=e;return e=>{let{prevState:n,dispatch:i}=e,r={currentGuildMember:Sf.Ay.getSelfMember(t)};return null==r.currentGuildMember||null!=n&&(0,DJ.A)(r,n)||i(function(e){let{userId:t,nick:n,guildId:i,avatar:r,avatarDecoration:s,banner:a,bio:o,pronouns:l,colorString:u}=e;return{user_id:t,nick:n,guild_id:i,avatar:r,avatar_decoration_data:(0,D0.Xq)(s),banner:a,bio:o,pronouns:l,color_string:u}}(r.currentGuildMember)),r}}},[eL.ZE4.ENTITLEMENT_CREATE]:{scope:{[v_.sm.ANY]:[v_.hj,v_.VH]},handler(){}},[eL.ZE4.ENTITLEMENT_DELETE]:{scope:{[v_.sm.ANY]:[v_.hj,v_.VH]},handler(){}},[eL.ZE4.SCREENSHARE_STATE_UPDATE]:{scope:{[v_.sm.ALL]:[v_.hj,bW.F.RPC_SCREENSHARE_READ]},handler:()=>e=>{let{prevState:t,dispatch:n}=e,i=iO.A.getStreamerActiveStreamMetadata(),r=i?.pid!=null?ia.Ay.getGameForPID(i.pid):null,s=r?.id!=null?rD.A.getApplication(r.id):null,a=null!=s?{name:s.name,id:s.id,icon:s.icon,cover_image:s.coverImage,type:s.type}:null,o=i?.sourceName,l={active:null!=i,pid:i?.pid??null,application:(null!=a)??null!=o?{name:o}:null};return im().isEqual(l,t)||n(l),l}},[eL.ZE4.VIDEO_STATE_UPDATE]:{scope:{[v_.sm.ALL]:[v_.hj,bW.F.RPC_VIDEO_READ]},handler:()=>e=>{let{prevState:t,dispatch:n}=e,i={active:tI.Ay.isVideoEnabled()};return im().isEqual(i,t)||n(i),i}},[eL.ZE4.AUTHORIZE_REQUEST]:{scope:void 0,handler(){}}};var D5=n(289919);let D7={[eL.ZE4.OVERLAY_UPDATE]:{scope:v_.hj,handler(e){let{args:{pid:t},socket:n}=e;if("number"!=typeof t||t<10)throw new b0.A({errorCode:eL.Lw6.INVALID_EVENT},"Invalid pid");return e=>{let{prevState:i,dispatch:r}=e,s=OC.default.enabled,a=!0,o=n.application.id;if(null!=o){let e=lQ.A.getActiveLibraryApplication(o);null!=e&&(s=s&&e.isOverlayEnabled()),a=CC.default.isLocked(t)}let l={enabled:s,locked:a};return im().isEqual(l,i)||r(l),l}}}},D8={[eL.ZE4.QUEST_ENROLLMENT_STATUS_UPDATE]:{scope:bW.F.IDENTIFY,validation:e=>b4(e).required().keys({quest_id:e.string().required()}),handler:function(e){let{args:{quest_id:t},socket:n}=e,i=ov.A.getQuest(t),r=(0,bG.TP)(i);if(null==i||null==r||r!==n.application.id)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},`Quest not found: ${t}`)}}};var D9=n(546983);let Le=(g=D9.l6,A=D9.Au,{[eL.ZE4.VOICE_SETTINGS_UPDATE]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_READ]},handler:()=>e=>{let{prevState:t,dispatch:n}=e,i=g();return im().isEqual(i,t)||n(i),i}},[eL.ZE4.VOICE_SETTINGS_UPDATE_2]:{scope:v_.hj,handler(e){let{socket:t}=e;return e=>{let{prevState:n,dispatch:i}=e;if(null==t.application.id)return n;let r=A(t.application.id);return im().isEqual(r,n)||i(r),r}}}});var Lt=n(298990),Ln=n(334738),Li=n(181658);function Lr(e,t){return null!=e.application_id&&null==t.getApplicationActivity(e.application_id,!1)}var Ls=n(293588),La=n(383233);async function Lo(e,t,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",s=lJ.A.getApplicationActivity(t);if(null==s||null==s.secrets||!(0,bV.px)(i,s.party,s.secrets))throw new b0.A({errorCode:eL.Lw6.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure an activity includes a party and appropriate secret.");let a=Lr(s,l1.A);if(a){let{lock:t}=(0,D9.d5)(e);return(0,Lt.qf)(s,a).then(()=>{throw t(),new b0.A({errorCode:eL.Lw6.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure user does have have privacy enabled.")})}await lY.A.sendActivityInviteUser({userId:n,type:i,activity:s,content:r,location:"In-Game Invite"})}let Ll={[eL.e$_.SEND_ACTIVITY_JOIN_INVITE]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},handler(e){let{socket:t,args:{user_id:n,pid:i}}=e,r=t.application.id;if(null==r)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return Lo(i,r,n,eL.xL.JOIN)}},[eL.e$_.CLOSE_ACTIVITY_JOIN_REQUEST]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},handler(e){let{args:{user_id:t}}=e,n=ib.A.getDMFromUserId(t);null!=n&&(0,Ln.ack)(n,{section:eL.JJy.CLOSE_ACTIVITY_JOIN_REQUEST_RPC_COMMAND,object:eL.ZSU.ACK_DECLINE_REQUEST_TO_JOIN,objectType:eL.AnalyticsObjectTypes.ACK_SEMI_AUTOMATIC},!0,!0)}},[eL.e$_.ACTIVITY_INVITE_USER]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},validation:e=>b4(e).required().keys({user_id:e.string().required(),type:e.number().required().valid([eL.xL.JOIN]),content:e.string().min(0).max(1024),pid:e.number().min(0).required()}),handler(e){let{socket:t,args:{type:n,user_id:i,content:r,pid:s}}=e,a=t.application.id;if(null==a)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return Lo(s,a,i,n,r)}},[eL.e$_.ACCEPT_ACTIVITY_INVITE]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj]},validation:e=>b4(e).required().keys({type:e.number().required().valid([eL.xL.JOIN]),user_id:e.string().required(),session_id:e.string().required(),channel_id:e.string().required(),message_id:e.string().required(),application_id:e.string().optional()}),handler(e){let{socket:t,args:{type:n,user_id:i,session_id:r,channel_id:s,message_id:a,application_id:o}}=e,l=t.transport===v_.z4.IPC?o??t.application.id:t.application.id;if(null==l)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let u=Promise.resolve(!1);return n===eL.xL.JOIN&&(u=lW.Ay.join({userId:i,sessionId:r,applicationId:l,channelId:s,messageId:a})),u.then(e=>{if(!e)throw new b0.A({errorCode:eL.Lw6.INVALID_INVITE},"Invite is expired or invalid.")})}},[eL.e$_.OPEN_INVITE_DIALOG]:{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj,v_.VH]},handler(e){let{socket:t}=e,i=t.application;if(null==i.id)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let{channel:r,guild:s,frame:a}=Dl(),o=(0,D_.Ay)({application:t.application,channelId:r?.id}),l=null!=o?io.A.getWindow(o):void 0;l?.closed&&(l=void 0);let u=null!=l?eL.BRT.POPOUT:eL.BRT.APP;if((0,s1.sP)({},l?.document),null!=a){if(a.applicationId!==i.id)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"Application is not currently mounted.");let e=lJ.A.getApplicationActivity(i.id);if(null!=e)(0,Lt.qf)(e,!1,u);else throw new b0.A({errorCode:eL.Lw6.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure an activity was set using setActivity.")}else(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("81927"),n.e("42527"),n.e("59957"),n.e("28136"),n.e("16084"),n.e("36624"),n.e("22547")]).then(n.bind(n,1310));return t=>(0,U.jsx)(e,{...t,guild:s,channel:r,applicationId:i.id,analyticsLocation:eL.ThZ.ACTIVITY_RPC,source:eL.PE1.ACTIVITY_INVITE})},{contextKey:u===eL.BRT.POPOUT?Dd.KX:Dd.SY})}},[eL.e$_.INITIATE_IMAGE_UPLOAD]:bQ(eL.e$_.INITIATE_IMAGE_UPLOAD,{scope:{[v_.sm.ANY]:[bW.F.RPC,v_.hj,v_.VH]},handler(e){let{socket:t}=e,n=t.application.id;if(null==n)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let i=b1()?.id;return new Promise((e,t)=>{!function(e,t){let n;if((0,Dc.f)())n=io.A.getWindow(eL.MLl.ACTIVITY_POPOUT);else{let e=nd.A.getLastFocusedWindowId();n=null==e?null:(0,t7.Iy)(e)?.renderWindow}if(null==n)throw new b0.A({errorCode:eL.Lw6.UNKNOWN_ERROR},"No valid window found");let i=n.document.createElement("input");i.style.display="none",i.type="file",i.accept="image/jpeg, image/jpg, image/png, image/gif";let r=()=>{(null==i.files||0===i.files.length)&&t(),n.document.body.removeEventListener("focus",r,!0),setTimeout(()=>{n.document.body.removeChild(i)},1e3)};i.addEventListener("change",()=>{(0,ix.Vq)(i.files)&&e(i.files[0]),r()}),i.addEventListener("cancel",()=>{r()}),n.document.body.addEventListener("focus",r,!0),n.document.body.appendChild(i),i.click()}(async r=>{let s=await (0,ao.CS)(n,i,r);(0,ix.Vq)(s)&&(0,ix.Vq)(s.url)&&!(s instanceof Li.A)?e({image_url:s.url}):t(s)},()=>t(Error("Upload canceled")))}).catch(e=>{throw new b0.A({errorCode:eL.Lw6.UNKNOWN_ERROR},e?.message??"Failed to upload image")})}}),[eL.e$_.OPEN_SHARE_MOMENT_DIALOG]:bQ(eL.e$_.OPEN_SHARE_MOMENT_DIALOG,{scope:{[v_.sm.ANY]:[v_.VH]},handler(e){let{socket:t,args:{mediaUrl:i}}=e;(0,bV.lG)(t.transport);let r=t.application.id;if(null==r)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");if(!(0,bJ.n)(t.application,eL.gfo.EMBEDDED))throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"This application cannot access this API");let s=b1();if(!eG.A.isDiscordCdnUrl(i))throw new b0.A({errorCode:eL.Lw6.INVALID_PAYLOAD},"mediaUrl must be a Discord CDN url");!function(e){let{applicationId:t,channelId:i,mediaUrl:r}=e,s=rD.A.getApplication(t),a=null!=(0,D_.Ay)({application:s,channelId:i})?Dd.KX:Dd.SY;(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("46776"),n.e("22822"),n.e("22230"),n.e("44780"),n.e("36946"),n.e("92639"),n.e("40963"),n.e("90480"),n.e("66031"),n.e("94317"),n.e("21743")]).then(n.bind(n,190930));return n=>(0,U.jsx)(e,{applicationId:t,mediaUrl:r,...n})},{modalKey:"activity-share-moment-modal",contextKey:a})}({applicationId:r,channelId:s?.id,mediaUrl:i})}}),[eL.e$_.SHARE_INTERACTION]:bQ(eL.e$_.SHARE_INTERACTION,{scope:{[v_.sm.ANY]:[v_.VH,v_.hj]},handler(e){let t,{socket:n,args:{command:i,preview_image:r,components:s,require_launch_channel:a,content:o,options:l,pid:u}}=e,c=n.application.id;if(null==c)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");if(!bY.mO.includes(c))throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"Unsupported application.");if(!(0,bJ.n)(n.application,eL.gfo.EMBEDDED))throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"This application cannot access this API");let d=b1();if(null==d&&a)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No channel found");if(null!==r||null!==s||null!==o){let e=[];void 0!==r&&(e=[{id:SE.default.cast(SE.default.fromTimestamp(Date.now())),size:0,proxy_url:r.url,filename:"preview",url:r.url,height:r.height,width:r.width}]),t=new La.Ay({id:SE.default.cast(SE.default.fromTimestamp(Date.now())),applicationId:c,content:o,components:s,attachments:e})}return new Promise(e=>{let n=!1,r=(0,D9.d5)(u),s=Dd.SY;(io.A.getWindowOpen(eL.MLl.ACTIVITY_POPOUT)||r.context===eL.BRT.POPOUT)&&(s=Dd.KX),(0,Ls.m)({applicationId:c,channel:d,command:{name:i,options:l},requireLaunchChannel:!0===a,onShareResult:t=>{n||(n=t),r.lock(),e({success:n})},previewMessage:t,contextKey:s})})}})};var Lu=n(469778);let Lc=10*n5.A.Millis.SECOND,Ld={[eL.e$_.VALIDATE_APPLICATION]:{scope:v_.hj,handler(e){let{socket:t}=e,i=t.application.id;try{var r;let e;if(null==i)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let t=rD.A.getApplication(i);if(null==t)throw new b0.A({errorCode:eL.Lw6.INVALID_ENTITLEMENT},"SKU does not exist.");let n=t.primarySkuId;if(null==n)throw new b0.A({errorCode:eL.Lw6.INVALID_ENTITLEMENT},"SKU does not exist.");return Promise.race([(r=t.id,e=Lu.A.isEntitledToSku(tT.default.getCurrentUser(),n,r),null!=e?Promise.resolve(e):(0,DF.LM)(r).then(()=>!0===Lu.A.isEntitledToSku(tT.default.getCurrentUser(),n,r))).then(e=>{if(!e)throw new b0.A({errorCode:eL.Lw6.INVALID_ENTITLEMENT},"User does not have entitlement.")}),(0,n4.BK)(Lc).then(()=>{throw new b0.A({errorCode:eL.Lw6.INVALID_ENTITLEMENT},"Timed out fetching entitlement.")})])}catch(e){throw e.code===eL.Lw6.INVALID_ENTITLEMENT&&(tS.Ay.focus(null,!0),(0,nv.openModalLazy)(async()=>{let{default:e}=await n.e("26766").then(n.bind(n,448701));return t=>(0,U.jsx)(e,{...t,applicationId:i})})),e}}},[eL.e$_.GET_ENTITLEMENT_TICKET]:{scope:v_.hj,handler(e){let{socket:t}=e,i=t.application.id;if(null==i)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return eC.Bo.post({url:eL.Rsh.ENTITLEMENT_TICKET(i),body:{test_mode:(0,b6.F)(i)},retries:3,oldFormErrors:!0,rejectWithError:!1}).then(e=>{let{body:t}=e;return t}).catch(e=>{throw tS.Ay.focus(null,!0),(0,nv.openModalLazy)(async()=>{let{default:e}=await n.e("26766").then(n.bind(n,448701));return t=>(0,U.jsx)(e,{...t,applicationId:i})}),e})}}};var L_=n(887909),Lh=n(321987),Lf=n(595244),Lp=n(485845),LE=n(898467),Lm=n(224750),Lg=n(716965),LA=n(671523),LI=n(337095),LT=n(395671),LS=n(488926);let Ly="CachedTokens",LN={"1273616940451102832":new LE.A(2,+n5.A.Millis.MINUTE)};async function Lv(e,t,n){let i,r,s,a,o,{client_id:l,response_type:u="code",redirect_uri:c,code_challenge:d,code_challenge_method:_,state:h,nonce:f,scope:p,permissions:E,guild_id:m,channel_id:g,prompt:A,disable_guild_select:I,integration_type:T,pid:S,signal:y,isSocketRpcPrivateScope:N}=e;if(y?.aborted)throw new b0.A({errorCode:eL.Lw6.UNKNOWN_ERROR},"Request aborted");if(null==l)throw new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},"No Client ID provided");if(!N&&null!=c)throw new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},"Redirect URI cannot be used in the RPC OAuth2 Authorization flow");let v=[];if("string"==typeof p?v=p.split(" ").filter(e=>e.length>0):Array.isArray(p)&&(v=p),null==tT.default.getCurrentUser())throw new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},"Client is not logged in");if(null!=T)r=Number(T);else{let e=e=>(0,bJ.n)(e,eL.gfo.EMBEDDED)&&e?.integrationTypesConfig?.[Lp.b.USER_INSTALL]!=null,t=rD.A.getApplication(l);r=e(t)||e(t=LT.Ay.createFromServer(await (0,LI.TA)(l,y)))?Lp.b.USER_INSTALL:Lp.b.GUILD_INSTALL}try{[s,{disclosures:a,allAcked:o}]=await Promise.all([(0,Lg.qY)({clientId:l,scopes:v,responseType:u,redirectUri:c,codeChallenge:d,codeChallengeMethod:_,state:h,integrationType:r,signal:y}),(0,Lm.vG)(l)])}catch(t){let{body:e}=t;throw new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},`OAuth2 Authorization Error: ${e?.message||"Unknown Error"}`)}if(A===LA.l.NONE&&null!=s&&s.authorized&&o)try{return(await (0,Lg.Gq)({authorize:!0,clientId:l,scopes:v,responseType:u,redirectUri:c,codeChallenge:d,codeChallengeMethod:_,state:h,nonce:f,integrationType:r})).location}catch(t){let{body:e}=t;throw new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},`OAuth2 Authorize Error: ${e?.message||"Unknown Error"}`)}n?.(s.application,g,S);let C=LS.x3;try{C=Ch.iu(E??0)}catch(e){}if(null!=s.integration_type&&Object.values(Lp.b).includes(s.integration_type)&&(i=new Map).set(s.integration_type,s),null!=LN[s.application.id]&&(await LN[s.application.id].process(),y?.aborted))throw new b0.A({errorCode:eL.Lw6.UNKNOWN_ERROR},"Request aborted");return t({clientId:l,authorizations:i,scopes:v,parsedPermissions:C,responseType:u,redirectUri:c,codeChallenge:d,codeChallengeMethod:_,state:h,guildId:m,channelId:g,prompt:A,disableGuildSelect:I,disclosures:a,integrationType:r,pid:S,signal:y})}function LC(e,t){if(e.authorization.accessToken)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"Already authenticated");if(e.authorization.authing)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"Already authenticating");return e.authorization.authing=!0,eC.Bo.get({url:eL.Rsh.OAUTH2_CURRENT_AUTH,headers:{Authorization:`Bearer ${t}`},oldFormErrors:!0,rejectWithError:!1}).then(n=>{e.authorization.authing=!1;let{application:i,user:r,scopes:s,expires:a}=n.body;if(e.application.id!==i.id)throw new b0.A({errorCode:eL.Lw6.INVALID_CLIENTID},"Application does not match the connection's");let o=tT.default.getCurrentUser();if(null==o||!r||o.id!==r.id)throw new b0.A({errorCode:eL.Lw6.INVALID_TOKEN},"Token does not match current user");return e.authorization.scopes=[...e.authorization.scopes,...s,v_.VH],e.authorization.accessToken=t,e.authorization.expires=new Date(a),ez.h.dispatch({type:"RPC_APP_AUTHENTICATED",socketId:e.id,application:e.application}),{...n.body,access_token:t}},()=>{throw new b0.A({errorCode:eL.Lw6.INVALID_TOKEN},`Invalid access token: ${t}`)}).catch(t=>{throw e.authorization.authing=!1,t})}let LR=(I=e=>{let{clientId:t,authorizations:n,scopes:i,parsedPermissions:r,responseType:s,redirectUri:a,codeChallenge:o,codeChallengeMethod:l,state:u,guildId:c,channelId:d,prompt:_,disableGuildSelect:h,disclosures:f,integrationType:p,pid:E,signal:m}=e,g=`OAuth2Authorize_${t}_${c}_${d}`,A=null!=p?n?.get(p):void 0,I=A?.application??rD.A.getApplication(t);return new Promise((e,A)=>{let T=(0,D9.d5)(E),S=Dd.SY;null!=I&&null!=(0,D_.Ay)({application:I,channelId:d})?S=Dd.KX:T.context===eL.BRT.POPOUT&&(S=Dd.KX);let y=!1,N=n=>{let{clientId:i,location:r}=n;if(null==i||i===t){if(y=!0,null==r){A(new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},"OAuth2 Error: No location provided")),T.lock();return}(e(r),null==a||null==I)?T.lock():null==new URL(r).searchParams.get("error")?(0,nv.openModal)(e=>(0,U.jsx)(Lf.Sm,{application:I,...e}),{onCloseCallback:()=>{T.lock()}},S):(0,nv.openModal)(e=>(0,U.jsx)(Lf.xb,{...e}),{onCloseCallback:()=>{T.lock()}},S)}},{cleanup:v}=function(e,t){function n(){(0,nv.closeModal)(e)&&(0,nv.openModal)(e=>(0,U.jsx)(Lh.f,{...e,title:na.intl.string(na.t.j2d6Km),subtitle:na.intl.string(na.t["4LKmN5"]),actions:[{text:na.intl.string(na.t.cpT0Cq),onClick:e.onClose}]}))}return t?.addEventListener("abort",n),{cleanup:function(){t?.removeEventListener("abort",n)}}}(g,m);(0,nv.openModal)(e=>(0,U.jsx)(L_.OAuth2AuthorizeModal,{...e,authorizations:n,clientId:t,scopes:i??[],disclosures:f??[],callback:N,responseType:s,redirectUri:a,codeChallenge:o,codeChallengeMethod:l,state:u,permissions:r,guildId:c,channelId:d,prompt:_,disableGuildSelect:"boolean"==typeof h?h:"true"===h,integrationType:p}),{modalKey:g,onCloseCallback:()=>{v(),y||(A(new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},"User cancelled authorization")),T.lock())}},S)})},T=function(e,t,n){if((0,D9.kS)(n)||!eU.isPlatformEmbedded)return;let i=(0,D_.Ay)({application:e,channelId:t});(0,eU.isWindows)()?tS.Ay.minimize(i):tS.Ay.restore(i),tS.Ay.focus(i)},{[eL.e$_.AUTHENTICATE]:bQ(eL.e$_.AUTHENTICATE,{handler(e){let{socket:t,signal:n,args:{access_token:i}}=e;if(null==i&&t.transport===v_.z4.IPC){let e=t.application.id;if(null==e)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let r=bW.F.IDENTIFY,s=()=>Lv({client_id:e,scope:r,response_type:"token",signal:n,isSocketRpcPrivateScope:!1},I,T).then(n=>{var i,r,s;let a;if(null==n)throw new b0.A({errorCode:eL.Lw6.UNKNOWN_ERROR},"Unknown error occurred");let o=n.split(/#|\?/),l=nm.parse(o[o.length-1]);if(null!=l.error)throw new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},`OAuth2 Error: ${l.error}: ${l.error_description??"unknown error"}`);return i=l.access_token,r=l.scope,s=l.expires_in,(a=tA.w.get(Ly)??{})[e]={accessToken:i,scope:r,expires:Date.now()+s},tA.w.set(Ly,a),LC(t,l.access_token)});return null!=(i=function(e,t){let n=tA.w.get(Ly);if(null!=n&&null!=n[e]){let i=n[e];if(!(i.scope!==t||i.expires<=Date.now()))return i.accessToken;delete n[e],tA.w.set(Ly,n)}}(e,r))?LC(t,i).catch(()=>{let t;return t=tA.w.get(Ly)??{},delete t[e],tA.w.set(Ly,t),s()}):s()}if(null==i)throw new b0.A({errorCode:eL.Lw6.INVALID_TOKEN},"No access token provided");return LC(t,i)}}),[eL.e$_.AUTHORIZE]:{handler(e){let{socket:t,signal:n,args:i}=e,r=i.client_id;if(!r)throw new b0.A({errorCode:eL.Lw6.INVALID_CLIENTID},"No client id provided");if(null!=t.authorization.accessToken)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"Already authenticated");if(t.authorization.authing)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"Already authing");if(t.authorization.authing=!0,"token"===i.response_type)throw t.authorization.authing=!1,new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},'Authorization response_type "token" is not supported');let s=t.authorization.scopes.includes(v_.LQ);if(!s&&t.application.id!==r)throw t.authorization.authing=!1,new b0.A({errorCode:eL.Lw6.INVALID_CLIENTID},"Application does not match the connection's");let a=i.scopes||i.scope;return delete i.scopes,Lv({...i,scope:a,signal:n,isSocketRpcPrivateScope:s},I,T).then(e=>{if(t.authorization.authing=!1,null==e)throw new b0.A({errorCode:eL.Lw6.UNKNOWN_ERROR},"Unknown error occurred");let n=new URL(e),i=n.searchParams.get("code");if(s)return{code:i,location:e};let r=n.searchParams.get("error");if(null!=r&&""!==r){let e=n.searchParams.get("error_description")??"unknown error";throw new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},`OAuth2 Error: ${r}: ${e}`)}if(null==i)throw new b0.A({errorCode:eL.Lw6.OAUTH2_ERROR},"OAuth2 Error: Unable to find auth code");return{code:i}}).catch(e=>{throw t.authorization.authing=!1,e})}}});var LO=n(845187);let Lb="activity-hardware-acceleration-modal",LD={[eL.e$_.ENCOURAGE_HW_ACCELERATION]:{validation:e=>b4(e),handler(e){let{socket:t}=e;(0,bV.lG)(t.transport);let i=t.application.id;if(null!=i)return af.Ay.disableActivityHardwareAccelerationPrompt||!eU.isPlatformEmbedded||tS.Ay.getEnableHardwareAcceleration()||(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.resolve().then(n.bind(n,845187));return t=>(0,U.jsx)(e,{applicationId:i,...t})},{modalKey:Lb,onCloseRequest:()=>{ew.default.track(eL.HAw.MODAL_DISMISSED,{type:LO.a}),(0,nv.closeModal)(Lb)}}),{enabled:tS.Ay.getEnableHardwareAcceleration()}}}};var LL=n(43203);let Lw={[eL.e$_.OPEN_MESSAGE]:{scope:v_.hj,handler(e){let{args:{guild_id:t,channel_id:n,message_id:i,pid:r}}=e;(0,D9.d5)(r).context===eL.BRT.OVERLAY?ez.h.dispatch({type:"OVERLAY_OPEN_MESSAGE",guildId:t,channelId:n,messageId:i}):((0,uV.bG)({pathname:eL.BVt.CHANNEL(t,n,i)}),tS.Ay.focus())}}},LM=new tb.A("RPCCommandsOverlay"),LP={[eL.e$_.SET_OVERLAY_LOCKED]:{scope:v_.hj,validation:e=>b4(e).required().keys({locked:e.boolean().required(),pid:e.number().min(0).required()}),handler(e){let{args:{locked:t,pid:n},socket:{application:i}}=e;if(LM.verbose("RPCCommands.SET_OVERLAY_LOCKED",{locked:t,pid:n}),null==i.id)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");Oh.A.setInputLocked(t,n)}},[eL.e$_.OPEN_OVERLAY_ACTIVITY_INVITE]:{scope:v_.hj,validation:e=>b4(e).required().keys({type:e.number().required().valid([eL.xL.JOIN]),pid:e.number().min(0).required()}),handler(e){let{socket:t,args:{type:n,pid:i}}=e,r=t.application.id;if(null==r)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let s=lJ.A.getApplicationActivity(r);if(null==s||null==s.secrets||!(0,bV.px)(n,s.party,s.secrets))throw new b0.A({errorCode:eL.Lw6.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure an activity includes a party and appropriate secret.");let{lock:a,context:o}=(0,D9.d5)(i),l=Lr(s,l1.A);return(0,Lt.qf)(s,l,o).then(()=>{if(a(),l)throw new b0.A({errorCode:eL.Lw6.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure user does have have privacy enabled.")})}},[eL.e$_.OPEN_OVERLAY_GUILD_INVITE]:{scope:v_.hj,validation:e=>b4(e).required().keys({code:e.string().required(),pid:e.number().min(0).required()}),handler(e){let{args:{code:t,pid:n},socket:i}=e;if(null==i.application.id)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return R4.Ay.resolveInvite(t,"Game SDK").then(e=>{let{invite:t,code:i}=e;if(null==t)throw new b0.A({errorCode:eL.Lw6.INVALID_INVITE},`Invalid invite id: ${i}`);let{context:r,lock:s}=(0,D9.d5)(n);return new Promise(e=>{ez.h.dispatch({type:"INVITE_MODAL_OPEN",invite:t,code:i,context:r,resolve:e})}).then(s)})}},[eL.e$_.OPEN_OVERLAY_VOICE_SETTINGS]:{scope:v_.hj,validation:e=>b4(e).required().keys({pid:e.number().min(0).required()}),handler(e){let{args:{pid:t},socket:i}=e,r=i.application.id;if(null==r)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let{lock:s,context:a}=(0,D9.d5)(t);return new Promise(e=>{(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("3633"),n.e("81927"),n.e("28367"),n.e("25246"),n.e("97162"),n.e("46327"),n.e("96531")]).then(n.bind(n,880510));return t=>(0,U.jsx)(e,{...t,mediaEngineContext:r,subtitle:i.application.name??void 0})},{contextKey:a===eL.BRT.POPOUT?Dd.KX:Dd.SY,onCloseCallback:()=>{s(),e()}})})}}};var Lx=n(835245),Lk=n(6981),LU=n(956549),LG=n(257269),LF=n(753390),LV=n(121623),LB=n(224640),LH=n(20742),Lj=n(430993),LY=n(696208);function LW(e){let{title:t,subtitle:n,body:i,actions:r}=function(e){let{token:t,onClose:n}=e,[i,r]=e8.useState("loading");e8.useEffect(()=>{ew.default.track(eL.HAw.ONE_TIME_LOGIN_MODAL_OPENED,{has_token:null!=t})},[t]);let s=e8.useCallback(async()=>{try{if(null==t){r("error"),ew.default.track(eL.HAw.ONE_TIME_LOGIN_ERROR,{source:"web_modal",error_reason:"missing_token",error_message:"No token provided"});return}r("loading"),ew.default.track(eL.HAw.ONE_TIME_LOGIN_ATTEMPTED,{source:"web_modal"}),await nC.A.oneTimeLogin(t),r("success"),ew.default.track(eL.HAw.LOGIN_SUCCESSFUL,{source:"web_modal",login_method:"one_time_login"})}catch(t){r("error");let e=t instanceof Error?t.message:"Login failed";ew.default.track(eL.HAw.ONE_TIME_LOGIN_ERROR,{source:"web_modal",error_reason:"api_error",error_message:e})}},[t]);e8.useEffect(()=>{s()},[s]);let a=e8.useCallback(()=>{ew.default.track(eL.HAw.ONE_TIME_LOGIN_MODAL_CANCEL_CLICKED,{current_state:i}),n?.()},[n,i]);switch(e8.useEffect(()=>{"success"===i&&(n?.(),(0,uV.pX)(eL.BVt.ME))},[i,n]),i){case"loading":case"success":return{title:na.intl.string(na.t.W9uNdG),body:(0,U.jsx)(nk.CK,{})};case"error":return{title:na.intl.string(na.t.RtCSr1),subtitle:na.intl.string(na.t["S+YjYJ"]),actions:[{onClick:a,text:na.intl.string(na.t["ETE/oC"])}]};default:return{}}}(e);return(0,U.jsxs)(LB.d,{...e,onClose:()=>Promise.resolve(e.onClose?.()),size:"sm","aria-label":t,children:[(0,U.jsx)(LH.rQ,{title:t??"",subtitle:n}),(0,U.jsx)(Lj.c,{children:i}),(0,U.jsx)(LY.H,{actions:r??[],actionsFullWidth:!0})]})}function LK(e){(0,nv.openModalLazy)(()=>Promise.resolve(t=>(0,U.jsx)(LW,{...t,...e})))}function L$(e,t){let{fingerprint:n,installationId:i}=e;(null!=n||null!=i)&&ew.default.track(eL.HAw.EXTERNAL_DYNAMIC_LINK_RECEIVED,{invite_code:null,has_auth_token:null,is_backgrounded:null,fingerprint:null!=n?(0,nT.d)(n):null,received_installation_id:i,link_type:t})}let Lz={[eL.e$_.INVITE_BROWSER]:{scope:v_.LQ,async handler(e){let{args:{code:t,...n}}=e;return await (0,LL.$)(t,"Desktop Modal",n)}},[eL.e$_.GUILD_TEMPLATE_BROWSER]:{scope:v_.LQ,async handler(e){let{args:{code:t}}=e;if(null==tT.default.getCurrentUser())return;let{guildTemplate:i}=await LV.A.resolveGuildTemplate(t);if(null==i)throw new b0.A({errorCode:eL.Lw6.INVALID_GUILD_TEMPLATE},`Invalid guild template id: ${t}`);return tS.Ay.focus(),(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("61949"),n.e("89156"),n.e("81927"),n.e("99430"),n.e("72465"),n.e("88599"),n.e("83952"),n.e("82486"),n.e("19580"),n.e("16198"),n.e("69771")]).then(n.bind(n,72715));return t=>(0,U.jsx)(e,{...t,guildTemplate:i})}),{guildTemplate:i,code:t}}},[eL.e$_.GIFT_CODE_BROWSER]:{scope:v_.LQ,handler(e){let{args:{code:t}}=e;return new Promise((e,i)=>{ez.h.wait(()=>{nO.A.resolveGiftCode(t,!0,!0).then(i=>{let{giftCode:r}=i;tS.Ay.focus(),ew.default.track(eL.HAw.OPEN_MODAL,{type:"gift_accept",location:eL.$OG}),(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("73646"),n.e("10471"),n.e("62156"),n.e("98329"),n.e("7200")]).then(n.bind(n,361845));return n=>(0,U.jsx)(e,{code:t,...n})}),e({giftCode:r})}).catch(()=>i(new b0.A({errorCode:eL.Lw6.INVALID_GIFT_CODE},`Invalid gift code: ${t}`)))})})}},[eL.e$_.DEEP_LINK]:{scope:{[v_.sm.ANY]:[v_.LQ,v_.hj]},handler(e){let{args:{type:t,params:i}}=e;switch(tS.Ay.focus(),t){case v_.XK.USER_SETTINGS:null!=i&&(0,R6.B)(()=>{let e=eL.BVt.SETTINGS(i.section,i.subsection),n=(0,S_.parseSettingsUrl)({path:e,search:i.search});(0,S_.trackParseSettingsUrl)(n,"deeplink"),(0,i7.openUserSettings)(n.target,{path:n.path,searchParams:n.params}),L$(i,(0,v_.OE)(t))});break;case v_.XK.CHANGELOG:null!=i&&((0,uV.pX)(eG.A.formatPathWithQuery(eL.BVt.CHANGELOGS(i.date),i.query)),L$(i,(0,v_.OE)(t)));break;case v_.XK.LIBRARY:(0,uV.pX)(eL.BVt.APPLICATION_LIBRARY),null!=i&&L$(i,(0,v_.OE)(t));break;case v_.XK.STORE_HOME:(0,uV.pX)(eL.BVt.APPLICATION_STORE),null!=i&&L$(i,(0,v_.OE)(t));break;case v_.XK.STORE_LISTING:null!=i&&((0,uV.pX)(eL.BVt.APPLICATION_STORE_LISTING_SKU(i.skuId,i.slug)),L$(i,(0,v_.OE)(t)));break;case v_.XK.PICK_GUILD_SETTINGS:null!=i&&((0,uV.pX)(eL.BVt.PICK_GUILD_SETTINGS(i.section,i.subsection),{search:i.search}),L$(i,(0,v_.OE)(t)));break;case v_.XK.CHANNEL:null!=i&&((0,uV.pX)(eL.BVt.CHANNEL(i.guildId,i.channelId,i.messageId),{search:i.search}),L$(i,(0,v_.OE)(t)));break;case v_.XK.GAME_SHOP:null!=i&&((0,uV.pX)(eL.BVt.CHANNELS_GAME_SHOP(i.guildId,i.pageIndex,i.skuId,i.slug)),L$(i,(0,v_.OE)(t)));break;case v_.XK.QUEST_HOME:if(null!=i){let e=new URLSearchParams;null!=i.sort&&e.set(oR.L1.SORT,i.sort),null!=i.filter&&e.set(oR.L1.FILTER,i.filter),null!=i.tab&&e.set(oR.L1.TAB,i.tab),null!=i.adCreativeIds&&e.set(oR.L1.AD_CREATIVE_IDS,i.adCreativeIds),(0,uV.pX)(eL.BVt.QUEST_HOME,{hash:i.questId,search:`?${e.toString()}`}),L$(i,(0,v_.OE)(t))}else(0,uV.pX)(eL.BVt.QUEST_HOME);break;case v_.XK.QUEST_PREVIEW_TOOL:if(null!=i){let e=new URLSearchParams;e.set(oR.L1.TAB,oR.NC.PREVIEW_TOOL),null!=i.questId&&e.set(oR.L1.QUEST_ID,i.questId),(0,uV.pX)(eL.BVt.QUEST_HOME,{search:`?${e.toString()}`}),L$(i,(0,v_.OE)(t))}break;case v_.XK.DISCOVERY_GAME_RESULTS:null!=i&&((0,uV.pX)(eL.BVt.GLOBAL_DISCOVERY_SERVERS,{search:`?game=${i.gameId}`}),L$(i,(0,v_.OE)(t)));break;case v_.XK.OAUTH2:let r=new URL(eL.BVt.OAUTH2_AUTHORIZE,window.location.origin);r.search=i.search;let s=(0,L_.getOAuth2AuthorizeProps)(r.toString());if(null!=s)return(0,L_.openOAuth2ModalWithCreateGuildModal)(s),!0;return!1;case v_.XK.ONE_TIME_LOGIN:if(null!=i)return LK({token:i.token}),L$(i,(0,v_.OE)(t)),!0;return!1;case v_.XK.SHOP:null!=i&&((0,uV.pX)(eL.BVt.COLLECTIBLES_SHOP,{search:i.search}),L$(i,(0,v_.OE)(t)));break;case v_.XK.FEATURES:i?.path!=null&&((0,uV.pX)(i.path),L$(i,(0,v_.OE)(t)));break;case v_.XK.ACTIVITIES:if(null!=i){let e=i.attemptId||(0,Lx.A)();return async function(e,t,n){try{let i=iI.Ay.getCurrentEmbeddedActivity();if(i?.applicationId===e)return void ew.default.track(eL.HAw.ACTIVITY_DEEP_LINK_RECEIVED,{application_id:e,success:!1,failure_reason:"activity_already_running",attempt_id:n});let r=await o5.Ay.fetchApplication(e),s=r?.bot?.id;if(null==s)return void ew.default.track(eL.HAw.ACTIVITY_DEEP_LINK_RECEIVED,{application_id:e,success:!1,failure_reason:"no_bot_user",attempt_id:n});let a=await ui.A.openPrivateChannel({recipientIds:s}),o=new URL(t),l=o.searchParams.get("referrer_id")??void 0,{customId:u}=await (0,LG.d9)(e,o.searchParams.get("link_id"),o.searchParams.get("custom_id"));await (0,LU.A)({targetApplicationId:e,channelId:a,analyticsLocations:[ii.A.DEEPLINK],customId:u,referrerId:l}),ew.default.track(eL.HAw.ACTIVITY_DEEP_LINK_RECEIVED,{application_id:e,success:!0,failure_reason:null,attempt_id:n})}catch(t){ew.default.track(eL.HAw.ACTIVITY_DEEP_LINK_RECEIVED,{application_id:e,success:!1,failure_reason:"launch_failed",attempt_id:n})}}(i.applicationId,i.url,e),L$(i,(0,v_.OE)(t)),!0}return!1;case v_.XK.PLAYGROUND:if(null!=i){let{openPlayground:e}=n(965042);e(i.collection,i.story),L$(i,(0,v_.OE)(t))}}}},[eL.e$_.BROWSER_HANDOFF]:{scope:v_.kw,handler(e){let{args:{handoffToken:t,fingerprint:n}}=e;tS.Ay.focus(null,!0),(0,Lk.mZ)(t,n)}},[eL.e$_.CONNECTIONS_CALLBACK]:{scope:v_.LQ,handler:async e=>{let{args:{providerType:t,code:n,openid_params:i,iss:r,state:s}}=e;if(!lq.A.hasPendingAuthorizedState(s))throw new b0.A({errorCode:eL.Lw6.INVALID_CONNECTION_CALLBACK_STATE},"Provider authorization did not originate from this discord client");try{return lq.A.deletePendingAuthorizedState(s),await DS.A.callback(t,{code:n,openid_params:i,iss:r,state:s})}catch(e){if(e?.status===400)throw new b0.A({errorCode:eL.Lw6.BAD_REQUEST_FOR_PROVIDER},"Bad request for provider");throw aI._.dispatch(eL.jej.CONNECTIONS_CALLBACK_ERROR),e}}},[eL.e$_.BRAINTREE_POPUP_BRIDGE_CALLBACK]:{scope:v_.LQ,handler(e){let{args:{state:t,path:n,query:i}}=e;return(0,LF.re)({paymentSourceType:eL.hes.PAYPAL,state:t,path:n,query:i})}},[eL.e$_.BILLING_POPUP_BRIDGE_CALLBACK]:{scope:v_.LQ,handler(e){let{args:{state:t,path:n,query:i,payment_source_type:r}}=e;return(0,LF.re)({paymentSourceType:r,state:t,path:n,query:i})}}},Lq={[eL.e$_.SET_SUPPRESS_NOTIFICATIONS]:{scope:v_.hj,handler(e){let{socket:t,args:{suppress_notifications:n,target_user_id:i}}=e;ez.h.dispatch({type:"SET_RPC_NOTIFICATION_SETTINGS",socketId:t.id,suppressNotifications:n,targetUserId:i})}}},LX=[ii.A.RPC];function LZ(e,t){let n={subscriptionTier:cu.pe.TIER_2,analyticsLocations:LX,analyticsObject:t};switch(e){case eL.BRT.APP:return bS.A.openPremiumPaymentModalInApp(n);case eL.BRT.OVERLAY:return bS.A.openPremiumPaymentModalInOverlay(n);default:throw Error(`Unexpected app context: ${e}`)}}let LQ={[eL.e$_.START_PURCHASE]:{[v_.sm.ANY]:[v_.VH,v_.hj],validation:e=>b4(e).required().keys({sku_id:e.string().required(),pid:e.number().min(0)}),handler(e){let{socket:t,args:{sku_id:i,pid:r}}=e;Dj(t.transport);let s=t.application.id;if(null==s)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let{lock:a,context:o}=(0,D9.d5)(t.transport!==v_.z4.POST_MESSAGE?r:null);if(null==b1())throw new b0.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Invalid channel");let l={page:eL.liQ.IN_APP};return(async()=>{try{let{openIAPPurchaseModal:e}=await Promise.all([n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("31329"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("6174"),n.e("91146"),n.e("46070"),n.e("23608"),n.e("44571"),n.e("87439"),n.e("62075")]).then(n.bind(n,4630)),t=await e({applicationId:s,skuId:i,openPremiumPaymentModal:()=>LZ(o,l),analyticsLocations:LX,analyticsLocationObject:l,context:o});return a(),t}catch(e){if(a(),null!=e){let t="";throw t="object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:"string"==typeof e?e:JSON.stringify(e),new b0.A({errorCode:eL.Lw6.PURCHASE_ERROR},t)}throw new b0.A({errorCode:eL.Lw6.PURCHASE_CANCELED},"Purchase was canceled by the user.")}})()}},[eL.e$_.START_PREMIUM_PURCHASE]:{[v_.sm.ANY]:[v_.VH,v_.hj],validation:e=>b4(e).keys({pid:e.number().min(0)}),handler(e){let{socket:t,args:{pid:n}}=e;if(Dj(t.transport),null==t.application.id)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let{lock:i,context:r}=(0,D9.d5)(t.transport!==v_.z4.POST_MESSAGE?n:null);return LZ(r,{page:eL.liQ.IN_APP}).then(()=>{i()},e=>{if(i(),null!=e)throw new b0.A({errorCode:eL.Lw6.PURCHASE_ERROR},e);throw new b0.A({errorCode:eL.Lw6.PURCHASE_CANCELED},"Purchase was canceled by the user.")})}}},LJ={[eL.e$_.SEND_GENERIC_EVENT]:{handler(e){throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},`Deprecated command: ${e.cmd}`)}}},L0={[eL.e$_.TOGGLE_VIDEO]:{scope:{[v_.sm.ALL]:[bW.F.RPC,bW.F.RPC_VIDEO_WRITE]},handler(){let e=tI.Ay.isVideoEnabled();null!=(0,DU.A)()&&(e?is.A.setVideoEnabled(!1):(0,y5.A)(()=>is.A.setVideoEnabled(!0),eL.BRT.APP))}},[eL.e$_.TOGGLE_SCREENSHARE]:{scope:{[v_.sm.ALL]:[bW.F.RPC,bW.F.RPC_SCREENSHARE_WRITE]},validation:e=>b4(e).optional().keys({pid:e.number().optional().min(0)}),handler(e){let{args:{pid:t}}=e,i=iO.A.getCurrentUserActiveStream(),r=iO.A.getStreamerActiveStreamMetadata(),s=(0,Sv.A)(ia.Ay,SC.A),a=(0,DU.A)();null!=a&&(null!=t&&null!=r&&r.pid!==t&&(0,eU.isWindows)()?(0,ox.XI)(a.guild_id,a.id,{pid:t}):null!=i?(0,ox.nO)(!1):null!=t&&(0,eU.isWindows)()?(0,ox.XI)(a.guild_id,a.id,{pid:t}):null!=s?(0,ox.XI)(a.guild_id,a.id,{pid:s.pid}):(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("97549"),n.e("17918"),n.e("76171"),n.e("86672"),n.e("38601"),n.e("36946"),n.e("44727"),n.e("6565"),n.e("14304"),n.e("76229")]).then(n.bind(n,477156));return t=>(0,U.jsx)(e,{...t,analyticsLocations:[ii.A.RPC]})}))}}};var L1=n(350535);function L2(e){let t=e.application.id;if(null==t)throw new b0.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return t}let L3={[eL.e$_.SET_VOICE_SETTINGS_2]:{scope:v_.hj,validation:e=>b4(e).required().keys({input_mode:b4(e).keys({type:e.string().valid(Object.keys(eL.TBI)),shortcut:e.string().required()}),self_mute:e.boolean(),self_deaf:e.boolean()}),handler(e){let{socket:t,args:{input_mode:n,self_mute:i,self_deaf:r}}=e,s=L2(t);null!=n&&is.A.setMode(n.type,{shortcut:(0,L1.OH)(n.shortcut)},s),null!=i&&i!==tI.Ay.isSelfMute(s)&&is.A.toggleSelfMute({context:s}),null!=r&&r!==tI.Ay.isSelfDeaf(s)&&is.A.toggleSelfDeaf({context:s})}},[eL.e$_.SET_USER_VOICE_SETTINGS_2]:{scope:v_.hj,validation:e=>b4(e).required().keys({user_id:e.string().required(),volume:e.number().min(0).max(200),mute:e.boolean()}),handler(e){let{socket:t,args:{user_id:n,mute:i,volume:r}}=e,s=L2(t);null!=i&&i!==tI.Ay.isLocalMute(n,s)&&is.A.toggleLocalMute(n,s),null!=r&&is.A.setLocalVolume(n,r,s)}},[eL.e$_.PUSH_TO_TALK]:{scope:{[v_.sm.ALL]:[bW.F.RPC,bW.F.RPC_VOICE_WRITE]},validation:e=>b4(e).required().keys({active:e.boolean()}),handler(e){let{args:{active:t}}=e;tI.Ay.getMode(il.x.DEFAULT)===eL.TBI.PUSH_TO_TALK&&(0,OT.N)(t)}}},L6={[eL.e$_.SET_USER_VOICE_SETTINGS]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_WRITE]},validation:e=>b4(e).required().keys({user_id:e.string().required(),pan:b4(e).keys({left:e.number().min(0).max(1).required(),right:e.number().min(0).max(1).required()}),volume:e.number().min(0).max(200),mute:e.boolean()}),handler(e){let{args:{user_id:t,pan:n,volume:i,mute:r}}=e,s=tT.default.getCurrentUser();if(null==tT.default.getUser(t)||s?.id===t)throw new b0.A({errorCode:eL.Lw6.INVALID_USER},`Invalid user id: ${t}`);if(null!=n&&is.A.setLocalPan(t,n.left,n.right),null!=i&&is.A.setLocalVolume(t,i),null!=r){let e=tI.Ay.isLocalMute(t);(e&&!r||!e&&r)&&is.A.toggleLocalMute(t)}return{user_id:t,pan:tI.Ay.getLocalPan(t),volume:tI.Ay.getLocalVolume(t),mute:tI.Ay.isLocalMute(t)}}},[eL.e$_.GET_VOICE_SETTINGS]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_READ]},handler:()=>(0,D9.l6)()},[eL.e$_.SET_VOICE_SETTINGS]:{scope:{[v_.sm.ANY]:[bW.F.RPC,bW.F.RPC_VOICE_WRITE]},validation:e=>b4(e).required().keys({input:b4(e).keys({device_id:e.string().valid(Object.keys(tI.Ay.getInputDevices())),volume:e.number().min(0).max(100)}),output:b4(e).keys({device_id:e.string().valid(Object.keys(tI.Ay.getOutputDevices())),volume:e.number().min(0).max(200)}),mode:b4(e).keys({type:e.string().valid(Object.keys(eL.TBI)),auto_threshold:e.boolean(),threshold:e.number().min(-100).max(0),shortcut:e.array().items(b4(e).keys({type:e.number().min(0).max(3).required(),code:e.number().required(),name:e.string()})),delay:e.number().min(0).max(2e3)}),automatic_gain_control:e.boolean(),echo_cancellation:e.boolean(),noise_suppression:e.boolean(),qos:e.boolean(),silence_warning:e.boolean(),deaf:e.boolean(),mute:e.boolean()}),handler(e){let{args:{input:t,output:n,mode:i,automatic_gain_control:r,echo_cancellation:s,noise_suppression:a,qos:o,silence_warning:l,deaf:u,mute:c}}=e;if(t&&(null!=t.device_id&&is.A.setInputDevice(t.device_id),null!=t.volume&&is.A.setInputVolume(t.volume)),n&&(null!=n.device_id&&is.A.setOutputDevice(n.device_id),null!=n.volume&&is.A.setOutputVolume(n.volume)),i){let e=tI.Ay.getMode(),t=tI.Ay.getModeOptions();null!=i.type&&(e=i.type),null!=i.auto_threshold&&(t.autoThreshold=i.auto_threshold),null!=i.threshold&&(t.threshold=i.threshold),null!=i.shortcut&&(t.shortcut=i.shortcut.map(e=>[e.type,e.code])),null!=i.delay&&(t.delay=i.delay),is.A.setMode(e,t)}if(null!=r&&is.A.setAutomaticGainControl(r),null!=s&&is.A.setEchoCancellation(s),null!=a&&is.A.setNoiseSuppression(a),null!=o&&is.A.setQoS(o),null!=l&&is.A.setSilenceWarning(l),null!=u){let e=tI.Ay.isSelfDeaf();(e&&!u||!e&&u)&&is.A.toggleSelfDeaf()}if(null!=c){let e=tI.Ay.isSelfMute();(e&&!c||!e&&c)&&is.A.toggleSelfMute()}return(0,D9.l6)()}}};var L4=n(111162),L5=n(861621),L7=n(440454);let L8=10*n5.A.Millis.SECOND,L9=new Map,we=new Set,wt=(e,t,n)=>{n([L7.A.CLOSE,t],e)};class wn extends eX.EventEmitter{validateSocketClient;logger;createPostMessageProxySocket;onFrameHandled;handshakeFailureTimeoutId;constructor(e,t,n,i){super(),aI._.subscribe(eL.jej.IFRAME_MOUNT,this.handleIFrameMount),aI._.subscribe(eL.jej.IFRAME_UNMOUNT,this.handleIFrameUnmount),this.validateSocketClient=e,this.logger=t,this.createPostMessageProxySocket=n,this.onFrameHandled=i}disconnectSocket=(()=>{var e=this;return function(t,n){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.emit("disconnect",t,i?void 0:n),t.close(n.code,n.message??"Unknown");let[r]=Array.from(L9.entries()).find(e=>{let[n,i]=e;return i===t})??[null,null];null!=r&&L9.delete(r)}})();handleIFrameMount=e=>{let{id:t}=e;we.add(t),this.handshakeFailureTimeoutId=setTimeout(()=>{Array.from(iI.Ay.getSelfEmbeddedActivities().entries()).forEach(e=>{let[t,n]=e;ew.default.track(eL.HAw.ACTIVITY_HANDSHAKE_TIMED_OUT,{application_id:t,channel_id:(0,iT.H)(n.location),guild_id:(0,iT.D)(n.location),timeout_ms:L8})})},L8)};handleIFrameUnmount=e=>{let{id:t}=e;we.delete(t);let[n,i]=Array.from(L9.entries()).find(e=>{let[n,i]=e;return i.frameId===t})??[null,null];null!=i&&null!=n&&(this.disconnectSocket(i,{code:eL.YI$.CLOSE_NORMAL,message:"iFrame gone"},!0),L9.delete(n))};handleMessage=(e,t,n)=>{let i=L9.get(t);try{this.routeEvent(i,t,e,n)}catch(e){if(e instanceof b0.A&&e.errorCode===eL.Lw6.INVALID_PAYLOAD)throw e;null!=i?this.disconnectSocket(i,{code:e.code,message:e.message},!0):wt(t,{code:e.code,message:e.message},n)}};routeEvent(e,t,n,i){if(!Array.isArray(n))return void console.warn("[PostMessageTransport] Protocol error: event data should be an Array!");let[r,s]=n;switch(r){case L7.A.HANDSHAKE:if(null!=e)throw new b0.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},"Already connected");return this.handleHandshake(t,s,i);case L7.A.FRAME:if(null==e)throw new b0.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},"Not connected");return this.handleFrame(t,e,s);case L7.A.CLOSE:if(null==e)throw new b0.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},"Not connected");return this.handleClose(e,s);default:throw new b0.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},"Invalid opcode")}}handleFrame=(e,t,n)=>{let i;if(e!==t.origin)throw new b0.A({closeCode:eL.YI$.INVALID_ORIGIN},"Origin has changed");try{i="string"==typeof n?JSON.parse(n):n}catch(e){throw new b0.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},"Payload not recognized encoding")}this.onFrameHandled?.(i,this.logger,t),this.emit("request",t,i)};handleHandshake=async(e,t,i)=>{let r;null!=this.handshakeFailureTimeoutId&&clearTimeout(this.handshakeFailureTimeoutId);let s=(await n.e("34188").then(n.t.bind(n,88137,23))).default;try{s.assert(t,b4(s).required().keys({v:s.number().min(1).max(1).required(),encoding:s.string().equal("json").optional(),client_id:s.string().required(),frame_id:s.string().required(),sdk_version:s.string().optional()}))}catch(e){throw new b0.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},e.message)}let a=t.frame_id;if(!we.has(a))throw this.logger.error(`Unrecognized frame ID ${a}`),new b0.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},`Unrecognized frame ID ${a}`);null!=t.sdk_version&&ew.default.track(eL.HAw.ACTIVITY_HANDSHAKE,{application_id:t.client_id,sdk_version:t.sdk_version});try{r=this.createPostMessageProxySocket({origin:e,postMessageToRPCClient:i,frameId:a,version:Number(t.v),logger:this.logger,postClose:wt,encoding:t.encoding??"json"})}catch(e){throw this.logger.error(`Error opening window socket ${e}`),e}this.logger.info(`Socket Opened: ${r.id}`);try{if(await this.validateSocketClient(r,e,t.client_id),!we.has(a))throw this.logger.error(`Frame ID ${a} no longer exists`),new b0.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},`Unrecognized frame ID ${a}`);L9.set(e,r),we.delete(a),r.authorization.scopes.push(v_.W_),this.emit("connect",r),this.logger.info(`Socket Validated: ${r.id}`)}catch(e){throw this.logger.info(`Socket Closed: ${r.id}, ${e.message}`),e}};handleClose=async(e,t)=>{let i=(await n.e("34188").then(n.t.bind(n,88137,23))).default;try{i.assert(t,b4(i).required().keys({code:i.number().valid(Object.values(eL.YI$)).required(),message:i.string().optional()}))}catch(e){throw new b0.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},e.message)}this.disconnectSocket(e,t)}}var wi=n(313731);class wr extends wi.A{origin;frameId;postMessageToRPCClient;logger;postClose;onSendingToRPCClient;closed;constructor({origin:e,postMessageToRPCClient:t,frameId:n,version:i,encoding:r,logger:s,postClose:a,onSendingToRPCClient:o}){if(super(v_.z4.POST_MESSAGE,i,r),-1===["etf","json"].indexOf(r))throw new b0.A({closeCode:eL.YI$.INVALID_ENCODING},`Invalid Encoding: ${r}`);if("etf"===r)throw new b0.A({closeCode:eL.YI$.INVALID_ENCODING},"Erlpack cannot be used on this client");this.origin=e,this.postMessageToRPCClient=t,this.frameId=n,this.logger=s,this.postClose=a,this.onSendingToRPCClient=o,this.closed=!1}send(e){this.onSendingToRPCClient?.(e,this.id),this.postMessageToRPCClient([L7.A.FRAME,e],this.origin)}close(e,t){this.closed||this.postClose(this.origin,{code:e,message:t},this.postMessageToRPCClient),this.closed=!0}}let ws=new tb.A("RPCServer:PostMessage"),wa=(u=new wn(D9.j7,ws,e=>{let{origin:t,postMessageToRPCClient:n,frameId:i,version:r,encoding:s,logger:a,postClose:o}=e;return new wr({origin:t,postMessageToRPCClient:n,frameId:i,version:r,encoding:s,logger:a,postClose:o,onSendingToRPCClient:(e,t)=>{(L4.default.isLoggingOverlayEvents||e.cmd!==eL.e$_.OVERLAY&&e.evt!==eL.ZE4.OVERLAY)&&a.info(`Socket Emit: ${t}`,(0,L5.A)(e))}})},(e,t,n)=>{(L4.default.isLoggingOverlayEvents||e.cmd!==eL.e$_.OVERLAY)&&t.info(`Socket Message: ${n.id}`,(0,L5.A)(e))}),window.addEventListener("message",e=>{if(window===e.source)return;if(null==e.source||null==e.source.postMessage)return void ws.error("Unknown event source");let t=e.source,n=e.data,i=e.origin;u.handleMessage(n,i,(e,n)=>{!function(e){try{return e.closed}catch{return!1}}(t)&&t.postMessage(e,n)})}),u),wo={...DQ,...Ll,...Ld,...LD,...Lw,...LL.A,...LP,...Lz,...Lq,...LQ,...L0,...L6,...L3,...LR,...LJ},wl={...D4,...D7,...D8,...Le},wu={server:D5.A,commands:wo,events:wl,stores:[CC.default],transports:[wa],registerTransportsForEmbeddedPlatform:function(){tS.Ay.ensureModule("discord_rpc").then(()=>{for(let e of[n(33006).A,n(998921).A])D5.A.registerTransport(e)})}},wc=new class{rpcServer;transports;rpcCommandHandlers;rpcEventHandlers;stores;registerTransportsForEmbeddedPlatform;constructor(e){this.rpcServer=e.server,this.transports=e.transports,this.rpcCommandHandlers=e.commands,this.rpcEventHandlers=e.events,this.stores=e.stores,this.registerTransportsForEmbeddedPlatform=e.registerTransportsForEmbeddedPlatform}loadServer(){for(let e of(eU.isPlatformEmbedded&&this.registerTransportsForEmbeddedPlatform(),this.transports))this.rpcServer.registerTransport(e);for(let[e,t]of Object.entries(this.rpcCommandHandlers))this.rpcServer.setCommandHandler(e,t);for(let[e,t]of Object.entries(this.rpcEventHandlers))this.rpcServer.setEventHandler(e,t)}init(){this.rpcServer.getCurrentUser=()=>tT.default.getCurrentUser(),this.rpcServer.onConnect=e=>{ez.h.dispatch({type:"RPC_APP_CONNECTED",socketId:e.id,application:e.application}),ew.default.track(eL.HAw.AUTHORIZED_APP_CONNECTED,{app_id:e.application.id,transport:e.transport})},this.rpcServer.onDisconnect=(e,t)=>{ez.h.dispatch({type:"RPC_APP_DISCONNECTED",socketId:e.id,application:e.application,reason:t})};let e=[ib.A,Sf.Ay,bF.A,iM.A,tI.Ay,iL.A];new e6.ru(e.concat(this.stores),()=>this.rpcServer.updateSubscriptions()).attach("RPCServerManager"),ez.h.subscribe("MESSAGE_CREATE",this.handleMessage),ez.h.subscribe("MESSAGE_UPDATE",this.handleMessage),ez.h.subscribe("MESSAGE_DELETE",this.handleMessage),ez.h.subscribe("SPEAKING",this.handleSpeaking),ez.h.subscribe("OAUTH2_TOKEN_REVOKE",this.handleOAuth2TokenRevoke),ez.h.subscribe("GUILD_CREATE",this.handleGuildCreate),ez.h.subscribe("CHANNEL_CREATE",this.handleChannelCreate),ez.h.subscribe("LOGOUT",this.handleLogout),ez.h.subscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect),ez.h.subscribe("RPC_NOTIFICATION_CREATE",this.handleNotificationCreate),ez.h.subscribe("ACTIVITY_JOIN",this.handleActivityJoin),ez.h.subscribe("ACTIVITY_LAYOUT_MODE_UPDATE",this.handleActivityLayoutModeUpdate),ez.h.subscribe("FRAME_UPDATE_LAYOUT_MODE",this.handleFrameUpdateLayoutMode),ez.h.subscribe("THERMAL_STATE_CHANGE",this.handleThermalStateChange),ez.h.subscribe("ACTIVITY_SCREEN_ORIENTATION_UPDATE",this.handleScreenOrientationUpdate),ez.h.subscribe("EMBEDDED_ACTIVITY_UPDATE",this.handleEmbeddedActivityUpdate),ez.h.subscribe("RELATIONSHIP_ADD",this.handleRelationshipAdd),ez.h.subscribe("RELATIONSHIP_UPDATE",this.handleRelationshipUpdate),ez.h.subscribe("RELATIONSHIP_REMOVE",this.handleRelationshipRemove),ez.h.subscribe("PRESENCE_UPDATES",this.handlePresenceUpdates),ez.h.subscribe("PRESENCES_REPLACE",this.handlePresencesReplace),ez.h.subscribe("USER_UPDATE",this.handleUserUpdate),ez.h.subscribe("ENTITLEMENT_CREATE",this.handleEntitlementCreate),ez.h.subscribe("ENTITLEMENT_DELETE",this.handleEntitlementDelete),ez.h.subscribe("QUESTS_ENROLL_SUCCESS",this.handleQuestEnrollSuccess)}terminate(){ez.h.unsubscribe("MESSAGE_CREATE",this.handleMessage),ez.h.unsubscribe("MESSAGE_UPDATE",this.handleMessage),ez.h.unsubscribe("MESSAGE_DELETE",this.handleMessage),ez.h.unsubscribe("SPEAKING",this.handleSpeaking),ez.h.unsubscribe("OAUTH2_TOKEN_REVOKE",this.handleOAuth2TokenRevoke),ez.h.unsubscribe("GUILD_CREATE",this.handleGuildCreate),ez.h.unsubscribe("CHANNEL_CREATE",this.handleChannelCreate),ez.h.unsubscribe("LOGOUT",this.handleLogout),ez.h.unsubscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect),ez.h.unsubscribe("RPC_NOTIFICATION_CREATE",this.handleNotificationCreate),ez.h.unsubscribe("ACTIVITY_JOIN",this.handleActivityJoin),ez.h.unsubscribe("ACTIVITY_LAYOUT_MODE_UPDATE",this.handleActivityLayoutModeUpdate),ez.h.unsubscribe("FRAME_UPDATE_LAYOUT_MODE",this.handleFrameUpdateLayoutMode),ez.h.unsubscribe("THERMAL_STATE_CHANGE",this.handleThermalStateChange),ez.h.unsubscribe("ACTIVITY_SCREEN_ORIENTATION_UPDATE",this.handleScreenOrientationUpdate),ez.h.unsubscribe("EMBEDDED_ACTIVITY_UPDATE",this.handleEmbeddedActivityUpdate),ez.h.unsubscribe("RELATIONSHIP_ADD",this.handleRelationshipAdd),ez.h.unsubscribe("RELATIONSHIP_UPDATE",this.handleRelationshipUpdate),ez.h.unsubscribe("RELATIONSHIP_REMOVE",this.handleRelationshipRemove),ez.h.unsubscribe("PRESENCE_UPDATES",this.handlePresenceUpdates),ez.h.unsubscribe("PRESENCES_REPLACE",this.handlePresencesReplace),ez.h.unsubscribe("USER_UPDATE",this.handleUserUpdate),ez.h.unsubscribe("ENTITLEMENT_CREATE",this.handleEntitlementCreate),ez.h.unsubscribe("ENTITLEMENT_DELETE",this.handleEntitlementDelete),ez.h.unsubscribe("QUESTS_ENROLL_SUCCESS",this.handleQuestEnrollSuccess)}handleMessage=e=>{let t,n,i;if(0===this.rpcServer.subscriptions.length)return;"MESSAGE_CREATE"===e.type&&this.handleActivityMessage(e);let r=null;switch(e.type){case"MESSAGE_CREATE":if("SENDING"===e.message.state)return;t=eL.ZE4.MESSAGE_CREATE,n=e.channelId,i=e.message,r=`${t}${e.message.id}`;break;case"MESSAGE_UPDATE":t=eL.ZE4.MESSAGE_UPDATE,n=e.message.channel_id,i=e.message;break;case"MESSAGE_DELETE":t=eL.ZE4.MESSAGE_DELETE,n=e.channelId,i={id:e.id},r=`${t}${e.id}`;break;default:return(0,ix.xb)(e)}null!=n&&this.rpcServer.dispatchToSubscriptions(t,{channel_id:n},{channel_id:n,message:(0,bV.Yj)(i)},r)};handleSpeaking=e=>{if(0===this.rpcServer.subscriptions.length)return;let t=0!==e.speakingFlags?eL.ZE4.SPEAKING_START:eL.ZE4.SPEAKING_STOP;if(e.context===il.x.DEFAULT){let n=nX.A.getVoiceChannelId();if(null!=n){let i=ib.A.getChannel(n);if(null==i)return;let r=iM.A.getVoiceState(i.getGuildId(),e.userId);if(null==r)return;this.rpcServer.dispatchToSubscriptions(t,{channel_id:r.channelId},{channel_id:r.channelId,user_id:e.userId})}}};handleVoiceChannelSelect=e=>{let{guildId:t,channelId:n}=e;0!==this.rpcServer.subscriptions.length&&this.rpcServer.dispatchToSubscriptions(eL.ZE4.VOICE_CHANNEL_SELECT,{},{channel_id:n,guild_id:t})};handleNotificationCreate=e=>{let{channelId:t,message:n,icon:i,title:r,body:s}=e;0!==this.rpcServer.subscriptions.length&&this.rpcServer.dispatchToSubscriptions(eL.ZE4.NOTIFICATION_CREATE,{},{channel_id:t,message:(0,bV.Yj)(n),icon_url:null!=i?(0,bV.hk)(i):null,title:r,body:s})};handleActivityJoin=e=>{let{applicationId:t,parentApplicationId:n,secret:i,intent:r,embedded:s}=e;if(0===this.rpcServer.subscriptions.length)return;let a={application_id:t,secret:i};s&&(a.intent=r),this.rpcServer.dispatchToSubscriptions(eL.ZE4.ACTIVITY_JOIN,e=>e.socket.application.id===t||null!=n&&e.socket.application.parentId===n,a),this.rpcServer.dispatchToSubscriptions(eL.ZE4.GAME_JOIN,e=>e.socket.application.id===t,a)};handleActivityLayoutModeUpdate=e=>{let{applicationId:t,layoutMode:n}=e;if(0===this.rpcServer.subscriptions.length)return;let i=n!==bY.bN.FOCUSED;this.rpcServer.dispatchToSubscriptions(eL.ZE4.ACTIVITY_PIP_MODE_UPDATE,e=>e.socket.application.id===t,{is_pip_mode:i});let r={layout_mode:n};this.rpcServer.dispatchToSubscriptions(eL.ZE4.ACTIVITY_LAYOUT_MODE_UPDATE,e=>e.socket.application.id===t,r),this.rpcServer.dispatchToSubscriptions(eL.ZE4.FRAME_LAYOUT_MODE_UPDATE,e=>e.socket.application.id===t,r)};handleFrameUpdateLayoutMode=e=>{let{applicationId:t,layoutMode:n}=e;if(0===this.rpcServer.subscriptions.length)return;let i=n===sG.y.PIP?bY.bN.PIP:bY.bN.FOCUSED,r=i!==bY.bN.FOCUSED;this.rpcServer.dispatchToSubscriptions(eL.ZE4.ACTIVITY_PIP_MODE_UPDATE,e=>e.socket.application.id===t,{is_pip_mode:r});let s={layout_mode:i};this.rpcServer.dispatchToSubscriptions(eL.ZE4.ACTIVITY_LAYOUT_MODE_UPDATE,e=>e.socket.application.id===t,s),this.rpcServer.dispatchToSubscriptions(eL.ZE4.FRAME_LAYOUT_MODE_UPDATE,e=>e.socket.application.id===t,s)};handleThermalStateChange=e=>{let{applicationId:t}=e;if(0===this.rpcServer.subscriptions.length||null==t)return;let n={thermal_state:bU()};this.rpcServer.dispatchToSubscriptions(eL.ZE4.THERMAL_STATE_UPDATE,e=>e.socket.application.id===t,n)};handleScreenOrientationUpdate=e=>{let{screenOrientation:t}=e;0===this.rpcServer.subscriptions.length||this.rpcServer.dispatchToSubscriptions(eL.ZE4.ORIENTATION_UPDATE,{},{screen_orientation:t})};handleEmbeddedActivityUpdate=()=>{if(0===this.rpcServer.subscriptions.length)return;let e=bH();this.rpcServer.dispatchToSubscriptions(eL.ZE4.ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE,{},e)};handleActivityMessage=e=>{let{channelId:t,message:n}=e;if(0===this.rpcServer.subscriptions.length)return;let{application:i,activity:r}=n;if(null==i||null==r||null==r.party_id)return;let s=tT.default.getUser(n.author?.id);if(null==s)return;let a=tT.default.getCurrentUser();if(null==a||s.id===a.id)return;let o=r.type===eL.xL.JOIN_REQUEST?bF.A.getApplicationActivity(a.id,i.id):bF.A.getApplicationActivity(s.id,i.id);if(null==o||null==o.party||o.party.id!==r.party_id)return;let l=o.application_id;switch(r.type){case eL.xL.JOIN:this.rpcServer.dispatchToSubscriptions(eL.ZE4.ACTIVITY_INVITE,e=>e.socket.application.id===l,{user:(0,bB.A)(s),activity:o,type:r.type,channel_id:t,message_id:n.id});break;case eL.xL.JOIN_REQUEST:this.rpcServer.dispatchToSubscriptions(eL.ZE4.ACTIVITY_JOIN_REQUEST,e=>e.socket.application.id===l,{user:(0,bB.A)(s),activity:o,type:r.type,channel_id:t,message_id:n.id})}};handleOAuth2TokenRevoke=e=>{let{accessToken:t}=e;this.rpcServer.sockets.forEach(e=>{e.authorization.accessToken===t&&e.close(eL.YI$.TOKEN_REVOKED,"Token revoked")})};handleGuildCreate=e=>{let{guild:{id:t}}=e,n=tx.A.getGuild(t);0!==this.rpcServer.subscriptions.length&&null!=n&&this.rpcServer.dispatchToSubscriptions(eL.ZE4.GUILD_CREATE,{},{id:t,name:n.name})};handleChannelCreate=e=>{let{channel:{id:t,name:n,type:i}}=e;0!==this.rpcServer.subscriptions.length&&this.rpcServer.dispatchToSubscriptions(eL.ZE4.CHANNEL_CREATE,{},{id:t,name:n,type:i})};handleLogout=()=>{this.rpcServer.sockets.forEach(e=>e.close(eL.YI$.CLOSE_NORMAL,"User logout"))};handleRelationshipAdd=e=>{let{relationship:{id:t,type:n}}=e;if(0===this.rpcServer.subscriptions.length)return;let i=tT.default.getUser(t);if(null==i)return;let r=(0,bV.Gc)(n,i);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,bV.LP)(r,e.socket.application.id))};handleRelationshipUpdate=e=>{let{relationship:{id:t,type:n}}=e;if(0===this.rpcServer.subscriptions.length)return;let i=tT.default.getUser(t);if(null==i)return;let r=(0,bV.Gc)(n,i);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,bV.LP)(r,e.socket.application.id))};handleRelationshipRemove=e=>{let{relationship:{id:t}}=e;if(0===this.rpcServer.subscriptions.length)return;let n=tT.default.getUser(t);if(null==n)return;let i=(0,bV.Gc)(eL.eA$.NONE,n);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,bV.LP)(i,e.socket.application.id))};handlePresenceUpdates=e=>{let{updates:t}=e;if(0!==this.rpcServer.subscriptions.length)for(let e of new Set(t.map(e=>{let{user:t}=e;return t.id})).values()){let t=i1.A.getRelationshipType(e);if(t===eL.eA$.NONE)continue;let n=tT.default.getUser(e);if(null==n)continue;let i=(0,bV.Gc)(t,n);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,bV.LP)(i,e.socket.application.id))}};handlePresencesReplace=()=>{if(0!==this.rpcServer.subscriptions.length)for(let[e,t]of i1.A.getMutableRelationships().entries()){if(t===eL.eA$.NONE)continue;let n=tT.default.getUser(e);if(null==n)continue;let i=(0,bV.Gc)(t,n);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,bV.LP)(i,e.socket.application.id))}};handleUserUpdate=e=>{let{user:{id:t}}=e;if(0===this.rpcServer.subscriptions.length)return;let n=i1.A.getRelationshipType(t);if(n===eL.eA$.NONE)return;let i=tT.default.getUser(t);if(null==i)return;let r=(0,bV.Gc)(n,i);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,bV.LP)(r,e.socket.application.id))};handleEntitlementCreate=e=>{let{entitlement:t}=e;0!==this.rpcServer.subscriptions.length&&this.rpcServer.dispatchToSubscriptions(eL.ZE4.ENTITLEMENT_CREATE,e=>e.socket.application.id===t.application_id,{entitlement:t})};handleEntitlementDelete=e=>{let{entitlement:t}=e;0!==this.rpcServer.subscriptions.length&&this.rpcServer.dispatchToSubscriptions(eL.ZE4.ENTITLEMENT_DELETE,e=>e.socket.application.id===t.application_id,{entitlement:t})};handleQuestEnrollSuccess=e=>{let{enrolledQuestUserStatus:t}=e;if(0===this.rpcServer.subscriptions.length)return;let n=t.questId,i=ov.A.getQuest(n);if(null==i)return;let r=(0,bG.TP)(i);null!=r&&this.rpcServer.dispatchToSubscriptions(eL.ZE4.QUEST_ENROLLMENT_STATUS_UPDATE,e=>e.socket.application.id===r&&e.args?.quest_id===n,{quest_id:n,is_enrolled:null!=t.enrolledAt,enrolled_at:t.enrolledAt})}}(wu);var wd=n(138298),w_=n(940382),wh=n(450510),wf=n(594061);class wp extends nK.A{_initialize(){__OVERLAY__||(ez.h.subscribe("VOICE_CHANNEL_EFFECT_SEND",this._handleSoundboardSoundReceived),ez.h.subscribe("GUILD_SOUNDBOARD_SOUND_PLAY_LOCALLY",this._handleSoundboardSoundPlayLocally),ez.h.subscribe("VOICE_CHANNEL_SELECT",this._handleVoiceChannelSelect),ez.h.subscribe("AUDIO_TOGGLE_SELF_DEAF",this._handleToggleSelfDeafened))}_terminate(){__OVERLAY__||(ez.h.unsubscribe("VOICE_CHANNEL_EFFECT_SEND",this._handleSoundboardSoundReceived),ez.h.unsubscribe("GUILD_SOUNDBOARD_SOUND_PLAY_LOCALLY",this._handleSoundboardSoundPlayLocally),ez.h.unsubscribe("VOICE_CHANNEL_SELECT",this._handleVoiceChannelSelect),ez.h.unsubscribe("AUDIO_TOGGLE_SELF_DEAF",this._handleToggleSelfDeafened))}_playSound=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&arguments[2],arguments.length>3&&arguments[3]};_stopAndClearSounds=()=>{};_handleToggleSelfDeafened=()=>{tI.Ay.isDeaf()&&this._stopAndClearSounds()};_handleSoundboardSoundReceived=e=>{let{soundId:t,soundVolume:n,userId:i,channelId:r}=e;if(null!=t&&i!==eW.default.getId())return this._playSound(t,n,i,r)};_handleSoundboardSoundPlayLocally=e=>{let{sound:t,channelId:n}=e,i=eW.default.getId();return this._playSound(t.soundId,t.volume,i,n)};_handleVoiceChannelSelect=()=>{this._stopAndClearSounds()}}var wE=n(102597),wm=n(904054),wg=n(602674),wA=n(76788),wI=n(738011),wT=n(536184);let wS=new Map;async function wy(e){let t=wS.get(e);if(null!=t)return t;let n=await (await fetch(e)).arrayBuffer(),i=(0,wg.v)(),r=await i?.decodeAudioData(n);return null!=r&&wS.set(e,r),r}let wN=new tb.A("SoundboardManager");class wv extends wp{playingSoundsWeb=new Map;_initialize(){super._initialize(),__OVERLAY__||(ez.h.subscribe("OVERLAY_SOUNDBOARD_SOUNDS_FETCH_REQUEST",this._handleOverlaySoundboardSoundsFetchRequest),ez.h.subscribe("RTC_CONNECTION_STATE",this._handleRTCConnectionState))}_terminate(){super._terminate(),__OVERLAY__||(ez.h.unsubscribe("OVERLAY_SOUNDBOARD_SOUNDS_FETCH_REQUEST",this._handleOverlaySoundboardSoundsFetchRequest),ez.h.unsubscribe("RTC_CONNECTION_STATE",this._handleRTCConnectionState))}_stopAndClearSounds=()=>{tI.Ay.supports(il.O5.SAMPLE_PLAYBACK)&&tI.Ay.getMediaEngine().eachConnection(e=>{e.stopAllSamplesLocalPlayback()}),this.playingSoundsWeb.forEach(e=>{e.pause(),e.src=""}),this.playingSoundsWeb=new Map};_playSound=(()=>{var e=this;return async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,s=null!=r&&nX.A.getVoiceChannelId()===r;if((null==r||s)&&!tI.Ay.isDeaf()&&!Dx.A.isLocalSoundboardMuted(i))try{let r={soundKey:`${i}-${t}`,soundURL:(0,wE.A)(t),soundVolume:(0,wm.A)(n),reportSoundStartedPlaying:()=>(0,DP.dZ)(t,i)};tI.Ay.supports(il.O5.SAMPLE_PLAYBACK)?await function(e){let{soundKey:t,soundURL:n,soundVolume:i,reportSoundStartedPlaying:r}=e;return new Promise(async(e,s)=>{let a=await wy(n);null==a&&e(),tI.Ay.getMediaEngine().eachConnection(n=>{n.context===No.x.DEFAULT&&(r(),tK()(null!=a,"audioBuffer cannot be null here"),n.startSamplesLocalPlayback(t,a,i,(t,n)=>{0!==t?s(Error(`${n}`)):e()}))})})}(r):await function(e,t){let{soundKey:n,soundURL:i,soundVolume:r,reportSoundStartedPlaying:s}=e,a=t.get(n);if(null!=a){a.currentTime=0;return}return new Promise(async e=>{let a=new(await (0,wT.A)(i));a.src=i,a.volume=(0,wm.A)(r),a.addEventListener(a instanceof wA.A.OGVPlayer?"loadedmetadata":"canplaythrough",()=>{s(),t.set(n,a),a.play()?.catch(i=>{if((0,wI.u)(i)){ev.A.captureException(i,{tags:{errorType:"autoplay_policy",expected:"true"}}),t.delete(n),a.src="",e();return}throw i})}),a.addEventListener("ended",()=>{t.delete(n),a.src="",e()})})}(r,e.playingSoundsWeb)}catch(e){wN.warn(`Error playing soundboard sound: ${e.message}`)}finally{(0,DP.g0)(t,i)}}})();_handleRTCConnectionState=e=>{let{state:t}=e;t===eL.S7L.RTC_CONNECTED&&(wf.bW.loadIfNecessary(),(0,DP.E7)({disableAnalytics:!0}))};_handleOverlaySoundboardSoundsFetchRequest=()=>{(0,DP.E7)()};_handleOpenEducationModal=(e,t)=>{if(null==e)return;let i=ib.A.getChannel(t),r=Ov.Ay.getKeybindForAction(eL.hCu.SOUNDBOARD_HOLD);null!=i&&(0,yG.Ay)(i)&&null!=r&&yP.A.hasHotspot(wh._2.SOUNDBOARD_WHEEL_EDUCATION_MODAL)&&(0,nv.openModalLazy)(async()=>{let{default:t}=await Promise.all([n.e("26912"),n.e("51143")]).then(n.bind(n,888762));return n=>(0,U.jsx)(t,{...n,guildId:e,keybind:r,channel:i})})}}let wC=new wv;class wR extends nK.A{_initialize(){ez.h.subscribe("VOICE_STATE_UPDATES",this.handleVoiceStateUpdates)}_terminate(){ez.h.unsubscribe("VOICE_STATE_UPDATES",this.handleVoiceStateUpdates)}handleVoiceStateUpdates=e=>{let{voiceStates:t}=e,n=eW.default.getId();t.forEach(e=>{e.userId===n&&ib.A.getChannel(e.channelId)?.isGuildStageVoice()&&(0,iC.eY)(e)!==iC.zF.ON_STAGE&&(this.handleStopStream(e),this.handleStopUserVideo())})};handleStopStream=e=>{let t=iO.A.getActiveStreamForUser(e.userId,e.guildId);null!=t&&(0,ox.vN)((0,iN._z)(t),!1)};handleStopUserVideo=()=>{tI.Ay.isVideoEnabled()&&is.A.setVideoEnabled(!1)}}let wO=new wR,wb="STAGE_INVITED_TO_SPEAK_MODAL";class wD extends nK.A{_initialize(){ez.h.subscribe("VOICE_STATE_UPDATES",this.handleVoiceStateUpdates)}_terminate(){ez.h.unsubscribe("VOICE_STATE_UPDATES",this.handleVoiceStateUpdates)}handleVoiceStateUpdates=e=>{let{voiceStates:t}=e,i=eW.default.getId(),r=yN.A.getSession()?.sessionId,s=t.find(e=>e.userId===i&&e.sessionId===r);if(null==s)return;let a=s.channelId;if(null==a){(0,nv.hasModalOpen)(wb)&&(0,nv.closeModal)(wb);return}let o=ib.A.getChannel(a);if(!o?.isGuildStageVoice())return;let l=(0,iC.eY)(s)===iC.zF.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK;if(null!=o&&l){if((0,nv.hasModalOpen)(wb))return;(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("89194"),n.e("90037")]).then(n.bind(n,427412));return t=>(0,U.jsx)(e,{...t,channel:o})},{modalKey:wb,onCloseRequest:eL.FXj})}}}let wL=new wD;var ww=n(863922),wM=n(353202);n(667532);var wP=n(724066),wx=n(100767),wk=n(379418),wU=n(9842),wG=n(761640),wF=n(54570),wV=n(8880);n(75804);let wB=[],wH=null,wj=null,wY=null,wW=/\|\|([\s\S]+?)\|\|/g;function wK(e,t,n,i){let r=tx.A.getGuild(n),s=e.replace(wW,na.intl.string(na.t["F+x38C"])).replace(/<@!?(\d+)>/g,(e,t)=>{let i=tT.default.getUser(t);return null==i?na.intl.string(na.t.sKdZ6U):Sf.Ay.getNick(n,i.id)??st.Ay.getName(i)}).replace(/<@&?(\d+)>/g,(e,t)=>{let n=null!=r?tP.A.getRole(r.id,t):null;return null!=n&&null!=n.name?n.name:na.intl.string(na.t["YV4F/n"])}).replace(/<#(\d+)>/g,(e,t)=>{let n=ib.A.getChannel(t);return null==n?na.intl.string(na.t.J90oLW):(0,o7.m1)(n,tT.default,i1.A)}).replace(/<a?:(\w+):(\d+)>/g,(e,t)=>`${na.intl.string(na.t.sMOuuS)} ${t}`).replace(/<\/([^\s]+?):(\d+)>/g,(e,t)=>`/${t}`).replace(/<t:(\d+):([A-Z]|[a-z])>/g,(e,t,n)=>{let i=wk.kx[n],r=1e3*parseInt(t,10),s=I5()(r);return null!=i?i(s):s.format()});return null==i?na.intl.formatToPlainString(na.t["uIj77/"],{username:t,body:s}):na.intl.formatToPlainString(na.t["Ix4H+j"],{username:t,body:s,replyUsername:i})}function w$(){if(!wx.$j)return!1;let e=RC.default.locale;null==wY&&(wY=window.speechSynthesis?.getVoices());let t=wY.filter(t=>t.lang===e||t.lang.slice(0,e.length)===e);wj=t.length>0?t[0]:null}async function wz(e,t,n,i,r){let s=wx.aW(e,n);null!==s&&(null==wj&&w$(),t?await (0,wF.pr)():wH?.removeEventListener("end",wF.pr),s.addEventListener("end",wF.pr),null!=i&&s.addEventListener("start",i),null!=r&&s.addEventListener("end",r),wH=s,wx.wz(s,wj))}function wq(e,t,n,i,r){wz(e,t,r,()=>{(0,wF.kC)(n,i)})}function wX(e){let{text:t,interrupt:n,maxLength:i,onStart:r,onEnd:s}=e;wz(t,n,i,r,s)}function wZ(){return null!==wH&&wH.removeEventListener("end",wF.pr),wx._X(),wH=null,!0}function wQ(e){let{message:t,channel:n}=e,i=t.type===eL.lAJ.REPLY?wU.A.getMessageByReference(t.messageReference):null,r=i?.state===wU.a.LOADED?i?.message?.author:null,s=null!=r?Sf.Ay.getNick(n.guild_id,r?.id)??st.Ay.getName(r):null,a=n.getGuildId(),o=Sf.Ay.getNick(a,t.author.id)??st.Ay.getName(t.author);return wq(wK(t.content,o,a,s),!0,n.id,t.id),!0}function wJ(e){let{channelId:t,message:n,optimistic:i}=e;if(i||tI.Ay.isSelfDeaf())return!1;let r=ib.A.getChannel(t);if(null==r)return!1;let s=nX.A.getChannelId(),a=wG.Ay.getCurrentSidebarChannelId(s),o=t===s||t===a,l=tl.on.getSetting()&&n.tts&&o,u=iD.A.getTTSType(),c=n.author?.id!==eW.default.getId()&&(u===eL.aVn.ALL_CHANNELS||u===eL.aVn.SELECTED_CHANNEL&&o);if((l||c)&&!i1.A.isBlockedOrIgnoredForMessage(n)){if(wB.indexOf(n.id)>=0)return!1;wB.unshift(n.id)>10&&wB.pop();let e=r.getGuildId();if(null!=e&&Cv.Ay.getMutedChannels(e).has(t))return!1;let i=Sf.Ay.getNick(e,n.author?.id)??st.Ay.getName(n.author)??"",s=n.type===eL.lAJ.REPLY?n.referenced_message?.author:null,a=null!=s?Sf.Ay.getNick(e,s?.id)??st.Ay.getName(s):null;wq(wK(n.content,i,e,a),!1,r.id,n.id,200)}return!1}function w0(e){let{id:t,channelId:n}=e,i=wV.A.currentMessage;return null!=i&&t===i.messageId&&n===i.channelId&&((0,wF.pr)(),!0)}function w1(){tI.Ay.isSelfDeaf()&&wx._X()}function w2(e){let{channelId:t}=e,n=wV.A.currentMessage;null!=n&&n.channelId!==t&&(0,wF.pr)()}let w3={init(){ez.h.subscribe("SPEAK_TEXT",wX),ez.h.subscribe("SPEAK_MESSAGE",wQ),ez.h.subscribe("STOP_SPEAKING",wZ),ez.h.subscribe("MESSAGE_CREATE",wJ),ez.h.subscribe("MESSAGE_DELETE",w0),ez.h.subscribe("AUDIO_TOGGLE_SELF_DEAF",w1),ez.h.subscribe("CHANNEL_SELECT",w2),ez.h.subscribe("USER_SETTINGS_PROTO_UPDATE",w$),(0,wP.I)(w$)}};var w6=n(403777),w4=n(80556);let w5=(0,n(240921).Ay)({name:"2026-04-safety-flows",kind:"user",defaultConfig:{enabled:!1},variations:{0:{enabled:!1},1:{enabled:!0}}});var w7=n(907135),w8=n(446868),w9=n(665095),Me=n(639719),Mt=n(53516),Mn=n(87404);let Mi={init(){ez.h.subscribe("CONNECTION_OPEN",this.handleRequiredAction),ez.h.subscribe("USER_REQUIRED_ACTION_UPDATE",this.handleRequiredAction),ez.h.subscribe("CURRENT_USER_UPDATE",this.handleCurrentUserUpdate),eW.default.addChangeListener(this.handleAuthenticationStoreChanged)},handleRequiredAction(e){let t=e.requiredAction;!C0.P.isDisallowPopupsSet()&&null!=tT.default.getCurrentUser()&&(t===eL.a3B.REQUIRE_CAPTCHA||t===eL.a3B.REQUIRE_VERIFIED_EMAIL||t===eL.a3B.REQUIRE_VERIFIED_PHONE||t===eL.a3B.REQUIRE_REVERIFIED_PHONE||t===eL.a3B.REQUIRE_VERIFIED_EMAIL_OR_VERIFIED_PHONE||t===eL.a3B.REQUIRE_REVERIFIED_EMAIL_OR_REVERIFIED_PHONE||t===eL.a3B.REQUIRE_VERIFIED_EMAIL_OR_REVERIFIED_PHONE||w8.A.isEmailReverification(t)?function(e){let{location:t}=e;return w5.getConfig({location:t}).enabled}({location:"verification-legacy"})?(0,Ck.B8)(e=>{let{closeLayer:t}=e;return(0,U.jsx)(w7.A,{onClose:t})},{layerKey:Mn._s,Layer:w4.Ay}):(0,Ck.B8)(()=>(0,U.jsx)(w9.A,{}),{layerKey:Mn._s,Layer:w4.Ay}):t===eL.a3B.AGREEMENTS?(0,nv.openModal)(e=>(0,U.jsx)(Me.default,{...e}),{modalKey:Mn.i$,onCloseRequest:bK.FX,dismissable:!1}):t===eL.a3B.REQUIRE_SAFETY_FLOWS?(0,Ck.B8)(e=>{let{closeLayer:t}=e;return(0,U.jsx)(w7.A,{onClose:t})},{layerKey:Mn._s,Layer:w4.Ay}):null==t&&((0,Ck.dF)(Mn._s),(0,nv.hasModalOpen)(Mn.i$)&&(0,nv.closeModal)(Mn.i$)))},handleAuthenticationStoreChanged(){null==eW.default.getId()&&((0,Ck.dF)(Mn._s),(0,nv.closeModal)(Mn.i$),(0,nv.closeModal)(Mn.Pr),(0,nv.closeModal)(Mn.H1),(0,nv.closeModal)(Mt.V))},handleCurrentUserUpdate(e){let{user:t}=e;t.verified&&(0,nv.closeModal)(Mn.H1)}};var Mr=n(803805),Ms=n(761821);let Ma="selectedChannelGuildFrecency";function Mo(e){let{state:t}=e6.Ay.PersistedStore.migrateAndReadStoreState("GIFFavoritesStore",[e=>null==e?{favorites:[],timesFavorited:0}:Array.isArray(e)?{favorites:e,timesFavorited:0}:e,e=>Array.isArray(e.favorites)?e:{favorites:[],timesFavorited:0}]);return null==t||0===t.favorites.length?[]:t.favorites.map((n,i)=>{let r=Mr.tC.create();return r.format="IMAGE"===n.format?Mr.TL.IMAGE:"VIDEO"===n.format?Mr.TL.VIDEO:Mr.TL.NONE,r.src=n.src,r.width=n.width,r.height=n.height,r.order=t.favorites.length-i+e,{url:n.url,favorite:r}})}let Ml=[{version:2,run(e){let t=Mo(1);if(0===t.length)return!1;for(let{url:n,favorite:i}of(null==e.favoriteGifs&&(e.favoriteGifs=Mr.uz.create()),e.favoriteGifs.gifs={},t))e.favoriteGifs.gifs[n]=i;return e.favoriteGifs.hideTooltip=t.length>2,!0},cleanup(){}},{version:3,run(e){function t(){return{usageHistory:{},favorites:[]}}let{state:n}=e6.Ay.PersistedStore.migrateAndReadStoreState("StickersPersistedStore",[e=>null==e||0===Object.keys(e).length?t():e,e=>null==e||0===Object.keys(e).length?t():(null==e.favorites&&(e.favorites=[]),e)]);if(null==n)return!1;let i=!1;return n.favorites.length>0&&(e.favoriteStickers=Mr.tQ.create(),e.favoriteStickers.stickerIds=im().uniq(n.favorites).slice(0,250),i=!0),im().size(n.usageHistory)>0&&(e.stickerFrecency=Mr.Do.create(),e.stickerFrecency.stickers=(0,Ms.Mr)(n.usageHistory,100),i=!0),i},cleanup(){tA.w.remove("StickersPersistedStore")}},{version:4,run(e){let{state:t}=e6.Ay.PersistedStore.migrateAndReadStoreState("EmojiStore",[()=>({usageHistory:tA.w.get("EmojiUsageHistory")||{}})]);if(null==t)return!1;let n=!1;return null!=t.favorites&&t.favorites.length>0&&(e.favoriteEmojis=Mr.gW.create(),e.favoriteEmojis.emojis=im().uniq(t.favorites).slice(0,250),n=!0),im().size(t.usageHistory)>0&&(e.emojiFrecency=Mr.Q8.create(),e.emojiFrecency.emojis=(0,Ms.Mr)(t.usageHistory,100),n=!0),n},cleanup(){tA.w.remove("EmojiStore"),tA.w.remove("EmojiUsageHistory"),tA.w.remove("EmojiDiversitySurrogate")}},{version:6,run(e){null==e.favoriteGifs&&(e.favoriteGifs=Mr.uz.create()),null==e.favoriteGifs.gifs&&(e.favoriteGifs.gifs={});let t=Mo(1);if(0===t.length)return!1;im()(e.favoriteGifs.gifs).values().sortBy("order").forEach((e,n)=>e.order=t.length+1+n);let n=Mr.uz.toBinary(e.favoriteGifs).length,i=0;for(let{url:r,favorite:s}of t){if(s.order=t.length-i,i++,r in e.favoriteGifs.gifs){e.favoriteGifs.gifs[r].order=s.order;continue}let a=Mr.tC.toBinary(s).length+r.length+7;n+a>762880||(n+=a,e.favoriteGifs.gifs[r]=s)}for(n=Mr.uz.toBinary(e.favoriteGifs).length;n>762880;){let t=0;for(let n in e.favoriteGifs.gifs)if(delete e.favoriteGifs.gifs[n],++t>=10)break;n=Mr.uz.toBinary(e.favoriteGifs).length}return!0},cleanup(){}},{version:7,run(e){let{state:t}=e6.Ay.PersistedStore.migrateAndReadStoreState("ApplicationCommandFrecency",[]);if(null==t)return!1;let n=!1;return im().size(t.usageHistory)>0&&(e.applicationCommandFrecency=Mr.Zc.create(),e.applicationCommandFrecency.applicationCommands=(0,Ms.Mr)(t.usageHistory,500),n=!0),n},cleanup(){tA.w.remove("ApplicationCommandFrecency")}},{version:8,run(e){let{state:t}=e6.Ay.PersistedStore.migrateAndReadStoreState("SoundboardFavoriteStore",[]);if(null==t)return!1;let n=!1;return im().size(t.favoriteSounds)>0&&(e.favoriteSoundboardSounds=Mr.Qn.create(),SE.default.keys(t.favoriteSounds).forEach(n=>{new Set(t.favoriteSounds[n]).forEach(t=>{e.favoriteSoundboardSounds?.soundIds.push(t)})}),n=!0),n},cleanup(){tA.w.remove("SoundboardFavoriteStore")}},{version:9,run(e){let t=tA.w.get(Ma);if(null==t)return!1;for(let e in t)eL.Ut1.test(e)||delete t[e];return e.guildAndChannelFrecency=Mr.F1.create(),e.guildAndChannelFrecency.guildAndChannels=(0,Ms.Mr)(t,100),!0},cleanup(){tA.w.remove(Ma)}},{version:10,run(e){if(null==e.emojiFrecency)return!1;let t=e.emojiFrecency.emojis??{},n=!1;if(im().size(t)>0){let t=Mr.Q8.create();Mr.Q8.mergePartial(t,e.emojiFrecency),null!=e.emojiReactionFrecency&&Mr.Q8.mergePartial(t,e.emojiReactionFrecency),e.emojiReactionFrecency=t,n=!0}return n},cleanup(){}},{version:11,run(e){if(null==e.favoriteGifs||null==e.favoriteGifs.gifs)return!1;let t=/\.(webp|avif|gif)(\?|$)/i,n=!1;for(let i in e.favoriteGifs.gifs){let r=e.favoriteGifs.gifs[i];null!=r&&(r.src.startsWith("//")&&(r.src=`https:${r.src}`,n=!0),r.format!==Mr.TL.IMAGE&&t.test(r.src)&&(r.format=Mr.TL.IMAGE,n=!0))}return n},cleanup(){}}];n(393431),n(532706),n(42231),n(232424),n(949626),n(767709),n(65162);var Mu=n(406935),Mc=n(168186),Md=n(460288),M_=n(573879);function Mh(e,t){let n=!1;return null==e.userContent&&(e.userContent={dismissedContents:new Uint8Array,lastReceivedChangelogId:"0",recurringDismissibleContentStates:{}}),null==e.userContent.dismissedContents&&(e.userContent.dismissedContents=new Uint8Array),(0,Md.c0)(e.userContent.dismissedContents,t)||(e.userContent.dismissedContents=(0,Md.Vf)(e.userContent.dismissedContents,t),n=!0),n}function Mf(e,t,n){return!!wh.HP.hasHiddenHotspot(t)&&Mh(e,n)}let Mp=[{version:2,run(e){if(null!=e.inbox)return!1;let t=!1,n=ts.Q0.create();e.inbox=n,tA.w.get("seenInboxTutorial",!1)&&(n.viewedTutorial=!0,t=!0);let i=tA.w.get("recentsButtonTab2");null!=i&&(n.currentTab="Recent Mentions"===i?ts.Y2.MENTIONS:ts.Y2.UNREADS,t=!0);let r=tA.w.get("unread-messages-collapsed-channels")??{};for(let n in r){if(!r[n])continue;let i=ib.A.getChannel(n);null!=i&&(t=!0,(0,Ms.gc)(e,i.guild_id??"0",i.id,e=>{e.collapsedInInbox=!0}))}return t},cleanup(){tA.w.remove("seenInboxTutorial"),tA.w.remove("recentsButtonTab2"),tA.w.remove("unread-messages-collapsed-channels")}},{version:3,run(e){let{state:t}=e6.Ay.PersistedStore.migrateAndReadStoreState("EmojiStore",[()=>({diversitySurrogate:tA.w.get("EmojiDiversitySurrogate")||""})]);if(null==t)return!1;let n=!1;return null!=t.diversitySurrogate&&""!==t.diversitySurrogate&&(null==e.textAndImages&&(e.textAndImages=ts.oJ.create()),null==e.textAndImages.diversitySurrogate&&(e.textAndImages.diversitySurrogate=Mu.hU.create()),e.textAndImages.diversitySurrogate.value=t.diversitySurrogate,n=!0),n},cleanup(){}},{version:4,run(e){let t=!1;return(!0===tA.w.get("HAS_SEEN_HUB_UPSELL")||wh.HP.hasHiddenHotspot(wh._2.HUB_SECOND_EMAIL_CONNECTION_UPSELL))&&(t=Mh(e,rM.M.HUB_WAITLIST_UPSELL)),t},cleanup(){tA.w.remove("HAS_SEEN_HUB_UPSELL")}},{version:5,run(e){let t=!1;e.textAndImages=e.textAndImages??ts.oJ.create(),e.notifications=e.notifications??ts.TY.create(),e.privacy=e.privacy??ts.E.create(),e.voiceAndVideo=e.voiceAndVideo??ts.GY.create(),e.gameLibrary=e.gameLibrary??ts.F1.create(),e.debug=e.debug??ts.X9.create();let n=tA.w.get("UserSettingsStore")??{};return"boolean"==typeof n.useRichChatTextBox&&(e.textAndImages.useRichChatInput=Mu._t.create({value:n.useRichChatTextBox}),t=!0),"string"==typeof n.renderSpoilers&&(e.textAndImages.renderSpoilers=Mu.hU.create({value:n.renderSpoilers}),t=!0),"boolean"==typeof n.useThreadSidebar&&(e.textAndImages.useThreadSidebar=Mu._t.create({value:n.useThreadSidebar}),t=!0),"boolean"==typeof n.showInAppNotifications&&(e.notifications.showInAppNotifications=Mu._t.create({value:n.showInAppNotifications}),t=!0),n.emojiPickerCollapsedSections instanceof Array&&(e.textAndImages.emojiPickerCollapsedSections=n.emojiPickerCollapsedSections,t=!0),n.stickerPickerCollapsedSections instanceof Array&&(e.textAndImages.stickerPickerCollapsedSections=n.stickerPickerCollapsedSections,t=!0),"boolean"==typeof n.viewImageDescriptions&&(e.textAndImages.viewImageDescriptions=Mu._t.create({value:n.viewImageDescriptions}),t=!0),"boolean"==typeof n.showCommandSuggestions&&(e.textAndImages.showCommandSuggestions=Mu._t.create({value:n.showCommandSuggestions}),t=!0),"boolean"==typeof n.alwaysPreviewVideo&&(e.voiceAndVideo.alwaysPreviewVideo=Mu._t.create({value:n.alwaysPreviewVideo}),t=!0),"boolean"==typeof n.notifyFriendsOnGoLive&&(e.notifications.notifyFriendsOnGoLive=Mu._t.create({value:n.notifyFriendsOnGoLive}),t=!0),"boolean"==typeof n.installShortcutDesktop&&(e.gameLibrary.installShortcutDesktop=Mu._t.create({value:n.installShortcutDesktop}),t=!0),"boolean"==typeof n.installShortcutStartMenu&&(e.gameLibrary.installShortcutStartMenu=Mu._t.create({value:n.installShortcutStartMenu}),t=!0),"boolean"==typeof n.allowActivityPartyPrivacyFriends&&(e.privacy.allowActivityPartyPrivacyFriends=Mu._t.create({value:n.allowActivityPartyPrivacyFriends}),t=!0),"boolean"==typeof n.allowActivityPartyPrivacyVoiceChannel&&(e.privacy.allowActivityPartyPrivacyVoiceChannel=Mu._t.create({value:n.allowActivityPartyPrivacyVoiceChannel}),t=!0),"boolean"==typeof n.rtcPanelShowVoiceStates&&(e.debug.rtcPanelShowVoiceStates=Mu._t.create({value:n.rtcPanelShowVoiceStates}),t=!0),t},cleanup(){}},{version:7,run:e=>Mf(e,wh._2.APPLICATION_COMMAND_TOOLTIP,rM.M.APPLICATION_COMMAND_TOOLTIP),cleanup(){}},{version:8,run:e=>Mf(e,wh._2.CHANNEL_BANNER_MEMBER_LIST_NOTICE,rM.M.CHANNELINFO_CHANNELBANNER_NOTICE),cleanup(){}},{version:9,run:e=>(wh.HP.hasHiddenHotspot(wh._2.MULTI_ACCOUNT_TOOLTIP)&&tA.w.set(M_.JE,"true"),Mf(e,wh._2.MULTI_ACCOUNT_TOOLTIP,rM.M.ACCOUNT_MULTIACCOUNT_TOOLTIP)),cleanup(){}},{version:10,run(e){let t=Mf(e,wh._2.HUB_LINK_CHANNEL_NOTICE,rM.M.CHANNEL_NOTICE_HUBLINK),n=tA.w.get("channelNotices")??{};return!1===n[eL.n5X.INVITE]&&Mh(e,rM.M.CHANNEL_NOTICE_INVITE)&&(t=!0),!1===n[eL.n5X.QUICKSWITCHER]&&Mh(e,rM.M.CHANNEL_NOTICE_QUICKSWITCHER)&&(t=!0),!1===n[eL.n5X.GUILD_BOOSTING]&&Mh(e,rM.M.CHANNEL_NOTICE_PREMIUM_GUILD_SUBSCRIPTION)&&(t=!0),t},cleanup(){tA.w.remove("channelNotices")}},{version:11,run(e){let t=!1;return Mf(e,wh._2.GUILD_EVENT_UPSELL,rM.M.GUILD_HEADER_EVENT_UPSELL)&&(t=!0),Mf(e,wh._2.ANIMATED_GUILD_BANNER_GUILD_HEADER_TOOLTIP,rM.M.GUILD_HEADER_ANIMATED_GUILD_BANNER)&&(t=!0),t},cleanup(){}},{version:12,run(e){let t=!1;return tA.w.get("hideNag")&&Mh(e,rM.M.NAGBAR_NOTICE_DOWNLOAD)&&(t=!0),tA.w.get("hideConnectSpotify")&&Mh(e,rM.M.NAGBAR_NOTICE_CONNECT_SPOTIFY)&&(t=!0),tA.w.get("hideConnectPlayStation")&&Mh(e,rM.M.NAGBAR_NOTICE_CONNECT_PLAYSTATION)&&(t=!0),t},cleanup(){tA.w.remove("hideNag"),tA.w.remove("hideConnectSpotify"),tA.w.remove("hideConnectPlayStation")}},{version:13,run(e){let t=!1;return tA.w.get("hidePremiumPromo")&&Mh(e,rM.M.NAGBAR_NOTICE_PREMIUM_PROMO)&&(t=!0),tA.w.get("hidePremiumTier2TrialEnding")&&Mh(e,rM.M.NAGBAR_NOTICE_PREMIUM_TIER_TWO_TRIAL_ENDING)&&(t=!0),tA.w.get("hidePremiumReactivateNotice")&&Mh(e,rM.M.NAGBAR_NOTICE_PREMIUM_REACTIVATE)&&(t=!0),t},cleanup(){tA.w.remove("hidePremiumPromo"),tA.w.remove("hidePremiumTier2TrialEnding"),tA.w.remove("hidePremiumReactivateNotice")}},{version:14,run:e=>Mf(e,wh._2.ACTIVITY_BEB_TUTORIAL,rM.M.ACTIVITIES_TUTORIAL_COACH_MARK),cleanup(){}},{version:15,run:e=>Mf(e,wh._2.NOW_PLAYING_CONSENT_CARD,rM.M.NOW_PLAYING_CONSENT_CARD),cleanup(){}},{version:16,run(e){let t=tA.w.get("PromotionsPersistedStore");if(null==t)return!1;let n=t._state.lastDismissedOutboundPromotionStartDate;return null!=n&&(null==e.userContent&&(e.userContent=ts.YW.create()),null==e.userContent.lastDismissedOutboundPromotionStartDate)&&(e.userContent.lastDismissedOutboundPromotionStartDate=Mu.hU.create({value:n}),!0)},cleanup(){}},{version:17,run(e){let{state:t}=e6.Ay.PersistedStore.migrateAndReadStoreState("ExpressionSuggestionsPersistedStore",null);if(null==t)return!1;let n=t.expressionSuggestionsEnabled;return null!=n&&(null==e.textAndImages&&(e.textAndImages=ts.oJ.create()),null==e.textAndImages.expressionSuggestionsEnabled)&&(e.textAndImages.expressionSuggestionsEnabled=Mu._t.create({value:n}),!0)},cleanup(){tA.w.remove("ExpressionSuggestionsPersistedStore")}},{version:18,run(e){let t=!1;return Mf(e,wh._2.GUILD_DELETE_FEEDBACK,rM.M.GUILD_DELETE_FEEDBACK)&&(t=!0),Mf(e,wh._2.GUILD_LEAVE_FEEDBACK,rM.M.GUILD_LEAVE_FEEDBACK)&&(t=!0),t},cleanup(){}},{version:19,run(e){let t=!1;return tA.w.get("forumHelperCardStorageKey")&&(t=Mh(e,rM.M.FORUM_CHANNEL_HELPER_CARD)),t},cleanup(){tA.w.remove("forumHelperCardStorageKey")}},{version:20,run(e){let t=tA.w.get("lastChangeLogId");if(null==t)return!1;if(!(0,Mc.hT)(t))return tA.w.remove("lastChangeLogId"),!1;if(null==e.userContent)e.userContent=ts.YW.create();else if(null!=e.userContent&&null!=e.userContent.lastReceivedChangelogId&&"0"!==e.userContent.lastReceivedChangelogId)return tA.w.remove("lastChangeLogId"),!1;return e.userContent.lastReceivedChangelogId=t,!0},cleanup(){tA.w.remove("lastChangeLogId")}},{version:21,run:e=>e.appearance?.uiDensity===ts.NS.COMPACT&&(e.appearance.uiDensity=ts.NS.DEFAULT,!0),cleanup(){}}];var ME=n(405892);let Mm={init(){ME.A[vh.oD.PRELOADED_USER_SETTINGS]=Mp,ME.A[vh.oD.FRECENCY_AND_FAVORITES_SETTINGS]=Ml,ez.h.subscribe("CONNECTION_OPEN",Mg),ez.h.subscribe("USER_SETTINGS_PROTO_ENQUEUE_UPDATE",MA),ez.h.subscribe("USER_SETTINGS_PROTO_LOAD_IF_NECESSARY",MI),ez.h.subscribe("APP_STATE_UPDATE",MT)}};function Mg(){let e=tu.A.getFullState(),t=e[vh.oD.PRELOADED_USER_SETTINGS];t.editInfo.triggeredMigrations&&wf.wc.markDirtyFromMigration(t.proto,t.editInfo.cleanupFuncs),im().forEach(wf.Df,(t,n)=>{let i=e[Number(n)];null!=i.editInfo.offlineEditDataVersion&&null!=i.editInfo.protoToSave&&t.scheduleSaveFromOfflineEdit()})}function MA(e){let{settings:{proto:t,type:n},delaySeconds:i,jitter:r}=e;wf.Df[n].markDirty(t,{delaySeconds:i,jitter:r})}function MI(e){let{settingsType:t}=e;wf.Df[t].loadIfNecessary()}function MT(e){let{state:t}=e;("inactive"===t||"background"===t)&&im().forEach(wf.Df,(e,t)=>{null!=tu.A.getFullState()[Number(t)].editInfo.timeout&&(e.logger.log("Triggering persistChanges due to AppStateUpdate"),e.persistChanges())})}function MS(){let e=s;if(null==e||!aN.A.isOpen(e))return!1;ez.h.wait(()=>aA.VN(e)),iL.A.getRTCConnection()?.setPipOpen(!1),s=null}function My(){let e=iL.A.getChannelId(),t=s===e;if(function(){let e=iL.A.getChannelId(),t=nX.A.getChannelId();if(!tI.Ay.supports(il.O5.VIDEO)||io.A.getWindowOpen(eL.MLl.CHANNEL_CALL_POPOUT))return!0;let n=null!=e&&iO.A.getAllActiveStreams().some(t=>!t5.A.isParticipantPoppedOut(e,(0,iN._z)(t)));if(!(null!=e&&Object.values(iM.A.getVideoVoiceStatesForChannel(e)).some(t=>{let{userId:n}=t;return!tI.Ay.isLocalVideoDisabled(n)&&!t5.A.isParticipantPoppedOut(e,n)})||n))return!0;let i=rU.A.hasLayers();return!(i&&rU.A.getLayers().includes(eL.zgK.RTC_DEBUG))&&(!!i||e===t)}())return MS();if(t||MS(),null==e)return!1;let n=ib.A.getChannel(e);return!(null==n||aN.A.isOpen(e))&&(ez.h.wait(()=>aA.ho(n.id,eL.o1q.VIDEO,{channel:n})),iL.A.getRTCConnection()?.setPipOpen(!0),void(s=e))}class MN extends nK.A{_initialize(){nX.A.addChangeListener(My),nZ.A.addChangeListener(My),iL.A.addChangeListener(My),iM.A.addChangeListener(My),rU.A.addChangeListener(My),iO.A.addChangeListener(My),io.A.addChangeListener(My),tI.Ay.addChangeListener(My),iI.Ay.addChangeListener(My),t5.A.addChangeListener(My)}_terminate(){nX.A.removeChangeListener(My),nZ.A.removeChangeListener(My),iL.A.removeChangeListener(My),iM.A.removeChangeListener(My),rU.A.removeChangeListener(My),iO.A.removeChangeListener(My),io.A.removeChangeListener(My),tI.Ay.removeChangeListener(My),iI.Ay.removeChangeListener(My),t5.A.removeChangeListener(My)}}let Mv=new MN;var MC=n(885576);let MR=new n4.Ep,MO=new n4.Ep;class Mb extends nK.A{_initialize(){ez.h.subscribe("IDLE",this.handleIdleUpdate)}_terminate(){MR.stop(),MO.stop(),ez.h.unsubscribe("IDLE",this.handleIdleUpdate)}handleIdleUpdate(){let e=MC.A.getIdleSince();if(!eU.isPlatformEmbedded)return;for(let e of(MR.stop(),MO.stop(),iO.A.getAllActiveStreams()))if(e.state!==eL.XYD.ENDED)return;if(null==e)return;let t=iL.A.getChannelId();if(null==t)return;MO.start(18e6,()=>{nD.default.selectVoiceChannel(null)});let n=tx.A.getGuild(iL.A.getGuildId());if(null==n||null==n.afkChannelId||n.afkChannelId===t||null==n.afkTimeout)return;let i=ib.A.getChannel(t);null==i||i.isGuildStageVoice()||MR.start(e+n.afkTimeout*n5.A.Millis.SECOND-Date.now(),()=>{null!=(n=tx.A.getGuild(iL.A.getGuildId()))&&null!=n.afkChannelId&&nD.default.selectVoiceChannel(n.afkChannelId,!1,!1,{bypassIdleUpdate:!0})})}}let MD=new Mb;var ML=n(565058);let Mw=!1,MM=null,MP={init(){ez.h.subscribe("CONNECTION_OPEN",e=>{let{pendingPayments:t}=e;if(null!=t&&t.length>0){var i;if(MM===t[0]||null==(MM=t[0]))return;i=MM,Mw||(Mw=!0,(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("41066"),n.e("9967")]).then(n.bind(n,302810));return t=>{let{transitionState:n,onClose:r}=t;return(0,U.jsx)(e,{pendingPayment:i,transitionState:n,onClose:()=>(Mw=!1,r())})}}))}})}};var Mx=n(612181);n(115036),n(131319),n(794383),n(530789),n(712687),n(328968),n(116956),n(304296);let Mk=eL.XlH.CLOSED,MU={},MG=null;function MF(){let e=tT.default.getCurrentUser();if(null==e)return MV();Mk=eL.XlH.OPEN,MU={},MG={...{userId:e.id,username:e.username,discriminator:e.discriminator,email:e.email,avatar:e.avatar,password:"",newPassword:null,claimed:e.isClaimed()}}}function MV(){Mk=eL.XlH.CLOSED,MG=null,MU={}}function MB(){Mk=eL.XlH.OPEN,MU={}}class MH extends e6.Ay.Store{static displayName="UserSettingsAccountStore";initialize(){this.waitFor(tT.default)}getErrors(){return MU}getSubmitting(){return Mk===eL.XlH.SUBMITTING}getSettings(){return MG}}new MH(ez.h,{USER_SETTINGS_MODAL_OPEN:function(){MF()},USER_SETTINGS_MODAL_INIT:MF,USER_SETTINGS_MODAL_CLOSE:MV,LOGOUT:MV,USER_SETTINGS_MODAL_SUBMIT:function(){Mk=eL.XlH.SUBMITTING},USER_SETTINGS_MODAL_SUBMIT_FAILURE:function(e){if(Mk!==eL.XlH.SUBMITTING)return!1;Mk=eL.XlH.OPEN,MU=e.errors??{}},USER_SETTINGS_MODAL_UPDATE_ACCOUNT:function(e){let{settings:t}=e;null==MG&&(MG={}),MG={...MG,...t}},USER_SETTINGS_MODAL_SUBMIT_COMPLETE:MB,USER_SETTINGS_MODAL_RESET:function(){let e=tT.default.getCurrentUser();MB(),null!=e&&(MG={...{userId:e.id,username:e.username,discriminator:e.discriminator,email:e.email,avatar:e.avatar,password:"",newPassword:null,claimed:e.isClaimed()}})}}),n(836602),n(555337),n(863036),n(291731),n(176360),n(539895);let Mj=!1;function MY(){Mj=!1}class MW extends e6.Ay.Store{isTogglesDisabled(){return Mj}}new MW(ez.h,{AD_PERSONALIZATION_TOGGLES_RESTRICTED:function(e){Mj=e.disabled??!1},CONNECTION_OPEN:MY,LOGOUT:MY}),n(787301),n(632789);var MK=n(453001);n(753027),n(989837),n(166862),n(264322),n(861382),n(715314);var M$=n(61090);n(237751);var Mz=n(154049),Mq=n(937724),MX=n(799422),MZ=n(723176);let MQ=new tb.A("GuildBasicChannels");function MJ(e,t){return null==e||e.type!==t.type||e.parent_id!==t.parent_id||l0.A.computeBasicPermissions(e)!==l0.A.computeBasicPermissions(t)}let M0=new class{synced=null;async getAsync(e){let t=performance.now(),[n,i]=await Promise.all([MZ.A.basicChannels(e).getKvEntries(),MZ.A.syncedBasicChannels(e).getKvEntries()]),r=performance.now()-t,[s,a]=function(e){let t=[],n=[];for(let[i,r]of e)(r?t:n).push(i);return[t,n]}(i),o=new Set(s);return this.synced=o,MQ.verbose(`loaded in ${r}ms (guilds: ${n.length}, synced: ${o.size} unsynced: ${a.length})`),{all:n,stale:a,channels:n.filter(e=>{let[t,n]=e;return o.has(t)})}}actions={BACKGROUND_SYNC:(e,t)=>this.handleBackgroundSync(e,t),CHANNEL_CREATE:(e,t)=>this.handleChannelCreate(e,t),CHANNEL_DELETE:(e,t)=>this.handleChannelDelete(e,t),CHANNEL_UPDATES:(e,t)=>this.handleChannelUpdates(e,t),CONNECTION_OPEN:(e,t)=>this.handleConnectionOpen(e,t),GUILD_CREATE:(e,t)=>this.handleGuildCreate(e,t),GUILD_DELETE:(e,t)=>this.handleGuildDelete(e,t),GUILD_MEMBER_UPDATE:(e,t)=>this.handleGuildMemberUpdate(e,t),GUILD_ROLE_UPDATE:(e,t)=>this.handleGuildRoleUpdate(e,t),GUILD_UPDATE:(e,t)=>this.handleGuildUpdate(e,t),POST_CONNECTION_OPEN:()=>this.handlePostConnectionOpen(),WRITE_CACHES:(e,t)=>this.handleWriteCaches(e,t)};handleChannelCreate(e,t){null!=e.channel.guild_id&&this.unsync(e.channel.guild_id,t)}handleChannelDelete(e,t){null!=e.channel.guild_id&&this.unsync(e.channel.guild_id,t)}handleChannelUpdates(e,t){for(let n of e.channels.filter(e=>null!=e.guild_id))MJ(ib.A.getBasicChannel(n.id),n)&&this.unsync(n.guild_id,t)}handleBackgroundSync(e,t){for(let n of e.guilds)switch(n.data_mode){case"unavailable":break;case"partial":let e=e=>(0,iR.UE)(e,n.id);this.onGuildUpdate(n.id,n.partial_updates.channels?.map(e)??[],n.partial_updates.deleted_channel_ids??[],t);break;default:this.onGuildSync(n.id,t)}}handleConnectionOpen(e,t){for(let n of e.guilds)this.handleOneGuildCreate(n,t)}async handlePostConnectionOpen(){let e=C_.A.lastTimeConnectedChanged(),t=MZ.A.database();if(null==this.synced||null==t||!(0,Mq.O)())return;let n=tx.A.getGuildIds(),i=n.filter(e=>!this.synced.has(e));for(let r of(MQ.verbose(`scheduling basic_channel optimstic writes (guilds: ${i.length})`),n)){if(null==this.synced||t!==MZ.A.database()||e!==C_.A.lastTimeConnectedChanged())break;if(!this.synced.has(r)){MQ.verbose(`optimstically writing basic_channels (guild: ${r})`);try{await ib.D.loadGuildIds([r]),await t.transaction(e=>this.syncOne(r,e),"handlePostConnectionOpen")}catch(e){MQ.warn("couldn't optimstically write basic_channel:",e);return}await new Promise(e=>setTimeout(e,1e3))}}}handleGuildCreate(e,t){this.handleOneGuildCreate(e.guild,t)}handleOneGuildCreate(e,t){let{id:n,channels:i}=e;switch(i.op){case"full_sync":this.onGuildSync(n,t);break;case"update":this.onGuildUpdate(n,i.writes,i.deletes,t)}}handleGuildUpdate(e,t){this.unsync(e.guild.id,t)}handleGuildDelete(e,t){!0!==e.guild.unavailable&&this.delete(e.guild.id,t)}handleGuildRoleUpdate(e,t){let n=e.role,i=tP.A.getRole(e.guildId,n.id);null!=i&&Ch.aI(Ch.iu(n.permissions),i.permissions)||this.unsync(e.guildId,t)}handleGuildMemberUpdate(e,t){e.user.id===eW.default.getId()&&this.unsync(e.guildId,t)}handleWriteCaches(e,t){this.sync(t)}resetInMemoryState(){this.synced=null}onGuildUpdate(e,t,n,i){(n.length>0||t.some(e=>MJ(ib.A.getBasicChannel(e.id),e)))&&this.unsync(e,i)}onGuildSync(e,t){this.unsync(e,t)}delete(e,t){this.unsync(e,t),MZ.A.basicChannelsTransaction(t).delete(e),MZ.A.syncedBasicChannelsTransaction(t).delete(e)}unsync(e,t){this.synced?.delete(e),MZ.A.basicChannelsTransaction(t).delete(e),MZ.A.syncedBasicChannelsTransaction(t).put(e,!1),MK.A.invalidate(e)}sync(e){MQ.verbose("Starting to write all basic channels");let t=performance.now(),n={written:0,skipped:0};for(let t of tx.A.getGuildIds())this.syncOne(t,e)?n.written++:n.skipped++;let i=performance.now()-t;MQ.verbose(`${n.written} basic_channel guilds submitted (took: ${i}ms, skipped: ${n.skipped} guilds)`)}syncOne(e,t){var n;return!(null==tx.A.getGuild(e)||this.synced?.has(e))&&(this.synced?.add(e),MZ.A.basicChannelsTransaction(t).put(e,(n=e,Object.values(ib.A.getMutableGuildChannelsForGuild(n)).map(e=>({id:e.id,type:e.type,guild_id:e.guild_id,parent_id:e.parent_id,basicPermissions:MX.A.asBasicFlag(l0.A.computePermissions(e))})))),MZ.A.syncedBasicChannelsTransaction(t).put(e,!0),!0)}};var M1=n(860689),M2=n(9865),M3=n(7864);let M6=new tb.A("Guilds"),M4=new class{async getAsync(e){let t=performance.now(),n=await MZ.A.guilds(e).getMany(),i=performance.now();return M6.verbose(`loaded in ${i-t}ms (guilds: ${n.length})`),n}async getOneAsync(e,t){return await MZ.A.guilds(e).get(t)}actions={BACKGROUND_SYNC:(e,t)=>this.handleBackgroundSync(e,t),CONNECTION_OPEN:(e,t)=>this.handleConnectionOpen(e,t),GUILD_CREATE:(e,t)=>this.handleGuildCreate(e,t),GUILD_DELETE:(e,t)=>this.handleGuildDelete(e,t),GUILD_MEMBER_ADD:(e,t)=>this.handleGuildMemberAdd(e,t),GUILD_MEMBER_UPDATE:(e,t)=>this.handleGuildMemberUpdate(e,t),GUILD_ROLE_CREATE:(e,t)=>this.handleGuildRoleChange(e,t),GUILD_ROLE_DELETE:(e,t)=>this.handleGuildRoleDelete(e,t),GUILD_ROLE_UPDATE:(e,t)=>this.handleGuildRoleChange(e,t),GUILD_UPDATE:(e,t)=>this.handleGuildUpdate(e,t)};handleBackgroundSync(e,t){for(let n of e.guilds){if("unavailable"===n.data_mode)continue;let e=tx.A.getGuild(n.id);if(null!=e){let i=tP.A.getUnsafeMutableRoles(n.id),r="partial"===n.data_mode?M3.ly(n.id,i,n.partial_updates.roles,n.partial_updates.deleted_role_ids):M2.hd(n.id,n.roles);this.put(M1.Me(M1.kI(n,e),M2.cH(r),Sf.Ay.getSelfMember(n.id)),t)}}}handleConnectionOpen(e,t){let n=[...e.guilds.map(e=>e.id),...e.unavailableGuilds];for(let i of(MZ.A.guildsTransaction(t).deleteAllExcept(n),e.guilds))this.putOne(i,t)}handleGuildCreate(e,t){this.putOne(e.guild,t)}handleGuildUpdate(e,t){let n=tx.A.getGuild(e.guild.id),i=M1.Y1(e.guild,n);this.put(M1.Me(i,M2.cH(M2.hd(e.guild.id,e.guild.roles)),Sf.Ay.getSelfMember(e.guild.id)),t)}handleGuildDelete(e,t){this.delete(e.guild.id,t)}handleGuildRoleChange(e,t){let n=tx.A.getGuild(e.guildId),i=tP.A.getUnsafeMutableRoles(e.guildId);null!=n&&this.put(M1.Me(n,M2.cH({...i,[e.role.id]:M2.Wj(e.guildId,e.role)}),Sf.Ay.getSelfMember(e.guildId)),t)}handleGuildRoleDelete(e,t){let n=tx.A.getGuild(e.guildId);if(null!=n){let i={...tP.A.getUnsafeMutableRoles(e.guildId)};delete i[e.roleId];let r=Sf.Ay.getSelfMember(e.guildId);null!=r&&(r={...r,roles:r.roles.filter(t=>t!==e.roleId)}),this.put(M1.Me(n,M2.cH(i),r),t)}}handleGuildMemberAdd(e,t){if(null!=e.joinedAt&&e.user.id===eW.default.getId()){let n=tx.A.getGuild(e.guildId);null!=n&&this.put(M1.Me((0,nq.kn)(n,e.joinedAt),M2.cH(tP.A.getUnsafeMutableRoles(n.id)),Sf.Ay.getSelfMember(n.id)),t)}}handleGuildMemberUpdate(e,t){if(e.user.id!==eW.default.getId())return;let n=tx.A.getGuild(e.guildId);null!=n&&this.put(M1.Me(n,M2.cH(tP.A.getUnsafeMutableRoles(n.id)),{roles:e.roles,userId:e.user.id}),t)}resetInMemoryState(){}putOne(e,t){let n=e.members.find(e=>e.user.id===eW.default.getId()),i=tx.A.getGuild(e.id);if(null==e.properties&&null==i)return;let r=M2.j_(e.id,e.roles,tP.A.getUnsafeMutableRoles(e.id)),s=M1.Me(M1.Wj(e,i),M2.cH(r),null!=n?{userId:n.user.id,roles:n.roles}:null);this.put(s,t)}put(e,t){MZ.A.guildsTransaction(t).put(e)}delete(e,t){MZ.A.guildsTransaction(t).delete(e)}};var M5=n(314732),M7=n(586660),M8=n(214771);let M9=new tb.A("ReadStates"),Pe=new class{readStateVersion=null;async getAll(e){let t=performance.now(),n=await MZ.A.readStates(e).getMany(),i=performance.now();return M9.log(`asynchronously loaded in ${i-t}ms (readStates: ${n.length})`),n}actions={CONNECTION_OPEN:e=>this.handleConnectionOpen(e),CHANNEL_PINS_ACK:e=>this.handleReadStateAction(e),MESSAGE_ACK:e=>this.handleReadStateAction(e),BACKGROUND_SYNC_FINISHED:(e,t)=>{e.messagesOnly||this.handleWriteCaches(t,!1)},WRITE_CACHES:(e,t)=>this.handleWriteCaches(t,!0)};resetInMemoryState(){this.readStateVersion=null}handleConnectionOpen(e){this.readStateVersion=e.readState.version}handleReadStateAction(e){null!=this.readStateVersion&&(null!=e.version?this.readStateVersion=e.version:M9.log("Received null read states version",e))}handleWriteCaches(e,t){let n=sK.Ay.getAllReadStates(!1);if(t){if(null==this.readStateVersion)return;let t="0",i="0",r=Object.keys(ib.A.getMutablePrivateChannels()),s=new Set(r);for(let e of(i=im()(r).sort(SE.default.compare).reverse().value()[0]??"0",n))null!=e._lastMessageId&&(1===SE.default.compare(e._lastMessageId,t)&&(t=e._lastMessageId),s.has(e.channelId)&&1===SE.default.compare(e._lastMessageId,i)&&(i=e._lastMessageId));MZ.A.nonGuildVersionsTransaction(e).putAll([{id:"highest_last_message_id",versionString:t},{id:"private_channels_version",versionString:i},{id:"read_state_version",version:this.readStateVersion}])}let i=MZ.A.readStatesTransaction(e);i.delete(),n.forEach(e=>i.put(`${e.type}-${e.channelId}`,e))}},Pt=new tb.A("ReadStates"),Pn=new class{async getAll(e){let t=performance.now(),n=await MZ.A.userGuildSettings(e).getMany(),i=performance.now();return Pt.log(`asynchronously loaded in ${i-t}ms (userGuildSettings: ${n.length})`),n}actions={CONNECTION_OPEN:(e,t)=>this.handleConnectionOpen(e,t),USER_GUILD_SETTINGS_FULL_UPDATE:(e,t)=>this.handleUserGuildSettingsUpdate(e,t)};resetInMemoryState(){}handleConnectionOpen(e,t){e.userGuildSettings.partial||MZ.A.userGuildSettingsTransaction(t).delete(),this.write(e.userGuildSettings.entries,e.userGuildSettings.version,t)}handleUserGuildSettingsUpdate(e,t){let n=im().max(e.userGuildSettings.map(e=>e.version??-1));null!=n&&this.write(e.userGuildSettings,n,t)}write(e,t,n){let i=MZ.A.userGuildSettingsTransaction(n);for(let t of e){let e={...(0,Cv.wn)(t.guild_id),...t,channel_overrides:(0,Cv.b5)(t.channel_overrides)};i.put(t.guild_id??"dm-sentinel",e)}MZ.A.nonGuildVersionsTransaction(n).put({id:"user_guild_settings_version",version:t})}};var Pi=n(45773);let Pr=new tb.A("UserSettingsProto");class Ps{actions={CONNECTION_OPEN:()=>this.throttledOnChange(),USER_SETTINGS_PROTO_UPDATE:()=>this.throttledOnChange(),USER_SETTINGS_PROTO_ENQUEUE_UPDATE:()=>this.throttledOnChange(),USER_SETTINGS_PROTO_UPDATE_EDIT_INFO:()=>this.throttledOnChange()};async getAll(e){let t=performance.now(),n=await MZ.A.userSettings(e).getMany(),i=performance.now();Pr.verbose(`loaded in ${i-t}ms (settings: ${n.length})`);let r={};for(let e of n)r[e.id]=e.value;return r}handleUserSettingsProtoChange=()=>{let e=eW.default.getId(),t=Pi.A.database(e);t?.transaction(e=>{let t=tu.A.computeState(),n=MZ.A.userSettingsTransaction(e);for(let e in t)n.put({id:Number(e),value:t[e]});let i=tu.A.settings.versions?.dataVersion??-1;MZ.A.nonGuildVersionsTransaction(e).put({id:"user_settings_version",version:i})},"handleUserSettingsProtoChange")};throttledOnChange=im().debounce(this.handleUserSettingsProtoChange,0);resetInMemoryState(){}}let Pa=new Ps;var Po=n(531743),Pl=n(917878),Pu=n(464578),Pc=n(736400);let Pd=new tb.A("CacheStore"),P_=!1,Ph="initializing",Pf=0;async function Pp(e,t,n){let i=performance.now();if(null==e||null==n)return Pd.verbose(`skipped loaded messages (channel: ${n}, database: ${e}).`),[performance.now()-i,{guildId:null,channelId:null,users:[],members:[],messages:[]}];{let r=await M7.Ay.startupLoad(e,t,n,eL.EMb);Pd.verbose(`loaded ${r.messages.length} messages (guild: ${t}, channel: ${n}).`);let s={guildId:t,channelId:n,users:r.users,members:r.members,messages:r.messages};return Pl.A.recordChannelFetchedLocal(n,Pl.a,null,null,eL.EMb,r.messages),[performance.now()-i,s]}}async function PE(e,t,n){Pd.verbose("loading early cache");let i=C_.A.getSocket();i.connect();let r=nZ.A.getGuildId()??null,s=nX.A.getChannelId()??null,a=performance.now(),o=Pu.A.loadCachedMessages.measureAsyncWithoutNesting(()=>Pp(e,r,s)),l=Pu.A.fetchGuildCache.measureAsync(()=>Pg(e,n)),u=Pu.A.fetchGuildCache.measureAsync(()=>PA(e,n)),c=null!=e?M$.A.timeAsync("\uD83D\uDCBE","cache: private_channels",()=>Po.A.getAsync(e,null)):Promise.resolve([]),d=null==e?Promise.resolve({}):M$.A.timeAsync("\uD83D\uDCBE","cache: user_settings",()=>Pa.getAll(e)),_=null==e?Promise.resolve([]):M$.A.timeAsync("\uD83D\uDCBE","cache: read_states",()=>Pe.getAll(e)),h=null==e?Promise.resolve([]):M$.A.timeAsync("\uD83D\uDCBE","cache: user_guild_settings",()=>Pn.getAll(e)),[[f,p],E,m,g,A,I,T]=await Promise.all([o,l,u,c,d,_,h]),S=performance.now()-a;if(Pd.verbose(`cache loaded in ${S}ms (channel_history ${f}ms)`),null==p)return Pd.verbose("finished without dispatching CACHE_LOADED"),[!1,null,0];let y=Object.fromEntries(p.members.map(e=>[e.userId,e])),N=null!=m.guildId&&null!=m.channels,v=m.guildId;return await new Promise((e,t)=>e6.Ay.Emitter.batched(()=>{M$.A.time("\uD83D\uDCBE","Dispatch Mini Cache",()=>ez.h.dispatch({type:"CACHE_LOADED",guilds:E,privateChannels:g,initialGuildChannels:m.channels??[],users:[...p.users],messages:null==p.channelId?{}:{[p.channelId]:p.messages},guildMembers:null==p.guildId?{}:{[p.guildId]:y},userSettings:A,userGuildSettings:T,readStates:I}).then(e,t)),M$.A.time("\uD83D\uDCBE","socket.processFirstQueuedDispatch()",()=>i.dispatcher.processFirstQueuedDispatch(new Set(["INITIAL_GUILD"])))})),Pd.verbose(`early_cache_summary: (
        ok: true
        meta:
          auth_user_id: ${t}
          selected_guild: ${r}
          selected_channel: ${s}
          navigation_state: ${JSON.stringify(n)}
          database: ${null!=e}
            name: ${e?.name}
        data:
          database:
            private_channels: ${g.length}
            channel_history:
              guild: ${p.guildId}
              channel: ${p.channelId}
              messages: ${p.messages.length}
                members: ${p.members.length}
                users: ${p.users.length}
            initial_guild:
              id: ${v}
              channels: ${m.channels?.length}
            user_settings: ${Object.keys(A).length}
            read_states: ${I.length}
            user_guild_settings: ${T.length}
      )`),Pu.A.setEarlyCacheInfo({guilds:E.length}),Pd.verbose("finished dispatching CACHE_LOADED"),[!0,N?v??null:null,g.length]}let Pm=!1;async function Pg(e,t){if(null==e)return[];switch(t.page){case"private-channels":case"guild-channels":Pm=!0;break;case"other":"@me"===t.guildId&&(Pm=!0)}if(Pm)return await (0,Mz.kk)(()=>M$.A.timeAsync("\uD83D\uDCBE","cache: guilds",()=>M4.getAsync(e)))??[];let n=(await M8.A.getCommittedVersions()).initial_guild_id??t.guildId;if(null==n||"@me"===n)return[];let i=await (0,Mz.kk)(()=>M4.getOneAsync(e,n));return null!=i?[i]:[]}async function PA(e,t){if(null==e)return Promise.resolve({channels:null,guildId:null});let n=(await M8.A.getCommittedVersions()).initial_guild_id;if(null==n&&"guild-channels"===t.page&&(n=t.guildId),null==e||null==n)return Pd.verbose(`skipped loading initial guild (guild: ${n}, database: ${e})`),Promise.resolve({channels:null,guildId:null});let i=n;return{channels:await (0,Mz.kk)(()=>Po.A.getAsync(e,i)),guildId:n}}async function PI(e,t,n,i){Pd.verbose("loading late lazy cache");let[r,s,a]=await Pu.A.fetchLazyCache.measureAsync(()=>Promise.all([(0,Mz.kk)(()=>null!=e?M$.A.timeAsync("\uD83D\uDCBE","cache: cache_version",()=>M5.A.okAsync(e)):Promise.resolve(!0)),(0,Mz.kk)(()=>null==e||Pm?Promise.resolve([]):M$.A.timeAsync("\uD83D\uDCBE","cache: lazy guilds",()=>M4.getAsync(e))),(0,Mz.kk)(()=>null!=e?M$.A.timeAsync("\uD83D\uDCBE","cache: basic_channels",()=>M0.getAsync(e)):Promise.resolve({all:[],stale:[],channels:[]}))])),o=await Pu.A.fetchStaleChannels.measureAsync(()=>null!=e&&null!=a&&a.stale.length>0?(0,Mz.kk)(()=>{var t;return t=a.stale,Pd.verbose(`loading stale guild channels (count: ${t.length}, ids: ${t.join(", ")})`),Promise.all(t.map(t=>Po.A.getAsync(e,t).then(e=>[t,e])))}):Promise.resolve([]));tU.iQ.getCachedEnabled()?Pd.verbose("loadLateLazyCache: not yielding to react"):(Pd.verbose("loadLateLazyCache: yielding to react"),await function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3;return new Promise(t=>{let n=setTimeout(()=>{t()},e);(0,r_.t)(()=>{clearTimeout(n),t()})})}((0,eU.isIOS)()?0:void 0)),Pu.A.loadLazyCache.recordStart();let l=C_.A.getSocket();PT(()=>{let u=performance.now();if(!1===r){ez.h.dispatch({type:"CLEAR_CACHES",reason:"database:not_ok"}),ez.h.dispatch({type:"CACHE_LOADED_LAZY_NO_CACHE"});return}if(null==s||null==a||null==o){Pd.log(`couldn't load database item (
          database: ${null!=e}
          basic_channels: ${null!=a}
          guild_channels: ${null!=o}
          guilds: ${null!=s}
        )`),ez.h.dispatch({type:"CLEAR_CACHES",reason:"database:load_failed"}),ez.h.dispatch({type:"CACHE_LOADED_LAZY_NO_CACHE"});return}if(null==r&&(s.length>0||a.all.length>0)){Pd.log("kv_cache was not ok (null version with values)"),ez.h.dispatch({type:"CLEAR_CACHES",reason:"database:versionless"}),ez.h.dispatch({type:"CACHE_LOADED_LAZY_NO_CACHE"});return}0;l.addAnalytics({hadCacheAtStartup:!0});let c={type:"CACHE_LOADED_LAZY",guilds:s,guildChannels:o,basicGuildChannels:a.channels,initialGuildId:n};Pu.A.deserializeCache.measure(()=>{null!=c.channels&&(0,Pc.Ay)(c.channels),null!=c.privateChannels&&(0,Pc.Ay)(c.privateChannels),null!=c.guildChannels&&(0,Pc.X3)(c.guildChannels)}),Pu.A.dispatchLazyCache.measure(()=>ez.h.dispatch(c)),Pd.verbose(`late lazy cache loaded (ok: true, took: ${performance.now()-u}ms)`),l.addAnalytics({usedCacheAtStartup:!0});let d=o.reduce((e,t)=>{let[n,i]=t;return e+i.length},0),_=o.length,h=a.all.reduce((e,t)=>{let[n,i]=t;return e+i.length},0),f=a.channels.reduce((e,t)=>{let[n,i]=t;return e+i.length},0),p=h-f,E=0===a.stale.length?"":` \xb7 ${a.stale.join(", ")}`;Pd.verbose(`lazy_cache_summary: (
        ok: true
        meta:
          auth_user_id: ${t}
          initial_guild: ${n}
          database: ${null!=e}
            ok: ${r}
            name: ${e?.name}
        data:
          database:
            guilds: ${s.length}
            basic_channels:
              total: ${h} (${a.channels.length} guilds)
              stale: ${p} (${a.stale.length} guilds${E})
              unstale: ${f}
            full_channels (guilds_with_stale_basic_channels):
              total: ${d} (${o.length} guilds)
      )`),Pu.A.setLazyCacheInfo({guilds:s.length,privateChannels:i,basicChannels:h,basicChannelsStale:p,fullChannels:d,fullChannelGuilds:_})})}function PT(e){let t=C_.A.getSocket(),n=!1;e6.Ay.Emitter.batched(()=>{try{if(e(),!t.dispatcher.hasStuffToDispatchNow()){Pd.verbose("Unpausing Dispatch Queue"),t.dispatcher.unpauseDispatchQueue();return}n=!0,Pu.A.loadLazyCache.recordEnd(),Pd.verbose("Processing First Queued Dispatch"),t.dispatcher.processFirstQueuedDispatch(new Set(["READY","INITIAL_GUILD"])),setTimeout(()=>{Pd.verbose("Unpausing Dispatch Queue"),t.dispatcher.unpauseDispatchQueue()},100)}catch(e){Pd.warn("Lazy cache has encountered error",e),ez.h.dispatch({type:"RESET_SOCKET",args:{error:e,action:"LazyCache"}})}}),n||Pu.A.loadLazyCache.recordEnd()}class PS extends e6.Ay.Store{static displayName="CacheStore";initialize(){this.waitFor(eW.default,C_.A,nX.A,nZ.A),C_.A.getSocket().dispatcher.unpauseDispatchQueue()}hasCache(){return!0}getLazyCacheStatus(){return"no-cache"}get lastWriteTime(){return Pf}canWriteCaches(e){return(0,Mx.wR)()?P_?(Pd.log("Not writing cache because caches cleared"),!1):!!e||(Pd.log("Not writing cache because never connected"),!1):(Pd.log("Not writing cache because not authenticated"),!1)}async loadCacheAsync(e,t){let n,i,r=(i=!1,function(){for(var e=arguments.length,r=Array(e),s=0;s<e;s++)r[s]=arguments[s];return i||(i=!0,n=t(...r)),n});Pu.A.setInitialPage(e.page);let s=e.guildId;if(Pu.A.setInitialGuildId(null!=s&&"@me"!==s?s:null),"initializing"!==Ph){r(),setTimeout(()=>C_.A.getSocket()?.dispatcher?.unpauseDispatchQueue(),0);return}try{let t=eW.default.getId(),n=Pi.A.carefullyOpenDatabase(t),[i,s,a]=await Pu.A.loadMiniCache.measureAsync(()=>PE(n,t,e));i?(r(),await PI(n,t,s,a)):(r(),await (PT(()=>ez.h.dispatch({type:"CACHE_LOADED_LAZY_NO_CACHE"})),Promise.resolve()))}catch(e){Pd.error("clearing cache. exception encountered while loading cache.",e,e.stack),r(),ez.h.dispatch({type:"RESET_SOCKET",args:{error:e,action:"loadCacheAsync"}})}}}new PS(ez.h,{});let Py=Object.freeze({online:null,total:null}),PN={},Pv={},PC=null;class PR extends e6.Ay.PersistedStore{static displayName="ChannelMemberCountStore";static persistKey="channelMemberCounts";initialize(e){this.waitFor(C_.A,ib.A),Pv=e??PN}getState(){return Pv}getMemberCount(e){return Pv[e]??Py}requestCount(e,t){PC={guildId:e,channelId:t},C_.A.getSocket().requestChannelMemberCount(e,t)}}new PR(ez.h,{CONNECTION_OPEN:function(){null!=PC&&C_.A.getSocket().requestChannelMemberCount(PC.guildId,PC.channelId),SE.default.keys(Pv).forEach(e=>{null==ib.A.getChannel(e)&&delete Pv[e]})},CHANNEL_MEMBER_COUNT_UPDATE:function(e){let{channelId:t,online:n,total:i}=e;return(null!=n||null!=i)&&(Pv[t]={online:n,total:i}),!0}}),n(309698),n(717125),n(25639),n(725613);var PO=n(47671);n(574520),n(517164),n(99753),n(697627),n(159273),n(108822),n(710195),n(457699),n(900019),n(207777),n(246943),n(474399),n(768953),n(870391),n(823448),n(499118),n(351022),n(610136),n(93474);let Pb={},PD={},PL={},Pw={};function PM(e){let t=PD[e];if(null==t)return;let n=SE.default.fromTimestamp(Date.now()-9e5),i=im().findIndex(t,e=>SE.default.compare(e.id,n)>0);if(-1===i)PD[e]=[];else{let n=Math.max(i,t.length-26);PD[e]=im().slice(t,n)}PL[e]=Date.now()}function PP(e,t,n,i){Pb[e].add(t);let r=PL[t];(null==r||r+3e5>Date.now())&&PM(t),null==PD[t]&&(PD[t]=[]),PD[t].push({id:n,userId:i})}function Px(e){let{channel:t}=e;delete PD[t.id],delete PL[t.id]}class Pk extends e6.Ay.Store{initialize(){this.waitFor(ib.A,nZ.A)}static displayName="ActiveChannelsStore";getActiveChannelsFetchStatus(e){return Pw[e]}getActiveChannelIds(e){return Pb[e]}getChannelMessageData(e){return PD[e]}shouldFetch(e){return null==Pb[e]&&!Pw[e]?.loading}}new Pk(ez.h,{CHANNEL_SELECT:function(e){let{channelId:t,guildId:n}=e;if(!(0,vc.mP)(t)||null==n)return!1;let i=Pb[n];if(null==i)return!1;i.forEach(e=>{PM(e),PD[e]?.length===0&&delete PD[e]});let r=im().chain(Array.from(i)).filter(e=>e in PD).sortBy(e=>-(PD[e]?.length??0)).value();Pb[n]=new Set(r)},MESSAGE_CREATE:function(e){let{channelId:t,message:n,optimistic:i,isPushNotification:r}=e;if(i||r)return!1;let s=ib.A.getChannel(t);if(null==s)return!1;let a=s.guild_id;if(null==a||null==Pb[a])return!1;PP(a,t,n.id,n.author?.id)},GUILD_DELETE:function(e){let{guild:t}=e;delete Pb[t.id]},CHANNEL_DELETE:Px,THREAD_DELETE:Px,ACTIVE_CHANNELS_FETCH_START:function(e){let{guildId:t}=e;Pw[t]={loading:!0,error:null,fetchedAt:Date.now()}},ACTIVE_CHANNELS_FETCH_SUCCESS:function(e){let{guildId:t,channels:n}=e;Pw[t]={loading:!1,error:null,fetchedAt:Date.now()},Pb[t]=new Set,n.forEach(e=>{let{channel_id:n,messages:i}=e;i.forEach(e=>{PP(t,n,e.message_id,e.user_id)})})},ACTIVE_CHANNELS_FETCH_FAILURE:function(e){let{guildId:t,error:n}=e;Pw[t]={loading:!1,error:n,fetchedAt:null}},CONNECTION_OPEN:function(){}}),n(212455),n(879408),n(151781),n(591552),n(713125),n(871109);var PU=n(936649);let PG={};function PF(e,t){let n=PG[e];return!(null==n||n.has(t))&&(PG[e]=new Set(n.add(t)),!0)}class PV extends e6.Ay.PersistedStore{static displayName="GuildProgressStore";static persistKey="GuildProgressStore";initialize(e){this.waitFor(eW.default,ib.A,tx.A),PG={},null!=e&&SE.default.keys(e).forEach(t=>{let n=e[t];null!=n&&"function"==typeof n[Symbol.iterator]&&(PG[t]=new Set(n))})}getProgress(e){return PG[e]}hasProgress(e){let t=PG[e];return null!=t&&!t.has(PU.gj.DISMISSED)}getState(){return PG}}new PV(ez.h,{CONNECTION_OPEN:function(){let e=[];SE.default.keys(PG).forEach(t=>{PG[t].has(PU.gj.COMPLETED)&&e.push(t)}),e.forEach(e=>PF(e,PU.gj.DISMISSED))},GUILD_PROGRESS_INITIALIZE:function(e){let{guildId:t}=e;null==PG[t]&&(PG[t]=new Set),PG[t].has(PU.gj.COMPLETED)||PG[t].delete(PU.gj.DISMISSED)},GUILD_PROGRESS_COMPLETED_SEEN:function(e){let{guildId:t}=e;if(null==PG[t])return!1;PG[t]=new Set(PG[t].add(PU.gj.COMPLETED))},GUILD_PROGRESS_DISMISS:function(e){let{guildId:t}=e;return PF(t,PU.gj.DISMISSED)},GUILD_CREATE:function(e){let{guild:{id:t,member_count:n}}=e,i=tx.A.getGuild(t);if(null==i)return!1;i.ownerId===eW.default.getId()&&null!=PG[i.id]&&(null!=i.icon&&PG[i.id].add(PU.gj.AVATAR),n>1&&PG[i.id].add(PU.gj.INVITE))},CHANNEL_CREATE:function(e){let{channel:t}=e;return null!=t&&null!=t.guild_id&&null!=PG[t.guild_id]&&PF(t.guild_id,PU.gj.CHANNEL)},CHANNEL_UPDATES:function(e){let{channels:t}=e,n=!1;for(let e of t)null!=e&&null!=e.guild_id&&null!=PG[e.guild_id]&&!1!==PF(e.guild_id,PU.gj.CHANNEL)&&(n=!0);return n},GUILD_SETTINGS_SUBMIT_SUCCESS:function(e){let{guild:t}=e;return null!=t&&null!=t.id&&null!=PG[t.id]&&null!=t.icon&&PF(t.id,PU.gj.AVATAR)},MESSAGE_CREATE:function(e){let{channelId:t,message:n}=e,i=ib.A.getChannel(t);return n.author?.id===eW.default.getId()&&null!=i&&null!=PG[i.guild_id]&&PF(i.guild_id,PU.gj.MESSAGE)},GUILD_MEMBER_LIST_UPDATE:function(e){let{guildId:t,memberCount:n}=e;return null!=PG[t]&&n>1&&PF(t,PU.gj.INVITE)}}),n(636194),n(384684),n(330100),n(331887),n(121780),n(857071),n(752755),n(578623),n(973153),n(401565),n(931480),n(713132),n(274303),n(252431);let PB=[],PH=!1;function Pj(){return PB.length>=4&&PB.some(e=>e<Date.now()-3*n5.A.Millis.DAY)}class PY extends e6.Ay.PersistedStore{static displayName="HabitualDNDStore";static persistKey="habitualDND";initialize(e){this.waitFor(l1.A),null!=e&&Array.isArray(e.sessionStartsWithDND)&&(PB=e.sessionStartsWithDND)}showNagBar(){return PH}getState(){return{sessionStartsWithDND:PB}}getTemp(){return{x:tl.CY.getSetting()}}}new PY(ez.h,{POST_CONNECTION_OPEN:function(){l1.A.getStatus()===eL.clD.DND&&"0"===tl.CY.getSetting()?(PB.push(Date.now()),PB=PB.filter(e=>e>Date.now()-5*n5.A.Millis.DAY),Pj()&&setTimeout(()=>{ez.h.dispatch({type:"HABITUAL_DND_CLEAR"})},15*n5.A.Millis.SECOND)):PB=[]},HABITUAL_DND_CLEAR:function(){PH=!!Pj(),PB=[]}}),n(535586),n(517092),n(310031),n(614455),n(648427),n(185657),n(91868),n(406595),n(695515),n(148864),n(911411),n(174768),n(135978),n(923495),n(542986),n(853145),n(532309),n(707890),n(440976),n(85109),n(199160),n(517381),n(268988),n(349435),n(741812),n(49431),n(832163),n(312006),n(732755),n(750385),n(822074),n(695633),n(970278),n(45494),n(152007),n(219065),n(802958),n(456874),n(79858),n(997187);var PW=n(674378);let PK="ActivityTrackingStore",P$=30*n5.A.Millis.MINUTE,Pz=5*n5.A.Millis.MINUTE,Pq=tA.w.get(PK)??{},PX={},PZ=!1;function PQ(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];t&&PJ(e,!0);let n=PX[e.applicationId];null!=n&&(n.stop(),delete PX[e.applicationId]),delete Pq[e.applicationId],tA.w.set(PK,Pq)}function PJ(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Date.now(),i=null!=e.updatedAt?n-e.updatedAt:0;i>P$+Pz&&(i=0);let r=(0,PW.kv)(e.applicationId,lQ.A),s=nX.A.getVoiceChannelId(),a=eW.default.getSessionId(),o=iL.A.getMediaSessionId();lY.A.updateActivity({applicationId:e.applicationId,distributor:e.isDiscordApplication?eL.d3x.DISCORD:e.distributor,shareActivity:r,token:e.token,duration:Math.floor(i/1e3),closed:t,exePath:e.exePath,voiceChannelId:s,sessionId:a,mediaSessionId:o}),e.updatedAt=n;let l=PX[e.applicationId];null==l&&(l=PX[e.applicationId]=new n4.IX).start(P$,()=>PJ(e)),t||(Pq[e.applicationId]=e,tA.w.set(PK,Pq))}function P0(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=ia.Ay.getVisibleRunningGames(),n=new Set;for(let e of t){let t=Cy.A.findGame(e);null!=t&&(n.add(t.id),t.id in Pq||PJ({applicationId:t.id,updatedAt:Date.now(),distributor:e.distributor,exePath:(0,Cd.Ic)(e.exePath??"")}))}for(let t of Object.keys(Pq))n.has(t)||PQ(Pq[t],e)}function P1(){for(let e of Object.keys(Pq))PQ(Pq[e]);PZ=!1}class P2 extends e6.Ay.Store{static displayName="ActivityTrackingStore";initialize(){this.waitFor(eW.default,Cy.A,lQ.A,iL.A,ia.Ay,nX.A,tu.A),this.syncWith([tu.A],P0)}getActivities(){return Pq}}new P2(ez.h,{RUNNING_GAMES_CHANGE:()=>P0(),CONNECTION_OPEN:function(){if(PZ)return!1;for(let e of Object.keys(Pq))PJ(Pq[e]);P0(!1),PZ=!0},CONNECTION_CLOSED:function(e){let{code:t}=e;4004===t&&P1()},LOGOUT:P1,ACTIVITY_UPDATE_SUCCESS:function(e){let{applicationId:t,token:n}=e,i=Pq[t];if(null==i)return!1;i.token=n,tA.w.set(PK,Pq)},ACTIVITY_UPDATE_FAIL:function(e){let{applicationId:t}=e,n=Pq[t];if(null==n)return!1;n.token=null,n.updatedAt=null,tA.w.set(PK,Pq)}}),n(384200),n(470710),n(924985),n(560010),n(963307),n(966833);let P3={};class P6 extends e6.Ay.Store{static displayName="ChannelSKUStore";getSkuIdForChannel(e){return P3[e]}}new P6(ez.h,{CONNECTION_OPEN:function(){P3={}},STORE_LISTING_FETCH_SUCCESS:function(e){let{channelId:t,storeListing:n}=e;null!=t&&(P3[t]=n.sku.id)}}),n(945886),n(31717),n(543897),n(30793),n(776096),n(769765),n(860071),n(184989),n(63238),n(834942),n(958590),n(670492),n(956703),n(783592);let P4="hideSuppressWarning",P5=!1,P7=!0,P8=!1;class P9 extends e6.Ay.Store{static displayName="PermissionSpeakStore";initialize(){this.waitFor(ib.A,tx.A),P8=tA.w.get(P4)||P8}isAFKChannel(){let e=ib.A.getChannel(o);if(null==e)return!1;let t=tx.A.getGuild(e.getGuildId());return null!=t&&e.id===t.afkChannelId}shouldShowWarning(){return!ib.A.getChannel(o)?.isGuildStageVoice()&&!P7}}let xe=new P9(ez.h,{CONNECTION_OPEN:function(e){a=e.sessionId,P5=!1},CONNECTION_CLOSED:function(){a=null,o=null,P7=!0},VOICE_STATE_UPDATES:function(e){let{voiceStates:t}=e;return t.reduce((e,t)=>a!==t.sessionId?e:(P5!==t.suppress&&(P7=!(P5=t.suppress)),o!==t.channelId&&(o=t.channelId,P7=!P5),(P8||null==t.channelId)&&(P7=!0),!0),!1)},PERMISSION_CLEAR_SUPPRESS_WARNING:function(e){let{forever:t}=e;P7=!0,t&&(P8=!0,tA.w.set(P4,P8))}});n(362790),n(131677),n(584777),n(584569),n(711014),n(274184),n(741961),n(399263),n(870570),n(803301),n(615405),n(992250),n(731667),n(568004),n(567761),n(966846),n(841595),n(750128),n(921955);let xt=!1;(0,eO.as)(),e6.Ay.initialize(),wc.loadServer();let xn=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("89145"),n.e("11415")]).then(n.bind(n,844358)),webpackId:844358,name:"UnauthenticatedDeepLinkActivity",renderLoader:vf}),xi=(0,nN.Fe)({createPromise:()=>n.e("15243").then(n.bind(n,190662)),webpackId:190662,name:"ApplicationDirectoryRoutes",renderLoader:vf});eU.isPlatformEmbedded&&(tS.Ay.on("USER_SETTINGS_OPEN",(e,t)=>{(0,i7.openUserSettings)()}),tS.Ay.on("LAUNCH_APPLICATION",async(e,t)=>{let i=lQ.A.getActiveLibraryApplication(t);(await Promise.resolve().then(n.bind(n,113673))).playApplication(t,i,{analyticsParams:{location:{page:eL.liQ.DIRECT,object:eL.ZSU.WEB_URL}}})}));let xr=nV(e=>{let{location:t}=e;return(0,R6.B)(()=>{let e=nM.A.getHighestState();if(e===eL.fAW.OPEN||e===eL.fAW.OPENING)return;let n=(0,S_.parseSettingsUrl)({path:t.pathname,search:t.search});(0,S_.trackParseSettingsUrl)(n,"deeplink"),(0,i7.openUserSettings)(n.target,{path:n.path,searchParams:n.params})}),(0,U.jsx)(nx,{deepLinkType:v_.XK.USER_SETTINGS,path:t.pathname,search:t.search,paramsBuilder:function(e){let{path:t,fingerprint:n,search:i,installationId:r}=e,[,,s,a]=t.split("/");return{path:t,section:s,subsection:a,fingerprint:n,installationId:r,search:i}},children:(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})})}),xs=nV(e=>{let{location:t}=e,i=(0,OZ.parsePlaygroundUrl)(t.pathname,t.search);return(0,R6.B)(()=>{let{openPlaygroundFromParsedUrl:e}=n(965042);e({match:i})}),(0,U.jsx)(nx,{deepLinkType:v_.XK.PLAYGROUND,path:t.pathname,paramsBuilder:function(e){let{path:t,fingerprint:n,installationId:i}=e,{collection:r,story:s}=(0,OZ.parsePlaygroundUrl)(t);return{path:t,collection:r,story:s,fingerprint:n,installationId:i}},children:(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})})}),xa=e6.Ay.connectStores([C_.A,Sh.A,eW.default],()=>({isConnected:C_.A.isConnected(),defaultRoute:Sh.A.defaultRoute,defaultRouteFallback:Sh.A.fallbackRoute,token:eW.default.getToken()}))(class extends e8.Component{render(){let{isConnected:e,defaultRoute:t,token:n,defaultRouteFallback:i}=this.props;if(null==n)return(0,U.jsx)(ng.rd,{to:eL.BVt.DEFAULT_LOGGED_OUT});if(e){let e=x_(t);return null==e||(e.params.guildId===eL.ME||null!=tx.A.getGuild(e.params.guildId))&&null!=ib.A.getChannel(e.params.channelId)?(0,U.jsx)(ng.rd,{to:t}):(0,U.jsx)(ng.rd,{to:i})}return null}}),xo=nV((0,ir.C)(CZ,null,{passProps:!1})),xl=(0,ir.C)(xi,null,{passProps:!1}),xu=[eL.BVt.GUILD_BOOSTING_MARKETING(Sc.pv.guildId()),...Array.from(vc.qW).map(e=>eL.BVt.CHANNEL(Sc.pv.guildId(),e))];function xc(e){let{guildId:t,channelId:n=null,messageId:i=null,threadId:r=null}=e.params;return{guildId:t??eL.ME,channelId:n,messageId:i,threadId:r}}let xd=[{path:[eL.BVt.ACTIVITY_DETAILS(":applicationId")],render:function(e){return(0,Mx.wR)()||eW.default.getLoginStatus()===eL.aUe.LOGGING_IN||!eW.default.allowLogoutRedirect()?xo(e):(0,U.jsx)(xn,{applicationId:e.match.params.applicationId})}},{path:[eL.BVt.APP_WITH_INVITE_AND_GUILD_ONBOARDING(":inviteCode")],render:function(e){let{match:t}=e,{inviteCode:n}=t.params;return(0,R6.B)(()=>{R7({code:n})}),(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})}},{path:[eL.BVt.APP_WITH_GIFT_CODE(":giftCode")],render:function(e){let{match:t}=e,{giftCode:n}=t.params;return(0,R6.B)(()=>{(0,nO.G)(n,!0,!0).then(e=>{let{giftCode:t}=e;null!=t&&(0,bT.h)({processedCode:t.code})})}),(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})}},{path:[eL.BVt.APP],render:()=>(0,U.jsx)(xa,{})},{path:[eL.BVt.USERS(":id")],render:function(e){let{match:t}=e,{id:n}=t.params;return(0,R6.B)(()=>(0,l7.openUserProfileModal)({userId:n,sourceAnalyticsLocations:[ii.A.URI_SCHEME]})),(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})}},{path:[eL.BVt.APPLICATION_LIBRARY_ACTION(":gameId",":action")],render:function(e){let{match:t}=e,{gameId:i,action:r}=t.params;return l3.A.whenInitialized(()=>{lQ.A.whenInitialized(()=>{switch(r){case"launch":{let e=lQ.A.getActiveLibraryApplication(i);if(null==e)return;Promise.resolve().then(n.bind(n,113673)).then(t=>{t.playApplication(e.id,e,{analyticsParams:{location:{page:eL.liQ.DIRECT,object:eL.ZSU.WEB_URL}}})});break}case"test-mode":s0.A.whenInitialized(()=>nL.q1(i));break;case"uninstall":{let e=lQ.A.getActiveLibraryApplication(i);if(null==e)return;(0,nR.z)(e.id,e.branchId,eL.ThZ.URI_SCHEME)}}})}),(0,U.jsx)(ng.rd,{to:eL.BVt.APPLICATION_LIBRARY})}},{path:[eL.BVt.GUILD_CREATE],render:function(){return(0,R6.B)(()=>Rw.A.openCreateGuildModal({location:"External link"})),(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})}},{path:[eL.BVt.PICK_GUILD_SETTINGS(":section?",":subsection?")],render:function(e){let{match:t}=e,{section:i,subsection:r}=t.params,s=(0,ny.parse)(location.search).feature;return(0,R6.B)(()=>{var e;return e={section:(0,R9.A)(eL.BEX,i),subsection:(0,R9.A)(eL.nd0,r),feature:s},void(0,nv.openModalLazy)(async()=>{let{default:t}=await Promise.all([n.e("19199"),n.e("4744"),n.e("16373"),n.e("66460")]).then(n.bind(n,980791));return n=>(0,U.jsx)(t,{...n,...e})},{modalKey:"Guild Settings Picker Modal"})}),(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})}},{path:[eL.BVt.DEVELOPER_ACTIVATE_APPLICATION_TEST_MODE],render:function(e){let{location:t}=e,n=(0,ny.parse)(t.search),i="string"==typeof n.applicationId?n.applicationId:null,r="true"===n.openGameProfile;return(0,R6.B)(()=>{null!=i&&nL.q1(i).then(e=>{null!=e&&(0,rR.nf)(rR.HP.APPLICATION_TEST_MODE_DEBUG,{shouldAutoOpenGameProfile:r})})}),(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})}},{path:[eL.BVt.SETTINGS(":section",":subsection?")],render:xr},{path:[eL.BVt.PLAYGROUND(":collection?",":story?")],render:xs},{path:[eL.BVt.USER_GUILD_NOTIFICATION_SETTINGS(Sc.pv.guildId())],render:function(e){let{match:t}=e,{guildId:i}=t.params;return(0,R6.B)(()=>{(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("76026"),n.e("81927"),n.e("61949"),n.e("97549"),n.e("28367"),n.e("8555"),n.e("35321"),n.e("83952"),n.e("38601"),n.e("66580"),n.e("94529"),n.e("94832"),n.e("56814"),n.e("30282")]).then(n.bind(n,893605));return t=>(0,U.jsx)(e,{...t,guildId:i})})}),(0,U.jsx)(ng.rd,{to:eL.BVt.CHANNEL(i)})}},{path:[eL.BVt.APPLICATION_LIBRARY_INVENTORY],render:function(){return(0,R6.B)(()=>(0,i7.openUserSettings)(i5.X.GIFT_PANEL)),(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})}},{path:[eL.BVt.WELCOME(Sc.pv.guildId({optional:!0}),Sc.pv.channelId({optional:!0}))],render:function(e){let{match:t}=e,{guildId:n,channelId:i}=t.params;(0,Ox.C)(OW.zY.MARKETING_UNCLAIMED);let r=eL.BVt.CHANNEL(n,i);return(0,U.jsx)(ng.rd,{to:r})}},{path:[eL.BVt.GUILD_EVENT_DETAILS(Sc.pv.guildId({optional:!0}),":guildEventId")],render:function(e){let{match:t}=e,{guildId:n,guildEventId:i}=t.params;return(0,R6.B)(()=>{(0,y9.uR)({eventId:i})}),(0,U.jsx)(ng.rd,{to:eL.BVt.CHANNEL(n)})}},{path:[eL.BVt.GUILD_SETTINGS(Sc.pv.guildId(),":section?",":subsection?")],render:function(e){let{match:t}=e,{guildId:n,section:i,subsection:r}=t.params;return(0,R6.B)(()=>{R8.A.open(n,(0,R9.A)(eL.BEX,i),void 0,(0,R9.A)(eL.nd0,r))}),(0,U.jsx)(ng.rd,{to:eL.BVt.CHANNEL(n)})},isChatRoute:!0},{path:[eL.BVt.CHANNEL_THREAD_VIEW(Sc.pv.guildId(),Sc.pv.channelId(),":threadId",":messageId?"),eL.BVt.CHANNEL(Sc.pv.guildId(),Sc.pv.channelId({optional:!0}),":messageId?"),eL.BVt.ACTIVITY,eL.BVt.ACTIVITIES,eL.BVt.ACTIVITIES_HAPPENING_NOW,eL.BVt.APPLICATION_LIBRARY,eL.BVt.APPLICATION_STORE,eL.BVt.MESSAGE_REQUESTS,eL.BVt.COLLECTIBLES_SHOP,eL.BVt.COLLECTIBLES_SHOP_COLLECTION_DETAIL(":collectionId"),eL.BVt.COLLECTIBLES_SHOP_PRODUCT_DETAIL(":skuId"),eL.BVt.COLLECTIBLES_SHOP_LAYOUT(":layoutId"),eL.BVt.GUILD_DISCOVERY,eL.BVt.QUEST_HOME_DEPRECATED,eL.BVt.QUEST_HOME,eL.BVt.ICYMI,eL.BVt.GLOBAL_DISCOVERY,eL.BVt.GUILD_MEMBER_VERIFICATION(Sc.pv.guildId()),eL.BVt.GUILD_MEMBER_VERIFICATION_FOR_HUB(Sc.pv.guildId(),":inviteCode?"),eL.BVt.GUILD_BOOSTING_MARKETING(Sc.pv.guildId()),eL.BVt.GUILD_FEATURE(":feature",Sc.pv.guildId()),eL.BVt.FEATURE(":feature"),eL.BVt.FAMILY_CENTER],render:xo,isChatRoute:!0},{path:[eL.BVt.APPLICATION_DIRECTORY],render:xl},{path:[eL.BVt.GAME_SHOP(Sc.pv.guildId(),":shopSkuId?",":shopSlug?")],render:function(e){let{match:t}=e,{guildId:n,shopSkuId:i,shopSlug:r}=t.params;return(0,U.jsx)(ng.rd,{to:eL.BVt.CHANNELS_GAME_SHOP(n,0,i,r)})}},{path:[eL.BVt.GAME_PROFILE(":gameId")],render:function(e){let{match:t}=e,{gameId:i}=t.params;return(0,R6.B)(()=>{(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("44123"),n.e("66787"),n.e("31329"),n.e("89156"),n.e("22995"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("81927"),n.e("61949"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("84935"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("9233"),n.e("72963"),n.e("42724"),n.e("37977"),n.e("86814"),n.e("79049"),n.e("50117"),n.e("96325"),n.e("23608"),n.e("44571"),n.e("87439"),n.e("92128"),n.e("99549"),n.e("36877"),n.e("38501"),n.e("26294"),n.e("98329"),n.e("21957"),n.e("93766"),n.e("54622"),n.e("70683"),n.e("2260"),n.e("83827"),n.e("28203"),n.e("93767"),n.e("1962"),n.e("76622"),n.e("99976"),n.e("38672"),n.e("26102")]).then(n.bind(n,779669));return t=>(0,U.jsx)(e,{gameId:i,source:ls.Ob.Deeplink,...t})})}),(0,U.jsx)(ng.rd,{to:Sh.A.defaultRoute})}}];function x_(e){for(let{path:t,isChatRoute:n}of xd){if(!n)continue;let i=(0,Sd.B)(e,{path:t});if(null!=i)return i}return null}function xh(e){let{channelId:t,guildId:n,pathname:i}=e;if(!C_.A.isConnected())return;let{location:r}=(0,uV.JK)();r.pathname===i&&(null==ib.A.getChannel(t)?(0,uV.bG)(eL.BVt.CHANNEL(n)):(0,uV.bG)(i))}class xf extends e8.PureComponent{historyUnlisten=()=>{};rewriterUnlisten=()=>{};componentDidMount(){tS.Ay.setZoomFactor(e7.A.zoom),wc.init(),ip.initialize(),bd.initialize(),Rq.initialize(),MD.initialize(),RQ.initialize(),bS.A.initialize(),RP.initialize(),OM.initialize(),tr.A.init(),R3.init(),RJ.init(),OX.initialize(),n6.initialize(),RH.initialize(),bD.initialize(),nY.Ay.initialize(),aD.initialize(),Mv.initialize(),Oo.initialize(),bu.initialize(),nj.A.initialize(),Ol.init(),Rf.init(),MP.init(),nH.A.initialize(),w3.init(),ML.A.init(),Mi.init(),wO.initialize(),wL.initialize(),w6.A.initialize(),Mm.init(),RG.initialize(),nB.A.initialize(),wC.initialize(),O5.A.initialize(),O4.initialize(),O9.initialize(),Rm.initialize(),RT.initialize(),RW.initialize(),O_.initialize(),OP.A.initialize(),bL.A.initialize(),bI.initialize(),C4.initialize(),it.initialize(),this.rewriterUnlisten=Su.A.addRouteRewriter(this.ensureChannelMatchesGuild),this.historyUnlisten=Su.A.addRouteChangeListener(this.handleHistoryChange)}componentWillUnmount(){wc.terminate(),MD.terminate(),bS.A.terminate(),bd.terminate(),ip.terminate(),nY.Ay.terminate(),aD.terminate(),Mv.terminate(),nj.A.terminate(),bD.terminate(),bu.terminate(),w6.A.terminate(),nH.A.terminate(),RG.terminate(),OP.A.terminate(),nB.A.terminate(),bL.A.terminate(),wC.terminate(),O5.A.terminate(),O4.terminate(),O9.terminate(),Rm.terminate(),RT.terminate(),bI.terminate(),Rj.A.terminate(),C4.terminate(),it.terminate(),RW.terminate(),O_.terminate(),this.historyUnlisten(),this.rewriterUnlisten()}handleHistoryChange(e){let{pathname:t,search:n}=e;!function(e){if(C_.A.isConnected()||C_.A.isTryingToConnect())return;let t=eW.default.getToken();null==t||function(e){for(let t of bP)if(null!=(0,Sd.B)(e,{path:t}))return!0;return!1}(e)&&nC.A.startSession(t)}(t),function(e,t){let n=x_(e);if(null==n)return;let{guildId:i,channelId:r,messageId:s,threadId:a}=xc(n),o=(0,Sc.nn)(i),l=(0,Sc.ts)(r),u=(0,Sc.ts)(a),c=nZ.A.getGuildId(),d=c!==i;if(o&&d&&nb.A.selectGuild(i),o&&l){let n=nX.A.getChannelId(c),o=n!==r,l=null!=wG.Ay.getGuildSidebarState(i);if(!xt||d||o||null!=s){xt=!0,nD.default.selectChannel({guildId:i,channelId:r,messageId:s});let{summaryId:e}=(0,ny.parse)(t);null!=e&&ww.Ay.setSelectedSummary(r,e)}if(l&&o&&null!=r&&null!=wG.Ay.getCurrentSidebarChannelId(r)&&wd.A.closeChannelSidebar(r),null!=a&&u){let e=wG.Ay.getCurrentSidebarChannelId(n),t=e!==a;if(null!=r&&null!=a&&t)if(l)(0,uV.bG)(eL.BVt.CHANNEL(i,a,s));else{let e={type:w_.LU.THREAD};null!=s&&(e.initialMessageId=s),wd.A.openThreadAsSidebar({guildId:i,baseChannelId:r,channelId:a,details:e})}else l&&null!=e&&null!=r&&wd.A.closeChannelSidebar(r)}else null==r||o||wd.A.closeChannelSidebar(r);let _=on.getIsOpen();if(r===vc.VV.ROLE_SUBSCRIPTIONS)a9.closeSidebar();else if(d&&_){let t=null==c&&i===eL.ME,n=e===eL.BVt.GUILD_DISCOVERY;t||n?a9.closeSidebar():a9.openSidebar()}else(o&&_||!d&&!o)&&a9.closeSidebar()}else xu.some(t=>(0,Sd.B)(e,t)?.isExact===!0)||(0,uV.bG)(Sh.A.fallbackRoute)}(t,n),(0,r3.MS)()}ensureChannelMatchesGuild(e){if(!C_.A.isConnected())return null;let{pathname:t}=e,n=x_(t);if(null==n)return null;let{guildId:i,channelId:r,threadId:s}=xc(n),a=(0,Sc.nn)(i)&&i!==eL.ME&&i!==eL.YYv;if(null!=r&&(0,Sc.ts)(r)&&!(0,vc.jq)(r)&&a){let n=ib.A.getChannel(r);if(null==n)wM.A.loadThread(r).then(()=>xh({channelId:r,guildId:i,pathname:t}));else if(n.guild_id!==i&&i!==eL.gNP)return{path:eL.BVt.CHANNEL(i),state:e.state};if(null!=s){if(!((0,Sc.ts)(s)&&!(0,vc.jq)(r)))return null;let n=ib.A.getChannel(s);if(null==n)wM.A.loadThread(s).then(()=>xh({channelId:s,guildId:i,pathname:t}));else if(n?.parent_id!==r)return wd.A.closeChannelSidebar(r),{path:eL.BVt.CHANNEL(i,r),state:e.state}}}return null}render(){return(0,U.jsxs)(e8.Fragment,{children:[(0,U.jsxs)(ng.dO,{children:[(0,U.jsx)(ng.rd,{exact:!0,from:"/channels",to:"/"}),xd.map(e=>{let{path:t,render:n}=e;return(0,U.jsx)(ng.qh,{path:t,render:n},t[0])}),(0,U.jsx)(ng.rd,{to:"/"})]}),(0,U.jsx)(RL,{})]})}}var xp=n(337836),xE=n(825437),xm=n(752239),xg=n(638495),xA=n(988393),xI=n(197808),xT=n(318009),xS=n(638421),xy=n(464792),xN=n(697138),xv=n(989395),xC=n(750506),xR=n(686757),xO=n(820276);function xb(){let{debugTrackedData:e,impressions:t}=(0,xR.SD)(e=>({debugTrackedData:e.debugTrackedData,impressions:e.impressions}),c5.x),n=(0,e6.bG)([tD.Ay],()=>tD.Ay.get("analytics_debugger")),i=(0,e6.bG)([sJ.A],()=>sJ.A.isDeveloper),[r,s]=e8.useState(!1),{name:a,...o}=e??{},l=null!=a;return i&&n?(0,U.jsx)(xC.Ay,{children:(0,U.jsxs)("div",{className:t2()(xO.kL,{[xO.YV]:r,[xO.cn]:!l}),children:[(0,U.jsx)(t3.D,{className:xO.VI,onClick:()=>{s(!r)},children:r?(0,U.jsx)(ni,{}):(0,U.jsx)(ns,{})}),(0,U.jsxs)("div",{className:t2()(xO.Qs,{[xO.Cx]:r}),children:[(0,U.jsxs)(sw.E,{className:t2()(xO.Pf,{[xO.cn]:!l}),variant:"text-xxs/normal",children:[l?(0,U.jsx)(_X.y,{size:"md",color:"currentColor",className:xO.sG}):(0,U.jsx)(_2.a,{size:"md",color:"currentColor",className:xO.jZ}),a??"(untracked)"]}),(0,U.jsx)("div",{className:xO.ss,children:JSON.stringify(o,void 0,2)}),(0,U.jsx)(sw.E,{className:t2()(xO.Pf,{[xO.cn]:!l}),variant:"text-xxs/normal",children:"impressions stack"}),(0,U.jsx)("div",{className:xO.t$,children:JSON.stringify(t,void 0,2)})]})]})}):null}var xD=n(976634),xL=n(866323),xw=n(235079);let xM=(0,rs.qT)({createPromise:()=>Promise.all([n.e("39713"),n.e("31329"),n.e("63635"),n.e("93019"),n.e("34530"),n.e("43039"),n.e("21690"),n.e("53729"),n.e("48804"),n.e("31390"),n.e("17225"),n.e("99941"),n.e("35344"),n.e("87079"),n.e("21435"),n.e("95752"),n.e("32823"),n.e("58337"),n.e("25486"),n.e("97073"),n.e("58216"),n.e("6809"),n.e("82178"),n.e("62213"),n.e("24240"),n.e("59778"),n.e("25241"),n.e("61924"),n.e("24553"),n.e("24927")]).then(n.bind(n,710637)),webpackId:710637}),xP={transform:"scale(0.7)",opacity:0},xx={transform:"scale(1)",opacity:1},xk=e8.memo(function(){let e=(0,e6.yK)([i2.A,nX.A,iI.Ay],()=>i2.A.getIncomingCalls().filter(e=>{let{channel:t}=e,n=nX.A.getChannelId()===t.id,i=null==t.guild_id&&n,r=iI.Ay.getConnectedActivityChannelId()===t.id&&nX.A.getVoiceChannelId()!==t.id&&iI.Ay.getActivityPanelMode()===aL.Gd.PANEL;return!i||r})),t=(0,e6.bG)([i2.A],()=>i2.A.hasIncomingCalls()),n=(0,e6.bG)([iD.A],()=>iD.A.isSoundDisabled("call_ringing")),i=(0,e6.bG)([ON.A],()=>ON.A.disableSounds),r=(0,e6.bG)([Rv.A],()=>Rv.A.getSoundpack()),s=e8.useRef(!1),a=(0,xD.A)(()=>r===xw.i.CLASSIC?(0,iv.Qh)(500!==im().random(1,1e3)?"call_ringing":im().sample(["call_ringing_beat","call_ringing_snow_halation"]),"call_ringing"):(0,iv.aN)("call_ringing",r),[r]);return e8.useEffect(()=>{(0,r_.t)(()=>{xM.preload()})},[]),e8.useEffect(()=>()=>{a.stop()},[a]),e8.useEffect(()=>{if(i||n){s.current&&(a.stop(),s.current=!1);return}t&&!s.current?(a.loop(),s.current=!0):!t&&s.current&&(a.stop(),s.current=!1)},[n,i,t,a]),(0,xL.p)(e,{keys:e=>e.channel?.id,enter:{from:xP,to:xx},leave:xP,config:{mass:1,tension:500,friction:18,clamp:!0}})((e,t)=>(0,U.jsx)(xM,{...t,animatedStyle:e}))}),xU=e8.createContext(void 0);function xG(e){let{children:t}=e,[n,i]=e8.useState(null),r=e8.useMemo(()=>({setComponentToSnapshot:i}),[i]);return(0,U.jsxs)(xU.Provider,{value:r,children:[t,null!=n&&(0,U.jsx)("div",{id:"component-to-image-container",style:{position:"fixed",top:"-1000px",right:"-1000px"},children:n})]})}var xF=n(681582),xV=n(172272),xB=n(538064),xH=n(265059);let xj=(0,nN.Fe)({createPromise:()=>Promise.all([n.e("61949"),n.e("97549"),n.e("39713"),n.e("97177"),n.e("68835"),n.e("66787"),n.e("69970"),n.e("5636"),n.e("89156"),n.e("44078"),n.e("31329"),n.e("38518"),n.e("81927"),n.e("44123"),n.e("7066"),n.e("4207"),n.e("84935"),n.e("63016"),n.e("60417"),n.e("72899"),n.e("84170"),n.e("80889"),n.e("94307"),n.e("29312"),n.e("71934"),n.e("35017"),n.e("70278"),n.e("7053"),n.e("39995"),n.e("25568"),n.e("64227"),n.e("51402"),n.e("38123"),n.e("14764"),n.e("15590"),n.e("44671"),n.e("10246"),n.e("28885"),n.e("333"),n.e("68299"),n.e("19032"),n.e("45690"),n.e("47048"),n.e("14831"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("22995"),n.e("44136"),n.e("22535"),n.e("82297"),n.e("88826"),n.e("28510"),n.e("45503"),n.e("32264"),n.e("99961"),n.e("89209"),n.e("61872"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("23139"),n.e("57006"),n.e("83566"),n.e("11328"),n.e("58376"),n.e("63635"),n.e("75804"),n.e("2065"),n.e("98651"),n.e("65423"),n.e("43413"),n.e("11031"),n.e("14399"),n.e("54531"),n.e("50542"),n.e("3633"),n.e("13114"),n.e("30402"),n.e("81516"),n.e("38559"),n.e("80287"),n.e("49937"),n.e("93700"),n.e("83637"),n.e("51301"),n.e("3445"),n.e("4981"),n.e("70530"),n.e("89217"),n.e("72318"),n.e("78576"),n.e("76026"),n.e("18102"),n.e("41973"),n.e("5539"),n.e("85471"),n.e("18270"),n.e("21437"),n.e("3175"),n.e("81275"),n.e("15086"),n.e("18042"),n.e("94695"),n.e("64235"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("207"),n.e("89281"),n.e("57036"),n.e("57174"),n.e("98839"),n.e("24199"),n.e("19402"),n.e("95429"),n.e("13111"),n.e("68201"),n.e("26692"),n.e("62052"),n.e("38939"),n.e("34786"),n.e("3376"),n.e("13554"),n.e("94678"),n.e("1856"),n.e("91211"),n.e("41567"),n.e("13167"),n.e("55205"),n.e("66544"),n.e("65658"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("54048"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("88941"),n.e("34552"),n.e("93103"),n.e("8757"),n.e("76602"),n.e("91763"),n.e("61379"),n.e("34530"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("85968"),n.e("76418"),n.e("43039"),n.e("21690"),n.e("88077"),n.e("68403"),n.e("72963"),n.e("25693"),n.e("32606"),n.e("32817"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("699"),n.e("40258"),n.e("28154"),n.e("13681"),n.e("53729"),n.e("48804"),n.e("10004"),n.e("66495"),n.e("55314"),n.e("89094"),n.e("29177"),n.e("29787"),n.e("71210"),n.e("32551"),n.e("62680"),n.e("76881"),n.e("4369"),n.e("87306"),n.e("23353"),n.e("86127"),n.e("50015"),n.e("38835"),n.e("99666"),n.e("41043"),n.e("82263"),n.e("11523"),n.e("6174"),n.e("44695"),n.e("18441"),n.e("44376"),n.e("91146"),n.e("31644"),n.e("45723"),n.e("8555"),n.e("70697"),n.e("88342"),n.e("18546"),n.e("53930"),n.e("46070"),n.e("98125"),n.e("21825"),n.e("90244"),n.e("18943"),n.e("37977"),n.e("72789"),n.e("70653"),n.e("8892"),n.e("53614"),n.e("31825"),n.e("36320"),n.e("20320"),n.e("31390"),n.e("6949"),n.e("47017"),n.e("86814"),n.e("90889"),n.e("99657"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("26780"),n.e("44265"),n.e("99141"),n.e("35027"),n.e("84103"),n.e("17225"),n.e("30920"),n.e("53917"),n.e("99941"),n.e("79049"),n.e("25990"),n.e("98965"),n.e("33902"),n.e("11527"),n.e("63095"),n.e("62422"),n.e("39734"),n.e("68647"),n.e("35344"),n.e("50117"),n.e("63070"),n.e("90365"),n.e("64615"),n.e("96443"),n.e("75134"),n.e("89088"),n.e("57598"),n.e("8891"),n.e("84967"),n.e("55184"),n.e("23216"),n.e("87079"),n.e("18401"),n.e("32079"),n.e("71273"),n.e("1555"),n.e("73547"),n.e("99593"),n.e("84456"),n.e("67861"),n.e("47555"),n.e("21435"),n.e("1518"),n.e("15186"),n.e("61935"),n.e("99999"),n.e("5501"),n.e("62168"),n.e("9640"),n.e("69875"),n.e("58157"),n.e("16900"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("91381"),n.e("23891"),n.e("86949"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("15754"),n.e("24761"),n.e("20590"),n.e("65437"),n.e("44111"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("20287"),n.e("99843"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("31145"),n.e("37622"),n.e("71577"),n.e("51243"),n.e("32756"),n.e("64850"),n.e("52073"),n.e("70104"),n.e("9915"),n.e("96325"),n.e("54975"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("93158"),n.e("76273"),n.e("88740"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("51130"),n.e("52617"),n.e("58428"),n.e("32823"),n.e("34691"),n.e("92731"),n.e("4744"),n.e("2698"),n.e("77084"),n.e("5500"),n.e("85901"),n.e("5131"),n.e("501"),n.e("67837"),n.e("35321"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("54625"),n.e("62862"),n.e("71133"),n.e("28152"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("80230"),n.e("50033"),n.e("49697"),n.e("95093"),n.e("37687"),n.e("71234"),n.e("23532"),n.e("96137"),n.e("48900"),n.e("60177"),n.e("27773"),n.e("83952"),n.e("52229"),n.e("3998"),n.e("44780"),n.e("52557"),n.e("1006"),n.e("1354"),n.e("21570"),n.e("5557"),n.e("23276"),n.e("84870"),n.e("95340"),n.e("62718"),n.e("55577"),n.e("1227"),n.e("56753"),n.e("89916"),n.e("18997"),n.e("20282"),n.e("60773"),n.e("54282"),n.e("61156"),n.e("14461"),n.e("78412"),n.e("58337"),n.e("63213"),n.e("30938"),n.e("17859"),n.e("95444"),n.e("91671"),n.e("35878"),n.e("48720"),n.e("8018"),n.e("92295"),n.e("88003"),n.e("80239"),n.e("49635"),n.e("75016"),n.e("68763"),n.e("59880"),n.e("16767"),n.e("74016"),n.e("59957"),n.e("25486"),n.e("29666"),n.e("76087"),n.e("58273"),n.e("56689"),n.e("42639"),n.e("6841"),n.e("20930"),n.e("33134"),n.e("29354"),n.e("80112"),n.e("6723"),n.e("72883"),n.e("54791"),n.e("38056"),n.e("18024"),n.e("61268"),n.e("26001"),n.e("49644"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("25279"),n.e("36877"),n.e("21574"),n.e("31445"),n.e("23069"),n.e("81987"),n.e("77473"),n.e("57458"),n.e("59466"),n.e("8829"),n.e("3131"),n.e("65826"),n.e("19193"),n.e("38601"),n.e("49520"),n.e("1243"),n.e("27323"),n.e("47177"),n.e("69747"),n.e("75133"),n.e("72877"),n.e("15920"),n.e("77487"),n.e("35996"),n.e("63618"),n.e("58164"),n.e("42204"),n.e("96804"),n.e("44057"),n.e("27272"),n.e("38501"),n.e("36149"),n.e("28850"),n.e("95998"),n.e("71470"),n.e("27659"),n.e("78195"),n.e("51778"),n.e("26437"),n.e("20683"),n.e("37490"),n.e("42234"),n.e("24914"),n.e("3930"),n.e("22261"),n.e("97563"),n.e("3663"),n.e("97073"),n.e("42191"),n.e("11617"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("21930"),n.e("92077"),n.e("66580"),n.e("77467"),n.e("47018"),n.e("78046"),n.e("20382"),n.e("80093"),n.e("21060"),n.e("98972"),n.e("12682"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("78050"),n.e("42726"),n.e("34546"),n.e("10943"),n.e("80007"),n.e("29260"),n.e("71217"),n.e("41701"),n.e("98329"),n.e("21106"),n.e("21856"),n.e("17823"),n.e("7775"),n.e("97069"),n.e("39894"),n.e("21455"),n.e("60989"),n.e("82486"),n.e("79435"),n.e("40175"),n.e("65617"),n.e("11133"),n.e("68083"),n.e("74021"),n.e("63333"),n.e("21957"),n.e("74907"),n.e("32207"),n.e("48730"),n.e("93766"),n.e("13708"),n.e("71467"),n.e("8694"),n.e("30221"),n.e("60003"),n.e("49013"),n.e("43746"),n.e("30167"),n.e("967"),n.e("73165"),n.e("51892"),n.e("94607"),n.e("52511"),n.e("41838"),n.e("46045"),n.e("66017"),n.e("755"),n.e("33448"),n.e("90554"),n.e("29413"),n.e("99835"),n.e("607"),n.e("38042"),n.e("3710"),n.e("27779"),n.e("73122"),n.e("58216"),n.e("62875"),n.e("36150"),n.e("42324"),n.e("45830"),n.e("8979"),n.e("54622"),n.e("33771"),n.e("54103"),n.e("9045"),n.e("77602"),n.e("99011"),n.e("70683"),n.e("6809"),n.e("4199"),n.e("82178"),n.e("46039"),n.e("29961"),n.e("22744"),n.e("15172"),n.e("95602"),n.e("5896"),n.e("49345"),n.e("80436"),n.e("11471"),n.e("22266"),n.e("18413"),n.e("15275"),n.e("34409"),n.e("17460"),n.e("43114"),n.e("70008"),n.e("22067"),n.e("55266"),n.e("69537"),n.e("87782"),n.e("29569"),n.e("36002"),n.e("94138"),n.e("10637"),n.e("96268"),n.e("60178"),n.e("93461"),n.e("96480"),n.e("83477"),n.e("77333"),n.e("28752"),n.e("2260"),n.e("62213"),n.e("24689"),n.e("52419"),n.e("2329"),n.e("68802"),n.e("44801"),n.e("49333"),n.e("41786"),n.e("44385"),n.e("86262"),n.e("79593"),n.e("98254"),n.e("27752"),n.e("82700"),n.e("73611"),n.e("41706"),n.e("28203"),n.e("52803"),n.e("62175"),n.e("40003"),n.e("94888"),n.e("58262"),n.e("89541"),n.e("24240"),n.e("90804"),n.e("54241"),n.e("7319"),n.e("84820"),n.e("46430"),n.e("49490"),n.e("90779"),n.e("38090"),n.e("44727"),n.e("10142"),n.e("44912"),n.e("18489"),n.e("46149"),n.e("5871"),n.e("36674"),n.e("27462"),n.e("22455"),n.e("60816"),n.e("3168"),n.e("68031"),n.e("859"),n.e("21879"),n.e("39808"),n.e("97162"),n.e("31616"),n.e("96680"),n.e("63874"),n.e("20491"),n.e("93907"),n.e("1922"),n.e("68214"),n.e("10014"),n.e("10147"),n.e("18792"),n.e("32737"),n.e("6627"),n.e("36926"),n.e("11802"),n.e("60536"),n.e("81398"),n.e("4374"),n.e("86546"),n.e("94161"),n.e("59778"),n.e("90854"),n.e("70587"),n.e("91139"),n.e("39735"),n.e("7408"),n.e("55895"),n.e("46327"),n.e("28011"),n.e("15057"),n.e("59617"),n.e("48317"),n.e("95841"),n.e("65246"),n.e("91531"),n.e("25241"),n.e("72239"),n.e("97116"),n.e("93213"),n.e("75284"),n.e("53203"),n.e("95067"),n.e("60249"),n.e("33416"),n.e("51162"),n.e("39353"),n.e("36973"),n.e("20643"),n.e("90213"),n.e("9793"),n.e("43256"),n.e("84794"),n.e("64926"),n.e("70272"),n.e("50541"),n.e("15799"),n.e("47339"),n.e("47999"),n.e("37886"),n.e("15750"),n.e("59587"),n.e("61750"),n.e("20803"),n.e("1719"),n.e("43372"),n.e("95782"),n.e("13051"),n.e("19119"),n.e("61137"),n.e("96817"),n.e("73566"),n.e("27687"),n.e("55839"),n.e("97150"),n.e("92064"),n.e("45419"),n.e("18710"),n.e("86629"),n.e("98384"),n.e("55552"),n.e("71492"),n.e("75090"),n.e("11346"),n.e("24564"),n.e("80262"),n.e("34428"),n.e("81202"),n.e("39721"),n.e("19631"),n.e("79211"),n.e("82384"),n.e("76892"),n.e("78"),n.e("16799"),n.e("43549"),n.e("78377"),n.e("37937"),n.e("52694"),n.e("53683"),n.e("82969"),n.e("77298"),n.e("43148"),n.e("71811"),n.e("91685"),n.e("9598"),n.e("38249"),n.e("40976"),n.e("85216"),n.e("25594"),n.e("26359"),n.e("32274"),n.e("12663"),n.e("83774"),n.e("83102"),n.e("86470"),n.e("6294"),n.e("80890"),n.e("37479"),n.e("2552"),n.e("34936"),n.e("89588"),n.e("91589"),n.e("62075"),n.e("63071"),n.e("67685"),n.e("24084"),n.e("37715"),n.e("44790"),n.e("12755"),n.e("87641"),n.e("44264"),n.e("86492"),n.e("58272"),n.e("74913"),n.e("61764"),n.e("35476"),n.e("49344"),n.e("54876"),n.e("14451"),n.e("59848"),n.e("7755"),n.e("21041"),n.e("93720"),n.e("54658"),n.e("31828"),n.e("80559"),n.e("71790"),n.e("81754"),n.e("37193"),n.e("83889"),n.e("70424"),n.e("80026"),n.e("33049"),n.e("96232"),n.e("27870"),n.e("4787"),n.e("3581"),n.e("25592"),n.e("18307"),n.e("42455"),n.e("92837"),n.e("73084"),n.e("72163"),n.e("54630"),n.e("569"),n.e("92223"),n.e("40247"),n.e("24553"),n.e("21403"),n.e("86197"),n.e("73691"),n.e("91782"),n.e("99513"),n.e("62318"),n.e("76237"),n.e("44414"),n.e("4727"),n.e("9763"),n.e("95008"),n.e("77663"),n.e("44602"),n.e("55663"),n.e("17583"),n.e("56814"),n.e("10741"),n.e("36001"),n.e("85160"),n.e("54588"),n.e("81863"),n.e("84861"),n.e("45322"),n.e("69077"),n.e("84970"),n.e("29867"),n.e("44269"),n.e("3370"),n.e("24805"),n.e("67876"),n.e("99487"),n.e("98279"),n.e("60439"),n.e("84846"),n.e("14124"),n.e("18126"),n.e("42664"),n.e("18860"),n.e("25717"),n.e("43456"),n.e("73746"),n.e("10622"),n.e("86823"),n.e("63309"),n.e("20516"),n.e("15046"),n.e("23707"),n.e("86381"),n.e("44038"),n.e("19559"),n.e("10385"),n.e("93368"),n.e("56750"),n.e("12382"),n.e("94704"),n.e("27774"),n.e("31599"),n.e("54134"),n.e("93016"),n.e("13085"),n.e("90797"),n.e("58469"),n.e("21226"),n.e("31294")]).then(n.bind(n,902592)),webpackId:902592});function xY(e){let{mobile:t}=e,n=(0,e6.bG)([sJ.A],()=>sJ.A.isDeveloper),i=(0,e6.bG)([xH.A],()=>xH.A.displayTools),r=(0,e6.bG)([sj.A],()=>sj.A.getWindowOpen(eL.MLl.DEVTOOLS_POPOUT)),s=e8.useCallback(e=>{((0,eU.isMac)()?e.metaKey:e.ctrlKey)&&e.altKey&&"KeyO"===e.code&&(0,xB.pf)()},[]);return(e8.useLayoutEffect(()=>(window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s)}),[s]),(t?n:i)&&!r)?(0,U.jsx)(xj,{mobile:t}):null}var xW=n(670735),xK=n(981133),x$=n(469177),xz=n(133171),xq=n(801964);function xX(){let e=(0,e6.bG)([tD.Ay],()=>tD.Ay.get("idle_status_indicator")),t=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()?.isStaff()??!1),[n,i]=(0,e6.yK)([MC.A],()=>[MC.A.isIdle(),MC.A.isAFK()]),r=[];return n||i||r.push("ACTIVE"),n&&r.push("IDLE"),i&&r.push("AFK"),t&&e?(0,U.jsx)(xC.Ay,{children:(0,U.jsxs)("div",{className:xq.kL,children:[(0,U.jsxs)("div",{className:xq.h5,children:[(0,U.jsx)(xz.nW,{status:r.includes("ACTIVE")?bK.cl.ONLINE:bK.cl.IDLE,className:xq.UX}),(0,U.jsx)(sw.E,{variant:"text-md/normal",children:"IDLE STATUS:"}),(0,U.jsx)("div",{className:xq.qS,children:(0,U.jsx)(sw.E,{variant:"text-md/bold",children:r.join(" + ")})})]}),n&&(0,U.jsxs)(sw.E,{variant:"text-md/normal",children:["Idle since:"," ",new Date(MC.A.getIdleSince()??0).toLocaleDateString(void 0,{year:"numeric",day:"numeric",month:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})]})]})}):null}var xZ=n(639735),xQ=n(258599),xJ=n(189213);let x0=()=>{let e=(0,e6.bG)([tI.Ay],()=>tI.Ay.isInteractionRequired(),[]),t=e8.useRef(null);function n(){null!==t.current&&((0,nv.closeModal)(t.current),t.current=null)}return e8.useEffect(()=>(e?t.current=(0,nv.openModal)(e=>(0,U.jsx)(xJ.Modal,{title:na.intl.string(na.t.dLLxC2),subtitle:na.intl.string(na.t["64lmtw"]),actions:[{text:na.intl.string(na.t.BddRzS),onClick:()=>{is.A.interact(),e.onClose()}}],...e})):n(),()=>{n()}),[e]),null};var x1=n(386406);let x2=!0,x3=!0;function x6(){let e,t=iL.A.getChannelId();if(null==t)e=!0;else{let n=ib.A.getChannel(t),i=iM.A.getVoiceState(n?.getGuildId(),eW.default.getId());e=tI.Ay.getMode()!==eL.TBI.VOICE_ACTIVITY||null==n||n.isPrivate()||n.isGuildStageVoice()||l0.A.can(eL.xBc.USE_VAD,n)||null==i||!!i.suppress||null!=i.requestToSpeakTimestamp}return x2!==e&&(x3=e,x2=e,ez.h.dispatch({type:"SET_VAD_PERMISSION",hasPermission:x2}),!0)}class x4 extends e6.Ay.Store{static displayName="PermissionVADStore";initialize(){this.waitFor(eW.default,ib.A,tI.Ay,l0.A,iL.A,iM.A)}shouldShowWarning(){return!x3}canUseVoiceActivity(){return x2}}let x5=new x4(ez.h,{RTC_CONNECTION_STATE:x6,MEDIA_ENGINE_SET_AUDIO_ENABLED:x6,AUDIO_SET_MODE:x6,CHANNEL_UPDATES:x6,THREAD_UPDATE:x6,GUILD_ROLE_UPDATE:x6,GUILD_MEMBER_UPDATE:x6,IMPERSONATE_UPDATE:x6,IMPERSONATE_STOP:x6,VOICE_STATE_UPDATES:function(e){let{voiceStates:t}=e;return t.some(e=>{let{userId:t}=e;return t===eW.default.getId()&&x6()})},AUDIO_TOGGLE_SELF_MUTE:function(){x3=x2},PERMISSION_CLEAR_VAD_WARNING:function(){x3=!0}});function x7(e){return(0,U.jsx)(xJ.Modal,{size:"md",title:na.intl.string(na.t.NYklhr),subtitle:na.intl.string(na.t.EJ26Oh),actions:[{text:na.intl.string(na.t.UYW0dz),onClick:()=>{e.onClose(),x1.A.clearVADWarning()},variant:"secondary"},{text:na.intl.string(na.t.E3Y7NH),onClick:()=>{is.A.setMode(eL.TBI.PUSH_TO_TALK),e.onClose(),x1.A.clearVADWarning()},variant:"primary"}],...e})}function x8(){let e=(0,e6.bG)([x5],()=>x5.shouldShowWarning(),[]),t=e8.useRef(null);function n(){null!==t.current&&((0,nv.closeModal)(t.current),t.current=null)}return e8.useEffect(()=>(e?t.current=(0,nv.openModal)(e=>(0,U.jsx)(x7,{...e})):n(),()=>{n()}),[e]),null}var x9=n(150934),ke=n(935671);function kt(e){let{currentGame:t,...n}=e,[i,r]=e8.useState(!1);return(0,lj.l0)(()=>{i&&x1.A.clearPTTAdminWarning()}),(0,U.jsx)(xJ.Modal,{size:"md",title:na.intl.string(na.t.eotlXE),subtitle:na.intl.formatToPlainString(na.t.Lw6KXV,{game:t?.name}),actions:[{text:na.intl.string(na.t.psXQHP),onClick:()=>{n.onClose(),window.open(nh.A.getArticleURL(eL.MVz.PUSH_TO_TALK_ADMINISTRATOR_MODE),"_blank")}}],actionBarInput:(0,U.jsx)(x9.S,{checked:i,onChange:e=>r(e),label:na.intl.string(na.t["5E9SB9"]),labelType:"secondary"}),...n})}function kn(){let[e,t]=(0,e6.yK)([ia.Ay],()=>[ia.Ay.canShowAdminWarning,ia.Ay.getVisibleGame()],[]),n=(0,e6.bG)([iL.A],()=>iL.A.isConnected(),[]),i=(0,e6.bG)([tI.Ay],()=>tI.Ay.getMode()===eL.TBI.PUSH_TO_TALK,[]),r=null!=t&&t.elevated&&n&&i&&e,s=e8.useRef(null);return e8.useEffect(()=>{if(!(0,ke.yA)(ia.Ay))return r?s.current=(0,nv.openModal)(e=>(0,U.jsx)(kt,{currentGame:t,...e})):e(),()=>{e()};function e(){null!==s.current&&((0,nv.closeModal)(s.current),s.current=null)}},[t,r]),null}var ki=n(48686);function kr(e){let t,n,{afk:i,...r}=e,[s,a]=e8.useState(!1);return i?(t=na.intl.string(na.t.Y40Jke),n=na.intl.string(na.t["5J4yGc"])):(t=na.intl.string(na.t.FJSZVM),n=na.intl.string(na.t.etJjgW)),(0,U.jsx)(xJ.Modal,{size:"md",title:t,subtitle:n,actions:[{text:na.intl.string(na.t.BddRzS),onClick:()=>{r.onClose(),x1.A.clearSuppressWarning(s)},variant:"primary"}],actionBarInput:(0,U.jsx)(x9.S,{checked:s,onChange:e=>a(e),label:na.intl.string(na.t["5E9SB9"]),labelType:"secondary"}),...r})}let ks=()=>{let e=e8.useRef(null);function t(){null!==e.current&&((0,nv.closeModal)(e.current),e.current=null)}let[i,r]=(0,e6.yK)([xe],()=>[xe.shouldShowWarning(),xe.isAFKChannel()],[]),s=e8.useCallback(()=>{e.current=(0,nv.openModal)(e=>(0,U.jsx)(kr,{afk:r,...e}))},[r]),a=e8.useCallback(()=>{(0,nv.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("39765"),n.e("59866")]).then(n.bind(n,937489));return t=>(0,U.jsx)(e,{...t,showHideSuppressWarning:!0})}).then(t=>{null!=t&&(e.current=t)})},[]);return e8.useEffect(()=>(i&&(0,ki.t)()?a():i?s():t(),()=>{t()}),[i,s,a]),null},ka=()=>(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(kn,{}),(0,U.jsx)(x0,{}),(0,U.jsx)(ks,{}),(0,U.jsx)(x8,{})]});var ko=n(663413),kl=n(707554),ku=n(82495),kc=n(725807),kd=n(450232);function k_(){ez.h.dispatch({type:"APP_ICON_EDITOR_RESET"})}var kh=n(526162),kf=n(806932),kp=n(174197),kE=n(564194);let km=()=>{let e=(0,e6.bG)([tT.default],()=>IT.Ay.isPremium(tT.default.getCurrentUser())),t=(0,IU.V)(),n=t?.subscription_trial?.sku_id===cu.pe.TIER_2;return(0,U.jsx)(kc.A,{size:an.$n.Sizes.MEDIUM,textOptions:{textOverride:e?na.intl.string(na.t.IJI7yk):n?(0,IT.FY)({intervalType:t?.subscription_trial?.interval,intervalCount:t?.subscription_trial?.interval_count}):na.intl.string(na.t.mr4K7D)},subscriptionTier:cu.pe.TIER_2})},kg=e=>{let{markAsDismissed:t}=e;return(0,U.jsxs)("div",{className:kE.nV,children:[(0,U.jsx)(t3.D,{className:kE.VV,onClick:()=>void(t?.(rE.i.DISMISS),(0,rR.Jp)(),k_()),children:(0,U.jsx)(_2.a,{size:"md",color:"currentColor",className:kE.P0})}),(0,U.jsxs)("div",{className:kE.DD,children:[(0,U.jsx)(aF.D,{variant:"heading-lg/extrabold",children:na.intl.string(na.t["hb/wE0"])}),(0,U.jsx)(kd.A,{color:r9.A.colors.TEXT_STRONG,size:"sm",className:kE.PC})]})]})},kA=e=>{let{isCoachmark:t,markAsDismissed:n}=e,i=(0,e6.bG)([kh.A],()=>kh.A.isUpsellPreview);return(0,U.jsxs)("div",{className:kE.N3,children:[i&&(0,U.jsx)(km,{}),(0,U.jsx)(tJ.$,{onClick:()=>{n?.(rE.i.DISMISS),(0,rR.Jp)(),k_(),t||(0,i7.openUserSettings)(i5.X.APPEARANCE_IN_APP_ICON_CATEGORY)},variant:"secondary",fullWidth:!0,text:i||t?na.intl.string(na.t["dqH+qr"]):na.intl.string(na.t.Olc2K3)})]})};function kI(e){let{isCoachmark:t,markAsDismissed:n,iconSize:i=kp.N8.SIZE_60}=e,{analyticsLocations:r}=(0,op.Ay)(ii.A.APP_ICON_EDITOR),s=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),{isUpsellPreview:a,shouldEditorAnimate:o}=(0,e6.cf)([kh.A,e7.A],()=>({isUpsellPreview:kh.A.isUpsellPreview,shouldEditorAnimate:t&&!e7.A.useReducedMotion})),l=rR.fy.getState().activePanel===rR.HP.APP_ICON;e8.useEffect(()=>{a&&ew.default.track(eL.HAw.PREMIUM_UPSELL_VIEWED,{type:cu.e.APP_ICON_UPSELL,location_stack:r})},[a,r]);let u=(0,ku.A)(null,a?k_:eL.tEg);e8.useEffect(()=>{if(a&&!l)return k_},[a,l]);let c=e8.useMemo(()=>({"--custom-in-app-icon-editor-content-width":`${3*i+48}px`,"--custom-in-app-icon-editor-padding":"16px"}),[i]);return null==s?null:(0,U.jsx)(op.f5,{value:r,children:(0,U.jsx)("div",{ref:u,className:t2()(kE.EN,o?kE.hP:null),"data-app-right-panel":!0,style:c,children:(0,U.jsxs)(kl.F,{children:[(0,U.jsx)(kg,{markAsDismissed:n}),(0,U.jsx)(oh.Ip,{className:kE.sV,children:(0,U.jsx)(kf.A,{className:kE.Gg,isEditor:!0,iconSize:i})}),(0,U.jsx)(kA,{markAsDismissed:n,isCoachmark:t})]})})})}var kT=n(805627),kS=n(45945),ky=n(894284);function kN(){return(0,U.jsx)("div",{"data-app-right-panel":!0,className:kS.kL})}let kv=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("39713"),n.e("53381"),n.e("207"),n.e("88077"),n.e("53614"),n.e("33902"),n.e("18401"),n.e("99999"),n.e("99843"),n.e("31145"),n.e("98384"),n.e("14451"),n.e("66996")]).then(n.bind(n,974800)),webpackId:974800,renderLoader:kN}),kC=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("39713"),n.e("42376"),n.e("97549"),n.e("43282"),n.e("207"),n.e("88077"),n.e("53614"),n.e("33902"),n.e("18401"),n.e("99999"),n.e("15754"),n.e("99843"),n.e("31145"),n.e("38601"),n.e("3930"),n.e("47018"),n.e("38090"),n.e("1922"),n.e("9793"),n.e("98384"),n.e("86492"),n.e("49344"),n.e("88990"),n.e("72158"),n.e("51200")]).then(n.bind(n,290948)),webpackId:290948,renderLoader:kN}),kR=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("97549"),n.e("32817"),n.e("38601"),n.e("63618"),n.e("34409"),n.e("42935"),n.e("60165"),n.e("86492"),n.e("72158"),n.e("15907")]).then(n.bind(n,809605)),webpackId:809605,renderLoader:function(){return(0,U.jsx)("div",{"data-app-right-panel":!0,className:ky.kL})}}),kO=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("39713"),n.e("20345"),n.e("88941"),n.e("84967"),n.e("91381"),n.e("54625"),n.e("1354"),n.e("62875"),n.e("18489"),n.e("14124"),n.e("55430")]).then(n.bind(n,563380)),webpackId:563380}),kb=function(e){let{mobile:t}=e,n=(0,e6.bG)([tT.default],()=>IT.Ay.canUseClientThemes(tT.default.getCurrentUser())),i=(0,e6.bG)([PO.A],()=>PO.A.isCoachmark),r=null!=(0,e6.bG)([ib.A,nX.A],()=>ib.A.getChannel(nX.A.getChannelId()))&&!!function(){try{return CSS.supports("selector(:has(*))")}catch(e){return!1}}(),{activePanel:s,metadata:a}=(0,rR.fy)(),o=(0,e6.bG)([rU.A],()=>rU.A.hasLayers()),l=[];null==s&&!o&&(i&&!n&&l.push(rM.M.CLIENT_THEMES_COACHMARK),r&&n&&l.push(rM.M.CUSTOM_THEME_COACHMARK));let[u,c]=(0,rf.kn)(l,rE.m.SIDEBAR,!0),d=u===rM.M.CLIENT_THEMES_COACHMARK,_=u===rM.M.CUSTOM_THEME_COACHMARK,h=s===rR.HP.CLIENT_THEMES||d,f=s===rR.HP.APP_ICON,p=s===rR.HP.CUSTOM_THEME||_,E=s===rR.HP.GUILD_THEME_PREVIEW,m=s===rR.HP.APPLICATION_TEST_MODE_DEBUG;if(!(h||f||p||E||m))return null;let g=()=>(0,U.jsxs)(U.Fragment,{children:[h&&(0,U.jsx)(kv,{markAsDismissed:d?c:()=>{(0,lt.Dr)(rM.M.CLIENT_THEMES_COACHMARK,{dismissAction:rE.i.INDIRECT_ACTION,forceTrack:!0})},showClientThemesCoachmark:d}),f&&(0,U.jsx)(kI,{isCoachmark:!1,markAsDismissed:c}),p&&(0,U.jsx)(kC,{metadata:a??{},markAsDismissed:c,isCoachmark:_,isMobile:t}),E&&(0,U.jsx)(kR,{}),m&&(0,U.jsx)(kO,{})]});return t?(0,U.jsx)("div",{className:kT.A,children:g()}):g()};var kD=n(404374),kL=n(573435),kw=n(906292);n(939857),Promise.resolve().then(n.bind(n,677134)).then(e=>{eU.isPlatformEmbedded?window.addEventListener("contextmenu",e.contextMenuCallbackNative,!1):window.addEventListener("contextmenu",e.contextMenuCallbackWeb,!1)}),(0,xm.h)({getDefaultLinkInterceptor:xy.default}),(0,rs.Fe)({createPromise:()=>Promise.all([n.e("74495"),n.e("94678"),n.e("1856"),n.e("76892"),n.e("4787"),n.e("8188")]).then(n.bind(n,441588)),webpackId:441588}),(0,rs.Fe)({createPromise:()=>Promise.all([n.e("94678"),n.e("1856"),n.e("76892"),n.e("4787"),n.e("56795")]).then(n.bind(n,461624)),webpackId:461624});let kM=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("13040"),n.e("98254"),n.e("99063")]).then(n.bind(n,1464)),webpackId:1464}),kP=e8.memo(function(){let e=(0,e6.bG)([rU.A],()=>rU.A.hasLayers()),t=(0,nv.useModalsStore)(nv.hasAnyModalOpen),n=(0,e6.bG)([eW.default],()=>eW.default.isAuthenticated());return(0,U.jsx)(s2.v5,{fixed:!0,show:e||t||!n,isLayerOpen:e})}),kx=function(e){var t;let n,{children:i,skipsSettingDefaultPageTitle:r}=e,s=(0,eU.getPlatform)(),a=e0.Fr||e0.v1,o=(0,e6.bG)([e7.A],()=>e7.A.useForcedColors?"yes":"no"),l=e8.useRef(document.body),u=`${o}`;t="AppSkeleton",n=eb.A.useCanUIRequestGatewaySocket(),e8.useEffect(()=>{if(n)return x$.uG(t),()=>{x$.qr(t)}},[t,n]);let c=(0,xK.sK)("AppSkeleton");e8.useEffect(()=>{c?tA.w.set(xK.AL,!0):tA.w.remove(xK.AL)},[c]);let d=(0,e6.bG)([xZ.A],()=>xZ.A.canPlayWowMoment);return(0,U.jsx)(xQ.e,{children:(0,U.jsxs)(xN.A,{children:[(0,U.jsx)(ko.A,{skipsSettingDefaultPageTitle:r}),(0,U.jsx)(xS.N,{children:(0,U.jsx)(xW.A,{children:(0,U.jsxs)(e5.xp,{containerRef:l,children:[(0,U.jsx)(kL.Al,{}),(0,U.jsx)(kD.Ay,{}),(0,U.jsx)(xE.Ut,{}),(0,U.jsx)(t7.Wr,{appContext:eL.BRT.APP,renderWindow:window,children:(0,U.jsxs)(xC.Yf,{children:[null!=s?(0,U.jsx)(kP,{}):null,(0,U.jsxs)("div",{className:t2()(kw.XX,a&&kw.Xq),children:[(0,U.jsx)(xV.C1,{}),(0,U.jsx)("div",{className:kw.x$,"data-app-not-dev-tools":!0,children:(0,U.jsx)(xF.l,{children:(0,U.jsx)(w4.ks,{children:(0,U.jsx)(xv.A.Provider,{value:o6.A,children:(0,U.jsxs)(xG,{children:[(0,U.jsx)("div",{className:t2()(a?kw.C$:kw.yA),children:i}),(0,U.jsx)(xI.A,{}),(0,U.jsx)(xT.A,{}),(0,U.jsx)(xg.b,{}),(0,U.jsx)(ka,{}),(0,U.jsx)(Ck.up,{}),(0,U.jsx)(xp.P,{}),(0,U.jsx)(xC.C8,{}),(0,U.jsx)(w4.ok,{}),(0,U.jsx)(xA.N,{appContext:eL.BRT.APP}),(0,U.jsx)(xb,{}),(0,U.jsx)(xX,{}),d&&(0,U.jsx)(kM,{})]})})})})}),(0,U.jsx)(xk,{}),(0,U.jsx)(kb,{mobile:a}),(0,U.jsx)(xY,{mobile:a})]}),!1]})}),(0,U.jsx)(xE.Ut,{})]})})})]})},u)};var kk=((S={})[S.NOT_STARTED=0]="NOT_STARTED",S[S.IN_PROGRESS=1]="IN_PROGRESS",S[S.FAILED=2]="FAILED",S[S.SKIPPED=3]="SKIPPED",S);let kU=0;class kG extends e6.Ay.Store{static displayName="DomainMigrationStore";getMigrationStatus(){return kU}}let kF=new kG(ez.h,{DOMAIN_MIGRATION_START:function(){kU=1},DOMAIN_MIGRATION_FAILURE:function(){kU=2},DOMAIN_MIGRATION_SKIP:function(){kU=3}});function kV(e){return e?._state?.lastTestTimestamp}function kB(){return e8.useEffect(()=>{window.location.origin===window.GLOBAL_ENV.MIGRATION_DESTINATION_ORIGIN&&!0!==tA.w.get(nA.qx)&&tS.Ay.supportsFeature(eL.BYE.USER_DATA_CACHE)&&(ez.h.wait(()=>ez.h.dispatch({type:"DOMAIN_MIGRATION_START"})),ti.A.userDataCache.getCached().then(e=>{if(null==e){ez.h.dispatch({type:"DOMAIN_MIGRATION_FAILURE"}),ew.default.track(eL.HAw.DOMAIN_MIGRATED,{success:!1,has_data:!1},{flush:!0});return}let t=Object.keys(e),n=0!==t.length,i=null!=e.token,r=null==e.RTCRegionStore?null:JSON.parse(e.RTCRegionStore),s=null==r||null==kV(r)||kV(r)<=kV(tA.w.get("RTCRegionStore"));n&&i&&!s&&(tA.w.clear(),t.forEach(t=>{let n=e[t];try{tA.w.set(t,JSON.parse(n))}catch(e){}})),ew.default.track(eL.HAw.DOMAIN_MIGRATED,{success:!0,current_is_newer:s,has_data:n},{flush:!0}),tA.w.set(nA.qx,!0),ti.A.userDataCache.deleteCache(),window.location.reload()}))},[]),null}class kH extends nK.A{_initialize(){ez.h.subscribe("CONNECTION_OPEN",this.handleConnectionOpen)}_terminate(){ez.h.unsubscribe("CONNECTION_OPEN",this.handleConnectionOpen)}handleConnectionOpen=e=>{((0,eU.isWindows)()||(0,eU.isMac)())&&eq.encryptAndStoreTokens()}}let kj=new kH;var kY=n(53505);let kW=e=>{if(null==e||""===e)return null;try{let t=new URL(e);return eG.A.isDiscordHostname(t.hostname)||window.location.host===t.host?t:null}catch(e){return null}};var kK=n(396574);n(967347);let k$=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("14076"),n.e("99681")]).then(n.bind(n,224116)),webpackId:224116,name:"UnsupportedBrowser"}),kz=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("9446"),n.e("15799"),n.e("44602"),n.e("25280")]).then(n.bind(n,987482)),webpackId:987482,name:"DownloadApps"}),kq=(0,rs.Fe)({createPromise:()=>n.e("84809").then(n.bind(n,312625)),webpackId:312625,name:"InviteProxy"}),kX=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("22323"),n.e("34917"),n.e("96891"),n.e("20705"),n.e("46391")]).then(n.bind(n,29599)),webpackId:29599,name:"VerifyConnectedAccount"}),kZ=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("22323"),n.e("34917"),n.e("96891"),n.e("63832")]).then(n.bind(n,744185)),webpackId:744185,name:"VerifyConnectedAccountSuccess"}),kQ=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("22323"),n.e("34917"),n.e("96891"),n.e("72414")]).then(n.bind(n,885338)),webpackId:885338,name:"VerifyConnectedAccountError"}),kJ=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("22323"),n.e("34917"),n.e("36335"),n.e("96891"),n.e("20705"),n.e("46391"),n.e("52986")]).then(n.bind(n,97649)),webpackId:97649,name:"LinkConnectedAccount"}),k0=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("98965"),n.e("36335"),n.e("65893")]).then(n.bind(n,209086)),webpackId:209086,name:"LinkAuthorize"}),k1=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("89217"),n.e("9351"),n.e("81927"),n.e("13836"),n.e("95429"),n.e("88905"),n.e("98965"),n.e("48370"),n.e("36335"),n.e("64610"),n.e("44861"),n.e("29624"),n.e("16864")]).then(n.bind(n,627318)),webpackId:627318,name:"ActivateDevice"}),k2=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("80413"),n.e("81927"),n.e("39713"),n.e("97549"),n.e("78938"),n.e("69970"),n.e("80760"),n.e("27724"),n.e("31329"),n.e("28127"),n.e("89156"),n.e("61949"),n.e("4207"),n.e("97177"),n.e("44123"),n.e("84170"),n.e("80889"),n.e("94307"),n.e("68835"),n.e("66787"),n.e("5636"),n.e("29312"),n.e("71934"),n.e("35017"),n.e("70278"),n.e("7053"),n.e("39995"),n.e("25568"),n.e("63016"),n.e("72899"),n.e("22822"),n.e("64804"),n.e("98261"),n.e("11328"),n.e("74275"),n.e("89217"),n.e("6026"),n.e("16946"),n.e("80774"),n.e("99430"),n.e("53843"),n.e("207"),n.e("89281"),n.e("57036"),n.e("57174"),n.e("98839"),n.e("24199"),n.e("95429"),n.e("88905"),n.e("10368"),n.e("28367"),n.e("10471"),n.e("60235"),n.e("54048"),n.e("62156"),n.e("88941"),n.e("93103"),n.e("61379"),n.e("34530"),n.e("43039"),n.e("21690"),n.e("88077"),n.e("25693"),n.e("32606"),n.e("32817"),n.e("43437"),n.e("699"),n.e("28154"),n.e("13681"),n.e("53729"),n.e("48804"),n.e("10004"),n.e("55314"),n.e("89094"),n.e("29177"),n.e("32551"),n.e("62680"),n.e("76881"),n.e("4369"),n.e("87306"),n.e("23353"),n.e("50015"),n.e("99666"),n.e("41043"),n.e("11523"),n.e("44695"),n.e("18441"),n.e("44376"),n.e("31644"),n.e("70697"),n.e("18546"),n.e("53930"),n.e("98125"),n.e("21825"),n.e("90244"),n.e("18943"),n.e("70653"),n.e("8892"),n.e("53614"),n.e("31825"),n.e("36320"),n.e("20320"),n.e("31390"),n.e("47017"),n.e("90889"),n.e("99657"),n.e("88599"),n.e("26780"),n.e("44265"),n.e("99141"),n.e("84103"),n.e("17225"),n.e("30920"),n.e("99941"),n.e("25990"),n.e("33902"),n.e("11527"),n.e("63095"),n.e("39734"),n.e("68647"),n.e("35344"),n.e("63070"),n.e("64615"),n.e("96443"),n.e("75134"),n.e("57598"),n.e("84967"),n.e("55184"),n.e("23216"),n.e("87079"),n.e("18401"),n.e("1555"),n.e("73547"),n.e("99593"),n.e("84456"),n.e("47555"),n.e("21435"),n.e("61935"),n.e("99999"),n.e("5501"),n.e("62168"),n.e("9640"),n.e("69875"),n.e("58157"),n.e("16900"),n.e("47626"),n.e("91381"),n.e("23891"),n.e("86949"),n.e("15754"),n.e("24761"),n.e("74810"),n.e("20287"),n.e("99843"),n.e("63235"),n.e("31145"),n.e("37622"),n.e("71577"),n.e("51243"),n.e("32756"),n.e("52073"),n.e("9915"),n.e("54975"),n.e("48330"),n.e("93158"),n.e("72401"),n.e("51130"),n.e("58428"),n.e("32823"),n.e("34691"),n.e("92731"),n.e("85901"),n.e("5131"),n.e("33134"),n.e("74610"),n.e("61268"),n.e("58164"),n.e("71470"),n.e("37490"),n.e("80007"),n.e("82486"),n.e("73122"),n.e("8979"),n.e("19580"),n.e("22744"),n.e("49345"),n.e("11471"),n.e("15275"),n.e("60178"),n.e("91643"),n.e("83827"),n.e("48370"),n.e("5871"),n.e("74821"),n.e("82758"),n.e("19623"),n.e("89545"),n.e("90213"),n.e("82721"),n.e("4736"),n.e("82384"),n.e("37479"),n.e("72238"),n.e("15537"),n.e("7265"),n.e("16198"),n.e("90966"),n.e("40247"),n.e("89913"),n.e("25505"),n.e("98279"),n.e("97641"),n.e("44861"),n.e("57641"),n.e("10385"),n.e("75080"),n.e("6516"),n.e("79023"),n.e("20429"),n.e("79582"),n.e("37475"),n.e("17321"),n.e("93265"),n.e("86142")]).then(n.bind(n,304476)),webpackId:304476,name:"ViewsWithAuth"}),k3=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("89217"),n.e("15275"),n.e("74821"),n.e("15537"),n.e("44861"),n.e("6516"),n.e("13419")]).then(n.bind(n,234260)),webpackId:234260,name:"ViewsWithOAuth2"}),k6=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("81334"),n.e("30514")]).then(n.bind(n,146088)),webpackId:146088,name:"BrowserHandoff"}),k4=(0,rs.Fe)({createPromise:()=>n.e("74272").then(n.bind(n,569710)),webpackId:569710,name:"MobileWebHandoffFallback"}),k5=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("61749"),n.e("81927"),n.e("44651"),n.e("36769"),n.e("407"),n.e("97549"),n.e("4149"),n.e("31329"),n.e("63635"),n.e("11491"),n.e("83072"),n.e("98594"),n.e("11328"),n.e("81154"),n.e("61949"),n.e("84935"),n.e("66787"),n.e("41297"),n.e("44136"),n.e("99961"),n.e("89209"),n.e("39713"),n.e("89239"),n.e("59859"),n.e("46461"),n.e("6026"),n.e("90862"),n.e("26963"),n.e("51402"),n.e("97177"),n.e("4222"),n.e("18090"),n.e("55785"),n.e("51692"),n.e("25677"),n.e("38518"),n.e("333"),n.e("68299"),n.e("22995"),n.e("22822"),n.e("24716"),n.e("76032"),n.e("11520"),n.e("45249"),n.e("85529"),n.e("52519"),n.e("94242"),n.e("57006"),n.e("83566"),n.e("58376"),n.e("89156"),n.e("28885"),n.e("49937"),n.e("66346"),n.e("53773"),n.e("88826"),n.e("28510"),n.e("30402"),n.e("19032"),n.e("3445"),n.e("47206"),n.e("66465"),n.e("81275"),n.e("17270"),n.e("43413"),n.e("23967"),n.e("50256"),n.e("57073"),n.e("86615"),n.e("23924"),n.e("42205"),n.e("71091"),n.e("19402"),n.e("13111"),n.e("63202"),n.e("85755"),n.e("28367"),n.e("10471"),n.e("63232"),n.e("11301"),n.e("61737"),n.e("60235"),n.e("64827"),n.e("7167"),n.e("96643"),n.e("99278"),n.e("92789"),n.e("2368"),n.e("47834"),n.e("19551"),n.e("84569"),n.e("62156"),n.e("6338"),n.e("83255"),n.e("85404"),n.e("96811"),n.e("57791"),n.e("2316"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("8304"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("34303"),n.e("28866"),n.e("2419"),n.e("58038"),n.e("93159"),n.e("56959"),n.e("25246"),n.e("36458"),n.e("94723"),n.e("62931"),n.e("50417"),n.e("64607"),n.e("34552"),n.e("93103"),n.e("8757"),n.e("76602"),n.e("91763"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("85968"),n.e("76418"),n.e("68403"),n.e("72963"),n.e("42724"),n.e("43437"),n.e("39970"),n.e("40258"),n.e("66495"),n.e("29787"),n.e("71210"),n.e("86127"),n.e("82263"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("88342"),n.e("46070"),n.e("37977"),n.e("72789"),n.e("6949"),n.e("86814"),n.e("17249"),n.e("88599"),n.e("75842"),n.e("42451"),n.e("36863"),n.e("35027"),n.e("53917"),n.e("79049"),n.e("98965"),n.e("62422"),n.e("50117"),n.e("90365"),n.e("89088"),n.e("71273"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("20590"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("35313"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("96325"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("23608"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("76273"),n.e("8362"),n.e("41678"),n.e("72401"),n.e("52617"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("87439"),n.e("67837"),n.e("35321"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("62862"),n.e("37021"),n.e("62359"),n.e("39171"),n.e("87478"),n.e("36564"),n.e("50033"),n.e("83952"),n.e("3998"),n.e("44780"),n.e("5557"),n.e("95160"),n.e("43266"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("1812"),n.e("49145"),n.e("60773"),n.e("61156"),n.e("92128"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("99549"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("20930"),n.e("74610"),n.e("38056"),n.e("26001"),n.e("16988"),n.e("12255"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("40959"),n.e("57458"),n.e("59797"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("93336"),n.e("1243"),n.e("69793"),n.e("75133"),n.e("15920"),n.e("77487"),n.e("75859"),n.e("96804"),n.e("38501"),n.e("28850"),n.e("95998"),n.e("27659"),n.e("68530"),n.e("42234"),n.e("11617"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("77467"),n.e("78046"),n.e("80093"),n.e("98972"),n.e("203"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("41701"),n.e("17823"),n.e("39894"),n.e("21455"),n.e("60989"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("36624"),n.e("71467"),n.e("60003"),n.e("30167"),n.e("51892"),n.e("41838"),n.e("59373"),n.e("46045"),n.e("33448"),n.e("73122"),n.e("42324"),n.e("85802"),n.e("16054"),n.e("96480"),n.e("65200"),n.e("79593"),n.e("73611"),n.e("41706"),n.e("94888"),n.e("90804"),n.e("21883"),n.e("50068"),n.e("61347"),n.e("52695"),n.e("70587"),n.e("55895"),n.e("28011"),n.e("48317"),n.e("25344"),n.e("76622"),n.e("26250"),n.e("37065"),n.e("30313"),n.e("50541"),n.e("80469"),n.e("43372"),n.e("51212"),n.e("1485"),n.e("24049"),n.e("41348"),n.e("39721"),n.e("84601"),n.e("53402"),n.e("26223"),n.e("51743"),n.e("86470"),n.e("86861"),n.e("36999"),n.e("68708"),n.e("36793"),n.e("31189"),n.e("84042"),n.e("27880"),n.e("70961"),n.e("3345"),n.e("82830"),n.e("46855"),n.e("59228"),n.e("8032"),n.e("77970"),n.e("88563"),n.e("54588"),n.e("92313"),n.e("57807"),n.e("7521"),n.e("80782"),n.e("60206"),n.e("86336"),n.e("59991"),n.e("85681"),n.e("49111"),n.e("42270"),n.e("87791"),n.e("97585"),n.e("97934"),n.e("87634"),n.e("92461"),n.e("47250"),n.e("81104"),n.e("84018")]).then(n.bind(n,436405)),webpackId:436405,name:"Overlay"}),k7=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("66787"),n.e("24806"),n.e("23924"),n.e("13554"),n.e("61137"),n.e("85216"),n.e("66708")]).then(n.bind(n,303174)),webpackId:303174,name:"SuspendedUserSafetyHubPage"}),k8=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("68030"),n.e("1953"),n.e("39895"),n.e("71791")]).then(n.bind(n,125820)),webpackId:125820,name:"QuestsLandingPage"}),k9=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("68030"),n.e("1953"),n.e("39895"),n.e("44900")]).then(n.bind(n,589877)),webpackId:589877,name:"QuestPreviewLandingPage"}),Ue=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("22323"),n.e("34917"),n.e("96891"),n.e("81881")]).then(n.bind(n,519716)),webpackId:519716,name:"ConnectionsAuthorizeContinue"}),Ut=(0,rs.Fe)({createPromise:()=>n.e("15243").then(n.bind(n,190662)),webpackId:190662,name:"ApplicationDirectoryRoutes"}),Un=(0,rs.Fe)({createPromise:()=>n.e("38217").then(n.bind(n,149755)),webpackId:149755,name:"ApplicationDirectoryGlobalDiscoveryRoutes"}),Ui=()=>(0,U.jsx)(xf,{}),Ur=new Set([eL.BVt.LOGIN,eL.BVt.LOGIN_HANDOFF,eL.BVt.INVITE_LOGIN(":inviteCode"),eL.BVt.GIFT_CODE_LOGIN(":giftCode"),eL.BVt.GUILD_TEMPLATE_LOGIN(":guildTemplateCode")]);function Us(e,t){return t?e.filter(e=>!Ur.has(e)):e}class Ua extends e8.Component{componentDidMount(){let{isAuthenticated:e}=this.props;tS.Ay.cleanupDisplaySleep(),kj.initialize(),Pu.A.wasAuthenticated=e}componentWillUnmount(){kj.terminate()}render(){let e,{isAuthenticated:t,migrationStatus:n,skipsSettingDefaultPageTitle:i}=this.props;return e=n===kk.IN_PROGRESS?null:kK.VP?eU.isPlatformEmbedded?(0,U.jsxs)(ng.dO,{children:[t?null:(0,U.jsx)(ng.qh,{path:eL.BVt.ACCOUNT_STANDING,component:k7}),(0,U.jsx)(ng.qh,{exact:!0,path:eL.BVt.INDEX,render:()=>(0,U.jsx)(nS,{})}),(0,U.jsx)(rd.A,{exact:!0,path:eL.BVt.APPS,component:kz}),(0,U.jsx)(ng.qh,{path:Us([eL.BVt.LOGIN,eL.BVt.REGISTER,eL.BVt.INVITE(":inviteCode"),eL.BVt.INVITE_LOGIN(":inviteCode"),eL.BVt.GIFT_CODE(":giftCode"),eL.BVt.GIFT_CODE_LOGIN(":giftCode"),eL.BVt.RESET],!1),component:k2}),(0,U.jsx)(rd.A,{path:eL.BVt.INVITE_PROXY(Sc.pv.channelId()),component:kq}),(0,U.jsx)(ng.rd,{from:eL.BVt.INVITE(""),to:eL.BVt.LOGIN}),(0,U.jsx)(ng.rd,{from:eL.BVt.GIFT_CODE(""),to:eL.BVt.LOGIN}),(0,U.jsx)(ng.qh,{render:Ui})]}):(0,U.jsxs)(ng.dO,{children:[(0,U.jsx)(rd.A,{exact:!0,path:eL.BVt.INDEX,render:()=>(0,U.jsx)(nS,{})}),(0,U.jsx)(ng.qh,{path:Us([eL.BVt.LOGIN_ONE_TIME,eL.BVt.LOGIN,eL.BVt.LOGIN_HANDOFF,eL.BVt.REGISTER,eL.BVt.BILLING_PREFIX,eL.BVt.BILLING_PROMOTION_REDEMPTION(":code"),eL.BVt.INVITE(":inviteCode"),eL.BVt.INVITE_LOGIN(":inviteCode"),eL.BVt.GIFT_CODE(":giftCode"),eL.BVt.GIFT_CODE_LOGIN(":giftCode"),eL.BVt.GUILD_TEMPLATE(":guildTemplateCode"),eL.BVt.GUILD_TEMPLATE_LOGIN(":guildTemplateCode"),eL.BVt.DISABLE_EMAIL_NOTIFICATIONS,eL.BVt.DISABLE_SERVER_HIGHLIGHT_NOTIFICATIONS,eL.BVt.RESET,eL.BVt.REPORT,eL.BVt.REPORT_SECOND_LOOK,eL.BVt.ACCOUNT_REVERT(":token")],!1),component:k2}),t?null:(0,U.jsx)(ng.qh,{path:eL.BVt.PICK_GUILD_SETTINGS(":section?",":subsection?"),component:k2}),t?null:(0,U.jsx)(ng.qh,{path:eL.BVt.CHANNEL(Sc.pv.guildId(),Sc.pv.channelId({optional:!0}),":messageId?"),component:k2}),(0,U.jsx)(ng.rd,{from:eL.BVt.INVITE(""),to:eL.BVt.LOGIN}),(0,U.jsx)(rd.A,{path:eL.BVt.INVITE_PROXY(Sc.pv.channelId()),component:kq}),(0,U.jsx)(ng.rd,{from:eL.BVt.GIFT_CODE(""),to:eL.BVt.LOGIN}),(0,U.jsx)(rd.A,{path:eL.BVt.QUESTS(":questId"),component:k8,impressionName:eR.ImpressionNames.QUESTS_LANDING_PAGE,impressionProperties:e=>{let{match:t}=e;return{quest_id:t?.params.questId!=null?Number(t.params.questId):void 0}}}),(0,U.jsx)(rd.A,{path:eL.BVt.QUEST_PREVIEW(":questId"),component:k9}),(0,U.jsx)(rd.A,{path:eL.BVt.HANDOFF,component:k6}),(0,U.jsx)(rd.A,{path:eL.BVt.MOBILE_WEB_HANDOFF,component:k4}),(0,U.jsx)(rd.A,{path:eL.BVt.CONNECTION_LINK(":type"),component:kJ}),(0,U.jsx)(rd.A,{path:eL.BVt.CONNECTION_LINK_AUTHORIZE(":type"),component:k0}),(0,U.jsx)(rd.A,{path:eL.BVt.ACTIVATE,component:k1}),(0,U.jsx)(rd.A,{path:eL.BVt.ACTIVATE_HANDOFF,component:k1}),(0,U.jsx)(rd.A,{path:eL.BVt.CONNECTIONS_AUTHORIZE_CONTINUE(":type"),component:Ue}),(0,U.jsx)(rd.A,{path:eL.BVt.CONNECTIONS_SUCCESS(":type"),component:kZ}),(0,U.jsx)(rd.A,{path:eL.BVt.CONNECTIONS_ERROR(":type"),component:kQ}),(0,U.jsx)(rd.A,{path:eL.BVt.CONNECTIONS(":type"),component:kX}),(0,U.jsx)(rd.A,{path:eL.BVt.DOWNLOAD_QR_CODE_REDIRECT,render:()=>{let e=ew.default.getSuperProperties()?.os,t=(0,nm.parse)((window.location.search??"").substr(1)),n=t.referring_location?.toString();return("iOS"===e||"Android"===e)&&ew.default.track(eL.HAw.DOWNLOAD_APP,{platform:e,ptb:!1,released:!0,has_e_mail:"true"===t.has_e_mail,referring_location:n,qr_code:!0}),window.location.href=(0,kY.b$)(null!=n&&""!==n?n:"qr_code",e),null}}),(0,U.jsx)(rd.A,{path:eL.BVt.OPEN_APP_FROM_EMAIL,render:()=>{var e;let t,n=ew.default.getSuperProperties()?.os,i=(e=window.location.search??"",{desktop:kW((t=(0,ny.parse)(e)).desktop_link),mobile:kW(t.mobile_link)});if("iOS"!==n&&"Android"!==n)return(0,U.jsx)(ng.rd,{to:null!=i.desktop?`${i.desktop.pathname}${i.desktop.search}`:eL.BVt.APP});{let e=(0,kY.b$)("app_open_from_email",n,i.mobile),t=(0,nI.X7)(e);null!=t&&ew.default.track(eL.HAw.DEEP_LINK_CLICKED,{fingerprint:(0,nT.v)(t.fingerprint),attempt_id:t.attemptId,source:t.utmSource,destination:null!=i.mobile?i.mobile.toString():null}),window.location.href=e}}}),(0,U.jsx)(ng.rd,{from:eL.BVt.CONNECT_AUTHORIZE,to:{...location,pathname:eL.BVt.OAUTH2_AUTHORIZE}}),(0,U.jsx)(ng.qh,{path:[eL.BVt.OAUTH2_AUTHORIZED,eL.BVt.OAUTH2_AUTHORIZE,eL.BVt.OAUTH2_ERROR,eL.BVt.OAUTH2_WHITELIST_ACCEPT],component:k3}),t?null:(0,U.jsx)(ng.qh,{path:[eL.BVt.ACCOUNT_STANDING],component:k7}),t?null:(0,U.jsx)(ng.qh,{path:[eL.BVt.APPLICATION_DIRECTORY],component:Ut}),t?null:(0,U.jsx)(ng.qh,{path:[eL.BVt.GLOBAL_DISCOVERY_APPS],component:Un}),(0,U.jsx)(ng.qh,{render:Ui}),(0,U.jsx)(ng.rd,{from:eL.BVt.ACCOUNT_REVERT(""),to:eL.BVt.LOGIN})]}):(0,U.jsx)(ng.dO,{children:(0,U.jsx)(rd.A,{component:k$})}),(0,U.jsxs)(kx,{skipsSettingDefaultPageTitle:i,children:[e,eU.isPlatformEmbedded&&(n===kk.NOT_STARTED||n===kk.IN_PROGRESS)&&!0!==tA.w.get(nA.qx)?(0,U.jsx)(kB,{}):null]})}}let Uo=e6.Ay.connectStores([eW.default,kF],()=>({isAuthenticated:eW.default.isAuthenticated(),migrationStatus:kF.getMigrationStatus()}),{forwardRef:!0})(function(e){let t=function(){let{pathname:e}=(0,ng.zy)();return null!=(0,Sd.B)(e,{path:eL.BVt.APPLICATION_DIRECTORY})}();return(0,U.jsx)(Ua,{...e,skipsSettingDefaultPageTitle:t})});class Ul extends nK.A{_initialize(){eU.isPlatformEmbedded&&(tS.Ay.on("APP_PUSH_ANALYTICS",(e,t)=>{this._handleEventResponse(t)}),this.processModuleEvents())}_terminate(){}processModuleEvents(){try{tS.Ay.send("APP_GET_ANALYTICS_EVENTS")}catch(e){console.error(`[analytics] failed to send analytics events query: ${e}`)}}_handleEventResponse(e){null!=e&&e.forEach(e=>{"cdm"===e.type?e.name===eL.HAw.CDM_LOAD_STATUS||e.name===eL.HAw.CDM_READY_COMPLETE?ew.default.track(e.name,e.data):console.log(`[analytics] received unknown cdm analytic event ${e.name}`):"desktop_tti"===e.type?e.name===eL.HAw.DESKTOP_TTI?ew.default.track(e.name,e.data):console.log(`[analytics] received unknown desktop_tti analytic event ${e.name}`):"desktop_tti_v2"===e.type&&(e.name===eL.HAw.DESKTOP_TTI_V2?ew.default.track(e.name,e.data):console.log(`[analytics] received unknown desktop_tti_v2 analytic event ${e.name}`))})}}let Uu=new Ul;var Uc=n(941426);let Ud="1402418696126992445";function U_(e,t){if(null==t)return null;if(t.applicationId===Ud){let n,i,r;return n=t.processPath.length>1?t.processPath[t.processPath.length-2]:0,void 0!==(r=(i=e.filter(e=>e.applicationId===Ud&&e.processPath.includes(n))).find(e=>"league of legends.exe"===e.executableName))?r:i.length>0?i[0]:null}let n=new Map(e.map(e=>[e.processId,e])),i=t.processPath.map(e=>n.get(e)).find(e=>null!=e);if(null==i)return null;let r=e.map(e=>{let t=e.processPath.findIndex(e=>n.has(e));return -1===t?null:{application:e,rootedPath:e.processPath.slice(t)}}).filter(ix.Vq).filter(e=>e.rootedPath[0]===i.processId);r.sort((e,t)=>{let i=e.rootedPath.map(e=>n.get(e)).filter(e=>null!=e&&null!=e.windowHandle),r=Uh(t.rootedPath.map(e=>n.get(e)).filter(e=>null!=e&&null!=e.windowHandle),i);return 0!==r?r:Uh(t.rootedPath,e.rootedPath)});let s=r.find(e=>null!=e.application.windowHandle)??r[0];return null==s?null:s.application}function Uh(e,t){return e.length-t.length}var Uf=((y={}).STREAM="stream",y.PAUSE="pause",y.STOP="stop",y);class Up{callback;active;application;sound;logger;constructor(e){this.callback=e,this.active=!1,this.application=null,this.sound=!0,this.logger=new Uc.Vy("StreamDirector")}onStreamBegin(e,t,n){let i,r=null==(i=e.find(e=>e.processId===t))?null:U_(e,i);this.sound=n,null==r||null==r.windowHandle?this.callback({type:"stop"}):this._stream(r)}onStreamKilled(){this._kill()}onStreamEnd(){this._stop()}onDetectionUpdate(e){this._update(e)}onCaptureEnd(e,t){this.application?.windowHandle===t&&this._update(e)}onCaptureLegacyEnd(e){return this.application?.windowHandle!=null?this.onCaptureEnd(e,this.application.windowHandle):this._stop()}_update(e){let t=U_(e,this.application);if(null!=t)return null==t.windowHandle?this._pause():this._stream(t);this._stop()}_stream(e){let t=this.application?.windowHandle!==e.windowHandle;this.active=!0,t&&this.logger.info(`Stream window changed from ${this.application?.windowHandle} to ${e.windowHandle} for application ${e.applicationId}, executableName ${e.executableName}`),this.application=Object.assign({},e),t&&this.callback({type:"stream",sourceId:`window:${this.application.windowHandle}`,sound:this.sound})}_kill(){this.active=!1,this.application=null}_stop(){this.active&&(this._kill(),this.callback({type:"stop"}))}_pause(){this.active&&(this.application.windowHandle=null,this.callback({type:"pause"}))}}var UE=n(929921);class Um{director;applications;streamKey;mode;constructor(){this.mode=null,this.applications=[],this.director=new Up(e=>this._onDirectorAction(e)),ez.h.subscribe("STREAM_START",e=>{let{streamType:t,guildId:n,channelId:i,pid:r,sourceId:s,audioSourceId:a,sound:o}=e,l=eW.default.getId(),u=(0,iN._z)({streamType:t,guildId:n,channelId:i,ownerId:l});null==r!=(null==s)?(null!=r&&this._onStreamApplication(u,r,o??!0),null!=s&&this._onStreamDirectSource(u,s,a,o)):new tb.A("ApplicationSwitchingManager").warn(`invalid start_stream: both application + display modes were specified (pid: ${r}, source-id: ${s})`)}),ez.h.subscribe("STREAM_DELETE",e=>{let{streamKey:t}=e;this._onStreamKilled(t)}),ez.h.subscribe("STREAM_STOP",e=>{let{streamKey:t}=e;this._onStreamEnd(t)}),ez.h.subscribe("RUNNING_GAMES_CHANGE",e=>{let{games:t}=e;this._onGameDetectionUpdate(t)}),ez.h.subscribe("MEDIA_ENGINE_VIDEO_STATE_CHANGED",e=>{let{videoState:t,context:n}=e;n===il.x.STREAM&&this._onCapturePaused(t===eL.uPF.PAUSED)}),ez.h.subscribe("MEDIA_ENGINE_SET_GO_LIVE_SOURCE",e=>{let{settings:t,errorCode:n}=e;t?.context===il.x.STREAM&&t?.desktopSettings==null&&t?.cameraSettings==null&&this._onCaptureEnded(null==n),t?.desktopSettings?.sound!=null?this.director.sound=t.desktopSettings.sound:t?.cameraSettings?.sound!=null&&(this.director.sound=t.cameraSettings.sound)})}_onGameDetectionUpdate(e){this.applications=e.map(e=>({applicationId:e.id??null,processId:e.pid,processPath:e.pidPath,windowHandle:e.windowHandle??null,executableName:e.exeName})),"verbatim-source"!==this.mode&&this.director.onDetectionUpdate(this.applications)}_onStreamApplication(e,t,n){this.mode="application",this.streamKey=e,this.director.onStreamBegin(this.applications,t,n)}_onStreamDirectSource(e,t,n,i){this.mode="verbatim-source",this.streamKey=e,this.director.sound=i??!0,this.director.application=null,this._onDirectorAction({type:Uf.STREAM,sourceId:t,audioSourceId:n,sound:i})}_onStreamEnd(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(this.streamKey===e)switch(this.streamKey=null,this.mode){case"application":this.director.onStreamEnd();break;case"verbatim-source":this._onDirectorAction({type:Uf.STOP,alsoClose:t});break;default:throw Error(`unknown streaming mode: ${this.mode??"(none)"}`)}}_onStreamKilled(e){if(this.streamKey===e)switch(this.streamKey=null,this.mode){case"application":this.director.onStreamKilled();break;case"verbatim-source":break;default:throw Error(`unknown streaming mode: ${this.mode??"(none)"}`)}}_onDirectorAction(e){let t=iO.A.getCurrentUserActiveStream(),n=UE.A.getState();switch(e.type){case Uf.STREAM:if(null!=t&&(0,ox.TZ)(t,!1),e.sourceId.startsWith("camera")&&null!=e.audioSourceId){let t=e.sourceId.indexOf(":")+1,i=e.sourceId.substring(t);is.A.setGoLiveSource({cameraSettings:{videoDeviceGuid:i,audioDeviceGuid:e.audioSourceId,sound:e.sound??this.director.sound},qualityOptions:{preset:n.preset,resolution:n.resolution,frameRate:n.fps},context:il.x.STREAM})}else is.A.setGoLiveSource({desktopSettings:{sourceId:e.sourceId,sound:e.sound??this.director.sound},qualityOptions:{preset:n.preset,resolution:n.resolution,frameRate:n.fps},context:il.x.STREAM});break;case Uf.PAUSE:null!=t&&(0,ox.TZ)(t,!0);break;case Uf.STOP:null!=t&&(0,yw.A)(t,!0,e.alsoClose??!0);break;default:throw Error(`unhandled stream action: ${e.type}`)}}_onCapturePaused(e){let t=iO.A.getCurrentUserActiveStream();null!=t&&(0,ox.TZ)(t,e)}_onCaptureEnded(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];switch(this.mode){case"application":this._onCapturePaused(!0);break;case"verbatim-source":null!=this.streamKey&&this._onStreamEnd(this.streamKey,e);break;default:throw Error(`unknown streaming mode: ${this.mode??"(none)"}`)}}}var Ug=n(579872);class UA extends nK.A{_initialize(){ez.h.subscribe("MEDIA_ENGINE_PERMISSION",this.handlePermission)}_terminate(){ez.h.unsubscribe("MEDIA_ENGINE_PERMISSION",this.handlePermission)}handlePermission=e=>{let{kind:t,granted:n}=e,i="Firefox"===tq().name?eL.MVz.ENABLE_MIC_FIREFOX:eL.MVz.ENABLE_MIC_CHROME;if(!n){let e="audio"!==t;Ug.A.show({title:e?na.intl.string(na.t.OqloH8):na.intl.string(na.t["kI+OOV"]),body:e?na.intl.string(na.t.l3P7K0):na.intl.string(na.t.l3jwOd),onConfirm:()=>window.open(nh.A.getArticleURL(i),"_blank"),confirmText:na.intl.string(na.t.psXQHP)})}}}let UI=new UA;function UT(){return{num_failed:0,num_delta_installed:0,num_full_installed:0,foreground_bytes_total:0,background_bytes_total:0,foreground_download_ms_total:0,background_download_ms_total:0,foreground_install_ms_total:0,background_install_ms_total:0}}function US(e){return"host"===e}class Uy{_installingModules={};_downloadingModules={};_report;constructor(){this._report=UT()}handleDownloadingModule(e){if(!US(e.name)){if(null!=this._downloadingModules[e.name])return void console.warn("Duplicate downloading-module event for module ",e.name);this._downloadingModules[e.name]={startTime:BigInt(e.now),foreground:e.foreground}}}_updateReportField(e,t,n){let i=this._report[e];null!=i?this._report[e]=n(i,t):this._report[e]=t}incrementReportField(e,t){this._updateReportField(e,t,(e,t)=>e+t)}setReportFieldMinimum(e,t){this._updateReportField(e,t,Math.min)}setReportFieldMaximum(e,t){this._updateReportField(e,t,Math.max)}handleDownloadedModule(e){if(US(e.name))return;let t=this._downloadingModules[e.name];if(null==t)return void console.warn("Downloaded complete without corresponding downloading event for module ",e.name);let n=t.foreground?"foreground":"background",i=`${n}_download_ms_${e.name}`,r=`${n}_bytes_${e.name}`,s=Number((BigInt(e.now)-t.startTime+BigInt(999999))/BigInt(1e6)),a=!1===e.receivedBytes?0:e.receivedBytes;t.foreground?(this._report.foreground_download_ms_total+=s,this._report.foreground_bytes_total+=a):(this._report.background_download_ms_total+=s,this._report.background_bytes_total+=a),this.incrementReportField(i,s),this.incrementReportField(r,a),delete this._downloadingModules[e.name]}handleInstallingModule(e){if(!US(e.name)){if(null!=this._installingModules[e.name])return void console.warn("Duplicate installing-module event for module ",e.name);this._installingModules[e.name]={startTime:BigInt(e.now),foreground:e.foreground,oldVersion:e.oldVersion,newVersion:e.newVersion}}}handleInstalledModule(e){if(US(e.name))return;let t=this._installingModules[e.name];if(null==t)return;let n=t.foreground?"foreground":"background",i=`${n}_install_ms_${e.name}`,r=`min_version_${e.name}`,s=`max_version_${e.name}`,a=Number((BigInt(e.now)-t.startTime+BigInt(999999))/BigInt(1e6));t.foreground?this._report.foreground_install_ms_total+=a:this._report.background_install_ms_total+=a,this.incrementReportField(i,a),this.setReportFieldMinimum(r,t.oldVersion),e.succeeded?(!0===e.delta?this._report.num_delta_installed++:this._report.num_full_installed++,this.setReportFieldMaximum(s,t.newVersion)):this._report.num_failed++,delete this._installingModules[e.name]}trackEvent(e){switch(e.type){case"installing-module":this.handleInstallingModule(e);break;case"installed-module":this.handleInstalledModule(e);break;case"downloading-module":this.handleDownloadingModule(e);break;case"downloaded-module":this.handleDownloadedModule(e)}}getStats(){return this._report}reset(){this._report=UT()}submissionReady(){return this._report.num_full_installed+this._report.num_failed+this._report.num_delta_installed+this._report.foreground_bytes_total+this._report.background_bytes_total!==0&&!(Object.keys(this._installingModules).length>0)&&!(Object.keys(this._downloadingModules).length>0)}}class UN extends nK.A{_tracker=new Uy;_initialize(){eU.isPlatformEmbedded&&(tS.Ay.on("UPDATE_DOWNLOADED",()=>this.processModuleEvents()),tS.Ay.on("MODULE_INSTALLED",(e,t,n)=>this.processModuleEvents()),tS.Ay.on("UPDATER_HISTORY_RESPONSE",(e,t)=>{this._handleHistoryResponse(t)}),this.processModuleEvents())}_terminate(){}processModuleEvents(){tS.Ay.send("UPDATER_HISTORY_QUERY_AND_TRUNCATE")}_handleHistoryResponse(e){if(null==e)return;let t=0===Math.floor(500*Math.random());e.forEach(e=>{"analytics"===e.type?e.name===eL.HAw.UPDATER_METRICS_DOWNLOAD||e.name===eL.HAw.UPDATER_METRICS_INSTALL||e.name===eL.HAw.UPDATER_METRICS_COMBINED||e.name===eL.HAw.UPDATER_METRICS_TRANSITION_STATUS?t&&ew.default.track(e.name,e.data):console.warn(`Unknown updater analytic event ${e.name}`):this._tracker.trackEvent(e)}),this._tracker.submissionReady()&&(ew.default.track(eL.HAw.APP_MODULES_UPDATED,this._tracker.getStats()),this._tracker.reset())}}let Uv=new UN;n(742459),n(499979),n(321034);var UC=n(823598),UR=n(201327);let UO=new n4.Ep,Ub=!1,UD=window.document.createElement("canvas");UD.width=512,UD.height=288;let UL=UD.getContext("2d");function Uw(){UO.stop(),null!=l&&(l=null)}let UM=im().debounce((e,t,n,i)=>{UP(e,(0,iN._z)({streamType:null!=t?OI.U4.GUILD:OI.U4.CALL,guildId:t,channelId:n,ownerId:i}))},500);async function UP(e,t){if(l!==e||(0,eU.isWeb)()&&tl.uh.getSetting()||iO.A.getIsActiveStreamPreviewDisabled(t))return;let n=()=>UP(e,t);if(!Ub)try{var i,r;let n,s,a,o,u,c,d,_;i=await (r=e,_=0,(eU.isPlatformEmbedded?function(e,t){let n=(0,UC.lE)();return new Promise((i,r)=>{n.getNextVideoOutputFrame(e).then(e=>{try{null!=e&&t(e)&&i(e)}catch(e){r(e)}},t=>{l===e&&r(t)})})}:function(e,t){let n=(0,UR.yL)(e);if(null==n)return Promise.resolve(new ImageData(0,0));let{width:i,height:r}=n.getVideoTracks()[0].getSettings(),s=document.createElement("video"),a=document.createElement("canvas");s.width=a.width=i??512,s.height=a.height=r??288,s.srcObject=n,s.play();let o=a.getContext("2d");return new Promise((e,n)=>{s.ontimeupdate=()=>{o?.drawImage(s,0,0,a.width,a.height);let i=o?.getImageData(0,0,a.width,a.height);try{null!=i&&t(i)&&e(i)}catch(e){n(e)}}}).finally(()=>{s.ontimeupdate=null,s.removeAttribute("srcObject"),s.load()})})(r,e=>{if(new Uint32Array(e.data.buffer).some(e=>0!==e))return!0;if(++_>60)throw Error(`Timed out awaiting non-black frame after ${60} frames`);return!1})),n=512/i.width,s=Math.min(n,288/i.height),a=i.width*s,o=i.height*s,UD.width=a,UD.height=o,c=(u=window.document.createElement("canvas")).getContext("2d"),u.width=i.width,u.height=i.height,d=new ImageData(i.data,i.width,i.height),c?.putImageData(d,0,0),UL?.drawImage(u,0,0,i.width,i.height,0,0,a,o);let h=UD.toDataURL("image/jpeg");if(ez.h.dispatch({type:"STREAM_PREVIEW_FETCH_SUCCESS",streamKey:t,previewURL:h}),eU.isPlatformEmbedded){let e=eW.default.getToken();tK()(null!=e,"Auth token was null while sending screenshot."),await tS.Ay.makeChunkedRequest(eL.Rsh.STREAM_PREVIEW(t),{thumbnail:h},{method:"POST",token:e})}else await eC.Bo.post({url:eL.Rsh.STREAM_PREVIEW(t),body:{thumbnail:h},oldFormErrors:!0,rejectWithError:!1})}catch(t){new tb.A("ApplicationStreamPreviewUploadManager").error("Failed to post stream preview",t),l===e&&UO.start(6e4,n);return}l===e&&(Ub?UO.start(6e4,n):UO.start(3e5,n))}function Ux(e,t){return!(e===eL.TGd.BROWSER&&Ov.Ay.hasKeybind(uD.zY.MOUSE_BUTTON,t))}let Uk=new class{initialize(){(0,eU.isDesktop)()&&(tS.Ay.on("NAVIGATE_BACK",(e,t)=>{Ux(t,uD.RX.Back)&&(0,r3.OE)("native")}),tS.Ay.on("NAVIGATE_FORWARD",(e,t)=>{Ux(t,uD.RX.Forward)&&(0,r3.Qb)("native")}))}};var UU=n(812729),UG=n.n(UU),UF=n(675991);class UV extends nK.A{callbackActions={[tg.dv.VIDEO]:()=>{tI.Ay.isVideoEnabled()?is.A.setVideoEnabled(!1):(0,y5.A)(()=>is.A.setVideoEnabled(!0),eL.BRT.APP)},[tg.dv.MUTE]:()=>is.A.toggleSelfMute({location:"Thumbar"}),[tg.dv.DEAFEN]:()=>is.A.toggleSelfDeaf({location:"Thumbar"}),[tg.dv.DISCONNECT]:()=>nD.default.disconnect()};isSupported=(0,eU.isMac)()||(0,eU.isWindows)();prevButtons=[];_initialize(){this.isSupported&&(ez.h.subscribe("AUDIO_SET_MODE",this.handleViewUpdate),ez.h.subscribe("VOICE_CHANNEL_SELECT",this.handleViewUpdate),ez.h.subscribe("START_SESSION",this.handleViewUpdate),ez.h.subscribe("CONNECTION_OPEN",this.handleViewUpdate),ez.h.subscribe("CONNECTION_CLOSED",this.handleViewUpdate),ez.h.subscribe("CALL_CREATE",this.handleViewUpdate),ez.h.subscribe("CALL_UPDATE",this.handleViewUpdate),ez.h.subscribe("CALL_DELETE",this.handleViewUpdate),ez.h.subscribe("CHANNEL_DELETE",this.handleViewUpdate),ez.h.subscribe("VOICE_STATE_UPDATES",this.handleViewUpdate),ez.h.subscribe("AUDIO_TOGGLE_SELF_MUTE",this.handleViewUpdate),ez.h.subscribe("AUDIO_TOGGLE_SELF_DEAF",this.handleViewUpdate),ez.h.subscribe("AUDIO_TOGGLE_LOCAL_MUTE",this.handleViewUpdate),ez.h.subscribe("AUDIO_SET_LOCAL_VIDEO_DISABLED",this.handleViewUpdate),tS.Ay.on("THUMBAR_BUTTONS_CLICKED",(e,t)=>this.buttonClicked(t)))}_terminate(){this.isSupported&&(ez.h.unsubscribe("AUDIO_SET_MODE",this.handleViewUpdate),ez.h.unsubscribe("VOICE_CHANNEL_SELECT",this.handleViewUpdate),ez.h.unsubscribe("START_SESSION",this.handleViewUpdate),ez.h.unsubscribe("CONNECTION_OPEN",this.handleViewUpdate),ez.h.unsubscribe("CONNECTION_CLOSED",this.handleViewUpdate),ez.h.unsubscribe("CALL_CREATE",this.handleViewUpdate),ez.h.unsubscribe("CALL_UPDATE",this.handleViewUpdate),ez.h.unsubscribe("CALL_DELETE",this.handleViewUpdate),ez.h.unsubscribe("CHANNEL_DELETE",this.handleViewUpdate),ez.h.unsubscribe("VOICE_STATE_UPDATES",this.handleViewUpdate),ez.h.unsubscribe("AUDIO_TOGGLE_SELF_MUTE",this.handleViewUpdate),ez.h.unsubscribe("AUDIO_TOGGLE_SELF_DEAF",this.handleViewUpdate),ez.h.unsubscribe("AUDIO_TOGGLE_LOCAL_MUTE",this.handleViewUpdate),ez.h.unsubscribe("AUDIO_SET_LOCAL_VIDEO_DISABLED",this.handleViewUpdate))}buttonClicked=e=>{e.buttonName in this.callbackActions?this.callbackActions[e.buttonName]():console.error(`ThumbarButtonsManager: Unknown callback eventName: "${e.buttonName}"`,e)};handleViewUpdate=im().debounce(()=>{let e=nX.A.getVoiceChannelId();if(null==e)return void this.setThumbarButtons([]);let t=tI.Ay.isSelfMute(),n=tI.Ay.isSelfDeaf(),i=tI.Ay.isVideoEnabled(),r=tI.Ay.isVideoAvailable(),s=ib.A.getChannel(e),a=null==s||(0,y1.r)(s),{reachedLimit:o,limit:l}=null!=s?(0,y0.M)(s):{reachedLimit:void 0,limit:void 0},u=(0,UF.Q)({enabled:i,join:!1,channel:s,cameraUnavailable:!r,hasPermission:a,channelLimit:l,channelLimitReached:o});this.setThumbarButtons([{name:tg.dv.VIDEO,active:!i,tooltip:u,flags:r?[]:["disabled"]},{name:tg.dv.MUTE,active:t,tooltip:t?na.intl.string(na.t.YqAjXy):na.intl.string(na.t.w4m945)},{name:tg.dv.DEAFEN,active:n,tooltip:n?na.intl.string(na.t["2US872"]):na.intl.string(na.t.wjcRFX)},{name:tg.dv.DISCONNECT,active:!0,tooltip:na.intl.string(na.t["6vrfgt"])}])},100);setThumbarButtons(e){UG()(this.prevButtons,e)||(this.prevButtons=e,tS.Ay.setThumbarButtons(e))}}let UB=new UV;var UH=n(350723),Uj=n(346142),UY=n(340287),UW=n.t(UY,2);function UK(e,t){if(!1===e||null==e)throw Error(t)}function U$(e,t){if(!e){"u">typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function Uz(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}(N=w||(w={})).Pop="POP",N.Push="PUSH",N.Replace="REPLACE",(v=M||(M={})).data="data",v.deferred="deferred",v.redirect="redirect",v.error="error";let Uq=/^:[\w-]+$/,UX=e=>"*"===e;function UZ(e,t){var n,i,r;let s,a;"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[o,l]=(n=e.path,i=e.caseSensitive,r=e.end,void 0===i&&(i=!1),void 0===r&&(r=!0),U$("*"===n||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were "'+n.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+n.replace(/\*$/,"/*")+'".'),s=[],a="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(s.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")),n.endsWith("*")?(s.push({paramName:"*"}),a+="*"===n||"/*"===n?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==n&&"/"!==n&&(a+="(?:(?=\\/|$))"),[new RegExp(a,i?void 0:"i"),s]),u=t.match(o);if(!u)return null;let c=u[0],d=c.replace(/(.)\/+$/,"$1"),_=u.slice(1);return{params:l.reduce((e,t,n)=>{let{paramName:i,isOptional:r}=t;if("*"===i){let e=_[n]||"";d=c.slice(0,c.length-e.length).replace(/(.)\/+$/,"$1")}let s=_[n];return r&&!s?e[i]=void 0:e[i]=(s||"").replace(/%2F/g,"/"),e},{}),pathname:c,pathnameBase:d,pattern:e}}function UQ(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&"/"!==i?null:e.slice(n)||"/"}let UJ=e=>e.join("/").replace(/\/\/+/g,"/"),U0=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function U1(){return(U1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}Symbol("deferred");let U2=e8.createContext(null),U3=e8.createContext(null),U6=e8.createContext(null),U4=e8.createContext(null),U5=e8.createContext({outlet:null,matches:[],isDataRoute:!1}),U7=e8.createContext(null);function U8(){return null!=e8.useContext(U4)}let U9=e8.createElement(function(){var e;let t,n,i,r,s,a,o,l=(s=e8.useContext(U7),a=(Gn.UseRouteError,(t=e8.useContext(U3))||UK(!1),t),o=(Gn.UseRouteError,(r=((n=e8.useContext(U5))||UK(!1),i=n).matches[i.matches.length-1]).route.id||UK(!1),r.route.id),void 0!==s?s:null==(e=a.errors)?void 0:e[o]),u=null!=l&&"number"==typeof l.status&&"string"==typeof l.statusText&&"boolean"==typeof l.internal&&"data"in l?l.status+" "+l.statusText:l instanceof Error?l.message:JSON.stringify(l),c=l instanceof Error?l.stack:null;return e8.createElement(e8.Fragment,null,e8.createElement("h2",null,"Unexpected Application Error!"),e8.createElement("h3",{style:{fontStyle:"italic"}},u),c?e8.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},c):null,null)},null);class Ge extends e8.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?e8.createElement(U5.Provider,{value:this.props.routeContext},e8.createElement(U7.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Gt(e){let{routeContext:t,match:n,children:i}=e,r=e8.useContext(U2);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),e8.createElement(U5.Provider,{value:t},i)}var Gn=((C=Gn||{}).UseBlocker="useBlocker",C.UseLoaderData="useLoaderData",C.UseActionData="useActionData",C.UseRouteError="useRouteError",C.UseNavigation="useNavigation",C.UseRouteLoaderData="useRouteLoaderData",C.UseMatches="useMatches",C.UseRevalidator="useRevalidator",C.UseNavigateStable="useNavigate",C.UseRouteId="useRouteId",C);let Gi={};function Gr(e){UK(!1)}function Gs(e){let{basename:t="/",children:n=null,location:i,navigationType:r=w.Pop,navigator:s,static:a=!1,future:o}=e;U8()&&UK(!1);let l=t.replace(/^\/*/,"/"),u=e8.useMemo(()=>({basename:l,navigator:s,static:a,future:U1({v7_relativeSplatPath:!1},o)}),[l,o,s,a]);"string"==typeof i&&(i=Uz(i));let{pathname:c="/",search:d="",hash:_="",state:h=null,key:f="default"}=i,p=e8.useMemo(()=>{let e=UQ(c,l);return null==e?null:{location:{pathname:e,search:d,hash:_,state:h,key:f},navigationType:r}},[l,c,d,_,h,f,r]);return null==p?null:e8.createElement(U6.Provider,{value:u},e8.createElement(U4.Provider,{children:n,value:p}))}function Ga(e){let{children:t,location:n}=e;return function(e,t){var n,i;let r;U8()||UK(!1);let{navigator:s}=e8.useContext(U6),{matches:a}=e8.useContext(U5),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let c=(U8()||UK(!1),e8.useContext(U4).location);if(t){let e="string"==typeof t?Uz(t):t;"/"===u||(null==(n=e.pathname)?void 0:n.startsWith(u))||UK(!1),r=e}else r=c;let d=r.pathname||"/",_=d;if("/"!==u){let e=u.replace(/^\//,"").split("/");_="/"+d.replace(/^\//,"").split("/").slice(e.length).join("/")}let h=(void 0===i&&(i="/"),function(e,t,n,i){let r=UQ(("string"==typeof t?Uz(t):t).pathname||"/",n);if(null==r)return null;let s=function e(t,n,i,r){void 0===n&&(n=[]),void 0===i&&(i=[]),void 0===r&&(r="");let s=(t,s,a)=>{var o,l;let u,c,d={relativePath:void 0===a?t.path||"":a,caseSensitive:!0===t.caseSensitive,childrenIndex:s,route:t};d.relativePath.startsWith("/")&&(UK(d.relativePath.startsWith(r),'Absolute route path "'+d.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),d.relativePath=d.relativePath.slice(r.length));let _=UJ([r,d.relativePath]),h=i.concat(d);t.children&&t.children.length>0&&(UK(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+_+'".'),e(t.children,n,h,_)),(null!=t.path||t.index)&&n.push({path:_,score:(o=_,l=t.index,c=(u=o.split("/")).length,u.some(UX)&&(c+=-2),l&&(c+=2),u.filter(e=>!UX(e)).reduce((e,t)=>e+(Uq.test(t)?3:""===t?1:10),c)),routesMeta:h})};return t.forEach((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of function e(t){let n=t.split("/");if(0===n.length)return[];let[i,...r]=n,s=i.endsWith("?"),a=i.replace(/\?$/,"");if(0===r.length)return s?[a,""]:[a];let o=e(r.join("/")),l=[];return l.push(...o.map(e=>""===e?a:[a,e].join("/"))),s&&l.push(...o),l.map(e=>t.startsWith("/")&&""===e?"/":e)}(e.path))s(e,t,n);else s(e,t)}),n}(e);s.sort((e,t)=>{var n,i;return e.score!==t.score?t.score-e.score:(n=e.routesMeta.map(e=>e.childrenIndex),i=t.routesMeta.map(e=>e.childrenIndex),n.length===i.length&&n.slice(0,-1).every((e,t)=>e===i[t])?n[n.length-1]-i[i.length-1]:0)});let a=null;for(let e=0;null==a&&e<s.length;++e){let t=function(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return U$(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}(r);a=function(e,t,n){void 0===n&&(n=!1);let{routesMeta:i}=e,r={},s="/",a=[];for(let e=0;e<i.length;++e){let o=i[e],l=e===i.length-1,u="/"===s?t:t.slice(s.length)||"/",c=UZ({path:o.relativePath,caseSensitive:o.caseSensitive,end:l},u),d=o.route;if(!c&&l&&n&&!i[i.length-1].route.index&&(c=UZ({path:o.relativePath,caseSensitive:o.caseSensitive,end:!1},u)),!c)return null;Object.assign(r,c.params),a.push({params:r,pathname:UJ([s,c.pathname]),pathnameBase:U0(UJ([s,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(s=UJ([s,c.pathnameBase]))}return a}(s[e],t,i)}return a}(e,{pathname:_},i,!1)),f=function(e,t,n,i){var r,s;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===i&&(i=null),null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(null==(s=i)||!s.v7_partialHydration||0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let a=e,o=null==(r=n)?void 0:r.errors;if(null!=o){let e=a.findIndex(e=>e.route.id&&(null==o?void 0:o[e.route.id])!==void 0);e>=0||UK(!1),a=a.slice(0,Math.min(a.length,e+1))}let l=!1,u=-1;if(n&&i&&i.v7_partialHydration)for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(u=e),t.route.id){let{loaderData:e,errors:i}=n,r=t.route.loader&&void 0===e[t.route.id]&&(!i||void 0===i[t.route.id]);if(t.route.lazy||r){l=!0,a=u>=0?a.slice(0,u+1):[a[0]];break}}}return a.reduceRight((e,i,r)=>{var s;let c,d=!1,_=null,h=null;n&&(c=o&&i.route.id?o[i.route.id]:void 0,_=i.route.errorElement||U9,l&&(u<0&&0===r?(s="route-fallback",Gi[s]||(Gi[s]=!0),d=!0,h=null):u===r&&(d=!0,h=i.route.hydrateFallbackElement||null)));let f=t.concat(a.slice(0,r+1)),p=()=>{let t;return t=c?_:d?h:i.route.Component?e8.createElement(i.route.Component,null):i.route.element?i.route.element:e,e8.createElement(Gt,{match:i,routeContext:{outlet:e,matches:f,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===r)?e8.createElement(Ge,{location:n.location,revalidation:n.revalidation,component:_,error:c,children:p(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):p()},null)}(h&&h.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:UJ([u,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:UJ([u,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),a,void 0,void 0);return t&&f?e8.createElement(U4.Provider,{value:{location:U1({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:w.Pop}},f):f}(function e(t,n){void 0===n&&(n=[]);let i=[];return e8.Children.forEach(t,(t,r)=>{if(!e8.isValidElement(t))return;let s=[...n,r];if(t.type===e8.Fragment)return void i.push.apply(i,e(t.props.children,s));t.type!==Gr&&UK(!1),t.props.index&&t.props.children&&UK(!1);let a={id:t.props.id||s.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(a.children=e(t.props.children,s)),i.push(a)}),i}(t),n)}e9.startTransition;var Go=((R=Go||{})[R.pending=0]="pending",R[R.success=1]="success",R[R.error=2]="error",R);new Promise(()=>{}),e8.Component;try{window.__reactRouterVersion="6"}catch(e){}e9.startTransition,UW.flushSync,e9.useId,"u">typeof window&&void 0!==window.document&&window.document.createElement,(O=P||(P={})).UseScrollRestoration="useScrollRestoration",O.UseSubmit="useSubmit",O.UseSubmitFetcher="useSubmitFetcher",O.UseFetcher="useFetcher",O.useViewTransitionState="useViewTransitionState",(b=x||(x={})).UseFetcher="useFetcher",b.UseFetchers="useFetchers",b.UseScrollRestoration="useScrollRestoration";let Gl="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e8.useLayoutEffect:()=>{};function Gu(e){let{children:t}=e,n=(0,ng.W6)(),[i,r]=e8.useState(()=>({location:n.location,action:n.action}));return Gl(()=>{n.listen((e,t)=>r({location:e,action:t}))},[n]),e8.createElement(Gs,{navigationType:i.action,location:i.location,navigator:n},e8.createElement(Ga,null,e8.createElement(Gr,{path:"*",element:t})))}function Gc(e){let{children:t}=e;return e8.useEffect(()=>(Su.A.initialize(),()=>Su.A.cleanup()),[]),(0,U.jsx)(tX.vd,{children:(0,U.jsx)(ng.Ix,{history:(0,uV.JK)(),children:(0,U.jsx)(Gu,{children:t})})})}var Gd=n(306173),G_=n(279234);let Gh=new tb.A("libdiscore"),Gf=!1;async function Gp(){if(!Gf){try{let e;await (0,G_.P)();let t=(0,Gd.t7)(6,7);Gh.info("The answer for life the universe and everything is:",t),e=[],tU.ML.forEach(t=>{let n=t.getEnabledFeatureName();null!=n&&e.push(n)}),ew.default.track(eL.HAw.LIBDISCORE_LOADED,{success:!0,experimental_features:e})}catch(e){!function(e){let t,n;Gh.error("Failed to execute smoke test:",e);let i=(t="",n=null,(e instanceof Error?(t=e.message,n=e.name):t=null!=e?String(e):"Unknown error",t.length>1e3&&(t=t.substring(0,997)+"..."),null!=n)?`${n}: ${t}`:t);ew.default.track(eL.HAw.LIBDISCORE_LOADED,{success:!1,error:i})}(e)}Gf=!0}}var GE=n(343166),Gm=n(621466),Gg=n(654108),GA=n(316501);L4.default.cssDebuggingEnabled&&n.e("7473").then(n.t.bind(n,17960,19)),(0,GA.pF)();let GI=5*n5.A.Millis.MINUTE,GT=document.getElementById("app-mount");tK()(null!=GT,"Could not find app-mount"),GT.className=__OVERLAY__?"":GE.l;let GS=(0,tY.createRoot)(GT),Gy={"/oauth2/authorize":function(e){let t=e?.get("client_id"),n=e?.get("scope")?.split(" "),i=e?.get("state"),r=e?.get("redirect_uri"),s=e?.get("response_type"),a=e?.get("nonce")??void 0,o=e?.get("code_challenge")??void 0,l=e?.get("code_challenge_method")??void 0;return null==t||null==n||null==r||null==s||((0,L_.openOAuth2Modal)({clientId:t,scopes:n,redirectUri:r,state:i??void 0,responseType:s,nonce:a,codeChallenge:o,codeChallengeMethod:l}),!0)},"/one-time":function(e){let t=e?.get("token");return null!=t&&(LK({token:t}),!0)}},GN=e=>GS.render((0,U.jsx)(xQ.e,{children:(0,U.jsx)(Gc,{children:(0,U.jsx)(e,{})})}));if(null!=ti.A){ti.A.setUncaughtExceptionHandler?.((e,t)=>{setImmediate(()=>{throw ev.A.captureCrash(e),e})}),tS.Ay.appLoaded();let e=ti.A.app.getVersion(),t=ti.A.app.getBuildNumber(),n=ti.A.app.getModuleVersions();ev.A.setExtra({hostVersion:e,moduleVersions:n}),ev.A.setTags({nativeBuildNumber:t?.toString()??""});let i=Object.keys(n).filter(e=>null!=n[e]).map(e=>`${e}: ${n[e]}`).join(", ");new tb.A().log(`[NATIVE INFO] host ${e}, modules: ${i}, build: ${t}`),tS.Ay.pauseFrameEvictor(),tS.Ay.initializeExitHook(),tS.Ay.initializeWERHandler()}if((0,Uj.M)(window),__OVERLAY__)GN(()=>(0,U.jsx)(t$.W,{children:(0,U.jsx)(k5,{})}));else if(null!=window.require&&null==window.DiscordNative)GN(nE);else{if(document.addEventListener("scroll",e=>e.preventDefault()),eU.isPlatformEmbedded){window.onbeforeunload=()=>tS.Ay.beforeUnload(),tS.Ay.on("HELP_OPEN",()=>window.open(nh.A.getCommunityURL()));let e=new n4.J_(GI,()=>tS.Ay.purgeMemory());tS.Ay.on("MAIN_WINDOW_BLUR",()=>{e.delay(),tS.Ay.setFocused(!1),(0,UH.XC)(window,!1)}),tS.Ay.on("MAIN_WINDOW_FOCUS",()=>{e.cancel(),tS.Ay.setFocused(!0),(0,UH.XC)(window,!0)}),tS.Ay.on("MAIN_WINDOW_PATH",function(e,t,n){let i=null!=n?new URLSearchParams(n):null;Gy[t]?.(i)||(0,uV.pX)(t)}),tS.Ay.on("MAIN_WINDOW_HIDDEN",()=>{(0,UH.R)(window)})}Uv.initialize(),Uu.initialize(),({instance:null,init(){null==this.instance&&(this.instance=new Um)}}).init(),({init(){ez.h.subscribe("CONNECTION_OPEN",Uw),ez.h.subscribe("LOGOUT",Uw),ez.h.subscribe("STREAM_DELETE",Uw),ez.h.subscribe("RTC_CONNECTION_VIDEO",e=>{let{guildId:t,channelId:n,userId:i,streamId:r,context:s}=e;null==r||s!==il.x.STREAM||i!==eW.default.getId()||__OVERLAY__||(Uw(),l=r,UM(r,t,n,i))}),ez.h.subscribe("MEDIA_ENGINE_VIDEO_STATE_CHANGED",e=>{let{videoState:t}=e;Ub=t===eL.uPF.PAUSED})}}).init(),({init(){document.addEventListener("paste",e=>{(0,Gg.A)((0,Gm.BF)(e))||aI._.dispatchToLastSubscribed(eL.jej.GLOBAL_CLIPBOARD_PASTE,{event:e})})}}).init(),UI.initialize(),Uk.initialize(),UB.initialize(),Gp(),GN(()=>(0,U.jsx)(t$.W,{children:(0,U.jsx)(Uo,{})}))}}