1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2506],{93759:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z"}}]},name:"backward",theme:"outlined"},s=n(42135),a=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var c=r.forwardRef(a)},94155:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z"}}]},name:"caret-left",theme:"outlined"},s=n(42135),a=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var c=r.forwardRef(a)},14313:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"},s=n(42135),a=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var c=r.forwardRef(a)},82129:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z"}}]},name:"forward",theme:"outlined"},s=n(42135),a=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var c=r.forwardRef(a)},34765:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(87462),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M732 120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v148h440V120zm120 212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM664 844H360V568h304v276zm164-360c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z"}}]},name:"printer",theme:"filled"},s=n(42135),a=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var c=r.forwardRef(a)},34663:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/news/[id]",function(){return n(37537)}])},9148:function(e,t,n){"use strict";var i=n(85893);n(67294);t.Z=function(e){var t=e.backToText,n=e.backToUrl,r=e.backImageNeeded;return(0,i.jsxs)("p",{style:{display:"flex",alignItems:"center",gap:"3px",marginTop:"5px",fontSize:"20px",marginBottom:0},children:[(0,i.jsx)("img",{style:{display:"".concat(r)},src:"https://static.redstone.net/resources/images/pathway.png",alt:""}),(0,i.jsx)("a",{href:n,children:t})]})}},76910:function(e,t,n){"use strict";var i=n(85893),r=n(9008),o=n.n(r),s=n(11163),a=n(67294),c=n(85518),l=n(64261);t.Z=function(e){var t,n,r=e.message,u=e.errorCode,d=(0,s.useRouter)(),f=(0,a.useState)(!0),h=f[0],p=f[1];return(0,a.useEffect)((function(){setTimeout((function(){p(!1)}),3e3)})),h?(0,i.jsx)(l.Z,{}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o(),{children:(0,i.jsxs)("title",{children:["object"===typeof r?null===r||void 0===r||null===(t=r.title)||void 0===t?void 0:t.toString().substring(0,50):null===r||void 0===r?void 0:r.toString().substring(0,50),"..."]})}),(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-around",alignItems:"center",maxWidth:"100%",height:"30vh",marginLeft:"20px",marginRight:"20px"},children:[(0,i.jsx)("h1",{children:r&&"object"===typeof r?null===r||void 0===r?void 0:r.status:u}),(0,i.jsxs)("h3",{style:{fontSize:!c.nI&&"1em"},children:["Sorry"," ",r?"object"===typeof r?null===r||void 0===r||null===(n=r.title)||void 0===n?void 0:n.toString().substring(0,50):null===r||void 0===r?void 0:r.toString().substring(0,50):"something went wrong","..."]}
1),"/"!==d.asPath&&(0,i.jsx)("button",{onClick:function(){return d.push("/")},className:"btn btn-secondary btn-sm",children:"Back Home"})]})]})}},34352:function(e,t,n){"use strict";var i=n(1129);t.Z=function(e,t,n,r){if(e){var o=[];e.forEach((function(e){if(!r||-1==e[r]){var t=e[n];o.push(t)}if("allItemIds"===n){var i=e;o.push(i)}}));var s=function(){return Math.random().toString(36).substr(2)},a=s()+s();return t((0,i.Hd)({pageToken:a,pageIds:o,createdDate:new Date})),a}}},50824:function(e,t,n){"use strict";var i=n(85893),r=n(93759),o=n(94155),s=n(14313),a=n(82129),c=n(11163),l=n(67294),u=n(41248),d=n(1129);t.Z=function(e){var t=e.context,n=e.pagePath,f=e.pagingType,h=(0,u.v9)((function(e){return e.detailedPageInfo})).pageInfo,p=(0,l.useState)({first:"",previous:"",current:"",next:"",last:"",currentToken:"",currentPosition:"",totalPosition:""}),g=p[0],x=p[1],v=(0,l.useState)({first:"",previous:"",current:"",next:"",last:"",currentToken:"",currentPosition:"",totalPosition:""}),m=v[0],b=v[1],j=(0,u.I0)(),k=(0,c.useRouter)();return(0,l.useEffect)((function(){for(var e=0;e<(null===h||void 0===h?void 0:h.length);e++){var n=new Date(h[e].createdDate),i=new Date,r=void 0;if(""!==h[e].createdDate&&(r=parseInt(Math.abs(n.getTime()-i.getTime())/36e5)),r>24&&j((0,d.Oe)(h[e].pageToken)),h[e].pageToken==t.token)for(var o,s=0;s<(null===(o=h[e].pageIds)||void 0===o?void 0:o.length);s++)if(h[e].pageIds[s]==t.id){var a,c,l=h[e].pageIds[s-1],u=h[e].pageIds[s],f=h[e].pageIds[s+1],p=h[e].pageIds[0],g=h[e].pageIds[(null===(a=h[e].pageIds)||void 0===a?void 0:a.length)-1];x({first:p,previous:l,current:u,next:f,last:g,currentToken:h[e].pageToken,currentPosition:s+1,totalPosition:null===(c=h[e].pageIds)||void 0===c?void 0:c.length})}}}),[t]),(0,l.useEffect)((function(){for(var e=0;e<(null===h||void 0===h?void 0:h.length);e++){var n=new Date(h[e].createdDate),i=new Date,r=void 0;if(""!==h[e].createdDate&&(r=parseInt(Math.abs(n.getTime()-i.getTime())/36e5)),r>24&&j((0,d.Oe)(h[e].pageToken)),h[e].pageToken==t.tokenCompUnit)for(var o,s=0;s<(null===(o=h[e].pageIds)||void 0===o?void 0:o.length);s++)if(h[e].pageIds[s]==t.unitId){var a,c,l=h[e].pageIds[s-1],u=h[e].pageIds[s],f=h[e].pageIds[s+1],p=h[e].pageIds[0],g=h[e].pageIds[(null===(a=h[e].pageIds)||void 0===a?void 0:a.length)-1];b({first:p,previous:l,current:u,next:f,last:g,currentToken:h[e].pageToken,currentPosition:s+1,totalPosition:null===(c=h[e].pageIds)||void 0===c?void 0:c.length})}}}),[t]),(0,i.jsx)(i.Fragment,{children:""!==g.current&&g.totalPosition>1&&(0,i.jsxs)("div",{className:"d-flex justify-content-center align-item-center my-2 gap-1",children:[(("Unit"!==f||!n.includes("units"))&&g.currentPosition>1||"Unit"==f&&m.currentPosition>1)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",height:"22px",width:"34px",border:"1px solid lightgrey",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",backgroundColor:"#f0f0f0"},children:(0,i.jsx)(r.Z,{style:{fontSize:"20px"},onClick:function(){return k.push("/".concat(n,"/").concat("Unit"===f&&n.includes("units")?m.first:g.first,"?token=").concat(g.currentToken,"&tokenCompUnit=").concat(m.currentToken))}})}),(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",height:"22px",width:"34px",border:"1px solid lightgrey",borderTopRightRadius:"4px",borderBottomRightRadius:"4px",backgroundColor:"#f0f0f0"},children:(0,i.jsx)(o.Z,{style:{fontSize:"17px"},onClick:function(){return k.push("/".concat(n,"/").concat("Unit"===f&&n.includes("units")?m.previous:g.previous,"?token=").concat(g.currentToken,"&tokenCompUnit=").concat(m.currentToken))}})})]}),(0,i.jsxs)("div",{style:{whiteSpace:"nowrap"},children:[f," ","Unit"===f&&n.includes("units")?m.currentPosition:g.currentPosition," ","of"," ","Unit"===f&&n.includes("units")?m.totalPosition:g.totalPosition]}),(("Unit"!==f||!n.includes("units"))&&g.currentPosition!=g.totalPosition||"Unit"==f&&m.currentPosition!=m.totalPosition)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",height:"22px",width:"34px",border:"1px solid lightgrey",borderTopLeftRadius:"4px",borderBottomLeftRadius:"4px",backgroundColor:"#f0f0f0"},children:(0,i.jsx)(s.Z,{style:{fontSize:"17px"},onClick:function(){return k.push("/".concat(n,"/").concat("Unit"===f&&n.includes("units")?m.next:g.next,"?token=").concat(g.currentToken,"&tokenCompUnit=").concat(m.currentToken))}})}),(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",height:"22px",width:"34px",border:"1px solid lightgrey",borderTopRightRadius:"8px",borderBottomRightRadius:"8px",backgroundColor:"#f0f0f0"},children:(0,i.jsx)(a.Z,{style:{fontSize:"20px"},onClick:function(){return k.push("/".concat(n,"/").concat("Unit"===f&&n.includes("units")?m.last:g.last,"?token=").concat(g.currentToken,"&tokenCompUnit=").concat(m.currentToken))}})})]})]})})}},64913:function(e,t,n){"use strict";var i=n(85893),r=n(9008),o=n.n(r);t.Z=function(e){var t=e.headTitle;return(0,i.jsx)(o(),{children:(0,i.jsx)("title",{children:t})})}},53538:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(85893),r=n(34765),o=n(47116);function s(e){var t=e.componentRef,n=(0,o.useReactToPrint)({pageStyle:"@page { margin: .5in; }",content:function(){var e;return null!==(e=t.current)&&void 0!==e?e:t}});return(0,i.jsxs)("button",{className:"px-3 py-1 rounded-start bg-black text-white text-nowrap border-0 d-print-none",onClick:function(){setTimeout((function(){n()}),250)},children:[(0,i.jsx)(r.Z,{})," Print"]})}},37537:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return m}});var i=n(85893),r=n(11163),o=n(67294),s=n(10682),a=n(31555),c=n(34051),l=n(85518),u=n(41248),d=n(9148),f=n(66073),h=n(76910),p=n(34352),g=n(50824),x=n(64913),v=n(53538),m=!0;t.default=function(e){var t=e.content,n=e.status,m=e.context,b=e.mainApiResponse;if(200==n){var j=(0,o.useRef)(),k=(0,o.useState)(""),y=k[0],w=k[1],T=(0,u.I0)(),I=(0,r.useRouter)();
1return(0,o.useLayoutEffect)((function(){m.token||w((0,p.Z)(b.items,T,"idNews","displayCopy"))}),[]),(0,o.useEffect)((function(){""!==y&&I.push({pathname:"".concat(m.id),query:{token:y}})}),[y]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{headTitle:t.items.map((function(e){return e.headline}))}),(0,i.jsxs)(s.Z,{children:[(0,i.jsxs)(a.Z,{style:{display:"flex",flexDirection:"".concat(l.nI||l.Em?"row":"column"),justifyContent:"space-between"},children:[(0,i.jsxs)("p",{style:{display:"flex",flexDirection:"row",alignItems:"baseline",gap:"3px"},children:[(0,i.jsx)(d.Z,{backToText:"Dashboard",backToUrl:"/dashboard"}),">",(0,i.jsx)(d.Z,{backToText:"News & Information",backToUrl:"/dashboard/news",backImageNeeded:"none"})]}),(0,i.jsx)(g.Z,{context:m,pagePath:"dashboard/news",pagingType:"News"})]}),(0,i.jsxs)("div",{ref:j,children:[t.items.map((function(e){return(0,i.jsxs)(c.Z,{children:[(0,i.jsx)(c.Z,{children:(0,i.jsxs)(a.Z,{className:"d-flex justify-content-between my-2",children:[(0,i.jsx)("h4",{children:e.headline}),(0,i.jsx)(v.Z,{componentRef:j})]})}),(0,i.jsxs)("p",{children:["(",(0,f.MU)([{label:"News Item #",value:e.idNews,fn:f.Yb},{label:"Published: ",value:e.published,fn:f.Jw},{label:"Author: ",value:e.authorName},{value:e.mediaURL,fn:f.E,args:[e.mediaName]}]),")"]}),(0,i.jsx)(a.Z,{dangerouslySetInnerHTML:(t=e.textHtml,{__html:t}),className:"my-2"})]},e.idNews);var t})),t.relatedItems&&t.relatedItems.length>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h4",{className:"my-3",children:"Related News"}),(0,i.jsxs)("table",{class:"table table-sm",children:[(0,i.jsx)("thead",{class:"table-light",children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:"ID#"}),(0,i.jsx)("th",{children:"Title"}),(0,i.jsx)("th",{children:"Published"})]})}),(0,i.jsx)("tbody",{children:t.relatedItems.map((function(e,t){return(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e.idNews}),(0,i.jsx)("td",{children:-1==e.displayCopy?""===e.domainName?(0,i.jsx)("a",{href:e.idNews,children:e.headline}):e.domainName?(0,i.jsx)("a",{href:"https://".concat(e.domainName,"/news/").concat(e.idNews),target:"_blank",children:e.headline}):(0,i.jsx)(i.Fragment,{children:e.headline}):-1==e.displayLink&&e.linkToSource?(0,i.jsx)("a",{href:e.linkToSource,target:"_blank",children:e.headline}):null}),(0,i.jsx)("td",{children:e.published&&(0,f.Jw)(e.published)})]},t)}))})]})]})]})]})]})}return(0,i.jsx)(h.Z,{message:t,errorCode:n})}},9008:function(e,t,n){e.exports=n(5443)}},function(e){e.O(0,[7116,9774,2888,179],(function(){return t=34663,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.