1try{!function(){var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new n.Error).stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="07a42cee-53a4-4d49-9e8f-bc3c34bab735",n._sentryDebugIdIdentifier="sentry-dbid-07a42cee-53a4-4d49-9e8f-bc3c34bab735")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"595297e2374e263b470d2bd31d735f6358f16218"}}catch(e){}}(),(self.webpackChunkauckland_city_mission_gatsby=self.webpackChunkauckland_city_mission_gatsby||[]).push([[906],{2890:function(n,t,e){e.d(t,{A:function(){return en}});var o=e(4848),r=e(9269),i=e(4051),s=e(6540);const c={direction:"forward",speed:2,startDelay:1e3,active:!0,breakpoints:{},playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,rootNode:null};function a(n={}){let t,e,o,r,i,s=!1,l=!0,u=0;function d(){if(o||s||!l)return;e.emit("autoScroll:play");const n=e.internalEngine(),{ownerWindow:i}=n;u=i.setTimeout((()=>{n.scrollBody=function(n){const{location:o,previousLocation:r,offsetLocation:i,target:s,scrollTarget:c,index:a,indexPrevious:l,limit:{reachedMin:u,reachedMax:d,constrain:p},options:{loop:g}}=n,m="forward"===t.direction?-1:1,h=()=>E;let b=0,v=0,y=o.get(),x=0,w=!1;function S(n){const h=n/1e3;let S=0;r.set(o),b=m*t.speed*55,y+=b,o.add(b*h),s.set(o),S=y-x,v=Math.sign(S),x=y;const I=c.byDistance(0,!1).index;a.get()!==I&&(l.set(a.get()),a.set(I),e.emit("select"));const O="forward"===t.direction?u(i.get()):d(i.get());if(!g&&O){w=!0;const n=p(o.get());o.set(n),s.set(o),f()}return E}const E={direction:()=>v,duration:()=>-1,velocity:()=>b,settled:()=>w,seek:S,useBaseFriction:h,useBaseDuration:h,useFriction:h,useDuration:h};return E}(n),n.animation.start()}),r),s=!0}function f(){if(o||!s)return;e.emit("autoScroll:stop");const n=e.internalEngine(),{ownerWindow:t}=n;n.scrollBody=i,t.clearTimeout(u),u=0,s=!1}function p(){l&&d(),e.off("settle",p)}function g(){e.on("settle",p)}return{name:"autoScroll",options:n,init:function(s,u){e=s;const{mergeOptions:p,optionsAtMedia:m}=u,h=p(c,a.globalOptions),b=p(h,n);if(t=m(b),e.scrollSnapList().length<=1)return;r=t.startDelay,o=!1,i=e.internalEngine().scrollBody;const{eventStore:v}=e.internalEngine(),y=e.rootNode(),x=t.rootNode&&t.rootNode(y)||y,w=e.containerNode();e.on("pointerDown",f),t.stopOnInteraction||e.on("pointerUp",g),t.stopOnMouseEnter&&(v.add(x,"mouseenter",(()=>{l=!1,f()})),t.stopOnInteraction||v.add(x,"mouseleave",(()=>{l=!0,d()}))),t.stopOnFocusIn&&(e.on("slideFocusStart",f),t.stopOnInteraction||v.add(w,"focusout",d)),t.playOnInit&&d()},destroy:function(){e.off("pointerDown",f).off("pointerUp",g).off("slideFocusStart",f).off("settle",p),f(),o=!0,s=!1},play:function(n){typeof n<"u"&&(r=n),l=!0,d()},stop:function(){s&&f()},reset:function(){s&&(f(),g())},isPlaying:function(){return s}}}a.globalOptions=void 0;const l={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function u(n={}){let t,e,o,r=!1,i=!0,s=!1,c=0;function a(){if(o||!i)return;r||e.emit("autoplay:play");const{ownerWindow:n}=e.internalEngine();n.clearInterval(c),c=n.setInterval(m,t.delay),r=!0}function d(){if(o)return;r&&e.emit("autoplay:stop");const{ownerWindow:n}=e.internalEngine();n.clearInterval(c),c=0,r=!1}function f(){if(p())return i=r,d();i&&a()}function p(){const{ownerDocument:n}=e.internalEngine();return"hidden"===n.visibilityState}function g(n){typeof n<"u"&&(s=n),i=!0,a()}function m(){const{index:n}=e.internalEngine(),o=n.clone().add(1).get(),r=e.scrollSnapList().length-1;t.stopOnLastSnap&&o===r&&d(),e.canScrollNext()?e.scrollNext(s):e.scrollTo(0,s)}return{name:"autoplay",options:n,init:function(r,c){e=r;const{mergeOptions:g,optionsAtMedia:m}=c,h=g(l,u.globalOptions),b=g(h,n);if(t=m(b),e.scrollSnapList().length<=1)return;s=t.jump,o=!1;const{eventStore:v,ownerDocument:y}=e.internalEngine(),x=e.rootNode(),w=t.rootNode&&t.rootNode(x)||x,S=e.containerNode();e.on("pointerDown",d),t.stopOnInteraction||e.on("pointerUp",a),t.stopOnMouseEnter&&(v.add(w,"mouseenter",(()=>{i=!1,d()})),t.stopOnInteraction||v.add(w,"mouseleave",(()=>{i=!0,a()}))),t.stopOnFocusIn&&(e.on("slideFocusStart",d),t.stopOnInteraction||v.add(S,"focusout",a)),v.add(y,"visibilitychange",f),t.playOnInit&&!p()&&a()},destroy:function(){e.off("pointerDown",d).off("pointerUp",a).off("slideFocusStart",d),d(),o=!0,r=!1},play:g,stop:function(){r&&d()},reset:function(){r&&g()},isPlaying:function(){return r}}}function d(n,t,e){return Math.min(Math.max(n,t),e)}function f(n){return"number"==typeof n&&!isNaN(n)}function p(n={}){const t=16.666666666666668;let e,o,r,i,s=[],c=0,a=0,l=0,u=!1;function p(){b(e.selectedScrollSnap(),1)}function g(){u=!1}function m(){u=!1,c=0,a=0}function h(){const n=e.internalEngine().scrollBody.duration();a=n?0:1,u=!0,n||p()}
1function b(n,t){e.scrollSnapList().forEach(((o,r)=>{const i=Math.abs(t),a=s[r],f=r===n,p=d(f?a+i:a-i,0,1);s[r]=p;const g=f&&u,m=e.previousScrollSnap();g&&(s[m]=1-p),f&&function(n,t){const{index:o,dragHandler:r,scrollSnaps:i}=e.internalEngine(),s=r.pointerDown(),a=1/(i.length-1);let u=n,d=s?e.selectedScrollSnap():e.previousScrollSnap();if(s&&u===d){const n=-1*Math.sign(c);u=d,d=o.clone().set(d).add(n).get()}const f=d*a,p=(u-d)*a;l=f+p*t}(n,p),function(n){const t=e.internalEngine().slideRegistry[n],{scrollSnaps:o,containerRect:r}=e.internalEngine(),i=s[n];t.forEach((t=>{const s=e.slideNodes()[t].style,c=parseFloat(i.toFixed(2)),a=c>0,l=function(n){const{axis:t}=e.internalEngine();return`translate${t.scroll.toUpperCase()}(${t.direction(n)}px)`}(a?o[n]:r.width+2);a&&(s.transform=l),s.opacity=c.toString(),s.pointerEvents=i>.5?"auto":"none",a||(s.transform=l)}))}(r)}))}function v(){const{dragHandler:n,index:t,scrollBody:o}=e.internalEngine(),r=e.selectedScrollSnap();if(!n.pointerDown())return r;const i=Math.sign(o.velocity()),s=Math.sign(c),a=t.clone().set(r).add(-1*i).get();return i&&s?s===i?a:r:null}function y(n){const{dragHandler:r,scrollBody:i}=n.internalEngine(),l=t/1e3,u=r.pointerDown(),d=i.velocity()*l,p=i.duration(),g=v(),m=!f(g);if(u){if(!d)return;c+=d,a=Math.abs(d/o),function(n){const{scrollSnaps:t,location:o,target:r}=e.internalEngine();!f(n)||s[n]<.5||(o.set(t[n]),r.set(o))}(g)}if(!u){if(!p||m)return;a+=(1-s[g])/p,a*=.68}m||b(g,a)}function x(){const{target:n,location:t}=e.internalEngine(),o=n.get()-t.get(),r=Math.abs(o)>=1,i=v(),c=!f(i);return y(e),!c&&!r&&s[i]>.999}function w(){return l}return{name:"fade",options:n,init:function(n){e=n;const t=e.selectedScrollSnap(),{scrollBody:c,containerRect:a,axis:l}=e.internalEngine(),f=l.measureSize(a);o=d(.75*f,200,500),u=!1,s=e.scrollSnapList().map(((n,e)=>e===t?1:0)),r=c.settled,i=e.scrollProgress,c.settled=x,e.scrollProgress=w,e.on("select",h).on("slideFocus",p).on("pointerDown",m).on("pointerUp",g),function(){const{translate:n,slideLooper:t}=e.internalEngine();n.clear(),n.toggleActive(!1),t.loopPoints.forEach((({translate:n})=>{n.clear(),n.toggleActive(!1)}))}(),p()},destroy:function(){const{scrollBody:n}=e.internalEngine();n.settled=r,e.scrollProgress=i,e.off("select",h).off("slideFocus",p).off("pointerDown",m).off("pointerUp",g),e.slideNodes().forEach((n=>{const t=n.style;t.opacity="",t.transform="",t.pointerEvents="",n.getAttribute("style")||n.removeAttribute("style")}))}}}function g(n){return function(n){return"[object Object]"===Object.prototype.toString.call(n)}(n)||Array.isArray(n)}function m(n,t){const e=Object.keys(n),o=Object.keys(t);if(e.length!==o.length)return!1;return JSON.stringify(Object.keys(n.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&e.every((e=>{const o=n[e],r=t[e];return"function"==typeof o?`${o}`==`${r}`:g(o)&&g(r)?m(o,r):o===r}))}function h(n){return n.concat().sort(((n,t)=>n.name>t.name?1:-1)).map((n=>n.options))}function b(n){return"number"==typeof n}function v(n){return"string"==typeof n}function y(n){return"boolean"==typeof n}function x(n){return"[object Object]"===Object.prototype.toString.call(n)}function w(n){return Math.abs(n)}function S(n){return Math.sign(n)}function E(n,t){return w(n-t)}function I(n){return k(n).map(Number)}function O(n){return n[N(n)]}function N(n){return Math.max(0,n.length-1)}function _(n,t){return t===N(n)}function D(n,t=0){return Array.from(Array(n),((n,e)=>t+e))}function k(n){return Object.keys(n)}function M(n,t){return[n,t].reduce(((n,t)=>(k(t).forEach((e=>{const o=n[e],r=t[e],i=x(o)&&x(r);n[e]=i?M(o,r):r})),n)),{})}function L(n,t){return typeof t.MouseEvent<"u"&&n instanceof t.MouseEvent}function F(){let n=[];const t={add:function(e,o,r,i={passive:!0}){let s;if("addEventListener"in e)e.addEventListener(o,r,i),s=()=>e.removeEventListener(o,r,i);else{const n=e;n.addListener(r),s=()=>n.removeListener(r)}return n.push(s),t},clear:function(){n=n.filter((n=>n()))}};return t}function T(n,t,e,o){const r=F(),i=1e3/60;let s=null,c=0,a=0;function l(n){if(!a)return;s||(s=n);const r=n-s;for(s=n,c+=r;c>=i;)e(i),c-=i;o(c/i),a&&t.requestAnimationFrame(l)}function u(){t.cancelAnimationFrame(a),s=null,c=0,a=0}return{init:function(){r.add(n,"visibilitychange",(()=>{n.hidden&&(s=null,c=0)}))},destroy:function(){u(),r.clear()},start:function(){a||(a=t.requestAnimationFrame(l))},stop:u,update:()=>e(i),render:o}}function A(n=0,t=0){const e=w(n-t);function o(t){return t<n}function r(n){return n>t}function i(n){return o(n)||r(n)}return{length:e,max:t,min:n,constrain:function(e){return i(e)?o(e)?n:t:e},reachedAny:i,reachedMax:r,reachedMin:o,removeOffset:function(n){return e?n-e*Math.ceil((n-t)/e):n}}}function P(n,t,e){const{constrain:o}=A(0,n),r=n+1;let i=s(t);function s(n){return e?w((r+n)%r):o(n)}function c(){return i}function a(){return P(n,c(),e)}const l={get:c,set:function(n){return i=s(n),l},add:function(n){return a().set(c()+n)},clone:a};return l}function j(n,t,e,o,r,i,s,c,a,l,u,d,f,p,g,m,h,b,v){const{cross:x,direction:I}=n,O=["INPUT","SELECT","TEXTAREA"],N={passive:!1},_=F(),D=F(),k=A(50,225).constrain(p.measure(20)),M={mouse:300,touch:400},T={mouse:500,touch:600},P=g?43:25;let j=!1,C=0,B=0,U=!1,z=!1,H=!1,R=!1;function V(n){if(!L(n,o)&&n.touches.length>=2)return $(n);const t=i.readPoint(n),e=i.readPoint(n,x),s=E(t,C),a=E(e,B);if(!(z||R||n.cancelable&&(z=s>a,z)))return $(n);const u=i.pointerMove(n);s>m&&(H=!0),l.useFriction(.3).useDuration(.75),c.start(),r.add(I(u)),n.preventDefault()}function $(n){const t=u.byDistance(0,!1).index!==d.get(),e=i.pointerUp(n)*(g?T:M)[R?"mouse":"touch"],o=function(n,t){const e=d.add(-1*S(n)),o=u.byDistance(n,!g).distance;return g||w(n)<k?o:h&&t?.5*o:u.byIndex(e.get(),0).distance}(I(e),t),r=function(n,t){if(0===n||0===t||w(n)<=w(t))return 0;const e=E(w(n),w(t));return w(e/n)}(e,o),s=P-10*r,c=b+r/50;z=!1,U=!1,D.clear(),l.useDuration(s).useFriction(c),a.distance(o,!g),R=!1,f.emit("pointerUp")}function W(n){H&&(n.stopPropagation(),n.preventDefault(),H=!1)}return{init:function(n){if(!v)return;function c(c){(y(v)||v(n,c))&&function(n){const c=L(n,o);R=c,H=g&&c&&!n.buttons&&j,j=E(r.get(),s.get())>=2,(!c||0===n.button)&&(function(n){const t=n.nodeName||"";return O.includes(t)}(n.target)||(U=!0,i.pointerDown(n),l.useFriction(0).useDuration(0),r.set(s),function(){const n=R?e:t;D.add(n,"touchmove",V,N).add(n,"touchend",$).add(n,"mousemove",V,N).add(n,"mouseup",$)}(),C=i.readPoint(n),B=i.readPoint(n,x),f.emit("pointerDown")))}(c)}const a=t;_.add(a,"dragstart",(n=>n.preventDefault()),N).add(a,"touchmove",(()=>{}),N).add(a,"touchend",(()=>{})).add(a,"touchstart",c).add(a,"mousedown",c).add(a,"touchcancel",$).add(a,"contextmenu",$).add(a,"click",W,!0)},destroy:function(){_.clear(),D.clear()},pointerDown:function(){return U}}}function C(n,t){let e,o;function r(n){return n.timeStamp}function i(e,o){const r="client"+("x"===(o||n.scroll)?"X":"Y");return(L(e,t)?e:e.touches[0])[r]}return{pointerDown:function(n){return e=n,o=n,i(n)},pointerMove:function(n){const t=i(n)-i(o),s=r(n)-r(e)>170;return o=n,s&&(e=n),t},pointerUp:function(n){if(!e||!o)return 0;const t=i(o)-i(e),s=r(n)-r(e),c=r(n)-r(o)>170,a=t/s;return s&&!c&&w(a)>.1?a:0},readPoint:i}}function B(n,t,e,o,r,i,s){const c=[n].concat(o);let a,l,u=[],d=!1;function f(n){return r.measureSize(s.measure(n))}return{init:function(r){i&&(l=f(n),u=o.map(f),a=new ResizeObserver((e=>{(y(i)||i(r,e))&&function(e){for(const i of e){if(d)return;const e=i.target===n,s=o.indexOf(i.target),c=e?l:u[s];if(w(f(e?n:o[s])-c)>=.5){r.reInit(),t.emit("resize");break}}}(e)})),e.requestAnimationFrame((()=>
vendor: 11,303 bytes, line 1
1{c.forEach((n=>a.observe(n)))})))},destroy:function(){d=!0,a&&a.disconnect()}}}function U(n,t,e,o,r){const i=r.measure(10),s=r.measure(50),c=A(.1,.99);let a=!1;function l(){return!(a||!n.reachedAny(e.get())||!n.reachedAny(t.get()))}return{shouldConstrain:l,constrain:function(r){if(!l())return;const a=n.reachedMin(t.get())?"min":"max",u=w(n[a]-t.get()),d=e.get()-t.get(),f=c.constrain(u/s);e.subtract(d*f),!r&&w(d)<i&&(e.set(n.constrain(e.get())),o.useDuration(25).useBaseFriction())},toggleActive:function(n){a=!n}}}function z(n,t,e,o){const r=t.min+.1,i=t.max+.1,{reachedMin:s,reachedMax:c}=A(r,i);return{loop:function(t){if(!function(n){return 1===n?c(e.get()):-1===n&&s(e.get())}(t))return;const r=n*(-1*t);o.forEach((n=>n.add(r)))}}}function H(n,t,e,o,r){const{reachedAny:i,removeOffset:s,constrain:c}=o;function a(n){return n.concat().sort(((n,t)=>w(n)-w(t)))[0]}function l(t,o){const r=[t,t+e,t-e];if(!n)return t;if(!o)return a(r);const i=r.filter((n=>S(n)===o));return i.length?a(i):O(r)-e}return{byDistance:function(e,o){const a=r.get()+e,{index:u,distance:d}=function(e){const o=n?s(e):c(e),r=t.map(((n,t)=>({diff:l(n-o,0),index:t}))).sort(((n,t)=>w(n.diff)-w(t.diff))),{index:i}=r[0];return{index:i,distance:o}}(a),f=!n&&i(a);return!o||f?{index:u,distance:e}:{index:u,distance:e+l(t[u]-d,0)}},byIndex:function(n,e){return{index:n,distance:l(t[n]-r.get(),e)}},shortcut:l}}function R(n,t,e,o,r,i,s,c){const a={passive:!0,capture:!0};let l=0;function u(n){"Tab"===n.code&&(l=(new Date).getTime())}return{init:function(d){c&&(i.add(document,"keydown",u,!1),t.forEach(((t,u)=>{i.add(t,"focus",(t=>{(y(c)||c(d,t))&&function(t){if((new Date).getTime()-l>10)return;s.emit("slideFocusStart"),n.scrollLeft=0;const i=e.findIndex((n=>n.includes(t)));b(i)&&(r.useDuration(0),o.index(i,0),s.emit("slideFocus"))}(u)}),a)})))}}}function V(n){let t=n;function e(n){return b(n)?n:n.get()}return{get:function(){return t},set:function(n){t=e(n)},add:function(n){t+=e(n)},subtract:function(n){t-=e(n)}}}function $(n,t){const e="x"===n.scroll?function(n){return`translate3d(${n}px,0px,0px)`}:function(n){return`translate3d(0px,${n}px,0px)`},o=t.style;let r=!1;return{clear:function(){r||(o.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){r||(o.transform=e(n.direction(t)))},toggleActive:function(n){r=!n}}}function W(n,t,e,o,r,i,s,c,a){const l=I(r),u=I(r).reverse(),d=function(){const n=s[0];return g(p(u,n),e,!1)}().concat(function(){const n=t-s[0]-1;return g(p(l,n),-e,!0)}());function f(n,t){return n.reduce(((n,t)=>n-r[t]),t)}function p(n,t){return n.reduce(((n,e)=>f(n,t)>0?n.concat([e]):n),[])}function g(r,s,l){const u=function(n){return i.map(((e,r)=>({start:e-o[r]+.5+n,end:e+t-.5+n})))}(s);return r.map((t=>{const o=l?0:-e,r=l?e:0,i=l?"end":"start",s=u[t][i];return{index:t,loopPoint:s,slideLocation:V(-1),translate:$(n,a[t]),target:()=>c.get()>s?o:r}}))}return{canLoop:function(){return d.every((({index:n})=>f(l.filter((t=>t!==n)),t)<=.1))},clear:function(){d.forEach((n=>n.translate.clear()))},loop:function(){d.forEach((n=>{const{target:t,translate:e,slideLocation:o}=n,r=t();r!==o.get()&&(e.to(r),o.set(r))}))},loopPoints:d}}function G(n,t,e){let o,r=!1;return{init:function(i){e&&(o=new MutationObserver((n=>{r||(y(e)||e(i,n))&&function(n){for(const e of n)if("childList"===e.type){i.reInit(),t.emit("slidesChanged");break}}(n)})),o.observe(n,{childList:!0}))},destroy:function(){o&&o.disconnect(),r=!0}}}function q(n,t,e,o){const r={};let i,s=null,c=null,a=!1;return{init:function(){i=new IntersectionObserver((n=>{a||(n.forEach((n=>{const e=t.indexOf(n.target);r[e]=n})),s=null,c=null,e.emit("slidesInView"))}),{root:n.parentElement,threshold:o}),t.forEach((n=>i.observe(n)))},destroy:function(){i&&i.disconnect(),a=!0},get:function(n=!0){if(n&&s)return s;if(!n&&c)return c;const t=function(n){return k(r).reduce(((t,e)=>{const o=parseInt(e),{isIntersecting:i}=r[o];return(n&&i||!n&&!i)&&t.push(o),t}),[])}(n);return n&&(s=t),n||(c=t),t}}}function J(n,t,e,o,r,i,s,c,a){const{startEdge:l,endEdge:u,direction:d}=n,f=b(e);return{groupSlides:function(n){return f?function(n,t){return I(n).filter((n=>n%t==0)).map((e=>n.slice(e,e+t)))}(n,e):function(n){return n.length?I(n).reduce(((e,f,p)=>{const g=O(e)||0,m=0===g,h=f===N(n),b=r[l]-i[g][l],v=r[l]-i[f][u],y=!o&&m?d(s):0,x=w(v-(!o&&h?d(c):0)-(b+y));return p&&x>t+a&&e.push(f),h&&e.push(n.length),e}),[]).map(((t,e,o)=>{const r=Math.max(o[e-1]||0);return n.slice(r,t)})):[]}(n)}}}function Q(n,t,e,o,r,i,s){const{align:c,axis:a,direction:l,startIndex:u,loop:d,duration:f,dragFree:p,dragThreshold:g,inViewThreshold:m,slidesToScroll:h,skipSnaps:b,containScroll:y,watchResize:x,watchSlides:k,watchDrag:M,watchFocus:L}=i,Q={measure:function(n){const{offsetTop:t,offsetLeft:e,offsetWidth:o,offsetHeight:r}=n;return{top:t,right:e+o,bottom:t+r,left:e,width:o,height:r}}},X=Q.measure(t),Y=e.map(Q.measure),K=function(n,t){const e="rtl"===t,o="y"===n,r=!o&&e?-1:1;return{scroll:o?"y":"x",cross:o?"x":"y",startEdge:o?"top":e?"right":"left",endEdge:o?"bottom":e?"left":"right",measureSize:function(n){const{height:t,width:e}=n;return o?t:e},direction:function(n){return n*r}}}(a,l),Z=K.measureSize(X),nn=function(n){return{measure:function(t){return n*(t/100)}}}(Z),tn=function(n,t){const e={start:function(){return 0},center:function(n){return o(n)/2},end:o};function o(n){return t-n}return{measure:function(o,r){return v(n)?e[n](o):n(t,o,r)}}}(c,Z),en=!d&&!!y,on=d||!!y,{slideSizes:rn,slideSizesWithGaps:sn,startGap:cn,endGap:an}=function(n,t,e,o,r,i){const{measureSize:s,startEdge:c,endEdge:a}=n,l=e[0]&&r,u=function(){if(!l)return 0;const n=e[0];return w(t[c]-n[c])}(),d=function(){if(!l)return 0;const n=i.getComputedStyle(O(o));return parseFloat(n.getPropertyValue(`margin-${a}`))}(),f=e.map(s),p=e.map(((n,t,e)=>{const o=!t,r=_(e,t);return o?f[t]+u:r?f[t]+d:e[t+1][c]-n[c]})).map(w);return{slideSizes:f,slideSizesWithGaps:p,startGap:u,endGap:d}}(K,X,Y,e,on,r),ln=J(K,Z,h,d,X,Y,cn,an,2),{snaps:un,snapsAligned:dn}=function(n,t,e,o,r){const{startEdge:i,endEdge:s}=n,{groupSlides:c}=r,a=c(o).map((n=>O(n)[s]-n[0][i])).map(w).map(t.measure),l=o.map((n=>e[i]-n[i])).map((n=>-w(n))),u=c(l).map((n=>n[0])).map(((n,t)=>n+a[t]));return{snaps:l,snapsAligned:u}}(K,tn,X,Y,ln),fn=-O(un)+O(sn),{snapsContained:pn,scrollContainLimit:gn}=function(n,t,e,o,r){const i=A(-t+n,0),s=e.map(((n,t)=>{const{min:o,max:r}=i,s=i.constrain(n),c=!t,l=_(e,t);return c?r:l||a(o,s)?o:a(r,s)?r:s})).map((n=>parseFloat(n.toFixed(3)))),c=function(){const n=s[0],t=O(s);return A(s.lastIndexOf(n),s.indexOf(t)+1)}();function a(n,t){return E(n,t)<1}return{snapsContained:function(){if(t<=n+r)return[i.max];if("keepSnaps"===o)return s;const{min:e,max:a}=c;return s.slice(e,a)}(),scrollContainLimit:c}}(Z,fn,dn,y,2),mn=en?pn:dn,{limit:hn}=function(n,t,e){const o=t[0];return{limit:A(e?o-n:O(t),o)}}(fn,mn,d),bn=P(N(mn),u,d),vn=bn.clone(),yn=I(e),xn=T(o,r,(n=>(({dragHandler:n,scrollBody:t,scrollBounds:e,options:{loop:o}},r)=>{o||e.constrain(n.pointerDown()),t.seek(r)})(An,n)),(n=>(({scrollBody:n,translate:t,location:e,offsetLocation:o,scrollLooper:r,slideLooper:i,dragHandler:s,animation:c,eventHandler:a,scrollBounds:l,options:{loop:u}},d)=>{const f=n.settled(),p=!l.shouldConstrain(),g=u?f:f&&p;g&&!s.pointerDown()&&(c.stop(),a.emit("settle")),g||a.emit("scroll");const m=e.get()*d+En.get()*(1-d);o.set(m),u&&(r.loop(n.direction()),i.loop()),t.to(o.get())})(An,n))),wn=mn[bn.get()],Sn=V(wn),En=V(wn),In=V(wn),On=V(wn),Nn=function(n,t,e,o,r,i){let s=0,c=0,a=r,l=i,u=n.get(),d=0;function f(n){return a=n,g}function p(n){return l=n,g}const g={direction:function(){return c},duration:function(){return a},velocity:function(){return s},seek:function(t){const r=t/1e3,i=a*r,f=o.get()-n.get();let p=0;return a?(e.set(n),s+=f/i,s*=l,u+=s,n.add(s*r),p=u-d):(s=0,e.set(o),n.set(o),p=f),c=S(p),d=u,g},settled:function(){return w(o.get()-t.get())<.001},useBaseFriction:function(){return p(i)},useBaseDuration:function(){return f(r)},useFriction:p,useDuration:f};return g}(Sn,In,En,On,f,.68),_n=H(d,mn,fn,hn,On),Dn=function(n,t,e,o,r,i,s){function c(r){const c=r.distance,a=r.index!==t.get();i.add(c),c&&(o.duration()?n.start():(n.update(),n.render(1),n.update())),a&&(e.set(t.get()),t.set(r.index),s.emit("select"))}return{distance:function(n,t){c(r.byDistance(n,t))},index:function(n,e){const o=t.clone().set(n);c(r.byIndex(o.get(),e))}}}(xn,bn,vn,Nn,_n,On,s),kn=function(n){const{max:t,length:e}=n;return{get:function(n){return e?(n-t)/-e:0}}}(hn),Mn=F(),Ln=q(t,e,s,m),{slideRegistry:Fn}=function(n,t,e,o,r,i){const{groupSlides:s}=r,{min:c,max:a}=o;return{slideRegistry:function(){const o=s(i),r=!n||"keepSnaps"===t;return 1===e.length?[i]:r?o:o.slice(c,a).map(((n,t,e)=>{const o=!t,r=_(e,t);return o?D(O(e[0])+1):r?D(N(i)-O(e)[0]+1,O(e)[0]):n}))}()}}(en,y,mn,gn,ln,yn),Tn=R(n,e,Fn,Dn,Nn,Mn,s,L),An={ownerDocument:o,ownerWindow:r,eventHandler:s,containerRect:X,slideRects:Y,animation:xn,axis:K,dragHandler:j(K,n,o,r,On,C(K,r),Sn,xn,Dn,Nn,_n,bn,s,nn,p,g,b,.68,M),eventStore:Mn,percentOfView:nn,index:bn,indexPrevious:vn,limit:hn,location:Sn,offsetLocation:In,previousLocation:En,options:i,resizeHandler:B(t,s,r,e,K,x,Q),scrollBody:Nn,scrollBounds:U(hn,In,On,Nn,nn),scrollLooper:z(fn,hn,In,[Sn,In,En,On]),scrollProgress:kn,scrollSnapList:mn.map(kn.get),scrollSnaps:mn,scrollTarget:_n,scrollTo:Dn,slideLooper:W(K,Z,fn,rn,sn,un,mn,In,e),slideFocus:Tn,slidesHandler:G(t,s,k),slidesInView:Ln,slideIndexes:yn,slideRegistry:Fn,slidesToScroll:ln,target:On,translate:$(K,t)};return An}u.globalOptions=void 0,p.globalOptions=void 0;const X={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 Y(n){function t(n,t){return M(n,t||{})}return{mergeOptions:t,optionsAtMedia:function(e){const o=e.breakpoints||{},r=k(o).filter((t=>n.matchMedia(t).matches)).map((n=>o[n])).reduce(((n,e)=>t(n,e)),{});return t(e,r)},optionsMediaQueries:function(t){return t.map((n=>k(n.breakpoints||{}))).reduce(((n,t)=>n.concat(t)),[]).map(n.matchMedia)}}}function K(n,t,e){const o=n.ownerDocument,r=o.defaultView,i=Y(r),s=function(n){let t=[];return{init:function(e,o){return t=o.filter((({options:t})=>!1!==n.optionsAtMedia(t).active)),t.forEach((t=>t.init(e,n))),o.reduce(((n,t)=>Object.assign(n,{[t.name]:t})),{})},destroy:function(){t=t.filter((n=>n.destroy()))}}}(i),c=F(),a=function(){let n,t={};function e(n){return t[n]||[]}const o={init:function(t){n=t},emit:function(t){return e(t).forEach((e=>e(n,t))),o},off:function(n,r){return t[n]=e(n).filter((n=>n!==r)),o},on:function(n,r){return t[n]=e(n).concat([r]),o},clear:function(){t={}}};return o}(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:f,off:p,emit:g}=a,m=_;let h,b,y,x,w=!1,S=l(X,K.globalOptions),E=l(S),I=[];function O(t){const e=Q(n,y,x,o,r,t,a);if(t.loop&&!e.slideLooper.canLoop()){return O(Object.assign({},t,{loop:!1}))}return e}function N(t,e){w||(S=l(S,t),E=u(S),I=e||I,function(){const{container:t,slides:e}=E;y=(v(t)?n.querySelector(t):t)||n.children[0];const o=v(e)?y.querySelectorAll(e):e;x=[].slice.call(o||y.children)}(),h=O(E),d([S,...I.map((({options:n})=>
1n))]).forEach((n=>c.add(n,"change",_))),E.active&&(h.translate.to(h.location.get()),h.animation.init(),h.slidesInView.init(),h.slideFocus.init(L),h.eventHandler.init(L),h.resizeHandler.init(L),h.slidesHandler.init(L),h.options.loop&&h.slideLooper.loop(),y.offsetParent&&x.length&&h.dragHandler.init(L),b=s.init(L,I)))}function _(n,t){const e=M();D(),N(l({startIndex:e},n),t),a.emit("reInit")}function D(){h.dragHandler.destroy(),h.eventStore.clear(),h.translate.clear(),h.slideLooper.clear(),h.resizeHandler.destroy(),h.slidesHandler.destroy(),h.slidesInView.destroy(),h.animation.destroy(),s.destroy(),c.clear()}function k(n,t,e){!E.active||w||(h.scrollBody.useBaseFriction().useDuration(!0===t?0:E.duration),h.scrollTo.index(n,e||0))}function M(){return h.index.get()}const L={canScrollNext:function(){return h.index.add(1).get()!==M()},canScrollPrev:function(){return h.index.add(-1).get()!==M()},containerNode:function(){return y},internalEngine:function(){return h},destroy:function(){w||(w=!0,c.clear(),D(),a.emit("destroy"),a.clear())},off:p,on:f,emit:g,plugins:function(){return b},previousScrollSnap:function(){return h.indexPrevious.get()},reInit:m,rootNode:function(){return n},scrollNext:function(n){k(h.index.add(1).get(),n,-1)},scrollPrev:function(n){k(h.index.add(-1).get(),n,1)},scrollProgress:function(){return h.scrollProgress.get(h.location.get())},scrollSnapList:function(){return h.scrollSnapList},scrollTo:k,selectedScrollSnap:M,slideNodes:function(){return x},slidesInView:function(){return h.slidesInView.get()},slidesNotInView:function(){return h.slidesInView.get(!1)}};return N(t,e),setTimeout((()=>a.emit("init")),0),L}function Z(n={},t=[]){const e=(0,s.useRef)(n),o=(0,s.useRef)(t),[r,i]=(0,s.useState)(),[c,a]=(0,s.useState)(),l=(0,s.useCallback)((()=>{r&&r.reInit(e.current,o.current)}),[r]);return(0,s.useEffect)((()=>{m(e.current,n)||(e.current=n,l())}),[n,l]),(0,s.useEffect)((()=>{(function(n,t){if(n.length!==t.length)return!1;const e=h(n),o=h(t);return e.every(((n,t)=>m(n,o[t])))})(o.current,t)||(o.current=t,l())}),[t,l]),(0,s.useEffect)((()=>{if(typeof window<"u"&&window.document&&window.document.createElement&&c){K.globalOptions=Z.globalOptions;const n=K(c,e.current,o.current);return i(n),()=>n.destroy()}i(void 0)}),[c,i]),[a,r]}K.globalOptions=void 0,Z.globalOptions=void 0;const nn={embla:"_embla_1dpwv_1","embla-container":"_embla-container_1dpwv_5","embla-slide":"_embla-slide_1dpwv_9","next-button":"_next-button_1dpwv_15","prev-button":"_prev-button_1dpwv_16","embla-pagination":"_embla-pagination_1dpwv_44",dot:"_dot_1dpwv_52",selected:"_selected_1dpwv_60","embla-thumbs":"_embla-thumbs_1dpwv_64","embla-thumbs-container":"_embla-thumbs-container_1dpwv_69","embla-thumb":"_embla-thumb_1dpwv_64","hide-desktop":"_hide-desktop_1dpwv_88","hide-mobile":"_hide-mobile_1dpwv_94"},tn=(n,t)=>[!n&&nn["hide-desktop"],!("boolean"==typeof t?t:n)&&nn["hide-mobile"]],en=(0,s.forwardRef)((({options:n,plugins:t,mobileDisplay:e,showNavigation:c,showPagination:l,showThumbs:d,thumbs:f,slideSize:g,spaceBetween:m,children:h,navigationIcons:b,className:v,onLoad:y},x)=>{const[w,S]=Z(n,(n=>[(null==n?void 0:n.autoplay)&&u({...n.autoplay}),(null==n?void 0:n.autoScroll)&&a({...n.autoScroll}),(null==n?void 0:n.fade)&&p({...n.fade})].filter(Boolean))(t)),[E,I]=Z({containScroll:"keepSnaps",dragFree:!0}
1),O=on(S),N=rn(S,I),[_,D]=(0,s.useState)(!1);(0,s.useImperativeHandle)(x,(()=>({next:()=>{null==S||S.scrollNext()},prev:()=>{null==S||S.scrollPrev()},scrollTo:n=>null==S?void 0:S.scrollTo(n),reInit:()=>null==S?void 0:S.reInit(),emblaApi:S,emblaThumbsApi:I})),[S,I]),(0,s.useEffect)((()=>{!S||_||(D(!0),y&&y(S))}),[S,_]);const k=(0,s.useCallback)((n=>{S&&S.scrollTo(n)}),[S]),M={"--slide-size":g,"--slide-spacing":m,"--slide-size-mobile":(null==e?void 0:e.slideSize)??g,"--slide-spacing-mobile":(null==e?void 0:e.spaceBetween)??m};return(0,o.jsxs)("div",{className:(0,i.tU)("embla",nn,v),style:M,children:[(0,o.jsx)("div",{className:"embla-viewport",ref:w,children:(0,o.jsx)("div",{className:(0,i.tU)("embla-container",nn),children:s.Children.map(h,(n=>(0,o.jsx)("div",{className:(0,i.tU)("embla-slide",nn),children:n})))})}),c||null!=e&&e.showNavigation?(0,o.jsxs)("div",{className:(0,i.VN)("embla-navigation",...tn(c,null==e?void 0:e.showNavigation)),children:[(0,o.jsx)("button",{className:(0,i.tU)("prev-button",nn,O.disabled.prev&&"disabled"),onClick:O.scrollPrev,disabled:O.disabled.prev,"aria-label":"Move to previous slide",children:(null==b?void 0:b.prev)??(0,o.jsx)(r.gu,{})}),(0,o.jsx)("button",{className:(0,i.tU)("next-button",nn,O.disabled.next&&"disabled"),onClick:O.scrollNext,disabled:O.disabled.next,"aria-label":"Move to next slide",children:(null==b?void 0:b.next)??(0,o.jsx)(r.Vj,{})})]}):null,l||null!=e&&e.showPagination?(0,o.jsx)("div",{className:(0,i.tU)("embla-pagination",nn,...tn(l,null==e?void 0:e.showPagination)),children:N.dots.map(((n,t)=>(0,o.jsx)("button",{"aria-label":`Move to slide ${t+1}`,onClick:()=>k(t),className:(0,i.tU)("dot",nn,N.selectedIndex===t&&(0,i.tU)("selected",nn))},t)))}):null,d||null!=e&&e.showThumbs?(0,o.jsx)("div",{ref:E,className:(0,i.tU)("embla-thumbs",nn,...tn(d,null==e?void 0:e.showThumbs)),children:(0,o.jsx)("div",{className:(0,i.tU)("embla-thumbs-container",nn),children:s.Children.map(f??h,((n,t)=>(0,o.jsx)("div",{"aria-label":`Move to slide ${t+1}`,role:"button",className:(0,i.tU)("embla-thumb",nn,N.selectedIndex===t&&(0,i.tU)("selected",nn)),onClick:()=>k(t),children:n})))})}):null]})})),on=n=>{const[t,e]=(0,s.useState)({prev:!0,next:!0}),o=(0,s.useCallback)((()=>{null==n||n.scrollPrev()}),[n]),r=(0,s.useCallback)((()=>{null==n||n.scrollNext()}),[n]),i=(0,s.useCallback)((n=>{e({prev:!n.canScrollPrev(),next:!n.canScrollNext()})}),[]);return(0,s.useEffect)((()=>{n&&(i(n),n.on("reInit",i).on("select",i))}),[n,i]),{disabled:t,scrollNext:r,scrollPrev:o}},rn=(n,t)=>
1{const[e,o]=(0,s.useState)(0),[r,i]=(0,s.useState)([]),c=(0,s.useCallback)((n=>{i(n.scrollSnapList())}),[]),a=(0,s.useCallback)((n=>{n&&(o(n.selectedScrollSnap()),t&&t.scrollTo(n.selectedScrollSnap()))}),[t]);return(0,s.useEffect)((()=>{n&&(c(n),a(n),n.on("reInit",c).on("reInit",a).on("select",a))}),[n,c,a]),{selectedIndex:e,dots:r}}}}]);
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.