"use strict";(globalThis.webpackChunk_plex_client_qt=globalThis.webpackChunk_plex_client_qt||[]).push([["packages_app_screens_activity_SharedWithListScreen_tsx"],{6605:(e,t,i)=>{i.r(t),i.d(t,{default:()=>m});var n=i(3493),r=i(36725),s=i(82357),a=i(95794),o=i(11381),c=i(81190),l=i(12367),p=i(99346),u=i(68482);class d{constructor(e){this._items=[],this._items=e.map((e=>({user:e})))}get items(){return this._items}}var h=function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},_=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};const{screenHeight:f,screenWidth:g}=p.default;class m extends o.Z{constructor(){super(...arguments),this._screenType=l.Z.Community}static _template(){return{y:100,BusyIndicator:{type:n.$j,mount:.5,x:g/2,y:(f-200)/2,zIndex:u.Z.busyStatus,visible:!0},Container:{type:n.sg,gap:"xxxl",fixedWidth:g,align:"center",Title:{type:n.ij,fontName:"heading1",colorName:"primaryForeground80",content:(0,r.ZP)("Shared With")},FriendsItemList:{type:c.Z}}}}_getFocused(){return this._friendsItemList}async _init(){var e;const{users:t}=null!==(e=this.initialData)&&void 0!==e?e:{users:[]};await this._profileManager.updatePeopleData(),this._viewModel=new d(t),this._container.patch({FriendsItemList:{type:c.Z,model:this._viewModel}}),this._spinner.visible=!1}get metricsPage(){return s.GJ.ActivitySharedWith}get _spinner(){var e;return null!==(e=this._spinnerElement)&&void 0!==e?e:this._spinnerElement=this.tag("BusyIndicator")}get _container(){return this.tag("Container")}get _friendsItemList(){var e;return null!==(e=this._friendsListElement)&&void 0!==e?e:this._friendsListElement=this._container.tag("FriendsItemList")}}h([(0,a.Z)("profileManager"),_("design:type",Object)],m.prototype,"_profileManager",void 0)}}]);