1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9942],{25438:function(e,t,n){var r=n(82109),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,arity:2,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,s=0,u=arguments.length,c=0;s<u;)c<(n=i(arguments[s++]))?(o=o*(r=c/n)*r+1,c=n):o+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*a(o)}})},32104:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var r,o,i,a,s,u,c,l=n(81880),d=n(67294),f=n(9514),v=n(33233),h=n(6044),p=n(19642),g=n(90196),m=n(81356),y=n(826),b=n(69137),S=n(61901),w=n(99375),x=n(9339),M=n(29434),E=(0,b.ZP)(p.n).withConfig({componentId:"carouselCardEybrow"})(r||(r=(0,l.Z)(["\n ",";\n text-transform: uppercase;\n color: ",";\n font-size: ","em;\n letter-spacing: 0.5;\n margin: ","em 0;\n"])),S.h.variants.ExtraBold,w.Yy,1,.48),G=(0,b.ZP)(p.s).withConfig({componentId:"carouselCardHeadline"})(o||(o=(0,l.Z)(["\n font-size: ","em;\n\n .wide & {\n font-size: ","em;\n }\n"])),1.875,1.875),C=Math.round(680/497*100)/100,P=(0,b.ZP)(f.q.div).withConfig({componentId:"carouselCardContainer"})(i||(i=(0,l.Z)(["\n width: calc(","vw - 50px);\n max-width: 497px;\n min-width: 290px;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin: 0;\n padding: 0 30px;\n"])),Math.round(100/C)),_=(0,b.ZP)(f.q.div).withConfig({componentId:"carouselCardBylineContainer"})(a||(a=(0,l.Z)([""]))),D=b.ZP.div.withConfig({componentId:"carouselCardColumnContainer"})(s||(s=(0,l.Z)(["\n display: flex;\n flex-direction: column;\n padding: 10px 0;\n .wide & {\n padding: 30px;\n }\n"]))),T=b.ZP.span.withConfig({componentId:"carouselCardDateAutorCopy"})(u||(u=(0,l.Z)(["\n ",";\n color: ",";\n font-size: ","em;\n"])),S.h,w.Vg,.875),k=(0,f.q)(g.ZP),O=(0,b.ZP)((0,f.q)(p.n)).withConfig({componentId:"carouselCardParagraph"})(c||(c=(0,l.Z)(["\n font-size: ","em;\n"])),17/16);function B(e){var t=e.category,n=e.excerpt,r=e.title,o=e.publicationDate,i=e.url,a=(e.author,e.authors),s=void 0===a?[]:a,u=e.image,c=e.index,l=e.shouldInterpolate,f=void 0===l||l,p=e.preserveTitleCase,g=void 0!==p&&p,b=e.className,S=(0,h.Z)(),w=S[0].contentBoxSize.blockSize,B=S[1],L=(0,y.G)().activeStateProgress,K=1,Z="none",W="none",I="none";if(f){var H=L(c);K=H.to({range:[.4,.5,.6],output:[0,1,0]});var A=H.to({range:[0,.5,1],output:[0,-3,136]}),j=H.to({range:[0,.5,1],output:[0,50,0]});Z=(0,v.to)([A,j],(function(e,t){return"translate("+e+"px, "+t+"px)"})),W=H.to({range:[0,.5,1],output:[1,C,1]}).to((function(e){return"scale("+e+")"})),I=H.to({range:[0,.5,1],output:[-w-10,0,-w-10]}).to((function(e){return"translateY("+e+"px)"}))}var R={};g&&(R.textTransform="none");return d.createElement(P,{className:b,style:{transform:Z}},u&&d.createElement(k,{fadeIn:!1,childImageSharp:u.childImageSharp,style:{width:"100%",transformOrigin:"left bottom",transform:W}}),d.createElement(D,null,t&&t.name&&d.createElement(m.ZP,{href:"/newsroom/"+t.slug+"/"},d.createElement(E,null,t.name)),r&&d.createElement(m.ZP,{href:i,style:R},d.createElement(G,{as:"h3"},r)),d.createElement(O,{ref:B,style:{opacity:K}},n),d.createElement(_,{style:{transform:I}},d.createElement(T,{style:{marginRight:"10px",position:"relative"}},(0,x.Z)(o)),"·",d.createElement(T,{style:{marginLeft:"10px",position:"relative"}},s&&(0,M.Z)(s)))))}},826:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(67294),o=r.createContext({activeStateProgress:function(){throw new Error("A context value must be provided!")},goto:function(){throw new Error("A context value must be provided!")}}),i=function(){return(0,r.useContext)(o)};t.Z=o},30143:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Te},sortDates:function(){return _e}});var r=n(67294),o=n(17571),i=n(32104),a=n(81880),s=n(9514),u=n(33233);n(25438);function c(e,t){return e.map((function(e,n){return e+t[n]}))}function l(e,t){return e.map((function(e,n){return e-t[n]}))}function d(e,t,n){return n=n||Math.hypot.apply(Math,e),t?n/t:0}function f(e,t){return t?e.map((function(e){return e/t})):Array(e.length).fill(0)}function v(e){return Math.hypot.apply(Math,e)}function h(e,t){return t=t||Math.hypot.apply(Math,e)||1,e.map((function(e){return e/t}))}function p(e,t,n){var r=Math.hypot.apply(Math,t);return{velocities:f(t,n),velocity:d(t,n,r),distance:v(e),direction:h(t,r)}}function g(e,t){return Math.abs(e)>=t&&Math.sign(e)*t}function m(e,t,n){return 0===t||Math.abs(t)===1/0?function(e,t){return Math.pow(e,5*t)}(e,n):e*t*n/(t+n*e)}function y(e,t,n,r){return void 0===r&&(r=.15),0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}
1(e,t,n):e<t?-m(t-e,n-t,r)+t:e>n?m(e-n,n-t,r)+n:e}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}function w(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function x(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function M(){}var E=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.forEach((function(e){return e.apply(void 0,n)}))}},G=function(e){return Array.isArray(e)?e:[e,e]},C=function(e,t){return void 0!==e?e:t};function P(e,t){var n={};return Object.entries(e).forEach((function(e){var r=e[0],o=e[1];return(void 0!==o||r in t)&&(n[r]=o)})),n}function _(e){return"function"==typeof e?e():e}function D(){var e={_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],event:void 0,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:M,canceled:!1,memo:void 0,args:void 0},t={axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0},n={da:[0,0],vdva:[0,0],origin:void 0,turns:0};return{shared:{hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1},drag:S({},e,{},t,{_isTap:!0,_delayedEvent:!1,tap:!1,swipe:[0,0]}),pinch:S({},e,{},n),wheel:S({},e,{},t),move:S({},e,{},t),scroll:S({},e,{},t)}}var T=function(e){return function(t,n,r){var o=e?"addEventListener":"removeEventListener";n.forEach((function(e){var n=e[0],i=e[1];return t[o](n,i,r)}))}};var k=T(!0),O=T(!1);function B(e){if("touches"in e){var t=e.touches,n=e.changedTouches;return t.length>0?t:n}return null}function L(e){var t="buttons"in e?e.buttons:0,n=B(e),r=n&&n.length||0;return S({touches:r,down:r>0||t>0,buttons:t},function(e){return{shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}(e))}function K(e){var t=e.currentTarget,n=t.scrollX,r=t.scrollY,o=t.scrollLeft,i=t.scrollTop;return{values:[n||o||0,r||i||0]}}function Z(e){return{values:[e.deltaX,e.deltaY]}}function W(e){var t=B(e),n=t?t[0]:e;return{values:[n.clientX,n.clientY]}}function I(e){return{values:[260*e.scale,e.rotation]}}function H(e){var t=e.touches,n=t[1].clientX-t[0].clientX,r=t[1].clientY-t[0].clientY;return{values:[Math.hypot(n,r),-180*Math.atan2(n,r)/Math.PI],origin:[(t[1].clientX+t[0].clientX)/2,(t[1].clientY+t[0].clientY)/2]}}var A=function(){var e=this;this.state=D(),this.timeouts={},this.domListeners=[],this.windowListeners={},this.bindings={},this.clean=function(){e.resetBindings(),Object.values(e.timeouts).forEach(clearTimeout),Object.keys(e.windowListeners).forEach((function(t){return e.removeWindowListeners(t)}))},this.resetBindings=function(){e.bindings={};var t=e.getDomTarget();t&&(O(t,e.domListeners,e.config.eventOptions),e.domListeners=[])},this.getDomTarget=function(){var t=e.config.domTarget;return t&&"current"in t?t.current:t},this.addWindowListeners=function(t,n){e.config.window&&(e.windowListeners[t]=n,k(e.config.window,n,e.config.eventOptions))},this.removeWindowListeners=function(t){if(e.config.window){var n=e.windowListeners[t];n&&(O(e.config.window,n,e.config.eventOptions),delete e.windowListeners[t])}},this.addDomTargetListeners=function(t){Object.entries(e.bindings).forEach((function(t){var n=t[0],r=t[1];e.domListeners.push([n.substr(2).toLowerCase(),E.apply(void 0,r)])})),k(t,e.domListeners,e.config.eventOptions)},this.addBindings=function(t,n){(Array.isArray(t)?t:[t]).forEach((function(t){e.bindings[t]?e.bindings[t].push(n):e.bindings[t]=[n]}))},this.getBindings=function(){var t={},n=e.config.captureString;
1return Object.entries(e.bindings).forEach((function(e){var r=e[0],o=e[1],i=Array.isArray(o)?o:[o];t[r+n]=E.apply(void 0,i)})),t},this.getBind=function(){if(e.config.domTarget){var t=e.getDomTarget();return t&&e.addDomTargetListeners(t),e.clean}return e.getBindings()}};function j(e,t,n,o){var i=r.useRef(),a=r.useRef();i.current||(i.current=new A),i.current.config=n,i.current.handlers=e,a.current=o,r.useEffect((function(){return i.current.clean}),[]);var s=r.useState((function(){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return i.current.resetBindings(),t.forEach((function(e){new e(i.current,n).addBindings()})),a.current&&Object.entries(a.current).forEach((function(e){var t=e[0],n=e[1];i.current.addBindings(t,n)})),i.current.getBind()}}));return s[0]}var R=function(){function e(e,t,n){var r=this;void 0===n&&(n=[]),this.stateKey=e,this.controller=t,this.args=n,this.setTimeout=function(e,t){var n;void 0===t&&(t=140);for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];r.controller.timeouts[r.stateKey]=(n=window).setTimeout.apply(n,[e,t].concat(i))},this.clearTimeout=function(){clearTimeout(r.controller.timeouts[r.stateKey])},this.addWindowListeners=function(e){r.controller.addWindowListeners(r.stateKey,e)},this.removeWindowListeners=function(){r.controller.removeWindowListeners(r.stateKey)},this.getStartGestureState=function(e,t){return S({},D()[r.stateKey],{_active:!0,values:e,initial:e,offset:r.state.offset,lastOffset:r.state.offset,startTime:t.timeStamp})},this.rubberband=function(e,t){var n=r.config.bounds;return e.map((function(e,r){return y(e,n[r][0],n[r][1],t[r])}))},this.fireGestureHandler=function(e){if(r.state._blocked)return r.state._active=!1,r.clean(),null;var t=r.state._intentional,n=t[0],o=t[1];if(!e&&!1===n&&!1===o)return null;var i=r.state,a=i._active,s=i.active;r.state.active=a,r.state.first=a&&!s,r.state.last=!a,r.controller.state.shared[r.ingKey]=a;var u=S({},r.controller.state.shared,{},r.state,{},r.mapStateValues(r.state)),c=r.handler(u);return r.state.memo=void 0!==c?c:r.state.memo,a||r.clean(),u}}var t,n,r,o=e.prototype;return o.updateSharedState=function(e){Object.assign(this.controller.state.shared,e)},o.updateGestureState=function(e){Object.assign(this.state,e)},o.getGenericPayload=function(e,t){var n=e.timeStamp,r=this.state,o=r.values,i=r.startTime;return{event:e,timeStamp:n,elapsedTime:t?0:n-i,args:this.args,previous:o}},o.checkIntentionality=function(e,t,n){return{_intentional:e,_blocked:!1}},o.getMovement=function(e,t){void 0===t&&(t=this.state);var n=this.config,r=n.initial,o=n.threshold,i=n.rubberband,a=o[0],s=o[1],u=t,d=u._initial,f=u._active,v=u._intentional,h=u.lastOffset,p=u.movement,m=v[0],y=v[1],b=this.getInternalMovement(e,t),w=b[0],x=b[1];!1===m&&(m=g(w,a)),!1===y&&(y=g(x,s));var M=this.checkIntentionality([m,y],[w,x],t),E=M._intentional,G=M._blocked,C=E[0],P=E[1],D=[w,x];if(!1!==C&&!1===v[0]&&(d[0]=_(r)[0]),!1!==P&&!1===v[1]&&(d[1]=_(r)[1]),G)return S({},M,{_movement:D});var T=[!1!==C?w-C:_(r)[0],!1!==P?x-P:_(r)[1]],k=c(T,h),O=f?i:[0,0];return S({},M,{_initial:d,_movement:D,movement:T=this.rubberband(c(T,d),O),offset:this.rubberband(k,O),delta:l(T,p)})},o.clean=function(){this.clearTimeout(),this.removeWindowListeners()},t=e,(n=[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}}])&&b(t.prototype,n),r&&b(t,r),e}(),F=function(e){function t(){return e.apply(this,arguments)||this}w(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return l(e,t.initial)},n.checkIntentionality=function(e,t,n){var r=e,o=r[0],i=r[1],a=!1!==o||!1!==i,s=n.axis,u=!1;if(a){var c=t.map(Math.abs),l=c[0],d=c[1],f=this.config,v=f.axis,h=f.lockDirection;if(s=s||(l>d?"x":l<d?"y":void 0),v||h)if(s)if(v&&s!==v)u=!0;else e["x"===s?1:0]=!1;else e=[!1,!1]}return{_intentional:e,_blocked:u,axis:s}},n.getKinematics=function(e,t){var n=this.state.timeStamp,r=this.getMovement(e,this.state),o=r._blocked,i=r.delta,a=r.movement;return o?r:S({values:e,delta:i},r,{},p(a,i,t.timeStamp-n))},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(R),V=function(e){function t(t,n){var r;return(r=e.call(this,"drag",t,n)||this).ingKey="dragging",r.dragShouldStart=function(e){var t=L(e).touches;return r.enabled&&t<2},r.setPointers=function(e){var t=e.currentTarget,n=e.pointerId;t&&t.setPointerCapture(n),r.updateGestureState({currentTarget:t,pointerId:n})},r.removePointers=function(){var e=r.state,t=e.currentTarget,n=e.pointerId;t&&t.releasePointerCapture(n)},r.setListeners=function(){r.removeWindowListeners();var e=[["touchmove",r.onDragChange],["touchend",r.onDragEnd],["touchcancel",r.onDragEnd],["mousemove",r.onDragChange],["mouseup",r.onDragEnd]];r.addWindowListeners(e)},r.onDragStart=function(e){r.dragShouldStart(e)&&(r.controller.config.pointer?r.setPointers(e):r.setListeners(),r.config.delay>0?(r.state._delayedEvent=!0,"function"==typeof e.persist&&e.persist(),r.setTimeout((function(){return r.startDrag(e)}),r.config.delay)):r.startDrag(e))},r.onDragChange=function(e){if(!r.state.canceled)if(r.state._active){var t=L(e);if(t.down){r.updateSharedState(t);var n=W(e).values,o=r.getKinematics(n,e),i=r.state._isTap;i&&v(o._movement)>=3&&(i=!1),r.updateGestureState(S({},r.getGenericPayload(e),{},o,{_isTap:i,cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}else r.onDragEnd(e)}else r.state._delayedEvent&&(r.clearTimeout(),r.startDrag(e))},r.onDragEnd=function(e){r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0});var t=r.state,n=t._isTap,o=t.values,i=t.velocities,a=i[0],s=i[1],u=t.movement,c=u[0],l=u[1],d=t._intentional,f=d[0],v=d[1],h=S({},r.getGenericPayload(e),{},r.getMovement(o)),p=h.elapsedTime,g=r.config,m=g.swipeVelocity,y=m[0],b=m[1],w=g.swipeDistance,x=w[0],M=w[1],E=[0,0];p<220&&(!1!==f&&Math.abs(a)>y&&Math.abs(c)>x&&(E[0]=Math.sign(a)),!1!==v&&Math.abs(s)>b&&Math.abs(l)>M&&(E[1]=Math.sign(s))),r.updateGestureState(S({event:e},h,{tap:n,swipe:E})),r.fireGestureHandler(r.config.filterTaps&&r.state._isTap)}
1,r.clean=function(){e.prototype.clean.call(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r)),r.state._delayedEvent=!1,r.controller.config.pointer&&r.removePointers()},r.onCancel=function(){r.updateGestureState({canceled:!0,cancel:M}),r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0}),requestAnimationFrame((function(){return r.fireGestureHandler()}))},r}w(t,e);var n=t.prototype;return n.startDrag=function(e){var t=this,n=W(e).values;this.updateSharedState(L(e));var r=S({},this.getStartGestureState(n,e),{},this.getGenericPayload(e,!0));this.updateGestureState(S({},r,{},this.getMovement(n,r),{cancel:function(){return t.onCancel()}})),this.fireGestureHandler()},n.addBindings=function(){this.controller.config.pointer?(this.controller.addBindings("onPointerDown",this.onDragStart),this.controller.addBindings("onPointerMove",this.onDragChange),this.controller.addBindings(["onPointerUp","onPointerCancel"],this.onDragEnd)):this.controller.addBindings(["onTouchStart","onMouseDown"],this.onDragStart)},t}(F);function N(){return"undefined"!=typeof window?window:void 0}function q(e){void 0===e&&(e={});var t={domTarget:void 0,eventOptions:{passive:!0,capture:!1,pointer:!1},window:N(),enabled:!0},n=t.eventOptions,r=t.window,o=x(t,["eventOptions","window"]),i=e,a=i.eventOptions,s=i.window,u=x(i,["eventOptions","window"]),c=S({},n,{},a),l=c.passive,d=c.capture,f=c.pointer;return S({},o,{},u,{window:s||r,eventOptions:{passive:!e.domTarget||!!l,capture:!!d},captureString:d?"Capture":"",pointer:!!f})}function z(e){var t=S({},{enabled:!0,initial:[0,0],threshold:void 0,rubberband:0},{},e),n=t.threshold,r=t.rubberband;return"boolean"==typeof r&&(r=r?.15:0),void 0===n&&(n=0),{enabled:t.enabled,initial:t.initial,threshold:G(n),rubberband:G(r)}}function Y(e){void 0===e&&(e={});var t={lockDirection:!1,axis:void 0,bounds:void 0},n=e,r=n.axis,o=n.lockDirection,i=n.bounds,a=void 0===i?{}:i,s=x(n,["axis","lockDirection","bounds"]),u=[[C(a.left,-1/0),C(a.right,1/0)],[C(a.top,-1/0),C(a.bottom,1/0)]];return S({},z(s),{},t,{},P({axis:r,lockDirection:o},e),{bounds:u})}function X(e){void 0===e&&(e={});var t=e,n=t.distanceBounds,r=void 0===n?{}:n,o=t.angleBounds,i=void 0===o?{}:o,a=x(t,["distanceBounds","angleBounds"]),s=[[C(r.min,-1/0),C(r.max,1/0)],[C(i.min,-1/0),C(i.max,1/0)]];return S({},z(a),{bounds:s})}function U(e){void 0===e&&(e={});var t=e,n=t.enabled,r=t.threshold,o=t.bounds,i=t.rubberband,a=t.initial,s=S({},{filterTaps:!1,swipeVelocity:.5,swipeDistance:60,delay:!1},{},x(t,["enabled","threshold","bounds","rubberband","initial"])),u=s.swipeVelocity,c=s.swipeDistance,l=s.delay,d=s.filterTaps,f=s.axis,v=s.lockDirection;void 0===r?r=Math.max(0,d?3:0,v||f?1:0):d=!0;var h=Y(P({enabled:n,threshold:r,bounds:o,rubberband:i,axis:f,lockDirection:v,initial:a},e));return S({},h,{filterTaps:d||h.threshold[0]+h.threshold[1]>0,swipeVelocity:G(u),swipeDistance:G(c),delay:"number"==typeof l?l:l?180:0})}var J=function(e){function t(){return e.apply(this,arguments)||this}w(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){var n=e[0],r=e[1],o=t.values,i=t.turns,a=t.initial,s=(r=void 0!==r?r:o[1])-o[1],u=Math.abs(s)>270?i+Math.sign(s):i;return[n-a[0],r-360*u-a[1]]},n.getKinematics=function(e,t){var n=this.state,r=n.timeStamp,o=n.initial,i=this.getMovement(e,this.state),a=i.delta,s=i.movement;return S({values:e,delta:a,turns:(e[1]-s[1]-o[1])/360},i,{},p(s,a,t.timeStamp-r))},n.mapStateValues=function(e){return{da:e.values,vdva:e.velocities}},t}(R),Q=function(e){function t(t,n){var r;return(r=e.call(this,"pinch",t,n)||this).ingKey="pinching",r.pinchShouldStart=function(e){var t=L(e).touches;return r.enabled&&2===t},r.onPinchStart=function(e){if(r.pinchShouldStart(e)){var t=H(e),n=t.values,o=t.origin;r.updateSharedState(L(e));var i=S({},r.getStartGestureState(n,e),{},r.getGenericPayload(e,!0));r.updateGestureState(S({},i,{},r.getMovement(n,i),{origin:o,cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}},r.onPinchChange=function(e){var t=r.state,n=t.canceled,o=t.timeStamp,i=t._active;if(!n&&i){var a=L(e);if(2===a.touches&&e.timeStamp!==o){r.updateSharedState(a);var s=H(e),u=s.values,c=s.origin,l=r.getKinematics(u,e);r.updateGestureState(S({},r.getGenericPayload(e),{},l,{origin:c,cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}}},r.onPinchEnd=function(e){r.state._active=!1,r.updateSharedState({down:!1,touches:0}),r.updateGestureState(S({event:e},r.getGenericPayload(e),{},r.getMovement(r.state.values))),r.fireGestureHandler()},r.onCancel=function(){r.state._active=!1,r.updateGestureState({canceled:!0,cancel:M}),r.updateSharedState({down:!1,touches:0}),requestAnimationFrame((function(){return r.fireGestureHandler()}))},r.onGestureStart=function(e){if(r.enabled){e.preventDefault();var t=I(e).values;r.updateSharedState(L(e));var n=S({},r.getStartGestureState(t,e),{},r.getGenericPayload(e,!0));r.updateGestureState(S({},n,{},r.getMovement(t,n),{cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}},r.onGestureChange=function(e){var t=r.state,n=t.canceled,o=t._active;if(!n&&o){e.preventDefault();var i=L(e);r.updateSharedState(i);var a=I(e).values,s=r.getKinematics(a,e);r.updateGestureState(S({},r.getGenericPayload(e),{},s,{cancel:function(){return r.onCancel()}})),r.fireGestureHandler()}},r.onGestureEnd=function(e){e.preventDefault(),r.state._active=!1,r.updateSharedState({down:!1,touches:0}),r.updateGestureState(S({event:e},r.getGenericPayload(e),{},r.getMovement(r.state.values))),r.fireGestureHandler()},r.updateTouchData=function(e){if(r.enabled&&2===e.touches.length){var t=H(e).origin;r.state.origin=t}},r.wheelShouldRun=function(e){return r.enabled&&e.ctrlKey},r.getWheelValuesFromEvent=function(e){var t=Z(e).values[1],n=r.state.values,o=n[0],i=n[1];return{values:[o-t,void 0!==i?i:0],origin:[e.clientX,e.clientY],delta:[0,t]}},r.onWheel=function(e){r.wheelShouldRun(e)&&(r.clearTimeout(),r.setTimeout(r.onWheelEnd),r.state._active?r.onWheelChange(e):r.onWheelStart(e))},r.onWheelStart=function(e){var t=r.getWheelValuesFromEvent(e),n=t.values,o=t.delta,i=t.origin;r.controller.config.eventOptions.passive||e.preventDefault(),r.updateSharedState(L(e));var a=S({},r.getStartGestureState(n,e),{},r.getGenericPayload(e,!0),{initial:r.state.values});r.updateGestureState(S({},a,{},r.getMovement(n,a),{offset:n,delta:o,origin:i})),r.fireGestureHandler()},r.onWheelChange=function(e){var t=L(e);r.updateSharedState(t);var n=r.getWheelValuesFromEvent(e),o=n.values,i=n.origin,a=n.delta,s=r.getKinematics(o,e);r.updateGestureState(S({},r.getGenericPayload(e),{},s,{origin:i,delta:a})),r.fireGestureHandler()},r.onWheelEnd=function(){r.state._active=!1,r.updateGestureState(r.getMovement(r.state.values)),r.fireGestureHandler()},r}return w(t,e),t.prototype.addBindings=function(){!function(){try{return"constructor"in GestureEvent}catch(e){return!1}}()?(this.controller.addBindings("onTouchStart",this.onPinchStart),this.controller.addBindings("onTouchMove",this.onPinchChange),this.controller.addBindings(["onTouchEnd","onTouchCancel"],this.onPinchEnd),this.controller.addBindings("onWheel",this.onWheel)):(this.controller.addBindings("onGestureStart",this.onGestureStart),this.controller.addBindings("onGestureChange",this.onGestureChange),this.controller.addBindings(["onGestureEnd","onTouchCancel"],this.onGestureEnd),this.controller.addBindings(["onTouchStart","onTouchMove"],this.updateTouchData))},t}(J);var $=function(e){function t(t,n){var r;return(r=e.call(this,"wheel",t,n)||this).ingKey="wheeling",r.wheelShouldRun=function(e){return(!e.ctrlKey||!("pinch"in r.controller.handlers))&&r.enabled},r.getValuesFromEvent=function(e){var t=r.state.values;return{values:c(Z(e).values,t)}},r.onWheel=function(e){r.wheelShouldRun(e)&&(r.clearTimeout(),r.setTimeout(r.onWheelEnd),r.state._active?r.onWheelChange(e):r.onWheelStart(e))},r.onWheelStart=function(e){var t=r.getValuesFromEvent(e).values;r.updateSharedState(L(e));var n=S({},r.getStartGestureState(t,e),{},r.getGenericPayload(e,!0),{initial:r.state.values}),o=r.getMovement(t,n),i=o.delta;r.updateGestureState(S({},n,{},o,{distance:v(i),direction:h(i)})),r.fireGestureHandler()},r.onWheelChange=function(e){var t=L(e);r.updateSharedState(t);var n=r.getValuesFromEvent(e).values,o=r.getKinematics(n,e);r.updateGestureState(S({},r.getGenericPayload(e),{},o)),r.fireGestureHandler()},r.onWheelEnd=function(){r.state._active=!1,r.updateGestureState(S({},r.getMovement(r.state.values),{velocities:[0,0],velocity:0})),r.fireGestureHandler()},r}return w(t,e),t.prototype.addBindings=function(){this.controller.addBindings("onWheel",this.onWheel)},t}(F);var ee=function(e){function t(t,n){var r;return(r=e.call(this,"move",t,n)||this).ingKey="moving",r.moveShouldRun=function(){return r.enabled},r.onMove=function(e){r.moveShouldRun()&&(r.clearTimeout(),r.setTimeout(r.onMoveEnd),r.state._active?r.onMoveChange(e):r.onMoveStart(e))},r.onMoveStart=function(e){var t=W(e).values;r.updateSharedState(L(e));var n=S({},r.getStartGestureState(t,e),{},r.getGenericPayload(e,!0));r.updateGestureState(S({},n,{},r.getMovement(t,n))),r.fireGestureHandler()},r.onMoveChange=function(e){var t=L(e);r.updateSharedState(t);var n=W(e).values,o=r.getKinematics(n,e);r.updateGestureState(S({},r.getGenericPayload(e),{},o)),r.fireGestureHandler()},r.onMoveEnd=function(){r.state._active=!1,r.updateGestureState(S({},r.getMovement(r.state.values),{velocities:[0,0],velocity:0})),r.fireGestureHandler()},r.onPointerEnter=function(e){if(r.controller.state.shared.hovering=!0,r.controller.config.enabled){if(r.controller.config.hover.enabled){var t=W(e).values,n=S({},r.controller.state.shared,{},r.state,{},r.getGenericPayload(e,!0),{values:t,active:!0,hovering:!0});r.controller.handlers.hover(S({},n,{},r.mapStateValues(n)))}"move"in r.controller.handlers&&r.onMoveStart(e)}},r.onPointerLeave=function(e){if(r.controller.state.shared.hovering=!1,r.controller.config.hover.enabled){var t=W(e).values,n=S({},r.controller.state.shared,{},r.state,{},r.getGenericPayload(e),{values:t,active:!1});r.controller.handlers.hover(S({},n,{},r.mapStateValues(n)))}"move"in r.controller.handlers&&r.onMoveEnd()},r}return w(t,e),t.prototype.addBindings=function(){this.controller.config.pointer?("move"in this.controller.handlers&&this.controller.addBindings("onPointerMove",this.onMove),"hover"in this.controller.handlers&&(this.controller.addBindings("onPointerEnter",this.onPointerEnter),this.controller.addBindings("onPointerLeave",this.onPointerLeave))):("move"in this.controller.handlers&&this.controller.addBindings("onMouseMove",this.onMove),"hover"in this.controller.handlers&&(this.controller.addBindings("onMouseEnter",this.onPointerEnter),this.controller.addBindings("onMouseLeave",this.onPointerLeave)))},t}(F);var te=function(e){function t(t,n){var r;return(r=e.call(this,"scroll",t,n)||this).ingKey="scrolling",r.scrollShouldRun=function(){return r.enabled},r.onScroll=function(e){r.scrollShouldRun()&&(r.clearTimeout(),r.setTimeout(r.onScrollEnd),r.state._active?r.onScrollChange(e):r.onScrollStart(e))},r.onScrollStart=function(e){var t=K(e).values;r.updateSharedState(L(e));var n=S({},r.getStartGestureState(t,e),{},r.getGenericPayload(e,!0),{initial:r.state.values}),o=r.getMovement(t,n),i=o.delta;r.updateGestureState(S({},n,{},o,{distance:v(i),direction:h(i)})),r.fireGestureHandler()},r.onScrollChange=function(e){var t=L(e);r.updateSharedState(t);var n=K(e).values,o=r.getKinematics(n,e);r.updateGestureState(S({},r.getGenericPayload(e),{},o)),r.fireGestureHandler()},r.onScrollEnd=function(){r.state._active=!1,r.updateGestureState(S({},r.getMovement(r.state.values),{velocities:[0,0],velocity:0})),r.fireGestureHandler()},r}return w(t,e),t.prototype.addBindings=function(){this.controller.addBindings("onScroll",this.onScroll)},t}(F);function ne(e,t,n){var r=t+"Start",o=t+"End";delete n[t],delete n[r],delete n[o];return function(n){var i=void 0;return n.first&&r in e&&e[r](n),t in e&&(i=e[t](n)),n.last&&o in e&&e[o](n),i}}
1var re,oe=n(6044),ie=n(78130),ae=n(51425),se=n(69137),ue=n(36427),ce=n(99375),le=se.ZP.button.attrs((function(){return{tabIndex:-1}}))(re||(re=(0,a.Z)(["\n background: ",";\n padding: 0;\n border: none;\n align-self: ",";\n cursor: pointer;\n"])),ce.UF,(function(e){return"next"===e.arrowDirection?"flex-start":"flex-end"}));function de(e){var t=e.onClick,n=e.arrowDirection;return r.createElement(le,{arrowDirection:n,onClick:t},r.createElement(ue.Z,{rotate:"next"===n?0:180,arrowFill:ce.Ej,backgroundFill:ce.Yy}))}var fe,ve,he,pe=n(826),ge=n(43144),me="click",ye=function(){function e(e){var t=this;this._nextClickPrevented=!1,this.clickHandler=function(e){e.preventDefault(),e.stopPropagation(),t.cancel()},this.root=e,e||"undefined"==typeof window||(this.root=window)}var t=e.prototype;return t.preventNextClick=function(){void 0!==this.root&&(this._nextClickPrevented||(this._nextClickPrevented=!0,this.root.addEventListener(me,this.clickHandler,!0)))},t.cancel=function(){this._nextClickPrevented=!1,void 0!==this.root&&this.root.removeEventListener(me,this.clickHandler,!0)},(0,ge.Z)(e,[{key:"nextClickPrevented",get:function(){return this._nextClickPrevented}}]),e}(),be="NEXT",Se="PREVIOUS",we=r.memo(se.ZP.div.withConfig({componentId:"carouselContainer"})(fe||(fe=(0,a.Z)(["\n overflow: hidden;\n position: relative;\n width: 100%;\n height: ",";\n"])),(function(e){var t=e.size;return t?Math.ceil(1.3*t.height)+"px":"500px"})));we.displayName="CarouselContainer";var xe=(0,se.ZP)(s.q.div).withConfig({componentId:"carouselInnerContainer"})(ve||(ve=(0,a.Z)(["\n display: flex;\n position: absolute;\n outline: none;\n top: ",";\n left: 0;\n min-width: 100%;\n"])),(function(e){var t=e.size;return t?Math.ceil((Math.ceil(1.3*t.height)-t.height)/2)+"px":"75px"})),Me=se.ZP.div.attrs((function(){var e;return(e={})["aria-hidden"]=!0,e})).withConfig({componentId:"carouselButtonsContainer"})(he||(he=(0,a.Z)(["\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n position: absolute;\n width: 0px;\n height: 74px;\n top: 50%;\n right: 25px;\n margin-top: -37px;\n outline: 0;\n"]))),Ee=function(e){return"carousel-child-"+e},Ge=function(e){var t;return parseInt(null!==(t=null==e?void 0:e.split("-").pop())&&void 0!==t?t:"-1",10)},Ce=function(e){var t=e.index,n=e.goto,o=e.children,i=Ee(t),a=(0,r.useCallback)((function(){return n(t)}),[n,t]),s=(0,r.useCallback)((function(e){"Tab"===e.key&&e.preventDefault()}),[]);return r.createElement(ae.M,{id:i,onFocus:a,onKeyPress:s},o)};function Pe(e){var t=e.children,n=(0,ie.Z)(null),o=n[0],i=n[1],a=(0,oe.Z)(o),s=r.Children.count(t),c=Math.ceil(a.width/s),l=(0,r.useRef)(0),d=(0,r.useState)(l.current<s-1),f=d[0],v=d[1],h=(0,r.useState)(l.current>0),p=h[0],g=h[1],m=(0,r.useMemo)((function(){return new ye}),[]),y=(0,r.useRef)(!1),b=(0,u.q_)((function(){return{x:0}})),w=b[0],M=b[1],E=(0,r.useCallback)((function(e){var t=e*-c,n=t-c,r=t+c;return w.x.to((function(e){return e===t?.5:e<=n?0:e>=r?1:(e-n)/(r-n)}))}),[w,c]),G=(0,r.useCallback)((function(e){switch(e){case be:l.current+=1;break;case Se:l.current-=1;break;case"FIRST":l.current=0;break;case"LAST":l.current=s-1;break;default:l.current=e}var t,n,r;l.current=(t=l.current,n=0,r=s-1,Math.max(n,Math.min(r,t))),M({x:l.current*-c}),g(0!==l.current),v(l.current!==s-1)}),[l,M,c,s]),C=(0,r.useMemo)((function(){return{activeStateProgress:E,goto:G}}),[E,G]),P=function(e,t){void 0===t&&(t={});var n=r.useState((function(){return new Set(Object.keys(e).map((function(e){return e.replace(/End|Start/,"")})))}))[0],o=t,i=o.drag,a=o.wheel,s=o.move,u=o.scroll,c=o.pinch,l=o.hover,d=q(x(o,["drag","wheel","move","scroll","pinch","hover"])),f=[],v={},h=S({},e);return n.has("onDrag")&&(f.push(V),v.drag=ne(e,"onDrag",h),d.drag=U(i)),n.has("onWheel")&&(f.push($),v.wheel=ne(e,"onWheel",h),d.wheel=Y(a)),n.has("onScroll")&&(f.push(te),v.scroll=ne(e,"onScroll",h),d.scroll=Y(u)),n.has("onMove")&&(f.push(ee),v.move=ne(e,"onMove",h),d.move=Y(s)),n.has("onPinch")&&(f.push(Q),v.pinch=ne(e,"onPinch",h),d.pinch=X(c)),n.has("onHover")&&(n.has("onMove")||f.push(ee),v.hover=e.onHover,d.hover=S({enabled:!0},l),delete h.onHover),j(v,f,d,h)}((0,r.useMemo)((function(){return{onMouseDown:function(e){e.preventDefault()},onDrag:function(e){var t,n=e.down,r=e.swipe,o=e.movement[0];n?(null===(t=event)||void 0===t||t.preventDefault(),m.preventNextClick(),M({x:o,immediate:!0})):r&&r[0]?G(1===r[0]?Se:be):G(Math.round(Math.abs(o/c)))},onWheel:function(e){var t=e.event,n=e.movement[0],r=e.delta,o=r[0],i=r[1];y.current||(y.current=Math.abs(i)-Math.abs(o)>3,y.current?G(Math.round(Math.abs(n/c))):(null==t||t.preventDefault(),M({x:-n,immediate:!0})))},onWheelEnd:function(e){var t=e.movement[0];y.current?y.current=!1:G(Math.round(Math.abs(t/c)))}}}
1),[m,G,M,c]),(0,r.useMemo)((function(){return{domTarget:o,eventOptions:{passive:!1},drag:{axis:"x",bounds:{left:(s-1)*-c,right:0},filterTaps:!0,initial:function(){return[w.x.get(),0]},rubberband:!0},wheel:{lockDirection:!0,bounds:{left:0,right:(s-1)*c},initial:function(){return[-w.x.get(),0]},rubberband:!0}}}),[o,c,s,w]));(0,r.useEffect)((function(){P()}),[P]);var _=(0,r.useCallback)((function(){return G(be)}),[G]),D=(0,r.useCallback)((function(){return G(Se)}),[G]),T=(0,r.useCallback)((function(e,t){switch(e.key){case"Tab":e.shiftKey?t.focusPrevious({preventScroll:!0})&&(e.defaultPrevented||e.preventDefault()):t.focusNext({preventScroll:!0})&&(e.defaultPrevented||e.preventDefault());break;case"ArrowRight":e.preventDefault();var n=t.getFocusedElement(!0);if(n){var r=t.findClosestManager(n);if(r){var o=Ge(r.id);if(o>=0){var i=t.findManagerById(Ee(o+1));i&&i.focusFirst({preventScroll:!0})}}}break;case"ArrowLeft":e.preventDefault();var a=t.getFocusedElement(!0);if(a){var s=t.findClosestManager(a);if(s){var u=Ge(s.id);if(u>0){var c=t.findManagerById(Ee(u-1));c&&c.focusFirst({preventScroll:!0})}}}}}),[]);return r.createElement(pe.Z.Provider,{value:C},r.createElement(we,{size:a},r.createElement(ae.M,{as:xe,onKeyPress:T,ref:i,size:a,style:{transform:w.x.to((function(e){return"translateX("+e+"px)"}))}},r.Children.map(t,(function(e,t){return r.createElement(Ce,{key:Ee(t),index:t,goto:G},e)}))),r.createElement(Me,null,f&&r.createElement(de,{onClick:_,arrowDirection:"next"}),p&&r.createElement(de,{onClick:D,arrowDirection:"prev"}))))}function _e(e,t){return new Date(t).valueOf()-new Date(e).valueOf()}function De(e){if(!e)return r.createElement("div",null);var t=(e=e.slice(0,15)).sort((function(e,t){return _e(e.publicationDate,t.publicationDate)}));return r.createElement(Pe,null,t.map((function(e,t){return r.createElement(i.Z,Object.assign({key:t,index:t},e))})))}function Te(){return r.createElement(o.Z,null,De)}},17571:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(67294),o=n(40156),i=o.default.lib({resolved:{},chunkName:function(){return"latest-posts"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return n.e(5857).then(n.bind(n,75088))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then((function(e){return t.resolved[n]=!0,e}))},requireSync:function e(t){var r=this.resolve(t);return n(r)},resolve:function e(){return 75088}}),a=function(e){return(0,e.children)((0,e.useLatestPosts)())};function s(e){var t=e.children;return r.createElement(i,null,(function(e){var n=e.default;return r.createElement(a,{useLatestPosts:n},t)}))}},63405:function(e,t,n){var r=n(73897);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},56690:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},89728:function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},79498:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},42281:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},70215:function(e,t,n){var r=n(7071);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},7071:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,n){var r=n(63405),o=n(79498),i=n(86116),a=n(42281);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports}}]); 2//# sourceMappingURL=carousel-with-items-fca53a2913fbfaf8d4ad.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.