PageSourceSearch

https://thnk.org/static/js/503.b12146f2.chunk.js

js thnk.org collected 2026-10-02 03:21:08 UTC 3,781 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkthnk_client=self.webpackChunkthnk_client||[]).push([[503],{4503(e,n,l){l.r(n),l.d(n,{default:()=>m});var s=l(9379),t=l(3679),a=l(2865),c=l(1683),i=l(566),o=l(7929);const r=function(e){let n=e.title,l=e.slug,s=e.desc,r=e.location,d=e.price,m=e.date,u=e.img,v=e.cta,h=e.form;const _=m?new Date(m):null,x=null===_||void 0===_?void 0:_.toLocaleString("en-US",{day:"2-digit"}),j=null===_||void 0===_?void 0:_.toLocaleString("en-US",{month:"short"});return(0,o.jsxs)("div",{className:"event-item",children:[m?(0,o.jsxs)("div",{className:"event-item__date",children:[(0,o.jsx)("div",{className:"h4",children:x}),(0,o.jsx)("div",{className:"body-small",children:j})]}):null,u?(0,o.jsx)("div",{className:"event-item__img-container",children:(0,o.jsx)(c.A,{className:"cover-img",img:u,size:"small"})}):null,(0,o.jsxs)("div",{children:[(0,o.jsx)("h3",{className:"event-item__title h3",children:n}),s?(0,o.jsx)("div",{className:"event-item__desc body-small",children:s}):null]}),r||d?(0,o.jsxs)("div",{className:"event-item__info-container",children:[r?(0,o.jsxs)("div",{className:"event-item__info body-small",children:[(0,o.jsx)(a.I.Location,{className:"event-item__icon"}),r]}):null,d?(0,o.jsxs)("div",{className:"event-item__info body-small",children:[(0,o.jsx)(a.I.Tag,{className:"event-item__icon"}),d]}):null]}):null,null!==v&&void 0!==v&&v.href?(0,o.jsx)(t.A,{className:"event-item__cta",link:v}):null,(0,o.jsx)(i.A,{form:h,slug:l})]})};var d=l(7565);const m=function(e){let n=e.componentId,l=e.title,t=e.background,a=e.items,c=e.slug;return(0,o.jsx)("section",(0,s.A)((0,s.A)({className:"events".concat("grey"===t?" section-bg section-bg--grey":" section")},n?{id:n}:{}),{},{children:(0,o.jsxs)("div",{className:"wrap",children:[(0,o.jsx)("h2",{className:"events__title h2",children:l}),(0,o.jsx)("div",{className:"events__item-container",children:a.map(e=>(0,d.createElement)(r,(0,s.A)((0,s.A)({},e),{},{slug:c,key:e.title})))})]})}))}},566(e,n,l){var s=l(7565),t=l(6515),a=l(2865),c=l(3178),i=l(4345),o=l(7929);const r=function(e){let n=e.form,l=e.slug;if(null===n||void 0===n||!n.btnLabel||null===n||void 0===n||!n.portalId||null===n||void 0===n||!n.formId||null===n||void 0===n||!n.region||null===n||void 0===n||!n.id)return null;const r=(0,c.A)(),d=r.modal,m=r.open,u=r.close,v=(0,s.useRef)(null),h=(0,s.useCallback)(()=>{v.current&&m(v.current)},[m]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.A,{className:"programs__item-cta btn".concat(n.btnColor?" btn--".concat(n.btnColor):" btn--secondary"),type:"button",onClick:h,ref:v,id:"".concat(l,"-").concat(n.formId),children:n.btnLabel}),d({children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.A,{className:"modal__close",onClick:u,type:"button",id:"".concat(l,"-").concat(n.formId,"-modal-close"),children:[(0,o.jsx)(a.I.Plus,{className:"icon-large"}),(0,o.jsx)("span",{className:"sr-only",children:"Close modal"})]}),(0,o.jsx)(i.A,{portalId:n.portalId,formId:n.formId,region:n.region,id:n.id})]}),keepMounted:!0})]})};l.d(n,["A",0,r])},3679(e,n,l){var s=l(7565),t=l(477),a=l(8803),c=l(2865),i=l(7929);const o=(0,s.memo)(e=>{let n=e.link,l=e.className,o=e.target,r=e.onClick;const d=(0,a.A)().trackEvent,m=(0,s.useCallback)(e=>{d({name:"link_click",properties:{link_id:n.id,link_href:n.href}}),r&&r(e)},[d,n.id,n.href,r]);return n.text?(0,i.jsxs)(t.N_,{className:"".concat(l?"".concat(l," "):"","btn btn--").concat(n.color?n.color:"dark"),onClick:m,to:n.href,target:n.newTab?"_blank":o,rel:n.newTab?"noreferrer nofollow":"",download:n.isDownload,id:n.id||"",children:[n.text,n.hasArrow?(0,i.jsx)(c.I.Chevron,{className:"icon rotate-minus-90"}):null,n.isDownload?(0,i.jsx)(c.I.External,{className:"icon"}):null]}):null});l.d(n,["A",0,o])}}]);
2//# sourceMappingURL=503.b12146f2.chunk.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.