1"use strict";(self.webpackChunkinsta_automate=self.webpackChunkinsta_automate||[]).push([[5022],{75022:(e,t,s)=>{s.r(t),s.d(t,{default:()=>F});var a=s(89379),n=s(65043),i=s(43569),r=s(31023),o=s(63942),c=s(16569),l=s(45964),d=s(94434),m=s(60647),p=s(13382),u=s(85578),h=s(8918),v=s(82870),g=s(99472),x=s(42261),j=s(10898),y=s(39470),b=s(67177),S=s(61966),A=s(75388),f=s(4394),N=s(89967),k=s(38818),w=s(75929),C=s(14524),E=s(46237),T=s(9025),z=s(48663),O=s(78600),_=s(70579);const{Title:I,Text:R}=r.A,{confirm:P}=o.A;const F=function(){const[e,t]=c.Ay.useMessage(),[s,r]=(0,n.useState)(!1),[I,F]=(0,n.useState)([]),[L,M]=(0,n.useState)(null),[D,W]=(0,n.useState)([]),[G,B]=(0,n.useState)([]),[K,U]=(0,n.useState)(!1),[H,X]=(0,n.useState)(!1),[Q,Y]=(0,n.useState)(""),[q,V]=(0,n.useState)("admin"),[Z,J]=(0,n.useState)(""),[$,ee]=(0,n.useState)(!1),[te,se]=(0,n.useState)(""),[ae,ne]=(0,n.useState)(""),[ie,re]=(0,n.useState)(!1),[oe,ce]=(0,n.useState)("viewer"),[le,de]=(0,n.useState)("members"),me="owner"===oe||"admin"===oe,pe="owner"===oe;(0,n.useEffect)((()=>{ue()}),[]),(0,n.useEffect)((()=>{L&&(he(),ve(),ne(L.name||""))}),[L]);const ue=()=>{const t=(0,O.A)();t&&(0,z.A)({url:"team/workspace-by-owner?owner_id=".concat(t),method:"GET",loadingState:r,dataState:t=>{if("Success"===t.message||200===t.code||"200"===t.code){const e=(t.data||[]).map((e=>(0,a.A)((0,a.A)({},e),{},{id:e.workspace_id})));F(e);const s=localStorage.getItem("current_workspace_id"),n=e.find((e=>e.id==s))||e[0];n&&(M(n),localStorage.setItem("current_workspace_id",n.id))}else 403===t.code&&"WORKSPACE_ACCESS_DENIED"===t.message&&(e.error("Access denied. Refreshing workspaces..."),ue())}})},he=()=>{(0,z.A)({url:"team/members?workspace_id=".concat(L.id),method:"GET",loadingState:r,dataState:e=>{if(200===e.code||"200"===e.code){W(e.data||[]);try{const t=(e.data||[]).find((e=>e.user_id==(0,O.A)(!0)||e.id==(0,O.A)(!0)));t&&ce(t.role)}catch(t){}}}})},ve=()=>{(0,z.A)({url:"team/invite?workspace_id=".concat(L.id),method:"GET",loadingState:r,dataState:e=>{200!==e.code&&"200"!==e.code||B(e.data||[])}})},ge=e=>{const t=I.find((t=>t.id==e));t&&(M(t),localStorage.setItem("current_workspace_id",t.id))},xe=()=>{te.trim()?(ee(!0),(0,z.A)({url:"team/workspace",method:"POST",body:{name:te},loadingState:ee,dataState:t=>{ee(!1),200===t.code||"200"===t.code?(e.success("Workspace created!"),se(""),ue()):e.error(t.message||"Failed to create workspace")}})):e.warning("Please enter a workspace name")},je=e=>(0,_.jsx)("span",{className:"ts-role-badge ts-role-".concat(e||"viewer"),children:null===e||void 0===e?void 0:e.toUpperCase()}),ye=[{title:"Member",dataIndex:"name",render:(e,t)=>{return(0,_.jsxs)("div",{className:"ts-member-info",children:[(0,_.jsx)(l.A,{className:(s=t.role,"ts-member-avatar ts-member-avatar-".concat(s||"viewer")),size:40,children:t.name?t.name.charAt(0).toUpperCase():(0,_.jsx)(b.A,{})}),(0,_.jsxs)("div",{className:"ts-member-details",children:[(0,_.jsx)("span",{className:"ts-member-name",children:t.name||"\u2014"}),(0,_.jsx)("span",{className:"ts-member-email",children:t.email})]})]});var s}},{title:"Role",dataIndex:"role",width:140,render:e=>je(e)},{title:"Status",dataIndex:"status",width:140,render:e=>(e=>(0,_.jsx)("span",{className:"ts-status-badge ts-status-".concat(e||"pending"),children:(null===e||void 0===e?void 0:e.charAt(0).toUpperCase())+(null===e||void 0===e?void 0:e.slice(1))}))(e)},{title:"Actions",width:220,render:(t,s)=>s.status&&"active"!==s.status.toLowerCase()?(0,_.jsx)("span",{className:"ts-you-badge",style:{color:"#ef4444"},children:"Removed"}):me&&!s.is_current_user?(0,_.jsxs)("div",{className:"ts-action-group",children:[(0,_.jsx)(d.A,{className:"ts-role-select",value:s.role,onChange:t=>{return a=s.user_id||s.id,n=t,void(0,z.A)({url:"team/members/".concat(a,"?workspace_id=").concat(L.id),method:"PUT",body:{role:n},loadingState:r,dataState:t=>{200===t.code||"200"===t.code?(e.success("Role updated!"),he()):e.error(t.message||"Failed to update role")}});var a,n},style:{width:100},size:"small",disabled:"owner"===s.role,children:(0,_.jsx)(d.A.Option,{value:"admin",children:"Admin"})}),"owner"!==s.role&&(0,_.jsx)(m.A,{title:"Remove this member?",description:"They will lose access to this workspace.",okText:"Remove",cancelText:"Cancel",onConfirm:()=>{return t=s.user_id||s.id,void(0,z.A)({url:"team/members/".concat(t,"?workspace_id=").concat(L.id),method:"DELETE",loadingState:r,dataState:t=>{200===t.code||"200"===t.code?(e.success("Member removed!"),he()
1):e.error(t.message||"Failed to remove member")}});var t},children:(0,_.jsx)(p.Ay,{className:"ts-remove-btn",size:"small",icon:(0,_.jsx)(S.A,{}),children:"Remove"})})]}):s.is_current_user?(0,_.jsx)("span",{className:"ts-you-badge",children:"You"}):null}],be=[{title:"Email",dataIndex:"email",render:e=>(0,_.jsxs)("div",{className:"ts-member-info",children:[(0,_.jsx)(l.A,{className:"ts-member-avatar",style:{background:"#818cf8"},size:40,children:(0,_.jsx)(A.A,{})}),(0,_.jsx)("span",{className:"ts-member-name",children:e})]})},{title:"Role",dataIndex:"role",width:140,render:e=>je(e)},{title:"Invited",dataIndex:"created_at",width:120,render:e=>(0,_.jsx)(R,{type:"secondary",style:{fontSize:13},children:e?new Date(e).toLocaleDateString():"\u2014"})},{title:"Expires",dataIndex:"expires_at",width:120,render:e=>(0,_.jsx)(R,{type:"secondary",style:{fontSize:13},children:e?new Date(e).toLocaleDateString():"\u2014"})},{title:"Actions",width:200,render:(t,s)=>(0,_.jsxs)("div",{className:"ts-action-group",children:[(0,_.jsx)(p.Ay,{className:"ts-resend-btn",size:"small",icon:(0,_.jsx)(f.A,{}),onClick:()=>{return t=s.invitation_id||s.id,void(0,z.A)({url:"team/invite",method:"PUT",body:{invitation_id:t},loadingState:r,dataState:t=>{200===t.code||"200"===t.code?(e.success("Invitation resent!"),ve()):e.error(t.message||"Failed to resend invitation")}});var t},children:"Resend"}),(0,_.jsx)(m.A,{title:"Cancel this invitation?",okText:"Cancel Invite",cancelText:"Keep",onConfirm:()=>{return t=s.invitation_id||s.id,void(0,z.A)({url:"team/invite?invitation_id=".concat(t),method:"DELETE",loadingState:r,dataState:t=>{200===t.code||"200"===t.code?(e.success("Invitation cancelled!"),ve()):e.error(t.message||"Failed to cancel invitation")}});var t},children:(0,_.jsx)(p.Ay,{className:"ts-cancel-btn",danger:!0,size:"small",icon:(0,_.jsx)(N.A,{}),children:"Cancel"})})]})}],Se=I.map((e=>({value:e.id,label:e.name})));return s||0!==I.length||L?L?(0,_.jsxs)("div",{className:"page-layout",children:[t,(0,_.jsx)(i.A,{}),(0,_.jsxs)("div",{className:"page-content",children:[(0,_.jsxs)("div",{className:"team-settings-container",children:[(0,_.jsx)("div",{className:"ts-header",children:(0,_.jsxs)("div",{className:"ts-header-top",children:[(0,_.jsxs)("div",{className:"ts-header-left",children:[(0,_.jsx)("div",{className:"ts-header-icon",children:pe?(0,_.jsx)(w.A,{}):(0,_.jsx)(k.A,{})}),(0,_.jsxs)("div",{children:[(0,_.jsx)("h2",{className:"ts-header-title",children:L.name}),(0,_.jsx)("div",{className:"ts-header-subtitle",children:"Team Settings"})]})]}),(0,_.jsx)(d.A,{className:"ts-workspace-select",value:L.id,onChange:ge,style:{width:220},options:Se})]})}),(0,_.jsx)(h.A,{className:"ts-tabs",activeKey:le,onChange:de,items:[{key:"members",label:(0,_.jsxs)("span",{children:[(0,_.jsx)(k.A,{style:{marginRight:6}}),"Members"]}),children:(0,_.jsxs)("div",{className:"ts-section-card",children:[(0,_.jsxs)("div",{className:"ts-section-header",children:[(0,_.jsxs)("span",{className:"ts-section-title",children:["Team Members",(0,_.jsxs)("span",{className:"ts-section-count",children:["(",D.length,")"]})]}),me&&(0,_.jsx)(p.Ay,{className:"ts-invite-btn",type:"primary",icon:(0,_.jsx)(b.A,{}),onClick:()=>U(!0),children:"Invite member for free"})]}),(0,_.jsx)(v.A,{columns:ye,dataSource:D,rowKey:"user_id",pagination:!1,locale:{emptyText:(0,_.jsx)(g.A,{description:"No members yet",image:g.A.PRESENTED_IMAGE_SIMPLE})}})]})},{key:"invitations",label:(0,_.jsxs)("span",{children:[(0,_.jsx)(A.A,{style:{marginRight:6}}),"Invitations (",G.length,")"]}),children:(0,_.jsxs)("div",{className:"ts-section-card",children:[(0,_.jsx)("div",{className:"ts-section-header",children:(0,_.jsxs)("span",{className:"ts-section-title",children:["Pending Invitations",(0,_.jsxs)("span",{className:"ts-section-count",children:["(",G.length,")"]})]})}),(0,_.jsx)(v.A,{columns:be,dataSource:G,rowKey:"id",pagination:!1,locale:{emptyText:(0,_.jsx)(g.A,{description:"No pending invitations",image:g.A.PRESENTED_IMAGE_SIMPLE})}})]})},{key:"settings",label:(0,_.jsxs)("span",{children:[(0,_.jsx)(C.A,{style:{marginRight:6}}),"Settings"]}),children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"ts-settings-card",children:[(0,_.jsxs)("div",{className:"ts-settings-card-title",children:[(0,_.jsx)(C.A,{})," Workspace Settings"]}),(0,_.jsx)("label",{className:"ts-settings-label",children:"Worksp
1ace Name"}),(0,_.jsx)(u.A,{className:"ts-settings-input",value:ae,onChange:e=>ne(e.target.value),disabled:!me,placeholder:"Enter workspace name"}),me&&(0,_.jsx)(p.Ay,{className:"ts-save-btn",type:"primary",onClick:()=>{L&&(re(!0),(0,z.A)({url:"team/workspace/".concat(L.id),method:"PUT",body:{name:ae},loadingState:re,dataState:t=>{re(!1),200===t.code||"200"===t.code?(e.success("Workspace name updated!"),ue()):e.error(t.message||"Failed to update workspace")}}))},loading:ie,children:"Save Changes"})]}),pe&&(0,_.jsxs)("div",{className:"ts-danger-card",children:[(0,_.jsxs)("div",{className:"ts-danger-title",children:[(0,_.jsx)(y.A,{})," Danger Zone"]}),(0,_.jsx)("div",{className:"ts-danger-text",children:"Deleting a workspace is permanent and cannot be undone. All members will lose access and all data will be removed."}),(0,_.jsx)(m.A,{title:"Delete this workspace?",description:"This action cannot be undone.",okText:"Delete",okType:"danger",cancelText:"Cancel",onConfirm:()=>{P({title:"Delete Workspace",icon:(0,_.jsx)(y.A,{}),content:"Are you sure you want to delete this workspace? This action cannot be undone.",okText:"Delete",okType:"danger",cancelText:"Cancel",onOk:()=>{(0,z.A)({url:"team/workspace/".concat(L.id),method:"DELETE",loadingState:r,dataState:t=>{200===t.code||"200"===t.code?(e.success("Workspace deleted!"),localStorage.removeItem("current_workspace_id"),M(null),ue()):e.error(t.message||"Failed to delete workspace")}})}})},children:(0,_.jsx)(p.Ay,{className:"ts-danger-btn",danger:!0,icon:(0,_.jsx)(S.A,{}),children:"Delete Workspace"})})]})]})}]})]}),(0,_.jsx)(o.A,{className:"ts-invite-modal",title:"Invite Team Member",open:K,onCancel:()=>{U(!1),Y(""),V("admin"),J("")},footer:Z?null:[(0,_.jsx)(p.Ay,{onClick:()=>U(!1),style:{borderRadius:10},children:"Cancel"},"cancel"),(0,_.jsx)(p.Ay,{type:"primary",loading:H,onClick:()=>{Q.trim()?(X(!0),(0,z.A)({url:"team/invite",method:"POST",body:{email:Q,role:q,workspace_id:L.id},loadingState:X,dataState:t=>{X(!1),200===t.code||"200"===t.code?(e.success("Invitation sent!"),ve(),U(!1),Y(""),V("admin"),J("")):e.error(t.message||"Failed to send invitation")}})):e.warning("Please enter an email address")},style:{borderRadius:10,background:"#6366f1",border:"none"},children:"Send Invitation"},"invite")],children:Z?(0,_.jsxs)("div",{children:[(0,_.jsx)(x.A,{message:"Invitation sent successfully!",type:"success",showIcon:!0,icon:(0,_.jsx)(E.A,{}),style:{marginBottom:16,borderRadius:10}}),(0,_.jsx)(R,{children:"Share this link with your team member:"}),(0,_.jsx)(u.A,{value:Z,readOnly:!0,addonAfter:(0,_.jsx)(p.Ay,{size:"small",icon:(0,_.jsx)(T.A,{}),onClick:()=>{navigator.clipboard.writeText(Z),e.success("Link copied to clipboard!")},type:"text",children:"Copy"}),style:{marginTop:8}}),(0,_.jsx)(R,{type:"secondary",style:{fontSize:12,marginTop:8,display:"block"},children:"Link expires in 72 hours"})]}):(0,_.jsxs)(j.A,{direction:"vertical",size:"middle",style:{width:"100%"},children:[(0,_.jsxs)("div",{children:[(0,_.jsx)("label",{className:"ts-invite-label",children:"Email Address"}),(0,_.jsx)(u.A,{placeholder:"[email protected]",type:"email",value:Q,onChange:e=>Y(e.target.value),prefix:(0,_.jsx)(A.A,{style:{color:"#8c8ca1"}})})]}),(0,_.jsxs)("div",{children:[(0,_.jsx)("label",{className:"ts-invite-label",children:"Role"}),(0,_.jsx)(d.A,{value:q,onChange:V,style:{width:"100%"},children:(0,_.jsx)(d.A.Option,{value:"admin",children:"Admin \u2014 Full access to workspace"})})]})]})})]})]}):(0,_.jsxs)("div",{className:"page-layout",children:[(0,_.jsx)(i.A,{}),(0,_.jsx)("div",{className:"page-content",children:(0,_.jsx)("div",{className:"ts-empty-state",children:(0,_.jsxs)("div",{className:"ts-empty-card",children:[(0,_.jsx)("div",{className:"ts-empty-icon",children:(0,_.jsx)(k.A,{})}),(0,_.jsx)("div",{className:"ts-empty-title",children:"Select a Workspace"}),(0,_.jsx)("div",{className:"ts-empty-desc",children:"Choose a workspace to manage your team."}),(0,_.jsx)(d.A,{placeholder:"Select workspace",style:{width:"100%"},onChange:ge,options:Se})]})})})]}):(0,_.jsxs)("div",{className:"page-layout",children:[(0,_.jsx)(i.A,{}),(0,_.jsx)("div",{className:"page-content",children:(0,_.jsx)("div",{className:"ts-empty-state",children:(0,_.jsxs)("div",{className:"ts-empty-card",children:[(0,_.jsx)("div",{className:"ts-empty-icon",children:(0,_.jsx)(k.A,{})}),(0,_.jsx)("div",{className:"ts-empty-title",children:"Create Your First Worksp
1ace"}),(0,_.jsxs)("div",{className:"ts-empty-desc",children:["Workspaces help you collaborate with your team.",(0,_.jsx)("br",{}),"Create one to get started."]}),(0,_.jsx)(u.A,{className:"ts-empty-input",placeholder:"Workspace name",value:te,onChange:e=>se(e.target.value),onPressEnter:xe}),(0,_.jsx)(p.Ay,{className:"ts-empty-create-btn",type:"primary",block:!0,onClick:xe,loading:$,children:"Create Workspace"})]})})})]})}},45964:(e,t,s)=>{s.d(t,{A:()=>z});var a=s(65043),n=s(98139),i=s.n(n),r=s(68802),o=s(13758),c=s(44320),l=s(35296),d=s(78887),m=s(89122),p=s(99598);const u=a.createContext({});var h=s(43944),v=s(94414),g=s(78855),x=s(78446);const j=e=>{const{antCls:t,componentCls:s,iconCls:a,avatarBg:n,avatarColor:i,containerSize:r,containerSizeLG:o,containerSizeSM:c,textFontSize:l,textFontSizeLG:d,textFontSizeSM:m,borderRadius:p,borderRadiusLG:u,borderRadiusSM:g,lineWidth:x,lineType:j}=e,y=(e,t,n)=>({width:e,height:e,borderRadius:"50%",["&".concat(s,"-square")]:{borderRadius:n},["&".concat(s,"-icon")]:{fontSize:t,["> ".concat(a)]:{margin:0}}});return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,v.dF)(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:n,border:"".concat((0,h.zA)(x)," ").concat(j," transparent"),"&-image":{background:"transparent"},["".concat(t,"-image-img")]:{display:"block"}}),y(r,l,p)),{"&-lg":Object.assign({},y(o,d,u)),"&-sm":Object.assign({},y(c,m,g)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},y=e=>{const{componentCls:t,groupBorderColor:s,groupOverlapping:a,groupSpace:n}=e;return{["".concat(t,"-group")]:{display:"inline-flex",[t]:{borderColor:s},"> *:not(:first-child)":{marginInlineStart:a}},["".concat(t,"-group-popover")]:{["".concat(t," + ").concat(t)]:{marginInlineStart:n}}}},b=(0,g.OF)("Avatar",(e=>{const{colorTextLightSolid:t,colorTextPlaceholder:s}=e,a=(0,x.oX)(e,{avatarBg:s,avatarColor:t});return[j(a),y(a)]}),(e=>{const{controlHeight:t,controlHeightLG:s,controlHeightSM:a,fontSize:n,fontSizeLG:i,fontSizeXL:r,fontSizeHeading3:o,marginXS:c,marginXXS:l,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:s,containerSizeSM:a,textFontSize:Math.round((i+r)/2),textFontSizeLG:o,textFontSizeSM:n,groupSpace:l,groupOverlapping:-c,groupBorderColor:d}}));var S=function(e,t){var s={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(s[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(s[a[n]]=e[a[n]])}return s};const A=(e,t)=>{const[s,n]=a.useState(1),[h,v]=a.useState(!1),[g,x]=a.useState(!0),j=a.useRef(null),y=a.useRef(null),A=(0,o.K4)(t,j),{getPrefixCls:f,avatar:N}=a.useContext(l.QO),k=a.useContext(u),w=()=>{if(!y.current||!j.current)return;const t=y.current.offsetWidth,s=j.current.offsetWidth;if(0!==t&&0!==s){const{gap:a=4}=e;2*a<s&&n(s-2*a<t?(s-2*a)/t:1)}};a.useEffect((()=>{v(!0)}),[]),a.useEffect((()=>{x(!0),n(1)}),[e.src]),a.useEffect(w,[e.gap]);const C=()=>{const{onError:t}=e;!1!==(null===t||void 0===t?void 0:t())&&x(!1)},{prefixCls:E,shape:T,size:z,src:O,srcSet:_,icon:I,className:R,rootClassName:P,alt:F,draggable:L,children:M,crossOrigin:D}=e,W=S(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),G=(0,m.A)((e=>{var t,s;return null!==(s=null!==(t=null!==z&&void 0!==z?z:null===k||void 0===k?void 0:k.size)&&void 0!==t?t:e)&&void 0!==s?s:"default"})),B=Object.keys("object"===typeof G&&G||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e))),K=(0,p.A)(B),U=a.useMemo((()=>{if("object"!==typeof G)return{};const e=c.ye.find((e=>K[e])),t=G[e];return t?{width:t,height:t,fontSize:t&&(I||M)?t/2:18}:{}}),[K,G]);const H=f("avatar",E),X=(0,d.A)(H),[Q,Y,q]=b(H,X),V=i()({["".concat(H,"-lg")]:"large"===G,["".concat(H,"-sm")]:"small"===G}),Z=a.isValidElement(O),J=T||(null===k||void 0===k?void 0:k.shape)||"circle",$=i()(H,V,null===N||void 0===N?void 0:N.className,"".concat(H,"-").concat(J),{["".concat(H,"-image")]:Z||O&&g,["".concat(H,"-icon")]:!!I},q,X,R,P,Y),ee="number"===typeof G?{width:G,height:G,fontSize:I?G/2:18}:{};let te;if("string"===typeof O&&g)te=a.createElement("img",{src:O,draggable:L,srcSet:_,onError:C,alt:F,crossOrigin:D});else if(Z)te=O;else if(I)te=I;else if(h||1!==s){const e="scale(".concat(s,")"),t={msTransform:e,WebkitTransform:e,transform:e};te=a.createElement(r.A,{onResize:w},a.createElement("span",{className:"".concat(H,"-string"),ref:y,style:Object.assign({},t)},M))}else te=a.createElement("span",{className:"".concat(H,"-string"),style:{opacity:0}
1,ref:y},M);return delete W.onError,delete W.gap,Q(a.createElement("span",Object.assign({},W,{style:Object.assign(Object.assign(Object.assign(Object.assign({},ee),U),null===N||void 0===N?void 0:N.style),W.style),className:$,ref:A}),te))};const f=a.forwardRef(A);var N=s(62149),k=s(12701),w=s(36282);const C=e=>{const{size:t,shape:s}=a.useContext(u),n=a.useMemo((()=>({size:e.size||t,shape:e.shape||s})),[e.size,e.shape,t,s]);return a.createElement(u.Provider,{value:n},e.children)},E=e=>{var t,s,n,r;const{getPrefixCls:o,direction:c}=a.useContext(l.QO),{prefixCls:m,className:p,rootClassName:u,style:h,maxCount:v,maxStyle:g,size:x,shape:j,maxPopoverPlacement:y,maxPopoverTrigger:S,children:A,max:E}=e;const T=o("avatar",m),z="".concat(T,"-group"),O=(0,d.A)(T),[_,I,R]=b(T,O),P=i()(z,{["".concat(z,"-rtl")]:"rtl"===c},R,O,p,u,I),F=(0,N.A)(A).map(((e,t)=>(0,k.Ob)(e,{key:"avatar-key-".concat(t)}))),L=(null===E||void 0===E?void 0:E.count)||v,M=F.length;if(L&&L<M){const e=F.slice(0,L),o=F.slice(L,M),c=(null===E||void 0===E?void 0:E.style)||g,l=(null===(t=null===E||void 0===E?void 0:E.popover)||void 0===t?void 0:t.trigger)||S||"hover",d=(null===(s=null===E||void 0===E?void 0:E.popover)||void 0===s?void 0:s.placement)||y||"top",m=Object.assign(Object.assign({content:o},null===E||void 0===E?void 0:E.popover),{classNames:{root:i()("".concat(z,"-popover"),null===(r=null===(n=null===E||void 0===E?void 0:E.popover)||void 0===n?void 0:n.classNames)||void 0===r?void 0:r.root)},placement:d,trigger:l});return e.push(a.createElement(w.A,Object.assign({key:"avatar-popover-key",destroyTooltipOnHide:!0},m),a.createElement(f,{style:c},"+".concat(M-L)))),_(a.createElement(C,{shape:j,size:x},a.createElement("div",{className:P,style:h},e)))}return _(a.createElement(C,{shape:j,size:x},a.createElement("div",{className:P,style:h},F)))},T=f;T.Group=E;const z=T}}]); 2//# sourceMappingURL=5022.3668d39c.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.