1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[444],{9436:function(t,e,n){n.d(e,{Me:function(){return th},oo:function(){return tb},RR:function(){return tx},dr:function(){return tw},cv:function(){return ty},uY:function(){return tv}});let r=Math.min,i=Math.max,o=Math.round,u=Math.floor,l=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"};function f(t,e){return"function"==typeof t?t(e):t}function s(t){return t.split("-")[0]}function d(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function m(t){return"y"===t?"height":"width"}let g=new Set(["top","bottom"]);function h(t){return g.has(s(t))?"y":"x"}function y(t){return t.replace(/start|end/g,t=>a[t])}let v=["left","right"],x=["right","left"],w=["top","bottom"],b=["bottom","top"];function S(t){return t.replace(/left|right|bottom|top/g,t=>c[t])}function E(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function R(t,e,n){let r,{reference:i,floating:o}=t,u=h(e),l=p(h(e)),c=m(l),a=s(e),f="y"===u,g=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,v=i[c]/2-o[c]/2;switch(a){case"top":r={x:g,y:i.y-o.height};break;case"bottom":r={x:g,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(e)){case"start":r[l]-=v*(n&&f?-1:1);break;case"end":r[l]+=v*(n&&f?-1:1)}return r}let A=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:u}=n,l=o.filter(Boolean),c=await (null==u.isRTL?void 0:u.isRTL(e)),a=await u.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:s}=R(a,r,c),d=r,p={},m=0;for(let n=0;n<l.length;n++){let{name:o,fn:g}=l[n],{x:h,y:y,data:v,reset:x}=await g({x:f,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:a,platform:u,elements:{reference:t,floating:e}});f=null!=h?h:f,s=null!=y?y:s,p={...p,[o]:{...p[o],...v}},x&&m<=50&&(m++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(a=!0===x.rects?await u.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:f,y:s}=R(a,d,c)),n=-1)}return{x:f,y:s,placement:d,strategy:i,middlewareData:p}};async function L(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:u,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=f(e,t),g="number"!=typeof m?{top:0,right:0,bottom:0,left:0,...m}:{top:m,right:m,bottom:m,left:m},h=l[p?"floating"===d?"reference":"floating":d],y=E(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(h)))||n?h:h.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:a,rootBoundary:s,strategy:c})),v="floating"===d?{x:r,y:i,width:u.floating.width,height:u.floating.height}:u.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),w=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=E(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:x,strategy:c}):v);return{top:(y.top-b.top+g.top)/w.y,bottom:(b.bottom-y.bottom+g.bottom)/w.y,left:(y.left-b.left+g.left)/w.x,right:(b.right-y.right+g.right)/w.x}}let T=new Set(["left","top"]);async function O(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),u=s(n),l=d(n),c="y"===h(n),a=T.has(u)?-1:1,p=o&&c?-1:1,m=f(e,t),{mainAxis:g,crossAxis:y,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&"number"==typeof v&&(y="end"===l?-1*v:v),c?{x:y*p,y:g*a}:{x:g*a,y:y*p}}function k(){return"undefined"!=typeof window}function D(t){return P(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function M(t){var e;return null==(e=(P(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function P(t){return!!k()&&(t instanceof Node||t instanceof F(t).Node)}function C(t){return!!k()&&(t instanceof Element||t instanceof F(t).Element)}function I(t){return!!k()&&(t instanceof HTMLElement||t instanceof F(t).HTMLElement)}function H(t){return!!k()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof F(t).ShadowRoot)}let V=new Set(["inline","contents"]);function j(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=X(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!V.has(i)}let N=new Set(["table","td","th"]),z=[":popover-open",":modal"];function B(t){return z.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let W=["transform","translate","scale","rotate","perspective"],$=["transform","translate","scale","rotate","perspective","filter"],q=["paint","layout","strict","content"];function _(t){let e=Y(),n=C(t)?X(t):t;return W.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||$.some(t=>(n.willChange||"").includes(t))||q.some(t=>(n.contain||"").includes(t))}function Y(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let U=new Set(["html","body","#document"]);function Z(t){return U.has(D(t))}function X(t){return F(t).getComputedStyle(t)}function J(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Q(t){if("html"===D(t))return t;let e=t.assignedSlot||t.parentNode||H(t)&&t.host||M(t);return H(e)?e.host:e}function G(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=Q(e);return Z(n)?e.ownerDocument?e.ownerDocument.body:e.body:I(n)&&j(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),u=F(i);if(o){let t=K(u);
1return e.concat(u,u.visualViewport||[],j(i)?i:[],t&&n?G(t):[])}return e.concat(i,G(i,[],n))}function K(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function tt(t){let e=X(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=I(t),u=i?t.offsetWidth:n,l=i?t.offsetHeight:r,c=o(n)!==u||o(r)!==l;return c&&(n=u,r=l),{width:n,height:r,$:c}}function te(t){return C(t)?t:t.contextElement}function tn(t){let e=te(t);if(!I(e))return l(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:u}=tt(e),c=(u?o(n.width):n.width)/r,a=(u?o(n.height):n.height)/i;return c&&Number.isFinite(c)||(c=1),a&&Number.isFinite(a)||(a=1),{x:c,y:a}}let tr=l(0);function ti(t){let e=F(t);return Y()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tr}function to(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),u=te(t),c=l(1);e&&(r?C(r)&&(c=tn(r)):c=tn(t));let a=(void 0===(i=n)&&(i=!1),r&&(!i||r===F(u))&&i)?ti(u):l(0),f=(o.left+a.x)/c.x,s=(o.top+a.y)/c.y,d=o.width/c.x,p=o.height/c.y;if(u){let t=F(u),e=r&&C(r)?F(r):r,n=t,i=K(n);for(;i&&r&&e!==n;){let t=tn(i),e=i.getBoundingClientRect(),r=X(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,u=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;f*=t.x,s*=t.y,d*=t.x,p*=t.y,f+=o,s+=u,i=K(n=F(i))}}return E({width:d,height:p,x:f,y:s})}function tu(t,e){let n=J(t).scrollLeft;return e?e.left+n:to(M(t)).left+n}function tl(t,e,n){void 0===n&&(n=!1);let r=t.getBoundingClientRect();return{x:r.left+e.scrollLeft-(n?0:tu(t,r)),y:r.top+e.scrollTop}}let tc=new Set(["absolute","fixed"]);function ta(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=F(t),r=M(t),i=n.visualViewport,o=r.clientWidth,u=r.clientHeight,l=0,c=0;if(i){o=i.width,u=i.height;let t=Y();(!t||t&&"fixed"===e)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:o,height:u,x:l,y:c}}(t,n);else if("document"===e)r=function(t){let e=M(t),n=J(t),r=t.ownerDocument.body,o=i(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),u=i(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+tu(t),c=-n.scrollTop;return"rtl"===X(r).direction&&(l+=i(e.clientWidth,r.clientWidth)-o),{width:o,height:u,x:l,y:c}}(M(t));else if(C(e))r=function(t,e){let n=to(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=I(t)?tn(t):l(1),u=t.clientWidth*o.x;return{width:u,height:t.clientHeight*o.y,x:i*o.x,y:r*o.y}}(e,n);else{let n=ti(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return E(r)}function tf(t){return"static"===X(t).position}function ts(t,e){if(!I(t)||"fixed"===X(t).position)return null;if(e)return e(t);let n=t.offsetParent;return M(t)===n&&(n=n.ownerDocument.body),n}function td(t,e){var n;let r=F(t);if(B(t))return r;if(!I(t)){let e=Q(t);for(;e&&!Z(e);){if(C(e)&&!tf(e))return e;e=Q(e)}return r}let i=ts(t,e);for(;i&&(n=i,N.has(D(n)))&&tf(i);)i=ts(i,e);return i&&Z(i)&&tf(i)&&!_(i)?r:i||function(t){let e=Q(t);for(;I(e)&&!Z(e);){if(_(e))return e;if(B(e))break;e=Q(e)}return null}(t)||r}let tp=async function(t){let e=this.getOffsetParent||td,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=I(e),i=M(e),o="fixed"===n,u=to(t,!0,o,e),c={scrollLeft:0,scrollTop:0},a=l(0);if(r||!r&&!o){if(("body"!==D(e)||j(i))&&(c=J(e)),r){let t=to(e,!0,o,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&(a.x=tu(i))}o&&!r&&i&&(a.x=tu(i));let f=!i||r||o?l(0):tl(i,c);return{x:u.left+c.scrollLeft-a.x-f.x,y:u.top+c.scrollTop-a.y-f.y,width:u.width,height:u.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tm={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,u=M(r),c=!!e&&B(e.floating);if(r===u||c&&o)return n;let a={scrollLeft:0,scrollTop:0},f=l(1),s=l(0),d=I(r);if((d||!d&&!o)&&(("body"!==D(r)||j(u))&&(a=J(r)),I(r))){let t=to(r);f=tn(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!u||d||o?l(0):tl(u,a,!0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+s.x+p.x,y:n.y*f.y-a.scrollTop*f.y+s.y+p.y}},getDocumentElement:M,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:u}=t,l=[..."clippingAncestors"===n?B(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=G(t,[],!1).filter(t=>C(t)&&"body"!==D(t)),i=null,o="fixed"===X(t).position,u=o?Q(t):t;for(;C(u)&&!Z(u);){let e=X(u),n=_(u);n||"fixed"!==e.position||(i=null),(o?!n&&!i:!n&&"static"===e.position&&!!i&&tc.has(i.position)||j(u)&&!n&&function t(e,n){let r=Q(e);return!(r===n||!C(r)||Z(r))&&("fixed"===X(r).position||t(r,n))}(t,u))?r=r.filter(t=>t!==u):i=e,u=Q(u)}return e.set(t,r),r}(e,this._c):[].concat(n),o],c=l[0],a=l.reduce((t,n)=>{let o=ta(e,n,u);return t.top=i(o.top,t.top),t.right=r(o.right,t.right),t.bottom=r(o.bottom,t.bottom),t.left=i(o.left,t.left),t},ta(e,c,u));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:td,getElementRects:tp,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=tt(t);return{width:e,height:n}},getScale:tn,isElement:C,isRTL:function(t){return"rtl"===X(t).direction}};function tg(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function th(t,e,n,o){let l;void 0===o&&(o={});let{ancestorScroll:c=!0,ancestorResize:a=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=te(t),m=c||a?[...p?G(p):[],...G(e)]:[];m.forEach(t=>{c&&t.addEventListener("scroll",n,{passive:!0}),a&&t.addEventListener("resize",n)});let g=p&&s?function(t,e){let n,o=null,l=M(t);function c(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return!function a(f,s){void 0===f&&(f=!1),void 0===s&&(s=1),c();let d=t.getBoundingClientRect(),{left:p,top:m,width:g,height:h}=d;if(f||e(),!g||!h)return;let y=u(m),v=u(l.clientWidth-(p+g)),x={rootMargin:-y+"px "+-v+"px "+-u(l.clientHeight-(m+h))+"px "+-u(p)+"px",threshold:i(0,r(1,s))||1},w=!0;function b(e){let r=e[0].intersectionRatio;if(r!==s){if(!w)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||tg(d,t.getBoundingClientRect())||a(),w=!1}try{o=new IntersectionObserver(b,{...x,root:l.ownerDocument})}catch(t){o=new IntersectionObserver(b,x)}o.observe(t)}(!0),c}(p,n):null,h=-1,y=null;f&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&(y.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}
1),p&&!d&&y.observe(p),y.observe(e));let v=d?to(t):null;return d&&function e(){let r=to(t);v&&!tg(v,r)&&n(),v=r,l=requestAnimationFrame(e)}(),n(),()=>{var t;m.forEach(t=>{c&&t.removeEventListener("scroll",n),a&&t.removeEventListener("resize",n)}),null==g||g(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(l)}}let ty=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:u,middlewareData:l}=e,c=await O(e,t);return u===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:u}}}}},tv=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:u}=e,{mainAxis:l=!0,crossAxis:c=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...d}=f(t,e),m={x:n,y:o},g=await L(e,d),y=h(s(u)),v=p(y),x=m[v],w=m[y];if(l){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=x+g[t],o=x-g[e];x=i(n,r(x,o))}if(c){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=w+g[t],o=w-g[e];w=i(n,r(w,o))}let b=a.fn({...e,[v]:x,[y]:w});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[v]:l,[y]:c}}}}}},tx=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,u;let{placement:l,middlewareData:c,rects:a,initialPlacement:g,platform:E,elements:R}=e,{mainAxis:A=!0,crossAxis:T=!0,fallbackPlacements:O,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:F=!0,...M}=f(t,e);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};let P=s(l),C=h(g),I=s(g)===g,H=await (null==E.isRTL?void 0:E.isRTL(R.floating)),V=O||(I||!F?[S(g)]:function(t){let e=S(t);return[y(t),e,y(e)]}(g)),j="none"!==D;!O&&j&&V.push(...function(t,e,n,r){let i=d(t),o=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?x:v;return e?v:x;case"left":case"right":return e?w:b;default:return[]}}(s(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(y)))),o}(g,F,D,H));let N=[g,...V],z=await L(e,M),B=[],W=(null==(r=c.flip)?void 0:r.overflows)||[];if(A&&B.push(z[P]),T){let t=function(t,e,n){void 0===n&&(n=!1);let r=d(t),i=p(h(t)),o=m(i),u="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(u=S(u)),[u,S(u)]}(l,a,H);B.push(z[t[0]],z[t[1]])}if(W=[...W,{placement:l,overflows:B}],!B.every(t=>t<=0)){let t=((null==(i=c.flip)?void 0:i.index)||0)+1,e=N[t];if(e&&(!("alignment"===T&&C!==h(e))||W.every(t=>t.overflows[0]>0&&h(t.placement)===C)))return{data:{index:t,overflows:W},reset:{placement:e}};let n=null==(o=W.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(k){case"bestFit":{let t=null==(u=W.filter(t=>{if(j){let e=h(t.placement);return e===C||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:u[0];t&&(n=t);break}case"initialPlacement":n=g}if(l!==n)return{reset:{placement:n}}}return{}}}},tw=function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:r,placement:i,rects:o,middlewareData:u}=e,{offset:l=0,mainAxis:c=!0,crossAxis:a=!0}=f(t,e),d={x:n,y:r},m=h(i),g=p(m),y=d[g],v=d[m],x=f(l,e),w="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){let t="y"===g?"height":"width",e=o.reference[g]-o.floating[t]+w.mainAxis,n=o.reference[g]+o.reference[t]-w.mainAxis;y<e?y=e:y>n&&(y=n)}if(a){var b,S;let t="y"===g?"width":"height",e=T.has(s(i)),n=o.reference[m]-o.floating[t]+(e&&(null==(b=u.offset)?void 0:b[m])||0)+(e?0:w.crossAxis),r=o.reference[m]+o.reference[t]+(e?0:(null==(S=u.offset)?void 0:S[m])||0)-(e?w.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[g]:y,[m]:v}}}},tb=(t,e,n)=>{let r=new Map,i={platform:tm,...n},o={...i.platform,_c:r};return A(t,e,{...i,platform:o})}},92416:function(t,e,n){n.d(e,{RR:function(){return g},YF:function(){return s},cv:function(){return d},dr:function(){return m},uY:function(){return p}});var r=n(9436),i=n(2784),o=n(28316),u="undefined"!=typeof document?i.useLayoutEffect:function(){};function l(t,e){let n,r,i;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;
1if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(r=n;0!=r--;)if(!l(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!l(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function c(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function a(t,e){let n=c(t);return Math.round(e*n)/n}function f(t){let e=i.useRef(t);return u(()=>{e.current=t}),e}function s(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:s=[],platform:d,elements:{reference:p,floating:m}={},transform:g=!0,whileElementsMounted:h,open:y}=t,[v,x]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[w,b]=i.useState(s);l(w,s)||b(s);let[S,E]=i.useState(null),[R,A]=i.useState(null),L=i.useCallback(t=>{t!==D.current&&(D.current=t,E(t))},[]),T=i.useCallback(t=>{t!==F.current&&(F.current=t,A(t))},[]),O=p||S,k=m||R,D=i.useRef(null),F=i.useRef(null),M=i.useRef(v),P=null!=h,C=f(h),I=f(d),H=f(y),V=i.useCallback(()=>{if(!D.current||!F.current)return;let t={placement:e,strategy:n,middleware:w};I.current&&(t.platform=I.current),(0,r.oo)(D.current,F.current,t).then(t=>{let e={...t,isPositioned:!1!==H.current};j.current&&!l(M.current,e)&&(M.current=e,o.flushSync(()=>{x(e)}))})},[w,e,n,I,H]);u(()=>{!1===y&&M.current.isPositioned&&(M.current.isPositioned=!1,x(t=>({...t,isPositioned:!1})))},[y]);let j=i.useRef(!1);u(()=>(j.current=!0,()=>{j.current=!1}),[]),u(()=>{if(O&&(D.current=O),k&&(F.current=k),O&&k){if(C.current)return C.current(O,k,V);V()}},[O,k,V,C,P]);let N=i.useMemo(()=>({reference:D,floating:F,setReference:L,setFloating:T}),[L,T]),z=i.useMemo(()=>({reference:O,floating:k}),[O,k]),B=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!z.floating)return t;let e=a(z.floating,v.x),r=a(z.floating,v.y);return g?{...t,transform:"translate("+e+"px, "+r+"px)",...c(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,g,z.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:V,refs:N,elements:z,floatingStyles:B}),[v,V,N,z,B])}let d=(t,e)=>({...(0,r.cv)(t),options:[t,e]}),p=(t,e)=>({...(0,r.uY)(t),options:[t,e]}),m=(t,e)=>({...(0,r.dr)(t),options:[t,e]}),g=(t,e)=>({...(0,r.RR)(t),options:[t,e]})},12739:function(t,e,n){n.d(e,{Z:function(){return A}});var r=n(2784);function i(t){return"[object Object]"===Object.prototype.toString.call(t)||Array.isArray(t)}function o(t,e){let n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(e.breakpoints||{}))&&n.every(n=>{let r=t[n],u=e[n];return"function"==typeof r?`${r}`==`${u}`:i(r)&&i(u)?o(r,u):r===u})}function u(t){return t.concat().sort((t,e)=>t.name>e.name?1:-1).map(t=>t.options)}function l(t){return"number"==typeof t}function c(t){return"string"==typeof t}function a(t){return"boolean"==typeof t}function f(t){return"[object Object]"===Object.prototype.toString.call(t)}function s(t){return Math.abs(t)}function d(t){return Math.sign(t)}function p(t){return y(t).map(Number)}function m(t){return t[g(t)]}function g(t){return Math.max(0,t.length-1)}function h(t,e=0){return Array.from(Array(t),(t,n)=>e+n)}function y(t){return Object.keys(t)}function v(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function x(){let t=[],e={add:function(n,r,i,o={passive:!0}){let u;return"addEventListener"in n?(n.addEventListener(r,i,o),u=()=>n.removeEventListener(r,i,o)):(n.addListener(i),u=()=>n.removeListener(i)),t.push(u),e},clear:function(){t=t.filter(t=>t())}};return e}function w(t=0,e=0){let n=s(t-e);function r(n){return n<t||n>e}return{length:n,max:e,min:t,constrain:function(n){return r(n)?n<t?t:e:n},reachedAny:r,reachedMax:function(t){return t>e},reachedMin:function(e){return e<t},removeOffset:function(t){return n?t-n*Math.ceil((t-e)/n):t}}}function b(t){let e=t;function n(t){return l(t)?t:t.get()}return{get:function(){return e},set:function(t){e=n(t)},add:function(t){e+=n(t)},subtract:function(t){e-=n(t)}}}function S(t,e){let n="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},r=e.style,i=null,o=!1;return{clear:function(){o||(r.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(o)return;let u=Math.round(100*t.direction(e))/100;u!==i&&(r.transform=n(u),i=u)},toggleActive:function(t){o=!t}}}let E={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 R(t,e,n){let r,i,o,u,A;let L=t.ownerDocument,T=L.defaultView,O=function(t){function e(t,e){return function t(e,n){return[e,n].reduce((e,n)=>
1(y(n).forEach(r=>{let i=e[r],o=n[r],u=f(i)&&f(o);e[r]=u?t(i,o):o}),e),{})}(t,e||{})}return{mergeOptions:e,optionsAtMedia:function(n){let r=n.breakpoints||{},i=y(r).filter(e=>t.matchMedia(e).matches).map(t=>r[t]).reduce((t,n)=>e(t,n),{});return e(n,i)},optionsMediaQueries:function(e){return e.map(t=>y(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}}}(T),k=(A=[],{init:function(t,e){return(A=e.filter(({options:t})=>!1!==O.optionsAtMedia(t).active)).forEach(e=>e.init(t,O)),e.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){A=A.filter(t=>t.destroy())}}),D=x(),F=function(){let t,e={},n={init:function(e){t=e},emit:function(r){return(e[r]||[]).forEach(e=>e(t,r)),n},off:function(t,r){return e[t]=(e[t]||[]).filter(t=>t!==r),n},on:function(t,r){return e[t]=(e[t]||[]).concat([r]),n},clear:function(){e={}}};return n}(),{mergeOptions:M,optionsAtMedia:P,optionsMediaQueries:C}=O,{on:I,off:H,emit:V}=F,j=!1,N=M(E,R.globalOptions),z=M(N),B=[];function W(e,n){!j&&(z=P(N=M(N,e)),B=n||B,function(){let{container:e,slides:n}=z;o=(c(e)?t.querySelector(e):e)||t.children[0];let r=c(n)?o.querySelectorAll(n):n;u=[].slice.call(r||o.children)}(),r=function e(n){let r=function(t,e,n,r,i,o,u){let f,E;let{align:R,axis:A,direction:L,startIndex:T,loop:O,duration:k,dragFree:D,dragThreshold:F,inViewThreshold:M,slidesToScroll:P,skipSnaps:C,containScroll:I,watchResize:H,watchSlides:V,watchDrag:j,watchFocus:N}=o,z={measure:function(t){let{offsetTop:e,offsetLeft:n,offsetWidth:r,offsetHeight:i}=t;return{top:e,right:n+r,bottom:e+i,left:n,width:r,height:i}}},B=z.measure(e),W=n.map(z.measure),$=function(t,e){let n="rtl"===e,r="y"===t,i=!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(t){let{height:e,width:n}=t;return r?e:n},direction:function(t){return t*i}}}(A,L),q=$.measureSize(B),_={measure:function(t){return t/100*q}},Y=function(t,e){let n={start:function(){return 0},center:function(t){return(e-t)/2},end:function(t){return e-t}};return{measure:function(r,i){return c(t)?n[t](r):t(e,r,i)}}}(R,q),U=!O&&!!I,{slideSizes:Z,slideSizesWithGaps:X,startGap:J,endGap:Q}=function(t,e,n,r,i,o){let{measureSize:u,startEdge:l,endEdge:c}=t,a=n[0]&&i,f=function(){if(!a)return 0;let t=n[0];return s(e[l]-t[l])}(),d=a?parseFloat(o.getComputedStyle(m(r)).getPropertyValue(`margin-${c}`)):0,p=n.map(u),h=n.map((t,e,n)=>{let r=e===g(n);return e?r?p[e]+d:n[e+1][l]-t[l]:p[e]+f}).map(s);return{slideSizes:p,slideSizesWithGaps:h,startGap:f,endGap:d}}($,B,W,n,O||!!I,i),G=function(t,e,n,r,i,o,u,c,a){let{startEdge:f,endEdge:d,direction:h}=t,y=l(n);return{groupSlides:function(t){return y?p(t).filter(t=>t%n==0).map(e=>t.slice(e,e+n)):t.length?p(t).reduce((n,l,a)=>{let p=m(n)||0,y=l===g(t),v=i[f]-o[p][f],x=i[f]-o[l][d],w=r||0!==p?0:h(u),b=s(x-(!r&&y?h(c):0)-(v+w));return a&&b>e+2&&n.push(l),y&&n.push(t.length),n},[]).map((e,n,r)=>{let i=Math.max(r[n-1]||0);return t.slice(i,e)}):[]}}}($,q,P,O,B,W,J,Q,0),{snaps:K,snapsAligned:tt}=function(t,e,n,r,i){let{startEdge:o,endEdge:u}=t,{groupSlides:l}=i,c=l(r).map(t=>m(t)[u]-t[0][o]).map(s).map(e.measure),a=r.map(t=>n[o]-t[o]).map(t=>-s(t)),f=l(a).map(t=>t[0]).map((t,e)=>t+c[e]);return{snaps:a,snapsAligned:f}}($,Y,B,W,G),te=-m(K)+m(X),{snapsContained:tn,scrollContainLimit:tr}=function(t,e,n,r,i){let o=w(-e+t,0),u=n.map((t,e)=>{let{min:r,max:i}=o,u=o.constrain(t),l=e===g(n);return e?l||1>=s(r-u)?r:1>=s(i-u)?i:u:i}).map(t=>parseFloat(t.toFixed(3))),l=function(){let t=u[0],e=m(u);return w(u.lastIndexOf(t),u.indexOf(e)+1)}();return{snapsContained:function(){if(e<=t+2)return[o.max];if("keepSnaps"===r)return u;let{min:n,max:i}=l;return u.slice(n,i)}(),scrollContainLimit:l}}(q,te,tt,I,0),ti=U?tn:tt,{limit:to}=function(t,e,n){let r=e[0];return{limit:w(n?r-t:m(e),r)}}(te,ti,O),tu=function t(e,n,r){let{constrain:i}=w(0,e),o=e+1,u=l(n);function l(t){return r?s((o+t)%o):i(t)}function c(){return t(e,u,r)}let a={get:function(){return u},set:function(t){return u=l(t),a},add:function(t){return c().set(u+t)},clone:c};return a}(g(ti),T,O),tl=tu.clone(),tc=p(n),ta=({dragHandler:t,scrollBody:e,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(t.pointerDown()),e.seek()},tf=({scrollBody:t,translate:e,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:u,dragHandler:l,animation:c,eventHandler:a,scrollBounds:f,options:{loop:s}},d)=>{let p=t.settled(),m=!f.shouldConstrain(),g=s?p:p&&m,h=g&&!l.pointerDown();h&&c.stop();let y=n.get()*d+i.get()*(1-d);r.set(y),s&&(o.loop(t.direction()),u.loop()),e.to(r.get()),h&&a.emit("settle"),g||a.emit("scroll")},ts=function(t,e,n,r){let i=x(),o=1e3/60,u=null,l=0,c=0;function a(t){if(!c)return;u||(u=t,n(),n());let i=t-u;for(u=t,l+=i;l>=o;)n(),l-=o;r(l/o),c&&(c=e.requestAnimationFrame(a))}function f(){e.cancelAnimationFrame(c),u=null,l=0,c=0}return{init:function(){i.add(t,"visibilitychange",()=>{t.hidden&&(u=null,l=0)})},destroy:function(){f(),i.clear()},start:function(){c||(c=e.requestAnimationFrame(a))},stop:f,update:n,render:r}}(r,i,()=>ta(tA),t=>
1tf(tA,t)),td=ti[tu.get()],tp=b(td),tm=b(td),tg=b(td),th=b(td),ty=function(t,e,n,r,i,o){let u=0,l=0,c=i,a=.68,f=t.get(),p=0;function m(t){return c=t,h}function g(t){return a=t,h}let h={direction:function(){return l},duration:function(){return c},velocity:function(){return u},seek:function(){let e=r.get()-t.get(),i=0;return c?(n.set(t),u+=e/c,u*=a,f+=u,t.add(u),i=f-p):(u=0,n.set(r),t.set(r),i=e),l=d(i),p=f,h},settled:function(){return .001>s(r.get()-e.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return m(i)},useFriction:g,useDuration:m};return h}(tp,tg,tm,th,k,0),tv=function(t,e,n,r,i){let{reachedAny:o,removeOffset:u,constrain:l}=r;function c(t){return t.concat().sort((t,e)=>s(t)-s(e))[0]}function a(e,r){let i=[e,e+n,e-n];if(!t)return e;if(!r)return c(i);let o=i.filter(t=>d(t)===r);return o.length?c(o):m(i)-n}return{byDistance:function(n,r){let c=i.get()+n,{index:f,distance:d}=function(n){let r=t?u(n):l(n),{index:i}=e.map((t,e)=>({diff:a(t-r,0),index:e})).sort((t,e)=>s(t.diff)-s(e.diff))[0];return{index:i,distance:r}}(c),p=!t&&o(c);if(!r||p)return{index:f,distance:n};let m=n+a(e[f]-d,0);return{index:f,distance:m}},byIndex:function(t,n){let r=a(e[t]-i.get(),n);return{index:t,distance:r}},shortcut:a}}(O,ti,te,to,th),tx=function(t,e,n,r,i,o,u){function l(i){let l=i.distance,c=i.index!==e.get();o.add(l),l&&(r.duration()?t.start():(t.update(),t.render(1),t.update())),c&&(n.set(e.get()),e.set(i.index),u.emit("select"))}return{distance:function(t,e){l(i.byDistance(t,e))},index:function(t,n){let r=e.clone().set(t);l(i.byIndex(r.get(),n))}}}(ts,tu,tl,ty,tv,th,u),tw=function(t){let{max:e,length:n}=t;return{get:function(t){return n?-((t-e)/n):0}}}(to),tb=x(),tS=function(t,e,n,r){let i;let o={},u=null,l=null,c=!1;return{init:function(){i=new IntersectionObserver(t=>{c||(t.forEach(t=>{o[e.indexOf(t.target)]=t}),u=null,l=null,n.emit("slidesInView"))},{root:t.parentElement,threshold:r}),e.forEach(t=>i.observe(t))},destroy:function(){i&&i.disconnect(),c=!0},get:function(t=!0){if(t&&u)return u;if(!t&&l)return l;let e=y(o).reduce((e,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(t&&i||!t&&!i)&&e.push(r),e},[]);return t&&(u=e),t||(l=e),e}}}(e,n,u,M),{slideRegistry:tE}=function(t,e,n,r,i,o){let{groupSlides:u}=i,{min:l,max:c}=r;return{slideRegistry:function(){let r=u(o);return 1===n.length?[o]:t&&"keepSnaps"!==e?r.slice(l,c).map((t,e,n)=>{let r=e===g(n);return e?r?h(g(o)-m(n)[0]+1,m(n)[0]):t:h(m(n[0])+1)}):r}()}}(U,I,ti,tr,G,tc),tR=function(t,e,n,r,i,o,u,c){let f={passive:!0,capture:!0},s=0;function d(t){"Tab"===t.code&&(s=new Date().getTime())}return{init:function(p){c&&(o.add(document,"keydown",d,!1),e.forEach((e,d)=>{o.add(e,"focus",e=>{(a(c)||c(p,e))&&function(e){if(new Date().getTime()-s>10)return;u.emit("slideFocusStart"),t.scrollLeft=0;let o=n.findIndex(t=>t.includes(e));l(o)&&(i.useDuration(0),r.index(o,0),u.emit("slideFocus"))}(d)},f)}))}}}(t,n,tE,tx,ty,tb,u,N),tA={ownerDocument:r,ownerWindow:i,eventHandler:u,containerRect:B,slideRects:W,animation:ts,axis:$,dragHandler:function(t,e,n,r,i,o,u,l,c,f,p,m,g,h,y,b,S,E,R){let{cross:A,direction:L}=t,T=["INPUT","SELECT","TEXTAREA"],O={passive:!1},k=x(),D=x(),F=w(50,225).constrain(h.measure(20)),M={mouse:300,touch:400},P={mouse:500,touch:600},C=y?43:25,I=!1,H=0,V=0,j=!1,N=!1,z=!1,B=!1;function W(t){if(!v(t,r)&&t.touches.length>=2)return $(t);let e=o.readPoint(t),n=o.readPoint(t,A),u=s(e-H),c=s(n-V);if(!N&&!B&&(!t.cancelable||!(N=u>c)))return $(t);let a=o.pointerMove(t);u>b&&(z=!0),f.useFriction(.3).useDuration(.75),l.start(),i.add(L(a)),t.preventDefault()}function $(t){let e=p.byDistance(0,!1).index!==m.get(),n=o.pointerUp(t)*(y?P:M)[B?"mouse":"touch"],r=function(t,e){let n=m.add(-1*d(t)),r=p.byDistance(t,!y).distance;return y||s(t)<F?r:S&&e?.5*r:p.byIndex(n.get(),0).distance}(L(n),e),i=function(t,e){var n,r;if(0===t||0===e||s(t)<=s(e))return 0;let i=(n=s(t),r=s(e),s(n-r));return s(i/t)}(n,r);N=!1,j=!1,D.clear(),f.useDuration(C-10*i).useFriction(.68+i/50),c.distance(r,!y),B=!1,g.emit("pointerUp")}function q(t){z&&(t.stopPropagation(),t.preventDefault(),z=!1)}return{init:function(t){R&&k.add(e,"dragstart",t=>t.preventDefault(),O).add(e,"touchmove",()=>void 0,O).add(e,"touchend",()=>void 0).add(e,"touchstart",l).add(e,"mousedown",l).add(e,"touchcancel",$).add(e,"contextmenu",$).add(e,"click",q,!0);function l(l){(a(R)||R(t,l))&&function(t){let l=v(t,r);B=l,z=y&&l&&!t.buttons&&I,I=s(i.get()-u.get())>=2,l&&0!==t.button||function(t){let e=t.nodeName||"";return T.includes(e)}(t.target)||(j=!0,o.pointerDown(t),f.useFriction(0).useDuration(0),i.set(u),function(){let t=B?n:e;D.add(t,"touchmove",W,O).add(t,"touchend",$).add(t,"mousemove",W,O).add(t,"mouseup",$)}(),H=o.readPoint(t),V=o.readPoint(t,A),g.emit("pointerDown"))}(l)}},destroy:function(){k.clear(),D.clear()},pointerDown:function(){return j}}}($,t,r,i,th,function(t,e){let n,r;function i(t){return t.timeStamp}function o(n,r){let i=r||t.scroll,o=`client${"x"===i?"X":"Y"}`;return(v(n,e)?n:n.touches[0])[o]}return{pointerDown:function(t){return n=t,r=t,o(t)},pointerMove:function(t){let e=o(t)-o(r),u=i(t)-i(n)>170;return r=t,u&&(n=t),e},pointerUp:function(t){if(!n||!r)return 0;let e=o(r)-o(n),u=i(t)-i(n),l=i(t)-i(r)>170,c=e/u;return u&&!l&&s(c)>.1?c:0},readPoint:o}}($,i),tp,ts,tx,ty,tv,tu,u,_,D,F,C,0,j),eventStore:tb,percentOfView:_,index:tu,indexPrevious:tl,limit:to,location:tp,offsetLocation:tg,previousLocation:tm,options:o,resizeHandler:function(t,e,n,r,i,o,u){let l,c;let f=[t].concat(r),d=[],p=!1;function m(t){return i.measureSize(u.measure(t))}return{init:function(i){o&&(c=m(t),d=r.map(m),l=new ResizeObserver(n=>{(a(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===t,u=r.indexOf(o.target),l=n?c:d[u];if(s(m(n?t:r[u])-l)>=.5){i.reInit(),e.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{f.forEach(t=>l.observe(t))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(e,u,i,n,$,H,z),scrollBody:ty,scrollBounds:function(t,e,n,r,i){let o=i.measure(10),u=i.measure(50),l=w(.1,.99),c=!1;function a(){return!!(!c&&t.reachedAny(n.get())&&t.reachedAny(e.get()))}return{shouldConstrain:a,constrain:function(i){if(!a())return;let c=t.reachedMin(e.get())?"min":"max",f=s(t[c]-e.get()),d=n.get()-e.get(),p=l.constrain(f/u);n.subtract(d*p),!i&&s(d)<o&&(n.set(t.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(t){c=!t}}}(to,tg,th,ty,_),scrollLooper:function(t,e,n,r){let{reachedMin:i,reachedMax:o}=w(e.min+.1,e.max+.1);return{loop:function(e){if(!(1===e?o(n.get()):-1===e&&i(n.get())))return;let u=-1*e*t;r.forEach(t=>t.add(u))}}}(te,to,tg,[tp,tg,tm,th]),scrollProgress:tw,scrollSnapList:ti.map(tw.get),scrollSnaps:ti,scrollTarget:tv,scrollTo:tx,slideLooper:function(t,e,n,r,i,o,u,l,c){let a=p(i),f=m(d(p(i).reverse(),u[0]),n,!1).concat(m(d(a,e-u[0]-1),-n,!0));function s(t,e){return t.reduce((t,e)=>t-i[e],e)}function d(t,e){return t.reduce((t,n)=>s(t,e)>0?t.concat([n]):t,[])}function m(i,u,a){let f=o.map((t,n)=>({start:t-r[n]+.5+u,end:t+e-.5+u}));return i.map(e=>{let r=a?0:-n,i=a?n:0,o=f[e][a?"end":"start"];return{index:e,loopPoint:o,slideLocation:b(-1),translate:S(t,c[e]),target:()=>l.get()>o?r:i}})}return{canLoop:function(){return f.every(({index:t})=>.1>=s(a.filter(e=>e!==t),e))},clear:function(){f.forEach(t=>t.translate.clear())},loop:function(){f.forEach(t=>{let{target:e,translate:n,slideLocation:r}=t,i=e();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:f}}($,q,te,Z,X,K,ti,tg,n),slideFocus:tR,slidesHandler:(E=!1,{init:function(t){V&&(f=new MutationObserver(e=>{!E&&(a(V)||V(t,e))&&function(e){for(let n of e)if("childList"===n.type){t.reInit(),u.emit("slidesChanged");break}}(e)})).observe(e,{childList:!0})},destroy:function(){f&&f.disconnect(),E=!0}}),slidesInView:tS,slideIndexes:tc,slideRegistry:tE,slidesToScroll:G,target:th,translate:S($,e)};return tA}(t,o,u,L,T,n,F);return n.loop&&!r.slideLooper.canLoop()?e(Object.assign({},n,{loop:!1})):r}(z),C([N,...B.map(({options:t})=>
1t)]).forEach(t=>D.add(t,"change",$)),z.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(U),r.eventHandler.init(U),r.resizeHandler.init(U),r.slidesHandler.init(U),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&u.length&&r.dragHandler.init(U),i=k.init(U,B)))}function $(t,e){let n=Y();q(),W(M({startIndex:n},t),e),F.emit("reInit")}function q(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),k.destroy(),D.clear()}function _(t,e,n){z.active&&!j&&(r.scrollBody.useBaseFriction().useDuration(!0===e?0:z.duration),r.scrollTo.index(t,n||0))}function Y(){return r.index.get()}let U={canScrollNext:function(){return r.index.add(1).get()!==Y()},canScrollPrev:function(){return r.index.add(-1).get()!==Y()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){j||(j=!0,D.clear(),q(),F.emit("destroy"),F.clear())},off:H,on:I,emit:V,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:$,rootNode:function(){return t},scrollNext:function(t){_(r.index.add(1).get(),t,-1)},scrollPrev:function(t){_(r.index.add(-1).get(),t,1)},scrollProgress:function(){return r.scrollProgress.get(r.offsetLocation.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:_,selectedScrollSnap:Y,slideNodes:function(){return u},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return W(e,n),setTimeout(()=>F.emit("init"),0),U}function A(t={},e=[]){let n=(0,r.useRef)(t),i=(0,r.useRef)(e),[l,c]=(0,r.useState)(),[a,f]=(0,r.useState)(),s=(0,r.useCallback)(()=>{l&&l.reInit(n.current,i.current)},[l]);return(0,r.useEffect)(()=>{o(n.current,t)||(n.current=t,s())},[t,s]),(0,r.useEffect)(()=>{!function(t,e){if(t.length!==e.length)return!1;let n=u(t),r=u(e);return n.every((t,e)=>o(t,r[e]))}(i.current,e)&&(i.current=e,s())},[e,s]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&a){R.globalOptions=A.globalOptions;let t=R(a,n.current,i.current);return c(t),()=>t.destroy()}c(void 0)},[a,c]),[f,l]}R.globalOptions=void 0,A.globalOptions=void 0},52746:function(t,e,n){n.d(e,{Z:function(){return o}});var r=n(1512),i=n(57211);function o(t){return function(t){if(Array.isArray(t))return(0,r.Z)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,i.Z)(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}}]); 2//# sourceMappingURL=444-shopping-cart-9152026851.3917a8173f6232ae.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.