PageSourceSearch

https://static.protopie.io/web/static/js/9ac97145386cbca91898.chunk.js

js protopie.io collected 2026-09-24 08:42:21 UTC 2,580 bytes, 1 lines download raw bytes

1try{let e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="89081f27-5a09-4688-9e59-d777b7cf90fa",e._sentryDebugIdIdentifier="sentry-dbid-89081f27-5a09-4688-9e59-d777b7cf90fa")}catch(e){}("u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{}).SENTRY_RELEASE={id:"16.4.1"};"use strict";(self.webpackChunkcloud_web=self.webpackChunkcloud_web||[]).push([["src_components_organization-settings_member-detail_DeactivationDialog_tsx"],{13944:(e,t,a)=>{a.d(t,{H:()=>o});var n,o=((n={}).CannotDeactivateTeamOwner="CAN_NOT_DEACTIVATE_TEAM_OWNER",n.UnableToUpdateAdmin="UNABLE_TO_UPDATE_ADMIN",n.CannotDeleteTeamOwner="CAN_NOT_DELETE_TEAM_OWNER",n.AdminRoleRequired="ADMIN_ROLE_REQUIRED",n.UserMismatch="USER_MISMATCH",n.ModeratorHasActiveSession="MODERATOR_HAS_ACTIVE_SESSION",n)},44647:(e,t,a)=>{a.d(t,{s:()=>p});var n=a(86070),o=a(6659),i=a(78160),r=a(51509),s=a(35188),l=a(98027),c=a(5192),d=a(19904),u=a(37871),_=a(59016),b=a(13944),f=a(57097);let p=e=>{let{showAlert:t,showErrorAlert:a}=(0,d.MW)(),p=async()=>{try{await e.onConfirm(e.userId),e.onUpdateSuccess&&await e.onUpdateSuccess(),t({title:"User has been deactivated"}),e.loadDeactivatedUsers()}catch(e){if(!(e instanceof f.Hl))throw e;(0,f.To)(e=>{e.errorCode===b.H.ModeratorHasActiveSession?a({title:"Failed to deactivate member",description:"Moderator role cannot be deleted during an active test session."}):e.errorCode===b.H.CannotDeactivateTeamOwner?a({title:"You cannot deactivate team owner.",description:"Please transfer team ownership and try again."}):e.errorCode===b.H.UnableToUpdateAdmin?a({title:"You cannot deactivate service admin.",description:"Please transfer service admin rights and try again."}):a({title:(0,u.$l)(_.M.ErrorUnexpected)})})(e)}finally{e.onCancel()}};return(0,n.jsxs)(i.A,{open:e.visible,onClose:e.onCancel,children:[(0,n.jsx)(r.c,{children:(0,n.jsxs)(r.L,{children:["Deactivate ",e.userName,"?"]})}),(0,n.jsx)(s.R,{children:(0,n.jsxs)(c.o,{size:14,color:"var(--text-primary)",children:[e.userName," its account will be no longer available until you reactivate it. Their prototypes, comments, and personal information will remain in ProtoPie Enterprise."]})}),(0,n.jsxs)(l.E,{layout:"stretch",children:[(0,n.jsx)(o.$,{size:"large",variant:"outlined",color:"secondary",onClick:e.onCancel,children:"Cancel"}),(0,n.jsx)(o.$,{size:"large",color:"danger",onClick:p,children:"Deactivate"})]})]})}}}]);

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.