1import{r as e,R as t,p as n,a as r,b as o,g as i,d as s,e as a,f as l,j as c,c as u}from"./vendor.84ebec2b.js";import{_ as d,a as p}from"./route-datepicker.49972d8f.js";import{c as f}from"./utils.aeb63b5d.js";function h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function v(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=v(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function g(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=v(e))&&(r&&(r+=" "),r+=t);return r}!function(){if("undefined"!=typeof window){var e,t="ontouchstart"in window;document.createTouch||(document.createTouch=function(e,t,r,o,i,s,a){return new n(t,r,{pageX:o,pageY:i,screenX:s,screenY:a,clientX:o-window.pageXOffset,clientY:i-window.pageYOffset},0,0)}),document.createTouchList||(document.createTouchList=function(){for(var e=o(),t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length=arguments.length,e}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var n=function(e,t,n,r,o){r=r||0,o=o||0,this.identifier=t,this.target=e,this.clientX=n.clientX+r,this.clientY=n.clientY+o,this.screenX=n.screenX+r,this.screenY=n.screenY+o,this.pageX=n.pageX+r,this.pageY=n.pageY+o},r=!1;l.multiTouchOffset=75,t||new l}function o(){var e=[];return e.item=function(e){return this[e]||null},e.identifiedTouch=function(e){return this[e+1]||null},e}function i(t){return function(n){var o,i;("mousedown"===n.type&&(r=!0),"mouseup"===n.type&&(r=!1),"mousemove"!==n.type||r)&&(("mousedown"===n.type||!e||e&&!e.dispatchEvent)&&(e=n.composed?n.composedPath()[0]:n.target),null==e.closest("[data-no-touch-simulate]")&&(o=n,(i=new Event(t,{bubbles:!0,cancelable:!0,composed:!0})).altKey=o.altKey,i.ctrlKey=o.ctrlKey,i.metaKey=o.metaKey,i.shiftKey=o.shiftKey,i.touches=a(o),i.targetTouches=a(o),i.changedTouches=s(o),e.dispatchEvent(i)),"mouseup"===n.type&&(e=null))}}function s(t){var r=o();return r.push(new n(e,1,t,0,0)),r}function a(e){return"mouseup"===e.type?o():s(e)}function l(){window.addEventListener("mousedown",i("touchstart"),!0),window.addEventListener("mousemove",i("touchmove"),!0),window.addEventListener("mouseup",i("touchend"),!0)}}();const y=e=>"number"==typeof e&&!isNaN(e),b=e=>"string"==typeof e,w=e=>"function"==typeof e,x=e=>b(e)||w(e)?e:null,E=t=>e.isValidElement(t)||b(t)||w(t)||y(t);function O(n){let{enter:r,exit:o,appendPosition:i=!1,collapse:s=!0,collapseDuration:a=300}=n;return function(n){let{children:l,position:c,preventExitTransition:u,done:d,nodeRef:p,isIn:f}=n;const h=i?`${r}--${c}`:r,m=i?`${o}--${c}`:o,v=e.useRef(0);return e.useLayoutEffect(()=>{const e=p.current,t=h.split(" "),n=r=>{r.target===p.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===v.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)},[]),e.useEffect(()=>{const e=p.current,t=()=>{e.removeEventListener("animationend",t),s?function(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}(e,d,a):d()};f||(u?t():(v.current=1,e.className+=` ${m}`,e.addEventListener("animationend",t)))},[f]),t.createElement(t.Fragment,null,l)}}function S(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const T={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter(e=>e!==t);return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{const n=setTimeout(()=>
1{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)})}},C=e=>{let{theme:n,type:r,...o}=e;return t.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===n?"currentColor":`var(--toastify-icon-color-${r})`,...o})},_={info:function(e){return t.createElement(C,{...e},t.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return t.createElement(C,{...e},t.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return t.createElement(C,{...e},t.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return t.createElement(C,{...e},t.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return t.createElement("div",{className:"Toastify__spinner"})}};function P(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function k(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function M(e){let{closeToast:n,theme:r,ariaLabel:o="close"}=e;return t.createElement("button",{className:`Toastify__close-button Toastify__close-button--${r}`,type:"button",onClick:e=>{e.stopPropagation(),n(e)},"aria-label":o},t.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},t.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function j(e){let{delay:n,isRunning:r,closeToast:o,type:i="default",hide:s,className:a,style:l,controlledProgress:c,progress:u,rtl:d,isIn:p,theme:f}=e;const h=s||c&&0===u,m={...l,animationDuration:`${n}ms`,animationPlayState:r?"running":"paused",opacity:h?0:1};c&&(m.transform=`scaleX(${u})`);const v=g("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${f}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),y=w(a)?a({rtl:d,type:i,defaultClassName:v}):g(v,a);return t.createElement("div",{role:"progressbar","aria-hidden":h?"true":"false","aria-label":"notification timer",className:y,style:m,[c&&u>=1?"onTransitionEnd":"onAnimationEnd"]:c&&u<1?null:()=>{p&&o()}})}const L=n=>{const{isRunning:r,preventExitTransition:o,toastRef:i,eventHandlers:s}=function(t){const[n,r]=e.useState(!1),[o,i]=e.useState(!1),s=e.useRef(null),a=e.useRef({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,l=e.useRef(t),{autoClose:c,pauseOnHover:u,closeToast:d,onClick:p,closeOnClick:f}=t;function h(e){if(t.draggable){"touchstart"===e.nativeEvent.type&&e.nativeEvent.preventDefault(),a.didMove=!1,document.addEventListener("mousemove",y),document.addEventListener("mouseup",b),document.addEventListener("touchmove",y),document.addEventListener("touchend",b);const n=s.current;a.canCloseOnClick=!0,a.canDrag=!0,a.boundingRect=n.getBoundingClientRect(),n.style.transition="",a.x=P(e.nativeEvent),a.y=k(e.nativeEvent),"x"===t.draggableDirection?(a.start=a.x,a.removalDistance=n.offsetWidth*(t.draggablePercent/100)):(a.start=a.y,a.removalDistance=n.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent/100))}}function m(e){if(a.boundingRect){const{top:n,bottom:r,left:o,right:i}=a.boundingRect;"touchend"!==e.nativeEvent.type&&t.pauseOnHover&&a.x>=o&&a.x<=i&&a.y>=n&&a.y<=r?g():v()}}function v(){r(!0)}function g(){r(!1)}function y(e){const r=s.current;a.canDrag&&r&&(a.didMove=!0,n&&g(),a.x=P(e),a.y=k(e),a.delta="x"===t.draggableDirection?a.x-a.start:a.y-a.start,a.start!==a.x&&(a.canCloseOnClick=!1),r.style.transform=`translate${t.draggableDirection}(${a.delta}px)`,r.style.opacity=""+(1-Math.abs(a.delta/a.removalDistance)))}function b(){document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b),document.removeEventListener("touchmove",y),document.removeEventListener("touchend",b);const e=s.current;
1if(a.canDrag&&a.didMove&&e){if(a.canDrag=!1,Math.abs(a.delta)>a.removalDistance)return i(!0),void t.closeToast();e.style.transition="transform 0.2s, opacity 0.2s",e.style.transform=`translate${t.draggableDirection}(0)`,e.style.opacity="1"}}e.useEffect(()=>{l.current=t}),e.useEffect(()=>(s.current&&s.current.addEventListener("d",v,{once:!0}),w(t.onOpen)&&t.onOpen(e.isValidElement(t.children)&&t.children.props),()=>{const t=l.current;w(t.onClose)&&t.onClose(e.isValidElement(t.children)&&t.children.props)}),[]),e.useEffect(()=>(t.pauseOnFocusLoss&&(document.hasFocus()||g(),window.addEventListener("focus",v),window.addEventListener("blur",g)),()=>{t.pauseOnFocusLoss&&(window.removeEventListener("focus",v),window.removeEventListener("blur",g))}),[t.pauseOnFocusLoss]);const x={onMouseDown:h,onTouchStart:h,onMouseUp:m,onTouchEnd:m};return c&&u&&(x.onMouseEnter=g,x.onMouseLeave=v),f&&(x.onClick=e=>{p&&p(e),a.canCloseOnClick&&d()}),{playToast:v,pauseToast:g,isRunning:n,preventExitTransition:o,toastRef:s,eventHandlers:x}}(n),{closeButton:a,children:l,autoClose:c,onClick:u,type:d,hideProgressBar:p,closeToast:f,transition:h,position:m,className:v,style:y,bodyClassName:b,bodyStyle:x,progressClassName:E,progressStyle:O,updateId:S,role:T,progress:C,rtl:_,toastId:L,deleteToast:A,isIn:I,isLoading:R,iconOut:N,closeOnClick:D,theme:$}=n,z=g("Toastify__toast",`Toastify__toast-theme--${$}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":_},{"Toastify__toast--close-on-click":D}),B=w(v)?v({rtl:_,position:m,type:d,defaultClassName:z}):g(z,v),F=!!C||!c,V={closeToast:f,type:d,theme:$};let H=null;return!1===a||(H=w(a)?a(V):e.isValidElement(a)?e.cloneElement(a,V):M(V)),t.createElement(h,{isIn:I,done:A,position:m,preventExitTransition:o,nodeRef:i},t.createElement("div",{id:L,onClick:u,className:B,...s,style:y,ref:i},t.createElement("div",{...I&&{role:T},className:w(b)?b({type:d}):g("Toastify__toast-body",b),style:x},null!=N&&t.createElement("div",{className:g("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!R})},N),t.createElement("div",null,l)),H,t.createElement(j,{...S&&!F?{key:`pb-${S}`}:{},rtl:_,theme:$,delay:c,isRunning:r,isIn:I,closeToast:f,hide:p,type:d,style:O,className:E,controlledProgress:F,progress:C||0})))}
1,A=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},I=O(A("bounce",!0));O(A("slide",!0)),O(A("zoom"));const R=O(A("flip")),N=e.forwardRef((n,r)=>{const{getToastToRender:o,containerRef:i,isToastActive:s}=function(t){const[,n]=e.useReducer(e=>e+1,0),[r,o]=e.useState([]),i=e.useRef(null),s=e.useRef(new Map).current,a=e=>-1!==r.indexOf(e),l=e.useRef({toastKey:1,displayedToast:0,count:0,queue:[],props:t,containerId:null,isToastActive:a,getToast:e=>s.get(e)}).current;function c(e){let{containerId:t}=e;const{limit:n}=l.props;!n||t&&l.containerId!==t||(l.count-=l.queue.length,l.queue=[])}function u(e){o(t=>null==e?[]:t.filter(t=>t!==e))}function d(){const{toastContent:e,toastProps:t,staleId:n}=l.queue.shift();f(e,t,n)}function p(t,r){let{delay:o,staleId:a,...c}=r;if(!E(t)||(p=c,!i.current||l.props.enableMultiContainer&&p.containerId!==l.props.containerId||s.has(p.toastId)&&null==p.updateId))return;var p;const{toastId:h,updateId:m,data:v}=c,{props:g}=l,O=()=>u(h),C=null==m;C&&l.count++;const P={...g,style:g.toastStyle,key:l.toastKey++,...Object.fromEntries(Object.entries(c).filter(e=>{let[t,n]=e;return null!=n})),toastId:h,updateId:m,data:v,closeToast:O,isIn:!1,className:x(c.className||g.toastClassName),bodyClassName:x(c.bodyClassName||g.bodyClassName),progressClassName:x(c.progressClassName||g.progressClassName),autoClose:!c.isLoading&&(k=c.autoClose,M=g.autoClose,!1===k||y(k)&&k>0?k:M),deleteToast(){const e=S(s.get(h),"removed");s.delete(h),T.emit(4,e);const t=l.queue.length;if(l.count=null==h?l.count-l.displayedToast:l.count-1,l.count<0&&(l.count=0),t>0){const e=null==h?l.props.limit:1;if(1===t||1===e)l.displayedToast++,d();else{const n=e>t?t:e;l.displayedToast=n;for(let e=0;e<n;e++)d()}}else n()}};var k,M;P.iconOut=function(t){let{theme:n,type:r,isLoading:o,icon:i}=t,s=null;const a={theme:n,type:r};return!1===i||(w(i)?s=i(a):e.isValidElement(i)?s=e.cloneElement(i,a):b(i)||y(i)?s=i:o?s=_.spinner():r in _&&(s=_[r](a))),s}(P),w(c.onOpen)&&(P.onOpen=c.onOpen),w(c.onClose)&&(P.onClose=c.onClose),P.closeButton=g.closeButton,!1===c.closeButton||E(c.closeButton)?P.closeButton=c.closeButton:!0===c.closeButton&&(P.closeButton=!E(g.closeButton)||g.closeButton);let j=t;e.isValidElement(t)&&!b(t.type)?j=e.cloneElement(t,{closeToast:O,toastProps:P,data:v}):w(t)&&(j=t({closeToast:O,toastProps:P,data:v})),g.limit&&g.limit>0&&l.count>g.limit&&C?l.queue.push({toastContent:j,toastProps:P,staleId:a}):y(o)?setTimeout(()=>{f(j,P,a)},o):f(j,P,a)}function f(e,t,n){const{toastId:r}=t;n&&s.delete(n);const i={content:e,props:t};s.set(r,i),o(e=>[...e,r].filter(e=>e!==n)),T.emit(4,S(i,null==i.props.updateId?"added":"updated"))}return e.useEffect(()=>(l.containerId=t.containerId,T.cancelEmit(3).on(0,p).on(1,e=>i.current&&u(e)).on(5,c).emit(2,l),()=>{s.clear(),T.emit(3,l)}),[]),e.useEffect(()=>{l.props=t,l.isToastActive=a,l.displayedToast=r.length}),{getToastToRender:function(e){const n=new Map,r=Array.from(s.values());return t.newestOnTop&&r.reverse(),r.forEach(e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)}),Array.from(n,t=>e(t[0],t[1]))},containerRef:i,isToastActive:a}}(n),{className:a,style:l,rtl:c,containerId:u}=n;function d(e){const t=g("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":c});return w(a)?a({position:e,rtl:c,defaultClassName:t}):g(t,x(a))}return e.useEffect(()=>{r&&(r.current=i.current)},[]),t.createElement("div",{ref:i,className:"Toastify",id:u},o((e,n)=>{const r=n.length?{...l}:{...l,pointerEvents:"none"};return t.createElement("div",{className:d(e),style:r,key:`container-${e}`},n.map((e,r)=>{let{content:o,props:i}=e;return t.createElement(L,{...i,isIn:s(i.toastId),style:{...i.style,"--nth":r+1,"--len":n.length},key:`toast-${i.key}`},o)}))}))});N.displayName="ToastContainer",N.defaultProps={position:"top-right",transition:I,autoClose:5e3,closeButton:M,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let D,$=new Map,z=[],B=1;function F(){return""+B++}function V(e){return e&&(b(e.toastId)||y(e.toastId))?e.toastId:F()}function H(e,t){return $.size>0?T.emit(0,e,t):z.push({content:e,options:t}),t.toastId}function W(e,t){return{...t,type:t&&t.type||e,toastId:V(t)}}function q(e){return(t,n)=>H(t,W(e,n))}function G(e,t){return H(e,W("default",t))}G.loading=(e,t)=>
1H(e,W("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),G.promise=function(e,t,n){let r,{pending:o,error:i,success:s}=t;o&&(r=b(o)?G.loading(o,n):G.loading(o.render,{...n,...o}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,o)=>{if(null==t)return void G.dismiss(r);const i={type:e,...a,...n,data:o},s=b(t)?{render:t}:t;return r?G.update(r,{...i,...s}):G(s.render,{...i,...s}),o},c=w(e)?e():e;return c.then(e=>l("success",s,e)).catch(e=>l("error",i,e)),c},G.success=q("success"),G.info=q("info"),G.error=q("error"),G.warning=q("warning"),G.warn=G.warning,G.dark=(e,t)=>H(e,W("default",{theme:"dark",...t})),G.dismiss=e=>{$.size>0?T.emit(1,e):z=z.filter(t=>null!=e&&t.options.toastId!==e)},G.clearWaitingQueue=function(e){return void 0===e&&(e={}),T.emit(5,e)},G.isActive=e=>{let t=!1;return $.forEach(n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)}),t},G.update=function(e,t){void 0===t&&(t={}),setTimeout(()=>{const n=function(e,t){let{containerId:n}=t;const r=$.get(n||D);return r&&r.getToast(e)}(e,t);if(n){const{props:r,content:o}=n,i={delay:100,...r,...t,toastId:t.toastId||e,updateId:F()};i.toastId!==e&&(i.staleId=e);const s=i.render||o;delete i.render,H(s,i)}},0)},G.done=e=>{G.update(e,{progress:1})},G.onChange=e=>(T.on(4,e),()=>{T.off(4,e)}),G.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},G.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},T.on(2,e=>{D=e.containerId||e,$.set(D,e),z.forEach(e=>{T.emit(0,e.content,e.options)}),z=[]}).on(3,e=>{$.delete(e.containerId||e),0===$.size&&T.off(0).off(1).off(5)});var U={exports:{}},Y={},X={exports:{}},K={},Q={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(a)}; 2/*! 3 * Adapted from jQuery UI core 4 * 5 * http://jqueryui.com 6 * 7 * Copyright 2014 jQuery Foundation and other contributors 8 * Released under the MIT license. 9 * http://jquery.org/license 10 * 11 * http://api.jqueryui.com/category/ui-core/ 12 */ 13var n="none",r="contents",o=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),i=o.getPropertyValue("display");return t?i!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):i===n}catch(s){return!1}}function s(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&s(e,!n)}e.exports=t.default}(Q,Q.exports);var Z=Q.exports;Object.defineProperty(K,"__esModule",{value:!0}),K.resetState=function(){te=[]},K.log=function(){},K.handleBlur=oe,K.handleFocus=ie,K.markForFocusLater=function(){te.push(document.activeElement)},K.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{return void(0!==te.length&&te.pop().focus({preventScroll:e}))}catch(t){}},K.popWithoutFocus=function(){te.length>0&&te.pop()},K.setupScopedFocus=function(e){ne=e,window.addEventListener?(window.addEventListener("blur",oe,!1),document.addEventListener("focus",ie,!0)):(window.attachEvent("onBlur",oe),document.attachEvent("onFocus",ie))},K.teardownScopedFocus=function(){ne=null,window.addEventListener?(window.removeEventListener("blur",oe),document.removeEventListener("focus",ie)):(window.detachEvent("onBlur",oe),document.detachEvent("onFocus",ie))};var J,ee=(J=Z)&&J.__esModule?J:{default:J};var te=[],ne=null,re=!1;function oe(){re=!0}function ie(){if(re){if(re=!1,!ne)return;setTimeout(function(){ne.contains(document.activeElement)||((0,ee.default)(ne)[0]||ne).focus()},0)}}var se={exports:{}};
vendor: 8,921 bytes, lines 13-19
13!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var o=(0,n.default)(e);if(!o.length)return void t.preventDefault();var i=void 0,s=t.shiftKey,a=o[0],l=o[o.length-1],c=r();if(e===c){if(!s)return;i=l}l!==c||s||(i=a);a===c&&s&&(i=l);if(i)return t.preventDefault(),void i.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=o.indexOf(c);d>-1&&(d+=s?-1:1);if(void 0===(i=o[d]))return t.preventDefault(),void(i=s?l:a).focus();t.preventDefault(),i.focus()};var n=function(e){return e&&e.__esModule?e:{default:e}}(Z);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?r(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(se,se.exports);var ae,le,ce,ue=se.exports,de={},pe=function(){},fe={},he={exports:{}}; 14/*! 15 Copyright (c) 2015 Jed Watson. 16 Based on code that is Copyright 2013-2015, Facebook, Inc. 17 All rights reserved. 18*/ 19ae=he,le=!("undefined"==typeof window||!window.document||!window.document.createElement),ce={canUseDOM:le,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:le&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:le&&!!window.screen},ae.exports?ae.exports=ce:window.ExecutionEnvironment=ce;var me=he.exports;Object.defineProperty(fe,"__esModule",{value:!0}),fe.canUseDOM=fe.SafeNodeList=fe.SafeHTMLCollection=void 0;var ve=function(e){return e&&e.__esModule?e:{default:e}}(me);var ge=ve.default,ye=ge.canUseDOM?window.HTMLElement:{};fe.SafeHTMLCollection=ge.canUseDOM?window.HTMLCollection:{},fe.SafeNodeList=ge.canUseDOM?window.NodeList:{},fe.canUseDOM=ge.canUseDOM,fe.default=ye,Object.defineProperty(de,"__esModule",{value:!0}),de.resetState=function(){xe&&(xe.removeAttribute?xe.removeAttribute("aria-hidden"):null!=xe.length?xe.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(xe).forEach(function(e){return e.removeAttribute("aria-hidden")}));xe=null},de.log=function(){},de.assertNodeList=Ee,de.setElement=function(e){var t=e;if("string"==typeof t&&we.canUseDOM){var n=document.querySelectorAll(t);Ee(n,t),t=n}return xe=t||xe},de.validateElement=Oe,de.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=Oe(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(s){n=!0,r=s}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},de.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=Oe(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(s){n=!0,r=s}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},de.documentNotReadyOrSSRTesting=function(){xe=null};var be=function(e){return e&&e.__esModule?e:{default:e}}(pe),we=fe;var xe=null;function Ee(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function Oe(e){var t=e||xe;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,be.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}var Se={};Object.defineProperty(Se,"__esModule",{value:!0}),Se.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in Te)_e(e,Te[t]);var n=document.body;for(var r in Ce)_e(n,Ce[r]);Te={},Ce={}},Se.log=function(){};var Te={},Ce={};function _e(e,t){e.classList.remove(t)}Se.add=function(e,t){return n=e.classList,r="html"==e.nodeName.toLowerCase()?Te:Ce,void t.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(r,e),n.add(e)});var n,r},Se.remove=function(e,t){return n=e.classList,r="html"==e.nodeName.toLowerCase()?Te:Ce,void t.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(r,e),0===r[e]&&n.remove(e)});var n,r};var Pe={};Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.log=function(){Me.openInstances.forEach(function(e){})},Pe.resetState=function(){Me=new ke};var ke=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},Me=new ke;Pe.default=Me;var je={};Object.defineProperty(je,"__esModule",{value:!0}),je.resetState=function(){for(var e=[Ae,Ie],t=0;t<e.length;t++){var n=e[t];n&&(n.parentNode&&n.parentNode.removeChild(n))}Ae=Ie=null,Re=[]},je.log=function(){for(var e=[Ae,Ie],t=0;t<e.length;t++);};var Le=function(e){return e&&e.__esModule?e:{default:e}}(Pe);var Ae=void 0,Ie=void 0,Re=[];function Ne(){0!==Re.length&&Re[Re.length-1].focusContent()}Le.default.subscribe(function(e,t){Ae||Ie||((Ae=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),Ae.style.position="absolute",Ae.style.opacity="0",Ae.setAttribute("tabindex","0"),Ae.addEventListener("focus",Ne),(Ie=Ae.cloneNode()).addEventListener("focus",Ne)),(Re=t).length>0?(document.body.firstChild!==Ae&&document.body.insertBefore(Ae,document.body.firstChild),document.body.lastChild!==Ie&&document.body.appendChild(Ie)):(Ae.parentElement&&Ae.parentElement.removeChild(Ae),Ie.parentElement&&Ie.parentElement.removeChild(Ie))}),function(t,r){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=e,l=g(n),c=v(K),u=g(ue),d=v(de),p=v(Se),f=fe,h=g(f),m=g(Pe);function v(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}var y={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},b=0,w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName,s=e.parentSelector,a=s&&s().ownerDocument||document;i&&p.remove(a.body,i),o&&p.remove(a.getElementsByTagName("html")[0],o),r&&b>0&&0===(b-=1)&&d.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(n.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),m.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,u.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.ke
vendor: 4,701 bytes, line 19
19yCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":i(t))?t:{base:y[e],afterOpen:y[e]+"--after-open",beforeClose:y[e]+"--before-close"},o=r.base;return n.state.afterOpen&&(o=o+" "+r.afterOpen),n.state.beforeClose&&(o=o+" "+r.beforeClose),"string"==typeof t&&t?o+" "+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,s=i&&i().ownerDocument||document;o&&p.add(s.body,o),r&&p.add(s.getElementsByTagName("html")[0],r),n&&(b+=1,d.hide(t)),m.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,i=e.defaultStyles,s=e.children,a=n?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:o({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=o({id:t,ref:this.setContentRef,style:o({},a,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",o({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,s);return this.props.overlayElement(c,d)}}]),t}(a.Component);w.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},w.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),parentSelector:l.default.func,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.oneOfType([l.default.instanceOf(h.default),l.default.instanceOf(f.SafeHTMLCollection),l.default.instanceOf(f.SafeNodeList),l.default.arrayOf(l.default.instanceOf(h.default))]),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func,testId:l.default.string}
vendor: 4,713 bytes, line 19
19,r.default=w,t.exports=r.default}(X,X.exports);var De=X.exports;function $e(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function ze(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Be(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}$e.__suppressDeprecationWarning=!0,ze.__suppressDeprecationWarning=!0,Be.__suppressDeprecationWarning=!0;const Fe=r(Object.freeze(Object.defineProperty({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=$e,t.componentWillReceiveProps=ze),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Be;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,r)}}return e}},Symbol.toStringTag,{value:"Module"})));Object.defineProperty(Y,"__esModule",{value:!0}),Y.bodyOpenClassName=Y.portalClassName=void 0;var Ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},He=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),We=e,qe=Je(We),Ge=Je(o),Ue=Je(n),Ye=Je(De),Xe=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(de),Ke=fe,Qe=Je(Ke),Ze=Fe;function Je(e){return e&&e.__esModule?e:{default:e}}function et(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var tt=Y.portalClassName="ReactModalPortal",nt=Y.bodyOpenClassName="ReactModal__Body--open",rt=Ke.canUseDOM&&void 0!==Ge.default.createPortal,ot=function(e){return document.createElement(e)},it=function(){return rt?Ge.default.createPortal:Ge.default.unstable_renderSubtreeIntoContainer};function st(e){return e()}var at=function(){function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=r=et(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(i))),r.removePortal=function(){!rt&&Ge.default.unmountComponentAtNode(r.node);var e=st(r.props.parentSelector);e&&e.contains(r.node)&&e.removeChild(r.node)},r.portalRef=function(e){r.portal=e},r.renderPortal=function(t){var n=it()(r,qe.default.createElement(Ye.default,Ve({defaultStyles:e.defaultStyles},t)),r.node);r.portalRef(n)},et(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
vendor: 4,824 bytes, lines 19-28
19(e,We.Component),He(e,[{key:"componentDidMount",value:function(){Ke.canUseDOM&&(rt||(this.node=ot("div")),this.node.className=this.props.portalClassName,st(this.props.parentSelector).appendChild(this.node),!rt&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:st(e.parentSelector),nextParent:st(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(Ke.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var s=n.prevParent,a=n.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||o)&&!rt&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(Ke.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return Ke.canUseDOM&&rt?(!this.node&&rt&&(this.node=ot("div")),it()(qe.default.createElement(Ye.default,Ve({ref:this.portalRef,defaultStyles:e.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){Xe.setElement(e)}}]),e}();at.propTypes={isOpen:Ue.default.bool.isRequired,style:Ue.default.shape({content:Ue.default.object,overlay:Ue.default.object}),portalClassName:Ue.default.string,bodyOpenClassName:Ue.default.string,htmlOpenClassName:Ue.default.string,className:Ue.default.oneOfType([Ue.default.string,Ue.default.shape({base:Ue.default.string.isRequired,afterOpen:Ue.default.string.isRequired,beforeClose:Ue.default.string.isRequired})]),overlayClassName:Ue.default.oneOfType([Ue.default.string,Ue.default.shape({base:Ue.default.string.isRequired,afterOpen:Ue.default.string.isRequired,beforeClose:Ue.default.string.isRequired})]),appElement:Ue.default.oneOfType([Ue.default.instanceOf(Qe.default),Ue.default.instanceOf(Ke.SafeHTMLCollection),Ue.default.instanceOf(Ke.SafeNodeList),Ue.default.arrayOf(Ue.default.instanceOf(Qe.default))]),onAfterOpen:Ue.default.func,onRequestClose:Ue.default.func,closeTimeoutMS:Ue.default.number,ariaHideApp:Ue.default.bool,shouldFocusAfterRender:Ue.default.bool,shouldCloseOnOverlayClick:Ue.default.bool,shouldReturnFocusAfterClose:Ue.default.bool,preventScroll:Ue.default.bool,parentSelector:Ue.default.func,aria:Ue.default.object,data:Ue.default.object,role:Ue.default.string,contentLabel:Ue.default.string,shouldCloseOnEsc:Ue.default.bool,overlayRef:Ue.default.func,contentRef:Ue.default.func,id:Ue.default.string,overlayElement:Ue.default.func,contentElement:Ue.default.func},at.defaultProps={isOpen:!1,portalClassName:tt,bodyOpenClassName:nt,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return qe.default.createElement("div",e,t)},contentElement:function(e,t){return qe.default.createElement("div",e,t)}},at.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,Ze.polyfill)(at),Y.default=at,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(Y);t.default=n.default,e.exports=t.default}(U,U.exports);const lt=i(U.exports),ct=(e,t)=>{const{o:n,i:r,u:o}=e;let i,s=n;const a=(e,t)=>{const n=s,a=e,l=t||(r?!r(n,a):n!==a);return(l||o)&&(s=a,i=n),[s,l,i]};return[t?e=>a(t(s,i),e):a,e=>[s,!!e,i]]},ut="undefined"!=typeof window&&"undefined"!=typeof HTMLElement&&!!window.document?window:{},dt=Math.max,pt=Math.min,ft=Math.round,ht=Math.abs,mt=Math.sign,vt=ut.cancelAnimationFrame,gt=ut.requestAnimationFrame,yt=ut.setTimeout,bt=ut.clearTimeout,wt=e=>void 0!==ut[e]?ut[e]:void 0,xt=wt("MutationObserver"),Et=wt("IntersectionObserver"),Ot=wt("ResizeObserver"),St=wt("ScrollTimeline"),Tt=e=>void 0===e,Ct=e=>null===e,_t=e=>"number"==typeof e,Pt=e=>"string"==typeof e,kt=e=>"boolean"==typeof e,Mt=e=>"function"==typeof e,jt=e=>Array.isArray(e),Lt=e=>"object"==typeof e&&!jt(e)&&!Ct(e),At=e=>{const t=!!e&&e.length,n=_t(t)&&t>-1&&t%1==0;return!!(jt(e)||!Mt(e)&&n)&&(!(t>0&&Lt(e))||t-1 in e)},It=e=>!!e&&e.constructor===Object,Rt=e=>e instanceof HTMLElement,Nt=e=>e instanceof Element; 20/*! 21 * OverlayScrollbars 22 * Version: 2.16.0 23 * 24 * Copyright (c) Rene Haas | KingSora. 25 * https://github.com/KingSora 26 * 27 * Released under the MIT license. 28 */function Dt(e,t){if(At(e))for(let n=0;
vendor: 13,613 bytes, line 28
28n<e.length&&!1!==t(e[n],n,e);n++);else e&&Dt(Object.keys(e),n=>t(e[n],n,e));return e}const $t=(e,t)=>e.indexOf(t)>=0,zt=(e,t)=>e.concat(t),Bt=(e,t,n)=>(!Pt(t)&&At(t)?Array.prototype.push.apply(e,t):e.push(t),e),Ft=e=>Array.from(e||[]),Vt=e=>jt(e)?e:!Pt(e)&&At(e)?Ft(e):[e],Ht=e=>!!e&&!e.length,Wt=e=>Ft(new Set(e)),qt=(e,t,n)=>{Dt(e,e=>!e||e.apply(void 0,t||[])),n||(e.length=0)},Gt="paddingTop",Ut="paddingRight",Yt="paddingLeft",Xt="paddingBottom",Kt="marginLeft",Qt="marginRight",Zt="marginBottom",Jt="overflowX",en="overflowY",tn="width",nn="height",rn="visible",on="hidden",sn="scroll",an=(e,t,n,r)=>{if(e&&t){let r=!0;return Dt(n,n=>{e[n]!==t[n]&&(r=!1)}),r}return!1},ln=(e,t)=>an(e,t,["w","h"]),cn=(e,t)=>an(e,t,["x","y"]),un=(e,t)=>an(e,t,["t","r","b","l"]),dn=(e,...t)=>e.bind(0,...t),pn=e=>{let t;const n=e?yt:gt,r=e?bt:vt;return[o=>{r(t),t=n(()=>o(),Mt(e)?e():e)},()=>r(t)]},fn=e=>{const t=Mt(e)?e():e;if(_t(t)){const e=t?yt:gt,n=t?bt:vt;return r=>{const o=e(()=>r(),t);return()=>{n(o)}}}return t&&t._},hn=(e,t)=>{const{p:n,v:r,S:o,m:i}=t||{};let s,a,l,c;const u=function(t){a&&a(),s&&s(),c=a=s=l=void 0,e.apply(this,t)},d=e=>i&&l?i(l,e):e,p=()=>{a&&l&&u(d(l)||l)},f=function(){const e=Ft(arguments),t=fn(n);if(t){const n="function"==typeof o?o():o,i=fn(r),f=d(e)||e,h=u.bind(0,f);a&&a(),n&&!c?(h(),c=!0,a=t(()=>c=void 0)):(a=t(h),i&&!s&&(s=i(p))),l=f}else u(e)};return f.O=p,f},mn=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),vn=e=>e?Object.keys(e):[],gn=(e,t,n,r,o,i,s)=>{const a=[t,n,r,o,i,s];return"object"==typeof e&&!Ct(e)||Mt(e)||(e={}),Dt(a,t=>{Dt(t,(n,r)=>{const o=t[r];if(e===o)return!0;const i=jt(o);if(o&&It(o)){const t=e[r];let n=t;i&&!jt(t)?n=[]:i||It(t)||(n={}),e[r]=gn(n,o)}else e[r]=i?o.slice():o})}),e},yn=(e,t)=>Dt(gn({},e),(e,t,n)=>{void 0===e?delete n[t]:e&&It(e)&&(n[t]=yn(e))}),bn=e=>!vn(e).length,wn=()=>{},xn=(e,t,n)=>dt(e,pt(t,n)),En=e=>Wt((jt(e)?e:(e||"").split(" ")).filter(e=>e)),On=(e,t)=>e&&e.getAttribute(t),Sn=(e,t)=>e&&e.hasAttribute(t),Tn=(e,t,n)=>{Dt(En(t),t=>{e&&e.setAttribute(t,String(n||""))})},Cn=(e,t)=>{Dt(En(t),t=>e&&e.removeAttribute(t))},_n=(e,t)=>{const n=En(On(e,t)),r=dn(Tn,e,t),o=(e,t)=>{const r=new Set(n);return Dt(En(e),e=>{r[t](e)}),Ft(r).join(" ")};return{C:e=>r(o(e,"delete")),$:e=>r(o(e,"add")),H:e=>{const t=En(e);return t.reduce((e,t)=>e&&n.includes(t),t.length>0)}}},Pn=(e,t,n)=>(_n(e,t).C(n),dn(kn,e,t,n)),kn=(e,t,n)=>(_n(e,t).$(n),dn(Pn,e,t,n)),Mn=(e,t,n,r)=>(r?kn:Pn)(e,t,n),jn=(e,t,n)=>_n(e,t).H(n),Ln=e=>_n(e,"class"),An=(e,t)=>{Ln(e).C(t)},In=(e,t)=>(Ln(e).$(t),dn(An,e,t)),Rn=(e,t)=>{const n=t?Nt(t)&&t:document;return n?Ft(n.querySelectorAll(e)):[]},Nn=(e,t)=>Nt(e)&&e.matches(t),Dn=e=>Nn(e,"body"),$n=e=>e?Ft(e.childNodes):[],zn=e=>e&&e.parentElement,Bn=(e,t)=>Nt(e)&&e.closest(t),Fn=e=>document.activeElement,Vn=(e,t,n)=>{const r=Bn(e,t),o=e&&((e,t)=>{const n=t?Nt(t)&&t:document;return n&&n.querySelector(e)})(n,r),i=Bn(o,t)===r;return!(!r||!o)&&(r===e||o===e||i&&Bn(Bn(e,n),t)!==r)},Hn=e=>{Dt(Vt(e),e=>{const t=zn(e);e&&t&&t.removeChild(e)})},Wn=(e,t)=>dn(Hn,e&&t&&Dt(Vt(t),t=>{t&&e.appendChild(t)}));let qn;const Gn=e=>{const t=document.createElement("div");return Tn(t,"class",e),t},Un=e=>{const t=Gn(),n=qn,r=e.trim();return t.innerHTML=n?n.createHTML(r):r,Dt($n(t),e=>Hn(e))},Yn=(e,t)=>e.getPropertyValue(t)||e[t]||"",Xn=e=>{const t=e||0;return isFinite(t)?t:0},Kn=e=>Xn(parseFloat(e||"")),Qn=e=>Math.round(1e4*e)/1e4,Zn=e=>`${Qn(Xn(e))}px`;function Jn(e,t){e&&t&&Dt(t,(t,n)=>{try{const r=e.style,o=Ct(t)||kt(t)?"":_t(t)?Zn(t):t;0===n.indexOf("--")?r.setProperty(n,o):r[n]=o}catch(r){}})}function er(e,t,n){const r=Pt(t);let o=r?"":{};if(e){const i=ut.getComputedStyle(e,n)||e.style;o=r?Yn(i,t):Ft(t).reduce((e,t)=>(e[t]=Yn(i,t),e),o)}return o}const tr=(e,t,n)=>{const r=t?`${t}-`:"",o=n?`-${n}`:"",i=`${r}top${o}`,s=`${r}right${o}`,a=`${r}bottom${o}`,l=`${r}left${o}`,c=er(e,[i,s,a,l]);return{t:Kn(c[i]),r:Kn(c[s]),b:Kn(c[a]),l:Kn(c[l])}},nr=(e,t)=>"translate"+(Lt(e)?`(${e.x},${e.y})`:`${t?"X":"Y"}(${e})`),rr={w:0,h:0},or=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:rr,ir=dn(or,"offset"),sr=dn(or,"client"),ar=dn(or,"scroll"),lr=e=>{const t=parseFloat(er(e,tn))||0,n=parseFloat(er(e,nn))||0;return{w:t-ft(t),h:n-ft(n)}},cr=e=>e.getBoundingClientRect(),ur=e=>!(!e||!e[nn]&&!e[tn]),dr=(e,t)=>{const n=ur(e);return!ur(t)&&n},pr=(e,t,n,r)=>{Dt(En(t),t=>{e&&e.removeEventListener(t,n,r)})},fr=(e,t,n,r)=>{var o;const i=null==(o=r&&r.D)||o,s=r&&r.I||!1,a=r&&r.A||!1,l={passive:i,capture:s};return dn(qt,En(t).map(t=>{const r=a?o=>{pr(e,t,r,s),n&&n(o)}:n;return e&&e.addEventListener(t,r,l),dn(pr,e,t,r,s)}))},hr=e=>e.stopPropagation(),mr=e=>e.preventDefault(),vr=e=>hr(e)||mr(e),gr=(e,t)=>{const{x:n,y:r}=_t(t)?{x:t,y:t}:t||{};_t(n)&&(e.scrollLeft=n),_t(r)&&(e.scrollTop=r)},yr=e=>({x:e.scrollLeft,y:e.scrollTop}),br=(e,t)=>{const{T:n,k:r}=e,{w:o,h:i}=t,s=(e,t,n)=>{let r=mt(e)*n,o=mt(t)*n;if(r===o){const n=ht(e),i=ht(t);o=n>i?0:o,r=n<i?0:r}return r=r===o?0:r,[r+0,o+0]},[a,l]=s(n.x,r.x,o),[c,u]=s(n.y,r.y,i);return{T:{x:a,y:c},k:{x:l,y:u}}},wr=({T:e,k:t})=>{const n=(e,t)=>0===e&&e<=t;return{x:n(e.x,t.x),y:n(e.y,t.y)}},xr=({T:e,k:t},n)=>{const r=(e,t,n)=>xn(0,1,(e-n)/(e-t)||0);return{x:r(e.x,t.x,n.x),y:r(e.y,t.y,n.y)}},Er=e=>{e&&e.focus&&e.focus({preventScroll:!0,focusVisible:!1})},Or=(e,t)=>{Dt(Vt(t),e)},Sr=e=>{const t=new Map,n=(e,n)=>{if(e){const r=t.get(e);Or(e=>{r&&r[e?"delete":"clear"](e)},n)}else t.forEach(e=>{e.clear()}),t.clear()},r=(e,o)=>{if(Pt(e)){const r=t.get(e)||new Set;return t.set(e,r),Or(e=>{Mt(e)&&r.add(e)},o),dn(n,e,o)}kt(o)&&o&&n();const i=vn(e),s=[];return Dt(i,t=>{const n=e[t];n&&Bt(s,r(t,n))}),dn(qt,s)};return r(e||{}),[r,n,(e,n)=>{Dt(Ft(t.get(e)),e=>{n&&!Ht(n)?e.apply(0,n):e()})}]},Tr={},Cr={},_r=(e,t,n)=>vn(e).map(r=>{const{static:o,instance:i}=e[r],[s,a,l]=n||[],c=n?i:o;if(c){const e=n?c(s,a,t):c(t);return(l||Cr)[r]=e}}),Pr=e=>((e,t)=>e[t])(Cr,e),kr="data-overlayscrollbars",Mr="os-environment",jr=`${Mr}-scrollbar-hidden`,Lr=`${kr}-initialize`,Ar="noClipping",Ir=`${kr}-body`,Rr=kr,Nr=`${kr}-viewport`,Dr=Jt,$r=en,zr="measuring",Br="scrollbarHidden",Fr=`${kr}-padding`,Vr=`${kr}-content`,Hr="os-size-observer",Wr=`${Hr}-appear`,qr=`${Hr}-listener`,Gr="os-scrollbar",Ur=`${Gr}-rtl`,Yr=`${Gr}-horizontal`,Xr=`${Gr}-vertical`,Kr=`${Gr}-track`,Qr=`${Gr}-handle`,Zr=`${Gr}-visible`,Jr=`${Gr}-cornerless`,eo=`${Gr}-interaction`,to=`${Gr}-unusable`,no=`${Gr}-auto-hide`,ro=`${no}-hidden`,oo=`${Gr}-wheel`,io=`${Kr}-interactive`,so=`${Qr}-interactive`,ao=e=>0===e.indexOf(rn),lo=(e,t)=>{if("auto"===e)return t?sn:on;const n=e||on;return[on,sn,rn].includes(n)?n:on},co="__osScrollbarsHidingPlugin",uo=e=>JSON.stringify(e,(e,t)=>{if(Mt(t))throw 0;return t}),po=(e,t)=>e?`${t}`.split(".").reduce((e,t)=>e&&mn(e,t)?e[t]:void 0,e):void 0,fo=[33,99],ho=[222,666,!0],mo={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:{mutation:[0,33],resize:null,event:fo,env:ho},attributes:null,ignoreMutation:null,flowDirectionStyles:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},vo=(e,t)=>{const n={};return Dt(zt(vn(t),vn(e)),r=>{const o=e[r],i=t[r];if(Lt(o)&&Lt(i))gn(n[r]={},vo(o,i)),bn(n[r])&&delete n[r];else if(mn(t,r)&&i!==o){let e=!0;if(jt(o)||jt(i))try{uo(o)===uo(i)&&(e=!1)}catch(s){}e&&(n[r]=i)}}),n},go=(e,t,n)=>r=>[po(e,r),n||void 0!==po(t,r)];let yo;let bo;const wo=()=>{const e=(e,t,n)=>{Wn(document.body,e),Wn(document.body,e);const r=sr(e),o=ir(e),i=lr(t);return n&&Hn(e),{x:o.h-r.h+i.h,y:o.w-r.w+i.w}},t=Un(`<div class="${Mr}"><div></div><style>${`.${Mr}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${Mr} div{width:200%;height:200%;margin:10px 0}.${jr}{scrollbar-width:none!important}.${jr}::-webkit-scrollbar,.${jr}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`}</style></div>`)[0],n=t.firstChild,r=t.lastChild,o=yo;o&&(r.nonce=o);const[i,,s]=Sr(),[a,l]=ct({o:e(t,n),i:cn},dn(e,t,n,!0)),[c]=l(),u=(e=>{let t=!1;const n=In(e,jr);try{t="none"===er(e,"scrollbar-width")||"none"===er(e,"display","::-webkit-scrollbar")}catch(r){}return n(),t})(t),d={x:0===c.x,y:0===c.y},p={elements:{host:null,padding:!u,viewport:e=>u&&Dn(e)&&e,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},f=gn({},mo),h=dn(gn,{},f),m=dn(gn,{},p),v={U:c,M:d,P:u,J:!!St,G:dn(i,"r"),K:m,Z:e=>gn(p,e)&&m(),tt:h,nt:e=>gn(f,e)&&h(),ot:gn({},p),st:gn({},f)};if(Cn(t,"style"),Hn(t),fr(ut,"resize",()=>{s("r",[])}),Mt(ut.matchMedia)&&!u&&(!d.x||!d.y)){const e=t=>{const n=ut.matchMedia(`(resolution: ${ut.devicePixelRatio}dppx)`);fr(n,"change",()=>{t(),e(t)},{A:!0})};e(()=>{const[e,t]=a();gn(v.U,e),s("r",[t])})}return v},xo=()=>(bo||(bo=wo()),bo),Eo=(e,t,n,r)=>{let o=!1;const{et:i,ct:s,rt:a,it:l,lt:c,ut:u}=r||{},[d,p]=((e,t,n)=>{let r=!1;const o=!!n&&new WeakMap,i=i=>{o&&n&&Dt(n.map(t=>{const[n,r]=t||[];return[r&&n?(i||Rn)(n,e):[],r]}),n=>Dt(n[0],i=>{const s=n[1],a=o.get(i)||[];if(e.contains(i)&&s){const e=fr(i,s,n=>{r?(e(),o.delete(i)):t(n)});o.set(i,Bt(a,e))}else qt(a),o.delete(i)}))};return i(),[()=>{r=!0},i]})(e,()=>o&&n(!0),a),f=s||[],h=zt(i||[],f),m=(o,i)=>{if(!Ht(i)){const s=c||wn,a=u||wn,d=[],h=[];let m=!1,v=!1;if(Dt(i,n=>{const{attributeName:o,target:i,type:c,oldValue:u,addedNodes:p,removedNodes:g}=n,y="attributes"===c,b="childList"===c,w=e===i,x=y&&o,E=x&&On(i,o||""),O=Pt(E)?E:null,S=x&&u!==O,T=$t(f,o)&&S;if(t&&(b||!w)){const t=y&&S,c=t&&l&&Nn(i,l),f=(c?!s(i,o,u,O):!y||t)&&!a(n,!!c,e,r);Dt(p,e=>Bt(d,e)),Dt(g,e=>Bt(d,e)),v=v||f}!t&&w&&S&&!s(i,o,u,O)&&(Bt(h,o),m=m||T)}),p(e=>Wt(d).reduce((t,n)=>(Bt(t,Rn(e,n)),Nn(n,e)?Bt(t,n):t),[])),t)return!o&&v&&n(!1),[!1];if(!Ht(h)||m){const e=[Wt(h),m];return o||n.apply(0,e),e}}},v=new xt(dn(m,!1));return[()=>(v.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:h,subtree:t,childList:t,characterData:t}),o=!0,()=>{o&&(d(),v.disconnect(),o=!1)}),()=>{if(o)return m(!0,v.takeRecords())}]};let Oo=null;const So=(e,t,n)=>{const{ft:r}=n||{},o=Pr("__osSizeObserverPlugin"),[i]=ct({o:!1,u:!0});return()=>{const n=[],s=Un(`<div class="${Hr}"><div class="${qr}"></div></div>`)[0],a=s.firstChild,l=e=>{let n=!1,r=!1;if(jt(e)&&!Ht(e)){const t=e[0],[o,,s]=i(t.contentRect),a=ur(o);r=dr(o,s),n=!r&&!a}else r=!0===e;n||t({_t:!0,ft:r})};if(Ot){if(!kt(Oo)){const t=new Ot(wn);t.observe(e,{get box(){Oo=!0}}),Oo=Oo||!1,t.disconnect()}const t=hn(l,{p:0,v:0}),r=e=>t(e),o=new Ot(r);if(o.observe(Oo?e:a),Bt(n,[()=>{o.disconnect()},!Oo&&Wn(e,s)]),Oo){const t=new Ot(r);t.observe(e,{box:"border-box"}),Bt(n,()=>t.disconnect())}}else{if(!o)return wn;{const[t,i]=o(a,l,r);Bt(n,zt([In(s,Wr),fr(s,"animationstart",t),Wn(e,s)],i))}}return dn(qt,n)}},To=(e,t,n,r)=>{let o,i,s,a,l,c,u,d;const p=`[${Rr}]`,f=`[${Nr}]`,h=["id","class","style","open","wrap","cols","rows"],{dt:m,vt:v,L:g,gt:y,ht:b,V:w,bt:x,yt:E,wt:O,St:S}=e,T=e=>"rtl"===er(e,"direction"),C={Ot:!1,B:T(m)},_=xo(),P=Pr(co),[k]=ct({i:ln,o:{w:0,h:0}},()=>{const r=P&&P.R(e,t,C,_,n).Y,o=!(x&&w)&&jn(v,Rr,Ar),i=!w&&E("arrange"),s=i&&yr(y),a=s&&S(),l=O(zr,o),c=i&&r&&r(),u=ar(g),d=lr(g);return c&&c(),gr(y,s),a&&a(),o&&l(),{w:u.w+d.w,h:u.h+d.h}}),M=(()=>{let e,t,n;const o=hn(r,{p:()=>e,v:()=>t,S:()=>n,m(e,t){const[n]=e,[r]=t;return[zt(vn(n),vn(r)).reduce((e,t)=>(e[t]=n[t]||r[t],e),{})]}}),i=(r,i)=>{if(jt(i)){const[r,o,s]=i;e=r,t=o,n=s}else _t(i)?(e=i,t=!1,n=!1):(e=!1,t=!1,n=!1);o(r)};return i.O=o.O,i})(),j=e=>{const t=T(m);gn(e,{Ct:d!==t}),gn(C,{B:t}),d=t},L=(e,t)=>{const[n,o]=e,i={$t:o};return gn(C,{Ot:n}),t||r(i),i},A=({_t:e,ft:t})=>{const n=t?r:M,o={_t:e||t,ft:t};j(o),n(o,i)},I=(e,t)=>{const[,n]=k(),r={xt:n};return j(r),n&&!t&&M(r,e?s:o),r},R=(e,t,n)=>{const r={Ht:t};return j(r),t&&!n&&M(r,o),r},[N,D]=b?((e,t)=>{let n;const r=Gn("os-trinsic-observer"),[o]=ct({o:!1}),i=(e,n)=>{if(e){const r=o((e=>0===e.h||e.isIntersecting||e.intersectionRatio>0)(e)),[,i]=r;return i&&!n&&t(r)&&[r]}},s=(e,t)=>i(t.pop(),e);return[()=>{const t=[];if(Et)n=new Et(dn(s,!1),{root:e}),n.observe(r),Bt(t,()=>{n.disconnect()});else{const e=()=>{const e=ir(r);i(e)};Bt(t,So(r,e)()),e()}return dn(qt,Bt(t,Wn(e,r)))},()=>n&&s(!0,n.takeRecords())]})(v,L):[],$=!w&&So(v,A,{ft:!0}),[z,B]=Eo(v,!1,R,{ct:h,et:h}),F=w&&Ot&&new Ot(e=>{const t=e[e.length-1].contentRect;A({_t:!0,ft:dr(t,u)}),u=t});return[()=>{F&&F.observe(v);const e=$&&$(),t=N&&N(),n=z(),r=_.G(e=>{const[,t]=k();M({Et:e,xt:t,_t:x},a)});return()=>{F&&F.disconnect(),e&&e(),t&&t(),c&&c(),n(),r()}},({Dt:e,zt:t,It:n})=>{const r={},[u]=e("update.ignoreMutation"),[d,m]=e("update.attributes"),[v,y]=e("update.elementEvents"),[x,E]=e("update.debounce"),O=t||n;if(y||m){l&&l(),c&&c();const[e,t]=Eo(b||g,!0,I,{et:zt(h,d||[]),rt:v,it:p,ut:(e,t)=>{const{target:n,attributeName:r}=e;return!(t||!r||w)&&Vn(n,p,f)||!!Bn(n,`.${Gr}`)||(e=>Mt(u)&&!!u(e))(e)}});c=e(),l=t}if(E&&(M.O(),jt(x)||_t(x)?(o=x,i=!1,s=fo,a=ho):It(x)?(o=x.mutation,i=x.resize,s=x.event,a=x.env):(o=!1,i=!1,s=!1,a=!1)),O){const e=B(),t=D&&D(),n=l&&l();e&&gn(r,R(e[0],e[1],O)),t&&gn(r,L(t[0],O)),n&&gn(r,I(n[0],O))}return j(r),r},C]},Co=(e,t)=>Mt(t)?t.apply(0,e):t,_o=(e,t,n,r)=>{const o=Tt(r)?n:r;return Co(e,o)||t.apply(0,e)},Po=(e,t,n,r)=>{const o=Tt(r)?n:r,i=Co(e,o);return!!i&&(Rt(i)?i:t.apply(0,e))},ko=(e,t,n,r)=>{const o="--os-viewport-percent",i="--os-scroll-percent",s="--os-scroll-direction",{K:a}=xo(),{scrollbars:l}=a(),{slot:c}=l,{dt:u,vt:d,L:p,At:f,gt:h,bt:m,V:v}=t,{scrollbars:g}=f?{}:e,{slot:y}=g||{}
28,b=[],w=[],x=[],E=Po([u,d,p],()=>v&&m?u:d,c,y),O=e=>{if(St){let t=null,r=[];const o=new St({source:h,axis:e}),i=()=>{t&&t.cancel(),t=null};return{Mt:s=>{const{Tt:a}=n,l=wr(a)[e],c="x"===e,u=[nr(0,c),nr(`calc(-100% + 100cq${c?"w":"h"})`,c)],d=l?u:u.reverse();return r[0]===d[0]&&r[1]===d[1]||(r=d,i(),t=s.kt.animate({clear:["left"],transform:d},{timeline:o})),i}}}},S={x:O("x"),y:O("y")},T=(e,t,n)=>{const r=n?In:An;Dt(e,e=>{r(e.Lt,t)})},C=(e,t)=>{Dt(e,e=>{const[n,r]=t(e);Jn(n,r)})},_=(e,t,n)=>{const r=kt(n),o=!r||!n;(!r||n)&&T(w,e,t),o&&T(x,e,t)},P=e=>{const t=e?"x":"y",n=Gn(`${Gr} ${e?Yr:Xr}`),o=Gn(Kr),i=Gn(Qr),s={Lt:n,Pt:o,kt:i},a=S[t];return Bt(e?w:x,s),Bt(b,[Wn(n,o),Wn(o,i),dn(Hn,n),a&&a.Mt(s),r(s,_,e)]),s},k=dn(P,!0),M=dn(P,!1);return k(),M(),[{Ut:()=>{const e=(()=>{const{Rt:e,Vt:t}=n,r=(e,t)=>xn(0,1,e/(e+t)||0);return{x:r(t.x,e.x),y:r(t.y,e.y)}})(),t=e=>t=>[t.Lt,{[o]:Qn(e)+""}];C(w,t(e.x)),C(x,t(e.y))},Nt:()=>{if(!St){const{Tt:e}=n,t=xr(e,yr(h)),r=e=>t=>[t.Lt,{[i]:Qn(e)+""}];C(w,r(t.x)),C(x,r(t.y))}},qt:()=>{const{Tt:e}=n,t=wr(e),r=e=>t=>[t.Lt,{[s]:e?"0":"1"}];C(w,r(t.x)),C(x,r(t.y)),St&&(w.forEach(S.x.Mt),x.forEach(S.y.Mt))},Bt:()=>{if(v&&!m){const{Rt:e,Tt:t}=n,r=wr(t),o=xr(t,yr(h)),i=t=>{const{Lt:n}=t,i=zn(n)===p&&n,s=(e,t,n)=>{const r=t*e;return Zn(n?r:-r)};return[i,i&&{transform:nr({x:s(o.x,e.x,r.x),y:s(o.y,e.y,r.y)})}]};C(w,i),C(x,i)}},Ft:_,jt:{Xt:w,Yt:k,Wt:dn(C,w)},Jt:{Xt:x,Yt:M,Wt:dn(C,x)}},()=>(Wn(E,w[0].Lt),Wn(E,x[0].Lt),dn(qt,b))]},Mo=(e,t,n,r,o,i,s)=>{let a,l,c,u,d,p=wn,f=0;const h=["mouse","pen"],m=e=>t=>{n.Kt||e(t)},v=e=>h.includes(e.pointerType),[g,y]=pn(),[b,w]=pn(100),[x,E]=pn(50),[O,S]=pn(()=>f),[T,C]=ko(e,i,o,((e,t,n,r,o)=>(i,s,a)=>{const{vt:l,L:c,V:u,gt:d,Gt:p,St:f}=t,{Lt:h,Pt:m,kt:v}=i,[g,y]=pn(333),[b,w]=pn(444),x=e=>{Mt(d.scrollBy)&&d.scrollBy({behavior:"smooth",left:e.x,top:e.y})};let E=!0;return dn(qt,[fr(v,"pointermove pointerleave",r(o)),fr(h,"pointerenter",r(()=>{s(eo,!0)})),fr(h,"pointerleave pointercancel",r(()=>{s(eo,!1)})),fr(h,"wheel",r(e=>{const{deltaX:t,deltaY:n,deltaMode:r}=e;E&&0===r&&zn(h)===l&&x({x:t,y:n}),E=!1,s(oo,!0),g(()=>{E=!0,s(oo)}),mr(e)}),{D:!1,I:!0}),!u&&fr(h,"mousedown",r(()=>{const e=Fn();(Sn(e,Nr)||Sn(e,Rr)||e===document.body)&&yt(dn(Er,c),25)})),fr(h,"pointerdown",()=>{const e=fr(p,"click",e=>{t(),vr(e)},{A:!0,I:!0,D:!1}),t=fr(p,"pointerup pointercancel",()=>{t(),setTimeout(e,150)},{I:!0,D:!0})},{I:!0,D:!0}),(()=>{const t="pointerup pointercancel lostpointercapture",o="client"+(a?"X":"Y"),i=a?tn:nn,s=a?"left":"top",l=a?"w":"h",c=a?"x":"y",u=[];return fr(m,"pointerdown",r(r=>{const h=Bn(r.target,`.${Qr}`)===v,g=h?v:m,y=e.scrollbars,E=y[h?"dragScroll":"clickScroll"],{button:O,isPrimary:S,pointerType:T}=r,{pointers:C}=y;if(0===O&&S&&E&&(C||[]).includes(T)){qt(u),w();const e=!h&&(r.shiftKey||"instant"===E),y=dn(cr,v),O=dn(cr,m),S=(e,t)=>(e||y())[s]-(t||O())[s],T=ft(cr(d)[i])/ir(d)[l]||1,C=yr(d)[c],_=e=>{gr(d,{[c]:C+e})},P=e=>{const{Rt:t}=n,r=ir(m)[l]-ir(v)[l];_(1/T*e/r*t[c])},k=r[o],M=y(),j=O(),L=M[i],A=S(M,j)+L/2,I=k-j[s]-A,R=h?0:I,N=e=>{qt(z),g.releasePointerCapture(e.pointerId)},D=h||e,$=f(),z=[fr(p,t,N),fr(p,"selectstart",e=>mr(e),{D:!1}),fr(m,t,N),D&&fr(m,"pointermove",e=>P(R+e[o]-k)),D&&(()=>{const e=yr(d);$();const t=yr(d),n={x:t.x-e.x,y:t.y-e.y};(ht(n.x)>3||ht(n.y)>3)&&(f(),gr(d,e),x(n),b($))})];if(g.setPointerCapture(r.pointerId),e)P(I);else if(!h){const e=Pr("__osClickScrollPlugin");if(e){const{Vt:t}=n,r=e(_,P,dn(S),I,t[c],E,!!a,e=>{e?$():Bt(z,$)});Bt(z,r),Bt(u,dn(r,!0))}}}}))})(),y,w])})(t,i,o,m,e=>v(e)&&N())),{vt:_,Qt:P,bt:k}=i,{Ft:M,Ut:j,Nt:L,qt:A,Bt:I}=T,R=(e,t)=>{S();const r=e=>{n.Kt||M(ro,e)};if(e)r();else{const e=!c||!a;f>0&&!t?O(dn(r,e)):r(e)}},N=()=>{(c?a:u)||(R(!0),b(()=>{R(!1)}))},D=e=>{v(e)&&(a=!0,!n.Kt&&c&&R(!0))},$=e=>{M(no,e,!0),M(no,e,!1)},z=[S,w,E,y,()=>p(),fr(_,"pointerover",D,{A:!0}),fr(_,"pointerenter",D),fr(_,"pointerleave",e=>{v(e)&&(a=!1,!n.Kt&&c&&R(!1))}),fr(_,"pointermove",m(e=>{v(e)&&l&&N()})),fr(P,"scroll",m(e=>{g(()=>{L(),N()}),s(e),I()}))],B=Pr(co);return[()=>dn(qt,Bt(z,C())),({Dt:e,It:t,Zt:n,tn:i})=>{const{nn:s,sn:a,en:h,cn:v}=i||{},{Ct:g,ft:y}=n||{},{B:b}=r,{M:w,P:E}=xo(),{rn:O,j:S}=o,[T,C]=e("showNativeOverlaidScrollbars"),[_,N]=e("scrollbars.theme"),[D,z]=e("scrollbars.visibility"),[F,V]=e("scrollbars.autoHide"),[H,W]=e("scrollbars.autoHideSuspend"),[q]=e("scrollbars.autoHideDelay"),[G,U]=e("scrollbars.dragScroll"),[Y,X]=e("scrollbars.clickScroll"),[K,Q]=e("overflow"),Z=y&&!t,J=s||a||v||g||t,ee=h||z||Q,te=T&&w.x&&w.y,ne=!E&&!B,re=(e,t,n
vendor: 8,927 bytes, line 28
28)=>{const r=e.includes(sn)&&(D===rn||"auto"===D&&t===sn);return M(Zr,r,n),r};if(f=q,(C||ne)&&M("os-theme-none",te||ne),N&&(M(d),M(_,!0),d=_),(W||Z)&&($(!H),Z&&H&&(S.x||S.y?(p(),x(()=>{p=fr(P,sn,m(dn($,!0)),{A:!0})})):$(!0))),V&&(l="move"===F,c="leave"===F,u="never"===F,R(u,!0)),U&&M(so,G),X&&M(io,!!Y),ee){const e=re(K.x,O.x,!0),t=re(K.y,O.y,!1);M(Jr,!(e&&t))}J&&(L(),j(),I(),v&&A(),M(to,!S.x,!0),M(to,!S.y,!1),M(Ur,b&&!k))},{},T]},jo=({ht:e})=>({Zt:t,fn:n,It:r})=>{const{$t:o}=t||{},{Ot:i}=n;e&&(o||r)&&Jn(e,{[nn]:i&&"100%"})},Lo=({vt:e,ln:t,L:n,V:r},o)=>{const[i,s]=ct({i:un,o:tr()},dn(tr,e,"padding",""));return({Dt:e,Zt:a,fn:l,It:c})=>{let[u,d]=s(c);const{P:p}=xo(),{_t:f,xt:h,Ct:m}=a||{},{B:v}=l,[g,y]=e("paddingAbsolute");(f||d||(c||h))&&([u,d]=i(c));const b=!r&&(y||m||d);if(b){const e=!g||!t&&!p,r=u.r+u.l,i=u.t+u.b,s={[Qt]:e&&!v?-r:0,[Zt]:e?-i:0,[Kt]:e&&v?-r:0,top:e?-u.t:0,right:e?v?-u.r:"auto":0,left:e?v?"auto":-u.l:0,[tn]:e&&`calc(100% + ${r}px)`},a={[Gt]:e?u.t:0,[Ut]:e?u.r:0,[Xt]:e?u.b:0,[Yt]:e?u.l:0};Jn(t||n,s),Jn(n,a),gn(o,{ln:u,_n:!e,F:t?a:gn({},s,a)})}return{dn:b}}},Ao=(e,t)=>{const n=xo(),{vt:r,ln:o,L:i,V:s,Qt:a,gt:l,bt:c,wt:u,un:d}=e,{P:p}=n,f=c&&s,h=dn(dt,0),m={display:()=>!1,direction:e=>"ltr"!==e,flexDirection:e=>e.endsWith("-reverse"),writingMode:e=>"horizontal-tb"!==e},v=vn(m),g={i:ln,o:{w:0,h:0}},y={i:cn,o:{}},b=e=>{u(zr,!f&&e)},w=(e,t)=>{const n=(e,t,n,r)=>{const o=e===rn?on:(e=>e.replace(`${rn}-`,""))(e),i=ao(e),s=ao(n);if(!t&&!r)return on;if(i&&s)return rn;if(i){return t&&r?o:t?rn:on}return t?o:s&&r?rn:on};return{x:n(t.x,e.x,t.y,e.y),y:n(t.y,e.y,t.x,e.x)}},[x,E]=ct(g,dn(lr,i)),[O,S]=ct(g,dn(ar,i)),[T,C]=ct(g),[_]=ct(y),[P,k]=ct(g),[M]=ct(y),[j]=ct({i:(e,t)=>an(e,t,Wt(zt(vn(e),vn(t)))),o:{}}),[L,A]=ct({i:(e,t)=>cn(e.T,t.T)&&cn(e.k,t.k),o:{T:{x:0,y:0},k:{x:0,y:0}}}),I=Pr(co),R=(e,t)=>`${t?Dr:$r}${(e=>{const t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""})(e)}`;return({Dt:s,Zt:c,fn:g,It:y},{dn:N})=>{const{_t:D,Ht:$,xt:z,Ct:B,ft:F,Et:V}=c||{},H=I&&I.R(e,t,g,n,s),{X:W,Y:q,W:G}=H||{},[U,Y]=((e,t)=>{const{M:n}=t,[r,o]=e("showNativeOverlaidScrollbars");return[r&&n.x&&n.y,o]})(s,n),[X,K]=s("overflow"),Q=ao(X.x),Z=ao(X.y),J=D||N||z||B||V||Y;let ee=E(y),te=S(y),ne=C(y),re=k(y);if(Y&&p&&u(Br,!U),J){jn(r,Rr,Ar)&&b(!0);const e=q&&q(),[t]=ee=x(y),[n]=te=O(y),o=sr(i),s=f&&(e=>or("inner",e||ut))(d()),a={w:h(n.w+t.w),h:h(n.h+t.h)},l={w:h((s?s.w:o.w+h(o.w-n.w))+t.w),h:h((s?s.h:o.h+h(o.h-n.h))+t.h)};e&&e(),re=P(l),ne=T(((e,t)=>{const n=ut.devicePixelRatio%1!=0?1:0,r={w:h(e.w-t.w),h:h(e.h-t.h)};return{w:r.w>n?r.w:0,h:r.h>n?r.h:0}})(a,l),y)}const[oe,ie]=re,[se,ae]=ne,[le,ce]=te,[ue,de]=ee,[pe]=_({x:se.w>0,y:se.h>0}),fe=Q&&Z&&(pe.x||pe.y)||Q&&pe.x&&!pe.y||Z&&pe.y&&!pe.x,he=N||B||V||de||ce||ie||ae||K||Y||J||$&&f,[me]=s("update.flowDirectionStyles"),[ve,ge]=j(me?me(i)||{}:er(i,v),y),ye=B||F||ge||y,[be,we]=ye?L(((e,t)=>{const n=!vn(e).length,r=!!t||v.some(t=>{const n=e[t];return Pt(n)&&m[t](n)});if(n||!r||!(e=>!!e&&(e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e))(i))return{T:{x:0,y:0},k:{x:1,y:1}};b(!0);const o=yr(l),s=fr(a,sn,e=>{const t=yr(l);e.isTrusted&&t.x===o.x&&t.y===o.y&&hr(e)},{I:!0,A:!0}),c=u("noContent",!0);gr(l,{x:0,y:0}),c();const d=yr(l),p=ar(l);gr(l,{x:p.w,y:p.h});const f=yr(l),h={x:f.x-d.x,y:f.y-d.y};gr(l,{x:-p.w,y:-p.h});const g=yr(l),y={x:g.x-d.x,y:g.y-d.y},w={x:ht(h.x)>=ht(y.x)?f.x:g.x,y:ht(h.y)>=ht(y.y)?f.y:g.y};return gr(l,o),gt(()=>s()),{T:d,k:w}})(ve,!!me),y):A();let xe=w(pe,X);b(!1),he&&((e=>{const t=e=>[rn,on,sn].map(t=>R(lo(t),e)),n=t(!0).concat(t()).join(" ");u(n),u(vn(e).map(t=>R(e[t],"x"===t)).join(" "),!0)})(xe),xe=((e,t)=>{const{overflowX:n,overflowY:r}=er(e,[Jt,en]);return{x:lo(n,t.x),y:lo(r,t.y)}})(i,pe),G&&W&&(W(xe,le,ue),Jn(i,G(xe))));const[Ee,Oe]=M(xe);return Mn(r,Rr,Ar,fe),Mn(o,Fr,Ar,fe),gn(t,{rn:Ee,Vt:{x:oe.w,y:oe.h},Rt:{x:se.w,y:se.h},j:pe,Tt:br(be,se)}),{en:Oe,nn:ie,sn:ae,cn:we||ae}}},Io=e=>{const[t,n,r]=(e=>{const t=xo(),{K:n,P:r}=t,{elements:o}=n(),{padding:i,viewport:s,content:a}=o,l=Rt(e),c=l?{}:e,{elements:u}=c,{padding:d,viewport:p,content:f}=u||{},h=l?e:c.target,m=Dn(h),v=h.ownerDocument,g=v.documentElement,y=()=>v.defaultView||ut,b=dn(_o,[h]),w=dn(Po,[h]),x=dn(Gn,""),E=dn(b,x,s),O=dn(w,x,a),S=E(p),T=S===h,C=T&&m,_=!T&&O(f),P=!T&&S===_,k=C?g:S,M=C?k:h,j=!T&&w(x,i,d),L=!P&&_,A=[L,k,j,M].map(e=>Rt(e)&&!zn(e)&&e),I=e=>e&&$t(A,e),R=!I(k)&&(e=>{const t=ir(e),n=ar(e),r=er(e,Jt),o=er(e,en);return n.w-t.w>0&&!ao(r)||n.h-t.h>0&&!ao(o)})(k)?k:h,N=C?g:k,D={dt:h,vt:M,L:k,ln:j,ht:L,gt:N,Qt:C?v:k,an:m?g:R,Gt:v,bt:m,At:l,V:T,un:y,yt:e=>jn(k,Nr,e),wt:(e,t)=>Mn(k,Nr,e,t),St:()=>Mn(N,Nr,"scrolling",!0)},{dt:$,vt:z,ln:B,L:F,ht:V}=D,H=[()=>{Cn(z,[Rr,Lr]),Cn($,Lr),m&&Cn(g,[Lr,Rr])}];let W=$n([V,F,B,z,$].find(e=>e&&!I(e)));const q=C?$:V||F,G=dn(qt,H);return[D,()=>{const e=y(),t=Fn(),n=e=>{Wn(zn(e),$n(e)),Hn(e)},o=e=>fr(e,"focusin focusout focus blur",vr,{I:!0,D:!1}),i="tabindex",s=On(F,i),a=o(t);return Tn(z,Rr,T?"":"host"),Tn(B,Fr,""),Tn(F,Nr,""),Tn(V,Vr,""),T||(Tn(F,i,s||"-1"),m&&Tn(g,Ir,"")),Wn(q,W),Wn(z,B),Wn(B||z,!T&&F),Wn(F,V),Bt(H,[a,()=>{const e=Fn(),t=I(F),r=t&&e===F?$:e,a=o(r);Cn(B,Fr),Cn(V,Vr),Cn(F,Nr),m&&Cn(g,Ir),s?Tn(F,i,s):Cn(F,i),I(V)&&n(V),t&&n(F),I(B)&&n(B),Er(r),a()}]),r&&!T&&(kn(F,Nr,Br),Bt(H,dn(Cn,F,Nr))),Er(!T&&m&&t===$&&e.top===e?F:t),a(),W=0,G},G]})(e),o={ln:{t:0,r:0,b:0,l:0},_n:!1,F:{[Qt]:0,[Zt]:0,[Kt]:0,[Gt]:0,[Ut]:0,[Xt]:0,[Yt]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},rn:{x:on,y:on},j:{x:!1,y:!1},Tt:{T:{x:0,y:0},k:{x:0,y:0}}},{dt:i,gt:s,V:a,St:l}=t,{P:c,M:u}=xo(),d=!c&&(u.x||u.y),p=[jo(t),Lo(t,o),Ao(t,o)];return[n,e=>{const t={},n=d&&yr(s),r=n&&l();return Dt(p,n=>{gn(t,n(e,t)||{})}),gr(s,n),r&&r(),a||gr(i,0),t},o,t,r]},Ro=new WeakMap,No=e=>Ro.get(e),Do=(e,t,n)=>{const{tt:r}=xo(),o=Rt(e),i=o?e:e.target,s=No(i);if(t&&!s){const s=[],a={},l=e=>{const t=yn(e),n=Pr("__osOptionsValidationPlugin");return n?n(t,!0):t},c=gn({},r(),l(t)),[u,d,p]=Sr(),[f,h,m]=Sr(n),v=(e,t)=>{m(e,t),p(e,t)},[g,y,b,w,x,E,O]=((e,t,n,r)=>{let o=!1;const i={Kt:!1,pn:!1},s=go(t,{}),[a,l,c,u,d]=Io(e),[p,f,h]=To(u,c,s,e=>{b({},e)}),[m,v,,g]=Mo(e,t,i,h,c,u,r),y=e=>vn(e).some(t=>!!e[t]),b=(e,r)=>{const{Kt:s,pn:a}=i;if(a||s&&o)return!1;const{vn:c,It:u,zt:d}=e,p=c||{},m=!!u||!o,g={Dt:go(t,p,m),vn:p,It:m},b=r||f(gn({},g,{zt:d})),w=l(gn({},g,{fn:h,Zt:b}));v(gn({},g,{Zt:b,tn:w}));const x=y(b),E=y(w),O=x||E||!bn(p)||m;return o=!0,O&&n(e,{Zt:b,tn:w}),O};return[()=>{const{an:e,gt:t,St:n}=u,r=yr(e),o=[p(),a(),m(),()=>{i.pn=!0}],s=n();return gr(t,r),s(),dn(qt,o)},b,e=>{const t=i.Kt;i.Kt=e,e||t===e||b({It:!0,zt:!0})},()=>{v({Dt:go(t,{},!1),vn:{},It:!1})},()=>({gn:i,hn:h,bn:c}),{yn:u,wn:g},d]})(e,c,({vn:e,It:t},{Zt:n,tn:r})=>{const{_t:o,Ct:i,$t:s,xt:a,Ht:l,ft:c}=n,{nn:u,sn:d,en:p,cn:f}=r;v("updated",[C,{updateHints:{sizeChanged:!!o,directionChanged:!!i,heightIntrinsicChanged:!!s,overflowEdgeChanged:!!u,overflowAmountChanged:!!d,overflowStyleChanged:!!p,scrollCoordinatesChanged:!!f,contentMutation:!!a,hostMutation:!!l,appear:!!c},changedOptions:e||{},force:!!t}])},e=>v("scroll",[C,e])),S=e=>{const{gn:t}=x(),{pn:n}=t;n||((e=>{Ro.delete(e)})(i),qt(s),v("destroyed",[C,e]),d(),h())},T=e=>y({It:e,zt:!0}),C={options(e,t){if(e){const n=t?r():{},o=vo(c,gn(n,l(e)));bn(o)||(gn(c,o),y({vn:o}))}return gn({},c)},on:f,off:(e,t)=>{e&&t&&h(e,t)},state(){const{gn:e,hn:t,bn:n}=x(),{pn:r,Kt:o}=e,{B:i}=t,{Vt:s,Rt:a,rn:l,j:c,ln:u,_n:d,Tt:p}=n;return gn({},{overflowEdge:s,overflowAmount:a,overflowStyle:l,hasOverflow:c,scrollCoordinates:{start:p.T,end:p.k},padding:u,paddingAbsolute:d,directionRTL:i,sleeping:o,destroyed:r})},elements(){const{dt:e,vt:t,ln:n,L:r,ht:o,gt:i,Qt:s}=E.yn,{jt:a,Jt:l}=E.wn,c=e=>{const{kt:t,Pt:n,Lt:r}=e;return{scrollbar:r,track:n,handle:t}},u=e=>{const{Xt:t,Yt:n}=e,r=c(t[0]);return gn({},r,{clone:()=>{const e=c(n());return w(),e}})};return gn({},{target:e,host:t,padding:n||r,viewport:r,content:o||r,scrollOffsetElement:i,scrollEventElement:s,scrollbarHorizontal:u(a),scrollbarVertical:u(l)})},update:T,destroy:dn(S,!1),sleep:b,plugin:e=>a[vn(e)[0]]};return Bt(s,[O]),((e,t)=>{Ro.set(e,t)})(i,C),_r(Tr,Do,[C,u,a]),((e,t)=>{const{nativeScrollbarsOverlaid:n,body:r}=t||{},{M:o,P:i,K:s}=xo(),{nativeScrollbarsOverlaid:a,body:l}=s().cancel,c=null!=n?n:a,u=Tt(r)?l:r,d=(o.x||o.y)&&c,p=e&&(Ct(u)?!i:u);return!!d||!!p})(E.yn.bt,!o&&e.cancel)?(S(!0),C):(Bt(s,g()),v("initialized",[C]),C.update(),C)}return s};Do.plugin=e=>{const t=jt(e),n=t?e:[e],r=n.map(e=>_r(e,Do)[0]);return(e=>{Dt(e,e=>Dt(e,(t,n)=>{Tr[n]=e[n]}))})(n),t?r:r[0]},Do.valid=e=>{const t=e&&e.elements,n=Mt(t)&&t();return It(n)&&!!No(n.target)},Do.env=()=>{const{U:e,M:t,P:n,J:r,ot:o,st:i,K:s,Z:a,tt:l,nt:c}=xo();return gn({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:r,staticDefaultInitialization:o,staticDefaultOptions:i,getDefaultInitialization:s,setDefaultInitialization:a,getDefaultOptions:l,setDefaultOptions:c})},Do.nonce=e=>{yo=e},Do.trustedTypePolicy=e=>{qn=e};const $o=()=>
28{if(typeof window>"u"){const e=()=>{};return[e,e]}let e,t;const n=window,r="function"==typeof n.requestIdleCallback,o=n.requestAnimationFrame,i=n.cancelAnimationFrame,s=r?n.requestIdleCallback:o,a=r?n.cancelIdleCallback:i,l=()=>{a(e),i(t)};return[(n,i)=>{l(),e=s(r?()=>{l(),t=o(n)}:n,"object"==typeof i?i:{timeout:2233})},l]},zo=e.forwardRef((n,r)=>{const{element:o="div",options:i,events:s,defer:a,children:l,...c}=n,u=o,d=e.useRef(null),p=e.useRef(null),[f,h]=(t=>{const{options:n,events:r,defer:o}=t||{},[i,s]=e.useMemo($o,[]),a=e.useRef(null),l=e.useRef(o),c=e.useRef(n),u=e.useRef(r);return e.useEffect(()=>{l.current=o},[o]),e.useEffect(()=>{const{current:e}=a;c.current=n,Do.valid(e)&&e.options(n||{},!0)},[n]),e.useEffect(()=>{const{current:e}=a;u.current=r,Do.valid(e)&&e.on(r||{},!0)},[r]),e.useEffect(()=>()=>{var e;s(),null==(e=a.current)||e.destroy()},[]),e.useMemo(()=>[e=>{const t=a.current;if(Do.valid(t))return;const n=l.current,r=c.current||{},o=u.current||{},s=()=>a.current=Do(e,r,o);n?i(s,n):s()},()=>a.current],[])})({options:i,events:s,defer:a});return e.useEffect(()=>{const{current:e}=d,{current:t}=p;if(!e)return;return f("body"===o?{target:e,cancel:{body:null}}:{target:e,elements:{viewport:t,content:t}}),()=>{var e;return null==(e=h())?void 0:e.destroy()}},[f,o]),e.useImperativeHandle(r,()=>({osInstance:h,getElement:()=>d.current}),[]),t.createElement(u,{"data-overlayscrollbars-initialize":"",ref:d,...c},"body"===o?l:t.createElement("div",{"data-overlayscrollbars-contents":"",ref:p},l))});var Bo=ni(),Fo=e=>Zo(e,Bo),Vo=ni();Fo.write=e=>Zo(e,Vo);var Ho=ni();Fo.onStart=e=>Zo(e,Ho);var Wo=ni();Fo.onFrame=e=>Zo(e,Wo);var qo=ni();Fo.onFinish=e=>Zo(e,qo);var Go=[];Fo.setTimeout=(e,t)=>{const n=Fo.now()+t,r=()=>{const e=Go.findIndex(e=>e.cancel==r);~e&&Go.splice(e,1),Ko-=~e?1:0},o={time:n,handler:e,cancel:r};return Go.splice(Uo(n),0,o),Ko+=1,Jo(),o};var Uo=e=>~(~Go.findIndex(t=>t.time>e)||~Go.length);Fo.cancel=e=>{Ho.delete(e),Wo.delete(e),qo.delete(e),Bo.delete(e),Vo.delete(e)},Fo.sync=e=>{Qo=!0,Fo.batchedUpdates(e),Qo=!1},Fo.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,Fo.onStart(n)}return r.handler=e,r.cancel=()=>{Ho.delete(n),t=null},r};var Yo="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Fo.use=e=>Yo=e,Fo.now="undefined"!=typeof performance?()=>performance.now():Date.now,Fo.batchedUpdates=e=>e(),Fo.catch=console.error,Fo.frameLoop="always",Fo.advance=()=>{"demand"!==Fo.frameLoop||ti()};var Xo=-1,Ko=0,Qo=!1;function Zo(e,t){Qo?(t.delete(e),e(0)):(t.add(e),Jo())}function Jo(){Xo<0&&(Xo=0,"demand"!==Fo.frameLoop&&Yo(ei))}function ei(){~Xo&&(Yo(ei),Fo.batchedUpdates(ti))}function ti(){const e=Xo;Xo=Fo.now();const t=Uo(Xo);t&&(ri(Go.splice(0,t),e=>e.handler()),Ko-=t),Ko?(Ho.flush(),Bo.flush(e?Math.min(64,Xo-e):16.667),Wo.flush(),Vo.flush(),qo.flush()):Xo=-1}function ni(){let e=new Set,t=e;return{add(n){Ko+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Ko-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Ko-=t.size,ri(t,t=>t(n)&&e.add(t)),Ko+=e.size,t=e)}}}function ri(e,t){e.forEach(e=>{try{t(e)}catch(n){Fo.catch(n)}})}var oi=Object.defineProperty,ii={};function si(){}((e,t)=>{for(var n in t)oi(e,n,{get:t[n],enumerable:!0})})(ii,{assign:()=>wi,colors:()=>gi,createStringInterpolator:()=>fi,skipAnimation:()=>yi,to:()=>hi,willAdvance:()=>bi});var ai={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function li(e,t){if(ai.arr(e)){if(!ai.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var ci=(e,t)=>e.forEach(t);function ui(e,t,n){if(ai.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var di=e=>ai.und(e)?[]:ai.arr(e)?e:[e];function pi(e,t){if(e.size){const n=Array.from(e);e.clear(),ci(n,t)}}var fi,hi,mi=(e,...t)=>pi(e,e=>e(...t)),vi=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),gi=null,yi=!1,bi=si,wi=e=>{e.to&&(hi=e.to),e.now&&(Fo.now=e.now),void 0!==e.colors&&(gi=e.colors),null!=e.ski
vendor: 5,381 bytes, line 28
28pAnimation&&(yi=e.skipAnimation),e.createStringInterpolator&&(fi=e.createStringInterpolator),e.requestAnimationFrame&&Fo.use(e.requestAnimationFrame),e.batchedUpdates&&(Fo.batchedUpdates=e.batchedUpdates),e.willAdvance&&(bi=e.willAdvance),e.frameLoop&&(Fo.frameLoop=e.frameLoop)},xi=new Set,Ei=[],Oi=[],Si=0,Ti={get idle(){return!xi.size&&!Ei.length},start(e){Si>e.priority?(xi.add(e),Fo.onStart(Ci)):(_i(e),Fo(ki))},advance:ki,sort(e){if(Si)Fo.onFrame(()=>Ti.sort(e));else{const t=Ei.indexOf(e);~t&&(Ei.splice(t,1),Pi(e))}},clear(){Ei=[],xi.clear()}};function Ci(){xi.forEach(_i),xi.clear(),Fo(ki)}function _i(e){Ei.includes(e)||Pi(e)}function Pi(e){Ei.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(Ei,t=>t.priority>e.priority),0,e)}function ki(e){const t=Oi;for(let n=0;n<Ei.length;n++){const r=Ei[n];Si=r.priority,r.idle||(bi(r),r.advance(e),r.idle||t.push(r))}return Si=0,(Oi=Ei).length=0,(Ei=t).length>0}var Mi="[-+]?\\d*\\.?\\d+",ji=Mi+"%";function Li(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Ai=new RegExp("rgb"+Li(Mi,Mi,Mi)),Ii=new RegExp("rgba"+Li(Mi,Mi,Mi,Mi)),Ri=new RegExp("hsl"+Li(Mi,ji,ji)),Ni=new RegExp("hsla"+Li(Mi,ji,ji,Mi)),Di=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,$i=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,zi=/^#([0-9a-fA-F]{6})$/,Bi=/^#([0-9a-fA-F]{8})$/;function Fi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Vi(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=Fi(o,r,e+1/3),s=Fi(o,r,e),a=Fi(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function Hi(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Wi(e){return(parseFloat(e)%360+360)%360/360}function qi(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Gi(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Ui(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=zi.exec(e))?parseInt(t[1]+"ff",16)>>>0:gi&&void 0!==gi[e]?gi[e]:(t=Ai.exec(e))?(Hi(t[1])<<24|Hi(t[2])<<16|Hi(t[3])<<8|255)>>>0:(t=Ii.exec(e))?(Hi(t[1])<<24|Hi(t[2])<<16|Hi(t[3])<<8|qi(t[4]))>>>0:(t=Di.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Bi.exec(e))?parseInt(t[1],16)>>>0:(t=$i.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Ri.exec(e))?(255|Vi(Wi(t[1]),Gi(t[2]),Gi(t[3])))>>>0:(t=Ni.exec(e))?(Vi(Wi(t[1]),Gi(t[2]),Gi(t[3]))|qi(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var Yi=(e,t,n)=>{if(ai.fun(e))return e;if(ai.arr(e))return Yi({range:e,output:t,extrapolate:n});if(ai.str(e.output[0]))return fi(e);const r=e,o=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,s,a,l){let c=l?l(e):e;if(c<t){if("identity"===s)return c;"clamp"===s&&(c=t)}if(c>n){if("identity"===a)return c;"clamp"===a&&(c=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=i(c),r===-1/0?c=-c:o===1/0?c+=r:c=c*(o-r)+r;return c}(e,i[t],i[t+1],o[t],o[t+1],l,s,a,r.map)}};var Xi=1.70158,Ki=1.525*Xi,Qi=Xi+1,Zi=2*Math.PI/3,Ji=2*Math.PI/4.5,es=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},ts={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Qi*e*e*e-Xi*e*e,easeOutBack:e=>1+Qi*Math.pow(e-1,3)+Xi*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Ki)/2:(Math.pow(2*e-2,2)*((Ki+1)*(2*e-2)+Ki)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Zi),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Zi)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Ji)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Ji)/2+1,easeInBounce:e=>1-es(1-e),easeOutBounce:es,easeInOutBounce:e=>e<.5?(1-es(1-2*e))/2:(1+es(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return i=0,s=1,a=o/e,Math.min(Math.max(a,i),s);var i,s,a}},ns=Symbol.for("FluidValue.get"),rs=Symbol.for("FluidValue.observers"),os=e=>Boolean(e&&e[ns]),is=e=>e&&e[ns]?e[ns]():e,ss=e=>e[rs]||null;function as(e,t){const n=e[rs];
28n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}var ls=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");cs(this,e)}},cs=(e,t)=>fs(e,ns,t);function us(e,t){if(e[ns]){let n=e[rs];n||fs(e,rs,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function ds(e,t){const n=e[rs];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[rs]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var ps,fs=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),hs=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ms=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,vs=new RegExp(`(${hs.source})(%|[a-z]+)`,"i"),gs=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ys=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,bs=e=>{const[t,n]=ws(e);if(!t||vi())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&ys.test(n)?bs(n):n||e},ws=e=>{const t=ys.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},xs=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,Es=e=>{ps||(ps=gi?new RegExp(`(${Object.keys(gi).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>is(e).replace(ys,bs).replace(ms,Ui).replace(ps,Ui)),n=t.map(e=>e.match(hs).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>Yi({...e,output:t}));return e=>{var n;const o=!vs.test(t[0])&&(null==(n=t.find(e=>vs.test(e)))?void 0:n.replace(hs,""));let i=0;return t[0].replace(hs,()=>`${r[i++](e)}${o||""}`).replace(gs,xs)}},Os="react-spring: ",Ss=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${Os}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},Ts=Ss(console.warn);var Cs=Ss(console.warn);function _s(e){return ai.str(e)&&("#"==e[0]||/\d/.test(e)||!vi()&&ys.test(e)||e in(gi||{}))}var Ps=vi()?e.useEffect:e.useLayoutEffect;function ks(){const t=e.useState()[1],n=(()=>{const t=e.useRef(!1);return Ps(()=>(t.current=!0,()=>{t.current=!1}),[]),t})();return()=>{n.current&&t(Math.random())}}var Ms=t=>e.useEffect(t,js),js=[];function Ls(t){const n=e.useRef();return e.useEffect(()=>{n.current=t}),n.current}var As=Symbol.for("Animated:node"),Is=e=>e&&e[As],Rs=(e,t)=>((e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}))(e,As,t),Ns=e=>e&&e[As]&&e[As].getPayload(),Ds=class{constructor(){Rs(this,this)}getPayload(){return this.payload||[]}},$s=class extends Ds{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,ai.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new $s(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return ai.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,ai.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},zs=class extends $s{constructor(e){super(0),this._string=null,this._toString=Yi({output:[e,e]})}static create(e){return new zs(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(ai.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Yi({output:[this.getValue(),e]})),this._value=0,super.reset()}},Bs={dependencies:null},Fs=class extends Ds{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return ui(this.source,(n,r)=>{var o;(o=n)&&o[As]===o?t[r]=n.getValue(e):os(n)?t[r]=is(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&ci(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return ui(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Bs.dependencies&&os(e)&&Bs.dependencies.add(e);const t=Ns(e);t&&ci(t,e=>this.add(e))}},Vs=class extends Fs{constructor(e){super(e)}static create(e){return new Vs(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>
28t.setValue(e[n])).some(Boolean):(super.setValue(e.map(Hs)),!0)}};function Hs(e){return(_s(e)?zs:$s).create(e)}function Ws(e){const t=Is(e);return t?t.constructor:ai.arr(e)?Vs:_s(e)?zs:$s}var qs=(t,n)=>{const r=!ai.fun(t)||t.prototype&&t.prototype.isReactComponent;return e.forwardRef((o,i)=>{const s=e.useRef(null),a=r&&e.useCallback(e=>{s.current=function(e,t){e&&(ai.fun(e)?e(t):e.current=t);return t}(i,e)},[i]),[l,c]=function(e,t){const n=new Set;Bs.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new Fs(e),Bs.dependencies=null,[e,n]}(o,n),u=ks(),d=()=>{const e=s.current;if(r&&!e)return;!1===(!!e&&n.applyAnimatedValues(e,l.getValue(!0)))&&u()},p=new Gs(d,c),f=e.useRef();Ps(()=>(f.current=p,ci(c,e=>us(e,p)),()=>{f.current&&(ci(f.current.deps,e=>ds(e,f.current)),Fo.cancel(f.current.update))})),e.useEffect(d,[]),Ms(()=>()=>{const e=f.current;ci(e.deps,t=>ds(t,e))});const h=n.getComponentProps(l.getValue());return e.createElement(t,{...h,ref:a})})},Gs=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&Fo.write(this.update)}};var Us=Symbol.for("AnimatedComponent"),Ys=e=>ai.str(e)?e:e&&ai.str(e.displayName)?e.displayName:ai.fun(e)&&e.name||null;function Xs(e,...t){return ai.fun(e)?e(...t):e}var Ks=(e,t)=>!0===e||!!(t&&e&&(ai.fun(e)?e(t):di(e).includes(t))),Qs=(e,t)=>ai.obj(e)?t&&e[t]:e,Zs=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Js=e=>e,ea=(e,t=Js)=>{let n=ta;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const o of n){const n=t(e[o],o);ai.und(n)||(r[o]=n)}return r},ta=["config","onProps","onStart","onChange","onPause","onResume","onRest"],na={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function ra(e){const t=function(e){const t={};let n=0;if(ui(e,(e,r)=>{na[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return ui(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function oa(e){return e=is(e),ai.arr(e)?e.map(oa):_s(e)?ii.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function ia(e){return ai.fun(e)||ai.arr(e)&&ai.obj(e[0])}var sa={tension:170,friction:26,mass:1,damping:1,easing:ts.linear,clamp:!1},aa=class{constructor(){this.velocity=0,Object.assign(this,sa)}};function la(e,t){if(ai.und(t.decay)){const n=!ai.und(t.tension)||!ai.und(t.friction);!n&&ai.und(t.frequency)&&ai.und(t.damping)&&ai.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var ca=[],ua=class{constructor(){this.changed=!1,this.values=ca,this.toValues=null,this.fromValues=ca,this.config=new aa,this.immediate=!1}};function da(e,{key:t,props:n,defaultProps:r,state:o,actions:i}){return new Promise((s,a)=>{let l,c,u=Ks(n.cancel??(null==r?void 0:r.cancel),t);if(u)f();else{ai.und(n.pause)||(o.paused=Ks(n.pause,t));let e=null==r?void 0:r.pause;!0!==e&&(e=o.paused||Ks(e,t)),l=Xs(n.delay||0,t),e?(o.resumeQueue.add(p),i.pause()):(i.resume(),p())}function d(){o.resumeQueue.add(p),o.timeouts.delete(c),c.cancel(),l=c.time-Fo.now()}function p(){l>0&&!ii.skipAnimation?(o.delayed=!0,c=Fo.setTimeout(f,l),o.pauseQueue.add(d),o.timeouts.add(c)):f()}function f(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(d),o.timeouts.delete(c),e<=(o.cancelId||0)&&(u=!0);try{i.start({...n,callId:e,cancel:u},s)}catch(t){a(t)}}})}var pa=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?ma(e.get()):t.every(e=>e.noop)?fa(e.get()):ha(e.get(),t.every(e=>e.finished)),fa=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ha=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),ma=e=>({value:e,cancelled:!0,finished:!1});function va(e,t,n,r){const{callId:o,parentId:i,onRest:s}=t,{asyncTo:a,promise:l}=n;return i||e!==a||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const c=ea(t,(e,t)=>"onRest"===t?void 0:e);let u,d;const p=new Promise((e,t)=>(u=e,d=t)),f=e=>{const t=o<=(n.cancelId||0)&&ma(r)||o!==n.asyncId&&ha(r,!1);if(t)throw e.result=t,d(e),e},h=(e,t)=>{const i=new ya,s=new ba;return(async()=>
28{if(ii.skipAnimation)throw ga(n),s.result=ha(r,!1),d(s),s;f(i);const a=ai.obj(e)?{...e}:{...t,to:e};a.parentId=o,ui(c,(e,t)=>{ai.und(a[t])&&(a[t]=e)});const l=await r.start(a);return f(i),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),l})()};let m;if(ii.skipAnimation)return ga(n),ha(r,!1);try{let t;t=ai.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(u),p]),m=ha(r.get(),!0,!1)}catch(v){if(v instanceof ya)m=v.result;else{if(!(v instanceof ba))throw v;m=v.result}}finally{o==n.asyncId&&(n.asyncId=i,n.asyncTo=i?a:void 0,n.promise=i?l:void 0)}return ai.fun(s)&&Fo.batchedUpdates(()=>{s(m,r,r.item)}),m})():l}function ga(e,t){pi(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var ya=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},ba=class extends Error{constructor(){super("SkipAnimationSignal")}},wa=e=>e instanceof Ea,xa=1,Ea=class extends ls{constructor(){super(...arguments),this.id=xa++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Is(this);return e&&e.getValue()}to(...e){return ii.to(this,e)}interpolate(...e){return Ts(`${Os}The "interpolate" function is deprecated in v9 (use "to" instead)`),ii.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){as(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Ti.sort(this),as(this,{type:"priority",parent:this,priority:e})}},Oa=Symbol.for("SpringPhase"),Sa=e=>(1&e[Oa])>0,Ta=e=>(2&e[Oa])>0,Ca=e=>(4&e[Oa])>0,_a=(e,t)=>t?e[Oa]|=3:e[Oa]&=-3,Pa=(e,t)=>t?e[Oa]|=4:e[Oa]&=-5,ka=class extends Ea{constructor(e,t){if(super(),this.animation=new ua,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ai.und(e)||!ai.und(t)){const n=ai.obj(e)?{...e}:{...t,from:e};ai.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Ta(this)||this._state.asyncTo)||Ca(this)}get goal(){return is(this.animation.to)}get velocity(){const e=Is(this);return e instanceof $s?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return Sa(this)}get isAnimating(){return Ta(this)}get isPaused(){return Ca(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:o}=r;const{config:i}=r,s=Ns(r.to);!s&&os(r.to)&&(o=di(is(r.to))),r.values.forEach((a,l)=>{if(a.done)return;const c=a.constructor==zs?1:s?s[l].lastPosition:o[l];let u=r.immediate,d=c;if(!u){if(d=a.lastPosition,i.tension<=0)return void(a.done=!0);let t=a.elapsedTime+=e;const n=r.fromValues[l],o=null!=a.v0?a.v0:a.v0=ai.arr(i.velocity)?i.velocity[l]:i.velocity;let s;const p=i.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(ai.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);d=n+o/(1-e)*(1-r),u=Math.abs(a.lastPosition-d)<=p,s=o*r}else{s=null==a.lastVelocity?o:a.lastVelocity;const t=i.restVelocity||p/10,r=i.clamp?0:i.bounce,l=!ai.und(r),f=n==c?a.v0>0:n<c;let h,m=!1;const v=1,g=Math.ceil(e/v);for(let e=0;e<g&&(h=Math.abs(s)>t,h||(u=Math.abs(c-d)<=p,!u));++e){l&&(m=d==c||d>c==f,m&&(s=-s*r,d=c));s+=(1e-6*-i.tension*(d-c)+.001*-i.friction*s)/i.mass*v,d+=s*v}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,a.durationProgress>0&&(a.elapsedTime=i.duration*a.durationProgress,t=a.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,a.durationProgress=r),d=n+i.easing(r)*(c-n),s=(d-a.lastPosition)/e,u=1==r}a.lastVelocity=s,Number.isNaN(d)&&(u=!0)}s&&!s[l].done&&(u=!1),u?a.done=!0:t=!1,a.setValue(d,i.round)&&(n=!0)});const a=Is(this),l=a.getValue();if(t){const e=is(r.to);l===e&&!n||i.decay?n&&i.decay&&this._onChange(l):(a.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return Fo.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ta(this)){const{to:e,config:t}=this.animation;Fo.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return ai.und(e)?(n=this.queue||[],this.queue=[]):n=[ai.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>pa(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),ga(this._state,e&&this._lastCallId),Fo.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=ai.obj(n)?n[t]:n,(null==n||ia(n))&&(n=void 0),r=ai.obj(r)?r[t]:r,null==r&&(r=void 0);const o={to:n,from:r};return Sa(this)||(e.reverse&&([n,r]=[r,n]),r=is(r),ai.und(r)?Is(this)||this._set(n):this._set(r)),o}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,ea(e,(e,t)=>/^on/.test(t)?Qs(e,n):e)),Na(this,e,"onProps"),Da(this,"onProps",e,this);const o=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did
28you forget to pass your component to `animated(...)` before animating its props?");const i=this._state;return da(++this._lastCallId,{key:n,props:e,defaultProps:r,state:i,actions:{pause:()=>{Ca(this)||(Pa(this,!0),mi(i.pauseQueue),Da(this,"onPause",ha(this,Ma(this,this.animation.to)),this))},resume:()=>{Ca(this)&&(Pa(this,!1),Ta(this)&&this._resume(),mi(i.resumeQueue),Da(this,"onResume",ha(this,Ma(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=ja(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(ma(this));const r=!ai.und(e.to),o=!ai.und(e.from);if(r||o){if(!(t.callId>this._lastToId))return n(ma(this));this._lastToId=t.callId}const{key:i,defaultProps:s,animation:a}=this,{to:l,from:c}=a;let{to:u=l,from:d=c}=e;!o||r||t.default&&!ai.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const p=!li(d,c);p&&(a.from=d),d=is(d);const f=!li(u,l);f&&this._focus(u);const h=ia(t.to),{config:m}=a,{decay:v,velocity:g}=m;(r||o)&&(m.velocity=0),t.config&&!h&&function(e,t,n){n&&(la(n={...n},t),t={...n,...t}),la(e,t),Object.assign(e,t);for(const s in sa)null==e[s]&&(e[s]=sa[s]);let{frequency:r,damping:o}=e;const{mass:i}=e;ai.und(r)||(r<.01&&(r=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/r,2)*i,e.friction=4*Math.PI*o*i/r)}(m,Xs(t.config,i),t.config!==s.config?Xs(s.config,i):void 0);let y=Is(this);if(!y||ai.und(u))return n(ha(this,!0));const b=ai.und(t.reset)?o&&!t.default:!ai.und(d)&&Ks(t.reset,i),w=b?d:this.get(),x=oa(u),E=ai.num(x)||ai.arr(x)||_s(x),O=!h&&(!E||Ks(s.immediate||t.immediate,i));if(f){const e=Ws(u);if(e!==y.constructor){if(!O)throw Error(`Cannot animate between ${y.constructor.name} and ${e.name}, as the "to" prop suggests`);y=this._set(x)}}const S=y.constructor;let T=os(u),C=!1;if(!T){const e=b||!Sa(this)&&p;(f||e)&&(C=li(oa(w),x),T=!C),(li(a.immediate,O)||O)&&li(m.decay,v)&&li(m.velocity,g)||(T=!0)}if(C&&Ta(this)&&(a.changed&&!b?T=!0:T||this._stop(l)),!h&&((T||os(l))&&(a.values=y.getPayload(),a.toValues=os(u)?null:S==zs?[1]:di(x)),a.immediate!=O&&(a.immediate=O,O||b||this._set(l)),T)){const{onRest:e}=a;ci(Ra,e=>Na(this,t,e));const r=ha(this,Ma(this,l));mi(this._pendingCalls,r),this._pendingCalls.add(n),a.changed&&Fo.batchedUpdates(()=>{var t;a.changed=!b,null==e||e(r,this),b?Xs(s.onRest,r):null==(t=a.onStart)||t.call(a,r,this)})}b&&this._set(w),h?n(va(t.to,t,this._state,this)):T?this._start():Ta(this)&&!f?this._pendingCalls.add(n):n(fa(w))}_focus(e){const t=this.animation;e!==t.to&&(ss(this)&&this._detach(),t.to=e,ss(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;os(t)&&(us(t,this),wa(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;os(e)&&ds(e,this)}_set(e,t=!0){const n=is(e);if(!ai.und(n)){const e=Is(this);if(!e||!li(n,e.getValue())){const r=Ws(n);e&&e.constructor==r?e.setValue(n):Rs(this,r.create(n)),e&&Fo.batchedUpdates(()=>{this._onChange(n,t)})}}return Is(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Da(this,"onStart",ha(this,Ma(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Xs(this.animation.onChange,e,this)),Xs(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Is(this).reset(is(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),Ta(this)||(_a(this,!0),Ca(this)||this._resume())}_resume(){ii.skipAnimation?this.finish():Ti.start(this)}_stop(e,t){if(Ta(this)){_a(this,!1);const n=this.animation;ci(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),as(this,{type:"idle",parent:this});const r=t?ma(this.get()):ha(this.get(),Ma(this,e??n.to));mi(this._pendingCalls,r),n.changed&&(n.changed=!1,Da(this,"onRest",r,this))}}};function Ma(e,t){const n=oa(t);return li(oa(e.get()),n)}function ja(e,t=e.loop,n=e.to){const r=Xs(t);if(r){const o=!0!==r&&ra(r),i=(o||e).reverse,s=!o||o.reset;return La({...e,loop:t,default:!1,pause:void 0,to:!i||ia(n)?n:void 0,from:s?e.from:void 0,reset:s,...o})}}function La(e){const{to:t,from:n}=e=ra(e),r=new Set;return ai.obj(t)&&Ia(t,r),ai.obj(n)&&Ia(n,r),e.keys=r.size?Array.from(r):null,e}function Aa(e){const t=La(e);return ai.und(t.default)&&(t.default=ea(t)),t}function Ia(e,t){ui(e,(e,n)=>null!=e&&t.add(n))}var Ra=["onStart","onRest","onChange","onPause","onResume"];function Na(e,t,n){e.animation[n]=t[n]!==Zs(t,n)?Qs(t[n],e.key):void 0}function Da(e,t,...n){var r,o,i,s;null==(o=(r=e.animation)[t])||o.call(r,...n),null==(s=(i=e.defaultProps)[t])||s.call(i,...n)}var $a=["onStart","onChange","onRest"],za=1,Ba=class{constructor(e,t){this.id=za++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];ai.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(La(e)),this}start(e){let{queue:t}=this;return e?t=di(e).map(La):this.queue=[],this._flush?this._flush(this,t):(Ua(this,t),Fa(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;ci(di(t),t=>n[t].stop(!!e))}else ga(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(ai.und(e))this.start({pause:!0});else{const t=this.springs;ci(di(e),e=>t[e].pause())}return this}resume(e){if(ai.und(e))this.start({pause:!1});else{const t=this.springs;ci(di(e),e=>t[e].resume())}return this}each(e){ui(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,o=this._changed.size>0;(r&&!this._started||o&&!this._started)&&(this._started=!0,pi(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const i=!r&&this._started,s=o||i&&n.size?this.get():null;o&&t.size&&pi(t,([e,t])=>{t.value=s,e(t,this,this._item)}),i&&(this._started=!1,pi(n,([e,t])=>{t.value=s,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}Fo.onFrame(this._onFrame)}};function Fa(e,t){return Promise.all(t.map(t=>Va(e,t))).then(t=>pa(e,t))}async function Va(e,t,n){const{keys:r,to:o,from:i,loop:s,onRest:a,onRes
28olve:l}=t,c=ai.obj(t.default)&&t.default;s&&(t.loop=!1),!1===o&&(t.to=null),!1===i&&(t.from=null);const u=ai.arr(o)||ai.fun(o)?o:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):ci($a,n=>{const r=t[n];if(ai.fun(r)){const o=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=o.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,mi(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const p=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),f=!0===t.cancel||!0===Zs(t,"cancel");(u||f&&d.asyncId)&&p.push(da(++e._lastAsyncId,{props:t,state:d,actions:{pause:si,resume:si,start(t,n){f?(ga(d,e._lastAsyncId),n(ma(e))):(t.onRest=a,n(va(u,t,d,e)))}}})),d.paused&&await new Promise(e=>{d.resumeQueue.add(e)});const h=pa(e,await Promise.all(p));if(s&&h.finished&&(!n||!h.noop)){const n=ja(t,s,o);if(n)return Ua(e,[n]),Va(e,n,!0)}return l&&Fo.batchedUpdates(()=>l(h,e,e.item)),h}function Ha(e,t){const n={...e.springs};return t&&ci(di(t),e=>{ai.und(e.keys)&&(e=La(e)),ai.obj(e.to)||(e={...e,to:void 0}),Ga(n,e,e=>qa(e))}),Wa(e,n),n}function Wa(e,t){ui(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,us(t,e))})}function qa(e,t){const n=new ka;return n.key=e,t&&us(n,t),n}function Ga(e,t,n){t.keys&&ci(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function Ua(e,t){ci(t,t=>{Ga(e.springs,t,t=>qa(t,e))})}var Ya,Xa,Ka=({children:t,...n})=>{const r=e.useContext(Qa),o=n.pause||!!r.pause,i=n.immediate||!!r.immediate;n=function(t,n){const[r]=e.useState(()=>({inputs:n,result:t()})),o=e.useRef(),i=o.current;let s=i;s?Boolean(n&&s.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(n,s.inputs))||(s={inputs:n,result:t()}):s=r;return e.useEffect(()=>{o.current=s,i==r&&(r.inputs=r.result=void 0)},[s]),s.result}(()=>({pause:o,immediate:i}),[o,i]);const{Provider:s}=Qa;return e.createElement(s,{value:n},t)},Qa=(Ya=Ka,Xa={},Object.assign(Ya,e.createContext(Xa)),Ya.Provider._context=Ya,Ya.Consumer._context=Ya,Ya);Ka.Provider=Qa.Provider,Ka.Consumer=Qa.Consumer;var Za=()=>{const e=[],t=function(t){Cs(`${Os}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return ci(e,(e,o)=>{if(ai.und(t))r.push(e.start());else{const i=n(t,e,o);i&&r.push(e.start(i))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return ci(e,e=>e.pause(...arguments)),this},t.resume=function(){return ci(e,e=>e.resume(...arguments)),this},t.set=function(t){ci(e,(e,n)=>{const r=ai.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){const n=[];return ci(e,(e,r)=>{if(ai.und(t))n.push(e.start());else{const o=this._getProps(t,e,r);o&&n.push(e.start(o))}}),n},t.stop=function(){return ci(e,e=>e.stop(...arguments)),this},t.update=function(t){return ci(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return ai.fun(e)?e(n,t):e};return t._getProps=n,t};function Ja(t,n){const r=ai.fun(t),[[o],i]=function(t,n,r){const o=ai.fun(n)&&n;o&&!r&&(r=[]);const i=e.useMemo(()=>o||3==arguments.length?Za():void 0,[]),s=e.useRef(0),a=ks(),l=e.useMemo(()=>({ctrls:[],queue:[],flush(e,t){const n=Ha(e,t);return s.current>0&&!l.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?Fa(e,t):new Promise(r=>{Wa(e,n),l.queue.push(()=>{r(Fa(e,t))}),a()})}}),[]),c=e.useRef([...l.ctrls]),u=[],d=Ls(t)||0;function p(e,t){for(let r=e;r<t;r++){const e=c.current[r]||(c.current[r]=new Ba(null,l.flush)),t=o?o(r,e):n[r];t&&(u[r]=Aa(t))}}e.useMemo(()=>{ci(c.current.slice(t,d),e=>{!function(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}(e,i),e.stop(!0)}),c.current.length=t,p(d,t)},[t]),e.useMemo(()=>{p(0,Math.min(d,t))},r);const f=c.current.map((e,t)=>Ha(e,u[t])),h=e.useContext(Ka),m=Ls(h),v=h!==m&&function(e){for(const t in e)return!0;return!1}(h);Ps(()=>{s.current++,l.ctrls=c.current;const{queue:e}=l;e.length&&(l.queue=[],ci(e,e=>e())),ci(c.current,(e,t)=>{null==i||i.add(e),v&&e.start({default:h});const n=u[t];n&&(function(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),Ms(()=>()=>{ci(l.ctrls,e=>e.stop(!0))});const g=f.map(e=>({...e}));return i?[g,i]:g}(1,r?t:[t],r?n||[]:n);return r||2==arguments.length?[o,i]:o}
28var el=class extends Ea{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Yi(...t);const n=this._get(),r=Ws(n);Rs(this,r.create(n))}advance(e){const t=this._get();li(t,this.get())||(Is(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&nl(this._active)&&rl(this)}_get(){const e=ai.arr(this.source)?this.source.map(is):di(is(this.source));return this.calc(...e)}_start(){this.idle&&!nl(this._active)&&(this.idle=!1,ci(Ns(this),e=>{e.done=!1}),ii.skipAnimation?(Fo.batchedUpdates(()=>this.advance()),rl(this)):Ti.start(this))}_attach(){let e=1;ci(di(this.source),t=>{os(t)&&us(t,this),wa(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){ci(di(this.source),e=>{os(e)&&ds(e,this)}),this._active.clear(),rl(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=di(this.source).reduce((e,t)=>Math.max(e,(wa(t)?t.priority:0)+1),0))}};function tl(e){return!1!==e.idle}function nl(e){return!e.size||Array.from(e).every(tl)}function rl(e){e.idle||(e.idle=!0,ci(Ns(e),e=>{e.done=!0}),as(e,{type:"idle",parent:e}))}ii.assign({createStringInterpolator:Es,to:(e,t)=>new el(e,t)});var ol=/^--/;function il(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||ol.test(e)||al.hasOwnProperty(e)&&al[e]?(""+t).trim():t+"px"}var sl={};var al={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ll=["Webkit","Ms","Moz","O"];al=Object.keys(al).reduce((e,t)=>(ll.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),al);var cl=/^(matrix|translate|scale|rotate|skew)/,ul=/^(translate)/,dl=/^(rotate|skew)/,pl=(e,t)=>ai.num(e)&&0!==e?e+t:e,fl=(e,t)=>ai.arr(e)?e.every(e=>fl(e,t)):ai.num(e)?e===t:parseFloat(e)===t,hl=class extends Fs{constructor({x:e,y:t,z:n,...r}){const o=[],i=[];(e||t||n)&&(o.push([e||0,t||0,n||0]),i.push(e=>[`translate3d(${e.map(e=>pl(e,"px")).join(",")})`,fl(e,0)])),ui(r,(e,t)=>{if("transform"===t)o.push([e||""]),i.push(e=>[e,""===e]);else if(cl.test(t)){if(delete r[t],ai.und(e))return;const n=ul.test(t)?"px":dl.test(t)?"deg":"";o.push(di(e)),i.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${pl(o,n)})`,fl(o,0)]:e=>[`${t}(${e.map(e=>pl(e,n)).join(",")})`,fl(e,t.startsWith("scale")?1:0)])}}),o.length&&(r.transform=new ml(o,i)),super(r)}},ml=class extends ls{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return ci(this.inputs,(n,r)=>{const o=is(n[0]),[i,s]=this.transforms[r](ai.arr(o)?o:n.map(is));e+=" "+i,t=t&&s}),t?"none":e}observerAdded(e){1==e&&ci(this.inputs,e=>ci(e,e=>os(e)&&us(e,this)))}observerRemoved(e){0==e&&ci(this.inputs,e=>ci(e,e=>os(e)&&ds(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),as(this,e)}};ii.assign({batchedUpdates:o.unstable_batchedUpdates,createStringInterpolator:Es,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var vl=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new Fs(e),getComponentProps:r=e=>e}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=Ys(e)||"Anonymous";return(e=ai.str(e)?i[e]||(i[e]=qs(e,o)):e[Us]||(e[Us]=qs(e,o))).displayName=`Animated(${t})`,e};return ui(e,(t,n)=>{ai.arr(e)&&(n=Ys(t)),i[n]=i(t)}),{animated:i}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:o,children:i,scrollTop:s,scrollLeft:a,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map(t=>n||e.hasAttribute(t)?t:sl[t]||(sl[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==i&&(e.textContent=i);for(const p in o)if(o.hasOwnProperty(p)){const t=il(p,o[p]);ol.test(p)?e.style.setProperty(p,t):e.style[p]=t}
vendor: 4,994 bytes, line 28
28d.forEach((t,n)=>{e.setAttribute(t,u[n])}),void 0!==r&&(e.className=r),void 0!==s&&(e.scrollTop=s),void 0!==a&&(e.scrollLeft=a),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new hl(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}).animated,gl="top",yl="bottom",bl="right",wl="left",xl="auto",El=[gl,yl,bl,wl],Ol="start",Sl="end",Tl="viewport",Cl="popper",_l=El.reduce(function(e,t){return e.concat([t+"-"+Ol,t+"-"+Sl])},[]),Pl=[].concat(El,[xl]).reduce(function(e,t){return e.concat([t,t+"-"+Ol,t+"-"+Sl])},[]),kl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ml(e){return e?(e.nodeName||"").toLowerCase():null}function jl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ll(e){return e instanceof jl(e).Element||e instanceof Element}function Al(e){return e instanceof jl(e).HTMLElement||e instanceof HTMLElement}function Il(e){return"undefined"!=typeof ShadowRoot&&(e instanceof jl(e).ShadowRoot||e instanceof ShadowRoot)}const Rl={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Al(o)&&Ml(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Al(r)&&Ml(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function Nl(e){return e.split("-")[0]}var Dl=Math.max,$l=Math.min,zl=Math.round;function Bl(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Fl(){return!/^((?!chrome|android).)*safari/i.test(Bl())}function Vl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Al(e)&&(o=e.offsetWidth>0&&zl(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&zl(r.height)/e.offsetHeight||1);var s=(Ll(e)?jl(e):window).visualViewport,a=!Fl()&&n,l=(r.left+(a&&s?s.offsetLeft:0))/o,c=(r.top+(a&&s?s.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Hl(e){var t=Vl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Wl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Il(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ql(e){return jl(e).getComputedStyle(e)}function Gl(e){return["table","td","th"].indexOf(Ml(e))>=0}function Ul(e){return((Ll(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yl(e){return"html"===Ml(e)?e:e.assignedSlot||e.parentNode||(Il(e)?e.host:null)||Ul(e)}function Xl(e){return Al(e)&&"fixed"!==ql(e).position?e.offsetParent:null}function Kl(e){for(var t=jl(e),n=Xl(e);n&&Gl(n)&&"static"===ql(n).position;)n=Xl(n);return n&&("html"===Ml(n)||"body"===Ml(n)&&"static"===ql(n).position)?t:n||function(e){var t=/firefox/i.test(Bl());if(/Trident/i.test(Bl())&&Al(e)&&"fixed"===ql(e).position)return null;var n=Yl(e);for(Il(n)&&(n=n.host);Al(n)&&["html","body"].indexOf(Ml(n))<0;){var r=ql(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Ql(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Zl(e,t,n){return Dl(e,$l(t,n))}function Jl(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ec(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function tc(e){return e.split("-")[1]}var nc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rc(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=s.x,f=void 0===p?0:p,h=s.y,m=void 0===h?0:h,v="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),b=wl,w=gl,x=window;if(c){var E=Kl(n),O="clientHeight",S="clientWidth";if(E===jl(n)&&"static"!==ql(E=Ul(n)).position&&"absolute"===a&&(O="scrollHeight",S="scrollWidth"),o===gl||(o===wl||o===bl)&&i===Sl)w=yl,m-=(d&&E===x&&x.visualVie
vendor: 4,168 bytes, line 28
28wport?x.visualViewport.height:E[O])-r.height,m*=l?1:-1;if(o===wl||(o===gl||o===yl)&&i===Sl)b=bl,f-=(d&&E===x&&x.visualViewport?x.visualViewport.width:E[S])-r.width,f*=l?1:-1}var T,C=Object.assign({position:a},c&&nc),_=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:zl(n*o)/o||0,y:zl(r*o)/o||0}}({x:f,y:m},jl(n)):{x:f,y:m};return f=_.x,m=_.y,l?Object.assign({},C,((T={})[w]=y?"0":"",T[b]=g?"0":"",T.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",T)):Object.assign({},C,((t={})[w]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var oc={passive:!0};var ic={left:"right",right:"left",bottom:"top",top:"bottom"};function sc(e){return e.replace(/left|right|bottom|top/g,function(e){return ic[e]})}var ac={start:"end",end:"start"};function lc(e){return e.replace(/start|end/g,function(e){return ac[e]})}function cc(e){var t=jl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function uc(e){return Vl(Ul(e)).left+cc(e).scrollLeft}function dc(e){var t=ql(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function pc(e){return["html","body","#document"].indexOf(Ml(e))>=0?e.ownerDocument.body:Al(e)&&dc(e)?e:pc(Yl(e))}function fc(e,t){var n;void 0===t&&(t=[]);var r=pc(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=jl(r),s=o?[i].concat(i.visualViewport||[],dc(r)?r:[]):r,a=t.concat(s);return o?a:a.concat(fc(Yl(s)))}function hc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function mc(e,t,n){return t===Tl?hc(function(e,t){var n=jl(e),r=Ul(e),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;var c=Fl();(c||!c&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a+uc(e),y:l}}(e,n)):Ll(t)?function(e,t){var n=Vl(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):hc(function(e){var t,n=Ul(e),r=cc(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Dl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Dl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+uc(e),l=-r.scrollTop;return"rtl"===ql(o||n).direction&&(a+=Dl(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(Ul(e)))}function vc(e,t,n,r){var o="clippingParents"===t?function(e){var t=fc(Yl(e)),n=["absolute","fixed"].indexOf(ql(e).position)>=0&&Al(e)?Kl(e):e;return Ll(n)?t.filter(function(e){return Ll(e)&&Wl(e,n)&&"body"!==Ml(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),s=i[0],a=i.reduce(function(t,n){var o=mc(e,n,r);return t.top=Dl(o.top,t.top),t.right=$l(o.right,t.right),t.bottom=$l(o.bottom,t.bottom),t.left=Dl(o.left,t.left),t},mc(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function gc(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Nl(o):null,s=o?tc(o):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case gl:t={x:a,y:n.y-r.height};break;case yl:t={x:a,y:n.y+n.height};break;case bl:t={x:n.x+n.width,y:l};break;case wl:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?Ql(i):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case Ol:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Sl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function yc(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,s=void 0===i?e.strategy:i,a=n.boundary,l=void 0===a?"clippingParents":a,c=n.rootBoundary,u=void 0===c?Tl:c,d=n.elementContext,p=void 0===d?Cl:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,g=Jl("number"!=typeof v?v:ec(v,El)),y=p===Cl?"reference":Cl,b=e.rects.popper,w=e.elements[h?y:p],x=vc(Ll(w)?w:w.contextElement||Ul(e.elements.popper),l,u,s),E=Vl(e.elements.reference),O=gc({reference:E,element:b,strategy:"absolute",placement:o}),S=hc(Object.assign({},b,O)),T=p===Cl?S:E,C={top:x.top-T.top+g.top,bottom:T.bottom-x.bottom+g.bottom,left:x.left-T.left+g.left,right:T.right-x.right+g.right},_=e.modifiersData.offset;if(p===Cl&&_){var P=_[o];
vendor: 5,434 bytes, line 28
28Object.keys(C).forEach(function(e){var t=[bl,yl].indexOf(e)>=0?1:-1,n=[gl,yl].indexOf(e)>=0?"y":"x";C[e]+=P[n]*t})}return C}function bc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function wc(e){return[gl,bl,yl,wl].some(function(t){return e[t]>=0})}function xc(e,t,n){void 0===n&&(n=!1);var r,o,i=Al(t),s=Al(t)&&function(e){var t=e.getBoundingClientRect(),n=zl(t.width)/e.offsetWidth||1,r=zl(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Ul(t),l=Vl(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==Ml(t)||dc(a))&&(c=(r=t)!==jl(r)&&Al(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:cc(r)),Al(t)?((u=Vl(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=uc(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Ec(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var Oc={placement:"bottom",modifiers:[],strategy:"absolute"};function Sc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Tc(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Oc:o;return function(e,t,n){void 0===n&&(n=i);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Oc,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},i,a.options,o),a.scrollParents={reference:Ll(e)?fc(e):e.contextElement?fc(e.contextElement):[],popper:fc(t)};var s,c,p=function(e){var t=Ec(e);return kl.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(r,a.options.modifiers),c=s.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return a.orderedModifiers=p.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:a,name:t,instance:u,options:r}),s=function(){};l.push(i||s)}}),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Sc(t,n)){a.rects={reference:xc(t,Kl(n),"fixed"===a.options.strategy),popper:Hl(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var o=a.orderedModifiers[r],i=o.fn,s=o.options,l=void 0===s?{}:s,d=o.name;"function"==typeof i&&(a=i({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(o())})})),s}),destroy:function(){d(),c=!0}};if(!Sc(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var Cc=Tc({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,s=r.resize,a=void 0===s||s,l=jl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,oc)}),a&&l.addEventListener("resize",n.update,oc),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,oc)}),a&&l.removeEventListener("resize",n.update,oc)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=gc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c={placement:Nl(t.placement),variation:tc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,rc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,rc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Rl,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,s=Pl.reduce(function(e,n){return e[n]=function(e,t,n){var r=Nl(e),o=[wl,gl].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];
vendor: 4,840 bytes, line 28
28return s=s||0,a=(a||0)*o,[wl,bl].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,i),e},{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,v=t.options.placement,g=Nl(v),y=l||(g===v||!h?[sc(v)]:function(e){if(Nl(e)===xl)return[];var t=sc(e);return[lc(e),t,lc(t)]}(v)),b=[v].concat(y).reduce(function(e,n){return e.concat(Nl(n)===xl?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Pl:l,u=tc(r),d=u?a?_l:_l.filter(function(e){return tc(e)===u}):El,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=yc(e,{placement:n,boundary:o,rootBoundary:i,padding:s})[Nl(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),w=t.rects.reference,x=t.rects.popper,E=new Map,O=!0,S=b[0],T=0;T<b.length;T++){var C=b[T],_=Nl(C),P=tc(C)===Ol,k=[gl,yl].indexOf(_)>=0,M=k?"width":"height",j=yc(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),L=k?P?bl:wl:P?yl:gl;w[M]>x[M]&&(L=sc(L));var A=sc(L),I=[];if(i&&I.push(j[_]<=0),a&&I.push(j[L]<=0,j[A]<=0),I.every(function(e){return e})){S=C,O=!1;break}E.set(C,I)}if(O)for(var R=function(e){var t=b.find(function(t){var n=E.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},N=h?3:1;N>0;N--){if("break"===R(N))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=yc(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=Nl(t.placement),y=tc(t.placement),b=!y,w=Ql(g),x="x"===w?"y":"x",E=t.modifiersData.popperOffsets,O=t.rects.reference,S=t.rects.popper,T="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(E){if(i){var k,M="y"===w?gl:wl,j="y"===w?yl:bl,L="y"===w?"height":"width",A=E[w],I=A+v[M],R=A-v[j],N=f?-S[L]/2:0,D=y===Ol?O[L]:S[L],$=y===Ol?-S[L]:-O[L],z=t.elements.arrow,B=f&&z?Hl(z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=F[M],H=F[j],W=Zl(0,O[L],B[L]),q=b?O[L]/2-N-W-V-C.mainAxis:D-W-V-C.mainAxis,G=b?-O[L]/2+N+W+H+C.mainAxis:$+W+H+C.mainAxis,U=t.elements.arrow&&Kl(t.elements.arrow),Y=U?"y"===w?U.clientTop||0:U.clientLeft||0:0,X=null!=(k=null==_?void 0:_[w])?k:0,K=A+G-X,Q=Zl(f?$l(I,A+q-X-Y):I,A,f?Dl(R,K):R);E[w]=Q,P[w]=Q-A}if(a){var Z,J="x"===w?gl:wl,ee="x"===w?yl:bl,te=E[x],ne="y"===x?"height":"width",re=te+v[J],oe=te-v[ee],ie=-1!==[gl,wl].indexOf(g),se=null!=(Z=null==_?void 0:_[x])?Z:0,ae=ie?re:te-O[ne]-S[ne]-se+C.altAxis,le=ie?te+O[ne]+S[ne]-se-C.altAxis:oe,ce=f&&ie?function(e,t,n){var r=Zl(e,t,n);return r>n?n:r}(ae,te,le):Zl(f?ae:re,te,f?le:oe);E[x]=ce,P[x]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Nl(n.placement),l=Ql(a),c=[wl,bl].indexOf(a)>=0?"height":"width";if(i&&s){var u=function(e,t){return Jl("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ec(e,El))}(o.padding,n),d=Hl(i),p="y"===l?gl:wl,f="y"===l?yl:bl,h=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],m=s[l]-n.rects.reference[l],v=Kl(i),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=u[p],w=g-d[c]-u[f],x=g/2-d[c]/2+y,E=Zl(b,x,w),O=l;n.modifiersData[r]=((t={})[O]=E,t.centerOffset=E-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Wl(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.re
vendor: 9,159 bytes, line 28
28cts.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=yc(t,{elementContext:"reference"}),a=yc(t,{altBoundary:!0}),l=bc(s,r),c=bc(a,o,i),u=wc(l),d=wc(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),_c={passive:!0,capture:!0},Pc=function(){return document.body};function kc(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Mc(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function jc(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Lc(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Ac(e){return[].concat(e)}function Ic(e,t){-1===e.indexOf(t)&&e.push(t)}function Rc(e){return[].slice.call(e)}function Nc(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function Dc(e){return["Element","Fragment"].some(function(t){return Mc(e,t)})}function $c(e){return Dc(e)?[e]:function(e){return Mc(e,"NodeList")}(e)?Rc(e):Array.isArray(e)?e:Rc(document.querySelectorAll(e))}function zc(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Bc(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Fc(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function Vc(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Hc={isTouch:!1},Wc=0;function qc(){Hc.isTouch||(Hc.isTouch=!0,window.performance&&document.addEventListener("mousemove",Gc))}function Gc(){var e=performance.now();e-Wc<20&&(Hc.isTouch=!1,document.removeEventListener("mousemove",Gc)),Wc=e}function Uc(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var Yc=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,Xc=Object.assign({appendTo:Pc,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Kc=Object.keys(Xc);function Qc(e){var t=(e.plugins||[]).reduce(function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Xc[o])?r:i);return t},{});return Object.assign({},e,t)}function Zc(e,t){var n=Object.assign({},t,{content:jc(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Qc(Object.assign({},Xc,{plugins:t}))):Kc).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(o){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},Xc.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Jc(e){var t=e.firstElementChild,n=Rc(t.children);return{box:t,content:n.find(function(e){return e.classList.contains("tippy-content")}),arrow:n.find(function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}var eu=1,tu=[],nu=[];function ru(e,t){var n,r,o,i,s,a,l,c,u=Zc(e,Object.assign({},Xc,Qc(Nc(t)))),d=!1,p=!1,f=!1,h=!1,m=[],v=Lc(U,u.interactiveDebounce),g=eu++,y=(c=u.plugins).filter(function(e,t){return c.indexOf(e)===t}),b={id:g,reference:e,popper:document.createElement("div"),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){if(b.state.isDestroyed)return;A("onBeforeUpdate",[b,t]),q();var n=b.props,r=Zc(e,Object.assign({},n,Nc(t),{ignoreAttributes:!0}));b.props=r,W(),n.interactiveDebounce!==r.interactiveDebounce&&(N(),v=Lc(U,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ac(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");R(),L(),E&&E(n,r);b.popperInstance&&(Q(),J().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));A("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Hc.isTouch&&!b.props.touch,o=kc(b.props.duration,0,Xc.duration);if(e||t||n||r)return;if(P().hasAttribute("disabled"))return;if(A("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,_()&&(x.style.visibility="visible");L(),B(),b.state.isMounted||(x.style.transition="none");if(_()){var i=M();zc([i.box,i.content],0)}a=function(){var e;if(b.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,_()&&b.props.animation){var t=M(),n=t.box,r=t.content;zc([n,r],o),Bc([n,r],"visible")}I(),R(),Ic(nu,b),null==(e=b.popperInstance)||e.forceUpdate(),A("onMount",[b]),b.props.animation&&_()&&function(e,t){V(e,t)}(o,function(){b.state.isShown=!0,A("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=P();e=b.props.interactive&&t===Pc||"parent"===t?n.parentNode:jc(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,Q()}()},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=kc(b.props.duration,1,Xc.duration);if(e||t||n)return;if(A("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,h=!1,d=!1,_()&&(x.style.visibility="hidden");if(N(),F(),L(!0),_()){var o=M(),i=o.box,s=o.content;b.props.animation&&(zc([i,s],r),Bc([i,s],"hidden"))}I(),R(),b.props.animation?_()&&function(e,t){V(e,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){k().addEventListener("mousemove",v),Ic(tu,v),v(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Z(),J().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);nu=nu.filter(function(e){return e!==b}),b.state.isMounted=!1,A("onHidden",[b])},destroy:function(){if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,A("onDestroy",[b])}};if(!u.render)return b;var w=u.render(b),x=w.popper,E=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var O=y.map(function(e){return e.fn(b)}),S=e.hasAttribute("aria-expanded");return W(),R(),L(),A("onCreate",[b]),u.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",v)}),b;function T(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===T()[0]}function _(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function P(){return l||e}function k(){var e,t,n=P().parentNode;return n?null!=(t=Ac(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function M(){return Jc(x)}function j(e){return b.state.isMounted&&!b.state.isVisible||Hc.isTouch||i&&"focus"===i.type?0:kc(b.props.delay,e?0:1,Xc.delay)}function L(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function A(e,t,n){var r;(void 0===n&&(n=!0),O.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function I(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Ac(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}})}}function R(){!S&&b.props.aria.expanded&&Ac(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===P()?"true":"false"):e.removeAttribute("aria-expanded")})}function N(){k().removeEventListener("mousemove",v),tu=tu.filter(function(e){return e!==v})}function D(t){if(!Hc.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;
vendor: 4,229 bytes, line 28
28if(!b.props.interactive||!Vc(x,n)){if(Ac(b.props.triggerTarget||e).some(function(e){return Vc(e,n)})){if(Hc.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else A("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout(function(){p=!1}),b.state.isMounted||F())}}}function $(){f=!0}function z(){f=!1}function B(){var e=k();e.addEventListener("mousedown",D,!0),e.addEventListener("touchend",D,_c),e.addEventListener("touchstart",z,_c),e.addEventListener("touchmove",$,_c)}function F(){var e=k();e.removeEventListener("mousedown",D,!0),e.removeEventListener("touchend",D,_c),e.removeEventListener("touchstart",z,_c),e.removeEventListener("touchmove",$,_c)}function V(e,t){var n=M().box;function r(e){e.target===n&&(Fc(n,"remove",r),t())}if(0===e)return t();Fc(n,"remove",s),Fc(n,"add",r),s=r}function H(t,n,r){void 0===r&&(r=!1),Ac(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function W(){var e;C()&&(H("touchstart",G,{passive:!0}),H("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(H(e,G),e){case"mouseenter":H("mouseleave",Y);break;case"focus":H(Yc?"focusout":"blur",X);break;case"focusin":H("focusout",X)}})}function q(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)}),m=[]}function G(e){var t,n=!1;if(b.state.isEnabled&&!K(e)&&!p){var r="focus"===(null==(t=i)?void 0:t.type);i=e,l=e.currentTarget,R(),!b.state.isVisible&&Mc(e,"MouseEvent")&&tu.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||d)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(d=!n),n&&!r&&te(e)}}function U(e){var t=e.target,n=P().contains(t)||x.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,s=o.placement.split("-")[0],a=o.modifiersData.offset;if(!a)return!0;var l="bottom"===s?a.top.y:0,c="top"===s?a.bottom.y:0,u="right"===s?a.left.x:0,d="left"===s?a.right.x:0,p=t.top-r+l>i,f=r-t.bottom-c>i,h=t.left-n+u>i,m=n-t.right-d>i;return p||f||h||m})}(J().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null}).filter(Boolean),e)&&(N(),te(e))}function Y(e){K(e)||b.props.trigger.indexOf("click")>=0&&d||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function X(e){b.props.trigger.indexOf("focusin")<0&&e.target!==P()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function K(e){return!!Hc.isTouch&&C()!==e.type.indexOf("touch")>=0}function Q(){Z();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,s=t.moveTransition,l=_()?Jc(x).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||P()}:e,u=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(_()){var n=M().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];_()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Cc(c,x,Object.assign({},n,{placement:r,onFirstUpdate:a,modifiers:u}))}function Z(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function J(){return Rc(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&A("onTrigger",[b,e]),B();var t=j(!0),r=T(),o=r[0],i=r[1];Hc.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),A("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mou
28seenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=j(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else F()}}function ou(e,t){void 0===t&&(t={});var n=Xc.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",qc,_c),window.addEventListener("blur",Uc);var r=Object.assign({},t,{plugins:n}),o=$c(e).reduce(function(e,t){var n=t&&ru(t,r);return n&&e.push(n),e},[]);return Dc(e)?o[0]:o}function iu(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}ou.defaultProps=Xc,ou.setDefaultProps=function(e){Object.keys(e).forEach(function(t){Xc[t]=e[t]})},ou.currentInput=Hc,Object.assign({},Rl,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),ou.setDefaultProps({animation:!1});var su="undefined"!=typeof window&&"undefined"!=typeof document;function au(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function lu(){return su&&document.createElement("div")}function cu(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!cu(e[n],t[n]))return!1}return!0}return!1}function uu(e){var t=[];return e.forEach(function(e){t.find(function(t){return cu(e,t)})||t.push(e)}),t}var du=su?e.useLayoutEffect:e.useEffect;function pu(e,t,n){n.split(/\s+/).forEach(function(n){n&&e.classList[t](n)})}var fu={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||pu(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&pu(t,"remove",e.props.className)},onAfterUpdate:r}}};function hu(n){return function(r){var i=r.children,s=r.content,a=r.visible,l=r.singleton,c=r.render,u=r.reference,d=r.disabled,p=void 0!==d&&d,f=r.ignoreAttributes,h=void 0===f||f;r.__source,r.__self;var m,v,g=iu(r,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),y=void 0!==a,b=void 0!==l,w=e.useState(!1),x=w[0],E=w[1],O=e.useState({}),S=O[0],T=O[1],C=e.useState(),_=C[0],P=C[1],k=(m=function(){return{container:lu(),renders:1}},(v=e.useRef()).current||(v.current="function"==typeof m?m():m),v.current),M=Object.assign({ignoreAttributes:h},g,{content:k.container});y&&(M.trigger="manual",M.hideOnClick=!1),b&&(p=!0);var j=M,L=M.plugins||[];c&&(j=Object.assign({},M,{plugins:b&&null!=l.data?[].concat(L,[{fn:function(){return{onTrigger:function(e,t){var n=l.data.children.find(function(e){return e.instance.reference===t.currentTarget});e.state.$$activeSingletonInstance=n.instance,P(n.content)}}}}]):L,render:function(){return{popper:k.container}}}));var A=[u].concat(i?[i.type]:[]);return du(function(){var e=u;u&&u.hasOwnProperty("current")&&(e=u.current);var t=n(e||k.ref||lu(),Object.assign({},j,{plugins:[fu].concat(M.plugins||[])}));return k.instance=t,p&&t.disable(),a&&t.show(),b&&l.hook({instance:t,content:s,props:j,setSingletonContent:P}),E(!0),function(){t.destroy(),null==l||l.cleanup(t)}},A),du(function(){var e;if(1!==k.renders){var t,n,r,o,i=k.instance;i.setProps((t=i.props,n=j,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:uu([].concat((null==(r=t.popperOptions)?void 0:r.modifiers)||[],(null==(o=n.popperOptions)?void 0:o.modifiers)||[]))})}))),null==(e=i.popperInstance)||e.forceUpdate(),p?i.disable():i.enable(),y&&(a?i.show():i.hide()),b&&l.hook({instance:i,content:s,props:j,setSingletonContent:P})}else k.renders++}),du(function(){var e;if(c){var t=k.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter(function(e){return"$$tippyReact"!==e.name}),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;S.placement===n.placement&&S.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&S.escaped===(null==r?void 0:r.hasPopperEscaped)||T({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}},[S.placement,S.referenceHidden,S.escaped].concat(A)),t.createElement(t.Fragment,null,i?e.cloneElement(i,{ref:function(e){k.ref=e,au(i.ref,e)}}
28):null,x&&o.createPortal(c?c(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(S),_,k.instance):s,k.container))}}const mu=function(n,r){return e.forwardRef(function(o,i){var s=o.children,a=iu(o,["children"]);return t.createElement(n,Object.assign({},r,a),s?e.cloneElement(s,{ref:function(e){au(i,e),au(s.ref,e)}}):null)})}(hu(ou),{render:function(){return""}});var vu={exports:{}};(()=>{var t={296:(e,t,n)=>{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,p=Math.max,f=Math.min,h=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||(n=t)&&"object"==typeof n&&"[object Symbol]"==d.call(t))return NaN;var t,n;if(m(e)){var l="function"==typeof e.valueOf?e.valueOf():e;e=m(l)?l+"":l}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var c=i.test(e);return c||s.test(e)?a(e.slice(2),c?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,s,a,l,c=0,u=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function w(){var e,n,r=h();if(b(r))return x(r);a=setTimeout(w,(n=t-((e=r)-l),d?f(n,i-(e-c)):n))}function x(e){return a=void 0,g&&r?y(e):(r=o=void 0,s)}function E(){var e,n=h(),i=b(n);if(r=arguments,o=this,l=n,i){if(void 0===a)return c=e=l,a=setTimeout(w,t),u?y(e):s;if(d)return a=setTimeout(w,t),y(l)}return void 0===a&&(a=setTimeout(w,t)),s}return t=v(t)||0,m(n)&&(u=!!n.leading,i=(d="maxWait"in n)?p(v(n.maxWait)||0,t):i,g="trailing"in n?!!n.trailing:g),E.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=o=a=void 0},E.flush=function(){return void 0===a?s:x(h())},E}},96:(e,t,n)=>{var r="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||(n=t)&&"object"==typeof n&&"[object Symbol]"==p.call(t))return NaN;var t,n;if(v(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=v(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var c=s.test(e);return c||a.test(e)?l(e.slice(2),c?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return v(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,s,a,l,c,u=0,d=!1,p=!1,y=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=o,r=i;return o=i=void 0,u=t,a=e.apply(r,n)}function w(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-u>=s}function x(){var e,n,r=m();if(w(r))return E(r);l=setTimeout(x,(n=t-((e=r)-c),p?h(n,s-(e-u)):n))}function E(e){return l=void 0,y&&o?b(e):(o=i=void 0,a)}function O(){var e,n=m(),r=w(n);if(o=arguments,i=this,c=n,r){if(void 0===l)return u=e=c,l=setTimeout(x,t),d?b(e):a;if(p)return l=setTimeout(x,t),b(c)}return void 0===l&&(l=setTimeout(x,t)),a}return t=g(t)||0,v(n)&&(d=!!n.leading,s=(p="maxWait"in n)?f(g(n.maxWait)||0,t):s,y="trailing"in n?!!n.trailing:y),O.cancel=function(){void 0!==l&&clearTimeout(l),u=0,o=c=i=l=void 0},O.flush=function(){return void 0===l?a:E(m())},O}(e,t,{leading:o,maxWait:t,trailing:i})}},703:(e,t,n)=>{var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
28:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{r.r(o),r.d(o,{LazyLoadComponent:()=>H,LazyLoadImage:()=>ee,trackWindowScroll:()=>L});const t=e;var n=r.n(t),i=r(697);function s(){return"undefined"!=typeof window&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){var t=function(e){if("object"!==a(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===a(t)?t:String(t)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){e.forEach(function(e){e.isIntersecting&&e.target.onVisible()})},h={},m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(v,e);var t,r,o,i,m=(o=v,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=p(o);if(i){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function v(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),(t=m.call(this,e)).supportsObserver=!e.scrollPosition&&e.useIntersectionObserver&&s(),t.supportsObserver){var r=e.threshold;t.observer=(h[n=r]=h[n]||new IntersectionObserver(f,{rootMargin:n+"px"}),h[n])}return t}return t=v,r=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollPosition,t=this.placeholder.getBoundingClientRect(),n=this.placeholder.style,r=parseInt(n.getPropertyValue("margin-left"),10)||0,o=parseInt(n.getPropertyValue("margin-top"),10)||0;return{bottom:e.y+t.bottom+o,left:e.x+t.left+r,right:e.x+t.right+r,top:e.y+t.to
28p+o}}},{key:"isPlaceholderInViewport",value:function(){if("undefined"==typeof window||!this.placeholder)return!1;var e=this.props,t=e.scrollPosition,n=e.threshold,r=this.getPlaceholderBoundingBox(t),o=t.y+window.innerHeight,i=t.x,s=t.x+window.innerWidth,a=t.y;return Boolean(a-n<=r.bottom&&o+n>=r.top&&i-n<=r.right&&s+n>=r.left)}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,o=t.height,i=t.placeholder,s=t.style,a=t.width;if(i&&"function"!=typeof i.type)return n().cloneElement(i,{ref:function(t){return e.placeholder=t}});var u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({display:"inline-block"},s);return void 0!==a&&(u.width=a),void 0!==o&&(u.height=o),n().createElement("span",{className:r,ref:function(t){return e.placeholder=t},style:u},i)}}],r&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),v}(n().Component);m.propTypes={onVisible:i.PropTypes.func.isRequired,className:i.PropTypes.string,height:i.PropTypes.oneOfType([i.PropTypes.number,i.PropTypes.string]),placeholder:i.PropTypes.element,threshold:i.PropTypes.number,useIntersectionObserver:i.PropTypes.bool,scrollPosition:i.PropTypes.shape({x:i.PropTypes.number.isRequired,y:i.PropTypes.number.isRequired}),width:i.PropTypes.oneOfType([i.PropTypes.number,i.PropTypes.string])},m.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const v=m;var g=r(296),y=r.n(g),b=r(96),w=r.n(b),x=function(e){var t=getComputedStyle(e,null);return t.getPropertyValue("overflow")+t.getPropertyValue("overflow-y")+t.getPropertyValue("overflow-x")};const E=function(e){if(!(e instanceof HTMLElement))return window;for(var t=e;t&&t instanceof HTMLElement;){if(/(scroll|auto)/.test(x(t)))return t;t=t.parentNode}return window};function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var S=["delayMethod","delayTime"];function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}function C(e,t){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return P(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var M=function(){return"undefined"==typeof window?0:window.scrollX||window.pageXOffset},j=function(){return"undefined"==typeof window?0:window.scrollY||window.pageYOffset};const L=function(e){var t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}(c,t);var r,o,i,a,l=(i=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=k(i);if(a){var n=k(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function c(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=l.call(this,e)).useIntersectionObserver=e.useIntersectionObserver&&s(),t.useIntersectionObserver)return _(t);var r=t.onChangeScroll.bind(P(t));return"debounce"===e.delayMethod?t.delayedScroll=y()(r,e.delayTime):"throttle"===e.delayMethod&&(t.delayedScroll=w()(r,e.delayTime)),t.state={scrollPosition:{x:M(),y:j()}},t.baseComponentRef=n().createRef(),t}return r=c,(o=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){"undefined"==typeof window||this.useIntersectionObserver||E(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement=E(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:M(),y:j()}})}},{key:"render",value:function(){var t=this.props,r=(t.delayMethod,t.delayTime,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,S)),o=this.useIntersectionObserver?null:this.state.scrollPosition;return n().createElement(e,T({forwardRef:this.baseComponentRef,scrollPosition:o},r))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==O(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===O(o)?o:String(o)),r)}var o}(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),c}(n().Component);return t.propTypes={delayMethod:i.PropTypes.oneOf(["debounce","throttle"]),delayTime:i.PropTypes.number,useIntersectionObserver:i.PropTypes.bool},t.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},t};function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
28function I(e,t){return(I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}(a,e);var t,r,o,i,s=(o=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=R(o);if(i){var n=R(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===A(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),s.call(this,e)}return t=a,(r=[{key:"render",value:function(){return n().createElement(v,this.props)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==A(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==A(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===A(o)?o:String(o)),r)}var o}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(n().Component);const D=L(N);function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){return(z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var V=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}(l,e);var t,r,o,i,a=(o=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=F(o);if(i){var n=F(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return B(e)}(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=a.call(this,e);var n=e.afterLoad,r=e.beforeLoad,o=e.scrollPosition,i=e.visibleByDefault;return t.state={visible:i},i&&(r(),n()),t.onVisible=t.onVisible.bind(B(t)),t.isScrollTracked=Boolean(o&&Number.isFinite(o.x)&&o.x>=0&&Number.isFinite(o.y)&&o.y>=0),t}return t=l,(r=[{key:"componentDidUpdate",value:function(e,t){t.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var e=this.props,t=e.className,r=e.delayMethod,o=e.delayTime,i=e.height,a=e.placeholder,l=e.scrollPosition,c=e.style,u=e.threshold,d=e.useIntersectionObserver,p=e.width;return this.isScrollTracked||d&&s()?n().createElement(v,{className:t,height:i,onVisible:this.onVisible,placeholder:a,scrollPosition:l,style:c,threshold:u,useIntersectionObserver:d,width:p}):n().createElement(D,{className:t,delayMethod:r,delayTime:o,height:i,onVisible:this.onVisible,placeholder:a,style:c,threshold:u,width:p})}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==$(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===$(o)?o:String(o)),r)}var o}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(n().Component);V.propTypes={afterLoad:i.PropTypes.func,beforeLoad:i.PropTypes.func,useIntersectionObserver:i.PropTypes.bool,visibleByDefault:i.PropTypes.bool},V.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const H=V;function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var q=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
28t%2?G(Object(n),!0).forEach(function(t){Y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Y(e,t,n){return(t=K(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(this,arguments)}function K(e){var t=function(e){if("object"!==W(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==W(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===W(t)?t:String(t)}function Q(e,t){return(Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var J=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Q(e,t)}(a,e);var t,r,o,i,s=(o=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=Z(o);if(i){var n=Z(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===W(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=s.call(this,e)).state={loaded:!1},t}return t=a,(r=[{key:"onImageLoad",value:function(){var e=this;return this.state.loaded?null:function(t){e.props.onLoad(t),e.props.afterLoad(),e.setState({loaded:!0})}}},{key:"getImg",value:function(){var e=this.props,t=(e.afterLoad,e.beforeLoad,e.delayMethod,e.delayTime,e.effect,e.placeholder,e.placeholderSrc,e.scrollPosition,e.threshold,e.useIntersectionObserver,e.visibleByDefault,e.wrapperClassName,e.wrapperProps,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,q));return n().createElement("img",X({},t,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var e=this.props,t=e.beforeLoad,r=e.className,o=e.delayMethod,i=e.delayTime,s=e.height,a=e.placeholder,l=e.scrollPosition,c=e.style,u=e.threshold,d=e.useIntersectionObserver,p=e.visibleByDefault,f=e.width;return n().createElement(H,{beforeLoad:t,className:r,delayMethod:o,delayTime:i,height:s,placeholder:a,scrollPosition:l,style:c,threshold:u,useIntersectionObserver:d,visibleByDefault:p,width:f},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(e){var t=this.props,r=t.effect,o=t.height,i=t.placeholderSrc,s=t.width,a=t.wrapperClassName,l=t.wrapperProps,c=this.state.loaded,u=c?" lazy-load-image-loaded":"",d=c||!i?{}:{backgroundImage:"url(".concat(i,")"),backgroundSize:"100% 100%"};return n().createElement("span",X({className:a+" lazy-load-image-background "+r+u,style:U(U({},d),{},{color:"transparent",display:"inline-block",height:o,width:s})},l),e)}},{key:"render",value:function(){var e=this.props,t=e.effect,n=e.placeholderSrc,r
vendor: 4,509 bytes, line 28
28=e.visibleByDefault,o=e.wrapperClassName,i=e.wrapperProps,s=this.getLazyLoadImage();return(t||n)&&!r||o||i?this.getWrappedLazyLoadImage(s):s}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,K(r.key),r)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(n().Component);J.propTypes={onLoad:i.PropTypes.func,afterLoad:i.PropTypes.func,beforeLoad:i.PropTypes.func,delayMethod:i.PropTypes.string,delayTime:i.PropTypes.number,effect:i.PropTypes.string,placeholderSrc:i.PropTypes.string,threshold:i.PropTypes.number,useIntersectionObserver:i.PropTypes.bool,visibleByDefault:i.PropTypes.bool,wrapperClassName:i.PropTypes.string,wrapperProps:i.PropTypes.object},J.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const ee=J})(),vu.exports=o})();var gu=vu.exports;function yu(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function bu(e,t){void 0===e&&(e={}),void 0===t&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:yu(t[n])&&yu(e[n])&&Object.keys(t[n]).length>0&&bu(e[n],t[n])})}const wu={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function xu(){const e="undefined"!=typeof document?document:{};return bu(e,wu),e}const Eu={document:wu,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function Ou(){const e="undefined"!=typeof window?window:{};return bu(e,Eu),e}function Su(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function Tu(){return Date.now()}function Cu(e,t){void 0===t&&(t="x");const n=Ou();let r,o,i;const s=function(e){const t=Ou();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(e=>e.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix("none"===o?"":o)):(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),"x"===t&&(o=n.WebKitCSSMatrix?i.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(o=n.WebKitCSSMatrix?i.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),o||0}function _u(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Pu(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function ku(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(null!=r&&!Pu(r)){const n=Object.keys(Object(r)).filter(e=>t.indexOf(e)<0);for(let t=0,o=n.length;t<o;t+=1){const o=n[t],i=Object.getOwnPropertyDescriptor(r,o);void 0!==i&&i.enumerable&&(_u(e[o])&&_u(r[o])?r[o].__swiper__?e[o]=r[o]:ku(e[o],r[o]):!_u(e[o])&&_u(r[o])?(e[o]={},r[o].__swiper__?e[o]=r[o]:ku(e[o],r[o])):e[o]=r[o])}}}return e}function Mu(e,t,n){e.style.setProperty(t,n)}function ju(e){let{swiper:t,targetPosition:n,side:r}=e;const o=Ou(),i=-t.translate;let s,a=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(t.cssModeFrameID);const c=n>i?"next":"prev",u=(e,t)=>
vendor: 10,992 bytes, line 28
28"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{s=(new Date).getTime(),null===a&&(a=s);const e=Math.max(Math.min((s-a)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let p=i+c*(n-i);if(u(p,n)&&(p=n),t.wrapperEl.scrollTo({[r]:p}),u(p,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:p})}),void o.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=o.requestAnimationFrame(d)};d()}function Lu(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function Au(e,t){void 0===t&&(t="");const n=Ou(),r=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t?r.filter(e=>e.matches(t)):r}function Iu(e){try{return}catch(t){}}function Ru(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter(e=>!!e.trim())}(t)),n}function Nu(e,t){return Ou().getComputedStyle(e,null).getPropertyValue(t)}function Du(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function $u(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function zu(e,t,n){const r=Ou();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function Bu(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function Fu(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function Vu(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let Hu,Wu,qu;function Gu(){return Hu||(Hu=function(){const e=Ou(),t=xu();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),Hu}function Uu(e){return void 0===e&&(e={}),Wu||(Wu=function(e){let{userAgent:t}=void 0===e?{}:e;const n=Gu(),r=Ou(),o=r.navigator.platform,i=t||r.navigator.userAgent,s={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/);let u=i.match(/(iPad).*OS\s([\d_]+)/);const d=i.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===o;let h="MacIntel"===o;return!u&&h&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(u=i.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),h=!1),c&&!f&&(s.os="android",s.android=!0),(u||p||d)&&(s.os="ios",s.ios=!0),s}(e)),Wu}function Yu(){return qu||(qu=function(){const e=Ou(),t=Uu();let n=!1;function r(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(r()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,r]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&r<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),i=r();return{isSafari:n||i,needPerspectiveFix:n,need3dFix:i||o&&t.ios,isWebView:o}}()),qu}const Xu=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const Ku=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const Qu=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())})),t&&t.remove()}},Zu=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Ju=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=o,i=[n-t];return i.push(...Array.from({length:t}).map((e,t)=>n+r+t)),void e.slides.forEach((t,n)=>{i.includes(t.column)&&Zu(e,n)})}const i=o+r-1;if(e.params.rewind||e.params.loop)for(let s=o-t;s<=i+t;s+=1){const t=(s%n+n)%n;(t<o||t>i)&&Zu(e,t)}else for(let s=Math.max(o-t,0);s<=Math.min(i+t,n-1);s+=1)s!==o&&(s>i||s<o)&&Zu(e,s)};function ed(e){let{swiper:t,runCallbacks:n,direction:r,step:o}=e;const{activeIndex:i,previousIndex:s}=t;let a=r;a||(a=i>s?"next":i<s?"prev":"reset"),t.emit(`transition${o}`),n&&"reset"===a?t.emit(`slideResetTransition${o}`):n&&i!==s&&(t.emit(`slideChangeTransition${o}`),"next"===a?t.emit(`slideNextTransition${o}`):t.emit(`slidePrevTransition${o}`))}function td(e,t,n){const r=Ou(),{params:o}=e,i=o.edgeSwipeDetection,s=o.edgeSwipeThreshold;return!i||!(n<=s||n>=r.innerWidth-s)||"prevent"===i&&(t.preventDefault(),!0)}function nd(e){const t=this,n=xu();let r=e;r.originalEvent&&(r=r.originalEvent);const o=t.touchEventsData;if("pointerdown"===r.type){if(null!==o.pointerId&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(o.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void td(t,r,r.targetTouches[0].pageX);const{params:i,touches:s,enabled:a}=t;if(!a)return;if(!i.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let l=r.target;if("wrapper"===i.touchEventsTarget&&!function(e,t){const n=Ou();let r=t.contains(e);!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(r=[...t.assignedElements()].includes(e),r||(r=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)));return r}(l,t.wrapperEl))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(o.isTouched&&o.isMoved)return;const c=!!i.noSwipingClass&&""!==i.noSwipingClass,u=r.composedPath?r.composedPath():r.path;c&&r.target&&r.target.shadowRoot&&u&&(l=u[0]);const d=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,p=!(!r.target||!r.target.shadowRoot);if(i.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===xu()||n===Ou())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(d,l):l.closest(d)))return void(t.allowClick=!0);if(i.swipeHandler&&!l.closest(i.swipeHandler))return;s.currentX=r.pageX,s.currentY=r.pageY;const f=s.currentX,h=s.currentY;if(!td(t,r,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=h,o.touchStartTime=Tu(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(o.allowThresholdMove=!1);let m=!0;l.matches(o.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==l&&("mouse"===r.pointerType||"mouse"!==r.pointerType&&!l.matches(o.focusableElements))&&n.activeElement.blur();const v=m&&t.allowTouchMove&&i.touchStartPreventDefault;!i.touchStartForcePreventDefault&&!v||l.isContentEditable||r.preventDefault(),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function rd(e){const t=xu(),n=this,r=n.touchEventsData,{params:o,touches:i,rtlTranslate:s,enabled:a}=n;if(!a)return;if(!o.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==r.touchId)return;if(c.pointerId!==r.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].find(e=>e.identifier===r.touchId),!l||l.identifier!==r.touchId)return}else l=c;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c));const u=l.pageX,d=l.pageY;if(c.preventedByNestedSwiper)return i.startX=u,void(i.startY=d);if(!n.allowTouchMove)return c.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(i,{startX:u,startY:d,currentX:u,currentY:d}),r.touchStartTime=Tu()));if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(d<i.startY&&n.translate<=n.maxTranslate()||d>i.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else{if(s&&(u>i.startX&&-n.translate<=n.maxTranslate()||u<i.startX&&-n.translate>=n.minTranslate()))return;if(!s&&(u<i.startX&&n.translate<=n.maxTranslate()||u>i.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",c),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=u,i.currentY=d;const p=i.currentX-i.startX,f=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(p**2+f**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:p*p+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,r.isScrolling=n.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),void 0===r.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(r.startMoving=!0)),r.isScrolling||"touchmove"===c.type&&r.preventTouchMoveFromPointerMove)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&c.cancelable&&c.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&c.stopPropagation();let h=n.isHorizontal()?p:f,m=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;o.oneWayMovement&&(h=Math.abs(h)*(s?1:-1),m=Math.abs(m)*(s?1:-1)),i.diff=h,h*=o.touchRatio,s&&(h=-h,m=-m);const v=n.touchesDirection;n.swipeDirection=h>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const g=n.params.loop&&!o.cssMode,y="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(g&&y&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
vendor: 2,162 bytes, line 28
28n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!o.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==o._loopSwapReset&&r.isMoved&&r.allowThresholdMove&&v!==n.touchesDirection&&g&&y&&Math.abs(h)>=1)return Object.assign(i,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",c),r.isMoved=!0,r.currentTranslate=h+r.startTranslate;let b=!0,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),h>0?(g&&y&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==o.slidesPerView&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(b=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+h)**w))):h<0&&(g&&y&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==o.slidesPerView&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===o.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(b=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-h)**w))),b&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),o.threshold>0){if(!(Math.abs(h)>o.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);
vendor: 4,881 bytes, line 28
28if(!r.allowThresholdMove)return r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,void(i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function od(e){const t=this,n=t.touchEventsData;let r,o=e;o.originalEvent&&(o=o.originalEvent);if("touchend"===o.type||"touchcancel"===o.type){if(r=[...o.changedTouches].find(e=>e.identifier===n.touchId),!r||r.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(o.pointerId!==n.pointerId)return;r=o}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(o.type)){if(!(["pointercancel","contextmenu"].includes(o.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:i,touches:s,rtlTranslate:a,slidesGrid:l,enabled:c}=t;if(!c)return;if(!i.simulateTouch&&"mouse"===o.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",o),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=Tu(),d=u-n.touchStartTime;if(t.allowClick){const e=o.path||o.composedPath&&o.composedPath();t.updateClickedSlide(e&&e[0]||o.target,e),t.emit("tap click",o),d<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",o)}if(n.lastClickTime=Tu(),Su(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===s.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let p;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,p=i.followFinger?a?t.translate:-t.translate:-n.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const f=p>=-t.maxTranslate()&&!t.params.loop;let h=0,m=t.slidesSizesGrid[0];for(let w=0;w<l.length;w+=w<i.slidesPerGroupSkip?1:i.slidesPerGroup){const e=w<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==l[w+e]?(f||p>=l[w]&&p<l[w+e])&&(h=w,m=l[w+e]-l[w]):(f||p>=l[w])&&(h=w,m=l[l.length-1]-l[l.length-2])}let v=null,g=null;i.rewind&&(t.isBeginning?g=i.virtual&&i.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const y=(p-l[h])/m,b=h<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(d>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?v:h+b):t.slideTo(h)),"prev"===t.swipeDirection&&(y>1-i.longSwipesRatio?t.slideTo(h+b):null!==g&&y<0&&Math.abs(y)>i.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(o.target===t.navigation.nextEl||o.target===t.navigation.prevEl)?o.target===t.navigation.nextEl?t.slideTo(h+b):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==v?v:h+b),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}function id(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:i}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=s&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=o,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function sd(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function ad(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let o;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();o=0===i?0:(e.translate-e.minTranslate())/i,o!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function ld(e){const t=this;Qu(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
vendor: 9,444 bytes, line 28
28)}function cd(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const ud=(e,t)=>{const n=xu(),{params:r,el:o,wrapperEl:i,device:s}=e,a=!!r.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;o&&"string"!=typeof o&&(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),o[l]("touchstart",e.onTouchStart,{passive:!1}),o[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[l]("click",e.onClick,!0),r.cssMode&&i[l]("scroll",e.onScroll),r.updateOnWindowResize?e[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",id,!0):e[c]("observerUpdate",id,!0),o[l]("load",e.onLoad,{capture:!0}))};const dd=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var pd={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function fd(e,t){return function(n){void 0===n&&(n={});const r=Object.keys(n)[0],o=n[r];"object"==typeof o&&null!==o?(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in o?("object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),ku(t,n)):ku(t,n)):ku(t,n)}}const hd={eventsEmitter:{on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;const o=n?"unshift":"push";return e.split(" ").forEach(e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][o](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;function o(){r.off(e,o),o.__emitterProxy&&delete o.__emitterProxy;for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];t.apply(r,i)}return o.__emitterProxy=t,r.on(e,o,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((r,o)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(o,1)})}),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,r;for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];"string"==typeof i[0]||Array.isArray(i[0])?(t=i[0],n=i.slice(1,i.length),r=e):(t=i[0].events,n=i[0].data,r=i[0].context||e),n.unshift(r);return(Array.isArray(t)?t:t.split(" ")).forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(r,[t,...n])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(r,n)})}),e}},update:{updateSize:function(){const e=this;let t,n;const r=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:r.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(Nu(r,"padding-left")||0,10)-parseInt(Nu(r,"padding-right")||0,10),n=n-parseInt(Nu(r,"padding-top")||0,10)-parseInt(Nu(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:r,slidesEl:o,size:i,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=Au(o,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:u.length;let p=[];const f=[],h=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length;let b=n.spaceBetween,w=-m,x=0,E=0;if(void 0===i)return;"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*i:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b,u.forEach(e=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Mu(r,"--swiper-centered-offset-before",""),Mu(r,"--swiper-centered-offset-after",""));const O=n.grid&&n.grid.rows>1&&e.grid;let S;O?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const T="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let C=0;C<d;C+=1){let r;if(S=0,u[C]&&(r=u[C]),O&&e.grid.updateSlide(C,r,u),!u[C]||"none"!==Nu(r,"display")){if("auto"===n.slidesPerView){T&&(u[C].style[e.getDirectionLabel("width")]="");const o=getComputedStyle(r),i=r.style.transform,s=r.style.webkitTransform;if(i&&(r.style.transform="none"),s&&(r.style.webkitTransform="none"),n.roundLengths)S=e.isHorizontal()?zu(r,"width",!0):zu(r,"height",!0);else{const e=t(o,"width"),n=t(o,"padding-left"),i=t(o,"padding-right"),s=t(o,"margin-left"),a=t(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)S=e+s+a;else{const{clientWidth:t,offsetWidth:o}=r;S=e+n+i+s+a+(o-t)}}i&&(r.style.transform=i),s&&(r.style.webkitTransform=s),n.roundLengths&&(S=Math.floor(S))}else S=(i-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(S=Math.floor(S)),u[C]&&(u[C].style[e.getDirectionLabel("width")]=`${S}px`);u[C]&&(u[C].swiperSlideSize=S),h.push(S),n.centeredSlides?(w=w+S/2+x/2+b,0===x&&0!==C&&(w=w-i/2-b),0===C&&(w=w-i/2-b),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),E%n.slidesPerGroup===0&&p.push(w),f.push(w)):(n.roundLengths&&(w=Math.floor(w)),(E-Math.min(e.params.slidesPerGroupSkip,E))%e.params.slidesPerGroup===0&&p.push(w),f.push(w),w=w+S+b),e.virtualSize+=S+b,x=S,E+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+v,s&&a&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width=`${e.virtualSize+b}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),O&&e.grid.updateWrapperSize(S,p),!n.centeredSlides){const t=[];for(let r=0;r<p.length;r+=1){let o=p[r];n.roundLengths&&(o=Math.floor(o)),p[r]<=e.virtualSize-i&&t.push(o)}p=t,Math.floor(e.virtualSize-i)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-i)}if(l&&n.loop){const t=h[0]+b;if(n.slidesPerGroup>1){const r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),o=t*n.slidesPerGroup;for(let e=0;e<r;e+=1)p.push(p[p.length-1]+o)}for(let r=0;r<e.virtual.slidesBefore+e.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&p.push(p[p.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===p.length&&(p=[0]),0!==b){const t=e.isHorizontal()&&s?"marginLeft":e.getDirectionLabel("marginRight");u.filter((e,t)=>
vendor: 35,703 bytes, line 28
28!(n.cssMode&&!n.loop)||t!==u.length-1).forEach(e=>{e.style[t]=`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach(t=>{e+=t+(b||0)}),e-=b;const t=e>i?e-i:0;p=p.map(e=>e<=0?-m:e>t?t+v:e)}if(n.centerInsufficientSlides){let e=0;h.forEach(t=>{e+=t+(b||0)}),e-=b;const t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<i){const n=(i-e-t)/2;p.forEach((e,t)=>{p[t]=e-n}),f.forEach((e,t)=>{f[t]=e+n})}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Mu(r,"--swiper-centered-offset-before",-p[0]+"px"),Mu(r,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(d!==c&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,r=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let o,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const s=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(o=0;o<Math.ceil(t.params.slidesPerView);o+=1){const e=t.activeIndex+o;if(e>t.slides.length&&!r)break;n.push(s(e))}else n.push(s(t.activeIndex));for(o=0;o<n.length;o+=1)if(void 0!==n[o]){const e=n[o].offsetHeight;i=e>i?e:i}(i||0===i)&&(t.wrapperEl.style.height=`${i}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:o,snapGrid:i}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;o&&(s=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let l=0;l<r.length;l+=1){const e=r[l];let c=e.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const u=(s+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+a),d=(s-i[0]+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+a),p=-(s-c),f=p+t.slidesSizesGrid[l],h=p>=0&&p<=t.size-t.slidesSizesGrid[l],m=p>=0&&p<t.size-1||f>1&&f<=t.size||p<=0&&f>=t.size;m&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(l)),Xu(e,m,n.slideVisibleClass),Xu(e,h,n.slideFullyVisibleClass),e.progress=o?-u:u,e.originalProgress=o?-d:d}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:o,isBeginning:i,isEnd:s,progressLoop:a}=t;const l=i,c=s;if(0===r)o=0,i=!0,s=!0;else{o=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;i=n||o<=0,s=a||o>=1,n&&(o=0),a&&(o=1)}if(n.loop){const n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),o=t.slidesGrid[n],i=t.slidesGrid[r],s=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=o?(l-o)/s:(l+s-i)/s,a>1&&(a-=1)}Object.assign(t,{progress:o,progressLoop:a,isBeginning:i,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!l&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(l&&!i||c&&!s)&&t.emit("fromEdge"),t.emit("progress",o)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:o}=e,i=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,a=e=>Au(r,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,c,u;if(i)if(n.loop){let t=o-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${t}"]`)}else l=a(`[data-swiper-slide-index="${o}"]`);else s?(l=t.find(e=>e.column===o),u=t.find(e=>e.column===o+1),c=t.find(e=>e.column===o-1)):l=t[o];l&&(s||(u=function(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u&&(u=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{Ku(e,e===l,n.slideActiveClass),Ku(e,e===u,n.slideNextClass),Ku(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:o,activeIndex:i,realIndex:s,snapIndex:a}=t;let l,c=e;const u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let o;for(let i=0;i<t.length;i+=1)void 0!==t[i+1]?r>=t[i]&&r<t[i+1]-(t[i+1]-t[i])/2?o=i:r>=t[i]&&r<t[i+1]&&(o=i+1):r>=t[i]&&(o=i);return n.normalizeSlideIndex&&(o<0||void 0===o)&&(o=0),o}(t)),r.indexOf(n)>=0)l=r.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/o.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),c===i&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===i&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const d=t.grid&&o.grid&&o.grid.rows>1;let p;if(t.virtual&&o.virtual.enabled&&o.loop)p=u(c);else if(d){const e=t.slides.find(e=>e.column===c);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/o.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:s,realIndex:p,previousIndex:i,activeIndex:c}),t.initialized&&Ju(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,r=n.params;let o=e.closest(`.${r.slideClass}, swiper-slide`);!o&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!o&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(o=e)});let i,s=!1;if(o)for(let a=0;a<n.slides.length;a+=1)if(n.slides[a]===o){s=!0,i=a;break}if(!o||!s)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=i,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:r,wrapperEl:o}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let i=Cu(o,e);return i+=this.cssOverflowAdjustment(),n&&(i=-i),i||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:o,wrapperEl:i,progress:s}=n;let a,l=0,c=0;n.isHorizontal()?l=r?-e:e:c=e,o.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,o.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:o.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const u=n.maxTranslate()-n.minTranslate();a=0===u?0:(e-n.minTranslate())/u,a!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,o){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);const i=this,{params:s,wrapperEl:a}=i;if(i.animating&&s.preventInteractionOnTransition)return!1;const l=i.minTranslate(),c=i.maxTranslate();let u;if(u=r&&e>l?l:r&&e<c?c:e,i.updateProgress(u),s.cssMode){const e=i.isHorizontal();if(0===t)a[e?"scrollLeft":"scrollTop"]=-u;else{if(!i.support.smoothScroll)return ju({swiper:i,targetPosition:-u,side:e?"left":"top"}),!0;a.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(i.setTransition(0),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),ed({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),ed({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,n,r,o){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const i=this;let s=e;s<0&&(s=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:f,enabled:h}=i;if(!h&&!r&&!o||i.destroyed||i.animating&&a.preventInteractionOnTransition)return!1;void 0===t&&(t=i.params.speed);const m=Math.min(i.params.slidesPerGroupSkip,s);let v=m+Math.floor((s-m)/i.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const g=-l[v];if(a.normalizeSlideIndex)for(let x=0;x<c.length;x+=1){const e=-Math.floor(100*g),t=Math.floor(100*c[x]),n=Math.floor(100*c[x+1]);void 0!==c[x+1]?e>=t&&e<n-(n-t)/2?s=x:e>=t&&e<n&&(s=x+1):e>=t&&(s=x)}if(i.initialized&&s!==d){if(!i.allowSlideNext&&(p?g>i.translate&&g>i.minTranslate():g<i.translate&&g<i.minTranslate()))return!1;if(!i.allowSlidePrev&&g>i.translate&&g>i.maxTranslate()&&(d||0)!==s)return!1}let y;s!==(u||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(g),y=s>d?"next":s<d?"prev":"reset";const b=i.virtual&&i.params.virtual.enabled;if(!(b&&o)&&(p&&-g===i.translate||!p&&g===i.translate))return i.updateActiveIndex(s),a.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==a.effect&&i.setTranslate(g),"reset"!==y&&(i.transitionStart(n,y),i.transitionEnd(n,y)),!1;if(a.cssMode){const e=i.isHorizontal(),n=p?g:-g;if(0===t)b&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),b&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[e?"scrollLeft":"scrollTop"]=n})):f[e?"scrollLeft":"scrollTop"]=n,b&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return ju({swiper:i,targetPosition:n,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}const w=Yu().isSafari;return b&&!o&&w&&i.isElement&&i.virtual.update(!1,!1,s),i.setTransition(t),i.setTranslate(g),i.updateActiveIndex(s),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,y),0===t?i.transitionEnd(n,y):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,y))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){if(void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e){e=parseInt(e,10)}const o=this;if(o.destroyed)return;void 0===t&&(t=o.params.speed);const i=o.grid&&o.params.grid&&o.params.grid.rows>1;let s=e;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)s+=o.virtual.slidesBefore;else{let e;if(i){const t=s*o.params.grid.rows;e=o.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=o.getSlideIndexByData(s);const t=i?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:n}=o.params;let a=o.params.slidesPerView;"auto"===a?a=o.slidesPerViewDynamic():(a=Math.ceil(parseFloat(o.params.slidesPerView,10)),n&&a%2==0&&(a+=1));let l=t-e<a;if(n&&(l=l||e<Math.ceil(a/2)),r&&n&&"auto"!==o.params.slidesPerView&&!i&&(l=!1),l){const r=n?e<o.activeIndex?"prev":"next":e-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?o.realIndex:void 0})}if(i){const e=s*o.params.grid.rows;s=o.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else s=o.getSlideIndexByData(s)}return requestAnimationFrame(()=>{o.slideTo(s,t,n,r)}),o},slideNext:function(e,t,n){void 0===t&&(t=!0);const r=this,{enabled:o,params:i,animating:s}=r;if(!o||r.destroyed)return r;void 0===e&&(e=r.params.speed);let a=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<i.slidesPerGroupSkip?1:a,c=r.virtual&&i.virtual.enabled;if(i.loop){if(s&&!c&&i.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return i.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const r=this,{params:o,snapGrid:i,slidesGrid:s,rtlTranslate:a,enabled:l,animating:c}=r;if(!l||r.destroyed)return r;void 0===e&&(e=r.params.speed);const u=r.virtual&&o.virtual.enabled;if(o.loop){if(c&&!u&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(a?r.translate:-r.translate),f=i.map(e=>d(e)),h=o.freeMode&&o.freeMode.enabled;let m=i[f.indexOf(p)-1];if(void 0===m&&(o.cssMode||h)){let e;i.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(m=h?i[e]:i[e>0?e-1:e])}let v=0;if(void 0!==m&&(v=s.indexOf(m),v<0&&(v=r.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(v=v-r.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),o.rewind&&r.isBeginning){const o=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(o,e,t,n)}return o.loop&&0===r.activeIndex&&o.cssMode?(requestAnimationFrame(()=>{r.slideTo(v,e,t,n)}),!0):r.slideTo(v,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const r=this;if(!r.destroyed)return void 0===e&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===t&&(t=!0),void 0===r&&(r=.5);const o=this;if(o.destroyed)return;void 0===e&&(e=o.params.speed);let i=o.activeIndex;const s=Math.min(o.params.slidesPerGroupSkip,i),a=s+Math.floor((i-s)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[a]){const e=o.snapGrid[a];l-e>(o.snapGrid[a+1]-e)*r&&(i+=o.params.slidesPerGroup)}else{const e=o.snapGrid[a-1];l-e<=(o.snapGrid[a]-e)*r&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let o,i=e.getSlideIndexWhenGrid(e.clickedIndex);const s=e.isElement?"swiper-slide":`.${t.slideClass}`,a=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(o):i>(a?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),i=e.getSlideIndex(Au(n,`${s}[data-swiper-slide-index="${o}"]`)[0]),Su(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}},loop:{loopCreate:function(e,t){const n=this,{params:r,slidesEl:o}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const i=()=>{Au(o,`.${r.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},s=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||s)&&(()=>{const e=Au(o,`.${r.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const a=r.slidesPerGroup*(s?r.grid.rows:1),l=n.slides.length%a!==0,c=s&&n.slides.length%r.grid.rows!==0,u=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?Ru("swiper-slide",[r.slideBlankClass]):Ru("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(e)}};if(l){if(r.loopAddBlankSlides){u(a-n.slides.length%a),n.recalcSlides(),n.updateSlides()}else Iu();i()}else if(c){if(r.loopAddBlankSlides){u(r.grid.rows-n.slides.length%r.grid.rows),n.recalcSlides(),n.updateSlides()}else Iu();i()}else i();n.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:o,activeSlideIndex:i,initial:s,byController:a,byMousewheel:l}=void 0===e?{}:e;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:u,allowSlidePrev:d,allowSlideNext:p,slidesEl:f,params:h}=c,{centeredSlides:m,initialSlide:v}=h;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&h.virtual.enabled)return n&&(h.centeredSlides||0!==c.snapIndex?h.centeredSlides&&c.snapIndex<h.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=d,c.allowSlideNext=p,void c.emit("loopFix");let g=h.slidesPerView;"auto"===g?g=c.slidesPerViewDynamic():(g=Math.ceil(parseFloat(h.slidesPerView,10)),m&&g%2==0&&(g+=1));const y=h.slidesPerGroupAuto?g:h.slidesPerGroup;let b=m?Math.max(y,Math.ceil(g/2)):y;b%y!==0&&(b+=y-b%y),b+=h.loopAdditionalSlides,c.loopedSlides=b;const w=c.grid&&h.grid&&h.grid.rows>1;(u.length<g+b||"cards"===c.params.effect&&u.length<g+2*b||w&&"row"===h.grid.fill)&&Iu();const x=[],E=[],O=w?Math.ceil(u.length/h.grid.rows):u.length,S=s&&O-v<g&&!m;let T=S?v:c.activeIndex;void 0===i?i=c.getSlideIndex(u.find(e=>e.classList.contains(h.slideActiveClass))):T=i;const C="next"===r||!r,_="prev"===r||!r;let P=0,k=0;const M=(w?u[i].column:i)+(m&&void 0===o?-g/2+.5:0);if(M<b){P=Math.max(b-M,y);for(let e=0;e<b-M;e+=1){const t=e-Math.floor(e/O)*O;if(w){const e=O-t-1;for(let t=u.length-1;t>=0;t-=1)u[t].column===e&&x.push(t)}else x.push(O-t-1)}}else if(M+g>O-b){k=Math.max(M-(O-2*b),y),S&&(k=Math.max(k,g-O+v+1));for(let e=0;e<k;e+=1){const t=e-Math.floor(e/O)*O;w?u.forEach((e,n)=>{e.column===t&&E.push(n)}):E.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),"cards"===c.params.effect&&u.length<g+2*b&&(E.includes(i)&&E.splice(E.indexOf(i),1),x.includes(i)&&x.splice(x.indexOf(i),1)),_&&x.forEach(e=>{u[e].swiperLoopMoveDOM=!0,f.prepend(u[e]),u[e].swiperLoopMoveDOM=!1}),C&&E.forEach(e=>{u[e].swiperLoopMoveDOM=!0,f.append(u[e]),u[e].swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===h.slidesPerView?c.updateSlides():w&&(x.length>0&&_||E.length>0&&C)&&c.slides.forEach((e,t)=>{c.grid.updateSlide(t,e,c.slides)}),h.watchSlidesProgress&&c.updateSlidesOffset(),n)if(x.length>0&&_){if(void 0===t){const e=c.slidesGrid[T],t=c.slidesGrid[T+P]-e;l?c.setTranslate(c.translate-t):(c.slideTo(T+Math.ceil(P),0,!1,!0),o&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(o){const e=w?x.length/h.grid.rows:x.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(E.length>0&&C)if(void 0===t){const e=c.slidesGrid[T],t=c.slidesGrid[T-k]-e;l?c.setTranslate(c.translate-t):(c.slideTo(T-k,0,!1,!0),o&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{const e=w?E.length/h.grid.rows:E.length;c.slideTo(c.activeIndex-e,0,!1,!0)}if(c.allowSlidePrev=d,c.allowSlideNext=p,c.controller&&c.controller.control&&!a){const e={slideRealIndex:t,direction:r,setTranslate:o,activeSlideIndex:i,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&n})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===h.slidesPerView&&n})}c.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;r[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),r.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}},grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=nd.bind(e),e.onTouchMove=rd.bind(e),e.onTouchEnd=od.bind(e),e.onDocumentTouchStart=cd.bind(e),t.cssMode&&(e.onScroll=ad.bind(e)),e.onClick=sd.bind(e),e.onLoad=ld.bind(e),ud(e,"on")},detachEvents:function(){ud(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:o}=e,i=r.breakpoints;if(!i||i&&0===Object.keys(i).length)return;const s=xu(),a="window"!==r.breakpointsBase&&r.breakpointsBase?"container":r.breakpointsBase,l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:s.querySelector(r.breakpointsBase),c=e.getBreakpoint(i,a,l);if(!c||e.currentBreakpoint===c)return;const u=(c in i?i[c]:void 0)||e.originalParams,d=dd(e,r),p=dd(e,u),f=e.params.grabCursor,h=u.grabCursor,m=r.enabled;d&&!p?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&p&&(o.classList.add(`${r.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===r.grid.fill)&&o.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),f&&!h?e.unsetGrabCursor():!f&&h&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===u[t])return;const n=r[t]&&r[t].enabled,o=u[t]&&u[t].enabled;n&&!o&&e[t].disable(),!n&&o&&e[t].enable()});const v=u.direction&&u.direction!==r.direction,g=r.loop&&(u.slidesPerView!==r.slidesPerView||v),y=r.loop;v&&n&&e.changeDirection(),ku(e.params,u);const b=e.params.enabled,w=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!b?e.disable():!m&&b&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),n&&(g?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&w?(e.loopCreate(t),e.updateSlides()):y&&!w&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1;const o=Ou(),i="window"===t?o.innerHeight:n.clientHeight,s=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let a=0;a<s.length;a+=1){const{point:e,value:i}=s[a];"window"===t?o.matchMedia(`(min-width: ${i}px)`).matches&&(r=e):i<=n.clientWidth&&(r=e)}return r||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,el:o,device:i}=e,s=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(r=>{e[r]&&n.push(t+r)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),o.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},md={};let vd=class e{constructor(){let t,n;for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];1===o.length&&o[0].constructor&&"Object"===Object.prototype.toString.call(o[0]).slice(8,-1)?n=o[0]:[t,n]=o,n||(n={}),n=ku({},n),t&&!n.el&&(n.el=t);const s=xu();if(n.el&&"string"==typeof n.el&&s.querySelectorAll(n.el).length>1){const t=[];return s.querySelectorAll(n.el).forEach(r=>{const o=ku({},n,{el:r});t.push(new e(o))}),t}const a=this;a.__swiper__=!0,a.support=Gu(),a.device=Uu({userAgent:n.userAgent}),a.browser=Yu(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const l={};a.modules.forEach(e=>{e({params:n,swiper:a,extendParams:fd(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const c=ku({},pd,l);return a.params=ku({},c,md,n),a.originalParams=ku({},a.params),a.passedParams=ku({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=Du(Au(t,`.${n.slideClass}, swiper-slide`)[0]);return Du(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=Au(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),o=(n.maxTranslate()-r)*e+r;n.translateTo(o,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:r,slidesGrid:o,slidesSizesGrid:i,size:s,activeIndex:a}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[a]?Math.ceil(r[a].swiperSlideSize):0;for(let n=a+1;n<r.length;n+=1)r[n]&&!e&&(t+=Math.ceil(r[n].swiperSlideSize),l+=1,t>s&&(e=!0));for(let n=a-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>s&&(e=!0))}else if("current"===e)for(let c=a+1;c<r.length;c+=1){(t?o[c]+i[c]-o[a]<s:o[c]-o[a]<s)&&(l+=1)}else for(let c=a-1;c>=0;c-=1){o[a]-o[c]<s&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&Qu(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(t.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(r())}return Au(n,r())[0]})();return!o&&t.params.createElements&&(o=Ru("div",t.params.wrapperClass),n.append(o),Au(n,`.${t.params.slideClass}`).forEach(e=>{o.append(e)})),Object.assign(t,{el:n,wrapperEl:o,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:o,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===Nu(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===Nu(n,"direction")),wrongRTL:"-webkit-box"===Nu(o,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?Qu(t,e):e.addEventListener("load",e=>{Qu(t,e.target)})}),Ju(t),t.initialized=!0,Ju(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:r,el:o,wrapperEl:i,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),o&&"string"!=typeof o&&o.removeAttribute("style"),i&&i.removeAttribute("style"),s&&s.length&&s.forEach(e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){ku(md,e)}static get extendedDefaults(){return md}static get defaults(){return pd}static installModule(t){e.prototype.__modules__||(e.prototype.__modules__=[]);const n=e.prototype.__modules__;"function"==typeof t&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(t=>e.installModule(t)),e):(e.installModule(t),e)}};
28Object.keys(hd).forEach(e=>{Object.keys(hd[e]).forEach(t=>{vd.prototype[t]=hd[e][t]})}),vd.use([function(e){let{swiper:t,on:n,emit:r}=e;const o=Ou();let i=null,s=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",()=>{t.params.resizeObserver&&void 0!==o.ResizeObserver?t&&!t.destroyed&&t.initialized&&(i=new ResizeObserver(e=>{s=o.requestAnimationFrame(()=>{const{width:n,height:r}=t;let o=n,i=r;e.forEach(e=>{let{contentBoxSize:n,contentRect:r,target:s}=e;s&&s!==t.el||(o=r?r.width:(n[0]||n).inlineSize,i=r?r.height:(n[0]||n).blockSize)}),o===n&&i===r||a()})}),i.observe(t.el)):(o.addEventListener("resize",a),o.addEventListener("orientationchange",l))}),n("destroy",()=>{s&&o.cancelAnimationFrame(s),i&&i.unobserve&&t.el&&(i.unobserve(t.el),i=null),o.removeEventListener("resize",a),o.removeEventListener("orientationchange",l)})},function(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;const i=[],s=Ou(),a=function(e,n){void 0===n&&(n={});const r=new(s.MutationObserver||s.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void o("observerUpdate",e[0]);const n=function(){o("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(n):s.setTimeout(n,0)});r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),i.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=$u(t.hostEl);for(let t=0;t<e.length;t+=1)a(e[t])}a(t.hostEl,{childList:t.params.observeSlideChildren}),a(t.wrapperEl,{attributes:!1})}}),r("destroy",()=>{i.forEach(e=>{e.disconnect()}),i.splice(0,i.length)})}]);const gd=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function yd(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function bd(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:yd(t[n])&&yd(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:bd(e[n],t[n]):e[n]=t[n]})}function wd(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function xd(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function Ed(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function Od(e){void 0===e&&(e="");const t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),n=[];
vendor: 5,076 bytes, line 28
28return t.forEach(e=>{n.indexOf(e)<0&&n.push(e)}),n.join(" ")}function Sd(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function Td(){return Td=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Td.apply(this,arguments)}function Cd(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function _d(e){const n=[];return t.Children.toArray(e).forEach(e=>{Cd(e)?n.push(e):e.props&&e.props.children&&_d(e.props.children).forEach(e=>n.push(e))}),n}function Pd(e){const n=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return t.Children.toArray(e).forEach(e=>{if(Cd(e))n.push(e);else if(e.props&&e.props.slot&&r[e.props.slot])r[e.props.slot].push(e);else if(e.props&&e.props.children){const t=_d(e.props.children);t.length>0?t.forEach(e=>n.push(e)):r["container-end"].push(e)}else r["container-end"].push(e)}),{slides:n,slots:r}}function kd(t,n){return"undefined"==typeof window?e.useEffect(t,n):e.useLayoutEffect(t,n)}const Md=e.createContext(null),jd=e.createContext(null),Ld=e.forwardRef(function(n,r){let{className:o,tag:i="div",wrapperTag:s="div",children:a,onSwiper:l,...c}=void 0===n?{}:n,u=!1;const[d,p]=e.useState("swiper"),[f,h]=e.useState(null),[m,v]=e.useState(!1),g=e.useRef(!1),y=e.useRef(null),b=e.useRef(null),w=e.useRef(null),x=e.useRef(null),E=e.useRef(null),O=e.useRef(null),S=e.useRef(null),T=e.useRef(null),{params:C,passedParams:_,rest:P,events:k}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const n={on:{}},r={},o={};bd(n,pd),n._emitClasses=!0,n.init=!1;const i={},s=gd.map(e=>e.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(a=>{void 0!==e[a]&&(s.indexOf(a)>=0?yd(e[a])?(n[a]={},o[a]={},bd(n[a],e[a]),bd(o[a],e[a])):(n[a]=e[a],o[a]=e[a]):0===a.search(/on[A-Z]/)&&"function"==typeof e[a]?t?r[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:n.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:i[a]=e[a])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]}),{params:n,passedParams:o,rest:i,events:r}}(c),{slides:M,slots:j}=Pd(a),L=()=>{v(!m)};Object.assign(C.on,{_containerClasses(e,t){p(t)}});const A=()=>{Object.assign(C.on,k),u=!0;const e={...C};if(delete e.wrapperClass,b.current=new vd(e),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=M;const e={cache:!1,slides:M,renderExternal:h,renderExternalUpdate:!1};bd(b.current.params.virtual,e),bd(b.current.originalParams.virtual,e)}};y.current||A(),b.current&&b.current.on("_beforeBreakpoint",L);return e.useEffect(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",L)}),e.useEffect(()=>{!g.current&&b.current&&(b.current.emitSlidesClasses(),g.current=!0)}),kd(()=>{if(r&&(r.current=y.current),y.current)return b.current.destroyed&&A(),function(e,t){let{el:n,nextEl:r,prevEl:o,paginationEl:i,scrollbarEl:s,swiper:a}=e;wd(t)&&r&&o&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=o,a.originalParams.navigation.prevEl=o),xd(t)&&i&&(a.params.pagination.el=i,a.originalParams.pagination.el=i),Ed(t)&&s&&(a.params.scrollbar.el=s,a.originalParams.scrollbar.el=s),a.init(n)}({el:y.current,nextEl:E.current,prevEl:O.current,paginationEl:S.current,scrollbarEl:T.current,swiper:b.current},C),l&&!b.current.destroyed&&l(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),kd(()=>{!u&&k&&b.current&&Object.keys(k).forEach(e=>{b.current.on(e,k[e])});const e=function(e,t,n,r,o){const i=[];if(!t)return i;const s=e=>{i.indexOf(e)<0&&i.push(e)};if(n&&r){const e=r.map(o),t=n.map(o);e.join("")!==t.join("")&&s("children"),r.length!==n.length&&s("children")}return gd.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(n=>{if(n in e&&n in t)if(yd(e[n])&&yd(t[n])){const r=Object.keys(e[n]),o=Object.keys(t[n]);r.length!==o.length?s(n):(r.forEach(r=>{e[n][r]!==t[n][r]&&s(n)}),o.forEach(r=>{e[n][r]!==t[n][r]&&s(n)}))}else e[n]!==t[n]&&s(n)}),i}(_,w.current,M,x.current,e=>e.key);return w.current=_,x.current=M,e.length&&b.current&&!b.current.destroyed&&function(e){let{swiper:t,slides:n,passedParams:r,changedParams:o,nextEl:i,prevEl:s,scrollbarEl:a,paginationEl:l}=e;const c=o.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:u,pagination:d,navigation:p,scrollbar:f,virtual:h,thumbs:m}=t;let v,g,y,b,w,x,E,O;o.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&!r.thumbs.swiper.destroyed&&u.thumbs&&(!u.thumbs.swiper||u.thumbs.swiper.destroyed)&&(v=!0),o.includes("controller")&&r.controller&&r.controller.control&&u.controller&&!u.controller.control&&(g=!0),o.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(u.pagination||!1===u.pagination)&&d&&!d.el&&(y=!0),o.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||a)&&(u.scrollbar||!1===u.scrollbar)&&f&&!f.el&&(b=!0),o.includes("navigation")&&r.navigation&&(r.navigation.prevEl||s)&&(r.navigation.nextEl||i)&&(u.n
28avigation||!1===u.navigation)&&p&&!p.prevEl&&!p.nextEl&&(w=!0);const S=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),u[e].prevEl=void 0,u[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),u[e].el=void 0,t[e].el=void 0))};o.includes("loop")&&t.isElement&&(u.loop&&!r.loop?x=!0:!u.loop&&r.loop?E=!0:O=!0),c.forEach(e=>{if(yd(u[e])&&yd(r[e]))Object.assign(u[e],r[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in r[e])||r[e].enabled||S(e);else{const t=r[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?u[e]=r[e]:!1===t&&S(e)}}),c.includes("controller")&&!g&&t.controller&&t.controller.control&&u.controller&&u.controller.control&&(t.controller.control=u.controller.control),o.includes("children")&&n&&h&&u.virtual.enabled?(h.slides=n,h.update(!0)):o.includes("virtual")&&h&&u.virtual.enabled&&(n&&(h.slides=n),h.update(!0)),o.includes("children")&&n&&u.loop&&(O=!0),v&&m.init()&&m.update(!0);g&&(t.controller.control=u.controller.control),y&&(!t.isElement||l&&"string"!=typeof l||(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(u.pagination.el=l),d.init(),d.render(),d.update()),b&&(!t.isElement||a&&"string"!=typeof a||(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),t.el.appendChild(a)),a&&(u.scrollbar.el=a),f.init(),f.updateSize(),f.setTranslate()),w&&(t.isElement&&(i&&"string"!=typeof i||(i=document.createElement("div"),i.classList.add("swiper-button-next"),Vu(i,t.hostEl.constructor.nextButtonSvg),i.part.add("button-next"),t.el.appendChild(i)),s&&"string"!=typeof s||(s=document.createElement("div"),s.classList.add("swiper-button-prev"),Vu(s,t.hostEl.constructor.prevButtonSvg),s.part.add("button-prev"),t.el.appendChild(s))),i&&(u.navigation.nextEl=i),s&&(u.navigation.prevEl=s),p.init(),p.update()),o.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),o.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),o.includes("direction")&&t.changeDirection(r.direction,!1),(x||O)&&t.loopDestroy(),(E||O)&&t.loopCreate(),t.update()}({swiper:b.current,slides:M,passedParams:_,changedParams:e,nextEl:E.current,prevEl:O.current,scrollbarEl:T.current,paginationEl:S.current}),()=>{k&&b.current&&Object.keys(k).forEach(e=>{b.current.off(e,k[e])})}}),kd(()=>{var e;!(e=b.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},[f]),t.createElement(i,Td({ref:y,className:Od(`${d}${o?` ${o}`:""}`)},P),t.createElement(jd.Provider,{value:b.current},j["container-start"],t.createElement(s,{className:Sd(C.wrapperClass)},j["wrapper-start"],C.virtual?function(e,n,r){if(!r)return null;const o=e=>{let t=e;return e<0?t=n.length+e:t>=n.length&&(t-=n.length),t},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:s,to:a}=r,l=e.params.loop?-n.length:0,c=e.params.loop?2*n.length:n.length,u=[];for(let t=l;t<c;t+=1)t>=s&&t<=a&&u.push(n[o(t)]);return u.map((n,r)=>t.cloneElement(n,{swiper:e,style:i,key:n.props.virtualIndex||n.key||`slide-${r}`}))}(b.current,M,f):M.map((e,n)=>t.cloneElement(e,{swiper:b.current,swiperSlideIndex:n})),j["wrapper-end"]),wd(C)&&t.createElement(t.Fragment,null,t.createElement("div",{ref:O,className:"swiper-button-prev"}),t.createElement("div",{ref:E,className:"swiper-button-next"})),Ed(C)&&t.createElement("div",{ref:T,className:"swiper-scrollbar"}),xd(C)&&t.createElement("div",{ref:S,className:"swiper-pagination"}),j["container-end"]))});Ld.displayName="Swiper";const Ad=e.forwardRef(function(n,r){let{tag:o="div",children:i,className:s="",swiper:a,zoom:l,lazy:c,virtualIndex:u,swiperSlideIndex:d,...p}=void 0===n?{}:n;const f=e.useRef(null),[h,m]=e.useState("swiper-slide"),[v,g]=e.useState(!1);function y(e,t,n){t===f.current&&m(n)}kd(()=>{if(void 0!==d&&(f.current.swiperSlideIndex=d),r&&(r.current=f.current),f.current&&a){if(!a.destroyed)return a.on("_slideClass",y),()=>{a&&a.off("_slideClass",y)};"swiper-slide"!==h&&m("swiper-slide")}}),kd(()=>{a&&f.current&&!a.destroyed&&m(a.getSlideClasses(f.current))},[a]);const b={isActive:h.indexOf("swiper-slide-active")>=0,isVisible:h.indexOf("swiper-slide-visible")>=0,isPrev:h.indexOf("swiper-slide-prev")>=0,isNext:h.indexOf("swiper-slide-next")>=0},w=()=>"function"==typeof i?i(b):i;return t.createElement(o,Td({ref:f,className:Od(`${h}${s?` ${s}`:""}`),"data-swiper-slide-index":u,onLoad:()=>{g(!0)}},p),l&&t.createElement(Md.Provider,{value:b},t.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof l?l:void 0},w(),c&&!v&&t.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&t.createElement(Md.Provider,{value:b},w(),c&&!v&&t.createElement("div",{className:"swiper-lazy-preloader"})))});function Id(e){let t,{swiper:n,extendParams:r,on:o,emit:i}=e;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const s=xu();n.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const a=s.createElement("div");function l(e,t){const r=n.params.virtual;if(r.cache&&n.virtual.cache[t])return n.virtual.cache[t];let o;
28return r.renderSlide?(o=r.renderSlide.call(n,e,t),"string"==typeof o&&(Vu(a,o),o=a.children[0])):o=n.isElement?Ru("swiper-slide"):Ru("div",n.params.slideClass),o.setAttribute("data-swiper-slide-index",t),r.renderSlide||Vu(o,e),r.cache&&(n.virtual.cache[t]=o),o}function c(e,t,r){const{slidesPerView:o,slidesPerGroup:s,centeredSlides:a,loop:c,initialSlide:u}=n.params;if(t&&!c&&u>0)return;const{addSlidesBefore:d,addSlidesAfter:p}=n.params.virtual,{from:f,to:h,slides:m,slidesGrid:v,offset:g}=n.virtual;n.params.cssMode||n.updateActiveIndex();const y=void 0===r?n.activeIndex||0:r;let b,w,x;b=n.rtlTranslate?"right":n.isHorizontal()?"left":"top",a?(w=Math.floor(o/2)+s+p,x=Math.floor(o/2)+s+d):(w=o+(s-1)+p,x=(c?o:s)+d);let E=y-x,O=y+w;c||(E=Math.max(E,0),O=Math.min(O,m.length-1));let S=(n.slidesGrid[E]||0)-(n.slidesGrid[0]||0);function T(){n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),i("virtualUpdate")}if(c&&y>=x?(E-=x,a||(S+=n.slidesGrid[0])):c&&y<x&&(E=-x,a&&(S+=n.slidesGrid[0])),Object.assign(n.virtual,{from:E,to:O,offset:S,slidesGrid:n.slidesGrid,slidesBefore:x,slidesAfter:w}),f===E&&h===O&&!e)return n.slidesGrid!==v&&S!==g&&n.slides.forEach(e=>{e.style[b]=S-Math.abs(n.cssOverflowAdjustment())+"px"}),n.updateProgress(),void i("virtualUpdate");if(n.params.virtual.renderExternal)return n.params.virtual.renderExternal.call(n,{offset:S,from:E,to:O,slides:function(){const e=[];for(let t=E;t<=O;t+=1)e.push(m[t]);return e}()}),void(n.params.virtual.renderExternalUpdate?T():i("virtualUpdate"));const C=[],_=[],P=e=>{let t=e;return e<0?t=m.length+e:t>=m.length&&(t-=m.length),t};if(e)n.slides.filter(e=>e.matches(`.${n.params.slideClass}, swiper-slide`)).forEach(e=>{e.remove()});else for(let i=f;i<=h;i+=1)if(i<E||i>O){const e=P(i);n.slides.filter(t=>t.matches(`.${n.params.slideClass}[data-swiper-slide-index="${e}"], swiper-slide[data-swiper-slide-index="${e}"]`)).forEach(e=>{e.remove()})}const k=c?-m.length:0,M=c?2*m.length:m.length;for(let n=k;n<M;n+=1)if(n>=E&&n<=O){const t=P(n);void 0===h||e?_.push(t):(n>h&&_.push(t),n<f&&C.push(t))}if(_.forEach(e=>{n.slidesEl.append(l(m[e],e))}),c)for(let i=C.length-1;i>=0;i-=1){const e=C[i];n.slidesEl.prepend(l(m[e],e))}else C.sort((e,t)=>t-e),C.forEach(e=>{n.slidesEl.prepend(l(m[e],e))});Au(n.slidesEl,".swiper-slide, swiper-slide").forEach(e=>{e.style[b]=S-Math.abs(n.cssOverflowAdjustment())+"px"}),T()}o("beforeInit",()=>{if(!n.params.virtual.enabled)return;let e;if(void 0===n.passedParams.virtual.slides){const t=[...n.slidesEl.children].filter(e=>e.matches(`.${n.params.slideClass}, swiper-slide`));t&&t.length&&(n.virtual.slides=[...t],e=!0,t.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t),n.virtual.cache[t]=e,e.remove()}))}e||(n.virtual.slides=n.params.virtual.slides),n.classNames.push(`${n.params.containerModifierClass}virtual`),n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0,c(!1,!0)}),o("setTranslate",()=>{n.params.virtual.enabled&&(n.params.cssMode&&!n._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{c()},100)):c())}),o("init update resize",()=>{n.params.virtual.enabled&&n.params.cssMode&&Mu(n.wrapperEl,"--swiper-virtual-size",`${n.virtualSize}px`)}),Object.assign(n.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&n.virtual.slides.push(e[t]);else n.virtual.slides.push(e);c(!0)},prependSlide:function(e){const t=n.activeIndex;let r=t+1,o=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&n.virtual.slides.unshift(e[t]);r=t+e.length,o=e.length}else n.virtual.slides.unshift(e);if(n.params.virtual.cache){const e=n.virtual.cache,t={};Object.keys(e).forEach(n=>{const r=e[n],i=r.getAttribute("data-swiper-slide-index");i&&r.setAttribute("data-swiper-slide-index",parseInt(i,10)+o),t[parseInt(n,10)+o]=r}),n.virtual.cache=t}c(!0),n.slideTo(r,0)},removeSlide:function(e){if(null==e)return;let t=n.activeIndex;if(Array.isArray(e))for(let r=e.length-1;r>=0;r-=1)n.params.virtual.cache&&(delete n.virtual.cache[e[r]],Object.keys(n.virtual.cache).forEach(t=>{t>e&&(n.virtual.cache[t-1]=n.virtual.cache[t],n.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete n.virtual.cache[t])})),n.virtual.slides.splice(e[r],1),e[r]<t&&(t-=1),t=Math.max(t,0);else n.params.virtual.cache&&(delete n.virtual.cache[e],Object.keys(n.virtual.cache).forEach(t=>{t>e&&(n.virtual.cache[t-1]=n.virtual.cache[t],n.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete n.virtual.cache[t])})),n.virtual.slides.splice(e,1),e<t&&(t-=1),t=Math.max(t,0);c(!0),n.slideTo(t,0)},removeAllSlides:function(){n.virtual.slides=[],n.params.virtual.cache&&(n.virtual.cache={}),c(!0),n.slideTo(0,0)},update:c})}function Rd(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(o=>{if(!n[o]&&!0===n.auto){let i=Au(e.el,`.${r[o]}`)[0];i||(i=Ru("div",r[o]),i.className=r[o],e.el.append(i)),n[o]=i,t[o]=i}}),n}function Nd(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;function i(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e)||t.hostEl.querySelector(e),n)?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n?e:n)}function s(e,n){const r=t.params.navigation;
vendor: 1,292 bytes, line 28
28(e=Bu(e)).forEach(e=>{e&&(e.classList[n?"add":"remove"](...r.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass))})}function a(){const{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop)return s(n,!1),void s(e,!1);s(n,t.isBeginning&&!t.params.rewind),s(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),o("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),o("navigationNext"))}function u(){const e=t.params.navigation;if(t.params.navigation=Rd(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let n=i(e.nextEl),r=i(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:r}),n=Bu(n),r=Bu(r);const o=(n,r)=>{n&&n.addEventListener("click","next"===r?c:l),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach(e=>o(e,"next")),r.forEach(e=>o(e,"prev"))}function d(){let{nextEl:e,prevEl:n}=t.navigation;e=Bu(e),n=Bu(n);const r=(e,n)=>{e.removeEventListener("click","next"===n?c:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>
28r(e,"next")),n.forEach(e=>r(e,"prev"))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},r("init",()=>{!1===t.params.navigation.enabled?p():(u(),a())}),r("toEdge fromEdge lock unlock",()=>{a()}),r("destroy",()=>{d()}),r("enable disable",()=>{let{nextEl:e,prevEl:n}=t.navigation;e=Bu(e),n=Bu(n),t.enabled?a():[...e,...n].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),r("click",(e,n)=>{let{nextEl:r,prevEl:i}=t.navigation;r=Bu(r),i=Bu(i);const s=n.target;let a=i.includes(s)||r.includes(s);if(t.isElement&&!a){const e=n.path||n.composedPath&&n.composedPath();e&&(a=e.find(e=>r.includes(e)||i.includes(e)))}if(t.params.navigation.hideOnClick&&!a){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===s||t.pagination.el.contains(s)))return;let e;r.length?e=r[0].classList.contains(t.params.navigation.hiddenClass):i.length&&(e=i[0].classList.contains(t.params.navigation.hiddenClass)),o(!0===e?"navigationShow":"navigationHide"),[...r,...i].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});const p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),u(),a()},disable:p,update:a,init:u,destroy:d})}function Dd(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function $d(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;const i="swiper-pagination";let s;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),t.pagination={el:null,bullets:[]};let a=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,n){const{bulletActiveClass:r}=t.params.pagination;e&&(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${r}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${r}-${n}-${n}`))}function u(e){const n=e.target.closest(Dd(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const r=Du(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===r)return;const e=(o=t.realIndex,i=r,s=t.slides.length,(i%=s)===1+(o%=s)?"next":i===o-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(r)}else t.slideTo(r);var o,i,s}function d(){const e=t.rtl,n=t.params.pagination;if(l())return;let r,i,u=t.pagination.el;u=Bu(u);const d=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,p=t.params.loop?Math.ceil(d/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(i=t.previousRealIndex||0,r=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(r=t.snapIndex,i=t.previousSnapIndex):(i=t.previousIndex||0,r=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const o=t.pagination.bullets;let l,d,p;if(n.dynamicBullets&&(s=zu(o[0],t.isHorizontal()?"width":"height",!0),u.forEach(e=>{e.style[t.isHorizontal()?"width":"height"]=s*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==i&&(a+=r-(i||0),a>n.dynamicMainBullets-1?a=n.dynamicMainBullets-1:a<0&&(a=0)),l=Math.max(r-a,0),d=l+(Math.min(o.length,n.dynamicMainBullets)-1),p=(d+l)/2),o.forEach(e
28=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),u.length>1)o.forEach(e=>{const o=Du(e);o===r?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(o>=l&&o<=d&&e.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),o===l&&c(e,"prev"),o===d&&c(e,"next"))});else{const e=o[r];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&o.forEach((e,t)=>{e.setAttribute("part",t===r?"bullet-active":"bullet")}),n.dynamicBullets){const e=o[l],t=o[d];for(let r=l;r<=d;r+=1)o[r]&&o[r].classList.add(...`${n.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(n.dynamicBullets){const r=Math.min(o.length,n.dynamicMainBullets+4),i=(s*r-s)/2-p*s,a=e?"right":"left";o.forEach(e=>{e.style[t.isHorizontal()?a:"top"]=`${i}px`})}}u.forEach((e,i)=>{if("fraction"===n.type&&(e.querySelectorAll(Dd(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(r+1)}),e.querySelectorAll(Dd(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(p)})),"progressbar"===n.type){let o;o=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const i=(r+1)/p;let s=1,a=1;"horizontal"===o?s=i:a=i,e.querySelectorAll(Dd(n.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${a})`,e.style.transitionDuration=`${t.params.speed}ms`})}"custom"===n.type&&n.renderCustom?(Vu(e,n.renderCustom(t,r+1,p)),0===i&&o("paginationRender",e)):(0===i&&o("paginationRender",e),o("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)})}function p(){const e=t.params.pagination;if(l())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let r=t.pagination.el;r=Bu(r);let i="";if("bullets"===e.type){let r=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&r>n&&(r=n);for(let n=0;n<r;n+=1)e.renderBullet?i+=e.renderBullet.call(t,n,e.bulletClass):i+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(i=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(i=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],r.forEach(n=>{"custom"!==e.type&&Vu(n,i||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll(Dd(e.bulletClass)))}),"custom"!==e.type&&o("paginationRender",r[0])}function f(){t.params.pagination=Rd(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"==typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!=typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.find(e=>$u(e,".swiper")[0]===t.el))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}),n=Bu(n),n.forEach(n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),a=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",u),t.enabled||n.classList.add(e.lockClass)}))}function h(){const e=t.params.pagination;if(l())return;let n=t.pagination.el;
vendor: 4,511 bytes, line 28
28n&&(n=Bu(n),n.forEach(n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",u))})),t.pagination.bullets&&t.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;n=Bu(n),n.forEach(n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),r("init",()=>{!1===t.params.pagination.enabled?m():(f(),p(),d())}),r("activeIndexChange",()=>{void 0===t.snapIndex&&d()}),r("snapIndexChange",()=>{d()}),r("snapGridLengthChange",()=>{p(),d()}),r("destroy",()=>{h()}),r("enable disable",()=>{let{el:e}=t.pagination;e&&(e=Bu(e),e.forEach(e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),r("lock unlock",()=>{d()}),r("click",(e,n)=>{const r=n.target,i=Bu(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&i&&i.length>0&&!r.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&r===t.navigation.nextEl||t.navigation.prevEl&&r===t.navigation.prevEl))return;const e=i[0].classList.contains(t.params.pagination.hiddenClass);o(!0===e?"paginationShow":"paginationHide"),i.forEach(e=>e.classList.toggle(t.params.pagination.hiddenClass))}});const m=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=Bu(e),e.forEach(e=>e.classList.add(t.params.pagination.paginationDisabledClass))),h()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=Bu(e),e.forEach(e=>e.classList.remove(t.params.pagination.paginationDisabledClass))),f(),p(),d()},disable:m,render:p,update:d,init:f,destroy:h})}function zd(e){let t,n,{swiper:r,extendParams:o,on:i,emit:s,params:a}=e;r.autoplay={running:!1,paused:!1,timeLeft:0},o({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,c,u,d,p,f,h,m,v=a&&a.autoplay?a.autoplay.delay:3e3,g=a&&a.autoplay?a.autoplay.delay:3e3,y=(new Date).getTime();function b(e){r&&!r.destroyed&&r.wrapperEl&&e.target===r.wrapperEl&&(r.wrapperEl.removeEventListener("transitionend",b),m||e.detail&&e.detail.bySwiperTouchMove||T())}const w=()=>{if(r.destroyed||!r.autoplay.running)return;r.autoplay.paused?c=!0:c&&(g=l,c=!1);const e=r.autoplay.paused?l:y+g-(new Date).getTime();r.autoplay.timeLeft=e,s("autoplayTimeLeft",e,e/v),n=requestAnimationFrame(()=>{w()})},x=e=>{if(r.destroyed||!r.autoplay.running)return;cancelAnimationFrame(n),w();let o=void 0===e?r.params.autoplay.delay:e;v=r.params.autoplay.delay,g=r.params.autoplay.delay;const i=(()=>{let e;if(e=r.virtual&&r.params.virtual.enabled?r.slides.find(e=>e.classList.contains("swiper-slide-active")):r.slides[r.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(i)&&i>0&&void 0===e&&(o=i,v=i,g=i),l=o;const a=r.params.speed,c=()=>{r&&!r.destroyed&&(r.params.autoplay.reverseDirection?!r.isBeginning||r.params.loop||r.params.rewind?(r.slidePrev(a,!0,!0),s("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(r.slides.length-1,a,!0,!0),s("autoplay")):!r.isEnd||r.params.loop||r.params.rewind?(r.slideNext(a,!0,!0),s("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(0,a,!0,!0),s("autoplay")),r.params.cssMode&&(y=(new Date).getTime(),requestAnimationFrame(()=>{x()})))};return o>0?(clearTimeout(t),t=setTimeout(()=>{c()},o)):requestAnimationFrame(()=>{c()}),o},E=()=>{y=(new Date).getTime(),r.autoplay.running=!0,x(),s("autoplayStart")},O=()=>{r.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),s("autoplayStop")},S=(e,n)=>{if(r.destroyed||!r.autoplay.running)return;clearTimeout(t),e||(h=!0);const o=()=>{s("autoplayPause"),r.params.autoplay.waitForTransition?r.wrapperEl.addEventListener("transitionend",b):T()};if(r.autoplay.paused=!0,n)return f&&(l=r.params.autoplay.delay),f=!1,void o();const i=l||r.params.autoplay.delay;l=i-((new Date).getTime()-y),r.isEnd&&l<0&&!r.params.loop||(l<0&&(l=0),o())},T=()=>{r.isEnd&&l<0&&!r.params.loop||r.destroyed||!r.autoplay.running||(y=(new Date).getTime(),h?(h=!1,x(l)):x(),r.autoplay.paused=!1,s("autoplayResume"))},C=()=>
28{if(r.destroyed||!r.autoplay.running)return;const e=xu();"hidden"===e.visibilityState&&(h=!0,S(!0)),"visible"===e.visibilityState&&T()},_=e=>{"mouse"===e.pointerType&&(h=!0,m=!0,r.animating||r.autoplay.paused||S(!0))},P=e=>{"mouse"===e.pointerType&&(m=!1,r.autoplay.paused&&T())};i("init",()=>{r.params.autoplay.enabled&&(r.params.autoplay.pauseOnMouseEnter&&(r.el.addEventListener("pointerenter",_),r.el.addEventListener("pointerleave",P)),xu().addEventListener("visibilitychange",C),E())}),i("destroy",()=>{r.el&&"string"!=typeof r.el&&(r.el.removeEventListener("pointerenter",_),r.el.removeEventListener("pointerleave",P)),xu().removeEventListener("visibilitychange",C),r.autoplay.running&&O()}),i("_freeModeStaticRelease",()=>{(d||h)&&T()}),i("_freeModeNoMomentumRelease",()=>{r.params.autoplay.disableOnInteraction?O():S(!0,!0)}),i("beforeTransitionStart",(e,t,n)=>{!r.destroyed&&r.autoplay.running&&(n||!r.params.autoplay.disableOnInteraction?S(!0,!0):O())}),i("sliderFirstMove",()=>{!r.destroyed&&r.autoplay.running&&(r.params.autoplay.disableOnInteraction?O():(u=!0,d=!1,h=!1,p=setTimeout(()=>{h=!0,d=!0,S(!0)},200)))}),i("touchEnd",()=>{if(!r.destroyed&&r.autoplay.running&&u){if(clearTimeout(p),clearTimeout(t),r.params.autoplay.disableOnInteraction)return d=!1,void(u=!1);d&&r.params.cssMode&&T(),d=!1,u=!1}}),i("slideChange",()=>{!r.destroyed&&r.autoplay.running&&(f=!0)}),Object.assign(r.autoplay,{start:E,stop:O,pause:S,resume:T})}function Bd(e){const{effect:t,swiper:n,on:r,setTranslate:o,setTransition:i,overwriteParams:s,perspective:a,recreateShadows:l,getEffectParams:c}=e;let u;r("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const e=s?s():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),r("setTranslate _virtualUpdated",()=>{n.params.effect===t&&o()}),r("setTransition",(e,r)=>{n.params.effect===t&&i(r)}),r("transitionEnd",()=>{if(n.params.effect===t&&l){if(!c||!c().slideShadows)return;n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),l()}}),r("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(u=!0),requestAnimationFrame(()=>{u&&n.slides&&n.slides.length&&(o(),u=!1)}))})}function Fd(e,t){const n=Lu(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function Vd(e){let{swiper:t,duration:n,transformElements:r,allSlides:o}=e;const{activeIndex:i}=t;if(t.params.virtualTranslate&&0!==n){let e,n=!1;e=o?r:r.filter(e=>{const n=e.classList.contains("swiper-slide-transform")?(e=>{if(!e.parentElement)return t.slides.find(t=>t.shadowRoot&&t.shadowRoot===e.parentNode);return e.parentElement})(e):e;return t.getSlideIndex(n)===i}),e.forEach(e=>{!function(e,t){t&&e.addEventListener("transitionend",function n(r){r.target===e&&(t.call(e,r),e.removeEventListener("transitionend",n))})}(e,()=>{if(n)return;if(!t||t.destroyed)return;n=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)})})}}function Hd(e,t,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,o=Lu(t);let i=o.querySelector(`.${r.split(" ").join(".")}`);return i||(i=Ru("div",r.split(" ")),o.append(i)),i}function Wd(e){let{swiper:t,extendParams:n,on:r}=e;n({flipEffect:{slideShadows:!0,limitRotation:!0}});const o=(e,n)=>{let r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),o=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");r||(r=Hd("flip",e,t.isHorizontal()?"left":"top")),o||(o=Hd("flip",e,t.isHorizontal()?"right":"bottom")),r&&(r.style.opacity=Math.max(-n,0)),o&&(o.style.opacity=Math.max(n,0))};Bd({effect:"flip",swiper:t,on:r,setTranslate:()=>{const{slides:e,rtlTranslate:n}=t,r=t.params.flipEffect,i=Fu(t);for(let s=0;s<e.length;s+=1){const a=e[s];let l=a.progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(a.progress,
vendor: 3,385 bytes, line 28
281),-1));const c=a.swiperSlideOffset;let u=-180*l,d=0,p=t.params.cssMode?-c-t.translate:-c,f=0;t.isHorizontal()?n&&(u=-u):(f=p,p=0,d=-u,u=0),a.style.zIndex=-Math.abs(Math.round(l))+e.length,r.slideShadows&&o(a,l);const h=`translate3d(${p}px, ${f}px, 0px) rotateX(${i(d)}deg) rotateY(${i(u)}deg)`;Fd(0,a).style.transform=h}},setTransition:e=>{const n=t.slides.map(e=>Lu(e));n.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),Vd({swiper:t,duration:e,transformElements:n})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach(e=>{let n=e.progress;t.params.flipEffect.limitRotation&&(n=Math.max(Math.min(e.progress,1),-1)),o(e,n)})},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function qd(e){let{swiper:t,extendParams:n,on:r}=e;n({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const o=e=>"string"==typeof e?e:`${e}px`;Bd({effect:"creative",swiper:t,on:r,setTranslate:()=>{const{slides:e,wrapperEl:n,slidesSizesGrid:r}=t,i=t.params.creativeEffect,{progressMultiplier:s}=i,a=t.params.centeredSlides,l=Fu(t);if(a){const e=r[0]/2-t.params.slidesOffsetBefore||0;n.style.transform=`translateX(calc(50% - ${e}px))`}for(let c=0;c<e.length;c+=1){const n=e[c],r=n.progress,u=Math.min(Math.max(n.progress,-i.limitProgress),i.limitProgress);let d=u;a||(d=Math.min(Math.max(n.originalProgress,-i.limitProgress),i.limitProgress));const p=n.swiperSlideOffset,f=[t.params.cssMode?-p-t.translate:-p,0,0],h=[0,0,0];let m=!1;t.isHorizontal()||(f[1]=f[0],f[0]=0);let v={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};u<0?(v=i.next,m=!0):u>0&&(v=i.prev,m=!0),f.forEach((e,t)=>{f[t]=`calc(${e}px + (${o(v.translate[t])} * ${Math.abs(u*s)}))`}),h.forEach((e,t)=>{let n=v.rotate[t]*Math.abs(u*s);h[t]=n}),n.style.zIndex=-Math.abs(Math.round(r))+e.length;const g=f.join(", "),y=`rotateX(${l(h[0])}deg) rotateY(${l(h[1])}deg) rotateZ(${l(h[2])}deg)`,b=d<0?`scale(${1+(1-v.scale)*d*s})`:`scale(${1-(1-v.scale)*d*s})`,w=d<0?1+(1-v.opacity)*d*s:1-(1-v.opacity)*d*s,x=`translate3d(${g}) ${y} ${b}`;if(m&&v.shadow||!m){let e=n.querySelector(".swiper-slide-shadow");if(!e&&v.shadow&&(e=Hd("creative",n)),e){const t=i.shadowPerProgress?u*(1/i.limitProgress):u;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const E=Fd(0,n);E.style.transform=x,E.style.opacity=w,v.origin&&(E.style.transformOrigin=v.origin)}},setTransition:e=>{const n=t.slides.map(e=>Lu(e));n.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),Vd({swiper:t,duration:e,transformElements:n,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}Ad.displayName="SwiperSlide";const Gd=t.createContext({}),Ud=!0;function Yd({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:o,circle:i,direction:s,duration:a,enableAnimation:l=true,customHighlightBackgroun
28d:c}){const u={};return"rtl"===s&&(u["--animation-direction"]="reverse"),"number"==typeof a&&(u["--animation-duration"]=`${a}s`),l||(u["--pseudo-element-display"]="none"),"string"!=typeof n&&"number"!=typeof n||(u.width=n),"string"!=typeof r&&"number"!=typeof r||(u.height=r),"string"!=typeof o&&"number"!=typeof o||(u.borderRadius=o),i&&(u.borderRadius="50%"),void 0!==e&&(u["--base-color"]=e),void 0!==t&&(u["--highlight-color"]=t),"string"==typeof c&&(u["--custom-highlight-background"]=c),u}function Xd({count:e=1,wrapper:n,className:r,containerClassName:o,containerTestId:i,circle:s=!1,style:a,...l}){var c,u,d;const p=t.useContext(Gd),f={...l};for(const[t,w]of Object.entries(l))void 0===w&&delete f[t];const h={...p,...f,circle:s},m={...a,...Yd(h)};let v="react-loading-skeleton";r&&(v+=` ${r}`);const g=null!==(c=h.inline)&&void 0!==c&&c,y=[],b=Math.ceil(e);for(let w=0;w<b;w++){let n=m;if(b>e&&w===b-1){const t=null!==(u=n.width)&&void 0!==u?u:"100%",r=e%1,o="number"==typeof t?t*r:`calc(${t} * ${r})`;n={...n,width:o}}const r=t.createElement("span",{className:v,style:n,key:w},"â");g?y.push(r):y.push(t.createElement(t.Fragment,{key:w},r,t.createElement("br",null)))}return t.createElement("span",{className:o,"data-testid":i,"aria-live":"polite","aria-busy":null!==(d=h.enableAnimation)&&void 0!==d?d:Ud},n?y.map((e,r)=>t.createElement(n,{key:r},e)):y)}function Kd({children:e,...n}){return t.createElement(Gd.Provider,{value:n},e)}function Qd(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Qd(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Zd(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Qd(e))&&(r&&(r+=" "),r+=t);return r}function Jd(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ep(e){return e instanceof Jd(e).Element||e instanceof Element}function tp(e){return e instanceof Jd(e).HTMLElement||e instanceof HTMLElement}function np(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Jd(e).ShadowRoot||e instanceof ShadowRoot)}var rp=Math.round;function op(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function ip(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&tp(e)&&(o=e.offsetWidth>0&&rp(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&rp(r.height)/e.offsetHeight||1);var s=(ep(e)?Jd(e):window).visualViewport,a=!!/^((?!chrome|android).)*safari/i.test(op())&&n,l=(r.left+(a&&s?s.offsetLeft:0))/o,c=(r.top+(a&&s?s.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function sp(e){var t=Jd(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ap(e){return e?(e.nodeName||"").toLowerCase():null}function lp(e){return((ep(e)?e.ownerDocument:e.document)||window.document).documentElement}function cp(e){return Jd(e).getComputedStyle(e)}function up(e){var t=cp(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function dp(e,t,n){void 0===n&&(n=!1);var r,o,i=tp(t),s=tp(t)&&function(e){var t=e.getBoundingClientRect(),n=rp(t.width)/e.offsetWidth||1,r=rp(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=lp(t),l=ip(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==ap(t)||up(a))&&(c=(r=t)!==Jd(r)&&tp(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:sp(r)),tp(t)?((u=ip(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=function(e){return ip(lp(e)).left+sp(e).scrollLeft}(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function pp(e){return"html"===ap(e)?e:e.assignedSlot||e.parentNode||(np(e)?e.host:null)||lp(e)}function fp(e){return["html","body","#document"].indexOf(ap(e))>=0?e.ownerDocument.body:tp(e)&&up(e)?e:fp(pp(e))}function hp(e,t){var n;void 0===t&&(t=[]);var r=fp(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Jd(r),s=o?[i].concat(i.visualVie
28wport||[],up(r)?r:[]):r,a=t.concat(s);return o?a:a.concat(hp(pp(s)))}function mp(e){return["table","td","th"].indexOf(ap(e))>=0}function vp(e){return tp(e)&&"fixed"!==cp(e).position?e.offsetParent:null}function gp(e){for(var t=Jd(e),n=vp(e);n&&mp(n)&&"static"===cp(n).position;)n=vp(n);return n&&("html"===ap(n)||"body"===ap(n)&&"static"===cp(n).position)?t:n||function(e){var t=/firefox/i.test(op());if(/Trident/i.test(op())&&tp(e)&&"fixed"===cp(e).position)return null;var n=pp(e);for(np(n)&&(n=n.host);tp(n)&&["html","body"].indexOf(ap(n))<0;){var r=cp(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var yp="top",bp="bottom",wp="right",xp="left",Ep="auto",Op="start",Sp="end",Tp=[].concat([yp,bp,wp,xp],[Ep]).reduce(function(e,t){return e.concat([t,t+"-"+Op,t+"-"+Sp])},[]),Cp=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _p(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var Pp=["name","enabled","phase","fn","effect","requires","options"];function kp(e){return e.split("-")[0]}function Mp(e){return e.split("-")[1]}var jp={placement:"bottom",modifiers:[],strategy:"absolute"};function Lp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Ap(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?jp:o;return function(e,t,n){void 0===n&&(n=i);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},jp,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},i,a.options,o),a.scrollParents={reference:ep(e)?hp(e):e.contextElement?hp(e.contextElement):[],popper:hp(t)};var s=function(e){var t=_p(e);return Cp.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}(function(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}([].concat(r,a.options.modifiers)));if(a.orderedModifiers=s.filter(function(e){return e.enabled}),function(e){e.forEach(function(t){[].concat(Object.keys(t),Pp).filter(function(e,t,n){return n.indexOf(e)===t}).forEach(function(n){switch(n){case"name":t.name;break;case"enabled":t.enabled;break;case"phase":Cp.indexOf(t.phase);break;case"fn":t.fn;break;case"effect":null!=t.effect&&t.effect;break;case"requires":null!=t.requires&&Array.isArray(t.requires);break;case"requiresIfExists":Array.isArray(t.requiresIfExists)}t.requires&&t.requires.forEach(function(t){e.find(function(e){return e.name===t})})})})}((c=[].concat(s,a.options.modifiers),p=function(e){return e.name},f=new Set,c.filter(function(e){var t=p(e);if(!f.has(t))return f.add(t),!0}))),kp(a.options.placement)===Ep)a.orderedModifiers.find(function(e){return"flip"===e.name});var c,p,f,h=cp(t);return[h.marginTop,h.marginRight,h.marginBottom,h.marginLeft].some(function(e){return parseFloat(e)}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:a,name:t,instance:u,options:r}),s=function(){};l.push(i||s)}}),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Lp(t,n)){var r,o,i,s;a.rects={reference:dp(t,gp(n),"fixed"===a.options.strategy),popper:(r=n,o=ip(r),i=r.offsetWidth,s=r.offsetHeight,Math.abs(o.width-i)<=1&&(i=o.width),Math.abs(o.height-s)<=1&&(s=o.height),{x:r.offsetLeft,y:r.offsetTop,width:i,height:s})},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEac
vendor: 4,278 bytes, line 28
28h(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var l=0,d=0;d<a.orderedModifiers.length&&!((l+=1)>100);d++)if(!0!==a.reset){var p=a.orderedModifiers[d],f=p.fn,h=p.options,m=void 0===h?{}:h,v=p.name;"function"==typeof f&&(a=f({state:a,options:m,name:v,instance:u})||a)}else a.reset=!1,d=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(o())})})),s}),destroy:function(){d(),c=!0}};if(!Lp(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var Ip={passive:!0};var Rp={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Np(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=s.x,f=void 0===p?0:p,h=s.y,m=void 0===h?0:h,v="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),b=xp,w=yp,x=window;if(c){var E=gp(n),O="clientHeight",S="clientWidth";if(E===Jd(n)&&"static"!==cp(E=lp(n)).position&&"absolute"===a&&(O="scrollHeight",S="scrollWidth"),o===yp||(o===xp||o===wp)&&i===Sp)w=bp,m-=(d&&E===x&&x.visualViewport?x.visualViewport.height:E[O])-r.height,m*=l?1:-1;if(o===xp||(o===yp||o===bp)&&i===Sp)b=wp,f-=(d&&E===x&&x.visualViewport?x.visualViewport.width:E[S])-r.width,f*=l?1:-1}var T,C=Object.assign({position:a},c&&Rp),_=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:rp(t*r)/r||0,y:rp(n*r)/r||0}}({x:f,y:m}):{x:f,y:m};return f=_.x,m=_.y,l?Object.assign({},C,((T={})[w]=y?"0":"",T[b]=g?"0":"",T.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",T)):Object.assign({},C,((t={})[w]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var Dp=Ap({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,s=r.resize,a=void 0===s||s,l=Jd(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,Ip)}),a&&l.addEventListener("resize",n.update,Ip),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Ip)}),a&&l.removeEventListener("resize",n.update,Ip)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=function(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?kp(o):null,s=o?Mp(o):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case yp:t={x:a,y:n.y-r.height};break;case bp:t={x:a,y:n.y+n.height};break;case wp:t={x:n.x+n.width,y:l};break;case xp:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}(i):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case Op:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Sp:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c=cp(t.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(e){return c.indexOf(e)>=0});var u={placement:kp(t.placement),variation:Mp(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Np(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Np(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
28Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];tp(o)&&ap(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});tp(r)&&ap(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]}]});var $p={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,s=Tp.reduce(function(e,n){return e[n]=function(e,t,n){var r=kp(e),o=[xp,yp].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[xp,wp].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,i),e},{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}};function zp(){}const Bp=Object.assign,Fp="undefined"!=typeof window;function Vp(e){return null!=e}function Hp(e){return"function"==typeof e}function Wp(e){return null!==e&&"object"==typeof e}function qp(e,t,n){return t.reduce((t,r)=>(n&&void 0===e[r]||(t[r]=e[r]),t),{})}function Gp(e,t){return t?"string"==typeof t?` ${e}--${t}`:Array.isArray(t)?t.reduce((t,n)=>t+Gp(e,n),""):Object.keys(t).reduce((n,r)=>n+(t[r]?Gp(e,r):""),""):""}function Up(e){return(t,n)=>(t&&"string"!=typeof t&&(n=t,t=""),`${t=t?`${e}__${t}`:e}${Gp(t,n)}`)}function Yp(e,t){return[Up(e=`${t||"rv"}-${e}`),e]}function Xp(e,t){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),t&&function(e){e.stopPropagation()}(e)}const Kp={click:"onClick"};function Qp(e,n){const r=Object.assign({},n.props);for(const t of e){const e=Kp[t];r[e]=function(t){var r,o;t.stopPropagation(),null===(o=(r=n.props)[e])||void 0===o||o.call(r,t)}}return t.cloneElement(n,r)}const Zp=Fp?window:global;let Jp,ef,tf=Date.now();function nf(e){const t=Date.now(),n=Math.max(0,16-(t-tf)),r=setTimeout(e,n);return tf=t+n,r}function rf(e){return(Zp.requestAnimationFrame||nf).call(Zp,e)}function of(e){return e===window}function sf(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function af(e,t){if(of(e))return 0;const n=t?sf(t):window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;return e.getBoundingClientRect().top+n}function lf(e){return of(e)?0:e.getBoundingClientRect().top}function cf(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function uf(e,t,n){var r;r=Jp,(Zp.cancelAnimationFrame||Zp.clearTimeout).call(Zp,r);let o=0;const i=e.scrollLeft,s=0===n?1:Math.round(n/16);!function n(){e.scrollLeft+=(t-i)/s,++o<s&&(Jp=rf(n))}()}function df(e){const t=e;if(!t)return!1;const n=window.getComputedStyle(t),r="none"===n.display,o=null===t.offsetParent&&"fixed"!==n.position;return r||o}function pf(e){return/^\d+(\.\d+)?$/.test(e)}function ff(e){return Number.isNaN?Number.isNaN(e):e!=e}function hf(e){if(Vp(e))return pf(e=String(e))?`${e}px`:e}function mf(e){return+(e=e.replace(/rem/g,""))*function(){if(!ef){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;ef=parseFloat(t)}return ef}()}function vf(e){if("number"==typeof e)return e;if(Fp){if(-1!==e.indexOf("rem"))return mf(e);if(-1!==e.indexOf("vw"))return function(e){return+(e=e.replace(/vw/g,""))*window.innerWidth/100}(e);if(-1!==e.indexOf("vh"))return function(e){return+(e=e.replace(/vh/g,""))*window.innerHeight/100}(e)}return parseFloat(e)}function gf(e,t,n){return Math.min(Math.max(e,t),n)}function yf(e,t=2){let n=`${e}`;for(;n.length<t;)n=`0${n}`;return n}Fp&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());const bf="rv-hairline",wf=`${bf}--bottom`,xf=`${bf}--top-bottom`,Ef=`${bf}-unset--top-bottom`;function Of(e,t){if(!e)return t;let n;return n="function"==typeof e?e():"current"in e?e.current:e,n}
vendor: 4,134 bytes, line 28
28function Sf(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const Tf=!1,Cf=t.createContext(null);var _f="unmounted",Pf="exited",kf="entering",Mf="entered",jf="exiting",Lf=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Pf,r.appearStatus=kf):o=Mf:o=t.unmountOnExit||t.mountOnEnter?_f:Pf,r.state={status:o},r.nextCallback=null,r}m(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===_f?{status:Pf}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==kf&&n!==Mf&&(t=kf):n!==kf&&n!==Mf||(t=jf)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===kf?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Pf&&this.setState({status:_f})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[s.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),c=r?l.appear:l.enter;!e&&!n||Tf?this.safeSetState({status:Mf},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:kf},function(){t.props.onEntering(i,a),t.onTransitionEnd(c,function(){t.safeSetState({status:Mf},function(){t.props.onEntered(i,a)})})}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.findDOMNode(this);t&&!Tf?(this.props.onExit(r),this.safeSetState({status:jf},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Pf},function(){e.props.onExited(r)})})})):this.safeSetState({status:Pf},function(){e.props.onExited(r)})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===_f)return null;var n=this.props,r=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var o=a(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(Cf.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function Af(){}Lf.contextType=Cf,Lf.propTypes={},Lf.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Af,onEntering:Af,onEntered:Af,onExit:Af,onExiting:Af,onExited:Af},Lf.UNMOUNTED=_f,Lf.EXITED=Pf,Lf.ENTERING=kf,Lf.ENTERED=Mf,Lf.EXITING=jf;const If=Lf;var Rf=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Sf(n.className,r):n.setAttribute("class",Sf(n.className&&n.className.baseVal||"",r)));var n,r})},Nf=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];
28return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}m(n,e);var r=n.prototype;return r.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach(function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r})}(e,r))},r.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&Rf(e,r),o&&Rf(e,o),i&&Rf(e,i)},r.render=function(){var e=this.props;e.classNames;var n=a(e,["classNames"]);return t.createElement(If,l({},n,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(t.Component);Nf.defaultProps={classNames:""},Nf.propTypes={};const Df=Nf;var $f=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const zf=t.forwardRef((e,n)=>{const{name:r="",className:o,style:i,spin:s,rotate:a,tabIndex:l,onClick:c,children:u}=e,d=$f(e,["name","className","style","spin","rotate","tabIndex","onClick","children"]),p={};a&&(p.msTransform=`rotate(${a}deg)`,p.transform=`rotate(${a}deg)`);const f=r?r.substring(3).replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,""):void 0;let h=l;void 0===h&&c&&(h=-1);const m=Object.assign({role:"img","aria-label":f,focusable:"false","data-icon":f,"aria-hidden":"true",preserveAspectRatio:"xMidYMid meet",ref:n,tabIndex:h,onClick:c,className:["rv-icon",f?`rv-icon-${f}`:"",s?"rv-icon--spin":"",o].join(" ").trim(),style:Object.assign(Object.assign({},i),p)},d);return t.cloneElement(u,m)}),Bf=t=>e.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"},t),e.createElement("path",{d:"M560.149 501.223l255.344 255.344c16.272 16.272 16.272 42.654 0 58.926s-42.654 16.272-58.926 0L501.223 560.149 245.88 815.493c-16.272 16.272-42.654 16.272-58.925 0-16.272-16.272-16.272-42.654 0-58.926l255.344-255.344L186.954 245.88c-16.272-16.272-16.272-42.654 0-58.925 16.271-16.272 42.653-16.272 58.925 0l255.344 255.344 255.344-255.344c16.272-16.272 42.654-16.272 58.926 0 16.272 16.271 16.272 42.653 0 58.925L560.149 501.223z",fillRule:"nonzero"}
28)),Ff=e.forwardRef((t,n)=>e.createElement(zf,Object.assign({name:"SvgCross"},t,{ref:n}),e.createElement(Bf,null)));let Vf=!1;if(Fp)try{const e={};Object.defineProperty(e,"passive",{get(){Vf=!0}}),window.addEventListener("test-passive",null,e)}catch(bb){}function Hf(t,n,r={}){if(!Fp)return;const{target:o=window,passive:i=!1,capture:s=!1,depends:a=[]}=r;let l;e.useEffect(()=>((()=>{const e=Of(o);e&&!l&&(e.addEventListener(t,n,Vf?{capture:s,passive:i}:s),l=!0)})(),()=>(()=>{const e=Of(o);e&&l&&(e.removeEventListener(t,n,s),l=!1)})()),[o,...a])}function Wf(t){const[n,r]=e.useState(t),o=e.useRef(n);return[n,e.useCallback(e=>{r(t=>o.current=Hp(e)?e(t):e)},[n]),o]}const qf=()=>{const t=e.useRef(!1);return e.useEffect(()=>(t.current=!1,()=>{t.current=!0}),[]),t},Gf=(t={})=>{const n=qf(),[r,o,i]=Wf(t);return[r,e.useCallback(e=>{n.current||o(t=>Object.assign(Object.assign({},t),Hp(e)?e(t):e))},[]),i]},Uf=(t,n)=>{const r=e.useRef(!1);e.useEffect(()=>{if(r.current)return t();r.current=!0},n)};function Yf(t){const n=e.useRef(t);return n.current=t,n}const Xf=t=>{const n=Yf(t);e.useEffect(()=>()=>{n.current()},[])};function Kf(e,t){if(e===t)return!0;for(let n=0;n<e.length;n++)if(!Object.is(e[n],t[n]))return!1;return!0}const Qf=(Zf=e.useEffect,(t,n,r)=>{const o=e.useRef(!1),i=e.useRef([]),s=e.useRef([]),a=e.useRef();Zf(()=>{var e;const l=(Array.isArray(r)?r:[r]).map(e=>Of(e));if(!o.current)return o.current=!0,i.current=l,s.current=n,void(a.current=t());l.length===i.current.length&&Kf(l,i.current)&&Kf(n,s.current)||(null===(e=a.current)||void 0===e||e.call(a),i.current=l,s.current=n,a.current=t())}),Xf(()=>{var e;null===(e=a.current)||void 0===e||e.call(a),o.current=!1})});var Zf;const Jf=Qf;function eh(){const t=e.useRef(0),n=e.useRef(0),r=e.useRef(0),o=e.useRef(0),i=e.useRef(0),s=e.useRef(0),a=e.useRef(""),l=e.useRef(null),c=()=>{r.current=0,o.current=0,i.current=0,s.current=0,a.current="",l.current=null};return{move:e=>{const c=e.touches[0];var u,d;r.current=c.clientX<0?0:c.clientX-t.current,o.current=c.clientY-n.current,i.current=Math.abs(r.current),s.current=Math.abs(o.current),null===l.current?l.current=!0:l.current=!1,a.current||(a.current=(u=i.current,d=s.current,u>d&&u>10?"horizontal":d>u&&d>10?"vertical":""))},start:e=>{c(),t.current=e.touches[0].clientX,n.current=e.touches[0].clientY},reset:c,startX:t,startY:n,deltaX:r,deltaY:o,offsetX:i,offsetY:s,direction:a,isVertical:()=>"vertical"===a.current,isHorizontal:()=>"horizontal"===a.current,firstMove:l}}const th=/scroll|auto/i,nh=Fp?window:void 0;function rh(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}function oh(e,t=nh){void 0===t&&(t=window);let n=e;for(;n&&n!==t&&rh(n);){const{overflowY:e}=window.getComputedStyle(n);if(th.test(e)){if("BODY"!==n.tagName)return n;const e=window.getComputedStyle(n.parentNode).overflowY;if(th.test(e))return n}n=n.parentNode}return t}function ih(t){const[n,r]=e.useState();return e.useEffect(()=>{if(t){const e=Of(t);r(oh(e))}},[]),n}const sh=Fp?t.useLayoutEffect:t.useEffect,ah=()=>{const[,t]=e.useState({});return e.useCallback(()=>t({}),[])};function lh(t){const n=e.useRef(t);n.current=e.useMemo(()=>t,[t]);const r=e.useRef();return r.current||(r.current=function(...e){return n.current.apply(this,e)}),r.current}function ch(t){const{value:n,defaultValue:r,onChange:o}=t,i=ah(),s=e.useRef(void 0!==n?n:r);void 0!==n&&(s.current=n);const a=lh((e,t)=>{const n="function"==typeof e?e(s.current):e;(t||n!==s.current)&&(s.current=n,i(),null==o||o(n))});return[s.current,a]}function uh(...e){const t=Object.assign({},e[0]);return e.forEach(e=>{for(const n in e){const r=e[n];t[n]=t.hasOwnProperty(n)?t[n]:r}}),t}const[dh]=Yp("overlay"),ph=t=>{const n=e.useRef(null),r=uh(t,{stopPropagation:["click"],lockScroll:!0,duration:300}),{visible:o,duration:i}=r;return Hf("touchmove",e=>{r.lockScroll&&Xp(e,!0)},{target:n}),c.jsx(Df,Object.assign({nodeRef:n,mountOnEnter:!0,unmountOnExit:!0,in:o,timeout:i,classNames:"rv-fade"},{children:(()=>{const e=Object.assign(Object.assign({zIndex:void 0!==r.zIndex?+r.zIndex:void 0,touchAction:r.lockScroll&&"none"},r.style),r.customStyle);return Vp(i)&&(e.animationDuration=`${i}
28ms`),Qp(r.stopPropagation,c.jsx("div",Object.assign({ref:n,style:e,onClick:e=>{var t;e.target===e.currentTarget&&(null===(t=r.onClick)||void 0===t||t.call(r,e))},className:Zd(dh(),r.className)},{children:r.children})))})()}))};function fh(e){const{interceptor:t,args:n,done:r,canceled:o}=e;if(t){const e=t.apply(null,n||[]);Wp(i=e)&&Hp(i.then)&&Hp(i.catch)?e.then(e=>{e?r():o&&o()}).catch(zp):e?r():o&&o()}else r();var i}function hh(e,t){if("undefined"!=typeof window&&window.document&&window.document.createElement&&e){const n=function(e){return("function"==typeof e?e():e)||document.body}(e);return o.createPortal(t,n)}return t}const mh=e.createContext({});let vh=0;const gh="rv-overflow-hidden";function yh(t,n){const r=eh(),o=e=>{r.move(e);const n=r.deltaY.current>0?"10":"01",o=oh(e.target,t.current);if(!o)return;const{scrollHeight:i,offsetHeight:s,scrollTop:a}=o;let l="11";0===a?l=s>=i?"00":"01":a+s>=i&&(l="10"),"11"===l||!r.isVertical()||parseInt(l,2)&parseInt(n,2)||e.cancelable&&e.preventDefault()};e.useEffect(()=>{if(n)return document.addEventListener("touchstart",r.start),document.addEventListener("touchmove",o,!1),vh||document.body.classList.add(gh),vh++,()=>{vh&&(document.removeEventListener("touchstart",r.start),document.removeEventListener("touchmove",o),vh--,vh||document.body.classList.remove(gh))}},[n])}let bh=2e3;const[wh]=Yp("popup"),xh=e.forwardRef((t,n)=>{var r;const o=uh(t,{duration:300,overlay:!0,lockScroll:!0,position:"center",closeIcon:c.jsx(Ff,{}),closeIconPosition:"top-right",closeOnClickOverlay:!0,stopPropagation:["click"],teleport:()=>document.body}),{round:i,closeable:s,title:a,description:l,children:u,duration:d,closeIcon:p,position:f}=o,h=e.useRef(!1),m=e.useRef(null!==(r=o.zIndex)&&void 0!==r?r:bh),v=e.useRef(),[g,y]=e.useState(o.visible),[b,w]=e.useState(g),x=e.useMemo(()=>{const e=Object.assign({zIndex:m.current},o.style);if(Vp(o.duration)){e["center"===o.position?"animationDuration":"transitionDuration"]=`${o.duration}ms`}return e},[m.current,o.position,o.style,o.duration]),E=()=>{var e;void 0!==o.zIndex?m.current=+o.zIndex:m.current=bh++,h.current=!0,null===(e=o.onOpen)||void 0===e||e.call(o)},O=()=>{fh({interceptor:o.beforeClose,args:["close"],done:()=>{var e;h.current=!1,null===(e=o.onClose)||void 0===e||e.call(o)}})},S=e=>{var t;null===(t=o.onClickOverlay)||void 0===t||t.call(o,e),o.closeOnClickOverlay&&O()},T=e=>{o.onClickCloseIcon&&o.onClickCloseIcon(e),O()},C=()=>{if(s){const{closeIconPosition:e}=o;return p?c.jsx("div",Object.assign({className:Zd(wh("close-icon",e)),onClick:T},{children:p})):null}return null},_=()=>{const{safeAreaInsetBottom:e}=o;return Qp(o.stopPropagation,c.jsxs("div",Object.assign({ref:v,style:Object.assign(Object.assign({},x),{display:g||b?void 0:"none"}),className:Zd(wh({round:i,[f]:f}),{"rv-safe-area-bottom":e},o.className),onClick:o.onClick},{children:[a?c.jsx("div",Object.assign({className:Zd(wh("title"))},{children:a})):null,l?c.jsx("div",Object.assign({className:Zd(wh("description"))},{children:l})):null,u,C()]})))};return Hf("popstate",()=>{o.closeOnPopstate&&O()}),sh(()=>{g&&w(!0)},[g]),sh(()=>{y(o.visible)},[o.visible]),yh(v,g&&o.lockScroll),e.useImperativeHandle(n,()=>({popupRef:v})),hh(o.teleport,c.jsxs(mh.Provider,Object.assign({value:{visible:g}},{children:[o.overlay?c.jsx(ph,{visible:g,className:o.overlayClass,customStyle:o.overlayStyle,zIndex:m.current,duration:d,onClick:S}):null,(()=>{const{transition:e,destroyOnClose:t,forceRender:n}=o,r="center"===f?"rv-fade":`rv-popup-slide-${f}`;return c.jsx(Df,Object.assign({in:g,nodeRef:v,timeout:d,classNames:e||r,mountOnEnter:!n,unmountOnExit:t,onEnter:E,onEntered:o.onOpened,onExited:()=>{var e;w(!1),null===(e=o.onClosed)||void 0===e||e.call(o)}},{children:_()}))})()]})))}),Eh=(t,n)=>{const[r,o]=e.useState(0);e.useEffect(()=>{o(e=>e+1)},n),e.useEffect(()=>t(),[r])},Oh=["overlay","duration","overlayStyle","overlayClass","closeOnClickOverlay","teleport","onClosed","onOpened","onClickOverlay"],[Sh]=Yp("popover"),Th=e.forwardRef((n,r)=>{var{children:o,className:i}=n;const s=uh(d(n,["children","className"]),{overlay:!1,duration:300,closeOnClickAction:!0,closeOnClickOverlay:!0,closeOnClickOutside:!0,offset:[0,8],theme:"light",trigger:"click",actions:[],placement:"bottom"}),a=e.useRef(null),l=e.useRef(),u=e.useRef(),[p,f]=ch({value:s.visible,defaultValue:!1,onChange:e=>{var t,n;e?null===(t=s.onOpen)||void 0===t||t.call(s):null===(n=s.onClose)||void 0===n||n.call(s)}}),h=()=>{var e;p&&(a.current?null===(e=a.current)||void 0===e||e.setOptions({placement:s.placement}):a.current=Dp(l.current,u.current.popupRef.current,{placement:s.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},Bp({},$p,{options:{offset:s.offset}})]}))};return e.useEffect(()=>()=>{var e;a.current&&(null===(e=a.current)||void 0===e||e.destroy(),a.current=null)},[]),Eh(()=>{h()},[p,s.placement]),e.useEffect(()=>{let e;const t=e=>e.stopPropagation();return u.current&&u.current.popupRef.current&&(e=u.current.popupRef.current,e.addEventListener("touchstart",t)),()=>{e&&e.removeEventListener("touchstart",t)}},[u.current]),e.useImperativeHandle(r,()=>({show:()=>
28{if(p)return f(!1),void setTimeout(()=>f(!0),0);f(!0)},hide:()=>f(!1)})),function(t,n,r="click"){const o=e.useRef(n);o.current=n,e.useEffect(()=>{const e=e=>{(Array.isArray(t)?t:[t]).some(t=>{const n=Of(t);return!n||(null==n?void 0:n.contains(e.target))})||o.current(e)};return document.addEventListener(r,e),()=>{document.removeEventListener(r,e)}},[t,r])}(l,()=>{!s.closeOnClickOutside||s.overlay&&!s.closeOnClickOverlay||f(!1)},"touchstart"),c.jsxs(c.Fragment,{children:[c.jsx("span",Object.assign({ref:l,className:Zd(Sh("wrapper")),onClick:()=>{"click"===s.trigger&&f(!p)}},{children:s.reference})),c.jsxs(xh,Object.assign({ref:u,visible:p,className:Zd(i,Sh([s.theme])),position:"",transition:"rv-zoom",lockScroll:!1,onOpen:()=>f(!0),onClose:()=>f(!1)},qp(s,Oh),{children:[c.jsx("div",{className:Zd(Sh("arrow"))}),c.jsx("div",Object.assign({role:"menu",className:Zd(Sh("content"))},{children:o||s.actions.map((e,n)=>{const{icon:r,text:o,color:i,disabled:a,className:l}=e;return c.jsxs("div",Object.assign({className:Zd(Sh("action",{disabled:a,"with-icon":r}),l),style:{color:i},onClick:()=>((e,t)=>{var n;e.disabled||(null===(n=s.onSelect)||void 0===n||n.call(s,e,t),s.closeOnClickAction&&f(!1))})(e,n)},{children:[r?t.cloneElement(r,{className:Zd(Sh("action-icon"))}):null,c.jsx("div",Object.assign({className:Zd(Sh("action-text"),wf)},{children:o}))]}),n)})}))]}))]})}),Ch=Th,_h=Math.min,Ph=Math.max,kh=Math.round,Mh=Math.floor,jh=e=>({x:e,y:e}),Lh={left:"right",right:"left",bottom:"top",top:"bottom"};function Ah(e,t,n){return Ph(e,_h(t,n))}function Ih(e,t){return"function"==typeof e?e(t):e}function Rh(e){return e.split("-")[0]}function Nh(e){return e.split("-")[1]}function Dh(e){return"x"===e?"y":"x"}function $h(e){return"y"===e?"height":"width"}function zh(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function Bh(e){return Dh(zh(e))}function Fh(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Vh=["left","right"],Hh=["right","left"],Wh=["top","bottom"],qh=["bottom","top"];function Gh(e,t,n,r){const o=Nh(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?Hh:Vh:t?Vh:Hh;case"left":case"right":return t?Wh:qh;default:return[]}}(Rh(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(Fh)))),i}function Uh(e){const t=Rh(e);return Lh[t]+e.slice(t.length)}function Yh(e){return"number"!=typeof e?function(e){var t,n,r,o;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(o=e.left)?o:0}}(e):{top:e,right:e,bottom:e,left:e}}function Xh(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Kh(e,t,n){let{reference:r,floating:o}=e;const i=zh(t),s=Bh(t),a=$h(s),l=Rh(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[a]/2-o[a]/2;let f;switch(l){case"top":f={x:u,y:r.y-o.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}const h=Nh(t);return h&&(f[s]+=p*("end"===h?1:-1)*(n&&c?-1:1)),f}async function Qh(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=Ih(t,e),h=Yh(f),m=a[p?"floating"===d?"reference":"floating":d],v=Xh(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),g="floating"===d?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=Xh(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:l}):g);return{top:(v.top-w.top+h.top)/b.y,bottom:(w.bottom-v.bottom+h.bottom)/b.y,left:(v.left-w.left+h.left)/b.x,right:(w.right-v.right+h.right)/b.x}}const Zh=new Set(["left","top"]);function Jh(){return"undefined"!=typeof window}function em(e){return rm(e)?(e.nodeName||"").toLowerCase():"#document"}function tm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function nm(e){var t;return null==(t=(rm(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function rm(e){return!!Jh()&&(e instanceof Node||e instanceof tm(e).Node)}function om(e){return!!Jh()&&(e instanceof Element||e instanceof tm(e).Element)}function im(e){return!!Jh()&&(e instanceof HTMLElement||e instanceof tm(e).HTMLElement)}function sm(e){return!(!Jh()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof tm(e).ShadowRoot)}function am(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=gm(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function lm(e){return/^(table|td|th)$/.test(em(e))}function cm(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}const um=/transform|translate|scale|rotate|perspective|filter/,dm=/paint|layout|strict|content/,pm=e=>!!e&&"none"!==e;let fm;function hm(e){const t=om(e)?gm(e):e;return pm(t.transform)||pm(t.translate)||pm(t.scale)||pm(t.rotate)||pm(t.perspective)||!mm()&&(pm(t.backdropFilter)||pm(t.filter))||um.test(t.willChange||"")||dm.test(t.contain||"")}function mm(){return null==fm&&(fm="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),fm}function vm(e){return/^(html|body|#document)$/.test(em(e))}function gm(e){return tm(e).getComputedStyle(e)}function ym(e){return om(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bm(e){if("html"===em(e))return e;const t=e.assignedSlot||e.parentNode||sm(e)&&e.host||nm(e);return sm(t)?t.host:t}function wm(e){const t=bm(e);return vm(t)?(e.ownerDocument||e).body:im(t)&&am(t)?t:wm(t)}function xm(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=wm(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=tm(o);if(i){const e=Em(s);
vendor: 4,825 bytes, line 28
28return t.concat(s,s.visualViewport||[],am(o)?o:[],e&&n?xm(e):[])}return t.concat(o,xm(o,[],n))}function Em(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Om(e){const t=gm(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=im(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=kh(n)!==i||kh(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Sm(e){return om(e)?e:e.contextElement}function Tm(e){const t=Sm(e);if(!im(t))return jh(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Om(t);let s=(i?kh(n.width):n.width)/r,a=(i?kh(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Cm=jh(0);function _m(e){const t=tm(e);return mm()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Cm}function Pm(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Sm(e);let s=jh(1);t&&(r?om(r)&&(s=Tm(r)):s=Tm(e));const a=function(e,t,n){return void 0===t&&(t=!1),!!n&&t&&n===tm(e)}(i,n,r)?_m(i):jh(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i&&r){const e=tm(i),t=om(r)?tm(r):r;let n=e,o=Em(n);for(;o&&t!==n;){const e=Tm(o),t=o.getBoundingClientRect(),r=gm(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,n=tm(o),o=Em(n)}}return Xh({width:u,height:d,x:l,y:c})}function km(e,t){const n=ym(e).scrollLeft;return t?t.left+n:Pm(nm(e)).left+n}function Mm(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-km(e,n),y:n.top+t.scrollTop}}function jm(e,t,n){let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");const r="layoutViewport"===n,o=tm(e),i=nm(e),s=o.visualViewport;let a=i.clientWidth,l=i.clientHeight,c=0,u=0;if(s){const e=!mm()||"fixed"===t;r?e||(c=-s.offsetLeft,u=-s.offsetTop):(a=s.width,l=s.height,e&&(c=s.offsetLeft,u=s.offsetTop))}if(km(i)<=0){const e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r),s="stable both-edges"===getComputedStyle(i).scrollbarGutter?o/2:o;s<=25&&(a-=s)}return{width:a,height:l,x:c,y:u}}(e,n,t);else if("document"===t)r=function(e){const t=ym(e),n=e.ownerDocument.body,r=Ph(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=Ph(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let i=-t.scrollLeft+km(e);const s=-t.scrollTop;return"rtl"===gm(n).direction&&(i+=Ph(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:i,y:s}}(nm(e));else if(om(t))r=function(e,t){const n=Pm(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Tm(e);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=_m(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Xh(r)}function Lm(e,t,n){const r=im(t),o=nm(t),i="fixed"===n,s=Pm(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=jh(0);if((r||!i)&&(("body"!==em(t)||am(o))&&(a=ym(t)),r)){const e=Pm(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}!r&&o&&(l.x=km(o));const c=!o||r||i?jh(0):Mm(o,a);return{x:s.left+a.scrollLeft-l.x-c.x,y:s.top+a.scrollTop-l.y-c.y,width:s.width,height:s.height}}function Am(e){return"static"===gm(e).position}function Im(e,t){if(!im(e)||"fixed"===gm(e).position)return null;if(t)return t(e);let n=e.offsetParent;return nm(e)===n&&(n=n.ownerDocument.body),n}function Rm(e,t){const n=tm(e);if(cm(e))return n;if(!im(e)){let t=bm(e);for(;t&&!vm(t);){if(om(t)&&!Am(t))return t;t=bm(t)}return n}let r=Im(e,t);for(;r&&lm(r)&&Am(r);)r=Im(r,t);return r&&vm(r)&&Am(r)&&!hm(r)?n:r||function(e){let t=bm(e);for(;im(t)&&!vm(t);){if(hm(t))return t;if(cm(t))return null;t=bm(t)}return null}(e)||n}const Nm={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=nm(r),a=!!t&&cm(t.floating);if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=jh(1);const u=jh(0),d=im(r);if((d||!i)&&(("body"!==em(r)||am(s))&&(l=ym(r)),d)){const e=Pm(r);c=Tm(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const p=!s||d||i?jh(0):Mm(s,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-l.scrollTop*c.y+u.y+p.y}},getDocumentElement:nm,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?cm(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=xm(e,[],!1).filter(e=>om(e)&&"body"!==em(e)),o=null;const i="fixed"===gm(e).position;let s=i?bm(e):e;for(;om(s)&&!vm(s);){const e=gm(s),t=hm(s),n=o?o.position:i?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?o=e:r=r.filter(e=>e!==s),s=bm(s)}return t.set(e,r),r}
vendor: 8,628 bytes, line 28
28(t,this._c):[].concat(n),r],s=jm(t,i[0],o);let a=s.top,l=s.right,c=s.bottom,u=s.left;for(let d=1;d<i.length;d++){const e=jm(t,i[d],o);a=Ph(e.top,a),l=_h(e.right,l),c=_h(e.bottom,c),u=Ph(e.left,u)}return{width:l-u,height:c-a,x:u,y:a}},getOffsetParent:Rm,getElementRects:async function(e){const t=this.getOffsetParent||Rm,n=this.getDimensions,r=await n(e.floating);return{reference:Lm(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){const{width:t,height:n}=Om(e);return{width:t,height:n}},getScale:Tm,isElement:om,isRTL:function(e){return"rtl"===gm(e).direction}};function Dm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function $m(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Sm(e),u=o||i?[...c?xm(c):[],...t?xm(t):[]]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t,n){let r,o=null;const i=nm(e);function s(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}function a(n,l){void 0===n&&(n=!1),void 0===l&&(l=1),s();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(n||t(),!p||!f)return;const h={rootMargin:-Mh(d)+"px "+-Mh(i.clientWidth-(u+p))+"px "+-Mh(i.clientHeight-(d+f))+"px "+-Mh(u)+"px",threshold:Ph(0,_h(1,l))||1};let m=!0;function v(t){const n=t[0].intersectionRatio;if(!Dm(c,e.getBoundingClientRect()))return a();if(n!==l){if(!m)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}m=!1}try{o=new IntersectionObserver(v,{...h,root:i.ownerDocument})}catch(g){o=new IntersectionObserver(v,h)}o.observe(e)}const l=tm(e),c=()=>a(n);return l.addEventListener("resize",c),a(!0),()=>{l.removeEventListener("resize",c),s()}}(c,n,i):null;let p,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&t&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),t&&h.observe(t));let m=l?Pm(e):null;return l&&function t(){const r=Pm(e);m&&!Dm(m,r)&&n();m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}const zm=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=Rh(n),a=Nh(n),l="y"===zh(n),c=Zh.has(s)?-1:1,u=i&&l?-1:1,d=Ih(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof h&&(f="end"===a?-1*h:h),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Bm=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Ih(e,t),u={x:n,y:r},d=await i.detectOverflow(t,c),p=zh(o),f=Dh(p);let h=u[f],m=u[p];const v=(e,t)=>Ah(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);s&&(h=v(f,h)),a&&(m=v(p,m));const g=l.fn({...t,[f]:h,[p]:m});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:s,[p]:a}}}}}},Fm=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...v}=Ih(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const g=Rh(o),y=zh(a),b=Rh(a)===a,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=p||(b||!m?[Uh(a)]:function(e){const t=Uh(e);return[Fh(e),t,Fh(t)]}(a)),E="none"!==h;!p&&E&&x.push(...Gh(a,m,h,w));const O=[a,...x],S=await l.detectOverflow(t,v),T=[];let C=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&T.push(S[g]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Nh(e),o=Bh(e),i=$h(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Uh(s)),[s,Uh(s)]}(o,s,w);T.push(S[e[0]],S[e[1]])}if(C=[...C,{placement:o,overflows:T}],!T.every(e=>e<=0)){var _,P;const e=((null==(_=i.flip)?void 0:_.index)||0)+1,t=O[e];if(t){if(!("alignment"===d&&y!==zh(t))||C.every(e=>zh(e.placement)!==y||e.overflows[0]>0))return{data:{index:e,overflows:C},reset:{placement:t}}}let n=null==(P=C.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!n)switch(f){case"bestFit":{var k;const e=null==(k=C.filter(e=>{if(E){const t=zh(e.placement);return t===y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:k[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Vm=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Ih(e,t)||{};if(null==c)return{};const d=Yh(u),p={x:n,y:r},f=Bh(o),h=$h(f),m=await s.getDimensions(c),v="y"===f,g=v?"top":"left",y=v?"bottom":"right",b=v?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[f]-p[f]-i.floating[h],x=p[f]-i.reference[f],E=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let O=E?E[b]:0;O&&await(null==s.isElement?void 0:s.isElement(E))||(O=a.floating[b]||i.floating[h]);const S=w/2-x/2,T=O/2-m[h]/2-1,C=_h(d[g],T),_=_h(d[y],T),P=O-m[h]-_,k=O/2-m[h]/2+S,M=Ah(C,k,P),j=!l.arrow&&null!=Nh(o)&&k!==M&&i.reference[h]/2-(k<C?C:_)-m[h]/2<0,L=j?k<C?k-C:k-P:0;return{[f]:p[f]+L,data:{[f]:M,centerOffset:k-M-L,...j&&{alignmentOffset:L}},reset:j}}}),Hm=(e,t,n)=>{const r=new Map,o=null!=n?n:{},i={...Nm,...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:Qh},l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Kh(c,r,l),p=r,f=0;const h={};for(let m=0;m<i.length;m++){const n=i[m];if(!n)continue;const{name:v,fn:g}=n,{x:y,y:b,data:w,reset:x}=await g({x:u,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=b?b:d,h[v]={...h[v],...w},x&&f<50&&(f++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):x.rects),({x:u,y:d}=Kh(c,p,l))),m=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:h}})(e,t,{...o,platform:i})},Wm={core:!1,base:!1};function qm({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:r}){var o,i;if(!e||"undefined"==typeof document||Wm[n])return;if("core"===n&&"undefined"!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==n&&"undefined"!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(t="react-tooltip-core-styles"),r||(r={});const{insertAt:s}=r;if(document.getElementById(t))return;const a=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css","top"===s&&a.firstChild?a.insertBefore(l,a.firstChild):a.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e)),Wm[n]=!0}const Gm=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:o=10,strategy:i="absolute",middlewares:s=[zm(Number(o)),Fm({fallbackAxisSideDirection:"start"}),Bm({padding:5})],border:a,arrowSize:l=8})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const c=s;return n?(c.push(Vm({element:n,padding:5})),Hm(e,t,{placement:r,strategy:i,middleware:c}).then(({x:e,y:t,placement:n,middlewareData:r})=>{var o,i;const s={left:`${e}px`,top:`${t}px`,border:a},{x:c,y:u}=null!==(o=r.arrow)&&void 0!==o?o:{x:0,y:0}
vendor: 11,386 bytes, line 28
28,d=null!==(i={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==i?i:"bottom",p=a&&{borderBottom:a,borderRight:a};let f=0;if(a){const e=`${a}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=c?`${c}px`:"",top:null!=u?`${u}px`:"",right:"",bottom:"",...p,[d]:`-${l/2+f-1}px`},place:n}})):Hm(e,t,{placement:"bottom",strategy:i,middleware:c}).then(({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n}))},Um=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Ym=(e,t,n)=>{let r=null;const o=function(...o){const i=()=>{r=null,n||e.apply(this,o)};n&&!r&&(e.apply(this,o),r=setTimeout(i,t)),n||(r&&clearTimeout(r),r=setTimeout(i,t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},Xm=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,Km=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>Km(e,t[n]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Xm(e)||!Xm(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>Km(e[n],t[n]))},Qm=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n})},Zm=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Qm(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Jm="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,ev=e=>{e.current&&(clearTimeout(e.current),e.current=null)},tv={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},nv=e.createContext({getTooltipData:()=>tv});function rv(t="DEFAULT_TOOLTIP_ID"){return e.useContext(nv).getTooltipData(t)}var ov={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",content:"core-styles-module_content__BRKdB",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},iv={tooltip:"styles-module_tooltip__mnnfp",content:"styles-module_content__ydYdI",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const sv=({forwardRef:n,id:r,className:o,classNameArrow:i,variant:s="dark",anchorId:a,anchorSelect:l,place:c="top",offset:u=10,events:d=["hover"],openOnClick:p=!1,positionStrategy:h="absolute",middlewares:m,wrapper:v,delayShow:g=0,delayHide:y=0,float:b=!1,hidden:w=!1,noArrow:x=!1,clickable:E=!1,closeOnEsc:O=!1,closeOnScroll:S=!1,closeOnResize:T=!1,openEvents:C,closeEvents:_,globalCloseEvents:P,imperativeModeOnly:k,style:M,position:j,afterShow:L,afterHide:A,disableTooltip:I,content:R,contentWrapperRef:N,isOpen:D,defaultIsOpen:$=!1,setIsOpen:z,previousActiveAnchor:B,activeAnchor:F,setActiveAnchor:V,border:H,opacity:W,arrowColor:q,arrowSize:G=8,role:U="tooltip"})=>{var Y;const X=e.useRef(null),K=e.useRef(null),Q=e.useRef(null),Z=e.useRef(null),J=e.useRef(null),[ee,te]=e.useState({tooltipStyles:{},tooltipArrowStyles:{},place:c}),[ne,re]=e.useState(!1),[oe,ie]=e.useState(!1),[se,ae]=e.useState(null),le=e.useRef(!1),ce=e.useRef(null),{anchorRefs:ue,setActiveAnchor:de}=rv(r),pe=e.useRef(!1),[fe,he]=e.useState([]),me=e.useRef(!1),ve=p||d.includes("click"),ge=ve||(null==C?void 0:C.click)||(null==C?void 0:C.dblclick)||(null==C?void 0:C.mousedown),ye=C?{...C}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!C&&ve&&Object.assign(ye,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const be=_?{..._}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!_&&ve&&Object.assign(be,{mouseleave:!1,blur:!1,mouseout:!1});const we=P?{...P}:{escape:O||!1,scroll:S||!1,resize:T||!1,clickOutsideAnchor:ge||!1};k&&(Object.assign(ye,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(be,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(we,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Jm(()=>(me.current=!0,()=>{me.current=!1}),[]);const xe=e=>{me.current&&(e&&ie(!0),setTimeout(()=>{me.current&&(null==z||z(e),void 0===D&&re(e))},10))};e.useEffect(()=>{if(r){if(ne){t(B);const n=e(F),o=[...new Set([...n,r])].filter(Boolean).join(" ");null==F||F.setAttribute("aria-describedby",o)}else t(F);return()=>{t(F),t(B)}}function e(e){var t;return(null===(t=null==e?void 0:e.getAttribute("aria-describedby"))||void 0===t?void 0:t.split(" "))||[]}function t(t){const n=e(t).filter(e=>e!==r);n.length?null==t||t.setAttribute("aria-describedby",n.join(" ")):null==t||t.removeAttribute("aria-describedby")}},[F,ne,r,B]),e.useEffect(()=>{if(void 0===D)return()=>null;D&&ie(!0);const e=setTimeout(()=>{re(D)},10);return()=>{clearTimeout(e)}},[D]),e.useEffect(()=>{if(ne!==le.current)if(ev(J),le.current=ne,ne)null==L||L();else{const e=(()=>{const e=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!e)return 0;const[,t,n]=e;return Number(t)*("ms"===n?1:1e3)})();J.current=setTimeout(()=>{ie(!1),ae(null),null==A||A()},e+25)}},[ne]);const Ee=e=>{te(t=>Km(t,e)?t:e)},Oe=(e=g)=>{ev(Q),oe?xe(!0):Q.current=setTimeout(()=>{xe(!0)},e)},Se=(e=y)=>{ev(Z),Z.current=setTimeout(()=>{pe.current||xe(!1)},e)},Te=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return V(null),void de({current:null});g?Oe():xe(!0),V(n),de({current:n}),ev(Z)},Ce=()=>{E?Se(y||100):y?Se():xe(!1),ev(Q)},_e=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};Gm({place:null!==(n=null==se?void 0:se.place)&&void 0!==n?n:c,offset:u,elementReference:r,tooltipReference:X.current,tooltipArrowReference:K.current,strategy:h,middlewares:m,border:H,arrowSize:G}).then(e=>{Ee(e)})},Pe=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};_e(n),ce.current=n},ke=e=>{var t;if(!ne)return;const n=e.target;n.isConnected&&((null===(t=X.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${a}']`),...fe].some(e=>null==e?void 0:e.contains(n))||(xe(!1),ev(Q)))},Me=Ym(Te,50,!0),je=Ym(Ce,50,!0),Le=e=>{je.cancel(),Me(e)},Ae=()=>{Me.cancel(),je()},Ie=e.useCallback(()=>{var e,t;const n=null!==(e=null==se?void 0:se.position)&&void 0!==e?e:j;n?_e(n):b?ce.current&&_e(ce.current):(null==F?void 0:F.isConnected)&&Gm({place:null!==(t=null==se?void 0:se.place)&&void 0!==t?t:c,offset:u,elementReference:F,tooltipReference:X.current,tooltipArrowReference:K.current,strategy:h,middlewares:m,border:H,arrowSize:G}).then(e=>{me.current&&Ee(e)})},[ne,F,R,M,c,null==se?void 0:se.place,u,h,j,null==se?void 0:se.position,b,G]);e.useEffect(()=>{var e,t;const n=new Set(ue);fe.forEach(e=>{(null==I?void 0:I(e))||n.add({current:e})});const r=document.querySelector(`[id='${a}']`);r&&!(null==I?void 0:I(r))&&n.add({current:r});const o=()=>{xe(!1)},i=Zm(F),s=Zm(X.current);we.scroll&&(window.addEventListener("scroll",o),null==i||i.addEventListener("scroll",o),null==s||s.addEventListener("scroll",o));let l=null;we.resize?window.addEventListener("resize",o):F&&X.current&&(l=$m(F,X.current,Ie,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const c=e=>{"Escape"===e.key&&xe(!1)};we.escape&&window.addEventListener("keydown",c),we.clickOutsideAnchor&&window.addEventListener("click",ke);const u=[],d=e=>Boolean((null==e?void 0:e.target)&&(null==F?void 0:F.contains(e.target))),p=e=>{ne&&d(e)||Te(e)},f=e=>{ne&&d(e)&&Ce()},h=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],m=["click","dblclick","mousedown","mouseup"];Object.entries(ye).forEach(([e,t])=>{t&&(h.includes(e)?u.push({event:e,listener:Le}):m.includes(e)&&u.push({event:e,listener:p}))}),Object.entries(be).forEach(([e,t])=>{t&&(h.includes(e)?u.push({event:e,listener:Ae}):m.includes(e)&&u.push({event:e,listener:f}))}),b&&u.push({event:"pointermove",listener:Pe});const v=()=>{pe.current=!0},g=()=>{pe.current=!1,Ce()},y=E&&(be.mouseout||be.mouseleave);return y&&(null===(e=X.current)||void 0===e||e.addEventListener("mouseover",v),null===(t=X.current)||void 0===t||t.addEventListener("mouseout",g)),u.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)})}),()=>{var e,t;we.scroll&&(window.removeEventListener("scroll",o),null==i||i.removeEventListener("scroll",o),null==s||s.removeEventListener("scroll",o)),we.resize?window.removeEventListener("resize",o):null==l||l(),we.clickOutsideAnchor&&window.removeEventListener("click",ke),we.escape&&window.removeEventListener("keydown",c),y&&(null===(e=X.current)||void 0===e||e.removeEventListener("mouseover",v),null===(t=X.current)||void 0===t||t.removeEventListener("mouseout",g)),u.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)})})}},[F,Ie,oe,ue,fe,C,_,P,ve,g,y]),e.useEffect(()=>{var e,t;let n=null!==(t=null!==(e=null==se?void 0:se.anchorSelect)&&void 0!==e?e:l)&&void 0!==t?t:"";!n&&r&&(n=`[data-tooltip-id='${r.replace(/'/g,"\\'")}']`);const o=new MutationObserver(e=>{const t=[],o=[];e.forEach(e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===r?t.push(e.target):e.oldValue===r&&o.push(e.target)),"childList"===e.type){if(F){const t=[...e.removedNodes].filter(e=>1===e.nodeType);if(n)try{o.push(...t.filter(e=>e.matches(n))),o.push(...t.flatMap(e=>[...e.querySelectorAll(n)]))}catch(i){}t.some(e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,F))&&(ie(!1),xe(!1),V(null),ev(Q),ev(Z),!0)})}if(n)try{const r=[...e.addedNodes].filter(e=>1===e.nodeType);t.push(...r.filter(e=>e.matches(n))),t.push(...r.flatMap(e=>[...e.querySelectorAll(n)]))}catch(i){}}}),(t.length||o.length)&&he(e=>[...e.filter(e=>!o.includes(e)),...t])});return o.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{o.disconnect()}},[r,l,null==se?void 0:se.anchorSelect,F]),e.useEffect(()=>{Ie()},[Ie]),e.useEffect(()=>{if(!(null==N?void 0:N.current))return()=>null;const e=new ResizeObserver(()=>{setTimeout(()=>Ie())});return e.observe(N.current),()=>{e.disconnect()}},[R,null==N?void 0:N.current]),e.useEffect(()=>{var e;const t=document.querySelector(`[id='${a}']`),n=[...fe,t];F&&n.includes(F)||V(null!==(e=fe[0])&&void 0!==e?e:t)},[a,fe,F]),e.useEffect(()=>($&&xe(!0),()=>{ev(Q),ev(Z)}),[]),e.useEffect(()=>{var e;let t=null!==(e=null==se?void 0:se.anchorSelect)&&void 0!==e?e:l;if(!t&&r&&(t=`[data-tooltip-id='${r.replace(/'/g,"\\'")}']`),t)try{const e=Array.from(document.querySelectorAll(t));he(e)}catch(n){he([])}},[r,l,null==se?void 0:se.anchorSelect]),e.useEffect(()=>{Q.current&&(ev(Q),Oe(g))},[g]);const Re=null!==(Y=null==se?void 0:se.content)&&void 0!==Y?Y:R,Ne=ne&&Object.keys(ee.tooltipStyles).length>0;return e.useImperativeHandle(n,()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}
28catch(t){return}ae(null!=e?e:null),(null==e?void 0:e.delay)?Oe(e.delay):xe(!0)},close:e=>{(null==e?void 0:e.delay)?Se(e.delay):xe(!1)},activeAnchor:F,place:ee.place,isOpen:Boolean(oe&&!w&&Re&&Ne)})),oe&&!w&&Re?t.createElement(v,{id:r,role:U,className:f("react-tooltip",ov.tooltip,iv.tooltip,iv[s],o,`react-tooltip__place-${ee.place}`,ov[Ne?"show":"closing"],Ne?"react-tooltip__show":"react-tooltip__closing","fixed"===h&&ov.fixed,E&&ov.clickable),onTransitionEnd:e=>{ev(J),ne||"opacity"!==e.propertyName||(ie(!1),ae(null),null==A||A())},style:{...M,...ee.tooltipStyles,opacity:void 0!==W&&Ne?W:void 0},ref:X},t.createElement(v,{className:f("react-tooltip-content-wrapper",ov.content,iv.content)},Re),t.createElement(v,{className:f("react-tooltip-arrow",ov.arrow,iv.arrow,i,x&&ov.noArrow),style:{...ee.tooltipArrowStyles,background:q?`linear-gradient(to right bottom, transparent 50%, ${q} 50%)`:void 0,"--rt-arrow-size":`${G}px`},ref:K})):null},av=({content:e})=>t.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),lv=t.forwardRef(({id:n,anchorId:r,anchorSelect:o,content:i,html:s,render:a,className:l,classNameArrow:c,variant:u="dark",place:d="top",offset:p=10,wrapper:h="div",children:m=null,events:v=["hover"],openOnClick:g=!1,positionStrategy:y="absolute",middlewares:b,delayShow:w=0,delayHide:x=0,float:E=!1,hidden:O=!1,noArrow:S=!1,clickable:T=!1,closeOnEsc:C=!1,closeOnScroll:_=!1,closeOnResize:P=!1,openEvents:k,closeEvents:M,globalCloseEvents:j,imperativeModeOnly:L=!1,style:A,position:I,isOpen:R,defaultIsOpen:N=!1,disableStyleInjection:D=!1,border:$,opacity:z,arrowColor:B,arrowSize:F,setIsOpen:V,afterShow:H,afterHide:W,disableTooltip:q,role:G="tooltip"},U)=>{const[Y,X]=e.useState(i),[K,Q]=e.useState(s),[Z,J]=e.useState(d),[ee,te]=e.useState(u),[ne,re]=e.useState(p),[oe,ie]=e.useState(w),[se,ae]=e.useState(x),[le,ce]=e.useState(E),[ue,de]=e.useState(O),[pe,fe]=e.useState(h),[he,me]=e.useState(v),[ve,ge]=e.useState(y),[ye,be]=e.useState(null),[we,xe]=e.useState(null),Ee=e.useRef(null),Oe=e.useRef(D),{anchorRefs:Se,activeAnchor:Te}=rv(n),Ce=e=>null==e?void 0:e.getAttributeNames().reduce((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t},{}),_e=e=>{const t={place:e=>{var t;J(null!==(t=e)&&void 0!==t?t:d)},content:e=>{X(null!=e?e:i)},html:e=>{Q(null!=e?e:s)},variant:e=>{var t;te(null!==(t=e)&&void 0!==t?t:u)},offset:e=>{re(null===e?p:Number(e))},wrapper:e=>{var t;fe(null!==(t=e)&&void 0!==t?t:h)},events:e=>{const t=null==e?void 0:e.split(" ");me(null!=t?t:v)},"position-strategy":e=>{var t;ge(null!==(t=e)&&void 0!==t?t:y)},"delay-show":e=>{ie(null===e?w:Number(e))},"delay-hide":e=>{ae(null===e?x:Number(e))},float:e=>{ce(null===e?E:"true"===e)},hidden:e=>{de(null===e?O:"true"===e)},"class-name":e=>{be(e)}};Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)})};e.useEffect(()=>{X(i)},[i]),e.useEffect(()=>{Q(s)},[s]),e.useEffect(()=>{J(d)},[d]),e.useEffect(()=>{te(u)},[u]),e.useEffect(()=>{re(p)},[p]),e.useEffect(()=>{ie(w)},[w]),e.useEffect(()=>{ae(x)},[x]),e.useEffect(()=>{ce(E)},[E]),e.useEffect(()=>{de(O)},[O]),e.useEffect(()=>{ge(y)},[y]),e.useEffect(()=>{Oe.current},[D]),e.useEffect(()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===D,disableBase:D}}))},[]),e.useEffect(()=>{var e;const t=new Set(Se);let i=o;if(!i&&n&&(i=`[data-tooltip-id='${n.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach(e=>{t.add({current:e})})}catch(u){}const s=document.querySelector(`[id='${r}']`);if(s&&t.add({current:s}),!t.size)return()=>null;const a=null!==(e=null!=we?we:s)&&void 0!==e?e:Te.current,l=new MutationObserver(e=>{e.forEach(e=>{var t;if(!a||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=Ce(a);_e(n)})}),c={attributes:!0,childList:!1,subtree:!1};if(a){const e=Ce(a);_e(e),l.observe(a,c)}return()=>{l.disconnect()}},[Se,Te,we,r,o]),e.useEffect(()=>{null==A||A.border,$&&Um("border",`${$}`),null==A||A.opacity,z&&Um("opacity",`${z}`)},[]);let Pe=m;const ke=e.useRef(null);if(a){const e=a({content:(null==we?void 0:we.getAttribute("data-tooltip-content"))||Y||null,activeAnchor:we});Pe=e?t.createElement("div",{ref:ke,className:"react-tooltip-content-wrapper"},e):null}else Y&&(Pe=Y);K&&(Pe=t.createElement(av,{content:K}));const Me={forwardRef:U,id:n,anchorId:r,anchorSelect:o,className:f(l,ye),classNameArrow:c,content:Pe,contentWrapperRef:ke,place:Z,variant:ee,offset:ne,wrapper:pe,events:he,openOnClick:g,positionStrategy:ve,middlewares:b,delayShow:oe,delayHide:se,float:le,hidden:ue,noArrow:S,clickable:T,closeOnEsc:C,closeOnScroll:_,closeOnResize:P,openEvents:k,closeEvents:M,globalCloseEvents:j,imperativeModeOnly:L,style:A,position:I,isOpen:R,defaultIsOpen:N,border:$,opacity:z,arrowColor:B,arrowSize:F,setIsOpen:V,afterShow:H,afterHide:W,disableTooltip:q,activeAnchor:we,previousActiveAnchor:Ee.current,setActiveAnchor:e=>{xe(t=>((null==e?void 0:e.isSameNode(t))||(Ee.current=t),e))},role:G};return t.createElement(sv,{...Me})});"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||qm({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1;-webkit-backface-visibility:hidden;backface-visibility:hidden}.core-styles-module_content__BRKdB{position:relative;z-index:1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}
28.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||qm({css:"\n.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;width:max-content}.styles-module_content__ydYdI{background:inherit;border-radius:inherit;padding:8px 16px}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})});var cv=new Map,uv=new WeakMap,dv=0;function pv(e){return Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{return`${t}_${"root"===t?(n=e.root,n?(uv.has(n)||(dv+=1,uv.set(n,dv.toString())),uv.get(n)):"0"):e[t]}`;var n}).toString()}function fv(e,t,n={},r=void 0){if(void 0===window.IntersectionObserver&&void 0!==r){const o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}const{id:o,observer:i,elements:s}=function(e){const t=pv(e);let n=cv.get(t);if(!n){const r=new Map;let o;const i=new IntersectionObserver(t=>{t.forEach(t=>{var n;const i=t.isIntersecting&&o.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=r.get(t.target))||n.forEach(e=>{e(i,t)})})},e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},cv.set(t,n)}return n}(n),a=s.get(e)||[];return s.has(e)||s.set(e,a),a.push(t),i.observe(e),function(){a.splice(a.indexOf(t),1),0===a.length&&(s.delete(e),i.unobserve(e)),0===s.size&&(i.disconnect(),cv.delete(o))}}function hv({threshold:t,delay:n,trackVisibility:r,rootMargin:o,root:i,triggerOnce:s,skip:a,initialInView:l,fallbackInView:c,onChange:u}={}){var d;const[p,f]=e.useState(null),h=e.useRef(u),[m,v]=e.useState({inView:!!l,entry:void 0});h.current=u,e.useEffect(()=>{if(a||!p)return;let e;return e=fv(p,(t,n)=>{v({inView:t,entry:n}),h.current&&h.current(t,n),n.isIntersecting&&s&&e&&(e(),e=void 0)},{root:i,rootMargin:o,threshold:t,trackVisibility:r,delay:n},c),()=>{e&&e()}},[Array.isArray(t)?t.toString():t,p,i,o,s,a,r,c,n]);const g=null==(d=m.entry)?void 0:d.target,y=e.useRef(void 0);p||!g||s||a||y.current===g||(y.current=g,v({inView:!!l,entry:void 0}));const b=[f,m.inView,m.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}var mv={},vv={},gv={};Object.defineProperty(gv,"__esModule",{value:!0}),gv.unlisten=gv.listen=void 0;const yv=[],bv=[];function wv(e,t,n){let r=yv.indexOf(e);-1===r&&(r=yv.length,yv.push(e),bv.push(function(e){return{el:e,callbacks:{},realCallbacks:{},realListenersCnt:0}}(e)));!function(e,t,n){e.callbacks[t]?-1===e.callbacks[t].indexOf(n)&&e.callbacks[t].push(n):(e.callbacks[t]=[n],e.realCallbacks[t]=n=>{for(let r=0,o=e.callbacks[t].length;r<o;r+=1)e.callbacks[t][r](n)},e.el.addEventListener(t,e.realCallbacks[t]),e.realListenersCnt+=1)}(bv[r],t,n)}function xv(e,t,n){const r=yv.indexOf(e);if(-1===r)return;const o=bv[r];!function(e,t,n){if(!e.callbacks[t])return;const r=e.callbacks[t].indexOf(n);-1!==r&&(e.callbacks[t].splice(r,1),e.callbacks[t].length>0||(e.el.removeEventListener(t,e.realCallbacks[t]),delete e.callbacks[t],delete e.realCallbacks[t],e.realListenersCnt-=1))}(o,t,n),o.realListenersCnt>0||(yv.splice(r,1),bv.splice(r,1))}gv.listen=function(e,t,n){for(let r=0,o=t.length;r<o;r+=1)wv(e,t[r],n)},gv.unlisten=function(e,t,n){for(let r=0,o=t.length;r<o;r+=1)xv(e,t[r],n)};var Ev={};
28Object.defineProperty(Ev,"__esModule",{value:!0});const Ov={};"undefined"!=typeof document&&(Ov.body=document.body,Ov.window=window,Ov.document=document);const Sv=(()=>{if("undefined"!=typeof document&&document.body){const e=document.body;return"function"==typeof e.matches?"matches":"function"==typeof e.webkitMatchesSelector?"webkitMatchesSelector":"function"==typeof e.mozMatchesSelector?"mozMatchesSelector":"function"==typeof e.msMatchesSelector?"msMatchesSelector":"function"==typeof e.oMatchesSelector?"oMatchesSelector":null}return null})();Ev.default=function(e,t){if(!e)return null;if(Ov.hasOwnProperty(e))return Ov[e];if("#"===e[0])return document.getElementById(e.slice(1));if(null===Sv)return null;let n=t;for(;n=n.parentElement;)if(n[Sv](e))return n||null;return null};var Tv={};Object.defineProperty(Tv,"__esModule",{value:!0}),Tv.default=function(e){do{const t=window.getComputedStyle(e);if("none"!==t.transform||"none"!==t.webkitTransform)return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};var Cv={};Object.defineProperty(Cv,"__esModule",{value:!0}),Cv.isIntersecting=Cv.getRect=Cv.infiniteRect=void 0,Cv.infiniteRect={top:-1/0,bottom:1/0,height:1/0,left:-1/0,right:1/0,width:1/0},Cv.getRect=function(e){return e&&"getBoundingClientRect"in e&&"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():e===window||e===document?{top:0,left:0,bottom:window.innerHeight,height:window.innerHeight,width:window.innerWidth,right:window.innerWidth}:{top:0,left:0,right:0,bottom:0,width:0,height:0}},Cv.isIntersecting=function(e,t,n,r){const o=e.top+n,i=e.bottom+r;return o>=t.top&&o<=t.bottom||i>=t.top&&i<=t.bottom||i>=t.bottom&&o<=t.top};var _v=u&&u.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};
28Object.defineProperty(vv,"__esModule",{value:!0});const Pv=e,kv=gv,Mv=_v(Ev),jv=_v(Tv),Lv=Cv,Av=(e,t)=>{const{bottomOffset:n,hideOnBoundaryHit:r}=t,{top:o,height:i,width:s,boundaryBottom:a}=e;return r||o+i+n<a?{top:`${o}px`,width:`${s}px`,position:"fixed"}:!r&&a>0?{top:a-i-n+"px",width:`${s}px`,position:"fixed"}:{width:`${s}px`,bottom:`${n}px`,position:"absolute"}},Iv=(e,t)=>{const{bottomOffset:n,hideOnBoundaryHit:r}=t,{bottom:o,height:i,width:s,boundaryTop:a}=e;return r||o-i-n>a?{width:`${s}px`,top:o-i+"px",position:"fixed"}:{width:`${s}px`,top:`${n}px`,position:"absolute"}},Rv=(e,t,n)=>("top"===e?Av:Iv)(n,t);let Nv=class extends Pv.Component{constructor(){super(...arguments),this.holderEl=null,this.wrapperEl=null,this.el=null,this.scrollEl=null,this.boundaryEl=null,this.disabled=!1,this.checkPositionIntervalId=null,this.lastMinHeight=null,this.state={isFixed:!1,wrapperStyles:void 0,holderStyles:void 0,height:0},this.holderRef=e=>{e!==this.holderEl&&(this.holderEl=e)},this.wrapperRef=e=>{e!==this.wrapperEl&&(this.wrapperEl=e,this.updateScrollEl(),this.updateBoundaryEl())},this.checkPosition=()=>{const{holderEl:e,wrapperEl:t,boundaryEl:n,scrollEl:r,disabled:o}=this;if(!r||!e||!t)return;const{mode:i,onFixedToggle:s,offsetTransforms:a,isIOSFixEnabled:l,dontUpdateHolderHeightWhenSticky:c}=this.props;if(o)return void(this.state.isFixed&&this.setState({isFixed:!1,wrapperStyles:{}}));if(!e.getBoundingClientRect||!t.getBoundingClientRect)return;const u=e.getBoundingClientRect(),d=t.getBoundingClientRect(),p=n?(0,Lv.getRect)(n):Lv.infiniteRect,f=(0,Lv.getRect)(r),h=this.isFixed(u,d,p,f);let m=null;if(a&&h&&r instanceof HTMLElement){const e=(0,jv.default)(r);e&&(m=(0,Lv.getRect)(e))}const v=this.state.isFixed&&c&&this.lastMinHeight?this.lastMinHeight:d.height;this.lastMinHeight=v;const g=l?{transform:"translateZ(0)",WebkitTransform:"translateZ(0)"}:void 0,y={isFixed:h,height:d.height,holderStyles:{minHeight:`${v}px`},wrapperStyles:h?Object.assign(Object.assign({},g),Rv(i,this.props,{boundaryTop:"bottom"===i?p.top:0,boundaryBottom:"top"===i?p.bottom:0,top:"top"===i?f.top-(m?m.top:0):0,bottom:"bottom"===i?f.bottom-(m?m.bottom:0):0,width:u.width,height:d.height})):g};h!==this.state.isFixed&&s&&"function"==typeof s&&s(h),((e,t)=>{const n=e.wrapperStyles,r=t.wrapperStyles;if(e.isFixed!==t.isFixed||e.height!==t.height||!n&&r||n&&!r)return!1;if(!r)return!0;for(const o in n)if(n.hasOwnProperty(o)&&n[o]!==r[o])return!1;return!0})(this.state,y)||this.setState(y)}}isFixed(e,t,n,r){const{hideOnBoundaryHit:o,bottomOffset:i,topOffset:s,mode:a}=this.props;if(this.disabled)return!1;if(o&&n&&!(0,Lv.isIntersecting)(n,r,s,i))return!1;const l=o?t.height+i:0;return"top"===a?e.top+s<r.top&&r.top+l<=n.bottom:e.bottom-s>r.bottom&&r.bottom-l>=n.top}updateScrollEl(){if(!this.wrapperEl)return;this.scrollEl&&((0,kv.unlisten)(this.scrollEl,["scroll"],this.checkPosition),this.scrollEl=null);const{scrollElement:e}=this.props;this.scrollEl="string"==typeof e?(0,Mv.default)(e,this.wrapperEl):e,this.scrollEl&&(0,kv.listen)(this.scrollEl,["scroll"],this.checkPosition)}updateBoundaryEl(){if(!this.wrapperEl)return;const{boundaryElement:e}=this.props;this.boundaryEl=(0,Mv.default)(e,this.wrapperEl),this.boundaryEl!==window&&this.boundaryEl!==document||(this.boundaryEl=null)}initialize(){const{positionRecheckInterval:e,disabled:t}=this.props;this.disabled=t,(0,kv.listen)(window,["scroll","resize","pageshow","load"],this.checkPosition),this.checkPosition(),e&&(this.checkPositionIntervalId=setInterval(this.checkPosition,e))}componentDidUpdate({scrollElement:e,boundaryElement:t,disabled:n}){e===this.props.scrollElement&&null!==this.scrollEl||this.updateScrollEl(),t===this.props.boundaryElement&&null!==this.boundaryEl||this.updateBoundaryEl(),n!==this.props.disabled&&(this.disabled=this.props.disabled,this.checkPosition())}componentDidMount(){this.initialize(),this.wrapperEl}componentWillUnmount(){this.scrollEl&&(0,kv.unlisten)(this.scrollEl,["scroll"],this.checkPosition),(0,kv.unlisten)(window,["scroll","resize","pageshow","load"],this.checkPosition),this.boundaryEl=null,this.scrollEl=null,this.checkPositionIntervalId&&clearInterval(this.checkPositionIntervalId)}render(){const{holderRef:e,wrapperRef:t}=this,{isFixed:n,wrapperStyles:r,holderStyles:o}=this.state;return this.props.children({holderRef:e,wrapperRef:t,isFixed:n,wrapperStyles:r,holderStyles:o})}};Nv.defaultProps={mode:"top",topOffset:0,bottomOffset:0,isIOSFixEnabled:!0,offsetTransforms:!0,disabled:!1,onFixedToggle:void 0,boundaryElement:void 0,hideOnBoundaryHit:!0,scrollElement:"window",dontUpdateHolderHeightWhenSticky:!1},vv.default=Nv;var Dv={};!function(t){var n=u&&u.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}
vendor: 19,612 bytes, line 28
28,r=u&&u.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=void 0;const o=r(e),i=r(vv);t.defaultProps=Object.assign(Object.assign({},i.default.defaultProps),{stickyClassName:"sticky",wrapperClassName:"",stickyStyle:{}}),t.default=function(e){const r=Object.assign(Object.assign({},t.defaultProps),e),{mode:s,onFixedToggle:a,hideOnBoundaryHit:l,offsetTransforms:c,disabled:u,boundaryElement:d,scrollElement:p,bottomOffset:f,topOffset:h,positionRecheckInterval:m,children:v,isIOSFixEnabled:g,dontUpdateHolderHeightWhenSticky:y,wrapperClassName:b,stickyClassName:w,stickyStyle:x}=r,E=n(r,["mode","onFixedToggle","hideOnBoundaryHit","offsetTransforms","disabled","boundaryElement","scrollElement","bottomOffset","topOffset","positionRecheckInterval","children","isIOSFixEnabled","dontUpdateHolderHeightWhenSticky","wrapperClassName","stickyClassName","stickyStyle"]);return o.default.createElement(i.default,{mode:s,onFixedToggle:a,hideOnBoundaryHit:l,offsetTransforms:c,disabled:u,boundaryElement:d,scrollElement:p,bottomOffset:f,topOffset:h,positionRecheckInterval:m,isIOSFixEnabled:g,dontUpdateHolderHeightWhenSticky:y},({isFixed:e,wrapperStyles:t,wrapperRef:n,holderStyles:r,holderRef:i})=>o.default.createElement("div",Object.assign({},E,{ref:i,style:r}),o.default.createElement("div",Object.assign({},E,{className:`${b} ${e?w:""}`,style:e?Object.assign(Object.assign({},t),x):t,ref:n}),v)))}}(Dv);var $v=u&&u.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mv,"__esModule",{value:!0}),mv.RenderPropSticky=void 0;const zv=$v(vv);mv.RenderPropSticky=zv.default;const Bv=$v(Dv);var Fv=mv.default=Bv.default;function Vv(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)||Array.isArray(e)}function Hv(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}`:Vv(r)&&Vv(o)?Hv(r,o):r===o})}function Wv(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function qv(e){return"number"==typeof e}function Gv(e){return"string"==typeof e}function Uv(e){return"boolean"==typeof e}function Yv(e){return"[object Object]"===Object.prototype.toString.call(e)}function Xv(e){return Math.abs(e)}function Kv(e){return Math.sign(e)}function Qv(e,t){return Xv(e-t)}function Zv(e){return rg(e).map(Number)}function Jv(e){return e[eg(e)]}function eg(e){return Math.max(0,e.length-1)}function tg(e,t){return t===eg(e)}function ng(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function rg(e){return Object.keys(e)}function og(e,t){return[e,t].reduce((e,t)=>(rg(t).forEach(n=>{const r=e[n],o=t[n],i=Yv(r)&&Yv(o);e[n]=i?og(r,o):o}),e),{})}function ig(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function sg(){let e=[];const t={add:function(n,r,o,i={passive:!0}){let s;if("addEventListener"in n)n.addEventListener(r,o,i),s=()=>n.removeEventListener(r,o,i);else{const e=n;e.addListener(o),s=()=>e.removeListener(o)}return e.push(s),t},clear:function(){e=e.filter(e=>e())}};return t}function ag(e,t,n,r){const o=sg(),i=1e3/60;let s=null,a=0,l=0;function c(e){if(!l)return;s||(s=e,n(),n());const o=e-s;for(s=e,a+=o;a>=i;)n(),a-=i;r(a/i),l&&(l=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(l),s=null,a=0,l=0}return{init:function(){o.add(e,"visibilitychange",()=>{e.hidden&&(s=null,a=0)})},destroy:function(){u(),o.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}function lg(e=0,t=0){const n=Xv(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 cg(e,t,n){const{constrain:r}=lg(0,e),o=e+1;let i=s(t);function s(e){return n?Xv((o+e)%o):r(e)}function a(){return i}function l(){return cg(e,a(),n)}const c={get:a,set:function(e){return i=s(e),c},add:function(e){return l().set(a()+e)},clone:l};return c}function ug(e,t,n,r,o,i,s,a,l,c,u,d,p,f,h,m,v,g,y){const{cross:b,direction:w}=e,x=["INPUT","SELECT","TEXTAREA"],E={passive:!1},O=sg(),S=sg(),T=lg(50,225).constrain(f.measure(20)),C={mouse:300,touch:400},_={mouse:500,touch:600},P=h?43:25;let k=!1,M=0,j=0,L=!1,A=!1,I=!1,R=!1;function N(e){if(!ig(e,r)&&e.touches.length>=2)return D(e);const t=i.readPoint(e),n=i.readPoint(e,b),s=Qv(t,M),l=Qv(n,j);if(!A&&!R){if(!e.cancelable)return D(e);if(A=s>l,!A)return D(e)}const u=i.pointerMove(e);s>m&&(I=!0),c.useFriction(.3).useDuration(.75),a.start(),o.add(w(u)),e.preventDefault()}function D(e){const t=u.byDistance(0,!1).index!==d.get(),n=i.pointerUp(e)*(h?_:C)[R?"mouse":"touch"],r=function(e,t){const n=d.add(-1*Kv(e)),r=u.byDistance(e,!h).distance;return h||Xv(e)<T?r:v&&t?.5*r:u.byIndex(n.get(),0).distance}(w(n),t),o=function(e,t){if(0===e||0===t)return 0;if(Xv(e)<=Xv(t))return 0;const n=Qv(Xv(e),Xv(t));return Xv(n/e)}(n,r),s=P-10*o,a=g+o/50;A=!1,L=!1,S.clear(),c.useDuration(s).useFriction(a),l.distance(r,!h),R=!1,p.emit("pointerUp")}function $(e){I&&(e.stopPropagation(),e.preventDefault(),I=!1)}return{init:function(e){if(!y)return;function a(a){(Uv(y)||y(e,a))&&function(e){const a=ig(e,r);if(R=a,I=h&&a&&!e.buttons&&k,k=Qv(o.get(),s.get())>=2,a&&0!==e.button)return;if(function(e){const t=e.nodeName||"";return x.includes(t)}(e.target))return;L=!0,i.pointerDown(e),c.useFriction(0).useDuration(0),o.set(s),function(){const e=R?n:t;S.add(e,"touchmove",N,E).add(e,"touchend",D).add(e,"mousemove",N,E).add(e,"mouseup",D)}(),M=i.readPoint(e),j=i.readPoint(e,b),p.emit("pointerDown")}(a)}const l=t;O.add(l,"dragstart",e=>e.preventDefault(),E).add(l,"touchmove",()=>{},E).add(l,"touchend",()=>{}).add(l,"touchstart",a).add(l,"mousedown",a).add(l,"touchcancel",D).add(l,"contextmenu",D).add(l,"click",$,!0)},destroy:function(){O.clear(),S.clear()},pointerDown:function(){return L}}}function dg(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(ig(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),s=o(e)-o(n)>170;return r=e,s&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;const t=i(r)-i(n),s=o(e)-o(n),a=o(e)-o(r)>170,l=t/s;return s&&!a&&Xv(l)>.1?l:0},readPoint:i}}function pg(e,t,n,r,o,i,s){const a=[e].concat(r);let l,c,u=[],d=!1;function p(e){return o.measureSize(s.measure(e))}return{init:function(o){i&&(c=p(e),u=r.map(p),l=new ResizeObserver(n=>{(Uv(i)||i(o,n))&&function(n){for(const i of n){if(d)return;const n=i.target===e,s=r.indexOf(i.target),a=n?c:u[s];if(Xv(p(n?e:r[s])-a)>=.5){o.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{a.forEach(e=>l.observe(e))}))},destroy:function(){d=!0,l&&l.disconnect()}}}function fg(e,t,n,r,o){const i=o.measure(10),s=o.measure(50),a=lg(.1,.99);let l=!1;function c(){return!l&&(!!e.reachedAny(n.get())&&!!e.reachedAny(t.get()))}return{shouldConstrain:c,constrain:function(o){if(!c())return;const l=e.reachedMin(t.get())?"min":"max",u=Xv(e[l]-t.get()),d=n.get()-t.get(),p=a.constrain(u/s);n.subtract(d*p),!o&&Xv(d)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}function hg(e,t,n,r){const o=t.min+.1,i=t.max+.1,{reachedMin:s,reachedMax:a}=lg(o,i);return{loop:function(t){if(!function(e){return 1===e?a(n.get()):-1===e&&s(n.get())}(t))return;const o=e*(-1*t);r.forEach(e=>e.add(o))}}}function mg(e,t,n,r,o){const{reachedAny:i,removeOffset:s,constrain:a}=r;function l(e){return e.concat().sort((e,t)=>Xv(e)-Xv(t))[0]}function c(t,r){const o=[t,t+n,t-n];if(!e)return t;if(!r)return l(o);const i=o.filter(e=>Kv(e)===r);return i.length?l(i):Jv(o)-n}const u={byDistance:function(n,r){const l=o.get()+n,{index:u,distance:d}=function(n){const r=e?s(n):a(n),o=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>Xv(e.diff)-Xv(t.diff)),{index:i}=o[0];return{index:i,distance:r}}(l),p=!e&&i(l);return!r||p?{index:u,distance:n}:{index:u,distance:n+c(t[u]-d,0)}},byIndex:function(e,n){return{index:e,distance:c(t[e]-o.get(),n)}},shortcut:c};return u}function vg(e,t,n,r,o,i,s,a){const l={passive:!0,capture:!0};let c=0;function u(e){"Tab"===e.code&&(c=(new Date).getTime())}return{init:function(d){a&&(i.add(document,"keydown",u,!1),t.forEach((t,u)=>{i.add(t,"focus",t=>{(Uv(a)||a(d,t))&&function(t){if((new Date).getTime()-c>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;const i=n.findIndex(e=>e.includes(t));qv(i)&&(o.useDuration(0),r.index(i,0),s.emit("slideFocus"))}(u)},l)}))}}}function gg(e){let t=e;function n(e){return qv(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 yg(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;const s={clear:function(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;const s=(a=e.direction(t),Math.round(100*a)/100);var a;s!==o&&(r.transform=n(s),o=s)},toggleActive:function(e){i=!e}};return s}function bg(e,t,n,r,o,i,s,a,l){const c=Zv(o),u=Zv(o).reverse(),d=function(){const e=s[0];return h(f(u,e),n,!1)}().concat(function(){const e=t-s[0]-1;return h(f(c,e),-n,!0)}());function p(e,t){return e.reduce((e,t)=>e-o[t],t)}function f(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function h(o,s,c){const u=function(e){return i.map((n,o)=>({start:n-r[o]+.5+e,end:n+t-.5+e}))}(s);return o.map(t=>{const r=c?0:-n,o=c?n:0,i=c?"end":"start",s=u[t][i];return{index:t,loopPoint:s,slideLocation:gg(-1),translate:yg(e,l[t]),target:()=>a.get()>s?r:o}})}const m={canLoop:function(){return d.every(({index:e})=>p(c.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};return m}function wg(e,t,n){let r,o=!1;return{init:function(i){n&&(r=new MutationObserver(e=>{o||(Uv(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 xg(e,t,n,r){const o={};let i,s=null,a=null,l=!1;return{init:function(){i=new IntersectionObserver(e=>{l||(e.forEach(e=>{const n=t.indexOf(e.target);o[n]=e}),s=null,a=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),l=!0},get:function(e=!0){if(e&&s)return s;if(!e&&a)return a;const t=function(e){return rg(o).reduce((t,n)=>{const r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t},[])}(e);return e&&(s=t),e||(a=t),t}}}function Eg(e,t,n,r,o,i,s,a,l){const{startEdge:c,endEdge:u,direction:d}=e,p=qv(n);return{groupSlides:function(e){return p?function(e,t){return Zv(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}(e,n):function(e){return e.length?Zv(e).reduce((n,p,f)=>{const h=Jv(n)||0,m=0===h,v=p===eg(e),g=o[c]-i[h][c],y=o[c]-i[p][u],b=!r&&m?d(s):0,w=Xv(y-(!r&&v?d(a):0)-(g+b));return f&&w>t+l&&n.push(p),v&&n.push(e.length),n},[]).map((t,n,r)=>{const o=Math.max(r[n-1]||0);return e.slice(o,t)}):[]}(e)}}}function Og(e,t,n,r,o,i,s){const{align:a,axis:l,direction:c,startIndex:u,loop:d,duration:p,dragFree:f,dragThreshold:h,inViewThreshold:m,slidesToScroll:v,skipSnaps:g,containScroll:y,watchResize:b,watchSlides:w,watchDrag:x,watchFocus:E}=i,O={measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}},S=O.measure(t),T=n.map(O.measure),C=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}}}(l,c),_=C.measureSize(S),P=function(e){return{measure:function(t){return e*(t/100)}}}(_),k=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 Gv(e)?n[e](r):e(t,r,o)}}}(a,_),M=!d&&!!y,j=d||!!y,{slideSizes:L,slideSizesWithGaps:A,startGap:I,endGap:R}=function(e,t,n,r,o,i){const{measureSize:s,startEdge:a,endEdge:l}=e,c=n[0]&&o,u=function(){if(!c)return 0;const e=n[0];return Xv(t[a]-e[a])}(),d=function(){if(!c)return 0;const e=i.getComputedStyle(Jv(r));return parseFloat(e.getPropertyValue(`margin-${l}`))}(),p=n.map(s),f=n.map((e,t,n)=>{const r=!t,o=tg(n,t);return r?p[t]+u:o?p[t]+d:n[t+1][a]-e[a]}).map(Xv);return{slideSizes:p,slideSizesWithGaps:f,startGap:u,endGap:d}}(C,S,T,n,j,o),N=Eg(C,_,v,d,S,T,I,R,2),{snaps:D,snapsAligned:$}=function(e,t,n,r,o){const{startEdge:i,endEdge:s}=e,{groupSlides:a}=o,l=a(r).map(e=>Jv(e)[s]-e[0][i]).map(Xv).map(t.measure),c=r.map(e=>n[i]-e[i]).map(e=>-Xv(e)),u=a(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:u}}(C,k,S,T,N),z=-Jv(D)+Jv(A),{snapsContained:B,scrollContainLimit:F}=function(e,t,n,r,o){const i=lg(-t+e,0),s=n.map((e,t)=>{const{min:r,max:o}=i,s=i.constrain(e),a=!t,c=tg(n,t);return a?o:c||l(r,s)?r:l(o,s)?o:s}).map(e=>parseFloat(e.toFixed(3))),a=function(){const e=s[0],t=Jv(s);return lg(s.lastIndexOf(e),s.indexOf(t)+1)}();function l(e,t){return Qv(e,t)<=1}return{snapsContained:function(){if(t<=e+o)return[i.max];if("keepSnaps"===r)return s;const{min:n,max:l}=a;return s.slice(n,l)}(),scrollContainLimit:a}}(_,z,$,y,2),V=M?B:$,{limit:H}=function(e,t,n){const r=t[0];return{limit:lg(n?r-e:Jv(t),r)}}(z,V,d),W=cg(eg(V),u,d),q=W.clone(),G=Zv(n),U=ag(r,o,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(ae),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:o,scrollLooper:i,slideLooper:s,dragHandler:a,animation:l,eventHandler:c,scrollBounds:u,options:{loop:d}},p)=>{const f=e.settled(),h=!u.shouldConstrain(),m=d?f:f&&h,v=m&&!a.pointerDown();v&&l.stop();const g=n.get()*p+o.get()*(1-p);r.set(g),d&&(i.loop(e.direction()),s.loop()),t.to(r.get()),v&&c.emit("settle"),m||c.emit("scroll")})(ae,e)),Y=V[W.get()],X=gg(Y),K=gg(Y),Q=gg(Y),Z=gg(Y),J=function(e,t,n,r,o,i){let s=0,a=0,l=o,c=i,u=e.get(),d=0;function p(e){return l=e,h}function f(e){return c=e,h}const h={direction:function(){return a},duration:function(){return l},velocity:function(){return s},seek:function(){const t=r.get()-e.get();let o=0;return l?(n.set(e),s+=t/l,s*=c,u+=s,e.add(s),o=u-d):(s=0,n.set(r),e.set(r),o=t),a=Kv(o),d=u,h},settled:function(){return Xv(r.get()-t.get())<.001},useBaseFriction:function(){return f(i)},useBaseDuration:function(){return p(o)},useFriction:f,useDuration:p};return h}(X,Q,K,Z,p,.68),ee=mg(d,V,z,H,Z),te=function(e,t,n,r,o,i,s){function a(o){const a=o.distance,l=o.index!==t.get();i.add(a),a&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(o.index),s.emit("select"))}return{distance:function(e,t){a(o.byDistance(e,t))},index:function(e,n){const r=t.clone().set(e);a(o.byIndex(r.get(),n))}}}(U,W,q,J,ee,Z,s),ne=function(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}(H),re=sg(),oe=xg(t,n,s,m),{slideRegistry:ie}=function(e,t,n,r,o,i){const{groupSlides:s}=o,{min:a,max:l}=r;return{slideRegistry:function(){const r=s(i),o=!e||"keepSnaps"===t;return 1===n.length?[i]:o?r:r.slice(a,l).map((e,t,n)=>{const r=!t,o=tg(n,t);return r?ng(Jv(n[0])+1):o?ng(eg(i)-Jv(n)[0]+1,Jv(n)[0]):e})}()}}(M,y,V,F,N,G),se=vg(e,n,ie,te,J,re,s,E),ae={ownerDocument:r,ownerWindow:o,eventHandler:s,containerRect:S,slideRects:T,animation:U,axis:C,dragHandler:ug(C,e,r,o,Z,dg(C,o),X,U,te,J,ee,W,s,P,f,h,g,.68,x),eventStore:re,percentOfView:P,index:W,indexPrevious:q,limit:H,location:X,offsetLocation:Q,previousLocation:K,options:i,resizeHandler:pg(t,s,o,n,C,b,O),scrollBody:J,scrollBounds:fg(H,Q,Z,J,P),scrollLooper:hg(z,H,Q,[X,Q,K,Z]),scrollProgress:ne,scrollSnapList:V.map(ne.get),scrollSnaps:V,scrollTarget:ee,scrollTo:te,slideLooper:bg(C,_,z,L,A,D,V,Q,n),slideFocus:se,slidesHandler:wg(t,s,w),slidesInView:oe,slideIndexes:G,slideRegistry:ie,slidesToScroll:N,target:Z,translate:yg(C,t)};return ae}const Sg={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 Tg(e){function t(e,t){return og(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){const r=n.breakpoints||{},o=rg(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=>rg(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}function Cg(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=Tg(o),s=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),a=sg(),l=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:c,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:p,off:f,emit:h}=l,m=C;let v,g,y,b,w=!1,x=c(Sg,Cg.globalOptions),E=c(x),O=[];function S(t){const n=Og(e,y,b,r,o,t,l);if(t.loop&&!n.slideLooper.canLoop()){return S(Object.assign({},t,{loop:!1}))}return n}function T(t,n){w||(x=c(x,t),E=u(x),O=n||O,function(){const{container:t,slides:n}=E,r=Gv(t)?e.querySelector(t):t;y=r||e.children[0];const o=Gv(n)?y.querySelectorAll(n):n;b=[].slice.call(o||y.children)}(),v=S(E),d([x,...O.map(({options:e})=>e)]).forEach(e=>a.add(e,"change",C)),E.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(M),v.eventHandler.init(M),v.resizeHandler.init(M),v.slidesHandler.init(M),v.options.loop&&v.slideLooper.loop(),y.offsetParent&&b.length&&v.dragHandler.init(M),g=s.init(M,O)))}function C(e,t){const n=k();_(),T(c({startIndex:n},e),t),l.emit("reInit")}function _(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),s.destroy(),a.clear()}function P(e,t,n){E.active&&!w&&(v.scrollBody.useBaseFriction().useDuration(!0===t?0:E.duration),v.scrollTo.index(e,n||0))}function k(){return v.index.get()}const M={canScrollNext:function(){return v.index.add(1).get()!==k()},canScrollPrev:function(){return v.index.add(-1).get()!==k()},containerNode:function(){return y},internalEngine:function(){return v},destroy:function(){w||(w=!0,a.clear(),_(),l.emit("destroy"),l.clear())},off:f,on:p,emit:h,plugins:function(){return g},previousScrollSnap:function(){return v.indexPrevious.get()},reInit:m,rootNode:function(){return e},scrollNext:function(e){P(v.index.add(1).get(),e,-1)},scrollPrev:function(e){P(v.index.add(-1).get(),e,1)},scrollProgress:function(){return v.scrollProgress.get(v.offsetLocation.get())},scrollSnapList:function(){return v.scrollSnapList}
28,scrollTo:P,selectedScrollSnap:k,slideNodes:function(){return b},slidesInView:function(){return v.slidesInView.get()},slidesNotInView:function(){return v.slidesInView.get(!1)}};return T(t,n),setTimeout(()=>l.emit("init"),0),M}function _g(t={},n=[]){const r=e.useRef(t),o=e.useRef(n),[i,s]=e.useState(),[a,l]=e.useState(),c=e.useCallback(()=>{i&&i.reInit(r.current,o.current)},[i]);return e.useEffect(()=>{Hv(r.current,t)||(r.current=t,c())},[t,c]),e.useEffect(()=>{(function(e,t){if(e.length!==t.length)return!1;const n=Wv(e),r=Wv(t);return n.every((e,t)=>Hv(e,r[t]))})(o.current,n)||(o.current=n,c())},[n,c]),e.useEffect(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&a){Cg.globalOptions=_g.globalOptions;const e=Cg(a,r.current,o.current);return s(e),()=>e.destroy()}s(void 0)},[a,s]),[l,i]}Cg.globalOptions=void 0,_g.globalOptions=void 0;const Pg={direction:"forward",speed:2,startDelay:1e3,active:!0,breakpoints:{},playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,rootNode:null};function kg(e={}){let t,n,r,o,i,s=0,a=!1,l=!1;function c(){if(r)return;if(a)return;n.emit("autoScroll:play");const e=n.internalEngine(),{ownerWindow:i}=e;s=i.setTimeout(()=>{e.scrollBody=function(e){const{location:r,previousLocation:o,offsetLocation:i,target:s,scrollTarget:a,index:l,indexPrevious:c,limit:{reachedMin:d,reachedMax:p,constrain:f},options:{loop:h}}=e,m="forward"===t.direction?-1:1,v=()=>O;let g=0,y=0,b=r.get(),w=0,x=!1;function E(){let e=0;o.set(r),g=m*t.speed,b+=g,r.add(g),s.set(r),e=b-w,y=Math.sign(e),w=b;const v=a.byDistance(0,!1).index;l.get()!==v&&(c.set(l.get()),l.set(v),n.emit("select"));const E="forward"===t.direction?d(i.get()):p(i.get());if(!h&&E){x=!0;const e=f(r.get());r.set(e),s.set(r),u()}return O}const O={direction:()=>y,duration:()=>-1,velocity:()=>g,settled:()=>x,seek:E,useBaseFriction:v,useBaseDuration:v,useFriction:v,useDuration:v};return O}(e),e.animation.start()},o),a=!0}function u(){if(r)return;if(!a)return;n.emit("autoScroll:stop");const e=n.internalEngine(),{ownerWindow:t}=e;e.scrollBody=i,t.clearTimeout(s),s=0,a=!1}function d(){l||u()}function p(){l||v()}function f(){l=!0,u()}function h(){l=!1,c()}function m(){n.off("settle",m),c()}function v(){n.on("settle",m)}return{name:"autoScroll",options:e,init:function(s,a){n=s;const{mergeOptions:l,optionsAtMedia:m}=a,v=l(Pg,kg.globalOptions),g=l(v,e);if(t=m(g),n.scrollSnapList().length<=1)return;o=t.startDelay,r=!1,i=n.internalEngine().scrollBody;const{eventStore:y}=n.internalEngine(),b=!!n.internalEngine().options.watchDrag,w=function(e,t){const n=e.rootNode();return t&&t(n)||n}(n,t.rootNode);b&&n.on("pointerDown",d),b&&!t.stopOnInteraction&&n.on("pointerUp",p),t.stopOnMouseEnter&&y.add(w,"mouseenter",f),t.stopOnMouseEnter&&!t.stopOnInteraction&&y.add(w,"mouseleave",h),t.stopOnFocusIn&&n.on("slideFocusStart",u),t.stopOnFocusIn&&!t.stopOnInteraction&&y.add(n.containerNode(),"focusout",c),t.playOnInit&&c()},destroy:function(){n.off("pointerDown",d).off("pointerUp",p).off("slideFocusStart",u).off("settle",m),u(),r=!0,a=!1},play:function(e){void 0!==e&&(o=e),c()},stop:function(){a&&u()},reset:function(){a&&(u(),v())},isPlaying:function(){return a}}}kg.globalOptions=void 0;const Mg=({bem:e})=>c.jsx(c.Fragment,{children:Array(12).fill(null).map((t,n)=>c.jsx("i",{className:Zd(e("line",String(n+1)))},n))}),jg=({bem:e})=>c.jsx("svg",Object.assign({className:Zd(e("circular")),viewBox:"25 25 50 50"},{children:c.jsx("circle",{cx:"50",cy:"50",r:"20",fill:"none"})})),Lg=({bem:e})=>c.jsxs("div",Object.assign({className:Zd(e("ball"))},{children:[c.jsx("div",{}),c.jsx("div",{}),c.jsx("div",{})]})),[Ag]=Yp("loading"),Ig=t=>{const{className:n,type:r="circular",vertical:o,color:i,size:s,textColor:a,children:l,textSize:u}=t,d=e.useMemo(()=>Object.assign({color:i},function(e){if(Vp(e)){const t=hf(e);return{width:t,height:t}}return{}}(s)),[i,s]);return c.jsxs("div",Object.assign({className:Zd(n,Ag([r,{vertical:o}])),style:t.style},{children:[c.jsx("span",Object.assign({className:Zd(Ag("spinner",r)),style:d},{children:(p=Ag,{spinner:c.jsx(Mg,{bem:p}),circular:c.jsx(jg,{bem:p}),ball:c.jsx(Lg,{bem:p})})[r]})),l?c.jsx("span",Object.assign({className:Zd(Ag("text")),style:{fontSize:hf(u),color:null!=a?a:i}},{children:l})):null]}));var p};function Rg(e,t){return Object.keys(t).forEach(n=>{!function(e,t,n){const r=t[n];Vp(r)&&(Object.prototype.hasOwnProperty.call(e,n)&&Wp(r)?e[n]=Rg(Object(e[n]),t[n]):e[n]=r)}(e,t,n)}),e}const Ng={locale:Rg({name:"å§å",tel:"çµè¯",save:"ä¿å",confirm:"确认",cancel:"åæ¶",delete:"å é¤",loading:"å è½½ä¸...",noCoupon:"ææ ä¼æ å¸",nameEmpty:"请填åå§å",telInvalid:"è¯·å¡«åæ£ç¡®ççµè¯",vanCalendar:{end:"ç»æ",start:"å¼å§",title:"æ¥æéæ©",confirm:"ç¡®å®",startEnd:"å¼å§/ç»æ",weekdays:["æ¥","ä¸","äº","ä¸","å","äº","å
"],monthTitle:(e,t)=>
28`${e}å¹´${t}æ`,rangePrompt:e=>`æå¤éæ© ${e} 天`},vanPicker:{select:"è¯·éæ©"},vanContactCard:{addText:"æ·»å è系人"},vanContactList:{addText:"æ°å»ºè系人"},vanPagination:{prev:"ä¸ä¸é¡µ",next:"ä¸ä¸é¡µ"},vanPullRefresh:{pulling:"䏿å³å¯å·æ°...",loosing:"éæ¾å³å¯å·æ°...",loading:"å è½½ä¸..."},vanSubmitBar:{label:"å计ï¼"},vanCoupon:{unlimited:"æ 使ç¨é¨æ§",discount:e=>`${e}æ`,condition:e=>`满${e}å
å¯ç¨`},vanCouponCell:{title:"伿 å¸",count:e=>`${e}å¼ å¯ç¨`},vanCouponList:{exchange:"å
æ¢",close:"ä¸ä½¿ç¨ä¼æ å¸",enable:"å¯ç¨",disabled:"ä¸å¯ç¨",placeholder:"请è¾å
¥ä¼æ ç "},vanAddressEdit:{area:"å°åº",postal:"鮿¿ç¼ç ",areaEmpty:"è¯·éæ©å°åº",addressEmpty:"请填å详ç»å°å",postalEmpty:"鮿¿ç¼ç 䏿£ç¡®",defaultAddress:"设为é»è®¤æ¶è´§å°å"},vanAddressEditDetail:{label:"详ç»å°å",placeholder:"è¡éé¨çä¿¡æ¯"},vanAddressList:{add:"æ°å¢å°å"}},{})},Dg=e.createContext(Ng);function $g(e,t,n){let r,o,i,s,a,l,c=0,u=!1,d=!1,p=!0;const f=!t&&0!==t&&"function"==typeof Zp.requestAnimationFrame;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){const n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n),s}function m(e,t){return f?(Zp.cancelAnimationFrame(a),Zp.requestAnimationFrame(e)):setTimeout(()=>e(),t)}function v(e){const n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function g(){const e=Date.now();if(v(e))return y(e);a=m(g,function(e){const n=e-c,r=t-(e-l);return d?Math.min(r,i-n):r}(e))}function y(e){return a=void 0,p&&r?h(e):(r=o=void 0,s)}function b(...e){const n=Date.now(),i=v(n);if(r=e,o=this,l=n,i){if(void 0===a)return function(e){return c=e,a=m(g,t),u?h(e):s}(l);if(d)return a=m(g,t),h(l)}return void 0===a&&(a=m(g,t)),s}return t=+t||0,Wp(n)&&(u=!!n.leading,d="maxWait"in n,i=d?Math.max(+n.maxWait||0,t):i,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==a&&function(e){if(f)return Zp.cancelAnimationFrame(e);clearTimeout(e)}(a),c=0,r=l=o=a=void 0},b.flush=function(){return void 0===a?s:y(Date.now())},b.pending=function(){return void 0!==a},b}function zg(t,n){var r;const o=Yf(t),i=null!==(r=null==n?void 0:n.wait)&&void 0!==r?r:1e3,s=e.useMemo(()=>function(e,t,n){let r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Wp(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),$g(e,t,{leading:r,trailing:o,maxWait:t})}((...e)=>o.current(...e),i,n),[]);return Xf(()=>{s.cancel()}),{run:s,cancel:s.cancel,flush:s.flush}}const[Bg]=Yp("list");const Fg=t.forwardRef((n,r)=>{const o=uh(n,{threshold:300}),{locale:i}=t.useContext(Dg),[s,a]=t.useState(!1),l=function(t){const n=e.useRef(!1);return e.useCallback((...e)=>p(this,void 0,void 0,function*(){if(!n.current){n.current=!0;try{const r=yield t(...e);return n.current=!1,r}catch(bb){throw n.current=!1,bb}}}),[t])}(e=>p(void 0,void 0,void 0,function*(){try{yield o.onLoad(e)}catch(bb){a(!0)}})),u=t.useRef(null),[d,f]=t.useState({}),h=t.useRef(d),[m,v]=t.useState(),{run:g}=zg(()=>p(void 0,void 0,void 0,function*(){if(h.current!==d)return;if(o.finished||s)return;const e=u.current;if(!e)return;if(!e.offsetParent)return;const t=oh(e);if(v(t),!t)return;const n=e.getBoundingClientRect().top,r=function(e){return e===window}(t)?window.innerHeight:t.getBoundingClientRect().bottom;if(r>=n-o.threshold){const e={};h.current=e,yield l(!1),f(e)}}),{wait:100,leading:!0,trailing:!0});function y(){return p(this,void 0,void 0,function*(){a(!1),yield l(!0),f(h.current)})}t.useEffect(()=>{g()}),t.useEffect(()=>{if(u.current&&m)return m.addEventListener("scroll",e),()=>{m.removeEventListener("scroll",e)};function e(){g()}},[m]);return t.useImperativeHandle(r,()=>({check:g})),c.jsxs("div",Object.assign({className:Zd(o.className,Bg()),style:o.style},{children:[o.children,c.jsx("div",Object.assign({className:Zd(o.className,Bg("loadmore")),ref:u},{children:o.finished?o.finishedText?c.jsx("div",Object.assign({className:Zd(Bg("finished"))},{children:o.finishedText})):null:s?o.errorText?"function"==typeof o.errorText?o.errorText(y):c.jsx("div",Object.assign({onClick:y,className:Zd(Bg("error"))},{children:o.errorText})):null:c.jsx(Ig,Object.assign({className:Zd(Bg("loading")),size:16},{children:o.loadingText||i.loading}))}))]}))}),Vg=e.forwardRef((e,t)=>
28{const n=uh(e,{offset:300});return c.jsx(Fg,Object.assign({ref:t,className:Zd(n.className),style:n.style,onLoad:n.onLoad,threshold:n.offset,finished:n.finished,finishedText:n.finishedText,loadingText:n.loadingText,errorText:n.errorText},{children:n.children}))});function Hg(){const e=t.useRef([]),n=t.useCallback(t=>n=>{n&&(e.current[t]=n)},[]),r=t.useCallback(()=>{e.current=[]},[]);return[e.current,n,r]}const Wg=e=>{const t=e;if(t===window){const e=t.innerWidth,n=t.innerHeight;return{top:0,left:0,right:e,bottom:n,width:e,height:n}}return t&&t.getBoundingClientRect?t.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},[qg]=Yp("sticky"),Gg=t=>{const n=uh(t,{offsetTop:0,offsetBottom:0,position:"top"}),[r,o]=Gf({fixed:!1,width:0,height:0,transform:0}),i=e.useRef(null),s=ih(i),a=e.useMemo(()=>vf("top"===n.position?n.offsetTop:n.offsetBottom),[n.position,n.offsetTop,n.offsetBottom]),l=e.useMemo(()=>{const{fixed:e,height:t,width:n}=r;return e?{width:`${n}px`,height:`${t}px`}:null},[r.fixed,r.height,r.width]),u=e.useMemo(()=>{if(!r.fixed)return null;const e=Bp(function(e){const t={};return void 0!==e&&(t.zIndex=+e),t}(n.zIndex),{width:`${r.width}px`,height:`${r.height}px`,[n.position]:`${a}px`});return r.transform&&(e.transform=`translate3d(0, ${r.transform}px, 0)`),e},[n.position,r.fixed,a,r.width,r.height,r.transform]),d=e.useCallback(()=>{if(!i.current||df(i.current))return;const{container:e,position:t}=n,r=Wg(i.current),s=sf(window),l={};if(l.width=r.width,l.height=r.height,"top"===t)if(e){const t=Wg(e.current),n=t.bottom-a-l.he
28ight;l.fixed=a>r.top&&t.bottom>0,l.transform=n<0?n:0}else l.fixed=a>r.top;else{const{clientHeight:t}=document.documentElement;if(e){const n=Wg(e.current),o=t-n.top-a-l.height;l.fixed=t-a<r.bottom&&t>n.top,l.transform=o<0?-o:0}else l.fixed=t-a<r.bottom}o(l),((e,t)=>{n.onScroll&&n.onScroll({scrollTop:e,isFixed:t})})(s,l.fixed)},[a]);return Hf("scroll",d,{target:s,depends:[a]}),function(t,n){const[r,o]=e.useState();e.useEffect(()=>{if(!Fp||!window.IntersectionObserver)return null;const e=new IntersectionObserver(e=>{null==n||n(e[0].intersectionRatio>0);for(const t of e)o(t.isIntersecting)},{root:document.body});return t.current&&e.observe(t.current),()=>{t.current&&e.unobserve(t.current)}},[t.current])}(i,d),Uf(()=>{var e;null===(e=n.onChange)||void 0===e||e.call(n,r.fixed)},[r.fixed]),c.jsx("div",Object.assign({ref:i,style:l},{children:c.jsx("div",Object.assign({className:Zd(qg({fixed:r.fixed})),style:u},{children:n.children}))}))},[Ug]=Yp("badge"),Yg=e=>{const t=uh(e,{tag:"div",showZero:!0}),{content:n,max:r,dot:o,showZero:i,tag:s="div"}=t,a=s,l=()=>!!t.content||Vp(n)&&""!==n&&(i||0!==+n),u=()=>{if(l()||t.dot){let e={background:t.color};if(t.offset){const[n,r]=t.offset;t.children?(e.top=hf(r),e.right=hf(n)):(e.marginTop=hf(r),e.marginLeft=hf(n))}return t.children||(e=Object.assign(Object.assign({},t.style),e)),c.jsx("div",Object.assign({className:Zd({[t.className]:t.className&&!t.children},Ug({dot:t.dot,fixed:!!t.children})),style:e},{children:!o&&l()?Vp(r)&&pf(null==n?void 0:n.toString())&&+n>r?`${r}+`:n:null}))}return null};return t.children?c.jsxs(a,Object.assign({className:Zd(Ug("wrapper"),t.className),style:t.style,onClick:t.onClick,onTouchStart:t.onTouchStart},{children:[t.children,u()]})):u()},[Xg]=Yp("tab"),Kg=e.forwardRef((t,n)=>{const{type:r,color:o,isActive:i,activeColor:s,inactiveColor:a,disabled:l,className:u}=t,d=e.useMemo(()=>{const e=Object.assign({},t.style),n="card"===r;o&&(n&&(e.borderColor=o),l||(n&&(i?e.backgroundColor=o:e.color=o),"line"!==t.type&&"jumbo"!==t.type||!i||(e.color=o)));const c=i?s:a;return c&&(e.color=c),e},[r,o,l,i,s,a]);return c.jsx("div",Object.assign({ref:n,className:Zd([Xg({active:t.isActive,disabled:t.disabled}),u]),style:d,"aria-selected":t.isActive,onClick:t.onClick},{children:(()=>{const e=c.jsx("span",Object.assign({className:Zd(Xg("text",{ellipsis:!t.scrollable&&"jumbo"!==t.type})),style:{backgroundColor:"capsule"===t.type&&i&&o}},{children:"function"==typeof t.title?t.title(i):t.title})),n="jumbo"===t.type&&t.description?c.jsx("div",Object.assign({className:Zd(Xg("description")),style:{backgroundColor:i&&o}},{children:"function"==typeof t.description?t.description(i):t.description})):null,r=c.jsxs(c.Fragment,{children:[e,n]});if(t.badge){const e=Wp(t.badge)?t.badge:{content:t.badge};return c.jsx(Yg,Object.assign({},e,{children:r}))}return r})()}))});const Qg={toVector:(e,t)=>(void 0===e&&(e=t),Array.isArray(e)?e:[e,e]),add:(e,t)=>[e[0]+t[0],e[1]+t[1]],sub:(e,t)=>[e[0]-t[0],e[1]-t[1]],addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function Zg(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function Jg(e,t,n,r=.15){return 0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-Zg(t-e,n-t,r)+t:e>n?+Zg(e-n,n-t,r)+n:e}function ey(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ty(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ny(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ty(Object(n),!0).forEach(function(t){ey(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ty(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const ry={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function oy(e){return e?e[0].toUpperCase()+e.slice(1):""}const iy=["enter","leave"];function sy(e,t="",n=!1){const r=ry[e],o=r&&r[t]||t;return"on"+oy(e)+oy(o)+(function(e=!1,t){return e&&!iy.includes(t)}(n,o)?"Capture":"")}const ay=["gotpointercapture","lostpointercapture"];function ly(e){let t=e.substring(2).toLowerCase();const n=!!~t.indexOf("passive");n&&(t=t.replace("passive",""));const r=ay.includes(t)?"capturecapture":"capture",o=!!~t.indexOf(r);return o&&(t=t.replace("capture","")),{device:t,capture:o,passive:n}}function cy(e){return"touches"in e}function uy(e){return cy(e)?"touch":"pointerType"in e?e.pointerType:"mouse"}function dy(e){return cy(e)?function(e){return"touchend"===e.type||"touchcancel"===e.type?e.changedTouches:e.targetTouches}(e)[0]:e}function py(e){return function(e){return Array.from(e.touches).filter(t=>{var n,r;return t.target===e.currentTarget||(null===(n=e.currentTarget)||void 0===n||null===(r=n.contains)||void 0===r?void 0:r.call(n,t.target))})}(e).map(e=>e.identifier)}function fy(e){const t=dy(e);return cy(e)?t.identifier:t.pointerId}function hy(e){const t=dy(e);return[t.clientX,t.clientY]}function my(e,...t){return"function"==typeof e?e(...t):e}function vy(){}function gy(...e){return 0===e.length?vy:1===e.length?e[0]:function(){let t;for(const n of e)t=n.apply(this,arguments)||t;return t}}function yy(e,t){return Object.assign({},t,e||{})}class by{constructor(e,t,n){this.ctrl=e,this.args=t,this.key=n,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}
28get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:e,shared:t,ingKey:n,args:r}=this;t[n]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=r,e.axis=void 0,e.memo=void 0,e.elapsedTime=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){const t=this.state,n=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=e.target,t.currentTarget=e.currentTarget,t.lastOffset=n.from?my(n.from,t):t.offset,t.offset=t.lastOffset),t.startTime=t.timeStamp=e.timeStamp}computeValues(e){const t=this.state;t._values=e,t.values=this.config.transform(e)}computeInitial(){const e=this.state;e._initial=e._values,e.initial=e.values}compute(e){const{state:t,config:n,shared:r}=this;t.args=this.args;let o=0;if(e&&(t.event=e,n.preventDefault&&e.cancelable&&t.event.preventDefault(),t.type=e.type,r.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,r.locked=!!document.pointerLockElement,Object.assign(r,function(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:n,altKey:r,metaKey:o,ctrlKey:i}=e;Object.assign(t,{shiftKey:n,altKey:r,metaKey:o,ctrlKey:i})}return t}(e)),r.down=r.pressed=r.buttons%2==1||r.touches>0,o=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);Qg.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[i,s]=t._movement,[a,l]=n.threshold,{_step:c,values:u}=t;if(n.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(i)>=a&&u[0]),!1===c[1]&&(c[1]=Math.abs(s)>=l&&u[1])):(!1===c[0]&&(c[0]=Math.abs(i)>=a&&Math.sign(i)*a),!1===c[1]&&(c[1]=Math.abs(s)>=l&&Math.sign(s)*l)),t.intentional=!1!==c[0]||!1!==c[1],!t.intentional)return;const d=[0,0];if(n.hasCustomTransform){const[e,t]=u;d[0]=!1!==c[0]?e-c[0]:0,d[1]=!1!==c[1]?t-c[1]:0}else d[0]=!1!==c[0]?i-c[0]:0,d[1]=!1!==c[1]?s-c[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(d);const p=t.offset,f=t._active&&!t._blocked||t.active;f&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=r[this.ingKey]=t._active,e&&(t.first&&("bounds"in n&&(t._bounds=my(n.bounds,t)),this.setup&&this.setup()),t.movement=d,this.computeOffset()));const[h,m]=t.offset,[[v,g],[y,b]]=t._bounds;t.overflow=[h<v?-1:h>g?1:0,m<y?-1:m>b?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);const w=t._active&&n.rubberband||[0,0];if(t.offset=function(e,[t,n],[r,o]){const[[i,s],[a,l]]=e;return[Jg(t,i,s,r),Jg(n,a,l,o)]}(t._bounds,t.offset,w),t.delta=Qg.sub(t.offset,p),this.computeMovement(),f&&(!t.last||o>32)){t.delta=Qg.sub(t.offset,p);const e=t.delta.map(Math.abs);Qg.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&o>0&&(t.velocity=[e[0]/o,e[1]/o])}}emit(){const e=this.state,t=this.shared,n=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;const r=this.handler(ny(ny(ny({},t),e),{},{[this.aliasKey]:e.values}));void 0!==r&&(e.memo=r)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class wy extends by{constructor(...e){super(...e),ey(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=Qg.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=Qg.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){const t=this.state,n=this.config;if(!t.axis&&e){const r="object"==typeof n.axisThreshold?n.axisThreshold[uy(e)]:n.axisThreshold;t.axis=function([e,t],n){const r=Math.abs(e),o=Math.abs(t);return r>o&&r>n?"x":o>r&&o>n?"y":void 0}(t._movement,r)}t._blocked=(n.lockDirection||!!n.axis)&&!t.axis||!!n.axis&&n.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}const xy=e=>e,Ey={enabled:(e=!0)=>e,eventOptions:(e,t,n)=>ny(ny({},n.shared.eventOptions),e),preventDefault:(e=!1)=>e,triggerAllEvents:(e=!1)=>e,rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return Qg.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?Qg.toVector(e):void 0,transform(e,t,n){const r=e||n.shared.transform;return this.hasCustomTransform=!!r,r||xy},threshold:e=>Qg.toVector(e,0)},Oy=ny(ny({},Ey),{},{axis(e,t,{axis:n}){if(this.lockDirection="lock"===n,!this.lockDirection)return n},axisThreshold:(e=0)=>e,bounds(e={}){if("function"==typeof e)return t=>Oy.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:r=-1/0,bottom:o=1/0}=e;return[[t,n],[r,o]]}}),Sy={ArrowRight:(e=1)=>[10*e,0],ArrowLeft:(e=1)=>[-10*e,0],ArrowUp:(e=1)=>[0,-10*e],ArrowDown:(e=1)=>[0,10*e]};const Ty="undefined"!=typeof window&&window.document&&window.document.createElement;function Cy(){return Ty&&"ontouchstart"in window||Ty&&window.navigator.maxTouchPoints>1}const _y={isBrowser:Ty,gesture:function(){try{return"constructor"in GestureEvent}catch(bb){return!1}}(),touch:Cy(),touchscreen:Cy(),pointer:Ty&&"onpointerdown"in window,pointerLock:Ty&&"exitPointerLock"in window.document},Py={mouse:0,touch:0,pen:8},ky=ny(ny({},Oy),{},{device(e,t,{pointer:{touch:n=!1,lock:r=!1,mouse:o=!1}={}}){return this.pointerLock=r&&_y.pointerLock,_y.touch&&n?"touch":this.pointerLock?"mouse":_y.pointer&&!o?"pointer":_y.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay="number"==typeof n?n:n||void 0===n&&e?250:void 0,_y.touchscreen&&!1!==n)return e||(void 0!==n?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:r=1}={}}){return this.pointerButtons=r,!this.pointerLock&&"pointer"===this.device&&n},keys:(e=!0)=>e,threshold(e,t,{filterTaps:n=!1,tapsThreshold:r=3,axis:o}){const i=Qg.toVector(e,n?r:o?1:0);return this.filterTaps=n,this.tapsThreshold=r,i},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(Qg.toVector(e)),distance:this.transform(Qg.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?ny(ny({},Py),e):Py});ny(ny({},Ey),{},{device(e,t,{shared:n,pointer:{touch:r=!1}={}}){if(n.target&&!_y.touch&&_y.gesture)return"gesture";if(_y.touch&&r)return"touch";if(_y.touchscreen){if(_y.pointer)return"pointer";if(_y.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:r={}}){const o=e=>{const t=yy(my(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},i=e=>{const t=yy(my(r,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof r?[o(),i()]:e=>[o(e),i(e)]},threshold(e,t,n){this.lockDirection="lock"===n.axis;return Qg.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e}),ny(ny({},Oy),{},{mouseOnly:(e=!0)=>e}),ny(ny({},Oy),{},{mouseOnly:(e=!0)=>e});const My=new Map,jy=new Map;const Ly={key:"drag",engine:class extends wy{constructor(...e){super(...e),ey(this,"ingKey","dragging")}reset(){super.reset();const e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){const e=this.state;if(e._bounds instanceof HTMLElement){const t=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),r={left:t.left-n.left+e.offset[0],right:t.right-n.right+e.offset[0],top:t.top-n.top+e.offset[1],bottom:t.bottom-n.bottom+e.offset[1]};e._bounds=Oy.bounds(r)}}cancel(){const e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout(()=>
28{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){const t=this.config,n=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;const r=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),r&&r.size>1&&n._pointerActive||(this.start(e),this.setupPointer(e),n._pointerId=fy(e),n._pointerActive=!0,this.computeValues(hy(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==uy(e)?(n._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){const t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){const t=this.state,n=this.config;if(!t._pointerActive)return;if(t.type===e.type&&e.timeStamp===t.timeStamp)return;const r=fy(e);if(void 0!==t._pointerId&&r!==t._pointerId)return;const o=hy(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=Qg.sub(o,t._values),this.computeValues(o)),Qg.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional?(this.timeoutStore.remove("dragDelay"),t.active=!1,void this.startPointerDrag(e)):n.preventScrollAxis&&!t._preventScroll?t.axis?t.axis===n.preventScrollAxis||"xy"===n.preventScrollAxis?(t._active=!1,void this.clean()):(this.timeoutStore.remove("startPointerDrag"),void this.startPointerDrag(e)):void 0:void this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(s){}const t=this.state,n=this.config;if(!t._active||!t._pointerActive)return;const r=fy(e);if(void 0!==t._pointerId&&r!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[o,i]=t._distance;if(t.tap=o<=n.tapsThreshold&&i<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{const[e,r]=t.direction,[o,i]=t.velocity,[s,a]=t.movement,[l,c]=n.swipe.velocity,[u,d]=n.swipe.distance,p=n.swipe.duration;t.elapsedTime<p&&(Math.abs(o)>l&&Math.abs(s)>u&&(t.swipe[0]=e),Math.abs(i)>c&&Math.abs(a)>d&&(t.swipe[1]=r))}this.emit()}pointerClick(e){this.state.tap||(e.preventDefault(),e.stopPropagation())}setupPointer(e){const t=this.config,n=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,function(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}(e);const t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(e)},this.config.delay)}keyDown(e){const t=Sy[e.key];if(t){const n=this.state,r=e.shiftKey?10:e.altKey?.1:1;this.start(e),n._delta=t(r),n._keyboardActive=!0,Qg.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in Sy&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){const t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}},resolver:ky};function Ay(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const Iy={target(e){if(e)return()=>"current"in e?e.current:e},enabled:(e=!0)=>e,window:(e=(_y.isBrowser?window:void 0))=>e,eventOptions:({passive:e=!0,capture:t=!1}={})=>({passive:e,capture:t}),transform:e=>e},Ry=["target","eventOptions","window","enabled","transform"];function Ny(e={},t){const n={};for(const[r,o]of Object.entries(t))switch(typeof o){case"function":n[r]=o.call(n,e[r],r,e);break;case"object":n[r]=Ny(e[r],o);break;case"boolean":o&&(n[r]=e[r])}return n}class Dy{constructor(e,t){ey(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,r,o){const i=this._listeners,s=function(e,t=""){const n=ry[e];return e+(n&&n[t]||t)}(t,n),a=ny(ny({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),o);e.addEventListener(s,r,a);const l=()=>{e.removeEventListener(s,r,a),i.delete(l)};return i.add(l),l}
28clean(){this._listeners.forEach(e=>e()),this._listeners.clear()}}class $y{constructor(){ey(this,"_timeouts",new Map)}add(e,t,n=140,...r){this.remove(e),this._timeouts.set(e,window.setTimeout(t,n,...r))}remove(e){const t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach(e=>{window.clearTimeout(e)}),this._timeouts.clear()}}class zy{constructor(e){ey(this,"gestures",new Set),ey(this,"_targetEventStore",new Dy(this)),ey(this,"gestureEventStores",{}),ey(this,"gestureTimeoutStores",{}),ey(this,"handlers",{}),ey(this,"config",{}),ey(this,"pointerIds",new Set),ey(this,"touchIds",new Set),ey(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),function(e,t){t.drag&&By(e,"drag");t.wheel&&By(e,"wheel");t.scroll&&By(e,"scroll");t.move&&By(e,"move");t.pinch&&By(e,"pinch");t.hover&&By(e,"hover")}(this,e)}setEventIds(e){return cy(e)?(this.touchIds=new Set(py(e)),this.touchIds):"pointerId"in e?("pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds):void 0}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t){const n=e,{target:r,eventOptions:o,window:i,enabled:s,transform:a}=n,l=Ay(n,Ry),c={shared:Ny({target:r,eventOptions:o,window:i,enabled:s,transform:a},Iy)};if(t){const e=jy.get(t);c[t]=Ny(ny({shared:c.shared},l),e)}else for(const u in l){const e=jy.get(u);e&&(c[u]=Ny(ny({shared:c.shared},l[u]),e))}return c}(e,t)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const t=this.config.shared,n={};let r;if(!t.target||(r=t.target(),r)){if(t.enabled){for(const t of this.gestures){const o=this.config[t],i=Fy(n,o.eventOptions,!!r);if(o.enabled){new(My.get(t))(this,e,t).bind(i)}}const o=Fy(n,t.eventOptions,!!r);for(const t in this.nativeHandlers)o(t,"",n=>this.nativeHandlers[t](ny(ny({},this.state.shared),{},{event:n,args:e})),void 0,!0)}for(const e in n)n[e]=gy(...n[e]);if(!r)return n;for(const e in n){const{device:t,capture:o,passive:i}=ly(e);this._targetEventStore.add(r,t,"",n[e],{capture:o,passive:i})}}}}function By(e,t){e.gestures.add(t),e.gestureEventStores[t]=new Dy(e,t),e.gestureTimeoutStores[t]=new $y}const Fy=(e,t,n)=>(r,o,i,s={},a=!1)=>{var l,c;const u=null!==(l=s.capture)&&void 0!==l?l:t.capture,d=null!==(c=s.passive)&&void 0!==c?c:t.passive;let p=a?r:sy(r,o,u);n&&d&&(p+="Passive"),e[p]=e[p]||[],e[p].push(i)};function Vy(e,n){var r;return r=Ly,My.set(r.key,r.engine),jy.set(r.key,r.resolver),function(e,n={},r,o){const i=t.useMemo(()=>new zy(e),[]);if(i.applyHandlers(e,o),i.applyConfig(n,r),t.useEffect(i.effect.bind(i)),t.useEffect(()=>i.clean.bind(i),[]),void 0===n.target)return i.bind.bind(i)}({drag:e},n||{},"drag")}const[Hy]=Yp("swiper-item"),Wy=t.forwardRef((n,r)=>{const o=t.useRef(null);t.useImperativeHandle(r,()=>({self:o.current}));const[i]=function(t,n){const[r,o]=e.useState(),[i,s]=e.useState();return Jf(()=>{const e=Of(t);if(!e)return;const r=new IntersectionObserver(e=>{for(const t of e)s(t.intersectionRatio),o(t.isIntersecting)},Object.assign(Object.assign({},n),{root:Of(null==n?void 0:n.root)}));return r.observe(e),()=>{r.disconnect()}},[],t),[r,i]}(o,{rootMargin:"-0.1px",threshold:0,root:()=>{var e;return null===(e=n.trackRef)||void 0===e?void 0:e.current}});return c.jsx("div",Object.assign({ref:o,className:Zd(n.className,Hy({hidden:n.autoHeight&&!1===i})),onClick:n.onClick,style:n.style},{children:n.children}))}),qy=Wy;function Gy(e,t,n){let r=e;return void 0!==t&&(r=Math.max(e,t)),void 0!==n&&(r=Math.min(r,n)),r}const[Uy]=Yp("indicator"),Yy=t.memo(e=>{var{vertical:t}=e,n=d(e,["vertical"]);const r=[];for(let o=0;o<n.total;o++)r.push(c.jsx("div",{className:Zd(Uy("dot",{active:n.current===o}))},o));return c.jsx("div",Object.assign({className:Zd(n.className,Uy({vertical:t})),style:n.style},{children:r}))}),[Xy]=Yp("swiper"),Ky=e.forwardRef((n,r)=>{const o=uh(n,{initialSwipe:0,loop:!0,touchable:!0,enabled:!0,rubberband:!0,autoplay:!1,slideSize:100,trackOffset:0,stuckAtBoundary:!1,preventScroll:!0}),{loop:i,autoplay:s,vertical:a,duration:l,autoHeight:u}=o,d=a?"y":"x",p=o.slideSize/100,f=o.trackOffset/100,{validChildren:h,count:m}=e.useMemo(()=>{let e=0;return{validChildren:t.Children.map(o.children,n=>t.isValidElement(n)?n.type!==qy?null:(e++,n):null),count:e}},[o.children]),v=e.useRef(null),[g,y]=Hg(),[b,w]=e.useState(()=>o.enabled),[x,E]=e.useState(o.initialSwipe),[O,S,T]=Wf(!1),C=e.useMemo(()=>Object.assign({"--rv-swipe-slide-size":`${o.slideSize}%`,"--rv-swipe-track-offset":`${o.trackOffset}%`},o.style),[o.slideSize,o.trackOffset,o.style]),_=e.useMemo(()=>!(p*(m-1)<1)&&i,[m,i,p]),P=()=>{const e=v.current;if(!e)return 0;return(a?e.offsetHeight:e.offsetWidth)*o.slideSize/100},k=e=>{let t=0,n=m-1;return o.stuckAtBoundary&&(t+=(1-p-f)/p,n-=(1-p-f)/p),Gy(e,t,n)},[{position:M},j]=Ja(()=>({position:100*k(x),config:{tension:200,friction:30,duration:l},onRest:()=>{if(T.current)return;if(!_)return;const e=M.get(),t=Qy(e,100*m);t!==e&&j.start({position:t,immediate:!0})}}),[m]),L=Vy(e=>{var t;const n=P();if(!n)return;if(!o.preventScroll&&Zy(e.target,null===(t=g[x])||void 0===t?void 0:t.self))return;const r=a?1:0,i=e.offset[r],s=e.direction[r],l=e.velocity[r];if(S(!0),e.last){A(Math.round((i+Math.min(2e3*l,n)*s)/n)),window.setTimeout(()=>{S(!1)})}else j.start({position:100*i/n,immediate:!0})},{enabled:b,transform:([e,t])=>[-e,-t],from:()=>{const e=P();return[M.get()/100*e,M.get()/100*e]},bounds:()=>
28{if(_)return{};const e=P(),t=k(0)*e,n=k(m-1)*e;return a?{top:t,bottom:n}:{left:t,right:n}},rubberband:o.rubberband,axis:d,preventScroll:"x"===d&&o.preventScroll,pointer:{touch:!0}});function A(e,t=!1){const n=Math.round(e),r=_?Qy(n,m):Gy(n,0,m-1);E(r),j.start({position:100*(_?n:k(n)),immediate:t})}const I=()=>{A(Math.round(M.get()/100)+1)},R=()=>{A(Math.round(M.get()/100)-1)};e.useImperativeHandle(r,()=>({activeIndex:x,swipeTo:A,swipeNext:I,swipePrev:R,enable:()=>{w(!0)},disable:()=>{w(!1)}})),sh(()=>{const e=h.length-1;x>e&&A(e,!0)}),Uf(()=>{var e;null===(e=o.onChange)||void 0===e||e.call(o,x)},[x]),e.useEffect(()=>{if(!s||O)return zp;const e="boolean"==typeof s?5e3:s,t=window.setInterval(()=>{I()},e);return()=>{window.clearInterval(t)}},[s,O]);return c.jsxs("div",Object.assign({className:Zd(o.className,Xy({vertical:a})),style:C},{children:[c.jsx("div",Object.assign({ref:v,className:Zd(Xy("track",{"allow-touch-move":o.touchable})),onClickCapture:e=>{T.current&&e.stopPropagation()}},o.touchable?L():{},{children:_?c.jsx("div",Object.assign({className:Zd(Xy("track-inner",{vertical:a}))},{children:t.Children.map(h,(e,n)=>c.jsx(vl.div,Object.assign({className:Zd(Xy("slide")),style:{[d]:M.to(e=>{let t=100*n-e;const r=100*m,o=r/2;return t=Qy(t+o,r)-o,`${t}%`}),[a?"top":"left"]:`-${100*n}%`}},{children:t.cloneElement(e,{ref:y(n),autoHeight:u,trackRef:v})})))})):c.jsx(vl.div,Object.assign({className:Zd(Xy("track-inner")),style:{[d]:M.to(e=>-e+"%")}},{children:t.Children.map(h,(e,n)=>c.jsx("div",Object.assign({className:Zd(Xy("slide"))},{children:t.cloneElement(e,{ref:y(n),autoHeight:u})})))}))})),void 0===o.indicator||!0===o.indicator?c.jsx("div",Object.assign({className:Zd(Xy("indicator",{vertical:a}))},{children:c.jsx(Yy,Object.assign({},o.indicatorProps,{vertical:a,total:m,current:x}))})):"function"==typeof o.indicator?o.indicator(m,x):null]}))});function Qy(e,t){const n=e%t;return n<0?n+t:n}function Zy(e,t){return!!t&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight||!(!e.parentElement||e.parentElement===t)&&Zy(e.parentElement,t))}const Jy=Object.assign(Ky,{Item:qy}),[eb]=Yp("tabs"),tb=n=>{const r=e.useRef(!1),{animated:o,swipeable:i,duration:s,swiperRef:a}=n,l="boolean"==typeof i?{}:i;return e.useEffect(()=>{(e=>{const t=a.current;t&&t.activeIndex!==e&&(r.current=!0,t.swipeTo(e))})(n.currentIndex)},[n.currentIndex]),c.jsx("div",Object.assign({className:Zd(eb("content",{animated:o||i}))},{children:o||i?c.jsx(Jy,Object.assign({},l,{ref:a,rubberband:!1,stuckAtBoundary:!0,loop:!1,autoplay:!1,touchable:!!i,className:Zd(eb("track")),duration:+s,indicator:!1,onChange:e=>{var t;r.current?r.current=!1:null===(t=n.onChange)||void 0===t||t.call(n,e)}},{children:t.Children.map(n.children,e=>c.jsx(Jy.Item,Object.assign({style:{cursor:i?void 0:"auto"},className:Zd(eb("pane-wrapper"))},{children:e})))})):n.children}))},nb=e.createContext({});function rb(e=0){return function(){let e=0,t=0,n=0;return document.body&&(t=document.body.scrollTop),document.documentElement&&(n=document.documentElement.scrollTop),e=t-n>0?t:n,e}()+function(){let e=0;return e="CSS1Compat"===document.compatMode?document.documentElement.clientHeight:document.body.clientHeight,e}()+e>=function(){let e=0,t=0,n=0;return document.body&&(t=document.body.scrollHeight),document.documentElement&&(n=document.documentElement.scrollHeight),e=t-n>0?t:n,e}()}const[ob]=Yp("tabs"),ib=(e,t)=>{var n;return null!==(n=null==e?void 0:e.name)&&void 0!==n?n:t},sb=e.forwardRef((n,r)=>{const o=uh(n,{type:"line",duration:300,swipeThreshold:5,offsetTop:0,ellipsis:!0,lazyRender:!0,stickyInitScrollbar:!0,defaultActive:0,align:"center"}),{children:i,color:s,align:a,background:l}=o,u=e.useRef(null),d=e.useRef(null),p=e.useRef(null),f=e.useRef(!1),h=e.useRef(!1),m=e.useRef(!0),v=e.useRef(null),g=ih(u),[y,b]=Hg(),[w,x]=Hg(),E=e.useMemo(()=>{return p.current?of(e=p.current)?e.innerHeight:e.getBoundingClientRect().height:0;var e},[p.current]),O=e.useMemo(()=>function(e){return t.Children.toArray(e).map(e=>
28{if(t.isValidElement(e)){const t=void 0!==e.key?String(e.key):void 0;return Object.assign(Object.assign({key:t},e.props),{node:e})}return null}).filter(e=>e)}(o.children),[o.children]),S=e.useMemo(()=>{if(o.scrollspy)return 0;const e=void 0===o.active?o.defaultActive:o.active;let t=O.findIndex((t,n)=>ib(t,n)===e);return t<0&&(t=0),t},[o.scrollspy,o.active,o.defaultActive]),[T,C]=Wf(S),_=e.useMemo(()=>O.length>o.swipeThreshold||!o.ellipsis,[O.length,o.swipeThreshold,o.ellipsis]),P=e.useMemo(()=>({borderColor:"card"===o.type?s:void 0,background:l}),[s,l]),k=e.useMemo(()=>{const e=null==O?void 0:O[T];return e?ib(e,T):0},[O,T]),M=e.useMemo(()=>vf(o.offsetTop),[o.offsetTop]),[j,L]=e.useState(0),[A,I]=e.useState(!1);Uf(()=>{const e=df(u.current),t=null==y?void 0:y[T];t&&!e&&"line"===o.type&&(I(!0),L(t.offsetLeft+t.offsetWidth/2))},[u.current,y,o.type,T,O]);const R=e.useMemo(()=>{const{lineWidth:e,lineHeight:t}=o,n={width:hf(e),backgroundColor:s,transitionDuration:`${m.current?0:o.duration}ms`,display:A?"inherit":"none"};if(j&&(n.transform=`translateX(${j}px) translateX(-50%)`),t){const e=hf(t);n.height=e,n.borderRadius=e}return n},[s,o.lineHeight,o.lineWidth,j,m.current,A]),N=e=>{var t;const n=(e=>{var t;const n=e<T?-1:1;for(;e>=0&&e<O.length;){if(!(null===(t=O[e])||void 0===t?void 0:t.disabled))return e;e+=n}return null})(e);if(null===n)return;const r=O[n],i=ib(r,n);C(n),null===(t=o.onChange)||void 0===t||t.call(o,i,n)},D=e=>{var t,n;if(!o.scrollspy)return;const r=w[null!=e?e:T];if(r&&g){const e=!Wp(o.scrollspy)||(null===(n=null===(t=o.scrollspy)||void 0===t?void 0:t.scrollImmediate)||void 0===n||n),i=Math.ceil(af(r,g)-(M+E));f.current=!0,function(e,t,n,r){let o=sf(e);const i=o<t,s=0===n?1:Math.round(n/16),a=(t-o)/s;!function n(){o+=a,(i&&o>t||!i&&o<t)&&(o=t),cf(e,o),i&&o<t||!i&&o>t?rf(n):r&&rf(r)}()}(g,i,e?0:+o.duration,()=>{f.current=!1})}},$=e=>{const t=v.current,n=null==y?void 0:y[T];if(!_||!t||!n)return;uf(t,n.offsetLeft-(t.offsetWidth-n.offsetWidth)/2,e?0:+o.duration)},z=()=>O.map((e,t)=>c.jsx(Kg,{ref:b(t),type:o.type,badge:e.badge,title:e.title,description:e.description,color:s,style:e.titleStyle,className:e.titleClass,isActive:t===T,disabled:e.disabled,scrollable:_,activeColor:o.titleActiveColor,inactiveColor:o.titleInactiveColor,onClick:n=>{((e,t,n)=>{var r;const{disabled:i=!1}=e,s=ib(e,t);null===(r=o.onClickTab)||void 0===r||r.call(o,{name:s,event:n,disabled:i,index:t}),i||fh({interceptor:o.beforeChange,args:[s],done:()=>{t!==T&&(N(t),D(t))}})})(e,t,n)}},e.key)),B=()=>{const{type:e,border:t}=o;return c.jsx("div",Object.assign({ref:p,className:Zd([ob("wrap",{scrollable:_}),{[xf]:"card"!==e&&t}])},{children:c.jsxs("div",Object.assign({ref:v,role:"tablist",className:Zd(ob("nav",[e,{complete:_,start:"start"===a}])),style:P},{children:[o.navLeft,z(),"line"===e&&!m.current&&c.jsx("div",{className:Zd(ob("line")),style:R}),o.navRight]}))}))};return Uf(()=>{if(void 0!==o.active&&o.active!==k){const e=O.findIndex((e,t)=>ib(e,t)===o.active);e>-1&&e!==T&&(C(e),D(e))}},[o.active]),Uf(()=>{var e;$(),h.current&&o.stickyInitScrollbar&&!o.scrollspy&&(e=Math.ceil(af(u.current)-M),cf(window,e))},[T]),e.useEffect(()=>{m.current=!1,$(!0)},[]),Hf("scroll",()=>{if(!o.scrollspy||f.current)return;let e=(()=>{const e=M+E;for(let t=0;t<w.length;t++)if(lf(w[t])>e)return 0===t?0:t-1;return y.length-1})();"object"==typeof o.scrollspy&&o.scrollspy.autoFocusLast&&rb(o.scrollspy.reachBottomThreshold)&&(e=y.length-1),e!==T&&N(e)},{target:g,depends:[T]}),e.useImperativeHandle(r,()=>{var e,t;return{scrollTo:e=>{const t=O.findIndex((t,n)=>ib(t,n)===e);t>-1&&t!==T&&(C(t),D(t))},swiper:d.current?{enable:null===(e=d.current)||void 0===e?void 0:e.enable,disable:null===(t=d.current)||void 0===t?void 0:t.disable}:void 0}}),c.jsx(nb.Provider,Object.assign({value:{props:o,currentName:k,scrollIntoView:$}},{children:c.jsxs("div",Object.assign({ref:u,className:Zd(o.className,ob([o.type])),style:o.style},{children:[o.sticky?c.jsxs(Gg,Object.assign({container:u,offsetTop:M,onScroll:e=>{var t;h.current=e.isFixed,null===(t=o.onScroll)||void 0===t||t.call(o,e)}},{children:[B(),o.navBottom]})):c.jsxs(c.Fragment,{children:[B(),o.navBottom]}),c.jsx(tb,Object.assign({swiperRef:d,count:O.length,animated:o.animated,duration:o.duration,swipeable:o.swipeable,lazyRender:o.lazyRender,currentIndex:T,onChange:N}
28,{children:t.Children.toArray(i).filter(Boolean).map((e,n)=>t.cloneElement(e,{index:n,ref:x(n)}))}))]}))}))}),[ab]=Yp("tab"),lb=e.forwardRef((t,n)=>{const r=e.useContext(nb),{animated:o,swipeable:i,scrollspy:s,lazyRender:a,lazyRenderPlaceholder:l}=r.props,{index:u}=t,d=e.useMemo(()=>{var e;return null!==(e=t.name)&&void 0!==e?e:u},[u,t.name]),p=e.useMemo(()=>d===r.currentName,[d,r.currentName]),[f,h]=e.useState(()=>p),m=e.useMemo(()=>(p&&!f&&h(!0),p),[p,f]),v=s||m,g=f||s||!a?t.children:l;return o||i?c.jsx("div",Object.assign({ref:n,role:"tabpanel",className:Zd(ab("pane"))},{children:g})):c.jsx("div",Object.assign({ref:n,style:{display:v?"block":"none"},role:"tabpanel",className:Zd(ab("pane"))},{children:g}))}),cb=Object.assign(sb,{TabPane:lb});var ub=e=>!e.firstChild||e.firstChild.offsetParent===e,db=(e,t)=>{let n=e,r=0;ub(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do{r+=n.offsetTop,n=n.offsetParent}while(n&&n!==t);return r},pb=null;"undefined"!=typeof CSS&&CSS.supports&&(CSS.supports("position","sticky")?pb="sticky":CSS.supports("position","-webkit-sticky")&&(pb="-webkit-sticky"));var fb=!1;try{const e=Object.defineProperty({},"passive",{get(){fb={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch(bb){}var hb=e=>{const{el:t,onChange:n,unsubs:r,measure:o}=e;if(t===window){const e=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),t=o(e()),i=()=>{Object.assign(t,o(e())),n()};return window.addEventListener("resize",i,fb),r.push(()=>window.removeEventListener("resize",i)),t}{const e=o(t.getBoundingClientRect()),i=new ResizeObserver(()=>{Object.assign(e,o(t.getBoundingClientRect())),n()});return i.observe(t),r.push(()=>i.disconnect()),e}},mb=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:i}=n,s=(e=>{let t=e;for(;t=t.parentElement;){const e=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if("auto"===e||"scroll"===e||"overlay"===e)return t}return window})(e);let a=!1;const l=()=>{a||requestAnimationFrame(()=>{const t=d();if(t!==b)w(t);else if(1!==t||r){if(2===t){const{height:t,offsetTop:n}=f,{height:i,naturalTop:s}=v,{height:a}=g,l=Math.max(0,n+c+t-(s+a+o));if(r){const t=Math.max(0,i-a-l);e.style.bottom=`${t}px`}else e.style.top=`${l}px`}}else{const{height:t}=f,{height:n}=g;e.style.top=t-n-o+"px"}a=!1}),a=!0};let c=s===window?window.scrollY:s.scrollTop;const u=e=>{const{offsetTop:t,height:n}=f,{naturalTop:r}=v,{height:i}=g;return e+t+n>=r+i+y+o},d=()=>{const{height:e}=f,{height:t}=g;return t+i+o<=e?3:u(c)?1:2},p=s!==window&&ub(s),f=hb({el:s,onChange:l,unsubs:t,measure:({height:e,top:t})=>({height:e,offsetTop:p?t:0})}),h=(e=>{let t=e.parentElement;for(;t&&"contents"===getComputedStyle(t,null).getPropertyValue("display");)t=t.parentElement;return t||window})(e),m=h===window?{top:0,bottom:0}:(e=>{const t=getComputedStyle(e,null);return{top:parseInt(t.getPropertyValue("padding-top"),10),bottom:parseInt(t.getPropertyValue("padding-bottom"),10)}})(h),v=hb({el:h,onChange:l,unsubs:t,measure:({height:e})=>({height:e-m.top-m.bottom,naturalTop:h===window?0:db(h,s)+m.top+f.offsetTop})}),g=hb({el:e,onChange:l,unsubs:t,measure:({height:e})=>({height:e})});let y=0,b=d();const w=t=>{const n=b;if(b=t,2===n&&(y=-1),3===t)return e.style.position=pb,void(r?e.style.bottom=`${o}px`:e.style.top=`${i}px`);const{height:s,offsetTop:a}=f,{height:l,naturalTop:u}=v,{height:d}=g;if(2===t)if(e.style.position="relative",y=0===n?Math.max(0,a+c-u+i):Math.max(0,a+c+s-(u+d+o)),r){const t=Math.max(0,l-d-y);e.style.bottom=`${t}px`}else e.style.top=`${y}px`;else e.style.position=pb,1===t?r?e.style.bottom=`${o}px`:e.style.top=s-d-o+"px":r?e.style.bottom=s-d-o+"px":e.style.top=`${i}px`};w(b);const x=e=>{if(e===c)return;const t=e-c;if(c=e,3===b)return;const{offsetTop:n,height:r}=f,{naturalTop:s,height:a}=v,{height:l}=g;if(t>0)if(0===b){if(e+n+i>s){const t=Math.max(0,n+c-s+i);w(e+n+r<=s+l+t+o?2:1)}}else 2===b&&u(e)&&w(1);else if(1===b){if(n+e+r<s+a+o){const t=Math.max(0,n+c+r-(s+l+o));w(n+e+i>=s+t?2:0)}}else 2===b&&n+e+i<s+y&&w(0)},E=s===window?()=>x(window.scrollY):()=>x(s.scrollTop);s.addEventListener("scroll",E,fb),s.addEventListener("mousewheel",E,fb),t.push(()=>s.removeEventListener("scroll",E),()=>s.removeEventListener("mousewheel",E))},vb=t=>{const{offsetTop:n,offsetBottom:r,bottom:o,children:i,className:s,style:a}=t,l=(({offsetTop:t=0,offsetBottom:n=0,bottom:r=!1}={})=>{const[o,i]=e.useState(null);return e.useEffect(()=>{if(!o||!pb)return;const e=[];return mb(o,e,{offsetBottom:n,offsetTop:t,bottom:r}),()=>
28{e.forEach(e=>e())}},[o,n,t,r]),i})({offsetTop:n,offsetBottom:r,bottom:o});return c.jsx("div",{className:s,style:a,ref:l,children:i})};function gb(t,n,r){const[o,i]=e.useState({}),{run:s}=function(t,n){var r;const o=Yf(t),i=null!==(r=null==n?void 0:n.wait)&&void 0!==r?r:1e3,s=e.useMemo(()=>$g((...e)=>o.current(...e),i,n),[]);return Xf(()=>{s.cancel()}),{run:s,cancel:s.cancel,flush:s.flush}}(()=>{i({})},r);e.useEffect(()=>s(),n),Uf(t,[o])}function yb(e){return"[object Date]"===Object.prototype.toString.call(e)&&!ff(e.getTime())}export{R as $,zd as A,Ef as B,Dg as C,Ad as D,Wd as E,Xd as F,Ch as G,lv as H,hv as I,$d as J,Fv as K,Ig as L,lt as M,Nd as N,_g as O,xh as P,G as Q,kg as R,Ld as S,mu as T,Vg as U,Id as V,vb as W,cb as X,Kd as Y,N as Z,m as _,Gf as a,I as a0,eh as b,Yp as c,sh as d,Zd as e,ch as f,Bp as g,lh as h,Wp as i,Hg as j,gb as k,Hf as l,uh as m,ff as n,Wf as o,Xp as p,yf as q,gf as r,Uf as s,yb as t,vf as u,zo as v,Ja as w,vl as x,gu as y,qd as z}; 29//# sourceMappingURL=vendor-ui.f38a628d.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.