var tj=Object.defineProperty;var rm=e=>{throw TypeError(e)};var nj=(e,t,n)=>t in e?tj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var mr=(e,t,n)=>nj(e,typeof t!="symbol"?t+"":t,n),Tu=(e,t,n)=>t.has(e)||rm("Cannot "+n);var F=(e,t,n)=>(Tu(e,t,"read from private field"),n?n.call(e):t.get(e)),_e=(e,t,n)=>t.has(e)?rm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),be=(e,t,n,r)=>(Tu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),bt=(e,t,n)=>(Tu(e,t,"access private method"),n);var il=(e,t,n,r)=>({set _(i){be(e,t,i,n)},get _(){return F(e,t,r)}});function rj(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var Jl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ji(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dv={exports:{}},qc={},hv={exports:{}},ke={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Bo=Symbol.for("react.element"),ij=Symbol.for("react.portal"),sj=Symbol.for("react.fragment"),aj=Symbol.for("react.strict_mode"),oj=Symbol.for("react.profiler"),lj=Symbol.for("react.provider"),cj=Symbol.for("react.context"),uj=Symbol.for("react.forward_ref"),dj=Symbol.for("react.suspense"),hj=Symbol.for("react.memo"),pj=Symbol.for("react.lazy"),im=Symbol.iterator;function fj(e){return e===null||typeof e!="object"?null:(e=im&&e[im]||e["@@iterator"],typeof e=="function"?e:null)}var pv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fv=Object.assign,mv={};function ia(e,t,n){this.props=e,this.context=t,this.refs=mv,this.updater=n||pv}ia.prototype.isReactComponent={};ia.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ia.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function gv(){}gv.prototype=ia.prototype;function dp(e,t,n){this.props=e,this.context=t,this.refs=mv,this.updater=n||pv}var hp=dp.prototype=new gv;hp.constructor=dp;fv(hp,ia.prototype);hp.isPureReactComponent=!0;var sm=Array.isArray,xv=Object.prototype.hasOwnProperty,pp={current:null},vv={key:!0,ref:!0,__self:!0,__source:!0};function yv(e,t,n){var r,i={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)xv.call(t,r)&&!vv.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:Bo,type:e,key:a,ref:o,props:i,_owner:pp.current}}function mj(e,t){return{$$typeof:Bo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fp(e){return typeof e=="object"&&e!==null&&e.$$typeof===Bo}function gj(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var am=/\/+/g;function Pu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?gj(""+e.key):t.toString(36)}function Pl(e,t,n,r,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(a){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Bo:case ij:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+Pu(o,0):r,sm(i)?(n="",e!=null&&(n=e.replace(am,"$&/")+"/"),Pl(i,t,n,"",function(u){return u})):i!=null&&(fp(i)&&(i=mj(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(am,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",sm(e))for(var l=0;l<e.length;l++){a=e[l];var c=r+Pu(a,l);o+=Pl(a,t,n,c,i)}else if(c=fj(e),typeof c=="function")for(e=c.call(e),l=0;!(a=e.next()).done;)a=a.value,c=r+Pu(a,l++),o+=Pl(a,t,n,c,i);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function sl(e,t,n){if(e==null)return e;var r=[],i=0;return Pl(e,r,"","",function(a){return t.call(n,a,i++)}),r}function xj(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Mt={current:null},Il={transition:null},vj={ReactCurrentDispatcher:Mt,ReactCurrentBatchConfig:Il,ReactCurrentOwner:pp};function bv(){throw Error("act(...) is not supported in production builds of React.")}ke.Children={map:sl,forEach:function(e,t,n){sl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return sl(e,function(){t++}),t},toArray:function(e){return sl(e,function(t){return t})||[]},only:function(e){if(!fp(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ke.Component=ia;ke.Fragment=sj;ke.Profiler=oj;ke.PureComponent=dp;ke.StrictMode=aj;ke.Suspense=dj;ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vj;ke.act=bv;ke.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=fv({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=pp.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)xv.call(t,c)&&!vv.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Bo,type:e.type,key:i,ref:a,props:r,_owner:o}};ke.createContext=function(e){return e={$$typeof:cj,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lj,_context:e},e.Consumer=e};ke.createElement=yv;ke.createFactory=function(e){var t=yv.bind(null,e);return t.type=e,t};ke.createRef=function(){return{current:null}};ke.forwardRef=function(e){return{$$typeof:uj,render:e}};ke.isValidElement=fp;ke.lazy=function(e){return{$$typeof:pj,_payload:{_status:-1,_result:e},_init:xj}};ke.memo=function(e,t){return{$$typeof:hj,type:e,compare:t===void 0?null:t}};ke.startTransition=function(e){var t=Il.transition;Il.transition={};try{e()}finally{Il.transition=t}};ke.unstable_act=bv;ke.useCallback=function(e,t){return Mt.current.useCallback(e,t)};ke.useContext=function(e){return Mt.current.useContext(e)};ke.useDebugValue=function(){};ke.useDeferredValue=function(e){return Mt.current.useDeferredValue(e)};ke.useEffect=function(e,t){return Mt.current.useEffect(e,t)};ke.useId=function(){return Mt.current.useId()};ke.useImperativeHandle=function(e,t,n){return Mt.current.useImperativeHandle(e,t,n)};ke.useInsertionEffect=function(e,t){return Mt.current.useInsertionEffect(e,t)};ke.useLayoutEffect=function(e,t){return Mt.current.useLayoutEffect(e,t)};ke.useMemo=function(e,t){return Mt.current.useMemo(e,t)};ke.useReducer=function(e,t,n){return Mt.current.useReducer(e,t,n)};ke.useRef=function(e){return Mt.current.useRef(e)};ke.useState=function(e){return Mt.current.useState(e)};ke.useSyncExternalStore=function(e,t,n){return Mt.current.useSyncExternalStore(e,t,n)};ke.useTransition=function(){return Mt.current.useTransition()};ke.version="18.3.1";hv.exports=ke;var b=hv.exports;const R=Ji(b),wv=rj({__proto__:null,default:R},[b]);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var yj=b,bj=Symbol.for("react.element"),wj=Symbol.for("react.fragment"),jj=Object.prototype.hasOwnProperty,kj=yj.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Nj={key:!0,ref:!0,__self:!0,__source:!0};function jv(e,t,n){var r,i={},a=null,o=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)jj.call(t,r)&&!Nj.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:bj,type:e,key:a,ref:o,props:i,_owner:kj.current}}qc.Fragment=wj;qc.jsx=jv;qc.jsxs=jv;dv.exports=qc;var s=dv.exports,kv={exports:{}},cn={},Nv={exports:{}},Ev={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(T,$){var j=T.length;T.push($);e:for(;0<j;){var Q=j-1>>>1,ie=T[Q];if(0<i(ie,$))T[Q]=$,T[j]=ie,j=Q;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var $=T[0],j=T.pop();if(j!==$){T[0]=j;e:for(var Q=0,ie=T.length,N=ie>>>1;Q<N;){var je=2*(Q+1)-1,Ue=T[je],ce=je+1,rt=T[ce];if(0>i(Ue,j))ce<ie&&0>i(rt,Ue)?(T[Q]=rt,T[ce]=j,Q=ce):(T[Q]=Ue,T[je]=j,Q=je);else if(ce<ie&&0>i(rt,j))T[Q]=rt,T[ce]=j,Q=ce;else break e}}return $}function i(T,$){var j=T.sortIndex-$.sortIndex;return j!==0?j:T.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var c=[],u=[],d=1,h=null,p=3,f=!1,x=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(T){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=T)r(u),$.sortIndex=$.expirationTime,t(c,$);else break;$=n(u)}}function k(T){if(v=!1,y(T),!x)if(n(c)!==null)x=!0,Y(C);else{var $=n(u);$!==null&&te(k,$.startTime-T)}}function C(T,$){x=!1,v&&(v=!1,m(I),I=-1),f=!0;var j=p;try{for(y($),h=n(c);h!==null&&(!(h.expirationTime>$)||T&&!V());){var Q=h.callback;if(typeof Q=="function"){h.callback=null,p=h.priorityLevel;var ie=Q(h.expirationTime<=$);$=e.unstable_now(),typeof ie=="function"?h.callback=ie:h===n(c)&&r(c),y($)}else r(c);h=n(c)}if(h!==null)var N=!0;else{var je=n(u);je!==null&&te(k,je.startTime-$),N=!1}return N}finally{h=null,p=j,f=!1}}var E=!1,_=null,I=-1,B=5,D=-1;function V(){return!(e.unstable_now()-D<B)}function P(){if(_!==null){var T=e.unstable_now();D=T;var $=!0;try{$=_(!0,T)}finally{$?U():(E=!1,_=null)}}else E=!1}var U;if(typeof g=="function")U=function(){g(P)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,G=M.port2;M.port1.onmessage=P,U=function(){G.postMessage(null)}}else U=function(){w(P,0)};function Y(T){_=T,E||(E=!0,U())}function te(T,$){I=w(function(){T(e.unstable_now())},$)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){x||f||(x=!0,Y(C))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(T){switch(p){case 1:case 2:case 3:var $=3;break;default:$=p}var j=p;p=$;try{return T()}finally{p=j}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,$){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var j=p;p=T;try{return $()}finally{p=j}},e.unstable_scheduleCallback=function(T,$,j){var Q=e.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?Q+j:Q):j=Q,T){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;break;case 4:ie=1e4;break;default:ie=5e3}return ie=j+ie,T={id:d++,callback:$,priorityLevel:T,startTime:j,expirationTime:ie,sortIndex:-1},j>Q?(T.sortIndex=j,t(u,T),n(c)===null&&T===n(u)&&(v?(m(I),I=-1):v=!0,te(k,j-Q))):(T.sortIndex=ie,t(c,T),x||f||(x=!0,Y(C))),T},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(T){var $=p;return function(){var j=p;p=$;try{return T.apply(this,arguments)}finally{p=j}}}})(Ev);Nv.exports=Ev;var Ej=Nv.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Cj=b,ln=Ej;function W(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Cv=new Set,Ya={};function es(e,t){Hs(e,t),Hs(e+"Capture",t)}function Hs(e,t){for(Ya[e]=t,e=0;e<t.length;e++)Cv.add(t[e])}var Cr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zd=Object.prototype.hasOwnProperty,Sj=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,om={},lm={};function Aj(e){return zd.call(lm,e)?!0:zd.call(om,e)?!1:Sj.test(e)?lm[e]=!0:(om[e]=!0,!1)}function _j(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Tj(e,t,n,r){if(t===null||typeof t>"u"||_j(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ft(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var yt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){yt[e]=new Ft(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];yt[t]=new Ft(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){yt[e]=new Ft(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){yt[e]=new Ft(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){yt[e]=new Ft(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){yt[e]=new Ft(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){yt[e]=new Ft(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){yt[e]=new Ft(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){yt[e]=new Ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var mp=/[\-:]([a-z])/g;function gp(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(mp,gp);yt[t]=new Ft(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(mp,gp);yt[t]=new Ft(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(mp,gp);yt[t]=new Ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){yt[e]=new Ft(e,1,!1,e.toLowerCase(),null,!1,!1)});yt.xlinkHref=new Ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){yt[e]=new Ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function xp(e,t,n,r){var i=yt.hasOwnProperty(t)?yt[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Tj(t,n,i,r)&&(n=null),r||i===null?Aj(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Or=Cj.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,al=Symbol.for("react.element"),us=Symbol.for("react.portal"),ds=Symbol.for("react.fragment"),vp=Symbol.for("react.strict_mode"),Od=Symbol.for("react.profiler"),Sv=Symbol.for("react.provider"),Av=Symbol.for("react.context"),yp=Symbol.for("react.forward_ref"),Rd=Symbol.for("react.suspense"),Dd=Symbol.for("react.suspense_list"),bp=Symbol.for("react.memo"),Ur=Symbol.for("react.lazy"),_v=Symbol.for("react.offscreen"),cm=Symbol.iterator;function fa(e){return e===null||typeof e!="object"?null:(e=cm&&e[cm]||e["@@iterator"],typeof e=="function"?e:null)}var Ge=Object.assign,Iu;function Ta(e){if(Iu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Iu=t&&t[1]||""}return`
`+Iu+e}var zu=!1;function Ou(e,t){if(!e||zu)return"";zu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
`),a=r.stack.split(`
`),o=i.length-1,l=a.length-1;1<=o&&0<=l&&i[o]!==a[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==a[l]){if(o!==1||l!==1)do if(o--,l--,0>l||i[o]!==a[l]){var c=`
`+i[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{zu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ta(e):""}function Pj(e){switch(e.tag){case 5:return Ta(e.type);case 16:return Ta("Lazy");case 13:return Ta("Suspense");case 19:return Ta("SuspenseList");case 0:case 2:case 15:return e=Ou(e.type,!1),e;case 11:return e=Ou(e.type.render,!1),e;case 1:return e=Ou(e.type,!0),e;default:return""}}function Md(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ds:return"Fragment";case us:return"Portal";case Od:return"Profiler";case vp:return"StrictMode";case Rd:return"Suspense";case Dd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Av:return(e.displayName||"Context")+".Consumer";case Sv:return(e._context.displayName||"Context")+".Provider";case yp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bp:return t=e.displayName||null,t!==null?t:Md(e.type)||"Memo";case Ur:t=e._payload,e=e._init;try{return Md(e(t))}catch{}}return null}function Ij(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Md(t);case 8:return t===vp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function pi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zj(e){var t=Tv(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ol(e){e._valueTracker||(e._valueTracker=zj(e))}function Pv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Tv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ec(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Fd(e,t){var n=t.checked;return Ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function um(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=pi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Iv(e,t){t=t.checked,t!=null&&xp(e,"checked",t,!1)}function Ld(e,t){Iv(e,t);var n=pi(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Vd(e,t.type,n):t.hasOwnProperty("defaultValue")&&Vd(e,t.type,pi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function dm(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Vd(e,t,n){(t!=="number"||ec(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pa=Array.isArray;function ks(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+pi(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Bd(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(W(91));return Ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function hm(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(W(92));if(Pa(n)){if(1<n.length)throw Error(W(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:pi(n)}}function zv(e,t){var n=pi(t.value),r=pi(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function pm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ov(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $d(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ov(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ll,Rv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ll=ll||document.createElement("div"),ll.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ll.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xa(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Da={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Oj=["Webkit","ms","Moz","O"];Object.keys(Da).forEach(function(e){Oj.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Da[t]=Da[e]})});function Dv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Da.hasOwnProperty(e)&&Da[e]?(""+t).trim():t+"px"}function Mv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Dv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Rj=Ge({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ud(e,t){if(t){if(Rj[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(62))}}function Wd(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hd=null;function wp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qd=null,Ns=null,Es=null;function fm(e){if(e=Wo(e)){if(typeof qd!="function")throw Error(W(280));var t=e.stateNode;t&&(t=Yc(t),qd(e.stateNode,e.type,t))}}function Fv(e){Ns?Es?Es.push(e):Es=[e]:Ns=e}function Lv(){if(Ns){var e=Ns,t=Es;if(Es=Ns=null,fm(e),t)for(e=0;e<t.length;e++)fm(t[e])}}function Vv(e,t){return e(t)}function Bv(){}var Ru=!1;function $v(e,t,n){if(Ru)return e(t,n);Ru=!0;try{return Vv(e,t,n)}finally{Ru=!1,(Ns!==null||Es!==null)&&(Bv(),Lv())}}function Ja(e,t){var n=e.stateNode;if(n===null)return null;var r=Yc(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(W(231,t,typeof n));return n}var Zd=!1;if(Cr)try{var ma={};Object.defineProperty(ma,"passive",{get:function(){Zd=!0}}),window.addEventListener("test",ma,ma),window.removeEventListener("test",ma,ma)}catch{Zd=!1}function Dj(e,t,n,r,i,a,o,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var Ma=!1,tc=null,nc=!1,Gd=null,Mj={onError:function(e){Ma=!0,tc=e}};function Fj(e,t,n,r,i,a,o,l,c){Ma=!1,tc=null,Dj.apply(Mj,arguments)}function Lj(e,t,n,r,i,a,o,l,c){if(Fj.apply(this,arguments),Ma){if(Ma){var u=tc;Ma=!1,tc=null}else throw Error(W(198));nc||(nc=!0,Gd=u)}}function ts(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Uv(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function mm(e){if(ts(e)!==e)throw Error(W(188))}function Vj(e){var t=e.alternate;if(!t){if(t=ts(e),t===null)throw Error(W(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return mm(i),e;if(a===r)return mm(i),t;a=a.sibling}throw Error(W(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,l=i.child;l;){if(l===n){o=!0,n=i,r=a;break}if(l===r){o=!0,r=i,n=a;break}l=l.sibling}if(!o){for(l=a.child;l;){if(l===n){o=!0,n=a,r=i;break}if(l===r){o=!0,r=a,n=i;break}l=l.sibling}if(!o)throw Error(W(189))}}if(n.alternate!==r)throw Error(W(190))}if(n.tag!==3)throw Error(W(188));return n.stateNode.current===n?e:t}function Wv(e){return e=Vj(e),e!==null?Hv(e):null}function Hv(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Hv(e);if(t!==null)return t;e=e.sibling}return null}var qv=ln.unstable_scheduleCallback,gm=ln.unstable_cancelCallback,Bj=ln.unstable_shouldYield,$j=ln.unstable_requestPaint,tt=ln.unstable_now,Uj=ln.unstable_getCurrentPriorityLevel,jp=ln.unstable_ImmediatePriority,Zv=ln.unstable_UserBlockingPriority,rc=ln.unstable_NormalPriority,Wj=ln.unstable_LowPriority,Gv=ln.unstable_IdlePriority,Zc=null,ir=null;function Hj(e){if(ir&&typeof ir.onCommitFiberRoot=="function")try{ir.onCommitFiberRoot(Zc,e,void 0,(e.current.flags&128)===128)}catch{}}var Dn=Math.clz32?Math.clz32:Gj,qj=Math.log,Zj=Math.LN2;function Gj(e){return e>>>=0,e===0?32:31-(qj(e)/Zj|0)|0}var cl=64,ul=4194304;function Ia(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ic(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~i;l!==0?r=Ia(l):(a&=o,a!==0&&(r=Ia(a)))}else o=n&~i,o!==0?r=Ia(o):a!==0&&(r=Ia(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Dn(t),i=1<<n,r|=e[n],t&=~i;return r}function Kj(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Qj(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-Dn(a),l=1<<o,c=i[o];c===-1?(!(l&n)||l&r)&&(i[o]=Kj(l,t)):c<=t&&(e.expiredLanes|=l),a&=~l}}function Kd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Kv(){var e=cl;return cl<<=1,!(cl&4194240)&&(cl=64),e}function Du(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $o(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Dn(t),e[t]=n}function Yj(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Dn(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function kp(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Dn(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Te=0;function Qv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Yv,Np,Xv,Jv,e0,Qd=!1,dl=[],ri=null,ii=null,si=null,eo=new Map,to=new Map,Hr=[],Xj="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function xm(e,t){switch(e){case"focusin":case"focusout":ri=null;break;case"dragenter":case"dragleave":ii=null;break;case"mouseover":case"mouseout":si=null;break;case"pointerover":case"pointerout":eo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":to.delete(t.pointerId)}}function ga(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Wo(t),t!==null&&Np(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Jj(e,t,n,r,i){switch(t){case"focusin":return ri=ga(ri,e,t,n,r,i),!0;case"dragenter":return ii=ga(ii,e,t,n,r,i),!0;case"mouseover":return si=ga(si,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return eo.set(a,ga(eo.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,to.set(a,ga(to.get(a)||null,e,t,n,r,i)),!0}return!1}function t0(e){var t=Ii(e.target);if(t!==null){var n=ts(t);if(n!==null){if(t=n.tag,t===13){if(t=Uv(n),t!==null){e.blockedOn=t,e0(e.priority,function(){Xv(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Hd=r,n.target.dispatchEvent(r),Hd=null}else return t=Wo(n),t!==null&&Np(t),e.blockedOn=n,!1;t.shift()}return!0}function vm(e,t,n){zl(e)&&n.delete(t)}function ek(){Qd=!1,ri!==null&&zl(ri)&&(ri=null),ii!==null&&zl(ii)&&(ii=null),si!==null&&zl(si)&&(si=null),eo.forEach(vm),to.forEach(vm)}function xa(e,t){e.blockedOn===t&&(e.blockedOn=null,Qd||(Qd=!0,ln.unstable_scheduleCallback(ln.unstable_NormalPriority,ek)))}function no(e){function t(i){return xa(i,e)}if(0<dl.length){xa(dl[0],e);for(var n=1;n<dl.length;n++){var r=dl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ri!==null&&xa(ri,e),ii!==null&&xa(ii,e),si!==null&&xa(si,e),eo.forEach(t),to.forEach(t),n=0;n<Hr.length;n++)r=Hr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Hr.length&&(n=Hr[0],n.blockedOn===null);)t0(n),n.blockedOn===null&&Hr.shift()}var Cs=Or.ReactCurrentBatchConfig,sc=!0;function tk(e,t,n,r){var i=Te,a=Cs.transition;Cs.transition=null;try{Te=1,Ep(e,t,n,r)}finally{Te=i,Cs.transition=a}}function nk(e,t,n,r){var i=Te,a=Cs.transition;Cs.transition=null;try{Te=4,Ep(e,t,n,r)}finally{Te=i,Cs.transition=a}}function Ep(e,t,n,r){if(sc){var i=Yd(e,t,n,r);if(i===null)qu(e,t,r,ac,n),xm(e,r);else if(Jj(i,e,t,n,r))r.stopPropagation();else if(xm(e,r),t&4&&-1<Xj.indexOf(e)){for(;i!==null;){var a=Wo(i);if(a!==null&&Yv(a),a=Yd(e,t,n,r),a===null&&qu(e,t,r,ac,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else qu(e,t,r,null,n)}}var ac=null;function Yd(e,t,n,r){if(ac=null,e=wp(r),e=Ii(e),e!==null)if(t=ts(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Uv(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ac=e,null}function n0(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Uj()){case jp:return 1;case Zv:return 4;case rc:case Wj:return 16;case Gv:return 536870912;default:return 16}default:return 16}}var ei=null,Cp=null,Ol=null;function r0(){if(Ol)return Ol;var e,t=Cp,n=t.length,r,i="value"in ei?ei.value:ei.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Ol=i.slice(e,1<r?1-r:void 0)}function Rl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function hl(){return!0}function ym(){return!1}function un(e){function t(n,r,i,a,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?hl:ym,this.isPropagationStopped=ym,this}return Ge(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=hl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=hl)},persist:function(){},isPersistent:hl}),t}var sa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sp=un(sa),Uo=Ge({},sa,{view:0,detail:0}),rk=un(Uo),Mu,Fu,va,Gc=Ge({},Uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ap,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==va&&(va&&e.type==="mousemove"?(Mu=e.screenX-va.screenX,Fu=e.screenY-va.screenY):Fu=Mu=0,va=e),Mu)},movementY:function(e){return"movementY"in e?e.movementY:Fu}}),bm=un(Gc),ik=Ge({},Gc,{dataTransfer:0}),sk=un(ik),ak=Ge({},Uo,{relatedTarget:0}),Lu=un(ak),ok=Ge({},sa,{animationName:0,elapsedTime:0,pseudoElement:0}),lk=un(ok),ck=Ge({},sa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),uk=un(ck),dk=Ge({},sa,{data:0}),wm=un(dk),hk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pk={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mk(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=fk[e])?!!t[e]:!1}function Ap(){return mk}var gk=Ge({},Uo,{key:function(e){if(e.key){var t=hk[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Rl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?pk[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ap,charCode:function(e){return e.type==="keypress"?Rl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xk=un(gk),vk=Ge({},Gc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jm=un(vk),yk=Ge({},Uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ap}),bk=un(yk),wk=Ge({},sa,{propertyName:0,elapsedTime:0,pseudoElement:0}),jk=un(wk),kk=Ge({},Gc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nk=un(kk),Ek=[9,13,27,32],_p=Cr&&"CompositionEvent"in window,Fa=null;Cr&&"documentMode"in document&&(Fa=document.documentMode);var Ck=Cr&&"TextEvent"in window&&!Fa,i0=Cr&&(!_p||Fa&&8<Fa&&11>=Fa),km=" ",Nm=!1;function s0(e,t){switch(e){case"keyup":return Ek.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function a0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var hs=!1;function Sk(e,t){switch(e){case"compositionend":return a0(t);case"keypress":return t.which!==32?null:(Nm=!0,km);case"textInput":return e=t.data,e===km&&Nm?null:e;default:return null}}function Ak(e,t){if(hs)return e==="compositionend"||!_p&&s0(e,t)?(e=r0(),Ol=Cp=ei=null,hs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return i0&&t.locale!=="ko"?null:t.data;default:return null}}var _k={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Em(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!_k[e.type]:t==="textarea"}function o0(e,t,n,r){Fv(r),t=oc(t,"onChange"),0<t.length&&(n=new Sp("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var La=null,ro=null;function Tk(e){v0(e,0)}function Kc(e){var t=ms(e);if(Pv(t))return e}function Pk(e,t){if(e==="change")return t}var l0=!1;if(Cr){var Vu;if(Cr){var Bu="oninput"in document;if(!Bu){var Cm=document.createElement("div");Cm.setAttribute("oninput","return;"),Bu=typeof Cm.oninput=="function"}Vu=Bu}else Vu=!1;l0=Vu&&(!document.documentMode||9<document.documentMode)}function Sm(){La&&(La.detachEvent("onpropertychange",c0),ro=La=null)}function c0(e){if(e.propertyName==="value"&&Kc(ro)){var t=[];o0(t,ro,e,wp(e)),$v(Tk,t)}}function Ik(e,t,n){e==="focusin"?(Sm(),La=t,ro=n,La.attachEvent("onpropertychange",c0)):e==="focusout"&&Sm()}function zk(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Kc(ro)}function Ok(e,t){if(e==="click")return Kc(t)}function Rk(e,t){if(e==="input"||e==="change")return Kc(t)}function Dk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ln=typeof Object.is=="function"?Object.is:Dk;function io(e,t){if(Ln(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!zd.call(t,i)||!Ln(e[i],t[i]))return!1}return!0}function Am(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _m(e,t){var n=Am(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Am(n)}}function u0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?u0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function d0(){for(var e=window,t=ec();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ec(e.document)}return t}function Tp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Mk(e){var t=d0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&u0(n.ownerDocument.documentElement,n)){if(r!==null&&Tp(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=_m(n,a);var o=_m(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Fk=Cr&&"documentMode"in document&&11>=document.documentMode,ps=null,Xd=null,Va=null,Jd=!1;function Tm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Jd||ps==null||ps!==ec(r)||(r=ps,"selectionStart"in r&&Tp(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Va&&io(Va,r)||(Va=r,r=oc(Xd,"onSelect"),0<r.length&&(t=new Sp("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ps)))}function pl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fs={animationend:pl("Animation","AnimationEnd"),animationiteration:pl("Animation","AnimationIteration"),animationstart:pl("Animation","AnimationStart"),transitionend:pl("Transition","TransitionEnd")},$u={},h0={};Cr&&(h0=document.createElement("div").style,"AnimationEvent"in window||(delete fs.animationend.animation,delete fs.animationiteration.animation,delete fs.animationstart.animation),"TransitionEvent"in window||delete fs.transitionend.transition);function Qc(e){if($u[e])return $u[e];if(!fs[e])return e;var t=fs[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in h0)return $u[e]=t[n];return e}var p0=Qc("animationend"),f0=Qc("animationiteration"),m0=Qc("animationstart"),g0=Qc("transitionend"),x0=new Map,Pm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ki(e,t){x0.set(e,t),es(t,[e])}for(var Uu=0;Uu<Pm.length;Uu++){var Wu=Pm[Uu],Lk=Wu.toLowerCase(),Vk=Wu[0].toUpperCase()+Wu.slice(1);ki(Lk,"on"+Vk)}ki(p0,"onAnimationEnd");ki(f0,"onAnimationIteration");ki(m0,"onAnimationStart");ki("dblclick","onDoubleClick");ki("focusin","onFocus");ki("focusout","onBlur");ki(g0,"onTransitionEnd");Hs("onMouseEnter",["mouseout","mouseover"]);Hs("onMouseLeave",["mouseout","mouseover"]);Hs("onPointerEnter",["pointerout","pointerover"]);Hs("onPointerLeave",["pointerout","pointerover"]);es("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));es("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));es("onBeforeInput",["compositionend","keypress","textInput","paste"]);es("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));es("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));es("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var za="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Bk=new Set("cancel close invalid load scroll toggle".split(" ").concat(za));function Im(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Lj(r,t,void 0,e),e.currentTarget=null}function v0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==a&&i.isPropagationStopped())break e;Im(i,l,u),a=c}else for(o=0;o<r.length;o++){if(l=r[o],c=l.instance,u=l.currentTarget,l=l.listener,c!==a&&i.isPropagationStopped())break e;Im(i,l,u),a=c}}}if(nc)throw e=Gd,nc=!1,Gd=null,e}function Le(e,t){var n=t[ih];n===void 0&&(n=t[ih]=new Set);var r=e+"__bubble";n.has(r)||(y0(t,e,2,!1),n.add(r))}function Hu(e,t,n){var r=0;t&&(r|=4),y0(n,e,r,t)}var fl="_reactListening"+Math.random().toString(36).slice(2);function so(e){if(!e[fl]){e[fl]=!0,Cv.forEach(function(n){n!=="selectionchange"&&(Bk.has(n)||Hu(n,!1,e),Hu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[fl]||(t[fl]=!0,Hu("selectionchange",!1,t))}}function y0(e,t,n,r){switch(n0(t)){case 1:var i=tk;break;case 4:i=nk;break;default:i=Ep}n=i.bind(null,t,n,e),i=void 0,!Zd||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function qu(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;l!==null;){if(o=Ii(l),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue e}l=l.parentNode}}r=r.return}$v(function(){var u=a,d=wp(n),h=[];e:{var p=x0.get(e);if(p!==void 0){var f=Sp,x=e;switch(e){case"keypress":if(Rl(n)===0)break e;case"keydown":case"keyup":f=xk;break;case"focusin":x="focus",f=Lu;break;case"focusout":x="blur",f=Lu;break;case"beforeblur":case"afterblur":f=Lu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=bm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=sk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=bk;break;case p0:case f0:case m0:f=lk;break;case g0:f=jk;break;case"scroll":f=rk;break;case"wheel":f=Nk;break;case"copy":case"cut":case"paste":f=uk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=jm}var v=(t&4)!==0,w=!v&&e==="scroll",m=v?p!==null?p+"Capture":null:p;v=[];for(var g=u,y;g!==null;){y=g;var k=y.stateNode;if(y.tag===5&&k!==null&&(y=k,m!==null&&(k=Ja(g,m),k!=null&&v.push(ao(g,k,y)))),w)break;g=g.return}0<v.length&&(p=new f(p,x,null,n,d),h.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",p&&n!==Hd&&(x=n.relatedTarget||n.fromElement)&&(Ii(x)||x[Sr]))break e;if((f||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,f?(x=n.relatedTarget||n.toElement,f=u,x=x?Ii(x):null,x!==null&&(w=ts(x),x!==w||x.tag!==5&&x.tag!==6)&&(x=null)):(f=null,x=u),f!==x)){if(v=bm,k="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(v=jm,k="onPointerLeave",m="onPointerEnter",g="pointer"),w=f==null?p:ms(f),y=x==null?p:ms(x),p=new v(k,g+"leave",f,n,d),p.target=w,p.relatedTarget=y,k=null,Ii(d)===u&&(v=new v(m,g+"enter",x,n,d),v.target=y,v.relatedTarget=w,k=v),w=k,f&&x)t:{for(v=f,m=x,g=0,y=v;y;y=ss(y))g++;for(y=0,k=m;k;k=ss(k))y++;for(;0<g-y;)v=ss(v),g--;for(;0<y-g;)m=ss(m),y--;for(;g--;){if(v===m||m!==null&&v===m.alternate)break t;v=ss(v),m=ss(m)}v=null}else v=null;f!==null&&zm(h,p,f,v,!1),x!==null&&w!==null&&zm(h,w,x,v,!0)}}e:{if(p=u?ms(u):window,f=p.nodeName&&p.nodeName.toLowerCase(),f==="select"||f==="input"&&p.type==="file")var C=Pk;else if(Em(p))if(l0)C=Rk;else{C=zk;var E=Ik}else(f=p.nodeName)&&f.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(C=Ok);if(C&&(C=C(e,u))){o0(h,C,n,d);break e}E&&E(e,p,u),e==="focusout"&&(E=p._wrapperState)&&E.controlled&&p.type==="number"&&Vd(p,"number",p.value)}switch(E=u?ms(u):window,e){case"focusin":(Em(E)||E.contentEditable==="true")&&(ps=E,Xd=u,Va=null);break;case"focusout":Va=Xd=ps=null;break;case"mousedown":Jd=!0;break;case"contextmenu":case"mouseup":case"dragend":Jd=!1,Tm(h,n,d);break;case"selectionchange":if(Fk)break;case"keydown":case"keyup":Tm(h,n,d)}var _;if(_p)e:{switch(e){case"compositionstart":var I="onCompositionStart";break e;case"compositionend":I="onCompositionEnd";break e;case"compositionupdate":I="onCompositionUpdate";break e}I=void 0}else hs?s0(e,n)&&(I="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(I="onCompositionStart");I&&(i0&&n.locale!=="ko"&&(hs||I!=="onCompositionStart"?I==="onCompositionEnd"&&hs&&(_=r0()):(ei=d,Cp="value"in ei?ei.value:ei.textContent,hs=!0)),E=oc(u,I),0<E.length&&(I=new wm(I,e,null,n,d),h.push({event:I,listeners:E}),_?I.data=_:(_=a0(n),_!==null&&(I.data=_)))),(_=Ck?Sk(e,n):Ak(e,n))&&(u=oc(u,"onBeforeInput"),0<u.length&&(d=new wm("onBeforeInput","beforeinput",null,n,d),h.push({event:d,listeners:u}),d.data=_))}v0(h,t)})}function ao(e,t,n){return{instance:e,listener:t,currentTarget:n}}function oc(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=Ja(e,n),a!=null&&r.unshift(ao(e,a,i)),a=Ja(e,t),a!=null&&r.push(ao(e,a,i))),e=e.return}return r}function ss(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function zm(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,i?(c=Ja(n,a),c!=null&&o.unshift(ao(n,c,l))):i||(c=Ja(n,a),c!=null&&o.push(ao(n,c,l)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var $k=/\r\n?/g,Uk=/\u0000|\uFFFD/g;function Om(e){return(typeof e=="string"?e:""+e).replace($k,`
`).replace(Uk,"")}function ml(e,t,n){if(t=Om(t),Om(e)!==t&&n)throw Error(W(425))}function lc(){}var eh=null,th=null;function nh(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var rh=typeof setTimeout=="function"?setTimeout:void 0,Wk=typeof clearTimeout=="function"?clearTimeout:void 0,Rm=typeof Promise=="function"?Promise:void 0,Hk=typeof queueMicrotask=="function"?queueMicrotask:typeof Rm<"u"?function(e){return Rm.resolve(null).then(e).catch(qk)}:rh;function qk(e){setTimeout(function(){throw e})}function Zu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),no(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);no(t)}function ai(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Dm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var aa=Math.random().toString(36).slice(2),er="__reactFiber$"+aa,oo="__reactProps$"+aa,Sr="__reactContainer$"+aa,ih="__reactEvents$"+aa,Zk="__reactListeners$"+aa,Gk="__reactHandles$"+aa;function Ii(e){var t=e[er];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Sr]||n[er]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Dm(e);e!==null;){if(n=e[er])return n;e=Dm(e)}return t}e=n,n=e.parentNode}return null}function Wo(e){return e=e[er]||e[Sr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ms(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(W(33))}function Yc(e){return e[oo]||null}var sh=[],gs=-1;function Ni(e){return{current:e}}function Be(e){0>gs||(e.current=sh[gs],sh[gs]=null,gs--)}function Re(e,t){gs++,sh[gs]=e.current,e.current=t}var fi={},St=Ni(fi),Ut=Ni(!1),Wi=fi;function qs(e,t){var n=e.type.contextTypes;if(!n)return fi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Wt(e){return e=e.childContextTypes,e!=null}function cc(){Be(Ut),Be(St)}function Mm(e,t,n){if(St.current!==fi)throw Error(W(168));Re(St,t),Re(Ut,n)}function b0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(W(108,Ij(e)||"Unknown",i));return Ge({},n,r)}function uc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fi,Wi=St.current,Re(St,e),Re(Ut,Ut.current),!0}function Fm(e,t,n){var r=e.stateNode;if(!r)throw Error(W(169));n?(e=b0(e,t,Wi),r.__reactInternalMemoizedMergedChildContext=e,Be(Ut),Be(St),Re(St,e)):Be(Ut),Re(Ut,n)}var wr=null,Xc=!1,Gu=!1;function w0(e){wr===null?wr=[e]:wr.push(e)}function Kk(e){Xc=!0,w0(e)}function Ei(){if(!Gu&&wr!==null){Gu=!0;var e=0,t=Te;try{var n=wr;for(Te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}wr=null,Xc=!1}catch(i){throw wr!==null&&(wr=wr.slice(e+1)),qv(jp,Ei),i}finally{Te=t,Gu=!1}}return null}var xs=[],vs=0,dc=null,hc=0,yn=[],bn=0,Hi=null,jr=1,kr="";function _i(e,t){xs[vs++]=hc,xs[vs++]=dc,dc=e,hc=t}function j0(e,t,n){yn[bn++]=jr,yn[bn++]=kr,yn[bn++]=Hi,Hi=e;var r=jr;e=kr;var i=32-Dn(r)-1;r&=~(1<<i),n+=1;var a=32-Dn(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,jr=1<<32-Dn(t)+i|n<<i|r,kr=a+e}else jr=1<<a|n<<i|r,kr=e}function Pp(e){e.return!==null&&(_i(e,1),j0(e,1,0))}function Ip(e){for(;e===dc;)dc=xs[--vs],xs[vs]=null,hc=xs[--vs],xs[vs]=null;for(;e===Hi;)Hi=yn[--bn],yn[bn]=null,kr=yn[--bn],yn[bn]=null,jr=yn[--bn],yn[bn]=null}var sn=null,nn=null,$e=!1,In=null;function k0(e,t){var n=kn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Lm(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,sn=e,nn=ai(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,sn=e,nn=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Hi!==null?{id:jr,overflow:kr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=kn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,sn=e,nn=null,!0):!1;default:return!1}}function ah(e){return(e.mode&1)!==0&&(e.flags&128)===0}function oh(e){if($e){var t=nn;if(t){var n=t;if(!Lm(e,t)){if(ah(e))throw Error(W(418));t=ai(n.nextSibling);var r=sn;t&&Lm(e,t)?k0(r,n):(e.flags=e.flags&-4097|2,$e=!1,sn=e)}}else{if(ah(e))throw Error(W(418));e.flags=e.flags&-4097|2,$e=!1,sn=e}}}function Vm(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;sn=e}function gl(e){if(e!==sn)return!1;if(!$e)return Vm(e),$e=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!nh(e.type,e.memoizedProps)),t&&(t=nn)){if(ah(e))throw N0(),Error(W(418));for(;t;)k0(e,t),t=ai(t.nextSibling)}if(Vm(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(W(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){nn=ai(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}nn=null}}else nn=sn?ai(e.stateNode.nextSibling):null;return!0}function N0(){for(var e=nn;e;)e=ai(e.nextSibling)}function Zs(){nn=sn=null,$e=!1}function zp(e){In===null?In=[e]:In.push(e)}var Qk=Or.ReactCurrentBatchConfig;function ya(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(W(309));var r=n.stateNode}if(!r)throw Error(W(147,e));var i=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(o){var l=i.refs;o===null?delete l[a]:l[a]=o},t._stringRef=a,t)}if(typeof e!="string")throw Error(W(284));if(!n._owner)throw Error(W(290,e))}return e}function xl(e,t){throw e=Object.prototype.toString.call(t),Error(W(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Bm(e){var t=e._init;return t(e._payload)}function E0(e){function t(m,g){if(e){var y=m.deletions;y===null?(m.deletions=[g],m.flags|=16):y.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function i(m,g){return m=ui(m,g),m.index=0,m.sibling=null,m}function a(m,g,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<g?(m.flags|=2,g):y):(m.flags|=2,g)):(m.flags|=1048576,g)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function l(m,g,y,k){return g===null||g.tag!==6?(g=td(y,m.mode,k),g.return=m,g):(g=i(g,y),g.return=m,g)}function c(m,g,y,k){var C=y.type;return C===ds?d(m,g,y.props.children,k,y.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ur&&Bm(C)===g.type)?(k=i(g,y.props),k.ref=ya(m,g,y),k.return=m,k):(k=$l(y.type,y.key,y.props,null,m.mode,k),k.ref=ya(m,g,y),k.return=m,k)}function u(m,g,y,k){return g===null||g.tag!==4||g.stateNode.containerInfo!==y.containerInfo||g.stateNode.implementation!==y.implementation?(g=nd(y,m.mode,k),g.return=m,g):(g=i(g,y.children||[]),g.return=m,g)}function d(m,g,y,k,C){return g===null||g.tag!==7?(g=$i(y,m.mode,k,C),g.return=m,g):(g=i(g,y),g.return=m,g)}function h(m,g,y){if(typeof g=="string"&&g!==""||typeof g=="number")return g=td(""+g,m.mode,y),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case al:return y=$l(g.type,g.key,g.props,null,m.mode,y),y.ref=ya(m,null,g),y.return=m,y;case us:return g=nd(g,m.mode,y),g.return=m,g;case Ur:var k=g._init;return h(m,k(g._payload),y)}if(Pa(g)||fa(g))return g=$i(g,m.mode,y,null),g.return=m,g;xl(m,g)}return null}function p(m,g,y,k){var C=g!==null?g.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return C!==null?null:l(m,g,""+y,k);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case al:return y.key===C?c(m,g,y,k):null;case us:return y.key===C?u(m,g,y,k):null;case Ur:return C=y._init,p(m,g,C(y._payload),k)}if(Pa(y)||fa(y))return C!==null?null:d(m,g,y,k,null);xl(m,y)}return null}function f(m,g,y,k,C){if(typeof k=="string"&&k!==""||typeof k=="number")return m=m.get(y)||null,l(g,m,""+k,C);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case al:return m=m.get(k.key===null?y:k.key)||null,c(g,m,k,C);case us:return m=m.get(k.key===null?y:k.key)||null,u(g,m,k,C);case Ur:var E=k._init;return f(m,g,y,E(k._payload),C)}if(Pa(k)||fa(k))return m=m.get(y)||null,d(g,m,k,C,null);xl(g,k)}return null}function x(m,g,y,k){for(var C=null,E=null,_=g,I=g=0,B=null;_!==null&&I<y.length;I++){_.index>I?(B=_,_=null):B=_.sibling;var D=p(m,_,y[I],k);if(D===null){_===null&&(_=B);break}e&&_&&D.alternate===null&&t(m,_),g=a(D,g,I),E===null?C=D:E.sibling=D,E=D,_=B}if(I===y.length)return n(m,_),$e&&_i(m,I),C;if(_===null){for(;I<y.length;I++)_=h(m,y[I],k),_!==null&&(g=a(_,g,I),E===null?C=_:E.sibling=_,E=_);return $e&&_i(m,I),C}for(_=r(m,_);I<y.length;I++)B=f(_,m,I,y[I],k),B!==null&&(e&&B.alternate!==null&&_.delete(B.key===null?I:B.key),g=a(B,g,I),E===null?C=B:E.sibling=B,E=B);return e&&_.forEach(function(V){return t(m,V)}),$e&&_i(m,I),C}function v(m,g,y,k){var C=fa(y);if(typeof C!="function")throw Error(W(150));if(y=C.call(y),y==null)throw Error(W(151));for(var E=C=null,_=g,I=g=0,B=null,D=y.next();_!==null&&!D.done;I++,D=y.next()){_.index>I?(B=_,_=null):B=_.sibling;var V=p(m,_,D.value,k);if(V===null){_===null&&(_=B);break}e&&_&&V.alternate===null&&t(m,_),g=a(V,g,I),E===null?C=V:E.sibling=V,E=V,_=B}if(D.done)return n(m,_),$e&&_i(m,I),C;if(_===null){for(;!D.done;I++,D=y.next())D=h(m,D.value,k),D!==null&&(g=a(D,g,I),E===null?C=D:E.sibling=D,E=D);return $e&&_i(m,I),C}for(_=r(m,_);!D.done;I++,D=y.next())D=f(_,m,I,D.value,k),D!==null&&(e&&D.alternate!==null&&_.delete(D.key===null?I:D.key),g=a(D,g,I),E===null?C=D:E.sibling=D,E=D);return e&&_.forEach(function(P){return t(m,P)}),$e&&_i(m,I),C}function w(m,g,y,k){if(typeof y=="object"&&y!==null&&y.type===ds&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case al:e:{for(var C=y.key,E=g;E!==null;){if(E.key===C){if(C=y.type,C===ds){if(E.tag===7){n(m,E.sibling),g=i(E,y.props.children),g.return=m,m=g;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ur&&Bm(C)===E.type){n(m,E.sibling),g=i(E,y.props),g.ref=ya(m,E,y),g.return=m,m=g;break e}n(m,E);break}else t(m,E);E=E.sibling}y.type===ds?(g=$i(y.props.children,m.mode,k,y.key),g.return=m,m=g):(k=$l(y.type,y.key,y.props,null,m.mode,k),k.ref=ya(m,g,y),k.return=m,m=k)}return o(m);case us:e:{for(E=y.key;g!==null;){if(g.key===E)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){n(m,g.sibling),g=i(g,y.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=nd(y,m.mode,k),g.return=m,m=g}return o(m);case Ur:return E=y._init,w(m,g,E(y._payload),k)}if(Pa(y))return x(m,g,y,k);if(fa(y))return v(m,g,y,k);xl(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(n(m,g.sibling),g=i(g,y),g.return=m,m=g):(n(m,g),g=td(y,m.mode,k),g.return=m,m=g),o(m)):n(m,g)}return w}var Gs=E0(!0),C0=E0(!1),pc=Ni(null),fc=null,ys=null,Op=null;function Rp(){Op=ys=fc=null}function Dp(e){var t=pc.current;Be(pc),e._currentValue=t}function lh(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ss(e,t){fc=e,Op=ys=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&($t=!0),e.firstContext=null)}function En(e){var t=e._currentValue;if(Op!==e)if(e={context:e,memoizedValue:t,next:null},ys===null){if(fc===null)throw Error(W(308));ys=e,fc.dependencies={lanes:0,firstContext:e}}else ys=ys.next=e;return t}var zi=null;function Mp(e){zi===null?zi=[e]:zi.push(e)}function S0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Mp(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ar(e,r)}function Ar(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Wr=!1;function Fp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function A0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Er(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function oi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ce&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ar(e,n)}return i=r.interleaved,i===null?(t.next=t,Mp(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ar(e,n)}function Dl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kp(e,n)}}function $m(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function mc(e,t,n,r){var i=e.updateQueue;Wr=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var c=l,u=c.next;c.next=null,o===null?a=u:o.next=u,o=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==o&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(a!==null){var h=i.baseState;o=0,d=u=c=null,l=a;do{var p=l.lane,f=l.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var x=e,v=l;switch(p=t,f=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){h=x.call(f,h,p);break e}h=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,p=typeof x=="function"?x.call(f,h,p):x,p==null)break e;h=Ge({},h,p);break e;case 2:Wr=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=f,c=h):d=d.next=f,o|=p;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;p=l,l=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(d===null&&(c=h),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Zi|=o,e.lanes=o,e.memoizedState=h}}function Um(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(W(191,i));i.call(r)}}}var Ho={},sr=Ni(Ho),lo=Ni(Ho),co=Ni(Ho);function Oi(e){if(e===Ho)throw Error(W(174));return e}function Lp(e,t){switch(Re(co,t),Re(lo,e),Re(sr,Ho),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:$d(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=$d(t,e)}Be(sr),Re(sr,t)}function Ks(){Be(sr),Be(lo),Be(co)}function _0(e){Oi(co.current);var t=Oi(sr.current),n=$d(t,e.type);t!==n&&(Re(lo,e),Re(sr,n))}function Vp(e){lo.current===e&&(Be(sr),Be(lo))}var He=Ni(0);function gc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ku=[];function Bp(){for(var e=0;e<Ku.length;e++)Ku[e]._workInProgressVersionPrimary=null;Ku.length=0}var Ml=Or.ReactCurrentDispatcher,Qu=Or.ReactCurrentBatchConfig,qi=0,Ze=null,lt=null,dt=null,xc=!1,Ba=!1,uo=0,Yk=0;function wt(){throw Error(W(321))}function $p(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ln(e[n],t[n]))return!1;return!0}function Up(e,t,n,r,i,a){if(qi=a,Ze=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ml.current=e===null||e.memoizedState===null?t2:n2,e=n(r,i),Ba){a=0;do{if(Ba=!1,uo=0,25<=a)throw Error(W(301));a+=1,dt=lt=null,t.updateQueue=null,Ml.current=r2,e=n(r,i)}while(Ba)}if(Ml.current=vc,t=lt!==null&<.next!==null,qi=0,dt=lt=Ze=null,xc=!1,t)throw Error(W(300));return e}function Wp(){var e=uo!==0;return uo=0,e}function Gn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?Ze.memoizedState=dt=e:dt=dt.next=e,dt}function Cn(){if(lt===null){var e=Ze.alternate;e=e!==null?e.memoizedState:null}else e=lt.next;var t=dt===null?Ze.memoizedState:dt.next;if(t!==null)dt=t,lt=e;else{if(e===null)throw Error(W(310));lt=e,e={memoizedState:lt.memoizedState,baseState:lt.baseState,baseQueue:lt.baseQueue,queue:lt.queue,next:null},dt===null?Ze.memoizedState=dt=e:dt=dt.next=e}return dt}function ho(e,t){return typeof t=="function"?t(e):t}function Yu(e){var t=Cn(),n=t.queue;if(n===null)throw Error(W(311));n.lastRenderedReducer=e;var r=lt,i=r.baseQueue,a=n.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}r.baseQueue=i=a,n.pending=null}if(i!==null){a=i.next,r=r.baseState;var l=o=null,c=null,u=a;do{var d=u.lane;if((qi&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=h,o=r):c=c.next=h,Ze.lanes|=d,Zi|=d}u=u.next}while(u!==null&&u!==a);c===null?o=r:c.next=l,Ln(r,t.memoizedState)||($t=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do a=i.lane,Ze.lanes|=a,Zi|=a,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Xu(e){var t=Cn(),n=t.queue;if(n===null)throw Error(W(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);Ln(a,t.memoizedState)||($t=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function T0(){}function P0(e,t){var n=Ze,r=Cn(),i=t(),a=!Ln(r.memoizedState,i);if(a&&(r.memoizedState=i,$t=!0),r=r.queue,Hp(O0.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||dt!==null&&dt.memoizedState.tag&1){if(n.flags|=2048,po(9,z0.bind(null,n,r,i,t),void 0,null),pt===null)throw Error(W(349));qi&30||I0(n,t,i)}return i}function I0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ze.updateQueue,t===null?(t={lastEffect:null,stores:null},Ze.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function z0(e,t,n,r){t.value=n,t.getSnapshot=r,R0(t)&&D0(e)}function O0(e,t,n){return n(function(){R0(t)&&D0(e)})}function R0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ln(e,n)}catch{return!0}}function D0(e){var t=Ar(e,1);t!==null&&Mn(t,e,1,-1)}function Wm(e){var t=Gn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ho,lastRenderedState:e},t.queue=e,e=e.dispatch=e2.bind(null,Ze,e),[t.memoizedState,e]}function po(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ze.updateQueue,t===null?(t={lastEffect:null,stores:null},Ze.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function M0(){return Cn().memoizedState}function Fl(e,t,n,r){var i=Gn();Ze.flags|=e,i.memoizedState=po(1|t,n,void 0,r===void 0?null:r)}function Jc(e,t,n,r){var i=Cn();r=r===void 0?null:r;var a=void 0;if(lt!==null){var o=lt.memoizedState;if(a=o.destroy,r!==null&&$p(r,o.deps)){i.memoizedState=po(t,n,a,r);return}}Ze.flags|=e,i.memoizedState=po(1|t,n,a,r)}function Hm(e,t){return Fl(8390656,8,e,t)}function Hp(e,t){return Jc(2048,8,e,t)}function F0(e,t){return Jc(4,2,e,t)}function L0(e,t){return Jc(4,4,e,t)}function V0(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function B0(e,t,n){return n=n!=null?n.concat([e]):null,Jc(4,4,V0.bind(null,t,e),n)}function qp(){}function $0(e,t){var n=Cn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$p(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function U0(e,t){var n=Cn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$p(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function W0(e,t,n){return qi&21?(Ln(n,t)||(n=Kv(),Ze.lanes|=n,Zi|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,$t=!0),e.memoizedState=n)}function Xk(e,t){var n=Te;Te=n!==0&&4>n?n:4,e(!0);var r=Qu.transition;Qu.transition={};try{e(!1),t()}finally{Te=n,Qu.transition=r}}function H0(){return Cn().memoizedState}function Jk(e,t,n){var r=ci(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},q0(e))Z0(t,n);else if(n=S0(e,t,n,r),n!==null){var i=Rt();Mn(n,e,r,i),G0(n,t,r)}}function e2(e,t,n){var r=ci(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(q0(e))Z0(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,l=a(o,n);if(i.hasEagerState=!0,i.eagerState=l,Ln(l,o)){var c=t.interleaved;c===null?(i.next=i,Mp(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=S0(e,t,i,r),n!==null&&(i=Rt(),Mn(n,e,r,i),G0(n,t,r))}}function q0(e){var t=e.alternate;return e===Ze||t!==null&&t===Ze}function Z0(e,t){Ba=xc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function G0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kp(e,n)}}var vc={readContext:En,useCallback:wt,useContext:wt,useEffect:wt,useImperativeHandle:wt,useInsertionEffect:wt,useLayoutEffect:wt,useMemo:wt,useReducer:wt,useRef:wt,useState:wt,useDebugValue:wt,useDeferredValue:wt,useTransition:wt,useMutableSource:wt,useSyncExternalStore:wt,useId:wt,unstable_isNewReconciler:!1},t2={readContext:En,useCallback:function(e,t){return Gn().memoizedState=[e,t===void 0?null:t],e},useContext:En,useEffect:Hm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fl(4194308,4,V0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fl(4,2,e,t)},useMemo:function(e,t){var n=Gn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Jk.bind(null,Ze,e),[r.memoizedState,e]},useRef:function(e){var t=Gn();return e={current:e},t.memoizedState=e},useState:Wm,useDebugValue:qp,useDeferredValue:function(e){return Gn().memoizedState=e},useTransition:function(){var e=Wm(!1),t=e[0];return e=Xk.bind(null,e[1]),Gn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ze,i=Gn();if($e){if(n===void 0)throw Error(W(407));n=n()}else{if(n=t(),pt===null)throw Error(W(349));qi&30||I0(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Hm(O0.bind(null,r,a,e),[e]),r.flags|=2048,po(9,z0.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Gn(),t=pt.identifierPrefix;if($e){var n=kr,r=jr;n=(r&~(1<<32-Dn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=uo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Yk++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},n2={readContext:En,useCallback:$0,useContext:En,useEffect:Hp,useImperativeHandle:B0,useInsertionEffect:F0,useLayoutEffect:L0,useMemo:U0,useReducer:Yu,useRef:M0,useState:function(){return Yu(ho)},useDebugValue:qp,useDeferredValue:function(e){var t=Cn();return W0(t,lt.memoizedState,e)},useTransition:function(){var e=Yu(ho)[0],t=Cn().memoizedState;return[e,t]},useMutableSource:T0,useSyncExternalStore:P0,useId:H0,unstable_isNewReconciler:!1},r2={readContext:En,useCallback:$0,useContext:En,useEffect:Hp,useImperativeHandle:B0,useInsertionEffect:F0,useLayoutEffect:L0,useMemo:U0,useReducer:Xu,useRef:M0,useState:function(){return Xu(ho)},useDebugValue:qp,useDeferredValue:function(e){var t=Cn();return lt===null?t.memoizedState=e:W0(t,lt.memoizedState,e)},useTransition:function(){var e=Xu(ho)[0],t=Cn().memoizedState;return[e,t]},useMutableSource:T0,useSyncExternalStore:P0,useId:H0,unstable_isNewReconciler:!1};function An(e,t){if(e&&e.defaultProps){t=Ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ch(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var eu={isMounted:function(e){return(e=e._reactInternals)?ts(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Rt(),i=ci(e),a=Er(r,i);a.payload=t,n!=null&&(a.callback=n),t=oi(e,a,i),t!==null&&(Mn(t,e,i,r),Dl(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Rt(),i=ci(e),a=Er(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=oi(e,a,i),t!==null&&(Mn(t,e,i,r),Dl(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Rt(),r=ci(e),i=Er(n,r);i.tag=2,t!=null&&(i.callback=t),t=oi(e,i,r),t!==null&&(Mn(t,e,r,n),Dl(t,e,r))}};function qm(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!io(n,r)||!io(i,a):!0}function K0(e,t,n){var r=!1,i=fi,a=t.contextType;return typeof a=="object"&&a!==null?a=En(a):(i=Wt(t)?Wi:St.current,r=t.contextTypes,a=(r=r!=null)?qs(e,i):fi),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=eu,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Zm(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&eu.enqueueReplaceState(t,t.state,null)}function uh(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Fp(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=En(a):(a=Wt(t)?Wi:St.current,i.context=qs(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(ch(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&eu.enqueueReplaceState(i,i.state,null),mc(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Qs(e,t){try{var n="",r=t;do n+=Pj(r),r=r.return;while(r);var i=n}catch(a){i=`
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:i,digest:null}}function Ju(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function dh(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var i2=typeof WeakMap=="function"?WeakMap:Map;function Q0(e,t,n){n=Er(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){bc||(bc=!0,wh=r),dh(e,t)},n}function Y0(e,t,n){n=Er(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){dh(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){dh(e,t),typeof r!="function"&&(li===null?li=new Set([this]):li.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Gm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new i2;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=v2.bind(null,e,t,n),t.then(e,e))}function Km(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Qm(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Er(-1,1),t.tag=2,oi(n,t,1))),n.lanes|=1),e)}var s2=Or.ReactCurrentOwner,$t=!1;function It(e,t,n,r){t.child=e===null?C0(t,null,n,r):Gs(t,e.child,n,r)}function Ym(e,t,n,r,i){n=n.render;var a=t.ref;return Ss(t,i),r=Up(e,t,n,r,a,i),n=Wp(),e!==null&&!$t?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,_r(e,t,i)):($e&&n&&Pp(t),t.flags|=1,It(e,t,r,i),t.child)}function Xm(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!ef(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,X0(e,t,a,r,i)):(e=$l(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:io,n(o,r)&&e.ref===t.ref)return _r(e,t,i)}return t.flags|=1,e=ui(a,r),e.ref=t.ref,e.return=t,t.child=e}function X0(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(io(a,r)&&e.ref===t.ref)if($t=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&($t=!0);else return t.lanes=e.lanes,_r(e,t,i)}return hh(e,t,n,r,i)}function J0(e,t,n){var r=t.pendingProps,i=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Re(ws,en),en|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Re(ws,en),en|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,Re(ws,en),en|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,Re(ws,en),en|=r;return It(e,t,i,n),t.child}function ey(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function hh(e,t,n,r,i){var a=Wt(n)?Wi:St.current;return a=qs(t,a),Ss(t,i),n=Up(e,t,n,r,a,i),r=Wp(),e!==null&&!$t?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,_r(e,t,i)):($e&&r&&Pp(t),t.flags|=1,It(e,t,n,i),t.child)}function Jm(e,t,n,r,i){if(Wt(n)){var a=!0;uc(t)}else a=!1;if(Ss(t,i),t.stateNode===null)Ll(e,t),K0(t,n,r),uh(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var c=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=En(u):(u=Wt(n)?Wi:St.current,u=qs(t,u));var d=n.getDerivedStateFromProps,h=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";h||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||c!==u)&&Zm(t,o,r,u),Wr=!1;var p=t.memoizedState;o.state=p,mc(t,r,o,i),c=t.memoizedState,l!==r||p!==c||Ut.current||Wr?(typeof d=="function"&&(ch(t,n,d,r),c=t.memoizedState),(l=Wr||qm(t,n,l,r,p,c,u))?(h||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=u,r=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,A0(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:An(t.type,l),o.props=u,h=t.pendingProps,p=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=En(c):(c=Wt(n)?Wi:St.current,c=qs(t,c));var f=n.getDerivedStateFromProps;(d=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==h||p!==c)&&Zm(t,o,r,c),Wr=!1,p=t.memoizedState,o.state=p,mc(t,r,o,i);var x=t.memoizedState;l!==h||p!==x||Ut.current||Wr?(typeof f=="function"&&(ch(t,n,f,r),x=t.memoizedState),(u=Wr||qm(t,n,u,r,p,x,c)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=c,r=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return ph(e,t,n,r,a,i)}function ph(e,t,n,r,i,a){ey(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&Fm(t,n,!1),_r(e,t,a);r=t.stateNode,s2.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Gs(t,e.child,null,a),t.child=Gs(t,null,l,a)):It(e,t,l,a),t.memoizedState=r.state,i&&Fm(t,n,!0),t.child}function ty(e){var t=e.stateNode;t.pendingContext?Mm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Mm(e,t.context,!1),Lp(e,t.containerInfo)}function eg(e,t,n,r,i){return Zs(),zp(i),t.flags|=256,It(e,t,n,r),t.child}var fh={dehydrated:null,treeContext:null,retryLane:0};function mh(e){return{baseLanes:e,cachePool:null,transitions:null}}function ny(e,t,n){var r=t.pendingProps,i=He.current,a=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Re(He,i&1),e===null)return oh(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:"hidden",children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=ru(o,r,0,null),e=$i(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=mh(n),t.memoizedState=fh,e):Zp(t,o));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return a2(e,t,o,r,l,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,l=i.sibling;var c={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=ui(i,c),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?a=ui(l,a):(a=$i(a,o,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?mh(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=fh,r}return a=e.child,e=a.sibling,r=ui(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Zp(e,t){return t=ru({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function vl(e,t,n,r){return r!==null&&zp(r),Gs(t,e.child,null,n),e=Zp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function a2(e,t,n,r,i,a,o){if(n)return t.flags&256?(t.flags&=-257,r=Ju(Error(W(422))),vl(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=ru({mode:"visible",children:r.children},i,0,null),a=$i(a,i,o,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&Gs(t,e.child,null,o),t.child.memoizedState=mh(o),t.memoizedState=fh,a);if(!(t.mode&1))return vl(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,a=Error(W(419)),r=Ju(a,r,void 0),vl(e,t,o,r)}if(l=(o&e.childLanes)!==0,$t||l){if(r=pt,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,Ar(e,i),Mn(r,e,i,-1))}return Jp(),r=Ju(Error(W(421))),vl(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=y2.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,nn=ai(i.nextSibling),sn=t,$e=!0,In=null,e!==null&&(yn[bn++]=jr,yn[bn++]=kr,yn[bn++]=Hi,jr=e.id,kr=e.overflow,Hi=t),t=Zp(t,r.children),t.flags|=4096,t)}function tg(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),lh(e.return,t,n)}function ed(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function ry(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(It(e,t,r.children,n),r=He.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&tg(e,n,t);else if(e.tag===19)tg(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Re(He,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&gc(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ed(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&gc(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ed(t,!0,n,null,a);break;case"together":ed(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ll(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function _r(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Zi|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(W(153));if(t.child!==null){for(e=t.child,n=ui(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ui(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function o2(e,t,n){switch(t.tag){case 3:ty(t),Zs();break;case 5:_0(t);break;case 1:Wt(t.type)&&uc(t);break;case 4:Lp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Re(pc,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Re(He,He.current&1),t.flags|=128,null):n&t.child.childLanes?ny(e,t,n):(Re(He,He.current&1),e=_r(e,t,n),e!==null?e.sibling:null);Re(He,He.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ry(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Re(He,He.current),r)break;return null;case 22:case 23:return t.lanes=0,J0(e,t,n)}return _r(e,t,n)}var iy,gh,sy,ay;iy=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};gh=function(){};sy=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Oi(sr.current);var a=null;switch(n){case"input":i=Fd(e,i),r=Fd(e,r),a=[];break;case"select":i=Ge({},i,{value:void 0}),r=Ge({},r,{value:void 0}),a=[];break;case"textarea":i=Bd(e,i),r=Bd(e,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=lc)}Ud(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ya.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(a=a||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(a=a||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ya.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Le("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};ay=function(e,t,n,r){n!==r&&(t.flags|=4)};function ba(e,t){if(!$e)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function jt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function l2(e,t,n){var r=t.pendingProps;switch(Ip(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jt(t),null;case 1:return Wt(t.type)&&cc(),jt(t),null;case 3:return r=t.stateNode,Ks(),Be(Ut),Be(St),Bp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(gl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,In!==null&&(Nh(In),In=null))),gh(e,t),jt(t),null;case 5:Vp(t);var i=Oi(co.current);if(n=t.type,e!==null&&t.stateNode!=null)sy(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(W(166));return jt(t),null}if(e=Oi(sr.current),gl(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[er]=t,r[oo]=a,e=(t.mode&1)!==0,n){case"dialog":Le("cancel",r),Le("close",r);break;case"iframe":case"object":case"embed":Le("load",r);break;case"video":case"audio":for(i=0;i<za.length;i++)Le(za[i],r);break;case"source":Le("error",r);break;case"img":case"image":case"link":Le("error",r),Le("load",r);break;case"details":Le("toggle",r);break;case"input":um(r,a),Le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Le("invalid",r);break;case"textarea":hm(r,a),Le("invalid",r)}Ud(n,a),i=null;for(var o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="children"?typeof l=="string"?r.textContent!==l&&(a.suppressHydrationWarning!==!0&&ml(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(a.suppressHydrationWarning!==!0&&ml(r.textContent,l,e),i=["children",""+l]):Ya.hasOwnProperty(o)&&l!=null&&o==="onScroll"&&Le("scroll",r)}switch(n){case"input":ol(r),dm(r,a,!0);break;case"textarea":ol(r),pm(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=lc)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ov(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[er]=t,e[oo]=r,iy(e,t,!1,!1),t.stateNode=e;e:{switch(o=Wd(n,r),n){case"dialog":Le("cancel",e),Le("close",e),i=r;break;case"iframe":case"object":case"embed":Le("load",e),i=r;break;case"video":case"audio":for(i=0;i<za.length;i++)Le(za[i],e);i=r;break;case"source":Le("error",e),i=r;break;case"img":case"image":case"link":Le("error",e),Le("load",e),i=r;break;case"details":Le("toggle",e),i=r;break;case"input":um(e,r),i=Fd(e,r),Le("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Ge({},r,{value:void 0}),Le("invalid",e);break;case"textarea":hm(e,r),i=Bd(e,r),Le("invalid",e);break;default:i=r}Ud(n,i),l=i;for(a in l)if(l.hasOwnProperty(a)){var c=l[a];a==="style"?Mv(e,c):a==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Rv(e,c)):a==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Xa(e,c):typeof c=="number"&&Xa(e,""+c):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Ya.hasOwnProperty(a)?c!=null&&a==="onScroll"&&Le("scroll",e):c!=null&&xp(e,a,c,o))}switch(n){case"input":ol(e),dm(e,r,!1);break;case"textarea":ol(e),pm(e);break;case"option":r.value!=null&&e.setAttribute("value",""+pi(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?ks(e,!!r.multiple,a,!1):r.defaultValue!=null&&ks(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=lc)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return jt(t),null;case 6:if(e&&t.stateNode!=null)ay(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(W(166));if(n=Oi(co.current),Oi(sr.current),gl(t)){if(r=t.stateNode,n=t.memoizedProps,r[er]=t,(a=r.nodeValue!==n)&&(e=sn,e!==null))switch(e.tag){case 3:ml(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ml(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[er]=t,t.stateNode=r}return jt(t),null;case 13:if(Be(He),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if($e&&nn!==null&&t.mode&1&&!(t.flags&128))N0(),Zs(),t.flags|=98560,a=!1;else if(a=gl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(W(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(W(317));a[er]=t}else Zs(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;jt(t),a=!1}else In!==null&&(Nh(In),In=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||He.current&1?ct===0&&(ct=3):Jp())),t.updateQueue!==null&&(t.flags|=4),jt(t),null);case 4:return Ks(),gh(e,t),e===null&&so(t.stateNode.containerInfo),jt(t),null;case 10:return Dp(t.type._context),jt(t),null;case 17:return Wt(t.type)&&cc(),jt(t),null;case 19:if(Be(He),a=t.memoizedState,a===null)return jt(t),null;if(r=(t.flags&128)!==0,o=a.rendering,o===null)if(r)ba(a,!1);else{if(ct!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=gc(e),o!==null){for(t.flags|=128,ba(a,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,o=a.alternate,o===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Re(He,He.current&1|2),t.child}e=e.sibling}a.tail!==null&&tt()>Ys&&(t.flags|=128,r=!0,ba(a,!1),t.lanes=4194304)}else{if(!r)if(e=gc(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ba(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!$e)return jt(t),null}else 2*tt()-a.renderingStartTime>Ys&&n!==1073741824&&(t.flags|=128,r=!0,ba(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=tt(),t.sibling=null,n=He.current,Re(He,r?n&1|2:n&1),t):(jt(t),null);case 22:case 23:return Xp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?en&1073741824&&(jt(t),t.subtreeFlags&6&&(t.flags|=8192)):jt(t),null;case 24:return null;case 25:return null}throw Error(W(156,t.tag))}function c2(e,t){switch(Ip(t),t.tag){case 1:return Wt(t.type)&&cc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ks(),Be(Ut),Be(St),Bp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Vp(t),null;case 13:if(Be(He),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(W(340));Zs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Be(He),null;case 4:return Ks(),null;case 10:return Dp(t.type._context),null;case 22:case 23:return Xp(),null;case 24:return null;default:return null}}var yl=!1,Et=!1,u2=typeof WeakSet=="function"?WeakSet:Set,ne=null;function bs(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ye(e,t,r)}else n.current=null}function xh(e,t,n){try{n()}catch(r){Ye(e,t,r)}}var ng=!1;function d2(e,t){if(eh=sc,e=d0(),Tp(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,l=-1,c=-1,u=0,d=0,h=e,p=null;t:for(;;){for(var f;h!==n||i!==0&&h.nodeType!==3||(l=o+i),h!==a||r!==0&&h.nodeType!==3||(c=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(f=h.firstChild)!==null;)p=h,h=f;for(;;){if(h===e)break t;if(p===n&&++u===i&&(l=o),p===a&&++d===r&&(c=o),(f=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=f}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(th={focusedElem:e,selectionRange:n},sc=!1,ne=t;ne!==null;)if(t=ne,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ne=e;else for(;ne!==null;){t=ne;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,w=x.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:An(t.type,v),w);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(163))}}catch(k){Ye(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,ne=e;break}ne=t.return}return x=ng,ng=!1,x}function $a(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&xh(t,n,a)}i=i.next}while(i!==r)}}function tu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function vh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function oy(e){var t=e.alternate;t!==null&&(e.alternate=null,oy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[er],delete t[oo],delete t[ih],delete t[Zk],delete t[Gk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ly(e){return e.tag===5||e.tag===3||e.tag===4}function rg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ly(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function yh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=lc));else if(r!==4&&(e=e.child,e!==null))for(yh(e,t,n),e=e.sibling;e!==null;)yh(e,t,n),e=e.sibling}function bh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(bh(e,t,n),e=e.sibling;e!==null;)bh(e,t,n),e=e.sibling}var gt=null,Pn=!1;function Fr(e,t,n){for(n=n.child;n!==null;)cy(e,t,n),n=n.sibling}function cy(e,t,n){if(ir&&typeof ir.onCommitFiberUnmount=="function")try{ir.onCommitFiberUnmount(Zc,n)}catch{}switch(n.tag){case 5:Et||bs(n,t);case 6:var r=gt,i=Pn;gt=null,Fr(e,t,n),gt=r,Pn=i,gt!==null&&(Pn?(e=gt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):gt.removeChild(n.stateNode));break;case 18:gt!==null&&(Pn?(e=gt,n=n.stateNode,e.nodeType===8?Zu(e.parentNode,n):e.nodeType===1&&Zu(e,n),no(e)):Zu(gt,n.stateNode));break;case 4:r=gt,i=Pn,gt=n.stateNode.containerInfo,Pn=!0,Fr(e,t,n),gt=r,Pn=i;break;case 0:case 11:case 14:case 15:if(!Et&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&xh(n,t,o),i=i.next}while(i!==r)}Fr(e,t,n);break;case 1:if(!Et&&(bs(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ye(n,t,l)}Fr(e,t,n);break;case 21:Fr(e,t,n);break;case 22:n.mode&1?(Et=(r=Et)||n.memoizedState!==null,Fr(e,t,n),Et=r):Fr(e,t,n);break;default:Fr(e,t,n)}}function ig(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new u2),t.forEach(function(r){var i=b2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Sn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,o=t,l=o;e:for(;l!==null;){switch(l.tag){case 5:gt=l.stateNode,Pn=!1;break e;case 3:gt=l.stateNode.containerInfo,Pn=!0;break e;case 4:gt=l.stateNode.containerInfo,Pn=!0;break e}l=l.return}if(gt===null)throw Error(W(160));cy(a,o,i),gt=null,Pn=!1;var c=i.alternate;c!==null&&(c.return=null),i.return=null}catch(u){Ye(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)uy(t,e),t=t.sibling}function uy(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Sn(t,e),Zn(e),r&4){try{$a(3,e,e.return),tu(3,e)}catch(v){Ye(e,e.return,v)}try{$a(5,e,e.return)}catch(v){Ye(e,e.return,v)}}break;case 1:Sn(t,e),Zn(e),r&512&&n!==null&&bs(n,n.return);break;case 5:if(Sn(t,e),Zn(e),r&512&&n!==null&&bs(n,n.return),e.flags&32){var i=e.stateNode;try{Xa(i,"")}catch(v){Ye(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var a=e.memoizedProps,o=n!==null?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&a.type==="radio"&&a.name!=null&&Iv(i,a),Wd(l,o);var u=Wd(l,a);for(o=0;o<c.length;o+=2){var d=c[o],h=c[o+1];d==="style"?Mv(i,h):d==="dangerouslySetInnerHTML"?Rv(i,h):d==="children"?Xa(i,h):xp(i,d,h,u)}switch(l){case"input":Ld(i,a);break;case"textarea":zv(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var f=a.value;f!=null?ks(i,!!a.multiple,f,!1):p!==!!a.multiple&&(a.defaultValue!=null?ks(i,!!a.multiple,a.defaultValue,!0):ks(i,!!a.multiple,a.multiple?[]:"",!1))}i[oo]=a}catch(v){Ye(e,e.return,v)}}break;case 6:if(Sn(t,e),Zn(e),r&4){if(e.stateNode===null)throw Error(W(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(v){Ye(e,e.return,v)}}break;case 3:if(Sn(t,e),Zn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{no(t.containerInfo)}catch(v){Ye(e,e.return,v)}break;case 4:Sn(t,e),Zn(e);break;case 13:Sn(t,e),Zn(e),i=e.child,i.flags&8192&&(a=i.memoizedState!==null,i.stateNode.isHidden=a,!a||i.alternate!==null&&i.alternate.memoizedState!==null||(Qp=tt())),r&4&&ig(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Et=(u=Et)||d,Sn(t,e),Et=u):Sn(t,e),Zn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(ne=e,d=e.child;d!==null;){for(h=ne=d;ne!==null;){switch(p=ne,f=p.child,p.tag){case 0:case 11:case 14:case 15:$a(4,p,p.return);break;case 1:bs(p,p.return);var x=p.stateNode;if(typeof x.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(v){Ye(r,n,v)}}break;case 5:bs(p,p.return);break;case 22:if(p.memoizedState!==null){ag(h);continue}}f!==null?(f.return=p,ne=f):ag(h)}d=d.sibling}e:for(d=null,h=e;;){if(h.tag===5){if(d===null){d=h;try{i=h.stateNode,u?(a=i.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(l=h.stateNode,c=h.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=Dv("display",o))}catch(v){Ye(e,e.return,v)}}}else if(h.tag===6){if(d===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(v){Ye(e,e.return,v)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:Sn(t,e),Zn(e),r&4&&ig(e);break;case 21:break;default:Sn(t,e),Zn(e)}}function Zn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(ly(n)){var r=n;break e}n=n.return}throw Error(W(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Xa(i,""),r.flags&=-33);var a=rg(e);bh(e,a,i);break;case 3:case 4:var o=r.stateNode.containerInfo,l=rg(e);yh(e,l,o);break;default:throw Error(W(161))}}catch(c){Ye(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function h2(e,t,n){ne=e,dy(e)}function dy(e,t,n){for(var r=(e.mode&1)!==0;ne!==null;){var i=ne,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||yl;if(!o){var l=i.alternate,c=l!==null&&l.memoizedState!==null||Et;l=yl;var u=Et;if(yl=o,(Et=c)&&!u)for(ne=i;ne!==null;)o=ne,c=o.child,o.tag===22&&o.memoizedState!==null?og(i):c!==null?(c.return=o,ne=c):og(i);for(;a!==null;)ne=a,dy(a),a=a.sibling;ne=i,yl=l,Et=u}sg(e)}else i.subtreeFlags&8772&&a!==null?(a.return=i,ne=a):sg(e)}}function sg(e){for(;ne!==null;){var t=ne;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Et||tu(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Et)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:An(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&Um(t,a,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Um(t,o,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var h=d.dehydrated;h!==null&&no(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(W(163))}Et||t.flags&512&&vh(t)}catch(p){Ye(t,t.return,p)}}if(t===e){ne=null;break}if(n=t.sibling,n!==null){n.return=t.return,ne=n;break}ne=t.return}}function ag(e){for(;ne!==null;){var t=ne;if(t===e){ne=null;break}var n=t.sibling;if(n!==null){n.return=t.return,ne=n;break}ne=t.return}}function og(e){for(;ne!==null;){var t=ne;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{tu(4,t)}catch(c){Ye(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(c){Ye(t,i,c)}}var a=t.return;try{vh(t)}catch(c){Ye(t,a,c)}break;case 5:var o=t.return;try{vh(t)}catch(c){Ye(t,o,c)}}}catch(c){Ye(t,t.return,c)}if(t===e){ne=null;break}var l=t.sibling;if(l!==null){l.return=t.return,ne=l;break}ne=t.return}}var p2=Math.ceil,yc=Or.ReactCurrentDispatcher,Gp=Or.ReactCurrentOwner,Nn=Or.ReactCurrentBatchConfig,Ce=0,pt=null,st=null,vt=0,en=0,ws=Ni(0),ct=0,fo=null,Zi=0,nu=0,Kp=0,Ua=null,Bt=null,Qp=0,Ys=1/0,br=null,bc=!1,wh=null,li=null,bl=!1,ti=null,wc=0,Wa=0,jh=null,Vl=-1,Bl=0;function Rt(){return Ce&6?tt():Vl!==-1?Vl:Vl=tt()}function ci(e){return e.mode&1?Ce&2&&vt!==0?vt&-vt:Qk.transition!==null?(Bl===0&&(Bl=Kv()),Bl):(e=Te,e!==0||(e=window.event,e=e===void 0?16:n0(e.type)),e):1}function Mn(e,t,n,r){if(50<Wa)throw Wa=0,jh=null,Error(W(185));$o(e,n,r),(!(Ce&2)||e!==pt)&&(e===pt&&(!(Ce&2)&&(nu|=n),ct===4&&qr(e,vt)),Ht(e,r),n===1&&Ce===0&&!(t.mode&1)&&(Ys=tt()+500,Xc&&Ei()))}function Ht(e,t){var n=e.callbackNode;Qj(e,t);var r=ic(e,e===pt?vt:0);if(r===0)n!==null&&gm(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&gm(n),t===1)e.tag===0?Kk(lg.bind(null,e)):w0(lg.bind(null,e)),Hk(function(){!(Ce&6)&&Ei()}),n=null;else{switch(Qv(r)){case 1:n=jp;break;case 4:n=Zv;break;case 16:n=rc;break;case 536870912:n=Gv;break;default:n=rc}n=yy(n,hy.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function hy(e,t){if(Vl=-1,Bl=0,Ce&6)throw Error(W(327));var n=e.callbackNode;if(As()&&e.callbackNode!==n)return null;var r=ic(e,e===pt?vt:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=jc(e,r);else{t=r;var i=Ce;Ce|=2;var a=fy();(pt!==e||vt!==t)&&(br=null,Ys=tt()+500,Bi(e,t));do try{g2();break}catch(l){py(e,l)}while(!0);Rp(),yc.current=a,Ce=i,st!==null?t=0:(pt=null,vt=0,t=ct)}if(t!==0){if(t===2&&(i=Kd(e),i!==0&&(r=i,t=kh(e,i))),t===1)throw n=fo,Bi(e,0),qr(e,r),Ht(e,tt()),n;if(t===6)qr(e,r);else{if(i=e.current.alternate,!(r&30)&&!f2(i)&&(t=jc(e,r),t===2&&(a=Kd(e),a!==0&&(r=a,t=kh(e,a))),t===1))throw n=fo,Bi(e,0),qr(e,r),Ht(e,tt()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(W(345));case 2:Ti(e,Bt,br);break;case 3:if(qr(e,r),(r&130023424)===r&&(t=Qp+500-tt(),10<t)){if(ic(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Rt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=rh(Ti.bind(null,e,Bt,br),t);break}Ti(e,Bt,br);break;case 4:if(qr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Dn(r);a=1<<o,o=t[o],o>i&&(i=o),r&=~a}if(r=i,r=tt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*p2(r/1960))-r,10<r){e.timeoutHandle=rh(Ti.bind(null,e,Bt,br),r);break}Ti(e,Bt,br);break;case 5:Ti(e,Bt,br);break;default:throw Error(W(329))}}}return Ht(e,tt()),e.callbackNode===n?hy.bind(null,e):null}function kh(e,t){var n=Ua;return e.current.memoizedState.isDehydrated&&(Bi(e,t).flags|=256),e=jc(e,t),e!==2&&(t=Bt,Bt=n,t!==null&&Nh(t)),e}function Nh(e){Bt===null?Bt=e:Bt.push.apply(Bt,e)}function f2(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Ln(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function qr(e,t){for(t&=~Kp,t&=~nu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Dn(t),r=1<<n;e[n]=-1,t&=~r}}function lg(e){if(Ce&6)throw Error(W(327));As();var t=ic(e,0);if(!(t&1))return Ht(e,tt()),null;var n=jc(e,t);if(e.tag!==0&&n===2){var r=Kd(e);r!==0&&(t=r,n=kh(e,r))}if(n===1)throw n=fo,Bi(e,0),qr(e,t),Ht(e,tt()),n;if(n===6)throw Error(W(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ti(e,Bt,br),Ht(e,tt()),null}function Yp(e,t){var n=Ce;Ce|=1;try{return e(t)}finally{Ce=n,Ce===0&&(Ys=tt()+500,Xc&&Ei())}}function Gi(e){ti!==null&&ti.tag===0&&!(Ce&6)&&As();var t=Ce;Ce|=1;var n=Nn.transition,r=Te;try{if(Nn.transition=null,Te=1,e)return e()}finally{Te=r,Nn.transition=n,Ce=t,!(Ce&6)&&Ei()}}function Xp(){en=ws.current,Be(ws)}function Bi(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Wk(n)),st!==null)for(n=st.return;n!==null;){var r=n;switch(Ip(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&cc();break;case 3:Ks(),Be(Ut),Be(St),Bp();break;case 5:Vp(r);break;case 4:Ks();break;case 13:Be(He);break;case 19:Be(He);break;case 10:Dp(r.type._context);break;case 22:case 23:Xp()}n=n.return}if(pt=e,st=e=ui(e.current,null),vt=en=t,ct=0,fo=null,Kp=nu=Zi=0,Bt=Ua=null,zi!==null){for(t=0;t<zi.length;t++)if(n=zi[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}zi=null}return e}function py(e,t){do{var n=st;try{if(Rp(),Ml.current=vc,xc){for(var r=Ze.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}xc=!1}if(qi=0,dt=lt=Ze=null,Ba=!1,uo=0,Gp.current=null,n===null||n.return===null){ct=1,fo=t,st=null;break}e:{var a=e,o=n.return,l=n,c=t;if(t=vt,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,h=d.tag;if(!(d.mode&1)&&(h===0||h===11||h===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=Km(o);if(f!==null){f.flags&=-257,Qm(f,o,l,a,t),f.mode&1&&Gm(a,u,t),t=f,c=u;var x=t.updateQueue;if(x===null){var v=new Set;v.add(c),t.updateQueue=v}else x.add(c);break e}else{if(!(t&1)){Gm(a,u,t),Jp();break e}c=Error(W(426))}}else if($e&&l.mode&1){var w=Km(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Qm(w,o,l,a,t),zp(Qs(c,l));break e}}a=c=Qs(c,l),ct!==4&&(ct=2),Ua===null?Ua=[a]:Ua.push(a),a=o;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var m=Q0(a,c,t);$m(a,m);break e;case 1:l=c;var g=a.type,y=a.stateNode;if(!(a.flags&128)&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(li===null||!li.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var k=Y0(a,l,t);$m(a,k);break e}}a=a.return}while(a!==null)}gy(n)}catch(C){t=C,st===n&&n!==null&&(st=n=n.return);continue}break}while(!0)}function fy(){var e=yc.current;return yc.current=vc,e===null?vc:e}function Jp(){(ct===0||ct===3||ct===2)&&(ct=4),pt===null||!(Zi&268435455)&&!(nu&268435455)||qr(pt,vt)}function jc(e,t){var n=Ce;Ce|=2;var r=fy();(pt!==e||vt!==t)&&(br=null,Bi(e,t));do try{m2();break}catch(i){py(e,i)}while(!0);if(Rp(),Ce=n,yc.current=r,st!==null)throw Error(W(261));return pt=null,vt=0,ct}function m2(){for(;st!==null;)my(st)}function g2(){for(;st!==null&&!Bj();)my(st)}function my(e){var t=vy(e.alternate,e,en);e.memoizedProps=e.pendingProps,t===null?gy(e):st=t,Gp.current=null}function gy(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=c2(n,t),n!==null){n.flags&=32767,st=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ct=6,st=null;return}}else if(n=l2(n,t,en),n!==null){st=n;return}if(t=t.sibling,t!==null){st=t;return}st=t=e}while(t!==null);ct===0&&(ct=5)}function Ti(e,t,n){var r=Te,i=Nn.transition;try{Nn.transition=null,Te=1,x2(e,t,n,r)}finally{Nn.transition=i,Te=r}return null}function x2(e,t,n,r){do As();while(ti!==null);if(Ce&6)throw Error(W(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(W(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(Yj(e,a),e===pt&&(st=pt=null,vt=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||bl||(bl=!0,yy(rc,function(){return As(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=Nn.transition,Nn.transition=null;var o=Te;Te=1;var l=Ce;Ce|=4,Gp.current=null,d2(e,n),uy(n,e),Mk(th),sc=!!eh,th=eh=null,e.current=n,h2(n),$j(),Ce=l,Te=o,Nn.transition=a}else e.current=n;if(bl&&(bl=!1,ti=e,wc=i),a=e.pendingLanes,a===0&&(li=null),Hj(n.stateNode),Ht(e,tt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(bc)throw bc=!1,e=wh,wh=null,e;return wc&1&&e.tag!==0&&As(),a=e.pendingLanes,a&1?e===jh?Wa++:(Wa=0,jh=e):Wa=0,Ei(),null}function As(){if(ti!==null){var e=Qv(wc),t=Nn.transition,n=Te;try{if(Nn.transition=null,Te=16>e?16:e,ti===null)var r=!1;else{if(e=ti,ti=null,wc=0,Ce&6)throw Error(W(331));var i=Ce;for(Ce|=4,ne=e.current;ne!==null;){var a=ne,o=a.child;if(ne.flags&16){var l=a.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(ne=u;ne!==null;){var d=ne;switch(d.tag){case 0:case 11:case 15:$a(8,d,a)}var h=d.child;if(h!==null)h.return=d,ne=h;else for(;ne!==null;){d=ne;var p=d.sibling,f=d.return;if(oy(d),d===u){ne=null;break}if(p!==null){p.return=f,ne=p;break}ne=f}}}var x=a.alternate;if(x!==null){var v=x.child;if(v!==null){x.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}ne=a}}if(a.subtreeFlags&2064&&o!==null)o.return=a,ne=o;else e:for(;ne!==null;){if(a=ne,a.flags&2048)switch(a.tag){case 0:case 11:case 15:$a(9,a,a.return)}var m=a.sibling;if(m!==null){m.return=a.return,ne=m;break e}ne=a.return}}var g=e.current;for(ne=g;ne!==null;){o=ne;var y=o.child;if(o.subtreeFlags&2064&&y!==null)y.return=o,ne=y;else e:for(o=g;ne!==null;){if(l=ne,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:tu(9,l)}}catch(C){Ye(l,l.return,C)}if(l===o){ne=null;break e}var k=l.sibling;if(k!==null){k.return=l.return,ne=k;break e}ne=l.return}}if(Ce=i,Ei(),ir&&typeof ir.onPostCommitFiberRoot=="function")try{ir.onPostCommitFiberRoot(Zc,e)}catch{}r=!0}return r}finally{Te=n,Nn.transition=t}}return!1}function cg(e,t,n){t=Qs(n,t),t=Q0(e,t,1),e=oi(e,t,1),t=Rt(),e!==null&&($o(e,1,t),Ht(e,t))}function Ye(e,t,n){if(e.tag===3)cg(e,e,n);else for(;t!==null;){if(t.tag===3){cg(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(li===null||!li.has(r))){e=Qs(n,e),e=Y0(t,e,1),t=oi(t,e,1),e=Rt(),t!==null&&($o(t,1,e),Ht(t,e));break}}t=t.return}}function v2(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Rt(),e.pingedLanes|=e.suspendedLanes&n,pt===e&&(vt&n)===n&&(ct===4||ct===3&&(vt&130023424)===vt&&500>tt()-Qp?Bi(e,0):Kp|=n),Ht(e,t)}function xy(e,t){t===0&&(e.mode&1?(t=ul,ul<<=1,!(ul&130023424)&&(ul=4194304)):t=1);var n=Rt();e=Ar(e,t),e!==null&&($o(e,t,n),Ht(e,n))}function y2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),xy(e,n)}function b2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(W(314))}r!==null&&r.delete(t),xy(e,n)}var vy;vy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ut.current)$t=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return $t=!1,o2(e,t,n);$t=!!(e.flags&131072)}else $t=!1,$e&&t.flags&1048576&&j0(t,hc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ll(e,t),e=t.pendingProps;var i=qs(t,St.current);Ss(t,n),i=Up(null,t,r,e,i,n);var a=Wp();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Wt(r)?(a=!0,uc(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fp(t),i.updater=eu,t.stateNode=i,i._reactInternals=t,uh(t,r,e,n),t=ph(null,t,r,!0,a,n)):(t.tag=0,$e&&a&&Pp(t),It(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ll(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=j2(r),e=An(r,e),i){case 0:t=hh(null,t,r,e,n);break e;case 1:t=Jm(null,t,r,e,n);break e;case 11:t=Ym(null,t,r,e,n);break e;case 14:t=Xm(null,t,r,An(r.type,e),n);break e}throw Error(W(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:An(r,i),hh(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:An(r,i),Jm(e,t,r,i,n);case 3:e:{if(ty(t),e===null)throw Error(W(387));r=t.pendingProps,a=t.memoizedState,i=a.element,A0(e,t),mc(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=Qs(Error(W(423)),t),t=eg(e,t,r,n,i);break e}else if(r!==i){i=Qs(Error(W(424)),t),t=eg(e,t,r,n,i);break e}else for(nn=ai(t.stateNode.containerInfo.firstChild),sn=t,$e=!0,In=null,n=C0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Zs(),r===i){t=_r(e,t,n);break e}It(e,t,r,n)}t=t.child}return t;case 5:return _0(t),e===null&&oh(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,nh(r,i)?o=null:a!==null&&nh(r,a)&&(t.flags|=32),ey(e,t),It(e,t,o,n),t.child;case 6:return e===null&&oh(t),null;case 13:return ny(e,t,n);case 4:return Lp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Gs(t,null,r,n):It(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:An(r,i),Ym(e,t,r,i,n);case 7:return It(e,t,t.pendingProps,n),t.child;case 8:return It(e,t,t.pendingProps.children,n),t.child;case 12:return It(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,Re(pc,r._currentValue),r._currentValue=o,a!==null)if(Ln(a.value,o)){if(a.children===i.children&&!Ut.current){t=_r(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){o=a.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(a.tag===1){c=Er(-1,n&-n),c.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),lh(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(W(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),lh(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}It(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ss(t,n),i=En(i),r=r(i),t.flags|=1,It(e,t,r,n),t.child;case 14:return r=t.type,i=An(r,t.pendingProps),i=An(r.type,i),Xm(e,t,r,i,n);case 15:return X0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:An(r,i),Ll(e,t),t.tag=1,Wt(r)?(e=!0,uc(t)):e=!1,Ss(t,n),K0(t,r,i),uh(t,r,i,n),ph(null,t,r,!0,e,n);case 19:return ry(e,t,n);case 22:return J0(e,t,n)}throw Error(W(156,t.tag))};function yy(e,t){return qv(e,t)}function w2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kn(e,t,n,r){return new w2(e,t,n,r)}function ef(e){return e=e.prototype,!(!e||!e.isReactComponent)}function j2(e){if(typeof e=="function")return ef(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yp)return 11;if(e===bp)return 14}return 2}function ui(e,t){var n=e.alternate;return n===null?(n=kn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function $l(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")ef(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ds:return $i(n.children,i,a,t);case vp:o=8,i|=8;break;case Od:return e=kn(12,n,t,i|2),e.elementType=Od,e.lanes=a,e;case Rd:return e=kn(13,n,t,i),e.elementType=Rd,e.lanes=a,e;case Dd:return e=kn(19,n,t,i),e.elementType=Dd,e.lanes=a,e;case _v:return ru(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Sv:o=10;break e;case Av:o=9;break e;case yp:o=11;break e;case bp:o=14;break e;case Ur:o=16,r=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=kn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function $i(e,t,n,r){return e=kn(7,e,r,t),e.lanes=n,e}function ru(e,t,n,r){return e=kn(22,e,r,t),e.elementType=_v,e.lanes=n,e.stateNode={isHidden:!1},e}function td(e,t,n){return e=kn(6,e,null,t),e.lanes=n,e}function nd(e,t,n){return t=kn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function k2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Du(0),this.expirationTimes=Du(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Du(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function tf(e,t,n,r,i,a,o,l,c){return e=new k2(e,t,n,l,c),t===1?(t=1,a===!0&&(t|=8)):t=0,a=kn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fp(a),e}function N2(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:us,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function by(e){if(!e)return fi;e=e._reactInternals;e:{if(ts(e)!==e||e.tag!==1)throw Error(W(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Wt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(W(171))}if(e.tag===1){var n=e.type;if(Wt(n))return b0(e,n,t)}return t}function wy(e,t,n,r,i,a,o,l,c){return e=tf(n,r,!0,e,i,a,o,l,c),e.context=by(null),n=e.current,r=Rt(),i=ci(n),a=Er(r,i),a.callback=t??null,oi(n,a,i),e.current.lanes=i,$o(e,i,r),Ht(e,r),e}function iu(e,t,n,r){var i=t.current,a=Rt(),o=ci(i);return n=by(n),t.context===null?t.context=n:t.pendingContext=n,t=Er(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=oi(i,t,o),e!==null&&(Mn(e,i,o,a),Dl(e,i,o)),o}function kc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ug(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function nf(e,t){ug(e,t),(e=e.alternate)&&ug(e,t)}function E2(){return null}var jy=typeof reportError=="function"?reportError:function(e){console.error(e)};function rf(e){this._internalRoot=e}su.prototype.render=rf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(W(409));iu(e,t,null,null)};su.prototype.unmount=rf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Gi(function(){iu(null,e,null,null)}),t[Sr]=null}};function su(e){this._internalRoot=e}su.prototype.unstable_scheduleHydration=function(e){if(e){var t=Jv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Hr.length&&t!==0&&t<Hr[n].priority;n++);Hr.splice(n,0,e),n===0&&t0(e)}};function sf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function au(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function dg(){}function C2(e,t,n,r,i){if(i){if(typeof r=="function"){var a=r;r=function(){var u=kc(o);a.call(u)}}var o=wy(t,r,e,0,null,!1,!1,"",dg);return e._reactRootContainer=o,e[Sr]=o.current,so(e.nodeType===8?e.parentNode:e),Gi(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=kc(c);l.call(u)}}var c=tf(e,0,!1,null,null,!1,!1,"",dg);return e._reactRootContainer=c,e[Sr]=c.current,so(e.nodeType===8?e.parentNode:e),Gi(function(){iu(t,c,n,r)}),c}function ou(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i=="function"){var l=i;i=function(){var c=kc(o);l.call(c)}}iu(t,o,e,i)}else o=C2(n,t,e,i,r);return kc(o)}Yv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ia(t.pendingLanes);n!==0&&(kp(t,n|1),Ht(t,tt()),!(Ce&6)&&(Ys=tt()+500,Ei()))}break;case 13:Gi(function(){var r=Ar(e,1);if(r!==null){var i=Rt();Mn(r,e,1,i)}}),nf(e,1)}};Np=function(e){if(e.tag===13){var t=Ar(e,134217728);if(t!==null){var n=Rt();Mn(t,e,134217728,n)}nf(e,134217728)}};Xv=function(e){if(e.tag===13){var t=ci(e),n=Ar(e,t);if(n!==null){var r=Rt();Mn(n,e,t,r)}nf(e,t)}};Jv=function(){return Te};e0=function(e,t){var n=Te;try{return Te=e,t()}finally{Te=n}};qd=function(e,t,n){switch(t){case"input":if(Ld(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Yc(r);if(!i)throw Error(W(90));Pv(r),Ld(r,i)}}}break;case"textarea":zv(e,n);break;case"select":t=n.value,t!=null&&ks(e,!!n.multiple,t,!1)}};Vv=Yp;Bv=Gi;var S2={usingClientEntryPoint:!1,Events:[Wo,ms,Yc,Fv,Lv,Yp]},wa={findFiberByHostInstance:Ii,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},A2={bundleType:wa.bundleType,version:wa.version,rendererPackageName:wa.rendererPackageName,rendererConfig:wa.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Or.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Wv(e),e===null?null:e.stateNode},findFiberByHostInstance:wa.findFiberByHostInstance||E2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var wl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wl.isDisabled&&wl.supportsFiber)try{Zc=wl.inject(A2),ir=wl}catch{}}cn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S2;cn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!sf(t))throw Error(W(200));return N2(e,t,null,n)};cn.createRoot=function(e,t){if(!sf(e))throw Error(W(299));var n=!1,r="",i=jy;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=tf(e,1,!1,null,null,n,!1,r,i),e[Sr]=t.current,so(e.nodeType===8?e.parentNode:e),new rf(t)};cn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(W(188)):(e=Object.keys(e).join(","),Error(W(268,e)));return e=Wv(t),e=e===null?null:e.stateNode,e};cn.flushSync=function(e){return Gi(e)};cn.hydrate=function(e,t,n){if(!au(t))throw Error(W(200));return ou(null,e,t,!0,n)};cn.hydrateRoot=function(e,t,n){if(!sf(e))throw Error(W(405));var r=n!=null&&n.hydratedSources||null,i=!1,a="",o=jy;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=wy(t,null,e,1,n??null,i,!1,a,o),e[Sr]=t.current,so(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new su(t)};cn.render=function(e,t,n){if(!au(t))throw Error(W(200));return ou(null,e,t,!1,n)};cn.unmountComponentAtNode=function(e){if(!au(e))throw Error(W(40));return e._reactRootContainer?(Gi(function(){ou(null,null,e,!1,function(){e._reactRootContainer=null,e[Sr]=null})}),!0):!1};cn.unstable_batchedUpdates=Yp;cn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!au(n))throw Error(W(200));if(e==null||e._reactInternals===void 0)throw Error(W(38));return ou(e,t,n,!1,r)};cn.version="18.3.1-next-f1338f8080-20240426";function ky(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ky)}catch(e){console.error(e)}}ky(),kv.exports=cn;var qo=kv.exports;const Ny=Ji(qo);var Ey,Cy,hg=qo;Cy=hg.createRoot,Ey=hg.hydrateRoot;const _2=1,T2=1e6;let rd=0;function P2(){return rd=(rd+1)%Number.MAX_SAFE_INTEGER,rd.toString()}const id=new Map,pg=e=>{if(id.has(e))return;const t=setTimeout(()=>{id.delete(e),Ha({type:"REMOVE_TOAST",toastId:e})},T2);id.set(e,t)},I2=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,_2)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?pg(n):e.toasts.forEach(r=>{pg(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Ul=[];let Wl={toasts:[]};function Ha(e){Wl=I2(Wl,e),Ul.forEach(t=>{t(Wl)})}function z2({...e}){const t=P2(),n=i=>Ha({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Ha({type:"DISMISS_TOAST",toastId:t});return Ha({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function O2(){const[e,t]=b.useState(Wl);return b.useEffect(()=>(Ul.push(t),()=>{const n=Ul.indexOf(t);n>-1&&Ul.splice(n,1)}),[e]),{...e,toast:z2,dismiss:n=>Ha({type:"DISMISS_TOAST",toastId:n})}}function qe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function R2(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Sy(...e){return t=>e.forEach(n=>R2(n,t))}function Zt(...e){return b.useCallback(Sy(...e),e)}function D2(e,t=[]){let n=[];function r(a,o){const l=b.createContext(o),c=n.length;n=[...n,o];function u(h){const{scope:p,children:f,...x}=h,v=(p==null?void 0:p[e][c])||l,w=b.useMemo(()=>x,Object.values(x));return s.jsx(v.Provider,{value:w,children:f})}function d(h,p){const f=(p==null?void 0:p[e][c])||l,x=b.useContext(f);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${h}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,d]}const i=()=>{const a=n.map(o=>b.createContext(o));return function(l){const c=(l==null?void 0:l[e])||a;return b.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return i.scopeName=e,[r,M2(i,...t)]}function M2(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((l,{useScope:c,scopeName:u})=>{const h=c(a)[`__scope${u}`];return{...l,...h}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var mo=b.forwardRef((e,t)=>{const{children:n,...r}=e,i=b.Children.toArray(n),a=i.find(F2);if(a){const o=a.props.children,l=i.map(c=>c===a?b.Children.count(o)>1?b.Children.only(null):b.isValidElement(o)?o.props.children:null:c);return s.jsx(Eh,{...r,ref:t,children:b.isValidElement(o)?b.cloneElement(o,void 0,l):null})}return s.jsx(Eh,{...r,ref:t,children:n})});mo.displayName="Slot";var Eh=b.forwardRef((e,t)=>{const{children:n,...r}=e;if(b.isValidElement(n)){const i=V2(n);return b.cloneElement(n,{...L2(r,n.props),ref:t?Sy(t,i):i})}return b.Children.count(n)>1?b.Children.only(null):null});Eh.displayName="SlotClone";var Ay=({children:e})=>s.jsx(s.Fragment,{children:e});function F2(e){return b.isValidElement(e)&&e.type===Ay}function L2(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...l)=>{a(...l),i(...l)}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}function V2(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function _y(e){const t=e+"CollectionProvider",[n,r]=D2(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=f=>{const{scope:x,children:v}=f,w=R.useRef(null),m=R.useRef(new Map).current;return s.jsx(i,{scope:x,itemMap:m,collectionRef:w,children:v})};o.displayName=t;const l=e+"CollectionSlot",c=R.forwardRef((f,x)=>{const{scope:v,children:w}=f,m=a(l,v),g=Zt(x,m.collectionRef);return s.jsx(mo,{ref:g,children:w})});c.displayName=l;const u=e+"CollectionItemSlot",d="data-radix-collection-item",h=R.forwardRef((f,x)=>{const{scope:v,children:w,...m}=f,g=R.useRef(null),y=Zt(x,g),k=a(u,v);return R.useEffect(()=>(k.itemMap.set(g,{ref:g,...m}),()=>void k.itemMap.delete(g))),s.jsx(mo,{[d]:"",ref:y,children:w})});h.displayName=u;function p(f){const x=a(e+"CollectionConsumer",f);return R.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const m=Array.from(w.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((k,C)=>m.indexOf(k.ref.current)-m.indexOf(C.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:o,Slot:c,ItemSlot:h},p,r]}function Zo(e,t=[]){let n=[];function r(a,o){const l=b.createContext(o),c=n.length;n=[...n,o];const u=h=>{var m;const{scope:p,children:f,...x}=h,v=((m=p==null?void 0:p[e])==null?void 0:m[c])||l,w=b.useMemo(()=>x,Object.values(x));return s.jsx(v.Provider,{value:w,children:f})};u.displayName=a+"Provider";function d(h,p){var v;const f=((v=p==null?void 0:p[e])==null?void 0:v[c])||l,x=b.useContext(f);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${h}\` must be used within \`${a}\``)}return[u,d]}const i=()=>{const a=n.map(o=>b.createContext(o));return function(l){const c=(l==null?void 0:l[e])||a;return b.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return i.scopeName=e,[r,B2(i,...t)]}function B2(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((l,{useScope:c,scopeName:u})=>{const h=c(a)[`__scope${u}`];return{...l,...h}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var $2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Xe=$2.reduce((e,t)=>{const n=b.forwardRef((r,i)=>{const{asChild:a,...o}=r,l=a?mo:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(l,{...o,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Ty(e,t){e&&qo.flushSync(()=>e.dispatchEvent(t))}function or(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function U2(e,t=globalThis==null?void 0:globalThis.document){const n=or(e);b.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var W2="DismissableLayer",Ch="dismissableLayer.update",H2="dismissableLayer.pointerDownOutside",q2="dismissableLayer.focusOutside",fg,Py=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),af=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:l,...c}=e,u=b.useContext(Py),[d,h]=b.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=b.useState({}),x=Zt(t,_=>h(_)),v=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(w),g=d?v.indexOf(d):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,k=g>=m,C=G2(_=>{const I=_.target,B=[...u.branches].some(D=>D.contains(I));!k||B||(i==null||i(_),o==null||o(_),_.defaultPrevented||l==null||l())},p),E=K2(_=>{const I=_.target;[...u.branches].some(D=>D.contains(I))||(a==null||a(_),o==null||o(_),_.defaultPrevented||l==null||l())},p);return U2(_=>{g===u.layers.size-1&&(r==null||r(_),!_.defaultPrevented&&l&&(_.preventDefault(),l()))},p),b.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(fg=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),mg(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=fg)}},[d,p,n,u]),b.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),mg())},[d,u]),b.useEffect(()=>{const _=()=>f({});return document.addEventListener(Ch,_),()=>document.removeEventListener(Ch,_)},[]),s.jsx(Xe.div,{...c,ref:x,style:{pointerEvents:y?k?"auto":"none":void 0,...e.style},onFocusCapture:qe(e.onFocusCapture,E.onFocusCapture),onBlurCapture:qe(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:qe(e.onPointerDownCapture,C.onPointerDownCapture)})});af.displayName=W2;var Z2="DismissableLayerBranch",Iy=b.forwardRef((e,t)=>{const n=b.useContext(Py),r=b.useRef(null),i=Zt(t,r);return b.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),s.jsx(Xe.div,{...e,ref:i})});Iy.displayName=Z2;function G2(e,t=globalThis==null?void 0:globalThis.document){const n=or(e),r=b.useRef(!1),i=b.useRef(()=>{});return b.useEffect(()=>{const a=l=>{if(l.target&&!r.current){let c=function(){zy(H2,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=c,t.addEventListener("click",i.current,{once:!0})):c()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function K2(e,t=globalThis==null?void 0:globalThis.document){const n=or(e),r=b.useRef(!1);return b.useEffect(()=>{const i=a=>{a.target&&!r.current&&zy(q2,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function mg(){const e=new CustomEvent(Ch);document.dispatchEvent(e)}function zy(e,t,n,{discrete:r}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Ty(i,a):i.dispatchEvent(a)}var Q2=af,Y2=Iy,Tr=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},X2="Portal",Oy=b.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[i,a]=b.useState(!1);Tr(()=>a(!0),[]);const o=n||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return o?Ny.createPortal(s.jsx(Xe.div,{...r,ref:t}),o):null});Oy.displayName=X2;function J2(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var Go=e=>{const{present:t,children:n}=e,r=eN(t),i=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),a=Zt(r.ref,tN(i));return typeof n=="function"||r.isPresent?b.cloneElement(i,{ref:a}):null};Go.displayName="Presence";function eN(e){const[t,n]=b.useState(),r=b.useRef({}),i=b.useRef(e),a=b.useRef("none"),o=e?"mounted":"unmounted",[l,c]=J2(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=jl(r.current);a.current=l==="mounted"?u:"none"},[l]),Tr(()=>{const u=r.current,d=i.current;if(d!==e){const p=a.current,f=jl(u);e?c("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&p!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,c]),Tr(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,h=f=>{const v=jl(r.current).includes(f.animationName);if(f.target===t&&v&&(c("ANIMATION_END"),!i.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},p=f=>{f.target===t&&(a.current=jl(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:b.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function jl(e){return(e==null?void 0:e.animationName)||"none"}function tN(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Ko({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=nN({defaultProp:t,onChange:n}),a=e!==void 0,o=a?e:r,l=or(n),c=b.useCallback(u=>{if(a){const h=typeof u=="function"?u(e):u;h!==e&&l(h)}else i(u)},[a,e,i,l]);return[o,c]}function nN({defaultProp:e,onChange:t}){const n=b.useState(e),[r]=n,i=b.useRef(r),a=or(t);return b.useEffect(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),n}var rN="VisuallyHidden",lu=b.forwardRef((e,t)=>s.jsx(Xe.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));lu.displayName=rN;var iN=lu,of="ToastProvider",[lf,sN,aN]=_y("Toast"),[Ry,bz]=Zo("Toast",[aN]),[oN,cu]=Ry(of),Dy=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:a=50,children:o}=e,[l,c]=b.useState(null),[u,d]=b.useState(0),h=b.useRef(!1),p=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${of}\`. Expected non-empty \`string\`.`),s.jsx(lf.Provider,{scope:t,children:s.jsx(oN,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:a,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:b.useCallback(()=>d(f=>f+1),[]),onToastRemove:b.useCallback(()=>d(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:p,children:o})})};Dy.displayName=of;var My="ToastViewport",lN=["F8"],Sh="toast.viewportPause",Ah="toast.viewportResume",Fy=b.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=lN,label:i="Notifications ({hotkey})",...a}=e,o=cu(My,n),l=sN(n),c=b.useRef(null),u=b.useRef(null),d=b.useRef(null),h=b.useRef(null),p=Zt(t,h,o.onViewportChange),f=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;b.useEffect(()=>{const w=m=>{var y;r.length!==0&&r.every(k=>m[k]||m.code===k)&&((y=h.current)==null||y.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=c.current,m=h.current;if(x&&w&&m){const g=()=>{if(!o.isClosePausedRef.current){const E=new CustomEvent(Sh);m.dispatchEvent(E),o.isClosePausedRef.current=!0}},y=()=>{if(o.isClosePausedRef.current){const E=new CustomEvent(Ah);m.dispatchEvent(E),o.isClosePausedRef.current=!1}},k=E=>{!w.contains(E.relatedTarget)&&y()},C=()=>{w.contains(document.activeElement)||y()};return w.addEventListener("focusin",g),w.addEventListener("focusout",k),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",C),window.addEventListener("blur",g),window.addEventListener("focus",y),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",k),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",C),window.removeEventListener("blur",g),window.removeEventListener("focus",y)}}},[x,o.isClosePausedRef]);const v=b.useCallback(({tabbingDirection:w})=>{const g=l().map(y=>{const k=y.ref.current,C=[k,...wN(k)];return w==="forwards"?C:C.reverse()});return(w==="forwards"?g.reverse():g).flat()},[l]);return b.useEffect(()=>{const w=h.current;if(w){const m=g=>{var C,E,_;const y=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!y){const I=document.activeElement,B=g.shiftKey;if(g.target===w&&B){(C=u.current)==null||C.focus();return}const P=v({tabbingDirection:B?"backwards":"forwards"}),U=P.findIndex(M=>M===I);sd(P.slice(U+1))?g.preventDefault():B?(E=u.current)==null||E.focus():(_=d.current)==null||_.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[l,v]),s.jsxs(Y2,{ref:c,role:"region","aria-label":i.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&s.jsx(_h,{ref:u,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});sd(w)}}),s.jsx(lf.Slot,{scope:n,children:s.jsx(Xe.ol,{tabIndex:-1,...a,ref:p})}),x&&s.jsx(_h,{ref:d,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});sd(w)}})]})});Fy.displayName=My;var Ly="ToastFocusProxy",_h=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,a=cu(Ly,n);return s.jsx(lu,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const l=o.relatedTarget;!((u=a.viewport)!=null&&u.contains(l))&&r()}})});_h.displayName=Ly;var uu="Toast",cN="toast.swipeStart",uN="toast.swipeMove",dN="toast.swipeCancel",hN="toast.swipeEnd",Vy=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:a,...o}=e,[l=!0,c]=Ko({prop:r,defaultProp:i,onChange:a});return s.jsx(Go,{present:n||l,children:s.jsx(mN,{open:l,...o,ref:t,onClose:()=>c(!1),onPause:or(e.onPause),onResume:or(e.onResume),onSwipeStart:qe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:qe(e.onSwipeMove,u=>{const{x:d,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:qe(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:qe(e.onSwipeEnd,u=>{const{x:d,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),c(!1)})})})});Vy.displayName=uu;var[pN,fN]=Ry(uu,{onClose(){}}),mN=b.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:a,onClose:o,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:h,onSwipeCancel:p,onSwipeEnd:f,...x}=e,v=cu(uu,n),[w,m]=b.useState(null),g=Zt(t,M=>m(M)),y=b.useRef(null),k=b.useRef(null),C=i||v.duration,E=b.useRef(0),_=b.useRef(C),I=b.useRef(0),{onToastAdd:B,onToastRemove:D}=v,V=or(()=>{var G;(w==null?void 0:w.contains(document.activeElement))&&((G=v.viewport)==null||G.focus()),o()}),P=b.useCallback(M=>{!M||M===1/0||(window.clearTimeout(I.current),E.current=new Date().getTime(),I.current=window.setTimeout(V,M))},[V]);b.useEffect(()=>{const M=v.viewport;if(M){const G=()=>{P(_.current),u==null||u()},Y=()=>{const te=new Date().getTime()-E.current;_.current=_.current-te,window.clearTimeout(I.current),c==null||c()};return M.addEventListener(Sh,Y),M.addEventListener(Ah,G),()=>{M.removeEventListener(Sh,Y),M.removeEventListener(Ah,G)}}},[v.viewport,C,c,u,P]),b.useEffect(()=>{a&&!v.isClosePausedRef.current&&P(C)},[a,C,v.isClosePausedRef,P]),b.useEffect(()=>(B(),()=>D()),[B,D]);const U=b.useMemo(()=>w?Zy(w):null,[w]);return v.viewport?s.jsxs(s.Fragment,{children:[U&&s.jsx(gN,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),s.jsx(pN,{scope:n,onClose:V,children:qo.createPortal(s.jsx(lf.ItemSlot,{scope:n,children:s.jsx(Q2,{asChild:!0,onEscapeKeyDown:qe(l,()=>{v.isFocusedToastEscapeKeyDownRef.current||V(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:s.jsx(Xe.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":v.swipeDirection,...x,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:qe(e.onKeyDown,M=>{M.key==="Escape"&&(l==null||l(M.nativeEvent),M.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:qe(e.onPointerDown,M=>{M.button===0&&(y.current={x:M.clientX,y:M.clientY})}),onPointerMove:qe(e.onPointerMove,M=>{if(!y.current)return;const G=M.clientX-y.current.x,Y=M.clientY-y.current.y,te=!!k.current,T=["left","right"].includes(v.swipeDirection),$=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,j=T?$(0,G):0,Q=T?0:$(0,Y),ie=M.pointerType==="touch"?10:2,N={x:j,y:Q},je={originalEvent:M,delta:N};te?(k.current=N,kl(uN,h,je,{discrete:!1})):gg(N,v.swipeDirection,ie)?(k.current=N,kl(cN,d,je,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(G)>ie||Math.abs(Y)>ie)&&(y.current=null)}),onPointerUp:qe(e.onPointerUp,M=>{const G=k.current,Y=M.target;if(Y.hasPointerCapture(M.pointerId)&&Y.releasePointerCapture(M.pointerId),k.current=null,y.current=null,G){const te=M.currentTarget,T={originalEvent:M,delta:G};gg(G,v.swipeDirection,v.swipeThreshold)?kl(hN,f,T,{discrete:!0}):kl(dN,p,T,{discrete:!0}),te.addEventListener("click",$=>$.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),gN=e=>{const{__scopeToast:t,children:n,...r}=e,i=cu(uu,t),[a,o]=b.useState(!1),[l,c]=b.useState(!1);return yN(()=>o(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:s.jsx(Oy,{asChild:!0,children:s.jsx(lu,{...r,children:a&&s.jsxs(s.Fragment,{children:[i.label," ",n]})})})},xN="ToastTitle",By=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return s.jsx(Xe.div,{...r,ref:t})});By.displayName=xN;var vN="ToastDescription",$y=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return s.jsx(Xe.div,{...r,ref:t})});$y.displayName=vN;var Uy="ToastAction",Wy=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?s.jsx(qy,{altText:n,asChild:!0,children:s.jsx(cf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Uy}\`. Expected non-empty \`string\`.`),null)});Wy.displayName=Uy;var Hy="ToastClose",cf=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=fN(Hy,n);return s.jsx(qy,{asChild:!0,children:s.jsx(Xe.button,{type:"button",...r,ref:t,onClick:qe(e.onClick,i.onClose)})})});cf.displayName=Hy;var qy=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return s.jsx(Xe.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function Zy(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),bN(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!i)if(a){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...Zy(r))}}),t}function kl(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Ty(i,a):i.dispatchEvent(a)}var gg=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return t==="left"||t==="right"?a&&r>n:!a&&i>n};function yN(e=()=>{}){const t=or(e);Tr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function bN(e){return e.nodeType===e.ELEMENT_NODE}function wN(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function sd(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var jN=Dy,Gy=Fy,Ky=Vy,Qy=By,Yy=$y,Xy=Wy,Jy=cf;function eb(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=eb(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function tb(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=eb(e))&&(r&&(r+=" "),r+=t);return r}const xg=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,vg=tb,du=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return vg(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:a}=t,o=Object.keys(i).map(u=>{const d=n==null?void 0:n[u],h=a==null?void 0:a[u];if(d===null)return null;const p=xg(d)||xg(h);return i[u][p]}),l=n&&Object.entries(n).reduce((u,d)=>{let[h,p]=d;return p===void 0||(u[h]=p),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:h,className:p,...f}=d;return Object.entries(f).every(x=>{let[v,w]=x;return Array.isArray(w)?w.includes({...a,...l}[v]):{...a,...l}[v]===w})?[...u,h,p]:u},[]);return vg(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kN=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),nb=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var NN={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EN=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:a,iconNode:o,...l},c)=>b.createElement("svg",{ref:c,...NN,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:nb("lucide",i),...l},[...o.map(([u,d])=>b.createElement(u,d)),...Array.isArray(a)?a:[a]]));/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const le=(e,t)=>{const n=b.forwardRef(({className:r,...i},a)=>b.createElement(EN,{ref:a,iconNode:t,className:nb(`lucide-${kN(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xs=le("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ht=le("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CN=le("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SN=le("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rb=le("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ib=le("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AN=le("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nc=le("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _N=le("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const go=le("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const TN=le("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sb=le("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hl=le("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oa=le("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PN=le("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hu=le("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IN=le("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ab=le("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zN=le("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ON=le("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RN=le("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DN=le("FileChartColumnIncreasing",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 18v-2",key:"qcmpov"}],["path",{d:"M12 18v-4",key:"q1q25u"}],["path",{d:"M16 18v-6",key:"15y0np"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MN=le("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FN=le("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LN=le("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VN=le("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ob=le("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BN=le("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uf=le("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lb=le("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $N=le("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yg=le("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UN=le("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WN=le("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const HN=le("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qN=le("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cb=le("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ad=le("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ub=le("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ZN=le("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const df=le("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const GN=le("Route",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hf=le("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KN=le("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pf=le("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ec=le("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qo=le("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const QN=le("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const db=le("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qa=le("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const YN=le("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pu=le("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xo=le("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),ff="-",XN=e=>{const t=e3(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const l=o.split(ff);return l[0]===""&&l.length!==1&&l.shift(),hb(l,t)||JN(o)},getConflictingClassGroupIds:(o,l)=>{const c=n[o]||[];return l&&r[o]?[...c,...r[o]]:c}}},hb=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?hb(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(ff);return(o=t.validators.find(({validator:l})=>l(a)))==null?void 0:o.classGroupId},bg=/^\[(.+)\]$/,JN=e=>{if(bg.test(e)){const t=bg.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},e3=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return n3(Object.entries(e.classGroups),n).forEach(([a,o])=>{Th(o,r,a,t)}),r},Th=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const a=i===""?t:wg(t,i);a.classGroupId=n;return}if(typeof i=="function"){if(t3(i)){Th(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,o])=>{Th(o,wg(t,a),n,r)})})},wg=(e,t)=>{let n=e;return t.split(ff).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},t3=e=>e.isThemeGetter,n3=(e,t)=>t?e.map(([n,r])=>{const i=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([o,l])=>[t+o,l])):a);return[n,i]}):e,r3=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let o=n.get(a);if(o!==void 0)return o;if((o=r.get(a))!==void 0)return i(a,o),o},set(a,o){n.has(a)?n.set(a,o):i(a,o)}}},pb="!",i3=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],a=t.length,o=l=>{const c=[];let u=0,d=0,h;for(let w=0;w<l.length;w++){let m=l[w];if(u===0){if(m===i&&(r||l.slice(w,w+a)===t)){c.push(l.slice(d,w)),d=w+a;continue}if(m==="/"){h=w;continue}}m==="["?u++:m==="]"&&u--}const p=c.length===0?l:l.substring(d),f=p.startsWith(pb),x=f?p.substring(1):p,v=h&&h>d?h-d:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:x,maybePostfixModifierPosition:v}};return n?l=>n({className:l,parseClassName:o}):o},s3=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},a3=e=>({cache:r3(e.cacheSize),parseClassName:i3(e),...XN(e)}),o3=/\s+/,l3=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(o3);let l="";for(let c=o.length-1;c>=0;c-=1){const u=o[c],{modifiers:d,hasImportantModifier:h,baseClassName:p,maybePostfixModifierPosition:f}=n(u);let x=!!f,v=r(x?p.substring(0,f):p);if(!v){if(!x){l=u+(l.length>0?" "+l:l);continue}if(v=r(p),!v){l=u+(l.length>0?" "+l:l);continue}x=!1}const w=s3(d).join(":"),m=h?w+pb:w,g=m+v;if(a.includes(g))continue;a.push(g);const y=i(v,x);for(let k=0;k<y.length;++k){const C=y[k];a.push(m+C)}l=u+(l.length>0?" "+l:l)}return l};function c3(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=fb(t))&&(r&&(r+=" "),r+=n);return r}const fb=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=fb(e[r]))&&(n&&(n+=" "),n+=t);return n};function u3(e,...t){let n,r,i,a=o;function o(c){const u=t.reduce((d,h)=>h(d),e());return n=a3(u),r=n.cache.get,i=n.cache.set,a=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=l3(c,n);return i(c,d),d}return function(){return a(c3.apply(null,arguments))}}const Fe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},mb=/^\[(?:([a-z-]+):)?(.+)\]$/i,d3=/^\d+\/\d+$/,h3=new Set(["px","full","screen"]),p3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,f3=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,g3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,x3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gr=e=>_s(e)||h3.has(e)||d3.test(e),Lr=e=>la(e,"length",E3),_s=e=>!!e&&!Number.isNaN(Number(e)),od=e=>la(e,"number",_s),ja=e=>!!e&&Number.isInteger(Number(e)),v3=e=>e.endsWith("%")&&_s(e.slice(0,-1)),ve=e=>mb.test(e),Vr=e=>p3.test(e),y3=new Set(["length","size","percentage"]),b3=e=>la(e,y3,gb),w3=e=>la(e,"position",gb),j3=new Set(["image","url"]),k3=e=>la(e,j3,S3),N3=e=>la(e,"",C3),ka=()=>!0,la=(e,t,n)=>{const r=mb.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},E3=e=>f3.test(e)&&!m3.test(e),gb=()=>!1,C3=e=>g3.test(e),S3=e=>x3.test(e),A3=()=>{const e=Fe("colors"),t=Fe("spacing"),n=Fe("blur"),r=Fe("brightness"),i=Fe("borderColor"),a=Fe("borderRadius"),o=Fe("borderSpacing"),l=Fe("borderWidth"),c=Fe("contrast"),u=Fe("grayscale"),d=Fe("hueRotate"),h=Fe("invert"),p=Fe("gap"),f=Fe("gradientColorStops"),x=Fe("gradientColorStopPositions"),v=Fe("inset"),w=Fe("margin"),m=Fe("opacity"),g=Fe("padding"),y=Fe("saturate"),k=Fe("scale"),C=Fe("sepia"),E=Fe("skew"),_=Fe("space"),I=Fe("translate"),B=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",ve,t],P=()=>[ve,t],U=()=>["",gr,Lr],M=()=>["auto",_s,ve],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",ve],j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[_s,ve];return{cacheSize:500,separator:":",theme:{colors:[ka],spacing:[gr,Lr],blur:["none","",Vr,ve],brightness:Q(),borderColor:[e],borderRadius:["none","","full",Vr,ve],borderSpacing:P(),borderWidth:U(),contrast:Q(),grayscale:$(),hueRotate:Q(),invert:$(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[v3,Lr],inset:V(),margin:V(),opacity:Q(),padding:P(),saturate:Q(),scale:Q(),sepia:$(),skew:Q(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",ve]}],container:["container"],columns:[{columns:[Vr]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...G(),ve]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ja,ve]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ve]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",ja,ve]}],"grid-cols":[{"grid-cols":[ka]}],"col-start-end":[{col:["auto",{span:["full",ja,ve]},ve]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[ka]}],"row-start-end":[{row:["auto",{span:[ja,ve]},ve]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ve]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ve]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ve,t]}],"min-w":[{"min-w":[ve,t,"min","max","fit"]}],"max-w":[{"max-w":[ve,t,"none","full","min","max","fit","prose",{screen:[Vr]},Vr]}],h:[{h:[ve,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ve,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ve,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ve,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Vr,Lr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",od]}],"font-family":[{font:[ka]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ve]}],"line-clamp":[{"line-clamp":["none",_s,od]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",gr,ve]}],"list-image":[{"list-image":["none",ve]}],"list-style-type":[{list:["none","disc","decimal",ve]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",gr,Lr]}],"underline-offset":[{"underline-offset":["auto",gr,ve]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...G(),w3]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",b3]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},k3]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:Y()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[gr,ve]}],"outline-w":[{outline:[gr,Lr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[gr,Lr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Vr,N3]}],"shadow-color":[{shadow:[ka]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":te()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Vr,ve]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[h]}],saturate:[{saturate:[y]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ve]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",ve]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",ve]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[ja,ve]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ve]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ve]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ve]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[gr,Lr,od]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},_3=u3(A3);function Pe(...e){return _3(tb(e))}const T3=jN,xb=b.forwardRef(({className:e,...t},n)=>s.jsx(Gy,{ref:n,className:Pe("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));xb.displayName=Gy.displayName;const P3=du("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),vb=b.forwardRef(({className:e,variant:t,...n},r)=>s.jsx(Ky,{ref:r,className:Pe(P3({variant:t}),e),...n}));vb.displayName=Ky.displayName;const I3=b.forwardRef(({className:e,...t},n)=>s.jsx(Xy,{ref:n,className:Pe("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));I3.displayName=Xy.displayName;const yb=b.forwardRef(({className:e,...t},n)=>s.jsx(Jy,{ref:n,className:Pe("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:s.jsx(pu,{className:"h-4 w-4"})}));yb.displayName=Jy.displayName;const bb=b.forwardRef(({className:e,...t},n)=>s.jsx(Qy,{ref:n,className:Pe("text-sm font-semibold",e),...t}));bb.displayName=Qy.displayName;const wb=b.forwardRef(({className:e,...t},n)=>s.jsx(Yy,{ref:n,className:Pe("text-sm opacity-90",e),...t}));wb.displayName=Yy.displayName;function z3(){const{toasts:e}=O2();return s.jsxs(T3,{children:[e.map(function({id:t,title:n,description:r,action:i,...a}){return s.jsxs(vb,{...a,children:[s.jsxs("div",{className:"grid gap-1",children:[n&&s.jsx(bb,{children:n}),r&&s.jsx(wb,{children:r})]}),i,s.jsx(yb,{})]},t)}),s.jsx(xb,{})]})}var jg=["light","dark"],O3="(prefers-color-scheme: dark)",R3=b.createContext(void 0),D3={setTheme:e=>{},themes:[]},M3=()=>{var e;return(e=b.useContext(R3))!=null?e:D3};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:a,value:o,attrs:l,nonce:c})=>{let u=a==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=i?jg.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(x,v=!1,w=!0)=>{let m=o?o[x]:x,g=v?x+"|| ''":`'${m}'`,y="";return i&&w&&!v&&jg.includes(x)&&(y+=`d.style.colorScheme = '${x}';`),n==="class"?v||m?y+=`c.add(${g})`:y+="null":m&&(y+=`d[s](n,${g})`),y},f=e?`!function(){${d}${p(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${O3}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}${u?"":"else{"+p(a,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}else{${p(a,!1,!1)};}${h}}catch(t){}}();`;return b.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:f}})});var F3=e=>{switch(e){case"success":return B3;case"info":return U3;case"warning":return $3;case"error":return W3;default:return null}},L3=Array(12).fill(0),V3=({visible:e})=>R.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},R.createElement("div",{className:"sonner-spinner"},L3.map((t,n)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),B3=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),$3=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),U3=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),W3=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),H3=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Ph=1,q3=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Ph++,a=this.toasts.find(l=>l.id===i),o=e.dismissible===void 0?!0:e.dismissible;return a?this.toasts=this.toasts.map(l=>l.id===i?(this.publish({...l,...e,id:i,title:n}),{...l,...e,id:i,dismissible:o,title:n}):l):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0;return r.then(async a=>{if(G3(a)&&!a.ok){i=!1;let o=typeof t.error=="function"?await t.error(`HTTP error! status: ${a.status}`):t.error,l=typeof t.description=="function"?await t.description(`HTTP error! status: ${a.status}`):t.description;this.create({id:n,type:"error",message:o,description:l})}else if(t.success!==void 0){i=!1;let o=typeof t.success=="function"?await t.success(a):t.success,l=typeof t.description=="function"?await t.description(a):t.description;this.create({id:n,type:"success",message:o,description:l})}}).catch(async a=>{if(t.error!==void 0){i=!1;let o=typeof t.error=="function"?await t.error(a):t.error,l=typeof t.description=="function"?await t.description(a):t.description;this.create({id:n,type:"error",message:o,description:l})}}).finally(()=>{var a;i&&(this.dismiss(n),n=void 0),(a=t.finally)==null||a.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Ph++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},Jt=new q3,Z3=(e,t)=>{let n=(t==null?void 0:t.id)||Ph++;return Jt.addToast({title:e,...t,id:n}),n},G3=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",K3=Z3,Q3=()=>Jt.toasts;Object.assign(K3,{success:Jt.success,info:Jt.info,warning:Jt.warning,error:Jt.error,custom:Jt.custom,message:Jt.message,promise:Jt.promise,dismiss:Jt.dismiss,loading:Jt.loading},{getHistory:Q3});function Y3(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}Y3(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
`);function Nl(e){return e.label!==void 0}var X3=3,J3="32px",e5=4e3,t5=356,n5=14,r5=20,i5=200;function s5(...e){return e.filter(Boolean).join(" ")}var a5=e=>{var t,n,r,i,a,o,l,c,u,d;let{invert:h,toast:p,unstyled:f,interacting:x,setHeights:v,visibleToasts:w,heights:m,index:g,toasts:y,expanded:k,removeToast:C,defaultRichColors:E,closeButton:_,style:I,cancelButtonStyle:B,actionButtonStyle:D,className:V="",descriptionClassName:P="",duration:U,position:M,gap:G,loadingIcon:Y,expandByDefault:te,classNames:T,icons:$,closeButtonAriaLabel:j="Close toast",pauseWhenPageIsHidden:Q,cn:ie}=e,[N,je]=R.useState(!1),[Ue,ce]=R.useState(!1),[rt,Je]=R.useState(!1),[ut,ft]=R.useState(!1),[dn,Un]=R.useState(0),[hn,Wn]=R.useState(0),Dr=R.useRef(null),pn=R.useRef(null),Ai=g===0,S=g+1<=w,A=p.type,O=p.dismissible!==!1,X=p.className||"",K=p.descriptionClassName||"",H=R.useMemo(()=>m.findIndex(ue=>ue.toastId===p.id)||0,[m,p.id]),ae=R.useMemo(()=>{var ue;return(ue=p.closeButton)!=null?ue:_},[p.closeButton,_]),me=R.useMemo(()=>p.duration||U||e5,[p.duration,U]),z=R.useRef(0),L=R.useRef(0),oe=R.useRef(0),fe=R.useRef(null),[Ne,mt]=M.split("-"),fn=R.useMemo(()=>m.reduce((ue,Me,Ie)=>Ie>=H?ue:ue+Me.height,0),[m,H]),Tt=H3(),fr=p.invert||h,mn=A==="loading";L.current=R.useMemo(()=>H*G+fn,[H,fn]),R.useEffect(()=>{je(!0)},[]),R.useLayoutEffect(()=>{if(!N)return;let ue=pn.current,Me=ue.style.height;ue.style.height="auto";let Ie=ue.getBoundingClientRect().height;ue.style.height=Me,Wn(Ie),v(Hn=>Hn.find(qn=>qn.toastId===p.id)?Hn.map(qn=>qn.toastId===p.id?{...qn,height:Ie}:qn):[{toastId:p.id,height:Ie,position:p.position},...Hn])},[N,p.title,p.description,v,p.id]);let Ke=R.useCallback(()=>{ce(!0),Un(L.current),v(ue=>ue.filter(Me=>Me.toastId!==p.id)),setTimeout(()=>{C(p)},i5)},[p,C,v,L]);R.useEffect(()=>{if(p.promise&&A==="loading"||p.duration===1/0||p.type==="loading")return;let ue,Me=me;return k||x||Q&&Tt?(()=>{if(oe.current<z.current){let Ie=new Date().getTime()-z.current;Me=Me-Ie}oe.current=new Date().getTime()})():Me!==1/0&&(z.current=new Date().getTime(),ue=setTimeout(()=>{var Ie;(Ie=p.onAutoClose)==null||Ie.call(p,p),Ke()},Me)),()=>clearTimeout(ue)},[k,x,te,p,me,Ke,p.promise,A,Q,Tt]),R.useEffect(()=>{let ue=pn.current;if(ue){let Me=ue.getBoundingClientRect().height;return Wn(Me),v(Ie=>[{toastId:p.id,height:Me,position:p.position},...Ie]),()=>v(Ie=>Ie.filter(Hn=>Hn.toastId!==p.id))}},[v,p.id]),R.useEffect(()=>{p.delete&&Ke()},[Ke,p.delete]);function Mr(){return $!=null&&$.loading?R.createElement("div",{className:"sonner-loader","data-visible":A==="loading"},$.loading):Y?R.createElement("div",{className:"sonner-loader","data-visible":A==="loading"},Y):R.createElement(V3,{visible:A==="loading"})}return R.createElement("li",{"aria-live":p.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:pn,className:ie(V,X,T==null?void 0:T.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,T==null?void 0:T.default,T==null?void 0:T[A],(n=p==null?void 0:p.classNames)==null?void 0:n[A]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:E,"data-styled":!(p.jsx||p.unstyled||f),"data-mounted":N,"data-promise":!!p.promise,"data-removed":Ue,"data-visible":S,"data-y-position":Ne,"data-x-position":mt,"data-index":g,"data-front":Ai,"data-swiping":rt,"data-dismissible":O,"data-type":A,"data-invert":fr,"data-swipe-out":ut,"data-expanded":!!(k||te&&N),style:{"--index":g,"--toasts-before":g,"--z-index":y.length-g,"--offset":`${Ue?dn:L.current}px`,"--initial-height":te?"auto":`${hn}px`,...I,...p.style},onPointerDown:ue=>{mn||!O||(Dr.current=new Date,Un(L.current),ue.target.setPointerCapture(ue.pointerId),ue.target.tagName!=="BUTTON"&&(Je(!0),fe.current={x:ue.clientX,y:ue.clientY}))},onPointerUp:()=>{var ue,Me,Ie,Hn;if(ut||!O)return;fe.current=null;let qn=Number(((ue=pn.current)==null?void 0:ue.style.getPropertyValue("--swipe-amount").replace("px",""))||0),rl=new Date().getTime()-((Me=Dr.current)==null?void 0:Me.getTime()),ej=Math.abs(qn)/rl;if(Math.abs(qn)>=r5||ej>.11){Un(L.current),(Ie=p.onDismiss)==null||Ie.call(p,p),Ke(),ft(!0);return}(Hn=pn.current)==null||Hn.style.setProperty("--swipe-amount","0px"),Je(!1)},onPointerMove:ue=>{var Me;if(!fe.current||!O)return;let Ie=ue.clientY-fe.current.y,Hn=ue.clientX-fe.current.x,qn=(Ne==="top"?Math.min:Math.max)(0,Ie),rl=ue.pointerType==="touch"?10:2;Math.abs(qn)>rl?(Me=pn.current)==null||Me.style.setProperty("--swipe-amount",`${Ie}px`):Math.abs(Hn)>rl&&(fe.current=null)}},ae&&!p.jsx?R.createElement("button",{"aria-label":j,"data-disabled":mn,"data-close-button":!0,onClick:mn||!O?()=>{}:()=>{var ue;Ke(),(ue=p.onDismiss)==null||ue.call(p,p)},className:ie(T==null?void 0:T.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,p.jsx||R.isValidElement(p.title)?p.jsx||p.title:R.createElement(R.Fragment,null,A||p.icon||p.promise?R.createElement("div",{"data-icon":"",className:ie(T==null?void 0:T.icon,(a=p==null?void 0:p.classNames)==null?void 0:a.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||Mr():null,p.type!=="loading"?p.icon||($==null?void 0:$[A])||F3(A):null):null,R.createElement("div",{"data-content":"",className:ie(T==null?void 0:T.content,(o=p==null?void 0:p.classNames)==null?void 0:o.content)},R.createElement("div",{"data-title":"",className:ie(T==null?void 0:T.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},p.title),p.description?R.createElement("div",{"data-description":"",className:ie(P,K,T==null?void 0:T.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},p.description):null),R.isValidElement(p.cancel)?p.cancel:p.cancel&&Nl(p.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||B,onClick:ue=>{var Me,Ie;Nl(p.cancel)&&O&&((Ie=(Me=p.cancel).onClick)==null||Ie.call(Me,ue),Ke())},className:ie(T==null?void 0:T.cancelButton,(u=p==null?void 0:p.classNames)==null?void 0:u.cancelButton)},p.cancel.label):null,R.isValidElement(p.action)?p.action:p.action&&Nl(p.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||D,onClick:ue=>{var Me,Ie;Nl(p.action)&&(ue.defaultPrevented||((Ie=(Me=p.action).onClick)==null||Ie.call(Me,ue),Ke()))},className:ie(T==null?void 0:T.actionButton,(d=p==null?void 0:p.classNames)==null?void 0:d.actionButton)},p.action.label):null))};function kg(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var o5=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:i,closeButton:a,className:o,offset:l,theme:c="light",richColors:u,duration:d,style:h,visibleToasts:p=X3,toastOptions:f,dir:x=kg(),gap:v=n5,loadingIcon:w,icons:m,containerAriaLabel:g="Notifications",pauseWhenPageIsHidden:y,cn:k=s5}=e,[C,E]=R.useState([]),_=R.useMemo(()=>Array.from(new Set([n].concat(C.filter(Q=>Q.position).map(Q=>Q.position)))),[C,n]),[I,B]=R.useState([]),[D,V]=R.useState(!1),[P,U]=R.useState(!1),[M,G]=R.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Y=R.useRef(null),te=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=R.useRef(null),$=R.useRef(!1),j=R.useCallback(Q=>{var ie;(ie=C.find(N=>N.id===Q.id))!=null&&ie.delete||Jt.dismiss(Q.id),E(N=>N.filter(({id:je})=>je!==Q.id))},[C]);return R.useEffect(()=>Jt.subscribe(Q=>{if(Q.dismiss){E(ie=>ie.map(N=>N.id===Q.id?{...N,delete:!0}:N));return}setTimeout(()=>{Ny.flushSync(()=>{E(ie=>{let N=ie.findIndex(je=>je.id===Q.id);return N!==-1?[...ie.slice(0,N),{...ie[N],...Q},...ie.slice(N+1)]:[Q,...ie]})})})}),[]),R.useEffect(()=>{if(c!=="system"){G(c);return}c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?G("dark"):G("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:Q})=>{G(Q?"dark":"light")})},[c]),R.useEffect(()=>{C.length<=1&&V(!1)},[C]),R.useEffect(()=>{let Q=ie=>{var N,je;r.every(Ue=>ie[Ue]||ie.code===Ue)&&(V(!0),(N=Y.current)==null||N.focus()),ie.code==="Escape"&&(document.activeElement===Y.current||(je=Y.current)!=null&&je.contains(document.activeElement))&&V(!1)};return document.addEventListener("keydown",Q),()=>document.removeEventListener("keydown",Q)},[r]),R.useEffect(()=>{if(Y.current)return()=>{T.current&&(T.current.focus({preventScroll:!0}),T.current=null,$.current=!1)}},[Y.current]),C.length?R.createElement("section",{"aria-label":`${g} ${te}`,tabIndex:-1},_.map((Q,ie)=>{var N;let[je,Ue]=Q.split("-");return R.createElement("ol",{key:Q,dir:x==="auto"?kg():x,tabIndex:-1,ref:Y,className:o,"data-sonner-toaster":!0,"data-theme":M,"data-y-position":je,"data-x-position":Ue,style:{"--front-toast-height":`${((N=I[0])==null?void 0:N.height)||0}px`,"--offset":typeof l=="number"?`${l}px`:l||J3,"--width":`${t5}px`,"--gap":`${v}px`,...h},onBlur:ce=>{$.current&&!ce.currentTarget.contains(ce.relatedTarget)&&($.current=!1,T.current&&(T.current.focus({preventScroll:!0}),T.current=null))},onFocus:ce=>{ce.target instanceof HTMLElement&&ce.target.dataset.dismissible==="false"||$.current||($.current=!0,T.current=ce.relatedTarget)},onMouseEnter:()=>V(!0),onMouseMove:()=>V(!0),onMouseLeave:()=>{P||V(!1)},onPointerDown:ce=>{ce.target instanceof HTMLElement&&ce.target.dataset.dismissible==="false"||U(!0)},onPointerUp:()=>U(!1)},C.filter(ce=>!ce.position&&ie===0||ce.position===Q).map((ce,rt)=>{var Je,ut;return R.createElement(a5,{key:ce.id,icons:m,index:rt,toast:ce,defaultRichColors:u,duration:(Je=f==null?void 0:f.duration)!=null?Je:d,className:f==null?void 0:f.className,descriptionClassName:f==null?void 0:f.descriptionClassName,invert:t,visibleToasts:p,closeButton:(ut=f==null?void 0:f.closeButton)!=null?ut:a,interacting:P,position:Q,style:f==null?void 0:f.style,unstyled:f==null?void 0:f.unstyled,classNames:f==null?void 0:f.classNames,cancelButtonStyle:f==null?void 0:f.cancelButtonStyle,actionButtonStyle:f==null?void 0:f.actionButtonStyle,removeToast:j,toasts:C.filter(ft=>ft.position==ce.position),heights:I.filter(ft=>ft.position==ce.position),setHeights:B,expandByDefault:i,gap:v,loadingIcon:w,expanded:D,pauseWhenPageIsHidden:y,cn:k})}))})):null};const l5=({...e})=>{const{theme:t="system"}=M3();return s.jsx(o5,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var c5=wv.useId||(()=>{}),u5=0;function jb(e){const[t,n]=b.useState(c5());return Tr(()=>{n(r=>r??String(u5++))},[e]),t?`radix-${t}`:""}const d5=["top","right","bottom","left"],mi=Math.min,tn=Math.max,Cc=Math.round,El=Math.floor,gi=e=>({x:e,y:e}),h5={left:"right",right:"left",bottom:"top",top:"bottom"},p5={start:"end",end:"start"};function Ih(e,t,n){return tn(e,mi(t,n))}function Pr(e,t){return typeof e=="function"?e(t):e}function Ir(e){return e.split("-")[0]}function ca(e){return e.split("-")[1]}function mf(e){return e==="x"?"y":"x"}function gf(e){return e==="y"?"height":"width"}function xi(e){return["top","bottom"].includes(Ir(e))?"y":"x"}function xf(e){return mf(xi(e))}function f5(e,t,n){n===void 0&&(n=!1);const r=ca(e),i=xf(e),a=gf(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=Sc(o)),[o,Sc(o)]}function m5(e){const t=Sc(e);return[zh(e),t,zh(t)]}function zh(e){return e.replace(/start|end/g,t=>p5[t])}function g5(e,t,n){const r=["left","right"],i=["right","left"],a=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?a:o;default:return[]}}function x5(e,t,n,r){const i=ca(e);let a=g5(Ir(e),n==="start",r);return i&&(a=a.map(o=>o+"-"+i),t&&(a=a.concat(a.map(zh)))),a}function Sc(e){return e.replace(/left|right|bottom|top/g,t=>h5[t])}function v5(e){return{top:0,right:0,bottom:0,left:0,...e}}function kb(e){return typeof e!="number"?v5(e):{top:e,right:e,bottom:e,left:e}}function Ac(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ng(e,t,n){let{reference:r,floating:i}=e;const a=xi(t),o=xf(t),l=gf(o),c=Ir(t),u=a==="y",d=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,p=r[l]/2-i[l]/2;let f;switch(c){case"top":f={x:d,y:r.y-i.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:h};break;case"left":f={x:r.x-i.width,y:h};break;default:f={x:r.x,y:r.y}}switch(ca(t)){case"start":f[o]-=p*(n&&u?-1:1);break;case"end":f[o]+=p*(n&&u?-1:1);break}return f}const y5=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,l=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:h}=Ng(u,r,c),p=r,f={},x=0;for(let v=0;v<l.length;v++){const{name:w,fn:m}=l[v],{x:g,y,data:k,reset:C}=await m({x:d,y:h,initialPlacement:r,placement:p,strategy:i,middlewareData:f,rects:u,platform:o,elements:{reference:e,floating:t}});d=g??d,h=y??h,f={...f,[w]:{...f[w],...k}},C&&x<=50&&(x++,typeof C=="object"&&(C.placement&&(p=C.placement),C.rects&&(u=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:d,y:h}=Ng(u,p,c)),v=-1)}return{x:d,y:h,placement:p,strategy:i,middlewareData:f}};async function vo(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:a,rects:o,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:f=0}=Pr(t,e),x=kb(f),w=l[p?h==="floating"?"reference":"floating":h],m=Ac(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(w)))==null||n?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),g=h==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,y=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),k=await(a.isElement==null?void 0:a.isElement(y))?await(a.getScale==null?void 0:a.getScale(y))||{x:1,y:1}:{x:1,y:1},C=Ac(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:y,strategy:c}):g);return{top:(m.top-C.top+x.top)/k.y,bottom:(C.bottom-m.bottom+x.bottom)/k.y,left:(m.left-C.left+x.left)/k.x,right:(C.right-m.right+x.right)/k.x}}const b5=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:o,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=Pr(e,t)||{};if(u==null)return{};const h=kb(d),p={x:n,y:r},f=xf(i),x=gf(f),v=await o.getDimensions(u),w=f==="y",m=w?"top":"left",g=w?"bottom":"right",y=w?"clientHeight":"clientWidth",k=a.reference[x]+a.reference[f]-p[f]-a.floating[x],C=p[f]-a.reference[f],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let _=E?E[y]:0;(!_||!await(o.isElement==null?void 0:o.isElement(E)))&&(_=l.floating[y]||a.floating[x]);const I=k/2-C/2,B=_/2-v[x]/2-1,D=mi(h[m],B),V=mi(h[g],B),P=D,U=_-v[x]-V,M=_/2-v[x]/2+I,G=Ih(P,M,U),Y=!c.arrow&&ca(i)!=null&&M!==G&&a.reference[x]/2-(M<P?D:V)-v[x]/2<0,te=Y?M<P?M-P:M-U:0;return{[f]:p[f]+te,data:{[f]:G,centerOffset:M-G-te,...Y&&{alignmentOffset:te}},reset:Y}}}),w5=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:a,rects:o,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:v=!0,...w}=Pr(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const m=Ir(i),g=xi(l),y=Ir(l)===l,k=await(c.isRTL==null?void 0:c.isRTL(u.floating)),C=p||(y||!v?[Sc(l)]:m5(l)),E=x!=="none";!p&&E&&C.push(...x5(l,v,x,k));const _=[l,...C],I=await vo(t,w),B=[];let D=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&B.push(I[m]),h){const M=f5(i,o,k);B.push(I[M[0]],I[M[1]])}if(D=[...D,{placement:i,overflows:B}],!B.every(M=>M<=0)){var V,P;const M=(((V=a.flip)==null?void 0:V.index)||0)+1,G=_[M];if(G)return{data:{index:M,overflows:D},reset:{placement:G}};let Y=(P=D.filter(te=>te.overflows[0]<=0).sort((te,T)=>te.overflows[1]-T.overflows[1])[0])==null?void 0:P.placement;if(!Y)switch(f){case"bestFit":{var U;const te=(U=D.filter(T=>{if(E){const $=xi(T.placement);return $===g||$==="y"}return!0}).map(T=>[T.placement,T.overflows.filter($=>$>0).reduce(($,j)=>$+j,0)]).sort((T,$)=>T[1]-$[1])[0])==null?void 0:U[0];te&&(Y=te);break}case"initialPlacement":Y=l;break}if(i!==Y)return{reset:{placement:Y}}}return{}}}};function Eg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Cg(e){return d5.some(t=>e[t]>=0)}const j5=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Pr(e,t);switch(r){case"referenceHidden":{const a=await vo(t,{...i,elementContext:"reference"}),o=Eg(a,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Cg(o)}}}case"escaped":{const a=await vo(t,{...i,altBoundary:!0}),o=Eg(a,n.floating);return{data:{escapedOffsets:o,escaped:Cg(o)}}}default:return{}}}}};async function k5(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Ir(n),l=ca(n),c=xi(n)==="y",u=["left","top"].includes(o)?-1:1,d=a&&c?-1:1,h=Pr(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof x=="number"&&(f=l==="end"?x*-1:x),c?{x:f*d,y:p*u}:{x:p*u,y:f*d}}const N5=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:o,middlewareData:l}=t,c=await k5(t,e);return o===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:a+c.y,data:{...c,placement:o}}}}},E5=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:l={fn:w=>{let{x:m,y:g}=w;return{x:m,y:g}}},...c}=Pr(e,t),u={x:n,y:r},d=await vo(t,c),h=xi(Ir(i)),p=mf(h);let f=u[p],x=u[h];if(a){const w=p==="y"?"top":"left",m=p==="y"?"bottom":"right",g=f+d[w],y=f-d[m];f=Ih(g,f,y)}if(o){const w=h==="y"?"top":"left",m=h==="y"?"bottom":"right",g=x+d[w],y=x-d[m];x=Ih(g,x,y)}const v=l.fn({...t,[p]:f,[h]:x});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[p]:a,[h]:o}}}}}},C5=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=Pr(e,t),d={x:n,y:r},h=xi(i),p=mf(h);let f=d[p],x=d[h];const v=Pr(l,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const y=p==="y"?"height":"width",k=a.reference[p]-a.floating[y]+w.mainAxis,C=a.reference[p]+a.reference[y]-w.mainAxis;f<k?f=k:f>C&&(f=C)}if(u){var m,g;const y=p==="y"?"width":"height",k=["top","left"].includes(Ir(i)),C=a.reference[h]-a.floating[y]+(k&&((m=o.offset)==null?void 0:m[h])||0)+(k?0:w.crossAxis),E=a.reference[h]+a.reference[y]+(k?0:((g=o.offset)==null?void 0:g[h])||0)-(k?w.crossAxis:0);x<C?x=C:x>E&&(x=E)}return{[p]:f,[h]:x}}}},S5=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:a,platform:o,elements:l}=t,{apply:c=()=>{},...u}=Pr(e,t),d=await vo(t,u),h=Ir(i),p=ca(i),f=xi(i)==="y",{width:x,height:v}=a.floating;let w,m;h==="top"||h==="bottom"?(w=h,m=p===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(m=h,w=p==="end"?"top":"bottom");const g=v-d.top-d.bottom,y=x-d.left-d.right,k=mi(v-d[w],g),C=mi(x-d[m],y),E=!t.middlewareData.shift;let _=k,I=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(_=g),E&&!p){const D=tn(d.left,0),V=tn(d.right,0),P=tn(d.top,0),U=tn(d.bottom,0);f?I=x-2*(D!==0||V!==0?D+V:tn(d.left,d.right)):_=v-2*(P!==0||U!==0?P+U:tn(d.top,d.bottom))}await c({...t,availableWidth:I,availableHeight:_});const B=await o.getDimensions(l.floating);return x!==B.width||v!==B.height?{reset:{rects:!0}}:{}}}};function fu(){return typeof window<"u"}function ua(e){return Nb(e)?(e.nodeName||"").toLowerCase():"#document"}function an(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function hr(e){var t;return(t=(Nb(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Nb(e){return fu()?e instanceof Node||e instanceof an(e).Node:!1}function Vn(e){return fu()?e instanceof Element||e instanceof an(e).Element:!1}function lr(e){return fu()?e instanceof HTMLElement||e instanceof an(e).HTMLElement:!1}function Sg(e){return!fu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof an(e).ShadowRoot}function Yo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Bn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function A5(e){return["table","td","th"].includes(ua(e))}function mu(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function vf(e){const t=yf(),n=Vn(e)?Bn(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function _5(e){let t=vi(e);for(;lr(t)&&!Js(t);){if(vf(t))return t;if(mu(t))return null;t=vi(t)}return null}function yf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Js(e){return["html","body","#document"].includes(ua(e))}function Bn(e){return an(e).getComputedStyle(e)}function gu(e){return Vn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function vi(e){if(ua(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Sg(e)&&e.host||hr(e);return Sg(t)?t.host:t}function Eb(e){const t=vi(e);return Js(t)?e.ownerDocument?e.ownerDocument.body:e.body:lr(t)&&Yo(t)?t:Eb(t)}function yo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Eb(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=an(i);if(a){const l=Oh(o);return t.concat(o,o.visualViewport||[],Yo(i)?i:[],l&&n?yo(l):[])}return t.concat(i,yo(i,[],n))}function Oh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Cb(e){const t=Bn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=lr(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,l=Cc(n)!==a||Cc(r)!==o;return l&&(n=a,r=o),{width:n,height:r,$:l}}function bf(e){return Vn(e)?e:e.contextElement}function Ts(e){const t=bf(e);if(!lr(t))return gi(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Cb(t);let o=(a?Cc(n.width):n.width)/r,l=(a?Cc(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const T5=gi(0);function Sb(e){const t=an(e);return!yf()||!t.visualViewport?T5:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function P5(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==an(e)?!1:t}function Ki(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=bf(e);let o=gi(1);t&&(r?Vn(r)&&(o=Ts(r)):o=Ts(e));const l=P5(a,n,r)?Sb(a):gi(0);let c=(i.left+l.x)/o.x,u=(i.top+l.y)/o.y,d=i.width/o.x,h=i.height/o.y;if(a){const p=an(a),f=r&&Vn(r)?an(r):r;let x=p,v=Oh(x);for(;v&&r&&f!==x;){const w=Ts(v),m=v.getBoundingClientRect(),g=Bn(v),y=m.left+(v.clientLeft+parseFloat(g.paddingLeft))*w.x,k=m.top+(v.clientTop+parseFloat(g.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,h*=w.y,c+=y,u+=k,x=an(v),v=Oh(x)}}return Ac({width:d,height:h,x:c,y:u})}function I5(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a=i==="fixed",o=hr(r),l=t?mu(t.floating):!1;if(r===o||l&&a)return n;let c={scrollLeft:0,scrollTop:0},u=gi(1);const d=gi(0),h=lr(r);if((h||!h&&!a)&&((ua(r)!=="body"||Yo(o))&&(c=gu(r)),lr(r))){const p=Ki(r);u=Ts(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x,y:n.y*u.y-c.scrollTop*u.y+d.y}}function z5(e){return Array.from(e.getClientRects())}function Rh(e,t){const n=gu(e).scrollLeft;return t?t.left+n:Ki(hr(e)).left+n}function O5(e){const t=hr(e),n=gu(e),r=e.ownerDocument.body,i=tn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=tn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Rh(e);const l=-n.scrollTop;return Bn(r).direction==="rtl"&&(o+=tn(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:l}}function R5(e,t){const n=an(e),r=hr(e),i=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,l=0,c=0;if(i){a=i.width,o=i.height;const u=yf();(!u||u&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:l,y:c}}function D5(e,t){const n=Ki(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=lr(e)?Ts(e):gi(1),o=e.clientWidth*a.x,l=e.clientHeight*a.y,c=i*a.x,u=r*a.y;return{width:o,height:l,x:c,y:u}}function Ag(e,t,n){let r;if(t==="viewport")r=R5(e,n);else if(t==="document")r=O5(hr(e));else if(Vn(t))r=D5(t,n);else{const i=Sb(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return Ac(r)}function Ab(e,t){const n=vi(e);return n===t||!Vn(n)||Js(n)?!1:Bn(n).position==="fixed"||Ab(n,t)}function M5(e,t){const n=t.get(e);if(n)return n;let r=yo(e,[],!1).filter(l=>Vn(l)&&ua(l)!=="body"),i=null;const a=Bn(e).position==="fixed";let o=a?vi(e):e;for(;Vn(o)&&!Js(o);){const l=Bn(o),c=vf(o);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Yo(o)&&!c&&Ab(e,o))?r=r.filter(d=>d!==o):i=l,o=vi(o)}return t.set(e,r),r}function F5(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?mu(t)?[]:M5(t,this._c):[].concat(n),r],l=o[0],c=o.reduce((u,d)=>{const h=Ag(t,d,i);return u.top=tn(h.top,u.top),u.right=mi(h.right,u.right),u.bottom=mi(h.bottom,u.bottom),u.left=tn(h.left,u.left),u},Ag(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function L5(e){const{width:t,height:n}=Cb(e);return{width:t,height:n}}function V5(e,t,n){const r=lr(t),i=hr(t),a=n==="fixed",o=Ki(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const c=gi(0);if(r||!r&&!a)if((ua(t)!=="body"||Yo(i))&&(l=gu(t)),r){const f=Ki(t,!0,a,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else i&&(c.x=Rh(i));let u=0,d=0;if(i&&!r&&!a){const f=i.getBoundingClientRect();d=f.top+l.scrollTop,u=f.left+l.scrollLeft-Rh(i,f)}const h=o.left+l.scrollLeft-c.x-u,p=o.top+l.scrollTop-c.y-d;return{x:h,y:p,width:o.width,height:o.height}}function ld(e){return Bn(e).position==="static"}function _g(e,t){if(!lr(e)||Bn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return hr(e)===n&&(n=n.ownerDocument.body),n}function _b(e,t){const n=an(e);if(mu(e))return n;if(!lr(e)){let i=vi(e);for(;i&&!Js(i);){if(Vn(i)&&!ld(i))return i;i=vi(i)}return n}let r=_g(e,t);for(;r&&A5(r)&&ld(r);)r=_g(r,t);return r&&Js(r)&&ld(r)&&!vf(r)?n:r||_5(e)||n}const B5=async function(e){const t=this.getOffsetParent||_b,n=this.getDimensions,r=await n(e.floating);return{reference:V5(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function $5(e){return Bn(e).direction==="rtl"}const U5={convertOffsetParentRelativeRectToViewportRelativeRect:I5,getDocumentElement:hr,getClippingRect:F5,getOffsetParent:_b,getElementRects:B5,getClientRects:z5,getDimensions:L5,getScale:Ts,isElement:Vn,isRTL:$5};function W5(e,t){let n=null,r;const i=hr(e);function a(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),a();const{left:u,top:d,width:h,height:p}=e.getBoundingClientRect();if(l||t(),!h||!p)return;const f=El(d),x=El(i.clientWidth-(u+h)),v=El(i.clientHeight-(d+p)),w=El(u),g={rootMargin:-f+"px "+-x+"px "+-v+"px "+-w+"px",threshold:tn(0,mi(1,c))||1};let y=!0;function k(C){const E=C[0].intersectionRatio;if(E!==c){if(!y)return o();E?o(!1,E):r=setTimeout(()=>{o(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(k,{...g,root:i.ownerDocument})}catch{n=new IntersectionObserver(k,g)}n.observe(e)}return o(!0),a}function H5(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=bf(e),d=i||a?[...u?yo(u):[],...yo(t)]:[];d.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),a&&m.addEventListener("resize",n)});const h=u&&l?W5(u,n):null;let p=-1,f=null;o&&(f=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(t)})),n()}),u&&!c&&f.observe(u),f.observe(t));let x,v=c?Ki(e):null;c&&w();function w(){const m=Ki(e);v&&(m.x!==v.x||m.y!==v.y||m.width!==v.width||m.height!==v.height)&&n(),v=m,x=requestAnimationFrame(w)}return n(),()=>{var m;d.forEach(g=>{i&&g.removeEventListener("scroll",n),a&&g.removeEventListener("resize",n)}),h==null||h(),(m=f)==null||m.disconnect(),f=null,c&&cancelAnimationFrame(x)}}const q5=N5,Z5=E5,G5=w5,K5=S5,Q5=j5,Tg=b5,Y5=C5,X5=(e,t,n)=>{const r=new Map,i={platform:U5,...n},a={...i.platform,_c:r};return y5(e,t,{...i,platform:a})};var ql=typeof document<"u"?b.useLayoutEffect:b.useEffect;function _c(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!_c(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const a=i[r];if(!(a==="_owner"&&e.$$typeof)&&!_c(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Tb(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pg(e,t){const n=Tb(e);return Math.round(t*n)/n}function cd(e){const t=b.useRef(e);return ql(()=>{t.current=e}),t}function J5(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,h]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=b.useState(r);_c(p,r)||f(r);const[x,v]=b.useState(null),[w,m]=b.useState(null),g=b.useCallback(T=>{T!==E.current&&(E.current=T,v(T))},[]),y=b.useCallback(T=>{T!==_.current&&(_.current=T,m(T))},[]),k=a||x,C=o||w,E=b.useRef(null),_=b.useRef(null),I=b.useRef(d),B=c!=null,D=cd(c),V=cd(i),P=cd(u),U=b.useCallback(()=>{if(!E.current||!_.current)return;const T={placement:t,strategy:n,middleware:p};V.current&&(T.platform=V.current),X5(E.current,_.current,T).then($=>{const j={...$,isPositioned:P.current!==!1};M.current&&!_c(I.current,j)&&(I.current=j,qo.flushSync(()=>{h(j)}))})},[p,t,n,V,P]);ql(()=>{u===!1&&I.current.isPositioned&&(I.current.isPositioned=!1,h(T=>({...T,isPositioned:!1})))},[u]);const M=b.useRef(!1);ql(()=>(M.current=!0,()=>{M.current=!1}),[]),ql(()=>{if(k&&(E.current=k),C&&(_.current=C),k&&C){if(D.current)return D.current(k,C,U);U()}},[k,C,U,D,B]);const G=b.useMemo(()=>({reference:E,floating:_,setReference:g,setFloating:y}),[g,y]),Y=b.useMemo(()=>({reference:k,floating:C}),[k,C]),te=b.useMemo(()=>{const T={position:n,left:0,top:0};if(!Y.floating)return T;const $=Pg(Y.floating,d.x),j=Pg(Y.floating,d.y);return l?{...T,transform:"translate("+$+"px, "+j+"px)",...Tb(Y.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:j}},[n,l,Y.floating,d.x,d.y]);return b.useMemo(()=>({...d,update:U,refs:G,elements:Y,floatingStyles:te}),[d,U,G,Y,te])}const eE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Tg({element:r.current,padding:i}).fn(n):{}:r?Tg({element:r,padding:i}).fn(n):{}}}},tE=(e,t)=>({...q5(e),options:[e,t]}),nE=(e,t)=>({...Z5(e),options:[e,t]}),rE=(e,t)=>({...Y5(e),options:[e,t]}),iE=(e,t)=>({...G5(e),options:[e,t]}),sE=(e,t)=>({...K5(e),options:[e,t]}),aE=(e,t)=>({...Q5(e),options:[e,t]}),oE=(e,t)=>({...eE(e),options:[e,t]});var lE="Arrow",Pb=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...a}=e;return s.jsx(Xe.svg,{...a,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:s.jsx("polygon",{points:"0,0 30,0 15,10"})})});Pb.displayName=lE;var cE=Pb;function uE(e,t=[]){let n=[];function r(a,o){const l=b.createContext(o),c=n.length;n=[...n,o];function u(h){const{scope:p,children:f,...x}=h,v=(p==null?void 0:p[e][c])||l,w=b.useMemo(()=>x,Object.values(x));return s.jsx(v.Provider,{value:w,children:f})}function d(h,p){const f=(p==null?void 0:p[e][c])||l,x=b.useContext(f);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${h}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,d]}const i=()=>{const a=n.map(o=>b.createContext(o));return function(l){const c=(l==null?void 0:l[e])||a;return b.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return i.scopeName=e,[r,dE(i,...t)]}function dE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((l,{useScope:c,scopeName:u})=>{const h=c(a)[`__scope${u}`];return{...l,...h}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Ib(e){const[t,n]=b.useState(void 0);return Tr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let o,l;if("borderBoxSize"in a){const c=a.borderBoxSize,u=Array.isArray(c)?c[0]:c;o=u.inlineSize,l=u.blockSize}else o=e.offsetWidth,l=e.offsetHeight;n({width:o,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var zb="Popper",[Ob,Rb]=uE(zb),[wz,Db]=Ob(zb),Mb="PopperAnchor",Fb=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=Db(Mb,n),o=b.useRef(null),l=Zt(t,o);return b.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:s.jsx(Xe.div,{...i,ref:l})});Fb.displayName=Mb;var wf="PopperContent",[hE,pE]=Ob(wf),Lb=b.forwardRef((e,t)=>{var rt,Je,ut,ft,dn,Un;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:a="center",alignOffset:o=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:h="partial",hideWhenDetached:p=!1,updatePositionStrategy:f="optimized",onPlaced:x,...v}=e,w=Db(wf,n),[m,g]=b.useState(null),y=Zt(t,hn=>g(hn)),[k,C]=b.useState(null),E=Ib(k),_=(E==null?void 0:E.width)??0,I=(E==null?void 0:E.height)??0,B=r+(a!=="center"?"-"+a:""),D=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},V=Array.isArray(u)?u:[u],P=V.length>0,U={padding:D,boundary:V.filter(mE),altBoundary:P},{refs:M,floatingStyles:G,placement:Y,isPositioned:te,middlewareData:T}=J5({strategy:"fixed",placement:B,whileElementsMounted:(...hn)=>H5(...hn,{animationFrame:f==="always"}),elements:{reference:w.anchor},middleware:[tE({mainAxis:i+I,alignmentAxis:o}),c&&nE({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?rE():void 0,...U}),c&&iE({...U}),sE({...U,apply:({elements:hn,rects:Wn,availableWidth:Dr,availableHeight:pn})=>{const{width:Ai,height:S}=Wn.reference,A=hn.floating.style;A.setProperty("--radix-popper-available-width",`${Dr}px`),A.setProperty("--radix-popper-available-height",`${pn}px`),A.setProperty("--radix-popper-anchor-width",`${Ai}px`),A.setProperty("--radix-popper-anchor-height",`${S}px`)}}),k&&oE({element:k,padding:l}),gE({arrowWidth:_,arrowHeight:I}),p&&aE({strategy:"referenceHidden",...U})]}),[$,j]=$b(Y),Q=or(x);Tr(()=>{te&&(Q==null||Q())},[te,Q]);const ie=(rt=T.arrow)==null?void 0:rt.x,N=(Je=T.arrow)==null?void 0:Je.y,je=((ut=T.arrow)==null?void 0:ut.centerOffset)!==0,[Ue,ce]=b.useState();return Tr(()=>{m&&ce(window.getComputedStyle(m).zIndex)},[m]),s.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:te?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ue,"--radix-popper-transform-origin":[(ft=T.transformOrigin)==null?void 0:ft.x,(dn=T.transformOrigin)==null?void 0:dn.y].join(" "),...((Un=T.hide)==null?void 0:Un.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:s.jsx(hE,{scope:n,placedSide:$,onArrowChange:C,arrowX:ie,arrowY:N,shouldHideArrow:je,children:s.jsx(Xe.div,{"data-side":$,"data-align":j,...v,ref:y,style:{...v.style,animation:te?void 0:"none"}})})})});Lb.displayName=wf;var Vb="PopperArrow",fE={top:"bottom",right:"left",bottom:"top",left:"right"},Bb=b.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,a=pE(Vb,r),o=fE[a.placedSide];return s.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:s.jsx(cE,{...i,ref:n,style:{...i.style,display:"block"}})})});Bb.displayName=Vb;function mE(e){return e!==null}var gE=e=>({name:"transformOrigin",options:e,fn(t){var w,m,g;const{placement:n,rects:r,middlewareData:i}=t,o=((w=i.arrow)==null?void 0:w.centerOffset)!==0,l=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[u,d]=$b(n),h={start:"0%",center:"50%",end:"100%"}[d],p=(((m=i.arrow)==null?void 0:m.x)??0)+l/2,f=(((g=i.arrow)==null?void 0:g.y)??0)+c/2;let x="",v="";return u==="bottom"?(x=o?h:`${p}px`,v=`${-c}px`):u==="top"?(x=o?h:`${p}px`,v=`${r.floating.height+c}px`):u==="right"?(x=`${-c}px`,v=o?h:`${f}px`):u==="left"&&(x=`${r.floating.width+c}px`,v=o?h:`${f}px`),{data:{x,y:v}}}});function $b(e){const[t,n="center"]=e.split("-");return[t,n]}var xE=Fb,vE=Lb,yE=Bb,[xu,jz]=Zo("Tooltip",[Rb]),jf=Rb(),Ub="TooltipProvider",bE=700,Ig="tooltip.open",[wE,Wb]=xu(Ub),Hb=e=>{const{__scopeTooltip:t,delayDuration:n=bE,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,[o,l]=b.useState(!0),c=b.useRef(!1),u=b.useRef(0);return b.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),s.jsx(wE,{scope:t,isOpenDelayed:o,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(u.current),l(!1)},[]),onClose:b.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:b.useCallback(d=>{c.current=d},[]),disableHoverableContent:i,children:a})};Hb.displayName=Ub;var qb="Tooltip",[kz,vu]=xu(qb),Dh="TooltipTrigger",jE=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=vu(Dh,n),a=Wb(Dh,n),o=jf(n),l=b.useRef(null),c=Zt(t,l,i.onTriggerChange),u=b.useRef(!1),d=b.useRef(!1),h=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),s.jsx(xE,{asChild:!0,...o,children:s.jsx(Xe.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:c,onPointerMove:qe(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),d.current=!0)}),onPointerLeave:qe(e.onPointerLeave,()=>{i.onTriggerLeave(),d.current=!1}),onPointerDown:qe(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:qe(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:qe(e.onBlur,i.onClose),onClick:qe(e.onClick,i.onClose)})})});jE.displayName=Dh;var kE="TooltipPortal",[Nz,NE]=xu(kE,{forceMount:void 0}),ea="TooltipContent",Zb=b.forwardRef((e,t)=>{const n=NE(ea,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...a}=e,o=vu(ea,e.__scopeTooltip);return s.jsx(Go,{present:r||o.open,children:o.disableHoverableContent?s.jsx(Gb,{side:i,...a,ref:t}):s.jsx(EE,{side:i,...a,ref:t})})}),EE=b.forwardRef((e,t)=>{const n=vu(ea,e.__scopeTooltip),r=Wb(ea,e.__scopeTooltip),i=b.useRef(null),a=Zt(t,i),[o,l]=b.useState(null),{trigger:c,onClose:u}=n,d=i.current,{onPointerInTransitChange:h}=r,p=b.useCallback(()=>{l(null),h(!1)},[h]),f=b.useCallback((x,v)=>{const w=x.currentTarget,m={x:x.clientX,y:x.clientY},g=_E(m,w.getBoundingClientRect()),y=TE(m,g),k=PE(v.getBoundingClientRect()),C=zE([...y,...k]);l(C),h(!0)},[h]);return b.useEffect(()=>()=>p(),[p]),b.useEffect(()=>{if(c&&d){const x=w=>f(w,d),v=w=>f(w,c);return c.addEventListener("pointerleave",x),d.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",v)}}},[c,d,f,p]),b.useEffect(()=>{if(o){const x=v=>{const w=v.target,m={x:v.clientX,y:v.clientY},g=(c==null?void 0:c.contains(w))||(d==null?void 0:d.contains(w)),y=!IE(m,o);g?p():y&&(p(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[c,d,o,u,p]),s.jsx(Gb,{...e,ref:a})}),[CE,SE]=xu(qb,{isInside:!1}),Gb=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:o,...l}=e,c=vu(ea,n),u=jf(n),{onClose:d}=c;return b.useEffect(()=>(document.addEventListener(Ig,d),()=>document.removeEventListener(Ig,d)),[d]),b.useEffect(()=>{if(c.trigger){const h=p=>{const f=p.target;f!=null&&f.contains(c.trigger)&&d()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[c.trigger,d]),s.jsx(af,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:h=>h.preventDefault(),onDismiss:d,children:s.jsxs(vE,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[s.jsx(Ay,{children:r}),s.jsx(CE,{scope:n,isInside:!0,children:s.jsx(iN,{id:c.contentId,role:"tooltip",children:i||r})})]})})});Zb.displayName=ea;var Kb="TooltipArrow",AE=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=jf(n);return SE(Kb,n).isInside?null:s.jsx(yE,{...i,...r,ref:t})});AE.displayName=Kb;function _E(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function TE(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function PE(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function IE(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;a<t.length;o=a++){const l=t[a].x,c=t[a].y,u=t[o].x,d=t[o].y;c>r!=d>r&&n<(u-l)*(r-c)/(d-c)+l&&(i=!i)}return i}function zE(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),OE(t)}function OE(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const a=t[t.length-1],o=t[t.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const a=n[n.length-1],o=n[n.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var RE=Hb,Qb=Zb;const DE=RE,ME=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>s.jsx(Qb,{ref:r,sideOffset:t,className:Pe("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));ME.displayName=Qb.displayName;var yu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},bu=typeof window>"u"||"Deno"in globalThis;function _n(){}function FE(e,t){return typeof e=="function"?e(t):e}function LE(e){return typeof e=="number"&&e>=0&&e!==1/0}function VE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function zg(e,t){return typeof e=="function"?e(t):e}function BE(e,t){return typeof e=="function"?e(t):e}function Og(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:l}=e;if(o){if(r){if(t.queryHash!==kf(o,t.options))return!1}else if(!wo(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||i&&i!==t.state.fetchStatus||a&&!a(t))}function Rg(e,t){const{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(bo(t.options.mutationKey)!==bo(a))return!1}else if(!wo(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function kf(e,t){return((t==null?void 0:t.queryKeyHashFn)||bo)(e)}function bo(e){return JSON.stringify(e,(t,n)=>Mh(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function wo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!wo(e[n],t[n])):!1}function Yb(e,t){if(e===t)return e;const n=Dg(e)&&Dg(t);if(n||Mh(e)&&Mh(t)){const r=n?e:Object.keys(e),i=r.length,a=n?t:Object.keys(t),o=a.length,l=n?[]:{};let c=0;for(let u=0;u<o;u++){const d=n?u:a[u];(!n&&r.includes(d)||n)&&e[d]===void 0&&t[d]===void 0?(l[d]=void 0,c++):(l[d]=Yb(e[d],t[d]),l[d]===e[d]&&e[d]!==void 0&&c++)}return i===o&&c===i?e:l}return t}function Dg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Mh(e){if(!Mg(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Mg(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Mg(e){return Object.prototype.toString.call(e)==="[object Object]"}function $E(e){return new Promise(t=>{setTimeout(t,e)})}function UE(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Yb(e,t):t}function WE(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function HE(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Nf=Symbol();function Xb(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Nf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Di,Kr,Ds,rv,qE=(rv=class extends yu{constructor(){super();_e(this,Di);_e(this,Kr);_e(this,Ds);be(this,Ds,t=>{if(!bu&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){F(this,Kr)||this.setEventListener(F(this,Ds))}onUnsubscribe(){var t;this.hasListeners()||((t=F(this,Kr))==null||t.call(this),be(this,Kr,void 0))}setEventListener(t){var n;be(this,Ds,t),(n=F(this,Kr))==null||n.call(this),be(this,Kr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){F(this,Di)!==t&&(be(this,Di,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof F(this,Di)=="boolean"?F(this,Di):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Di=new WeakMap,Kr=new WeakMap,Ds=new WeakMap,rv),Jb=new qE,Ms,Qr,Fs,iv,ZE=(iv=class extends yu{constructor(){super();_e(this,Ms,!0);_e(this,Qr);_e(this,Fs);be(this,Fs,t=>{if(!bu&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){F(this,Qr)||this.setEventListener(F(this,Fs))}onUnsubscribe(){var t;this.hasListeners()||((t=F(this,Qr))==null||t.call(this),be(this,Qr,void 0))}setEventListener(t){var n;be(this,Fs,t),(n=F(this,Qr))==null||n.call(this),be(this,Qr,t(this.setOnline.bind(this)))}setOnline(t){F(this,Ms)!==t&&(be(this,Ms,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return F(this,Ms)}},Ms=new WeakMap,Qr=new WeakMap,Fs=new WeakMap,iv),Tc=new ZE;function GE(){let e,t;const n=new Promise((i,a)=>{e=i,t=a});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function KE(e){return Math.min(1e3*2**e,3e4)}function ew(e){return(e??"online")==="online"?Tc.isOnline():!0}var tw=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ud(e){return e instanceof tw}function nw(e){let t=!1,n=0,r=!1,i;const a=GE(),o=v=>{var w;r||(p(new tw(v)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>Jb.isFocused()&&(e.networkMode==="always"||Tc.isOnline())&&e.canRun(),d=()=>ew(e.networkMode)&&e.canRun(),h=v=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,v),i==null||i(),a.resolve(v))},p=v=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,v),i==null||i(),a.reject(v))},f=()=>new Promise(v=>{var w;i=m=>{(r||u())&&v(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;i=void 0,r||(v=e.onContinue)==null||v.call(e)}),x=()=>{if(r)return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(m){v=Promise.reject(m)}Promise.resolve(v).then(h).catch(m=>{var E;if(r)return;const g=e.retry??(bu?0:3),y=e.retryDelay??KE,k=typeof y=="function"?y(n,m):y,C=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!C){p(m);return}n++,(E=e.onFail)==null||E.call(e,n,m),$E(k).then(()=>u()?void 0:f()).then(()=>{t?p(m):x()})})};return{promise:a,cancel:o,continue:()=>(i==null||i(),a),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?x():f().then(x),a)}}function QE(){let e=[],t=0,n=l=>{l()},r=l=>{l()},i=l=>setTimeout(l,0);const a=l=>{t?e.push(l):i(()=>{n(l)})},o=()=>{const l=e;e=[],l.length&&i(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||o()}return c},batchCalls:l=>(...c)=>{a(()=>{l(...c)})},schedule:a,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{i=l}}}var Ot=QE(),Mi,sv,rw=(sv=class{constructor(){_e(this,Mi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),LE(this.gcTime)&&be(this,Mi,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(bu?1/0:5*60*1e3))}clearGcTimeout(){F(this,Mi)&&(clearTimeout(F(this,Mi)),be(this,Mi,void 0))}},Mi=new WeakMap,sv),Ls,Vs,vn,Nt,Lo,Fi,Tn,vr,av,YE=(av=class extends rw{constructor(t){super();_e(this,Tn);_e(this,Ls);_e(this,Vs);_e(this,vn);_e(this,Nt);_e(this,Lo);_e(this,Fi);be(this,Fi,!1),be(this,Lo,t.defaultOptions),this.setOptions(t.options),this.observers=[],be(this,vn,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,be(this,Ls,JE(this.options)),this.state=t.state??F(this,Ls),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=F(this,Nt))==null?void 0:t.promise}setOptions(t){this.options={...F(this,Lo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&F(this,vn).remove(this)}setData(t,n){const r=UE(this.state.data,t,this.options);return bt(this,Tn,vr).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){bt(this,Tn,vr).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=F(this,Nt))==null?void 0:r.promise;return(i=F(this,Nt))==null||i.cancel(t),n?n.then(_n).catch(_n):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(F(this,Ls))}isActive(){return this.observers.some(t=>BE(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Nf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!VE(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=F(this,Nt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=F(this,Nt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),F(this,vn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(F(this,Nt)&&(F(this,Fi)?F(this,Nt).cancel({revert:!0}):F(this,Nt).cancelRetry()),this.scheduleGc()),F(this,vn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||bt(this,Tn,vr).call(this,{type:"invalidate"})}fetch(t,n){var c,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(F(this,Nt))return F(this,Nt).continueRetry(),F(this,Nt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(be(this,Fi,!0),r.signal)})},a=()=>{const h=Xb(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return i(p),be(this,Fi,!1),this.options.persister?this.options.persister(h,p,this):h(p)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};i(o),(c=this.options.behavior)==null||c.onFetch(o,this),be(this,Vs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&bt(this,Tn,vr).call(this,{type:"fetch",meta:(d=o.fetchOptions)==null?void 0:d.meta});const l=h=>{var p,f,x,v;ud(h)&&h.silent||bt(this,Tn,vr).call(this,{type:"error",error:h}),ud(h)||((f=(p=F(this,vn).config).onError)==null||f.call(p,h,this),(v=(x=F(this,vn).config).onSettled)==null||v.call(x,this.state.data,h,this)),this.scheduleGc()};return be(this,Nt,nw({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,f,x,v;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(w){l(w);return}(f=(p=F(this,vn).config).onSuccess)==null||f.call(p,h,this),(v=(x=F(this,vn).config).onSettled)==null||v.call(x,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{bt(this,Tn,vr).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{bt(this,Tn,vr).call(this,{type:"pause"})},onContinue:()=>{bt(this,Tn,vr).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),F(this,Nt).start()}},Ls=new WeakMap,Vs=new WeakMap,vn=new WeakMap,Nt=new WeakMap,Lo=new WeakMap,Fi=new WeakMap,Tn=new WeakSet,vr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...XE(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return ud(i)&&i.revert&&F(this,Vs)?{...F(this,Vs),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ot.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),F(this,vn).notify({query:this,type:"updated",action:t})})},av);function XE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ew(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function JE(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Yn,ov,eC=(ov=class extends yu{constructor(t={}){super();_e(this,Yn);this.config=t,be(this,Yn,new Map)}build(t,n,r){const i=n.queryKey,a=n.queryHash??kf(i,n);let o=this.get(a);return o||(o=new YE({cache:this,queryKey:i,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){F(this,Yn).has(t.queryHash)||(F(this,Yn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=F(this,Yn).get(t.queryHash);n&&(t.destroy(),n===t&&F(this,Yn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ot.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return F(this,Yn).get(t)}getAll(){return[...F(this,Yn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Og(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Og(t,r)):n}notify(t){Ot.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ot.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ot.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Yn=new WeakMap,ov),Xn,Pt,Li,Jn,$r,lv,tC=(lv=class extends rw{constructor(t){super();_e(this,Jn);_e(this,Xn);_e(this,Pt);_e(this,Li);this.mutationId=t.mutationId,be(this,Pt,t.mutationCache),be(this,Xn,[]),this.state=t.state||nC(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){F(this,Xn).includes(t)||(F(this,Xn).push(t),this.clearGcTimeout(),F(this,Pt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){be(this,Xn,F(this,Xn).filter(n=>n!==t)),this.scheduleGc(),F(this,Pt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){F(this,Xn).length||(this.state.status==="pending"?this.scheduleGc():F(this,Pt).remove(this))}continue(){var t;return((t=F(this,Li))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,o,l,c,u,d,h,p,f,x,v,w,m,g,y,k,C,E,_;be(this,Li,nw({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(I,B)=>{bt(this,Jn,$r).call(this,{type:"failed",failureCount:I,error:B})},onPause:()=>{bt(this,Jn,$r).call(this,{type:"pause"})},onContinue:()=>{bt(this,Jn,$r).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>F(this,Pt).canRun(this)}));const n=this.state.status==="pending",r=!F(this,Li).canStart();try{if(!n){bt(this,Jn,$r).call(this,{type:"pending",variables:t,isPaused:r}),await((a=(i=F(this,Pt).config).onMutate)==null?void 0:a.call(i,t,this));const B=await((l=(o=this.options).onMutate)==null?void 0:l.call(o,t));B!==this.state.context&&bt(this,Jn,$r).call(this,{type:"pending",context:B,variables:t,isPaused:r})}const I=await F(this,Li).start();return await((u=(c=F(this,Pt).config).onSuccess)==null?void 0:u.call(c,I,t,this.state.context,this)),await((h=(d=this.options).onSuccess)==null?void 0:h.call(d,I,t,this.state.context)),await((f=(p=F(this,Pt).config).onSettled)==null?void 0:f.call(p,I,null,this.state.variables,this.state.context,this)),await((v=(x=this.options).onSettled)==null?void 0:v.call(x,I,null,t,this.state.context)),bt(this,Jn,$r).call(this,{type:"success",data:I}),I}catch(I){try{throw await((m=(w=F(this,Pt).config).onError)==null?void 0:m.call(w,I,t,this.state.context,this)),await((y=(g=this.options).onError)==null?void 0:y.call(g,I,t,this.state.context)),await((C=(k=F(this,Pt).config).onSettled)==null?void 0:C.call(k,void 0,I,this.state.variables,this.state.context,this)),await((_=(E=this.options).onSettled)==null?void 0:_.call(E,void 0,I,t,this.state.context)),I}finally{bt(this,Jn,$r).call(this,{type:"error",error:I})}}finally{F(this,Pt).runNext(this)}}},Xn=new WeakMap,Pt=new WeakMap,Li=new WeakMap,Jn=new WeakSet,$r=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ot.batch(()=>{F(this,Xn).forEach(r=>{r.onMutationUpdate(t)}),F(this,Pt).notify({mutation:this,type:"updated",action:t})})},lv);function nC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Xt,Vo,cv,rC=(cv=class extends yu{constructor(t={}){super();_e(this,Xt);_e(this,Vo);this.config=t,be(this,Xt,new Map),be(this,Vo,Date.now())}build(t,n,r){const i=new tC({mutationCache:this,mutationId:++il(this,Vo)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=Cl(t),r=F(this,Xt).get(n)??[];r.push(t),F(this,Xt).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Cl(t);if(F(this,Xt).has(n)){const i=(r=F(this,Xt).get(n))==null?void 0:r.filter(a=>a!==t);i&&(i.length===0?F(this,Xt).delete(n):F(this,Xt).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=F(this,Xt).get(Cl(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=F(this,Xt).get(Cl(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Ot.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...F(this,Xt).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Rg(n,r))}findAll(t={}){return this.getAll().filter(n=>Rg(t,n))}notify(t){Ot.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ot.batch(()=>Promise.all(t.map(n=>n.continue().catch(_n))))}},Xt=new WeakMap,Vo=new WeakMap,cv);function Cl(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Fg(e){return{onFetch:(t,n)=>{var d,h,p,f,x;const r=t.options,i=(p=(h=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:h.fetchMore)==null?void 0:p.direction,a=((f=t.state.data)==null?void 0:f.pages)||[],o=((x=t.state.data)==null?void 0:x.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let v=!1;const w=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},m=Xb(t.options,t.fetchOptions),g=async(y,k,C)=>{if(v)return Promise.reject();if(k==null&&y.pages.length)return Promise.resolve(y);const E={queryKey:t.queryKey,pageParam:k,direction:C?"backward":"forward",meta:t.options.meta};w(E);const _=await m(E),{maxPages:I}=t.options,B=C?HE:WE;return{pages:B(y.pages,_,I),pageParams:B(y.pageParams,k,I)}};if(i&&a.length){const y=i==="backward",k=y?iC:Lg,C={pages:a,pageParams:o},E=k(r,C);l=await g(C,E,y)}else{const y=e??a.length;do{const k=c===0?o[0]??r.initialPageParam:Lg(r,l);if(c>0&&k==null)break;l=await g(l,k),c++}while(c<y)}return l};t.options.persister?t.fetchFn=()=>{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Lg(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function iC(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Qe,Yr,Xr,Bs,$s,Jr,Us,Ws,uv,sC=(uv=class{constructor(e={}){_e(this,Qe);_e(this,Yr);_e(this,Xr);_e(this,Bs);_e(this,$s);_e(this,Jr);_e(this,Us);_e(this,Ws);be(this,Qe,e.queryCache||new eC),be(this,Yr,e.mutationCache||new rC),be(this,Xr,e.defaultOptions||{}),be(this,Bs,new Map),be(this,$s,new Map),be(this,Jr,0)}mount(){il(this,Jr)._++,F(this,Jr)===1&&(be(this,Us,Jb.subscribe(async e=>{e&&(await this.resumePausedMutations(),F(this,Qe).onFocus())})),be(this,Ws,Tc.subscribe(async e=>{e&&(await this.resumePausedMutations(),F(this,Qe).onOnline())})))}unmount(){var e,t;il(this,Jr)._--,F(this,Jr)===0&&((e=F(this,Us))==null||e.call(this),be(this,Us,void 0),(t=F(this,Ws))==null||t.call(this),be(this,Ws,void 0))}isFetching(e){return F(this,Qe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return F(this,Yr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=F(this,Qe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=F(this,Qe).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(zg(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return F(this,Qe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=F(this,Qe).get(r.queryHash),a=i==null?void 0:i.state.data,o=FE(t,a);if(o!==void 0)return F(this,Qe).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Ot.batch(()=>F(this,Qe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=F(this,Qe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=F(this,Qe);Ot.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=F(this,Qe),r={type:"active",...e};return Ot.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Ot.batch(()=>F(this,Qe).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(_n).catch(_n)}invalidateQueries(e={},t={}){return Ot.batch(()=>{if(F(this,Qe).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Ot.batch(()=>F(this,Qe).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let a=i.fetch(void 0,n);return n.throwOnError||(a=a.catch(_n)),i.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(_n)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=F(this,Qe).build(this,t);return n.isStaleByTime(zg(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(_n).catch(_n)}fetchInfiniteQuery(e){return e.behavior=Fg(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(_n).catch(_n)}ensureInfiniteQueryData(e){return e.behavior=Fg(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Tc.isOnline()?F(this,Yr).resumePausedMutations():Promise.resolve()}getQueryCache(){return F(this,Qe)}getMutationCache(){return F(this,Yr)}getDefaultOptions(){return F(this,Xr)}setDefaultOptions(e){be(this,Xr,e)}setQueryDefaults(e,t){F(this,Bs).set(bo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...F(this,Bs).values()];let n={};return t.forEach(r=>{wo(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){F(this,$s).set(bo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...F(this,$s).values()];let n={};return t.forEach(r=>{wo(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...F(this,Xr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=kf(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===Nf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...F(this,Xr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){F(this,Qe).clear(),F(this,Yr).clear()}},Qe=new WeakMap,Yr=new WeakMap,Xr=new WeakMap,Bs=new WeakMap,$s=new WeakMap,Jr=new WeakMap,Us=new WeakMap,Ws=new WeakMap,uv),aC=b.createContext(void 0),oC=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),s.jsx(aC.Provider,{value:e,children:t}));/**
* @remix-run/router v1.20.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function jo(){return jo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jo.apply(this,arguments)}var ni;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ni||(ni={}));const Vg="popstate";function lC(e){e===void 0&&(e={});function t(r,i){let{pathname:a,search:o,hash:l}=r.location;return Fh("",{pathname:a,search:o,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Pc(i)}return uC(t,n,null,e)}function at(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function iw(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function cC(){return Math.random().toString(36).substr(2,8)}function Bg(e,t){return{usr:e.state,key:e.key,idx:t}}function Fh(e,t,n,r){return n===void 0&&(n=null),jo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?da(t):t,{state:n,key:t&&t.key||r||cC()})}function Pc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function da(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function uC(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,l=ni.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(jo({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function h(){l=ni.Pop;let w=d(),m=w==null?null:w-u;u=w,c&&c({action:l,location:v.location,delta:m})}function p(w,m){l=ni.Push;let g=Fh(v.location,w,m);u=d()+1;let y=Bg(g,u),k=v.createHref(g);try{o.pushState(y,"",k)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(k)}a&&c&&c({action:l,location:v.location,delta:1})}function f(w,m){l=ni.Replace;let g=Fh(v.location,w,m);u=d();let y=Bg(g,u),k=v.createHref(g);o.replaceState(y,"",k),a&&c&&c({action:l,location:v.location,delta:0})}function x(w){let m=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof w=="string"?w:Pc(w);return g=g.replace(/ $/,"%20"),at(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let v={get action(){return l},get location(){return e(i,o)},listen(w){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(Vg,h),c=w,()=>{i.removeEventListener(Vg,h),c=null}},createHref(w){return t(i,w)},createURL:x,encodeLocation(w){let m=x(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:p,replace:f,go(w){return o.go(w)}};return v}var $g;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})($g||($g={}));function dC(e,t,n){return n===void 0&&(n="/"),hC(e,t,n,!1)}function hC(e,t,n,r){let i=typeof t=="string"?da(t):t,a=Ef(i.pathname||"/",n);if(a==null)return null;let o=sw(e);pC(o);let l=null;for(let c=0;l==null&&c<o.length;++c){let u=NC(a);l=jC(o[c],u,r)}return l}function sw(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(a,o,l)=>{let c={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};c.relativePath.startsWith("/")&&(at(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=di([r,c.relativePath]),d=n.concat(c);a.children&&a.children.length>0&&(at(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),sw(a.children,t,d,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:bC(u,a.index),routesMeta:d})};return e.forEach((a,o)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))i(a,o);else for(let c of aw(a.path))i(a,o,c)}),t}function aw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=aw(r.join("/")),l=[];return l.push(...o.map(c=>c===""?a:[a,c].join("/"))),i&&l.push(...o),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function pC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:wC(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const fC=/^:[\w-]+$/,mC=3,gC=2,xC=1,vC=10,yC=-2,Ug=e=>e==="*";function bC(e,t){let n=e.split("/"),r=n.length;return n.some(Ug)&&(r+=yC),t&&(r+=gC),n.filter(i=>!Ug(i)).reduce((i,a)=>i+(fC.test(a)?mC:a===""?xC:vC),r)}function wC(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function jC(e,t,n){let{routesMeta:r}=e,i={},a="/",o=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,d=a==="/"?t:t.slice(a.length)||"/",h=Wg({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),p=c.route;if(!h&&u&&n&&!r[r.length-1].route.index&&(h=Wg({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!h)return null;Object.assign(i,h.params),o.push({params:i,pathname:di([a,h.pathname]),pathnameBase:AC(di([a,h.pathnameBase])),route:p}),h.pathnameBase!=="/"&&(a=di([a,h.pathnameBase]))}return o}function Wg(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=kC(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:r.reduce((u,d,h)=>{let{paramName:p,isOptional:f}=d;if(p==="*"){let v=l[h]||"";o=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}const x=l[h];return f&&!x?u[p]=void 0:u[p]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:o,pattern:e}}function kC(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),iw(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 r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function NC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return iw(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ef(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function EC(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?da(e):e;return{pathname:n?n.startsWith("/")?n:CC(n,t):t,search:_C(r),hash:TC(i)}}function CC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function dd(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function SC(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ow(e,t){let n=SC(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function lw(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=da(e):(i=jo({},e),at(!i.pathname||!i.pathname.includes("?"),dd("?","pathname","search",i)),at(!i.pathname||!i.pathname.includes("#"),dd("#","pathname","hash",i)),at(!i.search||!i.search.includes("#"),dd("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,l;if(o==null)l=n;else{let h=t.length-1;if(!r&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),h-=1;i.pathname=p.join("/")}l=h>=0?t[h]:"/"}let c=EC(i,l),u=o&&o!=="/"&&o.endsWith("/"),d=(a||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const di=e=>e.join("/").replace(/\/\/+/g,"/"),AC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_C=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,TC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function PC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const cw=["post","put","patch","delete"];new Set(cw);const IC=["get",...cw];new Set(IC);/**
* React Router v6.27.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function ko(){return ko=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ko.apply(this,arguments)}const Cf=b.createContext(null),zC=b.createContext(null),ns=b.createContext(null),wu=b.createContext(null),Ci=b.createContext({outlet:null,matches:[],isDataRoute:!1}),uw=b.createContext(null);function OC(e,t){let{relative:n}=t===void 0?{}:t;Xo()||at(!1);let{basename:r,navigator:i}=b.useContext(ns),{hash:a,pathname:o,search:l}=fw(e,{relative:n}),c=o;return r!=="/"&&(c=o==="/"?r:di([r,o])),i.createHref({pathname:c,search:l,hash:a})}function Xo(){return b.useContext(wu)!=null}function rs(){return Xo()||at(!1),b.useContext(wu).location}function dw(e){b.useContext(ns).static||b.useLayoutEffect(e)}function hw(){let{isDataRoute:e}=b.useContext(Ci);return e?ZC():RC()}function RC(){Xo()||at(!1);let e=b.useContext(Cf),{basename:t,future:n,navigator:r}=b.useContext(ns),{matches:i}=b.useContext(Ci),{pathname:a}=rs(),o=JSON.stringify(ow(i,n.v7_relativeSplatPath)),l=b.useRef(!1);return dw(()=>{l.current=!0}),b.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let h=lw(u,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:di([t,h.pathname])),(d.replace?r.replace:r.push)(h,d.state,d)},[t,r,o,a,e])}function pw(){let{matches:e}=b.useContext(Ci),t=e[e.length-1];return t?t.params:{}}function fw(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(ns),{matches:i}=b.useContext(Ci),{pathname:a}=rs(),o=JSON.stringify(ow(i,r.v7_relativeSplatPath));return b.useMemo(()=>lw(e,JSON.parse(o),a,n==="path"),[e,o,a,n])}function DC(e,t){return MC(e,t)}function MC(e,t,n,r){Xo()||at(!1);let{navigator:i}=b.useContext(ns),{matches:a}=b.useContext(Ci),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=rs(),d;if(t){var h;let w=typeof t=="string"?da(t):t;c==="/"||(h=w.pathname)!=null&&h.startsWith(c)||at(!1),d=w}else d=u;let p=d.pathname||"/",f=p;if(c!=="/"){let w=c.replace(/^\//,"").split("/");f="/"+p.replace(/^\//,"").split("/").slice(w.length).join("/")}let x=dC(e,{pathname:f}),v=$C(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:di([c,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:di([c,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),a,n,r);return t&&v?b.createElement(wu.Provider,{value:{location:ko({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:ni.Pop}},v):v}function FC(){let e=qC(),t=PC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const LC=b.createElement(FC,null);class VC extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(Ci.Provider,{value:this.props.routeContext},b.createElement(uw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function BC(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(Cf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Ci.Provider,{value:t},r)}function $C(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let d=o.findIndex(h=>h.route.id&&(l==null?void 0:l[h.route.id])!==void 0);d>=0||at(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<o.length;d++){let h=o[d];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=d),h.route.id){let{loaderData:p,errors:f}=n,x=h.route.loader&&p[h.route.id]===void 0&&(!f||f[h.route.id]===void 0);if(h.route.lazy||x){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,h,p)=>{let f,x=!1,v=null,w=null;n&&(f=l&&h.route.id?l[h.route.id]:void 0,v=h.route.errorElement||LC,c&&(u<0&&p===0?(x=!0,w=null):u===p&&(x=!0,w=h.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,p+1)),g=()=>{let y;return f?y=v:x?y=w:h.route.Component?y=b.createElement(h.route.Component,null):h.route.element?y=h.route.element:y=d,b.createElement(BC,{match:h,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:y})};return n&&(h.route.ErrorBoundary||h.route.errorElement||p===0)?b.createElement(VC,{location:n.location,revalidation:n.revalidation,component:v,error:f,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var mw=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(mw||{}),Ic=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ic||{});function UC(e){let t=b.useContext(Cf);return t||at(!1),t}function WC(e){let t=b.useContext(zC);return t||at(!1),t}function HC(e){let t=b.useContext(Ci);return t||at(!1),t}function gw(e){let t=HC(),n=t.matches[t.matches.length-1];return n.route.id||at(!1),n.route.id}function qC(){var e;let t=b.useContext(uw),n=WC(Ic.UseRouteError),r=gw(Ic.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function ZC(){let{router:e}=UC(mw.UseNavigateStable),t=gw(Ic.UseNavigateStable),n=b.useRef(!1);return dw(()=>{n.current=!0}),b.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ko({fromRouteId:t},a)))},[e,t])}function kt(e){at(!1)}function GC(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ni.Pop,navigator:a,static:o=!1,future:l}=e;Xo()&&at(!1);let c=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:c,navigator:a,static:o,future:ko({v7_relativeSplatPath:!1},l)}),[c,l,a,o]);typeof r=="string"&&(r=da(r));let{pathname:d="/",search:h="",hash:p="",state:f=null,key:x="default"}=r,v=b.useMemo(()=>{let w=Ef(d,c);return w==null?null:{location:{pathname:w,search:h,hash:p,state:f,key:x},navigationType:i}},[c,d,h,p,f,x,i]);return v==null?null:b.createElement(ns.Provider,{value:u},b.createElement(wu.Provider,{children:n,value:v}))}function KC(e){let{children:t,location:n}=e;return DC(Lh(t),n)}new Promise(()=>{});function Lh(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let a=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Lh(r.props.children,a));return}r.type!==kt&&at(!1),!r.props.index||!r.props.children||at(!1);let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Lh(r.props.children,a)),n.push(o)}),n}/**
* React Router DOM v6.27.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Vh(){return Vh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vh.apply(this,arguments)}function QC(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function YC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function XC(e,t){return e.button===0&&(!t||t==="_self")&&!YC(e)}const JC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],eS="6";try{window.__reactRouterVersion=eS}catch{}const tS="startTransition",Hg=wv[tS];function nS(e){let{basename:t,children:n,future:r,window:i}=e,a=b.useRef();a.current==null&&(a.current=lC({window:i,v5Compat:!0}));let o=a.current,[l,c]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=b.useCallback(h=>{u&&Hg?Hg(()=>c(h)):c(h)},[c,u]);return b.useLayoutEffect(()=>o.listen(d),[o,d]),b.createElement(GC,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}const rS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",iS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ge=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:o,state:l,target:c,to:u,preventScrollReset:d,viewTransition:h}=t,p=QC(t,JC),{basename:f}=b.useContext(ns),x,v=!1;if(typeof u=="string"&&iS.test(u)&&(x=u,rS))try{let y=new URL(window.location.href),k=u.startsWith("//")?new URL(y.protocol+u):new URL(u),C=Ef(k.pathname,f);k.origin===y.origin&&C!=null?u=C+k.search+k.hash:v=!0}catch{}let w=OC(u,{relative:i}),m=sS(u,{replace:o,state:l,target:c,preventScrollReset:d,relative:i,viewTransition:h});function g(y){r&&r(y),y.defaultPrevented||m(y)}return b.createElement("a",Vh({},p,{href:x||w,onClick:v||a?r:g,ref:n,target:c}))});var qg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(qg||(qg={}));var Zg;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zg||(Zg={}));function sS(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,viewTransition:l}=t===void 0?{}:t,c=hw(),u=rs(),d=fw(e,{relative:o});return b.useCallback(h=>{if(XC(h,n)){h.preventDefault();let p=r!==void 0?r:Pc(u)===Pc(d);c(e,{replace:p,state:i,preventScrollReset:a,relative:o,viewTransition:l})}},[u,c,d,r,i,n,e,a,o,l])}const aS=du("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-base font-semibold tracking-wide ring-offset-background transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-brand-primary text-white shadow-button-primary hover:bg-info hover:-translate-y-0.5",terracotta:"bg-coral text-white shadow-button-terracotta hover:bg-coral hover:-translate-y-0.5",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border-2 border-brand-primary text-brand-primary bg-transparent hover:bg-brand-primary hover:text-white hover:-translate-y-0.5",secondary:"bg-coral text-white shadow-button-terracotta hover:bg-coral hover:-translate-y-0.5",ghost:"hover:bg-neutral-50 hover:text-brand-primary",link:"text-brand-primary underline-offset-4 hover:underline"},size:{default:"h-auto px-8 py-4",sm:"h-9 rounded-md px-4",lg:"h-auto px-10 py-5 text-lg",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Se=b.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},a)=>{const o=r?mo:"button";return s.jsx(o,{className:Pe(aS({variant:t,size:n,className:e})),ref:a,...i})});Se.displayName="Button";const Gt=()=>{const e=rs(),[t,n]=b.useState(!1),[r,i]=b.useState(!0),[a,o]=b.useState(!1);b.useEffect(()=>{let c=window.scrollY;const u=()=>{const d=window.scrollY;d<c||d<20?i(!0):d>c&&d>88&&i(!1),n(d>20),c=d};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]);const l=[{name:"Home",href:"/"},{name:"Diensten",href:"/diensten"},{name:"Klant cases",href:"/case-studies"},{name:"Blog",href:"/blog"},{name:"Onze Aanpak",href:"/proces"},{name:"Over Ons",href:"/over-ons"},{name:"FAQ",href:"/faq"}];return s.jsxs(s.Fragment,{children:[s.jsx("header",{className:Pe("fixed top-0 left-0 right-0 z-50 transition-transform duration-300 h-[88px] flex items-center","bg-white/95 backdrop-blur-md shadow-sm border-b border-gray-100",!r&&"-translate-y-full"),children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx(ge,{to:"/",className:"flex items-center group",children:s.jsx("img",{src:"/deltaflow_logodeltaflow_logo_text_side.svg",alt:"DeltaFlowAI Logo",className:"h-10 w-auto transition-transform duration-300 group-hover:scale-105"})}),s.jsx("nav",{className:"hidden md:flex items-center space-x-8",children:l.map(c=>s.jsxs(ge,{to:c.href,className:Pe("text-base font-medium transition-all duration-300 relative group py-2",e.pathname===c.href?"text-brand-primary":"text-neutral-900 hover:text-brand-primary"),children:[c.name,s.jsx("span",{className:Pe("absolute bottom-0 left-0 h-[2px] bg-coral transition-all duration-300 ease-out",e.pathname===c.href?"w-full":"w-0 group-hover:w-full")})]},c.name))}),s.jsx("div",{className:"hidden md:flex items-center space-x-4",children:s.jsx(ge,{to:"/contact",className:"text-brand-primary hover:text-coral transition-colors font-medium",children:"Contact"})}),s.jsx("button",{className:"md:hidden p-2 text-neutral-900",onClick:()=>o(!a),"aria-label":a?"Sluit menu":"Open menu",children:a?s.jsx(pu,{className:"h-6 w-6"}):s.jsx(WN,{className:"h-6 w-6"})})]})})}),a&&s.jsx("div",{className:"md:hidden fixed inset-0 z-40 bg-brand-primary pt-24 px-6 animate-fade-in-up",children:s.jsxs("nav",{className:"flex flex-col space-y-6",children:[l.map(c=>s.jsx(ge,{to:c.href,className:Pe("text-2xl font-semibold transition-colors block border-b border-white/10 pb-4",e.pathname===c.href?"text-coral":"text-white hover:text-coral"),onClick:()=>o(!1),children:c.name},c.name)),s.jsx(Se,{asChild:!0,className:"w-full mt-8 bg-white text-brand-primary hover:bg-white/90 shadow-none",children:s.jsx(ge,{to:"/contact",onClick:()=>o(!1),children:"Plan een afspraak"})})]})})]})},Kt=()=>s.jsx("footer",{className:"bg-neutral-900 py-24 text-neutral-50",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-12",children:[s.jsxs("div",{className:"space-y-6",children:[s.jsx(ge,{to:"/",className:"flex items-center",children:s.jsx("img",{src:"/deltaflow_logodeltaflow_logo_text_side.svg",alt:"DeltaFlowAI Logo",className:"h-10 w-auto brightness-0 invert"})}),s.jsx("p",{className:"text-neutral-50 text-base leading-relaxed",children:"AI-automatisering voor Nederlandse bedrijven. Meer tijd voor wat echt belangrijk is."}),s.jsxs("div",{className:"flex space-x-4",children:[s.jsx("a",{href:"https://www.linkedin.com/company/delta-flow-ai",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",className:"w-10 h-10 bg-white/10 rounded-lg flex items-center justify-center hover:bg-white/20 transition-colors cursor-pointer",children:s.jsx(lb,{className:"w-5 h-5 text-white hover:text-info transition-colors"})}),s.jsx("a",{href:"https://www.instagram.com/deltaflowai/",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"w-10 h-10 bg-white/10 rounded-lg flex items-center justify-center hover:bg-white/20 transition-colors cursor-pointer",children:s.jsx(ob,{className:"w-5 h-5 text-white hover:text-info transition-colors"})}),s.jsx("a",{href:"https://www.facebook.com/people/DeltaFlow-Ai/61576941871069/",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"w-10 h-10 bg-white/10 rounded-lg flex items-center justify-center hover:bg-white/20 transition-colors cursor-pointer",children:s.jsx(RN,{className:"w-5 h-5 text-white hover:text-info transition-colors"})})]})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold mb-6 text-xl text-white",children:"Navigatie"}),s.jsxs("ul",{className:"space-y-4 text-base",children:[s.jsx("li",{children:s.jsx(ge,{to:"/",className:"text-neutral-50 hover:text-info transition-colors duration-300 hover:translate-x-1 inline-block",children:"Home"})}),s.jsx("li",{children:s.jsx(ge,{to:"/over-ons",className:"text-neutral-50 hover:text-info transition-colors duration-300 hover:translate-x-1 inline-block",children:"Over Ons"})}),s.jsx("li",{children:s.jsx(ge,{to:"/diensten",className:"text-neutral-50 hover:text-info transition-colors duration-300 hover:translate-x-1 inline-block",children:"Diensten"})}),s.jsx("li",{children:s.jsx(ge,{to:"/blog",className:"text-neutral-50 hover:text-info transition-colors duration-300 hover:translate-x-1 inline-block",children:"Blog"})})]})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold mb-6 text-xl text-white",children:"Support"}),s.jsxs("ul",{className:"space-y-4 text-base",children:[s.jsx("li",{children:s.jsx(ge,{to:"/proces",className:"text-neutral-50 hover:text-info transition-colors duration-300 hover:translate-x-1 inline-block",children:"Onze aanpak"})}),s.jsx("li",{children:s.jsx(ge,{to:"/faq",className:"text-neutral-50 hover:text-info transition-colors duration-300 hover:translate-x-1 inline-block",children:"Veelgestelde Vragen"})}),s.jsx("li",{children:s.jsx(ge,{to:"/contact",className:"text-neutral-50 hover:text-info transition-colors duration-300 hover:translate-x-1 inline-block",children:"Contact"})}),s.jsx("li",{children:s.jsx(ge,{to:"/algemene-voorwaarden",className:"text-neutral-50 hover:text-info transition-colors duration-300 hover:translate-x-1 inline-block",children:"Algemene Voorwaarden"})}),s.jsx("li",{children:s.jsx(ge,{to:"/privacyverklaring",className:"text-neutral-50 hover:text-info transition-colors duration-300 hover:translate-x-1 inline-block",children:"Privacyverklaring"})})]})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold mb-6 text-xl text-white",children:"Contact"}),s.jsx("div",{children:s.jsxs("div",{className:"space-y-6 text-base text-neutral-50",children:[s.jsxs("div",{className:"flex items-center space-x-3",children:[s.jsx("div",{className:"w-8 h-8 bg-brand-primary/20 rounded-lg flex items-center justify-center",children:s.jsx("span",{className:"text-base text-info",children:"📞"})}),s.jsx("span",{children:"+31 (0)6-18435899"})]}),s.jsxs("div",{className:"flex items-center space-x-3",children:[s.jsx("div",{className:"w-8 h-8 bg-brand-primary/20 rounded-lg flex items-center justify-center",children:s.jsx("span",{className:"text-base text-info",children:"📧"})}),s.jsx("span",{children:"business@deltaflowai.nl"})]}),s.jsxs("div",{className:"flex items-start space-x-3",children:[s.jsx("div",{className:"w-8 h-8 bg-brand-primary/20 rounded-lg flex items-center justify-center flex-shrink-0",children:s.jsx("span",{className:"text-base text-info",children:"📍"})}),s.jsxs("div",{children:[s.jsx("span",{className:"font-medium text-white",children:"Bezoekadres"}),s.jsx("span",{className:"block text-neutral-50/80 mt-1",children:"Roggenplaat 10, 4301 WX, Zierikzee (op afspraak)"})]})]}),s.jsxs("div",{className:"flex items-start space-x-3",children:[s.jsx("div",{className:"w-8 h-8 bg-brand-primary/20 rounded-lg flex items-center justify-center flex-shrink-0",children:s.jsx("span",{className:"text-base text-info",children:"✉️"})}),s.jsxs("div",{children:[s.jsx("span",{className:"font-medium text-white",children:"Postadres"}),s.jsx("span",{className:"block text-neutral-50/80 mt-1",children:"Roggenplaat 10, 4301 WX, Zierikzee"})]})]})]})})]})]}),s.jsx("div",{className:"mt-20 pt-8 border-t-2 border-coral text-center text-sm text-neutral-50/60",children:s.jsxs("div",{className:"flex flex-col items-center justify-center gap-2 sm:flex-row sm:gap-4",children:[s.jsx("span",{children:"© 2025 DeltaFlowAI B.V. Alle rechten voorbehouden."}),s.jsx("span",{children:"KVK: 98385984"})]})})]})}),oS=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(!1);return b.useEffect(()=>{const i=()=>{window.scrollY>800&&!n?t(!0):t(!1)};return window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)},[n]),e?s.jsx("div",{className:"fixed bottom-6 right-6 z-50 animate-fade-in-up",children:s.jsxs("div",{className:"relative",children:[s.jsx(Se,{size:"lg",variant:"terracotta",asChild:!0,className:"shadow-2xl hover:shadow-3xl transition-all pr-12",children:s.jsxs(ge,{to:"/contact",children:["Plan Gratis Adviesgesprek",s.jsx(ht,{className:"ml-2 w-5 h-5"})]})}),s.jsx("button",{onClick:()=>r(!0),className:"absolute -top-2 -right-2 w-6 h-6 bg-neutral-800 text-white rounded-full flex items-center justify-center hover:bg-neutral-900 transition-colors","aria-label":"Dismiss",children:s.jsx(pu,{className:"w-4 h-4"})})]})}):null};var lS=typeof Element<"u",cS=typeof Map=="function",uS=typeof Set=="function",dS=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Zl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Zl(e[r],t[r]))return!1;return!0}var a;if(cS&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!Zl(r.value[1],t.get(r.value[0])))return!1;return!0}if(uS&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(dS&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(lS&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Zl(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var hS=function(t,n){try{return Zl(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const pS=Ji(hS);var fS=function(e,t,n,r,i,a,o,l){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,l],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},mS=fS;const Gg=Ji(mS);var gS=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),l=Object.keys(n);if(o.length!==l.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<o.length;u++){var d=o[u];if(!c(d))return!1;var h=t[d],p=n[d];if(a=r?r.call(i,h,p,d):void 0,a===!1||a===void 0&&h!==p)return!1}return!0};const xS=Ji(gS);var xw=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(xw||{}),hd={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Kg=Object.values(xw),Sf={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},vS=Object.entries(Sf).reduce((e,[t,n])=>(e[n]=t,e),{}),On="data-rh",Ps={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Is=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},yS=e=>{let t=Is(e,"title");const n=Is(e,Ps.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Is(e,Ps.DEFAULT_TITLE);return t||r||void 0},bS=e=>Is(e,Ps.ON_CHANGE_CLIENT_STATE)||(()=>{}),pd=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),wS=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let a=0;a<i.length;a+=1){const l=i[a].toLowerCase();if(e.indexOf(l)!==-1&&r[l])return n.concat(r)}}return n},[]),jS=e=>console&&typeof console.warn=="function"&&console.warn(e),Na=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&jS(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,a)=>{const o={};a.filter(c=>{let u;const d=Object.keys(c);for(let p=0;p<d.length;p+=1){const f=d[p],x=f.toLowerCase();t.indexOf(x)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(x==="rel"&&c[x].toLowerCase()==="stylesheet")&&(u=x),t.indexOf(f)!==-1&&(f==="innerHTML"||f==="cssText"||f==="itemprop")&&(u=f)}if(!u||!c[u])return!1;const h=c[u].toLowerCase();return r[u]||(r[u]={}),o[u]||(o[u]={}),r[u][h]?!1:(o[u][h]=!0,!0)}).reverse().forEach(c=>i.push(c));const l=Object.keys(o);for(let c=0;c<l.length;c+=1){const u=l[c],d={...r[u],...o[u]};r[u]=d}return i},[]).reverse()},kS=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},NS=e=>({baseTag:wS(["href"],e),bodyAttributes:pd("bodyAttributes",e),defer:Is(e,Ps.DEFER),encode:Is(e,Ps.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:pd("htmlAttributes",e),linkTags:Na("link",["rel","href"],e),metaTags:Na("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Na("noscript",["innerHTML"],e),onChangeClientState:bS(e),scriptTags:Na("script",["src","innerHTML"],e),styleTags:Na("style",["cssText"],e),title:yS(e),titleAttributes:pd("titleAttributes",e),prioritizeSeoTags:kS(e,Ps.PRIORITIZE_SEO_TAGS)}),vw=e=>Array.isArray(e)?e.join(""):e,ES=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},fd=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(ES(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},Qg=(e,t)=>({...e,[t]:void 0}),CS=["noscript","script","style"],Bh=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),yw=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),SS=(e,t,n,r)=>{const i=yw(n),a=vw(t);return i?`<${e} ${On}="true" ${i}>${Bh(a,r)}</${e}>`:`<${e} ${On}="true">${Bh(a,r)}</${e}>`},AS=(e,t,n=!0)=>t.reduce((r,i)=>{const a=i,o=Object.keys(a).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const h=typeof a[d]>"u"?d:`${d}="${Bh(a[d],n)}"`;return u?`${u} ${h}`:h},""),l=a.innerHTML||a.cssText||"",c=CS.indexOf(e)===-1;return`${r}<${e} ${On}="true" ${o}${c?"/>":`>${l}</${e}>`}`},""),bw=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=Sf[r];return n[i||r]=e[r],n},t),_S=(e,t,n)=>{const r={key:t,[On]:!0},i=bw(n,r);return[R.createElement("title",i,t)]},Gl=(e,t)=>t.map((n,r)=>{const i={key:r,[On]:!0};return Object.keys(n).forEach(a=>{const l=Sf[a]||a;if(l==="innerHTML"||l==="cssText"){const c=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:c}}else i[l]=n[a]}),R.createElement(e,i)}),xn=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>_S(e,t.title,t.titleAttributes),toString:()=>SS(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>bw(t),toString:()=>yw(t)};default:return{toComponent:()=>Gl(e,t),toString:()=>AS(e,t,n)}}},TS=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=fd(e,hd.meta),a=fd(t,hd.link),o=fd(n,hd.script);return{priorityMethods:{toComponent:()=>[...Gl("meta",i.priority),...Gl("link",a.priority),...Gl("script",o.priority)],toString:()=>`${xn("meta",i.priority,r)} ${xn("link",a.priority,r)} ${xn("script",o.priority,r)}`},metaTags:i.default,linkTags:a.default,scriptTags:o.default}},PS=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:a,styleTags:o,title:l="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:h,scriptTags:p}=e,f={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:f,linkTags:d,metaTags:h,scriptTags:p}=TS(e)),{priority:f,base:xn("base",t,r),bodyAttributes:xn("bodyAttributes",n,r),htmlAttributes:xn("htmlAttributes",i,r),link:xn("link",d,r),meta:xn("meta",h,r),noscript:xn("noscript",a,r),script:xn("script",p,r),style:xn("style",o,r),title:xn("title",{title:l,titleAttributes:c},r)}},$h=PS,Sl=[],ww=!!(typeof window<"u"&&window.document&&window.document.createElement),Uh=class{constructor(e,t){mr(this,"instances",[]);mr(this,"canUseDOM",ww);mr(this,"context");mr(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Sl:this.instances,add:e=>{(this.canUseDOM?Sl:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Sl:this.instances).indexOf(e);(this.canUseDOM?Sl:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=$h({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},IS={},jw=R.createContext(IS),Vi,kw=(Vi=class extends b.Component{constructor(n){super(n);mr(this,"helmetData");this.helmetData=new Uh(this.props.context||{},Vi.canUseDOM)}render(){return R.createElement(jw.Provider,{value:this.helmetData.value},this.props.children)}},mr(Vi,"canUseDOM",ww),Vi),as=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${On}]`),i=[].slice.call(r),a=[];let o;return t&&t.length&&t.forEach(l=>{const c=document.createElement(e);for(const u in l)if(Object.prototype.hasOwnProperty.call(l,u))if(u==="innerHTML")c.innerHTML=l.innerHTML;else if(u==="cssText")c.styleSheet?c.styleSheet.cssText=l.cssText:c.appendChild(document.createTextNode(l.cssText));else{const d=u,h=typeof l[d]>"u"?"":l[d];c.setAttribute(u,h)}c.setAttribute(On,"true"),i.some((u,d)=>(o=d,c.isEqualNode(u)))?i.splice(o,1):a.push(c)}),i.forEach(l=>{var c;return(c=l.parentNode)==null?void 0:c.removeChild(l)}),a.forEach(l=>n.appendChild(l)),{oldTags:i,newTags:a}},Wh=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(On),i=r?r.split(","):[],a=[...i],o=Object.keys(t);for(const l of o){const c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),i.indexOf(l)===-1&&i.push(l);const u=a.indexOf(l);u!==-1&&a.splice(u,1)}for(let l=a.length-1;l>=0;l-=1)n.removeAttribute(a[l]);i.length===a.length?n.removeAttribute(On):n.getAttribute(On)!==o.join(",")&&n.setAttribute(On,o.join(","))},zS=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=vw(e)),Wh("title",t)},Yg=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:a,metaTags:o,noscriptTags:l,onChangeClientState:c,scriptTags:u,styleTags:d,title:h,titleAttributes:p}=e;Wh("body",r),Wh("html",i),zS(h,p);const f={baseTag:as("base",n),linkTags:as("link",a),metaTags:as("meta",o),noscriptTags:as("noscript",l),scriptTags:as("script",u),styleTags:as("style",d)},x={},v={};Object.keys(f).forEach(w=>{const{newTags:m,oldTags:g}=f[w];m.length&&(x[w]=m),g.length&&(v[w]=f[w].oldTags)}),t&&t(),c(e,x,v)},Ea=null,OS=e=>{Ea&&cancelAnimationFrame(Ea),e.defer?Ea=requestAnimationFrame(()=>{Yg(e,()=>{Ea=null})}):(Yg(e),Ea=null)},RS=OS,Xg=class extends b.Component{constructor(){super(...arguments);mr(this,"rendered",!1)}shouldComponentUpdate(t){return!xS(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=NS(t.get().map(a=>{const o={...a.props};return delete o.context,o}));kw.canUseDOM?RS(i):$h&&(r=$h(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Id,pr=(Id=class extends b.Component{shouldComponentUpdate(e){return!pS(Qg(this.props,"helmetData"),Qg(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return Gg(Kg.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Kg.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Gg(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return R.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...a}=r.props,o=Object.keys(a).reduce((c,u)=>(c[vS[u]||u]=a[u],c),{});let{type:l}=r;switch(typeof l=="symbol"?l=l.toString():this.warnOnInvalidChildren(r,i),l){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,i);break;default:t=this.mapObjectTypeChildren(r,t,o,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Uh)){const i=r;r=new Uh(i.context,!0),delete n.helmetData}return r?R.createElement(Xg,{...n,context:r.value}):R.createElement(jw.Consumer,null,i=>R.createElement(Xg,{...n,context:i}))}},mr(Id,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Id);const DS=()=>{const[e,t]=b.useState(0),[n,r]=b.useState(!1),i=b.useRef(null),a=[{id:0,number:"01",title:"Maatwerk AI Ontwikkeling",description:"Custom oplossingen met LLMs en machine learning. Van document-verwerking tot complete workflow automatisering.",bullets:["Integratie met bestaande systemen","Schaalbare architectuur","Continue optimalisatie"],image:"/images/home/dashboard-image.webp"},{id:1,number:"02",title:"AI Strategie & Advies",description:"We analyseren uw processen en identificeren kansen voor slimme automatisering. Van quick-scan tot volledig implementatieplan.",bullets:["Grondige procesanalyse","Identificatie van AI-kansen","Implementatie roadmap"],image:"/images/home/rehan-coding.webp"},{id:2,number:"03",title:"Data Analyse",description:"Haal meer uit uw data met geavanceerde analyses en voorspellende modellen. Maak datagedreven beslissingen voor uw bedrijf.",bullets:["Inzicht in bedrijfswaarde","Voorspellende modellen","Data visualisatie"],image:"/images/home/Nino-scherm-final.webp"},{id:3,number:"04",title:"AI Trainingen",description:"Leer uw team effectief werken met AI-tools zoals ChatGPT. Praktische hands-on workshops afgestemd op uw bedrijf.",bullets:["Custom GPT ontwikkeling","Team workshops","Best practices & use cases"],image:"/images/home/deltaflow_training_foto.webp"}],o=()=>{i.current&&(n?(i.current.pause(),r(!1)):(i.current.play(),r(!0)))},l=()=>{r(!1),i.current&&(i.current.currentTime=0)};return s.jsxs("div",{className:"min-h-screen bg-[#FAFAFA] selection:bg-[#E57373]/30",style:{fontFamily:"'Plus Jakarta Sans', sans-serif"},children:[s.jsxs(pr,{children:[s.jsx("title",{children:"DeltaFlow AI - AI-automatisering voor Nederlandse bedrijven"}),s.jsx("meta",{name:"description",content:"Automatiseer uw bedrijfsprocessen met praktische AI-oplossingen. Bespaar tijd op repetitieve taken. Gratis adviesgesprek voor bedrijven in Nederland."}),s.jsx("meta",{property:"og:title",content:"DeltaFlow AI - AI-automatisering voor bedrijven"}),s.jsx("meta",{property:"og:description",content:"Automatiseer uw bedrijfsprocessen met praktische AI-oplossingen. Bespaar tijd op repetitieve taken."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{property:"og:image",content:"/deltaflow_logodeltaflow_logo_text_side.svg"}),s.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),s.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),s.jsx("link",{href:"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap",rel:"stylesheet"})]}),s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsxs("section",{className:"relative pt-32 pb-24 lg:pt-48 lg:pb-32 overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 w-full h-full overflow-hidden",children:[s.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"absolute inset-0 w-full h-full object-cover",style:{filter:"brightness(0.7)"},children:s.jsx("source",{src:"/animations/homepage_hero_animation.webm",type:"video/webm"})}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#1565C0]/85 via-[#1976D2]/75 to-[#1565C0]/85"}),s.jsx("div",{className:"absolute inset-0 bg-[#0D47A1]/20"}),s.jsx("div",{className:"absolute inset-0 opacity-30",style:{background:"radial-gradient(circle at 30% 50%, rgba(229, 115, 115, 0.3) 0%, transparent 50%)",animation:"pulse 8s ease-in-out infinite"}})]}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10 max-w-[1200px]",children:s.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8",children:s.jsxs("div",{className:"lg:col-span-7 text-left",children:[s.jsxs("h1",{className:"text-[40px] lg:text-[56px] font-bold mb-8 text-white leading-tight tracking-tight animate-fade-in-up",style:{animationDelay:"0.15s",letterSpacing:"-1.5px"},children:["Laat je bedrijf groeien met"," ",s.jsxs("span",{className:"relative inline-block",children:["AI workflows",s.jsx("svg",{className:"absolute w-full -bottom-2 left-0",height:"12",viewBox:"0 0 300 12",fill:"none",preserveAspectRatio:"none",children:s.jsx("path",{d:"M0 6 Q 150 12 300 6",stroke:"#E57373",strokeWidth:"3",fill:"none",opacity:"0.8"})})]})]}),s.jsxs("p",{className:"text-[18px] lg:text-[20px] text-white/90 mb-10 max-w-[600px] leading-relaxed animate-fade-in-up",style:{animationDelay:"0.2s"},children:[s.jsx("span",{className:"font-semibold text-[#FF8A65]",children:"Wij automatiseren wat moet, jij focust op wat telt."})," ","Met AI die niet vervangt, maar versterkt."," ","Data veilig in de EU."," "]}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 animate-fade-in-up",style:{animationDelay:"0.3s"},children:[s.jsx(Se,{size:"lg",asChild:!0,className:"bg-[#E57373] hover:bg-[#FF8A65] text-white font-semibold text-base px-8 py-4 rounded-lg shadow-[0px_8px_20px_rgba(21,101,192,0.25)] hover:shadow-[0px_12px_28px_rgba(21,101,192,0.35)] transition-all duration-300 hover:-translate-y-0.5",style:{letterSpacing:"0.5px"},children:s.jsxs(ge,{to:"/contact",className:"inline-flex items-center",children:["Plan Gratis Adviesgesprek",s.jsx(ht,{className:"ml-2 w-5 h-5"})]})}),s.jsx(Se,{size:"lg",variant:"outline",asChild:!0,className:"border-2 border-white text-white hover:bg-white hover:text-[#1565C0] font-semibold text-base px-8 py-4 rounded-lg transition-all duration-300",style:{letterSpacing:"0.5px"},children:s.jsxs(ge,{to:"/ai-scan",className:"inline-flex items-center",children:[s.jsx(Ec,{className:"w-5 h-5 mr-2"}),"Start Gratis AI Scan"]})})]})]})})})]}),s.jsx("section",{className:"py-12 bg-[#FAFAFA] border-b border-[#263238]/10",children:s.jsxs("div",{className:"container mx-auto px-4 max-w-[1200px]",children:[s.jsx("p",{className:"text-center text-sm font-medium text-[#546E7A] mb-8 uppercase tracking-widest",children:"Vertrouwd door"}),s.jsxs("div",{className:"flex flex-wrap justify-center items-center gap-12 lg:gap-20 transition-all duration-500",children:[s.jsx("img",{src:"logos/fysio-tholen-logo.png",alt:"Fysio Tholen",className:"h-16 object-contain hover:scale-110 transition-transform"}),s.jsx("img",{src:"logos/VU-logo-transparent.png",alt:"VU",className:"h-16 object-contain hover:scale-110 transition-transform"}),s.jsx("img",{src:"logos/SAMAN_LOGO_FULLCOLOR.webp",alt:"SAMAN",className:"h-16 object-contain hover:scale-110 transition-transform"}),s.jsx("img",{src:"logos/FenF_Logo_FC_lig-transparant.webp",alt:"Faasse & Fermont",className:"h-16 object-contain hover:scale-110 transition-transform"}),s.jsx("img",{src:"logos/Pablo-logo-compressed.png",alt:"Pablo Beer",className:"h-16 object-contain hover:scale-110 transition-transform"})]})]})}),s.jsx("section",{className:"py-24 lg:py-32 bg-[#F5F5F5] relative overflow-hidden",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 relative z-10 max-w-[1200px]",children:[s.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 mb-16",children:s.jsxs("div",{className:"lg:col-span-7",children:[s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-bold text-[#1565C0] mb-6 leading-tight tracking-tight",style:{letterSpacing:"-1px"},children:"Hoe kunnen we jouw bedrijf helpen?"}),s.jsxs("p",{className:"text-[18px] lg:text-[20px] text-[#546E7A] leading-relaxed max-w-[600px]",children:["We automatiseren de taken die jou en je team nu dagelijks uren kosten."," ",s.jsx("span",{className:"font-semibold text-[#263238]",children:"Denk aan subsidieaanvragen, klantvragen, transcripties, taxaties"}),": het gebeurt voortaan automatisch, foutloos en veel sneller."]})]})}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8",children:[{icon:MN,title:"Subsidieaanvragen voorbereiden",desc:"Van formulier tot indienen, inclusief juiste documenten en berekeningen",delay:"0.1s"},{icon:HN,title:"Klantvragen beantwoorden",desc:"24/7 chatbot die complexe vragen snapt en doorverwijst waar nodig",delay:"0.2s"},{icon:qN,title:"Voicememos transcriberen",desc:"Van gesproken notities naar gestructureerde taken in je CRM",delay:"0.3s"},{icon:AN,title:"Taxaties genereren",desc:"Geautomatiseerde waarderingsrapporten voor vastgoed of inventaris",delay:"0.4s"}].map((c,u)=>s.jsxs("div",{className:"group bg-white rounded-2xl p-8 shadow-[0px_10px_30px_rgba(38,50,56,0.08)] hover:shadow-[0px_15px_40px_rgba(38,50,56,0.12)] hover:scale-[1.02] transition-all duration-300 animate-fade-in-up",style:{animationDelay:c.delay},children:[s.jsx("div",{className:"w-12 h-12 bg-[#1565C0]/10 rounded-xl flex items-center justify-center mb-6 text-[#1565C0] group-hover:bg-[#1565C0] group-hover:text-white transition-all duration-300",children:s.jsx(c.icon,{className:"w-6 h-6",strokeWidth:2})}),s.jsx("h3",{className:"text-[22px] font-semibold text-[#263238] mb-3",children:c.title}),s.jsx("p",{className:"text-[16px] text-[#546E7A] leading-relaxed",children:c.desc})]},u))}),s.jsxs("div",{className:"text-center mt-16 animate-fade-in-up",style:{animationDelay:"0.4s"},children:[s.jsx("p",{className:"text-[18px] text-[#546E7A] mb-6 font-medium",children:"En nog veel meer mogelijkheden voor jouw bedrijf"}),s.jsx(Se,{size:"lg",asChild:!0,className:"bg-[#E57373] hover:bg-[#FF8A65] text-white font-semibold text-base px-8 py-4 rounded-lg shadow-[0px_8px_20px_rgba(229,115,115,0.25)] hover:shadow-[0px_12px_28px_rgba(229,115,115,0.35)] transition-all duration-300 hover:-translate-y-0.5",style:{letterSpacing:"0.5px"},children:s.jsxs(ge,{to:"/case-studies",className:"inline-flex items-center",children:["Bekijk enkele klantcases",s.jsx(ht,{className:"ml-2 w-5 h-5"})]})})]})]})}),s.jsx("section",{className:"py-24 lg:py-32 bg-white relative overflow-hidden",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-[1400px]",children:[s.jsxs("div",{className:"text-center mb-16",children:[s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-bold text-[#1565C0] mb-6 leading-tight tracking-tight",style:{letterSpacing:"-1px"},children:"Wat zijn onze expertises?"}),s.jsx("p",{className:"text-[18px] lg:text-[20px] text-[#546E7A] leading-relaxed max-w-3xl mx-auto",children:"Van strategie tot implementatie. Wij zijn uw partner in AI transformatie met een focus op meetbaar resultaat."})]}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16 items-start",children:[s.jsx("div",{className:"relative order-2 lg:order-1",children:s.jsx("div",{className:"sticky top-24",children:s.jsx("div",{className:"relative rounded-3xl overflow-hidden shadow-[0px_20px_60px_rgba(38,50,56,0.12)] aspect-[4/3] bg-gradient-to-br from-[#E3F2FD] to-[#F5F5F5]",children:s.jsx("div",{className:"absolute inset-0",children:a.map((c,u)=>s.jsx("img",{src:c.image,alt:c.title,className:`absolute inset-0 w-full h-full object-cover transition-opacity duration-500 ${e===u?"opacity-100":"opacity-0"}`},c.id))})})})}),s.jsx("div",{className:"space-y-4 order-1 lg:order-2",children:a.map((c,u)=>s.jsx("div",{className:`rounded-2xl border-2 transition-all duration-400 cursor-pointer ${e===u?"border-[#1565C0] bg-white shadow-[0px_10px_40px_rgba(21,101,192,0.12)]":"border-gray-200 bg-white hover:border-[#1565C0]/40 hover:shadow-md"}`,onClick:()=>t(u),children:s.jsxs("div",{className:"p-6 lg:p-8",children:[s.jsxs("div",{className:"flex items-start gap-4",children:[e===u&&s.jsx("div",{className:"w-1 h-full bg-[#1565C0] rounded-full absolute left-0 top-0 bottom-0"}),s.jsxs("div",{className:`text-[24px] lg:text-[28px] font-bold transition-colors duration-300 ${e===u?"text-[#1565C0]":"text-[#546E7A]"}`,children:[c.number,"."]}),s.jsx("div",{className:"flex-1",children:s.jsx("h3",{className:`text-[20px] lg:text-[24px] font-bold leading-tight transition-colors duration-300 ${e===u?"text-[#263238]":"text-[#546E7A]"}`,children:c.title})})]}),s.jsx("div",{className:`transition-all duration-500 overflow-hidden ${e===u?"max-h-[600px] opacity-100 mt-6":"max-h-0 opacity-0 mt-0"}`,children:s.jsxs("div",{className:"ml-12",children:[s.jsx("p",{className:"text-[16px] lg:text-[18px] text-[#546E7A] leading-relaxed mb-6",children:c.description}),s.jsx("div",{className:"space-y-3",children:c.bullets.map((d,h)=>s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:"w-5 h-5 rounded-full bg-[#1565C0]/10 flex items-center justify-center flex-shrink-0 mt-0.5",children:s.jsx(go,{className:"w-3 h-3 text-[#1565C0]",strokeWidth:3})}),s.jsx("span",{className:"text-[15px] lg:text-[16px] text-[#546E7A] leading-relaxed",children:d})]},h))})]})})]})},c.id))})]}),s.jsxs("div",{className:"text-center mt-16 animate-fade-in-up",style:{animationDelay:"0.4s"},children:[s.jsx("p",{className:"text-[18px] text-[#546E7A] mb-6 font-medium",children:"Ontdek alle diensten en mogelijkheden"}),s.jsx(Se,{size:"lg",asChild:!0,className:"bg-[#E57373] hover:bg-[#FF8A65] text-white font-semibold text-base px-8 py-4 rounded-lg shadow-[0px_8px_20px_rgba(229,115,115,0.25)] hover:shadow-[0px_12px_28px_rgba(229,115,115,0.35)] transition-all duration-300 hover:-translate-y-0.5",style:{letterSpacing:"0.5px"},children:s.jsxs(ge,{to:"/diensten",className:"inline-flex items-center",children:["Bekijk alle diensten",s.jsx(ht,{className:"ml-2 w-5 h-5"})]})})]})]})}),s.jsx("section",{className:"py-24 lg:py-32 bg-[#F5F5F5] relative overflow-hidden",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-[1200px]",children:[s.jsxs("div",{className:"text-center mb-16 max-w-[800px] mx-auto",children:[s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-bold text-[#1565C0] mb-6 leading-tight tracking-tight",style:{letterSpacing:"-1px"},children:"Hoe werken wij?"}),s.jsx("p",{className:"text-[18px] lg:text-[20px] text-[#546E7A] leading-relaxed",children:"Van idee naar resultaat in 4 weken. Ons bewezen proces zorgt ervoor dat u snel en risicoloos aan de slag gaat met AI-automatisering."})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8 mb-12",children:[{icon:hf,week:"Week 1",title:"Gratis Procesanalyse",desc:"We identificeren samen het proces met de grootste impact en adviseren eerlijk of AI-automatisering past.",delay:"0.1s"},{icon:xo,week:"Week 2-3",title:"Proof of Concept",desc:"U ziet een werkende demo met uw eigen data. Geen theorie, maar tastbaar resultaat.",delay:"0.2s"},{icon:df,week:"Week 4",title:"Implementatie",desc:"We integreren de oplossing in uw systemen, trainen uw team en gaan live onder onze begeleiding.",delay:"0.3s"},{icon:Qo,week:"Doorlopend",title:"Optimalisatie",desc:"Continue verbetering en identificatie van nieuwe automatiseringskansen voor uw bedrijf.",delay:"0.4s"}].map((c,u)=>s.jsxs("div",{className:"relative group animate-fade-in-up",style:{animationDelay:c.delay},children:[u<3&&s.jsx("div",{className:"hidden lg:block absolute top-12 left-[60%] w-full h-0.5 bg-gradient-to-r from-[#1565C0]/30 to-transparent z-0"}),s.jsxs("div",{className:"relative z-10 bg-white rounded-2xl p-6 shadow-[0px_10px_30px_rgba(38,50,56,0.08)] hover:shadow-[0px_15px_40px_rgba(38,50,56,0.12)] hover:scale-[1.02] transition-all duration-300 h-full flex flex-col",children:[s.jsx("div",{className:"w-14 h-14 bg-[#1565C0] rounded-xl flex items-center justify-center mb-4 text-white group-hover:bg-[#E57373] transition-colors duration-300",children:s.jsx(c.icon,{className:"w-7 h-7",strokeWidth:2})}),s.jsx("div",{className:"inline-flex items-center px-3 py-1 rounded-full bg-[#1565C0]/10 text-[#1565C0] text-sm font-semibold mb-3 w-fit",children:c.week}),s.jsx("h3",{className:"text-[20px] font-bold text-[#263238] mb-3",children:c.title}),s.jsx("p",{className:"text-[15px] text-[#546E7A] leading-relaxed flex-grow",children:c.desc})]})]},u))}),s.jsxs("div",{className:"text-center animate-fade-in-up",style:{animationDelay:"0.5s"},children:[s.jsx("p",{className:"text-[16px] text-[#546E7A] mb-6 font-medium",children:"Wil je meer weten over ons proces?"}),s.jsx(Se,{size:"lg",variant:"outline",asChild:!0,className:"bg-[#E57373] hover:bg-[#FF8A65] text-white font-semibold text-base px-8 py-4 rounded-lg shadow-[0px_8px_20px_rgba(229,115,115,0.25)] hover:shadow-[0px_12px_28px_rgba(229,115,115,0.35)] transition-all duration-300 hover:-translate-y-0.5",style:{letterSpacing:"0.5px"},children:s.jsxs(ge,{to:"/proces",className:"inline-flex items-center",children:["Bekijk het volledige proces",s.jsx(ht,{className:"ml-2 w-5 h-5"})]})})]})]})}),s.jsx("section",{className:"py-24 lg:py-32 bg-[#FAFAFA] relative overflow-hidden",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10 max-w-[1200px]",children:s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-16 items-center",children:[s.jsxs("div",{className:"lg:col-span-7",children:[s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-bold text-[#1565C0] mb-8 leading-tight tracking-tight",style:{letterSpacing:"-1px"},children:"Waarom DeltaFlowAI?"}),s.jsx("div",{className:"space-y-8",children:[{icon:pf,title:"Veilig & Vertrouwd",desc:"Data blijft in Europa. Volledig compliant en veilig."},{icon:go,title:"Voorloper met Visie",desc:"Wij scheiden de hype van de realiteit. U krijgt bewezen oplossingen."},{icon:qa,title:"Persoonlijke Aanpak",desc:"Geen one-size-fits-all. Wij duiken in uw specifieke situatie."}].map((c,u)=>s.jsxs("div",{className:"flex gap-6 animate-fade-in-up",style:{animationDelay:`${u*.1}s`},children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#1565C0]/10 flex items-center justify-center shrink-0 text-[#1565C0]",children:s.jsx(c.icon,{className:"w-6 h-6",strokeWidth:2})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-[20px] lg:text-[22px] font-bold text-[#263238] mb-2",children:c.title}),s.jsx("p",{className:"text-[16px] text-[#546E7A] leading-relaxed",children:c.desc})]})]},u))})]}),s.jsx("div",{className:"lg:col-span-5 relative flex justify-center lg:justify-end",children:s.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-[0px_20px_60px_rgba(38,50,56,0.15)] hover:scale-[1.01] transition-transform duration-500 max-w-[300px] w-full cursor-pointer group",onClick:o,children:[s.jsx("video",{ref:i,loop:!0,playsInline:!0,className:"w-full h-auto object-contain",onEnded:l,children:s.jsx("source",{src:"/videos/home/pablo-jeremy.webm",type:"video/webm"})}),s.jsx("div",{className:"absolute inset-0 bg-[#1565C0]/5 mix-blend-multiply pointer-events-none"}),s.jsx("div",{className:`absolute inset-0 flex items-center justify-center bg-black/30 transition-opacity duration-300 ${n?"opacity-0 group-hover:opacity-100":"opacity-100"}`,children:s.jsx("div",{className:"w-16 h-16 rounded-full bg-[#E57373] flex items-center justify-center shadow-[0px_8px_30px_rgba(229,115,115,0.5)] hover:bg-[#FF8A65] hover:scale-110 transition-all duration-300",children:n?s.jsx(cb,{className:"w-8 h-8 text-white"}):s.jsx(ub,{className:"w-8 h-8 text-white ml-1"})})})]})})]})})}),s.jsx("section",{className:"py-32 bg-[#1565C0] relative overflow-hidden",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 text-center relative z-10 max-w-[800px]",children:[s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-bold text-white mb-8 leading-tight tracking-tight",style:{letterSpacing:"-1px"},children:"Klaar om te innoveren?"}),s.jsx("p",{className:"text-[18px] lg:text-[20px] text-white/90 mb-12 leading-relaxed max-w-[600px] mx-auto",children:"Plan vandaag nog een vrijblijvend gesprek en ontdek hoe AI uw bedrijfsprocessen kan transformeren."}),s.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:s.jsx(Se,{size:"lg",asChild:!0,className:"bg-[#E57373] hover:bg-[#FF8A65] text-white font-semibold text-base px-8 py-4 rounded-lg shadow-[0px_8px_20px_rgba(229,115,115,0.25)] hover:shadow-[0px_12px_28px_rgba(229,115,115,0.35)] transition-all duration-300 hover:-translate-y-0.5",style:{letterSpacing:"0.5px"},children:s.jsxs(ge,{to:"/contact",className:"inline-flex items-center",children:["Plan uw gratis adviesgesprek",s.jsx(ht,{className:"ml-2 w-5 h-5"})]})})})]})})]}),s.jsx(Kt,{}),s.jsx(oS,{})]})},MS=()=>{const e=b.useRef(null);return b.useEffect(()=>(e.current=new IntersectionObserver(t=>{t.forEach(n=>{n.isIntersecting&&n.target.classList.add("animate-fade-in-up")})},{threshold:.1,rootMargin:"0px 0px -100px 0px"}),document.querySelectorAll(".scroll-reveal").forEach(t=>{var n;(n=e.current)==null||n.observe(t)}),()=>{var t;return(t=e.current)==null?void 0:t.disconnect()}),[]),s.jsxs("div",{className:"min-h-screen bg-[hsl(var(--off-white))] font-sans selection:bg-[hsl(var(--accent-coral))]/30",children:[s.jsxs(pr,{children:[s.jsx("title",{children:"Over DeltaFlowAI: Zeeuwse AI-automatisering voor bedrijven"}),s.jsx("meta",{name:"description",content:"Ontmoet het team achter DeltaFlowAI. Drie Zeeuwse ondernemers die AI-automatisering toegankelijk maken voor bedrijven. Expertise in strategie, technologie en business."}),s.jsx("meta",{property:"og:title",content:"Over DeltaFlowAI: Het team achter praktische AI-automatisering"}),s.jsx("meta",{property:"og:description",content:"Drie founders met één missie: AI-automatisering toegankelijk maken voor Nederlandse bedrijven. Van Zierikzee naar heel Nederland."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{property:"og:image",content:"/images/team-founders-new.webp"}),s.jsx("link",{rel:"canonical",href:"https://deltaflowai.nl/over-ons"}),s.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"DeltaFlowAI",url:"https://deltaflowai.nl",logo:"https://deltaflowai.nl/deltaflow_logo_text_side.svg",description:"AI-automatisering voor Nederlandse bedrijven",foundingDate:"2024",founders:[{"@type":"Person",name:"Rehan Saif",jobTitle:"Co-Founder & Business Lead"},{"@type":"Person",name:"Derk van den Doel",jobTitle:"Co-Founder & Tech Lead"},{"@type":"Person",name:"Nino van der Niet",jobTitle:"Co-Founder & Sales Lead"}],address:{"@type":"PostalAddress",streetAddress:"Roggenplaat 10",addressLocality:"Zierikzee",postalCode:"4301 WX",addressCountry:"NL"}})})]}),s.jsx(Gt,{}),s.jsxs("main",{className:"overflow-hidden",children:[s.jsxs("section",{className:"relative pt-32 pb-24 lg:pb-32 bg-brand-primary overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none","aria-hidden":"true",children:[s.jsx("svg",{className:"absolute -top-32 -right-32 w-[600px] h-[600px] opacity-[0.08]",viewBox:"0 0 600 600",fill:"none",children:s.jsx("path",{d:"M300,50 Q450,100 500,250 T450,500 Q300,550 150,450 T100,200 Q150,50 300,50 Z",fill:"white"})}),s.jsx("svg",{className:"absolute -bottom-24 -left-24 w-[500px] h-[500px] opacity-[0.06]",viewBox:"0 0 500 500",fill:"none",children:s.jsx("path",{d:"M250,100 Q400,150 450,300 T350,450 Q200,500 100,350 T150,150 Q200,100 250,100 Z",fill:"#2196F3"})}),s.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-[0.03]"})]}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsxs("div",{className:"lg:grid lg:grid-cols-12 lg:gap-8 items-center",children:[s.jsxs("div",{className:"lg:col-start-2 lg:col-span-6 mb-12 lg:mb-0",children:[s.jsx("div",{className:"w-24 h-1 bg-[hsl(var(--accent-coral))] rounded-full mb-8"}),s.jsx("h1",{className:"text-h1-mobile lg:text-h1-desktop font-bold mb-6 text-white leading-tight",children:"Over DeltaFlowAI"}),s.jsx("p",{className:"text-lead-mobile lg:text-lead text-white/90 mb-8 max-w-xl",children:"Het gaat niet alleen om wat we doen, maar wie we zijn en waarom we het doen."}),s.jsxs("a",{href:"#team",className:"inline-flex items-center gap-2 px-8 py-4 bg-[hsl(var(--accent-coral))] hover:bg-[hsl(var(--soft-coral))] text-white rounded-lg transition-all duration-300 font-semibold text-base tracking-wide shadow-button-coral hover:-translate-y-0.5",children:["Ontmoet het team",s.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]}),s.jsx("div",{className:"lg:col-span-5 relative",children:s.jsxs("div",{className:"relative group",children:[s.jsx("div",{className:"absolute -top-3 -left-3 w-20 h-1.5 bg-[hsl(var(--accent-coral))] rounded-full z-10 transition-all duration-300 group-hover:w-24"}),s.jsx("div",{className:"absolute inset-0 bg-brand-primary/20 rounded-xl blur-2xl transform translate-y-4 scale-95"}),s.jsxs("div",{className:"relative rounded-xl overflow-hidden border-2 border-white/10 shadow-[0_20px_60px_-15px_rgba(0,0,0,0.3)]",children:[s.jsx("img",{src:"/images/over-ons/team-founders-new.webp",alt:"DeltaFlowAI founders team photo",className:"w-full h-[380px] object-cover object-top transition-all duration-500 group-hover:scale-105",loading:"eager",width:"1024",height:"768"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-brand-primary/20 via-transparent to-transparent pointer-events-none"})]}),s.jsx("div",{className:"absolute -bottom-3 -right-3 w-16 h-16 border-2 border-[hsl(var(--accent-coral))]/30 rounded-lg transform rotate-12 transition-all duration-300 group-hover:rotate-6"})]})})]})}),s.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-16 overflow-hidden pointer-events-none",children:s.jsx("svg",{className:"absolute bottom-0 w-full h-24",viewBox:"0 0 1200 100",preserveAspectRatio:"none",children:s.jsx("path",{d:"M0,20 Q300,60 600,40 T1200,30 L1200,100 L0,100 Z",fill:"hsl(var(--off-white))",className:"transition-all duration-500"})})})]}),s.jsx("section",{className:"py-24 lg:py-32 bg-[hsl(var(--off-white))] relative",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs("div",{className:"lg:grid lg:grid-cols-12 lg:gap-12 items-center",children:[s.jsxs("div",{className:"lg:col-start-2 lg:col-span-6 scroll-reveal opacity-0 mb-12 lg:mb-0",children:[s.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[s.jsx("div",{className:"w-20 h-1 bg-[hsl(var(--accent-coral))] rounded-full"}),s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-semibold text-brand-primary",children:"Ons Verhaal"})]}),s.jsx("p",{className:"text-body-mobile lg:text-body text-[hsl(var(--medium-gray))] mb-6 leading-relaxed",children:"DeltaFlowAI is opgericht door drie Zeeuwse ondernemers die technologie en business expertise samenbrengen. Onze naam weerspiegelt onze wortels in de Zeeuwse delta en onze ambitie om bedrijfsprocessen soepel te laten stromen met AI."}),s.jsx("p",{className:"text-body-mobile lg:text-body text-[hsl(var(--medium-gray))] mb-8 leading-relaxed",children:"Geboren uit de overtuiging dat alle bedrijven moeten kunnen profiteren van de nieuwste AI-technologie, zonder in te leveren op persoonlijk contact of controle."}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mt-12",children:[s.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-card border-l-4 border-brand-primary hover:shadow-card-hover transition-all duration-300",children:[s.jsx("h3",{className:"text-xl font-bold text-brand-primary mb-3",children:"Delta"}),s.jsx("p",{className:"text-[hsl(var(--medium-gray))] text-sm leading-relaxed",children:"Symbool voor verandering (Δ) en verwijzing naar de Zeeuwse Delta."})]}),s.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-card border-l-4 border-[hsl(var(--accent-coral))] hover:shadow-card-hover transition-all duration-300",children:[s.jsx("h3",{className:"text-xl font-bold text-brand-primary mb-3",children:"Flow"}),s.jsx("p",{className:"text-[hsl(var(--medium-gray))] text-sm leading-relaxed",children:"Natuurlijke beweging en optimale productiviteit."})]}),s.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-card border-l-4 border-brand-primary hover:shadow-card-hover transition-all duration-300",children:[s.jsx("h3",{className:"text-xl font-bold text-brand-primary mb-3",children:"AI"}),s.jsx("p",{className:"text-[hsl(var(--medium-gray))] text-sm leading-relaxed",children:"Slimme automatisering die mensen vrijmaakt."})]})]})]}),s.jsx("div",{className:"lg:col-span-5 scroll-reveal opacity-0",style:{animationDelay:"0.2s"},children:s.jsxs("div",{className:"relative",children:[s.jsx("svg",{className:"absolute -top-8 -left-8 w-32 h-32 text-brand-primary opacity-10",viewBox:"0 0 100 100",fill:"none",children:s.jsx("path",{d:"M10,50 Q30,10 50,30 T90,50 Q70,90 50,70 T10,50 Z",fill:"currentColor"})}),s.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-card",children:[s.jsx("img",{src:"/images/over-ons/deltawerken_optimized.webp",alt:"AI gegenereerde afbeelding van de Deltawerken",className:"w-full h-auto object-cover",loading:"lazy",width:"1200",height:"675"}),s.jsx("div",{className:"absolute inset-0 bg-brand-primary/5 pointer-events-none"})]})]})})]})})}),s.jsx("section",{id:"team",className:"py-24 lg:py-32 bg-[hsl(var(--off-white))] relative",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-5xl",children:[s.jsxs("div",{className:"text-center mb-20 scroll-reveal opacity-0",children:[s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-semibold text-brand-primary mb-4",children:"Ons Team"}),s.jsx("p",{className:"text-lead-mobile lg:text-lead text-[hsl(var(--medium-gray))] max-w-2xl mx-auto",children:"Drie founders met complementaire expertise en één gedeelde missie"})]}),s.jsxs("div",{className:"space-y-20 lg:space-y-24",children:[s.jsxs("div",{className:"scroll-reveal opacity-0 grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-center",style:{animationDelay:"0.1s"},children:[s.jsxs("div",{className:"order-2 lg:order-1",children:[s.jsx("h3",{className:"text-2xl lg:text-3xl font-bold text-brand-primary mb-2",children:"Rehan Saif"}),s.jsx("p",{className:"text-[hsl(var(--accent-coral))] font-semibold text-sm mb-6 uppercase tracking-wide",children:"Co-Founder & Business Lead"}),s.jsx("p",{className:"text-[hsl(var(--medium-gray))] text-base lg:text-lg leading-relaxed mb-8",children:"Tijdens borrels merkte Rehan dat veel ondernemers wel een idee hadden van AI, maar niet zozeer wisten hoe ze hier mee moesten beginnen en helemaal niet hoe ze hier waarde uit konden halen, en zo is het idee voor DeltaFlow ontstaan. De jarenlange ervaring bij verschillende bedrijven in Nederland en buitenland in het bouwen van AI en data oplossingen zet hij nu graag in om MKB'ers ook de vruchten te laten plukken van AI. In welke fase en sector je ook zit, hij helpt je graag een aantal waardevolle use-cases in kaart te brengen die jou als ondernemer voorsprong geven op je concurrenten."}),s.jsxs("a",{href:"https://www.linkedin.com/in/rehan-saif-a72835112/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 bg-brand-primary hover:bg-brand-secondary text-white rounded-lg transition-all duration-300 text-sm font-semibold shadow-button-primary hover:-translate-y-0.5",children:[s.jsx("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:s.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),"LinkedIn"]})]}),s.jsx("div",{className:"order-1 lg:order-2",children:s.jsx("div",{className:"relative rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300 group",children:s.jsx("div",{className:"w-full aspect-square bg-gradient-to-br from-brand-primary/5 to-[hsl(var(--accent-coral))]/5 overflow-hidden rounded-lg",children:s.jsx("img",{src:"/images/over-ons/portret/rehan-saif-new.webp",alt:"Rehan Saif",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",loading:"lazy",width:"400",height:"400"})})})})]}),s.jsxs("div",{className:"scroll-reveal opacity-0 grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-center",style:{animationDelay:"0.2s"},children:[s.jsx("div",{children:s.jsx("div",{className:"relative rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300 group",children:s.jsx("div",{className:"w-full aspect-square bg-gradient-to-br from-brand-primary/5 to-[hsl(var(--accent-coral))]/5 overflow-hidden rounded-lg",children:s.jsx("img",{src:"/images/over-ons/portret/derk-van-den-doel.webp",alt:"Derk van den Doel",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",loading:"lazy",width:"400",height:"400"})})})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-2xl lg:text-3xl font-bold text-brand-primary mb-2",children:"Derk van den Doel"}),s.jsx("p",{className:"text-[hsl(var(--accent-coral))] font-semibold text-sm mb-6 uppercase tracking-wide",children:"Co-Founder & Tech Lead"}),s.jsx("p",{className:"text-[hsl(var(--medium-gray))] text-base lg:text-lg leading-relaxed mb-8",children:"Gedurende zijn master AI en werk bij verschillende bedrijven zag Derk hoe AI steeds toegankelijker werd. Waar voorheen alleen grote corporates konden profiteren, is slimme technologie nu voor iedereen bereikbaar. Met zijn technische kennis zorgt hij dat jouw ideeën werkelijkheid worden. Of het nu gaat om koppeling met bestaande systemen of nieuwe oplossingen bouwen - hij maakt het mogelijk. Zijn werkwijze? Iteratief ontwerpen met klantfeedback centraal. Als Tech Lead gelooft hij dat alle bedrijven dezelfde technologische voorsprong verdienen als grote bedrijven. En daar zorgt hij voor."}),s.jsxs("a",{href:"https://www.linkedin.com/in/derkdoel/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 bg-brand-primary hover:bg-brand-secondary text-white rounded-lg transition-all duration-300 text-sm font-semibold shadow-button-primary hover:-translate-y-0.5",children:[s.jsx("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:s.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),"LinkedIn"]})]})]}),s.jsxs("div",{className:"scroll-reveal opacity-0 grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-center",style:{animationDelay:"0.3s"},children:[s.jsxs("div",{className:"order-2 lg:order-1",children:[s.jsx("h3",{className:"text-2xl lg:text-3xl font-bold text-brand-primary mb-2",children:"Nino van der Niet"}),s.jsx("p",{className:"text-[hsl(var(--accent-coral))] font-semibold text-sm mb-6 uppercase tracking-wide",children:"Co-Founder & Sales Lead"}),s.jsx("p",{className:"text-[hsl(var(--medium-gray))] text-base lg:text-lg leading-relaxed mb-8",children:"In gesprekken met ondernemers viel het Nino al snel op: veel mensen zien wel dat AI kansen biedt, maar hoe je daar concreet mee aan de slag gaat en er écht waarde uithaalt, blijft vaak vaag. Samen met zijn mede-oprichters wil hij laten zien dat AI niet alleen iets is voor grote corporates, maar juist ook voor alle bedrijven enorme kansen biedt. Welke sector je ook zit, Nino helpt je graag ontdekken waar slimme toepassingen jou direct voordeel opleveren. De kans is groot dat jij als eerste met hem in contact komt. Als mede-oprichter van DeltaFlowAI is hij namelijk de brug tussen jouw ondernemersvraag en een slimme AI-oplossing. Met zijn jarenlange ervaring in marketing en zowel de B2B- als B2C-wereld weet hij precies hoe hij jouw uitdagingen kan vertalen naar mogelijkheden. Geen technische buzzwords, maar duidelijke taal, eerlijke communicatie en altijd met een glimlach."}),s.jsxs("a",{href:"https://www.linkedin.com/in/nino-van-der-niet-21b59596/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 bg-brand-primary hover:bg-brand-secondary text-white rounded-lg transition-all duration-300 text-sm font-semibold shadow-button-primary hover:-translate-y-0.5",children:[s.jsx("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:s.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),"LinkedIn"]})]}),s.jsx("div",{className:"order-1 lg:order-2",children:s.jsx("div",{className:"relative rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300 group",children:s.jsx("div",{className:"w-full aspect-square bg-gradient-to-br from-brand-primary/5 to-[hsl(var(--accent-coral))]/5 overflow-hidden rounded-lg",children:s.jsx("img",{alt:"Nino van der Niet",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",src:"/images/over-ons/portret/Nino-poseer-1.webp",loading:"lazy",width:"400",height:"400"})})})})]})]})]})}),s.jsxs("section",{className:"py-24 lg:py-32 bg-[hsl(var(--warm-beige))] relative overflow-hidden",children:[s.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none","aria-hidden":"true",children:s.jsx("svg",{className:"absolute top-1/2 left-0 w-full h-64 -translate-y-1/2 opacity-[0.08]",viewBox:"0 0 1200 200",preserveAspectRatio:"none",children:s.jsx("path",{d:"M0,100 Q300,50 600,100 T1200,100",stroke:"hsl(var(--brand-primary))",strokeWidth:"4",fill:"none",opacity:"0.8"})})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center scroll-reveal opacity-0",children:[s.jsx("div",{className:"w-24 h-1 bg-[hsl(var(--accent-coral))] mx-auto rounded-full mb-8"}),s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-semibold text-brand-primary mb-6",children:"Onze Missie"}),s.jsx("p",{className:"text-lead-mobile lg:text-lead text-[hsl(var(--charcoal))] max-w-3xl mx-auto leading-relaxed font-medium mb-12",children:'"Wij bevrijden mensen van repetitieve taken zodat zij kunnen excelleren in wat écht belangrijk is. Met slimme AI-oplossingen maken we het verschil — toegankelijk, persoonlijk en 100% vertrouwd."'}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[s.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 bg-brand-primary hover:bg-brand-secondary text-white rounded-lg transition-all duration-300 font-semibold text-base tracking-wide shadow-button-primary hover:-translate-y-0.5",children:["Start uw AI-reis",s.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})]}),s.jsx("a",{href:"/services",className:"inline-flex items-center gap-2 px-8 py-4 bg-transparent hover:bg-[hsl(var(--accent-coral))] text-brand-primary hover:text-white border-2 border-brand-primary hover:border-[hsl(var(--accent-coral))] rounded-lg transition-all duration-300 font-semibold text-base tracking-wide",children:"Bekijk onze diensten"})]})]})})]})]}),s.jsx(Kt,{})]})},xt=b.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Pe("rounded-2xl border-none bg-card text-card-foreground shadow-card hover:shadow-card-hover hover:scale-[1.02] transition-all duration-300",e),...t}));xt.displayName="Card";const FS=b.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Pe("flex flex-col space-y-1.5 p-6",e),...t}));FS.displayName="CardHeader";const LS=b.forwardRef(({className:e,...t},n)=>s.jsx("h3",{ref:n,className:Pe("text-2xl font-semibold leading-none tracking-tight",e),...t}));LS.displayName="CardTitle";const VS=b.forwardRef(({className:e,...t},n)=>s.jsx("p",{ref:n,className:Pe("text-sm text-muted-foreground",e),...t}));VS.displayName="CardDescription";const wn=b.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Pe("p-6 pt-0",e),...t}));wn.displayName="CardContent";const BS=b.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:Pe("flex items-center p-6 pt-0",e),...t}));BS.displayName="CardFooter";const $S=()=>s.jsxs("div",{className:"min-h-screen bg-neutral-50 font-sans selection:bg-coral/30",children:[s.jsxs(pr,{children:[s.jsx("title",{children:"AI Automatisering Diensten - Strategie, Ontwikkeling & Data | DeltaFlow AI"}),s.jsx("meta",{name:"description",content:"Van AI strategie tot maatwerk ontwikkeling en data-analyse. Volledige EU-compliant automatiseringsoplossingen voor bedrijven. Gratis adviesgesprek beschikbaar."}),s.jsx("meta",{property:"og:title",content:"AI Automatisering Diensten | DeltaFlow AI"}),s.jsx("meta",{property:"og:description",content:"Ontdek onze diensten: AI Strategie & Advies, Maatwerk Ontwikkeling, Data Analyse en Custom GPTs. Volledige EU-compliance."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("link",{rel:"canonical",href:"https://deltaflowai.nl/diensten"}),s.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Service",name:"AI Automatisering Diensten",provider:{"@type":"Organization",name:"DeltaFlow AI",url:"https://deltaflowai.nl"},serviceType:"AI Automation & Consulting",areaServed:"NL",hasOfferCatalog:{"@type":"OfferCatalog",name:"AI Automatisering Services",itemListElement:[{"@type":"Offer",itemOffered:{"@type":"Service",name:"AI Strategie & Advies",description:"Procesanalyse en automatiseringsadvies voor bedrijven"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Maatwerk AI Ontwikkeling",description:"Custom AI-oplossingen met LLMs en machine learning"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Data Analyse & Inzichten",description:"Business intelligence en predictive analytics"}}]}})})]}),s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsxs("section",{className:"relative py-32 lg:py-40 overflow-hidden bg-brand-primary text-white",children:[s.jsx("svg",{className:"absolute top-0 right-0 w-1/2 h-full opacity-10",viewBox:"0 0 500 800",preserveAspectRatio:"none","aria-hidden":"true",children:s.jsx("path",{d:"M0,100 Q250,50 500,150 L500,0 L0,0 Z",fill:"white",opacity:"0.05"})}),s.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-[0.03] pointer-events-none mix-blend-overlay","aria-hidden":"true"}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-5xl",children:[s.jsxs("div",{className:"animate-fade-in-up",children:[s.jsx("div",{className:"w-24 h-1 bg-coral mb-8 rounded-full"}),s.jsx("h1",{className:"text-h1-mobile lg:text-h1-desktop font-bold mb-6 leading-tight text-white",children:"Onze Diensten"})]}),s.jsx("div",{className:"animate-fade-in-up max-w-3xl",style:{animationDelay:"0.2s"},children:s.jsx("p",{className:"text-lead-mobile lg:text-lead text-white/95 mb-8 font-medium",children:"Wij transformeren bedrijven door intelligente automatisering, waarbij we strategisch advies combineren met praktische ontwikkeling—en dat alles met volledige EU-compliance."})})]})}),s.jsx("svg",{className:"absolute bottom-0 left-0 w-full h-24 opacity-20",viewBox:"0 0 1200 100",preserveAspectRatio:"none","aria-hidden":"true",children:s.jsx("path",{d:"M0,50 Q300,20 600,50 T1200,50",stroke:"white",strokeWidth:"3",fill:"none"})})]}),s.jsxs("section",{className:"py-24 lg:py-32 bg-neutral-50 relative overflow-hidden",children:[s.jsx("svg",{className:"absolute bottom-0 left-0 w-96 h-96 opacity-[0.03]",viewBox:"0 0 200 200","aria-hidden":"true",children:s.jsx("circle",{cx:"0",cy:"200",r:"180",fill:"hsl(var(--brand-primary))"})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs(xt,{className:"bg-white border-0 shadow-card hover:shadow-card-hover transition-all duration-500 overflow-hidden group",children:[s.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-1 bg-coral"}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-0 items-stretch",children:[s.jsxs("div",{className:"lg:col-span-7 p-8 lg:p-16 relative",children:[s.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[s.jsx("div",{className:"w-20 h-20 bg-brand-primary/10 rounded-2xl flex items-center justify-center transition-all group-hover:bg-brand-primary/20",children:s.jsx(SN,{className:"w-10 h-10 text-brand-primary"})}),s.jsx("div",{children:s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-bold text-brand-primary",children:"AI Strategie & Advies"})})]}),s.jsx("p",{className:"text-xl text-coral font-semibold mb-6",children:"Ontdek uw automatiseringspotentieel"}),s.jsx("p",{className:"text-body-mobile lg:text-body text-neutral-400 mb-8 leading-relaxed",children:"Wij analyseren uw complete bedrijfsvoering om automatiseringskansen met grote impact te identificeren. Ons team brengt uw workflows in kaart, beoordeelt uw data-infrastructuur en creëert een roadmap voor AI-implementatie die écht aansluit bij uw bedrijf."}),s.jsx("div",{className:"bg-neutral-50 p-6 rounded-2xl border-l-4 border-coral/30",children:s.jsxs("p",{className:"font-semibold text-neutral-900",children:["Ideaal voor: ",s.jsx("span",{className:"text-neutral-400 font-normal",children:"Bedrijven die AI willen verkennen maar niet weten waar te beginnen."})]})})]}),s.jsxs("div",{className:"lg:col-span-5 bg-[#F5F5F5] p-8 lg:p-16 border-l border-neutral-100",children:[s.jsx("h3",{className:"text-xl font-bold mb-8 text-neutral-900",children:"Wat u krijgt:"}),s.jsx("ul",{className:"space-y-6",children:[["Procesanalyse & Audit","Uitgebreide analyse van workflows en identificatie van automatiseringskansen."],["Technische Haalbaarheid","Diepgaand onderzoek naar de technische mogelijkheden binnen uw huidige infrastructuur."],["ROI Prognose","Realistische voorspellingen van het rendement op uw investering, inclusief tijdlijnen."],["Compliance-First Architectuur","Een plan dat vanaf de start rekening houdt met alle relevante wet- en regelgeving."]].map(([e,t],n)=>s.jsxs("li",{className:"flex items-start gap-4",children:[s.jsx(Hl,{className:"w-6 h-6 text-coral mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("span",{className:"text-neutral-900 font-semibold block mb-1",children:e}),s.jsx("span",{className:"text-neutral-400 text-sm leading-relaxed",children:t})]})]},n))})]})]})]})})]}),s.jsxs("section",{className:"py-24 lg:py-32 bg-[#F5F5F5] relative overflow-hidden",children:[s.jsx("svg",{className:"absolute top-16 right-0 w-64 h-32 opacity-10",viewBox:"0 0 200 100",preserveAspectRatio:"none","aria-hidden":"true",children:s.jsx("path",{d:"M0,50 Q50,20 100,50 T200,50",stroke:"hsl(var(--brand-primary))",strokeWidth:"4",fill:"none"})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs(xt,{className:"bg-white border-0 shadow-card hover:shadow-card-hover transition-all duration-500 overflow-hidden group",children:[s.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-1 bg-coral hidden lg:block"}),s.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-1 bg-coral lg:hidden"}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-0 items-stretch",children:[s.jsxs("div",{className:"lg:col-span-5 bg-[#F5F5F5] p-8 lg:p-16 border-r border-neutral-100 lg:order-1",children:[s.jsx("h3",{className:"text-xl font-bold mb-8 text-neutral-900",children:"Onze expertise omvat:"}),s.jsx("ul",{className:"space-y-6",children:[["Workflow Automatisering","Multi-stap processen met geavanceerde LLM-orkestratie."],["Intelligente Data-extractie","Automatische verwerking van documenten en data."],["Content Pipelines","Generatie en transformatie van content voor diverse platformen."],["Cross-Platform Integraties","Naadloze koppelingen met uw bestaande systemen (CRM, WhatsApp, etc.)."]].map(([e,t],n)=>s.jsxs("li",{className:"flex items-start gap-4",children:[s.jsx(Hl,{className:"w-6 h-6 text-coral mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("span",{className:"text-neutral-900 font-semibold block mb-1",children:e}),s.jsx("span",{className:"text-neutral-400 text-sm leading-relaxed",children:t})]})]},n))})]}),s.jsxs("div",{className:"lg:col-span-7 p-8 lg:p-16 lg:order-2 relative",children:[s.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[s.jsx("div",{className:"w-20 h-20 bg-brand-primary/10 rounded-2xl flex items-center justify-center transition-all group-hover:bg-brand-primary/20",children:s.jsx(IN,{className:"w-10 h-10 text-brand-primary"})}),s.jsx("div",{children:s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-bold text-brand-primary",children:"Maatwerk AI Ontwikkeling"})})]}),s.jsx("p",{className:"text-xl text-coral font-semibold mb-6",children:"Van concept tot implementatie"}),s.jsx("p",{className:"text-body-mobile lg:text-body text-neutral-400 mb-8 leading-relaxed",children:"Wij bouwen geavanceerde automatiseringsoplossingen met LLMs en intelligente workflows. Elke oplossing is ontworpen voor beveiliging, schaalbaarheid en volledige GDPR/AI Act compliance met EU-gebaseerde dataverwerking."}),s.jsxs("div",{className:"bg-brand-primary/5 p-6 rounded-2xl border-l-4 border-brand-primary/30",children:[s.jsx("p",{className:"font-semibold text-brand-primary mb-2",children:"Recente implementaties:"}),s.jsx("p",{className:"text-neutral-400 text-sm leading-relaxed",children:"Juridische documentautomatisering voor visumverwerking, intelligente contentsyndicatiesystemen, spraak-naar-database workflows."})]})]})]})]})})]}),s.jsxs("section",{className:"py-24 lg:py-32 bg-neutral-50 relative overflow-hidden",children:[s.jsx("svg",{className:"absolute top-0 right-0 w-96 h-96 opacity-[0.03]",viewBox:"0 0 200 200","aria-hidden":"true",children:s.jsx("ellipse",{cx:"200",cy:"100",rx:"150",ry:"180",fill:"hsl(var(--brand-primary))"})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs(xt,{className:"bg-white border-0 shadow-card hover:shadow-card-hover transition-all duration-500 overflow-hidden group",children:[s.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-1 bg-coral"}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-0 items-stretch",children:[s.jsxs("div",{className:"lg:col-span-7 p-8 lg:p-16 relative",children:[s.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[s.jsx("div",{className:"w-20 h-20 bg-brand-primary/10 rounded-2xl flex items-center justify-center transition-all group-hover:bg-brand-primary/20",children:s.jsx(_N,{className:"w-10 h-10 text-brand-primary"})}),s.jsx("div",{children:s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-bold text-brand-primary",children:"Data Analyse & Inzichten"})})]}),s.jsx("p",{className:"text-xl text-coral font-semibold mb-6",children:"Zet uw data om in beslissingen"}),s.jsx("p",{className:"text-body-mobile lg:text-body text-neutral-400 mb-8 leading-relaxed",children:"Naast automatisering helpen we u begrijpen wat uw data u vertelt. Ons team levert bruikbare inzichten door geavanceerde analyses, maatwerkdashboards en voorspellende modellen."}),s.jsx("div",{className:"bg-neutral-50 p-6 rounded-2xl border-l-4 border-coral/30",children:s.jsxs("p",{className:"font-semibold text-neutral-900",children:["Perfect voor: ",s.jsx("span",{className:"text-neutral-400 font-normal",children:"Organisaties die verzuipen in data maar snakken naar inzichten."})]})})]}),s.jsxs("div",{className:"lg:col-span-5 bg-[#F5F5F5] p-8 lg:p-16 border-l border-neutral-100",children:[s.jsx("h3",{className:"text-xl font-bold mb-8 text-neutral-900",children:"Onze data services:"}),s.jsx("ul",{className:"space-y-6",children:[["Business Intelligence","Heldere rapportages en dashboards die direct inzicht geven."],["Predictive Analytics","Voorspellende modellen voor trend- en marktanalyse."],["Datakwaliteit","Beoordeling, opschoning en verrijking van uw datasets."],["KPI Tracking","Implementatie van systemen om uw belangrijkste prestatie-indicatoren te meten."]].map(([e,t],n)=>s.jsxs("li",{className:"flex items-start gap-4",children:[s.jsx(Hl,{className:"w-6 h-6 text-coral mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("span",{className:"text-neutral-900 font-semibold block mb-1",children:e}),s.jsx("span",{className:"text-neutral-400 text-sm leading-relaxed",children:t})]})]},n))})]})]})]})})]}),s.jsx("section",{className:"py-24 bg-[#F5F5F5]",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs(xt,{className:"bg-white border-0 shadow-card hover:shadow-card-hover transition-all duration-500 relative overflow-hidden group",children:[s.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-brand-primary via-coral to-brand-primary"}),s.jsx(wn,{className:"p-8 lg:p-16",children:s.jsxs("div",{className:"flex flex-col lg:flex-row items-center gap-12 lg:gap-16",children:[s.jsx("div",{className:"flex-shrink-0",children:s.jsx("div",{className:"w-28 h-28 bg-gradient-to-br from-brand-primary/10 to-coral/10 rounded-3xl flex items-center justify-center group-hover:scale-105 transition-transform",children:s.jsx(CN,{className:"w-14 h-14 text-brand-primary"})})}),s.jsxs("div",{className:"flex-grow text-center lg:text-left",children:[s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-bold text-brand-primary mb-3",children:"Custom GPTs & AI Assistenten"}),s.jsx("p",{className:"text-xl text-coral font-semibold mb-6",children:"Uw eigen AI-expert, 24/7 beschikbaar"}),s.jsx("p",{className:"text-body-mobile lg:text-body text-neutral-400 leading-relaxed max-w-3xl mx-auto lg:mx-0",children:"Naast volledige workflow-automatisering, bouwen we ook gespecialiseerde Custom GPTs. Deze AI-assistenten worden getraind op uw unieke bedrijfsdata, processen en documentatie om specifieke taken uit te voeren, vragen te beantwoorden en uw team te ondersteunen."})]}),s.jsx("div",{className:"flex-shrink-0",children:s.jsx(Se,{size:"lg",asChild:!0,className:"px-10 py-6 text-base shadow-button-primary hover:-translate-y-1 transition-all bg-brand-primary hover:bg-brand-secondary",children:s.jsxs("a",{href:"https://customgpt.deltaflowai.nl",target:"_blank",rel:"noopener noreferrer",children:["Ontdek Custom GPTs",s.jsx(ht,{className:"ml-2 w-5 h-5"})]})})})]})})]})})}),s.jsxs("section",{className:"py-20 lg:py-24 bg-neutral-50 relative overflow-hidden",children:[s.jsx("svg",{className:"absolute top-1/2 left-0 w-72 h-72 opacity-[0.03] -translate-y-1/2",viewBox:"0 0 200 200","aria-hidden":"true",children:s.jsx("circle",{cx:"0",cy:"100",r:"150",fill:"hsl(var(--brand-primary))"})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs(xt,{className:"bg-white border-0 shadow-card hover:shadow-card-hover transition-all duration-500 relative overflow-hidden group",children:[s.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-coral via-brand-primary to-coral"}),s.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-gradient-to-br from-brand-primary/5 to-transparent rounded-full -translate-y-1/2 translate-x-1/2"}),s.jsx("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-gradient-to-tr from-coral/5 to-transparent rounded-full translate-y-1/2 -translate-x-1/2"}),s.jsx(wn,{className:"p-12 lg:p-20 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsx("div",{className:"w-24 h-24 mx-auto mb-8 bg-gradient-to-br from-brand-primary to-brand-secondary rounded-3xl flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform duration-300",children:s.jsx(Ec,{className:"w-12 h-12 text-white"})}),s.jsx("div",{className:"w-24 h-1 bg-coral mx-auto mb-6 rounded-full"}),s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-bold text-brand-primary mb-6 leading-tight tracking-tight",children:"Niet zeker welke dienst past bij u?"}),s.jsxs("p",{className:"text-lead-mobile lg:text-lead text-neutral-400 leading-relaxed mb-10 max-w-3xl mx-auto",children:["Start met een gratis AI Scan en ontdek in slechts 3 minuten waar de grootste automatiseringskansen voor uw bedrijf liggen.",s.jsx("span",{className:"font-semibold text-neutral-900",children:" Inclusief persoonlijk rapport binnen 24 uur."})]}),s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6 mb-12 max-w-3xl mx-auto",children:[{icon:"⏱️",title:"3 Minuten",desc:"Snelle vragenlijst"},{icon:"📊",title:"Gratis Rapport",desc:"Concrete besparingen"},{icon:"🎯",title:"Persoonlijk Advies",desc:"Op maat gemaakt"}].map((e,t)=>s.jsxs("div",{className:"bg-neutral-50 p-6 rounded-2xl border-2 border-transparent hover:border-coral/20 transition-all duration-300",children:[s.jsx("div",{className:"text-4xl mb-3",children:e.icon}),s.jsx("h3",{className:"font-semibold text-neutral-900 mb-1 text-lg",children:e.title}),s.jsx("p",{className:"text-neutral-400 text-sm",children:e.desc})]},t))}),s.jsx(Se,{size:"lg",asChild:!0,className:"px-12 py-7 text-lg shadow-button-primary hover:-translate-y-1 transition-all bg-coral hover:bg-coral/90 text-white",children:s.jsxs(ge,{to:"/ai-scan",className:"inline-flex items-center",children:[s.jsx(Ec,{className:"w-6 h-6 mr-2"}),"Ontdek Uw Mogelijkheden",s.jsx(ht,{className:"ml-3 w-6 h-6"})]})}),s.jsx("p",{className:"text-sm text-neutral-400 mt-6",children:"Vrijblijvend • Geen verplichtingen • Direct resultaat"})]})})]})})]}),s.jsx("section",{className:"py-24 lg:py-32 bg-[#F5F5F5] relative overflow-hidden",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8",children:[s.jsxs("div",{className:"text-center mb-16 max-w-3xl mx-auto",children:[s.jsx("div",{className:"w-24 h-1 bg-coral mx-auto mb-6 rounded-full"}),s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-bold mb-6 text-brand-primary",children:"Wat Ons Onderscheidt"}),s.jsx("p",{className:"text-lead-mobile lg:text-lead text-neutral-400",children:"Waarom Nederlandse bedrijven kiezen voor DeltaFlow AI"})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[{icon:$N,title:"EU Compliance",desc:"Alle verwerking binnen de EU. Volledig GDPR-compliant en klaar voor de AI Act."},{icon:BN,title:"Full-Stack",desc:"Van strategie tot deployment, wij beheren elke laag van de technische stack."},{icon:YN,title:"Echte Engineering",desc:"Wij ontwerpen complete, schaalbare oplossingen, geen simpele API-koppelingen."},{icon:LN,title:"Transparante ROI",desc:"Elk project bevat duidelijke meetwaarden en realistische verwachtingen."}].map((e,t)=>s.jsxs(xt,{className:"bg-white border-0 hover:shadow-card-hover transition-all duration-500 text-center group relative overflow-hidden",children:[s.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-coral transform scale-x-0 group-hover:scale-x-100 transition-transform duration-500 origin-left"}),s.jsxs(wn,{className:"pt-12 p-8",children:[s.jsx("div",{className:"w-20 h-20 mb-6 mx-auto bg-brand-primary/10 rounded-2xl flex items-center justify-center group-hover:bg-brand-primary/20 group-hover:scale-110 transition-all duration-300",children:s.jsx(e.icon,{className:"w-10 h-10 text-brand-primary"})}),s.jsx("h3",{className:"text-xl font-bold mb-4 text-neutral-900",children:e.title}),s.jsx("p",{className:"text-neutral-400 leading-relaxed",children:e.desc})]})]},t))})]})}),s.jsxs("section",{className:"py-32 lg:py-40 bg-brand-primary text-white relative overflow-hidden",children:[s.jsx("svg",{className:"absolute bottom-0 left-0 w-1/3 h-full opacity-10",viewBox:"0 0 300 600",preserveAspectRatio:"none","aria-hidden":"true",children:s.jsx("ellipse",{cx:"0",cy:"600",rx:"300",ry:"400",fill:"white"})}),s.jsx("svg",{className:"absolute top-0 right-0 w-1/3 h-full opacity-10",viewBox:"0 0 300 600",preserveAspectRatio:"none","aria-hidden":"true",children:s.jsx("ellipse",{cx:"300",cy:"0",rx:"300",ry:"400",fill:"white"})}),s.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-[0.03] pointer-events-none","aria-hidden":"true"}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 text-center relative z-10",children:s.jsx("div",{className:"max-w-4xl mx-auto",children:s.jsxs("div",{className:"animate-fade-in-up",children:[s.jsx("div",{className:"w-24 h-1 bg-coral mx-auto mb-8 rounded-full"}),s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop font-bold mb-8 text-white leading-tight",children:"Klaar om op de juiste manier te automatiseren?"}),s.jsx("p",{className:"text-lead-mobile lg:text-lead mb-12 text-white/95 max-w-2xl mx-auto",children:"Plan een vrijblijvend gesprek en ontdek de concrete mogelijkheden voor uw bedrijf."}),s.jsx(Se,{size:"lg",asChild:!0,className:"text-lg px-12 py-7 shadow-xl hover:shadow-2xl transition-all duration-300 hover:-translate-y-1 bg-coral hover:bg-coral/90 text-white border-0",children:s.jsxs(ge,{to:"/contact",children:["Plan uw gratis adviesgesprek",s.jsx(ht,{className:"ml-3 w-6 h-6"})]})})]})})}),s.jsx("svg",{className:"absolute bottom-0 left-0 w-full h-24 opacity-20",viewBox:"0 0 1200 100",preserveAspectRatio:"none","aria-hidden":"true",children:s.jsx("path",{d:"M0,50 Q300,80 600,50 T1200,50",stroke:"white",strokeWidth:"3",fill:"none"})})]})]}),s.jsx(Kt,{})]}),US=du("inline-flex items-center rounded-full border px-3 py-1 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-brand-primary text-white hover:bg-brand-primary/80 shadow-sm",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",terracotta:"border-transparent bg-coral text-white hover:bg-coral/80 shadow-sm",soft:"border-transparent bg-brand-primary/10 text-brand-primary hover:bg-brand-primary/20",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Hh({className:e,variant:t,...n}){return s.jsx("div",{className:Pe(US({variant:t}),e),...n})}const WS={metadata:{id:"pablo-beer",title:"Pablo Beer",sector:"Horeca & Sales",sectorColor:"default",layout:"default"},overview:{tagline:"Hoe Pablo Beer Sales-Administratie Automatiseerde via WhatsApp",description:"Een AI-oplossing die administratie verandert van een last in een druk op de knop. Sales-reps leggen via WhatsApp spraakmemo's vast die automatisch worden verwerkt en gestructureerd in het CRM.",image:"/images/cases/pablo case visual.webp"},content:{introduction:"Pablo Beer is een snelgroeiend biermerk waarbij persoonlijk contact met horecaondernemers centraal staat. Maar hoe zorg je dat cruciale informatie uit een goed gesprek niet verloren gaat in de waan van de dag? Samen met de klant bouwden wij een AI-oplossing die administratie verandert van een last in een druk op de knop.",challenge:`De sales-reps van Pablo Beer zijn de hele dag onderweg. Tussen de bezoeken aan cafés, restaurants en distributeurs door hebben ze nauwelijks tijd om hun CRM bij te werken. In de auto naar de volgende afspraak zit het gesprek nog vers in het geheugen, maar tegen de tijd dat ze 's avonds achter hun laptop zitten, zijn de fijne details vaak al vervlogen.
De wens was helder: een manier om direct na een meeting alle details vast te leggen, zonder dat daar een complexe nieuwe app of handmatig typwerk voor nodig is.`,solution:`Wij kozen voor een oplossing die aansluit op de dagelijkse gewoonte van de sales-medewerkers: WhatsApp. In plaats van een nieuw portaal, opent de sales-rep simpelweg WhatsApp en stuurt een spraakmemo naar de AI-agent van Pablo Beer.
**Hoe het werkt:**
1. **Spraakmemo:** Direct na het uitlopen bij de klant spreekt de sales-rep een memo in ("Ik was net bij Café De Stam, contactpersoon is nu Mark, hij wil volgende week 10 vaten pils bestellen en we moeten letten op de nieuwe tapinstallatie").
2. **AI Verwerking:** De AI transcribeert de spraak, herkent de context, filtert de actiepunten en identificeert de juiste contactpersoon.
3. **CRM Integratie:** Alle informatie wordt automatisch gestructureerd en onder de juiste klantkaart in het CRM geplaatst.
Hierdoor hoeven de sales-mensen geen extra applicaties te leren kennen en is de drempel om data vast te leggen nagenoeg nul.`,results:["Reductie in administratietijd - Sales mensen hoeven aan het eind van de dag geen verslagen meer te typen","Verbeterde nauwkeurigheid - Details worden direct vastgelegd wanneer ze nog vers in het geheugen liggen","Geen dataverlies - Cruciale klantinformatie en orderdetails belanden gegarandeerd in het CRM","Hogere medewerkerstevredenheid - Het team kan zich focussen op waar ze goed in zijn: relaties bouwen en bier verkopen","Naadloze adoptie - Omdat de tool via WhatsApp werkt, was er geen training nodig voor het team"],technologies:["WhatsApp Business API","OpenAI Whisper","GPT","Notion"],customCTA:"Wil je ook je sales-team ontlasten van administratieve rompslomp? Zullen we samen kijken hoe we jouw CRM kunnen koppelen aan een slimme AI-assistent? Neem gerust contact met ons op voor een demo."}},HS={metadata:{id:"saman",title:"Saman Groep",sector:"Installatiebranche",sectorColor:"default",layout:"default"},overview:{tagline:"AI-assistent voor subsidieaanvragen (ISDE)",description:"SAMAN is een installatiebedrijf dat zich richt op duurzame energieoplossingen. Voor klanten die een warmtepomp aanschaffen, verzorgt Saman de volledige subsidieaanvraag bij de RVO. Maar hoe voorkom je dat dit administratieve proces kostbare tijd van vakspecialisten opslokt?",image:"/images/cases/saman_klantcase_logo.webp"},content:{introduction:"SAMAN is een installatiebedrijf dat zich richt op duurzame energieoplossingen. Voor klanten die een warmtepomp aanschaffen, verzorgt Saman de volledige subsidieaanvraag bij de RVO. Maar hoe voorkom je dat dit administratieve proces kostbare tijd van vakspecialisten opslokt?",challenge:`Voor elke warmtepomp moet een ISDE-subsidieaanvraag worden ingediend bij de RVO. Dit was tot voor kort een volledig handmatig proces: informatie uit verschillende documenten halen, inloggen op de RVO-website, en stap voor stap alle velden invullen. Per aanvraag kost dit ongeveer 20 minuten.
Op zich geen ramp voor één formulier, maar wanneer je wekelijks tientallen warmtepompen installeert, stapelt de administratieve last zich snel op. Tijd die technici en administratief medewerkers liever besteden aan klantcontact of installatiewerkzaamheden.
De wens was duidelijk: behoud de kwaliteit en nauwkeurigheid van de aanvragen, maar maak het proces sneller en toegankelijker voor het hele team.`,solution:`Wij ontwikkelden een AI-tool die speciaal is afgestemd op het subsidieaanvraag proces van de RVO. De tool neemt de repetitieve handelingen over en laat medewerkers zich focussen op controle en afronding.
**Hoe het werkt:**
1. **Documentverwerking:** De AI leest de aangeleverde documenten uit (zoals offerte, installatierapport en klantgegevens) en herkent automatisch de benodigde informatie.
2. **Automatisch invullen:** De assistent navigeert door de RVO-website en vult alle velden zelfstandig in met de juiste gegevens.
3. **Menselijke controle:** Een medewerker controleert de ingevulde gegevens en rondt de aanvraag definitief af.
Door deze aanpak blijft de kwaliteit gewaarborgd, terwijl het leeuwendeel van het handwerk wordt geautomatiseerd.`,results:["75% tijdsbesparing - Van 20 minuten naar 5 minuten per aanvraag, inclusief controle","Bredere inzetbaarheid - Doordat de tool automatisch invult, kunnen meer collega's met een korte instructie aan de slag","Schaalbaarheid - Bij groeiende aantallen warmtepomp-installaties blijft de administratieve last beheersbaar","Focus op vakmanschap - Medewerkers kunnen hun tijd besteden aan klantcontact en installatiewerkzaamheden in plaats van formulieren invullen","Foutreductie - Consistente verwerking van gegevens vermindert het risico op typefouten of vergeten velden"],quote:"De AI-assistent neemt het repetitieve werk uit handen, zodat ons team zich kan focussen op wat we het beste kunnen: duurzame installaties realiseren voor onze klanten.",author:"Projectcoördinator SAMAN",technologies:["Mistral AI","OCR","Web Automation","Python"],customCTA:"Wil je ook jouw subsidieproces of formulierbeheer automatiseren? Zullen we samen kijken hoe AI repetitieve administratie kan overnemen? Neem contact met ons op voor een demo."}},qS={metadata:{id:"taxatiebureau",title:"Taxatiebureau",sector:"Taxatie & Real Estate",sectorColor:"default",layout:"default"},overview:{tagline:"Efficiëntere rapportage zonder concessies aan kwaliteit",description:"Een taxateur zocht een manier om de administratieve last van taxatierapporten te verminderen, zonder af te doen aan de professionaliteit en nauwkeurigheid die klanten verwachten.",image:"/images/cases/FenF_klantcase_no_logo.webp"},content:{introduction:"Een taxateur zocht een manier om de administratieve last van taxatierapporten te verminderen, zonder af te doen aan de professionaliteit en nauwkeurigheid die klanten verwachten.",challenge:`Taxatierapporten vereisen zorgvuldigheid en compliance, maar het samenstellen ervan kostte onevenredig veel tijd:
- Meerdere uren per rapport aan standaardteksten en analyses
- Repetitief werk dat afleidt van de kernactiviteit: waarderen
- Risico op inconsistenties tussen rapporten`,solution:"We ontwikkelden een AI-ondersteunde werkwijze die de taxateur ondersteunt bij het opstellen van rapporten. De taxateur behoud volledige controle over de inhoud en eindverantwoordelijkheid, terwijl routinematige taken geautomatiseerd worden.",results:["Significant minder tijd per taxatierapport","Consistente structuur en kwaliteit in alle rapporten","Meer capaciteit voor waarderingen en klantcontact","Hogere werktevredenheid door minder administratieve druk"],technologies:["Mistral AI","Custom AI Agent","Python"],customCTA:"Wil je ook je rapportage automatiseren zonder in te leveren op kwaliteit? Zullen we samen kijken hoe AI repetitieve documentatie kan overnemen? Neem contact met ons op voor een demo."}},qh=[WS,HS,qS],ZS=e=>qh.find(t=>t.metadata.id===e),GS=()=>s.jsxs("div",{className:"min-h-screen font-sans bg-neutral-50 selection:bg-coral/30",children:[s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsx("section",{className:"relative py-24 lg:py-32 overflow-hidden bg-brand-primary text-neutral-50",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 relative z-10 text-center",children:[s.jsx("h1",{className:"text-h1-mobile lg:text-h1-desktop font-bold mb-6 text-white",children:"Klant Cases"}),s.jsx("p",{className:"text-lead-mobile lg:text-lead text-blue-100 max-w-3xl mx-auto font-medium",children:"Ontdek hoe we bedrijven helpen met praktische AI-automatisering die direct resultaat oplevert."})]})}),s.jsx("section",{className:"py-20 lg:py-24 bg-neutral-50",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:qh.length===0?s.jsx("div",{className:"text-center py-20",children:s.jsx("p",{className:"text-xl text-neutral-400",children:"Geen cases beschikbaar."})}):s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:qh.map(e=>s.jsx(ge,{to:`/case-studies/${e.metadata.id}`,className:"group",children:s.jsxs(xt,{className:"h-full overflow-hidden border-0 shadow-card hover:shadow-card-hover transition-all duration-300 hover:scale-[1.02] bg-white",children:[s.jsxs("div",{className:"relative aspect-video overflow-hidden bg-gradient-to-br from-neutral-100 to-neutral-50",children:[s.jsx("div",{className:"absolute inset-0 bg-brand-primary/10 group-hover:bg-brand-primary/5 transition-colors z-10"}),s.jsx("img",{src:e.overview.image,alt:e.metadata.title,className:"w-full h-full object-contain transform group-hover:scale-105 transition-transform duration-700"}),s.jsx("div",{className:"absolute top-4 right-4 z-20",children:s.jsx(Hh,{variant:e.metadata.sectorColor,className:"text-sm py-1.5 px-4 shadow-lg cursor-pointer hover:opacity-90 transition-opacity",children:e.metadata.sector})})]}),s.jsxs("div",{className:"p-6 space-y-4",children:[s.jsx("h3",{className:"text-2xl font-bold text-brand-primary group-hover:text-accent-bright-blue transition-colors",children:e.metadata.title}),s.jsx("p",{className:"text-base text-neutral-400 font-medium",children:e.overview.tagline}),s.jsx("p",{className:"text-neutral-400 leading-relaxed line-clamp-3",children:e.overview.description}),s.jsxs("div",{className:"pt-2 flex items-center text-brand-primary group-hover:text-coral transition-colors font-semibold",children:[s.jsx("span",{children:"Lees meer"}),s.jsx(ht,{className:"ml-2 w-4 h-4 transform group-hover:translate-x-1 transition-transform"})]})]})]})},e.metadata.id))})})}),s.jsxs("section",{className:"relative py-32 lg:py-40 bg-gradient-to-br from-brand-primary via-brand-primary to-accent-bright-blue overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 opacity-10",children:[s.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-coral rounded-full blur-3xl transform translate-x-1/2 -translate-y-1/2"}),s.jsx("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-accent-bright-blue rounded-full blur-3xl transform -translate-x-1/2 translate-y-1/2"})]}),s.jsx("div",{className:"absolute inset-0 opacity-5",style:{backgroundImage:"linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px)",backgroundSize:"50px 50px"}}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsxs("h2",{className:"text-4xl lg:text-6xl font-bold mb-6 text-white leading-tight",children:["Start Nu Ook met",s.jsx("br",{}),s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-coral via-white to-accent-bright-blue",children:"AI-Automatisering"})]}),s.jsx("p",{className:"text-xl lg:text-2xl text-blue-100 mb-12 max-w-3xl mx-auto leading-relaxed font-medium",children:"Deze bedrijven gingen u voor en zien dagelijks de voordelen. Wilt u ook meer tijd voor waardevol werk, lagere operationele kosten en hogere klanttevredenheid?"}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[s.jsx(Se,{size:"lg",asChild:!0,className:"h-16 px-10 text-lg font-bold bg-coral hover:bg-coral/90 text-white shadow-2xl shadow-coral/30 hover:shadow-coral/50 transition-all duration-300 hover:scale-105 border-0",children:s.jsxs(ge,{to:"/contact",className:"group",children:["Plan uw gratis adviesgesprek",s.jsx(ht,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),s.jsx(Se,{size:"lg",asChild:!0,className:"h-16 px-10 text-lg font-bold bg-white/10 hover:bg-white/20 text-white backdrop-blur-sm border-2 border-white/30 hover:border-white/50 shadow-xl transition-all duration-300 hover:scale-105",children:s.jsx(ge,{to:"/diensten",children:"Bekijk onze diensten"})})]})]})})]})]}),s.jsx(Kt,{})]});function KS(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const QS=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,YS=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,XS={};function Jg(e,t){return(XS.jsx?YS:QS).test(e)}const JS=/[ \t\n\f\r]/g;function eA(e){return typeof e=="object"?e.type==="text"?ex(e.value):!1:ex(e)}function ex(e){return e.replace(JS,"")===""}class Jo{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Jo.prototype.normal={};Jo.prototype.property={};Jo.prototype.space=void 0;function Nw(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Jo(n,r,t)}function Zh(e){return e.toLowerCase()}class Qt{constructor(t,n){this.attribute=n,this.property=t}}Qt.prototype.attribute="";Qt.prototype.booleanish=!1;Qt.prototype.boolean=!1;Qt.prototype.commaOrSpaceSeparated=!1;Qt.prototype.commaSeparated=!1;Qt.prototype.defined=!1;Qt.prototype.mustUseProperty=!1;Qt.prototype.number=!1;Qt.prototype.overloadedBoolean=!1;Qt.prototype.property="";Qt.prototype.spaceSeparated=!1;Qt.prototype.space=void 0;let tA=0;const ye=is(),it=is(),Gh=is(),Z=is(),ze=is(),zs=is(),Yt=is();function is(){return 2**++tA}const Kh=Object.freeze(Object.defineProperty({__proto__:null,boolean:ye,booleanish:it,commaOrSpaceSeparated:Yt,commaSeparated:zs,number:Z,overloadedBoolean:Gh,spaceSeparated:ze},Symbol.toStringTag,{value:"Module"})),md=Object.keys(Kh);class Af extends Qt{constructor(t,n,r,i){let a=-1;if(super(t,n),tx(this,"space",i),typeof r=="number")for(;++a<md.length;){const o=md[a];tx(this,md[a],(r&Kh[o])===Kh[o])}}}Af.prototype.defined=!0;function tx(e,t,n){n&&(e[t]=n)}function ha(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new Af(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Zh(r)]=r,n[Zh(a.attribute)]=r}return new Jo(t,n,e.space)}const Ew=ha({properties:{ariaActiveDescendant:null,ariaAtomic:it,ariaAutoComplete:null,ariaBusy:it,ariaChecked:it,ariaColCount:Z,ariaColIndex:Z,ariaColSpan:Z,ariaControls:ze,ariaCurrent:null,ariaDescribedBy:ze,ariaDetails:null,ariaDisabled:it,ariaDropEffect:ze,ariaErrorMessage:null,ariaExpanded:it,ariaFlowTo:ze,ariaGrabbed:it,ariaHasPopup:null,ariaHidden:it,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ze,ariaLevel:Z,ariaLive:null,ariaModal:it,ariaMultiLine:it,ariaMultiSelectable:it,ariaOrientation:null,ariaOwns:ze,ariaPlaceholder:null,ariaPosInSet:Z,ariaPressed:it,ariaReadOnly:it,ariaRelevant:null,ariaRequired:it,ariaRoleDescription:ze,ariaRowCount:Z,ariaRowIndex:Z,ariaRowSpan:Z,ariaSelected:it,ariaSetSize:Z,ariaSort:null,ariaValueMax:Z,ariaValueMin:Z,ariaValueNow:Z,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Cw(e,t){return t in e?e[t]:t}function Sw(e,t){return Cw(e,t.toLowerCase())}const nA=ha({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:zs,acceptCharset:ze,accessKey:ze,action:null,allow:null,allowFullScreen:ye,allowPaymentRequest:ye,allowUserMedia:ye,alt:null,as:null,async:ye,autoCapitalize:null,autoComplete:ze,autoFocus:ye,autoPlay:ye,blocking:ze,capture:null,charSet:null,checked:ye,cite:null,className:ze,cols:Z,colSpan:null,content:null,contentEditable:it,controls:ye,controlsList:ze,coords:Z|zs,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ye,defer:ye,dir:null,dirName:null,disabled:ye,download:Gh,draggable:it,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ye,formTarget:null,headers:ze,height:Z,hidden:Gh,high:Z,href:null,hrefLang:null,htmlFor:ze,httpEquiv:ze,id:null,imageSizes:null,imageSrcSet:null,inert:ye,inputMode:null,integrity:null,is:null,isMap:ye,itemId:null,itemProp:ze,itemRef:ze,itemScope:ye,itemType:ze,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ye,low:Z,manifest:null,max:null,maxLength:Z,media:null,method:null,min:null,minLength:Z,multiple:ye,muted:ye,name:null,nonce:null,noModule:ye,noValidate:ye,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ye,optimum:Z,pattern:null,ping:ze,placeholder:null,playsInline:ye,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ye,referrerPolicy:null,rel:ze,required:ye,reversed:ye,rows:Z,rowSpan:Z,sandbox:ze,scope:null,scoped:ye,seamless:ye,selected:ye,shadowRootClonable:ye,shadowRootDelegatesFocus:ye,shadowRootMode:null,shape:null,size:Z,sizes:null,slot:null,span:Z,spellCheck:it,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Z,step:null,style:null,tabIndex:Z,target:null,title:null,translate:null,type:null,typeMustMatch:ye,useMap:null,value:it,width:Z,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ze,axis:null,background:null,bgColor:null,border:Z,borderColor:null,bottomMargin:Z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ye,declare:ye,event:null,face:null,frame:null,frameBorder:null,hSpace:Z,leftMargin:Z,link:null,longDesc:null,lowSrc:null,marginHeight:Z,marginWidth:Z,noResize:ye,noHref:ye,noShade:ye,noWrap:ye,object:null,profile:null,prompt:null,rev:null,rightMargin:Z,rules:null,scheme:null,scrolling:it,standby:null,summary:null,text:null,topMargin:Z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ye,disableRemotePlayback:ye,prefix:null,property:null,results:Z,security:null,unselectable:null},space:"html",transform:Sw}),rA=ha({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Yt,accentHeight:Z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Z,amplitude:Z,arabicForm:null,ascent:Z,attributeName:null,attributeType:null,azimuth:Z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Z,by:null,calcMode:null,capHeight:Z,className:ze,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Z,diffuseConstant:Z,direction:null,display:null,dur:null,divisor:Z,dominantBaseline:null,download:ye,dx:null,dy:null,edgeMode:null,editable:null,elevation:Z,enableBackground:null,end:null,event:null,exponent:Z,externalResourcesRequired:null,fill:null,fillOpacity:Z,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:zs,g2:zs,glyphName:zs,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Z,horizOriginX:Z,horizOriginY:Z,id:null,ideographic:Z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Z,k:Z,k1:Z,k2:Z,k3:Z,k4:Z,kernelMatrix:Yt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Z,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Z,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Z,overlineThickness:Z,paintOrder:null,panose1:null,path:null,pathLength:Z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ze,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Z,pointsAtY:Z,pointsAtZ:Z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Yt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Yt,rev:Yt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Yt,requiredFeatures:Yt,requiredFonts:Yt,requiredFormats:Yt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Z,specularExponent:Z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Z,strikethroughThickness:Z,string:null,stroke:null,strokeDashArray:Yt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Z,strokeOpacity:Z,strokeWidth:null,style:null,surfaceScale:Z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Yt,tabIndex:Z,tableValues:null,target:null,targetX:Z,targetY:Z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Yt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Z,underlineThickness:Z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Z,values:null,vAlphabetic:Z,vMathematical:Z,vectorEffect:null,vHanging:Z,vIdeographic:Z,version:null,vertAdvY:Z,vertOriginX:Z,vertOriginY:Z,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Cw}),Aw=ha({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),_w=ha({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Sw}),Tw=ha({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),iA={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},sA=/[A-Z]/g,nx=/-[a-z]/g,aA=/^data[-\w.:]+$/i;function oA(e,t){const n=Zh(t);let r=t,i=Qt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&aA.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(nx,cA);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!nx.test(a)){let o=a.replace(sA,lA);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Af}return new i(r,t)}function lA(e){return"-"+e.toLowerCase()}function cA(e){return e.charAt(1).toUpperCase()}const uA=Nw([Ew,nA,Aw,_w,Tw],"html"),_f=Nw([Ew,rA,Aw,_w,Tw],"svg");function dA(e){return e.join(" ").trim()}var Tf={},rx=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,hA=/\n/g,pA=/^\s*/,fA=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,mA=/^:\s*/,gA=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,xA=/^[;\s]*/,vA=/^\s+|\s+$/g,yA=`
`,ix="/",sx="*",Pi="",bA="comment",wA="declaration";function jA(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(x){var v=x.match(hA);v&&(n+=v.length);var w=x.lastIndexOf(yA);r=~w?x.length-w:r+x.length}function a(){var x={line:n,column:r};return function(v){return v.position=new o(x),u(),v}}function o(x){this.start=x,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function l(x){var v=new Error(t.source+":"+n+":"+r+": "+x);if(v.reason=x,v.filename=t.source,v.line=n,v.column=r,v.source=e,!t.silent)throw v}function c(x){var v=x.exec(e);if(v){var w=v[0];return i(w),e=e.slice(w.length),v}}function u(){c(pA)}function d(x){var v;for(x=x||[];v=h();)v!==!1&&x.push(v);return x}function h(){var x=a();if(!(ix!=e.charAt(0)||sx!=e.charAt(1))){for(var v=2;Pi!=e.charAt(v)&&(sx!=e.charAt(v)||ix!=e.charAt(v+1));)++v;if(v+=2,Pi===e.charAt(v-1))return l("End of comment missing");var w=e.slice(2,v-2);return r+=2,i(w),e=e.slice(v),r+=2,x({type:bA,comment:w})}}function p(){var x=a(),v=c(fA);if(v){if(h(),!c(mA))return l("property missing ':'");var w=c(gA),m=x({type:wA,property:ax(v[0].replace(rx,Pi)),value:w?ax(w[0].replace(rx,Pi)):Pi});return c(xA),m}}function f(){var x=[];d(x);for(var v;v=p();)v!==!1&&(x.push(v),d(x));return x}return u(),f()}function ax(e){return e?e.replace(vA,Pi):Pi}var kA=jA,NA=Jl&&Jl.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Tf,"__esModule",{value:!0});Tf.default=CA;const EA=NA(kA);function CA(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,EA.default)(e),i=typeof t=="function";return r.forEach(a=>{if(a.type!=="declaration")return;const{property:o,value:l}=a;i?t(o,l,a):l&&(n=n||{},n[o]=l)}),n}var ju={};Object.defineProperty(ju,"__esModule",{value:!0});ju.camelCase=void 0;var SA=/^--[a-zA-Z0-9_-]+$/,AA=/-([a-z])/g,_A=/^[^-]+$/,TA=/^-(webkit|moz|ms|o|khtml)-/,PA=/^-(ms)-/,IA=function(e){return!e||_A.test(e)||SA.test(e)},zA=function(e,t){return t.toUpperCase()},ox=function(e,t){return"".concat(t,"-")},OA=function(e,t){return t===void 0&&(t={}),IA(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(PA,ox):e=e.replace(TA,ox),e.replace(AA,zA))};ju.camelCase=OA;var RA=Jl&&Jl.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},DA=RA(Tf),MA=ju;function Qh(e,t){var n={};return!e||typeof e!="string"||(0,DA.default)(e,function(r,i){r&&i&&(n[(0,MA.camelCase)(r,t)]=i)}),n}Qh.default=Qh;var FA=Qh;const LA=Ji(FA),Pw=Iw("end"),Pf=Iw("start");function Iw(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function VA(e){const t=Pf(e),n=Pw(e);if(t&&n)return{start:t,end:n}}function Za(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?lx(e.position):"start"in e||"end"in e?lx(e):"line"in e||"column"in e?Yh(e):""}function Yh(e){return cx(e&&e.line)+":"+cx(e&&e.column)}function lx(e){return Yh(e&&e.start)+"-"+Yh(e&&e.end)}function cx(e){return e&&typeof e=="number"?e:1}class _t extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?a.ruleId=r:(a.source=r.slice(0,c),a.ruleId=r.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=l?l.line:void 0,this.name=Za(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}_t.prototype.file="";_t.prototype.name="";_t.prototype.reason="";_t.prototype.message="";_t.prototype.stack="";_t.prototype.column=void 0;_t.prototype.line=void 0;_t.prototype.ancestors=void 0;_t.prototype.cause=void 0;_t.prototype.fatal=void 0;_t.prototype.place=void 0;_t.prototype.ruleId=void 0;_t.prototype.source=void 0;const If={}.hasOwnProperty,BA=new Map,$A=/[A-Z]/g,UA=new Set(["table","tbody","thead","tfoot","tr"]),WA=new Set(["td","th"]),zw="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function HA(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=JA(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=XA(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?_f:uA,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=Ow(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function Ow(e,t,n){if(t.type==="element")return qA(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return ZA(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return KA(e,t,n);if(t.type==="mdxjsEsm")return GA(e,t);if(t.type==="root")return QA(e,t,n);if(t.type==="text")return YA(e,t)}function qA(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=_f,e.schema=i),e.ancestors.push(t);const a=Dw(e,t.tagName,!1),o=e6(e,t);let l=Of(e,t);return UA.has(t.tagName)&&(l=l.filter(function(c){return typeof c=="string"?!eA(c):!0})),Rw(e,o,a,t),zf(o,l),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function ZA(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}No(e,t.position)}function GA(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);No(e,t.position)}function KA(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=_f,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:Dw(e,t.name,!0),o=t6(e,t),l=Of(e,t);return Rw(e,o,a,t),zf(o,l),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function QA(e,t,n){const r={};return zf(r,Of(e,t)),e.create(t,e.Fragment,r,n)}function YA(e,t){return t.value}function Rw(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function zf(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function XA(e,t,n){return r;function r(i,a,o,l){const u=Array.isArray(o.children)?n:t;return l?u(a,o,l):u(a,o)}}function JA(e,t){return n;function n(r,i,a,o){const l=Array.isArray(a.children),c=Pf(r);return t(i,a,o,l,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function e6(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&If.call(t.properties,i)){const a=n6(e,i,t.properties[i]);if(a){const[o,l]=a;e.tableCellAlignToStyle&&o==="align"&&typeof l=="string"&&WA.has(t.tagName)?r=l:n[o]=l}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function t6(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const l=o.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else No(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const l=r.value.data.estree.body[0];l.type,a=e.evaluater.evaluateExpression(l.expression)}else No(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Of(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:BA;for(;++r<t.children.length;){const a=t.children[r];let o;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const u=i.get(c)||0;o=c+"-"+u,i.set(c,u+1)}}const l=Ow(e,a,o);l!==void 0&&n.push(l)}return n}function n6(e,t,n){const r=oA(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?KS(n):dA(n)),r.property==="style"){let i=typeof n=="object"?n:r6(e,String(n));return e.stylePropertyNameCase==="css"&&(i=i6(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?iA[r.property]||r.property:r.attribute,n]}}function r6(e,t){try{return LA(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new _t("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=zw+"#cannot-parse-style-attribute",i}}function Dw(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,o;for(;++a<i.length;){const l=Jg(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};o=o?{type:"MemberExpression",object:o,property:l,computed:!!(a&&l.type==="Literal"),optional:!1}:l}r=o}else r=Jg(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return If.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);No(e)}function No(e,t){const n=new _t("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=zw+"#cannot-handle-mdx-estrees-without-createevaluater",n}function i6(e){const t={};let n;for(n in e)If.call(e,n)&&(t[s6(n)]=e[n]);return t}function s6(e){let t=e.replace($A,a6);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function a6(e){return"-"+e.toLowerCase()}const gd={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},o6={};function l6(e,t){const n=o6,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Mw(e,r,i)}function Mw(e,t,n){if(c6(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ux(e.children,t,n)}return Array.isArray(e)?ux(e,t,n):""}function ux(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Mw(e[i],t,n);return r.join("")}function c6(e){return!!(e&&typeof e=="object")}const dx=document.createElement("i");function Rf(e){const t="&"+e+";";dx.innerHTML=t;const n=dx.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function cr(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function jn(e,t){return e.length>0?(cr(e,e.length,0,t),e):t}const hx={}.hasOwnProperty;function u6(e){const t={};let n=-1;for(;++n<e.length;)d6(t,e[n]);return t}function d6(e,t){let n;for(n in t){const i=(hx.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;if(a)for(o in a){hx.call(i,o)||(i[o]=[]);const l=a[o];h6(i[o],Array.isArray(l)?l:l?[l]:[])}}}function h6(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);cr(e,0,0,r)}function Fw(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Os(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const tr=Si(/[A-Za-z]/),rn=Si(/[\dA-Za-z]/),p6=Si(/[#-'*+\--9=?A-Z^-~]/);function Xh(e){return e!==null&&(e<32||e===127)}const Jh=Si(/\d/),f6=Si(/[\dA-Fa-f]/),m6=Si(/[!-/:-@[-`{-~]/);function pe(e){return e!==null&&e<-2}function qt(e){return e!==null&&(e<0||e===32)}function Ae(e){return e===-2||e===-1||e===32}const g6=Si(new RegExp("\\p{P}|\\p{S}","u")),x6=Si(/\s/);function Si(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function pa(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(a===37&&rn(e.charCodeAt(n+1))&&rn(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const l=e.charCodeAt(n+1);a<56320&&l>56319&&l<57344?(o=String.fromCharCode(a,l),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function De(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(c){return Ae(c)?(e.enter(n),l(c)):t(c)}function l(c){return Ae(c)&&a++<i?(e.consume(c),l):(e.exit(n),t(c))}}const v6={tokenize:y6};function y6(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),De(e,t,"linePrefix")}function i(l){return e.enter("paragraph"),a(l)}function a(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,o(l)}function o(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return pe(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),o)}}const b6={tokenize:w6},px={tokenize:j6};function w6(e){const t=this,n=[];let r=0,i,a,o;return l;function l(y){if(r<n.length){const k=n[r];return t.containerState=k[1],e.attempt(k[0].continuation,c,u)(y)}return u(y)}function c(y){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&g();const k=t.events.length;let C=k,E;for(;C--;)if(t.events[C][0]==="exit"&&t.events[C][1].type==="chunkFlow"){E=t.events[C][1].end;break}m(r);let _=k;for(;_<t.events.length;)t.events[_][1].end={...E},_++;return cr(t.events,C+1,0,t.events.slice(k)),t.events.length=_,u(y)}return l(y)}function u(y){if(r===n.length){if(!i)return p(y);if(i.currentConstruct&&i.currentConstruct.concrete)return x(y);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(px,d,h)(y)}function d(y){return i&&g(),m(r),p(y)}function h(y){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,x(y)}function p(y){return t.containerState={},e.attempt(px,f,x)(y)}function f(y){return r++,n.push([t.currentConstruct,t.containerState]),p(y)}function x(y){if(y===null){i&&g(),m(0),e.consume(y);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),v(y)}function v(y){if(y===null){w(e.exit("chunkFlow"),!0),m(0),e.consume(y);return}return pe(y)?(e.consume(y),w(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(y),v)}function w(y,k){const C=t.sliceStream(y);if(k&&C.push(null),y.previous=a,a&&(a.next=y),a=y,i.defineSkip(y.start),i.write(C),t.parser.lazy[y.start.line]){let E=i.events.length;for(;E--;)if(i.events[E][1].start.offset<o&&(!i.events[E][1].end||i.events[E][1].end.offset>o))return;const _=t.events.length;let I=_,B,D;for(;I--;)if(t.events[I][0]==="exit"&&t.events[I][1].type==="chunkFlow"){if(B){D=t.events[I][1].end;break}B=!0}for(m(r),E=_;E<t.events.length;)t.events[E][1].end={...D},E++;cr(t.events,I+1,0,t.events.slice(_)),t.events.length=E}}function m(y){let k=n.length;for(;k-- >y;){const C=n[k];t.containerState=C[1],C[0].exit.call(t,e)}n.length=y}function g(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function j6(e,t,n){return De(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function fx(e){if(e===null||qt(e)||x6(e))return 1;if(g6(e))return 2}function Df(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const ep={name:"attention",resolveAll:k6,tokenize:N6};function k6(e,t){let n=-1,r,i,a,o,l,c,u,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},p={...e[n][1].start};mx(h,-c),mx(p,c),o={type:c>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},l={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},a={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...o.start},end:{...l.end}},e[r][1].end={...o.start},e[n][1].start={...l.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=jn(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=jn(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=jn(u,Df(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=jn(u,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,u=jn(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,cr(e,r-1,n-r+3,u),n=r+u.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function N6(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=fx(r);let a;return o;function o(c){return a=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===a)return e.consume(c),l;const u=e.exit("attentionSequence"),d=fx(c),h=!d||d===2&&i||n.includes(c),p=!i||i===2&&d||n.includes(r);return u._open=!!(a===42?h:h&&(i||!p)),u._close=!!(a===42?p:p&&(d||!h)),t(c)}}function mx(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const E6={name:"autolink",tokenize:C6};function C6(e,t,n){let r=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(f){return tr(f)?(e.consume(f),o):f===64?n(f):u(f)}function o(f){return f===43||f===45||f===46||rn(f)?(r=1,l(f)):u(f)}function l(f){return f===58?(e.consume(f),r=0,c):(f===43||f===45||f===46||rn(f))&&r++<32?(e.consume(f),l):(r=0,u(f))}function c(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||Xh(f)?n(f):(e.consume(f),c)}function u(f){return f===64?(e.consume(f),d):p6(f)?(e.consume(f),u):n(f)}function d(f){return rn(f)?h(f):n(f)}function h(f){return f===46?(e.consume(f),r=0,d):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):p(f)}function p(f){if((f===45||rn(f))&&r++<63){const x=f===45?p:h;return e.consume(f),x}return n(f)}}const ku={partial:!0,tokenize:S6};function S6(e,t,n){return r;function r(a){return Ae(a)?De(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||pe(a)?t(a):n(a)}}const Lw={continuation:{tokenize:_6},exit:T6,name:"blockQuote",tokenize:A6};function A6(e,t,n){const r=this;return i;function i(o){if(o===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return n(o)}function a(o){return Ae(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function _6(e,t,n){const r=this;return i;function i(o){return Ae(o)?De(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(Lw,t,n)(o)}}function T6(e){e.exit("blockQuote")}const Vw={name:"characterEscape",tokenize:P6};function P6(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return m6(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Bw={name:"characterReference",tokenize:I6};function I6(e,t,n){const r=this;let i=0,a,o;return l;function l(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),c}function c(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,o=rn,d(h))}function u(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=f6,d):(e.enter("characterReferenceValue"),a=7,o=Jh,d(h))}function d(h){if(h===59&&i){const p=e.exit("characterReferenceValue");return o===rn&&!Rf(r.sliceSerialize(p))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(h)&&i++<a?(e.consume(h),d):n(h)}}const gx={partial:!0,tokenize:O6},xx={concrete:!0,name:"codeFenced",tokenize:z6};function z6(e,t,n){const r=this,i={partial:!0,tokenize:C};let a=0,o=0,l;return c;function c(E){return u(E)}function u(E){const _=r.events[r.events.length-1];return a=_&&_[1].type==="linePrefix"?_[2].sliceSerialize(_[1],!0).length:0,l=E,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(E)}function d(E){return E===l?(o++,e.consume(E),d):o<3?n(E):(e.exit("codeFencedFenceSequence"),Ae(E)?De(e,h,"whitespace")(E):h(E))}function h(E){return E===null||pe(E)?(e.exit("codeFencedFence"),r.interrupt?t(E):e.check(gx,v,k)(E)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(E))}function p(E){return E===null||pe(E)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(E)):Ae(E)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),De(e,f,"whitespace")(E)):E===96&&E===l?n(E):(e.consume(E),p)}function f(E){return E===null||pe(E)?h(E):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(E))}function x(E){return E===null||pe(E)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(E)):E===96&&E===l?n(E):(e.consume(E),x)}function v(E){return e.attempt(i,k,w)(E)}function w(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),m}function m(E){return a>0&&Ae(E)?De(e,g,"linePrefix",a+1)(E):g(E)}function g(E){return E===null||pe(E)?e.check(gx,v,k)(E):(e.enter("codeFlowValue"),y(E))}function y(E){return E===null||pe(E)?(e.exit("codeFlowValue"),g(E)):(e.consume(E),y)}function k(E){return e.exit("codeFenced"),t(E)}function C(E,_,I){let B=0;return D;function D(G){return E.enter("lineEnding"),E.consume(G),E.exit("lineEnding"),V}function V(G){return E.enter("codeFencedFence"),Ae(G)?De(E,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):P(G)}function P(G){return G===l?(E.enter("codeFencedFenceSequence"),U(G)):I(G)}function U(G){return G===l?(B++,E.consume(G),U):B>=o?(E.exit("codeFencedFenceSequence"),Ae(G)?De(E,M,"whitespace")(G):M(G)):I(G)}function M(G){return G===null||pe(G)?(E.exit("codeFencedFence"),_(G)):I(G)}}}function O6(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const xd={name:"codeIndented",tokenize:D6},R6={partial:!0,tokenize:M6};function D6(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),De(e,a,"linePrefix",5)(u)}function a(u){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?o(u):n(u)}function o(u){return u===null?c(u):pe(u)?e.attempt(R6,o,c)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||pe(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),l)}function c(u){return e.exit("codeIndented"),t(u)}}function M6(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):pe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):De(e,a,"linePrefix",5)(o)}function a(o){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):pe(o)?i(o):n(o)}}const F6={name:"codeText",previous:V6,resolve:L6,tokenize:B6};function L6(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function V6(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function B6(e,t,n){let r=0,i,a;return o;function o(h){return e.enter("codeText"),e.enter("codeTextSequence"),l(h)}function l(h){return h===96?(e.consume(h),r++,l):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(a=e.enter("codeTextSequence"),i=0,d(h)):pe(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(h))}function u(h){return h===null||h===32||h===96||pe(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),u)}function d(h){return h===96?(e.consume(h),i++,d):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",u(h))}}class $6{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Ca(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Ca(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ca(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Ca(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ca(this.left,n.reverse())}}}function Ca(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function $w(e){const t={};let n=-1,r,i,a,o,l,c,u;const d=new $6(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,U6(d,n)),n=t[n],u=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=d.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...d.get(i)[1].start},l=d.slice(i,n),l.unshift(r),d.splice(i,n-i+1,l))}}return cr(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!u}function U6(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const l=o.events,c=[],u={};let d,h,p=-1,f=n,x=0,v=0;const w=[v];for(;f;){for(;e.get(++i)[1]!==f;);a.push(i),f._tokenizer||(d=r.sliceStream(f),f.next||d.push(null),h&&o.defineSkip(f.start),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(d),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),h=f,f=f.next}for(f=n;++p<l.length;)l[p][0]==="exit"&&l[p-1][0]==="enter"&&l[p][1].type===l[p-1][1].type&&l[p][1].start.line!==l[p][1].end.line&&(v=p+1,w.push(v),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(o.events=[],f?(f._tokenizer=void 0,f.previous=void 0):w.pop(),p=w.length;p--;){const m=l.slice(w[p],w[p+1]),g=a.pop();c.push([g,g+m.length-1]),e.splice(g,2,m)}for(c.reverse(),p=-1;++p<c.length;)u[x+c[p][0]]=x+c[p][1],x+=c[p][1]-c[p][0]-1;return u}const W6={resolve:q6,tokenize:Z6},H6={partial:!0,tokenize:G6};function q6(e){return $w(e),e}function Z6(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?a(l):pe(l)?e.check(H6,o,a)(l):(e.consume(l),i)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function o(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function G6(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),De(e,a,"linePrefix")}function a(o){if(o===null||pe(o))return n(o);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function Uw(e,t,n,r,i,a,o,l,c){const u=c||Number.POSITIVE_INFINITY;let d=0;return h;function h(m){return m===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(m),e.exit(a),p):m===null||m===32||m===41||Xh(m)?n(m):(e.enter(r),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),v(m))}function p(m){return m===62?(e.enter(a),e.consume(m),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===62?(e.exit("chunkString"),e.exit(l),p(m)):m===null||m===60||pe(m)?n(m):(e.consume(m),m===92?x:f)}function x(m){return m===60||m===62||m===92?(e.consume(m),f):f(m)}function v(m){return!d&&(m===null||m===41||qt(m))?(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(m)):d<u&&m===40?(e.consume(m),d++,v):m===41?(e.consume(m),d--,v):m===null||m===32||m===40||Xh(m)?n(m):(e.consume(m),m===92?w:v)}function w(m){return m===40||m===41||m===92?(e.consume(m),v):v(m)}}function Ww(e,t,n,r,i,a){const o=this;let l=0,c;return u;function u(f){return e.enter(r),e.enter(i),e.consume(f),e.exit(i),e.enter(a),d}function d(f){return l>999||f===null||f===91||f===93&&!c||f===94&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?n(f):f===93?(e.exit(a),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):pe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),h(f))}function h(f){return f===null||f===91||f===93||pe(f)||l++>999?(e.exit("chunkString"),d(f)):(e.consume(f),c||(c=!Ae(f)),f===92?p:h)}function p(f){return f===91||f===92||f===93?(e.consume(f),l++,h):h(f)}}function Hw(e,t,n,r,i,a){let o;return l;function l(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),o=p===40?41:p,c):n(p)}function c(p){return p===o?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(a),u(p))}function u(p){return p===o?(e.exit(a),c(o)):p===null?n(p):pe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),De(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===o||p===null||pe(p)?(e.exit("chunkString"),u(p)):(e.consume(p),p===92?h:d)}function h(p){return p===o||p===92?(e.consume(p),d):d(p)}}function Ga(e,t){let n;return r;function r(i){return pe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ae(i)?De(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const K6={name:"definition",tokenize:Y6},Q6={partial:!0,tokenize:X6};function Y6(e,t,n){const r=this;let i;return a;function a(f){return e.enter("definition"),o(f)}function o(f){return Ww.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function l(f){return i=Os(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),c):n(f)}function c(f){return qt(f)?Ga(e,u)(f):u(f)}function u(f){return Uw(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function d(f){return e.attempt(Q6,h,h)(f)}function h(f){return Ae(f)?De(e,p,"whitespace")(f):p(f)}function p(f){return f===null||pe(f)?(e.exit("definition"),r.parser.defined.push(i),t(f)):n(f)}}function X6(e,t,n){return r;function r(l){return qt(l)?Ga(e,i)(l):n(l)}function i(l){return Hw(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return Ae(l)?De(e,o,"whitespace")(l):o(l)}function o(l){return l===null||pe(l)?t(l):n(l)}}const J6={name:"hardBreakEscape",tokenize:e4};function e4(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return pe(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const t4={name:"headingAtx",resolve:n4,tokenize:r4};function n4(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},cr(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function r4(e,t,n){let r=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),o(d)}function o(d){return d===35&&r++<6?(e.consume(d),o):d===null||qt(d)?(e.exit("atxHeadingSequence"),l(d)):n(d)}function l(d){return d===35?(e.enter("atxHeadingSequence"),c(d)):d===null||pe(d)?(e.exit("atxHeading"),t(d)):Ae(d)?De(e,l,"whitespace")(d):(e.enter("atxHeadingText"),u(d))}function c(d){return d===35?(e.consume(d),c):(e.exit("atxHeadingSequence"),l(d))}function u(d){return d===null||d===35||qt(d)?(e.exit("atxHeadingText"),l(d)):(e.consume(d),u)}}const i4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],vx=["pre","script","style","textarea"],s4={concrete:!0,name:"htmlFlow",resolveTo:l4,tokenize:c4},a4={partial:!0,tokenize:d4},o4={partial:!0,tokenize:u4};function l4(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function c4(e,t,n){const r=this;let i,a,o,l,c;return u;function u(N){return d(N)}function d(N){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(N),h}function h(N){return N===33?(e.consume(N),p):N===47?(e.consume(N),a=!0,v):N===63?(e.consume(N),i=3,r.interrupt?t:j):tr(N)?(e.consume(N),o=String.fromCharCode(N),w):n(N)}function p(N){return N===45?(e.consume(N),i=2,f):N===91?(e.consume(N),i=5,l=0,x):tr(N)?(e.consume(N),i=4,r.interrupt?t:j):n(N)}function f(N){return N===45?(e.consume(N),r.interrupt?t:j):n(N)}function x(N){const je="CDATA[";return N===je.charCodeAt(l++)?(e.consume(N),l===je.length?r.interrupt?t:P:x):n(N)}function v(N){return tr(N)?(e.consume(N),o=String.fromCharCode(N),w):n(N)}function w(N){if(N===null||N===47||N===62||qt(N)){const je=N===47,Ue=o.toLowerCase();return!je&&!a&&vx.includes(Ue)?(i=1,r.interrupt?t(N):P(N)):i4.includes(o.toLowerCase())?(i=6,je?(e.consume(N),m):r.interrupt?t(N):P(N)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(N):a?g(N):y(N))}return N===45||rn(N)?(e.consume(N),o+=String.fromCharCode(N),w):n(N)}function m(N){return N===62?(e.consume(N),r.interrupt?t:P):n(N)}function g(N){return Ae(N)?(e.consume(N),g):D(N)}function y(N){return N===47?(e.consume(N),D):N===58||N===95||tr(N)?(e.consume(N),k):Ae(N)?(e.consume(N),y):D(N)}function k(N){return N===45||N===46||N===58||N===95||rn(N)?(e.consume(N),k):C(N)}function C(N){return N===61?(e.consume(N),E):Ae(N)?(e.consume(N),C):y(N)}function E(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(e.consume(N),c=N,_):Ae(N)?(e.consume(N),E):I(N)}function _(N){return N===c?(e.consume(N),c=null,B):N===null||pe(N)?n(N):(e.consume(N),_)}function I(N){return N===null||N===34||N===39||N===47||N===60||N===61||N===62||N===96||qt(N)?C(N):(e.consume(N),I)}function B(N){return N===47||N===62||Ae(N)?y(N):n(N)}function D(N){return N===62?(e.consume(N),V):n(N)}function V(N){return N===null||pe(N)?P(N):Ae(N)?(e.consume(N),V):n(N)}function P(N){return N===45&&i===2?(e.consume(N),Y):N===60&&i===1?(e.consume(N),te):N===62&&i===4?(e.consume(N),Q):N===63&&i===3?(e.consume(N),j):N===93&&i===5?(e.consume(N),$):pe(N)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(a4,ie,U)(N)):N===null||pe(N)?(e.exit("htmlFlowData"),U(N)):(e.consume(N),P)}function U(N){return e.check(o4,M,ie)(N)}function M(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),G}function G(N){return N===null||pe(N)?U(N):(e.enter("htmlFlowData"),P(N))}function Y(N){return N===45?(e.consume(N),j):P(N)}function te(N){return N===47?(e.consume(N),o="",T):P(N)}function T(N){if(N===62){const je=o.toLowerCase();return vx.includes(je)?(e.consume(N),Q):P(N)}return tr(N)&&o.length<8?(e.consume(N),o+=String.fromCharCode(N),T):P(N)}function $(N){return N===93?(e.consume(N),j):P(N)}function j(N){return N===62?(e.consume(N),Q):N===45&&i===2?(e.consume(N),j):P(N)}function Q(N){return N===null||pe(N)?(e.exit("htmlFlowData"),ie(N)):(e.consume(N),Q)}function ie(N){return e.exit("htmlFlow"),t(N)}}function u4(e,t,n){const r=this;return i;function i(o){return pe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function d4(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ku,t,n)}}const h4={name:"htmlText",tokenize:p4};function p4(e,t,n){const r=this;let i,a,o;return l;function l(j){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(j),c}function c(j){return j===33?(e.consume(j),u):j===47?(e.consume(j),C):j===63?(e.consume(j),y):tr(j)?(e.consume(j),I):n(j)}function u(j){return j===45?(e.consume(j),d):j===91?(e.consume(j),a=0,x):tr(j)?(e.consume(j),g):n(j)}function d(j){return j===45?(e.consume(j),f):n(j)}function h(j){return j===null?n(j):j===45?(e.consume(j),p):pe(j)?(o=h,te(j)):(e.consume(j),h)}function p(j){return j===45?(e.consume(j),f):h(j)}function f(j){return j===62?Y(j):j===45?p(j):h(j)}function x(j){const Q="CDATA[";return j===Q.charCodeAt(a++)?(e.consume(j),a===Q.length?v:x):n(j)}function v(j){return j===null?n(j):j===93?(e.consume(j),w):pe(j)?(o=v,te(j)):(e.consume(j),v)}function w(j){return j===93?(e.consume(j),m):v(j)}function m(j){return j===62?Y(j):j===93?(e.consume(j),m):v(j)}function g(j){return j===null||j===62?Y(j):pe(j)?(o=g,te(j)):(e.consume(j),g)}function y(j){return j===null?n(j):j===63?(e.consume(j),k):pe(j)?(o=y,te(j)):(e.consume(j),y)}function k(j){return j===62?Y(j):y(j)}function C(j){return tr(j)?(e.consume(j),E):n(j)}function E(j){return j===45||rn(j)?(e.consume(j),E):_(j)}function _(j){return pe(j)?(o=_,te(j)):Ae(j)?(e.consume(j),_):Y(j)}function I(j){return j===45||rn(j)?(e.consume(j),I):j===47||j===62||qt(j)?B(j):n(j)}function B(j){return j===47?(e.consume(j),Y):j===58||j===95||tr(j)?(e.consume(j),D):pe(j)?(o=B,te(j)):Ae(j)?(e.consume(j),B):Y(j)}function D(j){return j===45||j===46||j===58||j===95||rn(j)?(e.consume(j),D):V(j)}function V(j){return j===61?(e.consume(j),P):pe(j)?(o=V,te(j)):Ae(j)?(e.consume(j),V):B(j)}function P(j){return j===null||j===60||j===61||j===62||j===96?n(j):j===34||j===39?(e.consume(j),i=j,U):pe(j)?(o=P,te(j)):Ae(j)?(e.consume(j),P):(e.consume(j),M)}function U(j){return j===i?(e.consume(j),i=void 0,G):j===null?n(j):pe(j)?(o=U,te(j)):(e.consume(j),U)}function M(j){return j===null||j===34||j===39||j===60||j===61||j===96?n(j):j===47||j===62||qt(j)?B(j):(e.consume(j),M)}function G(j){return j===47||j===62||qt(j)?B(j):n(j)}function Y(j){return j===62?(e.consume(j),e.exit("htmlTextData"),e.exit("htmlText"),t):n(j)}function te(j){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),T}function T(j){return Ae(j)?De(e,$,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):$(j)}function $(j){return e.enter("htmlTextData"),o(j)}}const Mf={name:"labelEnd",resolveAll:x4,resolveTo:v4,tokenize:y4},f4={tokenize:b4},m4={tokenize:w4},g4={tokenize:j4};function x4(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&cr(e,0,e.length,n),e}function v4(e,t){let n=e.length,r=0,i,a,o,l;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},d={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return l=[["enter",c,t],["enter",u,t]],l=jn(l,e.slice(a+1,a+r+3)),l=jn(l,[["enter",d,t]]),l=jn(l,Df(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),l=jn(l,[["exit",d,t],e[o-2],e[o-1],["exit",u,t]]),l=jn(l,e.slice(o+1)),l=jn(l,[["exit",c,t]]),cr(e,a,e.length,l),e}function y4(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return l;function l(p){return a?a._inactive?h(p):(o=r.parser.defined.includes(Os(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),c):n(p)}function c(p){return p===40?e.attempt(f4,d,o?d:h)(p):p===91?e.attempt(m4,d,o?u:h)(p):o?d(p):h(p)}function u(p){return e.attempt(g4,d,h)(p)}function d(p){return t(p)}function h(p){return a._balanced=!0,n(p)}}function b4(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return qt(h)?Ga(e,a)(h):a(h)}function a(h){return h===41?d(h):Uw(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function o(h){return qt(h)?Ga(e,c)(h):d(h)}function l(h){return n(h)}function c(h){return h===34||h===39||h===40?Hw(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):d(h)}function u(h){return qt(h)?Ga(e,d)(h):d(h)}function d(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function w4(e,t,n){const r=this;return i;function i(l){return Ww.call(r,e,a,o,"reference","referenceMarker","referenceString")(l)}function a(l){return r.parser.defined.includes(Os(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function o(l){return n(l)}}function j4(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const k4={name:"labelStartImage",resolveAll:Mf.resolveAll,tokenize:N4};function N4(e,t,n){const r=this;return i;function i(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),o):n(l)}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const E4={name:"labelStartLink",resolveAll:Mf.resolveAll,tokenize:C4};function C4(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const vd={name:"lineEnding",tokenize:S4};function S4(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),De(e,t,"linePrefix")}}const Kl={name:"thematicBreak",tokenize:A4};function A4(e,t,n){let r=0,i;return a;function a(u){return e.enter("thematicBreak"),o(u)}function o(u){return i=u,l(u)}function l(u){return u===i?(e.enter("thematicBreakSequence"),c(u)):r>=3&&(u===null||pe(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===i?(e.consume(u),r++,c):(e.exit("thematicBreakSequence"),Ae(u)?De(e,l,"whitespace")(u):l(u))}}const Lt={continuation:{tokenize:I4},exit:O4,name:"list",tokenize:P4},_4={partial:!0,tokenize:R4},T4={partial:!0,tokenize:z4};function P4(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return l;function l(f){const x=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:Jh(f)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(Kl,n,u)(f):u(f);if(!r.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(f)}return n(f)}function c(f){return Jh(f)&&++o<10?(e.consume(f),c):(!r.interrupt||o<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):n(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,e.check(ku,r.interrupt?n:d,e.attempt(_4,p,h))}function d(f){return r.containerState.initialBlankLine=!0,a++,p(f)}function h(f){return Ae(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),p):n(f)}function p(f){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function I4(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ku,i,a);function i(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,De(e,t,"listItemIndent",r.containerState.size+1)(l)}function a(l){return r.containerState.furtherBlankLines||!Ae(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(T4,t,o)(l))}function o(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,De(e,e.attempt(Lt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function z4(e,t,n){const r=this;return De(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function O4(e){e.exit(this.containerState.type)}function R4(e,t,n){const r=this;return De(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!Ae(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const yx={name:"setextUnderline",resolveTo:D4,tokenize:M4};function D4(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function M4(e,t,n){const r=this;let i;return a;function a(u){let d=r.events.length,h;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){h=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=u,o(u)):n(u)}function o(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===i?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),Ae(u)?De(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||pe(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const F4={tokenize:L4};function L4(e){const t=this,n=e.attempt(ku,r,e.attempt(this.parser.constructs.flowInitial,i,De(e,e.attempt(this.parser.constructs.flow,i,e.attempt(W6,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const V4={resolveAll:Zw()},B4=qw("string"),$4=qw("text");function qw(e){return{resolveAll:Zw(e==="text"?U4:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,l);return o;function o(d){return u(d)?a(d):l(d)}function l(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),c}function c(d){return u(d)?(n.exit("data"),a(d)):(n.consume(d),c)}function u(d){if(d===null)return!0;const h=i[d];let p=-1;if(h)for(;++p<h.length;){const f=h[p];if(!f.previous||f.previous.call(r,r.previous))return!0}return!1}}}function Zw(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function U4(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,o=-1,l=0,c;for(;a--;){const u=i[a];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)l++,o--;if(o)break;o=-1}else if(u===-2)c=!0,l++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const u={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const W4={42:Lt,43:Lt,45:Lt,48:Lt,49:Lt,50:Lt,51:Lt,52:Lt,53:Lt,54:Lt,55:Lt,56:Lt,57:Lt,62:Lw},H4={91:K6},q4={[-2]:xd,[-1]:xd,32:xd},Z4={35:t4,42:Kl,45:[yx,Kl],60:s4,61:yx,95:Kl,96:xx,126:xx},G4={38:Bw,92:Vw},K4={[-5]:vd,[-4]:vd,[-3]:vd,33:k4,38:Bw,42:ep,60:[E6,h4],91:E4,92:[J6,Vw],93:Mf,95:ep,96:F6},Q4={null:[ep,V4]},Y4={null:[42,95]},X4={null:[]},J4=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Y4,contentInitial:H4,disable:X4,document:W4,flow:Z4,flowInitial:q4,insideSpan:Q4,string:G4,text:K4},Symbol.toStringTag,{value:"Module"}));function e_(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let o=[],l=[];const c={attempt:_(C),check:_(E),consume:g,enter:y,exit:k,interrupt:_(E,{interrupt:!0})},u={code:null,containerState:{},defineSkip:v,events:[],now:x,parser:e,previous:null,sliceSerialize:p,sliceStream:f,write:h};let d=t.tokenize.call(u,c);return t.resolveAll&&a.push(t),u;function h(V){return o=jn(o,V),w(),o[o.length-1]!==null?[]:(I(t,0),u.events=Df(a,u.events,u),u.events)}function p(V,P){return n_(f(V),P)}function f(V){return t_(o,V)}function x(){const{_bufferIndex:V,_index:P,line:U,column:M,offset:G}=r;return{_bufferIndex:V,_index:P,line:U,column:M,offset:G}}function v(V){i[V.line]=V.column,D()}function w(){let V;for(;r._index<o.length;){const P=o[r._index];if(typeof P=="string")for(V=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===V&&r._bufferIndex<P.length;)m(P.charCodeAt(r._bufferIndex));else m(P)}}function m(V){d=d(V)}function g(V){pe(V)?(r.line++,r.column=1,r.offset+=V===-3?2:1,D()):V!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=V}function y(V,P){const U=P||{};return U.type=V,U.start=x(),u.events.push(["enter",U,u]),l.push(U),U}function k(V){const P=l.pop();return P.end=x(),u.events.push(["exit",P,u]),P}function C(V,P){I(V,P.from)}function E(V,P){P.restore()}function _(V,P){return U;function U(M,G,Y){let te,T,$,j;return Array.isArray(M)?ie(M):"tokenize"in M?ie([M]):Q(M);function Q(ce){return rt;function rt(Je){const ut=Je!==null&&ce[Je],ft=Je!==null&&ce.null,dn=[...Array.isArray(ut)?ut:ut?[ut]:[],...Array.isArray(ft)?ft:ft?[ft]:[]];return ie(dn)(Je)}}function ie(ce){return te=ce,T=0,ce.length===0?Y:N(ce[T])}function N(ce){return rt;function rt(Je){return j=B(),$=ce,ce.partial||(u.currentConstruct=ce),ce.name&&u.parser.constructs.disable.null.includes(ce.name)?Ue():ce.tokenize.call(P?Object.assign(Object.create(u),P):u,c,je,Ue)(Je)}}function je(ce){return V($,j),G}function Ue(ce){return j.restore(),++T<te.length?N(te[T]):Y}}}function I(V,P){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&cr(u.events,P,u.events.length-P,V.resolve(u.events.slice(P),u)),V.resolveTo&&(u.events=V.resolveTo(u.events,u))}function B(){const V=x(),P=u.previous,U=u.currentConstruct,M=u.events.length,G=Array.from(l);return{from:M,restore:Y};function Y(){r=V,u.previous=P,u.currentConstruct=U,u.events.length=M,l=G,D()}}function D(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function t_(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){const l=o[0];typeof l=="string"?o[0]=l.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function n_(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
`;break}case-3:{o=`\r
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}function r_(e){const r={constructs:u6([J4,...(e||{}).extensions||[]]),content:i(v6),defined:[],document:i(b6),flow:i(F4),lazy:{},string:i(B4),text:i($4)};return r;function i(a){return o;function o(l){return e_(r,a,l)}}}function i_(e){for(;!$w(e););return e}const bx=/[\0\t\n\r]/g;function s_(){let e=1,t="",n=!0,r;return i;function i(a,o,l){const c=[];let u,d,h,p,f;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),h=0,t="",n&&(a.charCodeAt(0)===65279&&h++,n=void 0);h<a.length;){if(bx.lastIndex=h,u=bx.exec(a),p=u&&u.index!==void 0?u.index:a.length,f=a.charCodeAt(p),!u){t=a.slice(h);break}if(f===10&&h===p&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),h<p&&(c.push(a.slice(h,p)),e+=p-h),f){case 0:{c.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,c.push(-2);e++<d;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}h=p+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const a_=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function o_(e){return e.replace(a_,l_)}function l_(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Fw(n.slice(a?2:1),a?16:10)}return Rf(n)||e}const Gw={}.hasOwnProperty;function c_(e,t,n){return typeof t!="string"&&(n=t,t=void 0),u_(n)(i_(r_(n).document().write(s_()(e,t,!0))))}function u_(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(A),autolinkProtocol:B,autolinkEmail:B,atxHeading:a(Dr),blockQuote:a(ft),characterEscape:B,characterReference:B,codeFenced:a(dn),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(dn,o),codeText:a(Un,o),codeTextData:B,data:B,codeFlowValue:B,definition:a(hn),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Wn),hardBreakEscape:a(pn),hardBreakTrailing:a(pn),htmlFlow:a(Ai,o),htmlFlowData:B,htmlText:a(Ai,o),htmlTextData:B,image:a(S),label:o,link:a(A),listItem:a(X),listItemValue:p,listOrdered:a(O,h),listUnordered:a(O),paragraph:a(K),reference:N,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Dr),strong:a(H),thematicBreak:a(me)},exit:{atxHeading:c(),atxHeadingSequence:C,autolink:c(),autolinkEmail:ut,autolinkProtocol:Je,blockQuote:c(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:Ue,characterReferenceMarkerNumeric:Ue,characterReferenceValue:ce,characterReference:rt,codeFenced:c(w),codeFencedFence:v,codeFencedFenceInfo:f,codeFencedFenceMeta:x,codeFlowValue:D,codeIndented:c(m),codeText:c(G),codeTextData:D,data:D,definition:c(),definitionDestinationString:k,definitionLabelString:g,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(P),hardBreakTrailing:c(P),htmlFlow:c(U),htmlFlowData:D,htmlText:c(M),htmlTextData:D,image:c(te),label:$,labelText:T,lineEnding:V,link:c(Y),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:je,resourceDestinationString:j,resourceTitleString:Q,resource:ie,setextHeading:c(I),setextHeadingLineSequence:_,setextHeadingText:E,strong:c(),thematicBreak:c()}};Kw(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(z){let L={type:"root",children:[]};const oe={stack:[L],tokenStack:[],config:t,enter:l,exit:u,buffer:o,resume:d,data:n},fe=[];let Ne=-1;for(;++Ne<z.length;)if(z[Ne][1].type==="listOrdered"||z[Ne][1].type==="listUnordered")if(z[Ne][0]==="enter")fe.push(Ne);else{const mt=fe.pop();Ne=i(z,mt,Ne)}for(Ne=-1;++Ne<z.length;){const mt=t[z[Ne][0]];Gw.call(mt,z[Ne][1].type)&&mt[z[Ne][1].type].call(Object.assign({sliceSerialize:z[Ne][2].sliceSerialize},oe),z[Ne][1])}if(oe.tokenStack.length>0){const mt=oe.tokenStack[oe.tokenStack.length-1];(mt[1]||wx).call(oe,void 0,mt[0])}for(L.position={start:Br(z.length>0?z[0][1].start:{line:1,column:1,offset:0}),end:Br(z.length>0?z[z.length-2][1].end:{line:1,column:1,offset:0})},Ne=-1;++Ne<t.transforms.length;)L=t.transforms[Ne](L)||L;return L}function i(z,L,oe){let fe=L-1,Ne=-1,mt=!1,fn,Tt,fr,mn;for(;++fe<=oe;){const Ke=z[fe];switch(Ke[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ke[0]==="enter"?Ne++:Ne--,mn=void 0;break}case"lineEndingBlank":{Ke[0]==="enter"&&(fn&&!mn&&!Ne&&!fr&&(fr=fe),mn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:mn=void 0}if(!Ne&&Ke[0]==="enter"&&Ke[1].type==="listItemPrefix"||Ne===-1&&Ke[0]==="exit"&&(Ke[1].type==="listUnordered"||Ke[1].type==="listOrdered")){if(fn){let Mr=fe;for(Tt=void 0;Mr--;){const ue=z[Mr];if(ue[1].type==="lineEnding"||ue[1].type==="lineEndingBlank"){if(ue[0]==="exit")continue;Tt&&(z[Tt][1].type="lineEndingBlank",mt=!0),ue[1].type="lineEnding",Tt=Mr}else if(!(ue[1].type==="linePrefix"||ue[1].type==="blockQuotePrefix"||ue[1].type==="blockQuotePrefixWhitespace"||ue[1].type==="blockQuoteMarker"||ue[1].type==="listItemIndent"))break}fr&&(!Tt||fr<Tt)&&(fn._spread=!0),fn.end=Object.assign({},Tt?z[Tt][1].start:Ke[1].end),z.splice(Tt||fe,0,["exit",fn,Ke[2]]),fe++,oe++}if(Ke[1].type==="listItemPrefix"){const Mr={type:"listItem",_spread:!1,start:Object.assign({},Ke[1].start),end:void 0};fn=Mr,z.splice(fe,0,["enter",Mr,Ke[2]]),fe++,oe++,fr=void 0,mn=!0}}}return z[L][1]._spread=mt,oe}function a(z,L){return oe;function oe(fe){l.call(this,z(fe),fe),L&&L.call(this,fe)}}function o(){this.stack.push({type:"fragment",children:[]})}function l(z,L,oe){this.stack[this.stack.length-1].children.push(z),this.stack.push(z),this.tokenStack.push([L,oe||void 0]),z.position={start:Br(L.start),end:void 0}}function c(z){return L;function L(oe){z&&z.call(this,oe),u.call(this,oe)}}function u(z,L){const oe=this.stack.pop(),fe=this.tokenStack.pop();if(fe)fe[0].type!==z.type&&(L?L.call(this,z,fe[0]):(fe[1]||wx).call(this,z,fe[0]));else throw new Error("Cannot close `"+z.type+"` ("+Za({start:z.start,end:z.end})+"): it’s not open");oe.position.end=Br(z.end)}function d(){return l6(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function p(z){if(this.data.expectingFirstListItemValue){const L=this.stack[this.stack.length-2];L.start=Number.parseInt(this.sliceSerialize(z),10),this.data.expectingFirstListItemValue=void 0}}function f(){const z=this.resume(),L=this.stack[this.stack.length-1];L.lang=z}function x(){const z=this.resume(),L=this.stack[this.stack.length-1];L.meta=z}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function w(){const z=this.resume(),L=this.stack[this.stack.length-1];L.value=z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function m(){const z=this.resume(),L=this.stack[this.stack.length-1];L.value=z.replace(/(\r?\n|\r)$/g,"")}function g(z){const L=this.resume(),oe=this.stack[this.stack.length-1];oe.label=L,oe.identifier=Os(this.sliceSerialize(z)).toLowerCase()}function y(){const z=this.resume(),L=this.stack[this.stack.length-1];L.title=z}function k(){const z=this.resume(),L=this.stack[this.stack.length-1];L.url=z}function C(z){const L=this.stack[this.stack.length-1];if(!L.depth){const oe=this.sliceSerialize(z).length;L.depth=oe}}function E(){this.data.setextHeadingSlurpLineEnding=!0}function _(z){const L=this.stack[this.stack.length-1];L.depth=this.sliceSerialize(z).codePointAt(0)===61?1:2}function I(){this.data.setextHeadingSlurpLineEnding=void 0}function B(z){const oe=this.stack[this.stack.length-1].children;let fe=oe[oe.length-1];(!fe||fe.type!=="text")&&(fe=ae(),fe.position={start:Br(z.start),end:void 0},oe.push(fe)),this.stack.push(fe)}function D(z){const L=this.stack.pop();L.value+=this.sliceSerialize(z),L.position.end=Br(z.end)}function V(z){const L=this.stack[this.stack.length-1];if(this.data.atHardBreak){const oe=L.children[L.children.length-1];oe.position.end=Br(z.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(L.type)&&(B.call(this,z),D.call(this,z))}function P(){this.data.atHardBreak=!0}function U(){const z=this.resume(),L=this.stack[this.stack.length-1];L.value=z}function M(){const z=this.resume(),L=this.stack[this.stack.length-1];L.value=z}function G(){const z=this.resume(),L=this.stack[this.stack.length-1];L.value=z}function Y(){const z=this.stack[this.stack.length-1];if(this.data.inReference){const L=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=L,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function te(){const z=this.stack[this.stack.length-1];if(this.data.inReference){const L=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=L,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function T(z){const L=this.sliceSerialize(z),oe=this.stack[this.stack.length-2];oe.label=o_(L),oe.identifier=Os(L).toLowerCase()}function $(){const z=this.stack[this.stack.length-1],L=this.resume(),oe=this.stack[this.stack.length-1];if(this.data.inReference=!0,oe.type==="link"){const fe=z.children;oe.children=fe}else oe.alt=L}function j(){const z=this.resume(),L=this.stack[this.stack.length-1];L.url=z}function Q(){const z=this.resume(),L=this.stack[this.stack.length-1];L.title=z}function ie(){this.data.inReference=void 0}function N(){this.data.referenceType="collapsed"}function je(z){const L=this.resume(),oe=this.stack[this.stack.length-1];oe.label=L,oe.identifier=Os(this.sliceSerialize(z)).toLowerCase(),this.data.referenceType="full"}function Ue(z){this.data.characterReferenceType=z.type}function ce(z){const L=this.sliceSerialize(z),oe=this.data.characterReferenceType;let fe;oe?(fe=Fw(L,oe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):fe=Rf(L);const Ne=this.stack[this.stack.length-1];Ne.value+=fe}function rt(z){const L=this.stack.pop();L.position.end=Br(z.end)}function Je(z){D.call(this,z);const L=this.stack[this.stack.length-1];L.url=this.sliceSerialize(z)}function ut(z){D.call(this,z);const L=this.stack[this.stack.length-1];L.url="mailto:"+this.sliceSerialize(z)}function ft(){return{type:"blockquote",children:[]}}function dn(){return{type:"code",lang:null,meta:null,value:""}}function Un(){return{type:"inlineCode",value:""}}function hn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Wn(){return{type:"emphasis",children:[]}}function Dr(){return{type:"heading",depth:0,children:[]}}function pn(){return{type:"break"}}function Ai(){return{type:"html",value:""}}function S(){return{type:"image",title:null,url:"",alt:null}}function A(){return{type:"link",title:null,url:"",children:[]}}function O(z){return{type:"list",ordered:z.type==="listOrdered",start:null,spread:z._spread,children:[]}}function X(z){return{type:"listItem",spread:z._spread,checked:null,children:[]}}function K(){return{type:"paragraph",children:[]}}function H(){return{type:"strong",children:[]}}function ae(){return{type:"text",value:""}}function me(){return{type:"thematicBreak"}}}function Br(e){return{line:e.line,column:e.column,offset:e.offset}}function Kw(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Kw(e,r):d_(e,r)}}function d_(e,t){let n;for(n in t)if(Gw.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function wx(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Za({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Za({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Za({start:t.start,end:t.end})+") is still open")}function h_(e){const t=this;t.parser=n;function n(r){return c_(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function p_(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function f_(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
`}]}function m_(e,t){const n=t.value?t.value+`
`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function g_(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function x_(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function v_(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=pa(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let o,l=e.footnoteCounts.get(r);l===void 0?(l=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,l+=1,e.footnoteCounts.set(r,l);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,c);const u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,u),e.applyData(t,u)}function y_(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function b_(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Qw(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function w_(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Qw(e,t);const i={src:pa(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function j_(e,t){const n={src:pa(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function k_(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function N_(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Qw(e,t);const i={href:pa(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function E_(e,t){const n={href:pa(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function C_(e,t,n){const r=e.all(t),i=n?S_(n):Yw(t),a={},o=[];if(typeof t.checked=="boolean"){const d=r[0];let h;d&&d.type==="element"&&d.tagName==="p"?h=d:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const d=r[l];(i||l!==0||d.type!=="element"||d.tagName!=="p")&&o.push({type:"text",value:`
`}),d.type==="element"&&d.tagName==="p"&&!i?o.push(...d.children):o.push(d)}const c=r[r.length-1];c&&(i||c.type!=="element"||c.tagName!=="p")&&o.push({type:"text",value:`
`});const u={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,u),e.applyData(t,u)}function S_(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Yw(n[r])}return t}function Yw(e){const t=e.spread;return t??e.children.length>1}function A_(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function __(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function T_(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function P_(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function I_(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=Pf(t.children[1]),c=Pw(t.children[t.children.length-1]);l&&c&&(o.position={start:l,end:c}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function z_(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,l=o?o.length:t.children.length;let c=-1;const u=[];for(;++c<l;){const h=t.children[c],p={},f=o?o[c]:void 0;f&&(p.align=f);let x={type:"element",tagName:a,properties:p,children:[]};h&&(x.children=e.all(h),e.patch(h,x),x=e.applyData(h,x)),u.push(x)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,d),e.applyData(t,d)}function O_(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const jx=9,kx=32;function R_(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push(Nx(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(Nx(t.slice(i),i>0,!1)),a.join("")}function Nx(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===jx||a===kx;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===jx||a===kx;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function D_(e,t){const n={type:"text",value:R_(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function M_(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const F_={blockquote:p_,break:f_,code:m_,delete:g_,emphasis:x_,footnoteReference:v_,heading:y_,html:b_,imageReference:w_,image:j_,inlineCode:k_,linkReference:N_,link:E_,listItem:C_,list:A_,paragraph:__,root:T_,strong:P_,table:I_,tableCell:O_,tableRow:z_,text:D_,thematicBreak:M_,toml:Al,yaml:Al,definition:Al,footnoteDefinition:Al};function Al(){}const Xw=-1,Nu=0,Ka=1,zc=2,Ff=3,Lf=4,Vf=5,Bf=6,Jw=7,e1=8,Ex=typeof self=="object"?self:globalThis,L_=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,o]=t[i];switch(a){case Nu:case Xw:return n(o,i);case Ka:{const l=n([],i);for(const c of o)l.push(r(c));return l}case zc:{const l=n({},i);for(const[c,u]of o)l[r(c)]=r(u);return l}case Ff:return n(new Date(o),i);case Lf:{const{source:l,flags:c}=o;return n(new RegExp(l,c),i)}case Vf:{const l=n(new Map,i);for(const[c,u]of o)l.set(r(c),r(u));return l}case Bf:{const l=n(new Set,i);for(const c of o)l.add(r(c));return l}case Jw:{const{name:l,message:c}=o;return n(new Ex[l](c),i)}case e1:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:l}=new Uint8Array(o);return n(new DataView(l),o)}}return n(new Ex[a](o),i)};return r},Cx=e=>L_(new Map,e)(0),os="",{toString:V_}={},{keys:B_}=Object,Sa=e=>{const t=typeof e;if(t!=="object"||!e)return[Nu,t];const n=V_.call(e).slice(8,-1);switch(n){case"Array":return[Ka,os];case"Object":return[zc,os];case"Date":return[Ff,os];case"RegExp":return[Lf,os];case"Map":return[Vf,os];case"Set":return[Bf,os];case"DataView":return[Ka,n]}return n.includes("Array")?[Ka,n]:n.includes("Error")?[Jw,n]:[zc,n]},_l=([e,t])=>e===Nu&&(t==="function"||t==="symbol"),$_=(e,t,n,r)=>{const i=(o,l)=>{const c=r.push(o)-1;return n.set(l,c),c},a=o=>{if(n.has(o))return n.get(o);let[l,c]=Sa(o);switch(l){case Nu:{let d=o;switch(c){case"bigint":l=e1,d=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);d=null;break;case"undefined":return i([Xw],o)}return i([l,d],o)}case Ka:{if(c){let p=o;return c==="DataView"?p=new Uint8Array(o.buffer):c==="ArrayBuffer"&&(p=new Uint8Array(o)),i([c,[...p]],o)}const d=[],h=i([l,d],o);for(const p of o)d.push(a(p));return h}case zc:{if(c)switch(c){case"BigInt":return i([c,o.toString()],o);case"Boolean":case"Number":case"String":return i([c,o.valueOf()],o)}if(t&&"toJSON"in o)return a(o.toJSON());const d=[],h=i([l,d],o);for(const p of B_(o))(e||!_l(Sa(o[p])))&&d.push([a(p),a(o[p])]);return h}case Ff:return i([l,o.toISOString()],o);case Lf:{const{source:d,flags:h}=o;return i([l,{source:d,flags:h}],o)}case Vf:{const d=[],h=i([l,d],o);for(const[p,f]of o)(e||!(_l(Sa(p))||_l(Sa(f))))&&d.push([a(p),a(f)]);return h}case Bf:{const d=[],h=i([l,d],o);for(const p of o)(e||!_l(Sa(p)))&&d.push(a(p));return h}}const{message:u}=o;return i([l,{name:c,message:u}],o)};return a},Sx=(e,{json:t,lossy:n}={})=>{const r=[];return $_(!(t||n),!!t,new Map,r)(e),r},Oc=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Cx(Sx(e,t)):structuredClone(e):(e,t)=>Cx(Sx(e,t));function U_(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function W_(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function H_(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||U_,r=e.options.footnoteBackLabel||W_,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let c=-1;for(;++c<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[c]);if(!u)continue;const d=e.all(u),h=String(u.identifier).toUpperCase(),p=pa(h.toLowerCase());let f=0;const x=[],v=e.footnoteCounts.get(h);for(;v!==void 0&&++f<=v;){x.length>0&&x.push({type:"text",value:" "});let g=typeof n=="string"?n:n(c,f);typeof g=="string"&&(g={type:"text",value:g}),x.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,f),className:["data-footnote-backref"]},children:Array.isArray(g)?g:[g]})}const w=d[d.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const g=w.children[w.children.length-1];g&&g.type==="text"?g.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...x)}else d.push(...x);const m={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(d,!0)};e.patch(u,m),l.push(m)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Oc(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
`}]}}const t1=function(e){if(e==null)return K_;if(typeof e=="function")return Eu(e);if(typeof e=="object")return Array.isArray(e)?q_(e):Z_(e);if(typeof e=="string")return G_(e);throw new Error("Expected function, string, or object as test")};function q_(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=t1(e[n]);return Eu(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function Z_(e){const t=e;return Eu(n);function n(r){const i=r;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function G_(e){return Eu(t);function t(n){return n&&n.type===e}}function Eu(e){return t;function t(n,r,i){return!!(Q_(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function K_(){return!0}function Q_(e){return e!==null&&typeof e=="object"&&"type"in e}const n1=[],Y_=!0,Ax=!1,X_="skip";function J_(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const a=t1(i),o=r?-1:1;l(e,void 0,[])();function l(c,u,d){const h=c&&typeof c=="object"?c:{};if(typeof h.type=="string"){const f=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(c.type+(f?"<"+f+">":""))+")"})}return p;function p(){let f=n1,x,v,w;if((!t||a(c,u,d[d.length-1]||void 0))&&(f=eT(n(c,d)),f[0]===Ax))return f;if("children"in c&&c.children){const m=c;if(m.children&&f[0]!==X_)for(v=(r?m.children.length:-1)+o,w=d.concat(m);v>-1&&v<m.children.length;){const g=m.children[v];if(x=l(g,v,w)(),x[0]===Ax)return x;v=typeof x[1]=="number"?x[1]:v+o}}return f}}}function eT(e){return Array.isArray(e)?e:typeof e=="number"?[Y_,e]:e==null?n1:[e]}function r1(e,t,n,r){let i,a,o;typeof t=="function"&&typeof n!="function"?(a=void 0,o=t,i=n):(a=t,o=n,i=r),J_(e,a,l,i);function l(c,u){const d=u[u.length-1],h=d?d.children.indexOf(c):void 0;return o(c,h,d)}}const tp={}.hasOwnProperty,tT={};function nT(e,t){const n=t||tT,r=new Map,i=new Map,a=new Map,o={...F_,...n.handlers},l={all:u,applyData:iT,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:o,one:c,options:n,patch:rT,wrap:aT};return r1(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const h=d.type==="definition"?r:i,p=String(d.identifier).toUpperCase();h.has(p)||h.set(p,d)}}),l;function c(d,h){const p=d.type,f=l.handlers[p];if(tp.call(l.handlers,p)&&f)return f(l,d,h);if(l.options.passThrough&&l.options.passThrough.includes(p)){if("children"in d){const{children:v,...w}=d,m=Oc(w);return m.children=l.all(d),m}return Oc(d)}return(l.options.unknownHandler||sT)(l,d,h)}function u(d){const h=[];if("children"in d){const p=d.children;let f=-1;for(;++f<p.length;){const x=l.one(p[f],d);if(x){if(f&&p[f-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=_x(x.value)),!Array.isArray(x)&&x.type==="element")){const v=x.children[0];v&&v.type==="text"&&(v.value=_x(v.value))}Array.isArray(x)?h.push(...x):h.push(x)}}}return h}}function rT(e,t){e.position&&(t.position=VA(e))}function iT(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&a&&Object.assign(n.properties,Oc(a)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function sT(e,t){const n=t.data||{},r="value"in t&&!(tp.call(n,"hProperties")||tp.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function aT(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
`});++r<e.length;)r&&n.push({type:"text",value:`
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
`}),n}function _x(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Tx(e,t){const n=nT(e,t),r=n.one(e,void 0),i=H_(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
`},i),a}function oT(e,t){return e&&"run"in e?async function(n,r){const i=Tx(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Tx(n,{file:r,...e||t})}}function Px(e){if(e)throw e}var Ql=Object.prototype.hasOwnProperty,i1=Object.prototype.toString,Ix=Object.defineProperty,zx=Object.getOwnPropertyDescriptor,Ox=function(t){return typeof Array.isArray=="function"?Array.isArray(t):i1.call(t)==="[object Array]"},Rx=function(t){if(!t||i1.call(t)!=="[object Object]")return!1;var n=Ql.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Ql.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||Ql.call(t,i)},Dx=function(t,n){Ix&&n.name==="__proto__"?Ix(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Mx=function(t,n){if(n==="__proto__")if(Ql.call(t,n)){if(zx)return zx(t,n).value}else return;return t[n]},lT=function e(){var t,n,r,i,a,o,l=arguments[0],c=1,u=arguments.length,d=!1;for(typeof l=="boolean"&&(d=l,l=arguments[1]||{},c=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});c<u;++c)if(t=arguments[c],t!=null)for(n in t)r=Mx(l,n),i=Mx(t,n),l!==i&&(d&&i&&(Rx(i)||(a=Ox(i)))?(a?(a=!1,o=r&&Ox(r)?r:[]):o=r&&Rx(r)?r:{},Dx(l,{name:n,newValue:e(d,o,i)})):typeof i<"u"&&Dx(l,{name:n,newValue:i}));return l};const yd=Ji(lT);function np(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function cT(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);l(null,...i);function l(c,...u){const d=e[++a];let h=-1;if(c){o(c);return}for(;++h<i.length;)(u[h]===null||u[h]===void 0)&&(u[h]=i[h]);i=u,d?uT(d,l)(...u):o(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function uT(e,t){let n;return r;function r(...o){const l=e.length>o.length;let c;l&&o.push(i);try{c=e.apply(this,o)}catch(u){const d=u;if(l&&n)throw d;return i(d)}l||(c&&c.then&&typeof c.then=="function"?c.then(a,i):c instanceof Error?i(c):a(c))}function i(o,...l){n||(n=!0,t(o,...l))}function a(o){i(null,o)}}const Kn={basename:dT,dirname:hT,extname:pT,join:fT,sep:"/"};function dT(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');el(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,l=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(r=i):(l=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function hT(e){if(el(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function pT(e){el(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const l=e.codePointAt(t);if(l===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),l===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function fT(...e){let t=-1,n;for(;++t<e.length;)el(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":mT(n)}function mT(e){el(e);const t=e.codePointAt(0)===47;let n=gT(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function gT(e,t){let n="",r=0,i=-1,a=0,o=-1,l,c;for(;++o<=e.length;){if(o<e.length)l=e.codePointAt(o);else{if(l===47)break;l=47}if(l===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else l===46&&a>-1?a++:a=-1}return n}function el(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const xT={cwd:vT};function vT(){return"/"}function rp(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function yT(e){if(typeof e=="string")e=new URL(e);else if(!rp(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return bT(e)}function bT(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const bd=["history","path","basename","stem","extname","dirname"];class s1{constructor(t){let n;t?rp(t)?n={path:t}:typeof t=="string"||wT(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":xT.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<bd.length;){const a=bd[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)bd.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Kn.basename(this.path):void 0}set basename(t){jd(t,"basename"),wd(t,"basename"),this.path=Kn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Kn.dirname(this.path):void 0}set dirname(t){Fx(this.basename,"dirname"),this.path=Kn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Kn.extname(this.path):void 0}set extname(t){if(wd(t,"extname"),Fx(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Kn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){rp(t)&&(t=yT(t)),jd(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Kn.basename(this.path,this.extname):void 0}set stem(t){jd(t,"stem"),wd(t,"stem"),this.path=Kn.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new _t(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function wd(e,t){if(e&&e.includes(Kn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Kn.sep+"`")}function jd(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Fx(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function wT(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const jT=function(e){const r=this.constructor.prototype,i=r[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,r),a},kT={}.hasOwnProperty;class $f extends jT{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=cT()}copy(){const t=new $f;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(yd(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Ed("data",this.frozen),this.namespace[t]=n,this):kT.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Ed("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Tl(t),r=this.parser||this.Parser;return kd("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),kd("process",this.parser||this.Parser),Nd("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,o){const l=Tl(t),c=r.parse(l);r.run(c,l,function(d,h,p){if(d||!h||!p)return u(d);const f=h,x=r.stringify(f,p);CT(x)?p.value=x:p.result=x,u(d,p)});function u(d,h){d||!h?o(d):a?a(h):n(void 0,h)}}}processSync(t){let n=!1,r;return this.freeze(),kd("processSync",this.parser||this.Parser),Nd("processSync",this.compiler||this.Compiler),this.process(t,i),Vx("processSync","process",n),r;function i(a,o){n=!0,Px(a),r=o}}run(t,n,r){Lx(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(o,l){const c=Tl(n);i.run(t,c,u);function u(d,h,p){const f=h||t;d?l(d):o?o(f):r(void 0,f,p)}}}runSync(t,n){let r=!1,i;return this.run(t,n,a),Vx("runSync","run",r),i;function a(o,l){Px(o),i=l,r=!0}}stringify(t,n){this.freeze();const r=Tl(n),i=this.compiler||this.Compiler;return Nd("stringify",i),Lx(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Ed("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?l(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(u){if(typeof u=="function")c(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[d,...h]=u;c(d,h)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(u.plugins),u.settings&&(i.settings=yd(!0,i.settings,u.settings))}function l(u){let d=-1;if(u!=null)if(Array.isArray(u))for(;++d<u.length;){const h=u[d];a(h)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function c(u,d){let h=-1,p=-1;for(;++h<r.length;)if(r[h][0]===u){p=h;break}if(p===-1)r.push([u,...d]);else if(d.length>0){let[f,...x]=d;const v=r[p][1];np(v)&&np(f)&&(f=yd(!0,v,f)),r[p]=[u,f,...x]}}}}const NT=new $f().freeze();function kd(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Nd(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ed(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Lx(e){if(!np(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Vx(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Tl(e){return ET(e)?e:new s1(e)}function ET(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function CT(e){return typeof e=="string"||ST(e)}function ST(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const AT="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Bx=[],$x={allowDangerousHtml:!0},_T=/^(https?|ircs?|mailto|xmpp)$/i,TT=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Qi(e){const t=PT(e),n=IT(e);return zT(t.runSync(t.parse(n),n),e)}function PT(e){const t=e.rehypePlugins||Bx,n=e.remarkPlugins||Bx,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...$x}:$x;return NT().use(h_).use(n).use(oT,r).use(t)}function IT(e){const t=e.children||"",n=new s1;return typeof t=="string"&&(n.value=t),n}function zT(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,l=t.unwrapDisallowed,c=t.urlTransform||OT;for(const d of TT)Object.hasOwn(t,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+AT+d.id,void 0);return r1(e,u),HA(e,{Fragment:s.Fragment,components:i,ignoreInvalidStyle:!0,jsx:s.jsx,jsxs:s.jsxs,passKeys:!0,passNode:!0});function u(d,h,p){if(d.type==="raw"&&p&&typeof h=="number")return o?p.children.splice(h,1):p.children[h]={type:"text",value:d.value},h;if(d.type==="element"){let f;for(f in gd)if(Object.hasOwn(gd,f)&&Object.hasOwn(d.properties,f)){const x=d.properties[f],v=gd[f];(v===null||v.includes(d.tagName))&&(d.properties[f]=c(String(x||""),f,d))}}if(d.type==="element"){let f=n?!n.includes(d.tagName):a?a.includes(d.tagName):!1;if(!f&&r&&typeof h=="number"&&(f=!r(d,h,p)),f&&p&&typeof h=="number")return l&&d.children?p.children.splice(h,1,...d.children):p.children.splice(h,1),h}}}function OT(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||_T.test(e.slice(0,t))?e:""}const RT=({caseData:e})=>s.jsxs(s.Fragment,{children:[s.jsx("section",{className:"py-12 lg:py-16 bg-neutral-50",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsx("div",{className:"rounded-2xl overflow-hidden shadow-card aspect-video bg-gradient-to-br from-neutral-100 to-neutral-50",children:s.jsx("img",{src:e.overview.image,alt:e.metadata.title,className:"w-full h-full object-contain"})})})}),s.jsx("section",{className:"py-12 lg:py-16 bg-neutral-50",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto space-y-12",children:[e.content.introduction&&s.jsx("div",{children:s.jsx("p",{className:"text-xl text-neutral-900 leading-relaxed font-bold",children:e.content.introduction})}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-coral rounded-full"}),s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-brand-primary",children:"De Uitdaging"})]}),s.jsx("div",{className:"prose prose-lg max-w-none prose-p:text-neutral-400 prose-p:leading-relaxed prose-strong:text-neutral-900 prose-strong:font-bold",children:s.jsx(Qi,{children:e.content.challenge})})]}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-coral rounded-full"}),s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-brand-primary",children:"De Oplossing"})]}),s.jsx("div",{className:"prose prose-lg max-w-none prose-p:text-neutral-400 prose-p:leading-relaxed prose-strong:text-neutral-900 prose-strong:font-bold prose-ol:text-neutral-400 prose-li:text-neutral-400",children:s.jsx(Qi,{children:e.content.solution})})]}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[s.jsx("div",{className:"h-1 w-20 bg-coral rounded-full"}),s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-brand-primary",children:"Resultaten"})]}),s.jsx("div",{className:"space-y-4",children:e.content.results.map((t,n)=>s.jsxs("div",{className:"flex items-start gap-4 bg-white p-6 rounded-xl shadow-sm border-l-4 border-coral",children:[s.jsx(oa,{className:"w-6 h-6 text-coral flex-shrink-0 mt-1"}),s.jsx("p",{className:"text-lg text-neutral-400 leading-relaxed",children:t})]},n))})]}),e.content.quote&&e.content.author&&s.jsx("div",{className:"bg-white p-8 lg:p-12 rounded-2xl shadow-card border-l-4 border-coral",children:s.jsxs("blockquote",{className:"relative",children:[s.jsx("div",{className:"text-6xl text-coral/20 mb-4 font-serif",children:'"'}),s.jsx("p",{className:"text-xl lg:text-2xl italic text-neutral-900 font-medium mb-6 leading-relaxed",children:e.content.quote}),s.jsxs("footer",{className:"text-base text-neutral-400 not-italic font-semibold",children:["— ",e.content.author]})]})})]})})})]}),DT=({caseData:e})=>s.jsxs(s.Fragment,{children:[s.jsx("section",{className:"bg-neutral-50",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8 py-12",children:s.jsx("div",{className:"rounded-3xl overflow-hidden shadow-card-hover aspect-video bg-gradient-to-br from-neutral-100 to-neutral-50",children:s.jsx("img",{src:e.overview.image,alt:e.metadata.title,className:"w-full h-full object-contain"})})})}),s.jsx("section",{className:"py-12 lg:py-16 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.content.introduction&&s.jsx("div",{className:"mb-12",children:s.jsx("p",{className:"text-xl text-neutral-900 leading-relaxed font-bold text-center",children:e.content.introduction})}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 mb-12",children:[s.jsxs("div",{className:"bg-neutral-50 p-8 rounded-2xl border-l-4 border-coral",children:[s.jsx("h2",{className:"text-2xl font-bold text-brand-primary mb-4",children:"De Uitdaging"}),s.jsx("div",{className:"prose prose-base max-w-none prose-p:text-neutral-400 prose-p:leading-relaxed prose-strong:text-neutral-900 prose-strong:font-bold",children:s.jsx(Qi,{children:e.content.challenge})})]}),s.jsxs("div",{className:"bg-neutral-50 p-8 rounded-2xl border-l-4 border-brand-primary",children:[s.jsx("h2",{className:"text-2xl font-bold text-brand-primary mb-4",children:"De Oplossing"}),s.jsx("div",{className:"prose prose-base max-w-none prose-p:text-neutral-400 prose-p:leading-relaxed prose-strong:text-neutral-900 prose-strong:font-bold prose-ol:text-neutral-400 prose-li:text-neutral-400",children:s.jsx(Qi,{children:e.content.solution})})]})]}),s.jsxs("div",{className:"mb-12",children:[s.jsx("h2",{className:"text-3xl font-bold text-brand-primary mb-8 text-center",children:"Resultaten"}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:e.content.results.map((t,n)=>s.jsxs("div",{className:"flex items-start gap-3 bg-white p-6 rounded-xl shadow-sm border border-gray-100",children:[s.jsx(oa,{className:"w-5 h-5 text-coral flex-shrink-0 mt-0.5"}),s.jsx("p",{className:"text-neutral-400",children:t})]},n))})]}),e.content.quote&&e.content.author&&s.jsxs("div",{className:"bg-brand-primary text-white p-12 rounded-2xl shadow-card",children:[s.jsxs("p",{className:"text-2xl italic mb-4 leading-relaxed",children:['"',e.content.quote,'"']}),s.jsxs("p",{className:"text-blue-100 font-semibold",children:["— ",e.content.author]})]})]})})})]}),MT=({caseData:e})=>s.jsxs(s.Fragment,{children:[s.jsx("section",{className:"py-12 lg:py-16 bg-neutral-50",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsx("div",{className:"rounded-2xl overflow-hidden shadow-card max-w-4xl mx-auto aspect-video bg-gradient-to-br from-neutral-100 to-neutral-50",children:s.jsx("img",{src:e.overview.image,alt:e.metadata.title,className:"w-full h-full object-contain"})})})}),s.jsx("section",{className:"py-12 lg:py-16 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs("div",{className:"max-w-3xl mx-auto space-y-12",children:[e.content.introduction&&s.jsx("div",{children:s.jsx("p",{className:"text-xl text-neutral-900 leading-relaxed font-bold",children:e.content.introduction})}),[{title:"De Uitdaging",content:e.content.challenge,color:"coral"},{title:"De Oplossing",content:e.content.solution,color:"brand-primary"}].map((t,n)=>s.jsxs("div",{className:"relative pl-8 border-l-2 border-gray-200",children:[s.jsx("div",{className:`absolute -left-3 top-0 w-6 h-6 rounded-full bg-${t.color} border-4 border-white`}),s.jsx("h2",{className:"text-2xl font-bold text-brand-primary mb-3",children:t.title}),s.jsx("div",{className:"prose prose-base max-w-none prose-p:text-neutral-400 prose-p:leading-relaxed prose-strong:text-neutral-900 prose-strong:font-bold prose-ol:text-neutral-400 prose-li:text-neutral-400",children:s.jsx(Qi,{children:t.content})})]},n)),s.jsxs("div",{className:"relative pl-8 border-l-2 border-gray-200",children:[s.jsx("div",{className:"absolute -left-3 top-0 w-6 h-6 rounded-full bg-coral border-4 border-white"}),s.jsx("h2",{className:"text-2xl font-bold text-brand-primary mb-6",children:"Resultaten"}),s.jsx("div",{className:"space-y-3",children:e.content.results.map((t,n)=>s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(oa,{className:"w-5 h-5 text-coral flex-shrink-0 mt-0.5"}),s.jsx("p",{className:"text-neutral-400",children:t})]},n))})]})]})})}),e.content.quote&&e.content.author&&s.jsx("section",{className:"py-12 bg-neutral-50",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsx("div",{className:"max-w-3xl mx-auto bg-white p-8 lg:p-12 rounded-2xl shadow-card border-l-4 border-coral",children:s.jsxs("blockquote",{children:[s.jsxs("p",{className:"text-xl italic text-neutral-900 mb-4",children:['"',e.content.quote,'"']}),s.jsxs("footer",{className:"text-neutral-400 font-semibold",children:["— ",e.content.author]})]})})})})]}),FT=({caseData:e})=>s.jsxs(s.Fragment,{children:[s.jsx("section",{className:"py-16 bg-neutral-50",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8",children:[e.content.introduction&&s.jsx("div",{className:"max-w-4xl mx-auto mb-12",children:s.jsx("p",{className:"text-xl text-neutral-900 leading-relaxed font-bold",children:e.content.introduction})}),s.jsxs("div",{className:"flex flex-col lg:flex-row gap-12 items-center max-w-6xl mx-auto",children:[s.jsxs("div",{className:"lg:w-1/2",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"h-1 w-20 bg-coral rounded-full"}),s.jsx("h2",{className:"text-3xl font-bold text-brand-primary",children:"De Uitdaging"})]}),s.jsx("div",{className:"prose prose-lg max-w-none prose-p:text-neutral-400 prose-p:leading-relaxed prose-strong:text-neutral-900 prose-strong:font-bold mb-6",children:s.jsx(Qi,{children:e.content.challenge})}),s.jsxs("div",{className:"flex items-center gap-3 mb-4 mt-8",children:[s.jsx("div",{className:"h-1 w-20 bg-brand-primary rounded-full"}),s.jsx("h2",{className:"text-3xl font-bold text-brand-primary",children:"De Oplossing"})]}),s.jsx("div",{className:"prose prose-lg max-w-none prose-p:text-neutral-400 prose-p:leading-relaxed prose-strong:text-neutral-900 prose-strong:font-bold prose-ol:text-neutral-400 prose-li:text-neutral-400",children:s.jsx(Qi,{children:e.content.solution})})]}),s.jsx("div",{className:"lg:w-1/2",children:s.jsx("div",{className:"rounded-2xl overflow-hidden shadow-card aspect-video bg-gradient-to-br from-neutral-100 to-neutral-50",children:s.jsx("img",{src:e.overview.image,alt:e.metadata.title,className:"w-full h-full object-contain"})})})]})]})}),s.jsx("section",{className:"py-16 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-brand-primary mb-8 text-center",children:"Resultaten"}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.content.results.map((t,n)=>s.jsx("div",{className:"bg-neutral-50 p-6 rounded-xl border-l-4 border-coral",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(oa,{className:"w-6 h-6 text-coral flex-shrink-0 mt-1"}),s.jsx("p",{className:"text-neutral-400 leading-relaxed",children:t})]})},n))})]})})}),e.content.quote&&e.content.author&&s.jsx("section",{className:"py-16 bg-brand-primary text-white",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsxs("p",{className:"text-2xl lg:text-3xl italic mb-6 leading-relaxed",children:['"',e.content.quote,'"']}),s.jsxs("p",{className:"text-xl text-blue-100 font-semibold",children:["— ",e.content.author]})]})})})]}),LT=e=>{switch(e){case"visual-heavy":return DT;case"timeline":return MT;case"split-content":return FT;case"default":default:return RT}},VT=()=>{const{caseId:e}=pw(),t=e?ZS(e):null;if(!t)return s.jsxs("div",{className:"min-h-screen font-sans bg-neutral-50",children:[s.jsx(Gt,{}),s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 py-24 text-center",children:[s.jsx("h1",{className:"text-4xl font-bold text-brand-primary mb-4",children:"Case niet gevonden"}),s.jsx(Se,{asChild:!0,children:s.jsxs(ge,{to:"/case-studies",children:[s.jsx(Xs,{className:"mr-2 w-4 h-4"}),"Terug naar overzicht"]})})]}),s.jsx(Kt,{})]});const n=LT(t.metadata.layout);return s.jsxs("div",{className:"min-h-screen font-sans bg-neutral-50 selection:bg-coral/30",children:[s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsx("section",{className:"relative py-16 lg:py-20 overflow-hidden bg-brand-primary text-neutral-50",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:[s.jsx(Se,{variant:"ghost",asChild:!0,className:"mb-8 text-white hover:text-blue-100 hover:bg-white/10",children:s.jsxs(ge,{to:"/case-studies",children:[s.jsx(Xs,{className:"mr-2 w-4 h-4"}),"Terug naar alle cases"]})}),s.jsx("div",{className:"flex items-center gap-3 mb-6",children:s.jsx(Hh,{variant:t.metadata.sectorColor,className:"text-sm py-1.5 px-4",children:t.metadata.sector})}),s.jsx("h1",{className:"text-h1-mobile lg:text-h1-desktop font-bold mb-4 text-white",children:t.metadata.title}),s.jsx("p",{className:"text-lead-mobile lg:text-lead text-blue-100 max-w-3xl font-medium",children:t.overview.tagline})]})}),s.jsx(n,{caseData:t}),s.jsx("section",{className:"py-12 bg-neutral-50",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[s.jsx("div",{className:"h-1 w-20 bg-coral rounded-full"}),s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-brand-primary",children:"Gebruikte Technologieën"})]}),s.jsx("div",{className:"flex flex-wrap gap-3",children:t.content.technologies.map((r,i)=>s.jsx(Hh,{variant:"outline",className:"text-base py-2 px-4 border-brand-primary text-brand-primary",children:r},i))})]})})}),t.content.customCTA&&s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsx("div",{className:"max-w-4xl mx-auto",children:s.jsxs("div",{className:"bg-neutral-50 rounded-3xl p-8 lg:p-12 border-l-4 border-coral",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold mb-6 text-brand-primary",children:"Wil jij dit resultaat ook?"}),s.jsx("p",{className:"text-xl text-neutral-400 mb-8 leading-relaxed",children:t.content.customCTA}),s.jsx(Se,{size:"lg",variant:"default",asChild:!0,className:"h-14 px-8 text-lg font-semibold shadow-button-primary",children:s.jsxs("a",{href:"https://calendly.com/business-deltaflowai/30-minuten-ai-scan",target:"_blank",rel:"noopener noreferrer",children:["Plan jouw AI-scan",s.jsx(ht,{className:"ml-2 w-5 h-5"})]})})]})})})}),s.jsx("section",{className:"py-24 bg-brand-primary",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsxs("div",{className:"text-center max-w-3xl mx-auto",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold mb-6 text-white",children:"Wilt u ook dit soort resultaten behalen?"}),s.jsx("p",{className:"text-xl text-blue-100 mb-10 leading-relaxed",children:"Ontdek hoe DeltaFlow AI uw bedrijf kan helpen met praktische AI-automatisering."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[s.jsx(Se,{size:"lg",variant:"secondary",asChild:!0,className:"h-14 px-8 text-lg font-semibold bg-coral hover:bg-coral/90 text-white shadow-button-primary",children:s.jsx(ge,{to:"/contact",children:"Plan een gratis gesprek"})}),s.jsx(Se,{size:"lg",variant:"outline",asChild:!0,className:"h-14 px-8 text-lg font-semibold border-white text-white hover:bg-white hover:text-brand-primary",children:s.jsx(ge,{to:"/case-studies",children:"Meer cases bekijken"})})]})]})})})]}),s.jsx(Kt,{})]})},BT={metadata:{id:"ai-soevereiniteit",title:"Hoe Nederlandse bedrijven AI soeverein kunnen inzetten",category:"Data-soevereiniteit",publishDate:"2026-02-04",readTime:"10 min",author:"Rehan"},overview:{excerpt:"Waar gaat je data naartoe wanneer een AI-tool deze verwerkt? In de meeste gevallen naar een Amerikaans bedrijf, onder de CLOUD Act. Dit artikel legt uit waarom servers in Europa niet genoeg is, en hoe Nederlandse bedrijven AI soeverein kunnen inzetten op een volledig Europese stack.",image:"/images/blog/afbeelding_1_data_soevereiniteit.webp"},content:{body:`Je hebt net een AI-tool laten bouwen. Documenten worden automatisch geanalyseerd, klantdata stroomt door slimme workflows, en het bespaart je team uren per week. Alles werkt.
Tot je je afvraagt: waar gaat die data eigenlijk naartoe?
Het antwoord is bijna altijd hetzelfde. Naar OpenAI. Of naar Microsoft, of naar Google, of naar Amazon. Je data (klantgegevens, contracten, bedrijfsinformatie) wordt verwerkt door een Amerikaans bedrijf, onder Amerikaanse wetgeving. Zelfs als die verwerking in een Europees datacenter draait.
En dat heeft consequenties waar niet altijd bij wordt stilgestaan.
## De CLOUD Act: Waarom "servers in Europa" niet genoeg is
Veel bedrijven denken dat ze veilig zitten zolang hun data in een Europees datacenter staat. Dat klinkt logisch, maar het klopt niet.
De Amerikaanse CLOUD Act uit 2018 geeft Amerikaanse autoriteiten het recht om data op te vragen bij elk Amerikaans techbedrijf, ongeacht waar die data fysiek is opgeslagen. Een Europees datacenter van Microsoft, Google of Amazon verandert daar niets aan. Het moederbedrijf is Amerikaans, dus de CLOUD Act is van toepassing.
Dit is geen theoretisch risico. Het is inmiddels onder ede bevestigd. In juni 2025 werd Anton Carniaux, juridisch directeur van Microsoft France, tijdens een hoorzitting van de Franse Senaat direct gevraagd of hij kon garanderen dat data van Franse burgers niet aan de VS zou worden overgedragen.
> "Nee, dat kan ik niet garanderen."
> — Anton Carniaux, Juridisch Directeur Microsoft Frankrijk (onder ede, juni 2025)
Microsoft benadrukte dat het tot nu toe nooit is gebeurd, maar erkende dat het bedrijf juridisch verplicht is om aan een geldig Amerikaans bevel te voldoen, ongeacht waar de data staat.
Een belangrijke kanttekening: ook Europese cloudproviders met internationale operaties zijn niet automatisch immuun. In september 2024 beval een Canadese rechter het Franse OVHcloud, dat zich profileert als kampioen van Europese data-soevereiniteit, om klantdata van servers in Frankrijk, het VK en Australië over te dragen aan de Canadese politie. OVHcloud vecht het bevel aan, maar de zaak legt een fundamenteel probleem bloot: wie internationaal opereert, valt internationaal onder de rechter. Het Nationaal Cyber Security Centrum (NCSC) bevestigt dat beeld: Europese bedrijven en dataopslag in Europa zijn niet immuun voor niet-Europese wetgeving. De Algemene Rekenkamer waarschuwde in januari 2025 dat de Nederlandse overheid onvoldoende maatregelen neemt om soevereiniteit en gegevensbescherming te borgen in cloudcontracten. En eerdere juridische kaders zoals het Privacy Shield zijn al door het Europese Hof ongeldig verklaard. Een lot dat ook het huidige EU-VS Data Privacy Framework kan treffen.
Voor bedrijven in sectoren als vastgoed, juridische dienstverlening of financieel advies is dit bijzonder relevant. Je werkt met persoonsgegevens, contractdata, financiële informatie. De AVG stelt daar strenge eisen aan. Maar als jouw AI-tool die data via een Amerikaans bedrijf verwerkt, heb je een juridisch probleem dat geen verwerkersovereenkomst volledig oplost.
Een veelgehoord tegenargument: encryptie. Cloudproviders bieden opties zoals Bring Your Own Key (BYOK) en Hold Your Own Key (HYOK), waarbij je als klant zelf de encryptiesleutels beheert. Bij BYOK worden je sleutels echter opgeslagen in het Key Management System van de provider, waardoor de provider technisch nog steeds toegang heeft en via de CLOUD Act gedwongen kan worden om data te ontsleutelen. HYOK gaat een stap verder: je beheert de sleutels volledig buiten de cloudinfrastructuur. Voor data-opslag kan dat een effectieve beschermingslaag zijn. Maar bij AI-toepassingen ligt het anders: een taalmodel moet je data onversleuteld kunnen lezen om er iets mee te doen. Op het moment dat een prompt wordt verwerkt, is de inhoud als plaintext aanwezig in het geheugen van de server. Encryptie beschermt de data in rust en tijdens transport, maar niet tijdens verwerking.
Een ander tegenargument: de EU Data Boundary van Microsoft. Dit meerjarige programma is sinds februari 2025 volledig uitgerold en belooft contractueel dat alle opslag en verwerking voor Europese klanten binnen de EU plaatsvindt. Microsoft investeert fors in Europese datacenters en heeft aangekondigd verzoeken van buiten de EU juridisch aan te vechten. Dat zijn serieuze stappen. Maar critici, waaronder analisten en Europese cloudaanbieders, wijzen erop dat dit een contractuele belofte is die de wettelijke verplichting onder de CLOUD Act niet tenietdoet. Microsoft zelf heeft dat in de eerdergenoemde hoorzitting bevestigd. Data residency is niet hetzelfde als data-soevereiniteit.
## Waarom dit probleem vaak over het hoofd wordt gezien
De reden is begrijpelijk: Amerikaanse AI-modellen leveren vaak de beste prestaties. OpenAI, Google en Anthropic lopen voorop in capaciteit en snelheid. Eén API-key, een paar regels code, en je hebt een werkend systeem met state-of-the-art resultaten. De data gaat naar Amerikaanse servers, wordt verwerkt door een Amerikaans model, en het resultaat komt terug.
Dat is technisch efficiënt. Maar het betekent dat elke prompt die je verstuurt (met klantgegevens, contractteksten, bedrijfsinformatie) verwerkt wordt binnen een Amerikaans ecosysteem. Naar onze ervaring wordt data-soevereiniteit bij veel AI-implementaties niet als standaard meegenomen in het ontwerp.
Dat geldt niet alleen voor het AI-model zelf, maar voor de hele keten eromheen. Wanneer een Amerikaans model draait op Amerikaanse cloudinfrastructuur, ontstaat op elk niveau een juridische afhankelijkheid. Dat betekent niet dat je data per definitie wordt opgevraagd. Maar het betekent wel dat elk Amerikaans bedrijf in die keten verplicht kan worden om mee te werken aan een verzoek onder de CLOUD Act, en dat die mogelijkheid zelden wordt benoemd.
Hier ligt het cruciale onderscheid: **technische veiligheid is niet hetzelfde als juridische soevereiniteit.**
## Europese AI die écht Europees is
Er bestaat een alternatief. En het is geen concessie.
Mistral AI is een Frans AI-bedrijf dat modellen ontwikkelt die draaien op Europese infrastructuur. Het moederbedrijf is Frans en de dataverwerking van hun API vindt plaats op Europese servers. Het Franse ministerie van Defensie heeft Mistral geselecteerd voor inzet in alle legeronderdelen, specifiek vanwege de garantie dat operaties op nationale infrastructuur blijven. Banken als BNP Paribas zetten Mistral in voor documentverwerking en compliance.
Maar een Europees model is maar de helft van het verhaal. De andere helft is waar jouw data wordt verwerkt en opgeslagen.
Scaleway is een Franse cloudprovider met eigen datacenters in Parijs, Amsterdam en Warschau. Volledig in Europees eigendom, volledig onder EU-jurisdictie, en zonder datacenters of operaties in de VS. Ze draaien op hernieuwbare energie en zijn ISO 27001-gecertificeerd. Waar veel bedrijven automatisch bij AWS, Google Cloud of Azure uitkomen, biedt Scaleway een volwaardig Europees alternatief voor cloudinfrastructuur. DeltaFlow is sinds een half jaar partner in het Scaleway startup-programma.
Door Mistral en Scaleway te combineren heb je een volledige AI-stack die van model tot datacenter Europees is. Geen tussenlagen via Azure of AWS, geen juridische grijze gebieden. Data komt binnen in Europa, wordt verwerkt in Europa, en verlaat Europa niet.
## De EU AI Act maakt dit urgenter
Naast de CLOUD Act speelt er nog een ontwikkeling: de Europese AI-verordening. De AI Act is sinds augustus 2024 van kracht en wordt gefaseerd ingevoerd. De eerste verplichtingen gelden al, waaronder het verbod op bepaalde AI-toepassingen en de eis tot AI-geletterdheid. De regels voor hoog-risico AI-systemen volgen vanaf augustus 2026.
Denk aan AI die wordt ingezet bij kredietbeoordeling, verzekeringen of juridische besluitvorming, en aan sectoren als vastgoed waar AI-output direct doorwerkt in financiële besluiten. Deze systemen moeten voldoen aan strenge eisen rond toezicht, documentatie en traceerbaarheid.
Een Europees AI-model en Europese hosting lossen die compliance-eisen niet automatisch op. Maar ze maken het wel eenvoudiger: transparante architectuur, volledige controle over de dataketen, en geen juridische conflicten tussen Europese en Amerikaanse wetgeving.
## Hoe DeltaFlow dit anders doet
Bij DeltaFlow bouwen we AI-oplossingen op een volledig Europese stack: Mistral als AI-model, Scaleway als cloudinfrastructuur. Concreet betekent dat:
**Geen CLOUD Act-risico.** Er zit geen Amerikaans bedrijf in de keten dat gedwongen kan worden jouw data over te dragen. Alle verwerking draait op Scaleway's datacenters, waaronder Amsterdam. Jouw data verlaat Europa niet: niet voor verwerking, niet voor opslag, niet voor training.
**AVG-compliance by design.** Doordat het volledige verwerkingsproces binnen de EU blijft, van prompt tot antwoord, is er geen juridische spagaat tussen de AVG en buitenlandse wetgeving. We verwerken data alleen voor het afgesproken doel, bewaren niets langer dan nodig, en geven je volledige controle over je eigen gegevens. En doordat de hele architectuur transparant en traceerbaar is, ligt er een solide basis voor de documentatie- en toezichteisen van de EU AI Act.
Dit betekent niet dat we blind zijn voor de kwaliteit van Amerikaanse modellen. OpenAI en Anthropic leveren indrukwekkende technologie. Maar voor Nederlandse bedrijven die werken met klantdata, contracten, financiële informatie of persoonsgegevens, is de beste AI niet per se de krachtigste. Het is de AI die je kunt verantwoorden.
## De vraag die je je leverancier moet stellen
De volgende keer dat iemand je een AI-oplossing aanbiedt, stel dan drie vragen:
**"Welk model gebruik je, waar wordt mijn data verwerkt, en onder welke jurisdictie valt dat?"**
Als het antwoord begint met OpenAI of "Azure maar dan in Europa", dan weet je dat je data onder de CLOUD Act valt. Of het nu in Amsterdam of in Virginia staat.
En als je leverancier dat antwoord niet paraat heeft, of het niet relevant vindt, is dat een belangrijk signaal over de prioriteit die zij aan data-soevereiniteit geven.
DeltaFlow AI bouwt AI-oplossingen voor Nederlandse bedrijven op een volledig Europese stack: Mistral als AI-model, Scaleway als cloudinfrastructuur. Geen CLOUD Act-risico, volledig AVG-compliant, en voorbereid op de EU AI Act. Voor bedrijven die hun data serieus nemen.
## Bronnen
- U.S. Congress, "Clarifying Lawful Overseas Use of Data Act (CLOUD Act)", H.R. 4943, ondertekend 23 maart 2018.
- Europese Unie, "Verordening (EU) 2024/1689 tot vaststelling van geharmoniseerde regels betreffende artificiële intelligentie (AI-verordening)", in werking getreden 1 augustus 2024.
- U.S. Senate Committee on the Judiciary, hoorzitting "Data Storage Abroad", getuigenis Brad Smith (Microsoft), 2017.
- Algemene Rekenkamer, "Cloudbeleid en de digitale soevereiniteit van de rijksoverheid", rapport aan de Tweede Kamer.
- Nationaal Cyber Security Centrum (NCSC), adviesrapport over cloudafhankelijkheid en digitale autonomie.
- Reuters, "French defence ministry selects Mistral AI for use across armed forces", 8 januari 2026.
- BNP Paribas, persbericht "BNP Paribas and Mistral AI announce a multi-year partnership", juli 2024.
- OVHcloud/Octave Klaba, verklaringen over datavordering onder de CLOUD Act door het Franse moederbedrijf.`}},ip=[BT],$T=e=>ip.find(t=>t.metadata.id===e),UT=e=>new Date(e).toLocaleDateString("nl-NL",{day:"numeric",month:"long",year:"numeric"}),WT=()=>s.jsxs("div",{className:"min-h-screen font-sans bg-neutral-50 selection:bg-coral/30",children:[s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsx("section",{className:"relative py-24 lg:py-32 overflow-hidden bg-brand-primary text-neutral-50",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 relative z-10 text-center",children:[s.jsx("h1",{className:"text-h1-mobile lg:text-h1-desktop font-bold mb-6 text-white",children:"Blog"}),s.jsx("p",{className:"text-lead-mobile lg:text-lead text-blue-100 max-w-3xl mx-auto font-medium",children:"Artikelen over AI-automatisering, praktische tips en trends voor Nederlandse bedrijven."})]})}),s.jsx("section",{className:"py-20 lg:py-24 bg-neutral-50",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:ip.length===0?s.jsx("div",{className:"text-center py-20",children:s.jsx("p",{className:"text-xl text-neutral-400",children:"Geen artikelen beschikbaar."})}):s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:ip.map(e=>s.jsx(ge,{to:`/blog/${e.metadata.id}`,className:"group",children:s.jsxs(xt,{className:"h-full overflow-hidden border-0 shadow-card hover:shadow-card-hover transition-all duration-300 hover:scale-[1.02] bg-white",children:[s.jsxs("div",{className:"relative aspect-video overflow-hidden bg-gradient-to-br from-neutral-100 to-neutral-50",children:[s.jsx("div",{className:"absolute inset-0 bg-brand-primary/10 group-hover:bg-brand-primary/5 transition-colors z-10"}),s.jsx("img",{src:e.overview.image,alt:e.metadata.title,className:"w-full h-full object-cover transform group-hover:scale-105 transition-transform duration-700"})]}),s.jsxs("div",{className:"p-6 space-y-3",children:[s.jsxs("div",{className:"flex items-center gap-2 text-sm text-neutral-400",children:[s.jsx("span",{children:UT(e.metadata.publishDate)}),s.jsx("span",{children:"·"}),s.jsxs("span",{children:[e.metadata.readTime," lezen"]})]}),s.jsx("h3",{className:"text-2xl font-bold text-brand-primary group-hover:text-accent-bright-blue transition-colors",children:e.metadata.title}),s.jsx("p",{className:"text-neutral-400 leading-relaxed line-clamp-3",children:e.overview.excerpt}),s.jsxs("div",{className:"pt-2 flex items-center text-brand-primary group-hover:text-coral transition-colors font-semibold",children:[s.jsx("span",{children:"Lees meer"}),s.jsx(ht,{className:"ml-2 w-4 h-4 transform group-hover:translate-x-1 transition-transform"})]})]})]})},e.metadata.id))})})}),s.jsxs("section",{className:"relative py-32 lg:py-40 bg-gradient-to-br from-brand-primary via-brand-primary to-accent-bright-blue overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 opacity-10",children:[s.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-coral rounded-full blur-3xl transform translate-x-1/2 -translate-y-1/2"}),s.jsx("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-accent-bright-blue rounded-full blur-3xl transform -translate-x-1/2 translate-y-1/2"})]}),s.jsx("div",{className:"absolute inset-0 opacity-5",style:{backgroundImage:"linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px)",backgroundSize:"50px 50px"}}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[s.jsxs("h2",{className:"text-4xl lg:text-6xl font-bold mb-6 text-white leading-tight",children:["Klaar om te beginnen",s.jsx("br",{}),s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-coral via-white to-accent-bright-blue",children:"met AI-automatisering?"})]}),s.jsx("p",{className:"text-xl lg:text-2xl text-blue-100 mb-12 max-w-3xl mx-auto leading-relaxed font-medium",children:"Ontdek hoe wij uw bedrijf kunnen helpen om meer uit AI te halen. Plan een gratis adviesgesprek en laat ons naar een concrete oplossing kijken."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[s.jsx(Se,{size:"lg",asChild:!0,className:"h-16 px-10 text-lg font-bold bg-coral hover:bg-coral/90 text-white shadow-2xl shadow-coral/30 hover:shadow-coral/50 transition-all duration-300 hover:scale-105 border-0",children:s.jsxs(ge,{to:"/contact",className:"group",children:["Plan uw gratis adviesgesprek",s.jsx(ht,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),s.jsx(Se,{size:"lg",asChild:!0,className:"h-16 px-10 text-lg font-bold bg-white/10 hover:bg-white/20 text-white backdrop-blur-sm border-2 border-white/30 hover:border-white/50 shadow-xl transition-all duration-300 hover:scale-105",children:s.jsx(ge,{to:"/diensten",children:"Bekijk onze diensten"})})]})]})})]})]}),s.jsx(Kt,{})]}),a1=()=>{const e=rs();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),s.jsx("div",{className:"min-h-screen flex items-center justify-center bg-brand-primary text-white selection:bg-coral/30",children:s.jsxs("div",{className:"text-center px-4",children:[s.jsx("h1",{className:"text-9xl font-bold mb-4 text-white/10 select-none",children:"404"}),s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold mb-4 -mt-16 relative z-10",children:"Pagina Niet Gevonden"}),s.jsx("p",{className:"text-xl text-blue-100 mb-8 max-w-md mx-auto",children:"De pagina die u zoekt bestaat niet of is verplaatst."}),s.jsx(Se,{variant:"terracotta",size:"lg",asChild:!0,className:"relative z-10",children:s.jsxs(ge,{to:"/",children:[s.jsx(Xs,{className:"mr-2 w-4 h-4"}),"Terug naar Home"]})})]})})},HT=e=>new Date(e).toLocaleDateString("nl-NL",{day:"numeric",month:"long",year:"numeric"}),Ux=e=>e.split(/(\*\*.*?\*\*)/g).map((n,r)=>n.startsWith("**")&&n.endsWith("**")?s.jsx("strong",{className:"text-neutral-900",children:n.slice(2,-2)},r):s.jsx("span",{children:n},r)),qT=e=>e.split(`
`).map((n,r)=>{if(n.startsWith("## "))return s.jsx("h2",{className:"text-2xl lg:text-3xl font-bold text-brand-primary mt-10 mb-4",children:n.slice(3)},r);if(n.startsWith("- ")){const i=n.split(`
`).filter(a=>a.startsWith("- "));return s.jsx("ul",{className:"list-disc list-inside space-y-2 text-neutral-600 leading-relaxed mb-6 pl-2",children:i.map((a,o)=>s.jsx("li",{children:Ux(a.slice(2))},o))},r)}if(n.startsWith("> ")){const i=n.split(`
`).map(l=>l.replace(/^> /,"")),a=i.find(l=>!l.startsWith("—")),o=i.find(l=>l.startsWith("—"));return s.jsxs("blockquote",{className:"border-l-4 border-brand-primary bg-blue-100 rounded-r-lg pl-6 py-5 my-10",children:[s.jsx("p",{className:"text-xl font-semibold text-neutral-900 italic leading-relaxed",children:a}),o&&s.jsx("cite",{className:"block text-sm text-neutral-400 mt-3 not-italic font-medium",children:o})]},r)}return s.jsx("p",{className:"text-neutral-600 leading-relaxed text-lg mb-6",children:Ux(n)},r)}),ZT=()=>{const{postId:e}=pw(),t=$T(e);return t?s.jsxs("div",{className:"min-h-screen font-sans bg-neutral-50 selection:bg-coral/30",children:[s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsx("section",{className:"relative pt-24 pb-20 lg:py-28 overflow-hidden bg-brand-primary",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-3xl mx-auto",children:[s.jsxs(ge,{to:"/blog",className:"inline-flex items-center text-blue-200 hover:text-white transition-colors font-medium mb-8 group",children:[s.jsx(Xs,{className:"w-4 h-4 mr-2 group-hover:-translate-x-1 transition-transform"}),"Terug naar Blog"]}),s.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-sm text-blue-200 mb-4",children:[s.jsx("span",{children:t.metadata.category}),s.jsx("span",{children:"·"}),s.jsx("span",{children:HT(t.metadata.publishDate)}),s.jsx("span",{children:"·"}),s.jsxs("span",{children:[t.metadata.readTime," lezen"]})]}),s.jsx("h1",{className:"text-h1-mobile lg:text-h1-desktop font-bold text-white leading-tight",children:t.metadata.title}),s.jsx("div",{className:"flex items-center gap-3 mt-4",children:s.jsxs("p",{className:"text-blue-200 font-medium",children:["Geschreven door ",t.metadata.author]})})]})})}),s.jsx("section",{className:"py-16 lg:py-24",children:s.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:s.jsx("div",{className:"max-w-3xl mx-auto",children:s.jsx("article",{children:qT(t.content.body)})})})})]}),s.jsx(Kt,{})]}):s.jsx(a1,{})},GT=()=>{const e=[{week:"Week 1",icon:hf,label:"Procesanalyse",color:"bg-brand-primary",accentColor:"text-brand-primary"},{week:"Week 2-3",icon:xo,label:"Proof of Concept",color:"bg-brand-secondary",accentColor:"text-brand-secondary"},{week:"Week 4",icon:df,label:"Implementatie",color:"bg-coral",accentColor:"text-coral"},{week:"Doorlopend",icon:Qo,label:"Optimalisatie",color:"bg-success",accentColor:"text-success"}];return s.jsxs("div",{className:"relative py-12 bg-white rounded-2xl shadow-card border border-neutral-100 overflow-hidden",children:[s.jsx("svg",{className:"absolute top-0 left-0 w-full h-full opacity-[0.02] pointer-events-none",preserveAspectRatio:"none",children:s.jsx("path",{d:"M0,100 Q300,50 600,100 T1200,100",stroke:"currentColor",strokeWidth:"2",fill:"none",className:"text-brand-primary"})}),s.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[s.jsxs("div",{className:"hidden lg:block relative",children:[s.jsxs("svg",{className:"absolute top-12 left-0 right-0 h-24 w-full pointer-events-none",preserveAspectRatio:"none",viewBox:"0 0 1000 100",children:[s.jsx("path",{d:"M 125,50 Q 250,30 375,50 Q 500,70 625,50 Q 750,30 875,50",stroke:"url(#flowGradient)",strokeWidth:"4",fill:"none",opacity:"0.8"}),s.jsx("defs",{children:s.jsxs("linearGradient",{id:"flowGradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[s.jsx("stop",{offset:"0%",stopColor:"hsl(var(--brand-primary))"}),s.jsx("stop",{offset:"33%",stopColor:"hsl(var(--brand-secondary))"}),s.jsx("stop",{offset:"66%",stopColor:"hsl(var(--accent-coral))"}),s.jsx("stop",{offset:"100%",stopColor:"hsl(var(--semantic-success))"})]})})]}),s.jsx("div",{className:"grid grid-cols-4 gap-8 relative z-10",children:e.map((t,n)=>s.jsxs("div",{className:"flex flex-col items-center text-center group cursor-default",children:[s.jsxs("div",{className:`w-24 h-24 rounded-full ${t.color} flex items-center justify-center mb-4 shadow-lg group-hover:scale-110 transition-all duration-300 relative`,children:[s.jsx(t.icon,{className:"w-10 h-10 text-white relative z-10"}),s.jsx("div",{className:`absolute inset-0 rounded-full ${t.color} opacity-0 group-hover:opacity-50 group-hover:scale-150 transition-all duration-500`})]}),s.jsx("div",{className:`text-sm font-bold ${t.accentColor} mb-1`,children:t.week}),s.jsx("div",{className:"text-base font-semibold text-neutral-700",children:t.label})]},n))})]}),s.jsxs("div",{className:"lg:hidden relative",children:[s.jsxs("svg",{className:"absolute left-8 top-0 bottom-0 w-24 h-full pointer-events-none",preserveAspectRatio:"none",viewBox:"0 0 100 1000",children:[s.jsx("path",{d:"M 50,50 Q 30,250 50,450 Q 70,650 50,850",stroke:"url(#flowGradientMobile)",strokeWidth:"4",fill:"none",opacity:"0.8"}),s.jsx("defs",{children:s.jsxs("linearGradient",{id:"flowGradientMobile",x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[s.jsx("stop",{offset:"0%",stopColor:"hsl(var(--brand-primary))"}),s.jsx("stop",{offset:"33%",stopColor:"hsl(var(--brand-secondary))"}),s.jsx("stop",{offset:"66%",stopColor:"hsl(var(--accent-coral))"}),s.jsx("stop",{offset:"100%",stopColor:"hsl(var(--semantic-success))"})]})})]}),s.jsx("div",{className:"space-y-8 relative z-10",children:e.map((t,n)=>s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:`w-16 h-16 rounded-full ${t.color} flex items-center justify-center shrink-0 shadow-lg relative`,children:s.jsx(t.icon,{className:"w-7 h-7 text-white"})}),s.jsxs("div",{className:"pt-2 flex-1",children:[s.jsx("div",{className:`text-xs font-bold ${t.accentColor} mb-1`,children:t.week}),s.jsx("div",{className:"text-base font-semibold text-neutral-700",children:t.label}),n===0&&s.jsx("div",{className:"w-16 h-0.5 bg-coral mt-2 opacity-60"})]})]},n))})]})]})]})},KT=()=>{const e=b.useRef(null);b.useEffect(()=>(e.current=new IntersectionObserver(r=>{r.forEach(i=>{i.isIntersecting&&(i.target.classList.add("animate-fade-in-up"),i.target.classList.remove("opacity-0"))})},{threshold:.1,rootMargin:"0px 0px -100px 0px"}),document.querySelectorAll(".animate-on-scroll").forEach(r=>{var i;(i=e.current)==null||i.observe(r)}),()=>{var r;(r=e.current)==null||r.disconnect()}),[]);const t=[{week:"Week 1",icon:s.jsx(hf,{className:"w-8 h-8 text-brand-primary"}),title:"Gratis Procesanalyse",items:[{title:"Kennismaking & Procesidentificatie",description:"We luisteren naar uw uitdagingen en identificeren samen het proces met de grootste impact."},{title:"Quick Scan",description:"We analyseren tijd, kosten en automatiseringspotentieel."},{title:"Go/No-Go Advies",description:"Eerlijk advies: past AI-automatisering bij uw situatie?"}],result:"Helder beeld van mogelijkheden en verwachte ROI."},{week:"Week 2-3",icon:s.jsx(xo,{className:"w-8 h-8 text-brand-primary"}),title:"Proof of Concept",items:[{title:"Procesuitwerking & AI-configuratie",description:"We documenteren het proces in detail en bouwen een werkende demo met uw eigen data."},{title:"Live Demonstratie",description:"U ziet live hoe de automatisering werkt en krijgt hands-on ervaring."},{title:"Verfijning",description:"We passen de oplossing aan op basis van uw directe feedback."}],result:"Een werkende demonstratie van uw toekomstige automatisering."},{week:"Week 4",icon:s.jsx(df,{className:"w-8 h-8 text-brand-primary"}),title:"Implementatie",items:[{title:"Technische Integratie",description:"Naadloze koppeling met uw bestaande systemen en volledige configuratie."},{title:"Training & Testing",description:"Uitgebreide training van uw team en grondig testen in uw eigen omgeving."},{title:"Go-Live Begeleiding",description:"De automatisering gaat live met onze persoonlijke begeleiding."}],result:"Een volledig werkende automatisering in uw productieomgeving."},{week:"Doorlopend",icon:s.jsx(Qo,{className:"w-8 h-8 text-brand-primary"}),title:"Optimalisatie & Opschaling",items:[{title:"Monitoring & Verbetering",description:"We volgen prestaties en optimaliseren continu op basis van gebruik."},{title:"Nieuwe Kansen",description:"Identificatie van volgende automatiseringskansen en uitbreidingsmogelijkheden."},{title:"Kennisoverdracht",description:"Uw team wordt steeds zelfredzamer door onze begeleiding."}],result:"Groeiende efficiëntie en ontdekking van nieuwe mogelijkheden."}];return s.jsxs("div",{className:"min-h-screen font-sans selection:bg-coral/30 bg-neutral-50",children:[s.jsxs(pr,{children:[s.jsx("title",{children:"Onze Aanpak - 4 Weken naar AI Automatisering | DeltaFlow AI"}),s.jsx("meta",{name:"description",content:"Van gratis procesanalyse tot implementatie in 4 weken. Ontdek ons bewezen stappenplan voor AI-automatisering. Risicoloos starten met proof of concept."}),s.jsx("meta",{property:"og:title",content:"Onze Aanpak - 4 Weken naar AI Automatisering | DeltaFlow AI"}),s.jsx("meta",{property:"og:description",content:"Van gratis procesanalyse tot implementatie in 4 weken. Ontdek ons bewezen stappenplan voor AI-automatisering."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("link",{rel:"canonical",href:"https://deltaflowai.nl/proces"})]}),s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsxs("section",{className:"relative py-24 lg:py-32 overflow-hidden bg-brand-primary",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[s.jsx("svg",{className:"absolute top-0 right-0 w-[600px] h-[600px] opacity-[0.06]",viewBox:"0 0 600 600",children:s.jsx("path",{d:"M450,300 Q500,200 550,300 T650,300 Q700,400 650,500 T450,500 Q350,450 350,350 T450,300",fill:"white"})}),s.jsx("svg",{className:"absolute bottom-0 left-0 w-[500px] h-[500px] opacity-[0.06]",viewBox:"0 0 500 500",children:s.jsx("ellipse",{cx:"250",cy:"400",rx:"300",ry:"200",fill:"white"})})]}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsx("div",{className:"grid lg:grid-cols-12 gap-12 items-center",children:s.jsxs("div",{className:"lg:col-span-7 lg:col-start-2",children:[s.jsx("div",{className:"w-24 h-1 bg-coral mb-8 animate-on-scroll opacity-0",style:{animationDelay:"0s"}}),s.jsxs("h1",{className:"text-h1-mobile lg:text-h1-desktop text-white mb-6 animate-on-scroll opacity-0",style:{animationDelay:"0.1s"},children:["Het"," ",s.jsxs("span",{className:"relative inline-block",children:["proces",s.jsx("svg",{className:"absolute w-full h-3 -bottom-1 left-0 text-coral",viewBox:"0 0 100 10",preserveAspectRatio:"none","aria-hidden":"true",children:s.jsx("path",{d:"M0 5 Q 50 10 100 5",stroke:"currentColor",strokeWidth:"4",fill:"none"})})]})]}),s.jsx("p",{className:"text-lead-mobile lg:text-lead text-white/95 mb-8 leading-relaxed animate-on-scroll opacity-0",style:{animationDelay:"0.2s"},children:"Bij DeltaFlow maken we je werk eenvoudiger en efficiënter met kunstmatige intelligentie. We nemen repetitieve taken over en stroomlijnen je processen. Door data te analyseren en om te zetten in concrete inzichten, helpen we je sneller en beter te beslissen."}),s.jsx("svg",{className:"hidden lg:block absolute left-1/2 -bottom-16 w-32 h-32 text-white/20 animate-on-scroll opacity-0",viewBox:"0 0 100 100",style:{animationDelay:"0.3s"},children:s.jsx("path",{d:"M 50,0 Q 50,50 25,80",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeDasharray:"5,5"})})]})})})]}),s.jsx("section",{className:"py-24 bg-neutral-50",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8",children:[s.jsxs("div",{className:"text-center mb-16 animate-on-scroll opacity-0",children:[s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop text-brand-primary mb-4",children:"Van Idee naar Resultaat in 4 Weken"}),s.jsx("p",{className:"text-body-mobile lg:text-body text-neutral-400 max-w-2xl mx-auto",children:"Ons bewezen stappenplan neemt u stap voor stap mee van analyse tot volledig werkende automatisering."})]}),s.jsx("div",{className:"animate-on-scroll opacity-0",style:{animationDelay:"0.2s"},children:s.jsx(GT,{})})]})}),s.jsx("div",{className:"flex flex-col",children:t.map((n,r)=>s.jsxs("section",{className:`relative py-24 lg:py-32 overflow-hidden ${r%2===0?"bg-white":"bg-[hsl(var(--warm-beige))]"}`,children:[s.jsx("div",{className:"absolute top-8 right-8 lg:top-16 lg:right-16 text-[150px] lg:text-[280px] font-bold text-brand-primary/[0.03] leading-none select-none pointer-events-none",children:String(r+1).padStart(2,"0")}),s.jsx("svg",{className:`absolute ${r%2===0?"top-0 left-0":"bottom-0 right-0"} w-[400px] h-[400px] opacity-[0.03]`,viewBox:"0 0 400 400",children:s.jsx("path",{d:"M200,50 Q300,100 350,200 T300,350 Q200,400 100,350 T50,200 Q100,100 200,50",fill:"currentColor",className:"text-brand-primary"})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsx("div",{className:"grid lg:grid-cols-12 gap-12 lg:gap-16 items-start",children:r%2===0?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"lg:col-span-5 lg:col-start-1 animate-on-scroll opacity-0",children:s.jsxs("div",{className:"lg:sticky lg:top-32",children:[s.jsxs("div",{className:"inline-flex items-center gap-3 px-4 py-2 rounded-full bg-brand-primary/5 text-brand-primary font-bold mb-6",children:[s.jsx(Nc,{className:"w-4 h-4"}),n.week]}),s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop text-brand-primary mb-4",children:n.title}),s.jsxs("div",{className:"flex items-start gap-4 p-6 bg-white rounded-2xl shadow-card mt-6 border-l-4 border-coral",children:[s.jsx("div",{className:"bg-brand-primary/10 p-3 rounded-xl shrink-0",children:n.icon}),s.jsxs("div",{className:"text-body-mobile",children:[s.jsx("span",{className:"block text-brand-primary font-bold mb-1",children:"Resultaat:"}),s.jsx("span",{className:"text-neutral-400",children:n.result})]})]})]})}),s.jsx("div",{className:"lg:col-span-7 space-y-8",children:n.items.map((i,a)=>s.jsxs("div",{className:"group flex gap-6 relative animate-on-scroll opacity-0",style:{animationDelay:`${a*.1}s`},children:[a<n.items.length-1&&s.jsx("div",{className:"absolute left-4 top-12 bottom-0 w-0.5 bg-coral/20 -translate-x-1/2"}),s.jsx("div",{className:"mt-1 relative z-10",children:s.jsx("div",{className:"w-8 h-8 rounded-full bg-coral/10 flex items-center justify-center text-coral font-bold text-sm group-hover:bg-coral group-hover:text-white transition-all duration-300 group-hover:scale-110",children:a+1})}),s.jsxs("div",{className:"flex-1 bg-white p-6 rounded-2xl shadow-card border-l-4 border-transparent hover:border-coral transition-all duration-300 hover:shadow-card-hover",children:[s.jsx("h3",{className:"text-h4 text-brand-primary mb-2",children:i.title}),s.jsx("p",{className:"text-body-mobile text-neutral-400 leading-relaxed",children:i.description})]})]},a))})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"lg:col-span-7 order-2 lg:order-1 space-y-8",children:n.items.map((i,a)=>s.jsxs("div",{className:"group flex gap-6 relative animate-on-scroll opacity-0",style:{animationDelay:`${a*.1}s`},children:[a<n.items.length-1&&s.jsx("div",{className:"absolute left-4 top-12 bottom-0 w-0.5 bg-coral/20 -translate-x-1/2"}),s.jsx("div",{className:"mt-1 relative z-10",children:s.jsx("div",{className:"w-8 h-8 rounded-full bg-coral/10 flex items-center justify-center text-coral font-bold text-sm group-hover:bg-coral group-hover:text-white transition-all duration-300 group-hover:scale-110",children:a+1})}),s.jsxs("div",{className:"flex-1 bg-white p-6 rounded-2xl shadow-card border-l-4 border-transparent hover:border-coral transition-all duration-300 hover:shadow-card-hover",children:[s.jsx("h3",{className:"text-h4 text-brand-primary mb-2",children:i.title}),s.jsx("p",{className:"text-body-mobile text-neutral-400 leading-relaxed",children:i.description})]})]},a))}),s.jsx("div",{className:"lg:col-span-5 lg:col-end-13 order-1 lg:order-2 animate-on-scroll opacity-0",children:s.jsxs("div",{className:"lg:sticky lg:top-32",children:[s.jsxs("div",{className:"inline-flex items-center gap-3 px-4 py-2 rounded-full bg-brand-primary/5 text-brand-primary font-bold mb-6",children:[s.jsx(Nc,{className:"w-4 h-4"}),n.week]}),s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop text-brand-primary mb-4",children:n.title}),s.jsxs("div",{className:"flex items-start gap-4 p-6 bg-white rounded-2xl shadow-card mt-6 border-l-4 border-coral",children:[s.jsx("div",{className:"bg-brand-primary/10 p-3 rounded-xl shrink-0",children:n.icon}),s.jsxs("div",{className:"text-body-mobile",children:[s.jsx("span",{className:"block text-brand-primary font-bold mb-1",children:"Resultaat:"}),s.jsx("span",{className:"text-neutral-400",children:n.result})]})]})]})})]})})})]},r))}),s.jsxs("section",{className:"py-32 bg-white relative overflow-hidden",children:[s.jsx("svg",{className:"absolute top-0 left-0 w-full h-32 opacity-[0.05]",preserveAspectRatio:"none",viewBox:"0 0 1200 100",children:s.jsx("path",{d:"M0,50 Q300,20 600,50 T1200,50",stroke:"currentColor",strokeWidth:"4",fill:"none",className:"text-brand-primary"})}),s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:[s.jsxs("div",{className:"text-center mb-16 animate-on-scroll opacity-0",children:[s.jsx("div",{className:"w-24 h-1 bg-coral mx-auto mb-6"}),s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop mb-4 text-brand-primary",children:"Waarom dit proces werkt"})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[{icon:pf,title:"Risicoloos",desc:"U ziet resultaat voordat u een definitieve beslissing neemt."},{icon:hu,title:"Snel",desc:"Binnen 4 weken van idee naar een werkende oplossing."},{icon:go,title:"Bewezen",desc:"Ons stappenplan is succesvol gebleken bij diverse bedrijven."},{icon:qa,title:"Flexibel",desc:"Het proces wordt aangepast aan uw tempo en specifieke wensen."}].map((n,r)=>s.jsx(xt,{className:"border-0 shadow-card hover:shadow-card-hover transition-all duration-300 group hover:-translate-y-2 border-l-4 border-transparent hover:border-coral animate-on-scroll opacity-0",style:{animationDelay:`${r*.1}s`},children:s.jsxs(wn,{className:"pt-8 pb-8 px-6 text-center",children:[s.jsx("div",{className:"w-16 h-16 mx-auto mb-6 bg-brand-primary/5 rounded-2xl flex items-center justify-center group-hover:bg-brand-primary/10 transition-colors",children:s.jsx(n.icon,{className:"w-8 h-8 text-brand-primary"})}),s.jsx("h3",{className:"text-h4 mb-3 text-brand-primary",children:n.title}),s.jsx("p",{className:"text-body-mobile text-neutral-400",children:n.desc})]})},r))})]})]}),s.jsxs("section",{className:"py-24 bg-brand-primary text-white relative overflow-hidden",children:[s.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:s.jsx("svg",{className:"absolute bottom-0 left-1/4 w-[500px] h-[300px] opacity-[0.06]",viewBox:"0 0 500 300",children:s.jsx("ellipse",{cx:"250",cy:"200",rx:"250",ry:"150",fill:"white"})})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 text-center relative z-10",children:s.jsxs("div",{className:"max-w-3xl mx-auto animate-on-scroll opacity-0",children:[s.jsx("h2",{className:"text-h2-mobile lg:text-h2-desktop mb-6",children:"Klaar voor de volgende stap?"}),s.jsx("p",{className:"text-lead-mobile lg:text-lead text-white/95 mb-10",children:"Ontdek vrijblijvend wat AI voor uw meest tijdrovende proces kan betekenen."}),s.jsx(Se,{size:"lg",variant:"terracotta",asChild:!0,className:"h-14 px-8 text-lg font-semibold shadow-xl hover:shadow-2xl transition-all duration-300 hover:scale-105 bg-coral hover:bg-coral/90",children:s.jsxs(ge,{to:"/contact",children:["Start met een gratis procesanalyse",s.jsx(ht,{className:"ml-2 w-5 h-5"})]})})]})})]})]}),s.jsx(Kt,{})]})},nr=b.forwardRef(({className:e,type:t,...n},r)=>s.jsx("input",{type:t,className:Pe("flex h-12 w-full rounded-lg border border-[#E0E0E0] bg-background px-4 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-brand-primary focus-visible:ring-4 focus-visible:ring-brand-primary/10 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm transition-all duration-200",e),ref:r,...n}));nr.displayName="Input";const Uf=b.forwardRef(({className:e,...t},n)=>s.jsx("textarea",{className:Pe("flex min-h-[80px] w-full rounded-lg border border-[#E0E0E0] bg-background px-4 py-3 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-brand-primary focus-visible:ring-4 focus-visible:ring-brand-primary/10 disabled:cursor-not-allowed disabled:opacity-50 transition-all duration-200",e),ref:n,...t}));Uf.displayName="Textarea";var QT="Label",o1=b.forwardRef((e,t)=>s.jsx(Xe.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));o1.displayName=QT;var l1=o1;const YT=du("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Ct=b.forwardRef(({className:e,...t},n)=>s.jsx(l1,{ref:n,className:Pe(YT(),e),...t}));Ct.displayName=l1.displayName;const XT=()=>{const[e,t]=b.useState({loading:!1,success:!1,error:null}),[n,r]=b.useState({name:"",email:"",phone:"",company:"",message:"",gdprConsent:!1}),[i,a]=b.useState(!1),[o,l]=b.useState(!1),c=b.useRef(null);b.useEffect(()=>{a(!0)},[]);const u=()=>{c.current&&(o?(c.current.pause(),l(!1)):(c.current.play(),l(!0)))},d=()=>{l(!1),c.current&&(c.current.currentTime=0)},h=async f=>{f.preventDefault(),t({loading:!0,success:!1,error:null});try{if(!(await fetch("/.netlify/functions/submit-contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})).ok)throw new Error("Submission failed");t({loading:!1,success:!0,error:null}),r({name:"",email:"",phone:"",company:"",message:"",gdprConsent:!1}),f.target.reset()}catch{t({loading:!1,success:!1,error:"Er is iets misgegaan. Probeer het opnieuw of neem direct contact met ons op."})}},p=f=>{const{name:x,value:v,type:w}=f.target,m=f.target.checked;r(g=>({...g,[x]:w==="checkbox"?m:v}))};return s.jsxs("div",{className:"min-h-screen bg-[#FAFAFA] font-jakarta selection:bg-[#E57373]/30",children:[s.jsxs(pr,{children:[s.jsx("title",{children:"Contact - Plan een Gratis Adviesgesprek | DeltaFlow AI"}),s.jsx("meta",{name:"description",content:"Neem contact op met DeltaFlow AI voor een vrijblijvend adviesgesprek over AI-automatisering. Tel: +31 (0)6-18435899 | Email: business@deltaflowai.nl | Gevestigd in Zierikzee, actief in heel Nederland."}),s.jsx("meta",{property:"og:title",content:"Contact DeltaFlow AI - Gratis Adviesgesprek"}),s.jsx("meta",{property:"og:description",content:"Plan een gratis adviesgesprek of stuur een bericht. We helpen u graag met AI-automatisering voor uw bedrijf."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("link",{rel:"canonical",href:"https://deltaflowai.nl/contact"}),s.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"ContactPage",url:"https://deltaflowai.nl/contact",mainEntity:{"@type":"Organization",name:"DeltaFlowAI",telephone:"+31618435899",email:"business@deltaflowai.nl",address:{"@type":"PostalAddress",streetAddress:"Roggenplaat 10",addressLocality:"Zierikzee",postalCode:"4301 WX",addressCountry:"NL"}}})})]}),s.jsx(Gt,{}),s.jsxs("main",{className:"overflow-hidden",children:[s.jsxs("section",{className:"relative py-32 lg:py-40 bg-[#1565C0] overflow-hidden",children:[s.jsx("div",{className:"absolute inset-0 opacity-10",children:s.jsx("svg",{className:"absolute top-0 right-0 w-1/2 h-full",viewBox:"0 0 400 600",fill:"none",children:s.jsx("path",{d:"M400,0 Q300,150 400,300 T400,600 L400,0 Z",fill:"#2196F3",opacity:"0.3"})})}),s.jsx("svg",{className:"absolute bottom-0 left-0 w-full h-32 opacity-80",preserveAspectRatio:"none",viewBox:"0 0 1200 100",children:s.jsx("path",{d:"M0,50 Q300,10 600,50 T1200,50",stroke:"rgba(255,255,255,0.2)",strokeWidth:"3",fill:"none",className:"animate-draw-line"})}),s.jsx("div",{className:"container mx-auto px-6 lg:px-8 max-w-[1200px] relative z-10",children:s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[s.jsxs("div",{className:`transition-all duration-1000 ${i?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[s.jsx("div",{className:"w-24 h-1 bg-[#E57373] mb-8 animate-slide-in-left"}),s.jsx("h1",{className:"text-[40px] lg:text-[56px] font-bold leading-tight mb-6 text-white tracking-tight",children:"Neem Contact Op"}),s.jsx("p",{className:"text-[18px] lg:text-[20px] text-white/95 leading-relaxed mb-8",children:"Klaar om te ontdekken wat AI-automatisering voor uw bedrijf kan betekenen? We staan voor u klaar met persoonlijk advies en praktische oplossingen."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[s.jsxs("a",{href:"tel:+31618435899",className:"inline-flex items-center justify-center px-8 py-4 bg-[#E57373] text-white font-semibold rounded-lg hover:bg-[#FF8A65] transition-all duration-300 hover:-translate-y-0.5 shadow-lg hover:shadow-xl",children:[s.jsx(ad,{className:"w-5 h-5 mr-2"}),"Bel Direct"]}),s.jsx("a",{href:"#contact-form",className:"inline-flex items-center justify-center px-8 py-4 bg-transparent border-2 border-white text-white font-semibold rounded-lg hover:bg-white hover:text-[#1565C0] transition-all duration-300",children:"Stuur Bericht"})]})]}),s.jsx("div",{className:`transition-all duration-1000 delay-300 ${i?"opacity-100 translate-x-0":"opacity-0 translate-x-8"}`,children:s.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-[0px_20px_60px_rgba(0,0,0,0.3)] border-4 border-white/10 hover:scale-[1.02] transition-transform duration-300 group cursor-pointer",onClick:u,children:[s.jsxs("video",{ref:c,playsInline:!0,className:"w-full h-auto",onEnded:d,children:[s.jsx("source",{src:"/videos/contact/Chatbot.webm",type:"video/webm"}),"Uw browser ondersteunt het video element niet."]}),s.jsx("div",{className:`absolute inset-0 flex items-center justify-center bg-black/30 transition-opacity duration-300 ${o?"opacity-0 group-hover:opacity-100":"opacity-100"}`,children:s.jsx("div",{className:"w-20 h-20 rounded-full bg-[#E57373] flex items-center justify-center shadow-[0px_8px_30px_rgba(229,115,115,0.5)] hover:bg-[#FF8A65] hover:scale-110 transition-all duration-300",children:o?s.jsx(cb,{className:"w-10 h-10 text-white"}):s.jsx(ub,{className:"w-10 h-10 text-white ml-1"})})})]})})]})})]}),s.jsxs("section",{className:"py-24 bg-[#FAFAFA] relative",children:[s.jsx("svg",{className:"absolute top-0 left-0 w-64 h-64 opacity-5",viewBox:"0 0 200 200",children:s.jsx("circle",{cx:"0",cy:"0",r:"200",fill:"#1565C0"})}),s.jsx("div",{className:"container mx-auto px-6 lg:px-8 max-w-[1200px]",children:s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 lg:gap-16",children:[s.jsxs("div",{className:"lg:col-span-5 space-y-8",children:[s.jsxs("div",{className:`transition-all duration-1000 delay-200 ${i?"opacity-100 translate-x-0":"opacity-0 -translate-x-8"}`,children:[s.jsx("div",{className:"w-20 h-0.5 bg-[#E57373] mb-6"}),s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-semibold text-[#1565C0] mb-8 tracking-tight",children:"Direct Contact"})]}),s.jsxs("div",{className:"space-y-6",children:[s.jsx(xt,{className:"border-0 shadow-[0px_10px_30px_rgba(38,50,56,0.08)] hover:shadow-[0px_15px_40px_rgba(38,50,56,0.12)] transition-all duration-300 hover:scale-[1.02] bg-white rounded-2xl border-l-4 border-l-[#E57373]",children:s.jsx(wn,{className:"p-6 lg:p-8",children:s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 bg-[#E3F2FD] rounded-xl flex items-center justify-center flex-shrink-0",children:s.jsx(ad,{className:"w-6 h-6 text-[#1565C0]"})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("h3",{className:"font-semibold text-[22px] text-[#263238] mb-2",children:"Telefoon"}),s.jsx("a",{href:"tel:+31618435899",className:"text-[#546E7A] hover:text-[#E57373] transition-colors text-[18px] font-medium block",children:"+31 (0)6-18435899"}),s.jsx("p",{className:"text-sm text-[#546E7A] mt-2",children:"Bereikbaar op werkdagen 8:30 - 17:30"})]})]})})}),s.jsx(xt,{className:"border-0 shadow-[0px_10px_30px_rgba(38,50,56,0.08)] hover:shadow-[0px_15px_40px_rgba(38,50,56,0.12)] transition-all duration-300 hover:scale-[1.02] bg-white rounded-2xl border-l-4 border-l-[#E57373]",children:s.jsx(wn,{className:"p-6 lg:p-8",children:s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 bg-[#E3F2FD] rounded-xl flex items-center justify-center flex-shrink-0",children:s.jsx(yg,{className:"w-6 h-6 text-[#1565C0]"})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("h3",{className:"font-semibold text-[22px] text-[#263238] mb-2",children:"E-mail"}),s.jsx("a",{href:"mailto:business@deltaflowai.nl",className:"text-[#546E7A] hover:text-[#E57373] transition-colors text-[18px] font-medium block break-all",children:"business@deltaflowai.nl"}),s.jsx("p",{className:"text-sm text-[#546E7A] mt-2",children:"Reactie binnen 48 uur"})]})]})})}),s.jsx(xt,{className:"border-0 shadow-[0px_10px_30px_rgba(38,50,56,0.08)] hover:shadow-[0px_15px_40px_rgba(38,50,56,0.12)] transition-all duration-300 hover:scale-[1.02] bg-white rounded-2xl border-l-4 border-l-[#E57373]",children:s.jsx(wn,{className:"p-6 lg:p-8",children:s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 bg-[#E3F2FD] rounded-xl flex items-center justify-center flex-shrink-0",children:s.jsx(UN,{className:"w-6 h-6 text-[#1565C0]"})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("h3",{className:"font-semibold text-[22px] text-[#263238] mb-2",children:"Vestigingen"}),s.jsxs("div",{className:"space-y-3",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-[#546E7A] font-medium",children:"Bezoekadres"}),s.jsx("p",{className:"text-[#546E7A] text-sm",children:"Roggenplaat 10"}),s.jsx("p",{className:"text-[#546E7A] text-sm",children:"4301 WX, Zierikzee"}),s.jsx("p",{className:"text-[#546E7A] text-xs opacity-70 mt-1",children:"(op afspraak)"})]}),s.jsxs("div",{className:"pt-2 border-t border-gray-100",children:[s.jsx("p",{className:"text-[#546E7A] font-medium",children:"Postadres"}),s.jsx("p",{className:"text-[#546E7A] text-sm",children:"Roggenplaat 10"}),s.jsx("p",{className:"text-[#546E7A] text-sm",children:"4301 WX, Zierikzee"})]})]})]})]})})})]}),s.jsx(xt,{className:"bg-gradient-to-br from-[#E3F2FD] to-[#E3F2FD]/50 border-2 border-[#2196F3]/20 rounded-2xl shadow-lg",children:s.jsxs(wn,{className:"p-8",children:[s.jsx("div",{className:"w-12 h-1 bg-[#E57373] mb-4"}),s.jsx("h3",{className:"text-[24px] font-semibold text-[#1565C0] mb-4",children:"Gratis Adviesgesprek"}),s.jsx("p",{className:"text-[#546E7A] mb-6 leading-relaxed",children:"Ontdek in 30 minuten wat AI-automatisering voor uw bedrijf kan betekenen. Geen verplichtingen, wel concrete inzichten."}),s.jsx("div",{className:"space-y-3 mb-6",children:["Uw huidige processen en uitdagingen","Mogelijkheden voor automatisering","Realistische tijdsbesparing en ROI","Concrete vervolgstappen"].map((f,x)=>s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-[#E57373] mt-2"}),s.jsx("span",{className:"text-[#546E7A] text-[16px]",children:f})]},x))}),s.jsx(Se,{asChild:!0,className:"w-full bg-[#1565C0] hover:bg-[#2196F3] text-white font-semibold py-6 rounded-lg transition-all duration-300 hover:-translate-y-0.5 shadow-[0px_8px_20px_rgba(21,101,192,0.25)]",children:s.jsxs("a",{href:"https://calendly.com/business-deltaflowai/30-minuten-ai-scan",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center",children:[s.jsx(Nc,{className:"w-5 h-5 mr-2"}),"Plan Adviesgesprek"]})}),s.jsxs("div",{className:"mt-6 pt-6 border-t border-[#546E7A]/20",children:[s.jsx("p",{className:"text-center text-[#546E7A] text-sm mb-4",children:"Of start eerst met een snelle scan"}),s.jsx(Se,{asChild:!0,variant:"ghost",className:"w-full text-[#E57373] hover:text-[#FF8A65] hover:bg-[#E57373]/10 font-semibold py-3 rounded-lg transition-all duration-300 border border-[#E57373]/30 hover:border-[#E57373]/50",children:s.jsxs(ge,{to:"/ai-scan",className:"flex items-center justify-center",children:[s.jsx(Ec,{className:"w-4 h-4 mr-2"}),"Quick AI Scan (3 min)",s.jsx(ht,{className:"ml-2 w-4 h-4"})]})})]})]})})]}),s.jsx("div",{id:"contact-form",className:"lg:col-span-7",children:s.jsx(xt,{className:"border-0 shadow-[0px_10px_30px_rgba(38,50,56,0.08)] bg-white rounded-2xl sticky top-24",children:s.jsxs(wn,{className:"p-8 lg:p-12",children:[s.jsx("div",{className:"w-24 h-1 bg-[#E57373] mb-6"}),s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-semibold text-[#1565C0] mb-3 tracking-tight",children:"Stel Uw Vraag"}),s.jsx("p",{className:"text-[#546E7A] text-[18px] mb-8 leading-relaxed",children:"Heeft u een specifieke vraag? Laat het ons weten en we helpen u graag verder."}),s.jsxs("form",{className:"space-y-6",onSubmit:h,children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(Ct,{htmlFor:"name",className:"text-[14px] font-semibold text-[#263238]",children:"Naam *"}),s.jsxs("div",{className:"relative",children:[s.jsx(db,{className:"absolute left-3 top-3.5 w-5 h-5 text-[#546E7A]/40"}),s.jsx(nr,{id:"name",name:"name",type:"text",required:!0,className:"pl-10 bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] h-12 rounded-lg transition-all",placeholder:"Uw naam",value:n.name,onChange:p,disabled:e.loading})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(Ct,{htmlFor:"company",className:"text-[14px] font-semibold text-[#263238]",children:"Bedrijfsnaam"}),s.jsxs("div",{className:"relative",children:[s.jsx(ib,{className:"absolute left-3 top-3.5 w-5 h-5 text-[#546E7A]/40"}),s.jsx(nr,{id:"company",name:"company",type:"text",className:"pl-10 bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] h-12 rounded-lg transition-all",placeholder:"Uw bedrijf",value:n.company,onChange:p,disabled:e.loading})]})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(Ct,{htmlFor:"email",className:"text-[14px] font-semibold text-[#263238]",children:"E-mail *"}),s.jsxs("div",{className:"relative",children:[s.jsx(yg,{className:"absolute left-3 top-3.5 w-5 h-5 text-[#546E7A]/40"}),s.jsx(nr,{id:"email",name:"email",type:"email",required:!0,className:"pl-10 bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] h-12 rounded-lg transition-all",placeholder:"naam@bedrijf.nl",value:n.email,onChange:p,disabled:e.loading})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(Ct,{htmlFor:"phone",className:"text-[14px] font-semibold text-[#263238]",children:"Telefoon"}),s.jsxs("div",{className:"relative",children:[s.jsx(ad,{className:"absolute left-3 top-3.5 w-5 h-5 text-[#546E7A]/40"}),s.jsx(nr,{id:"phone",name:"phone",type:"tel",className:"pl-10 bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] h-12 rounded-lg transition-all",placeholder:"06 12345678",value:n.phone,onChange:p,disabled:e.loading})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(Ct,{htmlFor:"message",className:"text-[14px] font-semibold text-[#263238]",children:"Vraag/Opmerking"}),s.jsx(Uf,{id:"message",name:"message",rows:6,required:!0,className:"bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] resize-none rounded-lg transition-all",placeholder:"Waar kunnen we u mee helpen?",value:n.message,onChange:p,disabled:e.loading})]}),s.jsxs("div",{className:"flex items-start gap-3 p-4 bg-[#E3F2FD] rounded-lg",children:[s.jsx("input",{type:"checkbox",id:"gdpr-consent",name:"gdprConsent",required:!0,className:"mt-1 h-4 w-4 rounded border-[#546E7A] text-[#1565C0] focus:ring-2 focus:ring-[#E57373] focus:ring-offset-2",checked:n.gdprConsent,onChange:p,disabled:e.loading}),s.jsxs(Ct,{htmlFor:"gdpr-consent",className:"text-[14px] text-[#546E7A] leading-relaxed cursor-pointer",children:["Ik ga akkoord met het"," ",s.jsx(ge,{to:"/privacy",className:"text-[#1565C0] underline hover:text-[#2196F3] font-medium",children:"privacybeleid"})," ","en geef toestemming om contact met mij op te nemen over mijn aanvraag."]})]}),s.jsx(Se,{type:"submit",className:"w-full bg-[#1565C0] hover:bg-[#2196F3] text-white font-semibold py-6 text-[16px] rounded-lg transition-all duration-300 hover:-translate-y-0.5 shadow-[0px_8px_20px_rgba(21,101,192,0.25)] hover:shadow-[0px_12px_30px_rgba(21,101,192,0.35)] tracking-wide",disabled:e.loading,children:e.loading?s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"animate-spin mr-2",children:"⏳"}),"Versturen..."]}):s.jsxs(s.Fragment,{children:["Verstuur Bericht",s.jsx(KN,{className:"ml-2 w-5 h-5"})]})}),e.success&&s.jsx("div",{className:"p-5 bg-green-50 border-l-4 border-l-green-500 rounded-lg animate-slide-in",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(oa,{className:"w-5 h-5 text-green-600 mt-0.5 shrink-0"}),s.jsxs("div",{children:[s.jsx("h4",{className:"font-semibold text-green-900 mb-1",children:"Bericht succesvol verzonden!"}),s.jsx("p",{className:"text-sm text-green-700",children:"We nemen zo snel mogelijk contact met u op, meestal binnen 24 uur."})]})]})}),e.error&&s.jsx("div",{className:"p-5 bg-red-50 border-l-4 border-l-red-500 rounded-lg animate-slide-in",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(sb,{className:"w-5 h-5 text-red-600 mt-0.5 shrink-0"}),s.jsxs("div",{children:[s.jsx("h4",{className:"font-semibold text-red-900 mb-1",children:"Er ging iets mis"}),s.jsx("p",{className:"text-sm text-red-700",children:e.error})]})]})})]})]})})})]})})]}),s.jsxs("section",{className:"py-24 bg-[#F5F5F5] relative overflow-hidden",children:[s.jsx("svg",{className:"absolute top-20 right-0 w-96 h-96 opacity-5",viewBox:"0 0 400 400",children:s.jsx("path",{d:"M400,0 Q300,100 350,200 T400,400",fill:"none",stroke:"#1565C0",strokeWidth:"80"})}),s.jsxs("div",{className:"container mx-auto px-6 lg:px-8 max-w-[1200px] relative z-10",children:[s.jsxs("div",{className:"text-center mb-16",children:[s.jsx("div",{className:"w-24 h-1 bg-[#E57373] mx-auto mb-6"}),s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-semibold text-[#1565C0] mb-4 tracking-tight",children:"Waarom DeltaFlowAI?"}),s.jsx("p",{className:"text-[#546E7A] text-[18px] max-w-2xl mx-auto",children:"Ontdek wat ons onderscheidt van andere AI-partners"})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[{emoji:"🇳🇱",title:"Nederlandse support",desc:"Altijd iemand die uw situatie begrijpt"},{emoji:"👥",title:"Persoonlijke aanpak",desc:"Geen callcenter, direct contact met experts"},{emoji:"⚡",title:"Snelle reactie",desc:"Persoonlijke service en snelle communicatie"},{emoji:"💡",title:"Vrijblijvend advies",desc:"Eerlijk advies, ook als we niet de juiste partner zijn"}].map((f,x)=>s.jsx(xt,{className:"border-0 shadow-[0px_10px_30px_rgba(38,50,56,0.08)] hover:shadow-[0px_15px_40px_rgba(38,50,56,0.12)] transition-all duration-300 hover:scale-[1.02] hover:-translate-y-1 text-center bg-white rounded-2xl group",children:s.jsxs(wn,{className:"pt-10 pb-8 px-6",children:[s.jsx("div",{className:"text-5xl mb-5 filter drop-shadow-sm transform group-hover:scale-110 transition-transform duration-300",children:f.emoji}),s.jsx("div",{className:"w-12 h-0.5 bg-[#E57373] mx-auto mb-4 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),s.jsx("h3",{className:"font-semibold text-[#1565C0] text-[20px] mb-3",children:f.title}),s.jsx("p",{className:"text-[#546E7A] text-[16px] leading-relaxed",children:f.desc})]})},x))})]})]}),s.jsxs("section",{className:"py-24 bg-[#1565C0] relative overflow-hidden",children:[s.jsx("div",{className:"absolute inset-0 opacity-5",children:s.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 2px 2px, white 1px, transparent 0)",backgroundSize:"40px 40px"}})}),s.jsxs("svg",{className:"absolute top-0 left-0 w-full h-full opacity-10",preserveAspectRatio:"none",viewBox:"0 0 1200 400",children:[s.jsx("path",{d:"M0,200 Q300,100 600,200 T1200,200",stroke:"white",strokeWidth:"2",fill:"none"}),s.jsx("path",{d:"M0,250 Q400,150 800,250 T1200,250",stroke:"white",strokeWidth:"2",fill:"none"})]}),s.jsx("div",{className:"container mx-auto px-6 lg:px-8 max-w-[1200px] relative z-10 text-center",children:s.jsxs("div",{className:"max-w-2xl mx-auto",children:[s.jsx("div",{className:"w-24 h-1 bg-[#E57373] mx-auto mb-6"}),s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold mb-4 text-white tracking-tight",children:"Blijf Op de Hoogte"}),s.jsx("p",{className:"text-white/95 mb-10 text-[18px] leading-relaxed",children:"Ontvang praktische tips en inspiratie over AI-automatisering voor bedrijven."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mb-12",children:[s.jsx(nr,{placeholder:"Uw e-mailadres",type:"email",className:"h-14 bg-white/10 border-white/20 text-white placeholder:text-blue-200 focus:bg-white/20 focus:border-white/40 backdrop-blur-sm rounded-lg"}),s.jsx(Se,{className:"h-14 px-8 text-[16px] font-semibold shrink-0 bg-[#E57373] hover:bg-[#FF8A65] text-white rounded-lg transition-all duration-300 hover:-translate-y-0.5 shadow-[0px_8px_20px_rgba(229,115,115,0.25)]",children:"Aanmelden"})]}),s.jsxs("div",{className:"inline-flex flex-col sm:flex-row items-center justify-center gap-6 sm:gap-8 py-6 px-8 sm:px-10 bg-white/5 rounded-2xl backdrop-blur-sm border border-white/10",children:[s.jsx("span",{className:"text-blue-200 text-sm font-medium uppercase tracking-wider",children:"Volg ons"}),s.jsxs("div",{className:"flex gap-6",children:[s.jsxs("a",{href:"https://linkedin.com/company/deltaflowai",target:"_blank",rel:"noopener noreferrer",className:"text-white hover:text-[#E57373] transition-all duration-300 flex items-center gap-2 font-medium group",children:[s.jsx(lb,{className:"w-5 h-5 group-hover:scale-110 transition-transform"}),s.jsx("span",{className:"hidden sm:inline",children:"LinkedIn"})]}),s.jsxs("a",{href:"https://instagram.com/deltaflowai",target:"_blank",rel:"noopener noreferrer",className:"text-white hover:text-[#E57373] transition-all duration-300 flex items-center gap-2 font-medium group",children:[s.jsx(ob,{className:"w-5 h-5 group-hover:scale-110 transition-transform"}),s.jsx("span",{className:"hidden sm:inline",children:"Instagram"})]})]})]})]})})]})]}),s.jsx(Kt,{}),s.jsx("style",{children:`
@keyframes draw-line {
to {
stroke-dashoffset: 0;
}
}
.animate-draw-line {
stroke-dasharray: 2000;
stroke-dashoffset: 2000;
animation: draw-line 2s ease-in-out forwards;
}
@keyframes slide-in-left {
from {
transform: translateX(-100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.animate-slide-in-left {
animation: slide-in-left 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes slide-in {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.animate-slide-in {
animation: slide-in 0.5s ease-out forwards;
}
/* Ensure Plus Jakarta Sans is loaded */
body {
font-family: 'Plus Jakarta Sans', sans-serif;
}
.font-jakarta {
font-family: 'Plus Jakarta Sans', sans-serif;
}
/* Smooth scroll behavior */
html {
scroll-behavior: smooth;
}
/* Custom focus styles */
*:focus-visible {
outline: 2px solid #E57373;
outline-offset: 2px;
}
`})]})};var Wf="Collapsible",[JT,c1]=Zo(Wf),[eP,Hf]=JT(Wf),u1=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...l}=e,[c=!1,u]=Ko({prop:r,defaultProp:i,onChange:o});return s.jsx(eP,{scope:n,disabled:a,contentId:jb(),open:c,onOpenToggle:b.useCallback(()=>u(d=>!d),[u]),children:s.jsx(Xe.div,{"data-state":Zf(c),"data-disabled":a?"":void 0,...l,ref:t})})});u1.displayName=Wf;var d1="CollapsibleTrigger",h1=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=Hf(d1,n);return s.jsx(Xe.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":Zf(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:qe(e.onClick,i.onOpenToggle)})});h1.displayName=d1;var qf="CollapsibleContent",p1=b.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=Hf(qf,e.__scopeCollapsible);return s.jsx(Go,{present:n||i.open,children:({present:a})=>s.jsx(tP,{...r,ref:t,present:a})})});p1.displayName=qf;var tP=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...a}=e,o=Hf(qf,n),[l,c]=b.useState(r),u=b.useRef(null),d=Zt(t,u),h=b.useRef(0),p=h.current,f=b.useRef(0),x=f.current,v=o.open||l,w=b.useRef(v),m=b.useRef();return b.useEffect(()=>{const g=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(g)},[]),Tr(()=>{const g=u.current;if(g){m.current=m.current||{transitionDuration:g.style.transitionDuration,animationName:g.style.animationName},g.style.transitionDuration="0s",g.style.animationName="none";const y=g.getBoundingClientRect();h.current=y.height,f.current=y.width,w.current||(g.style.transitionDuration=m.current.transitionDuration,g.style.animationName=m.current.animationName),c(r)}},[o.open,r]),s.jsx(Xe.div,{"data-state":Zf(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!v,...a,ref:d,style:{"--radix-collapsible-content-height":p?`${p}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:v&&i})});function Zf(e){return e?"open":"closed"}var nP=u1,rP=h1,iP=p1,sP=b.createContext(void 0);function aP(e){const t=b.useContext(sP);return e||t||"ltr"}var Rr="Accordion",oP=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Gf,lP,cP]=_y(Rr),[Cu,Ez]=Zo(Rr,[cP,c1]),Kf=c1(),f1=R.forwardRef((e,t)=>{const{type:n,...r}=e,i=r,a=r;return s.jsx(Gf.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?s.jsx(pP,{...a,ref:t}):s.jsx(hP,{...i,ref:t})})});f1.displayName=Rr;var[m1,uP]=Cu(Rr),[g1,dP]=Cu(Rr,{collapsible:!1}),hP=R.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:a=!1,...o}=e,[l,c]=Ko({prop:n,defaultProp:r,onChange:i});return s.jsx(m1,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:c,onItemClose:R.useCallback(()=>a&&c(""),[a,c]),children:s.jsx(g1,{scope:e.__scopeAccordion,collapsible:a,children:s.jsx(x1,{...o,ref:t})})})}),pP=R.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},...a}=e,[o=[],l]=Ko({prop:n,defaultProp:r,onChange:i}),c=R.useCallback(d=>l((h=[])=>[...h,d]),[l]),u=R.useCallback(d=>l((h=[])=>h.filter(p=>p!==d)),[l]);return s.jsx(m1,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:u,children:s.jsx(g1,{scope:e.__scopeAccordion,collapsible:!0,children:s.jsx(x1,{...a,ref:t})})})}),[fP,Su]=Cu(Rr),x1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:i,orientation:a="vertical",...o}=e,l=R.useRef(null),c=Zt(l,t),u=lP(n),h=aP(i)==="ltr",p=qe(e.onKeyDown,f=>{var I;if(!oP.includes(f.key))return;const x=f.target,v=u().filter(B=>{var D;return!((D=B.ref.current)!=null&&D.disabled)}),w=v.findIndex(B=>B.ref.current===x),m=v.length;if(w===-1)return;f.preventDefault();let g=w;const y=0,k=m-1,C=()=>{g=w+1,g>k&&(g=y)},E=()=>{g=w-1,g<y&&(g=k)};switch(f.key){case"Home":g=y;break;case"End":g=k;break;case"ArrowRight":a==="horizontal"&&(h?C():E());break;case"ArrowDown":a==="vertical"&&C();break;case"ArrowLeft":a==="horizontal"&&(h?E():C());break;case"ArrowUp":a==="vertical"&&E();break}const _=g%m;(I=v[_].ref.current)==null||I.focus()});return s.jsx(fP,{scope:n,disabled:r,direction:i,orientation:a,children:s.jsx(Gf.Slot,{scope:n,children:s.jsx(Xe.div,{...o,"data-orientation":a,ref:c,onKeyDown:r?void 0:p})})})}),Rc="AccordionItem",[mP,Qf]=Cu(Rc),v1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...i}=e,a=Su(Rc,n),o=uP(Rc,n),l=Kf(n),c=jb(),u=r&&o.value.includes(r)||!1,d=a.disabled||e.disabled;return s.jsx(mP,{scope:n,open:u,disabled:d,triggerId:c,children:s.jsx(nP,{"data-orientation":a.orientation,"data-state":N1(u),...l,...i,ref:t,disabled:d,open:u,onOpenChange:h=>{h?o.onItemOpen(r):o.onItemClose(r)}})})});v1.displayName=Rc;var y1="AccordionHeader",b1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=Su(Rr,n),a=Qf(y1,n);return s.jsx(Xe.h3,{"data-orientation":i.orientation,"data-state":N1(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:t})});b1.displayName=y1;var sp="AccordionTrigger",w1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=Su(Rr,n),a=Qf(sp,n),o=dP(sp,n),l=Kf(n);return s.jsx(Gf.ItemSlot,{scope:n,children:s.jsx(rP,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...l,...r,ref:t})})});w1.displayName=sp;var j1="AccordionContent",k1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=Su(Rr,n),a=Qf(j1,n),o=Kf(n);return s.jsx(iP,{role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});k1.displayName=j1;function N1(e){return e?"open":"closed"}var gP=f1,xP=v1,vP=b1,E1=w1,C1=k1;const yP=gP,S1=b.forwardRef(({className:e,...t},n)=>s.jsx(xP,{ref:n,className:Pe("border-b",e),...t}));S1.displayName="AccordionItem";const A1=b.forwardRef(({className:e,children:t,...n},r)=>s.jsx(vP,{className:"flex",children:s.jsxs(E1,{ref:r,className:Pe("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,s.jsx(TN,{className:"h-4 w-4 shrink-0 transition-transform duration-200","aria-hidden":"true"})]})}));A1.displayName=E1.displayName;const _1=b.forwardRef(({className:e,children:t,...n},r)=>s.jsx(C1,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:s.jsx("div",{className:Pe("pb-4 pt-0",e),children:t})}));_1.displayName=C1.displayName;const bP=()=>{const[e,t]=b.useState(new Set),n=b.useRef([]),r=[{title:"Algemene Vragen",icon:PN,accentColor:"bg-[#1565C0]",questions:[{question:"Wat is AI-automatisering precies?",answer:"AI-automatisering gebruikt slimme software om repetitieve taken over te nemen. Denk aan het lezen van facturen, beantwoorden van e-mails of maken van planningen. De AI leert van uw werkwijze en past zich aan."},{question:"Voor welke bedrijven is dit geschikt?",answer:"Alle bedrijven en branches kunnen gebruikmaken van AI. Of u nu in de dienstverlening, retail, productie of logistiek zit - als u repetitieve processen heeft, kunnen wij helpen."},{question:"Moet ik technisch onderlegd zijn?",answer:"Nee, absoluut niet. Onze oplossingen zijn gebruiksvriendelijk en we trainen uw team. U hoeft alleen te weten wat u wilt bereiken, wij regelen de techniek."},{question:"Voor welke sectoren en bedrijfsgroottes is AI-automatisering geschikt?",answer:"AI-automatisering is geschikt voor vrijwel elke sector, van juridische dienstverlening en zorg tot marketing en logistiek. We werken met bedrijven van 5 tot 250 medewerkers. De belangrijkste factor is niet de sector of grootte, maar of er repetitieve processen zijn die tijd kosten en verbeterd kunnen worden. Tijdens het intakegesprek beoordelen we samen of AI-automatisering waarde toevoegt voor uw specifieke situatie."},{question:"Moet ik technische kennis hebben om met AI-automatisering te werken?",answer:"Absoluut niet. Wij bouwen oplossingen die intuïtief werken en aansluiten bij hoe uw team al werkt. Na implementatie verzorgen we een training zodat iedereen de tools begrijpt en zelfstandig kan gebruiken. De oplossingen zijn ontworpen voor eindgebruikers, niet voor technici. Als er iets onduidelijk is, staan we altijd klaar om te helpen."},{question:"Werken jullie ook samen met mijn bestaande IT-leverancier?",answer:"Ja, graag zelfs. We werken regelmatig samen met bestaande IT-partners, softwareleveranciers en webdevelopers. Onze oplossingen zijn ontworpen om naadloos te integreren met bestaande systemen. We communiceren transparant met alle betrokken partijen om ervoor te zorgen dat de implementatie soepel verloopt en er geen conflicten ontstaan."}]},{title:"Kosten & Investering",icon:zN,accentColor:"bg-[#E57373]",questions:[{question:"Wat kost AI-automatisering?",answer:"Een proof of concept start vanaf €2.500. Maandelijkse kosten beginnen bij €500. De exacte investering hangt af van de complexiteit. Belangrijk: de meeste klanten verdienen hun investering binnen 3-6 maanden terug."},{question:"Zijn er verborgen kosten?",answer:"Nee. We zijn transparant over alle kosten. Geen kleine lettertjes, geen verrassingen. U weet vooraf exact waar u aan toe bent."},{question:"Wat als het niet werkt?",answer:"Dan betaalt u niets. We hebben een geld-terug-garantie op onze proof of concept. Geen resultaat = geen kosten."},{question:"Bieden jullie betaling in termijnen aan?",answer:"Ja, voor projecten boven de €10.000 kunnen we een betalingsregeling afspreken. Veelvoorkomend is 40% bij start, 40% bij oplevering proof of concept, en 20% na go-live. Voor doorlopende diensten werken we met maandelijkse facturering. We denken graag mee om een betalingsstructuur te vinden die past bij uw cashflow."},{question:"Wat zijn de doorlopende kosten na implementatie?",answer:"Doorlopende kosten zijn afhankelijk van de oplossing. Voor eenvoudige automatiseringen zijn er vaak alleen API-kosten (meestal €50-200/maand). Voor complexere systemen kunnen hosting- en onderhoudskosten €200-500/maand bedragen. We geven vooraf een duidelijk overzicht van alle toekomstige kosten, zodat er geen verrassingen zijn. Optioneel kunt u kiezen voor een onderhoudscontract voor continue optimalisatie en support."},{question:"Krijg ik korting bij meerdere projecten?",answer:"Bij klanten die meerdere automatiseringsprojecten laten ontwikkelen, bieden we volumekorting en voordeeltarieven aan. Ook kunnen we een partnerschapmodel bespreken waarbij we uw 'AI-afdeling op afroep' worden met een vast maandtarief. Neem contact op om de mogelijkheden te bespreken."}]},{title:"Implementatie & Tijd",icon:hu,accentColor:"bg-[#2196F3]",questions:[{question:"Hoe lang duurt implementatie?",answer:"Van start tot werkende oplossing: 4 weken. Dat is inclusief analyse, ontwikkeling, testen en training. Complexere projecten kunnen langer duren, maar u ziet altijd binnen 4 weken eerste resultaten."},{question:"Moet ik mijn huidige systemen vervangen?",answer:"Nee. Onze AI-oplossingen werken samen met uw bestaande software. Geen gedoe met migraties of nieuwe systemen leren."},{question:"Hoeveel tijd kost het mijn team?",answer:"In de eerste weken ongeveer 2-4 uur voor uitleg en feedback. Daarna bespaart het juist tijd - gemiddeld 40-70% op geautomatiseerde taken."},{question:"Hoe ziet de training van mijn team eruit?",answer:"Na implementatie plannen we een trainingssessie (1-2 uur) waarin we uw team meenemen in de werking van de automatisering. We maken handleidingen en instructievideo's die ze altijd kunnen raadplegen. De eerste weken zijn we extra beschikbaar voor vragen. De meeste teams zijn binnen een week volledig vertrouwd met het nieuwe systeem."},{question:"Wordt mijn bedrijfsproces verstoord tijdens implementatie?",answer:"Minimaal tot niet. We werken incrementeel en testen alles uitgebreid voordat we live gaan. Vaak draaien we een proof of concept parallel aan uw bestaande proces, zodat u kunt zien hoe het werkt zonder risico. Pas als u tevreden bent en uw team klaar is, schakelen we over. We plannen de go-live vaak in rustige periodes of buiten kantooruren."},{question:"Kan de oplossing meegroeien als mijn bedrijf groeit?",answer:"Absoluut. Schaalbaarheid staat voorop in ons ontwerp. We bouwen architecturen die kunnen groeien van 10 tot 10.000 transacties per dag zonder performance-verlies. Als uw bedrijf groeit of nieuwe processen erbij komen, kunnen we de oplossing uitbreiden. We denken na over de toekomst en bouwen niet voor alleen vandaag."}]},{title:"Veiligheid & Privacy",icon:pf,accentColor:"bg-[#FF8A65]",questions:[{question:"Wat gebeurt er met onze data?",answer:"Uw data blijft van u. We gebruiken eigen AI-systemen en slaan niets op in de cloud zonder uw toestemming. 100% AVG-compliant."},{question:"Is het veilig?",answer:"Ja. We werken volgens de hoogste security-standaarden. Uw data is beter beschermd dan bij de meeste bedrijven. Alle verbindingen zijn versleuteld."},{question:"Kan ik de AI controleren?",answer:"Absoluut. U houdt altijd de controle. De AI doet voorstellen, u beslist. Alle acties zijn traceerbaar en u kunt altijd ingrijpen."},{question:"Welke certificeringen en compliance standaarden hanteren jullie?",answer:"We werken volgens AVG/GDPR-richtlijnen en bouwen oplossingen die volledig EU-compliant zijn. Onze cloud-infrastructuur draait op ISO 27001 gecertificeerde datacenters binnen Europa. Voor specifieke sectoren (zoals zorg of financiën) kunnen we aanvullende compliance-eisen implementeren zoals NEN 7510 of PCI DSS. We documenteren alle beveiligingsmaatregelen in een security assessment rapport."},{question:"Wat gebeurt er met mijn data als ik stop met de dienst?",answer:"U behoudt altijd volledige eigendom van uw data. Bij beëindiging leveren we alle data in een gangbaar exportformaat (zoals CSV, JSON of SQL dump). We verwijderen alle data definitief uit onze systemen binnen 30 dagen na beëindiging, conform AVG-wetgeving. Dit staat ook gegarandeerd in onze contracten. U wordt nooit 'gegijzeld' door technologie."},{question:"Hoe vaak worden er backups gemaakt?",answer:"Dagelijks maken we automatische backups van alle data. Deze worden versleuteld opgeslagen op geografisch gescheiden locaties binnen de EU. We bewaren backups voor minimaal 30 dagen. Bij kritische systemen kunnen we realtime replicatie instellen voor 99.9% uptime. Elke 6 maanden testen we de backup restore procedure om er zeker van te zijn dat alles werkt wanneer het nodig is."}]}];b.useEffect(()=>{const a=new IntersectionObserver(o=>{o.forEach(l=>{if(l.isIntersecting){const c=n.current.indexOf(l.target);c!==-1&&t(u=>new Set(u).add(c))}})},{threshold:.1,rootMargin:"0px 0px -100px 0px"});return n.current.forEach(o=>{o&&a.observe(o)}),()=>a.disconnect()},[]);const i=()=>({"@context":"https://schema.org","@type":"FAQPage",mainEntity:r.flatMap(a=>a.questions.map(o=>({"@type":"Question",name:o.question,acceptedAnswer:{"@type":"Answer",text:o.answer}})))});return s.jsxs("div",{className:"min-h-screen font-['Plus_Jakarta_Sans'] bg-[#FAFAFA] selection:bg-[#E57373]/30",children:[s.jsxs(pr,{children:[s.jsx("title",{children:"Veelgestelde Vragen over AI-automatisering | DeltaFlow AI"}),s.jsx("meta",{name:"description",content:"Vind antwoorden op vragen over kosten, implementatie, veiligheid en privacy van AI-automatisering voor bedrijven. Transparante informatie over ROI, doorlooptijd en compliance."}),s.jsx("meta",{property:"og:title",content:"Veelgestelde Vragen over AI-automatisering | DeltaFlow AI"}),s.jsx("meta",{property:"og:description",content:"Antwoorden op al uw vragen over kosten, implementatie en veiligheid van AI-automatisering voor bedrijven."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("link",{rel:"canonical",href:"https://deltaflowai.nl/faq"}),s.jsx("script",{type:"application/ld+json",children:JSON.stringify(i())})]}),s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsxs("section",{className:"relative py-24 lg:py-32 overflow-hidden bg-[#1565C0]",children:[s.jsx("div",{className:"absolute top-0 right-0 w-[600px] h-[600px] opacity-10 pointer-events-none",children:s.jsx("svg",{viewBox:"0 0 600 600",className:"w-full h-full",children:s.jsx("path",{d:"M300,50 Q450,100 500,250 T400,450 Q250,500 150,400 T300,50",fill:"#2196F3"})})}),s.jsx("div",{className:"absolute bottom-0 left-0 w-full h-[100px] opacity-20 pointer-events-none",children:s.jsx("svg",{viewBox:"0 0 1200 100",className:"w-full h-full",preserveAspectRatio:"none",children:s.jsx("path",{d:"M0,50 Q300,10 600,50 T1200,50",stroke:"#FFFFFF",strokeWidth:"3",fill:"none",className:"animate-[draw_2s_ease-in-out]"})})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsx("div",{className:"max-w-[1200px] mx-auto",children:s.jsxs("div",{className:"lg:ml-[8.33%]",children:[s.jsx("div",{className:"w-[120px] h-[4px] bg-[#E57373] mb-8 animate-[slideRight_0.6s_ease-out]"}),s.jsxs("h1",{className:"text-[40px] lg:text-[56px] font-bold mb-6 text-white tracking-[-1.5px] leading-tight max-w-[66.67%]",children:["Veelgestelde ",s.jsx("span",{className:"text-[#FF8A65]",children:"Vragen"})]}),s.jsx("p",{className:"text-[18px] lg:text-[20px] text-white/95 max-w-[58.33%] font-normal leading-relaxed",children:"Vind antwoorden op de meest gestelde vragen over AI-automatisering voor uw bedrijf."})]})})})]}),s.jsx("div",{className:"relative",children:r.map((a,o)=>{const l=o%2===0?"bg-[#FAFAFA]":"bg-[#F5F5DC]",c=e.has(o);return s.jsxs("section",{ref:u=>n.current[o]=u,className:`${l} py-16 lg:py-24 relative`,children:[s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-[1200px]",children:[s.jsxs("div",{className:`mb-12 transition-all duration-800 ${c?"opacity-100 translate-y-0":"opacity-0 translate-y-6"}`,style:{transitionDelay:"0ms"},children:[s.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[s.jsx("div",{className:`p-3 ${a.accentColor} rounded-lg`,children:s.jsx(a.icon,{className:"w-7 h-7 text-white"})}),s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-semibold text-[#1565C0] tracking-[-1px]",children:a.title})]}),s.jsx("div",{className:"w-[100px] h-[2px] bg-[#E57373] ml-16"})]}),s.jsx(yP,{type:"single",collapsible:!0,className:"w-full space-y-4",children:a.questions.map((u,d)=>{const h=`section-${o}-question-${d}`,p=(d+1)*100;return s.jsx(S1,{value:h,className:`border-none bg-white rounded-2xl overflow-hidden shadow-[0px_10px_30px_rgba(38,50,56,0.08)] hover:shadow-[0px_15px_40px_rgba(38,50,56,0.12)] hover:scale-[1.02] transition-all duration-300 ${c?"opacity-100 translate-y-0":"opacity-0 translate-y-6"}`,style:{transitionDelay:`${p}ms`},children:s.jsxs("div",{className:"flex",children:[s.jsx("div",{className:"w-[4px] bg-[#E57373] flex-shrink-0"}),s.jsxs("div",{className:"flex-1",children:[s.jsx(A1,{className:"text-left font-semibold text-[18px] lg:text-[20px] text-[#263238] hover:text-[#1565C0] hover:no-underline px-6 lg:px-8 py-5 lg:py-6 transition-colors duration-200",children:u.question}),s.jsx(_1,{className:"text-[#546E7A] text-[16px] lg:text-[18px] leading-relaxed px-6 lg:px-8 pb-5 lg:pb-6",children:u.answer})]})]})},h)})})]}),o<r.length-1&&s.jsx("div",{className:"absolute bottom-0 left-1/2 transform -translate-x-1/2 w-[200px] h-[2px] bg-gradient-to-r from-transparent via-[#E57373] to-transparent opacity-50"})]},o)})}),s.jsxs("section",{className:"py-24 lg:py-32 bg-[#1565C0] text-white relative overflow-hidden",children:[s.jsx("div",{className:"absolute bottom-0 left-0 w-[500px] h-[500px] opacity-5 pointer-events-none",children:s.jsx("svg",{viewBox:"0 0 500 500",className:"w-full h-full",children:s.jsx("circle",{cx:"0",cy:"500",r:"400",fill:"#FF8A65"})})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsxs("div",{className:"max-w-[800px] mx-auto text-center",children:[s.jsx("div",{className:"w-[100px] h-[3px] bg-[#E57373] mx-auto mb-8"}),s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-semibold mb-6 tracking-[-1px]",children:"Nog Vragen?"}),s.jsx("p",{className:"text-white/95 text-[18px] lg:text-[20px] mb-10 leading-relaxed",children:"Staat uw vraag er niet bij? Geen probleem. Neem contact op en we geven u graag persoonlijk antwoord."}),s.jsx(Se,{size:"lg",asChild:!0,className:"h-14 px-8 text-[16px] font-semibold bg-[#E57373] hover:bg-[#FF8A65] text-white rounded-lg shadow-[0px_8px_20px_rgba(229,115,115,0.25)] hover:shadow-[0px_12px_30px_rgba(229,115,115,0.35)] transition-all duration-300 hover:-translate-y-0.5",children:s.jsxs(ge,{to:"/contact",className:"flex items-center gap-2",children:["Stel uw vraag",s.jsx(ht,{className:"w-5 h-5"})]})})]})})]})]}),s.jsx(Kt,{}),s.jsx("style",{children:`
@keyframes draw {
from {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
}
to {
stroke-dasharray: 1000;
stroke-dashoffset: 0;
}
}
@keyframes slideRight {
from {
width: 0;
opacity: 0;
}
to {
width: 120px;
opacity: 1;
}
}
/* Smooth scroll behavior */
html {
scroll-behavior: smooth;
}
/* Disable animations on mobile for performance */
@media (max-width: 768px) {
* {
animation-duration: 0s !important;
transition-duration: 0.2s !important;
}
}
/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
`})]})},wP=()=>s.jsxs("div",{className:"min-h-screen font-['Plus_Jakarta_Sans'] bg-[#FAFAFA] selection:bg-[#E57373]/30",children:[s.jsxs(pr,{children:[s.jsx("title",{children:"Privacyverklaring | DeltaFlow AI"}),s.jsx("meta",{name:"description",content:"Privacyverklaring van DeltaFlow AI B.V. Lees hoe wij omgaan met uw persoonsgegevens, welke rechten u heeft en hoe wij uw privacy beschermen conform de AVG."}),s.jsx("meta",{property:"og:title",content:"Privacyverklaring | DeltaFlow AI"}),s.jsx("meta",{property:"og:description",content:"Privacyverklaring van DeltaFlow AI B.V. conform AVG/GDPR wetgeving."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("link",{rel:"canonical",href:"https://deltaflowai.nl/privacyverklaring"})]}),s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsxs("section",{className:"relative py-24 lg:py-32 overflow-hidden bg-[#1565C0]",children:[s.jsx("div",{className:"absolute bottom-0 left-0 w-full h-[100px] opacity-20 pointer-events-none",children:s.jsx("svg",{viewBox:"0 0 1200 100",className:"w-full h-full",preserveAspectRatio:"none",children:s.jsx("path",{d:"M0,50 Q300,10 600,50 T1200,50",stroke:"#FFFFFF",strokeWidth:"3",fill:"none"})})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsx("div",{className:"max-w-[1200px] mx-auto",children:s.jsxs("div",{className:"lg:ml-[8.33%]",children:[s.jsx("div",{className:"w-[120px] h-[4px] bg-[#E57373] mb-8"}),s.jsxs("h1",{className:"text-[40px] lg:text-[56px] font-bold mb-6 text-white tracking-[-1.5px] leading-tight max-w-[66.67%]",children:["Privacy",s.jsx("span",{className:"text-[#FF8A65]",children:"verklaring"})]}),s.jsx("p",{className:"text-[18px] lg:text-[20px] text-white/95 max-w-[58.33%] font-normal leading-relaxed mb-4",children:"Transparant over hoe wij omgaan met uw persoonsgegevens."}),s.jsx("p",{className:"text-[16px] text-white/80 max-w-[58.33%]",children:"Laatst bijgewerkt: 23 januari 2026"})]})})})]}),s.jsx("section",{className:"py-16 lg:py-24",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-[800px]",children:[s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"1. Introductie"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:'DeltaFlow AI B.V. (hierna: "DeltaFlow AI", "wij", "ons" of "onze") hecht veel waarde aan de bescherming van uw persoonsgegevens. In deze privacyverklaring leggen wij uit welke persoonsgegevens wij verzamelen, waarom wij deze verzamelen, hoe wij deze gebruiken en welke rechten u heeft.'}),s.jsx("p",{children:"Deze privacyverklaring is van toepassing op de verwerking van persoonsgegevens via onze website en diensten."})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"2. Wie zijn wij?"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{className:"font-semibold text-[#263238]",children:"DeltaFlow AI B.V."}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"KvK-nummer:"})," 98385984"]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Adres:"})," Roggenplaat 10, 4301 WX, Zierikzee"]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"E-mail:"})," business@deltaflowai.nl"]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Telefoon:"})," +31 (0)6-18435899"]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"3. Welke persoonsgegevens verzamelen wij?"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Wij verzamelen persoonsgegevens wanneer u:"}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"3.1 Een AI scan aanvraagt"}),s.jsx("p",{className:"mb-3",children:"Wanneer u via ons formulier een AI scan aanvraagt, verzamelen wij de volgende gegevens:"}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Uw voor- en achternaam"}),s.jsx("li",{children:"- E-mailadres"}),s.jsx("li",{children:"- Telefoonnummer (optioneel)"}),s.jsx("li",{children:"- Bedrijfsnaam"}),s.jsx("li",{children:"- Aantal medewerkers (schatting)"}),s.jsx("li",{children:"- Informatie over tijdrovende werkzaamheden binnen uw organisatie"})]})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"3.2 Contact met ons opneemt"}),s.jsx("p",{className:"mb-3",children:"Wanneer u via ons contactformulier met ons in contact treedt, verzamelen wij:"}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Uw voor- en achternaam"}),s.jsx("li",{children:"- E-mailadres"}),s.jsx("li",{children:"- Telefoonnummer (optioneel)"}),s.jsx("li",{children:"- Bedrijfsnaam"}),s.jsx("li",{children:"- Uw vraag of opmerking"})]})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"4. Waarvoor gebruiken wij uw gegevens?"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Wij verwerken uw persoonsgegevens voor de volgende doeleinden:"}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"4.1 AI scan rapport"}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Het genereren van een gepersonaliseerd rapport met automatiseringstips en aanbevelingen"}),s.jsx("li",{children:"- Het analyseren van uw bedrijfsprocessen met behulp van kunstmatige intelligentie"}),s.jsx("li",{children:"- Het identificeren van automatiseringsmogelijkheden binnen uw organisatie"})]})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"4.2 Communicatie"}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Om contact met u op te nemen naar aanleiding van uw aanvraag"}),s.jsx("li",{children:"- Om u het gegenereerde rapport toe te sturen"}),s.jsx("li",{children:"- Om uw vragen te beantwoorden"}),s.jsx("li",{children:"- Om u te informeren over onze diensten (alleen indien u hiervoor toestemming heeft gegeven)"})]})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"5. Op welke grondslag verwerken wij uw gegevens?"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Wij verwerken uw persoonsgegevens op basis van:"}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Uitvoering van een overeenkomst:"})," Wanneer u een AI scan aanvraagt, verwerken wij uw gegevens om deze dienst te kunnen leveren"]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Gerechtvaardigd belang:"})," Om contact met u op te nemen naar aanleiding van uw vraag of aanvraag"]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Toestemming:"})," Voor het versturen van marketingcommunicatie (alleen indien u hiervoor expliciet toestemming heeft gegeven)"]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"6. Hoe lang bewaren wij uw gegevens?"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Wij bewaren uw persoonsgegevens niet langer dan noodzakelijk voor de doeleinden waarvoor deze zijn verzameld:"}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"AI scan aanvragen:"})," Wij bewaren de gegevens maximaal 2 jaar na uw laatste contact met ons, tenzij u eerder aangeeft deze te willen laten verwijderen"]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Contactformulier:"})," Wij bewaren de gegevens maximaal 1 jaar na uw laatste contact met ons"]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Marketing:"})," Indien u zich heeft aangemeld voor nieuwsbrieven of marketingcommunicatie, bewaren wij uw gegevens totdat u zich uitschrijft"]}),s.jsx("p",{children:"Na afloop van deze termijnen worden uw gegevens volledig verwijderd, tenzij wij op grond van een wettelijke bewaarplicht gehouden zijn deze langer te bewaren."})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"7. Verstrekking aan derden"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Wij verstrekken uw persoonsgegevens alleen aan derden indien dit noodzakelijk is voor de uitvoering van onze diensten of om te voldoen aan een wettelijke verplichting."}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"7.1 AI-verwerking"}),s.jsx("p",{children:"Voor het genereren van uw AI scan rapport maken wij gebruik van externe AI-diensten. Wij zorgen ervoor dat deze partijen passende technische en organisatorische maatregelen treffen om uw gegevens te beschermen en alleen verwerken conform onze instructies."})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"7.2 Hosting en IT-diensten"}),s.jsx("p",{children:"Wij maken gebruik van externe partijen voor hosting en IT-diensten. Deze partijen verwerken uw gegevens uitsluitend in onze opdracht en functioneren als verwerker in de zin van de AVG."})]}),s.jsx("p",{className:"font-medium text-[#263238]",children:"Wij verkopen uw gegevens nooit aan derden en verstrekken deze niet aan derden voor hun eigen marketingdoeleinden."})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"8. Doorgifte buiten de EU"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Sommige van onze dienstverleners kunnen servers gebruiken die zich buiten de Europese Economische Ruimte (EER) bevinden. Wij zorgen ervoor dat bij doorgiften buiten de EER passende waarborgen worden getroffen, zoals:"}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- EU-goedgekeurde standaardcontractbepalingen"}),s.jsx("li",{children:"- Adequaatheidsbesluit van de Europese Commissie"}),s.jsx("li",{children:"- Andere passende waarborgen conform de AVG"})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"9. Beveiliging van uw gegevens"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Wij nemen de bescherming van uw gegevens serieus en nemen passende technische en organisatorische maatregelen om uw persoonsgegevens te beschermen tegen verlies, misbruik, ongeautoriseerde toegang, openbaarmaking, wijziging of vernietiging."}),s.jsx("p",{className:"font-semibold text-[#263238]",children:"Deze maatregelen omvatten onder andere:"}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Versleuteling van gegevens tijdens verzending (SSL/TLS)"}),s.jsx("li",{children:"- Toegangsbeperking tot persoonsgegevens"}),s.jsx("li",{children:"- Regelmatige back-ups"}),s.jsx("li",{children:"- Beveiligde servers en systemen"}),s.jsx("li",{children:"- Bewustwordingstraining voor medewerkers"})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"10. Uw rechten"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"U heeft de volgende rechten met betrekking tot uw persoonsgegevens:"}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-2 text-[18px]",children:"10.1 Inzagerecht"}),s.jsx("p",{children:"U heeft het recht om te weten welke persoonsgegevens wij van u verwerken."})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-2 text-[18px]",children:"10.2 Recht op correctie"}),s.jsx("p",{children:"U heeft het recht om onjuiste of onvolledige persoonsgegevens te laten corrigeren."})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-2 text-[18px]",children:'10.3 Recht op verwijdering ("recht op vergetelheid")'}),s.jsx("p",{children:"U heeft het recht om uw persoonsgegevens te laten verwijderen, bijvoorbeeld wanneer de gegevens niet langer nodig zijn voor het doel waarvoor ze zijn verzameld."})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-2 text-[18px]",children:"10.4 Recht op beperking van de verwerking"}),s.jsx("p",{children:"U heeft het recht om de verwerking van uw persoonsgegevens te laten beperken."})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-2 text-[18px]",children:"10.5 Recht op gegevensoverdracht (dataportabiliteit)"}),s.jsx("p",{children:"U heeft het recht om de persoonsgegevens die u aan ons heeft verstrekt in een gestructureerde, gangbare en machineleesbare vorm te ontvangen en deze over te dragen aan een andere organisatie."})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-2 text-[18px]",children:"10.6 Recht van bezwaar"}),s.jsx("p",{children:"U heeft het recht om bezwaar te maken tegen de verwerking van uw persoonsgegevens."})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-2 text-[18px]",children:"10.7 Toestemming intrekken"}),s.jsx("p",{children:"Indien wij uw gegevens verwerken op basis van uw toestemming, heeft u te allen tijde het recht deze toestemming in te trekken."})]}),s.jsxs("div",{className:"mt-6 pt-6 border-t border-[#E0E0E0]",children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"Uitoefening van uw rechten"}),s.jsx("p",{children:"U kunt uw rechten uitoefenen door contact met ons op te nemen via business@deltaflowai.nl. Wij zullen binnen één maand op uw verzoek reageren. Indien nodig kunnen wij deze termijn met twee maanden verlengen, waarbij wij u hiervan op de hoogte stellen."})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"11. Klachten"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Indien u een klacht heeft over de verwerking van uw persoonsgegevens, verzoeken wij u om eerst contact met ons op te nemen. U heeft echter altijd het recht een klacht in te dienen bij de Autoriteit Persoonsgegevens:"}),s.jsx("p",{className:"font-semibold text-[#263238]",children:"Autoriteit Persoonsgegevens"}),s.jsx("p",{children:"Postbus 93374"}),s.jsx("p",{children:"2509 AJ Den Haag"}),s.jsx("p",{children:"Telefoon: 088 - 1805 250"}),s.jsxs("p",{children:["Website: ",s.jsx("a",{href:"https://www.autoriteitpersoonsgegevens.nl",target:"_blank",rel:"noopener noreferrer",className:"text-[#1565C0] hover:underline",children:"www.autoriteitpersoonsgegevens.nl"})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"12. Cookies en vergelijkbare technologieën"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Onze website maakt uitsluitend gebruik van functionele cookies die noodzakelijk zijn voor het correct functioneren van de website. Deze cookies verzamelen geen persoonlijke informatie en worden niet gebruikt voor tracking of analytics doeleinden."}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"12.1 Wat zijn functionele cookies?"}),s.jsx("p",{className:"mb-3",children:"Functionele cookies zijn technisch noodzakelijk voor het functioneren van onze website. Zonder deze cookies kan de website niet goed werken. Deze cookies:"}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Onthouden uw voorkeuren en instellingen"}),s.jsx("li",{children:"- Zorgen ervoor dat de website goed functioneert"}),s.jsx("li",{children:"- Maken het mogelijk om formulieren in te vullen"})]})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"12.2 Geen tracking of analytics"}),s.jsx("p",{className:"mb-3",children:"Wij gebruiken geen tracking cookies, analytics cookies of marketing cookies. Dit betekent dat:"}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Wij uw surfgedrag niet volgen"}),s.jsx("li",{children:"- Wij geen gebruikersprofielen opbouwen"}),s.jsx("li",{children:"- Wij geen gegevens verzamelen voor analyse of marketing doeleinden"}),s.jsx("li",{children:"- Wij geen cookies van derde partijen plaatsen voor advertenties"})]})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-[#263238] mb-3 text-[18px]",children:"12.3 Toestemming"}),s.jsx("p",{children:"Omdat wij alleen functionele cookies gebruiken die strikt noodzakelijk zijn voor het functioneren van de website, is volgens de Telecommunicatiewet geen toestemming vereist voor het plaatsen van deze cookies."})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"13. Links naar websites van derden"}),s.jsx("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:s.jsx("p",{children:"Onze website kan links bevatten naar websites van derden. Wij zijn niet verantwoordelijk voor de privacypraktijken van deze websites. Wij raden u aan de privacyverklaringen van deze websites te lezen."})})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"14. Wijzigingen in deze privacyverklaring"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Wij behouden ons het recht voor om wijzigingen aan te brengen in deze privacyverklaring. De meest recente versie is altijd te vinden op onze website. Wij raden u aan deze privacyverklaring regelmatig te raadplegen om op de hoogte te blijven van eventuele wijzigingen."}),s.jsx("p",{children:"Ingrijpende wijzigingen zullen wij vooraf kenbaar maken via onze website of per e-mail."})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"15. Contact"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsx("p",{children:"Heeft u vragen over deze privacyverklaring of over de manier waarop wij uw persoonsgegevens verwerken? Neem dan contact met ons op:"}),s.jsx("p",{className:"font-semibold text-[#263238]",children:"DeltaFlow AI B.V."}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"E-mail:"})," business@deltaflowai.nl"]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Telefoon:"})," +31 (0)6-18435899"]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Adres:"})," Roggenplaat 10, 4301 WX, Zierikzee"]})]})]}),s.jsx("div",{className:"mt-20 pt-12 border-t-2 border-[#E57373]",children:s.jsx("div",{className:"text-center text-[#546E7A]",children:s.jsx("p",{className:"text-[14px] italic",children:"Deze privacyverklaring is opgesteld in overeenstemming met de Algemene Verordening Gegevensbescherming (AVG)."})})})]})})]}),s.jsx(Kt,{}),s.jsx("style",{children:`
/* Smooth scroll */
html {
scroll-behavior: smooth;
}
/* Mobile performance */
@media (max-width: 768px) {
* {
transition-duration: 0.2s !important;
}
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}
`})]}),jP=()=>s.jsxs("div",{className:"min-h-screen font-['Plus_Jakarta_Sans'] bg-[#FAFAFA] selection:bg-[#E57373]/30",children:[s.jsxs(pr,{children:[s.jsx("title",{children:"Algemene Voorwaarden | DeltaFlow AI"}),s.jsx("meta",{name:"description",content:"Algemene voorwaarden van DeltaFlow AI B.V. voor AI consultancy, advies en procesautomatisering diensten."}),s.jsx("meta",{property:"og:title",content:"Algemene Voorwaarden | DeltaFlow AI"}),s.jsx("meta",{property:"og:description",content:"Algemene voorwaarden van DeltaFlow AI B.V."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("link",{rel:"canonical",href:"https://deltaflowai.nl/algemene-voorwaarden"})]}),s.jsx(Gt,{}),s.jsxs("main",{children:[s.jsxs("section",{className:"relative py-24 lg:py-32 overflow-hidden bg-[#1565C0]",children:[s.jsx("div",{className:"absolute bottom-0 left-0 w-full h-[100px] opacity-20 pointer-events-none",children:s.jsx("svg",{viewBox:"0 0 1200 100",className:"w-full h-full",preserveAspectRatio:"none",children:s.jsx("path",{d:"M0,50 Q300,10 600,50 T1200,50",stroke:"#FFFFFF",strokeWidth:"3",fill:"none"})})}),s.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:s.jsx("div",{className:"max-w-[1200px] mx-auto",children:s.jsxs("div",{className:"lg:ml-[8.33%]",children:[s.jsx("div",{className:"w-[120px] h-[4px] bg-[#E57373] mb-8"}),s.jsxs("h1",{className:"text-[40px] lg:text-[56px] font-bold mb-6 text-white tracking-[-1.5px] leading-tight max-w-[66.67%]",children:["Algemene ",s.jsx("span",{className:"text-[#FF8A65]",children:"Voorwaarden"})]}),s.jsx("p",{className:"text-[18px] lg:text-[20px] text-white/95 max-w-[58.33%] font-normal leading-relaxed mb-4",children:"DeltaFlow AI B.V."}),s.jsx("p",{className:"text-[16px] text-white/80 max-w-[58.33%]",children:"Versie 1.0 - Januari 2025"})]})})})]}),s.jsx("section",{className:"py-16 lg:py-24",children:s.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-[800px]",children:[s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 1. Definities"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-3",children:[s.jsx("p",{children:"In deze algemene voorwaarden wordt verstaan onder:"}),s.jsxs("ul",{className:"space-y-2 ml-0 list-none",children:[s.jsxs("li",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Leverancier:"})," DeltaFlow AI B.V., gevestigd te Zierikzee, ingeschreven bij de Kamer van Koophandel onder nummer 98385984;"]}),s.jsxs("li",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Klant:"})," de zakelijke partij die met leverancier een overeenkomst aangaat;"]}),s.jsxs("li",{children:[s.jsx("strong",{className:"text-[#263238]",children:"AI-oplossing:"})," door leverancier ontwikkelde en/of geïmplementeerde systemen, tools of diensten die gebruik maken van kunstmatige intelligentie;"]}),s.jsxs("li",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Procesautomatisering:"})," diensten gericht op het automatiseren van bedrijfsprocessen door middel van AI en aanverwante technologieën;"]}),s.jsxs("li",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Overeenkomst:"})," elke afspraak tussen leverancier en klant;"]}),s.jsxs("li",{children:[s.jsx("strong",{className:"text-[#263238]",children:"Partijen:"})," leverancier en klant gezamenlijk."]})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 2. Toepasselijkheid"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"2.1"})," Deze algemene voorwaarden zijn van toepassing op alle aanbiedingen, offertes en overeenkomsten tussen leverancier en klant waarbij leverancier diensten verleent op het gebied van AI consultancy, advies en procesautomatisering."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"2.2"})," Afwijkingen van deze algemene voorwaarden zijn slechts geldig indien deze uitdrukkelijk schriftelijk zijn overeengekomen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"2.3"})," Inkoop- of andere voorwaarden van klant zijn niet van toepassing en worden uitdrukkelijk van de hand gewezen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"2.4"})," Indien een of meerdere bepalingen in deze algemene voorwaarden nietig zijn of vernietigd worden, blijven de overige bepalingen onverminderd van kracht. Partijen zullen in overleg treden om nieuwe bepalingen ter vervanging van de nietige of vernietigde bepalingen overeen te komen."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 3. Aanbiedingen en Totstandkoming"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"3.1"})," Alle aanbiedingen en offertes van leverancier zijn vrijblijvend, tenzij uitdrukkelijk schriftelijk anders aangegeven."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"3.2"})," Een overeenkomst komt tot stand op het moment dat klant de offerte schriftelijk (waaronder per e-mail) accepteert, of wanneer partijen een schriftelijke overeenkomst ondertekenen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"3.3"})," Klant staat in voor de juistheid en volledigheid van de door of namens hem aan leverancier verstrekte informatie waarop leverancier zijn offerte heeft gebaseerd."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 4. Diensten"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"4.1"})," Leverancier verleent diensten op het gebied van:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- AI consultancy en strategisch advies;"}),s.jsx("li",{children:"- Ontwerp en ontwikkeling van AI-oplossingen;"}),s.jsx("li",{children:"- Procesautomatisering door middel van AI;"}),s.jsx("li",{children:"- Implementatie en integratie van AI-systemen;"}),s.jsx("li",{children:"- Optimalisatie van bestaande processen."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"4.2"})," Alle diensten worden uitgevoerd op basis van een inspanningsverbintenis, tenzij in de schriftelijke overeenkomst uitdrukkelijk een specifiek resultaat is toegezegd dat met voldoende bepaaldheid is omschreven. Dit betekent dat leverancier zich inspant om het beste resultaat te bereiken, maar geen garanties geeft over specifieke uitkomsten of resultaten, met name niet bij AI-systemen waarvan de output kan variëren."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"4.3"})," Leverancier bepaalt de wijze waarop en door welke personen de overeengekomen diensten worden uitgevoerd, tenzij uitdrukkelijk anders overeengekomen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"4.4"}),' Klant is verantwoordelijk voor het bepalen van het doel en de context waarvoor de AI-oplossing wordt ingezet. Klant is verantwoordelijk voor het beoordelen of de AI-oplossing voldoet aan de voor hem toepasselijke wet- en regelgeving, waaronder de EU AI Act. Indien de AI-oplossing door klant wordt ingezet voor doeleinden die onder de EU AI Act als "hoog risico" worden gekwalificeerd, ligt de verantwoordelijkheid voor naleving van de daaruit voortvloeiende verplichtingen volledig bij klant.']})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 5. Uitvoering van de Overeenkomst"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"5.1"})," Leverancier zal de overeengekomen diensten naar beste kunnen en met zorgvuldigheid uitvoeren."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"5.2"})," Leverancier heeft het recht werkzaamheden te laten verrichten door derden, tenzij uitdrukkelijk anders overeengekomen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"5.3"})," Klant draagt er zorg voor dat alle gegevens, informatie en medewerking die leverancier redelijkerwijs nodig heeft voor een goede uitvoering van de overeenkomst, tijdig beschikbaar zijn."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"5.4"})," Indien klant niet, niet tijdig of niet behoorlijk de benodigde informatie en medewerking verleent, heeft leverancier het recht de uitvoering van de overeenkomst op te schorten en/of de uit de vertraging voortvloeiende extra kosten aan klant in rekening te brengen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"5.5"})," Klant staat in voor de juistheid, volledigheid en betrouwbaarheid van de door of namens hem verstrekte data, informatie en specificaties."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 6. Termijnen"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"6.1"})," Door leverancier genoemde termijnen zijn indicatief en gelden niet als fatale termijnen, tenzij uitdrukkelijk schriftelijk anders overeengekomen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"6.2"})," Termijnen vangen aan nadat de overeenkomst tot stand is gekomen en klant alle benodigde informatie aan leverancier heeft verstrekt."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"6.3"})," Bij overschrijding van een termijn dient klant leverancier schriftelijk in gebreke te stellen, waarbij een redelijke termijn wordt geboden om alsnog te presteren."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"6.4"})," Leverancier is niet gebonden aan termijnen indien:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Klant zijn verplichtingen niet, niet tijdig of niet volledig nakomt;"}),s.jsx("li",{children:"- Zich wijzigingen in de opdracht voordoen (meerwerk);"}),s.jsx("li",{children:"- Zich omstandigheden voordoen die buiten de macht van leverancier liggen."})]})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 7. Wijzigingen en Meerwerk"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"7.1"})," Indien tijdens de uitvoering blijkt dat voor een behoorlijke uitvoering het noodzakelijk is om de overeengekomen werkzaamheden te wijzigen of aan te vullen, zullen partijen in overleg de overeenkomst dienovereenkomstig aanpassen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"7.2"})," Meerwerk wordt gefactureerd op basis van de overeengekomen tarieven, of bij gebreke daarvan op basis van de gebruikelijke tarieven van leverancier."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"7.3"})," Klant begrijpt dat wijzigingen en meerwerk kunnen leiden tot aanpassing van overeengekomen termijnen."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 8. Prijzen en Betaling"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"8.1"})," Alle prijzen zijn in euro's, exclusief btw en exclusief eventuele andere heffingen van overheidswege."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"8.2"})," Tenzij anders overeengekomen, worden bedragen gefactureerd:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Bij projecten onder €5.000: 50% vooruitbetaling bij opdracht, 50% na oplevering;"}),s.jsx("li",{children:"- Bij projecten tussen €5.000 en €25.000: 50% vooruitbetaling, 25% halverwege, 25% na oplevering;"}),s.jsx("li",{children:"- Bij projecten boven €25.000: in onderling overeen te komen termijnen, met minimaal 30% vooruitbetaling;"}),s.jsx("li",{children:"- Bij SaaS-licenties en abonnementen: per maand of jaar voorafgaand aan de periode;"}),s.jsx("li",{children:"- Bij doorlopende dienstverlening: maandelijks vooraf."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"8.3"})," Betaling dient te geschieden binnen de op de factuur vermelde betalingstermijn (standaard 30 dagen), tenzij anders overeengekomen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"8.4"})," Bij niet-tijdige betaling is klant, zonder dat ingebrekestelling is vereist, wettelijke handelsrente verschuldigd."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"8.5"})," Bij niet-tijdige betaling is klant gehouden tot vergoeding van alle redelijke buitengerechtelijke incassokosten."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"8.6"})," Klant is niet gerechtigd tot verrekening of opschorting van betalingen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"8.7"})," Bij periodieke betalingsverplichtingen (zoals bij doorlopende support- of onderhoudscontracten) mag leverancier de geldende prijzen en tarieven jaarlijks aanpassen conform de CBS Consumentenprijsindex (CPI) of een vergelijkbare index. Leverancier zal klant hiervan minimaal 30 dagen van tevoren schriftelijk op de hoogte stellen. Prijsverhogingen van derden (zoals cloud providers of API-leveranciers) mogen te allen tijde worden doorberekend aan klant."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 9. Intellectueel Eigendom"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"9.1"})," Alle rechten van intellectueel eigendom op de door leverancier ontwikkelde of ter beschikking gestelde AI-oplossingen, software, algoritmes, documentatie en andere materialen berusten uitsluitend bij leverancier, zijn licentiegevers of toeleveranciers."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"9.2"})," Klant verkrijgt uitsluitend de gebruiksrechten en bevoegdheden die in de overeenkomst uitdrukkelijk worden toegekend. Deze gebruiksrechten zijn niet-exclusief, niet-overdraagbaar en niet-sublicentieerbaar."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"9.3"})," Overdracht van intellectuele eigendomsrechten vindt alleen plaats indien dit schriftelijk en uitdrukkelijk is overeengekomen. Zelfs in dat geval behoudt leverancier het recht om:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- De onderliggende algoritmes, ideeën en beginselen voor andere doeleinden of voor zichzelf te blijven gebruiken en exploiteren;"}),s.jsx("li",{children:"- De algemene kennis en ervaring die is opgedaan bij het project te gebruiken voor andere projecten;"}),s.jsx("li",{children:"- Ontwikkelingen te doen die soortgelijk zijn aan of ontleend zijn aan die welke ten behoeve van klant zijn gedaan."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"9.4"})," Het is klant niet toegestaan enige aanduiding betreffende intellectuele eigendomsrechten uit de materialen te verwijderen of te wijzigen."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"9.5"})," Leverancier vrijwaart klant tegen aanspraken van derden die gebaseerd zijn op de bewering dat door leverancier zelf ontwikkelde materialen inbreuk maken op intellectuele eigendomsrechten van die derde, mits:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Klant leverancier onverwijld schriftelijk informeert over de aanspraak;"}),s.jsx("li",{children:"- Klant de afhandeling volledig aan leverancier overlaat;"}),s.jsx("li",{children:"- Deze vrijwaring vervalt indien de inbreuk betrekking heeft op door klant aangeleverde materialen of door klant zonder toestemming aangebrachte wijzigingen."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"9.6"})," Klant garandeert dat geen rechten van derden zich verzetten tegen het ter beschikking stellen van materialen, data, software of andere content aan leverancier. Klant vrijwaart leverancier tegen alle aanspraken van derden in dit verband."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 10. Vertrouwelijkheid"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"10.1"})," Partijen zullen informatie die zij in het kader van de overeenkomst van elkaar ontvangen en waarvan zij weten of redelijkerwijs kunnen weten dat deze vertrouwelijk is, geheimhouden."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"10.2"})," Leverancier mag vertrouwelijke informatie openbaar maken indien en voor zover dit wettelijk verplicht is of noodzakelijk voor de goede uitvoering van de overeenkomst."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"10.3"})," Klant erkent dat de inhoud van door leverancier geleverde AI-oplossingen en software vertrouwelijke bedrijfsgeheimen van leverancier bevatten."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 11. Dataverwerking en Privacy"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"11.1"})," Voor zover leverancier in het kader van de overeenkomst persoonsgegevens verwerkt voor klant, handelt leverancier als verwerker in de zin van de AVG (GDPR)."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"11.2"})," Leverancier verwerkt persoonsgegevens uitsluitend:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Voor het doel waarvoor de AI-oplossing is ontwikkeld;"}),s.jsx("li",{children:"- Volgens de instructies van klant;"}),s.jsx("li",{children:"- In overeenstemming met de AVG."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"11.3"})," Leverancier verwerkt alleen die persoonsgegevens die noodzakelijk zijn voor het correct functioneren van de AI-oplossing."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"11.4"})," Leverancier verzamelt gebruiksgegevens die kunnen worden gebruikt voor het verbeteren van de dienstverlening. Deze gegevens worden geanonimiseerd waar mogelijk."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"11.5"})," Data wordt opgeslagen bij door leverancier geselecteerde hosting providers binnen de Europese Unie. Leverancier spant zich in om uitsluitend gebruik te maken van betrouwbare providers die voldoen aan relevante beveiligings- en privacystandaarden. Leverancier behoudt zich het recht voor om van hosting provider te wisselen, mits dit gebeurt binnen de EU en met gelijkwaardige of betere beveiligingsnormen. Voor zover leverancier gebruik maakt van AI-diensten van derde partijen (zoals OpenAI, Anthropic, Google) kunnen gegevens worden verwerkt via servers van deze partijen. Leverancier zal waar mogelijk gebruik maken van EU-regio's van deze dienstverleners en streeft ernaar dat de verwerking voldoet aan de AVG."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"11.6"})," Klant is en blijft te allen tijde verantwoordelijke in de zin van de AVG voor de persoonsgegevens die via de AI-oplossingen worden verwerkt."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"11.7"})," Bij een datalek zal leverancier klant hiervan onverwijld op de hoogte stellen. Het is de verantwoordelijkheid van klant om te beoordelen of melding aan de Autoriteit Persoonsgegevens en/of betrokkenen nodig is."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 12. Data-eigendom en Training"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"12.1"})," Klant behoudt te allen tijde eigendom van de door hem aangeleverde data."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"12.2"})," Leverancier is gerechtigd training data die klanten aanleveren te gebruiken voor:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Het verbeteren van de AI-modellen en -diensten;"}),s.jsx("li",{children:"- Het ontwikkelen van nieuwe features en functionaliteiten;"}),s.jsx("li",{children:"- Het trainen van algemene AI-modellen."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"12.3"})," Verbeteringen die voortkomen uit het gebruik van klantdata worden eigendom van leverancier en kunnen worden ingezet voor andere klanten."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"12.4"})," Leverancier zal bij het gebruik van klantdata voor training waar mogelijk anonimisering en aggregatie toepassen om privacy te waarborgen."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 13. Data Exit en Migratie"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"13.1"})," Bij beëindiging van de overeenkomst heeft klant het recht om binnen dertig (30) dagen na beëindiging een verzoek in te dienen voor export van zijn data."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"13.2"})," Leverancier zal de data in een standaard machineleesbaar formaat (zoals JSON, CSV of XML) ter beschikking stellen. De keuze van het formaat ligt bij leverancier, tenzij een ander gangbaar formaat is overeengekomen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"13.3"})," Leverancier is niet verantwoordelijk voor het importeren of implementeren van de data bij een nieuwe leverancier of in de systemen van klant."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"13.4"})," Voor data-export kan leverancier een redelijke vergoeding in rekening brengen op basis van zijn gebruikelijke tarieven, tenzij anders overeengekomen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"13.5"})," Na afloop van de in artikel 13.1 genoemde termijn van dertig (30) dagen is leverancier gerechtigd alle data van klant definitief te verwijderen, tenzij een wettelijke bewaarplicht van toepassing is."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"13.6"})," Klant blijft verantwoordelijk voor het nakomen van eventuele wettelijke bewaarverplichtingen die op hem rusten."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 14. Acceptatie en Oplevering"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"14.1"})," Tenzij anders overeengekomen, geldt een acceptatieprocedure voor ontwikkelde AI-oplossingen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"14.2"})," Na oplevering heeft klant veertien (14) werkdagen de tijd om de AI-oplossing te testen (acceptatieperiode)."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"14.3"})," Klant dient geconstateerde gebreken tijdens de acceptatieperiode gedetailleerd en schriftelijk te melden aan leverancier."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"14.4"})," Een gebrek bestaat uit het substantieel niet voldoen aan de schriftelijk overeengekomen functionele specificaties."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"14.5"})," De AI-oplossing wordt geacht te zijn geaccepteerd:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Bij het einde van de acceptatieperiode zonder gemotiveerde afkeuring;"}),s.jsx("li",{children:"- Bij productief gebruik door klant;"}),s.jsx("li",{children:"- Bij schriftelijke acceptatie door klant."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"14.6"})," Acceptatie kan niet worden onthouden op grond van kleine gebreken die operationeel gebruik niet verhinderen. Deze kleine gebreken vallen wel onder de garantieregeling."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"14.7"})," Standaard is één revisieronde inbegrepen. Extra revisierondes worden gefactureerd tegen de overeengekomen tarieven."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 15. Garantie en Onderhoud"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"15.1"})," Leverancier garandeert dat ernstige gebreken die binnen drie (3) maanden na acceptatie schriftelijk worden gemeld, kosteloos zullen worden hersteld."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"15.2"})," Een gebrek is ernstig indien het substantieel afwijkt van de schriftelijk overeengekomen specificaties en het normale gebruik belemmert."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"15.3"})," De garantie vervalt indien:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Het gebrek het gevolg is van onjuist of onzorgvuldig gebruik;"}),s.jsx("li",{children:"- Klant zonder toestemming wijzigingen heeft aangebracht;"}),s.jsx("li",{children:"- Het gebrek is veroorzaakt door externe factoren."})]})]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"15.4"})," Support en onderhoud na de garantieperiode:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Bij tooling in eigen beheer van klant: tegen het vaste ontwikkeltarief, vooraf overeengekomen;"}),s.jsx("li",{children:"- Bij tooling in beheer van leverancier: tegen overeengekomen tarieven conform de onderhoudsovereenkomst."})]})]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"15.5"})," Leverancier staat niet in voor:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Continue beschikbaarheid zonder onderbrekingen;"}),s.jsx("li",{children:"- Correcte werking onder alle omstandigheden;"}),s.jsx("li",{children:"- Compatibility met alle systemen en software."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"15.6"})," AI-systemen kunnen zelflerende eigenschappen hebben waarbij resultaten kunnen variëren. Leverancier garandeert niet dat resultaten onder alle omstandigheden identiek of volledig accuraat zijn."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 16. Aansprakelijkheid"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"16.1"})," De totale aansprakelijkheid van leverancier wegens toerekenbare tekortkoming in de nakoming van de overeenkomst of uit andere hoofde is beperkt tot vergoeding van directe schade."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"16.2"})," Directe schade is beperkt tot maximaal het bedrag van de voor de betreffende overeenkomst overeengekomen prijs (exclusief btw). Bij overeenkomsten met een looptijd langer dan één jaar wordt de prijs gesteld op het totaal van de vergoedingen voor één jaar. Bij overeenkomsten zonder vaste looptijd geldt een maximum van het bedrag van de vergoeding over de drie maanden voorafgaand aan de schadeoorzaak."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"16.3"})," De totale aansprakelijkheid van leverancier is in alle gevallen absoluut gemaximeerd op € 1.000.000 (één miljoen euro), ongeacht het aantal schadegebeurtenissen of rechtsgronden. Dit absolute maximum komt overeen met de dekking van de bedrijfsaansprakelijkheidsverzekering van leverancier."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"16.4"})," Schade door dood of lichamelijk letsel is beperkt tot € 1.000.000 (één miljoen euro)."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"16.5"})," Leverancier is uitdrukkelijk niet aansprakelijk voor:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Indirecte schade, gevolgschade, gederfde winst, gemiste besparingen;"}),s.jsx("li",{children:"- Schade door bedrijfsstagnatie;"}),s.jsx("li",{children:"- Verminderde goodwill;"}),s.jsx("li",{children:"- Schade als gevolg van aanspraken van afnemers van klant;"}),s.jsx("li",{children:"- Schade die verband houdt met door klant voorgeschreven zaken of toeleveranciers;"}),s.jsx("li",{children:"- Verlies, corruptie of beschadiging van data;"}),s.jsx("li",{children:"- Schade door onjuiste, onvolledige of door AI gegenereerde output die door klant wordt gebruikt zonder adequate verificatie;"}),s.jsx("li",{children:"- Schade door wijzigingen in API's, diensten of prijzen van derde partijen (zoals OpenAI, Anthropic, Google of andere AI-providers)."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"16.6"})," De in dit artikel genoemde beperkingen komen te vervallen indien de schade het gevolg is van opzet of bewuste roekeloosheid van de bedrijfsleiding van leverancier."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"16.7"})," Aansprakelijkheid van leverancier ontstaat alleen indien klant leverancier onverwijld en deugdelijk schriftelijk in gebreke stelt, met een redelijke termijn voor herstel, en leverancier ook na het verstrijken van die termijn toerekenbaar tekortschiet in de nakoming van zijn verplichtingen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"16.8"})," Voorwaarde voor het ontstaan van enig recht op schadevergoeding is dat klant de schade zo spoedig mogelijk na het ontstaan daarvan schriftelijk bij leverancier meldt. Elke aanspraak op schadevergoeding vervalt 24 maanden na het ontstaan van de vordering."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"16.9"})," Klant vrijwaart leverancier voor alle aanspraken van derden die verband houden met:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- De door klant aangeleverde materialen, data, content of instructies;"}),s.jsx("li",{children:"- Het gebruik van de AI-oplossing door klant in strijd met toepasselijke wet- of regelgeving;"}),s.jsx("li",{children:"- Productaansprakelijkheid voor producten of diensten van klant waarin de AI-oplossing is geïntegreerd."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"16.10"})," Alle beperkingen en uitsluitingen van aansprakelijkheid in deze voorwaarden gelden mede ten gunste van alle personen en bedrijven waarvan leverancier zich bij de uitvoering van de overeenkomst bedient."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 17. Overmacht"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"17.1"})," Geen van partijen is gehouden tot nakoming van enige verplichting indien zij daartoe verhinderd wordt door overmacht."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"17.2"})," Onder overmacht wordt onder meer verstaan:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- Overmacht van toeleveranciers;"}),s.jsx("li",{children:"- Gebrekkigheid van zaken, software of materialen van derden;"}),s.jsx("li",{children:"- Uitval, storingen of beperkingen van diensten van derde partijen waarvan leverancier afhankelijk is, waaronder cloud providers (zoals Scaleway), AI-API providers (zoals OpenAI, Anthropic, Google) of andere essentiële dienstverleners;"}),s.jsx("li",{children:"- Wijzigingen in de beschikbaarheid, functionaliteit, voorwaarden of prijzen van diensten van derde partijen;"}),s.jsx("li",{children:"- Overheidsmaatregelen, waaronder nieuwe wetgeving die aanpassing van de dienstverlening vereist;"}),s.jsx("li",{children:"- Stroomstoringen;"}),s.jsx("li",{children:"- Storingen in internet, netwerk of telecommunicatie;"}),s.jsx("li",{children:"- Cyberaanvallen, DDoS-aanvallen of andere vormen van digitale criminaliteit;"}),s.jsx("li",{children:"- Algemene vervoersproblemen;"}),s.jsx("li",{children:"- Stakingen;"}),s.jsx("li",{children:"- Pandemieën;"}),s.jsx("li",{children:"- Natuurrampen."})]})]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"17.3"})," Indien overmacht langer dan negentig (90) dagen duurt, heeft elk van partijen het recht de overeenkomst schriftelijk te ontbinden zonder schadevergoeding verschuldigd te zijn. Reeds verrichte werkzaamheden worden naar rato afgerekend."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"17.4"})," Leverancier zal klant tijdig informeren over een overmachtssituatie en de verwachte duur daarvan."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 18. Opzegging en Ontbinding"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"18.1"})," Ontbinding wegens toerekenbare tekortkoming is alleen mogelijk na schriftelijke ingebrekestelling met een redelijke termijn voor herstel."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"18.2"})," Bij ontbinding blijven reeds gefactureerde bedragen voor naar behoren verrichte werkzaamheden verschuldigd."]}),s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"18.3"})," Elk van partijen kan de overeenkomst zonder ingebrekestelling ontbinden indien:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- De wederpartij in staat van faillissement wordt verklaard;"}),s.jsx("li",{children:"- Aan de wederpartij surseance van betaling wordt verleend;"}),s.jsx("li",{children:"- De onderneming van de wederpartij wordt geliquideerd."})]})]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 19. Geheimhouding Werkwijze"}),s.jsx("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:s.jsxs("div",{children:[s.jsxs("p",{className:"mb-3",children:[s.jsx("strong",{className:"text-[#263238]",children:"19.1"})," Het is klant niet toegestaan zonder voorafgaande schriftelijke toestemming van leverancier mededelingen te doen aan derden over:"]}),s.jsxs("ul",{className:"space-y-2 ml-6 list-none",children:[s.jsx("li",{children:"- De werkwijze en methoden van leverancier;"}),s.jsx("li",{children:"- De inhoud van adviezen en rapportages;"}),s.jsx("li",{children:"- De specifieke AI-architecturen en algoritmes."})]})]})})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 20. Toepasselijk Recht en Geschillen"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"20.1"})," Op alle overeenkomsten tussen leverancier en klant is Nederlands recht van toepassing."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"20.2"})," Geschillen zullen worden beslecht door arbitrage volgens het Arbitragereglement van de Stichting Geschillenoplossing Automatisering (www.sgoa.eu). De plaats van arbitrage is Amsterdam."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"20.3"})," In afwijking van het voorgaande artikel is voor vorderingen van leverancier tot incasso van openstaande facturen de rechtbank Zeeland-West-Brabant bevoegd. Leverancier behoudt te allen tijde het recht om een incassovordering bij de gewone rechter aanhangig te maken in plaats van via arbitrage."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"20.4"})," Beide partijen behouden het recht een voorziening in kort geding te vragen of conservatoire maatregelen te treffen."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"20.5"})," Partijen kunnen ervoor kiezen een geschil via mediation op te lossen conform het ICT-Mediation Reglement van de Stichting Geschillenoplossing Automatisering."]})]})]}),s.jsx("div",{className:"border-b border-[#E0E0E0] mb-16"}),s.jsxs("article",{className:"mb-16",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-6 tracking-[-0.5px]",children:"Artikel 21. Slotbepalingen"}),s.jsxs("div",{className:"text-[17px] text-[#546E7A] leading-relaxed space-y-4",children:[s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"21.1"})," Deze algemene voorwaarden zijn te raadplegen en te downloaden via de website van DeltaFlow AI (www.deltaflow.ai) en worden bij het aangaan van een overeenkomst aan klant ter beschikking gesteld."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"21.2"})," Van deze algemene voorwaarden is steeds de laatst gepubliceerde versie van toepassing, dan wel de versie zoals die gold ten tijde van het tot stand komen van de overeenkomst."]}),s.jsxs("p",{children:[s.jsx("strong",{className:"text-[#263238]",children:"21.3"})," Leverancier is gerechtigd deze algemene voorwaarden eenzijdig te wijzigen. Wijzigingen gelden ook ten aanzien van reeds gesloten overeenkomsten met inachtneming van een aankondigingstermijn van 30 dagen."]})]})]}),s.jsx("div",{className:"mt-20 pt-12 border-t-2 border-[#E57373]",children:s.jsxs("div",{className:"text-center text-[#546E7A]",children:[s.jsx("p",{className:"font-semibold text-[18px] text-[#1565C0] mb-2",children:"DeltaFlow AI B.V."}),s.jsx("p",{className:"text-[16px]",children:"KvK: 98385984"}),s.jsx("p",{className:"text-[16px]",children:"Gevestigd te Zierikzee"}),s.jsx("p",{className:"text-[14px] mt-4 italic",children:"Versie 1.0 - Januari 2025"})]})})]})})]}),s.jsx(Kt,{}),s.jsx("style",{children:`
/* Smooth scroll */
html {
scroll-behavior: smooth;
}
/* Mobile performance */
@media (max-width: 768px) {
* {
transition-duration: 0.2s !important;
}
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}
`})]});var tl=e=>e.type==="checkbox",Ri=e=>e instanceof Date,zt=e=>e==null;const T1=e=>typeof e=="object";var nt=e=>!zt(e)&&!Array.isArray(e)&&T1(e)&&!Ri(e),kP=e=>nt(e)&&e.target?tl(e.target)?e.target.checked:e.target.value:e,NP=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,EP=(e,t)=>e.has(NP(t)),CP=e=>{const t=e.constructor&&e.constructor.prototype;return nt(t)&&t.hasOwnProperty("isPrototypeOf")},Yf=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function gn(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(Yf&&(e instanceof Blob||e instanceof FileList))&&(n||nt(e)))if(t=n?[]:{},!n&&!CP(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=gn(e[r]));else return e;return t}var Au=e=>Array.isArray(e)?e.filter(Boolean):[],et=e=>e===void 0,re=(e,t,n)=>{if(!t||!nt(e))return n;const r=Au(t.split(/[,[\].]+?/)).reduce((i,a)=>zt(i)?i:i[a],e);return et(r)||r===e?et(e[t])?n:e[t]:r},Qn=e=>typeof e=="boolean",Xf=e=>/^\w*$/.test(e),P1=e=>Au(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Ve=(e,t,n)=>{let r=-1;const i=Xf(t)?[t]:P1(t),a=i.length,o=a-1;for(;++r<a;){const l=i[r];let c=n;if(r!==o){const u=e[l];c=nt(u)||Array.isArray(u)?u:isNaN(+i[r+1])?{}:[]}if(l==="__proto__")return;e[l]=c,e=e[l]}return e};const Wx={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},zn={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},xr={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};R.createContext(null);var SP=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const o=a;return t._proxyFormState[o]!==zn.all&&(t._proxyFormState[o]=!r||zn.all),e[o]}});return i},Vt=e=>nt(e)&&!Object.keys(e).length,AP=(e,t,n,r)=>{n(e);const{name:i,...a}=e;return Vt(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(o=>t[o]===zn.all)},Yl=e=>Array.isArray(e)?e:[e];function _P(e){const t=R.useRef(e);t.current=e,R.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}var rr=e=>typeof e=="string",TP=(e,t,n,r,i)=>rr(e)?(r&&t.watch.add(e),re(n,e,i)):Array.isArray(e)?e.map(a=>(r&&t.watch.add(a),re(n,a))):(r&&(t.watchAll=!0),n),PP=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},Hx=e=>({isOnSubmit:!e||e===zn.onSubmit,isOnBlur:e===zn.onBlur,isOnChange:e===zn.onChange,isOnAll:e===zn.all,isOnTouch:e===zn.onTouched}),qx=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const Qa=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const a=re(e,i);if(a){const{_f:o,...l}=a;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],i)&&!r)return!0;if(o.ref&&t(o.ref,o.name)&&!r)return!0;if(Qa(l,t))break}else if(nt(l)&&Qa(l,t))break}}};var IP=(e,t,n)=>{const r=Yl(re(e,n));return Ve(r,"root",t[n]),Ve(e,n,r),e},Jf=e=>e.type==="file",Nr=e=>typeof e=="function",Dc=e=>{if(!Yf)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Xl=e=>rr(e),em=e=>e.type==="radio",Mc=e=>e instanceof RegExp;const Zx={value:!1,isValid:!1},Gx={value:!0,isValid:!0};var I1=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!et(e[0].attributes.value)?et(e[0].value)||e[0].value===""?Gx:{value:e[0].value,isValid:!0}:Gx:Zx}return Zx};const Kx={isValid:!1,value:null};var z1=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,Kx):Kx;function Qx(e,t,n="validate"){if(Xl(e)||Array.isArray(e)&&e.every(Xl)||Qn(e)&&!e)return{type:n,message:Xl(e)?e:"",ref:t}}var ls=e=>nt(e)&&!Mc(e)?e:{value:e,message:""},Yx=async(e,t,n,r,i)=>{const{ref:a,refs:o,required:l,maxLength:c,minLength:u,min:d,max:h,pattern:p,validate:f,name:x,valueAsNumber:v,mount:w,disabled:m}=e._f,g=re(t,x);if(!w||m)return{};const y=o?o[0]:a,k=P=>{r&&y.reportValidity&&(y.setCustomValidity(Qn(P)?"":P||""),y.reportValidity())},C={},E=em(a),_=tl(a),I=E||_,B=(v||Jf(a))&&et(a.value)&&et(g)||Dc(a)&&a.value===""||g===""||Array.isArray(g)&&!g.length,D=PP.bind(null,x,n,C),V=(P,U,M,G=xr.maxLength,Y=xr.minLength)=>{const te=P?U:M;C[x]={type:P?G:Y,message:te,ref:a,...D(P?G:Y,te)}};if(i?!Array.isArray(g)||!g.length:l&&(!I&&(B||zt(g))||Qn(g)&&!g||_&&!I1(o).isValid||E&&!z1(o).isValid)){const{value:P,message:U}=Xl(l)?{value:!!l,message:l}:ls(l);if(P&&(C[x]={type:xr.required,message:U,ref:y,...D(xr.required,U)},!n))return k(U),C}if(!B&&(!zt(d)||!zt(h))){let P,U;const M=ls(h),G=ls(d);if(!zt(g)&&!isNaN(g)){const Y=a.valueAsNumber||g&&+g;zt(M.value)||(P=Y>M.value),zt(G.value)||(U=Y<G.value)}else{const Y=a.valueAsDate||new Date(g),te=j=>new Date(new Date().toDateString()+" "+j),T=a.type=="time",$=a.type=="week";rr(M.value)&&g&&(P=T?te(g)>te(M.value):$?g>M.value:Y>new Date(M.value)),rr(G.value)&&g&&(U=T?te(g)<te(G.value):$?g<G.value:Y<new Date(G.value))}if((P||U)&&(V(!!P,M.message,G.message,xr.max,xr.min),!n))return k(C[x].message),C}if((c||u)&&!B&&(rr(g)||i&&Array.isArray(g))){const P=ls(c),U=ls(u),M=!zt(P.value)&&g.length>+P.value,G=!zt(U.value)&&g.length<+U.value;if((M||G)&&(V(M,P.message,U.message),!n))return k(C[x].message),C}if(p&&!B&&rr(g)){const{value:P,message:U}=ls(p);if(Mc(P)&&!g.match(P)&&(C[x]={type:xr.pattern,message:U,ref:a,...D(xr.pattern,U)},!n))return k(U),C}if(f){if(Nr(f)){const P=await f(g,t),U=Qx(P,y);if(U&&(C[x]={...U,...D(xr.validate,U.message)},!n))return k(U.message),C}else if(nt(f)){let P={};for(const U in f){if(!Vt(P)&&!n)break;const M=Qx(await f[U](g,t),y,U);M&&(P={...M,...D(U,M.message)},k(M.message),n&&(C[x]=P))}if(!Vt(P)&&(C[x]={ref:y,...P},!n))return C}}return k(!0),C};function zP(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=et(e)?r++:e[t[r++]];return e}function OP(e){for(const t in e)if(e.hasOwnProperty(t)&&!et(e[t]))return!1;return!0}function ot(e,t){const n=Array.isArray(t)?t:Xf(t)?[t]:P1(t),r=n.length===1?e:zP(e,n),i=n.length-1,a=n[i];return r&&delete r[a],i!==0&&(nt(r)&&Vt(r)||Array.isArray(r)&&OP(r))&&ot(e,n.slice(0,-1)),e}var Cd=()=>{let e=[];return{get observers(){return e},next:i=>{for(const a of e)a.next&&a.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(a=>a!==i)}}),unsubscribe:()=>{e=[]}}},ap=e=>zt(e)||!T1(e);function Zr(e,t){if(ap(e)||ap(t))return e===t;if(Ri(e)&&Ri(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){const a=e[i];if(!r.includes(i))return!1;if(i!=="ref"){const o=t[i];if(Ri(a)&&Ri(o)||nt(a)&&nt(o)||Array.isArray(a)&&Array.isArray(o)?!Zr(a,o):a!==o)return!1}}return!0}var O1=e=>e.type==="select-multiple",RP=e=>em(e)||tl(e),Sd=e=>Dc(e)&&e.isConnected,R1=e=>{for(const t in e)if(Nr(e[t]))return!0;return!1};function Fc(e,t={}){const n=Array.isArray(e);if(nt(e)||n)for(const r in e)Array.isArray(e[r])||nt(e[r])&&!R1(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Fc(e[r],t[r])):zt(e[r])||(t[r]=!0);return t}function D1(e,t,n){const r=Array.isArray(e);if(nt(e)||r)for(const i in e)Array.isArray(e[i])||nt(e[i])&&!R1(e[i])?et(t)||ap(n[i])?n[i]=Array.isArray(e[i])?Fc(e[i],[]):{...Fc(e[i])}:D1(e[i],zt(t)?{}:t[i],n[i]):n[i]=!Zr(e[i],t[i]);return n}var Aa=(e,t)=>D1(e,t,Fc(t)),M1=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>et(e)?e:t?e===""?NaN:e&&+e:n&&rr(e)?new Date(e):r?r(e):e;function Ad(e){const t=e.ref;if(!(e.refs?e.refs.every(n=>n.disabled):t.disabled))return Jf(t)?t.files:em(t)?z1(e.refs).value:O1(t)?[...t.selectedOptions].map(({value:n})=>n):tl(t)?I1(e.refs).value:M1(et(t.value)?e.ref.value:t.value,e)}var DP=(e,t,n,r)=>{const i={};for(const a of e){const o=re(t,a);o&&Ve(i,a,o._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},_a=e=>et(e)?e:Mc(e)?e.source:nt(e)?Mc(e.value)?e.value.source:e.value:e;const Xx="AsyncFunction";var MP=e=>(!e||!e.validate)&&!!(Nr(e.validate)&&e.validate.constructor.name===Xx||nt(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===Xx)),FP=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function Jx(e,t,n){const r=re(e,n);if(r||Xf(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const a=i.join("."),o=re(t,a),l=re(e,a);if(o&&!Array.isArray(o)&&n!==a)return{name:n};if(l&&l.type)return{name:a,error:l};i.pop()}return{name:n}}var LP=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,VP=(e,t)=>!Au(re(e,t)).length&&ot(e,t);const BP={mode:zn.onSubmit,reValidateMode:zn.onChange,shouldFocusError:!0};function $P(e={}){let t={...BP,...e},n={submitCount:0,isDirty:!1,isLoading:Nr(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=nt(t.defaultValues)||nt(t.values)?gn(t.defaultValues||t.values)||{}:{},a=t.shouldUnregister?{}:gn(i),o={action:!1,mount:!1,watch:!1},l={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c,u=0;const d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={values:Cd(),array:Cd(),state:Cd()},p=Hx(t.mode),f=Hx(t.reValidateMode),x=t.criteriaMode===zn.all,v=S=>A=>{clearTimeout(u),u=setTimeout(S,A)},w=async S=>{if(!e.disabled&&(d.isValid||S)){const A=t.resolver?Vt((await I()).errors):await D(r,!0);A!==n.isValid&&h.state.next({isValid:A})}},m=(S,A)=>{!e.disabled&&(d.isValidating||d.validatingFields)&&((S||Array.from(l.mount)).forEach(O=>{O&&(A?Ve(n.validatingFields,O,A):ot(n.validatingFields,O))}),h.state.next({validatingFields:n.validatingFields,isValidating:!Vt(n.validatingFields)}))},g=(S,A=[],O,X,K=!0,H=!0)=>{if(X&&O&&!e.disabled){if(o.action=!0,H&&Array.isArray(re(r,S))){const ae=O(re(r,S),X.argA,X.argB);K&&Ve(r,S,ae)}if(H&&Array.isArray(re(n.errors,S))){const ae=O(re(n.errors,S),X.argA,X.argB);K&&Ve(n.errors,S,ae),VP(n.errors,S)}if(d.touchedFields&&H&&Array.isArray(re(n.touchedFields,S))){const ae=O(re(n.touchedFields,S),X.argA,X.argB);K&&Ve(n.touchedFields,S,ae)}d.dirtyFields&&(n.dirtyFields=Aa(i,a)),h.state.next({name:S,isDirty:P(S,A),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Ve(a,S,A)},y=(S,A)=>{Ve(n.errors,S,A),h.state.next({errors:n.errors})},k=S=>{n.errors=S,h.state.next({errors:n.errors,isValid:!1})},C=(S,A,O,X)=>{const K=re(r,S);if(K){const H=re(a,S,et(O)?re(i,S):O);et(H)||X&&X.defaultChecked||A?Ve(a,S,A?H:Ad(K._f)):G(S,H),o.mount&&w()}},E=(S,A,O,X,K)=>{let H=!1,ae=!1;const me={name:S};if(!e.disabled){const z=!!(re(r,S)&&re(r,S)._f&&re(r,S)._f.disabled);if(!O||X){d.isDirty&&(ae=n.isDirty,n.isDirty=me.isDirty=P(),H=ae!==me.isDirty);const L=z||Zr(re(i,S),A);ae=!!(!z&&re(n.dirtyFields,S)),L||z?ot(n.dirtyFields,S):Ve(n.dirtyFields,S,!0),me.dirtyFields=n.dirtyFields,H=H||d.dirtyFields&&ae!==!L}if(O){const L=re(n.touchedFields,S);L||(Ve(n.touchedFields,S,O),me.touchedFields=n.touchedFields,H=H||d.touchedFields&&L!==O)}H&&K&&h.state.next(me)}return H?me:{}},_=(S,A,O,X)=>{const K=re(n.errors,S),H=d.isValid&&Qn(A)&&n.isValid!==A;if(e.delayError&&O?(c=v(()=>y(S,O)),c(e.delayError)):(clearTimeout(u),c=null,O?Ve(n.errors,S,O):ot(n.errors,S)),(O?!Zr(K,O):K)||!Vt(X)||H){const ae={...X,...H&&Qn(A)?{isValid:A}:{},errors:n.errors,name:S};n={...n,...ae},h.state.next(ae)}},I=async S=>{m(S,!0);const A=await t.resolver(a,t.context,DP(S||l.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return m(S),A},B=async S=>{const{errors:A}=await I(S);if(S)for(const O of S){const X=re(A,O);X?Ve(n.errors,O,X):ot(n.errors,O)}else n.errors=A;return A},D=async(S,A,O={valid:!0})=>{for(const X in S){const K=S[X];if(K){const{_f:H,...ae}=K;if(H){const me=l.array.has(H.name),z=K._f&&MP(K._f);z&&d.validatingFields&&m([X],!0);const L=await Yx(K,a,x,t.shouldUseNativeValidation&&!A,me);if(z&&d.validatingFields&&m([X]),L[H.name]&&(O.valid=!1,A))break;!A&&(re(L,H.name)?me?IP(n.errors,L,H.name):Ve(n.errors,H.name,L[H.name]):ot(n.errors,H.name))}!Vt(ae)&&await D(ae,A,O)}}return O.valid},V=()=>{for(const S of l.unMount){const A=re(r,S);A&&(A._f.refs?A._f.refs.every(O=>!Sd(O)):!Sd(A._f.ref))&&ce(S)}l.unMount=new Set},P=(S,A)=>!e.disabled&&(S&&A&&Ve(a,S,A),!Zr(Q(),i)),U=(S,A,O)=>TP(S,l,{...o.mount?a:et(A)?i:rr(S)?{[S]:A}:A},O,A),M=S=>Au(re(o.mount?a:i,S,e.shouldUnregister?re(i,S,[]):[])),G=(S,A,O={})=>{const X=re(r,S);let K=A;if(X){const H=X._f;H&&(!H.disabled&&Ve(a,S,M1(A,H)),K=Dc(H.ref)&&zt(A)?"":A,O1(H.ref)?[...H.ref.options].forEach(ae=>ae.selected=K.includes(ae.value)):H.refs?tl(H.ref)?H.refs.length>1?H.refs.forEach(ae=>(!ae.defaultChecked||!ae.disabled)&&(ae.checked=Array.isArray(K)?!!K.find(me=>me===ae.value):K===ae.value)):H.refs[0]&&(H.refs[0].checked=!!K):H.refs.forEach(ae=>ae.checked=ae.value===K):Jf(H.ref)?H.ref.value="":(H.ref.value=K,H.ref.type||h.values.next({name:S,values:{...a}})))}(O.shouldDirty||O.shouldTouch)&&E(S,K,O.shouldTouch,O.shouldDirty,!0),O.shouldValidate&&j(S)},Y=(S,A,O)=>{for(const X in A){const K=A[X],H=`${S}.${X}`,ae=re(r,H);(l.array.has(S)||nt(K)||ae&&!ae._f)&&!Ri(K)?Y(H,K,O):G(H,K,O)}},te=(S,A,O={})=>{const X=re(r,S),K=l.array.has(S),H=gn(A);Ve(a,S,H),K?(h.array.next({name:S,values:{...a}}),(d.isDirty||d.dirtyFields)&&O.shouldDirty&&h.state.next({name:S,dirtyFields:Aa(i,a),isDirty:P(S,H)})):X&&!X._f&&!zt(H)?Y(S,H,O):G(S,H,O),qx(S,l)&&h.state.next({...n}),h.values.next({name:o.mount?S:void 0,values:{...a}})},T=async S=>{o.mount=!0;const A=S.target;let O=A.name,X=!0;const K=re(r,O),H=()=>A.type?Ad(K._f):kP(S),ae=me=>{X=Number.isNaN(me)||Ri(me)&&isNaN(me.getTime())||Zr(me,re(a,O,me))};if(K){let me,z;const L=H(),oe=S.type===Wx.BLUR||S.type===Wx.FOCUS_OUT,fe=!FP(K._f)&&!t.resolver&&!re(n.errors,O)&&!K._f.deps||LP(oe,re(n.touchedFields,O),n.isSubmitted,f,p),Ne=qx(O,l,oe);Ve(a,O,L),oe?(K._f.onBlur&&K._f.onBlur(S),c&&c(0)):K._f.onChange&&K._f.onChange(S);const mt=E(O,L,oe,!1),fn=!Vt(mt)||Ne;if(!oe&&h.values.next({name:O,type:S.type,values:{...a}}),fe)return d.isValid&&(e.mode==="onBlur"?oe&&w():w()),fn&&h.state.next({name:O,...Ne?{}:mt});if(!oe&&Ne&&h.state.next({...n}),t.resolver){const{errors:Tt}=await I([O]);if(ae(L),X){const fr=Jx(n.errors,r,O),mn=Jx(Tt,r,fr.name||O);me=mn.error,O=mn.name,z=Vt(Tt)}}else m([O],!0),me=(await Yx(K,a,x,t.shouldUseNativeValidation))[O],m([O]),ae(L),X&&(me?z=!1:d.isValid&&(z=await D(r,!0)));X&&(K._f.deps&&j(K._f.deps),_(O,z,me,mt))}},$=(S,A)=>{if(re(n.errors,A)&&S.focus)return S.focus(),1},j=async(S,A={})=>{let O,X;const K=Yl(S);if(t.resolver){const H=await B(et(S)?S:K);O=Vt(H),X=S?!K.some(ae=>re(H,ae)):O}else S?(X=(await Promise.all(K.map(async H=>{const ae=re(r,H);return await D(ae&&ae._f?{[H]:ae}:ae)}))).every(Boolean),!(!X&&!n.isValid)&&w()):X=O=await D(r);return h.state.next({...!rr(S)||d.isValid&&O!==n.isValid?{}:{name:S},...t.resolver||!S?{isValid:O}:{},errors:n.errors}),A.shouldFocus&&!X&&Qa(r,$,S?K:l.mount),X},Q=S=>{const A={...o.mount?a:i};return et(S)?A:rr(S)?re(A,S):S.map(O=>re(A,O))},ie=(S,A)=>({invalid:!!re((A||n).errors,S),isDirty:!!re((A||n).dirtyFields,S),error:re((A||n).errors,S),isValidating:!!re(n.validatingFields,S),isTouched:!!re((A||n).touchedFields,S)}),N=S=>{S&&Yl(S).forEach(A=>ot(n.errors,A)),h.state.next({errors:S?n.errors:{}})},je=(S,A,O)=>{const X=(re(r,S,{_f:{}})._f||{}).ref,K=re(n.errors,S)||{},{ref:H,message:ae,type:me,...z}=K;Ve(n.errors,S,{...z,...A,ref:X}),h.state.next({name:S,errors:n.errors,isValid:!1}),O&&O.shouldFocus&&X&&X.focus&&X.focus()},Ue=(S,A)=>Nr(S)?h.values.subscribe({next:O=>S(U(void 0,A),O)}):U(S,A,!0),ce=(S,A={})=>{for(const O of S?Yl(S):l.mount)l.mount.delete(O),l.array.delete(O),A.keepValue||(ot(r,O),ot(a,O)),!A.keepError&&ot(n.errors,O),!A.keepDirty&&ot(n.dirtyFields,O),!A.keepTouched&&ot(n.touchedFields,O),!A.keepIsValidating&&ot(n.validatingFields,O),!t.shouldUnregister&&!A.keepDefaultValue&&ot(i,O);h.values.next({values:{...a}}),h.state.next({...n,...A.keepDirty?{isDirty:P()}:{}}),!A.keepIsValid&&w()},rt=({disabled:S,name:A,field:O,fields:X,value:K})=>{if(Qn(S)&&o.mount||S){const H=S?void 0:et(K)?Ad(O?O._f:re(X,A)._f):K;Ve(a,A,H),E(A,H,!1,!1,!0)}},Je=(S,A={})=>{let O=re(r,S);const X=Qn(A.disabled)||Qn(e.disabled);return Ve(r,S,{...O||{},_f:{...O&&O._f?O._f:{ref:{name:S}},name:S,mount:!0,...A}}),l.mount.add(S),O?rt({field:O,disabled:Qn(A.disabled)?A.disabled:e.disabled,name:S,value:A.value}):C(S,!0,A.value),{...X?{disabled:A.disabled||e.disabled}:{},...t.progressive?{required:!!A.required,min:_a(A.min),max:_a(A.max),minLength:_a(A.minLength),maxLength:_a(A.maxLength),pattern:_a(A.pattern)}:{},name:S,onChange:T,onBlur:T,ref:K=>{if(K){Je(S,A),O=re(r,S);const H=et(K.value)&&K.querySelectorAll&&K.querySelectorAll("input,select,textarea")[0]||K,ae=RP(H),me=O._f.refs||[];if(ae?me.find(z=>z===H):H===O._f.ref)return;Ve(r,S,{_f:{...O._f,...ae?{refs:[...me.filter(Sd),H,...Array.isArray(re(i,S))?[{}]:[]],ref:{type:H.type,name:S}}:{ref:H}}}),C(S,!1,void 0,H)}else O=re(r,S,{}),O._f&&(O._f.mount=!1),(t.shouldUnregister||A.shouldUnregister)&&!(EP(l.array,S)&&o.action)&&l.unMount.add(S)}}},ut=()=>t.shouldFocusError&&Qa(r,$,l.mount),ft=S=>{Qn(S)&&(h.state.next({disabled:S}),Qa(r,(A,O)=>{const X=re(r,O);X&&(A.disabled=X._f.disabled||S,Array.isArray(X._f.refs)&&X._f.refs.forEach(K=>{K.disabled=X._f.disabled||S}))},0,!1))},dn=(S,A)=>async O=>{let X;O&&(O.preventDefault&&O.preventDefault(),O.persist&&O.persist());let K=gn(a);if(h.state.next({isSubmitting:!0}),t.resolver){const{errors:H,values:ae}=await I();n.errors=H,K=ae}else await D(r);if(ot(n.errors,"root"),Vt(n.errors)){h.state.next({errors:{}});try{await S(K,O)}catch(H){X=H}}else A&&await A({...n.errors},O),ut(),setTimeout(ut);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Vt(n.errors)&&!X,submitCount:n.submitCount+1,errors:n.errors}),X)throw X},Un=(S,A={})=>{re(r,S)&&(et(A.defaultValue)?te(S,gn(re(i,S))):(te(S,A.defaultValue),Ve(i,S,gn(A.defaultValue))),A.keepTouched||ot(n.touchedFields,S),A.keepDirty||(ot(n.dirtyFields,S),n.isDirty=A.defaultValue?P(S,gn(re(i,S))):P()),A.keepError||(ot(n.errors,S),d.isValid&&w()),h.state.next({...n}))},hn=(S,A={})=>{const O=S?gn(S):i,X=gn(O),K=Vt(S),H=K?i:X;if(A.keepDefaultValues||(i=O),!A.keepValues){if(A.keepDirtyValues){const ae=new Set([...l.mount,...Object.keys(Aa(i,a))]);for(const me of Array.from(ae))re(n.dirtyFields,me)?Ve(H,me,re(a,me)):te(me,re(H,me))}else{if(Yf&&et(S))for(const ae of l.mount){const me=re(r,ae);if(me&&me._f){const z=Array.isArray(me._f.refs)?me._f.refs[0]:me._f.ref;if(Dc(z)){const L=z.closest("form");if(L){L.reset();break}}}}r={}}a=e.shouldUnregister?A.keepDefaultValues?gn(i):{}:gn(H),h.array.next({values:{...H}}),h.values.next({values:{...H}})}l={mount:A.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!d.isValid||!!A.keepIsValid||!!A.keepDirtyValues,o.watch=!!e.shouldUnregister,h.state.next({submitCount:A.keepSubmitCount?n.submitCount:0,isDirty:K?!1:A.keepDirty?n.isDirty:!!(A.keepDefaultValues&&!Zr(S,i)),isSubmitted:A.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:K?{}:A.keepDirtyValues?A.keepDefaultValues&&a?Aa(i,a):n.dirtyFields:A.keepDefaultValues&&S?Aa(i,S):A.keepDirty?n.dirtyFields:{},touchedFields:A.keepTouched?n.touchedFields:{},errors:A.keepErrors?n.errors:{},isSubmitSuccessful:A.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Wn=(S,A)=>hn(Nr(S)?S(a):S,A);return{control:{register:Je,unregister:ce,getFieldState:ie,handleSubmit:dn,setError:je,_executeSchema:I,_getWatch:U,_getDirty:P,_updateValid:w,_removeUnmounted:V,_updateFieldArray:g,_updateDisabledField:rt,_getFieldArray:M,_reset:hn,_resetDefaultValues:()=>Nr(t.defaultValues)&&t.defaultValues().then(S=>{Wn(S,t.resetOptions),h.state.next({isLoading:!1})}),_updateFormState:S=>{n={...n,...S}},_disableForm:ft,_subjects:h,_proxyFormState:d,_setErrors:k,get _fields(){return r},get _formValues(){return a},get _state(){return o},set _state(S){o=S},get _defaultValues(){return i},get _names(){return l},set _names(S){l=S},get _formState(){return n},set _formState(S){n=S},get _options(){return t},set _options(S){t={...t,...S}}},trigger:j,register:Je,handleSubmit:dn,watch:Ue,setValue:te,getValues:Q,reset:Wn,resetField:Un,clearErrors:N,unregister:ce,setError:je,setFocus:(S,A={})=>{const O=re(r,S),X=O&&O._f;if(X){const K=X.refs?X.refs[0]:X.ref;K.focus&&(K.focus(),A.shouldSelect&&K.select())}},getFieldState:ie}}function UP(e={}){const t=R.useRef(),n=R.useRef(),[r,i]=R.useState({isDirty:!1,isValidating:!1,isLoading:Nr(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Nr(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...$P(e),formState:r});const a=t.current.control;return a._options=e,_P({subject:a._subjects.state,next:o=>{AP(o,a._proxyFormState,a._updateFormState)&&i({...a._formState})}}),R.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),R.useEffect(()=>{if(a._proxyFormState.isDirty){const o=a._getDirty();o!==r.isDirty&&a._subjects.state.next({isDirty:o})}},[a,r.isDirty]),R.useEffect(()=>{e.values&&!Zr(e.values,n.current)?(a._reset(e.values,a._options.resetOptions),n.current=e.values,i(o=>({...o}))):a._resetDefaultValues()},[e.values,a]),R.useEffect(()=>{e.errors&&a._setErrors(e.errors)},[e.errors,a]),R.useEffect(()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),R.useEffect(()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})},[e.shouldUnregister,a]),R.useEffect(()=>{t.current&&(t.current.watch=t.current.watch.bind({}))},[r]),t.current.formState=SP(r,a),t.current}var Ee;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{const a={};for(const o of i)a[o]=o;return a},e.getValidEnumValues=i=>{const a=e.objectKeys(i).filter(l=>typeof i[i[l]]!="number"),o={};for(const l of a)o[l]=i[l];return e.objectValues(o)},e.objectValues=i=>e.objectKeys(i).map(function(a){return i[a]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&a.push(o);return a},e.find=(i,a)=>{for(const o of i)if(a(o))return o},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function r(i,a=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(a)}e.joinValues=r,e.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(Ee||(Ee={}));var op;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(op||(op={}));const ee=Ee.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Gr=e=>{switch(typeof e){case"undefined":return ee.undefined;case"string":return ee.string;case"number":return isNaN(e)?ee.nan:ee.number;case"boolean":return ee.boolean;case"function":return ee.function;case"bigint":return ee.bigint;case"symbol":return ee.symbol;case"object":return Array.isArray(e)?ee.array:e===null?ee.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ee.promise:typeof Map<"u"&&e instanceof Map?ee.map:typeof Set<"u"&&e instanceof Set?ee.set:typeof Date<"u"&&e instanceof Date?ee.date:ee.object;default:return ee.unknown}},q=Ee.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),WP=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class on extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(a){return a.message},r={_errors:[]},i=a=>{for(const o of a.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)r._errors.push(n(o));else{let l=r,c=0;for(;c<o.path.length;){const u=o.path[c];c===o.path.length-1?(l[u]=l[u]||{_errors:[]},l[u]._errors.push(n(o))):l[u]=l[u]||{_errors:[]},l=l[u],c++}}};return i(this),r}static assert(t){if(!(t instanceof on))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ee.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const i of this.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}on.create=e=>new on(e);const ta=(e,t)=>{let n;switch(e.code){case q.invalid_type:e.received===ee.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case q.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ee.jsonStringifyReplacer)}`;break;case q.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ee.joinValues(e.keys,", ")}`;break;case q.invalid_union:n="Invalid input";break;case q.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ee.joinValues(e.options)}`;break;case q.invalid_enum_value:n=`Invalid enum value. Expected ${Ee.joinValues(e.options)}, received '${e.received}'`;break;case q.invalid_arguments:n="Invalid function arguments";break;case q.invalid_return_type:n="Invalid function return type";break;case q.invalid_date:n="Invalid date";break;case q.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Ee.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case q.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case q.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case q.custom:n="Invalid input";break;case q.invalid_intersection_types:n="Intersection results could not be merged";break;case q.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case q.not_finite:n="Number must be finite";break;default:n=t.defaultError,Ee.assertNever(e)}return{message:n}};let F1=ta;function HP(e){F1=e}function Lc(){return F1}const Vc=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let l="";const c=r.filter(u=>!!u).slice().reverse();for(const u of c)l=u(o,{data:t,defaultError:l}).message;return{...i,path:a,message:l}},qP=[];function J(e,t){const n=Lc(),r=Vc({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===ta?void 0:ta].filter(i=>!!i)});e.common.issues.push(r)}class At{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const i of n){if(i.status==="aborted")return he;i.status==="dirty"&&t.dirty(),r.push(i.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const i of n){const a=await i.key,o=await i.value;r.push({key:a,value:o})}return At.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:a,value:o}=i;if(a.status==="aborted"||o.status==="aborted")return he;a.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(r[a.value]=o.value)}return{status:t.value,value:r}}}const he=Object.freeze({status:"aborted"}),js=e=>({status:"dirty",value:e}),Dt=e=>({status:"valid",value:e}),lp=e=>e.status==="aborted",cp=e=>e.status==="dirty",Eo=e=>e.status==="valid",Co=e=>typeof Promise<"u"&&e instanceof Promise;function Bc(e,t,n,r){if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function L1(e,t,n,r,i){if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var se;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(se||(se={}));var Oa,Ra;class ur{constructor(t,n,r,i){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const ev=(e,t)=>{if(Eo(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new on(e.common.issues);return this._error=n,this._error}}};function xe(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,l)=>{var c,u;const{message:d}=e;return o.code==="invalid_enum_value"?{message:d??l.defaultError}:typeof l.data>"u"?{message:(c=d??r)!==null&&c!==void 0?c:l.defaultError}:o.code!=="invalid_type"?{message:l.defaultError}:{message:(u=d??n)!==null&&u!==void 0?u:l.defaultError}},description:i}}class we{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Gr(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Gr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new At,ctx:{common:t.parent.common,data:t.data,parsedType:Gr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(Co(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const i={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Gr(t)},a=this._parseSync({data:t,path:i.path,parent:i});return ev(i,a)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Gr(t)},i=this._parse({data:t,path:r.path,parent:r}),a=await(Co(i)?i:Promise.resolve(i));return ev(r,a)}refine(t,n){const r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,a)=>{const o=t(i),l=()=>a.addIssue({code:q.custom,...r(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(c=>c?!0:(l(),!1)):o?!0:(l(),!1)})}refinement(t,n){return this._refinement((r,i)=>t(r)?!0:(i.addIssue(typeof n=="function"?n(r,i):n),!1))}_refinement(t){return new $n({schema:this,typeName:de.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return ar.create(this,this._def)}nullable(){return ji.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Fn.create(this,this._def)}promise(){return ra.create(this,this._def)}or(t){return To.create([this,t],this._def)}and(t){return Po.create(this,t,this._def)}transform(t){return new $n({...xe(this._def),schema:this,typeName:de.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Do({...xe(this._def),innerType:this,defaultValue:n,typeName:de.ZodDefault})}brand(){return new tm({typeName:de.ZodBranded,type:this,...xe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Mo({...xe(this._def),innerType:this,catchValue:n,typeName:de.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return nl.create(this,t)}readonly(){return Fo.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const ZP=/^c[^\s-]{8,}$/i,GP=/^[0-9a-z]+$/,KP=/^[0-9A-HJKMNP-TV-Z]{26}$/,QP=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,YP=/^[a-z0-9_-]{21}$/i,XP=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,JP=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,eI="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let _d;const tI=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,nI=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,rI=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,V1="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",iI=new RegExp(`^${V1}$`);function B1(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function sI(e){return new RegExp(`^${B1(e)}$`)}function $1(e){let t=`${V1}T${B1(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function aI(e,t){return!!((t==="v4"||!t)&&tI.test(e)||(t==="v6"||!t)&&nI.test(e))}class Rn extends we{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ee.string){const a=this._getOrReturnCtx(t);return J(a,{code:q.invalid_type,expected:ee.string,received:a.parsedType}),he}const r=new At;let i;for(const a of this._def.checks)if(a.kind==="min")t.data.length<a.value&&(i=this._getOrReturnCtx(t,i),J(i,{code:q.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="max")t.data.length>a.value&&(i=this._getOrReturnCtx(t,i),J(i,{code:q.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const o=t.data.length>a.value,l=t.data.length<a.value;(o||l)&&(i=this._getOrReturnCtx(t,i),o?J(i,{code:q.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):l&&J(i,{code:q.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind==="email")JP.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"email",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="emoji")_d||(_d=new RegExp(eI,"u")),_d.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"emoji",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="uuid")QP.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"uuid",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="nanoid")YP.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"nanoid",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid")ZP.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"cuid",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid2")GP.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"cuid2",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="ulid")KP.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"ulid",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="url")try{new URL(t.data)}catch{i=this._getOrReturnCtx(t,i),J(i,{validation:"url",code:q.invalid_string,message:a.message}),r.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"regex",code:q.invalid_string,message:a.message}),r.dirty())):a.kind==="trim"?t.data=t.data.trim():a.kind==="includes"?t.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(t,i),J(i,{code:q.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind==="toLowerCase"?t.data=t.data.toLowerCase():a.kind==="toUpperCase"?t.data=t.data.toUpperCase():a.kind==="startsWith"?t.data.startsWith(a.value)||(i=this._getOrReturnCtx(t,i),J(i,{code:q.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind==="endsWith"?t.data.endsWith(a.value)||(i=this._getOrReturnCtx(t,i),J(i,{code:q.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind==="datetime"?$1(a).test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{code:q.invalid_string,validation:"datetime",message:a.message}),r.dirty()):a.kind==="date"?iI.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{code:q.invalid_string,validation:"date",message:a.message}),r.dirty()):a.kind==="time"?sI(a).test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{code:q.invalid_string,validation:"time",message:a.message}),r.dirty()):a.kind==="duration"?XP.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"duration",code:q.invalid_string,message:a.message}),r.dirty()):a.kind==="ip"?aI(t.data,a.version)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"ip",code:q.invalid_string,message:a.message}),r.dirty()):a.kind==="base64"?rI.test(t.data)||(i=this._getOrReturnCtx(t,i),J(i,{validation:"base64",code:q.invalid_string,message:a.message}),r.dirty()):Ee.assertNever(a);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(i=>t.test(i),{validation:n,code:q.invalid_string,...se.errToObj(r)})}_addCheck(t){return new Rn({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...se.errToObj(t)})}url(t){return this._addCheck({kind:"url",...se.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...se.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...se.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...se.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...se.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...se.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...se.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...se.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...se.errToObj(t)})}datetime(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,local:(r=t==null?void 0:t.local)!==null&&r!==void 0?r:!1,...se.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...se.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...se.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...se.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...se.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...se.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...se.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...se.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...se.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...se.errToObj(n)})}nonempty(t){return this.min(1,se.errToObj(t))}trim(){return new Rn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Rn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Rn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Rn.create=e=>{var t;return new Rn({checks:[],typeName:de.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...xe(e)})};function oI(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,a=parseInt(e.toFixed(i).replace(".","")),o=parseInt(t.toFixed(i).replace(".",""));return a%o/Math.pow(10,i)}class yi extends we{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ee.number){const a=this._getOrReturnCtx(t);return J(a,{code:q.invalid_type,expected:ee.number,received:a.parsedType}),he}let r;const i=new At;for(const a of this._def.checks)a.kind==="int"?Ee.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),J(r,{code:q.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),J(r,{code:q.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),J(r,{code:q.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?oI(t.data,a.value)!==0&&(r=this._getOrReturnCtx(t,r),J(r,{code:q.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),J(r,{code:q.not_finite,message:a.message}),i.dirty()):Ee.assertNever(a);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,se.toString(n))}gt(t,n){return this.setLimit("min",t,!1,se.toString(n))}lte(t,n){return this.setLimit("max",t,!0,se.toString(n))}lt(t,n){return this.setLimit("max",t,!1,se.toString(n))}setLimit(t,n,r,i){return new yi({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:se.toString(i)}]})}_addCheck(t){return new yi({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:se.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:se.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:se.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:se.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:se.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:se.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:se.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:se.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:se.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Ee.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}yi.create=e=>new yi({checks:[],typeName:de.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...xe(e)});class bi extends we{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==ee.bigint){const a=this._getOrReturnCtx(t);return J(a,{code:q.invalid_type,expected:ee.bigint,received:a.parsedType}),he}let r;const i=new At;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),J(r,{code:q.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),J(r,{code:q.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),J(r,{code:q.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):Ee.assertNever(a);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,se.toString(n))}gt(t,n){return this.setLimit("min",t,!1,se.toString(n))}lte(t,n){return this.setLimit("max",t,!0,se.toString(n))}lt(t,n){return this.setLimit("max",t,!1,se.toString(n))}setLimit(t,n,r,i){return new bi({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:se.toString(i)}]})}_addCheck(t){return new bi({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:se.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:se.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:se.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:se.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:se.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}bi.create=e=>{var t;return new bi({checks:[],typeName:de.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...xe(e)})};class So extends we{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ee.boolean){const r=this._getOrReturnCtx(t);return J(r,{code:q.invalid_type,expected:ee.boolean,received:r.parsedType}),he}return Dt(t.data)}}So.create=e=>new So({typeName:de.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...xe(e)});class Yi extends we{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ee.date){const a=this._getOrReturnCtx(t);return J(a,{code:q.invalid_type,expected:ee.date,received:a.parsedType}),he}if(isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return J(a,{code:q.invalid_date}),he}const r=new At;let i;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()<a.value&&(i=this._getOrReturnCtx(t,i),J(i,{code:q.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):a.kind==="max"?t.data.getTime()>a.value&&(i=this._getOrReturnCtx(t,i),J(i,{code:q.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):Ee.assertNever(a);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Yi({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:se.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:se.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Yi.create=e=>new Yi({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:de.ZodDate,...xe(e)});class $c extends we{_parse(t){if(this._getType(t)!==ee.symbol){const r=this._getOrReturnCtx(t);return J(r,{code:q.invalid_type,expected:ee.symbol,received:r.parsedType}),he}return Dt(t.data)}}$c.create=e=>new $c({typeName:de.ZodSymbol,...xe(e)});class Ao extends we{_parse(t){if(this._getType(t)!==ee.undefined){const r=this._getOrReturnCtx(t);return J(r,{code:q.invalid_type,expected:ee.undefined,received:r.parsedType}),he}return Dt(t.data)}}Ao.create=e=>new Ao({typeName:de.ZodUndefined,...xe(e)});class _o extends we{_parse(t){if(this._getType(t)!==ee.null){const r=this._getOrReturnCtx(t);return J(r,{code:q.invalid_type,expected:ee.null,received:r.parsedType}),he}return Dt(t.data)}}_o.create=e=>new _o({typeName:de.ZodNull,...xe(e)});class na extends we{constructor(){super(...arguments),this._any=!0}_parse(t){return Dt(t.data)}}na.create=e=>new na({typeName:de.ZodAny,...xe(e)});class Ui extends we{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Dt(t.data)}}Ui.create=e=>new Ui({typeName:de.ZodUnknown,...xe(e)});class zr extends we{_parse(t){const n=this._getOrReturnCtx(t);return J(n,{code:q.invalid_type,expected:ee.never,received:n.parsedType}),he}}zr.create=e=>new zr({typeName:de.ZodNever,...xe(e)});class Uc extends we{_parse(t){if(this._getType(t)!==ee.undefined){const r=this._getOrReturnCtx(t);return J(r,{code:q.invalid_type,expected:ee.void,received:r.parsedType}),he}return Dt(t.data)}}Uc.create=e=>new Uc({typeName:de.ZodVoid,...xe(e)});class Fn extends we{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==ee.array)return J(n,{code:q.invalid_type,expected:ee.array,received:n.parsedType}),he;if(i.exactLength!==null){const o=n.data.length>i.exactLength.value,l=n.data.length<i.exactLength.value;(o||l)&&(J(n,{code:o?q.too_big:q.too_small,minimum:l?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),r.dirty())}if(i.minLength!==null&&n.data.length<i.minLength.value&&(J(n,{code:q.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),r.dirty()),i.maxLength!==null&&n.data.length>i.maxLength.value&&(J(n,{code:q.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((o,l)=>i.type._parseAsync(new ur(n,o,n.path,l)))).then(o=>At.mergeArray(r,o));const a=[...n.data].map((o,l)=>i.type._parseSync(new ur(n,o,n.path,l)));return At.mergeArray(r,a)}get element(){return this._def.type}min(t,n){return new Fn({...this._def,minLength:{value:t,message:se.toString(n)}})}max(t,n){return new Fn({...this._def,maxLength:{value:t,message:se.toString(n)}})}length(t,n){return new Fn({...this._def,exactLength:{value:t,message:se.toString(n)}})}nonempty(t){return this.min(1,t)}}Fn.create=(e,t)=>new Fn({type:e,minLength:null,maxLength:null,exactLength:null,typeName:de.ZodArray,...xe(t)});function cs(e){if(e instanceof We){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ar.create(cs(r))}return new We({...e._def,shape:()=>t})}else return e instanceof Fn?new Fn({...e._def,type:cs(e.element)}):e instanceof ar?ar.create(cs(e.unwrap())):e instanceof ji?ji.create(cs(e.unwrap())):e instanceof dr?dr.create(e.items.map(t=>cs(t))):e}class We extends we{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Ee.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==ee.object){const u=this._getOrReturnCtx(t);return J(u,{code:q.invalid_type,expected:ee.object,received:u.parsedType}),he}const{status:r,ctx:i}=this._processInputParams(t),{shape:a,keys:o}=this._getCached(),l=[];if(!(this._def.catchall instanceof zr&&this._def.unknownKeys==="strip"))for(const u in i.data)o.includes(u)||l.push(u);const c=[];for(const u of o){const d=a[u],h=i.data[u];c.push({key:{status:"valid",value:u},value:d._parse(new ur(i,h,i.path,u)),alwaysSet:u in i.data})}if(this._def.catchall instanceof zr){const u=this._def.unknownKeys;if(u==="passthrough")for(const d of l)c.push({key:{status:"valid",value:d},value:{status:"valid",value:i.data[d]}});else if(u==="strict")l.length>0&&(J(i,{code:q.unrecognized_keys,keys:l}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const d of l){const h=i.data[d];c.push({key:{status:"valid",value:d},value:u._parse(new ur(i,h,i.path,d)),alwaysSet:d in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const u=[];for(const d of c){const h=await d.key,p=await d.value;u.push({key:h,value:p,alwaysSet:d.alwaysSet})}return u}).then(u=>At.mergeObjectSync(r,u)):At.mergeObjectSync(r,c)}get shape(){return this._def.shape()}strict(t){return se.errToObj,new We({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,a,o,l;const c=(o=(a=(i=this._def).errorMap)===null||a===void 0?void 0:a.call(i,n,r).message)!==null&&o!==void 0?o:r.defaultError;return n.code==="unrecognized_keys"?{message:(l=se.errToObj(t).message)!==null&&l!==void 0?l:c}:{message:c}}}:{}})}strip(){return new We({...this._def,unknownKeys:"strip"})}passthrough(){return new We({...this._def,unknownKeys:"passthrough"})}extend(t){return new We({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new We({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:de.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new We({...this._def,catchall:t})}pick(t){const n={};return Ee.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new We({...this._def,shape:()=>n})}omit(t){const n={};return Ee.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new We({...this._def,shape:()=>n})}deepPartial(){return cs(this)}partial(t){const n={};return Ee.objectKeys(this.shape).forEach(r=>{const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}),new We({...this._def,shape:()=>n})}required(t){const n={};return Ee.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof ar;)a=a._def.innerType;n[r]=a}}),new We({...this._def,shape:()=>n})}keyof(){return U1(Ee.objectKeys(this.shape))}}We.create=(e,t)=>new We({shape:()=>e,unknownKeys:"strip",catchall:zr.create(),typeName:de.ZodObject,...xe(t)});We.strictCreate=(e,t)=>new We({shape:()=>e,unknownKeys:"strict",catchall:zr.create(),typeName:de.ZodObject,...xe(t)});We.lazycreate=(e,t)=>new We({shape:e,unknownKeys:"strip",catchall:zr.create(),typeName:de.ZodObject,...xe(t)});class To extends we{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(a){for(const l of a)if(l.result.status==="valid")return l.result;for(const l of a)if(l.result.status==="dirty")return n.common.issues.push(...l.ctx.common.issues),l.result;const o=a.map(l=>new on(l.ctx.common.issues));return J(n,{code:q.invalid_union,unionErrors:o}),he}if(n.common.async)return Promise.all(r.map(async a=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(i);{let a;const o=[];for(const c of r){const u={...n,common:{...n.common,issues:[]},parent:null},d=c._parseSync({data:n.data,path:n.path,parent:u});if(d.status==="valid")return d;d.status==="dirty"&&!a&&(a={result:d,ctx:u}),u.common.issues.length&&o.push(u.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const l=o.map(c=>new on(c));return J(n,{code:q.invalid_union,unionErrors:l}),he}}get options(){return this._def.options}}To.create=(e,t)=>new To({options:e,typeName:de.ZodUnion,...xe(t)});const yr=e=>e instanceof zo?yr(e.schema):e instanceof $n?yr(e.innerType()):e instanceof Oo?[e.value]:e instanceof wi?e.options:e instanceof Ro?Ee.objectValues(e.enum):e instanceof Do?yr(e._def.innerType):e instanceof Ao?[void 0]:e instanceof _o?[null]:e instanceof ar?[void 0,...yr(e.unwrap())]:e instanceof ji?[null,...yr(e.unwrap())]:e instanceof tm||e instanceof Fo?yr(e.unwrap()):e instanceof Mo?yr(e._def.innerType):[];class _u extends we{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ee.object)return J(n,{code:q.invalid_type,expected:ee.object,received:n.parsedType}),he;const r=this.discriminator,i=n.data[r],a=this.optionsMap.get(i);return a?n.common.async?a._parseAsync({data:n.data,path:n.path,parent:n}):a._parseSync({data:n.data,path:n.path,parent:n}):(J(n,{code:q.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),he)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const i=new Map;for(const a of n){const o=yr(a.shape[t]);if(!o.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const l of o){if(i.has(l))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(l)}`);i.set(l,a)}}return new _u({typeName:de.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...xe(r)})}}function up(e,t){const n=Gr(e),r=Gr(t);if(e===t)return{valid:!0,data:e};if(n===ee.object&&r===ee.object){const i=Ee.objectKeys(t),a=Ee.objectKeys(e).filter(l=>i.indexOf(l)!==-1),o={...e,...t};for(const l of a){const c=up(e[l],t[l]);if(!c.valid)return{valid:!1};o[l]=c.data}return{valid:!0,data:o}}else if(n===ee.array&&r===ee.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let a=0;a<e.length;a++){const o=e[a],l=t[a],c=up(o,l);if(!c.valid)return{valid:!1};i.push(c.data)}return{valid:!0,data:i}}else return n===ee.date&&r===ee.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Po extends we{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=(a,o)=>{if(lp(a)||lp(o))return he;const l=up(a.value,o.value);return l.valid?((cp(a)||cp(o))&&n.dirty(),{status:n.value,value:l.data}):(J(r,{code:q.invalid_intersection_types}),he)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,o])=>i(a,o)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}Po.create=(e,t,n)=>new Po({left:e,right:t,typeName:de.ZodIntersection,...xe(n)});class dr extends we{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.array)return J(r,{code:q.invalid_type,expected:ee.array,received:r.parsedType}),he;if(r.data.length<this._def.items.length)return J(r,{code:q.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),he;!this._def.rest&&r.data.length>this._def.items.length&&(J(r,{code:q.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...r.data].map((o,l)=>{const c=this._def.items[l]||this._def.rest;return c?c._parse(new ur(r,o,r.path,l)):null}).filter(o=>!!o);return r.common.async?Promise.all(a).then(o=>At.mergeArray(n,o)):At.mergeArray(n,a)}get items(){return this._def.items}rest(t){return new dr({...this._def,rest:t})}}dr.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new dr({items:e,typeName:de.ZodTuple,rest:null,...xe(t)})};class Io extends we{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.object)return J(r,{code:q.invalid_type,expected:ee.object,received:r.parsedType}),he;const i=[],a=this._def.keyType,o=this._def.valueType;for(const l in r.data)i.push({key:a._parse(new ur(r,l,r.path,l)),value:o._parse(new ur(r,r.data[l],r.path,l)),alwaysSet:l in r.data});return r.common.async?At.mergeObjectAsync(n,i):At.mergeObjectSync(n,i)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof we?new Io({keyType:t,valueType:n,typeName:de.ZodRecord,...xe(r)}):new Io({keyType:Rn.create(),valueType:t,typeName:de.ZodRecord,...xe(n)})}}class Wc extends we{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.map)return J(r,{code:q.invalid_type,expected:ee.map,received:r.parsedType}),he;const i=this._def.keyType,a=this._def.valueType,o=[...r.data.entries()].map(([l,c],u)=>({key:i._parse(new ur(r,l,r.path,[u,"key"])),value:a._parse(new ur(r,c,r.path,[u,"value"]))}));if(r.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const c of o){const u=await c.key,d=await c.value;if(u.status==="aborted"||d.status==="aborted")return he;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),l.set(u.value,d.value)}return{status:n.value,value:l}})}else{const l=new Map;for(const c of o){const u=c.key,d=c.value;if(u.status==="aborted"||d.status==="aborted")return he;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),l.set(u.value,d.value)}return{status:n.value,value:l}}}}Wc.create=(e,t,n)=>new Wc({valueType:t,keyType:e,typeName:de.ZodMap,...xe(n)});class Xi extends we{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.set)return J(r,{code:q.invalid_type,expected:ee.set,received:r.parsedType}),he;const i=this._def;i.minSize!==null&&r.data.size<i.minSize.value&&(J(r,{code:q.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),n.dirty()),i.maxSize!==null&&r.data.size>i.maxSize.value&&(J(r,{code:q.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const a=this._def.valueType;function o(c){const u=new Set;for(const d of c){if(d.status==="aborted")return he;d.status==="dirty"&&n.dirty(),u.add(d.value)}return{status:n.value,value:u}}const l=[...r.data.values()].map((c,u)=>a._parse(new ur(r,c,r.path,u)));return r.common.async?Promise.all(l).then(c=>o(c)):o(l)}min(t,n){return new Xi({...this._def,minSize:{value:t,message:se.toString(n)}})}max(t,n){return new Xi({...this._def,maxSize:{value:t,message:se.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Xi.create=(e,t)=>new Xi({valueType:e,minSize:null,maxSize:null,typeName:de.ZodSet,...xe(t)});class Rs extends we{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ee.function)return J(n,{code:q.invalid_type,expected:ee.function,received:n.parsedType}),he;function r(l,c){return Vc({data:l,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Lc(),ta].filter(u=>!!u),issueData:{code:q.invalid_arguments,argumentsError:c}})}function i(l,c){return Vc({data:l,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Lc(),ta].filter(u=>!!u),issueData:{code:q.invalid_return_type,returnTypeError:c}})}const a={errorMap:n.common.contextualErrorMap},o=n.data;if(this._def.returns instanceof ra){const l=this;return Dt(async function(...c){const u=new on([]),d=await l._def.args.parseAsync(c,a).catch(f=>{throw u.addIssue(r(c,f)),u}),h=await Reflect.apply(o,this,d);return await l._def.returns._def.type.parseAsync(h,a).catch(f=>{throw u.addIssue(i(h,f)),u})})}else{const l=this;return Dt(function(...c){const u=l._def.args.safeParse(c,a);if(!u.success)throw new on([r(c,u.error)]);const d=Reflect.apply(o,this,u.data),h=l._def.returns.safeParse(d,a);if(!h.success)throw new on([i(d,h.error)]);return h.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Rs({...this._def,args:dr.create(t).rest(Ui.create())})}returns(t){return new Rs({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new Rs({args:t||dr.create([]).rest(Ui.create()),returns:n||Ui.create(),typeName:de.ZodFunction,...xe(r)})}}class zo extends we{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}zo.create=(e,t)=>new zo({getter:e,typeName:de.ZodLazy,...xe(t)});class Oo extends we{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return J(n,{received:n.data,code:q.invalid_literal,expected:this._def.value}),he}return{status:"valid",value:t.data}}get value(){return this._def.value}}Oo.create=(e,t)=>new Oo({value:e,typeName:de.ZodLiteral,...xe(t)});function U1(e,t){return new wi({values:e,typeName:de.ZodEnum,...xe(t)})}class wi extends we{constructor(){super(...arguments),Oa.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return J(n,{expected:Ee.joinValues(r),received:n.parsedType,code:q.invalid_type}),he}if(Bc(this,Oa)||L1(this,Oa,new Set(this._def.values)),!Bc(this,Oa).has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return J(n,{received:n.data,code:q.invalid_enum_value,options:r}),he}return Dt(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return wi.create(t,{...this._def,...n})}exclude(t,n=this._def){return wi.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}Oa=new WeakMap;wi.create=U1;class Ro extends we{constructor(){super(...arguments),Ra.set(this,void 0)}_parse(t){const n=Ee.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==ee.string&&r.parsedType!==ee.number){const i=Ee.objectValues(n);return J(r,{expected:Ee.joinValues(i),received:r.parsedType,code:q.invalid_type}),he}if(Bc(this,Ra)||L1(this,Ra,new Set(Ee.getValidEnumValues(this._def.values))),!Bc(this,Ra).has(t.data)){const i=Ee.objectValues(n);return J(r,{received:r.data,code:q.invalid_enum_value,options:i}),he}return Dt(t.data)}get enum(){return this._def.values}}Ra=new WeakMap;Ro.create=(e,t)=>new Ro({values:e,typeName:de.ZodNativeEnum,...xe(t)});class ra extends we{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ee.promise&&n.common.async===!1)return J(n,{code:q.invalid_type,expected:ee.promise,received:n.parsedType}),he;const r=n.parsedType===ee.promise?n.data:Promise.resolve(n.data);return Dt(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}ra.create=(e,t)=>new ra({type:e,typeName:de.ZodPromise,...xe(t)});class $n extends we{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===de.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=this._def.effect||null,a={addIssue:o=>{J(r,o),o.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){const o=i.transform(r.data,a);if(r.common.async)return Promise.resolve(o).then(async l=>{if(n.value==="aborted")return he;const c=await this._def.schema._parseAsync({data:l,path:r.path,parent:r});return c.status==="aborted"?he:c.status==="dirty"||n.value==="dirty"?js(c.value):c});{if(n.value==="aborted")return he;const l=this._def.schema._parseSync({data:o,path:r.path,parent:r});return l.status==="aborted"?he:l.status==="dirty"||n.value==="dirty"?js(l.value):l}}if(i.type==="refinement"){const o=l=>{const c=i.refinement(l,a);if(r.common.async)return Promise.resolve(c);if(c instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return l.status==="aborted"?he:(l.status==="dirty"&&n.dirty(),o(l.value),{status:n.value,value:l.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>l.status==="aborted"?he:(l.status==="dirty"&&n.dirty(),o(l.value).then(()=>({status:n.value,value:l.value}))))}if(i.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Eo(o))return o;const l=i.transform(o.value,a);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:l}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>Eo(o)?Promise.resolve(i.transform(o.value,a)).then(l=>({status:n.value,value:l})):o);Ee.assertNever(i)}}$n.create=(e,t,n)=>new $n({schema:e,typeName:de.ZodEffects,effect:t,...xe(n)});$n.createWithPreprocess=(e,t,n)=>new $n({schema:t,effect:{type:"preprocess",transform:e},typeName:de.ZodEffects,...xe(n)});class ar extends we{_parse(t){return this._getType(t)===ee.undefined?Dt(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ar.create=(e,t)=>new ar({innerType:e,typeName:de.ZodOptional,...xe(t)});class ji extends we{_parse(t){return this._getType(t)===ee.null?Dt(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ji.create=(e,t)=>new ji({innerType:e,typeName:de.ZodNullable,...xe(t)});class Do extends we{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===ee.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Do.create=(e,t)=>new Do({innerType:e,typeName:de.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...xe(t)});class Mo extends we{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return Co(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new on(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new on(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Mo.create=(e,t)=>new Mo({innerType:e,typeName:de.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...xe(t)});class Hc extends we{_parse(t){if(this._getType(t)!==ee.nan){const r=this._getOrReturnCtx(t);return J(r,{code:q.invalid_type,expected:ee.nan,received:r.parsedType}),he}return{status:"valid",value:t.data}}}Hc.create=e=>new Hc({typeName:de.ZodNaN,...xe(e)});const lI=Symbol("zod_brand");class tm extends we{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class nl extends we{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?he:a.status==="dirty"?(n.dirty(),js(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?he:i.status==="dirty"?(n.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(t,n){return new nl({in:t,out:n,typeName:de.ZodPipeline})}}class Fo extends we{_parse(t){const n=this._def.innerType._parse(t),r=i=>(Eo(i)&&(i.value=Object.freeze(i.value)),i);return Co(n)?n.then(i=>r(i)):r(n)}unwrap(){return this._def.innerType}}Fo.create=(e,t)=>new Fo({innerType:e,typeName:de.ZodReadonly,...xe(t)});function W1(e,t={},n){return e?na.create().superRefine((r,i)=>{var a,o;if(!e(r)){const l=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,c=(o=(a=l.fatal)!==null&&a!==void 0?a:n)!==null&&o!==void 0?o:!0,u=typeof l=="string"?{message:l}:l;i.addIssue({code:"custom",...u,fatal:c})}}):na.create()}const cI={object:We.lazycreate};var de;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(de||(de={}));const uI=(e,t={message:`Input not instance of ${e.name}`})=>W1(n=>n instanceof e,t),H1=Rn.create,q1=yi.create,dI=Hc.create,hI=bi.create,Z1=So.create,pI=Yi.create,fI=$c.create,mI=Ao.create,gI=_o.create,xI=na.create,vI=Ui.create,yI=zr.create,bI=Uc.create,wI=Fn.create,jI=We.create,kI=We.strictCreate,NI=To.create,EI=_u.create,CI=Po.create,SI=dr.create,AI=Io.create,_I=Wc.create,TI=Xi.create,PI=Rs.create,II=zo.create,zI=Oo.create,OI=wi.create,RI=Ro.create,DI=ra.create,tv=$n.create,MI=ar.create,FI=ji.create,LI=$n.createWithPreprocess,VI=nl.create,BI=()=>H1().optional(),$I=()=>q1().optional(),UI=()=>Z1().optional(),WI={string:e=>Rn.create({...e,coerce:!0}),number:e=>yi.create({...e,coerce:!0}),boolean:e=>So.create({...e,coerce:!0}),bigint:e=>bi.create({...e,coerce:!0}),date:e=>Yi.create({...e,coerce:!0})},HI=he;var Oe=Object.freeze({__proto__:null,defaultErrorMap:ta,setErrorMap:HP,getErrorMap:Lc,makeIssue:Vc,EMPTY_PATH:qP,addIssueToContext:J,ParseStatus:At,INVALID:he,DIRTY:js,OK:Dt,isAborted:lp,isDirty:cp,isValid:Eo,isAsync:Co,get util(){return Ee},get objectUtil(){return op},ZodParsedType:ee,getParsedType:Gr,ZodType:we,datetimeRegex:$1,ZodString:Rn,ZodNumber:yi,ZodBigInt:bi,ZodBoolean:So,ZodDate:Yi,ZodSymbol:$c,ZodUndefined:Ao,ZodNull:_o,ZodAny:na,ZodUnknown:Ui,ZodNever:zr,ZodVoid:Uc,ZodArray:Fn,ZodObject:We,ZodUnion:To,ZodDiscriminatedUnion:_u,ZodIntersection:Po,ZodTuple:dr,ZodRecord:Io,ZodMap:Wc,ZodSet:Xi,ZodFunction:Rs,ZodLazy:zo,ZodLiteral:Oo,ZodEnum:wi,ZodNativeEnum:Ro,ZodPromise:ra,ZodEffects:$n,ZodTransformer:$n,ZodOptional:ar,ZodNullable:ji,ZodDefault:Do,ZodCatch:Mo,ZodNaN:Hc,BRAND:lI,ZodBranded:tm,ZodPipeline:nl,ZodReadonly:Fo,custom:W1,Schema:we,ZodSchema:we,late:cI,get ZodFirstPartyTypeKind(){return de},coerce:WI,any:xI,array:wI,bigint:hI,boolean:Z1,date:pI,discriminatedUnion:EI,effect:tv,enum:OI,function:PI,instanceof:uI,intersection:CI,lazy:II,literal:zI,map:_I,nan:dI,nativeEnum:RI,never:yI,null:gI,nullable:FI,number:q1,object:jI,oboolean:UI,onumber:$I,optional:MI,ostring:BI,pipeline:VI,preprocess:LI,promise:DI,record:AI,set:TI,strictObject:kI,string:H1,symbol:fI,transformer:tv,tuple:SI,undefined:mI,union:NI,unknown:vI,void:bI,NEVER:HI,ZodIssueCode:q,quotelessJson:WP,ZodError:on});Oe.object({companyName:Oe.string().min(1,"Bedrijfsnaam is verplicht"),teamSize:Oe.string().min(1,"Selecteer de teamgrootte"),aiUsage:Oe.string().min(1,"Selecteer uw AI ervaring"),painPoints:Oe.string().min(1,"Selecteer uw grootste frustratie"),priorityProcess:Oe.string().max(500,"Maximaal 500 karakters").optional(),firstName:Oe.string().min(1,"Naam is verplicht"),lastName:Oe.string().optional(),email:Oe.string().email("Ongeldig e-mailadres"),phone:Oe.string().optional(),wantsConsultation:Oe.boolean().default(!1)});const qI=Oe.object({companyName:Oe.string().min(1,"Bedrijfsnaam is verplicht"),teamSize:Oe.string().min(1,"Selecteer de teamgrootte")}),ZI=Oe.object({aiUsage:Oe.string().min(1,"Selecteer uw AI ervaring")}),GI=Oe.object({painPoints:Oe.string().min(1,"Selecteer uw grootste frustratie")}),KI=Oe.object({priorityProcess:Oe.string().max(500,"Maximaal 500 karakters").optional()}),QI=Oe.object({firstName:Oe.string().min(1,"Naam is verplicht"),lastName:Oe.string().optional(),email:Oe.string().email("Ongeldig e-mailadres"),phone:Oe.string().optional(),wantsConsultation:Oe.boolean().default(!1)}),YI=({currentStep:e,totalSteps:t})=>s.jsx("div",{className:"w-full mb-6",children:s.jsx("div",{className:"w-full bg-[#E3F2FD] rounded-full h-2 overflow-hidden",children:s.jsx("div",{className:"bg-gradient-to-r from-[#E57373] to-[#FF8A65] h-2 rounded-full transition-all duration-500 ease-out shadow-[0px_2px_8px_rgba(229,115,115,0.4)]",style:{width:`${e/t*100}%`}})})}),XI=({onBack:e,onNext:t,showBack:n,isLastStep:r,isNextDisabled:i=!1,isLoading:a=!1})=>s.jsxs("div",{className:"flex justify-between items-center mt-12",children:[n&&e?s.jsxs(Se,{type:"button",variant:"ghost",onClick:e,className:"text-[#546E7A] hover:text-[#1565C0] hover:bg-[#E3F2FD] font-medium px-6 py-3 rounded-lg transition-all duration-300",disabled:a,children:[s.jsx(Xs,{className:"w-5 h-5 mr-2"}),"Terug"]}):s.jsx("div",{}),s.jsx(Se,{type:"button",onClick:t,disabled:i||a,className:`
font-semibold px-6 py-3 text-[16px] rounded-lg transition-all duration-300
shadow-[0px_8px_20px_rgba(229,115,115,0.25)] hover:shadow-[0px_12px_30px_rgba(229,115,115,0.35)]
${r?"bg-gradient-to-r from-[#E57373] to-[#FF8A65] hover:from-[#FF8A65] hover:to-[#E57373] text-white hover:-translate-y-1 scale-105":"bg-[#E57373] hover:bg-[#FF8A65] text-white hover:-translate-y-0.5"}
disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:transform-none
`,children:a?s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"animate-spin mr-2",children:"⏳"}),"Versturen..."]}):s.jsxs(s.Fragment,{children:[r&&s.jsx(DN,{className:"w-5 h-5 mr-2"}),r?"Stuur mij mijn rapport":"Volgende",!r&&s.jsx(ht,{className:"w-5 h-5 ml-2"})]})})]}),JI=[{value:"1-5",label:"1-5",icon:qa,iconColor:"text-[#1565C0]",iconSize:"w-5 h-5"},{value:"6-15",label:"6-15",icon:qa,iconColor:"text-[#1565C0]",iconSize:"w-6 h-6"},{value:"16-50",label:"16-50",icon:qa,iconColor:"text-[#E57373]",iconSize:"w-7 h-7"},{value:"51-200",label:"51-200",icon:rb,iconColor:"text-[#E57373]",iconSize:"w-7 h-7"},{value:"200",label:"200+",icon:ib,iconColor:"text-[#1565C0]",iconSize:"w-8 h-8"}],ez=({form:e})=>{const t=e.watch("teamSize");return s.jsxs("div",{className:"space-y-8",children:[s.jsxs("div",{className:"text-center mb-8",children:[s.jsx("div",{className:"w-24 h-1 bg-[#E57373] mx-auto mb-6"}),s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-3 tracking-tight",children:"Start uw gratis AI Potentie Analyse"}),s.jsxs("div",{className:"flex items-center justify-center gap-4 text-[#546E7A] text-[14px]",children:[s.jsx("span",{children:"Duurt 3 minuten"}),s.jsx("span",{className:"text-[#546E7A]/30",children:"•"}),s.jsx("span",{children:"Persoonlijk rapport binnen 24 uur"})]})]}),s.jsxs("div",{className:"space-y-3",children:[s.jsx(Ct,{htmlFor:"companyName",className:"text-[16px] font-semibold text-[#263238]",children:"Wat is de naam van uw bedrijf? *"}),s.jsxs("div",{className:"relative",children:[s.jsx(rb,{className:"absolute left-3 top-3.5 w-5 h-5 text-[#546E7A]/40 z-10 pointer-events-none"}),s.jsx(nr,{id:"companyName",...e.register("companyName"),placeholder:"Bedrijfsnaam",className:"pl-10 bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] h-12 rounded-lg transition-all text-[16px]"})]}),e.formState.errors.companyName&&s.jsx("p",{className:"text-red-500 text-sm mt-2",children:e.formState.errors.companyName.message})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsx(Ct,{className:"text-[16px] font-semibold text-[#263238]",children:"Hoeveel medewerkers werken er bij uw organisatie? *"}),s.jsx("div",{className:"space-y-3",children:JI.map(n=>{const r=t===n.value;return s.jsxs("button",{type:"button",onClick:()=>e.setValue("teamSize",n.value),className:`
relative p-6 rounded-xl border-2 transition-all duration-300
text-left hover:scale-[1.02] hover:-translate-y-1
${r?"border-[#E57373] bg-[#E57373]/5 shadow-[0px_8px_20px_rgba(229,115,115,0.15)]":"border-[#E3F2FD] bg-white hover:border-[#2196F3]/30 shadow-[0px_4px_12px_rgba(38,50,56,0.05)]"}
`,children:[s.jsx("div",{className:`
absolute top-4 right-4 w-5 h-5 rounded-full border-2 transition-all
flex items-center justify-center
${r?"border-[#E57373] bg-[#E57373]":"border-[#546E7A]/30 bg-white"}
`,children:r&&s.jsx("div",{className:"w-2 h-2 rounded-full bg-white"})}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#E3F2FD] flex items-center justify-center shrink-0",children:s.jsx(n.icon,{className:`${n.iconSize} ${n.iconColor}`,strokeWidth:2})}),s.jsx("div",{className:"flex-1",children:s.jsxs("p",{className:`font-semibold text-[18px] ${r?"text-[#E57373]":"text-[#263238]"}`,children:[n.label," medewerkers"]})})]})]},n.value)})}),e.formState.errors.teamSize&&s.jsx("p",{className:"text-red-500 text-sm mt-2",children:e.formState.errors.teamSize.message})]}),s.jsx("style",{children:`
@keyframes slide-in {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-slide-in {
animation: slide-in 0.3s ease-out forwards;
}
`})]})},tz=[{value:"Dagelijks",label:"Dagelijks",icon:Hl,iconColor:"text-green-600"},{value:"Soms",label:"Soms",icon:ZN,iconColor:"text-[#1565C0]"},{value:"Nooit",label:"Nooit, maar wel geïnteresseerd",icon:uf,iconColor:"text-[#E57373]"},{value:"Niet geïnteresseerd",label:"Nooit en niet geïnteresseerd",icon:pu,iconColor:"text-[#546E7A]"}],nz=({form:e})=>{const t=e.watch("aiUsage");return s.jsxs("div",{className:"space-y-8",children:[s.jsxs("div",{className:"text-center mb-8",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-3 tracking-tight",children:"Wat is uw ervaring met AI tools?"}),s.jsx("p",{className:"text-[#546E7A] text-[16px]",children:"Zoals ChatGPT, Copilot, of andere AI-assistenten"})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsx(Ct,{className:"text-[16px] font-semibold text-[#263238]",children:"Gebruikt u momenteel AI tools in uw werk? *"}),s.jsx("div",{className:"space-y-3",children:tz.map(n=>{const r=t===n.value;return s.jsx("button",{type:"button",onClick:()=>e.setValue("aiUsage",n.value),className:`
w-full p-5 rounded-xl border-2 transition-all duration-300
text-left hover:scale-[1.02]
${r?"border-[#E57373] bg-[#E57373]/5 shadow-[0px_8px_20px_rgba(229,115,115,0.15)]":"border-[#E3F2FD] bg-white hover:border-[#2196F3]/30 shadow-[0px_4px_12px_rgba(38,50,56,0.05)]"}
`,children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#E3F2FD] flex items-center justify-center shrink-0",children:s.jsx(n.icon,{className:`w-6 h-6 ${n.iconColor}`,strokeWidth:2})}),s.jsx("div",{className:"flex-1",children:s.jsx("p",{className:`font-semibold text-[16px] ${r?"text-[#E57373]":"text-[#263238]"}`,children:n.label})}),s.jsx("div",{className:`
w-5 h-5 rounded-full border-2 transition-all
flex items-center justify-center shrink-0
${r?"border-[#E57373] bg-[#E57373]":"border-[#546E7A]/30 bg-white"}
`,children:r&&s.jsx("div",{className:"w-2 h-2 rounded-full bg-white"})})]})},n.value)})}),e.formState.errors.aiUsage&&s.jsx("p",{className:"text-red-500 text-sm mt-2",children:e.formState.errors.aiUsage.message})]})]})},rz=[{value:"Te veel tijd aan handmatig werk",icon:hu,iconColor:"text-[#1565C0]"},{value:"Inconsistente resultaten en fouten",icon:QN,iconColor:"text-[#1565C0]"},{value:"Hoge kosten door inefficiëntie",icon:ab,iconColor:"text-[#1565C0]"},{value:"Gebrek aan overzicht en controle",icon:ON,iconColor:"text-[#1565C0]"},{value:"Moeilijk om te groeien",icon:Qo,iconColor:"text-[#1565C0]"}],iz=({form:e})=>{const t=e.watch("painPoints");return s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"text-center mb-4",children:[s.jsx("h2",{className:"text-[24px] lg:text-[28px] font-semibold text-[#1565C0] mb-2 tracking-tight",children:"Wat is uw grootste frustratie?"}),s.jsx("p",{className:"text-[#546E7A] text-[15px]",children:"Kies de optie die het meest van toepassing is"})]}),s.jsxs("div",{className:"space-y-3",children:[s.jsx(Ct,{className:"text-[15px] font-semibold text-[#263238]",children:"Selecteer uw belangrijkste uitdaging *"}),s.jsx("div",{className:"space-y-2.5",children:rz.map(n=>{const r=t===n.value;return s.jsx("button",{type:"button",onClick:()=>e.setValue("painPoints",n.value),className:`
w-full p-4 rounded-xl border-2 transition-all duration-300
text-left hover:scale-[1.01]
${r?"border-[#E57373] bg-[#E57373]/5 shadow-[0px_8px_20px_rgba(229,115,115,0.15)]":"border-[#E3F2FD] bg-white hover:border-[#2196F3]/30 shadow-[0px_4px_12px_rgba(38,50,56,0.05)]"}
`,children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#E3F2FD] flex items-center justify-center shrink-0",children:s.jsx(n.icon,{className:`w-5 h-5 ${n.iconColor}`,strokeWidth:2})}),s.jsx("div",{className:"flex-1",children:s.jsx("p",{className:`font-semibold text-[15px] ${r?"text-[#E57373]":"text-[#263238]"}`,children:n.value})}),s.jsx("div",{className:`
w-5 h-5 rounded-full border-2 transition-all
flex items-center justify-center shrink-0
${r?"border-[#E57373] bg-white":"border-[#546E7A]/30 bg-white"}
`,children:r&&s.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-[#E57373]"})})]})},n.value)})}),e.formState.errors.painPoints&&s.jsx("p",{className:"text-red-500 text-sm mt-2",children:e.formState.errors.painPoints.message})]})]})},sz=({form:e})=>{const n=(e.watch("priorityProcess")||"").length,r=500,i=()=>n>r-50?"text-[#E57373]":"text-[#546E7A]";return s.jsxs("div",{className:"space-y-8",children:[s.jsxs("div",{className:"text-center",children:[s.jsx("div",{className:"w-24 h-1 bg-[#E57373] mx-auto mb-6"}),s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-3 tracking-tight",children:"Bijna klaar! Nog één belangrijke vraag..."})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsx(Ct,{htmlFor:"priorityProcess",className:"text-[18px] font-semibold text-[#263238] flex items-center gap-2",children:"Welk proces zou u het liefst als eerste automatiseren?"}),s.jsx("div",{className:"p-4 bg-gradient-to-r from-[#E3F2FD] to-[#E3F2FD]/50 rounded-xl border-l-4 border-l-[#1565C0]",children:s.jsxs("p",{className:"text-[14px] text-[#263238] flex items-start gap-2",children:[s.jsx(uf,{className:"w-5 h-5 text-[#E57373] shrink-0 mt-0.5"}),s.jsxs("span",{children:[s.jsx("span",{className:"font-semibold",children:"Tip:"})," Hoe specifieker, hoe beter we kunnen helpen! Bijvoorbeeld: 'Offertes maken', 'Rapporten opstellen' of 'Facturen verwerken'."]})]})}),s.jsxs("div",{className:"relative",children:[s.jsx(Uf,{id:"priorityProcess",...e.register("priorityProcess"),rows:4,maxLength:r,className:"bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] resize-none rounded-xl transition-all text-[16px] p-6",placeholder:"Bijvoorbeeld: Het maken van taxatierapporten kost ons 10 uur per week..."}),s.jsx("div",{className:"absolute bottom-4 right-4 flex items-center gap-2",children:s.jsxs("span",{className:`text-[12px] font-medium ${i()} bg-white/90 px-3 py-1 rounded-full shadow-sm`,children:[n,"/",r]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx("p",{className:"text-[13px] text-[#546E7A]",children:"Een paar woorden is genoeg"}),s.jsx("p",{className:"text-[12px] text-[#546E7A]/80",children:"Nog niet zeker? U kunt dit ook overslaan."})]}),e.formState.errors.priorityProcess&&s.jsxs("p",{className:"text-red-500 text-sm flex items-center gap-2",children:[s.jsx(sb,{className:"w-4 h-4"}),e.formState.errors.priorityProcess.message]})]})]})};function az(e){const t=b.useRef({value:e,previous:e});return b.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var nm="Checkbox",[oz,Cz]=Zo(nm),[lz,cz]=oz(nm),G1=b.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:i,defaultChecked:a,required:o,disabled:l,value:c="on",onCheckedChange:u,form:d,...h}=e,[p,f]=b.useState(null),x=Zt(t,k=>f(k)),v=b.useRef(!1),w=p?d||!!p.closest("form"):!0,[m=!1,g]=Ko({prop:i,defaultProp:a,onChange:u}),y=b.useRef(m);return b.useEffect(()=>{const k=p==null?void 0:p.form;if(k){const C=()=>g(y.current);return k.addEventListener("reset",C),()=>k.removeEventListener("reset",C)}},[p,g]),s.jsxs(lz,{scope:n,state:m,disabled:l,children:[s.jsx(Xe.button,{type:"button",role:"checkbox","aria-checked":hi(m)?"mixed":m,"aria-required":o,"data-state":Y1(m),"data-disabled":l?"":void 0,disabled:l,value:c,...h,ref:x,onKeyDown:qe(e.onKeyDown,k=>{k.key==="Enter"&&k.preventDefault()}),onClick:qe(e.onClick,k=>{g(C=>hi(C)?!0:!C),w&&(v.current=k.isPropagationStopped(),v.current||k.stopPropagation())})}),w&&s.jsx(uz,{control:p,bubbles:!v.current,name:r,value:c,checked:m,required:o,disabled:l,form:d,style:{transform:"translateX(-100%)"},defaultChecked:hi(a)?!1:a})]})});G1.displayName=nm;var K1="CheckboxIndicator",Q1=b.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...i}=e,a=cz(K1,n);return s.jsx(Go,{present:r||hi(a.state)||a.state===!0,children:s.jsx(Xe.span,{"data-state":Y1(a.state),"data-disabled":a.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});Q1.displayName=K1;var uz=e=>{const{control:t,checked:n,bubbles:r=!0,defaultChecked:i,...a}=e,o=b.useRef(null),l=az(n),c=Ib(t);b.useEffect(()=>{const d=o.current,h=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(h,"checked").set;if(l!==n&&f){const x=new Event("click",{bubbles:r});d.indeterminate=hi(n),f.call(d,hi(n)?!1:n),d.dispatchEvent(x)}},[l,n,r]);const u=b.useRef(hi(n)?!1:n);return s.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:i??u.current,...a,tabIndex:-1,ref:o,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function hi(e){return e==="indeterminate"}function Y1(e){return hi(e)?"indeterminate":e?"checked":"unchecked"}var X1=G1,dz=Q1;const J1=b.forwardRef(({className:e,...t},n)=>s.jsx(X1,{ref:n,className:Pe("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:s.jsx(dz,{className:Pe("flex items-center justify-center text-current"),children:s.jsx(go,{className:"h-4 w-4"})})}));J1.displayName=X1.displayName;const hz=({form:e})=>{const t=e.watch("wantsConsultation");return s.jsxs("div",{className:"space-y-8",children:[s.jsx("div",{className:"flex justify-start -mt-2 mb-4",children:s.jsxs(ge,{to:"/",className:"flex items-center gap-2 text-[14px] text-[#546E7A] hover:text-[#1565C0] transition-colors group",children:[s.jsx(Xs,{className:"w-4 h-4 group-hover:-translate-x-1 transition-transform"}),s.jsx("span",{children:"Terug naar home"})]})}),s.jsxs("div",{className:"text-center",children:[s.jsx("h2",{className:"text-[28px] lg:text-[32px] font-semibold text-[#1565C0] mb-3 tracking-tight leading-tight",children:"Waar mogen we uw persoonlijke AI Potentie Rapport naartoe sturen?"}),s.jsx("p",{className:"text-[#546E7A] text-[16px] flex items-center justify-center gap-2",children:"U ontvangt binnen 24 uur uw rapport met:"})]}),s.jsx("div",{className:"p-6 bg-[#E3F2FD] rounded-xl",children:s.jsx("div",{className:"space-y-3",children:["Geschatte tijdsbesparing per week","Potentiële kostenbesparing per jaar","3 concrete automatiseringsmogelijkheden","Persoonlijke implementatie roadmap"].map((n,r)=>s.jsxs("div",{className:"flex items-start gap-3 text-[14px] text-[#263238]",children:[s.jsx(go,{className:"w-5 h-5 text-[#34B233] shrink-0 mt-0.5"}),s.jsx("span",{children:n})]},r))})}),s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[s.jsx(db,{className:"w-5 h-5 text-[#1565C0]"}),s.jsx("p",{className:"text-[16px] font-semibold text-[#263238]",children:"Uw gegevens"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(Ct,{htmlFor:"firstName",className:"text-[14px] font-semibold text-[#263238]",children:"Naam *"}),s.jsx(nr,{id:"firstName",...e.register("firstName"),className:"bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] h-12 rounded-lg transition-all",placeholder:"Uw naam"}),e.formState.errors.firstName&&s.jsx("p",{className:"text-red-500 text-sm",children:e.formState.errors.firstName.message})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(Ct,{htmlFor:"email",className:"text-[14px] font-semibold text-[#263238]",children:"E-mailadres *"}),s.jsx(nr,{id:"email",type:"email",...e.register("email"),className:"bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] h-12 rounded-lg transition-all",placeholder:"uw@email.nl"}),e.formState.errors.email&&s.jsx("p",{className:"text-red-500 text-sm",children:e.formState.errors.email.message})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(Ct,{htmlFor:"phone",className:"text-[14px] font-semibold text-[#263238]",children:["Telefoonnummer ",s.jsx("span",{className:"text-[#546E7A] font-normal",children:"(optioneel)"})]}),s.jsx(nr,{id:"phone",type:"tel",...e.register("phone"),className:"bg-[#E3F2FD] border-0 focus:bg-white focus:ring-2 focus:ring-[#2196F3] h-12 rounded-lg transition-all",placeholder:"06 12345678"}),e.formState.errors.phone&&s.jsx("p",{className:"text-red-500 text-sm",children:e.formState.errors.phone.message})]}),s.jsx("div",{className:"space-y-4 pt-4 border-t-2 border-[#E3F2FD]",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(J1,{id:"wantsConsultation",checked:t,onCheckedChange:n=>e.setValue("wantsConsultation",n),className:"mt-1 h-5 w-5 rounded border-2 border-[#1565C0] data-[state=checked]:bg-[#1565C0]"}),s.jsxs(Ct,{htmlFor:"wantsConsultation",className:"text-[14px] text-[#263238] leading-relaxed cursor-pointer flex-1",children:["Ja, ik wil graag een ",s.jsx("span",{className:"font-semibold",children:"gratis 30-min strategiegesprek"})," inplannen"]})]})})]}),s.jsx("div",{className:"bg-[#E3F2FD] p-5 rounded-xl border-l-4 border-[#1565C0]",children:s.jsxs("p",{className:"text-[14px] text-[#263238] leading-relaxed",children:["Wij gebruiken uw gegevens om een gepersonaliseerd automatiseringsrapport te maken. Daarnaast kunnen wij contact met u opnemen om het rapport toe te lichten of u te informeren over relevante automatiseringsmogelijkheden. Zie onze"," ",s.jsx(ge,{to:"/privacyverklaring",className:"text-[#1565C0] font-medium underline hover:text-[#2196F3]",children:"privacyverklaring"})," ","voor meer informatie."]})})]})},Td=5,pz=()=>{const[e,t]=b.useState(1),[n,r]=b.useState(!1),[i,a]=b.useState(!1),o=hw(),l=UP({mode:"onChange",defaultValues:{companyName:"",teamSize:"",aiUsage:"",painPoints:"",priorityProcess:"",firstName:"",lastName:"",email:"",phone:"",wantsConsultation:!1}}),c=async()=>{const f=l.getValues();try{switch(e){case 1:await qI.parseAsync({companyName:f.companyName,teamSize:f.teamSize});break;case 2:await ZI.parseAsync({aiUsage:f.aiUsage});break;case 3:await GI.parseAsync({painPoints:f.painPoints});break;case 4:await KI.parseAsync({priorityProcess:f.priorityProcess});break;case 5:await QI.parseAsync({firstName:f.firstName,lastName:f.lastName,email:f.email,phone:f.phone,wantsConsultation:f.wantsConsultation});break;default:return!0}return!0}catch(x){return x.errors&&x.errors.forEach(v=>{const w=v.path[0];l.setError(w,{type:"manual",message:v.message})}),!1}},u=async()=>{if(!await c()){const x=document.querySelector('[class*="text-red"]');x&&x.scrollIntoView({behavior:"smooth",block:"center"});return}e<Td?(a(!0),setTimeout(()=>{t(e+1),a(!1),window.scrollTo({top:0,behavior:"smooth"})},200)):await h()},d=()=>{e>1&&(a(!0),setTimeout(()=>{t(e-1),a(!1),window.scrollTo({top:0,behavior:"smooth"})},200))},h=async()=>{r(!0);try{const f=l.getValues(),x=await fetch("/.netlify/functions/submit-ai-scan",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...f,submittedAt:new Date().toISOString()})});if(!x.ok)throw new Error("Failed to submit form");const v=await x.json();console.log("Form submitted successfully:",v),o("/ai-scan/bedankt")}catch(f){console.error("Error submitting form:",f),l.setError("root",{type:"manual",message:"Er is iets misgegaan bij het versturen. Probeer het opnieuw of neem contact met ons op."}),r(!1)}},p=()=>{const f={form:l};switch(e){case 1:return s.jsx(ez,{...f});case 2:return s.jsx(nz,{...f});case 3:return s.jsx(iz,{...f});case 4:return s.jsx(sz,{...f});case 5:return s.jsx(hz,{...f});default:return null}};return s.jsxs("div",{className:"w-full max-w-3xl mx-auto px-4 py-6",children:[s.jsx(YI,{currentStep:e,totalSteps:Td}),s.jsxs("div",{className:`
bg-white rounded-2xl shadow-[0px_10px_30px_rgba(38,50,56,0.08)] p-6 md:p-8
transition-all duration-500 ease-out
${i?"opacity-0 scale-95 translate-y-4":"opacity-100 scale-100 translate-y-0"}
`,children:[s.jsx("div",{className:"flex justify-center mb-6",children:s.jsx("img",{src:"/deltaflow_logodeltaflow_logo_text_side.svg",alt:"DeltaFlow AI",className:"h-7 md:h-8"})}),s.jsx("div",{children:p()}),l.formState.errors.root&&s.jsx("div",{className:"mt-6 p-4 bg-red-50 border-l-4 border-l-red-500 rounded-lg animate-fade-in",children:s.jsx("p",{className:"text-sm text-red-700",children:l.formState.errors.root.message})}),s.jsx(XI,{onBack:d,onNext:u,showBack:e>1,isLastStep:e===Td,isLoading:n})]}),s.jsx("style",{children:`
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out forwards;
}
/* Smooth transitions for all interactive elements */
button, input, select, textarea, [role="button"] {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Enhanced focus styles */
*:focus-visible {
outline: 2px solid #E57373;
outline-offset: 2px;
border-radius: 4px;
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
`})]})},fz=()=>s.jsxs("div",{className:"min-h-screen bg-[#FAFAFA] font-jakarta selection:bg-[#E57373]/30",children:[s.jsxs(pr,{children:[s.jsx("title",{children:"Gratis AI Potentie Analyse - Ontdek Uw Automatiseringsmogelijkheden | DeltaFlow AI"}),s.jsx("meta",{name:"description",content:"Ontdek in 3 minuten hoeveel tijd en geld uw bedrijf kan besparen met AI-automatisering. Ontvang binnen 24 uur een persoonlijk rapport met concrete automatiseringsmogelijkheden en implementatie roadmap."}),s.jsx("meta",{property:"og:title",content:"Gratis AI Potentie Analyse - DeltaFlow AI"}),s.jsx("meta",{property:"og:description",content:"Krijg binnen 24 uur een persoonlijk rapport met uw tijdsbesparing, kostenbesparing en concrete automatiseringsmogelijkheden."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("link",{rel:"canonical",href:"https://deltaflowai.nl/ai-scan"}),s.jsx("meta",{name:"robots",content:"index, follow"}),s.jsx("meta",{name:"keywords",content:"AI scan, automatisering, tijdsbesparing, bedrijven, bedrijfsprocessen, AI potentie analyse"})]}),s.jsx("main",{className:"py-8 lg:py-12",children:s.jsx("div",{className:"container mx-auto px-6 lg:px-8 max-w-[700px]",children:s.jsx(pz,{})})})]}),mz=()=>{const[e,t]=b.useState(!1);return b.useEffect(()=>{t(!0)},[]),s.jsxs("div",{className:"min-h-screen bg-[#FAFAFA] font-jakarta selection:bg-[#E57373]/30",children:[s.jsxs(pr,{children:[s.jsx("title",{children:"Bedankt - Uw AI Potentie Analyse is Ontvangen | DeltaFlow AI"}),s.jsx("meta",{name:"description",content:"Bedankt voor het invullen van de AI Potentie Analyse. U ontvangt binnen 24 uur een persoonlijk rapport met concrete automatiseringsmogelijkheden en besparingen."}),s.jsx("meta",{property:"og:title",content:"AI Scan Ontvangen - DeltaFlow AI"}),s.jsx("meta",{property:"og:description",content:"Uw analyse is ontvangen. Binnen 24 uur ontvangt u een persoonlijk rapport."}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("link",{rel:"canonical",href:"https://deltaflowai.nl/ai-scan/bedankt"}),s.jsx("meta",{name:"robots",content:"noindex, follow"})]}),s.jsx(Gt,{}),s.jsxs("main",{className:"overflow-hidden",children:[s.jsxs("section",{className:"relative py-24 lg:py-32 bg-gradient-to-br from-[#1565C0] via-[#1976D2] to-[#1565C0] overflow-hidden",children:[s.jsx("div",{className:"absolute inset-0 opacity-10",children:s.jsx("svg",{className:"absolute top-0 right-0 w-1/2 h-full",viewBox:"0 0 400 600",fill:"none",children:s.jsx("path",{d:"M400,0 Q300,150 400,300 T400,600 L400,0 Z",fill:"#2196F3",opacity:"0.3"})})}),s.jsx("div",{className:"absolute inset-0 opacity-20",style:{background:"radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.2) 0%, transparent 50%)",animation:"pulse 3s ease-in-out infinite"}}),s.jsx("div",{className:"container mx-auto px-6 lg:px-8 max-w-[900px] relative z-10",children:s.jsx("div",{className:"text-center",children:s.jsxs("div",{className:`transition-all duration-1000 ${e?"opacity-100 scale-100":"opacity-0 scale-95"}`,children:[s.jsx("div",{className:"inline-flex items-center justify-center w-24 h-24 bg-white/10 backdrop-blur-sm rounded-full mb-8 animate-bounce-slow",children:s.jsx("div",{className:"w-20 h-20 bg-green-500 rounded-full flex items-center justify-center",children:s.jsx(oa,{className:"w-12 h-12 text-white animate-check-in",strokeWidth:3})})}),s.jsx("h1",{className:"text-[40px] lg:text-[56px] font-bold leading-tight mb-6 text-white tracking-tight",children:"Bedankt voor uw AI Scan!"}),s.jsx("p",{className:"text-[18px] lg:text-[20px] text-white/95 leading-relaxed mb-4",children:"We hebben uw gegevens ontvangen en gaan meteen aan de slag met uw analyse."}),s.jsxs("div",{className:"inline-flex items-center gap-2 px-6 py-3 bg-white/10 backdrop-blur-sm rounded-full text-white/90 text-[16px] font-medium",children:[s.jsx(xo,{className:"w-5 h-5 text-[#FFD700]"}),s.jsx("span",{children:"Rapport wordt voor u klaargemaakt"})]})]})})})]}),s.jsxs("section",{className:"py-20 lg:py-24 bg-[#FAFAFA] relative",children:[s.jsx("svg",{className:"absolute top-0 right-0 w-64 h-64 opacity-5 rotate-180",viewBox:"0 0 200 200",children:s.jsx("circle",{cx:"200",cy:"0",r:"200",fill:"#1565C0"})}),s.jsxs("div",{className:"container mx-auto px-6 lg:px-8 max-w-[1000px] relative z-10",children:[s.jsxs("div",{className:"text-center mb-16",children:[s.jsx("div",{className:"w-24 h-1 bg-[#E57373] mx-auto mb-6"}),s.jsx("h2",{className:"text-[32px] lg:text-[40px] font-semibold text-[#1565C0] mb-4 tracking-tight",children:"Wat gebeurt er nu?"}),s.jsx("p",{className:"text-[18px] text-[#546E7A] leading-relaxed",children:"We gaan direct voor u aan de slag"})]}),s.jsxs("div",{className:"relative",children:[s.jsx("div",{className:"hidden md:block absolute left-[31px] top-8 bottom-8 w-0.5 bg-gradient-to-b from-[#E57373] via-[#1565C0] to-[#4CAF50]"}),s.jsx("div",{className:"space-y-8",children:[{icon:Qo,iconBg:"bg-[#E57373]",title:"Analyse wordt uitgevoerd",desc:"Onze AI-experts analyseren uw antwoorden en berekenen uw tijds- en kostenbesparing.",time:"Nu"},{icon:FN,iconBg:"bg-[#1565C0]",title:"Persoonlijk rapport wordt opgesteld",desc:"We stellen een rapport op met concrete automatiseringsmogelijkheden specifiek voor uw bedrijf.",time:"Binnen 12 uur"},{icon:xo,iconBg:"bg-[#4CAF50]",title:"U ontvangt uw rapport per e-mail",desc:"Het rapport wordt naar uw e-mailadres gestuurd met praktische implementatie-adviezen en een persoonlijke roadmap.",time:"Binnen 24 uur"}].map((n,r)=>s.jsx("div",{className:`relative transition-all duration-700 delay-${r*100} ${e?"opacity-100 translate-x-0":"opacity-0 -translate-x-8"}`,children:s.jsx(xt,{className:"border-0 shadow-[0px_10px_30px_rgba(38,50,56,0.08)] hover:shadow-[0px_15px_40px_rgba(38,50,56,0.12)] transition-all duration-300 hover:scale-[1.01] bg-white rounded-2xl overflow-hidden",children:s.jsx(wn,{className:"p-6 lg:p-8",children:s.jsxs("div",{className:"flex items-start gap-6",children:[s.jsx("div",{className:`flex-shrink-0 w-16 h-16 ${n.iconBg} rounded-xl flex items-center justify-center text-white shadow-lg`,children:s.jsx(n.icon,{className:"w-8 h-8",strokeWidth:2})}),s.jsxs("div",{className:"flex-1",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("h3",{className:"text-[20px] lg:text-[22px] font-semibold text-[#263238]",children:n.title}),s.jsx("span",{className:"hidden sm:inline-block px-3 py-1 bg-[#E3F2FD] text-[#1565C0] text-[14px] font-medium rounded-full",children:n.time})]}),s.jsx("p",{className:"text-[16px] text-[#546E7A] leading-relaxed",children:n.desc}),s.jsx("span",{className:"sm:hidden inline-block px-3 py-1 bg-[#E3F2FD] text-[#1565C0] text-[14px] font-medium rounded-full mt-3",children:n.time})]})]})})})},r))})]}),s.jsxs("div",{className:"mt-16 flex flex-col sm:flex-row gap-4 justify-center",children:[s.jsx(Se,{asChild:!0,className:"bg-[#1565C0] hover:bg-[#2196F3] text-white font-semibold px-8 py-6 text-[16px] rounded-lg shadow-[0px_8px_20px_rgba(21,101,192,0.25)] hover:shadow-[0px_12px_28px_rgba(21,101,192,0.35)] transition-all duration-300 hover:-translate-y-0.5",children:s.jsxs("a",{href:"https://calendly.com/business-deltaflowai/30-minuten-ai-scan",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center",children:[s.jsx(Nc,{className:"w-5 h-5 mr-2"}),"Plan Gratis Strategiegesprek"]})}),s.jsx(Se,{asChild:!0,variant:"outline",className:"border-2 border-[#1565C0] text-[#1565C0] hover:bg-[#1565C0] hover:text-white font-semibold px-8 py-6 text-[16px] rounded-lg transition-all duration-300",children:s.jsxs(ge,{to:"/",className:"inline-flex items-center",children:[s.jsx(VN,{className:"w-5 h-5 mr-2"}),"Terug naar Home"]})})]})]})]}),s.jsx("section",{className:"py-16 bg-[#E3F2FD] border-t border-[#2196F3]/10",children:s.jsxs("div",{className:"container mx-auto px-6 lg:px-8 max-w-[1200px]",children:[s.jsx("div",{className:"text-center mb-12",children:s.jsx("h2",{className:"text-[24px] lg:text-[28px] font-semibold text-[#1565C0] mb-4",children:"Uw rapport bevat:"})}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[{icon:hu,iconColor:"text-[#1565C0]",title:"Tijdsbesparing",desc:"Exacte berekening van uren per week"},{icon:ab,iconColor:"text-[#E57373]",title:"Kostenbesparing",desc:"Jaarlijkse besparing in euro's"},{icon:uf,iconColor:"text-[#1565C0]",title:"3 Mogelijkheden",desc:"Concrete automatisering-opties"},{icon:GN,iconColor:"text-[#E57373]",title:"Roadmap",desc:"Stappenplan om te starten"}].map((n,r)=>s.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-[0px_10px_30px_rgba(38,50,56,0.08)] hover:shadow-[0px_12px_32px_rgba(38,50,56,0.1)] transition-all duration-300",children:[s.jsx("div",{className:"mb-4 flex justify-center",children:s.jsx("div",{className:"w-14 h-14 rounded-xl bg-[#E3F2FD] flex items-center justify-center",children:s.jsx(n.icon,{className:`w-7 h-7 ${n.iconColor}`,strokeWidth:2})})}),s.jsx("h3",{className:"font-semibold text-[#1565C0] text-[18px] mb-2",children:n.title}),s.jsx("p",{className:"text-[#546E7A] text-[14px] leading-relaxed",children:n.desc})]},r))}),s.jsx("div",{className:"mt-12 text-center",children:s.jsxs("p",{className:"text-[#546E7A] text-[16px] leading-relaxed max-w-[600px] mx-auto",children:[s.jsx("span",{className:"font-semibold text-[#1565C0]",children:"Vrijblijvend en zonder verplichtingen."})," ","Het rapport is volledig gratis en geeft u direct inzicht in uw automatiseringsmogelijkheden."]})})]})})]}),s.jsx(Kt,{}),s.jsx("style",{children:`
@keyframes bounce-slow {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.animate-bounce-slow {
animation: bounce-slow 2s ease-in-out infinite;
}
@keyframes check-in {
0% {
transform: scale(0);
opacity: 0;
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
opacity: 1;
}
}
.animate-check-in {
animation: check-in 0.6s ease-out forwards;
animation-delay: 0.3s;
opacity: 0;
}
@keyframes pulse {
0%, 100% {
opacity: 0.2;
}
50% {
opacity: 0.4;
}
}
/* Ensure Plus Jakarta Sans is loaded */
body {
font-family: 'Plus Jakarta Sans', sans-serif;
}
.font-jakarta {
font-family: 'Plus Jakarta Sans', sans-serif;
}
/* Custom focus styles */
*:focus-visible {
outline: 2px solid #E57373;
outline-offset: 2px;
}
`})]})},gz=()=>{const{pathname:e}=rs();return b.useEffect(()=>{window.scrollTo(0,0)},[e]),null},xz=new sC,vz=()=>s.jsx(oC,{client:xz,children:s.jsxs(DE,{children:[s.jsx(z3,{}),s.jsx(l5,{}),s.jsxs(nS,{children:[s.jsx(gz,{}),s.jsxs(KC,{children:[s.jsx(kt,{path:"/",element:s.jsx(DS,{})}),s.jsx(kt,{path:"/over-ons",element:s.jsx(MS,{})}),s.jsx(kt,{path:"/diensten",element:s.jsx($S,{})}),s.jsx(kt,{path:"/case-studies",element:s.jsx(GS,{})}),s.jsx(kt,{path:"/case-studies/:caseId",element:s.jsx(VT,{})}),s.jsx(kt,{path:"/blog",element:s.jsx(WT,{})}),s.jsx(kt,{path:"/blog/:postId",element:s.jsx(ZT,{})}),s.jsx(kt,{path:"/proces",element:s.jsx(KT,{})}),s.jsx(kt,{path:"/contact",element:s.jsx(XT,{})}),s.jsx(kt,{path:"/faq",element:s.jsx(bP,{})}),s.jsx(kt,{path:"/privacyverklaring",element:s.jsx(wP,{})}),s.jsx(kt,{path:"/algemene-voorwaarden",element:s.jsx(jP,{})}),s.jsx(kt,{path:"/ai-scan",element:s.jsx(fz,{})}),s.jsx(kt,{path:"/ai-scan/bedankt",element:s.jsx(mz,{})}),s.jsx(kt,{path:"*",element:s.jsx(a1,{})})]})]})]})}),Pd=document.getElementById("root"),nv=s.jsx(kw,{children:s.jsx(vz,{})});Pd.hasChildNodes()?Ey(Pd,nv):Cy(Pd).render(nv);