@eliseubatista99/react-scaffold-core 0.2.2 → 0.2.3

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.
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 rr;function Rn(){return rr||(rr=1,process.env.NODE_ENV!=="production"&&function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===h?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case p:return"Fragment";case C:return"Profiler";case I:return"StrictMode";case g:return"Suspense";case b:return"SuspenseList";case y: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 k:return"Portal";case U:return(n.displayName||"Context")+".Provider";case F:return(n._context.displayName||"Context")+".Consumer";case V:var f=n.render;return n=n.displayName,n||(n=f.displayName||f.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case S:return f=n.displayName||null,f!==null?f:e(n.type)||"Memo";case R:f=n._payload,n=n._init;try{return e(n(f))}catch{}}return null}function t(n){return""+n}function r(n){try{t(n);var f=!1}catch{f=!0}if(f){f=console;var O=f.error,$=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return O.call(f,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",$),t(n)}}function i(n){if(n===p)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===R)return"<...>";try{var f=e(n);return f?"<"+f+">":"<...>"}catch{return"<...>"}}function a(){var n=P.A;return n===null?null:n.getOwner()}function s(){return Error("react-stack-top-frame")}function d(n){if(A.call(n,"key")){var f=Object.getOwnPropertyDescriptor(n,"key").get;if(f&&f.isReactWarning)return!1}return n.key!==void 0}function l(n,f){function O(){E||(E=!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)",f))}O.isReactWarning=!0,Object.defineProperty(n,"key",{get:O,configurable:!0})}function u(){var n=e(this.type);return j[n]||(j[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 c(n,f,O,$,D,z,N,W){return O=z.ref,n={$$typeof:L,type:n,key:f,props:z,_owner:D},(O!==void 0?O:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:u}):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:N}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:W}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function v(n,f,O,$,D,z,N,W){var q=f.children;if(q!==void 0)if($)if(T(q)){for($=0;$<q.length;$++)w(q[$]);Object.freeze&&Object.freeze(q)}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 w(q);if(A.call(f,"key")){q=e(n);var K=Object.keys(f).filter(function(J){return J!=="key"});$=0<K.length?"{key: someKey, "+K.join(": ..., ")+": ...}":"{key: someKey}",m[q+$]||(K=0<K.length?"{"+K.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var rr;function Rn(){return rr||(rr=1,process.env.NODE_ENV!=="production"&&function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===h?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case p:return"Fragment";case k:return"Profiler";case I:return"StrictMode";case g:return"Suspense";case b:return"SuspenseList";case y: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 U:return(n.displayName||"Context")+".Provider";case F:return(n._context.displayName||"Context")+".Consumer";case V:var f=n.render;return n=n.displayName,n||(n=f.displayName||f.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case S:return f=n.displayName||null,f!==null?f:e(n.type)||"Memo";case R:f=n._payload,n=n._init;try{return e(n(f))}catch{}}return null}function t(n){return""+n}function r(n){try{t(n);var f=!1}catch{f=!0}if(f){f=console;var O=f.error,$=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return O.call(f,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",$),t(n)}}function i(n){if(n===p)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===R)return"<...>";try{var f=e(n);return f?"<"+f+">":"<...>"}catch{return"<...>"}}function a(){var n=P.A;return n===null?null:n.getOwner()}function s(){return Error("react-stack-top-frame")}function d(n){if(A.call(n,"key")){var f=Object.getOwnPropertyDescriptor(n,"key").get;if(f&&f.isReactWarning)return!1}return n.key!==void 0}function l(n,f){function O(){E||(E=!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)",f))}O.isReactWarning=!0,Object.defineProperty(n,"key",{get:O,configurable:!0})}function u(){var n=e(this.type);return j[n]||(j[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 c(n,f,O,$,D,z,N,W){return O=z.ref,n={$$typeof:L,type:n,key:f,props:z,_owner:D},(O!==void 0?O:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:u}):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:N}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:W}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function v(n,f,O,$,D,z,N,W){var q=f.children;if(q!==void 0)if($)if(T(q)){for($=0;$<q.length;$++)w(q[$]);Object.freeze&&Object.freeze(q)}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 w(q);if(A.call(f,"key")){q=e(n);var K=Object.keys(f).filter(function(J){return J!=="key"});$=0<K.length?"{key: someKey, "+K.join(": ..., ")+": ...}":"{key: someKey}",m[q+$]||(K=0<K.length?"{"+K.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} />`,$,q,K,q),m[q+$]=!0)}if(q=null,O!==void 0&&(r(O),q=""+O),d(f)&&(r(f.key),q=""+f.key),"key"in f){O={};for(var G in f)G!=="key"&&(O[G]=f[G])}else O=f;return q&&l(O,typeof n=="function"?n.displayName||n.name||"Unknown":n),c(n,q,z,D,a(),O,N,W)}function w(n){typeof n=="object"&&n!==null&&n.$$typeof===L&&n._store&&(n._store.validated=1)}var x=Y,L=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),U=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),h=Symbol.for("react.client.reference"),P=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,T=Array.isArray,_=console.createTask?console.createTask:function(){return null};x={"react-stack-bottom-frame":function(n){return n()}};var E,j={},o=x["react-stack-bottom-frame"].bind(x,s)(),H=_(i(s)),m={};He.Fragment=p,He.jsx=function(n,f,O,$,D){var z=1e4>P.recentlyCreatedOwnerStacks++;return v(n,f,O,!1,$,D,z?Error("react-stack-top-frame"):o,z?_(i(n)):H)},He.jsxs=function(n,f,O,$,D){var z=1e4>P.recentlyCreatedOwnerStacks++;return v(n,f,O,!0,$,D,z?Error("react-stack-top-frame"):o,z?_(i(n)):H)}}()),He}var nr;function Tn(){return nr||(nr=1,process.env.NODE_ENV==="production"?nt.exports=En():nt.exports=Rn()),nt.exports}var X=Tn();const _n=({children:e,onClick:t,styles:r})=>X.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:i=>{i.preventDefault(),i.stopPropagation(),t?.()},children:e});var Ct={},Pt={},ze={},Et={},ir;function jn(){return ir||(ir=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}(Et)),Et}var Rt,ar;function Ln(){if(ar)return Rt;ar=1;var e="Expected a function",t=NaN,r="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,d=/^0o[0-7]+$/i,l=parseInt,u=typeof rt=="object"&&rt&&rt.Object===Object&&rt,c=typeof self=="object"&&self&&self.Object===Object&&self,v=u||c||Function("return this")(),w=Object.prototype,x=w.toString,L=Math.max,k=Math.min,p=function(){return v.Date.now()};function I(g,b,S){var R,y,h,P,A,T,_=0,E=!1,j=!1,o=!0;if(typeof g!="function")throw new TypeError(e);b=V(b)||0,C(S)&&(E=!!S.leading,j="maxWait"in S,h=j?L(V(S.maxWait)||0,b):h,o="trailing"in S?!!S.trailing:o);function H(W){var q=R,K=y;return R=y=void 0,_=W,P=g.apply(K,q),P}function m(W){return _=W,A=setTimeout(O,b),E?H(W):P}function n(W){var q=W-T,K=W-_,G=b-q;return j?k(G,h-K):G}function f(W){var q=W-T,K=W-_;return T===void 0||q>=b||q<0||j&&K>=h}function O(){var W=p();if(f(W))return $(W);A=setTimeout(O,n(W))}function $(W){return A=void 0,o&&R?H(W):(R=y=void 0,P)}function D(){A!==void 0&&clearTimeout(A),_=0,R=T=y=A=void 0}function z(){return A===void 0?P:$(p())}function N(){var W=p(),q=f(W);if(R=arguments,y=this,T=W,q){if(A===void 0)return m(T);if(j)return A=setTimeout(O,b),H(T)}return A===void 0&&(A=setTimeout(O,b)),P}return N.cancel=D,N.flush=z,N}function C(g){var b=typeof g;return!!g&&(b=="object"||b=="function")}function F(g){return!!g&&typeof g=="object"}function U(g){return typeof g=="symbol"||F(g)&&x.call(g)==r}function V(g){if(typeof g=="number")return g;if(U(g))return t;if(C(g)){var b=typeof g.valueOf=="function"?g.valueOf():g;g=C(b)?b+"":b}if(typeof g!="string")return g===0?g:+g;g=g.replace(i,"");var S=s.test(g);return S||d.test(g)?l(g.slice(2),S?2:8):a.test(g)?t:+g}return Rt=I,Rt}var Tt={exports:{}};/*!
22
+ <%s key={someKey} {...props} />`,$,q,K,q),m[q+$]=!0)}if(q=null,O!==void 0&&(r(O),q=""+O),d(f)&&(r(f.key),q=""+f.key),"key"in f){O={};for(var G in f)G!=="key"&&(O[G]=f[G])}else O=f;return q&&l(O,typeof n=="function"?n.displayName||n.name||"Unknown":n),c(n,q,z,D,a(),O,N,W)}function w(n){typeof n=="object"&&n!==null&&n.$$typeof===L&&n._store&&(n._store.validated=1)}var x=Y,L=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),U=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),h=Symbol.for("react.client.reference"),P=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,T=Array.isArray,_=console.createTask?console.createTask:function(){return null};x={"react-stack-bottom-frame":function(n){return n()}};var E,j={},o=x["react-stack-bottom-frame"].bind(x,s)(),H=_(i(s)),m={};He.Fragment=p,He.jsx=function(n,f,O,$,D){var z=1e4>P.recentlyCreatedOwnerStacks++;return v(n,f,O,!1,$,D,z?Error("react-stack-top-frame"):o,z?_(i(n)):H)},He.jsxs=function(n,f,O,$,D){var z=1e4>P.recentlyCreatedOwnerStacks++;return v(n,f,O,!0,$,D,z?Error("react-stack-top-frame"):o,z?_(i(n)):H)}}()),He}var nr;function Tn(){return nr||(nr=1,process.env.NODE_ENV==="production"?nt.exports=En():nt.exports=Rn()),nt.exports}var X=Tn();const _n=({children:e,onClick:t,styles:r})=>X.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:i=>{i.preventDefault(),i.stopPropagation(),t?.()},children:e});var Ct={},Pt={},ze={},Et={},ir;function jn(){return ir||(ir=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}(Et)),Et}var Rt,ar;function Ln(){if(ar)return Rt;ar=1;var e="Expected a function",t=NaN,r="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,d=/^0o[0-7]+$/i,l=parseInt,u=typeof rt=="object"&&rt&&rt.Object===Object&&rt,c=typeof self=="object"&&self&&self.Object===Object&&self,v=u||c||Function("return this")(),w=Object.prototype,x=w.toString,L=Math.max,C=Math.min,p=function(){return v.Date.now()};function I(g,b,S){var R,y,h,P,A,T,_=0,E=!1,j=!1,o=!0;if(typeof g!="function")throw new TypeError(e);b=V(b)||0,k(S)&&(E=!!S.leading,j="maxWait"in S,h=j?L(V(S.maxWait)||0,b):h,o="trailing"in S?!!S.trailing:o);function H(W){var q=R,K=y;return R=y=void 0,_=W,P=g.apply(K,q),P}function m(W){return _=W,A=setTimeout(O,b),E?H(W):P}function n(W){var q=W-T,K=W-_,G=b-q;return j?C(G,h-K):G}function f(W){var q=W-T,K=W-_;return T===void 0||q>=b||q<0||j&&K>=h}function O(){var W=p();if(f(W))return $(W);A=setTimeout(O,n(W))}function $(W){return A=void 0,o&&R?H(W):(R=y=void 0,P)}function D(){A!==void 0&&clearTimeout(A),_=0,R=T=y=A=void 0}function z(){return A===void 0?P:$(p())}function N(){var W=p(),q=f(W);if(R=arguments,y=this,T=W,q){if(A===void 0)return m(T);if(j)return A=setTimeout(O,b),H(T)}return A===void 0&&(A=setTimeout(O,b)),P}return N.cancel=D,N.flush=z,N}function k(g){var b=typeof g;return!!g&&(b=="object"||b=="function")}function F(g){return!!g&&typeof g=="object"}function U(g){return typeof g=="symbol"||F(g)&&x.call(g)==r}function V(g){if(typeof g=="number")return g;if(U(g))return t;if(k(g)){var b=typeof g.valueOf=="function"?g.valueOf():g;g=k(b)?b+"":b}if(typeof g!="string")return g===0?g:+g;g=g.replace(i,"");var S=s.test(g);return S||d.test(g)?l(g.slice(2),S?2:8):a.test(g)?t:+g}return Rt=I,Rt}var Tt={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 or;function yt(){return or||(or=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",d=0;d<arguments.length;d++){var l=arguments[d];l&&(s=a(s,i(l)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var d="";for(var l in s)t.call(s,l)&&s[l]&&(d=a(d,l));return d}function a(s,d){return d?s?s+" "+d:s+d:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Tt)),Tt.exports}var B={},_t={},sr;function $r(){return sr||(sr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Y);function r(a){return a&&a.__esModule?a:{default:a}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(s){return t.default.createElement("ul",{style:{display:"block"}},s)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(s){return t.default.createElement("button",null,s+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=i}(_t)),_t}var lr;function Ge(){if(lr)return B;lr=1,Object.defineProperty(B,"__esModule",{value:!0}),B.checkSpecKeys=B.checkNavigable=B.changeSlide=B.canUseDOM=B.canGoNext=void 0,B.clamp=c,B.extractObject=void 0,B.filterSettings=H,B.validSettings=B.swipeStart=B.swipeMove=B.swipeEnd=B.slidesOnRight=B.slidesOnLeft=B.slideHandler=B.siblingDirection=B.safePreventDefault=B.lazyStartIndex=B.lazySlidesOnRight=B.lazySlidesOnLeft=B.lazyEndIndex=B.keyHandler=B.initializedState=B.getWidth=B.getTrackLeft=B.getTrackCSS=B.getTrackAnimateCSS=B.getTotalSlides=B.getSwipeDirection=B.getSlideCount=B.getRequiredLazySlides=B.getPreClones=B.getPostClones=B.getOnDemandLazySlides=B.getNavigableIndexes=B.getHeight=void 0;var e=r(Y),t=r($r());function r(m){return m&&m.__esModule?m:{default:m}}function i(m){"@babel/helpers - typeof";return i=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},i(m)}function a(m,n){var f=Object.keys(m);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(m);n&&(O=O.filter(function($){return Object.getOwnPropertyDescriptor(m,$).enumerable})),f.push.apply(f,O)}return f}function s(m){for(var n=1;n<arguments.length;n++){var f=arguments[n]!=null?arguments[n]:{};n%2?a(Object(f),!0).forEach(function(O){d(m,O,f[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(O){Object.defineProperty(m,O,Object.getOwnPropertyDescriptor(f,O))})}return m}function d(m,n,f){return(n=l(n))in m?Object.defineProperty(m,n,{value:f,enumerable:!0,configurable:!0,writable:!0}):m[n]=f,m}function l(m){var n=u(m,"string");return i(n)=="symbol"?n:n+""}function u(m,n){if(i(m)!="object"||!m)return m;var f=m[Symbol.toPrimitive];if(f!==void 0){var O=f.call(m,n);if(i(O)!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(m)}function c(m,n,f){return Math.max(n,Math.min(m,f))}var v=B.safePreventDefault=function(n){var f=["onTouchStart","onTouchMove","onWheel"];f.includes(n._reactName)||n.preventDefault()},w=B.getOnDemandLazySlides=function(n){for(var f=[],O=x(n),$=L(n),D=O;D<$;D++)n.lazyLoadedList.indexOf(D)<0&&f.push(D);return f};B.getRequiredLazySlides=function(n){for(var f=[],O=x(n),$=L(n),D=O;D<$;D++)f.push(D);return f};var x=B.lazyStartIndex=function(n){return n.currentSlide-k(n)},L=B.lazyEndIndex=function(n){return n.currentSlide+p(n)},k=B.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},p=B.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},I=B.getWidth=function(n){return n&&n.offsetWidth||0},C=B.getHeight=function(n){return n&&n.offsetHeight||0},F=B.getSwipeDirection=function(n){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,O,$,D,z;return O=n.startX-n.curX,$=n.startY-n.curY,D=Math.atan2($,O),z=Math.round(D*180/Math.PI),z<0&&(z=360-Math.abs(z)),z<=45&&z>=0||z<=360&&z>=315?"left":z>=135&&z<=225?"right":f===!0?z>=35&&z<=135?"up":"down":"vertical"},U=B.canGoNext=function(n){var f=!0;return n.infinite||(n.centerMode&&n.currentSlide>=n.slideCount-1||n.slideCount<=n.slidesToShow||n.currentSlide>=n.slideCount-n.slidesToShow)&&(f=!1),f};B.extractObject=function(n,f){var O={};return f.forEach(function($){return O[$]=n[$]}),O},B.initializedState=function(n){var f=e.default.Children.count(n.children),O=n.listRef,$=Math.ceil(I(O)),D=n.trackRef&&n.trackRef.node,z=Math.ceil(I(D)),N;if(n.vertical)N=$;else{var W=n.centerMode&&parseInt(n.centerPadding)*2;typeof n.centerPadding=="string"&&n.centerPadding.slice(-1)==="%"&&(W*=$/100),N=Math.ceil(($-W)/n.slidesToShow)}var q=O&&C(O.querySelector('[data-index="0"]')),K=q*n.slidesToShow,G=n.currentSlide===void 0?n.initialSlide:n.currentSlide;n.rtl&&n.currentSlide===void 0&&(G=f-1-n.initialSlide);var J=n.lazyLoadedList||[],te=w(s(s({},n),{},{currentSlide:G,lazyLoadedList:J}));J=J.concat(te);var Z={slideCount:f,slideWidth:N,listWidth:$,trackWidth:z,currentSlide:G,slideHeight:q,listHeight:K,lazyLoadedList:J};return n.autoplaying===null&&n.autoplay&&(Z.autoplaying="playing"),Z},B.slideHandler=function(n){var f=n.waitForAnimate,O=n.animating,$=n.fade,D=n.infinite,z=n.index,N=n.slideCount,W=n.lazyLoad,q=n.currentSlide,K=n.centerMode,G=n.slidesToScroll,J=n.slidesToShow,te=n.useCSS,Z=n.lazyLoadedList;if(f&&O)return{};var ee=z,ie,le,Q,oe={},ue={},ce=D?z:c(z,0,N-1);if($){if(!D&&(z<0||z>=N))return{};z<0?ee=z+N:z>=N&&(ee=z-N),W&&Z.indexOf(ee)<0&&(Z=Z.concat(ee)),oe={animating:!0,currentSlide:ee,lazyLoadedList:Z,targetSlide:ee},ue={animating:!1,targetSlide:ee}}else ie=ee,ee<0?(ie=ee+N,D?N%G!==0&&(ie=N-N%G):ie=0):!U(n)&&ee>q?ee=ie=q:K&&ee>=N?(ee=D?N:N-1,ie=D?0:N-1):ee>=N&&(ie=ee-N,D?N%G!==0&&(ie=0):ie=N-J),!D&&ee+J>=N&&(ie=N-J),le=h(s(s({},n),{},{slideIndex:ee})),Q=h(s(s({},n),{},{slideIndex:ie})),D||(le===Q&&(ee=ie),le=Q),W&&(Z=Z.concat(w(s(s({},n),{},{currentSlide:ee})))),te?(oe={animating:!0,currentSlide:ie,trackStyle:y(s(s({},n),{},{left:le})),lazyLoadedList:Z,targetSlide:ce},ue={animating:!1,currentSlide:ie,trackStyle:R(s(s({},n),{},{left:Q})),swipeLeft:null,targetSlide:ce}):oe={currentSlide:ie,trackStyle:R(s(s({},n),{},{left:Q})),lazyLoadedList:Z,targetSlide:ce};return{state:oe,nextState:ue}},B.changeSlide=function(n,f){var O,$,D,z,N,W=n.slidesToScroll,q=n.slidesToShow,K=n.slideCount,G=n.currentSlide,J=n.targetSlide,te=n.lazyLoad,Z=n.infinite;if(z=K%W!==0,O=z?0:(K-G)%W,f.message==="previous")D=O===0?W:q-O,N=G-D,te&&!Z&&($=G-D,N=$===-1?K-1:$),Z||(N=J-W);else if(f.message==="next")D=O===0?W:O,N=G+D,te&&!Z&&(N=(G+W)%K+O),Z||(N=J+W);else if(f.message==="dots")N=f.index*f.slidesToScroll;else if(f.message==="children"){if(N=f.index,Z){var ee=_(s(s({},n),{},{targetSlide:N}));N>f.currentSlide&&ee==="left"?N=N-K:N<f.currentSlide&&ee==="right"&&(N=N+K)}}else f.message==="index"&&(N=Number(f.index));return N},B.keyHandler=function(n,f,O){return n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!f?"":n.keyCode===37?O?"next":"previous":n.keyCode===39?O?"previous":"next":""},B.swipeStart=function(n,f,O){return n.target.tagName==="IMG"&&v(n),!f||!O&&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}}},B.swipeMove=function(n,f){var O=f.scrolling,$=f.animating,D=f.vertical,z=f.swipeToSlide,N=f.verticalSwiping,W=f.rtl,q=f.currentSlide,K=f.edgeFriction,G=f.edgeDragged,J=f.onEdge,te=f.swiped,Z=f.swiping,ee=f.slideCount,ie=f.slidesToScroll,le=f.infinite,Q=f.touchObject,oe=f.swipeEvent,ue=f.listHeight,ce=f.listWidth;if(!O){if($)return v(n);D&&z&&N&&v(n);var pe,Ee={},tt=h(f);Q.curX=n.touches?n.touches[0].pageX:n.clientX,Q.curY=n.touches?n.touches[0].pageY:n.clientY,Q.swipeLength=Math.round(Math.sqrt(Math.pow(Q.curX-Q.startX,2)));var er=Math.round(Math.sqrt(Math.pow(Q.curY-Q.startY,2)));if(!N&&!Z&&er>10)return{scrolling:!0};N&&(Q.swipeLength=er);var $e=(W?-1:1)*(Q.curX>Q.startX?1:-1);N&&($e=Q.curY>Q.startY?1:-1);var kn=Math.ceil(ee/ie),Ce=F(f.touchObject,N),Ie=Q.swipeLength;return le||(q===0&&(Ce==="right"||Ce==="down")||q+1>=kn&&(Ce==="left"||Ce==="up")||!U(f)&&(Ce==="left"||Ce==="up"))&&(Ie=Q.swipeLength*K,G===!1&&J&&(J(Ce),Ee.edgeDragged=!0)),!te&&oe&&(oe(Ce),Ee.swiped=!0),D?pe=tt+Ie*(ue/ce)*$e:W?pe=tt-Ie*$e:pe=tt+Ie*$e,N&&(pe=tt+Ie*$e),Ee=s(s({},Ee),{},{touchObject:Q,swipeLeft:pe,trackStyle:R(s(s({},f),{},{left:pe}))}),Math.abs(Q.curX-Q.startX)<Math.abs(Q.curY-Q.startY)*.8||Q.swipeLength>10&&(Ee.swiping=!0,v(n)),Ee}},B.swipeEnd=function(n,f){var O=f.dragging,$=f.swipe,D=f.touchObject,z=f.listWidth,N=f.touchThreshold,W=f.verticalSwiping,q=f.listHeight,K=f.swipeToSlide,G=f.scrolling,J=f.onSwipe,te=f.targetSlide,Z=f.currentSlide,ee=f.infinite;if(!O)return $&&v(n),{};var ie=W?q/N:z/N,le=F(D,W),Q={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(G||!D.swipeLength)return Q;if(D.swipeLength>ie){v(n),J&&J(le);var oe,ue,ce=ee?Z:te;switch(le){case"left":case"up":ue=ce+b(f),oe=K?g(f,ue):ue,Q.currentDirection=0;break;case"right":case"down":ue=ce-b(f),oe=K?g(f,ue):ue,Q.currentDirection=1;break;default:oe=ce}Q.triggerSlideHandler=oe}else{var pe=h(f);Q.trackStyle=y(s(s({},f),{},{left:pe}))}return Q};var V=B.getNavigableIndexes=function(n){for(var f=n.infinite?n.slideCount*2:n.slideCount,O=n.infinite?n.slidesToShow*-1:0,$=n.infinite?n.slidesToShow*-1:0,D=[];O<f;)D.push(O),O=$+n.slidesToScroll,$+=Math.min(n.slidesToScroll,n.slidesToShow);return D},g=B.checkNavigable=function(n,f){var O=V(n),$=0;if(f>O[O.length-1])f=O[O.length-1];else for(var D in O){if(f<O[D]){f=$;break}$=O[D]}return f},b=B.getSlideCount=function(n){var f=n.centerMode?n.slideWidth*Math.floor(n.slidesToShow/2):0;if(n.swipeToSlide){var O,$=n.listRef,D=$.querySelectorAll&&$.querySelectorAll(".slick-slide")||[];if(Array.from(D).every(function(W){if(n.vertical){if(W.offsetTop+C(W)/2>n.swipeLeft*-1)return O=W,!1}else if(W.offsetLeft-f+I(W)/2>n.swipeLeft*-1)return O=W,!1;return!0}),!O)return 0;var z=n.rtl===!0?n.slideCount-n.currentSlide:n.currentSlide,N=Math.abs(O.dataset.index-z)||1;return N}else return n.slidesToScroll},S=B.checkSpecKeys=function(n,f){return f.reduce(function(O,$){return O&&n.hasOwnProperty($)},!0)?null:console.error("Keys Missing:",n)},R=B.getTrackCSS=function(n){S(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var f,O;if(!n.vertical)f=T(n)*n.slideWidth;else{var $=n.unslick?n.slideCount:n.slideCount+2*n.slidesToShow;O=$*n.slideHeight}var D={opacity:1,transition:"",WebkitTransition:""};if(n.useTransform){var z=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",N=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",W=n.vertical?"translateY("+n.left+"px)":"translateX("+n.left+"px)";D=s(s({},D),{},{WebkitTransform:z,transform:N,msTransform:W})}else n.vertical?D.top=n.left:D.left=n.left;return n.fade&&(D={opacity:1}),f&&(D.width=f),O&&(D.height=O),window&&!window.addEventListener&&window.attachEvent&&(n.vertical?D.marginTop=n.left+"px":D.marginLeft=n.left+"px"),D},y=B.getTrackAnimateCSS=function(n){S(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var f=R(n);return n.useTransform?(f.WebkitTransition="-webkit-transform "+n.speed+"ms "+n.cssEase,f.transition="transform "+n.speed+"ms "+n.cssEase):n.vertical?f.transition="top "+n.speed+"ms "+n.cssEase:f.transition="left "+n.speed+"ms "+n.cssEase,f},h=B.getTrackLeft=function(n){if(n.unslick)return 0;S(n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var f=n.slideIndex,O=n.trackRef,$=n.infinite,D=n.centerMode,z=n.slideCount,N=n.slidesToShow,W=n.slidesToScroll,q=n.slideWidth,K=n.listWidth,G=n.variableWidth,J=n.slideHeight,te=n.fade,Z=n.vertical,ee=0,ie,le,Q=0;if(te||n.slideCount===1)return 0;var oe=0;if($?(oe=-P(n),z%W!==0&&f+W>z&&(oe=-(f>z?N-(f-z):z%W)),D&&(oe+=parseInt(N/2))):(z%W!==0&&f+W>z&&(oe=N-z%W),D&&(oe=parseInt(N/2))),ee=oe*q,Q=oe*J,Z?ie=f*J*-1+Q:ie=f*q*-1+ee,G===!0){var ue,ce=O&&O.node;if(ue=f+P(n),le=ce&&ce.childNodes[ue],ie=le?le.offsetLeft*-1:0,D===!0){ue=$?f+P(n):f,le=ce&&ce.children[ue],ie=0;for(var pe=0;pe<ue;pe++)ie-=ce&&ce.children[pe]&&ce.children[pe].offsetWidth;ie-=parseInt(n.centerPadding),ie+=le&&(K-le.offsetWidth)/2}}return ie},P=B.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},A=B.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},T=B.getTotalSlides=function(n){return n.slideCount===1?1:P(n)+n.slideCount+A(n)},_=B.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+E(n)?"left":"right":n.targetSlide<n.currentSlide-j(n)?"right":"left"},E=B.slidesOnRight=function(n){var f=n.slidesToShow,O=n.centerMode,$=n.rtl,D=n.centerPadding;if(O){var z=(f-1)/2+1;return parseInt(D)>0&&(z+=1),$&&f%2===0&&(z+=1),z}return $?0:f-1},j=B.slidesOnLeft=function(n){var f=n.slidesToShow,O=n.centerMode,$=n.rtl,D=n.centerPadding;if(O){var z=(f-1)/2+1;return parseInt(D)>0&&(z+=1),!$&&f%2===0&&(z+=1),z}return $?f-1:0};B.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var o=B.validSettings=Object.keys(t.default);function H(m){return o.reduce(function(n,f){return m.hasOwnProperty(f)&&(n[f]=m[f]),n},{})}return B}var Ne={},ur;function Dn(){if(ur)return Ne;ur=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.Track=void 0;var e=i(Y),t=i(yt()),r=Ge();function i(y){return y&&y.__esModule?y:{default:y}}function a(y){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},a(y)}function s(){return s=Object.assign?Object.assign.bind():function(y){for(var h=1;h<arguments.length;h++){var P=arguments[h];for(var A in P)({}).hasOwnProperty.call(P,A)&&(y[A]=P[A])}return y},s.apply(null,arguments)}function d(y,h){if(!(y instanceof h))throw new TypeError("Cannot call a class as a function")}function l(y,h){for(var P=0;P<h.length;P++){var A=h[P];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(y,U(A.key),A)}}function u(y,h,P){return h&&l(y.prototype,h),Object.defineProperty(y,"prototype",{writable:!1}),y}function c(y,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(h&&h.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),h&&v(y,h)}function v(y,h){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,A){return P.__proto__=A,P},v(y,h)}function w(y){var h=k();return function(){var P,A=p(y);if(h){var T=p(this).constructor;P=Reflect.construct(A,arguments,T)}else P=A.apply(this,arguments);return x(this,P)}}function x(y,h){if(h&&(a(h)=="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return L(y)}function L(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function k(){try{var y=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(k=function(){return!!y})()}function p(y){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(h){return h.__proto__||Object.getPrototypeOf(h)},p(y)}function I(y,h){var P=Object.keys(y);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(y);h&&(A=A.filter(function(T){return Object.getOwnPropertyDescriptor(y,T).enumerable})),P.push.apply(P,A)}return P}function C(y){for(var h=1;h<arguments.length;h++){var P=arguments[h]!=null?arguments[h]:{};h%2?I(Object(P),!0).forEach(function(A){F(y,A,P[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(P)):I(Object(P)).forEach(function(A){Object.defineProperty(y,A,Object.getOwnPropertyDescriptor(P,A))})}return y}function F(y,h,P){return(h=U(h))in y?Object.defineProperty(y,h,{value:P,enumerable:!0,configurable:!0,writable:!0}):y[h]=P,y}function U(y){var h=V(y,"string");return a(h)=="symbol"?h:h+""}function V(y,h){if(a(y)!="object"||!y)return y;var P=y[Symbol.toPrimitive];if(P!==void 0){var A=P.call(y,h);if(a(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(y)}var g=function(h){var P,A,T,_,E;h.rtl?E=h.slideCount-1-h.index:E=h.index,T=E<0||E>=h.slideCount,h.centerMode?(_=Math.floor(h.slidesToShow/2),A=(E-h.currentSlide)%h.slideCount===0,E>h.currentSlide-_-1&&E<=h.currentSlide+_&&(P=!0)):P=h.currentSlide<=E&&E<h.currentSlide+h.slidesToShow;var j;h.targetSlide<0?j=h.targetSlide+h.slideCount:h.targetSlide>=h.slideCount?j=h.targetSlide-h.slideCount:j=h.targetSlide;var o=E===j;return{"slick-slide":!0,"slick-active":P,"slick-center":A,"slick-cloned":T,"slick-current":o}},b=function(h){var P={};return(h.variableWidth===void 0||h.variableWidth===!1)&&(P.width=h.slideWidth),h.fade&&(P.position="relative",h.vertical?P.top=-h.index*parseInt(h.slideHeight):P.left=-h.index*parseInt(h.slideWidth),P.opacity=h.currentSlide===h.index?1:0,P.zIndex=h.currentSlide===h.index?999:998,h.useCSS&&(P.transition="opacity "+h.speed+"ms "+h.cssEase+", visibility "+h.speed+"ms "+h.cssEase)),P},S=function(h,P){return h.key||P},R=function(h){var P,A=[],T=[],_=[],E=e.default.Children.count(h.children),j=(0,r.lazyStartIndex)(h),o=(0,r.lazyEndIndex)(h);return e.default.Children.forEach(h.children,function(H,m){var n,f={message:"children",index:m,slidesToScroll:h.slidesToScroll,currentSlide:h.currentSlide};!h.lazyLoad||h.lazyLoad&&h.lazyLoadedList.indexOf(m)>=0?n=H:n=e.default.createElement("div",null);var O=b(C(C({},h),{},{index:m})),$=n.props.className||"",D=g(C(C({},h),{},{index:m}));if(A.push(e.default.cloneElement(n,{key:"original"+S(n,m),"data-index":m,className:(0,t.default)(D,$),tabIndex:"-1","aria-hidden":!D["slick-active"],style:C(C({outline:"none"},n.props.style||{}),O),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),h.focusOnSelect&&h.focusOnSelect(f)}})),h.infinite&&E>1&&h.fade===!1&&!h.unslick){var z=E-m;z<=(0,r.getPreClones)(h)&&(P=-z,P>=j&&(n=H),D=g(C(C({},h),{},{index:P})),T.push(e.default.cloneElement(n,{key:"precloned"+S(n,P),"data-index":P,tabIndex:"-1",className:(0,t.default)(D,$),"aria-hidden":!D["slick-active"],style:C(C({},n.props.style||{}),O),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),h.focusOnSelect&&h.focusOnSelect(f)}}))),m<(0,r.getPostClones)(h)&&(P=E+m,P<o&&(n=H),D=g(C(C({},h),{},{index:P})),_.push(e.default.cloneElement(n,{key:"postcloned"+S(n,P),"data-index":P,tabIndex:"-1",className:(0,t.default)(D,$),"aria-hidden":!D["slick-active"],style:C(C({},n.props.style||{}),O),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),h.focusOnSelect&&h.focusOnSelect(f)}})))}}),h.rtl?T.concat(A,_).reverse():T.concat(A,_)};return Ne.Track=function(y){c(P,y);var h=w(P);function P(){var A;d(this,P);for(var T=arguments.length,_=new Array(T),E=0;E<T;E++)_[E]=arguments[E];return A=h.call.apply(h,[this].concat(_)),F(L(A),"node",null),F(L(A),"handleRef",function(j){A.node=j}),A}return u(P,[{key:"render",value:function(){var T=R(this.props),_=this.props,E=_.onMouseEnter,j=_.onMouseOver,o=_.onMouseLeave,H={onMouseEnter:E,onMouseOver:j,onMouseLeave:o};return e.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},H),T)}}]),P}(e.default.PureComponent),Ne}var Fe={},cr;function Mn(){if(cr)return Fe;cr=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},e(g)}Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.Dots=void 0;var t=a(Y),r=a(yt()),i=Ge();function a(g){return g&&g.__esModule?g:{default:g}}function s(g,b){var S=Object.keys(g);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(g);b&&(R=R.filter(function(y){return Object.getOwnPropertyDescriptor(g,y).enumerable})),S.push.apply(S,R)}return S}function d(g){for(var b=1;b<arguments.length;b++){var S=arguments[b]!=null?arguments[b]:{};b%2?s(Object(S),!0).forEach(function(R){l(g,R,S[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(S)):s(Object(S)).forEach(function(R){Object.defineProperty(g,R,Object.getOwnPropertyDescriptor(S,R))})}return g}function l(g,b,S){return(b=w(b))in g?Object.defineProperty(g,b,{value:S,enumerable:!0,configurable:!0,writable:!0}):g[b]=S,g}function u(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function c(g,b){for(var S=0;S<b.length;S++){var R=b[S];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(g,w(R.key),R)}}function v(g,b,S){return b&&c(g.prototype,b),Object.defineProperty(g,"prototype",{writable:!1}),g}function w(g){var b=x(g,"string");return e(b)=="symbol"?b:b+""}function x(g,b){if(e(g)!="object"||!g)return g;var S=g[Symbol.toPrimitive];if(S!==void 0){var R=S.call(g,b);if(e(R)!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(g)}function L(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),b&&k(g,b)}function k(g,b){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,R){return S.__proto__=R,S},k(g,b)}function p(g){var b=F();return function(){var S,R=U(g);if(b){var y=U(this).constructor;S=Reflect.construct(R,arguments,y)}else S=R.apply(this,arguments);return I(this,S)}}function I(g,b){if(b&&(e(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return C(g)}function C(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function F(){try{var g=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(F=function(){return!!g})()}function U(g){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},U(g)}var V=function(b){var S;return b.infinite?S=Math.ceil(b.slideCount/b.slidesToScroll):S=Math.ceil((b.slideCount-b.slidesToShow)/b.slidesToScroll)+1,S};return Fe.Dots=function(g){L(S,g);var b=p(S);function S(){return u(this,S),b.apply(this,arguments)}return v(S,[{key:"clickHandler",value:function(y,h){h.preventDefault(),this.props.clickHandler(y)}},{key:"render",value:function(){for(var y=this.props,h=y.onMouseEnter,P=y.onMouseOver,A=y.onMouseLeave,T=y.infinite,_=y.slidesToScroll,E=y.slidesToShow,j=y.slideCount,o=y.currentSlide,H=V({slideCount:j,slidesToScroll:_,slidesToShow:E,infinite:T}),m={onMouseEnter:h,onMouseOver:P,onMouseLeave:A},n=[],f=0;f<H;f++){var O=(f+1)*_-1,$=T?O:(0,i.clamp)(O,0,j-1),D=$-(_-1),z=T?D:(0,i.clamp)(D,0,j-1),N=(0,r.default)({"slick-active":T?o>=z&&o<=$:o===z}),W={message:"dots",index:f,slidesToScroll:_,currentSlide:o},q=this.clickHandler.bind(this,W);n=n.concat(t.default.createElement("li",{key:f,className:N},t.default.cloneElement(this.props.customPaging(f),{onClick:q})))}return t.default.cloneElement(this.props.appendDots(n),d({className:this.props.dotsClass},m))}}]),S}(t.default.PureComponent),Fe}var Re={},fr;function $n(){if(fr)return Re;fr=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},e(g)}Object.defineProperty(Re,"__esModule",{value:!0}),Re.PrevArrow=Re.NextArrow=void 0;var t=a(Y),r=a(yt()),i=Ge();function a(g){return g&&g.__esModule?g:{default:g}}function s(){return s=Object.assign?Object.assign.bind():function(g){for(var b=1;b<arguments.length;b++){var S=arguments[b];for(var R in S)({}).hasOwnProperty.call(S,R)&&(g[R]=S[R])}return g},s.apply(null,arguments)}function d(g,b){var S=Object.keys(g);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(g);b&&(R=R.filter(function(y){return Object.getOwnPropertyDescriptor(g,y).enumerable})),S.push.apply(S,R)}return S}function l(g){for(var b=1;b<arguments.length;b++){var S=arguments[b]!=null?arguments[b]:{};b%2?d(Object(S),!0).forEach(function(R){u(g,R,S[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(S)):d(Object(S)).forEach(function(R){Object.defineProperty(g,R,Object.getOwnPropertyDescriptor(S,R))})}return g}function u(g,b,S){return(b=x(b))in g?Object.defineProperty(g,b,{value:S,enumerable:!0,configurable:!0,writable:!0}):g[b]=S,g}function c(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function v(g,b){for(var S=0;S<b.length;S++){var R=b[S];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(g,x(R.key),R)}}function w(g,b,S){return b&&v(g.prototype,b),Object.defineProperty(g,"prototype",{writable:!1}),g}function x(g){var b=L(g,"string");return e(b)=="symbol"?b:b+""}function L(g,b){if(e(g)!="object"||!g)return g;var S=g[Symbol.toPrimitive];if(S!==void 0){var R=S.call(g,b);if(e(R)!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(g)}function k(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),b&&p(g,b)}function p(g,b){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,R){return S.__proto__=R,S},p(g,b)}function I(g){var b=U();return function(){var S,R=V(g);if(b){var y=V(this).constructor;S=Reflect.construct(R,arguments,y)}else S=R.apply(this,arguments);return C(this,S)}}function C(g,b){if(b&&(e(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(g)}function F(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function U(){try{var g=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!g})()}function V(g){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},V(g)}return Re.PrevArrow=function(g){k(S,g);var b=I(S);function S(){return c(this,S),b.apply(this,arguments)}return w(S,[{key:"clickHandler",value:function(y,h){h&&h.preventDefault(),this.props.clickHandler(y,h)}},{key:"render",value:function(){var y={"slick-arrow":!0,"slick-prev":!0},h=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(y["slick-disabled"]=!0,h=null);var P={key:"0","data-role":"none",className:(0,r.default)(y),style:{display:"block"},onClick:h},A={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},T;return this.props.prevArrow?T=t.default.cloneElement(this.props.prevArrow,l(l({},P),A)):T=t.default.createElement("button",s({key:"0",type:"button"},P)," ","Previous"),T}}]),S}(t.default.PureComponent),Re.NextArrow=function(g){k(S,g);var b=I(S);function S(){return c(this,S),b.apply(this,arguments)}return w(S,[{key:"clickHandler",value:function(y,h){h&&h.preventDefault(),this.props.clickHandler(y,h)}},{key:"render",value:function(){var y={"slick-arrow":!0,"slick-next":!0},h=this.clickHandler.bind(this,{message:"next"});(0,i.canGoNext)(this.props)||(y["slick-disabled"]=!0,h=null);var P={key:"1","data-role":"none",className:(0,r.default)(y),style:{display:"block"},onClick:h},A={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},T;return this.props.nextArrow?T=t.default.cloneElement(this.props.nextArrow,l(l({},P),A)):T=t.default.createElement("button",s({key:"1",type:"button"},P)," ","Next"),T}}]),S}(t.default.PureComponent),Re}var Ir=function(){if(typeof Map<"u")return Map;function e(t,r){var i=-1;return t.some(function(a,s){return a[0]===r?(i=s,!0):!1}),i}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 i=e(this.__entries__,r),a=this.__entries__[i];return a&&a[1]},t.prototype.set=function(r,i){var a=e(this.__entries__,r);~a?this.__entries__[a][1]=i:this.__entries__.push([r,i])},t.prototype.delete=function(r){var i=this.__entries__,a=e(i,r);~a&&i.splice(a,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,i){i===void 0&&(i=null);for(var a=0,s=this.__entries__;a<s.length;a++){var d=s[a];r.call(i,d[1],d[0])}},t}()}(),It=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=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")()}(),In=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),An=2;function Hn(e,t){var r=!1,i=!1,a=0;function s(){r&&(r=!1,e()),i&&l()}function d(){In(s)}function l(){var u=Date.now();if(r){if(u-a<An)return;i=!0}else r=!0,i=!1,setTimeout(d,t);a=u}return l}var zn=20,Nn=["top","right","bottom","left","width","height","size","weight"],Fn=typeof MutationObserver<"u",Wn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Hn(this.refresh.bind(this),zn)}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_,i=r.indexOf(t);~i&&r.splice(i,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(){!It||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Fn?(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(){!It||!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,i=r===void 0?"":r,a=Nn.some(function(s){return!!~i.indexOf(s)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Ar=function(e,t){for(var r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},_e=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||pt},Hr=bt(0,0,0,0);function mt(e){return parseFloat(e)||0}function dr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(i,a){var s=e["border-"+a+"-width"];return i+mt(s)},0)}function Un(e){for(var t=["top","right","bottom","left"],r={},i=0,a=t;i<a.length;i++){var s=a[i],d=e["padding-"+s];r[s]=mt(d)}return r}function Yn(e){var t=e.getBBox();return bt(0,0,t.width,t.height)}function Bn(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Hr;var i=_e(e).getComputedStyle(e),a=Un(i),s=a.left+a.right,d=a.top+a.bottom,l=mt(i.width),u=mt(i.height);if(i.boxSizing==="border-box"&&(Math.round(l+s)!==t&&(l-=dr(i,"left","right")+s),Math.round(u+d)!==r&&(u-=dr(i,"top","bottom")+d)),!qn(e)){var c=Math.round(l+s)-t,v=Math.round(u+d)-r;Math.abs(c)!==1&&(l-=c),Math.abs(v)!==1&&(u-=v)}return bt(a.left,a.top,l,u)}var Vn=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 qn(e){return e===_e(e).document.documentElement}function Xn(e){return It?Vn(e)?Yn(e):Bn(e):Hr}function Gn(e){var t=e.x,r=e.y,i=e.width,a=e.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,d=Object.create(s.prototype);return Ar(d,{x:t,y:r,width:i,height:a,top:r,right:t+i,bottom:a+r,left:t}),d}function bt(e,t,r,i){return{x:e,y:t,width:r,height:i}}var Kn=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=bt(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Xn(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}(),Jn=function(){function e(t,r){var i=Gn(r);Ar(this,{target:t,contentRect:i})}return e}(),Zn=function(){function e(t,r,i){if(this.activeObservations_=[],this.observations_=new Ir,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=i}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 Kn(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(i){return new Jn(i.target,i.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}(),zr=typeof WeakMap<"u"?new WeakMap:new Ir,Nr=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=Wn.getInstance(),i=new Zn(t,r,this);zr.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Nr.prototype[e]=function(){var t;return(t=zr.get(this))[e].apply(t,arguments)}});var Qn=function(){return typeof pt.ResizeObserver<"u"?pt.ResizeObserver:Nr}();const ei=Object.freeze(Object.defineProperty({__proto__:null,default:Qn},Symbol.toStringTag,{value:"Module"})),ti=Pn(ei);var hr;function ri(){if(hr)return ze;hr=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.InnerSlider=void 0;var e=c(Y),t=c(jn()),r=c(Ln()),i=c(yt()),a=Ge(),s=Dn(),d=Mn(),l=$n(),u=c(ti);function c(T){return T&&T.__esModule?T:{default:T}}function v(T){"@babel/helpers - typeof";return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},v(T)}function w(){return w=Object.assign?Object.assign.bind():function(T){for(var _=1;_<arguments.length;_++){var E=arguments[_];for(var j in E)({}).hasOwnProperty.call(E,j)&&(T[j]=E[j])}return T},w.apply(null,arguments)}function x(T,_){if(T==null)return{};var E,j,o=L(T,_);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(T);for(j=0;j<H.length;j++)E=H[j],_.includes(E)||{}.propertyIsEnumerable.call(T,E)&&(o[E]=T[E])}return o}function L(T,_){if(T==null)return{};var E={};for(var j in T)if({}.hasOwnProperty.call(T,j)){if(_.includes(j))continue;E[j]=T[j]}return E}function k(T,_){var E=Object.keys(T);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(T);_&&(j=j.filter(function(o){return Object.getOwnPropertyDescriptor(T,o).enumerable})),E.push.apply(E,j)}return E}function p(T){for(var _=1;_<arguments.length;_++){var E=arguments[_]!=null?arguments[_]:{};_%2?k(Object(E),!0).forEach(function(j){h(T,j,E[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(E)):k(Object(E)).forEach(function(j){Object.defineProperty(T,j,Object.getOwnPropertyDescriptor(E,j))})}return T}function I(T,_){if(!(T instanceof _))throw new TypeError("Cannot call a class as a function")}function C(T,_){for(var E=0;E<_.length;E++){var j=_[E];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(T,P(j.key),j)}}function F(T,_,E){return _&&C(T.prototype,_),Object.defineProperty(T,"prototype",{writable:!1}),T}function U(T,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(_&&_.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),Object.defineProperty(T,"prototype",{writable:!1}),_&&V(T,_)}function V(T,_){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,j){return E.__proto__=j,E},V(T,_)}function g(T){var _=R();return function(){var E,j=y(T);if(_){var o=y(this).constructor;E=Reflect.construct(j,arguments,o)}else E=j.apply(this,arguments);return b(this,E)}}function b(T,_){if(_&&(v(_)=="object"||typeof _=="function"))return _;if(_!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(T)}function S(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function R(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(R=function(){return!!T})()}function y(T){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(_){return _.__proto__||Object.getPrototypeOf(_)},y(T)}function h(T,_,E){return(_=P(_))in T?Object.defineProperty(T,_,{value:E,enumerable:!0,configurable:!0,writable:!0}):T[_]=E,T}function P(T){var _=A(T,"string");return v(_)=="symbol"?_:_+""}function A(T,_){if(v(T)!="object"||!T)return T;var E=T[Symbol.toPrimitive];if(E!==void 0){var j=E.call(T,_);if(v(j)!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return(_==="string"?String:Number)(T)}return ze.InnerSlider=function(T){U(E,T);var _=g(E);function E(j){var o;I(this,E),o=_.call(this,j),h(S(o),"listRefHandler",function(m){return o.list=m}),h(S(o),"trackRefHandler",function(m){return o.track=m}),h(S(o),"adaptHeight",function(){if(o.props.adaptiveHeight&&o.list){var m=o.list.querySelector('[data-index="'.concat(o.state.currentSlide,'"]'));o.list.style.height=(0,a.getHeight)(m)+"px"}}),h(S(o),"componentDidMount",function(){if(o.props.onInit&&o.props.onInit(),o.props.lazyLoad){var m=(0,a.getOnDemandLazySlides)(p(p({},o.props),o.state));m.length>0&&(o.setState(function(f){return{lazyLoadedList:f.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m))}var n=p({listRef:o.list,trackRef:o.track},o.props);o.updateState(n,!0,function(){o.adaptHeight(),o.props.autoplay&&o.autoPlay("update")}),o.props.lazyLoad==="progressive"&&(o.lazyLoadTimer=setInterval(o.progressiveLazyLoad,1e3)),o.ro=new u.default(function(){o.state.animating?(o.onWindowResized(!1),o.callbackTimers.push(setTimeout(function(){return o.onWindowResized()},o.props.speed))):o.onWindowResized()}),o.ro.observe(o.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(f){f.onfocus=o.props.pauseOnFocus?o.onSlideFocus:null,f.onblur=o.props.pauseOnFocus?o.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",o.onWindowResized):window.attachEvent("onresize",o.onWindowResized)}),h(S(o),"componentWillUnmount",function(){o.animationEndCallback&&clearTimeout(o.animationEndCallback),o.lazyLoadTimer&&clearInterval(o.lazyLoadTimer),o.callbackTimers.length&&(o.callbackTimers.forEach(function(m){return clearTimeout(m)}),o.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",o.onWindowResized):window.detachEvent("onresize",o.onWindowResized),o.autoplayTimer&&clearInterval(o.autoplayTimer),o.ro.disconnect()}),h(S(o),"componentDidUpdate",function(m){if(o.checkImagesLoad(),o.props.onReInit&&o.props.onReInit(),o.props.lazyLoad){var n=(0,a.getOnDemandLazySlides)(p(p({},o.props),o.state));n.length>0&&(o.setState(function($){return{lazyLoadedList:$.lazyLoadedList.concat(n)}}),o.props.onLazyLoad&&o.props.onLazyLoad(n))}o.adaptHeight();var f=p(p({listRef:o.list,trackRef:o.track},o.props),o.state),O=o.didPropsChange(m);O&&o.updateState(f,O,function(){o.state.currentSlide>=e.default.Children.count(o.props.children)&&o.changeSlide({message:"index",index:e.default.Children.count(o.props.children)-o.props.slidesToShow,currentSlide:o.state.currentSlide}),o.props.autoplay?o.autoPlay("update"):o.pause("paused")})}),h(S(o),"onWindowResized",function(m){o.debouncedResize&&o.debouncedResize.cancel(),o.debouncedResize=(0,r.default)(function(){return o.resizeWindow(m)},50),o.debouncedResize()}),h(S(o),"resizeWindow",function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,n=!!(o.track&&o.track.node);if(n){var f=p(p({listRef:o.list,trackRef:o.track},o.props),o.state);o.updateState(f,m,function(){o.props.autoplay?o.autoPlay("update"):o.pause("paused")}),o.setState({animating:!1}),clearTimeout(o.animationEndCallback),delete o.animationEndCallback}}),h(S(o),"updateState",function(m,n,f){var O=(0,a.initializedState)(m);m=p(p(p({},m),O),{},{slideIndex:O.currentSlide});var $=(0,a.getTrackLeft)(m);m=p(p({},m),{},{left:$});var D=(0,a.getTrackCSS)(m);(n||e.default.Children.count(o.props.children)!==e.default.Children.count(m.children))&&(O.trackStyle=D),o.setState(O,f)}),h(S(o),"ssrInit",function(){if(o.props.variableWidth){var m=0,n=0,f=[],O=(0,a.getPreClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length})),$=(0,a.getPostClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length}));o.props.children.forEach(function(le){f.push(le.props.style.width),m+=le.props.style.width});for(var D=0;D<O;D++)n+=f[f.length-1-D],m+=f[f.length-1-D];for(var z=0;z<$;z++)m+=f[z];for(var N=0;N<o.state.currentSlide;N++)n+=f[N];var W={width:m+"px",left:-n+"px"};if(o.props.centerMode){var q="".concat(f[o.state.currentSlide],"px");W.left="calc(".concat(W.left," + (100% - ").concat(q,") / 2 ) ")}return{trackStyle:W}}var K=e.default.Children.count(o.props.children),G=p(p(p({},o.props),o.state),{},{slideCount:K}),J=(0,a.getPreClones)(G)+(0,a.getPostClones)(G)+K,te=100/o.props.slidesToShow*J,Z=100/J,ee=-Z*((0,a.getPreClones)(G)+o.state.currentSlide)*te/100;o.props.centerMode&&(ee+=(100-Z*te/100)/2);var ie={width:te+"%",left:ee+"%"};return{slideWidth:Z+"%",trackStyle:ie}}),h(S(o),"checkImagesLoad",function(){var m=o.list&&o.list.querySelectorAll&&o.list.querySelectorAll(".slick-slide img")||[],n=m.length,f=0;Array.prototype.forEach.call(m,function(O){var $=function(){return++f&&f>=n&&o.onWindowResized()};if(!O.onclick)O.onclick=function(){return O.parentNode.focus()};else{var D=O.onclick;O.onclick=function(z){D(z),O.parentNode.focus()}}O.onload||(o.props.lazyLoad?O.onload=function(){o.adaptHeight(),o.callbackTimers.push(setTimeout(o.onWindowResized,o.props.speed))}:(O.onload=$,O.onerror=function(){$(),o.props.onLazyLoadError&&o.props.onLazyLoadError()}))})}),h(S(o),"progressiveLazyLoad",function(){for(var m=[],n=p(p({},o.props),o.state),f=o.state.currentSlide;f<o.state.slideCount+(0,a.getPostClones)(n);f++)if(o.state.lazyLoadedList.indexOf(f)<0){m.push(f);break}for(var O=o.state.currentSlide-1;O>=-(0,a.getPreClones)(n);O--)if(o.state.lazyLoadedList.indexOf(O)<0){m.push(O);break}m.length>0?(o.setState(function($){return{lazyLoadedList:$.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m)):o.lazyLoadTimer&&(clearInterval(o.lazyLoadTimer),delete o.lazyLoadTimer)}),h(S(o),"slideHandler",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=o.props,O=f.asNavFor,$=f.beforeChange,D=f.onLazyLoad,z=f.speed,N=f.afterChange,W=o.state.currentSlide,q=(0,a.slideHandler)(p(p(p({index:m},o.props),o.state),{},{trackRef:o.track,useCSS:o.props.useCSS&&!n})),K=q.state,G=q.nextState;if(K){$&&$(W,K.currentSlide);var J=K.lazyLoadedList.filter(function(te){return o.state.lazyLoadedList.indexOf(te)<0});D&&J.length>0&&D(J),!o.props.waitForAnimate&&o.animationEndCallback&&(clearTimeout(o.animationEndCallback),N&&N(W),delete o.animationEndCallback),o.setState(K,function(){O&&o.asNavForIndex!==m&&(o.asNavForIndex=m,O.innerSlider.slideHandler(m)),G&&(o.animationEndCallback=setTimeout(function(){var te=G.animating,Z=x(G,["animating"]);o.setState(Z,function(){o.callbackTimers.push(setTimeout(function(){return o.setState({animating:te})},10)),N&&N(K.currentSlide),delete o.animationEndCallback})},z))})}}),h(S(o),"changeSlide",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=p(p({},o.props),o.state),O=(0,a.changeSlide)(f,m);if(!(O!==0&&!O)&&(n===!0?o.slideHandler(O,n):o.slideHandler(O),o.props.autoplay&&o.autoPlay("update"),o.props.focusOnSelect)){var $=o.list.querySelectorAll(".slick-current");$[0]&&$[0].focus()}}),h(S(o),"clickHandler",function(m){o.clickable===!1&&(m.stopPropagation(),m.preventDefault()),o.clickable=!0}),h(S(o),"keyHandler",function(m){var n=(0,a.keyHandler)(m,o.props.accessibility,o.props.rtl);n!==""&&o.changeSlide({message:n})}),h(S(o),"selectHandler",function(m){o.changeSlide(m)}),h(S(o),"disableBodyScroll",function(){var m=function(f){f=f||window.event,f.preventDefault&&f.preventDefault(),f.returnValue=!1};window.ontouchmove=m}),h(S(o),"enableBodyScroll",function(){window.ontouchmove=null}),h(S(o),"swipeStart",function(m){o.props.verticalSwiping&&o.disableBodyScroll();var n=(0,a.swipeStart)(m,o.props.swipe,o.props.draggable);n!==""&&o.setState(n)}),h(S(o),"swipeMove",function(m){var n=(0,a.swipeMove)(m,p(p(p({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));n&&(n.swiping&&(o.clickable=!1),o.setState(n))}),h(S(o),"swipeEnd",function(m){var n=(0,a.swipeEnd)(m,p(p(p({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));if(n){var f=n.triggerSlideHandler;delete n.triggerSlideHandler,o.setState(n),f!==void 0&&(o.slideHandler(f),o.props.verticalSwiping&&o.enableBodyScroll())}}),h(S(o),"touchEnd",function(m){o.swipeEnd(m),o.clickable=!0}),h(S(o),"slickPrev",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"previous"})},0))}),h(S(o),"slickNext",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"next"})},0))}),h(S(o),"slickGoTo",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(m=Number(m),isNaN(m))return"";o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"index",index:m,currentSlide:o.state.currentSlide},n)},0))}),h(S(o),"play",function(){var m;if(o.props.rtl)m=o.state.currentSlide-o.props.slidesToScroll;else if((0,a.canGoNext)(p(p({},o.props),o.state)))m=o.state.currentSlide+o.props.slidesToScroll;else return!1;o.slideHandler(m)}),h(S(o),"autoPlay",function(m){o.autoplayTimer&&clearInterval(o.autoplayTimer);var n=o.state.autoplaying;if(m==="update"){if(n==="hovered"||n==="focused"||n==="paused")return}else if(m==="leave"){if(n==="paused"||n==="focused")return}else if(m==="blur"&&(n==="paused"||n==="hovered"))return;o.autoplayTimer=setInterval(o.play,o.props.autoplaySpeed+50),o.setState({autoplaying:"playing"})}),h(S(o),"pause",function(m){o.autoplayTimer&&(clearInterval(o.autoplayTimer),o.autoplayTimer=null);var n=o.state.autoplaying;m==="paused"?o.setState({autoplaying:"paused"}):m==="focused"?(n==="hovered"||n==="playing")&&o.setState({autoplaying:"focused"}):n==="playing"&&o.setState({autoplaying:"hovered"})}),h(S(o),"onDotsOver",function(){return o.props.autoplay&&o.pause("hovered")}),h(S(o),"onDotsLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),h(S(o),"onTrackOver",function(){return o.props.autoplay&&o.pause("hovered")}),h(S(o),"onTrackLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),h(S(o),"onSlideFocus",function(){return o.props.autoplay&&o.pause("focused")}),h(S(o),"onSlideBlur",function(){return o.props.autoplay&&o.state.autoplaying==="focused"&&o.autoPlay("blur")}),h(S(o),"render",function(){var m=(0,i.default)("slick-slider",o.props.className,{"slick-vertical":o.props.vertical,"slick-initialized":!0}),n=p(p({},o.props),o.state),f=(0,a.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"]),O=o.props.pauseOnHover;f=p(p({},f),{},{onMouseEnter:O?o.onTrackOver:null,onMouseLeave:O?o.onTrackLeave:null,onMouseOver:O?o.onTrackOver:null,focusOnSelect:o.props.focusOnSelect&&o.clickable?o.selectHandler:null});var $;if(o.props.dots===!0&&o.state.slideCount>=o.props.slidesToShow){var D=(0,a.extractObject)(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),z=o.props.pauseOnDotsHover;D=p(p({},D),{},{clickHandler:o.changeSlide,onMouseEnter:z?o.onDotsLeave:null,onMouseOver:z?o.onDotsOver:null,onMouseLeave:z?o.onDotsLeave:null}),$=e.default.createElement(d.Dots,D)}var N,W,q=(0,a.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);q.clickHandler=o.changeSlide,o.props.arrows&&(N=e.default.createElement(l.PrevArrow,q),W=e.default.createElement(l.NextArrow,q));var K=null;o.props.vertical&&(K={height:o.state.listHeight});var G=null;o.props.vertical===!1?o.props.centerMode===!0&&(G={padding:"0px "+o.props.centerPadding}):o.props.centerMode===!0&&(G={padding:o.props.centerPadding+" 0px"});var J=p(p({},K),G),te=o.props.touchMove,Z={className:"slick-list",style:J,onClick:o.clickHandler,onMouseDown:te?o.swipeStart:null,onMouseMove:o.state.dragging&&te?o.swipeMove:null,onMouseUp:te?o.swipeEnd:null,onMouseLeave:o.state.dragging&&te?o.swipeEnd:null,onTouchStart:te?o.swipeStart:null,onTouchMove:o.state.dragging&&te?o.swipeMove:null,onTouchEnd:te?o.touchEnd:null,onTouchCancel:o.state.dragging&&te?o.swipeEnd:null,onKeyDown:o.props.accessibility?o.keyHandler:null},ee={className:m,dir:"ltr",style:o.props.style};return o.props.unslick&&(Z={className:"slick-list"},ee={className:m,style:o.props.style}),e.default.createElement("div",ee,o.props.unslick?"":N,e.default.createElement("div",w({ref:o.listRefHandler},Z),e.default.createElement(s.Track,w({ref:o.trackRefHandler},f),o.props.children)),o.props.unslick?"":W,o.props.unslick?"":$)}),o.list=null,o.track=null,o.state=p(p({},t.default),{},{currentSlide:o.props.initialSlide,targetSlide:o.props.initialSlide?o.props.initialSlide:0,slideCount:e.default.Children.count(o.props.children)}),o.callbackTimers=[],o.clickable=!0,o.debouncedResize=null;var H=o.ssrInit();return o.state=p(p({},o.state),H),o}return F(E,[{key:"didPropsChange",value:function(o){for(var H=!1,m=0,n=Object.keys(this.props);m<n.length;m++){var f=n[m];if(!o.hasOwnProperty(f)){H=!0;break}if(!(v(o[f])==="object"||typeof o[f]=="function"||isNaN(o[f]))&&o[f]!==this.props[f]){H=!0;break}}return H||e.default.Children.count(this.props.children)!==e.default.Children.count(o.children)}}]),E}(e.default.Component),ze}var jt,pr;function ni(){if(pr)return jt;pr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return jt=e,jt}var Lt,mr;function ii(){if(mr)return Lt;mr=1;var e=ni(),t=function(a){var s=/[height|width]$/;return s.test(a)},r=function(a){var s="",d=Object.keys(a);return d.forEach(function(l,u){var c=a[l];l=e(l),t(l)&&typeof c=="number"&&(c=c+"px"),c===!0?s+=l:c===!1?s+="not "+l:s+="("+l+": "+c+")",u<d.length-1&&(s+=" and ")}),s},i=function(a){var s="";return typeof a=="string"?a:a instanceof Array?(a.forEach(function(d,l){s+=r(d),l<a.length-1&&(s+=", ")}),s):r(a)};return Lt=i,Lt}var vr;function ai(){return vr||(vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=d(Y),r=ri(),i=d(ii()),a=d($r()),s=Ge();function d(R){return R&&R.__esModule?R:{default:R}}function l(R){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},l(R)}function u(){return u=Object.assign?Object.assign.bind():function(R){for(var y=1;y<arguments.length;y++){var h=arguments[y];for(var P in h)({}).hasOwnProperty.call(h,P)&&(R[P]=h[P])}return R},u.apply(null,arguments)}function c(R,y){var h=Object.keys(R);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(R);y&&(P=P.filter(function(A){return Object.getOwnPropertyDescriptor(R,A).enumerable})),h.push.apply(h,P)}return h}function v(R){for(var y=1;y<arguments.length;y++){var h=arguments[y]!=null?arguments[y]:{};y%2?c(Object(h),!0).forEach(function(P){g(R,P,h[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(h)):c(Object(h)).forEach(function(P){Object.defineProperty(R,P,Object.getOwnPropertyDescriptor(h,P))})}return R}function w(R,y){if(!(R instanceof y))throw new TypeError("Cannot call a class as a function")}function x(R,y){for(var h=0;h<y.length;h++){var P=y[h];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(R,b(P.key),P)}}function L(R,y,h){return y&&x(R.prototype,y),Object.defineProperty(R,"prototype",{writable:!1}),R}function k(R,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(y&&y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),y&&p(R,y)}function p(R,y){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,P){return h.__proto__=P,h},p(R,y)}function I(R){var y=U();return function(){var h,P=V(R);if(y){var A=V(this).constructor;h=Reflect.construct(P,arguments,A)}else h=P.apply(this,arguments);return C(this,h)}}function C(R,y){if(y&&(l(y)=="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(R)}function F(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function U(){try{var R=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!R})()}function V(R){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(y){return y.__proto__||Object.getPrototypeOf(y)},V(R)}function g(R,y,h){return(y=b(y))in R?Object.defineProperty(R,y,{value:h,enumerable:!0,configurable:!0,writable:!0}):R[y]=h,R}function b(R){var y=S(R,"string");return l(y)=="symbol"?y:y+""}function S(R,y){if(l(R)!="object"||!R)return R;var h=R[Symbol.toPrimitive];if(h!==void 0){var P=h.call(R,y);if(l(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(R)}e.default=function(R){k(h,R);var y=I(h);function h(P){var A;return w(this,h),A=y.call(this,P),g(F(A),"innerSliderRefHandler",function(T){return A.innerSlider=T}),g(F(A),"slickPrev",function(){return A.innerSlider.slickPrev()}),g(F(A),"slickNext",function(){return A.innerSlider.slickNext()}),g(F(A),"slickGoTo",function(T){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return A.innerSlider.slickGoTo(T,_)}),g(F(A),"slickPause",function(){return A.innerSlider.pause("paused")}),g(F(A),"slickPlay",function(){return A.innerSlider.autoPlay("play")}),A.state={breakpoint:null},A._responsiveMediaHandlers=[],A}return L(h,[{key:"media",value:function(A,T){var _=window.matchMedia(A),E=function(o){var H=o.matches;H&&T()};_.addListener(E),this._responsiveMediaHandlers.push({mql:_,query:A,listener:E})}},{key:"componentDidMount",value:function(){var A=this;if(this.props.responsive){var T=this.props.responsive.map(function(E){return E.breakpoint});T.sort(function(E,j){return E-j}),T.forEach(function(E,j){var o;j===0?o=(0,i.default)({minWidth:0,maxWidth:E}):o=(0,i.default)({minWidth:T[j-1]+1,maxWidth:E}),(0,s.canUseDOM)()&&A.media(o,function(){A.setState({breakpoint:E})})});var _=(0,i.default)({minWidth:T.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(_,function(){A.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(A){A.mql.removeListener(A.listener)})}},{key:"render",value:function(){var A=this,T,_;this.state.breakpoint?(_=this.props.responsive.filter(function(D){return D.breakpoint===A.state.breakpoint}),T=_[0].settings==="unslick"?"unslick":v(v(v({},a.default),this.props),_[0].settings)):T=v(v({},a.default),this.props),T.centerMode&&(T.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(T.slidesToScroll)),T.slidesToScroll=1),T.fade&&(T.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(T.slidesToShow)),T.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(T.slidesToScroll)),T.slidesToShow=1,T.slidesToScroll=1);var E=t.default.Children.toArray(this.props.children);E=E.filter(function(D){return typeof D=="string"?!!D.trim():!!D}),T.variableWidth&&(T.rows>1||T.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),T.variableWidth=!1);for(var j=[],o=null,H=0;H<E.length;H+=T.rows*T.slidesPerRow){for(var m=[],n=H;n<H+T.rows*T.slidesPerRow;n+=T.slidesPerRow){for(var f=[],O=n;O<n+T.slidesPerRow&&(T.variableWidth&&E[O].props.style&&(o=E[O].props.style.width),!(O>=E.length));O+=1)f.push(t.default.cloneElement(E[O],{key:100*H+10*n+O,tabIndex:-1,style:{width:"".concat(100/T.slidesPerRow,"%"),display:"inline-block"}}));m.push(t.default.createElement("div",{key:10*H+n},f))}T.variableWidth?j.push(t.default.createElement("div",{key:H,style:{width:o}},m)):j.push(t.default.createElement("div",{key:H},m))}if(T==="unslick"){var $="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:$},E)}else j.length<=T.slidesToShow&&(T.unslick=!0);return t.default.createElement(r.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(T)),j)}}]),h}(t.default.Component)}(Pt)),Pt}var gr;function oi(){return gr||(gr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ai());function r(i){return i&&i.__esModule?i:{default:i}}e.default=t.default}(Ct)),Ct}var si=oi();const li=Ut(si);function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},At.apply(null,arguments)}function ui(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 ci(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 fi=function(){function e(r){var i=this;this._insertTag=function(a){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,s),i.tags.push(a)},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(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ci(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=ui(a);try{s.insertRule(i,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var a;return(a=i.parentNode)==null?void 0:a.removeChild(i)}),this.tags=[],this.ctr=0},e}(),de="-ms-",vt="-moz-",re="-webkit-",Fr="comm",Yt="rule",Bt="decl",di="@import",Wr="@keyframes",hi="@layer",pi=Math.abs,wt=String.fromCharCode,mi=Object.assign;function vi(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 Ur(e){return e.trim()}function gi(e,t){return(e=t.exec(e))?e[0]:e}function ne(e,t,r){return e.replace(t,r)}function Ht(e,t){return e.indexOf(t)}function fe(e,t){return e.charCodeAt(t)|0}function Be(e,t,r){return e.slice(t,r)}function ge(e){return e.length}function Vt(e){return e.length}function it(e,t){return t.push(e),e}function yi(e,t){return e.map(t).join("")}var St=1,je=1,Yr=0,he=0,se=0,Le="";function xt(e,t,r,i,a,s,d){return{value:e,root:t,parent:r,type:i,props:a,children:s,line:St,column:je,length:d,return:""}}function We(e,t){return mi(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function bi(){return se}function wi(){return se=he>0?fe(Le,--he):0,je--,se===10&&(je=1,St--),se}function me(){return se=he<Yr?fe(Le,he++):0,je++,se===10&&(je=1,St++),se}function be(){return fe(Le,he)}function ot(){return he}function Ke(e,t){return Be(Le,e,t)}function Ve(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 Br(e){return St=je=1,Yr=ge(Le=e),he=0,[]}function Vr(e){return Le="",e}function st(e){return Ur(Ke(he-1,zt(e===91?e+2:e===40?e+1:e)))}function Si(e){for(;(se=be())&&se<33;)me();return Ve(e)>2||Ve(se)>3?"":" "}function xi(e,t){for(;--t&&me()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return Ke(e,ot()+(t<6&&be()==32&&me()==32))}function zt(e){for(;me();)switch(se){case e:return he;case 34:case 39:e!==34&&e!==39&&zt(se);break;case 40:e===41&&zt(e);break;case 92:me();break}return he}function Oi(e,t){for(;me()&&e+se!==57;)if(e+se===84&&be()===47)break;return"/*"+Ke(t,he-1)+"*"+wt(e===47?e:me())}function ki(e){for(;!Ve(be());)me();return Ke(e,he)}function Ci(e){return Vr(lt("",null,null,null,[""],e=Br(e),0,[0],e))}function lt(e,t,r,i,a,s,d,l,u){for(var c=0,v=0,w=d,x=0,L=0,k=0,p=1,I=1,C=1,F=0,U="",V=a,g=s,b=i,S=U;I;)switch(k=F,F=me()){case 40:if(k!=108&&fe(S,w-1)==58){Ht(S+=ne(st(F),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:S+=st(F);break;case 9:case 10:case 13:case 32:S+=Si(k);break;case 92:S+=xi(ot()-1,7);continue;case 47:switch(be()){case 42:case 47:it(Pi(Oi(me(),ot()),t,r),u);break;default:S+="/"}break;case 123*p:l[c++]=ge(S)*C;case 125*p:case 59:case 0:switch(F){case 0:case 125:I=0;case 59+v:C==-1&&(S=ne(S,/\f/g,"")),L>0&&ge(S)-w&&it(L>32?br(S+";",i,r,w-1):br(ne(S," ","")+";",i,r,w-2),u);break;case 59:S+=";";default:if(it(b=yr(S,t,r,c,v,a,l,U,V=[],g=[],w),s),F===123)if(v===0)lt(S,t,b,b,V,s,w,l,g);else switch(x===99&&fe(S,3)===110?100:x){case 100:case 108:case 109:case 115:lt(e,b,b,i&&it(yr(e,b,b,0,0,a,l,U,a,V=[],w),g),a,g,w,l,i?V:g);break;default:lt(S,b,b,b,[""],g,0,l,g)}}c=v=L=0,p=C=1,U=S="",w=d;break;case 58:w=1+ge(S),L=k;default:if(p<1){if(F==123)--p;else if(F==125&&p++==0&&wi()==125)continue}switch(S+=wt(F),F*p){case 38:C=v>0?1:(S+="\f",-1);break;case 44:l[c++]=(ge(S)-1)*C,C=1;break;case 64:be()===45&&(S+=st(me())),x=be(),v=w=ge(U=S+=ki(ot())),F++;break;case 45:k===45&&ge(S)==2&&(p=0)}}return s}function yr(e,t,r,i,a,s,d,l,u,c,v){for(var w=a-1,x=a===0?s:[""],L=Vt(x),k=0,p=0,I=0;k<i;++k)for(var C=0,F=Be(e,w+1,w=pi(p=d[k])),U=e;C<L;++C)(U=Ur(p>0?x[C]+" "+F:ne(F,/&\f/g,x[C])))&&(u[I++]=U);return xt(e,t,r,a===0?Yt:l,u,c,v)}function Pi(e,t,r){return xt(e,t,r,Fr,wt(bi()),Be(e,2,-2),0)}function br(e,t,r,i){return xt(e,t,r,Bt,Be(e,0,i),Be(e,i+1,-1),i)}function Te(e,t){for(var r="",i=Vt(e),a=0;a<i;a++)r+=t(e[a],a,e,t)||"";return r}function Ei(e,t,r,i){switch(e.type){case hi:if(e.children.length)break;case di:case Bt:return e.return=e.return||e.value;case Fr:return"";case Wr:return e.return=e.value+"{"+Te(e.children,i)+"}";case Yt:e.value=e.props.join(",")}return ge(r=Te(e.children,i))?e.return=e.value+"{"+r+"}":""}function Ri(e){var t=Vt(e);return function(r,i,a,s){for(var d="",l=0;l<t;l++)d+=e[l](r,i,a,s)||"";return d}}function Ti(e){return function(t){t.root||(t=t.return)&&e(t)}}function qr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var _i=function(t,r,i){for(var a=0,s=0;a=s,s=be(),a===38&&s===12&&(r[i]=1),!Ve(s);)me();return Ke(t,he)},ji=function(t,r){var i=-1,a=44;do switch(Ve(a)){case 0:a===38&&be()===12&&(r[i]=1),t[i]+=_i(he-1,r,i);break;case 2:t[i]+=st(a);break;case 4:if(a===44){t[++i]=be()===58?"&\f":"",r[i]=t[i].length;break}default:t[i]+=wt(a)}while(a=me());return t},Li=function(t,r){return Vr(ji(Br(t),r))},wr=new WeakMap,Di=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!wr.get(i))&&!a){wr.set(t,!0);for(var s=[],d=Li(r,s),l=i.props,u=0,c=0;u<d.length;u++)for(var v=0;v<l.length;v++,c++)t.props[c]=s[u]?d[u].replace(/&\f/g,l[v]):l[v]+" "+d[u]}}},Mi=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Xr(e,t){switch(vi(e,t)){case 5103:return re+"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 re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+vt+e+de+e+e;case 6828:case 4268:return re+e+de+e+e;case 6165:return re+e+de+"flex-"+e+e;case 5187:return re+e+ne(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return re+e+de+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return re+e+de+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+de+ne(e,"shrink","negative")+e;case 5292:return re+e+de+ne(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ne(e,"-grow","")+re+e+de+ne(e,"grow","positive")+e;case 4554:return re+ne(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,re+"$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(ge(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+vt+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ht(e,"stretch")?Xr(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fe(e,t+1)!==115)break;case 6444:switch(fe(e,ge(e)-3-(~Ht(e,"!important")&&10))){case 107:return ne(e,":",":"+re)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(fe(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(fe(e,t+11)){case 114:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+de+e+e}return e}var $i=function(t,r,i,a){if(t.length>-1&&!t.return)switch(t.type){case Bt:t.return=Xr(t.value,t.length);break;case Wr:return Te([We(t,{value:ne(t.value,"@","@"+re)})],a);case Yt:if(t.length)return yi(t.props,function(s){switch(gi(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Te([We(t,{props:[ne(s,/:(read-\w+)/,":"+vt+"$1")]})],a);case"::placeholder":return Te([We(t,{props:[ne(s,/:(plac\w+)/,":"+re+"input-$1")]}),We(t,{props:[ne(s,/:(plac\w+)/,":"+vt+"$1")]}),We(t,{props:[ne(s,/:(plac\w+)/,de+"input-$1")]})],a)}return""})}},Ii=[$i],Ai=function(t){var r=t.key;if(r==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(p){var I=p.getAttribute("data-emotion");I.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=t.stylisPlugins||Ii,s={},d,l=[];d=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var I=p.getAttribute("data-emotion").split(" "),C=1;C<I.length;C++)s[I[C]]=!0;l.push(p)});var u,c=[Di,Mi];{var v,w=[Ei,Ti(function(p){v.insert(p)})],x=Ri(c.concat(a,w)),L=function(I){return Te(Ci(I),x)};u=function(I,C,F,U){v=F,L(I?I+"{"+C.styles+"}":C.styles),U&&(k.inserted[C.name]=!0)}}var k={key:r,sheet:new fi({key:r,container:d,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return k.sheet.hydrate(l),k},Hi=!0;function zi(e,t,r){var i="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Gr=function(t,r,i){var a=t.key+"-"+r.name;(i===!1||Hi===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},Ni=function(t,r,i){Gr(t,r,i);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+a:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Fi(e){for(var t=0,r,i=0,a=e.length;a>=4;++i,a-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&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(a){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&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 Wi={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},Ui=/[A-Z]|^ms/g,Yi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kr=function(t){return t.charCodeAt(1)===45},Sr=function(t){return t!=null&&typeof t!="boolean"},Dt=qr(function(e){return Kr(e)?e:e.replace(Ui,"-$&").toLowerCase()}),xr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Yi,function(i,a,s){return ye={name:a,styles:s,next:ye},a})}return Wi[t]!==1&&!Kr(t)&&typeof r=="number"&&r!==0?r+"px":r};function qe(e,t,r){if(r==null)return"";var i=r;if(i.__emotion_styles!==void 0)return i;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return ye={name:a.name,styles:a.styles,next:ye},a.name;var s=r;if(s.styles!==void 0){var d=s.next;if(d!==void 0)for(;d!==void 0;)ye={name:d.name,styles:d.styles,next:ye},d=d.next;var l=s.styles+";";return l}return Bi(e,t,r)}case"function":{if(e!==void 0){var u=ye,c=r(e);return ye=u,qe(e,t,c)}break}}var v=r;if(t==null)return v;var w=t[v];return w!==void 0?w:v}function Bi(e,t,r){var i="";if(Array.isArray(r))for(var a=0;a<r.length;a++)i+=qe(e,t,r[a])+";";else for(var s in r){var d=r[s];if(typeof d!="object"){var l=d;t!=null&&t[l]!==void 0?i+=s+"{"+t[l]+"}":Sr(l)&&(i+=Dt(s)+":"+xr(s,l)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(t==null||t[d[0]]===void 0))for(var u=0;u<d.length;u++)Sr(d[u])&&(i+=Dt(s)+":"+xr(s,d[u])+";");else{var c=qe(e,t,d);switch(s){case"animation":case"animationName":{i+=Dt(s)+":"+c+";";break}default:i+=s+"{"+c+"}"}}}return i}var Or=/label:\s*([^\s;{]+)\s*(;|$)/g,ye;function Vi(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,a="";ye=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,a+=qe(r,t,s);else{var d=s;a+=d[0]}for(var l=1;l<e.length;l++)if(a+=qe(r,t,e[l]),i){var u=s;a+=u[l]}Or.lastIndex=0;for(var c="",v;(v=Or.exec(a))!==null;)c+="-"+v[1];var w=Fi(a)+c;return{name:w,styles:a,next:ye}}var qi=function(t){return t()},Xi=M.useInsertionEffect?M.useInsertionEffect:!1,Gi=Xi||qi,Jr=M.createContext(typeof HTMLElement<"u"?Ai({key:"css"}):null);Jr.Provider;var Ki=function(t){return Y.forwardRef(function(r,i){var a=Y.useContext(Jr);return t(r,a,i)})},Ji=M.createContext({}),Zi=/^((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)-.*))$/,Qi=qr(function(e){return Zi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ea=Qi,ta=function(t){return t!=="theme"},kr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ea:ta},Cr=function(t,r,i){var a;if(r){var s=r.shouldForwardProp;a=t.__emotion_forwardProp&&s?function(d){return t.__emotion_forwardProp(d)&&s(d)}:s}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},ra=function(t){var r=t.cache,i=t.serialized,a=t.isStringTag;return Gr(r,i,a),Gi(function(){return Ni(r,i,a)}),null},na=function e(t,r){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,s,d;r!==void 0&&(s=r.label,d=r.target);var l=Cr(t,r,i),u=l||kr(a),c=!u("as");return function(){var v=arguments,w=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&w.push("label:"+s+";"),v[0]==null||v[0].raw===void 0)w.push.apply(w,v);else{var x=v[0];w.push(x[0]);for(var L=v.length,k=1;k<L;k++)w.push(v[k],x[k])}var p=Ki(function(I,C,F){var U=c&&I.as||a,V="",g=[],b=I;if(I.theme==null){b={};for(var S in I)b[S]=I[S];b.theme=M.useContext(Ji)}typeof I.className=="string"?V=zi(C.registered,g,I.className):I.className!=null&&(V=I.className+" ");var R=Vi(w.concat(g),C.registered,b);V+=C.key+"-"+R.name,d!==void 0&&(V+=" "+d);var y=c&&l===void 0?kr(U):u,h={};for(var P in I)c&&P==="as"||y(P)&&(h[P]=I[P]);return h.className=V,F&&(h.ref=F),M.createElement(M.Fragment,null,M.createElement(ra,{cache:C,serialized:R,isStringTag:typeof U=="string"}),M.createElement(U,h))});return p.displayName=s!==void 0?s:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",p.defaultProps=t.defaultProps,p.__emotion_real=p,p.__emotion_base=a,p.__emotion_styles=w,p.__emotion_forwardProp=l,Object.defineProperty(p,"toString",{value:function(){return"."+d}}),p.withComponent=function(I,C){var F=e(I,At({},r,C,{shouldForwardProp:Cr(p,C,!0)}));return F.apply(void 0,w)},p}},ia=["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"],Pe=na.bind(null);ia.forEach(function(e){Pe[e]=Pe(e)});const aa=Pe.div`
26
+ */var or;function yt(){return or||(or=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",d=0;d<arguments.length;d++){var l=arguments[d];l&&(s=a(s,i(l)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var d="";for(var l in s)t.call(s,l)&&s[l]&&(d=a(d,l));return d}function a(s,d){return d?s?s+" "+d:s+d:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Tt)),Tt.exports}var B={},_t={},sr;function $r(){return sr||(sr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Y);function r(a){return a&&a.__esModule?a:{default:a}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(s){return t.default.createElement("ul",{style:{display:"block"}},s)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(s){return t.default.createElement("button",null,s+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=i}(_t)),_t}var lr;function Ge(){if(lr)return B;lr=1,Object.defineProperty(B,"__esModule",{value:!0}),B.checkSpecKeys=B.checkNavigable=B.changeSlide=B.canUseDOM=B.canGoNext=void 0,B.clamp=c,B.extractObject=void 0,B.filterSettings=H,B.validSettings=B.swipeStart=B.swipeMove=B.swipeEnd=B.slidesOnRight=B.slidesOnLeft=B.slideHandler=B.siblingDirection=B.safePreventDefault=B.lazyStartIndex=B.lazySlidesOnRight=B.lazySlidesOnLeft=B.lazyEndIndex=B.keyHandler=B.initializedState=B.getWidth=B.getTrackLeft=B.getTrackCSS=B.getTrackAnimateCSS=B.getTotalSlides=B.getSwipeDirection=B.getSlideCount=B.getRequiredLazySlides=B.getPreClones=B.getPostClones=B.getOnDemandLazySlides=B.getNavigableIndexes=B.getHeight=void 0;var e=r(Y),t=r($r());function r(m){return m&&m.__esModule?m:{default:m}}function i(m){"@babel/helpers - typeof";return i=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},i(m)}function a(m,n){var f=Object.keys(m);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(m);n&&(O=O.filter(function($){return Object.getOwnPropertyDescriptor(m,$).enumerable})),f.push.apply(f,O)}return f}function s(m){for(var n=1;n<arguments.length;n++){var f=arguments[n]!=null?arguments[n]:{};n%2?a(Object(f),!0).forEach(function(O){d(m,O,f[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(O){Object.defineProperty(m,O,Object.getOwnPropertyDescriptor(f,O))})}return m}function d(m,n,f){return(n=l(n))in m?Object.defineProperty(m,n,{value:f,enumerable:!0,configurable:!0,writable:!0}):m[n]=f,m}function l(m){var n=u(m,"string");return i(n)=="symbol"?n:n+""}function u(m,n){if(i(m)!="object"||!m)return m;var f=m[Symbol.toPrimitive];if(f!==void 0){var O=f.call(m,n);if(i(O)!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(m)}function c(m,n,f){return Math.max(n,Math.min(m,f))}var v=B.safePreventDefault=function(n){var f=["onTouchStart","onTouchMove","onWheel"];f.includes(n._reactName)||n.preventDefault()},w=B.getOnDemandLazySlides=function(n){for(var f=[],O=x(n),$=L(n),D=O;D<$;D++)n.lazyLoadedList.indexOf(D)<0&&f.push(D);return f};B.getRequiredLazySlides=function(n){for(var f=[],O=x(n),$=L(n),D=O;D<$;D++)f.push(D);return f};var x=B.lazyStartIndex=function(n){return n.currentSlide-C(n)},L=B.lazyEndIndex=function(n){return n.currentSlide+p(n)},C=B.lazySlidesOnLeft=function(n){return n.centerMode?Math.floor(n.slidesToShow/2)+(parseInt(n.centerPadding)>0?1:0):0},p=B.lazySlidesOnRight=function(n){return n.centerMode?Math.floor((n.slidesToShow-1)/2)+1+(parseInt(n.centerPadding)>0?1:0):n.slidesToShow},I=B.getWidth=function(n){return n&&n.offsetWidth||0},k=B.getHeight=function(n){return n&&n.offsetHeight||0},F=B.getSwipeDirection=function(n){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,O,$,D,z;return O=n.startX-n.curX,$=n.startY-n.curY,D=Math.atan2($,O),z=Math.round(D*180/Math.PI),z<0&&(z=360-Math.abs(z)),z<=45&&z>=0||z<=360&&z>=315?"left":z>=135&&z<=225?"right":f===!0?z>=35&&z<=135?"up":"down":"vertical"},U=B.canGoNext=function(n){var f=!0;return n.infinite||(n.centerMode&&n.currentSlide>=n.slideCount-1||n.slideCount<=n.slidesToShow||n.currentSlide>=n.slideCount-n.slidesToShow)&&(f=!1),f};B.extractObject=function(n,f){var O={};return f.forEach(function($){return O[$]=n[$]}),O},B.initializedState=function(n){var f=e.default.Children.count(n.children),O=n.listRef,$=Math.ceil(I(O)),D=n.trackRef&&n.trackRef.node,z=Math.ceil(I(D)),N;if(n.vertical)N=$;else{var W=n.centerMode&&parseInt(n.centerPadding)*2;typeof n.centerPadding=="string"&&n.centerPadding.slice(-1)==="%"&&(W*=$/100),N=Math.ceil(($-W)/n.slidesToShow)}var q=O&&k(O.querySelector('[data-index="0"]')),K=q*n.slidesToShow,G=n.currentSlide===void 0?n.initialSlide:n.currentSlide;n.rtl&&n.currentSlide===void 0&&(G=f-1-n.initialSlide);var J=n.lazyLoadedList||[],te=w(s(s({},n),{},{currentSlide:G,lazyLoadedList:J}));J=J.concat(te);var Z={slideCount:f,slideWidth:N,listWidth:$,trackWidth:z,currentSlide:G,slideHeight:q,listHeight:K,lazyLoadedList:J};return n.autoplaying===null&&n.autoplay&&(Z.autoplaying="playing"),Z},B.slideHandler=function(n){var f=n.waitForAnimate,O=n.animating,$=n.fade,D=n.infinite,z=n.index,N=n.slideCount,W=n.lazyLoad,q=n.currentSlide,K=n.centerMode,G=n.slidesToScroll,J=n.slidesToShow,te=n.useCSS,Z=n.lazyLoadedList;if(f&&O)return{};var ee=z,ie,le,Q,oe={},ue={},ce=D?z:c(z,0,N-1);if($){if(!D&&(z<0||z>=N))return{};z<0?ee=z+N:z>=N&&(ee=z-N),W&&Z.indexOf(ee)<0&&(Z=Z.concat(ee)),oe={animating:!0,currentSlide:ee,lazyLoadedList:Z,targetSlide:ee},ue={animating:!1,targetSlide:ee}}else ie=ee,ee<0?(ie=ee+N,D?N%G!==0&&(ie=N-N%G):ie=0):!U(n)&&ee>q?ee=ie=q:K&&ee>=N?(ee=D?N:N-1,ie=D?0:N-1):ee>=N&&(ie=ee-N,D?N%G!==0&&(ie=0):ie=N-J),!D&&ee+J>=N&&(ie=N-J),le=h(s(s({},n),{},{slideIndex:ee})),Q=h(s(s({},n),{},{slideIndex:ie})),D||(le===Q&&(ee=ie),le=Q),W&&(Z=Z.concat(w(s(s({},n),{},{currentSlide:ee})))),te?(oe={animating:!0,currentSlide:ie,trackStyle:y(s(s({},n),{},{left:le})),lazyLoadedList:Z,targetSlide:ce},ue={animating:!1,currentSlide:ie,trackStyle:R(s(s({},n),{},{left:Q})),swipeLeft:null,targetSlide:ce}):oe={currentSlide:ie,trackStyle:R(s(s({},n),{},{left:Q})),lazyLoadedList:Z,targetSlide:ce};return{state:oe,nextState:ue}},B.changeSlide=function(n,f){var O,$,D,z,N,W=n.slidesToScroll,q=n.slidesToShow,K=n.slideCount,G=n.currentSlide,J=n.targetSlide,te=n.lazyLoad,Z=n.infinite;if(z=K%W!==0,O=z?0:(K-G)%W,f.message==="previous")D=O===0?W:q-O,N=G-D,te&&!Z&&($=G-D,N=$===-1?K-1:$),Z||(N=J-W);else if(f.message==="next")D=O===0?W:O,N=G+D,te&&!Z&&(N=(G+W)%K+O),Z||(N=J+W);else if(f.message==="dots")N=f.index*f.slidesToScroll;else if(f.message==="children"){if(N=f.index,Z){var ee=_(s(s({},n),{},{targetSlide:N}));N>f.currentSlide&&ee==="left"?N=N-K:N<f.currentSlide&&ee==="right"&&(N=N+K)}}else f.message==="index"&&(N=Number(f.index));return N},B.keyHandler=function(n,f,O){return n.target.tagName.match("TEXTAREA|INPUT|SELECT")||!f?"":n.keyCode===37?O?"next":"previous":n.keyCode===39?O?"previous":"next":""},B.swipeStart=function(n,f,O){return n.target.tagName==="IMG"&&v(n),!f||!O&&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}}},B.swipeMove=function(n,f){var O=f.scrolling,$=f.animating,D=f.vertical,z=f.swipeToSlide,N=f.verticalSwiping,W=f.rtl,q=f.currentSlide,K=f.edgeFriction,G=f.edgeDragged,J=f.onEdge,te=f.swiped,Z=f.swiping,ee=f.slideCount,ie=f.slidesToScroll,le=f.infinite,Q=f.touchObject,oe=f.swipeEvent,ue=f.listHeight,ce=f.listWidth;if(!O){if($)return v(n);D&&z&&N&&v(n);var pe,Ee={},tt=h(f);Q.curX=n.touches?n.touches[0].pageX:n.clientX,Q.curY=n.touches?n.touches[0].pageY:n.clientY,Q.swipeLength=Math.round(Math.sqrt(Math.pow(Q.curX-Q.startX,2)));var er=Math.round(Math.sqrt(Math.pow(Q.curY-Q.startY,2)));if(!N&&!Z&&er>10)return{scrolling:!0};N&&(Q.swipeLength=er);var $e=(W?-1:1)*(Q.curX>Q.startX?1:-1);N&&($e=Q.curY>Q.startY?1:-1);var kn=Math.ceil(ee/ie),Ce=F(f.touchObject,N),Ie=Q.swipeLength;return le||(q===0&&(Ce==="right"||Ce==="down")||q+1>=kn&&(Ce==="left"||Ce==="up")||!U(f)&&(Ce==="left"||Ce==="up"))&&(Ie=Q.swipeLength*K,G===!1&&J&&(J(Ce),Ee.edgeDragged=!0)),!te&&oe&&(oe(Ce),Ee.swiped=!0),D?pe=tt+Ie*(ue/ce)*$e:W?pe=tt-Ie*$e:pe=tt+Ie*$e,N&&(pe=tt+Ie*$e),Ee=s(s({},Ee),{},{touchObject:Q,swipeLeft:pe,trackStyle:R(s(s({},f),{},{left:pe}))}),Math.abs(Q.curX-Q.startX)<Math.abs(Q.curY-Q.startY)*.8||Q.swipeLength>10&&(Ee.swiping=!0,v(n)),Ee}},B.swipeEnd=function(n,f){var O=f.dragging,$=f.swipe,D=f.touchObject,z=f.listWidth,N=f.touchThreshold,W=f.verticalSwiping,q=f.listHeight,K=f.swipeToSlide,G=f.scrolling,J=f.onSwipe,te=f.targetSlide,Z=f.currentSlide,ee=f.infinite;if(!O)return $&&v(n),{};var ie=W?q/N:z/N,le=F(D,W),Q={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(G||!D.swipeLength)return Q;if(D.swipeLength>ie){v(n),J&&J(le);var oe,ue,ce=ee?Z:te;switch(le){case"left":case"up":ue=ce+b(f),oe=K?g(f,ue):ue,Q.currentDirection=0;break;case"right":case"down":ue=ce-b(f),oe=K?g(f,ue):ue,Q.currentDirection=1;break;default:oe=ce}Q.triggerSlideHandler=oe}else{var pe=h(f);Q.trackStyle=y(s(s({},f),{},{left:pe}))}return Q};var V=B.getNavigableIndexes=function(n){for(var f=n.infinite?n.slideCount*2:n.slideCount,O=n.infinite?n.slidesToShow*-1:0,$=n.infinite?n.slidesToShow*-1:0,D=[];O<f;)D.push(O),O=$+n.slidesToScroll,$+=Math.min(n.slidesToScroll,n.slidesToShow);return D},g=B.checkNavigable=function(n,f){var O=V(n),$=0;if(f>O[O.length-1])f=O[O.length-1];else for(var D in O){if(f<O[D]){f=$;break}$=O[D]}return f},b=B.getSlideCount=function(n){var f=n.centerMode?n.slideWidth*Math.floor(n.slidesToShow/2):0;if(n.swipeToSlide){var O,$=n.listRef,D=$.querySelectorAll&&$.querySelectorAll(".slick-slide")||[];if(Array.from(D).every(function(W){if(n.vertical){if(W.offsetTop+k(W)/2>n.swipeLeft*-1)return O=W,!1}else if(W.offsetLeft-f+I(W)/2>n.swipeLeft*-1)return O=W,!1;return!0}),!O)return 0;var z=n.rtl===!0?n.slideCount-n.currentSlide:n.currentSlide,N=Math.abs(O.dataset.index-z)||1;return N}else return n.slidesToScroll},S=B.checkSpecKeys=function(n,f){return f.reduce(function(O,$){return O&&n.hasOwnProperty($)},!0)?null:console.error("Keys Missing:",n)},R=B.getTrackCSS=function(n){S(n,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var f,O;if(!n.vertical)f=T(n)*n.slideWidth;else{var $=n.unslick?n.slideCount:n.slideCount+2*n.slidesToShow;O=$*n.slideHeight}var D={opacity:1,transition:"",WebkitTransition:""};if(n.useTransform){var z=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",N=n.vertical?"translate3d(0px, "+n.left+"px, 0px)":"translate3d("+n.left+"px, 0px, 0px)",W=n.vertical?"translateY("+n.left+"px)":"translateX("+n.left+"px)";D=s(s({},D),{},{WebkitTransform:z,transform:N,msTransform:W})}else n.vertical?D.top=n.left:D.left=n.left;return n.fade&&(D={opacity:1}),f&&(D.width=f),O&&(D.height=O),window&&!window.addEventListener&&window.attachEvent&&(n.vertical?D.marginTop=n.left+"px":D.marginLeft=n.left+"px"),D},y=B.getTrackAnimateCSS=function(n){S(n,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var f=R(n);return n.useTransform?(f.WebkitTransition="-webkit-transform "+n.speed+"ms "+n.cssEase,f.transition="transform "+n.speed+"ms "+n.cssEase):n.vertical?f.transition="top "+n.speed+"ms "+n.cssEase:f.transition="left "+n.speed+"ms "+n.cssEase,f},h=B.getTrackLeft=function(n){if(n.unslick)return 0;S(n,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var f=n.slideIndex,O=n.trackRef,$=n.infinite,D=n.centerMode,z=n.slideCount,N=n.slidesToShow,W=n.slidesToScroll,q=n.slideWidth,K=n.listWidth,G=n.variableWidth,J=n.slideHeight,te=n.fade,Z=n.vertical,ee=0,ie,le,Q=0;if(te||n.slideCount===1)return 0;var oe=0;if($?(oe=-P(n),z%W!==0&&f+W>z&&(oe=-(f>z?N-(f-z):z%W)),D&&(oe+=parseInt(N/2))):(z%W!==0&&f+W>z&&(oe=N-z%W),D&&(oe=parseInt(N/2))),ee=oe*q,Q=oe*J,Z?ie=f*J*-1+Q:ie=f*q*-1+ee,G===!0){var ue,ce=O&&O.node;if(ue=f+P(n),le=ce&&ce.childNodes[ue],ie=le?le.offsetLeft*-1:0,D===!0){ue=$?f+P(n):f,le=ce&&ce.children[ue],ie=0;for(var pe=0;pe<ue;pe++)ie-=ce&&ce.children[pe]&&ce.children[pe].offsetWidth;ie-=parseInt(n.centerPadding),ie+=le&&(K-le.offsetWidth)/2}}return ie},P=B.getPreClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},A=B.getPostClones=function(n){return n.unslick||!n.infinite?0:n.variableWidth?n.slideCount:n.slidesToShow+(n.centerMode?1:0)},T=B.getTotalSlides=function(n){return n.slideCount===1?1:P(n)+n.slideCount+A(n)},_=B.siblingDirection=function(n){return n.targetSlide>n.currentSlide?n.targetSlide>n.currentSlide+E(n)?"left":"right":n.targetSlide<n.currentSlide-j(n)?"right":"left"},E=B.slidesOnRight=function(n){var f=n.slidesToShow,O=n.centerMode,$=n.rtl,D=n.centerPadding;if(O){var z=(f-1)/2+1;return parseInt(D)>0&&(z+=1),$&&f%2===0&&(z+=1),z}return $?0:f-1},j=B.slidesOnLeft=function(n){var f=n.slidesToShow,O=n.centerMode,$=n.rtl,D=n.centerPadding;if(O){var z=(f-1)/2+1;return parseInt(D)>0&&(z+=1),!$&&f%2===0&&(z+=1),z}return $?f-1:0};B.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var o=B.validSettings=Object.keys(t.default);function H(m){return o.reduce(function(n,f){return m.hasOwnProperty(f)&&(n[f]=m[f]),n},{})}return B}var Ne={},ur;function Dn(){if(ur)return Ne;ur=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.Track=void 0;var e=i(Y),t=i(yt()),r=Ge();function i(y){return y&&y.__esModule?y:{default:y}}function a(y){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},a(y)}function s(){return s=Object.assign?Object.assign.bind():function(y){for(var h=1;h<arguments.length;h++){var P=arguments[h];for(var A in P)({}).hasOwnProperty.call(P,A)&&(y[A]=P[A])}return y},s.apply(null,arguments)}function d(y,h){if(!(y instanceof h))throw new TypeError("Cannot call a class as a function")}function l(y,h){for(var P=0;P<h.length;P++){var A=h[P];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(y,U(A.key),A)}}function u(y,h,P){return h&&l(y.prototype,h),Object.defineProperty(y,"prototype",{writable:!1}),y}function c(y,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(h&&h.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),h&&v(y,h)}function v(y,h){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,A){return P.__proto__=A,P},v(y,h)}function w(y){var h=C();return function(){var P,A=p(y);if(h){var T=p(this).constructor;P=Reflect.construct(A,arguments,T)}else P=A.apply(this,arguments);return x(this,P)}}function x(y,h){if(h&&(a(h)=="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return L(y)}function L(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function C(){try{var y=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(C=function(){return!!y})()}function p(y){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(h){return h.__proto__||Object.getPrototypeOf(h)},p(y)}function I(y,h){var P=Object.keys(y);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(y);h&&(A=A.filter(function(T){return Object.getOwnPropertyDescriptor(y,T).enumerable})),P.push.apply(P,A)}return P}function k(y){for(var h=1;h<arguments.length;h++){var P=arguments[h]!=null?arguments[h]:{};h%2?I(Object(P),!0).forEach(function(A){F(y,A,P[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(P)):I(Object(P)).forEach(function(A){Object.defineProperty(y,A,Object.getOwnPropertyDescriptor(P,A))})}return y}function F(y,h,P){return(h=U(h))in y?Object.defineProperty(y,h,{value:P,enumerable:!0,configurable:!0,writable:!0}):y[h]=P,y}function U(y){var h=V(y,"string");return a(h)=="symbol"?h:h+""}function V(y,h){if(a(y)!="object"||!y)return y;var P=y[Symbol.toPrimitive];if(P!==void 0){var A=P.call(y,h);if(a(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(y)}var g=function(h){var P,A,T,_,E;h.rtl?E=h.slideCount-1-h.index:E=h.index,T=E<0||E>=h.slideCount,h.centerMode?(_=Math.floor(h.slidesToShow/2),A=(E-h.currentSlide)%h.slideCount===0,E>h.currentSlide-_-1&&E<=h.currentSlide+_&&(P=!0)):P=h.currentSlide<=E&&E<h.currentSlide+h.slidesToShow;var j;h.targetSlide<0?j=h.targetSlide+h.slideCount:h.targetSlide>=h.slideCount?j=h.targetSlide-h.slideCount:j=h.targetSlide;var o=E===j;return{"slick-slide":!0,"slick-active":P,"slick-center":A,"slick-cloned":T,"slick-current":o}},b=function(h){var P={};return(h.variableWidth===void 0||h.variableWidth===!1)&&(P.width=h.slideWidth),h.fade&&(P.position="relative",h.vertical?P.top=-h.index*parseInt(h.slideHeight):P.left=-h.index*parseInt(h.slideWidth),P.opacity=h.currentSlide===h.index?1:0,P.zIndex=h.currentSlide===h.index?999:998,h.useCSS&&(P.transition="opacity "+h.speed+"ms "+h.cssEase+", visibility "+h.speed+"ms "+h.cssEase)),P},S=function(h,P){return h.key||P},R=function(h){var P,A=[],T=[],_=[],E=e.default.Children.count(h.children),j=(0,r.lazyStartIndex)(h),o=(0,r.lazyEndIndex)(h);return e.default.Children.forEach(h.children,function(H,m){var n,f={message:"children",index:m,slidesToScroll:h.slidesToScroll,currentSlide:h.currentSlide};!h.lazyLoad||h.lazyLoad&&h.lazyLoadedList.indexOf(m)>=0?n=H:n=e.default.createElement("div",null);var O=b(k(k({},h),{},{index:m})),$=n.props.className||"",D=g(k(k({},h),{},{index:m}));if(A.push(e.default.cloneElement(n,{key:"original"+S(n,m),"data-index":m,className:(0,t.default)(D,$),tabIndex:"-1","aria-hidden":!D["slick-active"],style:k(k({outline:"none"},n.props.style||{}),O),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),h.focusOnSelect&&h.focusOnSelect(f)}})),h.infinite&&E>1&&h.fade===!1&&!h.unslick){var z=E-m;z<=(0,r.getPreClones)(h)&&(P=-z,P>=j&&(n=H),D=g(k(k({},h),{},{index:P})),T.push(e.default.cloneElement(n,{key:"precloned"+S(n,P),"data-index":P,tabIndex:"-1",className:(0,t.default)(D,$),"aria-hidden":!D["slick-active"],style:k(k({},n.props.style||{}),O),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),h.focusOnSelect&&h.focusOnSelect(f)}}))),m<(0,r.getPostClones)(h)&&(P=E+m,P<o&&(n=H),D=g(k(k({},h),{},{index:P})),_.push(e.default.cloneElement(n,{key:"postcloned"+S(n,P),"data-index":P,tabIndex:"-1",className:(0,t.default)(D,$),"aria-hidden":!D["slick-active"],style:k(k({},n.props.style||{}),O),onClick:function(W){n.props&&n.props.onClick&&n.props.onClick(W),h.focusOnSelect&&h.focusOnSelect(f)}})))}}),h.rtl?T.concat(A,_).reverse():T.concat(A,_)};return Ne.Track=function(y){c(P,y);var h=w(P);function P(){var A;d(this,P);for(var T=arguments.length,_=new Array(T),E=0;E<T;E++)_[E]=arguments[E];return A=h.call.apply(h,[this].concat(_)),F(L(A),"node",null),F(L(A),"handleRef",function(j){A.node=j}),A}return u(P,[{key:"render",value:function(){var T=R(this.props),_=this.props,E=_.onMouseEnter,j=_.onMouseOver,o=_.onMouseLeave,H={onMouseEnter:E,onMouseOver:j,onMouseLeave:o};return e.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},H),T)}}]),P}(e.default.PureComponent),Ne}var Fe={},cr;function Mn(){if(cr)return Fe;cr=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},e(g)}Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.Dots=void 0;var t=a(Y),r=a(yt()),i=Ge();function a(g){return g&&g.__esModule?g:{default:g}}function s(g,b){var S=Object.keys(g);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(g);b&&(R=R.filter(function(y){return Object.getOwnPropertyDescriptor(g,y).enumerable})),S.push.apply(S,R)}return S}function d(g){for(var b=1;b<arguments.length;b++){var S=arguments[b]!=null?arguments[b]:{};b%2?s(Object(S),!0).forEach(function(R){l(g,R,S[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(S)):s(Object(S)).forEach(function(R){Object.defineProperty(g,R,Object.getOwnPropertyDescriptor(S,R))})}return g}function l(g,b,S){return(b=w(b))in g?Object.defineProperty(g,b,{value:S,enumerable:!0,configurable:!0,writable:!0}):g[b]=S,g}function u(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function c(g,b){for(var S=0;S<b.length;S++){var R=b[S];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(g,w(R.key),R)}}function v(g,b,S){return b&&c(g.prototype,b),Object.defineProperty(g,"prototype",{writable:!1}),g}function w(g){var b=x(g,"string");return e(b)=="symbol"?b:b+""}function x(g,b){if(e(g)!="object"||!g)return g;var S=g[Symbol.toPrimitive];if(S!==void 0){var R=S.call(g,b);if(e(R)!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(g)}function L(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),b&&C(g,b)}function C(g,b){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,R){return S.__proto__=R,S},C(g,b)}function p(g){var b=F();return function(){var S,R=U(g);if(b){var y=U(this).constructor;S=Reflect.construct(R,arguments,y)}else S=R.apply(this,arguments);return I(this,S)}}function I(g,b){if(b&&(e(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(g)}function k(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function F(){try{var g=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(F=function(){return!!g})()}function U(g){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},U(g)}var V=function(b){var S;return b.infinite?S=Math.ceil(b.slideCount/b.slidesToScroll):S=Math.ceil((b.slideCount-b.slidesToShow)/b.slidesToScroll)+1,S};return Fe.Dots=function(g){L(S,g);var b=p(S);function S(){return u(this,S),b.apply(this,arguments)}return v(S,[{key:"clickHandler",value:function(y,h){h.preventDefault(),this.props.clickHandler(y)}},{key:"render",value:function(){for(var y=this.props,h=y.onMouseEnter,P=y.onMouseOver,A=y.onMouseLeave,T=y.infinite,_=y.slidesToScroll,E=y.slidesToShow,j=y.slideCount,o=y.currentSlide,H=V({slideCount:j,slidesToScroll:_,slidesToShow:E,infinite:T}),m={onMouseEnter:h,onMouseOver:P,onMouseLeave:A},n=[],f=0;f<H;f++){var O=(f+1)*_-1,$=T?O:(0,i.clamp)(O,0,j-1),D=$-(_-1),z=T?D:(0,i.clamp)(D,0,j-1),N=(0,r.default)({"slick-active":T?o>=z&&o<=$:o===z}),W={message:"dots",index:f,slidesToScroll:_,currentSlide:o},q=this.clickHandler.bind(this,W);n=n.concat(t.default.createElement("li",{key:f,className:N},t.default.cloneElement(this.props.customPaging(f),{onClick:q})))}return t.default.cloneElement(this.props.appendDots(n),d({className:this.props.dotsClass},m))}}]),S}(t.default.PureComponent),Fe}var Re={},fr;function $n(){if(fr)return Re;fr=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},e(g)}Object.defineProperty(Re,"__esModule",{value:!0}),Re.PrevArrow=Re.NextArrow=void 0;var t=a(Y),r=a(yt()),i=Ge();function a(g){return g&&g.__esModule?g:{default:g}}function s(){return s=Object.assign?Object.assign.bind():function(g){for(var b=1;b<arguments.length;b++){var S=arguments[b];for(var R in S)({}).hasOwnProperty.call(S,R)&&(g[R]=S[R])}return g},s.apply(null,arguments)}function d(g,b){var S=Object.keys(g);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(g);b&&(R=R.filter(function(y){return Object.getOwnPropertyDescriptor(g,y).enumerable})),S.push.apply(S,R)}return S}function l(g){for(var b=1;b<arguments.length;b++){var S=arguments[b]!=null?arguments[b]:{};b%2?d(Object(S),!0).forEach(function(R){u(g,R,S[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(S)):d(Object(S)).forEach(function(R){Object.defineProperty(g,R,Object.getOwnPropertyDescriptor(S,R))})}return g}function u(g,b,S){return(b=x(b))in g?Object.defineProperty(g,b,{value:S,enumerable:!0,configurable:!0,writable:!0}):g[b]=S,g}function c(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function v(g,b){for(var S=0;S<b.length;S++){var R=b[S];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(g,x(R.key),R)}}function w(g,b,S){return b&&v(g.prototype,b),Object.defineProperty(g,"prototype",{writable:!1}),g}function x(g){var b=L(g,"string");return e(b)=="symbol"?b:b+""}function L(g,b){if(e(g)!="object"||!g)return g;var S=g[Symbol.toPrimitive];if(S!==void 0){var R=S.call(g,b);if(e(R)!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(g)}function C(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),b&&p(g,b)}function p(g,b){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,R){return S.__proto__=R,S},p(g,b)}function I(g){var b=U();return function(){var S,R=V(g);if(b){var y=V(this).constructor;S=Reflect.construct(R,arguments,y)}else S=R.apply(this,arguments);return k(this,S)}}function k(g,b){if(b&&(e(b)=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(g)}function F(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function U(){try{var g=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!g})()}function V(g){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},V(g)}return Re.PrevArrow=function(g){C(S,g);var b=I(S);function S(){return c(this,S),b.apply(this,arguments)}return w(S,[{key:"clickHandler",value:function(y,h){h&&h.preventDefault(),this.props.clickHandler(y,h)}},{key:"render",value:function(){var y={"slick-arrow":!0,"slick-prev":!0},h=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(y["slick-disabled"]=!0,h=null);var P={key:"0","data-role":"none",className:(0,r.default)(y),style:{display:"block"},onClick:h},A={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},T;return this.props.prevArrow?T=t.default.cloneElement(this.props.prevArrow,l(l({},P),A)):T=t.default.createElement("button",s({key:"0",type:"button"},P)," ","Previous"),T}}]),S}(t.default.PureComponent),Re.NextArrow=function(g){C(S,g);var b=I(S);function S(){return c(this,S),b.apply(this,arguments)}return w(S,[{key:"clickHandler",value:function(y,h){h&&h.preventDefault(),this.props.clickHandler(y,h)}},{key:"render",value:function(){var y={"slick-arrow":!0,"slick-next":!0},h=this.clickHandler.bind(this,{message:"next"});(0,i.canGoNext)(this.props)||(y["slick-disabled"]=!0,h=null);var P={key:"1","data-role":"none",className:(0,r.default)(y),style:{display:"block"},onClick:h},A={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},T;return this.props.nextArrow?T=t.default.cloneElement(this.props.nextArrow,l(l({},P),A)):T=t.default.createElement("button",s({key:"1",type:"button"},P)," ","Next"),T}}]),S}(t.default.PureComponent),Re}var Ir=function(){if(typeof Map<"u")return Map;function e(t,r){var i=-1;return t.some(function(a,s){return a[0]===r?(i=s,!0):!1}),i}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 i=e(this.__entries__,r),a=this.__entries__[i];return a&&a[1]},t.prototype.set=function(r,i){var a=e(this.__entries__,r);~a?this.__entries__[a][1]=i:this.__entries__.push([r,i])},t.prototype.delete=function(r){var i=this.__entries__,a=e(i,r);~a&&i.splice(a,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,i){i===void 0&&(i=null);for(var a=0,s=this.__entries__;a<s.length;a++){var d=s[a];r.call(i,d[1],d[0])}},t}()}(),It=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=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")()}(),In=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),An=2;function Hn(e,t){var r=!1,i=!1,a=0;function s(){r&&(r=!1,e()),i&&l()}function d(){In(s)}function l(){var u=Date.now();if(r){if(u-a<An)return;i=!0}else r=!0,i=!1,setTimeout(d,t);a=u}return l}var zn=20,Nn=["top","right","bottom","left","width","height","size","weight"],Fn=typeof MutationObserver<"u",Wn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Hn(this.refresh.bind(this),zn)}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_,i=r.indexOf(t);~i&&r.splice(i,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(){!It||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Fn?(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(){!It||!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,i=r===void 0?"":r,a=Nn.some(function(s){return!!~i.indexOf(s)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Ar=function(e,t){for(var r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},_e=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||pt},Hr=bt(0,0,0,0);function mt(e){return parseFloat(e)||0}function dr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(i,a){var s=e["border-"+a+"-width"];return i+mt(s)},0)}function Un(e){for(var t=["top","right","bottom","left"],r={},i=0,a=t;i<a.length;i++){var s=a[i],d=e["padding-"+s];r[s]=mt(d)}return r}function Yn(e){var t=e.getBBox();return bt(0,0,t.width,t.height)}function Bn(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Hr;var i=_e(e).getComputedStyle(e),a=Un(i),s=a.left+a.right,d=a.top+a.bottom,l=mt(i.width),u=mt(i.height);if(i.boxSizing==="border-box"&&(Math.round(l+s)!==t&&(l-=dr(i,"left","right")+s),Math.round(u+d)!==r&&(u-=dr(i,"top","bottom")+d)),!qn(e)){var c=Math.round(l+s)-t,v=Math.round(u+d)-r;Math.abs(c)!==1&&(l-=c),Math.abs(v)!==1&&(u-=v)}return bt(a.left,a.top,l,u)}var Vn=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 qn(e){return e===_e(e).document.documentElement}function Xn(e){return It?Vn(e)?Yn(e):Bn(e):Hr}function Gn(e){var t=e.x,r=e.y,i=e.width,a=e.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,d=Object.create(s.prototype);return Ar(d,{x:t,y:r,width:i,height:a,top:r,right:t+i,bottom:a+r,left:t}),d}function bt(e,t,r,i){return{x:e,y:t,width:r,height:i}}var Kn=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=bt(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Xn(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}(),Jn=function(){function e(t,r){var i=Gn(r);Ar(this,{target:t,contentRect:i})}return e}(),Zn=function(){function e(t,r,i){if(this.activeObservations_=[],this.observations_=new Ir,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=i}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 Kn(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(i){return new Jn(i.target,i.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}(),zr=typeof WeakMap<"u"?new WeakMap:new Ir,Nr=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=Wn.getInstance(),i=new Zn(t,r,this);zr.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Nr.prototype[e]=function(){var t;return(t=zr.get(this))[e].apply(t,arguments)}});var Qn=function(){return typeof pt.ResizeObserver<"u"?pt.ResizeObserver:Nr}();const ei=Object.freeze(Object.defineProperty({__proto__:null,default:Qn},Symbol.toStringTag,{value:"Module"})),ti=Pn(ei);var hr;function ri(){if(hr)return ze;hr=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.InnerSlider=void 0;var e=c(Y),t=c(jn()),r=c(Ln()),i=c(yt()),a=Ge(),s=Dn(),d=Mn(),l=$n(),u=c(ti);function c(T){return T&&T.__esModule?T:{default:T}}function v(T){"@babel/helpers - typeof";return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},v(T)}function w(){return w=Object.assign?Object.assign.bind():function(T){for(var _=1;_<arguments.length;_++){var E=arguments[_];for(var j in E)({}).hasOwnProperty.call(E,j)&&(T[j]=E[j])}return T},w.apply(null,arguments)}function x(T,_){if(T==null)return{};var E,j,o=L(T,_);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(T);for(j=0;j<H.length;j++)E=H[j],_.includes(E)||{}.propertyIsEnumerable.call(T,E)&&(o[E]=T[E])}return o}function L(T,_){if(T==null)return{};var E={};for(var j in T)if({}.hasOwnProperty.call(T,j)){if(_.includes(j))continue;E[j]=T[j]}return E}function C(T,_){var E=Object.keys(T);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(T);_&&(j=j.filter(function(o){return Object.getOwnPropertyDescriptor(T,o).enumerable})),E.push.apply(E,j)}return E}function p(T){for(var _=1;_<arguments.length;_++){var E=arguments[_]!=null?arguments[_]:{};_%2?C(Object(E),!0).forEach(function(j){h(T,j,E[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(E)):C(Object(E)).forEach(function(j){Object.defineProperty(T,j,Object.getOwnPropertyDescriptor(E,j))})}return T}function I(T,_){if(!(T instanceof _))throw new TypeError("Cannot call a class as a function")}function k(T,_){for(var E=0;E<_.length;E++){var j=_[E];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(T,P(j.key),j)}}function F(T,_,E){return _&&k(T.prototype,_),Object.defineProperty(T,"prototype",{writable:!1}),T}function U(T,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(_&&_.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),Object.defineProperty(T,"prototype",{writable:!1}),_&&V(T,_)}function V(T,_){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,j){return E.__proto__=j,E},V(T,_)}function g(T){var _=R();return function(){var E,j=y(T);if(_){var o=y(this).constructor;E=Reflect.construct(j,arguments,o)}else E=j.apply(this,arguments);return b(this,E)}}function b(T,_){if(_&&(v(_)=="object"||typeof _=="function"))return _;if(_!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(T)}function S(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function R(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(R=function(){return!!T})()}function y(T){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(_){return _.__proto__||Object.getPrototypeOf(_)},y(T)}function h(T,_,E){return(_=P(_))in T?Object.defineProperty(T,_,{value:E,enumerable:!0,configurable:!0,writable:!0}):T[_]=E,T}function P(T){var _=A(T,"string");return v(_)=="symbol"?_:_+""}function A(T,_){if(v(T)!="object"||!T)return T;var E=T[Symbol.toPrimitive];if(E!==void 0){var j=E.call(T,_);if(v(j)!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return(_==="string"?String:Number)(T)}return ze.InnerSlider=function(T){U(E,T);var _=g(E);function E(j){var o;I(this,E),o=_.call(this,j),h(S(o),"listRefHandler",function(m){return o.list=m}),h(S(o),"trackRefHandler",function(m){return o.track=m}),h(S(o),"adaptHeight",function(){if(o.props.adaptiveHeight&&o.list){var m=o.list.querySelector('[data-index="'.concat(o.state.currentSlide,'"]'));o.list.style.height=(0,a.getHeight)(m)+"px"}}),h(S(o),"componentDidMount",function(){if(o.props.onInit&&o.props.onInit(),o.props.lazyLoad){var m=(0,a.getOnDemandLazySlides)(p(p({},o.props),o.state));m.length>0&&(o.setState(function(f){return{lazyLoadedList:f.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m))}var n=p({listRef:o.list,trackRef:o.track},o.props);o.updateState(n,!0,function(){o.adaptHeight(),o.props.autoplay&&o.autoPlay("update")}),o.props.lazyLoad==="progressive"&&(o.lazyLoadTimer=setInterval(o.progressiveLazyLoad,1e3)),o.ro=new u.default(function(){o.state.animating?(o.onWindowResized(!1),o.callbackTimers.push(setTimeout(function(){return o.onWindowResized()},o.props.speed))):o.onWindowResized()}),o.ro.observe(o.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(f){f.onfocus=o.props.pauseOnFocus?o.onSlideFocus:null,f.onblur=o.props.pauseOnFocus?o.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",o.onWindowResized):window.attachEvent("onresize",o.onWindowResized)}),h(S(o),"componentWillUnmount",function(){o.animationEndCallback&&clearTimeout(o.animationEndCallback),o.lazyLoadTimer&&clearInterval(o.lazyLoadTimer),o.callbackTimers.length&&(o.callbackTimers.forEach(function(m){return clearTimeout(m)}),o.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",o.onWindowResized):window.detachEvent("onresize",o.onWindowResized),o.autoplayTimer&&clearInterval(o.autoplayTimer),o.ro.disconnect()}),h(S(o),"componentDidUpdate",function(m){if(o.checkImagesLoad(),o.props.onReInit&&o.props.onReInit(),o.props.lazyLoad){var n=(0,a.getOnDemandLazySlides)(p(p({},o.props),o.state));n.length>0&&(o.setState(function($){return{lazyLoadedList:$.lazyLoadedList.concat(n)}}),o.props.onLazyLoad&&o.props.onLazyLoad(n))}o.adaptHeight();var f=p(p({listRef:o.list,trackRef:o.track},o.props),o.state),O=o.didPropsChange(m);O&&o.updateState(f,O,function(){o.state.currentSlide>=e.default.Children.count(o.props.children)&&o.changeSlide({message:"index",index:e.default.Children.count(o.props.children)-o.props.slidesToShow,currentSlide:o.state.currentSlide}),o.props.autoplay?o.autoPlay("update"):o.pause("paused")})}),h(S(o),"onWindowResized",function(m){o.debouncedResize&&o.debouncedResize.cancel(),o.debouncedResize=(0,r.default)(function(){return o.resizeWindow(m)},50),o.debouncedResize()}),h(S(o),"resizeWindow",function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,n=!!(o.track&&o.track.node);if(n){var f=p(p({listRef:o.list,trackRef:o.track},o.props),o.state);o.updateState(f,m,function(){o.props.autoplay?o.autoPlay("update"):o.pause("paused")}),o.setState({animating:!1}),clearTimeout(o.animationEndCallback),delete o.animationEndCallback}}),h(S(o),"updateState",function(m,n,f){var O=(0,a.initializedState)(m);m=p(p(p({},m),O),{},{slideIndex:O.currentSlide});var $=(0,a.getTrackLeft)(m);m=p(p({},m),{},{left:$});var D=(0,a.getTrackCSS)(m);(n||e.default.Children.count(o.props.children)!==e.default.Children.count(m.children))&&(O.trackStyle=D),o.setState(O,f)}),h(S(o),"ssrInit",function(){if(o.props.variableWidth){var m=0,n=0,f=[],O=(0,a.getPreClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length})),$=(0,a.getPostClones)(p(p(p({},o.props),o.state),{},{slideCount:o.props.children.length}));o.props.children.forEach(function(le){f.push(le.props.style.width),m+=le.props.style.width});for(var D=0;D<O;D++)n+=f[f.length-1-D],m+=f[f.length-1-D];for(var z=0;z<$;z++)m+=f[z];for(var N=0;N<o.state.currentSlide;N++)n+=f[N];var W={width:m+"px",left:-n+"px"};if(o.props.centerMode){var q="".concat(f[o.state.currentSlide],"px");W.left="calc(".concat(W.left," + (100% - ").concat(q,") / 2 ) ")}return{trackStyle:W}}var K=e.default.Children.count(o.props.children),G=p(p(p({},o.props),o.state),{},{slideCount:K}),J=(0,a.getPreClones)(G)+(0,a.getPostClones)(G)+K,te=100/o.props.slidesToShow*J,Z=100/J,ee=-Z*((0,a.getPreClones)(G)+o.state.currentSlide)*te/100;o.props.centerMode&&(ee+=(100-Z*te/100)/2);var ie={width:te+"%",left:ee+"%"};return{slideWidth:Z+"%",trackStyle:ie}}),h(S(o),"checkImagesLoad",function(){var m=o.list&&o.list.querySelectorAll&&o.list.querySelectorAll(".slick-slide img")||[],n=m.length,f=0;Array.prototype.forEach.call(m,function(O){var $=function(){return++f&&f>=n&&o.onWindowResized()};if(!O.onclick)O.onclick=function(){return O.parentNode.focus()};else{var D=O.onclick;O.onclick=function(z){D(z),O.parentNode.focus()}}O.onload||(o.props.lazyLoad?O.onload=function(){o.adaptHeight(),o.callbackTimers.push(setTimeout(o.onWindowResized,o.props.speed))}:(O.onload=$,O.onerror=function(){$(),o.props.onLazyLoadError&&o.props.onLazyLoadError()}))})}),h(S(o),"progressiveLazyLoad",function(){for(var m=[],n=p(p({},o.props),o.state),f=o.state.currentSlide;f<o.state.slideCount+(0,a.getPostClones)(n);f++)if(o.state.lazyLoadedList.indexOf(f)<0){m.push(f);break}for(var O=o.state.currentSlide-1;O>=-(0,a.getPreClones)(n);O--)if(o.state.lazyLoadedList.indexOf(O)<0){m.push(O);break}m.length>0?(o.setState(function($){return{lazyLoadedList:$.lazyLoadedList.concat(m)}}),o.props.onLazyLoad&&o.props.onLazyLoad(m)):o.lazyLoadTimer&&(clearInterval(o.lazyLoadTimer),delete o.lazyLoadTimer)}),h(S(o),"slideHandler",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=o.props,O=f.asNavFor,$=f.beforeChange,D=f.onLazyLoad,z=f.speed,N=f.afterChange,W=o.state.currentSlide,q=(0,a.slideHandler)(p(p(p({index:m},o.props),o.state),{},{trackRef:o.track,useCSS:o.props.useCSS&&!n})),K=q.state,G=q.nextState;if(K){$&&$(W,K.currentSlide);var J=K.lazyLoadedList.filter(function(te){return o.state.lazyLoadedList.indexOf(te)<0});D&&J.length>0&&D(J),!o.props.waitForAnimate&&o.animationEndCallback&&(clearTimeout(o.animationEndCallback),N&&N(W),delete o.animationEndCallback),o.setState(K,function(){O&&o.asNavForIndex!==m&&(o.asNavForIndex=m,O.innerSlider.slideHandler(m)),G&&(o.animationEndCallback=setTimeout(function(){var te=G.animating,Z=x(G,["animating"]);o.setState(Z,function(){o.callbackTimers.push(setTimeout(function(){return o.setState({animating:te})},10)),N&&N(K.currentSlide),delete o.animationEndCallback})},z))})}}),h(S(o),"changeSlide",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f=p(p({},o.props),o.state),O=(0,a.changeSlide)(f,m);if(!(O!==0&&!O)&&(n===!0?o.slideHandler(O,n):o.slideHandler(O),o.props.autoplay&&o.autoPlay("update"),o.props.focusOnSelect)){var $=o.list.querySelectorAll(".slick-current");$[0]&&$[0].focus()}}),h(S(o),"clickHandler",function(m){o.clickable===!1&&(m.stopPropagation(),m.preventDefault()),o.clickable=!0}),h(S(o),"keyHandler",function(m){var n=(0,a.keyHandler)(m,o.props.accessibility,o.props.rtl);n!==""&&o.changeSlide({message:n})}),h(S(o),"selectHandler",function(m){o.changeSlide(m)}),h(S(o),"disableBodyScroll",function(){var m=function(f){f=f||window.event,f.preventDefault&&f.preventDefault(),f.returnValue=!1};window.ontouchmove=m}),h(S(o),"enableBodyScroll",function(){window.ontouchmove=null}),h(S(o),"swipeStart",function(m){o.props.verticalSwiping&&o.disableBodyScroll();var n=(0,a.swipeStart)(m,o.props.swipe,o.props.draggable);n!==""&&o.setState(n)}),h(S(o),"swipeMove",function(m){var n=(0,a.swipeMove)(m,p(p(p({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));n&&(n.swiping&&(o.clickable=!1),o.setState(n))}),h(S(o),"swipeEnd",function(m){var n=(0,a.swipeEnd)(m,p(p(p({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));if(n){var f=n.triggerSlideHandler;delete n.triggerSlideHandler,o.setState(n),f!==void 0&&(o.slideHandler(f),o.props.verticalSwiping&&o.enableBodyScroll())}}),h(S(o),"touchEnd",function(m){o.swipeEnd(m),o.clickable=!0}),h(S(o),"slickPrev",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"previous"})},0))}),h(S(o),"slickNext",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"next"})},0))}),h(S(o),"slickGoTo",function(m){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(m=Number(m),isNaN(m))return"";o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"index",index:m,currentSlide:o.state.currentSlide},n)},0))}),h(S(o),"play",function(){var m;if(o.props.rtl)m=o.state.currentSlide-o.props.slidesToScroll;else if((0,a.canGoNext)(p(p({},o.props),o.state)))m=o.state.currentSlide+o.props.slidesToScroll;else return!1;o.slideHandler(m)}),h(S(o),"autoPlay",function(m){o.autoplayTimer&&clearInterval(o.autoplayTimer);var n=o.state.autoplaying;if(m==="update"){if(n==="hovered"||n==="focused"||n==="paused")return}else if(m==="leave"){if(n==="paused"||n==="focused")return}else if(m==="blur"&&(n==="paused"||n==="hovered"))return;o.autoplayTimer=setInterval(o.play,o.props.autoplaySpeed+50),o.setState({autoplaying:"playing"})}),h(S(o),"pause",function(m){o.autoplayTimer&&(clearInterval(o.autoplayTimer),o.autoplayTimer=null);var n=o.state.autoplaying;m==="paused"?o.setState({autoplaying:"paused"}):m==="focused"?(n==="hovered"||n==="playing")&&o.setState({autoplaying:"focused"}):n==="playing"&&o.setState({autoplaying:"hovered"})}),h(S(o),"onDotsOver",function(){return o.props.autoplay&&o.pause("hovered")}),h(S(o),"onDotsLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),h(S(o),"onTrackOver",function(){return o.props.autoplay&&o.pause("hovered")}),h(S(o),"onTrackLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),h(S(o),"onSlideFocus",function(){return o.props.autoplay&&o.pause("focused")}),h(S(o),"onSlideBlur",function(){return o.props.autoplay&&o.state.autoplaying==="focused"&&o.autoPlay("blur")}),h(S(o),"render",function(){var m=(0,i.default)("slick-slider",o.props.className,{"slick-vertical":o.props.vertical,"slick-initialized":!0}),n=p(p({},o.props),o.state),f=(0,a.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"]),O=o.props.pauseOnHover;f=p(p({},f),{},{onMouseEnter:O?o.onTrackOver:null,onMouseLeave:O?o.onTrackLeave:null,onMouseOver:O?o.onTrackOver:null,focusOnSelect:o.props.focusOnSelect&&o.clickable?o.selectHandler:null});var $;if(o.props.dots===!0&&o.state.slideCount>=o.props.slidesToShow){var D=(0,a.extractObject)(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),z=o.props.pauseOnDotsHover;D=p(p({},D),{},{clickHandler:o.changeSlide,onMouseEnter:z?o.onDotsLeave:null,onMouseOver:z?o.onDotsOver:null,onMouseLeave:z?o.onDotsLeave:null}),$=e.default.createElement(d.Dots,D)}var N,W,q=(0,a.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);q.clickHandler=o.changeSlide,o.props.arrows&&(N=e.default.createElement(l.PrevArrow,q),W=e.default.createElement(l.NextArrow,q));var K=null;o.props.vertical&&(K={height:o.state.listHeight});var G=null;o.props.vertical===!1?o.props.centerMode===!0&&(G={padding:"0px "+o.props.centerPadding}):o.props.centerMode===!0&&(G={padding:o.props.centerPadding+" 0px"});var J=p(p({},K),G),te=o.props.touchMove,Z={className:"slick-list",style:J,onClick:o.clickHandler,onMouseDown:te?o.swipeStart:null,onMouseMove:o.state.dragging&&te?o.swipeMove:null,onMouseUp:te?o.swipeEnd:null,onMouseLeave:o.state.dragging&&te?o.swipeEnd:null,onTouchStart:te?o.swipeStart:null,onTouchMove:o.state.dragging&&te?o.swipeMove:null,onTouchEnd:te?o.touchEnd:null,onTouchCancel:o.state.dragging&&te?o.swipeEnd:null,onKeyDown:o.props.accessibility?o.keyHandler:null},ee={className:m,dir:"ltr",style:o.props.style};return o.props.unslick&&(Z={className:"slick-list"},ee={className:m,style:o.props.style}),e.default.createElement("div",ee,o.props.unslick?"":N,e.default.createElement("div",w({ref:o.listRefHandler},Z),e.default.createElement(s.Track,w({ref:o.trackRefHandler},f),o.props.children)),o.props.unslick?"":W,o.props.unslick?"":$)}),o.list=null,o.track=null,o.state=p(p({},t.default),{},{currentSlide:o.props.initialSlide,targetSlide:o.props.initialSlide?o.props.initialSlide:0,slideCount:e.default.Children.count(o.props.children)}),o.callbackTimers=[],o.clickable=!0,o.debouncedResize=null;var H=o.ssrInit();return o.state=p(p({},o.state),H),o}return F(E,[{key:"didPropsChange",value:function(o){for(var H=!1,m=0,n=Object.keys(this.props);m<n.length;m++){var f=n[m];if(!o.hasOwnProperty(f)){H=!0;break}if(!(v(o[f])==="object"||typeof o[f]=="function"||isNaN(o[f]))&&o[f]!==this.props[f]){H=!0;break}}return H||e.default.Children.count(this.props.children)!==e.default.Children.count(o.children)}}]),E}(e.default.Component),ze}var jt,pr;function ni(){if(pr)return jt;pr=1;var e=function(t){return t.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()}).toLowerCase()};return jt=e,jt}var Lt,mr;function ii(){if(mr)return Lt;mr=1;var e=ni(),t=function(a){var s=/[height|width]$/;return s.test(a)},r=function(a){var s="",d=Object.keys(a);return d.forEach(function(l,u){var c=a[l];l=e(l),t(l)&&typeof c=="number"&&(c=c+"px"),c===!0?s+=l:c===!1?s+="not "+l:s+="("+l+": "+c+")",u<d.length-1&&(s+=" and ")}),s},i=function(a){var s="";return typeof a=="string"?a:a instanceof Array?(a.forEach(function(d,l){s+=r(d),l<a.length-1&&(s+=", ")}),s):r(a)};return Lt=i,Lt}var vr;function ai(){return vr||(vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=d(Y),r=ri(),i=d(ii()),a=d($r()),s=Ge();function d(R){return R&&R.__esModule?R:{default:R}}function l(R){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},l(R)}function u(){return u=Object.assign?Object.assign.bind():function(R){for(var y=1;y<arguments.length;y++){var h=arguments[y];for(var P in h)({}).hasOwnProperty.call(h,P)&&(R[P]=h[P])}return R},u.apply(null,arguments)}function c(R,y){var h=Object.keys(R);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(R);y&&(P=P.filter(function(A){return Object.getOwnPropertyDescriptor(R,A).enumerable})),h.push.apply(h,P)}return h}function v(R){for(var y=1;y<arguments.length;y++){var h=arguments[y]!=null?arguments[y]:{};y%2?c(Object(h),!0).forEach(function(P){g(R,P,h[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(h)):c(Object(h)).forEach(function(P){Object.defineProperty(R,P,Object.getOwnPropertyDescriptor(h,P))})}return R}function w(R,y){if(!(R instanceof y))throw new TypeError("Cannot call a class as a function")}function x(R,y){for(var h=0;h<y.length;h++){var P=y[h];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(R,b(P.key),P)}}function L(R,y,h){return y&&x(R.prototype,y),Object.defineProperty(R,"prototype",{writable:!1}),R}function C(R,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(y&&y.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),y&&p(R,y)}function p(R,y){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,P){return h.__proto__=P,h},p(R,y)}function I(R){var y=U();return function(){var h,P=V(R);if(y){var A=V(this).constructor;h=Reflect.construct(P,arguments,A)}else h=P.apply(this,arguments);return k(this,h)}}function k(R,y){if(y&&(l(y)=="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(R)}function F(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function U(){try{var R=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!R})()}function V(R){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(y){return y.__proto__||Object.getPrototypeOf(y)},V(R)}function g(R,y,h){return(y=b(y))in R?Object.defineProperty(R,y,{value:h,enumerable:!0,configurable:!0,writable:!0}):R[y]=h,R}function b(R){var y=S(R,"string");return l(y)=="symbol"?y:y+""}function S(R,y){if(l(R)!="object"||!R)return R;var h=R[Symbol.toPrimitive];if(h!==void 0){var P=h.call(R,y);if(l(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(R)}e.default=function(R){C(h,R);var y=I(h);function h(P){var A;return w(this,h),A=y.call(this,P),g(F(A),"innerSliderRefHandler",function(T){return A.innerSlider=T}),g(F(A),"slickPrev",function(){return A.innerSlider.slickPrev()}),g(F(A),"slickNext",function(){return A.innerSlider.slickNext()}),g(F(A),"slickGoTo",function(T){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return A.innerSlider.slickGoTo(T,_)}),g(F(A),"slickPause",function(){return A.innerSlider.pause("paused")}),g(F(A),"slickPlay",function(){return A.innerSlider.autoPlay("play")}),A.state={breakpoint:null},A._responsiveMediaHandlers=[],A}return L(h,[{key:"media",value:function(A,T){var _=window.matchMedia(A),E=function(o){var H=o.matches;H&&T()};_.addListener(E),this._responsiveMediaHandlers.push({mql:_,query:A,listener:E})}},{key:"componentDidMount",value:function(){var A=this;if(this.props.responsive){var T=this.props.responsive.map(function(E){return E.breakpoint});T.sort(function(E,j){return E-j}),T.forEach(function(E,j){var o;j===0?o=(0,i.default)({minWidth:0,maxWidth:E}):o=(0,i.default)({minWidth:T[j-1]+1,maxWidth:E}),(0,s.canUseDOM)()&&A.media(o,function(){A.setState({breakpoint:E})})});var _=(0,i.default)({minWidth:T.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(_,function(){A.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(A){A.mql.removeListener(A.listener)})}},{key:"render",value:function(){var A=this,T,_;this.state.breakpoint?(_=this.props.responsive.filter(function(D){return D.breakpoint===A.state.breakpoint}),T=_[0].settings==="unslick"?"unslick":v(v(v({},a.default),this.props),_[0].settings)):T=v(v({},a.default),this.props),T.centerMode&&(T.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(T.slidesToScroll)),T.slidesToScroll=1),T.fade&&(T.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(T.slidesToShow)),T.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(T.slidesToScroll)),T.slidesToShow=1,T.slidesToScroll=1);var E=t.default.Children.toArray(this.props.children);E=E.filter(function(D){return typeof D=="string"?!!D.trim():!!D}),T.variableWidth&&(T.rows>1||T.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),T.variableWidth=!1);for(var j=[],o=null,H=0;H<E.length;H+=T.rows*T.slidesPerRow){for(var m=[],n=H;n<H+T.rows*T.slidesPerRow;n+=T.slidesPerRow){for(var f=[],O=n;O<n+T.slidesPerRow&&(T.variableWidth&&E[O].props.style&&(o=E[O].props.style.width),!(O>=E.length));O+=1)f.push(t.default.cloneElement(E[O],{key:100*H+10*n+O,tabIndex:-1,style:{width:"".concat(100/T.slidesPerRow,"%"),display:"inline-block"}}));m.push(t.default.createElement("div",{key:10*H+n},f))}T.variableWidth?j.push(t.default.createElement("div",{key:H,style:{width:o}},m)):j.push(t.default.createElement("div",{key:H},m))}if(T==="unslick"){var $="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:$},E)}else j.length<=T.slidesToShow&&(T.unslick=!0);return t.default.createElement(r.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(T)),j)}}]),h}(t.default.Component)}(Pt)),Pt}var gr;function oi(){return gr||(gr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ai());function r(i){return i&&i.__esModule?i:{default:i}}e.default=t.default}(Ct)),Ct}var si=oi();const li=Ut(si);function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},At.apply(null,arguments)}function ui(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 ci(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 fi=function(){function e(r){var i=this;this._insertTag=function(a){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,s),i.tags.push(a)},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(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ci(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=ui(a);try{s.insertRule(i,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var a;return(a=i.parentNode)==null?void 0:a.removeChild(i)}),this.tags=[],this.ctr=0},e}(),de="-ms-",vt="-moz-",re="-webkit-",Fr="comm",Yt="rule",Bt="decl",di="@import",Wr="@keyframes",hi="@layer",pi=Math.abs,wt=String.fromCharCode,mi=Object.assign;function vi(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 Ur(e){return e.trim()}function gi(e,t){return(e=t.exec(e))?e[0]:e}function ne(e,t,r){return e.replace(t,r)}function Ht(e,t){return e.indexOf(t)}function fe(e,t){return e.charCodeAt(t)|0}function Be(e,t,r){return e.slice(t,r)}function ge(e){return e.length}function Vt(e){return e.length}function it(e,t){return t.push(e),e}function yi(e,t){return e.map(t).join("")}var St=1,je=1,Yr=0,he=0,se=0,Le="";function xt(e,t,r,i,a,s,d){return{value:e,root:t,parent:r,type:i,props:a,children:s,line:St,column:je,length:d,return:""}}function We(e,t){return mi(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function bi(){return se}function wi(){return se=he>0?fe(Le,--he):0,je--,se===10&&(je=1,St--),se}function me(){return se=he<Yr?fe(Le,he++):0,je++,se===10&&(je=1,St++),se}function be(){return fe(Le,he)}function ot(){return he}function Ke(e,t){return Be(Le,e,t)}function Ve(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 Br(e){return St=je=1,Yr=ge(Le=e),he=0,[]}function Vr(e){return Le="",e}function st(e){return Ur(Ke(he-1,zt(e===91?e+2:e===40?e+1:e)))}function Si(e){for(;(se=be())&&se<33;)me();return Ve(e)>2||Ve(se)>3?"":" "}function xi(e,t){for(;--t&&me()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return Ke(e,ot()+(t<6&&be()==32&&me()==32))}function zt(e){for(;me();)switch(se){case e:return he;case 34:case 39:e!==34&&e!==39&&zt(se);break;case 40:e===41&&zt(e);break;case 92:me();break}return he}function Oi(e,t){for(;me()&&e+se!==57;)if(e+se===84&&be()===47)break;return"/*"+Ke(t,he-1)+"*"+wt(e===47?e:me())}function ki(e){for(;!Ve(be());)me();return Ke(e,he)}function Ci(e){return Vr(lt("",null,null,null,[""],e=Br(e),0,[0],e))}function lt(e,t,r,i,a,s,d,l,u){for(var c=0,v=0,w=d,x=0,L=0,C=0,p=1,I=1,k=1,F=0,U="",V=a,g=s,b=i,S=U;I;)switch(C=F,F=me()){case 40:if(C!=108&&fe(S,w-1)==58){Ht(S+=ne(st(F),"&","&\f"),"&\f")!=-1&&(k=-1);break}case 34:case 39:case 91:S+=st(F);break;case 9:case 10:case 13:case 32:S+=Si(C);break;case 92:S+=xi(ot()-1,7);continue;case 47:switch(be()){case 42:case 47:it(Pi(Oi(me(),ot()),t,r),u);break;default:S+="/"}break;case 123*p:l[c++]=ge(S)*k;case 125*p:case 59:case 0:switch(F){case 0:case 125:I=0;case 59+v:k==-1&&(S=ne(S,/\f/g,"")),L>0&&ge(S)-w&&it(L>32?br(S+";",i,r,w-1):br(ne(S," ","")+";",i,r,w-2),u);break;case 59:S+=";";default:if(it(b=yr(S,t,r,c,v,a,l,U,V=[],g=[],w),s),F===123)if(v===0)lt(S,t,b,b,V,s,w,l,g);else switch(x===99&&fe(S,3)===110?100:x){case 100:case 108:case 109:case 115:lt(e,b,b,i&&it(yr(e,b,b,0,0,a,l,U,a,V=[],w),g),a,g,w,l,i?V:g);break;default:lt(S,b,b,b,[""],g,0,l,g)}}c=v=L=0,p=k=1,U=S="",w=d;break;case 58:w=1+ge(S),L=C;default:if(p<1){if(F==123)--p;else if(F==125&&p++==0&&wi()==125)continue}switch(S+=wt(F),F*p){case 38:k=v>0?1:(S+="\f",-1);break;case 44:l[c++]=(ge(S)-1)*k,k=1;break;case 64:be()===45&&(S+=st(me())),x=be(),v=w=ge(U=S+=ki(ot())),F++;break;case 45:C===45&&ge(S)==2&&(p=0)}}return s}function yr(e,t,r,i,a,s,d,l,u,c,v){for(var w=a-1,x=a===0?s:[""],L=Vt(x),C=0,p=0,I=0;C<i;++C)for(var k=0,F=Be(e,w+1,w=pi(p=d[C])),U=e;k<L;++k)(U=Ur(p>0?x[k]+" "+F:ne(F,/&\f/g,x[k])))&&(u[I++]=U);return xt(e,t,r,a===0?Yt:l,u,c,v)}function Pi(e,t,r){return xt(e,t,r,Fr,wt(bi()),Be(e,2,-2),0)}function br(e,t,r,i){return xt(e,t,r,Bt,Be(e,0,i),Be(e,i+1,-1),i)}function Te(e,t){for(var r="",i=Vt(e),a=0;a<i;a++)r+=t(e[a],a,e,t)||"";return r}function Ei(e,t,r,i){switch(e.type){case hi:if(e.children.length)break;case di:case Bt:return e.return=e.return||e.value;case Fr:return"";case Wr:return e.return=e.value+"{"+Te(e.children,i)+"}";case Yt:e.value=e.props.join(",")}return ge(r=Te(e.children,i))?e.return=e.value+"{"+r+"}":""}function Ri(e){var t=Vt(e);return function(r,i,a,s){for(var d="",l=0;l<t;l++)d+=e[l](r,i,a,s)||"";return d}}function Ti(e){return function(t){t.root||(t=t.return)&&e(t)}}function qr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var _i=function(t,r,i){for(var a=0,s=0;a=s,s=be(),a===38&&s===12&&(r[i]=1),!Ve(s);)me();return Ke(t,he)},ji=function(t,r){var i=-1,a=44;do switch(Ve(a)){case 0:a===38&&be()===12&&(r[i]=1),t[i]+=_i(he-1,r,i);break;case 2:t[i]+=st(a);break;case 4:if(a===44){t[++i]=be()===58?"&\f":"",r[i]=t[i].length;break}default:t[i]+=wt(a)}while(a=me());return t},Li=function(t,r){return Vr(ji(Br(t),r))},wr=new WeakMap,Di=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,i=t.parent,a=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!wr.get(i))&&!a){wr.set(t,!0);for(var s=[],d=Li(r,s),l=i.props,u=0,c=0;u<d.length;u++)for(var v=0;v<l.length;v++,c++)t.props[c]=s[u]?d[u].replace(/&\f/g,l[v]):l[v]+" "+d[u]}}},Mi=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Xr(e,t){switch(vi(e,t)){case 5103:return re+"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 re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+vt+e+de+e+e;case 6828:case 4268:return re+e+de+e+e;case 6165:return re+e+de+"flex-"+e+e;case 5187:return re+e+ne(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return re+e+de+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return re+e+de+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+de+ne(e,"shrink","negative")+e;case 5292:return re+e+de+ne(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ne(e,"-grow","")+re+e+de+ne(e,"grow","positive")+e;case 4554:return re+ne(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,re+"$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(ge(e)-1-t>6)switch(fe(e,t+1)){case 109:if(fe(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+vt+(fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ht(e,"stretch")?Xr(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fe(e,t+1)!==115)break;case 6444:switch(fe(e,ge(e)-3-(~Ht(e,"!important")&&10))){case 107:return ne(e,":",":"+re)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(fe(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(fe(e,t+11)){case 114:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+de+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+de+e+e}return e}var $i=function(t,r,i,a){if(t.length>-1&&!t.return)switch(t.type){case Bt:t.return=Xr(t.value,t.length);break;case Wr:return Te([We(t,{value:ne(t.value,"@","@"+re)})],a);case Yt:if(t.length)return yi(t.props,function(s){switch(gi(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Te([We(t,{props:[ne(s,/:(read-\w+)/,":"+vt+"$1")]})],a);case"::placeholder":return Te([We(t,{props:[ne(s,/:(plac\w+)/,":"+re+"input-$1")]}),We(t,{props:[ne(s,/:(plac\w+)/,":"+vt+"$1")]}),We(t,{props:[ne(s,/:(plac\w+)/,de+"input-$1")]})],a)}return""})}},Ii=[$i],Ai=function(t){var r=t.key;if(r==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(p){var I=p.getAttribute("data-emotion");I.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=t.stylisPlugins||Ii,s={},d,l=[];d=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var I=p.getAttribute("data-emotion").split(" "),k=1;k<I.length;k++)s[I[k]]=!0;l.push(p)});var u,c=[Di,Mi];{var v,w=[Ei,Ti(function(p){v.insert(p)})],x=Ri(c.concat(a,w)),L=function(I){return Te(Ci(I),x)};u=function(I,k,F,U){v=F,L(I?I+"{"+k.styles+"}":k.styles),U&&(C.inserted[k.name]=!0)}}var C={key:r,sheet:new fi({key:r,container:d,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return C.sheet.hydrate(l),C},Hi=!0;function zi(e,t,r){var i="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(i+=a+" ")}),i}var Gr=function(t,r,i){var a=t.key+"-"+r.name;(i===!1||Hi===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},Ni=function(t,r,i){Gr(t,r,i);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+a:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Fi(e){for(var t=0,r,i=0,a=e.length;a>=4;++i,a-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&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(a){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&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 Wi={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},Ui=/[A-Z]|^ms/g,Yi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kr=function(t){return t.charCodeAt(1)===45},Sr=function(t){return t!=null&&typeof t!="boolean"},Dt=qr(function(e){return Kr(e)?e:e.replace(Ui,"-$&").toLowerCase()}),xr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Yi,function(i,a,s){return ye={name:a,styles:s,next:ye},a})}return Wi[t]!==1&&!Kr(t)&&typeof r=="number"&&r!==0?r+"px":r};function qe(e,t,r){if(r==null)return"";var i=r;if(i.__emotion_styles!==void 0)return i;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return ye={name:a.name,styles:a.styles,next:ye},a.name;var s=r;if(s.styles!==void 0){var d=s.next;if(d!==void 0)for(;d!==void 0;)ye={name:d.name,styles:d.styles,next:ye},d=d.next;var l=s.styles+";";return l}return Bi(e,t,r)}case"function":{if(e!==void 0){var u=ye,c=r(e);return ye=u,qe(e,t,c)}break}}var v=r;if(t==null)return v;var w=t[v];return w!==void 0?w:v}function Bi(e,t,r){var i="";if(Array.isArray(r))for(var a=0;a<r.length;a++)i+=qe(e,t,r[a])+";";else for(var s in r){var d=r[s];if(typeof d!="object"){var l=d;t!=null&&t[l]!==void 0?i+=s+"{"+t[l]+"}":Sr(l)&&(i+=Dt(s)+":"+xr(s,l)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(t==null||t[d[0]]===void 0))for(var u=0;u<d.length;u++)Sr(d[u])&&(i+=Dt(s)+":"+xr(s,d[u])+";");else{var c=qe(e,t,d);switch(s){case"animation":case"animationName":{i+=Dt(s)+":"+c+";";break}default:i+=s+"{"+c+"}"}}}return i}var Or=/label:\s*([^\s;{]+)\s*(;|$)/g,ye;function Vi(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,a="";ye=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,a+=qe(r,t,s);else{var d=s;a+=d[0]}for(var l=1;l<e.length;l++)if(a+=qe(r,t,e[l]),i){var u=s;a+=u[l]}Or.lastIndex=0;for(var c="",v;(v=Or.exec(a))!==null;)c+="-"+v[1];var w=Fi(a)+c;return{name:w,styles:a,next:ye}}var qi=function(t){return t()},Xi=M.useInsertionEffect?M.useInsertionEffect:!1,Gi=Xi||qi,Jr=M.createContext(typeof HTMLElement<"u"?Ai({key:"css"}):null);Jr.Provider;var Ki=function(t){return Y.forwardRef(function(r,i){var a=Y.useContext(Jr);return t(r,a,i)})},Ji=M.createContext({}),Zi=/^((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)-.*))$/,Qi=qr(function(e){return Zi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ea=Qi,ta=function(t){return t!=="theme"},kr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ea:ta},Cr=function(t,r,i){var a;if(r){var s=r.shouldForwardProp;a=t.__emotion_forwardProp&&s?function(d){return t.__emotion_forwardProp(d)&&s(d)}:s}return typeof a!="function"&&i&&(a=t.__emotion_forwardProp),a},ra=function(t){var r=t.cache,i=t.serialized,a=t.isStringTag;return Gr(r,i,a),Gi(function(){return Ni(r,i,a)}),null},na=function e(t,r){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,s,d;r!==void 0&&(s=r.label,d=r.target);var l=Cr(t,r,i),u=l||kr(a),c=!u("as");return function(){var v=arguments,w=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&w.push("label:"+s+";"),v[0]==null||v[0].raw===void 0)w.push.apply(w,v);else{var x=v[0];w.push(x[0]);for(var L=v.length,C=1;C<L;C++)w.push(v[C],x[C])}var p=Ki(function(I,k,F){var U=c&&I.as||a,V="",g=[],b=I;if(I.theme==null){b={};for(var S in I)b[S]=I[S];b.theme=M.useContext(Ji)}typeof I.className=="string"?V=zi(k.registered,g,I.className):I.className!=null&&(V=I.className+" ");var R=Vi(w.concat(g),k.registered,b);V+=k.key+"-"+R.name,d!==void 0&&(V+=" "+d);var y=c&&l===void 0?kr(U):u,h={};for(var P in I)c&&P==="as"||y(P)&&(h[P]=I[P]);return h.className=V,F&&(h.ref=F),M.createElement(M.Fragment,null,M.createElement(ra,{cache:k,serialized:R,isStringTag:typeof U=="string"}),M.createElement(U,h))});return p.displayName=s!==void 0?s:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",p.defaultProps=t.defaultProps,p.__emotion_real=p,p.__emotion_base=a,p.__emotion_styles=w,p.__emotion_forwardProp=l,Object.defineProperty(p,"toString",{value:function(){return"."+d}}),p.withComponent=function(I,k){var F=e(I,At({},r,k,{shouldForwardProp:Cr(p,k,!0)}));return F.apply(void 0,w)},p}},ia=["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"],Pe=na.bind(null);ia.forEach(function(e){Pe[e]=Pe(e)});const aa=Pe.div`
27
27
  width: 100%;
28
28
  height: fit-content;
29
29
 
@@ -112,7 +112,7 @@ React keys must be passed directly to JSX without using spread:
112
112
  box-sizing: border-box;
113
113
  display: flex;
114
114
  }
115
- `,sa=({styles:e,content:t,settings:r,gap:i=15})=>{const[a,s]=Y.useState(1),d=Y.useRef(null),l=Y.useRef(null);var u={dots:!1,speed:500,slidesToScroll:1,infinite:!1,variableWidth:!0,arrows:!1,rows:1,...r};const c=t.map((w,x)=>X.jsx(oa,{ref:x===0?l:void 0,styles:{paddingRight:`${i}px`,overflow:"visible",...w.styles},"data-testid":"carousel-slide-item",children:w.content})),v=()=>{if(u.slidesToShow){s(u.slidesToShow);return}const w=(d.current?.offsetWidth||i+1)-i,x=l.current?.offsetWidth||1;let L=Math.floor(w/x);L<1?L=1:L>t.length&&(L=t.length),console.debug("Slides to show > ",{container:w,slide:x,res:L}),s(L)};return Y.useEffect(()=>{v()},[d,l]),X.jsx(aa,{ref:d,styles:{...e},children:c.length>0&&X.jsx(li,{...u,slidesToShow:a,children:c})})},la=({name:e,checked:t,onToggle:r,styles:i,label:a,checkboxStyles:s,customCheckedRender:d,customUncheckedRender:l})=>X.jsxs("div",{style:{width:"fit-content",height:"fit-content",position:"relative",display:"flex",flexDirection:"row",gap:"10px",alignItems:"center",...i},children:[X.jsxs("div",{style:{width:"fit-content",height:"fit-content",position:"relative",display:"flex"},children:[X.jsx("input",{type:"checkbox",name:e,checked:t,onChange:u=>{},onClick:u=>{u.stopPropagation(),r?.(!t)},style:{position:"absolute",opacity:0,width:"100%",height:"100%",cursor:"pointer"}}),X.jsxs("div",{style:{width:"25px",height:"25px",borderRadius:"4px",border:"1px solid #969696ff",background:t?"#000":"#fff",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",...s},children:[t&&d,!t&&l]})]}),a]}),ua=e=>Y.useEffect(e,[]),Zr=()=>{const[e,t]=Y.useState({}),[r,i]=Y.useState(!1);return Y.useEffect(()=>{const a=l=>{t({x:l.clientX,y:l.clientY})},s=l=>{i(!0)},d=l=>{i(!1)};return window.addEventListener("pointermove",a),window.addEventListener("pointerdown",s),window.addEventListener("pointerup",d),()=>{window.removeEventListener("pointermove",a),window.removeEventListener("pointerdown",s),window.removeEventListener("pointerup",d)}},[]),{pointerPosition:e,isPointerDown:r}},Qr=({ref:e,onDrag:t,onDragStart:r,onDragEnd:i})=>{const a=Y.useRef(!1),s=Y.useRef(!1),{pointerPosition:d,isPointerDown:l}=Zr(),u=Y.useRef({isDragging:!1}),c=Y.useCallback(k=>{if(!e||!e.current||!u.current)return;const p={...u.current};return p.posY=k.y,p.posX=k.x,u.current.startPosX&&u.current.posX&&(p.distanceX=u.current.startPosX-u.current.posX),u.current.startPosY&&u.current.posY&&(p.distanceY=-(u.current.startPosY-u.current.posY)),p},[]),v=Y.useCallback(k=>{k.preventDefault(),k.stopPropagation(),u.current.isDragging=!0,u.current.startPosY=k.clientY,u.current.startPosX=k.clientX;const p=c({x:k.clientX,y:k.clientY});p&&(u.current=p,r?.(p))},[c]),w=Y.useCallback(k=>{u.current.isDragging=!1;const p=c(d);p&&(i?.(p),p.startPosX=void 0,p.startPosY=void 0,u.current=p)},[c,d]),x=Y.useCallback(k=>{if(console.debug("useDrag > onPointerMove > Is Dragging >",u.current.isDragging),!u.current.isDragging)return;const p=c(d);console.debug("useDrag > onPointerMove > Drag Result >",p),p&&(t?.(p),u.current=p)},[c,d]),L=Y.useCallback(async()=>{if(!a.current){for(;!e?.current;)await new Promise(k=>setTimeout(k,300));a.current=!0,e.current.onpointerdown=v,e.current.style.touchAction="none"}},[e?.current,v]);Y.useEffect(()=>{L()},[L]),Y.useEffect(()=>{x()},[d]),Y.useEffect(()=>{l!==s.current&&(s.current=l,l||w())},[l,s.current])},ca=()=>{const e=(l,u)=>{if(!u)return l;const c=new URLSearchParams;for(const w in u){const x=u[w];Array.isArray(x)?x.forEach(L=>c.append(w,String(L))):x!=null&&c.append(w,String(x))}const v=c.toString();return v?`${l}?${v}`:l},t=async(l,u,c,v)=>await(await fetch(l,{method:u,headers:c,body:v})).json();return{get:async(l,u,c)=>{const v=e(l,u);return t(v,"GET",{...c})},post:async(l,u,c)=>t(l,"POST",{"Content-Type":"application/json",...c},JSON.stringify(u)),put:async(l,u,c)=>t(l,"PUT",{"Content-Type":"application/json",...c},JSON.stringify(u)),patch:async(l,u,c)=>t(l,"PATCH",{"Content-Type":"application/json",...c},JSON.stringify(u)),delete:async(l,u,c)=>{const v=e(l,u);return t(v,"DELETE",{...c})}}};function fa(e){const[t,r]=Y.useState(!1),i=Y.useMemo(()=>new IntersectionObserver(([a])=>r(a.isIntersecting)),[]);return Y.useEffect(()=>(e?.current&&i.observe(e?.current),()=>i.disconnect()),[e,i.disconnect,i.observe]),t}const en={xs:0,sm:420,md:768,lg:991,xl:1200,xxl:1440},da=e=>{const t={...en,...e?.breakpointConfiguration},[r,i]=Y.useState(Pr(t)),a=()=>{i(Pr(t))};return Y.useEffect(()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}),[]),Y.useMemo(()=>r,[r])},ha=(e,t)=>e<t.sm?"xs":e<t.md?"sm":e<t.lg?"md":e<t.xl?"lg":e<t.xxl?"xl":"xxl",pa=(e,t)=>e<=t.sm?"mobile":e<=t.md?"tablet":"desktop",Pr=e=>{const t=window.innerWidth,r=window.innerHeight,i=ha(t,e),a=pa(t,e);return{currentWidth:t,currentHeight:r,currentBreakpoint:i,currentSize:a}},ma=e=>{const t=e.translations,r=e.language,i=(s,d)=>{if(!s)return;let l=s[r];if(l)return d&&Object.keys(d).forEach(u=>{const c=d[u];l=l.replaceAll(`{{${u}}}`,`${c}`)}),l};return{t:(s,d)=>{if(t[s]){const l=i(t[s],d);return l??s}return s},getTranslation:i}};var Ue={},Er;function va(){if(Er)return Ue;Er=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.parse=d,Ue.serialize=c;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,i=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,s=(()=>{const x=function(){};return x.prototype=Object.create(null),x})();function d(x,L){const k=new s,p=x.length;if(p<2)return k;const I=L?.decode||v;let C=0;do{const F=x.indexOf("=",C);if(F===-1)break;const U=x.indexOf(";",C),V=U===-1?p:U;if(F>V){C=x.lastIndexOf(";",F-1)+1;continue}const g=l(x,C,F),b=u(x,F,g),S=x.slice(g,b);if(k[S]===void 0){let R=l(x,F+1,V),y=u(x,V,R);const h=I(x.slice(R,y));k[S]=h}C=V+1}while(C<p);return k}function l(x,L,k){do{const p=x.charCodeAt(L);if(p!==32&&p!==9)return L}while(++L<k);return k}function u(x,L,k){for(;L>k;){const p=x.charCodeAt(--L);if(p!==32&&p!==9)return L+1}return k}function c(x,L,k){const p=k?.encode||encodeURIComponent;if(!e.test(x))throw new TypeError(`argument name is invalid: ${x}`);const I=p(L);if(!t.test(I))throw new TypeError(`argument val is invalid: ${L}`);let C=x+"="+I;if(!k)return C;if(k.maxAge!==void 0){if(!Number.isInteger(k.maxAge))throw new TypeError(`option maxAge is invalid: ${k.maxAge}`);C+="; Max-Age="+k.maxAge}if(k.domain){if(!r.test(k.domain))throw new TypeError(`option domain is invalid: ${k.domain}`);C+="; Domain="+k.domain}if(k.path){if(!i.test(k.path))throw new TypeError(`option path is invalid: ${k.path}`);C+="; Path="+k.path}if(k.expires){if(!w(k.expires)||!Number.isFinite(k.expires.valueOf()))throw new TypeError(`option expires is invalid: ${k.expires}`);C+="; Expires="+k.expires.toUTCString()}if(k.httpOnly&&(C+="; HttpOnly"),k.secure&&(C+="; Secure"),k.partitioned&&(C+="; Partitioned"),k.priority)switch(typeof k.priority=="string"?k.priority.toLowerCase():void 0){case"low":C+="; Priority=Low";break;case"medium":C+="; Priority=Medium";break;case"high":C+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${k.priority}`)}if(k.sameSite)switch(typeof k.sameSite=="string"?k.sameSite.toLowerCase():k.sameSite){case!0:case"strict":C+="; SameSite=Strict";break;case"lax":C+="; SameSite=Lax";break;case"none":C+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${k.sameSite}`)}return C}function v(x){if(x.indexOf("%")===-1)return x;try{return decodeURIComponent(x)}catch{return x}}function w(x){return a.call(x)==="[object Date]"}return Ue}va();/**
115
+ `,sa=({styles:e,content:t,settings:r,gap:i=15})=>{const[a,s]=Y.useState(1),d=Y.useRef(null),l=Y.useRef(null);var u={dots:!1,speed:500,slidesToScroll:1,infinite:!1,variableWidth:!0,arrows:!1,rows:1,...r};const c=t.map((w,x)=>X.jsx(oa,{ref:x===0?l:void 0,styles:{paddingRight:`${i}px`,overflow:"visible",...w.styles},"data-testid":"carousel-slide-item",children:w.content})),v=()=>{if(u.slidesToShow){s(u.slidesToShow);return}const w=(d.current?.offsetWidth||i+1)-i,x=l.current?.offsetWidth||1;let L=Math.floor(w/x);L<1?L=1:L>t.length&&(L=t.length),console.debug("Slides to show > ",{container:w,slide:x,res:L}),s(L)};return Y.useEffect(()=>{v()},[d,l]),X.jsx(aa,{ref:d,styles:{...e},children:c.length>0&&X.jsx(li,{...u,slidesToShow:a,children:c})})},la=({name:e,checked:t,onToggle:r,styles:i,label:a,checkboxStyles:s,customCheckedRender:d,customUncheckedRender:l})=>X.jsxs("div",{style:{width:"fit-content",height:"fit-content",position:"relative",display:"flex",flexDirection:"row",gap:"10px",alignItems:"center",...i},children:[X.jsxs("div",{style:{width:"fit-content",height:"fit-content",position:"relative",display:"flex"},children:[X.jsx("input",{type:"checkbox",name:e,checked:t,onChange:u=>{},onClick:u=>{u.stopPropagation(),r?.(!t)},style:{position:"absolute",opacity:0,width:"100%",height:"100%",cursor:"pointer"}}),X.jsxs("div",{style:{width:"25px",height:"25px",borderRadius:"4px",border:"1px solid #969696ff",background:t?"#000":"#fff",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",...s},children:[t&&d,!t&&l]})]}),a]}),ua=e=>Y.useEffect(e,[]),Zr=()=>{const[e,t]=Y.useState({}),[r,i]=Y.useState(!1);return Y.useEffect(()=>{const a=l=>{t({x:l.clientX,y:l.clientY})},s=l=>{i(!0)},d=l=>{i(!1)};return window.addEventListener("pointermove",a),window.addEventListener("pointerdown",s),window.addEventListener("pointerup",d),()=>{window.removeEventListener("pointermove",a),window.removeEventListener("pointerdown",s),window.removeEventListener("pointerup",d)}},[]),{pointerPosition:e,isPointerDown:r}},Qr=({ref:e,onDrag:t,onDragStart:r,onDragEnd:i})=>{const a=Y.useRef(!1),s=Y.useRef(!1),{pointerPosition:d,isPointerDown:l}=Zr(),u=Y.useRef({isDragging:!1}),c=Y.useCallback(C=>{if(!e||!e.current||!u.current)return;const p={...u.current};return p.posY=C.y,p.posX=C.x,u.current.startPosX&&u.current.posX&&(p.distanceX=u.current.startPosX-u.current.posX),u.current.startPosY&&u.current.posY&&(p.distanceY=-(u.current.startPosY-u.current.posY)),p},[]),v=Y.useCallback(C=>{C.preventDefault(),C.stopPropagation(),u.current.isDragging=!0,u.current.startPosY=C.clientY,u.current.startPosX=C.clientX;const p=c({x:C.clientX,y:C.clientY});p&&(u.current=p,r?.(p))},[c]),w=Y.useCallback(C=>{u.current.isDragging=!1;const p=c(d);p&&(i?.(p),p.startPosX=void 0,p.startPosY=void 0,u.current=p)},[c,d]),x=Y.useCallback(C=>{if(console.debug("useDrag > onPointerMove > Is Dragging >",u.current.isDragging),!u.current.isDragging)return;const p=c(d);console.debug("useDrag > onPointerMove > Drag Result >",p),p&&(t?.(p),u.current=p)},[c,d]),L=Y.useCallback(async()=>{if(!a.current){for(;!e?.current;)await new Promise(C=>setTimeout(C,300));a.current=!0,e.current.onpointerdown=v,e.current.style.touchAction="none"}},[e?.current,v]);Y.useEffect(()=>{L()},[L]),Y.useEffect(()=>{x()},[d]),Y.useEffect(()=>{l!==s.current&&(s.current=l,l||w())},[l,s.current])},ca=()=>{const e=(l,u)=>{if(!u)return l;const c=new URLSearchParams;for(const w in u){const x=u[w];Array.isArray(x)?x.forEach(L=>c.append(w,String(L))):x!=null&&c.append(w,String(x))}const v=c.toString();return v?`${l}?${v}`:l},t=async(l,u,c,v)=>await(await fetch(l,{method:u,headers:c,body:v})).json();return{get:async(l,u,c)=>{const v=e(l,u);return t(v,"GET",{...c})},post:async(l,u,c)=>t(l,"POST",{"Content-Type":"application/json",...c},JSON.stringify(u)),put:async(l,u,c)=>t(l,"PUT",{"Content-Type":"application/json",...c},JSON.stringify(u)),patch:async(l,u,c)=>t(l,"PATCH",{"Content-Type":"application/json",...c},JSON.stringify(u)),delete:async(l,u,c)=>{const v=e(l,u);return t(v,"DELETE",{...c})}}};function fa(e){const[t,r]=Y.useState(!1),i=Y.useMemo(()=>new IntersectionObserver(([a])=>r(a.isIntersecting)),[]);return Y.useEffect(()=>(e?.current&&i.observe(e?.current),()=>i.disconnect()),[e,i.disconnect,i.observe]),t}const en={xs:0,sm:420,md:768,lg:991,xl:1200,xxl:1440},da=e=>{const t={...en,...e?.breakpointConfiguration},[r,i]=Y.useState(Pr(t)),a=()=>{i(Pr(t))};return Y.useEffect(()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}),[]),Y.useMemo(()=>r,[r])},ha=(e,t)=>e<t.sm?"xs":e<t.md?"sm":e<t.lg?"md":e<t.xl?"lg":e<t.xxl?"xl":"xxl",pa=(e,t)=>e<=t.sm?"mobile":e<=t.md?"tablet":"desktop",Pr=e=>{const t=window.innerWidth,r=window.innerHeight,i=ha(t,e),a=pa(t,e);return{currentWidth:t,currentHeight:r,currentBreakpoint:i,currentSize:a}},ma=e=>{const t=e.translations,r=e.language,i=(s,d)=>{if(!s)return;let l=s[r];if(l)return d&&Object.keys(d).forEach(u=>{const c=d[u];l=l.replaceAll(`{{${u}}}`,`${c}`)}),l};return{t:(s,d)=>{if(t[s]){const l=i(t[s],d);return l??s}return s},getTranslation:i}};var Ue={},Er;function va(){if(Er)return Ue;Er=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.parse=d,Ue.serialize=c;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,i=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,s=(()=>{const x=function(){};return x.prototype=Object.create(null),x})();function d(x,L){const C=new s,p=x.length;if(p<2)return C;const I=L?.decode||v;let k=0;do{const F=x.indexOf("=",k);if(F===-1)break;const U=x.indexOf(";",k),V=U===-1?p:U;if(F>V){k=x.lastIndexOf(";",F-1)+1;continue}const g=l(x,k,F),b=u(x,F,g),S=x.slice(g,b);if(C[S]===void 0){let R=l(x,F+1,V),y=u(x,V,R);const h=I(x.slice(R,y));C[S]=h}k=V+1}while(k<p);return C}function l(x,L,C){do{const p=x.charCodeAt(L);if(p!==32&&p!==9)return L}while(++L<C);return C}function u(x,L,C){for(;L>C;){const p=x.charCodeAt(--L);if(p!==32&&p!==9)return L+1}return C}function c(x,L,C){const p=C?.encode||encodeURIComponent;if(!e.test(x))throw new TypeError(`argument name is invalid: ${x}`);const I=p(L);if(!t.test(I))throw new TypeError(`argument val is invalid: ${L}`);let k=x+"="+I;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(!i.test(C.path))throw new TypeError(`option path is invalid: ${C.path}`);k+="; Path="+C.path}if(C.expires){if(!w(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 v(x){if(x.indexOf("%")===-1)return x;try{return decodeURIComponent(x)}catch{return x}}function w(x){return a.call(x)==="[object Date]"}return Ue}va();/**
116
116
  * react-router v7.6.3
117
117
  *
118
118
  * Copyright (c) Remix Software Inc.
@@ -121,9 +121,9 @@ React keys must be passed directly to JSX without using spread:
121
121
  * LICENSE.md file in the root directory of this source tree.
122
122
  *
123
123
  * @license MIT
124
- */var Rr="popstate";function ga(e={}){function t(i,a){let{pathname:s,search:d,hash:l}=i.location;return Nt("",{pathname:s,search:d,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(i,a){return typeof a=="string"?a:Xe(a)}return ba(t,r,null,e)}function ae(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ve(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ya(){return Math.random().toString(36).substring(2,10)}function Tr(e,t){return{usr:e.state,key:e.key,idx:t}}function Nt(e,t,r=null,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?De(t):t,state:r,key:t&&t.key||i||ya()}}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 i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function ba(e,t,r,i={}){let{window:a=document.defaultView,v5Compat:s=!1}=i,d=a.history,l="POP",u=null,c=v();c==null&&(c=0,d.replaceState({...d.state,idx:c},""));function v(){return(d.state||{idx:null}).idx}function w(){l="POP";let I=v(),C=I==null?null:I-c;c=I,u&&u({action:l,location:p.location,delta:C})}function x(I,C){l="PUSH";let F=Nt(p.location,I,C);c=v()+1;let U=Tr(F,c),V=p.createHref(F);try{d.pushState(U,"",V)}catch(g){if(g instanceof DOMException&&g.name==="DataCloneError")throw g;a.location.assign(V)}s&&u&&u({action:l,location:p.location,delta:1})}function L(I,C){l="REPLACE";let F=Nt(p.location,I,C);c=v();let U=Tr(F,c),V=p.createHref(F);d.replaceState(U,"",V),s&&u&&u({action:l,location:p.location,delta:0})}function k(I){return wa(I)}let p={get action(){return l},get location(){return e(a,d)},listen(I){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(Rr,w),u=I,()=>{a.removeEventListener(Rr,w),u=null}},createHref(I){return t(a,I)},createURL:k,encodeLocation(I){let C=k(I);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:x,replace:L,go(I){return d.go(I)}};return p}function wa(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),ae(r,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:Xe(e);return i=i.replace(/ $/,"%20"),!t&&i.startsWith("//")&&(i=r+i),new URL(i,r)}function tn(e,t,r="/"){return Sa(e,t,r,!1)}function Sa(e,t,r,i){let a=typeof t=="string"?De(t):t,s=xe(a.pathname||"/",r);if(s==null)return null;let d=rn(e);xa(d);let l=null;for(let u=0;l==null&&u<d.length;++u){let c=Da(s);l=ja(d[u],c,i)}return l}function rn(e,t=[],r=[],i=""){let a=(s,d,l)=>{let u={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:d,route:s};u.relativePath.startsWith("/")&&(ae(u.relativePath.startsWith(i),`Absolute route path "${u.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(i.length));let c=Se([i,u.relativePath]),v=r.concat(u);s.children&&s.children.length>0&&(ae(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${c}".`),rn(s.children,t,v,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:Ta(c,s.index),routesMeta:v})};return e.forEach((s,d)=>{if(s.path===""||!s.path?.includes("?"))a(s,d);else for(let l of nn(s.path))a(s,d,l)}),t}function nn(e){let t=e.split("/");if(t.length===0)return[];let[r,...i]=t,a=r.endsWith("?"),s=r.replace(/\?$/,"");if(i.length===0)return a?[s,""]:[s];let d=nn(i.join("/")),l=[];return l.push(...d.map(u=>u===""?s:[s,u].join("/"))),a&&l.push(...d),l.map(u=>e.startsWith("/")&&u===""?"/":u)}function xa(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:_a(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}var Oa=/^:[\w-]+$/,ka=3,Ca=2,Pa=1,Ea=10,Ra=-2,_r=e=>e==="*";function Ta(e,t){let r=e.split("/"),i=r.length;return r.some(_r)&&(i+=Ra),t&&(i+=Ca),r.filter(a=>!_r(a)).reduce((a,s)=>a+(Oa.test(s)?ka:s===""?Pa:Ea),i)}function _a(e,t){return e.length===t.length&&e.slice(0,-1).every((i,a)=>i===t[a])?e[e.length-1]-t[t.length-1]:0}function ja(e,t,r=!1){let{routesMeta:i}=e,a={},s="/",d=[];for(let l=0;l<i.length;++l){let u=i[l],c=l===i.length-1,v=s==="/"?t:t.slice(s.length)||"/",w=gt({path:u.relativePath,caseSensitive:u.caseSensitive,end:c},v),x=u.route;if(!w&&c&&r&&!i[i.length-1].route.index&&(w=gt({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},v)),!w)return null;Object.assign(a,w.params),d.push({params:a,pathname:Se([s,w.pathname]),pathnameBase:Aa(Se([s,w.pathnameBase])),route:x}),w.pathnameBase!=="/"&&(s=Se([s,w.pathnameBase]))}return d}function gt(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=La(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let s=a[0],d=s.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:i.reduce((c,{paramName:v,isOptional:w},x)=>{if(v==="*"){let k=l[x]||"";d=s.slice(0,s.length-k.length).replace(/(.)\/+$/,"$1")}const L=l[x];return w&&!L?c[v]=void 0:c[v]=(L||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:d,pattern:e}}function La(e,t=!1,r=!0){ve(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 i=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,l,u)=>(i.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}function Da(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ve(!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,i=e.charAt(r);return i&&i!=="/"?null:e.slice(r)||"/"}function Ma(e,t="/"){let{pathname:r,search:i="",hash:a=""}=typeof e=="string"?De(e):e;return{pathname:r?r.startsWith("/")?r:$a(r,t):t,search:Ha(i),hash:za(a)}}function $a(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Mt(e,t,r,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. 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 Ia(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function an(e){let t=Ia(e);return t.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase)}function on(e,t,r,i=!1){let a;typeof e=="string"?a=De(e):(a={...e},ae(!a.pathname||!a.pathname.includes("?"),Mt("?","pathname","search",a)),ae(!a.pathname||!a.pathname.includes("#"),Mt("#","pathname","hash",a)),ae(!a.search||!a.search.includes("#"),Mt("#","search","hash",a)));let s=e===""||a.pathname==="",d=s?"/":a.pathname,l;if(d==null)l=r;else{let w=t.length-1;if(!i&&d.startsWith("..")){let x=d.split("/");for(;x[0]==="..";)x.shift(),w-=1;a.pathname=x.join("/")}l=w>=0?t[w]:"/"}let u=Ma(a,l),c=d&&d!=="/"&&d.endsWith("/"),v=(s||d===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||v)&&(u.pathname+="/"),u}var Se=e=>e.join("/").replace(/\/\/+/g,"/"),Aa=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ha=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,za=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Na(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var sn=["POST","PUT","PATCH","DELETE"];new Set(sn);var Fa=["GET",...sn];new Set(Fa);var Me=M.createContext(null);Me.displayName="DataRouter";var Ot=M.createContext(null);Ot.displayName="DataRouterState";var ln=M.createContext({isTransitioning:!1});ln.displayName="ViewTransition";var Wa=M.createContext(new Map);Wa.displayName="Fetchers";var Ua=M.createContext(null);Ua.displayName="Await";var we=M.createContext(null);we.displayName="Navigation";var Je=M.createContext(null);Je.displayName="Location";var Oe=M.createContext({outlet:null,matches:[],isDataRoute:!1});Oe.displayName="Route";var qt=M.createContext(null);qt.displayName="RouteError";function Ya(e,{relative:t}={}){ae(Ze(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=M.useContext(we),{hash:a,pathname:s,search:d}=Qe(e,{relative:t}),l=s;return r!=="/"&&(l=s==="/"?r:Se([r,s])),i.createHref({pathname:l,search:d,hash:a})}function Ze(){return M.useContext(Je)!=null}function ke(){return ae(Ze(),"useLocation() may be used only in the context of a <Router> component."),M.useContext(Je).location}var un="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cn(e){M.useContext(we).static||M.useLayoutEffect(e)}function Xt(){let{isDataRoute:e}=M.useContext(Oe);return e?no():Ba()}function Ba(){ae(Ze(),"useNavigate() may be used only in the context of a <Router> component.");let e=M.useContext(Me),{basename:t,navigator:r}=M.useContext(we),{matches:i}=M.useContext(Oe),{pathname:a}=ke(),s=JSON.stringify(an(i)),d=M.useRef(!1);return cn(()=>{d.current=!0}),M.useCallback((u,c={})=>{if(ve(d.current,un),!d.current)return;if(typeof u=="number"){r.go(u);return}let v=on(u,JSON.parse(s),a,c.relative==="path");e==null&&t!=="/"&&(v.pathname=v.pathname==="/"?t:Se([t,v.pathname])),(c.replace?r.replace:r.push)(v,c.state,c)},[t,r,s,a,e])}M.createContext(null);function Qe(e,{relative:t}={}){let{matches:r}=M.useContext(Oe),{pathname:i}=ke(),a=JSON.stringify(an(r));return M.useMemo(()=>on(e,JSON.parse(a),i,t==="path"),[e,a,i,t])}function Va(e,t){return fn(e,t)}function fn(e,t,r,i){ae(Ze(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=M.useContext(we),{matches:s}=M.useContext(Oe),d=s[s.length-1],l=d?d.params:{},u=d?d.pathname:"/",c=d?d.pathnameBase:"/",v=d&&d.route;{let C=v&&v.path||"";dn(u,!v||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${C}">) 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.
124
+ */var Rr="popstate";function ga(e={}){function t(i,a){let{pathname:s,search:d,hash:l}=i.location;return Nt("",{pathname:s,search:d,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(i,a){return typeof a=="string"?a:Xe(a)}return ba(t,r,null,e)}function ae(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ve(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ya(){return Math.random().toString(36).substring(2,10)}function Tr(e,t){return{usr:e.state,key:e.key,idx:t}}function Nt(e,t,r=null,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?De(t):t,state:r,key:t&&t.key||i||ya()}}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 i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function ba(e,t,r,i={}){let{window:a=document.defaultView,v5Compat:s=!1}=i,d=a.history,l="POP",u=null,c=v();c==null&&(c=0,d.replaceState({...d.state,idx:c},""));function v(){return(d.state||{idx:null}).idx}function w(){l="POP";let I=v(),k=I==null?null:I-c;c=I,u&&u({action:l,location:p.location,delta:k})}function x(I,k){l="PUSH";let F=Nt(p.location,I,k);c=v()+1;let U=Tr(F,c),V=p.createHref(F);try{d.pushState(U,"",V)}catch(g){if(g instanceof DOMException&&g.name==="DataCloneError")throw g;a.location.assign(V)}s&&u&&u({action:l,location:p.location,delta:1})}function L(I,k){l="REPLACE";let F=Nt(p.location,I,k);c=v();let U=Tr(F,c),V=p.createHref(F);d.replaceState(U,"",V),s&&u&&u({action:l,location:p.location,delta:0})}function C(I){return wa(I)}let p={get action(){return l},get location(){return e(a,d)},listen(I){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(Rr,w),u=I,()=>{a.removeEventListener(Rr,w),u=null}},createHref(I){return t(a,I)},createURL:C,encodeLocation(I){let k=C(I);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:x,replace:L,go(I){return d.go(I)}};return p}function wa(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),ae(r,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:Xe(e);return i=i.replace(/ $/,"%20"),!t&&i.startsWith("//")&&(i=r+i),new URL(i,r)}function tn(e,t,r="/"){return Sa(e,t,r,!1)}function Sa(e,t,r,i){let a=typeof t=="string"?De(t):t,s=xe(a.pathname||"/",r);if(s==null)return null;let d=rn(e);xa(d);let l=null;for(let u=0;l==null&&u<d.length;++u){let c=Da(s);l=ja(d[u],c,i)}return l}function rn(e,t=[],r=[],i=""){let a=(s,d,l)=>{let u={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:d,route:s};u.relativePath.startsWith("/")&&(ae(u.relativePath.startsWith(i),`Absolute route path "${u.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(i.length));let c=Se([i,u.relativePath]),v=r.concat(u);s.children&&s.children.length>0&&(ae(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${c}".`),rn(s.children,t,v,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:Ta(c,s.index),routesMeta:v})};return e.forEach((s,d)=>{if(s.path===""||!s.path?.includes("?"))a(s,d);else for(let l of nn(s.path))a(s,d,l)}),t}function nn(e){let t=e.split("/");if(t.length===0)return[];let[r,...i]=t,a=r.endsWith("?"),s=r.replace(/\?$/,"");if(i.length===0)return a?[s,""]:[s];let d=nn(i.join("/")),l=[];return l.push(...d.map(u=>u===""?s:[s,u].join("/"))),a&&l.push(...d),l.map(u=>e.startsWith("/")&&u===""?"/":u)}function xa(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:_a(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}var Oa=/^:[\w-]+$/,ka=3,Ca=2,Pa=1,Ea=10,Ra=-2,_r=e=>e==="*";function Ta(e,t){let r=e.split("/"),i=r.length;return r.some(_r)&&(i+=Ra),t&&(i+=Ca),r.filter(a=>!_r(a)).reduce((a,s)=>a+(Oa.test(s)?ka:s===""?Pa:Ea),i)}function _a(e,t){return e.length===t.length&&e.slice(0,-1).every((i,a)=>i===t[a])?e[e.length-1]-t[t.length-1]:0}function ja(e,t,r=!1){let{routesMeta:i}=e,a={},s="/",d=[];for(let l=0;l<i.length;++l){let u=i[l],c=l===i.length-1,v=s==="/"?t:t.slice(s.length)||"/",w=gt({path:u.relativePath,caseSensitive:u.caseSensitive,end:c},v),x=u.route;if(!w&&c&&r&&!i[i.length-1].route.index&&(w=gt({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},v)),!w)return null;Object.assign(a,w.params),d.push({params:a,pathname:Se([s,w.pathname]),pathnameBase:Aa(Se([s,w.pathnameBase])),route:x}),w.pathnameBase!=="/"&&(s=Se([s,w.pathnameBase]))}return d}function gt(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=La(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let s=a[0],d=s.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:i.reduce((c,{paramName:v,isOptional:w},x)=>{if(v==="*"){let C=l[x]||"";d=s.slice(0,s.length-C.length).replace(/(.)\/+$/,"$1")}const L=l[x];return w&&!L?c[v]=void 0:c[v]=(L||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:d,pattern:e}}function La(e,t=!1,r=!0){ve(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 i=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,l,u)=>(i.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}function Da(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ve(!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,i=e.charAt(r);return i&&i!=="/"?null:e.slice(r)||"/"}function Ma(e,t="/"){let{pathname:r,search:i="",hash:a=""}=typeof e=="string"?De(e):e;return{pathname:r?r.startsWith("/")?r:$a(r,t):t,search:Ha(i),hash:za(a)}}function $a(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Mt(e,t,r,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. 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 Ia(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function an(e){let t=Ia(e);return t.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase)}function on(e,t,r,i=!1){let a;typeof e=="string"?a=De(e):(a={...e},ae(!a.pathname||!a.pathname.includes("?"),Mt("?","pathname","search",a)),ae(!a.pathname||!a.pathname.includes("#"),Mt("#","pathname","hash",a)),ae(!a.search||!a.search.includes("#"),Mt("#","search","hash",a)));let s=e===""||a.pathname==="",d=s?"/":a.pathname,l;if(d==null)l=r;else{let w=t.length-1;if(!i&&d.startsWith("..")){let x=d.split("/");for(;x[0]==="..";)x.shift(),w-=1;a.pathname=x.join("/")}l=w>=0?t[w]:"/"}let u=Ma(a,l),c=d&&d!=="/"&&d.endsWith("/"),v=(s||d===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||v)&&(u.pathname+="/"),u}var Se=e=>e.join("/").replace(/\/\/+/g,"/"),Aa=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ha=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,za=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Na(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var sn=["POST","PUT","PATCH","DELETE"];new Set(sn);var Fa=["GET",...sn];new Set(Fa);var Me=M.createContext(null);Me.displayName="DataRouter";var Ot=M.createContext(null);Ot.displayName="DataRouterState";var ln=M.createContext({isTransitioning:!1});ln.displayName="ViewTransition";var Wa=M.createContext(new Map);Wa.displayName="Fetchers";var Ua=M.createContext(null);Ua.displayName="Await";var we=M.createContext(null);we.displayName="Navigation";var Je=M.createContext(null);Je.displayName="Location";var Oe=M.createContext({outlet:null,matches:[],isDataRoute:!1});Oe.displayName="Route";var qt=M.createContext(null);qt.displayName="RouteError";function Ya(e,{relative:t}={}){ae(Ze(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=M.useContext(we),{hash:a,pathname:s,search:d}=Qe(e,{relative:t}),l=s;return r!=="/"&&(l=s==="/"?r:Se([r,s])),i.createHref({pathname:l,search:d,hash:a})}function Ze(){return M.useContext(Je)!=null}function ke(){return ae(Ze(),"useLocation() may be used only in the context of a <Router> component."),M.useContext(Je).location}var un="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cn(e){M.useContext(we).static||M.useLayoutEffect(e)}function Xt(){let{isDataRoute:e}=M.useContext(Oe);return e?no():Ba()}function Ba(){ae(Ze(),"useNavigate() may be used only in the context of a <Router> component.");let e=M.useContext(Me),{basename:t,navigator:r}=M.useContext(we),{matches:i}=M.useContext(Oe),{pathname:a}=ke(),s=JSON.stringify(an(i)),d=M.useRef(!1);return cn(()=>{d.current=!0}),M.useCallback((u,c={})=>{if(ve(d.current,un),!d.current)return;if(typeof u=="number"){r.go(u);return}let v=on(u,JSON.parse(s),a,c.relative==="path");e==null&&t!=="/"&&(v.pathname=v.pathname==="/"?t:Se([t,v.pathname])),(c.replace?r.replace:r.push)(v,c.state,c)},[t,r,s,a,e])}M.createContext(null);function Qe(e,{relative:t}={}){let{matches:r}=M.useContext(Oe),{pathname:i}=ke(),a=JSON.stringify(an(r));return M.useMemo(()=>on(e,JSON.parse(a),i,t==="path"),[e,a,i,t])}function Va(e,t){return fn(e,t)}function fn(e,t,r,i){ae(Ze(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=M.useContext(we),{matches:s}=M.useContext(Oe),d=s[s.length-1],l=d?d.params:{},u=d?d.pathname:"/",c=d?d.pathnameBase:"/",v=d&&d.route;{let k=v&&v.path||"";dn(u,!v||k.endsWith("*")||k.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (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.
125
125
 
126
- Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let w=ke(),x;if(t){let C=typeof t=="string"?De(t):t;ae(c==="/"||C.pathname?.startsWith(c),`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 "${c}" but pathname "${C.pathname}" was given in the \`location\` prop.`),x=C}else x=w;let L=x.pathname||"/",k=L;if(c!=="/"){let C=c.replace(/^\//,"").split("/");k="/"+L.replace(/^\//,"").split("/").slice(C.length).join("/")}let p=tn(e,{pathname:k});ve(v||p!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),ve(p==null||p[p.length-1].route.element!==void 0||p[p.length-1].route.Component!==void 0||p[p.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.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 I=Ja(p&&p.map(C=>Object.assign({},C,{params:Object.assign({},l,C.params),pathname:Se([c,a.encodeLocation?a.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?c:Se([c,a.encodeLocation?a.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),s,r,i);return t&&I?M.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...x},navigationType:"POP"}},I):I}function qa(){let e=ro(),t=Na(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},s={padding:"2px 4px",backgroundColor:i},d=null;return console.error("Error handled by React Router default ErrorBoundary:",e),d=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:s},"ErrorBoundary")," or"," ",M.createElement("code",{style:s},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),r?M.createElement("pre",{style:a},r):null,d)}var Xa=M.createElement(qa,null),Ga=class extends M.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?M.createElement(Oe.Provider,{value:this.props.routeContext},M.createElement(qt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ka({routeContext:e,match:t,children:r}){let i=M.useContext(Me);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),M.createElement(Oe.Provider,{value:e},r)}function Ja(e,t=[],r=null,i=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 a=e,s=r?.errors;if(s!=null){let u=a.findIndex(c=>c.route.id&&s?.[c.route.id]!==void 0);ae(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,u+1))}let d=!1,l=-1;if(r)for(let u=0;u<a.length;u++){let c=a[u];if((c.route.HydrateFallback||c.route.hydrateFallbackElement)&&(l=u),c.route.id){let{loaderData:v,errors:w}=r,x=c.route.loader&&!v.hasOwnProperty(c.route.id)&&(!w||w[c.route.id]===void 0);if(c.route.lazy||x){d=!0,l>=0?a=a.slice(0,l+1):a=[a[0]];break}}}return a.reduceRight((u,c,v)=>{let w,x=!1,L=null,k=null;r&&(w=s&&c.route.id?s[c.route.id]:void 0,L=c.route.errorElement||Xa,d&&(l<0&&v===0?(dn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,k=null):l===v&&(x=!0,k=c.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,v+1)),I=()=>{let C;return w?C=L:x?C=k:c.route.Component?C=M.createElement(c.route.Component,null):c.route.element?C=c.route.element:C=u,M.createElement(Ka,{match:c,routeContext:{outlet:u,matches:p,isDataRoute:r!=null},children:C})};return r&&(c.route.ErrorBoundary||c.route.errorElement||v===0)?M.createElement(Ga,{location:r.location,revalidation:r.revalidation,component:L,error:w,children:I(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):I()},null)}function Gt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Za(e){let t=M.useContext(Me);return ae(t,Gt(e)),t}function Qa(e){let t=M.useContext(Ot);return ae(t,Gt(e)),t}function eo(e){let t=M.useContext(Oe);return ae(t,Gt(e)),t}function Kt(e){let t=eo(e),r=t.matches[t.matches.length-1];return ae(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function to(){return Kt("useRouteId")}function ro(){let e=M.useContext(qt),t=Qa("useRouteError"),r=Kt("useRouteError");return e!==void 0?e:t.errors?.[r]}function no(){let{router:e}=Za("useNavigate"),t=Kt("useNavigate"),r=M.useRef(!1);return cn(()=>{r.current=!0}),M.useCallback(async(a,s={})=>{ve(r.current,un),r.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...s}))},[e,t])}var jr={};function dn(e,t,r){!t&&!jr[e]&&(jr[e]=!0,ve(!1,r))}M.memo(io);function io({routes:e,future:t,state:r}){return fn(e,void 0,r,t)}function hn(e){ae(!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 ao({basename:e="/",children:t=null,location:r,navigationType:i="POP",navigator:a,static:s=!1}){ae(!Ze(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),l=M.useMemo(()=>({basename:d,navigator:a,static:s,future:{}}),[d,a,s]);typeof r=="string"&&(r=De(r));let{pathname:u="/",search:c="",hash:v="",state:w=null,key:x="default"}=r,L=M.useMemo(()=>{let k=xe(u,d);return k==null?null:{location:{pathname:k,search:c,hash:v,state:w,key:x},navigationType:i}},[d,u,c,v,w,x,i]);return ve(L!=null,`<Router basename="${d}"> is not able to match the URL "${u}${c}${v}" because it does not start with the basename, so the <Router> won't render anything.`),L==null?null:M.createElement(we.Provider,{value:l},M.createElement(Je.Provider,{children:t,value:L}))}function oo({children:e,location:t}){return Va(Ft(e),t)}function Ft(e,t=[]){let r=[];return M.Children.forEach(e,(i,a)=>{if(!M.isValidElement(i))return;let s=[...t,a];if(i.type===M.Fragment){r.push.apply(r,Ft(i.props.children,s));return}ae(i.type===hn,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ae(!i.props.index||!i.props.children,"An index route cannot have child routes.");let d={id:i.props.id||s.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(d.children=Ft(i.props.children,s)),r.push(d)}),r}var ut="get",ct="application/x-www-form-urlencoded";function kt(e){return e!=null&&typeof e.tagName=="string"}function so(e){return kt(e)&&e.tagName.toLowerCase()==="button"}function lo(e){return kt(e)&&e.tagName.toLowerCase()==="form"}function uo(e){return kt(e)&&e.tagName.toLowerCase()==="input"}function co(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function fo(e,t){return e.button===0&&(!t||t==="_self")&&!co(e)}function Wt(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let i=e[r];return t.concat(Array.isArray(i)?i.map(a=>[r,a]):[[r,i]])},[]))}function ho(e,t){let r=Wt(e);return t&&t.forEach((i,a)=>{r.has(a)||t.getAll(a).forEach(s=>{r.append(a,s)})}),r}var at=null;function po(){if(at===null)try{new FormData(document.createElement("form"),0),at=!1}catch{at=!0}return at}var mo=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $t(e){return e!=null&&!mo.has(e)?(ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`),null):e}function vo(e,t){let r,i,a,s,d;if(lo(e)){let l=e.getAttribute("action");i=l?xe(l,t):null,r=e.getAttribute("method")||ut,a=$t(e.getAttribute("enctype"))||ct,s=new FormData(e)}else if(so(e)||uo(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||l.getAttribute("action");if(i=u?xe(u,t):null,r=e.getAttribute("formmethod")||l.getAttribute("method")||ut,a=$t(e.getAttribute("formenctype"))||$t(l.getAttribute("enctype"))||ct,s=new FormData(l,e),!po()){let{name:c,type:v,value:w}=e;if(v==="image"){let x=c?`${c}.`:"";s.append(`${x}x`,"0"),s.append(`${x}y`,"0")}else c&&s.append(c,w)}}else{if(kt(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ut,i=null,a=ct,d=e}return s&&a==="text/plain"&&(d=s,s=void 0),{action:i,method:r.toLowerCase(),encType:a,formData:s,body:d}}function Jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function go(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 yo(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 bo(e,t,r){let i=await Promise.all(e.map(async a=>{let s=t.routes[a.route.id];if(s){let d=await go(s,r);return d.links?d.links():[]}return[]}));return Oo(i.flat(1).filter(yo).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function Lr(e,t,r,i,a,s){let d=(u,c)=>r[c]?u.route.id!==r[c].route.id:!0,l=(u,c)=>r[c].pathname!==u.pathname||r[c].route.path?.endsWith("*")&&r[c].params["*"]!==u.params["*"];return s==="assets"?t.filter((u,c)=>d(u,c)||l(u,c)):s==="data"?t.filter((u,c)=>{let v=i.routes[u.route.id];if(!v||!v.hasLoader)return!1;if(d(u,c)||l(u,c))return!0;if(u.route.shouldRevalidate){let w=u.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof w=="boolean")return w}return!0}):[]}function wo(e,t,{includeHydrateFallback:r}={}){return So(e.map(i=>{let a=t.routes[i.route.id];if(!a)return[];let s=[a.module];return a.clientActionModule&&(s=s.concat(a.clientActionModule)),a.clientLoaderModule&&(s=s.concat(a.clientLoaderModule)),r&&a.hydrateFallbackModule&&(s=s.concat(a.hydrateFallbackModule)),a.imports&&(s=s.concat(a.imports)),s}).flat(1))}function So(e){return[...new Set(e)]}function xo(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}function Oo(e,t){let r=new Set;return new Set(t),e.reduce((i,a)=>{let s=JSON.stringify(xo(a));return r.has(s)||(r.add(s),i.push({key:s,link:a})),i},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ko=new Set([100,101,204,205]);function Co(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 pn(){let e=M.useContext(Me);return Jt(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Po(){let e=M.useContext(Ot);return Jt(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Zt=M.createContext(void 0);Zt.displayName="FrameworkContext";function mn(){let e=M.useContext(Zt);return Jt(e,"You must render this element inside a <HydratedRouter> element"),e}function Eo(e,t){let r=M.useContext(Zt),[i,a]=M.useState(!1),[s,d]=M.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:c,onMouseLeave:v,onTouchStart:w}=t,x=M.useRef(null);M.useEffect(()=>{if(e==="render"&&d(!0),e==="viewport"){let p=C=>{C.forEach(F=>{d(F.isIntersecting)})},I=new IntersectionObserver(p,{threshold:.5});return x.current&&I.observe(x.current),()=>{I.disconnect()}}},[e]),M.useEffect(()=>{if(i){let p=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(p)}}},[i]);let L=()=>{a(!0)},k=()=>{a(!1),d(!1)};return r?e!=="intent"?[s,x,{}]:[s,x,{onFocus:Ye(l,L),onBlur:Ye(u,k),onMouseEnter:Ye(c,L),onMouseLeave:Ye(v,k),onTouchStart:Ye(w,L)}]:[!1,x,{}]}function Ye(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Ro({page:e,...t}){let{router:r}=pn(),i=M.useMemo(()=>tn(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?M.createElement(_o,{page:e,matches:i,...t}):null}function To(e){let{manifest:t,routeModules:r}=mn(),[i,a]=M.useState([]);return M.useEffect(()=>{let s=!1;return bo(e,t,r).then(d=>{s||a(d)}),()=>{s=!0}},[e,t,r]),i}function _o({page:e,matches:t,...r}){let i=ke(),{manifest:a,routeModules:s}=mn(),{basename:d}=pn(),{loaderData:l,matches:u}=Po(),c=M.useMemo(()=>Lr(e,t,u,a,i,"data"),[e,t,u,a,i]),v=M.useMemo(()=>Lr(e,t,u,a,i,"assets"),[e,t,u,a,i]),w=M.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let k=new Set,p=!1;if(t.forEach(C=>{let F=a.routes[C.route.id];!F||!F.hasLoader||(!c.some(U=>U.route.id===C.route.id)&&C.route.id in l&&s[C.route.id]?.shouldRevalidate||F.hasClientLoader?p=!0:k.add(C.route.id))}),k.size===0)return[];let I=Co(e,d);return p&&k.size>0&&I.searchParams.set("_routes",t.filter(C=>k.has(C.route.id)).map(C=>C.route.id).join(",")),[I.pathname+I.search]},[d,l,i,a,c,t,e,s]),x=M.useMemo(()=>wo(v,a),[v,a]),L=To(v);return M.createElement(M.Fragment,null,w.map(k=>M.createElement("link",{key:k,rel:"prefetch",as:"fetch",href:k,...r})),x.map(k=>M.createElement("link",{key:k,rel:"modulepreload",href:k,...r})),L.map(({key:k,link:p})=>M.createElement("link",{key:k,...p})))}function jo(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var vn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{vn&&(window.__reactRouterVersion="7.6.3")}catch{}function Lo({basename:e,children:t,window:r}){let i=M.useRef();i.current==null&&(i.current=ga({window:r,v5Compat:!0}));let a=i.current,[s,d]=M.useState({action:a.action,location:a.location}),l=M.useCallback(u=>{M.startTransition(()=>d(u))},[d]);return M.useLayoutEffect(()=>a.listen(l),[a,l]),M.createElement(ao,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:a})}var gn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yn=M.forwardRef(function({onClick:t,discover:r="render",prefetch:i="none",relative:a,reloadDocument:s,replace:d,state:l,target:u,to:c,preventScrollReset:v,viewTransition:w,...x},L){let{basename:k}=M.useContext(we),p=typeof c=="string"&&gn.test(c),I,C=!1;if(typeof c=="string"&&p&&(I=c,vn))try{let y=new URL(window.location.href),h=c.startsWith("//")?new URL(y.protocol+c):new URL(c),P=xe(h.pathname,k);h.origin===y.origin&&P!=null?c=P+h.search+h.hash:C=!0}catch{ve(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let F=Ya(c,{relative:a}),[U,V,g]=Eo(i,x),b=Io(c,{replace:d,state:l,target:u,preventScrollReset:v,relative:a,viewTransition:w});function S(y){t&&t(y),y.defaultPrevented||b(y)}let R=M.createElement("a",{...x,...g,href:I||F,onClick:C||s?t:S,ref:jo(L,V),target:u,"data-discover":!p&&r==="render"?"true":void 0});return U&&!p?M.createElement(M.Fragment,null,R,M.createElement(Ro,{page:F})):R});yn.displayName="Link";var Do=M.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:i="",end:a=!1,style:s,to:d,viewTransition:l,children:u,...c},v){let w=Qe(d,{relative:c.relative}),x=ke(),L=M.useContext(Ot),{navigator:k,basename:p}=M.useContext(we),I=L!=null&&Wo(w)&&l===!0,C=k.encodeLocation?k.encodeLocation(w).pathname:w.pathname,F=x.pathname,U=L&&L.navigation&&L.navigation.location?L.navigation.location.pathname:null;r||(F=F.toLowerCase(),U=U?U.toLowerCase():null,C=C.toLowerCase()),U&&p&&(U=xe(U,p)||U);const V=C!=="/"&&C.endsWith("/")?C.length-1:C.length;let g=F===C||!a&&F.startsWith(C)&&F.charAt(V)==="/",b=U!=null&&(U===C||!a&&U.startsWith(C)&&U.charAt(C.length)==="/"),S={isActive:g,isPending:b,isTransitioning:I},R=g?t:void 0,y;typeof i=="function"?y=i(S):y=[i,g?"active":null,b?"pending":null,I?"transitioning":null].filter(Boolean).join(" ");let h=typeof s=="function"?s(S):s;return M.createElement(yn,{...c,"aria-current":R,className:y,ref:v,style:h,to:d,viewTransition:l},typeof u=="function"?u(S):u)});Do.displayName="NavLink";var Mo=M.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:s,method:d=ut,action:l,onSubmit:u,relative:c,preventScrollReset:v,viewTransition:w,...x},L)=>{let k=No(),p=Fo(l,{relative:c}),I=d.toLowerCase()==="get"?"get":"post",C=typeof l=="string"&&gn.test(l),F=U=>{if(u&&u(U),U.defaultPrevented)return;U.preventDefault();let V=U.nativeEvent.submitter,g=V?.getAttribute("formmethod")||d;k(V||U.currentTarget,{fetcherKey:t,method:g,navigate:r,replace:a,state:s,relative:c,preventScrollReset:v,viewTransition:w})};return M.createElement("form",{ref:L,method:I,action:p,onSubmit:i?u:F,...x,"data-discover":!C&&e==="render"?"true":void 0})});Mo.displayName="Form";function $o(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function bn(e){let t=M.useContext(Me);return ae(t,$o(e)),t}function Io(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:s,viewTransition:d}={}){let l=Xt(),u=ke(),c=Qe(e,{relative:s});return M.useCallback(v=>{if(fo(v,t)){v.preventDefault();let w=r!==void 0?r:Xe(u)===Xe(c);l(e,{replace:w,state:i,preventScrollReset:a,relative:s,viewTransition:d})}},[u,l,c,r,i,t,e,a,s,d])}function Ao(e){ve(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=M.useRef(Wt(e)),r=M.useRef(!1),i=ke(),a=M.useMemo(()=>ho(i.search,r.current?null:t.current),[i.search]),s=Xt(),d=M.useCallback((l,u)=>{const c=Wt(typeof l=="function"?l(a):l);r.current=!0,s("?"+c,u)},[s,a]);return[a,d]}var Ho=0,zo=()=>`__${String(++Ho)}__`;function No(){let{router:e}=bn("useSubmit"),{basename:t}=M.useContext(we),r=to();return M.useCallback(async(i,a={})=>{let{action:s,method:d,encType:l,formData:u,body:c}=vo(i,t);if(a.navigate===!1){let v=a.fetcherKey||zo();await e.fetch(v,r,a.action||s,{preventScrollReset:a.preventScrollReset,formData:u,body:c,formMethod:a.method||d,formEncType:a.encType||l,flushSync:a.flushSync})}else await e.navigate(a.action||s,{preventScrollReset:a.preventScrollReset,formData:u,body:c,formMethod:a.method||d,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function Fo(e,{relative:t}={}){let{basename:r}=M.useContext(we),i=M.useContext(Oe);ae(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),s={...Qe(e||".",{relative:t})},d=ke();if(e==null){s.search=d.search;let l=new URLSearchParams(s.search),u=l.getAll("index");if(u.some(v=>v==="")){l.delete("index"),u.filter(w=>w).forEach(w=>l.append("index",w));let v=l.toString();s.search=v?`?${v}`:""}}return(!e||e===".")&&a.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(s.pathname=s.pathname==="/"?r:Se([r,s.pathname])),Xe(s)}function Wo(e,t={}){let r=M.useContext(ln);ae(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=bn("useViewTransitionState"),a=Qe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let s=xe(r.currentLocation.pathname,i)||r.currentLocation.pathname,d=xe(r.nextLocation.pathname,i)||r.nextLocation.pathname;return gt(a.pathname,d)!=null||gt(a.pathname,s)!=null}[...ko];const wn=Y.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),Uo=()=>{const[e,t]=Ao(),r=Y.useMemo(()=>Object.fromEntries(e.entries()),[e]),i=Y.useCallback(c=>{const v={};return c.forEach(w=>{v[w]=e.get(w)}),v},[e]),a=Y.useCallback(c=>{const v=e.get(c);return v==null||v==null,v},[e]),s=Y.useCallback((c,v)=>{const w=new URLSearchParams(e);w.set(c,String(v)),t(w)},[e,t]),d=Y.useCallback(c=>{const v=new URLSearchParams(e);Object.entries(c).forEach(([w,x])=>{x!=null&&v.set(w,String(x))}),t(v)},[e,t]),l=Y.useCallback(c=>{const v=new URLSearchParams(e);v.delete(c),t(v)},[e,t]),u=Y.useCallback(c=>{const v=new URLSearchParams(e);c.forEach(w=>{v.delete(String(w))}),t(v)},[e,t]);return{getAll:()=>r,get:a,getMany:i,set:s,setMany:d,remove:l,removeMany:u}},Yo=()=>{const e=Xt(),t=ke(),r=Uo(),i=Y.useContext(wn),a=l=>{const u=new URL(l.path,"http://dummy-base");return l.params&&Object.entries(l.params).forEach(([c,v])=>{v!=null&&u.searchParams.set(c,String(v))}),u.pathname+u.search},s=Y.useCallback(l=>{const u=a(l);l.addToHistory!==!1?(e(u),i.addToHistory(u)):(e(u,{replace:!0}),i.popFromHistory(1),i.addToHistory(u))},[e]),d=Y.useCallback(l=>{const u=l||1;e(-u),i.popFromHistory(u)},[e]);return{currentPath:t.pathname,history:i.history,searchParams:r,goBack:d,goTo:s}},Bo=({isReady:e=!0,routes:t,children:r})=>{const i=Y.useRef([]),[a,s]=Y.useState([]),d=Y.useCallback(w=>{i.current=w,s(w)},[]),l=(w,x=!1)=>{let L=[...i.current];x&&(L=L.slice(0,L.length-1)),L=[...L,w],d(L)},u=w=>{let x="",L=[];return i.current.length===0?"/":(i.current.length<=w?(x=i.current[0],L=[x]):(L=i.current.slice(0,i.current.length-w),x=L[L.length-1]),d(L),x)},c=w=>{d(w)},v=t.map(w=>X.jsx(hn,{path:w.path,element:w.render}));return X.jsx(wn.Provider,{value:{history:a,addToHistory:l,popFromHistory:u,replaceHistory:c},children:X.jsx(Lo,{children:e&&X.jsxs(X.Fragment,{children:[r,X.jsx(oo,{children:v})]})})})},Sn=Y.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),Vo=({children:e})=>{const t=Y.useRef([]),[r,i]=Y.useState([]),a=Y.useCallback(u=>{t.current=u,i(u)},[]),s=Y.useCallback(u=>t.current.some(c=>c===u),[]),d=Y.useCallback(u=>{s(u)||a([...t.current,u])},[s,a]),l=Y.useCallback(u=>{s(u)&&a(t.current.filter(v=>v!==u))},[s,a]);return X.jsx(Sn.Provider,{value:{visibleItems:r,isItemVisible:s,showItem:d,hideItem:l},children:e})},et=()=>{const e=Y.useContext(Sn),t=a=>e.visibleItems.some(s=>s===a),r=a=>{e.showItem(a)},i=a=>{e.hideItem(a)};return{visibleItems:e.visibleItems,isItemVisible:t,showItem:r,hideItem:i}},qo=({id:e,onCloseDrawer:t,drawerCloseOffset:r=15})=>{const{isItemVisible:i}=et(),[a,s]=Y.useState({isDragging:!1}),d=Y.useRef(null),l=Y.useRef(null),u=Y.useRef(null),[c,v]=Y.useState(0),w=k=>{s(k)},x=k=>{s(k),v(0)};return Qr({ref:u,onDrag:k=>{s(k);const p=l.current?.clientHeight||0;k.distanceY&&(v(k.distanceY<0?0:-k.distanceY),k.distanceY>=p-r&&(t?.(),x(k)))},onDragEnd:x,onDragStart:w}),{isVisible:i(e),drawerParentRef:d,drawerRef:l,drawerBottomDistance:c,handleRef:u}},Xo=e=>{const{children:t,backgroundStyles:r,contentStyles:i,handle:a}=e,{isVisible:s,drawerParentRef:d,drawerRef:l,handleRef:u,drawerBottomDistance:c}=qo(e);return X.jsx(X.Fragment,{children:s&&X.jsx("div",{ref:d,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:X.jsxs("div",{ref:l,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:`${c}px`,...i},onClick:v=>{v.stopPropagation()},children:[X.jsx("div",{ref:u,style:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0px",height:"24px",width:"100%",cursor:"pointer",...a?.styles},children:a?.render}),t]})})})},Go=({onPreSubmit:e,onSubmit:t,fields:r})=>{const i=Y.useRef(null),a=Y.useRef(!1),s=c=>{const v=Array.from(c.currentTarget.elements).filter(x=>!!x.getAttribute("name")),w=[];for(const x of v){const L=x.name;w.push({name:L,value:x.value})}return w},d=async c=>{try{const L=r.list.find(k=>k.name===c.name);if(!L)return c;var v=c.value,w=c.value,x=L.configuration;if(!x)return c;if(x.emptyValidation&&x.emptyValidation.allow===!1&&!v)return c.error=x.emptyValidation.errorMessage,c;if(x.minLengthValidation&&v.length<x.minLengthValidation.value)return c.error=x.minLengthValidation.errorMessage,c;if(x.maxLengthValidation&&v.length>x.maxLengthValidation.value)return c.error=x.maxLengthValidation.errorMessage,c;if(!isNaN(w)){if(x.minValueValidation&&w<x.minValueValidation.value)return c.error=x.minValueValidation.errorMessage,c;if(x.maxValueValidation&&w>x.maxValueValidation.value)return c.error=x.maxValueValidation.errorMessage,c}if(x.exactValueValidation&&x.exactValueValidation.value!==c.value)return c.error=x.exactValueValidation.errorMessage,c;for(let k=0;k<(x.validations||[]).length;k++){const p=await x.validations?.[k](c.value);if(p)return c.error=p,c}}catch(L){console.error(`Form > Failed To Validate Field ${c.name}: `,L)}return c},l=Y.useCallback(async c=>{if(a.current)return;a.current=!0,e?.(),c.preventDefault(),c.stopPropagation();let v=s(c);v=await Promise.all(v.map(async w=>await d(w))),a.current=!1,t?.(v)},[t,e]);return{ref:i,submitForm:c=>{i.current&&i.current.requestSubmit()},handleFormSubmission:l}},Ko=Pe.div`
126
+ Please change the parent <Route path="${k}"> to <Route path="${k==="/"?"*":`${k}/*`}">.`)}let w=ke(),x;if(t){let k=typeof t=="string"?De(t):t;ae(c==="/"||k.pathname?.startsWith(c),`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 "${c}" but pathname "${k.pathname}" was given in the \`location\` prop.`),x=k}else x=w;let L=x.pathname||"/",C=L;if(c!=="/"){let k=c.replace(/^\//,"").split("/");C="/"+L.replace(/^\//,"").split("/").slice(k.length).join("/")}let p=tn(e,{pathname:C});ve(v||p!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),ve(p==null||p[p.length-1].route.element!==void 0||p[p.length-1].route.Component!==void 0||p[p.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.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 I=Ja(p&&p.map(k=>Object.assign({},k,{params:Object.assign({},l,k.params),pathname:Se([c,a.encodeLocation?a.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?c:Se([c,a.encodeLocation?a.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),s,r,i);return t&&I?M.createElement(Je.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...x},navigationType:"POP"}},I):I}function qa(){let e=ro(),t=Na(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},s={padding:"2px 4px",backgroundColor:i},d=null;return console.error("Error handled by React Router default ErrorBoundary:",e),d=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:s},"ErrorBoundary")," or"," ",M.createElement("code",{style:s},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),r?M.createElement("pre",{style:a},r):null,d)}var Xa=M.createElement(qa,null),Ga=class extends M.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?M.createElement(Oe.Provider,{value:this.props.routeContext},M.createElement(qt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ka({routeContext:e,match:t,children:r}){let i=M.useContext(Me);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),M.createElement(Oe.Provider,{value:e},r)}function Ja(e,t=[],r=null,i=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 a=e,s=r?.errors;if(s!=null){let u=a.findIndex(c=>c.route.id&&s?.[c.route.id]!==void 0);ae(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,u+1))}let d=!1,l=-1;if(r)for(let u=0;u<a.length;u++){let c=a[u];if((c.route.HydrateFallback||c.route.hydrateFallbackElement)&&(l=u),c.route.id){let{loaderData:v,errors:w}=r,x=c.route.loader&&!v.hasOwnProperty(c.route.id)&&(!w||w[c.route.id]===void 0);if(c.route.lazy||x){d=!0,l>=0?a=a.slice(0,l+1):a=[a[0]];break}}}return a.reduceRight((u,c,v)=>{let w,x=!1,L=null,C=null;r&&(w=s&&c.route.id?s[c.route.id]:void 0,L=c.route.errorElement||Xa,d&&(l<0&&v===0?(dn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,C=null):l===v&&(x=!0,C=c.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,v+1)),I=()=>{let k;return w?k=L:x?k=C:c.route.Component?k=M.createElement(c.route.Component,null):c.route.element?k=c.route.element:k=u,M.createElement(Ka,{match:c,routeContext:{outlet:u,matches:p,isDataRoute:r!=null},children:k})};return r&&(c.route.ErrorBoundary||c.route.errorElement||v===0)?M.createElement(Ga,{location:r.location,revalidation:r.revalidation,component:L,error:w,children:I(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):I()},null)}function Gt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Za(e){let t=M.useContext(Me);return ae(t,Gt(e)),t}function Qa(e){let t=M.useContext(Ot);return ae(t,Gt(e)),t}function eo(e){let t=M.useContext(Oe);return ae(t,Gt(e)),t}function Kt(e){let t=eo(e),r=t.matches[t.matches.length-1];return ae(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function to(){return Kt("useRouteId")}function ro(){let e=M.useContext(qt),t=Qa("useRouteError"),r=Kt("useRouteError");return e!==void 0?e:t.errors?.[r]}function no(){let{router:e}=Za("useNavigate"),t=Kt("useNavigate"),r=M.useRef(!1);return cn(()=>{r.current=!0}),M.useCallback(async(a,s={})=>{ve(r.current,un),r.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...s}))},[e,t])}var jr={};function dn(e,t,r){!t&&!jr[e]&&(jr[e]=!0,ve(!1,r))}M.memo(io);function io({routes:e,future:t,state:r}){return fn(e,void 0,r,t)}function hn(e){ae(!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 ao({basename:e="/",children:t=null,location:r,navigationType:i="POP",navigator:a,static:s=!1}){ae(!Ze(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),l=M.useMemo(()=>({basename:d,navigator:a,static:s,future:{}}),[d,a,s]);typeof r=="string"&&(r=De(r));let{pathname:u="/",search:c="",hash:v="",state:w=null,key:x="default"}=r,L=M.useMemo(()=>{let C=xe(u,d);return C==null?null:{location:{pathname:C,search:c,hash:v,state:w,key:x},navigationType:i}},[d,u,c,v,w,x,i]);return ve(L!=null,`<Router basename="${d}"> is not able to match the URL "${u}${c}${v}" because it does not start with the basename, so the <Router> won't render anything.`),L==null?null:M.createElement(we.Provider,{value:l},M.createElement(Je.Provider,{children:t,value:L}))}function oo({children:e,location:t}){return Va(Ft(e),t)}function Ft(e,t=[]){let r=[];return M.Children.forEach(e,(i,a)=>{if(!M.isValidElement(i))return;let s=[...t,a];if(i.type===M.Fragment){r.push.apply(r,Ft(i.props.children,s));return}ae(i.type===hn,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ae(!i.props.index||!i.props.children,"An index route cannot have child routes.");let d={id:i.props.id||s.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(d.children=Ft(i.props.children,s)),r.push(d)}),r}var ut="get",ct="application/x-www-form-urlencoded";function kt(e){return e!=null&&typeof e.tagName=="string"}function so(e){return kt(e)&&e.tagName.toLowerCase()==="button"}function lo(e){return kt(e)&&e.tagName.toLowerCase()==="form"}function uo(e){return kt(e)&&e.tagName.toLowerCase()==="input"}function co(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function fo(e,t){return e.button===0&&(!t||t==="_self")&&!co(e)}function Wt(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let i=e[r];return t.concat(Array.isArray(i)?i.map(a=>[r,a]):[[r,i]])},[]))}function ho(e,t){let r=Wt(e);return t&&t.forEach((i,a)=>{r.has(a)||t.getAll(a).forEach(s=>{r.append(a,s)})}),r}var at=null;function po(){if(at===null)try{new FormData(document.createElement("form"),0),at=!1}catch{at=!0}return at}var mo=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $t(e){return e!=null&&!mo.has(e)?(ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`),null):e}function vo(e,t){let r,i,a,s,d;if(lo(e)){let l=e.getAttribute("action");i=l?xe(l,t):null,r=e.getAttribute("method")||ut,a=$t(e.getAttribute("enctype"))||ct,s=new FormData(e)}else if(so(e)||uo(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||l.getAttribute("action");if(i=u?xe(u,t):null,r=e.getAttribute("formmethod")||l.getAttribute("method")||ut,a=$t(e.getAttribute("formenctype"))||$t(l.getAttribute("enctype"))||ct,s=new FormData(l,e),!po()){let{name:c,type:v,value:w}=e;if(v==="image"){let x=c?`${c}.`:"";s.append(`${x}x`,"0"),s.append(`${x}y`,"0")}else c&&s.append(c,w)}}else{if(kt(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ut,i=null,a=ct,d=e}return s&&a==="text/plain"&&(d=s,s=void 0),{action:i,method:r.toLowerCase(),encType:a,formData:s,body:d}}function Jt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function go(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 yo(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 bo(e,t,r){let i=await Promise.all(e.map(async a=>{let s=t.routes[a.route.id];if(s){let d=await go(s,r);return d.links?d.links():[]}return[]}));return Oo(i.flat(1).filter(yo).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function Lr(e,t,r,i,a,s){let d=(u,c)=>r[c]?u.route.id!==r[c].route.id:!0,l=(u,c)=>r[c].pathname!==u.pathname||r[c].route.path?.endsWith("*")&&r[c].params["*"]!==u.params["*"];return s==="assets"?t.filter((u,c)=>d(u,c)||l(u,c)):s==="data"?t.filter((u,c)=>{let v=i.routes[u.route.id];if(!v||!v.hasLoader)return!1;if(d(u,c)||l(u,c))return!0;if(u.route.shouldRevalidate){let w=u.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof w=="boolean")return w}return!0}):[]}function wo(e,t,{includeHydrateFallback:r}={}){return So(e.map(i=>{let a=t.routes[i.route.id];if(!a)return[];let s=[a.module];return a.clientActionModule&&(s=s.concat(a.clientActionModule)),a.clientLoaderModule&&(s=s.concat(a.clientLoaderModule)),r&&a.hydrateFallbackModule&&(s=s.concat(a.hydrateFallbackModule)),a.imports&&(s=s.concat(a.imports)),s}).flat(1))}function So(e){return[...new Set(e)]}function xo(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}function Oo(e,t){let r=new Set;return new Set(t),e.reduce((i,a)=>{let s=JSON.stringify(xo(a));return r.has(s)||(r.add(s),i.push({key:s,link:a})),i},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ko=new Set([100,101,204,205]);function Co(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 pn(){let e=M.useContext(Me);return Jt(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Po(){let e=M.useContext(Ot);return Jt(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Zt=M.createContext(void 0);Zt.displayName="FrameworkContext";function mn(){let e=M.useContext(Zt);return Jt(e,"You must render this element inside a <HydratedRouter> element"),e}function Eo(e,t){let r=M.useContext(Zt),[i,a]=M.useState(!1),[s,d]=M.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:c,onMouseLeave:v,onTouchStart:w}=t,x=M.useRef(null);M.useEffect(()=>{if(e==="render"&&d(!0),e==="viewport"){let p=k=>{k.forEach(F=>{d(F.isIntersecting)})},I=new IntersectionObserver(p,{threshold:.5});return x.current&&I.observe(x.current),()=>{I.disconnect()}}},[e]),M.useEffect(()=>{if(i){let p=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(p)}}},[i]);let L=()=>{a(!0)},C=()=>{a(!1),d(!1)};return r?e!=="intent"?[s,x,{}]:[s,x,{onFocus:Ye(l,L),onBlur:Ye(u,C),onMouseEnter:Ye(c,L),onMouseLeave:Ye(v,C),onTouchStart:Ye(w,L)}]:[!1,x,{}]}function Ye(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Ro({page:e,...t}){let{router:r}=pn(),i=M.useMemo(()=>tn(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?M.createElement(_o,{page:e,matches:i,...t}):null}function To(e){let{manifest:t,routeModules:r}=mn(),[i,a]=M.useState([]);return M.useEffect(()=>{let s=!1;return bo(e,t,r).then(d=>{s||a(d)}),()=>{s=!0}},[e,t,r]),i}function _o({page:e,matches:t,...r}){let i=ke(),{manifest:a,routeModules:s}=mn(),{basename:d}=pn(),{loaderData:l,matches:u}=Po(),c=M.useMemo(()=>Lr(e,t,u,a,i,"data"),[e,t,u,a,i]),v=M.useMemo(()=>Lr(e,t,u,a,i,"assets"),[e,t,u,a,i]),w=M.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let C=new Set,p=!1;if(t.forEach(k=>{let F=a.routes[k.route.id];!F||!F.hasLoader||(!c.some(U=>U.route.id===k.route.id)&&k.route.id in l&&s[k.route.id]?.shouldRevalidate||F.hasClientLoader?p=!0:C.add(k.route.id))}),C.size===0)return[];let I=Co(e,d);return p&&C.size>0&&I.searchParams.set("_routes",t.filter(k=>C.has(k.route.id)).map(k=>k.route.id).join(",")),[I.pathname+I.search]},[d,l,i,a,c,t,e,s]),x=M.useMemo(()=>wo(v,a),[v,a]),L=To(v);return M.createElement(M.Fragment,null,w.map(C=>M.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...r})),x.map(C=>M.createElement("link",{key:C,rel:"modulepreload",href:C,...r})),L.map(({key:C,link:p})=>M.createElement("link",{key:C,...p})))}function jo(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var vn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{vn&&(window.__reactRouterVersion="7.6.3")}catch{}function Lo({basename:e,children:t,window:r}){let i=M.useRef();i.current==null&&(i.current=ga({window:r,v5Compat:!0}));let a=i.current,[s,d]=M.useState({action:a.action,location:a.location}),l=M.useCallback(u=>{M.startTransition(()=>d(u))},[d]);return M.useLayoutEffect(()=>a.listen(l),[a,l]),M.createElement(ao,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:a})}var gn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yn=M.forwardRef(function({onClick:t,discover:r="render",prefetch:i="none",relative:a,reloadDocument:s,replace:d,state:l,target:u,to:c,preventScrollReset:v,viewTransition:w,...x},L){let{basename:C}=M.useContext(we),p=typeof c=="string"&&gn.test(c),I,k=!1;if(typeof c=="string"&&p&&(I=c,vn))try{let y=new URL(window.location.href),h=c.startsWith("//")?new URL(y.protocol+c):new URL(c),P=xe(h.pathname,C);h.origin===y.origin&&P!=null?c=P+h.search+h.hash:k=!0}catch{ve(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let F=Ya(c,{relative:a}),[U,V,g]=Eo(i,x),b=Io(c,{replace:d,state:l,target:u,preventScrollReset:v,relative:a,viewTransition:w});function S(y){t&&t(y),y.defaultPrevented||b(y)}let R=M.createElement("a",{...x,...g,href:I||F,onClick:k||s?t:S,ref:jo(L,V),target:u,"data-discover":!p&&r==="render"?"true":void 0});return U&&!p?M.createElement(M.Fragment,null,R,M.createElement(Ro,{page:F})):R});yn.displayName="Link";var Do=M.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:i="",end:a=!1,style:s,to:d,viewTransition:l,children:u,...c},v){let w=Qe(d,{relative:c.relative}),x=ke(),L=M.useContext(Ot),{navigator:C,basename:p}=M.useContext(we),I=L!=null&&Wo(w)&&l===!0,k=C.encodeLocation?C.encodeLocation(w).pathname:w.pathname,F=x.pathname,U=L&&L.navigation&&L.navigation.location?L.navigation.location.pathname:null;r||(F=F.toLowerCase(),U=U?U.toLowerCase():null,k=k.toLowerCase()),U&&p&&(U=xe(U,p)||U);const V=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let g=F===k||!a&&F.startsWith(k)&&F.charAt(V)==="/",b=U!=null&&(U===k||!a&&U.startsWith(k)&&U.charAt(k.length)==="/"),S={isActive:g,isPending:b,isTransitioning:I},R=g?t:void 0,y;typeof i=="function"?y=i(S):y=[i,g?"active":null,b?"pending":null,I?"transitioning":null].filter(Boolean).join(" ");let h=typeof s=="function"?s(S):s;return M.createElement(yn,{...c,"aria-current":R,className:y,ref:v,style:h,to:d,viewTransition:l},typeof u=="function"?u(S):u)});Do.displayName="NavLink";var Mo=M.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:s,method:d=ut,action:l,onSubmit:u,relative:c,preventScrollReset:v,viewTransition:w,...x},L)=>{let C=No(),p=Fo(l,{relative:c}),I=d.toLowerCase()==="get"?"get":"post",k=typeof l=="string"&&gn.test(l),F=U=>{if(u&&u(U),U.defaultPrevented)return;U.preventDefault();let V=U.nativeEvent.submitter,g=V?.getAttribute("formmethod")||d;C(V||U.currentTarget,{fetcherKey:t,method:g,navigate:r,replace:a,state:s,relative:c,preventScrollReset:v,viewTransition:w})};return M.createElement("form",{ref:L,method:I,action:p,onSubmit:i?u:F,...x,"data-discover":!k&&e==="render"?"true":void 0})});Mo.displayName="Form";function $o(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function bn(e){let t=M.useContext(Me);return ae(t,$o(e)),t}function Io(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:s,viewTransition:d}={}){let l=Xt(),u=ke(),c=Qe(e,{relative:s});return M.useCallback(v=>{if(fo(v,t)){v.preventDefault();let w=r!==void 0?r:Xe(u)===Xe(c);l(e,{replace:w,state:i,preventScrollReset:a,relative:s,viewTransition:d})}},[u,l,c,r,i,t,e,a,s,d])}function Ao(e){ve(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=M.useRef(Wt(e)),r=M.useRef(!1),i=ke(),a=M.useMemo(()=>ho(i.search,r.current?null:t.current),[i.search]),s=Xt(),d=M.useCallback((l,u)=>{const c=Wt(typeof l=="function"?l(a):l);r.current=!0,s("?"+c,u)},[s,a]);return[a,d]}var Ho=0,zo=()=>`__${String(++Ho)}__`;function No(){let{router:e}=bn("useSubmit"),{basename:t}=M.useContext(we),r=to();return M.useCallback(async(i,a={})=>{let{action:s,method:d,encType:l,formData:u,body:c}=vo(i,t);if(a.navigate===!1){let v=a.fetcherKey||zo();await e.fetch(v,r,a.action||s,{preventScrollReset:a.preventScrollReset,formData:u,body:c,formMethod:a.method||d,formEncType:a.encType||l,flushSync:a.flushSync})}else await e.navigate(a.action||s,{preventScrollReset:a.preventScrollReset,formData:u,body:c,formMethod:a.method||d,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function Fo(e,{relative:t}={}){let{basename:r}=M.useContext(we),i=M.useContext(Oe);ae(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),s={...Qe(e||".",{relative:t})},d=ke();if(e==null){s.search=d.search;let l=new URLSearchParams(s.search),u=l.getAll("index");if(u.some(v=>v==="")){l.delete("index"),u.filter(w=>w).forEach(w=>l.append("index",w));let v=l.toString();s.search=v?`?${v}`:""}}return(!e||e===".")&&a.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(s.pathname=s.pathname==="/"?r:Se([r,s.pathname])),Xe(s)}function Wo(e,t={}){let r=M.useContext(ln);ae(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=bn("useViewTransitionState"),a=Qe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let s=xe(r.currentLocation.pathname,i)||r.currentLocation.pathname,d=xe(r.nextLocation.pathname,i)||r.nextLocation.pathname;return gt(a.pathname,d)!=null||gt(a.pathname,s)!=null}[...ko];const wn=Y.createContext({history:[],addToHistory:()=>{},popFromHistory:()=>"",replaceHistory:()=>{}}),Uo=()=>{const[e,t]=Ao(),r=Y.useMemo(()=>Object.fromEntries(e.entries()),[e]),i=Y.useCallback(c=>{const v={};return c.forEach(w=>{v[w]=e.get(w)}),v},[e]),a=Y.useCallback(c=>{const v=e.get(c);return v==null||v==null,v},[e]),s=Y.useCallback((c,v)=>{const w=new URLSearchParams(e);w.set(c,String(v)),t(w)},[e,t]),d=Y.useCallback(c=>{const v=new URLSearchParams(e);Object.entries(c).forEach(([w,x])=>{x!=null&&v.set(w,String(x))}),t(v)},[e,t]),l=Y.useCallback(c=>{const v=new URLSearchParams(e);v.delete(c),t(v)},[e,t]),u=Y.useCallback(c=>{const v=new URLSearchParams(e);c.forEach(w=>{v.delete(String(w))}),t(v)},[e,t]);return{getAll:()=>r,get:a,getMany:i,set:s,setMany:d,remove:l,removeMany:u}},Yo=()=>{const e=Xt(),t=ke(),r=Uo(),i=Y.useContext(wn),a=l=>{const u=new URL(l.path,"http://dummy-base");return l.params&&Object.entries(l.params).forEach(([c,v])=>{v!=null&&u.searchParams.set(c,String(v))}),u.pathname+u.search},s=Y.useCallback(l=>{const u=a(l);l.addToHistory!==!1?(e(u),i.addToHistory(u)):(e(u,{replace:!0}),i.popFromHistory(1),i.addToHistory(u))},[e]),d=Y.useCallback(l=>{const u=l||1;e(-u),i.popFromHistory(u)},[e]);return{currentPath:t.pathname,history:i.history,searchParams:r,goBack:d,goTo:s}},Bo=({isReady:e=!0,routes:t,children:r})=>{const i=Y.useRef([]),[a,s]=Y.useState([]),d=Y.useCallback(w=>{i.current=w,s(w)},[]),l=(w,x=!1)=>{let L=[...i.current];x&&(L=L.slice(0,L.length-1)),L=[...L,w],d(L)},u=w=>{let x="",L=[];return i.current.length===0?"/":(i.current.length<=w?(x=i.current[0],L=[x]):(L=i.current.slice(0,i.current.length-w),x=L[L.length-1]),d(L),x)},c=w=>{d(w)},v=t.map(w=>X.jsx(hn,{path:w.path,element:w.render}));return X.jsx(wn.Provider,{value:{history:a,addToHistory:l,popFromHistory:u,replaceHistory:c},children:X.jsx(Lo,{children:e&&X.jsxs(X.Fragment,{children:[r,X.jsx(oo,{children:v})]})})})},Sn=Y.createContext({visibleItems:[],isItemVisible:()=>!1,showItem:()=>{},hideItem:()=>{}}),Vo=({children:e})=>{const t=Y.useRef([]),[r,i]=Y.useState([]),a=Y.useCallback(u=>{t.current=u,i(u)},[]),s=Y.useCallback(u=>t.current.some(c=>c===u),[]),d=Y.useCallback(u=>{s(u)||a([...t.current,u])},[s,a]),l=Y.useCallback(u=>{s(u)&&a(t.current.filter(v=>v!==u))},[s,a]);return X.jsx(Sn.Provider,{value:{visibleItems:r,isItemVisible:s,showItem:d,hideItem:l},children:e})},et=()=>{const e=Y.useContext(Sn),t=a=>e.visibleItems.some(s=>s===a),r=a=>{e.showItem(a)},i=a=>{e.hideItem(a)};return{visibleItems:e.visibleItems,isItemVisible:t,showItem:r,hideItem:i}},qo=({id:e,onCloseDrawer:t,drawerCloseOffset:r=15})=>{const{isItemVisible:i}=et(),[a,s]=Y.useState({isDragging:!1}),d=Y.useRef(null),l=Y.useRef(null),u=Y.useRef(null),[c,v]=Y.useState(0),w=C=>{s(C)},x=C=>{s(C),v(0)};return Qr({ref:u,onDrag:C=>{s(C);const p=l.current?.clientHeight||0;C.distanceY&&(v(C.distanceY<0?0:-C.distanceY),C.distanceY>=p-r&&(t?.(),x(C)))},onDragEnd:x,onDragStart:w}),{isVisible:i(e),drawerParentRef:d,drawerRef:l,drawerBottomDistance:c,handleRef:u}},Xo=e=>{const{children:t,backgroundStyles:r,contentStyles:i,handle:a}=e,{isVisible:s,drawerParentRef:d,drawerRef:l,handleRef:u,drawerBottomDistance:c}=qo(e);return X.jsx(X.Fragment,{children:s&&X.jsx("div",{ref:d,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:X.jsxs("div",{ref:l,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:`${c}px`,...i},onClick:v=>{v.stopPropagation()},children:[X.jsx("div",{ref:u,style:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0px",height:"24px",width:"100%",cursor:"pointer",...a?.styles},children:a?.render}),t]})})})},Go=({onPreSubmit:e,onSubmit:t,configurations:r})=>{const i=Y.useRef(null),a=Y.useRef(!1),s=c=>{const v=Array.from(c.currentTarget.elements).filter(x=>!!x.getAttribute("name")),w=[];for(const x of v){const L=x.name;w.push({name:L,value:x.value})}return w},d=async c=>{try{const x=(r||[]).find(L=>L.name===c.name);if(!x)return c;var v=c.value,w=c.value;if(x.emptyValidation&&x.emptyValidation.allow===!1&&!v)return c.error=x.emptyValidation.errorMessage,c;if(x.minLengthValidation&&v.length<x.minLengthValidation.value)return c.error=x.minLengthValidation.errorMessage,c;if(x.maxLengthValidation&&v.length>x.maxLengthValidation.value)return c.error=x.maxLengthValidation.errorMessage,c;if(!isNaN(w)){if(x.minValueValidation&&w<x.minValueValidation.value)return c.error=x.minValueValidation.errorMessage,c;if(x.maxValueValidation&&w>x.maxValueValidation.value)return c.error=x.maxValueValidation.errorMessage,c}if(x.exactValueValidation&&x.exactValueValidation.value!==c.value)return c.error=x.exactValueValidation.errorMessage,c;for(let L=0;L<(x.validations||[]).length;L++){const C=await x.validations?.[L](c.value);if(C)return c.error=C,c}}catch(x){console.error(`Form > Failed To Validate Field ${c.name}: `,x)}return c},l=Y.useCallback(async c=>{if(a.current)return;a.current=!0,e?.(),c.preventDefault(),c.stopPropagation();let v=s(c);v=await Promise.all(v.map(async w=>await d(w))),a.current=!1,t?.(v)},[t,e]);return{ref:i,submitForm:c=>{i.current&&i.current.requestSubmit()},handleFormSubmission:l}},Ko=Pe.div`
127
127
  display: flex;
128
128
  width: 100%;
129
129
  align-items: center;
@@ -138,7 +138,7 @@ Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}
138
138
  > * {
139
139
  pointer-events: none;
140
140
  }
141
- `,Jo=e=>{const{fields:t,styles:r,submitButton:i}=e,{ref:a,handleFormSubmission:s,submitForm:d}=Go(e),l=Y.useCallback(()=>t.list.map(u=>({...u.content,key:u.name})),[t]);return X.jsxs("form",{ref:a,onSubmit:s,style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...r},children:[X.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...t.styles},children:l()}),X.jsx(Ko,{onClick:d,styles:{...i.styles},children:i.content})]})},Zo=({src:e,alt:t="",onClick:r,styles:i})=>X.jsx("img",{src:e,alt:t,style:{overflow:"hidden",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",objectFit:"cover",...i},onClick:()=>{r?.()}}),Qo=e=>({handleOnBlur:a=>{e.onBlur?.()},handleOnFocus:a=>{a.preventDefault(),a.stopPropagation(),e.onFocus?.()},onValueChanged:a=>{e.onChange?.(a.currentTarget.value)}}),es=Pe.div`
141
+ `,Jo=e=>{const{children:t,styles:r,childrenStyles:i,submitButton:a}=e,{ref:s,handleFormSubmission:d,submitForm:l}=Go(e);return X.jsxs("form",{ref:s,onSubmit:d,style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...r},children:[X.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",flex:1,...i},children:t}),X.jsx(Ko,{onClick:l,styles:{...a.styles},children:a.content})]})},Zo=({src:e,alt:t="",onClick:r,styles:i})=>X.jsx("img",{src:e,alt:t,style:{overflow:"hidden",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",objectFit:"cover",...i},onClick:()=>{r?.()}}),Qo=e=>({handleOnBlur:a=>{e.onBlur?.()},handleOnFocus:a=>{a.preventDefault(),a.stopPropagation(),e.onFocus?.()},onValueChanged:a=>{e.onChange?.(a.currentTarget.value)}}),es=Pe.div`
142
142
  display: flex;
143
143
  flex-direction: column;
144
144
  font-family: inherit;
@@ -156,7 +156,7 @@ Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}
156
156
  input:-webkit-autofill {
157
157
  background-color: #00000000;
158
158
  }
159
- `,xn=e=>{const{onValueChanged:t,handleOnBlur:r,handleOnFocus:i}=Qo(e),{name:a,label:s,leftIcon:d,rightIcon:l,bottomMessage:u,placeHolder:c,autoComplete:v="off",value:w,initialValue:x,type:L="text",maxLength:k,inputStyles:p,containerStyles:I,styles:C,step:F,pattern:U,onInput:V}=e;return X.jsxs(es,{style:{width:"100%",maxWidth:"357px",gap:"8px",...C},children:[s,X.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:"inherit",fontStyle:"normal",fontWeight:400,fontSize:"16px",lineHeight:"24px",outline:"none",alignItems:"center",gap:"10px",...I},children:[d,X.jsx("input",{name:a,type:L,autoComplete:v,step:F,maxLength:k,placeholder:c,value:w,defaultValue:x,onChange:t,onFocus:i,onBlur:r,onInput:V,pattern:U,style:{flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none",...p}}),l]}),u]})},ts=({id:e,styles:t,children:r})=>{const{isItemVisible:i}=et();return X.jsx(X.Fragment,{children:i(e)&&X.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})})},rs=({id:e,children:t,backgroundStyles:r,contentStyles:i,onClickOutsideModal:a})=>{const{isItemVisible:s}=et();return X.jsx(X.Fragment,{children:s(e)&&X.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:()=>{a?.()},children:X.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",...i},onClick:d=>{d.stopPropagation()},children:t})})})},ns=e=>{const t=Y.useRef("");function r(l){return e.allowNegatives?(l=l.replace(/-/g,(u,c)=>c===0?"-":""),l.indexOf("-")>0&&(l=l.replace(/-/g,""),l="-"+l)):l=l.replace(/-/g,""),l}function i(l){if(e.allowDecimals){l.startsWith(".")&&(l="0"+l),l.length===2&&l[0]==="-"&&l[1]==="."&&(l="-");const u=l.indexOf(".");u!==-1&&(l=l.slice(0,u+1)+l.slice(u+1).replace(/\./g,""));const[c,...v]=l.split("."),[w,...x]=t.current.split(".");let L=v.join(""),k=x.join("");e.decimalScale!==void 0&&(L.length>e.decimalScale?L=k:L=L.slice(0,e.decimalScale)),l=L||l.endsWith(".")?`${c}.${L}`:c}else l=l.replace(/\./g,"");return l}function a(l){const u=Number(l);var c=e.max;return c===void 0&&(c=e.maxLength?Number("9".repeat(e.maxLength)):void 0),!isNaN(u)&&(e.min!==void 0&&u<e.min||c!==void 0&&u>c)?t.current??l:l}const s=l=>{const u=l.target,c=u.selectionStart??0,v=u.selectionEnd??0;let w=u.value;w=w.replace(/[^0-9\.\-]/g,""),w=r(w),w=i(w),w=a(w);const x=w.length-u.value.length;u.value=w,u.setSelectionRange(c+x,v+x),t.current=w};return{props:Y.useCallback(()=>({...e,type:"text",pattern:"^-?[0-9]*.?[0-9]*$",onInput:s}),[])()}},is=({allowNegatives:e=!0,allowDecimals:t=!0,decimalScale:r=2,...i})=>{const{props:a}=ns({allowNegatives:e,allowDecimals:t,decimalScale:r,...i});return X.jsx(xn,{type:"text",...a})},as=e=>{const t=Y.useRef(null),r=Y.useRef(null),[i,a]=Y.useState(24),[s,d]=Y.useState(24),l=Y.useCallback(()=>{t.current&&a(t.current.clientHeight)},[t,t.current]),u=Y.useCallback(()=>{r.current&&d(r.current.clientHeight)},[r,r.current]),c=Y.useCallback(()=>{let v=0;return e.header?.visibility==="always"&&(v=v+(i||0)),e.footer?.visibility==="always"&&(v=v+(s||0)),v},[r,r.current]);return Y.useEffect(()=>{l()},[l,t,t.current]),Y.useEffect(()=>{u()},[u,r,r.current]),{header:{...e.header,visible:e.header!==void 0,height:e.header?.visibility==="fixed"?0:i,ref:t},footer:{...e.footer,visible:e.footer!==void 0,height:e.footer?.visibility==="fixed"?0:s,ref:r},page:{extraHeight:c()}}},os=Pe.div`
159
+ `,xn=e=>{const{onValueChanged:t,handleOnBlur:r,handleOnFocus:i}=Qo(e),{name:a,label:s,leftIcon:d,rightIcon:l,bottomMessage:u,placeHolder:c,autoComplete:v="off",value:w,initialValue:x,type:L="text",maxLength:C,inputStyles:p,containerStyles:I,styles:k,step:F,pattern:U,onInput:V}=e;return X.jsxs(es,{style:{width:"100%",maxWidth:"357px",gap:"8px",...k},children:[s,X.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:"inherit",fontStyle:"normal",fontWeight:400,fontSize:"16px",lineHeight:"24px",outline:"none",alignItems:"center",gap:"10px",...I},children:[d,X.jsx("input",{name:a,type:L,autoComplete:v,step:F,maxLength:C,placeholder:c,value:w,defaultValue:x,onChange:t,onFocus:i,onBlur:r,onInput:V,pattern:U,style:{flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none",...p}}),l]}),u]})},ts=({id:e,styles:t,children:r})=>{const{isItemVisible:i}=et();return X.jsx(X.Fragment,{children:i(e)&&X.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})})},rs=({id:e,children:t,backgroundStyles:r,contentStyles:i,onClickOutsideModal:a})=>{const{isItemVisible:s}=et();return X.jsx(X.Fragment,{children:s(e)&&X.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:()=>{a?.()},children:X.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",...i},onClick:d=>{d.stopPropagation()},children:t})})})},ns=e=>{const t=Y.useRef("");function r(l){return e.allowNegatives?(l=l.replace(/-/g,(u,c)=>c===0?"-":""),l.indexOf("-")>0&&(l=l.replace(/-/g,""),l="-"+l)):l=l.replace(/-/g,""),l}function i(l){if(e.allowDecimals){l.startsWith(".")&&(l="0"+l),l.length===2&&l[0]==="-"&&l[1]==="."&&(l="-");const u=l.indexOf(".");u!==-1&&(l=l.slice(0,u+1)+l.slice(u+1).replace(/\./g,""));const[c,...v]=l.split("."),[w,...x]=t.current.split(".");let L=v.join(""),C=x.join("");e.decimalScale!==void 0&&(L.length>e.decimalScale?L=C:L=L.slice(0,e.decimalScale)),l=L||l.endsWith(".")?`${c}.${L}`:c}else l=l.replace(/\./g,"");return l}function a(l){const u=Number(l);var c=e.max;return c===void 0&&(c=e.maxLength?Number("9".repeat(e.maxLength)):void 0),!isNaN(u)&&(e.min!==void 0&&u<e.min||c!==void 0&&u>c)?t.current??l:l}const s=l=>{const u=l.target,c=u.selectionStart??0,v=u.selectionEnd??0;let w=u.value;w=w.replace(/[^0-9\.\-]/g,""),w=r(w),w=i(w),w=a(w);const x=w.length-u.value.length;u.value=w,u.setSelectionRange(c+x,v+x),t.current=w};return{props:Y.useCallback(()=>({...e,type:"text",pattern:"^-?[0-9]*.?[0-9]*$",onInput:s}),[])()}},is=({allowNegatives:e=!0,allowDecimals:t=!0,decimalScale:r=2,...i})=>{const{props:a}=ns({allowNegatives:e,allowDecimals:t,decimalScale:r,...i});return X.jsx(xn,{type:"text",...a})},as=e=>{const t=Y.useRef(null),r=Y.useRef(null),[i,a]=Y.useState(24),[s,d]=Y.useState(24),l=Y.useCallback(()=>{t.current&&a(t.current.clientHeight)},[t,t.current]),u=Y.useCallback(()=>{r.current&&d(r.current.clientHeight)},[r,r.current]),c=Y.useCallback(()=>{let v=0;return e.header?.visibility==="always"&&(v=v+(i||0)),e.footer?.visibility==="always"&&(v=v+(s||0)),v},[r,r.current]);return Y.useEffect(()=>{l()},[l,t,t.current]),Y.useEffect(()=>{u()},[u,r,r.current]),{header:{...e.header,visible:e.header!==void 0,height:e.header?.visibility==="fixed"?0:i,ref:t},footer:{...e.footer,visible:e.footer!==void 0,height:e.footer?.visibility==="fixed"?0:s,ref:r},page:{extraHeight:c()}}},os=Pe.div`
160
160
  min-height: 100%;
161
161
  max-height: 100%;
162
162
  width: 100%;
@@ -176,7 +176,7 @@ Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}
176
176
  box-sizing: border-box;
177
177
  position: relative;
178
178
  }
179
- `,ss=e=>{const{containerStyles:t,pageStyles:r,children:i,allowScroll:a=!0,floatingContent:s,reserveSpaceForScrollbar:d}=e,{footer:l,header:u}=as(e);return X.jsxs(os,{id:"page-container",styles:{...t},children:[u.visible&&X.jsx("div",{ref:u.ref,id:"page-header",style:{width:"100%",zIndex:99,position:u.visibility==="fixed"?"relative":"sticky",top:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...u.styles},children:u.content}),X.jsx("div",{id:"page-body",style:{width:"100%",overflow:"hidden",display:"flex",flex:1,marginTop:`-${u.height}px`,marginBottom:`-${l.height}px`},children:X.jsx("div",{id:"page-content",style:{width:"100%",overflowX:"hidden",overflowY:a?"auto":"hidden",display:"flex",flexDirection:"column",flex:1,minHeight:"100%",scrollbarGutter:d?"stable":void 0,paddingLeft:"0px",paddingRight:"0px",paddingTop:`${u.height}px`,paddingBottom:`${l.height}px`,...r},children:i})}),l.visible&&X.jsx("div",{ref:l.ref,id:"page-footer",style:{width:"100%",zIndex:99,position:l.visibility==="fixed"?"relative":"sticky",bottom:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...l.styles},children:l.content})]})};class Qt{static getField=(t,r)=>{const i=t.find(a=>a.name===r);if(i)return i};static getFieldValue=t=>{if(!(!t||!t.value))return t.value};static getFieldValueOrDefault=(t,r)=>{const i=Qt.getFieldValue(t);return i||r}}class On{static clamp=(t,r,i)=>t>i?i:t<r?r:t}class ls{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 us{static getPascalCase=t=>t.replace(/\w+/g,function(r){return r[0].toUpperCase()+r.slice(1).toLowerCase()});static isEqual=(t,r,i=!0)=>i?t===r:t.toUpperCase()===r.toUpperCase()}var ft={exports:{}},cs=ft.exports,Dr;function fs(){return Dr||(Dr=1,function(e,t){(function(r,i){e.exports=i()})(cs,function(){var r=1e3,i=6e4,a=36e5,s="millisecond",d="second",l="minute",u="hour",c="day",v="week",w="month",x="quarter",L="year",k="date",p="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var E=["th","st","nd","rd"],j=_%100;return"["+_+(E[(j-20)%10]||E[j]||E[0])+"]"}},U=function(_,E,j){var o=String(_);return!o||o.length>=E?_:""+Array(E+1-o.length).join(j)+_},V={s:U,z:function(_){var E=-_.utcOffset(),j=Math.abs(E),o=Math.floor(j/60),H=j%60;return(E<=0?"+":"-")+U(o,2,"0")+":"+U(H,2,"0")},m:function _(E,j){if(E.date()<j.date())return-_(j,E);var o=12*(j.year()-E.year())+(j.month()-E.month()),H=E.clone().add(o,w),m=j-H<0,n=E.clone().add(o+(m?-1:1),w);return+(-(o+(j-H)/(m?H-n:n-H))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:w,y:L,w:v,d:c,D:k,h:u,m:l,s:d,ms:s,Q:x}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},g="en",b={};b[g]=F;var S="$isDayjsObject",R=function(_){return _ instanceof A||!(!_||!_[S])},y=function _(E,j,o){var H;if(!E)return g;if(typeof E=="string"){var m=E.toLowerCase();b[m]&&(H=m),j&&(b[m]=j,H=m);var n=E.split("-");if(!H&&n.length>1)return _(n[0])}else{var f=E.name;b[f]=E,H=f}return!o&&H&&(g=H),H||!o&&g},h=function(_,E){if(R(_))return _.clone();var j=typeof E=="object"?E:{};return j.date=_,j.args=arguments,new A(j)},P=V;P.l=y,P.i=R,P.w=function(_,E){return h(_,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var A=function(){function _(j){this.$L=y(j.locale,null,!0),this.parse(j),this.$x=this.$x||j.x||{},this[S]=!0}var E=_.prototype;return E.parse=function(j){this.$d=function(o){var H=o.date,m=o.utc;if(H===null)return new Date(NaN);if(P.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var n=H.match(I);if(n){var f=n[2]-1||0,O=(n[7]||"0").substring(0,3);return m?new Date(Date.UTC(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,O)):new Date(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,O)}}return new Date(H)}(j),this.init()},E.init=function(){var j=this.$d;this.$y=j.getFullYear(),this.$M=j.getMonth(),this.$D=j.getDate(),this.$W=j.getDay(),this.$H=j.getHours(),this.$m=j.getMinutes(),this.$s=j.getSeconds(),this.$ms=j.getMilliseconds()},E.$utils=function(){return P},E.isValid=function(){return this.$d.toString()!==p},E.isSame=function(j,o){var H=h(j);return this.startOf(o)<=H&&H<=this.endOf(o)},E.isAfter=function(j,o){return h(j)<this.startOf(o)},E.isBefore=function(j,o){return this.endOf(o)<h(j)},E.$g=function(j,o,H){return P.u(j)?this[o]:this.set(H,j)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(j,o){var H=this,m=!!P.u(o)||o,n=P.p(j),f=function(K,G){var J=P.w(H.$u?Date.UTC(H.$y,G,K):new Date(H.$y,G,K),H);return m?J:J.endOf(c)},O=function(K,G){return P.w(H.toDate()[K].apply(H.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(G)),H)},$=this.$W,D=this.$M,z=this.$D,N="set"+(this.$u?"UTC":"");switch(n){case L:return m?f(1,0):f(31,11);case w:return m?f(1,D):f(0,D+1);case v:var W=this.$locale().weekStart||0,q=($<W?$+7:$)-W;return f(m?z-q:z+(6-q),D);case c:case k:return O(N+"Hours",0);case u:return O(N+"Minutes",1);case l:return O(N+"Seconds",2);case d:return O(N+"Milliseconds",3);default:return this.clone()}},E.endOf=function(j){return this.startOf(j,!1)},E.$set=function(j,o){var H,m=P.p(j),n="set"+(this.$u?"UTC":""),f=(H={},H[c]=n+"Date",H[k]=n+"Date",H[w]=n+"Month",H[L]=n+"FullYear",H[u]=n+"Hours",H[l]=n+"Minutes",H[d]=n+"Seconds",H[s]=n+"Milliseconds",H)[m],O=m===c?this.$D+(o-this.$W):o;if(m===w||m===L){var $=this.clone().set(k,1);$.$d[f](O),$.init(),this.$d=$.set(k,Math.min(this.$D,$.daysInMonth())).$d}else f&&this.$d[f](O);return this.init(),this},E.set=function(j,o){return this.clone().$set(j,o)},E.get=function(j){return this[P.p(j)]()},E.add=function(j,o){var H,m=this;j=Number(j);var n=P.p(o),f=function(D){var z=h(m);return P.w(z.date(z.date()+Math.round(D*j)),m)};if(n===w)return this.set(w,this.$M+j);if(n===L)return this.set(L,this.$y+j);if(n===c)return f(1);if(n===v)return f(7);var O=(H={},H[l]=i,H[u]=a,H[d]=r,H)[n]||1,$=this.$d.getTime()+j*O;return P.w($,this)},E.subtract=function(j,o){return this.add(-1*j,o)},E.format=function(j){var o=this,H=this.$locale();if(!this.isValid())return H.invalidDate||p;var m=j||"YYYY-MM-DDTHH:mm:ssZ",n=P.z(this),f=this.$H,O=this.$m,$=this.$M,D=H.weekdays,z=H.months,N=H.meridiem,W=function(G,J,te,Z){return G&&(G[J]||G(o,m))||te[J].slice(0,Z)},q=function(G){return P.s(f%12||12,G,"0")},K=N||function(G,J,te){var Z=G<12?"AM":"PM";return te?Z.toLowerCase():Z};return m.replace(C,function(G,J){return J||function(te){switch(te){case"YY":return String(o.$y).slice(-2);case"YYYY":return P.s(o.$y,4,"0");case"M":return $+1;case"MM":return P.s($+1,2,"0");case"MMM":return W(H.monthsShort,$,z,3);case"MMMM":return W(z,$);case"D":return o.$D;case"DD":return P.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return W(H.weekdaysMin,o.$W,D,2);case"ddd":return W(H.weekdaysShort,o.$W,D,3);case"dddd":return D[o.$W];case"H":return String(f);case"HH":return P.s(f,2,"0");case"h":return q(1);case"hh":return q(2);case"a":return K(f,O,!0);case"A":return K(f,O,!1);case"m":return String(O);case"mm":return P.s(O,2,"0");case"s":return String(o.$s);case"ss":return P.s(o.$s,2,"0");case"SSS":return P.s(o.$ms,3,"0");case"Z":return n}return null}(G)||n.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(j,o,H){var m,n=this,f=P.p(o),O=h(j),$=(O.utcOffset()-this.utcOffset())*i,D=this-O,z=function(){return P.m(n,O)};switch(f){case L:m=z()/12;break;case w:m=z();break;case x:m=z()/3;break;case v:m=(D-$)/6048e5;break;case c:m=(D-$)/864e5;break;case u:m=D/a;break;case l:m=D/i;break;case d:m=D/r;break;default:m=D}return H?m:P.a(m)},E.daysInMonth=function(){return this.endOf(w).$D},E.$locale=function(){return b[this.$L]},E.locale=function(j,o){if(!j)return this.$L;var H=this.clone(),m=y(j,o,!0);return m&&(H.$L=m),H},E.clone=function(){return P.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},_}(),T=A.prototype;return h.prototype=T,[["$ms",s],["$s",d],["$m",l],["$H",u],["$W",c],["$M",w],["$y",L],["$D",k]].forEach(function(_){T[_[1]]=function(E){return this.$g(E,_[0],_[1])}}),h.extend=function(_,E){return _.$i||(_(E,A,h),_.$i=!0),h},h.locale=y,h.isDayjs=R,h.unix=function(_){return h(1e3*_)},h.en=b[g],h.Ls=b,h.p={},h})}(ft)),ft.exports}var ds=fs();const dt=Ut(ds);var ht={exports:{}},hs=ht.exports,Mr;function ps(){return Mr||(Mr=1,function(e,t){(function(r,i){e.exports=i()})(hs,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,d,l){var u=d.prototype;l.utc=function(p){var I={date:p,utc:!0,args:arguments};return new d(I)},u.utc=function(p){var I=l(this.toDate(),{locale:this.$L,utc:!0});return p?I.add(this.utcOffset(),r):I},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var v=u.init;u.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else v.call(this)};var w=u.utcOffset;u.utcOffset=function(p,I){var C=this.$utils().u;if(C(p))return this.$u?0:C(this.$offset)?w.call(this):this.$offset;if(typeof p=="string"&&(p=function(g){g===void 0&&(g="");var b=g.match(i);if(!b)return null;var S=(""+b[0]).match(a)||["-",0,0],R=S[0],y=60*+S[1]+ +S[2];return y===0?0:R==="+"?y:-y}(p),p===null))return this;var F=Math.abs(p)<=16?60*p:p;if(F===0)return this.utc(I);var U=this.clone();if(I)return U.$offset=F,U.$u=!1,U;var V=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(U=this.local().add(F+V,r)).$offset=F,U.$x.$localOffset=V,U};var x=u.format;u.format=function(p){var I=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return x.call(this,I)},u.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var L=u.toDate;u.toDate=function(p){return p==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var k=u.diff;u.diff=function(p,I,C){if(p&&this.$u===p.$u)return k.call(this,p,I,C);var F=this.local(),U=l(p).local();return k.call(F,U,I,C)}}})}(ht)),ht.exports}var ms=ps();const vs=Ut(ms);dt.extend(vs);class gs{static waitForMilliseconds=t=>new Promise(r=>setTimeout(r,t));static waitForCondition=t=>new Promise(r=>{const i=()=>{t()?r():setTimeout(i,100)};i()});static waitForAsyncCondition=t=>new Promise(r=>{const i=async()=>{await t()?r():setTimeout(i,100)};i()});static differenceInMonths=(t,r)=>{let i=0;return i=(r.getFullYear()-t.getFullYear())*12,i-=t.getMonth(),i+=r.getMonth(),i};static isDateOneAfterDateTwo=(t,r)=>t.getFullYear()>=r.getFullYear()&&t.getMonth()>=r.getMonth()?t.getDay()>r.getDay():!1;static isSameDate=(t,r)=>t?.getFullYear()===r?.getFullYear()&&t?.getMonth()===r?.getMonth()&&t?.getDate()===r?.getDate();static getDateInUTC=t=>{try{const r=dt.utc(t),i=r.date(),a=r.month(),s=r.year(),d=r.hour(),l=r.minute(),u=r.day();return{day:i,month:a,year:s,hour:d,minute:l,weekday:u}}catch{return}};static formatDateLocalTime=(t,r)=>t?dt.utc(t).local().format(r||"DD/MM/YYYYㆍHH:mm"):"";static formatDateUTC=(t,r)=>t?dt.utc(t).format(r||"DD/MM/YYYYㆍHH:mm"):""}const ys=({percentage:e,min:t=0,max:r=100,styles:i,barStyles:a})=>{const s=On.clamp(e,t,r);return X.jsx("div",{style:{width:"90%",height:"30px",border:"1px solid #000000",borderRadius:"3px",background:"#ffffff",...i},children:X.jsx("div",{style:{width:`${s}%`,height:"100%",background:"#f58b00ff",...a}})})},bs=({checked:e,onClick:t,styles:r,checkedStyles:i,customCheckedRender:a,customUncheckedRender:s})=>{const d=e?{...r,...i}:{...r};return X.jsxs("div",{onClick:l=>{l.preventDefault(),l.stopPropagation(),t?.()},style:{width:"25px",height:"25px",borderRadius:"50%",border:e?"2px solid #000000":"2px solid #969696ff",background:e?"#000000":"#ffffff",overflow:"hidden",objectFit:"contain",alignItems:"center",justifyContent:"center",display:"flex",...d},children:[e&&X.jsxs(X.Fragment,{children:[!a&&X.jsx("div",{style:{borderRadius:"50%",aspectRatio:"1/1",width:"40%",background:"#ffffff"}}),a]}),!e&&s]})},ws=({src:e,width:t="22",height:r="28",stroke:i,viewBox:a="0 0 22 28",fill:s="#000000",alt:d="",onClick:l,styles:u})=>X.jsx("div",{style:{width:"fit-content",height:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",...u},onClick:()=>l?.(),children:X.jsx("svg",{width:t,height:r,viewBox:a,fill:s,stroke:i,xmlns:"http://www.w3.org/2000/svg",style:{display:"flex"},children:e})}),Ss=Pe.div`
179
+ `,ss=e=>{const{containerStyles:t,pageStyles:r,children:i,allowScroll:a=!0,floatingContent:s,reserveSpaceForScrollbar:d}=e,{footer:l,header:u}=as(e);return X.jsxs(os,{id:"page-container",styles:{...t},children:[u.visible&&X.jsx("div",{ref:u.ref,id:"page-header",style:{width:"100%",zIndex:99,position:u.visibility==="fixed"?"relative":"sticky",top:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...u.styles},children:u.content}),X.jsx("div",{id:"page-body",style:{width:"100%",overflow:"hidden",display:"flex",flex:1,marginTop:`-${u.height}px`,marginBottom:`-${l.height}px`},children:X.jsx("div",{id:"page-content",style:{width:"100%",overflowX:"hidden",overflowY:a?"auto":"hidden",display:"flex",flexDirection:"column",flex:1,minHeight:"100%",scrollbarGutter:d?"stable":void 0,paddingLeft:"0px",paddingRight:"0px",paddingTop:`${u.height}px`,paddingBottom:`${l.height}px`,...r},children:i})}),l.visible&&X.jsx("div",{ref:l.ref,id:"page-footer",style:{width:"100%",zIndex:99,position:l.visibility==="fixed"?"relative":"sticky",bottom:0,left:0,right:0,display:"flex",flexDirection:"row",height:"fit-content",boxSizing:"border-box",...l.styles},children:l.content})]})};class Qt{static getField=(t,r)=>{const i=t.find(a=>a.name===r);if(i)return i};static getFieldValue=t=>{if(!(!t||!t.value))return t.value};static getFieldValueOrDefault=(t,r)=>{const i=Qt.getFieldValue(t);return i||r}}class On{static clamp=(t,r,i)=>t>i?i:t<r?r:t}class ls{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 us{static getPascalCase=t=>t.replace(/\w+/g,function(r){return r[0].toUpperCase()+r.slice(1).toLowerCase()});static isEqual=(t,r,i=!0)=>i?t===r:t.toUpperCase()===r.toUpperCase()}var ft={exports:{}},cs=ft.exports,Dr;function fs(){return Dr||(Dr=1,function(e,t){(function(r,i){e.exports=i()})(cs,function(){var r=1e3,i=6e4,a=36e5,s="millisecond",d="second",l="minute",u="hour",c="day",v="week",w="month",x="quarter",L="year",C="date",p="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var E=["th","st","nd","rd"],j=_%100;return"["+_+(E[(j-20)%10]||E[j]||E[0])+"]"}},U=function(_,E,j){var o=String(_);return!o||o.length>=E?_:""+Array(E+1-o.length).join(j)+_},V={s:U,z:function(_){var E=-_.utcOffset(),j=Math.abs(E),o=Math.floor(j/60),H=j%60;return(E<=0?"+":"-")+U(o,2,"0")+":"+U(H,2,"0")},m:function _(E,j){if(E.date()<j.date())return-_(j,E);var o=12*(j.year()-E.year())+(j.month()-E.month()),H=E.clone().add(o,w),m=j-H<0,n=E.clone().add(o+(m?-1:1),w);return+(-(o+(j-H)/(m?H-n:n-H))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:w,y:L,w:v,d:c,D:C,h:u,m:l,s:d,ms:s,Q:x}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},g="en",b={};b[g]=F;var S="$isDayjsObject",R=function(_){return _ instanceof A||!(!_||!_[S])},y=function _(E,j,o){var H;if(!E)return g;if(typeof E=="string"){var m=E.toLowerCase();b[m]&&(H=m),j&&(b[m]=j,H=m);var n=E.split("-");if(!H&&n.length>1)return _(n[0])}else{var f=E.name;b[f]=E,H=f}return!o&&H&&(g=H),H||!o&&g},h=function(_,E){if(R(_))return _.clone();var j=typeof E=="object"?E:{};return j.date=_,j.args=arguments,new A(j)},P=V;P.l=y,P.i=R,P.w=function(_,E){return h(_,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var A=function(){function _(j){this.$L=y(j.locale,null,!0),this.parse(j),this.$x=this.$x||j.x||{},this[S]=!0}var E=_.prototype;return E.parse=function(j){this.$d=function(o){var H=o.date,m=o.utc;if(H===null)return new Date(NaN);if(P.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var n=H.match(I);if(n){var f=n[2]-1||0,O=(n[7]||"0").substring(0,3);return m?new Date(Date.UTC(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,O)):new Date(n[1],f,n[3]||1,n[4]||0,n[5]||0,n[6]||0,O)}}return new Date(H)}(j),this.init()},E.init=function(){var j=this.$d;this.$y=j.getFullYear(),this.$M=j.getMonth(),this.$D=j.getDate(),this.$W=j.getDay(),this.$H=j.getHours(),this.$m=j.getMinutes(),this.$s=j.getSeconds(),this.$ms=j.getMilliseconds()},E.$utils=function(){return P},E.isValid=function(){return this.$d.toString()!==p},E.isSame=function(j,o){var H=h(j);return this.startOf(o)<=H&&H<=this.endOf(o)},E.isAfter=function(j,o){return h(j)<this.startOf(o)},E.isBefore=function(j,o){return this.endOf(o)<h(j)},E.$g=function(j,o,H){return P.u(j)?this[o]:this.set(H,j)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(j,o){var H=this,m=!!P.u(o)||o,n=P.p(j),f=function(K,G){var J=P.w(H.$u?Date.UTC(H.$y,G,K):new Date(H.$y,G,K),H);return m?J:J.endOf(c)},O=function(K,G){return P.w(H.toDate()[K].apply(H.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(G)),H)},$=this.$W,D=this.$M,z=this.$D,N="set"+(this.$u?"UTC":"");switch(n){case L:return m?f(1,0):f(31,11);case w:return m?f(1,D):f(0,D+1);case v:var W=this.$locale().weekStart||0,q=($<W?$+7:$)-W;return f(m?z-q:z+(6-q),D);case c:case C:return O(N+"Hours",0);case u:return O(N+"Minutes",1);case l:return O(N+"Seconds",2);case d:return O(N+"Milliseconds",3);default:return this.clone()}},E.endOf=function(j){return this.startOf(j,!1)},E.$set=function(j,o){var H,m=P.p(j),n="set"+(this.$u?"UTC":""),f=(H={},H[c]=n+"Date",H[C]=n+"Date",H[w]=n+"Month",H[L]=n+"FullYear",H[u]=n+"Hours",H[l]=n+"Minutes",H[d]=n+"Seconds",H[s]=n+"Milliseconds",H)[m],O=m===c?this.$D+(o-this.$W):o;if(m===w||m===L){var $=this.clone().set(C,1);$.$d[f](O),$.init(),this.$d=$.set(C,Math.min(this.$D,$.daysInMonth())).$d}else f&&this.$d[f](O);return this.init(),this},E.set=function(j,o){return this.clone().$set(j,o)},E.get=function(j){return this[P.p(j)]()},E.add=function(j,o){var H,m=this;j=Number(j);var n=P.p(o),f=function(D){var z=h(m);return P.w(z.date(z.date()+Math.round(D*j)),m)};if(n===w)return this.set(w,this.$M+j);if(n===L)return this.set(L,this.$y+j);if(n===c)return f(1);if(n===v)return f(7);var O=(H={},H[l]=i,H[u]=a,H[d]=r,H)[n]||1,$=this.$d.getTime()+j*O;return P.w($,this)},E.subtract=function(j,o){return this.add(-1*j,o)},E.format=function(j){var o=this,H=this.$locale();if(!this.isValid())return H.invalidDate||p;var m=j||"YYYY-MM-DDTHH:mm:ssZ",n=P.z(this),f=this.$H,O=this.$m,$=this.$M,D=H.weekdays,z=H.months,N=H.meridiem,W=function(G,J,te,Z){return G&&(G[J]||G(o,m))||te[J].slice(0,Z)},q=function(G){return P.s(f%12||12,G,"0")},K=N||function(G,J,te){var Z=G<12?"AM":"PM";return te?Z.toLowerCase():Z};return m.replace(k,function(G,J){return J||function(te){switch(te){case"YY":return String(o.$y).slice(-2);case"YYYY":return P.s(o.$y,4,"0");case"M":return $+1;case"MM":return P.s($+1,2,"0");case"MMM":return W(H.monthsShort,$,z,3);case"MMMM":return W(z,$);case"D":return o.$D;case"DD":return P.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return W(H.weekdaysMin,o.$W,D,2);case"ddd":return W(H.weekdaysShort,o.$W,D,3);case"dddd":return D[o.$W];case"H":return String(f);case"HH":return P.s(f,2,"0");case"h":return q(1);case"hh":return q(2);case"a":return K(f,O,!0);case"A":return K(f,O,!1);case"m":return String(O);case"mm":return P.s(O,2,"0");case"s":return String(o.$s);case"ss":return P.s(o.$s,2,"0");case"SSS":return P.s(o.$ms,3,"0");case"Z":return n}return null}(G)||n.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(j,o,H){var m,n=this,f=P.p(o),O=h(j),$=(O.utcOffset()-this.utcOffset())*i,D=this-O,z=function(){return P.m(n,O)};switch(f){case L:m=z()/12;break;case w:m=z();break;case x:m=z()/3;break;case v:m=(D-$)/6048e5;break;case c:m=(D-$)/864e5;break;case u:m=D/a;break;case l:m=D/i;break;case d:m=D/r;break;default:m=D}return H?m:P.a(m)},E.daysInMonth=function(){return this.endOf(w).$D},E.$locale=function(){return b[this.$L]},E.locale=function(j,o){if(!j)return this.$L;var H=this.clone(),m=y(j,o,!0);return m&&(H.$L=m),H},E.clone=function(){return P.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},_}(),T=A.prototype;return h.prototype=T,[["$ms",s],["$s",d],["$m",l],["$H",u],["$W",c],["$M",w],["$y",L],["$D",C]].forEach(function(_){T[_[1]]=function(E){return this.$g(E,_[0],_[1])}}),h.extend=function(_,E){return _.$i||(_(E,A,h),_.$i=!0),h},h.locale=y,h.isDayjs=R,h.unix=function(_){return h(1e3*_)},h.en=b[g],h.Ls=b,h.p={},h})}(ft)),ft.exports}var ds=fs();const dt=Ut(ds);var ht={exports:{}},hs=ht.exports,Mr;function ps(){return Mr||(Mr=1,function(e,t){(function(r,i){e.exports=i()})(hs,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,d,l){var u=d.prototype;l.utc=function(p){var I={date:p,utc:!0,args:arguments};return new d(I)},u.utc=function(p){var I=l(this.toDate(),{locale:this.$L,utc:!0});return p?I.add(this.utcOffset(),r):I},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var v=u.init;u.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else v.call(this)};var w=u.utcOffset;u.utcOffset=function(p,I){var k=this.$utils().u;if(k(p))return this.$u?0:k(this.$offset)?w.call(this):this.$offset;if(typeof p=="string"&&(p=function(g){g===void 0&&(g="");var b=g.match(i);if(!b)return null;var S=(""+b[0]).match(a)||["-",0,0],R=S[0],y=60*+S[1]+ +S[2];return y===0?0:R==="+"?y:-y}(p),p===null))return this;var F=Math.abs(p)<=16?60*p:p;if(F===0)return this.utc(I);var U=this.clone();if(I)return U.$offset=F,U.$u=!1,U;var V=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(U=this.local().add(F+V,r)).$offset=F,U.$x.$localOffset=V,U};var x=u.format;u.format=function(p){var I=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return x.call(this,I)},u.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*p},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var L=u.toDate;u.toDate=function(p){return p==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var C=u.diff;u.diff=function(p,I,k){if(p&&this.$u===p.$u)return C.call(this,p,I,k);var F=this.local(),U=l(p).local();return C.call(F,U,I,k)}}})}(ht)),ht.exports}var ms=ps();const vs=Ut(ms);dt.extend(vs);class gs{static waitForMilliseconds=t=>new Promise(r=>setTimeout(r,t));static waitForCondition=t=>new Promise(r=>{const i=()=>{t()?r():setTimeout(i,100)};i()});static waitForAsyncCondition=t=>new Promise(r=>{const i=async()=>{await t()?r():setTimeout(i,100)};i()});static differenceInMonths=(t,r)=>{let i=0;return i=(r.getFullYear()-t.getFullYear())*12,i-=t.getMonth(),i+=r.getMonth(),i};static isDateOneAfterDateTwo=(t,r)=>t.getFullYear()>=r.getFullYear()&&t.getMonth()>=r.getMonth()?t.getDay()>r.getDay():!1;static isSameDate=(t,r)=>t?.getFullYear()===r?.getFullYear()&&t?.getMonth()===r?.getMonth()&&t?.getDate()===r?.getDate();static getDateInUTC=t=>{try{const r=dt.utc(t),i=r.date(),a=r.month(),s=r.year(),d=r.hour(),l=r.minute(),u=r.day();return{day:i,month:a,year:s,hour:d,minute:l,weekday:u}}catch{return}};static formatDateLocalTime=(t,r)=>t?dt.utc(t).local().format(r||"DD/MM/YYYYㆍHH:mm"):"";static formatDateUTC=(t,r)=>t?dt.utc(t).format(r||"DD/MM/YYYYㆍHH:mm"):""}const ys=({percentage:e,min:t=0,max:r=100,styles:i,barStyles:a})=>{const s=On.clamp(e,t,r);return X.jsx("div",{style:{width:"90%",height:"30px",border:"1px solid #000000",borderRadius:"3px",background:"#ffffff",...i},children:X.jsx("div",{style:{width:`${s}%`,height:"100%",background:"#f58b00ff",...a}})})},bs=({checked:e,onClick:t,styles:r,checkedStyles:i,customCheckedRender:a,customUncheckedRender:s})=>{const d=e?{...r,...i}:{...r};return X.jsxs("div",{onClick:l=>{l.preventDefault(),l.stopPropagation(),t?.()},style:{width:"25px",height:"25px",borderRadius:"50%",border:e?"2px solid #000000":"2px solid #969696ff",background:e?"#000000":"#ffffff",overflow:"hidden",objectFit:"contain",alignItems:"center",justifyContent:"center",display:"flex",...d},children:[e&&X.jsxs(X.Fragment,{children:[!a&&X.jsx("div",{style:{borderRadius:"50%",aspectRatio:"1/1",width:"40%",background:"#ffffff"}}),a]}),!e&&s]})},ws=({src:e,width:t="22",height:r="28",stroke:i,viewBox:a="0 0 22 28",fill:s="#000000",alt:d="",onClick:l,styles:u})=>X.jsx("div",{style:{width:"fit-content",height:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",...u},onClick:()=>l?.(),children:X.jsx("svg",{width:t,height:r,viewBox:a,fill:s,stroke:i,xmlns:"http://www.w3.org/2000/svg",style:{display:"flex"},children:e})}),Ss=Pe.div`
180
180
  display: flex;
181
181
  flex-direction: column;
182
182
  font-family: inherit;
@@ -198,4 +198,4 @@ Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}
198
198
  textarea::-webkit-scrollbar-thumb:hover {
199
199
  background: #555; /* hover */
200
200
  }
201
- `,xs=({name:e,label:t,leftIcon:r,rightIcon:i,bottomMessage:a,placeHolder:s,value:d,initialValue:l,onChange:u,onFocus:c,onBlur:v,inputStyles:w,containerStyles:x,styles:L})=>{const k=C=>{u?.(C.currentTarget.value)},p=C=>{C.preventDefault(),C.stopPropagation(),c?.()},I=C=>{v?.()};return X.jsxs(Ss,{style:{width:"100%",maxWidth:"357px",gap:"8px",...L},children:[t,X.jsxs("div",{style:{display:"flex",flexDirection:"row",width:"100%",margin:"8px auto 0 auto",border:"2px solid #000000",borderRadius:"5px",color:"#000000",fontFamily:"inherit",fontStyle:"normal",fontWeight:400,outline:"none",alignItems:"flex-start",gap:"10px",...x},children:[r,X.jsx("textarea",{name:e,style:{resize:"none",flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none",minHeight:"47px",...w},placeholder:s,value:d,defaultValue:l,onChange:k,onFocus:p,onBlur:I}),i]}),a]})},Os=({id:e,children:t,styles:r,durationInSeconds:i=3})=>{const a=Y.useRef(!1),{isItemVisible:s,hideItem:d}=et();return Y.useEffect(()=>{const l=s(e);a.current!==l&&(a.current=l,l&&setTimeout(()=>d(e),i*1e3))},[a,s,d]),X.jsx(X.Fragment,{children:s(e)&&X.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:l=>{l.stopPropagation(),l.preventDefault()},children:t})})},ks=({overflowEllipsis:e,maxNumberOfLines:t,children:r,styles:i})=>X.jsx("p",{style:{fontFamily:"inherit",maxWidth:"100%",overflow:"hidden",display:"-webkit-box",WebkitLineClamp:t||void 0,WebkitBoxOrient:"vertical",whiteSpace:"unset",textOverflow:e?"ellipsis":void 0,fontSize:"16px",fontStyle:"normal",lineHeight:"normal",color:"inherit",...i},children:r});exports.Button=_n;exports.Carousel=sa;exports.Checkbox=la;exports.Drawer=Xo;exports.FeedbackProvider=Vo;exports.Form=Jo;exports.FormsHelper=Qt;exports.Image=Zo;exports.InputField=xn;exports.Loader=ts;exports.Modal=rs;exports.NavigationProvider=Bo;exports.NumberHelper=On;exports.NumericInputField=is;exports.PageLayout=ss;exports.ProgressBar=ys;exports.RadioButton=bs;exports.ScrollHelper=ls;exports.SvgImage=ws;exports.TextAreaField=xs;exports.TextHelper=us;exports.TimeHelper=gs;exports.Toast=Os;exports.Typography=ks;exports.defaultBreakpoints=en;exports.useDidMount=ua;exports.useDrag=Qr;exports.useFeedback=et;exports.useFetch=ca;exports.useNavigation=Yo;exports.useOnScreen=fa;exports.usePointer=Zr;exports.useResponsive=da;exports.useTranslations=ma;
201
+ `,xs=({name:e,label:t,leftIcon:r,rightIcon:i,bottomMessage:a,placeHolder:s,value:d,initialValue:l,onChange:u,onFocus:c,onBlur:v,inputStyles:w,containerStyles:x,styles:L})=>{const C=k=>{u?.(k.currentTarget.value)},p=k=>{k.preventDefault(),k.stopPropagation(),c?.()},I=k=>{v?.()};return X.jsxs(Ss,{style:{width:"100%",maxWidth:"357px",gap:"8px",...L},children:[t,X.jsxs("div",{style:{display:"flex",flexDirection:"row",width:"100%",margin:"8px auto 0 auto",border:"2px solid #000000",borderRadius:"5px",color:"#000000",fontFamily:"inherit",fontStyle:"normal",fontWeight:400,outline:"none",alignItems:"flex-start",gap:"10px",...x},children:[r,X.jsx("textarea",{name:e,style:{resize:"none",flex:1,border:"none",color:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",outline:"inherit",background:"none",minHeight:"47px",...w},placeholder:s,value:d,defaultValue:l,onChange:C,onFocus:p,onBlur:I}),i]}),a]})},Os=({id:e,children:t,styles:r,durationInSeconds:i=3})=>{const a=Y.useRef(!1),{isItemVisible:s,hideItem:d}=et();return Y.useEffect(()=>{const l=s(e);a.current!==l&&(a.current=l,l&&setTimeout(()=>d(e),i*1e3))},[a,s,d]),X.jsx(X.Fragment,{children:s(e)&&X.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:l=>{l.stopPropagation(),l.preventDefault()},children:t})})},ks=({overflowEllipsis:e,maxNumberOfLines:t,children:r,styles:i})=>X.jsx("p",{style:{fontFamily:"inherit",maxWidth:"100%",overflow:"hidden",display:"-webkit-box",WebkitLineClamp:t||void 0,WebkitBoxOrient:"vertical",whiteSpace:"unset",textOverflow:e?"ellipsis":void 0,fontSize:"16px",fontStyle:"normal",lineHeight:"normal",color:"inherit",...i},children:r});exports.Button=_n;exports.Carousel=sa;exports.Checkbox=la;exports.Drawer=Xo;exports.FeedbackProvider=Vo;exports.Form=Jo;exports.FormsHelper=Qt;exports.Image=Zo;exports.InputField=xn;exports.Loader=ts;exports.Modal=rs;exports.NavigationProvider=Bo;exports.NumberHelper=On;exports.NumericInputField=is;exports.PageLayout=ss;exports.ProgressBar=ys;exports.RadioButton=bs;exports.ScrollHelper=ls;exports.SvgImage=ws;exports.TextAreaField=xs;exports.TextHelper=us;exports.TimeHelper=gs;exports.Toast=Os;exports.Typography=ks;exports.defaultBreakpoints=en;exports.useDidMount=ua;exports.useDrag=Qr;exports.useFeedback=et;exports.useFetch=ca;exports.useNavigation=Yo;exports.useOnScreen=fa;exports.usePointer=Zr;exports.useResponsive=da;exports.useTranslations=ma;