1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6372],{93759:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});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),c=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var a=r.forwardRef(c)},94155:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});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),c=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var a=r.forwardRef(c)},14313:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});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),c=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var a=r.forwardRef(c)},82129:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});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),c=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:o}))};var a=r.forwardRef(c)},63204:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/documents/[id]",function(){return n(97503)}])},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),c=n(67294),a=n(85518),d=n(64261);t.Z=function(e){var t,n,r=e.message,l=e.errorCode,u=(0,s.useRouter)(),h=(0,c.useState)(!0),f=h[0],x=h[1];return(0,c.useEffect)((function(){setTimeout((function(){x(!1)}),3e3)})),f?(0,i.jsx)(d.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:l}),(0,i.jsxs)("h3",{style:{fontSize:!a.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","..."]}),"/"!==u.asPath&&(0,i.jsx)("button",{onClick:function(){return u.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)},c=s()+s();return t((0,i.Hd)({pageToken:c,pageIds:o,createdDate:new Date})),c}}},50824:function(e,t,n){"use strict";var i=n(85893),r=n(93759),o=n(94155),s=n(14313),c=n(82129),a=n(11163),d=n(67294),l=n(41248),u=n(1129);t.Z=function(e){var t=e.context,n=e.pagePath,h=e.pagingType,f=(0,l.v9)((function(e){return e.detailedPageInfo})).pageInfo,x=(0,d.useState)({first:"",previous:"",current:"",next:"",last:"",currentToken:"",currentPosition:"",totalPosition:""}),p=x[0],g=x[1],m=(0,d.useState)({first:"",previous:"",current:"",next:"",last:"",currentToken:"",currentPosition:"",totalPosition:""}),v=m[0],j=m[1],y=(0,l.I0)(),b=(0,a.useRouter)();return(0,d.useEffect)((function(){for(var e=0;e<(null===f||void 0===f?void 0:f.length);
1e++){var n=new Date(f[e].createdDate),i=new Date,r=void 0;if(""!==f[e].createdDate&&(r=parseInt(Math.abs(n.getTime()-i.getTime())/36e5)),r>24&&y((0,u.Oe)(f[e].pageToken)),f[e].pageToken==t.token)for(var o,s=0;s<(null===(o=f[e].pageIds)||void 0===o?void 0:o.length);s++)if(f[e].pageIds[s]==t.id){var c,a,d=f[e].pageIds[s-1],l=f[e].pageIds[s],h=f[e].pageIds[s+1],x=f[e].pageIds[0],p=f[e].pageIds[(null===(c=f[e].pageIds)||void 0===c?void 0:c.length)-1];g({first:x,previous:d,current:l,next:h,last:p,currentToken:f[e].pageToken,currentPosition:s+1,totalPosition:null===(a=f[e].pageIds)||void 0===a?void 0:a.length})}}}),[t]),(0,d.useEffect)((function(){for(var e=0;e<(null===f||void 0===f?void 0:f.length);e++){var n=new Date(f[e].createdDate),i=new Date,r=void 0;if(""!==f[e].createdDate&&(r=parseInt(Math.abs(n.getTime()-i.getTime())/36e5)),r>24&&y((0,u.Oe)(f[e].pageToken)),f[e].pageToken==t.tokenCompUnit)for(var o,s=0;s<(null===(o=f[e].pageIds)||void 0===o?void 0:o.length);s++)if(f[e].pageIds[s]==t.unitId){var c,a,d=f[e].pageIds[s-1],l=f[e].pageIds[s],h=f[e].pageIds[s+1],x=f[e].pageIds[0],p=f[e].pageIds[(null===(c=f[e].pageIds)||void 0===c?void 0:c.length)-1];j({first:x,previous:d,current:l,next:h,last:p,currentToken:f[e].pageToken,currentPosition:s+1,totalPosition:null===(a=f[e].pageIds)||void 0===a?void 0:a.length})}}}),[t]),(0,i.jsx)(i.Fragment,{children:""!==p.current&&p.totalPosition>1&&(0,i.jsxs)("div",{className:"d-flex justify-content-center align-item-center my-2 gap-1",children:[(("Unit"!==h||!n.includes("units"))&&p.currentPosition>1||"Unit"==h&&v.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 b.push("/".concat(n,"/").concat("Unit"===h&&n.includes("units")?v.first:p.first,"?token=").concat(p.currentToken,"&tokenCompUnit=").concat(v.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 b.push("/".concat(n,"/").concat("Unit"===h&&n.includes("units")?v.previous:p.previous,"?token=").concat(p.currentToken,"&tokenCompUnit=").concat(v.currentToken))}})})]}),(0,i.jsxs)("div",{style:{whiteSpace:"nowrap"},children:[h," ","Unit"===h&&n.includes("units")?v.currentPosition:p.currentPosition," ","of"," ","Unit"===h&&n.includes("units")?v.totalPosition:p.totalPosition]}),(("Unit"!==h||!n.includes("units"))&&p.currentPosition!=p.totalPosition||"Unit"==h&&v.currentPosition!=v.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 b.push("/".concat(n,"/").concat("Unit"===h&&n.includes("units")?v.next:p.next,"?token=").concat(p.currentToken,"&tokenCompUnit=").concat(v.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)(c.Z,{style:{fontSize:"20px"},onClick:function(){return b.push("/".concat(n,"/").concat("Unit"===h&&n.includes("units")?v.last:p.last,"?token=").concat(p.currentToken,"&tokenCompUnit=").concat(v.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})})}},4745:function(e,t,n){"use strict";n(33299),n(83454)},97503:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return v}});var i=n(85893),r=n(67294),o=(n(33299),n(11163)),s=n(10682),c=n(31555),a=n(75147),d=n(34051),l=n(76910),u=n(42298),h=(n(41664),n(64913)),f=(n(4745),n(9148)),x=n(41248),p=n(34352),g=n(50824),m=n(85518),v=!0;t.default=function(e){var t=e.content,n=e.status,v=(e.redirectURL,e.mainApiResponse),j=e.context,y=(0,o.useRouter)();if(200==n){var b=(0,r.useState)(""),k=b[0],T=b[1],w=(0,x.I0)();return(0,r.useLayoutEffect)((function(){j.token||T((0,p.Z)(v.documents,w,"idDocument",null))}),[]),(0,r.useEffect)((function(){""!==k&&y.push({pathname:"".concat(j.id),query:{token:k}})}),[k]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(h.Z,{headTitle:t.document.document}),(0,i.jsxs)(s.Z,{children:[(0,i.jsxs)(c.Z,{style:{display:"flex",flexDirection:"".concat(m.nI||m.Em?"row":"column"),justifyContent:"space-between"},children:[(0,i.jsx)(f.Z,{backToText:"Documents",backToUrl:"/documents"}),(0,i.jsx)(g.Z,{context:j,pagePath:"documents",pagingType:"Document"})]}),(0,i.jsx)("h1",{children:t.document.document}),(0,i.jsxs)(a.Z,{size:"sm",children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:"Document #"}),(0,i.jsx)("th",{children:"Type"}),(0,i.jsx)("th",{children:"Format"}),(0,i.jsx)("th",{children:"Version"}),(0,i.jsx)("th",{children:"Source"}),(0,i.jsx)("th",{children:"Entity"}),(0,i.jsx)("th",{children:"Revised"})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:t.document.idDocument}),(0,i.jsx)("td",{children:t.document.documentType}),(0,i.jsx)("td",{children:t.document.documentFormat}),(0,i.jsx)("td",{children:t.document.version}),(0,i.jsx)("td",{children:t.document.source}),(0,i.jsx)("td",{children:t.document.entityName}),(0,i.jsx)("td",{children:(0,u.default)(new Date(t.document.revised),"MM/dd/yy")})]})})]}),(0,i.jsx)("p",{children:t.document.description}),(0,i.jsxs)(a.Z,{size:"sm",children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:"Country"}),(0,i.jsx)("th",{children:"State"}),(0,i.jsx)("th",{children:"Destination"}),(0,i.jsx)("th",{children:"Location"}),(0,i.jsx)("th",{children:"Complex"}),(0,i.jsx)("th",{children:"Unit"})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:"United States"}),(0,i.jsx)("td",{children:"N/A"}),(0,i.jsx)("td",{children:"N/A"}),(0,i.jsx)("td",{children:"N/A"}),(0,i.jsx)("td",{children:"N/A"}),(0,i.jsx)("td",{children:"N/A"})]})})]}),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)("p",{className:"text-center",children:(0,i.jsx)("a",{target:"_blank",href:t.document.pathDocument,download:!0,children:"Download This File"})}),(0,i.jsx)("p",{className:"text-center",children:(0,i.jsx)("img",{src:t.documentPreview})}),(0,i.jsx)("p",{className:"text-center",children:(0,i.jsx)("a",{target:"_blank",download:!0,href:t.documentPreview,children:"Download This File"})})]})]})]})}return(0,i.jsx)(l.Z,{message:t,errorCode:n})}},9008:function(e,t,n){e.exports=n(5443)},75147:function(e,t,n){"use strict";var i=n(93967),r=n.n(i),o=n(67294),s=n(76792),c=n(85893);const a=o.forwardRef((({bsPrefix:e,className:t,striped:n,bordered:i,borderless:o,hover:a,size:d,variant:l,responsive:u,...h},f)=>{const x=(0,s.vE)(e,"table"),p=r()(t,x,l&&`${x}-${l}`,d&&`${x}-${d}`,n&&`${x}-${"string"===typeof n?`striped-${n}`:"striped"}`,i&&`${x}-bordered`,o&&`${x}-borderless`,a&&`${x}-hover`),g=(0,c.jsx)("table",{...h,className:p,ref:f});if(u){let e=`${x}-responsive`;return"string"===typeof u&&(e=`${e}-${u}`),(0,c.jsx)("div",{className:e,children:g})}return g}));a.displayName="Table",t.Z=a}},function(e){e.O(0,[1664,2298,9774,2888,179],(function(){return t=63204,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.