PageSourceSearch

https://www.caringbridge.org/_next/static/chunks/pages/site/[siteId]/request/[requestId]-261bbac73d263f0e.js

js caringbridge.org collected 2026-09-24 08:41:20 UTC 14,893 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6716],{52677:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/site/[siteId]/request/[requestId]",function(){return t(35117)}])},16468:function(e,i,t){"use strict";t.d(i,{Z:function(){return j}});var s=t(85893),o=t(40645),n=t.n(o);t(67294);var r=t(45697),l=t.n(r),a=t(23918),d=t(20348),c=t(73775),u=t(39232),x=t(76935),m=t(44170),f=t(61082),p=t(91047),b=t(29457),g=t(63476),h=t(61922),y=t(4162),S=t(87036),v=t(73167),w=t(77594);function j(e){let{page:i,siteId:t,firstName:o,SummaryComponent:r,summaryData:l,shareModalController:v,isLoading:j,isUsingOtpvToken:I,showBackLink:_=!0}=e,q=k(o,l,t);return(0,s.jsx)(c.fc,{value:{page:i},children:(0,s.jsx)(d.ZN,{children:(0,s.jsx)(a.Z,{title:q,children:(0,s.jsxs)("div",{className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" standardLayout wider",children:[j&&(0,s.jsx)("div",{className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" spinner",children:(0,s.jsx)(h.ZP,{centerIn:h.MQ.VIEWPORT})}),!j&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x.Z,{}),(0,s.jsxs)("div",{className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" "+"siteLayout ".concat(!(null==l?void 0:l.isAuthor)&&"isVisitor"),children:[(0,s.jsx)("div",{className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" siteActionsWrapper",children:(0,s.jsx)(m.Z,{isUsingOtpvToken:I,isSingleContentPage:!0})}),(0,s.jsx)("div",{className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" mainContent",children:!j&&l&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r,{...l,isUsingOtpvToken:I,className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" "+(l&&null!=l.className&&l.className||"")}),_&&o&&(0,s.jsxs)("div",{className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" marginTop--48 left",children:[(0,s.jsx)("i",{className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" fa-arrow-left fa-fw fa-solid"}),(0,s.jsx)("a",{href:(0,y.G3)(y.Z6.SITE_HOME_PAGE,{siteId:t}),"data-qa":"showMoreBtn",className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" seeMoreCTA",children:"Find out what else is going on in ".concat(o,"'s health journey.")})]})]})}),(0,s.jsx)("div",{className:n().dynamic([["c9c0f0ef67dbf2ee",[S.Bs.MEDIUM]]])+" tributeThanksWidgetWrapper",children:(0,s.jsx)(g.Z,{})})]}),(0,s.jsx)(p.Z,{}),(0,s.jsx)(u.Z,{siteId:t}),(0,s.jsx)(f.Z,{}),v&&(0,s.jsx)(b.Z,{...v,isUsingOtpvToken:I}),(null==l?void 0:l.isAuthor)&&(0,s.jsx)(w.Z,{siteData:l,siteId:t})]}),(0,s.jsx)(n(),{id:"c9c0f0ef67dbf2ee",dynamic:[S.Bs.MEDIUM],children:".siteLayout.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:6vw;margin-top:30px}.seeMoreCTA{text-decoration:none}.seeMoreCTA:hover{text-decoration:underline}.spinner.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:2rem 0}.siteLayout.__jsx-style-dynamic-selector>.__jsx-style-dynamic-selector:first-child{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.siteActionsWrapper.__jsx-style-dynamic-selector{-webkit-box-flex:2;-webkit-flex:2 1 auto;-moz-box-flex:2;-ms-flex:2 1 auto;flex:2 1 auto;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.mainContent.__jsx-style-dynamic-selector{-webkit-box-flex:9;-webkit-flex:9 1 auto;-moz-box-flex:9;-ms-flex:9 1 auto;flex:9 1 auto;-webkit-box-ordinal-group:4;-webkit-order:3;-moz-box-ordinal-group:4;-ms-flex-order:3;order:3}.tributeThanksWidgetWrapper.__jsx-style-dynamic-selector{-webkit-box-flex:3;-webkit-flex:3 1 auto;-moz-box-flex:3;-ms-flex:3 1 auto;flex:3 1 auto;-webkit-box-ordinal-group:3;-webkit-order:2;-moz-box-ordinal-group:3;-ms-flex-order:2;order:2}.isVisitor.__jsx-style-dynamic-selector{margin-top:0px}@media(min-width:".concat(S.Bs.MEDIUM,"){.siteLayout.__jsx-style-dynamic-selector{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:4vw;margin-top:84px}.isVisitor.__jsx-style-dynamic-selector{margin-top:84px}.siteLayout.__jsx-style-dynamic-selector>.__jsx-style-dynamic-selector:first-child{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.siteActionsWrapper.__jsx-style-dynamic-selector{-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1;-webkit-box-flex:0;-webkit-flex:0 0 168px;-moz-box-flex:0;-ms-flex:0 0 168px;flex:0 0 168px}.mainContent.__jsx-style-dynamic-selector{-webkit-box-ordinal-group:3;-webkit-order:2;-moz-box-ordinal-group:3;-ms-flex-order:2;order:2;-webkit-box-flex:3;-webkit-flex:3 0 64%;-moz-box-flex:3;-ms-flex:3 0 64%;flex:3 0 64%}.tributeThanksWidgetWrapper.__jsx-style-dynamic-selector{-webkit-box-ordinal-group:4;-webkit-order:3;-moz-box-ordinal-group:4;-ms-flex-order:3;order:3;-webkit-box-flex:0;-webkit-flex:0 1 300px;-moz-box-flex:0;-ms-flex:0 1 300px;flex:0 1 300px}}")})]})})})})}j.propTypes={page:l().object.isRequired,siteId:l().string.isRequired,firstName:l().string,SummaryComponent:l().elementType.isRequired,summaryData:l().object,shareModalController:l().object,isLoading:l().bool,showBackLink:l().bool,pageTitle:l().string,isUsingOtpvToken:l().bool};let k=(e,i,t)=>{let s,o;
1if(null==i?void 0:i.postItems){let o=i.post.type,{title:n}=(0,v.NU)(o,e,v.d6[o].getShareLink(i.postItems[o]),t);s=n}else{var n,r,l;s=null!==(l=null==i?void 0:null===(n=i.request)||void 0===n?void 0:n.title)&&void 0!==l?l:null==i?void 0:null===(r=i.post)||void 0===r?void 0:r.title}return e?(o="".concat(e,"'s CaringBridge"),s&&(o+=" | ".concat(s))):o="CaringBridge",o}},50646:function(e,i,t){"use strict";t.d(i,{Z:function(){return E}});var s=t(85893),o=t(5241),n=t(4162),r=t(45697),l=t.n(r),a=t(67294),d=t(33069),c=t(45114),u=t(57747),x=t(43287),m=t(50319),f=t(25351),p=t(63168),b=t(14e3),g=t(47526),h=t(61922),y=t(22878),S=t(98303);let v=e=>{let{requestSlotId:i,isLoading:t,updateAssignmentHandler:n}=e,r=(0,S.S)({base:"mobile",lg:"desktop"});return(0,s.jsx)(y.Z,{onClick:()=>n(o._B.ASSIGN),disabled:t,position:"relative","aria-label":t?"Loading, please wait":"Offer to Help","data-qa":"assignRequestSlot-".concat(i),fullWidth:"mobile"===r,children:(0,s.jsxs)(u.xu,{position:"relative",children:[(0,s.jsx)(b.x,{visibility:t?"hidden":"visible","aria-hidden":"true",as:"span",children:"Offer to Help"}),t&&(0,s.jsx)(u.xu,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","aria-hidden":"true",children:(0,s.jsx)(h.ZP,{})})]})})};v.propTypes={updateAssignmentHandler:l().func.isRequired,requestSlotId:l().string.isRequired,isLoading:l().bool.isRequired};let w=e=>{var i,t;let{requestSlot:o,viewerData:n,assignmentLoading:r,updateAssignmentHandler:l}=e,a=null==o?void 0:o.helper,d=null==a?void 0:a.firstName,c=(null==a?void 0:a.id)===n.id,x="";x=c?"You are helping":"".concat(d," is helping");let m="";return(c?m="Unassign myself":n.isSiteAuthor&&(m="Unassign"),a)?(0,s.jsxs)(u.xu,{display:"flex",flexDirection:"row",gap:2,alignItems:"center",children:[(0,s.jsx)(g.Z,{width:34,publicId:null===(i=a.photo)||void 0===i?void 0:i.publicId,legacyPath:null===(t=a.photo)||void 0===t?void 0:t.legacyPath}),(0,s.jsx)(b.x,{color:"navy","data-qa":"slotAssignmentMessage",children:"".concat(x).concat(m?" |":"")}),(0,s.jsx)("button",{"data-qa":"unassignRequestSlotSummaryButton-".concat(o.id),onClick:()=>{l("UNASSIGN")},className:"button--isClear button--asLink",disabled:r,"aria-label":r?"Loading":m,children:(0,s.jsxs)(u.xu,{position:"relative",children:[(0,s.jsx)(b.x,{visibility:r?"hidden":"visible","aria-hidden":"true",as:"span",children:m}),r&&(0,s.jsx)(u.xu,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","aria-hidden":"true",children:(0,s.jsx)(h.ZP,{})})]})})]}):(0,s.jsx)(v,{requestSlotId:o.id,isLoading:r,updateAssignmentHandler:l})};w.propTypes={requestSlot:l().object.isRequired,viewerData:l().shape({id:l().string.isRequired,isSiteAuthor:l().bool}).isRequired,assignmentLoading:l().bool.isRequired,updateAssignmentHandler:l().func.isRequired};var j=t(28618),k=t(76248);let I=e=>{let{currentUserIsAuthor:i,authorName:t,helperName:n,assignmentAction:r,actionIsForSelf:l,isShowing:a,setIsShowing:d,onConfirm:c}=e;if(!a)return null;let x={};return r===o._B.ASSIGN?x={title:"Thank you for offering your support!",body:"You have been assigned to help with this Request. Please confirm below.",confirmButtonText:"Confirm Offer"}:r===o._B.UNASSIGN&&i?x={title:"Unassign helper from this Request",body:"Are you sure you would like to unassign ".concat(i&&l?"yourself":n," from this Request? Once unassigned, the Request will be set to open."),confirmButtonText:"Yes - Please Unassign"}:r===o._B.UNASSIGN&&l?x={title:"Are you sure you want to be unassigned from this Request?",body:"Be sure to let ".concat(t," know that you are no longer able to assist with this Request."),confirmButtonText:"Yes - Please Unassign"}:d(!1),(0,s.jsx)(k.Z,{isShowing:a,setIsShowing:d,shouldCloseOnEscape:!1,children:(0,s.jsxs)(j.Z,{isForModal:!0,onDismiss:()=>d(!1),style:{maxWidth:"480px",paddingBottom:"55px"},children:[(0,s.jsx)(b.x,{as:"h5",className:"center",children:x.title}),(0,s.jsx)(b.x,{as:"p",className:"center",children:x.body}),(0,s.jsxs)(u.xu,{className:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:2,paddingTop:4,children:[(0,s.jsx)(y.Z,{"data-qa":"confirmRequestSlotAssignment",onClick:()=>{c(r)},children:x.confirmButtonText}),(0,s.jsx)("button",{"data-qa":"cancelRequestSlotAction",onClick:()=>{d(!1)},className:"button--isClear button--asLink",children:"Cancel"})]})]})})};I.propTypes={currentUserIsAuthor:l().bool.isRequired,authorName:l().string.isRequired,helperName:l().string,assignmentAction:l().oneOf(["ASSIGN","UNASSIGN"]).isRequired,actionIsForSelf:l().bool.isRequired,isS
1howing:l().bool.isRequired,setIsShowing:l().func.isRequired,onConfirm:l().func.isRequired};var _=t(43871),q=t(60453);let T=e=>{let{request:i,...t}=e,r=(0,n.Ph)("siteId"),l=o.xU.REQUEST,b=(0,x.SE)(),[g,h]=(0,a.useState)(null),{isShowing:y,setIsShowing:S}=(0,p.Z)(),v=(0,q.Pe)(),j=_.s[i.requestType]||_.s.OTHER,k={iconID:j.iconName,badgeColor:j.bgColor},T=(0,a.useMemo)(()=>(0,n.G3)(n.Z6.SITE_SINGLE_REQUEST,{siteId:r,requestId:i.id}),[r,i.id]),[E,{loading:N}]=(0,m.D)(f.W7),R=e=>{if(!b.isSignedIn){(0,n.Eu)({},!1,(0,n.$C)(r),(0,n.G3)(n.Z6.SITE_SINGLE_REQUEST,{siteId:r,requestId:i.id}));return}h(e),S(!0)},U=(e,t)=>{E({variables:{requestId:i.id,requestSlotId:t,action:e}}),v({event:"ASSIGN"===g?q.kM.REQUEST_SLOT_ASSIGNED:q.kM.REQUEST_SLOT_UNASSIGNED}),S(!1)};return(0,s.jsx)(c.Z,{isAuthor:t.isAuthor,canShare:t.canShare,loadExpandedComments:t.loadExpandedComments,sharePost:t.sharePost,isPinned:t.isPinned,onSinglePostPage:t.onSinglePostPage,feedId:t.feedId,enablePinning:!1,showCommentField:t.showCommentField,post:i,postType:o.xU.REQUEST,renderContent:()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.Z,{contentData:{type:"request",html:i.body,id:i.id},maxLines:8,enableReadMore:!t.onSinglePostPage}),(0,s.jsx)(u.xu,{paddingTop:4,display:"flex",flexDirection:"row",gap:2,children:i.requestSlots.map(e=>{var o,n,r;return(0,s.jsxs)(a.Fragment,{children:[(0,s.jsx)(w,{requestSlot:e,viewerData:{id:b.id,isSiteAuthor:t.isAuthor},assignmentLoading:N,updateAssignmentHandler:e=>R(e)},e.id),(0,s.jsx)(I,{currentUserIsAuthor:t.isAuthor,authorName:(null===(o=i.author)||void 0===o?void 0:o.firstName)||"them",helperName:null===(n=e.helper)||void 0===n?void 0:n.firstName,assignmentAction:g,actionIsForSelf:(null===(r=e.helper)||void 0===r?void 0:r.id)===b.id,isShowing:y,setIsShowing:S,onConfirm:i=>U(i,e.id)})]},e.id)})})]}),postTitle:i.title,postTitleIcon:k,singlePagePath:T,reactionType:l,dataQa:t.dataQa,disableFeatures:[c.C.REACTIONS],isUsingOtpvToken:t.isUsingOtpvToken,onCommentSuccess:t.onCommentSuccess})};var E=T;T.propTypes={request:l().object.isRequired,isAuthor:l().bool.isRequired,canShare:l().bool.isRequired,loadExpandedComments:l().bool,sharePost:l().func.isRequired,isPinned:l().bool,feedId:l().string,enablePinning:l().bool,showCommentField:l().bool,onSinglePostPage:l().bool,isUsingOtpvToken:l().bool,onCommentSuccess:l().func}},35117:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSG:function(){return m},default:function(){return f}});var s=t(85893),o=t(45697),n=t.n(o),r=t(25351),l=t(5241),a=t(16468),d=t(50646),c=t(33484),u=t(35677),x=t(57107),m=!0;function f(e){let{page:i}=e,{siteId:t,firstName:o,isLoading:n,summaryData:m,shareModalProps:f,siteAccessCheckComponent:p,isUsingOtpvToken:b}=(0,c.Z)({contentIdParam:"requestId",contentQuery:r.kE,reactableType:l.xU.REQUEST,transformData:e=>({request:e.getRequest})});return((0,x._q)(null==m?void 0:m.isAuthor),p)?p:(0,s.jsx)(a.Z,{page:i,siteId:t,firstName:o,SummaryComponent:d.Z,isUsingOtpvToken:b,summaryData:m,shareModalController:{...f,origin:u.Yt.REQUEST},isLoading:n})}f.propTypes={page:n().object.isRequired}},33484:function(e,i,t){"use strict";t.d(i,{Z:function(){return m}});var s=t(67294),o=t(37887),n=t(11163),r=t(4162),l=t(90331),a=t(37354),d=t(68740),c=t(25350),u=t(63168),x=t(90907);function m(e){var i,t,m,f;let{contentIdParam:p,contentQuery:b,reactableType:g,transformData:h=e=>e}=e,y=(0,n.useRouter)(),S=(0,r.Ph)("siteId"),v=(0,r.Ph)(p),{isReady:w}=(0,x.K)(),j=(0,u.Z)(),[k,I]=(0,s.useState)();(0,c.Z)(g);let{data:_,error:q,loading:T,refetch:E}=(0,l.Z)(S,!w),{data:N,error:R,loading:U,refetch:C}=(0,o.a)(b,{variables:{[p]:v},skip:!w});(0,d.Z)(_,[{function:E,variables:{siteId:S}},{function:C,variables:{[p]:v}}]);let A=(null==_?void 0:null===(i=_.getSite)||void 0===i?void 0:i.isUsingOtpvToken)||!1,{siteAccessCheckComponent:P}=(0,a.Z)({siteDataError:q});R&&q&&!P&&(0,r.Eh)((0,r.G3)(r.Z6.FOUR_04,{[r.Tx.FROM_URL]:y.pathname}),!0);let M=null==_?void 0:null===(t=_.getSite)||void 0===t?void 0:t.firstName,Z=(null==_?void 0:null===(m=_.getSite)||void 0===m?void 0:m.isAuthor)||!1,B=(null==_?void 0:null===(f=_.getSite)||void 0===f?void 0:f.isShareableByVisitor)||!1,D=N?{...h(N),patientFirstName:M,isAuthor:Z,canShare:B,sharePost:e=>{I(e),j.setIsShowing(!0)},loadExpandedComments:!0,enablePinning:!1,showCommentField:!0,onSinglePostPage:!0}:null;return{siteId:S,firstName:M,isLoading:!w||T||U,summaryData:D,shareModalProps:{modalController:j,siteId:S,postDetails:k},siteAccessCheckComponent:P,isUsingOtpvToken:A}}}},function(e){e.O(0,[5680,7536,8764,3953,9044,6418,7352,76,7512,1445,4389,9357,5017,2780,5870,4472,3918,8723,687,2888,9774,179],function(){return e(e.s=52677)}),_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.