PageSourceSearch

https://www.engagingbellevue.com/_next/static/chunks/pages/admin/newsletters/details/[id]-a1781116254145e5.js

js engagingbellevue.com collected 2026-09-28 13:27:04 UTC 13,208 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="01165a31-eb78-4f18-9907-64d0e9dc211e",e._sentryDebugIdIdentifier="sentry-dbid-01165a31-eb78-4f18-9907-64d0e9dc211e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[91767],{1558:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(44492),s=n(86085),i=n(44739),l=n(50225),o=n(66035),c=n(40553),a=n(45911),d=n(31123),u=n(30528),p=n(34075),x=n(56272),h=n(87676),m=n(68993),w=n(69307),f=n(66973),b=n(17989),g=n(69594),j=n(34626),v=n(46783),A=n(4917),y=n.n(A),k=n(54237),_=n(14232),C=n(37876),S=n(31777),T=n(83129);let R=(0,S.Ng)(function(e,t){var n;return{newsletter:t.newsletter,fetching:e.selectedRecipients.fetching,recipients:e.selectedRecipients.recipients,recipientsCount:e.selectedRecipients.meta.count,currentPage:e.selectedRecipients.query.page,search:null!=(n=e.selectedRecipients.filters.search)?n:""}},function(e){return(0,T.zH)({updateQuery:r.oR,updateFilters:r.vm,fetchRecipients:r.Gk},e)})(function(e){var t,n=e.newsletter,r=e.recipients,A=e.recipientsCount,S=e.currentPage,T=e.fetching,R=e.showModal,I=e.onCancel,W=e.updateQuery,N=e.updateFilters,P=e.fetchRecipients,z=e.search,E=(0,k.useTranslation)(["common","newsletters"]).t,D=(0,_.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;W({per_page:25,page:e}),P(n.id)},[P,n.id,W]);(0,_.useEffect)(function(){D(1)},[n.id,D]);var L=_.useRef(W),H=_.useRef(N);L.current=W,H.current=N,(0,_.useEffect)(function(){return function(){L.current({per_page:25,page:1}),H.current({search:""})}},[]);var M=(0,_.useMemo)(function(){return y()(function(){D(1)},1e3)},[D]);(0,_.useEffect)(function(){return function(){return M.cancel()}},[M]);var O="".concat(null!=(t=n.subject)?t:"",": ").concat(E("newsletters:newsletters.recipientList")),B=function(){I()};return(0,C.jsxs)(l.A,{open:R,onClose:B,fullWidth:!0,maxWidth:"md",children:[(0,C.jsxs)(a.A,{sx:{position:"relative",pr:7},children:[(0,C.jsx)(v.A,{component:"span",variant:"h6",sx:{pr:1},children:O}),(0,C.jsx)(d.A,{"aria-label":E("common:common.close"),onClick:B,size:"small",sx:{position:"absolute",top:8,right:8},children:(0,C.jsx)(s.A,{sx:{fontSize:20}})})]}),(0,C.jsxs)(c.A,{sx:{pt:0,display:"flex",flexDirection:"column",gap:2,minHeight:420},children:[(0,C.jsx)(j.A,{placeholder:E("common:common.search"),value:z,onChange:function(e){N({search:e.target.value}),M()},variant:"outlined",size:"small",fullWidth:!0,sx:{maxWidth:320,alignSelf:"flex-end"},slotProps:{input:{startAdornment:(0,C.jsx)(u.A,{position:"start",children:(0,C.jsx)(i.A,{sx:{fontSize:20,color:"text.disabled"}})})}}}),T&&(0,C.jsx)(p.A,{}),(0,C.jsx)(w.A,{sx:{maxHeight:420,border:1,borderColor:"divider",borderRadius:1},children:(0,C.jsxs)(x.A,{size:"small",stickyHeader:!0,children:[(0,C.jsx)(f.A,{children:(0,C.jsxs)(g.A,{children:[(0,C.jsx)(m.A,{children:E("newsletters:newsletters.recipientName")}),(0,C.jsx)(m.A,{children:E("common:common.email")})]})}),(0,C.jsx)(h.A,{children:r.map(function(e){var t;return(0,C.jsxs)(g.A,{children:[(0,C.jsx)(m.A,{children:e.login}),(0,C.jsx)(m.A,{children:e.email})]},null!=(t=e.id)?t:"".concat(e.login,"-").concat(e.email))})})]})})]}),(0,C.jsx)(o.A,{sx:{justifyContent:"flex-start",px:3,pb:2},children:(0,C.jsx)(b.A,{component:"div",count:A,page:Math.max(0,S-1),onPageChange:function(e,t){D(t+1)},rowsPerPage:25,rowsPerPageOptions:[25],labelDisplayedRows:function(e){var t=e.count;return"".concat(E("newsletters:newsletters.recipientTotal")," ").concat(t," ").concat(E("newsletters:newsletters.recipientC
1aption"))}})})]})})},5776:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/newsletters/details/[id]",function(){return n(54951)}])},20347:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(59234),s=n(3513),i=n(33713),l=n(46783),o=n(56296),c=n(54237),a=n(70583),d=n(37876);let u=function(e){var t=e.stats,n=void 0===t?{}:t,u=e.strong,p=void 0!==u&&u,x=e.showIndustryStandards,h=(0,c.useTranslation)("newsletters").t,m=n.unique_opens,w=n.delivered,f=n.unique_clicks,b=n.delivered_percent,g=n.opens_percent,j=n.clicks_percent,v=n.bounces,A=n.spam_reports,y=n.unsubscribes,k=n.bounces_percent,_=n.spams_percent,C=n.unsubscribes_percent,S={published:{action:void 0===w?0:w,percent:void 0===b?0:b,low:80,mid:90},openRate:{action:void 0===m?0:m,percent:void 0===g?0:g,low:20,mid:30},clicks:{action:void 0===f?0:f,percent:void 0===j?0:j,low:3,mid:4},markedSpam:{action:void 0===A?0:A,percent:void 0===_?0:_,low:.01,mid:0,invert:!0},bounceRate:{action:void 0===v?0:v,percent:void 0===k?0:k,low:.2,mid:0,invert:!0},unsubscribed:{action:void 0===y?0:y,percent:void 0===C?0:C,low:.13,mid:.22,invert:!0}},T=[{name:h("newsletters:newsletters.openRate"),percent:"21.06%"},{name:h("newsletters:newsletters.clickRate"),percent:"3.32%"},{name:h("newsletters:newsletters.bounceRate"),percent:"0.20%"},{name:h("newsletters:newsletters.spam"),percent:"0.01%"},{name:h("newsletters:newsletters.unsubscribe"),percent:"0.22%"}];return(0,d.jsxs)(r.A,{minWidth:260,maxWidth:320,children:[(0,d.jsx)(i.A,{spacing:2,children:Object.keys(S).map(function(e){return(0,d.jsxs)(i.A,{direction:"row",alignItems:"center",justifyContent:"space-between",spacing:1,children:[(0,d.jsx)(l.A,{variant:"body2",fontWeight:p?600:400,flex:2,pr:1,children:h("newsletters:newsletters.".concat(e))}),(0,d.jsxs)(i.A,{direction:"row",alignItems:"center",spacing:1,flex:1,justifyContent:"flex-end",children:[(0,d.jsx)(l.A,{variant:"body2",color:"text.secondary",children:S[e].action}),(0,d.jsx)(l.A,{variant:"body2",sx:(0,a.L)(S[e].percent,S[e].low,S[e].mid,!!S[e].invert),children:"".concat(S[e].percent,"%")})]})]},e)})}),void 0!==x&&x?(0,d.jsxs)(r.A,{borderTop:1,borderColor:"divider",pt:2.5,mt:2,children:[(0,d.jsx)(l.A,{variant:"body2",fontWeight:600,children:h("newsletters:newsletters.statsHelpText")}),(0,d.jsx)(o.A,{tooltip:h("newsletters:newsletters.industryAvgTooltipText"),"aria-label":h("newsletters:newsletters.industryAvgTooltipText"),iconButton:!1,iconSize:14,display:"inline-flex",mt:.5,children:(0,d.jsx)(l.A,{variant:"caption",color:"text.secondary",component:"span",children:h("newsletters:newsletters.industryAverageBenchmarks")})}),(0,d.jsx)(i.A,{spacing:.75,mt:2,mb:2,typography:"body2",color:"text.secondary",children:T.map(function(e){return(0,d.jsxs)(i.A,{direction:"row",justifyContent:"space-between",children:[(0,d.jsx)(l.A,{variant:"body2",color:"text.secondary",children:e.name}),(0,d.jsx)(l.A,{variant:"body2",color:"text.secondary",children:e.percent})]},e.name)})}),(0,d.jsx)(s.A,{href:"https://mailchimp.com/resources/email-marketing-benchmarks/",target:"_blank",rel:"noopener noreferrer",variant:"body2",children:(0,d.jsx)(l.A,{variant:"caption",component:"span",fontStyle:"italic",children:h("newsletters:newsletters.statisticsSourceLinkText")})})]}):(0,d.jsx)(l.A,{variant:"caption",color:"text.secondary",display:"block",pt:2,children:h("newsletters:newsletters.statusBasedOnColorCodes")})]})}},43035:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(14232),s=n(54237),i=n(37876);let l=function(e){var t=e.newsletterId,n=(0,r.useState)(!0),l=n[0],o=n[1],c=(0,s.useTranslation)("newsletters").t;return(0,i.jsxs)(i.Fragment,{children:[l&&(0,i.jsx)("h3",{style:{textAlign:"center",marginTop:32},children:c("newsletters:newsletters.iframeLoadingText")}),(0,i.jsx)("iframe",{width:"100%",height:"1400px",src:"/admin/newsletters/details/froala/".concat(t),title:"newsletter",style:{border:"none",overflow:"hidden"},onLoad:function(){return o(!1)},id:"newsletterIframe"})]})}},54951:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>I,default:()=>W});var r=n(31777),s=n(83129),i=n(2841),l=n(89487),o=n(59234),c=n(74679),a=n(31123),d=n(89003),u=n(33713),p=n(65595),x=n(46783),h=n(26796),m=n(77328),w=n.n(m),f=n(48230),b=n.n(f),g=n(54237),j=n(14232),v=n(1558),A=n(43035),y=n(20347),k=n(37876);function _(e){var t=e.label,n=e.children;return(0,k.jsxs)(u.A,{direction:{xs:"column",sm:"row"},spacing:{xs:.25,sm:2},py:1.25,alignItems:{xs:"stretch",sm:"baseline"},borderBottom:1,borderColor:"divider",sx:{"&:last-of-type":{borderBottom:0}},children:[(0,k.jsx)(x.A,{variant:"body2",color:"text.secondary",fontWeight:600,minWidth:{sm:140},flexShrink:0,children:t}),(0,k.jsx)(o.A,{minWidth:0,flex:1,typography:"body2",children:n})]})}let C=(0,r.Ng)(function(e){return{id:e.newsletter.newsletter.id,newsletter:e.newsletter.newsletter,site:e.currentSite.site,newsletterStats:e.newsletterStats.stats,logoUrl:e.currentSite.site.logoUrl}},function(e){return(0,s.zH)({fetchNewsletterStats:i.j},e)})(function(e){var t=e.newsletter,n=e.fetchNewsletterStats,r=e.newsletterStats,s=e.site,i=e.logoUrl,m=(0,g.useTranslation)("newsletters"),f=m.t,C=m.i18n,S=(0,j.use
1State)(!1),T=S[0],R=S[1],I=t.id,W=t.bannerSource,N=t.bannerSourceUrl,P=t.recipientCount,z=void 0===P?0:P,E=t.sentAt,D=t.showLogo,L=t.subject,H=void 0===L?"":L,M=s.name,O=s.emailAddress;(0,j.useEffect)(function(){I&&n([I])},[I,n]);var B=(0,j.useCallback)(function(){0!==z&&R(!0)},[z]),U=(0,j.useCallback)(function(){return R(!1)},[]),F="".concat(z," ").concat(f("newsletters:newsletters.recipientsLowercase")),Y=null!=E&&""!==E?(0,h.I3)(E,"D MMM YYYY, H:mm",C.language):null;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(w(),{children:(0,k.jsx)("title",{children:f("newsletters:newsletters.pageTitle")})}),(0,k.jsxs)(o.A,{component:"main",px:{xs:2,sm:3},py:{xs:2,sm:3},maxWidth:1440,mx:"auto",height:"100vh",overflow:"auto",children:[(0,k.jsxs)(u.A,{direction:"row",alignItems:"center",spacing:.5,mb:3,flexWrap:"wrap",children:[(0,k.jsx)(p.A,{title:f("newsletters:newsletters.backToNewsletters"),children:(0,k.jsx)(a.A,{component:b(),href:"/admin/newsletters",color:"primary","aria-label":f("newsletters:newsletters.backToNewsletters"),sx:{flexShrink:0,ml:-.5},children:(0,k.jsx)(l.A,{fontSize:"small"})})}),(0,k.jsx)(x.A,{variant:"h5",component:"h1",fontWeight:500,color:"text.primary",children:H})]}),(0,k.jsxs)(u.A,{direction:{xs:"column",lg:"row"},spacing:3,alignItems:"stretch",children:[(0,k.jsx)(o.A,{flex:1,minWidth:0,children:(0,k.jsxs)(d.A,{elevation:0,variant:"outlined",sx:{borderRadius:2,borderColor:"divider",overflow:"hidden",bgcolor:"background.paper"},children:[(0,k.jsxs)(o.A,{px:{xs:2,sm:3,md:4},pt:{xs:2,sm:3},pb:1,children:[(0,k.jsx)(_,{label:f("newsletters:newsletters.from"),children:null!=M?M:"—"}),(0,k.jsx)(_,{label:f("newsletters:newsletters.replyTo"),children:null!=O?O:"—"}),(0,k.jsx)(_,{label:f("newsletters:newsletters.to"),children:z>0?(0,k.jsx)(p.A,{title:f("newsletters:newsletters.recipientsCountTooltip"),arrow:!0,children:(0,k.jsx)(x.A,{component:"button",type:"button",variant:"body2",onClick:B,border:0,bgcolor:"transparent",p:0,color:"primary.main",textAlign:"left",sx:{cursor:"pointer",textDecoration:"underline",textUnderlineOffset:2,"&:hover":{color:"primary.dark"}},children:F})}):F}),(0,k.jsx)(_,{label:f("newsletters:newsletters.subject"),children:H}),D&&i?(0,k.jsx)(o.A,{pt:2,children:(0,k.jsx)(o.A,{component:"img",src:i,alt:f("newsletters:newsletters.siteLogoAltText"),maxWidth:"100%",height:"auto",display:"block",borderRadius:1,border:1,borderColor:"divider"})}):null]}),W&&N?(0,k.jsx)(o.A,{children:(0,k.jsx)(o.A,{component:"img",src:N,alt:f("newsletters:newsletters.bannerAltText"),width:"100%",height:"auto",display:"block"})}):null,(0,k.jsx)(c.A,{}),(0,k.jsx)(o.A,{px:{xs:2,sm:3,md:4},py:{xs:2,sm:3},sx:{bgcolor:function(e){return"dark"===e.palette.mode?"rgba(255,255,255,0.02)":"grey.50"}},children:(0,k.jsx)(o.A,{overflow:"hidden",bgcolor:"background.paper",children:I&&(0,k.jsx)(A.A,{newsletterId:I})})})]})}),(0,k.jsx)(o.A,{width:{xs:"100%",lg:380},flexShrink:0,alignSelf:"flex-start",position:"sticky",top:16,height:"fit-content",zIndex:1,children:(0,k.jsxs)(d.A,{elevation:0,variant:"outlined",sx:{borderRadius:2,borderColor:"divider",p:{xs:2,sm:2.5},bgcolor:"background.paper"},children:[(0,k.jsx)(x.A,{variant:"overline",color:"text.secondary",letterSpacing:.5,children:f("newsletters:newsletters.statistics")}),(0,k.jsxs)(u.A,{spacing:2,mt:1.5,children:[(0,k.jsxs)(u.A,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:2,children:[(0,k.jsx)(x.A,{variant:"body2",fontWeight:600,children:f("newsletters:newsletters.statsDelivered")}),(0,k.jsx)(x.A,{variant:"body2",color:"text.secondary",sx:{fontVariantNumeric:"tabular-nums"},children:null!=Y?Y:"—"})]}),(0,k.jsx)(c.A,{}),(0,k.jsx)(y.A,{strong:!0,stats:r[I],showIndustryStandards:!0})]})]})})]}),T?(0,k.jsx)(v.A,{showModal:T,newsletter:{id:I,subject:H},onCancel:U}):null]})]})});var S=n(20640),T=n(49012),R=(0,S.A)((0,T.A)(C)),I=!0;let W=R},70583:(e,t,n)=>{"use strict";function r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return r?0===e||e<t?{color:"success.main"}:e<n?{color:"warning.main"}:{color:"error.main"}:0===e||e<t?{color:"error.light"}:e<n?{color:"warning.main"}:{color:"success.main"}}n.d(t,{L:()=>r})}},e=>{e.O(0,[62501,6853,65595,8145,40990,28672,23638,61284,26122,17989,80858,72281,20640,54399,90636,46593,38792],()=>e(e.s=5776)),_N_E=e.O()}]);
2//# sourceMappingURL=[id]-a1781116254145e5.js.map

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.