1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3913],{6037:e=>{e.exports={tribeSearchControls:"styles_tribeSearchControls__8iKWE",searchLabel:"styles_searchLabel__jbBsp",searchInput:"styles_searchInput__MGaHi",submitLabel:"styles_submitLabel__B38Ts",submitButton:"styles_submitButton__i35lh"}},13725:(e,s,t)=>{"use strict";t.d(s,{A:()=>d});var a=t(37876);t(14232);var r=t(51180),l=t(15039),i=t.n(l),n=t(97285),o=t.n(n),c=t(9902);let d=e=>{let{title:s,description:t,link:l,className:n}=e;return(0,a.jsxs)("a",{href:l,className:i()(o().card,n),children:[(0,a.jsxs)("div",{className:o().titleWrapper,children:[(0,a.jsx)(c.Text,{tag:"h4",content:s,className:o().title,weightOverride:"semibold"}),(0,a.jsx)("div",{className:o().action,children:(0,a.jsx)(r.X6T,{})})]}),t?(0,a.jsx)("p",{className:o().description,children:t}):null]})}},18129:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/resolutions",function(){return t(20763)}])},20763:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSG:()=>Q,default:()=>O});var a=t(37876),r=t(14232),l=t(29683);let i={event:"730",publishedDate:"712"},n=async e=>{let s=(0,l.qs)("/api/asset-bank/search",e);try{let e=await fetch(s);if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if(!t.data||t.error)throw Error("Error fetching asset bank search results: ".concat(t.error));return t.data}catch(e){return console.error("Error fetching asset bank search results:",e),[]}},o=async e=>{if(!i[e])throw Error("No attribute mapping for field: ".concat(e));let s=(0,l.qs)("/api/asset-bank/list-attribute-values",{attributeId:i[e]});try{let e=await fetch(s);if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if(!t.data||t.error)throw Error("Error fetching asset bank field values: ".concat(t.error));return t.data}catch(e){return console.error("Error fetching asset bank field values:",e),[]}};var c=t(73454),d=t.n(c),p=t(1937),u=t(9295),h=t(99047),_=t(95800),m=t(15039),v=t.n(m),y=t(7569),f=t(64838),x=t(86544),j=t.n(x);let g=e=>{var s,t;let l,{attributes:i,displayAttributes:n,fullAssetUrl:o,previewUrl:c}=e,d=null==n||null==(s=n.find(e=>"Resource Title"===e.label))?void 0:s.value,p=new Date(parseInt(null==i||null==(t=i.find(e=>"dateAdded"===e.name))?void 0:t.value)).toLocaleDateString(),[u,h]=r.useState(!1),[_,m]=r.useState(!1),x=async e=>{if(e.preventDefault(),m(!0),o){let e="https://ncai.assetbank-server.com/assetbank-ncai/action/viewAsset?id={ID}",s=o.split("/").pop();(e=s?e.replace("{ID}",s):"")&&window.open(e,"_blank")}m(!1)};return(0,a.jsxs)("a",{href:"#",onClick:x,target:"_blank",rel:"noreferrer",className:j().documentLink,onMouseEnter:()=>{l=setTimeout(()=>{h(!0)},1e3)},onMouseLeave:()=>{clearTimeout(l),h(!1)},children:[(0,a.jsx)("div",{className:v()(j().overlay,c&&u&&j().overlayActive),children:(0,a.jsx)("img",{className:j().previewImage,src:c,alt:d,loading:"lazy"})}),(0,a.jsxs)("div",{className:j().documentWrapper,children:[(0,a.jsx)("div",{className:j().previewImageWrapper,children:c&&(0,a.jsx)("img",{className:j().previewImage,src:c,alt:d})}),(0,a.jsx)("div",{className:j().bottomWrapper,children:(0,a.jsxs)("div",{className:j().docInfoWrapper,children:[(0,a.jsx)("h6",{className:j().title,children:d}),(0,a.jsxs)("div",{className:j().bottomInfo,children:[p&&(0,a.jsx)("span",{className:j().tag,children:p}),_?(0,a.jsx)(f.A,{animation:"border",role:"status",variant:"secondary"}):(0,a.jsxs)("span",{className:j().ctaButton,children:[" ",(0,a.jsx)(y.AH6,{})]})]})]})})]})]})};var b=t(790),N=t(74885),w=t(17694),C=t(61109),k=t(43788),A=t(69875),W=t(3704),q=t.n(W),T=t(58572),S=t(30385);let I=e=>{let{filters:s,handleClearFilters:t,handleFilterChange:l,toggleMenuOpen:i,menusOpened:n,hasMobileMenu:o}=e,[c,d]=r.useState(!1),[p,u]=r.useState(!1);(0,r.useEffect)(()=>{u(Object.values(s).some(e=>Array.isArray(e)&&e.some(e=>{let{isChecked:s}=e;return s})))},[s]);let h=()=>{n.includes("event")&&i("event"),n.includes("years")&&i("years"),d(!c)};return(0,a.jsxs)("div",{className:q().wrapper,children:[(0,a.jsx)("div",{className:"mb-3",children:(0,a.jsx)(T.A,{isFiltering:p,toggleMobileMenu:h,handleClearFilters:t})}),(0,a.jsxs)(S.A,{mobileMenuOpened:c,hasMobileMenu:o,toggleMobileMenu:h,handleClearFilters:t,isFiltering:p,children:[(0,a.jsx)(A.A,{title:"Event",filterId:"event",cardStyle:"checklist",filterData:(null==s?void 0:s.event)||[],isOpened:n.includes("event"),onToggle:()=>i("event"),onChange:l,hasMobileMenu:o}),(0,a.jsx)(A.A,{title:"Year",filterId:"years",cardStyle:"multiTag",filterData:(null==s?void 0:s.years)||[],isOpened:n.includes("years"),onToggle:()=>i("years"),onChange:l,hasMobileMenu:o})]})]})};var E=t(13725),L=t(51180),M=t(28957),P=t.n(M),D=t(9902);let F=e=>{let{faq:s}=e,[t,l]=r.useState(null),i=e=>{t===e?l(null):l(e)};return(0,a.jsxs)("div",{className:P().faqWrapper,children:[(0,a.jsxs)("div",{className:P().faqTitleWrapper,children:[(0,a.jsx)("h2",{className:P().faqTitle,children:s.title}),(0,a.jsx)("div",{className:P().faqDescription,children:s.description})]}),(0,a.jsx)("div",{className:P().faqQuestions,children:s.questions.map((e,s)=>(0,a.jsxs)("div",{className:P().faqQuestion,children:[(0,a.jsx)("h3",{className:P().faqQuestionTitle,onClick:()=>i(e._key),children:e.question}),(0,a.jsx)("div",{className:v()(P().faqAnswer,t===e._key&&P().opened),children:e.answer.length&&(0,a.jsx)(D.BlockContent,{body:e.answer})}),(0,a.jsx)("div",{className:P().faqQuestionicon,onClick:()=>i(e._key),children:t===e._key?(0,a.jsx)(L.iu5,{size:12}):(0,a.jsx)(L.OiG,{size:12})})]},s))})]})};var Q=!0;let O=e=>{let{resolutionsIndex:s,preview:t}=e,l=(0,r.useRef)(null),[i,c]=(0,r.useState)(""),[m,v]=(0,r.useState)(["event","years"]),[y,f]=(0,r.useState)({...w.q9.resolutions}),[x,j]=(0,r.useState)([]),[A,W]=(0,r.useState)(w.r4.resolutions[0]),[q,T]=(0,r.useState)(!0),S=async()=>{let e=await o("event");
1if(Array.isArray(e)&&e.length){let s=e.map(e=>{let{value:s}=e;return{value:s,label:s,isChecked:!1}}).sort((e,s)=>(0,w.Go)(s.value).localeCompare((0,w.Go)(e.value)));f(e=>({...e,event:s,years:(0,w.LA)(s)}))}};return(0,r.useEffect)(()=>{var e;let s=async()=>{var e,s;let t=new Date().toISOString().replace(".000Z","")+"+01:00",a=null==(e=y.event.find(e=>e.isChecked))?void 0:e.value,r=null==(s=y.years.find(e=>e.isChecked))?void 0:s.value;j(await n({dateAddedUpper:t,page:y.page-1,pageSize:21,sortDescending:(null==A?void 0:A.value)==="newest",...y.search&&{keywords:y.search},...a&&{event:a},...r&&{year:r}})||[]),T(!1)};(null==(e=y.event)?void 0:e.length)===0&&S(),T(!0),s()},[y,A]),(0,a.jsxs)(u.A,{title:"Resolutions",showTitleHeader:!1,isFullWidth:!0,children:[(0,a.jsx)(N.A,{title:"Resolutions",breadcrumbs:[{title:"Home",href:"/"},{title:"Resolutions",href:p.ut.resolutionList}],style:"solid"}),(0,a.jsxs)("div",{className:d().pageWrapper,ref:l,children:[(0,a.jsxs)("div",{className:"container",children:[s.showTemporaryAnnouncement&&s.temporaryAnnouncement&&(0,a.jsx)(D.TemporaryAnnouncement,{...s.temporaryAnnouncement}),(0,a.jsxs)("div",{className:d().topActionWrapper,children:[(0,a.jsx)(h.A,{placeholder:"Search resolutions by keyword",value:i,onChange:e=>{c(e),""===e&&f(e=>({...e,search:""}))},onSubmit:()=>void f(e=>({...e,search:i,sort:"newest",page:1}))}),(0,a.jsx)("div",{children:(0,a.jsx)(b.A,{options:w.r4.resolutions,onChange:e=>{W(e)},value:A,disabled:!!y.search})})]}),(0,a.jsx)("div",{className:d().disclaimer,children:"The NCAI Resource Library includes a collection of the resolutions NCAI has adopted since 1944. We are close to having a comprehensive archive of these resolutions, however some years are still absent from this collection. We will supplement the Resource Library as additional resolutions are located."})]}),(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:d().wrapper,children:[(0,a.jsx)("div",{children:(0,a.jsx)(I,{hasMobileMenu:!0,filters:y,handleClearFilters:()=>{f({...w.q9.resolutions,search:i})},handleFilterChange:(e,s)=>{if(Array.isArray(y[e])){let t=(y[e]||[]).map(e=>({...e,isChecked:e.value===s&&!e.isChecked}));return f(s=>({...s,[e]:t,page:1}))}f(t=>({...t,[e]:s}))},toggleMenuOpen:e=>{m.includes(e)?v(m.filter(s=>s!==e)):v([...m,e])},menusOpened:m})}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:d().documentsListWrapper,children:!x.length&&q?(0,a.jsx)(k.A,{}):(0,a.jsx)(a.Fragment,{children:x.length?(0,a.jsxs)(a.Fragment,{children:[q?(0,a.jsx)(k.A,{}):(0,a.jsx)("ul",{className:d().documentsList,children:(0,a.jsx)(a.Fragment,{children:x.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(g,{...e})},e.id))})}),(0,a.jsx)(C.d,{url:p.ut.resolutionList,count:x.length<21?x.length*y.page:21*(y.page+1),perPage:21,page:y.page,onClickPage:e=>{T(!0),(()=>{var e;null==(e=l.current)||e.scrollIntoView({behavior:"smooth",block:"start"})})(),f(s=>({...s,page:e}))},isSticky:!1})]}):(0,a.jsx)("div",{className:"pt-4",children:"No documents found"})})})})]})}),(0,a.jsx)("div",{className:"container",children:s.faq&&(0,a.jsx)(F,{faq:s.faq})}),(0,a.jsx)("div",{className:"container",children:s.policyPortfolios&&(0,a.jsxs)("div",{className:d().policyPortfoliosWrapper,children:[(0,a.jsx)("h2",{className:d().policyPortfoliosTitle,children:"Policy Portfolios"}),(0,a.jsx)("div",{className:d().cards,children:s.policyPortfolios.map((e,s)=>{let{description:t,title:r,href:l}=e;return(0,a.jsx)(E.A,{title:r,description:t,link:l,className:d().card},"".concat(s,"-").concat(r,"-").concat(l))})})]})})]}),(0,a.jsx)(_.A,{enabled:t})]})}},28957:e=>{e.exports={faqWrapper:"styles_faqWrapper__aEzoZ",faqTitleWrapper:"styles_faqTitleWrapper__QOESq",faqTitle:"styles_faqTitle__bN0yO",faqDescription:"styles_faqDescription__sMmn7",faqQuestions:"styles_faqQuestions__aH2kp",faqQuestion:"styles_faqQuestion___JqQR",faqQuestionTitle:"styles_faqQuestionTitle__nUkEG",faqAnswer:"styles_faqAnswer__BslZr",opened:"styles_opened__2yZd8",faqQuestionicon:"styles_faqQuestionicon__mS7vK"}},73454:e=>{e.exports={pageWrapper:"styles_pageWrapper__1WdKk",wrapper:"styles_wrapper__HMWYF",documentsListWrapper:"styles_documentsListWrapper__Bk_PJ",documentsList:"styles_documentsList__gyZoc",topActionWrapper:"styles_topActionWrapper__aSN5M",cards:"styles_cards__Hcres",policyPortfoliosWrapper:"styles_policyPortfoliosWrapper__3gKnr",policyPortfoliosTitle:"styles_policyPortfoliosTitle__bQEUz",disclaimer:"styles_disclaimer__YsIn2"}},86544:e=>{e.exports={documentWrapper:"styles_documentWrapper__16arj",previewImageWrapper:"styles_previewImageWrapper__m3c5_",previewImage:"styles_previewImage__08ITx",bottomWrapper:"styles_bottomWrapper__62YUk",docInfoWrapper:"styles_docInfoWrapper__Je8I_",title:"styles_title__zeri5",bottomInfo:"styles_bottomInfo__z3Joc",tag:"styles_tag___CTK_",ctaButton:"styles_ctaButton__hyI3F",documentLink:"styles_documentLink__ETWg1",overlay:"styles_overlay__U31Oq",overlayActive:"styles_overlayActive__ih3lY"}},97285:e=>{e.exports={card:"styles_card__AoeWo",action:"styles_action__MtpVt",title:"styles_title__B0g0W",titleWrapper:"styles_titleWrapper__DnFDu",description:"styles_description__r1pSn"}},99047:(e,s,t)=>{"use strict";t.d(s,{A:()=>o});var a=t(37876);t(14232);var r=t(15039),l=t.n(r),i=t(6037),n=t.n(i);let o=e=>{let{placeholder:s,value:t,onChange:r,onSubmit:i,className:o}=e,c=e=>{r(e.target.value)},d=e=>{e.preventDefault(),i(t)};return(0,a.jsxs)("form",{onSubmit:d,className:l()(n().tribeSearchControl
1s,o),children:[(0,a.jsx)("label",{className:n().searchLabel,htmlFor:"search",children:s}),(0,a.jsx)("input",{placeholder:s,type:"text",name:"search",id:"search",className:n().searchInput,onChange:c,value:t}),(0,a.jsx)("label",{onClick:()=>{i(t)},className:n().submitLabel,htmlFor:"submit",children:(0,a.jsxs)("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("g",{clipPath:"url(#clip0_1036_21344)",children:(0,a.jsx)("path",{d:"M19.5091 17.6583L15.6425 13.8333C16.6996 12.2494 17.1971 10.3577 17.0559 8.4587C16.9148 6.55968 16.1432 4.76227 14.8636 3.35201C13.584 1.94174 11.8699 0.999497 9.99349 0.674962C8.1171 0.350426 6.18606 0.662209 4.50715 1.56078C2.82824 2.45936 1.49774 3.89318 0.727003 5.63449C-0.0437294 7.3758 -0.210488 9.32472 0.253218 11.1717C0.716925 13.0186 1.7845 14.6576 3.28636 15.8283C4.78821 16.9991 6.63821 17.6344 8.54246 17.6333C10.2325 17.635 11.8841 17.13 13.2841 16.1833L17.1591 20.0583C17.4714 20.3687 17.8938 20.543 18.3341 20.543C18.7744 20.543 19.1969 20.3687 19.5091 20.0583C19.6704 19.9029 19.7987 19.7165 19.8864 19.5103C19.974 19.3041 20.0192 19.0824 20.0192 18.8583C20.0192 18.6343 19.974 18.4126 19.8864 18.2064C19.7987 18.0002 19.6704 17.8138 19.5091 17.6583ZM8.54246 3C9.73703 3 10.9048 3.35413 11.8982 4.01763C12.8915 4.68113 13.6659 5.62421 14.1234 6.7277C14.581 7.83118 14.7011 9.04553 14.4686 10.2173C14.2362 11.389 13.6616 12.4656 12.8175 13.3108C11.9734 14.1561 10.8976 14.7322 9.72623 14.9662C8.55481 15.2003 7.3403 15.0818 6.23618 14.6258C5.13207 14.1698 4.18791 13.3967 3.52305 12.4043C2.85818 11.4118 2.50244 10.2446 2.50079 9.05C2.50079 7.44688 3.13706 5.9093 4.26985 4.77495C5.40264 3.64059 6.93934 3.00221 8.54246 3Z",fill:"#373949"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_1036_21344",children:(0,a.jsx)("rect",{width:"20",height:"20",fill:"white",transform:"translate(0 0.5)"})})})]})}),(0,a.jsx)("input",{className:n().submitButton,type:"submit",value:"Search",onChange:c,onKeyDown:d})]})}}},e=>{e.O(0,[1167,3371,4355,8752,3879,261,636,6593,8792],()=>e(e.s=18129)),_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.