1"use strict";(self.webpackChunksimon_community=self.webpackChunksimon_community||[]).push([[791],{7382:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var r=n(6540),o=n(9291),i=n(2532);const c=e=>{let{selected:t,onClick:n}=e;return r.createElement("button",{className:"my-2 ml-2 h-4 w-4 rounded-full border embla__dot"+(t?" is-selected border-brand-orange bg-brand-orange hover:text-white":" border-brand-light-blue bg-white"),onClick:n},r.createElement("span",{className:"sr-only"},"dot button"))},s=e=>{let{enabled:t,onClick:n}=e;return r.createElement("button",{className:"absolute left-0 flex h-10 w-10 justify-center rounded-full bg-white/50 text-brand-blue shadow hover:bg-brand-orange hover:text-white focus:outline-none md:-mt-5 md:-ml-3",onClick:n,disabled:!t,style:{top:"50%"}},r.createElement("div",{className:"sr-only"},"Previous"),r.createElement("svg",{className:"mt-2 h-6",fill:"currentColor",viewBox:"137.718 -1.001 366.563 644"},r.createElement("path",{d:"M428.36 12.5c16.67-16.67 43.76-16.67 60.42 0 16.67 16.67 16.67 43.76 0 60.42L241.7 320c148.25 148.24 230.61 230.6 247.08 247.08 16.67 16.66 16.67 43.75 0 60.42-16.67 16.66-43.76 16.67-60.42 0-27.72-27.71-249.45-249.37-277.16-277.08a42.308 42.308 0 0 1-12.48-30.34c0-11.1 4.1-22.05 12.48-30.42C206.63 234.23 400.64 40.21 428.36 12.5z"})))},a=e=>{let{enabled:t,onClick:n}=e;return r.createElement("button",{className:"absolute right-0 flex h-10 w-10 justify-center rounded-full bg-white/50 text-brand-blue shadow hover:bg-brand-orange hover:text-white focus:outline-none md:-mt-5 md:-mr-3",onClick:n,disabled:!t,style:{to
vendor: 6,293 bytes, line 1
1p:"50%"}},r.createElement("div",{className:"sr-only"},"Next"),r.createElement("svg",{className:"mt-2 h-6",fill:"currentColor",viewBox:"0 0 238.003 238.003"},r.createElement("path",{d:"M181.776 107.719L78.705 4.648c-6.198-6.198-16.273-6.198-22.47 0s-6.198 16.273 0 22.47l91.883 91.883-91.883 91.883c-6.198 6.198-6.198 16.273 0 22.47s16.273 6.198 22.47 0l103.071-103.039a15.741 15.741 0 0 0 4.64-11.283c0-4.13-1.526-8.199-4.64-11.313z"})))};function l(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)||Array.isArray(e)}function u(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;return JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{const r=e[n],o=t[n];return"function"==typeof r?`${r}`==`${o}`:l(r)&&l(o)?u(r,o):r===o})}function d(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function f(e){return"number"==typeof e}function m(e){return"string"==typeof e}function p(e){return"boolean"==typeof e}function g(e){return"[object Object]"===Object.prototype.toString.call(e)}function h(e){return Math.abs(e)}function y(e){return Math.sign(e)}function x(e,t){return h(e-t)}function b(e){return S(e).map(Number)}function v(e){return e[k(e)]}function k(e){return Math.max(0,e.length-1)}function w(e,t){return t===k(e)}function E(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function S(e){return Object.keys(e)}function L(e,t){return[e,t].reduce((e,t)=>(S(t).forEach(n=>{const r=e[n],o=t[n],i=g(r)&&g(o);e[n]=i?L(r,o):o}),e),{})}function O(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function C(){let e=[];const t={add:function(n,r,o,i={passive:!0}){let c;if("addEventListener"in n)n.addEventListener(r,o,i),c=()=>n.removeEventListener(r,o,i);else{const e=n;e.addListener(o),c=()=>e.removeListener(o)}return e.push(c),t},clear:function(){e=e.filter(e=>e())}};return t}function j(e,t,n,r){const o=C(),i=1e3/60;let c=null,s=0,a=0;function l(e){if(!a)return;c||(c=e,n(),n());const o=e-c;for(c=e,s+=o;s>=i;)n(),s-=i;r(s/i),a&&(a=t.requestAnimationFrame(l))}function u(){t.cancelAnimationFrame(a),c=null,s=0,a=0}return{init:function(){o.add(e,"visibilitychange",()=>{e.hidden&&(c=null,s=0)})},destroy:function(){u(),o.clear()},start:function(){a||(a=t.requestAnimationFrame(l))},stop:u,update:n,render:r}}function I(e=0,t=0){const n=h(e-t);function r(t){return t<e}function o(e){return e>t}function i(e){return r(e)||o(e)}return{length:n,max:t,min:e,constrain:function(n){return i(n)?r(n)?e:t:n},reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function N(e,t,n){const{constrain:r}=I(0,e),o=e+1;let i=c(t);function c(e){return n?h((o+e)%o):r(e)}function s(){return i}function a(){return N(e,s(),n)}const l={get:s,set:function(e){return i=c(e),l},add:function(e){return a().set(s()+e)},clone:a};return l}function T(e,t,n,r,o,i,c,s,a,l,u,d,f,m,g,b,v,k,w){const{cross:E,direction:S}=e,L=["INPUT","SELECT","TEXTAREA"],j={passive:!1},N=C(),T=C(),D=I(50,225).constrain(m.measure(20)),F={mouse:300,touch:400},M={mouse:500,touch:600},A=g?43:25;let P=!1,z=0,R=0,H=!1,_=!1,V=!1,B=!1;function $(e){if(!O(e,r)&&e.touches.length>=2)return G(e);const t=i.readPoint(e),n=i.readPoint(e,E),c=x(t,z),a=x(n,R);if(!_&&!B){if(!e.cancelable)return G(e);if(_=c>a,!_)return G(e)}const u=i.pointerMove(e);c>b&&(V=!0),l.useFriction(.3).useDuration(.75),s.start(),o.add(S(u)),e.preventDefault()}function G(e){const t=u.byDistance(0,!1).index!==d.get(),n=i.pointerUp(e)*(g?M:F)[B?"mouse":"touch"],r=function(e,t){const n=d.add(-1*y(e)),r=u.byDistance(e,!g).distance;return g||h(e)<D?r:v&&t?.5*r:u.byIndex(n.get(),0).distance}(S(n),t),o=function(e,t){if(0===e||0===t)return 0;if(h(e)<=h(t))return 0;const n=x(h(e),h(t));return h(n/e)}(n,r),c=A-10*o,s=k+o/50;_=!1,H=!1,T.clear(),l.useDuration(c).useFriction(s),a.distance(r,!g),B=!1,f.emit("pointerUp")}function U(e){V&&(e.stopPropagation(),e.preventDefault(),V=!1)}return{init:function(e){if(!w)return;function s(s){(p(w)||w(e,s))&&function(e){const s=O(e,r);if(B=s,V=g&&s&&!e.buttons&&P,P=x(o.get(),c.get())>=2,s&&0!==e.button)return;if(function(e){const t=e.nodeName||"";return L.includes(t)}(e.target))return;H=!0,i.pointerDown(e),l.useFriction(0).useDuration(0),o.set(c),function(){const e=B?n:t;T.add(e,"touchmove",$,j).add(e,"touchend",G).add(e,"mousemove",$,j).add(e,"mouseup",G)}(),z=i.readPoint(e),R=i.readPoint(e,E),f.emit("pointerDown")}(s)}const a=t;N.add(a,"dragstart",e=>e.preventDefault(),j).add(a,"touchmove",()=>{},j).add(a,"touchend",()=>{}).add(a,"touchstart",s).add(a,"mousedown",s).add(a,"touchcancel",G).add(a,"contextmenu",G).add(a,"click",U,!0)},destroy:function(){N.clear(),T.clear()},pointerDown:function(){return H}}}function D(e,t){let n,r;function o(e){return e.timeStamp}function i(n,r){const o="client"+("x"===(r||e.scroll)?"X":"Y");return(O(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,i(e)},pointerMove:function(e){const t=i(e)-i(r),c=o(e)-o(n)>170;return r=e,c&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;const t=i(r)-i(n),c=o(e)-o(n),s=o(e)-o(r)>170,a=t/c;return c&&!s&&h(a)>.1?a:0},readPoint:i}}function F(e,t,n,r,o,i,c){const s=[e].concat(r);let a,l,u=[],d=!1;function f(e){return o.measureSize(c.measure(e))}return{init:function(o){i&&(l=f(e),u=r.map(f),a=new ResizeObserver(n=>{(p(i)||i(o,n))&&function(n){for(const i of n){if(d)return;const n=i.target===e,c=r.indexOf(i.target),s=n?l:u[c];if(h(f(n?e:r[c])-s)>=.5){o.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{s.forEach(e=>a.observe(e))}))},destroy:function(){d=!0,a&&a.disconnect()}}}function M(e,t,n,r,o){const i=o.measure(10),c=o.measure(50),s=I(.1,.99);let a=!1;function l(){return!a&&(!!e.reachedAny(n.get())&&!!e.reachedAny(t.get()))}return{shouldConstrain:l,constrain:function(o){if(!l())return;const a=e.reachedMin(t.get())?"min":"max",u=h(e[a]-t.get()),d=n.get()-t.get(),f=s.constrain(u/c);n.subtract(d*f),!o&&h(d)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){a=!e}}}function A(e,t,n,r){const o=t.min+.1,i=t.max+.1,{reachedMin:c,reachedMax:s}=I(o,i);return{loop:function(t){if(!function(e){return 1===e?s(n.get()):-1===e&&c(n.get())}(t))return;const o=e*(-1*t);
1r.forEach(e=>e.add(o))}}}function P(e,t,n,r,o){const{reachedAny:i,removeOffset:c,constrain:s}=r;function a(e){return e.concat().sort((e,t)=>h(e)-h(t))[0]}function l(t,r){const o=[t,t+n,t-n];if(!e)return t;if(!r)return a(o);const i=o.filter(e=>y(e)===r);return i.length?a(i):v(o)-n}return{byDistance:function(n,r){const a=o.get()+n,{index:u,distance:d}=function(n){const r=e?c(n):s(n),o=t.map((e,t)=>({diff:l(e-r,0),index:t})).sort((e,t)=>h(e.diff)-h(t.diff)),{index:i}=o[0];return{index:i,distance:r}}(a),f=!e&&i(a);return!r||f?{index:u,distance:n}:{index:u,distance:n+l(t[u]-d,0)}},byIndex:function(e,n){return{index:e,distance:l(t[e]-o.get(),n)}},shortcut:l}}function z(e,t,n,r,o,i,c,s){const a={passive:!0,capture:!0};let l=0;function u(e){"Tab"===e.code&&(l=(new Date).getTime())}return{init:function(d){s&&(i.add(document,"keydown",u,!1),t.forEach((t,u)=>{i.add(t,"focus",t=>{(p(s)||s(d,t))&&function(t){if((new Date).getTime()-l>10)return;c.emit("slideFocusStart"),e.scrollLeft=0;const i=n.findIndex(e=>e.includes(t));f(i)&&(o.useDuration(0),r.index(i,0),c.emit("slideFocus"))}(u)},a)}))}}}function R(e){let t=e;function n(e){return f(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function H(e,t){const n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style;let o=null,i=!1;return{clear:function(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;const c=(s=e.direction(t),Math.round(100*s)/100);var s;c!==o&&(r.transform=n(c),o=c)},toggleActive:function(e){i=!e}}}function _(e,t,n,r,o,i,c,s,a){const l=b(o),u=b(o).reverse(),d=function(){const e=c[0];return p(m(u,e),n,!1)}().concat(function(){const e=t-c[0]-1;return p(m(l,e),-n,!0)}());function f(e,t){return e.reduce((e,t)=>e-o[t],t)}function m(e,t){return e.reduce((e,n)=>f(e,t)>0?e.concat([n]):e,[])}function p(o,c,l){const u=function(e){return i.map((n,o)=>({start:n-r[o]+.5+e,end:n+t-.5+e}))}(c);return o.map(t=>{const r=l?0:-n,o=l?n:0,i=l?"end":"start",c=u[t][i];return{index:t,loopPoint:c,slideLocation:R(-1),translate:H(e,a[t]),target:()=>s.get()>c?r:o}})}return{canLoop:function(){return d.every(({index:e})=>f(l.filter(t=>t!==e),t)<=.1)},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{const{target:t,translate:n,slideLocation:r}=e,o=t();o!==r.get()&&(n.to(o),r.set(o))})},loopPoints:d}}function V(e,t,n){let r,o=!1;return{init:function(i){n&&(r=new MutationObserver(e=>{o||(p(n)||n(i,e))&&function(e){for(const n of e)if("childList"===n.type){i.reInit(),t.emit("slidesChanged");break}}(e)}),r.observe(e,{childList:!0}))},destroy:function(){r&&r.disconnect(),o=!0}}}function B(e,t,n,r){const o={};let i,c=null,s=null,a=!1;return{init:function(){i=new IntersectionObserver(e=>{a||(e.forEach(e=>{const n=t.indexOf(e.target);o[n]=e}),c=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),a=!0},get:function(e=!0){if(e&&c)return c;if(!e&&s)return s;const t=function(e){return S(o).reduce((t,n)=>{const r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t},[])}(e);return e&&(c=t),e||(s=t),t}}}function $(e,t,n,r,o,i,c,s,a){const{startEdge:l,endEdge:u,direction:d}=e,m=f(n);return{groupSlides:function(e){return m?function(e,t){return b(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}(e,n):function(e){return e.length?b(e).reduce((n,f,m)=>{const p=v(n)||0,g=0===p,y=f===k(e),x=o[l]-i[p][l],b=o[l]-i[f][u],w=!r&&g?d(c):0,E=h(b-(!r&&y?d(s):0)-(x+w));return m&&E>t+a&&n.push(f),y&&n.push(e.length),n},[]).map((t,n,r)=>{const o=Math.max(r[n-1]||0);return e.slice(o,t)}):[]}(e)}}}function G(e,t,n,r,o,i,c){const{align:s,axis:a,direction:l,startIndex:u,loop:d,duration:f,dragFree:p,dragThreshold:g,inViewThreshold:S,slidesToScroll:L,skipSnaps:O,containScroll:G,watchResize:U,watchSlides:W,watchDrag:q,watchFocus:J}=i,Q={measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;
1return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}},X=Q.measure(t),Y=n.map(Q.measure),K=function(e,t){const n="rtl"===t,r="y"===e,o=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){const{height:t,width:n}=e;return r?t:n},direction:function(e){return e*o}}}(a,l),Z=K.measureSize(X),ee=function(e){return{measure:function(t){return e*(t/100)}}}(Z),te=function(e,t){const n={start:function(){return 0},center:function(e){return r(e)/2},end:r};function r(e){return t-e}return{measure:function(r,o){return m(e)?n[e](r):e(t,r,o)}}}(s,Z),ne=!d&&!!G,re=d||!!G,{slideSizes:oe,slideSizesWithGaps:ie,startGap:ce,endGap:se}=function(e,t,n,r,o,i){const{measureSize:c,startEdge:s,endEdge:a}=e,l=n[0]&&o,u=function(){if(!l)return 0;const e=n[0];return h(t[s]-e[s])}(),d=function(){if(!l)return 0;const e=i.getComputedStyle(v(r));return parseFloat(e.getPropertyValue(`margin-${a}`))}(),f=n.map(c),m=n.map((e,t,n)=>{const r=!t,o=w(n,t);return r?f[t]+u:o?f[t]+d:n[t+1][s]-e[s]}).map(h);return{slideSizes:f,slideSizesWithGaps:m,startGap:u,endGap:d}}(K,X,Y,n,re,o),ae=$(K,Z,L,d,X,Y,ce,se,2),{snaps:le,snapsAligned:ue}=function(e,t,n,r,o){const{startEdge:i,endEdge:c}=e,{groupSlides:s}=o,a=s(r).map(e=>v(e)[c]-e[0][i]).map(h).map(t.measure),l=r.map(e=>n[i]-e[i]).map(e=>-h(e)),u=s(l).map(e=>e[0]).map((e,t)=>e+a[t]);return{snaps:l,snapsAligned:u}}(K,te,X,Y,ae),de=-v(le)+v(ie),{snapsContained:fe,scrollContainLimit:me}=function(e,t,n,r,o){const i=I(-t+e,0),c=n.map((e,t)=>{const{min:r,max:o}=i,c=i.constrain(e),s=!t,l=w(n,t);return s?o:l||a(r,c)?r:a(o,c)?o:c}).map(e=>parseFloat(e.toFixed(3))),s=function(){const e=c[0],t=v(c);return I(c.lastIndexOf(e),c.indexOf(t)+1)}();function a(e,t){return x(e,t)<=1}return{snapsContained:function(){if(t<=e+o)return[i.max];if("keepSnaps"===r)return c;const{min:n,max:a}=s;return c.slice(n,a)}(),scrollContainLimit:s}}(Z,de,ue,G,2),pe=ne?fe:ue,{limit:ge}=function(e,t,n){const r=t[0];return{limit:I(n?r-e:v(t),r)}}(de,pe,d),he=N(k(pe),u,d),ye=he.clone(),xe=b(n),be=j(r,o,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(Fe),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:o,scrollLooper:i,slideLooper:c,dragHandler:s,animation:a,eventHandler:l,scrollBounds:u,options:{loop:d}},f)=>{const m=e.settled(),p=!u.shouldConstrain(),g=d?m:m&&p,h=g&&!s.pointerDown();h&&a.stop();const y=n.get()*f+o.get()*(1-f);r.set(y),d&&(i.loop(e.direction()),c.loop()),t.to(r.get()),h&&l.emit("settle"),g||l.emit("scroll")})(Fe,e)),ve=pe[he.get()],ke=R(ve),we=R(ve),Ee=R(ve),Se=R(ve),Le=function(e,t,n,r,o,i){let c=0,s=0,a=o,l=i,u=e.get(),d=0;function f(e){return a=e,p}function m(e){return l=e,p}const p={direction:function(){return s},duration:function(){return a},velocity:function(){return c},seek:function(){const t=r.get()-e.get();let o=0;return a?(n.set(e),c+=t/a,c*=l,u+=c,e.add(c),o=u-d):(c=0,n.set(r),e.set(r),o=t),s=y(o),d=u,p},settled:function(){return h(r.get()-t.get())<.001},useBaseFriction:function(){return m(i)},useBaseDuration:function(){return f(o)},useFriction:m,useDuration:f};return p}(ke,Ee,we,Se,f,.68),Oe=P(d,pe,de,ge,Se),Ce=function(e,t,n,r,o,i,c){function s(o){const s=o.distance,a=o.index!==t.get();
vendor: 5,191 bytes, line 1
1i.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),a&&(n.set(t.get()),t.set(o.index),c.emit("select"))}return{distance:function(e,t){s(o.byDistance(e,t))},index:function(e,n){const r=t.clone().set(e);s(o.byIndex(r.get(),n))}}}(be,he,ye,Le,Oe,Se,c),je=function(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}(ge),Ie=C(),Ne=B(t,n,c,S),{slideRegistry:Te}=function(e,t,n,r,o,i){const{groupSlides:c}=o,{min:s,max:a}=r;return{slideRegistry:function(){const r=c(i),o=!e||"keepSnaps"===t;return 1===n.length?[i]:o?r:r.slice(s,a).map((e,t,n)=>{const r=!t,o=w(n,t);return r?E(v(n[0])+1):o?E(k(i)-v(n)[0]+1,v(n)[0]):e})}()}}(ne,G,pe,me,ae,xe),De=z(e,n,Te,Ce,Le,Ie,c,J),Fe={ownerDocument:r,ownerWindow:o,eventHandler:c,containerRect:X,slideRects:Y,animation:be,axis:K,dragHandler:T(K,e,r,o,Se,D(K,o),ke,be,Ce,Le,Oe,he,c,ee,p,g,O,.68,q),eventStore:Ie,percentOfView:ee,index:he,indexPrevious:ye,limit:ge,location:ke,offsetLocation:Ee,previousLocation:we,options:i,resizeHandler:F(t,c,o,n,K,U,Q),scrollBody:Le,scrollBounds:M(ge,Ee,Se,Le,ee),scrollLooper:A(de,ge,Ee,[ke,Ee,we,Se]),scrollProgress:je,scrollSnapList:pe.map(je.get),scrollSnaps:pe,scrollTarget:Oe,scrollTo:Ce,slideLooper:_(K,Z,de,oe,ie,le,pe,Ee,n),slideFocus:De,slidesHandler:V(t,c,W),slidesInView:Ne,slideIndexes:xe,slideRegistry:Te,slidesToScroll:ae,target:Se,translate:H(K,t)};return Fe}const U={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function W(e){function t(e,t){return L(e,t||{})}const n={mergeOptions:t,optionsAtMedia:function(n){const r=n.breakpoints||{},o=S(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,o)},optionsMediaQueries:function(t){return t.map(e=>S(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}};return n}function q(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=W(o),c=function(e){let t=[];return{init:function(n,r){return t=r.filter(({options:t})=>!1!==e.optionsAtMedia(t).active),t.forEach(t=>t.init(n,e)),r.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){t=t.filter(e=>e.destroy())}}}(i),s=C(),a=function(){let e,t={};function n(e){return t[e]||[]}const r={init:function(t){e=t},emit:function(t){return n(t).forEach(n=>n(e,t)),r},off:function(e,o){return t[e]=n(e).filter(e=>e!==o),r},on:function(e,o){return t[e]=n(e).concat([o]),r},clear:function(){t={}}};return r}(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:f,off:p,emit:g}=a,h=j;let y,x,b,v,k=!1,w=l(U,q.globalOptions),E=l(w),S=[];function L(t){const n=G(e,b,v,r,o,t,a);if(t.loop&&!n.slideLooper.canLoop()){return L(Object.assign({},t,{loop:!1}))}return n}function O(t,n){k||(w=l(w,t),E=u(w),S=n||S,function(){const{container:t,slides:n}=E,r=m(t)?e.querySelector(t):t;b=r||e.children[0];const o=m(n)?b.querySelectorAll(n):n;v=[].slice.call(o||b.children)}(),y=L(E),d([w,...S.map(({options:e})=>e)]).forEach(e=>s.add(e,"change",j)),E.active&&(y.translate.to(y.location.get()),y.animation.init(),y.slidesInView.init(),y.slideFocus.init(D),y.eventHandler.init(D),y.resizeHandler.init(D),y.slidesHandler.init(D),y.options.loop&&y.slideLooper.loop(),b.offsetParent&&v.length&&y.dragHandler.init(D),x=c.init(D,S)))}function j(e,t){const n=T();I(),O(l({startIndex:n},e),t),a.emit("reInit")}function I(){y.dragHandler.destroy(),y.eventStore.clear(),y.translate.clear(),y.slideLooper.clear(),y.resizeHandler.destroy(),y.slidesHandler.destroy(),y.slidesInView.destroy(),y.animation.destroy(),c.destroy(),s.clear()}function N(e,t,n){E.active&&!k&&(y.scrollBody.useBaseFriction().useDuration(!0===t?0:E.duration),y.scrollTo.index(e,n||0))}function T(){return y.index.get()}const D={canScrollNext:function(){return y.index.add(1).get()!==T()},canScrollPrev:function(){return y.index.add(-1).get()!==T()},containerNode:function(){return b},internalEngine:function(){return y},destroy:function(){k||(k=!0,s.clear(),I(),a.emit("destroy"),a.clear())},off:p,on:f,emit:g,plugins:function(){return x},previousScrollSnap:function(){return y.indexPrevious.get()},reInit:h,rootNode:function(){return e},scrollNext:function(e){N(y.index.add(1).get(),e,-1)},scrollPrev:function(e){N(y.index.add(-1).get(),e,1)},scrollProgress:function(){return y.scrollProgress.get(y.offsetLocation.get())},scrollSnapList:function(){return y.scrollSnapList},scrollTo:N,selectedScrollSnap:T,slideNodes:function(){return v},slidesInView:function(){return y.slidesInView.get()},slidesNotInView:function(){return y.slidesInView.get(!1)}};return O(t,n),setTimeout(()=>a.emit("init"),0),D}function J(e={},t=[]){const n=(0,r.useRef)(e),o=(0,r.useRef)(t),[i,c]=(0,r.useState)(),[s,a]=(0,r.useState)(),l=(0,r.useCallback)(()=>{i&&i.reInit(n.current,o.current)},[i]);return(0,r.useEffect)(()=>{u(n.current,e)||(n.current=e,l())},[e,l]),(0,r.useEffect)(()=>{(function(e,t){if(e.length!==t.length)return!1;const n=d(e),r=d(t);return n.every((e,t)=>u(e,r[t]))})(o.current,t)||(o.current=t,l())},[t,l]),(0,r.useEffect)(()=>
1{if("undefined"!=typeof window&&window.document&&window.document.createElement&&s){q.globalOptions=J.globalOptions;const e=q(s,n.current,o.current);return c(e),()=>e.destroy()}c(void 0)},[s,c]),[a,i]}q.globalOptions=void 0,J.globalOptions=void 0;const Q={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function X(e={}){let t,n,r,o,i=null,c=0,s=!1,a=!1,l=!1,u=!1;function d(){r||(p()?l=!0:(s||n.emit("autoplay:play"),function(){const{ownerWindow:e}=n.internalEngine();e.clearTimeout(c),c=e.setTimeout(b,o[n.selectedScrollSnap()]),i=(new Date).getTime(),n.emit("autoplay:timerset")}(),s=!0))}function f(){r||(s&&n.emit("autoplay:stop"),function(){const{ownerWindow:e}=n.internalEngine();e.clearTimeout(c),c=0,i=null,n.emit("autoplay:timerstopped")}(),s=!1)}function m(){if(p())return l=s,f();l&&d()}function p(){const{ownerDocument:e}=n.internalEngine();return"hidden"===e.visibilityState}function g(){a||f()}function h(){a||d()}function y(){a=!0,f()}function x(){a=!1,d()}function b(){const{index:e}=n.internalEngine(),r=e.clone().add(1).get(),o=n.scrollSnapList().length-1,i=t.stopOnLastSnap&&r===o;if(n.canScrollNext()?n.scrollNext(u):n.scrollTo(0,u),n.emit("autoplay:select"),i)return f();d()}return{name:"autoplay",options:e,init:function(i,c){n=i;const{mergeOptions:s,optionsAtMedia:a}=c,l=s(Q,X.globalOptions),p=s(l,e);if(t=a(p),n.scrollSnapList().length<=1)return;u=t.jump,r=!1,o=function(e,t){const n=e.scrollSnapList();return"number"==typeof t?n.map(()=>t):t(n,e)}(n,t.delay);const{eventStore:b,ownerDocument:v}=n.internalEngine(),k=!!n.internalEngine().options.watchDrag,w=function(e,t){const n=e.rootNode();return t&&t(n)||n}(n,t.rootNode);b.add(v,"visibilitychange",m),k&&n.on("pointerDown",g),k&&!t.stopOnInteraction&&n.on("pointerUp",h),t.stopOnMouseEnter&&b.add(w,"mouseenter",y),t.stopOnMouseEnter&&!t.stopOnInteraction&&b.add(w,"mouseleave",x),t.stopOnFocusIn&&n.on("slideFocusStart",f),t.stopOnFocusIn&&!t.stopOnInteraction&&b.add(n.containerNode(),"focusout",d),t.playOnInit&&d()},destroy:function(){n.off("pointerDown",g).off("pointerUp",h).off("slideFocusStart",f),f(),r=!0,s=!1},play:function(e){void 0!==e&&(u=e),d()},stop:function(){s&&f()},reset:function(){s&&d()},isPlaying:function(){return s},timeUntilNext:function(){return i?o[n.selectedScrollSnap()]-((new Date).getTime()-i):null}}}X.globalOptions=void 0;const Y=e=>{let{arrows:t,children:n,delayLength:o,dots:i,loop:l,slidesToScroll:u}=e;const d={loop:l,slidesToScroll:u||1,align:"start",skipSnaps:!1},f=(0,r.useRef)(X({delay:o,stopOnInteraction:!1,stopOnMouseEnter:!0})),[m,p]=J(d,[f.current]),{0:g,1:h}=(0,r.useState)(!1),{0:y,1:x}=(0,r.useState)(!1),{0:b,1:v}=(0,r.useState)(0),{0:k,1:w}=(0,r.useState)([]),E=(0,r.useCallback)(()=>{p&&(p.scrollNext(),f.current.reset())},[p]),S=(0,r.useCallback)(()=>{p&&(p.scrollPrev(),f.current.reset())},[p]),L=(0,r.useCallback)(e=>{p&&p.scrollTo(e)},[p]),O=(0,r.useCallback)(()=>{p&&(v(p.selectedScrollSnap()),h(p.canScrollPrev()),x(p.canScrollNext()))},[p,v]);return(0,r.useEffect)(()=>{p&&(O(),w(p.scrollSnapList()),p.on("select",O))},[p,O,w]),r.createElement("div",{className:"embla relative w-full"},r.createElement("div",{className:"overflow-hidden",ref:m},r.createElement("div",{className:"flex"},n)),i&&r.createElement("div",{className:"w-full text-center"},k.map((e,t)=>r.createElement(c,{key:t,selected:t===b,onClick:()=>L(t)}))),t&&r.createElement(r.Fragment,null,r.createElement(s,{onClick:S,enabled:g}),r.createElement(a,{onClick:E,enabled:y})))};Y.defaultProps={auto:!0,delayLength:"3000"};var K=Y;var Z=e=>{let{slice:t}=e;return r.createElement("div",{className:"relative z-10 bg-white"},r.createElement("section",{className:"component-image_gallery mx-auto w-full max-w-screen-lg py-6 md:px-6"},t.primary.gallery_name.text&&r.createElement("div",{className:"prose mb-6 max-w-none text-center md:prose-lg"},r.createElement(o.$,{field:t.primary.gallery_name.richText})),r.createElement("div",{className:"bg-white shadow"},t.items.length>1?r.createElement(K,{autoplay:!0,arrows:!0,delayLength:4e3,dots:!0,loop:!0},t.items.map((e,t)=>r.createElement("div",{className:"relative min-w-full "+("item"+(0===t?" active":"")),key:`item-${t}`,"aria-selected":0===t?"true":"false"},e.image.gatsbyImageData&&r.createElement(i.G,{image:e.image.gatsbyImageData,alt:e.image.alt||""}),e.text.richText&&r.createElement("div",{className:"caption relative z-10 w-full py-3 px-6 text-center"},r.createElement(o.$,{field:e.text.richText}))))):r.createElement(r.Fragment,null,r.createElement(i.G,{image:t.items[0].image.gatsbyImageData,alt:t.items[0].image.alt||""}),t.items[0].image.text&&r.createElement("div",{className:"caption relative z-10 w-full py-3 px-6 text-center"},r.createElement(o.$,{field:t.items[0].image.text.richText}))))))}},9291:function(e,t,n){n.d(t,{$:function(){return O}});var r=n(4848);const o=(...e)=>(...t)=>{for(let n=0;n<e.length;n++){const r=e[n];if(r){const e=r(...t);if(null!=e)return e}}},i="list-item",c="o-list-item",s="group-list-item",a="group-o-list-item",l="span",u={[i]:"listItem",[c]:"oListItem",[s]:"list",[a]:"oList"},d=e=>(t,n,r,o,i)=>{const c=e[u[t]||t];if(c)return c({type:t,node:n,text:r,children:o,key:i})};var f=n(6540);const m=()=>(++m.i).toString();m.i=0;const p=(e,t=[])=>({key:m(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:t}),g=e=>p({type:l,text:e,spans:[]}),h=e=>{const t=e.slice(0);for(let n=0;n<t.length;n++){const e=t[n];if(e.type===i||e.type===c){const r=[e];for(;t[n+1]&&t[n+1].type===e.type;)r.push(t[n+1]),t.splice(n,1);e.type===i?t[n]={type:s,items:r}:t[n]={type:a,items:r}}}return t},y=e=>{if("text"in e)return p(e,x(e.spans,e));if("items"in e){const t=[];for(let n=0;n<e.items.length;n++)t.push(y(e.items[n]));return p(e,t)}return p(e)},x=(e,t,n)=>{if(!e.length)return[g(t.text)];const r=e.slice(0);r.sort((e,t)=>
1e.start-t.start||t.end-e.end);const o=[];for(let i=0;i<r.length;i++){const e=r[i],c=n&&n.start||0,s=e.start-c,a=e.end-c,l=t.text.slice(s,a),u=[];for(let t=i;t<r.length;t++){const n=r[t];n!==e&&(n.start>=e.start&&n.end<=e.end?(u.push(n),r.splice(t,1),t--):n.start<e.end&&n.end>e.start&&(u.push({...n,end:e.end}),r[t]={...n,start:e.end}))}0===i&&s>0&&o.push(g(t.text.slice(0,s)));const d={...e,text:l};o.push(p(d,x(u,{...t,text:l},e))),a<t.text.length&&o.push(g(t.text.slice(a,r[i+1]?r[i+1].start-c:void 0)))}return o},b=(e,t)=>v((e=>{const t=h(e),n=[];for(let r=0;r<t.length;r++)n.push(y(t[r]));return{key:m(),children:n}})(e).children,t),v=(e,t)=>{const n=[];for(let r=0;r<e.length;r++){const o=e[r],i=t(o.type,o.node,o.text,v(o.children,t),o.key);null!=i&&n.push(i)}return n};var k=n(3786),w=n(5564);const E=e=>{if("direction"in e&&"rtl"===e.direction)return"rtl"};function S({linkResolver:e,field:t,fallback:n,components:i,externalLinkComponent:c,internalLinkComponent:s,...a}){return f.useMemo(()=>{if((0,w.YD)(t)){const n=o("object"==typeof i?d(i):i,(a={linkResolver:e,internalLinkComponent:s,externalLinkComponent:c},d({heading1:({node:e,children:t,key:n})=>(0,r.jsx)("h1",{dir:E(e),children:t},n),heading2:({node:e,children:t,key:n})=>(0,r.jsx)("h2",{dir:E(e),children:t},n),heading3:({node:e,children:t,key:n})=>(0,r.jsx)("h3",{dir:E(e),children:t},n),heading4:({node:e,children:t,key:n})=>(0,r.jsx)("h4",{dir:E(e),children:t},n),heading5:({node:e,children:t,key:n})=>(0,r.jsx)("h5",{dir:E(e),children:t},n),heading6:({node:e,children:t,key:n})=>(0,r.jsx)("h6",{dir:E(e),children:t},n),paragraph:({node:e,children:t,key:n})=>(0,r.jsx)("p",{dir:E(e),children:t},n),preformatted:({node:e,key:t})=>(0,r.jsx)("pre",{children:e.text},t),strong:({children:e,key:t})=>(0,r.jsx)("strong",{children:e},t),em:({children:e,key:t})=>(0,r.jsx)("em",{children:e},t),listItem:({node:e,children:t,key:n})=>(0,r.jsx)("li",{dir:E(e),children:t},n),oListItem:({node:e,children:t,key:n})=>(0,r.jsx)("li",{dir:E(e),children:t},n),list:({children:e,key:t})=>(0,r.jsx)("ul",{children:e},t),oList:({children:e,key:t})=>(0,r.jsx)("ol",{children:e},t),image:({node:e,key:t})=>{const n=(0,r.jsx)("img",{src:e.url,alt:e.alt??void 0,"data-copyright":e.copyright?e.copyright:void 0});return(0,r.jsx)("p",{className:"block-img",children:e.linkTo?(0,r.jsx)(k.s,{linkResolver:a.linkResolver,internalComponent:a.internalLinkComponent,externalComponent:a.externalLinkComponent,field:e.linkTo,children:n}):n},t)},embed:({node:e,key:t})=>(0,r.jsx)("div",{"data-oembed":e.oembed.embed_url,"data-oembed-type":e.oembed.type,"data-oembed-provider":e.oembed.provider_name,dangerouslySetInnerHTML:{__html:e.oembed.html??""}},t),hyperlink:({node:e,children:t,key:n})=>(0,r.jsx)(k.s,{field:e.data,linkResolver:a.linkResolver,internalComponent:a.internalLinkComponent,externalComponent:a.externalLinkComponent,children:t},n),label:({node:e,children:t,key:n})=>(0,r.jsx)("span",{className:e.data.label,children:t},n),span:({text:e,key:t})=>{const n=[];let o=0;for(const i of e.split("\n"))o>0&&n.push((0,r.jsx)("br",{},`${o}__break`)),n.push((0,r.jsx)(f.Fragment,{children:i},`${o}__line`)),o++;return(0,r.jsx)(f.Fragment,{children:n},t)}}))),l=b(t,(e,t,r,o,i)=>{const c=n(e,t,r,o,i);return f.isValidElement(c)&&null==c.key?f.cloneElement(c,{key:i}):c});return(0,r.jsx)(r.Fragment,{children:l})}return null!=n?(0,r.jsx)(r.Fragment,{children:n}):null;var a},[t,s,c,i,e,n])}var L=n(8794);const O=function({components:e,...t}){const n=(0,L.U)(),i=o("object"==typeof e?d(e):e,"object"==typeof n.richTextComponents?d(n.richTextComponents):n.richTextComponents);return(0,r.jsx)(S,{components:i,internalLinkComponent:n.internalLinkComponent,externalLinkComponent:n.externalLinkComponent,...t})}}}]); 2//# sourceMappingURL=slice---src-components-image-js-afbcf34365eb5d173bf1.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.