1"use strict";(this.webpackChunkenvision=this.webpackChunkenvision||[]).push([[131],{394(n,t,e){function r(n){return t=>n(o(t)?t:t.get())}function o(n){return"number"==typeof n}function i(n){return"string"==typeof n}function s(n){return"[object Object]"===Object.prototype.toString.call(n)}function c(n){return Math.abs(n)}function u(n){return Math.sign(n)}function a(n,t){return c(n-t)}function l(n){return m(n).map(Number)}function f(n){return n[d(n)]}function d(n){return Math.max(0,n.length-1)}function p(n,t){return t===d(n)}function g(n,t=0){return Array.from(Array(n-t+1),(n,e)=>t+e)}function m(n){return Object.keys(n)}function h(n,t){return[n,t].reduce((n,t)=>(m(t).forEach(e=>{const r=n[e],o=t[e],i=s(r)&&s(o);n[e]=i?h(r,o):o}),n),{})}function v(n,t){return void 0!==t.MouseEvent&&n instanceof t.MouseEvent}function y(){let n=[];const t={add:function(e,r,o,i={passive:!0}){let s;if("addEventListener"in e)e.addEventListener(r,o,i),s=()=>e.removeEventListener(r,o,i);else{const n=e;n.addListener(o),s=()=>n.removeListener(o)}return n.push(s),t},clear:function(){n=n.filter(n=>n())}};return t}function x(n,t){const e=y(),r=1e3/60;let o,i=null,s=0,c=0;function u(e){if(!c)return;i||(i=e,n(),n());const a=e-i;for(i=e,s+=a;s>=r;)n(),s-=r;t(s/r),c&&(c=o.requestAnimationFrame(u))}function a(){c&&(o.cancelAnimationFrame(c),i=null,s=0,c=0)}return{init:function(n){const t=n.document;o=n,e.add(t,"visibilitychange",()=>{t.hidden&&(i=null,s=0)})},destroy:function(){a(),e.clear()},start:function(){c||(c=o.requestAnimationFrame(u))},stop:a,update:n,render:t}}function S(n,t){const e="rtl"===t,o="y"===n,i=!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",nativeScroll:o?"scrollTop":"scrollLeft",getSize:function(n){const{height:t,width:e}=n;return o?t:e},direction:r(function(n){return n*i})}}function b(n=0,t=0){const e=c(n-t);function o(t){return t<n}function i(n){return n>t}function s(n){return o(n)||i(n)}return{length:e,max:t,min:n,clamp:r(function(e){return s(e)?o(e)?n:t:e}),pastAnyBound:r(s),pastMaxBound:r(i),pastMinBound:r(o),removeOffset:r(function(n){return e?n-e*Math.ceil((n-t)/e):n})}}function E(n,t,e){const{clamp:r}=b(0,n),o=n+1;let i=s(t);function s(n){return e?c((o+n)%o):r(n)}function u(){return i}function a(){return E(n,u(),e)}const l={get:u,set:function(n){return i=s(n),l},add:function(n){return a().set(u()+n)},clone:a};return l}function w(n,t,e,r,o,i,s,l,f,d,p,g,m,h,x,S,E){const{cross:w,direction:L}=t,D=["INPUT","SELECT","TEXTAREA"],M={passive:!1},O=y(),T=y(),z=b(50,225).clamp(m.measure(20)),B={mouse:300,touch:400},k={mouse:500,touch:600},A=h?43:25;let I,P,F=!1,H=0,V=0,C=!1,$=!1,R=!1,j=!1,N=!1;function G(n){return d.byDistance(n,!h).distance}function W(n){const t=p.add(-1*u(n));return h||c(n)<z?G(n):S&&d.byDistance(0,!1).index!==p.get()?.5*G(n):d.byIndex(t.get(),0).distance}function q(n){if(!g.createEvent("pointerdown",n).emit())return;const t=v(n,P),s=t&&0!==n.button;N=t,j=h&&t&&!n.buttons&&F,F=a(r.get(),i.get())>=2,s||function(n){const t=n.nodeName||"";return D.includes(t)}(n.target)||($=!0,o.pointerDown(n),f.useFriction(0).useDuration(0),r.set(i),H=o.readPoint(n),V=o.readPoint(n,w),function(){const n=N?I:e;T.add(n,"mousemove",U,M).add(n,"mouseup",Q)}(),C=!0)}function U(n){if(!g.createEvent("pointermove",n).emit())return Q(n);if(!v(n,P)&&n.touches.length>=2)return Q(n);const t=o.readPoint(n),e=o.readPoint(n,w),i=a(t,H),c=a(e,V);if(!R&&!N){if(!n.cancelable)return Q(n);if(R=i>c,!R)return Q(n)}const u=o.pointerMove(n);i>x&&(j=!0),f.useFriction(.3).useDuration(.75),s.start(),r.add(L(u)),n.cancelable&&n.preventDefault()}function Q(n){const t=g.createEvent("pointerup",n),e=o.pointerUp(n)*(h?k:B)[N?"mouse":"touch"],r=W(L(e)),i=function(n,t){if(0===n||0===t)return 0;if(c(n)<=c(t))return 0;const e=a(c(n),c(t));return c(e/n)}(e,r),s=A-10*i,u=E+i/50;R=!1,$=!1,C=!1,N=!1,T.clear(),f.useDuration(s).useFriction(u),l.distance(r,!h),t.emit()}function X(n){j&&(n.stopPropagation(),n.preventDefault(),j=!1)}return{init:function(t){if(!n)return;I=t.document,P=t,o.init(t);const r=e;O.add(r,"dragstart",n=>n.preventDefault(),M).add(r,"touchmove",n=>C&&U(n),M).add(r,"touchend",n=>C&&Q(n)).add(r,"touchstart",q).add(r,"mousedown",q).add(r,"touchcancel",Q).add(r,"contextmenu",Q).add(r,"click",X,!0)}
1,destroy:function(){O.clear(),T.clear(),C=!1},pointerDown:function(){return $}}}function L(n){let t,e,r;function o(n){return n.timeStamp}function i(e,r){const o="client"+("x"===(r||n.scroll)?"X":"Y");return(v(e,t)?e:e.touches[0])[o]}return{init:function(n){t=n},pointerDown:function(n){return e=n,r=n,i(n)},pointerMove:function(n){const t=i(n)-i(r),s=o(n)-o(e)>170;return r=n,s&&(e=n),t},pointerUp:function(n){if(!e||!r)return 0;const t=i(r)-i(e),s=o(n)-o(e),u=o(n)-o(r)>170,a=t/s;return s&&!u&&c(a)>.1?a:0},readPoint:i}}function D(n,t,e,r,o,i){const s=[t,...r];let u,a,l=[],f=!1;function d(n){return o.getSize(i.getRect(n))}function p(n){const o=e.createEvent("resize",n);if(!!o.emit())for(const e of n){if(f)return;const n=e.target===t,i=r.indexOf(e.target),s=n?a:l[i];if(c(d(n?t:r[i])-s)>=.5){o.api.reInit();break}}}return{init:function(e){n&&(a=d(t),l=r.map(d),u=new e.ResizeObserver(p),e.requestAnimationFrame(()=>{s.forEach(n=>u.observe(n))}))},destroy:function(){f=!0,u&&u.disconnect()}}}function M(n,t,e,r,o){const{pastAnyBound:i,pastMinBound:s,clamp:u}=n,a=o.measure(10),l=o.measure(50),f=b(.1,.99);let d=!1;function p(){return!d&&(!!i(e)&&!!i(t))}return{shouldConstrain:p,constrain:function(o){if(!p())return;const i=s(t)?"min":"max",d=c(n[i]-t.get()),g=e.minus(t),m=f.clamp(d/l);e.subtract(g*m),!o&&c(g)<a&&(e.set(u(e)),r.useDuration(25).useBaseFriction())},toggleActive:function(n){d=!n}}}function O(n,t,e,r){const o=t.min+.1,i=t.max+.1,{pastMinBound:s,pastMaxBound:c}=b(o,i);return{loop:function(t){if(!function(n){return 1===n?c(e):-1===n&&s(e)}(t))return;const o=n*(-1*t);r.forEach(n=>n.add(o))}}}function T(n,t,e,r,o){const{pastAnyBound:i,removeOffset:s,clamp:a}=r;function l(n){return n.sort((n,t)=>c(n)-c(t))[0]}function d(t,r){if(!n)return t;const o=[t,t+e,t-e];if(!r)return l(o);const i=o.filter(n=>u(n)===r);return i.length?l(i):f(o)-e}return{byDistance:function(e,r){const u=o.plus(e),{index:l,distance:f}=function(e){const r=n?s(e):a(e),{index:o}=t.reduce((n,t,e)=>{const o=c(d(t-r,0));return o>=n.smallestDisplacement?n:{smallestDisplacement:o,index:e}},{smallestDisplacement:1/0,index:0});return{index:o,distance:r}}(u),p=!n&&i(u);return!r||p?{index:l,distance:e}:{index:l,distance:e+d(t[l]-f,0)}},byIndex:function(n,e){return{index:n,distance:d(t[n]-o.get(),e)}},shortcut:d}}function z(n,t,e,r,i,s,c){function u(o){const{index:i,distance:u}=o,a=t.get(),l=i!==a;if(u&&(s.add(u),r.duration()?n.start():(n.update(),n.render(1),n.update())),l){e.set(a),t.set(i);c.createEvent("select",{targetSnap:i,sourceSnap:a}).emit()}}return{distance:function(n,t){u(i.byDistance(n,t))},index:function(n,e){const r=t.clone().set(n).get();u(i.byIndex(r,function(n){return n?o(n)?n:"forward"===n?-1:1:0}(e)))}}}function B(n,t,e,r,i,s,c,u,a){const l={passive:!0,capture:!0};let f=0;function d(n){"Tab"===n.code&&(f=(new Date).getTime())}return{init:function(p){t&&(u.add(p.document,"keydown",d,!1),r.forEach((t,r)=>{u.add(t,"focus",t=>function(t,r){const u=(new Date).getTime();if(u-f>10)return;const l=a.createEvent("slidefocus",t);if(!l.emit())return;e[n.nativeScroll]=0;const d=i.snapBySlide[r];if(!o(d))return;c.useDuration(0),s.index(d,0)}(t,r),l)}))}}}function k(n){let t=n||0;function e(n){t+=n}function o(n){return t+n}return{get:function(){return t},set:r(function(n){t=n}),add:r(e),subtract:r(function(n){e(-n)}),plus:r(o),minus:r(function(n){return o(-n)})}}function A(n,t,e,r,o,i,s,c){const u=l(r),a=l(r).reverse(),f=function(){const n=i[0];return g(p(a,n),t,!1)}().concat(function(){const e=n-i[0]-1;return g(p(u,e),-t,!0)}());function d(n,t){return n.reduce((n,t)=>n-r[t],t)}function p(n,t){return n.reduce((n,e)=>d(n,t)>0?[...n,e]:n,[])}function g(r,i,u){const a=function(t){return o.map((r,o)=>({start:r-e[o]+.5+t,end:r+n-.5+t}))}(i);return r.map(n=>{const e=u?0:-t,r=u?t:0,o=u?"end":"start",i=a[n][o];return{index:n,loopPoint:i,slideLocation:k(-1),translate:c[n],target:()=>s.get()>i?e:r}})}return{canLoop:function(){return f.every(({index:t})=>d(u.filter(n=>n!==t),n)<=.1)},loop:function(){f.forEach(n=>{const{target:t,translate:e,slideLocation:r}=n,o=t();o!==r.get()&&(e.to(o),r.set(o))})},loopPoints:f}}function I(n,t,e){let r,o=!1;function i(n){const t=e.createEvent("slideschanged",n);if(!!t.emit())for(const e of n){if(o)return;if("childList"===e.type){t.api.reInit();break}}}return{init:function(e){n&&(r=new e.MutationObserver(i),r.observe(t,{childList:!0}))},destroy:function(){r&&r.disconnect(),o=!0}}}function P(n,t,e,r,i,s,u,a,p){const{startEdge:g,endEdge:m,direction:h}=n,v=o(e);return{groupSlides:function(n){return v?function(n,t){return l(n).filter(n=>n%t===0).map(e=>n.slice(e,e+t))}(n,e):function(n){return n.length?l(n).reduce((e,o,l)=>{const v=f(e)||0,y=0===v,x=o===d(n),S=i[g]-s[v][g],b=i[g]-s[o][m],E=!r&&y?h(u):0,w=c(b-(!r&&x?h(a):0)-(S+E));return l&&w>t+p&&e.push(o),x&&e.push(n.length),e},[]).map((t,e,r)=>{const o=Math.max(r[e-1]||0);return n.slice(o,t)}):[]}(n)}}}function F(n,t,e="px"){const o="x"===n.scroll?function(n){return`translate3d(${n}${e},0px,0px)`}:function(n){return`translate3d(0px,${n}${e},0px)`};let i=null,s=!1,c=!1;function u(n){i!==n&&(i=n,t.style.transform=n)}function a(n){if(c)return;if(s===n)return;s=n;u(n?o(0):"")}return{set:u,clear:function(){u(""),t.getAttribute("style")||t.removeAttribute("style")},to:r(function(t){if(c)return;s||a(!0);const e=function(n){return Math.round(100*n)/100}(n.direction(t));u(o(e))}),get:r(o),toggleActive:function(n){c=!n},setIsScrolling:a}}function H(n,t,e,r,o,i,s,c,u,a,l,f){const d=o?[0,t,-t]:[0],g=r.reduce((n,t,e)=>Object.assign(Object.assign({},n),{[e]:S(e,t)}),{}),m=E(r.length-1,0,o);let h=u.get(),v=w(),y=v,x=[];function S(t,r){return d.map(o=>({start:r-e[t]-200+o,end:r+n- -200+o}))}function b(n,t,e,i){const s=n.length>0,c=s?n[0]:t,u=m.clone().set(c),a=()=>u.add(e).get();for(u.set(a());u.get()!==c;){const t=u.get(),c=i(t);if(!c&&s)break;c&&n.push(t);const l=a();if(u.set(l),o)continue;const f=!l,d=p(r,l);if(f&&-1===e)break;if(d&&1===e)break}}function w(){const n=[],t=s.slidesBySnap[i.get()];if(!t)return n;if(!r.length)return n;const e=c.get(),o=u.get(),a=t[Math.floor(t.length/2)],l=function(n,t){return e=>g[e].some(({start:e,end:r})=>e<n&&r>t)}(Math.max(e,o),Math.min(e,o));return l(a)&&n.push(a),b(n,a,1,l),b(n,a,-1,l),n}function L(n){v=w(),x=function(n,t){const e=new Set(t);return n.filter(n=>!e.has(n))}(y,v),y=v,h=n}function D(n,t){t.forEach(t=>{const e=a[t],r=l.loopPoints[t];(o&&r?r.target():0)||e.setIsScrolling(n)})}return{optimize:function(n){const t=u.get();if(!n&&t===h)return;L(t),!f.createEvent("scrolloptimize",{slidesInView:v,slidesLeftView:x}).emit()||(D(!0,v),D(!1,x))}}}function V(n,t,e,o,s,m,h,v){const{align:V,axis:C,direction:$,startSnap:R,loop:j,duration:N,dragFree:G,dragThreshold:W,inViewThreshold:q,inViewMargin:U,slidesToScroll:Q,skipSnaps:X,containScroll:Y,draggable:J,resize:K,slideChanges:Z,focus:_}=o,nn=v?0:2,tn=S(C,$),{containerRect:en,slideRects:rn}=h,on=tn.getSize(en),sn=function(n){return{measure:function(t){return n*(t/100)}}}(on),cn=function(n,t){const e={start:function(){return 0},center:function(n){return r(n)/2},end:r};function r(n){return t-n}return{measure:function(r,o){return i(n)?e[n](r):n(t,r,o)}}}(V,on),un=!j&&!!Y,an=j||!!Y,{slideSizes:ln,slideSizesWithGaps:fn,startGap:dn,endGap:pn}=function(n,t,e,r,o,i){const{ownerWindow:s}=i,{getSize:u,startEdge:a,endEdge:l}=n,d=e[0]&&o&&s,g=function(){if(!d)return 0;const n=e[0];return c(t[a]-n[a])}(),m=function(){if(!d)return 0;
1const n=s.getComputedStyle(f(r));return parseFloat(n.getPropertyValue(`margin-${l}`))}(),h=e.map(u),v=e.map((n,t,e)=>{const r=!t,o=p(e,t);return r?h[t]+g:o?h[t]+m:e[t+1][a]-n[a]}).map(c);return{slideSizes:h,slideSizesWithGaps:v,startGap:g,endGap:m}}(tn,en,rn,e,an,s),gn=P(tn,on,Q,j,en,rn,dn,pn,nn),{snaps:mn,snapsAligned:hn}=function(n,t,e,r,o){const{startEdge:i,endEdge:s}=n,{groupSlides:u}=o,a=u(r).map(n=>f(n)[s]-n[0][i]).map(c).map(t.measure),l=r.map(n=>e[i]-n[i]).map(n=>-c(n)),d=u(l).map(n=>n[0]).map((n,t)=>n+a[t]);return{snaps:l,snapsAligned:d}}(tn,cn,en,rn,gn),vn=-f(mn)+f(fn),{snapsContained:yn,scrollContainLimit:xn}=function(n,t,e,r,o){const i=b(-t+n,0),s=e.map((n,t)=>{const{min:r,max:o}=i,s=i.clamp(n),c=!t,a=p(e,t);return c?o:a||u(r,s)?r:u(o,s)?o:s}).map(n=>parseFloat(n.toFixed(3))),c=function(){const n=s[0],t=f(s);return b(s.lastIndexOf(n),s.indexOf(t)+1)}();function u(n,t){return!!o&&a(n,t)<=1}return{snapsContained:function(){if(t<=n+o)return[i.max];if("keepSnaps"===r)return s;const{min:e,max:u}=c;return s.slice(e,u)}(),scrollContainLimit:c}}(on,vn,hn,Y,nn),Sn=un?yn:hn,{limit:bn}=function(n,t,e){const r=t[0];return{limit:b(e?r-n:f(t),r)}}(vn,Sn,j),En=E(d(Sn),R,j),wn=En.clone(),Ln=l(e),Dn={update:function(n){const{dragHandler:t,scrollBody:e,scrollBounds:r,options:{loop:o}}=n;o||r.constrain(t.pointerDown()),e.seek()},render:function(n,t){const{scrollBody:e,translate:r,location:o,offsetLocation:i,previousLocation:s,scrollLooper:c,slideLooper:u,dragHandler:a,animation:l,eventHandler:f,scrollBounds:d,scrollOptimizer:p,options:{loop:g}}=n,m=e.settled(),h=!d.shouldConstrain(),v=a.pointerDown(),y=m&&(g||h),x=!y,S=x&&v,b=y&&!v;b&&(p.optimize(b),l.stop());const E=o.get()*t+s.get()*(1-t);i.set(E),g&&(c.loop(e.direction()),u.loop()),r.to(i),p.optimize(),b&&f.createEvent("settle",null).emit(),x&&f.createEvent("scroll",{isDragging:S}).emit()}},Mn=x(()=>Dn.update(Wn),n=>Dn.render(Wn,n)),On=Sn[En.get()],Tn=k(On),zn=k(On),Bn=k(On),kn=k(On),An=F(tn,t),In=e.map(n=>F(tn,n)),Pn=function(n){const{max:t,length:e}=n;return{get:r(function(n){return e?(n-t)/-e:0})}}(bn),Fn=function(n,t,e,r,o,i){let s=0,a=0,l=o,f=i,d=n.get(),p=0;function g(n){return l=n,h}function m(n){return f=n,h}const h={direction:function(){return a},duration:function(){return l},velocity:function(){return s},seek:function(){const t=r.minus(n);let o=0;return l?(e.set(n),s+=t/l,s*=f,d+=s,n.add(s),o=d-p):(s=0,e.set(r),n.set(r),o=t),a=u(o),p=d,h},settled:function(){return c(r.minus(t))<.001},useBaseFriction:function(){return m(i)},useBaseDuration:function(){return g(o)},useFriction:m,useDuration:g};return h}(Tn,Bn,zn,kn,N,.68),Hn=function(n,t,e,r,o,i,s){const{groupSlides:c}=o,{min:u,max:a}=r,l=function(){const r=c(i),o=!n||"keepSnaps"===t;return 1===e.length?[i]:o?r:r.slice(u,a).map((n,t,e)=>{const r=!t,o=p(e,t);return r?g(f(n)):o?g(d(i),n[0]):n})}(),m=function(){const n={};return l.forEach((t,e)=>{t.forEach(t=>{n[t]=e})}),n}(),h=e.map(s.get),v=e.length;return{slidesBySnap:l,snapBySlide:m,progressBySnap:h,length:v}}(un,Y,Sn,xn,gn,Ln,Pn),Vn=A(on,vn,ln,fn,mn,Sn,Bn,In),Cn=H(on,vn,fn,mn,j,En,Hn,Bn,kn,In,Vn,m),$n=T(j,Sn,vn,bn,kn),Rn=z(Mn,En,wn,Fn,$n,kn,m),jn=y(),Nn=function(n,t,e,r,o){const i=new Set;let s,c=!1;function u(n){const r=[],o=[];for(const e of n){if(c)return;const n=t.indexOf(e.target);e.isIntersecting?(i.add(n),r.push(n)):(i.delete(n),o.push(n))}e.createEvent("slidesinview",{slidesInView:a(),slidesLeftView:o,slidesEnterView:r}).emit()}function a(){return[...i]}return{init:function(e){s=new e.IntersectionObserver(u,{root:n.parentElement,threshold:r,rootMargin:o}),t.forEach(n=>s.observe(n))},destroy:function(){s&&s.disconnect(),c=!0},get:a}}(t,e,m,q,U),Gn=B(tn,_,n,e,Hn,Rn,Fn,jn,m),Wn={eventHandler:m,containerRect:en,contentSize:vn,slideRects:rn,nodeHandler:s,animation:Mn,slideSizes:ln,isSsr:v,axis:tn,dragHandler:w(J,tn,n,kn,L(tn),Tn,Mn,Rn,Fn,$n,En,m,sn,G,W,X,.68),eventStore:jn,percentOfView:sn,indexCurrent:En,indexPrevious:wn,limit:bn,location:Tn,offsetLocation:Bn,previousLocation:zn,options:o,resizeHandler:D(K,t,m,e,tn,s),scrollBody:Fn,scrollBounds:M(bn,Bn,kn,Fn,sn),scrollLooper:O(vn,bn,Bn,[Tn,Bn,zn,kn]),scrollProgress:Pn,scrollSnaps:Sn,scrollTarget:$n,scrollTo:Rn,slideLooper:Vn,slideFocus:Gn,slidesHandler:I(Z,t,m),slidesInView:Nn,slideIndexes:Ln,slidesToScroll:gn,slideTranslates:In,scrollSnapList:Hn,scrollOptimizer:Cn,translate:An,target:kn};return Wn}function C(){let n,t={};function e(n){return t[n]||[]}function r(n,r){return t=Object.assign(Object.assign({},t),{[n]:r(e(n))}),o}const o={init:function(t){n=t},clear:function(){t={}},createEvent:function(t,r){return{api:n,emit:()=>
1function(t,r){const o=function(t,e){return{api:n,type:t,detail:e}}(t,r);return e(t).every(t=>!1!==t(n,o))}(t,r)}},on:function(n,t){return r(n,n=>n.includes(t)?n:[...n,t]),o},off:function(n,t){return r(n,n=>n.filter(n=>n!==t)),o}};return o}e.d(t,{default:()=>N});const $={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,inViewMargin:"0px",breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startSnap:0,active:!0,draggable:!0,resize:!0,focus:!0,slideChanges:!0,ssr:[]};function R(n){const t=n?n.ownerDocument:null;let e;function r(n){const{offsetTop:t,offsetLeft:e,offsetWidth:r,offsetHeight:o}=n;return{top:t,right:e+r,bottom:t+o,left:e,width:r,height:o}}function o(n,t,e,r){return{offsetLeft:n,offsetTop:t,offsetWidth:e,offsetHeight:r}}return{ownerDocument:t,ownerWindow:t?t.defaultView:null,getNodes:function(t){return n?function(t){const{container:e,slides:r}=t,o=(i(e)?n.querySelector(e):e)||n.children[0],s=i(r)?o.querySelectorAll(r):r,c=Array.from(s||o.children);return{root:n,container:o,slides:c}}(t):function(n){const t=o(0,0,100,100);let e=0;return{root:t,container:t,slides:n.ssr.map(n=>{const t=o(e,e,n,n);return e+=n,t})}}(t)},getRect:r,getRects:function(t,o,i){if(i&&e)return e;const s=n?t.style:{transform:""},c=s.transform;s.transform="none";const u=r(t),a=o.map(r);return s.transform=c,e={containerRect:u,slideRects:a},e}}}function j(){let n;function t(n,t){return h(n,t||{})}const e={init:function(t){t&&(n=t)},mergeOptions:t,optionsAtMedia:function(e){if(!n)return e;const r=e.breakpoints||{},o=m(r).filter(t=>n.matchMedia(t).matches).map(n=>r[n]).reduce((n,e)=>t(n,e),{});return t(e,o)},optionsMediaQueries:function(t){return n?t.map(n=>m(n.breakpoints||{})).reduce((n,t)=>n.concat(t),[]).map(n.matchMedia):[]}};return e}function N(n,t,e){const r=!n,o=j(),i=function(n){let t=[];return{init:function(e,r){return t=r,r.reduce((t,r)=>(r.init(e,n),Object.assign(Object.assign({},t),{[r.name]:r})),{})},destroy:function(){t=t.filter(n=>n.destroy())}}}(o),s=y(),c=C(),{mergeOptions:a,optionsAtMedia:l,optionsMediaQueries:f}=o,{on:d,off:p,createEvent:g}=c,m=k;let h,v,x,b,E,w,L=!1,D=a($,N.globalOptions),M=a(D),O=[],T={};function z(n,t,e,o){const i=a(n,r?{direction:"ltr"}:{}),s=v.getRects(t,e,o),u=V(b,t,e,i,v,c,s,r);if(n.loop&&!u.slideLooper.canLoop()){return z(a(n,{loop:!1}),t,e,!0)}return u}function B(t,e){if(L)return;v=R(n);const{ownerWindow:c}=v;o.init(c),D=a(D,t),M=l(D),O=e||O;const d=v.getNodes(M);b=d.root,E=d.container,w=d.slides,h=z(M,E,w),x=function(n,t,e,r,o,i){const s=F(t,n,"%");function c(n,t,r){const{direction:o}=S(n.axis,n.direction),{slides:c,container:a}=e.getNodes(n),{location:l,slideLooper:f,contentSize:d}=i(n,a,c),p=n.loop?f.loopPoints:[],g=o(l),m=s.get(g);return`${t}{transform:${m};}`+p.reduce((e,i)=>{const{index:c}=i,a=u(i.target()),l=n.ssr[c];if(!a||!l)return e;const f=o(d/l*100*a),p=s.get(f);return e+`${t} ${r}:nth-child(${c+1}){transform:${p};}`},"")}return{getStyles:function(n,t="> *"){if(!r.ssr.length)return"";const e=r.breakpoints||{};return c(r,n,t)+Object.keys(e).reduce((i,s)=>i+`@media ${s}{${c(o(r,e[s]),n,t)}}`,"")}}}(E,h.axis,v,D,a,z),f([D,...O.map(({options:n})=>n)]).forEach(n=>s.add(n,"change",k)),M.active&&(!r&&c&&(h.translate.to(h.location),h.scrollOptimizer.optimize(!0),h.options.loop&&h.slideLooper.loop(),h.animation.init(c),h.resizeHandler.init(c),h.slidesInView.init(c),h.slidesHandler.init(c),h.slideFocus.init(c),h.eventHandler.init(G),E.offsetParent&&w.length&&h.dragHandler.init(c)),T=i.init(G,O))}function k(n,t){const e=c.createEvent("reinit",null),r=H();A(),B(a({startSnap:r},n),t),e.emit()}function A(){h.dragHandler.destroy(),h.resizeHandler.destroy(),h.slidesHandler.destroy(),h.slidesInView.destroy(),h.animation.destroy(),i.destroy(),h.eventStore.clear(),s.clear(),h.translate.clear(),h.slideTranslates.forEac
1h(n=>n.clear())}function I(n,t,e){L||r||M.active&&(h.scrollBody.useBaseFriction().useDuration(!0===t?0:M.duration),h.scrollTo.index(n,e))}function P(n){return h.indexCurrent.add(n).get()}function H(){return P(0)}const G={canGoToNext:function(){return P(1)!==H()},canGoToPrev:function(){return P(-1)!==H()},cloneEngine:function(n){return z(a(M,n),E,w,!0)},containerNode:function(){return E},createEvent:g,internalEngine:function(){return h},destroy:function(){if(L)return;if(r)return;const n=c.createEvent("destroy",null);L=!0,s.clear(),A(),n.emit(),c.clear()},on:d,off:p,plugins:function(){return T},previousSnap:function(){return h.indexPrevious.get()},reInit:m,rootNode:function(){return b},goToNext:function(n){I(P(1),n,-1)},goToPrev:function(n){I(P(-1),n,1)},scrollProgress:function(){return h.scrollProgress.get(h.offsetLocation)},goTo:I,selectedSnap:H,slideNodes:function(){return w},slidesInView:function(){return h.slidesInView.get()},snapIndex:P,snapList:function(){return h.scrollSnapList.progressBySnap},ssrStyles:function(n,t){return r?x.getStyles(n,t):""}};return B(t||{},e||[]),G}N.globalOptions=void 0}}]); 2//# sourceMappingURL=env-carousel-958e758f482bf62bbe89.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.