@eliseubatista99/react-scaffold-core 0.1.27 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,6 +8,7 @@ export interface PageLayoutProps {
|
|
|
8
8
|
footer?: PageLayoutHeaderAndFooterProps;
|
|
9
9
|
floatingContent?: React.ReactNode;
|
|
10
10
|
allowScroll?: boolean;
|
|
11
|
+
reservedSpaceForScrollbar?: number;
|
|
11
12
|
containerStyles?: React.CSSProperties;
|
|
12
13
|
pageStyles?: React.CSSProperties;
|
|
13
14
|
children?: React.ReactNode;
|
package/dist/index.cjs.js
CHANGED
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Gt;function wn(){return Gt||(Gt=1,process.env.NODE_ENV!=="production"&&function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===c?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case v:return"Fragment";case k:return"Profiler";case M:return"StrictMode";case
|
|
17
|
+
*/var Gt;function wn(){return Gt||(Gt=1,process.env.NODE_ENV!=="production"&&function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===c?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case v:return"Fragment";case k:return"Profiler";case M:return"StrictMode";case h:return"Suspense";case g:return"SuspenseList";case m:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case C:return"Portal";case B:return(n.displayName||"Context")+".Provider";case N:return(n._context.displayName||"Context")+".Consumer";case U:var u=n.render;return n=n.displayName,n||(n=u.displayName||u.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case y:return u=n.displayName||null,u!==null?u:e(n.type)||"Memo";case O:u=n._payload,n=n._init;try{return e(n(u))}catch{}}return null}function t(n){return""+n}function r(n){try{t(n);var u=!1}catch{u=!0}if(u){u=console;var S=u.error,I=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return S.call(u,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",I),t(n)}}function o(n){if(n===v)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===O)return"<...>";try{var u=e(n);return u?"<"+u+">":"<...>"}catch{return"<...>"}}function i(){var n=P.A;return n===null?null:n.getOwner()}function a(){return Error("react-stack-top-frame")}function l(n){if(L.call(n,"key")){var u=Object.getOwnPropertyDescriptor(n,"key").get;if(u&&u.isReactWarning)return!1}return n.key!==void 0}function f(n,u){function S(){D||(D=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",u))}S.isReactWarning=!0,Object.defineProperty(n,"key",{get:S,configurable:!0})}function d(){var n=e(this.type);return F[n]||(F[n]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),n=this.props.ref,n!==void 0?n:null}function p(n,u,S,I,j,H,z,$){return S=H.ref,n={$$typeof:A,type:n,key:u,props:H,_owner:j},(S!==void 0?S:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:d}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(n,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:z}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:$}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function w(n,u,S,I,j,H,z,$){var Y=u.children;if(Y!==void 0)if(I)if(x(Y)){for(I=0;I<Y.length;I++)E(Y[I]);Object.freeze&&Object.freeze(Y)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else E(Y);if(L.call(u,"key")){Y=e(n);var V=Object.keys(u).filter(function(re){return re!=="key"});I=0<V.length?"{key: someKey, "+V.join(": ..., ")+": ...}":"{key: someKey}",b[Y+I]||(V=0<V.length?"{"+V.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,I,Y,V,Y),b[Y+I]=!0)}if(Y=null,S!==void 0&&(r(S),Y=""+S),l(u)&&(r(u.key),Y=""+u.key),"key"in u){S={};for(var X in u)X!=="key"&&(S[X]=u[X])}else S=u;return Y&&f(S,typeof n=="function"?n.displayName||n.name||"Unknown":n),
|
|
22
|
+
<%s key={someKey} {...props} />`,I,Y,V,Y),b[Y+I]=!0)}if(Y=null,S!==void 0&&(r(S),Y=""+S),l(u)&&(r(u.key),Y=""+u.key),"key"in u){S={};for(var X in u)X!=="key"&&(S[X]=u[X])}else S=u;return Y&&f(S,typeof n=="function"?n.displayName||n.name||"Unknown":n),p(n,Y,H,j,i(),S,z,$)}function E(n){typeof n=="object"&&n!==null&&n.$$typeof===A&&n._store&&(n._store.validated=1)}var R=q,A=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),B=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),c=Symbol.for("react.client.reference"),P=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=Object.prototype.hasOwnProperty,x=Array.isArray,T=console.createTask?console.createTask:function(){return null};R={"react-stack-bottom-frame":function(n){return n()}};var D,F={},s=R["react-stack-bottom-frame"].bind(R,a)(),J=T(o(a)),b={};He.Fragment=v,He.jsx=function(n,u,S,I,j){var H=1e4>P.recentlyCreatedOwnerStacks++;return w(n,u,S,!1,I,j,H?Error("react-stack-top-frame"):s,H?T(o(n)):J)},He.jsxs=function(n,u,S,I,j){var H=1e4>P.recentlyCreatedOwnerStacks++;return w(n,u,S,!0,I,j,H?Error("react-stack-top-frame"):s,H?T(o(n)):J)}}()),He}var Kt;function Sn(){return Kt||(Kt=1,process.env.NODE_ENV==="production"?nt.exports=bn():nt.exports=wn()),nt.exports}var G=Sn();const xn=({children:e,onClick:t,styles:r})=>G.jsx("button",{style:{border:"none",borderRadius:"1000px",background:"#d6d6d6ff",padding:"12px 18px",fontSize:"16px",width:"fit-content",alignItems:"center",justifyContent:"center",display:"flex",flexDirection:"row",...r},onClick:()=>t?.(),children:e});var xt={},kt={},Ne={},Ot={},Jt;function kn(){return Jt||(Jt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};e.default=t}(Ot)),Ot}var Ct,Zt;function On(){if(Zt)return Ct;Zt=1;var e="Expected a function",t=NaN,r="[object Symbol]",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,f=parseInt,d=typeof rt=="object"&&rt&&rt.Object===Object&&rt,p=typeof self=="object"&&self&&self.Object===Object&&self,w=d||p||Function("return this")(),E=Object.prototype,R=E.toString,A=Math.max,C=Math.min,v=function(){return w.Date.now()};function M(h,g,y){var O,m,c,P,L,x,T=0,D=!1,F=!1,s=!0;if(typeof h!="function")throw new TypeError(e);g=U(g)||0,k(y)&&(D=!!y.leading,F="maxWait"in y,c=F?A(U(y.maxWait)||0,g):c,s="trailing"in y?!!y.trailing:s);function J($){var Y=O,V=m;return O=m=void 0,T=$,P=h.apply(V,Y),P}function b($){return T=$,L=setTimeout(S,g),D?J($):P}function n($){var Y=$-x,V=$-T,X=g-Y;return F?C(X,c-V):X}function u($){var Y=$-x,V=$-T;return x===void 0||Y>=g||Y<0||F&&V>=c}function S(){var $=v();if(u($))return I($);L=setTimeout(S,n($))}function I($){return L=void 0,s&&O?J($):(O=m=void 0,P)}function j(){L!==void 0&&clearTimeout(L),T=0,O=x=m=L=void 0}function H(){return L===void 0?P:I(v())}function z(){var $=v(),Y=u($);if(O=arguments,m=this,x=$,Y){if(L===void 0)return b(x);if(F)return L=setTimeout(S,g),J(x)}return L===void 0&&(L=setTimeout(S,g)),P}return z.cancel=j,z.flush=H,z}function k(h){var g=typeof h;return!!h&&(g=="object"||g=="function")}function N(h){return!!h&&typeof h=="object"}function B(h){return typeof h=="symbol"||N(h)&&R.call(h)==r}function U(h){if(typeof h=="number")return h;if(B(h))return t;if(k(h)){var g=typeof h.valueOf=="function"?h.valueOf():h;h=k(g)?g+"":g}if(typeof h!="string")return h===0?h:+h;h=h.replace(o,"");var y=a.test(h);return y||l.test(h)?f(h.slice(2),y?2:8):i.test(h)?t:+h}return Ct=M,Ct}var Pt={exports:{}};/*!
|
|
23
23
|
Copyright (c) 2018 Jed Watson.
|
|
24
24
|
Licensed under the MIT License (MIT), see
|
|
25
25
|
http://jedwatson.github.io/classnames
|
|
26
|
-
*/var Qt;function vt(){return Qt||(Qt=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",l=0;l<arguments.length;l++){var f=arguments[l];f&&(a=i(a,o(f)))}return a}function o(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var l="";for(var f in a)t.call(a,f)&&a[f]&&(l=i(l,f));return l}function i(a,l){return l?a?a+" "+l:a+l:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Pt)),Pt.exports}var W={},Et={},er;function Pr(){return er||(er=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(q);function r(i){return i&&i.__esModule?i:{default:i}}var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(a){return t.default.createElement("ul",{style:{display:"block"}},a)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(a){return t.default.createElement("button",null,a+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};e.default=o}(Et)),Et}var tr;function Ge(){if(tr)return W;tr=1,Object.defineProperty(W,"__esModule",{value:!0}),W.checkSpecKeys=W.checkNavigable=W.changeSlide=W.canUseDOM=W.canGoNext=void 0,W.clamp=h,W.extractObject=void 0,W.filterSettings=J,W.validSettings=W.swipeStart=W.swipeMove=W.swipeEnd=W.slidesOnRight=W.slidesOnLeft=W.slideHandler=W.siblingDirection=W.safePreventDefault=W.lazyStartIndex=W.lazySlidesOnRight=W.lazySlidesOnLeft=W.lazyEndIndex=W.keyHandler=W.initializedState=W.getWidth=W.getTrackLeft=W.getTrackCSS=W.getTrackAnimateCSS=W.getTotalSlides=W.getSwipeDirection=W.getSlideCount=W.getRequiredLazySlides=W.getPreClones=W.getPostClones=W.getOnDemandLazySlides=W.getNavigableIndexes=W.getHeight=void 0;var e=r(q),t=r(Pr());function r(b){return b&&b.__esModule?b:{default:b}}function o(b){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(b)}function i(b,n){var u=Object.keys(b);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(b);n&&(S=S.filter(function(I){return Object.getOwnPropertyDescriptor(b,I).enumerable})),u.push.apply(u,S)}return u}function a(b){for(var n=1;n<arguments.length;n++){var u=arguments[n]!=null?arguments[n]:{};n%2?i(Object(u),!0).forEach(function(S){l(b,S,u[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(u)):i(Object(u)).forEach(function(S){Object.defineProperty(b,S,Object.getOwnPropertyDescriptor(u,S))})}return b}function l(b,n,u){return(n=f(n))in b?Object.defineProperty(b,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):b[n]=u,b}function f(b){var n=d(b,"string");return o(n)=="symbol"?n:n+""}function d(b,n){if(o(b)!="object"||!b)return b;var u=b[Symbol.toPrimitive];if(u!==void 0){var S=u.call(b,n);if(o(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(b)}function h(b,n,u){return Math.max(n,Math.min(b,u))}var w=W.safePreventDefault=function(n){var u=["onTouchStart","onTouchMove","onWheel"];u.includes(n._reactName)||n.preventDefault()},E=W.getOnDemandLazySlides=function(n){for(var u=[],S=R(n),I=A(n),j=S;j<I;j++)n.lazyLoadedList.indexOf(j)<0&&u.push(j);return u};W.getRequiredLazySlides=function(n){for(var u=[],S=R(n),I=A(n),j=S;j<I;j++)u.push(j);return u};var R=W.lazyStartIndex=function(n){return n.currentSlide-C(n)},A=W.lazyEndIndex=function(n){return n.currentSlide+v(n)},C=W.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},v=W.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},M=W.getWidth=function(n){return n&&n.offsetWidth||0},k=W.getHeight=function(n){return n&&n.offsetHeight||0},N=W.getSwipeDirection=function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S,I,j,H;return S=n.startX-n.curX,I=n.startY-n.curY,j=Math.atan2(I,S),H=Math.round(j*180/Math.PI),H<0&&(H=360-Math.abs(H)),H<=45&&H>=0||H<=360&&H>=315?"left":H>=135&&H<=225?"right":u===!0?H>=35&&H<=135?"up":"down":"vertical"},B=W.canGoNext=function(n){var u=!0;return n.infinite||(n.centerMode&&n.currentSlide>=n.slideCount-1||n.slideCount<=n.slidesToShow||n.currentSlide>=n.slideCount-n.slidesToShow)&&(u=!1),u};W.extractObject=function(n,u){var S={};return u.forEach(function(I){return S[I]=n[I]}),S},W.initializedState=function(n){var u=e.default.Children.count(n.children),S=n.listRef,I=Math.ceil(M(S)),j=n.trackRef&&n.trackRef.node,H=Math.ceil(M(j)),z;if(n.vertical)z=I;else{var $=n.centerMode&&parseInt(n.centerPadding)*2;typeof n.centerPadding=="string"&&n.centerPadding.slice(-1)==="%"&&($*=I/100),z=Math.ceil((I-$)/n.slidesToShow)}var Y=S&&k(S.querySelector('[data-index="0"]')),V=Y*n.slidesToShow,X=n.currentSlide===void 0?n.initialSlide:n.currentSlide;n.rtl&&n.currentSlide===void 0&&(X=u-1-n.initialSlide);var re=n.lazyLoadedList||[],ie=E(a(a({},n),{},{currentSlide:X,lazyLoadedList:re}));re=re.concat(ie);var Q={slideCount:u,slideWidth:z,listWidth:I,trackWidth:H,currentSlide:X,slideHeight:Y,listHeight:V,lazyLoadedList:re};return n.autoplaying===null&&n.autoplay&&(Q.autoplaying="playing"),Q},W.slideHandler=function(n){var u=n.waitForAnimate,S=n.animating,I=n.fade,j=n.infinite,H=n.index,z=n.slideCount,$=n.lazyLoad,Y=n.currentSlide,V=n.centerMode,X=n.slidesToScroll,re=n.slidesToShow,ie=n.useCSS,Q=n.lazyLoadedList;if(u&&S)return{};var Z=H,ne,le,K,ae={},ue={},ce=j?H:h(H,0,z-1);if(I){if(!j&&(H<0||H>=z))return{};H<0?Z=H+z:H>=z&&(Z=H-z),$&&Q.indexOf(Z)<0&&(Q=Q.concat(Z)),ae={animating:!0,currentSlide:Z,lazyLoadedList:Q,targetSlide:Z},ue={animating:!1,targetSlide:Z}}else ne=Z,Z<0?(ne=Z+z,j?z%X!==0&&(ne=z-z%X):ne=0):!B(n)&&Z>Y?Z=ne=Y:V&&Z>=z?(Z=j?z:z-1,ne=j?0:z-1):Z>=z&&(ne=Z-z,j?z%X!==0&&(ne=0):ne=z-re),!j&&Z+re>=z&&(ne=z-re),le=c(a(a({},n),{},{slideIndex:Z})),K=c(a(a({},n),{},{slideIndex:ne})),j||(le===K&&(Z=ne),le=K),$&&(Q=Q.concat(E(a(a({},n),{},{currentSlide:Z})))),ie?(ae={animating:!0,currentSlide:ne,trackStyle:m(a(a({},n),{},{left:le})),lazyLoadedList:Q,targetSlide:ce},ue={animating:!1,currentSlide:ne,trackStyle:O(a(a({},n),{},{left:K})),swipeLeft:null,targetSlide:ce}):ae={currentSlide:ne,trackStyle:O(a(a({},n),{},{left:K})),lazyLoadedList:Q,targetSlide:ce};return{state:ae,nextState:ue}},W.changeSlide=function(n,u){var S,I,j,H,z,$=n.slidesToScroll,Y=n.slidesToShow,V=n.slideCount,X=n.currentSlide,re=n.targetSlide,ie=n.lazyLoad,Q=n.infinite;if(H=V%$!==0,S=H?0:(V-X)%$,u.message==="previous")j=S===0?$:Y-S,z=X-j,ie&&!Q&&(I=X-j,z=I===-1?V-1:I),Q||(z=re-$);else if(u.message==="next")j=S===0?$:S,z=X+j,ie&&!Q&&(z=(X+$)%V+S),Q||(z=re+$);else if(u.message==="dots")z=u.index*u.slidesToScroll;else if(u.message==="children"){if(z=u.index,Q){var Z=T(a(a({},n),{},{targetSlide:z}));z>u.currentSlide&&Z==="left"?z=z-V:z<u.currentSlide&&Z==="right"&&(z=z+V)}}else u.message==="index"&&(z=Number(u.index));return z},W.keyHandler=function(n,u,S){return n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!u?"":n.keyCode===37?S?"next":"previous":n.keyCode===39?S?"previous":"next":""},W.swipeStart=function(n,u,S){return n.target.tagName==="IMG"&&w(n),!u||!S&&n.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:n.touches?n.touches[0].pageX:n.clientX,startY:n.touches?n.touches[0].pageY:n.clientY,curX:n.touches?n.touches[0].pageX:n.clientX,curY:n.touches?n.touches[0].pageY:n.clientY}}},W.swipeMove=function(n,u){var S=u.scrolling,I=u.animating,j=u.vertical,H=u.swipeToSlide,z=u.verticalSwiping,$=u.rtl,Y=u.currentSlide,V=u.edgeFriction,X=u.edgeDragged,re=u.onEdge,ie=u.swiped,Q=u.swiping,Z=u.slideCount,ne=u.slidesToScroll,le=u.infinite,K=u.touchObject,ae=u.swipeEvent,ue=u.listHeight,ce=u.listWidth;if(!S){if(I)return w(n);j&&H&&z&&w(n);var pe,Pe={},tt=c(u);K.curX=n.touches?n.touches[0].pageX:n.clientX,K.curY=n.touches?n.touches[0].pageY:n.clientY,K.swipeLength=Math.round(Math.sqrt(Math.pow(K.curX-K.startX,2)));var Vt=Math.round(Math.sqrt(Math.pow(K.curY-K.startY,2)));if(!z&&!Q&&Vt>10)return{scrolling:!0};z&&(K.swipeLength=Vt);var Ie=($?-1:1)*(K.curX>K.startX?1:-1);z&&(Ie=K.curY>K.startY?1:-1);var vn=Math.ceil(Z/ne),Oe=N(u.touchObject,z),Ae=K.swipeLength;return le||(Y===0&&(Oe==="right"||Oe==="down")||Y+1>=vn&&(Oe==="left"||Oe==="up")||!B(u)&&(Oe==="left"||Oe==="up"))&&(Ae=K.swipeLength*V,X===!1&&re&&(re(Oe),Pe.edgeDragged=!0)),!ie&&ae&&(ae(Oe),Pe.swiped=!0),j?pe=tt+Ae*(ue/ce)*Ie:$?pe=tt-Ae*Ie:pe=tt+Ae*Ie,z&&(pe=tt+Ae*Ie),Pe=a(a({},Pe),{},{touchObject:K,swipeLeft:pe,trackStyle:O(a(a({},u),{},{left:pe}))}),Math.abs(K.curX-K.startX)<Math.abs(K.curY-K.startY)*.8||K.swipeLength>10&&(Pe.swiping=!0,w(n)),Pe}},W.swipeEnd=function(n,u){var S=u.dragging,I=u.swipe,j=u.touchObject,H=u.listWidth,z=u.touchThreshold,$=u.verticalSwiping,Y=u.listHeight,V=u.swipeToSlide,X=u.scrolling,re=u.onSwipe,ie=u.targetSlide,Q=u.currentSlide,Z=u.infinite;if(!S)return I&&w(n),{};var ne=$?Y/z:H/z,le=N(j,$),K={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(X||!j.swipeLength)return K;if(j.swipeLength>ne){w(n),re&&re(le);var ae,ue,ce=Z?Q:ie;switch(le){case"left":case"up":ue=ce+g(u),ae=V?p(u,ue):ue,K.currentDirection=0;break;case"right":case"down":ue=ce-g(u),ae=V?p(u,ue):ue,K.currentDirection=1;break;default:ae=ce}K.triggerSlideHandler=ae}else{var pe=c(u);K.trackStyle=m(a(a({},u),{},{left:pe}))}return K};var U=W.getNavigableIndexes=function(n){for(var u=n.infinite?n.slideCount*2:n.slideCount,S=n.infinite?n.slidesToShow*-1:0,I=n.infinite?n.slidesToShow*-1:0,j=[];S<u;)j.push(S),S=I+n.slidesToScroll,I+=Math.min(n.slidesToScroll,n.slidesToShow);return j},p=W.checkNavigable=function(n,u){var S=U(n),I=0;if(u>S[S.length-1])u=S[S.length-1];else for(var j in S){if(u<S[j]){u=I;break}I=S[j]}return u},g=W.getSlideCount=function(n){var u=n.centerMode?n.slideWidth*Math.floor(n.slidesToShow/2):0;if(n.swipeToSlide){var S,I=n.listRef,j=I.querySelectorAll&&I.querySelectorAll(".slick-slide")||[];if(Array.from(j).every(function($){if(n.vertical){if($.offsetTop+k($)/2>n.swipeLeft*-1)return S=$,!1}else if($.offsetLeft-u+M($)/2>n.swipeLeft*-1)return S=$,!1;return!0}),!S)return 0;var H=n.rtl===!0?n.slideCount-n.currentSlide:n.currentSlide,z=Math.abs(S.dataset.index-H)||1;return z}else return n.slidesToScroll},y=W.checkSpecKeys=function(n,u){return u.reduce(function(S,I){return S&&n.hasOwnProperty(I)},!0)?null:console.error("Keys Missing:",n)},O=W.getTrackCSS=function(n){y(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var u,S;if(!n.vertical)u=x(n)*n.slideWidth;else{var I=n.unslick?n.slideCount:n.slideCount+2*n.slidesToShow;S=I*n.slideHeight}var j={opacity:1,transition:"",WebkitTransition:""};if(n.useTransform){var H=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",z=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",$=n.vertical?"translateY("+n.left+"px)":"translateX("+n.left+"px)";j=a(a({},j),{},{WebkitTransform:H,transform:z,msTransform:$})}else n.vertical?j.top=n.left:j.left=n.left;return n.fade&&(j={opacity:1}),u&&(j.width=u),S&&(j.height=S),window&&!window.addEventListener&&window.attachEvent&&(n.vertical?j.marginTop=n.left+"px":j.marginLeft=n.left+"px"),j},m=W.getTrackAnimateCSS=function(n){y(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var u=O(n);return n.useTransform?(u.WebkitTransition="-webkit-transform "+n.speed+"ms "+n.cssEase,u.transition="transform "+n.speed+"ms "+n.cssEase):n.vertical?u.transition="top "+n.speed+"ms "+n.cssEase:u.transition="left "+n.speed+"ms "+n.cssEase,u},c=W.getTrackLeft=function(n){if(n.unslick)return 0;y(n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var u=n.slideIndex,S=n.trackRef,I=n.infinite,j=n.centerMode,H=n.slideCount,z=n.slidesToShow,$=n.slidesToScroll,Y=n.slideWidth,V=n.listWidth,X=n.variableWidth,re=n.slideHeight,ie=n.fade,Q=n.vertical,Z=0,ne,le,K=0;if(ie||n.slideCount===1)return 0;var ae=0;if(I?(ae=-P(n),H%$!==0&&u+$>H&&(ae=-(u>H?z-(u-H):H%$)),j&&(ae+=parseInt(z/2))):(H%$!==0&&u+$>H&&(ae=z-H%$),j&&(ae=parseInt(z/2))),Z=ae*Y,K=ae*re,Q?ne=u*re*-1+K:ne=u*Y*-1+Z,X===!0){var ue,ce=S&&S.node;if(ue=u+P(n),le=ce&&ce.childNodes[ue],ne=le?le.offsetLeft*-1:0,j===!0){ue=I?u+P(n):u,le=ce&&ce.children[ue],ne=0;for(var pe=0;pe<ue;pe++)ne-=ce&&ce.children[pe]&&ce.children[pe].offsetWidth;ne-=parseInt(n.centerPadding),ne+=le&&(V-le.offsetWidth)/2}}return ne},P=W.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},L=W.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},x=W.getTotalSlides=function(n){return n.slideCount===1?1:P(n)+n.slideCount+L(n)},T=W.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+D(n)?"left":"right":n.targetSlide<n.currentSlide-F(n)?"right":"left"},D=W.slidesOnRight=function(n){var u=n.slidesToShow,S=n.centerMode,I=n.rtl,j=n.centerPadding;if(S){var H=(u-1)/2+1;return parseInt(j)>0&&(H+=1),I&&u%2===0&&(H+=1),H}return I?0:u-1},F=W.slidesOnLeft=function(n){var u=n.slidesToShow,S=n.centerMode,I=n.rtl,j=n.centerPadding;if(S){var H=(u-1)/2+1;return parseInt(j)>0&&(H+=1),!I&&u%2===0&&(H+=1),H}return I?u-1:0};W.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var s=W.validSettings=Object.keys(t.default);function J(b){return s.reduce(function(n,u){return b.hasOwnProperty(u)&&(n[u]=b[u]),n},{})}return W}var Fe={},rr;function Cn(){if(rr)return Fe;rr=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.Track=void 0;var e=o(q),t=o(vt()),r=Ge();function o(m){return m&&m.__esModule?m:{default:m}}function i(m){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},i(m)}function a(){return a=Object.assign?Object.assign.bind():function(m){for(var c=1;c<arguments.length;c++){var P=arguments[c];for(var L in P)({}).hasOwnProperty.call(P,L)&&(m[L]=P[L])}return m},a.apply(null,arguments)}function l(m,c){if(!(m instanceof c))throw new TypeError("Cannot call a class as a function")}function f(m,c){for(var P=0;P<c.length;P++){var L=c[P];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(m,B(L.key),L)}}function d(m,c,P){return c&&f(m.prototype,c),Object.defineProperty(m,"prototype",{writable:!1}),m}function h(m,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");m.prototype=Object.create(c&&c.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),Object.defineProperty(m,"prototype",{writable:!1}),c&&w(m,c)}function w(m,c){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,L){return P.__proto__=L,P},w(m,c)}function E(m){var c=C();return function(){var P,L=v(m);if(c){var x=v(this).constructor;P=Reflect.construct(L,arguments,x)}else P=L.apply(this,arguments);return R(this,P)}}function R(m,c){if(c&&(i(c)=="object"||typeof c=="function"))return c;if(c!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(m)}function A(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function C(){try{var m=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(C=function(){return!!m})()}function v(m){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},v(m)}function M(m,c){var P=Object.keys(m);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(m);c&&(L=L.filter(function(x){return Object.getOwnPropertyDescriptor(m,x).enumerable})),P.push.apply(P,L)}return P}function k(m){for(var c=1;c<arguments.length;c++){var P=arguments[c]!=null?arguments[c]:{};c%2?M(Object(P),!0).forEach(function(L){N(m,L,P[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(P)):M(Object(P)).forEach(function(L){Object.defineProperty(m,L,Object.getOwnPropertyDescriptor(P,L))})}return m}function N(m,c,P){return(c=B(c))in m?Object.defineProperty(m,c,{value:P,enumerable:!0,configurable:!0,writable:!0}):m[c]=P,m}function B(m){var c=U(m,"string");return i(c)=="symbol"?c:c+""}function U(m,c){if(i(m)!="object"||!m)return m;var P=m[Symbol.toPrimitive];if(P!==void 0){var L=P.call(m,c);if(i(L)!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(m)}var p=function(c){var P,L,x,T,D;c.rtl?D=c.slideCount-1-c.index:D=c.index,x=D<0||D>=c.slideCount,c.centerMode?(T=Math.floor(c.slidesToShow/2),L=(D-c.currentSlide)%c.slideCount===0,D>c.currentSlide-T-1&&D<=c.currentSlide+T&&(P=!0)):P=c.currentSlide<=D&&D<c.currentSlide+c.slidesToShow;var F;c.targetSlide<0?F=c.targetSlide+c.slideCount:c.targetSlide>=c.slideCount?F=c.targetSlide-c.slideCount:F=c.targetSlide;var s=D===F;return{"slick-slide":!0,"slick-active":P,"slick-center":L,"slick-cloned":x,"slick-current":s}},g=function(c){var P={};return(c.variableWidth===void 0||c.variableWidth===!1)&&(P.width=c.slideWidth),c.fade&&(P.position="relative",c.vertical?P.top=-c.index*parseInt(c.slideHeight):P.left=-c.index*parseInt(c.slideWidth),P.opacity=c.currentSlide===c.index?1:0,P.zIndex=c.currentSlide===c.index?999:998,c.useCSS&&(P.transition="opacity "+c.speed+"ms "+c.cssEase+", visibility "+c.speed+"ms "+c.cssEase)),P},y=function(c,P){return c.key||P},O=function(c){var P,L=[],x=[],T=[],D=e.default.Children.count(c.children),F=(0,r.lazyStartIndex)(c),s=(0,r.lazyEndIndex)(c);return e.default.Children.forEach(c.children,function(J,b){var n,u={message:"children",index:b,slidesToScroll:c.slidesToScroll,currentSlide:c.currentSlide};!c.lazyLoad||c.lazyLoad&&c.lazyLoadedList.indexOf(b)>=0?n=J:n=e.default.createElement("div",null);var S=g(k(k({},c),{},{index:b})),I=n.props.className||"",j=p(k(k({},c),{},{index:b}));if(L.push(e.default.cloneElement(n,{key:"original"+y(n,b),"data-index":b,className:(0,t.default)(j,I),tabIndex:"-1","aria-hidden":!j["slick-active"],style:k(k({outline:"none"},n.props.style||{}),S),onClick:function($){n.props&&n.props.onClick&&n.props.onClick($),c.focusOnSelect&&c.focusOnSelect(u)}})),c.infinite&&D>1&&c.fade===!1&&!c.unslick){var H=D-b;H<=(0,r.getPreClones)(c)&&(P=-H,P>=F&&(n=J),j=p(k(k({},c),{},{index:P})),x.push(e.default.cloneElement(n,{key:"precloned"+y(n,P),"data-index":P,tabIndex:"-1",className:(0,t.default)(j,I),"aria-hidden":!j["slick-active"],style:k(k({},n.props.style||{}),S),onClick:function($){n.props&&n.props.onClick&&n.props.onClick($),c.focusOnSelect&&c.focusOnSelect(u)}}))),b<(0,r.getPostClones)(c)&&(P=D+b,P<s&&(n=J),j=p(k(k({},c),{},{index:P})),T.push(e.default.cloneElement(n,{key:"postcloned"+y(n,P),"data-index":P,tabIndex:"-1",className:(0,t.default)(j,I),"aria-hidden":!j["slick-active"],style:k(k({},n.props.style||{}),S),onClick:function($){n.props&&n.props.onClick&&n.props.onClick($),c.focusOnSelect&&c.focusOnSelect(u)}})))}}),c.rtl?x.concat(L,T).reverse():x.concat(L,T)};return Fe.Track=function(m){h(P,m);var c=E(P);function P(){var L;l(this,P);for(var x=arguments.length,T=new Array(x),D=0;D<x;D++)T[D]=arguments[D];return L=c.call.apply(c,[this].concat(T)),N(A(L),"node",null),N(A(L),"handleRef",function(F){L.node=F}),L}return d(P,[{key:"render",value:function(){var x=O(this.props),T=this.props,D=T.onMouseEnter,F=T.onMouseOver,s=T.onMouseLeave,J={onMouseEnter:D,onMouseOver:F,onMouseLeave:s};return e.default.createElement("div",a({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},J),x)}}]),P}(e.default.PureComponent),Fe}var $e={},nr;function Pn(){if(nr)return $e;nr=1;function e(p){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},e(p)}Object.defineProperty($e,"__esModule",{value:!0}),$e.Dots=void 0;var t=i(q),r=i(vt()),o=Ge();function i(p){return p&&p.__esModule?p:{default:p}}function a(p,g){var y=Object.keys(p);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(p);g&&(O=O.filter(function(m){return Object.getOwnPropertyDescriptor(p,m).enumerable})),y.push.apply(y,O)}return y}function l(p){for(var g=1;g<arguments.length;g++){var y=arguments[g]!=null?arguments[g]:{};g%2?a(Object(y),!0).forEach(function(O){f(p,O,y[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(y)):a(Object(y)).forEach(function(O){Object.defineProperty(p,O,Object.getOwnPropertyDescriptor(y,O))})}return p}function f(p,g,y){return(g=E(g))in p?Object.defineProperty(p,g,{value:y,enumerable:!0,configurable:!0,writable:!0}):p[g]=y,p}function d(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}function h(p,g){for(var y=0;y<g.length;y++){var O=g[y];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(p,E(O.key),O)}}function w(p,g,y){return g&&h(p.prototype,g),Object.defineProperty(p,"prototype",{writable:!1}),p}function E(p){var g=R(p,"string");return e(g)=="symbol"?g:g+""}function R(p,g){if(e(p)!="object"||!p)return p;var y=p[Symbol.toPrimitive];if(y!==void 0){var O=y.call(p,g);if(e(O)!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(p)}function A(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),Object.defineProperty(p,"prototype",{writable:!1}),g&&C(p,g)}function C(p,g){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,O){return y.__proto__=O,y},C(p,g)}function v(p){var g=N();return function(){var y,O=B(p);if(g){var m=B(this).constructor;y=Reflect.construct(O,arguments,m)}else y=O.apply(this,arguments);return M(this,y)}}function M(p,g){if(g&&(e(g)=="object"||typeof g=="function"))return g;if(g!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(p)}function k(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function N(){try{var p=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(N=function(){return!!p})()}function B(p){return B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)},B(p)}var U=function(g){var y;return g.infinite?y=Math.ceil(g.slideCount/g.slidesToScroll):y=Math.ceil((g.slideCount-g.slidesToShow)/g.slidesToScroll)+1,y};return $e.Dots=function(p){A(y,p);var g=v(y);function y(){return d(this,y),g.apply(this,arguments)}return w(y,[{key:"clickHandler",value:function(m,c){c.preventDefault(),this.props.clickHandler(m)}},{key:"render",value:function(){for(var m=this.props,c=m.onMouseEnter,P=m.onMouseOver,L=m.onMouseLeave,x=m.infinite,T=m.slidesToScroll,D=m.slidesToShow,F=m.slideCount,s=m.currentSlide,J=U({slideCount:F,slidesToScroll:T,slidesToShow:D,infinite:x}),b={onMouseEnter:c,onMouseOver:P,onMouseLeave:L},n=[],u=0;u<J;u++){var S=(u+1)*T-1,I=x?S:(0,o.clamp)(S,0,F-1),j=I-(T-1),H=x?j:(0,o.clamp)(j,0,F-1),z=(0,r.default)({"slick-active":x?s>=H&&s<=I:s===H}),$={message:"dots",index:u,slidesToScroll:T,currentSlide:s},Y=this.clickHandler.bind(this,$);n=n.concat(t.default.createElement("li",{key:u,className:z},t.default.cloneElement(this.props.customPaging(u),{onClick:Y})))}return t.default.cloneElement(this.props.appendDots(n),l({className:this.props.dotsClass},b))}}]),y}(t.default.PureComponent),$e}var Ee={},ir;function En(){if(ir)return Ee;ir=1;function e(p){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},e(p)}Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.PrevArrow=Ee.NextArrow=void 0;var t=i(q),r=i(vt()),o=Ge();function i(p){return p&&p.__esModule?p:{default:p}}function a(){return a=Object.assign?Object.assign.bind():function(p){for(var g=1;g<arguments.length;g++){var y=arguments[g];for(var O in y)({}).hasOwnProperty.call(y,O)&&(p[O]=y[O])}return p},a.apply(null,arguments)}function l(p,g){var y=Object.keys(p);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(p);g&&(O=O.filter(function(m){return Object.getOwnPropertyDescriptor(p,m).enumerable})),y.push.apply(y,O)}return y}function f(p){for(var g=1;g<arguments.length;g++){var y=arguments[g]!=null?arguments[g]:{};g%2?l(Object(y),!0).forEach(function(O){d(p,O,y[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(y)):l(Object(y)).forEach(function(O){Object.defineProperty(p,O,Object.getOwnPropertyDescriptor(y,O))})}return p}function d(p,g,y){return(g=R(g))in p?Object.defineProperty(p,g,{value:y,enumerable:!0,configurable:!0,writable:!0}):p[g]=y,p}function h(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}function w(p,g){for(var y=0;y<g.length;y++){var O=g[y];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(p,R(O.key),O)}}function E(p,g,y){return g&&w(p.prototype,g),Object.defineProperty(p,"prototype",{writable:!1}),p}function R(p){var g=A(p,"string");return e(g)=="symbol"?g:g+""}function A(p,g){if(e(p)!="object"||!p)return p;var y=p[Symbol.toPrimitive];if(y!==void 0){var O=y.call(p,g);if(e(O)!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(p)}function C(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),Object.defineProperty(p,"prototype",{writable:!1}),g&&v(p,g)}function v(p,g){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,O){return y.__proto__=O,y},v(p,g)}function M(p){var g=B();return function(){var y,O=U(p);if(g){var m=U(this).constructor;y=Reflect.construct(O,arguments,m)}else y=O.apply(this,arguments);return k(this,y)}}function k(p,g){if(g&&(e(g)=="object"||typeof g=="function"))return g;if(g!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return N(p)}function N(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function B(){try{var p=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(B=function(){return!!p})()}function U(p){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)},U(p)}return Ee.PrevArrow=function(p){C(y,p);var g=M(y);function y(){return h(this,y),g.apply(this,arguments)}return E(y,[{key:"clickHandler",value:function(m,c){c&&c.preventDefault(),this.props.clickHandler(m,c)}},{key:"render",value:function(){var m={"slick-arrow":!0,"slick-prev":!0},c=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(m["slick-disabled"]=!0,c=null);var P={key:"0","data-role":"none",className:(0,r.default)(m),style:{display:"block"},onClick:c},L={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},x;return this.props.prevArrow?x=t.default.cloneElement(this.props.prevArrow,f(f({},P),L)):x=t.default.createElement("button",a({key:"0",type:"button"},P)," ","Previous"),x}}]),y}(t.default.PureComponent),Ee.NextArrow=function(p){C(y,p);var g=M(y);function y(){return h(this,y),g.apply(this,arguments)}return E(y,[{key:"clickHandler",value:function(m,c){c&&c.preventDefault(),this.props.clickHandler(m,c)}},{key:"render",value:function(){var m={"slick-arrow":!0,"slick-next":!0},c=this.clickHandler.bind(this,{message:"next"});(0,o.canGoNext)(this.props)||(m["slick-disabled"]=!0,c=null);var P={key:"1","data-role":"none",className:(0,r.default)(m),style:{display:"block"},onClick:c},L={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},x;return this.props.nextArrow?x=t.default.cloneElement(this.props.nextArrow,f(f({},P),L)):x=t.default.createElement("button",a({key:"1",type:"button"},P)," ","Next"),x}}]),y}(t.default.PureComponent),Ee}var Er=function(){if(typeof Map<"u")return Map;function e(t,r){var o=-1;return t.some(function(i,a){return i[0]===r?(o=a,!0):!1}),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var o=e(this.__entries__,r),i=this.__entries__[o];return i&&i[1]},t.prototype.set=function(r,o){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=o:this.__entries__.push([r,o])},t.prototype.delete=function(r){var o=this.__entries__,i=e(o,r);~i&&o.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,o){o===void 0&&(o=null);for(var i=0,a=this.__entries__;i<a.length;i++){var l=a[i];r.call(o,l[1],l[0])}},t}()}(),Dt=typeof window<"u"&&typeof document<"u"&&window.document===document,ft=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Rn=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ft):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),_n=2;function Tn(e,t){var r=!1,o=!1,i=0;function a(){r&&(r=!1,e()),o&&f()}function l(){Rn(a)}function f(){var d=Date.now();if(r){if(d-i<_n)return;o=!0}else r=!0,o=!1,setTimeout(l,t);i=d}return f}var jn=20,Ln=["top","right","bottom","left","width","height","size","weight"],Dn=typeof MutationObserver<"u",Mn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Tn(this.refresh.bind(this),jn)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,o=r.indexOf(t);~o&&r.splice(o,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Dt||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Dn?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Dt||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,o=r===void 0?"":r,i=Ln.some(function(a){return!!~o.indexOf(a)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Rr=function(e,t){for(var r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},_e=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||ft},_r=mt(0,0,0,0);function dt(e){return parseFloat(e)||0}function or(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(o,i){var a=e["border-"+i+"-width"];return o+dt(a)},0)}function In(e){for(var t=["top","right","bottom","left"],r={},o=0,i=t;o<i.length;o++){var a=i[o],l=e["padding-"+a];r[a]=dt(l)}return r}function An(e){var t=e.getBBox();return mt(0,0,t.width,t.height)}function zn(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return _r;var o=_e(e).getComputedStyle(e),i=In(o),a=i.left+i.right,l=i.top+i.bottom,f=dt(o.width),d=dt(o.height);if(o.boxSizing==="border-box"&&(Math.round(f+a)!==t&&(f-=or(o,"left","right")+a),Math.round(d+l)!==r&&(d-=or(o,"top","bottom")+l)),!Nn(e)){var h=Math.round(f+a)-t,w=Math.round(d+l)-r;Math.abs(h)!==1&&(f-=h),Math.abs(w)!==1&&(d-=w)}return mt(i.left,i.top,f,d)}var Hn=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof _e(e).SVGGraphicsElement}:function(e){return e instanceof _e(e).SVGElement&&typeof e.getBBox=="function"}}();function Nn(e){return e===_e(e).document.documentElement}function Fn(e){return Dt?Hn(e)?An(e):zn(e):_r}function $n(e){var t=e.x,r=e.y,o=e.width,i=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,l=Object.create(a.prototype);return Rr(l,{x:t,y:r,width:o,height:i,top:r,right:t+o,bottom:i+r,left:t}),l}function mt(e,t,r,o){return{x:e,y:t,width:r,height:o}}var Wn=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=mt(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Fn(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),qn=function(){function e(t,r){var o=$n(r);Rr(this,{target:t,contentRect:o})}return e}(),Bn=function(){function e(t,r,o){if(this.activeObservations_=[],this.observations_=new Er,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=o}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Wn(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(o){return new qn(o.target,o.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Tr=typeof WeakMap<"u"?new WeakMap:new Er,jr=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Mn.getInstance(),o=new Bn(t,r,this);Tr.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){jr.prototype[e]=function(){var t;return(t=Tr.get(this))[e].apply(t,arguments)}});var Un=function(){return typeof ft.ResizeObserver<"u"?ft.ResizeObserver:jr}();const Yn=Object.freeze(Object.defineProperty({__proto__:null,default:Un},Symbol.toStringTag,{value:"Module"})),Vn=yn(Yn);var ar;function Xn(){if(ar)return Ne;ar=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.InnerSlider=void 0;var e=h(q),t=h(kn()),r=h(On()),o=h(vt()),i=Ge(),a=Cn(),l=Pn(),f=En(),d=h(Vn);function h(x){return x&&x.__esModule?x:{default:x}}function w(x){"@babel/helpers - typeof";return w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},w(x)}function E(){return E=Object.assign?Object.assign.bind():function(x){for(var T=1;T<arguments.length;T++){var D=arguments[T];for(var F in D)({}).hasOwnProperty.call(D,F)&&(x[F]=D[F])}return x},E.apply(null,arguments)}function R(x,T){if(x==null)return{};var D,F,s=A(x,T);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(x);for(F=0;F<J.length;F++)D=J[F],T.includes(D)||{}.propertyIsEnumerable.call(x,D)&&(s[D]=x[D])}return s}function A(x,T){if(x==null)return{};var D={};for(var F in x)if({}.hasOwnProperty.call(x,F)){if(T.includes(F))continue;D[F]=x[F]}return D}function C(x,T){var D=Object.keys(x);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(x);T&&(F=F.filter(function(s){return Object.getOwnPropertyDescriptor(x,s).enumerable})),D.push.apply(D,F)}return D}function v(x){for(var T=1;T<arguments.length;T++){var D=arguments[T]!=null?arguments[T]:{};T%2?C(Object(D),!0).forEach(function(F){c(x,F,D[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(D)):C(Object(D)).forEach(function(F){Object.defineProperty(x,F,Object.getOwnPropertyDescriptor(D,F))})}return x}function M(x,T){if(!(x instanceof T))throw new TypeError("Cannot call a class as a function")}function k(x,T){for(var D=0;D<T.length;D++){var F=T[D];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(x,P(F.key),F)}}function N(x,T,D){return T&&k(x.prototype,T),Object.defineProperty(x,"prototype",{writable:!1}),x}function B(x,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(T&&T.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),Object.defineProperty(x,"prototype",{writable:!1}),T&&U(x,T)}function U(x,T){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,F){return D.__proto__=F,D},U(x,T)}function p(x){var T=O();return function(){var D,F=m(x);if(T){var s=m(this).constructor;D=Reflect.construct(F,arguments,s)}else D=F.apply(this,arguments);return g(this,D)}}function g(x,T){if(T&&(w(T)=="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y(x)}function y(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function O(){try{var x=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(O=function(){return!!x})()}function m(x){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},m(x)}function c(x,T,D){return(T=P(T))in x?Object.defineProperty(x,T,{value:D,enumerable:!0,configurable:!0,writable:!0}):x[T]=D,x}function P(x){var T=L(x,"string");return w(T)=="symbol"?T:T+""}function L(x,T){if(w(x)!="object"||!x)return x;var D=x[Symbol.toPrimitive];if(D!==void 0){var F=D.call(x,T);if(w(F)!="object")return F;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(x)}return Ne.InnerSlider=function(x){B(D,x);var T=p(D);function D(F){var s;M(this,D),s=T.call(this,F),c(y(s),"listRefHandler",function(b){return s.list=b}),c(y(s),"trackRefHandler",function(b){return s.track=b}),c(y(s),"adaptHeight",function(){if(s.props.adaptiveHeight&&s.list){var b=s.list.querySelector('[data-index="'.concat(s.state.currentSlide,'"]'));s.list.style.height=(0,i.getHeight)(b)+"px"}}),c(y(s),"componentDidMount",function(){if(s.props.onInit&&s.props.onInit(),s.props.lazyLoad){var b=(0,i.getOnDemandLazySlides)(v(v({},s.props),s.state));b.length>0&&(s.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(b)}}),s.props.onLazyLoad&&s.props.onLazyLoad(b))}var n=v({listRef:s.list,trackRef:s.track},s.props);s.updateState(n,!0,function(){s.adaptHeight(),s.props.autoplay&&s.autoPlay("update")}),s.props.lazyLoad==="progressive"&&(s.lazyLoadTimer=setInterval(s.progressiveLazyLoad,1e3)),s.ro=new d.default(function(){s.state.animating?(s.onWindowResized(!1),s.callbackTimers.push(setTimeout(function(){return s.onWindowResized()},s.props.speed))):s.onWindowResized()}),s.ro.observe(s.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(u){u.onfocus=s.props.pauseOnFocus?s.onSlideFocus:null,u.onblur=s.props.pauseOnFocus?s.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",s.onWindowResized):window.attachEvent("onresize",s.onWindowResized)}),c(y(s),"componentWillUnmount",function(){s.animationEndCallback&&clearTimeout(s.animationEndCallback),s.lazyLoadTimer&&clearInterval(s.lazyLoadTimer),s.callbackTimers.length&&(s.callbackTimers.forEach(function(b){return clearTimeout(b)}),s.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",s.onWindowResized):window.detachEvent("onresize",s.onWindowResized),s.autoplayTimer&&clearInterval(s.autoplayTimer),s.ro.disconnect()}),c(y(s),"componentDidUpdate",function(b){if(s.checkImagesLoad(),s.props.onReInit&&s.props.onReInit(),s.props.lazyLoad){var n=(0,i.getOnDemandLazySlides)(v(v({},s.props),s.state));n.length>0&&(s.setState(function(I){return{lazyLoadedList:I.lazyLoadedList.concat(n)}}),s.props.onLazyLoad&&s.props.onLazyLoad(n))}s.adaptHeight();var u=v(v({listRef:s.list,trackRef:s.track},s.props),s.state),S=s.didPropsChange(b);S&&s.updateState(u,S,function(){s.state.currentSlide>=e.default.Children.count(s.props.children)&&s.changeSlide({message:"index",index:e.default.Children.count(s.props.children)-s.props.slidesToShow,currentSlide:s.state.currentSlide}),s.props.autoplay?s.autoPlay("update"):s.pause("paused")})}),c(y(s),"onWindowResized",function(b){s.debouncedResize&&s.debouncedResize.cancel(),s.debouncedResize=(0,r.default)(function(){return s.resizeWindow(b)},50),s.debouncedResize()}),c(y(s),"resizeWindow",function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,n=!!(s.track&&s.track.node);if(n){var u=v(v({listRef:s.list,trackRef:s.track},s.props),s.state);s.updateState(u,b,function(){s.props.autoplay?s.autoPlay("update"):s.pause("paused")}),s.setState({animating:!1}),clearTimeout(s.animationEndCallback),delete s.animationEndCallback}}),c(y(s),"updateState",function(b,n,u){var S=(0,i.initializedState)(b);b=v(v(v({},b),S),{},{slideIndex:S.currentSlide});var I=(0,i.getTrackLeft)(b);b=v(v({},b),{},{left:I});var j=(0,i.getTrackCSS)(b);(n||e.default.Children.count(s.props.children)!==e.default.Children.count(b.children))&&(S.trackStyle=j),s.setState(S,u)}),c(y(s),"ssrInit",function(){if(s.props.variableWidth){var b=0,n=0,u=[],S=(0,i.getPreClones)(v(v(v({},s.props),s.state),{},{slideCount:s.props.children.length})),I=(0,i.getPostClones)(v(v(v({},s.props),s.state),{},{slideCount:s.props.children.length}));s.props.children.forEach(function(le){u.push(le.props.style.width),b+=le.props.style.width});for(var j=0;j<S;j++)n+=u[u.length-1-j],b+=u[u.length-1-j];for(var H=0;H<I;H++)b+=u[H];for(var z=0;z<s.state.currentSlide;z++)n+=u[z];var $={width:b+"px",left:-n+"px"};if(s.props.centerMode){var Y="".concat(u[s.state.currentSlide],"px");$.left="calc(".concat($.left," + (100% - ").concat(Y,") / 2 ) ")}return{trackStyle:$}}var V=e.default.Children.count(s.props.children),X=v(v(v({},s.props),s.state),{},{slideCount:V}),re=(0,i.getPreClones)(X)+(0,i.getPostClones)(X)+V,ie=100/s.props.slidesToShow*re,Q=100/re,Z=-Q*((0,i.getPreClones)(X)+s.state.currentSlide)*ie/100;s.props.centerMode&&(Z+=(100-Q*ie/100)/2);var ne={width:ie+"%",left:Z+"%"};return{slideWidth:Q+"%",trackStyle:ne}}),c(y(s),"checkImagesLoad",function(){var b=s.list&&s.list.querySelectorAll&&s.list.querySelectorAll(".slick-slide img")||[],n=b.length,u=0;Array.prototype.forEach.call(b,function(S){var I=function(){return++u&&u>=n&&s.onWindowResized()};if(!S.onclick)S.onclick=function(){return S.parentNode.focus()};else{var j=S.onclick;S.onclick=function(H){j(H),S.parentNode.focus()}}S.onload||(s.props.lazyLoad?S.onload=function(){s.adaptHeight(),s.callbackTimers.push(setTimeout(s.onWindowResized,s.props.speed))}:(S.onload=I,S.onerror=function(){I(),s.props.onLazyLoadError&&s.props.onLazyLoadError()}))})}),c(y(s),"progressiveLazyLoad",function(){for(var b=[],n=v(v({},s.props),s.state),u=s.state.currentSlide;u<s.state.slideCount+(0,i.getPostClones)(n);u++)if(s.state.lazyLoadedList.indexOf(u)<0){b.push(u);break}for(var S=s.state.currentSlide-1;S>=-(0,i.getPreClones)(n);S--)if(s.state.lazyLoadedList.indexOf(S)<0){b.push(S);break}b.length>0?(s.setState(function(I){return{lazyLoadedList:I.lazyLoadedList.concat(b)}}),s.props.onLazyLoad&&s.props.onLazyLoad(b)):s.lazyLoadTimer&&(clearInterval(s.lazyLoadTimer),delete s.lazyLoadTimer)}),c(y(s),"slideHandler",function(b){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=s.props,S=u.asNavFor,I=u.beforeChange,j=u.onLazyLoad,H=u.speed,z=u.afterChange,$=s.state.currentSlide,Y=(0,i.slideHandler)(v(v(v({index:b},s.props),s.state),{},{trackRef:s.track,useCSS:s.props.useCSS&&!n})),V=Y.state,X=Y.nextState;if(V){I&&I($,V.currentSlide);var re=V.lazyLoadedList.filter(function(ie){return s.state.lazyLoadedList.indexOf(ie)<0});j&&re.length>0&&j(re),!s.props.waitForAnimate&&s.animationEndCallback&&(clearTimeout(s.animationEndCallback),z&&z($),delete s.animationEndCallback),s.setState(V,function(){S&&s.asNavForIndex!==b&&(s.asNavForIndex=b,S.innerSlider.slideHandler(b)),X&&(s.animationEndCallback=setTimeout(function(){var ie=X.animating,Q=R(X,["animating"]);s.setState(Q,function(){s.callbackTimers.push(setTimeout(function(){return s.setState({animating:ie})},10)),z&&z(V.currentSlide),delete s.animationEndCallback})},H))})}}),c(y(s),"changeSlide",function(b){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=v(v({},s.props),s.state),S=(0,i.changeSlide)(u,b);if(!(S!==0&&!S)&&(n===!0?s.slideHandler(S,n):s.slideHandler(S),s.props.autoplay&&s.autoPlay("update"),s.props.focusOnSelect)){var I=s.list.querySelectorAll(".slick-current");I[0]&&I[0].focus()}}),c(y(s),"clickHandler",function(b){s.clickable===!1&&(b.stopPropagation(),b.preventDefault()),s.clickable=!0}),c(y(s),"keyHandler",function(b){var n=(0,i.keyHandler)(b,s.props.accessibility,s.props.rtl);n!==""&&s.changeSlide({message:n})}),c(y(s),"selectHandler",function(b){s.changeSlide(b)}),c(y(s),"disableBodyScroll",function(){var b=function(u){u=u||window.event,u.preventDefault&&u.preventDefault(),u.returnValue=!1};window.ontouchmove=b}),c(y(s),"enableBodyScroll",function(){window.ontouchmove=null}),c(y(s),"swipeStart",function(b){s.props.verticalSwiping&&s.disableBodyScroll();var n=(0,i.swipeStart)(b,s.props.swipe,s.props.draggable);n!==""&&s.setState(n)}),c(y(s),"swipeMove",function(b){var n=(0,i.swipeMove)(b,v(v(v({},s.props),s.state),{},{trackRef:s.track,listRef:s.list,slideIndex:s.state.currentSlide}));n&&(n.swiping&&(s.clickable=!1),s.setState(n))}),c(y(s),"swipeEnd",function(b){var n=(0,i.swipeEnd)(b,v(v(v({},s.props),s.state),{},{trackRef:s.track,listRef:s.list,slideIndex:s.state.currentSlide}));if(n){var u=n.triggerSlideHandler;delete n.triggerSlideHandler,s.setState(n),u!==void 0&&(s.slideHandler(u),s.props.verticalSwiping&&s.enableBodyScroll())}}),c(y(s),"touchEnd",function(b){s.swipeEnd(b),s.clickable=!0}),c(y(s),"slickPrev",function(){s.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"previous"})},0))}),c(y(s),"slickNext",function(){s.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"next"})},0))}),c(y(s),"slickGoTo",function(b){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(b=Number(b),isNaN(b))return"";s.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"index",index:b,currentSlide:s.state.currentSlide},n)},0))}),c(y(s),"play",function(){var b;if(s.props.rtl)b=s.state.currentSlide-s.props.slidesToScroll;else if((0,i.canGoNext)(v(v({},s.props),s.state)))b=s.state.currentSlide+s.props.slidesToScroll;else return!1;s.slideHandler(b)}),c(y(s),"autoPlay",function(b){s.autoplayTimer&&clearInterval(s.autoplayTimer);var n=s.state.autoplaying;if(b==="update"){if(n==="hovered"||n==="focused"||n==="paused")return}else if(b==="leave"){if(n==="paused"||n==="focused")return}else if(b==="blur"&&(n==="paused"||n==="hovered"))return;s.autoplayTimer=setInterval(s.play,s.props.autoplaySpeed+50),s.setState({autoplaying:"playing"})}),c(y(s),"pause",function(b){s.autoplayTimer&&(clearInterval(s.autoplayTimer),s.autoplayTimer=null);var n=s.state.autoplaying;b==="paused"?s.setState({autoplaying:"paused"}):b==="focused"?(n==="hovered"||n==="playing")&&s.setState({autoplaying:"focused"}):n==="playing"&&s.setState({autoplaying:"hovered"})}),c(y(s),"onDotsOver",function(){return s.props.autoplay&&s.pause("hovered")}),c(y(s),"onDotsLeave",function(){return s.props.autoplay&&s.state.autoplaying==="hovered"&&s.autoPlay("leave")}),c(y(s),"onTrackOver",function(){return s.props.autoplay&&s.pause("hovered")}),c(y(s),"onTrackLeave",function(){return s.props.autoplay&&s.state.autoplaying==="hovered"&&s.autoPlay("leave")}),c(y(s),"onSlideFocus",function(){return s.props.autoplay&&s.pause("focused")}),c(y(s),"onSlideBlur",function(){return s.props.autoplay&&s.state.autoplaying==="focused"&&s.autoPlay("blur")}),c(y(s),"render",function(){var b=(0,o.default)("slick-slider",s.props.className,{"slick-vertical":s.props.vertical,"slick-initialized":!0}),n=v(v({},s.props),s.state),u=(0,i.extractObject)(n,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),S=s.props.pauseOnHover;u=v(v({},u),{},{onMouseEnter:S?s.onTrackOver:null,onMouseLeave:S?s.onTrackLeave:null,onMouseOver:S?s.onTrackOver:null,focusOnSelect:s.props.focusOnSelect&&s.clickable?s.selectHandler:null});var I;if(s.props.dots===!0&&s.state.slideCount>=s.props.slidesToShow){var j=(0,i.extractObject)(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),H=s.props.pauseOnDotsHover;j=v(v({},j),{},{clickHandler:s.changeSlide,onMouseEnter:H?s.onDotsLeave:null,onMouseOver:H?s.onDotsOver:null,onMouseLeave:H?s.onDotsLeave:null}),I=e.default.createElement(l.Dots,j)}var z,$,Y=(0,i.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);Y.clickHandler=s.changeSlide,s.props.arrows&&(z=e.default.createElement(f.PrevArrow,Y),$=e.default.createElement(f.NextArrow,Y));var V=null;s.props.vertical&&(V={height:s.state.listHeight});var X=null;s.props.vertical===!1?s.props.centerMode===!0&&(X={padding:"0px "+s.props.centerPadding}):s.props.centerMode===!0&&(X={padding:s.props.centerPadding+" 0px"});var re=v(v({},V),X),ie=s.props.touchMove,Q={className:"slick-list",style:re,onClick:s.clickHandler,onMouseDown:ie?s.swipeStart:null,onMouseMove:s.state.dragging&&ie?s.swipeMove:null,onMouseUp:ie?s.swipeEnd:null,onMouseLeave:s.state.dragging&&ie?s.swipeEnd:null,onTouchStart:ie?s.swipeStart:null,onTouchMove:s.state.dragging&&ie?s.swipeMove:null,onTouchEnd:ie?s.touchEnd:null,onTouchCancel:s.state.dragging&&ie?s.swipeEnd:null,onKeyDown:s.props.accessibility?s.keyHandler:null},Z={className:b,dir:"ltr",style:s.props.style};return s.props.unslick&&(Q={className:"slick-list"},Z={className:b,style:s.props.style}),e.default.createElement("div",Z,s.props.unslick?"":z,e.default.createElement("div",E({ref:s.listRefHandler},Q),e.default.createElement(a.Track,E({ref:s.trackRefHandler},u),s.props.children)),s.props.unslick?"":$,s.props.unslick?"":I)}),s.list=null,s.track=null,s.state=v(v({},t.default),{},{currentSlide:s.props.initialSlide,targetSlide:s.props.initialSlide?s.props.initialSlide:0,slideCount:e.default.Children.count(s.props.children)}),s.callbackTimers=[],s.clickable=!0,s.debouncedResize=null;var J=s.ssrInit();return s.state=v(v({},s.state),J),s}return N(D,[{key:"didPropsChange",value:function(s){for(var J=!1,b=0,n=Object.keys(this.props);b<n.length;b++){var u=n[b];if(!s.hasOwnProperty(u)){J=!0;break}if(!(w(s[u])==="object"||typeof s[u]=="function"||isNaN(s[u]))&&s[u]!==this.props[u]){J=!0;break}}return J||e.default.Children.count(this.props.children)!==e.default.Children.count(s.children)}}]),D}(e.default.Component),Ne}var Rt,sr;function Gn(){if(sr)return Rt;sr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return Rt=e,Rt}var _t,lr;function Kn(){if(lr)return _t;lr=1;var e=Gn(),t=function(i){var a=/[height|width]$/;return a.test(i)},r=function(i){var a="",l=Object.keys(i);return l.forEach(function(f,d){var h=i[f];f=e(f),t(f)&&typeof h=="number"&&(h=h+"px"),h===!0?a+=f:h===!1?a+="not "+f:a+="("+f+": "+h+")",d<l.length-1&&(a+=" and ")}),a},o=function(i){var a="";return typeof i=="string"?i:i instanceof Array?(i.forEach(function(l,f){a+=r(l),f<i.length-1&&(a+=", ")}),a):r(i)};return _t=o,_t}var ur;function Jn(){return ur||(ur=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l(q),r=Xn(),o=l(Kn()),i=l(Pr()),a=Ge();function l(O){return O&&O.__esModule?O:{default:O}}function f(O){"@babel/helpers - typeof";return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},f(O)}function d(){return d=Object.assign?Object.assign.bind():function(O){for(var m=1;m<arguments.length;m++){var c=arguments[m];for(var P in c)({}).hasOwnProperty.call(c,P)&&(O[P]=c[P])}return O},d.apply(null,arguments)}function h(O,m){var c=Object.keys(O);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(O);m&&(P=P.filter(function(L){return Object.getOwnPropertyDescriptor(O,L).enumerable})),c.push.apply(c,P)}return c}function w(O){for(var m=1;m<arguments.length;m++){var c=arguments[m]!=null?arguments[m]:{};m%2?h(Object(c),!0).forEach(function(P){p(O,P,c[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(c)):h(Object(c)).forEach(function(P){Object.defineProperty(O,P,Object.getOwnPropertyDescriptor(c,P))})}return O}function E(O,m){if(!(O instanceof m))throw new TypeError("Cannot call a class as a function")}function R(O,m){for(var c=0;c<m.length;c++){var P=m[c];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(O,g(P.key),P)}}function A(O,m,c){return m&&R(O.prototype,m),Object.defineProperty(O,"prototype",{writable:!1}),O}function C(O,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(m&&m.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),m&&v(O,m)}function v(O,m){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,P){return c.__proto__=P,c},v(O,m)}function M(O){var m=B();return function(){var c,P=U(O);if(m){var L=U(this).constructor;c=Reflect.construct(P,arguments,L)}else c=P.apply(this,arguments);return k(this,c)}}function k(O,m){if(m&&(f(m)=="object"||typeof m=="function"))return m;if(m!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return N(O)}function N(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function B(){try{var O=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(B=function(){return!!O})()}function U(O){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(m){return m.__proto__||Object.getPrototypeOf(m)},U(O)}function p(O,m,c){return(m=g(m))in O?Object.defineProperty(O,m,{value:c,enumerable:!0,configurable:!0,writable:!0}):O[m]=c,O}function g(O){var m=y(O,"string");return f(m)=="symbol"?m:m+""}function y(O,m){if(f(O)!="object"||!O)return O;var c=O[Symbol.toPrimitive];if(c!==void 0){var P=c.call(O,m);if(f(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(m==="string"?String:Number)(O)}e.default=function(O){C(c,O);var m=M(c);function c(P){var L;return E(this,c),L=m.call(this,P),p(N(L),"innerSliderRefHandler",function(x){return L.innerSlider=x}),p(N(L),"slickPrev",function(){return L.innerSlider.slickPrev()}),p(N(L),"slickNext",function(){return L.innerSlider.slickNext()}),p(N(L),"slickGoTo",function(x){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return L.innerSlider.slickGoTo(x,T)}),p(N(L),"slickPause",function(){return L.innerSlider.pause("paused")}),p(N(L),"slickPlay",function(){return L.innerSlider.autoPlay("play")}),L.state={breakpoint:null},L._responsiveMediaHandlers=[],L}return A(c,[{key:"media",value:function(L,x){var T=window.matchMedia(L),D=function(s){var J=s.matches;J&&x()};T.addListener(D),this._responsiveMediaHandlers.push({mql:T,query:L,listener:D})}},{key:"componentDidMount",value:function(){var L=this;if(this.props.responsive){var x=this.props.responsive.map(function(D){return D.breakpoint});x.sort(function(D,F){return D-F}),x.forEach(function(D,F){var s;F===0?s=(0,o.default)({minWidth:0,maxWidth:D}):s=(0,o.default)({minWidth:x[F-1]+1,maxWidth:D}),(0,a.canUseDOM)()&&L.media(s,function(){L.setState({breakpoint:D})})});var T=(0,o.default)({minWidth:x.slice(-1)[0]});(0,a.canUseDOM)()&&this.media(T,function(){L.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(L){L.mql.removeListener(L.listener)})}},{key:"render",value:function(){var L=this,x,T;this.state.breakpoint?(T=this.props.responsive.filter(function(j){return j.breakpoint===L.state.breakpoint}),x=T[0].settings==="unslick"?"unslick":w(w(w({},i.default),this.props),T[0].settings)):x=w(w({},i.default),this.props),x.centerMode&&(x.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(x.slidesToScroll)),x.slidesToScroll=1),x.fade&&(x.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(x.slidesToShow)),x.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(x.slidesToScroll)),x.slidesToShow=1,x.slidesToScroll=1);var D=t.default.Children.toArray(this.props.children);D=D.filter(function(j){return typeof j=="string"?!!j.trim():!!j}),x.variableWidth&&(x.rows>1||x.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),x.variableWidth=!1);for(var F=[],s=null,J=0;J<D.length;J+=x.rows*x.slidesPerRow){for(var b=[],n=J;n<J+x.rows*x.slidesPerRow;n+=x.slidesPerRow){for(var u=[],S=n;S<n+x.slidesPerRow&&(x.variableWidth&&D[S].props.style&&(s=D[S].props.style.width),!(S>=D.length));S+=1)u.push(t.default.cloneElement(D[S],{key:100*J+10*n+S,tabIndex:-1,style:{width:"".concat(100/x.slidesPerRow,"%"),display:"inline-block"}}));b.push(t.default.createElement("div",{key:10*J+n},u))}x.variableWidth?F.push(t.default.createElement("div",{key:J,style:{width:s}},b)):F.push(t.default.createElement("div",{key:J},b))}if(x==="unslick"){var I="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:I},D)}else F.length<=x.slidesToShow&&(x.unslick=!0);return t.default.createElement(r.InnerSlider,d({style:this.props.style,ref:this.innerSliderRefHandler},(0,a.filterSettings)(x)),F)}}]),c}(t.default.Component)}(kt)),kt}var cr;function Zn(){return cr||(cr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Jn());function r(o){return o&&o.__esModule?o:{default:o}}e.default=t.default}(xt)),xt}var Qn=Zn();const ei=gn(Qn);function Mt(){return Mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Mt.apply(null,arguments)}function ti(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ri(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var ni=function(){function e(r){var o=this;this._insertTag=function(i){var a;o.tags.length===0?o.insertionPoint?a=o.insertionPoint.nextSibling:o.prepend?a=o.container.firstChild:a=o.before:a=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(i,a),o.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ri(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=ti(i);try{a.insertRule(o,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){var i;return(i=o.parentNode)==null?void 0:i.removeChild(o)}),this.tags=[],this.ctr=0},e}(),de="-ms-",ht="-moz-",ee="-webkit-",Lr="comm",Nt="rule",Ft="decl",ii="@import",Dr="@keyframes",oi="@layer",ai=Math.abs,gt=String.fromCharCode,si=Object.assign;function li(e,t){return fe(e,0)^45?(((t<<2^fe(e,0))<<2^fe(e,1))<<2^fe(e,2))<<2^fe(e,3):0}function Mr(e){return e.trim()}function ui(e,t){return(e=t.exec(e))?e[0]:e}function te(e,t,r){return e.replace(t,r)}function It(e,t){return e.indexOf(t)}function fe(e,t){return e.charCodeAt(t)|0}function Ue(e,t,r){return e.slice(t,r)}function me(e){return e.length}function $t(e){return e.length}function it(e,t){return t.push(e),e}function ci(e,t){return e.map(t).join("")}var yt=1,Te=1,Ir=0,he=0,se=0,Le="";function bt(e,t,r,o,i,a,l){return{value:e,root:t,parent:r,type:o,props:i,children:a,line:yt,column:Te,length:l,return:""}}function We(e,t){return si(bt("",null,null,"",null,null,0),e,{length:-e.length},t)}function fi(){return se}function di(){return se=he>0?fe(Le,--he):0,Te--,se===10&&(Te=1,yt--),se}function ve(){return se=he<Ir?fe(Le,he++):0,Te++,se===10&&(Te=1,yt++),se}function ye(){return fe(Le,he)}function at(){return he}function Ke(e,t){return Ue(Le,e,t)}function Ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ar(e){return yt=Te=1,Ir=me(Le=e),he=0,[]}function zr(e){return Le="",e}function st(e){return Mr(Ke(he-1,At(e===91?e+2:e===40?e+1:e)))}function hi(e){for(;(se=ye())&&se<33;)ve();return Ye(e)>2||Ye(se)>3?"":" "}function pi(e,t){for(;--t&&ve()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return Ke(e,at()+(t<6&&ye()==32&&ve()==32))}function At(e){for(;ve();)switch(se){case e:return he;case 34:case 39:e!==34&&e!==39&&At(se);break;case 40:e===41&&At(e);break;case 92:ve();break}return he}function vi(e,t){for(;ve()&&e+se!==57;)if(e+se===84&&ye()===47)break;return"/*"+Ke(t,he-1)+"*"+gt(e===47?e:ve())}function mi(e){for(;!Ye(ye());)ve();return Ke(e,he)}function gi(e){return zr(lt("",null,null,null,[""],e=Ar(e),0,[0],e))}function lt(e,t,r,o,i,a,l,f,d){for(var h=0,w=0,E=l,R=0,A=0,C=0,v=1,M=1,k=1,N=0,B="",U=i,p=a,g=o,y=B;M;)switch(C=N,N=ve()){case 40:if(C!=108&&fe(y,E-1)==58){It(y+=te(st(N),"&","&\f"),"&\f")!=-1&&(k=-1);break}case 34:case 39:case 91:y+=st(N);break;case 9:case 10:case 13:case 32:y+=hi(C);break;case 92:y+=pi(at()-1,7);continue;case 47:switch(ye()){case 42:case 47:it(yi(vi(ve(),at()),t,r),d);break;default:y+="/"}break;case 123*v:f[h++]=me(y)*k;case 125*v:case 59:case 0:switch(N){case 0:case 125:M=0;case 59+w:k==-1&&(y=te(y,/\f/g,"")),A>0&&me(y)-E&&it(A>32?dr(y+";",o,r,E-1):dr(te(y," ","")+";",o,r,E-2),d);break;case 59:y+=";";default:if(it(g=fr(y,t,r,h,w,i,f,B,U=[],p=[],E),a),N===123)if(w===0)lt(y,t,g,g,U,a,E,f,p);else switch(R===99&&fe(y,3)===110?100:R){case 100:case 108:case 109:case 115:lt(e,g,g,o&&it(fr(e,g,g,0,0,i,f,B,i,U=[],E),p),i,p,E,f,o?U:p);break;default:lt(y,g,g,g,[""],p,0,f,p)}}h=w=A=0,v=k=1,B=y="",E=l;break;case 58:E=1+me(y),A=C;default:if(v<1){if(N==123)--v;else if(N==125&&v++==0&&di()==125)continue}switch(y+=gt(N),N*v){case 38:k=w>0?1:(y+="\f",-1);break;case 44:f[h++]=(me(y)-1)*k,k=1;break;case 64:ye()===45&&(y+=st(ve())),R=ye(),w=E=me(B=y+=mi(at())),N++;break;case 45:C===45&&me(y)==2&&(v=0)}}return a}function fr(e,t,r,o,i,a,l,f,d,h,w){for(var E=i-1,R=i===0?a:[""],A=$t(R),C=0,v=0,M=0;C<o;++C)for(var k=0,N=Ue(e,E+1,E=ai(v=l[C])),B=e;k<A;++k)(B=Mr(v>0?R[k]+" "+N:te(N,/&\f/g,R[k])))&&(d[M++]=B);return bt(e,t,r,i===0?Nt:f,d,h,w)}function yi(e,t,r){return bt(e,t,r,Lr,gt(fi()),Ue(e,2,-2),0)}function dr(e,t,r,o){return bt(e,t,r,Ft,Ue(e,0,o),Ue(e,o+1,-1),o)}function Re(e,t){for(var r="",o=$t(e),i=0;i<o;i++)r+=t(e[i],i,e,t)||"";return r}function bi(e,t,r,o){switch(e.type){case oi:if(e.children.length)break;case ii:case Ft:return e.return=e.return||e.value;case Lr:return"";case Dr:return e.return=e.value+"{"+Re(e.children,o)+"}";case Nt:e.value=e.props.join(",")}return me(r=Re(e.children,o))?e.return=e.value+"{"+r+"}":""}function wi(e){var t=$t(e);return function(r,o,i,a){for(var l="",f=0;f<t;f++)l+=e[f](r,o,i,a)||"";return l}}function Si(e){return function(t){t.root||(t=t.return)&&e(t)}}function Hr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var xi=function(t,r,o){for(var i=0,a=0;i=a,a=ye(),i===38&&a===12&&(r[o]=1),!Ye(a);)ve();return Ke(t,he)},ki=function(t,r){var o=-1,i=44;do switch(Ye(i)){case 0:i===38&&ye()===12&&(r[o]=1),t[o]+=xi(he-1,r,o);break;case 2:t[o]+=st(i);break;case 4:if(i===44){t[++o]=ye()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=gt(i)}while(i=ve());return t},Oi=function(t,r){return zr(ki(Ar(t),r))},hr=new WeakMap,Ci=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,i=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!hr.get(o))&&!i){hr.set(t,!0);for(var a=[],l=Oi(r,a),f=o.props,d=0,h=0;d<l.length;d++)for(var w=0;w<f.length;w++,h++)t.props[h]=a[d]?l[d].replace(/&\f/g,f[w]):f[w]+" "+l[d]}}},Pi=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Nr(e,t){switch(li(e,t)){case 5103:return ee+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+e+ht+e+de+e+e;case 6828:case 4268:return ee+e+de+e+e;case 6165:return ee+e+de+"flex-"+e+e;case 5187:return ee+e+te(e,/(\w+).+(:[^]+)/,ee+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return ee+e+de+"flex-item-"+te(e,/flex-|-self/,"")+e;case 4675:return ee+e+de+"flex-line-pack"+te(e,/align-content|flex-|-self/,"")+e;case 5548:return ee+e+de+te(e,"shrink","negative")+e;case 5292:return ee+e+de+te(e,"basis","preferred-size")+e;case 6060:return ee+"box-"+te(e,"-grow","")+ee+e+de+te(e,"grow","positive")+e;case 4554:return ee+te(e,/([^-])(transform)/g,"$1"+ee+"$2")+e;case 6187:return te(te(te(e,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),e,"")+e;case 5495:case 3959:return te(e,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return te(te(e,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+e+e;case 4095:case 3583:case 4068:case 2532:return te(e,/(.+)-inline(.+)/,ee+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(me(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return te(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+ht+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~It(e,"stretch")?Nr(te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fe(e,t+1)!==115)break;case 6444:switch(fe(e,me(e)-3-(~It(e,"!important")&&10))){case 107:return te(e,":",":"+ee)+e;case 101:return te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ee+(fe(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(fe(e,t+11)){case 114:return ee+e+de+te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+de+te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+de+te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ee+e+de+e+e}return e}var Ei=function(t,r,o,i){if(t.length>-1&&!t.return)switch(t.type){case Ft:t.return=Nr(t.value,t.length);break;case Dr:return Re([We(t,{value:te(t.value,"@","@"+ee)})],i);case Nt:if(t.length)return ci(t.props,function(a){switch(ui(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Re([We(t,{props:[te(a,/:(read-\w+)/,":"+ht+"$1")]})],i);case"::placeholder":return Re([We(t,{props:[te(a,/:(plac\w+)/,":"+ee+"input-$1")]}),We(t,{props:[te(a,/:(plac\w+)/,":"+ht+"$1")]}),We(t,{props:[te(a,/:(plac\w+)/,de+"input-$1")]})],i)}return""})}},Ri=[Ei],_i=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(v){var M=v.getAttribute("data-emotion");M.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||Ri,a={},l,f=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var M=v.getAttribute("data-emotion").split(" "),k=1;k<M.length;k++)a[M[k]]=!0;f.push(v)});var d,h=[Ci,Pi];{var w,E=[bi,Si(function(v){w.insert(v)})],R=wi(h.concat(i,E)),A=function(M){return Re(gi(M),R)};d=function(M,k,N,B){w=N,A(M?M+"{"+k.styles+"}":k.styles),B&&(C.inserted[k.name]=!0)}}var C={key:r,sheet:new ni({key:r,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:d};return C.sheet.hydrate(f),C},Ti=!0;function ji(e,t,r){var o="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(o+=i+" ")}),o}var Fr=function(t,r,o){var i=t.key+"-"+r.name;(o===!1||Ti===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Li=function(t,r,o){Fr(t,r,o);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var a=r;do t.insert(r===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function Di(e){for(var t=0,r,o=0,i=e.length;i>=4;++o,i-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Mi={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ii=/[A-Z]|^ms/g,Ai=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$r=function(t){return t.charCodeAt(1)===45},pr=function(t){return t!=null&&typeof t!="boolean"},Tt=Hr(function(e){return $r(e)?e:e.replace(Ii,"-$&").toLowerCase()}),vr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ai,function(o,i,a){return ge={name:i,styles:a,next:ge},i})}return Mi[t]!==1&&!$r(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ve(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return ge={name:i.name,styles:i.styles,next:ge},i.name;var a=r;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)ge={name:l.name,styles:l.styles,next:ge},l=l.next;var f=a.styles+";";return f}return zi(e,t,r)}case"function":{if(e!==void 0){var d=ge,h=r(e);return ge=d,Ve(e,t,h)}break}}var w=r;if(t==null)return w;var E=t[w];return E!==void 0?E:w}function zi(e,t,r){var o="";if(Array.isArray(r))for(var i=0;i<r.length;i++)o+=Ve(e,t,r[i])+";";else for(var a in r){var l=r[a];if(typeof l!="object"){var f=l;t!=null&&t[f]!==void 0?o+=a+"{"+t[f]+"}":pr(f)&&(o+=Tt(a)+":"+vr(a,f)+";")}else if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var d=0;d<l.length;d++)pr(l[d])&&(o+=Tt(a)+":"+vr(a,l[d])+";");else{var h=Ve(e,t,l);switch(a){case"animation":case"animationName":{o+=Tt(a)+":"+h+";";break}default:o+=a+"{"+h+"}"}}}return o}var mr=/label:\s*([^\s;{]+)\s*(;|$)/g,ge;function Hi(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,i="";ge=void 0;var a=e[0];if(a==null||a.raw===void 0)o=!1,i+=Ve(r,t,a);else{var l=a;i+=l[0]}for(var f=1;f<e.length;f++)if(i+=Ve(r,t,e[f]),o){var d=a;i+=d[f]}mr.lastIndex=0;for(var h="",w;(w=mr.exec(i))!==null;)h+="-"+w[1];var E=Di(i)+h;return{name:E,styles:i,next:ge}}var Ni=function(t){return t()},Fi=_.useInsertionEffect?_.useInsertionEffect:!1,$i=Fi||Ni,Wr=_.createContext(typeof HTMLElement<"u"?_i({key:"css"}):null);Wr.Provider;var Wi=function(t){return q.forwardRef(function(r,o){var i=q.useContext(Wr);return t(r,i,o)})},qi=_.createContext({}),Bi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ui=Hr(function(e){return Bi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Yi=Ui,Vi=function(t){return t!=="theme"},gr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Yi:Vi},yr=function(t,r,o){var i;if(r){var a=r.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof i!="function"&&o&&(i=t.__emotion_forwardProp),i},Xi=function(t){var r=t.cache,o=t.serialized,i=t.isStringTag;return Fr(r,o,i),$i(function(){return Li(r,o,i)}),null},Gi=function e(t,r){var o=t.__emotion_real===t,i=o&&t.__emotion_base||t,a,l;r!==void 0&&(a=r.label,l=r.target);var f=yr(t,r,o),d=f||gr(i),h=!d("as");return function(){var w=arguments,E=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&E.push("label:"+a+";"),w[0]==null||w[0].raw===void 0)E.push.apply(E,w);else{var R=w[0];E.push(R[0]);for(var A=w.length,C=1;C<A;C++)E.push(w[C],R[C])}var v=Wi(function(M,k,N){var B=h&&M.as||i,U="",p=[],g=M;if(M.theme==null){g={};for(var y in M)g[y]=M[y];g.theme=_.useContext(qi)}typeof M.className=="string"?U=ji(k.registered,p,M.className):M.className!=null&&(U=M.className+" ");var O=Hi(E.concat(p),k.registered,g);U+=k.key+"-"+O.name,l!==void 0&&(U+=" "+l);var m=h&&f===void 0?gr(B):d,c={};for(var P in M)h&&P==="as"||m(P)&&(c[P]=M[P]);return c.className=U,N&&(c.ref=N),_.createElement(_.Fragment,null,_.createElement(Xi,{cache:k,serialized:O,isStringTag:typeof B=="string"}),_.createElement(B,c))});return v.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=i,v.__emotion_styles=E,v.__emotion_forwardProp=f,Object.defineProperty(v,"toString",{value:function(){return"."+l}}),v.withComponent=function(M,k){var N=e(M,Mt({},r,k,{shouldForwardProp:yr(v,k,!0)}));return N.apply(void 0,E)},v}},Ki=["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","marquee","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"],je=Gi.bind(null);Ki.forEach(function(e){je[e]=je(e)});const Ji=je.div`
|
|
26
|
+
*/var Qt;function vt(){return Qt||(Qt=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",l=0;l<arguments.length;l++){var f=arguments[l];f&&(a=i(a,o(f)))}return a}function o(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var l="";for(var f in a)t.call(a,f)&&a[f]&&(l=i(l,f));return l}function i(a,l){return l?a?a+" "+l:a+l:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Pt)),Pt.exports}var W={},Et={},er;function Pr(){return er||(er=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(q);function r(i){return i&&i.__esModule?i:{default:i}}var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(a){return t.default.createElement("ul",{style:{display:"block"}},a)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(a){return t.default.createElement("button",null,a+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};e.default=o}(Et)),Et}var tr;function Ge(){if(tr)return W;tr=1,Object.defineProperty(W,"__esModule",{value:!0}),W.checkSpecKeys=W.checkNavigable=W.changeSlide=W.canUseDOM=W.canGoNext=void 0,W.clamp=p,W.extractObject=void 0,W.filterSettings=J,W.validSettings=W.swipeStart=W.swipeMove=W.swipeEnd=W.slidesOnRight=W.slidesOnLeft=W.slideHandler=W.siblingDirection=W.safePreventDefault=W.lazyStartIndex=W.lazySlidesOnRight=W.lazySlidesOnLeft=W.lazyEndIndex=W.keyHandler=W.initializedState=W.getWidth=W.getTrackLeft=W.getTrackCSS=W.getTrackAnimateCSS=W.getTotalSlides=W.getSwipeDirection=W.getSlideCount=W.getRequiredLazySlides=W.getPreClones=W.getPostClones=W.getOnDemandLazySlides=W.getNavigableIndexes=W.getHeight=void 0;var e=r(q),t=r(Pr());function r(b){return b&&b.__esModule?b:{default:b}}function o(b){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(b)}function i(b,n){var u=Object.keys(b);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(b);n&&(S=S.filter(function(I){return Object.getOwnPropertyDescriptor(b,I).enumerable})),u.push.apply(u,S)}return u}function a(b){for(var n=1;n<arguments.length;n++){var u=arguments[n]!=null?arguments[n]:{};n%2?i(Object(u),!0).forEach(function(S){l(b,S,u[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(u)):i(Object(u)).forEach(function(S){Object.defineProperty(b,S,Object.getOwnPropertyDescriptor(u,S))})}return b}function l(b,n,u){return(n=f(n))in b?Object.defineProperty(b,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):b[n]=u,b}function f(b){var n=d(b,"string");return o(n)=="symbol"?n:n+""}function d(b,n){if(o(b)!="object"||!b)return b;var u=b[Symbol.toPrimitive];if(u!==void 0){var S=u.call(b,n);if(o(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(b)}function p(b,n,u){return Math.max(n,Math.min(b,u))}var w=W.safePreventDefault=function(n){var u=["onTouchStart","onTouchMove","onWheel"];u.includes(n._reactName)||n.preventDefault()},E=W.getOnDemandLazySlides=function(n){for(var u=[],S=R(n),I=A(n),j=S;j<I;j++)n.lazyLoadedList.indexOf(j)<0&&u.push(j);return u};W.getRequiredLazySlides=function(n){for(var u=[],S=R(n),I=A(n),j=S;j<I;j++)u.push(j);return u};var R=W.lazyStartIndex=function(n){return n.currentSlide-C(n)},A=W.lazyEndIndex=function(n){return n.currentSlide+v(n)},C=W.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},v=W.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},M=W.getWidth=function(n){return n&&n.offsetWidth||0},k=W.getHeight=function(n){return n&&n.offsetHeight||0},N=W.getSwipeDirection=function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S,I,j,H;return S=n.startX-n.curX,I=n.startY-n.curY,j=Math.atan2(I,S),H=Math.round(j*180/Math.PI),H<0&&(H=360-Math.abs(H)),H<=45&&H>=0||H<=360&&H>=315?"left":H>=135&&H<=225?"right":u===!0?H>=35&&H<=135?"up":"down":"vertical"},B=W.canGoNext=function(n){var u=!0;return n.infinite||(n.centerMode&&n.currentSlide>=n.slideCount-1||n.slideCount<=n.slidesToShow||n.currentSlide>=n.slideCount-n.slidesToShow)&&(u=!1),u};W.extractObject=function(n,u){var S={};return u.forEach(function(I){return S[I]=n[I]}),S},W.initializedState=function(n){var u=e.default.Children.count(n.children),S=n.listRef,I=Math.ceil(M(S)),j=n.trackRef&&n.trackRef.node,H=Math.ceil(M(j)),z;if(n.vertical)z=I;else{var $=n.centerMode&&parseInt(n.centerPadding)*2;typeof n.centerPadding=="string"&&n.centerPadding.slice(-1)==="%"&&($*=I/100),z=Math.ceil((I-$)/n.slidesToShow)}var Y=S&&k(S.querySelector('[data-index="0"]')),V=Y*n.slidesToShow,X=n.currentSlide===void 0?n.initialSlide:n.currentSlide;n.rtl&&n.currentSlide===void 0&&(X=u-1-n.initialSlide);var re=n.lazyLoadedList||[],ie=E(a(a({},n),{},{currentSlide:X,lazyLoadedList:re}));re=re.concat(ie);var Q={slideCount:u,slideWidth:z,listWidth:I,trackWidth:H,currentSlide:X,slideHeight:Y,listHeight:V,lazyLoadedList:re};return n.autoplaying===null&&n.autoplay&&(Q.autoplaying="playing"),Q},W.slideHandler=function(n){var u=n.waitForAnimate,S=n.animating,I=n.fade,j=n.infinite,H=n.index,z=n.slideCount,$=n.lazyLoad,Y=n.currentSlide,V=n.centerMode,X=n.slidesToScroll,re=n.slidesToShow,ie=n.useCSS,Q=n.lazyLoadedList;if(u&&S)return{};var Z=H,ne,le,K,ae={},ue={},ce=j?H:p(H,0,z-1);if(I){if(!j&&(H<0||H>=z))return{};H<0?Z=H+z:H>=z&&(Z=H-z),$&&Q.indexOf(Z)<0&&(Q=Q.concat(Z)),ae={animating:!0,currentSlide:Z,lazyLoadedList:Q,targetSlide:Z},ue={animating:!1,targetSlide:Z}}else ne=Z,Z<0?(ne=Z+z,j?z%X!==0&&(ne=z-z%X):ne=0):!B(n)&&Z>Y?Z=ne=Y:V&&Z>=z?(Z=j?z:z-1,ne=j?0:z-1):Z>=z&&(ne=Z-z,j?z%X!==0&&(ne=0):ne=z-re),!j&&Z+re>=z&&(ne=z-re),le=c(a(a({},n),{},{slideIndex:Z})),K=c(a(a({},n),{},{slideIndex:ne})),j||(le===K&&(Z=ne),le=K),$&&(Q=Q.concat(E(a(a({},n),{},{currentSlide:Z})))),ie?(ae={animating:!0,currentSlide:ne,trackStyle:m(a(a({},n),{},{left:le})),lazyLoadedList:Q,targetSlide:ce},ue={animating:!1,currentSlide:ne,trackStyle:O(a(a({},n),{},{left:K})),swipeLeft:null,targetSlide:ce}):ae={currentSlide:ne,trackStyle:O(a(a({},n),{},{left:K})),lazyLoadedList:Q,targetSlide:ce};return{state:ae,nextState:ue}},W.changeSlide=function(n,u){var S,I,j,H,z,$=n.slidesToScroll,Y=n.slidesToShow,V=n.slideCount,X=n.currentSlide,re=n.targetSlide,ie=n.lazyLoad,Q=n.infinite;if(H=V%$!==0,S=H?0:(V-X)%$,u.message==="previous")j=S===0?$:Y-S,z=X-j,ie&&!Q&&(I=X-j,z=I===-1?V-1:I),Q||(z=re-$);else if(u.message==="next")j=S===0?$:S,z=X+j,ie&&!Q&&(z=(X+$)%V+S),Q||(z=re+$);else if(u.message==="dots")z=u.index*u.slidesToScroll;else if(u.message==="children"){if(z=u.index,Q){var Z=T(a(a({},n),{},{targetSlide:z}));z>u.currentSlide&&Z==="left"?z=z-V:z<u.currentSlide&&Z==="right"&&(z=z+V)}}else u.message==="index"&&(z=Number(u.index));return z},W.keyHandler=function(n,u,S){return n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!u?"":n.keyCode===37?S?"next":"previous":n.keyCode===39?S?"previous":"next":""},W.swipeStart=function(n,u,S){return n.target.tagName==="IMG"&&w(n),!u||!S&&n.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:n.touches?n.touches[0].pageX:n.clientX,startY:n.touches?n.touches[0].pageY:n.clientY,curX:n.touches?n.touches[0].pageX:n.clientX,curY:n.touches?n.touches[0].pageY:n.clientY}}},W.swipeMove=function(n,u){var S=u.scrolling,I=u.animating,j=u.vertical,H=u.swipeToSlide,z=u.verticalSwiping,$=u.rtl,Y=u.currentSlide,V=u.edgeFriction,X=u.edgeDragged,re=u.onEdge,ie=u.swiped,Q=u.swiping,Z=u.slideCount,ne=u.slidesToScroll,le=u.infinite,K=u.touchObject,ae=u.swipeEvent,ue=u.listHeight,ce=u.listWidth;if(!S){if(I)return w(n);j&&H&&z&&w(n);var he,Pe={},tt=c(u);K.curX=n.touches?n.touches[0].pageX:n.clientX,K.curY=n.touches?n.touches[0].pageY:n.clientY,K.swipeLength=Math.round(Math.sqrt(Math.pow(K.curX-K.startX,2)));var Vt=Math.round(Math.sqrt(Math.pow(K.curY-K.startY,2)));if(!z&&!Q&&Vt>10)return{scrolling:!0};z&&(K.swipeLength=Vt);var Ie=($?-1:1)*(K.curX>K.startX?1:-1);z&&(Ie=K.curY>K.startY?1:-1);var vn=Math.ceil(Z/ne),Oe=N(u.touchObject,z),Ae=K.swipeLength;return le||(Y===0&&(Oe==="right"||Oe==="down")||Y+1>=vn&&(Oe==="left"||Oe==="up")||!B(u)&&(Oe==="left"||Oe==="up"))&&(Ae=K.swipeLength*V,X===!1&&re&&(re(Oe),Pe.edgeDragged=!0)),!ie&&ae&&(ae(Oe),Pe.swiped=!0),j?he=tt+Ae*(ue/ce)*Ie:$?he=tt-Ae*Ie:he=tt+Ae*Ie,z&&(he=tt+Ae*Ie),Pe=a(a({},Pe),{},{touchObject:K,swipeLeft:he,trackStyle:O(a(a({},u),{},{left:he}))}),Math.abs(K.curX-K.startX)<Math.abs(K.curY-K.startY)*.8||K.swipeLength>10&&(Pe.swiping=!0,w(n)),Pe}},W.swipeEnd=function(n,u){var S=u.dragging,I=u.swipe,j=u.touchObject,H=u.listWidth,z=u.touchThreshold,$=u.verticalSwiping,Y=u.listHeight,V=u.swipeToSlide,X=u.scrolling,re=u.onSwipe,ie=u.targetSlide,Q=u.currentSlide,Z=u.infinite;if(!S)return I&&w(n),{};var ne=$?Y/z:H/z,le=N(j,$),K={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(X||!j.swipeLength)return K;if(j.swipeLength>ne){w(n),re&&re(le);var ae,ue,ce=Z?Q:ie;switch(le){case"left":case"up":ue=ce+g(u),ae=V?h(u,ue):ue,K.currentDirection=0;break;case"right":case"down":ue=ce-g(u),ae=V?h(u,ue):ue,K.currentDirection=1;break;default:ae=ce}K.triggerSlideHandler=ae}else{var he=c(u);K.trackStyle=m(a(a({},u),{},{left:he}))}return K};var U=W.getNavigableIndexes=function(n){for(var u=n.infinite?n.slideCount*2:n.slideCount,S=n.infinite?n.slidesToShow*-1:0,I=n.infinite?n.slidesToShow*-1:0,j=[];S<u;)j.push(S),S=I+n.slidesToScroll,I+=Math.min(n.slidesToScroll,n.slidesToShow);return j},h=W.checkNavigable=function(n,u){var S=U(n),I=0;if(u>S[S.length-1])u=S[S.length-1];else for(var j in S){if(u<S[j]){u=I;break}I=S[j]}return u},g=W.getSlideCount=function(n){var u=n.centerMode?n.slideWidth*Math.floor(n.slidesToShow/2):0;if(n.swipeToSlide){var S,I=n.listRef,j=I.querySelectorAll&&I.querySelectorAll(".slick-slide")||[];if(Array.from(j).every(function($){if(n.vertical){if($.offsetTop+k($)/2>n.swipeLeft*-1)return S=$,!1}else if($.offsetLeft-u+M($)/2>n.swipeLeft*-1)return S=$,!1;return!0}),!S)return 0;var H=n.rtl===!0?n.slideCount-n.currentSlide:n.currentSlide,z=Math.abs(S.dataset.index-H)||1;return z}else return n.slidesToScroll},y=W.checkSpecKeys=function(n,u){return u.reduce(function(S,I){return S&&n.hasOwnProperty(I)},!0)?null:console.error("Keys Missing:",n)},O=W.getTrackCSS=function(n){y(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var u,S;if(!n.vertical)u=x(n)*n.slideWidth;else{var I=n.unslick?n.slideCount:n.slideCount+2*n.slidesToShow;S=I*n.slideHeight}var j={opacity:1,transition:"",WebkitTransition:""};if(n.useTransform){var H=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",z=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",$=n.vertical?"translateY("+n.left+"px)":"translateX("+n.left+"px)";j=a(a({},j),{},{WebkitTransform:H,transform:z,msTransform:$})}else n.vertical?j.top=n.left:j.left=n.left;return n.fade&&(j={opacity:1}),u&&(j.width=u),S&&(j.height=S),window&&!window.addEventListener&&window.attachEvent&&(n.vertical?j.marginTop=n.left+"px":j.marginLeft=n.left+"px"),j},m=W.getTrackAnimateCSS=function(n){y(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var u=O(n);return n.useTransform?(u.WebkitTransition="-webkit-transform "+n.speed+"ms "+n.cssEase,u.transition="transform "+n.speed+"ms "+n.cssEase):n.vertical?u.transition="top "+n.speed+"ms "+n.cssEase:u.transition="left "+n.speed+"ms "+n.cssEase,u},c=W.getTrackLeft=function(n){if(n.unslick)return 0;y(n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var u=n.slideIndex,S=n.trackRef,I=n.infinite,j=n.centerMode,H=n.slideCount,z=n.slidesToShow,$=n.slidesToScroll,Y=n.slideWidth,V=n.listWidth,X=n.variableWidth,re=n.slideHeight,ie=n.fade,Q=n.vertical,Z=0,ne,le,K=0;if(ie||n.slideCount===1)return 0;var ae=0;if(I?(ae=-P(n),H%$!==0&&u+$>H&&(ae=-(u>H?z-(u-H):H%$)),j&&(ae+=parseInt(z/2))):(H%$!==0&&u+$>H&&(ae=z-H%$),j&&(ae=parseInt(z/2))),Z=ae*Y,K=ae*re,Q?ne=u*re*-1+K:ne=u*Y*-1+Z,X===!0){var ue,ce=S&&S.node;if(ue=u+P(n),le=ce&&ce.childNodes[ue],ne=le?le.offsetLeft*-1:0,j===!0){ue=I?u+P(n):u,le=ce&&ce.children[ue],ne=0;for(var he=0;he<ue;he++)ne-=ce&&ce.children[he]&&ce.children[he].offsetWidth;ne-=parseInt(n.centerPadding),ne+=le&&(V-le.offsetWidth)/2}}return ne},P=W.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},L=W.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},x=W.getTotalSlides=function(n){return n.slideCount===1?1:P(n)+n.slideCount+L(n)},T=W.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+D(n)?"left":"right":n.targetSlide<n.currentSlide-F(n)?"right":"left"},D=W.slidesOnRight=function(n){var u=n.slidesToShow,S=n.centerMode,I=n.rtl,j=n.centerPadding;if(S){var H=(u-1)/2+1;return parseInt(j)>0&&(H+=1),I&&u%2===0&&(H+=1),H}return I?0:u-1},F=W.slidesOnLeft=function(n){var u=n.slidesToShow,S=n.centerMode,I=n.rtl,j=n.centerPadding;if(S){var H=(u-1)/2+1;return parseInt(j)>0&&(H+=1),!I&&u%2===0&&(H+=1),H}return I?u-1:0};W.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var s=W.validSettings=Object.keys(t.default);function J(b){return s.reduce(function(n,u){return b.hasOwnProperty(u)&&(n[u]=b[u]),n},{})}return W}var Fe={},rr;function Cn(){if(rr)return Fe;rr=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.Track=void 0;var e=o(q),t=o(vt()),r=Ge();function o(m){return m&&m.__esModule?m:{default:m}}function i(m){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},i(m)}function a(){return a=Object.assign?Object.assign.bind():function(m){for(var c=1;c<arguments.length;c++){var P=arguments[c];for(var L in P)({}).hasOwnProperty.call(P,L)&&(m[L]=P[L])}return m},a.apply(null,arguments)}function l(m,c){if(!(m instanceof c))throw new TypeError("Cannot call a class as a function")}function f(m,c){for(var P=0;P<c.length;P++){var L=c[P];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(m,B(L.key),L)}}function d(m,c,P){return c&&f(m.prototype,c),Object.defineProperty(m,"prototype",{writable:!1}),m}function p(m,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");m.prototype=Object.create(c&&c.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),Object.defineProperty(m,"prototype",{writable:!1}),c&&w(m,c)}function w(m,c){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,L){return P.__proto__=L,P},w(m,c)}function E(m){var c=C();return function(){var P,L=v(m);if(c){var x=v(this).constructor;P=Reflect.construct(L,arguments,x)}else P=L.apply(this,arguments);return R(this,P)}}function R(m,c){if(c&&(i(c)=="object"||typeof c=="function"))return c;if(c!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(m)}function A(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function C(){try{var m=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(C=function(){return!!m})()}function v(m){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(c){return c.__proto__||Object.getPrototypeOf(c)},v(m)}function M(m,c){var P=Object.keys(m);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(m);c&&(L=L.filter(function(x){return Object.getOwnPropertyDescriptor(m,x).enumerable})),P.push.apply(P,L)}return P}function k(m){for(var c=1;c<arguments.length;c++){var P=arguments[c]!=null?arguments[c]:{};c%2?M(Object(P),!0).forEach(function(L){N(m,L,P[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(P)):M(Object(P)).forEach(function(L){Object.defineProperty(m,L,Object.getOwnPropertyDescriptor(P,L))})}return m}function N(m,c,P){return(c=B(c))in m?Object.defineProperty(m,c,{value:P,enumerable:!0,configurable:!0,writable:!0}):m[c]=P,m}function B(m){var c=U(m,"string");return i(c)=="symbol"?c:c+""}function U(m,c){if(i(m)!="object"||!m)return m;var P=m[Symbol.toPrimitive];if(P!==void 0){var L=P.call(m,c);if(i(L)!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(m)}var h=function(c){var P,L,x,T,D;c.rtl?D=c.slideCount-1-c.index:D=c.index,x=D<0||D>=c.slideCount,c.centerMode?(T=Math.floor(c.slidesToShow/2),L=(D-c.currentSlide)%c.slideCount===0,D>c.currentSlide-T-1&&D<=c.currentSlide+T&&(P=!0)):P=c.currentSlide<=D&&D<c.currentSlide+c.slidesToShow;var F;c.targetSlide<0?F=c.targetSlide+c.slideCount:c.targetSlide>=c.slideCount?F=c.targetSlide-c.slideCount:F=c.targetSlide;var s=D===F;return{"slick-slide":!0,"slick-active":P,"slick-center":L,"slick-cloned":x,"slick-current":s}},g=function(c){var P={};return(c.variableWidth===void 0||c.variableWidth===!1)&&(P.width=c.slideWidth),c.fade&&(P.position="relative",c.vertical?P.top=-c.index*parseInt(c.slideHeight):P.left=-c.index*parseInt(c.slideWidth),P.opacity=c.currentSlide===c.index?1:0,P.zIndex=c.currentSlide===c.index?999:998,c.useCSS&&(P.transition="opacity "+c.speed+"ms "+c.cssEase+", visibility "+c.speed+"ms "+c.cssEase)),P},y=function(c,P){return c.key||P},O=function(c){var P,L=[],x=[],T=[],D=e.default.Children.count(c.children),F=(0,r.lazyStartIndex)(c),s=(0,r.lazyEndIndex)(c);return e.default.Children.forEach(c.children,function(J,b){var n,u={message:"children",index:b,slidesToScroll:c.slidesToScroll,currentSlide:c.currentSlide};!c.lazyLoad||c.lazyLoad&&c.lazyLoadedList.indexOf(b)>=0?n=J:n=e.default.createElement("div",null);var S=g(k(k({},c),{},{index:b})),I=n.props.className||"",j=h(k(k({},c),{},{index:b}));if(L.push(e.default.cloneElement(n,{key:"original"+y(n,b),"data-index":b,className:(0,t.default)(j,I),tabIndex:"-1","aria-hidden":!j["slick-active"],style:k(k({outline:"none"},n.props.style||{}),S),onClick:function($){n.props&&n.props.onClick&&n.props.onClick($),c.focusOnSelect&&c.focusOnSelect(u)}})),c.infinite&&D>1&&c.fade===!1&&!c.unslick){var H=D-b;H<=(0,r.getPreClones)(c)&&(P=-H,P>=F&&(n=J),j=h(k(k({},c),{},{index:P})),x.push(e.default.cloneElement(n,{key:"precloned"+y(n,P),"data-index":P,tabIndex:"-1",className:(0,t.default)(j,I),"aria-hidden":!j["slick-active"],style:k(k({},n.props.style||{}),S),onClick:function($){n.props&&n.props.onClick&&n.props.onClick($),c.focusOnSelect&&c.focusOnSelect(u)}}))),b<(0,r.getPostClones)(c)&&(P=D+b,P<s&&(n=J),j=h(k(k({},c),{},{index:P})),T.push(e.default.cloneElement(n,{key:"postcloned"+y(n,P),"data-index":P,tabIndex:"-1",className:(0,t.default)(j,I),"aria-hidden":!j["slick-active"],style:k(k({},n.props.style||{}),S),onClick:function($){n.props&&n.props.onClick&&n.props.onClick($),c.focusOnSelect&&c.focusOnSelect(u)}})))}}),c.rtl?x.concat(L,T).reverse():x.concat(L,T)};return Fe.Track=function(m){p(P,m);var c=E(P);function P(){var L;l(this,P);for(var x=arguments.length,T=new Array(x),D=0;D<x;D++)T[D]=arguments[D];return L=c.call.apply(c,[this].concat(T)),N(A(L),"node",null),N(A(L),"handleRef",function(F){L.node=F}),L}return d(P,[{key:"render",value:function(){var x=O(this.props),T=this.props,D=T.onMouseEnter,F=T.onMouseOver,s=T.onMouseLeave,J={onMouseEnter:D,onMouseOver:F,onMouseLeave:s};return e.default.createElement("div",a({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},J),x)}}]),P}(e.default.PureComponent),Fe}var $e={},nr;function Pn(){if(nr)return $e;nr=1;function e(h){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},e(h)}Object.defineProperty($e,"__esModule",{value:!0}),$e.Dots=void 0;var t=i(q),r=i(vt()),o=Ge();function i(h){return h&&h.__esModule?h:{default:h}}function a(h,g){var y=Object.keys(h);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(h);g&&(O=O.filter(function(m){return Object.getOwnPropertyDescriptor(h,m).enumerable})),y.push.apply(y,O)}return y}function l(h){for(var g=1;g<arguments.length;g++){var y=arguments[g]!=null?arguments[g]:{};g%2?a(Object(y),!0).forEach(function(O){f(h,O,y[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(y)):a(Object(y)).forEach(function(O){Object.defineProperty(h,O,Object.getOwnPropertyDescriptor(y,O))})}return h}function f(h,g,y){return(g=E(g))in h?Object.defineProperty(h,g,{value:y,enumerable:!0,configurable:!0,writable:!0}):h[g]=y,h}function d(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}function p(h,g){for(var y=0;y<g.length;y++){var O=g[y];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(h,E(O.key),O)}}function w(h,g,y){return g&&p(h.prototype,g),Object.defineProperty(h,"prototype",{writable:!1}),h}function E(h){var g=R(h,"string");return e(g)=="symbol"?g:g+""}function R(h,g){if(e(h)!="object"||!h)return h;var y=h[Symbol.toPrimitive];if(y!==void 0){var O=y.call(h,g);if(e(O)!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}function A(h,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(g&&g.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),g&&C(h,g)}function C(h,g){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,O){return y.__proto__=O,y},C(h,g)}function v(h){var g=N();return function(){var y,O=B(h);if(g){var m=B(this).constructor;y=Reflect.construct(O,arguments,m)}else y=O.apply(this,arguments);return M(this,y)}}function M(h,g){if(g&&(e(g)=="object"||typeof g=="function"))return g;if(g!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(h)}function k(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function N(){try{var h=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(N=function(){return!!h})()}function B(h){return B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)},B(h)}var U=function(g){var y;return g.infinite?y=Math.ceil(g.slideCount/g.slidesToScroll):y=Math.ceil((g.slideCount-g.slidesToShow)/g.slidesToScroll)+1,y};return $e.Dots=function(h){A(y,h);var g=v(y);function y(){return d(this,y),g.apply(this,arguments)}return w(y,[{key:"clickHandler",value:function(m,c){c.preventDefault(),this.props.clickHandler(m)}},{key:"render",value:function(){for(var m=this.props,c=m.onMouseEnter,P=m.onMouseOver,L=m.onMouseLeave,x=m.infinite,T=m.slidesToScroll,D=m.slidesToShow,F=m.slideCount,s=m.currentSlide,J=U({slideCount:F,slidesToScroll:T,slidesToShow:D,infinite:x}),b={onMouseEnter:c,onMouseOver:P,onMouseLeave:L},n=[],u=0;u<J;u++){var S=(u+1)*T-1,I=x?S:(0,o.clamp)(S,0,F-1),j=I-(T-1),H=x?j:(0,o.clamp)(j,0,F-1),z=(0,r.default)({"slick-active":x?s>=H&&s<=I:s===H}),$={message:"dots",index:u,slidesToScroll:T,currentSlide:s},Y=this.clickHandler.bind(this,$);n=n.concat(t.default.createElement("li",{key:u,className:z},t.default.cloneElement(this.props.customPaging(u),{onClick:Y})))}return t.default.cloneElement(this.props.appendDots(n),l({className:this.props.dotsClass},b))}}]),y}(t.default.PureComponent),$e}var Ee={},ir;function En(){if(ir)return Ee;ir=1;function e(h){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},e(h)}Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.PrevArrow=Ee.NextArrow=void 0;var t=i(q),r=i(vt()),o=Ge();function i(h){return h&&h.__esModule?h:{default:h}}function a(){return a=Object.assign?Object.assign.bind():function(h){for(var g=1;g<arguments.length;g++){var y=arguments[g];for(var O in y)({}).hasOwnProperty.call(y,O)&&(h[O]=y[O])}return h},a.apply(null,arguments)}function l(h,g){var y=Object.keys(h);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(h);g&&(O=O.filter(function(m){return Object.getOwnPropertyDescriptor(h,m).enumerable})),y.push.apply(y,O)}return y}function f(h){for(var g=1;g<arguments.length;g++){var y=arguments[g]!=null?arguments[g]:{};g%2?l(Object(y),!0).forEach(function(O){d(h,O,y[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(y)):l(Object(y)).forEach(function(O){Object.defineProperty(h,O,Object.getOwnPropertyDescriptor(y,O))})}return h}function d(h,g,y){return(g=R(g))in h?Object.defineProperty(h,g,{value:y,enumerable:!0,configurable:!0,writable:!0}):h[g]=y,h}function p(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}function w(h,g){for(var y=0;y<g.length;y++){var O=g[y];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(h,R(O.key),O)}}function E(h,g,y){return g&&w(h.prototype,g),Object.defineProperty(h,"prototype",{writable:!1}),h}function R(h){var g=A(h,"string");return e(g)=="symbol"?g:g+""}function A(h,g){if(e(h)!="object"||!h)return h;var y=h[Symbol.toPrimitive];if(y!==void 0){var O=y.call(h,g);if(e(O)!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}function C(h,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(g&&g.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),g&&v(h,g)}function v(h,g){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,O){return y.__proto__=O,y},v(h,g)}function M(h){var g=B();return function(){var y,O=U(h);if(g){var m=U(this).constructor;y=Reflect.construct(O,arguments,m)}else y=O.apply(this,arguments);return k(this,y)}}function k(h,g){if(g&&(e(g)=="object"||typeof g=="function"))return g;if(g!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return N(h)}function N(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function B(){try{var h=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(B=function(){return!!h})()}function U(h){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(g){return g.__proto__||Object.getPrototypeOf(g)},U(h)}return Ee.PrevArrow=function(h){C(y,h);var g=M(y);function y(){return p(this,y),g.apply(this,arguments)}return E(y,[{key:"clickHandler",value:function(m,c){c&&c.preventDefault(),this.props.clickHandler(m,c)}},{key:"render",value:function(){var m={"slick-arrow":!0,"slick-prev":!0},c=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(m["slick-disabled"]=!0,c=null);var P={key:"0","data-role":"none",className:(0,r.default)(m),style:{display:"block"},onClick:c},L={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},x;return this.props.prevArrow?x=t.default.cloneElement(this.props.prevArrow,f(f({},P),L)):x=t.default.createElement("button",a({key:"0",type:"button"},P)," ","Previous"),x}}]),y}(t.default.PureComponent),Ee.NextArrow=function(h){C(y,h);var g=M(y);function y(){return p(this,y),g.apply(this,arguments)}return E(y,[{key:"clickHandler",value:function(m,c){c&&c.preventDefault(),this.props.clickHandler(m,c)}},{key:"render",value:function(){var m={"slick-arrow":!0,"slick-next":!0},c=this.clickHandler.bind(this,{message:"next"});(0,o.canGoNext)(this.props)||(m["slick-disabled"]=!0,c=null);var P={key:"1","data-role":"none",className:(0,r.default)(m),style:{display:"block"},onClick:c},L={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},x;return this.props.nextArrow?x=t.default.cloneElement(this.props.nextArrow,f(f({},P),L)):x=t.default.createElement("button",a({key:"1",type:"button"},P)," ","Next"),x}}]),y}(t.default.PureComponent),Ee}var Er=function(){if(typeof Map<"u")return Map;function e(t,r){var o=-1;return t.some(function(i,a){return i[0]===r?(o=a,!0):!1}),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var o=e(this.__entries__,r),i=this.__entries__[o];return i&&i[1]},t.prototype.set=function(r,o){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=o:this.__entries__.push([r,o])},t.prototype.delete=function(r){var o=this.__entries__,i=e(o,r);~i&&o.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,o){o===void 0&&(o=null);for(var i=0,a=this.__entries__;i<a.length;i++){var l=a[i];r.call(o,l[1],l[0])}},t}()}(),Dt=typeof window<"u"&&typeof document<"u"&&window.document===document,ft=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Rn=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ft):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),_n=2;function Tn(e,t){var r=!1,o=!1,i=0;function a(){r&&(r=!1,e()),o&&f()}function l(){Rn(a)}function f(){var d=Date.now();if(r){if(d-i<_n)return;o=!0}else r=!0,o=!1,setTimeout(l,t);i=d}return f}var jn=20,Ln=["top","right","bottom","left","width","height","size","weight"],Dn=typeof MutationObserver<"u",Mn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Tn(this.refresh.bind(this),jn)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,o=r.indexOf(t);~o&&r.splice(o,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Dt||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Dn?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Dt||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,o=r===void 0?"":r,i=Ln.some(function(a){return!!~o.indexOf(a)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Rr=function(e,t){for(var r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},_e=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||ft},_r=mt(0,0,0,0);function dt(e){return parseFloat(e)||0}function or(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(o,i){var a=e["border-"+i+"-width"];return o+dt(a)},0)}function In(e){for(var t=["top","right","bottom","left"],r={},o=0,i=t;o<i.length;o++){var a=i[o],l=e["padding-"+a];r[a]=dt(l)}return r}function An(e){var t=e.getBBox();return mt(0,0,t.width,t.height)}function zn(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return _r;var o=_e(e).getComputedStyle(e),i=In(o),a=i.left+i.right,l=i.top+i.bottom,f=dt(o.width),d=dt(o.height);if(o.boxSizing==="border-box"&&(Math.round(f+a)!==t&&(f-=or(o,"left","right")+a),Math.round(d+l)!==r&&(d-=or(o,"top","bottom")+l)),!Nn(e)){var p=Math.round(f+a)-t,w=Math.round(d+l)-r;Math.abs(p)!==1&&(f-=p),Math.abs(w)!==1&&(d-=w)}return mt(i.left,i.top,f,d)}var Hn=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof _e(e).SVGGraphicsElement}:function(e){return e instanceof _e(e).SVGElement&&typeof e.getBBox=="function"}}();function Nn(e){return e===_e(e).document.documentElement}function Fn(e){return Dt?Hn(e)?An(e):zn(e):_r}function $n(e){var t=e.x,r=e.y,o=e.width,i=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,l=Object.create(a.prototype);return Rr(l,{x:t,y:r,width:o,height:i,top:r,right:t+o,bottom:i+r,left:t}),l}function mt(e,t,r,o){return{x:e,y:t,width:r,height:o}}var Wn=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=mt(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Fn(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),qn=function(){function e(t,r){var o=$n(r);Rr(this,{target:t,contentRect:o})}return e}(),Bn=function(){function e(t,r,o){if(this.activeObservations_=[],this.observations_=new Er,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=o}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Wn(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _e(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(o){return new qn(o.target,o.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Tr=typeof WeakMap<"u"?new WeakMap:new Er,jr=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Mn.getInstance(),o=new Bn(t,r,this);Tr.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){jr.prototype[e]=function(){var t;return(t=Tr.get(this))[e].apply(t,arguments)}});var Un=function(){return typeof ft.ResizeObserver<"u"?ft.ResizeObserver:jr}();const Yn=Object.freeze(Object.defineProperty({__proto__:null,default:Un},Symbol.toStringTag,{value:"Module"})),Vn=yn(Yn);var ar;function Xn(){if(ar)return Ne;ar=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.InnerSlider=void 0;var e=p(q),t=p(kn()),r=p(On()),o=p(vt()),i=Ge(),a=Cn(),l=Pn(),f=En(),d=p(Vn);function p(x){return x&&x.__esModule?x:{default:x}}function w(x){"@babel/helpers - typeof";return w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},w(x)}function E(){return E=Object.assign?Object.assign.bind():function(x){for(var T=1;T<arguments.length;T++){var D=arguments[T];for(var F in D)({}).hasOwnProperty.call(D,F)&&(x[F]=D[F])}return x},E.apply(null,arguments)}function R(x,T){if(x==null)return{};var D,F,s=A(x,T);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(x);for(F=0;F<J.length;F++)D=J[F],T.includes(D)||{}.propertyIsEnumerable.call(x,D)&&(s[D]=x[D])}return s}function A(x,T){if(x==null)return{};var D={};for(var F in x)if({}.hasOwnProperty.call(x,F)){if(T.includes(F))continue;D[F]=x[F]}return D}function C(x,T){var D=Object.keys(x);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(x);T&&(F=F.filter(function(s){return Object.getOwnPropertyDescriptor(x,s).enumerable})),D.push.apply(D,F)}return D}function v(x){for(var T=1;T<arguments.length;T++){var D=arguments[T]!=null?arguments[T]:{};T%2?C(Object(D),!0).forEach(function(F){c(x,F,D[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(D)):C(Object(D)).forEach(function(F){Object.defineProperty(x,F,Object.getOwnPropertyDescriptor(D,F))})}return x}function M(x,T){if(!(x instanceof T))throw new TypeError("Cannot call a class as a function")}function k(x,T){for(var D=0;D<T.length;D++){var F=T[D];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(x,P(F.key),F)}}function N(x,T,D){return T&&k(x.prototype,T),Object.defineProperty(x,"prototype",{writable:!1}),x}function B(x,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(T&&T.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),Object.defineProperty(x,"prototype",{writable:!1}),T&&U(x,T)}function U(x,T){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,F){return D.__proto__=F,D},U(x,T)}function h(x){var T=O();return function(){var D,F=m(x);if(T){var s=m(this).constructor;D=Reflect.construct(F,arguments,s)}else D=F.apply(this,arguments);return g(this,D)}}function g(x,T){if(T&&(w(T)=="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y(x)}function y(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function O(){try{var x=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(O=function(){return!!x})()}function m(x){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},m(x)}function c(x,T,D){return(T=P(T))in x?Object.defineProperty(x,T,{value:D,enumerable:!0,configurable:!0,writable:!0}):x[T]=D,x}function P(x){var T=L(x,"string");return w(T)=="symbol"?T:T+""}function L(x,T){if(w(x)!="object"||!x)return x;var D=x[Symbol.toPrimitive];if(D!==void 0){var F=D.call(x,T);if(w(F)!="object")return F;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(x)}return Ne.InnerSlider=function(x){B(D,x);var T=h(D);function D(F){var s;M(this,D),s=T.call(this,F),c(y(s),"listRefHandler",function(b){return s.list=b}),c(y(s),"trackRefHandler",function(b){return s.track=b}),c(y(s),"adaptHeight",function(){if(s.props.adaptiveHeight&&s.list){var b=s.list.querySelector('[data-index="'.concat(s.state.currentSlide,'"]'));s.list.style.height=(0,i.getHeight)(b)+"px"}}),c(y(s),"componentDidMount",function(){if(s.props.onInit&&s.props.onInit(),s.props.lazyLoad){var b=(0,i.getOnDemandLazySlides)(v(v({},s.props),s.state));b.length>0&&(s.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(b)}}),s.props.onLazyLoad&&s.props.onLazyLoad(b))}var n=v({listRef:s.list,trackRef:s.track},s.props);s.updateState(n,!0,function(){s.adaptHeight(),s.props.autoplay&&s.autoPlay("update")}),s.props.lazyLoad==="progressive"&&(s.lazyLoadTimer=setInterval(s.progressiveLazyLoad,1e3)),s.ro=new d.default(function(){s.state.animating?(s.onWindowResized(!1),s.callbackTimers.push(setTimeout(function(){return s.onWindowResized()},s.props.speed))):s.onWindowResized()}),s.ro.observe(s.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(u){u.onfocus=s.props.pauseOnFocus?s.onSlideFocus:null,u.onblur=s.props.pauseOnFocus?s.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",s.onWindowResized):window.attachEvent("onresize",s.onWindowResized)}),c(y(s),"componentWillUnmount",function(){s.animationEndCallback&&clearTimeout(s.animationEndCallback),s.lazyLoadTimer&&clearInterval(s.lazyLoadTimer),s.callbackTimers.length&&(s.callbackTimers.forEach(function(b){return clearTimeout(b)}),s.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",s.onWindowResized):window.detachEvent("onresize",s.onWindowResized),s.autoplayTimer&&clearInterval(s.autoplayTimer),s.ro.disconnect()}),c(y(s),"componentDidUpdate",function(b){if(s.checkImagesLoad(),s.props.onReInit&&s.props.onReInit(),s.props.lazyLoad){var n=(0,i.getOnDemandLazySlides)(v(v({},s.props),s.state));n.length>0&&(s.setState(function(I){return{lazyLoadedList:I.lazyLoadedList.concat(n)}}),s.props.onLazyLoad&&s.props.onLazyLoad(n))}s.adaptHeight();var u=v(v({listRef:s.list,trackRef:s.track},s.props),s.state),S=s.didPropsChange(b);S&&s.updateState(u,S,function(){s.state.currentSlide>=e.default.Children.count(s.props.children)&&s.changeSlide({message:"index",index:e.default.Children.count(s.props.children)-s.props.slidesToShow,currentSlide:s.state.currentSlide}),s.props.autoplay?s.autoPlay("update"):s.pause("paused")})}),c(y(s),"onWindowResized",function(b){s.debouncedResize&&s.debouncedResize.cancel(),s.debouncedResize=(0,r.default)(function(){return s.resizeWindow(b)},50),s.debouncedResize()}),c(y(s),"resizeWindow",function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,n=!!(s.track&&s.track.node);if(n){var u=v(v({listRef:s.list,trackRef:s.track},s.props),s.state);s.updateState(u,b,function(){s.props.autoplay?s.autoPlay("update"):s.pause("paused")}),s.setState({animating:!1}),clearTimeout(s.animationEndCallback),delete s.animationEndCallback}}),c(y(s),"updateState",function(b,n,u){var S=(0,i.initializedState)(b);b=v(v(v({},b),S),{},{slideIndex:S.currentSlide});var I=(0,i.getTrackLeft)(b);b=v(v({},b),{},{left:I});var j=(0,i.getTrackCSS)(b);(n||e.default.Children.count(s.props.children)!==e.default.Children.count(b.children))&&(S.trackStyle=j),s.setState(S,u)}),c(y(s),"ssrInit",function(){if(s.props.variableWidth){var b=0,n=0,u=[],S=(0,i.getPreClones)(v(v(v({},s.props),s.state),{},{slideCount:s.props.children.length})),I=(0,i.getPostClones)(v(v(v({},s.props),s.state),{},{slideCount:s.props.children.length}));s.props.children.forEach(function(le){u.push(le.props.style.width),b+=le.props.style.width});for(var j=0;j<S;j++)n+=u[u.length-1-j],b+=u[u.length-1-j];for(var H=0;H<I;H++)b+=u[H];for(var z=0;z<s.state.currentSlide;z++)n+=u[z];var $={width:b+"px",left:-n+"px"};if(s.props.centerMode){var Y="".concat(u[s.state.currentSlide],"px");$.left="calc(".concat($.left," + (100% - ").concat(Y,") / 2 ) ")}return{trackStyle:$}}var V=e.default.Children.count(s.props.children),X=v(v(v({},s.props),s.state),{},{slideCount:V}),re=(0,i.getPreClones)(X)+(0,i.getPostClones)(X)+V,ie=100/s.props.slidesToShow*re,Q=100/re,Z=-Q*((0,i.getPreClones)(X)+s.state.currentSlide)*ie/100;s.props.centerMode&&(Z+=(100-Q*ie/100)/2);var ne={width:ie+"%",left:Z+"%"};return{slideWidth:Q+"%",trackStyle:ne}}),c(y(s),"checkImagesLoad",function(){var b=s.list&&s.list.querySelectorAll&&s.list.querySelectorAll(".slick-slide img")||[],n=b.length,u=0;Array.prototype.forEach.call(b,function(S){var I=function(){return++u&&u>=n&&s.onWindowResized()};if(!S.onclick)S.onclick=function(){return S.parentNode.focus()};else{var j=S.onclick;S.onclick=function(H){j(H),S.parentNode.focus()}}S.onload||(s.props.lazyLoad?S.onload=function(){s.adaptHeight(),s.callbackTimers.push(setTimeout(s.onWindowResized,s.props.speed))}:(S.onload=I,S.onerror=function(){I(),s.props.onLazyLoadError&&s.props.onLazyLoadError()}))})}),c(y(s),"progressiveLazyLoad",function(){for(var b=[],n=v(v({},s.props),s.state),u=s.state.currentSlide;u<s.state.slideCount+(0,i.getPostClones)(n);u++)if(s.state.lazyLoadedList.indexOf(u)<0){b.push(u);break}for(var S=s.state.currentSlide-1;S>=-(0,i.getPreClones)(n);S--)if(s.state.lazyLoadedList.indexOf(S)<0){b.push(S);break}b.length>0?(s.setState(function(I){return{lazyLoadedList:I.lazyLoadedList.concat(b)}}),s.props.onLazyLoad&&s.props.onLazyLoad(b)):s.lazyLoadTimer&&(clearInterval(s.lazyLoadTimer),delete s.lazyLoadTimer)}),c(y(s),"slideHandler",function(b){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=s.props,S=u.asNavFor,I=u.beforeChange,j=u.onLazyLoad,H=u.speed,z=u.afterChange,$=s.state.currentSlide,Y=(0,i.slideHandler)(v(v(v({index:b},s.props),s.state),{},{trackRef:s.track,useCSS:s.props.useCSS&&!n})),V=Y.state,X=Y.nextState;if(V){I&&I($,V.currentSlide);var re=V.lazyLoadedList.filter(function(ie){return s.state.lazyLoadedList.indexOf(ie)<0});j&&re.length>0&&j(re),!s.props.waitForAnimate&&s.animationEndCallback&&(clearTimeout(s.animationEndCallback),z&&z($),delete s.animationEndCallback),s.setState(V,function(){S&&s.asNavForIndex!==b&&(s.asNavForIndex=b,S.innerSlider.slideHandler(b)),X&&(s.animationEndCallback=setTimeout(function(){var ie=X.animating,Q=R(X,["animating"]);s.setState(Q,function(){s.callbackTimers.push(setTimeout(function(){return s.setState({animating:ie})},10)),z&&z(V.currentSlide),delete s.animationEndCallback})},H))})}}),c(y(s),"changeSlide",function(b){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=v(v({},s.props),s.state),S=(0,i.changeSlide)(u,b);if(!(S!==0&&!S)&&(n===!0?s.slideHandler(S,n):s.slideHandler(S),s.props.autoplay&&s.autoPlay("update"),s.props.focusOnSelect)){var I=s.list.querySelectorAll(".slick-current");I[0]&&I[0].focus()}}),c(y(s),"clickHandler",function(b){s.clickable===!1&&(b.stopPropagation(),b.preventDefault()),s.clickable=!0}),c(y(s),"keyHandler",function(b){var n=(0,i.keyHandler)(b,s.props.accessibility,s.props.rtl);n!==""&&s.changeSlide({message:n})}),c(y(s),"selectHandler",function(b){s.changeSlide(b)}),c(y(s),"disableBodyScroll",function(){var b=function(u){u=u||window.event,u.preventDefault&&u.preventDefault(),u.returnValue=!1};window.ontouchmove=b}),c(y(s),"enableBodyScroll",function(){window.ontouchmove=null}),c(y(s),"swipeStart",function(b){s.props.verticalSwiping&&s.disableBodyScroll();var n=(0,i.swipeStart)(b,s.props.swipe,s.props.draggable);n!==""&&s.setState(n)}),c(y(s),"swipeMove",function(b){var n=(0,i.swipeMove)(b,v(v(v({},s.props),s.state),{},{trackRef:s.track,listRef:s.list,slideIndex:s.state.currentSlide}));n&&(n.swiping&&(s.clickable=!1),s.setState(n))}),c(y(s),"swipeEnd",function(b){var n=(0,i.swipeEnd)(b,v(v(v({},s.props),s.state),{},{trackRef:s.track,listRef:s.list,slideIndex:s.state.currentSlide}));if(n){var u=n.triggerSlideHandler;delete n.triggerSlideHandler,s.setState(n),u!==void 0&&(s.slideHandler(u),s.props.verticalSwiping&&s.enableBodyScroll())}}),c(y(s),"touchEnd",function(b){s.swipeEnd(b),s.clickable=!0}),c(y(s),"slickPrev",function(){s.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"previous"})},0))}),c(y(s),"slickNext",function(){s.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"next"})},0))}),c(y(s),"slickGoTo",function(b){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(b=Number(b),isNaN(b))return"";s.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"index",index:b,currentSlide:s.state.currentSlide},n)},0))}),c(y(s),"play",function(){var b;if(s.props.rtl)b=s.state.currentSlide-s.props.slidesToScroll;else if((0,i.canGoNext)(v(v({},s.props),s.state)))b=s.state.currentSlide+s.props.slidesToScroll;else return!1;s.slideHandler(b)}),c(y(s),"autoPlay",function(b){s.autoplayTimer&&clearInterval(s.autoplayTimer);var n=s.state.autoplaying;if(b==="update"){if(n==="hovered"||n==="focused"||n==="paused")return}else if(b==="leave"){if(n==="paused"||n==="focused")return}else if(b==="blur"&&(n==="paused"||n==="hovered"))return;s.autoplayTimer=setInterval(s.play,s.props.autoplaySpeed+50),s.setState({autoplaying:"playing"})}),c(y(s),"pause",function(b){s.autoplayTimer&&(clearInterval(s.autoplayTimer),s.autoplayTimer=null);var n=s.state.autoplaying;b==="paused"?s.setState({autoplaying:"paused"}):b==="focused"?(n==="hovered"||n==="playing")&&s.setState({autoplaying:"focused"}):n==="playing"&&s.setState({autoplaying:"hovered"})}),c(y(s),"onDotsOver",function(){return s.props.autoplay&&s.pause("hovered")}),c(y(s),"onDotsLeave",function(){return s.props.autoplay&&s.state.autoplaying==="hovered"&&s.autoPlay("leave")}),c(y(s),"onTrackOver",function(){return s.props.autoplay&&s.pause("hovered")}),c(y(s),"onTrackLeave",function(){return s.props.autoplay&&s.state.autoplaying==="hovered"&&s.autoPlay("leave")}),c(y(s),"onSlideFocus",function(){return s.props.autoplay&&s.pause("focused")}),c(y(s),"onSlideBlur",function(){return s.props.autoplay&&s.state.autoplaying==="focused"&&s.autoPlay("blur")}),c(y(s),"render",function(){var b=(0,o.default)("slick-slider",s.props.className,{"slick-vertical":s.props.vertical,"slick-initialized":!0}),n=v(v({},s.props),s.state),u=(0,i.extractObject)(n,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),S=s.props.pauseOnHover;u=v(v({},u),{},{onMouseEnter:S?s.onTrackOver:null,onMouseLeave:S?s.onTrackLeave:null,onMouseOver:S?s.onTrackOver:null,focusOnSelect:s.props.focusOnSelect&&s.clickable?s.selectHandler:null});var I;if(s.props.dots===!0&&s.state.slideCount>=s.props.slidesToShow){var j=(0,i.extractObject)(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),H=s.props.pauseOnDotsHover;j=v(v({},j),{},{clickHandler:s.changeSlide,onMouseEnter:H?s.onDotsLeave:null,onMouseOver:H?s.onDotsOver:null,onMouseLeave:H?s.onDotsLeave:null}),I=e.default.createElement(l.Dots,j)}var z,$,Y=(0,i.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);Y.clickHandler=s.changeSlide,s.props.arrows&&(z=e.default.createElement(f.PrevArrow,Y),$=e.default.createElement(f.NextArrow,Y));var V=null;s.props.vertical&&(V={height:s.state.listHeight});var X=null;s.props.vertical===!1?s.props.centerMode===!0&&(X={padding:"0px "+s.props.centerPadding}):s.props.centerMode===!0&&(X={padding:s.props.centerPadding+" 0px"});var re=v(v({},V),X),ie=s.props.touchMove,Q={className:"slick-list",style:re,onClick:s.clickHandler,onMouseDown:ie?s.swipeStart:null,onMouseMove:s.state.dragging&&ie?s.swipeMove:null,onMouseUp:ie?s.swipeEnd:null,onMouseLeave:s.state.dragging&&ie?s.swipeEnd:null,onTouchStart:ie?s.swipeStart:null,onTouchMove:s.state.dragging&&ie?s.swipeMove:null,onTouchEnd:ie?s.touchEnd:null,onTouchCancel:s.state.dragging&&ie?s.swipeEnd:null,onKeyDown:s.props.accessibility?s.keyHandler:null},Z={className:b,dir:"ltr",style:s.props.style};return s.props.unslick&&(Q={className:"slick-list"},Z={className:b,style:s.props.style}),e.default.createElement("div",Z,s.props.unslick?"":z,e.default.createElement("div",E({ref:s.listRefHandler},Q),e.default.createElement(a.Track,E({ref:s.trackRefHandler},u),s.props.children)),s.props.unslick?"":$,s.props.unslick?"":I)}),s.list=null,s.track=null,s.state=v(v({},t.default),{},{currentSlide:s.props.initialSlide,targetSlide:s.props.initialSlide?s.props.initialSlide:0,slideCount:e.default.Children.count(s.props.children)}),s.callbackTimers=[],s.clickable=!0,s.debouncedResize=null;var J=s.ssrInit();return s.state=v(v({},s.state),J),s}return N(D,[{key:"didPropsChange",value:function(s){for(var J=!1,b=0,n=Object.keys(this.props);b<n.length;b++){var u=n[b];if(!s.hasOwnProperty(u)){J=!0;break}if(!(w(s[u])==="object"||typeof s[u]=="function"||isNaN(s[u]))&&s[u]!==this.props[u]){J=!0;break}}return J||e.default.Children.count(this.props.children)!==e.default.Children.count(s.children)}}]),D}(e.default.Component),Ne}var Rt,sr;function Gn(){if(sr)return Rt;sr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return Rt=e,Rt}var _t,lr;function Kn(){if(lr)return _t;lr=1;var e=Gn(),t=function(i){var a=/[height|width]$/;return a.test(i)},r=function(i){var a="",l=Object.keys(i);return l.forEach(function(f,d){var p=i[f];f=e(f),t(f)&&typeof p=="number"&&(p=p+"px"),p===!0?a+=f:p===!1?a+="not "+f:a+="("+f+": "+p+")",d<l.length-1&&(a+=" and ")}),a},o=function(i){var a="";return typeof i=="string"?i:i instanceof Array?(i.forEach(function(l,f){a+=r(l),f<i.length-1&&(a+=", ")}),a):r(i)};return _t=o,_t}var ur;function Jn(){return ur||(ur=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l(q),r=Xn(),o=l(Kn()),i=l(Pr()),a=Ge();function l(O){return O&&O.__esModule?O:{default:O}}function f(O){"@babel/helpers - typeof";return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},f(O)}function d(){return d=Object.assign?Object.assign.bind():function(O){for(var m=1;m<arguments.length;m++){var c=arguments[m];for(var P in c)({}).hasOwnProperty.call(c,P)&&(O[P]=c[P])}return O},d.apply(null,arguments)}function p(O,m){var c=Object.keys(O);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(O);m&&(P=P.filter(function(L){return Object.getOwnPropertyDescriptor(O,L).enumerable})),c.push.apply(c,P)}return c}function w(O){for(var m=1;m<arguments.length;m++){var c=arguments[m]!=null?arguments[m]:{};m%2?p(Object(c),!0).forEach(function(P){h(O,P,c[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(c)):p(Object(c)).forEach(function(P){Object.defineProperty(O,P,Object.getOwnPropertyDescriptor(c,P))})}return O}function E(O,m){if(!(O instanceof m))throw new TypeError("Cannot call a class as a function")}function R(O,m){for(var c=0;c<m.length;c++){var P=m[c];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(O,g(P.key),P)}}function A(O,m,c){return m&&R(O.prototype,m),Object.defineProperty(O,"prototype",{writable:!1}),O}function C(O,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(m&&m.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),m&&v(O,m)}function v(O,m){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,P){return c.__proto__=P,c},v(O,m)}function M(O){var m=B();return function(){var c,P=U(O);if(m){var L=U(this).constructor;c=Reflect.construct(P,arguments,L)}else c=P.apply(this,arguments);return k(this,c)}}function k(O,m){if(m&&(f(m)=="object"||typeof m=="function"))return m;if(m!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return N(O)}function N(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function B(){try{var O=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(B=function(){return!!O})()}function U(O){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(m){return m.__proto__||Object.getPrototypeOf(m)},U(O)}function h(O,m,c){return(m=g(m))in O?Object.defineProperty(O,m,{value:c,enumerable:!0,configurable:!0,writable:!0}):O[m]=c,O}function g(O){var m=y(O,"string");return f(m)=="symbol"?m:m+""}function y(O,m){if(f(O)!="object"||!O)return O;var c=O[Symbol.toPrimitive];if(c!==void 0){var P=c.call(O,m);if(f(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(m==="string"?String:Number)(O)}e.default=function(O){C(c,O);var m=M(c);function c(P){var L;return E(this,c),L=m.call(this,P),h(N(L),"innerSliderRefHandler",function(x){return L.innerSlider=x}),h(N(L),"slickPrev",function(){return L.innerSlider.slickPrev()}),h(N(L),"slickNext",function(){return L.innerSlider.slickNext()}),h(N(L),"slickGoTo",function(x){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return L.innerSlider.slickGoTo(x,T)}),h(N(L),"slickPause",function(){return L.innerSlider.pause("paused")}),h(N(L),"slickPlay",function(){return L.innerSlider.autoPlay("play")}),L.state={breakpoint:null},L._responsiveMediaHandlers=[],L}return A(c,[{key:"media",value:function(L,x){var T=window.matchMedia(L),D=function(s){var J=s.matches;J&&x()};T.addListener(D),this._responsiveMediaHandlers.push({mql:T,query:L,listener:D})}},{key:"componentDidMount",value:function(){var L=this;if(this.props.responsive){var x=this.props.responsive.map(function(D){return D.breakpoint});x.sort(function(D,F){return D-F}),x.forEach(function(D,F){var s;F===0?s=(0,o.default)({minWidth:0,maxWidth:D}):s=(0,o.default)({minWidth:x[F-1]+1,maxWidth:D}),(0,a.canUseDOM)()&&L.media(s,function(){L.setState({breakpoint:D})})});var T=(0,o.default)({minWidth:x.slice(-1)[0]});(0,a.canUseDOM)()&&this.media(T,function(){L.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(L){L.mql.removeListener(L.listener)})}},{key:"render",value:function(){var L=this,x,T;this.state.breakpoint?(T=this.props.responsive.filter(function(j){return j.breakpoint===L.state.breakpoint}),x=T[0].settings==="unslick"?"unslick":w(w(w({},i.default),this.props),T[0].settings)):x=w(w({},i.default),this.props),x.centerMode&&(x.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(x.slidesToScroll)),x.slidesToScroll=1),x.fade&&(x.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(x.slidesToShow)),x.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(x.slidesToScroll)),x.slidesToShow=1,x.slidesToScroll=1);var D=t.default.Children.toArray(this.props.children);D=D.filter(function(j){return typeof j=="string"?!!j.trim():!!j}),x.variableWidth&&(x.rows>1||x.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),x.variableWidth=!1);for(var F=[],s=null,J=0;J<D.length;J+=x.rows*x.slidesPerRow){for(var b=[],n=J;n<J+x.rows*x.slidesPerRow;n+=x.slidesPerRow){for(var u=[],S=n;S<n+x.slidesPerRow&&(x.variableWidth&&D[S].props.style&&(s=D[S].props.style.width),!(S>=D.length));S+=1)u.push(t.default.cloneElement(D[S],{key:100*J+10*n+S,tabIndex:-1,style:{width:"".concat(100/x.slidesPerRow,"%"),display:"inline-block"}}));b.push(t.default.createElement("div",{key:10*J+n},u))}x.variableWidth?F.push(t.default.createElement("div",{key:J,style:{width:s}},b)):F.push(t.default.createElement("div",{key:J},b))}if(x==="unslick"){var I="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:I},D)}else F.length<=x.slidesToShow&&(x.unslick=!0);return t.default.createElement(r.InnerSlider,d({style:this.props.style,ref:this.innerSliderRefHandler},(0,a.filterSettings)(x)),F)}}]),c}(t.default.Component)}(kt)),kt}var cr;function Zn(){return cr||(cr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Jn());function r(o){return o&&o.__esModule?o:{default:o}}e.default=t.default}(xt)),xt}var Qn=Zn();const ei=gn(Qn);function Mt(){return Mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Mt.apply(null,arguments)}function ti(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ri(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var ni=function(){function e(r){var o=this;this._insertTag=function(i){var a;o.tags.length===0?o.insertionPoint?a=o.insertionPoint.nextSibling:o.prepend?a=o.container.firstChild:a=o.before:a=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(i,a),o.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ri(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=ti(i);try{a.insertRule(o,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){var i;return(i=o.parentNode)==null?void 0:i.removeChild(o)}),this.tags=[],this.ctr=0},e}(),de="-ms-",pt="-moz-",ee="-webkit-",Lr="comm",Nt="rule",Ft="decl",ii="@import",Dr="@keyframes",oi="@layer",ai=Math.abs,gt=String.fromCharCode,si=Object.assign;function li(e,t){return fe(e,0)^45?(((t<<2^fe(e,0))<<2^fe(e,1))<<2^fe(e,2))<<2^fe(e,3):0}function Mr(e){return e.trim()}function ui(e,t){return(e=t.exec(e))?e[0]:e}function te(e,t,r){return e.replace(t,r)}function It(e,t){return e.indexOf(t)}function fe(e,t){return e.charCodeAt(t)|0}function Ue(e,t,r){return e.slice(t,r)}function me(e){return e.length}function $t(e){return e.length}function it(e,t){return t.push(e),e}function ci(e,t){return e.map(t).join("")}var yt=1,Te=1,Ir=0,pe=0,se=0,Le="";function bt(e,t,r,o,i,a,l){return{value:e,root:t,parent:r,type:o,props:i,children:a,line:yt,column:Te,length:l,return:""}}function We(e,t){return si(bt("",null,null,"",null,null,0),e,{length:-e.length},t)}function fi(){return se}function di(){return se=pe>0?fe(Le,--pe):0,Te--,se===10&&(Te=1,yt--),se}function ve(){return se=pe<Ir?fe(Le,pe++):0,Te++,se===10&&(Te=1,yt++),se}function ye(){return fe(Le,pe)}function at(){return pe}function Ke(e,t){return Ue(Le,e,t)}function Ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ar(e){return yt=Te=1,Ir=me(Le=e),pe=0,[]}function zr(e){return Le="",e}function st(e){return Mr(Ke(pe-1,At(e===91?e+2:e===40?e+1:e)))}function pi(e){for(;(se=ye())&&se<33;)ve();return Ye(e)>2||Ye(se)>3?"":" "}function hi(e,t){for(;--t&&ve()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return Ke(e,at()+(t<6&&ye()==32&&ve()==32))}function At(e){for(;ve();)switch(se){case e:return pe;case 34:case 39:e!==34&&e!==39&&At(se);break;case 40:e===41&&At(e);break;case 92:ve();break}return pe}function vi(e,t){for(;ve()&&e+se!==57;)if(e+se===84&&ye()===47)break;return"/*"+Ke(t,pe-1)+"*"+gt(e===47?e:ve())}function mi(e){for(;!Ye(ye());)ve();return Ke(e,pe)}function gi(e){return zr(lt("",null,null,null,[""],e=Ar(e),0,[0],e))}function lt(e,t,r,o,i,a,l,f,d){for(var p=0,w=0,E=l,R=0,A=0,C=0,v=1,M=1,k=1,N=0,B="",U=i,h=a,g=o,y=B;M;)switch(C=N,N=ve()){case 40:if(C!=108&&fe(y,E-1)==58){It(y+=te(st(N),"&","&\f"),"&\f")!=-1&&(k=-1);break}case 34:case 39:case 91:y+=st(N);break;case 9:case 10:case 13:case 32:y+=pi(C);break;case 92:y+=hi(at()-1,7);continue;case 47:switch(ye()){case 42:case 47:it(yi(vi(ve(),at()),t,r),d);break;default:y+="/"}break;case 123*v:f[p++]=me(y)*k;case 125*v:case 59:case 0:switch(N){case 0:case 125:M=0;case 59+w:k==-1&&(y=te(y,/\f/g,"")),A>0&&me(y)-E&&it(A>32?dr(y+";",o,r,E-1):dr(te(y," ","")+";",o,r,E-2),d);break;case 59:y+=";";default:if(it(g=fr(y,t,r,p,w,i,f,B,U=[],h=[],E),a),N===123)if(w===0)lt(y,t,g,g,U,a,E,f,h);else switch(R===99&&fe(y,3)===110?100:R){case 100:case 108:case 109:case 115:lt(e,g,g,o&&it(fr(e,g,g,0,0,i,f,B,i,U=[],E),h),i,h,E,f,o?U:h);break;default:lt(y,g,g,g,[""],h,0,f,h)}}p=w=A=0,v=k=1,B=y="",E=l;break;case 58:E=1+me(y),A=C;default:if(v<1){if(N==123)--v;else if(N==125&&v++==0&&di()==125)continue}switch(y+=gt(N),N*v){case 38:k=w>0?1:(y+="\f",-1);break;case 44:f[p++]=(me(y)-1)*k,k=1;break;case 64:ye()===45&&(y+=st(ve())),R=ye(),w=E=me(B=y+=mi(at())),N++;break;case 45:C===45&&me(y)==2&&(v=0)}}return a}function fr(e,t,r,o,i,a,l,f,d,p,w){for(var E=i-1,R=i===0?a:[""],A=$t(R),C=0,v=0,M=0;C<o;++C)for(var k=0,N=Ue(e,E+1,E=ai(v=l[C])),B=e;k<A;++k)(B=Mr(v>0?R[k]+" "+N:te(N,/&\f/g,R[k])))&&(d[M++]=B);return bt(e,t,r,i===0?Nt:f,d,p,w)}function yi(e,t,r){return bt(e,t,r,Lr,gt(fi()),Ue(e,2,-2),0)}function dr(e,t,r,o){return bt(e,t,r,Ft,Ue(e,0,o),Ue(e,o+1,-1),o)}function Re(e,t){for(var r="",o=$t(e),i=0;i<o;i++)r+=t(e[i],i,e,t)||"";return r}function bi(e,t,r,o){switch(e.type){case oi:if(e.children.length)break;case ii:case Ft:return e.return=e.return||e.value;case Lr:return"";case Dr:return e.return=e.value+"{"+Re(e.children,o)+"}";case Nt:e.value=e.props.join(",")}return me(r=Re(e.children,o))?e.return=e.value+"{"+r+"}":""}function wi(e){var t=$t(e);return function(r,o,i,a){for(var l="",f=0;f<t;f++)l+=e[f](r,o,i,a)||"";return l}}function Si(e){return function(t){t.root||(t=t.return)&&e(t)}}function Hr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var xi=function(t,r,o){for(var i=0,a=0;i=a,a=ye(),i===38&&a===12&&(r[o]=1),!Ye(a);)ve();return Ke(t,pe)},ki=function(t,r){var o=-1,i=44;do switch(Ye(i)){case 0:i===38&&ye()===12&&(r[o]=1),t[o]+=xi(pe-1,r,o);break;case 2:t[o]+=st(i);break;case 4:if(i===44){t[++o]=ye()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=gt(i)}while(i=ve());return t},Oi=function(t,r){return zr(ki(Ar(t),r))},pr=new WeakMap,Ci=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,i=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!pr.get(o))&&!i){pr.set(t,!0);for(var a=[],l=Oi(r,a),f=o.props,d=0,p=0;d<l.length;d++)for(var w=0;w<f.length;w++,p++)t.props[p]=a[d]?l[d].replace(/&\f/g,f[w]):f[w]+" "+l[d]}}},Pi=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Nr(e,t){switch(li(e,t)){case 5103:return ee+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+e+pt+e+de+e+e;case 6828:case 4268:return ee+e+de+e+e;case 6165:return ee+e+de+"flex-"+e+e;case 5187:return ee+e+te(e,/(\w+).+(:[^]+)/,ee+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return ee+e+de+"flex-item-"+te(e,/flex-|-self/,"")+e;case 4675:return ee+e+de+"flex-line-pack"+te(e,/align-content|flex-|-self/,"")+e;case 5548:return ee+e+de+te(e,"shrink","negative")+e;case 5292:return ee+e+de+te(e,"basis","preferred-size")+e;case 6060:return ee+"box-"+te(e,"-grow","")+ee+e+de+te(e,"grow","positive")+e;case 4554:return ee+te(e,/([^-])(transform)/g,"$1"+ee+"$2")+e;case 6187:return te(te(te(e,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),e,"")+e;case 5495:case 3959:return te(e,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return te(te(e,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+e+e;case 4095:case 3583:case 4068:case 2532:return te(e,/(.+)-inline(.+)/,ee+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(me(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return te(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+pt+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~It(e,"stretch")?Nr(te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fe(e,t+1)!==115)break;case 6444:switch(fe(e,me(e)-3-(~It(e,"!important")&&10))){case 107:return te(e,":",":"+ee)+e;case 101:return te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ee+(fe(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(fe(e,t+11)){case 114:return ee+e+de+te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+de+te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+de+te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ee+e+de+e+e}return e}var Ei=function(t,r,o,i){if(t.length>-1&&!t.return)switch(t.type){case Ft:t.return=Nr(t.value,t.length);break;case Dr:return Re([We(t,{value:te(t.value,"@","@"+ee)})],i);case Nt:if(t.length)return ci(t.props,function(a){switch(ui(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Re([We(t,{props:[te(a,/:(read-\w+)/,":"+pt+"$1")]})],i);case"::placeholder":return Re([We(t,{props:[te(a,/:(plac\w+)/,":"+ee+"input-$1")]}),We(t,{props:[te(a,/:(plac\w+)/,":"+pt+"$1")]}),We(t,{props:[te(a,/:(plac\w+)/,de+"input-$1")]})],i)}return""})}},Ri=[Ei],_i=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(v){var M=v.getAttribute("data-emotion");M.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||Ri,a={},l,f=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var M=v.getAttribute("data-emotion").split(" "),k=1;k<M.length;k++)a[M[k]]=!0;f.push(v)});var d,p=[Ci,Pi];{var w,E=[bi,Si(function(v){w.insert(v)})],R=wi(p.concat(i,E)),A=function(M){return Re(gi(M),R)};d=function(M,k,N,B){w=N,A(M?M+"{"+k.styles+"}":k.styles),B&&(C.inserted[k.name]=!0)}}var C={key:r,sheet:new ni({key:r,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:d};return C.sheet.hydrate(f),C},Ti=!0;function ji(e,t,r){var o="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(o+=i+" ")}),o}var Fr=function(t,r,o){var i=t.key+"-"+r.name;(o===!1||Ti===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Li=function(t,r,o){Fr(t,r,o);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var a=r;do t.insert(r===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function Di(e){for(var t=0,r,o=0,i=e.length;i>=4;++o,i-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Mi={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ii=/[A-Z]|^ms/g,Ai=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$r=function(t){return t.charCodeAt(1)===45},hr=function(t){return t!=null&&typeof t!="boolean"},Tt=Hr(function(e){return $r(e)?e:e.replace(Ii,"-$&").toLowerCase()}),vr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ai,function(o,i,a){return ge={name:i,styles:a,next:ge},i})}return Mi[t]!==1&&!$r(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ve(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return ge={name:i.name,styles:i.styles,next:ge},i.name;var a=r;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)ge={name:l.name,styles:l.styles,next:ge},l=l.next;var f=a.styles+";";return f}return zi(e,t,r)}case"function":{if(e!==void 0){var d=ge,p=r(e);return ge=d,Ve(e,t,p)}break}}var w=r;if(t==null)return w;var E=t[w];return E!==void 0?E:w}function zi(e,t,r){var o="";if(Array.isArray(r))for(var i=0;i<r.length;i++)o+=Ve(e,t,r[i])+";";else for(var a in r){var l=r[a];if(typeof l!="object"){var f=l;t!=null&&t[f]!==void 0?o+=a+"{"+t[f]+"}":hr(f)&&(o+=Tt(a)+":"+vr(a,f)+";")}else if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var d=0;d<l.length;d++)hr(l[d])&&(o+=Tt(a)+":"+vr(a,l[d])+";");else{var p=Ve(e,t,l);switch(a){case"animation":case"animationName":{o+=Tt(a)+":"+p+";";break}default:o+=a+"{"+p+"}"}}}return o}var mr=/label:\s*([^\s;{]+)\s*(;|$)/g,ge;function Hi(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,i="";ge=void 0;var a=e[0];if(a==null||a.raw===void 0)o=!1,i+=Ve(r,t,a);else{var l=a;i+=l[0]}for(var f=1;f<e.length;f++)if(i+=Ve(r,t,e[f]),o){var d=a;i+=d[f]}mr.lastIndex=0;for(var p="",w;(w=mr.exec(i))!==null;)p+="-"+w[1];var E=Di(i)+p;return{name:E,styles:i,next:ge}}var Ni=function(t){return t()},Fi=_.useInsertionEffect?_.useInsertionEffect:!1,$i=Fi||Ni,Wr=_.createContext(typeof HTMLElement<"u"?_i({key:"css"}):null);Wr.Provider;var Wi=function(t){return q.forwardRef(function(r,o){var i=q.useContext(Wr);return t(r,i,o)})},qi=_.createContext({}),Bi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ui=Hr(function(e){return Bi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Yi=Ui,Vi=function(t){return t!=="theme"},gr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Yi:Vi},yr=function(t,r,o){var i;if(r){var a=r.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof i!="function"&&o&&(i=t.__emotion_forwardProp),i},Xi=function(t){var r=t.cache,o=t.serialized,i=t.isStringTag;return Fr(r,o,i),$i(function(){return Li(r,o,i)}),null},Gi=function e(t,r){var o=t.__emotion_real===t,i=o&&t.__emotion_base||t,a,l;r!==void 0&&(a=r.label,l=r.target);var f=yr(t,r,o),d=f||gr(i),p=!d("as");return function(){var w=arguments,E=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&E.push("label:"+a+";"),w[0]==null||w[0].raw===void 0)E.push.apply(E,w);else{var R=w[0];E.push(R[0]);for(var A=w.length,C=1;C<A;C++)E.push(w[C],R[C])}var v=Wi(function(M,k,N){var B=p&&M.as||i,U="",h=[],g=M;if(M.theme==null){g={};for(var y in M)g[y]=M[y];g.theme=_.useContext(qi)}typeof M.className=="string"?U=ji(k.registered,h,M.className):M.className!=null&&(U=M.className+" ");var O=Hi(E.concat(h),k.registered,g);U+=k.key+"-"+O.name,l!==void 0&&(U+=" "+l);var m=p&&f===void 0?gr(B):d,c={};for(var P in M)p&&P==="as"||m(P)&&(c[P]=M[P]);return c.className=U,N&&(c.ref=N),_.createElement(_.Fragment,null,_.createElement(Xi,{cache:k,serialized:O,isStringTag:typeof B=="string"}),_.createElement(B,c))});return v.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=i,v.__emotion_styles=E,v.__emotion_forwardProp=f,Object.defineProperty(v,"toString",{value:function(){return"."+l}}),v.withComponent=function(M,k){var N=e(M,Mt({},r,k,{shouldForwardProp:yr(v,k,!0)}));return N.apply(void 0,E)},v}},Ki=["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","marquee","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"],je=Gi.bind(null);Ki.forEach(function(e){je[e]=je(e)});const Ji=je.div`
|
|
27
27
|
width: 100%;
|
|
28
28
|
height: fit-content;
|
|
29
29
|
|
|
@@ -45,7 +45,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
45
45
|
box-sizing: border-box;
|
|
46
46
|
display: flex;
|
|
47
47
|
}
|
|
48
|
-
`,Qi=({styles:e,content:t,settings:r,gap:o="15px"})=>{var i={dots:!1,speed:500,slidesToScroll:1,infinite:!1,variableWidth:!0,arrows:!1,...r};const a=t.map((l,f)=>G.jsx(Zi,{styles:{paddingLeft:f===0?"0px":o,...l.styles},"data-testid":"carousel-slide-item",children:l.content}));return G.jsx(Ji,{styles:{...e},children:G.jsx(ei,{...i,children:a})})},eo=e=>q.useEffect(e,[]),qr=()=>{const[e,t]=q.useState({}),[r,o]=q.useState(!1);return q.useEffect(()=>{const i=f=>{t({x:f.clientX,y:f.clientY})},a=f=>{o(!0)},l=f=>{o(!1)};return window.addEventListener("pointermove",i),window.addEventListener("pointerdown",a),window.addEventListener("pointerup",l),()=>{window.removeEventListener("pointermove",i),window.removeEventListener("pointerdown",a),window.removeEventListener("pointerup",l)}},[]),{pointerPosition:e,isPointerDown:r}},Br=({ref:e,onDrag:t,onDragStart:r,onDragEnd:o})=>{const i=q.useRef(!1),a=q.useRef(!1),{pointerPosition:l,isPointerDown:f}=qr(),d=q.useRef({isDragging:!1}),
|
|
48
|
+
`,Qi=({styles:e,content:t,settings:r,gap:o="15px"})=>{var i={dots:!1,speed:500,slidesToScroll:1,infinite:!1,variableWidth:!0,arrows:!1,...r};const a=t.map((l,f)=>G.jsx(Zi,{styles:{paddingLeft:f===0?"0px":o,...l.styles},"data-testid":"carousel-slide-item",children:l.content}));return G.jsx(Ji,{styles:{...e},children:G.jsx(ei,{...i,children:a})})},eo=e=>q.useEffect(e,[]),qr=()=>{const[e,t]=q.useState({}),[r,o]=q.useState(!1);return q.useEffect(()=>{const i=f=>{t({x:f.clientX,y:f.clientY})},a=f=>{o(!0)},l=f=>{o(!1)};return window.addEventListener("pointermove",i),window.addEventListener("pointerdown",a),window.addEventListener("pointerup",l),()=>{window.removeEventListener("pointermove",i),window.removeEventListener("pointerdown",a),window.removeEventListener("pointerup",l)}},[]),{pointerPosition:e,isPointerDown:r}},Br=({ref:e,onDrag:t,onDragStart:r,onDragEnd:o})=>{const i=q.useRef(!1),a=q.useRef(!1),{pointerPosition:l,isPointerDown:f}=qr(),d=q.useRef({isDragging:!1}),p=q.useCallback(C=>{if(!e||!e.current||!d.current)return;const v={...d.current};return v.posY=C.y,v.posX=C.x,d.current.startPosX&&d.current.posX&&(v.distanceX=d.current.startPosX-d.current.posX),d.current.startPosY&&d.current.posY&&(v.distanceY=-(d.current.startPosY-d.current.posY)),v},[]),w=q.useCallback(C=>{C.preventDefault(),C.stopPropagation(),d.current.isDragging=!0,d.current.startPosY=C.clientY,d.current.startPosX=C.clientX;const v=p({x:C.clientX,y:C.clientY});v&&(d.current=v,r?.(v))},[p]),E=q.useCallback(C=>{d.current.isDragging=!1;const v=p(l);v&&(o?.(v),v.startPosX=void 0,v.startPosY=void 0,d.current=v)},[p,l]),R=q.useCallback(C=>{if(console.debug("useDrag > onPointerMove > Is Dragging >",d.current.isDragging),!d.current.isDragging)return;const v=p(l);console.debug("useDrag > onPointerMove > Drag Result >",v),v&&(t?.(v),d.current=v)},[p,l]),A=q.useCallback(async()=>{if(!i.current){for(;!e?.current;)await new Promise(C=>setTimeout(C,300));i.current=!0,e.current.onpointerdown=w,e.current.style.touchAction="none"}},[e?.current,w]);q.useEffect(()=>{A()},[A]),q.useEffect(()=>{R()},[l]),q.useEffect(()=>{f!==a.current&&(a.current=f,f||E())},[f,a.current])},to=()=>{const e=(r,o)=>{let i=0,a=`${r}?`;for(const l in o){const f=o[l];i>0&&(a=`${a}&`),a=`${a}${l}=${f}`,i++}return a};return async(r,o)=>{const i=e(r,o);return await(await fetch(i)).json()}};class Ur{static waitForMilliseconds=t=>new Promise(r=>setTimeout(r,t));static waitForCondition=t=>new Promise(r=>{const o=()=>{t()?r():setTimeout(o,100)};o()});static waitForAsyncCondition=t=>new Promise(r=>{const o=async()=>{await t()?r():setTimeout(o,100)};o()});static differenceInMonths=(t,r)=>{let o=0;return o=(r.getFullYear()-t.getFullYear())*12,o-=t.getMonth(),o+=r.getMonth(),o};static isDateOneAfterDateTwo=(t,r)=>t.getFullYear()>=r.getFullYear()&&t.getMonth()>=r.getMonth()?t.getDay()>r.getDay():!1}const ro=(e,t=0)=>{const r=q.useRef(0),[o,i]=q.useState(0),a=q.useRef(null),[l,f]=q.useState(!1),d=q.useCallback(()=>{f(E=>!E)},[]),p=q.useCallback(()=>r.current===0?!1:o>=r.current-t,[t,o]),w=q.useCallback(()=>e.current!==null&&e.current!==void 0,[e]);return q.useEffect(()=>{const E=()=>{if(!e.current)return;const A=e.current.scrollHeight-e.current.clientHeight;r.current=A,i(e.current.scrollTop)};return(async()=>{await Ur.waitForCondition(w),a.current=e.current,a.current?.addEventListener("scroll",E)})(),()=>{a.current?.removeEventListener("scroll",E)}},[e,r,i,o,w,l]),{isTouchingBottom:p(),refresh:d}},Yr={xs:0,sm:420,md:768,lg:991,xl:1200,xxl:1440},no=e=>{const t={...Yr,...e?.breakpointConfiguration},[r,o]=q.useState(br(t)),i=()=>{o(br(t))};return q.useEffect(()=>(window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}),[]),q.useMemo(()=>r,[r])},io=(e,t)=>e<t.sm?"xs":e<t.md?"sm":e<t.lg?"md":e<t.xl?"lg":e<t.xxl?"xl":"xxl",oo=(e,t)=>e<=t.sm?"mobile":e<=t.md?"tablet":"desktop",br=e=>{const t=window.innerWidth,r=window.innerHeight,o=io(t,e),i=oo(t,e);return{currentWidth:t,currentHeight:r,currentBreakpoint:o,currentSize:i}},ao=e=>{const t=e.translations,r=e.language,o=(a,l)=>{if(!a)return;let f=a[r];if(f)return l&&Object.keys(l).forEach(d=>{const p=l[d];f=f.replaceAll(`{{${d}}}`,`${p}`)}),f};return{t:(a,l)=>{if(t[a]){const f=o(t[a],l);return f??a}return a},getTranslation:o}};var qe={},wr;function so(){if(wr)return qe;wr=1,Object.defineProperty(qe,"__esModule",{value:!0}),qe.parse=l,qe.serialize=p;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,a=(()=>{const R=function(){};return R.prototype=Object.create(null),R})();function l(R,A){const C=new a,v=R.length;if(v<2)return C;const M=A?.decode||w;let k=0;do{const N=R.indexOf("=",k);if(N===-1)break;const B=R.indexOf(";",k),U=B===-1?v:B;if(N>U){k=R.lastIndexOf(";",N-1)+1;continue}const h=f(R,k,N),g=d(R,N,h),y=R.slice(h,g);if(C[y]===void 0){let O=f(R,N+1,U),m=d(R,U,O);const c=M(R.slice(O,m));C[y]=c}k=U+1}while(k<v);return C}function f(R,A,C){do{const v=R.charCodeAt(A);if(v!==32&&v!==9)return A}while(++A<C);return C}function d(R,A,C){for(;A>C;){const v=R.charCodeAt(--A);if(v!==32&&v!==9)return A+1}return C}function p(R,A,C){const v=C?.encode||encodeURIComponent;if(!e.test(R))throw new TypeError(`argument name is invalid: ${R}`);const M=v(A);if(!t.test(M))throw new TypeError(`argument val is invalid: ${A}`);let k=R+"="+M;if(!C)return k;if(C.maxAge!==void 0){if(!Number.isInteger(C.maxAge))throw new TypeError(`option maxAge is invalid: ${C.maxAge}`);k+="; Max-Age="+C.maxAge}if(C.domain){if(!r.test(C.domain))throw new TypeError(`option domain is invalid: ${C.domain}`);k+="; Domain="+C.domain}if(C.path){if(!o.test(C.path))throw new TypeError(`option path is invalid: ${C.path}`);k+="; Path="+C.path}if(C.expires){if(!E(C.expires)||!Number.isFinite(C.expires.valueOf()))throw new TypeError(`option expires is invalid: ${C.expires}`);k+="; Expires="+C.expires.toUTCString()}if(C.httpOnly&&(k+="; HttpOnly"),C.secure&&(k+="; Secure"),C.partitioned&&(k+="; Partitioned"),C.priority)switch(typeof C.priority=="string"?C.priority.toLowerCase():void 0){case"low":k+="; Priority=Low";break;case"medium":k+="; Priority=Medium";break;case"high":k+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${C.priority}`)}if(C.sameSite)switch(typeof C.sameSite=="string"?C.sameSite.toLowerCase():C.sameSite){case!0:case"strict":k+="; SameSite=Strict";break;case"lax":k+="; SameSite=Lax";break;case"none":k+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${C.sameSite}`)}return k}function w(R){if(R.indexOf("%")===-1)return R;try{return decodeURIComponent(R)}catch{return R}}function E(R){return i.call(R)==="[object Date]"}return qe}so();/**
|
|
49
49
|
* react-router v7.6.3
|
|
50
50
|
*
|
|
51
51
|
* Copyright (c) Remix Software Inc.
|
|
@@ -54,9 +54,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
54
54
|
* LICENSE.md file in the root directory of this source tree.
|
|
55
55
|
*
|
|
56
56
|
* @license MIT
|
|
57
|
-
*/var Sr="popstate";function lo(e={}){function t(o,i){let{pathname:a,search:l,hash:f}=o.location;return zt("",{pathname:a,search:l,hash:f},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(o,i){return typeof i=="string"?i:Xe(i)}return co(t,r,null,e)}function oe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function be(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function uo(){return Math.random().toString(36).substring(2,10)}function xr(e,t){return{usr:e.state,key:e.key,idx:t}}function zt(e,t,r=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?De(t):t,state:r,key:t&&t.key||o||uo()}}function Xe({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function De(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function co(e,t,r,o={}){let{window:i=document.defaultView,v5Compat:a=!1}=o,l=i.history,f="POP",d=null,h=w();h==null&&(h=0,l.replaceState({...l.state,idx:h},""));function w(){return(l.state||{idx:null}).idx}function E(){f="POP";let M=w(),k=M==null?null:M-h;h=M,d&&d({action:f,location:v.location,delta:k})}function R(M,k){f="PUSH";let N=zt(v.location,M,k);h=w()+1;let B=xr(N,h),U=v.createHref(N);try{l.pushState(B,"",U)}catch(p){if(p instanceof DOMException&&p.name==="DataCloneError")throw p;i.location.assign(U)}a&&d&&d({action:f,location:v.location,delta:1})}function A(M,k){f="REPLACE";let N=zt(v.location,M,k);h=w();let B=xr(N,h),U=v.createHref(N);l.replaceState(B,"",U),a&&d&&d({action:f,location:v.location,delta:0})}function C(M){return fo(M)}let v={get action(){return f},get location(){return e(i,l)},listen(M){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(Sr,E),d=M,()=>{i.removeEventListener(Sr,E),d=null}},createHref(M){return t(i,M)},createURL:C,encodeLocation(M){let k=C(M);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:R,replace:A,go(M){return l.go(M)}};return v}function fo(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),oe(r,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:Xe(e);return o=o.replace(/ $/,"%20"),!t&&o.startsWith("//")&&(o=r+o),new URL(o,r)}function Vr(e,t,r="/"){return ho(e,t,r,!1)}function ho(e,t,r,o){let i=typeof t=="string"?De(t):t,a=xe(i.pathname||"/",r);if(a==null)return null;let l=Xr(e);po(l);let f=null;for(let d=0;f==null&&d<l.length;++d){let h=Co(a);f=ko(l[d],h,o)}return f}function Xr(e,t=[],r=[],o=""){let i=(a,l,f)=>{let d={relativePath:f===void 0?a.path||"":f,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};d.relativePath.startsWith("/")&&(oe(d.relativePath.startsWith(o),`Absolute route path "${d.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(o.length));let h=Se([o,d.relativePath]),w=r.concat(d);a.children&&a.children.length>0&&(oe(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Xr(a.children,t,w,h)),!(a.path==null&&!a.index)&&t.push({path:h,score:So(h,a.index),routesMeta:w})};return e.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))i(a,l);else for(let f of Gr(a.path))i(a,l,f)}),t}function Gr(e){let t=e.split("/");if(t.length===0)return[];let[r,...o]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(o.length===0)return i?[a,""]:[a];let l=Gr(o.join("/")),f=[];return f.push(...l.map(d=>d===""?a:[a,d].join("/"))),i&&f.push(...l),f.map(d=>e.startsWith("/")&&d===""?"/":d)}function po(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:xo(t.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var vo=/^:[\w-]+$/,mo=3,go=2,yo=1,bo=10,wo=-2,kr=e=>e==="*";function So(e,t){let r=e.split("/"),o=r.length;return r.some(kr)&&(o+=wo),t&&(o+=go),r.filter(i=>!kr(i)).reduce((i,a)=>i+(vo.test(a)?mo:a===""?yo:bo),o)}function xo(e,t){return e.length===t.length&&e.slice(0,-1).every((o,i)=>o===t[i])?e[e.length-1]-t[t.length-1]:0}function ko(e,t,r=!1){let{routesMeta:o}=e,i={},a="/",l=[];for(let f=0;f<o.length;++f){let d=o[f],h=f===o.length-1,w=a==="/"?t:t.slice(a.length)||"/",E=pt({path:d.relativePath,caseSensitive:d.caseSensitive,end:h},w),R=d.route;if(!E&&h&&r&&!o[o.length-1].route.index&&(E=pt({path:d.relativePath,caseSensitive:d.caseSensitive,end:!1},w)),!E)return null;Object.assign(i,E.params),l.push({params:i,pathname:Se([a,E.pathname]),pathnameBase:_o(Se([a,E.pathnameBase])),route:R}),E.pathnameBase!=="/"&&(a=Se([a,E.pathnameBase]))}return l}function pt(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Oo(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let a=i[0],l=a.replace(/(.)\/+$/,"$1"),f=i.slice(1);return{params:o.reduce((h,{paramName:w,isOptional:E},R)=>{if(w==="*"){let C=f[R]||"";l=a.slice(0,a.length-C.length).replace(/(.)\/+$/,"$1")}const A=f[R];return E&&!A?h[w]=void 0:h[w]=(A||"").replace(/%2F/g,"/"),h},{}),pathname:a,pathnameBase:l,pattern:e}}function Oo(e,t=!1,r=!0){be(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,f,d)=>(o.push({paramName:f,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),o]}function Co(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return be(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function xe(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,o=e.charAt(r);return o&&o!=="/"?null:e.slice(r)||"/"}function Po(e,t="/"){let{pathname:r,search:o="",hash:i=""}=typeof e=="string"?De(e):e;return{pathname:r?r.startsWith("/")?r:Eo(r,t):t,search:To(o),hash:jo(i)}}function Eo(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function jt(e,t,r,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ro(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Kr(e){let t=Ro(e);return t.map((r,o)=>o===t.length-1?r.pathname:r.pathnameBase)}function Jr(e,t,r,o=!1){let i;typeof e=="string"?i=De(e):(i={...e},oe(!i.pathname||!i.pathname.includes("?"),jt("?","pathname","search",i)),oe(!i.pathname||!i.pathname.includes("#"),jt("#","pathname","hash",i)),oe(!i.search||!i.search.includes("#"),jt("#","search","hash",i)));let a=e===""||i.pathname==="",l=a?"/":i.pathname,f;if(l==null)f=r;else{let E=t.length-1;if(!o&&l.startsWith("..")){let R=l.split("/");for(;R[0]==="..";)R.shift(),E-=1;i.pathname=R.join("/")}f=E>=0?t[E]:"/"}let d=Po(i,f),h=l&&l!=="/"&&l.endsWith("/"),w=(a||l===".")&&r.endsWith("/");return!d.pathname.endsWith("/")&&(h||w)&&(d.pathname+="/"),d}var Se=e=>e.join("/").replace(/\/\/+/g,"/"),_o=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),To=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,jo=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Lo(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Zr=["POST","PUT","PATCH","DELETE"];new Set(Zr);var Do=["GET",...Zr];new Set(Do);var Me=_.createContext(null);Me.displayName="DataRouter";var wt=_.createContext(null);wt.displayName="DataRouterState";var Qr=_.createContext({isTransitioning:!1});Qr.displayName="ViewTransition";var Mo=_.createContext(new Map);Mo.displayName="Fetchers";var Io=_.createContext(null);Io.displayName="Await";var we=_.createContext(null);we.displayName="Navigation";var Je=_.createContext(null);Je.displayName="Location";var ke=_.createContext({outlet:null,matches:[],isDataRoute:!1});ke.displayName="Route";var Wt=_.createContext(null);Wt.displayName="RouteError";function Ao(e,{relative:t}={}){oe(Ze(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=_.useContext(we),{hash:i,pathname:a,search:l}=Qe(e,{relative:t}),f=a;return r!=="/"&&(f=a==="/"?r:Se([r,a])),o.createHref({pathname:f,search:l,hash:i})}function Ze(){return _.useContext(Je)!=null}function Ce(){return oe(Ze(),"useLocation() may be used only in the context of a <Router> component."),_.useContext(Je).location}var en="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function tn(e){_.useContext(we).static||_.useLayoutEffect(e)}function rn(){let{isDataRoute:e}=_.useContext(ke);return e?Go():zo()}function zo(){oe(Ze(),"useNavigate() may be used only in the context of a <Router> component.");let e=_.useContext(Me),{basename:t,navigator:r}=_.useContext(we),{matches:o}=_.useContext(ke),{pathname:i}=Ce(),a=JSON.stringify(Kr(o)),l=_.useRef(!1);return tn(()=>{l.current=!0}),_.useCallback((d,h={})=>{if(be(l.current,en),!l.current)return;if(typeof d=="number"){r.go(d);return}let w=Jr(d,JSON.parse(a),i,h.relative==="path");e==null&&t!=="/"&&(w.pathname=w.pathname==="/"?t:Se([t,w.pathname])),(h.replace?r.replace:r.push)(w,h.state,h)},[t,r,a,i,e])}_.createContext(null);function Qe(e,{relative:t}={}){let{matches:r}=_.useContext(ke),{pathname:o}=Ce(),i=JSON.stringify(Kr(r));return _.useMemo(()=>Jr(e,JSON.parse(i),o,t==="path"),[e,i,o,t])}function Ho(e,t){return nn(e,t)}function nn(e,t,r,o){oe(Ze(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=_.useContext(we),{matches:a}=_.useContext(ke),l=a[a.length-1],f=l?l.params:{},d=l?l.pathname:"/",h=l?l.pathnameBase:"/",w=l&&l.route;{let k=w&&w.path||"";on(d,!w||k.endsWith("*")||k.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${k}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
57
|
+
*/var Sr="popstate";function lo(e={}){function t(o,i){let{pathname:a,search:l,hash:f}=o.location;return zt("",{pathname:a,search:l,hash:f},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(o,i){return typeof i=="string"?i:Xe(i)}return co(t,r,null,e)}function oe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function be(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function uo(){return Math.random().toString(36).substring(2,10)}function xr(e,t){return{usr:e.state,key:e.key,idx:t}}function zt(e,t,r=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?De(t):t,state:r,key:t&&t.key||o||uo()}}function Xe({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function De(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function co(e,t,r,o={}){let{window:i=document.defaultView,v5Compat:a=!1}=o,l=i.history,f="POP",d=null,p=w();p==null&&(p=0,l.replaceState({...l.state,idx:p},""));function w(){return(l.state||{idx:null}).idx}function E(){f="POP";let M=w(),k=M==null?null:M-p;p=M,d&&d({action:f,location:v.location,delta:k})}function R(M,k){f="PUSH";let N=zt(v.location,M,k);p=w()+1;let B=xr(N,p),U=v.createHref(N);try{l.pushState(B,"",U)}catch(h){if(h instanceof DOMException&&h.name==="DataCloneError")throw h;i.location.assign(U)}a&&d&&d({action:f,location:v.location,delta:1})}function A(M,k){f="REPLACE";let N=zt(v.location,M,k);p=w();let B=xr(N,p),U=v.createHref(N);l.replaceState(B,"",U),a&&d&&d({action:f,location:v.location,delta:0})}function C(M){return fo(M)}let v={get action(){return f},get location(){return e(i,l)},listen(M){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(Sr,E),d=M,()=>{i.removeEventListener(Sr,E),d=null}},createHref(M){return t(i,M)},createURL:C,encodeLocation(M){let k=C(M);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:R,replace:A,go(M){return l.go(M)}};return v}function fo(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),oe(r,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:Xe(e);return o=o.replace(/ $/,"%20"),!t&&o.startsWith("//")&&(o=r+o),new URL(o,r)}function Vr(e,t,r="/"){return po(e,t,r,!1)}function po(e,t,r,o){let i=typeof t=="string"?De(t):t,a=xe(i.pathname||"/",r);if(a==null)return null;let l=Xr(e);ho(l);let f=null;for(let d=0;f==null&&d<l.length;++d){let p=Co(a);f=ko(l[d],p,o)}return f}function Xr(e,t=[],r=[],o=""){let i=(a,l,f)=>{let d={relativePath:f===void 0?a.path||"":f,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};d.relativePath.startsWith("/")&&(oe(d.relativePath.startsWith(o),`Absolute route path "${d.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(o.length));let p=Se([o,d.relativePath]),w=r.concat(d);a.children&&a.children.length>0&&(oe(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),Xr(a.children,t,w,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:So(p,a.index),routesMeta:w})};return e.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))i(a,l);else for(let f of Gr(a.path))i(a,l,f)}),t}function Gr(e){let t=e.split("/");if(t.length===0)return[];let[r,...o]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(o.length===0)return i?[a,""]:[a];let l=Gr(o.join("/")),f=[];return f.push(...l.map(d=>d===""?a:[a,d].join("/"))),i&&f.push(...l),f.map(d=>e.startsWith("/")&&d===""?"/":d)}function ho(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:xo(t.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var vo=/^:[\w-]+$/,mo=3,go=2,yo=1,bo=10,wo=-2,kr=e=>e==="*";function So(e,t){let r=e.split("/"),o=r.length;return r.some(kr)&&(o+=wo),t&&(o+=go),r.filter(i=>!kr(i)).reduce((i,a)=>i+(vo.test(a)?mo:a===""?yo:bo),o)}function xo(e,t){return e.length===t.length&&e.slice(0,-1).every((o,i)=>o===t[i])?e[e.length-1]-t[t.length-1]:0}function ko(e,t,r=!1){let{routesMeta:o}=e,i={},a="/",l=[];for(let f=0;f<o.length;++f){let d=o[f],p=f===o.length-1,w=a==="/"?t:t.slice(a.length)||"/",E=ht({path:d.relativePath,caseSensitive:d.caseSensitive,end:p},w),R=d.route;if(!E&&p&&r&&!o[o.length-1].route.index&&(E=ht({path:d.relativePath,caseSensitive:d.caseSensitive,end:!1},w)),!E)return null;Object.assign(i,E.params),l.push({params:i,pathname:Se([a,E.pathname]),pathnameBase:_o(Se([a,E.pathnameBase])),route:R}),E.pathnameBase!=="/"&&(a=Se([a,E.pathnameBase]))}return l}function ht(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Oo(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let a=i[0],l=a.replace(/(.)\/+$/,"$1"),f=i.slice(1);return{params:o.reduce((p,{paramName:w,isOptional:E},R)=>{if(w==="*"){let C=f[R]||"";l=a.slice(0,a.length-C.length).replace(/(.)\/+$/,"$1")}const A=f[R];return E&&!A?p[w]=void 0:p[w]=(A||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:l,pattern:e}}function Oo(e,t=!1,r=!0){be(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,f,d)=>(o.push({paramName:f,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),o]}function Co(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return be(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function xe(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,o=e.charAt(r);return o&&o!=="/"?null:e.slice(r)||"/"}function Po(e,t="/"){let{pathname:r,search:o="",hash:i=""}=typeof e=="string"?De(e):e;return{pathname:r?r.startsWith("/")?r:Eo(r,t):t,search:To(o),hash:jo(i)}}function Eo(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function jt(e,t,r,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ro(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Kr(e){let t=Ro(e);return t.map((r,o)=>o===t.length-1?r.pathname:r.pathnameBase)}function Jr(e,t,r,o=!1){let i;typeof e=="string"?i=De(e):(i={...e},oe(!i.pathname||!i.pathname.includes("?"),jt("?","pathname","search",i)),oe(!i.pathname||!i.pathname.includes("#"),jt("#","pathname","hash",i)),oe(!i.search||!i.search.includes("#"),jt("#","search","hash",i)));let a=e===""||i.pathname==="",l=a?"/":i.pathname,f;if(l==null)f=r;else{let E=t.length-1;if(!o&&l.startsWith("..")){let R=l.split("/");for(;R[0]==="..";)R.shift(),E-=1;i.pathname=R.join("/")}f=E>=0?t[E]:"/"}let d=Po(i,f),p=l&&l!=="/"&&l.endsWith("/"),w=(a||l===".")&&r.endsWith("/");return!d.pathname.endsWith("/")&&(p||w)&&(d.pathname+="/"),d}var Se=e=>e.join("/").replace(/\/\/+/g,"/"),_o=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),To=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,jo=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Lo(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Zr=["POST","PUT","PATCH","DELETE"];new Set(Zr);var Do=["GET",...Zr];new Set(Do);var Me=_.createContext(null);Me.displayName="DataRouter";var wt=_.createContext(null);wt.displayName="DataRouterState";var Qr=_.createContext({isTransitioning:!1});Qr.displayName="ViewTransition";var Mo=_.createContext(new Map);Mo.displayName="Fetchers";var Io=_.createContext(null);Io.displayName="Await";var we=_.createContext(null);we.displayName="Navigation";var Je=_.createContext(null);Je.displayName="Location";var ke=_.createContext({outlet:null,matches:[],isDataRoute:!1});ke.displayName="Route";var Wt=_.createContext(null);Wt.displayName="RouteError";function Ao(e,{relative:t}={}){oe(Ze(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=_.useContext(we),{hash:i,pathname:a,search:l}=Qe(e,{relative:t}),f=a;return r!=="/"&&(f=a==="/"?r:Se([r,a])),o.createHref({pathname:f,search:l,hash:i})}function Ze(){return _.useContext(Je)!=null}function Ce(){return oe(Ze(),"useLocation() may be used only in the context of a <Router> component."),_.useContext(Je).location}var en="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function tn(e){_.useContext(we).static||_.useLayoutEffect(e)}function rn(){let{isDataRoute:e}=_.useContext(ke);return e?Go():zo()}function zo(){oe(Ze(),"useNavigate() may be used only in the context of a <Router> component.");let e=_.useContext(Me),{basename:t,navigator:r}=_.useContext(we),{matches:o}=_.useContext(ke),{pathname:i}=Ce(),a=JSON.stringify(Kr(o)),l=_.useRef(!1);return tn(()=>{l.current=!0}),_.useCallback((d,p={})=>{if(be(l.current,en),!l.current)return;if(typeof d=="number"){r.go(d);return}let w=Jr(d,JSON.parse(a),i,p.relative==="path");e==null&&t!=="/"&&(w.pathname=w.pathname==="/"?t:Se([t,w.pathname])),(p.replace?r.replace:r.push)(w,p.state,p)},[t,r,a,i,e])}_.createContext(null);function Qe(e,{relative:t}={}){let{matches:r}=_.useContext(ke),{pathname:o}=Ce(),i=JSON.stringify(Kr(r));return _.useMemo(()=>Jr(e,JSON.parse(i),o,t==="path"),[e,i,o,t])}function Ho(e,t){return nn(e,t)}function nn(e,t,r,o){oe(Ze(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=_.useContext(we),{matches:a}=_.useContext(ke),l=a[a.length-1],f=l?l.params:{},d=l?l.pathname:"/",p=l?l.pathnameBase:"/",w=l&&l.route;{let k=w&&w.path||"";on(d,!w||k.endsWith("*")||k.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${k}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
58
58
|
|
|
59
|
-
Please change the parent <Route path="${k}"> to <Route path="${k==="/"?"*":`${k}/*`}">.`)}let E=Ce(),R;if(t){let k=typeof t=="string"?De(t):t;oe(h==="/"||k.pathname?.startsWith(h),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${k.pathname}" was given in the \`location\` prop.`),R=k}else R=E;let A=R.pathname||"/",C=A;if(h!=="/"){let k=h.replace(/^\//,"").split("/");C="/"+A.replace(/^\//,"").split("/").slice(k.length).join("/")}let v=Vr(e,{pathname:C});be(w||v!=null,`No routes matched location "${R.pathname}${R.search}${R.hash}" `),be(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${R.pathname}${R.search}${R.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let M=qo(v&&v.map(k=>Object.assign({},k,{params:Object.assign({},f,k.params),pathname:Se([h,i.encodeLocation?i.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?h:Se([h,i.encodeLocation?i.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),a,r,o);return t&&M?_.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...R},navigationType:"POP"}},M):M}function No(){let e=Xo(),t=Lo(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=_.createElement(_.Fragment,null,_.createElement("p",null,"💿 Hey developer 👋"),_.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",_.createElement("code",{style:a},"ErrorBoundary")," or"," ",_.createElement("code",{style:a},"errorElement")," prop on your route.")),_.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),r?_.createElement("pre",{style:i},r):null,l)}var Fo=_.createElement(No,null),$o=class extends _.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?_.createElement(ke.Provider,{value:this.props.routeContext},_.createElement(Wt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Wo({routeContext:e,match:t,children:r}){let o=_.useContext(Me);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),_.createElement(ke.Provider,{value:e},r)}function qo(e,t=[],r=null,o=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let d=i.findIndex(h=>h.route.id&&a?.[h.route.id]!==void 0);oe(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,f=-1;if(r)for(let d=0;d<i.length;d++){let h=i[d];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(f=d),h.route.id){let{loaderData:w,errors:E}=r,R=h.route.loader&&!w.hasOwnProperty(h.route.id)&&(!E||E[h.route.id]===void 0);if(h.route.lazy||R){l=!0,f>=0?i=i.slice(0,f+1):i=[i[0]];break}}}return i.reduceRight((d,h,w)=>{let E,R=!1,A=null,C=null;r&&(E=a&&h.route.id?a[h.route.id]:void 0,A=h.route.errorElement||Fo,l&&(f<0&&w===0?(on("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),R=!0,C=null):f===w&&(R=!0,C=h.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,w+1)),M=()=>{let k;return E?k=A:R?k=C:h.route.Component?k=_.createElement(h.route.Component,null):h.route.element?k=h.route.element:k=d,_.createElement(Wo,{match:h,routeContext:{outlet:d,matches:v,isDataRoute:r!=null},children:k})};return r&&(h.route.ErrorBoundary||h.route.errorElement||w===0)?_.createElement($o,{location:r.location,revalidation:r.revalidation,component:A,error:E,children:M(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):M()},null)}function qt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Bo(e){let t=_.useContext(Me);return oe(t,qt(e)),t}function Uo(e){let t=_.useContext(wt);return oe(t,qt(e)),t}function Yo(e){let t=_.useContext(ke);return oe(t,qt(e)),t}function Bt(e){let t=Yo(e),r=t.matches[t.matches.length-1];return oe(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function Vo(){return Bt("useRouteId")}function Xo(){let e=_.useContext(Wt),t=Uo("useRouteError"),r=Bt("useRouteError");return e!==void 0?e:t.errors?.[r]}function Go(){let{router:e}=Bo("useNavigate"),t=Bt("useNavigate"),r=_.useRef(!1);return tn(()=>{r.current=!0}),_.useCallback(async(i,a={})=>{be(r.current,en),r.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var Or={};function on(e,t,r){!t&&!Or[e]&&(Or[e]=!0,be(!1,r))}_.memo(Ko);function Ko({routes:e,future:t,state:r}){return nn(e,void 0,r,t)}function an(e){oe(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Jo({basename:e="/",children:t=null,location:r,navigationType:o="POP",navigator:i,static:a=!1}){oe(!Ze(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),f=_.useMemo(()=>({basename:l,navigator:i,static:a,future:{}}),[l,i,a]);typeof r=="string"&&(r=De(r));let{pathname:d="/",search:h="",hash:w="",state:E=null,key:R="default"}=r,A=_.useMemo(()=>{let C=xe(d,l);return C==null?null:{location:{pathname:C,search:h,hash:w,state:E,key:R},navigationType:o}},[l,d,h,w,E,R,o]);return be(A!=null,`<Router basename="${l}"> is not able to match the URL "${d}${h}${w}" because it does not start with the basename, so the <Router> won't render anything.`),A==null?null:_.createElement(we.Provider,{value:f},_.createElement(Je.Provider,{children:t,value:A}))}function Zo({children:e,location:t}){return Ho(Ht(e),t)}function Ht(e,t=[]){let r=[];return _.Children.forEach(e,(o,i)=>{if(!_.isValidElement(o))return;let a=[...t,i];if(o.type===_.Fragment){r.push.apply(r,Ht(o.props.children,a));return}oe(o.type===an,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),oe(!o.props.index||!o.props.children,"An index route cannot have child routes.");let l={id:o.props.id||a.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(l.children=Ht(o.props.children,a)),r.push(l)}),r}var ut="get",ct="application/x-www-form-urlencoded";function St(e){return e!=null&&typeof e.tagName=="string"}function Qo(e){return St(e)&&e.tagName.toLowerCase()==="button"}function ea(e){return St(e)&&e.tagName.toLowerCase()==="form"}function ta(e){return St(e)&&e.tagName.toLowerCase()==="input"}function ra(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function na(e,t){return e.button===0&&(!t||t==="_self")&&!ra(e)}var ot=null;function ia(){if(ot===null)try{new FormData(document.createElement("form"),0),ot=!1}catch{ot=!0}return ot}var oa=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Lt(e){return e!=null&&!oa.has(e)?(be(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`),null):e}function aa(e,t){let r,o,i,a,l;if(ea(e)){let f=e.getAttribute("action");o=f?xe(f,t):null,r=e.getAttribute("method")||ut,i=Lt(e.getAttribute("enctype"))||ct,a=new FormData(e)}else if(Qo(e)||ta(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let d=e.getAttribute("formaction")||f.getAttribute("action");if(o=d?xe(d,t):null,r=e.getAttribute("formmethod")||f.getAttribute("method")||ut,i=Lt(e.getAttribute("formenctype"))||Lt(f.getAttribute("enctype"))||ct,a=new FormData(f,e),!ia()){let{name:h,type:w,value:E}=e;if(w==="image"){let R=h?`${h}.`:"";a.append(`${R}x`,"0"),a.append(`${R}y`,"0")}else h&&a.append(h,E)}}else{if(St(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ut,o=null,i=ct,l=e}return a&&i==="text/plain"&&(l=a,a=void 0),{action:o,method:r.toLowerCase(),encType:i,formData:a,body:l}}function Ut(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function sa(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function la(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function ua(e,t,r){let o=await Promise.all(e.map(async i=>{let a=t.routes[i.route.id];if(a){let l=await sa(a,r);return l.links?l.links():[]}return[]}));return ha(o.flat(1).filter(la).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function Cr(e,t,r,o,i,a){let l=(d,h)=>r[h]?d.route.id!==r[h].route.id:!0,f=(d,h)=>r[h].pathname!==d.pathname||r[h].route.path?.endsWith("*")&&r[h].params["*"]!==d.params["*"];return a==="assets"?t.filter((d,h)=>l(d,h)||f(d,h)):a==="data"?t.filter((d,h)=>{let w=o.routes[d.route.id];if(!w||!w.hasLoader)return!1;if(l(d,h)||f(d,h))return!0;if(d.route.shouldRevalidate){let E=d.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:d.params,defaultShouldRevalidate:!0});if(typeof E=="boolean")return E}return!0}):[]}function ca(e,t,{includeHydrateFallback:r}={}){return fa(e.map(o=>{let i=t.routes[o.route.id];if(!i)return[];let a=[i.module];return i.clientActionModule&&(a=a.concat(i.clientActionModule)),i.clientLoaderModule&&(a=a.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(a=a.concat(i.hydrateFallbackModule)),i.imports&&(a=a.concat(i.imports)),a}).flat(1))}function fa(e){return[...new Set(e)]}function da(e){let t={},r=Object.keys(e).sort();for(let o of r)t[o]=e[o];return t}function ha(e,t){let r=new Set;return new Set(t),e.reduce((o,i)=>{let a=JSON.stringify(da(i));return r.has(a)||(r.add(a),o.push({key:a,link:i})),o},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var pa=new Set([100,101,204,205]);function va(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&xe(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function sn(){let e=_.useContext(Me);return Ut(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function ma(){let e=_.useContext(wt);return Ut(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Yt=_.createContext(void 0);Yt.displayName="FrameworkContext";function ln(){let e=_.useContext(Yt);return Ut(e,"You must render this element inside a <HydratedRouter> element"),e}function ga(e,t){let r=_.useContext(Yt),[o,i]=_.useState(!1),[a,l]=_.useState(!1),{onFocus:f,onBlur:d,onMouseEnter:h,onMouseLeave:w,onTouchStart:E}=t,R=_.useRef(null);_.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let v=k=>{k.forEach(N=>{l(N.isIntersecting)})},M=new IntersectionObserver(v,{threshold:.5});return R.current&&M.observe(R.current),()=>{M.disconnect()}}},[e]),_.useEffect(()=>{if(o){let v=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(v)}}},[o]);let A=()=>{i(!0)},C=()=>{i(!1),l(!1)};return r?e!=="intent"?[a,R,{}]:[a,R,{onFocus:Be(f,A),onBlur:Be(d,C),onMouseEnter:Be(h,A),onMouseLeave:Be(w,C),onTouchStart:Be(E,A)}]:[!1,R,{}]}function Be(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function ya({page:e,...t}){let{router:r}=sn(),o=_.useMemo(()=>Vr(r.routes,e,r.basename),[r.routes,e,r.basename]);return o?_.createElement(wa,{page:e,matches:o,...t}):null}function ba(e){let{manifest:t,routeModules:r}=ln(),[o,i]=_.useState([]);return _.useEffect(()=>{let a=!1;return ua(e,t,r).then(l=>{a||i(l)}),()=>{a=!0}},[e,t,r]),o}function wa({page:e,matches:t,...r}){let o=Ce(),{manifest:i,routeModules:a}=ln(),{basename:l}=sn(),{loaderData:f,matches:d}=ma(),h=_.useMemo(()=>Cr(e,t,d,i,o,"data"),[e,t,d,i,o]),w=_.useMemo(()=>Cr(e,t,d,i,o,"assets"),[e,t,d,i,o]),E=_.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let C=new Set,v=!1;if(t.forEach(k=>{let N=i.routes[k.route.id];!N||!N.hasLoader||(!h.some(B=>B.route.id===k.route.id)&&k.route.id in f&&a[k.route.id]?.shouldRevalidate||N.hasClientLoader?v=!0:C.add(k.route.id))}),C.size===0)return[];let M=va(e,l);return v&&C.size>0&&M.searchParams.set("_routes",t.filter(k=>C.has(k.route.id)).map(k=>k.route.id).join(",")),[M.pathname+M.search]},[l,f,o,i,h,t,e,a]),R=_.useMemo(()=>ca(w,i),[w,i]),A=ba(w);return _.createElement(_.Fragment,null,E.map(C=>_.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...r})),R.map(C=>_.createElement("link",{key:C,rel:"modulepreload",href:C,...r})),A.map(({key:C,link:v})=>_.createElement("link",{key:C,...v})))}function Sa(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var un=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{un&&(window.__reactRouterVersion="7.6.3")}catch{}function xa({basename:e,children:t,window:r}){let o=_.useRef();o.current==null&&(o.current=lo({window:r,v5Compat:!0}));let i=o.current,[a,l]=_.useState({action:i.action,location:i.location}),f=_.useCallback(d=>{_.startTransition(()=>l(d))},[l]);return _.useLayoutEffect(()=>i.listen(f),[i,f]),_.createElement(Jo,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:i})}var cn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fn=_.forwardRef(function({onClick:t,discover:r="render",prefetch:o="none",relative:i,reloadDocument:a,replace:l,state:f,target:d,to:h,preventScrollReset:w,viewTransition:E,...R},A){let{basename:C}=_.useContext(we),v=typeof h=="string"&&cn.test(h),M,k=!1;if(typeof h=="string"&&v&&(M=h,un))try{let m=new URL(window.location.href),c=h.startsWith("//")?new URL(m.protocol+h):new URL(h),P=xe(c.pathname,C);c.origin===m.origin&&P!=null?h=P+c.search+c.hash:k=!0}catch{be(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let N=Ao(h,{relative:i}),[B,U,p]=ga(o,R),g=Pa(h,{replace:l,state:f,target:d,preventScrollReset:w,relative:i,viewTransition:E});function y(m){t&&t(m),m.defaultPrevented||g(m)}let O=_.createElement("a",{...R,...p,href:M||N,onClick:k||a?t:y,ref:Sa(A,U),target:d,"data-discover":!v&&r==="render"?"true":void 0});return B&&!v?_.createElement(_.Fragment,null,O,_.createElement(ya,{page:N})):O});fn.displayName="Link";var ka=_.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:o="",end:i=!1,style:a,to:l,viewTransition:f,children:d,...h},w){let E=Qe(l,{relative:h.relative}),R=Ce(),A=_.useContext(wt),{navigator:C,basename:v}=_.useContext(we),M=A!=null&&ja(E)&&f===!0,k=C.encodeLocation?C.encodeLocation(E).pathname:E.pathname,N=R.pathname,B=A&&A.navigation&&A.navigation.location?A.navigation.location.pathname:null;r||(N=N.toLowerCase(),B=B?B.toLowerCase():null,k=k.toLowerCase()),B&&v&&(B=xe(B,v)||B);const U=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let p=N===k||!i&&N.startsWith(k)&&N.charAt(U)==="/",g=B!=null&&(B===k||!i&&B.startsWith(k)&&B.charAt(k.length)==="/"),y={isActive:p,isPending:g,isTransitioning:M},O=p?t:void 0,m;typeof o=="function"?m=o(y):m=[o,p?"active":null,g?"pending":null,M?"transitioning":null].filter(Boolean).join(" ");let c=typeof a=="function"?a(y):a;return _.createElement(fn,{...h,"aria-current":O,className:m,ref:w,style:c,to:l,viewTransition:f},typeof d=="function"?d(y):d)});ka.displayName="NavLink";var Oa=_.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:o,replace:i,state:a,method:l=ut,action:f,onSubmit:d,relative:h,preventScrollReset:w,viewTransition:E,...R},A)=>{let C=_a(),v=Ta(f,{relative:h}),M=l.toLowerCase()==="get"?"get":"post",k=typeof f=="string"&&cn.test(f),N=B=>{if(d&&d(B),B.defaultPrevented)return;B.preventDefault();let U=B.nativeEvent.submitter,p=U?.getAttribute("formmethod")||l;C(U||B.currentTarget,{fetcherKey:t,method:p,navigate:r,replace:i,state:a,relative:h,preventScrollReset:w,viewTransition:E})};return _.createElement("form",{ref:A,method:M,action:v,onSubmit:o?d:N,...R,"data-discover":!k&&e==="render"?"true":void 0})});Oa.displayName="Form";function Ca(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function dn(e){let t=_.useContext(Me);return oe(t,Ca(e)),t}function Pa(e,{target:t,replace:r,state:o,preventScrollReset:i,relative:a,viewTransition:l}={}){let f=rn(),d=Ce(),h=Qe(e,{relative:a});return _.useCallback(w=>{if(na(w,t)){w.preventDefault();let E=r!==void 0?r:Xe(d)===Xe(h);f(e,{replace:E,state:o,preventScrollReset:i,relative:a,viewTransition:l})}},[d,f,h,r,o,t,e,i,a,l])}var Ea=0,Ra=()=>`__${String(++Ea)}__`;function _a(){let{router:e}=dn("useSubmit"),{basename:t}=_.useContext(we),r=Vo();return _.useCallback(async(o,i={})=>{let{action:a,method:l,encType:f,formData:d,body:h}=aa(o,t);if(i.navigate===!1){let w=i.fetcherKey||Ra();await e.fetch(w,r,i.action||a,{preventScrollReset:i.preventScrollReset,formData:d,body:h,formMethod:i.method||l,formEncType:i.encType||f,flushSync:i.flushSync})}else await e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:d,body:h,formMethod:i.method||l,formEncType:i.encType||f,replace:i.replace,state:i.state,fromRouteId:r,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,r])}function Ta(e,{relative:t}={}){let{basename:r}=_.useContext(we),o=_.useContext(ke);oe(o,"useFormAction must be used inside a RouteContext");let[i]=o.matches.slice(-1),a={...Qe(e||".",{relative:t})},l=Ce();if(e==null){a.search=l.search;let f=new URLSearchParams(a.search),d=f.getAll("index");if(d.some(w=>w==="")){f.delete("index"),d.filter(E=>E).forEach(E=>f.append("index",E));let w=f.toString();a.search=w?`?${w}`:""}}return(!e||e===".")&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(a.pathname=a.pathname==="/"?r:Se([r,a.pathname])),Xe(a)}function ja(e,t={}){let r=_.useContext(Qr);oe(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=dn("useViewTransitionState"),i=Qe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=xe(r.currentLocation.pathname,o)||r.currentLocation.pathname,l=xe(r.nextLocation.pathname,o)||r.nextLocation.pathname;return pt(i.pathname,l)!=null||pt(i.pathname,a)!=null}[...pa];const hn=q.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),La=({routes:e,children:t})=>{const r=q.useRef(["/"]),[o,i]=q.useState(["/"]),a=q.useCallback(w=>{r.current=w,i(w)},[]),l=w=>{a([...r.current,w])},f=w=>{let E="",R=[];return r.current.length===0?"/":(r.current.length<=w?(E=r.current[0],R=[E]):(R=r.current.slice(0,r.current.length-w),E=R[R.length-1]),a(R),E)},d=w=>{a(w)},h=e.map(w=>G.jsx(an,{path:w.path,element:w.render}));return G.jsx(hn.Provider,{value:{history:o,addToHistory:l,popFromHistory:f,replaceHistory:d},children:G.jsxs(xa,{children:[t,G.jsx(Zo,{children:h})]})})},Da=()=>{const e=rn(),t=Ce(),r=q.useContext(hn),o=q.useCallback((l,f=!0)=>{l!==t.pathname&&e(l,{replace:!0}),f&&r.addToHistory(l)},[t.pathname,e,r]),i=q.useCallback(l=>{const f=l||1,d=r.popFromHistory(f);o(d,!1)},[o,r]),a=q.useCallback(l=>{r.replaceHistory(l)},[r]);return{currentPath:t.pathname,history:r.history,goBack:i,goTo:o,replaceHistory:a}},pn=q.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),Ma=({children:e})=>{const t=q.useRef([]),[r,o]=q.useState([]),i=q.useCallback(d=>{t.current=d,o(d)},[]),a=q.useCallback(d=>t.current.some(h=>h===d),[]),l=q.useCallback(d=>{a(d)||i([...t.current,d])},[a,i]),f=q.useCallback(d=>{a(d)&&i(t.current.filter(w=>w!==d))},[a,i]);return G.jsx(pn.Provider,{value:{visibleItems:r,isItemVisible:a,showItem:l,hideItem:f},children:e})},et=()=>{const e=q.useContext(pn),t=i=>e.visibleItems.some(a=>a===i),r=i=>{e.showItem(i)},o=i=>{e.hideItem(i)};return{visibleItems:e.visibleItems,isItemVisible:t,showItem:r,hideItem:o}},Ia=({id:e,onCloseDrawer:t,drawerCloseOffset:r=15})=>{const{isItemVisible:o}=et(),[i,a]=q.useState({isDragging:!1}),l=q.useRef(null),f=q.useRef(null),d=q.useRef(null),[h,w]=q.useState(0),E=C=>{a(C)},R=C=>{a(C),w(0)};return Br({ref:d,onDrag:C=>{a(C);const v=f.current?.clientHeight||0;C.distanceY&&(w(C.distanceY<0?0:-C.distanceY),C.distanceY>=v-r&&(t?.(),R(C)))},onDragEnd:R,onDragStart:E}),{isVisible:o(e),drawerParentRef:l,drawerRef:f,drawerBottomDistance:h,handleRef:d}},Aa=e=>{const{children:t,backgroundStyles:r,contentStyles:o,handle:i}=e,{isVisible:a,drawerParentRef:l,drawerRef:f,handleRef:d,drawerBottomDistance:h}=Ia(e);return G.jsx(G.Fragment,{children:a&&G.jsx("div",{ref:l,style:{width:"100%",height:"100%",minHeight:"100vh",left:0,top:0,background:"#00000068",position:"fixed",zIndex:1e3,display:"flex",flexDirection:"column",touchAction:"none",...r},children:G.jsxs("div",{ref:f,style:{width:"100%",height:"fit-content",minHeight:"80px",maxHeight:"90%",background:"#ffffff",borderTopLeftRadius:"16px",borderTopRightRadius:"16px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"24px",zIndex:1001,position:"absolute",bottom:`${h}px`,...o},onClick:w=>{w.stopPropagation()},children:[G.jsx("div",{ref:d,style:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0px",height:"24px",width:"100%",cursor:"pointer",...i?.styles},children:i?.render}),t]})})})},za=({onSubmit:e,fields:t})=>{const r=q.useRef(null),o=q.useCallback(l=>{var f=Object.keys(l.currentTarget.elements),d=Object.values(l.currentTarget.elements),h=[];for(let w=0;w<f.length;w++){const E=f[w];if(t.findIndex(A=>A.name===E)===-1)continue;const R=d[w].value;h.push({name:E,value:R})}return h},[e]),i=q.useCallback(l=>{l.preventDefault();const f=o(l);e?.(f)},[e]);return{ref:r,submitForm:l=>{l.preventDefault(),l.stopPropagation(),r.current&&r.current.requestSubmit()},handleFormSubmission:i}},Ha=e=>{const{fields:t,styles:r,submitButton:o}=e,{ref:i,handleFormSubmission:a,submitForm:l}=za(e),f=q.useCallback(()=>t.map(d=>({...d.content,key:d.name})),[t]);return G.jsxs("form",{ref:i,onSubmit:a,style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...r},children:[f(),G.jsx("div",{onClick:l,style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"center",...o.styles},children:o.content})]})},Na=({src:e,alt:t="",onClick:r,styles:o})=>G.jsx("img",{src:e,alt:t,style:{overflow:"hidden",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",objectFit:"cover",...o},onClick:()=>r?.()}),Fa=je.div`
|
|
59
|
+
Please change the parent <Route path="${k}"> to <Route path="${k==="/"?"*":`${k}/*`}">.`)}let E=Ce(),R;if(t){let k=typeof t=="string"?De(t):t;oe(p==="/"||k.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${k.pathname}" was given in the \`location\` prop.`),R=k}else R=E;let A=R.pathname||"/",C=A;if(p!=="/"){let k=p.replace(/^\//,"").split("/");C="/"+A.replace(/^\//,"").split("/").slice(k.length).join("/")}let v=Vr(e,{pathname:C});be(w||v!=null,`No routes matched location "${R.pathname}${R.search}${R.hash}" `),be(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${R.pathname}${R.search}${R.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let M=qo(v&&v.map(k=>Object.assign({},k,{params:Object.assign({},f,k.params),pathname:Se([p,i.encodeLocation?i.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?p:Se([p,i.encodeLocation?i.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),a,r,o);return t&&M?_.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...R},navigationType:"POP"}},M):M}function No(){let e=Xo(),t=Lo(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=_.createElement(_.Fragment,null,_.createElement("p",null,"💿 Hey developer 👋"),_.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",_.createElement("code",{style:a},"ErrorBoundary")," or"," ",_.createElement("code",{style:a},"errorElement")," prop on your route.")),_.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),r?_.createElement("pre",{style:i},r):null,l)}var Fo=_.createElement(No,null),$o=class extends _.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?_.createElement(ke.Provider,{value:this.props.routeContext},_.createElement(Wt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Wo({routeContext:e,match:t,children:r}){let o=_.useContext(Me);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),_.createElement(ke.Provider,{value:e},r)}function qo(e,t=[],r=null,o=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let d=i.findIndex(p=>p.route.id&&a?.[p.route.id]!==void 0);oe(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,f=-1;if(r)for(let d=0;d<i.length;d++){let p=i[d];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(f=d),p.route.id){let{loaderData:w,errors:E}=r,R=p.route.loader&&!w.hasOwnProperty(p.route.id)&&(!E||E[p.route.id]===void 0);if(p.route.lazy||R){l=!0,f>=0?i=i.slice(0,f+1):i=[i[0]];break}}}return i.reduceRight((d,p,w)=>{let E,R=!1,A=null,C=null;r&&(E=a&&p.route.id?a[p.route.id]:void 0,A=p.route.errorElement||Fo,l&&(f<0&&w===0?(on("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),R=!0,C=null):f===w&&(R=!0,C=p.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,w+1)),M=()=>{let k;return E?k=A:R?k=C:p.route.Component?k=_.createElement(p.route.Component,null):p.route.element?k=p.route.element:k=d,_.createElement(Wo,{match:p,routeContext:{outlet:d,matches:v,isDataRoute:r!=null},children:k})};return r&&(p.route.ErrorBoundary||p.route.errorElement||w===0)?_.createElement($o,{location:r.location,revalidation:r.revalidation,component:A,error:E,children:M(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):M()},null)}function qt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Bo(e){let t=_.useContext(Me);return oe(t,qt(e)),t}function Uo(e){let t=_.useContext(wt);return oe(t,qt(e)),t}function Yo(e){let t=_.useContext(ke);return oe(t,qt(e)),t}function Bt(e){let t=Yo(e),r=t.matches[t.matches.length-1];return oe(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function Vo(){return Bt("useRouteId")}function Xo(){let e=_.useContext(Wt),t=Uo("useRouteError"),r=Bt("useRouteError");return e!==void 0?e:t.errors?.[r]}function Go(){let{router:e}=Bo("useNavigate"),t=Bt("useNavigate"),r=_.useRef(!1);return tn(()=>{r.current=!0}),_.useCallback(async(i,a={})=>{be(r.current,en),r.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var Or={};function on(e,t,r){!t&&!Or[e]&&(Or[e]=!0,be(!1,r))}_.memo(Ko);function Ko({routes:e,future:t,state:r}){return nn(e,void 0,r,t)}function an(e){oe(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Jo({basename:e="/",children:t=null,location:r,navigationType:o="POP",navigator:i,static:a=!1}){oe(!Ze(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),f=_.useMemo(()=>({basename:l,navigator:i,static:a,future:{}}),[l,i,a]);typeof r=="string"&&(r=De(r));let{pathname:d="/",search:p="",hash:w="",state:E=null,key:R="default"}=r,A=_.useMemo(()=>{let C=xe(d,l);return C==null?null:{location:{pathname:C,search:p,hash:w,state:E,key:R},navigationType:o}},[l,d,p,w,E,R,o]);return be(A!=null,`<Router basename="${l}"> is not able to match the URL "${d}${p}${w}" because it does not start with the basename, so the <Router> won't render anything.`),A==null?null:_.createElement(we.Provider,{value:f},_.createElement(Je.Provider,{children:t,value:A}))}function Zo({children:e,location:t}){return Ho(Ht(e),t)}function Ht(e,t=[]){let r=[];return _.Children.forEach(e,(o,i)=>{if(!_.isValidElement(o))return;let a=[...t,i];if(o.type===_.Fragment){r.push.apply(r,Ht(o.props.children,a));return}oe(o.type===an,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),oe(!o.props.index||!o.props.children,"An index route cannot have child routes.");let l={id:o.props.id||a.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(l.children=Ht(o.props.children,a)),r.push(l)}),r}var ut="get",ct="application/x-www-form-urlencoded";function St(e){return e!=null&&typeof e.tagName=="string"}function Qo(e){return St(e)&&e.tagName.toLowerCase()==="button"}function ea(e){return St(e)&&e.tagName.toLowerCase()==="form"}function ta(e){return St(e)&&e.tagName.toLowerCase()==="input"}function ra(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function na(e,t){return e.button===0&&(!t||t==="_self")&&!ra(e)}var ot=null;function ia(){if(ot===null)try{new FormData(document.createElement("form"),0),ot=!1}catch{ot=!0}return ot}var oa=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Lt(e){return e!=null&&!oa.has(e)?(be(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`),null):e}function aa(e,t){let r,o,i,a,l;if(ea(e)){let f=e.getAttribute("action");o=f?xe(f,t):null,r=e.getAttribute("method")||ut,i=Lt(e.getAttribute("enctype"))||ct,a=new FormData(e)}else if(Qo(e)||ta(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let d=e.getAttribute("formaction")||f.getAttribute("action");if(o=d?xe(d,t):null,r=e.getAttribute("formmethod")||f.getAttribute("method")||ut,i=Lt(e.getAttribute("formenctype"))||Lt(f.getAttribute("enctype"))||ct,a=new FormData(f,e),!ia()){let{name:p,type:w,value:E}=e;if(w==="image"){let R=p?`${p}.`:"";a.append(`${R}x`,"0"),a.append(`${R}y`,"0")}else p&&a.append(p,E)}}else{if(St(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ut,o=null,i=ct,l=e}return a&&i==="text/plain"&&(l=a,a=void 0),{action:o,method:r.toLowerCase(),encType:i,formData:a,body:l}}function Ut(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function sa(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function la(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function ua(e,t,r){let o=await Promise.all(e.map(async i=>{let a=t.routes[i.route.id];if(a){let l=await sa(a,r);return l.links?l.links():[]}return[]}));return pa(o.flat(1).filter(la).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function Cr(e,t,r,o,i,a){let l=(d,p)=>r[p]?d.route.id!==r[p].route.id:!0,f=(d,p)=>r[p].pathname!==d.pathname||r[p].route.path?.endsWith("*")&&r[p].params["*"]!==d.params["*"];return a==="assets"?t.filter((d,p)=>l(d,p)||f(d,p)):a==="data"?t.filter((d,p)=>{let w=o.routes[d.route.id];if(!w||!w.hasLoader)return!1;if(l(d,p)||f(d,p))return!0;if(d.route.shouldRevalidate){let E=d.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:d.params,defaultShouldRevalidate:!0});if(typeof E=="boolean")return E}return!0}):[]}function ca(e,t,{includeHydrateFallback:r}={}){return fa(e.map(o=>{let i=t.routes[o.route.id];if(!i)return[];let a=[i.module];return i.clientActionModule&&(a=a.concat(i.clientActionModule)),i.clientLoaderModule&&(a=a.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(a=a.concat(i.hydrateFallbackModule)),i.imports&&(a=a.concat(i.imports)),a}).flat(1))}function fa(e){return[...new Set(e)]}function da(e){let t={},r=Object.keys(e).sort();for(let o of r)t[o]=e[o];return t}function pa(e,t){let r=new Set;return new Set(t),e.reduce((o,i)=>{let a=JSON.stringify(da(i));return r.has(a)||(r.add(a),o.push({key:a,link:i})),o},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ha=new Set([100,101,204,205]);function va(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&xe(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function sn(){let e=_.useContext(Me);return Ut(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function ma(){let e=_.useContext(wt);return Ut(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Yt=_.createContext(void 0);Yt.displayName="FrameworkContext";function ln(){let e=_.useContext(Yt);return Ut(e,"You must render this element inside a <HydratedRouter> element"),e}function ga(e,t){let r=_.useContext(Yt),[o,i]=_.useState(!1),[a,l]=_.useState(!1),{onFocus:f,onBlur:d,onMouseEnter:p,onMouseLeave:w,onTouchStart:E}=t,R=_.useRef(null);_.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let v=k=>{k.forEach(N=>{l(N.isIntersecting)})},M=new IntersectionObserver(v,{threshold:.5});return R.current&&M.observe(R.current),()=>{M.disconnect()}}},[e]),_.useEffect(()=>{if(o){let v=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(v)}}},[o]);let A=()=>{i(!0)},C=()=>{i(!1),l(!1)};return r?e!=="intent"?[a,R,{}]:[a,R,{onFocus:Be(f,A),onBlur:Be(d,C),onMouseEnter:Be(p,A),onMouseLeave:Be(w,C),onTouchStart:Be(E,A)}]:[!1,R,{}]}function Be(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function ya({page:e,...t}){let{router:r}=sn(),o=_.useMemo(()=>Vr(r.routes,e,r.basename),[r.routes,e,r.basename]);return o?_.createElement(wa,{page:e,matches:o,...t}):null}function ba(e){let{manifest:t,routeModules:r}=ln(),[o,i]=_.useState([]);return _.useEffect(()=>{let a=!1;return ua(e,t,r).then(l=>{a||i(l)}),()=>{a=!0}},[e,t,r]),o}function wa({page:e,matches:t,...r}){let o=Ce(),{manifest:i,routeModules:a}=ln(),{basename:l}=sn(),{loaderData:f,matches:d}=ma(),p=_.useMemo(()=>Cr(e,t,d,i,o,"data"),[e,t,d,i,o]),w=_.useMemo(()=>Cr(e,t,d,i,o,"assets"),[e,t,d,i,o]),E=_.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let C=new Set,v=!1;if(t.forEach(k=>{let N=i.routes[k.route.id];!N||!N.hasLoader||(!p.some(B=>B.route.id===k.route.id)&&k.route.id in f&&a[k.route.id]?.shouldRevalidate||N.hasClientLoader?v=!0:C.add(k.route.id))}),C.size===0)return[];let M=va(e,l);return v&&C.size>0&&M.searchParams.set("_routes",t.filter(k=>C.has(k.route.id)).map(k=>k.route.id).join(",")),[M.pathname+M.search]},[l,f,o,i,p,t,e,a]),R=_.useMemo(()=>ca(w,i),[w,i]),A=ba(w);return _.createElement(_.Fragment,null,E.map(C=>_.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...r})),R.map(C=>_.createElement("link",{key:C,rel:"modulepreload",href:C,...r})),A.map(({key:C,link:v})=>_.createElement("link",{key:C,...v})))}function Sa(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var un=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{un&&(window.__reactRouterVersion="7.6.3")}catch{}function xa({basename:e,children:t,window:r}){let o=_.useRef();o.current==null&&(o.current=lo({window:r,v5Compat:!0}));let i=o.current,[a,l]=_.useState({action:i.action,location:i.location}),f=_.useCallback(d=>{_.startTransition(()=>l(d))},[l]);return _.useLayoutEffect(()=>i.listen(f),[i,f]),_.createElement(Jo,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:i})}var cn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fn=_.forwardRef(function({onClick:t,discover:r="render",prefetch:o="none",relative:i,reloadDocument:a,replace:l,state:f,target:d,to:p,preventScrollReset:w,viewTransition:E,...R},A){let{basename:C}=_.useContext(we),v=typeof p=="string"&&cn.test(p),M,k=!1;if(typeof p=="string"&&v&&(M=p,un))try{let m=new URL(window.location.href),c=p.startsWith("//")?new URL(m.protocol+p):new URL(p),P=xe(c.pathname,C);c.origin===m.origin&&P!=null?p=P+c.search+c.hash:k=!0}catch{be(!1,`<Link to="${p}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let N=Ao(p,{relative:i}),[B,U,h]=ga(o,R),g=Pa(p,{replace:l,state:f,target:d,preventScrollReset:w,relative:i,viewTransition:E});function y(m){t&&t(m),m.defaultPrevented||g(m)}let O=_.createElement("a",{...R,...h,href:M||N,onClick:k||a?t:y,ref:Sa(A,U),target:d,"data-discover":!v&&r==="render"?"true":void 0});return B&&!v?_.createElement(_.Fragment,null,O,_.createElement(ya,{page:N})):O});fn.displayName="Link";var ka=_.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:o="",end:i=!1,style:a,to:l,viewTransition:f,children:d,...p},w){let E=Qe(l,{relative:p.relative}),R=Ce(),A=_.useContext(wt),{navigator:C,basename:v}=_.useContext(we),M=A!=null&&ja(E)&&f===!0,k=C.encodeLocation?C.encodeLocation(E).pathname:E.pathname,N=R.pathname,B=A&&A.navigation&&A.navigation.location?A.navigation.location.pathname:null;r||(N=N.toLowerCase(),B=B?B.toLowerCase():null,k=k.toLowerCase()),B&&v&&(B=xe(B,v)||B);const U=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let h=N===k||!i&&N.startsWith(k)&&N.charAt(U)==="/",g=B!=null&&(B===k||!i&&B.startsWith(k)&&B.charAt(k.length)==="/"),y={isActive:h,isPending:g,isTransitioning:M},O=h?t:void 0,m;typeof o=="function"?m=o(y):m=[o,h?"active":null,g?"pending":null,M?"transitioning":null].filter(Boolean).join(" ");let c=typeof a=="function"?a(y):a;return _.createElement(fn,{...p,"aria-current":O,className:m,ref:w,style:c,to:l,viewTransition:f},typeof d=="function"?d(y):d)});ka.displayName="NavLink";var Oa=_.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:o,replace:i,state:a,method:l=ut,action:f,onSubmit:d,relative:p,preventScrollReset:w,viewTransition:E,...R},A)=>{let C=_a(),v=Ta(f,{relative:p}),M=l.toLowerCase()==="get"?"get":"post",k=typeof f=="string"&&cn.test(f),N=B=>{if(d&&d(B),B.defaultPrevented)return;B.preventDefault();let U=B.nativeEvent.submitter,h=U?.getAttribute("formmethod")||l;C(U||B.currentTarget,{fetcherKey:t,method:h,navigate:r,replace:i,state:a,relative:p,preventScrollReset:w,viewTransition:E})};return _.createElement("form",{ref:A,method:M,action:v,onSubmit:o?d:N,...R,"data-discover":!k&&e==="render"?"true":void 0})});Oa.displayName="Form";function Ca(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function dn(e){let t=_.useContext(Me);return oe(t,Ca(e)),t}function Pa(e,{target:t,replace:r,state:o,preventScrollReset:i,relative:a,viewTransition:l}={}){let f=rn(),d=Ce(),p=Qe(e,{relative:a});return _.useCallback(w=>{if(na(w,t)){w.preventDefault();let E=r!==void 0?r:Xe(d)===Xe(p);f(e,{replace:E,state:o,preventScrollReset:i,relative:a,viewTransition:l})}},[d,f,p,r,o,t,e,i,a,l])}var Ea=0,Ra=()=>`__${String(++Ea)}__`;function _a(){let{router:e}=dn("useSubmit"),{basename:t}=_.useContext(we),r=Vo();return _.useCallback(async(o,i={})=>{let{action:a,method:l,encType:f,formData:d,body:p}=aa(o,t);if(i.navigate===!1){let w=i.fetcherKey||Ra();await e.fetch(w,r,i.action||a,{preventScrollReset:i.preventScrollReset,formData:d,body:p,formMethod:i.method||l,formEncType:i.encType||f,flushSync:i.flushSync})}else await e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:d,body:p,formMethod:i.method||l,formEncType:i.encType||f,replace:i.replace,state:i.state,fromRouteId:r,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,r])}function Ta(e,{relative:t}={}){let{basename:r}=_.useContext(we),o=_.useContext(ke);oe(o,"useFormAction must be used inside a RouteContext");let[i]=o.matches.slice(-1),a={...Qe(e||".",{relative:t})},l=Ce();if(e==null){a.search=l.search;let f=new URLSearchParams(a.search),d=f.getAll("index");if(d.some(w=>w==="")){f.delete("index"),d.filter(E=>E).forEach(E=>f.append("index",E));let w=f.toString();a.search=w?`?${w}`:""}}return(!e||e===".")&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(a.pathname=a.pathname==="/"?r:Se([r,a.pathname])),Xe(a)}function ja(e,t={}){let r=_.useContext(Qr);oe(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=dn("useViewTransitionState"),i=Qe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=xe(r.currentLocation.pathname,o)||r.currentLocation.pathname,l=xe(r.nextLocation.pathname,o)||r.nextLocation.pathname;return ht(i.pathname,l)!=null||ht(i.pathname,a)!=null}[...ha];const pn=q.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),La=({routes:e,children:t})=>{const r=q.useRef(["/"]),[o,i]=q.useState(["/"]),a=q.useCallback(w=>{r.current=w,i(w)},[]),l=w=>{a([...r.current,w])},f=w=>{let E="",R=[];return r.current.length===0?"/":(r.current.length<=w?(E=r.current[0],R=[E]):(R=r.current.slice(0,r.current.length-w),E=R[R.length-1]),a(R),E)},d=w=>{a(w)},p=e.map(w=>G.jsx(an,{path:w.path,element:w.render}));return G.jsx(pn.Provider,{value:{history:o,addToHistory:l,popFromHistory:f,replaceHistory:d},children:G.jsxs(xa,{children:[t,G.jsx(Zo,{children:p})]})})},Da=()=>{const e=rn(),t=Ce(),r=q.useContext(pn),o=q.useCallback((l,f=!0)=>{l!==t.pathname&&e(l,{replace:!0}),f&&r.addToHistory(l)},[t.pathname,e,r]),i=q.useCallback(l=>{const f=l||1,d=r.popFromHistory(f);o(d,!1)},[o,r]),a=q.useCallback(l=>{r.replaceHistory(l)},[r]);return{currentPath:t.pathname,history:r.history,goBack:i,goTo:o,replaceHistory:a}},hn=q.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),Ma=({children:e})=>{const t=q.useRef([]),[r,o]=q.useState([]),i=q.useCallback(d=>{t.current=d,o(d)},[]),a=q.useCallback(d=>t.current.some(p=>p===d),[]),l=q.useCallback(d=>{a(d)||i([...t.current,d])},[a,i]),f=q.useCallback(d=>{a(d)&&i(t.current.filter(w=>w!==d))},[a,i]);return G.jsx(hn.Provider,{value:{visibleItems:r,isItemVisible:a,showItem:l,hideItem:f},children:e})},et=()=>{const e=q.useContext(hn),t=i=>e.visibleItems.some(a=>a===i),r=i=>{e.showItem(i)},o=i=>{e.hideItem(i)};return{visibleItems:e.visibleItems,isItemVisible:t,showItem:r,hideItem:o}},Ia=({id:e,onCloseDrawer:t,drawerCloseOffset:r=15})=>{const{isItemVisible:o}=et(),[i,a]=q.useState({isDragging:!1}),l=q.useRef(null),f=q.useRef(null),d=q.useRef(null),[p,w]=q.useState(0),E=C=>{a(C)},R=C=>{a(C),w(0)};return Br({ref:d,onDrag:C=>{a(C);const v=f.current?.clientHeight||0;C.distanceY&&(w(C.distanceY<0?0:-C.distanceY),C.distanceY>=v-r&&(t?.(),R(C)))},onDragEnd:R,onDragStart:E}),{isVisible:o(e),drawerParentRef:l,drawerRef:f,drawerBottomDistance:p,handleRef:d}},Aa=e=>{const{children:t,backgroundStyles:r,contentStyles:o,handle:i}=e,{isVisible:a,drawerParentRef:l,drawerRef:f,handleRef:d,drawerBottomDistance:p}=Ia(e);return G.jsx(G.Fragment,{children:a&&G.jsx("div",{ref:l,style:{width:"100%",height:"100%",minHeight:"100vh",left:0,top:0,background:"#00000068",position:"fixed",zIndex:1e3,display:"flex",flexDirection:"column",touchAction:"none",...r},children:G.jsxs("div",{ref:f,style:{width:"100%",height:"fit-content",minHeight:"80px",maxHeight:"90%",background:"#ffffff",borderTopLeftRadius:"16px",borderTopRightRadius:"16px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"24px",zIndex:1001,position:"absolute",bottom:`${p}px`,...o},onClick:w=>{w.stopPropagation()},children:[G.jsx("div",{ref:d,style:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0px",height:"24px",width:"100%",cursor:"pointer",...i?.styles},children:i?.render}),t]})})})},za=({onSubmit:e,fields:t})=>{const r=q.useRef(null),o=q.useCallback(l=>{var f=Object.keys(l.currentTarget.elements),d=Object.values(l.currentTarget.elements),p=[];for(let w=0;w<f.length;w++){const E=f[w];if(t.findIndex(A=>A.name===E)===-1)continue;const R=d[w].value;p.push({name:E,value:R})}return p},[e]),i=q.useCallback(l=>{l.preventDefault();const f=o(l);e?.(f)},[e]);return{ref:r,submitForm:l=>{l.preventDefault(),l.stopPropagation(),r.current&&r.current.requestSubmit()},handleFormSubmission:i}},Ha=e=>{const{fields:t,styles:r,submitButton:o}=e,{ref:i,handleFormSubmission:a,submitForm:l}=za(e),f=q.useCallback(()=>t.map(d=>({...d.content,key:d.name})),[t]);return G.jsxs("form",{ref:i,onSubmit:a,style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...r},children:[f(),G.jsx("div",{onClick:l,style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"center",...o.styles},children:o.content})]})},Na=({src:e,alt:t="",onClick:r,styles:o})=>G.jsx("img",{src:e,alt:t,style:{overflow:"hidden",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",objectFit:"cover",...o},onClick:()=>r?.()}),Fa=je.div`
|
|
60
60
|
display: flex;
|
|
61
61
|
flex-direction: column;
|
|
62
62
|
font-family: inherit;
|
|
@@ -74,7 +74,7 @@ Please change the parent <Route path="${k}"> to <Route path="${k==="/"?"*":`${k}
|
|
|
74
74
|
input:-webkit-autofill {
|
|
75
75
|
background-color: #00000000;
|
|
76
76
|
}
|
|
77
|
-
`,$a=({name:e,label:t,leftIcon:r,rightIcon:o,bottomMessage:i,placeHolder:a,autoComplete:l="off",value:f,initialValue:d,type:
|
|
77
|
+
`,$a=({name:e,label:t,leftIcon:r,rightIcon:o,bottomMessage:i,placeHolder:a,autoComplete:l="off",value:f,initialValue:d,type:p="text",onChange:w,onFocus:E,inputStyles:R,containerProps:A,step:C})=>{const v=k=>{w?.(k.currentTarget.value)},M=k=>{E?.()};return G.jsxs(Fa,{style:{width:"100%",maxWidth:"357px",gap:"8px",...A},children:[t,G.jsxs("div",{style:{display:"flex",flexDirection:"row",width:"100%",height:"47px",margin:"8px auto 0 auto",border:"2px solid #000000",borderRadius:"5px",padding:"5px 15px",color:"#000000",fontFamily:"Poppins",fontStyle:"normal",fontWeight:400,fontSize:"16px",lineHeight:"24px",outline:"none",alignItems:"center",gap:"10px",...R},children:[r,G.jsx("input",{name:e,type:p,autoComplete:l,step:C,style:{flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none"},placeholder:a,value:f,defaultValue:d,onChange:v,onFocus:M}),o]}),i]})},Wa=({id:e,styles:t,children:r})=>{const{isItemVisible:o}=et();return G.jsx(G.Fragment,{children:o(e)&&G.jsx("div",{style:{width:"100%",minHeight:"100%",left:0,top:0,position:"fixed",zIndex:1e3,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",...t},children:r})})},qa=({id:e,children:t,backgroundStyles:r,contentStyles:o,onClickOutsideModal:i})=>{const{isItemVisible:a}=et();return G.jsx(G.Fragment,{children:a(e)&&G.jsx("div",{style:{width:"100%",height:"100%",minHeight:"100vh",background:"#00000068",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:1e3,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",...r},onClick:()=>{i?.()},children:G.jsx("div",{style:{width:"90%",maxWidth:"375px",height:"fit-content",minHeight:"80px",maxHeight:"50%",background:"#ffffff",borderRadius:"16px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",zIndex:1001,position:"relative",padding:"24px",...o},onClick:l=>{l.stopPropagation()},children:t})})})},Ba=e=>{const t=q.useRef(null),r=q.useRef(null),[o,i]=q.useState(24),[a,l]=q.useState(24),f=q.useCallback(()=>{t.current&&i(t.current.clientHeight)},[t,t.current]),d=q.useCallback(()=>{r.current&&l(r.current.clientHeight)},[r,r.current]),p=q.useCallback(()=>{let w=0;return e.header?.visibility==="always"&&(w=w+(o||0)),e.footer?.visibility==="always"&&(w=w+(a||0)),w},[r,r.current]);return q.useEffect(()=>{f()},[f,t,t.current]),q.useEffect(()=>{d()},[d,r,r.current]),{header:{...e.header,visible:e.header!==void 0,height:e.header?.visibility==="fixed"?0:o,ref:t},footer:{...e.footer,visible:e.footer!==void 0,height:e.footer?.visibility==="fixed"?0:a,ref:r},page:{extraHeight:p()}}},Ua=je.div`
|
|
78
78
|
min-height: 100%;
|
|
79
79
|
max-height: 100%;
|
|
80
80
|
width: 100%;
|
|
@@ -94,4 +94,4 @@ Please change the parent <Route path="${k}"> to <Route path="${k==="/"?"*":`${k}
|
|
|
94
94
|
box-sizing: border-box;
|
|
95
95
|
position: relative;
|
|
96
96
|
}
|
|
97
|
-
`,Ya=e=>{const{containerStyles:t,pageStyles:r,children:o,allowScroll:i=!0,floatingContent:a}=e,{footer:
|
|
97
|
+
`,Ya=e=>{const{containerStyles:t,pageStyles:r,children:o,allowScroll:i=!0,floatingContent:a,reservedSpaceForScrollbar:l=0}=e,{footer:f,header:d}=Ba(e);return G.jsxs(Ua,{id:"page-container",styles:{...t},children:[d.visible&&G.jsx("div",{ref:d.ref,id:"page-header",style:{width:"100%",zIndex:99,position:d.visibility==="fixed"?"relative":"sticky",top:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...d.styles},children:d.content}),G.jsx("div",{id:"page-layout",style:{width:"100%",overflowX:"hidden",overflowY:i?"auto":"hidden",display:"flex",flexDirection:"column",boxSizing:"border-box",marginTop:`-${d.height}px`,marginBottom:`-${f.height}px`,padding:`${d.height}px 0 ${f.height}px ${l}px`},children:G.jsx("div",{style:{width:"100%",flex:1,height:"fit-content",minHeight:"100%",boxSizing:"border-box",padding:"24px",...r},children:o})}),f.visible&&G.jsx("div",{ref:f.ref,id:"page-footer",style:{width:"100%",zIndex:99,position:f.visibility==="fixed"?"relative":"sticky",bottom:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...f.styles},children:f.content})]})},Va=({src:e,width:t="22",height:r="28",stroke:o,viewBox:i="0 0 22 28",fill:a="#000000",alt:l="",onClick:f,styles:d})=>G.jsx("div",{style:{width:"fit-content",height:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",...d},onClick:()=>f?.(),children:G.jsx("svg",{width:t,height:r,viewBox:i,fill:a,stroke:o,xmlns:"http://www.w3.org/2000/svg",style:{display:"flex"},children:e})}),Xa=({id:e,children:t,styles:r,durationInSeconds:o=3})=>{const i=q.useRef(!1),{isItemVisible:a,hideItem:l}=et();return q.useEffect(()=>{const f=a(e);i.current!==f&&(i.current=f,f&&setTimeout(()=>l(e),o*1e3))},[i,a,l]),G.jsx(G.Fragment,{children:a(e)&&G.jsx("div",{style:{width:"100px",height:"40px",background:"#534a4aff",color:"#ffffff",position:"fixed",top:"10px",left:"50%",transform:"translateX(-50%)",zIndex:1e3,borderRadius:"20px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",border:"solid 3px #000000ff",...r},onClick:f=>{f.stopPropagation()},children:t})})},Ga=({overflowEllipsis:e,children:t,styles:r})=>G.jsx("p",{style:{fontFamily:"inherit",maxWidth:"100%",overflow:"hidden",whiteSpace:e?"nowrap":"normal",textOverflow:"ellipsis",fontSize:"16px",fontStyle:"normal",lineHeight:"normal",color:"#000000",...r},children:t});class Ka{static isScrollEnabled=()=>document.body.style.overflow==="unset"||document.body.style.overflow==="auto";static disableScroll=()=>{document.body.style.overflow="hidden"};static enableScroll=()=>{document.body.style.overflow="unset"}}class Ja{static getPascalCase=t=>t.replace(/\w+/g,function(r){return r[0].toUpperCase()+r.slice(1).toLowerCase()});static isEqual=(t,r,o=!0)=>o?t===r:t.toUpperCase()===r.toUpperCase()}exports.Button=xn;exports.Carousel=Qi;exports.Drawer=Aa;exports.FeedbackProvider=Ma;exports.Form=Ha;exports.Image=Na;exports.InputField=$a;exports.Loader=Wa;exports.Modal=qa;exports.NavigationProvider=La;exports.PageLayout=Ya;exports.ScrollHelper=Ka;exports.SvgImage=Va;exports.TextHelper=Ja;exports.TimeHelper=Ur;exports.Toast=Xa;exports.Typography=Ga;exports.defaultBreakpoints=Yr;exports.useDidMount=eo;exports.useDrag=Br;exports.useFeedback=et;exports.useFetch=to;exports.useIsTouchingParentElement=ro;exports.useNavigation=Da;exports.usePointer=qr;exports.useResponsive=no;exports.useTranslations=ao;
|
package/dist/index.es.js
CHANGED
|
@@ -6179,8 +6179,9 @@ const fn = U.createContext({
|
|
|
6179
6179
|
pageStyles: r,
|
|
6180
6180
|
children: o,
|
|
6181
6181
|
allowScroll: i = !0,
|
|
6182
|
-
floatingContent: a
|
|
6183
|
-
|
|
6182
|
+
floatingContent: a,
|
|
6183
|
+
reservedSpaceForScrollbar: l = 0
|
|
6184
|
+
} = e, { footer: f, header: d } = La(e);
|
|
6184
6185
|
return /* @__PURE__ */ G.jsxs(
|
|
6185
6186
|
Da,
|
|
6186
6187
|
{
|
|
@@ -6189,15 +6190,15 @@ const fn = U.createContext({
|
|
|
6189
6190
|
...t
|
|
6190
6191
|
},
|
|
6191
6192
|
children: [
|
|
6192
|
-
|
|
6193
|
+
d.visible && /* @__PURE__ */ G.jsx(
|
|
6193
6194
|
"div",
|
|
6194
6195
|
{
|
|
6195
|
-
ref:
|
|
6196
|
+
ref: d.ref,
|
|
6196
6197
|
id: "page-header",
|
|
6197
6198
|
style: {
|
|
6198
6199
|
width: "100%",
|
|
6199
6200
|
zIndex: 99,
|
|
6200
|
-
position:
|
|
6201
|
+
position: d.visibility === "fixed" ? "relative" : "sticky",
|
|
6201
6202
|
top: 0,
|
|
6202
6203
|
left: 0,
|
|
6203
6204
|
right: 0,
|
|
@@ -6205,9 +6206,9 @@ const fn = U.createContext({
|
|
|
6205
6206
|
flexDirection: "row",
|
|
6206
6207
|
height: "fit-content",
|
|
6207
6208
|
boxSizing: "border-box",
|
|
6208
|
-
...
|
|
6209
|
+
...d.styles
|
|
6209
6210
|
},
|
|
6210
|
-
children:
|
|
6211
|
+
children: d.content
|
|
6211
6212
|
}
|
|
6212
6213
|
),
|
|
6213
6214
|
/* @__PURE__ */ G.jsx(
|
|
@@ -6216,11 +6217,14 @@ const fn = U.createContext({
|
|
|
6216
6217
|
id: "page-layout",
|
|
6217
6218
|
style: {
|
|
6218
6219
|
width: "100%",
|
|
6219
|
-
|
|
6220
|
+
overflowX: "hidden",
|
|
6221
|
+
overflowY: i ? "auto" : "hidden",
|
|
6220
6222
|
display: "flex",
|
|
6221
6223
|
flexDirection: "column",
|
|
6222
6224
|
boxSizing: "border-box",
|
|
6223
|
-
|
|
6225
|
+
marginTop: `-${d.height}px`,
|
|
6226
|
+
marginBottom: `-${f.height}px`,
|
|
6227
|
+
padding: `${d.height}px 0 ${f.height}px ${l}px`
|
|
6224
6228
|
},
|
|
6225
6229
|
children: /* @__PURE__ */ G.jsx(
|
|
6226
6230
|
"div",
|
|
@@ -6228,12 +6232,10 @@ const fn = U.createContext({
|
|
|
6228
6232
|
style: {
|
|
6229
6233
|
width: "100%",
|
|
6230
6234
|
flex: 1,
|
|
6231
|
-
minHeight: "100%",
|
|
6232
6235
|
height: "fit-content",
|
|
6236
|
+
minHeight: "100%",
|
|
6233
6237
|
boxSizing: "border-box",
|
|
6234
|
-
|
|
6235
|
-
marginBottom: `-${l.height}px`,
|
|
6236
|
-
padding: `${f.height}px 24px ${l.height}px 24px`,
|
|
6238
|
+
padding: "24px",
|
|
6237
6239
|
...r
|
|
6238
6240
|
},
|
|
6239
6241
|
children: o
|
|
@@ -6241,15 +6243,15 @@ const fn = U.createContext({
|
|
|
6241
6243
|
)
|
|
6242
6244
|
}
|
|
6243
6245
|
),
|
|
6244
|
-
|
|
6246
|
+
f.visible && /* @__PURE__ */ G.jsx(
|
|
6245
6247
|
"div",
|
|
6246
6248
|
{
|
|
6247
|
-
ref:
|
|
6249
|
+
ref: f.ref,
|
|
6248
6250
|
id: "page-footer",
|
|
6249
6251
|
style: {
|
|
6250
6252
|
width: "100%",
|
|
6251
6253
|
zIndex: 99,
|
|
6252
|
-
position:
|
|
6254
|
+
position: f.visibility === "fixed" ? "relative" : "sticky",
|
|
6253
6255
|
bottom: 0,
|
|
6254
6256
|
left: 0,
|
|
6255
6257
|
right: 0,
|
|
@@ -6257,9 +6259,9 @@ const fn = U.createContext({
|
|
|
6257
6259
|
flexDirection: "row",
|
|
6258
6260
|
height: "fit-content",
|
|
6259
6261
|
boxSizing: "border-box",
|
|
6260
|
-
...
|
|
6262
|
+
...f.styles
|
|
6261
6263
|
},
|
|
6262
|
-
children:
|
|
6264
|
+
children: f.content
|
|
6263
6265
|
}
|
|
6264
6266
|
)
|
|
6265
6267
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eliseubatista99/react-scaffold-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A library which provides basic components, hooks, helpers and providers to easily build a React application and avoid repeating the usual code.",
|
|
6
6
|
"main": "dist/index.cjs.js",
|