https://www.betoven.app/_next/static/chunks/482ee0de12b9eacc.js?dpl=dpl_HHcUz57Si2aiDNpUv3A9M3xtAYbT
1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36217,e=>{"use strict";var t=e.i(43476),n=e.i(77225),r=e.i(83554),o=e.i(9160),a=e.i(72548),i=e.i(23093);let u=(0,o.forwardRef)(function(e,o){let{className:u,centerContent:c,...l}=(0,n.omitThemingProps)(e),s=(0,a.useStyleConfig)("Container",e);return(0,t.jsx)(i.chakra.div,{ref:o,className:(0,r.cx)("chakra-container",u),...l,__css:{...s,...c&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});u.displayName="Container",e.s(["Container",()=>u])},1418,e=>{"use strict";let t={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},n={enter:{duration:.2,ease:t.easeOut},exit:{duration:.1,ease:t.easeIn}},r={enter:(e,t)=>({...e,delay:"number"==typeof t?t:t?.enter}),exit:(e,t)=>({...e,delay:"number"==typeof t?t:t?.exit})};e.s(["TRANSITION_DEFAULTS",()=>n,"TRANSITION_EASINGS",()=>t,"withDelay",()=>r])},98183,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={assign:function(){return c},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return u}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});function a(e){let t={};for(let[n,r]of e.entries()){let e=t[n];void 0===e?t[n]=r:Array.isArray(e)?e.push(r):t[n]=[e,r]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function u(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.append(n,i(e));else t.set(n,i(r));return t}function c(e,...t){for(let n of t){for(let t of n.keys())e.delete(t);for(let[t,r]of n.entries())e.append(t,r)}return e}},95057,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={formatUrl:function(){return u},formatWithValidation:function(){return l},urlObjectKeys:function(){return c}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:n}=e,r=e.protocol||"",o=e.pathname||"",u=e.hash||"",c=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:n&&(l=t+(~n.indexOf(":")?`[${n}]`:n),e.port&&(l+=":"+e.port)),c&&"object"==typeof c&&(c=String(a.urlQueryToSearchParams(c)));let s=e.search||c&&`?${c}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||i.test(r))&&!1!==l?(l="//"+(l||""),o&&"/"!==o[0]&&(o="/"+o)):l||(l=""),u&&"#"!==u[0]&&(u="#"+u),s&&"?"!==s[0]&&(s="?"+s),o=o.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),`${r}${l}${o}${s}${u}`}let c=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return u(e)}},18967,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return x},NormalizeError:function(){return y},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return v},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return l},getURL:function(){return s},isAbsoluteUrl:function(){return c},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return E}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,n=!1;return(...r)=>(n||(n=!0,t=e(...r)),t)}let u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,c=e=>u.test(e);function l(){let{protocol:e,hostname:t,port:n}=window.location;return`${e}//${t}${n?":"+n:""}`}function s(){let{href:e}=window.location,t=l();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&f(n))return r;if(!r)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${r}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}let h="undefined"!=typeof performance,v=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class y extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class x extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function E(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isLocalURL",{enumerable:!0,get:function(){return a}});let r=e.r(18967),o=e.r(52817);function a(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},84508,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},22016,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return g},useLinkStatus:function(){return b}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=e.r(90809),i=e.r(43476),u=a._(e.r(71645)),c=e.r(95057),l=e.r(8372),s=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let p=e.r(91949),m=e.r(73668),h=e.r(9396);function v(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}function g(t){var n;let r,o,a,[c,g]=(0,u.useOptimistic)(p.IDLE_LINK_STATUS),b=(0,u.useRef)(null),{href:x,as:w,children:E,prefetch:S=null,passHref:k,replace:A,shallow:C,scroll:N,onClick:j,onMouseEnter:_,onTouchStart:T,legacyBehavior:O=!1,onNavigate:R,ref:P,unstable_dynamicOnHover:I,...M}=t;r=E,O&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let L=u.default.useContext(l.AppRouterContext),F=!1!==S,D=!1!==S?null===(n=S)||"auto"===n?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:B,as:U}=u.default.useMemo(()=>{let e=v(x);return{href:e,as:w?v(w):e}},[x,w]);if(O){if(r?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=u.default.Children.only(r)}let W=O?o&&"object"==typeof o&&o.ref:P,$=u.default.useCallback(e=>(null!==L&&(b.current=(0,p.mountLinkInstance)(e,B,L,D,F,g)),()=>{b.current&&((0,p.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,p.unmountPrefetchableInstance)(e)}),[F,B,L,D,g]),H={ref:(0,s.useMergedRef)($,W),onClick(t){O||"function"!=typeof j||j(t),O&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!L||t.defaultPrevented||function(t,n,r,o,a,i,c){if("undefined"!=typeof window){let l,{nodeName:s}=t.currentTarget;if("A"===s.toUpperCase()&&((l=t.currentTarget.getAttribute("target"))&&"_self"!==l||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(n)){a&&(t.preventDefault(),location.replace(n));return}if(t.preventDefault(),c){let e=!1;if(c({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);u.default.startTransition(()=>{d(r||n,a?"replace":"push",i??!0,o.current)})}}(t,B,U,b,A,N,R)},onMouseEnter(e){O||"function"!=typeof _||_(e),O&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),L&&F&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){O||"function"!=typeof T||T(e),O&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),L&&F&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(U)?H.href=U:O&&!k&&("a"!==o.type||"href"in o.props)||(H.href=(0,f.addBasePath)(U)),a=O?u.default.cloneElement(o,H):(0,i.jsx)("a",{...M,...H,children:r}),(0,i.jsx)(y.Provider,{value:c,children:a})}e.r(84508);let y=(0,u.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,u.useContext)(y);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},68211,e=>{"use strict";let t;var n=e.i(43476),r=e.i(72548),o=e.i(77225),a=e.i(23093),i=e.i(22016),u=e.i(71645);let c=(t=i.default).default||t,l=(0,u.forwardRef)(function(e,t){let i=(0,r.useStyleConfig)("Link",e),{className:u,isExternal:l,href:s,children:d,...f}=(0,o.omitThemingProps)(e);return(0,n.jsx)(a.chakra.a,{target:l?"_blank":void 0,ref:t,href:s,...f,className:((...e)=>e.filter(Boolean).join(" "))("chakra-link",u),__css:i,as:c,children:d})});e.s(["Link",()=>l],68211)},44457,e=>{"use strict";let t={src:e.i(36171).default,width:1e3,height:284,blurWidth:8,blurHeight:2,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAATUlEQVR42gFCAL3/AEJeavZVb3r/PFpn/2qGkv+ousP/o7W9/6O1vf+lt7/2ADlVYvZac37/SWRx/2WAjP+ZqrH/laWs/5anrv+er7b2Hz0pkFXuVhUAAAAASUVORK5CYII="};e.s(["default",0,t])},70309,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(91206),o=e.i(9160);function a(e){let{viewBox:a="0 0 24 24",d:i,displayName:u,defaultProps:c={}}=e,l=n.Children.toArray(e.path),s=(0,o.forwardRef)((e,n)=>(0,t.jsx)(r.Icon,{ref:n,viewBox:a,...c,...e,children:l.length?l:(0,t.jsx)("path",{fill:"currentColor",d:i})}));return s.displayName=u,s}e.s(["createIcon",()=>a])},20040,e=>{"use strict";var t,n,r,o,a=e.i(43476),i=e.i(25052),u=e.i(36217),c=e.i(9160),l=e.i(23093);let s=(0,c.forwardRef)(function(e,t){let{direction:n,align:r,justify:o,wrap:i,basis:u,grow:c,shrink:s,...d}=e;return(0,a.jsx)(l.chakra.div,{ref:t,__css:{display:"flex",flexDirection:n,alignItems:r,justifyContent:o,flexWrap:i,flexBasis:u,flexGrow:c,flexShrink:s},...d})});s.displayName="Flex";var d=e.i(14352),f=e.i(50456),p=e.i(88653),m=e.i(34046),h=e.i(36234),v=new WeakMap,g=new WeakMap,y={},b=0,x=function(e){return e&&(e.host||x(e.parentNode))},w=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=x(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});y[n]||(y[n]=new WeakMap);var a=y[n],i=[],u=new Set,c=new Set(o),l=function(e){!e||u.has(e)||(u.add(e),l(e.parentNode))};o.forEach(l);var s=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(u.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,c=(v.get(e)||0)+1,l=(a.get(e)||0)+1;v.set(e,c),a.set(e,l),i.push(e),1===c&&o&&g.set(e,!0),1===l&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return s(t),u.clear(),b++,function(){i.forEach(function(e){var t=v.get(e)-1,o=a.get(e)-1;v.set(e,t),a.set(e,o),t||(g.has(e)||e.removeAttribute(r),g.delete(e)),o||e.removeAttribute(n)}),--b||(v=new WeakMap,v=new WeakMap,g=new WeakMap,y={})}},E=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),w(r,o,n,"aria-hidden")):function(){return null}},S=e.i(71645),k=Object.defineProperty;let A=new class{constructor(){((e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?k(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n})(this,"modals"),this.modals=new Set}add(e){return this.modals.add(e),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return!!e&&e===Array.from(this.modals)[this.modals.size-1]}};function C(e,t){let[n,r]=(0,S.useState)(0);return(0,S.useEffect)(()=>{let n=e.current;if(n)return t&&r(A.add(n)),()=>{A.remove(n),r(0)}},[t,e]),n}var N=e.i(40074),j=e.i(72548);let[_,T]=(0,f.createContext)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[O,R]=(0,f.createContext)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),P=e=>{let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose
1:!0,blockScrollOnMount:!0,allowPinchZoom:!1,preserveScrollBarGap:!0,motionPreset:"scale",...e,lockFocusAcrossFrames:e.lockFocusAcrossFrames??!0},{portalProps:n,children:r,autoFocus:o,trapFocus:i,initialFocusRef:u,finalFocusRef:c,returnFocusOnClose:l,blockScrollOnMount:s,allowPinchZoom:d,preserveScrollBarGap:f,motionPreset:v,lockFocusAcrossFrames:g,animatePresenceProps:y,onCloseComplete:b}=t,x=(0,j.useMultiStyleConfig)("Modal",t),w={...function(e){var t,n;let r,{isOpen:o,onClose:a,id:i,closeOnOverlayClick:u=!0,closeOnEsc:c=!0,useInert:l=!0,onOverlayClick:s,onEsc:d}=e,f=(0,S.useRef)(null),p=(0,S.useRef)(null),[v,g,y]=function(e,...t){let n=(0,S.useId)(),r=e||n;return(0,S.useMemo)(()=>t.map(e=>`${e}-${r}`),[r,t])}(i,"chakra-modal","chakra-modal--header","chakra-modal--body");t=f,n=o&&l,r=t.current,(0,S.useEffect)(()=>{if(t.current&&n)return E(t.current)},[n,t,r]);let b=C(f,o),x=(0,S.useRef)(null),w=(0,S.useCallback)(e=>{x.current=e.target},[]),k=(0,S.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),c&&a?.(),d?.())},[c,a,d]),[N,j]=(0,S.useState)(!1),[_,T]=(0,S.useState)(!1),O=(0,S.useCallback)((e={},t=null)=>({role:"dialog",...e,ref:(0,m.mergeRefs)(t,f),id:v,tabIndex:-1,"aria-modal":!0,"aria-labelledby":N?g:void 0,"aria-describedby":_?y:void 0,onClick:(0,h.callAllHandlers)(e.onClick,e=>e.stopPropagation())}),[y,_,v,g,N]),R=(0,S.useCallback)(e=>{e.stopPropagation(),x.current!==e.target||A.isTopModal(f.current)&&(u&&a?.(),s?.())},[a,u,s]),P=(0,S.useCallback)((e={},t=null)=>({...e,ref:(0,m.mergeRefs)(t,p),onClick:(0,h.callAllHandlers)(e.onClick,R),onKeyDown:(0,h.callAllHandlers)(e.onKeyDown,k),onMouseDown:(0,h.callAllHandlers)(e.onMouseDown,w)}),[k,w,R]);return{isOpen:o,onClose:a,headerId:g,bodyId:y,setBodyMounted:T,setHeaderMounted:j,dialogRef:f,overlayRef:p,getDialogProps:O,getDialogContainerProps:P,index:b}}(t),autoFocus:o,trapFocus:i,initialFocusRef:u,finalFocusRef:c,returnFocusOnClose:l,blockScrollOnMount:s,allowPinchZoom:d,preserveScrollBarGap:f,motionPreset:v,lockFocusAcrossFrames:g};return(0,a.jsx)(O,{value:w,children:(0,a.jsx)(_,{value:x,children:(0,a.jsx)(p.AnimatePresence,{...y,onExitComplete:b,children:w.isOpen&&(0,a.jsx)(N.Portal,{...n,children:r})})})})};P.displayName="Modal";var I=e.i(83554);let M=(0,c.forwardRef)((e,t)=>{let{className:n,...r}=e,{bodyId:o,setBodyMounted:i}=R();(0,S.useEffect)(()=>(i(!0),()=>i(!1)),[i]);let u=(0,I.cx)("chakra-modal__body",n),c=T();return(0,a.jsx)(l.chakra.div,{ref:t,className:u,id:o,...r,__css:c.body})});M.displayName="ModalBody";var L=e.i(90618);let F=(0,c.forwardRef)((e,t)=>{let{onClick:n,className:r,...o}=e,{onClose:i}=R(),u=(0,I.cx)("chakra-modal__close-btn",r),c=T();return(0,a.jsx)(L.CloseButton,{ref:t,__css:c.closeButton,className:u,onClick:(0,h.callAllHandlers)(n,e=>{e.stopPropagation(),i()}),...o})});F.displayName="ModalCloseButton";var D=e.i(92400),B=e.i(64978),U=function(){return(U=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function W(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var $=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),H="width-before-scroll-bar";function G(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var q="undefined"!=typeof window?S.useLayoutEffect:S.useEffect,z=new WeakMap;function V(e,t){var n,r,o,a=(n=t||null,r=function(t){return e.forEach(function(e){return G(e,t)})},(o=(0,S.useState)(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,o.facade);return q(function(){var t=z.get(a);if(t){var n=new Set(t),r=new Set(e),o=a.current;n.forEach(function(e){r.has(e)||G(e,null)}),r.forEach(function(e){n.has(e)||G(e,o)})}z.set(a,e)},[e]),a}function K(e){return e}function Y(e,t){void 0===t&&(t=K);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;
1t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}function X(e,t){return void 0===t&&(t=K),Y(e,t)}function Z(e){void 0===e&&(e={});var t=Y(null);return t.options=U({async:!0,ssr:!1},e),t}var J=Z(),Q=function(){},ee=S.forwardRef(function(e,t){var n=S.useRef(null),r=S.useState({onScrollCapture:Q,onWheelCapture:Q,onTouchMoveCapture:Q}),o=r[0],a=r[1],i=e.forwardProps,u=e.children,c=e.className,l=e.removeScrollBar,s=e.enabled,d=e.shards,f=e.sideCar,p=e.noRelative,m=e.noIsolation,h=e.inert,v=e.allowPinchZoom,g=e.as,y=e.gapMode,b=W(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=V([n,t]),w=U(U({},b),o);return S.createElement(S.Fragment,null,s&&S.createElement(f,{sideCar:J,removeScrollBar:l,shards:d,noRelative:p,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!v,lockRef:n,gapMode:y}),i?S.cloneElement(S.Children.only(u),U(U({},w),{ref:x})):S.createElement(void 0===g?"div":g,U({},w,{className:c,ref:x}),u))});ee.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ee.classNames={fullWidth:H,zeroRight:$};var et=function(e){var t=e.sideCar,n=W(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return S.createElement(r,U({},n))};et.isSideCarExport=!0;var en=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,a;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},er=function(){var e=en();return function(t,n){S.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},eo=function(){var e=er();return function(t){return e(t.styles,t.dynamic),null}},ea={left:0,top:0,right:0,gap:0},ei=function(e){return parseInt(e||"",10)||0},eu=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[ei(n),ei(r),ei(o)]},ec=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ea;var t=eu(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},el=eo(),es="data-scroll-locked",ed=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body[").concat(es,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat($," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(H," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat($," .").concat($," {\n right: 0 ").concat(r,";\n }\n \n .").concat(H," .").concat(H," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(es,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},ef=function(){var e=parseInt(document.body.getAttribute(es)||"0",10);return isFinite(e)?e:0},ep=function(){S.useEffect(function(){return document.body.setAttribute(es,(ef()+1).toString()),function(){var e=ef()-1;e<=0?document.body.removeAttribute(es):document.body.setAttribute(es,e.toString())}},[])},em=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;ep();var a=S.useMemo(function(){return ec(o)},[o]);return S.createElement(el,{styles:ed(a,!t,o,n?"":"!important")})},eh=!1;if("undefined"!=typeof window)try{var ev=Object.defineProperty({},"passive",{get:function(){return eh=!0,!0}});window.addEventListener("test",ev,ev),window.removeEventListener("test",ev,ev)}catch(e){eh=!1}var eg=!!eh&&{passive:!1},ey=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},eb=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ex(e,r)){var o=ew(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},ex=function(e,t){return"v"===e?ey(t,"overflowY"):ey(t,"overflowX")},ew=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eE=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),u=i*r,c=n.target,l=t.contains(c),s=!1,d=u>0,f=0,p=0;
1do{if(!c)break;var m=ew(e,c),h=m[0],v=m[1]-m[2]-i*h;(h||v)&&ex(e,c)&&(f+=v,p+=h);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&c!==document.body||l&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&u>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-u>p)&&(s=!0),s},eS=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ek=function(e){return[e.deltaX,e.deltaY]},eA=function(e){return e&&"current"in e?e.current:e},eC=0,eN=[];let ej=(t=function(e){var t=S.useRef([]),n=S.useRef([0,0]),r=S.useRef(),o=S.useState(eC++)[0],a=S.useState(eo)[0],i=S.useRef(e);S.useEffect(function(){i.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(eA),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=S.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=eS(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-a[0],l="deltaY"in e?e.deltaY:u[1]-a[1],s=e.target,d=Math.abs(c)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var m=eb(d,s);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=eb(d,s)),!m)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var h=r.current||o;return eE(h,t,e,"h"===h?c:l,!0)},[]),c=S.useCallback(function(e){if(eN.length&&eN[eN.length-1]===a){var n="deltaY"in e?ek(e):eS(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(eA).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=S.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),s=S.useCallback(function(e){n.current=eS(e),r.current=void 0},[]),d=S.useCallback(function(t){l(t.type,ek(t),t.target,u(t,e.lockRef.current))},[]),f=S.useCallback(function(t){l(t.type,eS(t),t.target,u(t,e.lockRef.current))},[]);S.useEffect(function(){return eN.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",c,eg),document.addEventListener("touchmove",c,eg),document.addEventListener("touchstart",s,eg),function(){eN=eN.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,eg),document.removeEventListener("touchmove",c,eg),document.removeEventListener("touchstart",s,eg)}},[]);var p=e.removeScrollBar,m=e.inert;return S.createElement(S.Fragment,null,m?S.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?S.createElement(em,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},J.useMedium(t),et);var e_=S.forwardRef(function(e,t){return S.createElement(ee,U({},e,{ref:t,sideCar:ej}))});e_.classNames=ee.classNames,e.i(47167);var eT=e.i(31067),eO="data-focus-lock",eR="data-focus-lock-disabled",eP={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},eI=X({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),eM=X(),eL=X(),eF=Z({async:!0,ssr:"undefined"!=typeof document}),eD=(0,S.createContext)(void 0),eB=[],eU=(0,S.forwardRef)(function(e,t){var n,r=(0,S.useState)(),o=r[0],a=r[1],i=(0,S.useRef)(),u=(0,S.useRef)(!1),c=(0,S.useRef)(null),l=(0,S.useState)({})[1],s=e.children,d=e.disabled,f=void 0!==d&&d,p=e.noFocusGuards,m=void 0!==p&&p,h=e.persistentFocus,v=e.crossFrame,g=e.autoFocus,y=(e.allowTextSelection,e.group),b=e.className,x=e.whiteList,w=e.hasPositiveIndices,E=e.shards,k=void 0===E?eB:E,A=e.as,C=e.lockProps,N=e.sideCar,j=e.returnFocus,_=void 0!==j&&j,T=e.focu
1sOptions,O=e.onActivation,R=e.onDeactivation,P=(0,S.useState)({})[0],I=(0,S.useCallback)(function(e){var t=e.captureFocusRestore;if(!c.current){var n,r=null==(n=document)?void 0:n.activeElement;c.current=r,r!==document.body&&(c.current=t(r))}i.current&&O&&O(i.current),u.current=!0,l()},[O]),M=(0,S.useCallback)(function(){u.current=!1,R&&R(i.current),l()},[R]),L=(0,S.useCallback)(function(e){var t=c.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof _?_(n):_;if(r){var o="object"==typeof r?r:void 0;c.current=null,e?Promise.resolve().then(function(){return n.focus(o)}):n.focus(o)}}},[_]),F=(0,S.useCallback)(function(e){u.current&&eI.useMedium(e)},[]),D=eM.useMedium,B=(0,S.useCallback)(function(e){i.current!==e&&(i.current=e,a(e))},[]),U=(0,eT.default)(((n={})[eR]=f&&"disabled",n[eO]=y,n),void 0===C?{}:C),W=!0!==m,$=W&&"tail"!==m,H=V([t,B]),G=(0,S.useMemo)(function(){return{observed:i,shards:k,enabled:!f,get active(){return u.current}}},[f,u,k,i]);return S.default.createElement(S.Fragment,null,W&&[S.default.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:eP}),w?S.default.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:eP}):null],!f&&S.default.createElement(N,{id:P,sideCar:eF,observed:o,disabled:f,persistentFocus:void 0!==h&&h,crossFrame:void 0===v||v,autoFocus:void 0===g||g,whiteList:x,shards:k,onActivation:I,onDeactivation:M,returnFocus:L,focusOptions:T,noFocusGuards:m}),S.default.createElement(void 0===A?"div":A,(0,eT.default)({ref:H},U,{className:b,onBlur:D,onFocus:F}),S.default.createElement(eD.Provider,{value:G},s)),$&&S.default.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:eP}))});function eW(e,t){return(eW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function e$(e){return(e$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}eU.propTypes={};var eH=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},eG=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},eq=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},ez=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},eV=function(e,t){var n,r,o=e.get(t);if(void 0!==o)return o;var a=(n=t,r=eV.bind(void 0,e),!n||ez(n)||!eG(n)&&!n.hasAttribute("inert")&&r(eq(n)));return e.set(t,a),a},eK=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var o=(n=eK.bind(void 0,e),!t||!!ez(t)||!!eJ(t)&&n(eq(t)));return e.set(t,o),o},eY=function(e){return e.dataset},eX=function(e){return"INPUT"===e.tagName},eZ=function(e){return eX(e)&&"radio"===e.type},eJ=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},eQ=function(e){var t;return!!(e&&(null==(t=eY(e))?void 0:t.focusGuard))},e0=function(e){return!eQ(e)},e1=function(e){return!!e},e4=function(e,t){if(eZ(e)&&e.name)return t.filter(eZ).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e;return e},e2=function(e){var t=new Set;return e.forEach(function(n){return t.add(e4(n,e))}),e.filter(function(e){return t.has(e)})},e6=function(e){return e[0]&&e.length>1?e4(e[0],e):e[0]},e3=function(e,t){return e.indexOf(e4(t,e))},e5="NEW_FOCUS",e8=function(e,t,n,r,o){var a=e.length,i=e[0],u=e[a-1],c=eQ(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?n.indexOf(r):-1,s=o?n.indexOf(o):l,d=o?e.indexOf(o):-1;if(-1===l)return -1!==d?d:e5;if(-1===d)return e5;var f=l-s,p=n.indexOf(i),m=n.indexOf(u),h=e2(n),v=void 0!==r?h.indexOf(r):-1,g=o?h.indexOf(o):v,y=h.filter(function(e){return e.tabIndex>=0}),b=void 0!==r?y.indexOf(r):-1,x=o?y.indexOf(o):b;if(!f&&d>=0||0===t.length)return d;var w=e3(e,t[0]),E=e3(e,t[t.length-1]);if(l<=p&&c&&Math.abs(f)>1)return E;if(l>=m&&c&&Math.abs(f)>1)return w;if(f&&Math.abs(b>=0&&x>=0?x-b:g-v)>1)return d;if(l<=p)return E;if(l>m)return w;if(f)return Math.abs(f)>1?d:(a+d+f)%a}},e9=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},e7=function(e){return Array.isArray(e)?e:[e]},te=function(e){return Array.isArray(e)?e[0]:e},tt=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,a=e.index-t.index;if(o){if(!n)return 1;if(!r)return -1}return o||a},tn=function(e,t,n){return e9(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(tt)},tr="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",to="".concat(tr,", [data-focus-guard]"),ta=function(e,t){return e9((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?to:tr)?[n]:[],ta(n))},[])},ti=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null==(n=e.contentDocument)?void 0:n.body)?tu([e.contentDocument.body],t):[e]},tu=function(e,t){return e.reduce(function(e,n){var r,o=ta(n,t),a=(r=[]).concat.apply(r,o.map(function(e){return ti(e,t)}));return e.concat(a,n.parentNode?e9(n.parentNode.querySelectorAll(tr)).filter(function(e){return e===n}):[])},[])},tc=function(e,t){return e9(e).filter(function(e){return eV(t,e)}).filter(function(e){var t;return!((eX(t=e)||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))})},tl=function(e,t){return void 0===t&&(t=new Map),e9(e).filter(function(e){return eK(t,e)})},ts=function(e,t,n){return tn(tc(tu(e,n),t),!0,n)},td=function(e,t){return tn(tc(tu(e),t),!1)},tf=function(e,t){return e.shadowRoot?tf(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||e9(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null==(n=e.contentDocument)?void 0:n.body;return!!r&&tf(r,t)}return tf(e,t)})},tp=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},tm=function(e){return e.parentNode?tm(e.parentNode):e}
1,th=function(e){return e7(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(eO);return e.push.apply(e,n?tp(e9(tm(t).querySelectorAll("[".concat(eO,'="').concat(n,'"]:not([').concat(eR,'="disabled"])')))):[t]),e},[])},tv=function(e,t,n){var r=tl(e.map(function(e){return e.node}).filter(function(e){var t,r=null==(t=eY(e))?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||n.indexOf(e)>=0}));return r&&r.length?e6(r):e6(tl(t))},tg=function(e){try{return e()}catch(e){return}},ty=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?ty(t.shadowRoot):t instanceof HTMLIFrameElement&&tg(function(){return t.contentWindow.document})?ty(t.contentWindow.document):t}},tb=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&tb(e.parentNode.host||e.parentNode,t),t},tx=function(e,t){for(var n=tb(e),r=tb(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},tw=function(e,t,n){var r=e7(e),o=e7(t),a=r[0],i=!1;return o.filter(Boolean).forEach(function(e){i=tx(i||e,e)||i,n.filter(Boolean).forEach(function(e){var t=tx(a,e);t&&(i=!i||tf(t,i)?t:tx(t,i))})}),i},tE=function(e,t){return e.reduce(function(e,n){var r,o;return e.concat((r=n,o=t,tc(e9(r.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return tu([e])}).reduce(function(e,t){return e.concat(t)},[]),o)))},[])},tS=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(e1)},tk=function(e,t){var n=ty(e7(e).length>0?document:te(e).ownerDocument),r=th(e).filter(e0),o=tw(n||e,e,r),a=new Map,i=td(r,a),u=i.filter(function(e){return e0(e.node)});if(u[0]){var c=td([o],a).map(function(e){return e.node}),l=tS(c,u),s=l.map(function(e){return e.node}),d=l.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=e8(s,d,c,n,t);if(f===e5){var p=tv(i,d,tE(r,a))||tv(i,s,tE(r,a));return p?{node:p}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:l[f]}},tA=0,tC=!1,tN=function(e,t,n){void 0===n&&(n={});var r=tk(e,t);if(!tC&&r){if(tA>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),tC=!0,setTimeout(function(){tC=!1},1);return}tA++,eH(r.node,n.focusOptions),tA--}},tj=function(e,t){return void 0===t&&(t=ty(te(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&th(e).some(function(e){var n;return tf(e,t)||(n=t,!!e9(e.querySelectorAll("iframe")).some(function(e){return e===n}))})},t_=function(e){void 0===e&&(e=document);var t=ty(e);return!!t&&e9(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return tf(e,t)})},tT=function(e){var t=th(e).filter(e0),n=tn(tu([tw(e,e,t)],!0),!0,!0),r=tu(t,!1);return n.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:r.indexOf(t)>=0,guard:eQ(t)}})},tO=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=e7(t);if(r.every(function(t){return!tf(t,e)}))return console.error("Active element is not contained in the scope"),{};var o=n?ts(r,new Map):td(r,new Map),a=o.findIndex(function(t){return t.node===e});if(-1!==a)return{prev:o[a-1],next:o[a+1],first:o[0],last:o[o.length-1]}},tR=function(e,t){var n=t?ts(e7(e),new Map):td(e7(e),new Map);return{first:n[0],last:n[n.length-1]}},tP=function(e,t,n){void 0===t&&(t={});var r,o=(r=t,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),a=tO(e,o.scope,o.onlyTabbable);if(a){var i=n(a,o.cycle);i&&eH(i.node,o.focusOptions)}},tI=function(e,t,n){var r,o=tR(e,null==(r=t.onlyTabbable)||r)[n];o&&eH(o.node,t.focusOptions)};function tM(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var tL=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:tM(n),parent:tM(n.parentElement),left:tM(n.previousElementSibling),right:tM(n.nextElementSibling)}),n=n.parentElement;return{element:tM(e),stack:t,ownerDocument:e.ownerDocument}},tF=function(e){if(e)for(var t,n,r,o,a,i=e.stack,u=e.ownerDocument,c=new Map,l=0;l<i.length;l++){var s=i[l],d=null==(t=s.parent)?void 0:t.call(s);if(d&&u.contains(d)){for(var f=null==(n=s.left)?void 0:n.call(s),p=s.current(),m=d.contains(p)?p:void 0,h=null==(r=s.right)?void 0:r.call(s),v=ts([d],c),g=null!=(a=null!=(o=null!=m?m:null==f?void 0:f.nextElementSibling)?o:h)?a:f;g;){for(var y=0;y<v.length;y++){var b=v[y];if(null==g?void 0:g.contains(b.node))return b.node}g=g.nextElementSibling}if(v.length)return v[0].node}}},tD=function(e){var t=tL(e);return function(){return tF(t)}};function tB(e){setTimeout(e,1)}var tU=function(e){return e&&"current"in e?e.current:e},tW=function(){return document&&document.activeElement===document.body},t$=null,tH=null,tG=function(){return null},tq=null,tz=!1,tV=!1,tK=function(e,t){tq={observerNode:e,portaledElement:t}};function tY(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else if(i.lockItem){if(a!==e)return;o=null}else break}while((a+=n)!==t)o&&(o.node.tabIndex=0)}var tX=function(e){return td(e,new Map)},tZ=function(){var e=!1;
1if(t$){var t=t$,n=t.observed,r=t.persistentFocus,o=t.autoFocus,a=t.shards,i=t.crossFrame,u=t.focusOptions,c=t.noFocusGuards,l=n||tq&&tq.portaledElement;if(tW()&&tH&&tH!==document.body&&(!document.body.contains(tH)||!tX([(f=tH).parentNode]).some(function(e){return e.node===f}))){var s=tG();s&&s.focus()}var d=document&&document.activeElement;if(l){var f,p=[l].concat(a.map(tU).filter(Boolean));if((!d||(t$.whiteList||function(){return!0})(d))&&(r||function(){if(!(i?!!tz:"meanwhile"===tz)||!c||!tH||tV)return!1;var e=tX(p),t=e.findIndex(function(e){return e.node===tH});return 0===t||t===e.length-1}()||!(tW()||t_())||!tH&&o)&&(l&&!(tj(p)||d&&p.some(function(e){return function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))}(d,e,e)})||tq&&tq.portaledElement===d)&&(document&&!tH&&d&&!o?(d.blur&&d.blur(),document.body.focus()):(e=tN(p,tH,{focusOptions:u}),tq={})),(tH=document&&document.activeElement)!==document.body&&(tG=tD(tH)),tz=!1),document&&d!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var m=document&&document.activeElement,h=tT(p),v=h.map(function(e){return e.node}).indexOf(m);v>-1&&(h.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),tY(v,h.length,1,h),tY(v,-1,-1,h))}}}return e},tJ=function(e){tZ()&&e&&(e.stopPropagation(),e.preventDefault())},tQ=function(){return tB(tZ)},t0=function(){tV=!0},t1=function(){tV=!1,tz="just",tB(function(){tz="meanwhile"})},t4=function(){document.addEventListener("focusin",tJ),document.addEventListener("focusout",tQ),window.addEventListener("focus",t0),window.addEventListener("blur",t1)},t2=function(){document.removeEventListener("focusin",tJ),document.removeEventListener("focusout",tQ),window.removeEventListener("focus",t0),window.removeEventListener("blur",t1)},t6={moveFocusInside:tN,focusInside:tj,focusNextElement:function(e,t){void 0===t&&(t={}),tP(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},focusPrevElement:function(e,t){void 0===t&&(t={}),tP(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},focusFirstElement:function(e,t){void 0===t&&(t={}),tI(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),tI(e,t,"last")},captureFocusRestore:tD};eI.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||tK(n,t)}),eM.assignMedium(tQ),eL.assignMedium(function(e){return e(t6)});let t3=(n=function(e){return e.filter(function(e){return!e.disabled})},r=function(e){var t=e.slice(-1)[0];t&&!t$&&t4();var n=t$,r=n&&t&&t.id===n.id;t$=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(tH=null,r&&n.observed===t.observed||t.onActivation(t6),tZ(!0),tB(tZ)):(t2(),tH=null)},function(e){var t,o,a,i,u,c=[];function l(){r(u=n(c.map(function(e){return e.props})))}var s=function(t){function n(){return t.apply(this,arguments)||this}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,eW(n,t),n.peek=function(){return u};var r=n.prototype;return r.componentDidMount=function(){c.push(this),l()},r.componentDidUpdate=function(){l()},r.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),l()},r.render=function(){return S.default.createElement(e,this.props)},n}(S.PureComponent);return t=s,o="displayName",a="SideEffect("+(e.displayName||e.name||"Component")+")",(i=function(e,t){if("object"!=e$(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=e$(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),(o="symbol"==e$(i)?i:i+"")in t)?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,s})(function(){return null});var t5=(0,S.forwardRef)(function(e,t){return S.default.createElement(eU,(0,eT.default)({sideCar:t3,ref:t},e))}),t8=eU.propTypes||{};t8.sideCar,function(e,t){if(null!=e){var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}}}(t8,["sideCar"]),t5.propTypes={};var t9=e.i(66037);let t7=t5.default??t5,ne=e=>{let{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:i,isDisabled:u,autoFocus:c,persistentFocus:l,lockFocusAcrossFrames:s}=e,d=(0,S.useCallback)(()=>
1{if(t?.current)t.current.focus();else if(r?.current){var e;let t;0===((t=Array.from((e=r.current).querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"))).unshift(e),t.filter(e=>(function(e){if(!(0,t9.isHTMLElement)(e)||(0,t9.isHiddenElement)(e)||(0,t9.isDisabledElement)(e))return!1;let{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;let n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!(0,t9.isContentEditableElement)(e)||e.hasAttribute("tabindex")})(e)&&e.offsetWidth>0&&e.offsetHeight>0)).length&&requestAnimationFrame(()=>{r.current?.focus()})}},[t,r]),f=(0,S.useCallback)(()=>{n?.current?.focus()},[n]),p=o&&!n;return(0,a.jsx)(t7,{crossFrame:s,persistentFocus:l,autoFocus:c,disabled:u,onActivation:d,onDeactivation:f,returnFocus:p,children:i})};function nt(e){let{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:i,allowPinchZoom:u,finalFocusRef:c,returnFocusOnClose:l,preserveScrollBarGap:s,lockFocusAcrossFrames:d,isOpen:f}=R(),[p,m]=(0,B.usePresence)();(0,S.useEffect)(()=>{!p&&m&&setTimeout(m)},[p,m]);let h=C(r,f);return(0,a.jsx)(ne,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:c,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:d,children:(0,a.jsx)(e_,{removeScrollBar:!s,allowPinchZoom:u,enabled:1===h&&i,forwardProps:!0,children:e.children})})}ne.displayName="FocusLock";var nn=e.i(46932),nr=e.i(1418);let no={initial:"initial",animate:"enter",exit:"exit",variants:{initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:o})=>({opacity:0,x:e,y:t,transition:n?.exit??nr.withDelay.exit(nr.TRANSITION_DEFAULTS.exit,o),transitionEnd:r?.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:e?.enter??nr.withDelay.enter(nr.TRANSITION_DEFAULTS.enter,n),transitionEnd:t?.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:o,delay:a})=>{let i={x:t,y:e};return{opacity:0,transition:n?.exit??nr.withDelay.exit(nr.TRANSITION_DEFAULTS.exit,a),...o?{...i,transitionEnd:r?.exit}:{transitionEnd:{...i,...r?.exit}}}}}};(0,S.forwardRef)(function(e,t){let{unmountOnExit:n,in:r,reverse:o=!0,className:i,offsetX:u=0,offsetY:c=8,transition:l,transitionEnd:s,delay:d,animatePresenceProps:f,...m}=e,h=!n||r&&n,v=r||n?"enter":"exit",g={offsetX:u,offsetY:c,reverse:o,transition:l,transitionEnd:s,delay:d};return(0,a.jsx)(p.AnimatePresence,{...f,custom:g,children:h&&(0,a.jsx)(nn.motion.div,{ref:t,className:(0,I.cx)("chakra-offset-slide",i),custom:g,...no,animate:v,...m})})}).displayName="SlideFade";let na={initial:"exit",animate:"enter",exit:"exit",variants:{exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:o})=>({opacity:0,...e?{scale:t,transitionEnd:r?.exit}:{transitionEnd:{scale:t,...r?.exit}},transition:n?.exit??nr.withDelay.exit(nr.TRANSITION_DEFAULTS.exit,o)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:t?.enter??nr.withDelay.enter(nr.TRANSITION_DEFAULTS.enter,n),transitionEnd:e?.enter})}};(0,S.forwardRef)(function(e,t){let{unmountOnExit:n,in:r,reverse:o=!0,initialScale:i=.95,className:u,transition:c,transitionEnd:l,delay:s,animatePresenceProps:d,...f}=e,m=!n||r&&n,h=r||n?"enter":"exit",v={initialScale:i,reverse:o,transition:c,transitionEnd:l,delay:s};return(0,a.jsx)(p.AnimatePresence,{...d,custom:v,children:m&&(0,a.jsx)(nn.motion.div,{ref:t,className:(0,I.cx)("chakra-offset-slide",u),...na,animate:h,custom:v,...f})})}).displayName="ScaleFade";let ni={slideInBottom:{...no,custom:{offsetY:16,reverse:!0}},slideInRight:{...no,custom:{offsetX:16,reverse:!0}},slideInTop:{...no,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...no,custom:{offsetX:-16,reverse:!0}},scale:{...na,custom:{initialScale:.95,reverse:!0}},none:{}},nu=(0,l.chakra)(nn.motion.section),nc=(0,S.forwardRef)((e,t)=>{let{preset:n,motionProps:r=ni[n||"none"],...o}=e;return(0,a.jsx)(nu,{ref:t,...r,...o})});nc.displayName="ModalTransition";let nl=(0,c.forwardRef)((e,t)=>{let{className:n,children:r,containerProps:o,motionProps:i,...u}=e,{getDialogProps:c,getDialogContainerProps:s}=R(),d=c(u,t),f=s(o),p=(0,I.cx)("chakra-modal__content",n),m=T(),h=(0,D.defineStyle)({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...m.dialog}),v=(0,D.defineStyle)({display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...m.dialogContainer}),{motionPreset:g}=R();return(0,a.jsx)(nt,{children:(0,a.jsx)(l.chakra.div,{...f,className:"chakra-modal__content-container",tabIndex:-1,__css:v,children:(0,a.jsx)(nc,{preset
1:g,motionProps:i,className:p,...d,__css:h,children:r})})})});nl.displayName="ModalContent";let ns={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:e?.enter??nr.withDelay.enter(nr.TRANSITION_DEFAULTS.enter,n),transitionEnd:t?.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:e?.exit??nr.withDelay.exit(nr.TRANSITION_DEFAULTS.exit,n),transitionEnd:t?.exit})}};(0,S.forwardRef)(function(e,t){let{unmountOnExit:n,in:r,className:o,transition:i,transitionEnd:u,delay:c,animatePresenceProps:l,...s}=e,d=r||n?"enter":"exit",f=!n||r&&n,m={transition:i,transitionEnd:u,delay:c};return(0,a.jsx)(p.AnimatePresence,{...l,custom:m,children:f&&(0,a.jsx)(nn.motion.div,{ref:t,className:(0,I.cx)("chakra-fade",o),custom:m,...ns,animate:d,...s})})}).displayName="Fade";let nd=(0,l.chakra)(nn.motion.div),nf=(0,c.forwardRef)((e,t)=>{let{className:n,transition:r,motionProps:o,...i}=e,u=(0,I.cx)("chakra-modal__overlay",n),c={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...T().overlay},{motionPreset:l}=R();return(0,a.jsx)(nd,{...o||("none"===l?{}:ns),__css:c,ref:t,className:u,...i})});nf.displayName="ModalOverlay";var np=e.i(58798),nm=e.i(68211),nh=e.i(57688),nv=e.i(44457);let ng=(0,e.i(70309).createIcon)({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"});var ny=e.i(58910),nb=e.i(52559);e.i(85269);var nx=e.i(22831),nw=e.i(94001);function nE(){let{t:e,i18n:t}=(0,nx.useTranslation)(),{isOpen:n,onOpen:r,onClose:o}=(0,np.useDisclosure)(),c=t.language;return(0,a.jsxs)("header",{children:[(0,a.jsx)(u.Container,{maxW:"container.xl",py:"6",children:(0,a.jsxs)(s,{alignItems:"center",justifyContent:"space-between",children:[(0,a.jsxs)(d.HStack,{spacing:{base:4,lg:10},children:[(0,a.jsx)(nm.Link,{href:c===nw.default.defaultLocale?"/":`/${c}`,"aria-label":e("header:home_page"),children:(0,a.jsx)(nh.default,{src:nv.default,alt:"Betoven",style:{maxWidth:"130px",height:"auto"},width:130,priority:!0})}),(0,a.jsxs)(d.HStack,{as:"nav",spacing:{base:4,lg:8},display:{base:"none",md:"flex"},children:[(0,a.jsx)(nm.Link,{fontWeight:"medium",href:"/#how-it-work",children:e("header:how_it_works")}),(0,a.jsx)(nm.Link,{fontWeight:"medium",href:"/#features",children:e("header:features")}),(0,a.jsx)(nm.Link,{fontWeight:"medium",href:"/#reviews",children:e("header:reviews")})]})]}),(0,a.jsx)(i.Box,{children:(0,a.jsxs)(nm.Link,{fontWeight:"medium",href:"#",onClick:r,children:[e("header:download"),"Â ",(0,a.jsx)(ng,{})]})})]})}),(0,a.jsxs)(P,{isOpen:n,onClose:o,children:[(0,a.jsx)(nf,{}),(0,a.jsxs)(nl,{children:[(0,a.jsx)(F,{}),(0,a.jsx)(M,{pt:12,pb:4,children:(0,a.jsxs)(d.HStack,{spacing:4,justifyContent:"center",children:[(0,a.jsx)(ny.default,{}),(0,a.jsx)(nb.default,{})]})})]})]})]})}e.s(["default",()=>nE],20040)},20433,e=>{"use strict";var t=e.i(43476),n=e.i(48324),r=e.i(9160),o=e.i(23093);let a=(0,r.forwardRef)(function(e,n){let{templateAreas:r,gap:a,rowGap:i,columnGap:u,column:c,row:l,autoFlow:s,autoRows:d,templateRows:f,autoColumns:p,templateColumns:m,...h}=e;return(0,t.jsx)(o.chakra.div,{ref:n,__css:{display:"grid",gridTemplateAreas:r,gridGap:a,gridRowGap:i,gridColumnGap:u,gridAutoColumns:p,gridColumn:c,gridRow:l,gridAutoFlow:s,gridAutoRows:d,gridTemplateRows:f,gridTemplateColumns:m},...h})});a.displayName="Grid";var i=e.i(44034),u=e.i(28798);let c=(0,r.forwardRef)(function(e,r){var o,c,l;let{columns:s,spacingX:d,spacingY:f,spacing:p,minChildWidth:m,...h}=e,v=(0,i.useTheme)(),g=m?(o=m,c=v,(0,n.mapResponsive)(o,e=>{let t=(0,u.getToken)("sizes",e,"number"==typeof e?`${e}px`:e)(c);return null===e?null:`repeat(auto-fit, minmax(${t}, 1fr))`})):(l=s,(0,n.mapResponsive)(l,e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`));return(0,t.jsx)(a,{ref:r,gap:p,columnGap:d,rowGap:f,templateColumns:g,...h})});c.displayName="SimpleGrid",e.s(["SimpleGrid",()=>c],20433)},69220,e=>{"use strict";var t=e.i(43476),n=e.i(36217),r=e.i(61638),o=e.i(20433),a=e.i(53978),i=e.i(37546),u=e.i(57688),c=e.i(44457),l=e.i(68211);e.i(85269);var s=e.i(22831),d=e.i(18566),f=e.i(94001),p=e.i(77225),m=e.i(55282),h=e.i(59726),v=e.i(71645),g=e.i(83554),y=e.i(9160),b=e.i(23093);let x=(0,y.forwardRef)(function(e,n){let{children:r,placeholder:o,className:a,...i}=e;return(0,t.jsxs)(b.chakra.select,{...i,ref:n,className:(0,g.cx)("chakra-select",a),children:[o&&(0,t.jsx)("option",{value:"",children:o}),r]})});x.displayName="SelectField";var w=e.i(36234),E=e.i(34046),S=e.i(50456),k=e.i(72548);let[A,C]=(0,S.createContext)({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[N,j]=(0,S.createContext)({strict:!1,name:"FormControlContext"});(0,y.forwardRef)(function(e,n){let r=(0,k.useMultiStyleConfig)("Form",e),{getRootProps:o,htmlProps:a,...i}=function(e){let{id:t,isRequired:n,isInvalid:r,isDisabled:o,isReadOnly:a,...i}=e,u=(0,v.useId)(),c=t||`field-${u}`,l=`${c}-label`,s=`${c}-feedback`,d=`${c}-helptext`,[f,p]=(0,v.useState)(!1),[m,g]=(0,v.useState)(!1),[y,b]=(0,v.useState)(!1),x=(0,v.useCallback)((e={},t=null)=>({id:d,...e,ref:(0,E.mergeRefs)(t,e=>{e&&g(!0)})}),[d]),w=(0,v.useCallback)((e={},t=null)=>({...e,ref:t,"data-focus":(0,h.dataAttr)(y),"data-disabled":(0,h.dataAttr)(o),"data-invalid":(0,h.dataAttr)(r),"data-readonly":(0,h.dataAttr)(a),id:void 0!==e.id?e.id:l,htmlFor:void 0!==e.htmlFor?e.htmlFor:c}),[c,o,y,r,a,l]),S=(0,v.useCallback)((e={},t=null)=>({id:s,...e,ref:(0,E.mergeRefs)(t,e=>{e&&p(!0)}),"aria-live":"polite"}),[s]),k=(0,v.useCallback)((e={},t=null)=>({...e,...i,ref:t,role:"group","data-focus":(0,h.dataAttr)(y),"data-disabled":(0,h.dataAttr)(o),"data-invalid":(0,h.dataAttr)(r),"data-readonly":(0,h.dataAttr)(a)}),[i,o,y,r,a]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!a,isDisabled:!!o,isFocused:!!y,onFocus:()=>b(!0),onBlur:()=>b(!1),hasFeedbackText:f,setHasFeedbackText:p,hasHelpText:m,setHasHelpText:g,id:c,labelId:l,feedbackId:s,helpTextId:d,htmlProps:i,getHelpTextProps:x,getErrorMessageProps:S,getRootProps:k,getLabelProps:w,getRequiredIndicatorProps:(0,v.useCallback)((e={},t=null)=>
1({...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"}),[])}}((0,p.omitThemingProps)(e)),u=(0,g.cx)("chakra-form-control",e.className);return(0,t.jsx)(N,{value:i,children:(0,t.jsx)(A,{value:r,children:(0,t.jsx)(b.chakra.div,{...o({},n),className:u,__css:r.container})})})}).displayName="FormControl",(0,y.forwardRef)(function(e,n){let r=j(),o=C(),a=(0,g.cx)("chakra-form__helper-text",e.className);return(0,t.jsx)(b.chakra.div,{...r?.getHelpTextProps(e,n),__css:o.helperText,className:a})}).displayName="FormHelperText";let _=(0,y.forwardRef)((e,n)=>{let r=(0,k.useMultiStyleConfig)("Select",e),{rootProps:o,placeholder:a,icon:i,color:u,height:c,h:l,minH:s,minHeight:d,iconColor:f,iconSize:v,...g}=(0,p.omitThemingProps)(e),[y,E]=function(e,t){let n={},r={};for(let[o,a]of Object.entries(e))t.includes(o)?n[o]=a:r[o]=a;return[n,r]}(g,m.layoutPropNames),S=function(e){let{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:o,...a}=function(e){let t=j(),{id:n,disabled:r,readOnly:o,required:a,isRequired:i,isInvalid:u,isReadOnly:c,isDisabled:l,onFocus:s,onBlur:d,...f}=e,p=e["aria-describedby"]?[e["aria-describedby"]]:[];return t?.hasFeedbackText&&t?.isInvalid&&p.push(t.feedbackId),t?.hasHelpText&&p.push(t.helpTextId),{...f,"aria-describedby":p.join(" ")||void 0,id:n??t?.id,isDisabled:r??l??t?.isDisabled,isReadOnly:o??c??t?.isReadOnly,isRequired:a??i??t?.isRequired,isInvalid:u??t?.isInvalid,onFocus:(0,w.callAllHandlers)(t?.onF
1ocus,s),onBlur:(0,w.callAllHandlers)(t?.onBlur,d)}}(e);return{...a,disabled:t,readOnly:r,required:o,"aria-invalid":(0,h.ariaAttr)(n),"aria-required":(0,h.ariaAttr)(o),"aria-readonly":(0,h.ariaAttr)(r)}}(E),A={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...r.field?._focus}};return(0,t.jsxs)(b.chakra.div,{className:"chakra-select__wrapper",__css:{width:"100%",height:"fit-content",position:"relative",color:u},...y,...o,children:[(0,t.jsx)(x,{ref:n,height:l??c,minH:s??d,placeholder:a,...S,__css:A,children:e.children}),(0,t.jsx)(R,{"data-disabled":(0,h.dataAttr)(S.disabled),...(f||u)&&{color:f||u},__css:r.icon,...v&&{fontSize:v},children:i})]})});_.displayName="Select";let T=e=>(0,t.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,t.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),O=(0,b.chakra)("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),R=e=>{let{children:n=(0,t.jsx)(T,{}),...r}=e,o=(0,v.cloneElement)(n,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,t.jsx)(O,{...r,className:"chakra-select__icon-wrapper",children:(0,v.isValidElement)(n)?o:null})};function P(){let{i18n:e}=(0,s.useTranslation)(),n=e.language,r=(0,d.useRouter)(),o=(0,d.usePathname)();return(0,t.jsxs)(_,{onChange:e=>{let t=e.target.value,a=new Date;a.setTime(a.getTime()+2592e6);let i=a.toUTCString();document.cookie=`NEXT_LOCALE=${t};expires=${i};path=/`,n!==f.default.defaultLocale||f.default.prefixDefault?r.push(o.replace(`/${n}`,`/${t}`)):r.push("/"+t+o),r.refresh()},value:n,maxWidth:100,"aria-label":"Language",children:[(0,t.jsx)("option",{value:"en",children:"ð¬ð§"}),(0,t.jsx)("option",{value:"fr",children:"ð«ð·"}),(0,t.jsx)("option",{value:"it",children:"ð®ð¹"}),(0,t.jsx)("option",{value:"de",children:"ð©ðª"}),(0,t.jsx)("option",{value:"es",children:"ðªð¸"}),(0,t.jsx)("option",{value:"pt",children:"ðµð¹"})]})}function I(){let{t:e,i18n:d}=(0,s.useTranslation)(),p=d.language;return(0,t.jsx)(i.VStack,{backgroundColor:"blue.900",color:"white",pt:10,pb:10,px:4,spacing:6,children:(0,t.jsx)(n.Container,{maxWidth:"container.xl",children:(0,t.jsxs)(i.VStack,{spacing:10,children:[(0,t.jsxs)(o.SimpleGrid,{columns:{base:1,md:2},width:"100%",spacing:{base:10,md:4},children:[(0,t.jsxs)(i.VStack,{alignItems:"flex-start",spacing:6,children:[(0,t.jsx)(l.Link,{href:p===f.default.defaultLocale?"/":`/${p}`,"aria-label":"Home page",children:(0,t.jsx)(u.default,{src:c.default,alt:"Betoven",style:{maxWidth:"130px",height:"auto"},width:130})}),(0,t.jsx)(a.Text,{children:e("footer:description")})]}),(0,t.jsxs)(i.VStack,{alignItems:{base:"flex-start",md:"flex-end"},spacing:6,children:[(0,t.jsx)(r.Heading,{as:"h2",size:"md",children:e("footer:resources")}),(0,t.jsxs)(i.VStack,{alignItems:{base:"flex-start",md:"flex-end"},children:[(0,t.jsx)(l.Link,{href:p===f.default.defaultLocale?"/get_in_touch":`/${p}/get_in_touch`,children:e("footer:get_in_touch")}),(0,t.jsx)(l.Link,{href:p===f.default.defaultLocale?"/privacy_policy":`/${p}/privacy_policy`,children:e("footer:privacy_policy")}),(0,t.jsx)(l.Link,{href:p===f.default.defaultLocale?"/terms_and_conditions":`/${p}/terms_and_conditions`,children:e("footer:terms_&_conditions")})]}),(0,t.jsx)(P,{})]})]}),(0,t.jsxs)(i.VStack,{spacing:4,children:[(0,t.jsx)("a",{href:"https://www.applyra.io/verified/bc619afd-0f4e-46db-8b43-49d389b59444?utm_source=badge&utm_medium=embed",children:(0,t.jsx)("img",{src:"https://www.applyra.io/badge/bc619afd-0f4e-46db-8b43-49d389b59444.png?format=award&theme=dark",width:"250",height:"104",loading:"lazy",alt:'Betoven - Pronostics Sportifs ranking for "paris sportifs gratuit" on the App Store (FR), verified by Applyra'})}),(0,t.jsxs)(a.Text,{children:["Betoven © ",new Date().getFullYear()]})]})]})})})}R.displayName="SelectIcon",e.s(["default",()=>I],69220)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.