PageSourceSearch

https://openreview.net/_next/static/chunks/298.50be12f5c5337285.js

js openreview.net collected 2026-09-24 07:31:15 UTC 4,012 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[298],{20298:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>v});var r=s(95155),l=s(81184),n=s(65982),i=s(49079),a=s(32277),o=s(61671),d=s(12115),m=s(43535),c=s(3361),u=s(49498),x=s(55935),g=s(77862),h=s(4486);function p({emailRemovalInvitationId:e,setEmailDeletionNotes:t}){let[s,i]=(0,d.useState)(""),[a,o]=(0,d.useState)(""),[m,u]=(0,d.useState)(""),p=async()=>{let r={email:s.trim()||void 0,profile_id:a.trim()||void 0,comment:m.trim()||void 0};try{let s=await c.A.getInvitationById(e),l=view2.constructEdit({formData:r,invitationObj:s}),n=await c.A.post("/notes/edits",l,{version:2}),a=await c.A.getNoteById(n.note.id);t(e=>[{...a,processLogStatus:"running"},...e]),i(""),o(""),u("")}catch(e){promptError(e.message)}};return(0,r.jsxs)(l.A,{gutter:[8,8],align:"middle",style:h.xy.filterForm,children:[(0,r.jsx)(n.A,{xs:24,md:6,children:(0,r.jsx)(x.A,{placeholder:"Email to delete",style:h.xy.formInput,value:s,onChange:e=>i(e.target.value),onPressEnter:p})}),(0,r.jsx)(n.A,{xs:24,md:6,children:(0,r.jsx)(x.A,{placeholder:"Profile ID the email is associated with",style:h.xy.formInput,value:a,onChange:e=>o(e.target.value),onPressEnter:p})}),(0,r.jsx)(n.A,{xs:24,md:10,children:(0,r.jsx)(x.A,{placeholder:"Moderator comment",style:h.xy.formInput,value:m,onChange:e=>u(e.target.value),onPressEnter:p})}),(0,r.jsx)(n.A,{xs:24,md:2,children:(0,r.jsx)(g.Ay,{type:"primary",styles:{root:h.xy.formButton},onClick:p,children:"Submit"})})]})}var A=s(80639),j=s.n(A);let f="OpenReview.net/Support/-/Profile_Email_Removal";function v(){let[e,t]=(0,d.useState)(null),[s,x]=(0,d.useState)(1),g=(0,d.useMemo)(()=>e?e.slice((s-1)*25,25*s):null,[e,s]),A=async()=>{try{let e=c.A.getAll("/notes",{invitation:f,sort:"tcdate"}),s=c.A.getAllWithAfter("/notes/edits",{invitation:f},{resultsKey:"edits"}),r=c.A.getAll("/logs/process",{invitation:f},{resultsKey:"logs"}),[l,n,i]=await Promise.all([e,s,r]),a=l.map(e=>{let t=n.find(t=>t.note.id===e.id),s=i.find(e=>e.id===t?.id);return{...e,processLogStatus:s?.status??"running",processLogUrl:s?`https://api2.openreview.net/logs/process?id=${s.id}`:null}});t(a)}catch(e){promptError(e.message)}};return((0,d.useEffect)(()=>{A()},[]),g)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{emailRemovalInvitationId:f,setEmailDeletionNotes:t}),(0,r.jsxs)(l.A,{align:"middle",gutter:[8,0],className:j().columnheaders,style:{fontWeight:"bold",marginBottom:"0.5rem"},children:[(0,r.jsx)(n.A,{xs:6,sm:4,md:3,lg:2,children:"Status"}),(0,r.jsx)(n.A,{xs:18,sm:8,md:5,lg:6,children:"Email"}),(0,r.jsx)(n.A,{xs:12,sm:8,md:6,lg:6,children:"Profile Id"}),(0,r.jsx)(n.A,{xs:12,sm:8,md:6,lg:6,children:"Comment"}),(0,r.jsx)(n.A,{xs:12,sm:8,md:4,lg:4,children:"Date"})]}),(0,r.jsx)(i.A,{vertical:!0,gap:"small",style:{marginBottom:"1.5rem",minHeight:"600px"},children:g.map(e=>(0,r.jsxs)(l.A,{align:"middle",gutter:[8,8],children:[(0,r.jsx)(n.A,{xs:6,sm:4,md:3,lg:2,children:(0,r.jsx)("a",{href:e.processLogUrl,target:"_blank",rel:"noreferrer",children:(0,r.jsx)(a.A,{color:(0,h.b6)("ok"===e.processLogStatus?"success":"default"),variant:"solid",styles:{root:h.xy.statusTag},children:e.processLogStatus})})}),(0,r.jsx)(n.A,{xs:18,sm:8,md:5,lg:6,className:j().truncatedtext,children:e.content.email.value}),(0,r.jsx)(n.A,{xs:12,sm:8,md:6,lg:6,className:j().truncatedtext,children:(0,r.jsx)("a",{href:`/profile?id=${e.content.profile_id.value}`,target:"_blank",rel:"noreferrer",children:e.content.profile_id.value})}),(0,r.jsx)(n.A,{xs:12,sm:8,md:6,lg:6,className:j().truncatedtext,children:e.content.comment.value}),(0,r.jsx)(n.A,{xs:12,sm:8,md:4,lg:4,children:(0,u.formatDateTime)(e.tcdate)})]},e.id))}),0===e.length?(0,r.jsx)("p",{children:"No email deletion requests."}):(0,r.jsx)(o.A,{align:"center",current:s,pageSize:25,total:e.length,onChange:e=>x(e),showSizeChanger:!1,hideOnSinglePage:!0})]}):(0,r.jsx)(m.A,{})}},80639:e=>{e.exports={truncatedtext:"emailDeletion_truncatedtext__ioqTR",columnheaders:"emailDeletion_columnheaders__xt6rj"}}}]);

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.