This repository has been archived on 2026-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
ServerSpacebarOld/assets/public/client/90e39561a738b7789aaa.js
2025-12-08 18:44:58 +02:00

45 lines
41 KiB
JavaScript

(this.webpackChunkdiscord_app=this.webpackChunkdiscord_app||[]).push([[83064],{994857:(e,t,r)=>{e.exports=r.p+"72a8b168ad2c7eea7b2559b5690c7695.svg"},951754:(e,t,r)=>{e.exports=r.p+"81084ff5a27b6e6ff487e479c37d1660.svg"},742224:(e,t,r)=>{"use strict";r.d(t,{x:()=>ce,Z:()=>le});var n=r(785893),o=r(667294),i=r(294184),c=r.n(i),u=r(707961),l=r(503370),a=r(80317),s=r(995141),f=r(382060),p=r(797815),d=r(563135),b=r(2590);var y=r(202351),h=r(901654),O=r(533293),v=r(367299),m=r(757730);function g(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){g(e,t,r[t])}))}return e}function w(e){var t=e.confettiSpawnRef,r=e.shouldFire,o=(0,
y.e7)([h.Z],(function(){return h.Z.isFocused()})),i=(0,m.Z)(t);return null==i?null:(0,n.jsx)(O.Z,{position:i,firing:o&&r})}function P(e){return(0,n.jsx)(v.Z,{confettiLocation:e.confettiLocation,children:(0,n.jsx)(w,j({},e))})}var E=r(609853),S=r(107364),x=r(732660),_=r.n(x);function I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function R(e){R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)};return R(e)}function D(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e,t){L=Object.setPrototypeOf||function(e,t){e.__proto__=t;return e};return L(e,t)}var C,M,T=function(e){
return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return!0}catch(e){return!1}}();return function(){var r,n=R(e);if(t){var o=R(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return D(this,r)}}!function(e){e.SINGLE_AVATAR="1";e.MULTIPLE_AVATAR="2"}(C||(C={}));var U=(Z(M={},u.EFr.SIZE_32,_().avatarSmall),Z(M,u.EFr.SIZE_40,_().avatarLarge),M),A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}});t&&L(e,t)}(r,e);var t=N(r);function r(){I(this,r);var e
;(e=t.apply(this,arguments)).placeholderMaxWidth="".concat(Math.floor(40*Math.random())+40,"%");return e}r.prototype.render=function(){var e=this.props,t=e.type,r=e.avatarSize,o=e.className;return t===C.MULTIPLE_AVATAR?(0,n.jsxs)("div",{className:c()(_().multiplePlaceholder,o),children:[(0,n.jsxs)(S.Z,{children:[(0,n.jsx)("div",{className:c()(_().placeholderAvatar,U[r],_().avatarMasked)}),(0,n.jsx)("div",{className:c()(_().placeholderAvatar,U[r],_().avatarMasked)}),(0,n.jsx)("div",{className:c()(_().placeholderAvatar,U[r])})]}),(0,n.jsx)(S.Z,{grow:1,className:_().mulitplePlaceholderUsername,style:{maxWidth:this.placeholderMaxWidth}})]}):(0,n.jsxs)(S.Z,{className:c()(_().placeholder,o),children:[(0,n.jsx)("div",{className:c()(_().placeholderAvatar,U[r])}),(0,n.jsx)(S.Z,{grow:1,className:_().placeholderUsername,style:{maxWidth:this.placeholderMaxWidth}})]})};return r}(o.Component);A.defaultProps={type:C.SINGLE_AVATAR};A.Types=C;const k=A
;var F=r(91747),B=r(217674),G=r(651034),V=r(775173),H=r(421281),z=r(749565),W=r(106555),Y=r(69540),q=r(473708),K=r(580987),X=r.n(K);function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function Q(e){Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)};return Q(e)}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){J(e,t,r[t])}))}return e}function te(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e)
;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}function re(e,t){return!t||"object"!==oe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ne(e,t){ne=Object.setPrototypeOf||function(e,t){e.__proto__=t;return e};return ne(e,t)}var oe=function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return!0}catch(e){return!1}}();return function(){var r,n=Q(e);if(t){
var o=Q(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return re(this,r)}}var ce=(0,H.Mg)(X().avatarDecorationPadding),ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}});t&&ne(e,t)}(r,e);var t=ie(r);function r(){$(this,r);var e;(e=t.apply(this,arguments)).state={hovered:!1,typingRef:null};e.handleMouseEnter=function(){e.setState({hovered:!0})};e.handleMouseLeave=function(){e.setState({hovered:!1})};e.handleSetTypingRef=function(t){e.setState({typingRef:t})};return e}var o=r.prototype;o.renderActivity=function(){var e=this.props,t=e.activities,r=e.applicationStream,o=e.user,i=e.channel,c=this.state.hovered,u=null!=t?t.find((function(e){return e.type===b.IIU.CUSTOM_STATUS})):null,l=null!=u&&null!=o&&function(e,t,r){if(e.type!==b.IIU.CUSTOM_STATUS||null==e.emoji)return!1
;var n=e.emoji;if(null==n.id||null==r||!(0,f.zi)(r.type))return!0;var o=p.Z.getUsableCustomEmojiById(n.id),i=null==o||o.guildId!==r.getGuildId(),c=d.ZP.can({permission:b.Plq.USE_EXTERNAL_EMOJIS,user:t,context:r});return!i||c}(u,o,i);return(0,n.jsx)(W.Z,{className:X().activity,textClassName:X().activityText,emojiClassName:X().activityEmoji,activities:t,applicationStream:r,animate:c,hideEmoji:!l,hideTooltip:!0})};o.renderOwner=function(){var e=this.props,t=e.ownerTooltipText,r=void 0===t?q.Z.Messages.GUILD_OWNER:t,o=e.lostPermissionTooltipText,i=e.isOwner;return null!=i&&i?null!=o?null:(0,n.jsx)(u.ua7,{text:r,children:function(e){return(0,n.jsx)(F.Z,te(ee({},e),{className:X().ownerIcon}))}}):null};o.renderPremium=function(){var e=this.props,t=e.premiumSince,r=e.onClickPremiumGuildIcon;return null==t?null:(0,n.jsx)(u.ua7,{text:q.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_TOOLTIP.format({date:t}),children:function(e){return(0,n.jsx)(u.P3F,{onClick:r,tabIndex:-1,children:(0,
n.jsx)(B.Z,te(ee({},e),{className:X().premiumIcon}))})}})};o.renderBot=function(){var e=this.props.user;return null!=e&&e.bot?(0,n.jsx)(E.Z,{className:X().botTag,verified:e.isVerifiedBot()}):null};o.renderDecorators=function(){return(0,n.jsxs)(n.Fragment,{children:[this.renderBot(),this.renderOwner(),this.renderPremium()]})};o.renderAvatar=function(e,t){var r=this.props,o=r.status,i=r.isMobile,c=r.shouldAnimateStatus,a=r.isTyping,f=r.activities,p=r.guildId,d=r.currentUser,y=r.canUseAvatarDecorations,h=void 0!==y&&y,O=c?u.Xo$:u.qEK,v=(0,l.Z)(f)?b.Skl.STREAMING:o;v=t?void 0:v;var m,g=h?(0,V.NZ)({userId:e.id,avatarDecoration:e.avatarDecoration,size:(0,s.y)(u.EFr.SIZE_32)}):null;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(O,{size:u.EFr.SIZE_32,src:null!==(m=e.getAvatarURL(p,32))&&void 0!==m?m:"",isMobile:i,isTyping:a,status:v,"aria-label":e.username,statusTooltip:!0,avatarDecoration:g,typingIndicatorRef:this.handleSetTypingRef}),(0,n.jsx)(P,{confettiSpawnRef:this.state.typingRef,
shouldFire:a&&null!=d&&e.id!==d.id,confettiLocation:Y.Hn.MEMBER_USER})]})};o.renderUsername=function(e){var t,r=this.props,o=r.colorString,i=r.colorRoleName,c=r.name,l=r.nick;return(0,n.jsx)(u.PUh,{roleName:i,color:null!=o?o:void 0,name:null!==(t=null!=l?l:c)&&void 0!==t?t:z.ZP.getName(e)})};o.render=function(){var e=this,t=this.props,r=t.user,o=t.status,i=t.onMouseDown,l=t.onKeyDown,a=t.onClick,s=t.onContextMenu,f=t.onFocus,p=t.selected,d=t.tabIndex,y=t.itemProps,h=t.lostPermissionTooltipText,O=t.canUseAvatarDecorations,v=t.className,m=o===b.Skl.OFFLINE;return null!=r?(0,n.jsx)(G.Z,ee({selected:p,className:c()(X().member,v,J({},X().offline,m&&!p)),innerClassName:c()(J({},X().memberInner,O)),onClick:a,onKeyDown:l,onMouseDown:i,onContextMenu:s,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,name:null==h?(0,n.jsx)("span",{className:X().username,children:this.renderUsername(r)}):(0,n.jsx)(u.ua7,{text:h,children:function(t){return(0,n.jsx)("span",te(ee({},t),{
className:c()(X().username,X().lostPermission),children:e.renderUsername(r)}))}}),avatar:this.renderAvatar(r,m),subText:this.renderActivity(),decorators:this.renderDecorators(),"aria-controls":this.props["aria-controls"],"aria-expanded":this.props["aria-expanded"],"aria-setsize":this.props["aria-setsize"],"aria-posinset":this.props["aria-posinset"],id:this.props.id,tabIndex:d,onFocus:f,focusProps:{offset:{top:4,bottom:4,left:4,right:4}}},y)):(0,n.jsx)(k,{avatarSize:u.EFr.SIZE_32,className:X().placeholder})};return r}(o.PureComponent);ue.defaultProps={selected:!1,shouldAnimateStatus:!1,isTyping:!1};const le=o.memo((function(e){var t=z.ZP.useName(e.user),r=(0,a.U)().canUseAvatarDecorations;return(0,n.jsx)(ue,ee({canUseAvatarDecorations:r,name:t},e))}))},302685:(e,t,r)=>{"use strict";r.d(t,{E:()=>y,H:()=>m});var n=r(5387),o=r.n(n),i=r(281110),c=r(744564),u=r(327499),l=r(664731),a=r(2590);function s(e,t,r,n,o,i,c){try{var u=e[i](c),l=u.value}catch(e){r(e);return}
u.done?t(l):Promise.resolve(l).then(n,o)}function f(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function c(e){s(i,n,o,c,u,"next",e)}function u(e){s(i,n,o,c,u,"throw",e)}c(void 0)}))}}var p=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;(n=0,o)&&(i=[2&i[0],o.value]);switch(i[0]){case 0:case 1:o=i;break;case 4:c.label++;return{value:i[1],done:!1};case 5:c.label++;n=i[1];i=[0];continue;case 7:i=c.ops.pop();c.trys.pop();continue;default:if(!(o=c.trys,o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}
if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1];o=i;break}if(o&&c.label<o[2]){c.label=o[2];c.ops.push(i);break}o[2]&&c.ops.pop();c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e];n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}};function d(e){return b.apply(this,arguments)}function b(){return(b=f((function(e){var t,r;return p(this,(function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);c.Z.dispatch({type:"GUILD_ROLE_MEMBER_COUNT_FETCH_START",guildId:e});return[4,i.Z.get({url:a.ANM.GUILD_ROLE_MEMBER_COUNTS(e)})];case 1:t=n.sent();r=t.body;c.Z.dispatch({type:"GUILD_ROLE_MEMBER_COUNT_FETCH_SUCCESS",guildId:e,roleMemberCount:r});return[3,3];case 2:n.sent();c.Z.dispatch({type:"GUILD_ROLE_MEMBER_COUNT_FETCH_FAILURE",guildId:e});return[3,3];case 3:return[2]}}))}))).apply(this,arguments)}function y(e){return h.apply(this,arguments)}function h(){return(h=f((function(e){return p(this,(function(t){
switch(t.label){case 0:return l.Z.shouldFetch(e)?[4,d(e)]:[3,2];case 1:t.sent();t.label=2;case 2:return[2]}}))}))).apply(this,arguments)}var O=new(o())({maxAge:1e4});function v(e,t){return i.Z.get({url:a.ANM.GUILD_ROLE_MEMBER_IDS(e,t)}).then((function(r){c.Z.dispatch({type:"GUILD_ROLE_MEMBER_COUNT_UPDATE",guildId:e,roleId:t,count:r.body.length});u.Z.requestMembersById(e,r.body,!1)}))}function m(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n="".concat(e,"-").concat(t);if(!r||null==O.get(n)){O.set(n,!0);return v(e,t)}return Promise.resolve()}},664731:(e,t,r)=>{"use strict";r.d(t,{Z:()=>y});var n=r(202351),o=r(744564);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e){c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)};return c(e)}function u(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){
if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t){l=Object.setPrototypeOf||function(e,t){e.__proto__=t;return e};return l(e,t)}var a=function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return!0}catch(e){return!1}}();return function(){var r,n=c(e);if(t){var o=c(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return u(this,r)}}var f=12e4,p={},d={};var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}});t&&l(e,t)}(r,e)
;var t=s(r);function r(){i(this,r);return t.apply(this,arguments)}var n=r.prototype;n.getRoleMemberCount=function(e){return null!=e?p[e]:null};n.shouldFetch=function(e){if(null==e)return!1;var t=d[e];return null==t||Date.now()-t>f};n.__getLocalVars=function(){return{CACHE_TIME:f,guildRoleMemberCounts:p,guildLastFetchedAt:d}};return r}(n.ZP.Store);b.displayName="GuildRoleMemberCountStore";const y=new b(o.Z,{GUILD_ROLE_MEMBER_COUNT_FETCH_SUCCESS:function(e){var t=e.guildId,r=e.roleMemberCount;p[t]=r;d[t]=Date.now()},GUILD_ROLE_MEMBER_COUNT_UPDATE:function(e){var t=e.guildId,r=e.roleId,n=e.count,o=p[t];if(null==o)return!1;o[r]=n},GUILD_ROLE_MEMBER_BULK_ADD:function(e){var t=e.guildId,r=e.roleId,n=e.added,o=p[t];if(null==o)return!1;if(null==o[r])return!1;var i=Object.keys(n).length;o[r]+=i},GUILD_ROLE_MEMBER_ADD:function(e){var t=e.guildId,r=e.roleId,n=p[t];if(null==n)return!1;if(null==n[r])return!1;n[r]=n[r]+1},GUILD_ROLE_MEMBER_REMOVE:function(e){var t=e.guildId,r=e.roleId,n=p[t]
;if(null==n)return!1;if(null==n[r])return!1;n[r]=Math.max(n[r]-1,0)},GUILD_ROLE_CREATE:function(e){var t=e.guildId,r=e.role;null==p[t]&&(p[t]={});p[t][r.id]=0},GUILD_DELETE:function(e){var t=e.guild;delete p[t.id];delete d[t.id]}})},883064:(e,t,r)=>{"use strict";r.d(t,{Z:()=>x});var n=r(496486),o=r.n(n),i=r(894012),c=r(939673),u=r(645842),l=r(844494);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){s(e,t,r[t])}))}return e}function p(e,t){t=null!=t?t:{}
;Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}function d(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e)||function(){
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var b=null;b=r(837054).Z;function y(e,t){var r={};null!=e.mention&&null!=b&&(r={mention:b});return(0,l.Z)([e].concat(d(t),[r]))}var h={enableBuildOverrides:!1},O=y(u.Z.RULES,[(0,c.Z)({enableBuildOverrides:!0})]),v=o().omit(y(u.Z.RULES,[(0,c.Z)(h)]),"paragraph","newline"),m=y(u.Z.CHANNEL_TOPIC_RULES,[(0,c.Z)(p(f({},h),{emojiTooltipPosition:"bottom"})),{codeBlock:{react:u.Z.RULES.text.react}}]),g=y(u.Z.EMBED_TITLE_RULES,[(0,c.Z)(h)]),j=y(u.Z.INLINE_REPLY_RULES,[(0,c.Z)(h)]),w=y(u.Z.GUILD_VERIFICATION_FORM_RULES,[(0,c.Z)(h)]),P=y(u.Z.GUILD_EVENT_RULES,[(0,c.Z)(h)]),E=y(u.Z.INLINE_REPLY_RULES,[(0,c.Z)(p(f({},h),{emoji:{height:14,width:14,lineHeight:18}}))]),S=y(u.Z.AUTO_MODERATION_SYSTEM_MESSAGE_RULES,[(0,c.Z)(h)]);const x={defaultRules:O,guildEventRules:P,astParserFor:i._p,reactParserFor:i.w4,parse:i.w4(O),parseTopic:i.w4(m),
parseEmbedTitle:i.w4(g),parseInlineReply:i.w4(j),parseGuildVerificationFormRule:i.w4(w),parseGuildEventDescription:i.w4(P),parseAutoModerationSystemMessage:i.w4(S),parseForumPostGuidelines:i.w4(v),parseForumPostMostRecentMessage:i.w4(E),parseToAST:i._p(O),parseTopicToAST:i._p(m),parseEmbedTitleToAST:i._p(g),parseInlineReplyToAST:i._p(j),parseAutoModerationSystemMessageToAST:i._p(S)}},837054:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ie});var n=r(785893),o=(r(667294),r(971402)),i=r(294184),c=r.n(i),u=r(496486),l=r.n(u),a=r(547308),s=r(202351),f=r(707961),p=r(742224),d=r(316878),b=r(260561),y=r(302685),h=r(725691),O=r(183640),v=r(61209),m=r(21372),g=r(567403),j=r(473903),w=r(107364),P=r(966935),E=r(202237),S=r(473708),x=r(619623),_=r.n(x),I=r(913198),Z=r.n(I);function R(e,t,r,n,o,i,c){try{var u=e[i](c),l=u.value}catch(e){r(e);return}u.done?t(l):Promise.resolve(l).then(n,o)}function D(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function c(e){
R(i,n,o,c,u,"next",e)}function u(e){R(i,n,o,c,u,"throw",e)}c(void 0)}))}}function L(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){L(e,t,r[t])}))}return e}function M(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}var T=function(e,t){
var r,n,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;(n=0,o)&&(i=[2&i[0],o.value]);switch(i[0]){case 0:case 1:o=i;break;case 4:c.label++;return{value:i[1],done:!1};case 5:c.label++;n=i[1];i=[0];continue;case 7:i=c.ops.pop();c.trys.pop();continue;default:if(!(o=c.trys,o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1];o=i;break}if(o&&c.label<o[2]){c.label=o[2];c.ops.push(i);break}o[2]&&c.ops.pop();c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e];n=0}finally{r=o=0}if(5&i[0])throw i[1]
;return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},N=(0,b.B)({kind:"user",id:"2021-07_role_popout",label:"Role Popout",defaultConfig:{enabled:!1},treatments:[{id:1,label:"Enable Popout",config:{enabled:!0}}]});function U(e){var t=e.roleColor,i=e.roleId,u=e.channelId,b=e.roleName,x=e.guildId,I=e.children,R=e.inlinePreview,L=void 0!==R&&R,U=(0,s.e7)([d.Z],(function(){return d.Z.roleStyle})),A=null!=t&&0!==t&&!L,k=A&&"dot"===U,F=function(e){return(0,n.jsxs)(P.Z,M(C({className:c()(Z().roleMention),color:"username"===U&&A?t:null},e),{children:[k&&(0,n.jsx)(f.FhE,{color:(0,a.Rf)(t),className:_().roleDot,background:!1,tooltip:!1}),I]}))};return!N.getCurrentConfig({}).enabled||L||null==u||null==x||null==i&&"@everyone"!==b?F():(0,n.jsx)(f.yRy,{preload:D((function(){return T(this,(function(e){switch(e.label){case 0:return null==i?[3,2]:[4,(0,y.H)(x,i)];case 1:e.sent();e.label=2;case 2:return[2]}}))})),renderPopout:function(e){
var t=v.Z.getChannel(u),c=g.Z.getGuild(x),a=m.ZP.getMembers(c.id),s=null==i?c.roles[c.id]:c.roles[i],d=l()(a).filter((function(e){if("@everyone"===b||e.roles.includes(i)){return null!=j.default.getUser(e.userId)}return!1})).sortBy((function(e){var t,r=j.default.getUser(e.userId);return(null!=r?null!==(t=e.nick)&&void 0!==t?t:r.username:"").toLocaleLowerCase()})).map((function(e){var i=j.default.getUser(e.userId);return(0,n.jsx)(f.yRy,{preload:function(){return(0,h.Z)(i.id,i.getAvatarURL(t.guild_id,80),{guildId:t.guild_id,channelId:t.id})},renderPopout:function(r){return(0,n.jsx)(O.Z,M(C({},r),{userId:e.userId,guildId:c.id,channelId:t.id}))},spacing:14,children:function(u,l){var a=l.isShown;return(0,n.jsx)(p.Z,C({selected:a,colorString:e.colorString,colorRoleName:s.name,user:i,isOwner:e.userId===c.ownerId,nick:e.nick,premiumSince:null==e.premiumSince?null:new Date(e.premiumSince),channel:t,guildId:c.id,onContextMenu:function(e){(0,o.jW)(e,D((function(){var e,o
;return T(this,(function(u){switch(u.label){case 0:return[4,Promise.all([r.e(40532),r.e(49244),r.e(98847),r.e(68537),r.e(18145),r.e(30737),r.e(3454),r.e(77357),r.e(14136),r.e(1607)]).then(r.bind(r,914136))];case 1:e=u.sent(),o=e.default;return[2,function(e){return(0,n.jsx)(o,M(C({},e),{user:i,guildId:c.id,channel:t,showMediaItems:!0}))}]}}))})))}},u),e.userId)}},i.id)})).value();return(0,n.jsx)(w.Z,M(C({className:Z().rolePopout},e),{children:(0,n.jsxs)(f.Ttm,{className:Z().roleScroller,children:[(0,n.jsx)(E.Z,{className:Z().roleHeader,"aria-label":S.Z.Messages.CHANNEL_MEMBERS_A11Y_LABEL.format({title:s.name,count:d.length}),children:(0,n.jsxs)("span",{"aria-hidden":!0,children:[s.name," — ",d.length]})}),d]})}))},position:"right",children:F})}var A=r(441143),k=r.n(A),F=r(289283),B=r(24230),G=r(840922),V=r(773148),H=r(749565),z=r(876986);function W(e,t,r,n,o,i,c){try{var u=e[i](c),l=u.value}catch(e){r(e);return}u.done?t(l):Promise.resolve(l).then(n,o)}function Y(e){return function(){
var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function c(e){W(i,n,o,c,u,"next",e)}function u(e){W(i,n,o,c,u,"throw",e)}c(void 0)}))}}function q(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){q(e,t,r[t])}))}return e}function X(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){
Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}var $=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;(n=0,o)&&(i=[2&i[0],o.value]);switch(i[0]){case 0:case 1:o=i;break;case 4:c.label++;return{value:i[1],done:!1};case 5:c.label++;n=i[1];i=[0];continue;case 7:i=c.ops.pop();c.trys.pop();continue;default:if(!(o=c.trys,o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1];o=i;break}if(o&&c.label<o[2]){c.label=o[2];c.ops.push(i);break}
o[2]&&c.ops.pop();c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e];n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}};function J(e){var t=e.className,i=e.userId,c=e.channelId,u=e.inlinePreview,l=void 0!==u&&u,a=(0,s.e7)([j.default],(function(){return j.default.getUser(i)})),p=(0,s.e7)([v.Z],(function(){return v.Z.getChannel(c)})),d=null!=p?p.getGuildId():null,b=l||null==a||null==d||null==c?void 0:function(e){null!=p&&(0,o.jW)(e,Y((function(){var e,t;return $(this,(function(o){switch(o.label){case 0:return[4,Promise.all([r.e(40532),r.e(49244),r.e(98847),r.e(68537),r.e(18145),r.e(30737),r.e(3454),r.e(77357),r.e(14136),r.e(1607)]).then(r.bind(r,914136))];case 1:e=o.sent(),t=e.default;return[2,function(e){return(0,n.jsx)(t,X(K({},e),{user:a,channel:p,guildId:d}))}]}}))})))},y=H.ZP.useName(a),w=(0,s.e7)([v.Z,m.ZP,G.Z],(function(){return V.Z.getNickname(d,c,a)})),E=g.Z.getGuild(d),S=(0,B.Ib)(E)&&i===z.fL?z.jM:null,x=function(e){return(0,
n.jsx)(P.Z,X(K({className:t,onContextMenu:b,color:S},e),{children:"@".concat(null!=w?w:y)}))};return l?x():(0,n.jsx)(f.yRy,{preload:null==a?void 0:function(){return(0,h.Z)(a.id,a.getAvatarURL(d,80),{guildId:null!=d?d:void 0,channelId:null!=c?c:void 0})},renderPopout:function(e){k()(null!=a,"Unexpected missing user");return(0,n.jsx)(O.Z,K({userId:a.id,guildId:null!=d?d:void 0,channelId:c},e))},position:F.tq?"top":"right",children:function(e){return x(e)}})}function Q(e,t,r,n,o,i,c){try{var u=e[i](c),l=u.value}catch(e){r(e);return}u.done?t(l):Promise.resolve(l).then(n,o)}function ee(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function c(e){Q(i,n,o,c,u,"next",e)}function u(e){Q(i,n,o,c,u,"throw",e)}c(void 0)}))}}function te(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function re(e){for(var t=1;t<arguments.length;t++){
var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){te(e,t,r[t])}))}return e}function ne(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}var oe=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){
return function(i){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;(n=0,o)&&(i=[2&i[0],o.value]);switch(i[0]){case 0:case 1:o=i;break;case 4:c.label++;return{value:i[1],done:!1};case 5:c.label++;n=i[1];i=[0];continue;case 7:i=c.ops.pop();c.trys.pop();continue;default:if(!(o=c.trys,o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1];o=i;break}if(o&&c.label<o[2]){c.label=o[2];c.ops.push(i);break}o[2]&&c.ops.pop();c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e];n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}};const ie={handleUserContextMenu:function(e,t,i,c){var u=v.Z.getChannel(t);null!=u&&(0,o.jW)(c,ee((function(){var t,o;return oe(this,(function(c){switch(c.label){case 0:
return[4,Promise.all([r.e(40532),r.e(49244),r.e(98847),r.e(68537),r.e(18145),r.e(30737),r.e(3454),r.e(77357),r.e(14136),r.e(1607)]).then(r.bind(r,914136))];case 1:t=c.sent(),o=t.default;return[2,function(t){return(0,n.jsx)(o,ne(re({},t),{user:e,channel:u,guildId:i}))}]}}))})))},react:function(e,t,r){var o=e.userId,i=e.channelId;return null==o?(0,n.jsx)(U,ne(re({inlinePreview:r.formatInline},e),{children:t(e.content,r)}),r.key):(0,n.jsx)(J,{className:"mention",userId:o,channelId:i,inlinePreview:r.noStyleAndInteraction},r.key)}}},533293:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(785893),o=r(667294),i=r(202351),c=r(901654),u=r(895127),l=r(449812),a=r(991789);function s(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function f(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){
var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}function p(e){var t=(0,a.Z)(),r=o.useContext(l.Z),p=(0,i.e7)([c.Z],(function(){return c.Z.isFocused()}));return null==r?null:(0,n.jsx)(u.WV,f(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){s(e,t,r[t])}))}return e}({},r,t,e),{firing:p&&e.firing}))}},367299:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(785893),o=(r(667294),r(318715)),i=r(785085);function c(e){var t=e.children,r=e.confettiLocation;return(0,o.ZP)([i.Z],(function(){return i.Z.isEnabled({confettiLocation:r})}))?(0,
n.jsx)(n.Fragment,{children:t}):null}},757730:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(667294);function o(e){var t=null==e?void 0:e.getBoundingClientRect(),r=null==t?void 0:t.left,o=null==t?void 0:t.top;return(0,n.useMemo)((function(){return null!=r&&null!=o?{x:r,y:o}:null}),[r,o])}},991789:(e,t,r)=>{"use strict";r.d(t,{z:()=>a,Z:()=>f});var n=r(667294),o=r(202351),i=r(895127),c=r(785085);function u(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function l(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}var a=1e3/60,s={
sprites:[r(901961),r(593246),r(937763),r(719401),r(342856),r(994857),{src:r(951754),colorize:!1}],positionUnits:i.a1.PIXELS,angle:180,angleSpread:60,velocity:80,velocitySpread:20,fireCount:1,interval:a,sizeSpread:7,colors:["#FF73FA","#FFC0FF","#FFD836","#FF9A15","#A5F7DE","#51BC9D","#AEC7FF","#3E70DD"]};function f(){var e=(0,o.e7)([c.Z],(function(){return c.Z.getState()})),t=(0,n.useMemo)((function(){return l(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){u(e,t,r[t])}))}return e}({},s),{count:e.confettiCount,size:e.confettiSize})}),[e.confettiCount,e.confettiSize]);return t}},91747:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(785893),o=(r(667294),r(633878));function i(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,
configurable:!0,writable:!0}):e[t]=r;return e}function c(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++){r=i[n];t.indexOf(r)>=0||(o[r]=e[r])}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++){r=i[n];t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}function l(e){
var t=e.width,r=void 0===t?24:t,l=e.height,a=void 0===l?24:l,s=e.color,f=void 0===s?"currentColor":s,p=u(e,["width","height","color"]);return(0,n.jsx)("svg",c(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){i(e,t,r[t])}))}return e}({},(0,o.Z)(p)),{width:r,height:a,viewBox:"0 0 16 16",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",
d:"M13.6572 5.42868C13.8879 5.29002 14.1806 5.30402 14.3973 5.46468C14.6133 5.62602 14.7119 5.90068 14.6473 6.16202L13.3139 11.4954C13.2393 11.7927 12.9726 12.0007 12.6666 12.0007H3.33325C3.02725 12.0007 2.76058 11.792 2.68592 11.4954L1.35258 6.16202C1.28792 5.90068 1.38658 5.62602 1.60258 5.46468C1.81992 5.30468 2.11192 5.29068 2.34325 5.42868L5.13192 7.10202L7.44592 3.63068C7.46173 3.60697 7.48377 3.5913 7.50588 3.57559C7.5192 3.56612 7.53255 3.55663 7.54458 3.54535L6.90258 2.90268C6.77325 2.77335 6.77325 2.56068 6.90258 2.43135L7.76458 1.56935C7.89392 1.44002 8.10658 1.44002 8.23592 1.56935L9.09792 2.43135C9.22725 2.56068 9.22725 2.77335 9.09792 2.90268L8.45592 3.54535C8.46794 3.55686 8.48154 3.56651 8.49516 3.57618C8.51703 3.5917 8.53897 3.60727 8.55458 3.63068L10.8686 7.10202L13.6572 5.42868ZM2.66667 12.6673H13.3333V14.0007H2.66667V12.6673Z",fill:f,"aria-hidden":!0})}))}},217674:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(785893),o=(r(667294),r(633878));function i(e,t,r){
t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function c(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++){r=i[n];t.indexOf(r)>=0||(o[r]=e[r])}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++){r=i[n];t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}function l(e){
var t=e.width,r=void 0===t?24:t,l=e.height,a=void 0===l?24:l,s=e.color,f=void 0===s?"currentColor":s,p=e.foreground,d=u(e,["width","height","color","foreground"]);return(0,n.jsxs)("svg",c(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){i(e,t,r[t])}))}return e}({},(0,o.Z)(d)),{width:r,height:a,viewBox:"0 0 8 12",children:[(0,n.jsx)("path",{d:"M4 0L0 4V8L4 12L8 8V4L4 0ZM7 7.59L4 10.59L1 7.59V4.41L4 1.41L7 4.41V7.59Z",fill:f,className:p}),(0,n.jsx)("path",{d:"M2 4.83V7.17L4 9.17L6 7.17V4.83L4 2.83L2 4.83Z",fill:f,className:p})]}))}},651034:(e,t,r)=>{"use strict";r.d(t,{Z:()=>y});var n=r(785893),o=r(667294),i=r(294184),c=r.n(i),u=r(473727),l=r(707961),a=r(787582),s=r.n(a);function f(e,t,r){t in e?Object.defineProperty(e,t,{value:r,
enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))));n.forEach((function(t){f(e,t,r[t])}))}return e}function d(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}function b(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++){r=i[n]
;t.indexOf(r)>=0||(o[r]=e[r])}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++){r=i[n];t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}const y=o.forwardRef((function(e,t){var r,o,i,a=e.avatar,y=e.name,h=e.children,O=e.subText,v=e.decorators,m=e.onClick,g=e.selected,j=e.muted,w=e.to,P=e.avatarClassName,E=e.selectedClassName,S=e.innerClassName,x=e.wrapContent,_=e.highlighted,I=e.focusProps,Z=b(e,["avatar","name","children","subText","decorators","onClick","selected","muted","to","avatarClassName","selectedClassName","innerClassName","wrapContent","highlighted","focusProps"]);Z.className=c()(Z.className,s().container,(f(r={},s().selected,g),f(r,s().highlighted,_),f(r,null!=E?E:"",g),f(r,s().clickable,!g&&(null!=w||null!=m)),r));Z["aria-selected"]=null!==(o=Z["aria-selected"])&&void 0!==o?o:g;var R=(0,n.jsxs)("div",{className:c()(S,s().layout,(i={},f(i,s().muted,!g&&j),
f(i,s().wrappedLayout,x),i)),children:[(0,n.jsx)("div",{className:c()(s().avatar,P),children:a}),(0,n.jsxs)("div",{className:s().content,children:[(0,n.jsxs)("div",{className:s().nameAndDecorators,children:[(0,n.jsx)("div",{className:c()(s().name,f({},s().wrappedName,x)),children:y}),v]}),null!=O?(0,n.jsx)("div",{className:s().subText,children:O}):null]}),null!=h?(0,n.jsx)("div",{className:s().children,children:h}):null]});return null!=w?(0,n.jsx)(l.tEY,d(p({},I),{children:(0,n.jsx)(u.rU,d(p({to:w,onClick:m},Z),{role:"listitem",ref:t,children:R}))})):null!=m?(0,n.jsx)(l.P3F,d(p({onClick:m,focusProps:I},Z),{role:"listitem",innerRef:t,children:R})):(0,n.jsx)(l.tEY,d(p({},I),{children:(0,n.jsx)("div",d(p({},Z),{role:"listitem",ref:t,children:R}))}))}))},202237:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(785893),o=(r(667294),r(294184)),i=r.n(o),c=r(707961),u=r(484674),l=r.n(u);const a=function(e){var t=e.className,r=e.children,o=e["aria-label"],u=e.id;return(0,n.jsx)(c.H,{
className:i()(t,l().container),"aria-label":o,id:u,children:r})}}}]);
//# sourceMappingURL=90e39561a738b7789aaa.js.map