Module 862917

884,762 characters · in no known chunk
Dependencies
Required by (1)
Lazily required by (0)none
Requires (1492)
5951215313732034106518058676981758476897807786488809588984298651008811023117791247014289145091659016961171591792818437195752001520742222122223122363248252563926137264302723227989280822908030076301083016930370305293079331300314083150231717317283288033006341883595636149376463776638405389103942339619396233993840876408994123741984422314247343105432034399045494457734578746225471674729447671478914868649381494314999952133532985350553516537885394354570556195605956562589236027061090613306258363238639956458564700651546516266834674807068870730713937185572265748337580476788768437713877468777297870179858805008055680703813698146682495827168310784483845408510985563861478722187404875498800188187906449092491242918689207792259924469347493688955619563595701965669746997808978939967799753100767101277102597102853104510105390105530106044106778107361109112109487110384111159111162111219111956112173112834113494113630113673113854114716115036115354115723115979116085116956117723119966121623121780121894123292123973124366127062128286131168131319131607131677132860133171134047134861135978136722137177138017138134138298139033139286140175140423141006141060141628141931142703143236143582143838144914146151147964148795148803148864150616150934151476151781152007152367152567153488153659154049154323155545155718156828157016157225157257157550157559159273159730163328164942164956165610166403166862167789168186172272173054173660173936174197174459174768175841176360176522176781177953179689179771181079181658182892183623183636183994184809184940184989185657186111187207187322189081189213189252189812190107191023191842192308192444193885194117194261194526196492197111197808199160200192200219201327202384204651204925205106207777207803208207208556208756209489209700209932210714211753212245212455214771214947214958215026216418216964217306218429218471219065219271222692222823224640224750225315226870227042228366231265231483231723232424232835234020234320234396234419235058235079235986237146237751240921241326241541243721245604246913246943247775251391252431252545253363254138257269258057260509261958264322265059266080267102268218268313268791268988271597271866272355272613272720272984274184274303274372274997275759276293278416279194279234279250279263279449279877280056282026283346283973284009285072285395285796286617287790287809289020289873289919290136290595290863291445291731291747292801293260293588296027297152297413298990299855302495302884304296306173306471306788307301308060308323308368308528309010309199309698309796310031310419312006312138312640312671313281313731313961314732315206315290315710315982316501317017317525318009318254319745320448320989321073321987323073323384323874325278328162328968329072329177329972331887332461332837333405334348334463334465334738335180337095337358337371337836338771338854339048339350339984340124340287340829341335342296343032344351345942346142346411347306347481349288349361349435350535350723351022351906352255353182353202353605353640353835354670355097355522358618359286360469360669361157362704362790363195364522365199366505366605366811366999367727369163369606371911372684373495373846374200375708375802376728377802378570379418379587379610379848380335380610381689381844382259383233384059384200384684386406386467387758390435390848391242392107393431394871394953395422395671395899396478396574397244398025398523398590398932399263400492401432401565401843402216403362403581403777404374404522405018405433405892406595406810406935408278409626410767411976413249413323414499414711416696416730417270418524420854421438421838422258422688422936422998425557426560426620427262427358427603428678428689429913430159430363430392430993432017433492434320436317437959438705440293440454440594440971440976441574442353442433443865444570445451445567446057446080446576446600446868447404447453450232450510451314451394451988452027453001453314454346454743456874457699458294458518459192459838460288460905461150461213462887463347464578464792466919468689469177469778470710471993472229473702473935474090474399474570475358475706475815475825477155477262477782478016478437480595480890480900481606481613485296485599485845485947486020486164487490488225488428488803488926488995490285492055492349492462492684495544497767498419498470498642499118499373499454499979500060501280502229503002503509503698504337505200505930506774506803507107507240507263508770509381509434509963510241511484512474513297514042515183515718517092517164517381518769519059519396520006521502521588522937523056524501526162526701528767528772529433529689530005530557530789531260531685531743532309532590532624532676532706532794532804533207533550534514534890535586536184536194536283537668538064539895539916540999541830542986543465543897544105546983548118548411549384549711549996550640551826552122554146554830555337555704556112556525558845559647559758559908560010561155562153562708563119565058565645565829566679567249567341567761568004569926572164573435573648573725573879574172574381574520575181576705577473578623578797579872580630581925582394584569584777585579586660586774587626587895588190588975591552594061595244595529595623597050597601597770599026601193601198601623602339602674602853603488604338605323606096606621607399607407607567608599608960609174609425609731610136610509612181613057614455615300615405615675616356617617618714619921621466621956622629622631623646624479625494625657625903626034626258626584626900627330627363627968628284628965629016631001632789633018635739636194636401636537636585637706638421638916639214639621639719639735640708641703642269642846643278643501646270646363646865648427650048650583650809651743652215652896653766654108655087655116657044659421661531662546663066663341663413663417664121665039665095665260666492666654667532668267668953669281670492670735671523672979673185674168674378674567675991676955678708681582681827682261682348682492683760684013684407685761686757687966688796688810689168689818690521692969693806695250695366695458695515695633696157696208696292696451697138697627697744698441700623702841702904704333704877705751707554707592707606707890708988709977710195710315710969711014711950712687713125713608714114714385715314715482715641716965717125717398717400717421717558718446720149721668722306723176723690723702724066725441725613725807726249726845727949728321729475730852731667731854732755734057734066734660735438736056736400736653737393738011738188738533738678740426741231741812741961742023742459742589742821743368744682744898746080748562750128750385750506750943751188751906752239752755753027753390754692755172757780758836760751760911761508761640761821761929763175763827765379765548765671766928767709768451768622768953769022769297769765770178770880771016772838773371773669773952774774775121775602776078776096776677777666778492778712780338780645780907780964781481781696782091782134782603783592783977784578785796785866787301788120788868789645789999790381790782791332792205792620793322793574793920793943794383795816796140796774797285798618799422800342800828801416802516802958803224803301803805804980806931806932807072807098807348808107808666808728811893812282812729812808812991813564814793815021815706818348820081820284821589821609821956822074823448823598824579825437825860826223826673827343830215830382831453831544832163833272834040834615834730834942834981835002835095835245835723836480836602836753837057837152837381839067841595843020844222844972845187845798847374848362848847849516851109851580851746851907852218853145853742854378855473855511855522855687857071857253858897859040859703860071860430860689861004861382861621862482862927863036863922865116866323866945868285869003869038869146870308870391870570871109871237871633872351873174873263873298874486874546874804875444877624877784878460878784879408879945880144880682881335881373881489881615881636885386885437885574885576887129887909888366888668890245891540892035892340892491892547892799892842894374894778897513898196898467899536899784900019900797901123902001904054905499905552907135908031908289909536911411912309912592913765915089916099916845917878918715919395919638920050920814921853921955922016922288923495924283924655924895924985926268926321927018927578927813928550929921933832933958935063935208935286935671936504936649937724938796939249939333939341939857940382941426942381942614942857943255943577943812944775944791945276945810945886947641948138948428949626950305951001952270952818953051953384953727953822954457956549956703957283957292957485958005958590959988960027960076960648960755960851961973962995963169963307964486965042966597966833966846966971967198967347967492967812969043969117969151970163970278970636970928972213973153973522973854975412975571975732975807976634976860977445977997978940980707981133982484983060983851985668986226987482988393989349989395989837990078990836992250993838994277994314994500996682997146997571997630998218998445998694998740998921999751
Source Raw
function(e,t,n){"use strict";let i,r,s,a,o,l,u;var c,d,_,f,h,p,E,m,g,A,I,T,S,N,y,C,v,O,R,b,D,L,w,M,P,x,U={};n.r(U),n.d(U,{AIcon:()=>dd,AccessibilityIcon:()=>dr.c,AchievementsIcon:()=>ds.K,ActivitiesIcon:()=>du,ActivitiesPlusIcon:()=>dc.d,AirplayIcon:()=>d_,AnalyticsIcon:()=>df.U,AngleBracketsIcon:()=>dh.G,AnnouncementsChatIcon:()=>dp,AnnouncementsIcon:()=>dE.k,AnnouncementsLockIcon:()=>dm.X,AnnouncementsSpoilerIcon:()=>dg.u,AnnouncementsWarningIcon:()=>dA.M,AppleBrandLightIcon:()=>dI,AppleNeutralIcon:()=>dT.z,AppsIcon:()=>aG.k,ArrowAngleDownLeftIcon:()=>dS,ArrowAngleLeftDownIcon:()=>dN,ArrowAngleLeftUpIcon:()=>dy.W,ArrowAngleRightDownIcon:()=>dC,ArrowAngleRightUpIcon:()=>dv.t,ArrowAngleUpLeftIcon:()=>dO,ArrowLargeDownIcon:()=>dR,ArrowLargeLeftIcon:()=>db.Z,ArrowLargeRightIcon:()=>dD.K,ArrowLargeUpIcon:()=>dL.D,ArrowSmallDownIcon:()=>dM.M,ArrowSmallLeftIcon:()=>r0.r,ArrowSmallRightIcon:()=>r1.E,ArrowSmallUpIcon:()=>dP.z,ArrowsLeftRightIcon:()=>dw,ArrowsUpDownIcon:()=>dx.J,AsteriskIcon:()=>dU,AtIcon:()=>dk.X,AttachmentIcon:()=>dG.P,BIcon:()=>dz,BackspaceIcon:()=>dF,BadgeIcon:()=>dV.b,BankIcon:()=>dB.M,BattlenetBrandIcon:()=>dH,BattlenetNeutralIcon:()=>dj.a,BeakerIcon:()=>dY.c,BellIcon:()=>sS.X,BellSlashIcon:()=>dW.a,BellZIcon:()=>dK.R,BicycleIcon:()=>d$.h,BillIcon:()=>dq.d,BlueskyBrandIcon:()=>dZ,BlueskyNeutralIcon:()=>dX.a,BluetoothIcon:()=>dQ,BlurBackgroundIcon:()=>dJ.f,BoldIcon:()=>d0.$,BookCheckIcon:()=>d1.B,BookmarkIcon:()=>d2.c,BookmarkOutlineIcon:()=>d3.c,BoostGemIcon:()=>d6._,BoostGemOutlineIcon:()=>d4.Q,BoostGemSlashIcon:()=>d5.x,BoostTier1Icon:()=>d7,BoostTier1SimpleIcon:()=>d8.E,BoostTier2Icon:()=>d9.d,BoostTier2SimpleIcon:()=>_e.v,BoostTier3Icon:()=>_t._,BoostTier3SimpleIcon:()=>_n.q,BrowserCheckeredIcon:()=>_i.O,BrowserIcon:()=>_r.W,BrowserLinkIcon:()=>_s,BrowserPlusIcon:()=>_a.q,BrowserQuestionMarkIcon:()=>_o,BugIcon:()=>ss.Q,BurgerIcon:()=>_l.L,CalendarIcon:()=>_u.C,CalendarMinusIcon:()=>_c,CalendarPlusIcon:()=>_d.U,CalendarRetryIcon:()=>__,CalendarXIcon:()=>_f,CameraIcon:()=>_h.x,CameraSwapIcon:()=>_p,CandyIcon:()=>_E,CarIcon:()=>_m.A,ChannelListIcon:()=>_g.$,ChannelListMagnifyingGlassIcon:()=>_A.k,ChannelListMinusIcon:()=>_I,ChannelListPlusIcon:()=>_T.f,ChannelListRetryIcon:()=>_S,ChannelNotificationIcon:()=>_N,ChannelsFollowedIcon:()=>_y._,ChatArrowRightIcon:()=>_C.t,ChatCheckIcon:()=>_v.M,ChatDotsIcon:()=>_O,ChatEyeIcon:()=>_R,ChatIcon:()=>uJ.o,ChatMarkUnreadIcon:()=>_b.Q,ChatMinusIcon:()=>_D,ChatPlusIcon:()=>_L.g,ChatRetryIcon:()=>_w,ChatShieldIcon:()=>_M,ChatSlowModeIcon:()=>_P,ChatSmileIcon:()=>_x.S,ChatSpeakIcon:()=>_U._,ChatWarningIcon:()=>_k.E,ChatXIcon:()=>_G._,CheckmarkLargeBoldIcon:()=>_F.r,CheckmarkLargeIcon:()=>cg.A,CheckmarkSmallBoldIcon:()=>_V.B,CheckmarkSmallIcon:()=>_B.U,ChevronLargeDownIcon:()=>_H.g,ChevronLargeLeftIcon:()=>_j.f,ChevronLargeRightIcon:()=>_Y.u,ChevronLargeUpIcon:()=>_W.j,ChevronSmallDownIcon:()=>u$.a,ChevronSmallLeftIcon:()=>_K.n,ChevronSmallRightIcon:()=>_z._,ChevronSmallUpIcon:()=>uz.t,CircleCheckIcon:()=>_$.y,CircleErrorIcon:()=>_q.E,CircleInformationIcon:()=>_Z.m,CircleMinusIcon:()=>_X,CirclePlayIcon:()=>_Q.S,CirclePlusIcon:()=>_J.U,CircleQuestionIcon:()=>se.c,CircleXIcon:()=>_0.a,ClapperboardIcon:()=>_1,ClipboardCheckIcon:()=>_2.O,ClipboardListIcon:()=>_3.s,ClipsGalleryIcon:()=>_6.T,ClipsIcon:()=>rP.x,ClockIcon:()=>_4.O,ClockWarningIcon:()=>_5.g,ClockXIcon:()=>_7.O,ClosedCaptionsIcon:()=>_8,ClosedCaptionsOutlineIcon:()=>_9,CloudDownloadIcon:()=>fe,CloudIcon:()=>oj.h,ClydeIcon:()=>sy.p,CollapseListIcon:()=>ft,CompassIcon:()=>sv.Q,ConnectionAverageIcon:()=>fn.j,ConnectionBadIcon:()=>fi.R,ConnectionFineIcon:()=>fr.Q,ConnectionUnknownIcon:()=>fs.e,ContactsIcon:()=>fa,CopyIcon:()=>fo.T,CreditCardIcon:()=>fl.B,CropIcon:()=>fu,CrownIcon:()=>fc.p,CrunchyrollBrandLightIcon:()=>fd,CrunchyrollNeutralIcon:()=>f_.k,DenyIcon:()=>ff.K,DiceIcon:()=>fh.j,DoorEnterIcon:()=>fp.I,DoorExitIcon:()=>aa.o,DoubleCheckmarkIcon:()=>fE.i,DoubleChevronSmallLeftIcon:()=>fm,DoubleChevronSmallRightIcon:()=>fg,DownloadIcon:()=>s_.s,DpadIcon:()=>fA.L,DragIcon:()=>fI.W,DyingRoseIcon:()=>fT.e,EducationIcon:()=>fS,EmbedIcon:()=>fN.J,EmoIcon:()=>fy,EnvelopeIcon:()=>c9.u,EpicGamesBrandDarkIcon:()=>fC,EpicGamesNeutralIcon:()=>fv.r,ExpandGifIcon:()=>fO,ExperimentalCheckpointIcon:()=>fR,ExperimentalConfettiIcon:()=>fb._,ExperimentalCreateEmojiIcon:()=>fD,ExperimentalGameControllerLinkIcon:()=>oH.A,ExperimentalLootboxIcon:()=>fL,ExperimentalMicrophoneSparkleIcon:()=>fw,ExperimentalMicrophoneSparkleMutedIcon:()=>fM,ExperimentalPineappleHouseIcon:()=>fP,ExperimentalSnowflakeIcon:()=>fx,EyeDropperIcon:()=>fU.d,EyeIcon:()=>cI.b,EyePlusIcon:()=>fk.v,EyeSlashIcon:()=>fG.G,FacebookNeutralIcon:()=>fF.Z,FileDenyIcon:()=>fV.u,FileIcon:()=>fB.o,FileUpIcon:()=>fH.H,FileWarningIcon:()=>fj.m,FiltersHorizontalIcon:()=>fY.R,FireIcon:()=>fW.Y,FlagIcon:()=>fK.i,FlagMinusIcon:()=>fz,FlagPlusIcon:()=>f$,FlagRetryIcon:()=>fq,FlashIcon:()=>sC.g,FlipHorizontalIcon:()=>fZ.v,FlipVerticalIcon:()=>fX,FolderIcon:()=>fQ.s,FolderPlusIcon:()=>fJ.Y,FoodIcon:()=>f0.i,ForumIcon:()=>f1.b,ForumLockIcon:()=>f2.Q,ForumSpoilerIcon:()=>f3.H,ForumWarningIcon:()=>f6.f,FriendsIcon:()=>sb.$,FullscreenEnterIcon:()=>f4.T,FullscreenExitIcon:()=>f5.z,GameControllerIcon:()=>oY._,GifIcon:()=>f7.O,GiftIcon:()=>u3.o,GlobeEarthIcon:()=>f8.L,GridHorizontalIcon:()=>f9,GridSquareIcon:()=>he,GridVerticalIcon:()=>ht,GroupArrowDownIcon:()=>hn.U,GroupArrowRightIcon:()=>hi.M,GroupIcon:()=>sD.n,GroupMinusIcon:()=>hr,GroupPlusIcon:()=>hs.D,GroupRetryIcon:()=>ha,HammerIcon:()=>ho.w,HammerMinusIcon:()=>hl,HammerPlusIcon:()=>hu,HammerRetryIcon:()=>hc,HammerXIcon:()=>hd,HandRequestDenyIcon:()=>h_._,HandRequestSpeakIcon:()=>hf.E,HandRequestSpeakListIcon:()=>hh.c,HashmarkIcon:()=>hp,HdIcon:()=>hE,HeadphonesDenyIcon:()=>hm.T,HeadphonesIcon:()=>hg.L,HeadphonesSlashIcon:()=>hA.c,HeartIcon:()=>hI.C,HeartOutlineIcon:()=>hT.y,HomeIcon:()=>hS.f,HomeSlashIcon:()=>hN,HourglassIcon:()=>hy.Q,HubIcon:()=>hC.P,IdIcon:()=>hv.L,ImageBrokenIcon:()=>hO,ImageFileIcon:()=>hR.D,ImageFileUpIcon:()=>hb.k,ImageIcon:()=>hD.x,ImageLockIcon:()=>hL.c,ImagePlusIcon:()=>hw.X,ImageSparkleIcon:()=>hP.d,ImageTextIcon:()=>hx,ImageWarningIcon:()=>hU.D,ImagesIcon:()=>hM.s,InboxIcon:()=>sY.K,InstagramNeutralIcon:()=>hk.L,InventoryIcon:()=>c8._,ItalicIcon:()=>hG.y,JoystickIcon:()=>hF._,KeyIcon:()=>hB.R,KeyboardIcon:()=>hV.F,LanguageIcon:()=>hH.U,LaptopPhoneIcon:()=>hj.W,LeagueOfLegendsBrandIcon:()=>hY,LettersIcon:()=>hW,LightbulbIcon:()=>hK.x,LinkExternalMediumIcon:()=>hz.W,LinkExternalSmallIcon:()=>sa.I,LinkIcon:()=>h$.q,LinkPlusIcon:()=>hq,LinkshellIcon:()=>hZ,ListBulletsIcon:()=>hX.j,ListNumberedIcon:()=>hQ,ListViewIcon:()=>hJ.p,LocationIcon:()=>h0.B,LockIcon:()=>h1.X,LockUnlockedIcon:()=>h2.w,MagicDoorIcon:()=>h3.f,MagicWandIcon:()=>h6.D,MagnifyingGlassIcon:()=>h4.$,MagnifyingGlassMinusIcon:()=>h5.V,MagnifyingGlassPlusIcon:()=>h7.r,ManaIcon:()=>h8,MastodonBrandIcon:()=>h9,MastodonNeutralIcon:()=>pe,MaximizeIcon:()=>pt._,MedalIcon:()=>pn,MenuIcon:()=>pi.Z,MicrophoneArrowRightIcon:()=>pr.L,MicrophoneDenyIcon:()=>ps.O,MicrophoneIcon:()=>pa.c,MicrophoneSlashIcon:()=>po.z,MicrophoneWarningIcon:()=>pl,MinecraftBrandIcon:()=>pu,MinecraftNeutralIcon:()=>pc.m,MinimizeIcon:()=>as.g,MinusIcon:()=>pd.Q,MobilePhoneControllerIcon:()=>p_.q,MobilePhoneIcon:()=>pf.u,MobilePhonePlusIcon:()=>ph,MobilePhoneSettingsIcon:()=>pp,MobilePhoneShareIcon:()=>pE,MobilePhoneSpeakerIcon:()=>pm,MobilePhoneVideoIcon:()=>pg,MobilePhoneXIcon:()=>pA,ModerationIcon:()=>pI.q,MoreHorizontalIcon:()=>pT.j,MoreVerticalIcon:()=>u0.F,MusicIcon:()=>pS.T,MusicSlashIcon:()=>pN.C,NatureIcon:()=>py.p,NearbyScanIcon:()=>pC,NewUserIcon:()=>pv.N,NewUserSimpleIcon:()=>pO.P,NintendoSwitchNeutralIcon:()=>pR.M,NitroWheelIcon:()=>sO.t,ObjectIcon:()=>pb.D,OrbsIcon:()=>pD.C,PaintPaletteIcon:()=>pF.B,PaintbrushThickIcon:()=>pL.N,PaintbrushThickMinusIcon:()=>pw,PaintbrushThickPlusIcon:()=>pM,PaintbrushThickRetryIcon:()=>pP,PaintbrushThinIcon:()=>px.V,PaintbrushThinMinusIcon:()=>pU,PaintbrushThinPlusIcon:()=>pk,PaintbrushThinRetryIcon:()=>pG,PaperClockIcon:()=>pV,PaperIcon:()=>pB.u,PaperLockIcon:()=>pH,PaperPlusIcon:()=>pj.i,PauseIcon:()=>pY.E,PawPrintIcon:()=>pW.N,PaymentTypeAmericanExpressIcon:()=>pK,PaymentTypeApplePayIcon:()=>pz,PaymentTypeAthIcon:()=>p$,PaymentTypeBancontactIcon:()=>pq,PaymentTypeBcCardIcon:()=>pZ,PaymentTypeBoletoIcon:()=>pX,PaymentTypeCartesBancairesIcon:()=>pQ,PaymentTypeCashAppIcon:()=>pJ,PaymentTypeDinaCardIcon:()=>p0,PaymentTypeDinersClubIcon:()=>p1,PaymentTypeDiscoverIcon:()=>p2,PaymentTypeEloCardBrIcon:()=>p3,PaymentTypeEpsUberweisungIcon:()=>p6,PaymentTypeGCashIcon:()=>p4,PaymentTypeGiftCardIcon:()=>p5._,PaymentTypeGiropayIcon:()=>p7,PaymentTypeGoPayIcon:()=>p9,PaymentTypeGooglePayIcon:()=>p8,PaymentTypeGrabPayIcon:()=>Ee,PaymentTypeHipercardIcon:()=>Et,PaymentTypeIDealWeroIcon:()=>En,PaymentTypeInteracIcon:()=>Ei,PaymentTypeJcbIcon:()=>Er,PaymentTypeKakaoPayIcon:()=>Es,PaymentTypeKlarnaIcon:()=>Ea,PaymentTypeKookminBankIcon:()=>Eo,PaymentTypeMaestroIcon:()=>El,PaymentTypeMastercardIcon:()=>Eu,PaymentTypeMoMoWalletIcon:()=>Ec,PaymentTypeMultibancoIcon:()=>Ed,PaymentTypePayPalIcon:()=>E_,PaymentTypePaysafeCardIcon:()=>Ef,PaymentTypePrzelewy24Icon:()=>Eh,PaymentTypeUnionPayIcon:()=>Ep,PaymentTypeVenmoIcon:()=>EE,PaymentTypeVisaIcon:()=>Em,PencilIcon:()=>Eg.R,PencilSparkleIcon:()=>EA.Z,PhoneCallIcon:()=>EI._,PhoneHangUpIcon:()=>ET.z,PhoneIcon:()=>ES.E,PiggyBankIcon:()=>EN.m,PinIcon:()=>Ey.t,PinUprightIcon:()=>EC.q,PinUprightSlashIcon:()=>Ev.h,PlayIcon:()=>Eb.u,PlaybackOffIcon:()=>EO,PlaybackOnIcon:()=>ER,PlaystationNeutralIcon:()=>ED.X,PlusLargeIcon:()=>EL.p,PlusMediumIcon:()=>Ew.T,PlusSmallIcon:()=>EM.j,PollsIcon:()=>EP.Y,PotionIcon:()=>Ex.H,PrivacyAndSafetyIcon:()=>EU,PuzzlePieceIcon:()=>Ek,PuzzlePieceMinusIcon:()=>EG,PuzzlePiecePlusIcon:()=>EF,PuzzlePieceRetryIcon:()=>EV,QrCodeIcon:()=>EB.y,QuestsIcon:()=>sL.r,QuoteIcon:()=>cT.c,ReactionIcon:()=>EH.n,ReactionMinusIcon:()=>Ej.t,ReactionPlusIcon:()=>EY,ReceiptIcon:()=>EW.K,RecordPlayerIcon:()=>EK.Y,RedditNeutralIcon:()=>Ez.T,RedoIcon:()=>E$,RefreshIcon:()=>Eq.f,RemixIcon:()=>EZ,RemoveReactionIcon:()=>EX.F,RetryIcon:()=>EQ.m,RibbonIcon:()=>EJ.q,RiotGamesBrandIcon:()=>E0,RiotGamesNeutralIcon:()=>E1.A,RobloxBrandDarkIcon:()=>E2,RobloxNeutralIcon:()=>E3.H,RobotIcon:()=>E6.C,RotateIcon:()=>E4.H,ScienceIcon:()=>E5.g,ScreenArrowIcon:()=>E7.F,ScreenIcon:()=>E8.k,ScreenSlashIcon:()=>E9.n,ScreenStreamIcon:()=>me.o,ScreenSystemRequirementsIcon:()=>mt.v,ScreenXIcon:()=>mn.G,SendMessageIcon:()=>mi.l,ServerGridIcon:()=>mr.B,ServerIcon:()=>ak.R,SettingsArrowUpIcon:()=>ms,SettingsCircleIcon:()=>ma,SettingsIcon:()=>mo.Z,SettingsInfoIcon:()=>ml.H,SettingsPlusIcon:()=>mu,ShareIcon:()=>mc.l,ShieldAtIcon:()=>md.E,ShieldIcon:()=>m_.l,ShieldLockIcon:()=>mf.m,ShieldUserIcon:()=>mh.i,ShopCircleIcon:()=>mp,ShopIcon:()=>sR.U,ShopMinusIcon:()=>mE,ShopPlusIcon:()=>mm,ShopSparkleIcon:()=>mg.U,SignPostIcon:()=>mA.Z,SkipBackwardIcon:()=>mI.q,SkipForwardIcon:()=>mT.i,SkullIcon:()=>mS.V,SlashBoxIcon:()=>mN.k,SlashIcon:()=>my.F,SlashMinusIcon:()=>mC,SlashPlusIcon:()=>mv,SlashRetryIcon:()=>mO,SoundboardIcon:()=>mR.J,SoundboardSlashIcon:()=>mb,SparklesIcon:()=>mD.B,SpeedometerIcon:()=>mL.$,SpoilerIcon:()=>mw,SpotifyBrandIcon:()=>mM,SpotifyNeutralIcon:()=>mP.L,StaffBadgeIcon:()=>mx.V,StageIcon:()=>mU.q,StageListIcon:()=>mk,StageLockIcon:()=>mG.D,StageMinusIcon:()=>mF,StageModeratorIcon:()=>mV,StagePlusIcon:()=>mB,StageRetryIcon:()=>mH,StageXIcon:()=>mj,StampIcon:()=>mY.L,StampXIcon:()=>mW.$,StarIcon:()=>sN.G,StarOutlineIcon:()=>mK.y,StarShootingIcon:()=>mz.f,SteamBrandDarkIcon:()=>m$,SteamBrandLightIcon:()=>mq,SteamNeutralIcon:()=>mZ.N,StickerDeadIcon:()=>mX,StickerIcon:()=>mQ.t,StickerMinusIcon:()=>mJ,StickerPlusIcon:()=>m0,StickerRetryIcon:()=>m1,StickerSadIcon:()=>m2.d,StickerSmallIcon:()=>m3.s,StickerWink1Icon:()=>m6,StickerWink2Icon:()=>m4,StopIcon:()=>m5.w,StrikethroughIcon:()=>m7.t,SubscriptionIcon:()=>m8.L,SuperReactionIcon:()=>m9.i,TagIcon:()=>ge.g,TagsIcon:()=>gt,TeacupIcon:()=>gn.C,TextControllerIcon:()=>gi.x,TextIcon:()=>gr.N,TextLockIcon:()=>gs.I,TextSpoilerIcon:()=>ga.n,TextUserIcon:()=>go,TextWarningIcon:()=>gl.r,ThemeDarkIcon:()=>gu.Z,ThemeGrayIcon:()=>gc,ThemeLightIcon:()=>gd.F,ThemeMidnightIcon:()=>g_.L,ThreadIcon:()=>gf.y,ThreadLockIcon:()=>gh.t,ThreadMinusIcon:()=>gp,ThreadPlusIcon:()=>gE.G,ThreadRetryIcon:()=>gm,ThreadWarningIcon:()=>gg.m,ThumbsDownIcon:()=>gA.d,ThumbsUpIcon:()=>gI.G,TicketIcon:()=>gT.q,TiktokNeutralIcon:()=>gS.X,TimerIcon:()=>gN.x,TopicsIcon:()=>gy.K,TrainIcon:()=>gC.E,TranscriptIcon:()=>gv,TranscriptOutlineIcon:()=>gO,TrashIcon:()=>gR.u,TreehouseIcon:()=>gb.c,TrophyIcon:()=>gD.O,TvIcon:()=>gL.U,TwitchNeutralIcon:()=>gw.a,TwitterNeutralIcon:()=>gM,UnderlineIcon:()=>gP,UndoIcon:()=>gx.e,UnknownGameIcon:()=>gU._,UnsendIcon:()=>gk.n,UploadIcon:()=>gG.J,UserArrowDiagonalBottomRightIcon:()=>gF,UserCheckIcon:()=>gV.V,UserCircleIcon:()=>gB.r,UserCircleStatusIcon:()=>gH.n,UserClockIcon:()=>gj.l,UserIcon:()=>gY.n,UserMinusIcon:()=>gW.N,UserPlatformIcon:()=>gK._,UserPlayIcon:()=>gz.J,UserPlusIcon:()=>g$.R,UserRetryIcon:()=>gq,UserSquareIcon:()=>gZ.c,UserStatusIcon:()=>gX,UserWarningIcon:()=>gQ,VeinIcon:()=>gJ.E,VideoIcon:()=>g0.n,VideoLockIcon:()=>g1.k,VideoSlashIcon:()=>g2.O,ViewReactionIcon:()=>g3.S,VoiceBluetoothIcon:()=>g6,VoiceLockIcon:()=>g4.t,VoiceLowIcon:()=>g5.S,VoiceNormalIcon:()=>oz.H,VoiceNormalSpoilerIcon:()=>g7.P,VoiceWarningIcon:()=>g8.O,VoiceXIcon:()=>g9._,VrHeadsetIcon:()=>Ae.G,WalletIcon:()=>At,WarningIcon:()=>An.i,WaveformIcon:()=>Ai,WaveformSlashIcon:()=>Ar,WebhookIcon:()=>As.X,WebhookPlusIcon:()=>Aa,WidgetsIcon:()=>Ao,WidgetsMinusIcon:()=>Al,WidgetsPlusIcon:()=>Au.X,WidgetsRetryIcon:()=>Ac,WindowLaunchIcon:()=>Ad.t,WindowReturnIcon:()=>A_._,WindowTopIcon:()=>Af,WindowTopOutlineIcon:()=>Ah.l,WrenchIcon:()=>rv.P,XLargeBoldIcon:()=>AE.U,XLargeIcon:()=>Am.d,XNeutralIcon:()=>Ag.p,XSmallBoldIcon:()=>AA.a,XSmallIcon:()=>cA.P,XXsmallBoldIcon:()=>AI,XXsmallIcon:()=>AT,XboxNeutralIcon:()=>Ap.Y,YoutubeNeutralIcon:()=>AS.C}),n(323874),n(14289),n(35956),n(142703);var k=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:{},z=new WeakMap,$=/auto|scroll/,q=/^tb|vertical/,Z=/msie|trident/i.test(K.navigator&&K.navigator.userAgent),X=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),z.has(e)&&!t)return z.get(e);if(j(e))return z.set(e,J),J;var n=getComputedStyle(e),i=H(e)&&e.ownerSVGElement&&e.getBBox(),r=!Z&&"border-box"===n.boxSizing,s=q.test(n.writingMode||""),a=!i&&$.test(n.overflowY||""),o=!i&&$.test(n.overflowX||""),l=i?0:X(n.paddingTop),u=i?0:X(n.paddingRight),c=i?0:X(n.paddingBottom),d=i?0:X(n.paddingLeft),_=i?0:X(n.borderTopWidth),f=i?0:X(n.borderRightWidth),h=i?0:X(n.borderBottomWidth),p=i?0:X(n.borderLeftWidth),E=d+u,m=l+c,g=p+f,A=_+h,I=o?e.offsetHeight-A-e.clientHeight:0,T=a?e.offsetWidth-g-e.clientWidth:0,S=i?i.width:X(n.width)-(r?E+g:0)-T,N=i?i.height:X(n.height)-(r?m+A:0)-I,y=S+E+T+g,C=N+m+I+A,v=Object.freeze({devicePixelContentBoxSize:Q(Math.round(S*devicePixelRatio),Math.round(N*devicePixelRatio),s),borderBoxSize:Q(y,C,s),contentBoxSize:Q(S,N,s),contentRect:new B(d,l,S,N)});return z.set(e,v),v},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"],ef=function(e){return void 0===e&&(e=0),Date.now()+e},eh=!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),!eh){eh=!0;var n=ef(e);eu(function(){var i=!1;try{i=ea()}finally{if(eh=!1,e=n-ef(),!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 eN=n(214958),ey=n.n(eN);window.platform=ey(),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 eC=n(38405);n(618714),n(179689),n(321073),n(333405);var ev=n(636537),eO=n(562708),eR=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),eU=n(209489),ek=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,ev.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,ev.TP)()+e.url,"Authorization"in e.header||"authorization"in e.header||e.set("Authorization",t.getToken()),n=(0,eR.Vc)(),l=(0,eO.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,eO.extendSuperProperties)(u);let _=a.getSuperPropertiesBase64();null!=_&&e.set("X-Super-Properties",_);let f=t.getFingerprint();null!=f&&""!==f&&e.set("X-Fingerprint",f);let h=t.getInstallationForTracking();if(null!=h&&""!==h&&e.set("X-Installation-ID",h),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)),eC.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("17094"),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,ev.Cu)(async e=>{eD.z8("Network",`Request to ${e} failed, will retry.`),eU.A.isOnline()||(await eU.A.awaitOnline(),eD.z8("Network",`Network detected online, retrying ${e}`))});var eW=n(495544),eK=n(736056),ez=n(167789),e$=n(228366);(0,eO.analyticsTrackingStoreMaker)({dispatcher:e$.h,actionHandler:{CONNECTION_OPEN:e=>eO.AnalyticsActionHandlers.handleConnectionOpen(e),OVERLAY_INITIALIZE:e=>eO.AnalyticsActionHandlers.handleConnectionOpen(e),CURRENT_USER_UPDATE:e=>eO.AnalyticsActionHandlers.handleConnectionOpen(e),CONNECTION_CLOSED:()=>eO.AnalyticsActionHandlers.handleConnectionClosed(),FINGERPRINT:()=>eO.AnalyticsActionHandlers.handleFingerprint(),TRACK:e=>eO.AnalyticsActionHandlers.handleTrack(e),SET_ANALYTICS_TOKEN:e=>eO.AnalyticsActionHandlers.handleSetAnalyticsToken(e)},TRACKING_URL:eL.Rsh.TRACK,waitFor:[eW.default],getFingerprint:eW.default.getFingerprint,getSessionId:()=>(0,eR.Ht)().then(e=>({sessionId:e?.uuid})),getLaunchSignature:()=>ew.launchSignature,scheduleWhenIdle:ez.O});var eq=n(247775),eZ=n(143236),eX=((d=eX||{}).VERTICAL="vertical",d.HORIZONTAL="horizontal",d);let eQ={open:!1,orientation:null};class eJ extends eZ.EventEmitter{constructor(){super(),setInterval(()=>this.check(),500)}get orientations(){return Object.values(eX)}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)"),tf=window.matchMedia("(prefers-color-scheme: light)"),th=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(235058),tT=n(287809),tS=n(19575),tN=n(77138);let ty=window.DiscordNative,tC=`${eL.HAw.APP_NATIVE_CRASH}Storage`;function tv(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 tO(){var e,t;let n,i;if(__OVERLAY__)return;let r=ty?.processUtils?.getLastCrash;if((0,ek.isDesktop)()&&tS.Ay.on("CRASH_REPORTER_NEW_CRASH",tv),null==r)return void console.log("AppCrashedFatalReport: getLastCrash not supported.");let s=await r(),{didCrashReporterSeeCrash:a,didCrashOrUncleanExit:o}=(e=tA.w.get(tC,{}),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(tC,{lastId:s?.id}),o&&setTimeout(async()=>await tR(),1e4)}async function tR(){if(tT.default.getCurrentUser()?.isStaff())try{await tI.Ay.getMediaEngine().writeAudioDebugState(),await (0,tN.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),tU=n(157016),tk=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=tU.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=tk.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)}),tk.pd.didEmit()}};e$.h.register("LibDiscoreDispatcherBridge",Object.fromEntries(i.map(e=>[e,r])),()=>{},e$.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),eC.A.captureException(n,{extra:{actionType:t,hasAuthoritativeStore:i},tags:{source:"libdiscore",errorKind:"fatal_dispatch"}}),i)throw(0,tk.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),eC.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,tk.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,k.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,k.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: 541270, Version Hash: 55fe94f3d0ca449c3c407bfbf200806e12400741`),eC.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_),tf.addListener(this.handlePrefersColorSchemeLightChanged),this.handlePrefersColorSchemeLightChanged(tf),tp.addListener(this.handlePrefersMoreContrastChanged),this.handlePrefersMoreContrastChanged(tp),tE.addListener(this.handlePrefersForcedColorsChanged),this.handlePrefersForcedColorsChanged(tE),th.addListener(this.handleInvertColorsChanged),this.handleInvertColorsChanged(th),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(),tO();var tY=n(507240),tW=n(284009),tK=n.n(tW),tz=n(30169),t$=n(481613),tq=n.n(t$),tZ=n(422998),tX=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,k.jsx)("svg",{...(0,ne.A)(s),width:t,height:n,viewBox:"0 0 12 12",children:(0,k.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,k.jsx)("svg",{...(0,ne.A)(s),width:t,height:n,viewBox:"0 0 12 12",children:(0,k.jsxs)("g",{fill:i,className:r,fillRule:"evenodd",children:[(0,k.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,k.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,k.jsx)("svg",{...(0,ne.A)(s),width:t,height:n,viewBox:"0 0 12 12",children:(0,k.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,ek.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,k.jsx)(t3.D,{className:no.d1,onClick:()=>tS.Ay.close(n),"aria-label":na.intl.string(na.t.ZdNUj2),tabIndex:-1,children:(0,k.jsx)(t9.A,{})}),a=(0,k.jsx)(t3.D,{className:no.T0,onClick:e=>nl(n,e),"aria-label":na.intl.string(na.t.G1u0hK),tabIndex:-1,children:(0,k.jsx)(nn.A,{})}),o=(0,k.jsx)(t3.D,{className:no.T0,onClick:()=>tS.Ay.minimize(n),"aria-label":na.intl.string(na.t.CxOC4U),tabIndex:-1,children:(0,k.jsx)(nr.A,{})}),l=(0,k.jsxs)(k.Fragment,{children:[s,a,o]});return(0,k.jsx)(t6.N,{theme:i,children:e=>(0,k.jsxs)("div",{className:t2()(no._B,e,{[no.N_]:!r}),children:[(0,k.jsx)("div",{className:no.X1,children:(0,k.jsx)(t8.A,{})}),t,l]})})},nc=e=>{let{focused:t,windowKey:n,frame:i,themeOverride:r,hasOpenLayer:s,children:a}=e;return(0,k.jsx)(t6.N,{theme:r,children:e=>(0,k.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,k.jsxs)("div",{className:no.lY,children:[(0,k.jsx)(t3.D,{className:no.gV,onClick:()=>tS.Ay.close(n),"aria-label":na.intl.string(na.t.ZdNUj2),tabIndex:-1,children:(0,k.jsx)(nt,{color:"#4c0000"})}),(0,k.jsx)(t3.D,{className:no.wv,onClick:()=>tS.Ay.minimize(n),"aria-label":na.intl.string(na.t.CxOC4U),tabIndex:-1,children:(0,k.jsx)(ns,{color:"#975500"})}),(0,k.jsx)(t3.D,{className:no.KH,onClick:e=>nl(n,e),"aria-label":na.intl.string(na.t["2nM3Pk"]),tabIndex:-1,children:(0,k.jsx)(ni,{color:"#006500"})})]}),i?(0,k.jsx)("div",{className:no.Th,children:(0,k.jsx)(t8.A,{color:"#ffffff"})}):null]})})};var nd=n(531685),n_=n(690521),nf=n(975571),nh=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 ek.PlatformTypes.WINDOWS:return(0,k.jsx)(nu,{windowKey:i,themeOverride:s,hasOpenLayer:l});case ek.PlatformTypes.OSX:return(0,k.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()===ek.PlatformTypes.WINDOWS?nf.A.getArticleURL(eL.MVz.CORRUPT_INSTALLATION):eL.X7G.DOWNLOAD)};getPlatform(){let e=tq().os?.family;return null!=e&&/^win/i.test(e)?ek.PlatformTypes.WINDOWS:null!=e&&/darwin|os x/i.test(e)?ek.PlatformTypes.OSX:ek.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,k.jsx)("div",{children:(0,k.jsxs)("p",{children:[na.intl.string(na.t["4tRjHC"])," ",(0,k.jsx)(t0.A,{src:n_.Ay.getURL(tX.A.convert.fromCodePoint("1f44c")),emojiName:":ok_hand:",animated:!1})]})});return(0,k.jsxs)(e8.Fragment,{children:[(0,k.jsx)(tZ.mg,{children:(0,k.jsx)("html",{className:(0,tQ.m)(eL.NJ8.DARK)})}),(0,k.jsx)(np,{type:this.getPlatform()}),(0,k.jsx)(nh.A,{title:na.intl.string(na.t["3h+n+8"]),note:e,action:(0,k.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,k.jsx)(ng.rd,{to:eL.BVt.APP}):t?(0,k.jsx)(ng.rd,{to:eL.BVt.DEFAULT_LOGGED_OUT}):null});var nN=n(492462),ny=n(156828),nC=n(192308),nv=n(830215),nO=n(258057),nR=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 nU=n(854378),nk=n(370227);let nG=n(843020);function nF(e){let{children:t}=e,n=(0,e6.bG)([nM.A],()=>nM.A.getHighestState());return(0,ek.isDesktop)()||n!==eL.fAW.OPENING?(0,ek.isDesktop)()||n!==eL.fAW.OPEN?t:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("img",{className:nk.Lq,src:nG,alt:""}),(0,k.jsx)("div",{className:nk.kL,children:(0,k.jsxs)(nU.Ay,{children:[(0,k.jsx)(nU.hE,{className:nk.Ns,children:na.intl.string(na.t.csrAMJ)}),(0,k.jsx)(nU.tK,{children:na.intl.string(na.t.ghBJz9)})]})})]}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("img",{className:nk.Lq,src:nG,alt:""}),(0,k.jsx)("div",{className:nk.kL,children:(0,k.jsxs)(nU.Ay,{children:[(0,k.jsx)(nU.hE,{children:na.intl.string(na.t["Z+hCVU"])}),(0,k.jsx)(nU.CK,{})]})})]})}function nV(e){function t(t){return(0,k.jsx)(nF,{children:(0,k.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),nz=n(36149),n$=n(381689),nq=n(260509),nZ=n(309010),nX=n(967198),nQ=n(323073),nJ=n(329972),n0=n(784578),n1=n(204925),n2=n(835002);class n3 extends nK.A{_initialize(){e$.h.subscribe("CONNECTION_OPEN",this.handleConnectionOpen),e$.h.subscribe("CHANNEL_SELECT",this.handleChannelSelect),e$.h.subscribe("AGE_GATE_MODAL_OPEN",this.handleAgeGateModalOpen),e$.h.subscribe("AGE_GATE_MODAL_CLOSE",this.handleAgeGateModalClose),e$.h.subscribe("AGE_GATE_SUCCESS_MODAL_OPEN",this.handleAgeGateSuccess),e$.h.subscribe("AGE_GATE_FAILURE_MODAL_OPEN",this.handleAgeGateFailure),e$.h.subscribe("GUILD_UPDATE",this.handleGuildUpdate)}_terminate(){e$.h.unsubscribe("CONNECTION_OPEN",this.handleConnectionOpen),e$.h.unsubscribe("CHANNEL_SELECT",this.handleChannelSelect),e$.h.unsubscribe("AGE_GATE_MODAL_OPEN",this.handleAgeGateModalOpen),e$.h.unsubscribe("AGE_GATE_MODAL_CLOSE",this.handleAgeGateModalClose),e$.h.unsubscribe("AGE_GATE_SUCCESS_MODAL_OPEN",this.handleAgeGateSuccess),e$.h.unsubscribe("AGE_GATE_FAILURE_MODAL_OPEN",this.handleAgeGateFailure),e$.h.unsubscribe("GUILD_UPDATE",this.handleGuildUpdate)}handleChannelSelect(e){let{guildId:t,channelId:n}=e;(0,nQ.kK)(t,n)}handleConnectionOpen(){let e=nX.A.getGuildId(),t=nZ.A.getChannelId();(0,nQ.kK)(e,t)}handleAgeGateModalOpen(e){let{source:t}=e;(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("27681"),n.e("28367"),n.e("82758"),n.e("57641"),n.e("10136")]).then(n.bind(n,776971));return n=>(0,k.jsx)(e,{source:t,...n})},{modalKey:n1.Uy,onCloseRequest:eL.tEg,backdropStyle:(0,nz.lU)(t)?nW.F.LIGHTBOX:void 0})}handleAgeGateSuccess(){n$.A.showSuccessToast(n2.OB.EXISTING_USER_AGE_GATE_SUCCESS),(0,nC.closeModal)(n1.Uy)}handleAgeGateFailure(e){let{underageMessage:t}=e;(0,nC.updateModal)(n1.Uy,e=>(0,k.jsx)(n0.default,{underageMessage:t,...e}))}handleAgeGateModalClose(){(0,nC.closeModal)(n1.Uy)}handleGuildUpdate(e){let{guild:t}=e,n=nX.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),e$.h.subscribe("WINDOW_FOCUS",this.handleWindowFocus),e$.h.subscribe("APP_STATE_UPDATE",this.handleAppStateUpdate),e$.h.subscribe("QUESTS_ENROLL_SUCCESS",this.handleEnrollmentSuccess),e$.h.subscribe("LOGIN_SUCCESS",this.handleLogin),e$.h.subscribe("LOGOUT",this.handleLogout),this.scheduleHeartbeatTracking()}_terminate(){this.stopAnalyticHeartbeat(),eW.default.removeChangeListener(this.handleAuthenticationChange),e$.h.unsubscribe("WINDOW_FOCUS",this.handleWindowFocus),e$.h.unsubscribe("APP_STATE_UPDATE",this.handleAppStateUpdate),e$.h.unsubscribe("QUESTS_ENROLL_SUCCESS",this.handleEnrollmentSuccess),e$.h.unsubscribe("LOGIN_SUCCESS",this.handleLogin),e$.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,eC.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){eC.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,eC.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){eC.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(){e$.h.subscribe("RTC_CONNECTION_VIDEO",this.handleIncomingVideo),e$.h.subscribe("AUDIO_SET_LOCAL_VIDEO_DISABLED",this.handleManualLocalVideoToggle),e$.h.subscribe("WINDOW_VISIBILITY_CHANGE",this.handleWindowVisibilityChange),e$.h.subscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect),io.A.addChangeListener(this.handlePopoutChange)}_terminate(){e$.h.unsubscribe("RTC_CONNECTION_VIDEO",this.handleIncomingVideo),e$.h.unsubscribe("AUDIO_SET_LOCAL_VIDEO_DISABLED",this.handleManualLocalVideoToggle),e$.h.unsubscribe("WINDOW_VISIBILITY_CHANGE",this.handleWindowVisibilityChange),e$.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,k.jsx)("div",{...t,ref:this.ref,children:e})}}var iA=n(447453),iI=n(933958),iT=n(969151),iS=n(91242),iN=n(643501),iy=n(652896),iC=n(400492),iv=n(105530),iO=n(95701),iR=n(616356),ib=n(734057),iD=n(803224),iL=n(763827),iw=n(485296),iM=n(977997),iP=n(607567),ix=n(403362);function iU(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,iC.Ak)(s,i??.4),r=e});return s.attach("useSound"),()=>s.detach()})}function ik(){return iU([tI.Ay,nZ.A],()=>({inVoiceChannel:null!=nZ.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 iU([tI.Ay,nZ.A],()=>({videoEnabled:tI.Ay.isVideoEnabled(),inVoiceChannel:null!=nZ.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 iU([ib.A,iL.A,nZ.A,iN.default],()=>{let e=ib.A.getChannel(nZ.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!=iN.default.getAwaitingRemoteSessionInfo(),connectedRemote:null!=iN.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&&iO.Do.has(n))return;return"user_join"}if(u&&!i){if(s||a||null!=o&&iO.Do.has(o))return;return"disconnect"}}),null}function iV(){return iU([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 iU([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 iU([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 iU([iM.A],()=>iM.A.userHasBeenMovedVersion,(e,t)=>{if(e!==t)return"user_moved"}),null}function iY(){return iU([nZ.A,iM.A],()=>{let e=nZ.A.getVoiceChannelId();if(null==e)return iv.zF.NONE;let t=iM.A.getVoiceStateForChannel(e);return(0,iv.eY)(t)},(e,t)=>{if(e!==t&&t===iv.zF.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK)return"reconnect"}),null}function iW(){return iU([nZ.A,iR.A,eW.default,iM.A,ib.A],()=>{let e,t,n=nZ.A.getVoiceChannelId(),i=eW.default.getId(),r=[],s=null,a=0,o=iR.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=iR.A.getAllApplicationStreamsForChannel(i.id).map(e=>e.ownerId))}let l=null;return l=1===o.length?o[0]:iR.A.getCurrentUserActiveStream(),l?.state===eL.XYD.CONNECTING&&(l=null),null!=l&&(s=(0,iy._z)(l),a=iR.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&&iO.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 iU([nZ.A,iI.Ay,iS.A,eW.default],()=>{let e=nZ.A.getVoiceChannelId(),t=nZ.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 iz(){return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ik,{}),(0,k.jsx)(iG,{}),(0,k.jsx)(iF,{}),(0,k.jsx)(iV,{}),(0,k.jsx)(iB,{}),(0,k.jsx)(ij,{}),(0,k.jsx)(iW,{}),(0,k.jsx)(iY,{}),(0,k.jsx)(iK,{}),(0,k.jsx)(iH,{})]})}var i$=n(337371),iq=n(775121),iZ=n(498419),iX=n.n(iZ),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(ek.isPlatformEmbedded)i4=e=>tS.Ay.setBadge(e);else if(i6.has(tq().layout)){let e=new(iX())({animation:"none"});i4=t=>{try{(0,i3.sF)(t),e.badge(-1===t?"\u2022":t)}catch(e){}}}var i5=n(780964),i7=n(858897);let i8=(0,ek.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,ek.isMac)()&&!i?s:(0,ek.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;ek.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("60060"),n.e("17094"),n.e("46461"),n.e("27282"),n.e("66898"),n.e("7017"),n.e("47680"),n.e("10471"),n.e("11301"),n.e("94493"),n.e("26073"),n.e("44057"),n.e("29569"),n.e("39053"),n.e("62318"),n.e("23324"),n.e("81610"),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),rf=n(702841),rh=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,k.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,rf.bG)([nX.A],()=>nX.A.getGuildId()),t=(0,rp.RX)(e),[n,i]=(0,rh.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,k.jsx)("div",{className:rm.kL,children:(0,k.jsx)(rg,{state:r,markAsDismissed:i})})}let rI=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("95780"),n.e("14938"),n.e("60060"),n.e("4592"),n.e("25907"),n.e("17094"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("33957"),n.e("94193"),n.e("10448"),n.e("74587"),n.e("75804"),n.e("76119"),n.e("5384"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("42724"),n.e("86127"),n.e("78453"),n.e("91013"),n.e("44571"),n.e("30788"),n.e("25246"),n.e("23995"),n.e("36877"),n.e("20131"),n.e("38501"),n.e("98329"),n.e("21957"),n.e("93766"),n.e("52511"),n.e("54622"),n.e("54103"),n.e("27966"),n.e("69059"),n.e("52803"),n.e("76622"),n.e("43710"),n.e("64926"),n.e("99976"),n.e("82561"),n.e("84779"),n.e("72570")]).then(n.bind(n,887073)),webpackId:887073}),rT=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("95780"),n.e("14938"),n.e("60060"),n.e("4592"),n.e("25907"),n.e("17094"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("33957"),n.e("94193"),n.e("5384"),n.e("62859"),n.e("10448"),n.e("74587"),n.e("75804"),n.e("76119"),n.e("50474"),n.e("23924"),n.e("71470"),n.e("8596"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("9233"),n.e("42724"),n.e("86127"),n.e("86814"),n.e("25949"),n.e("78453"),n.e("91013"),n.e("44571"),n.e("30788"),n.e("25246"),n.e("23995"),n.e("57355"),n.e("36877"),n.e("20131"),n.e("38501"),n.e("98329"),n.e("61058"),n.e("21957"),n.e("93766"),n.e("52511"),n.e("54622"),n.e("54103"),n.e("27966"),n.e("69059"),n.e("52803"),n.e("76622"),n.e("75284"),n.e("43710"),n.e("64926"),n.e("99976"),n.e("82561"),n.e("84779"),n.e("86823"),n.e("2750"),n.e("86002"),n.e("59275")]).then(n.bind(n,977802)),webpackId:977802}),rS=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("95780"),n.e("14938"),n.e("60060"),n.e("4592"),n.e("25907"),n.e("17094"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("33957"),n.e("94193"),n.e("10448"),n.e("74587"),n.e("75804"),n.e("76119"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("42724"),n.e("86127"),n.e("78453"),n.e("91013"),n.e("44571"),n.e("30788"),n.e("25246"),n.e("23995"),n.e("36877"),n.e("20131"),n.e("38501"),n.e("98329"),n.e("21957"),n.e("93766"),n.e("52511"),n.e("54622"),n.e("54103"),n.e("27966"),n.e("69059"),n.e("52803"),n.e("76622"),n.e("43710"),n.e("64926"),n.e("99976"),n.e("82561"),n.e("84779"),n.e("82583")]).then(n.bind(n,479808)),webpackId:479808});var rN=n(353640),ry=n(574381),rC=n(312138),rv=n(346411),rO=n(793943),rR=n(189252);function rb(){let{activePanel:e}=(0,rO.fy)(),t=e===rO.HP.APPLICATION_TEST_MODE_DEBUG;return(0,k.jsx)(rR.A,{onClick:()=>{t?(0,rO.Jp)():(0,rO.nf)(rO.HP.APPLICATION_TEST_MODE_DEBUG)},icon:rv.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),rU=n(447404),rk=n(186111),rG=n(734066),rF=n(274372),rV=n(361157),rB=n(710315),rH=n(537668);function rj(e){let{markAsDismissed:t,onCheckItOut:n,shouldShow:i=!0,children:r}=e,s=(0,rV.K)(e=>e.clipsButtonRef),a=(0,rV.n)();return null==s?r:(0,k.jsx)(rH.A,{markAsDismissed:t,position:"bottom",shouldShow:i,targetElementRef:a,onCheckItOut:n,children:r})}var rY=n(338854),rW=n(43105),rK=n(150616),rz=n(372684),r$=n(948138),rq=n(665039);function rZ(e){let{onOpenClipsGallery:t,canShowReminder:n}=e,{enableReminderSidebar:i}=rK.Z.useConfig({location:"ClipsReminderTooltip"}),{canShowReminders:r,lastClipsSession:s,mostRecentClip:a}=(0,e6.cf)([rF.A],()=>{let e=rF.A.getLastClipsSession(),t=e?.newClipIds,n=null!=t?rF.A.getClipIds().find(e=>t.includes(e)):null;return{canShowReminders:rF.A.canShowReminders(),lastClipsSession:e,mostRecentClip:null!=n?rF.A.getClipById(n):null}}),o=(0,rV.K)(e=>e.clipsButtonRef),l=(0,rV.n)(),u=(0,nC.useModalsStore)(nC.hasAnyModalOpenSelector),c=(0,e6.bG)([rk.A],()=>rk.A.hasLayers()),d=(0,rq.j)(a),_=e8.useCallback(()=>{(0,r$.jA)()},[]);return!n||i||!r||u||c||null==o||null==a||null==s?null:a.type!==rz.nQ.SCREENSHOT&&a.type!==rz.nQ.VOICE_CLIP&&null!=d?(0,k.jsx)(rY.H,{targetElementRef:l,position:"bottom",title:na.intl.string(na.t.JugHO7),body:na.intl.format(na.t["+qxkzC"],{count:s.newClipIds.length}),assetUrl:d,disableMediaViewer:!0,caretConfig:{align:"center"},action:{text:na.intl.string(na.t.tQPBml),onClick:t},onRequestClose:_}):(0,k.jsx)(rW.A,{targetElementRef:l,position:"bottom",title:na.intl.string(na.t.JugHO7),body:na.intl.format(na.t["+qxkzC"],{count:s.newClipIds.length}),graphic:null!=a.thumbnail?{type:"image",src:a.thumbnail}:void 0,caretConfig:{align:"center"},actions:[{text:na.intl.string(na.t.tQPBml),onClick:t}],onRequestClose:_})}var rX=n(271597);function rQ(e){let{canShowReminder:t=!1}=e,n=(0,rG.sw)(),{topBarButton:i,userStatusMenu:r}=rB.$.useConfig({location:"ClipsButton"}),{hasNewClips:s,hasAnyClipAnimations:a}=(0,e6.cf)([rF.A],()=>({hasNewClips:rF.A.getNewClipIds().length>0,hasAnyClipAnimations:rF.A.hasAnyClipAnimations()})),o=(0,rV.K)(e=>e.clipsButtonRef),l=(0,rV.K)(e=>e.setClipsButtonRef),u=(0,nC.useModalsStore)(nC.hasAnyModalOpenSelector),c=(0,e6.bG)([rk.A],()=>rk.A.hasLayers()),{preventIdle:d,allowIdle:_}=(0,rU.o)("animation");function f(){(0,rX.p)()}return(e8.useEffect(()=>(a?d():_(),()=>_()),[a,d,_]),i&&n)?(0,k.jsx)(rx.Ay,{contentTypes:null==o||r||u||c?[]:[rM.M.CLIPS_PRIMARY_ENTRY_POINT_COACHMARK],children:e=>{let{visibleContent:n,markAsDismissed:i}=e;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(rZ,{canShowReminder:t,onOpenClipsGallery:f}),(0,k.jsx)(rj,{markAsDismissed:i,shouldShow:n===rM.M.CLIPS_PRIMARY_ENTRY_POINT_COACHMARK,onCheckItOut:f,children:(0,k.jsx)("div",{ref:l,children:(0,k.jsx)(rR.A,{icon:rP.x,showBadge:s,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 e$.h.subscribe("ROUTE_CHANGED",t),e$.h.subscribe("LOGOUT",t),()=>{e$.h.unsubscribe("ROUTE_CHANGED",t),e$.h.unsubscribe("LOGOUT",t)}},[e]),t}();return(0,k.jsxs)("div",{className:r6.y_,children:[(0,k.jsx)(rJ.m,{ariaHidden:!0,shouldShow:n,text:na.intl.string(na.t.B9vzIP),keyboardShortcut:r4,children:(0,k.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,k.jsx)(r0.r,{size:"sm",color:"currentColor"})})}),(0,k.jsx)(rJ.m,{ariaHidden:!0,shouldShow:i,text:na.intl.string(na.t["9KJ29e"]),keyboardShortcut:r5,children:(0,k.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,k.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,k.jsx)(tn.Anchor,{href:nf.C,target:"_blank",tabIndex:-1,children:(0,k.jsx)(rR.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,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("27681"),n.e("86173"),n.e("28367"),n.e("38695"),n.e("31897")]).then(n.bind(n,317248));return t=>(0,k.jsx)(e,{...t})});function sc(e){let{onClose:t}=e;return(0,k.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,k.jsxs)(sr.rX,{children:[(0,k.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,k.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)(nf.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,k.jsx)("div",{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:(0,k.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,k.jsx)(sc,{onClose:()=>i(!1)}),children:(e,n)=>{let{isShown:i}=n;return(0,k.jsx)(rR.A,{ref:a,onClick:su,icon:ss.Q,"aria-label":na.intl.string(na.t["5LqopY"]),selected:i,...t})}})})}var s_=n(32880),sf=n(157559),sh=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(e$.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,nC.openModal)(e=>(0,k.jsx)(sh.default,{source:"Links",...e}))}handleInstallDownload=()=>{iL.A.isConnected()?sf.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}),e$.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,k.jsx)(rR.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),sN=n(27232),sy=n(111159),sC=n(768622),sv=n(836480),sO=n(403581),sR=n(34188),sb=n(214947),sD=n(177953),sL=n(577473),sw=n(834730),sM=n(313281),sP=n(5180),sx=n(548118),sU=n(394953),sk=n(486020),sG=n(165610),sF=n(602339),sV=n(957896);function sB(){let e,t=(0,ng.zy)(),n=(0,e6.bG)([nX.A],()=>nX.A.getGuildId()),i=(0,e6.bG)([nZ.A],()=>nZ.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,sU.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?sk.Ay.getApplicationIconURL({id:u.id,icon:u.icon,bot:u.bot}):void 0,_=null;return(null!=u&&c?(e=u.name,_=(0,k.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,k.jsx)(sS.X,{size:"sm"})):null!=a?(e=(0,sP.YC)(a),_=o?(0,k.jsx)(sN.G,{size:"sm"}):(0,k.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,k.jsx)(sy.p,{size:"sm"})):t.pathname.startsWith(eL.BVt.ICYMI)?(e=na.intl.string(na.t["jnXV/V"]),_=(0,k.jsx)(sC.g,{size:"sm"})):t.pathname.startsWith(eL.BVt.GLOBAL_DISCOVERY)?(e=na.intl.string(na.t["4nEZLk"]),_=(0,k.jsx)(sv.Q,{size:"sm"})):t.pathname.startsWith(eL.BVt.NITRO_HOME)?(e=na.intl.string(na.t.Ipxkog),_=(0,k.jsx)(sO.t,{size:"sm"})):t.pathname.startsWith(eL.BVt.COLLECTIBLES_SHOP)?(e=na.intl.string(na.t.pWG4ze),_=(0,k.jsx)(sR.U,{size:"sm"})):t.pathname.startsWith(eL.BVt.FRIENDS)?(e=na.intl.string(na.t.TdEu5X),_=(0,k.jsx)(sb.$,{size:"sm"})):t.pathname.startsWith(eL.BVt.FAMILY_CENTER)?(e=na.intl.string(sF.default.RZqaJn),_=(0,k.jsx)(sD.n,{size:"sm"})):t.pathname.startsWith(eL.BVt.QUEST_HOME)&&(e=na.intl.string(na.t.JALI2K),_=(0,k.jsx)(sL.r,{size:"sm"})),null==e||""===e)?null:(0,k.jsxs)("div",{className:sV.DD,children:[_,(0,k.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),sz=n(371911),s$=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,s$.P.NOTIFICATION_CENTER)>0);return(0,k.jsx)(sz.C,{targetElementRef:s,onOpen:t,onClose:n,badgeState:{badgeForYou:a},popoutPosition:"bottom",popoutAlign:"right",children:(e,t,n,r)=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(rR.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,k.jsx)(sW.v,{location:"inbox-button",targetElementRef:s})]})})}var sZ=n(966597),sX=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("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("60060"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("32538"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("37021"),n.e("234"),n.e("87478"),n.e("44780"),n.e("5557"),n.e("62718"),n.e("90301"),n.e("92295"),n.e("57355"),n.e("15109"),n.e("19454"),n.e("16988"),n.e("59797"),n.e("59466"),n.e("93336"),n.e("60358"),n.e("87436"),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("60060"),n.e("81154"),n.e("30708"),n.e("25907"),n.e("99961"),n.e("7927"),n.e("7580"),n.e("32950"),n.e("91763"),n.e("76602"),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("90301"),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("6619"),n.e("18934"),n.e("25907"),n.e("54747"),n.e("67921"),n.e("60060"),n.e("80559"),n.e("333"),n.e("6772"),n.e("74587"),n.e("14831"),n.e("17094"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("758"),n.e("45650"),n.e("27681"),n.e("79705"),n.e("24685"),n.e("186"),n.e("33957"),n.e("94193"),n.e("8996"),n.e("95780"),n.e("58858"),n.e("88826"),n.e("28510"),n.e("45503"),n.e("99961"),n.e("31688"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("55719"),n.e("57006"),n.e("25610"),n.e("6720"),n.e("75804"),n.e("40759"),n.e("7017"),n.e("10448"),n.e("53806"),n.e("78401"),n.e("5677"),n.e("78008"),n.e("51404"),n.e("48525"),n.e("27107"),n.e("42743"),n.e("74748"),n.e("61448"),n.e("47620"),n.e("90324"),n.e("38847"),n.e("27811"),n.e("4981"),n.e("74540"),n.e("92793"),n.e("27282"),n.e("66898"),n.e("24057"),n.e("93327"),n.e("93998"),n.e("15086"),n.e("44590"),n.e("76822"),n.e("90217"),n.e("62883"),n.e("5384"),n.e("23924"),n.e("71470"),n.e("19402"),n.e("13111"),n.e("68201"),n.e("95429"),n.e("62052"),n.e("57174"),n.e("38939"),n.e("3376"),n.e("13554"),n.e("94678"),n.e("1856"),n.e("23964"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("8757"),n.e("91763"),n.e("76602"),n.e("28229"),n.e("85968"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("76418"),n.e("29787"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("98965"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),n.e("20590"),n.e("35313"),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("78453"),n.e("86672"),n.e("76273"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("35321"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("50033"),n.e("87478"),n.e("3998"),n.e("44780"),n.e("5557"),n.e("59957"),n.e("83952"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("60773"),n.e("61156"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("19454"),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("36877"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("93336"),n.e("60358"),n.e("20131"),n.e("87436"),n.e("75133"),n.e("1243"),n.e("75859"),n.e("96804"),n.e("38501"),n.e("28850"),n.e("95998"),n.e("27659"),n.e("10943"),n.e("15920"),n.e("68530"),n.e("42234"),n.e("3930"),n.e("44057"),n.e("3663"),n.e("11617"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),n.e("66580"),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("38601"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("29260"),n.e("41701"),n.e("40204"),n.e("7775"),n.e("77467"),n.e("47057"),n.e("60989"),n.e("82486"),n.e("79435"),n.e("68083"),n.e("3710"),n.e("48730"),n.e("71467"),n.e("60003"),n.e("18413"),n.e("49013"),n.e("51892"),n.e("20965"),n.e("98329"),n.e("41838"),n.e("45830"),n.e("39894"),n.e("59373"),n.e("46045"),n.e("755"),n.e("33448"),n.e("21957"),n.e("93766"),n.e("73122"),n.e("42324"),n.e("8979"),n.e("9045"),n.e("77602"),n.e("95602"),n.e("5896"),n.e("15275"),n.e("52511"),n.e("54622"),n.e("16054"),n.e("54103"),n.e("31335"),n.e("29569"),n.e("36002"),n.e("27966"),n.e("96480"),n.e("41786"),n.e("4736"),n.e("79593"),n.e("33771"),n.e("39053"),n.e("69059"),n.e("73611"),n.e("41706"),n.e("62175"),n.e("94888"),n.e("89541"),n.e("46039"),n.e("90804"),n.e("89545"),n.e("78010"),n.e("21883"),n.e("30920"),n.e("63497"),n.e("27462"),n.e("22455"),n.e("94161"),n.e("68031"),n.e("52803"),n.e("50068"),n.e("97162"),n.e("44727"),n.e("10147"),n.e("6627"),n.e("90274"),n.e("81398"),n.e("86546"),n.e("53275"),n.e("84704"),n.e("99053"),n.e("55895"),n.e("46327"),n.e("28011"),n.e("15057"),n.e("70698"),n.e("76622"),n.e("75284"),n.e("62318"),n.e("20643"),n.e("4374"),n.e("3590"),n.e("64926"),n.e("30313"),n.e("50541"),n.e("53983"),n.e("37886"),n.e("23324"),n.e("91652"),n.e("25013"),n.e("20803"),n.e("84114"),n.e("37698"),n.e("95782"),n.e("35432"),n.e("40114"),n.e("19119"),n.e("61137"),n.e("96817"),n.e("73566"),n.e("92064"),n.e("18710"),n.e("86629"),n.e("98384"),n.e("17823"),n.e("32429"),n.e("24564"),n.e("34428"),n.e("35476"),n.e("39721"),n.e("8508"),n.e("14334"),n.e("76892"),n.e("98660"),n.e("16799"),n.e("82969"),n.e("81610"),n.e("71811"),n.e("39967"),n.e("60959"),n.e("38249"),n.e("88918"),n.e("85216"),n.e("26223"),n.e("26359"),n.e("83102"),n.e("86470"),n.e("6294"),n.e("65306"),n.e("2552"),n.e("89588"),n.e("62075"),n.e("33314"),n.e("24084"),n.e("44790"),n.e("14753"),n.e("99976"),n.e("49344"),n.e("14451"),n.e("7755"),n.e("83259"),n.e("50590"),n.e("54658"),n.e("31828"),n.e("77298"),n.e("62577"),n.e("96975"),n.e("4787"),n.e("30373"),n.e("92223"),n.e("40247"),n.e("73691"),n.e("99513"),n.e("55663"),n.e("36001"),n.e("56814"),n.e("54588"),n.e("81863"),n.e("94171"),n.e("76064"),n.e("56153"),n.e("87735"),n.e("85280"),n.e("24805"),n.e("14124"),n.e("14093"),n.e("28638"),n.e("87791"),n.e("86823"),n.e("26993"),n.e("8878")]).then(n.bind(n,540177)),webpackId:540177}),s5=()=>Promise.all([n.e("18934"),n.e("758"),n.e("42743"),n.e("17094"),n.e("25610"),n.e("6720"),n.e("48115"),n.e("75842"),n.e("95752"),n.e("44780"),n.e("5557"),n.e("19454"),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,rN.v)(()=>({isOpen:!0})),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,sX.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}=sZ.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,ry.xl)(),f=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:h}=(0,r8.K)("friends-button");return(e8.useEffect(()=>{h&&s5()},[h]),d)?null:(0,k.jsx)(rC.sk,{children:e=>(0,k.jsx)(t6.N,{theme:c,children:t=>(0,k.jsx)(s2.cq,{className:t,leading:(0,k.jsxs)(k.Fragment,{children:[_&&(0,k.jsx)(r7,{firstElementFocusJumpSectionProps:"BACK_FORWARD_NAVIGATION"===f?e:void 0}),a&&(0,k.jsx)(s6,{focusSectionProps:"NOTIFICATIONS_INBOX"===f?e:void 0})]}),title:(0,k.jsx)(sB,{}),trailing:(0,k.jsxs)(k.Fragment,{children:[h&&(0,k.jsx)(s7,{}),r?(0,k.jsx)(sQ,{}):null,!1,(0,k.jsx)(rQ,{canShowReminder:!0}),l&&!u&&(0,k.jsx)(s3,{}),o&&(0,k.jsx)(sq,{..."RECENTS"===f?e:{}}),n?(0,k.jsx)(sd,{focusSectionProps:"HELP"===f?e:void 0}):(0,k.jsx)(sn,{focusSectionProps:"HELP"===f?e:void 0}),i&&(0,k.jsx)(s4,{}),s&&(0,k.jsx)(rb,{}),(0,k.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),af=n(982484),ah=n(742023),ap=n(204651),aE=n(520006),am=n(128286),ag=n(113854),aA=n(31728),aI=n(625494);let aT=(e,t)=>{e$.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,k.jsx)("div",{ref:l,className:n,style:i})}var aN=n(227042),ay=n(334463);let aC=null;function av(e){return`framepip:${e.applicationId}`}function aO(){let e=iS.A.getConnectedFrame();if(null==e){let e;return void(null!=(e=aC)&&ay.A.isOpen(e)&&(e$.h.wait(()=>aA.VN(e)),aC=null))}var t=av(e);if(ay.A.isOpen(t))return!1;if(null!=aC){let e=aC;e$.h.wait(()=>aA.VN(e))}return e$.h.wait(()=>aA.ho(t,eL.o1q.FRAME,{})),void(aC=t)}function aR(){let e;if((0,aN.A)({LayerStore:rk.A,PopoutWindowStore:io.A})){let e;return void(null!=(e=(void 0)??aC)&&ay.A.isOpen(e)&&e$.h.wait(()=>aA.jD(e)))}null!=(e=(void 0)??aC)&&ay.A.isOpen(e)&&e$.h.wait(()=>aA.WU(e))}class ab extends nK.A{_initialize(){iS.A.addChangeListener(aO),rk.A.addChangeListener(aR)}_terminate(){iS.A.removeChangeListener(aO),rk.A.removeChangeListener(aR)}}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)([nZ.A],()=>({selectedChannelId:nZ.A.getChannelId(),selectedVoiceChannelId:nZ.A.getVoiceChannelId()})),a=(0,e6.bG)([t5.A],()=>null!=s&&r===s&&t5.A.getChatOpen(s),[r,s]),o=(0,e6.bG)([ah.Ay],()=>ah.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}),f=e8.useCallback(()=>{ag.A.updateFrameLayoutMode({applicationId:t.applicationId,layoutMode:sG.y.PIP})},[t.applicationId]),h=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=>{null==u.current||(0,ar.H)(u.current,e.target)||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=av(t);return(0,k.jsx)(t6.N,{theme:eL.NJ8.DARK,children:e=>(0,k.jsxs)("div",{className:t2()(aw.iE,aM[A],e),ref:u,style:{right:a&&!Number.isNaN(T)?T:0},children:[(0,k.jsx)(af.A,{applicationId:t.applicationId}),(0,k.jsx)("div",{className:aw.lq,children:(0,k.jsx)("div",{className:t2()(aw.ht,{[aw.kK]:g}),style:{paddingLeft:E,paddingRight:E,paddingTop:m,paddingBottom:m},ref:c,children:(0,k.jsx)(aS,{className:aw.pU,embedId:S})})}),(0,k.jsxs)("div",{className:aw.qr,children:[(0,k.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,k.jsxs)("div",{className:aw.Hq,children:[(0,k.jsx)("div",{className:aw.qi,children:(0,k.jsx)(ap.l,{isTrayButton:!0,label:na.intl.string(na.t.brPQ5U),onClick:f,iconComponent:as.g,themeable:!0})}),(0,k.jsx)(ap.l,{isTrayButton:!1,label:na.intl.string(na.t["R/FK4A"]),onClick:h,iconComponent:aa.o,color:"disconnect"})]}),I?(0,k.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,k.jsx)(aP,{frame:e})}var aU=n(696292),ak=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),az=n(837057),a$=n(488995),aq=n(190107),aZ=n(525748);function aX(e){let{tab:t}=e,n=aW.A.useField("selectedTab"),i=e8.useMemo(()=>(function(e){switch(e){case a$.GlobalDiscoveryTab.SERVERS:return(0,k.jsx)(ak.R,{color:"currentColor"});case a$.GlobalDiscoveryTab.APPS:return(0,k.jsx)(aG.k,{color:"currentColor"});case a$.GlobalDiscoveryTab.QUESTS:return(0,k.jsx)(sL.r,{color:"currentColor"})}})(t),[t]),r=e8.useMemo(()=>(0,aK.t)(t),[t]),s=n===t,a=e8.useCallback(()=>{switch(t){case a$.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,az.transitionToGlobalDiscovery)({tab:a$.GlobalDiscoveryTab.QUESTS,location:aq.rE.DISCOVERY_SIDEBAR,questContent:aU.u.DISCOVERY_SIDEBAR});case a$.GlobalDiscoveryTab.APPS:if(!s)return(0,az.transitionToGlobalDiscovery)({tab:t,newSessionState:{entrypoint:{name:aB.sW.GLOBAL_DISCOVERY_SIDEBAR},restorePreviousView:!0}});aV.A.resetState(),(0,az.transitionToGlobalDiscovery)({tab:t});return;case a$.GlobalDiscoveryTab.SERVERS:if(!s)return(0,az.transitionToGlobalDiscovery)({tab:t});aH.A.resetState(),aj.A.resetState();return;default:return(0,az.transitionToGlobalDiscovery)({tab:t})}},[t,s]);return(0,k.jsxs)(t3.D,{onClick:a,className:t2()(aZ.pc,{[aZ.wH]:s}),children:[(0,k.jsx)("div",{className:aZ.wz,children:i}),(0,k.jsx)(sw.E,{variant:"text-md/medium",color:"none",children:r})]})}let aQ=function(){return(0,k.jsxs)("div",{className:aZ.kL,children:[(0,k.jsx)("div",{className:aZ.wx,children:(0,k.jsx)(aF.D,{variant:"text-lg/semibold",children:na.intl.string(na.t["1KqYnl"])})}),(0,k.jsx)("nav",{className:aZ.C$,children:a$.GLOBAL_DISCOVERY_TABS.map(e=>(0,k.jsx)(aX,{tab:e},e))})]})};var aJ=n(386467),a0=n(961973),a1=n(440293),a2=n(253363),a3=n(379610),a6=n(164956),a4=n(209700),a5=n(578797),a7=n(9588);let a8={closeSidebar(){e$.h.dispatch({type:"MOBILE_WEB_SIDEBAR_CLOSE"})},openSidebar(){e$.h.dispatch({type:"MOBILE_WEB_SIDEBAR_OPEN"})}},a9=!1;class oe extends e6.Ay.Store{static displayName="MobileWebSidebarStore";getIsOpen(){return!e0.Fr||a9}}let ot=new oe(e$.h,{MOBILE_WEB_SIDEBAR_OPEN:function(){a9=!0},MOBILE_WEB_SIDEBAR_CLOSE:function(){a9=!1}});var on=n(601623),oi=n(777666),or=n(761508),os=n(944791),oa=n(711950),oo=n(915089),ol=n(586774),ou=n(742589),oc=n(880682),od=n(364522),o_=n(820284),of=n(688810),oh=n(290595),op=n(516746);function oE(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,k.jsx)(t3.D,{innerRef:o,onClick:a,tabIndex:null!=a?0:-1,className:t2()(r,{[op.A7]:!n,[op.C5]:n,[op.jC]:t,[op.vu]:i,[op.bG]:null!=a,[op._$]:l}),...u,children:s}):(0,k.jsx)("div",{ref:o,className:t2()(r,{[op.A7]:!n,[op.C5]:n,[op.jC]:t,[op.vu]:i,[op._$]:l}),...u,children:s})}var om=n(362288);function og(e){let{className:t,markAsDismissed:n}=e;return(0,k.jsxs)(oE,{className:t2()(om.Nr,t),children:[(0,k.jsx)(aF.D,{variant:"heading-md/semibold",className:om.wx,children:na.intl.string(na.t.HcbnMM)}),(0,k.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,k.jsxs)("div",{className:om.UD,children:[(0,k.jsx)(tJ.$,{variant:"primary",size:"sm",fullWidth:!0,text:na.intl.string(na.t.ebojgD),onClick:()=>(0,oh.U)([eL.YAq.PERSONALIZATION],[])}),(0,k.jsx)(tJ.$,{variant:"secondary",size:"sm",fullWidth:!0,text:na.intl.string(na.t.f3Pet9),onClick:()=>n(rE.i.DISMISS)})]})]})}var oA=n(153488),oI=n(111956),oT=n.n(oI),oS=n(340124),oN=n(859703),oy=n(507107);let oC=(0,eM.mj)({name:"2026-01-now-playing-api-call-experiment",kind:"user",defaultConfig:{use_api_call:!1},variations:{0:{use_api_call:!1},1:{use_api_call:!1},2:{use_api_call:!0},3:{use_api_call:!0},4:{use_api_call:!0},5:{use_api_call:!0},6:{use_api_call:!0}}});var ov=n(124366),oO=n(710969),oR=n(639214),ob=n(814793),oD=n(219271),oL=n(427358),ow=n(943577),oM=n(279877),oP=n(401843),ox=n(682261),oU=n(765379),ok=n(90644),oG=n(960076),oF=n(834615),oV=n(970928),oB=n(475706),oH=n(141628),oj=n(414499),oY=n(687966),oW=n(97808),oK=n(778712),oz=n(983851),o$=n(492684),oq=n(212245),oZ=n(573648),oX=n(62583),oQ=n(908289),oJ=n(672979),o0=n(440594);function o1(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,oG.A)(e))return null!=e.details&&""!==e.details?e.details:e.name;if((0,oU.A)(e))return(0,o0.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 o2=n(737393),o3=n(139286),o6=n(46225),o4=n(627363),o5=n(47167),o7=n(402216),o8=n(939341),o9=n(681827),le=n(826673),lt=n(609425),ln=n(252545),li=n(137177),lr=n(409626),ls=n(692969),la=n(569926),lo=n(279250),ll=n(607407),lu=n(529433),lc=n(928550),ld=n(102853),l_=n(378570),lf=n(345942),lh=n(804980),lp=n(879945),lE=n(266080),lm=n(342296);function lg(e){let{width:t=24,height:n=24,color:i="currentColor",...r}=e;return(0,k.jsxs)("svg",{...(0,ne.A)(r),width:t,height:n,viewBox:"0 0 24 24",children:[(0,k.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,k.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 lA=n(562153),lI=n(656318);let lT=e=>{let{member:t,empty:n,guildId:i}=e,r=e8.useRef(null);return n?(0,k.jsx)("div",{className:lI._b}):null==t?(0,k.jsx)("div",{className:lI.j7,children:(0,k.jsx)(lg,{className:lI.s$})}):(0,k.jsx)("div",{className:lI.sR,children:(0,k.jsx)(lm.A,{targetElementRef:r,userId:t.id,guildId:i,newAnalyticsLocations:[ii.A.AVATAR],position:"left",clickTrap:!0,children:e=>(0,k.jsx)(rJ.m,{text:lA.Ay.getName(i,void 0,t),children:(0,k.jsx)(oW.eu,{...e,ref:r,src:t.getAvatarURL(i,24),"aria-label":t.username,size:oK._3.SIZE_24,className:lI.pO})})})})},lS=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,k.jsx)(lT,{member:e,guildId:s},e.id)).value();for(let e=0;e<o&&c.length<r;e++)c.push((0,k.jsx)(lT,{guildId:s},`unknown-member-${e}`));let d=l-u-o;for(let e=0;e<d&&c.length<r;e++)c.push((0,k.jsx)(lT,{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,k.jsx)(lT,{member:e,guildId:s},e.id))}return(0,k.jsx)("div",{className:lI.iE,children:(0,k.jsxs)("div",{className:lI.S3,children:[c,_>1?(0,k.jsxs)("div",{className:lI.Hi,ref:a,children:["+",_]}):null]})})};n(595);var lN=n(492213);let ly=[14,14,12,12,10,8,6],lC=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,k.jsx)(sw.E,{className:t2()(lN.P_,t),variant:"text-sm/semibold",children:e})},lv=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,k.jsx)(sw.E,{className:t2()(lN.P_,t),variant:"text-xs/normal",color:"text-muted",children:e})},lO=(0,o$.A)(e=>{let{message:t}=e;return(0,k.jsx)("div",{className:lN.__invalid_timestamp,children:t})}),lR=e=>{let{children:t}=e;return(0,k.jsx)("section",{className:lN.uW,children:t})},lb=e=>{let{inset:t,className:n}=e;return(0,k.jsx)("div",{className:t2()(lN.me,{[lN.C5]:t},n)})},lD=e=>{let{onCloudPlayClick:t,analyticsLocations:n}=e;return(0,o3.A)({name:eO.ImpressionNames.CLOUD_PLAY_CTA,type:eO.ImpressionTypes.VIEW,properties:{location_stack:n}}),(0,k.jsx)(rJ.m,{text:na.intl.string(na.t.JVwWva),children:(0,k.jsx)(tJ.$,{size:"sm",variant:"primary",icon:oj.h,text:na.intl.string(na.t.YsIsPU),onClick:t})})},lL=e=>{let{activity:t,user:n}=e,i=(0,ld.l)({activity:t,user:n,supportsAskToJoin:!1}),r=null!=i,{data:s}=(0,o4.YY)(t.application_id),{fetched:a,hasAlreadyLinked:o,canStartAuthorization:l,startAuthorization:u}=(0,o6.RD)(s),c=!r&&a&&l&&!o;return{isJoinActivityButtonShown:r,joinActivityButtonAction:i,isLinkAccountButtonShown:c,startAuthorization:u,hasButton:r||c}},lw=e=>{let{activity:t,user:n}=e,{joinActivityButtonAction:i,isJoinActivityButtonShown:r,isLinkAccountButtonShown:s,startAuthorization:a}=lL({activity:t,user:n}),{newestAnalyticsLocation:o}=(0,of.Ay)();if(r&&null!=i){let{isJoining:e,handleJoinRequest:t,buttonCTA:n,tooltip:r,isEnabled:s}=i;return(0,k.jsx)(rJ.m,{text:r,asContainer:!s,children:(0,k.jsx)(tJ.$,{size:"sm",variant:"secondary",icon:oY._,text:n,disabled:!s,loading:e,onClick:e=>{e.stopPropagation(),t()}})})}return s?(0,k.jsx)(tJ.$,{size:"sm",variant:"secondary",icon:oH.A,text:na.intl.string(na.t.sbdnpw),onClick:e=>{e.stopPropagation(),a({analyticsLocations:[o]})}}):null},lM=e=>{let{activity:t,analyticsLocations:n}=e,{application_id:i,name:r}=t,{data:s}=(0,o4.YY)(i),a=(0,o2.A)({application:s,analyticsLocations:n}),o=(0,le.JZ)(rM.M.CLOUD_PLAY_NEW_BADGE),[l]=(0,lc.L)(i);return null==a||l?null:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(lb,{className:lN.gi}),(0,k.jsxs)("div",{className:lN.DK,children:[(0,k.jsxs)("div",{className:lN.tJ,children:[o?null:(0,k.jsx)(oi.Lp,{text:na.intl.string(na.t.y2b7CA),color:r9.A.colors.BACKGROUND_BRAND.css}),(0,k.jsx)(sw.E,{variant:"text-xs/medium",children:na.intl.formatToPlainString(na.t.RmiYF3,{gameName:r})})]}),(0,k.jsx)(lD,{onCloudPlayClick:a,analyticsLocations:n})]})]})};var lP=((_=lP||{}).XBOX="XBOX",_.SPOTIFY="SPOTIFY",_.MULTIPLE="MULTIPLE",_);let lx=e=>{let t,{src:n,onClick:i,onContextMenu:r}=e;switch(n){case"XBOX":t=(0,k.jsx)(lE.A,{className:lN.nr,color:r9.A.unsafe_rawColors.PRIMARY_300.css});break;case"SPOTIFY":t=(0,k.jsx)(lp.A,{className:lN.nr,color:r9.A.unsafe_rawColors.PLATFORM_SPOTIFY.css});break;case"MULTIPLE":t=(0,k.jsx)("div",{className:lN.XQ,children:(0,k.jsx)(oY._,{size:"md",className:t2()(lN.nr,lN.iY),color:r9.A.unsafe_rawColors.PRIMARY_300.css})});break;default:t=(0,k.jsx)("img",{src:n??void 0,alt:"",className:lN.nr})}return null!=i||null!=r?(0,k.jsx)(t3.D,{onClick:i,className:t2()(null!=i?lN.vk:""),onContextMenu:r,children:t}):t};lx.Src=lP;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,k.jsx)(sw.E,{className:lN.P_,variant:"text-sm/normal",color:"text-muted",children:i});return(0,k.jsxs)("header",{className:null!=r?lN.dI:lN.sk,children:[(0,k.jsx)(oW.eu,{src:t.user.getAvatarURL(l,32),"aria-label":t.user.username,size:oK._3.SIZE_32,className:lN.Nw,status:t.status,onContextMenu:o}),(0,k.jsxs)("div",{className:lN.__invalid_headerDetails,children:[(0,k.jsx)(sw.E,{className:t2()(lN.P_,u),variant:"text-md/semibold",children:n}),null!=s?(0,k.jsx)(t3.D,{className:lN.vk,onClick:s,children:c}):c]}),null!=r&&null!=a?(0,k.jsx)(t3.D,{className:lN.vk,onClick:a,children:r}):r]})};lU.Icon=lx;let lk=e=>{let{children:t,className:n,...i}=e;return(0,k.jsx)(e5.vN,{children:(0,k.jsx)(oE,{noBackground:!0,className:t2()(n,lN.iE),padded:!1,...i,children:t})})};lk.Header=lU,lk.Body=e=>{let{children:t}=e;return(0,k.jsx)(oE,{inset:!0,padded:!1,className:lN.rf,children:t})},lk.Separator=lb,lk.VoiceSection=e=>{let{guild:t,channel:n,partySize:i,members:r,onChannelContextMenu:s}=e,a=e8.useRef(null),o=(0,o5.Ay)(n,!0),l=(0,nq.Iv)(t,32),u=(0,nq.Rb)(t);return(0,k.jsx)(lR,{children:(0,k.jsxs)("div",{className:lN.iO,ref:a,onContextMenu:e=>s(e,n),children:[(0,k.jsx)(t3.D,{onClick:()=>(0,lf.u)(t.id),"aria-hidden":!0,tabIndex:-1,children:(0,k.jsxs)("div",{className:lN.J4,children:[null!=l?(0,k.jsx)("img",{alt:"",src:l,className:t2()(lN.y8,lN.p8)}):(0,k.jsx)("div",{className:lN.I,children:(0,k.jsx)("div",{className:lN.lB,style:{fontSize:ly[u.length]??ly[ly.length-1]},children:u})}),(0,k.jsx)("div",{className:lN._s,children:(0,k.jsx)(oz.H,{size:"md",color:"currentColor",className:lN.ZS})})]})}),(0,k.jsx)(t3.D,{onClick:()=>{nD.default.selectVoiceChannel(n.id),(0,l_.iN)(n.id)},focusProps:{ringTarget:a},children:(0,k.jsxs)("div",{className:lN.U6,children:[lC(t.name,lN.BJ),lv(o,lN.BJ)]})}),(0,k.jsx)(lS,{partySize:i,members:r,guildId:t.id})]})})},lk.GameSection=e=>{let{application:t,partySize:n,members:i,activity:r}=e,{analyticsLocations:s}=(0,of.Ay)(ii.A.NOW_PLAYING_ITEM_GAME_SECTION),a=(0,ls.A)({applicationId:r.application_id,location:"FriendsActivityFeed",source:lr.Ob.FriendsActivityFeed}),{data:o}=(0,la.I)(t.getCanonicalGameId()),l=o?.getIconURL(64)??t.getIconURL(64),u=o?.name??t.name,c=null!=l?(0,k.jsx)("img",{alt:"",src:l,className:lN.RZ}):null,d=lC(u);return(0,k.jsxs)(lR,{children:[(0,k.jsxs)("div",{className:lN.yn,children:[null!=c&&null!=a?(0,k.jsx)(t3.D,{onClick:a,className:lN.vk,children:c}):c,(0,k.jsxs)("div",{children:[null!=a?(0,k.jsx)(t3.D,{onClick:a,className:lN.vk,children:d}):d,lv(na.intl.formatToPlainString(na.t.C4WXvc,{memberCount:n.totalSize}))]}),(0,k.jsx)(lS,{partySize:n,members:i})]}),(0,k.jsx)(lM,{activity:r,analyticsLocations:s})]})},lk.RichPresenceSection=e=>{let{activity:t,getAssetImage:i,user:r}=e,{analyticsLocations:s}=(0,of.Ay)(ii.A.NOW_PLAYING_ITEM_RICH_PRESENCE_SECTION),{data:a}=(0,o4.YY)(t.application_id),o=(0,ls.A)({applicationId:t.application_id,location:"FriendsActivityFeed",source:lr.Ob.FriendsActivityFeed}),{assets:l,details:u,state:c,application_id:d}=t,{hasButton:_}=lL({activity:t,user:r}),f=(0,o8.C4)(a)?.src??n(960648),h=(0,o2.A)({application:a,analyticsLocations:s});if(null==t.assets&&!(0,ox.A)(t)&&null==h)return null;let p=null!=l&&0!==Object.keys(l).length?(0,k.jsxs)("div",{className:lN.YY,children:[(0,k.jsx)("img",{alt:l.large_text??"",src:i(d,l.large_image,[160,160])??f,className:t2()(lN.nX,{[lN.p8]:null!=l.small_image})}),null!=l.small_image?(0,k.jsx)("img",{alt:l.small_text??"",src:i(d,l.small_image,[64,64]),className:lN.rp}):null]}):(0,k.jsx)("div",{className:lN.YY,children:(0,k.jsx)("img",{alt:"",src:f,className:lN.nX})}),E=lC(null!=u&&""!==u?u:t.name);return(0,k.jsxs)(lR,{children:[(0,k.jsxs)("div",{className:t2()(lN.tL,{[lN._2]:_}),children:[null!=o?(0,k.jsx)(t3.D,{onClick:o,className:lN.vk,children:p}):p,(0,k.jsxs)("div",{className:lN.JD,children:[null!=o?(0,k.jsx)(t3.D,{onClick:o,className:lN.vk,children:E}):E,null!=c?lv(c):null,(()=>{let{timestamps:e}=t;return null==e||!(0,oJ.A)(t)||(0,ok.A)(t)?null:lv((0,ox.A)(t)?(0,k.jsx)(lO,{timestamps:e}):(0,k.jsx)(lu.Ay,{start:e.start,end:e.end,location:lu.Ay.Locations.USER_ACTIVITY,className:lN.__invalid_playTime}))})()]}),(0,k.jsx)(lw,{activity:t,user:r})]}),(0,k.jsx)(lM,{activity:t,analyticsLocations:s})]})},lk.SpotifySection=e=>{let{activity:{assets:t,details:n,state:i,application_id:r},partySize:s,members:a,isSolo:o,getAssetImage:l}=e;return(0,k.jsx)(lR,{children:(0,k.jsxs)("div",{className:lN.uy,children:[null!=t?(0,k.jsxs)("div",{className:lN.YY,children:[(0,k.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,k.jsx)(lp.A,{className:lN.rp,color:r9.A.unsafe_rawColors.PLATFORM_SPOTIFY.css})]}):(0,k.jsx)("div",{}),(0,k.jsxs)("div",{children:[null!=n?lC(n):null,null!=i?lv(i.replace(/; /g,", ")):null]}),(0,k.jsx)(lS,{minAvatarsShown:o?2:1,partySize:s,members:a})]})})},lk.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,oG.A)(i)&&(t=(0,k.jsx)(o9.A,{className:lN.E6,aspectRatio:16/9,children:(0,k.jsxs)(t3.D,{href:(0,oQ.A)(i),tag:"a",target:"_blank",children:[(0,k.jsx)("img",{alt:u.large_text??"",src:s(c,u.large_image,[900,500]),className:lN.ZB}),(0,k.jsx)("img",{src:n(606621),className:lN.vc,alt:""})]})})),(0,k.jsxs)(lR,{children:[(0,k.jsxs)("div",{className:t2()({[lN.x5]:null==r,[lN.Qh]:null!=r}),children:[(0,k.jsx)("img",{alt:"",src:oZ.A.get(eL.fg2.TWITCH).icon.lightSVG,className:lN.Gq}),(0,k.jsxs)("div",{children:[lC(o),null!=l?lv(l):null]}),null!=r?(0,k.jsx)(oW.eu,{src:r.getAvatarURL(a,24),"aria-label":r.username,className:lN.AZ,size:oK._3.SIZE_24}):null]}),t]})},lk.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,lo.zP)(a),u=(0,k.jsxs)(t3.D,{onClick:o?r:void 0,className:lN.q_,children:[(0,k.jsx)(ll.A,{stream:i,className:lN.IN}),(0,k.jsx)(sw.E,{className:lN.Er,variant:"text-sm/medium",color:"always-white",children:(0,lo.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=o1(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 o1(e,t)}(t,i)?.activityText??na.intl.string(na.t.eXan7B),d=(0,lt.A)({userId:n.id,guildId:s}),_=(0,ln.a)({displayNameStyles:d});return(0,k.jsxs)(lR,{children:[(0,k.jsxs)("div",{className:lN.ME,children:[(0,k.jsx)(oW.eu,{size:oK._3.SIZE_32,src:n.getAvatarURL(s,32),"aria-label":n.username,className:lN.OL}),(0,k.jsxs)("div",{children:[lC(st.Ay.getName(n),_),lv(c)]}),(0,k.jsx)(o7.Ay,{size:o7.Ay.Sizes.SMALL})]}),u]})},lk.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,oV.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,oq.p)(),{analyticsLocations:c}=(0,of.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,f=(0,oV.uD)(d.id,s,300);return(0,k.jsxs)(lR,{children:[(0,k.jsxs)("div",{className:lN.h1,children:[(0,k.jsx)(li.A,{game:d,size:li.M.XSMALL,className:lN.VZ}),(0,k.jsx)("div",{className:lN.F0,children:(0,k.jsx)(sw.E,{variant:"text-sm/semibold",children:d.name})}),null!=_?(0,k.jsx)("div",{className:lN.T$,children:(0,k.jsx)(sw.E,{color:"text-muted",variant:"text-sm/normal",children:(0,k.jsx)(lO,{timestamps:_})})}):null]}),(0,k.jsxs)("div",{className:lN.Kt,children:[null!=f?(0,k.jsx)("img",{src:f,alt:d.name,className:lN.pV}):null,(0,k.jsxs)("div",{className:lN.d4,children:[(0,k.jsx)(lh.LN,{users:l,guildId:i,channelId:n.id}),(0,k.jsx)("div",{className:lN.ZE,children:(0,k.jsx)(tJ.$,{variant:"primary",size:"sm",text:na.intl.string(na.t.VJlc0S),onClick:e=>{e.stopPropagation(),(0,oX.A)({applicationId:o,activityChannelId:n.id,locationObject:u.location,analyticsLocations:c})}})})]})]})]})};var lG=n(812808);function lF(e){let{party:t,onChannelContextMenu:n,quest:i}=e,r=(0,lG.G)(),{voiceChannels:s,currentActivities:a,partiedMembers:o,applicationStreams:l,guildContext:u}=t,c=(0,ov.sb)(i),d=[],_=e=>{let{length:t}=d;d.push(e)};for(let{activity:e}of(s.length>0&&s.forEach(e=>{let{members:t,channel:i,guild:r}=e;_((0,k.jsx)(lk.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=oB.Fm(e);if(null!=t){_(t);break}}return l.length>0&&r&&l.forEach(e=>{let{stream:t,streamUser:n,activity:i}=e;_((0,k.jsx)(lk.ApplicationStreamingSection,{guildId:u?.id,user:n,activity:i,applicationStream:t,onPreviewClick:()=>{nD.default.selectVoiceChannel(t.channelId),(0,oP.Nl)(t)}},`application-stream-${t.ownerId}`))}),a.forEach((e,t)=>{let{activity:n,application:r,playingMembers:l,activityUser:d}=e;if(null==n||null==n.type)return null;if(n.type===eL.$pd.PLAYING){let e=null!=r?(0,k.jsx)(lk.GameSection,{application:r,partySize:{knownSize:l.length,unknownSize:0,totalSize:l.length},members:l,activity:n},`game-${n.session_id??t}-${n.application_id??t}`):null;if(a.length>1&&!(0,ox.A)(n)&&null!=e)_(e);else if((0,oU.A)(n)){let e=new Set(l.map(e=>e.id)),t=s.find(e=>null!=e)?.channel;null!=t&&_((0,k.jsx)(lk.EmbeddedActivitySection,{activity:n,participants:e,channel:t,guildId:t.guild_id},`embedded-activity-${n.application_id}`))}else null==e||(0,ox.A)(n)||null!=n.assets?_((0,k.jsx)(lk.RichPresenceSection,{activity:n,getAssetImage:oV.uD,user:d},`rich-presence-${n.session_id??t}-${d.id}`)):_(e)}else if((0,oG.A)(n)){let e=s.length>0&&s[0].members.length>1,i=l.length>1;_((0,k.jsx)(lk.TwitchSection,{guildId:u?.id,activity:n,user:e||i?d:null,getAssetImage:oV.uD},`streaming-${n.session_id??t}`))}else n.type===eL.$pd.LISTENING&&((0,ok.A)(n)?_((0,k.jsx)(lk.SpotifySection,{activity:n,isSolo:1===o.length,partySize:{knownSize:l.length,unknownSize:0,totalSize:l.length},getAssetImage:oV.uD,members:l},`spotify-${n.session_id??t}-${d.id}`)):(null!=n.assets||(0,ox.A)(n))&&_((0,k.jsx)(lk.RichPresenceSection,{activity:n,getAssetImage:oV.uD,user:d},`rich-presence-${n.session_id??t}-${d.id}`)));c&&null!=i&&null!=r&&(0,oR.zS)(n,i)&&(null==i.userStatus||!(0,oO.gO)(i.userStatus,oy.uF.ACTIVITY_PANEL))&&_((0,k.jsx)(oF.A,{quest:i},`quest-${i.id}-${n.session_id??t}`))}),d.length>0?(0,k.jsx)(lk.Body,{children:d}):null}var lV=n(61330);function lB(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,k.jsx)(lu.Ay,{start:c,location:lu.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=oB.Ij(u);if(null!=t)return t;switch(u.type){case eL.$pd.PLAYING:if((0,lV.A)(u))return{subtitle:na.intl.string(na.t.tO8wOx),icon:(0,k.jsx)(lk.Header.Icon,{src:lk.Header.Icon.Src.XBOX})};return{subtitle:(0,k.jsx)(lu.Ay,{start:c,location:lu.Ay.Locations.ACTIVITY_FEED_NEW,messageProps:d}),icon:null!=e?(0,k.jsx)(lk.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,k.jsx)(lk.Header.Icon,{src:e.getIconURL(64)}):null};case eL.$pd.LISTENING:let i;return i=(0,ok.A)(u)?(0,k.jsx)(lk.Header.Icon,{src:lk.Header.Icon.Src.SPOTIFY}):null!=e.getIconURL(64)?(0,k.jsx)(lk.Header.Icon,{src:e.getIconURL(64)}):(0,k.jsx)(lk.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,k.jsx)(lk.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=oB.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,k.jsx)(lk.Header.Icon,{src:lk.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,k.jsx)(lu.Ay,{start:i,location:lu.Ay.Locations.ACTIVITY_FEED_NEW,messageProps:d});return(0,lV.A)(t)?{subtitle:r,icon:(0,k.jsx)(lk.Header.Icon,{src:oZ.A.get(eL.fg2.XBOX).icon.lightPNG})}:{subtitle:r,icon:null!=n&&null!=n.getIconURL(64)?(0,k.jsx)(lk.Header.Icon,{src:n.getIconURL(64)}):null}}return{subtitle:na.intl.string(na.t.sau5tt),icon:(0,k.jsx)(lk.Header.Icon,{src:lk.Header.Icon.Src.MULTIPLE})}}(t),d=(0,ls.A)({applicationId:t.currentActivities[0]?.activity?.application_id,location:"FriendsActivityFeed",source:lr.Ob.FriendsActivityFeed}),_=(0,lt.A)({userId:o.user.id,guildId:a?.id}),f=(0,ln.a)({displayNameStyles:_});return(0,k.jsx)(lk.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?f:void 0})}var lH=n(964486),lj=n(308368),lY=n(780907),lW=n(776677),lK=n(874546),lz=n(651743),l$=n(30370),lq=n(134861),lZ=n(498642),lX=n(189081),lQ=n(480595),lJ=n(576705),l0=n(461213),l1=n(689168),l2=n(340829),l3=n(144914),l6=n(113673);let l4=oZ.A.get(eL.fg2.XBOX).name;var l5=n(975732),l7=n(297413),l8=n(564450);function l9(e){let{user:t,status:n,guildId:i}=e;return(0,k.jsxs)("div",{className:l8.Ku,children:[(0,k.jsx)(oW.eu,{src:t.getAvatarURL(i,24),className:l8.my,"aria-label":t.username,size:oK._3.SIZE_24,status:n}),(0,k.jsx)(l7.A,{user:t,hideDiscriminator:!0})]})}function ue(e){let{label:t}=e;return(0,k.jsxs)("div",{className:l8.Ku,children:[(0,k.jsx)("div",{className:t2()(l8.my,l8.L5)}),(0,k.jsx)("div",{children:t})]})}function ut(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,k.jsx)(sr.Dr,{id:e.id,keepItemStyles:!0,render:t=>(0,k.jsx)(l9,{...t,user:e,status:n,guildId:s}),action:()=>(0,l5.openUserProfileModal)({userId:e.id,guildId:s,sourceAnalyticsLocations:a})}));for(let e of n)o.push((0,k.jsx)(sr.Dr,{id:e.id,keepItemStyles:!0,render:t=>(0,k.jsx)(l9,{...t,user:e,guildId:s}),action:()=>(0,l5.openUserProfileModal)({userId:e.id,guildId:s,sourceAnalyticsLocations:a})}));let l=i-o.length;return l>0&&o.push((0,k.jsx)(sr.Dr,{id:`unknown-members-${r?.session_id}`,render:e=>(0,k.jsx)(ue,{...e,label:na.intl.formatToPlainString(na.t["6Kqn9M"],{count:l})})})),o}var un=n(308528),ui=n(855511);function ur(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,ox.A)(t)}),game_platform:e.currentActivities.length>0?(0,ui.A)(e.currentActivities[0].activity):null}}var us=n(655116),ua=n(341335),uo=n(286617),ul=n(533207),uu=n(881335),uc=n(272984);function ud(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,k.jsx)(sr.Dr,{id:"message",action:function(){un.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,...ur(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)([lJ.A],()=>null!=n&&lJ.A.can(eL.xBc.CONNECT,n.channel)),null==n?null:[(0,k.jsx)(sr.Dr,{id:"join-voice",action:function(){(0,l_.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,...ur(r)})},label:na.intl.string(na.t["8yOlh9"]),disabled:!i},"join-voice"),(0,k.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,...ur(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,k.jsx)(sr.Dr,{id:`spectate-${t.ownerId}`,action:()=>{nD.default.selectVoiceChannel(t.channelId),(0,oP.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)([us.A,eW.default],()=>null!=t?(0,uo.A)(us.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,k.jsx)(sr.Dr,{id:`spotify-play-${e.session_id}`,action:()=>(0,uu.A)(n,uc.Qp.USER_ACTIVITY_PLAY,void 0),label:na.intl.string(na.t.rRffNz),subtext:i?(0,ua.A)(n,uc.Qp.USER_ACTIVITY_PLAY):void 0,disabled:i},`spotify-play-${e.session_id}`),n.canPlaySpotify?(0,k.jsx)(sr.Dr,{id:`spotify-sync-${e.session_id}`,action:()=>(0,ul.A)(n,uc.Qp.USER_ACTIVITY_SYNC,void 0),label:na.intl.string(na.t.eU3inB),subtext:r?(0,ua.A)(n,uc.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,ox.A)(t)}),i=(0,e6.bG)([l$.A],()=>l$.A.getAccounts().some(e=>e.type===oZ.A.get(eL.fg2.XBOX).type)),r=t.filter(e=>{let{activity:t}=e;return(0,lV.A)(t)}),s=r.length>0,a=r.some(e=>{let{activity:t}=e;return(0,lK.Ay)(t)});return n||i||!s||a?null:(0,k.jsx)(sr.Dr,{id:"xbox-connect",action:()=>(0,i7.openUserSettings)(i5.X.CONNECTIONS_PANEL),label:na.intl.formatToPlainString(na.t.XWSHTb,{platform:l4})})}(e),r=function(e){let{currentActivities:t}=e,n=e8.useContext(ew.AnalyticsContext);return(0,e6.yK)([tT.default,lX.A,ib.A,tx.A,lZ.A,i1.A,nZ.A,iM.A,lJ.A,lQ.A,l0.A,iI.Ay,lz.A,l2.A,lq.A,ia.Ay,l1.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=lX.A.getActiveLibraryApplication(r.id);return{...t,libraryApplication:a,activityJoinability:(0,lW.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:nZ.A,VoiceStateStore:iM.A,PermissionStore:lJ.A,LocalActivityStore:lQ.A,SelfPresenceStore:l0.A,EmbeddedActivitiesStore:iI.Ay}),canPlay:(0,l3.A)({LibraryApplicationStore:lX.A,LaunchableGameStore:lz.A,DispatchApplicationStore:l2.A,ConnectedAppsStore:lq.A,applicationId:r.id,branchId:null!=a?a.branchId:null}),isJoining:l1.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===lW.o.JOINED)return(0,k.jsx)(sr.Dr,{id:`joined-game-${n.session_id}`,label:na.intl.string(na.t.KC26NR),subtext:n.name,disabled:!0});if(s===lW.o.CAN_JOIN)return(0,k.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:()=>{lY.Ay.join({userId:i.id,sessionId:n.session_id,applicationId:r.id,channelId:null,messageId:null,source:eL.ThZ.USER_ACTIVITY_ACTIONS})}});if((0,lK._C)(n)){async function o(){if(null==n)return;let e=await lj.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,k.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,k.jsx)(sr.Dr,{id:`play-${n.session_id}`,action:function(){(0,l6.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,of.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,k.jsx)(sr.rX,{label:n.length>1?na.intl.formatToPlainString(na.t.C4WXvc,{memberCount:n.length}):void 0,children:ut({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,k.jsx)(sr.rX,{label:`${a.name} - ${i.length}`,children:ut({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,k.jsx)(sr.rX,{label:`${na.intl.string(na.t["mIx+gG"])} - ${l.length}`,children:ut({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,lH.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,k.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,k.jsxs)(sr.rX,{children:[l,u]}),(0,k.jsx)(sr.rX,{children:c}),(0,k.jsx)(sr.rX,{children:d}),_]})}var u_=n(442433),uf=n(707606),uh=n(522986);let up=15*n5.A.Millis.MINUTE,uE=(f=function(e){let{party:t,onUserContextMenu:n,onChannelContextMenu:i,quest:r}=e,s=e8.useRef(null),a=(0,k.jsx)(lB,{party:t,onUserContextMenu:n}),o=(0,k.jsx)(lF,{party:t,onChannelContextMenu:i,quest:r}),{partiedMembers:l,applicationStreams:u,currentActivities:c,voiceChannels:d}=t,_=l.length,f=u.length,h=c.length,p=d.length>0,E=e8.useCallback(()=>{let e=c.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:_,num_streams:f,num_activities:h,in_voice_channel:p,games_detected:e})},[_,f,h,p,c]),m=e8.useMemo(()=>oT()(E,up),[E]);return null!=a||null!=o?(0,k.jsx)(so.Y,{targetElementRef:s,position:"left",renderPopout:e=>{let{closePopout:n}=e;return(0,k.jsx)(ud,{party:t,close:n})},spacing:8,children:(e,t)=>{let{isShown:n}=t;return(0,k.jsx)(lk,{...e,ref:s,onMouseEnter:m,"aria-haspopup":"menu",className:uh.MP,active:n,children:(0,k.jsxs)("div",{children:[a,o]})})}}):null},(0,uf.A)(class extends e8.Component{render(){return(0,k.jsx)(f,{...this.props,onMessageUser:this.handleMessageUser,onUserContextMenu:this.handleUserContextMenu,onGuildContextMenu:this.handleGuildContextMenu,onChannelContextMenu:this.handleChannelContextMenu})}handleMessageUser(e,t){return un.A.openPrivateChannel({recipientIds:t.id})}handleUserContextMenu(e,t,i){(0,u_.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("19960"),n.e("25907"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("8757"),n.e("89673"),n.e("85968"),n.e("60195"),n.e("68403"),n.e("29787"),n.e("97558"),n.e("94000"),n.e("91994"),n.e("76665"),n.e("76273"),n.e("24198"),n.e("86169"),n.e("32418")]).then(n.bind(n,668569));return n=>(0,k.jsx)(e,{...n,user:t})},{onClose:i})}handleGuildContextMenu(e,t){(0,u_.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("54747"),n.e("60060"),n.e("94864"),n.e("6772"),n.e("758"),n.e("27681"),n.e("27107"),n.e("7017"),n.e("78220"),n.e("17094"),n.e("18934"),n.e("74587"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("45650"),n.e("80559"),n.e("333"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("25610"),n.e("6720"),n.e("44135"),n.e("76822"),n.e("67921"),n.e("95780"),n.e("59007"),n.e("87845"),n.e("45970"),n.e("47620"),n.e("56574"),n.e("80186"),n.e("34354"),n.e("23924"),n.e("71470"),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("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("93103"),n.e("91763"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("87478"),n.e("44780"),n.e("5557"),n.e("59957"),n.e("83952"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("49145"),n.e("60773"),n.e("9004"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("15109"),n.e("29666"),n.e("58273"),n.e("19454"),n.e("20930"),n.e("74610"),n.e("26001"),n.e("16988"),n.e("30997"),n.e("14591"),n.e("52111"),n.e("28136"),n.e("57458"),n.e("59797"),n.e("93336"),n.e("60358"),n.e("87436"),n.e("16084"),n.e("1243"),n.e("75859"),n.e("43116"),n.e("27659"),n.e("10943"),n.e("15920"),n.e("68530"),n.e("3930"),n.e("44057"),n.e("3663"),n.e("87317"),n.e("66580"),n.e("78046"),n.e("80093"),n.e("38601"),n.e("73669"),n.e("7775"),n.e("22547"),n.e("60989"),n.e("82486"),n.e("3710"),n.e("45830"),n.e("61058"),n.e("50342"),n.e("33097"),n.e("77602"),n.e("10262"),n.e("95602"),n.e("46313"),n.e("5896"),n.e("69178"),n.e("29569"),n.e("36002"),n.e("43233"),n.e("41786"),n.e("91643"),n.e("63726"),n.e("71329"),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("14878"),n.e("88307"),n.e("26508"),n.e("61347"),n.e("73091"),n.e("86692"),n.e("52695"),n.e("16237"),n.e("16373"),n.e("81398"),n.e("24484"),n.e("44943"),n.e("32347"),n.e("8458"),n.e("11810"),n.e("48111"),n.e("90152"),n.e("87973"),n.e("57197"),n.e("14863"),n.e("84951"),n.e("71167"),n.e("12390"),n.e("13446"),n.e("34409"),n.e("61309"),n.e("94529"),n.e("30313"),n.e("50276"),n.e("21300"),n.e("17699"),n.e("57032"),n.e("45322"),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,k.jsx)(e,{...n,guild:t})})}handleChannelContextMenu(e,t){let i=tx.A.getGuild(t.getGuildId());if(null==i)return null;(0,u_.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,k.jsx)(e,{...n,channel:t,guild:i})})}})),um=im().throttle(()=>oD.u(),3e5);function ug(){let{nowPlayingCards:e,loaded:t,needsRefresh:n,fetching:i,currentUser:r}=(0,e6.cf)([ow.A,oL.A,tT.default],()=>({nowPlayingCards:ow.A.nowPlayingCards,loaded:ow.A.loaded,needsRefresh:oL.A.shouldFetch(),fetching:oL.A.isFetching(),currentUser:tT.default.getCurrentUser()})),s=(0,e6.bG)([oN.A],()=>oN.A.quests),a=(0,ov.oH)(Array.from(s.values()));e8.useEffect(()=>(e$.h.wait(()=>oM.O()),()=>{e$.h.wait(()=>oM.v())}),[r?.id]),e8.useEffect(()=>{n&&!i&&um()},[n,i]);let{use_api_call:o}=oC.getConfig({location:"NowPlaying"}),{questsByPartyId:l,questIdsByPartyId:u}=e8.useMemo(()=>{let t=new Map,n=new Map,i=new Set,r=(0,ob.$e)(s,aq.B3);for(let s of e)s.party.currentActivities.forEach(e=>{let{activity:a}=e;if(null==a)return;let o=(0,oR.nq)(r,a);null==o||i.has(o.id)||(t.set(s.party.id,o),i.add(o.id),n.set(s.party.id,o.id))});return{questsByPartyId:t,questIdsByPartyId:n}},[e,s,a]),c=(0,e6.bG)([oN.A],()=>oN.A.earnedQuestForPlacement.get(oy.uF.ACTIVITY_PANEL),[]),d=e8.useRef([]),_=e8.useMemo(()=>{let e=Array.from(u.values()),t=d.current;return t.length===e.length&&e.every((e,n)=>e===t[n])?t:(d.current=e,e)},[u]);e8.useEffect(()=>{o&&0!==_.length&&(0,oS.yO)(_,oy.uF.ACTIVITY_PANEL,"NowPlaying")},[_,o,c]);let f=e8.useMemo(()=>{if(!o)return l;if(null==c)return new Map;let e=new Map;for(let[t,n]of u.entries()){let i=c.earnedDecisionByQuestId.get(n),r=s.get(n);(0,oO.Oh)(i)&&i.shouldDeliver&&null!=r&&e.set(t,r)}return e},[c,u,l,o,s]),h=null;return t?h=e.length>0?e.map(e=>{let{party:t}=e;return(0,k.jsx)(uE,{party:t,quest:f.get(t.id)},t.id)}):(0,k.jsxs)("div",{className:uh.aM,children:[(0,k.jsx)(aF.D,{variant:"heading-md/semibold",className:uh.jU,children:na.intl.string(na.t["ngJ/5u"])}),(0,k.jsx)(sw.E,{color:"none",className:uh.BI,variant:"text-sm/normal",children:na.intl.string(na.t["99ZWxQ"])})]}):(0,k.jsx)("div",{className:uh.aM,children:(0,k.jsx)(rn.y,{})})}var uA=n(678428);function uI(){let{analyticsLocations:e}=(0,of.Ay)(ii.A.ACTIVE_NOW_COLUMN),t=(0,e6.bG)([oA.A],()=>oA.A.hasConsented(eL.YAq.PERSONALIZATION))?[]:[rM.M.NOW_PLAYING_CONSENT_CARD],n=(0,oo.GV)();return(0,k.jsx)(of.f5,{value:e,children:(0,k.jsx)(o_.A,{section:eL.JJy.ACTIVE_NOW_COLUMN,children:(0,k.jsx)("aside",{className:t2()(uA.kL,"refresh-active-now"),"aria-labelledby":n,children:(0,k.jsx)(od.Ip,{className:uA.XG,children:(0,k.jsxs)("div",{children:[(0,k.jsx)(aF.D,{variant:"heading-lg/semibold",className:uA.wx,id:n,children:na.intl.string(na.t.F4Zggw)}),(0,k.jsx)(rx.Ay,{contentTypes:t,children:e=>{let{visibleContent:t,markAsDismissed:n}=e;if(t===rM.M.NOW_PLAYING_CONSENT_CARD)return(0,k.jsx)(og,{className:uA.__invalid_consentCard,markAsDismissed:n})}}),(0,k.jsx)(ug,{})]})})})})})}var uT=n(210714),uS=n(595623),uN=n(189812),uy=n(573725),uC=n(717398),uv=n(953051);let uO=(0,eM.mj)({kind:"user",name:"2026-03-friend-request-message",defaultConfig:{enabled:!1},variations:{1:{enabled:!0}}});var uR=n(395422),ub=n(650583),uD=n(235351),uL=n(818050);let uw=n(892799),uM={canSend:!1,hint:null,success:null,error:null},uP=(0,oo.Ld)(),ux=`${uP}-decription`,uU=`${uP}-error`;function uk(e,t){switch(t.type){case"RESET":return uM;case"SUCCESS":return{...uM,success:t.text};case"HINT":return{...uM,canSend:!0,hint:t.text};case"ERROR":return{...e,canSend:!0,error:t.text}}}function uG(e){let{placeholder:t=na.intl.string(na.t["Rn/sLl"])}=e,n=e8.useRef(null),i=e8.useRef(null),[r,s]=e8.useReducer(uk,uM),{canSend:a,hint:o,error:l,success:u}=r,{enabled:c}=uO.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,k.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,uR.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,uR.vU)(e.body?.code,t)}))},autoComplete:"off",children:[(0,k.jsxs)("div",{className:uD.QR,children:[(0,k.jsx)(sw.E,{tag:"div",variant:"heading-md/normal",children:na.intl.string(na.t["Rn/sLl"])}),(0,k.jsx)("img",{src:uw,alt:"Wumpus Waving"})]}),(0,k.jsx)(e5.vN,{focusTarget:n,ringTarget:i,ringClassName:uD.hN,children:(0,k.jsxs)("div",{className:t2()(uD.fc,{[uD.kX]:u,[uD.z3]:!c&&l,[uD._f]:c&&l}),children:[(0,k.jsxs)("div",{ref:i,className:uD.qe,children:[(0,k.jsx)(uy.p,{id:uP,inputRef:n,className:uD.QP,inputClassName:uD.hF,onKeyPress:e=>{let t=e.currentTarget.value;if(e.key!==ub.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===ub.N$.Backspace||e.key===ub.N$.ArrowRight||e.key===ub.N$.ArrowLeft,a=(0,uv.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,autoFocus:!0,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:ux}),null!=o&&(0,k.jsx)("div",{className:uD.dQ,"aria-hidden":!0,children:o}),(0,k.jsx)(tJ.$,{variant:"primary",size:"sm",text:na.intl.string(na.t["PMsq/b"]),disabled:!a,type:"submit"})]}),c&&a&&(0,k.jsxs)("div",{className:uD.v7,children:[(0,k.jsx)(uN.d,{className:uD.xh,value:d,onChange:e=>_(e.target.value),placeholder:na.intl.string(na.t.Yi6Mpu),maxLength:120}),(0,k.jsx)("div",{className:uD.Dq,children:(0,k.jsx)(sw.E,{variant:"text-sm/normal",color:"text-subtle",children:120-d.length})})]})]})}),c&&a&&null==l&&null==u&&(0,k.jsx)(sw.E,{variant:"text-sm/normal",className:uL.Ot,color:"text-subtle",children:na.intl.string(na.t.UtfQNw)}),null!=l&&(0,k.jsx)("div",{role:"alert",children:(0,k.jsx)(sw.E,{id:uU,variant:"text-sm/normal",className:uL.Ot,color:"text-feedback-critical",children:l})}),null!=u&&(0,k.jsx)("div",{role:"status",children:(0,k.jsx)(sw.E,{variant:"text-sm/normal",className:uL.Ot,color:"text-feedback-positive",children:u})})]})}var uF=n(976860);function uV(e){let{color:t="currentColor",...n}=e;return(0,k.jsx)("svg",{...n,fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,k.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 uB=n(505973);function uH(){var e,t,n;return(0,k.jsxs)(e8.Fragment,{children:[(0,k.jsxs)("header",{className:uB.wx,children:[(0,k.jsx)(aF.D,{variant:"heading-lg/semibold",color:"text-strong",children:na.intl.string(na.t.IuMx1Y)}),(0,k.jsx)(sw.E,{tag:"div",variant:"heading-md/normal",children:na.intl.string(na.t.DwevPs)})]}),(0,k.jsx)("div",{className:uB.Vg,children:(e=sv.Q,t=na.intl.string(na.t.AhKnz4),n=()=>{ew.default.track(eL.HAw.ADD_FRIEND_OTHER_PLACES_DISCOVERY_CLICKED),(0,uF.pX)(eL.BVt.GUILD_DISCOVERY)},(0,k.jsxs)("button",{className:uB.kL,onClick:n,children:["function"==typeof e?(0,k.jsx)("div",{className:uB.Kk,children:(0,k.jsx)(e,{className:uB.__invalid_iconInner,color:r9.A.colors.WHITE.css})}):(0,k.jsx)("img",{className:uB.Kk,alt:"",src:e}),(0,k.jsx)(sw.E,{className:uB.Qq,variant:"text-md/medium",children:t}),(0,k.jsx)(uV,{className:uB.UE})]},t))})]})}var uj=n(739175);function uY(){return(0,k.jsxs)("header",{className:uj.wx,children:[(0,k.jsx)(aF.D,{variant:"heading-lg/semibold",className:uj.DD,children:na.intl.string(na.t.w5uwoI)}),(0,k.jsx)(uG,{})]})}let uW=function(){return(0,k.jsxs)(e8.Fragment,{children:[(0,k.jsx)(uY,{}),(0,k.jsx)(uH,{})]})};var uK=n(123292),uz=n(900797),u$=n(847374),uq=n(892547),uZ=n(70730),uX=n(45787),uQ=n(275759),uJ=n(534890),u0=n(530005),u1=n(3203),u2=n(408278),u3=n(597770),u6=n(414711),u4=n(397244),u5=n(714114),u7=n(394871),u8=n(501859);let u9=function(e){let{hovered:t,activities:n,applicationStream:i,status:r,user:s,userIgnored:a}=e,{voiceChannel:o}=(0,u5.A)({userId:s?.id});return a?(0,k.jsx)("div",{className:u8.Q,children:na.intl.string(na.t.tFY5Zb)}):(0,u4.A)({activities:n,status:r,applicationStream:i,voiceChannel:o})?(0,k.jsx)(u7.A,{textClassName:u8.q,activities:n,applicationStream:i,voiceChannel:o,animateEmoji:t,user:s,textSize:"sm"}):(0,k.jsx)("div",{className:u8.Q,children:(0,st.MU)(r)})};var ce=n(723690),ct=n(751188);n(646363);var cn=n(728552);function ci(e){let{ref:t,isFocused:i,isActive:r,status:s,activities:a,applicationStream:o,isGameRelationship:l,isMobile:u,isVR:c,onOtherHover:d,onClick:_,recipientUser:f,analyticsLocations:h,giftIntentType:p}=e,{analyticsLocations:E}=(0,of.Ay)(ii.A.PREMIUM_GIFT_INTENT_FRIEND_ROW),{Component:m}=(0,u1.V)(),g=(0,e6.bG)([uQ.Ay],()=>uQ.Ay.getFriendAnniversaryYears(f.id)),{openGiftModal:A}=(0,ct.$)({giftRecipient:f,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=oL.A.getUserAffinity(f.id);(0,o3.x)({name:eO.ImpressionNames.GIFT_INTENT_ACTION_BUTTON,type:eO.ImpressionTypes.VIEW,properties:{gift_intent_type:p,affinity:e?.communicationProbability}})},[f,p]);let I=e=>{e.stopPropagation();let t=oL.A.getUserAffinity(f.id);ew.default.track(eL.HAw.GIFT_INTENT_ACTION_BUTTON_CLICKED,{gift_intent_type:p,affinity:t?.dmProbability,location_stack:E}),A()};return(0,k.jsx)(u6.A,{ref:t,isFocused:i,isActive:r,user:f,analyticsLocations:h,onOtherHover:d,onClick:_,height:72,children:e=>(0,k.jsxs)("div",{className:t2()(cn.a4,cn.Z$),children:[(0,k.jsx)(ce.A,{className:cn.Cv,user:f,status:s,isMobile:u,isVR:c,subText:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(u9,{hovered:e,activities:a,applicationStream:o,status:s,user:f,userIgnored:i1.A.isIgnored(f.id)}),(0,k.jsxs)("div",{className:cn.K3,children:[(0,k.jsx)(sb.$,{size:"xxs",color:"currentColor"}),(0,k.jsx)(sw.E,{variant:"text-xs/normal",color:"text-subtle",children:na.intl.formatToPlainString(na.t.S3fdq7,{numberOfYears:g})})]})]}),hovered:e,showAccountIdentifier:!l&&!f.isProvisional}),(0,k.jsxs)("div",{className:cn.o1,children:[(0,k.jsx)(u2.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,uX.xs)(f.id),(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("22638"),n.e("95501")]).then(n.bind(n,367516));return t=>(0,k.jsx)(e,{...t,giftIntentType:p??void 0,analyticsLocationHistory:E})})}}),(0,k.jsx)(tJ.$,{size:"sm",text:na.intl.string(na.t.PEjaCx),icon:u3.o,"aria-label":na.intl.string(na.t.PEjaCx),onClick:I})]})]})})}var cr=n(22212),cs=n(430159),ca=n(513297),co=n(788868);function cl(e){let{user:t,applicationId:n,isGameRelationship:i,onSelect:r}=e,s=e8.useCallback(()=>{(0,cr.X9)({targetUserId:t.id,tab:uS.Ay.getState().section}),un.A.openPrivateChannel({recipientIds:t.id,joinCall:!0})},[t.id]),a=e8.useCallback(()=>{(0,cr.Cf)({targetUserId:t.id,tab:uS.Ay.getState().section}),un.A.openPrivateChannel({recipientIds:t.id,joinCall:!0,joinCallVideo:!0})},[t.id]),o=e8.useCallback(()=>{cs.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,cr.lP)({targetUserId:t.id,tab:uS.Ay.getState().section}),sf.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,k.jsxs)(si.W,{"data-menu-migrated-auto":!0,navId:"friend-row","aria-label":na.intl.string(na.t.liqwPJ),onClose:u_.Z_,onSelect:r,children:[!c&&u?(0,k.jsx)(sr.Dr,{id:"start-video-call",label:na.intl.string(na.t.oCqlGG),action:a}):null,!c&&(0,k.jsx)(sr.Dr,{id:"start-voice-call",label:na.intl.string(na.t.focH1t),action:s}),(0,k.jsx)(sr.Dr,{id:"remove-friend",label:d,action:l,color:"danger"})]})}class cu 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,uF.pX)(eL.BVt.CHANNEL(eL.ME,t)):un.A.openPrivateChannel({recipientIds:e.id})};handleRowClick=e=>{e.stopPropagation(),(0,cr.xF)({targetUserId:this.props.user.id,tab:uS.Ay.getState().section}),this.openPrivateChannel()};handleMessageClick=e=>{e.stopPropagation(),(0,cr.WD)({targetUserId:this.props.user.id,tab:uS.Ay.getState().section}),this.openPrivateChannel()};handleOpenActionsMenu=e=>{let{user:t,isGameRelationship:n,applicationId:i}=this.props;(0,u_.jA)(e,e=>(0,k.jsx)(cl,{...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,uZ.p)(ii.A.FRIENDS_LIST)&&u===co.np.FRIEND_ANNIVERSARY&&c&&0===d?(0,k.jsx)(ci,{ref:this.peopleListItemRef,isFocused:t,isActive:_,recipientUser:e,analyticsLocations:n,onOtherHover:()=>_?null:(0,u_.Z_)(),onClick:this.handleRowClick,giftIntentType:u,status:s,activities:i,applicationStream:r,isMobile:a,isVR:o,isGameRelationship:l}):(0,k.jsx)(u6.A,{ref:this.peopleListItemRef,isFocused:t,isActive:_,user:e,analyticsLocations:n,onOtherHover:()=>_?null:(0,u_.Z_)(),onClick:this.handleRowClick,children:t=>(0,k.jsxs)("div",{className:cn.a4,children:[(0,k.jsx)(ce.A,{user:e,status:s,isMobile:a,isVR:o,subText:(0,k.jsx)(u9,{hovered:t,activities:i,applicationStream:r,status:s,user:e,userIgnored:i1.A.isIgnored(e.id)}),hovered:t,showAccountIdentifier:!l&&!e.isProvisional}),(0,k.jsxs)("div",{className:cn.o1,children:[(0,k.jsx)(ca.A,{icon:uJ.o,tooltip:na.intl.string(na.t["g33r/P"]),onClick:this.handleMessageClick,shouldHighlight:t}),(0,k.jsx)(ca.A,{icon:u0.F,tooltip:na.intl.string(na.t["UKOtz+"]),onClick:this.handleOpenActionsMenu,shouldHighlight:t})]})]})})}}var cc=n(615300),cd=n(396478),c_=n(34275),cf=((h={}).SECTION_NO_RESULTS="SECTION_NO_RESULTS",h);let ch=Object.freeze({SECTION_ALL:{lightSrc:n(445451),darkSrc:n(642269),width:376,height:162,renderContent:e=>(0,k.jsxs)(e8.Fragment,{children:[(0,k.jsx)(cd.SG,{note:na.intl.string(na.t.Y4vMY8)}),(0,k.jsx)("div",{"data-button-hoisted-classname-wrapper":!0,className:c_.x6,children:(0,k.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,k.jsx)(cd.SG,{note:na.intl.string(na.t.v7HbiQ)})},SECTION_BLOCKED:{lightSrc:n(751906),darkSrc:n(689818),width:433,height:232,renderContent:()=>(0,k.jsx)(cd.SG,{note:na.intl.string(na.t["9xdyWB"])})},SECTION_PENDING:{lightSrc:n(826223),darkSrc:n(317017),width:415,height:200,renderContent:(e,t)=>(0,k.jsxs)("div",{className:c_.y7,children:[(0,k.jsx)(cd.SG,{note:na.intl.string(na.t["aCYQ+P"])}),null!=e&&(0,k.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,k.jsx)(cd.SG,{note:na.intl.string(na.t["vgI/EF"])})},SECTION_NO_RESULTS:{lightSrc:n(939333),darkSrc:n(492055),width:421,height:218,renderContent:()=>(0,k.jsx)(cd.SG,{note:na.intl.string(na.t["7sW4h1"])})}}),cp=e=>{let{theme:t}=e,n=na.intl.string(na.t["oi+B4p"]);return(0,k.jsx)(cd.pp,{theme:t,children:(0,k.jsx)(cd.SG,{note:n})})};class cE extends e8.PureComponent{state={opacity:new cc.A.Value(1)};componentWillEnter=e=>{this.state.opacity.setValue(0),cc.A.timing(this.state.opacity,{toValue:1,duration:250}).start(e)};componentWillLeave=e=>{cc.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 ch.SECTION_ALL;case eL.m3P.ONLINE:return ch.SECTION_ONLINE;case eL.m3P.PENDING:return ch.SECTION_PENDING;case eL.m3P.SUGGESTIONS:return ch.SECTION_SUGGESTIONS;case"SECTION_NO_RESULTS":return ch.SECTION_NO_RESULTS;default:throw Error("FriendsEmptyState: Invalid empty state")}}(e);return e===eL.m3P.ADD_FRIEND?(0,k.jsx)(cc.A.div,{className:c_.VD,style:i,children:(0,k.jsx)(cp,{theme:n})}):(0,k.jsx)(cc.A.div,{className:c_.VD,style:i,children:(0,k.jsx)(cd.pp,{theme:n,children:r.renderContent(t)})})}}let cm=e6.Ay.connectStores([to.A],()=>({theme:to.A.theme}),{forwardRef:!0})(cE);var cg=n(933832),cA=n(789645),cI=n(39623),cT=n(216964),cS=n(640708),cN=n(390848),cy=n(525075);function cC(e){let{user:t,applicationId:n,isGameRelationship:i,active:r}=e,[s,a]=e8.useState(!1),o=tT.default.getCurrentUser()?.isStaff()&&t?.isStaff(),{acceptFriendRequest:l,cancelFriendRequest:u}=(0,cN.I)({userId:t.id,applicationId:n,isGameRelationship:i,location:"Friends",onFinally:()=>{a(!1)}}),c=e8.useCallback(e=>{a(!0),e.stopPropagation(),l()},[l]),d=e8.useCallback(e=>{e.stopPropagation(),u()},[u]);return(0,k.jsxs)(k.Fragment,{children:[o&&(0,k.jsx)("div",{className:cy.ou,children:(0,k.jsx)(oi.Lp,{color:r9.A.unsafe_rawColors.BRAND_500.css,text:na.intl.string(na.t.oMx98L)})}),(0,k.jsx)(ca.A,{icon:cg.A,actionType:ca.A.ActionTypes.ACCEPT,tooltip:na.intl.string(na.t.Zcibdf),onClick:c,shouldHighlight:r,loading:s}),(0,k.jsx)(ca.A,{icon:cA.P,actionType:ca.A.ActionTypes.DENY,tooltip:na.intl.string(na.t.xuio0C),onClick:d,shouldHighlight:r})]})}function cv(e){let{userId:t,applicationId:n,isGameRelationship:i,active:r}=e,{cancelFriendRequest:s}=(0,cN.I)({userId:t,applicationId:n,isGameRelationship:i,location:"Friends"}),a=e8.useCallback(e=>{e.stopPropagation(),s()},[s]);return(0,k.jsx)(ca.A,{icon:cA.P,actionType:ca.A.ActionTypes.DENY,tooltip:na.intl.string(na.t.eaq81S),onClick:a,shouldHighlight:r})}function cO(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,k.jsxs)("div",{className:cy.P9,children:[!a&&!d&&(0,k.jsx)(sw.E,{variant:"text-sm/medium",color:"text-subtle",children:o}),!a&&d&&(0,k.jsx)(cD,{note:c,relationshipType:n}),null!=l&&(0,k.jsxs)(k.Fragment,{children:[!a&&(0,k.jsx)(cS.A,{height:2,width:2}),(0,k.jsx)(li.A,{game:l,size:li.M.XXSMALL}),(0,k.jsx)(sw.E,{variant:"text-sm/medium",color:"text-subtle",children:l.name})]})]})}function cR(e){let{user:t,hovered:n,status:i,isGameRelationship:r,applicationId:s,relationshipType:a}=e,o=st.Ay.useUserTag(t);return(0,k.jsx)(ce.A,{user:t,hovered:n,status:i,showAccountIdentifier:!1,subText:(0,k.jsx)(cO,{userId:t.id,relationshipType:a,isGameRelationship:r,isProvisional:t.isProvisional,applicationId:s,userTag:o})})}function cb(e){let{user:t,type:n,status:i,isFocused:r,applicationId:s,isGameRelationship:a}=e,{analyticsLocations:o}=(0,of.Ay)(),l=i===eL.clD.OFFLINE?eL.clD.UNKNOWN:i,u=e8.useCallback(()=>(0,l5.openUserProfileModal)({userId:t.id,sourceAnalyticsLocations:o}),[o,t.id]);return(0,k.jsx)(u6.A,{isFocused:r,user:t,analyticsLocations:o,onClick:u,children:e=>(0,k.jsxs)("div",{className:cy.a4,children:[(0,k.jsx)(cR,{user:t,hovered:e,status:l,isGameRelationship:a,applicationId:s,relationshipType:n}),(0,k.jsx)("div",{className:cy.o1,children:n===eL.eA$.PENDING_INCOMING?(0,k.jsx)(cC,{user:t,applicationId:s,isGameRelationship:a,active:e}):(0,k.jsx)(cv,{userId:t.id,applicationId:s,isGameRelationship:a,active:e})})]})})}let cD=e=>{let{note:t,relationshipType:n}=e,[i,r]=e8.useState(n===eL.eA$.PENDING_INCOMING),s=e8.useCallback(e=>{e.stopPropagation(),r(!1)},[]);return i?(0,k.jsxs)(t3.D,{className:cy.lm,onClick:s,children:[(0,k.jsx)(cI.b,{size:"sm",color:r9.A.colors.TEXT_BRAND}),(0,k.jsx)(sw.E,{variant:"text-sm/medium",color:"text-brand",children:na.intl.string(na.t.sB0q4C)})]}):(0,k.jsxs)("div",{className:cy.gA,children:[(0,k.jsx)(cT.c,{size:"xxs",color:r9.A.colors.ICON_SUBTLE}),(0,k.jsx)(sw.E,{variant:"text-sm/normal",color:"text-subtle",children:t})]})};var cL=n(887129),cw=n(837381),cM=n(475825),cP=n(795733);let cx=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===co.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),f=e8.useRef(null),h=e8.useCallback(()=>new Promise(e=>{let t=f.current;if(null==t)return e();t.scrollToTop({callback:()=>requestAnimationFrame(()=>e())})}),[]),p=e8.useCallback(()=>new Promise(e=>{let t=f.current;if(null==t)return e();t.scrollToBottom({callback:()=>requestAnimationFrame(()=>e())})}),[]),E=e8.useCallback(e=>{let t=document.querySelector(e),n=f.current;null!=t&&null!=n&&n.scrollIntoViewNode({node:t,padding:8,callback:()=>t?.focus()})},[]),m=(0,cL.Ay)({id:"people-list",isEnabled:_,scrollToStart:h,scrollToEnd:p,setFocus:E}),g=e8.useMemo(()=>t.map(e=>e.length),[t]);return(0,k.jsx)(cw.hD,{navigator:m,children:(0,k.jsx)(cw.PR,{children:e=>{let{ref:t,...n}=e;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(cM.Ei,{ref:e=>{f.current=e,t.current=e?.getScrollerNode()??null},renderRow:o,rowHeight:l,renderSection:u,sectionHeight:50,renderFooter:c,footerHeight:d,sections:g,className:cP.e3,...n}),r]})}})})};var cU=n(868285);let ck=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,cL.Ay)({id:"people",isEnabled:l,async scrollToStart(){},async scrollToEnd(){}}),d=s!==eL.m3P.ONLINE&&s!==eL.m3P.ALL,_=u||r||d,f=e8.useMemo(()=>t.map((e,t)=>0===e.length?null:_?(0,k.jsxs)("div",{children:[i(t),e.map(e=>n(e,t)),o?.(t)]},t):(0,k.jsxs)(cU.F,{transitionAppear:!1,component:"div",children:[i(t),e.map(e=>n(e,t)),o?.(t)]},t)),[n,i,o,t,_]);return(0,k.jsx)(cw.hD,{navigator:c,children:(0,k.jsx)(cw.PR,{children:e=>{let{ref:t,...n}=e;return(0,k.jsxs)(od.Ar,{ref:t,className:cP.e3,...n,children:[f,a]})}})})};function cG(e){let{rows:t,renderRow:n,renderSection:i,isVirtualizedList:r,hasSearchQuery:s,sectionFilter:a,footer:o,renderSectionFooter:l}=e;return r?(0,k.jsx)(cx,{rows:t,renderRow:n,renderSection:i,footer:o,sectionFilter:a,renderSectionFooter:l}):(0,k.jsx)(ck,{rows:t,renderRow:n,renderSection:i,sectionFilter:a,hasSearchQuery:s,footer:o,renderSectionFooter:l})}var cF=n(866945),cV=n(613755);function cB(){let[e,t]=(0,rh.kn)([rM.M.RESTRICTED_ACCOUNTS_SETTING_NOTICE]);return e8.useMemo(()=>e===rM.M.RESTRICTED_ACCOUNTS_SETTING_NOTICE,[e])?(0,k.jsx)(cF.e,{label:na.t.zqv4nV,labelHook:()=>{(0,i7.openUserSettings)(i5.X.CONTENT_AND_SOCIAL_RESTRICTED_USERS_CATEGORY)},dismissNotice:()=>t(rE.i.USER_DISMISS),className:cV._,noticeType:n2.YA.RESTRICTED_ACCOUNTS_SETTING_NOTICE}):null}var cH=n(485947),cj=n(490277);function cY(e){let{title:t,id:n}=e;return(0,k.jsx)(cH.A,{className:cj.D,id:n,children:t})}var cW=n(38910),cK=n(648356);function cz(e){let{user:t,nickname:n,status:i,isFocused:r}=e,{analyticsLocations:s}=(0,of.Ay)(),a=e=>{e?.stopPropagation(),uC.A.addRelationship({userId:t.id,context:{location:"Friends"},type:void 0,fromFriendSuggestion:!0})},o=e=>{e?.stopPropagation(),cW.A.ignore(t.id)},l=i===eL.clD.OFFLINE?eL.clD.UNKNOWN:i;return(0,k.jsx)(u6.A,{isFocused:r,user:t,analyticsLocations:s,onClick:()=>(0,l5.openUserProfileModal)({userId:t.id,sourceAnalyticsLocations:s}),children:e=>{let i=(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ca.A,{icon:cg.A,actionType:ca.A.ActionTypes.ACCEPT,tooltip:na.intl.string(na.t.Zcibdf),onClick:a,shouldHighlight:e}),(0,k.jsx)(ca.A,{icon:cA.P,actionType:ca.A.ActionTypes.DENY,tooltip:na.intl.string(na.t.xuio0C),onClick:o,shouldHighlight:e})]});return(0,k.jsxs)("div",{className:cK.a,children:[(0,k.jsx)(ce.A,{user:t,hovered:e,status:l,subText:n,className:cK.__invalid_userInfo}),(0,k.jsx)("div",{className:cK.o,children:i})]})}})}let c$=[];function cq(){oa.A.transitionToSection(eL.m3P.ADD_FRIEND,{explicit:!0})}function cZ(){(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("27917"),n.e("73152")]).then(n.bind(n,516259));return t=>(0,k.jsx)(e,{...t})})}function cX(e){let{section:t,showSpamCta:n}=e,i=e8.useMemo(()=>n?cZ:t!==eL.m3P.PENDING?cq:void 0,[n,t]);return(0,k.jsx)("div",{className:cP.y7,children:(0,k.jsx)(cm,{type:t,onClick:i},t)})}let cQ=function(e){let{titleId:t}=e,{analyticsLocations:n}=(0,of.Ay)(ii.A.FRIENDS_LIST),{rows:i,section:r}=(0,e6.cf)([uS.Ay],()=>uS.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,uZ.p)(ii.A.FRIENDS_LIST),[d,_]=e8.useState(!1),f=e8.useCallback((e,t)=>{let{key:i,...a}=e;switch(r){case eL.m3P.PENDING:return(0,k.jsx)(cb,{...a,isFocused:s},i);case eL.m3P.SUGGESTIONS:return(0,k.jsx)(cz,{...a,isFocused:s},i);case eL.m3P.ALL:return(0,k.jsx)(cu,{...a,isFocused:s,analyticsLocations:n,sectionIndex:t,hasFriendAnniversarySection:c},`${t}-${i}`);case eL.m3P.ONLINE:default:return(0,k.jsx)(cu,{...a,isFocused:s,analyticsLocations:n},i)}},[r,s,n,c]),h=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 c$;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===co.np.FRIEND_ANNIVERSARY)?m.filter(e=>e.giftIntentType===co.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===co.np.FRIEND_ANNIVERSARY)))return[m];{let e=[];return m.forEach(t=>{t.giftIntentType===co.np.FRIEND_ANNIVERSARY&&e.push(t)}),e.sort((e,t)=>oL.A.compareByDmProbability(e.userId,t.userId)),[d?e:e.slice(0,uQ.ZD),m]}default:return[m]}},[m,r,d,c]),S=e8.useMemo(()=>m.filter(e=>e.type===eL.eA$.PENDING_INCOMING).length,[m]),N=r===eL.m3P.PENDING&&S>0&&S>=5,y=e8.useCallback(e=>{e.stopPropagation(),uC.A.confirmClearPendingRelationships(S)},[S]),C=e8.useCallback(()=>{_(e=>!e)},[]),v=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,uZ.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===co.np.FRIEND_ANNIVERSARY));return r===eL.m3P.PENDING&&0===e?(0,k.jsxs)("div",{className:cP.Gf,children:[(0,k.jsx)(cY,{id:t,title:i}),N&&(0,k.jsx)("div",{className:cP.mt,children:(0,k.jsx)(uK.Q,{text:na.intl.string(na.t.O8k7O4),onClick:y,"aria-label":na.intl.string(na.t.O8k7O4),textVariant:"text-sm/medium"})})]},i):(0,k.jsx)("div",{className:cP.Gf,children:(0,k.jsx)(cY,{id:t,title:i})},i)},[T,r,t,N,y]),O=e8.useCallback(e=>r===eL.m3P.ALL&&0===e&&c&&I>uQ.ZD?(0,k.jsx)("div",{className:cP.Nf,children:(0,k.jsx)(tJ.$,{icon:d?uz.t:u$.a,variant:"secondary",size:"sm",text:na.intl.string(d?na.t["6MwJo/"]:na.t["37C26f"]),onClick:C,"aria-label":na.intl.string(d?na.t["6MwJo/"]:na.t["37C26f"])})}):null,[r,I,d,C,c]);if(e8.useEffect(()=>{r===eL.m3P.ALL&&(0,uX.Ad)()},[r]),e8.useEffect(()=>{_(!1)},[r,I]),0===m.length&&""===l[r])return(0,k.jsx)(cX,{section:r,showSpamCta:E});let R=""!==l[r],b=0===m.length&&R;return(0,k.jsx)(of.f5,{value:n,children:(0,k.jsxs)(o_.A,{section:eL.JJy.FRIENDS_LIST,children:[o&&(0,k.jsx)(cB,{}),(0,k.jsx)("div",{className:cP.ON,children:(0,k.jsx)(uq.I,{query:l[r],onChange:h,onClear:p})}),(0,k.jsx)(cG,{rows:T,renderRow:f,renderSection:v,sectionFilter:r,isVirtualizedList:a>=64,hasSearchQuery:R,renderSectionFooter:O,footer:E&&!b?(0,k.jsx)("div",{className:cP.RE,children:(0,k.jsx)(uK.Q,{text:na.intl.string(na.t.R40bU2),onClick:cZ,textVariant:"text-xs/medium",variant:"secondary"})}):null}),b&&(0,k.jsx)("div",{className:cP.y7,children:(0,k.jsx)(cm,{type:cf.SECTION_NO_RESULTS},r)})]})})};var cJ=n(465158);function c0(){return(0,k.jsx)("div",{className:cJ.N3,children:(0,k.jsx)(oc.Ay,{tooltip:na.intl.string(na.t["HfOgA/"])})})}let c1=function(e){let{initialSection:t}=e,n=(0,ng.zy)(),i=(0,ng.W6)();e8.useEffect(()=>{"true"===new URLSearchParams(n.search).get("confirm-age")&&e$.h.dispatch({type:"AGE_GATE_MODAL_OPEN",source:n1.w_.DEEP_LINK_PROMPT}).then(()=>{i.replace(eL.BVt.ME)})},[i,n]),e8.useEffect(()=>{os.I(eL.BVt.FRIENDS),(0,uT.d)("friends")},[]);let r=(0,e6.bG)([to.A],()=>to.A.theme),s=(0,iJ.kX)(),{section:a,rows:o}=(0,e6.cf)([uS.Ay],()=>uS.Ay.getState()),l=(0,e6.bG)([ol.A],()=>ol.A.getSuggestionCount()),u=e8.useMemo(()=>o.getRelationshipCounts(),[o]);e8.useEffect(()=>{null!=t&&oa.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]&&oa.A.transitionToSection(eL.m3P.ADD_FRIEND)},[t,u]);let c=e=>{oa.A.transitionToSection(e,{explicit:!0})},d=(0,oo.GV)(),_=(0,oo.GV)(),f=[{id:eL.m3P.ONLINE,show:o.filter(eL.m3P.ONLINE).length>0,content:na.intl.string(na.t.b9w3bO),className:cJ.AS},{id:eL.m3P.ALL,show:u[eL.eA$.FRIEND]>0,content:na.intl.string(na.t.PfjFjR),className:cJ.AS},{id:eL.m3P.PENDING,show:o.filter(eL.m3P.PENDING).length>0,content:(0,k.jsxs)(k.Fragment,{children:[na.intl.string(na.t.p6IHGE),s>0&&(0,k.jsx)(oi.hV,{count:s,className:cJ.qS})]}),ariaLabel:na.intl.formatToPlainString(na.t.OAC0Z4,{count:s.toString()}),className:cJ.AS},{id:eL.m3P.SUGGESTIONS,show:l>0,content:(0,k.jsxs)(k.Fragment,{children:[na.intl.string(na.t["8rSi1/"]),(0,k.jsx)(oi.hV,{count:l,className:cJ.qS})]}),ariaLabel:na.intl.formatToPlainString(na.t.AbMQp7,{count:l.toString()}),className:cJ.AS},{id:eL.m3P.ADD_FRIEND,show:!0,content:(0,k.jsx)("span",{children:na.intl.string(na.t.j0wbE5)}),ariaLabel:na.intl.string(na.t.j0wbE5),className:t2()(cJ.AS,cJ.GU)}],h=null,p=(0,k.jsx)("div",{className:cJ.Xl,children:(0,k.jsx)(uI,{})});return h=a===eL.m3P.ADD_FRIEND?(0,k.jsx)(uW,{}):(0,k.jsx)(cQ,{titleId:_}),(0,k.jsxs)("main",{className:cJ.kL,"aria-label":na.intl.string(na.t.TdEu5X),children:[(0,k.jsx)(i3.HI,{location:na.intl.string(na.t.TdEu5X)}),(0,k.jsx)(t6.N,{theme:r,children:e=>(0,k.jsxs)(ou.A,{className:e,toolbar:(0,k.jsx)(c0,{}),role:"navigation","aria-labelledby":d,scrollable:!0,children:[(0,k.jsx)(ou.A.Icon,{icon:sb.$,"aria-hidden":!0}),(0,k.jsx)(ou.A.Title,{id:d,children:na.intl.string(na.t.TdEu5X)}),(0,k.jsx)(ou.A.Divider,{}),(0,k.jsx)(or.V,{"aria-label":na.intl.string(na.t.TdEu5X),selectedItem:a,type:"top-pill",onItemSelect:c,className:cJ.$H,children:f.filter(e=>e.show).map(e=>(0,k.jsx)(or.V.Item,{id:e.id,className:e.className,"aria-label":e.ariaLabel,children:e.content},e.id))})]})}),(0,k.jsxs)("div",{className:cJ.MJ,children:[(0,k.jsx)(or.V.Panel,{id:a,className:cJ.UL,"aria-labelledby":_,children:h}),p]})]})};var c2=n(488803),c3=n(969117),c6=n(942381);function c4(e){let{alt:t,ariaLabel:n,ariaHidden:i,role:r,size:s=64}=e;return(0,k.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 c5=n(780645),c7=n(459192),c8=n(657044),c9=n(849516),de=n(696157),dt=n(58923),dn=n(509963),di=n(924283),dr=n(550640),ds=n(433492),da=n(996682),dl=n(27989);let du=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 dc=n(768451);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},d_=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M12 3a9 9 0 0 0-7.47 14.03c.28.41.28.97-.06 1.35-.4.45-1.12.44-1.47-.05a11 11 0 1 1 18 0c-.35.5-1.06.5-1.47.05a1.1 1.1 0 0 1-.06-1.35A9 9 0 0 0 12 3Z",className:s}),(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M18.25 15.15c-.3.58-1.07.62-1.5.13a1.2 1.2 0 0 1-.16-1.29A4.98 4.98 0 0 0 12 7a5 5 0 0 0-4.59 7c.19.42.16.93-.15 1.28-.44.49-1.22.45-1.51-.13a7 7 0 1 1 12.5 0Z",className:s}),(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M14.99 12.3c-.04.38-.5.47-.76.19a3.05 3.05 0 0 0-.25-.25l-.3-.27c-.5-.46-1.04-.97-1.68-.97-.64 0-1.19.5-1.68.97l-.3.27-.25.25c-.26.28-.72.2-.76-.19L9 12a3 3 0 1 1 5.99.3ZM12.74 13.83a1 1 0 0 0-1.48 0l-6.76 7.5A1 1 0 0 0 5.25 23h13.5a1 1 0 0 0 .75-1.67l-6.76-7.5Z",className:s})]})};var df=n(555704),dh=n(387758);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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 dE=n(778492),dm=n(669281),dg=n(986226),dA=n(922288);let dI=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.ICON_OVERLAY_LIGHT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 dT=n(610509);let dS=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},dN=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 dy=n(110384);let dC=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 dv=n(292801);let dO=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},dR=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 db=n(548411),dD=n(554830),dL=n(763175);let dw=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 dM=n(708988),dP=n(872351),dx=n(112173);let dU=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 dk=n(935063),dG=n(588975);let dF=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 dV=n(715641),dB=n(355522);let dH=e=>{let{size:t="md",width:n,height:i,color:r="#009AE5",colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 dj=n(422688),dY=n(127062),dW=n(780338),dK=n(440971);let dz=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 d$=n(115979),dq=n(700623);let dZ=e=>{let{size:t="md",width:n,height:i,color:r="#0085FF",colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 dX=n(967492);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M11.62 2.08a1 1 0 0 1 1.09.21l5 5a1 1 0 0 1-.09 1.5L13.6 12l4.02 3.22a1 1 0 0 1 .09 1.49l-5 5A1 1 0 0 1 11 21v-6.92l-3.38 2.7a1 1 0 0 1-1.24-1.56L10.4 12 6.38 8.78a1 1 0 0 1 1.24-1.56L11 9.92V3a1 1 0 0 1 .62-.92Zm1.38 12 2.5 2-2.5 2.5v-4.5Zm0-4.16v-4.5l2.5 2.5-2.5 2Z",clipRule:"evenodd",className:s})})};var dJ=n(635739),d0=n(902001),d1=n(622629),d2=n(606096),d3=n(997146),d6=n(104510),d4=n(532804),d5=n(492349);let d7=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 d8=n(734660),d9=n(279449),_e=n(369163),_t=n(899784),_n=n(359286),_i=n(115354),_r=n(93688);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("path",{fillRule:"evenodd",d:"M20 3a3 3 0 0 1 3 3v4.94c0 .72-.76 1.21-1.48 1.14a4.94 4.94 0 0 0-4.02 1.42l-4 4a4.93 4.93 0 0 0-1.35 2.5c-.11.55-.55 1-1.1 1H4a3 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",fill:"string"==typeof r?r:r.css,className:s}),(0,k.jsx)("path",{d:"M15.5 18.02a.74.74 0 1 1 1.04 1.04l-.57.58a1.7 1.7 0 0 0 2.4 2.4l.57-.58a.74.74 0 0 1 1.04 1.04l-.58.57a3.17 3.17 0 0 1-4.47-4.47l.57-.58Z",fill:"string"==typeof r?r:r.css,className:s}),(0,k.jsx)("path",{d:"M19.43 17.52a.74.74 0 0 1 1.05 1.05l-1.91 1.9a.74.74 0 0 1-1.05-1.04l1.91-1.9Z",fill:"string"==typeof r?r:r.css,className:s}),(0,k.jsx)("path",{d:"M18.6 14.93a3.17 3.17 0 0 1 4.47 4.47l-.57.58a.74.74 0 0 1-1.04-1.04l.57-.58a1.7 1.7 0 0 0-2.4-2.4l-.57.58a.74.74 0 0 1-1.04-1.04l.58-.57Z",fill:"string"==typeof r?r:r.css,className:s})]})};var _a=n(717400);let _o=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 _l=n(608599),_u=n(81466);let _c=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 _d=n(588190);let __=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.jsx)("path",{d:"M19.95 16.15v.01l-.44-.12",fill:"string"==typeof r?r:r.css,className:s}),(0,k.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,k.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})]})},_f=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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 _h=n(332461);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},_E=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 _m=n(626258),_g=n(673185),_A=n(740426);let _I=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 _T=n(194117);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},_N=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 _y=n(184940),_C=n(99677),_v=n(582394);let _O=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},_R=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 _b=n(666492);let _D=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 _L=n(888366);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},_M=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M19.33 13.01c.28-.03.58.02.84.15l3.05 1.52c.48.24.78.73.78 1.27v1.51a7.1 7.1 0 0 1-4.21 6.49.71.71 0 0 1-.58 0A7.1 7.1 0 0 1 15 17.46v-1.51c0-.54.3-1.03.78-1.27l3.05-1.52a1.49 1.49 0 0 1 .33-.12l.17-.03Zm.17 8.73c.06 0 .12-.01.17-.03a4.18 4.18 0 0 0 2.48-3.82v-.9c0-.31-.18-.6-.46-.74l-1.8-.9a.88.88 0 0 0-.39-.09v6.48Z",clipRule:"evenodd",className:s}),(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M11.8 2a10 10 0 0 1 10 9.73l-.73-.36-.2-.09a3.5 3.5 0 0 0-2.75 0l-.19.09-3.04 1.52A3.42 3.42 0 0 0 13 15.95v1.51c0 1.53.38 2.99 1.07 4.28-.73.17-1.49.26-2.27.26H2a1 1 0 0 1-.75-1.66l2.07-2.37a.52.52 0 0 0 .04-.61A10 10 0 0 1 11.8 2Z",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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 _x=n(845798),_U=n(556112),_k=n(953822),_G=n(353182),_F=n(947641),_V=n(820081),_B=n(478016),_H=n(715482),_j=n(668953),_Y=n(881636),_W=n(138017),_K=n(921853),_z=n(320448),_$=n(628284),_q=n(695366),_Z=n(885574);let _X=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,dl.J)(t),c=u?.width??n,d=u?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(l),xmlns:"http://www.w3.org/2000/svg",width:c,height:d,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"string"==typeof r?r:r.css,className:s}),(0,k.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 _Q=n(65154),_J=n(245604),_0=n(285796);let _1=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 _2=n(662546),_3=n(643278),_6=n(510241),_4=n(406810),_5=n(60270),_7=n(337358);let _8=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},_9=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},fe=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},ft=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 fn=n(526701),fi=n(522937),fr=n(200192),fs=n(653766);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 fo=n(624479),fl=n(360669);let fu=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 fc=n(329177);let fd=e=>{let{size:t="md",width:n,height:i,color:r="#F78B24",colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 f_=n(347306),ff=n(428678),fh=n(926321),fp=n(808666),fE=n(143838);let fm=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},fg=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M11.3 5.3a1 1 0 0 0 0 1.4l5.29 5.3-5.3 5.3a1 1 0 0 0 1.42 1.4l6-6a1 1 0 0 0 0-1.4l-6-6a1 1 0 0 0-1.42 0Z",className:s}),(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M5.3 5.3a1 1 0 0 0 0 1.4l5.29 5.3-5.3 5.3a1 1 0 1 0 1.42 1.4l6-6a1 1 0 0 0 0-1.4l-6-6a1 1 0 0 0-1.42 0Z",className:s})]})};var fA=n(111219),fI=n(772838),fT=n(601198);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 fN=n(11023);let fy=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},fC=e=>{let{size:t="md",width:n,height:i,color:r="#000",colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 fv=n(349361);let fO=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},fR=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 fb=n(191842);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},fL=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},fw=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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})]})},fM=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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})]})},fP=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},fx=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 fU=n(714385),fk=n(622631),fG=n(952270),fF=n(319745),fV=n(519396),fB=n(514042),fH=n(81369),fj=n(860430),fY=n(783977),fW=n(825860),fK=n(138134);let fz=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},f$=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},fq=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 fZ=n(725441);let fX=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 fQ=n(678708),fJ=n(234020),f0=n(141060),f1=n(56059),f2=n(597050),f3=n(760911),f6=n(781481),f4=n(729475),f5=n(86147),f7=n(391242),f8=n(998445);let f9=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},he=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},ht=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 hn=n(381844),hi=n(173054);let hr=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 hs=n(241541);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 ho=n(215026);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},hu=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},hc=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},hd=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 h_=n(309796),hf=n(297152),hh=n(280056);let hp=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},hE=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 hm=n(615675),hg=n(597601),hA=n(990836),hI=n(926268),hT=n(559758),hS=n(332837);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 hy=n(339350),hC=n(101277),hv=n(473935);let hO=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 hR=n(529689),hb=n(626034),hD=n(191023),hL=n(532590),hw=n(750943),hM=n(477262),hP=n(251391);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 hU=n(87221),hk=n(488225),hG=n(899536),hF=n(785866),hV=n(410767),hB=n(530557),hH=n(37646),hj=n(766928);let hY=e=>{let{size:t="md",width:n,height:i,color:r="#CEA146",colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},hW=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 hK=n(443865),hz=n(743368),h$=n(173936);let hq=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},hZ=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 hX=n(916099);let hQ=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 hJ=n(115723),h0=n(116085),h1=n(194261),h2=n(328162),h3=n(685761),h6=n(152367),h4=n(7689),h5=n(92259),h7=n(218429);let h8=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},h9=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.ICON_OVERLAY_DARK,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},pe=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 pt=n(26430);let pn=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 pi=n(97893),pr=n(117723),ps=n(666654),pa=n(831544),po=n(83107);let pl=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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})]})},pu=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,f=(0,dl.J)(t),h=f?.width??n,p=f?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(_),xmlns:"http://www.w3.org/2000/svg",width:h,height:p,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,d:"M22 2H2v20h20V2Z",className:s}),(0,k.jsx)("path",{fill:"string"==typeof a?a:a.css,d:"M18 10V6h-4v4h-4v2H8v6h2v-2h4v2h2v-6h-2v-2h4Z",className:o}),(0,k.jsx)("path",{fill:"string"==typeof a?a:a.css,d:"M10 6H6v4h4V6Z",className:o}),(0,k.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,k.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 pc=n(695250),pd=n(834040),p_=n(481606),pf=n(646270);let ph=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},pp=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},pE=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},pm=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},pg=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},pA=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 pI=n(713608),pT=n(365199),pS=n(432017),pN=n(532676),py=n(413249);let pC=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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 pv=n(506803),pO=n(246913),pR=n(418524),pb=n(524501),pD=n(318254),pL=n(200219);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},pM=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},pP=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 px=n(193885);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},pk=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},pG=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 pF=n(650809);let pV=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 pB=n(261958);let pH=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 pj=n(444570),pY=n(113494),pW=n(157225);let pK=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.jsx)("path",{fill:"#fff",d:"m15.14 8.53.25-.58.25.58.5 1.2h-1.45l.45-1.2Z"}),(0,k.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"m18.2 11.49.04.1h-.04v-.1Z",clipRule:"evenodd"}),(0,k.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"})]})},pz=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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"})]})},p$=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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"})]})},pq=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.jsx)("path",{fill:"url(#b)",d:"M7.21 13.5c2.43 0 3.65-1.63 4.87-3.25H4v3.24h3.21Z"}),(0,k.jsx)("path",{fill:"url(#c)",d:"M16.95 7c-2.44 0-3.65 1.62-4.87 3.25h8.08V7h-3.21Z"}),(0,k.jsxs)("defs",{children:[(0,k.jsxs)("linearGradient",{id:"b",x1:"7.27",x2:"19.99",y1:"12.48",y2:"9.42",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{stopColor:"#005AB9"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#1E3764"})]}),(0,k.jsxs)("linearGradient",{id:"c",x1:"12.57",x2:"18.84",y1:"10.53",y2:"8.39",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{stopColor:"#FBA900"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#FFD800"})]})]})]})},pZ=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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"})]})},pX=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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"})]})},pQ=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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,k.jsx)("defs",{children:(0,k.jsxs)("linearGradient",{id:"a",x1:"24",x2:"8.68",y1:"4",y2:"24.87",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{stopColor:"#102C5E"}),(0,k.jsx)("stop",{offset:".53",stopColor:"#107B9D"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#219943"})]})})]})},pJ=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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"})]})},p0=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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"})]})},p1=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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"})]})},p2=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.jsx)("defs",{children:(0,k.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,k.jsx)("stop",{stopColor:"#F08F14"}),(0,k.jsx)("stop",{offset:".8",stopColor:"#E0481E"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#661D14"})]})})]})},p3=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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"})]})},p6=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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"})]})},p4=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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 p5=n(37766);let p7=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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"})]})},p8=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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"})]})},p9=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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"})]})},Ee=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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"})]})},Et=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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"})]})},En=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.jsx)("path",{fill:"#fff",d:"M6.4 11.74h-.6v.24h.55v.2H5.8v.27h.6v.21h-.85v-1.14h.84v.22Z"}),(0,k.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,k.jsx)("path",{fill:"#fff",d:"M8.05 11.52v.93h.54v.21h-.78v-1.14h.24Z"}),(0,k.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,k.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,k.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,k.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,k.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,k.jsxs)("defs",{children:[(0,k.jsxs)("linearGradient",{id:"b",x1:"17.57",x2:"16.51",y1:"12.14",y2:"13.43",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{offset:".02",stopColor:"#1D1C1C",stopOpacity:"0"}),(0,k.jsx)("stop",{offset:".68",stopColor:"#1D1C1C"})]}),(0,k.jsxs)("linearGradient",{id:"c",x1:"15.72",x2:"16.8",y1:"12.41",y2:"11.34",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{offset:".02",stopColor:"#1D1C1C",stopOpacity:"0"}),(0,k.jsx)("stop",{offset:".68",stopColor:"#1D1C1C"})]})]})]})},Ei=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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"})]})},Er=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.jsxs)("defs",{children:[(0,k.jsxs)("linearGradient",{id:"b",x1:"-3.06",x2:"37.54",y1:"12.01",y2:"12.01",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{stopColor:"#007940"}),(0,k.jsx)("stop",{offset:".23",stopColor:"#00873F"}),(0,k.jsx)("stop",{offset:".74",stopColor:"#40A737"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#5CB531"})]}),(0,k.jsxs)("linearGradient",{id:"c",x1:"5.02",x2:"19.04",y1:"12",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{stopColor:"#007940"}),(0,k.jsx)("stop",{offset:".23",stopColor:"#00873F"}),(0,k.jsx)("stop",{offset:".74",stopColor:"#40A737"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#5CB531"})]}),(0,k.jsxs)("linearGradient",{id:"d",x1:"-3.8",x2:"40.52",y1:"11.98",y2:"11.98",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{stopColor:"#007940"}),(0,k.jsx)("stop",{offset:".23",stopColor:"#00873F"}),(0,k.jsx)("stop",{offset:".74",stopColor:"#40A737"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#5CB531"})]}),(0,k.jsxs)("linearGradient",{id:"e",x1:"5.02",x2:"19.25",y1:"12",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{stopColor:"#1F286F"}),(0,k.jsx)("stop",{offset:".47",stopColor:"#004E94"}),(0,k.jsx)("stop",{offset:".83",stopColor:"#0066B1"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#006FBC"})]}),(0,k.jsxs)("linearGradient",{id:"f",x1:"9.82",x2:"14.09",y1:"11.99",y2:"11.99",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{stopColor:"#6C2C2F"}),(0,k.jsx)("stop",{offset:".17",stopColor:"#882730"}),(0,k.jsx)("stop",{offset:".57",stopColor:"#BE1833"}),(0,k.jsx)("stop",{offset:".86",stopColor:"#DC0436"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#E60039"})]})]})]})},Es=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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,k.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,k.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"})]})},Ea=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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"})]})},Eo=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.jsxs)("mask",{id:"a",width:"20",height:"8",x:"2",y:"8",fill:"#000",maskUnits:"userSpaceOnUse",children:[(0,k.jsx)("path",{fill:"#fff",d:"M2 8h20v8H2z"}),(0,k.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,k.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,k.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,k.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)"})]})},El=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.jsx)("path",{fill:"#7375CF",d:"M14.16 8.06H9.84v7.77h4.32V8.06Z"}),(0,k.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,k.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"})]})},Eu=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.jsx)("path",{fill:"#FF5F00",d:"M14.16 8.06H9.84v7.77h4.32V8.06Z"}),(0,k.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,k.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"})]})},Ec=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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"})]})},Ed=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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"})]})},E_=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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"})]})},Ef=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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"})]})},Eh=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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,k.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"})]})},Ep=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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,k.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,k.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,k.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"})]})},EE=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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"})]})},Em=e=>{let{size:t="md",width:n,height:i,...r}=e,s=(0,dl.J)(t),a=s?.width??n,o=s?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(r),xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("mask",{id:"a",fill:"#fff",children:(0,k.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,k.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,k.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,k.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 Eg=n(22231),EA=n(566679),EI=n(978940),ET=n(960027),ES=n(289020),EN=n(695458),Ey=n(366605),EC=n(788120),Ev=n(609731);let EO=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},ER=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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 Eb=n(782134),ED=n(22363),EL=n(663341),Ew=n(499373),EM=n(307301),EP=n(642846),Ex=n(659421);let EU=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},EG=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},EF=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},EV=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 EB=n(141006),EH=n(460905),Ej=n(997571);let EY=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 EW=n(874804),EK=n(362704),Ez=n(72265);let E$=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 Eq=n(663417);let EZ=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 EX=n(769297),EQ=n(417270),EJ=n(877784);let E0=e=>{let{size:t="md",width:n,height:i,color:r="#D22A36",colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 E1=n(505200);let E2=e=>{let{size:t="md",width:n,height:i,color:r="#000",colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 E3=n(924895),E6=n(430392),E4=n(831453),E5=n(776078),E7=n(183623),E8=n(31300),E9=n(1215),me=n(500060),mt=n(676955),mn=n(959988),mi=n(559647),mr=n(704333);let ms=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},ma=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,dl.J)(t),c=u?.width??n,d=u?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(l),xmlns:"http://www.w3.org/2000/svg",width:c,height:d,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("circle",{cx:"19",cy:"19",r:"5",fill:"string"==typeof r?r:r.css,className:s}),(0,k.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 mo=n(625903),ml=n(848847);let mu=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 mc=n(405433),md=n(626900),m_=n(231483),mf=n(254138),mh=n(957485);let 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,dl.J)(t),c=u?.width??n,d=u?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(l),xmlns:"http://www.w3.org/2000/svg",width:c,height:d,fill:"none",viewBox:"0 0 24 24",children:[(0,k.jsx)("circle",{cx:"19",cy:"19",r:"5",fill:"string"==typeof r?r:r.css,className:s}),(0,k.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,k.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})]})},mE=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},mm=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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 mg=n(503002),mA=n(855473),mI=n(461150),mT=n(898196),mS=n(918715),mN=n(633018),my=n(88187);let mC=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},mv=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},mO=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 mR=n(7807);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 mD=n(175841),mL=n(268791);let mw=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},mM=e=>{let{size:t="md",width:n,height:i,color:r="#1ED760",colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 mP=n(109487),mx=n(306471),mU=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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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,k.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 mG=n(808107);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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,k.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})]})},mV=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},mB=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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})]})},mH=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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})]})},mj=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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 mY=n(581925),mW=n(563119),mK=n(505930),mz=n(605323);let m$=e=>{let{size:t="md",width:n,height:i,color:r="#231F20",colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},mq=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.ICON_OVERLAY_LIGHT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 mZ=n(49381);let mX=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 mQ=n(797285);let mJ=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},m0=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},m1=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 m2=n(395899),m3=n(812282);let m6=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},m4=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 m5=n(29080),m7=n(74833),m8=n(153659),m9=n(343032),ge=n(278416);let gt=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 gn=n(373846),gi=n(24825),gr=n(276293),gs=n(770880),ga=n(446057);let go=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 gl=n(11779),gu=n(943255);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 gd=n(575181),g_=n(308323),gf=n(163328),gh=n(425557);let gp=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 gE=n(523056);let gm=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 gg=n(948428),gA=n(148795),gI=n(53788),gT=n(638916),gS=n(218471),gN=n(291747),gy=n(306788),gC=n(420854);let gv=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},gO=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 gR=n(241326),gb=n(796140),gD=n(369606),gL=n(748562),gw=n(454346);let gM=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},gP=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.jsx)("path",{fill:"string"==typeof r?r:r.css,fillRule:"evenodd",d:"M7.03 16.6c1.18 1.17 2.84 1.76 4.97 1.76s3.79-.59 4.97-1.76c1.2-1.18 1.79-3 1.79-5.46V2.5a.5.5 0 0 0-.5-.5H16.8a.5.5 0 0 0-.5.5v8.77c0 1.63-.38 2.84-1.14 3.64A4.1 4.1 0 0 1 12 16.1c-1.35 0-2.4-.4-3.17-1.2-.75-.8-1.12-2.01-1.12-3.64V2.5a.5.5 0 0 0-.5-.5H5.77a.5.5 0 0 0-.5.5v8.64c0 2.46.59 4.28 1.76 5.46ZM2.5 19.5a.5.5 0 0 0-.5.5v1.5c0 .28.22.5.5.5h19a.5.5 0 0 0 .5-.5V20a.5.5 0 0 0-.5-.5h-19Z",clipRule:"evenodd",className:s})})};var gx=n(744898),gU=n(109112),gk=n(454743),gG=n(95635);let gF=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 gV=n(497767),gB=n(26137),gH=n(812991),gj=n(565829),gY=n(950305),gW=n(905499),gK=n(682348),gz=n(835723),g$=n(283973);let gq=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 gZ=n(861004);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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})]})},gQ=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 gJ=n(604338),g0=n(428689),g1=n(844972),g2=n(943812),g3=n(217306);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 g4=n(146151),g5=n(793920),g7=n(445567),g8=n(512474),g9=n(358618),Ae=n(738678);let At=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 An=n(738188);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},Ar=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 As=n(39619);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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,k.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})]})},Ao=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},Al=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 Au=n(352255);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 Ad=n(811893),A_=n(12470);let Af=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsxs)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:[(0,k.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,k.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 Ah=n(625657),Ap=n(802516),AE=n(807072),Am=n(972213),Ag=n(274997),AA=n(401432);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,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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})})},AT=e=>{let{size:t="md",width:n,height:i,color:r=r9.A.colors.INTERACTIVE_ICON_DEFAULT,colorClass:s="",...a}=e,o=(0,dl.J)(t),l=o?.width??n,u=o?.height??i;return(0,k.jsx)("svg",{...(0,da.A)(a),xmlns:"http://www.w3.org/2000/svg",width:l,height:u,fill:"none",viewBox:"0 0 24 24",children:(0,k.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 AS=n(80500),AN=n(508770),Ay=n(462887),AC=n(781696),Av=n(736653),AO=n(7584),AR=n(486164),Ab=n(821589),AD=n(859040),AL=n(755172);let Aw=e=>{let{displayOptions:t,targetElementRef:n,onRequestClose:i,onClick:r}=e,{analyticsLocations:s}=(0,of.Ay)(ii.A.HOME_PAGE_SHOP_TAB),a=(0,Av.Ay)(),o=(0,Ay.M)(a)?t.assetDark:t.assetLight,l=e8.useRef(i);return l.current=i,e8.useEffect(()=>()=>{l.current?.()},[]),(0,k.jsx)(rW.A,{targetElementRef:n,position:"right",align:"top",size:"md",caretConfig:{align:"start"},title:t.title(),body:t.body(),graphic:{type:"image",src:o},actions:[{text:na.intl.string(na.t.fYfGgK),variant:"primary",onClick:()=>{r?.(),(0,uF.pX)(eL.BVt.COLLECTIBLES_SHOP),(0,AD.Cz)({analyticsLocations:s,analyticsSource:ii.A.HOME_PAGE_SHOP_TAB})}}],onRequestClose:i})};var AM=n(758836);let AP=e=>{let{targetElementRef:t,onRequestClose:n,onClick:i}=e,{analyticsLocations:r}=(0,of.Ay)(ii.A.HOME_PAGE_SHOP_TAB),s=e8.useRef(n);return s.current=n,e8.useEffect(()=>()=>{s.current?.()},[]),(0,k.jsx)(rW.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,AD.Cz)({analyticsLocations:r,analyticsSource:ii.A.HOME_PAGE_SHOP_TAB,tab:AM.G2.HOME})}}],onRequestClose:n})};var Ax=n(870308),AU=n(998694),Ak=n(966971),AG=n(563337);let AF=e=>{let{badgeIcon:t,badgeText:n}=e,i=null!=t&&""!==t?U[t]:void 0;return(0,k.jsx)("div",{className:AG.newBadge,children:(0,k.jsx)(AN.E,{type:null!=n&&""!==n?{text:n}:"new",variant:"expressive",icon:i})})},AV=()=>{let{noCache:e,includeUnpublished:t}=(0,AU.A)();return(0,AL.y)(AM.G2.HOME,{noCache:e,includeUnpublished:t},void 0,!0),null},AB=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:_,...f}=e,h=(0,cw.rm)("shop"),p=ii.A.HOME_PAGE_SHOP_TAB,{analyticsLocations:E}=(0,of.Ay)(p),[m,g]=e8.useState(!1),A=e8.useCallback(()=>{void 0!==r&&r(),void 0!==s&&(0,AD.Cz)({tab:s,analyticsLocations:E,analyticsSource:p}),g(!0),(0,AD.Sw)({analyticsSource:p,analyticsLocations:E})},[p,E,r,g,s]),I=eL.BVt.COLLECTIBLES_SHOP;return(0,k.jsxs)(k.Fragment,{children:[m&&(0,k.jsx)(AV,{}),(0,k.jsx)(de.z9,{showHoverGradient:u??!1,selected:t,route:I,icon:i??sR.U,text:na.intl.string(na.t.pWG4ze),locationState:n,...h,...f,hoverGradientStart:c,hoverGradientMiddle:d,hoverGradientEnd:_,onMouseEnter:a,onMouseLeave:o,onClick:A,children:l})]})},AH=e=>(0,k.jsx)(AB,{...e,children:(0,k.jsx)(AF,{})}),Aj=e=>{if(null==e.current||null==e.current.parentElement)return!1;let t=e.current.parentElement.offsetWidth;return t>=175&&t<=230},AY=e=>{let t,n,{displayOptions:i,...r}=e,[s,a]=e8.useState(!1),[o,l]=e8.useState(!1),u=e8.useRef(null),c=e8.useRef(null),d=(0,Av.Ay)(),_=(0,Ay.M)(d);s?(t=_?i.entryPointBackgroundAssets?.srcDarkHovered:i.entryPointBackgroundAssets?.srcLightHovered,n=_?i.entrypointBackgroundStyle?.hovered?.dark:i.entrypointBackgroundStyle?.hovered?.light):(t=_?i.entryPointBackgroundAssets?.srcDark:i.entryPointBackgroundAssets?.srcLight,n=_?i.entrypointBackgroundStyle?.resting?.dark:i.entrypointBackgroundStyle?.resting?.light);let f=e8.useCallback(()=>{a(!0);let e=()=>l(Aj(u));e(),c.current=requestAnimationFrame(e)},[]),h=e8.useCallback(()=>{a(!1),l(!1),null!=c.current&&(cancelAnimationFrame(c.current),c.current=null)},[]);return e8.useEffect(()=>()=>{null!=c.current&&cancelAnimationFrame(c.current)},[]),(0,k.jsx)(AR.A,{title:i.title(),body:i.body?.()??"",asset:(0,k.jsx)("img",{src:i.asset,alt:"","aria-hidden":!0}),children:(0,k.jsxs)(AB,{className:null!=i.entryPointClassName?(0,Ab.t)(AG,i.entryPointClassName):void 0,...r,icon:i.entryPointIcon,onMouseEnter:f,onMouseLeave:h,...!0===i.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,k.jsx)("div",{ref:u,className:AG.marketingButtonBackgroundNew,style:{background:n},children:null!=t&&(0,k.jsx)("img",{src:t,className:t2()(AG.marketingButtonBackgroundImage,o&&AG.marketingButtonBackgroundImageFaded),alt:"","aria-hidden":!0})}),(0,k.jsx)(AF,{badgeIcon:i.badgeIcon,badgeText:i.badgeText})]})})},AW=e=>{let{displayOptions:t,...n}=e,i=e8.useMemo(()=>{let e=null!=t.emojiName?AO.Ay.getByName(t.emojiName)?.surrogates:null;return(0,k.jsxs)(sw.E,{variant:"text-sm/medium",className:AG.marketingBadgeTooltipContent,children:[null!=e&&(0,k.jsx)(t0.A,{emojiName:e}),t.title()]})},[t]);return(0,k.jsx)(AC.ST,{"data-migration-pending":!0,text:i,tooltipClassName:AG.marketingBadgeTooltip,position:"right",delay:100,hideOnClick:!1,"aria-label":t.title(),children:e=>(0,k.jsx)(AB,{...n,...e,children:(0,k.jsx)(AF,{badgeIcon:t.badgeIcon,badgeText:t.badgeText})})})},AK=e=>{let{displayOptions:t,dismissContent:n,...i}=e,r=e8.useRef(null),s=e8.useRef(null),[a,o]=e8.useState(!1),l=(0,Av.Ay)(),u=(0,Ay.M)(l),c=t.entryPointBackgroundAssets,d=t.entrypointBackgroundStyle,_=u?c?.srcDarkHovered:c?.srcLightHovered,f=u?d?.hovered?.dark:d?.hovered?.light;return e8.useEffect(()=>{if(null==_||""===_)return void o(!1);let e=()=>{o(Aj(s))};e();let t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}},[_]),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(AB,{...i,onClick:()=>n(rE.i.TAKE_ACTION),listItemRef:r,children:[(0,k.jsx)("div",{ref:s,className:AG.marketingButtonBackgroundNew,style:null!=f?{background:f}:void 0,children:null!=_&&(0,k.jsx)("img",{src:_,className:t2()(AG.marketingButtonBackgroundImage,a&&AG.marketingButtonBackgroundImageFaded),alt:"","aria-hidden":!0})}),(0,k.jsx)(AF,{badgeIcon:t.badgeIcon,badgeText:t.badgeText})]}),(0,k.jsx)(Aw,{displayOptions:t,targetElementRef:r,onClick:()=>n(rE.i.TAKE_ACTION),onRequestClose:()=>n(rE.i.USER_DISMISS)})]})},Az=e=>{let{dismissContent:t,...n}=e,i=e8.useRef(null);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(AB,{...n,onClick:()=>t(rE.i.TAKE_ACTION),listItemRef:i}),(0,k.jsx)(AP,{targetElementRef:i,onClick:()=>t(rE.i.TAKE_ACTION),onRequestClose:()=>t(rE.i.USER_DISMISS)})]})},A$=e=>{let{selected:t,onClick:n,locationState:i,listItemRef:r}=e,{shopButtonDisplayOptions:s,dismissShopButtonDC:a}=(0,Ax.A)(),o=!(0,nC.hasAnyModalOpen)(),[l,u]=(0,rh.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,k.jsx)(AW,{...c,displayOptions:s});case Ak.FF.TAB_TOOLTIP:return(0,k.jsx)(AY,{...c,displayOptions:s});case Ak.FF.BADGE:return(0,k.jsx)(AH,{...c});case Ak.FF.COACHMARK:return(0,k.jsx)(AK,{dismissContent:a,...c,displayOptions:s})}return l===rM.M.WISHLIST_SHOP_BUTTON_POPOVER?(0,k.jsx)(Az,{...c,dismissContent:u}):(0,k.jsx)(AB,{...c})};var Aq=n(558845),AZ=n(519059),AX=n(957283),AQ=n(411976),AJ=n(380335),A0=n(309199),A1=n(157550);function A2(){return(0,e6.bG)([AJ.A,A1.A],()=>(0,A0.SM)([AJ.A,A1.A]))}var A3=n(945276),A6=n(834981),A4=n(851746),A5=n(894374),A7=n(441574),A8=n(741231),A9=n(927578),Ie=n(382259);let It=(0,eM.mj)({kind:"user",name:"2026-04-logitech-ss-marketing",defaultConfig:{enabled:!1},variations:{1:{enabled:!0}}});function In(e){let{location:t}=e,{enabled:n}=It.useConfig({location:t});return n}var Ii=n(398523);let Ir=()=>{(0,le.Dr)(rM.M.RECURRING_3P_PROMOTION_POPOVER)},Is=()=>{let{enabled:e}=Ii.Ay.useConfig({location:"useIsRecurring3PPopoverShowable"}),t=In({location:"useIsRecurring3PPopoverShowable"}),n=(0,le.k8)(rM.M.RECURRING_3P_PROMOTION_POPOVER);return e&&t&&!1===n},Ia=e=>{let{targetElementRef:t}=e,n=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),i=!1===A9.Ay.isPremiumExactly(n,co.PremiumTypes.TIER_2),r=n?.premiumState?.premiumSource===A7.fE.FRACTIONAL_NITRO&&n?.premiumState.premiumSubscriptionType!==A7.jK.TIER_2,s=!0===(null==n||i||r)?na.intl.string(na.t.E1ONHQ):na.intl.string(na.t.CMKNhr);return(0,k.jsx)(rW.A,{targetElementRef:t,title:na.intl.string(na.t["V8J+16"]),body:s,graphic:{type:"image",src:"https://cdn.discordapp.com/assets/content/f55293b95170a86aecff5798533c2cac88dc324c52c450850a5a70f3bad9dfa9.png"},badge:{type:"beta",variant:"expressive"},size:"md",alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},actions:[{text:na.intl.string(na.t["CDdYB/"]),onClick:()=>{(0,A8.A)(eL.BVt.NITRO_HOME),(0,Ie.u)({analyticsLocations:[ii.A.HOME_PAGE_PREMIUM_TAB]}),Ir()}}],onRequestClose:Ir})};var Io=n(727949),Il=n(954457);let Iu=e=>{let{targetElementRef:t}=e,i=(0,Io.Tp)(),r=(0,e6.bG)([A4.A],()=>A4.A.getReminderStateId()),s=(0,e6.bG)([A4.A],()=>A4.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,Io.ne)(r)};return(0,k.jsx)(rW.A,{targetElementRef:t,title:na.intl.string(na.t.K2DyeS),body:na.intl.string(na.t["JICo+3"]),graphic:{type:"image",src:Il.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,nC.openModalLazy)(async()=>{let{default:e}=await Promise.resolve().then(n.bind(n,212737));return t=>(0,k.jsx)(e,{...t})})}}],onRequestClose:o})};var Ic=n(877624),Id=n(366999),I_=n(531260);let If=(0,eM.mj)({name:"2026-04-croissant-reheat",kind:"user",defaultConfig:{enabled:!1},variations:{0:{enabled:!1},1:{enabled:!0}}});var Ih=n(674567),Ip=((p={})[p.NONE=0]="NONE",p[p.POPOVER=1]="POPOVER",p),IE=n(192444),Im=n(366505),Ig=n(909536),IA=n(166403),II=n(683760),IT=n(960851),IS=n(881489);let IN=(0,eM.mj)({name:"2026-04-premium-group-announcement",kind:"user",defaultConfig:!1,variations:{0:!1,1:!0}}),Iy=(0,eM.mj)({name:"2026-03-premium-group-popover",kind:"user",defaultConfig:!1,variations:{0:!1,1:!0}});function IC(e){let{location:t}=e;return Iy.useConfig({location:t})}var Iv=n(595529),IO=n(774774),IR=n(626736);let Ib="premium_tier_gradient",ID="smaller_sparkle_gradient";function IL(e){let{width:t=14,height:n=15,color:i="white",foreground:r,...s}=e;return(0,k.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,k.jsx)("defs",{children:(0,k.jsxs)("linearGradient",{id:Ib,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,k.jsx)("stop",{offset:"0%",stopColor:"#8547C6"}),(0,k.jsx)("stop",{offset:"50%",stopColor:"#B845C1"}),(0,k.jsx)("stop",{offset:"100%",stopColor:"#AB5D8A"})]})}),(0,k.jsxs)("linearGradient",{id:ID,x1:"-4.95474",y1:"5.44067",x2:"11.2384",y2:"8.58386",gradientUnits:"userSpaceOnUse",children:[(0,k.jsx)("stop",{stopColor:"#8547C6"}),(0,k.jsx)("stop",{offset:"0.52899",stopColor:"#B845C1"}),(0,k.jsx)("stop",{offset:"1",stopColor:"#AB5D8A"})]}),(0,k.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 Iw(e){let{className:t,startsAt:n,endsAt:i,messageStyle:r,upperCase:s,showSparkles:a}=e,[o]=(0,Iv.Bo)(rM.M.FRACTIONAL_NITRO_DURATION_LEFT_PILL,{showAfterTimestamp:n.valueOf(),cooldownDurationMs:0}),l=(0,Id.Ay)(i,r);return""===l?null:(s&&(l=l.toUpperCase()),(0,k.jsxs)("div",{className:t2()(t,IR.Iv),children:[a?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(IL,{foreground:IR.QX,color:`url(#${ID})`}),(0,k.jsx)(IL,{foreground:IR.J0,color:`url(#${Ib})`})]}):null,(0,k.jsx)(IO.e4,{text:l,colorOptions:o===rM.M.FRACTIONAL_NITRO_DURATION_LEFT_PILL?IO.at.PREMIUM_TIER_2_NEW_GRADIENT_FILL:IO.at.PREMIUM_TIER_2_GREY_FILL})]}))}var IM=n(920050),IP=n(287790),Ix=n(131168),IU=n(422936),Ik=n(234419),IG=n(549996),IF=n(881373),IV=n(39423),IB=n(603488),IH=n(364424);function Ij(e){let{componentId:t,badgeCopy:n,acknowledgedBadgeCopy:i,isDismissed:r}=e;return((0,o3.A)({type:eO.ImpressionTypes.VIEW,name:eO.ImpressionNames.PREMIUM_MARKETING_COMPONENT,properties:{component_type:Ic.C.PREMIUM_TAB,component_id:t}}),r)?(0,k.jsxs)("div",{className:t2()(IH.BE,IH.Hn),children:[(0,k.jsx)(_4.O,{size:"custom",width:10,height:10,color:"currentColor",className:IH.Kk}),(0,k.jsx)(sw.E,{variant:"eyebrow",color:"text-subtle",children:i})]}):(0,k.jsx)(AN.E,{type:{text:n},variant:"expressive"})}var IY=n(84483),IW=n(105390),IK=n(961773);let Iz=e=>{let{isSelected:t,discountOffer:n}=e,[i,r]=(0,rh.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,k.jsx)(IW.MA,{badgeCopy:na.intl.format(na.t.AYcXGW,{discountOfferAmount:n.discount.amount}).toString(),isTabSelected:t,offerExpiresAt:null}):(0,k.jsxs)("div",{className:t2()(IK.bv,IK.Hf),children:[(0,k.jsx)(_4.O,{size:"custom",width:14,height:14,color:"currentColor",className:IK.aW}),(0,k.jsx)(sw.E,{variant:"eyebrow",color:"text-subtle",children:na.intl.format(na.t.AYcXGW,{discountOfferAmount:n.discount.amount})})]})};var I$=n(878784);let Iq=()=>{let e=(0,I$.bu)(),[t,n]=(0,rh.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 IZ=n(989349),IX=n.n(IZ),IQ=n(983060),IJ=n(237146);function I0(e){let{targetElementRef:t,dismissPopover:n,children:i}=e;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{children:i}),(0,k.jsx)(rW.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(IJ.default.pdaUSE),body:na.intl.format(IJ.default.bsMVNi,{termsLink:(0,IQ.Wi)()}),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:sO.t,onClick:()=>{n(rE.i.TAKE_ACTION),(0,uF.pX)(eL.BVt.NITRO_HOME)}}]})]})}let I1="https://cdn.discordapp.com/assets/content/d499eaa867393cbe4b7d560aa82343f68e83dcd1fd55a2f86a1b5aceb420c66a.svg",I2=e=>{let{children:t,multiplier:n}=e,i=(0,ov.Oq)()?na.intl.format(na.t.NpUfej,{bonusOrbMultiplier:n}):na.intl.format(na.t["G5k+lZ"],{bonusOrbMultiplier:n});return(0,k.jsx)(c7.u,{title:na.intl.string(na.t.F2MShO),body:i,asset:(0,k.jsx)("img",{src:I1,alt:"","aria-hidden":!0}),assetSize:80,position:"right",align:"center",asContainer:!0,children:t})};var I3=n(962995),I6=n(208556);function I4(e){let{children:t}=e;return(0,k.jsx)(c7.u,{body:na.intl.format(I3.default.zinfZi,{discountPercent:IF.aW}),title:na.intl.string(I3.default.OlObRa),asset:(0,k.jsx)("img",{src:I6.A,alt:"","aria-hidden":!0,style:{borderRadius:8}}),assetSize:80,padding:"lg",position:"right",asContainer:!0,children:t})}var I5=n(312640),I7=n(208756),I8=n(798618),I9=n(916845),Te=n(627330),Tt=n(532794),Tn=n(146218);function Ti(e){let{targetElementRef:t,dismissPopover:n,children:i}=e,{analyticsLocations:r}=(0,of.Ay)(),s=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,Tt.A)({subscriptionTier:co.pe.TIER_2,analyticsLocations:r})},[n,r]);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{children:i}),(0,k.jsx)(I5.x,{targetElementRef:t,onRequestClose:()=>n(rE.i.USER_DISMISS),alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},gradientColor:"nitro-pink",children:(0,k.jsxs)("div",{"data-mana-component":"popover",children:[(0,k.jsx)(I9.q,{onClick:()=>n(rE.i.USER_DISMISS),variant:"color-mix"}),(0,k.jsx)("div",{className:Tn.h,children:(0,k.jsx)("img",{src:"https://cdn.discordapp.com/assets/content/3a2af2dbdf5126902e05051c880579b0b2a4d66577c261a83aa20d3e3fc5c084.svg",alt:"","aria-hidden":!0,className:Tn.S})}),(0,k.jsx)(Te.D,{title:na.intl.string(I3.default.OlObRa),body:na.intl.format(I3.default["A+56/R"],{discountPercent:IF.aW}),badge:{type:"beta",variant:"expressive"}}),(0,k.jsx)(I7.Z,{actions:[{text:na.intl.string(na.t.pj0XBN),variant:"primary",icon:sO.t,iconPosition:"start",onClick:s}]}),(0,k.jsx)(I8.F,{})]})})]})}var Tr=n(88001),Ts=n(466919),Ta=n(438705);let To=e=>{let{targetElementRef:t,dismissPopover:i,children:r}=e,s=IC({location:"nitro_tab_popover"}),{analyticsLocations:a}=(0,of.Ay)(),o=s?na.intl.string(Ts.default.oOSj1l):na.intl.format(Ts.default["c+NBSl"],{premiumGroupProductName:(0,Tr.DP)()}),l=s?na.intl.string(Ts.default.nCLJQn):na.intl.format(Ts.default.MuUV5u,{premiumGroupProductName:(0,Tr.DP)(),totalSeats:Tr.aw}),u=(0,k.jsx)(rW.A,{targetElementRef:t,title:o,body:l,graphic:{type:"image",src:Ta},badge:{type:"beta",variant:"expressive"},gradientColor:"nitro-pink",size:"md",align:"top",position:"right",caretConfig:{align:"start"},actions:[{text:s?na.intl.format(Ts.default.LwdrNi,{premiumGroupProductName:(0,Tr.DP)()}):na.intl.string(Ts.default["IO+nlU"]),variant:s?"expressive":"primary",onClick:()=>{i(rE.i.TAKE_ACTION),s?(0,Tt.A)({subscriptionTier:co.pe.TIER_2,initialPlanId:co.gD.PREMIUM_GROUP_MONTH,analyticsLocations:a}):(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("99709"),n.e("69595")]).then(n.bind(n,526710));return t=>(0,k.jsx)(e,{...t})})},...s?{icon:sO.t,iconPosition:"start"}:{}}],onRequestClose:()=>i(rE.i.USER_DISMISS)});return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{children:r}),u]})};var Tl=n(421438);function Tu(e){let{targetElementRef:t,children:n}=e;return(0,k.jsx)(c7.u,{targetElementRef:t,asset:(0,k.jsx)("img",{src:Tl,alt:""}),title:na.intl.string(Ts.default.aFBQ3d),body:na.intl.string(Ts.default.HXu14O),padding:"lg",caretConfig:{align:"center",position:"left"},position:"right",children:n})}var Tc=n(567341),Td=n(31502),T_=n(490285);function Tf(e){let{targetElementRef:t,dismissPopover:n,children:i}=e,r=(0,Td.l)("PremiumOrbRewardsIntroductionPopover"),s=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,uF.pX)(eL.BVt.NITRO_HOME,{search:(0,nN.stringify)({perk:IM.NITRO_ORBS_REWARDS_CARD_ID})})},[n]),a=(0,k.jsx)(rW.A,{targetElementRef:t,onRequestClose:()=>n(rE.i.USER_DISMISS),graphic:{type:"rive",rive:Tc.Z},badge:{type:r?"new":"beta",variant:"expressive"},alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},size:"md",title:na.intl.string(T_.default.UPOlxO),body:na.intl.string(T_.default.e6r8OX),actions:[{text:na.intl.string(na.t.RzWDqY),icon:sO.t,onClick:s}],gradientColor:"nitro-pink"});return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{children:i}),a]})}function Th(e){let{targetElementRef:t,dismissPopover:n,lastGrantedRewardAmount:i,children:r}=e,s=(0,Td.l)("PremiumOrbRewardsOrbDropPopover"),a=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,uF.pX)(eL.BVt.NITRO_HOME,{search:(0,nN.stringify)({perk:IM.NITRO_ORBS_REWARDS_CARD_ID})})},[n]),o=(0,k.jsx)(rW.A,{targetElementRef:t,onRequestClose:()=>n(rE.i.USER_DISMISS),graphic:{type:"rive",rive:Tc.Z},badge:{type:s?"new":"beta",variant:"expressive"},alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},size:"md",title:na.intl.string(T_.default["78+gLr"]),body:na.intl.formatToPlainString(T_.default.Ry1TXC,{orbsCount:i}),actions:[{text:na.intl.string(na.t.RzWDqY),icon:sO.t,onClick:a}],gradientColor:"nitro-pink"});return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{children:r}),o]})}var Tp=n(549384);function TE(e){let{targetElementRef:t,dismissPopover:n,children:i}=e,r=(0,Td.l)("PremiumOrbRewardsUpsellPopover"),s=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,uF.pX)(`${eL.BVt.NITRO_HOME}?section=${Tp.L}`)},[n]),a=(0,k.jsx)(rW.A,{targetElementRef:t,onRequestClose:()=>n(rE.i.USER_DISMISS),graphic:{type:"rive",rive:Tc.Z},badge:{type:r?"new":"beta",variant:"expressive"},alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},size:"md",title:na.intl.string(T_.default["3BI7j6"]),body:na.intl.string(T_.default.XNHr3C),actions:[{text:na.intl.string(na.t.hvVgAZ),onClick:s}],gradientColor:"nitro-pink"});return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{children:i}),a]})}function Tm(e){let{alt:t,ariaLabel:n,ariaHidden:i,role:r,width:s=144,height:a=144}=e;return(0,k.jsx)("img",{style:{width:s,height:a},src:I1,alt:t,"aria-label":n,"aria-hidden":i,role:r??"img"})}var Tg=n(912293);function TA(e){let{orbsCount:t}=e;return(0,k.jsxs)("div",{className:Tg.kL,children:[(0,k.jsx)("div",{className:Tg.dy,children:(0,k.jsx)(Tm,{alt:"","aria-hidden":!0,width:36,height:36})}),(0,k.jsx)(sw.E,{variant:"display-lg",color:"text-strong",className:Tg.Uq,children:t})]})}var TI=n(664184);function TT(e){let{targetElementRef:t,dismissPopover:n,children:i,numOrbs:r}=e,{analyticsLocations:s}=(0,of.Ay)(ii.A.PREMIUM_MARKETING_NITRO_HOME_ORBS_SECTION),a=e8.useCallback(()=>{n(rE.i.TAKE_ACTION),(0,Tt.A)({subscriptionTier:co.pe.TIER_2,analyticsLocations:s,analyticsObject:{object:eL.ZSU.BUTTON_CTA,objectType:eL.AnalyticsObjectTypes.TIER_2}})},[n,s]);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{children:i}),(0,k.jsx)(I5.x,{targetElementRef:t,onRequestClose:()=>n(rE.i.USER_DISMISS),alignmentStrategy:"edge",align:"top",position:"right",caretConfig:{align:"start"},gradientColor:"nitro-pink",children:(0,k.jsxs)("div",{"data-mana-component":"popover",children:[(0,k.jsx)(I9.q,{onClick:()=>n(rE.i.USER_DISMISS),variant:"color-mix"}),(0,k.jsx)("div",{className:TI.O,children:(0,k.jsx)(TA,{orbsCount:r})}),(0,k.jsx)(Te.D,{title:na.intl.string(T_.default.hx5AFp),body:na.intl.formatToPlainString(T_.default.otQEii,{orbsCount:r}),badge:{type:"beta",variant:"expressive"},className:TI.Q}),(0,k.jsx)(I7.Z,{actions:[{text:na.intl.string(na.t.pj0XBN),variant:"primary",icon:sO.t,onClick:a}]}),(0,k.jsx)(I8.F,{})]})})]})}var TS=n(511484),TN=n(473702),Ty=n(398932);let TC=e=>{let{targetElementRef:t,discountOffer:i,premiumSubscription:r,dismissCoachmark:s,children:a}=e,{analyticsLocations:o}=(0,of.Ay)(ii.A.CHURN_DISCOUNT_POPOVER),l=(0,TS.iU)(co.gD.PREMIUM_MONTH_TIER_2,i,r),u=(0,k.jsx)(rW.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,A9.Ke)(i.discount.user_usage_limit_interval),numMonths:i.discount.user_usage_limit}),graphic:{type:"image",src:Ty.A},gradientColor:"nitro-pink",actions:[{text:na.intl.string(na.t.zrCzVB),variant:"expressive",onClick:()=>{s(rE.i.TAKE_ACTION),(0,nC.openModalLazy)(async()=>{let{PremiumBrandRefreshSubscriptionCancellationModal:e}=await Promise.all([n.e("34218"),n.e("74587"),n.e("4592"),n.e("54747"),n.e("27681"),n.e("26105"),n.e("46461"),n.e("60060"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("11301"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("6338"),n.e("50689"),n.e("91013"),n.e("44571"),n.e("9045"),n.e("94161"),n.e("35432"),n.e("80347"),n.e("80166")]).then(n.bind(n,293061));return t=>(0,k.jsx)(e,{...t,premiumSubscription:r,analyticsLocations:o,initialStep:TN.g.CONFIRM_DISCOUNT})})},icon:sO.t}],onRequestClose:()=>{s(rE.i.USER_DISMISS)}});return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{children:a}),u]})};var Tv=n(498470),TO=n(807098),TR=n(637706);function Tb(e){let{children:t,targetElementRef:n,dismissPopover:i}=e,r=(0,IG.c)(Ic.C.PREMIUM_TAB_POPOVER),s=null!=r&&"premiumTabPopover"===r.properties.properties.oneofKind?r.properties.properties.premiumTabPopover:null,a=(0,TO.T)(s?.asset);if(null==s)return t;let o=s.button?.copy!=null?[{text:s.button.copy,variant:"expressive",onClick:(0,Tv.h)({buttonAction:s.button.buttonAction,deeplinkSection:s.button.deeplinkSection,onClose:()=>i(rE.i.USER_DISMISS)}),icon:sO.t}]:void 0,l=(0,TR.C)(s.helpArticle,s.helpArticleId);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{children:t}),(0,k.jsx)(rW.A,{targetElementRef:n,title:s.header,body:s.body,textLink:null!=l?{text:l.linkText,link:l.url}:void 0,graphic:null!=a?{type:"image",src:a}:void 0,size:"md",align:"top",alignmentStrategy:"edge",position:"right",caretConfig:{align:"start"},actions:o,onRequestClose:()=>i(rE.i.USER_DISMISS),gradientColor:"nitro-pink"})]})}function TD(e){let{children:t}=e,n=(0,IG.c)(Ic.C.PREMIUM_TAB_TOOLTIP),i=null!=n&&"premiumTabTooltip"===n.properties.properties.oneofKind?n.properties.properties.premiumTabTooltip:null,r=(0,TO.T)(i?.asset);return null==i?t:(0,k.jsx)(c7.u,{title:i.header,body:i.body,asset:null!=r?(0,k.jsx)("img",{src:r,alt:""}):void 0,assetSize:80,padding:"lg",position:"right",asContainer:!0,children:(0,k.jsx)("div",{children:t})})}function TL(e){let{alt:t,ariaLabel:n,ariaHidden:i,role:r,width:s=144,height:a=144}=e;return(0,k.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"})}var Tw=n(580630);function TM(e){let{children:t,endsAt:n,variant:i="initial"}=e,r=(0,IS.Zb)(n),s=(0,Tw.$g)(0,(0,A9.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,k.jsx)(c7.u,{title:l,body:o,asset:(0,k.jsx)(TL,{alt:"",width:48,height:48}),assetSize:48,position:"right",asContainer:!0,children:(0,k.jsx)("div",{children:t})})}var TP=((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.L_PREMIUM_SUB_TOOLTIP="l_premium_sub_tooltip",E.L_UPSELL="l_upsell",E.REVERSE_TRIAL="reverse_trial",E.ORBS_MULTIPLIER="orbs_multiplier",E.CROISSANT_REHEAT_MOMENT="croissant_reheat_moment",E);function Tx(e){let{children:t,popoverType:n,targetElementRef:i,churnDiscountOffer:r,premiumSubscription:s,receivesUpdatedUpsellPopover:a,orbsRewardAmount:o,lastGrantedRewardAmount:l,dismissCoachMark:u,dismissOrbsDropPopover:c,dismissMarketingPopover:d,orbMultiplier:_,fpCurrentEntitlementEndsAt:f,trialOffer:h}=e;if((0,nC.useHasAnyModalOpen)())return t;switch(n){case"churn_discount":if(null!=r&&null!=s)return(0,k.jsx)(TC,{targetElementRef:i,discountOffer:r,premiumSubscription:s,dismissCoachmark:u,children:t});break;case"premium_group":return(0,k.jsx)(To,{targetElementRef:i,dismissPopover:u,children:t});case"premium_group_tooltip":return(0,k.jsx)(Tu,{targetElementRef:i,children:t});case"orbs_upsell":if(a)return(0,k.jsx)(TT,{targetElementRef:i,dismissPopover:u,numOrbs:o,children:t});return(0,k.jsx)(TE,{targetElementRef:i,dismissPopover:u,children:t});case"orbs_intro":return(0,k.jsx)(Tf,{targetElementRef:i,dismissPopover:u,children:t});case"orbs_drop":if(null!=l)return(0,k.jsx)(Th,{targetElementRef:i,dismissPopover:c,lastGrantedRewardAmount:l,children:t});break;case"reverse_trial":{let e=h?.trial_id===co.Tt,n=f??(h?.expires_at!=null?IX()(h?.expires_at):null);if(null!=n)return(0,k.jsx)(TM,{endsAt:n,variant:e?"followup":"initial",children:t});break}case"tooltip":return(0,k.jsx)(TD,{children:t});case"marketing_moment_popover":return(0,k.jsx)(Tb,{targetElementRef:i,dismissPopover:d,children:t});case"l_premium_sub_tooltip":return(0,k.jsx)(I4,{children:t});case"l_upsell":return(0,k.jsx)(Ti,{targetElementRef:i,dismissPopover:u,children:t});case"orbs_multiplier":return(0,k.jsx)(I2,{multiplier:_,children:t});case"croissant_reheat_moment":return(0,k.jsx)(I0,{targetElementRef:i,dismissPopover:u,children:t})}return t}let TU=new Set([rM.M.PREMIUM_WISHLIST_COACHMARK]),Tk=e=>{let{selected:t}=e,n=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),i=(0,e6.bG)([IA.A],()=>IA.A.getPremiumTypeSubscription()),r=(0,Ik.V)(),s=(0,IU.O)(),a=(0,IT.cg)(),[o]=Iq(),l=(0,A9.Of)(n,i),u=(0,e6.bG)([II.A],()=>II.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},TG=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)([IA.A],()=>IA.A.getPremiumTypeSubscription()),_=(0,A9.Of)(c,d),f=(0,A9.YE)(c,co.PremiumTypes.TIER_2),h=(0,cw.rm)("nitro"),p=(0,Ik.V)(),E=(0,IU.O)(),m=(0,Ix.p)(),g=(0,IS.ds)(),A=(0,IT.cg)(),I=(0,Io.NF)({trialOffer:p}),T=(0,IV.bf)(),[S,N]=Iq(),{shouldShowBonusOrbsUX:y,dismissOrbMultiplierTabTooltip:C,orbMultiplier:v}=function(){let e=(0,nC.useHasAnyModalOpen)(),t=(0,Aq.Ay)(e=>e.postConnectionOpen),{shouldShowBonusOrbsUX:n,multiplier:i}=(0,IE.lk)(aq.rE.NITRO_HOME_TAB),[r,s]=(0,rh.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}}(),O=(0,Io.Tp)(),R=(0,e6.bG)([A4.A],()=>A4.A.getReminderStateId()),b=Is(),{programReward:D,isEligible:L}=(0,Im.F)({location:"NitroTabButton"}),{receivesUpdatedUpsellPopover:w,orbsRewardAmount:M}=(0,IY.uX)("NitroTabButton"),P=IC({location:"nitro_tab_popover"}),x=function(e){let{location:t}=e;return IN.useConfig({location:t})}({location:"nitro_tab_popover"}),U=!(0,A9.TW)(c),G=U&&L,F=D?.last_granted_reward,V=D?.last_granted_reward_amount,B=(0,Aq.mB)(rM.M.PREMIUM_ORBS_REWARDS_INTRO_POPOVER),H=f&&L&&null!=F&&null!=V&&!B,j=f&&L&&!H&&null!=D,Y=null!=m&&null!=d&&d.status===eL.Dmq.CANCELED,W=(0,Ig.Gh)("NitroTabButton"),{functionalityEnabled:K}=(0,IF.YS)({location:"NitroTabButton"}),z=In({location:"NitroTabButton"}),$=K&&z&&f,q=K&&z&&U,Z=function(){let e=(0,Ih.V)();if(!function(e){let{enabled:t}=If.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}}(),X=Z!==Ip.NONE,{fractionalState:Q,startsAt:J,endsAt:ee,currentEntitlementEndsAt:et}=(0,I_.A)({forceFetch:!0}),[en,ei]=(0,rh.Wl)(Q!==co.xc.NONE?rM.M.FRACTIONAL_NITRO_DURATION_LEFT_PILL:null,{showAfterTimestamp:J.valueOf(),cooldownDurationMs:0}),er=p?.trial_id===co.Dw,es=[],ea=[];(0,Aq.Tc)()&&(b&&es.push(rM.M.RECURRING_3P_PROMOTION_POPOVER),A&&es.push(rM.M.BOGO_2025_NITRO_TAB_BADGE));let[eo,el]=(0,rh.kn)(es,void 0,!0);Y&&ea.push(rM.M.CHURN_DISCOUNT_PREMIUM_TAB_COACHMARK),T&&(P||x?ea.push(rM.M.PREMIUM_GROUP_POPOVER_UPSELL_V2):ea.push(rM.M.PREMIUM_GROUP_POPOVER)),G&&ea.push(rM.M.PREMIUM_ORBS_UPSELL_POPOVER),j&&ea.push(rM.M.PREMIUM_ORBS_REWARDS_INTRO_POPOVER),$&&ea.push(rM.M.L_3PP_NITRO_TOOLTIP),q&&ea.push(rM.M.L_3PP_NON_NITRO_POPOVER),W&&ea.push(rM.M.PREMIUM_WISHLIST_COACHMARK),X&&ea.push(rM.M.CROISSANT_REHEAT_MOMENT);let[eu,ec]=(0,rh.kn)(ea,void 0,!0),ed=(0,IG.c)(Ic.C.PREMIUM_TAB),e_=(0,IG.c)(Ic.C.PREMIUM_TAB_TOOLTIP),ef=(0,IG.c)(Ic.C.PREMIUM_TAB_POPOVER),[eh,ep]=(0,rh.Cc)(null!=ed&&"premiumTab"===ed.properties.properties.oneofKind?rM.M.PREMIUM_TAB_MARKETING_MOMENT_OFFER_BADGE:null,ed?.promotionId??"",void 0,!0),[eE,em]=(0,rh.Cc)(null!=ef&&"premiumTabPopover"===ef.properties.properties.oneofKind?rM.M.PREMIUM_MARKETING_MOMENT_REMINDER_UPSELL:null,ef?.promotionId??"",void 0,!0),[eg,eA]=(0,rh.Cc)(H?rM.M.PREMIUM_ORBS_REWARDS_DROP_POPOVER:null,F??"",void 0,!0),eI=null!=e_&&"premiumTabTooltip"===e_.properties.properties.oneofKind&&eh===rM.M.PREMIUM_TAB_MARKETING_MOMENT_OFFER_BADGE,eT=$&&eu===rM.M.L_3PP_NITRO_TOOLTIP,eS=q&&eu===rM.M.L_3PP_NON_NITRO_POPOVER;if(e8.useEffect(()=>{!0===r&&(null!=eo&&el(rE.i.AUTO_DISMISS),null==eu||TU.has(eu)||ec(rE.i.AUTO_DISMISS),null!=eh&&ep(rE.i.AUTO_DISMISS),null!=eg&&eA(rE.i.AUTO_DISMISS),null!=eE&&em(rE.i.AUTO_DISMISS),y&&C(rE.i.AUTO_DISMISS),null!=S&&N(rE.i.AUTO_DISMISS))},[el,r,eo,ec,eu,eh,ep,eg,eA,eE,em,y,C,S,N]),!Tk({selected:r}))return null;let eN=()=>{en===rM.M.FRACTIONAL_NITRO_DURATION_LEFT_PILL&&ei(rE.i.TAKE_ACTION),ew.default.track(eL.HAw.NITRO_TAB_VISITED,{badge_decorator:n,has_premium:_}),null!=eo&&el(rE.i.USER_DISMISS),null!=eh&&ep(rE.i.USER_DISMISS),(eu===rM.M.PREMIUM_GROUP_POPOVER||eu===rM.M.PREMIUM_GROUP_POPOVER_UPSELL_V2)&&ec(rE.i.USER_DISMISS),eu===rM.M.L_3PP_NITRO_TOOLTIP&&ec(rE.i.USER_DISMISS),eu===rM.M.L_3PP_NON_NITRO_POPOVER&&ec(rE.i.USER_DISMISS),eu===rM.M.CROISSANT_REHEAT_MOMENT&&ec(rE.i.USER_DISMISS),y&&C(rE.i.USER_DISMISS),null!=S&&N(rE.i.USER_DISMISS)};Q===co.xc.NONE||g||(n=7,t=(0,k.jsx)(Iw,{className:"",startsAt:J,endsAt:ee,messageStyle:Id.yE.SHORT_TIME,upperCase:!0}));let ey=eu===rM.M.PREMIUM_GROUP_POPOVER||eu===rM.M.PREMIUM_GROUP_POPOVER_UPSELL_V2,eC=T&&ey,ev=(0,le.u$)(rM.M.PREMIUM_TAB_MARKETING_MOMENT_OFFER_BADGE,ed?.promotionId??"").isDismissed;if(null==ed||"premiumTab"!==ed.properties.properties.oneofKind||ev)if(O)t=(0,k.jsx)(AN.E,{type:{text:na.intl.string(na.t.RDE0Sc)},variant:"expressive"}),eN=()=>{ew.default.track(eL.HAw.NITRO_TAB_VISITED,{badge_decorator:n,has_premium:_}),(0,Io.ne)(R)},n=6;else if(eC)t=(0,k.jsx)(AN.E,{type:"new",variant:"expressive"}),n=10;else if(A)t=(0,k.jsx)(IB.A,{}),n=0;else if(I){let e=(0,Io.ZR)();t=(0,k.jsx)(IW.MA,{isTabSelected:r,badgeCopy:na.intl.string(na.t.OS9KPu),offerExpiresAt:!0===e?p?.expires_at:null}),n=4}else eo===rM.M.RECURRING_3P_PROMOTION_POPOVER?(t=(0,k.jsx)(AN.E,{type:"new",variant:"expressive"}),n=4,eN=()=>{ew.default.track(eL.HAw.NITRO_TAB_VISITED,{badge_decorator:n,has_premium:_}),el(rE.i.USER_DISMISS)}):g?(t=(0,k.jsx)(AN.E,{type:{text:na.intl.string(na.t.raP9dM)},variant:"expressive"}),n=4):null!=S?(t=(0,k.jsx)(AN.E,{type:{text:S},variant:"expressive"}),n=1):null!=E?(t=(0,k.jsx)(IW.fY,{userDiscount:E,isTabSelected:r,includesAmountOff:!1}),n=3):null==p||er?Y?(t=(0,k.jsx)(Iz,{isSelected:r,discountOffer:m}),n=8):G&&eu===rM.M.PREMIUM_ORBS_UPSELL_POPOVER||j&&eu===rM.M.PREMIUM_ORBS_REWARDS_INTRO_POPOVER||H&&eg===rM.M.PREMIUM_ORBS_REWARDS_DROP_POPOVER?(t=(0,k.jsx)(AN.E,{type:"new",variant:"expressive"}),n=2):eT?(t=(0,k.jsx)(AN.E,{type:"new",variant:"expressive"}),n=11):eS?(t=(0,k.jsx)(AN.E,{type:"new",variant:"expressive"}),n=12):W&&eu===rM.M.PREMIUM_WISHLIST_COACHMARK?(t=(0,k.jsx)(AN.E,{type:"new",variant:"expressive"}),n=13):y?(t=(0,k.jsx)(AN.E,{type:"new",variant:"expressive"}),n=14):X&&eu===rM.M.CROISSANT_REHEAT_MOMENT&&(t=(0,k.jsx)(AN.E,{type:"new",variant:"expressive"}),n=2):(t=(0,k.jsx)(IW.Ag,{trialOffer:p,isTabSelected:r}),n=4);else t=(0,k.jsx)(Ij,{componentId:ed.id,badgeCopy:ed.properties.properties.premiumTab.badgeLabel,acknowledgedBadgeCopy:ed.properties.properties.premiumTab.acknowledgedBadgeLabel,isDismissed:ev}),n=9,l=ed.properties.properties.premiumTab.showHoverGradient,i=ed.properties.properties.premiumTab.deeplinkSection;let eO=TP.NONE;eE===rM.M.PREMIUM_MARKETING_MOMENT_REMINDER_UPSELL?eO=TP.MARKETING_MOMENT_POPOVER:Y&&eu===rM.M.CHURN_DISCOUNT_PREMIUM_TAB_COACHMARK&&8===n?eO=TP.CHURN_DISCOUNT:eC&&!x?eO=TP.PREMIUM_GROUP:eC&&x?(eO=TP.PREMIUM_GROUP_TOOLTIP,l=!0):G&&eu===rM.M.PREMIUM_ORBS_UPSELL_POPOVER?eO=TP.ORBS_UPSELL:j&&eu===rM.M.PREMIUM_ORBS_REWARDS_INTRO_POPOVER?eO=TP.ORBS_INTRO:H&&eg===rM.M.PREMIUM_ORBS_REWARDS_DROP_POPOVER?eO=TP.ORBS_DROP:eI?eO=TP.TOOLTIP:eT?eO=TP.L_PREMIUM_SUB_TOOLTIP:eS?eO=TP.L_UPSELL:g||p?.trial_id===co.Tt?eO=TP.REVERSE_TRIAL:y?eO=TP.ORBS_MULTIPLIER:Z===Ip.POPOVER&&eu===rM.M.CROISSANT_REHEAT_MOMENT&&(eO=TP.CROISSANT_REHEAT_MOMENT);let eR=(0,k.jsx)(de.z9,{listItemRef:s,selected:r,route:a,icon:sO.t,showHoverGradient:l??!1,nitroHoverGradient:!0,text:(0,k.jsx)(c5.A,{children:f?na.intl.string(na.t["4gwVVn"]):na.intl.string(na.t.Ipxkog)}),locationState:o,onClick:()=>{if(eT){let e=new URL(a,window.location.origin);e.searchParams.set(IP.WU,IM.LOGITECH_3PP_CARD_ID),(0,uF.pX)(`${e.pathname}?${e.searchParams.toString()}`)}else if(null!=i&&""!==i){let e=new URL(a,window.location.origin);e.searchParams.set(IP.x6,i),(0,uF.pX)(`${e.pathname}?${e.searchParams.toString()}`)}eN()},...u,...h,children:t});return(0,k.jsx)(Tx,{popoverType:eO,targetElementRef:s,churnDiscountOffer:m,premiumSubscription:d,receivesUpdatedUpsellPopover:w,orbsRewardAmount:M,orbMultiplier:v,lastGrantedRewardAmount:V,dismissCoachMark:ec,dismissOrbsDropPopover:eA,dismissMarketingPopover:em,fpCurrentEntitlementEndsAt:et,trialOffer:p,children:eR})};var TF=n(106778);let TV=[n(426560)],TB=["#FFFFFF"],TH=1e3/60,Tj={velocity:{type:"static-random",minValue:{x:0,y:1},maxValue:{x:3,y:3}},rotation:{type:"linear-random",minValue:{x:0,y:0,z:0},maxValue:{x:0,y:0,z:360},minAddValue:{x:0,y:0,z:-5},maxAddValue:{x:0,y:0,z:5}},size:{type:"static-random",minValue:2,maxValue:6},dragCoefficient:{type:"static",value:830},opacity:{type:"static",value:.3}};function TY(e){let{className:t,firing:n=!0,wind:i=2,sprites:r=TV,spriteColors:s=TB,confettiConfig:a}=e,[o,l]=e8.useState(null),[u,c]=e8.useState(null),d=(0,TF.f9)(u,o),_=e8.useMemo(()=>new TF.OH({wind:i}),[i]),f=e8.useCallback(()=>{let e=u?.getCanvas();if(null==e)return;let t=e.getBoundingClientRect();d.createConfetti({...Tj,...a,position:{type:"static-random",minValue:{x:-t.width/2,y:-6},maxValue:{x:t.width,y:-6}}})},[d,u,a]);return e8.useEffect(()=>{let e=n?setInterval(f,TH):null;return()=>clearInterval(e)},[n,f]),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(TF.Fk,{ref:c,className:t,environment:_}),(0,k.jsx)(TF.K_,{ref:l,colors:s,sprites:r,spriteWidth:6,spriteHeight:6})]})}var TW=n(873174),TK=n(717421),Tz=n(770178),T$=n(87549),Tq=n(18437),TZ=n(194526),TX=n(78701);function TQ(e){let{onNavigateToQuestHome:t,onRender:n,onRequestClose:i,targetElementRef:r}=e,s=e8.useCallback(()=>{t(),(0,uF.pX)(eL.BVt.QUEST_HOME)},[t]);return e8.useEffect(()=>{n()},[n]),(0,k.jsx)(rW.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:TX.A},onRequestClose:i,position:"right",size:"lg",targetElementRef:r,title:na.intl.string(na.t.EDDchq)})}var TJ=n(398025),T0=n(301958);let T1=Math.ceil(Math.sqrt(115200)),T2=(T1-240)/2,T3=function(e){let{selected:t}=e,n=(0,cw.rm)("quests"),i=e8.useRef(null),{shouldShowPopover:r,shouldShowGradientAndBadge:s,dismissOnboardingContent:a}=function(){let e=(0,nC.useHasAnyModalOpen)(),t=(0,e6.bG)([oN.A],()=>oN.A.quests.size>0),n=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),[i,r]=(0,rh.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,le.JZ)(rM.M.QUEST_HOME_ENTRYPOINT_ONBOARDING);return{shouldShowPopover:a,shouldShowGradientAndBadge:t&&!o,dismissOnboardingContent:s}}(),{shouldShowQuestHomeHeroContent:o,dismissQuestHomeHeroContent:l,questHomeHero:u}=(0,TZ.I)(),c=(0,Tq.cR)({questHomeHero:u,shouldShowQuestHomeHeroContent:o}),d=e8.useCallback(()=>{T$.A.getState().setUtmCurrentContext({utmContentCurrent:"PRIMARY_QUEST_HOME"}),o&&l(),c.handleEntrypointClick()},[o,l,c]),[{glowSpring:_},f]=(0,TK.z)(()=>({from:{glowSpring:0},config:{clamp:!0,mass:1,tension:240,friction:12}})),[{shineSpring:h},p]=(0,TK.z)(()=>({from:{shineSpring:0},config:{clamp:!0,mass:1,tension:170,friction:38}})),E=e8.useCallback(()=>{p({shineSpring:1}),f({glowSpring:1,delay:200}),c.handleMouseEnter()},[p,f,c]),m=e8.useCallback(()=>{p({shineSpring:0,immediate:!0}),f({glowSpring:0,delay:0}),c.handleMouseLeave()},[p,f,c]),g=e8.useCallback(()=>{p({shineSpring:1,delay:500}),f({glowSpring:1,delay:700}),c.handleOnboardingPopoutRender()},[p,f,c]),[A,I]=e8.useState(-1),T=e8.useCallback(e=>{I(e.contentRect.width)},[]),S=(0,Tz.w)(T,[],{fireOnMount:!0}),N=!o&&s,y=!o&&r,C=o&&u?.questHomeEntrypoint?.tooltipTitle!=null,{inlineCssProperties:v,shouldShowQuestHomeHeroGradient:O}=e8.useMemo(()=>{let e={"--custom-shine-dimensions":"240px","--custom-shine-rotated-dimensions-delta":`${T2}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]),R=(0,k.jsx)("div",{className:T0.iE,onMouseEnter:E,onMouseLeave:m,onFocus:E,onBlur:m,ref:S,style:v,children:(0,k.jsxs)(de.z9,{showHoverGradient:!1,className:t2()({[T0.VU]:N||O,[T0.jR]:N,[T0.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,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{className:T0.qS,children:(0,k.jsx)(AN.E,{type:{text:na.intl.string(na.t.y2b7CA)},variant:"expressive"})}),u?.questHomeEntrypoint?.image!=null&&(0,k.jsx)("img",{src:u?.questHomeEntrypoint?.image,className:T0.Nd,alt:""})]}),N&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(TW.animated.div,{className:T0.q2,style:{transform:h.to(e=>`translateX(calc(${e*A}px + ${e*T1}px)) translateY(-50%) rotate(45deg)`)}}),(0,k.jsx)(TW.animated.div,{className:T0.ys,style:{opacity:(0,TJ.a)(_.to({range:[0,1],output:[0,.5]}))}}),(0,k.jsx)(oi.Lp,{className:T0.qS,text:na.intl.string(na.t.y2b7CA),color:r9.A.colors.BACKGROUND_BRAND.css})]})]})});return(0,k.jsxs)(k.Fragment,{children:[C?(0,k.jsx)(c7.u,{title:u?.questHomeEntrypoint?.tooltipTitle,body:u?.questHomeEntrypoint?.tooltipSubtitle??"",asset:u?.questHomeEntrypoint?.tooltipImage!=null?(0,k.jsx)("img",{src:u.questHomeEntrypoint.tooltipImage,alt:"",className:T0.ut}):void 0,assetSize:48,position:"right",align:"center",asContainer:!0,children:R}):R,y&&(0,k.jsx)(TQ,{targetElementRef:i,onNavigateToQuestHome:d,onRender:g,onRequestClose:a})]})};var T6=n(793322),T4=n(366811),T5=n(728321),T7=n(839067),T8=n(67480),T9=n(619921),Se=n(541830),St=n(536283),Sn=n(925004);let Si=e=>{let{selected:t,...n}=e,i=(0,AZ.c)("PrivateChannels.ICYMIButton"),r=(0,cw.rm)("icymi");return i?(0,k.jsx)("div",{className:Sn.F2,children:(0,k.jsx)(de.z9,{selected:t,route:eL.BVt.ICYMI,icon:sC.g,text:(0,k.jsxs)(k.Fragment,{children:[na.intl.string(na.t["jnXV/V"]),(0,k.jsx)("span",{className:Sn.HH,children:na.intl.string(na.t.Ac2OZA)})]}),...n,...r})}):null},Sr=e=>{let{selected:t,...n}=e,i=(0,cw.rm)("friends"),r=(0,iJ.kX)(),s=(0,e6.bG)([uQ.Ay],()=>uQ.Ay.canShowFriendsTabBadge()),a=(0,e6.bG)([e7.A],()=>e7.A.useReducedMotion),{enabled:o}=uZ.u.useConfig({location:"Friends Tab"}),[l,u]=(0,rh.Wl)(s&&o?rM.M.GIFTING_INTENT_FRIENDS_TAB_BADGE:null,{cooldownDurationMs:uQ.hb}),c=l===rM.M.GIFTING_INTENT_FRIENDS_TAB_BADGE;e8.useEffect(()=>{c&&(0,o3.x)({name:eO.ImpressionNames.GIFT_INTENT_BADGE,type:eO.ImpressionTypes.VIEW,properties:{gift_intent_type:co.np.FRIEND_ANNIVERSARY}})},[c]);let d=()=>{let e;c?(ew.default.track(eL.HAw.GIFT_INTENT_BADGE_CLICKED,{gift_intent_type:co.np.FRIEND_ANNIVERSARY}),e=eL.m3P.ALL,oa.A.setSection(eL.m3P.ALL),u(rE.i.TAKE_ACTION)):e=uS.Ay.getState().section,(0,di.A)({tab_opened:e})},[_,f]=e8.useState(!1),h=()=>{f(!1)},p=()=>{f(!0)},E=()=>(0,k.jsx)(de.z9,{showHoverGradient:!1,onClick:d,interactiveClassName:c?Sn.hc:void 0,selected:t,route:eL.BVt.FRIENDS,icon:sb.$,text:na.intl.string(na.t.TdEu5X),onMouseEnter:p,onMouseLeave:h,...n,...i,children:r>0?(0,k.jsx)(oi.hV,{count:r}):null});return(0,k.jsx)("div",{className:Sn.F2,children:c?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(c7.u,{title:na.intl.string(na.t.Thb5MO),body:na.intl.string(na.t.kGvgwS),position:"left",asset:(0,k.jsx)(c4,{size:32,alt:na.intl.string(na.t["4LohBA"])}),children:E()}),!a&&(0,k.jsx)(TY,{className:Sn.t_,wind:0,sprites:St.uI,spriteColors:St._t,firing:_,confettiConfig:{opacity:{type:"static",value:1},dragCoefficient:{type:"static",value:{x:100,y:100}}}})]}):E()})},Ss=e=>{let{selected:t,hideGameUpdateProgressIndicator:n,...i}=e,r=(0,cw.rm)("library");return(0,k.jsx)(de.z9,{selected:t,route:eL.BVt.APPLICATION_LIBRARY,icon:c8._,text:na.intl.string(na.t.cw57ar),...i,...r,children:(0,k.jsx)(dn.A,{className:t2()(Sn.Qw,{[Sn.QI]:n})})})},Sa=()=>{let e=(0,AQ.W)();return e>0?(0,k.jsx)(oi.hV,{count:e}):null},So=e=>{let{selected:t}=e,n=(0,cw.rm)("messageRequests"),{channelId:i}=(0,AX.N)();if(!A2())return null;let r=null==i?void 0:()=>un.A.preload(eL.ME,i);return(0,k.jsx)(de.z9,{selected:t,route:eL.BVt.MESSAGE_REQUESTS,icon:c9.u,text:na.intl.string(na.t.e7GWjQ),onClick:r,...n,children:(0,k.jsx)(Sa,{})})},Sl=e=>{let{selected:t}=e,n=na.intl.string(sF.default.Rkdixs),i=(0,cw.rm)("family-center"),[r,s]=e8.useState(!0);return(0,k.jsx)(de.z9,{selected:t,route:eL.BVt.FAMILY_CENTER,icon:sD.n,text:n,onMouseEnter:()=>{s(!0)},onMouseLeave:()=>{s(!1)},interactiveClassName:Sn.M1,...i,children:(0,k.jsx)(Su,{isParentHovered:r})})},Su=e=>{let{isParentHovered:t}=e,i=(0,A6.VT)();return t?(0,k.jsx)("div",{className:Sn.lL,children:(0,k.jsx)(de.w_,{onClick:()=>{(0,nC.openModalLazy)(async()=>{let{default:e}=await n.e("67195").then(n.bind(n,371158));return t=>(0,k.jsx)(e,{...t})})},"aria-label":na.intl.string(na.t.cpT0Cq),icon:cA.P})}):i>0?(0,k.jsx)("div",{className:t2()(Sn.lL,Sn.iL),children:(0,k.jsx)(oi.hV,{count:i})}):(0,k.jsx)("div",{className:Sn.lL,children:(0,k.jsx)(rx.Ay,{contentTypes:[rM.M.FAMILY_CENTER_NEW_BADGE],children:e=>{let{visibleContent:t}=e;return t===rM.M.FAMILY_CENTER_NEW_BADGE?(0,k.jsx)(oi.Lp,{text:na.intl.string(na.t.y2b7CA),color:r9.A.colors.BACKGROUND_BRAND.css}):null}})})},Sc=()=>(0,T6.WU)("DM_SEARCH");function Sd(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 S_=e8.memo(function(e){let{showLibrary:t,hasLibraryApplication:n,homeLink:i,premiumTabSelected:r,shouldShowNitroTab:s,showReferralProgramPopover:a,showRecurring3PPopover:o,shouldShowMessageRequestsRow:l,shouldShowFamilyCenterRow:u,selectedChannelId:c,path:d}=e,_=e8.useRef(null),f=e8.useRef(null),h=e8.useRef(null),p=e8.useRef(null),E=(0,AZ.c)("PrivateChannels"),m=null;return a?m=(0,k.jsx)(Iu,{targetElementRef:p}):o&&(m=(0,k.jsx)(Ia,{targetElementRef:p})),(0,k.jsxs)("nav",{className:Sn.AB,"aria-label":na.intl.string(na.t.ZH9aP4),children:[(0,k.jsx)(T5.A,{childRef:_,tutorialId:"direct-messages",position:"right",offsetX:-52,children:(0,k.jsx)("div",{ref:_,className:t2()(Sn.ON,{[Sn.jD]:e0.Fr}),children:(0,k.jsx)(tJ.$,{fullWidth:!0,variant:"secondary",size:"sm",onClick:Sc,text:na.intl.format(na.t.fH9FBy,{tooltipHook:(e,t)=>(0,k.jsx)(c5.A,{children:e},t)})})})}),(0,k.jsxs)(dt.A,{...e,version:d,selectedChannelId:c,listScrollerRef:h,children:[(0,k.jsx)(Sr,{selected:null!=d?d===eL.BVt.FRIENDS:i===eL.BVt.FRIENDS},"friends"),E?(0,k.jsx)(Si,{selected:null!=d?d===eL.BVt.ICYMI:i===eL.BVt.ICYMI},"icymi"):null,n&&t?(0,k.jsx)(Ss,{selected:null==d?null!=i&&i.startsWith(eL.BVt.APPLICATION_LIBRARY):d.startsWith(eL.BVt.APPLICATION_LIBRARY),hideGameUpdateProgressIndicator:i===eL.BVt.APPLICATION_LIBRARY},"library"):null,l?(0,k.jsx)(So,{selected:null==d?null!=i&&i.startsWith(eL.BVt.MESSAGE_REQUESTS):d===eL.BVt.MESSAGE_REQUESTS},"message-requests"):null,s?(0,k.jsxs)("div",{children:[(0,k.jsx)(TG,{nitroTabButtonRef:p,selected:null==d?r:d.startsWith(eL.BVt.APPLICATION_STORE),route:eL.BVt.APPLICATION_STORE,locationState:{analyticsSource:{page:Sd(i),section:eL.JJy.NAVIGATION,object:eL.ZSU.NAVIGATION_LINK}}}),m]},"nitro-tab-group"):null,(0,k.jsx)(A$,{selected:d===eL.BVt.COLLECTIBLES_SHOP||i?.startsWith(eL.BVt.COLLECTIBLES_SHOP),listItemRef:f,locationState:{analyticsSource:{page:Sd(i),section:eL.JJy.NAVIGATION,object:eL.ZSU.NAVIGATION_LINK}}},"discord-shop"),u?(0,k.jsx)(Sl,{selected:null!=i&&i.startsWith(eL.BVt.FAMILY_CENTER)||null!=d&&d.startsWith(eL.BVt.FAMILY_CENTER)},"family-center"):null,(0,k.jsx)(T3,{selected:null==d?null!=i&&i.startsWith(eL.BVt.QUEST_HOME):d===eL.BVt.QUEST_HOME},"quests"),(0,k.jsx)(Sf,{},"section-divider-top")]})]})});function Sf(){return(0,k.jsx)("div",{className:Sn.ts})}function Sh(){let e,t,n=(0,e6.bG)([T9.A],()=>T9.A.getHomeLink()),i=(0,e6.bG)([T8.A],()=>{if(n===eL.BVt.APPLICATION_STORE)return!0;let e=(0,Se.qt)(n);return null!=e&&(T8.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)([lX.A],()=>lX.A.hasLibraryApplication()),o=(0,e6.bG)([T7.A],()=>T7.A.getCurrentPath()),[l,u]=(0,T4.A)(e=>{let{channelId:t,path:n}=e;return[t,n]},c6.x),c=Tk({selected:null==u?i:u.startsWith(eL.BVt.APPLICATION_STORE)}),d=(0,Io.Tp)(),_=(0,e6.bG)([A4.A],()=>A4.A.getReminderStateId()),f=Is(),h=[],p=(0,A5.A)({location:"Private Channels"});(0,Aq.Tc)()&&(d&&!p&&h.push(rM.M.REFERRAL_PROGRAM_POPOVER),f&&h.push(rM.M.RECURRING_3P_PROMOTION_POPOVER));let[E]=(0,rh.Cc)(d&&p?rM.M.REFERRAL_PROGRAM_POPOVER_V2:null,_??"",void 0,!0),[m,g]=(0,rh.kn)(h,void 0,!0),A=null==E&&m===rM.M.RECURRING_3P_PROMOTION_POPOVER,I=p?E===rM.M.REFERRAL_PROGRAM_POPOVER_V2:m===rM.M.REFERRAL_PROGRAM_POPOVER,T=A2(),S=(e=tl.dm.useSetting(),t=(0,A3.A)(),!0===e&&!0===t);return(0,k.jsx)(S_,{theme:s,showLibrary:r,hasLibraryApplication:a,storeLink:o,homeLink:n,premiumTabSelected:i,shouldShowNitroTab:c,showReferralProgramPopover:I,showRecurring3PPopover:A,shouldShowMessageRequestsRow:T,shouldShowFamilyCenterRow:S,selectedChannelId:l,path:u})}var Sp=n(892340),SE=n(272720),Sm=n(320989),Sg=n(463347),SA=n(334465),SI=n(718446),ST=n(650048),SS=n(696451),SN=n(487490),Sy=n(935208),SC=n(521502),Sv=n(380610);function SO(e){let{width:t=14,height:n=14,color:i="currentColor",foreground:r,...s}=e;return(0,k.jsx)("svg",{...(0,ne.A)(s),width:t,height:n,viewBox:"0 0 14 14",children:(0,k.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 SR=n(932553);let Sb="isHideDevBanner",SD=()=>{let[e,t]=(0,e8.useState)(tA.w.get(Sb,"false")?.toString()==="true"),n=(0,e6.bG)([SC.A],()=>(0,Sv.kK)()?SC.A.getCurrentBuildOverride().overrides?.discord_web:null);if(e)return null;let i=()=>{tA.w.set(Sb,!0),t(!0)},r=()=>(0,k.jsx)(t3.D,{onClick:i,className:SR.b,"aria-label":na.intl.string(na.t.WAI6xu),children:(0,k.jsx)(cA.P,{size:"md",color:"currentColor",className:SR.ut})});return null!=n?(0,k.jsxs)("div",{className:t2()(SR.Wz,SR.DM),children:[(0,k.jsx)(SO,{className:SR.Kk}),na.intl.string(na.t.Wj3LW4),(0,k.jsx)(r,{})]}):"staging"===window.GLOBAL_ENV.RELEASE_CHANNEL?(0,k.jsxs)("div",{className:t2()(SR.Wz,SR.mr),children:[(0,k.jsx)(SO,{className:SR.Kk}),na.intl.format(na.t.uyrfYF,{buildNumber:"541270"}),(0,k.jsx)(r,{})]}):null};var SL=n(765671),Sw=n(757780);let SM=(0,eM.mj)({name:"2026-05-rtc-connection-functional",kind:"user",defaultConfig:{enabled:!1},variations:{0:{enabled:!1},1:{enabled:!0}}});var SP=n(113630),Sx=n(985668),SU=n(504337),Sk=n(629016),SG=n(235986),SF=n(636585),SV=n(42473),SB=n(994314),SH=n(485599),Sj=n(246568);class SY 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,k.jsxs)("div",{children:[(0,k.jsx)(SH.A,{children:this.isHost()?na.intl.formatToPlainString(na.t["6UJ7mh"],{count:this.props.party.length}):na.intl.string(na.t.RZufbH)}),(0,k.jsx)(SB.A,{children:na.intl.string(na.t["0ZHLIi"])})]})}renderStopListeningButton(){let{onStopListening:e}=this.props;return this.isHost()?null:(0,k.jsx)(SV.A,{tooltipText:na.intl.string(na.t.LeZSpz),onClick:e,icon:cA.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,k.jsx)(lm.A,{targetElementRef:this.partyMemberAvatarRef,user:e,newAnalyticsLocations:[ii.A.AVATAR],position:"top",align:"center",clickTrap:!0,children:i=>(0,k.jsx)(rJ.m,{text:n,children:(0,e8.createElement)(oW.eu,{...i,key:e.id,src:e.getAvatarURL(void 0,24),size:oK._3.SIZE_24,className:t2()(Sj.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,k.jsx)(so.Y,{renderPopout:i,targetElementRef:this.partyMemberOverflowRef,children:n=>(0,k.jsx)(rJ.m,{text:na.intl.string(na.t.Zf4NPe),children:(0,k.jsx)("div",{...n,ref:this.partyMemberOverflowRef,className:t2()(Sj.ju,t),children:e})})},n)};renderHelpIcon(){return this.isHost()?(0,k.jsx)(SV.A,{tooltipText:na.intl.string(na.t.U7N2Hs),onClick:()=>{window.open(nf.A.getArticleURL(eL.MVz.SPOTIFY_CONNECTION),"_blank")},icon:_Z.m}):null}render(){return(0,k.jsxs)("div",{className:Sj.Jh,children:[this.renderTitle(),(0,k.jsx)(SG.A,{justify:SG.A.Justify.END,className:Sj.Hg,children:(0,k.jsx)(SF.A,{users:this.props.party,max:this.isHost()?5:4,renderUser:this.renderPartyMember,renderMoreUsers:this.renderPartyMemberOverflow})}),(0,k.jsxs)("div",{className:Sj.Pt,children:[this.renderHelpIcon(),this.renderStopListeningButton()]})]})}}var SW=n(883202);class SK extends e8.PureComponent{handleContextMenu(e,t){(0,u_.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("19960"),n.e("25907"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("8757"),n.e("89673"),n.e("85968"),n.e("60195"),n.e("68403"),n.e("29787"),n.e("97558"),n.e("94000"),n.e("91994"),n.e("76665"),n.e("76273"),n.e("24198"),n.e("86169"),n.e("32418")]).then(n.bind(n,668569));return n=>(0,k.jsx)(e,{...n,user:t})})}renderUser(e){return null==e?null:(0,k.jsxs)(SG.A,{className:SW.kQ,align:SG.A.Align.CENTER,onContextMenu:t=>{null!=e&&this.handleContextMenu(t,e)},children:[(0,k.jsx)(oW.eu,{src:e.getAvatarURL(void 0,24),"aria-label":e.username,size:oK._3.SIZE_24,className:SW.my}),(0,k.jsx)(l7.A,{user:e,className:SW.Tc,usernameClass:SW.Xh,discriminatorClass:SW.D2})]},e.id)}render(){let{party:e,header:t}=this.props,n=e.map(e=>this.renderUser(e));return(0,k.jsxs)("div",{className:SW.Gh,children:[(0,k.jsx)("div",{className:SW.wx,children:t}),(0,k.jsx)(od.Ip,{className:SW.Qs,fade:!0,children:n})]})}}class Sz extends e8.PureComponent{hasParty(e){return e.length>1}handleStopListening(){(0,SU.A)()}handleUserContextMenu=(e,t)=>{(0,u_.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("19960"),n.e("25907"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("8757"),n.e("89673"),n.e("85968"),n.e("60195"),n.e("68403"),n.e("29787"),n.e("97558"),n.e("94000"),n.e("91994"),n.e("76665"),n.e("76273"),n.e("24198"),n.e("86169"),n.e("32418")]).then(n.bind(n,668569));return n=>(0,k.jsx)(e,{...n,user:t})})};renderOverflowPopout=()=>{let{party:e}=this.props;return(0,k.jsx)(SK,{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,k.jsx)(SY,{currentUser:e,host:t,party:n,renderOverflowPopout:this.renderOverflowPopout,onStopListening:this.handleStopListening,onUserContextMenu:this.handleUserContextMenu}):null}}let S$=e6.Ay.connectStores([us.A,tT.default,i1.A,Sk.A],()=>{let e,t,n=us.A.getSyncingWith(),i=us.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(Sk.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}})(Sz);var Sq=n(936504),SZ=n(697744),SX=n(416696),SQ=n(446080),SJ=n(744682);let S0={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}},S1=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,k.jsx)(SJ.P,{...e,src:()=>n.e("24596").then(n.t.bind(n,941983,19)),ref:t,initialAnimation:i.current,markers:S0}),[]);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 S2=n(315710),S3=n(243721),S6=n(452027),S4=n(951001),S5=n(155718),S7=n(967812),S8=n(404522),S9=n(782091),Ne=n(641703),Nt=n(521588),Nn=n(975412),Ni=n(152567),Nr=n(329072),Ns=n(384059),Na=n(480890),No=n(857253),Nl=n(528767),Nu=n(790381),Nc=n(30529),Nd=n(544105),N_=n(674586);function Nf(e){let{platform:t}=e;return t===Nd.f$.XBOX?(0,k.jsx)(lE.A,{className:N_.Kk}):t===Nd.f$.PLAYSTATION?(0,k.jsx)(Nu.A,{className:N_.Kk}):null}function Nh(e){let{voiceState:t,awaitingRemoteSessionInfo:n}=e,i=null!=n?(0,Nc.X)(n.type):null,r=(0,e6.bG)([Nl.A],()=>Nl.A.getSessionById(t?.sessionId??"")?.clientInfo.os),s=i??r;if(null==s||!Nd.hv.has(s))return null;let a=null!=n,o=a?s===Nd.f$.XBOX?na.intl.string(na.t.UjA4HX):na.intl.string(na.t.QCw1oW):s===Nd.f$.XBOX?na.intl.format(na.t["ynEs/Y"],{}):na.intl.format(na.t.TZ17Bg,{});return(0,k.jsxs)("div",{className:t2()(N_.zr,a?N_.jI:N_.aW),children:[(0,k.jsx)(Nf,{platform:s}),(0,k.jsx)(sw.E,{color:a?"text-strong":"always-white",variant:"text-xs/medium",children:o})]})}var Np=n(880144),NE=n(338771),Nm=n(421838),Ng=n(891540),NA=n(205106);function NI(){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,NA.A)(!0,t)})(tI.Ay))}var NT=n(999751),NS=n(123973),NN=n(621956),Ny=n(173660),NC=n(234320),Nv=n(813564),NO=n(674168),NR=n(334348),Nb=n(395766);function ND(e){let{channel:t,...i}=e,r=e8.useRef(null),{mute:s,suppress:a}=(0,Ny.A)(t),o=(0,rf.bG)([tI.Ay],()=>tI.Ay.isDeaf()),l=s||a||o,[u,c]=e8.useState(!1),d=t.getGuildId(),_=(0,Nv.VE)({isSoundboardButtonDisabled:l}),[f,h]=(0,Iv.DP)(_),{analyticsLocations:p,parentAnalyticsLocation:E}=(0,of.Ay)(ii.A.SOUNDBOARD_BUTTON);function m(e){null!=d&&(0,u_.L3)(e,async()=>{let{default:e}=await n.e("11562").then(n.bind(n,666801));return t=>(0,k.jsx)(e,{guildId:d,sourceAnalyticsLocations:p,...t,onInteraction:(0,Na.s)("SoundboardContextMenu",ii.A.RTC_PANEL)})})}let{Component:g,play:A,events:{onMouseEnter:I,onMouseLeave:T}}=(0,NN.E)(),S=e8.useCallback(()=>{l||c(!u)},[l,u]);return(0,NC.Vo)({event:eL.jej.TOGGLE_SOUNDBOARD,handler:S}),(0,k.jsx)(of.f5,{value:p,children:(0,k.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,k.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,k.jsx)(NR.A,{guildId:d,channel:t,onClose:n,gridNotice:f===rM.M.CUSTOM_CALL_SOUNDS_PICKER_UPSELL&&(0,k.jsx)(NO.m,{onClose:n,markAsDismissed:h}),analyticsSource:"rtc panel"})},children:e=>(0,k.jsx)("div",{ref:r,children:(0,k.jsx)(an.$n,{"data-migration-pending":!0,...e,className:t2()(Nb.x6,Nb.Sq,{[Nb.W4]:u,[Nb.r9]:l}),wrapperClassName:Nb.x6,innerClassName:Nb.bk,disabled:l,onClick:()=>{null!=f&&f!==rM.M.CUSTOM_CALL_SOUNDS_PICKER_UPSELL&&h(rE.i.UNKNOWN),c(!u),A(),(0,Ns.X)(E,Ns.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,k.jsx)(g,{className:Nb.iA,size:"sm",color:"currentColor"})})})})})})}var NL=n(63995),Nw=n(518769),NM=n(96566),NP=n(302884),Nx=n(30108),NU=n(39938),Nk=n(151476),NG=n(405018),NF=n(704877),NV=n(848362),NB=n(222692),NH=n(702904),Nj=n(471993),NY=n(442353),NW=n(970636),NK=n(377802),Nz=n(707592),N$=n(132860),Nq=n(993838),NZ=n(106044);function NX(e){let{tooltipText:t,onClick:n}=e,{parentAnalyticsLocation:i}=(0,of.Ay)(),{events:r,Component:s}=(0,NK.O)();return(0,k.jsx)(SV.A,{tooltipText:t,onClick:()=>{(0,Ns.X)(i,Ns.O.DISCONNECT),n()},...r,icon:(0,k.jsx)(s,{size:"refresh_sm"})})}function NQ(e){let{channel:t}=e;return(0,k.jsx)(NX,{tooltipText:na.intl.string(na.t.SMKyih),onClick:()=>{(0,NZ.A)(t)?(0,Nq.j3)(t):nD.default.disconnect()}})}function NJ(e){let{channel:t}=e;return(0,k.jsx)(NX,{tooltipText:na.intl.string(na.t["6vrfgt"]),onClick:()=>{(0,N$.A)(t)?(0,Nz.Py)(t):nD.default.disconnect()}})}function N0(e){let{channel:t}=e;return t.isGuildStageVoice()?(0,k.jsx)(NQ,{channel:t}):(0,k.jsx)(NJ,{channel:t})}var N1=n(717558),N2=n(765548),N3=n(556525),N6=n(551826),N4=n(31408),N5=n(595811);let N7={offset:2},N8={serverDeaf:{icon:hm.T,colorize:!0,getStatus:()=>na.intl.string(na.t.btxSdB)},serverMute:{icon:ps.O,colorize:!0,getStatus:()=>na.intl.string(na.t.uLddbQ)},deaf:{icon:hA.c,colorize:!1,getStatus:()=>na.intl.string(na.t.NjmiOL)},mute:{icon:po.z,colorize:!1,getStatus:()=>na.intl.string(na.t.tjtv3P)},localMute:{icon:ps.O,colorize:!1,getStatus:()=>na.intl.string(na.t["9F+xJU"])}};function N9(e){let t=e8.useRef(null),{parentAnalyticsLocation:i}=(0,of.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,N1.A)({userId:s.id,checkSoundSharing:!0}),f=r.getGuildId()??void 0,h=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 N8.serverDeaf;if(n)return N8.deaf;if(i)return N8.serverMute;if(s)return N8.localMute;if(r)return N8.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!=f?(0,u_.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("758"),n.e("27107"),n.e("19960"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("93103"),n.e("8757"),n.e("89673"),n.e("85968"),n.e("60195"),n.e("21921"),n.e("68403"),n.e("76418"),n.e("29787"),n.e("91007"),n.e("97558"),n.e("94000"),n.e("82263"),n.e("66495"),n.e("88342"),n.e("91994"),n.e("42451"),n.e("76665"),n.e("98965"),n.e("35027"),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,k.jsx)(e,{...t,user:s,guildId:f,channel:r,showMediaItems:!0,onInteraction:(0,Na.s)("GuildChannelUserContextMenu",ii.A.RTC_PANEL,{targetUserId:s.id})})}):(0,u_.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("19960"),n.e("25907"),n.e("26132"),n.e("46652"),n.e("93190"),n.e("34552"),n.e("8757"),n.e("89673"),n.e("85968"),n.e("60195"),n.e("68403"),n.e("29787"),n.e("97558"),n.e("94000"),n.e("91994"),n.e("76665"),n.e("76273"),n.e("24198"),n.e("86169"),n.e("32418")]).then(n.bind(n,668569));return t=>(0,k.jsx)(e,{...t,user:s,showMediaItems:!0,onInteraction:(0,Na.s)("UserGenericContextMenu",ii.A.RTC_PANEL,{targetUserId:s.id})})})}let T=(0,e6.bG)([iw.A],()=>iw.A.getVoiceVolume(s.id)),S=(0,N3.v)({isSpeaking:_,voiceDb:T,spreadDirection:N3.O.INSET_ONLY,maxInnerSpreadRadius:3});return(0,k.jsx)(lm.A,{targetElementRef:t,user:s,guildId:f,channelId:r.id,position:"top",clickTrap:!0,children:e=>(0,k.jsx)(rJ.m,{text:A,children:(0,k.jsx)(t3.D,{innerRef:t,onClick:t=>{e.onClick(t),(0,Ns.X)(i,Ns.O.VOICE_USER)},className:N5.H,onContextMenu:I,focusProps:N7,children:(0,k.jsx)(N6.A,{shakeLocation:N4.uD.VOICE_USER,isShaking:_,children:(0,k.jsx)("div",{className:N5.my,style:{backgroundImage:`url(${h})`,...S},children:null!=E?(0,k.jsx)(E,{className:t2()(N5.tr,{[N5.qE]:m}),color:"currentColor",size:"xs"}):null})})})})})}function ye(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,N2.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,Tz.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?pd.Q:EM.j,_=r?na.intl.string(na.t["Z/Tya5"]):na.intl.string(na.t.XR5BAc),f=(0,k.jsx)(rJ.m,{text:_,ariaHidden:!0,children:(0,k.jsx)(u2.K,{"aria-label":_,onClick:()=>s(!r),icon:()=>(0,k.jsx)(d,{size:"md"}),variant:"icon-only",size:"sm"})}),h=c&&r?t:u;return h.length<=0?null:(0,k.jsx)(od.Ip,{className:t2()(N5.XG,i),fade:!0,children:(0,k.jsxs)("div",{ref:o,className:t2()(N5.Xk,!r&&N5.yZ),role:"group","aria-label":na.intl.string(na.t["/ZgaVU"]),children:[h.map(e=>{let{user:t,nick:i,voiceState:r}=e;return t.id!==a?(0,k.jsx)(N9,{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?f:null]})})}var yt=n(806931),yn=n(897513),yi=n(509381);let yr={offset:{left:-1,top:-1,right:1,bottom:1}};function ys(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 ya(){let e=e8.useRef(null);(0,S2.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=NI(),i=(0,e6.bG)([tI.Ay],()=>tI.Ay.getActiveInputProfile()),r=null!=i&&i!==yi.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,k.jsxs)("div",{ref:e,className:Nb.dD,children:[(0,k.jsx)(rJ.m,{text:s,shouldShow:r||n,align:"right",children:(0,k.jsx)("div",{children:(0,k.jsx)(S3.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,k.jsx)(sw.E,{variant:"text-sm/normal",children:a}),(0,k.jsx)(Ni.A,{title:na.intl.string(na.t.JdUas1),notchBackground:Ni.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,k.jsx)(S6.D,{label:na.intl.string(na.t.k6h1F4),children:(0,k.jsxs)(SG.A,{justify:SG.A.Justify.BETWEEN,className:Nb.__invalid_footer,children:[(0,k.jsx)(tn.Anchor,{href:eL.X7G.KRISP,onClick:e=>ys(e),children:(0,k.jsx)("div",{className:Nb.zQ})}),(0,k.jsx)(tn.Anchor,{href:nf.A.getArticleURL(eL.MVz.NOISE_SUPPRESSION),className:Nb.W,onClick:e=>ys(e),children:na.intl.string(na.t.hvVgAZ)})]})})]})}function yo(){let{parentAnalyticsLocation:e}=(0,of.Ay)(),t=(0,e6.bG)([NU.A],()=>NU.A.isMuted()),n=t?na.intl.string(na.t.ScHlfl):na.intl.string(na.t.zqxfrf);return(0,k.jsx)(SV.A,{tooltipText:n,icon:t?pN.C:pS.T,onClick:()=>{(0,Ns.X)(e,Ns.O.STAGE_MUSIC,t),(0,NP.k)(!t)}})}function yl(e){let{channel:t,enableActivities:n,disabled:i}=e,r=e8.useRef(null),{parentAnalyticsLocation:s}=(0,of.Ay)(),a=(0,Nk.A)(),o=(0,NF.A)(t),l=(0,e6.bG)([iI.Ay],()=>null!=iI.Ay.getSelfEmbeddedActivityForLocation(iI.Ay.getConnectedActivityLocation())),u=(0,NS.Ay)(t),{reachedLimit:c,limit:d}=(0,NG.A)(t),_=e8.useCallback(()=>{(0,NB.A)()},[]),f=(0,t7.Us)(),h=e8.useCallback(e=>{if(tI.Ay.isVideoEnabled()===e)return;let n=()=>{is.A.setVideoEnabled(e),e&&(0,uF.pX)(eL.BVt.CHANNEL(t.getGuildId()??eL.ME,t.id))};(0,Ns.X)(s,Ns.O.CAMERA,e),e?(0,NY.A)(n,f):n()},[t,f,s]),p=l||n||u,{Component:E,play:m,events:g}=(0,SQ.K)(a.enabled?"disable":"enable");return e8.useEffect(()=>()=>m(),[a.enabled,m]),(0,k.jsx)(NW.r,{onChange:h,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,k.jsx)(E,{size:"md",className:t2()(Nb.iA,{[Nb.ij]:!p}),color:"currentColor"});return(0,k.jsx)(so.Y,{targetElementRef:r,renderPopout:e=>{let{closePopout:t}=e;return(0,k.jsx)(Nr.A,{onClose:t,minimal:!0,onInteraction:(0,Na.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,k.jsx)(rJ.m,{text:i,children:(0,k.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,className:t2()(Nb.x6,Nb.Sq,{[Nb.rK]:n,[Nb.tU]:t,[Nb.r9]:l.disabled}),innerClassName:Nb.bk,wrapperClassName:Nb.x6,fullWidth:!0,focusProps:yr,children:p?u:(0,k.jsxs)(SG.A,{align:SG.A.Align.CENTER,children:[u,na.intl.string(na.t.FlNoSV)]})})})}})}})}function yu(e){let{channel:t,enableActivities:n}=e,i=(0,t7.Us)(),{parentAnalyticsLocation:r,newestAnalyticsLocation:s}=(0,of.Ay)(),a=i===eL.BRT.POPOUT,o=(0,S9.et)(t.id),l=(0,S9.dL)(o),{userInActivity:u}=(0,e6.cf)([iI.Ay],()=>({userInActivity:null!=iI.Ay.getSelfEmbeddedActivityForChannel(t.id)})),c=(0,S8.b)({surface:S5.YI.VOICE_LAUNCHER,skipFetchingShelf:!0}),d=o!==S9.xy.CAN_LAUNCH,{Component:_,events:f,play:h}=(0,SZ.c)();return n?(0,k.jsx)(rx.GY,{contentType:rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE,latestVersion:c,children:e=>{let{visibleContent:n,markAsDismissed:i}=e;return(0,k.jsx)(rJ.m,{text:l,children:(0,k.jsxs)(an.$n,{"data-migration-pending":!0,fullWidth:!0,size:an.$n.Sizes.MEDIUM,...f,onClick:()=>{h(),(0,Nn.A)({context:null!=t?{type:"channel",channel:t}:{type:"contextless"},openInPopout:a,analyticsLocation:s}),(0,Ns.X)(r,Ns.O.ACTIVITY),n===rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE&&i(rE.i.TAKE_ACTION)},onMouseEnter:()=>{f.onMouseEnter()},onMouseLeave:()=>{f.onMouseLeave()},disabled:d,className:t2()(Nb.x6,Nb.Sq,{[Nb.rK]:u,[Nb.r9]:d}),innerClassName:Nb.bk,wrapperClassName:Nb.x6,focusProps:yr,children:[n===rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE&&(0,k.jsx)(Nt.a,{top:-1,right:-1}),(0,k.jsx)(_,{size:"md",color:"currentColor",className:Nb.iA})]})})}}):null}function yc(e){let t,{channel:n,canGoLive:i,enableActivities:r,disabled:s}=e,a=e8.useRef(null),{parentAnalyticsLocation:o,analyticsLocations:l}=(0,of.Ay)(),u=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),c=(0,e6.yK)([iR.A],()=>iR.A.getAllActiveStreams()),d=(0,NF.A)(n),_=n.getGuildId(),f=(0,e6.cf)([iI.Ay],()=>null!=iI.Ay.getSelfEmbeddedActivityForChannel(n.id)),h=(0,NS.Ay)(n),p=e8.useCallback(()=>{(0,Nj.A)(_,n.id,l)},[_,n.id,l]),E=c.find(e=>e.ownerId===u?.id),m=(0,NV.T)(n,u,c);t=null==E?i?p:NH.A:()=>(0,NE.A)(E);let g=null!=E||m.length>0,A=d?na.intl.string(na.t.fjBNo1):na.intl.string(na.t.uQn9B8),I=f||r||h,T=null!=E,{Component:S,events:N,play:y}=(0,SX.c)(T?"disable":"enable");e8.useEffect(()=>()=>y(),[y,T]);let C=(0,k.jsx)(S,{size:"md",color:"currentColor",className:t2()(Nb.iA,{[Nb.ij]:!I})});return(0,k.jsx)(so.Y,{targetElementRef:a,renderPopout:e=>{let{closePopout:t}=e;return(0,k.jsx)(NV.A,{channel:n,currentUser:u,activeStreams:c,onClose:t,handleGoLive:i?p:NH.A,onInteraction:(0,Na.s)("ManageStreamsMenu",o,{entrypoint:yt.GK.OTHER_BUTTON})})},position:"top",align:"center",animation:so.Y.Animation.FADE,children:e=>{let{onClick:n,onMouseEnter:i,...r}=e;return(0,k.jsx)(rJ.m,{text:A,children:(0,k.jsx)(an.$n,{"data-migration-pending":!0,buttonRef:a,size:an.$n.Sizes.MEDIUM,onClick:e=>{(0,Ns.X)(o,Ns.O.STREAM,null==E),g?n(e):t()},disabled:!d||s,className:t2()(Nb.x6,Nb.Sq,{[Nb.rK]:null!=E,[Nb.r9]:!d||s}),...g?r:null,onMouseEnter:()=>{i?.(),N.onMouseEnter()},onMouseLeave:()=>{N.onMouseLeave()},innerClassName:Nb.bk,wrapperClassName:Nb.x6,focusProps:yr,children:I?C:(0,k.jsxs)(SG.A,{align:SG.A.Align.CENTER,children:[C,na.intl.string(na.t["r0/+v7"])]})})})}})}class yd 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(),S4.A.channelListScrollTo(t?.id??eL.ME,n.id),(0,Ns.X)(ii.A.RTC_PANEL,Ns.O.CHANNEL_LINK)};handleChannelLinkContextMenu=e=>{let{channel:t,analyticsLocations:i}=this.props;(0,u_.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("43266"),n.e("9004"),n.e("44058"),n.e("90274"),n.e("50590"),n.e("57550")]).then(n.bind(n,576701));return n=>(0,k.jsx)(of.f5,{value:i,children:(0,k.jsx)(e,{...n,channel:t,onInteraction:(0,Na.s)("RTCConnectionMenu",ii.A.RTC_PANEL)})})})};handleCloseVoicePanelIntroduction=()=>{Nm.sF(yn._.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,o5.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,k.jsx)(NT.A,{channelId:t.id,quality:i,state:r,lastPing:s,hasVideo:a,connectionStatusTextVariant:"text-md/medium",childrenAsSubtitle:!0,children:(0,k.jsx)(e5.vN,{children:(0,k.jsx)(Sq.N_,{to:e,onClick:this.handleChannelLinkClick,onContextMenu:this.handleChannelLinkContextMenu,children:(0,k.jsx)(SB.A,{className:Nb.Ix,children:(0,k.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,iv.eY)(e.voiceState)===iv.zF.ON_STAGE)&&(0,Nx.Zl)(r.id)?(0,k.jsx)(yo,{}):!n&&t?(0,k.jsx)(rJ.m,{text:na.intl.string(na.t["i+SO/U"]),forceOpen:!0,children:(0,k.jsx)(SV.A,{tooltipText:null,disabled:!0,icon:Ar,"aria-label":na.intl.string(na.t["i+SO/U"])})}):(0,k.jsx)(so.Y,{targetElementRef:this.krispButtonRef,position:"top",align:"center",renderPopout:()=>(0,k.jsx)(ya,{}),children:(t,n)=>{let{isShown:i}=n;return(0,k.jsx)(y_,{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,k.jsx)(ye,{voiceStates:t,channel:e,className:Nb.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,NM.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,NG.M)(e),c=(0,NM.xn)(e.id);return(0,k.jsxs)("div",{className:Nb.uu,children:[(0,k.jsx)(yl,{channel:e,enableActivities:l,disabled:!c&&u}),(0,k.jsx)(yc,{channel:e,canGoLive:t,enableActivities:l,disabled:e.isGuildStageVoice()&&(c&&null==s||!c&&u)}),l?(0,k.jsx)(yu,{channel:e,enableActivities:i}):null,(0,NS.Ay)(e)?(0,k.jsx)(ND,{channel:e,focusProps:yr}):null]})}renderVoicePanelIntroduction=()=>(0,k.jsxs)("div",{className:t2()(Nb.SC,"theme-light"),children:[(0,k.jsx)(aF.D,{className:Nb.oN,variant:"heading-md/semibold",children:na.intl.string(na.t["ba/rL2"])}),(0,k.jsx)(sw.E,{className:Nb.uf,variant:"text-sm/normal",children:na.intl.string(na.t.Ne1Eew)}),(0,k.jsx)(tJ.$,{fullWidth:!0,onClick:this.handleCloseVoicePanelIntroduction,text:na.intl.string(na.t.shaBeH),focusProps:yr})]});render(){let{channel:e,noiseCancellationSupported:t,shouldShowVoicePanelIntroduction:n}=this.props;return null==e?null:(0,k.jsx)(so.Y,{targetElementRef:this.ref,renderPopout:this.renderVoicePanelIntroduction,position:"top",align:"center",animation:so.Y.Animation.TRANSLATE,shouldShow:n,children:()=>(0,k.jsxs)("div",{ref:this.ref,className:Nb.kL,children:[(0,k.jsxs)(SG.A,{className:Nb.FI,align:SG.A.Align.CENTER,children:[(0,k.jsx)("div",{className:Nb.vW,children:this.renderConnectionStatus()}),(0,k.jsxs)(SG.A,{grow:0,shrink:0,className:Nb.nL,children:[t?this.renderNoiseCancellation():null,(0,k.jsx)(N0,{channel:e})]})]}),this.renderVoiceStates(),this.renderChannelButtons()]})})}}function y_(e){let{popoutProps:t,isShown:n,noiseCancellationActive:i,ref:r}=e,{parentAnalyticsLocation:s}=(0,of.Ay)(),{play:a,Component:o,events:l}=S1(i?"disable":"enable");return e8.useEffect(()=>()=>a(),[i,a]),(0,k.jsx)(SV.A,{...t,ref:r,onClick:e=>{(0,Ns.X)(s,Ns.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,k.jsx)(o,{size:"refresh_sm"})})}let yf=(0,uf.A)(function(e){let t=(0,No.A)(),n=(0,e6.bG)([iN.default],()=>iN.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,NA.A)(tI.Ay.getNoiseCancellation(),tI.Ay.getSystemMicrophoneMode()),noiseCancellationError:tI.Ay.isNoiseCancellationError(),canGoLive:(0,Np.A)(tI.Ay)})),c=(0,e6.bG)([tI.Ay,Ng.A],()=>Ng.A.hasHotspot(yn._.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)([iR.A],()=>iR.A.getCurrentUserActiveStream()),f=(0,e6.bG)([rk.A],()=>rk.A.hasLayers()),h=(0,e6.bG)([a6.A],()=>a6.A.isViewingRoles(o)),p=(0,e6.bG)([lJ.A],()=>h&&!lJ.A.can(eL.xBc.VIEW_CHANNEL,a),[h,a]),E=tl.vL.useSetting(),[m,g,A]=(0,e6.yK)([iP.Ay,NL.A],()=>a?.isGuildStageVoice()?[NL.A.getMutableParticipants(a.id,Nw.ip.SPEAKER),NL.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(()=>{(h||p)&&S(!1)},[h,p,S]);let{analyticsLocations:N}=(0,of.Ay)(ii.A.RTC_PANEL),y=(0,S7.A)(o??eL.dJq,a?.id),C=(0,Ne.A)(a?.id);return(0,k.jsx)(of.f5,{value:N,children:(0,k.jsxs)("div",{className:Nb.iE,children:[null!=t||null!=n?(0,k.jsx)(Nh,{voiceState:t,awaitingRemoteSessionInfo:n}):null,(0,k.jsx)(yd,{...e,...u,...s,enableActivities:y,remoteVoiceState:t,guild:l,channel:a,hasVideo:d,selfStream:_,hasLayers:f,voiceStates:I,showVoiceStates:E,shouldShowVoicePanelIntroduction:c,isPrivateChannelWithEnabledActivities:C,analyticsLocations:N}),!T&&h&&null!=o?(0,k.jsxs)("div",{className:Nb.BT,children:[(0,k.jsx)(sw.E,{variant:"text-sm/normal",className:Nb.u0,children:p?na.intl.string(na.t.efjuQJ):na.intl.string(na.t.br8H2N)}),(0,k.jsx)(tJ.$,{size:"sm",fullWidth:!0,onClick:()=>{S(!0)},text:na.intl.string(na.t.WAI6xu),focusProps:yr})]}):null]})})}),yh={offset:{left:-1,top:-1,right:1,bottom:1}};function yp(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 yE(){let e=e8.useRef(null);(0,S2.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=NI(),i=(0,e6.bG)([tI.Ay],()=>tI.Ay.getActiveInputProfile()),r=null!=i&&i!==yi.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,k.jsxs)("div",{ref:e,className:Nb.dD,children:[(0,k.jsx)(rJ.m,{text:s,shouldShow:r||n,align:"right",children:(0,k.jsx)("div",{children:(0,k.jsx)(S3.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,k.jsx)(sw.E,{variant:"text-sm/normal",children:a}),(0,k.jsx)(Ni.A,{title:na.intl.string(na.t.JdUas1),notchBackground:Ni.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,k.jsx)(S6.D,{label:na.intl.string(na.t.k6h1F4),children:(0,k.jsxs)(SG.A,{justify:SG.A.Justify.BETWEEN,className:Nb.__invalid_footer,children:[(0,k.jsx)(tn.Anchor,{href:eL.X7G.KRISP,onClick:e=>yp(e),children:(0,k.jsx)("div",{className:Nb.zQ})}),(0,k.jsx)(tn.Anchor,{href:nf.A.getArticleURL(eL.MVz.NOISE_SUPPRESSION),className:Nb.W,onClick:e=>yp(e),children:na.intl.string(na.t.hvVgAZ)})]})})]})}function ym(){let{parentAnalyticsLocation:e}=(0,of.Ay)(),t=(0,e6.bG)([NU.A],()=>NU.A.isMuted()),n=t?na.intl.string(na.t.ScHlfl):na.intl.string(na.t.zqxfrf);return(0,k.jsx)(SV.A,{tooltipText:n,icon:t?pN.C:pS.T,onClick:()=>{(0,Ns.X)(e,Ns.O.STAGE_MUSIC,t),(0,NP.k)(!t)}})}function yg(e){let{channel:t,enableActivities:n,disabled:i}=e,r=e8.useRef(null),{parentAnalyticsLocation:s}=(0,of.Ay)(),a=(0,Nk.A)(),o=(0,NF.A)(t),l=(0,e6.bG)([iI.Ay],()=>null!=iI.Ay.getSelfEmbeddedActivityForLocation(iI.Ay.getConnectedActivityLocation())),u=(0,NS.Ay)(t),{reachedLimit:c,limit:d}=(0,NG.A)(t),_=e8.useCallback(()=>{(0,NB.A)()},[]),f=(0,t7.Us)(),h=e8.useCallback(e=>{if(tI.Ay.isVideoEnabled()===e)return;let n=()=>{is.A.setVideoEnabled(e),e&&(0,uF.pX)(eL.BVt.CHANNEL(t.getGuildId()??eL.ME,t.id))};(0,Ns.X)(s,Ns.O.CAMERA,e),e?(0,NY.A)(n,f):n()},[t,f,s]),p=l||n||u,{Component:E,play:m,events:g}=(0,SQ.K)(a.enabled?"disable":"enable");return e8.useEffect(()=>()=>m(),[a.enabled,m]),(0,k.jsx)(NW.r,{onChange:h,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,k.jsx)(E,{size:"md",className:t2()(Nb.iA,{[Nb.ij]:!p}),color:"currentColor"});return(0,k.jsx)(so.Y,{targetElementRef:r,renderPopout:e=>{let{closePopout:t}=e;return(0,k.jsx)(Nr.A,{onClose:t,minimal:!0,onInteraction:(0,Na.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,k.jsx)(rJ.m,{text:i,children:(0,k.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,className:t2()(Nb.x6,Nb.Sq,{[Nb.rK]:n,[Nb.tU]:t,[Nb.r9]:l.disabled}),innerClassName:Nb.bk,wrapperClassName:Nb.x6,fullWidth:!0,focusProps:yh,children:p?u:(0,k.jsxs)(SG.A,{align:SG.A.Align.CENTER,children:[u,na.intl.string(na.t.FlNoSV)]})})})}})}})}function yA(e){let{channel:t,enableActivities:n}=e,i=(0,t7.Us)(),{parentAnalyticsLocation:r,newestAnalyticsLocation:s}=(0,of.Ay)(),a=i===eL.BRT.POPOUT,o=(0,S9.et)(t.id),l=(0,S9.dL)(o),{userInActivity:u}=(0,e6.cf)([iI.Ay],()=>({userInActivity:null!=iI.Ay.getSelfEmbeddedActivityForChannel(t.id)})),c=(0,S8.b)({surface:S5.YI.VOICE_LAUNCHER,skipFetchingShelf:!0}),d=o!==S9.xy.CAN_LAUNCH,{Component:_,events:f,play:h}=(0,SZ.c)();return n?(0,k.jsx)(rx.GY,{contentType:rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE,latestVersion:c,children:e=>{let{visibleContent:n,markAsDismissed:i}=e;return(0,k.jsx)(rJ.m,{text:l,children:(0,k.jsxs)(an.$n,{"data-migration-pending":!0,fullWidth:!0,size:an.$n.Sizes.MEDIUM,...f,onClick:()=>{h(),(0,Nn.A)({context:null!=t?{type:"channel",channel:t}:{type:"contextless"},openInPopout:a,analyticsLocation:s}),(0,Ns.X)(r,Ns.O.ACTIVITY),n===rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE&&i(rE.i.TAKE_ACTION)},onMouseEnter:()=>{f.onMouseEnter()},onMouseLeave:()=>{f.onMouseLeave()},disabled:d,className:t2()(Nb.x6,Nb.Sq,{[Nb.rK]:u,[Nb.r9]:d}),innerClassName:Nb.bk,wrapperClassName:Nb.x6,focusProps:yh,children:[n===rM.M.ACTIVITIES_VOICE_LAUNCHER_BADGE&&(0,k.jsx)(Nt.a,{top:-1,right:-1}),(0,k.jsx)(_,{size:"md",color:"currentColor",className:Nb.iA})]})})}}):null}function yI(e){let t,{channel:n,canGoLive:i,enableActivities:r,disabled:s}=e,a=e8.useRef(null),{parentAnalyticsLocation:o,analyticsLocations:l}=(0,of.Ay)(),u=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),c=(0,e6.yK)([iR.A],()=>iR.A.getAllActiveStreams()),d=(0,NF.A)(n),_=n.getGuildId(),f=(0,e6.cf)([iI.Ay],()=>null!=iI.Ay.getSelfEmbeddedActivityForChannel(n.id)),h=(0,NS.Ay)(n),p=e8.useCallback(()=>{(0,Nj.A)(_,n.id,l)},[_,n.id,l]),E=c.find(e=>e.ownerId===u?.id),m=(0,NV.T)(n,u,c);t=null==E?i?p:NH.A:()=>(0,NE.A)(E);let g=null!=E||m.length>0,A=d?na.intl.string(na.t.fjBNo1):na.intl.string(na.t.uQn9B8),I=f||r||h,T=null!=E,{Component:S,events:N,play:y}=(0,SX.c)(T?"disable":"enable");e8.useEffect(()=>()=>y(),[y,T]);let C=(0,k.jsx)(S,{size:"md",color:"currentColor",className:t2()(Nb.iA,{[Nb.ij]:!I})});return(0,k.jsx)(so.Y,{targetElementRef:a,renderPopout:e=>{let{closePopout:t}=e;return(0,k.jsx)(NV.A,{channel:n,currentUser:u,activeStreams:c,onClose:t,handleGoLive:i?p:NH.A,onInteraction:(0,Na.s)("ManageStreamsMenu",o,{entrypoint:yt.GK.OTHER_BUTTON})})},position:"top",align:"center",animation:so.Y.Animation.FADE,children:e=>{let{onClick:n,onMouseEnter:i,...r}=e;return(0,k.jsx)(rJ.m,{text:A,children:(0,k.jsx)(an.$n,{"data-migration-pending":!0,buttonRef:a,size:an.$n.Sizes.MEDIUM,onClick:e=>{(0,Ns.X)(o,Ns.O.STREAM,null==E),g?n(e):t()},disabled:!d||s,className:t2()(Nb.x6,Nb.Sq,{[Nb.rK]:null!=E,[Nb.r9]:!d||s}),...g?r:null,onMouseEnter:()=>{i?.(),N.onMouseEnter()},onMouseLeave:()=>{N.onMouseLeave()},innerClassName:Nb.bk,wrapperClassName:Nb.x6,focusProps:yh,children:I?C:(0,k.jsxs)(SG.A,{align:SG.A.Align.CENTER,children:[C,na.intl.string(na.t["r0/+v7"])]})})})}})}class yT 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(),S4.A.channelListScrollTo(t?.id??eL.ME,n.id),(0,Ns.X)(ii.A.RTC_PANEL,Ns.O.CHANNEL_LINK)};handleChannelLinkContextMenu=e=>{let{channel:t,analyticsLocations:i}=this.props;(0,u_.L3)(e,async()=>{let{default:e}=await Promise.all([n.e("43266"),n.e("9004"),n.e("44058"),n.e("90274"),n.e("50590"),n.e("57550")]).then(n.bind(n,576701));return n=>(0,k.jsx)(of.f5,{value:i,children:(0,k.jsx)(e,{...n,channel:t,onInteraction:(0,Na.s)("RTCConnectionMenu",ii.A.RTC_PANEL)})})})};handleCloseVoicePanelIntroduction=()=>{Nm.sF(yn._.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,o5.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,k.jsx)(NT.A,{channelId:t.id,quality:i,state:r,lastPing:s,hasVideo:a,connectionStatusTextVariant:"text-md/medium",childrenAsSubtitle:!0,children:(0,k.jsx)(e5.vN,{children:(0,k.jsx)(Sq.N_,{to:e,onClick:this.handleChannelLinkClick,onContextMenu:this.handleChannelLinkContextMenu,children:(0,k.jsx)(SB.A,{className:Nb.Ix,children:(0,k.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,iv.eY)(e.voiceState)===iv.zF.ON_STAGE)&&(0,Nx.Zl)(r.id)?(0,k.jsx)(ym,{}):!n&&t?(0,k.jsx)(rJ.m,{text:na.intl.string(na.t["i+SO/U"]),forceOpen:!0,children:(0,k.jsx)(SV.A,{tooltipText:null,disabled:!0,icon:Ar,"aria-label":na.intl.string(na.t["i+SO/U"])})}):(0,k.jsx)(so.Y,{targetElementRef:this.krispButtonRef,position:"top",align:"center",renderPopout:()=>(0,k.jsx)(yE,{}),children:(t,n)=>{let{isShown:i}=n;return(0,k.jsx)(yS,{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,k.jsx)(ye,{voiceStates:t,channel:e,className:Nb.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,NM.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,NG.M)(e),c=(0,NM.xn)(e.id);return(0,k.jsxs)("div",{className:Nb.uu,children:[(0,k.jsx)(yg,{channel:e,enableActivities:l,disabled:!c&&u}),(0,k.jsx)(yI,{channel:e,canGoLive:t,enableActivities:l,disabled:e.isGuildStageVoice()&&(c&&null==s||!c&&u)}),l?(0,k.jsx)(yA,{channel:e,enableActivities:i}):null,(0,NS.Ay)(e)?(0,k.jsx)(ND,{channel:e,focusProps:yh}):null]})}renderVoicePanelIntroduction=()=>(0,k.jsxs)("div",{className:t2()(Nb.SC,"theme-light"),children:[(0,k.jsx)(aF.D,{className:Nb.oN,variant:"heading-md/semibold",children:na.intl.string(na.t["ba/rL2"])}),(0,k.jsx)(sw.E,{className:Nb.uf,variant:"text-sm/normal",children:na.intl.string(na.t.Ne1Eew)}),(0,k.jsx)(tJ.$,{fullWidth:!0,onClick:this.handleCloseVoicePanelIntroduction,text:na.intl.string(na.t.shaBeH),focusProps:yh})]});render(){let{channel:e,noiseCancellationSupported:t,shouldShowVoicePanelIntroduction:n}=this.props;return null==e?null:(0,k.jsx)(so.Y,{targetElementRef:this.ref,renderPopout:this.renderVoicePanelIntroduction,position:"top",align:"center",animation:so.Y.Animation.TRANSLATE,shouldShow:n,children:()=>(0,k.jsxs)("div",{ref:this.ref,className:Nb.kL,children:[(0,k.jsxs)(SG.A,{className:Nb.FI,align:SG.A.Align.CENTER,children:[(0,k.jsx)("div",{className:Nb.vW,children:this.renderConnectionStatus()}),(0,k.jsxs)(SG.A,{grow:0,shrink:0,className:Nb.nL,children:[t?this.renderNoiseCancellation():null,(0,k.jsx)(N0,{channel:e})]})]}),this.renderVoiceStates(),this.renderChannelButtons()]})})}}function yS(e){let{popoutProps:t,isShown:n,noiseCancellationActive:i,ref:r}=e,{parentAnalyticsLocation:s}=(0,of.Ay)(),{play:a,Component:o,events:l}=S1(i?"disable":"enable");return e8.useEffect(()=>()=>a(),[i,a]),(0,k.jsx)(SV.A,{...t,ref:r,onClick:e=>{(0,Ns.X)(s,Ns.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,k.jsx)(o,{size:"refresh_sm"})})}let yN=(0,uf.A)(function(e){let t=(0,No.A)(),n=(0,e6.bG)([iN.default],()=>iN.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,NA.A)(tI.Ay.getNoiseCancellation(),tI.Ay.getSystemMicrophoneMode()),noiseCancellationError:tI.Ay.isNoiseCancellationError(),canGoLive:(0,Np.A)(tI.Ay)})),c=(0,e6.bG)([tI.Ay,Ng.A],()=>Ng.A.hasHotspot(yn._.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)([iR.A],()=>iR.A.getCurrentUserActiveStream()),f=(0,e6.bG)([rk.A],()=>rk.A.hasLayers()),h=(0,e6.bG)([a6.A],()=>a6.A.isViewingRoles(o)),p=(0,e6.bG)([lJ.A],()=>h&&!lJ.A.can(eL.xBc.VIEW_CHANNEL,a),[h,a]),E=tl.vL.useSetting(),[m,g,A]=(0,e6.yK)([iP.Ay,NL.A],()=>a?.isGuildStageVoice()?[NL.A.getMutableParticipants(a.id,Nw.ip.SPEAKER),NL.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(()=>{(h||p)&&S(!1)},[h,p,S]);let{analyticsLocations:N}=(0,of.Ay)(ii.A.RTC_PANEL),y=(0,S7.A)(o??eL.dJq,a?.id),C=(0,Ne.A)(a?.id);return(0,k.jsx)(of.f5,{value:N,children:(0,k.jsxs)("div",{className:Nb.iE,children:[null!=t||null!=n?(0,k.jsx)(Nh,{voiceState:t,awaitingRemoteSessionInfo:n}):null,(0,k.jsx)(yT,{...e,...u,...s,enableActivities:y,remoteVoiceState:t,guild:l,channel:a,hasVideo:d,selfStream:_,hasLayers:f,voiceStates:I,showVoiceStates:E,shouldShowVoicePanelIntroduction:c,isPrivateChannelWithEnabledActivities:C,analyticsLocations:N}),!T&&h&&null!=o?(0,k.jsxs)("div",{className:Nb.BT,children:[(0,k.jsx)(sw.E,{variant:"text-sm/normal",className:Nb.u0,children:p?na.intl.string(na.t.efjuQJ):na.intl.string(na.t.br8H2N)}),(0,k.jsx)(tJ.$,{size:"sm",fullWidth:!0,onClick:()=>{S(!0)},text:na.intl.string(na.t.WAI6xu),focusProps:yh})]}):null]})})});var yy=n(28082),yC=n(111113);function yv(e){let{analyticsLocations:t}=(0,of.Ay)(ii.A.ACTIVITY_PANEL),n=(0,T4.A)(e=>{let{guildId:t}=e;return t});return(0,k.jsx)(of.f5,{value:t,children:(0,k.jsx)(Sx.A,{...e,guildId:n})})}let yO=e8.memo(function(){let e=e8.useRef(null);(0,SL.i4)(e,e=>{let{height:t}=e;document.body.style.setProperty("--custom-app-panels-height",`${t}px`)},[]);let{isSorting:t}=(0,Sw.A)(),{enabled:n}=SM.useConfig({location:"AppPanels"});return(0,k.jsx)("section",{ref:e,className:t2()(yC.C3,{[yC.aB]:t}),"aria-label":na.intl.string(na.t.vTl6Lk),children:(0,k.jsxs)(e5.xp,{containerRef:e,children:[(0,k.jsx)(SD,{}),(0,k.jsx)(yy.A,{}),(0,k.jsx)(S$,{}),(0,k.jsx)(o_.A,{section:eL.JJy.ACTIVITY_PANEL,children:(0,k.jsx)(yv,{className:yC.iz})}),(0,k.jsx)(o_.A,{section:eL.JJy.RTC_CONNECTION_PANEL,children:(0,k.jsx)(n?yN:yf,{})}),(0,k.jsx)(o_.A,{section:eL.JJy.ACCOUNT_PANEL,children:(0,k.jsx)(SP.A,{})})]})})});var yR=n(746080),yb=n(539916),yD=n(613057),yL=n(355097);n(964623);let yw=()=>(0,k.jsx)("div",{className:yC.wG,children:(0,k.jsx)(rn.y,{})}),yM=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("98594"),n.e("60060"),n.e("81154"),n.e("30708"),n.e("25907"),n.e("99961"),n.e("7927"),n.e("91763"),n.e("76602"),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("90301"),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:yw}),yP=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("1271"),n.e("78220"),n.e("74556"),n.e("60060"),n.e("49178"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("70306"),n.e("80008"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("37021"),n.e("234"),n.e("87478"),n.e("90301"),n.e("57355"),n.e("15109"),n.e("19454"),n.e("16988"),n.e("59797"),n.e("93336"),n.e("60358"),n.e("87436"),n.e("75859"),n.e("15920"),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}),yx=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("79848"),n.e("17094"),n.e("60060"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("25907"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("2313"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("9233"),n.e("86814"),n.e("25949"),n.e("78453"),n.e("91013"),n.e("44571"),n.e("30788"),n.e("25246"),n.e("23995"),n.e("57355"),n.e("77467"),n.e("36768"),n.e("14078")]).then(n.bind(n,883065)),webpackId:883065,name:"SocialLayerStorefront",renderLoader:yw}),yU=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("4744"),n.e("16373"),n.e("8497")]).then(n.bind(n,254316)),webpackId:254316,name:"ServerMonetizationOnboardingForwarder",renderLoader:yw}),yk=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("86921"),n.e("8946"),n.e("54747"),n.e("60060"),n.e("23967"),n.e("88826"),n.e("28510"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("90324"),n.e("27107"),n.e("27811"),n.e("23924"),n.e("71470"),n.e("19402"),n.e("13111"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("91763"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("76418"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("98965"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),n.e("20590"),n.e("35313"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("35321"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("50033"),n.e("87478"),n.e("3998"),n.e("5557"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("60773"),n.e("61156"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("19454"),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("60358"),n.e("87436"),n.e("75133"),n.e("1243"),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("47057"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("60003"),n.e("51892"),n.e("41838"),n.e("39894"),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("56338")]).then(n.bind(n,578839)),webpackId:578839,name:"GuildHomePage",renderLoader:ra.tV}),yG=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("31299"),n.e("56574"),n.e("95780"),n.e("18934"),n.e("27681"),n.e("60060"),n.e("3402"),n.e("6772"),n.e("76822"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("80559"),n.e("333"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("23924"),n.e("71470"),n.e("49681"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("87478"),n.e("5557"),n.e("83952"),n.e("62718"),n.e("90301"),n.e("49145"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("15109"),n.e("19454"),n.e("26001"),n.e("16988"),n.e("52111"),n.e("28136"),n.e("59797"),n.e("93336"),n.e("60358"),n.e("87436"),n.e("75859"),n.e("10943"),n.e("68530"),n.e("73669"),n.e("7775"),n.e("3710"),n.e("48730"),n.e("45830"),n.e("61058"),n.e("33097"),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}),yF=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("8946"),n.e("54747"),n.e("60060"),n.e("23967"),n.e("88826"),n.e("28510"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("90324"),n.e("27107"),n.e("27811"),n.e("60664"),n.e("1147"),n.e("23924"),n.e("71470"),n.e("19402"),n.e("13111"),n.e("96382"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("91763"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("76418"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("98965"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),n.e("20590"),n.e("35313"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("35321"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("50033"),n.e("87478"),n.e("3998"),n.e("5557"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("60773"),n.e("61156"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("19454"),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("60358"),n.e("87436"),n.e("75133"),n.e("1243"),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("47057"),n.e("60989"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("60003"),n.e("51892"),n.e("41838"),n.e("39894"),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}),yV=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("1147"),n.e("27107"),n.e("27681"),n.e("61195"),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:yw}),yB=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("27107"),n.e("93998"),n.e("18934"),n.e("9482"),n.e("10615"),n.e("30708"),n.e("25907"),n.e("7850"),n.e("76602"),n.e("82263"),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,242269)),webpackId:242269,name:"GuildPowerupsPage",renderLoader:ra.Ru}),yH=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("27107"),n.e("7866"),n.e("27681"),n.e("91007"),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}),yj=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("74587"),n.e("54747"),n.e("59007"),n.e("76822"),n.e("22687"),n.e("82596"),n.e("501"),n.e("57197"),n.e("88918"),n.e("52753"),n.e("17321"),n.e("72970")]).then(n.bind(n,590114)),webpackId:590114,name:"ApplicationLibraryPage",renderLoader:ra.cL}),yY=(0,ny.qT)({createPromise:()=>Promise.all([n.e("61749"),n.e("758"),n.e("44651"),n.e("18934"),n.e("6720"),n.e("17094"),n.e("25610"),n.e("5677"),n.e("11491"),n.e("83072"),n.e("98594"),n.e("60060"),n.e("81154"),n.e("46286"),n.e("54747"),n.e("85755"),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("2698"),n.e("32209"),n.e("87478"),n.e("15109"),n.e("19454"),n.e("16988"),n.e("59797"),n.e("75859"),n.e("87317"),n.e("11617"),n.e("60989"),n.e("33448"),n.e("69178"),n.e("83827"),n.e("73611"),n.e("93767"),n.e("61347"),n.e("52695"),n.e("70698"),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("90879"),n.e("42243"),n.e("9114"),n.e("83373")]).then(n.bind(n,622168)),webpackId:622168,name:"GuildSidebar",renderLoader:ra.L}),yW=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("60060"),n.e("8921"),n.e("83108"),n.e("95780"),n.e("43661"),n.e("76822"),n.e("54747"),n.e("17094"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("758"),n.e("45650"),n.e("27681"),n.e("25907"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("10448"),n.e("74587"),n.e("75804"),n.e("33957"),n.e("55719"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),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("90365"),n.e("89088"),n.e("71273"),n.e("36863"),n.e("52548"),n.e("80854"),n.e("78453"),n.e("52617"),n.e("91013"),n.e("58946"),n.e("44571"),n.e("30788"),n.e("25246"),n.e("23995"),n.e("59957"),n.e("74610"),n.e("16988"),n.e("45830"),n.e("61058"),n.e("52511"),n.e("54103"),n.e("91643"),n.e("8364"),n.e("74337"),n.e("56967"),n.e("68031"),n.e("52803"),n.e("53275"),n.e("92064"),n.e("24564"),n.e("85384"),n.e("96975"),n.e("68974"),n.e("30003"),n.e("76361"),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}),yK=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("27681"),n.e("54747"),n.e("62883"),n.e("4592"),n.e("74587"),n.e("5384"),n.e("18934"),n.e("28367"),n.e("30938"),n.e("74016"),n.e("83952"),n.e("38056"),n.e("42234"),n.e("34546"),n.e("16054"),n.e("63497"),n.e("27462"),n.e("6627"),n.e("99053"),n.e("75284"),n.e("14334"),n.e("39967"),n.e("14093"),n.e("2871")]).then(n.bind(n,767060)),webpackId:767060,name:"FamilyCenterRouter",renderLoader:ra.c5}),yz=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("83108"),n.e("60060"),n.e("8921"),n.e("54747"),n.e("10448"),n.e("74587"),n.e("75804"),n.e("33957"),n.e("55719"),n.e("27681"),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("54103"),n.e("52803"),n.e("53275"),n.e("96975"),n.e("30003"),n.e("33546"),n.e("5468")]).then(n.bind(n,743650)),webpackId:743650,name:"QuestHomePage",renderLoader:ra.g4}),y$=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("60060"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("11273"),n.e("69984"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("37021"),n.e("234"),n.e("87478"),n.e("5557"),n.e("62718"),n.e("90301"),n.e("57355"),n.e("15109"),n.e("19454"),n.e("16988"),n.e("59797"),n.e("93336"),n.e("60358"),n.e("87436"),n.e("75859"),n.e("68530"),n.e("38652")]).then(n.bind(n,461007)),webpackId:461007,name:"ICYMIPage",renderLoader:ra.so}),yq=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("8946"),n.e("60060"),n.e("88826"),n.e("28510"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("90324"),n.e("27107"),n.e("27811"),n.e("23924"),n.e("71470"),n.e("19402"),n.e("13111"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("76418"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("98965"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),n.e("20590"),n.e("35313"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("87478"),n.e("3998"),n.e("5557"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("60773"),n.e("61156"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("19454"),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("60358"),n.e("87436"),n.e("75133"),n.e("1243"),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("47057"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("51892"),n.e("41838"),n.e("39894"),n.e("59373"),n.e("46045"),n.e("16054"),n.e("21883"),n.e("50068"),n.e("25344"),n.e("80469"),n.e("11346"),n.e("11015")]).then(n.bind(n,515766)),webpackId:515766,name:"MessageRequestPage",renderLoader:ra.rt}),yZ=(0,ny.qT)({createPromise:()=>Promise.all([n.e("2332"),n.e("54747"),n.e("9546"),n.e("22173"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("60060"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("66346"),n.e("53773"),n.e("88826"),n.e("28510"),n.e("90324"),n.e("27107"),n.e("27811"),n.e("47206"),n.e("49178"),n.e("17270"),n.e("23967"),n.e("77948"),n.e("50256"),n.e("24685"),n.e("91597"),n.e("8946"),n.e("86921"),n.e("23924"),n.e("71470"),n.e("19402"),n.e("13111"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("8757"),n.e("91763"),n.e("76602"),n.e("28229"),n.e("85968"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("76418"),n.e("29787"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("98965"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),n.e("20590"),n.e("35313"),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("78453"),n.e("86672"),n.e("76273"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("35321"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("50033"),n.e("87478"),n.e("3998"),n.e("44780"),n.e("5557"),n.e("83952"),n.e("43266"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("49145"),n.e("60773"),n.e("61156"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("19454"),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("60358"),n.e("20131"),n.e("87436"),n.e("75133"),n.e("1243"),n.e("75859"),n.e("96804"),n.e("38501"),n.e("28850"),n.e("95998"),n.e("27659"),n.e("15920"),n.e("68530"),n.e("42234"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),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("40204"),n.e("77467"),n.e("47057"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("60003"),n.e("51892"),n.e("20965"),n.e("41838"),n.e("39894"),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("53275"),n.e("55895"),n.e("28011"),n.e("25344"),n.e("76622"),n.e("26250"),n.e("37065"),n.e("37698"),n.e("80469"),n.e("51212"),n.e("1485"),n.e("32429"),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("36847"),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,878431)),webpackId:878431,name:"Channel",renderLoader:ra.l3}),yX=(0,ny.Fe)({createPromise:()=>n.e("22270").then(n.bind(n,816015)),webpackId:816015,name:"ChannelStoreListing",renderLoader:yw}),yQ=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("89145"),n.e("49212")]).then(n.bind(n,575429)),webpackId:575429,name:"DeepLinkLaunchActivityInDM",renderLoader:yw}),yJ=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("37491"),n.e("46240"),n.e("97544")]).then(n.bind(n,667429)),webpackId:667429,name:"EmptyNotificationsPage",renderLoader:yw}),y0=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("1147"),n.e("25099"),n.e("15537"),n.e("36999"),n.e("86105")]).then(n.bind(n,995198)),webpackId:995198,name:"GuildMemberVerificationPreviewDisabled",renderLoader:yw}),y1=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("1147"),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:yw}),y2=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("60060"),n.e("49178"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("62177"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("37021"),n.e("234"),n.e("87478"),n.e("90301"),n.e("57355"),n.e("15109"),n.e("19454"),n.e("16988"),n.e("59797"),n.e("93336"),n.e("60358"),n.e("87436"),n.e("75859"),n.e("15920"),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("45127")]).then(n.bind(n,726561)),webpackId:726561,name:"GuildRoleSubscriptionsOverviewPageWithContext",renderLoader:yw}),y3=e=>{let{match:t}=e,n=(0,ru.o)(),i=(0,e6.bG)([ib.A,nZ.A],()=>{let e=nZ.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=yR.VV.GAME_SHOP);let u=(0,e6.bG)([tx.A],()=>tx.A.getGuild(r)),c=(0,e6.bG)([SS.Ay],()=>null==r?null:SS.Ay.getSelfMember(r)),d=(0,c2.C$)(r,"ChannelRenderer"),_=(0,c3.N)("ChannelRenderer"),f=u?.features.has(eL.GuildFeatures.GAME_SERVERS)??!1,h=(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}}),p=(0,e6.bG)([at.A],()=>(0,Sp.C$)(l)&&(0,Sp.C$)(o),[l,o]);e8.useEffect(()=>{p||(null!=u&&(0,uF.pX)(eL.BVt.CHANNEL(u.id,(0,SE.A)(u))),(0,a7.E)())},[p,u]);let E=null!=u,m=e8.useRef(null);e8.useEffect(()=>{E||null==r||m.current===r||(m.current=r,nb.A.joinGuild(r,{lurker:!0,autoNavigate:!1}).catch(()=>{}))},[E,r]);let g=(0,a1.$)(r);if(null!=r&&null!=l&&(0,yR.jq)(l))switch(l){case yR.VV.ROLE_SUBSCRIPTIONS:return g?(0,k.jsx)(yP,{guildId:r,initialTab:ae.B.GUILD_ROLE_SUBSCRIPTIONS}):(0,k.jsx)(y2,{guildId:r});case yR.VV.SERVER_MONETIZATION_ONBOARDING:return(0,k.jsx)(yU,{guildId:r});case yR.VV.GAME_SHOP:return(0,k.jsx)(yx,{...e});case yR.VV.GUILD_SHOP:return(0,k.jsx)(yP,{guildId:r,productId:a,initialTab:h});case yR.VV.MEMBER_APPLICATIONS:return(0,k.jsx)(ng.rd,{to:eL.BVt.CHANNEL(r,yR.VV.MEMBER_SAFETY)});case yR.VV.GUILD_HOME:return(0,k.jsx)(yk,{guildId:r});case yR.VV.CHANNEL_BROWSER:return(0,k.jsx)(yF,{guildId:r,selectedSection:yb.qC.BROWSE});case yR.VV.GUILD_ONBOARDING:return(0,k.jsx)(yV,{guildId:r});case yR.VV.CUSTOMIZE_COMMUNITY:return(0,k.jsx)(yF,{guildId:r,selectedSection:yb.qC.CUSTOMIZE});case yR.VV.MEMBER_SAFETY:return(0,k.jsx)(yG,{guildId:r});case yR.VV.GUILD_BOOSTS:return(0,k.jsx)(yB,{guildId:r,powerupListingId:n.get("powerupId")??n.get("powerupSkuId")});case yR.VV.GAME_SERVERS:if(!d||!f&&!_)return(0,k.jsx)(ng.rd,{to:eL.BVt.CHANNEL(r)});return(0,k.jsx)(yH,{guildId:r});case yR.VV.REPORT_TO_MOD:return(0,k.jsx)(yZ,{});default:(0,ix.xb)(l)}if((0,a0.$Y)(u,c))return(0,k.jsx)(y1,{guildId:r,channelId:l});if(i?.type===eL.rbe.GUILD_STORE){let e=Sy.default.cast(t.params.messageId);return(0,k.jsx)(yX,{channel:i,inputSkuId:e},i.id)}return(0,k.jsx)(yZ,{})},y6=e8.memo(function(){let{guildId:e,channelId:t}=(0,T4.A)(),{notificationCenterVariant:n}=(0,sH.X8)({location:"Sidebar"}),i=(0,e6.bG)([nZ.A],()=>t??nZ.A.getChannelId(e));return window.location.pathname.startsWith(eL.BVt.CHANNEL(eL.gNP))?("sidebar"!==n&&(0,uF.bG)(ST.A.defaultRoute),(0,k.jsx)(yM,{includePanelSpacing:!0})):window.location.pathname.startsWith(eL.BVt.GLOBAL_DISCOVERY)||window.location.pathname.startsWith(eL.BVt.GUILD_DISCOVERY)||(0,oO.r$)()?(0,k.jsx)(aQ,{}):null!=e?(0,k.jsx)(yY,{selectedChannelId:i,guildId:e},e):(0,k.jsx)(Sh,{})}),y4=e=>(0,k.jsx)(y3,{...e}),y5=()=>(0,k.jsx)(yW,{}),y7=e=>(0,k.jsx)(y8,{...e}),y8=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,k.jsx)(yJ,{}):y4(e)},y9=e=>{let{match:t}=e;return null!=t.params.guildId?(0,k.jsx)(y0,{guildId:t.params.guildId}):null},Ce=e=>{let{match:t}=e;return(0,uF.pX)(eL.BVt.ME),(0,a3.A)(t.params.inviteCode),null},Ct=()=>(0,k.jsx)(yj,{}),Cn=()=>(0,k.jsx)(ro,{}),Ci=()=>function(e){let{tab:t}=(0,nN.parse)(e.location.search);return Object.values(AM.G2).includes(t)?(0,k.jsx)(rT,{tab:t,...e}):(0,k.jsx)(rT,{...e})};function Cr(){return(0,k.jsx)(yz,{topLevelRoute:!0})}let Cs=e=>(0,k.jsx)(yQ,{...e}),Ca=()=>(0,k.jsx)(c1,{}),Co=()=>(0,k.jsx)(y$,{}),Cl=()=>(0,k.jsx)(yq,{}),Cu=()=>(0,k.jsx)(yK,{}),Cc=e=>{let t=e.location.pathname;return(0,k.jsx)(nx,{deepLinkType:yD.XK.FEATURES,path:t,children:(e=>{let{match:t}=e;switch(t.params.feature){case"friends":return(0,k.jsx)(c1,{initialSection:eL.m3P.ONLINE});case"addFriends":return(0,k.jsx)(c1,{initialSection:eL.m3P.ADD_FRIEND});case"pendingFriends":return(0,k.jsx)(c1,{initialSection:eL.m3P.PENDING});case"sessionManagement":return(0,k.jsx)(ng.rd,{to:(0,SI.settingsPathToRoute)(yL.od.SESSIONS)});case"connections":return(0,k.jsx)(ng.rd,{to:{pathname:(0,SI.settingsPathToRoute)(yL.od.CONNECTIONS),search:e.location.search}});case"family-center":return(0,k.jsx)(ng.rd,{to:eL.BVt.FAMILY_CENTER});case"account-standing":return(0,k.jsx)(ng.rd,{to:(0,SI.settingsPathToRoute)(yL.od.ACCOUNT_ACCOUNT_STANDING)});case"authorized-apps":return(0,k.jsx)(ng.rd,{to:(0,SI.settingsPathToRoute)(yL.od.AUTHORIZED_APPS)});case"open-shop":let{tab:n}=(0,nN.parse)(e.location.search);if(Object.values(AM.G2).includes(n))return(0,k.jsx)(ng.rd,{to:eL.BVt.COLLECTIBLES_SHOP_WITH_TAB(n)});return(0,k.jsx)(ng.rd,{to:eL.BVt.COLLECTIBLES_SHOP});case"editProfile":return(0,k.jsx)(ng.rd,{to:{pathname:(0,SI.settingsPathToRoute)(yL.od.PROFILE_CUSTOMIZATION)}});case"gift":case"store":return(0,k.jsx)(ng.rd,{to:{pathname:eL.BVt.NITRO_HOME}});case"connected-games":return(0,k.jsx)(ng.rd,{to:(0,SI.settingsPathToRoute)(yL.od.CONTENT_AND_SOCIAL_CONNECTED_GAMES)});case"boost":let i=t.params.guildId;return(0,k.jsx)(ng.rd,{to:eL.BVt.POWERUP_STORE(i)});case"boost-settings":return(0,k.jsx)(ng.rd,{to:(0,SI.settingsPathToRoute)(yL.od.GUILD_BOOSTING)});default:return(0,k.jsx)(ng.rd,{to:eL.BVt.ME})}})(e)})};function Cd(e){document.body.style.setProperty("--custom-guild-sidebar-width",`${e}px`)}function C_(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;e8.useLayoutEffect(()=>{},[!1]),e8.useLayoutEffect(()=>{if(o)Cd(76);else{let e=parseInt(tA.w.get(rr.o)??"");Number.isNaN(e)&&(e=375),Cd(e)}},[o]);let l=e8.useRef(null),u=e8.useCallback((e,t)=>{Cd(e);t<=264?document.body.classList.add(yC._A):document.body.classList.remove(yC._A),t>=432?document.body.classList.add(yC.uN):document.body.classList.remove(yC.uN);let n=t-e;l.current?.style.setProperty("--custom-overdrag",`${1+Math.min(Math.abs(n/76),.25)}`)},[!1]),c=e8.useCallback(()=>{document.body.classList.add(yC.cB)},[]),d=e8.useCallback(e=>{document.body.classList.remove(yC.cB),document.body.classList.remove(yC._A),document.body.classList.remove(yC.uN),document.body.classList.remove(yC.l4),l.current?.style.setProperty("--custom-overdrag","0px"),tA.w.set(rr.o,e),ew.default.track(eL.HAw.CHANNEL_SIDEBAR_RESIZED,{width:e})},[]),_=(0,rl.A)({minDimension:264,maxDimension:432,resizableDomNodeRef:l,onElementResize:u,onElementResizeStart:c,onElementResizeEnd:d,orientation:rl.R.HORIZONTAL_RIGHT,throttleDuration:0}),f=e8.useCallback(()=>{s8.setState(e=>({isOpen:!e.isOpen}))},[]);if(e8.useLayoutEffect(()=>{o&&Cd(76)},[o]),i)return null;let h={className:t2()(yC.th,{[yC.Qd]:!t})};return(0,k.jsx)(t6.N,{theme:n,children:e=>(0,k.jsxs)("div",{ref:l,"data-collapsed":o,className:t2()(yC.pz,e,{[yC.Ij]:e0.Fr,[yC.R]:a,[yC.WG]:r}),children:[s&&(0,k.jsx)(a2.A,{className:yC.Pl,themeOverride:n}),!r&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{...h,children:(0,k.jsx)(y6,{})}),(0,k.jsx)(t3.D,{onClick:f,"aria-label":"Resize Sidebar",className:yC.tq,onMouseDown:_}),(0,k.jsx)(yO,{})]})]})})}function Cf(){let e,t=(0,e6.bG)([SN.Ay],()=>SN.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(()=>Sm.A.addRouteChangeListener(e=>{t(e.pathname.startsWith(eL.BVt.GUILD_MEMBER_VERIFICATION("")))}),[]),e}(),r=(e=(0,ng.zy)(),(0,SA.B)(e.pathname,eL.BVt.GUILD_BOOSTING_MARKETING(Sg.pv.guildId()))?.isExact===!0),s=(0,e6.bG)([ot],()=>ot.getIsOpen()),{notificationCenterVariant:a}=(0,sH.X8)({location:"Sidebar"}),o=(0,a5.U)("AppView"),l=(0,ng.W5)([eL.BVt.CHANNEL(eL.ME,Sg.pv.channelId()),eL.BVt.CHANNEL(Sg.pv.guildId(),Sg.pv.channelId({optional:!0}),":messageId?")]),u=l?.params?.channelId===yR.VV.GUILD_ONBOARDING,c=e8.useCallback(()=>a8.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)(()=>{yZ.preload(),yY.preload()})},[]),(0,k.jsx)("div",{className:yC.kL,children:(0,k.jsx)(aJ.A.Provider,{value:l?.params.guildId===eL.ME?void 0:l?.params.guildId,children:(0,k.jsxs)("div",{className:yC.E3,"data-fullscreen":d,children:[!d&&(0,k.jsx)(s9,{}),e0.Fr?null:(0,k.jsx)(on.A,{}),(0,k.jsxs)("div",{className:yC.Qs,children:[(0,k.jsx)(rA,{}),(0,k.jsx)(C_,{isSidebarOpen:s,hasNotice:t,sidebarTheme:n,hideChannelList:i||r||u,hideSidebar:!s}),(0,k.jsx)("div",{className:yC.MY,"data-collapsed":!1,children:(0,k.jsxs)(rc.A.Provider,{value:c,children:[(0,k.jsxs)(ng.dO,{children:[(0,k.jsx)(rd.A,{path:eL.BVt.ACTIVITY,disableTrack:!0,children:(0,k.jsx)(ng.rd,{to:eL.BVt.ME})}),(0,k.jsx)(rd.A,{path:eL.BVt.ACTIVITY_DETAILS(":applicationId"),render:Cs,impressionName:eO.ImpressionNames.ACTIVITY_DETAILS,impressionProperties:e=>{let{match:t}=e;return{application_id:t?.params.applicationId}}}),(0,k.jsx)(rd.A,{path:eL.BVt.APPLICATION_LIBRARY,render:Ct,impressionName:eO.ImpressionNames.APPLICATION_LIBRARY,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.APPLICATION_STORE,render:Cn,impressionName:eO.ImpressionNames.APPLICATION_STORE,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.COLLECTIBLES_SHOP_WITH_TAB(":tab"),render:Ci(),disableTrack:!0}),o&&(0,k.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,k.jsx)(rT,{...n}):(0,k.jsx)(rS,{layoutId:i,...n})},disableTrack:!0}),o&&(0,k.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,k.jsx)(rT,{...n}):(0,k.jsx)(rI,{collectionId:i,...n})},disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.COLLECTIBLES_SHOP,render:Ci(),disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.COLLECTIBLES_SHOP_PRODUCT_DETAIL(":skuId"),render:Ci(),disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.ICYMI,render:Co,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.MESSAGE_REQUESTS,render:Cl,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.FAMILY_CENTER,render:Cu,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.ME,exact:!0,render:Ca,impressionName:eO.ImpressionNames.FRIENDS,disableTrack:!0}),a===sH.U5.SIDEBAR&&(0,k.jsx)(rd.A,{path:eL.BVt.CHANNEL(eL.gNP,Sg.pv.channelId({optional:!0}),":messageId?"),render:y7,disableTrack:!0}),(0,k.jsx)(rd.A,{path:[eL.BVt.CHANNEL_THREAD_VIEW(Sg.pv.guildId(),Sg.pv.channelId(),":threadId",":messageId?"),eL.BVt.CHANNELS_GAME_SHOP(Sg.pv.guildId(),":gameShopPageIndex",":gameShopSkuId?",":gameShopSlug?"),eL.BVt.CHANNEL(eL.ME,Sg.pv.channelId()),eL.BVt.CHANNEL(Sg.pv.guildId(),Sg.pv.channelId({optional:!0}),":messageId?")],render:y4,impressionName:eO.ImpressionNames.GUILD_CHANNEL,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.GLOBAL_DISCOVERY,render:y5,impressionName:eO.ImpressionNames.GLOBAL_DISCOVERY,disableTrack:!0,exact:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.GLOBAL_DISCOVERY_SERVERS,render:y5,impressionName:eO.ImpressionNames.GLOBAL_DISCOVERY,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.GLOBAL_DISCOVERY_APPS,render:y5,impressionName:eO.ImpressionNames.GLOBAL_DISCOVERY_APPS,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.QUEST_HOME_DEPRECATED,render:y5,impressionName:eO.ImpressionNames.QUEST_HOME,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.QUEST_HOME,render:Cr,impressionName:eO.ImpressionNames.QUEST_HOME,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.GUILD_DISCOVERY,render:y5,impressionName:eO.ImpressionNames.GUILD_DISCOVERY,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.GUILD_MEMBER_VERIFICATION(Sg.pv.guildId()),render:y9,impressionName:eO.ImpressionNames.GUILD_MEMBER_VERIFICATION,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.GUILD_MEMBER_VERIFICATION_FOR_HUB(Sg.pv.guildId(),":inviteCode?"),render:Ce}),(0,k.jsx)(rd.A,{path:eL.BVt.GUILD_FEATURE(":feature",Sg.pv.guildId()),exact:!0,render:Cc,disableTrack:!0}),(0,k.jsx)(rd.A,{path:eL.BVt.FEATURE(":feature"),exact:!0,render:Cc,disableTrack:!0})]}),_&&(0,k.jsx)(ax,{})]})})]})]})})})}var Ch=n(159730);n(938796);var Cp=n(665260),CE=n(56562),Cm=n(837152),Cg=n(885437),CA=n(973854),CI=n(862927),CT=n(815706),CS=n(134047),CN=n(181079),Cy=n(668267),CC=n(379587),Cv=n(953384),CO=n(973522),CR=n(587626),Cb=n(136722),CD=n(808728),CL=n(698441),Cw=n(960755),CM=n(211753),CP=n(41984),Cx=n(296027),CU=n(515183),Ck=n(871633),CG=n(446600),CF=n(760751),CV=n(232835),CB=n(543465),CH=n(184809),Cj=n(474090),CY=n(705751);async function CW(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,CU.E1)(t.pid),ia.Ay.canCollectExecutableFingerprintsForRunningGames()?tS.Ay.getExecutableFingerprintForProcess(t.pid):Promise.resolve(null)]),{gameName:f,gameId:h,exe:p,distributor:E,rawExePath:m}=(0,CO.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:f,game_id:h,verified:null!=n&&(0,CO.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:CP.Ue[s]??(__OVERLAY__?CP.Ue[CP.Ue.Hook]:null),activity_status_enabled:tl.tz.getSetting(),activity_status_shared_guilds:a,current_user_status:l0.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,Ck.MT)(t),executable_fingerprint:_??t.executableFingerprint}),null!=p&&ia.Ay.addExecutableTrackedByAnalytics(p)}async function CK(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:CY.S7.NON_GAME_DETECTABLE,elevated:t.elevated,game_platform:eL.yTV.DESKTOP,distributor:t.distributor,detection_method:"verified_non_game_application",current_user_status:l0.A.getStatus(),executable_path:(0,CO.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 Cz extends e8.PureComponent{isMessageRequestsInitialized=!1;debouncedRobloxAnalytics=im().debounce(CW,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=CG.A.getStageInstanceByChannel(e.voiceChannelId),r=CL.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=CG.A.getStageInstanceByChannel(t),l=CL.Ay.getActiveEventByChannel(t);(0,ad.zV)(eL.HAw.CHANNEL_OPENED,{...(0,ad.qL)(t)}),(0,CA.A)({channelId:t});let u=null,c=CH.default.getFocusedPID();null!=c&&Cx.default.getOverlayMethod(c)!==CP.Ue.Disabled&&(CH.default.isInstanceLocked()?u=eL.Xmn.OVERLAY_LOCKED_ACTIVATED:CH.default.isInstanceLocked()||(u=CH.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 f=o?.distributor===e.runningGame?.distributor&&o?.sku===e.runningGame?.sku&&o?.name===e.runningGame?.name,h=null!=e.runningGame&&null!=o&&e.runningGame.isLauncher!==o.isLauncher;if(e.runningGame!==o&&null!=o&&!o.isLauncher&&(!f||h)){let{gameId:e}=(0,CO.wH)(o),s=void 0!==e?CF.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 f=Cx.default.getTrackedGameByPid(o.pid),h=(0,ia.hw)(o),p={enabledOOP:f?.oopEnabled??h.enabledOOP,enabledLegacy:f?.legacyEnabled??h.enabledLegacy,overlayMethod:f?.overlayMethod??h.overlayMethod,source:f?.source??h.source,reason:"ChatAutoAnalytics"},E=Cx.default.getOverlayMethod(o.pid)??p.overlayMethod;if(setTimeout(()=>{(o.distributor===eL.d3x.ROBLOX?this.debouncedRobloxAnalytics:CW)({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&&CF.A.shouldReport(o)){let e=o.name;lY.Ay.identifyGame(l,e).then(e=>lY.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=Cv.A.getById(u.id);null!=e&&CK({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,CT.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=CV.A.getMessages(t),r=e.toArray().reverse().find(e=>(0,Cp.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&&CS.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 C$(){let e,[t,n]=(0,e6.yK)([nZ.A],()=>[nZ.A.getVoiceChannelId(),nZ.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)([nX.A],()=>nX.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)([SS.Ay],()=>null!=u&&null!=o&&(SS.Ay.getMember(o,u.id)?.isPending??!1),[u,o]),d=(0,e6.bG)([uS.Ay],()=>uS.Ay.getState().section,[]),_=(0,e6.bG)([T9.A],()=>T9.A.getHomeLink(),[]),f=(0,e6.bG)([CR.A],()=>CR.A.isConnected(),[]),[h,p]=(0,e6.yK)([tI.Ay],()=>[tI.Ay.isVideoEnabled(),tI.Ay.isScreenSharing()],[]),E=(0,e6.bG)([l0.A],()=>l0.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)([CD.Ay],()=>CD.Ay.getChannels(o)[CD.I6]??[],[o])).length?0:e.filter(e=>{let{channel:t}=e;return lJ.A.can(Cb.kg(eL.xBc.SEND_MESSAGES,eL.xBc.VIEW_CHANNEL),t)}).length,I=(0,e6.bG)([AJ.A],()=>AJ.A.getMessageRequestsCount(),[]),T={selectedChannelId:n,isNSFWChannel:s,selectedGuildId:o,friendsTabSection:d,homeLink:_,connected:f,videoEnabled:h,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,ui.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,Cg.p)(a),...(0,ad.qL)(a),selected_guild_id:o}),(0,CA.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,CI.A)();ew.default.track(eL.HAw.FRIENDS_LIST_VIEWED,{tab_opened:t,source:n,...i}),(0,Cm.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(nX.A.getGuildId()),i=function(e){let{guildChannels:t}=Cw.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:!CB.Ay.isOptInEnabled(o),num_recent_channels:Cw.A.recentsChannelCount(o),num_unread_channels:i.length,unread_channel_ids:i};if((0,ad.zV)(eL.HAw.GUILD_VIEWED,r),(0,Cm.k)(eL.HAw.GUILD_VIEWED_CLICKSTREAM,{guild_id:o}),(0,sP.ai)(o)){let e=CC.o.getConfig({location:"ChatAutoAnalytics"}).enabled,t=Cj.Ay.isPremiumExactly(tT.default.getCurrentUser(),co.PremiumTypes.TIER_2),n=(0,Cy.Kg)();(0,Cy.U5)(n,CN.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,k.jsx)(Cz,{...T})}var Cq=n(844222),CZ=n(398590),CX=n(390435),CQ=n(663066),CJ=n(783775);let C0=(0,rs.Fe)({createPromise:()=>Promise.resolve().then(n.bind(n,944771)),webpackId:944771,name:"ComponentPlayground"}),C1=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("67921"),n.e("54747"),n.e("60060"),n.e("51755"),n.e("27107"),n.e("18934"),n.e("758"),n.e("76822"),n.e("6772"),n.e("7017"),n.e("27681"),n.e("25907"),n.e("17094"),n.e("35598"),n.e("23924"),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("59957"),n.e("83952"),n.e("60773"),n.e("8018"),n.e("68763"),n.e("19454"),n.e("26001"),n.e("30997"),n.e("12255"),n.e("28136"),n.e("16084"),n.e("10943"),n.e("44057"),n.e("87317"),n.e("66580"),n.e("73669"),n.e("7775"),n.e("22547"),n.e("3710"),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"}),C2=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("95780"),n.e("14938"),n.e("60060"),n.e("4592"),n.e("25907"),n.e("17094"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("33957"),n.e("94193"),n.e("5384"),n.e("62859"),n.e("10448"),n.e("74587"),n.e("75804"),n.e("76119"),n.e("50474"),n.e("23924"),n.e("71470"),n.e("8596"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("9233"),n.e("42724"),n.e("86127"),n.e("86814"),n.e("25949"),n.e("78453"),n.e("91013"),n.e("44571"),n.e("30788"),n.e("25246"),n.e("23995"),n.e("57355"),n.e("36877"),n.e("20131"),n.e("38501"),n.e("98329"),n.e("61058"),n.e("21957"),n.e("93766"),n.e("52511"),n.e("54622"),n.e("54103"),n.e("27966"),n.e("69059"),n.e("52803"),n.e("76622"),n.e("75284"),n.e("43710"),n.e("64926"),n.e("99976"),n.e("82561"),n.e("84779"),n.e("86823"),n.e("2750"),n.e("86002"),n.e("59275")]).then(n.bind(n,977802)),webpackId:977802,name:"CollectiblesShop"}),C3=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("67921"),n.e("54747"),n.e("60060"),n.e("94864"),n.e("6772"),n.e("758"),n.e("27681"),n.e("27107"),n.e("7017"),n.e("78220"),n.e("17094"),n.e("18934"),n.e("74587"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("45650"),n.e("80559"),n.e("333"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("25610"),n.e("6720"),n.e("44135"),n.e("76822"),n.e("95780"),n.e("59007"),n.e("87845"),n.e("45970"),n.e("47620"),n.e("56574"),n.e("80186"),n.e("34354"),n.e("23924"),n.e("71470"),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("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("9233"),n.e("76418"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("87478"),n.e("44780"),n.e("5557"),n.e("59957"),n.e("83952"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("49145"),n.e("60773"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("15109"),n.e("29666"),n.e("58273"),n.e("19454"),n.e("20930"),n.e("26001"),n.e("16988"),n.e("30997"),n.e("14591"),n.e("52111"),n.e("28136"),n.e("57458"),n.e("59797"),n.e("93336"),n.e("60358"),n.e("87436"),n.e("16084"),n.e("1243"),n.e("75859"),n.e("10943"),n.e("15920"),n.e("68530"),n.e("3930"),n.e("44057"),n.e("3663"),n.e("87317"),n.e("66580"),n.e("78046"),n.e("80093"),n.e("38601"),n.e("73669"),n.e("7775"),n.e("22547"),n.e("60989"),n.e("82486"),n.e("3710"),n.e("45830"),n.e("61058"),n.e("50342"),n.e("33097"),n.e("77602"),n.e("10262"),n.e("95602"),n.e("46313"),n.e("5896"),n.e("69178"),n.e("29569"),n.e("36002"),n.e("43233"),n.e("41786"),n.e("91643"),n.e("63726"),n.e("71329"),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("14878"),n.e("88307"),n.e("26508"),n.e("61347"),n.e("73091"),n.e("86692"),n.e("16237"),n.e("16373"),n.e("81398"),n.e("24484"),n.e("44943"),n.e("32347"),n.e("8458"),n.e("11810"),n.e("48111"),n.e("90152"),n.e("87973"),n.e("57197"),n.e("14863"),n.e("84951"),n.e("71167"),n.e("12390"),n.e("34409"),n.e("61309"),n.e("94529"),n.e("30313"),n.e("50276"),n.e("21300"),n.e("94171"),n.e("76064"),n.e("74572"),n.e("98700")]).then(n.bind(n,422559)),webpackId:422559,name:"GuildSettings"}),C6={[eL.zgK.CHANNEL_SETTINGS]:()=>(0,k.jsx)(C1,{}),[eL.zgK.GUILD_SETTINGS]:()=>(0,k.jsx)(C3,{}),[eL.zgK.COLLECTIBLES_SHOP]:()=>(0,k.jsx)(C2,{}),[eL.zgK.COMPONENT_PLAYGROUND]:()=>(0,k.jsx)(C0,{})},C4="SHOWN",C5="HIDDEN",C7={friction:10,tension:100};function C8(){return e8.useEffect(()=>(iq.A.enable(),iq.A.enableTemp(CX.w),()=>iq.A.disableTemp()),[]),null}class C9 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=Cq.C;constructor(e){super(e);let t=1,n=1;e.mode===C5&&(t=.93,n=0),this.state={animating:!1,scale:new cc.A.Value(t),opacity:new cc.A.Value(n),mode:e.mode}}componentDidUpdate(e){let{mode:t}=this.props,{mode:n}=e;if(t!==n){if(t===C4&&n===C5)return this.animateIn();if(t===C5&&n===C4)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;cc.A.parallel([cc.A.spring(t,{toValue:1,...C7}),cc.A.spring(n,{toValue:1,...C7})]).start(()=>this.animateComplete(e))}animateOut(e){e6.Ay.Emitter.pause(500);let{opacity:t,scale:n}=this.state;cc.A.parallel([cc.A.spring(t,{toValue:0,...C7}),cc.A.spring(n,{toValue:1.1,...C7})]).start(()=>{e(),aI._.dispatch(eL.jej.LAYER_POP_COMPLETE)})}animateUnder(){e6.Ay.Emitter.pause(500);let{opacity:e,scale:t}=this.state;cc.A.parallel([cc.A.spring(e,{toValue:0,...C7}),cc.A.spring(t,{toValue:.93,...C7})]).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===C5,o=e||a?this.getAnimatedStyle():null,l=!a&&!r,u=(0,k.jsx)(cc.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()(CJ.qd,{[CJ.n3]:r,[CJ.bW]:e,"stop-animations":n===C5}),style:o,...s,children:i});return r?u:(0,k.jsx)(S2.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 ve extends e8.PureComponent{componentDidMount(){aI._.subscribe(eL.jej.LAYER_POP_ESCAPE_KEY,CZ.jH)}componentWillUnmount(){aI._.unsubscribe(eL.jej.LAYER_POP_ESCAPE_KEY,CZ.jH)}renderLayers(){let{children:e,layers:t,hasFullScreenLayer:n}=this.props,{length:i}=t,r=[];return r.push((0,k.jsx)(C9,{mode:0!==i||n?C5:C4,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?C6[e]():(0,k.jsx)(e,{}),(0,k.jsxs)(C9,{name:"string"==typeof e?e:void 0,mode:t===n-1?C4:C5,children:[(0,k.jsx)(C8,{}),i]},`layer-${t}`)}renderArtisanalHack(){return(0,k.jsx)(t6.N,{theme:this.props.sidebarTheme,children:e=>(0,k.jsx)("div",{className:t2()(CJ.bg,e)})})}render(){return(0,k.jsxs)(k.Fragment,{children:[this.renderArtisanalHack(),(0,k.jsx)(cU.F,{component:"div",className:t2()(CJ.ZF,this.props.className),children:this.renderLayers()})]})}}function vt(e){let t=(0,ta.NC)(),n=(0,e6.bG)([rk.A],()=>rk.A.getLayers()),i=(0,CQ.xr)(e=>e.fullScreenLayers.length>0&&!e.fullScreenLayers.some(e=>e.options.showAppUnderLayer));return(0,k.jsx)(ve,{...e,sidebarTheme:t,layers:n,hasFullScreenLayer:i})}var vn=n(107715);let vi=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(i$.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,k.jsxs)(ig,{ref:i,className:vn.y,children:[(0,k.jsx)(vt,{className:vn.Z,children:(0,k.jsx)(Cf,{})}),(0,k.jsx)(rt,{}),(0,k.jsx)(iz,{}),(0,k.jsx)(C$,{}),(0,k.jsx)(Ch.A,{}),!n&&(0,k.jsx)(iA.S,{})]})});var vr=n(148803),vs=n(154323),va=n(536194),vo=n(892035);let vl="CollectiblesMarketingManager",vu="CollectiblesAnnouncementModal",vc=new tb.A(vl);class vd extends nK.A{didOpenAnnouncementModal=!1;_initialize(){e$.h.subscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen),e$.h.subscribe("LOGOUT",this.handleLogout)}_terminate(){e$.h.unsubscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen),e$.h.unsubscribe("LOGOUT",this.handleLogout)}handleLogout=()=>{this.didOpenAnnouncementModal=!1};handlePostConnectionOpen=()=>{let e=vs.A.get("shop_include_unpublished");(0,AD.LX)({release:e?vr.P.BETA:vr.P.PROD}),this.maybeOpenAnnouncementModal()};maybeOpenAnnouncementModal=async()=>{if(this.didOpenAnnouncementModal||va.P.isDisallowPopupsSet()||(0,nC.hasModalOpen)(vu))return;let e=tT.default.getCurrentUser();if(!(null==e||!e.verified||(0,le.k8)(rM.M.COLLECTIBLES_PROFILE_FRAMES_ANNOUNCEMENT))&&(0,vo.ix)(vl).isAnnouncementEligible){this.didOpenAnnouncementModal=!0;try{await (0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("80178"),n.e("13328")]).then(n.bind(n,24851));return t=>(0,k.jsx)(e,{...t})},{modalKey:vu})}catch(e){this.didOpenAnnouncementModal=!1,vc.error("Failed to open announcement modal",e)}}}}let v_=new vd;var vf=n(347481),vh=n(792205);let vp={ignoredDevices:{}},vE=vp,vm=!1,vg={},vA={},vI={},vT={id:null,justChanged:!1},vS={id:null,justChanged:!1},vN=/\((.+)\)\s*$/;function vy(e){if((0,ek.getPlatform)()===ek.PlatformTypes.WINDOWS){let t=e.name.match(vN);if(null!=t)return t[1]}return e.name}function vC(e,t,n){return null==e||e.displayName!==t?{displayName:t,type:n}:e.type===vh.E.INPUT&&n===vh.E.OUTPUT||e.type===vh.E.OUTPUT&&n===vh.E.INPUT?{displayName:t,type:vh.E.INPUT_AND_OUTPUT}:e}class vv 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),vE=e??vp}getUserAgnosticState(){return vE}get initialized(){return vm}get lastDeviceConnected(){return vI}get inputDevices(){return vg}get lastInputSystemDevice(){return vT}get outputDevices(){return vA}get lastOutputSystemDevice(){return vS}}let vO=new vv(e$.h,{MEDIA_ENGINE_DEVICES:function(e){let{inputDevices:t,outputDevices:n}=e,i={};vT.justChanged=!1,t.forEach(e=>{if(i[vy(e)]=e.id,e.id===il.dx){let t=e.originalId??e.originalName;t!==vT.id&&(vT.justChanged=!0),vT.id=t}});let r={};if(vS.justChanged=!1,n.forEach(e=>{if(r[vy(e)]=e.id,e.id===il.dx){let t=e.originalId??e.originalName;t!==vS.id&&(vS.justChanged=!0),vS.id=t}}),!vm){vg=i,vA=r,vm=!0;return}let s=Object.keys(vg),a=Object.keys(i),o=Object.keys(vA),l=Object.keys(r),u=im().difference(s,a),c=im().difference(o,l);return u.length>0||c.length>0?vI={}:(im().difference(a,s).forEach(e=>{vI[e]=vC(vI[e],e,vh.E.INPUT)}),im().difference(l,o).forEach(e=>{vI[e]=vC(vI[e],e,vh.E.OUTPUT)})),!(im().isEqual(s,a)&&im().isEqual(o,l))&&(vg=i,vA=r,!0)},CONNECTED_DEVICE_SWITCH:function(e){let{displayName:t,connectedDevicePreference:n,location:i}=e;if(n===vh.f.INPUT||n===vh.f.INPUT_AND_OUTPUT){let e=vg[t];null!=e&&e$.h.wait(()=>is.A.setInputDevice(e,{location:i}))}if(n===vh.f.OUTPUT||n===vh.f.INPUT_AND_OUTPUT){let e=vA[t];e$.h.wait(()=>is.A.setOutputDevice(e,{location:i}))}delete vI[t]},CONNECTED_DEVICE_DONT_SWITCH:function(e){let{displayName:t}=e;delete vI[t]},CONNECTED_DEVICE_IGNORE:function(e){let{displayName:t}=e;vE.ignoredDevices[t]=!0,delete vI[t]},CONNECTED_DEVICE_NEVER_SHOW_MODAL:function(){vI={},vE.neverShowModal=!0}}),vR=new Set(["DisplayPort"]),vb="connected-device-modal";function vD(){let e;if((0,nC.hasModalOpen)(vb))return;let t=tI.Ay.getInputDeviceId(),i=tI.Ay.getOutputDeviceId();if(vO.getState().neverShowModal||im().isEmpty(vO.lastDeviceConnected))return;let r=vy(tI.Ay.getInputDevices()[t]),s=vy(tI.Ay.getOutputDevices()[i]);if(im().some(vO.lastDeviceConnected,e=>vR.has(e.displayName)||e.displayName===r||e.displayName===s))return;let a=im().some(vO.lastDeviceConnected,e=>vf.A.isCertified(vO.inputDevices[e.displayName])||vf.A.isCertified(vO.outputDevices[e.displayName]));if((t===il.dx&&vO.lastInputSystemDevice.justChanged||i===il.dx&&vO.lastOutputSystemDevice.justChanged)&&!a)return;let o=im().first(Object.keys(vO.lastDeviceConnected)),l=null!=o&&""!==o?vO.lastDeviceConnected[o]:null;null==l||vO.getState().ignoredDevices[l.displayName]||(vO.initialized&&null!=o&&(vf.A.isCertified(vO.inputDevices[o])?e=vf.A.getCertifiedDevice(vO.inputDevices[o]):vf.A.isCertified(vO.outputDevices[o])&&(e=vf.A.getCertifiedDevice(vO.outputDevices[o]))),(0,nC.openModalLazy)(async()=>{let{default:t}=await n.e("65573").then(n.bind(n,442468));return n=>{let{transitionState:i,onClose:r}=n;return(0,k.jsx)(t,{device:l,certifiedDeviceMetadata:e,transitionState:i,onClose:r})}},{modalKey:vb}))}let vL={init(){vO.addChangeListener(vD)}},vw="CONNECTIONS_GRID_MODAL_KEY";class vM extends nK.A{_initialize(){e$.h.subscribe("CONNECTIONS_GRID_MODAL_SHOW",this.handleShow),e$.h.subscribe("CONNECTIONS_GRID_MODAL_HIDE",this.handleHide)}_terminate(){e$.h.unsubscribe("CONNECTIONS_GRID_MODAL_SHOW",this.handleShow),e$.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}=e;(0,nC.hasModalOpen)(vw)||(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("18934"),n.e("26343"),n.e("69178"),n.e("89588"),n.e("95198")]).then(n.bind(n,58829));return n=>(0,k.jsx)(e,{onComplete:t,excludedPlatformTypes:i,includedPlatformTypes:r,integrations:s,onCompleteApplication:a,includeApplicationConnections:o,gameApplicationIds:l,onCompleteIdentityApplication:u,...n})})}handleHide(){(0,nC.closeModal)(vw)}}let vP=new vM;var vx=n(480900),vU=n(293260);class vk extends nK.A{_initialize(){e$.h.subscribe("GUILD_ROLE_CONNECTIONS_MODAL_SHOW",this.handleShow)}_terminate(){e$.h.unsubscribe("GUILD_ROLE_CONNECTIONS_MODAL_SHOW",this.handleShow)}handleShow(e){let{role:t,guildId:n}=e;(0,nC.hasModalOpen)("GUILD_ROLE_CONNECTIONS_MODAL_KEY")||(null!=t&&t.tags?.guild_connections===null?(0,vx.b)(t,n):(0,vU.c0)(n))}}let vG=new vk;var vF=n(475358),vV=n(785796),vB=n(552122),vH=n(312671),vj=n(773669),vY=n(437959),vW=n(47891),vK=n(417376);class vz 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,k.jsx)(vF.e,{shortcut:"tab",className:vK.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,k.jsx)(vF.e,{shortcut:"f6",className:vK.P},t),tabHook:(e,t)=>(0,k.jsx)(vF.e,{shortcut:"tab",className:vK.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,k.jsx)(vF.e,{shortcut:"mod+k",className:vK.P},t)}),na.intl.format(na.t.aes5VI,{markUnreadHook:(e,t)=>(0,k.jsx)(vF.e,{shortcut:"alt+click",className:vK.P},t)}),na.intl.format(na.t.md9Svv,{markServerUnreadHook:(e,t)=>(0,k.jsx)(vF.e,{shortcut:"shift+esc",className:vK.P},t)}),na.intl.format(na.t["X0Tu+u"],{navigateUnreadHook:(e,t)=>(0,k.jsx)(vF.e,{shortcut:"shift+alt+up",className:vK.P},t),downHook:(e,t)=>(0,k.jsx)(vF.e,{shortcut:"down",className:vK.P},t)}),na.intl.format(na.t.AkoeIY,{keyboardShortcutsHook:(e,t)=>(0,k.jsx)(vF.e,{shortcut:"mod+/",className:vK.P},t)}),na.intl.format(na.t.P9sfAH,{messageNewlineHook:(e,t)=>(0,k.jsx)(vF.e,{shortcut:"shift+return",className:vK.P},t)}),na.intl.format(na.t["3Ox33f"],{shiftHook:(e,t)=>(0,k.jsx)(vF.e,{shortcut:"shift",className:vK.P},t)}),na.intl.format(na.t.enCV6b,{upHook:(e,t)=>(0,k.jsx)(vF.e,{shortcut:"up",className:vK.P},t)})];return vj.default.locale.startsWith("en-")&&e.push(na.intl.string(na.t.dQ9Wqk)),e[im().random(e.length-1)]})();_eventLoadingText=(function(){let e=vB.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,iC.aN)("discodo",e);return t.volume=1,t}componentDidMount(){this.setProblemsTimeout(),this.props.connected&&(0,uT.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,uT.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&&vV.A.checkIncidents()}componentWillUnmount(){this.clearProblemsTimeout()}handleReady=()=>{this.setState({ready:!0}),(0,ek.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,k.jsxs)("div",{className:vK.kL,"data-fade":n,style:{"--connecting-container-fade-duration":"200ms","--connecting-content-fade-duration":"150ms"},children:[(0,k.jsxs)("div",{className:vK.Qs,children:[(0,k.jsx)(vW.A,{autoPlay:!0,loop:!e,setRef:this.setVideoRef,onReady:this.handleReady,className:t2()(vK.bE,this.state.ready?vK.Gc:"")}),(0,k.jsxs)("div",{className:vK.Qq,children:[null!=t?null:(0,k.jsx)("div",{className:vK.mu,children:na.intl.string(na.t.v0R1Lh)}),(0,k.jsx)("div",{className:null!=t?vK.DD:vK.uN,children:i}),(0,k.jsx)("div",{className:vK.rf,children:r})]})]}),(0,k.jsxs)("div",{className:t2()(vK.Bk,{[vK.ly]:this.state.problems}),children:[(0,k.jsx)("div",{className:vK.u1,children:na.intl.string(na.t.AG2zPM)}),(0,k.jsxs)("div",{children:[(0,k.jsxs)(tn.Anchor,{className:vK.AR,href:eL.qF7.TWITTER_SUPPORT,target:"_blank",children:[(0,k.jsx)(Ag.p,{size:"xs",color:"currentColor",className:vK.Kk}),na.intl.string(na.t.KlyTbj)]}),(0,k.jsxs)(tn.Anchor,{className:vK.gy,href:eL.qF7.STATUS,target:"_blank",children:[(0,k.jsx)(SO,{className:vK.Kk}),na.intl.string(na.t.AgXXyy)]})]})]})]})}}}let v$=e6.Ay.connectStores([CR.A,vY.A,vH.A,e7.A],()=>({isTryingToConnect:CR.A.isTryingToConnect(),connected:CR.A.isConnected(),incident:vY.A.getIncident(),soundpack:vH.A.getSoundpack(),reducedMotion:e7.A.useReducedMotion}))(e=>{let{isTryingToConnect:t,connected:n,incident:i,soundpack:r,reducedMotion:s}=e;return t?(0,k.jsx)(vz,{reducedMotion:s,soundpack:r,connected:n,incident:i}):null});var vq=n(272613);class vZ extends nK.A{_initialize(){e$.h.subscribe("POST_CONNECTION_OPEN",this._maybeStartDevSession),e$.h.subscribe("BILLING_STANDALONE_INITIALIZED",this._maybeStartDevSession),e$.h.subscribe("LOGOUT",this._maybeStopDevSession)}_terminate(){e$.h.unsubscribe("POST_CONNECTION_OPEN",this._maybeStartDevSession),e$.h.unsubscribe("BILLING_STANDALONE_INITIALIZED",this._maybeStartDevSession),e$.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 vX=new vZ;var vQ=n(422258);function vJ(e){let{channel:{id:t}}=e;(0,vQ.i_)(t,{trackAnalytics:!1})}class v0 extends nK.A{_initialize(){e$.h.subscribe("CHANNEL_DELETE",vJ)}_terminate(){e$.h.unsubscribe("CHANNEL_DELETE",vJ)}}let v1=new v0;var v2=n(367727),v3=n(853742);class v6 extends nK.A{_initialize(){e$.h.subscribe("CHANNEL_SELECT",this.handleChannelSelect)}_terminate(){e$.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=lJ.A.can(eL.xBc.MANAGE_CHANNELS,t),s=(0,le.k8)(rM.M.FORUM_CHANNEL_UPSELL_MODAL),a=lZ.A.getMemberCount(o)??0,!i||!r||s||!(a>=200)))return;(0,v3.zd)(),(0,v2.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,le.Dr)(rM.M.FORUM_CHANNEL_UPSELL_MODAL,{dismissAction:e})};(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("43051"),n.e("90052")]).then(n.bind(n,653682));return t=>(0,k.jsx)(e,{...t,onClose:e=>{l(e),t.onClose()},guildId:o,shouldUpsellCreation:!0})},{onCloseCallback:()=>(0,le.Dr)(rM.M.FORUM_CHANNEL_UPSELL_MODAL,{dismissAction:rE.i.DISMISS}),onCloseRequest:eL.FXj})}}let v4=new v6;var v5=n(208207);class v7 extends nK.A{_initialize(){e$.h.subscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen)}_terminate(){e$.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)}),o4.Ay.fetchApplications(Array.from(t))};destroy(){e$.h.unsubscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen)}}let v8=new v7,v9={};function Oe(e){let{name:t,hash:n,missingData:i}=e;for(let e of(CF.A.markGameReported(t),i))if("icon"===e){let e=v9[t];null!=e&&lY.Ay.uploadIcon(t,n,e);return}else new tb.A("GameStoreIconManager").log(`Could not find missing data key: ${e}`)}function Ot(e){let{gameName:t,icon:n}=e;v9[t]=n}let On={initialize(){e$.h.subscribe("UNVERIFIED_GAME_UPDATE",Oe),e$.h.subscribe("GAME_ICON_UPDATE",Ot)}};var Oi=n(738533);function Or(e){let t,n,{gameId:i}=e;t=lz.A.launchableGames[i],(null!=(n=rD.A.getApplication(i))?Oi.A.isLaunchable(n):Oi.A.isGameLaunchable(i)).then(e=>{e!==t&&e$.h.dispatch({type:"GAME_LAUNCHABLE_UPDATE",gameId:i,isLaunchable:e})})}let Os={initialize(){e$.h.subscribe("CHECK_LAUNCHABLE_GAME",Or)}},Oa={init(){lX.A.whenInitialized(()=>{null!=s0.A.testModeApplicationId&&(0,nL.q1)(s0.A.testModeApplicationId,s0.A.testModeOriginURL)})}};var Oo=n(92077);function Ol(){if(!(0,l3.S)())return;let e=eW.default.getToken(),t=eW.default.getId();if(null==e)throw Error("missing user token");Oo.Ts(e,t)}function Ou(){Oo.zr()}let Oc={init(){e$.h.subscribe("CONNECTION_OPEN",Ol),e$.h.subscribe("LOGOUT",Ou)}};var Od=n(507263),O_=n(376728),Of=n(970163);async function Oh(e){let{code:t}=e,i=(await (0,Of.A)(t)).invite;if(null==i||null==i.guild)return;let r=i.guild.id,s=SS.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 e$.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}),O_.Ay.transitionToInvite(i,void 0,!0)}var Op=n(468689),OE=n(268313),Om=n(998740);function Og(e){return`haven:${e}`}function OA(){let e=i;if(null==e)return!1;let t=Og(e);if(!ay.A.isOpen(t))return!1;let n=ay.A.pipHavenWindow;if(null==n||n.id!==t)return i=null,!1;e$.h.wait(()=>aA.VN(t)),i=null}function OI(){return rk.A.hasLayers()}function OT(){let e,t,n=iL.A.getChannelId(),r=null!=n?ib.A.getChannel(n):null;if(e=iL.A.getChannelId(),t=nZ.A.getChannelId(),null==e||!Om.A.isUserConnected(e)||e===t||sj.A.getWindowOpen(eL.MLl.CHANNEL_CALL_POPOUT)||0)return OA();if(null!=r&&Om.A.isUserConnected(r.id)){if(i!==r.id){let e=Og(r.id);if(ay.A.isOpen(e))return!1;if(null!=i){let e=i;e$.h.wait(()=>aA.VN(e))}return e$.h.wait(()=>{aA.ho(e,eL.o1q.HAVEN,{channel:r}),OI()&&aA.jD(e)}),i=r.id,!0}return!1}return OA()}function OS(){if(OI()){let e=(void 0)??i;if(null==e)return;let t=Og(e);ay.A.isOpen(t)&&e$.h.wait(()=>aA.jD(t));return}let e=(void 0)??i;if(null==e)return;let t=Og(e);ay.A.isOpen(t)&&e$.h.wait(()=>aA.WU(t))}class ON extends nK.A{_initialize(){nZ.A.addChangeListener(OT),nX.A.addChangeListener(OT),iL.A.addChangeListener(OT),iM.A.addChangeListener(OT),rk.A.addChangeListener(OS),Om.A.addChangeListener(OT),sj.A.addChangeListener(OT)}_terminate(){nZ.A.removeChangeListener(OT),nX.A.removeChangeListener(OT),iL.A.removeChangeListener(OT),iM.A.removeChangeListener(OT),rk.A.removeChangeListener(OS),Om.A.removeChangeListener(OT),sj.A.removeChangeListener(OT)}}let Oy=new ON,OC={init(){e$.h.subscribe("VOICE_CHANNEL_SELECT",e=>{let{channelId:t}=e;null==t&&Nm.sF(yn._.VOICE_PANEL_INTRODUCTION)})}};var Ov=n(4106);let OO=null;class OR extends nK.A{_initialize(){e$.h.subscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen)}_terminate(){e$.h.unsubscribe("POST_CONNECTION_OPEN",this.handlePostConnectionOpen)}handlePostConnectionOpen(){(0,AZ.HF)("ICYMIManager")&&(!function e(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Ov.A.fetchDehydrated({isInitialLoad:t}),null!=OO&&clearTimeout(OO),OO=setTimeout(()=>e(),15*n5.A.Millis.MINUTE)}(!0),Ov.A.getGuildChannelScores(),Ov.A.getRecommendedGuilds())}}let Ob=new OR;var OD=n(684013),OL=n(55619),Ow=n(572164),OM=n(299855),OP=n.n(OM),Ox=n(157257),OU=n(997630),Ok=n(905552),OG=n(325278),OF=n(140175),OV=n(528772),OB=n(944775),OH=n(351906),Oj=n(532624),OY=n(773371),OW=n(427603);let OK=new Map;function Oz(e,t,n,i){if(!iL.A.isConnected())return;let r=i.context??il.x.DEFAULT,s=OK.get(r);null==s&&(s={held:new Set,priorityHeld:new Set},OK.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,OF.N)(a,o)}let O$={[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&&(O$[eL.hCu.PUSH_TO_TALK].isPressed=e,Oz(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&&(O$[eL.hCu.PUSH_TO_TALK_PRIORITY].isPressed=e,Oz(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&&(O$[eL.hCu.VAD_PRIORITY].isPressed=e,Oz(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&&(O$[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,NG.M)(r);if(!a){if(r.isGuildStageVoice()){let e=NL.A.getMutableParticipants(r.id,Nw.ip.SPEAKER),t=e?.find(e=>{let{user:t}=e;return t.id===s});if(!(0,NM.Bw)(r.guild_id)||!i||null==t||t.voiceState.suppress)return}return e?is.A.setVideoEnabled(!1):!1===n?(0,NY.A)(()=>{is.A.setVideoEnabled(!0)},eL.BRT.APP,!0):(0,NB.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,Oj.DV)(t.shortcut))return;let n=(0,OW.A)();null!=n&&OD.A.setInputLocked(!CH.default.isLocked(n),n)},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.OVERLAY_ACTIVATE_REGION_TEXT_WIDGET]:{onTrigger(){let e=OY.default.getFocusedPID(),t=null!=e;null!=e&&t&&CH.default.isPinned(eL.uss.TEXT)&&CH.default.isLocked(e)&&OY.default.isReady(e)&&OD.A.activateRegion(eL.ajI.TEXT_WIDGET)},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.TOGGLE_GO_LIVE_STREAMING]:{onTrigger(){let e=iR.A.getCurrentUserActiveStream();if(null!=e)return(0,oP.vN)((0,iy._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,Np.A)(tI.Ay)||null!=iR.A.getCurrentUserActiveStream())return;let n=nZ.A.getVoiceChannelId(),i=ib.A.getChannel(n);if(null==i)return;let r=i.getGuildId();if((0,lo.vz)(i,tx.A,lJ.A,!1))if(tI.Ay.getUseSystemScreensharePicker())(0,ek.isMac)()&&OP().satisfies(ti.A?.os.release,OG.WZ)?(0,OU.a)():(0,OU.a)("window");else{let n=(0,Ok.A)(ia.Ay,Ox.A);if(null==n||n.isLauncher&&!e)return;(0,oP.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(){OL.A.setEnabled(!OH.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,OW.A)();if(null!=e)if(OV.A.enabled)(0,OB.Lk)(e);else{if(!(0,NS.lI)())return;(0,OB.hK)(!0,e)}},keyEvents:{keyup:!0,keydown:!1}},[eL.hCu.SOUNDBOARD_HOLD]:{onTrigger:e=>{let t=(0,OW.A)();if(null!=t){if(e){if(!(0,NS.lI)())return;(0,OB.hK)(!1,t)}else(0,OB.Lk)(t);return}},keyEvents:{keyup:!0,keydown:!0}},[eL.hCu.SAVE_CLIP]:{onTrigger:()=>{(0,Ow.TD)()&&(ew.default.track(eL.HAw.CLIP_SAVE_KEYBIND_PRESSED),(0,r$.l0)())},keyEvents:{keyup:!1,keydown:!0}},[eL.hCu.SAVE_SCREENSHOT]:{onTrigger:()=>{!(0,Ow.TD)()||(0,rG.cx)()&&(ew.default.track(eL.HAw.CLIP_SAVE_KEYBIND_PRESSED),(0,r$.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 Oq(){OK.clear(),(0,OF.N)(!1,!1)}class OZ extends nK.A{_initialize(){e$.h.wait(()=>e$.h.dispatch({type:"KEYBINDS_REGISTER_GLOBAL_KEYBIND_ACTIONS",keybinds:O$})),e$.h.subscribe("AUDIO_SET_MODE",Oq),e$.h.subscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect)}_terminate(){e$.h.unsubscribe("AUDIO_SET_MODE",Oq),e$.h.unsubscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect)}handleVoiceChannelSelect(e){let{currentVoiceChannelId:t,channelId:n}=e;t!==n&&Oq()}}let OX=new OZ;var OQ=n(913765),OJ=n(942614),O0=n(315982),O1=n(202384),O2=n(709977),O3=n(14509),O6=n(894778),O4=n(225315),O5=n(684407),O7=n(919638),O8=n(426620),O9=n(771016),Re=n(994277);n(436317);var Rt=n(315290);function Rn(){null!=r&&(0,nC.closeModal)(r)}class Ri extends nK.A{_initialize(){e$.h.subscribe("CONNECTION_OPEN",this.handleConnectionOpen),e$.h.subscribe("LOGOUT",Rn)}_terminate(){e$.h.unsubscribe("CONNECTION_OPEN",this.handleConnectionOpen),e$.h.unsubscribe("LOGOUT",Rn)}handleConnectionOpen(){var e;let t,i=O8.A.getType();if(null==i)return;switch(i){case O9.zY.INVITE_UNCLAIMED:O6.A.flowStart(Rt.do.INVITE,Rt.ju.NUF_STARTED);break;case O9.zY.ORGANIC_REGISTERED:O6.A.flowStart(Rt.do.ORGANIC,Rt.ju.NUF_STARTED);break;case O9.zY.MARKETING_UNCLAIMED:O6.A.flowStart(Rt.do.ORGANIC_MARKETING,Rt.ju.NUF_STARTED)}let s=!1,a=nX.A.getGuildId();if(i===O9.zY.INVITE_UNCLAIMED){let e=tx.A.getGuild(a);null!=e&&(0,O2.Qd)(e)&&(s=!0,(0,O4.Fy)(e.id))}let o=()=>0===O7.A.totalGuilds&&!ek.isPlatformEmbedded,l=nQ.xq();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,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("6772"),n.e("13754"),n.e("16138"),n.e("74678"),n.e("19580"),n.e("94161"),n.e("97804"),n.e("56856"),n.e("82721"),n.e("16799"),n.e("99574"),n.e("57794"),n.e("19183")]).then(n.bind(n,923314));return t=>(0,k.jsx)(e,{...t})},{onCloseRequest:eL.tEg,onCloseCallback:e,modalKey:r});return}let i=e=>{switch(e){case Re.i.AGE_GATE:O6.A.flowStep(Rt.do.ANY,Rt.ju.AGE_GATE);break;case Re.i.CHOOSE_TEMPLATE:O6.A.flowStep(Rt.do.ANY,Rt.jC.GUILD_TEMPLATES);break;case Re.i.CUSTOMIZE_GUILD:O6.A.flowStep(Rt.do.ANY,Rt.jC.GUILD_CREATE);break;case Re.i.CHANNEL_PROMPT:O6.A.flowStep(Rt.do.ANY,Rt.jC.CHANNEL_PROMPT);break;case Re.i.JOIN_GUILD:O6.A.flowStep(Rt.do.ANY,Rt.jC.JOIN_GUILD);break;case Re.i.CREATION_INTENT:O6.A.flowStep(Rt.do.ANY,Rt.jC.CREATION_INTENT);break;case Re.i.COMPLETE:O6.A.flowStep(Rt.do.ANY,Rt.jC.SUCCESS);break;case null:break;default:ix.xb(e)}};r=await (0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("6772"),n.e("13754"),n.e("27681"),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,k.jsx)(e,{...t,onSlideChange:i})},{onCloseRequest:eL.tEg,onCloseCallback:e,modalKey:r})},predicate:()=>o()&&!0},{key:"New User Age Gate",open:O0.v,predicate:()=>l&&!o()&&!0},{key:"Claim Account Modal",open:e=>O0.R(ek.isPlatformEmbedded,e),predicate:()=>!s&&null!=tT.default.getCurrentUser()&&!tT.default.getCurrentUser()?.isClaimed()&&!(0,O3._9)()},{key:"Verification Gate with Claim Account",open:e=>(0,O1.Ze)(a,e??void 0),predicate:()=>s&&!tT.default.getCurrentUser()?.isClaimed()&&!0},{key:"Guild Welcome Modal",open:e=>(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("71898"),n.e("10585")]).then(n.bind(n,954784));return t=>(0,k.jsx)(e,{...t,guildId:a})},{onCloseCallback:e}),predicate:()=>null!=a&&null!=O5.A.get(a)&&O5.A.get(a)!==O5.E}],t=()=>{OJ.D(),O6.A.flowStep(Rt.do.ANY,Rt.ju.NUF_COMPLETE,!0)},[...e].reverse().forEach(e=>{let n=t;t=()=>{e.predicate()?e.open(n):n()}}),t()}}let Rr=new Ri;var Rs=n(682492),Ra=n(754692),Ro=n(874486),Rl=n(927018),Ru=n(3137),Rc=n(559908);let Rd=new Set;class R_ extends nK.A{_initialize(){e$.h.subscribe("MESSAGE_CREATE",this.handleMessageCreate),e$.h.subscribe("POGGERMODE_SETTINGS_UPDATE",this.handleSettingsUpdate)}_terminate(){e$.h.unsubscribe("MESSAGE_CREATE",this.handleMessageCreate),e$.h.unsubscribe("POGGERMODE_SETTINGS_UPDATE",this.handleSettingsUpdate)}handleSettingsUpdate=e=>{let{settings:t}=e;t.enabled?(0,Ra._)(Rl.sn.ENABLE_POGGERMODE):!1===t.enabled&&(0,Ra._)(Rl.sn.DISABLE_POGGERMODE),Object.keys(t).some(e=>e.startsWith("confetti"))&&(0,Ra._)(Rl.sn.CUSTOMIZE_CONFETTI)};handleMessageCreate=e=>{let{channelId:t,message:{author:n,nonce:i,mentions:r}}=e;if(!Ru.A.isEnabled())return!1;let s=eW.default.getId();if(r?.find(e=>e.id===s)!=null?(0,Ra._)(Rl.sn.PING_ME):(r?.length??0)>0&&n?.id===s&&(0,Ra._)(Rl.sn.PING_SOMEONE),!(0,Rc.gN)(n?.id,s,i,Rd))return!1;let{combo:a}=Rc.Ay.getMostRecentMessageCombo(t)??{};if(null==a)return!1;Object.values(Rl.sn).forEach(e=>{if(null!=Ro.A.getUnlocked(e))return;let t=(0,Rl.vM)(e),n=t?.checkUnlock;null==n||!1!==n(a)&&(0,Ra._)(e)})}}let Rf=new R_;var Rh=n(64585),Rp=n(139033);class RE extends nK.A{_initialize(){e$.h.subscribe("POGGERMODE_TEMPORARILY_DISABLED",this.handlePoggermodeTemporarilyDisabled)}_terminate(){e$.h.unsubscribe("POGGERMODE_TEMPORARILY_DISABLED",this.handlePoggermodeTemporarilyDisabled)}handlePoggermodeTemporarilyDisabled(){(0,Rp.A)({title:na.intl.string(na.t.wDQgnX),subtitle:na.intl.string(na.t.OJklbS)})}}let Rm=new RE;var Rg=n(958005),RA=n(574172);n(41604);let RI=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("54747"),n.e("82397"),n.e("27107"),n.e("67683"),n.e("17094"),n.e("25907"),n.e("99961"),n.e("758"),n.e("4981"),n.e("4592"),n.e("60060"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("24685"),n.e("74748"),n.e("1147"),n.e("30708"),n.e("88826"),n.e("28510"),n.e("31688"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("90324"),n.e("27811"),n.e("8946"),n.e("22173"),n.e("9546"),n.e("5677"),n.e("11491"),n.e("64112"),n.e("67921"),n.e("23924"),n.e("71470"),n.e("19402"),n.e("13111"),n.e("68201"),n.e("85755"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("76418"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("98965"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),n.e("20590"),n.e("35313"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("35321"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("50033"),n.e("87478"),n.e("3998"),n.e("792"),n.e("92822"),n.e("5557"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("60773"),n.e("61156"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("9291"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("19454"),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("60358"),n.e("87436"),n.e("75133"),n.e("1243"),n.e("75859"),n.e("96804"),n.e("28850"),n.e("95998"),n.e("10943"),n.e("68530"),n.e("42234"),n.e("44057"),n.e("87317"),n.e("11617"),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("40204"),n.e("77467"),n.e("47057"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("49013"),n.e("51892"),n.e("20965"),n.e("41838"),n.e("39894"),n.e("59373"),n.e("46045"),n.e("755"),n.e("33448"),n.e("42324"),n.e("77602"),n.e("69178"),n.e("15275"),n.e("16054"),n.e("31335"),n.e("96480"),n.e("73611"),n.e("21883"),n.e("50068"),n.e("74821"),n.e("81398"),n.e("53275"),n.e("15057"),n.e("26792"),n.e("25344"),n.e("43710"),n.e("4374"),n.e("84114"),n.e("80469"),n.e("22094"),n.e("1485"),n.e("32429"),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("36847"),n.e("97934"),n.e("14842"),n.e("71138")]).then(n.bind(n,140539)),webpackId:140539,name:"PopoutWindowChannelCall"}),RT=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("758"),n.e("4981"),n.e("25907"),n.e("4592"),n.e("17094"),n.e("60060"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("24685"),n.e("74748"),n.e("85386"),n.e("23924"),n.e("71470"),n.e("68201"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("93103"),n.e("21921"),n.e("9233"),n.e("98765"),n.e("28083"),n.e("78453"),n.e("91013"),n.e("44571"),n.e("30788"),n.e("25246"),n.e("23995"),n.e("57355"),n.e("74610"),n.e("29260"),n.e("40204"),n.e("77467"),n.e("49013"),n.e("20965"),n.e("755"),n.e("33448"),n.e("42324"),n.e("31335"),n.e("96480"),n.e("21883"),n.e("84114"),n.e("32429"),n.e("29624"),n.e("15980"),n.e("36133")]).then(n.bind(n,418838)),webpackId:418838,name:"PopoutWindowCallTile"}),RS=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("54747"),n.e("60060"),n.e("88826"),n.e("28510"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("17094"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("90324"),n.e("27107"),n.e("27811"),n.e("8946"),n.e("4981"),n.e("24685"),n.e("74748"),n.e("1147"),n.e("22173"),n.e("9546"),n.e("82397"),n.e("67683"),n.e("23924"),n.e("71470"),n.e("19402"),n.e("13111"),n.e("68201"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("76418"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("98965"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),n.e("20590"),n.e("35313"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("35321"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("50033"),n.e("87478"),n.e("3998"),n.e("792"),n.e("92822"),n.e("5557"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("60773"),n.e("61156"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("9291"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("19454"),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("60358"),n.e("87436"),n.e("75133"),n.e("1243"),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("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("40204"),n.e("77467"),n.e("47057"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("49013"),n.e("51892"),n.e("20965"),n.e("41838"),n.e("39894"),n.e("59373"),n.e("46045"),n.e("755"),n.e("33448"),n.e("42324"),n.e("15275"),n.e("16054"),n.e("31335"),n.e("96480"),n.e("56373"),n.e("20577"),n.e("21883"),n.e("50068"),n.e("74821"),n.e("90274"),n.e("26792"),n.e("25344"),n.e("64287"),n.e("43710"),n.e("4374"),n.e("84114"),n.e("22094"),n.e("1485"),n.e("32429"),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("36847"),n.e("78827"),n.e("28732"),n.e("36308")]).then(n.bind(n,911315)),webpackId:911315,name:"PopoutWindowStageChannelCall"}),RN=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("54747"),n.e("82397"),n.e("27107"),n.e("67683"),n.e("17094"),n.e("25907"),n.e("99961"),n.e("758"),n.e("4981"),n.e("4592"),n.e("60060"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("24685"),n.e("74748"),n.e("1147"),n.e("30708"),n.e("88826"),n.e("28510"),n.e("31688"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("25610"),n.e("6720"),n.e("7017"),n.e("47620"),n.e("90324"),n.e("27811"),n.e("8946"),n.e("22173"),n.e("9546"),n.e("5677"),n.e("11491"),n.e("64112"),n.e("67921"),n.e("23924"),n.e("71470"),n.e("19402"),n.e("13111"),n.e("68201"),n.e("85755"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("76602"),n.e("28229"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("76418"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("98965"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),n.e("20590"),n.e("35313"),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("78453"),n.e("86672"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("35321"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("50033"),n.e("87478"),n.e("3998"),n.e("792"),n.e("92822"),n.e("5557"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("60773"),n.e("61156"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("9291"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("19454"),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("60358"),n.e("87436"),n.e("75133"),n.e("1243"),n.e("75859"),n.e("96804"),n.e("28850"),n.e("95998"),n.e("10943"),n.e("68530"),n.e("42234"),n.e("44057"),n.e("87317"),n.e("11617"),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("40204"),n.e("77467"),n.e("47057"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("49013"),n.e("51892"),n.e("20965"),n.e("41838"),n.e("39894"),n.e("59373"),n.e("46045"),n.e("755"),n.e("33448"),n.e("42324"),n.e("77602"),n.e("69178"),n.e("15275"),n.e("16054"),n.e("31335"),n.e("96480"),n.e("73611"),n.e("21883"),n.e("50068"),n.e("74821"),n.e("81398"),n.e("53275"),n.e("15057"),n.e("26792"),n.e("25344"),n.e("43710"),n.e("4374"),n.e("84114"),n.e("80469"),n.e("22094"),n.e("1485"),n.e("32429"),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("36847"),n.e("97934"),n.e("14842"),n.e("71138")]).then(n.bind(n,767675)),webpackId:767675,name:"PopoutWindowRTCDebug"}),Ry=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("83004"),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 RC extends nK.A{_observer=null;_initialize(){e$.h.subscribe("CHANNEL_CALL_POPOUT_WINDOW_OPEN",this.handleOpenChannelCallPopout),e$.h.subscribe("CALL_TILE_POPOUT_WINDOW_OPEN",this.handleOpenCallTilePopout),e$.h.subscribe("RTC_DEBUG_POPOUT_WINDOW_OPEN",this.handleOpenRTCDebugPopout),e$.h.subscribe("ACTIVITY_POPOUT_WINDOW_OPEN",this.handleOpenActivityPopout),this.initializeStyleSheetObserver()}_terminate(){e$.h.unsubscribe("CHANNEL_CALL_POPOUT_WINDOW_OPEN",this.handleOpenChannelCallPopout),e$.h.unsubscribe("CALL_TILE_POPOUT_WINDOW_OPEN",this.handleOpenCallTilePopout),e$.h.unsubscribe("RTC_DEBUG_POPOUT_WINDOW_OPEN",this.handleOpenRTCDebugPopout),e$.h.unsubscribe("ACTIVITY_POPOUT_WINDOW_OPEN",this.handleOpenActivityPopout),this.terminateStyleSheetObserver()}handleOpenChannelCallPopout(e){let{channel:t}=e;RA.open(eL.MLl.CHANNEL_CALL_POPOUT,e=>t.isGuildStageVoice()?(0,k.jsx)(RS,{windowKey:e,channelId:t.id}):(0,k.jsx)(RI,{windowKey:e,channelId:t.id}),{defaultWidth:854,defaultHeight:480})}handleOpenCallTilePopout=e=>{let{channelId:t,participantId:n}=e,i=(0,Rg.A)(t,n);RA.open(i,e=>(0,k.jsx)(RT,{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;RA.addStylesheet(t,n)}}}),this._observer.observe(document.head,{childList:!0})}terminateStyleSheetObserver(){null!=this._observer&&(this._observer.disconnect(),this._observer=null)}handleOpenRTCDebugPopout(){RA.open(eL.MLl.RTC_DEBUG_POPOUT,e=>(0,k.jsx)(RN,{windowKey:e}),{defaultWidth:854,defaultHeight:480})}handleOpenActivityPopout(){RA.open(eL.MLl.ACTIVITY_POPOUT,e=>(0,k.jsx)(Ry,{windowKey:e}),{defaultWidth:854,defaultHeight:480})}}let Rv=new RC;class RO extends nK.A{_initialize(){io.A.addChangeListener(this.handlePopoutWindowChange),e$.h.subscribe("WINDOW_FOCUS",this.handleMainWindowFocus)}_terminate(){io.A.removeChangeListener(this.handlePopoutWindowChange),e$.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);cc.A.inject.RequestAnimationFrame(t),cc.A.inject.CancelAnimationFrame(n),TW.Globals.frameLoop?.setRAF(t,n)}}let RR=new RO;var Rb=n(835095),RD=n(354670),RL=n(374200),Rw=n(852218),RM=n(231265),RP=n(40899);let Rx="PremiumServerDriveAnnouncementModal";class RU extends nK.A{_initialize(){e$.h.subscribe("PREMIUM_MARKETING_DATA_READY",this.mayShowAnnouncementModal),e$.h.subscribe("PREMIUM_MARKETING_PREVIEW",this.handlePreview),e$.h.subscribe("ACTIVE_PROMOTIONS_FETCH_SUCCESS",this.handleActivePromotionsFetchSuccess),e$.h.subscribe("BILLING_USER_OFFER_FETCH_SUCCESS",this.handleUserOfferFetchSuccess),e$.h.subscribe("ENTITLEMENT_CREATE",this.handleEntitlementCreate)}_terminate(){e$.h.unsubscribe("PREMIUM_MARKETING_DATA_READY",this.mayShowAnnouncementModal),e$.h.unsubscribe("PREMIUM_MARKETING_PREVIEW",this.handlePreview),e$.h.unsubscribe("ACTIVE_PROMOTIONS_FETCH_SUCCESS",this.handleActivePromotionsFetchSuccess),e$.h.unsubscribe("BILLING_USER_OFFER_FETCH_SUCCESS",this.handleUserOfferFetchSuccess),e$.h.unsubscribe("ENTITLEMENT_CREATE",this.handleEntitlementCreate)}maybeShowAnnouncementModalFromPromotions=e=>{for(let t of e)if(null!=t.marketingComponents){if(null!=t.trialId){let e=RD.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===Ic.C.ANNOUNCEMENT_MODAL)return void this.maybeOpenServerDriveAnnouncementModal(e.id,e.promotion_id,e.properties,!1)}(0,IS.al)(),(0,IS.QM)()};handleActivePromotionsFetchSuccess=e=>{let{promotions:t}=e;this.maybeShowAnnouncementModalFromPromotions(t.map(e=>Rb.A.createFromServer(e)))};handleUserOfferFetchSuccess=e=>{let{userTrialOffer:t}=e;null!=t&&this.maybeShowAnnouncementModalFromPromotions(Object.values(RL.A.promotionsByType[Rw.pt.MARKETING_MOMENT]))};handleEntitlementCreate=e=>{let{entitlement:t}=e;va.P.isDisallowPopupsSet()||t.source_type!==eL.GD.REVERSE_TRIAL||(0,IS.al)()};maybeOpenServerDriveAnnouncementModal=async(e,t,i,r)=>{if((0,nC.hasModalOpen)(Rx))return!1;let s=(0,RP.H)({promotionId:t,content:i,isPreview:r});if(null!=s)return(!1!==r||s?.contentIdentifier!=="summer_bogo_content"||!!await (0,RM.C)())&&((0,nC.openModalLazy)(async()=>{let{default:i}=await Promise.resolve().then(n.bind(n,40899));return n=>(0,k.jsx)(i,{renderModalProps:n,componentId:e,promotionId:t,properties:s})},{modalKey:Rx}),!0)};handlePreview=e=>{let{data:t}=e;this.maybeOpenServerDriveAnnouncementModal(t.id,t.promotion_id,t.properties,!0)};mayShowAnnouncementModal=async()=>{if(await (0,IT.hb)(),va.P.isDisallowPopupsSet())return;let e=tT.default.getCurrentUser();if(null!=e&&!e.verified)return}}let Rk=new RU;var RG=n(499454),RF=n(17159),RV=n(688796),RB=n(392107),RH=n(207803),Rj=n(84540),RY=n(919395),RW=n(339984);class RK extends nK.A{_initialize(){e$.h.subscribe("PROFILE_CUSTOMIZATION_OPEN_PREVIEW_MODAL",this.maybeOpenProfilePreviewModal)}_terminate(){e$.h.unsubscribe("PROFILE_CUSTOMIZATION_OPEN_PREVIEW_MODAL",this.maybeOpenProfilePreviewModal)}maybeOpenProfilePreviewModal(e){return e.uploadType===RW.HL.AVATAR?(e=>{let{image:t,file:n,guildId:i,isTryItOut:r}=e;if(r)return void(0,RH.e$)(t);let s=tT.default.getCurrentUser();if(A9.Ay.canUseAnimatedAvatar(s)||"image/gif"!==n.type){(0,Rj.p)({guildId:i,avatar:t}),(0,RY.WU)("set");return}null!=s&&(0,RV.G)({uploadType:RW.HL.AVATAR})})(e):e.uploadType===RW.HL.BANNER?(e=>{let{image:t,guildId:n,isTryItOut:i}=e,r=t.imageUri,s=t.assetOrigin!==RB.E.ARCHIVED_ASSET?t.originalMd5??null:null;if(i)return void(0,RH.xe)(r);let a=tT.default.getCurrentUser(),o=A9.Ay.canUsePremiumProfileCustomization(a);A9.Ay.canUsePremiumProfileCustomization(a)?(0,Rj.p)({guildId:n,banner:r,bannerOriginalMd5:s}):null==a||o||(0,RV.G)({uploadType:RW.HL.BANNER})})(e):void 0}}let Rz=new RK;var R$=n(453314),Rq=n(302495),RZ=n(901123);let RX=new Set([RZ.BV.APP_WITH_INVITE_AND_GUILD_ONBOARDING(":inviteCode"),RZ.BV.APP_WITH_GIFT_CODE(":giftCode"),RZ.BV.APP,RZ.BV.PICK_GUILD_SETTINGS(":section?",":subsection?"),RZ.BV.SETTINGS(":section",":subsection?"),RZ.BV.USER_GUILD_NOTIFICATION_SETTINGS(Rq.p.guildId()),RZ.BV.APPLICATION_LIBRARY_INVENTORY,RZ.BV.WELCOME(Rq.p.guildId({optional:!0}),Rq.p.channelId({optional:!0})),RZ.BV.GUILD_EVENT_DETAILS(Rq.p.guildId({optional:!0}),":guildEventId"),RZ.BV.GUILD_SETTINGS(Rq.p.guildId(),":section?",":subsection?"),RZ.BV.CHANNEL_THREAD_VIEW(Rq.p.guildId(),Rq.p.channelId(),":threadId",":messageId?"),RZ.BV.CHANNEL(Rq.p.guildId(),Rq.p.channelId({optional:!0}),":messageId?"),RZ.BV.ACTIVITY,RZ.BV.ACTIVITIES,RZ.BV.ACTIVITIES_HAPPENING_NOW,RZ.BV.ACTIVITY_DETAILS(":applicationId"),RZ.BV.APPLICATION_LIBRARY,RZ.BV.APPLICATION_STORE,RZ.BV.MESSAGE_REQUESTS,RZ.BV.COLLECTIBLES_SHOP,RZ.BV.COLLECTIBLES_SHOP_COLLECTION_DETAIL(":collectionId"),RZ.BV.COLLECTIBLES_SHOP_PRODUCT_DETAIL(":skuId"),RZ.BV.COLLECTIBLES_SHOP_LAYOUT(":layoutId"),RZ.BV.GUILD_DISCOVERY,RZ.BV.QUEST_HOME_DEPRECATED,RZ.BV.QUEST_HOME,RZ.BV.ICYMI,RZ.BV.GLOBAL_DISCOVERY,RZ.BV.GUILD_MEMBER_VERIFICATION(Rq.p.guildId()),RZ.BV.GUILD_MEMBER_VERIFICATION_FOR_HUB(Rq.p.guildId(),":inviteCode?"),RZ.BV.GUILD_BOOSTING_MARKETING(Rq.p.guildId()),RZ.BV.GUILD_FEATURE(":feature",Rq.p.guildId()),RZ.BV.FEATURE(":feature"),RZ.BV.FAMILY_CENTER,RZ.BV.APPLICATION_DIRECTORY,RZ.BV.GAME_SHOP(Rq.p.guildId(),":shopSkuId?",":shopSlug?")]);var RQ=n(655087),RJ=((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 R0(){var e=RQ.A.getRawThermalState();if(null==e)return -1;if((0,ek.isIOS)())return e;if(!(0,ek.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 R1=n(792620),R2=n(290863),R3=n(90924),R6=n(639621);function R4(){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,lA.tJ)(t,n,i);return{...(0,R6.A)(i),nickname:r??void 0}}).filter(ix.Vq)}}let R5={[yD.sm.ANY]:[yD.VH]};var R7=n(360469),R8=n(179771),R9=n(818348);let be={[R9.e$.INITIATE_IMAGE_UPLOAD]:{request:void 0,response:e=>({image_url:e.string().required()})},[R9.e$.OPEN_SHARE_MOMENT_DIALOG]:{response:void 0,request:e=>({mediaUrl:e.string().required().max(1024)})},[R9.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(R8.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()})},[R9.e$.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS]:{request:void 0,response:e=>({participants:e.array().items(bn(e).keys({nickname:e.string().description("Server nickname. Not unique.")}).required()).required()})},[R9.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(bi(e)),pid:e.number()}),response:e=>({success:e.boolean().required()})},[R9.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()})},[R9.e$.GET_RELATIONSHIPS]:{request:void 0,response:e=>({relationships:e.array().required().items(e.object({type:e.number().required(),user:bn(e).required(),presence:e.object({status:e.string().required(),activity:bt(e).allow(null)})}))})},[R9.e$.INVITE_USER_EMBEDDED]:{request:e=>({user_id:e.string().required(),content:e.string().min(0).max(1024)}),response:void 0},[R9.e$.GET_USER]:{request:e=>({id:e.string().max(64).required()}),response:e=>bn(e).allow(null)},[R9.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()})},[R9.e$.QUEST_START_TIMER]:{request:e=>({quest_id:e.string().required()}),response:e=>({success:e.boolean().required()})},[R9.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()})},[R9.e$.REQUEST_PROXY_TICKET_REFRESH]:{request:void 0,response:e=>({ticket:e.string().required()})}},bt=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()}),bn=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"),bi=e=>e.object({type:e.number().valid(1).required(),components:e.array().max(5).items(br(e))}),br=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 bs(e,t){let{scope:n,handler:i}=t,r={scope:n,handler:i},s=be[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 ba=n(20015),bo=n(636401);function bl(){let e=iI.Ay.getConnectedActivityChannelId();return ib.A.getChannel(e)}let bu={[eL.e$_.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS]:bs(eL.e$_.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS,{scope:R5,handler(e){let{socket:t}=e;return(0,R3.lG)(t.transport),R4()}}),[eL.e$_.REQUEST_PROXY_TICKET_REFRESH]:bs(eL.e$_.REQUEST_PROXY_TICKET_REFRESH,{scope:R5,async handler(e){let{socket:t}=e;(0,R3.lG)(t.transport);let n=(0,R3.D2)(t.application);if(!(0,ba.n)(t.application,eL.gfo.EMBEDDED))throw new bo.A({errorCode:eL.Lw6.UNAUTHORIZED_FOR_APPLICATION},"This application cannot access this API");let i=bl();try{return{ticket:await (0,ao.D2)(n,i?.id)}}catch(e){throw new bo.A({errorCode:eL.Lw6.UNKNOWN_ERROR},"Failed to create proxy ticket")}}})};var bc=n(957292),bd=n(977445);function b_(e){return e.object().unknown(!0)}let bf={[eL.e$_.SEND_ANALYTICS_EVENT]:{validation:e=>b_(e).required().keys({event_name:e.string().required(),event_properties:b_(e).required()}),handler(e){let{socket:t,args:{event_name:n,event_properties:i}}=e;(0,R3.lG)(t.transport),(0,R3.D2)(t.application);let r=t.application.id,s=bl(),a=s?.getGuildId(),o=rD.A.getApplication(r);if(!(0,ba.n)(o,eL.gfo.EMBEDDED_FIRST_PARTY))throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"This application cannot access this API");let l=(0,bc.D)(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:yD.hj,handler(e){let{socket:t}=e,n=t.application.id;if(null==n)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return ev.Bo.post({url:eL.Rsh.APPLICATION_TICKET(n),body:{test_mode:(0,bd.F)(n)},retries:3,oldFormErrors:!0,rejectWithError:!1}).then(e=>{let{body:t}=e;return t})}}},bh={[eL.e$_.SET_CERTIFIED_DEVICES]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj]},validation:e=>b_(e).required().keys({devices:e.array().items(b_(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:b_(e).required().keys({name:e.string().min(1),url:e.string().min(1)}),model:b_(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 bo.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})),e$.h.dispatch({type:"CERTIFIED_DEVICES_SET",applicationId:t,devices:n})}}};var bp=n(871237);let bE={[eL.e$_.GET_CHANNEL]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.GUILDS,R8.F.GUILDS_CHANNELS_READ]},handler(e){let{args:{channel_id:t},socket:n}=e,i=ib.A.getChannel(t);if(null==i)throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${t}`);if(i.isPrivate()){let e=n.authorization.scopes;if(!e.includes(R8.F.RPC)&&!e.includes(R8.F.DM_CHANNELS_READ))throw new bo.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},"Invalid scope")}return(0,R3.SN)(i,(0,R3.B_)(i,n.application.id,n.authorization.scopes))}},[eL.e$_.GET_CHANNELS]:{scope:R8.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 bo.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=>lJ.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:{[yD.sm.ANY]:[R8.F.GUILDS_MEMBERS_READ,R8.F.GUILDS_CHANNELS_READ]},handler(e){let t=bl();if(null==t)throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Invalid channel");return{permissions:lJ.A.computePermissions(t)}}},[eL.e$_.SELECT_VOICE_CHANNEL]:{scope:R8.F.RPC,validation:e=>b_(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=nZ.A.getVoiceChannelId();if(null!=o&&o!==i&&!1===s)throw new bo.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 bo.A({errorCode:eL.Lw6.SELECT_CHANNEL_TIMED_OUT},"Request to select voice channel timed out.")}).then(e=>{if(null==e)throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${i}`);if(!(0,iO.gV)(e.type))throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Channel is not a voice channel");return Promise.all([Promise.resolve(e),(0,R3.SN)(e,(0,R3.B_)(e,n.application.id,n.authorization.scopes))])}).then(e=>{let[t,n]=e;if(n.guild_id){if((0,bp.Pd)(t,iM.A,tx.A))throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Channel is full");if(!lJ.A.can(eL.xBc.CONNECT,t))throw new bo.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},"Connect permission required to join channel")}return nD.default.selectVoiceChannel(t.id),a&&(0,uF.bG)(eL.BVt.CHANNEL(t.guild_id,t.id)),n})}},[eL.e$_.GET_SELECTED_VOICE_CHANNEL]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_READ]},handler(e){let{socket:t}=e,n=nZ.A.getVoiceChannelId(),i=null!=n?ib.A.getChannel(n):null;return null!=i?(0,R3.SN)(i,(0,R3.B_)(i,t.application.id,t.authorization.scopes)):null}},[eL.e$_.SELECT_TEXT_CHANNEL]:{scope:R8.F.RPC,validation:e=>b_(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 bo.A({errorCode:eL.Lw6.SELECT_CHANNEL_TIMED_OUT},"Request to select text channel timed out.")}).then(e=>{if(null==e)throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${i}`);if(!(0,iO.pQ)(e.type))throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Channel is not a text channel");return Promise.all([Promise.resolve(e),(0,R3.SN)(e,(0,R3.B_)(e,n.application.id,n.authorization.scopes))])}).then(e=>{let[t,n]=e;if(n.guild_id&&!lJ.A.can(eL.xBc.VIEW_CHANNEL,t))throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},"No permission to see channel");return n.guild_id?(0,uF.bG)(eL.BVt.CHANNEL(n.guild_id,t.id)):nD.default.selectPrivateChannel(t.id),n}):((0,uF.pX)(eL.BVt.ME),null)}},[eL.e$_.CREATE_CHANNEL_INVITE]:{scope:R8.F.RPC,handler(e){let{args:{channel_id:t,...n}}=e;return O_.Ay.createInvite(t,n,"RPC").catch(()=>{throw new bo.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},`Unable to generate an invite for ${t}. Does this user have permissions?`)})}}},bm={[eL.e$_.SET_CONFIG]:{scope:yD.VH,validation:e=>b_(e).required().keys({use_interactive_pip:e.boolean()}),handler(e){let{socket:t,args:{use_interactive_pip:n}}=e;if(t.transport!==yD.z4.POST_MESSAGE)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},`command not available from "${t.transport} transport`);if(null==t.application.id)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"invalid application");return e$.h.dispatch({type:"EMBEDDED_ACTIVITY_SET_CONFIG",applicationId:t.application.id,config:{useInteractivePIP:n}}),Promise.resolve({use_interactive_pip:n})}}},bg={[eL.e$_.GET_GUILD]:{scope:R8.F.RPC,validation:e=>b_(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 bo.A({errorCode:eL.Lw6.GET_GUILD_TIMED_OUT},"Request to get guild timed out.")}).then(e=>{if(null==e)throw new bo.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:R8.F.RPC,handler:()=>({guilds:tx.A.getGuildsArray().map(e=>({id:e.id,name:e.name,icon_url:(0,nq.Iv)(e,128)??null}))})}};var bA=n(515718);let bI={[eL.e$_.GET_IMAGE]:{scope:yD.hj,validation:e=>b_(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=sk.Ay.getUserAvatarURL(e,!1,s,r);let n=window.GLOBAL_ENV.CDN_HOST;null!=n&&-1!==t.indexOf(n)&&(t+="&_=")}else throw new bo.A({errorCode:eL.Lw6.INVALID_USER},`Invalid user id: ${i}`)}if(null==t)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No valid type.");return fetch(t).then(e=>e.blob()).then(e=>(0,bA.We)(e)).then(e=>({data_url:e}))}}};var bT=n(119966),bS=n(478437),bN=n(344351),by=n(855687);function bC(){let e=iS.A.getConnectedFrame();if(null!=e)return{frame:e,channel:void 0,guild:void 0};let t=bl();if(null==t)throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},"Invalid channel");let n=tx.A.getGuild(t.getGuildId());if(null==n)throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid guild ${t.getGuildId()}`);if(!(0,by.K)(lJ.A,n,t))throw new bo.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},`No invite permissions for ${t.id}`);return{frame:void 0,channel:t,guild:n}}let bv={[R9.e$.INVITE_USER_EMBEDDED]:bs(R9.e$.INVITE_USER_EMBEDDED,{scope:{[yD.sm.ANY]:[R8.F.DM_CHANNELS_MESSAGES_WRITE,R8.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 bT.G({errorCode:R9.Lw.INVALID_COMMAND},"No application.");let a=iI.Ay.getConnectedActivityLocation();if(null==a)throw new bT.G({errorCode:R9.Lw.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure an activity was set using setActivity.");switch(a.kind){case bN.T.GUILD_CHANNEL:case bN.T.GUILD_CHANNEL_MESSAGE:t=bC().channel;break;case bN.T.PRIVATE_CHANNEL:case bN.T.PRIVATE_CHANNEL_MESSAGE:let o=ib.A.getChannel(a.channel_id);if(null==o)throw new bT.G({errorCode:R9.Lw.INVALID_CHANNEL},"Invalid channel");if(o.type===bS.r.DM)throw new bT.G({errorCode:R9.Lw.INVALID_CHANNEL},"Cannot send invite to a DM");t=o;break;default:throw new bT.G({errorCode:R9.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 bT.G({errorCode:R9.Lw.UNKNOWN_ERROR},"Failed to invite user")}}})};var bO=n(646865),bR=n(231723),bb=n(851907);async function bD(e,t){if(void 0===e)return!1;try{let{body:n}=await ev.Bo.get({url:eL.Rsh.ACTIVITIES_TRUSTED_LINKS(e),rejectWithError:!1,query:{url:t},timeout:500});return!!n.trusted}catch{return!1}}var bL=n(353835),bw=n(76843);let bM=new Set([R7.AM,R7.eK]),bP={[eL.e$_.OPEN_EXTERNAL_LINK]:{scope:{[yD.sm.ANY]:[yD.VH,yD.W_]},validation:e=>b_(e).required().keys({url:e.string().required()}),async handler(e){let{socket:t,args:{url:n}}=e;(0,R3.lG)(t.transport);let i=iI.Ay.getCurrentEmbeddedActivity();try{let e=new URL(n).toString();if(ek.isPlatformEmbedded){let e=(0,bO.f)()?eL.MLl.ACTIVITY_POPOUT:null;bL.A.focus(e,!0)}let r=rD.A.getApplication(t.application?.id),s=(0,iT.H)(i?.location);if(await bD(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,bw.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,bb.Ay)({application:t,channelId:n})?bR.KX:bR.SY}({application:r,channelId:s})))}catch(e){throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},`Invalid URL: ${n}`)}}},[eL.e$_.NAVIGATE_TO_CONNECTIONS]:{validation:e=>b_(e),scope:{[yD.sm.ANY]:[yD.VH]},handler(e){let{socket:t}=e;(0,R3.lG)(t.transport);let i=(0,R3.D2)(t.application);if(!bM.has(i))throw new bo.A({errorCode:eL.Lw6.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application");{let{openUserSettings:e}=n(858897);e(i5.X.CONNECTIONS_PANEL)}}},[eL.e$_.SHARE_LINK]:bs(eL.e$_.SHARE_LINK,{scope:{[yD.sm.ANY]:[yD.VH]},handler(e){let{socket:t,args:{custom_id:i,message:r,link_id:s}}=e;(0,R3.lG)(t.transport);let a=(0,R3.D2)(t.application);if(null==a)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");if(!(0,ba.n)(t.application,eL.gfo.EMBEDDED))throw new bo.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,bb.LU)({applicationId:o.id})?bR.KX:bR.SY,u=!1;function c(e){a(e,u)}function d(){u=!0}(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("24092"),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,k.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})}})})}})},bx=new tb.A(eL.meB),bU={[eL.e$_.CAPTURE_LOG]:{validation:e=>b_(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,R3.lG)(t.transport);let r=t.application.id,s=`${r} - ${i}`;switch(n){case"log":bx.log(s);break;case"warn":bx.warn(s);break;case"debug":bx.verbose(s);break;case"info":bx.info(s);break;case"error":bx.error(s)}}}},bk={[eL.e$_.GET_NETWORKING_CONFIG]:{scope:yD.hj,handler:()=>Promise.all([ev.Bo.get({url:location.protocol+window.GLOBAL_ENV.NETWORKING_ENDPOINT,retries:3,rejectWithError:!1}).then(e=>{let{body:{address:t}}=e;return t}),ev.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:yD.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:yD.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:yD.hj,handler:()=>ev.Bo.post({url:eL.Rsh.NETWORKING_TOKEN,retries:1,oldFormErrors:!0,rejectWithError:!1}).then(e=>e.body)}},bG={[R9.e$.GET_PLATFORM_BEHAVIORS]:{handler:()=>({iosKeyboardResizesView:!0})}};var bF=n(77468),bV=n(773952);let bB=new Set([R7.AM,R7.eK]),bH={[R9.e$.GET_PROVIDER_ACCESS_TOKEN]:{scope:{[yD.sm.ANY]:[yD.VH]},validation:e=>b_(e).required().keys({provider:e.string().required(),connection_redirect:e.string()}),handler:e=>{let{socket:t,args:{provider:n,connection_redirect:i}}=e;(0,R3.lG)(t.transport);let r=(0,R3.D2)(t.application),s=oZ.A.get(n);if(null==s)throw new bo.A({errorCode:R9.Lw.INVALID_PROVIDER},`Platform not found for provider "${n}"`);if(n===eL.fg2.AMAZON_MUSIC){if(!bB.has(r))throw new bo.A({errorCode:R9.Lw.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application")}else throw new bo.A({errorCode:R9.Lw.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application");return new Promise(async(e,t)=>{let r=l$.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 bo.A({errorCode:R9.Lw.OAUTH2_ERROR},`OAuth2 setup for "${n}" failed`)),l()}function l(){e$.h.unsubscribe("USER_CONNECTIONS_UPDATE",a),aI._.unsubscribe(eL.jej.CONNECTIONS_CALLBACK_ERROR,o)}e$.h.subscribe("USER_CONNECTIONS_UPDATE",a),aI._.subscribe(eL.jej.CONNECTIONS_CALLBACK_ERROR,o),(0,bV.A)({platformType:s.type,location:eL.ThZ.ACTIVITY_RPC,successRedirect:i})}else try{let t=await bF.A.refreshAccessToken(s.type,r.id);if(null==t)throw new bo.A({errorCode:R9.Lw.OAUTH2_ERROR},"Refreshing access token did not return a new access token");e({access_token:t})}catch(e){t(e)}})}},[R9.e$.MAYBE_GET_PROVIDER_ACCESS_TOKEN]:{scope:{[yD.sm.ANY]:[yD.VH]},validation:e=>b_(e).required().keys({provider:e.string().required()}),handler:async e=>{let{socket:t,args:{provider:n}}=e;(0,R3.lG)(t.transport);let i=(0,R3.D2)(t.application),r=oZ.A.get(n);if(null==r)throw new bo.A({errorCode:R9.Lw.INVALID_PROVIDER},`Platform not found for provider "${n}"`);if(n===eL.fg2.AMAZON_MUSIC){if(!bB.has(i))throw new bo.A({errorCode:R9.Lw.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application")}else throw new bo.A({errorCode:R9.Lw.UNAUTHORIZED_FOR_APPLICATION},"Command not available for this application");let s=l$.A.getAccount(null,n);if(null==s)throw new bo.A({errorCode:R9.Lw.NO_CONNECTION_FOUND},"No connection found");let a=await bF.A.refreshAccessToken(r.type,s.id);if(null==a)throw new bo.A({errorCode:R9.Lw.OAUTH2_ERROR},"Refreshing access token did not return a new access token");return{access_token:a}}}},bj={[eL.e$_.GET_QUEST_ENROLLMENT_STATUS]:{scope:R8.F.IDENTIFY,handler(e){let{socket:t,args:{quest_id:n}}=e;(0,R3.lG)(t.transport);let i=(0,R3.D2)(t.application),r=oN.A.getQuest(n),s=(0,R1.TP)(r);if(null==r||null==s||s!==i)throw new bo.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:R8.F.IDENTIFY,handler(e){let{socket:t,args:{quest_id:n}}=e;(0,R3.lG)(t.transport);let i=(0,R3.D2)(t.application),r=oN.A.getQuest(n),s=(0,R1.vS)(r);if(null==r||null==s||s!==i)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},`Quest not found: ${n}`);if(r.userStatus?.enrolledAt==null)throw new bo.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}),e$.h.dispatch({type:"QUEST_APPLICATION_START_TIMER",questId:n,applicationId:i}),{success:!0}}},[eL.e$_.GET_QUEST]:{scope:R8.F.IDENTIFY,handler(e){let{socket:t}=e;(0,R3.lG)(t.transport);let n=(0,R3.D2)(t.application),i=(0,oR.jm)(oN.A.quests,n,!0);if(0===i.length)throw new bo.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]}}},bY={[eL.e$_.GET_RELATIONSHIPS]:bs(eL.e$_.GET_RELATIONSHIPS,{scope:{[yD.sm.ANY]:[R8.F.RELATIONSHIPS_READ]},handler(e){if(Cb.zy(Cb.iu(e.socket.application.flags??0),Cb.iu(eL.gfo.DISABLE_RELATIONSHIPS_ACCESS)))throw new bo.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,R3.Gc)(i,r);t.push((0,R3.LP)(s,e.socket.application.id))}return{relationships:t}}})};var bW=n(599026),bK=n(182892),bz=n(375802);let b$=["1402418171662569542"],bq={[eL.e$_.SET_ACTIVITY]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_ACTIVITIES_WRITE,yD.hj]},validation:e=>b_(e).required().keys({pid:e.number().min(0),activity:b_(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:b_(e).keys({start:e.number().min(1),end:e.number().min(1)}),assets:b_(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:b_(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:b_(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(b_(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(bW.A.NAME,bW.A.STATE,bW.A.DETAILS)}).allow(null)}),handler(e){let t,{socket:n,args:{pid:i,activity:r},isSocketConnected:s}=e;if(![yD.z4.IPC,yD.z4.WEBSOCKET,yD.z4.POST_MESSAGE].includes(n.transport))throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},`command not available from "${n.transport}" transport`);if(null==i&&yD.z4.IPC===n.transport)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"nonzero pid required");if(null==r)return e$.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===yD.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,bK.E)(r,c,l,null!=u&&(0,bz.x)(u)&&l,d);_>0&&(r.flags=_);let{assets:f,party:h,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!=h&&im().intersection(e,[h.id]).length>0&&!b$.includes(n.application.id))throw new bo.A({errorCode:eL.Lw6.INVALID_ACTIVITY_SECRET},"secrets cannot match the party id");if(im().uniq(e).length<e.length)throw new bo.A({errorCode:eL.Lw6.INVALID_ACTIVITY_SECRET},"secrets must be unique");if(null!=m)throw new bo.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==f)t=Promise.resolve([]);else{if(null==n.application||null==n.application.id)throw Error();t=(0,oV.RG)(n.application.id,[f.large_image,f.small_image,f.invite_cover_image])}return t.then(e=>{let[t,a,o]=e;if(null!=f&&(null!=t?f.large_image=t:delete f.large_image,null!=a?f.small_image=a:delete f.small_image,null!=o?f.invite_cover_image=o:delete f.invite_cover_image),!s())return;e$.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!=f&&(c.has_images=!!(f.large_image||f.small_image||f.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})}}},bZ={[R9.e$.SET_ORIENTATION_LOCK_STATE]:{validation:e=>b_(e).required().keys({lock_state:e.number().valid(R7.N7.UNLOCKED,R7.N7.PORTRAIT,R7.N7.LANDSCAPE).required(),picture_in_picture_lock_state:e.number().valid(R7.N7.UNLOCKED,R7.N7.PORTRAIT,R7.N7.LANDSCAPE).allow(null).optional(),grid_lock_state:e.number().valid(R7.N7.UNLOCKED,R7.N7.PORTRAIT,R7.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)e$.h.dispatch({type:"FRAME_SET_ORIENTATION_LOCK_STATE",applicationId:s,lockState:n,pictureInPictureLockState:i}),e$.h.dispatch({type:"EMBEDDED_ACTIVITY_SET_ORIENTATION_LOCK_STATE",applicationId:s,lockState:n,pictureInPictureLockState:i,gridLockState:r});else throw new bo.A({errorCode:R9.Lw.INVALID_COMMAND},"No application.")}}};var bX=n(796774),bQ=n(209932),bJ=n(807348),b0=n(693806);let b1={[R9.e$.GET_SOUNDBOARD_SOUNDS]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj]},async handler(){await (0,bX.E7)();let e=bQ.A.getSounds(),t=[];return e.forEach(e=>e.forEach(e=>t.push((0,bJ.A2)(e)))),t}},[R9.e$.PLAY_SOUNDBOARD_SOUND]:{scope:{[yD.sm.ALL]:[R8.F.RPC,R8.F.RPC_VOICE_WRITE]},validation:e=>b_(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,bX.E7)();let i=tT.default.getCurrentUser(),r=bQ.A.getSound(t,n),s=(0,b0.A)(),a=null!=r&&null!=i&&(0,Nv.Ir)(i,r,s);if(null==s)throw new bo.A({errorCode:R9.Lw.INVALID_CHANNEL},"Invalid Channel.");if(a)if((0,NS.Ay)(s))null!=r&&(0,Nv.Ak)(r,s.id,[ii.A.RPC]);else throw new bo.A({errorCode:R9.Lw.INVALID_PERMISSIONS},"Invalid Permissions.");else throw new bo.A({errorCode:R9.Lw.INVALID_SOUND},"Invalid Sound.")}}};var b2=n(339048),b3=n(830382),b6=n(800342),b4=n(143582);function b5(e){if(yD.z4.IPC!==e&&yD.z4.POST_MESSAGE!==e)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"Invalid transport.")}async function b7(e,t){let n=t.filter(e=>e.type===eL.Puh.SUBSCRIPTION_GROUP),i=await Promise.all(n.map(async t=>await (0,b4.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 b8(e){let{socket:t}=e;b5(t.transport);let n=t.application.id;if(null==n)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");if((0,bd.F)(n)){let e=await b3.O1(n,!1),t=await b7(n,e);return[...e.filter(e=>null!=e.price),...t]}let i=await b6.JI(n);return[...i.filter(e=>e.sku.type!==eL.Puh.SUBSCRIPTION_GROUP).map(e=>e.sku).filter(e=>null!=e.price),...await b7(n,i.map(e=>e.sku))]}function b9(e){let{socket:t}=e;b5(t.transport);let n=t.application.id;if(null==n)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return b2.LM(n)}let De={[eL.e$_.GET_SKUS]:{[yD.sm.ANY]:[yD.VH,yD.hj],handler:b8},[eL.e$_.GET_ENTITLEMENTS]:{[yD.sm.ANY]:[yD.VH,yD.hj],handler:b9},[eL.e$_.GET_SKUS_EMBEDDED]:{[yD.sm.ANY]:[yD.VH,yD.hj],handler:async e=>({skus:await b8(e)})},[eL.e$_.GET_ENTITLEMENTS_EMBEDDED]:{[yD.sm.ANY]:[yD.VH,yD.hj],handler:async e=>({entitlements:await b9(e)})}};var Dt=n(722306);let Dn={[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 bo.A({errorCode:eL.Lw6.INVALID_EVENT},`Invalid event: ${i}`);if(!(0,Dt.A)(n.authorization.scopes,s.scope))throw new bo.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 bo.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!==R7.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=R0();if(e===RJ.UNHANDLED)return null;return{thermal_state:e}}case eL.ZE4.ORIENTATION_UPDATE:return null;case eL.ZE4.ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE:return R4();case eL.ZE4.QUEST_ENROLLMENT_STATUS_UPDATE:{let{quest_id:t}=n;if(!t)return null;let i=oN.A.getQuest(t),r=(0,R1.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 bo.A({errorCode:eL.Lw6.INVALID_EVENT},`Invalid event: ${i}`);return t.removeSubscription(n,i,r),{evt:i}}}},Di={[eL.e$_.USER_SETTINGS_GET_LOCALE]:{scope:R8.F.IDENTIFY,handler:()=>({locale:vj.default.locale})}},Dr={[eL.e$_.GET_USER]:bs(eL.e$_.GET_USER,{scope:{[yD.sm.ANY]:[yD.W_,yD.hj]},handler(e){let{args:{id:t}}=e,n=tT.default.getUser(t);return null==n?null:(0,R6.A)(n)}})},Ds={...bf,...bh,...bE,...bm,...bg,...bI,...bv,...bP,...bU,...bk,...bH,...bY,...bq,...bZ,...De,...Dn,...Dr,...Di,...bG,...b1,...bu,...bj};var Da=n(52133),Do=n(821956);let Dl=e=>b_(e).required().keys({channel_id:e.string().required()});function Du(e){let{args:{channel_id:t},socket:n}=e,i=ib.A.getChannel(t);if(null==i||!(0,R3.B_)(i,n.application.id,n.authorization.scopes))throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${t}`);if((0,nQ.$v)(i))throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid nsfw channel id: ${i.id}`)}let Dc=e=>b_(e).keys({channel_id:e.string().allow(null)});function Dd(e){let{args:{channel_id:t}}=e;if(null!=t&&null==ib.A.getChannel(t))throw new bo.A({errorCode:eL.Lw6.INVALID_CHANNEL},`Invalid channel id: ${t}`)}let D_={[eL.ZE4.GUILD_STATUS]:{scope:R8.F.RPC,validation:e=>b_(e).required().keys({guild_id:e.string().required()}),handler(e){let{args:{guild_id:t}}=e;if(null==tx.A.getGuild(t))throw new bo.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:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_READ]},validation:e=>b_(e).required().keys({channel_id:e.string().required()}),handler(e){let{args:{channel_id:t}}=e;if(null==ib.A.getChannel(t))throw new bo.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,R3.qG)(s,r.id,e))),a}}},[eL.ZE4.VOICE_STATE_DELETE]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_READ]},validation:e=>b_(e).required().keys({channel_id:e.string().required()}),handler(e){let{args:{channel_id:t}}=e;if(null==ib.A.getChannel(t))throw new bo.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,R3.qG)(s,r.id,e))),a}}},[eL.ZE4.VOICE_STATE_UPDATE]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_READ]},validation:e=>b_(e).required().keys({channel_id:e.string().required()}),handler(e){let{args:{channel_id:t}}=e;if(null==ib.A.getChannel(t))throw new bo.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,R3.qG)(s,r.id,e));return im().differenceWith(a,n,im().isEqual).forEach(e=>i(e)),a}}},[eL.ZE4.VOICE_CONNECTION_STATUS]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_READ]},handler:()=>e=>{let{prevState:t,dispatch:n}=e,i={state:(0,R3.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:R8.F.RPC,validation:Dl,handler:Du},[eL.ZE4.MESSAGE_UPDATE]:{scope:R8.F.RPC,validation:Dl,handler:Du},[eL.ZE4.MESSAGE_DELETE]:{scope:R8.F.RPC,validation:Dl,handler:Du},[eL.ZE4.SPEAKING_START]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_READ,yD.hj]},validation:Dc,handler:Dd},[eL.ZE4.SPEAKING_STOP]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_READ,yD.hj]},validation:Dc,handler:Dd},[eL.ZE4.GUILD_CREATE]:{scope:R8.F.RPC,handler(){}},[eL.ZE4.CHANNEL_CREATE]:{scope:R8.F.RPC,handler(){}},[eL.ZE4.GAME_JOIN]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj]},handler(){}},[eL.ZE4.GAME_SPECTATE]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj]},handler(){}},[eL.ZE4.ACTIVITY_JOIN]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.VH,yD.hj]},handler(){}},[eL.ZE4.ACTIVITY_JOIN_REQUEST]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj]},handler(){}},[eL.ZE4.ACTIVITY_SPECTATE]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.VH,yD.hj]},handler(){}},[eL.ZE4.ACTIVITY_INVITE]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.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:R5,handler:()=>e=>{let{prevState:t,dispatch:n}=e,i=R4();return im().isEqual(i,t)||n(i),i}},[eL.ZE4.THERMAL_STATE_UPDATE]:{scope:{[yD.sm.ANY]:[yD.VH]},handler(){}},[eL.ZE4.ORIENTATION_UPDATE]:{scope:{[yD.sm.ANY]:[yD.VH]},handler(){}},[eL.ZE4.VOICE_CHANNEL_SELECT]:{scope:R8.F.RPC,handler(){}},[eL.ZE4.NOTIFICATION_CREATE]:{scope:{[yD.sm.ALL]:[R8.F.RPC,R8.F.RPC_NOTIFICATIONS_READ]},handler(){}},[eL.ZE4.RELATIONSHIP_UPDATE]:{scope:R8.F.RELATIONSHIPS_READ,handler(e){let{socket:t}=e;if(Cb.zy(Cb.iu(t.application.flags??0),Cb.iu(eL.gfo.DISABLE_RELATIONSHIPS_ACCESS)))throw new bo.A({errorCode:eL.Lw6.INVALID_PERMISSIONS},"Missing Permissions")}},[eL.ZE4.CURRENT_USER_UPDATE]:{scope:{[yD.sm.ANY]:[yD.hj,R8.F.IDENTIFY]},handler:()=>e=>{let{prevState:t,dispatch:n}=e,i={currentUser:tT.default.getCurrentUser()};return null==i.currentUser||null!=t&&(0,Da.A)(i,t)||n((0,R6.A)(i.currentUser)),i}},[eL.ZE4.CURRENT_GUILD_MEMBER_UPDATE]:{scope:{[yD.sm.ALL]:[R8.F.IDENTIFY,R8.F.GUILDS_MEMBERS_READ]},handler(e){let{args:{guild_id:t}}=e;return e=>{let{prevState:n,dispatch:i}=e,r={currentGuildMember:SS.Ay.getSelfMember(t)};return null==r.currentGuildMember||null!=n&&(0,Da.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,Do.Xq)(s),banner:a,bio:o,pronouns:l,color_string:u}}(r.currentGuildMember)),r}}},[eL.ZE4.ENTITLEMENT_CREATE]:{scope:{[yD.sm.ANY]:[yD.hj,yD.VH]},handler(){}},[eL.ZE4.ENTITLEMENT_DELETE]:{scope:{[yD.sm.ANY]:[yD.hj,yD.VH]},handler(){}},[eL.ZE4.SCREENSHARE_STATE_UPDATE]:{scope:{[yD.sm.ALL]:[yD.hj,R8.F.RPC_SCREENSHARE_READ]},handler:()=>e=>{let{prevState:t,dispatch:n}=e,i=iR.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:{[yD.sm.ALL]:[yD.hj,R8.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 Df=n(289919);let Dh={[eL.ZE4.OVERLAY_UPDATE]:{scope:yD.hj,handler(e){let{args:{pid:t},socket:n}=e;if("number"!=typeof t||t<10)throw new bo.A({errorCode:eL.Lw6.INVALID_EVENT},"Invalid pid");return e=>{let{prevState:i,dispatch:r}=e,s=OY.default.enabled,a=!0,o=n.application.id;if(null!=o){let e=lX.A.getActiveLibraryApplication(o);null!=e&&(s=s&&e.isOverlayEnabled()),a=CH.default.isLocked(t)}let l={enabled:s,locked:a};return im().isEqual(l,i)||r(l),l}}}},Dp={[eL.ZE4.QUEST_ENROLLMENT_STATUS_UPDATE]:{scope:R8.F.IDENTIFY,validation:e=>b_(e).required().keys({quest_id:e.string().required()}),handler:function(e){let{args:{quest_id:t},socket:n}=e,i=oN.A.getQuest(t),r=(0,R1.TP)(i);if(null==i||null==r||r!==n.application.id)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},`Quest not found: ${t}`)}}};var DE=n(546983);let Dm=(g=DE.l6,A=DE.Au,{[eL.ZE4.VOICE_SETTINGS_UPDATE]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.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:yD.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 Dg=n(298990),DA=n(334738),DI=n(181658);function DT(e,t){return null!=e.application_id&&null==t.getApplicationActivity(e.application_id,!1)}var DS=n(293588),DN=n(383233);async function Dy(e,t,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",s=lQ.A.getApplicationActivity(t);if(null==s||null==s.secrets||!(0,R3.px)(i,s.party,s.secrets))throw new bo.A({errorCode:eL.Lw6.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure an activity includes a party and appropriate secret.");let a=DT(s,l0.A);if(a){let{lock:t}=(0,DE.d5)(e);return(0,Dg.qf)(s,a).then(()=>{throw t(),new bo.A({errorCode:eL.Lw6.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure user does have have privacy enabled.")})}await lj.A.sendActivityInviteUser({userId:n,type:i,activity:s,content:r,location:"In-Game Invite"})}let DC={[eL.e$_.SEND_ACTIVITY_JOIN_INVITE]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj]},handler(e){let{socket:t,args:{user_id:n,pid:i}}=e,r=t.application.id;if(null==r)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return Dy(i,r,n,eL.xL.JOIN)}},[eL.e$_.CLOSE_ACTIVITY_JOIN_REQUEST]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj]},handler(e){let{args:{user_id:t}}=e,n=ib.A.getDMFromUserId(t);null!=n&&(0,DA.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:{[yD.sm.ANY]:[R8.F.RPC,yD.hj]},validation:e=>b_(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 bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return Dy(s,a,i,n,r)}},[eL.e$_.ACCEPT_ACTIVITY_INVITE]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj]},validation:e=>b_(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===yD.z4.IPC?o??t.application.id:t.application.id;if(null==l)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let u=Promise.resolve(!1);return n===eL.xL.JOIN&&(u=lY.Ay.join({userId:i,sessionId:r,applicationId:l,channelId:s,messageId:a})),u.then(e=>{if(!e)throw new bo.A({errorCode:eL.Lw6.INVALID_INVITE},"Invite is expired or invalid.")})}},[eL.e$_.OPEN_INVITE_DIALOG]:{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj,yD.VH]},handler(e){let{socket:t}=e,i=t.application;if(null==i.id)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let{channel:r,guild:s,frame:a}=bC(),o=(0,bb.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 bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"Application is not currently mounted.");let e=lQ.A.getApplicationActivity(i.id);if(null!=e)(0,Dg.qf)(e,!1,u);else throw new bo.A({errorCode:eL.Lw6.NO_ELIGIBLE_ACTIVITY},"No eligible activity for application. Ensure an activity was set using setActivity.")}else(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("7017"),n.e("25907"),n.e("17094"),n.e("59957"),n.e("19454"),n.e("28136"),n.e("16084"),n.e("87317"),n.e("22547")]).then(n.bind(n,1310));return t=>(0,k.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?bR.KX:bR.SY})}},[eL.e$_.INITIATE_IMAGE_UPLOAD]:bs(eL.e$_.INITIATE_IMAGE_UPLOAD,{scope:{[yD.sm.ANY]:[R8.F.RPC,yD.hj,yD.VH]},handler(e){let{socket:t}=e,n=t.application.id;if(null==n)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let i=bl()?.id;return new Promise((e,t)=>{!function(e,t){let n;if((0,bO.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 bo.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 DI.A)?e({image_url:s.url}):t(s)},()=>t(Error("Upload canceled")))}).catch(e=>{throw new bo.A({errorCode:eL.Lw6.UNKNOWN_ERROR},e?.message??"Failed to upload image")})}}),[eL.e$_.OPEN_SHARE_MOMENT_DIALOG]:bs(eL.e$_.OPEN_SHARE_MOMENT_DIALOG,{scope:{[yD.sm.ANY]:[yD.VH]},handler(e){let{socket:t,args:{mediaUrl:i}}=e;(0,R3.lG)(t.transport);let r=t.application.id;if(null==r)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");if(!(0,ba.n)(t.application,eL.gfo.EMBEDDED))throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"This application cannot access this API");let s=bl();if(!eG.A.isDiscordCdnUrl(i))throw new bo.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,bb.Ay)({application:s,channelId:i})?bR.KX:bR.SY;(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("24092"),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,k.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]:bs(eL.e$_.SHARE_INTERACTION,{scope:{[yD.sm.ANY]:[yD.VH,yD.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 bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");if(!R7.mO.includes(c))throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"Unsupported application.");if(!(0,ba.n)(n.application,eL.gfo.EMBEDDED))throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"This application cannot access this API");let d=bl();if(null==d&&a)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No channel found");if(null!==r||null!==s||null!==o){let e=[];void 0!==r&&(e=[{id:Sy.default.cast(Sy.default.fromTimestamp(Date.now())),size:0,proxy_url:r.url,filename:"preview",url:r.url,height:r.height,width:r.width}]),t=new DN.Ay({id:Sy.default.cast(Sy.default.fromTimestamp(Date.now())),applicationId:c,content:o,components:s,attachments:e})}return new Promise(e=>{let n=!1,r=(0,DE.d5)(u),s=bR.SY;(io.A.getWindowOpen(eL.MLl.ACTIVITY_POPOUT)||r.context===eL.BRT.POPOUT)&&(s=bR.KX),(0,DS.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 Dv=n(469778);let DO=10*n5.A.Millis.SECOND,DR={[eL.e$_.VALIDATE_APPLICATION]:{scope:yD.hj,handler(e){let{socket:t}=e,i=t.application.id;try{var r;let e;if(null==i)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let t=rD.A.getApplication(i);if(null==t)throw new bo.A({errorCode:eL.Lw6.INVALID_ENTITLEMENT},"SKU does not exist.");let n=t.primarySkuId;if(null==n)throw new bo.A({errorCode:eL.Lw6.INVALID_ENTITLEMENT},"SKU does not exist.");return Promise.race([(r=t.id,e=Dv.A.isEntitledToSku(tT.default.getCurrentUser(),n,r),null!=e?Promise.resolve(e):(0,b2.LM)(r).then(()=>!0===Dv.A.isEntitledToSku(tT.default.getCurrentUser(),n,r))).then(e=>{if(!e)throw new bo.A({errorCode:eL.Lw6.INVALID_ENTITLEMENT},"User does not have entitlement.")}),(0,n4.BK)(DO).then(()=>{throw new bo.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,nC.openModalLazy)(async()=>{let{default:e}=await n.e("26766").then(n.bind(n,448701));return t=>(0,k.jsx)(e,{...t,applicationId:i})})),e}}},[eL.e$_.GET_ENTITLEMENT_TICKET]:{scope:yD.hj,handler(e){let{socket:t}=e,i=t.application.id;if(null==i)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return ev.Bo.post({url:eL.Rsh.ENTITLEMENT_TICKET(i),body:{test_mode:(0,bd.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,nC.openModalLazy)(async()=>{let{default:e}=await n.e("26766").then(n.bind(n,448701));return t=>(0,k.jsx)(e,{...t,applicationId:i})}),e})}}};var Db=n(887909),DD=n(321987),DL=n(595244),Dw=n(485845),DM=n(898467),DP=n(224750),Dx=n(716965),DU=n(671523),Dk=n(337095),DG=n(395671),DF=n(488926);let DV="CachedTokens",DB={"1273616940451102832":new DM.A(2,+n5.A.Millis.MINUTE)};async function DH(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:f,nonce:h,scope:p,permissions:E,guild_id:m,channel_id:g,prompt:A,disable_guild_select:I,integration_type:T,pid:S,signal:N,isSocketRpcPrivateScope:y}=e;if(N?.aborted)throw new bo.A({errorCode:eL.Lw6.UNKNOWN_ERROR},"Request aborted");if(null==l)throw new bo.A({errorCode:eL.Lw6.OAUTH2_ERROR},"No Client ID provided");if(!y&&null!=c)throw new bo.A({errorCode:eL.Lw6.OAUTH2_ERROR},"Redirect URI cannot be used in the RPC OAuth2 Authorization flow");let C=[];if("string"==typeof p?C=p.split(" ").filter(e=>e.length>0):Array.isArray(p)&&(C=p),null==tT.default.getCurrentUser())throw new bo.A({errorCode:eL.Lw6.OAUTH2_ERROR},"Client is not logged in");if(null!=T)r=Number(T);else{let e=e=>(0,ba.n)(e,eL.gfo.EMBEDDED)&&e?.integrationTypesConfig?.[Dw.b.USER_INSTALL]!=null,t=rD.A.getApplication(l);r=e(t)||e(t=DG.Ay.createFromServer(await (0,Dk.TA)(l,N)))?Dw.b.USER_INSTALL:Dw.b.GUILD_INSTALL}try{[s,{disclosures:a,allAcked:o}]=await Promise.all([(0,Dx.qY)({clientId:l,scopes:C,responseType:u,redirectUri:c,codeChallenge:d,codeChallengeMethod:_,state:f,integrationType:r,signal:N}),(0,DP.vG)(l)])}catch(t){let{body:e}=t;throw new bo.A({errorCode:eL.Lw6.OAUTH2_ERROR},`OAuth2 Authorization Error: ${e?.message||"Unknown Error"}`)}if(A===DU.l.NONE&&null!=s&&s.authorized&&o)try{return(await (0,Dx.Gq)({authorize:!0,clientId:l,scopes:C,responseType:u,redirectUri:c,codeChallenge:d,codeChallengeMethod:_,state:f,nonce:h,integrationType:r})).location}catch(t){let{body:e}=t;throw new bo.A({errorCode:eL.Lw6.OAUTH2_ERROR},`OAuth2 Authorize Error: ${e?.message||"Unknown Error"}`)}n?.(s.application,g,S);let v=DF.x3;try{v=Cb.iu(E??0)}catch(e){}if(null!=s.integration_type&&Object.values(Dw.b).includes(s.integration_type)&&(i=new Map).set(s.integration_type,s),null!=DB[s.application.id]&&(await DB[s.application.id].process(),N?.aborted))throw new bo.A({errorCode:eL.Lw6.UNKNOWN_ERROR},"Request aborted");return t({clientId:l,authorizations:i,scopes:C,parsedPermissions:v,responseType:u,redirectUri:c,codeChallenge:d,codeChallengeMethod:_,state:f,guildId:m,channelId:g,prompt:A,disableGuildSelect:I,disclosures:a,integrationType:r,pid:S,signal:N})}function Dj(e,t){if(e.authorization.accessToken)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"Already authenticated");if(e.authorization.authing)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"Already authenticating");return e.authorization.authing=!0,ev.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 bo.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 bo.A({errorCode:eL.Lw6.INVALID_TOKEN},"Token does not match current user");return e.authorization.scopes=[...e.authorization.scopes,...s,yD.VH],e.authorization.accessToken=t,e.authorization.expires=new Date(a),e$.h.dispatch({type:"RPC_APP_AUTHENTICATED",socketId:e.id,application:e.application}),{...n.body,access_token:t}},()=>{throw new bo.A({errorCode:eL.Lw6.INVALID_TOKEN},`Invalid access token: ${t}`)}).catch(t=>{throw e.authorization.authing=!1,t})}let DY=(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:f,disclosures:h,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,DE.d5)(E),S=bR.SY;null!=I&&null!=(0,bb.Ay)({application:I,channelId:d})?S=bR.KX:T.context===eL.BRT.POPOUT&&(S=bR.KX);let N=!1,y=n=>{let{clientId:i,location:r}=n;if(null==i||i===t){if(N=!0,null==r){A(new bo.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,nC.openModal)(e=>(0,k.jsx)(DL.Sm,{application:I,...e}),{onCloseCallback:()=>{T.lock()}},S):(0,nC.openModal)(e=>(0,k.jsx)(DL.xb,{...e}),{onCloseCallback:()=>{T.lock()}},S)}},{cleanup:C}=function(e,t){function n(){(0,nC.closeModal)(e)&&(0,nC.openModal)(e=>(0,k.jsx)(DD.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,nC.openModal)(e=>(0,k.jsx)(Db.OAuth2AuthorizeModal,{...e,authorizations:n,clientId:t,scopes:i??[],disclosures:h??[],callback:y,responseType:s,redirectUri:a,codeChallenge:o,codeChallengeMethod:l,state:u,permissions:r,guildId:c,channelId:d,prompt:_,disableGuildSelect:"boolean"==typeof f?f:"true"===f,integrationType:p,cancelCompletesFlow:!0}),{modalKey:g,onCloseCallback:()=>{C(),N||(A(new bo.A({errorCode:eL.Lw6.OAUTH2_ERROR},"User cancelled authorization")),T.lock())}},S)})},T=function(e,t,n){if((0,DE.kS)(n)||!ek.isPlatformEmbedded)return;let i=(0,bb.Ay)({application:e,channelId:t});(0,ek.isWindows)()?tS.Ay.minimize(i):tS.Ay.restore(i),tS.Ay.focus(i)},{[eL.e$_.AUTHENTICATE]:bs(eL.e$_.AUTHENTICATE,{handler(e){let{socket:t,signal:n,args:{access_token:i}}=e;if(null==i&&t.transport===yD.z4.IPC){let e=t.application.id;if(null==e)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let r=R8.F.IDENTIFY,s=()=>DH({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 bo.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 bo.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(DV)??{})[e]={accessToken:i,scope:r,expires:Date.now()+s},tA.w.set(DV,a),Dj(t,l.access_token)});return null!=(i=function(e,t){let n=tA.w.get(DV);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(DV,n)}}(e,r))?Dj(t,i).catch(()=>{let t;return t=tA.w.get(DV)??{},delete t[e],tA.w.set(DV,t),s()}):s()}if(null==i)throw new bo.A({errorCode:eL.Lw6.INVALID_TOKEN},"No access token provided");return Dj(t,i)}}),[eL.e$_.AUTHORIZE]:{handler(e){let{socket:t,signal:n,args:i}=e,r=i.client_id;if(!r)throw new bo.A({errorCode:eL.Lw6.INVALID_CLIENTID},"No client id provided");if(null!=t.authorization.accessToken)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"Already authenticated");if(t.authorization.authing)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"Already authing");if(t.authorization.authing=!0,"token"===i.response_type)throw t.authorization.authing=!1,new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},'Authorization response_type "token" is not supported');let s=t.authorization.scopes.includes(yD.LQ);if(!s&&t.application.id!==r)throw t.authorization.authing=!1,new bo.A({errorCode:eL.Lw6.INVALID_CLIENTID},"Application does not match the connection's");let a=i.scopes||i.scope;return delete i.scopes,DH({...i,scope:a,signal:n,isSocketRpcPrivateScope:s},I,T).then(e=>{if(t.authorization.authing=!1,null==e)throw new bo.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 bo.A({errorCode:eL.Lw6.OAUTH2_ERROR},`OAuth2 Error: ${r}: ${e}`)}if(null==i)throw new bo.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 DW=n(845187);let DK="activity-hardware-acceleration-modal",Dz={[eL.e$_.ENCOURAGE_HW_ACCELERATION]:{validation:e=>b_(e),handler(e){let{socket:t}=e;(0,R3.lG)(t.transport);let i=t.application.id;if(null!=i)return ah.Ay.disableActivityHardwareAccelerationPrompt||!ek.isPlatformEmbedded||tS.Ay.getEnableHardwareAcceleration()||(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.resolve().then(n.bind(n,845187));return t=>(0,k.jsx)(e,{applicationId:i,...t})},{modalKey:DK,onCloseRequest:()=>{ew.default.track(eL.HAw.MODAL_DISMISSED,{type:DW.a}),(0,nC.closeModal)(DK)}}),{enabled:tS.Ay.getEnableHardwareAcceleration()}}}};var D$=n(43203);let Dq={[eL.e$_.OPEN_MESSAGE]:{scope:yD.hj,handler(e){let{args:{guild_id:t,channel_id:n,message_id:i,pid:r}}=e;(0,DE.d5)(r).context===eL.BRT.OVERLAY?e$.h.dispatch({type:"OVERLAY_OPEN_MESSAGE",guildId:t,channelId:n,messageId:i}):((0,uF.bG)({pathname:eL.BVt.CHANNEL(t,n,i)}),tS.Ay.focus())}}},DZ=new tb.A("RPCCommandsOverlay"),DX={[eL.e$_.SET_OVERLAY_LOCKED]:{scope:yD.hj,validation:e=>b_(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(DZ.verbose("RPCCommands.SET_OVERLAY_LOCKED",{locked:t,pid:n}),null==i.id)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");OD.A.setInputLocked(t,n)}},[eL.e$_.OPEN_OVERLAY_ACTIVITY_INVITE]:{scope:yD.hj,validation:e=>b_(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 bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let s=lQ.A.getApplicationActivity(r);if(null==s||null==s.secrets||!(0,R3.px)(n,s.party,s.secrets))throw new bo.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,DE.d5)(i),l=DT(s,l0.A);return(0,Dg.qf)(s,l,o).then(()=>{if(a(),l)throw new bo.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:yD.hj,validation:e=>b_(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 bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return O_.Ay.resolveInvite(t,"Game SDK").then(e=>{let{invite:t,code:i}=e;if(null==t)throw new bo.A({errorCode:eL.Lw6.INVALID_INVITE},`Invalid invite id: ${i}`);let{context:r,lock:s}=(0,DE.d5)(n);return new Promise(e=>{e$.h.dispatch({type:"INVITE_MODAL_OPEN",invite:t,code:i,context:r,resolve:e})}).then(s)})}},[eL.e$_.OPEN_OVERLAY_VOICE_SETTINGS]:{scope:yD.hj,validation:e=>b_(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 bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let{lock:s,context:a}=(0,DE.d5)(t);return new Promise(e=>{(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("78401"),n.e("27681"),n.e("758"),n.e("28367"),n.e("25246"),n.e("97162"),n.e("46327"),n.e("96531")]).then(n.bind(n,880510));return t=>(0,k.jsx)(e,{...t,mediaEngineContext:r,subtitle:i.application.name??void 0})},{contextKey:a===eL.BRT.POPOUT?bR.KX:bR.SY,onCloseCallback:()=>{s(),e()}})})}}};var DQ=n(835245),DJ=n(6981),D0=n(956549),D1=n(257269),D2=n(753390),D3=n(121623),D6=n(224640),D4=n(20742),D5=n(430993),D7=n(696208);function D8(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 nv.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,uF.pX)(eL.BVt.ME))},[i,n]),i){case"loading":case"success":return{title:na.intl.string(na.t.W9uNdG),body:(0,k.jsx)(nU.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,k.jsxs)(D6.d,{...e,onClose:()=>Promise.resolve(e.onClose?.()),size:"sm",children:[(0,k.jsx)(D4.rQ,{title:t??"",subtitle:n}),(0,k.jsx)(D5.c,{children:i}),(0,k.jsx)(D7.H,{actions:r??[],actionsFullWidth:!0})]})}function D9(e){(0,nC.openModalLazy)(()=>Promise.resolve(t=>(0,k.jsx)(D8,{...t,...e})))}function Le(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 Lt={[eL.e$_.INVITE_BROWSER]:{scope:yD.LQ,async handler(e){let{args:{code:t,...n}}=e;return await (0,D$.$)(t,"Desktop Modal",n)}},[eL.e$_.GUILD_TEMPLATE_BROWSER]:{scope:yD.LQ,async handler(e){let{args:{code:t}}=e;if(null==tT.default.getCurrentUser())return;let{guildTemplate:i}=await D3.A.resolveGuildTemplate(t);if(null==i)throw new bo.A({errorCode:eL.Lw6.INVALID_GUILD_TEMPLATE},`Invalid guild template id: ${t}`);return tS.Ay.focus(),(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("18934"),n.e("6772"),n.e("17094"),n.e("99430"),n.e("72465"),n.e("88599"),n.e("83952"),n.e("82486"),n.e("19580"),n.e("16198"),n.e("92152")]).then(n.bind(n,72715));return t=>(0,k.jsx)(e,{...t,guildTemplate:i})}),{guildTemplate:i,code:t}}},[eL.e$_.GIFT_CODE_BROWSER]:{scope:yD.LQ,handler(e){let{args:{code:t}}=e;return new Promise((e,i)=>{e$.h.wait(()=>{nR.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,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("4592"),n.e("10471"),n.e("35429"),n.e("78453"),n.e("30788"),n.e("98329"),n.e("7200")]).then(n.bind(n,361845));return n=>(0,k.jsx)(e,{code:t,...n})}),e({giftCode:r})}).catch(()=>i(new bo.A({errorCode:eL.Lw6.INVALID_GIFT_CODE},`Invalid gift code: ${t}`)))})})}},[eL.e$_.DEEP_LINK]:{scope:{[yD.sm.ANY]:[yD.LQ,yD.hj]},handler(e){let{args:{type:t,params:i}}=e;switch(tS.Ay.focus(),t){case yD.XK.USER_SETTINGS:null!=i&&(0,Od.B)(()=>{let e=eL.BVt.SETTINGS(i.section,i.subsection),n=(0,SI.parseSettingsUrl)({path:e,search:i.search});(0,SI.trackParseSettingsUrl)(n,"deeplink"),(0,i7.openUserSettings)(n.target,{path:n.path,searchParams:n.params}),Le(i,(0,yD.OE)(t))});break;case yD.XK.CHANGELOG:null!=i&&((0,uF.pX)(eG.A.formatPathWithQuery(eL.BVt.CHANGELOGS(i.date),i.query)),Le(i,(0,yD.OE)(t)));break;case yD.XK.LIBRARY:(0,uF.pX)(eL.BVt.APPLICATION_LIBRARY),null!=i&&Le(i,(0,yD.OE)(t));break;case yD.XK.STORE_HOME:(0,uF.pX)(eL.BVt.APPLICATION_STORE),null!=i&&Le(i,(0,yD.OE)(t));break;case yD.XK.STORE_LISTING:null!=i&&((0,uF.pX)(eL.BVt.APPLICATION_STORE_LISTING_SKU(i.skuId,i.slug)),Le(i,(0,yD.OE)(t)));break;case yD.XK.PICK_GUILD_SETTINGS:null!=i&&((0,uF.pX)(eL.BVt.PICK_GUILD_SETTINGS(i.section,i.subsection),{search:i.search}),Le(i,(0,yD.OE)(t)));break;case yD.XK.CHANNEL:null!=i&&((0,uF.pX)(eL.BVt.CHANNEL(i.guildId,i.channelId,i.messageId),{search:i.search}),Le(i,(0,yD.OE)(t)));break;case yD.XK.GAME_SHOP:null!=i&&((0,uF.pX)(eL.BVt.CHANNELS_GAME_SHOP(i.guildId,i.pageIndex,i.skuId,i.slug)),Le(i,(0,yD.OE)(t)));break;case yD.XK.QUEST_HOME:if(null!=i){let e=new URLSearchParams;null!=i.sort&&e.set(ov.L1.SORT,i.sort),null!=i.filter&&e.set(ov.L1.FILTER,i.filter),null!=i.tab&&e.set(ov.L1.TAB,i.tab),(0,uF.pX)(eL.BVt.QUEST_HOME,{hash:i.questId,search:`?${e.toString()}`}),Le(i,(0,yD.OE)(t))}else(0,uF.pX)(eL.BVt.QUEST_HOME);break;case yD.XK.QUEST_PREVIEW_TOOL:if(null!=i){let e=new URLSearchParams;e.set(ov.L1.TAB,ov.NC.PREVIEW_TOOL),null!=i.questId&&e.set(ov.L1.QUEST_ID,i.questId),(0,uF.pX)(eL.BVt.QUEST_HOME,{search:`?${e.toString()}`}),Le(i,(0,yD.OE)(t))}break;case yD.XK.DISCOVERY_GAME_RESULTS:null!=i&&((0,uF.pX)(eL.BVt.GLOBAL_DISCOVERY_SERVERS,{search:`?game=${i.gameId}`}),Le(i,(0,yD.OE)(t)));break;case yD.XK.OAUTH2:let r=new URL(eL.BVt.OAUTH2_AUTHORIZE,window.location.origin);r.search=i.search;let s=(0,Db.getOAuth2AuthorizeProps)(r.toString());if(null!=s)return(0,Db.openOAuth2ModalWithCreateGuildModal)(s),!0;return!1;case yD.XK.ONE_TIME_LOGIN:if(null!=i)return D9({token:i.token}),Le(i,(0,yD.OE)(t)),!0;return!1;case yD.XK.SHOP:null!=i&&((0,uF.pX)(eL.BVt.COLLECTIBLES_SHOP,{search:i.search}),Le(i,(0,yD.OE)(t)));break;case yD.XK.FEATURES:i?.path!=null&&((0,uF.pX)(i.path),Le(i,(0,yD.OE)(t)));break;case yD.XK.ACTIVITIES:if(null!=i){let e=i.attemptId||(0,DQ.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 o4.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 un.A.openPrivateChannel({recipientIds:s}),o=new URL(t),l=o.searchParams.get("referrer_id")??void 0,{customId:u}=await (0,D1.d9)(e,o.searchParams.get("link_id"),o.searchParams.get("custom_id"));await (0,D0.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),Le(i,(0,yD.OE)(t)),!0}return!1;case yD.XK.PLAYGROUND:if(null!=i){let{openPlayground:e}=n(965042);e(i.collection,i.story),Le(i,(0,yD.OE)(t))}}}},[eL.e$_.BROWSER_HANDOFF]:{scope:yD.kw,handler(e){let{args:{handoffToken:t,fingerprint:n}}=e;tS.Ay.focus(null,!0),(0,DJ.mZ)(t,n)}},[eL.e$_.CONNECTIONS_CALLBACK]:{scope:yD.LQ,handler:async e=>{let{args:{providerType:t,code:n,openid_params:i,iss:r,state:s}}=e;if(!l$.A.hasPendingAuthorizedState(s))throw new bo.A({errorCode:eL.Lw6.INVALID_CONNECTION_CALLBACK_STATE},"Provider authorization did not originate from this discord client");try{return l$.A.deletePendingAuthorizedState(s),await bF.A.callback(t,{code:n,openid_params:i,iss:r,state:s})}catch(e){if(e?.status===400)throw new bo.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:yD.LQ,handler(e){let{args:{state:t,path:n,query:i}}=e;return(0,D2.re)({paymentSourceType:eL.hes.PAYPAL,state:t,path:n,query:i})}},[eL.e$_.BILLING_POPUP_BRIDGE_CALLBACK]:{scope:yD.LQ,handler(e){let{args:{state:t,path:n,query:i,payment_source_type:r}}=e;return(0,D2.re)({paymentSourceType:r,state:t,path:n,query:i})}}},Ln={[eL.e$_.SET_SUPPRESS_NOTIFICATIONS]:{scope:yD.hj,handler(e){let{socket:t,args:{suppress_notifications:n,target_user_id:i}}=e;e$.h.dispatch({type:"SET_RPC_NOTIFICATION_SETTINGS",socketId:t.id,suppressNotifications:n,targetUserId:i})}}},Li=[ii.A.RPC];function Lr(e,t){let n={subscriptionTier:co.pe.TIER_2,analyticsLocations:Li,analyticsObject:t};switch(e){case eL.BRT.APP:return RF.A.openPremiumPaymentModalInApp(n);case eL.BRT.OVERLAY:return RF.A.openPremiumPaymentModalInOverlay(n);default:throw Error(`Unexpected app context: ${e}`)}}let Ls={[eL.e$_.START_PURCHASE]:{[yD.sm.ANY]:[yD.VH,yD.hj],validation:e=>b_(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;b5(t.transport);let s=t.application.id;if(null==s)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let{lock:a,context:o}=(0,DE.d5)(t.transport!==yD.z4.POST_MESSAGE?r:null);if(null==bl())throw new bo.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("17094"),n.e("60060"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("25907"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("6174"),n.e("91146"),n.e("46070"),n.e("78453"),n.e("91013"),n.e("44571"),n.e("30788"),n.e("25246"),n.e("23995"),n.e("62075")]).then(n.bind(n,4630)),t=await e({applicationId:s,skuId:i,openPremiumPaymentModal:()=>Lr(o,l),analyticsLocations:Li,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 bo.A({errorCode:eL.Lw6.PURCHASE_ERROR},t)}throw new bo.A({errorCode:eL.Lw6.PURCHASE_CANCELED},"Purchase was canceled by the user.")}})()}},[eL.e$_.START_PREMIUM_PURCHASE]:{[yD.sm.ANY]:[yD.VH,yD.hj],validation:e=>b_(e).keys({pid:e.number().min(0)}),handler(e){let{socket:t,args:{pid:n}}=e;if(b5(t.transport),null==t.application.id)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");let{lock:i,context:r}=(0,DE.d5)(t.transport!==yD.z4.POST_MESSAGE?n:null);return Lr(r,{page:eL.liQ.IN_APP}).then(()=>{i()},e=>{if(i(),null!=e)throw new bo.A({errorCode:eL.Lw6.PURCHASE_ERROR},e);throw new bo.A({errorCode:eL.Lw6.PURCHASE_CANCELED},"Purchase was canceled by the user.")})}}},La={[eL.e$_.SEND_GENERIC_EVENT]:{handler(e){throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},`Deprecated command: ${e.cmd}`)}}},Lo={[eL.e$_.TOGGLE_VIDEO]:{scope:{[yD.sm.ALL]:[R8.F.RPC,R8.F.RPC_VIDEO_WRITE]},handler(){let e=tI.Ay.isVideoEnabled();null!=(0,b0.A)()&&(e?is.A.setVideoEnabled(!1):(0,NY.A)(()=>is.A.setVideoEnabled(!0),eL.BRT.APP))}},[eL.e$_.TOGGLE_SCREENSHARE]:{scope:{[yD.sm.ALL]:[R8.F.RPC,R8.F.RPC_SCREENSHARE_WRITE]},validation:e=>b_(e).optional().keys({pid:e.number().optional().min(0)}),handler(e){let{args:{pid:t}}=e,i=iR.A.getCurrentUserActiveStream(),r=iR.A.getStreamerActiveStreamMetadata(),s=(0,Ok.A)(ia.Ay,Ox.A),a=(0,b0.A)();null!=a&&(null!=t&&null!=r&&r.pid!==t&&(0,ek.isWindows)()?(0,oP.XI)(a.guild_id,a.id,{pid:t}):null!=i?(0,oP.nO)(!1):null!=t&&(0,ek.isWindows)()?(0,oP.XI)(a.guild_id,a.id,{pid:t}):null!=s?(0,oP.XI)(a.guild_id,a.id,{pid:s.pid}):(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("758"),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("82001")]).then(n.bind(n,266536));return t=>(0,k.jsx)(e,{...t,analyticsLocations:[ii.A.RPC]})}))}}};var Ll=n(350535);function Lu(e){let t=e.application.id;if(null==t)throw new bo.A({errorCode:eL.Lw6.INVALID_COMMAND},"No application.");return t}let Lc={[eL.e$_.SET_VOICE_SETTINGS_2]:{scope:yD.hj,validation:e=>b_(e).required().keys({input_mode:b_(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=Lu(t);null!=n&&is.A.setMode(n.type,{shortcut:(0,Ll.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:yD.hj,validation:e=>b_(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=Lu(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:{[yD.sm.ALL]:[R8.F.RPC,R8.F.RPC_VOICE_WRITE]},validation:e=>b_(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,OF.N)(t)}}},Ld={[eL.e$_.SET_USER_VOICE_SETTINGS]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_WRITE]},validation:e=>b_(e).required().keys({user_id:e.string().required(),pan:b_(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 bo.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:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_READ]},handler:()=>(0,DE.l6)()},[eL.e$_.SET_VOICE_SETTINGS]:{scope:{[yD.sm.ANY]:[R8.F.RPC,R8.F.RPC_VOICE_WRITE]},validation:e=>b_(e).required().keys({input:b_(e).keys({device_id:e.string().valid(Object.keys(tI.Ay.getInputDevices())),volume:e.number().min(0).max(100)}),output:b_(e).keys({device_id:e.string().valid(Object.keys(tI.Ay.getOutputDevices())),volume:e.number().min(0).max(200)}),mode:b_(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(b_(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,DE.l6)()}}};var L_=n(111162),Lf=n(861621),Lh=n(440454);let Lp=10*n5.A.Millis.SECOND,LE=new Map,Lm=new Set,Lg=(e,t,n)=>{n([Lh.A.CLOSE,t],e)};class LA extends eZ.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(LE.entries()).find(e=>{let[n,i]=e;return i===t})??[null,null];null!=r&&LE.delete(r)}})();handleIFrameMount=e=>{let{id:t}=e;Lm.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:Lp})})},Lp)};handleIFrameUnmount=e=>{let{id:t}=e;Lm.delete(t);let[n,i]=Array.from(LE.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),LE.delete(n))};handleMessage=(e,t,n)=>{let i=LE.get(t);try{this.routeEvent(i,t,e,n)}catch(e){if(e instanceof bo.A&&e.errorCode===eL.Lw6.INVALID_PAYLOAD)throw e;null!=i?this.disconnectSocket(i,{code:e.code,message:e.message},!0):Lg(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 Lh.A.HANDSHAKE:if(null!=e)throw new bo.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},"Already connected");return this.handleHandshake(t,s,i);case Lh.A.FRAME:if(null==e)throw new bo.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},"Not connected");return this.handleFrame(t,e,s);case Lh.A.CLOSE:if(null==e)throw new bo.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},"Not connected");return this.handleClose(e,s);default:throw new bo.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},"Invalid opcode")}}handleFrame=(e,t,n)=>{let i;if(e!==t.origin)throw new bo.A({closeCode:eL.YI$.INVALID_ORIGIN},"Origin has changed");try{i="string"==typeof n?JSON.parse(n):n}catch(e){throw new bo.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,b_(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 bo.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},e.message)}let a=t.frame_id;if(!Lm.has(a))throw this.logger.error(`Unrecognized frame ID ${a}`),new bo.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:Lg,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),!Lm.has(a))throw this.logger.error(`Frame ID ${a} no longer exists`),new bo.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},`Unrecognized frame ID ${a}`);LE.set(e,r),Lm.delete(a),r.authorization.scopes.push(yD.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,b_(i).required().keys({code:i.number().valid(Object.values(eL.YI$)).required(),message:i.string().optional()}))}catch(e){throw new bo.A({closeCode:eL.YI$.CLOSE_UNSUPPORTED},e.message)}this.disconnectSocket(e,t)}}var LI=n(313731);class LT extends LI.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(yD.z4.POST_MESSAGE,i,r),-1===["etf","json"].indexOf(r))throw new bo.A({closeCode:eL.YI$.INVALID_ENCODING},`Invalid Encoding: ${r}`);if("etf"===r)throw new bo.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([Lh.A.FRAME,e],this.origin)}close(e,t){this.closed||this.postClose(this.origin,{code:e,message:t},this.postMessageToRPCClient),this.closed=!0}}let LS=new tb.A("RPCServer:PostMessage"),LN=(u=new LA(DE.j7,LS,e=>{let{origin:t,postMessageToRPCClient:n,frameId:i,version:r,encoding:s,logger:a,postClose:o}=e;return new LT({origin:t,postMessageToRPCClient:n,frameId:i,version:r,encoding:s,logger:a,postClose:o,onSendingToRPCClient:(e,t)=>{(L_.default.isLoggingOverlayEvents||e.cmd!==eL.e$_.OVERLAY&&e.evt!==eL.ZE4.OVERLAY)&&a.info(`Socket Emit: ${t}`,(0,Lf.A)(e))}})},(e,t,n)=>{(L_.default.isLoggingOverlayEvents||e.cmd!==eL.e$_.OVERLAY)&&t.info(`Socket Message: ${n.id}`,(0,Lf.A)(e))}),window.addEventListener("message",e=>{if(window===e.source)return;if(null==e.source||null==e.source.postMessage)return void LS.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),Ly={...Ds,...DC,...DR,...Dz,...Dq,...D$.A,...DX,...Lt,...Ln,...Ls,...Lo,...Ld,...Lc,...DY,...La},LC={...D_,...Dh,...Dp,...Dm},Lv={server:Df.A,commands:Ly,events:LC,stores:[CH.default],transports:[LN],registerTransportsForEmbeddedPlatform:function(){tS.Ay.ensureModule("discord_rpc").then(()=>{for(let e of[n(33006).A,n(998921).A])Df.A.registerTransport(e)})}},LO=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(ek.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=>{e$.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)=>{e$.h.dispatch({type:"RPC_APP_DISCONNECTED",socketId:e.id,application:e.application,reason:t})};let e=[ib.A,SS.Ay,R2.A,iM.A,tI.Ay,iL.A];new e6.ru(e.concat(this.stores),()=>this.rpcServer.updateSubscriptions()).attach("RPCServerManager"),e$.h.subscribe("MESSAGE_CREATE",this.handleMessage),e$.h.subscribe("MESSAGE_UPDATE",this.handleMessage),e$.h.subscribe("MESSAGE_DELETE",this.handleMessage),e$.h.subscribe("SPEAKING",this.handleSpeaking),e$.h.subscribe("OAUTH2_TOKEN_REVOKE",this.handleOAuth2TokenRevoke),e$.h.subscribe("GUILD_CREATE",this.handleGuildCreate),e$.h.subscribe("CHANNEL_CREATE",this.handleChannelCreate),e$.h.subscribe("LOGOUT",this.handleLogout),e$.h.subscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect),e$.h.subscribe("RPC_NOTIFICATION_CREATE",this.handleNotificationCreate),e$.h.subscribe("ACTIVITY_JOIN",this.handleActivityJoin),e$.h.subscribe("ACTIVITY_LAYOUT_MODE_UPDATE",this.handleActivityLayoutModeUpdate),e$.h.subscribe("FRAME_UPDATE_LAYOUT_MODE",this.handleFrameUpdateLayoutMode),e$.h.subscribe("THERMAL_STATE_CHANGE",this.handleThermalStateChange),e$.h.subscribe("ACTIVITY_SCREEN_ORIENTATION_UPDATE",this.handleScreenOrientationUpdate),e$.h.subscribe("EMBEDDED_ACTIVITY_UPDATE",this.handleEmbeddedActivityUpdate),e$.h.subscribe("RELATIONSHIP_ADD",this.handleRelationshipAdd),e$.h.subscribe("RELATIONSHIP_UPDATE",this.handleRelationshipUpdate),e$.h.subscribe("RELATIONSHIP_REMOVE",this.handleRelationshipRemove),e$.h.subscribe("PRESENCE_UPDATES",this.handlePresenceUpdates),e$.h.subscribe("PRESENCES_REPLACE",this.handlePresencesReplace),e$.h.subscribe("USER_UPDATE",this.handleUserUpdate),e$.h.subscribe("ENTITLEMENT_CREATE",this.handleEntitlementCreate),e$.h.subscribe("ENTITLEMENT_DELETE",this.handleEntitlementDelete),e$.h.subscribe("QUESTS_ENROLL_SUCCESS",this.handleQuestEnrollSuccess)}terminate(){e$.h.unsubscribe("MESSAGE_CREATE",this.handleMessage),e$.h.unsubscribe("MESSAGE_UPDATE",this.handleMessage),e$.h.unsubscribe("MESSAGE_DELETE",this.handleMessage),e$.h.unsubscribe("SPEAKING",this.handleSpeaking),e$.h.unsubscribe("OAUTH2_TOKEN_REVOKE",this.handleOAuth2TokenRevoke),e$.h.unsubscribe("GUILD_CREATE",this.handleGuildCreate),e$.h.unsubscribe("CHANNEL_CREATE",this.handleChannelCreate),e$.h.unsubscribe("LOGOUT",this.handleLogout),e$.h.unsubscribe("VOICE_CHANNEL_SELECT",this.handleVoiceChannelSelect),e$.h.unsubscribe("RPC_NOTIFICATION_CREATE",this.handleNotificationCreate),e$.h.unsubscribe("ACTIVITY_JOIN",this.handleActivityJoin),e$.h.unsubscribe("ACTIVITY_LAYOUT_MODE_UPDATE",this.handleActivityLayoutModeUpdate),e$.h.unsubscribe("FRAME_UPDATE_LAYOUT_MODE",this.handleFrameUpdateLayoutMode),e$.h.unsubscribe("THERMAL_STATE_CHANGE",this.handleThermalStateChange),e$.h.unsubscribe("ACTIVITY_SCREEN_ORIENTATION_UPDATE",this.handleScreenOrientationUpdate),e$.h.unsubscribe("EMBEDDED_ACTIVITY_UPDATE",this.handleEmbeddedActivityUpdate),e$.h.unsubscribe("RELATIONSHIP_ADD",this.handleRelationshipAdd),e$.h.unsubscribe("RELATIONSHIP_UPDATE",this.handleRelationshipUpdate),e$.h.unsubscribe("RELATIONSHIP_REMOVE",this.handleRelationshipRemove),e$.h.unsubscribe("PRESENCE_UPDATES",this.handlePresenceUpdates),e$.h.unsubscribe("PRESENCES_REPLACE",this.handlePresencesReplace),e$.h.unsubscribe("USER_UPDATE",this.handleUserUpdate),e$.h.unsubscribe("ENTITLEMENT_CREATE",this.handleEntitlementCreate),e$.h.unsubscribe("ENTITLEMENT_DELETE",this.handleEntitlementDelete),e$.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,R3.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=nZ.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,R3.Yj)(n),icon_url:null!=i?(0,R3.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!==R7.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?R7.bN.PIP:R7.bN.FOCUSED,r=i!==R7.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:R0()};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=R4();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?R2.A.getApplicationActivity(a.id,i.id):R2.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,R6.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,R6.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,R3.Gc)(n,i);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,R3.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,R3.Gc)(n,i);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,R3.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,R3.Gc)(eL.eA$.NONE,n);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,R3.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,R3.Gc)(t,n);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,R3.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,R3.Gc)(t,n);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,R3.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,R3.Gc)(n,i);this.rpcServer.dispatchToSubscriptions(eL.ZE4.RELATIONSHIP_UPDATE,{},e=>(0,R3.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=oN.A.getQuest(n);if(null==i)return;let r=(0,R1.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})}}(Lv);var LR=n(138298),Lb=n(940382),LD=n(450510),LL=n(594061);class Lw extends nK.A{_initialize(){__OVERLAY__||(e$.h.subscribe("VOICE_CHANNEL_EFFECT_SEND",this._handleSoundboardSoundReceived),e$.h.subscribe("GUILD_SOUNDBOARD_SOUND_PLAY_LOCALLY",this._handleSoundboardSoundPlayLocally),e$.h.subscribe("VOICE_CHANNEL_SELECT",this._handleVoiceChannelSelect),e$.h.subscribe("AUDIO_TOGGLE_SELF_DEAF",this._handleToggleSelfDeafened))}_terminate(){__OVERLAY__||(e$.h.unsubscribe("VOICE_CHANNEL_EFFECT_SEND",this._handleSoundboardSoundReceived),e$.h.unsubscribe("GUILD_SOUNDBOARD_SOUND_PLAY_LOCALLY",this._handleSoundboardSoundPlayLocally),e$.h.unsubscribe("VOICE_CHANNEL_SELECT",this._handleVoiceChannelSelect),e$.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 LM=n(102597),LP=n(904054),Lx=n(459838),LU=n(602674),Lk=n(76788),LG=n(738011),LF=n(536184);let LV=new Map;async function LB(e){let t=LV.get(e);if(null!=t)return t;let n=await (await fetch(e)).arrayBuffer(),i=(0,LU.v)(),r=await i?.decodeAudioData(n);return null!=r&&LV.set(e,r),r}let LH=new tb.A("SoundboardManager");class Lj extends Lw{playingSoundsWeb=new Map;_initialize(){super._initialize(),__OVERLAY__||(e$.h.subscribe("OVERLAY_SOUNDBOARD_SOUNDS_FETCH_REQUEST",this._handleOverlaySoundboardSoundsFetchRequest),e$.h.subscribe("RTC_CONNECTION_STATE",this._handleRTCConnectionState))}_terminate(){super._terminate(),__OVERLAY__||(e$.h.unsubscribe("OVERLAY_SOUNDBOARD_SOUNDS_FETCH_REQUEST",this._handleOverlaySoundboardSoundsFetchRequest),e$.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&&nZ.A.getVoiceChannelId()===r;if((null==r||s)&&!tI.Ay.isDeaf()&&!bQ.A.isLocalSoundboardMuted(i))try{let r={soundKey:`${i}-${t}`,soundURL:(0,LM.A)(t),soundVolume:(0,LP.A)(n),reportSoundStartedPlaying:()=>(0,bX.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 LB(n);null==a&&e(),tI.Ay.getMediaEngine().eachConnection(n=>{n.context===Lx.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,LF.A)(i));a.src=i,a.volume=(0,LP.A)(r),a.addEventListener(a instanceof Lk.A.OGVPlayer?"loadedmetadata":"canplaythrough",()=>{s(),t.set(n,a),a.play()?.catch(i=>{if((0,LG.u)(i)){eC.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){LH.warn(`Error playing soundboard sound: ${e.message}`)}finally{(0,bX.g0)(t,i)}}})();_handleRTCConnectionState=e=>{let{state:t}=e;t===eL.S7L.RTC_CONNECTED&&(LL.bW.loadIfNecessary(),(0,bX.E7)({disableAnalytics:!0}))};_handleOverlaySoundboardSoundsFetchRequest=()=>{(0,bX.E7)()};_handleOpenEducationModal=(e,t)=>{if(null==e)return;let i=ib.A.getChannel(t),r=Oj.Ay.getKeybindForAction(eL.hCu.SOUNDBOARD_HOLD);null!=i&&(0,NS.Ay)(i)&&null!=r&&Ng.A.hasHotspot(LD._2.SOUNDBOARD_WHEEL_EDUCATION_MODAL)&&(0,nC.openModalLazy)(async()=>{let{default:t}=await Promise.all([n.e("26912"),n.e("51143")]).then(n.bind(n,888762));return n=>(0,k.jsx)(t,{...n,guildId:e,keybind:r,channel:i})})}}let LY=new Lj;class LW extends nK.A{_initialize(){e$.h.subscribe("VOICE_STATE_UPDATES",this.handleVoiceStateUpdates)}_terminate(){e$.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,iv.eY)(e)!==iv.zF.ON_STAGE&&(this.handleStopStream(e),this.handleStopUserVideo())})};handleStopStream=e=>{let t=iR.A.getActiveStreamForUser(e.userId,e.guildId);null!=t&&(0,oP.vN)((0,iy._z)(t),!1)};handleStopUserVideo=()=>{tI.Ay.isVideoEnabled()&&is.A.setVideoEnabled(!1)}}let LK=new LW,Lz="STAGE_INVITED_TO_SPEAK_MODAL";class L$ extends nK.A{_initialize(){e$.h.subscribe("VOICE_STATE_UPDATES",this.handleVoiceStateUpdates)}_terminate(){e$.h.unsubscribe("VOICE_STATE_UPDATES",this.handleVoiceStateUpdates)}handleVoiceStateUpdates=e=>{let{voiceStates:t}=e,i=eW.default.getId(),r=Nl.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,nC.hasModalOpen)(Lz)&&(0,nC.closeModal)(Lz);return}let o=ib.A.getChannel(a);if(!o?.isGuildStageVoice())return;let l=(0,iv.eY)(s)===iv.zF.REQUESTED_TO_SPEAK_AND_AWAITING_USER_ACK;if(null!=o&&l){if((0,nC.hasModalOpen)(Lz))return;(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("89194"),n.e("90037")]).then(n.bind(n,427412));return t=>(0,k.jsx)(e,{...t,channel:o})},{modalKey:Lz,onCloseRequest:eL.FXj})}}}let Lq=new L$;var LZ=n(863922),LX=n(353202);n(667532);var LQ=n(724066),LJ=n(100767),L0=n(379418),L1=n(9842),L2=n(761640),L3=n(54570),L6=n(8880);n(75804);let L4=[],L5=null,L7=null,L8=null,L9=/\|\|([\s\S]+?)\|\|/g;function we(e,t,n,i){let r=tx.A.getGuild(n),s=e.replace(L9,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):SS.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,o5.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=L0.kx[n],r=1e3*parseInt(t,10),s=IX()(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 wt(){if(!LJ.$j)return!1;let e=vj.default.locale;null==L8&&(L8=window.speechSynthesis?.getVoices());let t=L8.filter(t=>t.lang===e||t.lang.slice(0,e.length)===e);L7=t.length>0?t[0]:null}async function wn(e,t,n,i,r){let s=LJ.aW(e,n);null!==s&&(null==L7&&wt(),t?await (0,L3.pr)():L5?.removeEventListener("end",L3.pr),s.addEventListener("end",L3.pr),null!=i&&s.addEventListener("start",i),null!=r&&s.addEventListener("end",r),L5=s,LJ.wz(s,L7))}function wi(e,t,n,i,r){wn(e,t,r,()=>{(0,L3.kC)(n,i)})}function wr(e){let{text:t,interrupt:n,maxLength:i,onStart:r,onEnd:s}=e;wn(t,n,i,r,s)}function ws(){return null!==L5&&L5.removeEventListener("end",L3.pr),LJ._X(),L5=null,!0}function wa(e){let{message:t,channel:n}=e,i=t.type===eL.lAJ.REPLY?L1.A.getMessageByReference(t.messageReference):null,r=i?.state===L1.a.LOADED?i?.message?.author:null,s=null!=r?SS.Ay.getNick(n.guild_id,r?.id)??st.Ay.getName(r):null,a=n.getGuildId(),o=SS.Ay.getNick(a,t.author.id)??st.Ay.getName(t.author);return wi(we(t.content,o,a,s),!0,n.id,t.id),!0}function wo(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=nZ.A.getChannelId(),a=L2.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(L4.indexOf(n.id)>=0)return!1;L4.unshift(n.id)>10&&L4.pop();let e=r.getGuildId();if(null!=e&&CB.Ay.getMutedChannels(e).has(t))return!1;let i=SS.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?SS.Ay.getNick(e,s?.id)??st.Ay.getName(s):null;wi(we(n.content,i,e,a),!1,r.id,n.id,200)}return!1}function wl(e){let{id:t,channelId:n}=e,i=L6.A.currentMessage;return null!=i&&t===i.messageId&&n===i.channelId&&((0,L3.pr)(),!0)}function wu(){tI.Ay.isSelfDeaf()&&LJ._X()}function wc(e){let{channelId:t}=e,n=L6.A.currentMessage;null!=n&&n.channelId!==t&&(0,L3.pr)()}let wd={init(){e$.h.subscribe("SPEAK_TEXT",wr),e$.h.subscribe("SPEAK_MESSAGE",wa),e$.h.subscribe("STOP_SPEAKING",ws),e$.h.subscribe("MESSAGE_CREATE",wo),e$.h.subscribe("MESSAGE_DELETE",wl),e$.h.subscribe("AUDIO_TOGGLE_SELF_DEAF",wu),e$.h.subscribe("CHANNEL_SELECT",wc),e$.h.subscribe("USER_SETTINGS_PROTO_UPDATE",wt),(0,LQ.I)(wt)}};var w_=n(403777),wf=n(80556);let wh=(0,n(240921).Ay)({name:"2026-04-safety-flows",kind:"user",defaultConfig:{enabled:!1},variations:{0:{enabled:!1},1:{enabled:!0}}});var wp=n(907135),wE=n(446868),wm=n(665095),wg=n(639719),wA=n(53516),wI=n(87404);let wT={init(){e$.h.subscribe("CONNECTION_OPEN",this.handleRequiredAction),e$.h.subscribe("USER_REQUIRED_ACTION_UPDATE",this.handleRequiredAction),e$.h.subscribe("CURRENT_USER_UPDATE",this.handleCurrentUserUpdate),eW.default.addChangeListener(this.handleAuthenticationStoreChanged)},handleRequiredAction(e){let t=e.requiredAction;!va.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||wE.A.isEmailReverification(t)?function(e){let{location:t}=e;return wh.getConfig({location:t}).enabled}({location:"verification-legacy"})?(0,CQ.B8)(e=>{let{closeLayer:t}=e;return(0,k.jsx)(wp.A,{onClose:t})},{layerKey:wI._s,Layer:wf.Ay}):(0,CQ.B8)(()=>(0,k.jsx)(wm.A,{}),{layerKey:wI._s,Layer:wf.Ay}):t===eL.a3B.AGREEMENTS?(0,nC.openModal)(e=>(0,k.jsx)(wg.default,{...e}),{modalKey:wI.i$,onCloseRequest:R9.FX,dismissable:!1}):t===eL.a3B.REQUIRE_SAFETY_FLOWS?(0,CQ.B8)(e=>{let{closeLayer:t}=e;return(0,k.jsx)(wp.A,{onClose:t})},{layerKey:wI._s,Layer:wf.Ay}):null==t&&((0,CQ.dF)(wI._s),(0,nC.hasModalOpen)(wI.i$)&&(0,nC.closeModal)(wI.i$)))},handleAuthenticationStoreChanged(){null==eW.default.getId()&&((0,CQ.dF)(wI._s),(0,nC.closeModal)(wI.i$),(0,nC.closeModal)(wI.Pr),(0,nC.closeModal)(wI.H1),(0,nC.closeModal)(wA.V))},handleCurrentUserUpdate(e){let{user:t}=e;t.verified&&(0,nC.closeModal)(wI.H1)}};var wS=n(803805),wN=n(761821);let wy="selectedChannelGuildFrecency";function wC(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=wS.tC.create();return r.format="IMAGE"===n.format?wS.TL.IMAGE:"VIDEO"===n.format?wS.TL.VIDEO:wS.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 wv=[{version:2,run(e){let t=wC(1);if(0===t.length)return!1;for(let{url:n,favorite:i}of(null==e.favoriteGifs&&(e.favoriteGifs=wS.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=wS.tQ.create(),e.favoriteStickers.stickerIds=im().uniq(n.favorites).slice(0,250),i=!0),im().size(n.usageHistory)>0&&(e.stickerFrecency=wS.Do.create(),e.stickerFrecency.stickers=(0,wN.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=wS.gW.create(),e.favoriteEmojis.emojis=im().uniq(t.favorites).slice(0,250),n=!0),im().size(t.usageHistory)>0&&(e.emojiFrecency=wS.Q8.create(),e.emojiFrecency.emojis=(0,wN.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=wS.uz.create()),null==e.favoriteGifs.gifs&&(e.favoriteGifs.gifs={});let t=wC(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=wS.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=wS.tC.toBinary(s).length+r.length+7;n+a>762880||(n+=a,e.favoriteGifs.gifs[r]=s)}for(n=wS.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=wS.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=wS.Zc.create(),e.applicationCommandFrecency.applicationCommands=(0,wN.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=wS.Qn.create(),Sy.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(wy);if(null==t)return!1;for(let e in t)eL.Ut1.test(e)||delete t[e];return e.guildAndChannelFrecency=wS.F1.create(),e.guildAndChannelFrecency.guildAndChannels=(0,wN.Mr)(t,100),!0},cleanup(){tA.w.remove(wy)}},{version:10,run(e){if(null==e.emojiFrecency)return!1;let t=e.emojiFrecency.emojis??{},n=!1;if(im().size(t)>0){let t=wS.Q8.create();wS.Q8.mergePartial(t,e.emojiFrecency),null!=e.emojiReactionFrecency&&wS.Q8.mergePartial(t,e.emojiReactionFrecency),e.emojiReactionFrecency=t,n=!0}return n},cleanup(){}}];n(393431),n(532706),n(42231),n(232424),n(949626),n(767709),n(65162);var wO=n(406935),wR=n(168186),wb=n(460288),wD=n(573879);function wL(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,wb.c0)(e.userContent.dismissedContents,t)||(e.userContent.dismissedContents=(0,wb.Vf)(e.userContent.dismissedContents,t),n=!0),n}function ww(e,t,n){return!!LD.HP.hasHiddenHotspot(t)&&wL(e,n)}let wM=[{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,wN.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=wO.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")||LD.HP.hasHiddenHotspot(LD._2.HUB_SECOND_EMAIL_CONNECTION_UPSELL))&&(t=wL(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=wO._t.create({value:n.useRichChatTextBox}),t=!0),"string"==typeof n.renderSpoilers&&(e.textAndImages.renderSpoilers=wO.hU.create({value:n.renderSpoilers}),t=!0),"boolean"==typeof n.useThreadSidebar&&(e.textAndImages.useThreadSidebar=wO._t.create({value:n.useThreadSidebar}),t=!0),"boolean"==typeof n.showInAppNotifications&&(e.notifications.showInAppNotifications=wO._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=wO._t.create({value:n.viewImageDescriptions}),t=!0),"boolean"==typeof n.showCommandSuggestions&&(e.textAndImages.showCommandSuggestions=wO._t.create({value:n.showCommandSuggestions}),t=!0),"boolean"==typeof n.alwaysPreviewVideo&&(e.voiceAndVideo.alwaysPreviewVideo=wO._t.create({value:n.alwaysPreviewVideo}),t=!0),"boolean"==typeof n.notifyFriendsOnGoLive&&(e.notifications.notifyFriendsOnGoLive=wO._t.create({value:n.notifyFriendsOnGoLive}),t=!0),"boolean"==typeof n.installShortcutDesktop&&(e.gameLibrary.installShortcutDesktop=wO._t.create({value:n.installShortcutDesktop}),t=!0),"boolean"==typeof n.installShortcutStartMenu&&(e.gameLibrary.installShortcutStartMenu=wO._t.create({value:n.installShortcutStartMenu}),t=!0),"boolean"==typeof n.allowActivityPartyPrivacyFriends&&(e.privacy.allowActivityPartyPrivacyFriends=wO._t.create({value:n.allowActivityPartyPrivacyFriends}),t=!0),"boolean"==typeof n.allowActivityPartyPrivacyVoiceChannel&&(e.privacy.allowActivityPartyPrivacyVoiceChannel=wO._t.create({value:n.allowActivityPartyPrivacyVoiceChannel}),t=!0),"boolean"==typeof n.rtcPanelShowVoiceStates&&(e.debug.rtcPanelShowVoiceStates=wO._t.create({value:n.rtcPanelShowVoiceStates}),t=!0),t},cleanup(){}},{version:7,run:e=>ww(e,LD._2.APPLICATION_COMMAND_TOOLTIP,rM.M.APPLICATION_COMMAND_TOOLTIP),cleanup(){}},{version:8,run:e=>ww(e,LD._2.CHANNEL_BANNER_MEMBER_LIST_NOTICE,rM.M.CHANNELINFO_CHANNELBANNER_NOTICE),cleanup(){}},{version:9,run:e=>(LD.HP.hasHiddenHotspot(LD._2.MULTI_ACCOUNT_TOOLTIP)&&tA.w.set(wD.JE,"true"),ww(e,LD._2.MULTI_ACCOUNT_TOOLTIP,rM.M.ACCOUNT_MULTIACCOUNT_TOOLTIP)),cleanup(){}},{version:10,run(e){let t=ww(e,LD._2.HUB_LINK_CHANNEL_NOTICE,rM.M.CHANNEL_NOTICE_HUBLINK),n=tA.w.get("channelNotices")??{};return!1===n[eL.n5X.INVITE]&&wL(e,rM.M.CHANNEL_NOTICE_INVITE)&&(t=!0),!1===n[eL.n5X.QUICKSWITCHER]&&wL(e,rM.M.CHANNEL_NOTICE_QUICKSWITCHER)&&(t=!0),!1===n[eL.n5X.GUILD_BOOSTING]&&wL(e,rM.M.CHANNEL_NOTICE_PREMIUM_GUILD_SUBSCRIPTION)&&(t=!0),t},cleanup(){tA.w.remove("channelNotices")}},{version:11,run(e){let t=!1;return ww(e,LD._2.GUILD_EVENT_UPSELL,rM.M.GUILD_HEADER_EVENT_UPSELL)&&(t=!0),ww(e,LD._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")&&wL(e,rM.M.NAGBAR_NOTICE_DOWNLOAD)&&(t=!0),tA.w.get("hideConnectSpotify")&&wL(e,rM.M.NAGBAR_NOTICE_CONNECT_SPOTIFY)&&(t=!0),tA.w.get("hideConnectPlayStation")&&wL(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")&&wL(e,rM.M.NAGBAR_NOTICE_PREMIUM_PROMO)&&(t=!0),tA.w.get("hidePremiumTier2TrialEnding")&&wL(e,rM.M.NAGBAR_NOTICE_PREMIUM_TIER_TWO_TRIAL_ENDING)&&(t=!0),tA.w.get("hidePremiumReactivateNotice")&&wL(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=>ww(e,LD._2.ACTIVITY_BEB_TUTORIAL,rM.M.ACTIVITIES_TUTORIAL_COACH_MARK),cleanup(){}},{version:15,run:e=>ww(e,LD._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=wO.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=wO._t.create({value:n}),!0)},cleanup(){tA.w.remove("ExpressionSuggestionsPersistedStore")}},{version:18,run(e){let t=!1;return ww(e,LD._2.GUILD_DELETE_FEEDBACK,rM.M.GUILD_DELETE_FEEDBACK)&&(t=!0),ww(e,LD._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=wL(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,wR.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 wP=n(405892);let wx={init(){wP.A[yL.oD.PRELOADED_USER_SETTINGS]=wM,wP.A[yL.oD.FRECENCY_AND_FAVORITES_SETTINGS]=wv,e$.h.subscribe("CONNECTION_OPEN",wU),e$.h.subscribe("USER_SETTINGS_PROTO_ENQUEUE_UPDATE",wk),e$.h.subscribe("USER_SETTINGS_PROTO_LOAD_IF_NECESSARY",wG),e$.h.subscribe("APP_STATE_UPDATE",wF)}};function wU(){let e=tu.A.getFullState(),t=e[yL.oD.PRELOADED_USER_SETTINGS];t.editInfo.triggeredMigrations&&LL.wc.markDirtyFromMigration(t.proto,t.editInfo.cleanupFuncs),im().forEach(LL.Df,(t,n)=>{let i=e[Number(n)];null!=i.editInfo.offlineEditDataVersion&&null!=i.editInfo.protoToSave&&t.scheduleSaveFromOfflineEdit()})}function wk(e){let{settings:{proto:t,type:n},delaySeconds:i,jitter:r}=e;LL.Df[n].markDirty(t,{delaySeconds:i,jitter:r})}function wG(e){let{settingsType:t}=e;LL.Df[t].loadIfNecessary()}function wF(e){let{state:t}=e;("inactive"===t||"background"===t)&&im().forEach(LL.Df,(e,t)=>{null!=tu.A.getFullState()[Number(t)].editInfo.timeout&&(e.logger.log("Triggering persistChanges due to AppStateUpdate"),e.persistChanges())})}function wV(){let e=s;if(null==e||!ay.A.isOpen(e))return!1;e$.h.wait(()=>aA.VN(e)),iL.A.getRTCConnection()?.setPipOpen(!1),s=null}function wB(){let e=iL.A.getChannelId(),t=s===e;if(function(){let e=iL.A.getChannelId(),t=nZ.A.getChannelId();if(!tI.Ay.supports(il.O5.VIDEO)||io.A.getWindowOpen(eL.MLl.CHANNEL_CALL_POPOUT))return!0;let n=null!=e&&iR.A.getAllActiveStreams().some(t=>!t5.A.isParticipantPoppedOut(e,(0,iy._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=rk.A.hasLayers();return!(i&&rk.A.getLayers().includes(eL.zgK.RTC_DEBUG))&&(!!i||e===t)}())return wV();if(t||wV(),null==e)return!1;let n=ib.A.getChannel(e);return!(null==n||ay.A.isOpen(e))&&(e$.h.wait(()=>aA.ho(n.id,eL.o1q.VIDEO,{channel:n})),iL.A.getRTCConnection()?.setPipOpen(!0),void(s=e))}class wH extends nK.A{_initialize(){nZ.A.addChangeListener(wB),nX.A.addChangeListener(wB),iL.A.addChangeListener(wB),iM.A.addChangeListener(wB),rk.A.addChangeListener(wB),iR.A.addChangeListener(wB),io.A.addChangeListener(wB),tI.Ay.addChangeListener(wB),iI.Ay.addChangeListener(wB),t5.A.addChangeListener(wB)}_terminate(){nZ.A.removeChangeListener(wB),nX.A.removeChangeListener(wB),iL.A.removeChangeListener(wB),iM.A.removeChangeListener(wB),rk.A.removeChangeListener(wB),iR.A.removeChangeListener(wB),io.A.removeChangeListener(wB),tI.Ay.removeChangeListener(wB),iI.Ay.removeChangeListener(wB),t5.A.removeChangeListener(wB)}}let wj=new wH;var wY=n(885576);let wW=new n4.Ep,wK=new n4.Ep;class wz extends nK.A{_initialize(){e$.h.subscribe("IDLE",this.handleIdleUpdate)}_terminate(){wW.stop(),wK.stop(),e$.h.unsubscribe("IDLE",this.handleIdleUpdate)}handleIdleUpdate(){let e=wY.A.getIdleSince();if(!ek.isPlatformEmbedded)return;for(let e of(wW.stop(),wK.stop(),iR.A.getAllActiveStreams()))if(e.state!==eL.XYD.ENDED)return;if(null==e)return;let t=iL.A.getChannelId();if(null==t)return;wK.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()||wW.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 w$=new wz;var wq=n(565058);let wZ=!1,wX=null,wQ={init(){e$.h.subscribe("CONNECTION_OPEN",e=>{let{pendingPayments:t}=e;if(null!=t&&t.length>0){var i;if(wX===t[0]||null==(wX=t[0]))return;i=wX,wZ||(wZ=!0,(0,nC.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,k.jsx)(e,{pendingPayment:i,transitionState:n,onClose:()=>(wZ=!1,r())})}}))}})}};var wJ=n(612181);n(115036),n(131319),n(794383),n(530789),n(712687),n(328968),n(116956),n(304296),n(628965);let w0=eL.XlH.CLOSED,w1={},w2=null;function w3(){let e=tT.default.getCurrentUser();if(null==e)return w6();w0=eL.XlH.OPEN,w1={},w2={...{userId:e.id,username:e.username,discriminator:e.discriminator,email:e.email,avatar:e.avatar,password:"",newPassword:null,claimed:e.isClaimed()}}}function w6(){w0=eL.XlH.CLOSED,w2=null,w1={}}function w4(){w0=eL.XlH.OPEN,w1={}}class w5 extends e6.Ay.Store{static displayName="UserSettingsAccountStore";initialize(){this.waitFor(tT.default)}getErrors(){return w1}getSubmitting(){return w0===eL.XlH.SUBMITTING}getSettings(){return w2}}new w5(e$.h,{USER_SETTINGS_MODAL_OPEN:function(){w3()},USER_SETTINGS_MODAL_INIT:w3,USER_SETTINGS_MODAL_CLOSE:w6,LOGOUT:w6,USER_SETTINGS_MODAL_SUBMIT:function(){w0=eL.XlH.SUBMITTING},USER_SETTINGS_MODAL_SUBMIT_FAILURE:function(e){if(w0!==eL.XlH.SUBMITTING)return!1;w0=eL.XlH.OPEN,w1=e.errors??{}},USER_SETTINGS_MODAL_UPDATE_ACCOUNT:function(e){let{settings:t}=e;null==w2&&(w2={}),w2={...w2,...t}},USER_SETTINGS_MODAL_SUBMIT_COMPLETE:w4,USER_SETTINGS_MODAL_RESET:function(){let e=tT.default.getCurrentUser();w4(),null!=e&&(w2={...{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 w7=!1;function w8(){w7=!1}class w9 extends e6.Ay.Store{isTogglesDisabled(){return w7}}new w9(e$.h,{AD_PERSONALIZATION_TOGGLES_RESTRICTED:function(e){w7=e.disabled??!1},CONNECTION_OPEN:w8,LOGOUT:w8}),n(787301),n(632789);var Me=n(453001);n(753027),n(989837),n(166862),n(264322),n(861382),n(715314);var Mt=n(61090);n(237751);var Mn=n(154049),Mi=n(937724),Mr=n(799422),Ms=n(723176);let Ma=new tb.A("GuildBasicChannels");function Mo(e,t){return null==e||e.type!==t.type||e.parent_id!==t.parent_id||lJ.A.computeBasicPermissions(e)!==lJ.A.computeBasicPermissions(t)}let Ml=new class{synced=null;async getAsync(e){let t=performance.now(),[n,i]=await Promise.all([Ms.A.basicChannels(e).getKvEntries(),Ms.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,Ma.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))Mo(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,iO.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=CR.A.lastTimeConnectedChanged(),t=Ms.A.database();if(null==this.synced||null==t||!(0,Mi.O)())return;let n=tx.A.getGuildIds(),i=n.filter(e=>!this.synced.has(e));for(let r of(Ma.verbose(`scheduling basic_channel optimstic writes (guilds: ${i.length})`),n)){if(null==this.synced||t!==Ms.A.database()||e!==CR.A.lastTimeConnectedChanged())break;if(!this.synced.has(r)){Ma.verbose(`optimstically writing basic_channels (guild: ${r})`);try{await ib.D.loadGuildIds([r]),await t.transaction(e=>this.syncOne(r,e),"handlePostConnectionOpen")}catch(e){Ma.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&&Cb.aI(Cb.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=>Mo(ib.A.getBasicChannel(e.id),e)))&&this.unsync(e,i)}onGuildSync(e,t){this.unsync(e,t)}delete(e,t){this.unsync(e,t),Ms.A.basicChannelsTransaction(t).delete(e),Ms.A.syncedBasicChannelsTransaction(t).delete(e)}unsync(e,t){this.synced?.delete(e),Ms.A.basicChannelsTransaction(t).delete(e),Ms.A.syncedBasicChannelsTransaction(t).put(e,!1),Me.A.invalidate(e)}sync(e){Ma.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;Ma.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),Ms.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:Mr.A.asBasicFlag(lJ.A.computePermissions(e))})))),Ms.A.syncedBasicChannelsTransaction(t).put(e,!0),!0)}};var Mu=n(860689),Mc=n(9865),Md=n(7864);let M_=new tb.A("Guilds"),Mf=new class{async getAsync(e){let t=performance.now(),n=await Ms.A.guilds(e).getMany(),i=performance.now();return M_.verbose(`loaded in ${i-t}ms (guilds: ${n.length})`),n}async getOneAsync(e,t){return await Ms.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?Md.ly(n.id,i,n.partial_updates.roles,n.partial_updates.deleted_role_ids):Mc.hd(n.id,n.roles);this.put(Mu.Me(Mu.kI(n,e),Mc.cH(r),SS.Ay.getSelfMember(n.id)),t)}}}handleConnectionOpen(e,t){let n=[...e.guilds.map(e=>e.id),...e.unavailableGuilds];for(let i of(Ms.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=Mu.Y1(e.guild,n);this.put(Mu.Me(i,Mc.cH(Mc.hd(e.guild.id,e.guild.roles)),SS.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(Mu.Me(n,Mc.cH({...i,[e.role.id]:Mc.Wj(e.guildId,e.role)}),SS.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=SS.Ay.getSelfMember(e.guildId);null!=r&&(r={...r,roles:r.roles.filter(t=>t!==e.roleId)}),this.put(Mu.Me(n,Mc.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(Mu.Me((0,nq.kn)(n,e.joinedAt),Mc.cH(tP.A.getUnsafeMutableRoles(n.id)),SS.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(Mu.Me(n,Mc.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 void eC.A.captureMessage("AppDatabase Guilds.putOne skipped: partial payload without cached record");let r=Mc.j_(e.id,e.roles,tP.A.getUnsafeMutableRoles(e.id)),s=Mu.Me(Mu.Wj(e,i),Mc.cH(r),null!=n?{userId:n.user.id,roles:n.roles}:null);this.put(s,t)}put(e,t){Ms.A.guildsTransaction(t).put(e)}delete(e,t){Ms.A.guildsTransaction(t).delete(e)}};var Mh=n(314732),Mp=n(586660),ME=n(214771);let Mm=new tb.A("ReadStates"),Mg=new class{readStateVersion=null;async getAll(e){let t=performance.now(),n=await Ms.A.readStates(e).getMany(),i=performance.now();return Mm.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:Mm.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(Sy.default.compare).reverse().value()[0]??"0",n))null!=e._lastMessageId&&(1===Sy.default.compare(e._lastMessageId,t)&&(t=e._lastMessageId),s.has(e.channelId)&&1===Sy.default.compare(e._lastMessageId,i)&&(i=e._lastMessageId));Ms.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=Ms.A.readStatesTransaction(e);i.delete(),n.forEach(e=>i.put(`${e.type}-${e.channelId}`,e))}},MA=new tb.A("ReadStates"),MI=new class{async getAll(e){let t=performance.now(),n=await Ms.A.userGuildSettings(e).getMany(),i=performance.now();return MA.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||Ms.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=Ms.A.userGuildSettingsTransaction(n);for(let t of e){let e={...(0,CB.wn)(t.guild_id),...t,channel_overrides:(0,CB.b5)(t.channel_overrides)};i.put(t.guild_id??"dm-sentinel",e)}Ms.A.nonGuildVersionsTransaction(n).put({id:"user_guild_settings_version",version:t})}};var MT=n(45773);let MS=new tb.A("UserSettingsProto");class MN{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 Ms.A.userSettings(e).getMany(),i=performance.now();MS.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=MT.A.database(e);t?.transaction(e=>{let t=tu.A.computeState(),n=Ms.A.userSettingsTransaction(e);for(let e in t)n.put({id:Number(e),value:t[e]});let i=tu.A.settings.versions?.dataVersion??-1;Ms.A.nonGuildVersionsTransaction(e).put({id:"user_settings_version",version:i})},"handleUserSettingsProtoChange")};throttledOnChange=im().debounce(this.handleUserSettingsProtoChange,0);resetInMemoryState(){}}let My=new MN;var MC=n(531743),Mv=n(917878),MO=n(464578),MR=n(736400);let Mb=new tb.A("CacheStore"),MD=!1,ML="initializing",Mw=0;async function MM(e,t,n){let i=performance.now();if(null==e||null==n)return Mb.verbose(`skipped loaded messages (channel: ${n}, database: ${e}).`),[performance.now()-i,{guildId:null,channelId:null,users:[],members:[],messages:[]}];{let r=await Mp.Ay.startupLoad(e,t,n,eL.EMb);Mb.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 Mv.A.recordChannelFetchedLocal(n,Mv.a,null,null,eL.EMb,r.messages),[performance.now()-i,s]}}async function MP(e,t,n){Mb.verbose("loading early cache");let i=CR.A.getSocket();i.connect();let r=nX.A.getGuildId()??null,s=nZ.A.getChannelId()??null,a=performance.now(),o=MO.A.loadCachedMessages.measureAsyncWithoutNesting(()=>MM(e,r,s)),l=MO.A.fetchGuildCache.measureAsync(()=>MU(e,n)),u=MO.A.fetchGuildCache.measureAsync(()=>Mk(e,n)),c=null!=e?Mt.A.timeAsync("\uD83D\uDCBE","cache: private_channels",()=>MC.A.getAsync(e,null)):Promise.resolve([]),d=null==e?Promise.resolve({}):Mt.A.timeAsync("\uD83D\uDCBE","cache: user_settings",()=>My.getAll(e)),_=null==e?Promise.resolve([]):Mt.A.timeAsync("\uD83D\uDCBE","cache: read_states",()=>Mg.getAll(e)),f=null==e?Promise.resolve([]):Mt.A.timeAsync("\uD83D\uDCBE","cache: user_guild_settings",()=>MI.getAll(e)),[[h,p],E,m,g,A,I,T]=await Promise.all([o,l,u,c,d,_,f]),S=performance.now()-a;if(Mb.verbose(`cache loaded in ${S}ms (channel_history ${h}ms)`),null==p)return Mb.verbose("finished without dispatching CACHE_LOADED"),[!1,null,0];let N=Object.fromEntries(p.members.map(e=>[e.userId,e])),y=null!=m.guildId&&null!=m.channels,C=m.guildId;return await new Promise((e,t)=>e6.Ay.Emitter.batched(()=>{Mt.A.time("\uD83D\uDCBE","Dispatch Mini Cache",()=>e$.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]:N},userSettings:A,userGuildSettings:T,readStates:I}).then(e,t)),Mt.A.time("\uD83D\uDCBE","socket.processFirstQueuedDispatch()",()=>i.dispatcher.processFirstQueuedDispatch(new Set(["INITIAL_GUILD"])))})),Mb.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: ${C}
              channels: ${m.channels?.length}
            user_settings: ${Object.keys(A).length}
            read_states: ${I.length}
            user_guild_settings: ${T.length}
      )`),MO.A.setEarlyCacheInfo({guilds:E.length}),Mb.verbose("finished dispatching CACHE_LOADED"),[!0,y?C??null:null,g.length]}let Mx=!1;async function MU(e,t){if(null==e)return[];switch(t.page){case"private-channels":case"guild-channels":Mx=!0;break;case"other":"@me"===t.guildId&&(Mx=!0)}if(Mx)return await (0,Mn.kk)(()=>Mt.A.timeAsync("\uD83D\uDCBE","cache: guilds",()=>Mf.getAsync(e)))??[];let n=(await ME.A.getCommittedVersions()).initial_guild_id??t.guildId;if(null==n||"@me"===n)return[];let i=await (0,Mn.kk)(()=>Mf.getOneAsync(e,n));return null!=i?[i]:[]}async function Mk(e,t){if(null==e)return Promise.resolve({channels:null,guildId:null});let n=(await ME.A.getCommittedVersions()).initial_guild_id;if(null==n&&"guild-channels"===t.page&&(n=t.guildId),null==e||null==n)return Mb.verbose(`skipped loading initial guild (guild: ${n}, database: ${e})`),Promise.resolve({channels:null,guildId:null});let i=n;return{channels:await (0,Mn.kk)(()=>MC.A.getAsync(e,i)),guildId:n}}async function MG(e,t,n,i){Mb.verbose("loading late lazy cache");let[r,s,a]=await MO.A.fetchLazyCache.measureAsync(()=>Promise.all([(0,Mn.kk)(()=>null!=e?Mt.A.timeAsync("\uD83D\uDCBE","cache: cache_version",()=>Mh.A.okAsync(e)):Promise.resolve(!0)),(0,Mn.kk)(()=>null==e||Mx?Promise.resolve([]):Mt.A.timeAsync("\uD83D\uDCBE","cache: lazy guilds",()=>Mf.getAsync(e))),(0,Mn.kk)(()=>null!=e?Mt.A.timeAsync("\uD83D\uDCBE","cache: basic_channels",()=>Ml.getAsync(e)):Promise.resolve({all:[],stale:[],channels:[]}))])),o=await MO.A.fetchStaleChannels.measureAsync(()=>null!=e&&null!=a&&a.stale.length>0?(0,Mn.kk)(()=>{var t;return t=a.stale,Mb.verbose(`loading stale guild channels (count: ${t.length}, ids: ${t.join(", ")})`),Promise.all(t.map(t=>MC.A.getAsync(e,t).then(e=>[t,e])))}):Promise.resolve([]));tk.iQ.getCachedEnabled()?Mb.verbose("loadLateLazyCache: not yielding to react"):(Mb.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,ek.isIOS)()?0:void 0)),MO.A.loadLazyCache.recordStart();let l=CR.A.getSocket();MF(()=>{let u=performance.now();if(!1===r){e$.h.dispatch({type:"CLEAR_CACHES",reason:"database:not_ok"}),e$.h.dispatch({type:"CACHE_LOADED_LAZY_NO_CACHE"});return}if(null==s||null==a||null==o){Mb.log(`couldn't load database item (
          database: ${null!=e}
          basic_channels: ${null!=a}
          guild_channels: ${null!=o}
          guilds: ${null!=s}
        )`),e$.h.dispatch({type:"CLEAR_CACHES",reason:"database:load_failed"}),e$.h.dispatch({type:"CACHE_LOADED_LAZY_NO_CACHE"});return}if(null==r&&(s.length>0||a.all.length>0)){Mb.log("kv_cache was not ok (null version with values)"),e$.h.dispatch({type:"CLEAR_CACHES",reason:"database:versionless"}),e$.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};MO.A.deserializeCache.measure(()=>{null!=c.channels&&(0,MR.Ay)(c.channels),null!=c.privateChannels&&(0,MR.Ay)(c.privateChannels),null!=c.guildChannels&&(0,MR.X3)(c.guildChannels)}),MO.A.dispatchLazyCache.measure(()=>e$.h.dispatch(c)),Mb.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,f=a.all.reduce((e,t)=>{let[n,i]=t;return e+i.length},0),h=a.channels.reduce((e,t)=>{let[n,i]=t;return e+i.length},0),p=f-h,E=0===a.stale.length?"":` \xb7 ${a.stale.join(", ")}`;Mb.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: ${f} (${a.channels.length} guilds)
              stale: ${p} (${a.stale.length} guilds${E})
              unstale: ${h}
            full_channels (guilds_with_stale_basic_channels):
              total: ${d} (${o.length} guilds)
      )`),MO.A.setLazyCacheInfo({guilds:s.length,privateChannels:i,basicChannels:f,basicChannelsStale:p,fullChannels:d,fullChannelGuilds:_})})}function MF(e){let t=CR.A.getSocket(),n=!1;e6.Ay.Emitter.batched(()=>{try{if(e(),!t.dispatcher.hasStuffToDispatchNow()){Mb.verbose("Unpausing Dispatch Queue"),t.dispatcher.unpauseDispatchQueue();return}n=!0,MO.A.loadLazyCache.recordEnd(),Mb.verbose("Processing First Queued Dispatch"),t.dispatcher.processFirstQueuedDispatch(new Set(["READY","INITIAL_GUILD"])),setTimeout(()=>{Mb.verbose("Unpausing Dispatch Queue"),t.dispatcher.unpauseDispatchQueue()},100)}catch(e){Mb.warn("Lazy cache has encountered error",e),e$.h.dispatch({type:"RESET_SOCKET",args:{error:e,action:"LazyCache"}})}}),n||MO.A.loadLazyCache.recordEnd()}class MV extends e6.Ay.Store{static displayName="CacheStore";initialize(){this.waitFor(eW.default,CR.A,nZ.A,nX.A),CR.A.getSocket().dispatcher.unpauseDispatchQueue()}hasCache(){return!0}getLazyCacheStatus(){return"no-cache"}get lastWriteTime(){return Mw}canWriteCaches(e){return(0,wJ.wR)()?MD?(Mb.log("Not writing cache because caches cleared"),!1):!!e||(Mb.log("Not writing cache because never connected"),!1):(Mb.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});MO.A.setInitialPage(e.page);let s=e.guildId;if(MO.A.setInitialGuildId(null!=s&&"@me"!==s?s:null),"initializing"!==ML){r(),setTimeout(()=>CR.A.getSocket()?.dispatcher?.unpauseDispatchQueue(),0);return}try{let t=eW.default.getId(),n=MT.A.carefullyOpenDatabase(t),[i,s,a]=await MO.A.loadMiniCache.measureAsync(()=>MP(n,t,e));i?(r(),await MG(n,t,s,a)):(r(),await (MF(()=>e$.h.dispatch({type:"CACHE_LOADED_LAZY_NO_CACHE"})),Promise.resolve()))}catch(e){Mb.error("clearing cache. exception encountered while loading cache.",e,e.stack),r(),e$.h.dispatch({type:"RESET_SOCKET",args:{error:e,action:"loadCacheAsync"}})}}}new MV(e$.h,{});let MB=Object.freeze({online:null,total:null}),MH={},Mj={},MY=null;class MW extends e6.Ay.PersistedStore{static displayName="ChannelMemberCountStore";static persistKey="channelMemberCounts";initialize(e){this.waitFor(CR.A,ib.A),Mj=e??MH}getState(){return Mj}getMemberCount(e){return Mj[e]??MB}requestCount(e,t){MY={guildId:e,channelId:t},CR.A.getSocket().requestChannelMemberCount(e,t)}}new MW(e$.h,{CONNECTION_OPEN:function(){null!=MY&&CR.A.getSocket().requestChannelMemberCount(MY.guildId,MY.channelId),Sy.default.keys(Mj).forEach(e=>{null==ib.A.getChannel(e)&&delete Mj[e]})},CHANNEL_MEMBER_COUNT_UPDATE:function(e){let{channelId:t,online:n,total:i}=e;return(null!=n||null!=i)&&(Mj[t]={online:n,total:i}),!0}}),n(309698),n(717125),n(25639),n(725613);var MK=n(47671);n(574520),n(517164),n(99753),n(697627),n(159273),n(924655),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 Mz={},M$={},Mq={},MZ={};function MX(e){let t=M$[e];if(null==t)return;let n=Sy.default.fromTimestamp(Date.now()-9e5),i=im().findIndex(t,e=>Sy.default.compare(e.id,n)>0);if(-1===i)M$[e]=[];else{let n=Math.max(i,t.length-26);M$[e]=im().slice(t,n)}Mq[e]=Date.now()}function MQ(e,t,n,i){Mz[e].add(t);let r=Mq[t];(null==r||r+3e5>Date.now())&&MX(t),null==M$[t]&&(M$[t]=[]),M$[t].push({id:n,userId:i})}function MJ(e){let{channel:t}=e;delete M$[t.id],delete Mq[t.id]}class M0 extends e6.Ay.Store{initialize(){this.waitFor(ib.A,nX.A)}static displayName="ActiveChannelsStore";getActiveChannelsFetchStatus(e){return MZ[e]}getActiveChannelIds(e){return Mz[e]}getChannelMessageData(e){return M$[e]}shouldFetch(e){return null==Mz[e]&&!MZ[e]?.loading}}new M0(e$.h,{CHANNEL_SELECT:function(e){let{channelId:t,guildId:n}=e;if(!(0,yR.mP)(t)||null==n)return!1;let i=Mz[n];if(null==i)return!1;i.forEach(e=>{MX(e),M$[e]?.length===0&&delete M$[e]});let r=im().chain(Array.from(i)).filter(e=>e in M$).sortBy(e=>-(M$[e]?.length??0)).value();Mz[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==Mz[a])return!1;MQ(a,t,n.id,n.author?.id)},GUILD_DELETE:function(e){let{guild:t}=e;delete Mz[t.id]},CHANNEL_DELETE:MJ,THREAD_DELETE:MJ,ACTIVE_CHANNELS_FETCH_START:function(e){let{guildId:t}=e;MZ[t]={loading:!0,error:null,fetchedAt:Date.now()}},ACTIVE_CHANNELS_FETCH_SUCCESS:function(e){let{guildId:t,channels:n}=e;MZ[t]={loading:!1,error:null,fetchedAt:Date.now()},Mz[t]=new Set,n.forEach(e=>{let{channel_id:n,messages:i}=e;i.forEach(e=>{MQ(t,n,e.message_id,e.user_id)})})},ACTIVE_CHANNELS_FETCH_FAILURE:function(e){let{guildId:t,error:n}=e;MZ[t]={loading:!1,error:n,fetchedAt:null}},CONNECTION_OPEN:function(){}}),n(212455),n(879408),n(151781),n(591552),n(713125),n(871109);var M1=n(936649);let M2={};function M3(e,t){let n=M2[e];return!(null==n||n.has(t))&&(M2[e]=new Set(n.add(t)),!0)}class M6 extends e6.Ay.PersistedStore{static displayName="GuildProgressStore";static persistKey="GuildProgressStore";initialize(e){this.waitFor(eW.default,ib.A,tx.A),M2={},null!=e&&Sy.default.keys(e).forEach(t=>{let n=e[t];null!=n&&"function"==typeof n[Symbol.iterator]&&(M2[t]=new Set(n))})}getProgress(e){return M2[e]}hasProgress(e){let t=M2[e];return null!=t&&!t.has(M1.gj.DISMISSED)}getState(){return M2}}new M6(e$.h,{CONNECTION_OPEN:function(){let e=[];Sy.default.keys(M2).forEach(t=>{M2[t].has(M1.gj.COMPLETED)&&e.push(t)}),e.forEach(e=>M3(e,M1.gj.DISMISSED))},GUILD_PROGRESS_INITIALIZE:function(e){let{guildId:t}=e;null==M2[t]&&(M2[t]=new Set),M2[t].has(M1.gj.COMPLETED)||M2[t].delete(M1.gj.DISMISSED)},GUILD_PROGRESS_COMPLETED_SEEN:function(e){let{guildId:t}=e;if(null==M2[t])return!1;M2[t]=new Set(M2[t].add(M1.gj.COMPLETED))},GUILD_PROGRESS_DISMISS:function(e){let{guildId:t}=e;return M3(t,M1.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!=M2[i.id]&&(null!=i.icon&&M2[i.id].add(M1.gj.AVATAR),n>1&&M2[i.id].add(M1.gj.INVITE))},CHANNEL_CREATE:function(e){let{channel:t}=e;return null!=t&&null!=t.guild_id&&null!=M2[t.guild_id]&&M3(t.guild_id,M1.gj.CHANNEL)},CHANNEL_UPDATES:function(e){let{channels:t}=e,n=!1;for(let e of t)null!=e&&null!=e.guild_id&&null!=M2[e.guild_id]&&!1!==M3(e.guild_id,M1.gj.CHANNEL)&&(n=!0);return n},GUILD_SETTINGS_SUBMIT_SUCCESS:function(e){let{guild:t}=e;return null!=t&&null!=t.id&&null!=M2[t.id]&&null!=t.icon&&M3(t.id,M1.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!=M2[i.guild_id]&&M3(i.guild_id,M1.gj.MESSAGE)},GUILD_MEMBER_LIST_UPDATE:function(e){let{guildId:t,memberCount:n}=e;return null!=M2[t]&&n>1&&M3(t,M1.gj.INVITE)}}),n(636194),n(384684),n(331887),n(121780),n(857071),n(752755),n(578623),n(973153),n(401565),n(274303),n(252431);let M4=[],M5=!1;function M7(){return M4.length>=4&&M4.some(e=>e<Date.now()-3*n5.A.Millis.DAY)}class M8 extends e6.Ay.PersistedStore{static displayName="HabitualDNDStore";static persistKey="habitualDND";initialize(e){this.waitFor(l0.A),null!=e&&Array.isArray(e.sessionStartsWithDND)&&(M4=e.sessionStartsWithDND)}showNagBar(){return M5}getState(){return{sessionStartsWithDND:M4}}getTemp(){return{x:tl.CY.getSetting()}}}new M8(e$.h,{POST_CONNECTION_OPEN:function(){l0.A.getStatus()===eL.clD.DND&&"0"===tl.CY.getSetting()?(M4.push(Date.now()),M4=M4.filter(e=>e>Date.now()-5*n5.A.Millis.DAY),M7()&&setTimeout(()=>{e$.h.dispatch({type:"HABITUAL_DND_CLEAR"})},15*n5.A.Millis.SECOND)):M4=[]},HABITUAL_DND_CLEAR:function(){M5=!!M7(),M4=[]}}),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(888668),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(878460),n(769022);var M9=n(674378);let Pe="ActivityTrackingStore",Pt=30*n5.A.Millis.MINUTE,Pn=5*n5.A.Millis.MINUTE,Pi=tA.w.get(Pe)??{},Pr={},Ps=!1;function Pa(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];t&&Po(e,!0);let n=Pr[e.applicationId];null!=n&&(n.stop(),delete Pr[e.applicationId]),delete Pi[e.applicationId],tA.w.set(Pe,Pi)}function Po(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Date.now(),i=null!=e.updatedAt?n-e.updatedAt:0;i>Pt+Pn&&(i=0);let r=(0,M9.kv)(e.applicationId,lX.A),s=nZ.A.getVoiceChannelId(),a=eW.default.getSessionId(),o=iL.A.getMediaSessionId();lj.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=Pr[e.applicationId];null==l&&(l=Pr[e.applicationId]=new n4.IX).start(Pt,()=>Po(e)),t||(Pi[e.applicationId]=e,tA.w.set(Pe,Pi))}function Pl(){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=CF.A.findGame(e);null!=t&&(n.add(t.id),t.id in Pi||Po({applicationId:t.id,updatedAt:Date.now(),distributor:e.distributor,exePath:(0,CO.Ic)(e.exePath??"")}))}for(let t of Object.keys(Pi))n.has(t)||Pa(Pi[t],e)}function Pu(){for(let e of Object.keys(Pi))Pa(Pi[e]);Ps=!1}class Pc extends e6.Ay.Store{static displayName="ActivityTrackingStore";initialize(){this.waitFor(eW.default,CF.A,lX.A,iL.A,ia.Ay,nZ.A,tu.A),this.syncWith([tu.A],Pl)}getActivities(){return Pi}}new Pc(e$.h,{RUNNING_GAMES_CHANGE:()=>Pl(),CONNECTION_OPEN:function(){if(Ps)return!1;for(let e of Object.keys(Pi))Po(Pi[e]);Pl(!1),Ps=!0},CONNECTION_CLOSED:function(e){let{code:t}=e;4004===t&&Pu()},LOGOUT:Pu,ACTIVITY_UPDATE_SUCCESS:function(e){let{applicationId:t,token:n}=e,i=Pi[t];if(null==i)return!1;i.token=n,tA.w.set(Pe,Pi)},ACTIVITY_UPDATE_FAIL:function(e){let{applicationId:t}=e,n=Pi[t];if(null==n)return!1;n.token=null,n.updatedAt=null,tA.w.set(Pe,Pi)}}),n(384200),n(470710),n(924985),n(560010),n(963307),n(966833);let Pd={};class P_ extends e6.Ay.Store{static displayName="ChannelSKUStore";getSkuIdForChannel(e){return Pd[e]}}new P_(e$.h,{CONNECTION_OPEN:function(){Pd={}},STORE_LISTING_FETCH_SUCCESS:function(e){let{channelId:t,storeListing:n}=e;null!=t&&(Pd[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 Pf="hideSuppressWarning",Ph=!1,Pp=!0,PE=!1;class Pm extends e6.Ay.Store{static displayName="PermissionSpeakStore";initialize(){this.waitFor(ib.A,tx.A),PE=tA.w.get(Pf)||PE}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()&&!Pp}}let Pg=new Pm(e$.h,{CONNECTION_OPEN:function(e){a=e.sessionId,Ph=!1},CONNECTION_CLOSED:function(){a=null,o=null,Pp=!0},VOICE_STATE_UPDATES:function(e){let{voiceStates:t}=e;return t.reduce((e,t)=>a!==t.sessionId?e:(Ph!==t.suppress&&(Pp=!(Ph=t.suppress)),o!==t.channelId&&(o=t.channelId,Pp=!Ph),(PE||null==t.channelId)&&(Pp=!0),!0),!1)},PERMISSION_CLEAR_SUPPRESS_WARNING:function(e){let{forever:t}=e;Pp=!0,t&&(PE=!0,tA.w.set(Pf,PE))}});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 PA=!1;(0,eR.as)(),e6.Ay.initialize(),LO.loadServer();let PI=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("89145"),n.e("11415")]).then(n.bind(n,844358)),webpackId:844358,name:"UnauthenticatedDeepLinkActivity",renderLoader:yw}),PT=(0,ny.Fe)({createPromise:()=>n.e("15243").then(n.bind(n,190662)),webpackId:190662,name:"ApplicationDirectoryRoutes",renderLoader:yw});ek.isPlatformEmbedded&&(tS.Ay.on("USER_SETTINGS_OPEN",(e,t)=>{(0,i7.openUserSettings)()}),tS.Ay.on("LAUNCH_APPLICATION",async(e,t)=>{let i=lX.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 PS=nV(e=>{let{location:t}=e;return(0,Od.B)(()=>{let e=nM.A.getHighestState();if(e===eL.fAW.OPEN||e===eL.fAW.OPENING)return;let n=(0,SI.parseSettingsUrl)({path:t.pathname,search:t.search});(0,SI.trackParseSettingsUrl)(n,"deeplink"),(0,i7.openUserSettings)(n.target,{path:n.path,searchParams:n.params})}),(0,k.jsx)(nx,{deepLinkType:yD.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,k.jsx)(ng.rd,{to:ST.A.defaultRoute})})}),PN=nV(e=>{let{location:t}=e,i=(0,Rs.parsePlaygroundUrl)(t.pathname);return(0,Od.B)(()=>{let{openPlaygroundFromParsedUrl:e}=n(965042);e({match:i})}),(0,k.jsx)(nx,{deepLinkType:yD.XK.PLAYGROUND,path:t.pathname,paramsBuilder:function(e){let{path:t,fingerprint:n,installationId:i}=e,{collection:r,story:s}=(0,Rs.parsePlaygroundUrl)(t);return{path:t,collection:r,story:s,fingerprint:n,installationId:i}},children:(0,k.jsx)(ng.rd,{to:ST.A.defaultRoute})})}),Py=e6.Ay.connectStores([CR.A,ST.A,eW.default],()=>({isConnected:CR.A.isConnected(),defaultRoute:ST.A.defaultRoute,defaultRouteFallback:ST.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,k.jsx)(ng.rd,{to:eL.BVt.DEFAULT_LOGGED_OUT});if(e){let e=PD(t);return null==e||(e.params.guildId===eL.ME||null!=tx.A.getGuild(e.params.guildId))&&null!=ib.A.getChannel(e.params.channelId)?(0,k.jsx)(ng.rd,{to:t}):(0,k.jsx)(ng.rd,{to:i})}return null}}),PC=nV((0,ir.C)(vi,null,{passProps:!1})),Pv=(0,ir.C)(PT,null,{passProps:!1}),PO=[eL.BVt.GUILD_BOOSTING_MARKETING(Sg.pv.guildId()),...Array.from(yR.qW).map(e=>eL.BVt.CHANNEL(Sg.pv.guildId(),e))];function PR(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 Pb=[{path:[eL.BVt.ACTIVITY_DETAILS(":applicationId")],render:function(e){return(0,wJ.wR)()||eW.default.getLoginStatus()===eL.aUe.LOGGING_IN||!eW.default.allowLogoutRedirect()?PC(e):(0,k.jsx)(PI,{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,Od.B)(()=>{Oh({code:n})}),(0,k.jsx)(ng.rd,{to:ST.A.defaultRoute})}},{path:[eL.BVt.APP_WITH_GIFT_CODE(":giftCode")],render:function(e){let{match:t}=e,{giftCode:n}=t.params;return(0,Od.B)(()=>{(0,nR.G)(n,!0,!0).then(e=>{let{giftCode:t}=e;null!=t&&(0,RG.h)({processedCode:t.code})})}),(0,k.jsx)(ng.rd,{to:ST.A.defaultRoute})}},{path:[eL.BVt.APP],render:()=>(0,k.jsx)(Py,{})},{path:[eL.BVt.USERS(":id")],render:function(e){let{match:t}=e,{id:n}=t.params;return(0,Od.B)(()=>(0,l5.openUserProfileModal)({userId:n,sourceAnalyticsLocations:[ii.A.URI_SCHEME]})),(0,k.jsx)(ng.rd,{to:ST.A.defaultRoute})}},{path:[eL.BVt.APPLICATION_LIBRARY_ACTION(":gameId",":action")],render:function(e){let{match:t}=e,{gameId:i,action:r}=t.params;return l2.A.whenInitialized(()=>{lX.A.whenInitialized(()=>{switch(r){case"launch":{let e=lX.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=lX.A.getActiveLibraryApplication(i);if(null==e)return;(0,nO.z)(e.id,e.branchId,eL.ThZ.URI_SCHEME)}}})}),(0,k.jsx)(ng.rd,{to:eL.BVt.APPLICATION_LIBRARY})}},{path:[eL.BVt.GUILD_CREATE],render:function(){return(0,Od.B)(()=>vq.A.openCreateGuildModal({location:"External link"})),(0,k.jsx)(ng.rd,{to:ST.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,nN.parse)(location.search).feature;return(0,Od.B)(()=>{var e;return e={section:(0,OE.A)(eL.BEX,i),subsection:(0,OE.A)(eL.nd0,r),feature:s},void(0,nC.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,k.jsx)(t,{...n,...e})},{modalKey:"Guild Settings Picker Modal"})}),(0,k.jsx)(ng.rd,{to:ST.A.defaultRoute})}},{path:[eL.BVt.DEVELOPER_ACTIVATE_APPLICATION_TEST_MODE],render:function(e){let{location:t}=e,n=(0,nN.parse)(t.search),i="string"==typeof n.applicationId?n.applicationId:null,r="true"===n.openGameProfile;return(0,Od.B)(()=>{null!=i&&nL.q1(i).then(e=>{null!=e&&(0,rO.nf)(rO.HP.APPLICATION_TEST_MODE_DEBUG,{shouldAutoOpenGameProfile:r})})}),(0,k.jsx)(ng.rd,{to:ST.A.defaultRoute})}},{path:[eL.BVt.SETTINGS(":section",":subsection?")],render:PS},{path:[eL.BVt.PLAYGROUND(":collection?",":story?")],render:PN},{path:[eL.BVt.USER_GUILD_NOTIFICATION_SETTINGS(Sg.pv.guildId())],render:function(e){let{match:t}=e,{guildId:i}=t.params;return(0,Od.B)(()=>{(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("18934"),n.e("27681"),n.e("7017"),n.e("93855"),n.e("758"),n.e("28367"),n.e("8555"),n.e("35321"),n.e("83952"),n.e("66580"),n.e("38601"),n.e("94529"),n.e("94832"),n.e("56814"),n.e("30282")]).then(n.bind(n,893605));return t=>(0,k.jsx)(e,{...t,guildId:i})})}),(0,k.jsx)(ng.rd,{to:eL.BVt.CHANNEL(i)})}},{path:[eL.BVt.APPLICATION_LIBRARY_INVENTORY],render:function(){return(0,Od.B)(()=>(0,i7.openUserSettings)(i5.X.GIFT_PANEL)),(0,k.jsx)(ng.rd,{to:ST.A.defaultRoute})}},{path:[eL.BVt.WELCOME(Sg.pv.guildId({optional:!0}),Sg.pv.channelId({optional:!0}))],render:function(e){let{match:t}=e,{guildId:n,channelId:i}=t.params;(0,OJ.C)(O9.zY.MARKETING_UNCLAIMED);let r=eL.BVt.CHANNEL(n,i);return(0,k.jsx)(ng.rd,{to:r})}},{path:[eL.BVt.GUILD_EVENT_DETAILS(Sg.pv.guildId({optional:!0}),":guildEventId")],render:function(e){let{match:t}=e,{guildId:n,guildEventId:i}=t.params;return(0,Od.B)(()=>{(0,Nz.uR)({eventId:i})}),(0,k.jsx)(ng.rd,{to:eL.BVt.CHANNEL(n)})}},{path:[eL.BVt.GUILD_SETTINGS(Sg.pv.guildId(),":section?",":subsection?")],render:function(e){let{match:t}=e,{guildId:n,section:i,subsection:r}=t.params;return(0,Od.B)(()=>{Op.A.open(n,(0,OE.A)(eL.BEX,i),void 0,(0,OE.A)(eL.nd0,r))}),(0,k.jsx)(ng.rd,{to:eL.BVt.CHANNEL(n)})},isChatRoute:!0},{path:[eL.BVt.CHANNEL_THREAD_VIEW(Sg.pv.guildId(),Sg.pv.channelId(),":threadId",":messageId?"),eL.BVt.CHANNEL(Sg.pv.guildId(),Sg.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(Sg.pv.guildId()),eL.BVt.GUILD_MEMBER_VERIFICATION_FOR_HUB(Sg.pv.guildId(),":inviteCode?"),eL.BVt.GUILD_BOOSTING_MARKETING(Sg.pv.guildId()),eL.BVt.GUILD_FEATURE(":feature",Sg.pv.guildId()),eL.BVt.FEATURE(":feature"),eL.BVt.FAMILY_CENTER],render:PC,isChatRoute:!0},{path:[eL.BVt.APPLICATION_DIRECTORY],render:Pv},{path:[eL.BVt.GAME_SHOP(Sg.pv.guildId(),":shopSkuId?",":shopSlug?")],render:function(e){let{match:t}=e,{guildId:n,shopSkuId:i,shopSlug:r}=t.params;return(0,k.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,Od.B)(()=>{(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("55719"),n.e("60060"),n.e("4592"),n.e("25907"),n.e("17094"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("54747"),n.e("758"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("18934"),n.e("79705"),n.e("33957"),n.e("94193"),n.e("73840"),n.e("44915"),n.e("23924"),n.e("71470"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("9233"),n.e("42724"),n.e("86814"),n.e("25949"),n.e("78453"),n.e("91013"),n.e("44571"),n.e("30788"),n.e("25246"),n.e("23995"),n.e("57355"),n.e("36877"),n.e("60358"),n.e("20131"),n.e("38501"),n.e("26294"),n.e("98329"),n.e("21957"),n.e("93766"),n.e("54622"),n.e("27966"),n.e("83827"),n.e("69059"),n.e("78010"),n.e("93767"),n.e("76622"),n.e("1962"),n.e("29624"),n.e("99976"),n.e("38672"),n.e("47696")]).then(n.bind(n,926419));return t=>(0,k.jsx)(e,{gameId:i,source:lr.Ob.Deeplink,...t})})}),(0,k.jsx)(ng.rd,{to:ST.A.defaultRoute})}}];function PD(e){for(let{path:t,isChatRoute:n}of Pb){if(!n)continue;let i=(0,SA.B)(e,{path:t});if(null!=i)return i}return null}function PL(e){let{channelId:t,guildId:n,pathname:i}=e;if(!CR.A.isConnected())return;let{location:r}=(0,uF.JK)();r.pathname===i&&(null==ib.A.getChannel(t)?(0,uF.bG)(eL.BVt.CHANNEL(n)):(0,uF.bG)(i))}class Pw extends e8.PureComponent{historyUnlisten=()=>{};rewriterUnlisten=()=>{};componentDidMount(){tS.Ay.setZoomFactor(e7.A.zoom),LO.init(),ip.initialize(),RR.initialize(),On.initialize(),w$.initialize(),Os.initialize(),RF.A.initialize(),vX.initialize(),OX.initialize(),tr.A.init(),Oc.init(),Oa.init(),Rr.initialize(),n6.initialize(),v4.initialize(),Rz.initialize(),nY.Ay.initialize(),aD.initialize(),wj.initialize(),Oy.initialize(),Rv.initialize(),nj.A.initialize(),OC.init(),vL.init(),wQ.init(),nH.A.initialize(),wd.init(),wq.A.init(),wT.init(),LK.initialize(),Lq.initialize(),w_.A.initialize(),wx.init(),v1.initialize(),nB.A.initialize(),LY.initialize(),Rh.A.initialize(),Rf.initialize(),Rm.initialize(),vP.initialize(),vG.initialize(),v8.initialize(),Ob.initialize(),OQ.A.initialize(),R$.A.initialize(),Rk.initialize(),v_.initialize(),it.initialize(),this.rewriterUnlisten=Sm.A.addRouteRewriter(this.ensureChannelMatchesGuild),this.historyUnlisten=Sm.A.addRouteChangeListener(this.handleHistoryChange)}componentWillUnmount(){LO.terminate(),w$.terminate(),RF.A.terminate(),RR.terminate(),ip.terminate(),nY.Ay.terminate(),aD.terminate(),wj.terminate(),nj.A.terminate(),Rz.terminate(),Rv.terminate(),w_.A.terminate(),nH.A.terminate(),v1.terminate(),OQ.A.terminate(),nB.A.terminate(),R$.A.terminate(),LY.terminate(),Rh.A.terminate(),Rf.terminate(),Rm.terminate(),vP.terminate(),vG.terminate(),Rk.terminate(),v5.A.terminate(),v_.terminate(),it.terminate(),v8.terminate(),Ob.terminate(),this.historyUnlisten(),this.rewriterUnlisten()}handleHistoryChange(e){let{pathname:t,search:n}=e;!function(e){if(CR.A.isConnected()||CR.A.isTryingToConnect())return;let t=eW.default.getToken();null==t||function(e){for(let t of RX)if(null!=(0,SA.B)(e,{path:t}))return!0;return!1}(e)&&nv.A.startSession(t)}(t),function(e,t){let n=PD(e);if(null==n)return;let{guildId:i,channelId:r,messageId:s,threadId:a}=PR(n),o=(0,Sg.nn)(i),l=(0,Sg.ts)(r),u=(0,Sg.ts)(a),c=nX.A.getGuildId(),d=c!==i;if(o&&d&&nb.A.selectGuild(i),o&&l){let n=nZ.A.getChannelId(c),o=n!==r,l=null!=L2.Ay.getGuildSidebarState(i);if(!PA||d||o||null!=s){PA=!0,nD.default.selectChannel({guildId:i,channelId:r,messageId:s});let{summaryId:e}=(0,nN.parse)(t);null!=e&&LZ.Ay.setSelectedSummary(r,e)}if(l&&o&&null!=r&&null!=L2.Ay.getCurrentSidebarChannelId(r)&&LR.A.closeChannelSidebar(r),null!=a&&u){let e=L2.Ay.getCurrentSidebarChannelId(n),t=e!==a;if(null!=r&&null!=a&&t)if(l)(0,uF.bG)(eL.BVt.CHANNEL(i,a,s));else{let e={type:Lb.LU.THREAD};null!=s&&(e.initialMessageId=s),LR.A.openThreadAsSidebar({guildId:i,baseChannelId:r,channelId:a,details:e})}else l&&null!=e&&null!=r&&LR.A.closeChannelSidebar(r)}else null==r||o||LR.A.closeChannelSidebar(r);let _=ot.getIsOpen();if(r===yR.VV.ROLE_SUBSCRIPTIONS)a8.closeSidebar();else if(d&&_){let t=null==c&&i===eL.ME,n=e===eL.BVt.GUILD_DISCOVERY;t||n?a8.closeSidebar():a8.openSidebar()}else(o&&_||!d&&!o)&&a8.closeSidebar()}else PO.some(t=>(0,SA.B)(e,t)?.isExact===!0)||(0,uF.bG)(ST.A.fallbackRoute)}(t,n),(0,r3.MS)()}ensureChannelMatchesGuild(e){if(!CR.A.isConnected())return null;let{pathname:t}=e,n=PD(t);if(null==n)return null;let{guildId:i,channelId:r,threadId:s}=PR(n),a=(0,Sg.nn)(i)&&i!==eL.ME&&i!==eL.YYv;if(null!=r&&(0,Sg.ts)(r)&&!(0,yR.jq)(r)&&a){let n=ib.A.getChannel(r);if(null==n)LX.A.loadThread(r).then(()=>PL({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,Sg.ts)(s)&&!(0,yR.jq)(r)))return null;let n=ib.A.getChannel(s);if(null==n)LX.A.loadThread(s).then(()=>PL({channelId:s,guildId:i,pathname:t}));else if(n?.parent_id!==r)return LR.A.closeChannelSidebar(r),{path:eL.BVt.CHANNEL(i,r),state:e.state}}}return null}render(){return(0,k.jsxs)(e8.Fragment,{children:[(0,k.jsxs)(ng.dO,{children:[(0,k.jsx)(ng.rd,{exact:!0,from:"/channels",to:"/"}),Pb.map(e=>{let{path:t,render:n}=e;return(0,k.jsx)(ng.qh,{path:t,render:n},t[0])}),(0,k.jsx)(ng.rd,{to:"/"})]}),(0,k.jsx)(v$,{})]})}}var PM=n(337836),PP=n(825437),Px=n(752239),PU=n(373495),Pk=n(988393),PG=n(197808),PF=n(318009),PV=n(638421),PB=n(464792),PH=n(697138),Pj=n(989395),PY=n(750506),PW=n(686757),PK=n(820276);function Pz(){let{debugTrackedData:e,impressions:t}=(0,PW.SD)(e=>({debugTrackedData:e.debugTrackedData,impressions:e.impressions}),c6.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,k.jsx)(PY.Ay,{children:(0,k.jsxs)("div",{className:t2()(PK.kL,{[PK.YV]:r,[PK.cn]:!l}),children:[(0,k.jsx)(t3.D,{className:PK.VI,onClick:()=>{s(!r)},children:r?(0,k.jsx)(ni,{}):(0,k.jsx)(ns,{})}),(0,k.jsxs)("div",{className:t2()(PK.Qs,{[PK.Cx]:r}),children:[(0,k.jsxs)(sw.E,{className:t2()(PK.Pf,{[PK.cn]:!l}),variant:"text-xxs/normal",children:[l?(0,k.jsx)(_$.y,{size:"md",color:"currentColor",className:PK.sG}):(0,k.jsx)(_0.a,{size:"md",color:"currentColor",className:PK.jZ}),a??"(untracked)"]}),(0,k.jsx)("div",{className:PK.ss,children:JSON.stringify(o,void 0,2)}),(0,k.jsx)(sw.E,{className:t2()(PK.Pf,{[PK.cn]:!l}),variant:"text-xxs/normal",children:"impressions stack"}),(0,k.jsx)("div",{className:PK.t$,children:JSON.stringify(t,void 0,2)})]})]})}):null}var P$=n(501280),Pq=n(976634),PZ=n(866323),PX=n(235079);let PQ=(0,rs.qT)({createPromise:()=>Promise.all([n.e("17094"),n.e("758"),n.e("25610"),n.e("6720"),n.e("93019"),n.e("34530"),n.e("43039"),n.e("48804"),n.e("53729"),n.e("72535"),n.e("96123"),n.e("31390"),n.e("45421"),n.e("21435"),n.e("87079"),n.e("3458"),n.e("32823"),n.e("95752"),n.e("25486"),n.e("97073"),n.e("83420"),n.e("58216"),n.e("82178"),n.e("6809"),n.e("24240"),n.e("62213"),n.e("25241"),n.e("61924"),n.e("24553"),n.e("24927")]).then(n.bind(n,710637)),webpackId:710637}),PJ={transform:"scale(0.7)",opacity:0},P0={transform:"scale(1)",opacity:1},P1=e8.memo(function(){let e=(0,e6.yK)([i2.A,nZ.A,iI.Ay],()=>i2.A.getIncomingCalls().filter(e=>{let{channel:t}=e,n=nZ.A.getChannelId()===t.id,i=null==t.guild_id&&n,r=iI.Ay.getConnectedActivityChannelId()===t.id&&nZ.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)([OH.A],()=>OH.A.disableSounds),r=(0,e6.bG)([vH.A],()=>vH.A.getSoundpack()),s=e8.useRef(!1),a=(0,Pq.A)(()=>r===PX.i.CLASSIC?(0,iC.Qh)(500!==im().random(1,1e3)?"call_ringing":im().sample(["call_ringing_beat","call_ringing_snow_halation"]),"call_ringing"):(0,iC.aN)("call_ringing",r),[r]);return e8.useEffect(()=>{(0,r_.t)(()=>{PQ.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,PZ.p)(e,{keys:e=>e.channel?.id,enter:{from:PJ,to:P0},leave:PJ,config:{mass:1,tension:500,friction:18,clamp:!0}})((e,t)=>(0,k.jsx)(PQ,{...t,animatedStyle:e}))}),P2=e8.createContext(void 0);function P3(e){let{children:t}=e,[n,i]=e8.useState(null),r=e8.useMemo(()=>({setComponentToSnapshot:i}),[i]);return(0,k.jsxs)(P2.Provider,{value:r,children:[t,null!=n&&(0,k.jsx)("div",{id:"component-to-image-container",style:{position:"fixed",top:"-1000px",right:"-1000px"},children:n})]})}var P6=n(681582),P4=n(172272),P5=n(538064),P7=n(265059);let P8=(0,ny.Fe)({createPromise:()=>Promise.all([n.e("18934"),n.e("74672"),n.e("17094"),n.e("60060"),n.e("758"),n.e("89203"),n.e("55719"),n.e("58858"),n.e("74587"),n.e("88999"),n.e("54747"),n.e("67921"),n.e("80559"),n.e("23495"),n.e("25907"),n.e("6772"),n.e("40153"),n.e("60571"),n.e("68953"),n.e("83004"),n.e("26032"),n.e("94864"),n.e("76283"),n.e("18125"),n.e("9131"),n.e("22513"),n.e("13498"),n.e("71934"),n.e("52196"),n.e("7053"),n.e("86483"),n.e("32260"),n.e("79249"),n.e("64112"),n.e("64227"),n.e("4592"),n.e("56795"),n.e("7017"),n.e("333"),n.e("14831"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("45650"),n.e("27681"),n.e("79705"),n.e("24685"),n.e("186"),n.e("33957"),n.e("94193"),n.e("8996"),n.e("6619"),n.e("95780"),n.e("88826"),n.e("28510"),n.e("45503"),n.e("99961"),n.e("31688"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("57006"),n.e("25610"),n.e("6720"),n.e("75804"),n.e("40759"),n.e("75916"),n.e("97023"),n.e("10448"),n.e("48433"),n.e("14399"),n.e("53806"),n.e("54531"),n.e("78401"),n.e("5677"),n.e("78008"),n.e("51404"),n.e("48525"),n.e("27107"),n.e("42743"),n.e("74748"),n.e("61448"),n.e("47620"),n.e("31227"),n.e("90324"),n.e("38847"),n.e("27811"),n.e("4981"),n.e("70530"),n.e("72318"),n.e("74540"),n.e("92793"),n.e("27282"),n.e("66898"),n.e("24057"),n.e("93327"),n.e("93998"),n.e("15086"),n.e("44590"),n.e("76822"),n.e("90217"),n.e("62883"),n.e("5384"),n.e("23924"),n.e("71470"),n.e("24199"),n.e("207"),n.e("57036"),n.e("98839"),n.e("19402"),n.e("13111"),n.e("68201"),n.e("95429"),n.e("26692"),n.e("62052"),n.e("57174"),n.e("38939"),n.e("34786"),n.e("3376"),n.e("13554"),n.e("94678"),n.e("1856"),n.e("41567"),n.e("73924"),n.e("23964"),n.e("66544"),n.e("65658"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("88941"),n.e("8757"),n.e("91763"),n.e("61379"),n.e("34530"),n.e("76602"),n.e("62680"),n.e("28229"),n.e("85968"),n.e("43039"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("25693"),n.e("21825"),n.e("98125"),n.e("76418"),n.e("28154"),n.e("18441"),n.e("48804"),n.e("88077"),n.e("29787"),n.e("91007"),n.e("76640"),n.e("85502"),n.e("18401"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("13681"),n.e("53729"),n.e("10004"),n.e("66495"),n.e("55314"),n.e("89094"),n.e("29177"),n.e("32551"),n.e("32885"),n.e("4369"),n.e("88342"),n.e("23353"),n.e("53930"),n.e("32817"),n.e("86127"),n.e("50015"),n.e("47017"),n.e("39970"),n.e("14879"),n.e("11523"),n.e("6174"),n.e("66900"),n.e("1555"),n.e("44695"),n.e("21690"),n.e("44376"),n.e("33902"),n.e("91146"),n.e("11527"),n.e("31644"),n.e("70653"),n.e("45723"),n.e("8555"),n.e("63070"),n.e("70697"),n.e("18546"),n.e("8891"),n.e("46070"),n.e("72535"),n.e("86949"),n.e("61622"),n.e("38835"),n.e("76170"),n.e("42451"),n.e("18943"),n.e("84103"),n.e("9915"),n.e("99999"),n.e("5501"),n.e("28561"),n.e("98965"),n.e("72789"),n.e("53614"),n.e("96123"),n.e("31825"),n.e("36320"),n.e("20320"),n.e("31390"),n.e("43919"),n.e("57906"),n.e("6949"),n.e("90889"),n.e("37622"),n.e("51243"),n.e("17249"),n.e("88599"),n.e("45421"),n.e("44265"),n.e("99141"),n.e("35027"),n.e("21435"),n.e("53917"),n.e("98793"),n.e("92731"),n.e("25990"),n.e("63095"),n.e("62422"),n.e("68647"),n.e("66541"),n.e("27413"),n.e("90365"),n.e("64615"),n.e("87225"),n.e("75134"),n.e("89088"),n.e("84967"),n.e("23216"),n.e("87079"),n.e("86814"),n.e("21570"),n.e("71273"),n.e("78707"),n.e("3458"),n.e("62827"),n.e("73547"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("32823"),n.e("34691"),n.e("99593"),n.e("61935"),n.e("62168"),n.e("9640"),n.e("55602"),n.e("28128"),n.e("59023"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("91381"),n.e("23354"),n.e("93158"),n.e("10034"),n.e("82644"),n.e("52548"),n.e("73500"),n.e("3589"),n.e("31145"),n.e("25252"),n.e("75842"),n.e("54975"),n.e("20590"),n.e("35313"),n.e("65437"),n.e("74810"),n.e("28083"),n.e("80830"),n.e("79440"),n.e("79745"),n.e("53984"),n.e("80854"),n.e("35395"),n.e("43780"),n.e("77084"),n.e("20287"),n.e("46844"),n.e("63235"),n.e("45413"),n.e("86672"),n.e("76273"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("71133"),n.e("2564"),n.e("47417"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("35321"),n.e("54625"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("5500"),n.e("501"),n.e("73384"),n.e("82783"),n.e("80230"),n.e("86243"),n.e("32209"),n.e("49697"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("95093"),n.e("50033"),n.e("37687"),n.e("71234"),n.e("87478"),n.e("48900"),n.e("60177"),n.e("27773"),n.e("1006"),n.e("63645"),n.e("23276"),n.e("52229"),n.e("3998"),n.e("44780"),n.e("5636"),n.e("55577"),n.e("36487"),n.e("1354"),n.e("834"),n.e("5557"),n.e("78412"),n.e("59957"),n.e("83952"),n.e("63213"),n.e("95444"),n.e("95340"),n.e("62718"),n.e("9662"),n.e("56753"),n.e("26728"),n.e("48720"),n.e("89916"),n.e("80239"),n.e("75016"),n.e("60773"),n.e("61156"),n.e("59880"),n.e("61268"),n.e("91671"),n.e("76087"),n.e("8018"),n.e("92295"),n.e("68763"),n.e("84150"),n.e("33134"),n.e("80112"),n.e("14461"),n.e("16767"),n.e("54791"),n.e("25486"),n.e("4193"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("39286"),n.e("20930"),n.e("14224"),n.e("72883"),n.e("31445"),n.e("38056"),n.e("18024"),n.e("26001"),n.e("49644"),n.e("14591"),n.e("52111"),n.e("20379"),n.e("25279"),n.e("77473"),n.e("28152"),n.e("57458"),n.e("36877"),n.e("59466"),n.e("8829"),n.e("19193"),n.e("58337"),n.e("20131"),n.e("69747"),n.e("97073"),n.e("75133"),n.e("65826"),n.e("49520"),n.e("35996"),n.e("1243"),n.e("42204"),n.e("96804"),n.e("38501"),n.e("18997"),n.e("27323"),n.e("28850"),n.e("95998"),n.e("27659"),n.e("78195"),n.e("10943"),n.e("15920"),n.e("20683"),n.e("37977"),n.e("42234"),n.e("72963"),n.e("58164"),n.e("21930"),n.e("3930"),n.e("44057"),n.e("3663"),n.e("83972"),n.e("49089"),n.e("11617"),n.e("72877"),n.e("26294"),n.e("74678"),n.e("26437"),n.e("63618"),n.e("37490"),n.e("81189"),n.e("92077"),n.e("66580"),n.e("22261"),n.e("78046"),n.e("80093"),n.e("21060"),n.e("98972"),n.e("83420"),n.e("203"),n.e("36149"),n.e("4774"),n.e("49629"),n.e("78601"),n.e("89523"),n.e("38601"),n.e("80407"),n.e("42726"),n.e("34546"),n.e("29260"),n.e("41701"),n.e("32326"),n.e("21106"),n.e("21856"),n.e("40204"),n.e("7775"),n.e("77467"),n.e("16916"),n.e("47057"),n.e("60989"),n.e("82486"),n.e("79435"),n.e("12682"),n.e("40175"),n.e("65617"),n.e("44326"),n.e("11133"),n.e("68083"),n.e("74021"),n.e("3710"),n.e("48730"),n.e("78050"),n.e("13708"),n.e("51778"),n.e("71467"),n.e("8694"),n.e("60003"),n.e("80007"),n.e("18413"),n.e("49013"),n.e("43746"),n.e("967"),n.e("84971"),n.e("71217"),n.e("51892"),n.e("20965"),n.e("98329"),n.e("41838"),n.e("45830"),n.e("97069"),n.e("47018"),n.e("39894"),n.e("46045"),n.e("755"),n.e("20382"),n.e("33448"),n.e("90554"),n.e("607"),n.e("21957"),n.e("74907"),n.e("32207"),n.e("93766"),n.e("30221"),n.e("73122"),n.e("42324"),n.e("94607"),n.e("8979"),n.e("9045"),n.e("77602"),n.e("99011"),n.e("29413"),n.e("99835"),n.e("38042"),n.e("28752"),n.e("63333"),n.e("95602"),n.e("5896"),n.e("27779"),n.e("80436"),n.e("15275"),n.e("58216"),n.e("36150"),n.e("73165"),n.e("22067"),n.e("52511"),n.e("54622"),n.e("54103"),n.e("55266"),n.e("31335"),n.e("34268"),n.e("29569"),n.e("36002"),n.e("94138"),n.e("96268"),n.e("93461"),n.e("27966"),n.e("4199"),n.e("96480"),n.e("82178"),n.e("77333"),n.e("6809"),n.e("41786"),n.e("29961"),n.e("15172"),n.e("2329"),n.e("4736"),n.e("49345"),n.e("11471"),n.e("22266"),n.e("49333"),n.e("59414"),n.e("17460"),n.e("43114"),n.e("70008"),n.e("44385"),n.e("29852"),n.e("79593"),n.e("33771"),n.e("27752"),n.e("39053"),n.e("69059"),n.e("73611"),n.e("41706"),n.e("62175"),n.e("84586"),n.e("60178"),n.e("94888"),n.e("58262"),n.e("66523"),n.e("83477"),n.e("89541"),n.e("46039"),n.e("24240"),n.e("62213"),n.e("21574"),n.e("90804"),n.e("24689"),n.e("89545"),n.e("54241"),n.e("78010"),n.e("84820"),n.e("68802"),n.e("49490"),n.e("90779"),n.e("44801"),n.e("38090"),n.e("10142"),n.e("44912"),n.e("8563"),n.e("18489"),n.e("30920"),n.e("46149"),n.e("63497"),n.e("36674"),n.e("27462"),n.e("22455"),n.e("60816"),n.e("94161"),n.e("3168"),n.e("68031"),n.e("98254"),n.e("859"),n.e("43144"),n.e("52803"),n.e("21879"),n.e("39808"),n.e("97162"),n.e("45724"),n.e("96680"),n.e("59791"),n.e("63874"),n.e("20491"),n.e("93907"),n.e("60249"),n.e("68214"),n.e("44727"),n.e("10014"),n.e("10147"),n.e("18792"),n.e("6627"),n.e("36926"),n.e("90274"),n.e("81398"),n.e("86546"),n.e("3050"),n.e("53275"),n.e("91139"),n.e("39735"),n.e("84704"),n.e("99053"),n.e("55895"),n.e("46327"),n.e("28011"),n.e("59617"),n.e("15057"),n.e("70698"),n.e("95841"),n.e("42865"),n.e("83799"),n.e("72239"),n.e("97116"),n.e("75284"),n.e("53203"),n.e("95067"),n.e("33416"),n.e("62318"),n.e("39353"),n.e("84783"),n.e("20643"),n.e("32737"),n.e("9793"),n.e("4374"),n.e("3590"),n.e("84794"),n.e("64926"),n.e("50541"),n.e("47339"),n.e("53983"),n.e("52526"),n.e("37886"),n.e("23324"),n.e("91652"),n.e("25013"),n.e("20803"),n.e("1719"),n.e("37698"),n.e("95782"),n.e("35432"),n.e("40114"),n.e("19119"),n.e("61137"),n.e("96817"),n.e("73566"),n.e("27687"),n.e("55033"),n.e("92064"),n.e("45419"),n.e("18710"),n.e("86629"),n.e("98384"),n.e("55552"),n.e("17823"),n.e("75090"),n.e("63071"),n.e("93213"),n.e("25241"),n.e("24564"),n.e("80262"),n.e("34428"),n.e("35476"),n.e("39721"),n.e("8508"),n.e("79211"),n.e("90213"),n.e("14334"),n.e("76892"),n.e("78"),n.e("98660"),n.e("16799"),n.e("43549"),n.e("52694"),n.e("53683"),n.e("82969"),n.e("81610"),n.e("71811"),n.e("39967"),n.e("60959"),n.e("38249"),n.e("88918"),n.e("85216"),n.e("26359"),n.e("12663"),n.e("91218"),n.e("83102"),n.e("86470"),n.e("6294"),n.e("65306"),n.e("37479"),n.e("2552"),n.e("34936"),n.e("89588"),n.e("91589"),n.e("62075"),n.e("33314"),n.e("67685"),n.e("24084"),n.e("37715"),n.e("44790"),n.e("12755"),n.e("44264"),n.e("14753"),n.e("61764"),n.e("49344"),n.e("14451"),n.e("52212"),n.e("59848"),n.e("7755"),n.e("21041"),n.e("83259"),n.e("50590"),n.e("54658"),n.e("31828"),n.e("37937"),n.e("2940"),n.e("4098"),n.e("71790"),n.e("81754"),n.e("77298"),n.e("62577"),n.e("70383"),n.e("19148"),n.e("96975"),n.e("33049"),n.e("96232"),n.e("4787"),n.e("3581"),n.e("30373"),n.e("25592"),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("86197"),n.e("73691"),n.e("39176"),n.e("86492"),n.e("99513"),n.e("36474"),n.e("76237"),n.e("44414"),n.e("4727"),n.e("9763"),n.e("77663"),n.e("55663"),n.e("17583"),n.e("10741"),n.e("36001"),n.e("97354"),n.e("56814"),n.e("54588"),n.e("81863"),n.e("84861"),n.e("88878"),n.e("56153"),n.e("87735"),n.e("85280"),n.e("3370"),n.e("24805"),n.e("65529"),n.e("99487"),n.e("98279"),n.e("60439"),n.e("84846"),n.e("14124"),n.e("91782"),n.e("93341"),n.e("18126"),n.e("42664"),n.e("18860"),n.e("25717"),n.e("73746"),n.e("10622"),n.e("86823"),n.e("44602"),n.e("63309"),n.e("20516"),n.e("88379"),n.e("15046"),n.e("23707"),n.e("86381"),n.e("26993"),n.e("5682"),n.e("10385"),n.e("54187"),n.e("56750"),n.e("27774"),n.e("31599"),n.e("51356"),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 P9(e){let{mobile:t}=e,n=(0,e6.bG)([sJ.A],()=>sJ.A.isDeveloper),i=(0,e6.bG)([P7.A],()=>P7.A.displayTools),r=(0,e6.bG)([sj.A],()=>sj.A.getWindowOpen(eL.MLl.DEVTOOLS_POPOUT)),s=e8.useCallback(e=>{((0,ek.isMac)()?e.metaKey:e.ctrlKey)&&e.altKey&&"KeyO"===e.code&&(0,P5.pf)()},[]);return(e8.useLayoutEffect(()=>(window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s)}),[s]),(t?n:i)&&!r)?(0,k.jsx)(P8,{mobile:t}):null}var xe=n(670735),xt=n(981133),xn=n(469177),xi=n(133171),xr=n(801964);function xs(){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)([wY.A],()=>[wY.A.isIdle(),wY.A.isAFK()]),r=[];return n||i||r.push("ACTIVE"),n&&r.push("IDLE"),i&&r.push("AFK"),t&&e?(0,k.jsx)(PY.Ay,{children:(0,k.jsxs)("div",{className:xr.kL,children:[(0,k.jsxs)("div",{className:xr.h5,children:[(0,k.jsx)(xi.nW,{status:r.includes("ACTIVE")?R9.cl.ONLINE:R9.cl.IDLE,className:xr.UX}),(0,k.jsx)(sw.E,{variant:"text-md/normal",children:"IDLE STATUS:"}),(0,k.jsx)("div",{className:xr.qS,children:(0,k.jsx)(sw.E,{variant:"text-md/bold",children:r.join(" + ")})})]}),n&&(0,k.jsxs)(sw.E,{variant:"text-md/normal",children:["Idle since:"," ",new Date(wY.A.getIdleSince()??0).toLocaleDateString(void 0,{year:"numeric",day:"numeric",month:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})]})]})}):null}var xa=n(639735),xo=n(164942),xl=n(189213);let xu=()=>{let e=(0,e6.bG)([tI.Ay],()=>tI.Ay.isInteractionRequired(),[]),t=e8.useRef(null);function n(){null!==t.current&&((0,nC.closeModal)(t.current),t.current=null)}return e8.useEffect(()=>(e?t.current=(0,nC.openModal)(e=>(0,k.jsx)(xl.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 xc=n(386406);let xd=!0,x_=!0;function xf(){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()||lJ.A.can(eL.xBc.USE_VAD,n)||null==i||!!i.suppress||null!=i.requestToSpeakTimestamp}return xd!==e&&(x_=e,xd=e,e$.h.dispatch({type:"SET_VAD_PERMISSION",hasPermission:xd}),!0)}class xh extends e6.Ay.Store{static displayName="PermissionVADStore";initialize(){this.waitFor(eW.default,ib.A,tI.Ay,lJ.A,iL.A,iM.A)}shouldShowWarning(){return!x_}canUseVoiceActivity(){return xd}}let xp=new xh(e$.h,{RTC_CONNECTION_STATE:xf,MEDIA_ENGINE_SET_AUDIO_ENABLED:xf,AUDIO_SET_MODE:xf,CHANNEL_UPDATES:xf,THREAD_UPDATE:xf,GUILD_ROLE_UPDATE:xf,GUILD_MEMBER_UPDATE:xf,IMPERSONATE_UPDATE:xf,IMPERSONATE_STOP:xf,VOICE_STATE_UPDATES:function(e){let{voiceStates:t}=e;return t.some(e=>{let{userId:t}=e;return t===eW.default.getId()&&xf()})},AUDIO_TOGGLE_SELF_MUTE:function(){x_=xd},PERMISSION_CLEAR_VAD_WARNING:function(){x_=!0}});function xE(e){return(0,k.jsx)(xl.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(),xc.A.clearVADWarning()},variant:"secondary"},{text:na.intl.string(na.t.E3Y7NH),onClick:()=>{is.A.setMode(eL.TBI.PUSH_TO_TALK),e.onClose(),xc.A.clearVADWarning()},variant:"primary"}],...e})}function xm(){let e=(0,e6.bG)([xp],()=>xp.shouldShowWarning(),[]),t=e8.useRef(null);function n(){null!==t.current&&((0,nC.closeModal)(t.current),t.current=null)}return e8.useEffect(()=>(e?t.current=(0,nC.openModal)(e=>(0,k.jsx)(xE,{...e})):n(),()=>{n()}),[e]),null}var xg=n(150934),xA=n(935671);function xI(e){let{currentGame:t,...n}=e,[i,r]=e8.useState(!1);return(0,lH.l0)(()=>{i&&xc.A.clearPTTAdminWarning()}),(0,k.jsx)(xl.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(nf.A.getArticleURL(eL.MVz.PUSH_TO_TALK_ADMINISTRATOR_MODE),"_blank")}}],actionBarInput:(0,k.jsx)(xg.S,{checked:i,onChange:e=>r(e),label:na.intl.string(na.t["5E9SB9"]),labelType:"secondary"}),...n})}function xT(){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,xA.yA)(ia.Ay))return r?s.current=(0,nC.openModal)(e=>(0,k.jsx)(xI,{currentGame:t,...e})):e(),()=>{e()};function e(){null!==s.current&&((0,nC.closeModal)(s.current),s.current=null)}},[t,r]),null}var xS=n(48686);function xN(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,k.jsx)(xl.Modal,{size:"md",title:t,subtitle:n,actions:[{text:na.intl.string(na.t.BddRzS),onClick:()=>{r.onClose(),xc.A.clearSuppressWarning(s)},variant:"primary"}],actionBarInput:(0,k.jsx)(xg.S,{checked:s,onChange:e=>a(e),label:na.intl.string(na.t["5E9SB9"]),labelType:"secondary"}),...r})}let xy=()=>{let e=e8.useRef(null);function t(){null!==e.current&&((0,nC.closeModal)(e.current),e.current=null)}let[i,r]=(0,e6.yK)([Pg],()=>[Pg.shouldShowWarning(),Pg.isAFKChannel()],[]),s=e8.useCallback(()=>{e.current=(0,nC.openModal)(e=>(0,k.jsx)(xN,{afk:r,...e}))},[r]),a=e8.useCallback(()=>{(0,nC.openModalLazy)(async()=>{let{default:e}=await Promise.all([n.e("39765"),n.e("59866")]).then(n.bind(n,937489));return t=>(0,k.jsx)(e,{...t,showHideSuppressWarning:!0})}).then(t=>{null!=t&&(e.current=t)})},[]);return e8.useEffect(()=>(i&&(0,xS.t)()?a():i?s():t(),()=>{t()}),[i,s,a]),null},xC=()=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(xT,{}),(0,k.jsx)(xu,{}),(0,k.jsx)(xy,{}),(0,k.jsx)(xm,{})]});var xv=n(663413),xO=n(707554),xR=n(82495),xb=n(725807),xD=n(450232);function xL(){e$.h.dispatch({type:"APP_ICON_EDITOR_RESET"})}var xw=n(526162),xM=n(806932),xP=n(174197),xx=n(564194);let xU=()=>{let e=(0,e6.bG)([tT.default],()=>A9.Ay.isPremium(tT.default.getCurrentUser())),t=(0,Ik.V)(),n=t?.subscription_trial?.sku_id===co.pe.TIER_2;return(0,k.jsx)(xb.A,{size:an.$n.Sizes.MEDIUM,textOptions:{textOverride:e?na.intl.string(na.t.IJI7yk):n?(0,A9.FY)({intervalType:t?.subscription_trial?.interval,intervalCount:t?.subscription_trial?.interval_count}):na.intl.string(na.t.mr4K7D)},subscriptionTier:co.pe.TIER_2})},xk=e=>{let{markAsDismissed:t}=e;return(0,k.jsxs)("div",{className:xx.nV,children:[(0,k.jsx)(t3.D,{className:xx.VV,onClick:()=>void(t?.(rE.i.DISMISS),(0,rO.Jp)(),xL()),children:(0,k.jsx)(_0.a,{size:"md",color:"currentColor",className:xx.P0})}),(0,k.jsxs)("div",{className:xx.DD,children:[(0,k.jsx)(aF.D,{variant:"heading-lg/extrabold",children:na.intl.string(na.t["hb/wE0"])}),(0,k.jsx)(xD.A,{color:r9.A.colors.TEXT_STRONG,size:"sm",className:xx.PC})]})]})},xG=e=>{let{isCoachmark:t,markAsDismissed:n}=e,i=(0,e6.bG)([xw.A],()=>xw.A.isUpsellPreview);return(0,k.jsxs)("div",{className:xx.N3,children:[i&&(0,k.jsx)(xU,{}),(0,k.jsx)(tJ.$,{onClick:()=>{n?.(rE.i.DISMISS),(0,rO.Jp)(),xL(),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 xF(e){let{isCoachmark:t,markAsDismissed:n,iconSize:i=xP.N8.SIZE_60}=e,{analyticsLocations:r}=(0,of.Ay)(ii.A.APP_ICON_EDITOR),s=(0,e6.bG)([tT.default],()=>tT.default.getCurrentUser()),{isUpsellPreview:a,shouldEditorAnimate:o}=(0,e6.cf)([xw.A,e7.A],()=>({isUpsellPreview:xw.A.isUpsellPreview,shouldEditorAnimate:t&&!e7.A.useReducedMotion})),l=rO.fy.getState().activePanel===rO.HP.APP_ICON;e8.useEffect(()=>{a&&ew.default.track(eL.HAw.PREMIUM_UPSELL_VIEWED,{type:co.e.APP_ICON_UPSELL,location_stack:r})},[a,r]);let u=(0,xR.A)(null,a?xL:eL.tEg);e8.useEffect(()=>{if(a&&!l)return xL},[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,k.jsx)(of.f5,{value:r,children:(0,k.jsx)("div",{ref:u,className:t2()(xx.EN,o?xx.hP:null),"data-app-right-panel":!0,style:c,children:(0,k.jsxs)(xO.F,{children:[(0,k.jsx)(xk,{markAsDismissed:n}),(0,k.jsx)(od.Ip,{className:xx.sV,children:(0,k.jsx)(xM.A,{className:xx.Gg,isEditor:!0,iconSize:i})}),(0,k.jsx)(xG,{markAsDismissed:n,isCoachmark:t})]})})})}var xV=n(815021),xB=n(140423),xH=n(609174),xj=n(353605),xY=n(434320),xW=n(82716),xK=n(585579),xz=n(226870),x$=n(285072),xq=n(46437);let xZ=e=>{let{clip:t,isNew:n}=e,[i,r]=e8.useState(!1),{scrubOnHover:s}=rK.Z.useConfig({location:"ClipsSidebarItem"}),a=e8.useCallback(()=>r(!0),[]),o=e8.useCallback(()=>r(!1),[]);return null==t?null:(0,k.jsx)("div",{className:xq.Jr,onMouseEnter:a,onMouseLeave:o,onFocus:a,onBlur:o,children:(0,k.jsx)(xH.Cl,{clip:t,children:(0,k.jsxs)(xz.d,{lazy:!0,scrubOnHover:s,isPlaying:!s&&i,preload:n?"auto":"metadata",children:[n&&(0,k.jsx)(oi.Lp,{className:xq.Ad,text:na.intl.string(na.t.y2b7CA)}),(0,k.jsxs)(x$.h,{isVisible:i,className:xq.PJ,children:[(0,k.jsx)(xX,{}),(0,k.jsx)(xQ,{})]})]})})})},xX=()=>(0,k.jsxs)("div",{className:xq.oK,children:[(0,k.jsx)(xW.z,{}),(0,k.jsx)(xj.k,{})]}),xQ=()=>(0,k.jsxs)("div",{className:xq.yG,children:[(0,k.jsx)(xY.f,{}),(0,k.jsx)(xK.E,{})]});var xJ=n(542772);let x0=e=>{let{clips:t}=e,n=(0,e6.bG)([rF.A],()=>rF.A.getNewClipIds())??[];return(0,k.jsx)("div",{className:xJ.u,children:t.map(e=>(0,k.jsx)(xZ,{clip:e,isNew:n.includes(e.id)},e.id))})};var x1=n(16590);let x2=e=>{let{onClose:t}=e,n=e8.useCallback(e=>{(0,r$.Of)(e),t()},[t]);return(0,k.jsx)(si.W,{navId:"reminder-snooze-menu","aria-label":na.intl.string(x1.default.MRFqzg),onClose:t,onSelect:void 0,children:(0,k.jsxs)(sr.rX,{label:na.intl.string(x1.default.rzjeqY),children:[(0,k.jsx)(sr.Dr,{id:"snooze-15-minutes",label:na.intl.formatToPlainString(na.t.iXLF9W,{minutes:15}),action:()=>n(9e5)}),(0,k.jsx)(sr.Dr,{id:"snooze-1-hour",label:na.intl.formatToPlainString(na.t.xCjYxK,{hours:1}),action:()=>n(36e5)}),(0,k.jsx)(sr.Dr,{id:"snooze-8-hours",label:na.intl.formatToPlainString(na.t.xCjYxK,{hours:8}),action:()=>n(288e5)})]})})};var x3=n(994337);let x6=(e,t)=>t.createdAt-e.createdAt;function x4(){let{enableReminderSidebar:e}=rK.Z.useConfig({location:"ClipsReminderSidebar"}),t=(0,e8.useRef)(null),{canShowReminders:n}=(0,e6.cf)([rF.A],()=>({canShowReminders:rF.A.canShowReminders()})),[i,r]=e8.useState(()=>rF.A.getNewClipIds().map(rF.A.getClipById).filter(e=>void 0!==e).sort(x6));return(e8.useEffect(()=>{let e=()=>{let e=rF.A.getNewClipIds();r(t=>[...e.map(rF.A.getClipById).filter(e=>void 0!==e),...t.filter(t=>!e.includes(t.id)&&null!=rF.A.getClipById(t.id))].sort(x6))};return rF.A.addChangeListener(e),()=>rF.A.removeChangeListener(e)},[]),e8.useEffect(()=>{e&&n||(0,rO.Jp)()},[e,n]),e&&n&&0!==i.length)?(0,k.jsxs)("div",{className:x3.kL,"data-app-right-panel":!0,children:[(0,k.jsxs)("div",{className:x3.wx,children:[(0,k.jsxs)(sw.E,{variant:"text-md/bold",color:"text-strong",className:x3.DD,children:[(0,k.jsx)(rP.x,{size:"sm",color:r9.A.colors.TEXT_STRONG.css}),na.intl.formatToPlainString(x1.default.dFu8vZ,{count:i.length})]}),(0,k.jsxs)("div",{className:x3.$s,children:[(0,k.jsx)(rJ.m,{text:na.intl.string(x1.default.MRFqzg),asContainer:!0,children:(0,k.jsx)(so.Y,{position:"bottom",targetElementRef:t,renderPopout:e=>(0,k.jsx)(x2,{onClose:e.closePopout}),children:e=>(0,k.jsx)("div",{ref:t,children:(0,k.jsx)(u2.K,{icon:sS.X,"aria-label":na.intl.string(x1.default.MRFqzg),...e,size:"sm",variant:"icon-only"})})})}),(0,k.jsx)(xV.J,{onClick:rO.Jp})]})]}),(0,k.jsx)(od.Ip,{className:x3.Qs,children:(0,k.jsx)(x0,{clips:i})}),(0,k.jsx)(x5,{clips:i})]}):null}let x5=e=>{let{clips:t}=e,n=e8.useCallback(()=>{(0,rX.p)()},[]),i=e8.useCallback(()=>{(0,xB.R)({clips:t,onAfterDelete:()=>(0,rO.Jp)()})},[t]);return(0,k.jsxs)("div",{className:x3.qr,children:[(0,k.jsx)(tJ.$,{text:na.intl.string(x1.default.f98Qe3),variant:"critical-secondary",size:"md",onClick:i}),(0,k.jsx)(tJ.$,{text:na.intl.string(x1.default["55C2MH"]),variant:"primary",size:"md",onClick:n})]})};var x7=n(805627),x8=n(45945);function x9(){return(0,k.jsx)("div",{"data-app-right-panel":!0,className:x8.kL})}let Ue=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("17094"),n.e("6772"),n.e("53381"),n.e("207"),n.e("88077"),n.e("18401"),n.e("33902"),n.e("99999"),n.e("53614"),n.e("31145"),n.e("98384"),n.e("14451"),n.e("66996")]).then(n.bind(n,974800)),webpackId:974800,renderLoader:x9}),Ut=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("17094"),n.e("6772"),n.e("42376"),n.e("758"),n.e("43282"),n.e("207"),n.e("88077"),n.e("18401"),n.e("33902"),n.e("99999"),n.e("53614"),n.e("31145"),n.e("3930"),n.e("38601"),n.e("47018"),n.e("38090"),n.e("9793"),n.e("98384"),n.e("88990"),n.e("49344"),n.e("86492"),n.e("72158"),n.e("51200")]).then(n.bind(n,290948)),webpackId:290948,renderLoader:x9}),Un=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("758"),n.e("20345"),n.e("88941"),n.e("84967"),n.e("91381"),n.e("54625"),n.e("62875"),n.e("1354"),n.e("18489"),n.e("14124"),n.e("55430")]).then(n.bind(n,563380)),webpackId:563380}),Ui=function(e){let{mobile:t}=e,n=(0,e6.bG)([tT.default],()=>A9.Ay.canUseClientThemes(tT.default.getCurrentUser())),i=(0,e6.bG)([MK.A],()=>MK.A.isCoachmark),r=null!=(0,e6.bG)([ib.A,nZ.A],()=>ib.A.getChannel(nZ.A.getChannelId()))&&!!function(){try{return CSS.supports("selector(:has(*))")}catch(e){return!1}}(),{activePanel:s,metadata:a}=(0,rO.fy)(),o=(0,e6.bG)([rk.A],()=>rk.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,rh.kn)(l,rE.m.SIDEBAR,!0),d=u===rM.M.CLIENT_THEMES_COACHMARK,_=u===rM.M.CUSTOM_THEME_COACHMARK,f=s===rO.HP.CLIENT_THEMES||d,h=s===rO.HP.APP_ICON,p=s===rO.HP.CUSTOM_THEME||_,E=s===rO.HP.APPLICATION_TEST_MODE_DEBUG,m=s===rO.HP.CLIPS_REMINDER;if(!(f||h||p||E||m))return null;let g=()=>(0,k.jsxs)(k.Fragment,{children:[f&&(0,k.jsx)(Ue,{markAsDismissed:d?c:()=>{(0,le.Dr)(rM.M.CLIENT_THEMES_COACHMARK,{dismissAction:rE.i.INDIRECT_ACTION,forceTrack:!0})},showClientThemesCoachmark:d}),h&&(0,k.jsx)(xF,{isCoachmark:!1,markAsDismissed:c}),p&&(0,k.jsx)(Ut,{metadata:a??{},markAsDismissed:c,isCoachmark:_,isMobile:t}),E&&(0,k.jsx)(Un,{}),m&&(0,k.jsx)(x4,{})]});return t?(0,k.jsx)("div",{className:x7.A,children:g()}):g()};var Ur=n(404374),Us=n(573435),Ua=n(906292);n(939857),Promise.resolve().then(n.bind(n,677134)).then(e=>{ek.isPlatformEmbedded?window.addEventListener("contextmenu",e.contextMenuCallbackNative,!1):window.addEventListener("contextmenu",e.contextMenuCallbackWeb,!1)}),(0,Px.h)({getDefaultLinkInterceptor:PB.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("79176")]).then(n.bind(n,461624)),webpackId:461624});let Uo=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("13040"),n.e("98254"),n.e("99063")]).then(n.bind(n,1464)),webpackId:1464}),Ul=e8.memo(function(){let e=(0,e6.bG)([rk.A],()=>rk.A.hasLayers()),t=(0,nC.useModalsStore)(nC.hasAnyModalOpen),n=(0,e6.bG)([eW.default],()=>eW.default.isAuthenticated());return(0,k.jsx)(s2.v5,{fixed:!0,show:e||t||!n,isLayerOpen:e})}),Uu=function(e){var t;let n,{children:i,skipsSettingDefaultPageTitle:r}=e,s=(0,ek.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 xn.uG(t),()=>{xn.qr(t)}},[t,n]);let c=(0,xt.sK)("AppSkeleton");e8.useEffect(()=>{c?tA.w.set(xt.AL,!0):tA.w.remove(xt.AL)},[c]);let d=(0,e6.bG)([xa.A],()=>xa.A.canPlayWowMoment);return(0,k.jsx)(xo.e,{children:(0,k.jsxs)(PH.A,{children:[(0,k.jsx)(xv.A,{skipsSettingDefaultPageTitle:r}),(0,k.jsx)(PV.N,{children:(0,k.jsx)(xe.A,{children:(0,k.jsxs)(e5.xp,{containerRef:l,children:[(0,k.jsx)(Us.Al,{}),(0,k.jsx)(Ur.Ay,{}),(0,k.jsx)(PP.Ut,{}),(0,k.jsx)(t7.Wr,{appContext:eL.BRT.APP,renderWindow:window,children:(0,k.jsxs)(PY.Yf,{children:[null!=s?(0,k.jsx)(Ul,{}):null,(0,k.jsxs)("div",{className:t2()(Ua.XX,a&&Ua.Xq),children:[(0,k.jsx)(P4.C1,{}),(0,k.jsx)("div",{className:Ua.x$,"data-app-not-dev-tools":!0,children:(0,k.jsx)(P6.l,{children:(0,k.jsx)(wf.ks,{children:(0,k.jsx)(Pj.A.Provider,{value:o3.A,children:(0,k.jsxs)(P3,{children:[(0,k.jsx)("div",{className:t2()(a?Ua.C$:Ua.yA),children:i}),(0,k.jsx)(PG.A,{}),(0,k.jsx)(P$.A,{}),(0,k.jsx)(PF.A,{}),(0,k.jsx)(PU.b,{}),(0,k.jsx)(xC,{}),(0,k.jsx)(CQ.up,{}),(0,k.jsx)(PM.P,{}),(0,k.jsx)(PY.C8,{}),(0,k.jsx)(wf.ok,{}),(0,k.jsx)(Pk.N,{appContext:eL.BRT.APP}),(0,k.jsx)(Pz,{}),(0,k.jsx)(xs,{}),d&&(0,k.jsx)(Uo,{})]})})})})}),(0,k.jsx)(P1,{}),(0,k.jsx)(Ui,{mobile:a}),(0,k.jsx)(P9,{mobile:a})]}),!1]})}),(0,k.jsx)(PP.Ut,{})]})})})]})},u)};var Uc=((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 Ud=0;class U_ extends e6.Ay.Store{static displayName="DomainMigrationStore";getMigrationStatus(){return Ud}}let Uf=new U_(e$.h,{DOMAIN_MIGRATION_START:function(){Ud=1},DOMAIN_MIGRATION_FAILURE:function(){Ud=2},DOMAIN_MIGRATION_SKIP:function(){Ud=3}});function Uh(e){return e?._state?.lastTestTimestamp}function Up(){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)&&(e$.h.wait(()=>e$.h.dispatch({type:"DOMAIN_MIGRATION_START"})),ti.A.userDataCache.getCached().then(e=>{if(null==e){e$.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==Uh(r)||Uh(r)<=Uh(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 UE extends nK.A{_initialize(){e$.h.subscribe("CONNECTION_OPEN",this.handleConnectionOpen)}_terminate(){e$.h.unsubscribe("CONNECTION_OPEN",this.handleConnectionOpen)}handleConnectionOpen=e=>{((0,ek.isWindows)()||(0,ek.isMac)())&&eq.encryptAndStoreTokens()}}let Um=new UE;var Ug=n(53505);let UA=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 UI=n(396574);n(967347);let UT=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("14076"),n.e("99681")]).then(n.bind(n,224116)),webpackId:224116,name:"UnsupportedBrowser"}),US=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("74926"),n.e("44602"),n.e("25280")]).then(n.bind(n,987482)),webpackId:987482,name:"DownloadApps"}),UN=(0,rs.Fe)({createPromise:()=>n.e("84809").then(n.bind(n,312625)),webpackId:312625,name:"InviteProxy"}),Uy=(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"}),UC=(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"}),Uv=(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"}),UO=(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"}),UR=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("98965"),n.e("36335"),n.e("65893")]).then(n.bind(n,209086)),webpackId:209086,name:"LinkAuthorize"}),Ub=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("1147"),n.e("9351"),n.e("17094"),n.e("13836"),n.e("95429"),n.e("98189"),n.e("98965"),n.e("48370"),n.e("29624"),n.e("36335"),n.e("64610"),n.e("44861"),n.e("16864")]).then(n.bind(n,627318)),webpackId:627318,name:"ActivateDevice"}),UD=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("80413"),n.e("758"),n.e("74672"),n.e("58858"),n.e("80760"),n.e("17094"),n.e("27724"),n.e("28127"),n.e("6772"),n.e("60060"),n.e("80559"),n.e("26032"),n.e("94864"),n.e("76283"),n.e("18125"),n.e("9131"),n.e("22513"),n.e("83004"),n.e("13498"),n.e("89203"),n.e("55719"),n.e("74587"),n.e("88999"),n.e("60571"),n.e("71934"),n.e("52196"),n.e("7053"),n.e("86483"),n.e("32260"),n.e("40153"),n.e("68953"),n.e("54747"),n.e("83928"),n.e("74275"),n.e("18934"),n.e("1147"),n.e("30708"),n.e("6026"),n.e("16946"),n.e("19248"),n.e("6866"),n.e("27681"),n.e("99430"),n.e("53843"),n.e("24199"),n.e("207"),n.e("57036"),n.e("98839"),n.e("95429"),n.e("98189"),n.e("10368"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("60235"),n.e("93103"),n.e("88941"),n.e("61379"),n.e("34530"),n.e("62680"),n.e("43039"),n.e("25693"),n.e("21825"),n.e("98125"),n.e("28154"),n.e("18441"),n.e("48804"),n.e("88077"),n.e("76640"),n.e("85502"),n.e("18401"),n.e("43437"),n.e("13681"),n.e("53729"),n.e("10004"),n.e("55314"),n.e("89094"),n.e("29177"),n.e("32551"),n.e("32885"),n.e("4369"),n.e("23353"),n.e("53930"),n.e("32817"),n.e("50015"),n.e("47017"),n.e("11523"),n.e("66900"),n.e("1555"),n.e("44695"),n.e("21690"),n.e("44376"),n.e("33902"),n.e("11527"),n.e("31644"),n.e("70653"),n.e("63070"),n.e("70697"),n.e("18546"),n.e("72535"),n.e("86949"),n.e("61622"),n.e("76170"),n.e("18943"),n.e("84103"),n.e("9915"),n.e("99999"),n.e("5501"),n.e("53614"),n.e("96123"),n.e("31825"),n.e("36320"),n.e("20320"),n.e("31390"),n.e("43919"),n.e("57906"),n.e("90889"),n.e("37622"),n.e("51243"),n.e("88599"),n.e("45421"),n.e("44265"),n.e("99141"),n.e("21435"),n.e("98793"),n.e("92731"),n.e("25990"),n.e("63095"),n.e("68647"),n.e("66541"),n.e("27413"),n.e("64615"),n.e("87225"),n.e("75134"),n.e("84967"),n.e("23216"),n.e("87079"),n.e("3458"),n.e("62827"),n.e("73547"),n.e("32823"),n.e("34691"),n.e("99593"),n.e("61935"),n.e("62168"),n.e("9640"),n.e("55602"),n.e("28128"),n.e("59023"),n.e("47626"),n.e("91381"),n.e("93158"),n.e("10034"),n.e("73500"),n.e("31145"),n.e("25252"),n.e("54975"),n.e("74810"),n.e("79440"),n.e("20287"),n.e("63235"),n.e("78453"),n.e("32756"),n.e("48330"),n.e("72401"),n.e("63645"),n.e("61268"),n.e("33134"),n.e("74610"),n.e("58164"),n.e("49089"),n.e("37490"),n.e("82486"),n.e("80007"),n.e("73122"),n.e("8979"),n.e("15275"),n.e("19580"),n.e("91643"),n.e("4736"),n.e("49345"),n.e("11471"),n.e("59414"),n.e("83827"),n.e("60178"),n.e("89545"),n.e("48370"),n.e("63497"),n.e("74821"),n.e("19623"),n.e("82758"),n.e("82721"),n.e("90213"),n.e("14334"),n.e("37479"),n.e("72238"),n.e("15537"),n.e("7265"),n.e("16198"),n.e("90966"),n.e("40247"),n.e("25505"),n.e("98279"),n.e("97641"),n.e("44861"),n.e("89913"),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("86142")]).then(n.bind(n,5268)),webpackId:5268,name:"ViewsWithAuth"}),UL=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("1147"),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"}),Uw=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("81334"),n.e("30514")]).then(n.bind(n,146088)),webpackId:146088,name:"BrowserHandoff"}),UM=(0,rs.Fe)({createPromise:()=>n.e("74272").then(n.bind(n,569710)),webpackId:569710,name:"MobileWebHandoffFallback"}),UP=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("61749"),n.e("758"),n.e("44651"),n.e("18934"),n.e("6720"),n.e("17094"),n.e("25610"),n.e("5677"),n.e("11491"),n.e("83072"),n.e("98594"),n.e("60060"),n.e("81154"),n.e("2332"),n.e("54747"),n.e("9546"),n.e("22173"),n.e("25907"),n.e("99961"),n.e("31688"),n.e("4592"),n.e("26105"),n.e("46461"),n.e("15612"),n.e("6026"),n.e("45650"),n.e("27681"),n.e("80559"),n.e("333"),n.e("79705"),n.e("30708"),n.e("83928"),n.e("92702"),n.e("1271"),n.e("78220"),n.e("33957"),n.e("55719"),n.e("57006"),n.e("74587"),n.e("6772"),n.e("7017"),n.e("47620"),n.e("66346"),n.e("53773"),n.e("88826"),n.e("28510"),n.e("90324"),n.e("27107"),n.e("27811"),n.e("47206"),n.e("49178"),n.e("17270"),n.e("23967"),n.e("77948"),n.e("50256"),n.e("24685"),n.e("91597"),n.e("8946"),n.e("86921"),n.e("86615"),n.e("23924"),n.e("71470"),n.e("19402"),n.e("13111"),n.e("63202"),n.e("85755"),n.e("28367"),n.e("10471"),n.e("35429"),n.e("63232"),n.e("11301"),n.e("60235"),n.e("64827"),n.e("30938"),n.e("96643"),n.e("94493"),n.e("92789"),n.e("47834"),n.e("74016"),n.e("19551"),n.e("84569"),n.e("6338"),n.e("50689"),n.e("7743"),n.e("45959"),n.e("60658"),n.e("18573"),n.e("55936"),n.e("31988"),n.e("39667"),n.e("5812"),n.e("26073"),n.e("34303"),n.e("28866"),n.e("1368"),n.e("8304"),n.e("58038"),n.e("93159"),n.e("15599"),n.e("94723"),n.e("62931"),n.e("81987"),n.e("50417"),n.e("91737"),n.e("34552"),n.e("93103"),n.e("8757"),n.e("91763"),n.e("76602"),n.e("28229"),n.e("85968"),n.e("21921"),n.e("68403"),n.e("9233"),n.e("76418"),n.e("29787"),n.e("91007"),n.e("42724"),n.e("43437"),n.e("82263"),n.e("40258"),n.e("66495"),n.e("88342"),n.e("86127"),n.e("39970"),n.e("6174"),n.e("91146"),n.e("8555"),n.e("46070"),n.e("42451"),n.e("98965"),n.e("72789"),n.e("6949"),n.e("17249"),n.e("88599"),n.e("35027"),n.e("53917"),n.e("62422"),n.e("90365"),n.e("89088"),n.e("86814"),n.e("71273"),n.e("36863"),n.e("67861"),n.e("1518"),n.e("15186"),n.e("9640"),n.e("25949"),n.e("98765"),n.e("47626"),n.e("23354"),n.e("82644"),n.e("52548"),n.e("3589"),n.e("75842"),n.e("20590"),n.e("35313"),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("78453"),n.e("86672"),n.e("76273"),n.e("90664"),n.e("32756"),n.e("64850"),n.e("70104"),n.e("52617"),n.e("2564"),n.e("47417"),n.e("91013"),n.e("19558"),n.e("58946"),n.e("48330"),n.e("14285"),n.e("95752"),n.e("35321"),n.e("44571"),n.e("30788"),n.e("8362"),n.e("72401"),n.e("62875"),n.e("4744"),n.e("2698"),n.e("25246"),n.e("5500"),n.e("23995"),n.e("501"),n.e("73384"),n.e("82783"),n.e("86243"),n.e("32209"),n.e("39171"),n.e("37021"),n.e("234"),n.e("36564"),n.e("50033"),n.e("87478"),n.e("3998"),n.e("44780"),n.e("5557"),n.e("83952"),n.e("43266"),n.e("95340"),n.e("62718"),n.e("89916"),n.e("90301"),n.e("49145"),n.e("60773"),n.e("61156"),n.e("91671"),n.e("8018"),n.e("92295"),n.e("57355"),n.e("68763"),n.e("16767"),n.e("15109"),n.e("29666"),n.e("58273"),n.e("6841"),n.e("19454"),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("60358"),n.e("20131"),n.e("87436"),n.e("75133"),n.e("1243"),n.e("75859"),n.e("96804"),n.e("38501"),n.e("28850"),n.e("95998"),n.e("27659"),n.e("15920"),n.e("68530"),n.e("42234"),n.e("87317"),n.e("11617"),n.e("26294"),n.e("74678"),n.e("81189"),n.e("92077"),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("40204"),n.e("77467"),n.e("47057"),n.e("60989"),n.e("79435"),n.e("68083"),n.e("48730"),n.e("71467"),n.e("60003"),n.e("51892"),n.e("20965"),n.e("41838"),n.e("39894"),n.e("59373"),n.e("46045"),n.e("33448"),n.e("73122"),n.e("42324"),n.e("69178"),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("53275"),n.e("55895"),n.e("28011"),n.e("70698"),n.e("25344"),n.e("76622"),n.e("26250"),n.e("37065"),n.e("30313"),n.e("50541"),n.e("37698"),n.e("80469"),n.e("51212"),n.e("1485"),n.e("32429"),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("36847"),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("90879"),n.e("81104"),n.e("84018")]).then(n.bind(n,436405)),webpackId:436405,name:"Overlay"}),Ux=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("54747"),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"}),UU=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("68030"),n.e("96970"),n.e("71791")]).then(n.bind(n,125820)),webpackId:125820,name:"QuestsLandingPage"}),Uk=(0,rs.Fe)({createPromise:()=>Promise.all([n.e("68030"),n.e("96970"),n.e("44900")]).then(n.bind(n,589877)),webpackId:589877,name:"QuestPreviewLandingPage"}),UG=(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"}),UF=(0,rs.Fe)({createPromise:()=>n.e("15243").then(n.bind(n,190662)),webpackId:190662,name:"ApplicationDirectoryRoutes"}),UV=(0,rs.Fe)({createPromise:()=>n.e("38217").then(n.bind(n,149755)),webpackId:149755,name:"ApplicationDirectoryGlobalDiscoveryRoutes"}),UB=()=>(0,k.jsx)(Pw,{}),UH=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 Uj(e,t){return t?e.filter(e=>!UH.has(e)):e}class UY extends e8.Component{componentDidMount(){let{isAuthenticated:e}=this.props;tS.Ay.cleanupDisplaySleep(),Um.initialize(),MO.A.wasAuthenticated=e}componentWillUnmount(){Um.terminate()}render(){let e,{isAuthenticated:t,migrationStatus:n,skipsSettingDefaultPageTitle:i}=this.props;return e=n===Uc.IN_PROGRESS?null:UI.VP?ek.isPlatformEmbedded?(0,k.jsxs)(ng.dO,{children:[t?null:(0,k.jsx)(ng.qh,{path:eL.BVt.ACCOUNT_STANDING,component:Ux}),(0,k.jsx)(ng.qh,{exact:!0,path:eL.BVt.INDEX,render:()=>(0,k.jsx)(nS,{})}),(0,k.jsx)(rd.A,{exact:!0,path:eL.BVt.APPS,component:US}),(0,k.jsx)(ng.qh,{path:Uj([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:UD}),(0,k.jsx)(rd.A,{path:eL.BVt.INVITE_PROXY(Sg.pv.channelId()),component:UN}),(0,k.jsx)(ng.rd,{from:eL.BVt.INVITE(""),to:eL.BVt.LOGIN}),(0,k.jsx)(ng.rd,{from:eL.BVt.GIFT_CODE(""),to:eL.BVt.LOGIN}),(0,k.jsx)(ng.qh,{render:UB})]}):(0,k.jsxs)(ng.dO,{children:[(0,k.jsx)(rd.A,{exact:!0,path:eL.BVt.INDEX,render:()=>(0,k.jsx)(nS,{})}),(0,k.jsx)(ng.qh,{path:Uj([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:UD}),t?null:(0,k.jsx)(ng.qh,{path:eL.BVt.PICK_GUILD_SETTINGS(":section?",":subsection?"),component:UD}),t?null:(0,k.jsx)(ng.qh,{path:eL.BVt.CHANNEL(Sg.pv.guildId(),Sg.pv.channelId({optional:!0}),":messageId?"),component:UD}),(0,k.jsx)(ng.rd,{from:eL.BVt.INVITE(""),to:eL.BVt.LOGIN}),(0,k.jsx)(rd.A,{path:eL.BVt.INVITE_PROXY(Sg.pv.channelId()),component:UN}),(0,k.jsx)(ng.rd,{from:eL.BVt.GIFT_CODE(""),to:eL.BVt.LOGIN}),(0,k.jsx)(rd.A,{path:eL.BVt.QUESTS(":questId"),component:UU,impressionName:eO.ImpressionNames.QUESTS_LANDING_PAGE,impressionProperties:e=>{let{match:t}=e;return{quest_id:t?.params.questId!=null?Number(t.params.questId):void 0}}}),(0,k.jsx)(rd.A,{path:eL.BVt.QUEST_PREVIEW(":questId"),component:Uk}),(0,k.jsx)(rd.A,{path:eL.BVt.HANDOFF,component:Uw}),(0,k.jsx)(rd.A,{path:eL.BVt.MOBILE_WEB_HANDOFF,component:UM}),(0,k.jsx)(rd.A,{path:eL.BVt.CONNECTION_LINK(":type"),component:UO}),(0,k.jsx)(rd.A,{path:eL.BVt.CONNECTION_LINK_AUTHORIZE(":type"),component:UR}),(0,k.jsx)(rd.A,{path:eL.BVt.ACTIVATE,component:Ub}),(0,k.jsx)(rd.A,{path:eL.BVt.ACTIVATE_HANDOFF,component:Ub}),(0,k.jsx)(rd.A,{path:eL.BVt.CONNECTIONS_AUTHORIZE_CONTINUE(":type"),component:UG}),(0,k.jsx)(rd.A,{path:eL.BVt.CONNECTIONS_SUCCESS(":type"),component:UC}),(0,k.jsx)(rd.A,{path:eL.BVt.CONNECTIONS_ERROR(":type"),component:Uv}),(0,k.jsx)(rd.A,{path:eL.BVt.CONNECTIONS(":type"),component:Uy}),(0,k.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,Ug.b$)(null!=n&&""!==n?n:"qr_code",e),null}}),(0,k.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:UA((t=(0,nN.parse)(e)).desktop_link),mobile:UA(t.mobile_link)});if("iOS"!==n&&"Android"!==n)return(0,k.jsx)(ng.rd,{to:null!=i.desktop?`${i.desktop.pathname}${i.desktop.search}`:eL.BVt.APP});{let e=(0,Ug.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,k.jsx)(ng.rd,{from:eL.BVt.CONNECT_AUTHORIZE,to:{...location,pathname:eL.BVt.OAUTH2_AUTHORIZE}}),(0,k.jsx)(ng.qh,{path:[eL.BVt.OAUTH2_AUTHORIZED,eL.BVt.OAUTH2_AUTHORIZE,eL.BVt.OAUTH2_ERROR,eL.BVt.OAUTH2_WHITELIST_ACCEPT],component:UL}),t?null:(0,k.jsx)(ng.qh,{path:[eL.BVt.ACCOUNT_STANDING],component:Ux}),t?null:(0,k.jsx)(ng.qh,{path:[eL.BVt.APPLICATION_DIRECTORY],component:UF}),t?null:(0,k.jsx)(ng.qh,{path:[eL.BVt.GLOBAL_DISCOVERY_APPS],component:UV}),(0,k.jsx)(ng.qh,{render:UB}),(0,k.jsx)(ng.rd,{from:eL.BVt.ACCOUNT_REVERT(""),to:eL.BVt.LOGIN})]}):(0,k.jsx)(ng.dO,{children:(0,k.jsx)(rd.A,{component:UT})}),(0,k.jsxs)(Uu,{skipsSettingDefaultPageTitle:i,children:[e,ek.isPlatformEmbedded&&(n===Uc.NOT_STARTED||n===Uc.IN_PROGRESS)&&!0!==tA.w.get(nA.qx)?(0,k.jsx)(Up,{}):null]})}}let UW=e6.Ay.connectStores([eW.default,Uf],()=>({isAuthenticated:eW.default.isAuthenticated(),migrationStatus:Uf.getMigrationStatus()}),{forwardRef:!0})(function(e){let t=function(){let{pathname:e}=(0,ng.zy)();return null!=(0,SA.B)(e,{path:eL.BVt.APPLICATION_DIRECTORY})}();return(0,k.jsx)(UY,{...e,skipsSettingDefaultPageTitle:t})});class UK extends nK.A{_initialize(){ek.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 Uz=new UK;var U$=n(941426);let Uq="1402418696126992445";function UZ(e,t){if(null==t)return null;if(t.applicationId===Uq){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===Uq&&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=UX(t.rootedPath.map(e=>n.get(e)).filter(e=>null!=e&&null!=e.windowHandle),i);return 0!==r?r:UX(t.rootedPath,e.rootedPath)});let s=r.find(e=>null!=e.application.windowHandle)??r[0];return null==s?null:s.application}function UX(e,t){return e.length-t.length}var UQ=((N={}).STREAM="stream",N.PAUSE="pause",N.STOP="stop",N);class UJ{callback;active;application;sound;logger;constructor(e){this.callback=e,this.active=!1,this.application=null,this.sound=!0,this.logger=new U$.Vy("StreamDirector")}onStreamBegin(e,t,n){let i,r=null==(i=e.find(e=>e.processId===t))?null:UZ(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=UZ(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 U0=n(929921);class U1{director;applications;streamKey;mode;constructor(){this.mode=null,this.applications=[],this.director=new UJ(e=>this._onDirectorAction(e)),e$.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,iy._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})`)}),e$.h.subscribe("STREAM_DELETE",e=>{let{streamKey:t}=e;this._onStreamKilled(t)}),e$.h.subscribe("STREAM_STOP",e=>{let{streamKey:t}=e;this._onStreamEnd(t)}),e$.h.subscribe("RUNNING_GAMES_CHANGE",e=>{let{games:t}=e;this._onGameDetectionUpdate(t)}),e$.h.subscribe("MEDIA_ENGINE_VIDEO_STATE_CHANGED",e=>{let{videoState:t,context:n}=e;n===il.x.STREAM&&this._onCapturePaused(t===eL.uPF.PAUSED)}),e$.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)})}_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:UQ.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:UQ.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=iR.A.getCurrentUserActiveStream(),n=U0.A.getState();switch(e.type){case UQ.STREAM:if(null!=t&&(0,oP.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},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??!0},qualityOptions:{preset:n.preset,resolution:n.resolution,frameRate:n.fps},context:il.x.STREAM});break;case UQ.PAUSE:null!=t&&(0,oP.TZ)(t,!0);break;case UQ.STOP:null!=t&&(0,NE.A)(t,!0,e.alsoClose??!0);break;default:throw Error(`unhandled stream action: ${e.type}`)}}_onCapturePaused(e){let t=iR.A.getCurrentUserActiveStream();null!=t&&(0,oP.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 U2=n(579872);class U3 extends nK.A{_initialize(){e$.h.subscribe("MEDIA_ENGINE_PERMISSION",this.handlePermission)}_terminate(){e$.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;U2.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(nf.A.getArticleURL(i),"_blank"),confirmText:na.intl.string(na.t.psXQHP)})}}}let U6=new U3;function U4(){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 U5(e){return"host"===e}class U7{_installingModules={};_downloadingModules={};_report;constructor(){this._report=U4()}handleDownloadingModule(e){if(!U5(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(U5(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(!U5(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(U5(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=U4()}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 U8 extends nK.A{_tracker=new U7;_initialize(){ek.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 U9=new U8;n(742459),n(499979),n(451314);var ke=n(823598),kt=n(201327);let kn=new n4.Ep,ki=!1,kr=window.document.createElement("canvas");kr.width=512,kr.height=288;let ks=kr.getContext("2d");function ka(){kn.stop(),null!=l&&(l=null)}let ko=im().debounce((e,t,n,i)=>{kl(e,(0,iy._z)({streamType:null!=t?OG.U4.GUILD:OG.U4.CALL,guildId:t,channelId:n,ownerId:i}))},500);async function kl(e,t){if(l!==e||(0,ek.isWeb)()&&tl.uh.getSetting()||iR.A.getIsActiveStreamPreviewDisabled(t))return;let n=()=>kl(e,t);if(!ki)try{var i,r;let n,s,a,o,u,c,d,_;i=await (r=e,_=0,(ek.isPlatformEmbedded?function(e,t){let n=(0,ke.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,kt.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,kr.width=a,kr.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),ks?.drawImage(u,0,0,i.width,i.height,0,0,a,o);let f=kr.toDataURL("image/jpeg");if(e$.h.dispatch({type:"STREAM_PREVIEW_FETCH_SUCCESS",streamKey:t,previewURL:f}),ek.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:f},{method:"POST",token:e})}else await ev.Bo.post({url:eL.Rsh.STREAM_PREVIEW(t),body:{thumbnail:f},oldFormErrors:!0,rejectWithError:!1})}catch(t){new tb.A("ApplicationStreamPreviewUploadManager").error("Failed to post stream preview",t),l===e&&kn.start(6e4,n);return}l===e&&(ki?kn.start(6e4,n):kn.start(3e5,n))}function ku(e,t){return!(e===eL.TGd.BROWSER&&Oj.Ay.hasKeybind(ub.zY.MOUSE_BUTTON,t))}let kc=new class{initialize(){(0,ek.isDesktop)()&&(tS.Ay.on("NAVIGATE_BACK",(e,t)=>{ku(t,ub.RX.Back)&&(0,r3.OE)("native")}),tS.Ay.on("NAVIGATE_FORWARD",(e,t)=>{ku(t,ub.RX.Forward)&&(0,r3.Qb)("native")}))}};var kd=n(812729),k_=n.n(kd),kf=n(675991);class kh extends nK.A{callbackActions={[tg.dv.VIDEO]:()=>{tI.Ay.isVideoEnabled()?is.A.setVideoEnabled(!1):(0,NY.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,ek.isMac)()||(0,ek.isWindows)();prevButtons=[];_initialize(){this.isSupported&&(e$.h.subscribe("AUDIO_SET_MODE",this.handleViewUpdate),e$.h.subscribe("VOICE_CHANNEL_SELECT",this.handleViewUpdate),e$.h.subscribe("START_SESSION",this.handleViewUpdate),e$.h.subscribe("CONNECTION_OPEN",this.handleViewUpdate),e$.h.subscribe("CONNECTION_CLOSED",this.handleViewUpdate),e$.h.subscribe("CALL_CREATE",this.handleViewUpdate),e$.h.subscribe("CALL_UPDATE",this.handleViewUpdate),e$.h.subscribe("CALL_DELETE",this.handleViewUpdate),e$.h.subscribe("CHANNEL_DELETE",this.handleViewUpdate),e$.h.subscribe("VOICE_STATE_UPDATES",this.handleViewUpdate),e$.h.subscribe("AUDIO_TOGGLE_SELF_MUTE",this.handleViewUpdate),e$.h.subscribe("AUDIO_TOGGLE_SELF_DEAF",this.handleViewUpdate),e$.h.subscribe("AUDIO_TOGGLE_LOCAL_MUTE",this.handleViewUpdate),e$.h.subscribe("AUDIO_SET_LOCAL_VIDEO_DISABLED",this.handleViewUpdate),tS.Ay.on("THUMBAR_BUTTONS_CLICKED",(e,t)=>this.buttonClicked(t)))}_terminate(){this.isSupported&&(e$.h.unsubscribe("AUDIO_SET_MODE",this.handleViewUpdate),e$.h.unsubscribe("VOICE_CHANNEL_SELECT",this.handleViewUpdate),e$.h.unsubscribe("START_SESSION",this.handleViewUpdate),e$.h.unsubscribe("CONNECTION_OPEN",this.handleViewUpdate),e$.h.unsubscribe("CONNECTION_CLOSED",this.handleViewUpdate),e$.h.unsubscribe("CALL_CREATE",this.handleViewUpdate),e$.h.unsubscribe("CALL_UPDATE",this.handleViewUpdate),e$.h.unsubscribe("CALL_DELETE",this.handleViewUpdate),e$.h.unsubscribe("CHANNEL_DELETE",this.handleViewUpdate),e$.h.unsubscribe("VOICE_STATE_UPDATES",this.handleViewUpdate),e$.h.unsubscribe("AUDIO_TOGGLE_SELF_MUTE",this.handleViewUpdate),e$.h.unsubscribe("AUDIO_TOGGLE_SELF_DEAF",this.handleViewUpdate),e$.h.unsubscribe("AUDIO_TOGGLE_LOCAL_MUTE",this.handleViewUpdate),e$.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=nZ.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,NF.r)(s),{reachedLimit:o,limit:l}=null!=s?(0,NG.M)(s):{reachedLimit:void 0,limit:void 0},u=(0,kf.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){k_()(this.prevButtons,e)||(this.prevButtons=e,tS.Ay.setThumbarButtons(e))}}let kp=new kh;var kE=n(350723),km=n(346142),kg=n(340287),kA=n.t(kg,2);function kI(e,t){if(!1===e||null==e)throw Error(t)}function kT(e,t){if(!e){"u">typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function kS(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}(y=w||(w={})).Pop="POP",y.Push="PUSH",y.Replace="REPLACE",(C=M||(M={})).data="data",C.deferred="deferred",C.redirect="redirect",C.error="error";let kN=/^:[\w-]+$/,ky=e=>"*"===e;function kC(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),kT("*"===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 kv(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 kO=e=>e.join("/").replace(/\/\/+/g,"/"),kR=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function kb(){return(kb=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 kD=e8.createContext(null),kL=e8.createContext(null),kw=e8.createContext(null),kM=e8.createContext(null),kP=e8.createContext({outlet:null,matches:[],isDataRoute:!1}),kx=e8.createContext(null);function kU(){return null!=e8.useContext(kM)}let kk=e8.createElement(function(){var e;let t,n,i,r,s,a,o,l=(s=e8.useContext(kx),a=(kV.UseRouteError,(t=e8.useContext(kL))||kI(!1),t),o=(kV.UseRouteError,(r=((n=e8.useContext(kP))||kI(!1),i=n).matches[i.matches.length-1]).route.id||kI(!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 kG 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(kP.Provider,{value:this.props.routeContext},e8.createElement(kx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function kF(e){let{routeContext:t,match:n,children:i}=e,r=e8.useContext(kD);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),e8.createElement(kP.Provider,{value:t},i)}var kV=((v=kV||{}).UseBlocker="useBlocker",v.UseLoaderData="useLoaderData",v.UseActionData="useActionData",v.UseRouteError="useRouteError",v.UseNavigation="useNavigation",v.UseRouteLoaderData="useRouteLoaderData",v.UseMatches="useMatches",v.UseRevalidator="useRevalidator",v.UseNavigateStable="useNavigate",v.UseRouteId="useRouteId",v);let kB={};function kH(e){kI(!1)}function kj(e){let{basename:t="/",children:n=null,location:i,navigationType:r=w.Pop,navigator:s,static:a=!1,future:o}=e;kU()&&kI(!1);let l=t.replace(/^\/*/,"/"),u=e8.useMemo(()=>({basename:l,navigator:s,static:a,future:kb({v7_relativeSplatPath:!1},o)}),[l,o,s,a]);"string"==typeof i&&(i=kS(i));let{pathname:c="/",search:d="",hash:_="",state:f=null,key:h="default"}=i,p=e8.useMemo(()=>{let e=kv(c,l);return null==e?null:{location:{pathname:e,search:d,hash:_,state:f,key:h},navigationType:r}},[l,c,d,_,f,h,r]);return null==p?null:e8.createElement(kw.Provider,{value:u},e8.createElement(kM.Provider,{children:n,value:p}))}function kY(e){let{children:t,location:n}=e;return function(e,t){var n,i;let r;kU()||kI(!1);let{navigator:s}=e8.useContext(kw),{matches:a}=e8.useContext(kP),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let c=(kU()||kI(!1),e8.useContext(kM).location);if(t){let e="string"==typeof t?kS(t):t;"/"===u||(null==(n=e.pathname)?void 0:n.startsWith(u))||kI(!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 f=(void 0===i&&(i="/"),function(e,t,n,i){let r=kv(("string"==typeof t?kS(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("/")&&(kI(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 _=kO([r,d.relativePath]),f=i.concat(d);t.children&&t.children.length>0&&(kI(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+_+'".'),e(t.children,n,f,_)),(null!=t.path||t.index)&&n.push({path:_,score:(o=_,l=t.index,c=(u=o.split("/")).length,u.some(ky)&&(c+=-2),l&&(c+=2),u.filter(e=>!ky(e)).reduce((e,t)=>e+(kN.test(t)?3:""===t?1:10),c)),routesMeta:f})};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 kT(!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=kC({path:o.relativePath,caseSensitive:o.caseSensitive,end:l},u),d=o.route;if(!c&&l&&n&&!i[i.length-1].route.index&&(c=kC({path:o.relativePath,caseSensitive:o.caseSensitive,end:!1},u)),!c)return null;Object.assign(r,c.params),a.push({params:r,pathname:kO([s,c.pathname]),pathnameBase:kR(kO([s,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(s=kO([s,c.pathnameBase]))}return a}(s[e],t,i)}return a}(e,{pathname:_},i,!1)),h=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||kI(!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,f=null;n&&(c=o&&i.route.id?o[i.route.id]:void 0,_=i.route.errorElement||kk,l&&(u<0&&0===r?(s="route-fallback",kB[s]||(kB[s]=!0),d=!0,f=null):u===r&&(d=!0,f=i.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,r+1)),p=()=>{let t;return t=c?_:d?f:i.route.Component?e8.createElement(i.route.Component,null):i.route.element?i.route.element:e,e8.createElement(kF,{match:i,routeContext:{outlet:e,matches:h,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===r)?e8.createElement(kG,{location:n.location,revalidation:n.revalidation,component:_,error:c,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}(f&&f.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:kO([u,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:kO([u,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),a,void 0,void 0);return t&&h?e8.createElement(kM.Provider,{value:{location:kb({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:w.Pop}},h):h}(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!==kH&&kI(!1),t.props.index&&t.props.children&&kI(!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 kW=((O=kW||{})[O.pending=0]="pending",O[O.success=1]="success",O[O.error=2]="error",O);new Promise(()=>{}),e8.Component;try{window.__reactRouterVersion="6"}catch(e){}e9.startTransition,kA.flushSync,e9.useId,"u">typeof window&&void 0!==window.document&&window.document.createElement,(R=P||(P={})).UseScrollRestoration="useScrollRestoration",R.UseSubmit="useSubmit",R.UseSubmitFetcher="useSubmitFetcher",R.UseFetcher="useFetcher",R.useViewTransitionState="useViewTransitionState",(b=x||(x={})).UseFetcher="useFetcher",b.UseFetchers="useFetchers",b.UseScrollRestoration="useScrollRestoration";let kK="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e8.useLayoutEffect:()=>{};function kz(e){let{children:t}=e,n=(0,ng.W6)(),[i,r]=e8.useState(()=>({location:n.location,action:n.action}));return kK(()=>{n.listen((e,t)=>r({location:e,action:t}))},[n]),e8.createElement(kj,{navigationType:i.action,location:i.location,navigator:n},e8.createElement(kY,null,e8.createElement(kH,{path:"*",element:t})))}function k$(e){let{children:t}=e;return e8.useEffect(()=>(Sm.A.initialize(),()=>Sm.A.cleanup()),[]),(0,k.jsx)(tZ.vd,{children:(0,k.jsx)(ng.Ix,{history:(0,uF.JK)(),children:(0,k.jsx)(kz,{children:t})})})}var kq=n(306173),kZ=n(279234);let kX=new tb.A("libdiscore"),kQ=!1;async function kJ(){if(!kQ){try{let e;await (0,kZ.P)();let t=(0,kq.t7)(6,7);kX.info("The answer for life the universe and everything is:",t),e=[],tk.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;kX.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)}kQ=!0}}var k0=n(343166),k1=n(621466),k2=n(654108),k3=n(316501);L_.default.cssDebuggingEnabled&&n.e("7473").then(n.t.bind(n,17960,19)),(0,k3.pF)();let k6=5*n5.A.Millis.MINUTE,k4=document.getElementById("app-mount");tK()(null!=k4,"Could not find app-mount"),k4.className=__OVERLAY__?"":k0.l;let k5=(0,tY.createRoot)(k4),k7={"/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,Db.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&&(D9({token:t}),!0)}},k8=e=>k5.render((0,k.jsx)(xo.e,{children:(0,k.jsx)(k$,{children:(0,k.jsx)(e,{})})}));if(null!=ti.A){ti.A.setUncaughtExceptionHandler?.((e,t)=>{setImmediate(()=>{throw eC.A.captureCrash(e),e})}),tS.Ay.appLoaded();let e=ti.A.app.getVersion(),t=ti.A.app.getBuildNumber(),n=ti.A.app.getModuleVersions();eC.A.setExtra({hostVersion:e,moduleVersions:n}),eC.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,km.M)(window),__OVERLAY__)k8(()=>(0,k.jsx)(tz.W,{children:(0,k.jsx)(UP,{})}));else if(null!=window.require&&null==window.DiscordNative)k8(nE);else{if(document.addEventListener("scroll",e=>e.preventDefault()),ek.isPlatformEmbedded){window.onbeforeunload=()=>tS.Ay.beforeUnload(),tS.Ay.on("HELP_OPEN",()=>window.open(nf.A.getCommunityURL()));let e=new n4.J_(k6,()=>tS.Ay.purgeMemory());tS.Ay.on("MAIN_WINDOW_BLUR",()=>{e.delay(),tS.Ay.setFocused(!1),(0,kE.XC)(window,!1)}),tS.Ay.on("MAIN_WINDOW_FOCUS",()=>{e.cancel(),tS.Ay.setFocused(!0),(0,kE.XC)(window,!0)}),tS.Ay.on("MAIN_WINDOW_PATH",function(e,t,n){let i=null!=n?new URLSearchParams(n):null;k7[t]?.(i)||(0,uF.pX)(t)}),tS.Ay.on("MAIN_WINDOW_HIDDEN",()=>{(0,kE.R)(window)})}U9.initialize(),Uz.initialize(),({instance:null,init(){null==this.instance&&(this.instance=new U1)}}).init(),({init(){e$.h.subscribe("CONNECTION_OPEN",ka),e$.h.subscribe("LOGOUT",ka),e$.h.subscribe("STREAM_DELETE",ka),e$.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__||(ka(),l=r,ko(r,t,n,i))}),e$.h.subscribe("MEDIA_ENGINE_VIDEO_STATE_CHANGED",e=>{let{videoState:t}=e;ki=t===eL.uPF.PAUSED})}}).init(),({init(){document.addEventListener("paste",e=>{(0,k2.A)((0,k1.BF)(e))||aI._.dispatchToLastSubscribed(eL.jej.GLOBAL_CLIPBOARD_PASTE,{event:e})})}}).init(),U6.initialize(),kc.initialize(),kp.initialize(),kJ(),k8(()=>(0,k.jsx)(tz.W,{children:(0,k.jsx)(UW,{})}))}}