PageSourceSearch

https://www.spinandwin.com/build/_shared/chunk-7LIGWRDI.js

js spinandwin.com collected 2026-09-26 06:50:52 UTC 1,813 bytes, 1 lines download raw bytes

1import{a as x}from"/build/_shared/chunk-MQJDYMCS.js";import{a as y}from"/build/_shared/chunk-QFXWV5ET.js";import{a as M}from"/build/_shared/chunk-ELXM45ZL.js";import{a as F}from"/build/_shared/chunk-H5UJJ74Q.js";import{w as g}from"/build/_shared/chunk-RBFCHJWR.js";import{a as R}from"/build/_shared/chunk-JUM7J4TY.js";import{a as p}from"/build/_shared/chunk-RW7BUM27.js";import{e as r}from"/build/_shared/chunk-ADMCF34Z.js";var S=r(x()),U=r(y());var t=r(R()),w=r(F());var s=r(p());function Y({loading:E,setLoading:o,countRefresh:v,setCountRefresh:D,refresh:I,messageId:h}){let e=g(),[a,l]=(0,t.useState)(null),[n,b]=(0,t.useState)(null);(0,t.useEffect)(()=>{var i,c,m,f,d,u;if(e.state==="idle"&&(e==null?void 0:e.data)!==void 0){if(!e.data.isSuccessfulResponse){o(!1),b((m=(c=(i=e.data)==null?void 0:i.message)==null?void 0:c.errors[0])==null?void 0:m.error_description);return}l((f=e.data)==null?void 0:f.message),(u=(d=e.data)==null?void 0:d.message)!=null&&u.isRead||D(!v),o(!1)}},[e.state,e==null?void 0:e.data]);let N=()=>{if(!n&&a)return(0,s.jsxs)("section",{className:"break-words",children:[(0,s.jsx)("h3",{className:"mb-1",children:a.subject}),(0,s.jsxs)("div",{className:"flex items-center text-sm",children:[(0,s.jsx)("span",{children:a.from}),(0,s.jsx)("span",{className:"ml-3",children:(0,w.default)(a.sentDate).format("MMMM Do, YYYY")})]}),(0,s.jsx)("article",{className:"w-full overflow-x-scroll mt-5 text-sm","safely-set-inner-html":M(a.body)}),a.actionUrl?(0,s.jsx)("a",{href:a.actionUrl,className:"btn",children:a.actionText}):null]})};return(0,t.useEffect)(()=>
1{l(null),o(!0),e.load(`/components/_messageDetails?messageId=${h}`)},[I]),(0,s.jsxs)("div",{className:"message-details",children:[(0,s.jsx)("div",{children:n&&(0,s.jsx)("span",{className:"error",children:n})}),N()]})}export{Y as a};

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.