PageSourceSearch

https://event.perdoki.or.id/_next/static/chunks/pages/admin/paper_participant/show/[id]-4a47dccdd349a343.js

js perdoki.or.id collected 2026-09-25 05:09:23 UTC 29,483 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1991],{67572:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/paper_participant/show/[id]",function(){return i(49426)}])},16653:function(e,t,i){"use strict";var s=i(85893),r=i(20050),n=i(82623),a=i(74403),l=i(63991);let d=()=>(0,s.jsx)(r.r,{justify:"center",children:(0,s.jsx)(r.r.Col,{span:6,xl:6,lg:6,children:(0,s.jsx)(n.X,{shadow:"xs",p:"xs",radius:"md",children:(0,s.jsx)(a.b,{icon:(0,s.jsx)(l.Ldj,{size:58}),title:"Permission Denied",color:"red",children:"Hak Akses anda Dibatasi, anda tidak bisa mengakses fitur dan halaman ini"})})})});t.Z=d},87869:function(e,t,i){"use strict";var s=i(85893),r=i(20050),n=i(74403),a=i(63991);let l=()=>(0,s.jsx)(r.r,{justify:"center",children:(0,s.jsx)(r.r.Col,{span:12,xl:12,lg:12,children:(0,s.jsx)(n.b,{icon:(0,s.jsx)(a.Ldj,{size:58}),title:"Permission Denied",color:"red",children:"Hak Akses anda Dibatasi, anda tidak bisa mengakses fitur dan halaman ini"})})});t.Z=l},29669:function(e,t,i){"use strict";var s=i(56817);let r=(0,s.k)(()=>({badge_style:{textTransform:"capitalize",fontWeight:500,fontSize:10,padding:"5px 14px"},badge_header:{textTransform:"capitalize",fontWeight:500,padding:"5px 16px",height:40}}));t.Z=r},73122:function(e,t,i){"use strict";var s=i(56817);let r=(0,s.k)(e=>({wrapper:{display:"flex"},table:{width:"100%",thead:{tr:{th:{paddingTop:5,fontWeight:600,paddingBottom:10,fontSize:11.5,paddingLeft:10}}},tbody:{tr:{td:{fontSize:12,padding:"6px 10px",fontWeight:400,verticalAlign:"middle",alignItems:"center"}}}},span_icon:{display:"flex",marginTop:5},span_hide:{display:"none",marginTop:5},arrow_headdouble:{marginLeft:7,marginTop:3,color:e.colors.gray[6]},arrow_up:{marginLeft:7,marginTop:3,color:e.colors.green[7]},arrow_down:{marginLeft:7,marginTop:3,color:e.colors.red[7]},pagination_global:{padding:10},pagination_class:{marginTop:5,justifyContent:"end",[e.fn.smallerThan("sm")]:{marginTop:5,justifyContent:"start"}},pagination_col:{alignContent:"end",alignSelf:"end"},badge_style:{textTransform:"capitalize",fontWeight:500,fontSize:10,padding:"5px 14px"}}));t.Z=r},49426:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return et},default:function(){return ei}});var s=i(85893),r=i(58996),n=i(9094),a=i(20966),l=i(49737),d=i(20050),c=i(66137),o=i(67841),h=i(78818),x=i(11163),p=i(67294),m=i(19885),j=i.n(m),u=i(46547),_=i(16653),v=i(63991),g=i(98903),w=i(10892),f=i(66546),y=i(83853),b=i(74089),z=i(95117),S=i(21017),Z=i(17789),k=i(49834),C=i(52615),R=i(28855),T=i(25963),F=i(74922);let N=e=>{var t;let{database:i,form:r,serviceLoadingForm:n,user:a}=e,l=new b.Z,h=e=>{(0,T._5)({title:y.Z.common_lang.title.delete_data+" Komentar "+e.id,centered:!0,children:(0,s.jsx)(z.x,{size:"sm",children:y.Z.common_lang.helper_text.delete_text+" "+e.content}),labels:{confirm:y.Z.common_lang.button.delete,cancel:y.Z.common_lang.button.cancel},confirmProps:{color:"red"},onCancel:()=>"",onConfirm:async()=>{let{status:t}=await l.deleteModel(e.id).then(e=>e).catch(e=>e.response);200==t?((0,F.c0)({title:y.Z.common_lang.notification.deleted_title_success,message:y.Z.memberreport_lang.model_name+" "+y.Z.common_lang.notification.deleted_message_success,icon:(0,s.jsx)(v.NOm,{}),color:"green"}),n()):((0,F.c0)({title:y.Z.common_lang.notification.deleted_title_failed,message:y.Z.memberreport_lang.model_name+" "+y.Z.common_lang.notification.deleted_message_failed,icon:(0,s.jsx)(v.kLi,{}),color:"red"}),n())}})},x=async()=>{let e={...r.values,user_id:a.id},t=await l.createModel(e).then(e=>e).catch(e=>e.response);200==t.status?((0,F.c0)({title:y.Z.common_lang.notification.create_title_success,message:y.Z.memberreport_lang.model_name+" "+y.Z.common_lang.notification.create_message_success,icon:(0,s.jsx)(v.NOm,{}),color:"green"}),setTimeout(()=>{r.reset(),n()},500)):((0,F.c0)({title:y.Z.common_lang.notification.create_title_failed,message:y.Z.memberreport_lang.model_name+" "+y.Z.common_lang.notification.create_message_failed,icon:(0,s.jsx)(v.kLi,{}),color:"red"}),n())};return(0,s.jsxs)("div",{children:[(0,s.jsx)(z.x,{size:"md",weight:600,pl:5,my:10,children:"Discussion 
1with Author"}),null==i?void 0:null===(t=i.comments)||void 0===t?void 0:t.map((e,t)=>(0,s.jsxs)(S.Z,{shadow:"xs",mt:10,children:[(0,s.jsx)(z.x,{size:"xs",weight:600,children:"Message:"}),(0,s.jsx)(z.x,{size:"xs",mt:5,children:e.content}),(0,s.jsxs)(d.r,{mt:10,children:[(0,s.jsx)(d.r.Col,{span:12,xl:4,lg:4,children:e.user_id==a.id?(0,s.jsx)(Z.C,{style:{fontSize:9,textTransform:"capitalize",fontWeight:500},mt:10,variant:"filled",color:"cyan",children:e.user_name}):(0,s.jsx)(Z.C,{style:{fontSize:9,textTransform:"capitalize",fontWeight:500},mt:10,variant:"filled",children:e.user_name})}),(0,s.jsx)(d.r.Col,{span:12,xl:6,lg:6,children:(0,s.jsx)(z.x,{size:11,weight:400,mt:10,children:e.created_at})}),(0,s.jsx)(d.r.Col,{span:12,xl:2,lg:2,children:e.user_id==a.id?(0,s.jsx)(c.Z,{position:"right",children:(0,s.jsx)(k.A,{mt:5,size:"xs",color:"red",onClick:()=>h(e),children:(0,s.jsx)(v.IT9,{size:18})})}):(0,s.jsx)(s.Fragment,{})})]})]},t)),(0,s.jsx)(S.Z,{withBorder:!0,p:"sm",mt:20,children:(0,s.jsxs)("form",{onSubmit:r.onSubmit(x),children:[(0,s.jsx)(C.g,{id:"content",required:!0,label:"Message",placeholder:"Write you're Message",...r.getInputProps("content")}),(0,s.jsx)(R.Ph,{id:"status",required:!0,label:"Status",mt:10,placeholder:"Select Status",data:[{key:1,value:"none_status",label:"Without Status ( Just Comment )"},{key:2,value:"need_revision",label:"Need Revision"}],...r.getInputProps("status")}),(0,s.jsx)(o.z,{mt:10,size:"xs",fullWidth:!0,type:"submit",style:{fontSize:11},children:"Submit Message"})]})})]})};var W=i(69469),M=i(41664),P=i.n(M);let L=e=>{let{database:t}=e;return(0,s.jsx)("div",{children:(0,s.jsxs)(S.Z,{shadow:"xs",p:"sm",mt:20,children:[(0,s.jsx)(z.x,{size:"sm",weight:600,mt:10,children:"File Attachment :"}),(0,s.jsx)(h.T,{h:"xs"}),(0,s.jsxs)(W.M,{cols:4,children:[(null==t?void 0:t.file_card)?(0,s.jsx)("div",{children:(0,s.jsx)(P(),{href:t.file_card,target:"_blank",children:(0,s.jsx)(o.z,{leftIcon:(0,s.jsx)(v.DjJ,{size:15}),size:"xs",color:"cyan",fullWidth:!0,style:{fontWeight:500},children:"File Card"})})}):(0,s.jsx)(s.Fragment,{}),(null==t?void 0:t.file_abstract)?(0,s.jsx)("div",{children:(0,s.jsx)(P(),{href:t.file_abstract,target:"_blank",children:(0,s.jsx)(o.z,{leftIcon:(0,s.jsx)(v.DjJ,{size:15}),size:"xs",color:"cyan",fullWidth:!0,style:{fontWeight:500},children:"File Abstract"})})}):(0,s.jsx)(s.Fragment,{}),(null==t?void 0:t.file_2)?(0,s.jsx)(P(),{href:t.file_2,target:"_blank",children:(0,s.jsx)("div",{children:(0,s.jsx)(o.z,{leftIcon:(0,s.jsx)(v.DjJ,{size:15}),size:"xs",color:"cyan",fullWidth:!0,style:{fontWeight:500},children:"File 2"})})}):(0,s.jsx)(s.Fragment,{}),(null==t?void 0:t.file_3)?(0,s.jsx)(P(),{href:t.file_3,target:"_blank",children:(0,s.jsx)("div",{children:(0,s.jsx)(o.z,{leftIcon:(0,s.jsx)(v.DjJ,{size:15}),size:"xs",color:"cyan",fullWidth:!0,style:{fontWeight:500},children:"File Lainnya"})})}):(0,s.jsx)(s.Fragment,{})]})]})})};var I=i(4397);let A=e=>{let{database:t}=e;return(0,s.jsx)("div",{children:(0,s.jsxs)(S.Z,{shadow:"xs",p:"sm",mt:20,children:[(0,s.jsx)(z.x,{size:"sm",weight:600,pl:10,mt:10,children:"Abstract :"}),(0,s.jsx)(h.T,{h:"xs"}),(0,s.jsx)(I.l,{style:{fontSize:12,paddingLeft:10},children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:t.abstract}})})]})})};var V=i(73122),D=i(95078),O=i(38090),B=i(46525);let E=e=>{let{database:t}=e,{classes:i}=(0,V.Z)(),[r,n]=(0,p.useState)(!1),[a,l]=(0,p.useState)({}),d=e=>{n(!0),l(e)};return(0,s.jsxs)("div",{children:[(0,s.jsxs)(S.Z,{shadow:"xs",p:"sm",mt:20,children:[(0,s.jsx)(z.x,{size:"sm",weight:600,pl:10,mt:10,children:"Authors"}),(0,s.jsx)(h.T,{h:"xs"}),(0,s.jsxs)(D.i,{horizontalSpacing:"xs",verticalSpacing:"xs",fontSize:"xs",highlightOnHover:!0,className:i.table,children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{style:{fontSize:11},children:"Full Name"}),(0,s.jsx)("th",{style:{fontSize:11},children:"Email"}),(0,s.jsx)("th",{style:{fontSize:11},children:"Affiliation"}),(0,s.jsx)("th",{style:{fontSize:11},children:"Nationality"}),(0,s.jsx)("th",{style:{fontSize:11},children:"Presenting Author"}),(0,s.jsx)("th",{style:{fontSize:11},children:"Validation"})]})}),(0,s.jsx)("tbody",{children:(null==t?void 0:t.authors)&&(null==t?void 0:t.authors.map(e=>(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{style:{fontSize:12},children:[e.first_name," ",e.last_name]}),(0,s.jsx)("td",{style:{fontSize:12},children:e.email}),(0,s.jsx)("td",{style:{fontSize:12},children:e.affiliation}),(0,s.jsx)("td",{style:{fontSize:12},children:e.nationality}),(0,s.jsx)("td",{style:{fontSize:12},children:e.selected?(0,s.jsx)(Z.C,{color:"green",style:{fontWeight:500,textTransform:"capitalize"},children:"Yes"}):(0,s.jsx)(Z.C,{color:"red",style:{fontWeight:500,textTransform:"capitalize"},children:"No"})}),(0,s.jsx)("td",{style:{fontSize:12},children:e.selected?(0,s.jsx)(o.z,{size:"xs",compact:!0,style:{fontSize:10},onClick:()=>d(e),children:"Check"}):(0,s.jsx)(s.Fragment,{})})]},e.id)))})]})]}),(0,s.jsxs)(O.u,{opened:r,onClose:()=>n(!1),title:"Show Detail Validation",size:"xl",children:[(0,s.jsx)(D.i,{withBorder:!0,withColumnBorders:!0,children:(0,s.jsxs)("tbody",{children:[(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:(0,s.jsx)(z.x,{children:(0,s.jsx)(B.v,{children:"Presenting Author"})})}),(0,s.jsxs)("td",{children:[null==a?void 0:a.first_name," ",null==a?void 0:a.last_name]})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:(0,s.jsx)(z.x,{children:(0,s.jsx)(B.v,{children:"Name On Ticket"})})}),(0,s.jsx)("td",{children:(null==a?void 0:a.name_on_ticket)?(0,s.jsx)(z.x,{children:null==a?void 0:a.name_on_ticket}):(0,s.jsx)(z.x,{children:"-"})})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:"Event Name"}),(0,s.jsx)("td",{children:(null==a?void 0:a.event_name_seminar)?(0,s.jsx)(z.x,{children:null==a?void 0:a.event_name_seminar}):(0,s.jsx)(z.x,{children:"-"})})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:"Invoice Number"}),(0,s.jsx)("td",{children:(null==a?void 0:a.event_no)?(0,s.jsx)(z.x,{children:null==a?void 0:a.event_no}):(0,s.jsx)(z.x,{children:"-"})})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:"Ticket Number"}),(0,s.jsx)("td",{children:(null==a?void 0:a.ticket_no)?(0,s.jsx)(z.x,{children:null==a?void 0:a.ticket_no}):(0,s.jsx)(z.x,{children:"-"})})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:"Ordered By"}),(0,s.jsx)("td",{children:(null==a?void 0:a.buyer_name)?(0,s.jsx)(z.x,{children:null==a?void 0:a.buyer_name}):(0,s.jsx)(z.x,{children:"-"})})]})]})}),(0,s.jsx)(h.T,{h:20}),(0,s.jsx)(z.x,{size:"sm",ta:"center",fw:600,children:"Invoice Number and Ticket Number is:"}),(null==a?void 0:a.validation)==!0?(0,s.jsx)(z.x,{ta:"center",color:"green",fw:600,children:"Registered"}):(0,s.jsx)(z.x,{ta:"center",color:"red",fw:600,children:"Not Registered"}),(0,s.jsxs)(z.x,{size:"md",ta:"center",mt:10,fw:600,children:[(0,s.jsx)(B.v,{children:"Please Validate between Presenting Author and Name on Ticket"})," "]}),(0,s.jsx)(z.x,{size:"sm",ta:"center",mt:5,fw:600,children:(0,s.jsx)(B.v,{children:"If Name on Ticket is Different to Presenting Author, please inform the author immediately"})})]})]})},q=e=>{let{database:t}=e;return(0,s.jsx)("div",{children:(0,s.jsx)(S.Z,{shadow:"xs",p:"md",children:(0,s.jsx)(D.i,{horizontalSpacing:"xs",verticalSpacing:"xs",fontSize:"xs",highlightOnHover:!0,children:(0,s.jsxs)("tbody",{children:[(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{style:{width:"30%"},children:"Paper Event"}),(0,s.jsx)("td",{style:{width:"70%"},children:t.paper_label})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{style:{width:"30%"},children:"Paper No"}),(0,s.jsx)("td",{style:{width:"70%"},children:t.no})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{style:{width:"30%"},children:"Date Created"}),(0,s.jsx)("td",{style:{width:"70%"},children:t.created_at})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{style:{width:"30%"},children:"Submitter Name"}),(0,s.jsx)("td",{style:{width:"70%"},children:t.user_full})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{style:{width:"30%"},children:"Submitter Email"}),(0,s.jsx)("td",{style:{width:"70%"},children:t.user_email})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{style:{width:"30%"},children:"Category"}),(0,s.jsx)("td",{style:{width:"70%"},children:t.category_label})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{style:{width:"30%"},children:"Topic"}),(0,s.jsx)("td",{style:{width:"70%"},children:t.topic_label})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{style:{width:"30%"},children:"Article Title"}),(0,s.jsx)("td",{style:{width:"70%"},children:t.article_title})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{style:{width:"30%"},children:"Keywords"}),(0,s.jsx)("td",{style:{width:"70%"},children:t.keywords})]})]})})})})};var H=i(29669);let J=e=>{let{status:t,label:i}=e,{classes:r}=(0,H.Z)();if("draft"===t)return(0,s.jsx)(c.Z,{position:"right",children:(0,s.jsx)("div",{children:(0,s.jsx)(Z.C,{size:"xl",radiu
1s:"sm",color:"gray",variant:"filled",fullWidth:!0,className:r.badge_header,children:i})})});if("publish"===t)return(0,s.jsx)(c.Z,{position:"right",children:(0,s.jsx)("div",{children:(0,s.jsx)(Z.C,{size:"xl",radius:"sm",color:"blue",variant:"filled",fullWidth:!0,className:r.badge_header,children:i})})});if("reviewed"===t)return(0,s.jsx)(c.Z,{position:"right",children:(0,s.jsx)("div",{children:(0,s.jsx)(Z.C,{size:"xl",radius:"sm",color:"cyan",variant:"filled",fullWidth:!0,className:r.badge_header,children:i})})});if("need_action"===t)return(0,s.jsx)(c.Z,{position:"right",children:(0,s.jsx)("div",{children:(0,s.jsx)(Z.C,{size:"xl",radius:"sm",color:"orange",variant:"filled",fullWidth:!0,className:r.badge_header,children:i})})});if("need_revision"===t)return(0,s.jsx)(c.Z,{position:"right",children:(0,s.jsx)("div",{children:(0,s.jsx)(Z.C,{size:"xl",radius:"sm",color:"pink",variant:"filled",fullWidth:!0,className:r.badge_header,children:i})})});if("rejected"===t)return(0,s.jsx)(c.Z,{position:"right",children:(0,s.jsx)("div",{children:(0,s.jsx)(Z.C,{size:"xl",radius:"sm",color:"red",variant:"filled",fullWidth:!0,className:r.badge_header,children:i})})});if("accepted"===t)return(0,s.jsx)(c.Z,{position:"right",children:(0,s.jsx)("div",{children:(0,s.jsx)(Z.C,{size:"xl",radius:"sm",color:"green",variant:"filled",fullWidth:!0,className:r.badge_header,children:i})})})};var U=i(73193),X=i(87869);let K=e=>{let{database:t,form:i,serviceLoadingForm:r,permissions:n}=e,a=new f.R,[c,h]=(0,p.useState)(!1),[x,m]=(0,p.useState)(!1),u=async()=>{let e=await a.updateStatusManager(i.values).then(e=>e).catch(e=>e.response);200==e.status?(h(!0),(0,F.c0)({title:"Success",message:"Success Update Status Final Result",icon:(0,s.jsx)(v.NOm,{}),color:"green"}),setTimeout(()=>{i.reset(),r(),m(!1)},500)):((0,F.c0)({title:"Failed",message:"Update Status Failed",icon:(0,s.jsx)(v.kLi,{}),color:"red"}),r())};return(0,s.jsxs)("div",{children:[(0,s.jsxs)(S.Z,{shadow:"xs",p:"sm",mb:10,bg:"yellow",children:[(0,s.jsx)(z.x,{size:"sm",weight:600,children:"Final Result :"}),(0,s.jsx)(R.Ph,{withinPortal:!0,placeholder:"Select Result",mt:10,data:[{key:1,value:"accepted",label:y.Z.paper_lang.helper_select.accepted},{key:2,value:"rejected",label:y.Z.paper_lang.helper_select.rejected}],...i.getInputProps("final_status")}),(0,s.jsx)(o.z,{mt:10,fullWidth:!0,onClick:()=>m(!0),style:{fontSize:11},children:"Update"})]}),(0,s.jsx)(O.u,{zIndex:100,size:560,opened:x,onClose:()=>m(!1),title:"Final Result for Paper ".concat(t.no),children:(0,s.jsx)(j(),{hasPermission:n,onDeny:(0,s.jsx)(X.Z,{}),children:(0,s.jsx)("div",{permission:"paperparticipant_update",children:(0,s.jsxs)("form",{onSubmit:i.onSubmit(u),children:[(0,s.jsx)(l.f,{visible:c}),(0,s.jsxs)(d.r,{children:[(0,s.jsx)(d.r.Col,{span:12,xl:12,lg:12,children:(0,s.jsx)(R.Ph,{label:"Final Result",withinPortal:!0,placeholder:"Select Result",mt:10,data:[{key:1,value:"accepted",label:y.Z.paper_lang.helper_select.accepted},{key:2,value:"rejected",label:y.Z.paper_lang.helper_select.rejected}],...i.getInputProps("final_status")})}),(0,s.jsx)(d.r.Col,{span:12,xl:12,lg:12,children:(0,s.jsx)(U.W,{id:"password",sx:{wrapper:{borderColor:"#228be6"}},icon:(0,s.jsx)(v._V1,{size:18}),autoComplete:"off",required:!0,label:y.Z.auth_lang.form.password,placeholder:y.Z.auth_lang.placeholder.password,...i.getInputProps("password")})})]}),(0,s.jsx)(o.z,{type:"submit",mt:20,fullWidth:!0,children:"Submit Final Result"})]})})})})]})},Y=e=>{let{formone:t,formtwo:i,formthree:r,reviewerlist:n,serviceLoadingForm:a,database:l}=e,c=new f.R,h=async()=>{let e={...t.values,reviewer_no:1},i=await c.updateReviewer(e).then(e=>e).catch(e=>e.response);200==i.status?((0,F.c0)({title:"Success",message:"Link Success Send to Reviewer 1",icon:(0,s.jsx)(v.NOm,{}),color:"green"}),setTimeout(()=>{a()},500)):((0,F.c0)({title:"Failed",message:"Link Failed Send to Reviewer 1",icon:(0,s.jsx)(v.kLi,{}),color:"red"}),a())},x=async()=>{let e={...i.values,reviewer_no:2},t=await c.updateReviewer(e).then(e=>e).catch(e=>e.response);200==t.status?((0,F.c0)({title:"Success",message:"Link Success Send to Reviewer 1",icon:(0,s.jsx)(v.NOm,{}),color:"green"}),setTimeout(()=>{a()},500)):((0,F.c0)({title:"Failed",message:"Link Failed Send to Reviewer 1",icon:(0,s.jsx)(v.kLi,{}),color:"red"}),a())},p=async()=>{let e={...r.values,reviewer_no:3},t=await c.updateReviewer(e).then(e=>e).catch(e=>e.response);200==t.status?((0,F.c0)({title:"Success",message:"Link Success Send to Reviewer 1",icon:(0,s.jsx)(v.NOm,{}),color:"green"}),setTimeout(()=>{a()},500)):((0,F.c0)({title:"Failed",message:"Link Failed Send to Reviewer 1",icon:(0,s.jsx)(v.kLi,{}),color:"red"}),a())};return(0,s.jsx)("div",{children:(0,s.jsxs)(S.Z,{shadow:"xs",p:"sm",bg:"lime",children:[(0,s.jsx)(z.x,{size:"sm",weight:600,mb:10,children:"Reviewer :"}),(0,s.jsxs)(d.r,{children:[(0,s.jsx)(d.r.Col,{span:12,xl:12,lg:12,children:(0,s.jsxs)("form",{onSubmit:t.onSubmit(h),children:[(0,s.jsx)(R.Ph,{required:!0,withinPortal:!0,label:"Reviewer 1",placeholder:"Select Reviewer 1",data:n,...t.getInputProps("reviewer_id"),mb:10}),l.reviewer_1_date?(0,s.jsxs)(z.x,{color:"teal",size:"xs",children:["Send On ",null==l?void 0:l.reviewer_1_date]}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(o.z,{mt:5,size:"xs",fullWidth:!0,type:"submit",leftIcon:(0,s.jsx)(v.h9l,{size:14}),children:"Send Link"})]})}),(0,s.jsx)(d.r.Col,{span:12,xl:12,lg:12,children:(0,s.jsxs)("form",{onSubmit:i.onSubmit(x),children:[(0,s.jsx)(R.Ph,{required:!0,withinPortal:!0,label:"Reviewer 2",placeholder:"Select Reviewer 2",data:n,...i.getInputProps("reviewer_id"),mb:10}),l.reviewer_2_date?(0,s.jsxs)(z.x,{color:"teal",size:"xs",children:["Send On ",null==l?void 0:l.reviewer_2_date]}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(o.z,{mt:5,size:"xs",fullWidth:!0,type:"submit",leftIcon:(0,s.jsx)(v.h9l,{size:14}),children:"Send Link"})]})}),(0,s.jsx)(d.r.Col,{span:12,xl:12,lg:12,children:(0,s.jsxs)("form",{onSubmit:r.onSubmit(p),children:[(0,s.jsx)(R.Ph,{required:!0,withinPortal:!0,label:"Reviewer 3",placeholder:"Select Reviewer 3",data:n,...r.getInputProps("reviewer_id"),mb:10}),l.reviewer_3_date?(0,s.jsxs)(z.x,{color:"teal",size:"xs",children:["Send On ",null==l?void 0:l.reviewer_3_date]}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(o.z,{mt:5,size:"xs",fullWidth:!0,type:"submit",leftIcon:(0,s.jsx)(v.h9l,{size:14}),children:"Send Link"})]})})]})]})})};var G=i(1604),Q=i(71909);let $=e=>{let{database:t}=e,i=e=>{let{status:t,label:i}=e;return"major"==t||"minor"==t?(0,s.jsx)(Z.C,{variant:"filled",color:"pink",radius:0,style:{textTransform:"capitalize",fontWeight:500},children:i}):"accepted"==t?(0,s.jsx)(Z.C,{variant:"filled",color:"green",radius:0,style:{textTransform:"capitalize",fontWeight:500},children:i}):"rejected"==t?(0,s.jsx)(Z.C,{variant:"filled",color:"red",radius:0,style:{textTransform:"capitalize",fontWeight:500},children:i}):void 0};return(0,s.jsxs)("div",{children:["none"!==t.reviewer_1_review_status?(0,s.jsxs)(S.Z,{shadow:"xs",p:"xl",mt:20,children:[(0,s.jsx)(z.x,{size:"sm",weight:600,mb:10,children:"Reviewer 1 Result:"}),(0,s.jsxs)(d.r,{children:[(0,s.jsxs)(d.r.Col,{span:12,xl:4,lg:4,children:[(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Reviewer :"}),(0,s.jsxs)(z.x,{size:"xs",children:[t.reviewer_1_name," - ( ",t.reviewer_1_email,")"]}),(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Status :"}),(0,s.jsx)(i,{status:t.reviewer_1_review_status,label:t.reviewer_1_review_status_label}),(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Sent By Reviewer :"}),(0,s.jsx)(z.x,{size:"xs",children:t.reviewer_1_date}),(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Reviewed By Reviewer :"}),(0,s.jsx)(z.x,{size:"xs",children:t.reviewer_1_date_submit})]}),(0,s.jsx)(d.r.Col,{span:12,xl:8,lg:8,children:(0,s.jsx)(I.l,{style:{fontSize:12,paddingLeft:10},children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:t.reviewer_1_content}})})})]})]}):(0,s.jsx)(s.Fragment,{}),"none"!==t.reviewer_2_review_status?(0,s.jsxs)(S.Z,{shadow:"xs",p:"xl",mt:20,children:[(0,s.jsx)(z.x,{size:"sm",weight:600,mb:10,children:"Reviewer 2 Result:"}),(0,s.jsxs)(d.r,{children:[(0,s.jsxs)(d.r.Col,{span:12,xl:4,lg:4,children:[(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Reviewer :"}),(0,s.jsxs)(z.x,{size:"xs",children:[t.reviewer_2_name," - ( ",t.reviewer_2_email,")"]}),(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Status :"}),(0,s.jsx)(i,{status:t.reviewer_2_review_status,label:t.reviewer_2_review_status_label}),(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Sent By Reviewer :"}),(0,s.jsx)(z.x,{size:"xs",children:t.reviewer_2_date}),(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Reviewed By Reviewer :"}),(0,s.jsx)(z.x,{size:"xs",children:t.reviewer_2_date_submit})]}),(0,s.jsx)(d.r.Col,{span:12,xl:8,lg:8,children:(0,s.jsx)(I.l,{style:{fontSize:12,paddingLeft:10},children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:t.reviewer_2_content}})})})]})]}):(0,s.jsx)(s.Fragment,{}),"none"!==t.reviewer_3_review_status?(0,s.jsxs)(S.Z,{shadow:"xs",p:"xl",mt:20,children:[(0,s.jsx)(z.x,{size:"sm",weight:600,mb:10,children:"Reviewer 3 Result:"}),(0,s.jsxs)(d.r,{children:[(0,s.jsxs)(d.r.Col,{span:12,xl:4,lg:4,children:[(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Reviewer :"}),(0,s.jsxs)(z.x,{size:"xs",children:[t.reviewer_3_name," - ( ",t.reviewer_3_email,")"]}),(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Status :"}),(0,s.jsx)(i,{status:t.reviewer_3_review_status,label:t.reviewer_3_review_status_label}),(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Sent By Reviewer :"}),(0,s.jsx)(z.x,{size:"xs",children:t.reviewer_3_date}),(0,s.jsx)(z.x,{size:"xs",mt:10,mb:5,weight:600,children:"Reviewed By Reviewer :"}),(0,s.jsx)(z.x,{size:"xs",children:t.reviewer_3_date_submit})]}),(0,s.jsx)(d.r.Col,{span:12,xl:8,lg:8,children:(0,s.jsx)(I.l,{style:{fontSize:12,paddingLeft:10},children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:t.reviewer_3_content}})})})]})]}):(0,s.jsx)(s.Fragment,{})]})},ee=e=>{let{postID:t}=e,{permissions:i,user:m}=(0,u.a)(),y=(0,x.useRouter)(),[b,z]=(0,p.useState)(!0),[S,Z]=(0,p.useState)([]),k=new f.R,C=new Q.h,[R,T]=(0,p.useState)({}),F=G.z.object({content:G.z.string().min(2,{message:"Comment is Required"}),status:G.z.string().min(1,{message:"Status is Required"})}),W=G.z.object({reviewer_id:G.z.string({required_error:"Reviwer is Must be selected",invali
1d_type_error:"Reviwer must be a selected"})}),M=(0,g.c)({initialValues:{id:"",final_status:"",password:""}}),P=(0,g.c)({validate:(0,w.F)(W),initialValues:{id:"",reviewer_id:"",reviewer_no:""}}),I=(0,g.c)({validate:(0,w.F)(W),initialValues:{id:"",reviewer_id:"",reviewer_no:""}}),V=(0,g.c)({validate:(0,w.F)(W),initialValues:{id:"",reviewer_id:"",reviewer_no:""}}),D=(0,g.c)({validate:(0,w.F)(F),initialValues:{user_id:"",participant_id:"",content:"",status:""}}),O=async()=>{let e=await k.findModel(t).then(e=>e).catch(e=>e.response);T(e.data),P.setFieldValue("id",e.data.id),I.setFieldValue("id",e.data.id),V.setFieldValue("id",e.data.id),P.setFieldValue("reviewer_id",e.data.reviewer_1_id),I.setFieldValue("reviewer_id",e.data.reviewer_2_id),V.setFieldValue("reviewer_id",e.data.reviewer_3_id),M.setFieldValue("id",e.data.id),M.setFieldValue("final_status",e.data.final_status),D.setFieldValue("participant_id",e.data.id);let i=await C.getModels({export:!0}).then(e=>e).finally(()=>z(!1)).catch(e=>e.response);if(200==i.status){var s;let e=null===(s=i.export_data)||void 0===s?void 0:s.map(e=>({key:e.id,value:e.id,label:e.name+" -  ("+e.email+")",email:e.email}));Z(e)}};(0,p.useEffect)(()=>{O()},[y]);let B=()=>{z(!0),setTimeout(()=>{O(),z(!1)},500)};return(null==m?void 0:m.id)?(0,s.jsx)(r.Z,{children:(0,s.jsxs)(j(),{hasPermission:i,onDeny:(0,s.jsx)(_.Z,{}),children:[(0,s.jsx)(l.f,{visible:b}),(0,s.jsx)("div",{permission:"paperparticipant_read",children:(0,s.jsxs)(d.r,{justify:"flex-start",children:[(0,s.jsxs)(d.r.Col,{span:12,xl:8,lg:8,children:[(0,s.jsxs)(d.r,{justify:"space-between",mb:10,children:[(0,s.jsx)(d.r.Col,{span:12,xl:3,lg:3,children:(0,s.jsx)(c.Z,{children:(0,s.jsx)(o.z,{color:"blue",leftIcon:(0,s.jsx)(v.UN_,{size:18}),onClick:()=>y.push("/admin/paper_participant"),children:"Back"})})}),(0,s.jsx)(d.r.Col,{span:12,xl:4,lg:4,children:(0,s.jsx)(J,{status:R.final_status,label:R.final_status_label})})]}),(0,s.jsx)(q,{database:R}),(0,s.jsx)(E,{database:R}),(0,s.jsx)(A,{database:R}),(0,s.jsx)(L,{database:R}),(0,s.jsx)($,{database:R})]}),(0,s.jsxs)(d.r.Col,{span:12,xl:4,lg:4,children:[(0,s.jsx)(h.T,{h:50}),(0,s.jsx)(K,{database:R,form:M,serviceLoadingForm:B,permissions:i}),(0,s.jsx)(Y,{database:R,formone:P,formtwo:I,formthree:V,reviewerlist:S,serviceLoadingForm:B}),(0,s.jsx)(N,{database:R,form:D,serviceLoadingForm:B,user:m})]})]})})]})}):(0,s.jsx)(n.M,{children:(0,s.jsx)(a.a,{})})};var et=!0,ei=ee},74089:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});var s=i(14924),r=i(40080);
1class n{constructor(){(0,s.Z)(this,"getModels",async e=>await r.Z.get("/v1/paper_comments",{params:e}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"getModelsAll",async()=>await r.Z.get("/v1/paper_comments",{params:{export:"true"}}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"findModel",async e=>await r.Z.get("/v1/paper_comments/".concat(e)).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"createModel",async e=>await r.Z.post("/v1/paper_comments",e).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"updateModel",async e=>await r.Z.post("/v1/paper_comments/".concat(e.id),e).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"deleteModel",async e=>await r.Z.delete("/v1/paper_comments/".concat(e)).then(e=>e.data).catch(e=>e.response))}}},66546:function(e,t,i){"use strict";i.d(t,{R:function(){return n}});var s=i(14924),r=i(40080);class n{constructor(){(0,s.Z)(this,"getModels",async e=>await r.Z.get("/v1/papers_participants",{params:e}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"getModelsAll",async()=>await r.Z.get("/v1/papers_participants",{params:{export:"true"}}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"findModel",async e=>await r.Z.get("/v1/papers_participants/".concat(e)).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"createModel",async e=>await r.Z.post("/v1/papers_participants",e,{headers:{"Content-Type":"multipart/form-data"}}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"checkOrderTicket",async e=>await r.Z.post("/v1/papers_participants",e).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"exportData",async()=>await r.Z.get("/v1/paper_export_excel",{params:{export:"true"}}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"exportDataTranspose",async()=>await r.Z.get("/v1/paper_export_transpose",{params:{export:"true"}}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"updateModel",async e=>await r.Z.post("/v1/papers_participants/".concat(e.get("id")),e,{headers:{"Content-Type":"multipart/form-data"}}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"updateReviewer",async e=>await r.Z.put("/v1/papers_participants_reviewers/".concat(e.id),e).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"updateStatusManager",async e=>await r.Z.put("/v1/papers_participants_status_update/".concat(e.id),e).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"deleteModel",async e=>await r.Z.delete("/v1/papers_participants/".concat(e)).then(e=>e.data).catch(e=>e.response))}}},71909:function(e,t,i){"use strict";i.d(t,{h:function(){return n}});var s=i(14924),r=i(40080);
1class n{constructor(){(0,s.Z)(this,"getModels",async e=>await r.Z.get("/v1/paper_reviewers",{params:e}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"getModelsAll",async()=>await r.Z.get("/v1/paper_reviewers",{params:{export:"true"}}).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"findModel",async e=>await r.Z.get("/v1/paper_reviewers/".concat(e)).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"createModel",async e=>await r.Z.post("/v1/paper_reviewers",e).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"updateModel",async e=>await r.Z.put("/v1/paper_reviewers/".concat(e.id),e).then(e=>e.data).catch(e=>e.response)),(0,s.Z)(this,"deleteModel",async e=>await r.Z.delete("/v1/paper_reviewers/".concat(e)).then(e=>e.data).catch(e=>e.response))}}}},function(e){e.O(0,[9584,4575,1681,486,7968,3723,4151,4159,5264,6539,2933,1231,8996,9774,2888,179],function(){return e(e.s=67572)}),_N_E=e.O()}]);

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.