Loading
function(e,n,a){a(321073);var o=a(477900),i=a(582128),s=a(477782),t=a(165862),r=a(442433);let c={add:async()=>(await a.e(736926).then(a.bind(a,663341))).PlusLargeIcon,remove:async()=>(await Promise.resolve().then(a.bind(a,834040))).MinusIcon,check:async()=>(await Promise.resolve().then(a.bind(a,933832))).CheckmarkLargeIcon,close:async()=>(await Promise.resolve().then(a.bind(a,972213))).XLargeIcon,copy:async()=>(await Promise.resolve().then(a.bind(a,624479))).CopyIcon,link:async()=>(await Promise.resolve().then(a.bind(a,173936))).LinkIcon,edit:async()=>(await Promise.resolve().then(a.bind(a,22231))).PencilIcon,delete:async()=>(await Promise.resolve().then(a.bind(a,241326))).TrashIcon,share:async()=>(await Promise.resolve().then(a.bind(a,405433))).ShareIcon,download:async()=>(await Promise.resolve().then(a.bind(a,32880))).DownloadIcon,upload:async()=>(await Promise.resolve().then(a.bind(a,95635))).UploadIcon,send:async()=>(await Promise.resolve().then(a.bind(a,559647))).SendMessageIcon,refresh:async()=>(await Promise.resolve().then(a.bind(a,663417))).RefreshIcon,retry:async()=>(await Promise.resolve().then(a.bind(a,417270))).RetryIcon,exit:async()=>(await Promise.resolve().then(a.bind(a,70688))).DoorExitIcon,search:async()=>(await Promise.resolve().then(a.bind(a,7689))).MagnifyingGlassIcon,filter:async()=>(await a.e(119979).then(a.bind(a,371750))).FilterIcon,settings:async()=>(await Promise.resolve().then(a.bind(a,625903))).SettingsIcon,wrench:async()=>(await Promise.resolve().then(a.bind(a,346411))).WrenchIcon,home:async()=>(await Promise.resolve().then(a.bind(a,332837))).HomeIcon,compass:async()=>(await Promise.resolve().then(a.bind(a,836480))).CompassIcon,globe:async()=>(await Promise.resolve().then(a.bind(a,998445))).GlobeEarthIcon,more:async()=>(await Promise.resolve().then(a.bind(a,365199))).MoreHorizontalIcon,info:async()=>(await Promise.resolve().then(a.bind(a,885574))).CircleInformationIcon,question:async()=>(await Promise.resolve().then(a.bind(a,290136))).CircleQuestionIcon,warning:async()=>(await Promise.resolve().then(a.bind(a,738188))).WarningIcon,bug:async()=>(await Promise.resolve().then(a.bind(a,92446))).BugIcon,shield:async()=>(await Promise.resolve().then(a.bind(a,231483))).ShieldIcon,lock:async()=>(await Promise.resolve().then(a.bind(a,194261))).LockIcon,eye:async()=>(await Promise.resolve().then(a.bind(a,39623))).EyeIcon,eye_slash:async()=>(await Promise.resolve().then(a.bind(a,952270))).EyeSlashIcon,bell:async()=>(await Promise.resolve().then(a.bind(a,782603))).BellIcon,bell_slash:async()=>(await Promise.resolve().then(a.bind(a,780338))).BellSlashIcon,clock:async()=>(await Promise.resolve().then(a.bind(a,406810))).ClockIcon,calendar:async()=>(await Promise.resolve().then(a.bind(a,81466))).CalendarIcon,image:async()=>(await Promise.resolve().then(a.bind(a,191023))).ImageIcon,video:async()=>(await Promise.resolve().then(a.bind(a,428689))).VideoIcon,file:async()=>(await a.e(671367).then(a.bind(a,514042))).FileIcon,folder:async()=>(await Promise.resolve().then(a.bind(a,678708))).FolderIcon,book:async()=>(await a.e(431692).then(a.bind(a,435271))).BookIcon,clipboard:async()=>(await a.e(836483).then(a.bind(a,643278))).ClipboardListIcon,list:async()=>(await a.e(838336).then(a.bind(a,916099))).ListBulletsIcon,inbox:async()=>(await Promise.resolve().then(a.bind(a,912592))).InboxIcon,tag:async()=>(await Promise.resolve().then(a.bind(a,278416))).TagIcon,bookmark:async()=>(await Promise.resolve().then(a.bind(a,606096))).BookmarkIcon,flag:async()=>(await Promise.resolve().then(a.bind(a,138134))).FlagIcon,star:async()=>(await Promise.resolve().then(a.bind(a,27232))).StarIcon,heart:async()=>(await Promise.resolve().then(a.bind(a,926268))).HeartIcon,microphone:async()=>(await Promise.resolve().then(a.bind(a,831544))).MicrophoneIcon,play:async()=>(await Promise.resolve().then(a.bind(a,782134))).PlayIcon,pause:async()=>(await Promise.resolve().then(a.bind(a,113494))).PauseIcon,user:async()=>(await Promise.resolve().then(a.bind(a,950305))).UserIcon,chat:async()=>(await Promise.resolve().then(a.bind(a,534890))).ChatIcon,crown:async()=>(await Promise.resolve().then(a.bind(a,329177))).CrownIcon,trophy:async()=>(await Promise.resolve().then(a.bind(a,369606))).TrophyIcon,medal:async()=>(await a.e(469826).then(a.bind(a,179097))).MedalIcon,game_controller:async()=>(await Promise.resolve().then(a.bind(a,687966))).GameControllerIcon,dice:async()=>(await Promise.resolve().then(a.bind(a,926321))).DiceIcon,puzzle:async()=>(await a.e(865191).then(a.bind(a,686042))).PuzzlePieceIcon,sparkles:async()=>(await Promise.resolve().then(a.bind(a,175841))).SparklesIcon,gift:async()=>(await Promise.resolve().then(a.bind(a,597770))).GiftIcon,fire:async()=>(await Promise.resolve().then(a.bind(a,825860))).FireIcon,lightbulb:async()=>(await a.e(269442).then(a.bind(a,443865))).LightbulbIcon,robot:async()=>(await Promise.resolve().then(a.bind(a,430392))).RobotIcon,paint_palette:async()=>(await Promise.resolve().then(a.bind(a,650809))).PaintPaletteIcon};a.d(n,{},{default:function(e){let{items:n,icons:a,onSelectItem:c,onUnmount:l,onSelect:d}=e,h=i.useRef(l);return i.useEffect(()=>()=>h.current(),[]),(0,o.jsx)(t.W,{navId:"activity-custom-context",onClose:r.Z_,onSelect:d,"aria-label":"Activity actions",children:(function(e){let n=[[]];for(let a of e)"separator"===a.type?n.push([]):n[n.length-1].push(a);return n.filter(e=>e.length>0)})(n).map((e,n)=>(0,o.jsx)(s.rX,{children:e.map((e,i)=>(function e(n,i){if("separator"===n.type)return(0,o.jsx)(s.bX,{},i);let t=n.id;if(null==t||null==n.label)return null;let l=null!=n.icon?a.get(n.icon):void 0,d={id:t,label:n.label,subtext:n.subtext,color:n.color,disabled:n.disabled??!1,leadingAccessory:null!=l?{type:"icon",icon:l}:void 0};function h(){c(t),(0,r.Z_)()}if("checkbox"===n.type)return(0,o.jsx)(s.sL,{...d,leftIcon:l,checked:n.checked??!1,action:h},i);if("radio"===n.type)return(0,o.jsx)(s.iD,{...d,leftIcon:l,group:n.group??"default",checked:n.checked??!1,action:h},i);let b=n.items?.map((n,a)=>e(n,`${i}-${a}`)).filter(Boolean);return null!=b&&b.length>0?(0,o.jsx)(s.Dr,{...d,iconLeft:l,children:b},i):(0,o.jsx)(s.Dr,{...d,iconLeft:l,action:h,dontCloseOnAction:!0},i)})(e,`${n}-${i}`))},`group-${n}`))})},loadActivityContextMenuIcons:async function(e){let n=new Set;!function e(n,a){for(let o of n)null!=o.icon&&o.icon in c&&a.add(o.icon),null!=o.items&&e(o.items,a)}(e,n);let a=new Map;return await Promise.all([...n].map(async e=>{try{a.set(e,await c[e]())}catch{}})),a}})}