1import{r as g,j as x}from"./react-CN0NjFt1.js";import{a as C,ar as L,L as _,K as z,y as c,g as b,B}from"./index-X-kFsHtE.js";import{c as M}from"./router-DfgXitZN.js";import"./vendor-58YU-i0Y.js";import"./editor-B__fRzXY.js";const h=t;(function(s,i){const e=t,n=s();for(;;)try{if(-parseInt(e(376))/1+-parseInt(e(372))/2+-parseInt(e(379))/3*(-parseInt(e(426))/4)+-parseInt(e(390))/5*(-parseInt(e(408))/6)+parseInt(e(402))/7*(-parseInt(e(391))/8)+-parseInt(e(394))/9+parseInt(e(393))/10===i)break;n.push(n.shift())}catch{n.push(n.shift())}})(y,784819);const q={invite_accepted:h(419),invite_reminder:h(427),invitee_activity:h(430),co_author_credited:h(389),comment_on_work:h(399),comment_reply:h(382),review_digest:h(385)};function p(s){const i=t;if(!s)return"â";const e=new Date(s);return Number[i(398)](e[i(413)]())?s:e.toLocaleDateString()+" "+e[i(422)]()}function t(s,i){s=s-363;const e=y();let n=e[s];if(t.VbSwXK===void 0){var u=function(A){const j="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let d="",w="";for(let l=0,o,a,f=0;a=A.charAt(f++);~a&&(o=l%4?o*64+a:a,l++%4)?d+=String.fromCharCode(255&o>>(-2*l&6)):0)a=j.indexOf(a);for(let l=0,o=d.length;l<o;l++)w+="%"+("00"+d.charCodeAt(l).toString(16)).slice(-2);return decodeURIComponent(w)};t.fPltFz=u,t.TPOCAM={},t.VbSwXK=!0}const v=e[0],r=s+v,m=t.TPOCAM[r];return m?n=m:(n=t.fPltFz(n),t.TPOCAM[r]=n),n}function y(){const s=["tM90AwzPy2f0Aw9U","sw52AxrLigfJy2vWDgvK","DMfYkc0Ty29SB3iTzgfUz2vYkq","ohb4ideYChG","Dg9mB2nHBgvuAw1Lu3rYAw5N","DgHLBG","tMfTzq","tgLUAYbvuKW","mZy1nZqYoe9Pzwvqzq","sw52AxrLihjLBwLUzgvY","BwfW","A3yTC2vJDgLVBI10AxrSzq","sw52AxrLzsbHy3rPDML0Eq","4OcuihvUCMvHzcdIGjq","BwvZC2fNzq","y29TBwvUDgvYx25HBwu","CgfNzv90AxrSzq","C3rYB25N","uMvHza","CgfUzwWTyM9KEq","zxjYB3i","ChjL","C3bHy2vY","nZy4otaYu1HvCgjT","AxrLBxm","BM90AwzPy2f0Aw9U","zMLUywXSEq","nte5mZm1swzhvu5L","CMvHzf9HDa","ywrTAw4TCgfNzq","m3bOA2L5wa","ig9U","DMfYkc0Ty29SB3iTyMCP","q29TBwvUDcbYzxbSEq","mxb4ihnVBgLKihzHCIGTlwnVBg9YlwjVCMrLCIK","yM9KEv9WCMv2Awv3","uMv2Awv3igrPz2vZDa","tM90AwzPy2f0Aw9UieLe","zgL2","CMvJAxbPzw50x3vZzxjFAwq","q28Tyxv0Ag9YignYzwrPDgvK","nuXPsMznEa","mJuZmdCYB1zAshLt","q3jLyxrLza","mtuYmJqXntbfwhvXA3i","oda5mduXnffOsLH4sG","yNjLywSTD29Yza","y3jLyxrLzf9HDa","khvUA25VD24GCgfNzsK","Axnoyu4","q29TBwvUDcbVBIb3B3jR","u29Tzw9Uzq","rw1HAwW","mJy2u2XMtfvg","BgvUz3rO","CgfNzv9ZBhvN","y2f0y2G","sxrLBxmGAw4GDgHPCYbKAwDLC3q","CgfUzwWTzM9VDa","odeXnZiYnM1uz2n2Aq","q2XVC2u","ChjLlxDYyxa","DMfYkc0Ty29SB3iTChjPBwfYEsK","uM9Szq","z2v0vgLTzq","DhLWzq","uMvJAxbPzw50","BgLUA191CMW","ohb4ide2ChG"];return y=function(){return s},y()}function P({embeddedId:s,onClose:i}){const e=t,{id:n}=M(),u=s||n,{token:v}=C(),[r,m]=g.useState(null),[A,j]=g.useState(!0),[d,w]=g.useState(null);if(g.useEffect(()=>{const a=t;!u||!v||(j(!0),L.get(u,v)[a(423)](f=>m(f[a(374)]||f))[a(405)](f=>w(f[a(363)]))[a(375)](()=>j(!1)))},[u,v]),A)return x.jsx(_,{});if(d&&!r)return x.jsx("div",{className:e(378),children:x.jsx("p",{className:e(369),children:d})});if(!r)return null;const l=r.payload||{},o=Array.isArray(l[e(373)])?l.items:[];return x.jsxs(x.Fragment,{children:[x.jsxs(e(387),{className:"panel-head",children:[x.jsx("h2",{children:q[r[e(414)]]||r[e(414)]}),i&&x.jsx("button",{className:"close-x",onClick:i,"aria-label":"Close",children:"â"})]}),d&&x.jsx("p",{className:"error",style:{color:e(420),margin:e(417)},children:d}),x.jsxs("div",{className:e(368),children:[x.jsx("h3",{className:e(429),children:e(415)}),x.jsxs(z,{children:[x.jsx(c,{label:e(424),value:r.recipient_name||"â"}),x.jsx(c,{label:e(401),value:r.recipient_email||"â"}),x.jsx(c,{label:e(412),value:r.recipient_role||"â"}),x.jsx(c,{label:"User ID",value:r[e(388)]})]}),x.jsx("h3",{className:e(429),children:e(418)}),x.jsxs(z,{children:[x.jsx(c,{label:"Type",value:r.type}),x.jsx(c,{label:e(392),value:p(r[e(396)])}),x.jsx(c,{label:e(367),value:r[e(377)]?p(r[e(377)]):e(431)}),x.jsx(c,{label:e(425),value:r[e(416)]||"â"}),x.jsx(c,{label:e(386),value:r.id})]}),o[e(403)]>0&&x.jsxs(x.Fragment,{children:[x.jsx("h3",{className:"kv-section-title",children:e(406)}),x.jsx(z,{children:x.jsx(b,{label:"",stack:!0,children:x.jsx("ul",{style:{margin:0,paddingLeft:18},children:o[e(428)]((a,f)=>x.jsxs("li",{style:{marginBottom:8},children:[x.jsxs(e(387),{children:[x.jsx(e(366),{children:a[e(364)]||e(400)}),e(380)," ",a[e(404)]?x.jsx("a",{href:"/"+a[e(404)],style:{color:e(411)},children:a[e(365)]||a[e(404)]}):x.jsx("em",{children:a[e(365)]||e(397)})]}),a.body_preview&&x.jsx(e(387),{style:{color:"var(--color-text-muted)",marginTop:2},children:a[e(384)]})]},f))})})})]}),x.jsx("h3",{className:e(429),children:"Raw payload"}),x.jsx(z,{children:x.jsx(b,{label:"",stack:!0,children:x.jsx(e(370),{style:{margin:0,padding:e(421),background:e(381),border:e(383),borderRadius:"var(--radius-md)",whiteSpace:e(410),wordBreak:e(395),fontSize:12,lineHeight:1.4,color:"var(--color-text)"},children:JSON.stringify(l,null,2)})})})]}),i&&x.jsxs("div",{className:e(407),children:[x.jsx("span",{className:e(371)}),x.jsx(B,{variant:"secondary",onClick:i,children:e(409)})]})]})}export{P as default};
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.