PageSourceSearch

https://www.nsf.org/_next/static/chunks/0b8gxeb552jf6.js

js nsf.org collected 2026-09-24 08:06:09 UTC 9,236 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33480,e=>{"use strict";function t(e,t){return"local"===t?e:{...e,timeZone:t}}function r(e,n,i="UTC",a={month:"short",day:"numeric",year:"numeric"}){return e?(e instanceof Date?e:new Date(e)).toLocaleDateString(n,t(a,i)):""}let n="MMMM d, y",i={es:"es",pt:"pt-BR",de:"de",ko:"ko-KR",ja:"ja",it:"it",bg:"bg",fr:"fr",ro:"ro",vi:"vi"},a=new Map,l=e=>String(e).padStart(2,"0");function o(e,t,n,i="UTC"){let a=r(e,n,i);if(!a||!t)return a;let l=new Date(e),u=new Date(t),c=e=>{let t=new Intl.DateTimeFormat("en",{year:"numeric",month:"numeric",day:"numeric",timeZone:i}).formatToParts(e);return{year:parseInt(t.find(e=>"year"===e.type)?.value??"0"),month:parseInt(t.find(e=>"month"===e.type)?.value??"0"),day:parseInt(t.find(e=>"day"===e.type)?.value??"0")}},s=c(l),m=c(u);if(s.year===m.year&&s.month===m.month&&s.day===m.day)return a;if(s.year===m.year&&s.month===m.month){let e=l.toLocaleDateString(n,{month:"short",day:"numeric",timeZone:i});return`${e} – ${m.day}, ${m.year}`}let d=r(t,n,i);return`${a} – ${d}`}e.s(["extractCmsTimezone",0,function(e){if(!e)return;if(e.endsWith("Z"))return"UTC";let t=e.match(/([+-])(\d{2}):(\d{2})$/);if(!t)return;let[,r,n,i]=t;if("00"!==i)return;let a=parseInt(n);return 0===a?"UTC":`Etc/GMT${"+"===r?"-":"+"}${a}`},"formatDate",0,r,"formatDateRange",0,o,"formatLocalizedDate",0,function(e,t,r=n){var o,u,c;let s,m,d,f,h,y;if(!e)return"";let g=e instanceof Date?e:new Date(e);if(Number.isNaN(g.getTime()))return"string"==typeof e?e:"";let p=r;return"zh"===t.code?"CN_zh"===t.handle?(s="zh-CN",r===n&&(p="yyyy年M月d日")):s="en-US":"ko"===t.code?(s="ko-KR",r===n&&(p="yyyy년 M월 d일")):s=i[t.code]??"en-US",o=p,u=s,c=t.code,m=g.getFullYear(),d=g.getMonth()+1,f=g.getDate(),y={yyyy:String(m).padStart(4,"0"),y:String(m),MMMM:"vi"===c?`th\xe1ng ${l(d)}`:((h=a.get(u))||(h=new Intl.DateTimeFormat(u,{month:"long"}),a.set(u,h)),h.format(g)),MM:l(d),M:String(d),dd:l(f),d:String(f)},o.replace(/yyyy|MMMM|MM|dd|y|M|d/g,e=>y[e])},"formatTime",0,function(e,r,n="UTC",i={hour:"numeric",minute:"2-digit",hour12:!0}){return e?(e instanceof Date?e:new Date(e)).toLocaleTimeString(r,t(i,n)):""},"formatTimeRange",0,function(e,t,r,n){if(!e)return"";let i=new Date(e);if(0===i.getUTCHours()&&0===i.getUTCMinutes())return"";let a=n?{timeZone:n}:{},l={hour:"numeric",minute:"2-digit",hour12:!0,...a};if(!t)return i.toLocaleTimeString(r,{...l,timeZoneName:"short"});let u=new Date(t),c=n??"UTC",s=e=>new Intl.DateTimeFormat("en",{year:"numeric",month:"numeric",day:"numeric",timeZone:c}).format(e),m=s(i)!==s(u),d=new Intl.DateTimeFormat(r,{timeZoneName:"short",...a}).formatToParts(u).find(e=>"timeZoneName"===e.type)?.value??"",f=i.toLocaleTimeString(r,l),h=u.toLocaleTimeString(r,l),y=`${f} – ${h}${d?` (${d})`:""}`;if(m){let i=o(e,t,r,n);return`${i}, ${y}`}return y},"intlLocaleTag",0,function(e){return`${e.code}-${e.region}`}])},82438,e=>{"use strict";var t=e.i(47472),r=e.i(33480);e.s(["CourseDate",0,({entry:e,locale:n})=>{let[i,a]=(0,t.useState)(!1);if((0,t.useEffect)(()=>{a(!0)},[]),!i)return"";let l=e.courseStart,o=e.courseEnd;if(l&&o){let e=(0,r.formatDate)(l,n.code,"local",{month:"long",day:"numeric"}),t=(0,r.formatDate)(o,n.code,"local",{month:"long",day:"numeric"}),i=(0,r.formatDate)(o,n.code,"local",{year:"numeric",month:"long",day:"numeric"});return e===t?i:e+" – "+i}return l?(0,r.formatDate)(l,n.code,"local",{year:"numeric",month:"long",day:"numeric"}):""},"CourseTime",0,({entry:e,locale:n})=>{let[i,a]=(0,t.useState)(!1);if((0,t.useEffect)(()=>{a(!0)},[]),!i)return"";let l=e.courseStart,o=e.courseEnd,u=12===n.hourFormat;return l&&o?(0,r.formatTime)(l,n.code,"local",{hour12:u,hour:"numeric",minute:"numeric"})+" – "+(0,r.formatTime)(o,n.code,"local",{hour12:u,hour:"numeric",minute:"numeric",timeZoneName:"shortGeneric"}):l?(0,r.formatTime)(e.courseStart,n.code,"local",{hour12:u,hour:"2-digit",minute:"2-digit",timeZoneName:"shortGeneric"}):""}])},22259,e=>{"use strict";var t=e.i(34627);function r(e,t,n="en-US",i){if(null==e||1===e)return null;if(-1===e)return i?.privateTraining??"Private Training";if(0===e)return i?.free??"FREE";try{return new Intl.NumberFormat(n,{style:"currency",currency:t??"USD",maximumFractionDigits:0}).format(e)}catch{return new Intl.NumberFormat(n,{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e)}}let n=[["CA$","CAD"],["A$","AUD"],["$","USD"],["£","GBP"],["€","EUR"]],i=/\b(USD|GBP|EUR|CAD|AUD|ZAR|NZD|SGD|INR|BRL|MXN|THB|JPY|KRW|CNY|RON|BGN)\b/;e.s(["buildClickEvent",0,function(e,t,r,n){return{event:"filtered_list_result_selected",click_text:e.title,click_url:t(e.url),element_index:e.__position,results_count:r,...n&&{view_as_type:n}}},"formatDuration",0,function(e){if(!e)return null;
1let t=e.replace(/\s*(VILT|ILT|OD)\s*/gi," ").trim(),r=t.match(/(\d+(?:\.\d+)?)\s*days?/i),n=t.match(/(\d+(?:\.\d+)?)\s*hours?/i);if(r&&n){let e=parseFloat(r[1]),t=parseFloat(n[1]),i=1===e?"1 day":`${r[1]} days`,a=1===t?"1 hour":`${n[1]} hours`;return`${i} (${a})`}return r?1===parseFloat(r[1])?"1 day":`${r[1]} days`:n?1===parseFloat(n[1])?"1 hour":`${n[1]} hours`:t||null},"formatPrice",0,function(e,t="en-US",n){return void 0!==e.priceAmount?r(e.priceAmount,e.priceCurrency??null,t,n):e.price?e.price:null},"formatPriceAmount",0,r,"hasDisplayableDate",0,function(e){return"number"==typeof e&&e>0&&e<=24e8},"parsePriceString",0,function(e){if(!e)return{amount:null,currency:null};let t=e.replace(/\s*\([^)]*\)\s*$/u,"").trim();if(!t)return{amount:null,currency:null};if("-1"===t)return{amount:-1,currency:null};if(/^free$/i.test(t))return{amount:0,currency:null};let r=null,a=t.match(i);if(a)r=a[1];else for(let[e,i]of n)if(t.includes(e)){r=i;break}let l=t.match(/([0-9][0-9,]*(?:\.[0-9]+)?)/);if(!l)return{amount:null,currency:null};let o=Number(l[1].replace(/,/g,""));return Number.isFinite(o)&&1!==o?{amount:o,currency:r??"USD"}:{amount:null,currency:null}},"pillClasses",0,function(e){return(0,t.default)("focus-ring rounded-full px-2.5 pb-[3px] pt-1 text-sm transition-colors",e?"bg-blue-bright text-white":"border border-gray-cool text-blue-bright hover:bg-gray-cool/30")}])},27138,e=>{"use strict";var t=e.i(30332),r=e.i(85891),n=e.i(45142),i=e.i(33480),a=e.i(17348),l=e.i(76166),o=e.i(77621),u=e.i(90374),c=e.i(7578),s=e.i(68235);e.s(["CardNews",0,({card:e,entryDate:m,isListItem:d=!0,widths:f})=>{let h=(0,n.useParams)(),y=(0,r.useRouter)(),{locale:g,t:p}=(0,a.inferLocale)(h.country,h.lang),x=e.primaryImage[0],b=(0,i.formatLocalizedDate)(m??e.postDate,g),D=()=>{e.url&&y.push(e.url)},v=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"relative h-[120px] lg:h-[150px]",children:x?(0,t.jsx)("div",{className:"absolute size-full",children:(0,t.jsx)(u.Asset,{asset:x,sizes:"(min-width: 1280px) 25vw, (min-width: 1024px) 33vw, (min-width: 768px) 50vw, 100vw",widths:f})}):(0,t.jsx)("div",{className:"h-[170px] w-full flex-none sm:order-2 md:max-w-64",children:(0,t.jsx)(s.PlaceholderImage,{alt:"",fill:!0,className:"size-full object-cover"})})}),(0,t.jsxs)("div",{className:"flex grow flex-col gap-2 p-2",children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[e.title&&(0,t.jsx)("h3",{className:"h6 group-hover:text-blue-bright",children:e.title}),(0,t.jsx)("span",{className:"p3",children:b})]}),e.intro?(0,t.jsx)("div",{className:"p2",children:(0,l.stripTags)(e.intro)}):(0,t.jsx)("div",{className:"p2",children:function(e=[]){let t=e.find(e=>e?.typeHandle==="text");return(0,l.stripTags)(t?.text||"")??""}(e.bodyContent)}),(0,t.jsxs)("div",{className:"flex grow justify-between",children:[(0,t.jsx)(c.SmartLink,{className:"focus-ring inline-block self-end text-blue-bright",href:e.url,"aria-label":e.title?`${p("Read the Story")}: ${e.title}`:p("Read the Story"),children:p("Read the Story")}),(0,t.jsx)(o.default,{name:"NSFLogo",className:"inline-block size-5 self-end text-blue-bright","aria-hidden":"true"})]})]})]});return d?(0,t.jsx)("li",{className:"col-span-full h-full md:col-span-6 lg:col-span-4 xl:col-span-3",children:(0,t.jsx)("div",{role:"group","aria-label":p("article"),className:"h-full",children:(0,t.jsx)("div",{className:"p2 group flex h-full cursor-pointer flex-col border border-gray-cool/30 text-blue transition-colors duration-500 ease-in-out hover:bg-gray-cool/30",onClick:D,children:v})})}):(0,t.jsx)("div",{role:"group","aria-label":p("item"),className:"col-span-full h-full md:col-span-6 lg:col-span-4 xl:col-span-3",children:(0,t.jsx)("div",{className:"p2 group flex h-full cursor-pointer flex-col border border-gray-cool/30 text-blue transition-colors duration-500 ease-in-out hover:bg-gray-cool/30",onClick:D,children:v})})}])},30682,e=>{"use strict";var t=e.i(47472);e.s(["CertSearchScript",0,()=>{let e=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{if(!e.current){e.current=!0;let t=document.getElementById("iaf-cs-mark");if(t&&0===t.children.length){let e=document.getElementById("IafCertScript");e&&e.remove();let t=document.createElement("script");
1t.src="//f0.iafcertsearch.org/marks/p/iaf-cs-mark.js?id=dd8889b8-067c-53f8-92dd-852fa8282c46",t.id="IafCertScript",t.async=!0,t.defer=!0,t.crossOrigin="anonymous",document.head.appendChild(t)}}},[]),null}])}]);

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.