PageSourceSearch

https://www.courier.com/_next/static/chunks/4249-04aa967f4b6bbcb3.js

js courier.com collected 2026-09-24 08:59:23 UTC 13,787 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4249],{1314:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var s=r(37876),n=r(12559),i=r(37834);let a=t=>(0,n.AH)({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",flexShrink:0,outline:"0",borderWidth:"1px",borderColor:"transparent",borderRadius:"0.25rem",cursor:"pointer",fontWeight:"500",h:"2.25rem",minW:"2.25rem",px:"0.875rem",fontSize:"0.875rem",lineHeight:"1.25rem",gap:"0.5rem",transition:"background-color 200ms, color 200ms, border-color 200ms, box-shadow 200ms",_disabled:{opacity:.5,cursor:"not-allowed"},...t?{bg:"#18181b",color:"#FFFFFF",_hover:{bg:"color-mix(in srgb, #18181b 90%, transparent)"}}:{bg:"transparent",color:"#27272a",_hover:{bg:"#f4f4f5"}}}),o=({setCurrentPage:t,currentPage:e,totalPages:r,isEmpty:o,getHref:u})=>{let l=((t,e)=>{let r=[];if(e<=4)for(let t=1;t<=e;t++)r.push(t);else if(t>=e-3)for(let t=e-3;t<=e;t++)r.push(t);else r.push(t,t+1,t+2,"..."),r.push(e);return r})(e,r);if(o||r<=1)return(0,s.jsx)(s.Fragment,{});let c=(r,n,o)=>{let l=r===e;return u?(0,s.jsx)(i.A,{to:u(r),"aria-label":`Go to page ${r}`,"aria-current":l?"page":void 0,onClick:t?e=>{e.preventDefault(),t(r)}:void 0,children:(0,s.jsx)("span",{className:a(l),children:n})},o):(0,s.jsx)("button",{onClick:()=>t?.(r),className:a(l),children:n},o)},f=(t,e,r)=>r?(0,s.jsx)("button",{disabled:!0,className:a(!0),children:e}):c(t,e,`arrow-${e}`);return(0,s.jsxs)("div",{className:(0,n.AH)({display:"flex",alignItems:"center",justifyContent:"center",mt:"10",gap:"1"}),children:[f(Math.max(e-1,1),"<",1===e),l.map((t,e)=>"..."===t?(0,s.jsx)("div",{className:(0,n.AH)({px:"2"}),children:"..."},`ellipsis-${e}`):c(t,t,String(t))),f(Math.min(e+1,r),">",e===r)]})}},13301:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var s=r(56557),n=r.n(s),i=r(71576),a=r.n(i);n().extend(a());let o=n()},18404:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var s=r(37876),n=r(12559),i=r(37834);let a=({topTags:t,activeCategory:e,setActiveCategory:r})=>{let a=[{label:"All articles",slug:"all",href:"/blog"},...t.map(t=>({label:t.fields.name,slug:t.fields.slug,href:`/blog/tag/${t.fields.slug}`}))];return(0,s.jsx)("div",{className:(0,n.AH)({display:"flex",gap:"6",borderBottom:"1px solid #E2E8F0",pb:"2",overflowX:"auto",whiteSpace:"nowrap"}),children:a.map(({slug:t,label:n,href:a})=>{let o=e===t;return(0,s.jsx)(i.A,{to:a,cursor:"pointer",fontWeight:o?"bold":"medium",color:o?"black":"gray.500",borderBottom:o?"2px solid black":"2px solid transparent",pb:1,transition:"all 0.2s",_hover:{textDecoration:"none",color:"black"},onClick:r?e=>{e.preventDefault(),r(t)}:void 0,children:n},t)})})}},34117:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var s=r(37876),n=r(48230),i=r.n(n),a=r(54587),o=r.n(a),u=r(13301),l=r(82906),c=r.n(l);let f={xl:{sizes:"(max-width: 992px) 100vw, (max-width: 1600px) 44vw, 704px"},lg:{sizes:"(max-width: 767px) 100vw, (max-width: 1279px) 47vw, 28vw"},md:{sizes:"(max-width: 767px) 100vw, 384px"},sm:{sizes:"(max-width: 767px) 100vw, 320px"}},d="image not found",h=({isLatestPost:t=!1,size:e,post:r})=>{let n=r.fields.authors[0],a=r.fields.headerImage||r.fields.thumbnail,{sizes:l}=f[e],h=a?`https:${a.fields.file.url}`:"",$=a?a.fields.title:d;return(0,s.jsxs)(i(),{href:`/blog/${r.fields.slug}`,"aria-label":r.fields.title,prefetch:!1,className:`${c().card}${t?` ${c().featured}`:""}`,children:[(0,s.jsx)("div",{className:c().imageWrap,children:(0,s.jsx)("div",{className:c().imageBox,children:h?(0,s.jsx)(o(),{src:h,alt:$,fill:!0,sizes:l,quality:75,priority:t,style:{objectFit:"cover"}}):(0,s.jsx)("div",{"aria-label":d})})}),(0,s.jsxs)("div",{className:c().body,children:[(0,s.jsx)("p",{className:c().title,children:r.fields.title}),(0,s.jsx)("p",{className:c().excerpt,children:r.fields.excerpt}),(0,s.jsxs)("div",{className:c().meta,children:[t&&(0,s.jsx)(o(),{src:`https:${n.fields.avatar.fields.file.url}`,width:64,height:64,quality:90,alt:n.fields.name,className:c().avatar}),(0,s.jsxs)("div",{className:c().metaText,children:[(0,s.jsx)("p",{className:c().author,children:`${!t?"By":""} ${n.fields.name}`}),(0,s.jsx)("p",{className:c().date,children:u.A.utc(r.fields.publishDate).format("MMMM DD, YYYY")})]})]})]})]})}},56557:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",s="hour",n="week",i="month",a="quarter",o="year",u="date",l="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
1|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,e,r){var s=String(t);return!s||s.length>=e?t:""+Array(e+1-s.length).join(r)+t},h="en",$={};$[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var m="$isDayjsObject",g=function(t){return t instanceof y||!(!t||!t[m])},p=function t(e,r,s){var n;if(!e)return h;if("string"==typeof e){var i=e.toLowerCase();$[i]&&(n=i),r&&($[i]=r,n=i);var a=e.split("-");if(!n&&a.length>1)return t(a[0])}else{var o=e.name;$[o]=e,n=o}return!s&&n&&(h=n),n||!s&&h},v=function(t,e){if(g(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new y(r)},x={s:d,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(r/60),2,"0")+":"+d(r%60,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var s=12*(r.year()-e.year())+(r.month()-e.month()),n=e.clone().add(s,i),a=r-n<0,o=e.clone().add(s+(a?-1:1),i);return+(-(s+(r-n)/(a?n-o:o-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(l){return({M:i,y:o,w:n,d:"day",D:u,h:s,m:r,s:e,ms:t,Q:a})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};x.l=p,x.i=g,x.w=function(t,e){return v(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var y=function(){function d(t){this.$L=p(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[m]=!0}var h=d.prototype;return h.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var s=e.match(c);if(s){var n=s[2]-1||0,i=(s[7]||"0").substring(0,3);return r?new Date(Date.UTC(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,i)):new Date(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,i)}}return new Date(e)}(t),this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return x},h.isValid=function(){return this.$d.toString()!==l},h.isSame=function(t,e){var r=v(t);return this.startOf(e)<=r&&r<=this.endOf(e)},h.isAfter=function(t,e){return v(t)<this.startOf(e)},h.isBefore=function(t,e){return this.endOf(e)<v(t)},h.$g=function(t,e,r){return x.u(t)?this[e]:this.set(r,t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,a){var l=this,c=!!x.u(a)||a,f=x.p(t),d=function(t,e){var r=x.w(l.$u?Date.UTC(l.$y,e,t):new Date(l.$y,e,t),l);return c?r:r.endOf("day")},h=function(t,e){return x.w(l.toDate()[t].apply(l.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),l)},$=this.$W,m=this.$M,g=this.$D,p="set"+(this.$u?"UTC":"");switch(f){case o:return c?d(1,0):d(31,11);case i:return c?d(1,m):d(0,m+1);case n:var v=this.$locale().weekStart||0,y=($<v?$+7:$)-v;return d(c?g-y:g+(6-y),m);case"day":case u:return h(p+"Hours",0);case s:return h(p+"Minutes",1);case r:return h(p+"Seconds",2);case e:return h(p+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(n,a){var l,c=x.p(n),f="set"+(this.$u?"UTC":""),d=((l={}).day=f+"Date",l[u]=f+"Date",l[i]=f+"Month",l[o]=f+"FullYear",l[s]=f+"Hours",l[r]=f+"Minutes",l[e]=f+"Seconds",l[t]=f+"Milliseconds",l)[c],h="day"===c?this.$D+(a-this.$W):a;if(c===i||c===o){var $=this.clone().set(u,1);$.$d[d](h),$.init(),this.$d=$.set(u,Math.min(this.$D,$.daysInMonth())).$d}else d&&this.$d[d](h);return this.init(),this},h.set=function(t,e){return this.clone().$set(t,e)},h.get=function(t){return this[x.p(t)]()},h.add=function(t,a){var u,l=this;t=Number(t);var c=x.p(a),f=function(e){var r=v(l);return x.w(r.date(r.date()+Math.round(e*t)),l)};if(c===i)return this.set(i,this.$M+t);if(c===o)return this.set(o,this.$y+t);if("day"===c)return f(1);if(c===n)return f(7);var d=((u={})[r]=6e4,u[s]=36e5,u[e]=1e3,u)[c]||1,h=this.$d.getTime()+t*d;return x.w(h,this)},h.subtract=function(t,e){return this.add(-1*t,e)},h.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var s=t||"YYYY-MM-DDTHH:mm:ssZ",n=x.z(this),i=this.$H,a=this.$m,o=this.$M,u=r.weekdays,c=r.months,d=r.meri
1diem,h=function(t,r,n,i){return t&&(t[r]||t(e,s))||n[r].slice(0,i)},$=function(t){return x.s(i%12||12,t,"0")},m=d||function(t,e,r){var s=t<12?"AM":"PM";return r?s.toLowerCase():s};return s.replace(f,function(t,s){return s||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return x.s(e.$y,4,"0");case"M":return o+1;case"MM":return x.s(o+1,2,"0");case"MMM":return h(r.monthsShort,o,c,3);case"MMMM":return h(c,o);case"D":return e.$D;case"DD":return x.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(r.weekdaysMin,e.$W,u,2);case"ddd":return h(r.weekdaysShort,e.$W,u,3);case"dddd":return u[e.$W];case"H":return String(i);case"HH":return x.s(i,2,"0");case"h":return $(1);case"hh":return $(2);case"a":return m(i,a,!0);case"A":return m(i,a,!1);case"m":return String(a);case"mm":return x.s(a,2,"0");case"s":return String(e.$s);case"ss":return x.s(e.$s,2,"0");case"SSS":return x.s(e.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(t,u,l){var c,f=this,d=x.p(u),h=v(t),$=(h.utcOffset()-this.utcOffset())*6e4,m=this-h,g=function(){return x.m(f,h)};switch(d){case o:c=g()/12;break;case i:c=g();break;case a:c=g()/3;break;case n:c=(m-$)/6048e5;break;case"day":c=(m-$)/864e5;break;case s:c=m/36e5;break;case r:c=m/6e4;break;case e:c=m/1e3;break;default:c=m}return l?c:x.a(c)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return $[this.$L]},h.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),s=p(t,e,!0);return s&&(r.$L=s),r},h.clone=function(){return x.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},d}(),_=y.prototype;return v.prototype=_,[["$ms",t],["$s",e],["$m",r],["$H",s],["$W","day"],["$M",i],["$y",o],["$D",u]].forEach(function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),v.extend=function(t,e){return t.$i||(t(e,y,v),t.$i=!0),v},v.locale=p,v.isDayjs=g,v.unix=function(t){return v(1e3*t)},v.en=$[h],v.Ls=$,v.p={},v}()},71576:function(t){t.exports=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(s,n,i){var a=n.prototype;i.utc=function(t){var e={date:t,utc:!0,args:arguments};return new n(e)},a.utc=function(e){var r=i(this.toDate(),{locale:this.$L,utc:!0});return e?r.add(this.utcOffset(),t):r},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var o=a.parse;a.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var u=a.init;a.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else u.call(this)};var l=a.utcOffset;a.utcOffset=function(s,n){var i=this.$utils().u;if(i(s))return this.$u?0:i(this.$offset)?l.call(this):this.$offset;if("string"==typeof s&&null===(s=function(t){void 0===t&&(t="");var s=t.match(e);if(!s)return null;var n=(""+s[0]).match(r)||["-",0,0],i=n[0],a=60*n[1]+ +n[2];return 0===a?0:"+"===i?a:-a}(s)))return this;var a=16>=Math.abs(s)?60*s:s;if(0===a)return this.utc(n);var o=this.clone();if(n)return o.$offset=a,o.$u=!1,o;var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(o=this.local().add(a+u,t)).$offset=a,o.$x.$localOffset=u,o};var c=a.format;a.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,e)},a.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(t){return"s"===t&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=a.diff;a.diff=function(t,e,r){if(t&&this.$u===t.$u)return d.call(this,t,e,r);var s=this.local(),n=i(t).local();return d.call(s,n,e,r)}}}()},82906:t=>{t.exports={card:"BlogPostCard_card__oa8so",imageWrap:"BlogPostCard_imageWrap__PlgIK",imageBox:"BlogPostCard_imageBox__ohw0X",body:"BlogPostCard_body__oc2kO",title:"BlogPostCard_t
1itle__PtNf_",excerpt:"BlogPostCard_excerpt__JXNbM",meta:"BlogPostCard_meta__KR3iB",metaText:"BlogPostCard_metaText__Duwgr",author:"BlogPostCard_author__1Jo0v",date:"BlogPostCard_date__mD_nm",avatar:"BlogPostCard_avatar__tx4zU",featured:"BlogPostCard_featured__r02D4"}}}]);

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.