vendor: 4,930 bytes, lines 1-9
1var ox=t=>{throw TypeError(t)};var Xd=(t,e,r)=>e.has(t)||ox("Cannot "+r);var R=(t,e,r)=>(Xd(t,e,"read from private field"),r?r.call(t):e.get(t)),je=(t,e,r)=>e.has(t)?ox("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),de=(t,e,r,s)=>(Xd(t,e,"write to private field"),s?s.call(t,r):e.set(t,r),r),mt=(t,e,r)=>(Xd(t,e,"access private method"),r);var il=(t,e,r,s)=>({set _(a){de(t,e,a,r)},get _(){return R(t,e,s)}});function Ov(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in t)){const i=Object.getOwnPropertyDescriptor(s,a);i&&Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:()=>s[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();function Wo(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function p2(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var a=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(r,s,a.get?a:{enumerable:!0,get:function(){return t[s]}})}),r}var Dv={exports:{}},ud={},Mv={exports:{}},pe={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Ho=Symbol.for("react.element"),x2=Symbol.for("react.portal"),g2=Symbol.for("react.fragment"),y2=Symbol.for("react.strict_mode"),v2=Symbol.for("react.profiler"),b2=Symbol.for("react.provider"),w2=Symbol.for("react.context"),j2=Symbol.for("react.forward_ref"),N2=Symbol.for("react.suspense"),S2=Symbol.for("react.memo"),_2=Symbol.for("react.lazy"),lx=Symbol.iterator;function k2(t){return t===null||typeof t!="object"?null:(t=lx&&t[lx]||t["@@iterator"],typeof t=="function"?t:null)}var Lv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zv=Object.assign,Bv={};function hi(t,e,r){this.props=t,this.context=e,this.refs=Bv,this.updater=r||Lv}hi.prototype.isReactComponent={};hi.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,e,"setState")};hi.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Fv(){}Fv.prototype=hi.prototype;function of(t,e,r){this.props=t,this.context=e,this.refs=Bv,this.updater=r||Lv}var lf=of.prototype=new Fv;lf.constructor=of;zv(lf,hi.prototype);lf.isPureReactComponent=!0;var cx=Array.isArray,$v=Object.prototype.hasOwnProperty,cf={current:null},Uv={key:!0,ref:!0,__self:!0,__source:!0};function Vv(t,e,r){var s,a={},i=null,o=null;if(e!=null)for(s in e.ref!==void 0&&(o=e.ref),e.key!==void 0&&(i=""+e.key),e)$v.call(e,s)&&!Uv.hasOwnProperty(s)&&(a[s]=e[s]);var l=arguments.length-2;if(l===1)a.children=r;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];a.children=c}if(t&&t.defaultProps)for(s in l=t.defaultProps,l)a[s]===void 0&&(a[s]=l[s]);return{$$typeof:Ho,type:t,key:i,ref:o,props:a,_owner:cf.current}}function C2(t,e){return{$$typeof:Ho,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function df(t){return typeof t=="object"&&t!==null&&t.$$typeof===Ho}function E2(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var dx=/\/+/g;function eu(t,e){return typeof t=="object"&&t!==null&&t.key!=null?E2(""+t.key):e.toString(36)}function Wl(t,e,r,s,a){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case Ho:case x2:o=!0}}if(o)return o=t,a=a(o),t=s===""?"."+eu(o,0):s,cx(a)?(r="",t!=null&&(r=t.replace(dx,"$&/")+"/"),Wl(a,e,r,"",function(d){return d}
vendor: 4,445 bytes, lines 9-17
9)):a!=null&&(df(a)&&(a=C2(a,r+(!a.key||o&&o.key===a.key?"":(""+a.key).replace(dx,"$&/")+"/")+t)),e.push(a)),1;if(o=0,s=s===""?".":s+":",cx(t))for(var l=0;l<t.length;l++){i=t[l];var c=s+eu(i,l);o+=Wl(i,e,r,c,a)}else if(c=k2(t),typeof c=="function")for(t=c.call(t),l=0;!(i=t.next()).done;)i=i.value,c=s+eu(i,l++),o+=Wl(i,e,r,c,a);else if(i==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return o}function ol(t,e,r){if(t==null)return t;var s=[],a=0;return Wl(t,s,"","",function(i){return e.call(r,i,a++)}),s}function A2(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(r){(t._status===0||t._status===-1)&&(t._status=1,t._result=r)},function(r){(t._status===0||t._status===-1)&&(t._status=2,t._result=r)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var _t={current:null},Hl={transition:null},T2={ReactCurrentDispatcher:_t,ReactCurrentBatchConfig:Hl,ReactCurrentOwner:cf};function Wv(){throw Error("act(...) is not supported in production builds of React.")}pe.Children={map:ol,forEach:function(t,e,r){ol(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return ol(t,function(){e++}),e},toArray:function(t){return ol(t,function(e){return e})||[]},only:function(t){if(!df(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};pe.Component=hi;pe.Fragment=g2;pe.Profiler=v2;pe.PureComponent=of;pe.StrictMode=y2;pe.Suspense=N2;pe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T2;pe.act=Wv;pe.cloneElement=function(t,e,r){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var s=zv({},t.props),a=t.key,i=t.ref,o=t._owner;if(e!=null){if(e.ref!==void 0&&(i=e.ref,o=cf.current),e.key!==void 0&&(a=""+e.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(c in e)$v.call(e,c)&&!Uv.hasOwnProperty(c)&&(s[c]=e[c]===void 0&&l!==void 0?l[c]:e[c])}var c=arguments.length-2;if(c===1)s.children=r;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];s.children=l}return{$$typeof:Ho,type:t.type,key:a,ref:i,props:s,_owner:o}};pe.createContext=function(t){return t={$$typeof:w2,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:b2,_context:t},t.Consumer=t};pe.createElement=Vv;pe.createFactory=function(t){var e=Vv.bind(null,t);return e.type=t,e};pe.createRef=function(){return{current:null}};pe.forwardRef=function(t){return{$$typeof:j2,render:t}};pe.isValidElement=df;pe.lazy=function(t){return{$$typeof:_2,_payload:{_status:-1,_result:t},_init:A2}};pe.memo=function(t,e){return{$$typeof:S2,type:t,compare:e===void 0?null:e}};pe.startTransition=function(t){var e=Hl.transition;Hl.transition={};try{t()}finally{Hl.transition=e}};pe.unstable_act=Wv;pe.useCallback=function(t,e){return _t.current.useCallback(t,e)};pe.useContext=function(t){return _t.current.useContext(t)};pe.useDebugValue=function(){};pe.useDeferredValue=function(t){return _t.current.useDeferredValue(t)};pe.useEffect=function(t,e){return _t.current.useEffect(t,e)};pe.useId=function(){return _t.current.useId()};pe.useImperativeHandle=function(t,e,r){return _t.current.useImperativeHandle(t,e,r)};pe.useInsertionEffect=function(t,e){return _t.current.useInsertionEffect(t,e)};pe.useLayoutEffect=function(t,e){return _t.current.useLayoutEffect(t,e)};pe.useMemo=function(t,e){return _t.current.useMemo(t,e)};pe.useReducer=function(t,e,r){return _t.current.useReducer(t,e,r)};pe.useRef=function(t){return _t.current.useRef(t)};pe.useState=function(t){return _t.current.useState(t)};pe.useSyncExternalStore=function(t,e,r){return _t.current.useSyncExternalStore(t,e,r)};pe.useTransition=function(){return _t.current.useTransition()};pe.version="18.3.1";Mv.exports=pe;var x=Mv.exports;const z=Wo(x),uf=Ov({__proto__:null,default:z},[x]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var P2=x,R2=Symbol.for("react.element"),I2=Symbol.for("react.fragment"),O2=Object.prototype.hasOwnProperty,D2=P2.__SECRET_INT
vendor: 11,439 bytes, lines 17-34
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,M2={key:!0,ref:!0,__self:!0,__source:!0};function Hv(t,e,r){var s,a={},i=null,o=null;r!==void 0&&(i=""+r),e.key!==void 0&&(i=""+e.key),e.ref!==void 0&&(o=e.ref);for(s in e)O2.call(e,s)&&!M2.hasOwnProperty(s)&&(a[s]=e[s]);if(t&&t.defaultProps)for(s in e=t.defaultProps,e)a[s]===void 0&&(a[s]=e[s]);return{$$typeof:R2,type:t,key:i,ref:o,props:a,_owner:D2.current}}ud.Fragment=I2;ud.jsx=Hv;ud.jsxs=Hv;Dv.exports=ud;var n=Dv.exports,qv={exports:{}},Wt={},Gv={exports:{}},Qv={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(t){function e(P,I){var F=P.length;P.push(I);e:for(;0<F;){var ae=F-1>>>1,X=P[ae];if(0<a(X,I))P[ae]=I,P[F]=X,F=ae;else break e}}function r(P){return P.length===0?null:P[0]}function s(P){if(P.length===0)return null;var I=P[0],F=P.pop();if(F!==I){P[0]=F;e:for(var ae=0,X=P.length,ue=X>>>1;ae<ue;){var le=2*(ae+1)-1,Ie=P[le],Ve=le+1,U=P[Ve];if(0>a(Ie,F))Ve<X&&0>a(U,Ie)?(P[ae]=U,P[Ve]=F,ae=Ve):(P[ae]=Ie,P[le]=F,ae=le);else if(Ve<X&&0>a(U,F))P[ae]=U,P[Ve]=F,ae=Ve;else break e}}return I}function a(P,I){var F=P.sortIndex-I.sortIndex;return F!==0?F:P.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,l=o.now();t.unstable_now=function(){return o.now()-l}}var c=[],d=[],u=1,m=null,h=3,f=!1,v=!1,p=!1,w=typeof setTimeout=="function"?setTimeout:null,b=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(P){for(var I=r(d);I!==null;){if(I.callback===null)s(d);else if(I.startTime<=P)s(d),I.sortIndex=I.expirationTime,e(c,I);else break;I=r(d)}}function j(P){if(p=!1,y(P),!v)if(r(c)!==null)v=!0,q(N);else{var I=r(d);I!==null&&te(j,I.startTime-P)}}function N(P,I){v=!1,p&&(p=!1,b(E),E=-1),f=!0;var F=h;try{for(y(I),m=r(c);m!==null&&(!(m.expirationTime>I)||P&&!B());){var ae=m.callback;if(typeof ae=="function"){m.callback=null,h=m.priorityLevel;var X=ae(m.expirationTime<=I);I=t.unstable_now(),typeof X=="function"?m.callback=X:m===r(c)&&s(c),y(I)}else s(c);m=r(c)}if(m!==null)var ue=!0;else{var le=r(d);le!==null&&te(j,le.startTime-I),ue=!1}return ue}finally{m=null,h=F,f=!1}}var S=!1,_=null,E=-1,T=5,O=-1;function B(){return!(t.unstable_now()-O<T)}function D(){if(_!==null){var P=t.unstable_now();O=P;var I=!0;try{I=_(!0,P)}finally{I?G():(S=!1,_=null)}}else S=!1}var G;if(typeof g=="function")G=function(){g(D)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,W=A.port2;A.port1.onmessage=D,G=function(){W.postMessage(null)}}else G=function(){w(D,0)};function q(P){_=P,S||(S=!0,G())}function te(P,I){E=w(function(){P(t.unstable_now())},I)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(P){P.callback=null},t.unstable_continueExecution=function(){v||f||(v=!0,q(N))},t.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<P?Math.floor(1e3/P):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(P){switch(h){case 1:case 2:case 3:var I=3;break;default:I=h}var F=h;h=I;try{return P()}finally{h=F}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(P,I){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var F=h;h=P;try{return I()}finally{h=F}},t.unstable_scheduleCallback=function(P,I,F){var ae=t.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?ae+F:ae):F=ae,P){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=F+X,P={id:u++,callback:I,priorityLevel:P,startTime:F,expirationTime:X,sortIndex:-1},F>ae?(P.sortIndex=F,e(d,P),r(c)===null&&P===r(d)&&(p?(b(E),E=-1):p=!0,te(j,F-ae))):(P.sortIndex=X,e(c,P),v||f||(v=!0,q(N))),P},t.unstable_shouldYield=B,t.unstable_wrapCallback=function(P){var I=h;return function(){var F=h;h=I;try{return P.apply(this,arguments)}finally{h=F}}}})(Qv);Gv.exports=Qv;var L2=Gv.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var z2=x,Ut=L2;function M(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Yv=new Set,no={};function qn(t,e){Ka(t,e),Ka(t+"Capture",e)}function Ka(t,e){for(no[t]=e,t=0;t<e.length;t++)Yv.add(e[t])}var ts=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lm=Object.prototype.hasOwnProperty,B2=/^[: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]*$/,ux={},mx={};function F2(t){return lm.call(mx,t)?!0:lm.call(ux,t)?!1:B2.test(t)?mx[t]=!0:(ux[t]=!0,!1)}function $2(t,e,r,s){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return s?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function U2(t,e,r,s){if(e===null||typeof e>"u"||$2(t,e,r,s))return!0;if(s)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function kt(t,e,r,s,a,i,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=s,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=i,this.removeEmptyString=o}var dt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){dt[t]=new kt(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];dt[e]=new kt(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){dt[t]=new kt(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){dt[t]=new kt(t,2,!1,t,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(t){dt[t]=new kt(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){dt[t]=new kt(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){dt[t]=new kt(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){dt[t]=new kt(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){dt[t]=new kt(t,5,!1,t.toLowerCase(),null,!1,!1)});var mf=/[\-:]([a-z])/g;function hf(t){return t[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(t){var e=t.replace(mf,hf);dt[e]=new kt(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(mf,hf);dt[e]=new kt(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(mf,hf);dt[e]=new kt(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){dt[t]=new kt(t,1,!1,t.toLowerCase(),null,!1,!1)});dt.xlinkHref=new kt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){dt[t]=new kt(t,1,!1,t.toLowerCase(),null,!0,!0)});function ff(t,e,r,s){var a=dt.hasOwnProperty(e)?dt[e]:null;(a!==null?a.type!==0:s||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(U2(e,r,a,s)&&(r=null),s||a===null?F2(e)&&(r===null?t.removeAttribute(e):t.setAttribute(e,""+r)):a.mustUseProperty?t[a.propertyName]=r===null?a.type===3?!1:"":r:(e=a.attributeName,s=a.attributeNamespace,r===null?t.removeAttribute(e):(a=a.type,r=a===3||a===4&&r===!0?"":""+r,s?t.setAttributeNS(s,e,r):t.setAttribute(e,r))))}var cs=z2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ll=Symbol.for("react.element"),ya=Symbol.for("react.portal"),va=Symbol.for("react.fragment"),pf=Symbol.for("react.strict_mode"),cm=Symbol.for("react.profiler"),Kv=Symbol.for("react.provider"),Zv=Symbol.for("react.context"),xf=Symbol.for("react.forward_ref"),dm=Symbol.for("react.suspense"),um=Symbol.for("react.suspense_list"),gf=Symbol.for("react.memo"),ws=Symbol.for("react.lazy"),Jv=Symbol.for("react.offscreen"),hx=Symbol.iterator;function _i(t){return t===null||typeof t!="object"?null:(t=hx&&t[hx]||t["@@iterator"],typeof t=="function"?t:null)}var Ue=Object.assign,tu;function zi(t){if(tu===void 0)try{throw Error()}catch(r){var e=r.stack.trim().match(/\n( *(at )?)/);tu=e&&e[1]||""}return` 34`+tu+t}var ru=!1;function su(t,e){if(!t||ru)return"";ru=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(d){var s=d}Reflect.construct(t,[],e)}else{try{e.call()}catch(d){s=d}t.call(e.prototype)}else{try{throw Error()}catch(d){s=d}t()}}
vendor: 16,737 bytes, lines 34-37
34catch(d){if(d&&s&&typeof d.stack=="string"){for(var a=d.stack.split(` 35`),i=s.stack.split(` 36`),o=a.length-1,l=i.length-1;1<=o&&0<=l&&a[o]!==i[l];)l--;for(;1<=o&&0<=l;o--,l--)if(a[o]!==i[l]){if(o!==1||l!==1)do if(o--,l--,0>l||a[o]!==i[l]){var c=` 37`+a[o].replace(" at new "," at ");return t.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",t.displayName)),c}while(1<=o&&0<=l);break}}}finally{ru=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?zi(t):""}function V2(t){switch(t.tag){case 5:return zi(t.type);case 16:return zi("Lazy");case 13:return zi("Suspense");case 19:return zi("SuspenseList");case 0:case 2:case 15:return t=su(t.type,!1),t;case 11:return t=su(t.type.render,!1),t;case 1:return t=su(t.type,!0),t;default:return""}}function mm(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case va:return"Fragment";case ya:return"Portal";case cm:return"Profiler";case pf:return"StrictMode";case dm:return"Suspense";case um:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Zv:return(t.displayName||"Context")+".Consumer";case Kv:return(t._context.displayName||"Context")+".Provider";case xf:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case gf:return e=t.displayName||null,e!==null?e:mm(t.type)||"Memo";case ws:e=t._payload,t=t._init;try{return mm(t(e))}catch{}}return null}function W2(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return mm(e);case 8:return e===pf?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Gs(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Xv(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function H2(t){var e=Xv(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),s=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,i=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(o){s=""+o,i.call(this,o)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return s},setValue:function(o){s=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function cl(t){t._valueTracker||(t._valueTracker=H2(t))}function e0(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),s="";return t&&(s=Xv(t)?t.checked?"true":"false":t.value),t=s,t!==r?(e.setValue(t),!0):!1}function cc(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function hm(t,e){var r=e.checked;return Ue({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function fx(t,e){var r=e.defaultValue==null?"":e.defaultValue,s=e.checked!=null?e.checked:e.defaultChecked;r=Gs(e.value!=null?e.value:r),t._wrapperState={initialChecked:s,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function t0(t,e){e=e.checked,e!=null&&ff(t,"checked",e,!1)}function fm(t,e){t0(t,e);var r=Gs(e.value),s=e.type;if(r!=null)s==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(s==="submit"||s==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?pm(t,e.type,r):e.hasOwnProperty("defaultValue")&&pm(t,e.type,Gs(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function px(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var s=e.type;if(!(s!=="submit"&&s!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function pm(t,e,r){(e!=="number"||cc(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var Bi=Array.isArray;function Ta(t,e,r,s){if(t=t.options,e){e={};for(var a=0;a<r.length;a++)e["$"+r[a]]=!0;for(r=0;r<t.length;r++)a=e.hasOwnProperty("$"+t[r].value),t[r].selected!==a&&(t[r].selected=a),a&&s&&(t[r].defaultSelected=!0)}else{for(r=""+Gs(r),e=null,a=0;a<t.length;a++){if(t[a].value===r){t[a].selected=!0,s&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}function xm(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(M(91));return Ue({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function xx(t,e){var r=e.value;if(r==null){if(r=e.children,e=e.defaultValue,r!=null){if(e!=null)throw Error(M(92));if(Bi(r)){if(1<r.length)throw Error(M(93));r=r[0]}e=r}e==null&&(e=""),r=e}t._wrapperState={initialValue:Gs(r)}}function r0(t,e){var r=Gs(e.value),s=Gs(e.defaultValue);r!=null&&(r=""+r,r!==t.value&&(t.value=r),e.defaultValue==null&&t.defaultValue!==r&&(t.defaultValue=r)),s!=null&&(t.defaultValue=""+s)}function gx(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function s0(t){switch(t){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 gm(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?s0(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var dl,n0=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,r,s,a){MSApp.execUnsafeLocalFunction(function(){return t(e,r,s,a)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(dl=dl||document.createElement("div"),dl.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=dl.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function ao(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var Hi={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},q2=["Webkit","ms","Moz","O"];Object.keys(Hi).forEach(function(t){q2.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Hi[e]=Hi[t]})});function a0(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||Hi.hasOwnProperty(t)&&Hi[t]?(""+e).trim():e+"px"}function i0(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var s=r.indexOf("--")===0,a=a0(r,e[r],s);r==="float"&&(r="cssFloat"),s?t.setProperty(r,a):t[r]=a}}var G2=Ue({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 ym(t,e){if(e){if(G2[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(M(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(M(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(M(61))}if(e.style!=null&&typeof e.style!="object")throw Error(M(62))}}function vm(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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 bm=null;function yf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var wm=null,Pa=null,Ra=null;function yx(t){if(t=Qo(t)){if(typeof wm!="function")throw Error(M(280));var e=t.stateNode;e&&(e=xd(e),wm(t.stateNode,t.type,e))}}function o0(t){Pa?Ra?Ra.push(t):Ra=[t]:Pa=t}function l0(){if(Pa){var t=Pa,e=Ra;if(Ra=Pa=null,yx(t),e)for(t=0;t<e.length;t++)yx(e[t])}}function c0(t,e){return t(e)}function d0(){}var nu=!1;function u0(t,e,r){if(nu)return t(e,r);nu=!0;try{return c0(t,e,r)}finally{nu=!1,(Pa!==null||Ra!==null)&&(d0(),l0())}}function io(t,e){var r=t.stateNode;if(r===null)return null;var s=xd(r);if(s===null)return null;r=s[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;break e;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(M(231,e,typeof r));return r}var jm=!1;if(ts)try{var ki={};Object.defineProperty(ki,"passive",{get:function(){jm=!0}}),window.addEventListener("test",ki,ki),window.removeEventListener("test",ki,ki)}catch{jm=!1}function Q2(t,e,r,s,a,i,o,l,c){var d=Array.prototype.slice.call(arguments,3);try{e.apply(r,d)}catch(u){this.onError(u)}}var qi=!1,dc=null,uc=!1,Nm=null,Y2={onError:function(t){qi=!0,dc=t}};function K2(t,e,r,s,a,i,o,l,c){qi=!1,dc=null,Q2.apply(Y2,arguments)}function Z2(t,e,r,s,a,i,o,l,c){if(K2.apply(this,arguments),qi){if(qi){var d=dc;qi=!1,dc=null}else throw Error(M(198));uc||(uc=!0,Nm=d)}}function Gn(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(r=e.return),t=e.return;while(t)}return e.tag===3?r:null}function m0(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function vx(t){if(Gn(t)!==t)throw Error(M(188))}function J2(t){var e=t.alternate;if(!e){if(e=Gn(t),e===null)throw Error(M(188));return e!==t?null:t}for(var r=t,s=e;;){var a=r.return;if(a===null)break;var i=a.alternate;if(i===null){if(s=a.return,s!==null){r=s;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===r)return vx(a),t;if(i===s)return vx(a),e;i=i.sibling}throw Error(M(188))}if(r.return!==s.return)r=a,s=i;else{for(var o=!1,l=a.child;l;){if(l===r){o=!0,r=a,s=i;break}if(l===s){o=!0,s=a,r=i;break}l=l.sibling}if(!o){for(l=i.child;l;){if(l===r){o=!0,r=i,s=a;break}if(l===s){o=!0,s=i,r=a;break}l=l.sibling}if(!o)throw Error(M(189))}}if(r.alternate!==s)throw Error(M(190))}if(r.tag!==3)throw Error(M(188));return r.stateNode.current===r?t:e}function h0(t){return t=J2(t),t!==null?f0(t):null}function f0(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=f0(t);if(e!==null)return e;t=t.sibling}return null}var p0=Ut.unstable_scheduleCallback,bx=Ut.unstable_cancelCallback,X2=Ut.unstable_shouldYield,e_=Ut.unstable_requestPaint,Ye=Ut.unstable_now,t_=Ut.unstable_getCurrentPriorityLevel,vf=Ut.unstable_ImmediatePriority,x0=Ut.unstable_UserBlockingPriority,mc=Ut.unstable_NormalPriority,r_=Ut.unstable_LowPriority,g0=Ut.unstable_IdlePriority,md=null,Dr=null;function s_(t){if(Dr&&typeof Dr.onCommitFiberRoot=="function")try{Dr.onCommitFiberRoot(md,t,void 0,(t.current.flags&128)===128)}catch{}}var wr=Math.clz32?Math.clz32:i_,n_=Math.log,a_=Math.LN2;function i_(t){return t>>>=0,t===0?32:31-(n_(t)/a_|0)|0}var ul=64,ml=4194304;function Fi(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function hc(t,e){var r=t.pendingLanes;if(r===0)return 0;var s=0,a=t.suspendedLanes,i=t.pingedLanes,o=r&268435455;if(o!==0){var l=o&~a;l!==0?s=Fi(l):(i&=o,i!==0&&(s=Fi(i)))}else o=r&~a,o!==0?s=Fi(o):i!==0&&(s=Fi(i));if(s===0)return 0;if(e!==0&&e!==s&&!(e&a)&&(a=s&-s,i=e&-e,a>=i||a===16&&(i&4194240)!==0))return e;if(s&4&&(s|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=s;0<e;)r=31-wr(e),a=1<<r,s|=t[r],e&=~a;return s}function o_(t,e){switch(t){case 1:case 2:case 4:return e+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 e+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 l_(t,e){for(var r=t.suspendedLanes,s=t.pingedLanes,a=t.expirationTimes,i=t.pendingLanes;0<i;){var o=31-wr(i),l=1<<o,c=a[o];c===-1?(!(l&r)||l&s)&&(a[o]=o_(l,e)):c<=e&&(t.expiredLanes|=l),i&=~l}}function Sm(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function y0(){var t=ul;return ul<<=1,!(ul&4194240)&&(ul=64),t}function au(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}function qo(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-wr(e),t[e]=r}function c_(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var s=t.eventTimes;for(t=t.expirationTimes;0<r;){var a=31-wr(r),i=1<<a;e[a]=0,s[a]=-1,t[a]=-1,r&=~i}}function bf(t,e){var r=t.entangledLanes|=e;for(t=t.entanglements;r;){var s=31-wr(r),a=1<<s;a&e|t[s]&e&&(t[s]|=e),r&=~a}}var Ee=0;function v0(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var b0,wf,w0,j0,N0,_m=!1,hl=[],Ls=null,zs=null,Bs=null,oo=new Map,lo=new Map,Ss=[],d_="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 wx(t,e){switch(t){case"focusin":case"focusout":Ls=null;break;case"dragenter":case"dragleave":zs=null;break;case"mouseover":case"mouseout":Bs=null;break;case"pointerover":case"pointerout":oo.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":lo.delete(e.pointerId)}}function Ci(t,e,r,s,a,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:r,eventSystemFlags:s,nativeEvent:i,targetContainers:[a]},e!==null&&(e=Qo(e),e!==null&&wf(e)),t):(t.eventSystemFlags|=s,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t)}function u_(t,e,r,s,a){switch(e){case"focusin":return Ls=Ci(Ls,t,e,r,s,a),!0;case"dragenter":return zs=Ci(zs,t,e,r,s,a),!0;case"mouseover":return Bs=Ci(Bs,t,e,r,s,a),!0;case"pointerover":var i=a.pointerId;return oo.set(i,Ci(oo.get(i)||null,t,e,r,s,a)),!0;case"gotpointercapture":return i=a.pointerId,lo.set(i,Ci(lo.get(i)||null,t,e,r,s,a)),!0}return!1}function S0(t){var e=jn(t.target);if(e!==null){var r=Gn(e);if(r!==null){if(e=r.tag,e===13){if(e=m0(r),e!==null){t.blockedOn=e,N0(t.priority,function(){w0(r)});return}}else if(e===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ql(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var r=km(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(r===null){r=t.nativeEvent;var s=new r.constructor(r.type,r);bm=s,r.target.dispatchEvent(s),bm=null}else return e=Qo(r),e!==null&&wf(e),t.blockedOn=r,!1;e.shift()}return!0}function jx(t,e,r){ql(t)&&r.delete(e)}function m_(){_m=!1,Ls!==null&&ql(Ls)&&(Ls=null),zs!==null&&ql(zs)&&(zs=null),Bs!==null&&ql(Bs)&&(Bs=null),oo.forEac
vendor: 11,885 bytes, line 37
37h(jx),lo.forEach(jx)}function Ei(t,e){t.blockedOn===e&&(t.blockedOn=null,_m||(_m=!0,Ut.unstable_scheduleCallback(Ut.unstable_NormalPriority,m_)))}function co(t){function e(a){return Ei(a,t)}if(0<hl.length){Ei(hl[0],t);for(var r=1;r<hl.length;r++){var s=hl[r];s.blockedOn===t&&(s.blockedOn=null)}}for(Ls!==null&&Ei(Ls,t),zs!==null&&Ei(zs,t),Bs!==null&&Ei(Bs,t),oo.forEach(e),lo.forEach(e),r=0;r<Ss.length;r++)s=Ss[r],s.blockedOn===t&&(s.blockedOn=null);for(;0<Ss.length&&(r=Ss[0],r.blockedOn===null);)S0(r),r.blockedOn===null&&Ss.shift()}var Ia=cs.ReactCurrentBatchConfig,fc=!0;function h_(t,e,r,s){var a=Ee,i=Ia.transition;Ia.transition=null;try{Ee=1,jf(t,e,r,s)}finally{Ee=a,Ia.transition=i}}function f_(t,e,r,s){var a=Ee,i=Ia.transition;Ia.transition=null;try{Ee=4,jf(t,e,r,s)}finally{Ee=a,Ia.transition=i}}function jf(t,e,r,s){if(fc){var a=km(t,e,r,s);if(a===null)pu(t,e,s,pc,r),wx(t,s);else if(u_(a,t,e,r,s))s.stopPropagation();else if(wx(t,s),e&4&&-1<d_.indexOf(t)){for(;a!==null;){var i=Qo(a);if(i!==null&&b0(i),i=km(t,e,r,s),i===null&&pu(t,e,s,pc,r),i===a)break;a=i}a!==null&&s.stopPropagation()}else pu(t,e,s,null,r)}}var pc=null;function km(t,e,r,s){if(pc=null,t=yf(s),t=jn(t),t!==null)if(e=Gn(t),e===null)t=null;else if(r=e.tag,r===13){if(t=m0(e),t!==null)return t;t=null}else if(r===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return pc=t,null}function _0(t){switch(t){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(t_()){case vf:return 1;case x0:return 4;case mc:case r_:return 16;case g0:return 536870912;default:return 16}default:return 16}}var Rs=null,Nf=null,Gl=null;function k0(){if(Gl)return Gl;var t,e=Nf,r=e.length,s,a="value"in Rs?Rs.value:Rs.textContent,i=a.length;for(t=0;t<r&&e[t]===a[t];t++);var o=r-t;for(s=1;s<=o&&e[r-s]===a[i-s];s++);return Gl=a.slice(t,1<s?1-s:void 0)}function Ql(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function fl(){return!0}function Nx(){return!1}function Ht(t){function e(r,s,a,i,o){this._reactName=r,this._targetInst=a,this.type=s,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var l in t)t.hasOwnProperty(l)&&(r=t[l],this[l]=r?r(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?fl:Nx,this.isPropagationStopped=Nx,this}return Ue(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=fl)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=fl)},persist:function(){},isPersistent:fl}),e}var fi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sf=Ht(fi),Go=Ue({},fi,{view:0,detail:0}),p_=Ht(Go),iu,ou,Ai,hd=Ue({},Go,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_f,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ai&&(Ai&&t.type==="mousemove"?(iu=t.screenX-Ai.screenX,ou=t.screenY-Ai.screenY):ou=iu=0,Ai=t),iu)},movementY:function(t){return"movementY"in t?t.movementY:ou}}),Sx=Ht(hd),x_=Ue({},hd,{dataTransfer:0}),g_=Ht(x_),y_=Ue({},Go,{relatedTarget:0}),lu=Ht(y_),v_=Ue({},fi,{animationName:0,elapsedTime:0,pseudoElement:0}),b_=Ht(v_),w_=Ue({},fi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),j_=Ht(w_),N_=Ue({},fi,{data:0}),_x=Ht(N_),S_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},__={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"},k_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function C_(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=k_[t])?!!e[t]:!1}function _f(){return C_}var E_=Ue({},Go,{key:function(t){if(t.key){var e=S_[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ql(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?__[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_f,charCode:function(t){return t.type==="keypress"?Ql(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ql(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),A_=Ht(E_),T_=Ue({},hd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kx=Ht(T_),P_=Ue({},Go,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_f}),R_=Ht(P_),I_=Ue({},fi,{propertyName:0,elapsedTime:0,pseudoElement:0}),O_=Ht(I_),D_=Ue({},hd,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),M_=Ht(D_),L_=[9,13,27,32],kf=ts&&"CompositionEvent"in window,Gi=null;ts&&"documentMode"in document&&(Gi=document.documentMode);var z_=ts&&"TextEvent"in window&&!Gi,C0=ts&&(!kf||Gi&&8<Gi&&11>=Gi),Cx=" ",Ex=!1;function E0(t,e){switch(t){case"keyup":return L_.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function A0(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ba=!1;function B_(t,e){switch(t){case"compositionend":return A0(e);case"keypress":return e.which!==32?null:(Ex=!0,Cx);case"textInput":return t=e.data,t===Cx&&Ex?null:t;default:return null}}function F_(t,e){if(ba)return t==="compositionend"||!kf&&E0(t,e)?(t=k0(),Gl=Nf=Rs=null,ba=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return C0&&e.locale!=="ko"?null:e.data;default:return null}}var $_={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 Ax(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!$_[t.type]:e==="textarea"}function T0(t,e,r,s){o0(s),e=xc(e,"onChange"),0<e.length&&(r=new Sf("onChange","change",null,r,s),t.push({event:r,listeners:e}))}var Qi=null,uo=null;function U_(t){$0(t,0)}function fd(t){var e=Na(t);if(e0(e))return t}function V_(t,e){if(t==="change")return e}var P0=!1;if(ts){var cu;if(ts){var du="oninput"in document;if(!du){var Tx=document.createElement("div");Tx.setAttribute("oninput","return;"),du=typeof Tx.oninput=="function"}cu=du}else cu=!1;P0=cu&&(!document.documentMode||9<document.documentMode)}function Px(){Qi&&(Qi.detachEvent("onpropertychange",R0),uo=Qi=null)}function R0(t){if(t.propertyName==="value"&&fd(uo)){var e=[];T0(e,uo,t,yf(t)),u0(U_,e)}}function W_(t,e,r){t==="focusin"?(Px(),Qi=e,uo=r,Qi.attachEvent("onpropertychange",R0)):t==="focusout"&&Px()}function H_(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return fd(uo)}function q_(t,e){if(t==="click")return fd(e)}function G_(t,e){if(t==="input"||t==="change")return fd(e)}function Q_(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Sr=typeof Object.is=="function"?Object.is:Q_;function mo(t,e){if(Sr(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var r=Object.keys(t),s=Object.keys(e);if(r.length!==s.length)return!1;for(s=0;s<r.length;s++){var a=r[s];if(!lm.call(e,a)||!Sr(t[a],e[a]))return!1}return!0}function Rx(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ix(t,e){var r=Rx(t);t=0;for(var s;r;){if(r.nodeType===3){if(s=t+r.textContent.length,t<=e&&s>=e)return{node:r,offset:e-t};t=s}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Rx(r)}}function I0(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?I0(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function O0(){for(var t=window,e=cc();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=cc(t.document)}return e}function Cf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Y_(t){var e=O0(),r=t.focusedElem,s=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&I0(r.ownerDocument.documentElement,r)){if(s!==null&&Cf(r)){if(e=s.start,t=s.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var a=r.textContent.length,i=Math.min(s.start,a);s=s.end===void 0?i:Math.min(s.end,a),!t.extend&&i>s&&(a=s,s=i,i=a),a=Ix(r,i);var o=Ix(r,s);a&&o&&(t.rangeCount!==1||t.anchorNode!==a.node||t.anchorOffset!==a.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(a.node,a.offset),t.removeAllRanges(),i>s?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<e.length;r++)t=e[r],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var K_=ts&&"documentMode"in document&&11>=document.documentMode,wa=null,Cm=null,Yi=null,Em=!1;function Ox(t,e,r){var s=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Em||wa==null||wa!==cc(s)||(s=wa,"selectionStart"in s&&Cf(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}
vendor: 4,339 bytes, line 37
37),Yi&&mo(Yi,s)||(Yi=s,s=xc(Cm,"onSelect"),0<s.length&&(e=new Sf("onSelect","select",null,e,r),t.push({event:e,listeners:s}),e.target=wa)))}function pl(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var ja={animationend:pl("Animation","AnimationEnd"),animationiteration:pl("Animation","AnimationIteration"),animationstart:pl("Animation","AnimationStart"),transitionend:pl("Transition","TransitionEnd")},uu={},D0={};ts&&(D0=document.createElement("div").style,"AnimationEvent"in window||(delete ja.animationend.animation,delete ja.animationiteration.animation,delete ja.animationstart.animation),"TransitionEvent"in window||delete ja.transitionend.transition);function pd(t){if(uu[t])return uu[t];if(!ja[t])return t;var e=ja[t],r;for(r in e)if(e.hasOwnProperty(r)&&r in D0)return uu[t]=e[r];return t}var M0=pd("animationend"),L0=pd("animationiteration"),z0=pd("animationstart"),B0=pd("transitionend"),F0=new Map,Dx="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 tn(t,e){F0.set(t,e),qn(e,[t])}for(var mu=0;mu<Dx.length;mu++){var hu=Dx[mu],Z_=hu.toLowerCase(),J_=hu[0].toUpperCase()+hu.slice(1);tn(Z_,"on"+J_)}tn(M0,"onAnimationEnd");tn(L0,"onAnimationIteration");tn(z0,"onAnimationStart");tn("dblclick","onDoubleClick");tn("focusin","onFocus");tn("focusout","onBlur");tn(B0,"onTransitionEnd");Ka("onMouseEnter",["mouseout","mouseover"]);Ka("onMouseLeave",["mouseout","mouseover"]);Ka("onPointerEnter",["pointerout","pointerover"]);Ka("onPointerLeave",["pointerout","pointerover"]);qn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));qn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));qn("onBeforeInput",["compositionend","keypress","textInput","paste"]);qn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));qn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));qn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $i="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(" "),X_=new Set("cancel close invalid load scroll toggle".split(" ").concat($i));function Mx(t,e,r){var s=t.type||"unknown-event";t.currentTarget=r,Z2(s,e,void 0,t),t.currentTarget=null}function $0(t,e){e=(e&4)!==0;for(var r=0;r<t.length;r++){var s=t[r],a=s.event;s=s.listeners;e:{var i=void 0;if(e)for(var o=s.length-1;0<=o;o--){var l=s[o],c=l.instance,d=l.currentTarget;if(l=l.listener,c!==i&&a.isPropagationStopped())break e;Mx(a,l,d),i=c}else for(o=0;o<s.length;o++){if(l=s[o],c=l.instance,d=l.currentTarget,l=l.listener,c!==i&&a.isPropagationStopped())break e;Mx(a,l,d),i=c}}}if(uc)throw t=Nm,uc=!1,Nm=null,t}function De(t,e){var r=e[Im];r===void 0&&(r=e[Im]=new Set);var s=t+"__bubble";r.has(s)||(U0(e,t,2,!1),r.add(s))}function fu(t,e,r){var s=0;e&&(s|=4),U0(r,t,s,e)}var xl="_reactListening"+Math.random().toString(36).slice(2);function ho(t){if(!t[xl]){t[xl]=!0,Yv.forEach(function(r){r!=="selectionchange"&&(X_.has(r)||fu(r,!1,t),fu(r,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[xl]||(e[xl]=!0,fu("selectionchange",!1,e))}}function U0(t,e,r,s){switch(_0(e)){case 1:var a=h_;break;case 4:a=f_;break;default:a=jf}r=a.bind(null,e,r,t),a=void 0,!jm||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),s?a!==void 0?t.addEventListener(e,r,{capture:!0,passive:a}):t.addEventListener(e,r,!0):a!==void 0?t.addEventListener(e,r,{passive:a}):t.addEventListener(e,r,!1)}function pu(t,e,r,s,a){var i=s;
vendor: 5,434 bytes, lines 37-38
37if(!(e&1)&&!(e&2)&&s!==null)e:for(;;){if(s===null)return;var o=s.tag;if(o===3||o===4){var l=s.stateNode.containerInfo;if(l===a||l.nodeType===8&&l.parentNode===a)break;if(o===4)for(o=s.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===a||c.nodeType===8&&c.parentNode===a))return;o=o.return}for(;l!==null;){if(o=jn(l),o===null)return;if(c=o.tag,c===5||c===6){s=i=o;continue e}l=l.parentNode}}s=s.return}u0(function(){var d=i,u=yf(r),m=[];e:{var h=F0.get(t);if(h!==void 0){var f=Sf,v=t;switch(t){case"keypress":if(Ql(r)===0)break e;case"keydown":case"keyup":f=A_;break;case"focusin":v="focus",f=lu;break;case"focusout":v="blur",f=lu;break;case"beforeblur":case"afterblur":f=lu;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=Sx;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=g_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=R_;break;case M0:case L0:case z0:f=b_;break;case B0:f=O_;break;case"scroll":f=p_;break;case"wheel":f=M_;break;case"copy":case"cut":case"paste":f=j_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=kx}var p=(e&4)!==0,w=!p&&t==="scroll",b=p?h!==null?h+"Capture":null:h;p=[];for(var g=d,y;g!==null;){y=g;var j=y.stateNode;if(y.tag===5&&j!==null&&(y=j,b!==null&&(j=io(g,b),j!=null&&p.push(fo(g,j,y)))),w)break;g=g.return}0<p.length&&(h=new f(h,v,null,r,u),m.push({event:h,listeners:p}))}}if(!(e&7)){e:{if(h=t==="mouseover"||t==="pointerover",f=t==="mouseout"||t==="pointerout",h&&r!==bm&&(v=r.relatedTarget||r.fromElement)&&(jn(v)||v[rs]))break e;if((f||h)&&(h=u.window===u?u:(h=u.ownerDocument)?h.defaultView||h.parentWindow:window,f?(v=r.relatedTarget||r.toElement,f=d,v=v?jn(v):null,v!==null&&(w=Gn(v),v!==w||v.tag!==5&&v.tag!==6)&&(v=null)):(f=null,v=d),f!==v)){if(p=Sx,j="onMouseLeave",b="onMouseEnter",g="mouse",(t==="pointerout"||t==="pointerover")&&(p=kx,j="onPointerLeave",b="onPointerEnter",g="pointer"),w=f==null?h:Na(f),y=v==null?h:Na(v),h=new p(j,g+"leave",f,r,u),h.target=w,h.relatedTarget=y,j=null,jn(u)===d&&(p=new p(b,g+"enter",v,r,u),p.target=y,p.relatedTarget=w,j=p),w=j,f&&v)t:{for(p=f,b=v,g=0,y=p;y;y=na(y))g++;for(y=0,j=b;j;j=na(j))y++;for(;0<g-y;)p=na(p),g--;for(;0<y-g;)b=na(b),y--;for(;g--;){if(p===b||b!==null&&p===b.alternate)break t;p=na(p),b=na(b)}p=null}else p=null;f!==null&&Lx(m,h,f,p,!1),v!==null&&w!==null&&Lx(m,w,v,p,!0)}}e:{if(h=d?Na(d):window,f=h.nodeName&&h.nodeName.toLowerCase(),f==="select"||f==="input"&&h.type==="file")var N=V_;else if(Ax(h))if(P0)N=G_;else{N=H_;var S=W_}else(f=h.nodeName)&&f.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(N=q_);if(N&&(N=N(t,d))){T0(m,N,r,u);break e}S&&S(t,h,d),t==="focusout"&&(S=h._wrapperState)&&S.controlled&&h.type==="number"&&pm(h,"number",h.value)}switch(S=d?Na(d):window,t){case"focusin":(Ax(S)||S.contentEditable==="true")&&(wa=S,Cm=d,Yi=null);break;case"focusout":Yi=Cm=wa=null;break;case"mousedown":Em=!0;break;case"contextmenu":case"mouseup":case"dragend":Em=!1,Ox(m,r,u);break;case"selectionchange":if(K_)break;case"keydown":case"keyup":Ox(m,r,u)}var _;if(kf)e:{switch(t){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else ba?E0(t,r)&&(E="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(E="onCompositionStart");E&&(C0&&r.locale!=="ko"&&(ba||E!=="onCompositionStart"?E==="onCompositionEnd"&&ba&&(_=k0()):(Rs=u,Nf="value"in Rs?Rs.value:Rs.textContent,ba=!0)),S=xc(d,E),0<S.length&&(E=new _x(E,t,null,r,u),m.push({event:E,listeners:S}),_?E.data=_:(_=A0(r),_!==null&&(E.data=_)))),(_=z_?B_(t,r):F_(t,r))&&(d=xc(d,"onBeforeInput"),0<d.length&&(u=new _x("onBeforeInput","beforeinput",null,r,u),m.push({event:u,listeners:d}),u.data=_))}$0(m,e)})}function fo(t,e,r){return{instance:t,listener:e,currentTarget:r}}function xc(t,e){for(var r=e+"Capture",s=[];t!==null;){var a=t,i=a.stateNode;a.tag===5&&i!==null&&(a=i,i=io(t,r),i!=null&&s.unshift(fo(t,i,a)),i=io(t,e),i!=null&&s.push(fo(t,i,a))),t=t.return}return s}function na(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Lx(t,e,r,s,a){for(var i=e._reactName,o=[];r!==null&&r!==s;){var l=r,c=l.alternate,d=l.stateNode;if(c!==null&&c===s)break;l.tag===5&&d!==null&&(l=d,a?(c=io(r,i),c!=null&&o.unshift(fo(r,c,l))):a||(c=io(r,i),c!=null&&o.push(fo(r,c,l)))),r=r.return}o.length!==0&&t.push({event:e,listeners:o})}var ek=/\r\n?/g,tk=/\u0000|\uFFFD/g;function zx(t){return(typeof t=="string"?t:""+t).replace(ek,` 38`).replace(tk,"")}function gl(t,e,r){if(e=zx(e),zx(t)!==e&&r)throw Error(M(425))}function gc(){}var Am=null,Tm=null;function Pm(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Rm=typeof setTimeout=="function"?setTimeout:void 0,rk=typeof clearTimeout=="function"?clearTimeout:void 0,Bx=typeof Promise=="function"?Promise:void 0,sk=typeof queueMicrotask=="function"?queueMicrotask:typeof Bx<"u"?function(t){return Bx.resolve(null).then(t).cat
vendor: 4,793 bytes, line 38
38ch(nk)}:Rm;function nk(t){setTimeout(function(){throw t})}function xu(t,e){var r=e,s=0;do{var a=r.nextSibling;if(t.removeChild(r),a&&a.nodeType===8)if(r=a.data,r==="/$"){if(s===0){t.removeChild(a),co(e);return}s--}else r!=="$"&&r!=="$?"&&r!=="$!"||s++;r=a}while(r);co(e)}function Fs(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function Fx(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"){if(e===0)return t;e--}else r==="/$"&&e++}t=t.previousSibling}return null}var pi=Math.random().toString(36).slice(2),Ir="__reactFiber$"+pi,po="__reactProps$"+pi,rs="__reactContainer$"+pi,Im="__reactEvents$"+pi,ak="__reactListeners$"+pi,ik="__reactHandles$"+pi;function jn(t){var e=t[Ir];if(e)return e;for(var r=t.parentNode;r;){if(e=r[rs]||r[Ir]){if(r=e.alternate,e.child!==null||r!==null&&r.child!==null)for(t=Fx(t);t!==null;){if(r=t[Ir])return r;t=Fx(t)}return e}t=r,r=t.parentNode}return null}function Qo(t){return t=t[Ir]||t[rs],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Na(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(M(33))}function xd(t){return t[po]||null}var Om=[],Sa=-1;function rn(t){return{current:t}}function Me(t){0>Sa||(t.current=Om[Sa],Om[Sa]=null,Sa--)}function Re(t,e){Sa++,Om[Sa]=t.current,t.current=e}var Qs={},yt=rn(Qs),Pt=rn(!1),On=Qs;function Za(t,e){var r=t.type.contextTypes;if(!r)return Qs;var s=t.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===e)return s.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in r)a[i]=e[i];return s&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=a),a}function Rt(t){return t=t.childContextTypes,t!=null}function yc(){Me(Pt),Me(yt)}function $x(t,e,r){if(yt.current!==Qs)throw Error(M(168));Re(yt,e),Re(Pt,r)}function V0(t,e,r){var s=t.stateNode;if(e=e.childContextTypes,typeof s.getChildContext!="function")return r;s=s.getChildContext();for(var a in s)if(!(a in e))throw Error(M(108,W2(t)||"Unknown",a));return Ue({},r,s)}function vc(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Qs,On=yt.current,Re(yt,t),Re(Pt,Pt.current),!0}function Ux(t,e,r){var s=t.stateNode;if(!s)throw Error(M(169));r?(t=V0(t,e,On),s.__reactInternalMemoizedMergedChildContext=t,Me(Pt),Me(yt),Re(yt,t)):Me(Pt),Re(Pt,r)}var Qr=null,gd=!1,gu=!1;function W0(t){Qr===null?Qr=[t]:Qr.push(t)}function ok(t){gd=!0,W0(t)}function sn(){if(!gu&&Qr!==null){gu=!0;var t=0,e=Ee;try{var r=Qr;for(Ee=1;t<r.length;t++){var s=r[t];do s=s(!0);while(s!==null)}Qr=null,gd=!1}catch(a){throw Qr!==null&&(Qr=Qr.slice(t+1)),p0(vf,sn),a}finally{Ee=e,gu=!1}}return null}var _a=[],ka=0,bc=null,wc=0,Yt=[],Kt=0,Dn=null,Kr=1,Zr="";function xn(t,e){_a[ka++]=wc,_a[ka++]=bc,bc=t,wc=e}function H0(t,e,r){Yt[Kt++]=Kr,Yt[Kt++]=Zr,Yt[Kt++]=Dn,Dn=t;var s=Kr;t=Zr;var a=32-wr(s)-1;s&=~(1<<a),r+=1;var i=32-wr(e)+a;if(30<i){var o=a-a%5;i=(s&(1<<o)-1).toString(32),s>>=o,a-=o,Kr=1<<32-wr(e)+a|r<<a|s,Zr=i+t}else Kr=1<<i|r<<a|s,Zr=t}function Ef(t){t.return!==null&&(xn(t,1),H0(t,1,0))}function Af(t){for(;t===bc;)bc=_a[--ka],_a[ka]=null,wc=_a[--ka],_a[ka]=null;for(;t===Dn;)Dn=Yt[--Kt],Yt[Kt]=null,Zr=Yt[--Kt],Yt[Kt]=null,Kr=Yt[--Kt],Yt[Kt]=null}var Ft=null,Bt=null,ze=!1,br=null;function q0(t,e){var r=Jt(5,null,null,0);r.elementType="DELETED",r.stateNode=e,r.return=t,e=t.deletions,e===null?(t.deletions=[r],t.flags|=16):e.push(r)}function Vx(t,e){switch(t.tag){case 5:var r=t.type;return e=e.nodeType!==1||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,Ft=t,Bt=Fs(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,Ft=t,Bt=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(r=Dn!==null?{id:Kr,overflow:Zr}:null,t.memoizedState={dehydrated:e,treeContext:r,retryLane:1073741824},r=Jt(18,null,null,0),r.stateNode=e,r.return=t,t.child=r,Ft=t,Bt=null,!0):!1;default:return!1}}function Dm(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Mm(t){if(ze){var e=Bt;if(e){var r=e;if(!Vx(t,e)){if(Dm(t))throw Error(M(418));e=Fs(r.nextSibling);var s=Ft;e&&Vx(t,e)?q0(s,r):(t.flags=t.flags&-4097|2,ze=!1,Ft=t)}}else{if(Dm(t))throw Error(M(418));t.flags=t.flags&-4097|2,ze=!1,Ft=t}}}function Wx(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Ft=t}function yl(t){if(t!==Ft)return!1;if(!ze)return Wx(t),ze=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!Pm(t.type,t.memoizedProps)),e&&(e=Bt)){if(Dm(t))throw G0(),Error(M(418));for(;e;)q0(t,e),e=Fs(e.nextSibling)}if(Wx(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(M(317)
vendor: 12,508 bytes, line 38
38);e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="/$"){if(e===0){Bt=Fs(t.nextSibling);break e}e--}else r!=="$"&&r!=="$!"&&r!=="$?"||e++}t=t.nextSibling}Bt=null}}else Bt=Ft?Fs(t.stateNode.nextSibling):null;return!0}function G0(){for(var t=Bt;t;)t=Fs(t.nextSibling)}function Ja(){Bt=Ft=null,ze=!1}function Tf(t){br===null?br=[t]:br.push(t)}var lk=cs.ReactCurrentBatchConfig;function Ti(t,e,r){if(t=r.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(M(309));var s=r.stateNode}if(!s)throw Error(M(147,t));var a=s,i=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===i?e.ref:(e=function(o){var l=a.refs;o===null?delete l[i]:l[i]=o},e._stringRef=i,e)}if(typeof t!="string")throw Error(M(284));if(!r._owner)throw Error(M(290,t))}return t}function vl(t,e){throw t=Object.prototype.toString.call(e),Error(M(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function Hx(t){var e=t._init;return e(t._payload)}function Q0(t){function e(b,g){if(t){var y=b.deletions;y===null?(b.deletions=[g],b.flags|=16):y.push(g)}}function r(b,g){if(!t)return null;for(;g!==null;)e(b,g),g=g.sibling;return null}function s(b,g){for(b=new Map;g!==null;)g.key!==null?b.set(g.key,g):b.set(g.index,g),g=g.sibling;return b}function a(b,g){return b=Ws(b,g),b.index=0,b.sibling=null,b}function i(b,g,y){return b.index=y,t?(y=b.alternate,y!==null?(y=y.index,y<g?(b.flags|=2,g):y):(b.flags|=2,g)):(b.flags|=1048576,g)}function o(b){return t&&b.alternate===null&&(b.flags|=2),b}function l(b,g,y,j){return g===null||g.tag!==6?(g=Su(y,b.mode,j),g.return=b,g):(g=a(g,y),g.return=b,g)}function c(b,g,y,j){var N=y.type;return N===va?u(b,g,y.props.children,j,y.key):g!==null&&(g.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===ws&&Hx(N)===g.type)?(j=a(g,y.props),j.ref=Ti(b,g,y),j.return=b,j):(j=tc(y.type,y.key,y.props,null,b.mode,j),j.ref=Ti(b,g,y),j.return=b,j)}function d(b,g,y,j){return g===null||g.tag!==4||g.stateNode.containerInfo!==y.containerInfo||g.stateNode.implementation!==y.implementation?(g=_u(y,b.mode,j),g.return=b,g):(g=a(g,y.children||[]),g.return=b,g)}function u(b,g,y,j,N){return g===null||g.tag!==7?(g=In(y,b.mode,j,N),g.return=b,g):(g=a(g,y),g.return=b,g)}function m(b,g,y){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Su(""+g,b.mode,y),g.return=b,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case ll:return y=tc(g.type,g.key,g.props,null,b.mode,y),y.ref=Ti(b,null,g),y.return=b,y;case ya:return g=_u(g,b.mode,y),g.return=b,g;case ws:var j=g._init;return m(b,j(g._payload),y)}if(Bi(g)||_i(g))return g=In(g,b.mode,y,null),g.return=b,g;vl(b,g)}return null}function h(b,g,y,j){var N=g!==null?g.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return N!==null?null:l(b,g,""+y,j);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ll:return y.key===N?c(b,g,y,j):null;case ya:return y.key===N?d(b,g,y,j):null;case ws:return N=y._init,h(b,g,N(y._payload),j)}if(Bi(y)||_i(y))return N!==null?null:u(b,g,y,j,null);vl(b,y)}return null}function f(b,g,y,j,N){if(typeof j=="string"&&j!==""||typeof j=="number")return b=b.get(y)||null,l(g,b,""+j,N);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case ll:return b=b.get(j.key===null?y:j.key)||null,c(g,b,j,N);case ya:return b=b.get(j.key===null?y:j.key)||null,d(g,b,j,N);case ws:var S=j._init;return f(b,g,y,S(j._payload),N)}if(Bi(j)||_i(j))return b=b.get(y)||null,u(g,b,j,N,null);vl(g,j)}return null}function v(b,g,y,j){for(var N=null,S=null,_=g,E=g=0,T=null;_!==null&&E<y.length;E++){_.index>E?(T=_,_=null):T=_.sibling;var O=h(b,_,y[E],j);if(O===null){_===null&&(_=T);break}t&&_&&O.alternate===null&&e(b,_),g=i(O,g,E),S===null?N=O:S.sibling=O,S=O,_=T}if(E===y.length)return r(b,_),ze&&xn(b,E),N;if(_===null){for(;E<y.length;E++)_=m(b,y[E],j),_!==null&&(g=i(_,g,E),S===null?N=_:S.sibling=_,S=_);return ze&&xn(b,E),N}for(_=s(b,_);E<y.length;E++)T=f(_,b,E,y[E],j),T!==null&&(t&&T.alternate!==null&&_.delete(T.key===null?E:T.key),g=i(T,g,E),S===null?N=T:S.sibling=T,S=T);return t&&_.forEach(function(B){return e(b,B)}),ze&&xn(b,E),N}function p(b,g,y,j){var N=_i(y);if(typeof N!="function")throw Error(M(150));if(y=N.call(y),y==null)throw Error(M(151));for(var S=N=null,_=g,E=g=0,T=null,O=y.next();_!==null&&!O.done;E++,O=y.next()){_.index>E?(T=_,_=null):T=_.sibling;var B=h(b,_,O.value,j);if(B===null){_===null&&(_=T);break}t&&_&&B.alternate===null&&e(b,_),g=i(B,g,E),S===null?N=B:S.sibling=B,S=B,_=T}if(O.done)return r(b,_),ze&&xn(b,E),N;if(_===null){for(;!O.done;E++,O=y.next())O=m(b,O.value,j),O!==null&&(g=i(O,g,E),S===null?N=O:S.sibling=O,S=O);return ze&&xn(b,E),N}for(_=s(b,_);!O.done;E++,O=y.next())O=f(_,b,E,O.value,j),O!==null&&(t&&O.alternate!==null&&_.delete(O.key===null?E:O.key),g=i(O,g,E),S===null?N=O:S.sibling=O,S=O);return t&&_.forEach(function(D){return e(b,D)}),ze&&xn(b,E),N}function w(b,g,y,j){if(typeof y=="object"&&y!==null&&y.type===va&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case ll:e:{for(var N=y.key,S=g;S!==null;){if(S.key===N){if(N=y.type,N===va){if(S.tag===7){r(b,S.sibling),g=a(S,y.props.children),g.return=b,b=g;break e}}else if(S.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===ws&&Hx(N)===S.type){r(b,S.sibling),g=a(S,y.props),g.ref=Ti(b,S,y),g.return=b,b=g;break e}r(b,S);break}else e(b,S);S=S.sibling}y.type===va?(g=In(y.props.children,b.mode,j,y.key),g.return=b,b=g):(j=tc(y.type,y.key,y.props,null,b.mode,j),j.ref=Ti(b,g,y),j.return=b,b=j)}return o(b);case ya:e:{for(S=y.key;g!==null;){if(g.key===S)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){r(b,g.sibling),g=a(g,y.children||[]),g.return=b,b=g;break e}else{r(b,g);break}else e(b,g);g=g.sibling}g=_u(y,b.mode,j),g.return=b,b=g}return o(b);case ws:return S=y._init,w(b,g,S(y._payload),j)}if(Bi(y))return v(b,g,y,j);if(_i(y))return p(b,g,y,j);vl(b,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(r(b,g.sibling),g=a(g,y),g.return=b,b=g):(r(b,g),g=Su(y,b.mode,j),g.return=b,b=g),o(b)):r(b,g)}return w}var Xa=Q0(!0),Y0=Q0(!1),jc=rn(null),Nc=null,Ca=null,Pf=null;function Rf(){Pf=Ca=Nc=null}function If(t){var e=jc.current;Me(jc),t._currentValue=e}function Lm(t,e,r){for(;t!==null;){var s=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,s!==null&&(s.childLanes|=e)):s!==null&&(s.childLanes&e)!==e&&(s.childLanes|=e),t===r)break;t=t.return}}function Oa(t,e){Nc=t,Pf=Ca=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(Tt=!0),t.firstContext=null)}function er(t){var e=t._currentValue;if(Pf!==t)if(t={context:t,memoizedValue:e,next:null},Ca===null){if(Nc===null)throw Error(M(308));Ca=t,Nc.dependencies={lanes:0,firstContext:t}}else Ca=Ca.next=t;return e}var Nn=null;function Of(t){Nn===null?Nn=[t]:Nn.push(t)}function K0(t,e,r,s){var a=e.interleaved;return a===null?(r.next=r,Of(e)):(r.next=a.next,a.next=r),e.interleaved=r,ss(t,s)}function ss(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var js=!1;function Df(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Z0(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Jr(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function $s(t,e,r){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,ve&2){var a=s.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),s.pending=e,ss(t,r)}return a=s.interleaved,a===null?(e.next=e,Of(s)):(e.next=a.next,a.next=e),s.interleaved=e,ss(t,r)}function Yl(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var s=e.lanes;s&=t.pendingLanes,r|=s,e.lanes=r,bf(t,r)}}function qx(t,e){var r=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,r===s)){var a=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};i===null?a=i=o:i=i.next=o,r=r.next}while(r!==null);i===null?a=i=e:i=i.next=e}else a=i=e;r={baseState:s.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:s.shared,effects:s.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function Sc(t,e,r,s){var a=t.updateQueue;js=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,l=a.shared.pending;if(l!==null){a.shared.pending=null;var c=l,d=c.next;c.next=null,o===null?i=d:o.next=d,o=c;var u=t.alternate;u!==null&&(u=u.updateQueue,l=u.lastBaseUpdate,l!==o&&(l===null?u.firstBaseUpdate=d:l.next=d,u.lastBaseUpdate=c))}if(i!==null){var m=a.baseState;o=0,u=d=c=null,l=i;do{var h=l.lane,f=l.eventTime;if((s&h)===h){u!==null&&(u=u.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var v=t,p=l;switch(h=e,f=r,p.tag){case 1:if(v=p.payload,typeof v=="function"){m=v.call(f,m,h);break e}m=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=p.payload,h=typeof v=="function"?v.call(f,m,h):v,h==null)break e;m=Ue({},m,h);break e;case 2:js=!0}}l.callback!==null&&l.lane!==0&&(t.flags|=64,h=a.effects,h===null?a.effects=[l]:h.push(l))}else f={eventTime:f,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},u===null?(d=u=f,c=m):u=u.next=f,o|=h;if(l=l.next,l===null){if(l=a.shared.pending,l===null)break;h=l,l=h.next,h.next=null,a.lastBaseUpdate=h,a.shared.pending=null}}while(!0);if(u===null&&(c=m),a.baseState=c,a.firstBaseUpdate=d,a.lastBaseUpdate=u,e=a.shared.interleaved,e!==null){a=e;do o|=a.lane,a=a.next;while(a!==e)}else i===null&&(a.shared.lanes=0);Ln|=o,t.lanes=o,t.memoizedState=m}}function Gx(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var s=t[e],a=s.callback;if(a!==null){if(s.callback=null,s=r,typeof a!="function")throw Error(M(191,a));a.call(s)}}}var Yo={},Mr=rn(Yo),xo=rn(Yo),go=rn(Yo);function Sn(t){if(t===Yo)throw Error(M(174));return t}function Mf(t,e){switch(Re(go,e),Re(xo,t),Re(Mr,Yo),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:gm(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=gm(e,t)}Me(Mr),Re(Mr,e)}function ei(){Me(Mr),Me(xo),Me(go)}function J0(t){Sn(go.current);var e=Sn(Mr.current),r=gm(e,t.type);e!==r&&(Re(xo,t),Re(Mr,r))}function Lf(t){xo.current===t&&(Me(Mr),Me(xo))}var Fe=rn(0);function _c(t){for(var e=t;e!==null;){if(e.tag===13){var r=e.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var yu=[];function zf(){for(var t=0;t<yu.length;t++)yu[t]._workInProgressVersionPrimary=null;yu.length=0}var Kl=cs.ReactCurrentDispatcher,vu=cs.ReactCurrentBatchConfig,Mn=0,$e=null,et=null,rt=null,kc=!1,Ki=!1,yo=0,ck=0;function ht(){throw Error(M(321))}function Bf(t,e){if(e===null)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!Sr(t[r],e[r]))return!1;return!0}function Ff(t,e,r,s,a,i){if(Mn=i,$e=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Kl.current=t===null||t.memoizedState===null?hk:fk,t=r(s,a),Ki){i=0;do{if(Ki=!1,yo=0,25<=i)throw Error(M(301));i+=1,rt=et=null,e.updateQueue=null,Kl.current=pk,t=r(s,a)}while(Ki)}if(Kl.current=Cc,e=et!==null&&et.next!==null,Mn=0,rt=et=$e=null,kc=!1,e)throw Error(M(300));return t}function $f(){var t=yo!==0;return yo=0,t}function Ar(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?$e.memoizedState=rt=t:rt=rt.next=t,rt}function tr(){if(et===null){var t=$e.alternate;t=t!==null?t.memoizedState:null}else t=et.next;var e=rt===null?$e.memoizedState:rt.next;if(e!==null)rt=e,et=t;else{if(t===null)throw Error(M(310));et=t,t={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},rt===null?$e.memoizedState=rt=t:rt=rt.next=t}return rt}function vo(t,e){return typeof e=="function"?e(t):e}function bu(t){var e=tr(),r=e.queue;if(r===null)throw Error(M(311));r.lastRenderedReducer=t;
vendor: 4,649 bytes, line 38
38var s=et,a=s.baseQueue,i=r.pending;if(i!==null){if(a!==null){var o=a.next;a.next=i.next,i.next=o}s.baseQueue=a=i,r.pending=null}if(a!==null){i=a.next,s=s.baseState;var l=o=null,c=null,d=i;do{var u=d.lane;if((Mn&u)===u)c!==null&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),s=d.hasEagerState?d.eagerState:t(s,d.action);else{var m={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};c===null?(l=c=m,o=s):c=c.next=m,$e.lanes|=u,Ln|=u}d=d.next}while(d!==null&&d!==i);c===null?o=s:c.next=l,Sr(s,e.memoizedState)||(Tt=!0),e.memoizedState=s,e.baseState=o,e.baseQueue=c,r.lastRenderedState=s}if(t=r.interleaved,t!==null){a=t;do i=a.lane,$e.lanes|=i,Ln|=i,a=a.next;while(a!==t)}else a===null&&(r.lanes=0);return[e.memoizedState,r.dispatch]}function wu(t){var e=tr(),r=e.queue;if(r===null)throw Error(M(311));r.lastRenderedReducer=t;var s=r.dispatch,a=r.pending,i=e.memoizedState;if(a!==null){r.pending=null;var o=a=a.next;do i=t(i,o.action),o=o.next;while(o!==a);Sr(i,e.memoizedState)||(Tt=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),r.lastRenderedState=i}return[i,s]}function X0(){}function eb(t,e){var r=$e,s=tr(),a=e(),i=!Sr(s.memoizedState,a);if(i&&(s.memoizedState=a,Tt=!0),s=s.queue,Uf(sb.bind(null,r,s,t),[t]),s.getSnapshot!==e||i||rt!==null&&rt.memoizedState.tag&1){if(r.flags|=2048,bo(9,rb.bind(null,r,s,a,e),void 0,null),at===null)throw Error(M(349));Mn&30||tb(r,e,a)}return a}function tb(t,e,r){t.flags|=16384,t={getSnapshot:e,value:r},e=$e.updateQueue,e===null?(e={lastEffect:null,stores:null},$e.updateQueue=e,e.stores=[t]):(r=e.stores,r===null?e.stores=[t]:r.push(t))}function rb(t,e,r,s){e.value=r,e.getSnapshot=s,nb(e)&&ab(t)}function sb(t,e,r){return r(function(){nb(e)&&ab(t)})}function nb(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!Sr(t,r)}catch{return!0}}function ab(t){var e=ss(t,1);e!==null&&jr(e,t,1,-1)}function Qx(t){var e=Ar();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vo,lastRenderedState:t},e.queue=t,t=t.dispatch=mk.bind(null,$e,t),[e.memoizedState,t]}function bo(t,e,r,s){return t={tag:t,create:e,destroy:r,deps:s,next:null},e=$e.updateQueue,e===null?(e={lastEffect:null,stores:null},$e.updateQueue=e,e.lastEffect=t.next=t):(r=e.lastEffect,r===null?e.lastEffect=t.next=t:(s=r.next,r.next=t,t.next=s,e.lastEffect=t)),t}function ib(){return tr().memoizedState}function Zl(t,e,r,s){var a=Ar();$e.flags|=t,a.memoizedState=bo(1|e,r,void 0,s===void 0?null:s)}function yd(t,e,r,s){var a=tr();s=s===void 0?null:s;var i=void 0;if(et!==null){var o=et.memoizedState;if(i=o.destroy,s!==null&&Bf(s,o.deps)){a.memoizedState=bo(e,r,i,s);return}}$e.flags|=t,a.memoizedState=bo(1|e,r,i,s)}function Yx(t,e){return Zl(8390656,8,t,e)}function Uf(t,e){return yd(2048,8,t,e)}function ob(t,e){return yd(4,2,t,e)}function lb(t,e){return yd(4,4,t,e)}function cb(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function db(t,e,r){return r=r!=null?r.concat([t]):null,yd(4,4,cb.bind(null,e,t),r)}function Vf(){}function ub(t,e){var r=tr();e=e===void 0?null:e;var s=r.memoizedState;return s!==null&&e!==null&&Bf(e,s[1])?s[0]:(r.memoizedState=[t,e],t)}function mb(t,e){var r=tr();e=e===void 0?null:e;var s=r.memoizedState;return s!==null&&e!==null&&Bf(e,s[1])?s[0]:(t=t(),r.memoizedState=[t,e],t)}function hb(t,e,r){return Mn&21?(Sr(r,e)||(r=y0(),$e.lanes|=r,Ln|=r,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,Tt=!0),t.memoizedState=r)}function dk(t,e){var r=Ee;Ee=r!==0&&4>r?r:4,t(!0);var s=vu.transition;vu.transition={};try{t(!1),e()}finally{Ee=r,vu.transition=s}}function fb(){return tr().memoizedState}function uk(t,e,r){var s=Vs(t);if(r={lane:s,action:r,hasEagerState:!1,eagerState:null,next:null},pb(t))xb(e,r);else if(r=K0(t,e,r,s),r!==null){var a=St();jr(r,t,s,a),gb(r,e,s)}}function mk(t,e,r){var s=Vs(t),a={lane:s,action:r,hasEagerState:!1,eagerState:null,next:null};if(pb(t))xb(e,a);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var o=e.lastRenderedState,l=i(o,r);if(a.hasEagerState=!0,a.eagerState=l,Sr(l,o)){var c=e.interleaved;c===null?(a.next=a,Of(e)):(a.next=c.next,c.next=a),e.interleaved=a;return}}catch{}finally{}r=K0(t,e,a,s),r!==null&&(a=St(),jr(r,t,s,a),gb(r,e,s))}}function pb(t){var e=t.alternate;return t===$e||e!==null&&e===$e}function xb(t,e){Ki=kc=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function gb(t,e,r){if(r&4194240){var s=e.lanes;
vendor: 6,092 bytes, lines 38-40
38s&=t.pendingLanes,r|=s,e.lanes=r,bf(t,r)}}var Cc={readContext:er,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},hk={readContext:er,useCallback:function(t,e){return Ar().memoizedState=[t,e===void 0?null:e],t},useContext:er,useEffect:Yx,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,Zl(4194308,4,cb.bind(null,e,t),r)},useLayoutEffect:function(t,e){return Zl(4194308,4,t,e)},useInsertionEffect:function(t,e){return Zl(4,2,t,e)},useMemo:function(t,e){var r=Ar();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var s=Ar();return e=r!==void 0?r(e):e,s.memoizedState=s.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},s.queue=t,t=t.dispatch=uk.bind(null,$e,t),[s.memoizedState,t]},useRef:function(t){var e=Ar();return t={current:t},e.memoizedState=t},useState:Qx,useDebugValue:Vf,useDeferredValue:function(t){return Ar().memoizedState=t},useTransition:function(){var t=Qx(!1),e=t[0];return t=dk.bind(null,t[1]),Ar().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var s=$e,a=Ar();if(ze){if(r===void 0)throw Error(M(407));r=r()}else{if(r=e(),at===null)throw Error(M(349));Mn&30||tb(s,e,r)}a.memoizedState=r;var i={value:r,getSnapshot:e};return a.queue=i,Yx(sb.bind(null,s,i,t),[t]),s.flags|=2048,bo(9,rb.bind(null,s,i,r,e),void 0,null),r},useId:function(){var t=Ar(),e=at.identifierPrefix;if(ze){var r=Zr,s=Kr;r=(s&~(1<<32-wr(s)-1)).toString(32)+r,e=":"+e+"R"+r,r=yo++,0<r&&(e+="H"+r.toString(32)),e+=":"}else r=ck++,e=":"+e+"r"+r.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},fk={readContext:er,useCallback:ub,useContext:er,useEffect:Uf,useImperativeHandle:db,useInsertionEffect:ob,useLayoutEffect:lb,useMemo:mb,useReducer:bu,useRef:ib,useState:function(){return bu(vo)},useDebugValue:Vf,useDeferredValue:function(t){var e=tr();return hb(e,et.memoizedState,t)},useTransition:function(){var t=bu(vo)[0],e=tr().memoizedState;return[t,e]},useMutableSource:X0,useSyncExternalStore:eb,useId:fb,unstable_isNewReconciler:!1},pk={readContext:er,useCallback:ub,useContext:er,useEffect:Uf,useImperativeHandle:db,useInsertionEffect:ob,useLayoutEffect:lb,useMemo:mb,useReducer:wu,useRef:ib,useState:function(){return wu(vo)},useDebugValue:Vf,useDeferredValue:function(t){var e=tr();return et===null?e.memoizedState=t:hb(e,et.memoizedState,t)},useTransition:function(){var t=wu(vo)[0],e=tr().memoizedState;return[t,e]},useMutableSource:X0,useSyncExternalStore:eb,useId:fb,unstable_isNewReconciler:!1};function hr(t,e){if(t&&t.defaultProps){e=Ue({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}function zm(t,e,r,s){e=t.memoizedState,r=r(s,e),r=r==null?e:Ue({},e,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var vd={isMounted:function(t){return(t=t._reactInternals)?Gn(t)===t:!1},enqueueSetState:function(t,e,r){t=t._reactInternals;var s=St(),a=Vs(t),i=Jr(s,a);i.payload=e,r!=null&&(i.callback=r),e=$s(t,i,a),e!==null&&(jr(e,t,a,s),Yl(e,t,a))},enqueueReplaceState:function(t,e,r){t=t._reactInternals;var s=St(),a=Vs(t),i=Jr(s,a);i.tag=1,i.payload=e,r!=null&&(i.callback=r),e=$s(t,i,a),e!==null&&(jr(e,t,a,s),Yl(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var r=St(),s=Vs(t),a=Jr(r,s);a.tag=2,e!=null&&(a.callback=e),e=$s(t,a,s),e!==null&&(jr(e,t,s,r),Yl(e,t,s))}};function Kx(t,e,r,s,a,i,o){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,i,o):e.prototype&&e.prototype.isPureReactComponent?!mo(r,s)||!mo(a,i):!0}function yb(t,e,r){var s=!1,a=Qs,i=e.contextType;return typeof i=="object"&&i!==null?i=er(i):(a=Rt(e)?On:yt.current,s=e.contextTypes,i=(s=s!=null)?Za(t,a):Qs),e=new e(r,i),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=vd,t.stateNode=e,e._reactInternals=t,s&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=a,t.__reactInternalMemoizedMaskedChildContext=i),e}function Zx(t,e,r,s){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(r,s),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(r,s),e.state!==t&&vd.enqueueReplaceState(e,e.state,null)}function Bm(t,e,r,s){var a=t.stateNode;a.props=r,a.state=t.memoizedState,a.refs={},Df(t);var i=e.contextType;typeof i=="object"&&i!==null?a.context=er(i):(i=Rt(e)?On:yt.current,a.context=Za(t,i)),a.state=t.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(zm(t,e,i,r),a.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(e=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),e!==a.state&&vd.enqueueReplaceState(a,a.state,null),Sc(t,r,a,s),a.state=t.memoizedState),typeof a.componentDidMount=="function"&&(t.flags|=4194308)}function ti(t,e){try{var r="",s=e;do r+=V2(s),s=s.return;while(s);var a=r}catch(i){a=` 39Error generating stack: `+i.message+` 40`+i.stack}return{value:t,source:e,stack:a,digest:null}}function ju(t,e,r){return{value:t,source:null,stack:r??null,digest:e??null}}function Fm(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var xk=typeof WeakMap=="function"?WeakMap:Map;function vb(t,e,r){r=Jr(-1,r),r.tag=3,r.payload={element:null};var s=e.value;return r.callback=function(){Ac||(Ac=!0,Km=s),Fm(t,e)},r}function bb(t,e,r){r=Jr(-1,r),r.tag=3;var s=t.type.getDerivedStateFromError;if(typeof s=="function"){var a=e.value;r.payload=function(){return s(a)},r.callback=function(){Fm(t,e)}}var i=t.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){Fm(t,e),t
vendor: 7,089 bytes, line 40
40ypeof s!="function"&&(Us===null?Us=new Set([this]):Us.add(this));var o=e.stack;this.componentDidCatch(e.value,{componentStack:o!==null?o:""})}),r}function Jx(t,e,r){var s=t.pingCache;if(s===null){s=t.pingCache=new xk;var a=new Set;s.set(e,a)}else a=s.get(e),a===void 0&&(a=new Set,s.set(e,a));a.has(r)||(a.add(r),t=Tk.bind(null,t,e,r),e.then(t,t))}function Xx(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function eg(t,e,r,s,a){return t.mode&1?(t.flags|=65536,t.lanes=a,t):(t===e?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(e=Jr(-1,1),e.tag=2,$s(r,e,1))),r.lanes|=1),t)}var gk=cs.ReactCurrentOwner,Tt=!1;function bt(t,e,r,s){e.child=t===null?Y0(e,null,r,s):Xa(e,t.child,r,s)}function tg(t,e,r,s,a){r=r.render;var i=e.ref;return Oa(e,a),s=Ff(t,e,r,s,i,a),r=$f(),t!==null&&!Tt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a,ns(t,e,a)):(ze&&r&&Ef(e),e.flags|=1,bt(t,e,s,a),e.child)}function rg(t,e,r,s,a){if(t===null){var i=r.type;return typeof i=="function"&&!Zf(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=i,wb(t,e,i,s,a)):(t=tc(r.type,null,s,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!(t.lanes&a)){var o=i.memoizedProps;if(r=r.compare,r=r!==null?r:mo,r(o,s)&&t.ref===e.ref)return ns(t,e,a)}return e.flags|=1,t=Ws(i,s),t.ref=e.ref,t.return=e,e.child=t}function wb(t,e,r,s,a){if(t!==null){var i=t.memoizedProps;if(mo(i,s)&&t.ref===e.ref)if(Tt=!1,e.pendingProps=s=i,(t.lanes&a)!==0)t.flags&131072&&(Tt=!0);else return e.lanes=t.lanes,ns(t,e,a)}return $m(t,e,r,s,a)}function jb(t,e,r){var s=e.pendingProps,a=s.children,i=t!==null?t.memoizedState:null;if(s.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Re(Aa,Dt),Dt|=r;else{if(!(r&1073741824))return t=i!==null?i.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Re(Aa,Dt),Dt|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=i!==null?i.baseLanes:r,Re(Aa,Dt),Dt|=s}else i!==null?(s=i.baseLanes|r,e.memoizedState=null):s=r,Re(Aa,Dt),Dt|=s;return bt(t,e,a,r),e.child}function Nb(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function $m(t,e,r,s,a){var i=Rt(r)?On:yt.current;return i=Za(e,i),Oa(e,a),r=Ff(t,e,r,s,i,a),s=$f(),t!==null&&!Tt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a,ns(t,e,a)):(ze&&s&&Ef(e),e.flags|=1,bt(t,e,r,a),e.child)}function sg(t,e,r,s,a){if(Rt(r)){var i=!0;vc(e)}else i=!1;if(Oa(e,a),e.stateNode===null)Jl(t,e),yb(e,r,s),Bm(e,r,s,a),s=!0;else if(t===null){var o=e.stateNode,l=e.memoizedProps;o.props=l;var c=o.context,d=r.contextType;typeof d=="object"&&d!==null?d=er(d):(d=Rt(r)?On:yt.current,d=Za(e,d));var u=r.getDerivedStateFromProps,m=typeof u=="function"||typeof o.getSnapshotBeforeUpdate=="function";m||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==s||c!==d)&&Zx(e,o,s,d),js=!1;var h=e.memoizedState;o.state=h,Sc(e,s,o,a),c=e.memoizedState,l!==s||h!==c||Pt.current||js?(typeof u=="function"&&(zm(e,r,u,s),c=e.memoizedState),(l=js||Kx(e,r,l,s,h,c,d))?(m||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"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=s,e.memoizedState=c),o.props=s,o.state=c,o.context=d,s=l):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),s=!1)}else{o=e.stateNode,Z0(t,e),l=e.memoizedProps,d=e.type===e.elementType?l:hr(e.type,l),o.props=d,m=e.pendingProps,h=o.context,c=r.contextType,typeof c=="object"&&c!==null?c=er(c):(c=Rt(r)?On:yt.current,c=Za(e,c));var f=r.getDerivedStateFromProps;(u=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==m||h!==c)&&Zx(e,o,s,c),js=!1,h=e.memoizedState,o.state=h,Sc(e,s,o,a);var v=e.memoizedState;l!==m||h!==v||Pt.current||js?(typeof f=="function"&&(zm(e,r,f,s),v=e.memoizedState),(d=js||Kx(e,r,d,s,h,v,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(s,v,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(s,v,c)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),e.memoizedProps=s,e.memoizedState=v),o.props=s,o.state=v,o.context=c,s=d):(typeof o.componentDidUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),s=!1)}return Um(t,e,r,s,i,a)}function Um(t,e,r,s,a,i){Nb(t,e);var o=(e.flags&128)!==0;if(!s&&!o)return a&&Ux(e,r,!1),ns(t,e,i);s=e.stateNode,gk.current=e;var l=o&&typeof r.getDerivedStateFromError!="function"?null:s.render();return e.flags|=1,t!==null&&o?(e.child=Xa(e,t.child,null,i),e.child=Xa(e,null,l,i)):bt(t,e,l,i),e.memoizedState=s.state,a&&Ux(e,r,!0),e.child}function Sb(t){var e=t.stateNode;e.pendingContext?$x(t,e.pendingContext,e.pendingContext!==e.context):e.context&&$x(t,e.context,!1),Mf(t,e.containerInfo)}function ng(t,e,r,s,a){return Ja(),Tf(a),e.flags|=256,bt(t,e,r,s),e.child}var Vm={dehydrated:null,treeContext:null,retryLane:0};function Wm(t){return{baseLanes:t,cachePool:null,transitions:null}}function _b(t,e,r){var s=e.pendingProps,a=Fe.current,i=!1,o=(e.flags&128)!==0,l;if((l=o)||(l=t!==null&&t.memoizedState===null?!1:(a&2)!==0),l?(i=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(a|=1),Re(Fe,a&1),t===null)return Mm(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(o=s.children,t=s.fallback,i?(s=e.mode,i=e.child,o={mode:"hidden",children:o},!(s&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=jd(o,s,0,null),t=In(t,s,r,null),i.return=e,t.return=e,i.sibling=t,e.child=i,e.child.memoizedState=Wm(r),e.memoizedState=Vm,t):Wf(e,o));if(a=t.memoizedState,a!==null&&(l=a.dehydrated,l!==null))return yk(t,e,o,s,l,a,r);if(i){i=s.fallback,o=e.mode,a=t.child,l=a.sibling;var c={mode:"hidden",children:s.children};return!(o&1)&&e.child!==a?(s=e.child,s.childLanes=0,s.pendingProps=c,e.deletions=null):(s=Ws(a,c),s.subtreeFlags=a.subtreeFlags&14680064),l!==null?i=Ws(l,i):(i=In(i,o,r,null),i.flags|=2),i.return=e,s.return=e,s.sibling=i,e.child=s,s=i,i=e.child,o=t.child.memoizedState,o=o===null?Wm(r):{base
vendor: 7,497 bytes, line 40
40Lanes:o.baseLanes|r,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=t.childLanes&~r,e.memoizedState=Vm,s}return i=t.child,t=i.sibling,s=Ws(i,{mode:"visible",children:s.children}),!(e.mode&1)&&(s.lanes=r),s.return=e,s.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=s,e.memoizedState=null,s}function Wf(t,e){return e=jd({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function bl(t,e,r,s){return s!==null&&Tf(s),Xa(e,t.child,null,r),t=Wf(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function yk(t,e,r,s,a,i,o){if(r)return e.flags&256?(e.flags&=-257,s=ju(Error(M(422))),bl(t,e,o,s)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(i=s.fallback,a=e.mode,s=jd({mode:"visible",children:s.children},a,0,null),i=In(i,a,o,null),i.flags|=2,s.return=e,i.return=e,s.sibling=i,e.child=s,e.mode&1&&Xa(e,t.child,null,o),e.child.memoizedState=Wm(o),e.memoizedState=Vm,i);if(!(e.mode&1))return bl(t,e,o,null);if(a.data==="$!"){if(s=a.nextSibling&&a.nextSibling.dataset,s)var l=s.dgst;return s=l,i=Error(M(419)),s=ju(i,s,void 0),bl(t,e,o,s)}if(l=(o&t.childLanes)!==0,Tt||l){if(s=at,s!==null){switch(o&-o){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}a=a&(s.suspendedLanes|o)?0:a,a!==0&&a!==i.retryLane&&(i.retryLane=a,ss(t,a),jr(s,t,a,-1))}return Kf(),s=ju(Error(M(421))),bl(t,e,o,s)}return a.data==="$?"?(e.flags|=128,e.child=t.child,e=Pk.bind(null,t),a._reactRetry=e,null):(t=i.treeContext,Bt=Fs(a.nextSibling),Ft=e,ze=!0,br=null,t!==null&&(Yt[Kt++]=Kr,Yt[Kt++]=Zr,Yt[Kt++]=Dn,Kr=t.id,Zr=t.overflow,Dn=e),e=Wf(e,s.children),e.flags|=4096,e)}function ag(t,e,r){t.lanes|=e;var s=t.alternate;s!==null&&(s.lanes|=e),Lm(t.return,e,r)}function Nu(t,e,r,s,a){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:s,tail:r,tailMode:a}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=s,i.tail=r,i.tailMode=a)}function kb(t,e,r){var s=e.pendingProps,a=s.revealOrder,i=s.tail;if(bt(t,e,s.children,r),s=Fe.current,s&2)s=s&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&ag(t,r,e);else if(t.tag===19)ag(t,r,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}s&=1}if(Re(Fe,s),!(e.mode&1))e.memoizedState=null;else switch(a){case"forwards":for(r=e.child,a=null;r!==null;)t=r.alternate,t!==null&&_c(t)===null&&(a=r),r=r.sibling;r=a,r===null?(a=e.child,e.child=null):(a=r.sibling,r.sibling=null),Nu(e,!1,a,r,i);break;case"backwards":for(r=null,a=e.child,e.child=null;a!==null;){if(t=a.alternate,t!==null&&_c(t)===null){e.child=a;break}t=a.sibling,a.sibling=r,r=a,a=t}Nu(e,!0,r,null,i);break;case"together":Nu(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Jl(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function ns(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),Ln|=e.lanes,!(r&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(M(153));if(e.child!==null){for(t=e.child,r=Ws(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=Ws(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function vk(t,e,r){switch(e.tag){case 3:Sb(e),Ja();break;case 5:J0(e);break;case 1:Rt(e.type)&&vc(e);break;case 4:Mf(e,e.stateNode.containerInfo);break;case 10:var s=e.type._context,a=e.memoizedProps.value;Re(jc,s._currentValue),s._currentValue=a;break;case 13:if(s=e.memoizedState,s!==null)return s.dehydrated!==null?(Re(Fe,Fe.current&1),e.flags|=128,null):r&e.child.childLanes?_b(t,e,r):(Re(Fe,Fe.current&1),t=ns(t,e,r),t!==null?t.sibling:null);Re(Fe,Fe.current&1);break;case 19:if(s=(r&e.childLanes)!==0,t.flags&128){if(s)return kb(t,e,r);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Re(Fe,Fe.current),s)break;return null;case 22:case 23:return e.lanes=0,jb(t,e,r)}return ns(t,e,r)}var Cb,Hm,Eb,Ab;Cb=function(t,e){for(var r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Hm=function(){};Eb=function(t,e,r,s){var a=t.memoizedProps;if(a!==s){t=e.stateNode,Sn(Mr.current);var i=null;switch(r){case"input":a=hm(t,a),s=hm(t,s),i=[];break;case"select":a=Ue({},a,{value:void 0}),s=Ue({},s,{value:void 0}),i=[];break;case"textarea":a=xm(t,a),s=xm(t,s),i=[];break;default:typeof a.onClick!="function"&&typeof s.onClick=="function"&&(t.onclick=gc)}ym(r,s);var o;r=null;for(d in a)if(!s.hasOwnProperty(d)&&a.hasOwnProperty(d)&&a[d]!=null)if(d==="style"){var l=a[d];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(no.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in s){var c=s[d];if(l=a!=null?a[d]:void 0,s.hasOwnProperty(d)&&c!==l&&(c!=null||l!=null))if(d==="style")if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(r||(r={}),r[o]=c[o])}else r||(i||(i=[]),i.push(d,r)),r=c;else d==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(i=i||[]).push(d,c)):d==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(d,""+c):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(no.hasOwnProperty(d)?(c!=null&&d==="onScroll"&&De("scroll",t),i||l===c||(i=[])):(i=i||[]).push(d,c))}r&&(i=i||[]).push("style",r);var d=i;(e.updateQueue=d)&&(e.flags|=4)}};Ab=function(t,e,r,s){r!==s&&(e.flags|=4)};function Pi(t,e){if(!ze)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;e!==null;)e.alternate!==null&&(r=e),e=e.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function ft(t){var e=t.alternate!==null&&t.alternate.child===t.child,r=0,s=0;if(e)for(var a=t.child;a!==null;)r|=a.lanes|a.childLanes,s|=a.subtreeFlags&14680064,s|=a.flags&14680064,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)r|=a.lanes|a.childLanes,s|=a.subtreeFlags,s|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=s,t.childLanes=r,e}function bk(t,e,r){var s=e.pendingProps;switch(Af(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ft(e),null;case 1:return Rt(e.type)&&yc(),ft(e),null;case 3:return s=e.stateNode,ei(),Me(Pt),Me(yt),zf(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(t===null||t.child===null)&&(yl(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,br!==null&&(Xm(br),br=null))),Hm(t,e),ft(e),null;case 5:Lf(e);var a=Sn(go.current);if(r=e.type,t!==null&&e.stateNode!=null)Eb(t,e,r,s,a),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);
vendor: 14,466 bytes, line 40
40else{if(!s){if(e.stateNode===null)throw Error(M(166));return ft(e),null}if(t=Sn(Mr.current),yl(e)){s=e.stateNode,r=e.type;var i=e.memoizedProps;switch(s[Ir]=e,s[po]=i,t=(e.mode&1)!==0,r){case"dialog":De("cancel",s),De("close",s);break;case"iframe":case"object":case"embed":De("load",s);break;case"video":case"audio":for(a=0;a<$i.length;a++)De($i[a],s);break;case"source":De("error",s);break;case"img":case"image":case"link":De("error",s),De("load",s);break;case"details":De("toggle",s);break;case"input":fx(s,i),De("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!i.multiple},De("invalid",s);break;case"textarea":xx(s,i),De("invalid",s)}ym(r,i),a=null;for(var o in i)if(i.hasOwnProperty(o)){var l=i[o];o==="children"?typeof l=="string"?s.textContent!==l&&(i.suppressHydrationWarning!==!0&&gl(s.textContent,l,t),a=["children",l]):typeof l=="number"&&s.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&gl(s.textContent,l,t),a=["children",""+l]):no.hasOwnProperty(o)&&l!=null&&o==="onScroll"&&De("scroll",s)}switch(r){case"input":cl(s),px(s,i,!0);break;case"textarea":cl(s),gx(s);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(s.onclick=gc)}s=a,e.updateQueue=s,s!==null&&(e.flags|=4)}else{o=a.nodeType===9?a:a.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=s0(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=o.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof s.is=="string"?t=o.createElement(r,{is:s.is}):(t=o.createElement(r),r==="select"&&(o=t,s.multiple?o.multiple=!0:s.size&&(o.size=s.size))):t=o.createElementNS(t,r),t[Ir]=e,t[po]=s,Cb(t,e,!1,!1),e.stateNode=t;e:{switch(o=vm(r,s),r){case"dialog":De("cancel",t),De("close",t),a=s;break;case"iframe":case"object":case"embed":De("load",t),a=s;break;case"video":case"audio":for(a=0;a<$i.length;a++)De($i[a],t);a=s;break;case"source":De("error",t),a=s;break;case"img":case"image":case"link":De("error",t),De("load",t),a=s;break;case"details":De("toggle",t),a=s;break;case"input":fx(t,s),a=hm(t,s),De("invalid",t);break;case"option":a=s;break;case"select":t._wrapperState={wasMultiple:!!s.multiple},a=Ue({},s,{value:void 0}),De("invalid",t);break;case"textarea":xx(t,s),a=xm(t,s),De("invalid",t);break;default:a=s}ym(r,a),l=a;for(i in l)if(l.hasOwnProperty(i)){var c=l[i];i==="style"?i0(t,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&n0(t,c)):i==="children"?typeof c=="string"?(r!=="textarea"||c!=="")&&ao(t,c):typeof c=="number"&&ao(t,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(no.hasOwnProperty(i)?c!=null&&i==="onScroll"&&De("scroll",t):c!=null&&ff(t,i,c,o))}switch(r){case"input":cl(t),px(t,s,!1);break;case"textarea":cl(t),gx(t);break;case"option":s.value!=null&&t.setAttribute("value",""+Gs(s.value));break;case"select":t.multiple=!!s.multiple,i=s.value,i!=null?Ta(t,!!s.multiple,i,!1):s.defaultValue!=null&&Ta(t,!!s.multiple,s.defaultValue,!0);break;default:typeof a.onClick=="function"&&(t.onclick=gc)}switch(r){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return ft(e),null;case 6:if(t&&e.stateNode!=null)Ab(t,e,t.memoizedProps,s);else{if(typeof s!="string"&&e.stateNode===null)throw Error(M(166));if(r=Sn(go.current),Sn(Mr.current),yl(e)){if(s=e.stateNode,r=e.memoizedProps,s[Ir]=e,(i=s.nodeValue!==r)&&(t=Ft,t!==null))switch(t.tag){case 3:gl(s.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&gl(s.nodeValue,r,(t.mode&1)!==0)}i&&(e.flags|=4)}else s=(r.nodeType===9?r:r.ownerDocument).createTextNode(s),s[Ir]=e,e.stateNode=s}return ft(e),null;case 13:if(Me(Fe),s=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(ze&&Bt!==null&&e.mode&1&&!(e.flags&128))G0(),Ja(),e.flags|=98560,i=!1;else if(i=yl(e),s!==null&&s.dehydrated!==null){if(t===null){if(!i)throw Error(M(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(M(317));i[Ir]=e}else Ja(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;ft(e),i=!1}else br!==null&&(Xm(br),br=null),i=!0;if(!i)return e.flags&65536?e:null}return e.flags&128?(e.lanes=r,e):(s=s!==null,s!==(t!==null&&t.memoizedState!==null)&&s&&(e.child.flags|=8192,e.mode&1&&(t===null||Fe.current&1?tt===0&&(tt=3):Kf())),e.updateQueue!==null&&(e.flags|=4),ft(e),null);case 4:return ei(),Hm(t,e),t===null&&ho(e.stateNode.containerInfo),ft(e),null;case 10:return If(e.type._context),ft(e),null;case 17:return Rt(e.type)&&yc(),ft(e),null;case 19:if(Me(Fe),i=e.memoizedState,i===null)return ft(e),null;if(s=(e.flags&128)!==0,o=i.rendering,o===null)if(s)Pi(i,!1);else{if(tt!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(o=_c(t),o!==null){for(e.flags|=128,Pi(i,!1),s=o.updateQueue,s!==null&&(e.updateQueue=s,e.flags|=4),e.subtreeFlags=0,s=r,r=e.child;r!==null;)i=r,t=s,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=t,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,t=o.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return Re(Fe,Fe.current&1|2),e.child}t=t.sibling}i.tail!==null&&Ye()>ri&&(e.flags|=128,s=!0,Pi(i,!1),e.lanes=4194304)}else{if(!s)if(t=_c(o),t!==null){if(e.flags|=128,s=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),Pi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ze)return ft(e),null}else 2*Ye()-i.renderingStartTime>ri&&r!==1073741824&&(e.flags|=128,s=!0,Pi(i,!1),e.lanes=4194304);i.isBackwards?(o.sibling=e.child,e.child=o):(r=i.last,r!==null?r.sibling=o:e.child=o,i.last=o)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Ye(),e.sibling=null,r=Fe.current,Re(Fe,s?r&1|2:r&1),e):(ft(e),null);case 22:case 23:return Yf(),s=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==s&&(e.flags|=8192),s&&e.mode&1?Dt&1073741824&&(ft(e),e.subtreeFlags&6&&(e.flags|=8192)):ft(e),null;case 24:return null;case 25:return null}throw Error(M(156,e.tag))}function wk(t,e){switch(Af(e),e.tag){case 1:return Rt(e.type)&&yc(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ei(),Me(Pt),Me(yt),zf(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Lf(e),null;case 13:if(Me(Fe),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(M(340));Ja()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Me(Fe),null;case 4:return ei(),null;case 10:return If(e.type._context),null;case 22:case 23:return Yf(),null;case 24:return null;default:return null}}var wl=!1,gt=!1,jk=typeof WeakSet=="function"?WeakSet:Set,H=null;function Ea(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(s){Ge(t,e,s)}else r.current=null}function qm(t,e,r){try{r()}catch(s){Ge(t,e,s)}}var ig=!1;function Nk(t,e){if(Am=fc,t=O0(),Cf(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var s=r.getSelection&&r.getSelection();if(s&&s.rangeCount!==0){r=s.anchorNode;var a=s.anchorOffset,i=s.focusNode;s=s.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var o=0,l=-1,c=-1,d=0,u=0,m=t,h=null;t:for(;;){for(var f;m!==r||a!==0&&m.nodeType!==3||(l=o+a),m!==i||s!==0&&m.nodeType!==3||(c=o+s),m.nodeType===3&&(o+=m.nodeValue.length),(f=m.firstChild)!==null;)h=m,m=f;for(;;){if(m===t)break t;if(h===r&&++d===a&&(l=o),h===i&&++u===s&&(c=o),(f=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=f}r=l===-1||c===-1?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(Tm={focusedElem:t,selectionRange:r},fc=!1,H=e;H!==null;)if(e=H,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,H=t;else for(;H!==null;){e=H;try{var v=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var p=v.memoizedProps,w=v.memoizedState,b=e.stateNode,g=b.getSnapshotBeforeUpdate(e.elementType===e.type?p:hr(e.type,p),w);b.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=e.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(M(163))}}catch(j){Ge(e,e.return,j)}if(t=e.sibling,t!==null){t.return=e.return,H=t;break}H=e.return}return v=ig,ig=!1,v}function Zi(t,e,r){var s=e.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var a=s=s.next;do{if((a.tag&t)===t){var i=a.destroy;a.destroy=void 0,i!==void 0&&qm(e,r,i)}a=a.next}while(a!==s)}}function bd(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var s=r.create;r.destroy=s()}r=r.next}while(r!==e)}}function Gm(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function Tb(t){var e=t.alternate;e!==null&&(t.alternate=null,Tb(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Ir],delete e[po],delete e[Im],delete e[ak],delete e[ik])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Pb(t){return t.tag===5||t.tag===3||t.tag===4}function og(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Pb(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Qm(t,e,r){var s=t.tag;if(s===5||s===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=gc));else if(s!==4&&(t=t.child,t!==null))for(Qm(t,e,r),t=t.sibling;t!==null;)Qm(t,e,r),t=t.sibling}function Ym(t,e,r){var s=t.tag;if(s===5||s===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(s!==4&&(t=t.child,t!==null))for(Ym(t,e,r),t=t.sibling;t!==null;)Ym(t,e,r),t=t.sibling}var lt=null,yr=!1;function fs(t,e,r){for(r=r.child;r!==null;)Rb(t,e,r),r=r.sibling}function Rb(t,e,r){if(Dr&&typeof Dr.onCommitFiberUnmount=="function")try{Dr.onCommitFiberUnmount(md,r)}catch{}switch(r.tag){case 5:gt||Ea(r,e);case 6:var s=lt,a=yr;lt=null,fs(t,e,r),lt=s,yr=a,lt!==null&&(yr?(t=lt,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):lt.removeChild(r.stateNode));break;case 18:lt!==null&&(yr?(t=lt,r=r.stateNode,t.nodeType===8?xu(t.parentNode,r):t.nodeType===1&&xu(t,r),co(t)):xu(lt,r.stateNode));break;case 4:s=lt,a=yr,lt=r.stateNode.containerInfo,yr=!0,fs(t,e,r),lt=s,yr=a;break;case 0:case 11:case 14:case 15:if(!gt&&(s=r.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){a=s=s.next;do{var i=a,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&qm(r,e,o),a=a.next}while(a!==s)}fs(t,e,r);break;case 1:if(!gt&&(Ea(r,e),s=r.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=r.memoizedProps,s.state=r.memoizedState,s.componentWillUnmount()}catch(l){Ge(r,e,l)}fs(t,e,r);break;case 21:fs(t,e,r);break;case 22:r.mode&1?(gt=(s=gt)||r.memoizedState!==null,fs(t,e,r),gt=s):fs(t,e,r);break;default:fs(t,e,r)}}function lg(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new jk),e.forEach(function(s){var a=Rk.bind(null,t,s);r.has(s)||(r.add(s),s.then(a,a))})}}function lr(t,e){var r=e.deletions;if(r!==null)for(var s=0;s<r.length;s++){var a=r[s];try{var i=t,o=e,l=o;e:for(;l!==null;){switch(l.tag){case 5:lt=l.stateNode,yr=!1;break e;case 3:lt=l.stateNode.containerInfo,yr=!0;break e;case 4:lt=l.stateNode.containerInfo,yr=!0;break e}l=l.return}if(lt===null)throw Error(M(160));Rb(i,o,a),lt=null,yr=!1;var c=a.alternate;c!==null&&(c.return=null),a.return=null}catch(d){Ge(a,e,d)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)Ib(e,t),e=e.sibling}function Ib(t,e){var r=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(lr(e,t),Er(t),s&4){try{Zi(3,t,t.return),bd(3,t)}catch(p){Ge(t,t.return,p)}try{Zi(5,t,t.return)}catch(p){Ge(t,t.return,p)}}break;case 1:lr(e,t),Er(t),s&512&&r!==null&&Ea(r,r.return);break;case 5:if(lr(e,t),Er(t),s&512&&r!==null&&Ea(r,r.return),t.flags&32){var a=t.stateNode;try{ao(a,"")}catch(p){Ge(t,t.return,p)}}if(s&4&&(a=t.stateNode,a!=null)){var i=t.memoizedProps,o=r!==null?r.memoizedProps:i,l=t.type,c=t.updateQueue;if(t.updateQueue=null,c!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&t0(a,i),vm(l,o);var d=vm(l,i);for(o=0;o<c.length;o+=2){var u=c[o],m=c[o+1];u==="style"?i0(a,m):u==="dangerouslySetInnerHTML"?n0(a,m):u==="children"?ao(a,m):ff(a,u,m,d)}switch(l){case"input":fm(a,i);break;case"textarea":r0(a,i);break;case"select":var h=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var f=i.value;f!=null?Ta(a,!!i.multiple,f,!1):h!==!!i.multiple&&(i.defaultValue!=null?Ta(a,!!i.multiple,i.defaultValue,!0):Ta(a,!!i.multiple,i.multiple?[]:"",!1))}a[po]=i}catch(p){Ge(t,t.return,p)}}break;case 6:if(lr(e,t),Er(t),s&4){if(t.stateNode===null)throw Error(M(162));a=t.stateNode,i=t.memoizedProps;try{a.nodeValue=i}catch(p){Ge(t,t.return,p)}}break;case 3:if(lr(e,t),Er(t),s&4&&r!==null&&r.memoizedState.isDehydrated)try{co(e.containerInfo)}catch(p){Ge(t,t.return,p)}break;case 4:lr(e,t),Er(t);break;case 13:lr(e,t),Er(t),a=t.child,a.flags&8192&&(i=a.memoizedState!==null,a.stateNode.isHidden=i,!i||a.alternate!==null&&a.alternate.memoizedState!==null||(Gf=Ye())),s&4&&lg(t);break;case 22:if(u=r!==null&&r.memoizedState!==null,t.mode&1?(gt=(d=gt)||u,lr(e,t),gt=d):lr(e,t),Er(t),s&8192){if(d=t.memoizedState!==null,(t.stateNode.isHidden=d)&&!u&&t.mode&1)for(H=t,u=t.child;u!==null;){for(m=H=u;H!==null;){switch(h=H,f=h.child,h.tag){case 0:case 11:case 14:case 15:Zi(4,h,h.return);break;case 1:Ea(h,h.return);var v=h.stateNode;if(typeof v.componentWillUnmount=="function"){s=h,r=h.return;try{e=s,v.props=e.memoizedProps,v.state=e.memoizedState,v.componentWillUnmount()}catch(p){Ge(s,r,p)}}break;case 5:Ea(h,h.return);break;case 22:if(h.memoizedState!==null){dg(m);continue}}
vendor: 1,651 bytes, line 40
40f!==null?(f.return=h,H=f):dg(m)}u=u.sibling}e:for(u=null,m=t;;){if(m.tag===5){if(u===null){u=m;try{a=m.stateNode,d?(i=a.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=m.stateNode,c=m.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=a0("display",o))}catch(p){Ge(t,t.return,p)}}}else if(m.tag===6){if(u===null)try{m.stateNode.nodeValue=d?"":m.memoizedProps}catch(p){Ge(t,t.return,p)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===t)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;u===m&&(u=null),m=m.return}u===m&&(u=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:lr(e,t),Er(t),s&4&&lg(t);break;case 21:break;default:lr(e,t),Er(t)}}function Er(t){var e=t.flags;if(e&2){try{e:{for(var r=t.return;r!==null;){if(Pb(r)){var s=r;break e}r=r.return}throw Error(M(160))}switch(s.tag){case 5:var a=s.stateNode;s.flags&32&&(ao(a,""),s.flags&=-33);var i=og(t);Ym(t,i,a);break;case 3:case 4:var o=s.stateNode.containerInfo,l=og(t);Qm(t,l,o);break;default:throw Error(M(161))}}catch(c){Ge(t,t.return,c)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Sk(t,e,r){H=t,Ob(t)}function Ob(t,e,r){for(var s=(t.mode&1)!==0;H!==null;){var a=H,i=a.child;if(a.tag===22&&s){var o=a.memoizedState!==null||wl;if(!o){var l=a.alternate,c=l!==null&&l.memoizedState!==null||gt;l=wl;var d=gt;if(wl=o,(gt=c)&&!d)for(H=a;H!==null;)o=H,c=o.child,o.tag===22&&o.memoizedState!==null?ug(a):c!==null?(c.return=o,H=c):ug(a);for(;i!==null;)H=i,Ob(i),i=i.sibling;H=a,wl=l,gt=d}cg(t)}
vendor: 18,071 bytes, line 40
40else a.subtreeFlags&8772&&i!==null?(i.return=a,H=i):cg(t)}}function cg(t){for(;H!==null;){var e=H;if(e.flags&8772){var r=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:gt||bd(5,e);break;case 1:var s=e.stateNode;if(e.flags&4&&!gt)if(r===null)s.componentDidMount();else{var a=e.elementType===e.type?r.memoizedProps:hr(e.type,r.memoizedProps);s.componentDidUpdate(a,r.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var i=e.updateQueue;i!==null&&Gx(e,i,s);break;case 3:var o=e.updateQueue;if(o!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}Gx(e,o,r)}break;case 5:var l=e.stateNode;if(r===null&&e.flags&4){r=l;var c=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var d=e.alternate;if(d!==null){var u=d.memoizedState;if(u!==null){var m=u.dehydrated;m!==null&&co(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}gt||e.flags&512&&Gm(e)}catch(h){Ge(e,e.return,h)}}if(e===t){H=null;break}if(r=e.sibling,r!==null){r.return=e.return,H=r;break}H=e.return}}function dg(t){for(;H!==null;){var e=H;if(e===t){H=null;break}var r=e.sibling;if(r!==null){r.return=e.return,H=r;break}H=e.return}}function ug(t){for(;H!==null;){var e=H;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{bd(4,e)}catch(c){Ge(e,r,c)}break;case 1:var s=e.stateNode;if(typeof s.componentDidMount=="function"){var a=e.return;try{s.componentDidMount()}catch(c){Ge(e,a,c)}}var i=e.return;try{Gm(e)}catch(c){Ge(e,i,c)}break;case 5:var o=e.return;try{Gm(e)}catch(c){Ge(e,o,c)}}}catch(c){Ge(e,e.return,c)}if(e===t){H=null;break}var l=e.sibling;if(l!==null){l.return=e.return,H=l;break}H=e.return}}var _k=Math.ceil,Ec=cs.ReactCurrentDispatcher,Hf=cs.ReactCurrentOwner,Xt=cs.ReactCurrentBatchConfig,ve=0,at=null,Ze=null,ct=0,Dt=0,Aa=rn(0),tt=0,wo=null,Ln=0,wd=0,qf=0,Ji=null,Et=null,Gf=0,ri=1/0,qr=null,Ac=!1,Km=null,Us=null,jl=!1,Is=null,Tc=0,Xi=0,Zm=null,Xl=-1,ec=0;function St(){return ve&6?Ye():Xl!==-1?Xl:Xl=Ye()}function Vs(t){return t.mode&1?ve&2&&ct!==0?ct&-ct:lk.transition!==null?(ec===0&&(ec=y0()),ec):(t=Ee,t!==0||(t=window.event,t=t===void 0?16:_0(t.type)),t):1}function jr(t,e,r,s){if(50<Xi)throw Xi=0,Zm=null,Error(M(185));qo(t,r,s),(!(ve&2)||t!==at)&&(t===at&&(!(ve&2)&&(wd|=r),tt===4&&_s(t,ct)),It(t,s),r===1&&ve===0&&!(e.mode&1)&&(ri=Ye()+500,gd&&sn()))}function It(t,e){var r=t.callbackNode;l_(t,e);var s=hc(t,t===at?ct:0);if(s===0)r!==null&&bx(r),t.callbackNode=null,t.callbackPriority=0;else if(e=s&-s,t.callbackPriority!==e){if(r!=null&&bx(r),e===1)t.tag===0?ok(mg.bind(null,t)):W0(mg.bind(null,t)),sk(function(){!(ve&6)&&sn()}),r=null;else{switch(v0(s)){case 1:r=vf;break;case 4:r=x0;break;case 16:r=mc;break;case 536870912:r=g0;break;default:r=mc}r=Ub(r,Db.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function Db(t,e){if(Xl=-1,ec=0,ve&6)throw Error(M(327));var r=t.callbackNode;if(Da()&&t.callbackNode!==r)return null;var s=hc(t,t===at?ct:0);if(s===0)return null;if(s&30||s&t.expiredLanes||e)e=Pc(t,s);else{e=s;var a=ve;ve|=2;var i=Lb();(at!==t||ct!==e)&&(qr=null,ri=Ye()+500,Rn(t,e));do try{Ek();break}catch(l){Mb(t,l)}while(!0);Rf(),Ec.current=i,ve=a,Ze!==null?e=0:(at=null,ct=0,e=tt)}if(e!==0){if(e===2&&(a=Sm(t),a!==0&&(s=a,e=Jm(t,a))),e===1)throw r=wo,Rn(t,0),_s(t,s),It(t,Ye()),r;if(e===6)_s(t,s);else{if(a=t.current.alternate,!(s&30)&&!kk(a)&&(e=Pc(t,s),e===2&&(i=Sm(t),i!==0&&(s=i,e=Jm(t,i))),e===1))throw r=wo,Rn(t,0),_s(t,s),It(t,Ye()),r;switch(t.finishedWork=a,t.finishedLanes=s,e){case 0:case 1:throw Error(M(345));case 2:gn(t,Et,qr);break;case 3:if(_s(t,s),(s&130023424)===s&&(e=Gf+500-Ye(),10<e)){if(hc(t,0)!==0)break;if(a=t.suspendedLanes,(a&s)!==s){St(),t.pingedLanes|=t.suspendedLanes&a;break}t.timeoutHandle=Rm(gn.bind(null,t,Et,qr),e);break}gn(t,Et,qr);break;case 4:if(_s(t,s),(s&4194240)===s)break;for(e=t.eventTimes,a=-1;0<s;){var o=31-wr(s);i=1<<o,o=e[o],o>a&&(a=o),s&=~i}if(s=a,s=Ye()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*_k(s/1960))-s,10<s){t.timeoutHandle=Rm(gn.bind(null,t,Et,qr),s);break}gn(t,Et,qr);break;case 5:gn(t,Et,qr);break;default:throw Error(M(329))}}}return It(t,Ye()),t.callbackNode===r?Db.bind(null,t):null}function Jm(t,e){var r=Ji;return t.current.memoizedState.isDehydrated&&(Rn(t,e).flags|=256),t=Pc(t,e),t!==2&&(e=Et,Et=r,e!==null&&Xm(e)),t}function Xm(t){Et===null?Et=t:Et.push.apply(Et,t)}function kk(t){for(var e=t;;){if(e.flags&16384){var r=e.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var s=0;s<r.length;s++){var a=r[s],i=a.getSnapshot;a=a.value;try{if(!Sr(i(),a))return!1}catch{return!1}}}if(r=e.child,e.subtreeFlags&16384&&r!==null)r.return=e,e=r;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function _s(t,e){for(e&=~qf,e&=~wd,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-wr(e),s=1<<r;t[r]=-1,e&=~s}}function mg(t){if(ve&6)throw Error(M(327));Da();var e=hc(t,0);if(!(e&1))return It(t,Ye()),null;var r=Pc(t,e);if(t.tag!==0&&r===2){var s=Sm(t);s!==0&&(e=s,r=Jm(t,s))}if(r===1)throw r=wo,Rn(t,0),_s(t,e),It(t,Ye()),r;if(r===6)throw Error(M(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,gn(t,Et,qr),It(t,Ye()),null}function Qf(t,e){var r=ve;ve|=1;try{return t(e)}finally{ve=r,ve===0&&(ri=Ye()+500,gd&&sn())}}function zn(t){Is!==null&&Is.tag===0&&!(ve&6)&&Da();var e=ve;ve|=1;var r=Xt.transition,s=Ee;try{if(Xt.transition=null,Ee=1,t)return t()}finally{Ee=s,Xt.transition=r,ve=e,!(ve&6)&&sn()}}function Yf(){Dt=Aa.current,Me(Aa)}function Rn(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,rk(r)),Ze!==null)for(r=Ze.return;r!==null;){var s=r;switch(Af(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&yc();break;case 3:ei(),Me(Pt),Me(yt),zf();break;case 5:Lf(s);break;case 4:ei();break;case 13:Me(Fe);break;case 19:Me(Fe);break;case 10:If(s.type._context);break;case 22:case 23:Yf()}r=r.return}if(at=t,Ze=t=Ws(t.current,null),ct=Dt=e,tt=0,wo=null,qf=wd=Ln=0,Et=Ji=null,Nn!==null){for(e=0;e<Nn.length;e++)if(r=Nn[e],s=r.interleaved,s!==null){r.interleaved=null;var a=s.next,i=r.pending;if(i!==null){var o=i.next;i.next=a,s.next=o}r.pending=s}Nn=null}return t}function Mb(t,e){do{var r=Ze;try{if(Rf(),Kl.current=Cc,kc){for(var s=$e.memoizedState;s!==null;){var a=s.queue;a!==null&&(a.pending=null),s=s.next}kc=!1}if(Mn=0,rt=et=$e=null,Ki=!1,yo=0,Hf.current=null,r===null||r.return===null){tt=1,wo=e,Ze=null;break}e:{var i=t,o=r.return,l=r,c=e;if(e=ct,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var d=c,u=l,m=u.tag;if(!(u.mode&1)&&(m===0||m===11||m===15)){var h=u.alternate;h?(u.updateQueue=h.updateQueue,u.memoizedState=h.memoizedState,u.lanes=h.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=Xx(o);if(f!==null){f.flags&=-257,eg(f,o,l,i,e),f.mode&1&&Jx(i,d,e),e=f,c=d;var v=e.updateQueue;if(v===null){var p=new Set;p.add(c),e.updateQueue=p}else v.add(c);break e}else{if(!(e&1)){Jx(i,d,e),Kf();break e}c=Error(M(426))}}else if(ze&&l.mode&1){var w=Xx(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),eg(w,o,l,i,e),Tf(ti(c,l));break e}}i=c=ti(c,l),tt!==4&&(tt=2),Ji===null?Ji=[i]:Ji.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,e&=-e,i.lanes|=e;var b=vb(i,c,e);qx(i,b);break e;case 1:l=c;var g=i.type,y=i.stateNode;if(!(i.flags&128)&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Us===null||!Us.has(y)))){i.flags|=65536,e&=-e,i.lanes|=e;var j=bb(i,l,e);qx(i,j);break e}}i=i.return}while(i!==null)}Bb(r)}catch(N){e=N,Ze===r&&r!==null&&(Ze=r=r.return);continue}break}while(!0)}function Lb(){var t=Ec.current;return Ec.current=Cc,t===null?Cc:t}function Kf(){(tt===0||tt===3||tt===2)&&(tt=4),at===null||!(Ln&268435455)&&!(wd&268435455)||_s(at,ct)}function Pc(t,e){var r=ve;ve|=2;var s=Lb();(at!==t||ct!==e)&&(qr=null,Rn(t,e));do try{Ck();break}catch(a){Mb(t,a)}while(!0);if(Rf(),ve=r,Ec.current=s,Ze!==null)throw Error(M(261));return at=null,ct=0,tt}function Ck(){for(;Ze!==null;)zb(Ze)}function Ek(){for(;Ze!==null&&!X2();)zb(Ze)}function zb(t){var e=$b(t.alternate,t,Dt);t.memoizedProps=t.pendingProps,e===null?Bb(t):Ze=e,Hf.current=null}function Bb(t){var e=t;do{var r=e.alternate;if(t=e.return,e.flags&32768){if(r=wk(r,e),r!==null){r.flags&=32767,Ze=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{tt=6,Ze=null;return}}else if(r=bk(r,e,Dt),r!==null){Ze=r;return}if(e=e.sibling,e!==null){Ze=e;return}Ze=e=t}while(e!==null);tt===0&&(tt=5)}function gn(t,e,r){var s=Ee,a=Xt.transition;try{Xt.transition=null,Ee=1,Ak(t,e,r,s)}finally{Xt.transition=a,Ee=s}return null}function Ak(t,e,r,s){do Da();while(Is!==null);if(ve&6)throw Error(M(327));r=t.finishedWork;var a=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(M(177));t.callbackNode=null,t.callbackPriority=0;var i=r.lanes|r.childLanes;if(c_(t,i),t===at&&(Ze=at=null,ct=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||jl||(jl=!0,Ub(mc,function(){return Da(),null})),i=(r.flags&15990)!==0,r.subtreeFlags&15990||i){i=Xt.transition,Xt.transition=null;var o=Ee;Ee=1;var l=ve;ve|=4,Hf.current=null,Nk(t,r),Ib(r,t),Y_(Tm),fc=!!Am,Tm=Am=null,t.current=r,Sk(r),e_(),ve=l,Ee=o,Xt.transition=i}else t.current=r;if(jl&&(jl=!1,Is=t,Tc=a),i=t.pendingLanes,i===0&&(Us=null),s_(r.stateNode),It(t,Ye()),e!==null)for(s=t.onRecoverableError,r=0;r<e.length;r++)a=e[r],s(a.value,{componentStack:a.stack,digest:a.digest});if(Ac)throw Ac=!1,t=Km,Km=null,t;return Tc&1&&t.tag!==0&&Da(),i=t.pendingLanes,i&1?t===Zm?Xi++:(Xi=0,Zm=t):Xi=0,sn(),null}function Da(){if(Is!==null){var t=v0(Tc),e=Xt.transition,r=Ee;try{if(Xt.transition=null,Ee=16>t?16:t,Is===null)var s=!1;else{if(t=Is,Is=null,Tc=0,ve&6)throw Error(M(331));var a=ve;for(ve|=4,H=t.current;H!==null;){var i=H,o=i.child;if(H.flags&16){var l=i.deletions;if(l!==null){for(var c=0;c<l.length;c++){var d=l[c];for(H=d;H!==null;){var u=H;switch(u.tag){case 0:case 11:case 15:Zi(8,u,i)}var m=u.child;if(m!==null)m.return=u,H=m;else for(;H!==null;){u=H;var h=u.sibling,f=u.return;if(Tb(u),u===d){H=null;break}if(h!==null){h.return=f,H=h;break}H=f}}}var v=i.alternate;if(v!==null){var p=v.child;if(p!==null){v.child=null;do{var w=p.sibling;p.sibling=null,p=w}while(p!==null)}}H=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,H=o;else e:for(;H!==null;){if(i=H,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Zi(9,i,i.return)}var b=i.sibling;if(b!==null){b.return=i.return,H=b;break e}H=i.return}}var g=t.current;for(H=g;H!==null;){o=H;var y=o.child;if(o.subtreeFlags&2064&&y!==null)y.return=o,H=y;else e:for(o=g;H!==null;){if(l=H,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:bd(9,l)}}catch(N){Ge(l,l.return,N)}if(l===o){H=null;break e}var j=l.sibling;if(j!==null){j.return=l.return,H=j;break e}H=l.return}}if(ve=a,sn(),Dr&&typeof Dr.onPostCommitFiberRoot=="function")try{Dr.onPostCommitFiberRoot(md,t)}catch{}s=!0}return s}finally{Ee=r,Xt.transition=e}}return!1}function hg(t,e,r){e=ti(r,e),e=vb(t,e,1),t=$s(t,e,1),e=St(),t!==null&&(qo(t,1,e),It(t,e))}function Ge(t,e,r){if(t.tag===3)hg(t,t,r);else for(;e!==null;){if(e.tag===3){hg(e,t,r);break}else if(e.tag===1){var s=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Us===null||!Us.has(s))){t=ti(r,t),t=bb(e,t,1),e=$s(e,t,1),t=St(),e!==null&&(qo(e,1,t),It(e,t));break}}e=e.return}}function Tk(t,e,r){var s=t.pingCache;s!==null&&s.delete(e),e=St(),t.pingedLanes|=t.suspendedLanes&r,at===t&&(ct&r)===r&&(tt===4||tt===3&&(ct&130023424)===ct&&500>Ye()-Gf?Rn(t,0):qf|=r),It(t,e)}function Fb(t,e){e===0&&(t.mode&1?(e=ml,ml<<=1,!(ml&130023424)&&(ml=4194304)):e=1);var r=St();t=ss(t,e),t!==null&&(qo(t,e,r),It(t,r))}function Pk(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),Fb(t,r)}function Rk(t,e){var r=0;switch(t.tag){case 13:var s=t.stateNode,a=t.memoizedState;a!==null&&(r=a.retryLane);break;case 19:s=t.stateNode;break;default:throw Error(M(314))}s!==null&&s.delete(e),Fb(t,r)}var $b;$b=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||Pt.current)Tt=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return Tt=!1,vk(t,e,r);Tt=!!(t.flags&131072)}else Tt=!1,ze&&e.flags&1048576&&H0(e,wc,e.index);switch(e.lanes=0,e.tag){case 2:var s=e.type;Jl(t,e),t=e.pendingProps;var a=Za(e,yt.current);Oa(e,r),a=Ff(null,e,s,t,a,r);var i=$f();return e.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Rt(s)?(i=!0,vc(e)):i=!1,e.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,Df(e),a.updater=vd,e.stateNode=a,a._reactInternals=e,Bm(e,s,t,r),e=Um(null,e,s,!0,i,r)):(e.tag=0,ze&&i&&Ef(e),bt(null,e,a,r),e=e.child),e;case 16:s=e.elementType;e:{switch(Jl(t,e),t=e.pendingProps,a=s._init,s=a(s._payload),e.type=s,a=e.tag=Ok(s),t=hr(s,t),a){case 0:e=$m(null,e,s,t,r);break e;case 1:e=sg(null,e,s,t,r);break e;case 11:e=tg(null,e,s,t,r);break e;case 14:e=rg(null,e,s,hr(s.type,t),r);break e}throw Error(M(306,s,""))}return e;case 0:return s=e.type,a=e.pendingProps,a=e.elementType===s?a:hr(s,a),$m(t,e,s,a,r);case 1:return s=e.type,a=e.pendingProps,a=e.elementType===s?a:hr(s,a),sg(t,e,s,a,r);case 3:e:{if(Sb(e),t===null)throw Error(M(387));s=e.pendingProps,i=e.memoizedState,a=i.element,Z0(t,e),Sc(e,s,null,r);var o=e.memoizedState;if(s=o.element,i.isDehydrated)if(i={element:s,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){a=ti(Error(M(423)),e),e=ng(t,e,s,r,a);break e}else if(s!==a){a=ti(Error(M(424)),e),e=ng(t,e,s,r,a);break e}else for(Bt=Fs(e.stateNode.containerInfo.firstChild),Ft=e,ze=!0,br=null,r=Y0(e,null,s,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ja(),s===a){e=ns(t,e,r);break e}bt(t,e,s,r)}e=e.child}return e;case 5:return J0(e),t===null&&Mm(e),s=e.type,a=e.pendingProps,i=t!==null?t.memoizedProps:null,o=a.children,Pm(s,a)?o=null:i!==null&&Pm(s,i)&&(e.flags|=32),Nb(t,e),bt(t,e,o,r),e.child;case 6:return t===null&&Mm(e),null;case 13:return _b(t,e,r);case 4:return Mf(e,e.stateNode.containerInfo),s=e.pendingProps,t===null?e.child=Xa(e,null,s,r):bt(t,e,s,r),e.child;case 11:return s=e.type,a=e.pendingProps,a=e.elementType===s?a:hr(s,a),tg(t,e,s,a,r);case 7:return bt(t,e,e.pendingProps,r),e.child;case 8:return bt(t,e,e.pendingProps.children,r),e.child;case 12:return bt(t,e,e.pendingProps.children,r),e.child;case 10:e:{if(s=e.type._context,a=e.pendingProps,i=e.memoizedProps,o=a.value,Re(jc,s._currentValue),s._currentValue=o,i!==null)if(Sr(i.value,o)){if(i.children===a.children&&!Pt.current){e=ns(t,e,r);break e}}else for(i=e.child,i!==null&&(i.return=e);i!==null;){var l=i.dependencies;if(l!==null){o=i.child;for(var c=l.firstContext;c!==null;){if(c.context===s){if(i.tag===1){c=Jr(-1,r&-r),c.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var u=d.pending;u===null?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}i.lanes|=r,c=i.alternate,c!==null&&(c.lanes|=r),Lm(i.return,r,e),l.lanes|=r;break}c=c.next}}else if(i.tag===10)o=i.type===e.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(M(341));o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),Lm(o,r,e),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}bt(t,e,a.children,r),e=e.child}return e;case 9:return a=e.type,s=e.pendingProps.children,Oa(e,r),a=er(a),s=s(a),e.flags|=1,bt(t,e,s,r),e.child;case 14:return s=e.type,a=hr(s,e.pendingProps),a=hr(s.type,a),rg(t,e,s,a,r);case 15:return wb(t,e,e.type,e.pendingProps,r);case 17:return s=e.type,a=e.pendingProps,a=e.elementType===s?a:hr(s,a),Jl(t,e),e.tag=1,Rt(s)?(t=!0,vc(e)):t=!1,Oa(e,r),yb(e,s,a),Bm(e,s,a,r),Um(null,e,s,!0,t,r);case 19:return kb(t,e,r);case 22:return jb(t,e,r)}throw Error(M(156,e.tag))};function Ub(t,e){return p0(t,e)}function Ik(t,e,r,s){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jt(t,e,r,s){return new Ik(t,e,r,s)}function Zf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ok(t){if(typeof t=="function")return Zf(t)?1:0;if(t!=null){if(t=t.$$typeof,t===xf)return 11;if(t===gf)return 14}return 2}function Ws(t,e){var r=t.alternate;return r===null?(r=Jt(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function tc(t,e,r,s,a,i){var o=2;if(s=t,typeof t=="function")Zf(t)&&(o=1);else if(typeof t=="string")o=5;else e:switch(t){case va:return In(r.children,a,i,e);case pf:o=8,a|=8;break;case cm:return t=Jt(12,r,e,a|2),t.elementType=cm,t.lanes=i,t;case dm:return t=Jt(13,r,e,a),t.elementType=dm,t.lanes=i,t;case um:return t=Jt(19,r,e,a),t.elementType=um,t.lanes=i,t;case Jv:return jd(r,a,i,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Kv:o=10;break e;case Zv:o=9;break e;case xf:o=11;break e;case gf:o=14;break e;case ws:o=16,s=null;break e}throw Error(M(130,t==null?t:typeof t,""))}return e=Jt(o,r,e,a),e.elementType=t,e.type=s,e.lanes=i,e}function In(t,e,r,s){return t=Jt(7,t,s,e),t.lanes=r,t}
vendor: 1,631 bytes, line 40
40function jd(t,e,r,s){return t=Jt(22,t,s,e),t.elementType=Jv,t.lanes=r,t.stateNode={isHidden:!1},t}function Su(t,e,r){return t=Jt(6,t,null,e),t.lanes=r,t}function _u(t,e,r){return e=Jt(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Dk(t,e,r,s,a){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=au(0),this.expirationTimes=au(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=au(0),this.identifierPrefix=s,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Jf(t,e,r,s,a,i,o,l,c){return t=new Dk(t,e,r,l,c),e===1?(e=1,i===!0&&(e|=8)):e=0,i=Jt(3,null,null,e),t.current=i,i.stateNode=t,i.memoizedState={element:s,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Df(i),t}function Mk(t,e,r){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ya,key:s==null?null:""+s,children:t,containerInfo:e,implementation:r}}function Vb(t){if(!t)return Qs;t=t._reactInternals;e:{if(Gn(t)!==t||t.tag!==1)throw Error(M(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(Rt(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(M(171))}if(t.tag===1){var r=t.type;if(Rt(r))return V0(t,r,e)}
vendor: 4,158 bytes, line 40
40return e}function Wb(t,e,r,s,a,i,o,l,c){return t=Jf(r,s,!0,t,a,i,o,l,c),t.context=Vb(null),r=t.current,s=St(),a=Vs(r),i=Jr(s,a),i.callback=e??null,$s(r,i,a),t.current.lanes=a,qo(t,a,s),It(t,s),t}function Nd(t,e,r,s){var a=e.current,i=St(),o=Vs(a);return r=Vb(r),e.context===null?e.context=r:e.pendingContext=r,e=Jr(i,o),e.payload={element:t},s=s===void 0?null:s,s!==null&&(e.callback=s),t=$s(a,e,o),t!==null&&(jr(t,a,o,i),Yl(t,a,o)),o}function Rc(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function fg(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function Xf(t,e){fg(t,e),(t=t.alternate)&&fg(t,e)}function Lk(){return null}var Hb=typeof reportError=="function"?reportError:function(t){console.error(t)};function ep(t){this._internalRoot=t}Sd.prototype.render=ep.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(M(409));Nd(t,e,null,null)};Sd.prototype.unmount=ep.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;zn(function(){Nd(null,t,null,null)}),e[rs]=null}};function Sd(t){this._internalRoot=t}Sd.prototype.unstable_scheduleHydration=function(t){if(t){var e=j0();t={blockedOn:null,target:t,priority:e};for(var r=0;r<Ss.length&&e!==0&&e<Ss[r].priority;r++);Ss.splice(r,0,t),r===0&&S0(t)}};function tp(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function _d(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function pg(){}function zk(t,e,r,s,a){if(a){if(typeof s=="function"){var i=s;s=function(){var d=Rc(o);i.call(d)}}var o=Wb(e,s,t,0,null,!1,!1,"",pg);return t._reactRootContainer=o,t[rs]=o.current,ho(t.nodeType===8?t.parentNode:t),zn(),o}for(;a=t.lastChild;)t.removeChild(a);if(typeof s=="function"){var l=s;s=function(){var d=Rc(c);l.call(d)}}var c=Jf(t,0,!1,null,null,!1,!1,"",pg);return t._reactRootContainer=c,t[rs]=c.current,ho(t.nodeType===8?t.parentNode:t),zn(function(){Nd(e,c,r,s)}),c}function kd(t,e,r,s,a){var i=r._reactRootContainer;if(i){var o=i;if(typeof a=="function"){var l=a;a=function(){var c=Rc(o);l.call(c)}}Nd(e,o,t,a)}else o=zk(r,e,t,a,s);return Rc(o)}b0=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=Fi(e.pendingLanes);r!==0&&(bf(e,r|1),It(e,Ye()),!(ve&6)&&(ri=Ye()+500,sn()))}break;case 13:zn(function(){var s=ss(t,1);if(s!==null){var a=St();jr(s,t,1,a)}}),Xf(t,1)}};wf=function(t){if(t.tag===13){var e=ss(t,134217728);if(e!==null){var r=St();jr(e,t,134217728,r)}Xf(t,134217728)}};w0=function(t){if(t.tag===13){var e=Vs(t),r=ss(t,e);if(r!==null){var s=St();jr(r,t,e,s)}Xf(t,e)}};j0=function(){return Ee};N0=function(t,e){var r=Ee;try{return Ee=t,e()}finally{Ee=r}};wm=function(t,e,r){switch(e){case"input":if(fm(t,r),e=r.name,r.type==="radio"&&e!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var s=r[e];if(s!==t&&s.form===t.form){var a=xd(s);if(!a)throw Error(M(90));e0(s),fm(s,a)}}}break;case"textarea":r0(t,r);break;case"select":e=r.value,e!=null&&Ta(t,!!r.multiple,e,!1)}};c0=Qf;d0=zn;var Bk={usingClientEntryPoint:!1,Events:[Qo,Na,xd,o0,l0,Qf]},Ri={findFiberByHostInstance:jn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Fk={bundleType:Ri.bundleType,version:Ri.version,rendererPackageName:Ri.rendererPackageName,rendererConfig:Ri.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:cs.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=h0(t),t===null?null:t.stateNode},findFiberByHostInstance:Ri.findFiberByHostInstance||Lk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Nl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Nl.isDisabled&&Nl.supportsFiber)try{md=Nl.inject(Fk),Dr=Nl}catch{}}Wt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bk;Wt.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!tp(e))throw Error(M(200));return Mk(t,e,null,r)};Wt.createRoot=function(t,e){if(!tp(t))throw Error(M(299));var r=!1,s="",a=Hb;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(s=e.identifierPrefix),e.onRecoverableError!==void 0&&(a=e.onRecoverableError)),e=Jf(t,1,!1,null,null,r,!1,s,a),t[rs]=e.current,ho(t.nodeType===8?t.parentNode:t),new ep(e)};Wt.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(M(188)):(t=Object.keys(t).join(","),Error(M(268,t)));return t=h0(e),t=t===null?null:t.stateNode,t};Wt.flushSync=function(t){return zn(t)};Wt.hydrate=function(t,e,r){if(!_d(e))throw Error(M(200));return kd(null,t,e,!0,r)};Wt.hydrateRoot=function(t,e,r){if(!tp(t))throw Error(M(405));var s=r!=null&&r.hydratedSources||null,a=!1,i="",o=Hb;if(r!=null&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(o=r.onRecoverableError)),e=Wb(e,null,t,1,r??null,a,!1,i,o),t[rs]=e.current,ho(t),s)for(t=0;t<s.length;t++)r=s[t],a=r._getVersion,a=a(r._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[r,a]:e.mutableSourceEagerHydrationData.push(r,a);return new Sd(e)};Wt.render=function(t,e,r){if(!_d(e))throw Error(M(200));return kd(null,t,e,!1,r)};Wt.unmountComponentAtNode=function(t){if(!_d(t))throw Error(M(40));return t._reactRootContainer?(zn(function(){kd(null,null,t,!1,function(){t._reactRootContainer=null,t[rs]=null})}),!0):!1};Wt.unstable_batchedUpdates=Qf;Wt.unstable_renderSubtreeIntoContainer=function(t,e,r,s){if(!_d(r))throw Error(M(200));if(t==null||t._reactInternals===void 0)throw Error(M(38));return kd(t,e,r,!1,s)};Wt.version="18.3.1-next-f1338f8080-20240426";function qb(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qb)}catch(t){console.error(t)}}qb(),qv.exports=Wt;var Qn=qv.exports;const Gb=Wo(Qn);var Qb,xg=Qn;Qb=xg.createRoot,xg.hydrateRoot;const $k=1,Uk=1e6;let ku=0;function Vk(){return ku=(ku+1)%Number.MAX_SAFE_INTEGER,ku.toString()}const Cu=new Map,gg=t=>{if(Cu.has(t))return;const e=setTimeout(()=>{Cu.delete(t),eo({type:"REMOVE_TOAST",toastId:t})},Uk);Cu.set(t,e)},Wk=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,$k)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?gg(r):t.toasts.forEach(s=>{gg(s.id)}),{...t,toasts:t.toasts.map(s=>
vendor: 14,569 bytes, line 40
40s.id===r||r===void 0?{...s,open:!1}:s)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==e.toastId)}}},rc=[];let sc={toasts:[]};function eo(t){sc=Wk(sc,t),rc.forEach(e=>{e(sc)})}function eh({...t}){const e=Vk(),r=a=>eo({type:"UPDATE_TOAST",toast:{...a,id:e}}),s=()=>eo({type:"DISMISS_TOAST",toastId:e});return eo({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:a=>{a||s()}}}),{id:e,dismiss:s,update:r}}function Hk(){const[t,e]=x.useState(sc);return x.useEffect(()=>(rc.push(e),()=>{const r=rc.indexOf(e);r>-1&&rc.splice(r,1)}),[t]),{...t,toast:eh,dismiss:r=>eo({type:"DISMISS_TOAST",toastId:r})}}function se(t,e,{checkForDefaultPrevented:r=!0}={}){return function(a){if(t==null||t(a),r===!1||!a.defaultPrevented)return e==null?void 0:e(a)}}function yg(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Yb(...t){return e=>{let r=!1;const s=t.map(a=>{const i=yg(a,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let a=0;a<s.length;a++){const i=s[a];typeof i=="function"?i():yg(t[a],null)}}}}function _e(...t){return x.useCallback(Yb(...t),t)}function qk(t,e){const r=x.createContext(e),s=i=>{const{children:o,...l}=i,c=x.useMemo(()=>l,Object.values(l));return n.jsx(r.Provider,{value:c,children:o})};s.displayName=t+"Provider";function a(i){const o=x.useContext(r);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[s,a]}function nn(t,e=[]){let r=[];function s(i,o){const l=x.createContext(o),c=r.length;r=[...r,o];const d=m=>{var b;const{scope:h,children:f,...v}=m,p=((b=h==null?void 0:h[t])==null?void 0:b[c])||l,w=x.useMemo(()=>v,Object.values(v));return n.jsx(p.Provider,{value:w,children:f})};d.displayName=i+"Provider";function u(m,h){var p;const f=((p=h==null?void 0:h[t])==null?void 0:p[c])||l,v=x.useContext(f);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${i}\``)}return[d,u]}const a=()=>{const i=r.map(o=>x.createContext(o));return function(l){const c=(l==null?void 0:l[t])||i;return x.useMemo(()=>({[`__scope${t}`]:{...l,[t]:c}}),[l,c])}};return a.scopeName=t,[s,Gk(a,...e)]}function Gk(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const s=t.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(i){const o=s.reduce((l,{useScope:c,scopeName:d})=>{const m=c(i)[`__scope${d}`];return{...l,...m}},{});return x.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return r.scopeName=e.scopeName,r}function si(t){const e=Yk(t),r=x.forwardRef((s,a)=>{const{children:i,...o}=s,l=x.Children.toArray(i),c=l.find(Zk);if(c){const d=c.props.children,u=l.map(m=>m===c?x.Children.count(d)>1?x.Children.only(null):x.isValidElement(d)?d.props.children:null:m);return n.jsx(e,{...o,ref:a,children:x.isValidElement(d)?x.cloneElement(d,void 0,u):null})}return n.jsx(e,{...o,ref:a,children:i})});return r.displayName=`${t}.Slot`,r}var Qk=si("Slot");function Yk(t){const e=x.forwardRef((r,s)=>{const{children:a,...i}=r;if(x.isValidElement(a)){const o=Xk(a),l=Jk(i,a.props);return a.type!==x.Fragment&&(l.ref=s?Yb(s,o):o),x.cloneElement(a,l)}return x.Children.count(a)>1?x.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var Kb=Symbol("radix.slottable");function Kk(t){const e=({children:r})=>n.jsx(n.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=Kb,e}function Zk(t){return x.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Kb}function Jk(t,e){const r={...e};for(const s in e){const a=t[s],i=e[s];/^on[A-Z]/.test(s)?a&&i?r[s]=(...l)=>{const c=i(...l);return a(...l),c}:a&&(r[s]=a):s==="style"?r[s]={...a,...i}:s==="className"&&(r[s]=[a,i].filter(Boolean).join(" "))}return{...t,...r}}function Xk(t){var s,a;let e=(s=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:s.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function Zb(t){const e=t+"CollectionProvider",[r,s]=nn(e),[a,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),o=p=>{const{scope:w,children:b}=p,g=z.useRef(null),y=z.useRef(new Map).current;return n.jsx(a,{scope:w,itemMap:y,collectionRef:g,children:b})};o.displayName=e;const l=t+"CollectionSlot",c=si(l),d=z.forwardRef((p,w)=>{const{scope:b,children:g}=p,y=i(l,b),j=_e(w,y.collectionRef);return n.jsx(c,{ref:j,children:g})});d.displayName=l;const u=t+"CollectionItemSlot",m="data-radix-collection-item",h=si(u),f=z.forwardRef((p,w)=>{const{scope:b,children:g,...y}=p,j=z.useRef(null),N=_e(w,j),S=i(u,b);return z.useEffect(()=>(S.itemMap.set(j,{ref:j,...y}),()=>void S.itemMap.delete(j))),n.jsx(h,{[m]:"",ref:N,children:g})});f.displayName=u;function v(p){const w=i(t+"CollectionConsumer",p);return z.useCallback(()=>{const g=w.collectionRef.current;if(!g)return[];const y=Array.from(g.querySelectorAll(`[${m}]`));return Array.from(w.itemMap.values()).sort((S,_)=>y.indexOf(S.ref.current)-y.indexOf(_.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:d,ItemSlot:f},v,s]}var eC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],he=eC.reduce((t,e)=>{const r=si(`Primitive.${e}`),s=x.forwardRef((a,i)=>{const{asChild:o,...l}=a,c=o?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),n.jsx(c,{...l,ref:i})});return s.displayName=`Primitive.${e}`,{...t,[e]:s}},{});function Jb(t,e){t&&Qn.flushSync(()=>t.dispatchEvent(e))}function st(t){const e=x.useRef(t);return x.useEffect(()=>{e.current=t}),x.useMemo(()=>(...r)=>{var s;return(s=e.current)==null?void 0:s.call(e,...r)},[])}function tC(t,e=globalThis==null?void 0:globalThis.document){const r=st(t);x.useEffect(()=>{const s=a=>{a.key==="Escape"&&r(a)};return e.addEventListener("keydown",s,{capture:!0}),()=>e.removeEventListener("keydown",s,{capture:!0})},[r,e])}var rC="DismissableLayer",th="dismissableLayer.update",sC="dismissableLayer.pointerDownOutside",nC="dismissableLayer.focusOutside",vg,Xb=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ko=x.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:l,...c}=t,d=x.useContext(Xb),[u,m]=x.useState(null),h=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=x.useState({}),v=_e(e,_=>m(_)),p=Array.from(d.layers),[w]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(w),g=u?p.indexOf(u):-1,y=d.layersWithOutsidePointerEventsDisabled.size>0,j=g>=b,N=iC(_=>{const E=_.target,T=[...d.branches].some(O=>O.contains(E));!j||T||(a==null||a(_),o==null||o(_),_.defaultPrevented||l==null||l())},h),S=oC(_=>{const E=_.target;[...d.branches].some(O=>O.contains(E))||(i==null||i(_),o==null||o(_),_.defaultPrevented||l==null||l())},h);return tC(_=>{g===d.layers.size-1&&(s==null||s(_),!_.defaultPrevented&&l&&(_.preventDefault(),l()))},h),x.useEffect(()=>{if(u)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(vg=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),bg(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=vg)}},[u,h,r,d]),x.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),bg())},[u,d]),x.useEffect(()=>{const _=()=>f({});return document.addEventListener(th,_),()=>document.removeEventListener(th,_)},[]),n.jsx(he.div,{...c,ref:v,style:{pointerEvents:y?j?"auto":"none":void 0,...t.style},onFocusCapture:se(t.onFocusCapture,S.onFocusCapture),onBlurCapture:se(t.onBlurCapture,S.onBlurCapture),onPointerDownCapture:se(t.onPointerDownCapture,N.onPointerDownCapture)})});Ko.displayName=rC;var aC="DismissableLayerBranch",ew=x.forwardRef((t,e)=>{const r=x.useContext(Xb),s=x.useRef(null),a=_e(e,s);return x.useEffect(()=>{const i=s.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),n.jsx(he.div,{...t,ref:a})});ew.displayName=aC;function iC(t,e=globalThis==null?void 0:globalThis.document){const r=st(t),s=x.useRef(!1),a=x.useRef(()=>{});return x.useEffect(()=>{const i=l=>{if(l.target&&!s.current){let c=function(){tw(sC,r,d,{discrete:!0})};const d={originalEvent:l};l.pointerType==="touch"?(e.removeEventListener("click",a.current),a.current=c,e.addEventListener("click",a.current,{once:!0})):c()}else e.removeEventListener("click",a.current);s.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",i),e.removeEventListener("click",a.current)}},[e,r]),{onPointerDownCapture:()=>s.current=!0}}function oC(t,e=globalThis==null?void 0:globalThis.document){const r=st(t),s=x.useRef(!1);return x.useEffect(()=>{const a=i=>{i.target&&!s.current&&tw(nC,r,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",a),()=>e.removeEventListener("focusin",a)},[e,r]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function bg(){const t=new CustomEvent(th);document.dispatchEvent(t)}function tw(t,e,r,{discrete:s}){const a=r.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&a.addEventListener(t,e,{once:!0}),s?Jb(a,i):a.dispatchEvent(i)}var lC=Ko,cC=ew,it=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},dC="Portal",Cd=x.forwardRef((t,e)=>{var l;const{container:r,...s}=t,[a,i]=x.useState(!1);it(()=>i(!0),[]);const o=r||a&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return o?Gb.createPortal(n.jsx(he.div,{...s,ref:e}),o):null});Cd.displayName=dC;function uC(t,e){return x.useReducer((r,s)=>e[r][s]??r,t)}var $r=t=>{const{present:e,children:r}=t,s=mC(e),a=typeof r=="function"?r({present:s.isPresent}):x.Children.only(r),i=_e(s.ref,hC(a));return typeof r=="function"||s.isPresent?x.cloneElement(a,{ref:i}):null};$r.displayName="Presence";function mC(t){const[e,r]=x.useState(),s=x.useRef(null),a=x.useRef(t),i=x.useRef("none"),o=t?"mounted":"unmounted",[l,c]=uC(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const d=Sl(s.current);i.current=l==="mounted"?d:"none"},[l]),it(()=>{const d=s.current,u=a.current;if(u!==t){const h=i.current,f=Sl(d);t?c("MOUNT"):f==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(u&&h!==f?"ANIMATION_OUT":"UNMOUNT"),a.current=t}},[t,c]),it(()=>{if(e){let d;const u=e.ownerDocument.defaultView??window,m=f=>{const p=Sl(s.current).includes(f.animationName);if(f.target===e&&p&&(c("ANIMATION_END"),!a.current)){const w=e.style.animationFillMode;e.style.animationFillMode="forwards",d=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=w)})}},h=f=>{f.target===e&&(i.current=Sl(s.current))};return e.addEventListener("animationstart",h),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{u.clearTimeout(d),e.removeEventListener("animationstart",h),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:x.useCallback(d=>{s.current=d?getComputedStyle(d):null,r(d)},[])}}function Sl(t){return(t==null?void 0:t.animationName)||"none"}function hC(t){var s,a;let e=(s=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:s.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var fC=uf[" useInsertionEffect ".trim().toString()]||it;function Ic({prop:t,defaultProp:e,onChange:r=()=>{},caller:s}){const[a,i,o]=pC({defaultProp:e,onChange:r}),l=t!==void 0,c=l?t:a;{const u=x.useRef(t!==void 0);x.useEffect(()=>{const m=u.current;m!==l&&console.warn(`${s} is changing from ${m?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,s])}const d=x.useCallback(u=>{var m;if(l){const h=xC(u)?u(t):u;h!==t&&((m=o.current)==null||m.call(o,h))}else i(u)},[l,t,i,o]);return[c,d]}function pC({defaultProp:t,onChange:e}){const[r,s]=x.useState(t),a=x.useRef(r),i=x.useRef(e);return fC(()=>{i.current=e},[e]),x.useEffect(()=>{var o;a.current!==r&&((o=i.current)==null||o.call(i,r),a.current=r)},[r,a]),[r,s,i]}function xC(t){return typeof t=="function"}var rw=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),gC="VisuallyHidden",Ed=x.forwardRef((t,e)=>n.jsx(he.span,{...t,ref:e,style:{...rw,...t.style}}));Ed.displayName=gC;var yC=Ed,rp="ToastProvider",[sp,vC,bC]=Zb("Toast"),[sw,s8]=nn("Toast",[bC]),[wC,Ad]=sw(rp),nw=t=>{const{__scopeToast:e,label:r="Notification",duration:s=5e3,swipeDirection:a="right",swipeThreshold:i=50,children:o}=t,[l,c]=x.useState(null),[d,u]=x.useState(0),m=x.useRef(!1),h=x.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${rp}\`. Expected non-empty \`string\`.`),n.jsx(sp.Provider,{scope:e,children:n.jsx(wC,{scope:e,label:r,duration:s,swipeDirection:a,swipeThreshold:i,toastCount:d,viewport:l,onViewportChange:c,onToastAdd:x.useCallback(()=>u(f=>f+1),[]),onToastRemove:x.useCallback(()=>u(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:m,isClosePausedRef:h,children:o})})};nw.displayName=rp;var aw="ToastViewport",jC=["F8"],rh="toast.viewportPause",sh="toast.viewportResume",iw=x.forwardRef((t,e)=>{const{__scopeToast:r,hotkey:s=jC,label:a="Notifications ({hotkey})",...i}=t,o=Ad(aw,r),l=vC(r),c=x.useRef(null),d=x.useRef(null),u=x.useRef(null),m=x.useRef(null),h=_e(e,m,o.onViewportChange),f=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=o.toastCount>0;x.useEffect(()=>{const w=b=>{var y;s.length!==0&&s.every(j=>b[j]||b.code===j)&&((y=m.current)==null||y.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[s]),x.useEffect(()=>{const w=c.current,b=m.current;if(v&&w&&b){const g=()=>{if(!o.isClosePausedRef.current){const S=new CustomEvent(rh);b.dispatchEvent(S),o.isClosePausedRef.current=!0}},y=()=>
40{if(o.isClosePausedRef.current){const S=new CustomEvent(sh);b.dispatchEvent(S),o.isClosePausedRef.current=!1}},j=S=>{!w.contains(S.relatedTarget)&&y()},N=()=>{w.contains(document.activeElement)||y()};return w.addEventListener("focusin",g),w.addEventListener("focusout",j),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",N),window.addEventListener("blur",g),window.addEventListener("focus",y),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",j),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",N),window.removeEventListener("blur",g),window.removeEventListener("focus",y)}}},[v,o.isClosePausedRef]);const p=x.useCallback(({tabbingDirection:w})=>{const g=l().map(y=>{const j=y.ref.current,N=[j,...DC(j)];return w==="forwards"?N:N.reverse()});return(w==="forwards"?g.reverse():g).flat()},[l]);return x.useEffect(()=>{const w=m.current;if(w){const b=g=>{var N,S,_;const y=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!y){const E=document.activeElement,T=g.shiftKey;if(g.target===w&&T){(N=d.current)==null||N.focus();return}const D=p({tabbingDirection:T?"backwards":"forwards"}),G=D.findIndex(A=>A===E);Eu(D.slice(G+1))?g.preventDefault():T?(S=d.current)==null||S.focus():(_=u.current)==null||_.focus()}};return w.addEventListener("keydown",b),()=>w.removeEventListener("keydown",b)}},[l,p]),n.jsxs(cC,{ref:c,role:"region","aria-label":a.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&n.jsx(nh,{ref:d,onFocusFromOutsideViewport:()=>{const w=p({tabbingDirection:"forwards"});Eu(w)}}),n.jsx(sp.Slot,{scope:r,children:n.jsx(he.ol,{tabIndex:-1,...i,ref:h})}),v&&n.jsx(nh,{ref:u,onFocusFromOutsideViewport:()=>{const w=p({tabbingDirection:"backwards"});Eu(w)}})]})});iw.displayName=aw;var ow="ToastFocusProxy",nh=x.forwardRef((t,e)=>{const{__scopeToast:r,onFocusFromOutsideViewport:s,...a}=t,i=Ad(ow,r);return n.jsx(Ed,{"aria-hidden":!0,tabIndex:0,...a,ref:e,style:{position:"fixed"},onFocus:o=>{var d;const l=o.relatedTarget;!((d=i.viewport)!=null&&d.contains(l))&&s()}})});nh.displayName=ow;var Zo="Toast",NC="toast.swipeStart",SC="toast.swipeMove",_C="toast.swipeCancel",kC="toast.swipeEnd",lw=x.forwardRef((t,e)=>{const{forceMount:r,open:s,defaultOpen:a,onOpenChange:i,...o}=t,[l,c]=Ic({prop:s,defaultProp:a??!0,onChange:i,caller:Zo});return n.jsx($r,{present:r||l,children:n.jsx(AC,{open:l,...o,ref:e,onClose:()=>c(!1),onPause:st(t.onPause),onResume:st(t.onResume),onSwipeStart:se(t.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:se(t.onSwipeMove,d=>{const{x:u,y:m}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${m}px`)}),onSwipeCancel:se(t.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:se(t.onSwipeEnd,d=>{const{x:u,y:m}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${m}px`),c(!1)})})})});lw.displayName=Zo;var[CC,EC]=sw(Zo,{onClose(){}}),AC=x.forwardRef((t,e)=>{const{__scopeToast:r,type:s="foreground",duration:a,open:i,onClose:o,onEscapeKeyDown:l,onPause:c,onResume:d,onSwipeStart:u,onSwipeMove:m,onSwipeCancel:h,onSwipeEnd:f,...v}=t,p=Ad(Zo,r),[w,b]=x.useState(null),g=_e(e,A=>b(A)),y=x.useRef(null),j=x.useRef(null),N=a||p.duration,S=x.useRef(0),_=x.useRef(N),E=x.useRef(0),{onToastAdd:T,onToastRemove:O}=p,B=st(()=>{var W;(w==null?void 0:w.contains(document.activeElement))&&((W=p.viewport)==null||W.focu
40s()),o()}),D=x.useCallback(A=>{!A||A===1/0||(window.clearTimeout(E.current),S.current=new Date().getTime(),E.current=window.setTimeout(B,A))},[B]);x.useEffect(()=>{const A=p.viewport;if(A){const W=()=>{D(_.current),d==null||d()},q=()=>{const te=new Date().getTime()-S.current;_.current=_.current-te,window.clearTimeout(E.current),c==null||c()};return A.addEventListener(rh,q),A.addEventListener(sh,W),()=>{A.removeEventListener(rh,q),A.removeEventListener(sh,W)}}},[p.viewport,N,c,d,D]),x.useEffect(()=>{i&&!p.isClosePausedRef.current&&D(N)},[i,N,p.isClosePausedRef,D]),x.useEffect(()=>(T(),()=>O()),[T,O]);const G=x.useMemo(()=>w?pw(w):null,[w]);return p.viewport?n.jsxs(n.Fragment,{children:[G&&n.jsx(TC,{__scopeToast:r,role:"status","aria-live":s==="foreground"?"assertive":"polite","aria-atomic":!0,children:G}),n.jsx(CC,{scope:r,onClose:B,children:Qn.createPortal(n.jsx(sp.ItemSlot,{scope:r,children:n.jsx(lC,{asChild:!0,onEscapeKeyDown:se(l,()=>{p.isFocusedToastEscapeKeyDownRef.current||B(),p.isFocusedToastEscapeKeyDownRef.current=!1}),children:n.jsx(he.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":p.swipeDirection,...v,ref:g,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:se(t.onKeyDown,A=>{A.key==="Escape"&&(l==null||l(A.nativeEvent),A.nativeEvent.defaultPrevented||(p.isFocusedToastEscapeKeyDownRef.current=!0,B()))}),onPointerDown:se(t.onPointerDown,A=>{A.button===0&&(y.current={x:A.clientX,y:A.clientY})}),onPointerMove:se(t.onPointerMove,A=>{if(!y.current)return;const W=A.clientX-y.current.x,q=A.clientY-y.current.y,te=!!j.current,P=["left","right"].includes(p.swipeDirection),I=["left","up"].includes(p.swipeDirection)?Math.min:Math.max,F=P?I(0,W):0,ae=P?0:I(0,q),X=A.pointerType==="touch"?10:2,ue={x:F,y:ae},le={originalEvent:A,delta:ue};te?(j.current=ue,_l(SC,m,le,{discrete:!1})):wg(ue,p.swipeDirection,X)?(j.current=ue,_l(NC,u,le,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(W)>X||Math.abs(q)>X)&&(y.current=null)}),onPointerUp:se(t.onPointerUp,A=>{const W=j.current,q=A.target;if(q.hasPointerCapture(A.pointerId)&&q.releasePointerCapture(A.pointerId),j.current=null,y.current=null,W){const te=A.currentTarget,P={originalEvent:A,delta:W};wg(W,p.swipeDirection,p.swipeThreshold)?_l(kC,f,P,{discrete:!0}):_l(_C,h,P,{discrete:!0}),te.addEventListener("click",I=>I.preventDefault(),{once:!0})}})})})}),p.viewport)})]}):null}),TC=t=>{const{__scopeToast:e,children:r,...s}=t,a=Ad(Zo,e),[i,o]=x.useState(!1),[l,c]=x.useState(!1);return IC(()=>o(!0)),x.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),l?null:n.jsx(Cd,{asChild:!0,children:n.jsx(Ed,{...s,children:i&&n.jsxs(n.Fragment,{children:[a.label," ",r]})})})},PC="ToastTitle",cw=x.forwardRef((t,e)=>{const{__scopeToast:r,...s}=t;return n.jsx(he.div,{...s,ref:e})});cw.displayName=PC;var RC="ToastDescription",dw=x.forwardRef((t,e)=>{const{__scopeToast:r,...s}=t;return n.jsx(he.div,{...s,ref:e})});dw.displayName=RC;var uw="ToastAction",mw=x.forwardRef((t,e)=>{const{altText:r,...s}=t;return r.trim()?n.jsx(fw,{altText:r,asChild:!0,children:n.jsx(np,{...s,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${uw}\`. Expected non-empty \`string\`.`),null)});mw.displayName=uw;var hw="ToastClose",np=x.forwardRef((t,e)=>{const{__scopeToast:r,...s}=t,a=EC(hw,r);return n.jsx(fw,{asChild:!0,children:n.jsx(he.button,{type:"button",...s,ref:e,onClick:se(t.onClick,a.onClose)})})});np.displayName=hw;var fw=x.forwardRef((t,e)=>{const{__scopeToast:r,altText:s,...a}=t;return n.jsx(he.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":s||void 0,...a,ref:e})});function pw(t){const e=[];return Array.from(t.childNodes).forEach(s=>{if(s.nodeType===s.TEXT_NODE&&s.textContent&&e.push(s.textContent),OC(s)){const a=s.ariaHidden||s.hidden||s.style.display==="none",i=s.dataset.radixToastAnnounceExclude==="";if(!a)if(i){const o=s.dataset.radixToastAnnounceAlt;o&&e.push(o)}else e.push(...pw(s))}}),e}function _l(t,e,r,{discrete:s}){const a=r.originalEvent.currentTarget,i=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:r});e&&a.addEventListener(t,e,{once:!0}),s?Jb(a,i):a.dispatchEvent(i)}var wg=(t,e,r=0)=>{const s=Math.abs(t.x),a=Math.abs(t.y),i=s>a;return e==="left"||e==="right"?i&&s>r:!i&&a>r};function IC(t=()=>{}){const e=st(t);it(()=>{let r=0,s=0;return r=window.requestAnimationFrame(()=>s=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(s)}},[e])}function OC(t){return t.nodeType===t.ELEMENT_NODE}function DC(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function Eu(t){const e=document.activeElement;return t.some(r=>r===e?!0:(r.focus(),document.activeElement!==e))}var MC=nw,xw=iw,gw=lw,yw=cw,vw=dw,bw=mw,ww=np;function jw(t){var e,r,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(r=jw(t[e]))&&(s&&(s+=" "),s+=r)}else for(r in t)t[r]&&(s&&(s+=" "),s+=r);return s}function Nw(){for(var t,e,r=0,s="",a=arguments.length;r<a;r++)(t=arguments[r])&&(e=jw(t))&&(s&&(s+=" "),s+=e);return s}const jg=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Ng=Nw,Td=(t,e)=>r=>{var s;if((e==null?void 0:e.variants)==null)return Ng(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:a,defaultVariants:i}=e,o=Object.keys(a).map(d=>{const u=r==null?void 0:r[d],m=i==null?void 0:i[d];if(u===null)return null;const h=jg(u)||jg(m);return a[d][h]}),l=r&&Object.entries(r).reduce((d,u)=>{let[m,h]=u;return h===void 0||(d[m]=h),d},{}),c=e==null||(s=e.compoundVariants)===null||s===void 0?void 0:s.reduce((d,u)=>{let{class:m,className:h,...f}=u;return Object.entries(f).every(v=>{let[p,w]=v;return Array.isArray(w)?w.includes({...i,...l}[p]):{...i,...l}[p]===w})?[...d,m,h]:d},[]);return Ng(t,o,c,r==null?void 0:r.class,r==null?void 0:r.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const LC=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Sw=(...t)=>t.filter((e,r,s)=>!!e&&e.trim()!==""&&s.indexOf(e)===r).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var zC={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"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const BC=x.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:a="",children:i,iconNode:o,...l},c)=>x.createElement("svg",{ref:c,...zC,width:e,height:e,stroke:t,strokeWidth:s?Number(r)*24/Number(e):r,className:Sw("lucide",a),...l},[...o.map(([d,u])=>x.createElement(d,u)),...Array.isArray(i)?i:[i]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const J=(t,e)=>{const r=x.forwardRef(({className:s,...a},i)=>x.createElement(BC,{ref:i,iconNode:e,className:Sw(`lucide-${LC(t)}`,s),...a}
60));return r.displayName=`${t}`,r};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const ah=J("Anchor",[["path",{d:"M12 22V8",key:"qkxhtm"}],["path",{d:"M5 12H2a10 10 0 0 0 20 0h-3",key:"1hv3nh"}],["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const _w=J("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const FC=J("ArrowRightLeft",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const Te=J("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const $C=J("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Bn=J("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const ih=J("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const UC=J("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const ap=J("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"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const Oc=J("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"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const Yn=J("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"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const ip=J("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"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const kw=J("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const Cw=J("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 131 * @license lucide-react v0.462.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const VC=J("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 136 * @license lucide-react v0.462.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const WC=J("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 141 * @license lucide-react v0.462.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const HC=J("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 146 * @license lucide-react v0.462.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const Ii=J("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 151 * @license lucide-react v0.462.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const K=J("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 156 * @license lucide-react v0.462.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree.
160 */const qC=J("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/** 161 * @license lucide-react v0.462.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const xe=J("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 166 * @license lucide-react v0.462.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const Au=J("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/** 171 * @license lucide-react v0.462.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const oh=J("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
175],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/** 176 * @license lucide-react v0.462.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const GC=J("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"}]]);/** 181 * @license lucide-react v0.462.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const Dc=J("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 186 * @license lucide-react v0.462.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const Ew=J("Factory",[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]]);/** 191 * @license lucide-react v0.462.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const Jo=J("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"}]]);/** 196 * @license lucide-react v0.462.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const lh=J("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"}]]);/** 201 * @license lucide-react v0.462.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const Sg=J("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/** 206 * @license lucide-react v0.462.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const QC=J("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** 211 * @license lucide-react v0.462.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const jo=J("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/** 216 * @license lucide-react v0.462.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const YC=J("Grid3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/** 221 * @license lucide-react v0.462.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const KC=J("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/** 226 * @license lucide-react v0.462.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const Nr=J("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"}]]);/** 231 * @license lucide-react v0.462.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const ZC=J("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/** 236 * @license lucide-react v0.462.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const JC=J("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"}]]);/** 241 * @license lucide-react v0.462.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree.
245 */const XC=J("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/** 246 * @license lucide-react v0.462.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const eE=J("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"}]]);/** 251 * @license lucide-react v0.462.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const Tu=J("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"}]]);/** 256 * @license lucide-react v0.462.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const tE=J("MousePointer2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]);/** 261 * @license lucide-react v0.462.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const rE=J("PlugZap",[["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m18 3-4 4h6l-4 4",key:"16psg9"}]]);/** 266 * @license lucide-react v0.462.0 - ISC 267 * 268 * This source code is licensed under the ISC license. 269 * See the LICENSE file in the root directory of this source tree. 270 */const _g=J("Rotate3d",[["path",{d:"M16.466 7.5C15.643 4.237 13.952 2 12 2 9.239 2 7 6.477 7 12s2.239 10 5 10c.342 0 .677-.069 1-.2",key:"10n0gc"}],["path",{d:"m15.194 13.707 3.814 1.86-1.86 3.814",key:"16shm9"}],["path",{d:"M19 15.57c-1.804.885-4.274 1.43-7 1.43-5.523 0-10-2.239-10-5s4.477-5 10-5c4.838 0 8.873 1.718 9.8 4",key:"1lxi77"}]]);/** 271 * @license lucide-react v0.462.0 - ISC 272 * 273 * This source code is licensed under the ISC license. 274 * See the LICENSE file in the root directory of this source tree. 275 */const Aw=J("Ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/** 276 * @license lucide-react v0.462.0 - ISC 277 * 278 * This source code is licensed under the ISC license. 279 * See the LICENSE file in the root directory of this source tree. 280 */const Tw=J("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 281 * @license lucide-react v0.462.0 - ISC 282 * 283 * This source code is licensed under the ISC license. 284 * See the LICENSE file in the root directory of this source tree. 285 */const Fn=J("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 286 * @license lucide-react v0.462.0 - ISC 287 * 288 * This source code is licensed under the ISC license. 289 * See the LICENSE file in the root directory of this source tree. 290 */const Pw=J("ShieldCheck",[["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",ke
290y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 291 * @license lucide-react v0.462.0 - ISC 292 * 293 * This source code is licensed under the ISC license. 294 * See the LICENSE file in the root directory of this source tree. 295 */const as=J("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"}]]);/** 296 * @license lucide-react v0.462.0 - ISC 297 * 298 * This source code is licensed under the ISC license. 299 * See the LICENSE file in the root directory of this source tree. 300 */const sE=J("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"}]]);/** 301 * @license lucide-react v0.462.0 - ISC 302 * 303 * This source code is licensed under the ISC license. 304 * See the LICENSE file in the root directory of this source tree. 305 */const nE=J("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/** 306 * @license lucide-react v0.462.0 - ISC 307 * 308 * This source code is licensed under the ISC license. 309 * See the LICENSE file in the root directory of this source tree. 310 */const ni=J("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 311 * @license lucide-react v0.462.0 - ISC 312 * 313 * This source code is licensed under the ISC license. 314 * See the LICENSE file in the root directory of this source tree. 315 */const aE=J("TreePine",[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]]);/** 316 * @license lucide-react v0.462.0 - ISC 317 * 318 * This source code is licensed under the ISC license. 319 * See the LICENSE file in the root directory of this source tree. 320 */const Rw=J("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/** 321 * @license lucide-react v0.462.0 - ISC 322 * 323 * This source code is licensed under the ISC license. 324 * See the LICENSE file in the root directory of this source tree. 325 */const op=J("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"}]]);/** 326 * @license lucide-react v0.462.0 - ISC 327 * 328 * This source code is licensed under the ISC license. 329 * See the LICENSE file in the root directory of this source tree. 330 */const iE=J("Unplug",[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]]);/** 331 * @license lucide-react v0.462.0 - ISC 332 * 333 * This source code is licensed under the ISC license. 334 * See the LICENSE file in the root directory of this source tree. 335 */const Ot=J("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"}]]);/** 336 * @license lucide-react v0.462.0 - ISC 337 * 338 * This source code is licensed under the ISC license. 339 * See the LICENSE file in the root directory of this source tree. 340 */const Iw=J("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);/** 341 * @license lucide-react v0.462.0 - ISC 342 * 343 * This source code is licensed under the ISC license. 344 * See the LICENSE file in the root directory of this source tree.
vendor: 7,103 bytes, lines 345-360
345 */const Ow=J("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);/** 346 * @license lucide-react v0.462.0 - ISC 347 * 348 * This source code is licensed under the ISC license. 349 * See the LICENSE file in the root directory of this source tree. 350 */const No=J("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"}]]);/** 351 * @license lucide-react v0.462.0 - ISC 352 * 353 * This source code is licensed under the ISC license. 354 * See the LICENSE file in the root directory of this source tree. 355 */const Dw=J("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 356 * @license lucide-react v0.462.0 - ISC 357 * 358 * This source code is licensed under the ISC license. 359 * See the LICENSE file in the root directory of this source tree. 360 */const Xr=J("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"}]]),lp="-",oE=t=>{const e=cE(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:o=>{const l=o.split(lp);return l[0]===""&&l.length!==1&&l.shift(),Mw(l,e)||lE(o)},getConflictingClassGroupIds:(o,l)=>{const c=r[o]||[];return l&&s[o]?[...c,...s[o]]:c}}},Mw=(t,e)=>{var o;if(t.length===0)return e.classGroupId;const r=t[0],s=e.nextPart.get(r),a=s?Mw(t.slice(1),s):void 0;if(a)return a;if(e.validators.length===0)return;const i=t.join(lp);return(o=e.validators.find(({validator:l})=>l(i)))==null?void 0:o.classGroupId},kg=/^\[(.+)\]$/,lE=t=>{if(kg.test(t)){const e=kg.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},cE=t=>{const{theme:e,prefix:r}=t,s={nextPart:new Map,validators:[]};return uE(Object.entries(t.classGroups),r).forEach(([i,o])=>{ch(o,s,i,e)}),s},ch=(t,e,r,s)=>{t.forEach(a=>{if(typeof a=="string"){const i=a===""?e:Cg(e,a);i.classGroupId=r;return}if(typeof a=="function"){if(dE(a)){ch(a(s),e,r,s);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([i,o])=>{ch(o,Cg(e,i),r,s)})})},Cg=(t,e)=>{let r=t;return e.split(lp).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},dE=t=>t.isThemeGetter,uE=(t,e)=>e?t.map(([r,s])=>{const a=s.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,l])=>[e+o,l])):i);return[r,a]}):t,mE=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,s=new Map;const a=(i,o)=>{r.set(i,o),e++,e>t&&(e=0,s=r,r=new Map)};return{get(i){let o=r.get(i);if(o!==void 0)return o;if((o=s.get(i))!==void 0)return a(i,o),o},set(i,o){r.has(i)?r.set(i,o):a(i,o)}}},Lw="!",hE=t=>{const{separator:e,experimentalParseClassName:r}=t,s=e.length===1,a=e[0],i=e.length,o=l=>{const c=[];let d=0,u=0,m;for(let w=0;w<l.length;w++){let b=l[w];if(d===0){if(b===a&&(s||l.slice(w,w+i)===e)){c.push(l.slice(u,w)),u=w+i;continue}if(b==="/"){m=w;continue}}b==="["?d++:b==="]"&&d--}const h=c.length===0?l:l.substring(u),f=h.startsWith(Lw),v=f?h.substring(1):h,p=m&&m>u?m-u:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:v,maybePostfixModifierPosition:p}};return r?l=>r({className:l,parseClassName:o}):o},fE=t=>{if(t.length<=1)return t;const e=[];let r=[];return t.forEach(s=>{s[0]==="["?(e.push(...r.sort(),s),r=[]):r.push(s)}),e.push(...r.sort()),e},pE=t=>({cache:mE(t.cacheSize),parseClassName:hE(t),...oE(t)}),xE=/\s+/,gE=(t,e)=>{const{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:a}=e,i=[],o=t.trim().split(xE);let l="";for(let c=o.length-1;c>=0;c-=1){const d=o[c],{modifiers:u,hasImportantModifier:m,baseClassName:h,maybePostfixModifierPosition:f}=r(d);let v=!!f,p=s(v?h.substring(0,f):h);if(!p){if(!v){l=d+(l.length>0?" "+l:l);continue}if(p=s(h),!p){l=d+(l.length>0?" "+l:l);continue}v=!1}const w=fE(u).join(":"),b=m?w+Lw:w,g=b+p;if(i.includes(g))continue;i.push(g);const y=a(p,v);for(let j=0;j<y.length;++j){const N=y[j];i.push(b+N)}l=d+(l.length>0?" "+l:l)}return l};function yE(){let t=0,e,r,s="";for(;t<arguments.length;)(e=arguments[t++])&&(r=zw(e))&&(s&&(s+=" "),s+=r);return s}const zw=t=>{if(typeof t=="string")return t;let e,r="";for(let s=0;s<t.length;s++)t[s]&&(e=zw(t[s]))&&(r&&(r+=" "),r+=e);return r};function vE(t,...e){let r,s,a,i=o;function o(c){const d=e.reduce((u,m)=>m(u),t());return r=pE(d),s=r.cache.get,a=r.cache.set,i=l,l(c)}function l(c){const d=s(c);if(d)return d;const u=gE(c,r);return a(c,u),u}return function(){return i(yE.apply(null,arguments))}}const Oe=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},Bw=/^\[(?:([a-z-]+):)?(.+)\]$/i,bE=/^\d+\/\d+$/,wE=new Set(["px","full","screen"]),jE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,NE=/\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$/,SE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_E=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wr=t=>Ma(t)||wE.has(t)||bE.test(t),ps=t=>xi(t,"length",OE),Ma=t=>!!t&&!Number.isNaN(Number(t)),Pu=t=>xi(t,"number",Ma),Oi=t=>!!t&&Number.isInteger(Number(t)),CE=t=>t.endsWith("%")&&Ma(t.slice(0,-1)),me=t=>Bw.test(t),xs=t=>jE.test(t),EE=new Set(["length","size","percentage"]),AE=t=>xi(t,EE,Fw),TE=t=>xi(t,"position",Fw),PE=new Set(["image","url"]),RE=t=>xi(t,PE,ME),IE=t=>xi(t,"",DE),Di=()=>!0,xi=(t,e,r)=>{const s=Bw.exec(t);return s?s[1]?typeof e=="string"?s[1]===e:e.has(s[1]):r(s[2]):!1},OE=t=>NE.test(t)&&!SE.test(t),Fw=()=>!1,DE=t=>_E.test(t),ME=t=>kE.test(t),LE=()=>{const t=Oe("colors"),e=Oe("spacing"),r=Oe("blur"),s=Oe("brightness"),a=Oe("borderColor"),i=Oe("borderRadius"),o=Oe("borderSpacing"),l=Oe("borderWidth"),c=Oe("contrast"),d=Oe("grayscale"),u=Oe("hueRotate"),m=Oe("invert"),h=Oe("gap"),f=Oe("gradientColorStops"),v=Oe("gradientColorStopPositions"),p=Oe("inset"),w=Oe("margin"),b=Oe("opacity"),g=Oe("padding"),y=Oe("saturate"),j=Oe("scale"),N=Oe("sepia"),S=Oe("skew"),_=Oe("space"),E=Oe("translate"),T=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",me,e],D=()=>[me,e],G=()=>["",Wr,ps],A=()=>["auto",Ma,me],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["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"],P=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",me],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ae=()=>[Ma,me];return{cacheSize:500,separator:":",theme:{colors:[Di],spacing:[Wr,ps],blur:["none","",xs,me],brightness:ae(),borderColor:[t],borderRadius:["n
360one","","full",xs,me],borderSpacing:D(),borderWidth:G(),contrast:ae(),grayscale:I(),hueRotate:ae(),invert:I(),gap:D(),gradientColorStops:[t],gradientColorStopPositions:[CE,ps],inset:B(),margin:B(),opacity:ae(),padding:D(),saturate:ae(),scale:ae(),sepia:I(),skew:ae(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",me]}],container:["container"],columns:[{columns:[xs]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"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:[...W(),me]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oi,me]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",me]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",Oi,me]}],"grid-cols":[{"grid-cols":[Di]}],"col-start-end":[{col:["auto",{span:["full",Oi,me]},me]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Di]}],"row-start-end":[{row:["auto",{span:[Oi,me]},me]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",me]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",me]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"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",me,e]}],"min-w":[{"min-w":[me,e,"min","max","fit"]}],"max-w":[{"max-w":[me,e,"none","full","min","max","fit","prose",{screen:[xs]},xs]}],h:[{h:[me,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[me,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[me,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[me,e,"auto","min","max","fit"]}],"font-size":[{text:["base",xs,ps]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pu]}],"font-family":[{font:[Di]}],"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-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",me]}],"line-clamp":[{"line-clamp":["none",Ma,Pu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Wr,me]}],"list-image":[{"list-image":["none",me]}],"list-style-type":[{list:["none","disc","decimal",me]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Wr,ps]}],"underline-offset":[{"underline-offset":["auto",Wr,me]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",me]}],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",me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),TE]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",AE]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},RE]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[v]}
vendor: 5,184 bytes, line 360
360],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"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":[b]}],"border-style":[{border:[...q(),"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":[b]}],"divide-style":[{divide:q()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[Wr,me]}],"outline-w":[{outline:[Wr,ps]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[Wr,ps]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",xs,IE]}],"shadow-color":[{shadow:[Di]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":te()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",xs,me]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[m]}],saturate:[{saturate:[y]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"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",me]}],duration:[{duration:ae()}],ease:[{ease:["linear","in","out","in-out",me]}],delay:[{delay:ae()}],animate:[{animate:["none","spin","ping","pulse","bounce",me]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Oi,me]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",me]}],accent:[{accent:["auto",t]}],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",me]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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"]}
vendor: 4,647 bytes, line 360
360],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",me]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Wr,ps,Pu]}],stroke:[{stroke:[t,"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"]}}},zE=vE(LE);function ye(...t){return zE(Nw(t))}const BE=MC,$w=x.forwardRef(({className:t,...e},r)=>n.jsx(xw,{ref:r,className:ye("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]",t),...e}));$w.displayName=xw.displayName;const FE=Td("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"}}),Uw=x.forwardRef(({className:t,variant:e,...r},s)=>n.jsx(gw,{ref:s,className:ye(FE({variant:e}),t),...r}));Uw.displayName=gw.displayName;const $E=x.forwardRef(({className:t,...e},r)=>n.jsx(bw,{ref:r,className:ye("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",t),...e}));$E.displayName=bw.displayName;const Vw=x.forwardRef(({className:t,...e},r)=>n.jsx(ww,{ref:r,className:ye("absolute right-2 top-2 rounded-md p-1 text-foreground
360/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e,children:n.jsx(Dw,{className:"h-4 w-4"})}));Vw.displayName=ww.displayName;const Ww=x.forwardRef(({className:t,...e},r)=>n.jsx(yw,{ref:r,className:ye("text-sm font-semibold",t),...e}));Ww.displayName=yw.displayName;const Hw=x.forwardRef(({className:t,...e},r)=>n.jsx(vw,{ref:r,className:ye("text-sm opacity-90",t),...e}));Hw.displayName=vw.displayName;function UE(){const{toasts:t}=Hk();return n.jsxs(BE,{children:[t.map(function({id:e,title:r,description:s,action:a,...i}){return n.jsxs(Uw,{...i,children:[n.jsxs("div",{className:"grid gap-1",children:[r&&n.jsx(Ww,{children:r}),s&&n.jsx(Hw,{children:s})]}),a,n.jsx(Vw,{})]},e)}),n.jsx($w,{})]})}var Eg=["light","dark"],VE="(prefers-color-scheme: dark)",WE=x.createContext(void 0),HE={setTheme:t=>{},themes:[]},qE=()=>{var t;return(t=x.useContext(WE))!=null?t:HE};x.memo(({forcedTheme:t,storageKey:e,attribute:r,enableSystem:s,enableColorScheme:a,defaultTheme:i,value:o,attrs:l,nonce:c})=>{let d=i==="system",u=r==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${r}',s='setAttribute';`,m=a?Eg.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(v,p=!1,w=!0)=>{let b=o?o[v]:v,g=p?v+"|| ''":`'${b}'`,y="";return a&&w&&!p&&Eg.includes(v)&&(y+=`d.style.colorScheme = '${v}';`),r==="class"?p||b?y+=`c.add(${g})`:y+="null":b&&(y+=`d[s](n,${g})`),y},f=t?`!function(){${u}${h(t)}}()`:s?`!function(){try{${u}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${d})){var t='${VE}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${d?"":"else{"+h(i,!1,!1)+"}"}${m}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${e}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(i,!1,!1)};}${m}}catch(t){}}();`;return x.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:f}})});var GE=t=>{switch(t){case"success":return KE;case"info":return JE;case"warning":return ZE;case"error":return XE;default:return null}},QE=Array(12).fill(0),YE=({visible:t,className:e})=>z.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":t},z.createElement("div",{className:"sonner-spinner"},QE.map((r,s)=>z.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${s}`})))),KE=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),ZE=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},z.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"})),JE=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),XE=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),eA=z.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"},z.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),z.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),tA=()=>{let[t,e]=z.useState(document.hidden);return z.useEffect(()=>{let r=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),t},dh=1,rA=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let e=this.subscribers.indexOf(t);this.subscribers.splice(e,1)}),this.publish=t=>
360{this.subscribers.forEach(e=>e(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var e;let{message:r,...s}=t,a=typeof(t==null?void 0:t.id)=="number"||((e=t.id)==null?void 0:e.length)>0?t.id:dh++,i=this.toasts.find(l=>l.id===a),o=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),i?this.toasts=this.toasts.map(l=>l.id===a?(this.publish({...l,...t,id:a,title:r}),{...l,...t,id:a,dismissible:o,title:r}):l):this.addToast({title:r,...s,dismissible:o,id:a}),a},this.dismiss=t=>(this.dismissedToasts.add(t),t||this.toasts.forEach(e=>{this.subscribers.forEach(r=>r({id:e.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:t,dismiss:!0})),t),this.message=(t,e)=>this.create({...e,message:t}),this.error=(t,e)=>this.create({...e,message:t,type:"error"}),this.success=(t,e)=>this.create({...e,type:"success",message:t}),this.info=(t,e)=>this.create({...e,type:"info",message:t}),this.warning=(t,e)=>this.create({...e,type:"warning",message:t}),this.loading=(t,e)=>this.create({...e,type:"loading",message:t}),this.promise=(t,e)=>{if(!e)return;let r;e.loading!==void 0&&(r=this.create({...e,promise:t,type:"loading",message:e.loading,description:typeof e.description!="function"?e.description:void 0}));let s=t instanceof Promise?t:t(),a=r!==void 0,i,o=s.then(async c=>{if(i=["resolve",c],z.isValidElement(c))a=!1,this.create({id:r,type:"default",message:c});else if(nA(c)&&!c.ok){a=!1;let d=typeof e.error=="function"?await e.error(`HTTP error! status: ${c.status}`):e.error,u=typeof e.description=="function"?await e.description(`HTTP error! status: ${c.status}`):e.description;this.create({id:r,type:"error",message:d,description:u})}else if(e.success!==void 0){a=!1;let d=typeof e.success=="function"?await e.success(c):e.success,u=typeof e.description=="function"?await e.description(c):e.description;this.create({id:r,type:"success",message:d,description:u})}}).catch(async c=>{if(i=["reject",c],e.error!==void 0){a=!1;let d=typeof e.error=="function"?await e.error(c):e.error,u=typeof e.description=="function"?await e.description(c):e.description;this.create({id:r,type:"error",message:d,description:u})}}).finally(()=>{var c;a&&(this.dismiss(r),r=void 0),(c=e.finally)==null||c.call(e)}),l=()=>new Promise((c,d)=>o.then(()=>i[0]==="reject"?d(i[1]):c(i[1])).catch(d));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(t,e)=>{let r=(e==null?void 0:e.id)||dh++;return this.create({jsx:t(r),id:r,...e}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Ct=new rA,sA=(t,e)=>{let r=(e==null?void 0:e.id)||dh++;return Ct.addToast({title:t,...e,id:r}),r},nA=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",aA=sA,iA=()=>Ct.toasts,oA=()=>Ct.getActiveToasts(),lA=Object.assign(aA,{success:Ct.success,info:Ct.info,warning:Ct.warning,error:Ct.error,custom:Ct.custom,message:Ct.message,promise:Ct.promise,dismiss:Ct.dismiss,loading:Ct.loading},{getHistory:iA,getToasts:oA});function cA(t,{insertAt:e}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",e==="top"&&r.firstChild?r.insertBefore(s,r.firstChild):r.appendChild(s),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(document.createTextNode(t))}cA(`: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;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-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;
360left: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;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}[data-sonner-toast] [data-close-button]{background:var(--gray1)}: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:-50%;right:-50%;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}
360: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-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);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-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--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%);
360--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[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%)} 361`);function kl(t){return t.label!==void 0}var dA=3,uA="32px",mA="16px",Ag=4e3,hA=356,fA=14,pA=20,xA=200;function cr(...t){return t.filter(Boolean).join(" ")}function gA(t){let[e,r]=t.split("-"),s=[];return e&&s.push(e),r&&s.push(r),s}var yA=t=>{var e,r,s,a,i,o,l,c,d,u,m;let{invert:h,toast:f,unstyled:v,interacting:p,setHeights:w,visibleToasts:b,heights:g,index:y,toasts:j,expanded:N,removeToast:S,defaultRichColors:_,closeButton:E,style:T,cancelButtonStyle:O,actionButtonStyle:B,className:D="",descriptionClassName:G="",duration:A,position:W,gap:q,loadingIcon:te,expandByDefault:P,classNames:I,icons:F,closeButtonAriaLabel:ae="Close toast",pauseWhenPageIsHidden:X}=t,[ue,le]=z.useState(null),[Ie,Ve]=z.useState(null),[U,ke]=z.useState(!1),[We,Se]=z.useState(!1),[ge,
361we]=z.useState(!1),[ut,qt]=z.useState(!1),[dn,ds]=z.useState(!1),[un,Ni]=z.useState(0),[ea,tx]=z.useState(0),Si=z.useRef(f.duration||A||Ag),rx=z.useRef(null),mn=z.useRef(null),i2=y===0,o2=y+1<=b,Gt=f.type,ta=f.dismissible!==!1,l2=f.className||"",c2=f.descriptionClassName||"",al=z.useMemo(()=>g.findIndex(ce=>ce.toastId===f.id)||0,[g,f.id]),d2=z.useMemo(()=>{var ce;return(ce=f.closeButton)!=null?ce:E},[f.closeButton,E]),sx=z.useMemo(()=>f.duration||A||Ag,[f.duration,A]),Zd=z.useRef(0),ra=z.useRef(0),nx=z.useRef(0),sa=z.useRef(null),[u2,m2]=W.split("-"),ax=z.useMemo(()=>g.reduce((ce,Ae,Le)=>Le>=al?ce:ce+Ae.height,0),[g,al]),ix=tA(),h2=f.invert||h,Jd=Gt==="loading";ra.current=z.useMemo(()=>al*q+ax,[al,ax]),z.useEffect(()=>{Si.current=sx},[sx]),z.useEffect(()=>{ke(!0)},[]),z.useEffect(()=>{let ce=mn.current;if(ce){let Ae=ce.getBoundingClientRect().height;return tx(Ae),w(Le=>[{toastId:f.id,height:Ae,position:f.position},...Le]),()=>w(Le=>Le.filter(ar=>ar.toastId!==f.id))}},[w,f.id]),z.useLayoutEffect(()=>{if(!U)return;let ce=mn.current,Ae=ce.style.height;ce.style.height="auto";let Le=ce.getBoundingClientRect().height;ce.style.height=Ae,tx(Le),w(ar=>ar.find(ir=>ir.toastId===f.id)?ar.map(ir=>ir.toastId===f.id?{...ir,height:Le}:ir):[{toastId:f.id,height:Le,position:f.position},...ar])},[U,f.title,f.description,w,f.id]);let us=z.useCallback(()=>{Se(!0),Ni(ra.current),w(ce=>ce.filter(Ae=>Ae.toastId!==f.id)),setTimeout(()=>{S(f)},xA)},[f,S,w,ra]);z.useEffect(()=>{if(f.promise&&Gt==="loading"||f.duration===1/0||f.type==="loading")return;let ce;return N||p||X&&ix?(()=>{if(nx.current<Zd.current){let Ae=new Date().getTime()-Zd.current;Si.current=Si.current-Ae}nx.current=new Date().getTime()})():Si.current!==1/0&&(Zd.current=new Date().getTime(),ce=setTimeout(()=>{var Ae;(Ae=f.onAutoClose)==null||Ae.call(f,f),us()},Si.current)),()=>clearTimeout(ce)},[N,p,f,Gt,X,ix,us]),z.useEffect(()=>{f.delete&&us()},[us,f.delete]);function f2(){var ce,Ae,Le;return F!=null&&F.loading?z.createElement("div",{className:cr(I==null?void 0:I.loader,(ce=f==null?void 0:f.classNames)==null?void 0:ce.loader,"sonner-loader"),"data-visible":Gt==="loading"},F.loading):te?z.createElement("div",{className:cr(I==null?void 0:I.loader,(Ae=f==null?void 0:f.classNames)==null?void 0:Ae.loader,"sonner-loader"),"data-visible":Gt==="loading"},te):z.createElement(YE,{className:cr(I==null?void 0:I.loader,(Le=f==null?void 0:f.classNames)==null?void 0:Le.loader),visible:Gt==="loading"})}return z.createElement("li",{tabIndex:0,ref:mn,className:cr(D,l2,I==null?void 0:I.toast,(e=f==null?void 0:f.classNames)==null?void 0:e.toast,I==null?void 0:I.default,I==null?void 0:I[Gt],(r=f==null?void 0:f.classNames)==null?void 0:r[Gt]),"data-sonner-toast":"","data-rich-colors":(s=f.richColors)!=null?s:_,"data-styled":!(f.jsx||f.unstyled||v),"data-mounted":U,"data-promise":!!f.promise,"data-swiped":dn,"data-removed":We,"data-visible":o2,"data-y-position":u2,"data-x-position":m2,"data-index":y,"data-front":i2,"data-swiping":ge,"data-dismissible":ta,"data-type":Gt,"data-invert":h2,"data-swipe-out":ut,"data-swipe-direction":Ie,"data-expanded":!!(N||P&&U),style:{"--index":y,"--toasts-before":y,"--z-index":j.length-y,"--offset":`${We?un:ra.current}px`,"--initial-height":P?"auto":`${ea}px`,...T,...f.style},onDragEnd:()=>{we(!1),le(null),sa.current=null},onPointerDown:ce=>{Jd||!ta||(rx.current=new Date,Ni(ra.current),ce.target.setPointerCapture(ce.pointerId),ce.target.tagName!=="BUTTON"&&(we(!0),sa.current={x:ce.clientX,y:ce.clientY}))},onPointerUp:()=>{var ce,Ae,Le,ar;if(ut||!ta)return;sa.current=null;let ir=Number(((ce=mn.current)==null?void 0:ce.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ms=Number(((Ae=mn.current)==null?void 0:Ae.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),hn=new Date().getTime()-((Le=rx.current)==null?void 0:Le.getTime()),or=ue==="x"?ir:ms,hs=Math.abs(or)/hn;if(Math.abs(or)>=pA||hs>.11){Ni(ra.current),(ar=f.onDismiss)==null||ar.call(f,f),Ve(ue==="x"?ir>0?"right":"left":ms>0?"down":"up"),us(),qt(!0),ds(!1);return}we(!1),le(null)},onPointerMove:ce=>{var Ae,Le,ar,ir;if(!sa.current||!ta||((Ae=window.getSelection())==null?void 0:Ae.toString().length)>0)return;let ms=ce.clientY-sa.current.y,hn=ce.clientX-sa.current.x,or=(Le=t.swipeDirections)!=null?Le:gA(W);!ue&&(Math.abs(hn)>1||Math.abs(ms)>1)&&le(Math.abs(hn)>Math.abs(ms)?"x":"y");let hs={x:0,y:0};ue==="y"?(or.includes("top")||or.includes("bottom"))&&(or.includes("top")&&ms<0||or.includes("bottom")&&ms>0)&&(hs.y=ms):ue==="x"&&(or.includes("left")||or.includes("right"))&&(or.includes("left")&&hn<0||or.includes("right")&&hn>0)&&(hs.x=hn),(Math.abs(hs.x)>0||Math.abs(hs.y)>0)&&ds(!0),(ar=mn.current)==null||ar.style.setProperty("--swipe-amount-x",`${hs.x}px`),(ir=mn.current)==null||ir.style.setProperty("--swipe-amount-y",`${hs.y}px`)}},d2&&!f.jsx?z.createElement("button",{"aria-label":ae,"data-disabled":Jd,"data-close-button":!0,onClick:Jd||!ta?()=>{}:()=>{var ce;us(),(ce=f.onDismiss)==null||ce.call(f,f)},className:cr(I==null?void 0:I.closeButton,(a=f==null?void 0:f.classNames)==null?void 0:a.closeButton)},(i=F==null?void 0:F.close)!=null?i:eA):null,f.jsx||x.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:z.createElement(z.Fragment,null,Gt||f.icon||f.promise?z.createElement("div",{"data-icon":"",className:cr(I==null?void 0:I.icon,(o=f==null?void 0:f.classNames)==null?void 0:o.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||f2():null,f.type!=="loading"?f.icon||(F==null?void 0:F[Gt])||GE(Gt):null):null,z.createElement("div",{"data-content":"",className:cr(I==null?void 0:I.content,(l=f==null?void 0:f.classNames)==null?void 0:l.content)},z.createElement("div",{"data-title":"",className:cr(I==null?void 0:I.title,(c=f==null?void 0:f.classNames)==null?void 0:c.title)},typeof f.title=="function"?f.title():f.title),f.description?z.createElement("div",{"data-description":"",className:cr(G,c2,I==null?void 0:I.description,(d=f==null?void 0:f.classNames)==null?void 0:d.description)},typeof f.description=="function"?f.description():f.description):null),x.isValidElement(f.cancel)?f.cancel:f.cancel&&kl(f.cancel)?z.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||O,onClick:ce=>{var Ae,Le;kl(f.cancel)&&ta&&((Le=(Ae=f.cancel).onClick)==null||Le.call(Ae,ce),us())},className:cr(I==null?void 0:I.cancelButton,(u=f==null?void 0:f.classNames)==null?void 0:u.cancelButton)},f.cancel.label):null,x.isValidElement(f.action)?f.action:f.action&&kl(f.action)?z.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||B,onClick:ce=>{var Ae,Le;
vendor: 5,438 bytes, line 361
361kl(f.action)&&((Le=(Ae=f.action).onClick)==null||Le.call(Ae,ce),!ce.defaultPrevented&&us())},className:cr(I==null?void 0:I.actionButton,(m=f==null?void 0:f.classNames)==null?void 0:m.actionButton)},f.action.label):null))};function Tg(){if(typeof window>"u"||typeof document>"u")return"ltr";let t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function vA(t,e){let r={};return[t,e].forEach((s,a)=>{let i=a===1,o=i?"--mobile-offset":"--offset",l=i?mA:uA;function c(d){["top","right","bottom","left"].forEach(u=>{r[`${o}-${u}`]=typeof d=="number"?`${d}px`:d})}typeof s=="number"||typeof s=="string"?c(s):typeof s=="object"?["top","right","bottom","left"].forEach(d=>{s[d]===void 0?r[`${o}-${d}`]=l:r[`${o}-${d}`]=typeof s[d]=="number"?`${s[d]}px`:s[d]}):c(l)}),r}var bA=x.forwardRef(function(t,e){let{invert:r,position:s="bottom-right",hotkey:a=["altKey","KeyT"],expand:i,closeButton:o,className:l,offset:c,mobileOffset:d,theme:u="light",richColors:m,duration:h,style:f,visibleToasts:v=dA,toastOptions:p,dir:w=Tg(),gap:b=fA,loadingIcon:g,icons:y,containerAriaLabel:j="Notifications",pauseWhenPageIsHidden:N}=t,[S,_]=z.useState([]),E=z.useMemo(()=>Array.from(new Set([s].concat(S.filter(X=>X.position).map(X=>X.position)))),[S,s]),[T,O]=z.useState([]),[B,D]=z.useState(!1),[G,A]=z.useState(!1),[W,q]=z.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),te=z.useRef(null),P=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),I=z.useRef(null),F=z.useRef(!1),ae=z.useCallback(X=>{_(ue=>{var le;return(le=ue.find(Ie=>Ie.id===X.id))!=null&&le.delete||Ct.dismiss(X.id),ue.filter(({id:Ie})=>Ie!==X.id)})},[]);return z.useEffect(()=>Ct.subscribe(X=>{if(X.dismiss){_(ue=>ue.map(le=>le.id===X.id?{...le,delete:!0}:le));return}setTimeout(()=>{Gb.flushSync(()=>{_(ue=>{let le=ue.findIndex(Ie=>Ie.id===X.id);return le!==-1?[...ue.slice(0,le),{...ue[le],...X},...ue.slice(le+1)]:[X,...ue]})})})}),[]),z.useEffect(()=>{if(u!=="system"){q(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?q("dark"):q("light")),typeof window>"u")return;let X=window.matchMedia("(prefers-color-scheme: dark)");try{X.addEventListener("change",({matches:ue})=>{q(ue?"dark":"light")})}catch{X.addListener(({matches:le})=>{try{q(le?"dark":"light")}catch(Ie){console.error(Ie)}})}},[u]),z.useEffect(()=>{S.length<=1&&D(!1)},[S]),z.useEffect(()=>{let X=ue=>{var le,Ie;a.every(Ve=>ue[Ve]||ue.code===Ve)&&(D(!0),(le=te.current)==null||le.focus()),ue.code==="Escape"&&(document.activeElement===te.current||(Ie=te.current)!=null&&Ie.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",X),()=>document.removeEventListener("keydown",X)},[a]),z.useEffect(()=>{if(te.current)return()=>{I.current&&(I.current.focus({preventScroll:!0}),I.current=null,F.current=!1)}},[te.current]),z.createElement("section",{ref:e,"aria-label":`${j} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},E.map((X,ue)=>{var le;let[Ie,Ve]=X.split("-");return S.length?z.createElement("ol",{key:X,dir:w==="auto"?Tg():w,tabIndex:-1,ref:te,className:l,"data-sonner-toaster":!0,"data-theme":W,"data-y-position":Ie,"data-lifted":B&&S.length>1&&!i,"data-x-position":Ve,style:{"--front-toast-height":`${((le=T[0])==null?void 0:le.height)||0}px`,"--width":`${hA}px`,"--gap":`${b}px`,...f,...vA(c,d)},onBlur:U=>{F.current&&!U.currentTarget.contains(U.relatedTarget)&&(F.current=!1,I.current&&(I.current.focus({preventScroll:!0}),I.current=null))},onFocus:U=>{U.target instanceof HTMLElement&&U.target.dataset.dismissible==="false"||F.current||(F.current=!0,I.current=U.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{G||D(!1)},onDragEnd:()=>D(!1),onPointerDown:U=>{U.target instanceof HTMLElement&&U.target.dataset.dismissible==="false"||A(!0)},onPointerUp:()=>A(!1)},S.filter(U=>!U.position&&ue===0||U.position===X).map((U,ke)=>{var We,Se;return z.createElement(yA,{key:U.id,icons:y,index:ke,toast:U,defaultRichColors:m,duration:(We=p==null?void 0:p.duration)!=null?We:h,className:p==null?void 0:p.className,descriptionClassName:p==null?void 0:p.descriptionClassName,invert:r,visibleToasts:v,closeButton:(Se=p==null?void 0:p.closeButton)!=null?Se:o,interacting:G,position:X,style:p==null?void 0:p.style,unstyled:p==null?void 0:p.unstyled,classNames:p==null?void 0:p.classNames,cancelButtonStyle:p==null?void 0:p.cancelButtonStyle,actionButtonStyle:p==null?void 0:p.actionButtonStyle,removeToast:ae,toasts:S.filter(ge=>ge.position==U.position),heights:T.filter(ge=>ge.position==U.position),setHeights:O,expandByDefault:i,gap:b,loadingIcon:g,expanded:B,pauseWhenPageIsHidden:N,swipeDirections:t.swipeDirections})})):null}))});const wA=({...t})=>{const{theme:e="system"}=qE();return n.jsx(bA,{theme:e,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"}},...t})};var jA=uf[" useId ".trim().toString()]||(()=>{}),NA=0;
vendor: 19,539 bytes, line 361
361function La(t){const[e,r]=x.useState(jA());return it(()=>{r(s=>s??String(NA++))},[t]),e?`radix-${e}`:""}const SA=["top","right","bottom","left"],Ys=Math.min,Mt=Math.max,Mc=Math.round,Cl=Math.floor,Lr=t=>({x:t,y:t}),_A={left:"right",right:"left",bottom:"top",top:"bottom"},kA={start:"end",end:"start"};function uh(t,e,r){return Mt(t,Ys(e,r))}function is(t,e){return typeof t=="function"?t(e):t}function os(t){return t.split("-")[0]}function gi(t){return t.split("-")[1]}function cp(t){return t==="x"?"y":"x"}function dp(t){return t==="y"?"height":"width"}const CA=new Set(["top","bottom"]);function Or(t){return CA.has(os(t))?"y":"x"}function up(t){return cp(Or(t))}function EA(t,e,r){r===void 0&&(r=!1);const s=gi(t),a=up(t),i=dp(a);let o=a==="x"?s===(r?"end":"start")?"right":"left":s==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(o=Lc(o)),[o,Lc(o)]}function AA(t){const e=Lc(t);return[mh(t),e,mh(e)]}function mh(t){return t.replace(/start|end/g,e=>kA[e])}const Pg=["left","right"],Rg=["right","left"],TA=["top","bottom"],PA=["bottom","top"];function RA(t,e,r){switch(t){case"top":case"bottom":return r?e?Rg:Pg:e?Pg:Rg;case"left":case"right":return e?TA:PA;default:return[]}}function IA(t,e,r,s){const a=gi(t);let i=RA(os(t),r==="start",s);return a&&(i=i.map(o=>o+"-"+a),e&&(i=i.concat(i.map(mh)))),i}function Lc(t){return t.replace(/left|right|bottom|top/g,e=>_A[e])}function OA(t){return{top:0,right:0,bottom:0,left:0,...t}}function qw(t){return typeof t!="number"?OA(t):{top:t,right:t,bottom:t,left:t}}function zc(t){const{x:e,y:r,width:s,height:a}=t;return{width:s,height:a,top:r,left:e,right:e+s,bottom:r+a,x:e,y:r}}function Ig(t,e,r){let{reference:s,floating:a}=t;const i=Or(e),o=up(e),l=dp(o),c=os(e),d=i==="y",u=s.x+s.width/2-a.width/2,m=s.y+s.height/2-a.height/2,h=s[l]/2-a[l]/2;let f;switch(c){case"top":f={x:u,y:s.y-a.height};break;case"bottom":f={x:u,y:s.y+s.height};break;case"right":f={x:s.x+s.width,y:m};break;case"left":f={x:s.x-a.width,y:m};break;default:f={x:s.x,y:s.y}}switch(gi(e)){case"start":f[o]-=h*(r&&d?-1:1);break;case"end":f[o]+=h*(r&&d?-1:1);break}return f}const DA=async(t,e,r)=>{const{placement:s="bottom",strategy:a="absolute",middleware:i=[],platform:o}=r,l=i.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(e));let d=await o.getElementRects({reference:t,floating:e,strategy:a}),{x:u,y:m}=Ig(d,s,c),h=s,f={},v=0;for(let p=0;p<l.length;p++){const{name:w,fn:b}=l[p],{x:g,y,data:j,reset:N}=await b({x:u,y:m,initialPlacement:s,placement:h,strategy:a,middlewareData:f,rects:d,platform:o,elements:{reference:t,floating:e}});u=g??u,m=y??m,f={...f,[w]:{...f[w],...j}},N&&v<=50&&(v++,typeof N=="object"&&(N.placement&&(h=N.placement),N.rects&&(d=N.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:u,y:m}=Ig(d,h,c)),p=-1)}return{x:u,y:m,placement:h,strategy:a,middlewareData:f}};async function So(t,e){var r;e===void 0&&(e={});const{x:s,y:a,platform:i,rects:o,elements:l,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:m="floating",altBoundary:h=!1,padding:f=0}=is(e,t),v=qw(f),w=l[h?m==="floating"?"reference":"floating":m],b=zc(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(w)))==null||r?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:u,strategy:c})),g=m==="floating"?{x:s,y:a,width:o.floating.width,height:o.floating.height}:o.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),j=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},N=zc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:y,strategy:c}):g);return{top:(b.top-N.top+v.top)/j.y,bottom:(N.bottom-b.bottom+v.bottom)/j.y,left:(b.left-N.left+v.left)/j.x,right:(N.right-b.right+v.right)/j.x}}const MA=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:s,placement:a,rects:i,platform:o,elements:l,middlewareData:c}=e,{element:d,padding:u=0}=is(t,e)||{};if(d==null)return{};const m=qw(u),h={x:r,y:s},f=up(a),v=dp(f),p=await o.getDimensions(d),w=f==="y",b=w?"top":"left",g=w?"bottom":"right",y=w?"clientHeight":"clientWidth",j=i.reference[v]+i.reference[f]-h[f]-i.floating[v],N=h[f]-i.reference[f],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(d));let _=S?S[y]:0;(!_||!await(o.isElement==null?void 0:o.isElement(S)))&&(_=l.floating[y]||i.floating[v]);const E=j/2-N/2,T=_/2-p[v]/2-1,O=Ys(m[b],T),B=Ys(m[g],T),D=O,G=_-p[v]-B,A=_/2-p[v]/2+E,W=uh(D,A,G),q=!c.arrow&&gi(a)!=null&&A!==W&&i.reference[v]/2-(A<D?O:B)-p[v]/2<0,te=q?A<D?A-D:A-G:0;return{[f]:h[f]+te,data:{[f]:W,centerOffset:A-W-te,...q&&{alignmentOffset:te}},reset:q}}}),LA=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,s;const{placement:a,middlewareData:i,rects:o,initialPlacement:l,platform:c,elements:d}=e,{mainAxis:u=!0,crossAxis:m=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:p=!0,...w}=is(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const b=os(a),g=Or(l),y=os(l)===l,j=await(c.isRTL==null?void 0:c.isRTL(d.floating)),N=h||(y||!p?[Lc(l)]:AA(l)),S=v!=="none";!h&&S&&N.push(...IA(l,p,v,j));const _=[l,...N],E=await So(e,w),T=[];let O=((s=i.flip)==null?void 0:s.overflows)||[];if(u&&T.push(E[b]),m){const A=EA(a,o,j);T.push(E[A[0]],E[A[1]])}if(O=[...O,{placement:a,overflows:T}],!T.every(A=>A<=0)){var B,D;const A=(((B=i.flip)==null?void 0:B.index)||0)+1,W=_[A];if(W&&(!(m==="alignment"?g!==Or(W):!1)||O.every(P=>P.overflows[0]>0&&Or(P.placement)===g)))return{data:{index:A,overflows:O},reset:{placement:W}};let q=(D=O.filter(te=>te.overflows[0]<=0).sort((te,P)=>te.overflows[1]-P.overflows[1])[0])==null?void 0:D.placement;if(!q)switch(f){case"bestFit":{var G;const te=(G=O.filter(P=>{if(S){const I=Or(P.placement);return I===g||I==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(I=>I>0).reduce((I,F)=>I+F,0)]).sort((P,I)=>P[1]-I[1])[0])==null?void 0:G[0];te&&(q=te);break}case"initialPlacement":q=l;break}if(a!==q)return{reset:{placement:q}}}return{}}}};function Og(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Dg(t){return SA.some(e=>t[e]>=0)}const zA=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:s="referenceHidden",...a}=is(t,e);switch(s){case"referenceHidden":{const i=await So(e,{...a,elementContext:"reference"}),o=Og(i,r.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Dg(o)}}}case"escaped":{const i=await So(e,{...a,altBoundary:!0}),o=Og(i,r.floating);return{data:{escapedOffsets:o,escaped:Dg(o)}}}default:return{}}}}},Gw=new Set(["left","top"]);async function BA(t,e){const{placement:r,platform:s,elements:a}=t,i=await(s.isRTL==null?void 0:s.isRTL(a.floating)),o=os(r),l=gi(r),c=Or(r)==="y",d=Gw.has(o)?-1:1,u=i&&c?-1:1,m=is(e,t);let{mainAxis:h,crossAxis:f,alignmentAxis:v}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof v=="number"&&(f=l==="end"?v*-1:v),c?{x:f*u,y:h*d}:{x:h*d,y:f*u}}const FA=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,s;const{x:a,y:i,placement:o,middlewareData:l}=e,c=await BA(e,t);return o===((r=l.offset)==null?void 0:r.placement)&&(s=l.arrow)!=null&&s.alignmentOffset?{}:{x:a+c.x,y:i+c.y,data:{...c,placement:o}}}}},$A=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:s,placement:a}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:w=>{let{x:b,y:g}=w;return{x:b,y:g}}},...c}=is(t,e),d={x:r,y:s},u=await So(e,c),m=Or(os(a)),h=cp(m);let f=d[h],v=d[m];if(i){const w=h==="y"?"top":"left",b=h==="y"?"bottom":"right",g=f+u[w],y=f-u[b];f=uh(g,f,y)}if(o){const w=m==="y"?"top":"left",b=m==="y"?"bottom":"right",g=v+u[w],y=v-u[b];v=uh(g,v,y)}const p=l.fn({...e,[h]:f,[m]:v});return{...p,data:{x:p.x-r,y:p.y-s,enabled:{[h]:i,[m]:o}}}}}},UA=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:s,placement:a,rects:i,middlewareData:o}=e,{offset:l=0,mainAxis:c=!0,crossAxis:d=!0}=is(t,e),u={x:r,y:s},m=Or(a),h=cp(m);let f=u[h],v=u[m];const p=is(l,e),w=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(c){const y=h==="y"?"height":"width",j=i.reference[h]-i.floating[y]+w.mainAxis,N=i.reference[h]+i.reference[y]-w.mainAxis;f<j?f=j:f>N&&(f=N)}if(d){var b,g;const y=h==="y"?"width":"height",j=Gw.has(os(a)),N=i.reference[m]-i.floating[y]+(j&&((b=o.offset)==null?void 0:b[m])||0)+(j?0:w.crossAxis),S=i.reference[m]+i.reference[y]+(j?0:((g=o.offset)==null?void 0:g[m])||0)-(j?w.crossAxis:0);v<N?v=N:v>S&&(v=S)}return{[h]:f,[m]:v}}}},VA=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,s;const{placement:a,rects:i,platform:o,elements:l}=e,{apply:c=()=>{},...d}=is(t,e),u=await So(e,d),m=os(a),h=gi(a),f=Or(a)==="y",{width:v,height:p}=i.floating;let w,b;m==="top"||m==="bottom"?(w=m,b=h===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(b=m,w=h==="end"?"top":"bottom");const g=p-u.top-u.bottom,y=v-u.left-u.right,j=Ys(p-u[w],g),N=Ys(v-u[b],y),S=!e.middlewareData.shift;let _=j,E=N;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(E=y),(s=e.middlewareData.shift)!=null&&s.enabled.y&&(_=g),S&&!h){const O=Mt(u.left,0),B=Mt(u.right,0),D=Mt(u.top,0),G=Mt(u.bottom,0);f?E=v-2*(O!==0||B!==0?O+B:Mt(u.left,u.right)):_=p-2*(D!==0||G!==0?D+G:Mt(u.top,u.bottom))}await c({...e,availableWidth:E,availableHeight:_});const T=await o.getDimensions(l.floating);return v!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function Pd(){return typeof window<"u"}function yi(t){return Qw(t)?(t.nodeName||"").toLowerCase():"#document"}function $t(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ur(t){var e;return(e=(Qw(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Qw(t){return Pd()?t instanceof Node||t instanceof $t(t).Node:!1}function _r(t){return Pd()?t instanceof Element||t instanceof $t(t).Element:!1}function Br(t){return Pd()?t instanceof HTMLElement||t instanceof $t(t).HTMLElement:!1}function Mg(t){return!Pd()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof $t(t).ShadowRoot}const WA=new Set(["inline","contents"]);function Xo(t){const{overflow:e,overflowX:r,overflowY:s,display:a}=kr(t);return/auto|scroll|overlay|hidden|clip/.test(e+s+r)&&!WA.has(a)}const HA=new Set(["table","td","th"]);function qA(t){return HA.has(yi(t))}const GA=[":popover-open",":modal"];function Rd(t){return GA.some(e=>{try{return t.matches(e)}catch{return!1}})}const QA=["transform","translate","scale","rotate","perspective"],YA=["transform","translate","scale","rotate","perspective","filter"],KA=["paint","layout","strict","content"];function mp(t){const e=hp(),r=_r(t)?kr(t):t;return QA.some(s=>r[s]?r[s]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||YA.some(s=>(r.willChange||"").includes(s))||KA.some(s=>(r.contain||"").includes(s))}function ZA(t){let e=Ks(t);for(;Br(e)&&!ai(e);){if(mp(e))return e;if(Rd(e))return null;e=Ks(e)}return null}function hp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const JA=new Set(["html","body","#document"]);function ai(t){return JA.has(yi(t))}function kr(t){return $t(t).getComputedStyle(t)}function Id(t){return _r(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ks(t){if(yi(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Mg(t)&&t.host||Ur(t);return Mg(e)?e.host:e}function Yw(t){const e=Ks(t);return ai(e)?t.ownerDocument?t.ownerDocument.body:t.body:Br(e)&&Xo(e)?e:Yw(e)}function _o(t,e,r){var s;e===void 0&&(e=[]),r===void 0&&(r=!0);const a=Yw(t),i=a===((s=t.ownerDocument)==null?void 0:s.body),o=$t(a);if(i){const l=hh(o);return e.concat(o,o.visualViewport||[],Xo(a)?a:[],l&&r?_o(l):[])}return e.concat(a,_o(a,[],r))}function hh(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Kw(t){const e=kr(t);let r=parseFloat(e.width)||0,s=parseFloat(e.height)||0;const a=Br(t),i=a?t.offsetWidth:r,o=a?t.offsetHeight:s,l=Mc(r)!==i||Mc(s)!==o;return l&&(r=i,s=o),{width:r,height:s,$:l}}function fp(t){return _r(t)?t:t.contextElement}function za(t){const e=fp(t);if(!Br(e))return Lr(1);const r=e.getBoundingClientRect(),{width:s,height:a,$:i}=Kw(e);let o=(i?Mc(r.width):r.width)/s,l=(i?Mc(r.height):r.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const XA=Lr(0);function Zw(t){const e=$t(t);return!hp()||!e.visualViewport?XA:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function eT(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==$t(t)?!1:e}function $n(t,e,r,s){e===void 0&&(e=!1),r===void 0&&(r=!1);const a=t.getBoundingClientRect(),i=fp(t);let o=Lr(1);e&&(s?_r(s)&&(o=za(s)):o=za(t));const l=eT(i,r,s)?Zw(i):Lr(0);let c=(a.left+l.x)/o.x,d=(a.top+l.y)/o.y,u=a.width/o.x,m=a.height/o.y;if(i){const h=$t(i),f=s&&_r(s)?$t(s):s;let v=h,p=hh(v);for(;p&&s&&f!==v;){const w=za(p),b=p.getBoundingClientRect(),g=kr(p),y=b.left+(p.clientLeft+parseFloat(g.paddingLeft))*w.x,j=b.top+(p.clientTop+parseFloat(g.paddingTop))*w.y;c*=w.x,d*=w.y,u*=w.x,m*=w.y,c+=y,d+=j,v=$t(p),p=hh(v)}}return zc({width:u,height:m,x:c,y:d})}function pp(t,e){const r=Id(t).scrollLeft;return e?e.left+r:$n(Ur(t)).left+r}function Jw(t,e,r){r===void 0&&(r=!1);const s=t.getBoundingClientRect(),a=s.left+e.scrollLeft-(r?0:pp(t,s)),i=s.top+e.scrollTop;return{x:a,y:i}}function tT(t){let{elements:e,rect:r,offsetParent:s,strategy:a}=t;const i=a==="fixed",o=Ur(s),l=e?Rd(e.floating):!1;if(s===o||l&&i)return r;let c={scrollLeft:0,scrollTop:0},d=Lr(1);const u=Lr(0),m=Br(s);if((m||!m&&!i)&&((yi(s)!=="body"||Xo(o))&&(c=Id(s)),Br(s))){const f=$n(s);d=za(s),u.x=f.x+s.clientLeft,u.y=f.y+s.clientTop}const h=o&&!m&&!i?Jw(o,c,!0):Lr(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-c.scrollLeft*d.x+u.x+h.x,y:r.y*d.y-c.scrollTop*d.y+u.y+h.y}}function rT(t){return Array.from(t.getClientRects())}function sT(t){const e=Ur(t),r=Id(t),s=t.ownerDocument.body,a=Mt(e.scrollWidth,e.clientWidth,s.scrollWidth,s.clientWidth),i=Mt(e.scrollHeight,e.clientHeight,s.scrollHeight,s.clientHeight);let o=-r.scrollLeft+pp(t);const l=-r.scrollTop;return kr(s).direction==="rtl"&&(o+=Mt(e.clientWidth,s.clientWidth)-a),{width:a,height:i,x:o,y:l}}function nT(t,e){const r=$t(t),s=Ur(t),a=r.visualViewport;let i=s.clientWidth,o=s.clientHeight,l=0,c=0;if(a){i=a.width,o=a.height;const d=hp();(!d||d&&e==="fixed")&&(l=a.offsetLeft,c=a.offsetTop)}return{width:i,height:o,x:l,y:c}}const aT=new Set(["absolute","fixed"]);function iT(t,e){const r=$n(t,!0,e==="fixed"),s=r.top+t.clientTop,a=r.left+t.clientLeft,i=Br(t)?za(t):Lr(1),o=t.clientWidth*i.x,l=t.clientHeight*i.y,c=a*i.x,d=s*i.y;return{width:o,height:l,x:c,y:d}}function Lg(t,e,r){let s;if(e==="viewport")s=nT(t,r);else if(e==="document")s=sT(Ur(t));else if(_r(e))s=iT(e,r);else{const a=Zw(t);s={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return zc(s)}function Xw(t,e){const r=Ks(t);return r===e||!_r(r)||ai(r)?!1:kr(r).position==="fixed"||Xw(r,e)}function oT(t,e){const r=e.get(t);if(r)return r;let s=_o(t,[],!1).filter(l=>_r(l)&&yi(l)!=="body"),a=null;const i=kr(t).position==="fixed";let o=i?Ks(t):t;for(;_r(o)&&!ai(o);){const l=kr(o),c=mp(o);!c&&l.position==="fixed"&&(a=null),(i?!c&&!a:!c&&l.position==="static"&&!!a&&aT.has(a.position)||Xo(o)&&!c&&Xw(t,o))?s=s.filter(u=>u!==o):a=l,o=Ks(o)}return e.set(t,s),s}function lT(t){let{element:e,boundary:r,rootBoundary:s,strategy:a}=t;const o=[...r==="clippingAncestors"?Rd(e)?[]:oT(e,this._c):[].concat(r),s],l=o[0],c=o.reduce((d,u)=>{const m=Lg(e,u,a);return d.top=Mt(m.top,d.top),d.right=Ys(m.right,d.right),d.bottom=Ys(m.bottom,d.bottom),d.left=Mt(m.left,d.left),d},Lg(e,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function cT(t){const{width:e,height:r}=Kw(t);return{width:e,height:r}}function dT(t,e,r){const s=Br(e),a=Ur(e),i=r==="fixed",o=$n(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const c=Lr(0);function d(){c.x=pp(a)}if(s||!s&&!i)if((yi(e)!=="body"||Xo(a))&&(l=Id(e)),s){const f=$n(e,!0,i,e);c.x=f.x+e.clientLeft,c.y=f.y+e.clientTop}else a&&d();i&&!s&&a&&d();const u=a&&!s&&!i?Jw(a,l):Lr(0),m=o.left+l.scrollLeft-c.x-u.x,h=o.top+l.scrollTop-c.y-u.y;return{x:m,y:h,width:o.width,height:o.height}}function Ru(t){return kr(t).position==="static"}function zg(t,e){if(!Br(t)||kr(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Ur(t)===r&&(r=r.ownerDocument.body),r}function ej(t,e){const r=$t(t);if(Rd(t))return r;if(!Br(t)){let a=Ks(t);for(;a&&!ai(a);){if(_r(a)&&!Ru(a))return a;a=Ks(a)}return r}let s=zg(t,e);for(;s&&qA(s)&&Ru(s);)s=zg(s,e);return s&&ai(s)&&Ru(s)&&!mp(s)?r:s||ZA(t)||r}const uT=async function(t){const e=this.getOffsetParent||ej,r=this.getDimensions,s=await r(t.floating);return{reference:dT(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function mT(t){return kr(t).direction==="rtl"}const hT={convertOffsetParentRelativeRectToViewportRelativeRect:tT,getDocumentElement:Ur,getClippingRect:lT,getOffsetParent:ej,getElementRects:uT,getClientRects:rT,getDimensions:cT,getScale:za,isElement:_r,isRTL:mT};function tj(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function fT(t,e){let r=null,s;const a=Ur(t);function i(){var l;clearTimeout(s),(l=r)==null||l.disconnect(),r=null}function o(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const d=t.getBoundingClientRect(),{left:u,top:m,width:h,height:f}=d;if(l||e(),!h||!f)return;const v=Cl(m),p=Cl(a.clientWidth-(u+h)),w=Cl(a.clientHeight-(m+f)),b=Cl(u),y={rootMargin:-v+"px "+-p+"px "+-w+"px "+-b+"px",threshold:Mt(0,Ys(1,c))||1};let j=!0;function N(S){const _=S[0].intersectionRatio;if(_!==c){if(!j)return o();_?o(!1,_):s=setTimeout(()=>{o(!1,1e-7)},1e3)}_===1&&!tj(d,t.getBoundingClientRect())&&o(),j=!1}try{r=new IntersectionObserver(N,{...y,root:a.ownerDocument})}catch{r=new IntersectionObserver(N,y)}r.observe(t)}return o(!0),i}function pT(t,e,r,s){s===void 0&&(s={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=s,d=fp(t),u=a||i?[...d?_o(d):[],..._o(e)]:[];u.forEach(b=>{a&&b.addEventListener("scroll",r,{passive:!0}),i&&b.addEventListener("resize",r)});const m=d&&l?fT(d,r):null;let h=-1,f=null;o&&(f=new ResizeObserver(b=>{let[g]=b;g&&g.target===d&&f&&(f.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),r()}),d&&!c&&f.observe(d),f.observe(e));let v,p=c?$n(t):null;c&&w();function w(){const b=$n(t);p&&!tj(p,b)&&r(),p=b,v=requestAnimationFrame(w)}return r(),()=>{var b;u.forEach(g=>{a&&g.removeEventListener("scroll",r),i&&g.removeEventListener("resize",r)}),m==null||m(),(b=f)==null||b.disconnect(),f=null,c&&cancelAnimationFrame(v)}}const xT=FA,gT=$A,yT=LA,vT=VA,bT=zA,Bg=MA,wT=UA,jT=(t,e,r)=>{const s=new Map,a={platform:hT,...r},i={...a.platform,_c:s};return DA(t,e,{...a,platform:i})};var NT=typeof document<"u",ST=function(){},nc=NT?x.useLayoutEffect:ST;function Bc(t,e){if(t===e)return!0;
vendor: 10,036 bytes, line 361
361if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,s,a;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(s=r;s--!==0;)if(!Bc(t[s],e[s]))return!1;return!0}if(a=Object.keys(t),r=a.length,r!==Object.keys(e).length)return!1;for(s=r;s--!==0;)if(!{}.hasOwnProperty.call(e,a[s]))return!1;for(s=r;s--!==0;){const i=a[s];if(!(i==="_owner"&&t.$$typeof)&&!Bc(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function rj(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Fg(t,e){const r=rj(t);return Math.round(e*r)/r}function Iu(t){const e=x.useRef(t);return nc(()=>{e.current=t}),e}function _T(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:s=[],platform:a,elements:{reference:i,floating:o}={},transform:l=!0,whileElementsMounted:c,open:d}=t,[u,m]=x.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[h,f]=x.useState(s);Bc(h,s)||f(s);const[v,p]=x.useState(null),[w,b]=x.useState(null),g=x.useCallback(P=>{P!==S.current&&(S.current=P,p(P))},[]),y=x.useCallback(P=>{P!==_.current&&(_.current=P,b(P))},[]),j=i||v,N=o||w,S=x.useRef(null),_=x.useRef(null),E=x.useRef(u),T=c!=null,O=Iu(c),B=Iu(a),D=Iu(d),G=x.useCallback(()=>{if(!S.current||!_.current)return;const P={placement:e,strategy:r,middleware:h};B.current&&(P.platform=B.current),jT(S.current,_.current,P).then(I=>{const F={...I,isPositioned:D.current!==!1};A.current&&!Bc(E.current,F)&&(E.current=F,Qn.flushSync(()=>{m(F)}))})},[h,e,r,B,D]);nc(()=>{d===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,m(P=>({...P,isPositioned:!1})))},[d]);const A=x.useRef(!1);nc(()=>(A.current=!0,()=>{A.current=!1}),[]),nc(()=>{if(j&&(S.current=j),N&&(_.current=N),j&&N){if(O.current)return O.current(j,N,G);G()}},[j,N,G,O,T]);const W=x.useMemo(()=>({reference:S,floating:_,setReference:g,setFloating:y}),[g,y]),q=x.useMemo(()=>({reference:j,floating:N}),[j,N]),te=x.useMemo(()=>{const P={position:r,left:0,top:0};if(!q.floating)return P;const I=Fg(q.floating,u.x),F=Fg(q.floating,u.y);return l?{...P,transform:"translate("+I+"px, "+F+"px)",...rj(q.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:I,top:F}},[r,l,q.floating,u.x,u.y]);return x.useMemo(()=>({...u,update:G,refs:W,elements:q,floatingStyles:te}),[u,G,W,q,te])}const kT=t=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:s,padding:a}=typeof t=="function"?t(r):t;return s&&e(s)?s.current!=null?Bg({element:s.current,padding:a}).fn(r):{}:s?Bg({element:s,padding:a}).fn(r):{}}}},CT=(t,e)=>({...xT(t),options:[t,e]}),ET=(t,e)=>({...gT(t),options:[t,e]}),AT=(t,e)=>({...wT(t),options:[t,e]}),TT=(t,e)=>({...yT(t),options:[t,e]}),PT=(t,e)=>({...vT(t),options:[t,e]}),RT=(t,e)=>({...bT(t),options:[t,e]}),IT=(t,e)=>({...kT(t),options:[t,e]});var OT="Arrow",sj=x.forwardRef((t,e)=>{const{children:r,width:s=10,height:a=5,...i}=t;return n.jsx(he.svg,{...i,ref:e,width:s,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:n.jsx("polygon",{points:"0,0 30,0 15,10"})})});sj.displayName=OT;var DT=sj;function MT(t){const[e,r]=x.useState(void 0);return it(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const i=a[0];let o,l;if("borderBoxSize"in i){const c=i.borderBoxSize,d=Array.isArray(c)?c[0]:c;o=d.inlineSize,l=d.blockSize}else o=t.offsetWidth,l=t.offsetHeight;r({width:o,height:l})});return s.observe(t,{box:"border-box"}),()=>s.unobserve(t)}else r(void 0)},[t]),e}var xp="Popper",[nj,Od]=nn(xp),[LT,aj]=nj(xp),ij=t=>{const{__scopePopper:e,children:r}=t,[s,a]=x.useState(null);return n.jsx(LT,{scope:e,anchor:s,onAnchorChange:a,children:r})};ij.displayName=xp;var oj="PopperAnchor",lj=x.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:s,...a}=t,i=aj(oj,r),o=x.useRef(null),l=_e(e,o);return x.useEffect(()=>{i.onAnchorChange((s==null?void 0:s.current)||o.current)}),s?null:n.jsx(he.div,{...a,ref:l})});lj.displayName=oj;var gp="PopperContent",[zT,BT]=nj(gp),cj=x.forwardRef((t,e)=>{var U,ke,We,Se,ge,we;const{__scopePopper:r,side:s="bottom",sideOffset:a=0,align:i="center",alignOffset:o=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:d=[],collisionPadding:u=0,sticky:m="partial",hideWhenDetached:h=!1,updatePositionStrategy:f="optimized",onPlaced:v,...p}=t,w=aj(gp,r),[b,g]=x.useState(null),y=_e(e,ut=>g(ut)),[j,N]=x.useState(null),S=MT(j),_=(S==null?void 0:S.width)??0,E=(S==null?void 0:S.height)??0,T=s+(i!=="center"?"-"+i:""),O=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},B=Array.isArray(d)?d:[d],D=B.length>0,G={padding:O,boundary:B.filter($T),altBoundary:D},{refs:A,floatingStyles:W,placement:q,isPositioned:te,middlewareData:P}=_T({strategy:"fixed",placement:T,whileElementsMounted:(...ut)=>pT(...ut,{animationFrame:f==="always"}),elements:{reference:w.anchor},middleware:[CT({mainAxis:a+E,alignmentAxis:o}),c&&ET({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?AT():void 0,...G}),c&&TT({...G}),PT({...G,apply:({elements:ut,rects:qt,availableWidth:dn,availableHeight:ds})=>{const{width:un,height:Ni}=qt.reference,ea=ut.floating.style;ea.setProperty("--radix-popper-available-width",`${dn}px`),ea.setProperty("--radix-popper-available-height",`${ds}px`),ea.setProperty("--radix-popper-anchor-width",`${un}px`),ea.setProperty("--radix-popper-anchor-height",`${Ni}px`)}}),j&&IT({element:j,padding:l}),UT({arrowWidth:_,arrowHeight:E}),h&&RT({strategy:"referenceHidden",...G})]}),[I,F]=mj(q),ae=st(v);it(()=>{te&&(ae==null||ae())},[te,ae]);const X=(U=P.arrow)==null?void 0:U.x,ue=(ke=P.arrow)==null?void 0:ke.y,le=((We=P.arrow)==null?void 0:We.centerOffset)!==0,[Ie,Ve]=x.useState();return it(()=>{b&&Ve(window.getComputedStyle(b).zIndex)},[b]),n.jsx("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:te?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ie,"--radix-popper-transform-origin":[(Se=P.transformOrigin)==null?void 0:Se.x,(ge=P.transformOrigin)==null?void 0:ge.y].join(" "),...((we=P.hide)==null?void 0:we.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:n.jsx(zT,{scope:r,placedSide:I,onArrowChange:N,arrowX:X,arrowY:ue,shouldHideArrow:le,children:n.jsx(he.div,{"data-side":I,"data-align":F,...p,ref:y,style:{...p.style,animation:te?void 0:"none"}})})})});cj.displayName=gp;var dj="PopperArrow",FT={top:"bottom",right:"left",bottom:"top",left:"right"},uj=x.forwardRef(function(e,r){const{__scopePopper:s,...a}=e,i=BT(dj,s),o=FT[i.placedSide];return n.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:n.jsx(DT,{...a,ref:r,style:{...a.style,display:"block"}})})});uj.displayName=dj;function $T(t){return t!==null}var UT=t=>({name:"transformOrigin",options:t,fn(e){var w,b,g;const{placement:r,rects:s,middlewareData:a}=e,o=((w=a.arrow)==null?void 0:w.centerOffset)!==0,l=o?0:t.arrowWidth,c=o?0:t.arrowHeight,[d,u]=mj(r),m={start:"0%",center:"50%",end:"100%"}[u],h=(((b=a.arrow)==null?void 0:b.x)??0)+l/2,f=(((g=a.arrow)==null?void 0:g.y)??0)+c/2;let v="",p="";return d==="bottom"?(v=o?m:`${h}px`,p=`${-c}px`):d==="top"?(v=o?m:`${h}px`,p=`${s.floating.height+c}px`):d==="right"?(v=`${-c}px`,p=o?m:`${f}px`):d==="left"&&(v=`${s.floating.width+c}px`,p=o?m:`${f}px`),{data:{x:v,y:p}}}});function mj(t){const[e,r="center"]=t.split("-");return[e,r]}var VT=ij,hj=lj,fj=cj,pj=uj,[Dd,n8]=nn("Tooltip",[Od]),yp=Od(),xj="TooltipProvider",WT=700,$g="tooltip.open",[HT,gj]=Dd(xj),yj=t=>{const{__scopeTooltip:e,delayDuration:r=WT,skipDelayDuration:s=300,disableHoverableContent:a=!1,children:i}=t,o=x.useRef(!0),l=x.useRef(!1),c=x.useRef(0);return x.useEffect(()=>{const d=c.current;return()=>window.clearTimeout(d)},[]),n.jsx(HT,{scope:e,isOpenDelayedRef:o,delayDuration:r,onOpen:x.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,s)},[s]),isPointerInTransitRef:l,onPointerInTransitChange:x.useCallback(d=>{l.current=d},[]),disableHoverableContent:a,children:i})};yj.displayName=xj;var vj="Tooltip",[a8,Md]=Dd(vj),fh="TooltipTrigger",qT=x.forwardRef((t,e)=>{const{__scopeTooltip:r,...s}=t,a=Md(fh,r),i=gj(fh,r),o=yp(r),l=x.useRef(null),c=_e(e,l,a.onTriggerChange),d=x.useRef(!1),u=x.useRef(!1),m=x.useCallback(()=>d.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),n.jsx(hj,{asChild:!0,...o,children:n.jsx(he.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...s,ref:c,onPointerMove:se(t.onPointerMove,h=>{h.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(a.onTriggerEnter(),u.current=!0)}),onPointerLeave:se(t.onPointerLeave,()=>{a.onTriggerLeave(),u.current=!1}),onPointerDown:se(t.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:se(t.onFocus,()=>{d.current||a.onOpen()}),onBlur:se(t.onBlur,a.onClose),onClick:se(t.onClick,a.onClose)})})});qT.displayName=fh;var GT="TooltipPortal",[i8,QT]=Dd(GT,{forceMount:void 0}),ii="TooltipContent",bj=x.forwardRef((t,e)=>{const r=QT(ii,t.__scopeTooltip),{forceMount:s=r.forceMount,side:a="top",...i}=t,o=Md(ii,t.__scopeTooltip);return n.jsx($r,{present:s||o.open,children:o.disableHoverableContent?n.jsx(wj,{side:a,...i,ref:e}):n.jsx(YT,{side:a,...i,ref:e})})}),YT=x.forwardRef((t,e)=>{const r=Md(ii,t.__scopeTooltip),s=gj(ii,t.__scopeTooltip),a=x.useRef(null),i=_e(e,a),[o,l]=x.useState(null),{trigger:c,onClose:d}=r,u=a.current,{onPointerInTransitChange:m}=s,h=x.useCallback(()=>
vendor: 2,553 bytes, line 361
361{l(null),m(!1)},[m]),f=x.useCallback((v,p)=>{const w=v.currentTarget,b={x:v.clientX,y:v.clientY},g=eP(b,w.getBoundingClientRect()),y=tP(b,g),j=rP(p.getBoundingClientRect()),N=nP([...y,...j]);l(N),m(!0)},[m]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(c&&u){const v=w=>f(w,u),p=w=>f(w,c);return c.addEventListener("pointerleave",v),u.addEventListener("pointerleave",p),()=>{c.removeEventListener("pointerleave",v),u.removeEventListener("pointerleave",p)}}},[c,u,f,h]),x.useEffect(()=>{if(o){const v=p=>{const w=p.target,b={x:p.clientX,y:p.clientY},g=(c==null?void 0:c.contains(w))||(u==null?void 0:u.contains(w)),y=!sP(b,o);g?h():y&&(h(),d())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[c,u,o,d,h]),n.jsx(wj,{...t,ref:i})}),[KT,ZT]=Dd(vj,{isInside:!1}),JT=Kk("TooltipContent"),wj=x.forwardRef((t,e)=>{const{__scopeTooltip:r,children:s,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:o,...l}=t,c=Md(ii,r),d=yp(r),{onClose:u}=c;return x.useEffect(()=>(document.addEventListener($g,u),()=>document.removeEventListener($g,u)),[u]),x.useEffect(()=>{if(c.trigger){const m=h=>{const f=h.target;f!=null&&f.contains(c.trigger)&&u()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[c.trigger,u]),n.jsx(Ko,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:m=>m.preventDefault(),onDismiss:u,children:n.jsxs(fj,{"data-state":c.stateAttribute,...d,...l,ref:e,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:[n.jsx(JT,{children:s}),n.jsx(KT,{scope:r,isInside:!0,children:n.jsx(yC,{id:c.contentId,role:"tooltip",children:a||s})})]})})});bj.displayName=ii;var jj="TooltipArrow",XT=x.forwardRef((t,e)=>{const{__scopeTooltip:r,...s}=t,a=yp(r);return ZT(jj,r).isInside?null:n.jsx(pj,{...a,...s,ref:e})});XT.displayName=jj;function eP(t,e){const r=Math.abs(e.top-t.y),s=Math.abs(e.bottom-t.y),a=Math.abs(e.right-t.x),i=Math.abs(e.left-t.x);switch(Math.min(r,s,a,i)){case i:return"left";case a:return"right";case r:return"top";case s:return"bottom";default:throw new Error("unreachable")}}function tP(t,e,r=5){const s=[];
361switch(e){case"top":s.push({x:t.x-r,y:t.y+r},{x:t.x+r,y:t.y+r});break;case"bottom":s.push({x:t.x-r,y:t.y-r},{x:t.x+r,y:t.y-r});break;case"left":s.push({x:t.x+r,y:t.y-r},{x:t.x+r,y:t.y+r});break;case"right":s.push({x:t.x-r,y:t.y-r},{x:t.x-r,y:t.y+r});break}return s}function rP(t){const{top:e,right:r,bottom:s,left:a}=t;return[{x:a,y:e},{x:r,y:e},{x:r,y:s},{x:a,y:s}]}function sP(t,e){const{x:r,y:s}=t;let a=!1;for(let i=0,o=e.length-1;i<e.length;o=i++){const l=e[i],c=e[o],d=l.x,u=l.y,m=c.x,h=c.y;u>s!=h>s&&r<(m-d)*(s-u)/(h-u)+d&&(a=!a)}return a}function nP(t){const e=t.slice();return e.sort((r,s)=>r.x<s.x?-1:r.x>s.x?1:r.y<s.y?-1:r.y>s.y?1:0),aP(e)}function aP(t){if(t.length<=1)return t.slice();const e=[];for(let s=0;s<t.length;s++){const a=t[s];for(;e.length>=2;){const i=e[e.length-1],o=e[e.length-2];if((i.x-o.x)*(a.y-o.y)>=(i.y-o.y)*(a.x-o.x))e.pop();else break}e.push(a)}e.pop();const r=[];for(let s=t.length-1;s>=0;s--){const a=t[s];for(;r.length>=2;){const i=r[r.length-1],o=r[r.length-2];if((i.x-o.x)*(a.y-o.y)>=(i.y-o.y)*(a.x-o.x))r.pop();else break}r.push(a)}return r.pop(),e.length===1&&r.length===1&&e[0].x===r[0].x&&e[0].y===r[0].y?e:e.concat(r)}var iP=yj,Nj=bj;const oP=iP,lP=x.forwardRef(({className:t,sideOffset:e=4,...r},s)=>n.jsx(Nj,{ref:s,sideOffset:e,className:ye("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",t),...r}));lP.displayName=Nj.displayName;var Ld=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},zd=typeof window>"u"||"Deno"in globalThis;function fr(){}function cP(t,e){return typeof t=="function"?t(e):t}function dP(t){return typeof t=="number"&&t>=0&&t!==1/0}function uP(t,e){return Math.max(t+(e||0)-Date.now(),0)}function ph(t,e){return typeof t=="function"?t(e):t}function mP(t,e){return typeof t=="function"?t(e):t}function Ug(t,e){const{type:r="all",exact:s,fetchStatus:a,predicate:i,queryKey:o,stale:l}=t;if(o){if(s){if(e.queryHash!==vp(o,e.options))return!1}else if(!Co(e.queryKey,o))return!1}if(r!=="all"){const c=e.isActive();if(r==="active"&&!c||r==="inactive"&&c)return!1}return!(typeof l=="boolean"&&e.isStale()!==l||a&&a!==e.state.fetchStatus||i&&!i(e))}function Vg(t,e){const{exact:r,status:s,predicate:a,mutationKey:i}=t;if(i){if(!e.options.mutationKey)return!1;if(r){if(ko(e.options.mutationKey)!==ko(i))return!1}else if(!Co(e.options.mutationKey,i))return!1}return!(s&&e.state.status!==s||a&&!a(e))}function vp(t,e){return((e==null?void 0:e.queryKeyHashFn)||ko)(t)}function ko(t){return JSON.stringify(t,(e,r)=>xh(r)?Object.keys(r).sort().reduce((s,a)=>(s[a]=r[a],s),{}):r)}function Co(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(r=>Co(t[r],e[r])):!1}function Sj(t,e){if(t===e)return t;const r=Wg(t)&&Wg(e);if(r||xh(t)&&xh(e)){const s=r?t:Object.keys(t),a=s.length,i=r?e:Object.keys(e),o=i.length,l=r?[]:{},c=new Set(s);let d=0;for(let u=0;u<o;u++){const m=r?u:i[u];(!r&&c.has(m)||r)&&t[m]===void 0&&e[m]===void 0?(l[m]=void 0,d++):(l[m]=Sj(t[m],e[m]),l[m]===t[m]&&t[m]!==void 0&&d++)}return a===o&&d===a?t:l}return e}function Wg(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function xh(t){if(!Hg(t))return!1;const e=t.constructor;if(e===void 0)return!0;const r=e.prototype;return!(!Hg(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Hg(t){return Object.prototype.toString.call(t)==="[object Object]"}function hP(t){return new Promise(e=>{setTimeout(e,t)})}function fP(t,e,r){return typeof r.structuralSharing=="function"?r.structuralSharing(t,e):r.structuralSharing!==!1?Sj(t,e):e}function pP(t,e,r=0){const s=[...t,e];return r&&s.length>r?s.slice(1):s}function xP(t,e,r=0){const s=[e,...t];return r&&s.length>r?s.slice(0,-1):s}var bp=Symbol();function _j(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===bp?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var kn,Cs,Ua,kv,gP=(kv=class extends Ld{constructor(){super();je(this,kn);je(this,Cs);
vendor: 14,337 bytes, line 361
361je(this,Ua);de(this,Ua,e=>{if(!zd&&window.addEventListener){const r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){R(this,Cs)||this.setEventListener(R(this,Ua))}onUnsubscribe(){var e;this.hasListeners()||((e=R(this,Cs))==null||e.call(this),de(this,Cs,void 0))}setEventListener(e){var r;de(this,Ua,e),(r=R(this,Cs))==null||r.call(this),de(this,Cs,e(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(e){R(this,kn)!==e&&(de(this,kn,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(r=>{r(e)})}isFocused(){var e;return typeof R(this,kn)=="boolean"?R(this,kn):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},kn=new WeakMap,Cs=new WeakMap,Ua=new WeakMap,kv),kj=new gP,Va,Es,Wa,Cv,yP=(Cv=class extends Ld{constructor(){super();je(this,Va,!0);je(this,Es);je(this,Wa);de(this,Wa,e=>{if(!zd&&window.addEventListener){const r=()=>e(!0),s=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",s)}}})}onSubscribe(){R(this,Es)||this.setEventListener(R(this,Wa))}onUnsubscribe(){var e;this.hasListeners()||((e=R(this,Es))==null||e.call(this),de(this,Es,void 0))}setEventListener(e){var r;de(this,Wa,e),(r=R(this,Es))==null||r.call(this),de(this,Es,e(this.setOnline.bind(this)))}setOnline(e){R(this,Va)!==e&&(de(this,Va,e),this.listeners.forEach(s=>{s(e)}))}isOnline(){return R(this,Va)}},Va=new WeakMap,Es=new WeakMap,Wa=new WeakMap,Cv),Fc=new yP;function vP(){let t,e;const r=new Promise((a,i)=>{t=a,e=i});r.status="pending",r.catch(()=>{});function s(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{s({status:"fulfilled",value:a}),t(a)},r.reject=a=>{s({status:"rejected",reason:a}),e(a)},r}function bP(t){return Math.min(1e3*2**t,3e4)}function Cj(t){return(t??"online")==="online"?Fc.isOnline():!0}var Ej=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function Ou(t){return t instanceof Ej}function Aj(t){let e=!1,r=0,s=!1,a;const i=vP(),o=p=>{var w;s||(h(new Ej(p)),(w=t.abort)==null||w.call(t))},l=()=>{e=!0},c=()=>{e=!1},d=()=>kj.isFocused()&&(t.networkMode==="always"||Fc.isOnline())&&t.canRun(),u=()=>Cj(t.networkMode)&&t.canRun(),m=p=>{var w;s||(s=!0,(w=t.onSuccess)==null||w.call(t,p),a==null||a(),i.resolve(p))},h=p=>{var w;s||(s=!0,(w=t.onError)==null||w.call(t,p),a==null||a(),i.reject(p))},f=()=>new Promise(p=>{var w;a=b=>{(s||d())&&p(b)},(w=t.onPause)==null||w.call(t)}).then(()=>{var p;a=void 0,s||(p=t.onContinue)==null||p.call(t)}),v=()=>{if(s)return;let p;const w=r===0?t.initialPromise:void 0;try{p=w??t.fn()}catch(b){p=Promise.reject(b)}Promise.resolve(p).then(m).catch(b=>{var S;if(s)return;const g=t.retry??(zd?0:3),y=t.retryDelay??bP,j=typeof y=="function"?y(r,b):y,N=g===!0||typeof g=="number"&&r<g||typeof g=="function"&&g(r,b);if(e||!N){h(b);return}r++,(S=t.onFail)==null||S.call(t,r,b),hP(j).then(()=>d()?void 0:f()).then(()=>{e?h(b):v()})})};return{promise:i,cancel:o,continue:()=>(a==null||a(),i),cancelRetry:l,continueRetry:c,canStart:u,start:()=>(u()?v():f().then(v),i)}}var wP=t=>setTimeout(t,0);function jP(){let t=[],e=0,r=l=>{l()},s=l=>{l()},a=wP;const i=l=>{e?t.push(l):a(()=>{r(l)})},o=()=>{const l=t;t=[],l.length&&a(()=>{s(()=>{l.forEach(c=>{r(c)})})})};return{batch:l=>{let c;e++;try{c=l()}finally{e--,e||o()}return c},batchCalls:l=>(...c)=>{i(()=>{l(...c)})},schedule:i,setNotifyFunction:l=>{r=l},setBatchNotifyFunction:l=>{s=l},setScheduler:l=>{a=l}}}var wt=jP(),Cn,Ev,Tj=(Ev=class{constructor(){je(this,Cn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),dP(this.gcTime)&&de(this,Cn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(zd?1/0:5*60*1e3))}clearGcTimeout(){R(this,Cn)&&(clearTimeout(R(this,Cn)),de(this,Cn,void 0))}},Cn=new WeakMap,Ev),Ha,En,Qt,An,xt,Uo,Tn,xr,Hr,Av,NP=(Av=class extends Tj{constructor(e){super();je(this,xr);je(this,Ha);je(this,En);je(this,Qt);je(this,An);je(this,xt);je(this,Uo);je(this,Tn);de(this,Tn,!1),de(this,Uo,e.defaultOptions),this.setOptions(e.options),this.observers=[],de(this,An,e.client),de(this,Qt,R(this,An).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,de(this,Ha,_P(this.options)),this.state=e.state??R(this,Ha),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=R(this,xt))==null?void 0:e.promise}setOptions(e){this.options={...R(this,Uo),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,Qt).remove(this)}setData(e,r){const s=fP(this.state.data,e,this.options);return mt(this,xr,Hr).call(this,{data:s,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),s}setState(e,r){mt(this,xr,Hr).call(this,{type:"setState",state:e,setStateOptions:r})}cancel(e){var s,a;const r=(s=R(this,xt))==null?void 0:s.promise;return(a=R(this,xt))==null||a.cancel(e),r?r.then(fr).catch(fr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,Ha))}isActive(){return this.observers.some(e=>mP(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===bp||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>ph(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!uP(this.state.dataUpdatedAt,e)}onFocus(){var r;const e=this.observers.find(s=>s.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(r=R(this,xt))==null||r.continue()}onOnline(){var r;const e=this.observers.find(s=>s.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(r=R(this,xt))==null||r.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),R(this,Qt).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(r=>r!==e),this.observers.length||(R(this,xt)&&(R(this,Tn)?R(this,xt).cancel({revert:!0}):R(this,xt).cancelRetry()),this.scheduleGc()),R(this,Qt).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||mt(this,xr,Hr).call(this,{type:"invalidate"})}fetch(e,r){var d,u,m;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(R(this,xt))return R(this,xt).continueRetry(),R(this,xt).promise}if(e&&this.setOptions(e),!this.options.queryFn){const h=this.observers.find(f=>f.options.queryFn);h&&this.setOptions(h.options)}const s=new AbortController,a=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(de(this,Tn,!0),s.signal)})},i=()=>{const h=_j(this.options,r),v=(()=>{const p={client:R(this,An),queryKey:this.queryKey,meta:this.meta};return a(p),p})();return de(this,Tn,!1),this.options.persister?this.options.persister(h,v,this):h(v)},l=(()=>{const h={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:R(this,An),state:this.state,fetchFn:i};return a(h),h})();(d=this.options.behavior)==null||d.onFetch(l,this),de(this,En,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=l.fetchOptions)==null?void 0:u.meta))&&mt(this,xr,Hr).call(this,{type:"fetch",meta:(m=l.fetchOptions)==null?void 0:m.meta});const c=h=>{var f,v,p,w;Ou(h)&&h.silent||mt(this,xr,Hr).call(this,{type:"error",error:h}),Ou(h)||((v=(f=R(this,Qt).config).onError)==null||v.call(f,h,this),(w=(p=R(this,Qt).config).onSettled)==null||w.call(p,this.state.data,h,this)),this.scheduleGc()};return de(this,xt,Aj({initialPromise:r==null?void 0:r.initialPromise,fn:l.fetchFn,abort:s.abort.bind(s),onSuccess:h=>{var f,v,p,w;if(h===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(b){c(b);return}(v=(f=R(this,Qt).config).onSuccess)==null||v.call(f,h,this),(w=(p=R(this,Qt).config).onSettled)==null||w.call(p,h,this.state.error,this),this.scheduleGc()},onError:c,onFail:(h,f)=>{mt(this,xr,Hr).call(this,{type:"failed",failureCount:h,error:f})},onPause:()=>{mt(this,xr,Hr).call(this,{type:"pause"})},onContinue:()=>{mt(this,xr,Hr).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),R(this,xt).start()}},Ha=new WeakMap,En=new WeakMap,Qt=new WeakMap,An=new WeakMap,xt=new WeakMap,Uo=new WeakMap,Tn=new WeakMap,xr=new WeakSet,Hr=function(e){const r=s=>{switch(e.type){case"failed":return{...s,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...SP(s.data,this.options),fetchMeta:e.meta??null};case"success":return de(this,En,void 0),{...s,data:e.data,dataUpdateCount:s.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return Ou(a)&&a.revert&&R(this,En)?{...R(this,En),fetchStatus:"idle"}:{...s,error:a,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...e.state}}};this.state=r(this.state),wt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),R(this,Qt).notify({query:this,type:"updated",action:e})})},Av);function SP(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Cj(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function _P(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,r=e!==void 0,s=r?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Tr,Tv,kP=(Tv=class extends Ld{constructor(e={}){super();je(this,Tr);this.config=e,de(this,Tr,new Map)}build(e,r,s){const a=r.queryKey,i=r.queryHash??vp(a,r);let o=this.get(i);return o||(o=new NP({client:e,queryKey:a,queryHash:i,options:e.defaultQueryOptions(r),state:s,defaultOptions:e.getQueryDefaults(a)}),this.add(o)),o}add(e){R(this,Tr).has(e.queryHash)||(R(this,Tr).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const r=R(this,Tr).get(e.queryHash);r&&(e.destroy(),r===e&&R(this,Tr).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){wt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return R(this,Tr).get(e)}getAll(){return[...R(this,Tr).values()]}find(e){const r={exact:!0,...e};return this.getAll().find(s=>Ug(r,s))}findAll(e={}){const r=this.getAll();return Object.keys(e).length>0?r.filter(s=>Ug(e,s)):r}notify(e){wt.batch(()=>{this.listeners.forEach(r=>{r(e)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Tr=new WeakMap,Tv),Pr,vt,Pn,Rr,vs,Pv,CP=(Pv=class extends Tj{constructor(e){super();je(this,Rr);je(this,Pr);je(this,vt);je(this,Pn);this.mutationId=e.mutationId,de(this,vt,e.mutationCache),de(this,Pr,[]),this.state=e.state||EP(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){R(this,Pr).includes(e)||(R(this,Pr).push(e),this.clearGcTimeout(),R(this,vt).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){de(this,Pr,R(this,Pr).filter(r=>r!==e)),this.scheduleGc(),R(this,vt).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){R(this,Pr).length||(this.state.status==="pending"?this.scheduleGc():R(this,vt).remove(this))}continue(){var e;return((e=R(this,Pn))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var i,o,l,c,d,u,m,h,f,v,p,w,b,g,y,j,N,S,_,E;const r=()=>{mt(this,Rr,vs).call(this,{type:"continue"})};de(this,Pn,Aj({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(T,O)=>{mt(this,Rr,vs).call(this,{type:"failed",failureCount:T,error:O})},onPause:()=>{mt(this,Rr,vs).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,vt).canRun(this)}));const s=this.state.status==="pending",a=!R(this,Pn).canStart();try{if(s)r();else{mt(this,Rr,vs).call(this,{type:"pending",variables:e,isPaused:a}),await((o=(i=R(this,vt).config).onMutate)==null?void 0:o.call(i,e,this));const O=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,e));O!==this.state.context&&mt(this,Rr,vs).call(this,{type:"pending",context:O,variables:e,isPaused:a})}const T=await R(this,Pn).start();return await((u=(d=R(this,vt).config).onSuccess)==null?void 0:u.call(d,T,e,this.state.context,this)),await((h=(m=this.options).onSuccess)==null?void 0:h.call(m,T,e,this.state.context)),await((v=(f=R(this,vt).config).onSettled)==null?void 0:v.call(f,T,null,this.state.variables,this.state.context,this)),await((w=(p=this.options).onSettled)==null?void 0:w.call(p,T,null,e,this.state.context)),mt(this,Rr,vs).call(this,{type:"success",data:T}),T}catch(T){try{throw await((g=(b=R(this,vt).config).onError)==null?void 0:g.call(b,T,e,this.state.context,this)),await((j=(y=this.options).onError)==null?void 0:j.call(y,T,e,this.state.context)),await((S=(N=R(this,vt).config).onSettled)==null?void 0:S.call(N,void 0,T,this.state.variables,this.state.context,this)),await((E=(_=this.options).onSettled)==null?void 0:E.
361call(_,void 0,T,e,this.state.context)),T}finally{mt(this,Rr,vs).call(this,{type:"error",error:T})}}finally{R(this,vt).runNext(this)}}},Pr=new WeakMap,vt=new WeakMap,Pn=new WeakMap,Rr=new WeakSet,vs=function(e){const r=s=>{switch(e.type){case"failed":return{...s,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...s,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:e.error,failureCount:s.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),wt.batch(()=>{R(this,Pr).forEach(s=>{s.onMutationUpdate(e)}),R(this,vt).notify({mutation:this,type:"updated",action:e})})},Pv);function EP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Yr,gr,Vo,Rv,AP=(Rv=class extends Ld{constructor(e={}){super();je(this,Yr);je(this,gr);je(this,Vo);this.config=e,de(this,Yr,new Set),de(this,gr,new Map),de(this,Vo,0)}build(e,r,s){const a=new CP({mutationCache:this,mutationId:++il(this,Vo)._,options:e.defaultMutationOptions(r),state:s});return this.add(a),a}add(e){R(this,Yr).add(e);const r=El(e);if(typeof r=="string"){const s=R(this,gr).get(r);s?s.push(e):R(this,gr).set(r,[e])}this.notify({type:"added",mutation:e})}remove(e){if(R(this,Yr).delete(e)){const r=El(e);if(typeof r=="string"){const s=R(this,gr).get(r);if(s)if(s.length>1){const a=s.indexOf(e);a!==-1&&s.splice(a,1)}else s[0]===e&&R(this,gr).delete(r)}}this.notify({type:"removed",mutation:e})}canRun(e){const r=El(e);if(typeof r=="string"){const s=R(this,gr).get(r),a=s==null?void 0:s.find(i=>i.state.status==="pending");return!a||a===e}else return!0}runNext(e){var s;const r=El(e);if(typeof r=="string"){const a=(s=R(this,gr).get(r))==null?void 0:s.find(i=>i!==e&&i.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){wt.batch(()=>{R(this,Yr).forEach(e=>{this.notify({type:"removed",mutation:e})}),R(this,Yr).clear(),R(this,gr).clear()})}getAll(){return Array.from(R(this,Yr))}find(e){const r={exact:!0,...e};return this.getAll().find(s=>Vg(r,s))}findAll(e={}){return this.getAll().filter(r=>Vg(e,r))}notify(e){wt.batch(()=>{this.listeners.forEach(r=>{r(e)})})}resumePausedMutations(){const e=this.getAll().filter(r=>
vendor: 6,897 bytes, lines 361-370
361r.state.isPaused);return wt.batch(()=>Promise.all(e.map(r=>r.continue().catch(fr))))}},Yr=new WeakMap,gr=new WeakMap,Vo=new WeakMap,Rv);function El(t){var e;return(e=t.options.scope)==null?void 0:e.id}function qg(t){return{onFetch:(e,r)=>{var u,m,h,f,v;const s=e.options,a=(h=(m=(u=e.fetchOptions)==null?void 0:u.meta)==null?void 0:m.fetchMore)==null?void 0:h.direction,i=((f=e.state.data)==null?void 0:f.pages)||[],o=((v=e.state.data)==null?void 0:v.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const d=async()=>{let p=!1;const w=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(e.signal.aborted?p=!0:e.signal.addEventListener("abort",()=>{p=!0}),e.signal)})},b=_j(e.options,e.fetchOptions),g=async(y,j,N)=>{if(p)return Promise.reject();if(j==null&&y.pages.length)return Promise.resolve(y);const _=(()=>{const B={client:e.client,queryKey:e.queryKey,pageParam:j,direction:N?"backward":"forward",meta:e.options.meta};return w(B),B})(),E=await b(_),{maxPages:T}=e.options,O=N?xP:pP;return{pages:O(y.pages,E,T),pageParams:O(y.pageParams,j,T)}};if(a&&i.length){const y=a==="backward",j=y?TP:Gg,N={pages:i,pageParams:o},S=j(s,N);l=await g(N,S,y)}else{const y=t??i.length;do{const j=c===0?o[0]??s.initialPageParam:Gg(s,l);if(c>0&&j==null)break;l=await g(l,j),c++}while(c<y)}return l};e.options.persister?e.fetchFn=()=>{var p,w;return(w=(p=e.options).persister)==null?void 0:w.call(p,d,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r)}:e.fetchFn=d}}}function Gg(t,{pages:e,pageParams:r}){const s=e.length-1;return e.length>0?t.getNextPageParam(e[s],e,r[s],r):void 0}function TP(t,{pages:e,pageParams:r}){var s;return e.length>0?(s=t.getPreviousPageParam)==null?void 0:s.call(t,e[0],e,r[0],r):void 0}var He,As,Ts,qa,Ga,Ps,Qa,Ya,Iv,PP=(Iv=class{constructor(t={}){je(this,He);je(this,As);je(this,Ts);je(this,qa);je(this,Ga);je(this,Ps);je(this,Qa);je(this,Ya);de(this,He,t.queryCache||new kP),de(this,As,t.mutationCache||new AP),de(this,Ts,t.defaultOptions||{}),de(this,qa,new Map),de(this,Ga,new Map),de(this,Ps,0)}mount(){il(this,Ps)._++,R(this,Ps)===1&&(de(this,Qa,kj.subscribe(async t=>{t&&(await this.resumePausedMutations(),R(this,He).onFocus())})),de(this,Ya,Fc.subscribe(async t=>{t&&(await this.resumePausedMutations(),R(this,He).onOnline())})))}unmount(){var t,e;il(this,Ps)._--,R(this,Ps)===0&&((t=R(this,Qa))==null||t.call(this),de(this,Qa,void 0),(e=R(this,Ya))==null||e.call(this),de(this,Ya,void 0))}isFetching(t){return R(this,He).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return R(this,As).findAll({...t,status:"pending"}).length}getQueryData(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=R(this,He).get(e.queryHash))==null?void 0:r.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),r=R(this,He).build(this,e),s=r.state.data;return s===void 0?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime(ph(e.staleTime,r))&&this.prefetchQuery(e),Promise.resolve(s))}getQueriesData(t){return R(this,He).findAll(t).map(({queryKey:e,state:r})=>{const s=r.data;return[e,s]})}setQueryData(t,e,r){const s=this.defaultQueryOptions({queryKey:t}),a=R(this,He).get(s.queryHash),i=a==null?void 0:a.state.data,o=cP(e,i);if(o!==void 0)return R(this,He).build(this,s).setData(o,{...r,manual:!0})}setQueriesData(t,e,r){return wt.batch(()=>R(this,He).findAll(t).map(({queryKey:s})=>[s,this.setQueryData(s,e,r)]))}getQueryState(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=R(this,He).get(e.queryHash))==null?void 0:r.state}removeQueries(t){const e=R(this,He);wt.batch(()=>{e.findAll(t).forEach(r=>{e.remove(r)})})}resetQueries(t,e){const r=R(this,He);return wt.batch(()=>(r.findAll(t).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const r={revert:!0,...e},s=wt.batch(()=>R(this,He).findAll(t).map(a=>a.cancel(r)));return Promise.all(s).then(fr).catch(fr)}invalidateQueries(t,e={}){return wt.batch(()=>(R(this,He).findAll(t).forEach(r=>{r.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const r={...e,cancelRefetch:e.cancelRefetch??!0},s=wt.batch(()=>R(this,He).findAll(t).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let i=a.fetch(void 0,r);return r.throwOnError||(i=i.catch(fr)),a.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(s).then(fr)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const r=R(this,He).build(this,e);return r.isStaleByTime(ph(e.staleTime,r))?r.fetch(e):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(fr).catch(fr)}fetchInfiniteQuery(t){return t.behavior=qg(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(fr).catch(fr)}ensureInfiniteQueryData(t){return t.behavior=qg(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Fc.isOnline()?R(this,As).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,He)}getMutationCache(){return R(this,As)}getDefaultOptions(){return R(this,Ts)}setDefaultOptions(t){de(this,Ts,t)}setQueryDefaults(t,e){R(this,qa).set(ko(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...R(this,qa).values()],r={};return e.forEach(s=>{Co(t,s.queryKey)&&Object.assign(r,s.defaultOptions)}),r}setMutationDefaults(t,e){R(this,Ga).set(ko(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...R(this,Ga).values()],r={};return e.forEach(s=>{Co(t,s.mutationKey)&&Object.assign(r,s.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;const e={...R(this,Ts).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=vp(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===bp&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...R(this,Ts).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){R(this,He).clear(),R(this,As).clear()}},He=new WeakMap,As=new WeakMap,Ts=new WeakMap,qa=new WeakMap,Ga=new WeakMap,Ps=new WeakMap,Qa=new WeakMap,Ya=new WeakMap,Iv),RP=x.createContext(void 0),IP=({client:t,children:e})=>(x.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),n.jsx(RP.Provider,{value:t,children:e}));/** 362 * @remix-run/router v1.23.0 363 * 364 * Copyright (c) Remix Software Inc. 365 * 366 * This source code is licensed under the MIT license found in the 367 * LICENSE.md file in the root directory of this source tree. 368 * 369 * @license MIT 370 */function Eo(){return Eo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
vendor: 5,028 bytes, line 370
370for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},Eo.apply(this,arguments)}var Os;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Os||(Os={}));const Qg="popstate";function OP(t){t===void 0&&(t={});function e(s,a){let{pathname:i,search:o,hash:l}=s.location;return gh("",{pathname:i,search:o,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(s,a){return typeof a=="string"?a:$c(a)}return MP(e,r,null,t)}function Je(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Pj(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function DP(){return Math.random().toString(36).substr(2,8)}function Yg(t,e){return{usr:t.state,key:t.key,idx:e}}function gh(t,e,r,s){return r===void 0&&(r=null),Eo({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?vi(e):e,{state:r,key:e&&e.key||s||DP()})}function $c(t){let{pathname:e="/",search:r="",hash:s=""}=t;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),s&&s!=="#"&&(e+=s.charAt(0)==="#"?s:"#"+s),e}function vi(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let s=t.indexOf("?");s>=0&&(e.search=t.substr(s),t=t.substr(0,s)),t&&(e.pathname=t)}return e}function MP(t,e,r,s){s===void 0&&(s={});let{window:a=document.defaultView,v5Compat:i=!1}=s,o=a.history,l=Os.Pop,c=null,d=u();d==null&&(d=0,o.replaceState(Eo({},o.state,{idx:d}),""));function u(){return(o.state||{idx:null}).idx}function m(){l=Os.Pop;let w=u(),b=w==null?null:w-d;d=w,c&&c({action:l,location:p.location,delta:b})}function h(w,b){l=Os.Push;let g=gh(p.location,w,b);d=u()+1;let y=Yg(g,d),j=p.createHref(g);try{o.pushState(y,"",j)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;a.location.assign(j)}i&&c&&c({action:l,location:p.location,delta:1})}function f(w,b){l=Os.Replace;let g=gh(p.location,w,b);d=u();let y=Yg(g,d),j=p.createHref(g);o.replaceState(y,"",j),i&&c&&c({action:l,location:p.location,delta:0})}function v(w){let b=a.location.origin!=="null"?a.location.origin:a.location.href,g=typeof w=="string"?w:$c(w);return g=g.replace(/ $/,"%20"),Je(b,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,b)}let p={get action(){return l},get location(){return t(a,o)},listen(w){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(Qg,m),c=w,()=>{a.removeEventListener(Qg,m),c=null}},createHref(w){return e(a,w)},createURL:v,encodeLocation(w){let b=v(w);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:h,replace:f,go(w){return o.go(w)}};return p}var Kg;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Kg||(Kg={}));function LP(t,e,r){return r===void 0&&(r="/"),zP(t,e,r,!1)}function zP(t,e,r,s){let a=typeof e=="string"?vi(e):e,i=wp(a.pathname||"/",r);if(i==null)return null;let o=Rj(t);BP(o);let l=null;for(let c=0;l==null&&c<o.length;++c){let d=KP(i);l=QP(o[c],d,s)}return l}function Rj(t,e,r,s){e===void 0&&(e=[]),r===void 0&&(r=[]),s===void 0&&(s="");let a=(i,o,l)=>{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("/")&&(Je(c.relativePath.startsWith(s),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(s.length));let d=Hs([s,c.relativePath]),u=r.concat(c);i.children&&i.children.length>0&&(Je(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),Rj(i.children,e,u,d)),!(i.path==null&&!i.index)&&e.push({path:d,score:qP(d,i.index),routesMeta:u})};return t.forEach((i,o)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))a(i,o);else for(let c of Ij(i.path))a(i,o,c)}),e}function Ij(t){let e=t.split("/");if(e.length===0)return[];let[r,...s]=e,a=r.endsWith("?"),i=r.replace(/\?$/,"");if(s.length===0)return a?[i,""]:[i];let o=Ij(s.join("/")),l=[];return l.push(...o.map(c=>c===""?i:[i,c].join("/"))),a&&l.push(...o),l.map(c=>t.startsWith("/")&&c===""?"/":c)}function BP(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:GP(e.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}const FP=/^:[\w-]+$/,$P=3,UP=2,VP=1,WP=10,HP=-2,Zg=t=>t==="*";function qP(t,e){let r=t.split("/"),s=r.length;return r.some(Zg)&&(s+=HP),e&&(s+=UP),r.filter(a=>!Zg(a)).reduce((a,i)=>a+(FP.test(i)?$P:i===""?VP:WP),s)}function GP(t,e){return t.length===e.length&&t.slice(0,-1).every((s,a)=>s===e[a])?t[t.length-1]-e[e.length-1]:0}function QP(t,e,r){let{routesMeta:s}=t,a={},i="/",o=[];for(let l=0;l<s.length;++l){let c=s[l],d=l===s.length-1,u=i==="/"?e:e.slice(i.length)||"/",m=Jg({path:c.relativePath,caseSensitive:c.caseSensitive,end:d},u),h=c.route;if(!m&&d&&r&&!s[s.length-1].route.index&&(m=Jg({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},u)),!m)return null;
vendor: 12,528 bytes, lines 370-388
370Object.assign(a,m.params),o.push({params:a,pathname:Hs([i,m.pathname]),pathnameBase:eR(Hs([i,m.pathnameBase])),route:h}),m.pathnameBase!=="/"&&(i=Hs([i,m.pathnameBase]))}return o}function Jg(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,s]=YP(t.path,t.caseSensitive,t.end),a=e.match(r);if(!a)return null;let i=a[0],o=i.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:s.reduce((d,u,m)=>{let{paramName:h,isOptional:f}=u;if(h==="*"){let p=l[m]||"";o=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}const v=l[m];return f&&!v?d[h]=void 0:d[h]=(v||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:o,pattern:t}}function YP(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),Pj(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let s=[],a="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(s.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(s.push({paramName:"*"}),a+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":t!==""&&t!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,e?void 0:"i"),s]}function KP(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Pj(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function wp(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,s=t.charAt(r);return s&&s!=="/"?null:t.slice(r)||"/"}function ZP(t,e){e===void 0&&(e="/");let{pathname:r,search:s="",hash:a=""}=typeof t=="string"?vi(t):t;return{pathname:r?r.startsWith("/")?r:JP(r,e):e,search:tR(s),hash:rR(a)}}function JP(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Du(t,e,r,s){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(s)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function XP(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function Oj(t,e){let r=XP(t);return e?r.map((s,a)=>a===r.length-1?s.pathname:s.pathnameBase):r.map(s=>s.pathnameBase)}function Dj(t,e,r,s){s===void 0&&(s=!1);let a;typeof t=="string"?a=vi(t):(a=Eo({},t),Je(!a.pathname||!a.pathname.includes("?"),Du("?","pathname","search",a)),Je(!a.pathname||!a.pathname.includes("#"),Du("#","pathname","hash",a)),Je(!a.search||!a.search.includes("#"),Du("#","search","hash",a)));let i=t===""||a.pathname==="",o=i?"/":a.pathname,l;if(o==null)l=r;else{let m=e.length-1;if(!s&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),m-=1;a.pathname=h.join("/")}l=m>=0?e[m]:"/"}let c=ZP(a,l),d=o&&o!=="/"&&o.endsWith("/"),u=(i||o===".")&&r.endsWith("/");return!c.pathname.endsWith("/")&&(d||u)&&(c.pathname+="/"),c}const Hs=t=>t.join("/").replace(/\/\/+/g,"/"),eR=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),tR=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,rR=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function sR(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Mj=["post","put","patch","delete"];new Set(Mj);const nR=["get",...Mj];new Set(nR);/** 371 * React Router v6.30.1 372 * 373 * Copyright (c) Remix Software Inc. 374 * 375 * This source code is licensed under the MIT license found in the 376 * LICENSE.md file in the root directory of this source tree. 377 * 378 * @license MIT 379 */function Ao(){return Ao=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},Ao.apply(this,arguments)}const jp=x.createContext(null),aR=x.createContext(null),Kn=x.createContext(null),Bd=x.createContext(null),Zn=x.createContext({outlet:null,matches:[],isDataRoute:!1}),Lj=x.createContext(null);function iR(t,e){let{relative:r}=e===void 0?{}:e;el()||Je(!1);let{basename:s,navigator:a}=x.useContext(Kn),{hash:i,pathname:o,search:l}=Bj(t,{relative:r}),c=o;return s!=="/"&&(c=o==="/"?s:Hs([s,o])),a.createHref({pathname:c,search:l,hash:i})}function el(){return x.useContext(Bd)!=null}function tl(){return el()||Je(!1),x.useContext(Bd).location}function zj(t){x.useContext(Kn).static||x.useLayoutEffect(t)}function oR(){let{isDataRoute:t}=x.useContext(Zn);return t?bR():lR()}function lR(){el()||Je(!1);let t=x.useContext(jp),{basename:e,future:r,navigator:s}=x.useContext(Kn),{matches:a}=x.useContext(Zn),{pathname:i}=tl(),o=JSON.stringify(Oj(a,r.v7_relativeSplatPath)),l=x.useRef(!1);return zj(()=>{l.current=!0}),x.useCallback(function(d,u){if(u===void 0&&(u={}),!l.current)return;if(typeof d=="number"){s.go(d);return}let m=Dj(d,JSON.parse(o),i,u.relative==="path");t==null&&e!=="/"&&(m.pathname=m.pathname==="/"?e:Hs([e,m.pathname])),(u.replace?s.replace:s.push)(m,u.state,u)},[e,s,o,i,t])}function Bj(t,e){let{relative:r}=e===void 0?{}:e,{future:s}=x.useContext(Kn),{matches:a}=x.useContext(Zn),{pathname:i}=tl(),o=JSON.stringify(Oj(a,s.v7_relativeSplatPath));return x.useMemo(()=>Dj(t,JSON.parse(o),i,r==="path"),[t,o,i,r])}function cR(t,e){return dR(t,e)}function dR(t,e,r,s){el()||Je(!1);let{navigator:a}=x.useContext(Kn),{matches:i}=x.useContext(Zn),o=i[i.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let d=tl(),u;if(e){var m;let w=typeof e=="string"?vi(e):e;c==="/"||(m=w.pathname)!=null&&m.startsWith(c)||Je(!1),u=w}else u=d;let h=u.pathname||"/",f=h;if(c!=="/"){let w=c.replace(/^\//,"").split("/");f="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=LP(t,{pathname:f}),p=pR(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:Hs([c,a.encodeLocation?a.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:Hs([c,a.encodeLocation?a.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,r,s);return e&&p?x.createElement(Bd.Provider,{value:{location:Ao({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Os.Pop}},p):p}function uR(){let t=vR(),e=sR(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},e),r?x.createElement("pre",{style:a},r):null,null)}const mR=x.createElement(uR,null);class hR extends x.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?x.createElement(Zn.Provider,{value:this.props.routeContext},x.createElement(Lj.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function fR(t){let{routeContext:e,match:r,children:s}=t,a=x.useContext(jp);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),x.createElement(Zn.Provider,{value:e},s)}function pR(t,e,r,s){var a;if(e===void 0&&(e=[]),r===void 0&&(r=null),s===void 0&&(s=null),t==null){var i;if(!r)return null;if(r.errors)t=r.matches;else if((i=s)!=null&&i.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let o=t,l=(a=r)==null?void 0:a.errors;if(l!=null){let u=o.findIndex(m=>m.route.id&&(l==null?void 0:l[m.route.id])!==void 0);u>=0||Je(!1),o=o.slice(0,Math.min(o.length,u+1))}let c=!1,d=-1;if(r&&s&&s.v7_partialHydration)for(let u=0;u<o.length;u++){let m=o[u];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(d=u),m.route.id){let{loaderData:h,errors:f}=r,v=m.route.loader&&h[m.route.id]===void 0&&(!f||f[m.route.id]===void 0);if(m.route.lazy||v){c=!0,d>=0?o=o.slice(0,d+1):o=[o[0]];break}}}return o.reduceRight((u,m,h)=>{let f,v=!1,p=null,w=null;r&&(f=l&&m.route.id?l[m.route.id]:void 0,p=m.route.errorElement||mR,c&&(d<0&&h===0?(v=!0,w=null):d===h&&(v=!0,w=m.route.hydrateFallbackElement||null)));let b=e.concat(o.slice(0,h+1)),g=()=>{let y;return f?y=p:v?y=w:m.route.Component?y=x.createElement(m.route.Component,null):m.route.element?y=m.route.element:y=u,x.createElement(fR,{match:m,routeContext:{outlet:u,matches:b,isDataRoute:r!=null},children:y})};return r&&(m.route.ErrorBoundary||m.route.errorElement||h===0)?x.createElement(hR,{location:r.location,revalidation:r.revalidation,component:p,error:f,children:g(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):g()},null)}var Fj=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(Fj||{}),Uc=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(Uc||{});function xR(t){let e=x.useContext(jp);return e||Je(!1),e}function gR(t){let e=x.useContext(aR);return e||Je(!1),e}function yR(t){let e=x.useContext(Zn);return e||Je(!1),e}function $j(t){let e=yR(),r=e.matches[e.matches.length-1];return r.route.id||Je(!1),r.route.id}function vR(){var t;let e=x.useContext(Lj),r=gR(Uc.UseRouteError),s=$j(Uc.UseRouteError);return e!==void 0?e:(t=r.errors)==null?void 0:t[s]}function bR(){let{router:t}=xR(Fj.UseNavigateStable),e=$j(Uc.UseNavigateStable),r=x.useRef(!1);return zj(()=>{r.current=!0}),x.useCallback(function(a,i){i===void 0&&(i={}),r.current&&(typeof a=="number"?t.navigate(a):t.navigate(a,Ao({fromRouteId:e},i)))},[t,e])}function wR(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function Qe(t){Je(!1)}function jR(t){let{basename:e="/",children:r=null,location:s,navigationType:a=Os.Pop,navigator:i,static:o=!1,future:l}=t;el()&&Je(!1);let c=e.replace(/^\/*/,"/"),d=x.useMemo(()=>({basename:c,navigator:i,static:o,future:Ao({v7_relativeSplatPath:!1},l)}),[c,l,i,o]);typeof s=="string"&&(s=vi(s));let{pathname:u="/",search:m="",hash:h="",state:f=null,key:v="default"}=s,p=x.useMemo(()=>{let w=wp(u,c);return w==null?null:{location:{pathname:w,search:m,hash:h,state:f,key:v},navigationType:a}},[c,u,m,h,f,v,a]);return p==null?null:x.createElement(Kn.Provider,{value:d},x.createElement(Bd.Provider,{children:r,value:p}))}function NR(t){let{children:e,location:r}=t;return cR(yh(e),r)}new Promise(()=>{});function yh(t,e){e===void 0&&(e=[]);let r=[];return x.Children.forEach(t,(s,a)=>{if(!x.isValidElement(s))return;let i=[...e,a];if(s.type===x.Fragment){r.push.apply(r,yh(s.props.children,i));return}s.type!==Qe&&Je(!1),!s.props.index||!s.props.children||Je(!1);let o={id:s.props.id||i.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,loader:s.props.loader,action:s.props.action,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(o.children=yh(s.props.children,i)),r.push(o)}),r}/** 380 * React Router DOM v6.30.1 381 * 382 * Copyright (c) Remix Software Inc. 383 * 384 * This source code is licensed under the MIT license found in the 385 * LICENSE.md file in the root directory of this source tree. 386 * 387 * @license MIT 388 */function vh(){return vh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
388for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},vh.apply(this,arguments)}function SR(t,e){if(t==null)return{};var r={},s=Object.keys(t),a,i;for(i=0;i<s.length;i++)a=s[i],!(e.indexOf(a)>=0)&&(r[a]=t[a]);return r}function _R(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function kR(t,e){return t.button===0&&(!e||e==="_self")&&!_R(t)}const CR=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ER="6";try{window.__reactRouterVersion=ER}catch{}const AR="startTransition",Xg=uf[AR];function TR(t){let{basename:e,children:r,future:s,window:a}=t,i=x.useRef();i.current==null&&(i.current=OP({window:a,v5Compat:!0}));let o=i.current,[l,c]=x.useState({action:o.action,location:o.location}),{v7_startTransition:d}=s||{},u=x.useCallback(m=>{d&&Xg?Xg(()=>c(m)):c(m)},[c,d]);return x.useLayoutEffect(()=>o.listen(u),[o,u]),x.useEffect(()=>wR(s),[s]),x.createElement(jR,{basename:e,children:r,location:l.location,navigationType:l.action,navigator:o,future:s})}const PR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",RR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Zs=x.forwardRef(function(e,r){let{onClick:s,relative:a,reloadDocument:i,replace:o,state:l,target:c,to:d,preventScrollReset:u,viewTransition:m}=e,h=SR(e,CR),{basename:f}=x.useContext(Kn),v,p=!1;if(typeof d=="string"&&RR.test(d)&&(v=d,PR))try{let y=new URL(window.location.href),j=d.startsWith("//")?new URL(y.protocol+d):new URL(d),N=wp(j.pathname,f);j.origin===y.origin&&N!=null?d=N+j.search+j.hash:p=!0}catch{}let w=iR(d,{relative:a}),b=IR(d,{replace:o,state:l,target:c,preventScrollReset:u,relative:a,viewTransition:m});function g(y){s&&s(y),y.defaultPrevented||b(y)}return x.createElement("a",vh({},h,{href:v||w,onClick:p||i?s:g,ref:r,target:c}))});var ey;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(ey||(ey={}));var ty;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(ty||(ty={}));function IR(t,e){let{target:r,replace:s,state:a,preventScrollReset:i,relative:o,viewTransition:l}=e===void 0?{}:e,c=oR(),d=tl(),u=Bj(t,{relative:o});return x.useCallback(m=>{if(kR(m,r)){m.preventDefault();let h=s!==void 0?s:$c(d)===$c(u);c(t,{replace:h,state:a,preventScrollReset:i,relative:o,viewTransition:l})}},[d,c,u,s,a,r,t,i,o,l])}const OR=Td("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors 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-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",cta:"bg-primary text-primary-foreground hover:scale-105 transition-transform shadow-lg hover:shadow-xl font-bold"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",xl:"h-14 roun
388ded-lg px-12 text-lg",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),$=x.forwardRef(({className:t,variant:e,size:r,asChild:s=!1,...a},i)=>{const o=s?Qk:"button";return n.jsx(o,{className:ye(OR({variant:e,size:r,className:t})),ref:i,...a})});$.displayName="Button";const k=x.forwardRef(({className:t,...e},r)=>n.jsx("div",{ref:r,className:ye("rounded-lg border bg-card text-card-foreground shadow-sm",t),...e}));k.displayName="Card";const DR=x.forwardRef(({className:t,...e},r)=>n.jsx("div",{ref:r,className:ye("flex flex-col space-y-1.5 p-6",t),...e}));DR.displayName="CardHeader";const MR=x.forwardRef(({className:t,...e},r)=>n.jsx("h3",{ref:r,className:ye("text-2xl font-semibold leading-none tracking-tight",t),...e}));MR.displayName="CardTitle";const LR=x.forwardRef(({className:t,...e},r)=>n.jsx("p",{ref:r,className:ye("text-sm text-muted-foreground",t),...e}));LR.displayName="CardDescription";const C=x.forwardRef(({className:t,...e},r)=>n.jsx("div",{ref:r,className:ye("p-6 pt-0",t),...e}));C.displayName="CardContent";const zR=x.forwardRef(({className:t,...e},r)=>n.jsx("div",{ref:r,className:ye("flex items-center p-6 pt-0",t),...e}));zR.displayName="CardFooter";const rl="/assets/hero-webinar-BsiU0Ait.jpg",BR="/assets/Miguel_Alquezar-D78XwnUr.png",FR="/assets/Micael_Bello-DR1GpQ2Q.png",$R="/assets/Metaldeza-B53-VOsV.png",Fd="/assets/logo_constru-DzA0pGm6.png",Uj="/assets/logo_arcelor-whjpy6O1.png",UR="/assets/logo_steligence-BIySVewn.png",Vj="/assets/facade-background-ByZocdpR.jpg",Np={es:{hero:{badge:"Webinar Gratuito",title:"Interoperabilidad Total: Diseño de muros con",titleHighlight:"CSI + IDEA StatiCa",subtitle:"Optimiza tu flujo de trabajo desde el modelado global hasta el diseño del hormigón y armado de muros",day:"Lunes",time:"17:00h (España)",duration:"1 hora de duración",format:"Online y Gratuito",limitedSpots:"Plazas limitadas",cta:"Reserva tu Plaza Gratuita â",security:"Registro 100% seguro · Sin compromiso · Confirmación inmediata"},benefits:{title:"¿Qué Aprenderás en Este Webinar?",subtitle:"Conocimientos prácticos que aplicarás inmediatamente en tus proyectos",items:[{title:"Flujo de Trabajo CSI - IDEA StatiCa Integrado",description:"Dominarás el proceso completo de exportación y sincronización de modelos entre SAP2000/ETABS e IDEA StatiCa, eliminando errores en la transferencia manual y ahorrando tiempo en el diseño de muros de hormigón armado."},{title:"Modelado Avanzado de Muros de Hormigón Armado",description:"Aprenderás técnicas profesionales para modelar estos elementos de hormigón, asà como el diseño del acero de refuerzo con herramientas avanzadas del sector."},{title:"Análisis y Verificación de Muros de Hormigón",description:"Conocerás los criterios normativos que contempla la metodologÃa CSFM para el chequeo del hormigón y su acero de refuerzo, asà como la generación de reportes técnicos de entrega."},{title:"Casos Prácticos de Edificaciones con Muros",description:"Analizarás proyectos y ejemplos reales de modelos estructurales globales complejos y su exportación hacia IDEA StatiCa para el diseño no lineal, armado, chequeo normativo y exportación de detallado."}]},speakers:{title:"Expertos LÃderes del Sector",subtitle:"Aprende de los mejores profesionales en ingenierÃa estructural",davidDescription:"Especialista en IDEA StatiCa y flujos de trabajo BIM, demostrará la integración práctica y técnicas de diseño de muros de hormigón armado.",davidRole:"IDEA StatiCa & Interoperabilidad",csiExpert:"Experto CSI",csiDescription:"Ingeniero de aplicaciones CSI, presentará las capacidades avanzadas de modelado y diseño de muros en edificaciones complejas.",csiRole:"CSI Software & Modelado BIM"},agenda:{title:"Programa del Webinar",subtitle:"1 hora intensiva de contenido práctico y valioso",items:[{time:"17:00",title:"Introducción y Contexto",description:"Bienvenida y presentación del flujo de trabajo integrado CSI - IDEA StatiCa para el diseño de muros"},{time:"17:10",title:"Modelado Global en Software CSI",description:"Experto CSI - Técnicas de modelado y diseño de muros en edificaciones"},{time:"17:25",title:"Transferencia e Integración con IDEA StatiCa",description:"Demostración de importación mediante Checkbot y generación del modelo de muro en IDEA StatiCa"},{time:"17:40",title:"Análisis y Diseño de Muros",description:"Verificación normativa según metodologÃa CSFM y generación de informes"},{time:"17:50",title:"Preguntas y Respuestas",description:"Sesión de consultas de los asistentes"}]},cta:{title:"Reserva Tu Plaza Gratuita Ahora",subtitle:"Plazas limitadas. No pierdas esta oportunidad única de dominar la interoperabilidad entre los lÃderes del análisis estructural.",button:"InscrÃbete Ahora (100% Gratis)",lastDay:"Ãltimo dÃa para inscribirte:",stats:{free:"Gratuito",duration:"Duración",experts:"Expertos"}},collaborators:{title:"Con el apoyo de:"},floatingCta:{full:"Reserva tu Plaza Gratuita",short:"Reserva Plaza"},timezone:{button:"Mostrar en mi zona horaria",title:"Selecciona tu zona horaria",description:"Elige tu ubicación para ver el horario del webinar en tu zona horaria local.",detected:"Zona horaria detectada automáticamente:",searchPlaceholder:"Buscar paÃs o ciudad..."}},en:{hero:{badge:"Free Webinar",title:"Total Interoperability: Wall Design with",titleHighlight:"CSI + IDEA StatiCa",subtitle:"Optimize your workflow from global modeling to concrete design and wall reinfor
388cement",day:"Monday",time:"5:00 PM (Spain)",duration:"1-hour session",format:"Online & Free",limitedSpots:"Limited seats",cta:"Reserve Your Free Spot â",security:"100% secure registration · No commitment · Instant confirmation"},benefits:{title:"What Will You Learn in This Webinar?",subtitle:"Practical knowledge you can apply immediately to your projects",items:[{title:"Integrated CSI - IDEA StatiCa Workflow",description:"Master the complete export and synchronization process between SAP2000/ETABS and IDEA StatiCa, eliminating manual transfer errors and saving time in reinforced concrete wall design."},{title:"Advanced Reinforced Concrete Wall Modeling",description:"Learn professional techniques for modeling these concrete elements, as well as reinforcement steel design using industry-leading advanced tools."},{title:"Concrete Wall Analysis and Verification",description:"Understand the code-based criteria covered by the CSFM methodology for checking concrete and reinforcement steel, as well as generating technical delivery reports."},{title:"Practical Building Cases with Walls",description:"Analyze real projects and examples of complex global structural models and their export to IDEA StatiCa for nonlinear design, reinforcement, code compliance, and detailed drawing export."}]},speakers:{title:"Industry-Leading Experts",subtitle:"Learn from top professionals in structural engineering",davidDescription:"Specialist in IDEA StatiCa and BIM workflows, he will demonstrate practical integration and reinforced concrete wall design techniques.",davidRole:"IDEA StatiCa & Interoperability",csiExpert:"CSI Expert",csiDescription:"CSI Application Engineer, will present advanced modeling and wall design capabilities in complex buildings.",csiRole:"CSI Software & BIM Modeling"},agenda:{title:"Webinar Program",subtitle:"1 intensive hour of practical and valuable content",items:[{time:"5:00 PM",title:"Introduction and Context",description:"Welcome and presentation of the integrated CSI - IDEA StatiCa workflow for wall design"},{time:"5:10 PM",title:"Global Modeling in CSI Software",description:"CSI Expert - Wall modeling and design techniques in buildings"},{time:"5:25 PM",title:"Transfer and Integration with IDEA StatiCa",description:"Demonstration of import via Checkbot and wall model generation in IDEA StatiCa"},{time:"5:40 PM",title:"Wall Analysis and Design",description:"Code verification using CSFM methodology and report generation"},{time:"5:50 PM",title:"Q&A Session",description:"Attendee questions and answers"}]},cta:{title:"Reserve Your Free Spot Now",subtitle:"Limited seats available. Don't miss this unique opportunity to master interoperability between the leaders in structural analysis.",button:"Register Now (100% Free)",lastDay:"Last day to register:",stats:{free:"Free",duration:"Duration",experts:"Experts"}},collaborators:{title:"Supported by:"},floatingCta:{full:"Reserve Your Free Spot",short:"Reserve Spot"},timezone:{button:"Show in my timezone",title:"Select your timezone",description:"Choose your location to see the webinar schedule in your local timezone.",detected:"Automatically detected timezone:",searchPlaceholder:"Search country or city..."}},pt:{hero:{badge:"Webinar Gratuito",title:"Interoperabilidade Total: Projeto de Paredes com",titleHighlight:"CSI + IDEA StatiCa",subtitle:"Otimize seu fluxo de trabalho desde a modelagem global até o projeto de concreto e armaduras de paredes",day:"Segunda-feira",time:"17:00h (Espanha)",duration:"1 hora de duração",format:"Online e Gratuito",limitedSpots:"Vagas limitadas",cta:"Reserve Sua Vaga Gratuita â",security:"Registro 100% seguro · Sem compromisso · Confirmação imediata"},benefits:{title:"O Que Você Aprenderá Neste Webinar?",subtitle:"Conhecimentos práticos que você aplicará imediatamente em seus projetos",items:[{title:"Fluxo de Trabalho CSI - IDEA StatiCa Integrado",description:"Domine o processo completo de exportação e sincronização de modelos entre SAP2000/ETABS e IDEA StatiCa, eliminando erros de transferência manual e economizando tempo no projeto de paredes de concreto armado."},{title:"Modelagem Avançada de Paredes de Concreto Armado",description:"Aprenda técnicas profissionais para modelar esses elementos de concreto, além do projeto de armaduras utilizando ferramentas avançadas do setor."}
388,{title:"Análise e Verificação de Paredes de Concreto",description:"Conheça os critérios normativos contemplados pela metodologia CSFM para verificação do concreto e suas armaduras, além da geração de relatórios técnicos de entrega."},{title:"Casos Práticos de Edificações com Paredes",description:"Analise projetos e exemplos reais de modelos estruturais globais complexos e sua exportação para o IDEA StatiCa para projeto não linear, armação, verificação normativa e exportação de detalhamento."}]},speakers:{title:"Especialistas LÃderes do Setor",subtitle:"Aprenda com os melhores profissionais em engenharia estrutural",davidDescription:"Especialista em IDEA StatiCa e fluxos de trabalho BIM, demonstrará a integração prática e técnicas de projeto de paredes de concreto armado.",davidRole:"IDEA StatiCa & Interoperabilidade",csiExpert:"Especialista CSI",csiDescription:"Engenheiro de aplicações CSI, apresentará as capacidades avançadas de modelagem e projeto de paredes em edificações complexas.",csiRole:"CSI Software & Modelagem BIM"},agenda:{title:"Programação do Webinar",subtitle:"1 hora intensiva de conteúdo prático e valioso",items:[{time:"17:00",title:"Introdução e Contexto",description:"Boas-vindas e apresentação do fluxo de trabalho integrado CSI - IDEA StatiCa para projeto de paredes"},{time:"17:10",title:"Modelagem Global em Software CSI",description:"Especialista CSI - Técnicas de modelagem e projeto de paredes em edificações"},{time:"17:25",title:"Transferência e Integração com IDEA StatiCa",description:"Demonstração de importação via Checkbot e geração do modelo de parede no IDEA StatiCa"},{time:"17:40",title:"Análise e Projeto de Paredes",description:"Verificação normativa segundo metodologia CSFM e geração de relatórios"},{time:"17:50",title:"Perguntas e Respostas",description:"Sessão de perguntas dos participantes"}]},cta:{title:"Reserve Sua Vaga Gratuita Agora",subtitle:"Vagas limitadas. Não perca esta oportunidade única de dominar a interoperabilidade entre os lÃderes em análise estrutural.",button:"Inscreva-se Agora (100% Gratuito)",lastDay:"Ãltimo dia para se inscrever:",stats:{free:"Gratuito",duration:"Duração",experts:"Especialistas"}},collaborators:{title:"Com o apoio de:"},floatingCta:{full:"Reserve Sua Vaga Gratuita",short:"Reserve Vaga"},timezone:{button:"Mostrar no meu fuso horário",title:"Selecione seu fuso horário",description:"Escolha sua localização para ver o horário do webinar no seu fuso horário local.",detected:"Fuso horário detectado automaticamente:",searchPlaceholder:"Buscar paÃs ou cidade..."}}},Jn=({onClick:t,language:e="es"})=>{const[r,s]=x.useState(!1),a=Np[e].floatingCta;return x.useEffect(()=>{const i=()=>{const o=document.getElementById("hero-section");if(o){const l=o.getBoundingClientRect();s(l.bottom<0)}};return window.addEventListener("scroll",i),i(),()=>window.removeEventListener("scroll",i)},[]),n.jsx("div",{className:`fixed top-4 right-4 z-50 transition-all duration-500 ease-in-out transform ${r?"translate-y-0 opacity-100 scale-100":"-translate-y-8 opacity-0 scale-95 pointer-events-none"}`,children:n.jsxs($,{onClick:t,variant:"cta",size:"lg",className:"shadow-2xl hover:shadow-3xl transition-all duration-300 flex items-center gap-2 group",children:[n.jsx("span",{className:"hidden sm:inline",children:a.full}),n.jsx("span",{className:"sm:hidden",children:a.short}),n.jsx(Te,{className:"h-4 w-4 group-hover:translate-x-1 transition-transform"})]})})},VR={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},WR=(t,e,r)=>{let s;const a=VR[t];
vendor: 12,085 bytes, line 388
388return typeof a=="string"?s=a:e===1?s=a.one:s=a.other.replace("{{count}}",e.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+s:s+" ago":s};function Mu(t){return(e={})=>{const r=e.width?String(e.width):t.defaultWidth;return t.formats[r]||t.formats[t.defaultWidth]}}const HR={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},qR={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},GR={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},QR={date:Mu({formats:HR,defaultWidth:"full"}),time:Mu({formats:qR,defaultWidth:"full"}),dateTime:Mu({formats:GR,defaultWidth:"full"})},YR={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},KR=(t,e,r,s)=>YR[t];function Mi(t){return(e,r)=>{const s=r!=null&&r.context?String(r.context):"standalone";let a;if(s==="formatting"&&t.formattingValues){const o=t.defaultFormattingWidth||t.defaultWidth,l=r!=null&&r.width?String(r.width):o;a=t.formattingValues[l]||t.formattingValues[o]}else{const o=t.defaultWidth,l=r!=null&&r.width?String(r.width):t.defaultWidth;a=t.values[l]||t.values[o]}const i=t.argumentCallback?t.argumentCallback(e):e;return a[i]}}const ZR={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},JR={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},XR={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},e4={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},t4={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},r4={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},s4=(t,e)=>{const r=Number(t),s=r%100;if(s>20||s<10)switch(s%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},n4={ordinalNumber:s4,era:Mi({values:ZR,defaultWidth:"wide"}),quarter:Mi({values:JR,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Mi({values:XR,defaultWidth:"wide"}),day:Mi({values:e4,defaultWidth:"wide"}),dayPeriod:Mi({values:t4,defaultWidth:"wide",formattingValues:r4,defaultFormattingWidth:"wide"})};function Li(t){return(e,r={})=>{const s=r.width,a=s&&t.matchPatterns[s]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;const o=i[0],l=s&&t.parsePatterns[s]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?i4(l,m=>m.test(o)):a4(l,m=>m.test(o));let d;d=t.valueCallback?t.valueCallback(c):c,d=r.valueCallback?r.valueCallback(d):d;const u=e.slice(o.length);return{value:d,rest:u}}}function a4(t,e){for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&e(t[r]))return r}function i4(t,e){for(let r=0;r<t.length;r++)if(e(t[r]))return r}function o4(t){return(e,r={})=>{const s=e.match(t.matchPattern);if(!s)return null;const a=s[0],i=e.match(t.parsePattern);if(!i)return null;let o=t.valueCallback?t.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;const l=e.slice(a.length);return{value:o,rest:l}}}const l4=/^(\d+)(th|st|nd|rd)?/i,c4=/\d+/i,d4={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},u4={any:[/^b/i,/^(a|c)/i]},m4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},h4={any:[/1/i,/2/i,/3/i,/4/i]},f4={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},p4={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},x4={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},g4={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},y4={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},v4={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},b4={ordinalNumber:o4({matchPattern:l4,parsePattern:c4,valueCallback:t=>parseInt(t,10)}),era:Li({matchPatterns:d4,defaultMatchWidth:"wide",parsePatterns:u4,defaultParseWidth:"any"}),quarter:Li({matchPatterns:m4,defaultMatchWidth:"wide",parsePatterns:h4,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Li({matchPatterns:f4,defaultMatchWidth:"wide",parsePatterns:p4,defaultParseWidth:"any"}),day:Li({matchPatterns:x4,defaultMatchWidth:"wide",parsePatterns:g4,defaultParseWidth:"any"}),dayPeriod:Li({matchPatterns:y4,defaultMatchWidth:"any",parsePatterns:v4,defaultParseWidth:"any"})},w4={code:"en-US",formatDistance:WR,formatLong:QR,formatRelative:KR,localize:n4,match:b4,options:{weekStartsOn:0,firstWeekContainsDate:1}};let j4={};function sl(){return j4}const Wj=6048e5,N4=864e5,S4=6e4;function rr(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function ry(t){const e=rr(t);return e.setHours(0,0,0,0),e}function sy(t){const e=rr(t),r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return r.setUTCFullYear(e.getFullYear()),+t-+r}function _4(t,e){const r=ry(t),s=ry(e),a=+r-sy(r),i=+s-sy(s);return Math.round((a-i)/N4)}function Js(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function k4(t){const e=rr(t),r=Js(t,0);return r.setFullYear(e.getFullYear(),0,1),r.setHours(0,0,0,0),r}function C4(t){const e=rr(t);return _4(e,k4(e))+1}function To(t,e){var l,c,d,u;const r=sl(),s=(e==null?void 0:e.weekStartsOn)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??r.weekStartsOn??((u=(d=r.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,a=rr(t),i=a.getDay(),o=(i<s?7:0)+i-s;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function Vc(t){return To(t,{weekStartsOn:1})}function Hj(t){const e=rr(t),r=e.getFullYear(),s=Js(t,0);s.setFullYear(r+1,0,4),s.setHours(0,0,0,0);const a=Vc(s),i=Js(t,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const o=Vc(i);return e.getTime()>=a.getTime()?r+1:e.getTime()>=o.getTime()?r:r-1}function E4(t){const e=Hj(t),r=Js(t,0);return r.setFullYear(e,0,4),r.setHours(0,0,0,0),Vc(r)}function A4(t){const e=rr(t),r=+Vc(e)-+E4(e);return Math.round(r/Wj)+1}function qj(t,e){var u,m,h,f;const r=rr(t),s=r.getFullYear(),a=sl(),i=(e==null?void 0:e.firstWeekContainsDate)??((m=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((f=(h=a.locale)==null?void 0:h.options)==null?void 0:f.firstWeekContainsDate)??1,o=Js(t,0);o.setFullYear(s+1,0,i),o.setHours(0,0,0,0);const l=To(o,e),c=Js(t,0);c.setFullYear(s,0,i),c.setHours(0,0,0,0);const d=To(c,e);return r.getTime()>=l.getTime()?s+1:r.getTime()>=d.getTime()?s:s-1}function T4(t,e){var l,c,d,u;const r=sl(),s=(e==null?void 0:e.firstWeekContainsDate)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??r.firstWeekContainsDate??((u=(d=r.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)??1,a=qj(t,e),i=Js(t,0);return i.setFullYear(a,0,s),i.setHours(0,0,0,0),To(i,e)}function P4(t,e){const r=rr(t),s=+To(r,e)-+T4(r,e);return Math.round(s/Wj)+1}function Ce(t,e){const r=t<0?"-":"",s=Math.abs(t).toString().padStart(e,"0");return r+s}const gs={y(t,e){const r=t.getFullYear(),s=r>0?r:1-r;return Ce(e==="yy"?s%100:s,e.length)},M(t,e){const r=t.getMonth();return e==="M"?String(r+1):Ce(r+1,2)},d(t,e){return Ce(t.getDate(),e.length)},a(t,e){const r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(t,e){return Ce(t.getHours()%12||12,e.length)},H(t,e){return Ce(t.getHours(),e.length)},m(t,e){return Ce(t.getMinutes(),e.length)},s(t,e){return Ce(t.getSeconds(),e.length)},S(t,e){const r=e.length,s=t.getMilliseconds(),a=Math.trunc(s*Math.pow(10,r-3));return Ce(a,e.length)}},aa={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ny={G:function(t,e,r){const s=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(s,{width:"abbreviated"});case"GGGGG":return r.era(s,{width:"narrow"});case"GGGG":default:return r.era(s,{width:"wide"})}},y:function(t,e,r){if(e==="yo"){const s=t.getFullYear(),a=s>0?s:1-s;return r.ordinalNumber(a,{unit:"year"})}return gs.y(t,e)},Y:function(t,e,r,s){const a=qj(t,s),i=a>0?a:1-a;if(e==="YY"){const o=i%100;return Ce(o,2)}return e==="Yo"?r.ordinalNumber(i,{unit:"year"}):Ce(i,e.length)},R:function(t,e){const r=Hj(t);return Ce(r,e.length)},u:function(t,e){const r=t.getFullYear();return Ce(r,e.length)},Q:function(t,e,r){const s=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(s);case"QQ":return Ce(s,2);case"Qo":return r.ordinalNumber(s,{unit:"quarter"});case"QQQ":return r.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,e,r){const s=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(s);case"qq":return Ce(s,2);case"qo":return r.ordinalNumber(s,{unit:"quarter"});case"qqq":return r.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,e,r){const s=t.getMonth();switch(e){case"M":case"MM":return gs.M(t,e);case"Mo":return r.ordinalNumber(s+1,{unit:"month"});case"MMM":return r.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(s,{width:"wide",context:"formatting"})}},L:function(t,e,r){const s=t.getMonth();switch(e){case"L":return String(s+1);case"LL":return Ce(s+1,2);case"Lo":return r.ordinalNumber(s+1,{unit:"month"});case"LLL":return r.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(s,{width:"wide",context:"standalone"})}},w:function(t,e,r,s){const a=P4(t,s);return e==="wo"?r.ordinalNumber(a,{unit:"week"}):Ce(a,e.length)},I:function(t,e,r){const s=A4(t);return e==="Io"?r.ordinalNumber(s,{unit:"week"}):Ce(s,e.length)},d:function(t,e,r){return e==="do"?r.ordinalNumber(t.getDate(),{unit:"date"}):gs.d(t,e)}
vendor: 18,503 bytes, line 388
388,D:function(t,e,r){const s=C4(t);return e==="Do"?r.ordinalNumber(s,{unit:"dayOfYear"}):Ce(s,e.length)},E:function(t,e,r){const s=t.getDay();switch(e){case"E":case"EE":case"EEE":return r.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(s,{width:"short",context:"formatting"});case"EEEE":default:return r.day(s,{width:"wide",context:"formatting"})}},e:function(t,e,r,s){const a=t.getDay(),i=(a-s.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return Ce(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,r,s){const a=t.getDay(),i=(a-s.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return Ce(i,e.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,r){const s=t.getDay(),a=s===0?7:s;switch(e){case"i":return String(a);case"ii":return Ce(a,e.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(s,{width:"short",context:"formatting"});case"iiii":default:return r.day(s,{width:"wide",context:"formatting"})}},a:function(t,e,r){const a=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,r){const s=t.getHours();let a;switch(s===12?a=aa.noon:s===0?a=aa.midnight:a=s/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,e,r){const s=t.getHours();let a;switch(s>=17?a=aa.evening:s>=12?a=aa.afternoon:s>=4?a=aa.morning:a=aa.night,e){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,e,r){if(e==="ho"){let s=t.getHours()%12;return s===0&&(s=12),r.ordinalNumber(s,{unit:"hour"})}return gs.h(t,e)},H:function(t,e,r){return e==="Ho"?r.ordinalNumber(t.getHours(),{unit:"hour"}):gs.H(t,e)},K:function(t,e,r){const s=t.getHours()%12;return e==="Ko"?r.ordinalNumber(s,{unit:"hour"}):Ce(s,e.length)},k:function(t,e,r){let s=t.getHours();return s===0&&(s=24),e==="ko"?r.ordinalNumber(s,{unit:"hour"}):Ce(s,e.length)},m:function(t,e,r){return e==="mo"?r.ordinalNumber(t.getMinutes(),{unit:"minute"}):gs.m(t,e)},s:function(t,e,r){return e==="so"?r.ordinalNumber(t.getSeconds(),{unit:"second"}):gs.s(t,e)},S:function(t,e){return gs.S(t,e)},X:function(t,e,r){const s=t.getTimezoneOffset();if(s===0)return"Z";switch(e){case"X":return iy(s);case"XXXX":case"XX":return yn(s);case"XXXXX":case"XXX":default:return yn(s,":")}},x:function(t,e,r){const s=t.getTimezoneOffset();switch(e){case"x":return iy(s);case"xxxx":case"xx":return yn(s);case"xxxxx":case"xxx":default:return yn(s,":")}},O:function(t,e,r){const s=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+ay(s,":");case"OOOO":default:return"GMT"+yn(s,":")}},z:function(t,e,r){const s=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+ay(s,":");case"zzzz":default:return"GMT"+yn(s,":")}},t:function(t,e,r){const s=Math.trunc(t.getTime()/1e3);return Ce(s,e.length)},T:function(t,e,r){const s=t.getTime();return Ce(s,e.length)}};function ay(t,e=""){const r=t>0?"-":"+",s=Math.abs(t),a=Math.trunc(s/60),i=s%60;return i===0?r+String(a):r+String(a)+e+Ce(i,2)}function iy(t,e){return t%60===0?(t>0?"-":"+")+Ce(Math.abs(t)/60,2):yn(t,e)}function yn(t,e=""){const r=t>0?"-":"+",s=Math.abs(t),a=Ce(Math.trunc(s/60),2),i=Ce(s%60,2);return r+a+e+i}const oy=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},Gj=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},R4=(t,e)=>{const r=t.match(/(P+)(p+)?/)||[],s=r[1],a=r[2];if(!a)return oy(t,e);let i;switch(s){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",oy(s,e)).replace("{{time}}",Gj(a,e))},I4={p:Gj,P:R4},O4=/^D+$/,D4=/^Y+$/,M4=["D","DD","YY","YYYY"];function L4(t){return O4.test(t)}function z4(t){return D4.test(t)}function B4(t,e,r){const s=F4(t,e,r);if(console.warn(s),M4.includes(t))throw new RangeError(s)}function F4(t,e,r){const s=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${s} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function $4(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function U4(t){if(!$4(t)&&typeof t!="number")return!1;const e=rr(t);return!isNaN(Number(e))}const V4=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W4=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,H4=/^'([^]*?)'?$/,q4=/''/g,G4=/[a-zA-Z]/;function Q4(t,e,r){var u,m,h,f,v,p,w,b;const s=sl(),a=(r==null?void 0:r.locale)??s.locale??w4,i=(r==null?void 0:r.firstWeekContainsDate)??((m=(u=r==null?void 0:r.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??s.firstWeekContainsDate??((f=(h=s.locale)==null?void 0:h.options)==null?void 0:f.firstWeekContainsDate)??1,o=(r==null?void 0:r.weekStartsOn)??((p=(v=r==null?void 0:r.locale)==null?void 0:v.options)==null?void 0:p.weekStartsOn)??s.weekStartsOn??((b=(w=s.locale)==null?void 0:w.options)==null?void 0:b.weekStartsOn)??0,l=rr(t);if(!U4(l))throw new RangeError("Invalid time value");let c=e.match(W4).map(g=>{const y=g[0];if(y==="p"||y==="P"){const j=I4[y];return j(g,a.formatLong)}return g}).join("").match(V4).map(g=>{if(g==="''")return{isToken:!1,value:"'"};const y=g[0];if(y==="'")return{isToken:!1,value:Y4(g)};if(ny[y])return{isToken:!0,value:g};if(y.match(G4))throw new RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");return{isToken:!1,value:g}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));const d={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return c.map(g=>{if(!g.isToken)return g.value;const y=g.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&z4(y)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&L4(y))&&B4(y,e,String(t));const j=ny[y[0]];return j(l,y,a.localize,d)}).join("")}function Y4(t){const e=t.match(H4);return e?e[1].replace(q4,"'"):t}function K4(t,e){const r=+rr(t);return Js(t,r+e)}function Z4(t,e){return K4(t,e*S4)}function J4(){return Object.assign({},sl())}function ly(t,e,r){const s=J4(),a=tI(t,r.timeZone,r.locale??s.locale);return"formatToParts"in a?X4(a,e):eI(a,e)}function X4(t,e){const r=t.formatToParts(e);for(let s=r.length-1;s>=0;--s)if(r[s].type==="timeZoneName")return r[s].value}function eI(t,e){const r=t.format(e).replace(/\u200E/g,""),s=/ [\w-+ ]+$/.exec(r);return s?s[0].substr(1):""}function tI(t,e,r){return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:e,timeZoneName:t})}function rI(t,e){const r=oI(e);return"formatToParts"in r?nI(r,t):aI(r,t)}const sI={year:0,month:1,day:2,hour:3,minute:4,second:5};function nI(t,e){try{const r=t.formatToParts(e),s=[];for(let a=0;a<r.length;a++){const i=sI[r[a].type];i!==void 0&&(s[i]=parseInt(r[a].value,10))}return s}catch(r){if(r instanceof RangeError)return[NaN];throw r}}function aI(t,e){const r=t.format(e),s=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r);return[parseInt(s[3],10),parseInt(s[1],10),parseInt(s[2],10),parseInt(s[4],10),parseInt(s[5],10),parseInt(s[6],10)]}const Lu={},cy=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),iI=cy==="06/25/2014, 00:00:00"||cy==="â06â/â25â/â2014â â00â:â00â:â00";function oI(t){return Lu[t]||(Lu[t]=iI?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Lu[t]}function Qj(t,e,r,s,a,i,o){const l=new Date(0);return l.setUTCFullYear(t,e,r),l.setUTCHours(s,a,i,o),l}const dy=36e5,lI=6e4,zu={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function Sp(t,e,r){if(!t)return 0;let s=zu.timezoneZ.exec(t);if(s)return 0;let a,i;if(s=zu.timezoneHH.exec(t),s)return a=parseInt(s[1],10),uy(a)?-(a*dy):NaN;if(s=zu.timezoneHHMM.exec(t),s){a=parseInt(s[2],10);const o=parseInt(s[3],10);return uy(a,o)?(i=Math.abs(a)*dy+o*lI,s[1]==="+"?-i:i):NaN}if(uI(t)){e=new Date(e||Date.now());const o=r?e:cI(e),l=bh(o,t);return-(r?l:dI(e,l,t))}return NaN}function cI(t){return Qj(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function bh(t,e){const r=rI(t,e),s=Qj(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime();let a=t.getTime();const i=a%1e3;return a-=i>=0?i:1e3+i,s-a}function dI(t,e,r){let a=t.getTime()-e;const i=bh(new Date(a),r);if(e===i)return e;a-=i-e;const o=bh(new Date(a),r);return i===o?i:Math.max(i,o)}function uy(t,e){return-23<=t&&t<=23&&(e==null||0<=e&&e<=59)}const my={};function uI(t){if(my[t])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:t}),my[t]=!0,!0}catch{return!1}}const mI=60*1e3,hI={X:function(t,e,r){const s=Bu(r.timeZone,t);if(s===0)return"Z";switch(e){case"X":return hy(s);case"XXXX":case"XX":return fa(s);case"XXXXX":case"XXX":default:return fa(s,":")}},x:function(t,e,r){const s=Bu(r.timeZone,t);switch(e){case"x":return hy(s);case"xxxx":case"xx":return fa(s);case"xxxxx":case"xxx":default:return fa(s,":")}},O:function(t,e,r){const s=Bu(r.timeZone,t);switch(e){case"O":case"OO":case"OOO":return"GMT"+fI(s,":");case"OOOO":default:return"GMT"+fa(s,":")}},z:function(t,e,r){switch(e){case"z":case"zz":case"zzz":return ly("short",t,r);case"zzzz":default:return ly("long",t,r)}}};function Bu(t,e){const r=t?Sp(t,e,!0)/mI:(e==null?void 0:e.getTimezoneOffset())??0;if(Number.isNaN(r))throw new RangeError("Invalid time zone specified: "+t);return r}function Wc(t,e){const r=t<0?"-":"";let s=Math.abs(t).toString();for(;s.length<e;)s="0"+s;return r+s}function fa(t,e=""){const r=t>0?"-":"+",s=Math.abs(t),a=Wc(Math.floor(s/60),2),i=Wc(Math.floor(s%60),2);return r+a+e+i}function hy(t,e){return t%60===0?(t>0?"-":"+")+Wc(Math.abs(t)/60,2):fa(t,e)}function fI(t,e=""){const r=t>0?"-":"+",s=Math.abs(t),a=Math.floor(s/60),i=s%60;return i===0?r+String(a):r+String(a)+e+Wc(i,2)}function fy(t){const e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+t-+e}const pI=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Fu=36e5,py=6e4,xI=2,Nt={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:pI};function Yj(t,e={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(t===null)return new Date(NaN);const r=e.additionalDigits==null?xI:Number(e.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]")return new Date(t.getTime());if(typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]")return new Date(t);if(Object.prototype.toString.call(t)!=="[object String]")return new Date(NaN);const s=gI(t),{year:a,restDateString:i}=yI(s.date,r),o=vI(i,a);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){const l=o.getTime();let c=0,d;if(s.time&&(c=bI(s.time),c===null||isNaN(c)))return new Date(NaN);if(s.timeZone||e.timeZone){if(d=Sp(s.timeZone||e.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=fy(new Date(l+c)),d=fy(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function gI(t){const e={};let r=Nt.dateTimePattern.exec(t),s;if(r?(e.date=r[1],s=r[3]):(r=Nt.datePattern.exec(t),r?(e.date=r[1],s=r[2]):(e.date=null,s=t)),s){const a=Nt.timeZone.exec(s);a?(e.time=s.replace(a[1],""),e.timeZone=a[1].trim()):e.time=s}return e}function yI(t,e){if(t){const r=Nt.YYY[e],s=Nt.YYYYY[e];let a=Nt.YYYY.exec(t)||s.exec(t);if(a){const i=a[1];return{year:parseInt(i,10),restDateString:t.slice(i.length)}}if(a=Nt.YY.exec(t)||r.exec(t),a){const i=a[1];return{year:parseInt(i,10)*100,restDateString:t.slice(i.length)}}}return{year:null}}function vI(t,e){if(e===null)return null;let r,s,a;if(!t||!t.length)return r=new Date(0),r.setUTCFullYear(e),r;let i=Nt.MM.exec(t);if(i)return r=new Date(0),s=parseInt(i[1],10)-1,gy(e,s)?(r.setUTCFullYear(e,s),r):new Date(NaN);if(i=Nt.DDD.exec(t),i){r=new Date(0);const o=parseInt(i[1],10);return NI(e,o)?(r.setUTCFullYear(e,0,o),r):new Date(NaN)}if(i=Nt.MMDD.exec(t),i){r=new Date(0),s=parseInt(i[1],10)-1;const o=parseInt(i[2],10);return gy(e,s,o)?(r.setUTCFullYear(e,s,o),r):new Date(NaN)}if(i=Nt.Www.exec(t),i)return a=parseInt(i[1],10)-1,yy(a)?xy(e,a):new Date(NaN);if(i=Nt.WwwD.exec(t),i){a=parseInt(i[1],10)-1;const o=parseInt(i[2],10)-1;return yy(a,o)?xy(e,a,o):new Date(NaN)}return null}function bI(t){let e,r,s=Nt.HH.exec(t);if(s)return e=parseFloat(s[1].replace(",",".")),$u(e)?e%24*Fu:NaN;if(s=Nt.HHMM.exec(t),s)return e=parseInt(s[1],10),r=parseFloat(s[2].replace(",",".")),$u(e,r)?e%24*Fu+r*py:NaN;if(s=Nt.HHMMSS.exec(t),s){e=parseInt(s[1],10),r=parseInt(s[2],10);const a=parseFloat(s[3].replace(",","."));return $u(e,r,a)?e%24*Fu+r*py+a*1e3:NaN}return null}function xy(t,e,r){e=e||0,r=r||0;const s=new Date(0);s.setUTCFullYear(t,0,4);const a=s.getUTCDay()||7,i=e*7+r+1-a;return s.setUTCDate(s.getUTCDate()+i),s}const wI=[31,28,31,30,31,30,31,31,30,31,30,31],jI=[31,29,31,30,31,30,31,31,30,31,30,31];function Kj(t){return t%400===0||t%4===0&&t%100!==0}function gy(t,e,r){if(e<0||e>11)return!1;if(r!=null){if(r<1)return!1;const s=Kj(t);if(s&&r>jI[e]||!s&&r>wI[e])return!1}return!0}function NI(t,e){if(e<1)return!1;const r=Kj(t);return!(r&&e>366||!r&&e>365)}function yy(t,e){return!(t<0||t>52||e!=null&&(e<0||e>6))}function $u(t,e,r){return!(t<0||t>=25||e!=null&&(e<0||e>=60)||r!=null&&(r<0||r>=60))}const SI=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function ac(t,e,r={}){e=String(e);const s=e.match(SI);if(s){const a=Yj(r.originalDate||t,r);e=s.reduce(function(i,o){if(o[0]==="'")return i;const l=i.indexOf(o),c=i[l-1]==="'",d=i.replace(o,"'"+hI[o[0]](a,o,r)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},e)}return Q4(t,e,r)}function Zj(t,e,r){t=Yj(t,r);const s=Sp(e,t,!0),a=new Date(t.getTime()-s),i=new Date(0);return i.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),i.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),i}const Ba={baseDateTime:"2025-11-19T17:00:00+01:00",baseTimezone:"Europe/Madrid",title:"Optimiza tus Proyectos con Aceros de Alta Resistencia"},vy={baseDateTime:"2025-12-15T17:00:00+01:00",baseTimezone:"Europe/Madrid",title:"Interoperabilidad Total: Modelado de Terrenos y Puentes con CSI + IDEA StatiCa",date:"15 de Diciembre 2025",lastRegistrationDay:"14 de Diciembre 2025"},wh=[{value:"Europe/Madrid",label:"España (Madrid)",region:"Europa"},{value:"America/Bogota",label:"Colombia (Bogotá)",region:"América"},{value:"America/Mexico_City",label:"México (Ciudad de México)",region:"América"},{value:"America/Argentina/Buenos_Aires",label:"Argentina (Buenos Aires)",region:"América"},{value:"America/Santiago",label:"Chile (Santiago)",region:"América"},{value:"America/Lima",label:"Perú (Lima)",region:"América"},{value:"America/Caracas",label:"Venezuela (Caracas)",region:"América"},{value:"America/Panama",label:"Panamá",region:"América"},{value:"America/Costa_Rica",label:"Costa Rica (San José)",region:"América"},{value:"America/El_Salvador",label:"El Salvador",region:"América"},{value:"America/Guatemala",label:"Guatemala",region:"América"},{value:"America/Tegucigalpa",label:"Honduras (Tegucigalpa)",region:"América"},{value:"America/Managua",label:"Nicaragua (Managua)",region:"América"},{value:"America/Montevideo",label:"Uruguay (Montevideo)",region:"América"},{value:"America/La_Paz",label:"Bolivia (La Paz)",region:"América"},{value:"America/Guayaquil",label:"Ecuador (Guayaquil)",region:"América"},{value:"America/Asuncion",label:"Paraguay (Asunción)",region:"América"},{value:"America/New_York",label:"Estados Unidos (Nueva York)",region:"América"},{value:"America/Los_Angeles",label:"Estados Unidos (Los Ãngeles)",region:"América"},{value:"America/Chicago",label:"Estados Unidos (Chicago)",region:"América"},{value:"America/Denver",label:"Estados Unidos (Denver)",region:"América"}
388,{value:"Europe/London",label:"Reino Unido (Londres)",region:"Europa"},{value:"Europe/Paris",label:"Francia (ParÃs)",region:"Europa"},{value:"Europe/Berlin",label:"Alemania (BerlÃn)",region:"Europa"},{value:"Europe/Rome",label:"Italia (Roma)",region:"Europa"},{value:"Europe/Lisbon",label:"Portugal (Lisboa)",region:"Europa"},{value:"Asia/Tokyo",label:"Japón (Tokio)",region:"Asia"},{value:"Asia/Shanghai",label:"China (Shanghái)",region:"Asia"},{value:"Asia/Dubai",label:"Emiratos Ãrabes Unidos (Dubái)",region:"Asia"},{value:"Australia/Sydney",label:"Australia (SÃdney)",region:"OceanÃa"}],jh=t=>{const e=new Date(Ba.baseDateTime),r=Zj(e,t);return{time:ac(r,"HH:mm",{timeZone:t}),date:ac(r,"dd MMMM yyyy",{timeZone:t}),full:ac(r,"dd 'de' MMMM yyyy, HH:mm",{timeZone:t})}},Jj=()=>{try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return Ba.baseTimezone}},_I=(t,e)=>{const r=new Date(Ba.baseDateTime),s=Zj(r,t),a=Z4(s,e);return ac(a,"HH:mm",{timeZone:t})},_p=t=>wh.find(e=>e.value===t),kp=()=>{const[t,e]=x.useState(null),[r,s]=x.useState(Ba.baseTimezone);x.useEffect(()=>{const d=Jj();s(d)},[]);const a=()=>{const d=t||Ba.baseTimezone;return jh(d)},i=()=>{e(null)},o=d=>{e(d)},l=()=>{e(r)},c=d=>{const u=t||Ba.baseTimezone;return _I(u,d)};return{selectedTimezone:t,userTimezone:r,displayTime:a(),isCustomTimezone:t!==null,selectTimezone:o,resetToDefault:i,useUserTimezone:l,getScheduleTime:c}};var Uu="focusScope.autoFocusOnMount",Vu="focusScope.autoFocusOnUnmount",by={bubbles:!1,cancelable:!0},kI="FocusScope",Cp=x.forwardRef((t,e)=>{const{loop:r=!1,trapped:s=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...o}=t,[l,c]=x.useState(null),d=st(a),u=st(i),m=x.useRef(null),h=_e(e,p=>c(p)),f=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(s){let p=function(y){if(f.paused||!l)return;const j=y.target;l.contains(j)?m.current=j:bs(m.current,{select:!0})},w=function(y){if(f.paused||!l)return;const j=y.relatedTarget;j!==null&&(l.contains(j)||bs(m.current,{select:!0}))},b=function(y){if(document.activeElement===document.body)for(const N of y)N.removedNodes.length>0&&bs(l)};document.addEventListener("focusin",p),document.addEventListener("focusout",w);const g=new MutationObserver(b);return l&&g.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",w),g.disconnect()}}},[s,l,f.paused]),x.useEffect(()=>{if(l){jy.add(f);const p=document.activeElement;if(!l.contains(p)){const b=new CustomEvent(Uu,by);l.addEventListener(Uu,d),l.dispatchEvent(b),b.defaultPrevented||(CI(RI(Xj(l)),{select:!0}),document.activeElement===p&&bs(l))}return()=>{l.removeEventListener(Uu,d),setTimeout(()=>{const b=new CustomEvent(Vu,by);l.addEventListener(Vu,u),l.dispatchEvent(b),b.defaultPrevented||bs(p??document.body,{select:!0}),l.removeEventListener(Vu,u),jy.remove(f)},0)}}},[l,d,u,f]);const v=x.useCallback(p=>{if(!r&&!s||f.paused)return;const w=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,b=document.activeElement;if(w&&b){const g=p.currentTarget,[y,j]=EI(g);y&&j?!p.shiftKey&&b===j?(p.preventDefault(),r&&bs(y,{select:!0})):p.shiftKey&&b===y&&(p.preventDefault(),r&&bs(j,{select:!0})):b===g&&p.preventDefault()}},[r,s,f.paused]);return n.jsx(he.div,{tabIndex:-1,...o,ref:h,onKeyDown:v})});Cp.displayName=kI;function CI(t,{select:e=!1}={}){const r=document.activeElement;for(const s of t)if(bs(s,{select:e}),document.activeElement!==r)return}function EI(t){const e=Xj(t),r=wy(e,t),s=wy(e.reverse(),t);return[r,s]}function Xj(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function wy(t,e){for(const r of t)if(!AI(r,{upTo:e}))return r}function AI(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function TI(t){return t instanceof HTMLInputElement&&"select"in t}function bs(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&TI(t)&&e&&t.select()}}var jy=PI();function PI(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=Ny(t,e),t.unshift(e)},remove(e){var r;t=Ny(t,e),(r=t[0])==null||r.resume()}}}function Ny(t,e){const r=[...t],s=r.indexOf(e);return s!==-1&&r.splice(s,1),r}function RI(t){return t.filter(e=>e.tagName!=="A")}var Wu=0;function e1(){x.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??Sy()),document.body.insertAdjacentElement("beforeend",t[1]??Sy()),Wu++,()=>{Wu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
vendor: 9,935 bytes, line 388
388=>e.remove()),Wu--}},[])}function Sy(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Nh=function(t,e){return Nh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(r[a]=s[a])},Nh(t,e)};function t1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Nh(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Zt=function(){return Zt=Object.assign||function(e){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Zt.apply(this,arguments)};function an(t,e){var r={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(r[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,s=Object.getOwnPropertySymbols(t);a<s.length;a++)e.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(t,s[a])&&(r[s[a]]=t[s[a]]);return r}function r1(t,e,r,s){var a=arguments.length,i=a<3?e:s===null?s=Object.getOwnPropertyDescriptor(e,r):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,s);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(a<3?o(i):a>3?o(e,r,i):o(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i}function s1(t,e){return function(r,s){e(r,s,t)}}function n1(t,e,r,s,a,i){function o(b){if(b!==void 0&&typeof b!="function")throw new TypeError("Function expected");return b}for(var l=s.kind,c=l==="getter"?"get":l==="setter"?"set":"value",d=!e&&t?s.static?t:t.prototype:null,u=e||(d?Object.getOwnPropertyDescriptor(d,s.name):{}),m,h=!1,f=r.length-1;f>=0;f--){var v={};for(var p in s)v[p]=p==="access"?{}:s[p];for(var p in s.access)v.access[p]=s.access[p];v.addInitializer=function(b){if(h)throw new TypeError("Cannot add initializers after decoration has completed");i.push(o(b||null))};var w=(0,r[f])(l==="accessor"?{get:u.get,set:u.set}:u[c],v);if(l==="accessor"){if(w===void 0)continue;if(w===null||typeof w!="object")throw new TypeError("Object expected");(m=o(w.get))&&(u.get=m),(m=o(w.set))&&(u.set=m),(m=o(w.init))&&a.unshift(m)}else(m=o(w))&&(l==="field"?a.unshift(m):u[c]=m)}d&&Object.defineProperty(d,s.name,u),h=!0}function a1(t,e,r){for(var s=arguments.length>2,a=0;a<e.length;a++)r=s?e[a].call(t,r):e[a].call(t);return s?r:void 0}function i1(t){return typeof t=="symbol"?t:"".concat(t)}function o1(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function l1(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function Z(t,e,r,s){function a(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function l(u){try{d(s.next(u))}catch(m){o(m)}}function c(u){try{d(s.throw(u))}catch(m){o(m)}}function d(u){u.done?i(u.value):a(u.value).then(l,c)}d((s=s.apply(t,e||[])).next())})}function c1(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},s,a,i,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(d){return function(u){return c([d,u])}}function c(d){if(s)throw new TypeError("Generator is already executing.");for(;o&&(o=0,d[0]&&(r=0)),r;)try{if(s=1,a&&(i=d[0]&2?a.return:d[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,d[1])).done)return i;switch(a=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,a=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(u){d=[6,u],a=0}finally{s=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var $d=Object.create?function(t,e,r,s){s===void 0&&(s=r);var a=Object.getOwnPropertyDescriptor(e,r);(!a||("get"in a?!e.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,a)}:function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]};function d1(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&$d(e,t,r)}function Hc(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],s=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&s>=t.length&&(t=void 0),{value:t&&t[s++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ep(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var s=r.call(t),a,i=[],o;try{for(;(e===void 0||e-- >0)&&!(a=s.next()).done;)i.push(a.value)}catch(l){o={error:l}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return i}function u1(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Ep(arguments[e]));return t}function m1(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var s=Array(t),a=0,e=0;e<r;e++)for(var i=arguments[e],o=0,l=i.length;o<l;o++,a++)s[a]=i[o];return s}function Ap(t,e,r){if(r||arguments.length===2)for(var s=0,a=e.length,i;s<a;s++)(i||!(s in e))&&(i||(i=Array.prototype.slice.call(e,0,s)),i[s]=e[s]);return t.concat(i||Array.prototype.slice.call(e))}function oi(t){return this instanceof oi?(this.v=t,this):new oi(t)}function h1(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=r.apply(t,e||[]),a,i=[];return a=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),a[Symbol.asyncIterator]=function(){return this},a;function o(f){return function(v){return Promise.resolve(v).then(f,m)}}function l(f,v){s[f]&&(a[f]=function(p){return new Promise(function(w,b){i.push([f,p,w,b])>1||c(f,p)})},v&&(a[f]=v(a[f])))}function c(f,v){try{d(s[f](v))}catch(p){h(i[0][3],p)}}function d(f){f.value instanceof oi?Promise.resolve(f.value.v).then(u,m):h(i[0][2],f)}function u(f){c("next",f)}function m(f){c("throw",f)}function h(f,v){f(v),i.shift(),i.length&&c(i[0][0],i[0][1])}}function f1(t){var e,r;return e={},s("next"),s("throw",function(a){throw a}),s("return"),e[Symbol.iterator]=function(){return this},e;function s(a,i){e[a]=t[a]?function(o){return(r=!r)?{value:oi(t[a](o)),done:!1}:i?i(o):o}:i}}function p1(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Hc=="function"?Hc(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(o){return new Promise(function(l,c){o=t[i](o),a(l,c,o.done,o.value)})}}function a(i,o,l,c){Promise.resolve(c).then(function(d){i({value:d,done:l})},o)}}function x1(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var II=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},Sh=function(t){return Sh=Object.getOwnPropertyNames||function(e){var r=[];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[r.length]=s);return r},Sh(t)};function g1(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=Sh(t),s=0;s<r.length;s++)r[s]!=="default"&&$d(e,t,r[s]);return II(e,t),e}function y1(t){return t&&t.__esModule?t:{default:t}}function v1(t,e,r,s){if(r==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?s:r==="a"?s.call(t):s?s.value:e.get(t)}function b1(t,e,r,s,a){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?a.call(t,r):a?a.value=r:e.set(t,r),r}function w1(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function j1(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var s,a;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");s=e[Symbol.asyncDispose]}if(s===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");s=e[Symbol.dispose],r&&(a=s)}if(typeof s!="function")throw new TypeError("Object not disposable.");a&&(s=function(){try{a.call(this)}catch(i){return Promise.reject(i)}}),t.stack.push({value:e,dispose:s,async:r})}else r&&t.stack.push({async:!0});return e}var OI=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var s=new Error(r);return s.name="SuppressedError",s.error=t,s.suppressed=e,s};function N1(t){function e(i){t.error=t.hasError?new OI(i,t.error,"An error was suppressed during disposal."):i,t.hasError=!0}var r,s=0;function a(){for(;r=t.stack.pop();)try{if(!r.async&&s===1)return s=0,t.stack.push(r),Promise.resolve().then(a);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return s|=2,Promise.resolve(i).then(a,function(o){return e(o),a()})}else s|=1}catch(o){e(o)}
388if(s===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return a()}function S1(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,s,a,i,o){return s?e?".jsx":".js":a&&(!i||!o)?r:a+i+"."+o.toLowerCase()+"js"}):t}const DI={__extends:t1,__assign:Zt,__rest:an,__decorate:r1,__param:s1,__esDecorate:n1,__runInitializers:a1,__propKey:i1,__setFunctionName:o1,__metadata:l1,__awaiter:Z,__generator:c1,__createBinding:$d,__exportStar:d1,__values:Hc,__read:Ep,__spread:u1,__spreadArrays:m1,__spreadArray:Ap,__await:oi,__asyncGenerator:h1,__asyncDelegator:f1,__asyncValues:p1,__makeTemplateObject:x1,__importStar:g1,__importDefault:y1,__classPrivateFieldGet:v1,__classPrivateFieldSet:b1,__classPrivateFieldIn:w1,__addDisposableResource:j1,__disposeResources:N1,__rewriteRelativeImportExtension:S1},MI=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:j1,get __assign(){return Zt},__asyncDelegator:f1,__asyncGenerator:h1,__asyncValues:p1,__await:oi,__awaiter:Z,__classPrivateFieldGet:v1,__classPrivateFieldIn:w1,__classPrivateFieldSet:b1,__createBinding:$d,__decorate:r1,__disposeResources:N1,__esDecorate:n1,__exportStar:d1,__extends:t1,__generator:c1,__importDefault:y1,__importStar:g1,__makeTemplateOb
vendor: 5,103 bytes, lines 388-403
388ject:x1,__metadata:l1,__param:s1,__propKey:i1,__read:Ep,__rest:an,__rewriteRelativeImportExtension:S1,__runInitializers:a1,__setFunctionName:o1,__spread:u1,__spreadArray:Ap,__spreadArrays:m1,__values:Hc,default:DI},Symbol.toStringTag,{value:"Module"}));var ic="right-scroll-bar-position",oc="width-before-scroll-bar",LI="with-scroll-bars-hidden",zI="--removed-body-scroll-bar-size";function Hu(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function BI(t,e){var r=x.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(s){var a=r.value;a!==s&&(r.value=s,r.callback(s,a))}}}})[0];return r.callback=e,r.facade}var FI=typeof window<"u"?x.useLayoutEffect:x.useEffect,_y=new WeakMap;function $I(t,e){var r=BI(null,function(s){return t.forEach(function(a){return Hu(a,s)})});return FI(function(){var s=_y.get(r);if(s){var a=new Set(s),i=new Set(t),o=r.current;a.forEach(function(l){i.has(l)||Hu(l,null)}),i.forEach(function(l){a.has(l)||Hu(l,o)})}_y.set(r,t)},[t]),r}function UI(t){return t}function VI(t,e){e===void 0&&(e=UI);var r=[],s=!1,a={read:function(){if(s)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(i){var o=e(i,s);return r.push(o),function(){r=r.filter(function(l){return l!==o})}},assignSyncMedium:function(i){for(s=!0;r.length;){var o=r;r=[],o.forEach(i)}r={push:function(l){return i(l)},filter:function(){return r}}},assignMedium:function(i){s=!0;var o=[];if(r.length){var l=r;r=[],l.forEach(i),o=r}var c=function(){var u=o;o=[],u.forEach(i)},d=function(){return Promise.resolve().then(c)};d(),r={push:function(u){o.push(u),d()},filter:function(u){return o=o.filter(u),r}}}};return a}function WI(t){t===void 0&&(t={});var e=VI(null);return e.options=Zt({async:!0,ssr:!1},t),e}var _1=function(t){var e=t.sideCar,r=an(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=e.read();if(!s)throw new Error("Sidecar medium not found");return x.createElement(s,Zt({},r))};_1.isSideCarExport=!0;function HI(t,e){return t.useMedium(e),_1}var k1=WI(),qu=function(){},Ud=x.forwardRef(function(t,e){var r=x.useRef(null),s=x.useState({onScrollCapture:qu,onWheelCapture:qu,onTouchMoveCapture:qu}),a=s[0],i=s[1],o=t.forwardProps,l=t.children,c=t.className,d=t.removeScrollBar,u=t.enabled,m=t.shards,h=t.sideCar,f=t.noRelative,v=t.noIsolation,p=t.inert,w=t.allowPinchZoom,b=t.as,g=b===void 0?"div":b,y=t.gapMode,j=an(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=h,S=$I([r,e]),_=Zt(Zt({},j),a);return x.createElement(x.Fragment,null,u&&x.createElement(N,{sideCar:k1,removeScrollBar:d,shards:m,noRelative:f,noIsolation:v,inert:p,setCallbacks:i,allowPinchZoom:!!w,lockRef:r,gapMode:y}),o?x.cloneElement(x.Children.only(l),Zt(Zt({},_),{ref:S})):x.createElement(g,Zt({},_,{className:c,ref:S}),l))});Ud.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ud.classNames={fullWidth:oc,zeroRight:ic};var qI=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function GI(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=qI();return e&&t.setAttribute("nonce",e),t}function QI(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function YI(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var KI=function(){var t=0,e=null;return{add:function(r){t==0&&(e=GI())&&(QI(e,r),YI(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},ZI=function(){var t=KI();return function(e,r){x.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},C1=function(){var t=ZI(),e=function(r){var s=r.styles,a=r.dynamic;return t(s,a),null};return e},JI={left:0,top:0,right:0,gap:0},Gu=function(t){return parseInt(t||"",10)||0},XI=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],s=e[t==="padding"?"paddingTop":"marginTop"],a=e[t==="padding"?"paddingRight":"marginRight"];return[Gu(r),Gu(s),Gu(a)]},eO=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return JI;var e=XI(t),r=document.documentElement.clientWidth,s=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,s-r+e[2]-e[0])}},tO=C1(),Fa="data-scroll-locked",rO=function(t,e,r,s){var a=t.left,i=t.top,o=t.right,l=t.gap;return r===void 0&&(r="margin"),` 389 .`.concat(LI,` { 390 overflow: hidden `).concat(s,`; 391 padding-right: `).concat(l,"px ").concat(s,`; 392 } 393 body[`).concat(Fa,`] { 394 overflow: hidden `).concat(s,`; 395 overscroll-behavior: contain; 396 `).concat([e&&"position: relative ".concat(s,";"),r==="margin"&&` 397 padding-left: `.concat(a,`px; 398 padding-top: `).concat(i,`px; 399 padding-right: `).concat(o,`px; 400 margin-left:0; 401 margin-top:0; 402 margin-right: `).concat(l,"px ").concat(s,`; 403 `),r==="padding"&&"padding-right: ".concat(l,"px ").concat(s,";
403")].filter(Boolean).join(""),` 404 } 405 406 .`).concat(ic,` { 407 right: `).concat(l,"px ").concat(s,`; 408 } 409 410 .`).concat(oc,` { 411 margin-right: `).concat(l,"px ").concat(s,`; 412 } 413 414 .`).concat(ic," .").concat(ic,` { 415 right: 0 `).concat(s,`; 416 } 417 418 .`).concat(oc," .").concat(oc,` { 419 margin-right: 0 `).concat(s,`; 420 } 421 422 body[`).concat(Fa,`] { 423 `).concat(zI,": ").concat(l,`px; 424 } 425`)},ky=function(){var t=parseInt(document.body.getAttribute(Fa)||"0",10);return isFinite(t)?t:0},sO=function(){x.useEffect(function(){return document.body.setAttribute(Fa,(ky()+1).toString()),function(){var t=ky()-1;t<=0?document.body.removeAttribute(Fa):document.body.setAttribute(Fa,t.toString())}},[])},nO=function(t){var e=t.noRelative,r=t.noImportant,s=t.gapMode,a=s===void 0?"margin":s;sO();var i=x.useMemo(function(){return eO(a)},[a]);return x.createElement(tO,{styles:rO(i,!e,a,r?"":"!important")})},_h=!1;if(typeof window<"u")try{var Al=Object.defineProperty({},"passive",{get:function(){return _h=!0,!0}});window.addEventListener("test",Al,Al),window.removeEventListener("test",Al,Al)}catch{_h=!1}var ia=_h?{passive:!1}:!1,aO=function(t){return t.tagName==="TEXTAREA"},E1=function(t,e){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!aO(t)&&r[e]==="visible")},iO=function(t){return E1(t,"overflowY")},oO=function(t){return E1(t,"overflowX")},Cy=function(t,e){var r=e.ownerDocument,s=e;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var a=A1(t,s);if(a){var i=T1(t,s),o=i[1],l=i[2];if(o>l)return!0}s=s.parentNode}while(s&&s!==r.body);return!1},lO=function(t){var e=t.scrollTop,r=t.scrollHeight,s=t.clientHeight;return[e,r,s]},cO=function(t){var e=t.scrollLeft,r=t.scrollWidth,s=t.clientWidth;return[e,r,s]},A1=function(t,e){return t==="v"?iO(e):oO(e)},T1=function(t,e){return t==="v"?lO(e):cO(e)},dO=function(t,e){return t==="h"&&e==="rtl"?-1:1},uO=function(t,e,r,s,a){var i=dO(t,window.getComputedStyle(e).direction),o=i*s,l=r.target,c=e.contains(l),d=!1,u=o>0,m=0,h=0;do{if(!l)break;var f=T1(t,l),v=f[0],p=f[1],w=f[2],b=p-w-i*v;(v||b)&&A1(t,l)&&(m+=b,h+=v);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&l!==document.body||c&&(e.contains(l)||e===l));return(u&&(Math.abs(m)<1||!a)||!u&&(Math.abs(h)<1||!a))&&(d=!0),d},Tl=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Ey=function(t){return[t.deltaX,t.deltaY]},Ay=function(t){return t&&"current"in t?t.current:t},mO=function(t,e){return t[0]===e[0]&&t[1]===e[1]},hO=function(t){return` 426 .block-interactivity-`.concat(t,` {pointer-events: none;} 427 .allow-interactivity-`).concat(t,` {pointer-events: all;} 428`)},fO=0,oa=[];function pO(t){var e=x.useRef([]),r=x.useRef([0,0]),s=x.useRef(),a=x.useState(fO++)[0],i=x.useState(C1)[0],o=x.useRef(t);x.useEffect(function(){o.current=t},[t]),x.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(a));var p=Ap([t.lockRef.current],(t.shards||[]).map(Ay),!0).filter(Boolean);return p.forEach(function(w){return w.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),p.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(a))})}}},[t.inert,t.lockRef.current,t.shards]);var l=x.useCallback(function(p,w){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!o.current.allowPinchZoom;var b=Tl(p),g=r.current,y="deltaX"in p?p.deltaX:g[0]-b[0],j="deltaY"in p?p.deltaY:g[1]-b[1],N,S=p.target,_=Math.abs(y)>Math.abs(j)?"h":"v";if("touches"in p&&_==="h"&&S.type==="range")return!1;var E=Cy(_,S);if(!E)return!0;if(E?N=_:(N=_==="v"?"h":"v",E=Cy(_,S)),!E)return!1;if(!s.current&&"changedTouches"in p&&(y||j)&&(s.current=N),!N)return!0;var T=s.current||N;return uO(T,w,p,T==="h"?y:j,!0)},[]),c=x.useCallback(function(p){var w=p;if(!(!oa.length||oa[oa.length-1]!==i)){var b="deltaY"in w?Ey(w):Tl(w),g=e.current.filter(function(N){return N.name===w.type&&(N.target===w.target||w.target===N.shadowParent)&&mO(N.delta,b)})[0];if(g&&g.should){w.cancelable&&w.preventDefault();return}
vendor: 4,955 bytes, line 428
428if(!g){var y=(o.current.shards||[]).map(Ay).filter(Boolean).filter(function(N){return N.contains(w.target)}),j=y.length>0?l(w,y[0]):!o.current.noIsolation;j&&w.cancelable&&w.preventDefault()}}},[]),d=x.useCallback(function(p,w,b,g){var y={name:p,delta:w,target:b,should:g,shadowParent:xO(b)};e.current.push(y),setTimeout(function(){e.current=e.current.filter(function(j){return j!==y})},1)},[]),u=x.useCallback(function(p){r.current=Tl(p),s.current=void 0},[]),m=x.useCallback(function(p){d(p.type,Ey(p),p.target,l(p,t.lockRef.current))},[]),h=x.useCallback(function(p){d(p.type,Tl(p),p.target,l(p,t.lockRef.current))},[]);x.useEffect(function(){return oa.push(i),t.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",c,ia),document.addEventListener("touchmove",c,ia),document.addEventListener("touchstart",u,ia),function(){oa=oa.filter(function(p){return p!==i}),document.removeEventListener("wheel",c,ia),document.removeEventListener("touchmove",c,ia),document.removeEventListener("touchstart",u,ia)}},[]);var f=t.removeScrollBar,v=t.inert;return x.createElement(x.Fragment,null,v?x.createElement(i,{styles:hO(a)}):null,f?x.createElement(nO,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function xO(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const gO=HI(k1,pO);var Tp=x.forwardRef(function(t,e){return x.createElement(Ud,Zt({},t,{ref:e,sideCar:gO}))});Tp.classNames=Ud.classNames;var yO=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},la=new WeakMap,Pl=new WeakMap,Rl={},Qu=0,P1=function(t){return t&&(t.host||P1(t.parentNode))},vO=function(t,e){return e.map(function(r){if(t.contains(r))return r;var s=P1(r);return s&&t.contains(s)?s:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},bO=function(t,e,r,s){var a=vO(e,Array.isArray(t)?t:[t]);Rl[r]||(Rl[r]=new WeakMap);var i=Rl[r],o=[],l=new Set,c=new Set(a),d=function(m){!m||l.has(m)||(l.add(m),d(m.parentNode))};a.forEach(d);var u=function(m){!m||c.has(m)||Array.prototype.forEach.call(m.children,function(h){if(l.has(h))u(h);else try{var f=h.getAttribute(s),v=f!==null&&f!=="false",p=(la.get(h)||0)+1,w=(i.get(h)||0)+1;la.set(h,p),i.set(h,w),o.push(h),p===1&&v&&Pl.set(h,!0),w===1&&h.setAttribute(r,"true"),v||h.setAttribute(s,"true")}catch(b){console.error("aria-hidden: cannot operate on ",h,b)}})};return u(e),l.clear(),Qu++,function(){o.forEach(function(m){var h=la.get(m)-1,f=i.get(m)-1;la.set(m,h),i.set(m,f),h||(Pl.has(m)||m.removeAttribute(s),Pl.delete(m)),f||m.removeAttribute(r)}),Qu--,Qu||(la=new WeakMap,la=new WeakMap,Pl=new WeakMap,Rl={})}},R1=function(t,e,r){r===void 0&&(r="data-aria-hidden");var s=Array.from(Array.isArray(t)?t:[t]),a=yO(t);return a?(s.push.apply(s,Array.from(a.querySelectorAll("[aria-live]"))),bO(s,a,r,"aria-hidden")):function(){return null}},Vd="Dialog",[I1,o8]=nn(Vd),[wO,Cr]=I1(Vd),O1=t=>{const{__scopeDialog:e,children:r,open:s,defaultOpen:a,onOpenChange:i,modal:o=!0}=t,l=x.useRef(null),c=x.useRef(null),[d,u]=Ic({prop:s,defaultProp:a??!1,onChange:i,caller:Vd});return n.jsx(wO,{scope:e,triggerRef:l,contentRef:c,contentId:La(),titleId:La(),descriptionId:La(),open:d,onOpenChange:u,onOpenToggle:x.useCallback(()=>u(m=>!m),[u]),modal:o,children:r})};O1.displayName=Vd;var D1="DialogTrigger",M1=x.forwardRef((t,e)=>{const{__scopeDialog:r,...s}=t,a=Cr(D1,r),i=_e(e,a.triggerRef);return n.jsx(he.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Ip(a.open),...s,ref:i,onClick:se(t.onClick,a.onOpenToggle)})});M1.displayName=D1;var Pp="DialogPortal",[jO,L1]=I1(Pp,{forceMount:void 0}),z1=t=>{const{__scopeDialog:e,forceMount:r,children:s,container:a}=t,i=Cr(Pp,e);return n.jsx(jO,{scope:e,forceMount:r,children:x.Children.map(s,o=>n.jsx($r,{present:r||i.open,children:n.jsx(Cd,{asChild:!0,container:a,children:o})}))})};z1.displayName=Pp;var qc="DialogOverlay",B1=x.forwardRef((t,e)=>{const r=L1(qc,t.__scopeDialog),{forceMount:s=r.forceMount,...a}=t,i=Cr(qc,t.__scopeDialog);return i.modal?n.jsx($r,{present:s||i.open,children:n.jsx(SO,{...a,ref:e})}):null});B1.displayName=qc;var NO=si("DialogOverlay.RemoveScroll"),SO=x.forwardRef((t,e)=>{const{__scopeDialog:r,...s}=t,a=Cr(qc,r);return n.jsx(Tp,{as:NO,allowPinchZoom:!0,shards:[a.contentRef],children:n.jsx(he.div,{"data-state":Ip(a.open),...s,ref:e,style:{pointerEvents:"auto",...s.style}})})}),Un="DialogContent",F1=x.forwardRef((t,e)=>{const r=L1(Un,t.__scopeDialog),{forceMount:s=r.forceMount,...a}=t,i=Cr(Un,t.__scopeDialog);return n.jsx($r,{present:s||i.open,children:i.modal?n.jsx(_O,{...a,ref:e}):n.jsx(kO,{...a,ref:e})})});F1.displayName=Un;var _O=x.forwardRef((t,e)=>{const r=Cr(Un,t.__scopeDialog),s=x.useRef(null),a=_e(e,r.contentRef,s);return x.useEffect(()=>{const i=s.current;if(i)return R1(i)}
vendor: 4,096 bytes, lines 428-432
428,[]),n.jsx($1,{...t,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:se(t.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=r.triggerRef.current)==null||o.focus()}),onPointerDownOutside:se(t.onPointerDownOutside,i=>{const o=i.detail.originalEvent,l=o.button===0&&o.ctrlKey===!0;(o.button===2||l)&&i.preventDefault()}),onFocusOutside:se(t.onFocusOutside,i=>i.preventDefault())})}),kO=x.forwardRef((t,e)=>{const r=Cr(Un,t.__scopeDialog),s=x.useRef(!1),a=x.useRef(!1);return n.jsx($1,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,l;(o=t.onCloseAutoFocus)==null||o.call(t,i),i.defaultPrevented||(s.current||(l=r.triggerRef.current)==null||l.focus(),i.preventDefault()),s.current=!1,a.current=!1},onInteractOutside:i=>{var c,d;(c=t.onInteractOutside)==null||c.call(t,i),i.defaultPrevented||(s.current=!0,i.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const o=i.target;((d=r.triggerRef.current)==null?void 0:d.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&a.current&&i.preventDefault()}})}),$1=x.forwardRef((t,e)=>{const{__scopeDialog:r,trapFocus:s,onOpenAutoFocus:a,onCloseAutoFocus:i,...o}=t,l=Cr(Un,r),c=x.useRef(null),d=_e(e,c);return e1(),n.jsxs(n.Fragment,{children:[n.jsx(Cp,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:a,onUnmountAutoFocus:i,children:n.jsx(Ko,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Ip(l.open),...o,ref:d,onDismiss:()=>l.onOpenChange(!1)})}),n.jsxs(n.Fragment,{children:[n.jsx(CO,{titleId:l.titleId}),n.jsx(AO,{contentRef:c,descriptionId:l.descriptionId})]})]})}),Rp="DialogTitle",U1=x.forwardRef((t,e)=>{const{__scopeDialog:r,...s}=t,a=Cr(Rp,r);return n.jsx(he.h2,{id:a.titleId,...s,ref:e})});U1.displayName=Rp;var V1="DialogDescription",W1=x.forwardRef((t,e)=>{const{__scopeDialog:r,...s}=t,a=Cr(V1,r);return n.jsx(he.p,{id:a.descriptionId,...s,ref:e})});W1.displayName=V1;var H1="DialogClose",q1=x.forwardRef((t,e)=>{const{__scopeDialog:r,...s}=t,a=Cr(H1,r);return n.jsx(he.button,{type:"button",...s,ref:e,onClick:se(t.onClick,()=>a.onOpenChange(!1))})});q1.displayName=H1;function Ip(t){return t?"open":"closed"}var G1="DialogTitleWarning",[l8,Q1]=qk(G1,{contentName:Un,titleName:Rp,docsSlug:"dialog"}),CO=({titleId:t})=>{const e=Q1(G1),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. 429 430If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component. 431 432For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return x.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},EO="DialogDescriptionWarning",AO=({contentRef:t,descriptionId:e})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Q1(EO).contentName}}.`;return x.useEffect(()=>{var i;const a=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&a&&(document.getElementById(e)||console.warn(s))},[s,t,e]),null},TO=O1,PO=M1,RO=z1,Y1=B1,K1=F1,Z1=U1,J1=W1,IO=q1;const X1=TO,OO=PO,DO=RO,eN=x.forwardRef(({className:t,...e},r)=>n.jsx(Y1,{ref:r,className:ye("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));eN.displayName=Y1.displayName;const Op=x.forwardRef(({className:t,children:e,...r},s)=>n.jsxs(DO,{children:[n.jsx(eN,{}),n.jsxs(K1,{ref:s,className:ye("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...r,children:[e,n.jsxs(IO,{className:"absolute right-4 top-4 roun
432ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[n.jsx(Dw,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Op.displayName=K1.displayName;const Dp=({className:t,...e})=>n.jsx("div",{className:ye("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});Dp.displayName="DialogHeader";const Mp=x.forwardRef(({className:t,...e},r)=>n.jsx(Z1,{ref:r,className:ye("text-lg font-semibold leading-none tracking-tight",t),...e}));Mp.displayName=Z1.displayName;const tN=x.forwardRef(({className:t,...e},r)=>n.jsx(J1,{ref:r,className:ye("text-sm text-muted-foreground",t),...e}));tN.displayName=J1.displayName;const nt=x.forwardRef(({className:t,type:e,...r},s)=>n.jsx("input",{type:e,className:ye("flex h-10 w-full rounded-md border border-input bg-background px-3 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:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:s,...r}));nt.displayName="Input";var MO=x.createContext(void 0);function rN(t){const e=x.useContext(MO);return t||e||"ltr"}function kh(t,[e,r]){return Math.min(r,Math.max(e,t))}function LO(t,e){return x.useReducer((r,s)=>e[r][s]??r,t)}var Lp="ScrollArea",[sN,c8]=nn(Lp),[zO,sr]=sN(Lp),nN=x.forwardRef((t,e)=>{const{__scopeScrollArea:r,type:s="hover",dir:a,scrollHideDelay:i=600,...o}=t,[l,c]=x.useState(null),[d,u]=x.useState(null),[m,h]=x.useState(null),[f,v]=x.useState(null),[p,w]=x.useState(null),[b,g]=x.useState(0),[y,j]=x.useState(0),[N,S]=x.useState(!1),[_,E]=x.useState(!1),T=_e(e,B=>c(B)),O=rN(a);return n.jsx(zO,{scope:r,type:s,dir:O,scrollHideDelay:i,scrollArea:l,viewport:d,onViewportChange:u,content:m,onContentChange:h,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:N,onScrollbarXEnabledChange:S,scrollbarY:p,onScrollbarYChange:w,scrollbarYEnabled:_,onScrollbarYEnabledChange:E,onCornerWidthChange:g,onCornerHeightChange:j,children:n.jsx(he.div,{dir:O,...o,ref:T,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":y+"px",...t.style}})})});nN.displayName=Lp;var aN="ScrollAreaViewport",iN=x.forwardRef((t,e)=>{const{__scopeScrollArea:r,children:s,nonce:a,...i}=t,o=sr(aN,r),l=x.useRef(null),c=_e(e,l,o.onViewportChange);return n.jsxs(n.Fragment,{children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),n.jsx(he.div,{"data-radix-scroll-area-viewport":"",...i,ref:c,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...t.style},children:n.jsx("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"},children:s})})]})});iN.displayName=aN;var Vr="ScrollAreaScrollbar",zp=x.forwardRef((t,e)=>{const{forceMount:r,...s}=t,a=sr(Vr,t.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:o}=a,l=t.orientation==="horizontal";return x.useEffect(()=>(l?i(!0):o(!0),()=>{l?i(!1):o(!1)}),[l,i,o]),a.type==="hover"?n.jsx(BO,{...s,ref:e,forceMount:r}):a.type==="scroll"?n.jsx(FO,{...s,ref:e,forceMount:r}):a.type==="auto"?n.jsx(oN,{...s,ref:e,forceMount:r}):a.type==="always"?n.jsx(Bp,{...s,ref:e}):null});zp.displayName=Vr;var BO=x.forwardRef((t,e)=>{const{forceMount:r,...s}=t,a=sr(Vr,t.__scopeScrollArea),[i,o]=x.useState(!1);return x.useEffect(()=>{const l=a.scrollArea;let c=0;if(l){const d=()=>{window.clearTimeout(c),o(!0)},u=()=>{c=window.setTimeout(()=>o(!1),a.scrollHideDelay)};return l.addEventListener("pointerenter",d),l.addEventListener("pointerleave",u),()=>{window.clearTimeout(c),l.removeEventListener("pointerenter",d),l.removeEventListener("pointerleave",u)}}},[a.scrollArea,a.scrollHideDelay]),n.jsx($r,{present:r||i,children:n.jsx(oN,{"data-state":i?"visible":"hidden",...s,ref:e})})}),FO=x.forwardRef((t,e)=>{const{forceMount:r,...s}=t,a=sr(Vr,t.__scopeScrollArea),i=t.orientation==="horizontal",o=Hd(()=>c("SCROLL_END"),100),[l,c]=LO("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return x.useEffect(()=>{if(l==="idle"){const d=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[l,a.scrollHideDelay,c]),x.useEffect(()=>{const d=a.viewport,u=i?"scrollLeft":"scrollTop";if(d){let m=d[u];const h=()=>{const f=d[u];m!==f&&(c("SCROLL"),o()),m=f};return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[a.viewport,i,c,o]),n.jsx($r,{present:r||l!=="hidden",children:n.jsx(Bp,{"data-state":l==="hidden"?"hidden":"visible",...s,ref:e,onPointerEnter:se(t.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:se(t.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),oN=x.forwardRef((t,e)=>{const r=sr(Vr,t.__scopeScrollArea),{forceMount:s,...a}=t,[i,o]=x.useState(!1),l=t.orientation==="horizontal",c=Hd(()=>
vendor: 5,071 bytes, line 432
432{if(r.viewport){const d=r.viewport.offsetWidth<r.viewport.scrollWidth,u=r.viewport.offsetHeight<r.viewport.scrollHeight;o(l?d:u)}},10);return li(r.viewport,c),li(r.content,c),n.jsx($r,{present:s||i,children:n.jsx(Bp,{"data-state":i?"visible":"hidden",...a,ref:e})})}),Bp=x.forwardRef((t,e)=>{const{orientation:r="vertical",...s}=t,a=sr(Vr,t.__scopeScrollArea),i=x.useRef(null),o=x.useRef(0),[l,c]=x.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=mN(l.viewport,l.content),u={...s,sizes:l,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:h=>i.current=h,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:h=>o.current=h};function m(h,f){return qO(h,o.current,l,f)}return r==="horizontal"?n.jsx($O,{...u,ref:e,onThumbPositionChange:()=>{if(a.viewport&&i.current){const h=a.viewport.scrollLeft,f=Ty(h,l,a.dir);i.current.style.transform=`translate3d(${f}px, 0, 0)`}},onWheelScroll:h=>{a.viewport&&(a.viewport.scrollLeft=h)},onDragScroll:h=>{a.viewport&&(a.viewport.scrollLeft=m(h,a.dir))}}):r==="vertical"?n.jsx(UO,{...u,ref:e,onThumbPositionChange:()=>{if(a.viewport&&i.current){const h=a.viewport.scrollTop,f=Ty(h,l);i.current.style.transform=`translate3d(0, ${f}px, 0)`}},onWheelScroll:h=>{a.viewport&&(a.viewport.scrollTop=h)},onDragScroll:h=>{a.viewport&&(a.viewport.scrollTop=m(h))}}):null}),$O=x.forwardRef((t,e)=>{const{sizes:r,onSizesChange:s,...a}=t,i=sr(Vr,t.__scopeScrollArea),[o,l]=x.useState(),c=x.useRef(null),d=_e(e,c,i.onScrollbarXChange);return x.useEffect(()=>{c.current&&l(getComputedStyle(c.current))},[c]),n.jsx(cN,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:i.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:i.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Wd(r)+"px",...t.style},onThumbPointerDown:u=>t.onThumbPointerDown(u.x),onDragScroll:u=>t.onDragScroll(u.x),onWheelScroll:(u,m)=>{if(i.viewport){const h=i.viewport.scrollLeft+u.deltaX;t.onWheelScroll(h),fN(h,m)&&u.preventDefault()}},onResize:()=>{c.current&&i.viewport&&o&&s({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:Qc(o.paddingLeft),paddingEnd:Qc(o.paddingRight)}})}})}),UO=x.forwardRef((t,e)=>{const{sizes:r,onSizesChange:s,...a}=t,i=sr(Vr,t.__scopeScrollArea),[o,l]=x.useState(),c=x.useRef(null),d=_e(e,c,i.onScrollbarYChange);return x.useEffect(()=>{c.current&&l(getComputedStyle(c.current))},[c]),n.jsx(cN,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Wd(r)+"px",...t.style},onThumbPointerDown:u=>t.onThumbPointerDown(u.y),onDragScroll:u=>t.onDragScroll(u.y),onWheelScroll:(u,m)=>{if(i.viewport){const h=i.viewport.scrollTop+u.deltaY;t.onWheelScroll(h),fN(h,m)&&u.preventDefault()}},onResize:()=>{c.current&&i.viewport&&o&&s({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:Qc(o.paddingTop),paddingEnd:Qc(o.paddingBottom)}})}})}),[VO,lN]=sN(Vr),cN=x.forwardRef((t,e)=>{const{__scopeScrollArea:r,sizes:s,hasThumb:a,onThumbChange:i,onThumbPointerUp:o,onThumbPointerDown:l,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:u,onResize:m,...h}=t,f=sr(Vr,r),[v,p]=x.useState(null),w=_e(e,T=>p(T)),b=x.useRef(null),g=x.useRef(""),y=f.viewport,j=s.content-s.viewport,N=st(u),S=st(c),_=Hd(m,10);function E(T){if(b.current){const O=T.clientX-b.current.left,B=T.clientY-b.current.top;d({x:O,y:B})}}return x.useEffect(()=>{const T=O=>{const B=O.target;(v==null?void 0:v.contains(B))&&N(O,j)};return document.addEventListener("wheel",T,{passive:!1}),()=>document.removeEventListener("wheel",T,{passive:!1})},[y,v,j,N]),x.useEffect(S,[s,S]),li(v,_),li(f.content,_),n.jsx(VO,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:st(i),onThumbPointerUp:st(o),onThumbPositionChange:S,onThumbPointerDown:st(l),children:n.jsx(he.div,{...h,ref:w,style:{position:"absolute",...h.style},onPointerDown:se(t.onPointerDown,T=>{T.button===0&&(T.target.setPointerCapture(T.pointerId),b.current=v.getBoundingClientRect(),g.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),E(T))}),onPointerMove:se(t.onPointerMove,E),onPointerUp:se(t.onPointerUp,T=>{const O=T.target;O.hasPointerCapture(T.pointerId)&&O.releasePointerCapture(T.pointerId),document.body.style.webkitUserSelect=g.current,f.viewport&&(f.viewport.style.scrollBehavior=""),b.current=null})})})}),Gc="ScrollAreaThumb",dN=x.forwardRef((t,e)=>{const{forceMount:r,...s}=t,a=lN(Gc,t.__scopeScrollArea);return n.jsx($r,{present:r||a.hasThumb,children:n.jsx(WO,{ref:e,...s})})}),WO=x.forwardRef((t,e)=>{const{__scopeScrollArea:r,style:s,...a}=t,i=sr(Gc,r),o=lN(Gc,r),{onThumbPositionChange:l}=o,c=_e(e,m=>o.onThumbChange(m)),d=x.useRef(void 0),u=Hd(()=>{d.current&&(d.current(),d.current=void 0)},100);return x.useEffect(()=>{const m=i.viewport;if(m){const h=()=>
vendor: 3,823 bytes, line 432
432{if(u(),!d.current){const f=GO(m,l);d.current=f,l()}};return l(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[i.viewport,u,l]),n.jsx(he.div,{"data-state":o.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:se(t.onPointerDownCapture,m=>{const f=m.target.getBoundingClientRect(),v=m.clientX-f.left,p=m.clientY-f.top;o.onThumbPointerDown({x:v,y:p})}),onPointerUp:se(t.onPointerUp,o.onThumbPointerUp)})});dN.displayName=Gc;var Fp="ScrollAreaCorner",uN=x.forwardRef((t,e)=>{const r=sr(Fp,t.__scopeScrollArea),s=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&s?n.jsx(HO,{...t,ref:e}):null});uN.displayName=Fp;var HO=x.forwardRef((t,e)=>{const{__scopeScrollArea:r,...s}=t,a=sr(Fp,r),[i,o]=x.useState(0),[l,c]=x.useState(0),d=!!(i&&l);return li(a.scrollbarX,()=>{var m;const u=((m=a.scrollbarX)==null?void 0:m.offsetHeight)||0;a.onCornerHeightChange(u),c(u)}),li(a.scrollbarY,()=>{var m;const u=((m=a.scrollbarY)==null?void 0:m.offsetWidth)||0;a.onCornerWidthChange(u),o(u)}),d?n.jsx(he.div,{...s,ref:e,style:{width:i,height:l,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...t.style}}):null});function Qc(t){return t?parseInt(t,10):0}function mN(t,e){const r=t/e;return isNaN(r)?0:r}function Wd(t){const e=mN(t.viewport,t.content),r=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,s=(t.scrollbar.size-r)*e;return Math.max(s,18)}function qO(t,e,r,s="ltr"){const a=Wd(r),i=a/2,o=e||i,l=a-o,c=r.scrollbar.paddingStart+o,d=r.scrollbar.size-r.scrollbar.paddingEnd-l,u=r.content-r.viewport,m=s==="ltr"?[0,u]:[u*-1,0];return hN([c,d],m)(t)}function Ty(t,e,r="ltr"){const s=Wd(e),a=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,i=e.scrollbar.size-a,o=e.content-e.viewport,l=i-s,c=r==="ltr"?[0,o]:[o*-1,0],d=kh(t,c);return hN([0,o],[0,l])(d)}function hN(t,e){return r=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const s=(e[1]-e[0])/(t[1]-t[0]);return e[0]+s*(r-t[0])}}function fN(t,e){return t>0&&t<e}var GO=(t,e=()=>{})=>{let r={left:t.scrollLeft,top:t.scrollTop},s=0;return function a(){const i={left:t.scrollLeft,top:t.scrollTop},o=r.left!==i.left,l=r.top!==i.top;(o||l)&&e(),r=i,s=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(s)};function Hd(t,e){const r=st(t),s=x.useRef(0);return x.useEffect(()=>()=>window.clearTimeout(s.current),[]),x.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(r,e)},[r,e])}function li(t,e){const r=st(e);it(()=>{let s=0;if(t){const a=new ResizeObserver(()=>{cancelAnimationFrame(s),s=window.requestAnimationFrame(r)});return a.observe(t),()=>{window.cancelAnimationFrame(s),a.unobserve(t)}}},[t,r])}var pN=nN,QO=iN,YO=uN;const xN=x.forwardRef(({className:t,children:e,...r},s)=>n.jsxs(pN,{ref:s,className:ye("relative overflow-hidden",t),...r,children:[n.jsx(QO,{className:"h-full w-full rounded-[inherit]",children:e}),n.jsx(gN,{}),n.jsx(YO,{})]}));xN.displayName=pN.displayName;const gN=x.forwardRef(({className:t,orientation:e="vertical",...r},s)=>n.jsx(zp,{ref:s,orientation:e,className:ye("flex touch-none select-none transition-colors",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...r,children:n.jsx(dN,{className:"relative flex-1 rounded-full bg-border"})}));gN.displayName=zp.displayName;const Yc=({onSelectTimezone:t,onUseUserTimezone:e,currentTimezone:r,language:s="es"})=>{const[a,i]=x.useState(!1),[o,l]=x.useState(""),c=Jj(),d=_p(c),u=Np[s].timezone,m=x.useMemo(()=>{if(!o)return wh;const p=o.toLowerCase();return wh.filter(w=>w.label.toLowerCase().includes(p)||w.region.toLowerCase().includes(p))},[o]),h=x.useMemo(()=>{const p={};return m.forEach(w=>
432{p[w.region]||(p[w.region]=[]),p[w.region].push(w)}),p},[m]),f=p=>{t(p),i(!1),l("")},v=()=>{e(),i(!1),l("")};return n.jsxs(X1,{open:a,onOpenChange:i,children:[n.jsx(OO,{asChild:!0,children:n.jsxs($,{variant:"outline",size:"lg",className:"gap-2 border-primary/30 bg-background/95 hover:bg-background/95 hover:scale-105 transition-transform duration-200 w-full sm:w-auto sm:min-w-[280px] sm:py-6 text-sm sm:text-base",children:[n.jsx(QC,{className:"h-5 w-5"}),u.button]})}),n.jsxs(Op,{className:"sm:max-w-[500px]",children:[n.jsxs(Dp,{children:[n.jsx(Mp,{children:u.title}),n.jsx(tN,{children:u.description})]}),n.jsxs("div",{className:"space-y-4",children:[d&&n.jsxs("div",{className:"p-4 rounded-lg bg-primary/5 border border-primary/20",children:[n.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:u.detected}),n.jsxs($,{onClick:v,variant:"secondary",className:"w-full justify-between",children:[n.jsx("span",{children:d.label}),n.jsxs("span",{className:"text-xs text-muted-foreground",children:[jh(c).time,"h"]})]})]}),n.jsxs("div",{className:"relative",children:[n.jsx(Tw,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),n.jsx(nt,{placeholder:u.searchPlaceholder,value:o,onChange:p=>l(p.target.value),className:"pl-9"})]}),n.jsx(xN,{className:"h-[300px] rounded-md border",children:n.jsx("div",{className:"p-4 space-y-4",children:Object.entries(h).map(([p,w])=>n.jsxs("div",{children:[n.jsx("h4",{className:"text-sm font-semibold text-muted-foreground mb-2",children:p}),n.jsx("div",{className:"space-y-1",children:w.map(b=>{const g=jh(b.value),y=r===b.value;return n.jsx("button",{onClick:()=>f(b.value),className:`w-full text-left px-3 py-2 rounded-md text-sm transition-colors ${y?"bg-primary text-primary-foreground":"hover:bg-accent"}`,children:n.jsxs("div",{className:"flex justify-between items-center",children:[n.jsx("span",{children:b.label}),n.jsxs("span",{className:`text-xs ${y?"text-primary-foreground":"text-muted-foreground"}`,children:[g.time,"h"]})]})},b.value)})})]},p))})})]})]})]})},KO=()=>{var i;const{displayTime:t,selectTimezone:e,useUserTimezone:r,selectedTimezone:s}=kp(),a=()=>{var o;(o=document.getElementById("registro"))==null||o.scrollIntoView({behavior:"smooth"})};return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx(Jn,{onClick:a}),n.jsxs("section",{id:"hero-section",className:"relative overflow-hidden min-h-[90vh] flex items-center",children:[n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("img",{src:rl,alt:"",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),n.jsx("div",{className:"container mx-auto px-4 py-20 relative z-10",children:n.jsxs("div",{className:"max-w-5xl",children:[n.jsx("div",{className:"inline-flex items-center gap-2 mb-6 px-4 py-2 bg-primary rounded-full",children:n.jsx("span",{className:"text-sm font-semibold text-primary-foreground",children:"⨠Webinar Gratuito"})}),n.jsxs("h1",{className:"text-5xl md:text-7xl font-bold mb-6 leading-tight max-w-3xl",children:[n.jsx("span",{className:"text-white",children:"Optimiza tus Proyectos con"})," ",n.jsx("span",{className:"text-primary",children:"Aceros de Alta Resistencia"})]}),n.jsx("p",{className:"text-lg md:text-xl text-white/90 mb-10 max-w-2xl",children:"Aprende a diseñar estructuras más eficientes, reducir costes y optimizar tiempos de fabricación con las herramientas más avanzadas del sector."}),n.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 md:gap-4 mb-8 max-w-3xl",children:[n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Yn,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"19 de Noviembre 2025"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Miércoles"})]})}),n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(xe,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsxs("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:[t.time," (",s&&((i=_p(s))==null?void 0:i.label)||"España",")"]}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"1 hora de duración"})]})}),n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Ot,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"Online y Gratuito"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Plazas limitadas"})]})})]}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 md:gap-4 mb-6",children:[n.jsx($,{onClick:()=>window.open("https://attendee.gotowebinar.com/register/5153048611088303958","_blank"),variant:"cta",size:"xl",className:"w-full sm:w-auto
432sm:min-w-[280px] text-base md:text-lg animate-pulse-glow",children:"Reserva tu Plaza Gratuita â"}),n.jsx(Yc,{onSelectTimezone:e,onUseUserTimezone:r,currentTimezone:s})]}),n.jsxs("div",{className:"flex items-center gap-2 text-xs md:text-sm text-white/80",children:[n.jsx("span",{className:"text-sm md:text-base",children:"ð"}),n.jsx("span",{children:"Registro 100% seguro · Sin compromiso · Confirmación inmediata"})]})]})})]}),n.jsx("section",{className:"py-12 md:py-20 bg-secondary/30",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"¿Qué Aprenderás en Este Webinar?"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Conocimientos prácticos que aplicarás inmediatamente en tus proyectos"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-4 md:gap-8",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Diseño Estructural Optimizado"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Domina el uso de aceros de alta resistencia para optimizar secciones, reducir espesores de soldadura y mejorar la eficiencia estructural con IDEA StatiCa, Consteel y Diamonds."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Reducción de Costes y Tiempos"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Aprende estrategias comprobadas para reducir costes de fabricación, acelerar los tiempos de montaje y mejorar la competitividad de tus proyectos estructurales."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Casos Reales de Ãxito"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Descubre cómo empresas lÃderes han implementado aceros de alta resistencia con resultados medibles, incluyendo casos de estudio de proyectos reales compartidos por Metaldeza, cliente de Construsoft."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Software BIM Avanzado"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Domina IDEA StatiCa, Consteel y Diamonds para modelar, verificar y optimizar uniones estructurales complejas según normativas internacionales."})]})]})})})]})]})})}),n.jsx("section",{className:"py-12 md:py-20 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Expertos LÃderes del Sector"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Aprende de los mejores profesionales en estructuras de acero"}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-6 md:gap-8",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"w-full max-w-[280px] mx-auto mb-4 overflow-hidden rounded-lg",children:n.jsx("img",{src:BR,alt:"Miguel Alquézar",className:"w-full h-auto object-contain"})}),n.jsx("p",{className:"text-muted-foreground mb-4",children:"Miguel Alquézar te mostrará cómo optimizar diseños con IDEA StatiCa, Consteel y Diamonds."}),n.jsx("div",{className:"text-sm font-medium text-primary",children:"Software BIM & Cálculo"})]})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"w-full max-w-[280px] mx-auto mb-4 overflow-hidden rounded-lg",children:n.jsx("img",{src:FR,alt:"Micael Bello",className:"w-full h-auto object-contain"})}),n.jsx("p",{className:"text-muted-foreground mb-4",children:"Micael Bello compartirá las propiedades y aplicaciones de los aceros de alta resistencia."}),n.jsx("div",{className:"text-sm font-medium text-primary",children:"Fabricación de Acero"})]})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"w-full max-w-[280px] mx-auto mb-4 overflow-hidden rounded-lg",children:n.jsx("img",{src:$R,alt:"Metaldeza",className:"w-full h-auto object-contain"})}),n.jsx("p",{className:"text-muted-foreground mb-4",children:"Cliente de Construsoft que compartirá su experiencia real implementando aceros de alta resistencia en proyectos de construcción metálica."}),n.jsx("div",{className:"text-sm font-medium text-primary",children:"Caso de Ãxito"})]})})]})]})})}),n.jsx("section",{id:"programa",className:"py-12 md:py-20 bg-muted/30 scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Programa del Webinar"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"1 hora intensiva de contenido práctico y valioso"}),n.jsxs("div",{className:"space-y-4",children:[n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Introducción a la Jornada"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:00"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Miguel Alquézar (Construsoft) - Bienvenida y contexto del webinar"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Aceros de Alta Re
432sistencia: Propiedades y Aplicaciones"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:15"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Micael Bello (ArcelorMittal) - CaracterÃsticas técnicas, ventajas en fabricación y comportamiento ante el fuego"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Caso de Ãxito con Aceros de Alta Resistencia"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:30"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Metaldeza (Cliente Construsoft) - Presentación de proyecto real: optimización con aceros de alta resistencia, ahorro de costes y mejora de eficiencia en construcción metálica"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Aplicaciones en Software: Consteel, Diamonds y IDEA StatiCa"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:45"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Miguel Alquézar (Construsoft) - Demostración práctica de optimización de diseño y verificación según códigos internacionales"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Preguntas y Respuestas + Networking Técnico"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"18:00"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Sesión interactiva para resolver tus dudas especÃficas y conectar con expertos y otros profesionales"})]})]})})})]})]})})}),n.jsxs("section",{id:"registro",className:"relative py-12 md:py-20 overflow-hidden scroll-mt-20",children:[n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("img",{src:Vj,alt:"",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-black/70"})]}),n.jsx("div",{className:"container mx-auto px-4 relative z-10",children:n.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-5xl font-bold text-white mb-4 md:mb-6 px-4",children:"Reserva Tu Plaza Gratuita Ahora"}),n.jsx("p",{className:"text-lg md:text-xl text-white/90 mb-6 md:mb-8 px-4",children:"Plazas limitadas. No pierdas esta oportunidad única de aprender de los mejores expertos del sector."}),n.jsx(k,{className:"border-border shadow-xl bg-background/95 backdrop-blur-sm",children:n.jsx(C,{className:"pt-8 pb-8",children:n.jsx("div",{className:"space-y-6",children:n.jsxs("div",{className:"pt-4",children:[n.jsx($,{onClick:()=>window.open("https://attendee.gotowebinar.com/register/5153048611088303958","_blank"),variant:"cta",size:"xl",className:"w-full md:w-auto min-w-[300px]",children:"InscrÃbete Ahora (100% Gratis)"}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:"â° Ãltimo dÃa para inscribirte: 18 de Noviembre 2025"})]})})})}),n.jsxs("div",{className:"mt-12 grid grid-cols-1 md:grid-cols-3 gap-6 text-center",children:[n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"100%"}),n.jsx("div",{className:"text-sm text-white/80",children:"Gratuito"})]}),n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"1 hora"}),n.jsx("div",{className:"text-sm text-white/80",children:"De contenido práctico"})]}),n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"3 expertos"}),n.jsx("div",{className:"text-sm text-white/80",children:"LÃderes del sector"})]})]})]})})]}),n.jsx("section",{className:"py-12 md:py-16 bg-background border-t border-border",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-xl md:text-2xl font-semibold text-center text-foreground mb-8 md:mb-12",children:"Con el apoyo de:"}),n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-12 items-center justify-items-center",children:[n.jsx("div",{className:"w-full max-w-[240px] flex items-center justify-center",children:n.jsx("img",{src:Fd,alt:"Construsoft",className:"w-full h-auto object-contain"})}),n.jsx("div",{className:"w-full max-w-[240px] flex items-center justify-center",children:n.jsx("img",{src:Uj,alt:"ArcelorMittal",className:"w-full h-auto object-contain"})}),n.jsx("div",{className:"w-full max-w-[240px] flex items-center justify-center",children:n.jsx("img",{src:UR,alt:"Steligence",className:"w-full h-auto object-contain"})})]})]})})})]})},ZO=Td("inline-flex items-center rounded-full border px-2.5 py-0.5 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-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Il({className:t,variant:e,...r}){return n.jsx("div",{className:ye(ZO({variant:e}),t),...r})}var $p="Progress",Up=100,[JO,d8]=nn($p),[XO,e3]=JO($p),yN=x.forwardRef((t,e)=>{const{__scopeProgress:r,value:s=null,max:a,getValueLabel:i=t3,...o}=t;(a||a===0)&&!Py(a)&&console.error(r3(`${a}`,"Progress"));const l=Py(a)?a:Up;s!==null&&!Ry(s,l)&&console.error(s3(`${s}`,"Progress"));const c=Ry(s,l)?s:null,d=Kc(c)?i(c,l):void 0;return n.jsx(XO,{scope:r,value:c,max:l,children:n.jsx(he.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":Kc(c)?c:void 0,"aria-valuetext":d,role:"progressbar","data-state":wN(c,l),"data-value":c??void 0,"data-max":l,...o,ref:e})})});yN.displayName=$p;var vN="ProgressIndicator",bN=x.forwardRef((t,e)=>{const{__scopeProgress:r,...s}=t,a=e3(vN,r);return n.jsx(he.div,{"data-state":wN(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...s,ref:e})});bN.displayName=vN;function t3(t,e){return`${Math.round(t/e*100)}%`}function wN(t,e){return t==null?"indeterminate":t===e?"complete":"loading"}function Kc(t){return typeof t=="number"}function Py(t){return Kc(t)&&!isNaN(t)&&t>0}function Ry(t,e){return Kc(t)&&!isNaN(t)&&t<=e&&t>=0}function r3(t,e){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Up}\`.`}function s3(t,e){return`Invalid prop \`value\` of value \`${t}\` supplied to \`${e}\`. The \`value\` prop must be: 433 - a positive number 434 - less than the value passed to \`max\` (or ${Up} if no \`max\` prop is set) 435 - \`null\` or \`undefined\` if the progress is indeterminate. 436 437Defaulting to \`null\`.`}var jN=yN,n3=bN;const NN=x.forwardRef(({className:t,value:e,...r},s)=>n.jsx(jN,{ref:s,className:ye("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...r,children:n.jsx(n3,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));NN.displayName=jN.displayName;const a3=()=>{const[t,e]=x.useState({days:1,hours:13,minutes:3,seconds:25});x.useEffect(()=>{const d=setInterval(()=>{e(u=>u.seconds>0?{...u,seconds:u.seconds-1}:u.minutes>0?{...u,minutes:u.minutes-1,seconds:59}:u.hours>0?{...u,hours:u.hours-1,minutes:59,seconds:59}:u.days>0?{...u,days:u.days-1,hours:23,minutes:59,seconds:59}:u)},1e3);return()=>clearInterval(d)},[]);const r=()=>{window.open("https://attendee.gotowebinar.com/register/5153048611088303958","_blank")},s=[{title:"Pierdes horas creando contenido que no te trae clientes",description:"Dedicas tiempo valioso escribiendo posts, pero no generas reuniones. Te sientes invisible en LinkedIn."},{title:"Dependes 100% de referidos y networking presencial",description:"El 64% de consultores dependen solo de boca a oreja. Sin referidos, no hay negocio predecible."},{title:'Herramientas "mágicas" que solo traen problemas',description:"El 90%+ de sistemas violan las polÃticas de LinkedIn. Resultado: cuentas suspendidas y dinero perdido."}],a=[{title:"Que los clientes lleguen a ti",description:"Sistema automatizado que atrajga prospectos calificados sin perseguir a nadie."},{title:"Solo 1 hora A LA SEMANA en LinkedIn",description:"Tiempo libre para estrategia y familia, mientras generas oportunidades 24/7."},{title:"Leads de mayor calidad",description:"Posicionarte como referente para que te busquen por valor, no por precio."}],i=["Acceso completo al workshop EN VIVO (3 horas)","Los 5 niveles de la IA paso a paso","Prompts exactos que uso con mis clientes","Casos reales de consultores B2B","Sesión de Q&A personalizada","Comunidad privada de WhatsApp"],o=[{name:"MarÃa Elena Vargas",location:"Lima, Perú",role:"Consultora en Marketing Digital",rating:4.8,text:"Dejé de perseguir clientes. Los sistemas de automatización con ChatGPT me generaron 80 reuniones en 15 dÃas. Ahora me reconocen como experta en mi sector."},{name:"Carlos Mendoza",location:"Bogotá, Colombia",role:"Fundador Startup FinTech",rating:5,text:"El sistema de Perplexity para investigar tendencias me dio 10,000 impresiones en la primera semana. Ya no pierdo tiempo pensando qué publicar."},{name:"SofÃa RodrÃguez",location:"Santiago, Chile",role:"Consultora en Recursos Humanos",rating:4.8,text:"Los agentes de IA automatizaron mi prospección. Mi bandeja está llena de mensajes pidiendo cotizaciones. Pasé de invisible a estar siempre visible."}],[l,c]=x.useState(0);return n.jsxs("div",{className:"min-h-screen text-white",style:{background:"var(--gradient-dark-hero)"},children:[n.jsx("section",{className:"container mx-auto px-4 py-12 md:py-20",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center space-y-8",children:[n.jsx(Il,{className:"text-sm md:text-base font-bold px-6 py-2",style:{background:"var(--gradient-orange)",border:"none"}
437,children:"Masterclass EN VIVO"}),n.jsxs("h1",{className:"text-4xl md:text-6xl lg:text-7xl font-bold leading-tight",children:["Atrae ",n.jsx("span",{style:{background:"var(--gradient-orange)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Clientes B2B"})," con tu propio"," ",n.jsx("span",{style:{background:"var(--gradient-accent)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Sistema de IA"})," en LinkedIn"]}),n.jsxs("p",{className:"text-xl md:text-2xl text-gray-300",children:["Aprende los 5 niveles de la IA para"," ",n.jsx("span",{className:"font-bold",style:{color:"hsl(35 100% 60%)"},children:"atraer clientes"})," en LinkedIn dedicando solo"," ",n.jsx("span",{className:"font-bold",children:"1 hora por semana"})]}),n.jsx(Il,{variant:"outline",className:"text-base px-6 py-2 border-gray-600 text-gray-300",children:"Para consultores y founders B2B"}),n.jsxs("div",{className:"pt-4",children:[n.jsxs("p",{className:"text-lg mb-2",children:["¿Cuándo?"," ",n.jsx("span",{className:"font-bold",style:{color:"hsl(35 100% 60%)"},children:"Jueves 16 de Octubre"})]}),n.jsx($,{onClick:r,size:"xl",className:"font-bold text-lg px-12 py-7 mt-4",style:{background:"var(--gradient-orange)",border:"none",boxShadow:"var(--shadow-glow)"},children:"RESERVAR MI LUGAR"})]}),n.jsxs("div",{className:"pt-8 space-y-3",children:[n.jsxs("p",{className:"text-sm",children:[n.jsx("span",{style:{color:"hsl(35 100% 60%)"},children:"Solo 200 vacantes"})," - Confirma ahora"]}),n.jsx("p",{className:"font-bold",style:{color:"hsl(35 100% 60%)"},children:"¡OCUPACIÃN AL 47%!"}),n.jsxs("div",{className:"max-w-md mx-auto",children:[n.jsx(NN,{value:47,className:"h-3"}),n.jsxs("div",{className:"flex justify-between text-xs mt-1 text-gray-400",children:[n.jsx("span",{children:"94 confirmados"}),n.jsx("span",{children:"106 disponibles"})]})]})]})]})}),n.jsx("section",{className:"py-16 bg-black/30",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4",children:'"Pierdes tiempo creando contenido cuando lo que importa en tu negocio es atender y cerrar clientes"'}),n.jsx("p",{className:"text-xl text-center text-gray-300 mb-12",children:"Esto es para ti si.."}),n.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-6xl mx-auto",children:s.map((d,u)=>n.jsx(k,{className:"bg-black/40 border-2 border-red-900/30 backdrop-blur-sm hover:border-red-700/50 transition-all",children:n.jsxs(C,{className:"p-6 space-y-3",children:[n.jsx("h3",{className:"text-lg font-bold text-white",children:d.title}),n.jsx("p",{className:"text-gray-400",children:d.description})]})},u))})]})}),n.jsx("section",{className:"py-16",style:{background:"var(--gradient-dark-hero)"},children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"Y lo que buscas es..."}),n.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-6xl mx-auto",children:a.map((d,u)=>n.jsx(k,{className:"bg-black/40 border-2 border-primary/30 backdrop-blur-sm hover:border-primary/50 transition-all",children:n.jsxs(C,{className:"p-6 space-y-3",children:[n.jsx("h3",{className:"text-lg font-bold text-white",children:d.title}),n.jsx("p",{className:"text-gray-400",children:d.description})]})},u))})]})}),n.jsx("section",{className:"py-16 bg-black/30",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:["Aprende a hacer que la IA te traiga"," ",n.jsx("span",{style:{background:"var(--gradient-orange)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"oportunidades y clientes"})," ","sin volverte esclavo de crear contenido."]}),n.jsx(k,{className:"max-w-3xl mx-auto bg-black/60 border-2 border-primary/30 backdrop-blur-sm",children:n.jsxs(C,{className:"p-8 md:p-12 space-y-6",children:[i.map((d,u)=>n.jsxs("div",{className:"flex items-start gap-3",children:[n.jsx(kw,{className:"w-6 h-6 text-primary flex-shrink-0 mt-1"}),n.jsx("p",{className:"text-lg",children:d})]},u)),n.jsxs("div",{className:"pt-6 border-t border-gray-700 space-y-4",children:[n.jsxs("p",{className:"text-center text-gray-400",children:["Valor total: ",n.jsx("span",{className:"line-through",children:"+â¬2.500"})]}),n.jsxs("p",{className:"text-center text-2xl font-bold",children:["Tu inversión hoy:"," ",n.jsx("span",{style:{color:"hsl(35 100% 60%)"},children:"GRATIS"})]}),n.jsx($,{onClick:r,size:"xl",className:"w-full font-bold text-lg",style:{background:"var(--gradient-orange)",border:"none"},children:"RESERVAR MI LUGAR GRATUITO"})]})]})})]})}),n.jsx("section",{className:"py-16",style:{background:"var(--gradient-dark-hero)"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsx(k,{className:"max-w-3xl mx-auto bg-black/60 border-2 border-primary/30 backdrop-blur-sm",children:n.jsxs(C,{className:"p-8 md:p-12 space-y-8",children:[n.jsx("h2",{className:"text-3xl font-bold text-center",children:"Tu masterclass exclusiva empieza en..."}),n.jsx("div",{className:"grid grid-cols-4 gap-4 max-w-xl mx-auto",children:[{value:t.days.toString().padStart(2,"0"),label:"DÃAS"},{value:t.hours.toString().padStart(2,"0"),label:"HRS"},{value:t.minutes.toString().padStart(2,"0"),label:"MIN"},{value:t.seconds.toString().padStart(2,"0"),label:"SEG"}].map((d,u)=>n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-4xl md:text-5xl font-bold py-6 rounded-lg",style:{background:"linear-gradient(135deg, hsl(25 30% 25%) 0%, hsl(25 20% 20%) 100%)"},children:d.value}),n.jsx("p",{className:"text-sm text-gray-400 mt-2",children:d.label})]},u))}),n.jsxs("div",{className:"space-y-4",children:[n.jsx("p",{className:"text-center text-gray-400",children:"Ver horarios en:"}),n.jsx("div",{className:"flex flex-wrap justify-center gap-2",children:["Perú / Colombia","CDMX (México)","Chile","España"].map((d,u)=>n.jsx(Il,{variant:u===3?"default":"outline",className:"px-4 py-2",style:u===3?{background:"var(--gradient-orange)",border:"none"}:{},children:d},u))})]}),n.jsxs("div",{className:"space-y-2",children:[n.jsx("p",{className:"font-bold text-center",children:"Horarios para España:"}),n.jsxs("div",{className:"p-4 rounded-lg flex justify-between items-center",style:{background:"linear-gradient(135deg, hsl(25 30% 25%) 0%, hsl(25 20% 20%) 100%)"},children:[n.jsx("span",{children:"Viernes 17/10 - Masterclass exclusiva"}),n.jsx("span",{className:"font-bold",style:{color:"hsl(35 100% 60%)"},children:"02:00"})]}),n.jsx("div",{className:"p-3 rounded-lg text-center bg-black/40",children:n.jsx("span",{style:{color:"hsl(35 100% 60%)"},children:"Replay exclusivo por 24 horas"})})]}),n.jsx("p",{className:"text-center text-sm",style:{color:"hsl(35 100% 60%)"},children:"â¡ Registro gratuito por tiempo limitado"})]})})})}),n.jsx("section",{className:"py-16 bg-black/30",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:["Ellos ya lo han logrado..."," ",n.jsx("span",{style:{background:"var(--gradient-orange)",WebkitBackgroun
437dClip:"text",WebkitTextFillColor:"transparent"},children:"y tú puedes ser el siguiente"})]}),n.jsxs("div",{className:"max-w-4xl mx-auto relative",children:[n.jsxs("div",{className:"flex items-center justify-between gap-4",children:[n.jsx($,{variant:"outline",size:"icon",className:"rounded-full",onClick:()=>c(d=>(d-1+o.length)%o.length),children:n.jsx(VC,{className:"w-4 h-4"})}),n.jsx(k,{className:"flex-1 bg-white text-black",children:n.jsxs(C,{className:"p-8 space-y-4",children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"w-12 h-12 bg-gray-300 rounded-full"}),n.jsxs("div",{children:[n.jsx("p",{className:"font-bold",children:o[l].name}),n.jsx("p",{className:"text-sm text-gray-600",children:o[l].location})]})]}),n.jsxs("p",{className:"italic",children:['"',o[l].text,'"']}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("p",{className:"font-bold",children:o[l].name}),n.jsx("p",{style:{color:"hsl(35 100% 50%)"},className:"text-sm font-semibold",children:o[l].role})]})]})}),n.jsx($,{variant:"outline",size:"icon",className:"rounded-full",onClick:()=>c(d=>(d+1)%o.length),children:n.jsx(WC,{className:"w-4 h-4"})})]}),n.jsx("div",{className:"flex justify-center gap-2 mt-6",children:o.map((d,u)=>n.jsx("div",{className:`w-2 h-2 rounded-full transition-all ${u===l?"bg-primary w-8":"bg-gray-600"}`},u))})]})]})}),n.jsx("section",{className:"py-16",style:{background:"var(--gradient-dark-hero)"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsx(k,{className:"max-w-2xl mx-auto bg-black/60 border-2 border-primary/30 backdrop-blur-sm",children:n.jsxs(C,{className:"p-8 md:p-12 space-y-6",children:[n.jsx(Il,{className:"text-sm font-bold px-6 py-2 mx-auto block w-fit",style:{background:"var(--gradient-orange)",border:"none"},children:"IMPORTANTE"}),n.jsxs("h2",{className:"text-3xl font-bold text-center",children:["RegÃstrate aquà abajo para asegurar tu vacante"," ",n.jsx("span",{style:{color:"hsl(35 100% 60%)"},children:"GRATUITA"})]}),n.jsx("p",{className:"text-center text-gray-300",children:"He creado una comunidad privada de Whatsapp donde compartiré información que no puedo compartir públicamente. Una vez te registres tendrás el link disponible."}),n.jsxs("div",{className:"space-y-4",children:[n.jsx(nt,{placeholder:"Nombre completo",className:"bg-black/40 border-gray-600 text-white placeholder:text-gray-500 py-6"}),n.jsx(nt,{type:"email",placeholder:"Correo electrónico",className:"bg-black/40 border-gray-600 text-white placeholder:text-gray-500 py-6"}),n.jsx($,{onClick:r,size:"xl",className:"w-full font-bold text-lg py-7",style:{background:"var(--gradient-orange)",border:"none"},children:"RESERVAR MI LUGAR"}),n.jsx("p",{className:"text-center text-sm text-gray-400",children:"Recibirás la confirmación vÃa email"})]})]})})})}),n.jsx("section",{className:"py-16 bg-black/30",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:["¿Quién organiza el"," ",n.jsx("span",{style:{background:"var(--gradient-orange)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"evento"}),"?"]}),n.jsx(k,{className:"max-w-3xl mx-auto bg-black/60 border-2 border-primary/30 backdrop-blur-sm",children:n.jsxs(C,{className:"p-8 md:p-12 space-y-6 text-center",children:[n.jsx("div",{className:"w-32 h-32 mx-auto rounded-full bg-gray-700 border-4",style:{borderColor:"hsl(35 100% 50%)"}}),n.jsx("h3",{className:"text-2xl font-bold",children:"Raúl DÃaz Miranda"}),n.jsx("p",{className:"text-xl font-semibold",style:{color:"hsl(35 100% 60%)"},children:"Autor Best Seller - Top Teacher es"}),n.jsx("p",{className:"text-gray-300 leading-relaxed",children:"Reconocido 2 veces como Top Teacher de Marketing en España por Business Insider. Autor best seller. 3 años logrando lo IMPOSIBLE: ayudar a consultores b2b y empresas a ahorrar tiempo en lo repetitivo sin perder autenticidad con IA. 11 años de experiencia. Máster en Neuromarketing UAB (Barcelona)"})]})})]})}),n.jsx("section",{className:"py-16",style:{background:"var(--gradient-dark-hero)"},children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4",children:["Ãnete a los más de"," ",n.jsx("span",{style:{background:"var(--gradient-orange)",WebkitBackgroun
437dClip:"text",WebkitTextFillColor:"transparent"},children:"1,000 inscritos"})," ","en la lista de espera"]}),n.jsx("p",{className:"text-xl text-center text-gray-300 mb-12",children:"Mira lo que dicen los profesionales que asistieron a nuestras formaciones para crecer en Linkedin con IA"}),n.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-6xl mx-auto",children:o.map((d,u)=>n.jsx(k,{className:"bg-black/60 border-2 border-primary/30 backdrop-blur-sm",children:n.jsxs(C,{className:"p-6 space-y-4",children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"w-12 h-12 bg-gray-700 rounded-full"}),n.jsxs("div",{children:[n.jsx("p",{className:"font-bold",children:d.name}),n.jsx("p",{className:"text-sm text-gray-400",children:d.location}),n.jsxs("div",{className:"flex items-center gap-1 mt-1",children:[n.jsx("span",{className:"text-yellow-500",children:"â
â
â
â
â
"}),n.jsxs("span",{className:"text-sm",children:[d.rating,"/5"]})]})]})]}),n.jsx("p",{className:"text-sm font-semibold",style:{color:"hsl(35 100% 60%)"},children:d.role}),n.jsxs("p",{className:"text-gray-300 text-sm italic",children:['"',d.text,'"']})]})},u))})]})}),n.jsx("section",{className:"py-16 bg-black/30",children:n.jsxs("div",{className:"container mx-auto px-4 text-center space-y-8",children:[n.jsx($,{onClick:r,size:"xl",className:"font-bold text-xl px-16 py-8",style:{background:"var(--gradient-orange)",border:"none",boxShadow:"var(--shadow-glow)"},children:"RESERVAR MI LUGAR GRATUITO"}),n.jsxs("p",{className:"text-gray-400",children:["Solo quedan ",106-Math.floor(47*200/100)," plazas disponibles"]})]})})]})},Xn="/assets/David_Acevedo-CeJz-LBd.png",i3="/assets/Gerardo_Chacon-CV_eobBg.png",o3=()=>{const t=()=>{var e;(e=document.getElementById("registro"))==null||e.scrollIntoView({behavior:"smooth"})};return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx(Jn,{onClick:t}),n.jsxs("section",{id:"hero-section",className:"relative overflow-hidden min-h-[90vh] flex items-center",children:[n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("img",{src:rl,alt:"",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),n.jsx("div",{className:"container mx-auto px-4 py-20 relative z-10",children:n.jsxs("div",{className:"max-w-5xl",children:[n.jsx("div",{className:"inline-flex items-center gap-2 mb-6 px-4 py-2 bg-primary rounded-full",children:n.jsx("span",{className:"text-sm font-semibold text-primary-foreground",children:"⨠Webinar Gratuito"})}),n.jsxs("h1",{className:"text-5xl md:text-7xl font-bold mb-6 leading-tight max-w-3xl",children:[n.jsx("span",{className:"text-white",children:"Cálculo de rigidez en IDEA StatiCa"})," ",n.jsx("span",{className:"text-primary",children:"Aproximándonos al comportamiento real"})]}),n.jsx("p",{className:"text-lg md:text-xl text-white/90 mb-6 md:mb-10 max-w-2xl",children:"Webinar teórico-práctico del cálculo de la rigidez de una conexión, aproximaciones, bases teóricas y aplicaciones prácticas del cálculo de rigidez."}),n.jsx("div",{className:"mb-6 md:hidden",children:n.jsx($,{onClick:()=>window.open("https://attendee.gotowebinar.com/register/6619466169826738778","_blank"),variant:"cta",size:"xl",className:"w-full text-base",children:"Reserva tu Plaza Gratuita â"})}),n.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 md:gap-4 mb-8 max-w-3xl",children:[n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Yn,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"5 de Noviembre 2025"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Miércoles"})]})}),n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(xe,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"17:00h (España)"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"10:00h (Colombia)"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"09:00h (Costa Rica)"})]})}),n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Ot,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"Online y Gratuito"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Plazas limitadas"})]})})]}),n.jsx("div",{className:"hidden md:flex flex-col sm:flex-row gap-3 md:gap-4 mb-6",children:n.jsx($,{onClick:()=>window.open("https://attendee.gotowebinar.com/register/6619466169826738778","_blank"),variant:"cta",size:"xl",className:"w-full sm:w-auto
437sm:min-w-[280px] text-base md:text-lg",children:"Reserva tu Plaza Gratuita â"})}),n.jsxs("div",{className:"flex items-center gap-2 text-xs md:text-sm text-white/80",children:[n.jsx("span",{className:"text-sm md:text-base",children:"ð"}),n.jsx("span",{children:"Registro 100% seguro · Sin compromiso · Confirmación inmediata"})]})]})})]}),n.jsx("section",{className:"py-12 md:py-20 bg-secondary/30",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"¿Qué Aprenderás en Este Webinar?"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Conocimientos prácticos sobre el cálculo de rigidez de conexiones"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-4 md:gap-8",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Bases Teóricas del Cálculo de Rigidez"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Comprende los fundamentos teóricos del cálculo de rigidez en conexiones estructurales y sus aproximaciones según normativas internacionales."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Aplicaciones Prácticas en IDEA StatiCa"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Aprende a utilizar IDEA StatiCa para el análisis preciso de rigidez en conexiones, optimizando el diseño estructural con herramientas avanzadas."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Aproximaciones al Comportamiento Real"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Descubre métodos de aproximación para modelar el comportamiento real de las conexiones y mejorar la precisión de tus análisis estructurales."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Casos Prácticos y Ejemplos Reales"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Analiza ejemplos reales de cálculo de rigidez en proyectos estructurales y aprende a aplicar estos conocimientos en tus propios diseños."})]})]})})})]})]})})}),n.jsx("section",{className:"py-12 md:py-20 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Expertos LÃderes del Sector"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Aprende de especialistas en cálculo estructural y rigidez de conexiones"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-6 md:gap-8 max-w-3xl mx-auto",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("img",{src:Xn,alt:"David Alejandro Acevedo - Consultor de cálculo en Construsoft",className:"w-48 h-auto mx-auto mb-6 rounded-lg"}),n.jsx("p",{className:"text-muted-foreground",children:"David explicará las bases del cálculo de rigidez de una conexión y su aplicación práctica en IDEA StatiCa."})]})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("img",{src:i3,alt:"Gerardo Chacón - Universidad Latina de Costa Rica",className:"w-48 h-auto mx-auto mb-6 rounded-lg"}),n.jsx("p",{className:"text-muted-foreground",children:"El profesor Chacón aportará la perspectiva académica y las bases teóricas del análisis de rigidez estructural."})]})})]})]})})}),n.jsx("section",{id:"programa",className:"py-12 md:py-20 bg-muted/30 scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Programa del Webinar"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Contenido teórico-práctico especializado en rigidez de conexiones"}),n.jsxs("div",{className:"space-y-4",children:[n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Introducción y Contexto"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:00"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Bienvenida y presentación del enfoque teórico-práctico del webinar"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Bases Teóricas del Cálculo de Rigidez"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:15"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Prof. Gerardo Chacón - Fundamentos teóricos, aproximaciones y normativas aplicables al análisis de rigidez en conexiones"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Aproximaciones al Comportamiento Real"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:45"})]}),n.jsx("p",{className:"text-muted-foreground",children:"David Acevedo (Construsoft) - Métodos de aproximación y modelado de rigidez para simular el comportamiento estructural real"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Aplicaciones Prácticas en IDEA StatiCa"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"18:15"})]}),n.jsx("p",{className:"text-muted-foreground",children:"David Acevedo (Construsoft) - Demostración práctica del cálculo de rigidez en IDEA StatiCa con ejemplos reales"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Preguntas y Respuestas + Discusión Técnica"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"18:45"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Sesión interactiva para resolver dudas especÃficas sobre el cálculo de rigidez y casos particulares"})]})]})})})]})]})})}),n.jsx("section",{id:"registro",className:"py-12 md:py-20 bg-gradient-to-br from-primary/10 to-background scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-5xl font-bold text-foreground mb-4 md:mb-6 px-4",children:"Reserva Tu Plaza Gratuita Ahora"}),n.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-6 md:mb-8 px-4",children:"Plazas limitadas. No pierdas esta oportunidad única de dominar el cálculo de rigidez con expertos del sector."}),n.jsx(k,{className:"border-border shadow-xl",children:n.jsx(C,{className:"pt-8 pb-8",children:n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"pt-4",children:[n.jsx($,{onClick:()=>window.open("https://attendee.gotowebinar.com/register/6619466169826738778","_blank"),variant:"cta",size:"xl",className:"w-full md:w-auto min-w-[300px]",children:"InscrÃbete Ahora (100% Gratis)"}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:"â° Ãltimo dÃa para inscribirte: 4 de Noviembre 2025"})]}),n.jsxs("div",{className:"grid grid-cols-3 gap-4 pt-4 border-t",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"100%"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Gratuito"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"2h"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Duración"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"2"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Expertos"})]})]})]})})})]})})})]})},l3="/assets/Beatriz_Ortega-CFZMTJnp.png",Fr="/assets/logo_idea-CYwIUrYn.png",c3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAADICAYAAADGFbfiAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAE12lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSfvu78nIGlkPSdXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQnPz4KPHg6eG1wbWV0YSB4bWxuczp4PSdhZG9iZTpuczptZXRhLyc+CjxyZGY6UkRGIHhtbG5zOnJkZj0naHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyc+CgogPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9JycKICB4bWxuczpBdHRyaWI9J2h0dHA6Ly9ucy5hdHRyaWJ1dGlvbi5jb20vYWRzLzEuMC8nPgogIDxBdHRyaWI6QWRzPgogICA8cmRmOlNlcT4KICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0nUmVzb3VyY2UnPgogICAgIDxBdHRyaWI6Q3JlYXRlZD4yMDI1LTEwLTI4PC9BdHRyaWI6Q3JlYXRlZD4KICAgICA8QXR0cmliOkV4dElkPjk2NGZkNDQ4LWQxMWYtNGRhNy04ZmYzLTVhYjgyZmZhY2JhNTwvQXR0cmliOkV4dElkPgogICAgIDxBdHRyaWI6RmJJZD41MjUyNjU5MTQxNzk1ODA8L0F0dHJpYjpGYklkPgogICAgIDxBdHRyaWI6VG91Y2hUeXBlPjI8L0F0dHJpYjpUb3VjaFR5cGU+CiAgICA8L3JkZjpsaT4KICAgPC9yZGY6U2VxPgogIDwvQXR0cmliOkFkcz4KIDwvcmRmOkRlc2NyaXB0aW9uPgoKI
437DxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PScnCiAgeG1sbnM6ZGM9J2h0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvJz4KICA8ZGM6dGl0bGU+CiAgIDxyZGY6QWx0PgogICAgPHJkZjpsaSB4bWw6bGFuZz0neC1kZWZhdWx0Jz5Mb2dvcyBjbGllbnRlcyBOdWV2YSB3ZWIgLSBsb2dvIGhpbHRpPC9yZGY6bGk+CiAgIDwvcmRmOkFsdD4KICA8L2RjOnRpdGxlPgogPC9yZGY6RGVzY3JpcHRpb24+CgogPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9JycKICB4bWxuczpwZGY9J2h0dHA6Ly9ucy5hZG9iZS5jb20vcGRmLzEuMy8nPgogIDxwZGY6QXV0aG9yPkNPTlNUUlVTT0ZURVhQT1JUIFMuTC48L3BkZjpBdXRob3I+CiA8L3JkZjpEZXNjcmlwdGlvbj4KCiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0nJwogIHhtbG5zOnhtcD0naHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyc+CiAgPHhtcDpDcmVhdG9yVG9vbD5DYW52YSAoUmVuZGVyZXIpIGRvYz1EQUdidGFrWnZMayB1c2VyPVVBRXZ6T2w3VFFNIGJyYW5kPUJBRXZ6QXcya1RFIHRlbXBsYXRlPTwveG1wOkNyZWF0b3JUb29sPgogPC9yZGY6RGVzY3JpcHRpb24+CjwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9J3InPz7y89h/AAAJRElEQVR4nO3dy69dZRnA4ffbl3Pa0tCLIIJtgaQmOFASBBUFBvIXMCMOHGCi0dTERGeSaBxooiYaJyAyMyYmJsZomDjyEjGAEYLGeEFDKggVtQVa6rns/TnYPaenF8rp27W61+p5noSGtMm31vnW5Xf2Za1VAgASyrxXAIB+EhAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASBFQABIERAAUgQEgBQBASCl8YB8arDrlqbHBCCnRo2IUmNQjjy8euxYk2M3HpBnxwdq02MCkFOj1qhlNcaDQ7eefP6RJsceNDkYAFuHgACQIiAApAgIACkCAkCKgACQIiAApAgIACkCAkCKgACQIiAApAgIACkCAkCKgACQIiAApAgIACkCAkDKaN4rcDFqra0/xL1GRCndflT8vOZhHsutdfaAyzaXu/YIzcu93WfzWTasAV1xvv3QuedcvQlIrTWilKij4alJbmGia41YXZ3tLB3dkGsn1BiNIgZtvYCsESsb5qHOnqocgzJbbluH0nR6xvyvx2M4jBgOWlpujTKZRJ1MWxh7E0svEWU0jujo/rYlnbUfrqmjYZRBe/thrE6iTqedPfecT28CUkqJwd6r48YfPhrjG66LxjdirTE59mocfuAzsfLnw7OYdFCJiBgN48APHopt77mlhV9eZ6E+/LFDcfLJZ2ZLLCUiprHjQ++L/Y9+c+OaNKdEnPzdH+LwRz+9PvIsIpN4+xc/F7vvv292YDe63BoxHMQr33go/vvI9yJi2ODYm1l8jR133h77vvv1KKNhtPs6i82p8cYTT8cLn/x8xNLq6b+tK7Hv21+Nnffe1coxVyfTePnBr8RrP/5Z04O3qjcBiZj9Jjq+4bpYuGl/8799T2usHvlXDBbG0el3Fcrsj/V5aPq3lVojptMYbFs4Z7ll+0KM33l9lIUWfmOuNVZeOnLefxrt3RMLB/bNfvYml1trRK0x3LWzuTEv0mD7YizctD/KeORVSBfUGiuHX4wyKFE3ngdKjdG1e2Phxn2z7dTwfliXlmKwc0dzY14mvQpIRKy9Udj4y7xaulqMC2t8Hi74yqucXmYLy32rTVDKoNFf0utswc0NeCla2Ke5eBfcG9b2lYa31fqnfB3ZFS+Gb2EBkCIgAKQICAApAgJAioAAkCIgAKQICAAp/bsOpE2zCwOiRo23vChhjkqpvfzOOHBlEZANyrbFuOreu2PxXQej02foMozh3l2uXAbmSkDWlBLDPbvi+i9/oTtXJ19AWRjPexWALU5ANiilRIx7MiVefQBz1pOzZfvW7m3jfkQAm+NbWACkCAgAKQICQIrPQGDu6unHBndMm58JXvjZM/SBgEBHdO3rG22e3mutnft51+napgkIzEspsfTc83Hkwa/NHtHcsTPqngfuj8WDN0dp+PHRtdaoy8tx9Ps/iqW//L3RsS9ZjVj+xz+jLk+EZBMEBOZo5fCL8cq3Hp73apylRCxE7PzIh2Px4M3ND18j6vJKHPvJY3H8sZ9H987UJdY+Hva1/gsTEKin3o+/3Pc/W1/esNlhL/WlTImoJVq/WLXUQZTBsHv9YNMEhK2tlBju2R2LN984exupx+rySqy88PLs84VLOfk7obNJAsKWVUqJGhHXfvYTcc2hj3fuM4iLUkss/emv8bd77ou6tDzvtWGLEBAYjaKMen4o1BplPO53BOmdnh81cGmulA9JZ5/hzHst2Gr6/aYvAHMjIACkCAgAKT4DOWXtq499uz/PlfIePtA/ArJRraf/67qeX7MA9J+AbDA9+b84/svfxPS1492+mKpE7Lz37hju3T3vNQG2MAFZU2tMjr4aLz34pVh69rno5s21Z8pgGAd/8dPYfsetno0OzI2AbFQiSixEGSxEmXY3IDEYRgyEA5gvb6Sfo8PhiIjZnf/mvQ4AAgJAkoAAkCIgAKQICAApAgJAioAAkNLD60Bmtxpp/J5VtWdfjz3181/ee3fViGhh7jeMfv5/aHe5V4xWjomWjrXZ/zQ77uVSG77MuC+3TzqP3gWkTqZRV1ai8afn1Bp1MpkdLJ3eliUi6mwellfaWcSb7NClRsTqJGosR+PzXyJiMnmT1ZlGXV3t+HaZvzqZNjdHtUadTqOurDY04Jljx+qkf9uzrfmI2bmnjxFp/HLmZ8cH2puFhXFcdc8HYrC4rfk1rxF1dSVOPP5U1NffaHjwZtWIuOqu98dw99XtLKCUOPH4UzH5z9Eopya6Ro3RNXtjx523R0zbefrd5OixOPHr354xdK01tr333bFw0/5eHmCX0/T143HiV0/Mts8lqiVixwdvi9Hb9jawZmcPPvvjjSefickr/44+PEqx1klsv+O2GL/j2hYGj4gScfLp38fKi0daOLXVGrWsxnhw6NaTzz/S5Ni9Ccj6y+h6arZbUdfvLdXV26Sf8XZCa+fTs+Zh40v2Nud/w7Dn3Fq/1e1+hThr/rIca+eq66/K25+PiGbnpM2A9OYtrPUJbXVn6/6OfMaO1drqnjVwKaf/5jIe7Gf+rN3fNlcKx9q5Sinm4zx8CwuAFAEBIEVAAEgREABSBASAFAEBIEVAAEgREABSBASAFAEBIEVAAEgREABSBASAFAEBIEVAAEgREABSBASAlDaeSPidFsYEIKdGxDQi/tj0wP18jiIAcycgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkCIgAKQICAApAgJAioAAkPJ/mbVHQyaN9f4AAAAASUVORK5CYII=",d3=()=>{const t=()=>{window.open("https://app.livestorm.co/mo-spain/ask-hilti-live-webinar-template-do-not-delete-38","_blank")};return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx(Jn,{onClick:t}),n.jsxs("section",{id:"hero-section",className:"relative overflow-hidden min-h-screen md:min-
437h-[90vh] flex items-center",children:[n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("img",{src:rl,alt:"",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),n.jsx("div",{className:"container mx-auto px-4 py-12 md:py-20 relative z-10",children:n.jsxs("div",{className:"max-w-5xl flex flex-col",children:[n.jsx("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 md:px-4 md:py-2 bg-primary rounded-full w-fit mb-4 md:mb-6",children:n.jsx("span",{className:"text-xs md:text-sm font-semibold text-primary-foreground",children:"⨠Webinar Gratuito"})}),n.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-7xl font-bold mb-4 md:mb-6 leading-tight",children:[n.jsx("span",{className:"text-white",children:"Diseña, conecta, optimiza:"})," ",n.jsx("span",{className:"text-primary",children:"Interoperabilidad IDEA StatiCa + Hilti PROFIS"})]}),n.jsx("p",{className:"text-base md:text-lg lg:text-xl text-white/90 mb-5 md:mb-6 max-w-3xl",children:"¿Imaginas poder pasar del cálculo estructural al dimensionamiento de anclajes en cuestión de segundos? Descubre cómo los plug-ins de interoperabilidad a través de Checkbot revolucionan tu flujo de trabajo."}),n.jsx("div",{className:"flex flex-col sm:flex-row gap-3 md:gap-4 mb-5 md:mb-6 order-1 md:order-3",children:n.jsx($,{onClick:t,variant:"cta",size:"lg",className:"w-full sm:w-auto sm:min-w-[240px] md:min-w-[280px] text-sm md:text-base lg:text-lg animate-pulse-glow",children:"Reserva tu Plaza Gratuita â"})}),n.jsxs("div",{className:"flex items-center gap-2 text-xs md:text-sm text-white/80 mb-5 md:mb-6 order-2 md:order-4",children:[n.jsx("span",{className:"text-sm",children:"ð"}),n.jsx("span",{children:"Registro 100% seguro · Sin compromiso · Confirmación inmediata"})]}),n.jsxs("div",{className:"grid grid-cols-3 gap-2 md:gap-4 max-w-3xl order-3 md:order-2",children:[n.jsx(k,{className:"bg-background/95 border-border",children:n.jsxs(C,{className:"p-3 md:pt-6 md:pb-6 md:px-6",children:[n.jsx(Yn,{className:"h-4 w-4 md:h-6 md:w-6 text-primary mb-1 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-xs md:text-base mb-0.5 md:mb-1",children:"26 Nov 2025"}),n.jsx("p",{className:"text-[10px] md:text-sm text-muted-foreground leading-tight",children:"Miércoles"})]})}),n.jsx(k,{className:"bg-background/95 border-border",children:n.jsxs(C,{className:"p-3 md:pt-6 md:pb-6 md:px-6",children:[n.jsx(xe,{className:"h-4 w-4 md:h-6 md:w-6 text-primary mb-1 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-xs md:text-base mb-0.5 md:mb-1",children:"17:00h"}),n.jsx("p",{className:"text-[10px] md:text-sm text-muted-foreground leading-tight",children:"(España)"})]})}),n.jsx(k,{className:"bg-background/95 border-border",children:n.jsxs(C,{className:"p-3 md:pt-6 md:pb-6 md:px-6",children:[n.jsx(Ot,{className:"h-4 w-4 md:h-6 md:w-6 text-primary mb-1 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-xs md:text-base mb-0.5 md:mb-1",children:"Gratuito"}),n.jsx("p",{className:"text-[10px] md:text-sm text-muted-foreground leading-tight",children:"Plazas limitadas"})]})})]})]})})]}),n.jsx("section",{className:"py-12 md:py-20 bg-secondary/30",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"¿Qué Aprenderás en Este Webinar?"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Domina la interoperabilidad entre IDEA StatiCa y Hilti PROFIS Engineering"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-4 md:gap-8",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(XC,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Beneficios de la Interoperabilidad"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Descubre cómo la interoperabilidad optimiza proyectos reales, reduciendo errores manuales y acelerando el flujo de trabajo entre software de diseño."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(Ow,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Exportación Directa de Datos"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Aprende a exportar datos de IDEA StatiCa directamente a Hilti PROFIS Engineering a través de Checkbot, eliminando la necesidad de entrada manual de datos."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Ejemplos Prácticos de Diseño"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Casos prácticos de diseño y verificación de uniones y anclajes, aplicando directamente los conocimientos en proyectos estructurales reales."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(Xr,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Diseño Automatizado con Smart Design"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Descubre las capacidades de Smart Design de Hilti para el dimensionamiento automatizado de anclaje
437s, ahorrando tiempo y mejorando la precisión."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow md:col-span-2",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(Fn,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Integración en Flujos de Trabajo BIM"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Consejos prácticos para integrar estas herramientas en tus flujos de trabajo BIM y de cálculo, maximizando la eficiencia del diseño estructural colaborativo."})]})]})})})]})]})})}),n.jsx("section",{className:"py-12 md:py-20 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Expertos en Diseño Estructural y TecnologÃa"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Webinar conjunto presentado por especialistas de IDEA StatiCa y Hilti"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-6 md:gap-8 max-w-3xl mx-auto",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("img",{src:Xn,alt:"David Alejandro Acevedo - Consultor de cálculo en Construsoft",className:"w-48 h-auto mx-auto mb-6 rounded-lg"}),n.jsx("p",{className:"text-muted-foreground",children:"David mostrará cómo exportar datos de IDEA StatiCa a Hilti PROFIS Engineering y demostrará casos prácticos de interoperabilidad en proyectos reales."})]})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("img",{src:l3,alt:"Beatriz Ortega - Technical Manager en Hilti España",className:"w-48 h-auto mx-auto mb-6 rounded-lg"}),n.jsx("p",{className:"text-muted-foreground",children:"Beatriz Ortega, Technical Manager de Hilti España, presentará las capacidades de Smart Design y las mejores prácticas para el dimensionamiento automatizado de anclajes."})]})})]})]})})}),n.jsx("section",{id:"programa",className:"py-12 md:py-20 bg-muted/30 scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Programa del Webinar"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Agenda completa sobre interoperabilidad IDEA StatiCa - Hilti PROFIS"}),n.jsxs("div",{className:"space-y-4",children:[n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Introducción y Bienvenida"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:00"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Presentación del webinar conjunto IDEA StatiCa - Hilti y objetivos de la sesión sobre interoperabilidad"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Beneficios de la Interoperabilidad en Proyectos Reales"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:10"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Análisis de casos reales donde la interoperabilidad optimiza flujos de trabajo, reduce errores y acelera el proceso de diseño estructural"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Exportación de Datos: IDEA StatiCa â Hilti PROFIS"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:30"})]}),n.jsx("p",{className:"text-muted-foreground",children:"David Acevedo (Construsoft) - Demostración práctica de cómo exportar datos de IDEA StatiCa directamente a PROFIS Engineering mediante Checkbot"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Diseño y Verificación de Uniones y Anclajes"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"17:50"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Ejemplos prácticos de diseño y verificación de uniones estructurales y su integración con el dimensionamiento de anclaje
437s en PROFIS"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Smart Design de Hilti: Diseño Automatizado"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"18:10"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Experto Hilti - Descubre las capacidades de Smart Design para dimensionamiento automatizado de anclajes, optimizando tiempo y precisión"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Integración en Flujos BIM y de Cálculo"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"18:30"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Consejos prácticos para integrar estas herramientas en tus flujos de trabajo BIM, maximizando la eficiencia del diseño colaborativo"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Preguntas y Respuestas"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"18:50"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Sesión interactiva para resolver dudas especÃficas sobre interoperabilidad, casos de uso y aplicaciones prácticas"})]})]})})})]})]})})}),n.jsx("section",{id:"registro",className:"py-12 md:py-20 bg-gradient-to-br from-primary/10 to-background scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-5xl font-bold text-foreground mb-4 md:mb-6 px-4",children:"Reserva Tu Plaza Gratuita Ahora"}),n.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-6 md:mb-8 px-4",children:"Plazas limitadas. No pierdas esta oportunidad única de dominar la interoperabilidad entre IDEA StatiCa y Hilti PROFIS Engineering."}),n.jsx(k,{className:"border-border shadow-xl",children:n.jsx(C,{className:"pt-8 pb-8",children:n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"pt-4",children:[n.jsx($,{onClick:t,variant:"cta",size:"xl",className:"w-full md:w-auto min-w-[300px]",children:"InscrÃbete Ahora (100% Gratis)"}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:"â° Ãltimo dÃa para inscribirte: 25 de Noviembre 2025"})]}),n.jsxs("div",{className:"grid grid-cols-3 gap-4 pt-4 border-t",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"100%"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Gratuito"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"1.5h"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Duración"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"2"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Expertos"})]})]})]})})}),n.jsx("div",{className:"mt-8 text-sm text-muted-foreground"})]})})}),n.jsx("section",{className:"py-12 md:py-16 bg-background border-t",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center text-foreground mb-8 md:mb-12",children:"Con la colaboración de"}),n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-12 items-center justify-items-center",children:[n.jsx("div",{className:"flex items-center justify-center w-full",children:n.jsx("img",{src:Fd,alt:"Construsoft",className:"h-24 md:h-32 w-auto object-contain"})}),n.jsx("div",{className:"flex items-center justify-center w-full",children:n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"h-24 md:h-32 w-auto object-contain"})}),n.jsx("div",{className:"flex items-center justify-center w-full",children:n.jsx("img",{src:c3,alt:"Hilti",className:"h-24 md:h-32 w-auto object-contain"})})]})]})})})]})},u3="/assets/hero-background-structure-exQVWe54.png",m3="/assets/Advanced_anchoring_02-DRlrMdH3.png",h3="/assets/ETABS_to_Detail_workflow-XQn1tg8U.png",SN="/assets/Unbonded_tendons-BpIocZIv.png",f3="/assets/GIF_Landing_def-B_xB57OI.gif",p3=()=>{const{selectedTimezone:t,displayTime:e,isCustomTimezone:r,selectTimezone:s,resetToDefault:a,useUserTimezone:i,getScheduleTime:o}=kp(),l=()=>{window.open("https://attendee.gotowebinar.com/register/9196951223486760797","_blank")},c=t?_p(t):null;return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx(Jn,{onClick:l}),n.jsxs("section",{id:"hero-section",className:"relative overflow-hidden min-h-[90vh] flex items-center",children:[n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("img",{src:u3,alt:"",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-black/70"})]}),n.jsx("div",{className:"container mx-auto px-4 py-20 relative z-10",children:n.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[n.jsx("div",{className:"inline-flex items-center gap-2 mb-6 px-4 py-2 bg-primary rounded-full",children:n.jsx("span",{className:"text-sm font-semibold text-primary-foreground",children:"⨠Webinar Gratuito - Lanzamiento"})}),n.jsxs("h1",{className:"text-5xl md:text-7xl font-bold mb-6 leading-tight max-w-4xl mx-auto",children:[n.jsx("span",{className:"text-white",children:"IDEA StatiCa 25.1"})," ",n.jsx("span",{className:"text-primary",children:"Novedades y Nuevas Funcionalidades"})]}),n.jsx("p",{className:"text-lg md:text-xl text-white/90 mb-6 md:mb-10 max-w-3xl mx-auto",children:"Descubre las innovaciones de la última versión: anclajes avanzados, flujos de trabajo optimizados para grandes modelos BIM, primer enlace FEA para muros de hormigón y análisis de estructuras existentes."}),n.jsx("div",{className:"mb-6 md:hidden",children:n.jsx($,{onClick:l,variant:"cta",size:"xl",className:"w-full text-base",children:"Reserva tu Plaza Gratuita â"})}),n.jsx("div",{className:"flex justify-center mb-6 md:hidden",children:n.jsx(Yc,{onSelectTimezone:s,onUseUserTimezone:i,currentTimezone:t})}),n.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 md:gap-4 mb-8 max-w-3xl mx-auto",children:[n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Yn,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"11 de Noviembre 2025"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Martes"})]})}),n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(xe,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),r&&c?n.jsxs(n.Fragment,{children:[n.jsxs("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:[e.time,"h (",c.label,")"]}),n.jsx("button",{onClick:a,className:"text-xs text-muted-foreground underline hover:text-foreground transition-colors",children:"Ver hora original"})]}):n.jsxs(n.Fragment,{children:[n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"16:00h (España)"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"10:00h (Colombia)"})]})]})}),n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Ot,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"Online y Gratuito"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Plazas limitadas"})]})})]}),n.jsx("div",{className:"hidden md:flex flex-col sm:flex-row gap-3 md:gap-4 mb-4 justify-center",children:n.jsx($,{onClick:l,variant:"cta",size:"xl",className:"w-full sm:w-auto
437sm:min-w-[280px] text-base md:text-lg",children:"Reserva tu Plaza Gratuita â"})}),n.jsx("div",{className:"hidden md:flex justify-center mb-6",children:n.jsx(Yc,{onSelectTimezone:s,onUseUserTimezone:i,currentTimezone:t})}),n.jsxs("div",{className:"flex items-center justify-center gap-2 text-xs md:text-sm text-white/80",children:[n.jsx("span",{className:"text-sm md:text-base",children:"ð"}),n.jsx("span",{children:"Registro 100% seguro · Sin compromiso · Confirmación inmediata"})]})]})})]}),n.jsx("section",{className:"py-12 md:py-20 bg-secondary/30",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Novedades de IDEA StatiCa 25.1"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Descubre las innovaciones que transformarán tu forma de trabajar"}),n.jsxs("div",{className:"space-y-12",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow overflow-hidden",children:n.jsx(C,{className:"p-0",children:n.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[n.jsxs("div",{className:"p-6 md:p-8 flex flex-col justify-center",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx("div",{className:"bg-primary/20 p-3 rounded-lg",children:n.jsx(ah,{className:"h-6 w-6 text-primary"})}),n.jsx("h3",{className:"text-xl md:text-2xl font-semibold text-foreground",children:"Diseño y Comprobación de Todos los Tipos de Anclaje"})]}),n.jsx("p",{className:"text-muted-foreground mb-4",children:"Ya no te limites a plantillas predefinidas. Diseña y comprueba conexiones acero-hormigón con el armado real para:"}),n.jsxs("ul",{className:"space-y-2 text-muted-foreground",children:[n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Placas de anclaje embebidas"})]}),n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Pernos con cabeza (headed studs)"})]}),n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Barras de armadura con gancho"})]}),n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Varillas roscadas con arandelas"})]})]})]}),n.jsx("div",{className:"relative h-64 md:h-auto",children:n.jsx("img",{src:m3,alt:"Anclajes avanzados en IDEA StatiCa",className:"w-full h-full object-cover"})})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow overflow-hidden",children:n.jsx(C,{className:"p-0",children:n.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[n.jsx("div",{className:"relative h-64 md:h-auto order-2 md:order-1",children:n.jsx("img",{src:f3,alt:"Gestión optimizada de grandes modelos BIM",className:"w-full h-full object-cover"})}),n.jsxs("div",{className:"p-6 md:p-8 flex flex-col justify-center order-1 md:order-2",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx("div",{className:"bg-primary/20 p-3 rounded-lg",children:n.jsx(ih,{className:"h-6 w-6 text-primary"})}),n.jsx("h3",{className:"text-xl md:text-2xl font-semibold text-foreground",children:"Flujos de Trabajo Simplificados para Grandes Modelos BIM"})]}),n.jsx("p",{className:"text-muted-foreground mb-4",children:"Utiliza Checkbot para gestionar importaciones desde tus herramientas FEA y CAD. Acelera tu trabajo con:"}),n.jsxs("ul",{className:"space-y-2 text-muted-foreground",children:[n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Selección por área para alineación rápida de plataformas"})]}),n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Generación de informes de cálculo 3 veces más rápida"})]}),n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Configuración de informes guardada para proyectos especÃficos"})]})]})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow overflow-hidden",children:n.jsx(C,{className:"p-0",children:n.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[n.jsxs("div",{className:"p-6 md:p-8 flex flex-col justify-center",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx("div",{className:"bg-primary/20 p-3 rounded-lg",children:n.jsx(Sg,{className:"h-6 w-6 text-primary"})}),n.jsx("h3",{className:"text-xl md:text-2xl font-semibold text-foreground",children:"Enlace ETABS y SAP2000 con Detail para Diseño Seguro de Regiones D"})]}),n.jsx("p",{className:"text-muted-foreground mb-4",children:"Elimina riesgos al diseñar muros de cortante de hormigón armado con regiones de discontinuidad mediante un enlace BIM directo que importa:"}),n.jsxs("ul",{className:"space-y-2 text-muted-foreground",children:[n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"GeometrÃa de elementos"})]}),n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Propiedades de materiales"})]}),n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Combinaciones de carga"})]})]})]}),n.jsx("div",{className:"relative h-64 md:h-auto",children:n.jsx("img",{src:h3,alt:"Enlace directo desde ETABS y SAP2000",className:"w-full h-full object-cover"})})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow overflow-hidden",children:n.jsx(C,{className:"p-0",children:n.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[n.jsx("div",{className:"relative h-64 md:h-auto order-2 md:order-1",children:n.jsx("img",{src:SN,alt:"Tendones no adheridos en estructuras existentes",className:"w-full h-full object-cover"})}),n.jsxs("div",{className:"p-6 md:p-8 flex flex-col justify-center order-1 md:order-2",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[n.jsx("div",{className:"bg-primary/20 p-3 rounded-lg",children:n.jsx(No,{className:"h-6 w-6 text-primary"})}),n.jsx("h3",{className:"text-xl md:text-2xl font-semibold text-foreground",children:"Retrofit y Refuerzo de Diseños de Hormigón Existentes"})]}),n.jsx("p",{className:"text-muted-foreground mb-4",children:"Analiza estructuras de hormigón existentes para retrofit y refuerzo de estructuras que no satisfacen las comprobaciones normativas. Aplica:"}),n.jsxs("ul",{className:"space-y-2 text-muted-foreground",children:[n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Barras de armado liso"})]}),n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Pretensado"})]}),n.jsxs("li",{className:"flex items-start gap-2",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{children:"Tendones no adheridos (unbonded tendons)"})]})]})]})]})})})]})]})})}),n.jsx("section",{className:"py-12 md:py-20 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Expertos que te Guiarán"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Aprende de especialistas certificados en IDEA StatiCa"}),n.jsx("div",{className:"grid md:grid-cols-1 gap-6 md:gap-8 max-w-2xl mx-auto",children:n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("img",{src:Xn,alt:"David Alejandro Acevedo - Consultor de cálculo en Construsoft",className:"w-48 h-auto mx-auto mb-6 rounded-lg"}),n.jsx("p",{className:"text-muted-foreground",children:"David te mostrará en detalle todas las novedades de IDEA StatiCa 25.1 y cómo aplicarlas en tus proyectos para mejorar tu productividad."})]})})})]})})}),n.jsx("section",{id:"programa",className:"py-12 md:py-20 bg-muted/30 scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Programa del Webinar"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Descubre todo lo nuevo de IDEA StatiCa 25.1 en 60 minutos"}),n.jsxs("div",{className:"space-y-4",children:[n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Introducción y Bienvenida"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:o(0)})]}),n.jsx("p",{className:"text-muted-foreground",children:"Presentación del webinar y visión general de las novedades de la ver
437sión 25.1"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(ah,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Anclajes Avanzados: Más Allá de las Plantillas"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:o(10)})]}),n.jsx("p",{className:"text-muted-foreground",children:"Demostración completa del diseño y comprobación de placas embebidas, headed studs, barras con gancho y varillas roscadas con el armado real"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(ih,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Checkbot y Flujos de Trabajo BIM Optimizados"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:o(25)})]}),n.jsx("p",{className:"text-muted-foreground",children:"Cómo trabajar eficientemente con grandes modelos estructurales: selección por área, generación rápida de informes y gestión de configuraciones"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(Sg,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Enlace ETABS/SAP2000 con Detail"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:o(40)})]}),n.jsx("p",{className:"text-muted-foreground",children:"Primera integración FEA para muros de cortante: importación directa de geometrÃa, materiales y cargas para diseño seguro de regiones D"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(No,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Retrofit y Análisis de Estructuras Existentes"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:o(50)})]}),n.jsx("p",{className:"text-muted-foreground",children:"Analiza y refuerza estructuras de hormigón existentes con barras lisas, pretensado y tendones no adheridos"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(Ot,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Preguntas y Respuestas"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:o(55)})]}),n.jsx("p",{className:"text-muted-foreground",children:"Sesión interactiva para resolver todas tus dudas sobre las nuevas funcionalidades"})]})]})})})]})]})})}),n.jsx("section",{id:"registro",className:"py-12 md:py-20 bg-gradient-to-br from-primary/10 to-background scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-5xl font-bold text-foreground mb-4 md:mb-6 px-4",children:"Sé de los Primeros en Descubrir IDEA StatiCa 25.1"}),n.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-6 md:mb-8 px-4",children:"Plazas limitadas. InscrÃbete ahora y descubre cómo estas novedades revolucionarán tu forma de trabajar."}),n.jsx(k,{className:"border-border shadow-xl",children:n.jsx(C,{className:"pt-8 pb-8",children:n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"pt-4",children:[n.jsx($,{onClick:l,variant:"cta",size:"xl",className:"w-full md:w-auto min-w-[300px]",children:"InscrÃbete Ahora (100% Gratis)"}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:"ð Los primeros inscritos recibirán material exclusivo sobre la versión 25.1"})]}),n.jsxs("div",{className:"grid grid-cols-3 gap-4 pt-4 border-t",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"100%"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Gratuito"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"60min"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Duración"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"40+"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Novedades"})]})]})]})})}),n.jsx("p",{className:"text-xs text-muted-foreground mt-6",children:"Al registrarte, recibirás un correo de confirmación con el enlace de acceso al webinar"})]})})})]})},x3="/assets/Jessica_Varela-DOuc_2Lg.png",g3=()=>{const[t,e]=x.useState(!1),r=()=>{var s;window.self!==window.top?window.parent.postMessage({action:"scrollToForm"},"https://www.construsoft.es"):(s=document.getElementById("registro"))==null||s.scrollIntoView({behavior:"smooth"})};return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx(Jn,{onClick:r}),n.jsxs("section",{id:"hero-section",className:"relative overflow-hidden min-h-[90vh] flex items-center",children:[n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("img",{src:rl,alt:"",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),n.jsx("div",{className:"container mx-auto px-4 py-20 relative z-10",children:n.jsxs("div",{className:"max-w-5xl",children:[n.jsx("div",{className:"inline-flex items-center gap-2 mb-6 px-4 py-2 bg-primary rounded-full",children:n.jsx("span",{className:"text-sm font-semibold text-primary-foreground",children:"â Desayuno Técnico Presencial"})}),n.jsxs("h1",{className:"text-5xl md:text-7xl font-bold mb-6 leading-tight max-w-3xl",children:[n.jsx("span",{className:"text-white",children:"Diseño de conexiones de acero y regiones D de concreto"})," ",n.jsx("span",{className:"text-primary",children:"con IDEA StatiCa"})]}),n.jsx("p",{className:"text-lg md:text-xl text-white/90 mb-6 md:mb-10 max-w-2xl",children:"Jornada técnica de 3 horas donde veremos el flujo completo desde el software de cÃ
437¡lculo global, hasta el diseño de las Zapatas, pasando por el diseño de conexiones de acero con las herramientas revolucionarias de IDEA StatiCa."}),n.jsx("div",{className:"mb-6 md:hidden",children:n.jsx($,{onClick:r,variant:"cta",size:"xl",className:"w-full text-base",children:"Reserva tu Plaza Gratuita â"})}),n.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 md:gap-4 mb-8 max-w-3xl",children:[n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Yn,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"20 de Noviembre 2025"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Jueves"})]})}),n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(xe,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"9:00h"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Hora Colombia"})]})}),n.jsx(k,{className:"bg-background border-border hover:border-primary cursor-pointer transition-all",onClick:()=>e(!0),children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Tu,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"Hotel Bari Bucaramanga"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Presencial · Ver ubicación"})]})})]}),n.jsx("div",{className:"hidden md:flex flex-col sm:flex-row gap-3 md:gap-4 mb-6",children:n.jsx($,{onClick:r,variant:"cta",size:"xl",className:"w-full sm:w-auto sm:min-w-[280px] text-base md:text-lg",children:"Reserva tu Plaza Gratuita â"})}),n.jsxs("div",{className:"flex items-center gap-2 text-xs md:text-sm text-white/80",children:[n.jsx("span",{className:"text-sm md:text-base",children:"ð"}),n.jsx("span",{children:"Registro 100% seguro · Sin compromiso · Confirmación inmediata · Plazas limitadas"})]})]})})]}),n.jsx("section",{className:"py-12 md:py-20 bg-secondary/30",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"¿Qué Aprenderás en Este Desayuno Técnico?"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Conocimientos prácticos del flujo completo de diseño estructural con IDEA StatiCa"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-4 md:gap-8",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Flujo Completo de Trabajo"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Aprende el proceso completo desde el software de cálculo global hasta el diseño detallado de conexiones y zapatas."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Diseño de Conexiones de Acero"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Domina las herramientas revolucionarias de IDEA StatiCa para el diseño y análisis de conexiones metálicas complejas."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Regiones D de Concreto"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Descubre cómo diseñar y analizar regiones D de concreto con métodos avanzados y herramientas especializadas."})]})]})})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:"Diseño de Zapatas"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:"Aprende las mejores prácticas para el diseño y verificación de zapatas con IDEA StatiCa Detail."})]})]})})})]})]})})}),n.jsx("section",{className:"py-12 md:py-20 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Expertos de Construsoft"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Aprende de especialistas en diseño estructural y IDEA StatiCa"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-6 md:gap-8 max-w-3xl mx-auto",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("img",{src:Xn,alt:"David Alejandro Acevedo - Consultor de cálculo en Construsoft",className:"w-48 h-auto mx-auto mb-6 rounded-lg"}),n.jsx("p",{className:"text-muted-foreground",children:"David guiará la sesión práctica s
437obre diseño de conexiones de acero y el flujo completo de trabajo con IDEA StatiCa."})]})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("img",{src:x3,alt:"Jessica Varela - Consultora de cálculo en Construsoft",className:"w-48 h-auto mx-auto mb-6 rounded-lg"}),n.jsx("p",{className:"text-muted-foreground",children:"Jessica explicará el diseño de regiones D de concreto y zapatas con las herramientas especializadas de IDEA StatiCa."})]})})]})]})})}),n.jsx("section",{id:"programa",className:"py-12 md:py-20 bg-muted/30 scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Programa del Desayuno Técnico"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Jornada práctica de 3 horas con casos reales y ejercicios"}),n.jsxs("div",{className:"space-y-4",children:[n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(Au,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Bienvenida y Registro"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"9:00h"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Recepción de participantes y registro"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Flujo de Trabajo Completo"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"9:15h"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Introducción al flujo completo desde el cálculo global hasta el diseño detallado con IDEA StatiCa"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Diseño de Conexiones de Acero"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"9:45h"})]}),n.jsx("p",{className:"text-muted-foreground",children:"David Acevedo - Demostración práctica del diseño de conexiones metálicas con IDEA StatiCa Connection"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary bg-primary/5",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(Au,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Break Desayuno"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"10:30h"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Descanso y desayuno de networking con los participantes"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Regiones D de Concreto y Zapatas"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"10:45h"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Jessica Varela - Diseño de regiones D y zapatas con IDEA StatiCa Detail, aplicaciones prácticas"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Preguntas y Respuestas"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"11:30h"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Sesión interactiva para resolver dudas especÃficas y discusión de casos particulares"})]})]})})}),n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(Au,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:"Cierre y Networking"}),n.jsx("span",{className:"text-sm text-muted-foreground",children:"11:50h"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Conclusiones y networking con los asistentes"})]})]})})})]})]})})}),n.jsx("section",{id:"registro",className:"py-12 md:py-20 bg-gradient-to-br from-primary/10 to-background scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-5xl font-bold text-foreground mb-4 md:mb-6 px-4",children:"Reserva Tu Cupo Gratuito Ahora"}),n.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-6 md:mb-8 px-4",children:"Plazas limitadas. No pierdas esta oportunidad única de aprender con expertos de Construsoft en Bucaramanga."}),n.jsx(k,{className:"border-border shadow-xl",children:n.jsx(C,{className:"pt-8 pb-8",children:n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"grid grid-cols-3 gap-4 pb-6 border-b",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"100%"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Gratuito"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"3h"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Duración"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"2"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Expertos"})]})]}),n.jsxs("div",{className:"pt-4",children:[n.jsx($,{onClick:r,variant:"cta",size:"xl",className:"w-full",children:"InscrÃbete Ahora (100% Gratis)"}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4 text-center",children:"â° Ãltimo dÃa para inscribirte: 19 de Noviembre 2025"})]})]})})})]})})}),n.jsx(X1,{open:t,onOpenChange:e,children:n.jsxs(Op,{className:"max-w-2xl",children:[n.jsx(Dp,{children:n.jsxs(Mp,{className:"flex items-center gap-2",children:[n.jsx(Tu,{className:"h-5 w-5 text-primary"}),"Ubicación del Evento"]})}),n.jsxs("div",{className:"space-y-4",children:[n.jsxs("div",{children:[n.jsx("h3",{className:"font-semibold text-lg",children:"Hotel Bari Bucaramanga"}),n.jsxs("p",{className:"text-muted-foreground text-sm",children:["Cra. 38 #48-66, Cabecera del Llano",n.jsx("br",{}),"Bucaramanga, Santander, Colombia"]})]}),n.jsx("div",{className:"w-full aspect-video rounded-lg overflow-hidden border border-border",children:n.jsx("iframe",{src:"https://www.google.com/maps?q=Hotel+Bari+Bucaramanga,+Cra.+38+%2348-66,+Bucaramanga,+Santander,+Colombia&output=embed&z=16",width:"100%",height:"100%",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:"Ubicación Hotel Bari Bucaramanga"})}),n.jsxs($,{className:"w-full",onClick:()=>window.open("https://www.google.com/maps/search/?api=1&query=Hotel+Bari+Bucaramanga+Cra.+38+48-66+Bucaramanga","_blank"),children:[n.jsx(Tu,{className:"h-4 w-4 mr-2"}),"Abrir en Google Maps"]})]})]})})]})},ne=(t=.1)=>
437{const[e,r]=x.useState(!1),s=x.useRef(null);return x.useEffect(()=>{const a=new IntersectionObserver(([i])=>{i.isIntersecting&&(r(!0),a.unobserve(i.target))},{threshold:t,rootMargin:"50px"});return s.current&&a.observe(s.current),()=>{s.current&&a.unobserve(s.current)}},[t]),{ref:s,isVisible:e}},es="/assets/logo_construsoft_black-mO6sXitK.png",_N="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBAUEBAYFBQUGBgYHCQ4JCQgICRINDQoOFRIWFhUSFBQXGiEcFxgfGRQUHScdHyIjJSUlFhwpLCgkKyEkJST/2wBDAQYGBgkICREJCREkGBQYJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCT/wgARCACMAIwDASIAAhEBAxEB/8QAGwAAAQUBAQAAAAAAAAAAAAAAAQACAwQFBgf/xAAYAQEBAQEBAAAAAAAAAAAAAAAAAQIDBP/aAAwDAQACEAMQAAAB64k+P0hFARQlTsEhREkYSKAkhIqoi1DkEGjc88rn6s230mL0L8/F77X8P9MTpTE7FegQkIqFh0QQhvlPq3mtb+nBb8/pdHK04+l1nF+jz+uSxS5jnskgpKqqK0a17SPgO8yJrldUSY7SYvRU4l4/vsbWO5lZJeRcHQSkUyjs1rwVM/Szs6jhZUx6NWxnTSWXQ6rFp4fvinB4EUVCVs0PEVqN/l6iuYdrn32WZ8Emv0vCdLrntOEiBxKNJBTMa2kEFayXyH07yrry7OSts+T21bxOZz+bWm9nk9amzZsavurS89yBoilWlq9+bST15weTev0zid/dr8ulDE6KfOvMeq0tb0cNNrhKp4Hy6Ahm83bNgkh9HEua7WSkVEcqQuBCkFckhOa1LNmtZ49f/8QAKxAAAQQBAwMCBQUAAAAAAAAAAgABAwQRBRASEzAxFCAhIyQzQAYVIjJB/9oACAEBAAEFAvyJLleEmljL8C5aGpDZm6svN2QXZo3rfqGWIKWpwXW7eVr9zlNXrHZcdKZftceJtKw0Uh15tL1H1Q5WfblZWVlZWoMU1+tA0MbCy4ohWp0sto8hNdbtwDy1IUzb3h+motiw3adGJBqkg4elZ5PdkcFCTs+Tmgou7WW7RqxHyMqjKKHgc0XVQ0myEXTanQEJ27LolN5QOPPmLkyP4NVDLt2iVhvgZ4Q8TLLCgm5uT/xrhwDtEpB5D1OBYQCyM2YoPnSt2zWpamNJhkOxCFlmb1g4aR5HtTyUIdN1AL0fakJmVw+vZpj9O8LZ9MDKOJmWsF8rS5iguCed8+0pGZFI7qb7L+dPk+V/ZCLIzYVdn68+mjzupjwhNn3zsZ7yfbVBp42hnEl6hmV663FaDHmfcDfc3wO/lDTgAiBdJnf0EJmenQSsWgwu9KiFId2QP8VJt/nswvHYDaTy/cJN5fyybx//xAAgEQACAgICAgMAAAAAAAAAAAABAgARICEDEBIxEzBR/9oACAEDAQE/AfsCM258bCA5Veu+QbyX3AsIjJeS+4DLjNldQGFox3WJYCFrgOuuRraB/wB7c9py+OjG5r9d3UU3GzM45//EACARAAICAgICAwAAAAAAAAAAAAABAhEDIRAgMDESE1H/2gAIAQIBAT8B8aVjnGOj7IMlGu0XWx8Y3ce1jaaIshL32YhoXarKKEtX1UWyMaHpjZihUdksf5zBczxfLaI4a2+WrJKmR9eDKf/EACwQAAECAwYFBAMBAAAAAAAAAAEAAgMRIRASMDFBURMgImGBMkBScSNQkaH/2gAIAQEABj8C9xdiRWtKo9p8+w4jqpz9zZR7x5V2IOJ3K6Tdf8TiiCDRqpQKritVNhWrXBXHH8jf9xHjUuQaOTitzCh/zEiF2hPK/wClDl8sSMZZiam6NXZXJzspHrsnsdqM1DMpydiB3hSugzQNlWtrqpK8Zzv5YgszUg4TtvYgKop3gs22jfEIV1ypJVAsDNBni3W9UTbZNjO9RVc7KJsSEeq8togzGI927k0DZVFrWazUMjUyOG/eSny9goQ7zwJC131YTwnGGiAbDDYeo59rHv8AiMS82Cyf0qL0q8Ycz3UnMHhdL3hENJM9+WX6b//EACUQAQACAQQDAAICAwAAAAAAAAEAESEQMUFRIGFxgaEwkUCx8f/aAAgBAQABPyGpX+BXmZYeFn6iIsef5L1VAi6ojX/NN0LLA72KUSo2SmoB9pvS5flely4w3M013HdqeYTdQ7yOmRKgqOPUB+0encNK/IvLRUE1YBU45j+5QlIdQGCi/uI41bb3oIQ8a0Y5DKc/Yc7zDKTmol83Ll6hN8UbQ4IEIa1omjogYWQfqZTnui22vfMN3cy4qd7EgFqU5l3iPBDAgQJUrwdB0ZdMPFBV5h0gJtXErZ3jG2t1N4NLaIUX6F6SEPNvjr8soqYVI9RWUHEr1N5D79QaEPJIZ8AxReUYUF8XLo2J7lwdcy1MHDyLYaEPJNPumWpMjmIrs9RxwfURAVF9wgQ0DzdFchz4+pU9VbROLfaOwczB7mCoEBsuyWuj/tyEISpWty4sEcxFm7v6gcIUjK4IbYIfdVM6bV51hl2MCBg+C5c9m+pseJdp5f8AUeMWelwoWwuxAJfI3jJUBdXfjM2j78k5XMuXqZbMaVP30ctRCLc1k+QyyrjkgpFpmYHcEEv3pPrHTbMJ7Jd50sNONEpSSmB2gDYB1GwQvcGBr9Q/hNqVU/FFwxC27XRvNpjmfE0eAjtOGmZU3KhlUClbwlw/MZtEWiLX4mGdHjNjOD5oTfQjONOYGZs0sj9m1mxP/9oADAMBAAIAAwAAABBH3cqFte1WXMDyHafEe3/46SmXt1H0jfqWx+O/mjWFjtv+f/TYLjj2X+6vYe4oBe+o7G6xVxYLtIs5T6oL/8QAHREBAAICAwEBAAAAAAAAAAAAAQARECEgMUEwYf/aAAgBAwEBPxDN/BaJpETWSzvlsI6KMAFPeQsRL/IqkZlecurAxQPKmzKS2WagFnMISJQTeHk8oEesU6l4QdhHCCoG8C2JQuO2GHBHBeT/xAAfEQEAAgIDAAMBAAAAAAAAAAABABEhMRAgQTBRYYH/2gAIAQIBAT8Q4v4bFTIGCaZsGublcZH4lltiRVHzs0GUj2CCMMB9x66wW3KGyHN9aglRF3jyL2x2vXXST+uWSIzA+ou4RMPF+XghLQw0JcXgcGYaGh3INM//xAAmEAEAAgICAQMEAwEAAAAAAAABABEhMUFREGFxgZGhsdEgwfDx/9oACAEBAAE/ECCKlSpUqVAgVAlQJUSVA8AxAlRPPrIIh79fMFG+yUN/eGoHyQ8LnwSoS6hDLgPwC2VZYVbVW6thjonSwR0839w6jvoia37wTCjJC3p2SvcIuX4MS4RYykTBIQpAFbf6PzGC50vVwIfZCMYjJu4sWmQTcq5Cowo5hlKL/AeAgEGEol5eowe6VHMsmtJ2H+5hT6reVyysxBQAC4dGEZuERXCJitdYRu49ZjYr/gCViMJDhmhhUaf+oFCh7x6VTHMR7pQaHsYIJtZR5pB7o2TqYoYZXgisSiJL6JaKlMNw2S/GAvrcMCJhV09JgpOJTqNXJzdH4uMigVssSl2d2JdMtD+AB4DwwRQYAXtZRR38S/UCJyys26A01UakjTkuNZ4tn3SuWkyPnKUF1J9oMfwFy4EqVBjxUvt/pEL4uZ9TJbNTNMNvmEUtIhPohV6or5a/PjCCCVKgSokuJzz/AD/MDlQ3Gaeio/eBh6AWTGgmFNQWHFRasDse8w0QICDErMqVAiPgOGG40jD08MwlKoZz49gzNY9CQIWHEbaZo5Dj5lFeARIErMqYh41mjM9ZhODh/SJ49LjbVHtHZiQepnJCLcRVfEfA4kGGxH2I6AUrf8D9oYSA8lS4AiYcuIWFzVeBvtR9qjRjS+0pqW1aRHOrvMxG6EIM2SisAxkMF3AD+/iUxdPUs5lMBFuZj4MLfoZS+EHo3A00w31tEA7G4W3BUwUixxMDBVnXE5ih8PbFbAHsD9IUhN+GGGAdGEYS0ZgAOFOZRwk+TCoHP42WQZzqB5O0ZHYcvxO6RoROkYUEOFgNCi7ByX3CwSYge8fofrPbPlhYdiOBb0sCQaYxUDS4iXm4BwsuFI4zBTASk7mWDXU3PjQDBFTphAW/MprRakfRaha9apMe5FSV7D8TA9D14KDEtb18xVH9MS2YdWI67XT7+KezmY2hRZvcBTfrD1S3e5VjqnmWVExj3MAFrKGl9gibu4y009R1vcZDmG6sKRgOW2XGq4qP6Uq8zpAxFrUtTccX6R0Xy5YCBcaoi6esBymALgxczBPKgwQWj1P/2Q==",kN="/assets/Francisco_Anes-BHfxrnRc.jpg",CN="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBAUEBAYFBQUGBgYHCQ4JCQgICRINDQoOFRIWFhUSFBQXGiEcFxgfGRQUHScdHyIjJSUlFhwpLCgkKyEkJST/wAALCABkAGMBAREA/8QAHAAAAgIDAQEAAAAAAAAAAAAABgcFCAACBAMB/8QAPxAAAQMDAgQEAwUDCwUAAAAAAQIDBAAFERIhBjFBUQcTYXEigaEUMpGxwSNC0QgVJDVSYnKCkvDxFjM0Q6L/2gAIAQEAAD8AtTWVlcl0usSzQXZs14NMNjJUevoO5pCcZ+M1zuz649rJjRQSEgKAJ9SagbdxtcYAW6qYvzSMAFWofOpa28RxJSy9Mmo81R1DzU7D67Ub2vigxEBYbRIjp5uxFlSkjuU88e2flR1YOJ4N5YC48puQn+0k7j3FToIIyN6ysoE4mt3n3uS5qAzo6f3BR3WV8UoIBUogAbknpVbfF/xJN+uS4MJ/+gR8pQAdnO6z79PT3pVsy1F74lhJAOO9difOkq8tOc4zjGNq433HGpamlLUCnbfvU1abvJtj6HA4ptOR
437hxo4wfXFHkS6zkLbuER4CcgeYl9nOlQPMOI7eozTY8PPEFniloxZCUsTmh8bff1FHNZQjfv61f8Au/u8/wDCKLqygDxn4sHDfCqmGndEmeospxz0Y+Mj5YHzqqsrVMlblSnFnYDfFFXDHAL89aFPJWy0dznmfamhZ+CLZb2to4Ws76nDkj27VGX7wttk5Ti2GPIeXv5gUohJ9qHJ3hneLWwpceQxLSjcpUkhStuRHUfWou03JoNhh137K+0vSkOZwlXYnmAe/SpRm4yuGb7GmJHkPBQXnovPqNiDVl7Lc27vbI81rOl1AVg8wcV3UPXWAHp7rmM5x+QohrKq/wCPXFwufGL8VtQ8i2I+zJPdfNftvt8qDvD6F9vuSpTycgJOjI57/wDNOe3MhtKQkbddqJImAkAprqKUqT8QrllBKkFOBilB4m8OeRm+xAApJCZKUj7w6L9wagrJdG7rDVaZkhWrGqM6RktrH7h7pP8ACnb4GX8v21+yvK/bRFEAZztnNNWo+UB9oV8vyqQrnuMxFvt8mY6cNx2luqJ6BIJP5VQy73F+7XFyQ6pRU+6pxWT1Ucn86YXCTke2BlbrgQlKRlSjz2G1HUfjKBHx5jUhKCchWjmO/pRRZuILXc0hceSleOaeRH41PofZ0ayNsVE3G8W2EkrkSW2QTsFqAzQnd77Z7iw7HDqH2nEltekZGDSSfZVZr6tlKwtCV5Qv+2nofwpheHvFQ4c44afWrDDytC98bHfP1NWlByMjlXDJQS+o5HT8q7qGfE2SuJ4e8ROt/eFveA+aCP1qlLlvlPhEhpvLYUG8p6H1/A01+F7KCqO9IZQ8ltAA1gEau9e14vt4jNuSmYEd2Kl8sBjBJT6lKRsD074oniW6RGiRpUiKyw+6yl8oa20bZKSOhokYlarcHdWM7UPXW2vzI77rcSPIebaU8EvnZQG4SB1PpQnZplxeYE6RbYDLBfDBjhvS4oY+8E9QOvvQ14n2RuBcWJsdsNMPAgpTySr096HkXAqEd0n4kJwo+3L6GrdeGPEf/UXCUN51WZDKQ0s5+8MfCr5j6g0VKaQo5KRmtxQp4rJ1eHHEZ7W94/8AyarVwM0xO4WucUf+SZKQP72QCn6g0xOFvKcgNKCUnUM8qnUWhgu+eQlCsg5A32raclLbSkMoKUqHxH+1XxpATbEb/e3rphoStnynEah0yM4rX+Z4qVqcbaQFnfOnegnxRtiX+GZWE5Wxh1OB1Bz+WaSLLgUgp5jNWF/k437zIEqE4rdhaU/5Fk6T8lZ/1U9gc1lD/iE0l/gW/tLGUqgPA/6DVTuGpsKw8QI1yf6JLCkacHZf7vzzyNMHhC5IQ45DVqBQ4dOsaTpO429iKP2XWUp1r3TzqIusp111K16242k7pTkD1PauwvMi2tZcQAevWtbVKLCnRlSmgdtQOalHZDa29Sfeln4tXlEbh+U2k4U7hsb9yBSOiujJ54POnB4AzHGOJ5kcZHmwznboHGyD9RVphyr6KH/EFKl8D31tP3lwnUjfHNJHOqO3FxSwOatJwf0ou8Pbs/ImuIkSFrd+AoWtWTgDGPoKcRMn7G1ISFuoUPup9s14RL81JGr9sTnGzZ74rvbmQG0amo6kuEE4CDy7jt8q8JN7SwRqak5JwE+USSew7nY11mPKbYW86fKCsYb7HtSi8VZKSw0ypRJU5kj5E/wpdW5BckpbxzyDTt/k/wAR1XGamtPwtx8qKuf/AHARjbbZvlVm+VYOVQXHaSrgq/AY/q987js2aoxP1NltY5OhRwO2oj9K6rTcE252NMaJ1tqw4Oun/e9PjhHiFqbA8kLSUOboAO6Vcyk/pXuwp+LcDJiuKaWvZeNwrfqOp2oiRdboqNgXDBKSnSGeWfWopSHVS/tUpxTzyQdBUc6ckn2zufxrzvV2DcUIUoYQM/OkhxPIcvtylqbV8MXDaUdVE7qV+QqGj25+PNQsoVgKyduVPzwJ0I4ykjQApUQjI6HOd/r+Jp/ZrBUXxU2H+GLw0rkuC+k59W1VQm4OlXktn/1JI98kn9a1YPlqyQVDnnuOv600uG4jjloiyozpafSkJV2JTtuKMrNeg+6WpSQ3IB+JHfsoehovadaTGGpadR6VB3W4BBKWBrc35cgfWor7AtcRUmWvWsAkAckj+NJ26SVM3qWW8tlTpBHpsMfSuqJc1LfClHUpR3HTGKOfDHiIWniAXDWvSV6zoOywcbfhn8asM1x7Y3G0rLzqSRnBb3H4VPvyGozSnXnENtpGVKUcACk74peL0Bm3y7ZbXkPrWgtrUlXwpChj/Md/b3qrU3SuQMnnsfTf/ivdMZaCmOtIHMZ7j0po+F8pEmCuK6c6fT6+9FMi1tCShEhpLiDuhYyD8iNxU5EtcRDWFCQr/E+SK57iyhOhDSEoSTnSOtbzQiJb3HX/ALrbZWR7DNV2kvefMdkryCtSln3JNbJX5aFKTnIwn59fwr7br1LtcjVFkLbKQADnflRQ14nXtpsIFyZGO7Kc/lRd4scdX263y5W56YUQokhbLbDXwoISogFXc7dflik5cJr61kFw4PTpXGrY6s5OoDepOM4p2UQ4oqwpIGexANHXBSzEubaGjhLiXNQ9l7U0VDWhAVuCf9mu1rYEdjWikBT6dW+2r51B+IEhxnh2ZoVjUjQT6E4NIgJGlWd8D+Faun9gj2UrPqK5G1ncHcHvvW2o1//Z",EN="/assets/Sergio_Merino-aWf6dJrG.jpg",AN="/assets/Waldir_Valero-F_uziMoQ.jpg";var TN={exports:{}},y3="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",v3=y3,b3=v3;function PN(){}function RN(){}RN.resetWarningCache=PN;var w3=function(){function t(s,a,i,o,l,c){if(c!==b3){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}t.isRequired=t;function e(){return t}var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:RN,resetWarningCache:PN};return r.PropTypes=r,r};TN.exports=w3();var j3=TN.exports;const ot=Wo(j3);var N3=function t(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var s,a,i;if(Array.isArray(e)){if(s=e.length,s!=r.length)return!1;for(a=s;a--!==0;)if(!t(e[a],r[a]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(i=Object.keys(e),s=i.length,s!==Object.keys(r).length)return!1;for(a=s;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[a]))return!1;for(a=s;a--!==0;){var o=i[a];if(!t(e[o],r[o]))return!1}return!0}return e!==e&&r!==r};const S3=Wo(N3);var Ch={exports:{}},IN;/** 438* @link https://github.com/gajus/sister for the canonical source repository 439* @license https://github.com/gajus/sister/blob/master/LICENSE BSD 3-Clause
440*/IN=function(){var t={},e={};return t.on=function(r,s){var a={name:r,handler:s};return e[r]=e[r]||[],e[r].unshift(a),a},t.off=function(r){var s=e[r.name].indexOf(r);s!==-1&&e[r.name].splice(s,1)},t.trigger=function(r,s){var a=e[r],i;if(a)for(i=a.length;i--;)a[i].handler(s)},t};var _3=IN,Eh={exports:{}},k3=function(e,r,s){var a=document.head||document.getElementsByTagName("head")[0],i=document.createElement("script");typeof r=="function"&&(s=r,r={}),r=r||{},s=s||function(){},i.type=r.type||"text/javascript",i.charset=r.charset||"utf8",i.async="async"in r?!!r.async:!0,i.src=e,r.attrs&&C3(i,r.attrs),r.text&&(i.text=""+r.text);var o="onload"in i?Iy:E3;o(i,s),i.onload||Iy(i,s),a.appendChild(i)};function C3(t,e){for(var r in e)t.setAttribute(r,e[r])}function Iy(t,e){t.onload=function(){this.onerror=this.onload=null,e(null,t)},t.onerror=function(){this.onerror=this.onload=null,e(new Error("Failed to load "+this.src),t)}}function E3(t,e){t.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,e(null,t))}}(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=k3,s=a(r);function a(i){return i&&i.__esModule?i:{default:i}}e.default=function(i){var o=new Promise(function(l){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function){l(window.YT);return}else{var c=window.location.protocol==="http:"?"http:":"https:";(0,s.default)(c+"//www.youtube.com/iframe_api",function(u){u&&i.trigger("error",u)})}var d=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){d&&d(),l(window.YT)}});return o},t.exports=e.default})(Eh,Eh.exports);var A3=Eh.exports,Ah={exports:{}},Th={exports:{}},Ph={exports:{}},Po=1e3,Ro=Po*60,Io=Ro*60,Oo=Io*24,T3=Oo*365.25,P3=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return R3(t);if(r==="number"&&isNaN(t)===!1)return e.long?O3(t):I3(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function R3(t){if(t=String(t),!(t.length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),s=(e[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return r*T3;case"days":case"day":case"d":return r*Oo;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Io;case"minutes":case"minute":case"mins":case"min":case"m":return r*Ro;case"seconds":case"second":case"secs":case"sec":case"s":return r*Po;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function I3(t){return t>=Oo?Math.round(t/Oo)+"d":t>=Io?Math.round(t/Io)+"h":t>=Ro?Math.round(t/Ro)+"m":t>=Po?Math.round(t/Po)+"s":t+"ms"}function O3(t){return Ol(t,Oo,"day")||Ol(t,Io,"hour")||Ol(t,Ro,"minute")||Ol(t,Po,"second")||t+" ms"}function Ol(t,e,r){if(!(t<e))return t<e*1.5?Math.floor(t/e)+" "+r:Math.ceil(t/e)+" "+r+"s"}(function(t,e){e=t.exports=a.debug=a.default=a,e.coerce=c,e.disable=o,e.enable=i,e.enabled=l,e.humanize=P3,e.names=[],e.skips=[],e.formatters={};var r;function s(d){var u=0,m;for(m in d)u=(u<<5)-u+d.charCodeAt(m),u|=0;return e.colors[Math.abs(u)%e.colors.length]}function a(d){function u(){if(u.enabled){var m=u,h=+new Date,f=h-(r||h);m.diff=f,m.prev=r,m.curr=h,r=h;for(var v=new Array(arguments.length),p=0;p<v.length;p++)v[p]=arguments[p];v[0]=e.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");var w=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,function(g,y){if(g==="%%")return g;w++;var j=e.formatters[y];if(typeof j=="function"){var N=v[w];g=j.call(m,N),v.splice(w,1),w--}return g}),e.formatArgs.call(m,v);var b=u.log||e.log||console.log.bind(console);b.apply(m,v)}}return u.namespace=d,u.enabled=e.enabled(d),u.useColors=e.useColors(),u.color=s(d),typeof e.init=="function"&&e.init(u),u}function i(d){e.save(d),e.names=[],e.skips=[];for(var u=(typeof d=="string"?d:"").split(/[\s,]+/),m=u.length,h=0;h<m;h++)u[h]&&(d=u[h].replace(/\*/g,".*?"),d[0]==="-"?e.skips.push(new RegExp("^"+d.substr(1)+"$")):e.names.push(new RegExp("^"+d+"$")))}function o(){e.enable("")}function l(d){var u,m;for(u=0,m=e.skips.length;u<m;
vendor: 2,237 bytes, line 440
440u++)if(e.skips[u].test(d))return!1;for(u=0,m=e.names.length;u<m;u++)if(e.names[u].test(d))return!0;return!1}function c(d){return d instanceof Error?d.stack||d.message:d}})(Ph,Ph.exports);var D3=Ph.exports;(function(t,e){var r={};e=t.exports=D3,e.log=i,e.formatArgs=a,e.save=o,e.load=l,e.useColors=s,e.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:c(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"];function s(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}e.formatters.j=function(d){try{return JSON.stringify(d)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}};function a(d){var u=this.useColors;if(d[0]=(u?"%c":"")+this.namespace+(u?" %c":" ")+d[0]+(u?"%c ":" ")+"+"+e.humanize(this.diff),!!u){var m="color: "+this.color;d.splice(1,0,m,"color: inherit");var h=0,f=0;d[0].replace(/%[a-zA-Z%]/g,function(v){v!=="%%"&&(h++,v==="%c"&&(f=h))}),d.splice(f,0,m)}}function i(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function o(d){try{d==null?e.storage.removeItem("debug"):e.storage.debug=d}catch{}}function l(){var d;try{d=e.storage.debug}catch{}return!d&&typeof process<"u"&&"env"in process&&(d=r.DEBUG),d}e.enable(l());function c(){try{return window.localStorage}catch{}}})(Th,Th.exports);var M3=Th.exports,Rh={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","
440setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],t.exports=e.default})(Rh,Rh.exports);var L3=Rh.exports,Ih={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],t.exports=e.default})(Ih,Ih.exports);var z3=Ih.exports,Oh={exports:{}},Dh={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},t.exports=e.default})(Dh,Dh.exports);var B3=Dh.exports;(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=B3,s=a(r);function a(i){return i&&i.__esModule?i:{default:i}}e.default={pauseVideo:{acceptableStates:[s.default.ENDED,s.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[s.default.ENDED,s.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[s.default.ENDED,s.default.PLAYING,s.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},t.exports=e.default})(Oh,Oh.exports);var F3=Oh.exports;(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=M3,s=u(r),a=L3,i=u(a),o=z3,l=u(o),c=F3,d=u(c);function u(f){return f&&f.__esModule?f:{default:f}}var m=(0,s.default)("youtube-player"),h={};h.proxyEvents=function(f){var v={},p=function(_){var E="on"+_.slice(0,1).toUpperCase()+_.slice(1);v[E]=function(T){m('event "%s"',E,T),f.trigger(_,T)}},w=!0,b=!1,g=void 0;try{for(var y=l.default[Symbol.iterator](),j;!(w=(j=y.next()).done);w=!0){var N=j.value;p(N)}}catch(S){b=!0,g=S}finally{try{!w&&y.return&&y.return()}finally{if(b)throw g}}return v},h.promisifyPlayer=function(f){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p={},w=function(E){v&&d.default[E]?p[E]=function(){for(var T=arguments.length,O=Array(T),B=0;B<T;B++)O[B]=arguments[B];return f.then(function(D){var G=d.default[E],A=D.getPlayerState(),W=D[E].apply(D,O);return G.stateChangeRequired||Array.isArray(G.acceptableStates)&&G.acceptableStates.indexOf(A)===-1?new Promise(function(q){var te=function P(){var I=D.getPlayerState(),F=void 0;typeof G.timeout=="number"&&(F=setTimeout(function(){D.removeEventListener("onStateChange",P),q()},G.timeout)),Array.isArray(G.acceptableStates)&&G.acceptableStates.indexOf(I)!==-1&&(D.removeEventListener("onStateChange",P),clearTimeout(F),q())};D.addEventListener("onStateChange",te)}).then(function(){return W}):W})}:p[E]=function(){for(var T=arguments.length,O=Array(T),B=0;B<T;B++)O[B]=arguments[B];return f.then(function(D){return D[E].apply(D,O)})}},b=!0,g=!1,y=void 0;try{for(var j=i.default[Symbol.iterator](),N;!(b=(N=j.next()).done);b=!0){var S=N.value;w(S)}}catch(_){g=!0,y=_}finally{try{!b&&j.return&&j.return()}finally{if(g)throw y}}return p},e.default=h,t.exports=e.default})(Ah,Ah.exports);var $3=Ah.exports;(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},s=_3,a=d(s),i=A3,o=d(i),l=$3,c=d(l);function d(m){return m&&m.__esModule?m:{default:m}}var u=void 0;e.default=function(m){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,v=(0,a.default)();if(u||(u=(0,o.default)(v)),h.events)throw new Error("Event handlers cannot be overwritten.");if(typeof m=="string"&&!document.getElementById(m))throw new Error('Element "'+m+'" does not exist.');h.events=c.default.proxyEvents(v);var p=new Promise(function(b){if((typeof m>"u"?"undefined":r(m))==="object"&&m.playVideo instanceof Function){var g=m;b(g)}else u.then(function(y){var j=new y.Player(m,h);return v.on("ready",function(){b(j)}),null})}),w=c.default.promisifyPlayer(p,f);return w.on=v.on,w.off=v.off,w},t.exports=e.default}
440)(Ch,Ch.exports);var U3=Ch.exports;const V3=Wo(U3);var W3=Object.defineProperty,H3=Object.defineProperties,q3=Object.getOwnPropertyDescriptors,Oy=Object.getOwnPropertySymbols,G3=Object.prototype.hasOwnProperty,Q3=Object.prototype.propertyIsEnumerable,Dy=(t,e,r)=>e in t?W3(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Mh=(t,e)=>{for(var r in e||(e={}))G3.call(e,r)&&Dy(t,r,e[r]);if(Oy)for(var r of Oy(e))Q3.call(e,r)&&Dy(t,r,e[r]);return t},Lh=(t,e)=>H3(t,q3(e)),Y3=(t,e,r)=>new Promise((s,a)=>{var i=c=>{try{l(r.next(c))}catch(d){a(d)}},o=c=>{try{l(r.throw(c))}catch(d){a(d)}},l=c=>c.done?s(c.value):Promise.resolve(c.value).then(i,o);l((r=r.apply(t,e)).next())});function K3(t,e){var r,s;if(t.videoId!==e.videoId)return!0;const a=((r=t.opts)==null?void 0:r.playerVars)||{},i=((s=e.opts)==null?void 0:s.playerVars)||{};return a.start!==i.start||a.end!==i.end}function My(t={}){return Lh(Mh({},t),{height:0,width:0,playerVars:Lh(Mh({},t.playerVars),{autoplay:0,start:0,end:0})})}function Z3(t,e){return t.videoId!==e.videoId||!S3(My(t.opts),My(e.opts))}function J3(t,e){var r,s,a,i;return t.id!==e.id||t.className!==e.className||((r=t.opts)==null?void 0:r.width)!==((s=e.opts)==null?void 0:s.width)||((a=t.opts)==null?void 0:a.height)!==((i=e.opts)==null?void 0:i.height)||t.iframeClassName!==e.iframeClassName||t.title!==e.title}var X3={videoId:"",id:"",className:"",iframeClassName:"",style:{},title:"",loading:void 0,opts:{},onReady:()=>{},onError:()=>{},onPlay:()=>{},onPause:()=>{},onEnd:()=>{},onStateChange:()=>{},onPlaybackRateChange:()=>{},onPlaybackQualityChange:()=>{}},e6={videoId:ot.string,id:ot.string,className:ot.string,iframeClassName:ot.string,style:ot.object,title:ot.string,loading:ot.oneOf(["lazy","eager"]),opts:ot.objectOf(ot.any),onReady:ot.func,onError:ot.func,onPlay:ot.func,onPause:ot.func,onEnd:ot.func,onStateChange:ot.func,onPlaybackRateChange:ot.func,onPlaybackQualityChange:ot.func},lc=class extends z.Component{constructor(t){super(t),this.destroyPlayerPromise=void 0,this.onPlayerReady=e=>{var r,s;return(s=(r=this.props).onReady)==null?void 0:s.call(r,e)},this.onPlayerError=e=>{var r,s;return(s=(r=this.props).onError)==null?void 0:s.call(r,e)},this.onPlayerStateChange=e=>{var r,s,a,i,o,l,c,d;switch((s=(r=this.props).onStateChange)==null||s.call(r,e),e.data){case lc.PlayerState.ENDED:(i=(a=this.props).onEnd)==null||i.call(a,e);break;case lc.PlayerState.PLAYING:(l=(o=this.props).onPlay)==null||l.call(o,e);break;case lc.PlayerState.PAUSED:(d=(c=this.props).onPause)==null||d.call(c,e);break}},this.onPlayerPlaybackRateChange=e=>{var r,s;return(s=(r=this.props).onPlaybackRateChange)==null?void 0:s.call(r,e)},this.onPlayerPlaybackQualityChange=e=>{var r,s;return(s=(r=this.props).onPlaybackQualityChange)==null?void 0:s.call(r,e)},this.destroyPlayer=()=>this.internalPlayer?(this.destroyPlayerPromise=this.internalPlayer.destroy().then(()=>this.destroyPlayerPromise=void 0),this.destroyPlayerPromise):Promise.resolve(),this.createPlayer=()=>{if(typeof document>"u")return;if(this.destroyPlayerPromise){this.destroyPlayerPromise.then(this.createPlayer);return}const e=Lh(Mh({},this.props.opts),{videoId:this.props.videoId});this.internalPlayer=V3(this.container,e),this.internalPlayer.on("ready",this.onPlayerReady),this.internalPlayer.on("error",this.onPlayerError),this.internalPlayer.on("stateChange",this.onPlayerStateChange),this.internalPlayer.on("playbackRateChange",this.onPlayerPlaybackRateChange),this.internalPlayer.on("playbackQualityChange",this.onPlayerPlaybackQualityChange),(this.props.title||this.props.loading)&&this.internalPlayer.getIframe().then(r=>{this.props.title&&r.setAttribute("title",this.props.title),this.props.loading&&r.setAttribute("loading",this.props.loading)})},this.resetPlayer=()=>this.destroyPlayer().then(this.createPlayer),this.updatePlayer=()=>{var e;(e=this.internalPlayer)==null||e.getIframe().then(r=>{this.props.id?r.setAttribute("id",this.props.id):r.removeAttribute("id"),this.props.iframeClassName?r.setAttribute("class",this.props.iframeClassName):r.removeAttribute("class"),this.props.opts&&this.props.opts.width?r.setAttribute("width",this.props.opts.width.toString()):r.removeAttribute("width"),this.props.opts&&this.props.opts.height?r.setAttribute("height",this.props.opts.height.toString()):r.removeAttribute("height"),this.props.title?r.setAttribute("title",this.props.title):r.setAttribute("title","YouTube video player"),this.props.loading?r.setAttribute("loading",this.props.loading):r.removeAttribute("loading")})},this.getInternalPlayer=()=>this.internalPlayer,this.updateVideo=()=>{var e,r,s,a;if(typeof this.props.videoId>"u"||this.props.videoId===null){(e=this.internalPlayer)==null||e.stopVideo();return}let i=!1;const o={videoId:this.props.videoId};if((r=this.props.opts)!=null&&r.playerVars&&(i=this.props.opts.playerVars.autoplay===1,"start"in this.props.opts.playerVars&&(o.startSeconds=this.props.opts.playerVars.start),"end"in this.props.opts.playerVars&&(o.endSeconds=this.props.opts.playerVars.end)),i){(s=this.internalPlayer)==null||s.loadVideoById(o);return}(a=this.internalPlayer)==null||a.cueVideoById(o)},this.refContainer=e=>{this.container=e},this.container=null,this.internalPlayer=null}componentDidMount(){this.createPlayer()}componentDidUpdate(t){return Y3(this,null,function*(){J3(t,this.props)&&this.updatePlayer(),Z3(t,this.props)&&(yield this.resetPlayer()),K3(t,this.props)&&this.updateVideo()})}componentWillUnmount(){this.destroyPlayer()}render(){return z.createElement("div",{className:this.props.className,style:this.props.style},z.createElement("div",{id:this.props.id,className:this.props.iframeClassName,ref:this.refContainer}))}},qd=lc;qd.propTypes=e6;qd.defaultProps=X3;qd.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5};var ON=qd;const t6=()=>{const[t,e]=x.useState(!1),[r,s]=x.useState(!0),[a,i]=x.useState(!0),[o,l]=x.useState(!1),[c,d]=x.useState(!1),[u,m]=x.useState(0),h=x.useRef(null),f=ne(),v=60;x.useEffect(()=>{const N=setInterval(()=>{h.current&&h.current.getCurrentTime()>=v&&!t&&(e(!0),console.log(`¡CTA activado a los ${v} segundos!`))},1e3);return()=>clearInterval(N)},[t,v]);const p=N=>{h.current=N.target,console.log("YouTube player listo")},w=()=>
440{h.current&&(h.current.seekTo(0),h.current.unMute(),h.current.playVideo(),s(!1),i(!1),e(!1),console.log("Video reiniciado y activado con sonido"))},b=()=>{if(h.current&&!a&&!o){const N=h.current.getCurrentTime();h.current.pauseVideo(),l(!0),d(!0),m(N),console.log("Video pausado en:",N)}},g=()=>{h.current&&(h.current.playVideo(),l(!1),d(!1),console.log("Video reanudado desde:",u))},y=()=>{h.current&&(h.current.seekTo(0),h.current.playVideo(),l(!1),d(!1),e(!1),console.log("Video reiniciado desde el inicio"))},j=[{nombre:"Diego Fernández",puesto:"Ingeniero Industrial",empresa:"Construcciones Metálicas Los Blancos",testimonio:"El curso de IDEA StatiCa es completo, dinámico y bien estructurado; te permite calcular cualquier unión. El equipo docente está altamente cualificado y siempre disponible. Curso muy útil que recomiendo.",avatar:_N},{nombre:"Francisco Anés",puesto:"Ingeniero Industrial",empresa:"Estructuras Metálicas BAYO",testimonio:"Este curso es imprescindible para manejar Idea Statica. Permite asentar las bases para calcular cualquier unión con garantÃas, gracias al gran desarrollo teórico, práctico y al apoyo docente.",avatar:kN},{nombre:"Rosa Parramon",puesto:"Structural Engineer",empresa:"TechnipFMC",testimonio:"Este curso de Idea es una magnÃfica oportunidad para calcular uniones complejas. Los tutoriales están bien explicados y las actividades prueban casos reales. El material y tutor ayudan a dominarlo.",avatar:CN},{nombre:"Sergio Merino",puesto:"Ingeniero",empresa:"Deltana IngenierÃa",testimonio:"Curso muy útil y práctico, con información bien estructurada. Se aprende a usar todos los aspectos del programa, desde modelado a cálculo. Sorprende la capacidad para uniones complejas. Muy recomendable.",avatar:EN},{nombre:"Waldir Valero",puesto:"Jefe oficina técnica",empresa:"TECKTOMETAL",testimonio:"El curso ha sido desarrollado de la mejor manera. Me ayudó a comprender el uso del software y ahora podré utilizarlo en los problemas que se me presenten. Muchas gracias.",avatar:AN}];return n.jsxs("div",{className:"min-h-screen bg-[#ebf3f3]",children:[n.jsx("div",{className:"fixed top-4 left-1/2 -translate-x-1/2 md:left-8 md:translate-x-0 md:top-8 z-50",children:n.jsx("img",{src:es,alt:"Construsoft",className:"h-7 md:h-10 opacity-90 hover:opacity-100 transition-opacity"})}),n.jsx("section",{className:"pt-16 pb-4 md:pt-20 md:pb-6",children:n.jsxs("div",{className:"container mx-auto px-4 max-w-5xl text-center",children:[n.jsxs("h1",{className:"text-2xl sm:text-3xl md:text-5xl lg:text-6xl font-bold text-foreground mb-4 md:mb-6 leading-tight px-2",children:["Aprende y certifÃcate en Cálculo de Uniones Metálicas y Elementos de Hormigón con"," ",n.jsx("span",{className:"text-primary",children:"IDEA StatiCa"})]}),n.jsxs("p",{className:"text-base sm:text-lg md:text-2xl text-muted-foreground mb-4 max-w-3xl mx-auto px-2",children:["Este curso te abrirá las puertas a empleos mejor remunerados.",n.jsx("br",{className:"hidden sm:block"}),n.jsx("span",{className:"font-semibold text-foreground",children:"¡Calcula lo que antes solo se estimaba!"})]})]})}),n.jsx("section",{className:"py-0 md:py-2",children:n.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[n.jsx(k,{className:"border-2 border-primary/20 shadow-2xl overflow-hidden",children:n.jsx(C,{className:"p-0",children:n.jsxs("div",{className:"relative aspect-video bg-black",children:[n.jsx(ON,{videoId:"n56C7BGqvDI",onReady:p,opts:{width:"100%",height:"100%",playerVars:{autoplay:1,mute:1,modestbranding:1,rel:0,controls:0,playsinline:1,disablekb:1,fs:0,iv_load_policy:3}},className:"w-full h-full",style:{pointerEvents:"none"}}),!a&&r&&n.jsx("div",{className:"absolute inset-0 z-20",style:{pointerEvents:"auto"},onContextMenu:N=>N.preventDefault()}),!a&&!c&&!r&&n.jsx("div",{onClick:b,className:"absolute inset-0 z-30 cursor-pointer",onContextMenu:N=>N.preventDefault()}),a&&r&&n.jsx("div",{className:"absolute inset-0 z-40 flex items-center justify-center bg-black/40 backdrop-blur-sm cursor-pointer p-3",onClick:w,onContextMenu:N=>N.preventDefault(),children:n.jsx("div",{className:"bg-primary rounded-xl md:rounded-2xl p-5 md:p-12 max-w-[90%] md:max-w-md transition-all duration-300 hover:scale-105 hover:shadow-2xl border-2 border-white/20",children:n.jsxs("div",{className:"text-center animate-pulse",children:[n.jsx(Iw,{className:"w-12 h-12 md:w-20 md:h-20 mx-auto mb-2.5 md:mb-4 text-black"}),n.jsx("p",{className:"text-base md:text-2xl font-bold mb-1.5 md:mb-3 text-black leading-tight",children:"El video ya ha comenzado"}),n.jsx("p",{className:"text-sm md:text-lg text-black font-medium",children:"Toca aquà para escucharlo"})]})})}),c&&o&&n.jsx("div",{className:"absolute inset-0 z-40 flex items-center justify-center bg-black/40 backdrop-blur-sm p-3 overflow-y-auto",onContextMenu:N=>N.preventDefault(),children:n.jsx("div",{className:"bg-primary rounded-xl md:rounded-2xl p-4 md:p-10 max-w-[95%] md:max-w-xl w-full my-auto transition-all duration-300 border-2 border-white/20",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"bg-black/10 -mx-4 -mt-4 md:-mx-10 md:-mt-10 px-4 py-3 md:px-6 md:py-4 mb-4 md:mb-6 rounded-t-xl md:rounded-t-2xl border-b border-black/10",children:n.jsx("p",{className:"text-base md:text-lg font-bold text-black uppercase tracking-wide",children:"â ï¸ Mensaje Importante"})}),n.jsx("div",{className:"mb-4 md:mb-6 bg-black/5 rounded-lg md:rounded-xl p-3 md:p-5 border border-black/10",children:n.jsxs("p",{className:"text-sm md:text-lg text-black/90 leading-relaxed md:leading-relaxed font-medium",children:["ð¡ Te invitamos a acabar este video. Es posible que ",n.jsx("span",{className:"font-bold",children:"no vuelva a aparecerte de nuevo."})," ¡No pierdas esta oportunidad!"]})}),n.jsxs("div",{className:"flex flex-col gap-2 md:gap-3",children:[n.jsx($,{onClick:g,size:"lg",className:"w-full bg-black text-white hover:bg-gray-800 transition-all duration-300 hover:scale-105 text-xs md:text-lg py-3 md:py-6",children:"Seguir viendo donde lo dejé"}),n.jsx($,{onClick:y,size:"lg",variant:"outline",className:"w-full bg-white text-black hover:bg-gray-100 border-2 border-black transition-all duration-300 hover:scale-105 text-xs md:text-lg py-3 md:py-6",children:"Verlo desde el inicio"})]})]})})})]})})}),t&&n.jsx("div",{className:"mt-6 sm:mt-8 animate-fade-in px-2",children:n.jsx($,{size:"xl",variant:"cta",className:"w-full text-base sm:text-lg md:text-xl py-6 sm:py-8 shadow-2xl",onClick:()=>window.open("https://construsoft.com/certificacion-idea-statica","_blank"),children:"ð Quiero aprender y certificarme"})})]})}),n.jsx("section",{className:"py-10 sm:py-12 md:py-16",children:n.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-center mb-8 sm:mb-10 md:mb-12 text-foreground",children:"¿Qué dicen nuestros estudiantes?"}),n.jsx("div",{ref:f.ref,className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-6",children:j.slice(0,3).map((N,S)=>n.jsxs("div",{className:`rounded-2xl p-6 shadow-sm hover:shadow-md transition-all flex flex-col ${f.isVisible?"animate-fade-in":"opacity-0"}`,style:{backgroundColor:S%2===0?"#e2ebeb":"#f7f5ee",animationDelay:`${S*150}ms`},children:[n.jsx("div",{className:"flex justify-center mb-4",children:n.jsx("div",{className:"w-20 h-20 rounded-full bg-gray-300 overflow-hidden",children:N.avatar?n.jsx("img",{src:N.avatar,alt:N.nombre,className:"w-full h-full object-cover"}):n.jsx("div",{className:"w-full h-full flex items-center justify-center text-gray-500 text-2xl font-bold",children:N.nombre.charAt(0)})})}),n.jsxs("p",{className:"text-gray-700 mb-4 leading-relaxed text-sm flex-1",children:['"',N.testimonio,'"']}),n.jsxs("div",{className:"text-center",children:[n.jsx("p",{className:"font-bold text-gray-900",children:N.nombre}),n.jsxs("p",{className:"text-xs text-gray-600",children:[N.puesto," - ",N.empresa]})]})]},S))}),n.jsx("div",{className:"grid md:grid-cols-2 gap-6 max-w-3xl mx-auto",children:j.slice(3,5).map((N,S)=>n.jsxs("div",{className:`rounded-2xl p-6 shadow-sm hover:shadow-md transition-all flex flex-col ${f.isVisible?"animate-fade-in":"opacity-0"}`,style:{backgroundColor:(S+3)%2===0?"#e2ebeb":"#f7f5ee",animationDelay:`${(S+3)*150}ms`},children:[n.jsx("div",{className:"flex justify-center mb-4",children:n.jsx("div",{className:"w-20 h-20 rounded-full bg-gray-300 overflow-hidden",children:N.avatar?n.jsx("img",{src:N.avatar,alt:N.nombre,className:"w-full h-full object-cover"}):n.jsx("div",{className:"w-full h-full flex items-center justify-center text-gray-500 text-2xl font-bold",children:N.nombre.charAt(0)})})}),n.jsxs("p",{className:"text-gray-700 mb-4 leading-relaxed text-sm flex-1",children:['"',N.testimonio,'"']}),n.jsxs("div",{className:"text-center",children:[n.jsx("p",{className:"font-bold text-gray-900",children:N.nombre}),n.jsxs("p",{className:"text-xs text-gray-600",children:[N.puesto," - ",N.empresa]})]})]},S))})]})}),n.jsx("footer",{className:"py-8 border-t border-border bg-muted/30",children:n.jsxs("div",{className:"container mx-auto px-4 text-center",children:[n.jsx("img",{src:es,alt:"Construsoft",className:"h-6 mx-auto mb-4 opacity-70"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"© 2024 Construsoft. Todos los derechos reservados."})]})})]})};var r6="Label",DN=x.forwardRef((t,e)=>n.jsx(he.label,{...t,ref:e,onMouseDown:r=>{var a;r.target.closest("button, input, select, textarea")||((a=t.onMouseDown)==null||a.call(t,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));DN.displayName=r6;var MN=DN;const s6=Td("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),At=x.forwardRef(({className:t,...e},r)=>n.jsx(MN,{ref:r,className:ye(s6(),t),...e}));At.displayName=MN.displayName;const Vp=x.forwardRef(({className:t,...e},r)=>n.jsx("textarea",{className:ye("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
440ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...e}));Vp.displayName="Textarea";const Ds=({end:t,duration:e=2e3,suffix:r="",decimals:s=0,separator:a="."})=>{const[i,o]=x.useState(0),[l,c]=x.useState(!1),d=x.useRef(null),u=x.useRef(!1);return x.useEffect(()=>{const h=new IntersectionObserver(([f])=>{f.isIntersecting&&!u.current&&(c(!0),u.current=!0)},{threshold:.3});return d.current&&h.observe(d.current),()=>{d.current&&h.unobserve(d.current)}},[]),x.useEffect(()=>{if(!l)return;const h=Date.now(),f=h+e,v=()=>{const p=Date.now(),w=Math.min((p-h)/e,1),b=1-Math.pow(1-w,4),g=Math.floor(b*t);o(g),p<f?requestAnimationFrame(v):o(t)};requestAnimationFrame(v)},[l,t,e]),{ref:d,displayValue:`${(h=>s>0?h.toFixed(s).replace(".",a):h.toLocaleString("es-ES"))(i)}${r}`}},n6="/assets/idea-statica-hero-DnfzHY3X.png",Zc="/assets/GIF_Connection-CeL6F9SG.gif",Do="/assets/GIF_Detail-Bj6Av5q9.gif",LN="/assets/checkbot-steel-integration-Be54cagE.mp4",a6="/assets/terrano-case-PfqoqfGk.png",i6="/assets/noxifer-case-DddzRyF0.png",o6="/assets/pedelta-case-BF4sBvSD.png",Jc="/assets/logo-acciona-DDBEKEUu.png",Xc="/assets/logo-edyce-AyprVNqN.png",ed="/assets/logo-fhecor-BUSuNhtv.png",zh="/assets/logo-garcia-vega-DlPt6xi6.png",td="/assets/logo-sener-Byn4ZwZV.png",l6=()=>{const t=ne(),e=ne(),r=ne(),s=ne(),a=ne(),i=ne(),o=ne(),l=Ds({end:58e3,suffix:"+"}),c=Ds({end:1e4,suffix:"+"}),d=Ds({end:1.4,decimals:1,suffix:"M"}),u=Ds({end:80,suffix:"%"}),[m,h]=x.useState({nombre:"",empresa:"",email:"",telefono:"",mensaje:""}),f=p=>{p.preventDefault(),lA.success("¡Solicitud enviada! Nos pondremos en contacto contigo pronto."),h({nombre:"",empresa:"",email:"",telefono:"",mensaje:""})},v=p=>{h(w=>({...w,[p.target.name]:p.target.value}))};return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx("section",{ref:t.ref,className:`relative overflow-hidden min-h-[95vh] flex items-center transition-all duration-1000 ${t.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4 py-12 md:py-20 relative z-10",children:n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 lg:gap-12 items-center",children:[n.jsxs("div",{className:"text-left",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 md:px-4 md:py-2 bg-gray-900/5 rounded-full mb-4 md:mb-6 border border-gray-900/10",children:[n.jsx(sE,{className:"h-4 w-4 md:h-5 md:w-5 text-gray-900"}),n.jsx("span",{className:"text-xs md:text-sm font-semibold text-gray-900",children:"Software lÃder en cálculo estructural"})]}),n.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-bold mb-4 md:mb-6 leading-tight",children:[n.jsx("span",{className:"text-[#b8f516]",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"IDEA StatiCa"}),n.jsx("br",{}),n.jsx("span",{className:"text-gray-900",children:"Cálculo de uniones metálicas y elementos de hormigón"})]}),n.jsx("p",{className:"text-lg md:text-xl lg:text-2xl text-gray-700 mb-6 md:mb-8 font-medium",children:"¡Calcula lo que antes solo se estimaba!"}),n.jsxs("div",{className:"space-y-2 md:space-y-3 mb-8 md:mb-10",children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-4 w-4 md:h-5 md:w-5 text-[#b8f516]"}),n.jsx("span",{className:"text-base md:text-lg text-gray-700",children:"Integración BIM completa"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-4 w-4 md:h-5 md:w-5 text-[#b8f516]"}),n.jsx("span",{className:"text-base md:text-lg text-gray-700",children:"Cualquier tipologÃa"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-4 w-4 md:h-5 md:w-5 text-[#b8f516]"}),n.jsx("span",{className:"text-base md:text-lg text-gray-700",children:"Resultados en minutos"})]})]}),n.jsxs($,{onClick:()=>{var p;return(p=document.getElementById("formulario"))==null?void 0:p.scrollIntoView({behavior:"smooth"})},className:"w-full sm:w-auto bg-[#b8f516] hover:bg-[#a3e005] text-gray-900 font-semibold px-8 py-6 md:px-10 md:py-7 rounded-full text-base md:text-lg transition-all duration-300 shadow-lg hover:shadow-xl animate-pulse-glow",children:["Solicita tu demo gratis",n.jsx(Te,{className:"ml-2 h-5 w-5"})]})]}),n.jsx("div",{className:"hidden lg:block",children:n.jsx("img",{src:n6,alt:"IDEA StatiCa Software Interface",className:"w-full shadow-2xl"})})]}),n.jsxs("div",{className:"mt-16 grid grid-cols-2 md:grid-cols-4 gap-6",children:[n.jsx(k,{className:"bg-white/80 backdrop-blur-sm border-gray-200 shadow-md",children:n.jsxs(C,{className:"pt-6",ref:l.ref,children:[n.jsx("p",{className:"text-3xl md:text-4xl font-bold text-[#b8f516] mb-2",children:l.displayValue}),n.jsx("p",{className:"text-sm text-gray-600",children:"Ingenieros confÃan en IDEA StatiCa"})]})}),n.jsx(k,{className:"bg-white/80 backdrop-blur-sm border-gray-200 shadow-md",children:n.jsxs(C,{className:"pt-6",ref:c.ref,children:[n.jsx("p",{className:"text-3xl md:text-4xl font-bold text-[#b8f516] mb-2",children:c.displayValue}),n.jsx("p",{className:"text-sm text-gray-600",children:"Empresas utilizan el software"})]})}),n.jsx(k,{className:"bg-white/80 backdrop-blur-sm border-gray-200 shadow-md",children:n.jsxs(C,{className:"pt-6",ref:d.ref,children:[n.jsx("p",{className:"text-3xl md:text-4xl font-bold text-[#b8f516] mb-2",children:d.displayValue}),n.jsx("p",{className:"text-sm text-gray-600",children:"Cálculos mensuales"})]})}),n.jsx(k,{className:"bg-white/80 backdrop-blur-sm border-gray-200 shadow-md",children:n.jsxs(C,{className:"pt-6",ref:u.ref,children:[n.jsx("p",{className:"text-3xl md:text-4xl font-bold text-[#b8f516] mb-2",children:u.displayValue}),n.jsx("p",{className:"text-sm text-gray-600",children:"Menos tiempo de diseño"})]})})]})]})})}),n.jsx("section",{ref:e.ref,className:`py-20 md:py-32 bg-background transition-all duration-1000 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground",children:["¿Por qué elegir ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"IDEA StatiCa"}),"?"]}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Optimiza tu diseño estructural. Desde el diseño de conexiones en acero hasta anclajes en hormigón armado y vigas prefabricadas."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:[n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 roun
440ded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(Fn,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"Integración con otros software"}),n.jsx("p",{className:"text-muted-foreground",children:"IDEA StatiCa se integra con software BIM de diseño y análisis global."})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 rounded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(Nr,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"Cualquier tipologÃa"}),n.jsx("p",{className:"text-muted-foreground",children:"Sin lÃmites en el tipo ni forma de la conexión metálica o elemento de hormigón."})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 rounded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(as,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"Cualquier carga"}),n.jsx("p",{className:"text-muted-foreground",children:"IDEA StatiCa analiza todo tipo de cargas garantizando la seguridad."})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 rounded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(xe,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"En minutos"}),n.jsx("p",{className:"text-muted-foreground",children:"¡Rápido y simple! Agiliza tu trabajo diario ahorrando tiempo en el proceso de propuesta y revisión."})]})})]})]})})}),n.jsx("section",{ref:r.ref,className:`py-20 md:py-32 bg-muted/30 transition-all duration-1000 ${r.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground",children:"Revoluciona tu proceso de diseño"}),n.jsx("p",{className:"text-xl text-muted-foreground",children:"Soluciones completas para tus proyectos estructurales más exigentes"})]}),n.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 mb-12",children:[n.jsx(k,{className:"bg-card border-border overflow-hidden hover:shadow-xl transition-all duration-300",children:n.jsxs("div",{className:"bg-gradient-to-br from-primary/20 to-primary/5 p-10",children:[n.jsx("div",{className:"h-16 w-16 rounded-lg bg-primary flex items-center justify-center mb-6",children:n.jsx(Xr,{className:"h-8 w-8 text-primary-foreground"})}),n.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-4 text-foreground",children:"IDEA StatiCa Connection"}),n.jsx("p",{className:"text-muted-foreground mb-6",children:"Diseña todo tipo de uniones soldadas o atornilladas, placas base, zapatas y anclajes. Proporciona comprobaciones precisas de resistencia, rigidez y pandeo."}),n.jsx("div",{className:"aspect-[16/9] rounded-lg overflow-hidden mb-6 bg-slate-100 group cursor-pointer",children:n.jsx("img",{src:Zc,alt:"IDEA StatiCa Connection - Diseño de uniones metálicas",className:"w-full h-full object-contain transition-transform duration-500 ease-out group-hover:scale-105"})}),n.jsxs("ul",{className:"space-y-3 mb-6",children:[n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground",children:"Plantillas predefinidas para conexiones sencillas"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground",children:"Modelado visual para conexiones complejas"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground",children:"Informes completos verificados por normas en 3 clics"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground",children:"Biblioteca con más de 1 millón de uniones reales"})]})]}),n.jsxs($,{onClick:()=>window.location.href="/idea-statica-connection",variant:"outline",className:"w-full border-primary text-primary hover:bg-primary hover:text-primary-foreground font-semibold py-5 rounded-full transition-all duration-300",children:["Ver más sobre Connection",n.jsx(Te,{className:"ml-2 h-4 w-4"})]})]})}),n.jsx(k,{className:"bg-card border-border overflow-hidden hover:shadow-xl transition-all duration-300",children:n.jsxs("div",{className:"bg-gradient-to-br from-primary/20 to-primary/5 p-10",children:[n.jsx("div",{className:"h-16 w-16 rounded-lg bg-primary flex items-center justify-center mb-6",children:n.jsx(Jo,{className:"h-8 w-8 text-primary-foreground"})}),n.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-4 text-foreground",children:"IDEA StatiCa Detail"}),n.jsx("p",{className:"text-muted-foreground mb-6",children:"Solución avanzada para el análisis y diseño de regiones D en estructuras de hormigón armado. Trata eficazmente todas las regiones de discontinuidad: muros, remates, aberturas, colgaduras, ménsulas y zonas sobre soportes."}),n.jsx("div",{className:"aspect-[16/9] rounded-lg overflow-hidden mb-6 bg-slate-100 group cursor-pointer",children:n.jsx("img",{src:Do,alt:"IDEA StatiCa Detail - Análisis de regiones D en hormigón",className:"w-full h-full object-contain transition-transform duration-500 ease-out group-hover:scale-105"})}),n.jsxs("ul",{className:"space-y-3 mb-6",children:[n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground",children:"Diseña muros y regiones D de cualquier forma y carga"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground",children:"Optimiza la disposición del armado"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground",children:"Comprobaciones completas de ULS y SLS en un solo informe"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground",children:"Importa armaduras y tendones desde la aplicación Beam"})]})]}),n.jsxs($,{onClick:()=>window.location.href="/idea-statica-detail",variant:"outline",className:"w-full border-primary text-primary hover:bg-primary hover:text-primary-foreground font-semibold py-5 rounded-full transition-all duration-300",children:["Ver más sobre Detail",n.jsx(Te,{className:"ml-2 h-4 w-4"})]})]})})]}),n.jsx("div",{className:"text-center",children:n.jsxs($,{onClick:()=>{var p;return(p=document.getElementById("formulario"))==null?void 0:p.scrollIntoView({behavior:"smooth"})},variant:"cta",size:"xl",className:"animate-pulse-glow",children:["Descubre cómo optimizar tus diseños ",n.jsx(Te,{className:"ml-2 h-5 w-5"})]})})]})})}),n.jsx("section",{className:"py-20 md:py-32 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground",children:["Integración perfecta con tu ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"flujo de trabajo BIM"})]}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"IDEA StatiCa se integra automáticamente con más de 40 herramientas FEA y CAD. Exporta y sincroniza datos sin errores, minimizando el trabajo repetitivo."})]}),n.jsx("div",{className:"rounded-2xl overflow-hidden mb-12 bg-slate-100",children:n.jsx("video",{src:LN,autoPlay:!0,loop:!0,muted:!0,playsInl
440ine:!0,className:"w-full h-full object-contain"})}),n.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:["ETABS","SAP2000","Revit","Tekla","Robot","Advance Steel","SCIA Engineer","RFEM"].map(p=>n.jsx(k,{className:"bg-card border-border hover:border-primary transition-all duration-300",children:n.jsx(C,{className:"pt-6 text-center",children:n.jsx("p",{className:"font-semibold text-foreground",children:p})})},p))})]})})}),n.jsx("section",{ref:s.ref,className:`py-20 md:py-32 bg-muted/30 transition-all duration-1000 ${s.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground",children:["Empresas que confÃan en ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"IDEA StatiCa"})]}),n.jsx("p",{className:"text-xl text-muted-foreground",children:"Descubre historias inspiradoras de empresas que están transformando sus proyectos"})]}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[n.jsx(k,{className:"bg-card border-border hover:shadow-xl transition-all duration-300",children:n.jsxs(C,{className:"pt-8",children:[n.jsxs("div",{className:"mb-6",children:[n.jsx("div",{className:"aspect-[16/9] rounded-lg overflow-hidden mb-4 group cursor-pointer",children:n.jsx("img",{src:a6,alt:"Terrano IngenierÃa",className:"w-full h-full object-cover transition-transform duration-500 ease-out group-hover:scale-110"})}),n.jsx("p",{className:"text-muted-foreground italic mb-4",children:'"Elegimos este software por la gran versatilidad que presenta en el análisis y diseño de conexiones de acero en nuestros proyectos."'})]}),n.jsxs("div",{className:"border-t border-border pt-4",children:[n.jsx("p",{className:"font-bold text-foreground",children:"Fabian Clavijo Rodriguez"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Director - Terrano IngenierÃa"})]})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-xl transition-all duration-300",children:n.jsxs(C,{className:"pt-8",children:[n.jsxs("div",{className:"mb-6",children:[n.jsx("div",{className:"aspect-[16/9] rounded-lg overflow-hidden mb-4 group cursor-pointer",children:n.jsx("img",{src:i6,alt:"Noxifer",className:"w-full h-full object-cover transition-transform duration-500 ease-out group-hover:scale-110"})}),n.jsx("p",{className:"text-muted-foreground italic mb-4",children:'"Podemos analizar distintos pilares con distintas medidas, armaduras y conexiones de forma muy rápida. Modificando pocos parámetros, obtenemos múltiples escenarios en minutos."'})]}),n.jsxs("div",{className:"border-t border-border pt-4",children:[n.jsx("p",{className:"font-bold text-foreground",children:"Albert Rull"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Departamento Técnico - Noxifer"})]})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-xl transition-all duration-300",children:n.jsxs(C,{className:"pt-8",children:[n.jsxs("div",{className:"mb-6",children:[n.jsx("div",{className:"aspect-[16/9] rounded-lg overflow-hidden mb-4 group cursor-pointer",children:n.jsx("img",{src:o6,alt:"Pedelta",className:"w-full h-full object-cover transition-transform duration-500 ease-out group-hover:scale-110"})}),n.jsx("p",{className:"text-muted-foreground italic mb-4",children:'"Contar con IDEA StatiCa es un gran alivio, permite optimizar los procesos y mejorar la calidad de nuestros diseños, dados los análisis rápidos y la confiabilidad del programa."'})]}),n.jsxs("div",{className:"border-t border-border pt-4",children:[n.jsx("p",{className:"font-bold text-foreground",children:"Jhonatan MartÃnez"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"Ingeniero - Pedelta"})]})]})})]}),n.jsx("div",{className:"mt-12 mb-1 overflow-hidden",children:n.jsx("div",{className:"relative",children:n.jsxs("div",{className:"flex gap-16 animate-scroll",children:[n.jsxs("div",{className:"flex gap-16 min-w-max",children:[n.jsx("img",{src:Jc,alt:"Acciona",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"}),n.jsx("img",{src:Xc,alt:"Edyce Metalúrgica",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"}),n.jsx("img",{src:ed,alt:"Fhecor",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"}),n.jsx("img",{src:zh,alt:"GarcÃa Vega",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"}),n.jsx("img",{src:td,alt:"Sener",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"})]}),n.jsxs("div",{className:"flex gap-16 min-w-max",children:[n.jsx("img",{src:Jc,alt:"Acciona",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"}),n.jsx("img",{src:Xc,alt:"Edyce Metalúrgica",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"}),n.jsx("img",{src:ed,alt:"Fhecor",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"}),n.jsx("img",{src:zh,alt:"GarcÃa Vega",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"}),n.jsx("img",{src:td,alt:"Sener",className:"h-32 w-auto object-contain grayscale hover:grayscale-0 transition-all duration-300"})]})]})})})]})})}),n.jsx("section",{ref:a.ref,className:`py-20 md:py-32 bg-background transition-all duration-1000 ${a.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground",children:["Soluciones para ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"tu industria"})]}),n.jsx("p",{className:"text-xl text-muted-foreground",children:"Impulsa el crecimiento en todos los sectores con soluciones diseña
440das a medida"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[n.jsx(k,{className:"bg-card border-border hover:shadow-lg hover:border-primary transition-all duration-300 group",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("div",{className:"h-16 w-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4 group-hover:bg-primary/20 transition-colors",children:n.jsx(ap,{className:"h-8 w-8 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-2 text-foreground",children:"Construcciones Metálicas"}),n.jsx("p",{className:"text-muted-foreground text-sm",children:"Diseño optimizado de estructuras de acero"})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg hover:border-primary transition-all duration-300 group",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("div",{className:"h-16 w-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4 group-hover:bg-primary/20 transition-colors",children:n.jsx(Ew,{className:"h-8 w-8 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-2 text-foreground",children:"Prefabricados de Hormigón"}),n.jsx("p",{className:"text-muted-foreground text-sm",children:"Análisis avanzado de elementos prefabricados"})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg hover:border-primary transition-all duration-300 group",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("div",{className:"h-16 w-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4 group-hover:bg-primary/20 transition-colors",children:n.jsx(aE,{className:"h-8 w-8 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-2 text-foreground",children:"Construcciones de Madera"}),n.jsx("p",{className:"text-muted-foreground text-sm",children:"Soluciones para estructuras de madera"})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg hover:border-primary transition-all duration-300 group",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("div",{className:"h-16 w-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4 group-hover:bg-primary/20 transition-colors",children:n.jsx(JC,{className:"h-8 w-8 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-2 text-foreground",children:"IngenierÃas"}),n.jsx("p",{className:"text-muted-foreground text-sm",children:"Herramientas para consultorÃas especializadas"})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg hover:border-primary transition-all duration-300 group",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("div",{className:"h-16 w-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4 group-hover:bg-primary/20 transition-colors",children:n.jsx(jo,{className:"h-8 w-8 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-2 text-foreground",children:"Instituciones Educativas"}),n.jsx("p",{className:"text-muted-foreground text-sm",children:"Recursos para universidades y estudiantes"})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg hover:border-primary transition-all duration-300 group",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("div",{className:"h-16 w-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4 group-hover:bg-primary/20 transition-colors",children:n.jsx(Ot,{className:"h-8 w-8 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-2 text-foreground",children:"Contratistas"}),n.jsx("p",{className:"text-muted-foreground text-sm",children:"Soluciones prácticas para obra"})]})})]})]})})}),n.jsx("section",{ref:i.ref,className:`py-20 md:py-32 transition-all duration-1000 ${i.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-gray-900/5 rounded-full mb-6 border border-gray-900/10",children:[n.jsx($C,{className:"h-5 w-5 text-gray-900"}),n.jsx("span",{className:"text-sm font-semibold text-gray-900",children:"Formación Oficial"})]}),n.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-gray-900",children:["Formación ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"Especializada"})]}),n.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:"Domina IDEA StatiCa con nuestros cursos oficiales impartidos por expertos en cálculo estructural"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[n.jsx(k,{className:"bg-white border-gray-200 overflow-hidden hover:shadow-xl transition-all duration-300 group",children:n.jsxs("div",{className:"p-8",children:[n.jsxs("div",{className:"flex items-start gap-4 mb-6",children:[n.jsx("div",{className:"h-14 w-14 roun
440ded-lg bg-slate-600 flex items-center justify-center shrink-0",children:n.jsx(Xr,{className:"h-7 w-7 text-white"})}),n.jsxs("div",{children:[n.jsx("span",{className:"inline-block px-3 py-1 bg-slate-100 text-slate-700 text-xs font-bold rounded-full mb-2",children:"ACERO"}),n.jsx("h3",{className:"text-xl font-bold text-gray-900 leading-tight",children:"TeorÃa y Cálculo de Uniones Metálicas"})]})]}),n.jsx("p",{className:"text-gray-600 mb-6",children:"Curso completo sobre IDEA StatiCa Connection e interoperabilidad con software BIM y CAE para el diseño de uniones metálicas."}),n.jsxs("ul",{className:"space-y-3 mb-8",children:[n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-gray-700 text-sm",children:"Fundamentos teóricos de uniones metálicas"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-gray-700 text-sm",children:"Modelado y análisis con IDEA StatiCa Connection"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-gray-700 text-sm",children:"Flujos de trabajo BIM/CAE integrados"})]})]}),n.jsxs("a",{href:"/curso-idea-statica-acero",className:"inline-flex items-center gap-2 w-full justify-center bg-slate-800 hover:bg-slate-900 text-white font-semibold px-6 py-4 rounded-lg transition-all duration-300 group-hover:shadow-lg",children:["Ver programa del curso",n.jsx(Dc,{className:"h-4 w-4"})]})]})}),n.jsx(k,{className:"bg-white border-gray-200 overflow-hidden hover:shadow-xl transition-all duration-300 group",children:n.jsxs("div",{className:"p-8",children:[n.jsxs("div",{className:"flex items-start gap-4 mb-6",children:[n.jsx("div",{className:"h-14 w-14 rounded-lg bg-gray-700 flex items-center justify-center shrink-0",children:n.jsx(Bn,{className:"h-7 w-7 text-white"})}),n.jsxs("div",{children:[n.jsx("span",{className:"inline-block px-3 py-1 bg-gray-100 text-gray-700 text-xs font-bold rounded-full mb-2",children:"HORMIGÃN Y PRETENSADO"}),n.jsx("h3",{className:"text-xl font-bold text-gray-900 leading-tight",children:"Cálculo de Elementos de Hormigón Armado"})]})]}),n.jsx("p",{className:"text-gray-600 mb-6",children:"Formación avanzada en IDEA StatiCa Concrete para el cálculo de elementos de hormigón armado, pretensado, postensado y regiones D."}),n.jsxs("ul",{className:"space-y-3 mb-8",children:[n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-gray-700 text-sm",children:"Análisis de regiones de discontinuidad"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-gray-700 text-sm",children:"Diseño de elementos pretensados y postensados"})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),n.jsx("span",{className:"text-gray-700 text-sm",children:"Optimización de armaduras y tendones"})]})]}),n.jsxs("a",{href:"/curso-idea-statica-hormigon",className:"inline-flex items-center gap-2 w-full justify-center bg-gray-800 hover:bg-gray-900 text-white font-semibold px-6 py-4 rounded-lg transition-all duration-300 group-hover:shadow-lg",children:["Ver programa del curso",n.jsx(Dc,{className:"h-4 w-4"})]})]})})]})]})})}),n.jsx("section",{id:"formulario",ref:o.ref,style:{backgroundColor:"#e2ebeb"},className:`py-20 md:py-32 relative overflow-hidden transition-all duration-1000 ${o.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4 relative z-10",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-12",children:[n.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-gray-900",children:["Precisión sin esfuerzo: diseñado para afrontar tus ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"retos más complejos"})]}),n.jsx("p",{className:"text-xl text-gray-700",children:"Descubre cómo IDEA StatiCa puede transformar tus proyectos. Solicita una demo personalizada gratuita."})]}),n.jsx(k,{className:"bg-white rounded-2xl border-gray-200 shadow-xl",children:n.jsx(C,{className:"p-8 md:p-12",children:n.jsxs("form",{onSubmit:f,className:"space-y-6",children:[n.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[n.jsxs("div",{className:"space-y-2",children:[n.jsx(At,{htmlFor:"nombre",className:"text-gray-900",children:"Nombre completo *"}),n.jsx(nt,{id:"nombre",name:"nombre",type:"text",required:!0,value:m.nombre,onChange:v,className:"bg-white border-gray-300 text-gray-900 placeholder:text-gray-400",placeholder:"Tu nombre"})]}),n.jsxs("div",{className:"space-y-2",children:[n.jsx(At,{htmlFor:"empresa",className:"text-gray-900",children:"Empresa *"}),n.jsx(nt,{id:"empresa",name:"empresa",type:"text",required:!0,value:m.empresa,onChange:v,className:"bg-white border-gray-300 text-gray-900 placeholder:text-gray-400",placeholder:"Nombre de tu empresa"})]})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[n.jsxs("div",{className:"space-y-2",children:[n.jsx(At,{htmlFor:"email",className:"text-gray-900",children:"Email corporativo *"}),n.jsx(nt,{id:"email",name:"email",type:"email",required:!0,value:m.email,onChange:v,className:"bg-white border-gray-300 text-gray-900 placeholder:text-gray-400",placeholder:"[email protected]"})]}),n.jsxs("div",{className:"space-y-2",children:[n.jsx(At,{htmlFor:"telefono",className:"text-gray-900",children:"Teléfono"}),n.jsx(nt,{id:"telefono",name:"telefono",type:"tel",value:m.telefono,onChange:v,className:"bg-white border-gray-300 text-gray-900 placeholder:text-gray-400",placeholder:"+34 600 000 000"})]})]}),n.jsxs("div",{className:"space-y-2",children:[n.jsx(At,{htmlFor:"mensaje",className:"text-gray-900",children:"Cuéntanos tu reto"}),n.jsx(Vp,{id:"mensaje",name:"mensaje",rows:4,value:m.mensaje,onChange:v,className:"bg-white border-gray-300 text-gray-900 placeholder:text-gray-400",placeholder:"Describe brevemente tu proyecto o las necesidades especÃficas de tu empresa..."})]}),n.jsxs($,{type:"submit",variant:"cta",size:"xl",className:"w-full animate-pulse-glow text-lg",children:["Solicita tu demo gratuita ",n.jsx(Te,{className:"ml-2 h-5 w-5"})]}),n.jsx("p",{className:"text-sm text-gray-600 text-center",children:"Al enviar este formulario, aceptas que nos pongamos en contacto contigo para ofrecerte información sobre IDEA StatiCa."})]})})}),n.jsxs("div",{className:"mt-12 text-center",children:[n.jsx("p",{className:"text-gray-700 text-lg mb-4",children:"¿Prefieres hablar directamente con nosotros?"}),n.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[n.jsx($,{variant:"outline",size:"lg",className:"bg-white/50 border-gray-300 text-gray-900 hover:bg-white",children:"Llámanos: +34 900 000 000"}),n.jsx($,{variant:"outline",size:"lg",className:"bg-white/50 border-gray-300 text-gray-900 hover:bg-white",children:"[email protected]"})]})]})]})})})]})},c6="/assets/hero-webinar-muros-csi-DBpRnDK6.jpg",Wp="/assets/logo-csi-B9Ai-p_f.png",d6=({language:t,onToggle:e,className:r=""})=>n.jsxs("button",{onClick:e,className:`flex items-center gap-1 px-3 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-sm font-medium transition-all hover:bg-white/20 hover:scale-105 ${r}`,"aria-label":"Toggle language",children:[n.jsx("span",{className:`transition-colors ${t==="es"?"text-primary":"text-white/60"}`,children:"ES"}),n.jsx("span",{className:"text-white/40",children:"|"}),n.jsx("span",{className:`transition-colors ${t==="en"?"text-primary":"text-white/60"}`,children:"EN"}),n.jsx("span",{className:"text-white/40",children:"|"}),n.jsx("span",{className:`transition-colors ${t==="pt"?"text-primary":"text-white/60"}`,children:"PT"})]}),Yu=["es","en","pt"],u6=()=>
440{if(typeof window>"u")return"es";const t=navigator.language||navigator.userLanguage||"",e=t.toLowerCase().split("-")[0];return e==="pt"?"pt":e==="en"?"en":e==="es"||t.toLowerCase().startsWith("es")?"es":t.toLowerCase().startsWith("pt")?"pt":"es"},m6=(t={})=>{const{storageKey:e="preferred-language",defaultLanguage:r="es"}=t,[s,a]=x.useState(()=>{if(typeof window<"u"){const o=localStorage.getItem(e);return o==="es"||o==="en"||o==="pt"?o:u6()}return r});return x.useEffect(()=>{localStorage.setItem(e,s)},[s,e]),{language:s,setLanguage:a,toggleLanguage:()=>{a(o=>{const c=(Yu.indexOf(o)+1)%Yu.length;return Yu[c]})},isEnglish:s==="en",isSpanish:s==="es",isPortuguese:s==="pt"}},h6=()=>{const{selectTimezone:t,selectedTimezone:e}=kp(),{language:r,toggleLanguage:s}=m6({storageKey:"webinar-cis-language"}),a=Np[r],i=()=>{var l;(l=document.getElementById("registro"))==null||l.scrollIntoView({behavior:"smooth"})},o="https://attendee.gotowebinar.com/register/6434954925498210905?source=landing";return n.jsxs("div",{className:"min-h-screen bg-background animate-language-change",children:[n.jsx(Jn,{onClick:i,language:r}),n.jsxs("section",{id:"hero-section",className:"relative overflow-hidden min-h-screen md:min-h-[90vh] flex items-center",children:[n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("img",{src:c6,alt:"",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),n.jsx("div",{className:"container mx-auto px-4 py-16 md:py-20 relative z-10",children:n.jsxs("div",{className:"max-w-5xl",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-6",children:[n.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1.5 md:px-4 md:py-2 bg-primary rounded-full",children:n.jsxs("span",{className:"text-xs md:text-sm font-semibold text-primary-foreground",children:["⨠",a.hero.badge]})}),n.jsx(d6,{language:r,onToggle:s})]}),n.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-bold mb-4 md:mb-6 leading-tight",children:[n.jsx("span",{className:"text-white",children:a.hero.title})," ",n.jsx("span",{className:"text-primary",children:a.hero.titleHighlight})]}),n.jsx("p",{className:"text-base md:text-lg lg:text-xl text-white/90 mb-6 md:mb-8 max-w-2xl",children:a.hero.subtitle}),n.jsxs("div",{className:"grid grid-cols-3 gap-2 sm:gap-3 md:gap-4 mb-6 md:mb-8 max-w-3xl",children:[n.jsx(k,{className:"bg-background/95 border-border",children:n.jsxs(C,{className:"p-3 sm:p-4 md:p-6",children:[n.jsx(Yn,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-xs sm:text-sm md:text-base mb-0.5 md:mb-1",children:a.hero.day}),n.jsx("p",{className:"text-[10px] sm:text-xs md:text-sm text-muted-foreground leading-tight",children:vy.date})]})}),n.jsx(k,{className:"bg-background/95 border-border",children:n.jsxs(C,{className:"p-3 sm:p-4 md:p-6",children:[n.jsx(xe,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-xs sm:text-sm md:text-base mb-0.5 md:mb-1",children:a.hero.time}),n.jsx("p",{className:"text-[10px] sm:text-xs md:text-sm text-muted-foreground leading-tight",children:a.hero.duration})]})}),n.jsx(k,{className:"bg-background/95 border-border",children:n.jsxs(C,{className:"p-3 sm:p-4 md:p-6",children:[n.jsx(Ot,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-xs sm:text-sm md:text-base mb-0.5 md:mb-1",children:a.hero.format}),n.jsx("p",{className:"text-[10px] sm:text-xs md:text-sm text-muted-foreground leading-tight",children:a.hero.limitedSpots})]})})]}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 md:gap-4 mb-4 md:mb-6",children:[n.jsx($,{onClick:()=>window.open(o,"_blank"),variant:"cta",size:"lg",className:"w-full sm:w-auto sm:min-w-[280px] sm:py-6 text-sm sm:text-base animate-pulse-glow",children:a.hero.cta}),n.jsx(Yc,{onSelectTimezone:t,onUseUserTimezone:()=>{},currentTimezone:e,language:r})]}),n.jsxs("div",{className:"flex items-center gap-2 text-xs md:text-sm text-white/80",children:[n.jsx("span",{children:"ð"}),n.jsx("span",{children:a.hero.security})]})]})})]}),n.jsx("section",{className:"py-12 md:py-20 bg-secondary/30",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:a.benef
440its.title}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:a.benefits.subtitle}),n.jsx("div",{className:"grid md:grid-cols-2 gap-4 md:gap-8",children:a.benefits.items.map((l,c)=>n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(K,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:l.title}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:l.description})]})]})})},c))})]})})}),n.jsx("section",{className:"py-12 md:py-20 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:a.speakers.title}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:a.speakers.subtitle}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-6 md:gap-8 max-w-3xl mx-auto",children:[n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"max-w-[200px] mx-auto mb-4",children:n.jsx("img",{src:Xn,alt:"David Acevedo",className:"w-full h-auto rounded-xl"})}),n.jsx("p",{className:"text-muted-foreground mb-4",children:a.speakers.davidDescription}),n.jsx("div",{className:"text-sm font-medium text-primary",children:a.speakers.davidRole})]})}),n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"w-32 h-32 bg-primary/10 rounded-full mx-auto mb-4 flex items-center justify-center",children:n.jsx(Ot,{className:"h-16 w-16 text-primary"})}),n.jsx("h3",{className:"text-xl font-semibold text-foreground mb-2",children:a.speakers.csiExpert}),n.jsx("p",{className:"text-muted-foreground mb-4",children:a.speakers.csiDescription}),n.jsx("div",{className:"text-sm font-medium text-primary",children:a.speakers.csiRole})]})})]})]})})}),n.jsx("section",{id:"programa",className:"py-12 md:py-20 bg-muted/30 scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:a.agenda.title}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:a.agenda.subtitle}),n.jsx("div",{className:"space-y-4",children:a.agenda.items.map((l,c)=>n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:l.title}),n.jsx("span",{className:"text-sm text-muted-foreground",children:l.time})]}),n.jsx("p",{className:"text-muted-foreground",children:l.description})]})]})})},c))})]})})}),n.jsxs("section",{id:"registro",className:"relative py-12 md:py-20 overflow-hidden scroll-mt-20",children:[n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("img",{src:Vj,alt:"",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-black/70"})]}),n.jsx("div",{className:"container mx-auto px-4 relative z-10",children:n.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-5xl font-bold text-white mb-4 md:mb-6 px-4",children:a.cta.title}),n.jsx("p",{className:"text-lg md:text-xl text-white/90 mb-6 md:mb-8 px-4",children:a.cta.subtitle}),n.jsx(k,{className:"border-border shadow-xl bg-background/95 backdrop-blur-sm",children:n.jsx(C,{className:"pt-8 pb-8",children:n.jsx("div",{className:"space-y-6",children:n.jsxs("div",{className:"pt-4",children:[n.jsx($,{onClick:()=>window.open(o,"_blank"),variant:"cta",size:"xl",className:"w-full md:w-auto min-w-[300px]",children:a.cta.button}),n.jsxs("p",{className:"text-sm text-muted-foreground mt-4",children:["â° ",a.cta.lastDay," ",vy.lastRegistrationDay]})]})})})}),n.jsxs("div",{className:"mt-12 grid grid-cols-1 md:grid-cols-3 gap-6 text-center",children:[n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"100%"}),n.jsx("div",{className:"text-sm text-white/80",children:a.cta.stats.free})]}),n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"1h"}),n.jsx("div",{className:"text-sm text-white/80",children:a.cta.stats.duration})]}),n.jsxs("div",{children:[n.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"2"}),n.jsx("div",{className:"text-sm text-white/80",children:a.cta.stats.experts})]})]})]})})]}),n.jsx("section",{className:"py-12 md:py-16 bg-background border-t border-border",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-xl md:text-2xl font-semibold text-center text-foreground mb-8 md:mb-12",children:a.collaborators.title}),n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-12 items-center justify-items-center",children:[n.jsx("div",{className:"w-full max-w-[240px] flex items-center justify-center",children:n.jsx("img",{src:Fd,alt:"Construsoft",className:"w-full h-auto object-contain"})}),n.jsx("div",{className:"w-full max-w-[240px] flex items-center justify-center",children:n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"w-full h-auto object-contain"})}),n.jsx("div",{className:"w-full max-w-[240px] flex items-center justify-center",children:n.jsx("img",{src:Wp,alt:"CSI - Computers & Structures, Inc.",className:"w-full h-auto object-contain"})})]})]})})})]},r)},f6=()=>{const t=ne(),e=ne(),r=ne(),s=ne(),a=ne(),i=[{icon:n.jsx(Nr,{className:"h-6 w-6"}),title:"Cualquier TopologÃa",description:"Sin lÃmites en uniones y elementos. La complejidad la define tu proyecto, no el software."},{icon:n.jsx(ni,{className:"h-6 w-6"}),title:"Cualquier Carga",description:"Análisis de todas las fuerzas sin limitación en dirección de esfuerzos."},{icon:n.jsx(Xr,{className:"h-6 w-6"}),title:"Rápido y Simple",description:"Análisis CBFEM complejo en segundos con resultados precisos."},{icon:n.jsx(as,{className:"h-6 w-6"}),title:"Verificación General",description:"Según códigos de diseño nacionales e internacionales (EC/AISC)."},{icon:n.jsx(Fn,{className:"h-6 w-6"}),title:"Análisis de Rigidez",description:"Rigidez rotacional y axial de cualquier tipo de conexión."},{icon:n.jsx(Bn,{className:"h-6 w-6"}),title:"Análisis de Pandeo",description:"Efectos de pandeo local y factores de carga crÃticos."}],o=["Introducción a IDEA StatiCa Connection","Conexiones soldadas y atornilladas","Placas de base y anclajes","Arriostramientos y uniones complejas","Análisis de tensión/deformación","Verificación según EC y AISC","Interoperabilidad con software BIM y CAE","Casos prácticos y proyectos reales"],l=["Certificado oficial de IDEA StatiCa","Material didáctico completo","Acceso a proyectos de práctica","Soporte técnico durante el curso","Licencia temporal del software"];return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx("section",{ref:t.ref,className:`relative overflow-hidden min-h-[70vh] flex items-center transition-all duration-1000 ${t.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4 py-12 md:py-20 relative z-10",children:n.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[n.jsx("div",{className:"flex justify-center mb-6",children:n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"h-12 md:h-16 object-contain"})}),n.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-blue-600/10 rounded-full mb-6 border border-blue-600/20",children:[n.jsx(Xr,{className:"h-5 w-5 text-blue-600"}),n.jsx("span",{className:"text-sm font-semibold text-blue-600",children:"Curso de Acero"})]}),n.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold mb-6 leading-tight text-gray-900",children:["TeorÃa y Cálculo de"," ",n.jsx("span",{className:"text-blue-600",children:"Uniones Metálicas"})]}),n.jsx("p",{className:"text-lg md:text-xl text-gray-700 mb-8 max-w-3xl mx-auto",children:"Domina el diseño de conexiones soldadas, atornilladas, placas de base y uniones complejas con IDEA StatiCa Connection. Aprende interoperabilidad con software BIM y CAE."}),n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 max-w-2xl mx-auto mb-8",children:[n.jsxs("div",{className:"flex items-center justify-center gap-2 bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-gray-200",children:[n.jsx(xe,{className:"h-5 w-5 text-blue-600"}),n.jsx("span",{className:"text-gray-700 font-medium",children:"20 horas"})]}),n.jsxs("div",{className:"flex items-center justify-center gap-2 bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-gray-200",children:[n.jsx(Ot,{className:"h-5 w-5 text-blue-600"}),n.jsx("span",{className:"text-gray-700 font-medium",children:"Online / Presencial"})]}),n.jsxs("div",{className:"flex items-center justify-center gap-2 bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-gray-200",children:[n.jsx(jo,{className:"h-5 w-5 text-blue-600"}),n.jsx("span",{className:"text-gray-700 font-medium",children:"Certificado oficial"})]})]}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs($,{size:"xl",variant:"cta",className:"bg-blue-600 hover:bg-blue-700 text-white",onClick:()=>{var c;return(c=document.getElementById("inscripcion"))==null?void 0:c.scrollIntoView({behavior:"smooth"})},children:["Inscribirme al curso",n.jsx(Te,{className:"ml-2 h-5 w-5"})]}),n.jsx(Zs,{to:"/idea-statica-software-bim",children:n.jsx($,{size:"xl",variant:"outline",className:"border-gray-300 text-gray-700 hover:bg-gray-100 w-full",children:"Volver a IDEA StatiCa"})})]})]})})}),n.jsx("section",{ref:e.ref,className:`py-16 md:py-24 bg-white transition-all duration-1000 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"¿Qué aprenderás con IDEA StatiCa Connection?"}),n.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Diseña todo tipo de conexiones: soldadas, atornilladas, placas de base, arriostramientos y uniones complejas"})]}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:i.map((c,d)=>n.jsx(k,{className:"border-gray-200 hover:border-blue-300 transition-colors hover:shadow-lg",children:n.jsxs(C,{className:"p-6",children:[n.jsx("div",{className:"w-12 h-12 rounded-lg bg-blue-100 flex items-center justify-center text-blue-600 mb-4",children:c.icon}),n.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:c.title}),n.jsx("p",{className:"text-gray-600",children:c.description})]})},d))})]})})}),n.jsx("section",{ref:r.ref,className:`py-16 md:py-24 transition-all duration-1000 ${r.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsx("div",{className:"max-w-6xl mx-auto",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[n.jsxs("div",{children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:"Programa del Curso"}),n.jsx("p",{className:"text-lg text-gray-700 mb-8",children:"Un programa completo que cubre desde los fundamentos teóricos hasta casos prácticos de proyectos reales, incluyendo integración con tu flujo de trabajo BIM."}),n.jsx("div",{className:"space-y-4",children:o.map((c,d)=>n.jsxs("div",{className:"flex items-start gap-3",children:[n.jsx("div",{className:"w-8 h-8 rounded-full bg-blue-600 flex items-center justify-center text-white font-bold text-sm flex-shrink-0",children:d+1}),n.jsx("p",{className:"text-gray-700 pt-1",children:c})]},d))})]}),n.jsxs("div",{className:"bg-white rounded-2xl p-8 border border-gray-200 shadow-lg",children:[n.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Incluido en el curso"}),n.jsx("div",{className:"space-y-4 mb-8",children:l.map((c,d)=>n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-green-500 flex-shrink-0"}),n.jsx("span",{className:"text-gray-700",children:c})]},d))}),n.jsxs("div",{className:"border-t border-gray-200 pt-6",children:[n.jsx("p",{className:"text-sm text-gray-500 mb-2",children:"Tipos de conexiones que dominarás:"}),n.jsx("div",{className:"flex flex-wrap gap-2",children:["Uniones 2D","Modelos 3D","Zapatas","Anclajes","Arriostramientos"].map((c,d)=>n.jsx("span",{className:"px-3 py-1 bg-blue-100 text-blue-700 rounded-full text-sm font-medium",children:c},d))})]})]})]})})})}),n.jsx("section",{ref:s.ref,className:`py-16 md:py-24 bg-gray-900 text-white transition-all duration-1000 ${s.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:"¿Por qué elegir este curso?"}),n.jsx("p",{className:"text-lg text-gray-300 mb-12",children:"Formación impartida por expertos certificados con experiencia real en proyectos de ingenierÃa estructural"}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 rounded-full bg-blue-600 flex items-center justify-center mx-auto mb-4",children:n.jsx(No,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-xl font-bold mb-2",children:"Enfoque Práctico"}),n.jsx("p",{className:"text-gray-400",children:"Ejercicios basados en proyectos reales de ingenierÃa"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 rounded-full bg-blue-600 flex items-center justify-center mx-auto mb-4",children:n.jsx(Ot,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-xl font-bold mb-2",children:"Soporte Continuo"}),n.jsx("p",{className:"text-gray-400",children:"Asistencia técnica durante y después del curso"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 rounded-full bg-blue-600 flex items-center justify-center mx-auto mb-4",children:n.jsx(jo,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-xl font-bold mb-2",children:"Certificación Oficial"}),n.jsx("p",{className:"text-gray-400",children:"Reconocimiento internacional de IDEA StatiCa"})]})]})]})})}),n.jsx("section",{id:"inscripcion",ref:a.ref,className:`py-16 md:py-24 transition-all duration-1000 ${a.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:"¿Listo para dominar IDEA StatiCa?"}),n.jsx("p",{className:"text-lg text-gray-700 mb-8",children:"Solicita información sobre próximas fechas, modalidades y precios del curso de Uniones Metálicas"}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsx("a",{href:"https://construsoft.com/es/cursos",target:"_blank",rel:"noopener noreferrer",children:n.jsxs($,{size:"xl",variant:"cta",className:"bg-blue-600 hover:bg-blue-700 text-white w-full sm:w-auto",chil
440dren:["Ver próximas convocatorias",n.jsx(Dc,{className:"ml-2 h-5 w-5"})]})}),n.jsx(Zs,{to:"/idea-statica-software-bim",children:n.jsx($,{size:"xl",variant:"outline",className:"border-gray-300 text-gray-700 hover:bg-gray-100 w-full",children:"Más sobre IDEA StatiCa"})})]})]})})}),n.jsx("footer",{className:"bg-gray-900 text-white py-8",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"h-8 object-contain brightness-0 invert"}),n.jsxs("p",{className:"text-gray-400 text-sm",children:["© ",new Date().getFullYear()," Construsoft. Distribuidor oficial de IDEA StatiCa en España y LATAM."]})]})})})]})},p6=()=>{const t=ne(),e=ne(),r=ne(),s=ne(),a=ne(),i=[{icon:n.jsx(Nr,{className:"h-6 w-6"}),title:"Cualquier TopologÃa",description:"Sin lÃmites en el tipo o forma de detalles. Define, refuerza y calcula según tu proyecto."},{icon:n.jsx(as,{className:"h-6 w-6"}),title:"Verificación Completa",description:"Interacción de fuerzas internas para ubicación óptima de armaduras."},{icon:n.jsx(Bn,{className:"h-6 w-6"}),title:"Rápido y Simple",description:"Análisis CBFEM complejo en segundos con resultados gráficos intuitivos."},{icon:n.jsx(Aw,{className:"h-6 w-6"}),title:"Regiones D",description:"Diseño especializado de muros, chaflanes, aberturas, ménsulas y más."},{icon:n.jsx(Fn,{className:"h-6 w-6"}),title:"Optimización Topológica",description:"Modelo lineal de elementos finitos para optimización avanzada."},{icon:n.jsx(ni,{className:"h-6 w-6"}),title:"Resultados Visuales",description:"Gráficos con escala de colores para comprensión inmediata del análisis."}],o=["Introducción a IDEA StatiCa Concrete y Detail","Regiones de discontinuidad (Regiones D)","Diseño de muros y elementos con aberturas","Ménsulas, chaflanes y zonas de apoyo","Hormigón armado, pretensado y postensado","Análisis de tensiones y armaduras","Optimización topológica del refuerzo","Casos prácticos y proyectos reales"],l=["Certificado oficial de IDEA StatiCa","Material didáctico completo","Acceso a proyectos de práctica","Soporte técnico durante el curso","Licencia temporal del software"];return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx("section",{ref:t.ref,className:`relative overflow-hidden min-h-[70vh] flex items-center transition-all duration-1000 ${t.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4 py-12 md:py-20 relative z-10",children:n.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[n.jsx("div",{className:"flex justify-center mb-6",children:n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"h-12 md:h-16 object-contain"})}),n.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-gray-700/10 rounded-full mb-6 border border-gray-700/20",children:[n.jsx(Bn,{className:"h-5 w-5 text-gray-700"}),n.jsx("span",{className:"text-sm font-semibold text-gray-700",children:"Curso de Hormigón"})]}),n.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold mb-6 leading-tight text-gray-900",children:["Cálculo de Elementos de"," ",n.jsx("span",{className:"text-gray-600",children:"Hormigón y Pretensado"})]}),n.jsx("p",{className:"text-lg md:text-xl text-gray-700 mb-8 max-w-3xl mx-auto",children:"Domina el diseño de regiones de discontinuidad, hormigón armado, pretensado y postensado con IDEA StatiCa Concrete y Detail."}),n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 max-w-2xl mx-auto mb-8",children:[n.jsxs("div",{className:"flex items-center justify-center gap-2 bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-gray-200",children:[n.jsx(xe,{className:"h-5 w-5 text-gray-600"}),n.jsx("span",{className:"text-gray-700 font-medium",children:"20 horas"})]}),n.jsxs("div",{className:"flex items-center justify-center gap-2 bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-gray-200",children:[n.jsx(Ot,{className:"h-5 w-5 text-gray-600"}),n.jsx("span",{className:"text-gray-700 font-medium",children:"Online / Presencial"})]}),n.jsxs("div",{className:"flex items-center justify-center gap-2 bg-white/80 backdrop-blur-sm rounded-lg p-4 border border-gray-200",children:[n.jsx(jo,{className:"h-5 w-5 text-gray-600"}),n.jsx("span",{className:"text-gray-700 font-medium",children:"Certificado oficial"})]})]}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs($,{size:"xl",variant:"cta",className:"bg-gray-700 hover:bg-gray-800 text-white",onClick:()=>{var c;return(c=document.getElementById("inscripcion"))==null?void 0:c.scrollIntoView({behavior:"smooth"})},children:["Inscribirme al curso",n.jsx(Te,{className:"ml-2 h-5 w-5"})]}),n.jsx(Zs,{to:"/idea-statica-software-bim",children:n.jsx($,{size:"xl",variant:"outline",className:"border-gray-300 text-gray-700 hover:bg-gray-100 w-full",children:"Volver a IDEA StatiCa"})})]})]})})}),n.jsx("section",{ref:e.ref,className:`py-16 md:py-24 bg-white transition-all duration-1000 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"¿Qué aprenderás con IDEA StatiCa Concrete?"}),n.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Diseña eficazmente regiones de discontinuidad: muros, aberturas, ménsulas, chaflanes y zonas de apoyo"})]}),n.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:i.map((c,d)=>n.jsx(k,{className:"border-gray-200 hover:border-gray-400 transition-colors hover:shadow-lg",children:n.jsxs(C,{className:"p-6",children:[n.jsx("div",{className:"w-12 h-12 rounded-lg bg-gray-100 flex items-center justify-center text-gray-700 mb-4",children:c.icon}),n.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:c.title}),n.jsx("p",{className:"text-gray-600",children:c.description})]})},d))})]})})}),n.jsx("section",{ref:r.ref,className:`py-16 md:py-24 transition-all duration-1000 ${r.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsx("div",{className:"max-w-6xl mx-auto",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[n.jsxs("div",{children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:"Programa del Curso"}),n.jsx("p",{className:"text-lg text-gray-700 mb-8",children:"Formación completa que abarca desde los fundamentos del hormigón estructural hasta técnicas avanzadas de pretensado y optimización topológica."}),n.jsx("div",{className:"space-y-4",children:o.map((c,d)=>n.jsxs("div",{className:"flex items-start gap-3",children:[n.jsx("div",{className:"w-8 h-8 rounded-full bg-gray-700 flex items-center justify-center text-white font-bold text-sm flex-shrink-0",children:d+1}),n.jsx("p",{className:"text-gray-700 pt-1",children:c})]},d))})]}),n.jsxs("div",{className:"bg-white rounded-2xl p-8 border border-gray-200 shadow-lg",children:[n.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Incluido en el curso"}),n.jsx("div",{className:"space-y-4 mb-8",children:l.map((c,d)=>n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-green-500 flex-shrink-0"}),n.jsx("span",{className:"text-gray-700",children:c})]},d))}),n.jsxs("div",{className:"border-t border-gray-200 pt-6",children:[n.jsx("p",{className:"text-sm text-gray-500 mb-2",children:"Elementos que dominarás:"}),n.jsx("div",{className:"flex flex-wrap gap-2",children:["Regiones D","Muros","Ménsulas","Pretensado","Postensado"].map((c,d)=>n.jsx("span",{className:"px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm font-medium",children:c},d))})]})]})]})})})}),n.jsx("section",{ref:s.ref,className:`py-16 md:py-24 bg-gray-900 text-white transition-all duration-1000 ${s.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:"¿Por qué elegir este curso?"}),n.jsx("p",{className:"text-lg text-gray-300 mb-12",children:"Formación impartida por expertos certificados con experiencia real en proyectos de hormigón estructural"}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 rounded-full bg-gray-600 flex items-center justify-center mx-auto mb-4",children:n.jsx(No,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-xl font-bold mb-2",children:"Enfoque Práctico"}),n.jsx("p",{className:"text-gray-400",children:"Ejercicios basados en proyectos reales de ingenierÃa"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 rounded-full bg-gray-600 flex items-center justify-center mx-auto mb-4",children:n.jsx(Ot,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-xl font-bold mb-2",children:"Soporte Continuo"}),n.jsx("p",{className:"text-gray-400",children:"Asistencia técnica durante y después del curso"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"w-16 h-16 rounded-full bg-gray-600 flex items-center justify-center mx-auto mb-4",children:n.jsx(jo,{className:"h-8 w-8 text-white"})}),n.jsx("h3",{className:"text-xl font-bold mb-2",children:"Certificación Oficial"}),n.jsx("p",{className:"text-gray-400",children:"Reconocimiento internacional de IDEA StatiCa"})]})]})]})})}),n.jsx("section",{id:"inscripcion",ref:a.ref,className:`py-16 md:py-24 transition-all duration-1000 ${a.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:"¿Listo para dominar IDEA StatiCa?"}),n.jsx("p",{className:"text-lg text-gray-700 mb-8",children:"Solicita información sobre próximas fechas, modalidades y precios del curso de Hormigón y Pretensado"}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsx("a",{href:"https://construsoft.com/es/cursos",target:"_blank",rel:"noopener noreferrer",children:n.jsxs($,{size:"xl",variant:"cta",className:"bg-gray-700 hover:bg-gray-800 text-white w-full sm:w-auto",children:["Ver próximas convocatorias",n.jsx(Dc,{className:"ml-2 h-5 w-5"})]})}),n.jsx(Zs,{to:"/idea-statica-software-bim",children:n.jsx($,{size:"xl",variant:"outline",className:"border-gray-300 text-gray-700 hover:bg-gray-100 w-full",children:"Más sobre IDEA StatiCa"})})]})]})})}),n.jsx("footer",{className:"bg-gray-900 text-white py-8",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"h-8 object-contain brightness-0 invert"}),n.jsxs("p",{className:"text-gray-400 text-sm",children:["© ",new Date().getFullYear()," Construsoft. Distribuidor oficial de IDEA StatiCa en España y LATAM."]})]})})})]})},x6=()=>{const t=ne(),e=ne(),r=ne(),s=ne(),a=ne();return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx("section",{ref:t.ref,className:`relative overflow-hidden min-h-[80vh] flex items-center transition-all duration-1000 ${t.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4 py-12 md:py-20 relative z-10",children:n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsxs(Zs,{to:"/idea-statica-software-bim",className:"inline-flex items-center gap-2 text-gray-600 hover:text-gray-900 mb-8 transition-colors",children:[n.jsx(_w,{className:"h-4 w-4"}),n.jsx("span",{children:"Volver a IDEA StatiCa"})]}),n.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 lg:gap-12 items-center",children:[n.jsxs("div",{className:"text-left",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 md:px-4 md:py-2 bg-[#b8f516]/20 rounded-full mb-4 md:mb-6 border border-[#b8f516]/30",children:[n.jsx(Xr,{className:"h-4 w-4 md:h-5 md:w-5 text-gray-900"}),n.jsx("span",{className:"text-xs md:text-sm font-semibold text-gray-900",children:"Acero"})]}),n.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold mb-4 md:mb-6 leading-tight",children:[n.jsx("span",{className:"text-[#b8f516]",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"IDEA StatiCa"}),n.jsx("br",{}),n.jsx("span",{className:"text-gray-900",children:"Connection"})]}),n.jsx("p",{className:"text-lg md:text-xl lg:text-2xl text-gray-700 mb-6 md:mb-8 font-medium",children:"Diseña todo tipo de conexiones soldadas o atornilladas, placas de base, arriostramientos y uniones complejas."}),n.jsx("p",{className:"text-base md:text-lg text-gray-600 mb-8",children:"Proporciona comprobaciones precisas, resultados de análisis de resistencia, rigidez y pandeo de los elementos de conexión de acero. Los tornillos, las soldaduras y los bloques de hormigón se comprueban de acuerdo con EC/AISC."}),n.jsxs($,{onClick:()=>window.location.href="/idea-statica-software-bim#formulario",className:"w-full sm:w-auto bg-[#b8f516] hover:bg-[#a3e005] text-gray-900 font-semibold px-8 py-6 md:px-10 md:py-7 rounded-full text-base md:text-lg transition-all duration-300 shadow-lg hover:shadow-xl",children:["Solicita tu demo gratis",n.jsx(Te,{className:"ml-2 h-5 w-5"})]})]}),n.jsx("div",{className:"hidden lg:block",children:n.jsx("div",{className:"aspect-[16/9] rounded-xl overflow-hidden shadow-2xl bg-slate-100",children:n.jsx("img",{src:Zc,alt:"IDEA StatiCa Connection - Diseño de uniones metálicas",className:"w-full h-full object-contain"})})})]})]})})}),n.jsx("section",{ref:e.ref,className:`py-20 md:py-32 bg-background transition-all duration-1000 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground",children:"Sin lÃmites en el diseño"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"La complejidad de la conexión es definida por los requisitos del proyecto, NO por las capacidades del software."})]}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 roun
440ded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(Nr,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"Cualquier TopologÃa"}),n.jsx("p",{className:"text-muted-foreground",children:"No hay lÃmites sobre la cantidad de uniones y elementos que hay en el nodo y cómo se conectan."})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 rounded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(as,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"Cualquier Carga"}),n.jsx("p",{className:"text-muted-foreground",children:"Se analizan todas las fuerzas de los elementos sin limitación en la dirección de los esfuerzos."})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 rounded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(oh,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"Rápido y Simple"}),n.jsx("p",{className:"text-muted-foreground",children:"Realiza un análisis complejo mediante elementos finitos (CBFEM) en segundos."})]})})]})]})})}),n.jsx("section",{ref:r.ref,className:`py-20 md:py-32 transition-all duration-1000 ${r.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-gray-900",children:"¿Qué puedes diseñar?"}),n.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Desde conexiones simples hasta las más complejas, IDEA StatiCa Connection lo hace posible"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:[n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(Fn,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Uniones 2D"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Conexiones en plano para estructuras simples"})]})}),n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(ni,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Zapatas y Anclajes"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Placas base y sistemas de anclaje"})]})}),n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(Nr,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Modelos 3D"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Conexiones tridimensionales complejas"})]})}),n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(Xr,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Arriostramientos"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Sistemas de arriostramiento estructural"})]})})]})]})})}),n.jsx("section",{ref:s.ref,className:`py-20 md:py-32 bg-background transition-all duration-1000 ${s.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground",children:"CaracterÃsticas clave"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Análisis completo para garantizar la seguridad y cumplimiento normativo"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:[n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(Jo,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Verificación General"}),n.jsx("p",{className:"text-muted-foreground",children:"Según varios códigos de diseño nacionales (EC/AISC)."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(ip,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Análisis de Tensión/Deformación"}),n.jsx("p",{className:"text-muted-foreground",children:"El mallado del modelo de elementos finitos se realiza automáticamente."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(Oc,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Análisis de Rigidez"}),n.jsx("p",{className:"text-muted-foreground",children:"Rigidez rotacional y axial de cualquier conexión."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(as,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Análisis de Pandeo"}),n.jsx("p",{className:"text-muted-foreground",children:"Efectos de pandeo local y factores de carga crÃticos."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(Xr,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Diseño por Capacidad"}),n.jsx("p",{className:"text-muted-foreground",children:"Una verificación sÃsmica de conexiones para elementos de unión."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(ni,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Resistencia de Diseño"}),n.jsx("p",{className:"text-muted-foreground",children:"Calcula la máxima carga posible y la resistencia residual."})]})]})]}),n.jsxs("div",{className:"mt-16 bg-muted/30 rounded-2xl p-8",children:[n.jsx("h3",{className:"text-xl font-bold mb-6 text-foreground text-center",children:"Recursos incluidos"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0"}),n.jsx("span",{className:"text-foreground",children:"Plantillas para las conexiones más utilizadas"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0"}),n.jsx("span",{className:"text-foreground",children:"Amplia gama de elementos laminados en caliente"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0"}),n.jsx("span",{className:"text-foreground",children:"Elementos soldados de chapa predefinidos"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0"}),n.jsx("span",{className:"text-foreground",children:"Editor de secciones simples y compuestas"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0"}),n.jsx("span",{className:"text-foreground",children:"Biblioteca con más de 1 millón de uniones reales"})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary shrink-0"}),n.jsx("span",{className:"text-foreground",children:"Comprobación de tornillos, soldaduras y bloques"})]})]})]})]})})}),n.jsx("section",{ref:a.ref,className:`py-20 md:py-32 transition-all duration-1000 ${a.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-gray-900",children:"¿Listo para revolucionar tu diseño de conexiones?"}),n.jsx("p",{className:"text-xl text-gray-600 mb-10",children:"Solicita una demostración gratuita y descubre cómo IDEA StatiCa Connection puede optimizar tu flujo de trabajo."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs($,{onClick:()=>window.location.href="/idea-statica-software-bim#formulario",className:"bg-[#b8f516] hover:bg-[#a3e005] text-gray-900 font-semibold px-8 py-6 rounded-full text-lg transition-all duration-300 shadow-lg hover:shadow-xl",children:["Solicita tu demo gratis",n.jsx(Te,{className:"ml-2 h-5 w-5"})]}),n.jsx(Zs,{to:"/idea-statica-software-bim",children:n.jsx($,{variant:"outline",className:"border-gray-900 text-gray-900 hover:bg-gray-900 hover:text-white font-semibold px-8 py-6 rounded-full text-lg transition-all duration-300",children:"Volver a IDEA StatiCa"})})]})]})})})]})},g6=()=>{const t=ne(),e=ne(),r=ne(),s=ne(),a=ne();return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx("section",{ref:t.ref,className:`relative overflow-hidden min-h-[80vh] flex items-center transition-all duration-1000 ${t.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4 py-12 md:py-20 relative z-10",children:n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsxs(Zs,{to:"/idea-statica-software-bim",className:"inline-flex items-center gap-2 text-gray-600 hover:text-gray-900 mb-8 transition-colors",children:[n.jsx(_w,{className:"h-4 w-4"}),n.jsx("span",{children:"Volver a IDEA StatiCa"})]}),n.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 lg:gap-12 items-center",children:[n.jsxs("div",{className:"text-left",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 md:px-4 md:py-2 bg-gray-700/10 rounded-full mb-4 md:mb-6 border border-gray-700/20",children:[n.jsx(Bn,{className:"h-4 w-4 md:h-5 md:w-5 text-gray-900"}),n.jsx("span",{className:"text-xs md:text-sm font-semibold text-gray-900",children:"Hormigón"})]}),n.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold mb-4 md:mb-6 leading-tight",children:[n.jsx("span",{className:"text-[#b8f516]",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"IDEA StatiCa"}),n.jsx("br",{}),n.jsx("span",{className:"text-gray-900",children:"Detail"})]}),n.jsx("p",{className:"text-lg md:text-xl lg:text-2xl text-gray-700 mb-6 md:mb-8 font-medium",children:"Análisis y diseño de regiones D en estructuras de hormigón armado."}),n.jsx("p",{className:"text-base md:text-lg text-gray-600 mb-8",children:"Trata eficazmente todas las regiones de discontinuidad: muros, extremos con chaflán, aberturas, colgaduras, ménsulas y zonas por encima de los soportes. Proporciona comprobaciones precisas de resistencia del hormigón y de la armadura."}),n.jsxs($,{onClick:()=>window.location.href="/idea-statica-software-bim#formulario",className:"w-full sm:w-auto bg-[#b8f516] hover:bg-[#a3e005] text-gray-900 font-semibold px-8 py-6 md:px-10 md:py-7 rounded-full text-base md:text-lg transition-all duration-300 shadow-lg hover:shadow-xl",children:["Solicita tu demo gratis",n.jsx(Te,{className:"ml-2 h-5 w-5"})]})]}),n.jsx("div",{className:"hidden lg:block",children:n.jsx("div",{className:"aspect-[16/9] rounded-xl overflow-hidden shadow-2xl bg-slate-100",children:n.jsx("img",{src:Do,alt:"IDEA StatiCa Detail - Análisis de regiones D en hormigón",className:"w-full h-full object-contain"})})})]})]})})}),n.jsx("section",{ref:e.ref,className:`py-20 md:py-32 bg-background transition-all duration-1000 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground",children:"Sin lÃmites en el diseño"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Cada tipo de sección puede definirse, reforzarse y calcularse geométricamente fácilmente según las exigencias de tu proyecto."})]}),n.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 roun
440ded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(Nr,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"Cualquier TopologÃa"}),n.jsx("p",{className:"text-muted-foreground",children:"Sin lÃmites en el tipo o la forma de los detalles de las uniones y regiones de discontinuidad."})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 rounded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(as,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"Verificación Completa"}),n.jsx("p",{className:"text-muted-foreground",children:"La verificación general tiene en cuenta las interacciones de las fuerzas internas en un plano."})]})}),n.jsx(k,{className:"bg-card border-border hover:shadow-lg transition-all duration-300 hover:-translate-y-2",children:n.jsxs(C,{className:"pt-8",children:[n.jsx("div",{className:"h-14 w-14 rounded-lg bg-primary/10 flex items-center justify-center mb-6",children:n.jsx(oh,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold mb-3 text-foreground",children:"Rápido y Simple"}),n.jsx("p",{className:"text-muted-foreground",children:"Realiza un análisis complejo mediante elementos finitos (CBFEM) en segundos."})]})})]})]})})}),n.jsx("section",{ref:r.ref,className:`py-20 md:py-32 transition-all duration-1000 ${r.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-gray-900",children:"Regiones de discontinuidad"}),n.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"IDEA StatiCa Detail se ocupa eficazmente de todas las secciones conocidas como regiones D"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(Nr,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Muros"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Diseño de muros estructurales con cualquier geometrÃa"})]})}),n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(Fn,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Extremos con Chaflán"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Remates y terminaciones especiales"})]})}),n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(ni,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Aberturas"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Huecos y perforaciones en elementos estructurales"})]})}),n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(Aw,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Colgaduras"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Elementos suspendidos y cargas colgantes"})]})}),n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(Bn,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Ménsulas"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Voladizos y elementos en ménsula"})]})}),n.jsx(k,{className:"bg-white border-gray-200 hover:shadow-lg transition-all duration-300",children:n.jsxs(C,{className:"pt-6 text-center",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-gray-100 flex items-center justify-center mb-4 mx-auto",children:n.jsx(Oc,{className:"h-6 w-6 text-gray-700"})}),n.jsx("h3",{className:"text-lg font-bold mb-2 text-gray-900",children:"Zonas sobre Soportes"}),n.jsx("p",{className:"text-sm text-gray-600",children:"Regiones de apoyo y transferencia de cargas"})]})})]})]})})}),n.jsx("section",{ref:s.ref,className:`py-20 md:py-32 bg-background transition-all duration-1000 ${s.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-6xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-16",children:[n.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-foreground",children:"CaracterÃsticas clave"}),n.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Software completo, general y preciso para ingenieros que desean comprender el 100% de lo que sucede dentro de una estructura"})]}),n.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:[n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(Jo,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Comprobaciones ULS y SLS"}),n.jsx("p",{className:"text-muted-foreground",children:"Comprobaciones completas en un solo informe integrado."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(ip,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Resultados Gráficos"}),n.jsx("p",{className:"text-muted-foreground",children:"Escala de colores para facilitar la comprensión del análisis."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(Oc,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Optimización del Armado"}),n.jsx("p",{className:"text-muted-foreground",children:"Determina la ubicación y cantidad requerida de armaduras eficientemente."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(as,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Resistencia del Hormigón"}),n.jsx("p",{className:"text-muted-foreground",children:"Comprobaciones precisas de resistencia y tensiones."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(Nr,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Optimización Topológica"}),n.jsx("p",{className:"text-muted-foreground",children:"Utiliza un modelo lineal de elementos finitos para optimizar."})]})]}),n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:n.jsx(ni,{className:"h-6 w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold mb-2 text-foreground",children:"Importación desde Beam"}),n.jsx("p",{className:"text-muted-foreground",children:"Importa armaduras y tendones desde la aplicación Beam."})]})]})]}),n.jsxs("div",{className:"mt-16 bg-muted/30 rounded-2xl p-8",children:[n.jsx("h3",{className:"text-xl font-bold mb-6 text-foreground text-center",children:"Opciones de diseño preliminar"}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[n.jsxs("div",{className:"bg-white rounded-xl p-6 border border-gray-200",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[n.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center",children:n.jsx(oh,{className:"h-5 w-5 text-primary"})}),n.jsx("h4",{className:"font-bold text-foreground",children:"Análisis
440Lineal"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Enfoque rápido y directo para diseño preliminar de la región de hormigón."})]}),n.jsxs("div",{className:"bg-white rounded-xl p-6 border border-gray-200",children:[n.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[n.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center",children:n.jsx(Fn,{className:"h-5 w-5 text-primary"})}),n.jsx("h4",{className:"font-bold text-foreground",children:"Optimización Topológica"})]}),n.jsx("p",{className:"text-muted-foreground",children:"Enfoque avanzado mediante métodos energéticos para optimización estructural."})]})]})]}),n.jsxs("div",{className:"mt-12 text-center p-8 bg-primary/5 rounded-2xl border border-primary/20",children:[n.jsx("h3",{className:"text-2xl font-bold mb-4 text-foreground",children:"Diseño de detalles prefabricados"}),n.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Con IDEA StatiCa Detail, no volverás a tener limitaciones en el diseño de la armadura de estructuras de hormigón."})]})]})})}),n.jsx("section",{ref:a.ref,className:`py-20 md:py-32 transition-all duration-1000 ${a.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{backgroundColor:"#f8f5ee"},children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[n.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6 text-gray-900",children:"¿Listo para revolucionar tu diseño de hormigón?"}),n.jsx("p",{className:"text-xl text-gray-600 mb-10",children:"Solicita una demostración gratuita y descubre cómo IDEA StatiCa Detail puede optimizar tu flujo de trabajo."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[n.jsxs($,{onClick:()=>window.location.href="/idea-statica-software-bim#formulario",className:"bg-[#b8f516] hover:bg-[#a3e005] text-gray-900 font-semibold px-8 py-6 rounded-full text-lg transition-all duration-300 shadow-lg hover:shadow-xl",children:["Solicita tu demo gratis",n.jsx(Te,{className:"ml-2 h-5 w-5"})]}),n.jsx(Zs,{to:"/idea-statica-software-bim",children:n.jsx($,{variant:"outline",className:"border-gray-900 text-gray-900 hover:bg-gray-900 hover:text-white font-semibold px-8 py-6 rounded-full text-lg transition-all duration-300",children:"Volver a IDEA StatiCa"})})]})]})})})]})},y6=()=>{const t=ne(.1),e=ne(.1),r=ne(.1),s=ne(.1),a=ne(.1),i=ne(.1),o=[{icon:Oc,title:"Limitaciones de Bielas y Tirantes",description:"El método manual es lento y conservador. No permite ver la redistribución real de tensiones."},{icon:Tw,title:"Incertidumbre en Fisuración (SLS)",description:"¿Cumple tu diseño en servicio? Controla anchos de fisura y deflexiones con precisión de elementos finitos."},{icon:Rw,title:"Costes Ocultos de Producción",description:"Cada kilo de acero extra por 'seguridad no calculada' reduce el margen de tu planta."}],l=[{icon:YC,text:"Generación automática de malla de elementos finitos."},{icon:ah,text:"Comprobación de anclaje y longitud de desarrollo."},{icon:ip,text:"Análisis No Lineal fÃsico del hormigón y la armadura."},{icon:Jo,text:"Verificación automática según Eurocódigo y ACI."}],c=[{icon:Nr,title:"Ménsulas Cortas (Corbels)",description:"Optimización de armado principal y estribos.",alt:"Analisis de tensiones en mensula corta hormigon"},{icon:nE,title:"Vigas con Aberturas",description:"Control de fisuración en esquinas.",alt:"Calculo de vigas con aberturas hormigon armado"},{icon:ZC,title:"Apoyos a Media Madera (Dapped Ends)",description:"Análisis de concentración de tensiones.",alt:"Diseño de apoyos dapped ends prefabricados"},{icon:Ot,title:"Muros y Diafragmas",description:"Diseño de nudos complejos en 2D.",alt:"Calculo de muros estructurales y diafragmas"}],d=["Te ayudamos a modelar tu primer caso real.","Sesiones de revisión de resultados.","Comparativa: Tu cálculo manual vs. IDEA StatiCa."],u=()=>{window.open("https://construsoft.com/solicitar-demo","_blank")};return n.jsxs("div",{className:"min-h-screen",children:[n.jsx("section",{ref:t.ref,className:"min-h-screen bg-background text-foreground relative overflow-hidden flex items-center",children:n.jsx("div",{className:"container mx-auto px-4 py-12 lg:py-20",children:n.jsxs("div",{className:`grid lg:grid-cols-2 gap-8 lg:gap-12 items-center transition-all duration-700 ${t.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("div",{className:"space-y-6",children:[n.jsx("span",{className:"inline-block bg-muted text-foreground px-3 py-1 rounded-full text-xs sm:text-sm font-semibold uppercase tracking-wider",children:"Solución integral para prefabricados"}),n.jsxs("h1",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground",children:["IDEA StatiCa para Hormigón: Cálculo y Diseño de"," ",n.jsx("span",{className:"text-primary",children:"Regiones D"})," y Detalles Estructurales."]}),n.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl text-muted-foreground font-medium",children:"La diferencia entre un prefabricado seguro y uno rentable está en el detalle."}),n.jsxs("p",{className:"text-base sm:text-lg text-muted-foreground leading-relaxed max-w-xl",children:["Deja atrás el sobredimensionamiento en ménsulas, aberturas y zonas de discontinuidad. Con el método CSFM puedes reducir hasta un ",n.jsx("strong",{className:"text-foreground",children:"15% de acero"})," manteniendo la seguridad estructural según normativa."]}),n.jsx("div",{className:"pt-4",children:n.jsxs($,{className:"bg-primary hover:bg-primary/90 text-primary-foreground font-bold px-6 sm:px-8 py-5 sm:py-6 text-base sm:text-lg rounded-[4px] transition-all hover:scale-105 w-full sm:w-auto animate-pulse-glow",onClick:u,children:["Optimizar mis Detalles (Prueba Guiada)",n.jsx(Te,{className:"ml-2 h-5 w-5"})]})}),n.jsxs("div",{className:"pt-6 border-t border-border",children:[n.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground mb-3",children:"Empresas que confÃan en nosotros"}),n.jsxs("div",{className:"flex flex-wrap items-center gap-4 sm:gap-6 opacity-70 hover:opacity-100 transition-opacity",children:[n.jsx("img",{src:Jc,alt:"Logo Acciona ingenieria estructural",className:"h-5 sm:h-6 brightness-0"}),n.jsx("img",{src:Xc,alt:"Logo Edyce prefabricados hormigon",className:"h-5 sm:h-6 brightness-0"}),n.jsx("img",{src:ed,alt:"Logo Fhecor consultoria estructural",className:"h-5 sm:h-6 brightness-0"}),n.jsx("img",{src:td,alt:"Logo Sener ingenieria",className:"h-5 sm:h-6 brightness-0"})]})]})]}),n.jsxs("div",{className:"relative hidden lg:block",children:[n.jsx("div",{className:"relative rounded-lg overflow-hidden shadow-2xl border border-muted",children:n.jsx("img",{src:Do,alt:"Ren
440der de viga prefabricada con armado 3D optimizado y mapa de tensiones IDEA StatiCa Detail",className:"w-full h-auto"})}),n.jsx("div",{className:"absolute -z-10 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[120%] h-[120%] bg-muted/50 blur-3xl rounded-full"})]})]})})}),n.jsx("section",{ref:e.ref,className:"py-16 sm:py-20 lg:py-24 bg-[#F3EDE2]",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsx("div",{className:`text-center mb-12 sm:mb-16 transition-all duration-700 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mb-4",children:"¿Por qué seguir calculando con métodos del siglo pasado?"})}),n.jsx("div",{className:`grid sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8 transition-all duration-700 delay-200 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:o.map((m,h)=>n.jsx(k,{className:"bg-muted border-0 shadow-lg hover:shadow-xl transition-shadow",children:n.jsxs(C,{className:"p-6 sm:p-8",children:[n.jsx("div",{className:"w-12 h-12 sm:w-14 sm:h-14 bg-background rounded-lg flex items-center justify-center mb-4 sm:mb-6",children:n.jsx(m.icon,{className:"h-6 w-6 sm:h-7 sm:w-7 text-primary"})}),n.jsx("h3",{className:"text-lg sm:text-xl font-bold text-foreground mb-3",children:m.title}),n.jsx("p",{className:"text-muted-foreground text-sm sm:text-base leading-relaxed",children:m.description})]})},h))})]})}),n.jsx("section",{ref:r.ref,className:"py-16 sm:py-20 lg:py-24 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:`grid lg:grid-cols-2 gap-10 lg:gap-16 items-center transition-all duration-700 ${r.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("div",{className:"space-y-6 sm:space-y-8",children:[n.jsxs("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-foreground leading-tight",children:["IngenierÃa de Precisión:"," ",n.jsx("span",{className:"text-primary",children:"Método de Campos de Tensiones Compatibles (CSFM)"})]}),n.jsx("ul",{className:"space-y-4 sm:space-y-5",children:l.map((m,h)=>n.jsxs("li",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"w-10 h-10 bg-muted rounded-lg flex items-center justify-center flex-shrink-0",children:n.jsx(m.icon,{className:"h-5 w-5 text-primary"})}),n.jsx("span",{className:"text-foreground text-base sm:text-lg pt-1.5",children:m.text})]},h))})]}),n.jsx("div",{className:"relative",children:n.jsx("div",{className:"rounded-lg overflow-hidden shadow-xl border border-muted",children:n.jsx("img",{src:Do,alt:"Diagrama del metodo CSFM analisis no lineal hormigon armado",className:"w-full h-auto"})})})]})})}),n.jsx("section",{ref:s.ref,className:"py-16 sm:py-20 lg:py-24 bg-secondary",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsx("div",{className:`text-center mb-12 sm:mb-16 transition-all duration-700 ${s.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-foreground",children:"Resuelve cualquier discontinuidad geométrica."})}),n.jsx("div",{className:`grid sm:grid-cols-2 lg:grid-cols-4 gap-
4405 sm:gap-6 transition-all duration-700 delay-200 ${s.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:c.map((m,h)=>n.jsx(k,{className:"bg-muted border-0 shadow-md hover:shadow-lg transition-all hover:-translate-y-1",children:n.jsxs(C,{className:"p-5 sm:p-6 text-center",children:[n.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 bg-background rounded-xl flex items-center justify-center mx-auto mb-4 sm:mb-5",children:n.jsx(m.icon,{className:"h-8 w-8 sm:h-10 sm:w-10 text-primary"})}),n.jsx("h3",{className:"text-base sm:text-lg font-bold text-foreground mb-2",children:m.title}),n.jsx("p",{className:"text-muted-foreground text-sm",children:m.description})]})},h))})]})}),n.jsx("section",{ref:a.ref,className:"py-16 sm:py-20 lg:py-24 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:`max-w-4xl mx-auto transition-all duration-700 ${a.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("div",{className:"text-center mb-10 sm:mb-12",children:[n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mb-4 sm:mb-6",children:"No es solo software, es ingenierÃa aplicada."}),n.jsx("p",{className:"text-base sm:text-lg text-muted-foreground max-w-2xl mx-auto",children:"Sabemos que implementar una nueva metodologÃa lleva tiempo. Por eso, tu licencia de prueba incluye a nuestros ingenieros."})]}),n.jsxs("div",{className:"bg-muted border-2 border-primary rounded-lg p-6 sm:p-8 lg:p-10",children:[n.jsx("ul",{className:"space-y-4 sm:space-y-5",children:d.map((m,h)=>n.jsxs("li",{className:"flex items-start gap-4",children:[n.jsx(K,{className:"h-6 w-6 text-primary flex-shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground text-base sm:text-lg",children:m})]},h))}),n.jsx("div",{className:"mt-8 sm:mt-10 text-center",children:n.jsxs($,{className:"bg-primary hover:bg-primary/90 text-primary-foreground font-bold px-6 sm:px-8 py-5 sm:py-6 text-base sm:text-lg rounded-[4px] transition-all hover:scale-105 w-full sm:w-auto",onClick:u,children:["Reservar Sesión con Ingeniero",n.jsx(Te,{className:"ml-2 h-5 w-5"})]})})]})]})})}),n.jsx("section",{ref:i.ref,className:"py-16 sm:py-20 lg:py-24 bg-secondary",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:`text-center max-w-3xl mx-auto transition-all duration-700 ${i.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mb-6 sm:mb-8",children:"¿Listo para optimizar tus prefabricados?"}),n.jsxs($,{className:"bg-primary hover:bg-primary/90 text-primary-foreground font-bold px-8 sm:px-12 py-6 sm:py-8 text-lg sm:text-xl rounded-[4px] transition-all hover:scale-105 mb-6 w-full sm:w-auto animate-pulse-glow",onClick:u,children:["Solicitar Demo + AuditorÃa de Detalle",n.jsx(Te,{className:"ml-2 sm:ml-3 h-5 w-5 sm:h-6 sm:w-6"})]}),n.jsx("p",{className:"text-muted-foreground text-sm sm:text-base max-w-xl mx-auto",children:"Software lÃder en cálculo estructural para hormigón armado y pretensado. Compatible con flujos de trabajo BIM."})]})})})]})},v6=()=>{const t=ne(.1),e=ne(.1),r=ne(.1),s=ne(.1),a=ne(.1),i=ne(.1),o=ne(.1),l=Ds({end:83,duration:2e3}),c=Ds({end:3,duration:1500}),d=Ds({end:58e3,duration:2500}),u=Ds({end:1.4,duration:2e3,decimals:1}),m=[{icon:op,title:"El Pandeo",description:"¿Tu software actual te dice si esa chapa se va a abollar?",detail:n.jsxs(n.Fragment,{children:["Nosotros calculamos el factor de carga crÃtica (",n.jsxs("code",{className:"font-mono bg-muted px-1 rounded",children:["α",n.jsx("sub",{children:"cr"})]}),"). Si es ",n.jsx("code",{className:"font-mono bg-muted px-1 rounded",children:"< 3"}),", necesitas rigidizadores. ",n.jsx("strong",{children:"Punto."})]})},{icon:xe,title:"La Regla 20/70",description:"El 20% de tus uniones complejas se comen el 70% de tu tiempo.",detail:"Deja de perder dÃas iterando a mano con hojas Excel que nadie más entiende."},{icon:Rw,title:"El LÃmite Plástico",description:"Mantenemos la deformación plástica real bajo el 5%.",detail:n.jsxs(n.Fragment,{children:["Según Eurocódigo y AISC: ",n.jsxs("code",{className:"font-mono bg-muted px-1 rounded",children:["ε",n.jsx("sub",{children:"pl"})," ⤠5%"]}),". Sin trucos, sin aproximaciones conservadoras."]})}],h=[{name:"Jakarta International Velodrome",location:"Indonesia",description:"Conexiones antisÃsmicas para estructura icónica de los Juegos Asiáticos 2018.",icon:ap},{name:"Hinkley Point C",location:"Reino Unido",description:"Central nuclear con bulkheads de acero de alta precisión.",icon:Ew},{name:"Santiago Bernabéu",location:"España",description:"Renovación con 32.000 toneladas de estructura metálica y cubierta retráctil.",icon:KC}],f=[{hookResult:l,suffix:"%",label:"Ahorro de tiempo en conexiones complejas"},{hookResult:c,suffix:" meses",label:"Retorno de inversión (Payback)"},{hookResult:d,suffix:"+",label:"Ingenieros calculando ahora mismo"},{hookResult:u,suffix:"M",label:"Cálculos realizados al mes"}];return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsxs("section",{ref:t.ref,className:"relative bg-secondary text-foreground min-h-screen flex items-center overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 opacity-10",style:{backgroundImage:` 441 linear-gradient(hsl(var(--muted)) 1px, transparent 1px), 442 linear-gradient(90deg, hsl(var(--muted)) 1px, transparent 1px) 443 `,backgroundSize:"50px 50px"}}),n.jsx("div",{className:"container mx-auto px-4 py-16 lg:py-24",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[n.jsxs("div",{className:`space-y-8 transition-all duration-700 ${t.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("div",{className:"inline-flex items-center gap-2",children:[n.jsx("div",{className:"h-px w-8 bg-primary"}),n.jsx("span",{className:"text-sm font-mono uppercase tracking-widest text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"IDEA StatiCa Connection"})]}),n.jsxs("h1",{className:"text-3xl sm:text-4xl lg:text-5xl xl:text-6xl font-bold leading-tight text-foreground",children:["Deja de ",n.jsx("span",{className:"italic",children:"'estimar'"})," el 20% de tus conexiones."," ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"Calcúlalas con IDEA StatiCa."})]}),n.jsxs("p",{className:"text-lg sm:text-xl text-muted-foreground max-w-xl leading-relaxed",children:["El Método de Componentes te falla en topologÃas no estándar. Modela placas, pernos y soldaduras reales con ",n.jsx("strong",{className:"text-foreground",children:"análisis no lineal verificado"}),". Deja de asumir rigidez donde no la hay."]}),n.jsx("div",{className:"flex flex-col sm:flex-row gap-4",children:n.jsxs($,{size:"xl",className:"bg-primary text-primary-foreground font-bold shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 animate-pulse-glow",onClick:()=>window.open("https://www.construsoft.com/solicitar-demo","_blank"),children:["Descarga Trial Gratuito (14 DÃas)",n.jsx(Te,{className:"ml-2 h-5 w-5"})]})}),n.jsxs("div",{className:"flex items-center gap-6 pt-4",children:[n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"h-8 opacity-70"}),n.jsx("img",{src:Wp,alt:"CSI",className:"h-6 opacity-70"})]})]}),n.jsxs("div",{className:`relative transition-all duration-700 delay-200 ${t.isVisible?"opacity-100 translate-x-0":"opacity-0 translate-x-8"}`,children:[n.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute -top-3 left-4 bg-muted px-3 py-1 z-10 rounded",children:n.jsx("span",{className:"text-xs font-mono text-muted-foreground uppercase",children:"Antes"})}),n.jsxs("div",{className:"bg-muted rounded-lg p-4 h-64 sm:h-80 flex flex-col items-center justify-center border border-border",children:[n.jsx("div",{className:"space-y-2 w-full opacity-50",children:[...Array(8)].map((v,p)=>n.jsx("div",{className:"flex gap-1",children:[...Array(4)].map((w,b)=>
443n.jsx("div",{className:"h-4 bg-foreground/20 rounded",style:{width:`${20+Math.random()*30}%`}},b))},p))}),n.jsx("p",{className:"text-xs font-mono text-muted-foreground mt-4 text-center",children:"Excel Hellâ¢"})]})]}),n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute -top-3 left-4 bg-primary px-3 py-1 z-10 rounded",children:n.jsx("span",{className:"text-xs font-mono text-primary-foreground uppercase",children:"Después"})}),n.jsxs("div",{className:"relative h-64 sm:h-80 rounded-lg overflow-hidden border-2 border-primary",children:[n.jsx("img",{src:Zc,alt:"Análisis FEM de conexión metálica con mapa de tensiones Von Mises",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-foreground/90 to-transparent p-3",children:n.jsx("p",{className:"text-xs font-mono text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"Von Mises Stress Map"})})]})]})]}),n.jsx("p",{className:"text-xs font-mono text-muted-foreground mt-4 text-center",children:"TopologÃa real ⢠Análisis no lineal ⢠Verificación automática"})]})]})})]}),n.jsx("section",{ref:e.ref,className:"bg-secondary py-20 lg:py-28",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsxs("div",{className:`text-center mb-16 transition-all duration-700 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-foreground mb-4",children:"Tu Riesgo Invisible"}),n.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Lo que tu software actual no te está contando sobre tus conexiones."})]}),n.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:m.map((v,p)=>n.jsx(k,{className:`bg-muted border-2 border-transparent hover:border-primary transition-all duration-500 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,style:{transitionDelay:`${p*150}ms`},children:n.jsxs(C,{className:"p-8",children:[n.jsx("div",{className:"w-14 h-14 rounded-lg flex items-center justify-center mb-6 bg-primary/20",children:n.jsx(v.icon,{className:"h-7 w-7 text-primary"})}),n.jsx("h3",{className:"text-xl font-bold text-foreground mb-3",children:v.title}),n.jsx("p",{className:"text-foreground font-medium mb-3",children:v.description}),n.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:v.detail})]})},v.title))})]})}),n.jsx("section",{ref:r.ref,className:"bg-background py-20 lg:py-28",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[n.jsxs("div",{className:`space-y-8 transition-all duration-700 ${r.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("div",{className:"inline-flex items-center gap-2",children:[n.jsx("div",{className:"h-px w-8 bg-primary"}),n.jsx("span",{className:"text-sm font-mono uppercase tracking-widest text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"IngenierÃa Real"})]}),n.jsxs("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-foreground leading-tight",children:["Método CBFEM: ",n.jsx("br",{}),n.jsx("span",{className:"text-muted-foreground",children:"Component-Based Finite Element Method"})]}),n.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"No es magia, es el Método de Elementos Finitos Basado en Componentes. Validado por universidades de Europa y EEUU, y usado en los proyectos más complejos del mundo."}),n.jsx("div",{className:"space-y-4",children:["Generación automática de malla de elementos finitos","Comprobación de anclaje y longitud de desarrollo","Análisis No Lineal fÃsico de acero y soldaduras","Verificación automática según Eurocódigo y AISC","Factor de carga crÃtica para pandeo (αcr)"].map((v,p)=>n.jsxs("div",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 mt-0.5 flex-shrink-0 text-primary"}),n.jsx("span",{className:"text-foreground",children:v})]},p))}),n.jsx("div",{className:"pt-4",children:n.jsxs($,{variant:"outline",size:"lg",className:"border-2 border-primary text-primary hover:bg-primary hover:text-primary-foreground transition-all",onClick:()=>window.open("https://www.ideastatica.com/support-center/theoretical-background","_blank"),children:["Ver Documentación Técnica",n.jsx(Te,{className:"ml-2 h-4 w-4"})]})})]}),n.jsx("div",{className:`transition-all duration-700 delay-200 ${r.isVisible?"opacity-100 translate-x-0":"opacity-0 translate-x-8"}`,children:n.jsx("div",{className:"relative",children:n.jsxs("div",{className:"bg-muted rounded-xl p-6 lg:p-8",children:[n.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-foreground
443/5",children:n.jsx("img",{src:Zc,alt:"Análisis CBFEM de conexión metálica mostrando malla de elementos finitos",className:"w-full h-full object-cover hover:scale-105 transition-transform duration-500"})}),n.jsxs("div",{className:"mt-4 grid grid-cols-3 gap-4 text-center",children:[n.jsxs("div",{children:[n.jsx("p",{className:"text-2xl font-mono font-bold text-foreground",children:"FEM"}),n.jsx("p",{className:"text-xs text-muted-foreground",children:"Elementos Finitos"})]}),n.jsxs("div",{children:[n.jsx("p",{className:"text-2xl font-mono font-bold text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"αcr"}),n.jsx("p",{className:"text-xs text-muted-foreground",children:"Factor Pandeo"})]}),n.jsxs("div",{children:[n.jsx("p",{className:"text-2xl font-mono font-bold text-foreground",children:"5%"}),n.jsx("p",{className:"text-xs text-muted-foreground",children:"LÃmite Plástico"})]})]})]})})})]})})}),n.jsx("section",{ref:s.ref,className:"bg-secondary py-20 lg:py-28",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsxs("div",{className:`text-center mb-16 transition-all duration-700 ${s.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-foreground mb-4",children:"Proyectos que lo Demuestran"}),n.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"No es teorÃa. Estas estructuras se calcularon con IDEA StatiCa."})]}),n.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:h.map((v,p)=>n.jsxs(k,{className:`bg-background overflow-hidden group hover:shadow-xl transition-all duration-500 ${s.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,style:{transitionDelay:`${p*150}ms`},children:[n.jsxs("div",{className:"h-48 bg-muted flex items-center justify-center relative overflow-hidden",children:[n.jsx(v.icon,{className:"h-20 w-20 text-muted-foreground/30 group-hover:scale-110 transition-transform duration-500"}),n.jsx("div",{className:"absolute top-4 right-4 px-2 py-1 rounded text-xs font-mono bg-primary text-primary-foreground",children:v.location})]}),n.jsxs(C,{className:"p-6",children:[n.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:v.name}),n.jsx("p",{className:"text-sm text-muted-foreground",children:v.description})]})]},v.name))}),n.jsx("div",{className:`text-center mt-12 transition-all duration-700 delay-500 ${s.isVisible?"opacity-100":"opacity-0"}`,children:n.jsx($,{variant:"link",className:"font-mono text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},onClick:()=>window.open("https://www.ideastatica.com/case-studies","_blank"),children:"Ver más casos de estudio â"})})]})}),n.jsx("section",{ref:a.ref,className:"bg-secondary py-20 lg:py-28",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[n.jsx("div",{className:`order-2 lg:order-1 transition-all duration-700 ${a.isVisible?"opacity-100 translate-x-0":"opacity-0 -translate-x-8"}`,children:n.jsxs("div",{className:"relative rounded-xl overflow-hidden bg-muted",children:[n.jsx("video",{className:"w-full aspect-video object-cover",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:n.jsx("source",{src:LN,type:"video/mp4"})}),n.jsx("div",{className:"absolute bottom-4 left-4 bg-foreground
443/90 px-3 py-1 rounded",children:n.jsx("span",{className:"text-xs font-mono text-background",children:"IDEA StatiCa Checkbot"})})]})}),n.jsxs("div",{className:`order-1 lg:order-2 space-y-8 transition-all duration-700 delay-200 ${a.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("div",{className:"inline-flex items-center gap-2",children:[n.jsx(Nr,{className:"h-5 w-5 text-primary"}),n.jsx("span",{className:"text-sm font-mono uppercase tracking-widest text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"Flujo BIM"})]}),n.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-foreground leading-tight",children:"El fin de la doble entrada de datos"}),n.jsxs("p",{className:"text-lg text-muted-foreground leading-relaxed",children:["Tu tiempo vale demasiado para modelar dos veces. Conecta ",n.jsx("strong",{className:"text-foreground",children:"Checkbot"})," con Tekla, Revit, SAP2000, ETABS o Robot. Importa cientos de nudos y califÃcalos por lotes (",n.jsx("strong",{className:"text-foreground",children:"Batch Design"}),")."]}),n.jsx("div",{className:"flex flex-wrap gap-3",children:["Tekla Structures","Revit","SAP2000","ETABS","Robot","Advance Steel"].map(v=>n.jsx("span",{className:"px-4 py-2 bg-muted rounded-full text-sm font-mono text-foreground",children:v},v))}),n.jsxs($,{size:"lg",className:"bg-primary text-primary-foreground font-bold shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105",onClick:()=>window.open("https://www.ideastatica.com/bim","_blank"),children:[n.jsx(Xr,{className:"mr-2 h-5 w-5"}),"Ver Integraciones BIM"]})]})]})})}),n.jsx("section",{ref:i.ref,className:"bg-background py-20 lg:py-28",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsxs("div",{className:`text-center mb-16 transition-all duration-700 ${i.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("div",{className:"inline-flex items-center gap-2 mb-4",children:[n.jsx(as,{className:"h-5 w-5 text-primary"}),n.jsx("span",{className:"text-sm font-mono uppercase tracking-widest text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"ROI"})]}),n.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-foreground mb-4",children:"Argumentos para tu Director Financiero"}),n.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Datos reales de productividad. Sin marketing, solo números."})]}),n.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:f.map((v,p)=>n.jsx(k,{className:`bg-muted text-center transition-all duration-500 ${i.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,style:{transitionDelay:`${p*100}ms`},children:n.jsxs(C,{className:"p-8",ref:v.hookResult.ref,children:[n.jsxs("p",{className:"text-4xl lg:text-5xl font-mono font-bold mb-2 text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:[v.hookResult.displayValue,v.suffix]}),n.jsx("p",{className:"text-sm text-muted-foreground",children:v.label})]})},v.label))})]})}),n.jsx("section",{ref:o.ref,className:"bg-secondary py-20 lg:py-28",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:`max-w-4xl mx-auto text-center space-y-8 transition-all duration-700 ${o.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold leading-tight text-foreground",children:["¿Vas a seguir ",n.jsx("span",{className:"italic",children:"'suponiendo'"})," o vas a empezar a"," ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"calcular"}),"?"]}),n.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"14 dÃas de licencia completa. Sin limitaciones. Sin tarjeta de crédito."}),n.jsxs($,{size:"xl",className:"bg-primary text-primary-foreground font-bold text-lg px-12 py-6 shadow-2xl hover:shadow-xl transition-all duration-300 hover:scale-105 animate-pulse-glow",onClick:()=>window.open("https://www.construsoft.com/solicitar-demo","_blank"),children:["Prueba la Licencia Completa - 14 DÃas",n.jsx(Te,{className:"ml-3 h-6 w-6"})]}),n.jsx("p",{className:"text-sm font-mono text-muted-foreground pt-4",children:"Compatible con Eurocódigo (EN), AISC (USA), y normas locales."}),n.jsxs("div",{className:"flex items-center justify-center gap-8 pt-8 opacity-70",children:[n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"h-8"}),n.jsx("img",{src:Fd,alt:"Construsoft",className:"h-6"})]})]})})})]})},b6=()=>{const t=ne(.1),e=ne(.1),r=ne(.1),[s,a]=x.useState({nombre:"",email:"",empresa:"",cargo:""}),[i,o]=x.useState(!1),[l,c]=x.useState(!1),d=v=>{a(p=>({...p,[v.target.name]:v.target.value}))},u=v=>{v.preventDefault(),o(!0),setTimeout(()=>{o(!1),c(!0)},1500)},m=()=>{var v;(v=document.getElementById("masterclass-form"))==null||v.scrollIntoView({behavior:"smooth"})},h=[{icon:Nr,title:"GeometrÃas Irregulares",description:"Las simplificaciones manuales en ménsulas y apoyos ya no son suficientes para la normativa actual."},{icon:op,title:"Regiones D CrÃticas",description:"Las zonas de discontinuidad y concentración de cargas requieren un análisis avanzado que el 2D simple ignora."},{icon:iE,title:"Desconexión BIM",description:"La falta de trazabilidad entre el modelo de cálculo y el de fabricación genera errores costosos en planta."}],f=[{icon:as,text:"Cómo garantizar la seguridad estructural y el cumplimiento normativo en elementos complejos."},{icon:Ow,text:"Flujos de trabajo para pasar de modelos 2D a entornos 3D integrados."},{icon:UC,text:"Casos de uso reales: Vigas pretensadas y detalles de uniones."}];return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx("header",{className:"bg-background border-b border-border py-4",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsx("img",{src:es,alt:"Construsoft",className:"h-7 sm:h-8"})})}),n.jsx("section",{ref:t.ref,id:"hero-section",className:"bg-secondary py-12 sm:py-16 lg:py-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:`grid lg:grid-cols-12 gap-8 lg:gap-12 items-start transition-all duration-700 ${t.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("div",{className:"lg:col-span-7 space-y-6",children:[n.jsx("span",{className:"inline-block bg-primary/20 text-primary-foreground px-3 py-1 rounded-full text-xs sm:text-sm font-semibold uppercase tracking-wider border border-primary/40",children:n.jsx("span",{className:"text-primary font-bold",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"Masterclass Técnica"})}),n.jsxs("h1",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground",children:["Diseño Avanzado de Hormigón Prefabricado: Domina las"," ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"Regiones D"})," ","y el Análisis 3D"]}),n.jsx("p",{className:"text-base sm:text-lg text-muted-foreground leading-relaxed max-w-2xl",children:"Descubre cómo resolver los desafÃos técnicos en ménsulas, apoyos discontinuos y uniones crÃticas mediante modelos bidimensionales precisos y entornos tridimensionales integrados."}),n.jsx("div",{className:"lg:hidden",children:n.jsxs($,{onClick:m,className:"bg-primary hover:bg-primary/90 text-primary-foreground font-bold px-6 py-5 text-base rounded-[4px] w-full animate-pulse-glow",children:["Acceder a la Grabación",n.jsx(Te,{className:"ml-2 h-5 w-5"})]})}),n.jsxs("ul",{className:"space-y-3 sm:space-y-4 pt-2",children:[n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground text-sm sm:text-base",children:"Análisis de seguridad en zonas crÃticas (Regiones D)."})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground text-sm sm:text-base",children:"Modelado realista de vigas pretensadas."})]}),n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(K,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),n.jsx("span",{className:"text-foreground text-sm sm:text-base",children:"Integración BIM para construcción industrializada."})]})]})]}),n.jsx("div",{className:"lg:col-span-5 lg:sticky lg:top-8",id:"masterclass-form",children:n.jsx(k,{className:"bg-background border-0 shadow-xl rounded-2xl",children:n.jsx(C,{className:"p-6 sm:p-8",children:l?n.jsxs("div",{className:"text-center py-8 space-y-4",children:[n.jsx(K,{className:"h-16 w-16 text-primary mx-auto"}),n.jsx("h3",{className:"text-xl font-bold text-foreground",children:"¡Registro completado!"}),n.jsx("p",{className:"text-muted-foreground text-sm",children:"En breve recibirás el enlace de acceso a la Masterclass en tu correo."})]}):n.jsxs(n.Fragment,{children:[n.jsx("h3",{className:"text-xl sm:text-2xl font-bold text-foreground mb-6 text-center",children:"Acceder a la Grabación Ahora"}),n.jsxs("form",{onSubmit:u,className:"space-y-4",children:[n.jsxs("div",{children:[n.jsx(At,{htmlFor:"nombre",className:"text-foreground text-sm font-medium",children:"Nombre"}),n.jsx(nt,{id:"nombre",name:"nombre",type:"text",required:!0,value:s.nombre,onChange:d,className:"mt-1 bg-background border-border",placeholder:"Tu nombre completo"})]}),n.jsxs("div",{children:[n.jsx(At,{htmlFor:"email",className:"text-foreground text-sm font-medium",children:"Email Corporativo"}),n.jsx(nt,{id:"email",name:"email",type:"email",required:!0,value:s.email,onChange:d,className:"mt-1 bg-background border-border",placeholder:"[email protected]"})]}),n.jsxs("div",{children:[n.jsx(At,{htmlFor:"empresa",className:"text-foreground text-sm font-medium",children:"Empresa"}),n.jsx(nt,{id:"empresa",name:"empresa",type:"text",required:!0,value:s.empresa,onChange:d,className:"mt-1 bg-background border-border",placeholder:"Nombre de la empresa"})]}),n.jsxs("div",{children:[n.jsx(At,{htmlFor:"cargo",className:"text-foreground text-sm font-medium",children:"Cargo"}),n.jsx(nt,{id:"cargo",name:"cargo",type:"text",required:!0,value:s.cargo,onChange:d,className:"mt-1 bg-background border-border",placeholder:"Ingeniero Estructural, etc."})]}),n.jsxs($,{type:"submit",disabled:i,className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground font-bold py-5 text-base rounded-[4px] animate-pulse-glow",children:[i?"Enviando...":"Ver Masterclass Ahora",!i&&n.jsx(Te,{className:"ml-2 h-5 w-5"})]}),n.jsx("p",{className:"text-center text-xs text-muted-foreground pt-1",children:"Acceso inmediato y gratuito"})]})]})})})})]})})}),n.jsx("section",{ref:e.ref,className:"py-16 sm:py-20 lg:py-24 bg-muted/40",children:n.jsxs("div",{className:"container mx-auto px-4",children:[n.jsx("div",{className:`text-center mb-12 sm:mb-16 transition-all duration-700 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-foreground mb-4",children:"¿Por qué fallan los cálculos convencionales en prefabricados?"})}),n.jsx("div",{className:`grid sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8 transition-all duration-700 delay-200 ${e.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:h.map((v,p)=>n.jsx(k,{className:"bg-muted border-0 shadow-lg hover:shadow-xl transition-shadow",children:n.jsxs(C,{className:"p-6 sm:p-8",children:[n.jsx("div",{className:"w-12 h-12 sm:w-14 sm:h-14 bg-background rounded-lg flex items-center justify-center mb-4 sm:mb-6",children:n.jsx(v.icon,{className:"h-6 w-6 sm:h-7 sm:w-7 text-primary"})}),n.jsx("h3",{className:"text-lg sm:text-xl font-bold text-foreground mb-3",children:v.title}),n.jsx("p",{className:"text-muted-foreground text-sm sm:text-base leading-relaxed",children:v.description})]})},p))})]})}),n.jsx("section",{ref:r.ref,className:"py-16 sm:py-20 lg:py-24 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:`grid lg:grid-cols-2 gap-10 lg:gap-16 items-center transition-all duration-700 ${r.isVisible?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[n.jsxs("div",{className:"space-y-6 sm:space-y-8",children:[n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-foreground leading-tight",children:"Qué aprenderás en esta sesión"}),n.jsx("ul",{className:"space-y-5 sm:space-y-6",children:f.map((v,p)=>n.jsxs("li",{className:"flex items-start gap-4",children:[n.jsx("div",{className:"w-10 h-10 bg-muted rounded-lg flex items-center justify-center flex-shrink-0",children:n.jsx(v.icon,{className:"h-5 w-5 text-primary"})}),n.jsx("span",{className:"text-foreground text-base sm:text-lg pt-1.5",children:v.text})]},p))}),n.jsxs($,{onClick:m,className:"bg-primary hover:bg-primary/90 text-primary-foreground font-bold px-6 sm:px-8 py-5 sm:py-6 text-base sm:text-lg rounded-[4px] transition-all hover:scale-105 w-full sm:w-auto animate-pulse-glow",children:["Ver Masterclass Ahora",n.jsx(Te,{className:"ml-2 h-5 w-5"})]})]}),n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"rounded-lg overflow-hidden shadow-xl border border-muted",children:n.jsx("img",{src:SN,alt:"Análisis de elementos finitos en viga pretensada con mapa de tensiones",className:"w-full h-auto",loading:"lazy"})}),n.jsx("div",{className:"mt-4 rounded-lg overflow-hidden shadow-xl border border-muted",children:n.jsx("img",{src:Do,alt:"Modelo 3D de cálculo estructural con IDEA StatiCa Detail",className:"w-full h-auto",loading:"lazy"})})]})]})})}),n.jsx("footer",{className:"bg-foreground text-background py-8",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-4",children:[n.jsx("img",{src:es,alt:"Construsoft",className:"h-6 brightness-0 invert"}),n.jsxs("p",{className:"text-background/60 text-xs sm:text-sm text-center",children:["© ",new Date().getFullYear()," Construsoft. Todos los derechos reservados."]}),n.jsxs("div",{className:"flex gap-4 text-xs text-background/50",children:[n.jsx("a",{href:"#",className:"hover:text-background/80 transition-colors",children:"PolÃtica de Privacidad"}),n.jsx("a",{href:"#",className:"hover:text-background/80 transition-colors",children:"Aviso Legal"})]})]})})})]})},w6=()=>{const[t,e]=x.useState(!1),[r,s]=x.useState(!0),[a,i]=x.useState(!0),[o,l]=x.useState(!1),[c,d]=x.useState(!1),[u,m]=x.useState(0),h=x.useRef(null),[f,v]=x.useState({nombre:"",email:"",empresa:"",telefono:""}),p=ne(),w=ne(),b=ne(),g=ne(),y=60,j=x.useRef(null),N=()=>{var A;(A=j.current)==null||A.scrollIntoView({behavior:"smooth",block:"center"})};x.useEffect(()=>{const A=setInterval(()=>{h.current&&h.current.getCurrentTime()>=y&&!t&&e(!0)},1e3);return()=>clearInterval(A)},[t]);const S=A=>{h.current=A.target},_=()=>
443{h.current&&(h.current.seekTo(0),h.current.unMute(),h.current.playVideo(),s(!1),i(!1),e(!1))},E=()=>{if(h.current&&!a&&!o){const A=h.current.getCurrentTime();h.current.pauseVideo(),l(!0),d(!0),m(A)}},T=()=>{h.current&&(h.current.playVideo(),l(!1),d(!1))},O=()=>{h.current&&(h.current.seekTo(0),h.current.playVideo(),l(!1),d(!1),e(!1))},B=A=>{A.preventDefault(),console.log("Lead captured:",f),alert("¡Gracias! Te enviaremos la información a tu correo.")},D=[{nombre:"Diego Fernández",puesto:"Ingeniero Industrial",empresa:"Construcciones Metálicas Los Blancos",testimonio:"El curso de IDEA StatiCa es completo, dinámico y bien estructurado; te permite calcular cualquier unión. El equipo docente está altamente cualificado y siempre disponible.",avatar:_N},{nombre:"Francisco Anés",puesto:"Ingeniero Industrial",empresa:"Estructuras Metálicas BAYO",testimonio:"Este curso es imprescindible para manejar Idea Statica. Permite asentar las bases para calcular cualquier unión con garantÃas, gracias al gran desarrollo teórico, práctico y al apoyo docente.",avatar:kN},{nombre:"Rosa Parramon",puesto:"Structural Engineer",empresa:"TechnipFMC",testimonio:"Este curso de Idea es una magnÃfica oportunidad para calcular uniones complejas. Los tutoriales están bien explicados y las actividades prueban casos reales.",avatar:CN},{nombre:"Sergio Merino",puesto:"Ingeniero",empresa:"Deltana IngenierÃa",testimonio:"Curso muy útil y práctico, con información bien estructurada. Se aprende a usar todos los aspectos del programa, desde modelado a cálculo. Muy recomendable.",avatar:EN},{nombre:"Waldir Valero",puesto:"Jefe oficina técnica",empresa:"TECKTOMETAL",testimonio:"El curso ha sido desarrollado de la mejor manera. Me ayudó a comprender el uso del software y ahora podré utilizarlo en los problemas que se me presenten.",avatar:AN}],G=[{nombre:"Acciona",logo:Jc},{nombre:"Edyce",logo:Xc},{nombre:"FHECOR",logo:ed},{nombre:"SENER",logo:td},{nombre:"GarcÃa Vega",logo:zh},{nombre:"ArcelorMittal",logo:Uj}];return n.jsxs("div",{className:"min-h-screen bg-[#f7f5ee]",children:[n.jsx("header",{className:"fixed top-0 left-0 right-0 z-50 bg-[#f7f5ee]/90 backdrop-blur-sm border-b border-border/30",children:n.jsxs("div",{className:"container mx-auto px-4 py-3 flex items-center justify-between max-w-6xl",children:[n.jsx("img",{src:es,alt:"Construsoft",className:"h-7 md:h-9"}),n.jsx($,{variant:"cta",size:"sm",className:"text-xs md:text-sm",onClick:N,children:"Solicitar Demo Gratuita"})]})}),n.jsx("section",{className:"pt-20 pb-6 md:pt-28 md:pb-10",children:n.jsxs("div",{className:"container mx-auto px-4 max-w-5xl text-center",children:[n.jsx("div",{className:"inline-block bg-primary/20 text-foreground text-xs md:text-sm font-semibold px-4 py-1.5 rounded-full mb-4 uppercase tracking-wide",children:"Masterclass con David Acevedo"}),n.jsxs("h1",{className:"text-2xl sm:text-3xl md:text-5xl lg:text-[3.4rem] font-bold text-foreground mb-4 md:mb-6 leading-tight px-2",children:["Cómo Ahorrar Tiempo y Dinero en el"," ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"Cálculo de Uniones Metálicas"})]}),n.jsxs("p",{className:"text-base sm:text-lg md:text-xl text-muted-foreground mb-6 max-w-3xl mx-auto px-2",children:["Descubre el método que usan las principales ingenierÃas para calcular uniones de acero de forma ",n.jsx("span",{className:"font-semibold text-foreground",children:"más rápida, precisa y económica"})," con IDEA StatiCa."]}),n.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3 sm:gap-6 mb-6 text-sm md:text-base text-foreground",children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Ii,{className:"w-5 h-5 text-primary"}),n.jsx("span",{children:"Reduce un 70% el tiempo de cálculo"})]}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Ii,{className:"w-5 h-5 text-primary"}),n.jsx("span",{children:"Elimina errores manuales"})]}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Ii,{className:"w-5 h-5 text-primary"}),n.jsx("span",{children:"Cumple con normativa vigente"})]})]})]})}),n.jsx("section",{className:"py-0 md:py-2",children:n.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[n.jsx(k,{className:"border-2 border-primary/20 shadow-2xl overflow-hidden",children:n.jsx(C,{className:"p-0",children:n.jsxs("div",{className:"relative aspect-video bg-black",children:[n.jsx(ON,{videoId:"n56C7BGqvDI",onReady:S,opts:{width:"100%",height:"100%",playerVars:{autoplay:1,mute:1,modestbranding:1,rel:0,controls:0,playsinline:1,disablekb:1,fs:0,iv_load_policy:3}},className:"w-full h-full",style:{pointerEvents:"none"}}),!a&&r&&n.jsx("div",{className:"absolute inset-0 z-20",style:{pointerEvents:"auto"},onContextMenu:A=>A.preventDefault()}),!a&&!c&&!r&&n.jsx("div",{onClick:E,className:"absolute inset-0 z-30 cursor-pointer",onContextMenu:A=>A.preventDefault()}),a&&r&&n.jsx("div",{className:"absolute inset-0 z-40 flex items-center justify-center bg-black/40 backdrop-blur-sm cursor-pointer p-3",onClick:_,onContextMenu:A=>A.preventDefault(),children:n.jsx("div",{className:"bg-primary rounded-xl md:rounded-2xl p-5 md:p-12 max-w-[90%] md:max-w-md transition-all duration-300 hover:scale-105 hover:shadow-2xl border-2 border-white/20",children:n.jsxs("div",{className:"text-center animate-pulse",children:[n.jsx(Iw,{className:"w-12 h-12 md:w-20 md:h-20 mx-auto mb-2.5 md:mb-4 text-black"}),n.jsx("p",{className:"text-base md:text-2xl font-bold mb-1.5 md:mb-3 text-black leading-tight",children:"El video ya ha comenzado"}),n.jsx("p",{className:"text-sm md:text-lg text-black font-medium",children:"Toca aquà para escucharlo"})]})})}),c&&o&&n.jsx("div",{className:"absolute inset-0 z-40 flex items-center justify-center bg-black/40 backdrop-blur-sm p-3 overflow-y-auto",onContextMenu:A=>A.preventDefault(),children:n.jsx("div",{className:"bg-primary rounded-xl md:rounded-2xl p-4 md:p-10 max-w-[95%] md:max-w-xl w-full my-auto transition-all duration-300 border-2 border-white/20",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"bg-black/10 -mx-4 -mt-4 md:-mx-10 md:-mt-10 px-4 py-3 md:px-6 md:py-4 mb-4 md:mb-6 rounded-t-xl md:rounded-t-2xl border-b border-black/10",children:n.jsx("p",{className:"text-base md:text-lg font-bold text-black uppercase tracking-wide",children:"â ï¸ Mensaje Importante"})}),n.jsx("div",{className:"mb-4 md:mb-6 bg-black/5 rounded-lg md:rounded-xl p-3 md:p-5 border border-black/10",children:n.jsxs("p",{className:"text-sm md:text-lg text-black/90 leading-relaxed font-medium",children:["ð¡ Te invitamos a acabar este video. Es posible que ",n.jsx("span",{className:"font-bold",children:"no vuelva a aparecerte de nuevo."})," ¡No pierdas esta oportunidad!"]})}),n.jsxs("div",{className:"flex flex-col gap-2 md:gap-3",children:[n.jsx($,{onClick:T,size:"lg",className:"w-full bg-black text-white hover:bg-gray-800 text-xs md:text-lg py-3 md:py-6",children:"Seguir viendo donde lo dejé"}),n.jsx($,{onClick:O,size:"lg",variant:"outline",className:"w-full bg-white text-black hover:bg-gray-100 border-2 border-black text-xs md:text-lg py-3 md:py-6",children:"Verlo desde el inicio"})]})]})})})]})})}),t&&n.jsx("div",{className:"mt-6 sm:mt-8 animate-fade-in px-2",children:n.jsx($,{size:"xl",variant:"cta",className:"w-full text-base sm:text-lg md:text-xl py-6 sm:py-8 shadow-2xl",onClick:N,children:"ð¯ Quiero una demostración personalizada"})})]})}),n.jsx("section",{className:"py-10 md:py-14",children:n.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:n.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-6 md:gap-10 bg-white rounded-2xl p-6 md:p-10 shadow-sm border border-border/30",children:[n.jsx("img",{src:Xn,alt:"David Acevedo",className:"w-28 h-28 md:w-36 md:h-36 rounded-full object-cover border-4 border-primary/30 shadow-lg"}),n.jsxs("div",{children:[n.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground mb-1",children:"Tu presentador"}),n.jsx("h3",{className:"text-xl md:text-2xl font-bold text-foreground mb-2",children:"David Acevedo"}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground leading-relaxed",children:"Ingeniero estructural y especialista en IDEA StatiCa en Construsoft. Con años de experiencia ayudando a ingenierÃas a optimizar sus procesos de cálculo de uniones metálicas, David te mostrará cómo reducir drásticamente el tiempo y los costes en tus proyectos de acero."})]})]})})}),n.jsx("section",{className:"py-10 md:py-16 bg-[#ebf3f3]",children:n.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[n.jsxs("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-center mb-3 text-foreground",children:["¿Por qué necesitas"," ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"IDEA StatiCa"}),"?"]}),n.jsx("p",{className:"text-center text-muted-foreground mb-10 max-w-2xl mx-auto",children:"Los métodos tradicionales de cálculo manual ya no son suficientes para la complejidad de los proyectos actuales."}),n.jsx("div",{ref:p.ref,className:"grid md:grid-cols-3 gap-6",children:[{icon:n.jsx(xe,{className:"w-10 h-10 text-primary"}),titulo:"Ahorra hasta un 70% de tiempo",descripcion:"Automatiza el cálculo de uniones que antes requerÃan horas de trabajo manual con hojas de cálculo y normativa."},{icon:n.jsx(GC,{className:"w-10 h-10 text-primary"}),titulo:"Reduce costes de proyecto",descripcion:"Optimiza perfiles y uniones para usar solo el acero necesario. Menos material, menos coste, más margen."},{icon:n.jsx(Pw,{className:"w-10 h-10 text-primary"}),titulo:"Elimina errores de cálculo",descripcion:"Deja atrás las simplificaciones peligrosas. Calcula con modelos CBFEM que capturan el comportamiento real de la unión."}].map((A,W)=>n.jsxs(k,{className:`p-6 md:p-8 bg-white border-none shadow-md hover:shadow-lg transition-shadow ${p.isVisible?"animate-fade-in":"opacity-0"}`,style:{animationDelay:`${W*150}ms`},children:[n.jsx("div",{className:"mb-4",children:A.icon}),n.jsx("h3",{className:"text-lg md:text-xl font-bold text-foreground mb-2",children:A.titulo}),n.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:A.descripcion})]},W))})]})}),n.jsx("section",{className:"py-10 md:py-16 bg-[#f7f5ee]",children:n.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-center mb-10 text-foreground",children:"¿Qué vas a aprender en este video?"}),n.jsx("div",{className:"grid md:grid-cols-2 gap-4 md:gap-6",children:["Cómo modelar y calcular una unión metálica paso a paso con IDEA StatiCa","Interpretar los mapas de tensiones de Von Mise
443s para validar tu diseño","Flujo de trabajo BIM: del modelo global al detalle de la unión","Cómo justificar tus cálculos ante la propiedad y la dirección facultativa","Comparativa: método tradicional vs. método CBFEM en tiempo y precisión","Generar reportes profesionales listos para entregar al cliente"].map((A,W)=>n.jsxs("div",{className:"flex items-start gap-3 bg-white rounded-xl p-4 md:p-5 shadow-sm border border-border/20",children:[n.jsx("div",{className:"mt-0.5 flex-shrink-0",children:n.jsx(Ii,{className:"w-5 h-5 text-primary"})}),n.jsx("p",{className:"text-sm md:text-base text-foreground",children:A})]},W))})]})}),n.jsx("section",{className:"py-10 md:py-16 bg-[#ebf3f3]",children:n.jsxs("div",{className:"container mx-auto px-4 max-w-5xl text-center",children:[n.jsxs("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold mb-3 text-foreground",children:["Empresas que ya confÃan en"," ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"IDEA StatiCa"})]}),n.jsx("p",{className:"text-muted-foreground mb-10 max-w-2xl mx-auto",children:"Las ingenierÃas lÃderes en España y Latinoamérica utilizan IDEA StatiCa para sus proyectos más exigentes."}),n.jsx("div",{ref:b.ref,className:"grid grid-cols-3 md:grid-cols-6 gap-6 items-center justify-items-center",children:G.map((A,W)=>n.jsx("div",{className:`bg-white rounded-xl p-4 shadow-sm w-full flex items-center justify-center h-20 ${b.isVisible?"animate-fade-in":"opacity-0"}`,style:{animationDelay:`${W*100}ms`},children:n.jsx("img",{src:A.logo,alt:A.nombre,className:"max-h-10 max-w-full object-contain grayscale hover:grayscale-0 transition-all"})},W))})]})}),n.jsx("section",{className:"py-10 sm:py-12 md:py-16 bg-[#f7f5ee]",children:n.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-center mb-8 sm:mb-10 md:mb-12 text-foreground",children:"¿Qué dicen nuestros usuarios?"}),n.jsx("div",{ref:w.ref,className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-6",children:D.slice(0,3).map((A,W)=>n.jsxs("div",{className:`rounded-2xl p-6 shadow-sm hover:shadow-md transition-all flex flex-col bg-white ${w.isVisible?"animate-fade-in":"opacity-0"}`,style:{animationDelay:`${W*150}ms`},children:[n.jsx("div",{className:"flex justify-center mb-4",children:n.jsx("div",{className:"w-20 h-20 rounded-full bg-muted overflow-hidden",children:n.jsx("img",{src:A.avatar,alt:A.nombre,className:"w-full h-full object-cover"})})}),n.jsxs("p",{className:"text-muted-foreground mb-4 leading-relaxed text-sm flex-1",children:['"',A.testimonio,'"']}),n.jsxs("div",{className:"text-center",children:[n.jsx("p",{className:"font-bold text-foreground",children:A.nombre}),n.jsxs("p",{className:"text-xs text-muted-foreground",children:[A.puesto," - ",A.empresa]})]})]},W))}),n.jsx("div",{className:"grid md:grid-cols-2 gap-6 max-w-3xl mx-auto",children:D.slice(3,5).map((A,W)=>n.jsxs("div",{className:`rounded-2xl p-6 shadow-sm hover:shadow-md transition-all flex flex-col bg-white ${w.isVisible?"animate-fade-in":"opacity-0"}`,style:{animationDelay:`${(W+3)*150}ms`},children:[n.jsx("div",{className:"flex justify-center mb-4",children:n.jsx("div",{className:"w-20 h-20 rounded-full bg-muted overflow-hidden",children:n.jsx("img",{src:A.avatar,alt:A.nombre,className:"w-full h-full object-cover"})})}),n.jsxs("p",{className:"text-muted-foreground mb-4 leading-relaxed text-sm flex-1",children:['"',A.testimonio,'"']}),n.jsxs("div",{className:"text-center",children:[n.jsx("p",{className:"font-bold text-foreground",children:A.nombre}),n.jsxs("p",{className:"text-xs text-muted-foreground",children:[A.puesto," - ",A.empresa]})]})]},W))})]})}),n.jsx("section",{className:"py-12 md:py-20 bg-[#ebf3f3]",id:"contacto",children:n.jsx("div",{className:"container mx-auto px-4 max-w-5xl",children:n.jsxs("div",{className:"grid md:grid-cols-2 gap-8 md:gap-12 items-center",children:[n.jsxs("div",{children:[n.jsxs("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-foreground mb-4",children:["¿Listo para transformar tu forma de"," ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8)"},children:"calcular"}),"?"]}),n.jsx("p",{className:"text-muted-foreground mb-6 leading-relaxed",children:"Solicita una demostración personalizada y descubre cómo IDEA StatiCa puede ahorrarte horas de trabajo en cada proyecto."}),n.jsx("div",{className:"space-y-4",children:["Demostración gratuita y sin compromiso","Adaptada a tus proyectos reales","Con un ingeniero especialista de Construsoft"].map((A,W)=>n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"w-6 h-6 rounded-full bg-primary flex items-center justify-center flex-shrink-0",children:n.jsx(Ii,{className:"w-4 h-4 text-primary-foreground"})}),n.jsx("span",{className:"text-sm md:text-base text-foreground",children:A})]},W))}),n.jsxs("div",{className:"mt-8 flex items-center gap-4",children:[n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"h-8 opacity-70"}),n.jsx("img",{src:es,alt:"Construsoft",className:"h-6 opacity-70"})]})]}),n.jsx("div",{ref:j,children:n.jsx(k,{className:`shadow-xl border-2 border-primary/20 ${g.isVisible?"animate-fade-in":"opacity-0"}`,children:n.jsx("div",{ref:g.ref,children:n.jsxs(C,{className:"p-6 md:p-8",children:[n.jsx("h3",{className:"text-xl md:text-2xl font-bold text-foreground mb-1 text-center",children:"Solicita tu Demo Gratuita"}),n.jsx("p",{className:"text-sm text-muted-foreground mb-6 text-center",children:"Te contactaremos en menos de 24 horas"}),n.jsxs("form",{onSubmit:B,className:"space-y-4",children:[n.jsx("div",{children:n.jsx(nt,{placeholder:"Nombre completo",value:f.nombre,onChange:A=>v({...f,nombre:A.target.value}),required:!0,className:"bg-background"})}),n.jsx("div",{children:n.jsx(nt,{type:"email",placeholder:"Email corporativo",value:f.email,onChange:A=>v({...f,email:A.target.value}),required:!0,className:"bg-background"})}),n.jsx("div",{children:n.jsx(nt,{placeholder:"Empresa",value:f.empresa,onChange:A=>v({...f,empresa:A.target.value}),required:!0,className:"bg-background"})}),n.jsx("div",{children:n.jsx(nt,{type:"tel",placeholder:"Teléfono (opcional)",value:f.telefono,onChange:A=>v({...f,telefono:A.target.value}),className:"bg-background"})}),n.jsxs($,{type:"submit",variant:"cta",size:"xl",className:"w-full text-base md:text-lg py-6",children:["Solicitar Demo Gratuita",n.jsx(Te,{className:"w-5 h-5 ml-2"})]}),n.jsx("p",{className:"text-xs text-muted-foreground text-center",children:"ð Tus datos están seguros. Sin spam, sin compromiso."})]})]})})})})]})})}),t&&n.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-50 p-3 bg-[#f7f5ee]/95 backdrop-blur-sm border-t border-border/30 md:hidden",children:n.jsx($,{variant:"cta",size:"lg",className:"w-full text-sm py-5",onClick:N,children:"ð¯ Solicitar Demo Gratuita"})}),n.jsx("footer",{className:"py-8 border-t border-border bg-[#f7f5ee]",children:n.jsxs("div",{className:"container mx-auto px-4 text-center",children:[n.jsx("img",{src:es,alt:"Construsoft",className:"h-6 mx-auto mb-4 opacity-70"}),n.jsxs("p",{className:"text-sm text-muted-foreground",children:["© ",new Date().getFullYear()," Construsoft. Todos los derechos reservados."]}),n.jsxs("div",{className:"mt-2 flex items-center justify-center gap-4 text-xs text-muted-foreground",children:[n.jsx("a",{href:"#",className:"hover:underline",children:"PolÃtica de Privacidad"}),n.jsx("span",{children:"·"}),n.jsx("a",{href:"#",className:"hover:underline",children:"Aviso Legal"})]})]})})]})},Ku="https://attendee.gotowebinar.com/register/PLACEHOLDER",j6=()=>{const t=()=>{var e;(e=document.getElementById("registro"))==null||e.scrollIntoView({behavior:"smooth"})};return n.jsxs("div",{className:"min-h-screen bg-background",children:[n.jsx(Jn,{onClick:t}),n.jsxs("section",{className:"relative overflow-hidden min-h-[90vh] flex items-center",children:[n.jsxs("div",{className:"absolute inset-0",children:[n.jsx("img",{src:rl,alt:"Webinar IDEA StatiCa Checkbot - Diseño de placas de fundación",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),n.jsx("div",{className:"container mx-auto px-4 py-20 relative z-10",children:n.jsxs("div",{className:"max-w-5xl",children:[n.jsx("div",{className:"inline-flex items-center gap-2 mb-6 px-4 py-2 bg-primary rounded-full",children:n.jsx("span",{className:"text-sm font-semibold text-primary-foreground",children:"⨠Webinar Gratuito"})}),n.jsxs("h1",{className:"text-5xl md:text-7xl font-bold mb-6 leading-tight max-w-4xl",children:[n.jsx("span",{className:"text-white",children:"Diseño de Placas de Fundación y Pedestales"})," ",n.jsx("span",{className:"text-primary",style:{textShadow:"1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8)"},children:"con IDEA StatiCa"})]}),n.jsx("p",{className:"text-lg md:text-xl text-white/90 mb-6 md:mb-10 max-w-2xl",children:"Domina el flujo completo: desde la exportación del modelo de acero con Checkbot, hasta el diseño de la conexión en Connection y el detalle del pedestal en Detail."}),n.jsx("div",{className:"mb-6 md:hidden",children:n.jsx($,{onClick:()=>window.open(Ku,"_blank"),variant:"cta",size:"xl",className:"w-full text-base",children:"Reserva tu Plaza Gratuita â"})}),n.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 md:gap-4 mb-8 max-w-3xl",children:[n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Yn,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"Fecha por confirmar"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Próximamente"})]})}),n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(xe,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"17:00h (España)"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"10:00h (Colombia)"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"09:00h (Costa Rica)"})]})}),n.jsx(k,{className:"bg-background border-border",children:n.jsxs(C,{className:"pt-4 pb-4 md:pt-6 md:pb-6",children:[n.jsx(Ot,{className:"h-5 w-5 md:h-6 md:w-6 text-primary mb-2 md:mb-3"}),n.jsx("p",{className:"font-bold text-foreground text-sm md:text-base mb-1",children:"Online y Gratuito"}),n.jsx("p",{className:"text-xs md:text-sm text-muted-foreground",children:"Plazas limitadas"})]})})]}),n.jsx("div",{className:"hidden md:flex flex-col sm:flex-row gap-3 md:gap-4 mb-6",children:n.jsx($,{onClick:()=>window.open(Ku,"_blank"),variant:"cta",size:"xl",className:"w-full sm:w-auto
443sm:min-w-[280px] text-base md:text-lg",children:"Reserva tu Plaza Gratuita â"})}),n.jsxs("div",{className:"flex items-center gap-2 text-xs md:text-sm text-white/80",children:[n.jsx("span",{className:"text-sm md:text-base",children:"ð"}),n.jsx("span",{children:"Registro 100% seguro · Sin compromiso · Confirmación inmediata"})]})]})})]}),n.jsx("section",{className:"py-12 md:py-20 bg-secondary/30",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"¿Qué Aprenderás en Este Webinar?"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Un recorrido completo por el diseño de placas de fundación y pedestales de hormigón armado"}),n.jsx("div",{className:"grid md:grid-cols-2 gap-4 md:gap-8",children:[{icon:FC,title:"Flujo Completo de Diseño",desc:"Comprende el proceso integral para el diseño de una placa de fundación: desde el modelo de acero hasta el detalle de hormigón armado."},{icon:Jo,title:"Exportación a Checkbot",desc:"Exporta un modelo real de una nave industrial a IDEA StatiCa Checkbot y organiza el proceso de revisión y diseño."},{icon:No,title:"Diseño en Connection",desc:"Modela, verifica y ajusta la conexión asociada a la placa de fundación, interpretando las verificaciones y criterios de diseño."},{icon:op,title:"Resolución de Problemas",desc:"Detecta y resuelve problemas habituales: inconsistencias de modelo, transferencia de cargas y configuración de resultados."},{icon:Bn,title:"Pedestal en Detail",desc:"Diseña el pedestal y el detalle de hormigón armado en IDEA StatiCa Detail, incorporando refuerzo y comprobaciones relevantes."},{icon:lh,title:"Documentación Técnica",desc:"Genera una salida técnica clara para documentación y coordinación del proyecto: resultados, reportes y criterios adoptados."}].map((e,r)=>n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow",children:n.jsx(C,{className:"pt-4 md:pt-6",children:n.jsxs("div",{className:"flex items-start gap-3 md:gap-4",children:[n.jsx("div",{className:"bg-primary/20 p-2 md:p-3 rounded-lg shrink-0",children:n.jsx(e.icon,{className:"h-5 w-5 md:h-6 md:w-6 text-primary"})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-foreground mb-2",children:e.title}),n.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:e.desc})]})]})})},r))})]})})}),n.jsx("section",{className:"py-12 md:py-20 bg-background",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Tu Instructor"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Aprende de un especialista en cálculo estructural con IDEA StatiCa"}),n.jsx("div",{className:"max-w-md mx-auto",children:n.jsx(k,{className:"border-border hover:shadow-lg transition-shadow bg-card",children:n.jsxs(C,{className:"pt-8 text-center",children:[n.jsx("img",{src:Xn,alt:"David Alejandro Acevedo - Consultor de cálculo en Construsoft",className:"w-48 h-auto mx-auto mb-6 rounded-lg"}),n.jsx("p",{className:"text-muted-foreground",children:"David te guiará paso a paso por el flujo completo de diseño, desde la exportación del modelo en Checkbot hasta el detalle del pedestal en Detail."})]})})})]})})}),n.jsx("section",{id:"programa",className:"py-12 md:py-20 bg-muted/30 scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-4xl mx-auto",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-center text-foreground mb-3 md:mb-4 px-4",children:"Programa del Webinar"}),n.jsx("p",{className:"text-center text-muted-foreground mb-8 md:mb-12 text-base md:text-lg px-4",children:"Contenido teórico-práctico con herramientas profesionales"}),n.jsx("div",{className:"space-y-4",children:[{time:"17:00",title:"Introducción y Contexto",desc:"Presentación del flujo de trabajo y objetivos del webinar"},{time:"17:15",title:"Exportación del Modelo a Checkbot",desc:"Exportar un modelo real de nave industrial a IDEA StatiCa Checkbot e iniciar el proceso de revisión"},{time:"17:45",title:"Diseño de la Conexión en Connection",desc:"Modelar, verificar y ajustar la conexión asociada a la placa de fundación con criterios de diseño"},{time:"18:15",title:"Problemas Comunes y Resolución",desc:"Inconsistencias de modelo, transferencia de cargas y configuración de resultados â cómo evitar iteraciones innecesarias"},{time:"18:35",title:"Pedestal en Detail + Q&A",desc:"Diseño del pedestal de hormigón armado en IDEA StatiCa Detail, generación de reportes y sesión de preguntas"}].map((e,r)=>n.jsx(k,{className:"border-l-4 border-l-primary",children:n.jsx(C,{className:"pt-6",children:n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx(xe,{className:"h-6 w-6 text-primary shrink-0 mt-1"}),n.jsxs("div",{className:"flex-1",children:[n.jsxs("div",{className:"flex justify-between items-start mb-2",children:[n.jsx("h3",{className:"text-lg font-semibold text-foreground",children:e.title}),n.jsx("span",{className:"text-sm text-muted-foreground",children:e.time})]}),n.jsx("p",{className:"text-muted-foreground",children:e.desc})]})]})})},r))})]})})}),n.jsx("section",{id:"registro",className:"py-12 md:py-20 bg-gradient-to-br from-primary/10 to-background scroll-mt-20",children:n.jsx("div",{className:"container mx-auto px-4",children:n.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[n.jsx("h2",{className:"text-2xl md:text-3xl lg:text-5xl font-bold text-foreground mb-4 md:mb-6 px-4",children:"Reserva Tu Plaza Gratuita Ahora"}),n.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-6 md:mb-8 px-4",children:"Plazas limitadas. Aprende a diseñar placas de fundación y pedestales con las herramientas más avanzadas del mercado."}),n.jsx(k,{className:"border-border shadow-xl",children:n.jsx(C,{className:"pt-8 pb-8",children:n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"pt-4",children:[n.jsx($,{onClick:()=>window.open(Ku,"_blank"),variant:"cta",size:"xl",className:"w-full md:w-auto min-w-[300px]",children:"InscrÃbete Ahora (100% Gratis)"}),n.jsx("p",{className:"text-sm text-muted-foreground mt-4",children:"â° Plazas limitadas â Confirma tu asistencia cuanto antes"})]}),n.jsxs("div",{className:"grid grid-cols-3 gap-4 pt-4 border-t",children:[n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"100%"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Gratuito"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"2h"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Duración"})]}),n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"text-2xl font-bold text-primary mb-1",children:"1"}),n.jsx("div",{className:"text-sm text-muted-foreground",children:"Experto"})]})]})]})})})]})})})]})};var Ne;(function(t){t.assertEqual=a=>{};function e(a){}t.assertIs=e;function r(a){throw new Error}t.assertNever=r,t.arrayToEnum=a=>{const i={};for(const o of a)i[o]=o;return i},t.getValidEnumValues=a=>{const i=t.objectKeys(a).filter(l=>typeof a[a[l]]!="number"),o={};for(const l of i)o[l]=a[l];return t.objectValues(o)},t.objectValues=a=>t.objectKeys(a).map(function(i){return a[i]}),t.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const i=[];for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&i.push(o);return i},t.find=(a,i)=>{for(const o of a)if(i(o))return o},t.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function s(a,i=" | "){return a.map(o=>
vendor: 1,156 bytes, line 443
443typeof o=="string"?`'${o}'`:o).join(i)}t.joinValues=s,t.jsonStringifyReplacer=(a,i)=>typeof i=="bigint"?i.toString():i})(Ne||(Ne={}));var Ly;(function(t){t.mergeShapes=(e,r)=>({...e,...r})})(Ly||(Ly={}));const Q=Ne.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ns=t=>{switch(typeof t){case"undefined":return Q.undefined;case"string":return Q.string;case"number":return Number.isNaN(t)?Q.nan:Q.number;case"boolean":return Q.boolean;case"function":return Q.function;case"bigint":return Q.bigint;case"symbol":return Q.symbol;case"object":return Array.isArray(t)?Q.array:t===null?Q.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?Q.promise:typeof Map<"u"&&t instanceof Map?Q.map:typeof Set<"u"&&t instanceof Set?Q.set:typeof Date<"u"&&t instanceof Date?Q.date:Q.object;default:return Q.unknown}},L=Ne.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invali
443d_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ls extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=s=>{this.issues=[...this.issues,s]},this.addIssues=(s=[])=>{this.issues=[...this.issues,...s]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=e}format(e){const r=e||function(i){return i.message},s={_errors:[]},a=i=>{for(const o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(a);else if(o.code==="invalid_return_type")a(o.returnTypeError);else if(o.code==="invalid_arguments")a(o.argumentsError);else if(o.path.length===0)s._errors.push(r(o));else{let l=s,c=0;for(;c<o.path.length;){const d=o.path[c];c===o.path.length-1?(l[d]=l[d]||{_errors:[]},l[d]._errors.push(r(o))):l[d]=l[d]||{_errors:[]},l=l[d],c++}}};return a(this),s}static assert(e){if(!(e instanceof ls))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ne.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=r=>r.message){const r={},s=[];for(const a of this.issues)if(a.path.length>0){const i=a.path[0];r[i]=r[i]||[],r[i].push(e(a))}else s.push(e(a));return{formErrors:s,fieldErrors:r}}get formErrors(){return this.flatten()}}ls.create=t=>new ls(t);const Bh=(t,e)=>{let r;switch(t.code){case L.invalid_type:t.received===Q.undefined?r="Required":r=`Expected ${t.expected}, received ${t.received}`;break;case L.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(t.expected,Ne.jsonStringifyReplacer)}`;break;case L.unrecognized_keys:r=`Unrecognized key(s) in object: ${Ne.joinValues(t.keys,", ")}`;break;case L.invalid_union:r="Invalid input";break;case L.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${Ne.joinValues(t.options)}`;break;case L.invalid_enum_value:r=`Invalid enum value. Expected ${Ne.joinValues(t.options)}, received '${t.received}'`;break;case L.invalid_arguments:r="Invalid function arguments";break;case L.invalid_return_type:r="Invalid function return type";break;case L.invalid_date:r="Invalid date";break;case L.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(r=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?r=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?r=`Invalid input: must end with "${t.validation.endsWith}"`:Ne.assertNever(t.validation):t.validation!=="regex"?r=`Invalid ${t.validation}`:r="Invalid";break;case L.too_small:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:r="Invalid input";break;case L.too_big:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?r=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:r="Invalid input";break;case L.custom:r="Invalid input";break;case L.invalid_intersection_types:r="Intersection results could not be merged";break;case L.not_multiple_of:r=`Number must be a multiple of ${t.multipleOf}`;break;case L.not_finite:r="Number must be finite";break;default:r=e.defaultError,Ne.assertNever(t)}return{message:r}};let N6=Bh;function S6(){return N6}const _6=t=>{const{data:e,path:r,errorMaps:s,issueData:a}=t,i=[...r,...a.path||[]],o={...a,path:i};if(a.message!==void 0)return{...a,path:i,message:a.message};let l="";const c=s.filter(d=>!!d).slice().reverse();for(const d of c)l=d(o,{data:e,defaultError:l}).message;return{...a,path:i,message:l}};function V(t,e){const r=S6(),s=_6({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,r,r===Bh?void 0:Bh].filter(a=>!!a)});t.common.issues.push(s)}class Vt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,r){const s=[];for(const a of r){if(a.status==="aborted")return ie;a.status==="dirty"&&e.dirty(),s.push(a.value)}return{status:e.value,value:s}}static async mergeObjectAsync(e,r){const s=[];for(const a of r){const i=await a.key,o=await a.value;s.push({key:i,value:o})}return Vt.mergeObjectSync(e,s)}static mergeObjectSync(e,r){const s={};for(const a of r){const{key:i,value:o}=a;if(i.status==="aborted"||o.status==="aborted")return ie;i.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||a.alwaysSet)&&(s[i.value]=o.value)}return{status:e.value,value:s}}}const ie=Object.freeze({status:"aborted"}),Ui=t=>({status:"dirty",value:t}),nr=t=>
vendor: 5,876 bytes, line 443
443({status:"valid",value:t}),zy=t=>t.status==="aborted",By=t=>t.status==="dirty",ci=t=>t.status==="valid",rd=t=>typeof Promise<"u"&&t instanceof Promise;var Y;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(Y||(Y={}));class Xs{constructor(e,r,s,a){this._cachedPath=[],this.parent=e,this.data=r,this._path=s,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Fy=(t,e)=>{if(ci(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new ls(t.common.issues);return this._error=r,this._error}}};function fe(t){if(!t)return{};const{errorMap:e,invalid_type_error:r,required_error:s,description:a}=t;if(e&&(r||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(o,l)=>{const{message:c}=t;return o.code==="invalid_enum_value"?{message:c??l.defaultError}:typeof l.data>"u"?{message:c??s??l.defaultError}:o.code!=="invalid_type"?{message:l.defaultError}:{message:c??r??l.defaultError}},description:a}}class be{get description(){return this._def.description}_getType(e){return Ns(e.data)}_getOrReturnCtx(e,r){return r||{common:e.parent.common,data:e.data,parsedType:Ns(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Vt,ctx:{common:e.parent.common,data:e.data,parsedType:Ns(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const r=this._parse(e);if(rd(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(e){const r=this._parse(e);return Promise.resolve(r)}parse(e,r){const s=this.safeParse(e,r);if(s.success)return s.data;throw s.error}safeParse(e,r){const s={common:{issues:[],async:(r==null?void 0:r.async)??!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ns(e)},a=this._parseSync({data:e,path:s.path,parent:s});return Fy(s,a)}"~validate"(e){var s,a;const r={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ns(e)};if(!this["~standard"].async)try{const i=this._parseSync({data:e,path:[],parent:r});return ci(i)?{value:i.value}:{issues:r.common.issues}}catch(i){(a=(s=i==null?void 0:i.message)==null?void 0:s.toLowerCase())!=null&&a.includes("encountered")&&(this["~standard"].async=!0),r.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:r}).then(i=>ci(i)?{value:i.value}:{issues:r.common.issues})}async parseAsync(e,r){const s=await this.safeParseAsync(e,r);if(s.success)return s.data;throw s.error}async safeParseAsync(e,r){const s={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ns(e)},a=this._parse({data:e,path:s.path,parent:s}),i=await(rd(a)?a:Promise.resolve(a));return Fy(s,i)}refine(e,r){const s=a=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(a):r;return this._refinement((a,i)=>{const o=e(a),l=()=>i.addIssue({code:L.custom,...s(a)});return typeof Promise<"u"&&o instanceof Promise?o.then(c=>c?!0:(l(),!1)):o?!0:(l(),!1)})}refinement(e,r){return this._refinement((s,a)=>e(s)?!0:(a.addIssue(typeof r=="function"?r(s,a):r),!1))}_refinement(e){return new ui({schema:this,typeName:oe.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,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),this["~standard"]={version:1,vendor:"zod",validate:r=>this["~validate"](r)}}optional(){return qs.create(this,this._def)}nullable(){return mi.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return zr.create(this)}promise(){return id.create(this,this._def)}or(e){return nd.create([this,e],this._def)}and(e){return ad.create(this,e,this._def)}transform(e){return new ui({...fe(this._def),schema:this,typeName:oe.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const r=typeof e=="function"?e:()=>e;return new $h({...fe(this._def),innerType:this,defaultValue:r,typeName:oe.ZodDefault})}brand(){return new Q6({typeName:oe.ZodBranded,type:this,...fe(this._def)})}catch(e){const r=typeof e=="function"?e:()=>e;return new Uh({...fe(this._def),innerType:this,catchValue:r,typeName:oe.ZodCatch})}describe(e){const r=this.constructor;return new r({...this._def,description:e})}pipe(e){return Hp.create(this,e)}readonly(){return Vh.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const k6=/^c[^\s-]{8,}
vendor: 4,386 bytes, line 443
443$/i,C6=/^[0-9a-z]+$/,E6=/^[0-9A-HJKMNP-TV-Z]{26}$/i,A6=/^[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,T6=/^[a-z0-9_-]{21}$/i,P6=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,R6=/^[-+]?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)?)??$/,I6=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,O6="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Zu;const D6=/^(?:(?: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])$/,M6=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,L6=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,z6=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,B6=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,F6=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,zN="((\\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])))",$6=new RegExp(`^${zN}$`);function BN(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);const r=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${r}`}function U6(t){return new RegExp(`^${BN(t)}$`)}function V6(t){let e=`${zN}T${BN(t)}`;const r=[];return r.push(t.local?"Z?":"Z"),t.offset&&r.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${r.join("|")})`,new RegExp(`^${e}$`)}function W6(t,e){return!!((e==="v4"||!e)&&D6.test(t)||(e==="v6"||!e)&&L6.test(t))}function H6(t,e){if(!P6.test(t))return!1;try{const[r]=t.split(".");if(!r)return!1;const s=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),a=JSON.parse(atob(s));return!(typeof a!="object"||a===null||"typ"in a&&(a==null?void 0:a.typ)!=="JWT"||!a.alg||e&&a.alg!==e)}catch{return!1}}function q6(t,e){return!!((e==="v4"||!e)&&M6.test(t)||(e==="v6"||!e)&&z6.test(t))}class Ms extends be{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Q.string){const i=this._getOrReturnCtx(e);return V(i,{code:L.invalid_type,expected:Q.string,received:i.parsedType}),ie}const s=new Vt;let a;for(const i of this._def.checks)if(i.kind==="min")e.data.length<i.value&&(a=this._getOrReturnCtx(e,a),V(a,{code:L.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),s.dirty());else if(i.kind==="max")e.data.length>i.value&&(a=this._getOrReturnCtx(e,a),V(a,{code:L.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),s.dirty());else if(i.kind==="length"){const o=e.data.length>i.value,l=e.data.length<i.value;(o||l)&&(a=this._getOrReturnCtx(e,a),o?V(a,{code:L.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}
vendor: 18,448 bytes, line 443
443):l&&V(a,{code:L.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),s.dirty())}else if(i.kind==="email")I6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"email",code:L.invalid_string,message:i.message}),s.dirty());else if(i.kind==="emoji")Zu||(Zu=new RegExp(O6,"u")),Zu.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"emoji",code:L.invalid_string,message:i.message}),s.dirty());else if(i.kind==="uuid")A6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"uuid",code:L.invalid_string,message:i.message}),s.dirty());else if(i.kind==="nanoid")T6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"nanoid",code:L.invalid_string,message:i.message}),s.dirty());else if(i.kind==="cuid")k6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"cuid",code:L.invalid_string,message:i.message}),s.dirty());else if(i.kind==="cuid2")C6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"cuid2",code:L.invalid_string,message:i.message}),s.dirty());else if(i.kind==="ulid")E6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"ulid",code:L.invalid_string,message:i.message}),s.dirty());else if(i.kind==="url")try{new URL(e.data)}catch{a=this._getOrReturnCtx(e,a),V(a,{validation:"url",code:L.invalid_string,message:i.message}),s.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"regex",code:L.invalid_string,message:i.message}),s.dirty())):i.kind==="trim"?e.data=e.data.trim():i.kind==="includes"?e.data.includes(i.value,i.position)||(a=this._getOrReturnCtx(e,a),V(a,{code:L.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),s.dirty()):i.kind==="toLowerCase"?e.data=e.data.toLowerCase():i.kind==="toUpperCase"?e.data=e.data.toUpperCase():i.kind==="startsWith"?e.data.startsWith(i.value)||(a=this._getOrReturnCtx(e,a),V(a,{code:L.invalid_string,validation:{startsWith:i.value},message:i.message}),s.dirty()):i.kind==="endsWith"?e.data.endsWith(i.value)||(a=this._getOrReturnCtx(e,a),V(a,{code:L.invalid_string,validation:{endsWith:i.value},message:i.message}),s.dirty()):i.kind==="datetime"?V6(i).test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{code:L.invalid_string,validation:"datetime",message:i.message}),s.dirty()):i.kind==="date"?$6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{code:L.invalid_string,validation:"date",message:i.message}),s.dirty()):i.kind==="time"?U6(i).test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{code:L.invalid_string,validation:"time",message:i.message}),s.dirty()):i.kind==="duration"?R6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"duration",code:L.invalid_string,message:i.message}),s.dirty()):i.kind==="ip"?W6(e.data,i.version)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"ip",code:L.invalid_string,message:i.message}),s.dirty()):i.kind==="jwt"?H6(e.data,i.alg)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"jwt",code:L.invalid_string,message:i.message}),s.dirty()):i.kind==="cidr"?q6(e.data,i.version)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"cidr",code:L.invalid_string,message:i.message}),s.dirty()):i.kind==="base64"?B6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"base64",code:L.invalid_string,message:i.message}),s.dirty()):i.kind==="base64url"?F6.test(e.data)||(a=this._getOrReturnCtx(e,a),V(a,{validation:"base64url",code:L.invalid_string,message:i.message}),s.dirty()):Ne.assertNever(i);return{status:s.value,value:e.data}}_regex(e,r,s){return this.refinement(a=>e.test(a),{validation:r,code:L.invalid_string,...Y.errToObj(s)})}_addCheck(e){return new Ms({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Y.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Y.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Y.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Y.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Y.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Y.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Y.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Y.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Y.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...Y.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...Y.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Y.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...Y.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(e==null?void 0:e.offset)??!1,local:(e==null?void 0:e.local)??!1,...Y.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...Y.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...Y.errToObj(e)})}regex(e,r){return this._addCheck({kind:"regex",regex:e,...Y.errToObj(r)})}includes(e,r){return this._addCheck({kind:"includes",value:e,position:r==null?void 0:r.position,...Y.errToObj(r==null?void 0:r.message)})}startsWith(e,r){return this._addCheck({kind:"startsWith",value:e,...Y.errToObj(r)})}endsWith(e,r){return this._addCheck({kind:"endsWith",value:e,...Y.errToObj(r)})}min(e,r){return this._addCheck({kind:"min",value:e,...Y.errToObj(r)})}max(e,r){return this._addCheck({kind:"max",value:e,...Y.errToObj(r)})}length(e,r){return this._addCheck({kind:"length",value:e,...Y.errToObj(r)})}nonempty(e){return this.min(1,Y.errToObj(e))}trim(){return new Ms({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ms({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ms({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxLength(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}}Ms.create=t=>new Ms({checks:[],typeName:oe.ZodString,coerce:(t==null?void 0:t.coerce)??!1,...fe(t)});function G6(t,e){const r=(t.toString().split(".")[1]||"").length,s=(e.toString().split(".")[1]||"").length,a=r>s?r:s,i=Number.parseInt(t.toFixed(a).replace(".","")),o=Number.parseInt(e.toFixed(a).replace(".",""));return i%o/10**a}class Mo extends be{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Q.number){const i=this._getOrReturnCtx(e);return V(i,{code:L.invalid_type,expected:Q.number,received:i.parsedType}),ie}let s;const a=new Vt;for(const i of this._def.checks)i.kind==="int"?Ne.isInteger(e.data)||(s=this._getOrReturnCtx(e,s),V(s,{code:L.invalid_type,expected:"integer",received:"float",message:i.message}),a.dirty()):i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(s=this._getOrReturnCtx(e,s),V(s,{code:L.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(s=this._getOrReturnCtx(e,s),V(s,{code:L.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="multipleOf"?G6(e.data,i.value)!==0&&(s=this._getOrReturnCtx(e,s),V(s,{code:L.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):i.kind==="finite"?Number.isFinite(e.data)||(s=this._getOrReturnCtx(e,s),V(s,{code:L.not_finite,message:i.message}),a.dirty()):Ne.assertNever(i);return{status:a.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,Y.toString(r))}gt(e,r){return this.setLimit("min",e,!1,Y.toString(r))}lte(e,r){return this.setLimit("max",e,!0,Y.toString(r))}lt(e,r){return this.setLimit("max",e,!1,Y.toString(r))}setLimit(e,r,s,a){return new Mo({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:s,message:Y.toString(a)}]})}_addCheck(e){return new Mo({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Y.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Y.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Y.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Y.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Y.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:Y.toString(r)})}finite(e){return this._addCheck({kind:"finite",message:Y.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Y.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Y.toString(e)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Ne.isInteger(e.value))}get isFinite(){let e=null,r=null;for(const s of this._def.checks){if(s.kind==="finite"||s.kind==="int"||s.kind==="multipleOf")return!0;s.kind==="min"?(r===null||s.value>r)&&(r=s.value):s.kind==="max"&&(e===null||s.value<e)&&(e=s.value)}return Number.isFinite(r)&&Number.isFinite(e)}}Mo.create=t=>new Mo({checks:[],typeName:oe.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...fe(t)});class Lo extends be{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==Q.bigint)return this._getInvalidInput(e);let s;const a=new Vt;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(s=this._getOrReturnCtx(e,s),V(s,{code:L.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(s=this._getOrReturnCtx(e,s),V(s,{code:L.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="multipleOf"?e.data%i.value!==BigInt(0)&&(s=this._getOrReturnCtx(e,s),V(s,{code:L.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):Ne.assertNever(i);return{status:a.value,value:e.data}}_getInvalidInput(e){const r=this._getOrReturnCtx(e);return V(r,{code:L.invalid_type,expected:Q.bigint,received:r.parsedType}),ie}gte(e,r){return this.setLimit("min",e,!0,Y.toString(r))}gt(e,r){return this.setLimit("min",e,!1,Y.toString(r))}lte(e,r){return this.setLimit("max",e,!0,Y.toString(r))}lt(e,r){return this.setLimit("max",e,!1,Y.toString(r))}setLimit(e,r,s,a){return new Lo({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:s,message:Y.toString(a)}]})}_addCheck(e){return new Lo({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Y.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Y.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Y.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Y.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:Y.toString(r)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}}Lo.create=t=>new Lo({checks:[],typeName:oe.ZodBigInt,coerce:(t==null?void 0:t.coerce)??!1,...fe(t)});class $y extends be{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Q.boolean){const s=this._getOrReturnCtx(e);return V(s,{code:L.invalid_type,expected:Q.boolean,received:s.parsedType}),ie}return nr(e.data)}}$y.create=t=>new $y({typeName:oe.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...fe(t)});class sd extends be{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Q.date){const i=this._getOrReturnCtx(e);return V(i,{code:L.invalid_type,expected:Q.date,received:i.parsedType}),ie}if(Number.isNaN(e.data.getTime())){const i=this._getOrReturnCtx(e);return V(i,{code:L.invalid_date}),ie}const s=new Vt;let a;for(const i of this._def.checks)i.kind==="min"?e.data.getTime()<i.value&&(a=this._getOrReturnCtx(e,a),V(a,{code:L.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),s.dirty()):i.kind==="max"?e.data.getTime()>i.value&&(a=this._getOrReturnCtx(e,a),V(a,{code:L.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),s.dirty()):Ne.assertNever(i);return{status:s.value,value:new Date(e.data.getTime())}}_addCheck(e){return new sd({...this._def,checks:[...this._def.checks,e]})}min(e,r){return this._addCheck({kind:"min",value:e.getTime(),message:Y.toString(r)})}max(e,r){return this._addCheck({kind:"max",value:e.getTime(),message:Y.toString(r)})}get minDate(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e!=null?new Date(e):null}}sd.create=t=>new sd({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:oe.ZodDate,...fe(t)});class Uy extends be{_parse(e){if(this._getType(e)!==Q.symbol){const s=this._getOrReturnCtx(e);return V(s,{code:L.invalid_type,expected:Q.symbol,received:s.parsedType}),ie}return nr(e.data)}}Uy.create=t=>new Uy({typeName:oe.ZodSymbol,...fe(t)});class Vy extends be{_parse(e){if(this._getType(e)!==Q.undefined){const s=this._getOrReturnCtx(e);return V(s,{code:L.invalid_type,expected:Q.undefined,received:s.parsedType}),ie}return nr(e.data)}}Vy.create=t=>new Vy({typeName:oe.ZodUndefined,...fe(t)});class Wy extends be{_parse(e){if(this._getType(e)!==Q.null){const s=this._getOrReturnCtx(e);return V(s,{code:L.invalid_type,expected:Q.null,received:s.parsedType}),ie}return nr(e.data)}}Wy.create=t=>new Wy({typeName:oe.ZodNull,...fe(t)});class Hy extends be{constructor(){super(...arguments),this._any=!0}_parse(e){return nr(e.data)}}Hy.create=t=>new Hy({typeName:oe.ZodAny,...fe(t)});class qy extends be{constructor(){super(...arguments),this._unknown=!0}_parse(e){return nr(e.data)}}qy.create=t=>new qy({typeName:oe.ZodUnknown,...fe(t)});class en extends be{_parse(e){const r=this._getOrReturnCtx(e);return V(r,{code:L.invalid_type,expected:Q.never,received:r.parsedType}),ie}}en.create=t=>new en({typeName:oe.ZodNever,...fe(t)});class Gy extends be{_parse(e){if(this._getType(e)!==Q.undefined){const s=this._getOrReturnCtx(e);return V(s,{code:L.invalid_type,expected:Q.void,received:s.parsedType}),ie}return nr(e.data)}}Gy.create=t=>new Gy({typeName:oe.ZodVoid,...fe(t)});class zr extends be{_parse(e){const{ctx:r,status:s}=this._processInputParams(e),a=this._def;if(r.parsedType!==Q.array)return V(r,{code:L.invalid_type,expected:Q.array,received:r.parsedType}),ie;if(a.exactLength!==null){const o=r.data.length>a.exactLength.value,l=r.data.length<a.exactLength.value;(o||l)&&(V(r,{code:o?L.too_big:L.too_small,minimum:l?a.exactLength.value:void 0,maximum:o?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),s.dirty())}if(a.minLength!==null&&r.data.length<a.minLength.value&&(V(r,{code:L.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),s.dirty()),a.maxLength!==null&&r.data.length>a.maxLength.value&&(V(r,{code:L.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),s.dirty()),r.common.async)return Promise.all([...r.data].map((o,l)=>a.type._parseAsync(new Xs(r,o,r.path,l)))).then(o=>Vt.mergeArray(s,o));const i=[...r.data].map((o,l)=>a.type._parseSync(new Xs(r,o,r.path,l)));return Vt.mergeArray(s,i)}get element(){return this._def.type}min(e,r){return new zr({...this._def,minLength:{value:e,message:Y.toString(r)}})}max(e,r){return new zr({...this._def,maxLength:{value:e,message:Y.toString(r)}})}length(e,r){return new zr({...this._def,exactLength:{value:e,message:Y.toString(r)}})}nonempty(e){return this.min(1,e)}}zr.create=(t,e)=>new zr({type:t,minLength:null,maxLength:null,exactLength:null,typeName:oe.ZodArray,...fe(e)});function pa(t){if(t instanceof qe){const e={};for(const r in t.shape){const s=t.shape[r];e[r]=qs.create(pa(s))}return new qe({...t._def,shape:()=>e})}else return t instanceof zr?new zr({...t._def,type:pa(t.element)}):t instanceof qs?qs.create(pa(t.unwrap())):t instanceof mi?mi.create(pa(t.unwrap())):t instanceof Vn?Vn.create(t.items.map(e=>pa(e))):t}class qe extends be{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;
vendor: 4,964 bytes, line 443
443const e=this._def.shape(),r=Ne.objectKeys(e);return this._cached={shape:e,keys:r},this._cached}_parse(e){if(this._getType(e)!==Q.object){const d=this._getOrReturnCtx(e);return V(d,{code:L.invalid_type,expected:Q.object,received:d.parsedType}),ie}const{status:s,ctx:a}=this._processInputParams(e),{shape:i,keys:o}=this._getCached(),l=[];if(!(this._def.catchall instanceof en&&this._def.unknownKeys==="strip"))for(const d in a.data)o.includes(d)||l.push(d);const c=[];for(const d of o){const u=i[d],m=a.data[d];c.push({key:{status:"valid",value:d},value:u._parse(new Xs(a,m,a.path,d)),alwaysSet:d in a.data})}if(this._def.catchall instanceof en){const d=this._def.unknownKeys;if(d==="passthrough")for(const u of l)c.push({key:{status:"valid",value:u},value:{status:"valid",value:a.data[u]}});else if(d==="strict")l.length>0&&(V(a,{code:L.unrecognized_keys,keys:l}),s.dirty());else if(d!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const d=this._def.catchall;for(const u of l){const m=a.data[u];c.push({key:{status:"valid",value:u},value:d._parse(new Xs(a,m,a.path,u)),alwaysSet:u in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const d=[];for(const u of c){const m=await u.key,h=await u.value;d.push({key:m,value:h,alwaysSet:u.alwaysSet})}return d}).then(d=>Vt.mergeObjectSync(s,d)):Vt.mergeObjectSync(s,c)}get shape(){return this._def.shape()}strict(e){return Y.errToObj,new qe({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(r,s)=>{var i,o;const a=((o=(i=this._def).errorMap)==null?void 0:o.call(i,r,s).message)??s.defaultError;return r.code==="unrecognized_keys"?{message:Y.errToObj(e).message??a}:{message:a}}}:{}})}strip(){return new qe({...this._def,unknownKeys:"strip"})}passthrough(){return new qe({...this._def,unknownKeys:"passthrough"})}extend(e){return new qe({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new qe({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:oe.ZodObject})}setKey(e,r){return this.augment({[e]:r})}catchall(e){return new qe({...this._def,catchall:e})}pick(e){const r={};for(const s of Ne.objectKeys(e))e[s]&&this.shape[s]&&(r[s]=this.shape[s]);return new qe({...this._def,shape:()=>r})}omit(e){const r={};for(const s of Ne.objectKeys(this.shape))e[s]||(r[s]=this.shape[s]);return new qe({...this._def,shape:()=>r})}deepPartial(){return pa(this)}partial(e){const r={};for(const s of Ne.objectKeys(this.shape)){const a=this.shape[s];e&&!e[s]?r[s]=a:r[s]=a.optional()}return new qe({...this._def,shape:()=>r})}required(e){const r={};for(const s of Ne.objectKeys(this.shape))if(e&&!e[s])r[s]=this.shape[s];else{let i=this.shape[s];for(;i instanceof qs;)i=i._def.innerType;r[s]=i}return new qe({...this._def,shape:()=>r})}keyof(){return FN(Ne.objectKeys(this.shape))}}qe.create=(t,e)=>new qe({shape:()=>t,unknownKeys:"strip",catchall:en.create(),typeName:oe.ZodObject,...fe(e)});qe.strictCreate=(t,e)=>new qe({shape:()=>t,unknownKeys:"strict",catchall:en.create(),typeName:oe.ZodObject,...fe(e)});qe.lazycreate=(t,e)=>new qe({shape:t,unknownKeys:"strip",catchall:en.create(),typeName:oe.ZodObject,...fe(e)});class nd extends be{_parse(e){const{ctx:r}=this._processInputParams(e),s=this._def.options;function a(i){for(const l of i)if(l.result.status==="valid")return l.result;for(const l of i)if(l.result.status==="dirty")return r.common.issues.push(...l.ctx.common.issues),l.result;const o=i.map(l=>new ls(l.ctx.common.issues));return V(r,{code:L.invalid_union,unionErrors:o}),ie}if(r.common.async)return Promise.all(s.map(async i=>{const o={...r,common:{...r.common,issues:[]},parent:null};return{result:await i._parseAsync({data:r.data,path:r.path,parent:o}),ctx:o}})).then(a);{let i;const o=[];for(const c of s){const d={...r,common:{...r.common,issues:[]},parent:null},u=c._parseSync({data:r.data,path:r.path,parent:d});if(u.status==="valid")return u;u.status==="dirty"&&!i&&(i={result:u,ctx:d}),d.common.issues.length&&o.push(d.common.issues)}if(i)return r.common.issues.push(...i.ctx.common.issues),i.result;const l=o.map(c=>new ls(c));return V(r,{code:L.invalid_union,unionErrors:l}),ie}}get options(){return this._def.options}}nd.create=(t,e)=>new nd({options:t,typeName:oe.ZodUnion,...fe(e)});function Fh(t,e){const r=Ns(t),s=Ns(e);if(t===e)return{valid:!0,data:t};if(r===Q.object&&s===Q.object){const a=Ne.objectKeys(e),i=Ne.objectKeys(t).filter(l=>a.indexOf(l)!==-1),o={...t,...e};for(const l of i){const c=Fh(t[l],e[l]);if(!c.valid)return{valid:!1};o[l]=c.data}return{valid:!0,data:o}}else if(r===Q.array&&s===Q.array){if(t.length!==e.length)return{valid:!1};const a=[];for(let i=0;i<t.length;i++){const o=t[i],l=e[i],c=Fh(o,l);if(!c.valid)return{valid:!1};a.push(c.data)}return{valid:!0,data:a}}else return r===Q.date&&s===Q.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class ad extends be{_parse(e){const{status:r,ctx:s}=this._processInputParams(e),a=(i,o)=>
vendor: 4,155 bytes, line 443
443{if(zy(i)||zy(o))return ie;const l=Fh(i.value,o.value);return l.valid?((By(i)||By(o))&&r.dirty(),{status:r.value,value:l.data}):(V(s,{code:L.invalid_intersection_types}),ie)};return s.common.async?Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then(([i,o])=>a(i,o)):a(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}ad.create=(t,e,r)=>new ad({left:t,right:e,typeName:oe.ZodIntersection,...fe(r)});class Vn extends be{_parse(e){const{status:r,ctx:s}=this._processInputParams(e);if(s.parsedType!==Q.array)return V(s,{code:L.invalid_type,expected:Q.array,received:s.parsedType}),ie;if(s.data.length<this._def.items.length)return V(s,{code:L.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ie;!this._def.rest&&s.data.length>this._def.items.length&&(V(s,{code:L.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const i=[...s.data].map((o,l)=>{const c=this._def.items[l]||this._def.rest;return c?c._parse(new Xs(s,o,s.path,l)):null}).filter(o=>!!o);return s.common.async?Promise.all(i).then(o=>Vt.mergeArray(r,o)):Vt.mergeArray(r,i)}get items(){return this._def.items}rest(e){return new Vn({...this._def,rest:e})}}Vn.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Vn({items:t,typeName:oe.ZodTuple,rest:null,...fe(e)})};class Qy extends be{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:r,ctx:s}=this._processInputParams(e);if(s.parsedType!==Q.map)return V(s,{code:L.invalid_type,expected:Q.map,received:s.parsedType}),ie;const a=this._def.keyType,i=this._def.valueType,o=[...s.data.entries()].map(([l,c],d)=>({key:a._parse(new Xs(s,l,s.path,[d,"key"])),value:i._parse(new Xs(s,c,s.path,[d,"value"]))}));if(s.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const c of o){const d=await c.key,u=await c.value;if(d.status==="aborted"||u.status==="aborted")return ie;(d.status==="dirty"||u.status==="dirty")&&r.dirty(),l.set(d.value,u.value)}return{status:r.value,value:l}})}else{const l=new Map;for(const c of o){const d=c.key,u=c.value;if(d.status==="aborted"||u.status==="aborted")return ie;(d.status==="dirty"||u.status==="dirty")&&r.dirty(),l.set(d.value,u.value)}return{status:r.value,value:l}}}}Qy.create=(t,e,r)=>new Qy({valueType:e,keyType:t,typeName:oe.ZodMap,...fe(r)});class zo extends be{_parse(e){const{status:r,ctx:s}=this._processInputParams(e);if(s.parsedType!==Q.set)return V(s,{code:L.invalid_type,expected:Q.set,received:s.parsedType}),ie;const a=this._def;a.minSize!==null&&s.data.size<a.minSize.value&&(V(s,{code:L.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),r.dirty()),a.maxSize!==null&&s.data.size>a.maxSize.value&&(V(s,{code:L.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),r.dirty());const i=this._def.valueType;function o(c){const d=new Set;for(const u of c){if(u.status==="aborted")return ie;u.status==="dirty"&&r.dirty(),d.add(u.value)}return{status:r.value,value:d}}const l=[...s.data.values()].map((c,d)=>i._parse(new Xs(s,c,s.path,d)));return s.common.async?Promise.all(l).then(c=>o(c)):o(l)}min(e,r){return new zo({...this._def,minSize:{value:e,message:Y.toString(r)}})}max(e,r){return new zo({...this._def,maxSize:{value:e,message:Y.toString(r)}})}size(e,r){return this.min(e,r).max(e,r)}nonempty(e){return this.min(1,e)}}zo.create=(t,e)=>new zo({valueType:t,minSize:null,maxSize:null,typeName:oe.ZodSet,...fe(e)});class Yy extends be{get schema(){return this._def.getter()}_parse(e){const{ctx:r}=this._processInputParams(e);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}Yy.create=(t,e)=>new Yy({getter:t,typeName:oe.ZodLazy,...fe(e)});class Ky extends be{_parse(e){if(e.data!==this._def.value){const r=this._getOrReturnCtx(e);return V(r,{received:r.data,code:L.invalid_literal,expected:this._def.value}),ie}
vendor: 5,366 bytes, line 443
443return{status:"valid",value:e.data}}get value(){return this._def.value}}Ky.create=(t,e)=>new Ky({value:t,typeName:oe.ZodLiteral,...fe(e)});function FN(t,e){return new di({values:t,typeName:oe.ZodEnum,...fe(e)})}class di extends be{_parse(e){if(typeof e.data!="string"){const r=this._getOrReturnCtx(e),s=this._def.values;return V(r,{expected:Ne.joinValues(s),received:r.parsedType,code:L.invalid_type}),ie}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const r=this._getOrReturnCtx(e),s=this._def.values;return V(r,{received:r.data,code:L.invalid_enum_value,options:s}),ie}return nr(e.data)}get options(){return this._def.values}get enum(){const e={};for(const r of this._def.values)e[r]=r;return e}get Values(){const e={};for(const r of this._def.values)e[r]=r;return e}get Enum(){const e={};for(const r of this._def.values)e[r]=r;return e}extract(e,r=this._def){return di.create(e,{...this._def,...r})}exclude(e,r=this._def){return di.create(this.options.filter(s=>!e.includes(s)),{...this._def,...r})}}di.create=FN;class Zy extends be{_parse(e){const r=Ne.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(e);if(s.parsedType!==Q.string&&s.parsedType!==Q.number){const a=Ne.objectValues(r);return V(s,{expected:Ne.joinValues(a),received:s.parsedType,code:L.invalid_type}),ie}if(this._cache||(this._cache=new Set(Ne.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const a=Ne.objectValues(r);return V(s,{received:s.data,code:L.invalid_enum_value,options:a}),ie}return nr(e.data)}get enum(){return this._def.values}}Zy.create=(t,e)=>new Zy({values:t,typeName:oe.ZodNativeEnum,...fe(e)});class id extends be{unwrap(){return this._def.type}_parse(e){const{ctx:r}=this._processInputParams(e);if(r.parsedType!==Q.promise&&r.common.async===!1)return V(r,{code:L.invalid_type,expected:Q.promise,received:r.parsedType}),ie;const s=r.parsedType===Q.promise?r.data:Promise.resolve(r.data);return nr(s.then(a=>this._def.type.parseAsync(a,{path:r.path,errorMap:r.common.contextualErrorMap})))}}id.create=(t,e)=>new id({type:t,typeName:oe.ZodPromise,...fe(e)});class ui extends be{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===oe.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:r,ctx:s}=this._processInputParams(e),a=this._def.effect||null,i={addIssue:o=>{V(s,o),o.fatal?r.abort():r.dirty()},get path(){return s.path}};if(i.addIssue=i.addIssue.bind(i),a.type==="preprocess"){const o=a.transform(s.data,i);if(s.common.async)return Promise.resolve(o).then(async l=>{if(r.value==="aborted")return ie;const c=await this._def.schema._parseAsync({data:l,path:s.path,parent:s});return c.status==="aborted"?ie:c.status==="dirty"||r.value==="dirty"?Ui(c.value):c});{if(r.value==="aborted")return ie;const l=this._def.schema._parseSync({data:o,path:s.path,parent:s});return l.status==="aborted"?ie:l.status==="dirty"||r.value==="dirty"?Ui(l.value):l}}if(a.type==="refinement"){const o=l=>{const c=a.refinement(l,i);if(s.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(s.common.async===!1){const l=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return l.status==="aborted"?ie:(l.status==="dirty"&&r.dirty(),o(l.value),{status:r.value,value:l.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(l=>l.status==="aborted"?ie:(l.status==="dirty"&&r.dirty(),o(l.value).then(()=>({status:r.value,value:l.value}))))}if(a.type==="transform")if(s.common.async===!1){const o=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!ci(o))return ie;const l=a.transform(o.value,i);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:l}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(o=>ci(o)?Promise.resolve(a.transform(o.value,i)).then(l=>({status:r.value,value:l})):ie);Ne.assertNever(a)}}ui.create=(t,e,r)=>new ui({schema:t,typeName:oe.ZodEffects,effect:e,...fe(r)});ui.createWithPreprocess=(t,e,r)=>new ui({schema:e,effect:{type:"preprocess",transform:t},typeName:oe.ZodEffects,...fe(r)});class qs extends be{_parse(e){return this._getType(e)===Q.undefined?nr(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}qs.create=(t,e)=>new qs({innerType:t,typeName:oe.ZodOptional,...fe(e)});class mi extends be{_parse(e){return this._getType(e)===Q.null?nr(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}mi.create=(t,e)=>new mi({innerType:t,typeName:oe.ZodNullable,...fe(e)});class $h extends be{_parse(e){const{ctx:r}=this._processInputParams(e);let s=r.data;return r.parsedType===Q.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}$h.create=(t,e)=>new $h({innerType:t,typeName:oe.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...fe(e)});class Uh extends be{_parse(e){const{ctx:r}=this._processInputParams(e),s={...r,common:{...r.common,issues:[]}},a=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return rd(a)?a.then(i=>
443({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new ls(s.common.issues)},input:s.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new ls(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}Uh.create=(t,e)=>new Uh({innerType:t,typeName:oe.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...fe(e)});class Jy extends be{_parse(e){if(this._getType(e)!==Q.nan){const s=this._getOrReturnCtx(e);return V(s,{code:L.invalid_type,expected:Q.nan,received:s.parsedType}),ie}return{status:"valid",value:e.data}}}Jy.create=t=>new Jy({typeName:oe.ZodNaN,...fe(t)});class Q6 extends be{_parse(e){const{ctx:r}=this._processInputParams(e),s=r.data;return this._def.type._parse({data:s,path:r.path,parent:r})}unwrap(){return this._def.type}}class Hp extends be{_parse(e){const{status:r,ctx:s}=this._processInputParams(e);if(s.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return i.status==="aborted"?ie:i.status==="dirty"?(r.dirty(),Ui(i.value)):this._def.out._parseAsync({data:i.value,path:s.path,parent:s})})();{const a=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return a.status==="aborted"?ie:a.status==="dirty"?(r.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:s.path,parent:s})}}static create(e,r){return new Hp({in:e,out:r,typeName:oe.ZodPipeline})}}class Vh extends be{_parse(e){const r=this._def.innerType._parse(e),s=a=>(ci(a)&&(a.value=Object.freeze(a.value)),a);return rd(r)?r.then(a=>s(a)):s(r)}unwrap(){return this._def.innerType}}Vh.create=(t,e)=>new Vh({innerType:t,typeName:oe.ZodReadonly,...fe(e)});qe.lazycreate;var oe;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(oe||(oe={}));const Ju=Ms.create;en.create;zr.create;const Y6=qe.create;qe.strictCreate;nd.create;ad.create;Vn.create;const K6=di.create;id.create;qs.create;mi.create;function Z6(t){const e=x.useRef({value:t,previous:t});return x.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var J6=[" ","Enter","ArrowUp","ArrowDown"],X6=[" ","Enter"],Wn="Select",[Gd,Qd,eD]=Zb(Wn),[bi,u8]=nn(Wn,[eD,Od]),Yd=Od(),[tD,on]=bi(Wn),[rD,sD]=bi(Wn),$N=t=>{const{__scopeSelect:e,children:r,open:s,defaultOpen:a,onOpenChange:i,value:o,defaultValue:l,onValueChange:c,dir:d,name:u,autoComplete:m,disabled:h,required:f,form:v}=t,p=Yd(e),[w,b]=x.useState(null),[g,y]=x.useState(null),[j,N]=x.useState(!1),S=rN(d),[_,E]=Ic({prop:s,defaultProp:a??!1,onChange:i,caller:Wn}),[T,O]=Ic({prop:o,defaultProp:l,onChange:c,caller:Wn}),B=x.useRef(null),D=w?v||!!w.closest("form"):!0,[G,A]=x.useState(new Set),W=Array.from(G).map(q=>q.props.value).join(";");return n.jsx(VT,{...p,children:n.jsxs(tD,{required:f,scope:e,trigger:w,onTriggerChange:b,valueNode:g,onValueNodeChange:y,valueNodeHasChildren:j,onValueNodeHasChildrenChange:N,contentId:La(),value:T,onValueChange:O,open:_,onOpenChange:E,dir:S,triggerPointerDownPosRef:B,disabled:h,children:[n.jsx(Gd.Provider,{scope:e,children:n.jsx(rD,{scope:t.__scopeSelect,onNativeOptionAdd:x.useCallback(q=>{A(te=>new Set(te).add(q))},[]),onNativeOptionRemove:x.useCallback(q=>{A(te=>{const P=new Set(te);return P.delete(q),P})},[]),children:r})}),D?n.jsxs(uS,{"aria-hidden":!0,required:f,tabIndex:-1,name:u,autoComplete:m,value:T,onChange:q=>O(q.target.value),disabled:h,form:v,children:[T===void 0?n.jsx("option",{value:""}):null,Array.from(G)]},W):null]})})};$N.displayName=Wn;var UN="SelectTrigger",VN=x.forwardRef((t,e)=>{const{__scopeSelect:r,disabled:s=!1,...a}=t,i=Yd(r),o=on(UN,r),l=o.disabled||s,c=_e(e,o.onTriggerChange),d=Qd(r),u=x.useRef("touch"),[m,h,f]=hS(p=>{const w=d().filter(y=>!y.disabled),b=w.find(y=>y.value===o.value),g=fS(w,p,b);g!==void 0&&o.onValueChange(g.value)}),v=p=>{l||(o.onOpenChange(!0),f()),p&&(o.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return n.jsx(hj,{asChild:!0,...i,children:n.jsx(he.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":mS(o.value)?"":void 0,...a,ref:c,onClick:se(a.onClick,p=>
vendor: 16,093 bytes, line 443
443{p.currentTarget.focus(),u.current!=="mouse"&&v(p)}),onPointerDown:se(a.onPointerDown,p=>{u.current=p.pointerType;const w=p.target;w.hasPointerCapture(p.pointerId)&&w.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(v(p),p.preventDefault())}),onKeyDown:se(a.onKeyDown,p=>{const w=m.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&h(p.key),!(w&&p.key===" ")&&J6.includes(p.key)&&(v(),p.preventDefault())})})})});VN.displayName=UN;var WN="SelectValue",HN=x.forwardRef((t,e)=>{const{__scopeSelect:r,className:s,style:a,children:i,placeholder:o="",...l}=t,c=on(WN,r),{onValueNodeHasChildrenChange:d}=c,u=i!==void 0,m=_e(e,c.onValueNodeChange);return it(()=>{d(u)},[d,u]),n.jsx(he.span,{...l,ref:m,style:{pointerEvents:"none"},children:mS(c.value)?n.jsx(n.Fragment,{children:o}):i})});HN.displayName=WN;var nD="SelectIcon",qN=x.forwardRef((t,e)=>{const{__scopeSelect:r,children:s,...a}=t;return n.jsx(he.span,{"aria-hidden":!0,...a,ref:e,children:s||"â¼"})});qN.displayName=nD;var aD="SelectPortal",GN=t=>n.jsx(Cd,{asChild:!0,...t});GN.displayName=aD;var Hn="SelectContent",QN=x.forwardRef((t,e)=>{const r=on(Hn,t.__scopeSelect),[s,a]=x.useState();if(it(()=>{a(new DocumentFragment)},[]),!r.open){const i=s;return i?Qn.createPortal(n.jsx(YN,{scope:t.__scopeSelect,children:n.jsx(Gd.Slot,{scope:t.__scopeSelect,children:n.jsx("div",{children:t.children})})}),i):null}return n.jsx(KN,{...t,ref:e})});QN.displayName=Hn;var mr=10,[YN,ln]=bi(Hn),iD="SelectContentImpl",oD=si("SelectContent.RemoveScroll"),KN=x.forwardRef((t,e)=>{const{__scopeSelect:r,position:s="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:i,onPointerDownOutside:o,side:l,sideOffset:c,align:d,alignOffset:u,arrowPadding:m,collisionBoundary:h,collisionPadding:f,sticky:v,hideWhenDetached:p,avoidCollisions:w,...b}=t,g=on(Hn,r),[y,j]=x.useState(null),[N,S]=x.useState(null),_=_e(e,U=>j(U)),[E,T]=x.useState(null),[O,B]=x.useState(null),D=Qd(r),[G,A]=x.useState(!1),W=x.useRef(!1);x.useEffect(()=>{if(y)return R1(y)},[y]),e1();const q=x.useCallback(U=>{const[ke,...We]=D().map(we=>we.ref.current),[Se]=We.slice(-1),ge=document.activeElement;for(const we of U)if(we===ge||(we==null||we.scrollIntoView({block:"nearest"}),we===ke&&N&&(N.scrollTop=0),we===Se&&N&&(N.scrollTop=N.scrollHeight),we==null||we.focus(),document.activeElement!==ge))return},[D,N]),te=x.useCallback(()=>q([E,y]),[q,E,y]);x.useEffect(()=>{G&&te()},[G,te]);const{onOpenChange:P,triggerPointerDownPosRef:I}=g;x.useEffect(()=>{if(y){let U={x:0,y:0};const ke=Se=>{var ge,we;U={x:Math.abs(Math.round(Se.pageX)-(((ge=I.current)==null?void 0:ge.x)??0)),y:Math.abs(Math.round(Se.pageY)-(((we=I.current)==null?void 0:we.y)??0))}},We=Se=>{U.x<=10&&U.y<=10?Se.preventDefault():y.contains(Se.target)||P(!1),document.removeEventListener("pointermove",ke),I.current=null};return I.current!==null&&(document.addEventListener("pointermove",ke),document.addEventListener("pointerup",We,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ke),document.removeEventListener("pointerup",We,{capture:!0})}}},[y,P,I]),x.useEffect(()=>{const U=()=>P(!1);return window.addEventListener("blur",U),window.addEventListener("resize",U),()=>{window.removeEventListener("blur",U),window.removeEventListener("resize",U)}},[P]);const[F,ae]=hS(U=>{const ke=D().filter(ge=>!ge.disabled),We=ke.find(ge=>ge.ref.current===document.activeElement),Se=fS(ke,U,We);Se&&setTimeout(()=>Se.ref.current.focus())}),X=x.useCallback((U,ke,We)=>{const Se=!W.current&&!We;(g.value!==void 0&&g.value===ke||Se)&&(T(U),Se&&(W.current=!0))},[g.value]),ue=x.useCallback(()=>y==null?void 0:y.focus(),[y]),le=x.useCallback((U,ke,We)=>{const Se=!W.current&&!We;(g.value!==void 0&&g.value===ke||Se)&&B(U)},[g.value]),Ie=s==="popper"?Wh:ZN,Ve=Ie===Wh?{side:l,sideOffset:c,align:d,alignOffset:u,arrowPadding:m,collisionBoundary:h,collisionPadding:f,sticky:v,hideWhenDetached:p,avoidCollisions:w}:{};return n.jsx(YN,{scope:r,content:y,viewport:N,onViewportChange:S,itemRefCallback:X,selectedItem:E,onItemLeave:ue,itemTextRefCallback:le,focusSelectedItem:te,selectedItemText:O,position:s,isPositioned:G,searchRef:F,children:n.jsx(Tp,{as:oD,allowPinchZoom:!0,children:n.jsx(Cp,{asChild:!0,trapped:g.open,onMountAutoFocus:U=>{U.preventDefault()},onUnmountAutoFocus:se(a,U=>{var ke;(ke=g.trigger)==null||ke.focus({preventScroll:!0}),U.preventDefault()}),children:n.jsx(Ko,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:U=>U.preventDefault(),onDismiss:()=>g.onOpenChange(!1),children:n.jsx(Ie,{role:"listbox",id:g.contentId,"data-state":g.open?"open":"closed",dir:g.dir,onContextMenu:U=>U.preventDefault(),...b,...Ve,onPlaced:()=>A(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:se(b.onKeyDown,U=>{const ke=U.ctrlKey||U.altKey||U.metaKey;if(U.key==="Tab"&&U.preventDefault(),!ke&&U.key.length===1&&ae(U.key),["ArrowUp","ArrowDown","Home","End"].includes(U.key)){let Se=D().filter(ge=>!ge.disabled).map(ge=>ge.ref.current);if(["ArrowUp","End"].includes(U.key)&&(Se=Se.slice().reverse()),["ArrowUp","ArrowDown"].includes(U.key)){const ge=U.target,we=Se.indexOf(ge);Se=Se.slice(we+1)}setTimeout(()=>q(Se)),U.preventDefault()}})})})})})})});KN.displayName=iD;var lD="SelectItemAlignedPosition",ZN=x.forwardRef((t,e)=>{const{__scopeSelect:r,onPlaced:s,...a}=t,i=on(Hn,r),o=ln(Hn,r),[l,c]=x.useState(null),[d,u]=x.useState(null),m=_e(e,_=>u(_)),h=Qd(r),f=x.useRef(!1),v=x.useRef(!0),{viewport:p,selectedItem:w,selectedItemText:b,focusSelectedItem:g}=o,y=x.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&d&&p&&w&&b){const _=i.trigger.getBoundingClientRect(),E=d.getBoundingClientRect(),T=i.valueNode.getBoundingClientRect(),O=b.getBoundingClientRect();if(i.dir!=="rtl"){const ge=O.left-E.left,we=T.left-ge,ut=_.left-we,qt=_.width+ut,dn=Math.max(qt,E.width),ds=window.innerWidth-mr,un=kh(we,[mr,Math.max(mr,ds-dn)]);l.style.minWidth=qt+"px",l.style.left=un+"px"}else{const ge=E.right-O.right,we=window.innerWidth-T.right-ge,ut=window.innerWidth-_.right-we,qt=_.width+ut,dn=Math.max(qt,E.width),ds=window.innerWidth-mr,un=kh(we,[mr,Math.max(mr,ds-dn)]);l.style.minWidth=qt+"px",l.style.right=un+"px"}const B=h(),D=window.innerHeight-mr*2,G=p.scrollHeight,A=window.getComputedStyle(d),W=parseInt(A.borderTopWidth,10),q=parseInt(A.paddingTop,10),te=parseInt(A.borderBottomWidth,10),P=parseInt(A.paddingBottom,10),I=W+q+G+P+te,F=Math.min(w.offsetHeight*5,I),ae=window.getComputedStyle(p),X=parseInt(ae.paddingTop,10),ue=parseInt(ae.paddingBottom,10),le=_.top+_.height/2-mr,Ie=D-le,Ve=w.offsetHeight/2,U=w.offsetTop+Ve,ke=W+q+U,We=I-ke;if(ke<=le){const ge=B.length>0&&w===B[B.length-1].ref.current;l.style.bottom="0px";const we=d.clientHeight-p.offsetTop-p.offsetHeight,ut=Math.max(Ie,Ve+(ge?ue:0)+we+te),qt=ke+ut;l.style.height=qt+"px"}else{const ge=B.length>0&&w===B[0].ref.current;l.style.top="0px";const ut=Math.max(le,W+p.offsetTop+(ge?X:0)+Ve)+We;l.style.height=ut+"px",p.scrollTop=ke-le+p.offsetTop}l.style.margin=`${mr}px 0`,l.style.minHeight=F+"px",l.style.maxHeight=D+"px",s==null||s(),requestAnimationFrame(()=>f.current=!0)}},[h,i.trigger,i.valueNode,l,d,p,w,b,i.dir,s]);it(()=>y(),[y]);const[j,N]=x.useState();it(()=>{d&&N(window.getComputedStyle(d).zIndex)},[d]);const S=x.useCallback(_=>{_&&v.current===!0&&(y(),g==null||g(),v.current=!1)},[y,g]);return n.jsx(dD,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:f,onScrollButtonChange:S,children:n.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:n.jsx(he.div,{...a,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});ZN.displayName=lD;var cD="SelectPopperPosition",Wh=x.forwardRef((t,e)=>{const{__scopeSelect:r,align:s="start",collisionPadding:a=mr,...i}=t,o=Yd(r);return n.jsx(fj,{...o,...i,ref:e,align:s,collisionPadding:a,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Wh.displayName=cD;var[dD,qp]=bi(Hn,{}),Hh="SelectViewport",JN=x.forwardRef((t,e)=>{const{__scopeSelect:r,nonce:s,...a}=t,i=ln(Hh,r),o=qp(Hh,r),l=_e(e,i.onViewportChange),c=x.useRef(0);return n.jsxs(n.Fragment,{children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),n.jsx(Gd.Slot,{scope:r,children:n.jsx(he.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:se(a.onScroll,d=>{const u=d.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:h}=o;if(h!=null&&h.current&&m){const f=Math.abs(c.current-u.scrollTop);if(f>0){const v=window.innerHeight-mr*2,p=parseFloat(m.style.minHeight),w=parseFloat(m.style.height),b=Math.max(p,w);if(b<v){const g=b+f,y=Math.min(v,g),j=g-y;m.style.height=y+"px",m.style.bottom==="0px"&&(u.scrollTop=j>0?j:0,m.style.justifyContent="flex-end")}}}c.current=u.scrollTop})})})]})});JN.displayName=Hh;var XN="SelectGroup",[uD,mD]=bi(XN),hD=x.forwardRef((t,e)=>{const{__scopeSelect:r,...s}=t,a=La();return n.jsx(uD,{scope:r,id:a,children:n.jsx(he.div,{role:"group","aria-labelledby":a,...s,ref:e})})});hD.displayName=XN;var eS="SelectLabel",tS=x.forwardRef((t,e)=>{const{__scopeSelect:r,...s}=t,a=mD(eS,r);return n.jsx(he.div,{id:a.id,...s,ref:e})});tS.displayName=eS;var od="SelectItem",[fD,rS]=bi(od),sS=x.forwardRef((t,e)=>{const{__scopeSelect:r,value:s,disabled:a=!1,textValue:i,...o}=t,l=on(od,r),c=ln(od,r),d=l.value===s,[u,m]=x.useState(i??""),[h,f]=x.useState(!1),v=_e(e,g=>{var y;return(y=c.itemRefCallback)==null?void 0:y.call(c,g,s,a)}),p=La(),w=x.useRef("touch"),b=()=>{a||(l.onValueChange(s),l.onOpenChange(!1))};if(s==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return n.jsx(fD,{scope:r,value:s,disabled:a,textId:p,isSelected:d,onItemTextChange:x.useCallback(g=>{m(y=>y||((g==null?void 0:g.textContent)??"").trim())},[]),children:n.jsx(Gd.ItemSlot,{scope:r,value:s,disabled:a,textValue:u,children:n.jsx(he.div,{role:"option","aria-labelledby":p,"data-highlighted":h?"":void 0,"aria-selected":d&&h,"data-state":d?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...o,ref:v,onFocus:se(o.onFocus,()=>f(!0)),onBlur:se(o.onBlur,()=>f(!1)),onClick:se(o.onClick,()=>{w.current!=="mouse"&&b()}),onPointerUp:se(o.onPointerUp,()=>{w.current==="mouse"&&b()}),onPointerDown:se(o.onPointerDown,g=>{w.current=g.pointerType}),onPointerMove:se(o.onPointerMove,g=>{var y;w.current=g.pointerType,a?(y=c.onItemLeave)==null||y.call(c):w.current==="mouse"&&g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:se(o.onPointerLeave,g=>{var y;g.currentTarget===document.activeElement&&((y=c.onItemLeave)==null||y.call(c))}),onKeyDown:se(o.onKeyDown,g=>{var j;((j=c.searchRef)==null?void 0:j.current)!==""&&g.key===" "||(X6.includes(g.key)&&b(),g.key===" "&&g.preventDefault())})})})})});sS.displayName=od;var Vi="SelectItemText",nS=x.forwardRef((t,e)=>{const{__scopeSelect:r,className:s,style:a,...i}=t,o=on(Vi,r),l=ln(Vi,r),c=rS(Vi,r),d=sD(Vi,r),[u,m]=x.useState(null),h=_e(e,b=>m(b),c.onItemTextChange,b=>{var g;return(g=l.itemTextRefCallback)==null?void 0:g.call(l,b,c.value,c.disabled)}),f=u==null?void 0:u.textContent,v=x.useMemo(()=>n.jsx("option",{value:c.value,disabled:c.disabled,children:f},c.value),[c.disabled,c.value,f]),{onNativeOptionAdd:p,onNativeOptionRemove:w}=d;return it(()=>(p(v),()=>w(v)),[p,w,v]),n.jsxs(n.Fragment,{children:[n.jsx(he.span,{id:c.textId,...i,ref:h}),c.isSelected&&o.valueNode&&!o.valueNodeHasChildren?Qn.createPortal(i.children,o.valueNode):null]})});nS.displayName=Vi;var aS="SelectItemIndicator",iS=x.forwardRef((t,e)=>{const{__scopeSelect:r,...s}=t;return rS(aS,r).isSelected?n.jsx(he.span,{"aria-hidden":!0,...s,ref:e}):null});iS.displayName=aS;var qh="SelectScrollUpButton",oS=x.forwardRef((t,e)=>{const r=ln(qh,t.__scopeSelect),s=qp(qh,t.__scopeSelect),[a,i]=x.useState(!1),o=_e(e,s.onScrollButtonChange);return it(()=>{if(r.viewport&&r.isPositioned){let l=function(){const d=c.scrollTop>0;i(d)};const c=r.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),a?n.jsx(cS,{...t,ref:o,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=r;l&&c&&(l.scrollTop=l.scrollTop-c.offsetHeight)}}):null});oS.displayName=qh;var Gh="SelectScrollDownButton",lS=x.forwardRef((t,e)=>{const r=ln(Gh,t.__scopeSelect),s=qp(Gh,t.__scopeSelect),[a,i]=x.useState(!1),o=_e(e,s.onScrollButtonChange);return it(()=>{if(r.viewport&&r.isPositioned){let l=function(){const d=c.scrollHeight-c.clientHeight,u=Math.ceil(c.scrollTop)<d;i(u)};const c=r.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),a?n.jsx(cS,{...t,ref:o,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=r;l&&c&&(l.scrollTop=l.scrollTop+c.offsetHeight)}}):null});lS.displayName=Gh;var cS=x.forwardRef((t,e)=>{const{__scopeSelect:r,onAutoScroll:s,...a}=t,i=ln("SelectScrollButton",r),o=x.useRef(null),l=Qd(r),c=x.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return x.useEffect(()=>()=>c(),[c]),it(()=>{var u;const d=l().find(m=>m.ref.current===document.activeElement);(u=d==null?void 0:d.ref.current)==null||u.scrollIntoView({block:"nearest"})},[l]),n.jsx(he.div,{"aria-hidden":!0,...a,ref:e,style:{flexShrink:0,...a.style},onPointerDown:se(a.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(s,50))}),onPointerMove:se(a.onPointerMove,()=>{var d;(d=i.onItemLeave)==null||d.call(i),o.current===null&&(o.current=window.setInterval(s,50))}),onPointerLeave:se(a.onPointerLeave,()=>{c()})})}),pD="SelectSeparator",dS=x.forwardRef((t,e)=>{const{__scopeSelect:r,...s}=t;return n.jsx(he.div,{"aria-hidden":!0,...s,ref:e})});dS.displayName=pD;var Qh="SelectArrow",xD=x.forwardRef((t,e)=>{const{__scopeSelect:r,...s}=t,a=Yd(r),i=on(Qh,r),o=ln(Qh,r);return i.open&&o.position==="popper"?n.jsx(pj,{...a,...s,ref:e}):null});xD.displayName=Qh;var gD="SelectBubbleInput",uS=x.forwardRef(({__scopeSelect:t,value:e,...r},s)=>{const a=x.useRef(null),i=_e(s,a),o=Z6(e);return x.useEffect(()=>{const l=a.current;if(!l)return;const c=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(c,"value").set;if(o!==e&&u){const m=new Event("change",{bubbles:!0});u.call(l,e),l.dispatchEvent(m)}},[o,e]),n.jsx(he.select,{...r,style:{...rw,...r.style},ref:i,defaultValue:e})});uS.displayName=gD;function mS(t){return t===""||t===void 0}function hS(t){const e=st(t),r=x.useRef(""),s=x.useRef(0),a=x.useCallback(o=>{const l=r.current+o;e(l),function c(d){r.current=d,window.clearTimeout(s.current),d!==""&&(s.current=window.setTimeout(()=>c(""),1e3))}(l)},[e]),i=x.useCallback(()=>{r.current="",window.clearTimeout(s.current)},[]);return x.useEffect(()=>()=>window.clearTimeout(s.current),[]),[r,a,i]}function fS(t,e,r){const a=e.length>1&&Array.from(e).every(d=>d===e[0])?e[0]:e,i=r?t.indexOf(r):-1;let o=yD(t,Math.max(i,0));a.length===1&&(o=o.filter(d=>d!==r));const c=o.find(d=>d.textValue.toLowerCase().startsWith(a.toLowerCase()));return c!==r?c:void 0}function yD(t,e){return t.map((r,s)=>t[(e+s)%t.length])}var vD=$N,pS=VN,bD=HN,wD=qN,jD=GN,xS=QN,ND=JN,gS=tS,yS=sS,SD=nS,_D=iS,vS=oS,bS=lS,wS=dS;const kD=vD,CD=bD,jS=x.forwardRef(({className:t,children:e,...r},s)=>n.jsxs(pS,{ref:s,className:ye("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
443ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...r,children:[e,n.jsx(wD,{asChild:!0,children:n.jsx(Cw,{className:"h-4 w-4 opacity-50"})})]}));jS.displayName=pS.displayName;const NS=x.forwardRef(({className:t,...e},r)=>n.jsx(vS,{ref:r,className:ye("flex cursor-default items-center justify-center py-1",t),...e,children:n.jsx(HC,{className:"h-4 w-4"})}));NS.displayName=vS.displayName;const SS=x.forwardRef(({className:t,...e},r)=>n.jsx(bS,{ref:r,className:ye("flex cursor-default items-center justify-center py-1",t),...e,children:n.jsx(Cw,{className:"h-4 w-4"})}));SS.displayName=bS.displayName;const _S=x.forwardRef(({className:t,children:e,position:r="popper",...s},a)=>n.jsx(jD,{children:n.jsxs(xS,{ref:a,className:ye("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...s,children:[n.jsx(NS,{}),n.jsx(ND,{className:ye("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),n.jsx(SS,{})]})}));_S.displayName=xS.displayName;const ED=x.forwardRef(({className:t,...e},r)=>n.jsx(gS,{ref:r,className:ye("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...e}));ED.displayName=gS.displayName;const kS=x.forwardRef(({className:t,children:e,...r},s)=>n.jsxs(yS,{ref:s,className:ye("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t),...r,children:[n.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:n.jsx(_D,{children:n.jsx(kw,{className:"h-4 w-4"})})}),n.jsx(SD,{children:e})]}));kS.displayName=yS.displayName;const AD=x.forwardRef(({className:t,...e},r)=>n.jsx(wS,{ref:r,className:ye("-mx-1 my-1 h-px bg-muted",t),...e}));AD.displayName=wS.displayName;const TD=t=>t?(...e)=>t(...e):(...e)=>fetch(...e);
443class Gp extends Error{constructor(e,r="FunctionsError",s){super(e),this.name=r,this.context=s}}class Xy extends Gp{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}class ev extends Gp{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}class tv extends Gp{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}var Yh;(function(t){t.Any="any",t.ApNortheast1="ap-northeast-1",t.ApNortheast2="ap-northeast-2",t.ApSouth1="ap-south-1",t.ApSoutheast1="ap-southeast-1",t.ApSoutheast2="ap-southeast-2",t.CaCentral1="ca-central-1",t.EuCentral1="eu-central-1",t.EuWest1="eu-west-1",t.EuWest2="eu-west-2",t.EuWest3="eu-west-3",t.SaEast1="sa-east-1",t.UsEast1="us-east-1",t.UsWest1="us-west-1",t.UsWest2="us-west-2"})(Yh||(Yh={}));class PD{constructor(e,{headers:r={},customFetch:s,region:a=Yh.Any}={}){this.url=e,this.headers=r,this.region=a,this.fetch=TD(s)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e){return Z(this,arguments,void 0,function*(r,s={}){var a;try{const{headers:i,method:o,body:l,signal:c}=s;let d={},{region:u}=s;u||(u=this.region);const m=new URL(`${this.url}/${r}`);u&&u!=="any"&&(d["x-region"]=u,m.searchParams.set("forceFunctionRegion",u));let h;l&&(i&&!Object.prototype.hasOwnProperty.call(i,"Content-Type")||!i)?typeof Blob<"u"&&l instanceof Blob||l instanceof ArrayBuffer?(d["Content-Type"]="application/octet-stream",h=l):typeof l=="string"?(d["Content-Type"]="text/plain",h=l):typeof FormData<"u"&&l instanceof FormData?h=l:(d["Content-Type"]="application/json",h=JSON.stringify(l)):h=l;const f=yield this.fetch(m.toString(),{method:o||"POST",headers:Object.assign(Object.assign(Object.assign({},d),this.headers),i),body:h,signal:c}).catch(b=>{throw b.name==="AbortError"?b:new Xy(b)}),v=f.headers.get("x-relay-error");if(v&&v==="true")throw new ev(f);if(!f.ok)throw new tv(f);let p=((a=f.headers.get("Content-Type"))!==null&&a!==void 0?a:"text/plain").split(";")[0].trim(),w;return p==="application/json"?w=yield f.json():p==="application/octet-stream"||p==="application/pdf"?w=yield f.blob():p==="text/event-stream"?w=f:p==="multipart/form-data"?w=yield f.formData():w=yield f.text(),{data:w,error:null,response:f}}catch(i){return i instanceof Error&&i.name==="AbortError"?{data:null,error:new Xy(i)}:{data:null,error:i,response:i instanceof tv||i instanceof ev?i.context:void 0}}})}}var jt={};const wi=p2(MI);var Dl={},Ml={},Ll={},zl={},Bl={},Fl={},rv;function CS(){if(rv)return Fl;rv=1,Object.defineProperty(Fl,"__esModule",{value:!0});class t extends Error{constructor(r){super(r.message),this.name="PostgrestError",this.details=r.details,this.hint=r.hint,this.co
443de=r.code}}return Fl.default=t,Fl}var sv;function ES(){if(sv)return Bl;sv=1,Object.defineProperty(Bl,"__esModule",{value:!0});const e=wi.__importDefault(CS());class r{constructor(a){var i,o;this.shouldThrowOnError=!1,this.method=a.method,this.url=a.url,this.headers=new Headers(a.headers),this.schema=a.schema,this.body=a.body,this.shouldThrowOnError=(i=a.shouldThrowOnError)!==null&&i!==void 0?i:!1,this.signal=a.signal,this.isMaybeSingle=(o=a.isMaybeSingle)!==null&&o!==void 0?o:!1,a.fetch?this.fetch=a.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(a,i){return this.headers=new Headers(this.headers),this.headers.set(a,i),this}then(a,i){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json");const o=this.fetch;let l=o(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async c=>{var d,u,m,h;let f=null,v=null,p=null,w=c.status,b=c.statusText;if(c.ok){if(this.method!=="HEAD"){const N=await c.text();N===""||(this.headers.get("Accept")==="text/csv"||this.headers.get("Accept")&&(!((d=this.headers.get("Accept"))===null||d===void 0)&&d.includes("application/vnd.pgrst.plan+text"))?v=N:v=JSON.parse(N))}const y=(u=this.headers.get("Prefer"))===null||u===void 0?void 0:u.match(/count=(exact|planned|estimated)/),j=(m=c.headers.get("content-range"))===null||m===void 0?void 0:m.split("/");y&&j&&j.length>1&&(p=parseInt(j[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(v)&&(v.length>1?(f={code:"PGRST116",details:`Results contain ${v.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},v=null,p=null,w=406,b="Not Acceptable"):v.length===1?v=v[0]:v=null)}else{const y=await c.text();try{f=JSON.parse(y),Array.isArray(f)&&c.status===404&&(v=[],f=null,w=200,b="OK")}catch{c.status===404&&y===""?(w=204,b="No Content"):f={message:y}}if(f&&this.isMaybeSingle&&(!((h=f==null?void 0:f.details)===null||h===void 0)&&h.includes("0 rows"))&&(f=null,w=200,b="OK"),f&&this.shouldThrowOnError)throw new e.default(f)}return{error:f,data:v,count:p,status:w,statusText:b}});return this.shouldThrowOnError||(l=l.catch(c=>{var d,u,m;return{error:{message:`${(d=c==null?void 0:c.name)!==null&&d!==void 0?d:"FetchError"}: ${c==null?void 0:c.message}`,details:`${(u=c==null?void 0:c.stack)!==null&&u!==void 0?u:""}`,hint:"",code:`${(m=c==null?void 0:c.code)!==null&&m!==void 0?m:""}`},data:null,count:null,status:0,statusText:""}})),l.then(a,i)}returns(){return this}overrideTypes(){return this}}return Bl.default=r,Bl}var nv;function AS(){if(nv)return zl;nv=1,Object.defineProperty(zl,"__esModule",{value:!0});const e=wi.__importDefault(ES());class r extends e.default{select(a){let i=!1;const o=(a??"*").split("").map(l=>/\s/.test(l)&&!i?"":(l==='"'&&(i=!i),l)).join("");return this.url.searchParams.set("select",o),this.headers.append("Prefer","return=representation"),this}order(a,{ascending:i=!0,nullsFirst:o,foreignTable:l,referencedTable:c=l}={}){const d=c?`${c}.order`:"order",u=this.url.searchParams.get(d);return this.url.searchParams.set(d,`${u?`${u},`:""}${a}.${i?"asc":"desc"}${o===void 0?"":o?".nullsfirst":".nullslast"}`),this}limit(a,{foreignTable:i,referencedTable:o=i}={}){const l=typeof o>"u"?"limit":`${o}.limit`;return this.url.searchParams.set(l,`${a}`),this}range(a,i,{foreignTable:o,referencedTable:l=o}={}){const c=typeof l>"u"?"offset":`${l}.offset`,d=typeof l>"u"?"limit":`${l}.limit`;return this.url.searchParams.set(c,`${a}`),this.url.searchParams.set(d,`${i-a+1}`),this}abortSignal(a){return this.signal=a,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.method==="GET"?this.headers.set("Accept","application/json"):this.headers.set("Accept","application/vnd.pgrst.object+json"),this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
443explain({analyze:a=!1,verbose:i=!1,settings:o=!1,buffers:l=!1,wal:c=!1,format:d="text"}={}){var u;const m=[a?"analyze":null,i?"verbose":null,o?"settings":null,l?"buffers":null,c?"wal":null].filter(Boolean).join("|"),h=(u=this.headers.get("Accept"))!==null&&u!==void 0?u:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${d}; for="${h}"; options=${m};`),d==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(a){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${a}`),this}}return zl.default=r,zl}var av;function Qp(){if(av)return Ll;av=1,Object.defineProperty(Ll,"__esModule",{value:!0});const e=wi.__importDefault(AS()),r=new RegExp("[,()]");class s extends e.default{eq(i,o){return this.url.searchParams.append(i,`eq.${o}`),this}neq(i,o){return this.url.searchParams.append(i,`neq.${o}`),this}gt(i,o){return this.url.searchParams.append(i,`gt.${o}`),this}gte(i,o){return this.url.searchParams.append(i,`gte.${o}`),this}lt(i,o){return this.url.searchParams.append(i,`lt.${o}`),this}lte(i,o){return this.url.searchParams.append(i,`lte.${o}`),this}like(i,o){return this.url.searchParams.append(i,`like.${o}`),this}likeAllOf(i,o){return this.url.searchParams.append(i,`like(all).{${o.join(",")}}`),this}likeAnyOf(i,o){return this.url.searchParams.append(i,`like(any).{${o.join(",")}}`),this}ilike(i,o){return this.url.searchParams.append(i,`ilike.${o}`),this}ilikeAllOf(i,o){return this.url.searchParams.append(i,`ilike(all).{${o.join(",")}}`),this}ilikeAnyOf(i,o){return this.url.searchParams.append(i,`ilike(any).{${o.join(",")}}`),this}is(i,o){return this.url.searchParams.append(i,`is.${o}`),this}in(i,o){const l=Array.from(new Set(o)).map(c=>typeof c=="string"&&r.test(c)?`"${c}"`:`${c}`).join(",");return this.url.searchParams.append(i,`in.(${l})`),this}contains(i,o){return typeof o=="string"?this.url.searchParams.append(i,`cs.${o}`):Array.isArray(o)?this.url.searchParams.append(i,`cs.{${o.join(",")}}`):this.url.searchParams.append(i,`cs.${JSON.stringify(o)}`),this}containedBy(i,o){return typeof o=="string"?this.url.searchParams.append(i,`cd.${o}`):Array.isArray(o)?this.url.searchParams.append(i,`cd.{${o.join(",")}}`):this.url.searchParams.append(i,`cd.${JSON.stringify(o)}`),this}rangeGt(i,o){return this.url.searchParams.append(i,`sr.${o}`),this}rangeGte(i,o){return this.url.searchParams.append(i,`nxl.${o}`),this}rangeLt(i,o){return this.url.searchParams.append(i,`sl.${o}`),this}rangeLte(i,o){return this.url.searchParams.append(i,`nxr.${o}`),this}rangeAdjacent(i,o){return this.url.searchParams.append(i,`adj.${o}`),this}overlaps(i,o){return typeof o=="string"?this.url.searchParams.append(i,`ov.${o}`):this.url.searchParams.append(i,`ov.{${o.join(",")}}`),this}textSearch(i,o,{config:l,type:c}={}){let d="";c==="plain"?d="pl":c==="phrase"?d="ph":c==="websearch"&&(d="w");const u=l===void 0?"":`(${l})`;return this.url.searchParams.append(i,`${d}fts${u}.${o}`),this}match(i){return Object.entries(i).forEach(([o,l])=>{this.url.searchParams.append(o,`eq.${l}`)}),this}not(i,o,l){return this.url.searchParams.append(i,`not.${o}.${l}`),this}or(i,{foreignTable:o,referencedTable:l=o}={}){const c=l?`${l}.or`:"or";return this.url.searchParams.append(c,`(${i})`),this}filter(i,o,l){return this.url.searchParams.append(i,`${o}.${l}`),this}}return Ll.default=s,Ll}var iv;function TS(){if(iv)return Ml;iv=1,Object.defineProperty(Ml,"__esModule",{value:!0});const e=wi.__importDefault(Qp());class r{constructor(a,{headers:i={},schema:o,fetch:l}){this.url=a,this.headers=new Headers(i),this.schema=o,this.fetch=l}select(a,i){const{head:o=!1,count:l}=i??{},c=o?"HEAD":"GET";let d=!1;const u=(a??"*").split("").map(m=>/\s/.test(m)&&!d?"":(m==='"'&&(d=!d),m)).join("");return this.url.searchParams.set("select",u),l&&this.headers.append("Prefer",`count=${l}`),new e.default({method:c,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch})}insert(a,{count:i,defaultToNull:o=!0}={}){var l;const c="POST";if(i&&this.headers.append("Prefer",`count=${i}`),o||this.headers.append("Prefer","missing=default"),Array.isArray(a)){const d=a.reduce((u,m)=>u.concat(Object.keys(m)),[]);if(d.length>0){const u=[...new Set(d)].map(m=>`"${m}"`);this.url.searchParams.set("columns",u.join(","))}}return new e.default({method:c,url:this.url,headers:this.headers,schema:this.schema,body:a,fetch:(l=this.fetch)!==null&&l!==void 0?l:fetch})}upsert(a,{onConflict:i,ignoreDuplicates:o=!1,count:l,defaultToNull:c=!0}={}){var d;const u="POST";if(this.headers.append("Prefer",`resolution=${o?"ignore":"merge"}-duplicates`),i!==void 0&&this.url.searchParams.set("on_conflict",i),l&&this.headers.append("Prefer",`count=${l}`),c||this.headers.append("Prefer","missing=default"),Array.isArray(a)){const m=a.reduce((h,f)=>h.concat(Object.keys(f)),[]);if(m.length>0){const h=[...new Set(m)].map(f=>`"${f}"`);this.url.searchParams.set("columns",h.join(","))}}return new e.default({method:u,url:this.url,headers:this.headers,schema:this.schema,body:a,fetch:(d=this.fetch)!==null&&d!==void 0?d:fetch})}update(a,{count:i}={}){var o;const l="PATCH";return i&&this.headers.append("Prefer",`count=${i}`),new e.default({method:l,url:this.url,headers:this.headers,schema:this.schema,body:a,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch})}delete({count:a}={}){var i;const o="DELETE";return a&&this.headers.append("Prefer",`count=${a}`),new e.default({method:o,url:this.url,headers:this.headers,schema:this.schema,fetch:(i=this.fetch)!==null&&i!==void 0?i:fetch})}}return Ml.default=r,Ml}var ov;function RD(){if(ov)return Dl;
443ov=1,Object.defineProperty(Dl,"__esModule",{value:!0});const t=wi,e=t.__importDefault(TS()),r=t.__importDefault(Qp());class s{constructor(i,{headers:o={},schema:l,fetch:c}={}){this.url=i,this.headers=new Headers(o),this.schemaName=l,this.fetch=c}from(i){const o=new URL(`${this.url}/${i}`);return new e.default(o,{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch})}schema(i){return new s(this.url,{headers:this.headers,schema:i,fetch:this.fetch})}rpc(i,o={},{head:l=!1,get:c=!1,count:d}={}){var u;let m;const h=new URL(`${this.url}/rpc/${i}`);let f;l||c?(m=l?"HEAD":"GET",Object.entries(o).filter(([p,w])=>w!==void 0).map(([p,w])=>[p,Array.isArray(w)?`{${w.join(",")}}`:`${w}`]).forEach(([p,w])=>{h.searchParams.append(p,w)})):(m="POST",f=o);const v=new Headers(this.headers);return d&&v.set("Prefer",`count=${d}`),new r.default({method:m,url:h,headers:v,schema:this.schemaName,body:f,fetch:(u=this.fetch)!==null&&u!==void 0?u:fetch})}}return Dl.default=s,Dl}Object.defineProperty(jt,"__esModule",{value:!0});var PS=jt.PostgrestError=$S=jt.PostgrestBuilder=BS=jt.PostgrestTransformBuilder=LS=jt.PostgrestFilterBuilder=DS=jt.PostgrestQueryBuilder=IS=jt.PostgrestClient=void 0;const ji=wi,RS=ji.__importDefault(RD());var IS=jt.PostgrestClient=RS.default;const OS=ji.__importDefault(TS());var DS=jt.PostgrestQueryBuilder=OS.default;const MS=ji.__importDefault(Qp());var LS=jt.PostgrestFilterBuilder=MS.default;const zS=ji.__importDefault(AS());var BS=jt.PostgrestTransformBuilder=zS.default;const FS=ji.__importDefault(ES());var $S=jt.PostgrestBuilder=FS.default;const US=ji.__importDefault(CS());PS=jt.PostgrestError=US.default;var VS=jt.default={PostgrestClient:RS.default,PostgrestQueryBuilder:OS.default,PostgrestFilterBuilder:MS.default,PostgrestTransformBuilder:zS.default,PostgrestBuilder:FS.default,PostgrestError:US.default};const ID=Ov({__proto__:null,get PostgrestBuilder(){return $S},get PostgrestClient(){return IS},get PostgrestError(){return PS},get PostgrestFilterBuilder(){return LS},get PostgrestQueryBuilder(){return DS},get PostgrestTransformBuilder(){return BS},default:VS},[jt]),{PostgrestClient:OD,PostgrestQueryBuilder:m8,PostgrestFilterBuilder:h8,PostgrestTransformBuilder:f8,PostgrestBuilder:p8,PostgrestError:x8}=VS||ID;class DD{static detectEnvironment(){var e;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((e=navigator.userAgent)===null||e===void 0)&&e.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};if(typeof process<"u"){const r=process.versions;if(r&&r.node){const s=r.node,a=parseInt(s.replace(/^v/,"").split(".")[0]);return a>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${a} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${a} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option: 444import ws from "ws" 445new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const e=this.detectEnvironment();if(e.constructor)return e.constructor;let r=e.error||"WebSocket not supported in this environment.";throw e.workaround&&(r+=` 446 447Suggested solution: ${e.workaround}`),new Error(r)}static createWebSocket(e,r){const s=this.getWebSocketConstructor();return new s(e,r)}static isWebSocketSupported(){try{const e=this.detectEnvironment();return e.type==="native"||e.type==="ws"}catch{return!1}}}const MD="2.80.0",LD=`realtime-js/${MD}`,zD="1.0.0",Kh=1e4,BD=1e3,FD=100;var to;(function(t){t[t.connecting=0]="connecting",t[t.open=1]="open",t[t.closing=2]="closing",t[t.closed=3]="closed"})(to||(to={}));var Xe;(function(t){t.closed="closed",t.errored="errored",t.joined="joined",t.joining="joining",t.leaving="leaving"})(Xe||(Xe={}));var vr;(function(t){t.close="phx_close",t.error="phx_error",t.join="phx_join",t.reply="phx_reply",t.leave="phx_leave",t.access_token="access_token"})(vr||(vr={}));var Zh;(function(t){t.websocket="websocket"})(Zh||(Zh={}));var bn;(function(t){t.Connecting="connecting",t.Open="open",t.Closing="closing",t.Closed="closed"})(bn||(bn={}));class $D{constructor(){this.HEADER_LENGTH=1}decode(e,r){return e.constructor===ArrayBuffer?r(this._binaryDecode(e)):r(typeof e=="string"?JSON.parse(e):{})}_binaryDecode(e){const r=new DataView(e),s=new TextDecoder;return this._decodeBroadcast(e,r,s)}_decodeBroadcast(e,r,s){const a=r.getUint8(1),i=r.getUint8(2);let o=this.HEADER_LENGTH+2;const l=s.decode(e.slice(o,o+a));o=o+a;const c=s.decode(e.slice(o,o+i));o=o+i;const d=JSON.parse(s.decode(e.slice(o,e.byteLength)));return{ref:null,topic:l,event:c,payload:d}}}class WS{constructor(e,r){this.callback=e,this.timerCalc=r,this.timer=void 0,this.tries=0,this.callback=e,this.timerCalc=r}reset(){this.tries=0,clearTimeout(this.timer),this.timer=void 0}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var Pe;(function(t){t.abstime="abstime",t.bool="bool",t.date="date",t.daterange="daterange",t.float4="float4",t.float8="float8",t.int2="int2",t.int4="int4",t.int4range="int4range",t.int8="int8",t.int8range="int8range",t.json="json",t.jsonb="jsonb",t.money="money",t.numeric="numeric",t.oid="oid",t.reltime="reltime",t.text="text",t.time="time",t.timestamp="timestamp",t.timestamptz="timestamptz",t.timetz="timetz",t.t
447srange="tsrange",t.tstzrange="tstzrange"})(Pe||(Pe={}));const lv=(t,e,r={})=>{var s;const a=(s=r.skipTypes)!==null&&s!==void 0?s:[];return e?Object.keys(e).reduce((i,o)=>(i[o]=UD(o,t,e,a),i),{}):{}},UD=(t,e,r,s)=>{const a=e.find(l=>l.name===t),i=a==null?void 0:a.type,o=r[t];return i&&!s.includes(i)?HS(i,o):Jh(o)},HS=(t,e)=>{if(t.charAt(0)==="_"){const r=t.slice(1,t.length);return qD(e,r)}switch(t){case Pe.bool:return VD(e);case Pe.float4:case Pe.float8:case Pe.int2:case Pe.int4:case Pe.int8:case Pe.numeric:case Pe.oid:return WD(e);case Pe.json:case Pe.jsonb:return HD(e);case Pe.timestamp:return GD(e);case Pe.abstime:case Pe.date:case Pe.daterange:case Pe.int4range:case Pe.int8range:case Pe.money:case Pe.reltime:case Pe.text:case Pe.time:case Pe.timestamptz:case Pe.timetz:case Pe.tsrange:case Pe.tstzrange:return Jh(e);default:return Jh(e)}},Jh=t=>t,VD=t=>{switch(t){case"t":return!0;case"f":return!1;default:return t}},WD=t=>{if(typeof t=="string"){const e=parseFloat(t);if(!Number.isNaN(e))return e}return t},HD=t=>{if(typeof t=="string")try{return JSON.parse(t)}catch(e){return console.log(`JSON parse error: ${e}`),t}return t},qD=(t,e)=>{if(typeof t!="string")return t;const r=t.length-1,s=t[r];if(t[0]==="{"&&s==="}"){let i;const o=t.slice(1,r);try{i=JSON.parse("["+o+"]")}catch{i=o?o.split(","):[]}return i.map(l=>HS(e,l))}return t},GD=t=>typeof t=="string"?t.replace(" ","T"):t,qS=t=>{const e=new URL(t);return e.protocol=e.protocol.replace(/^ws/i,"http"),e.pathname=e.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),e.pathname===""||e.pathname==="/"?e.pathname="/api/broadcast":e.pathname=e.pathname+"/api/broadcast",e.href};class Xu{constructor(e,r,s={},a=Kh){this.channel=e,this.event=r,this.payload=s,this.timeout=a,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(e){this.timeout=e,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(e){this.payload=Object.assign(Object.assign({},this.payload),e)}receive(e,r){var s;return this._hasReceived(e)&&r((s=this.receivedResp)===null||s===void 0?void 0:s.response),this.recHooks.push({status:e,callback:r}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const e=r=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=r,this._matchReceive(r)};this.channel._on(this.refEvent,{},e),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(e,r){this.refEvent&&this.channel._trigger(this.refEvent,{status:e,response:r})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:e,response:r}){this.recHooks.filter(s=>s.status===e).forEach(s=>s.callback(r))}_hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}}var cv;(function(t){t.SYNC="sync",t.JOIN="join",t.LEAVE="leave"})(cv||(cv={}));class ro{constructor(e,r){this.channel=e,this.state={},this.pendingDiffs=[],this.joinRef=null,this.enabled=!1,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const s=(r==null?void 0:r.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(s.state,{},a=>{const{onJoin:i,onLeave:o,onSync:l}=this.caller;this.joinRef=this.channel._joinRef(),this.state=ro.syncState(this.state,a,i,o),this.pendingDiffs.forEach(c=>{this.state=ro.syncDiff(this.state,c,i,o)}),this.pendingDiffs=[],l()}),this.channel._on(s.diff,{},a=>{const{onJoin:i,onLeave:o,onSync:l}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(a):(this.state=ro.syncDiff(this.state,a,i,o),l())}),this.onJoin((a,i,o)=>{this.channel._trigger("presence",{event:"join",key:a,currentPresences:i,newPresences:o})}),this.onLeave((a,i,o)=>{this.channel._trigger("presence",{event:"leave",key:a,currentPresences:i,leftPresences:o})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(e,r,s,a){const i=this.cloneDeep(e),o=this.transformState(r),l={},c={};return this.map(i,(d,u)=>{o[d]||(c[d]=u)}),this.map(o,(d,u)=>{const m=i[d];if(m){const h=u.map(w=>w.presence_ref),f=m.map(w=>w.presence_ref),v=u.filter(w=>f.indexOf(w.presence_ref)<0),p=m.filter(w=>h.indexOf(w.presence_ref)<0);v.length>0&&(l[d]=v),p.length>0&&(c[d]=p)}else l[d]=u}),this.syncDiff(i,{joins:l,leaves:c},s,a)}static syncDiff(e,r,s,a){const{joins:i,leaves:o}={joins:this.transformState(r.joins),leaves:this.transformState(r.leaves)};return s||(s=()=>{}),a||(a=()=>{}),this.map(i,(l,c)=>{var d;const u=(d=e[l])!==null&&d!==void 0?d:[];if(e[l]=this.cloneDeep(c),u.length>0){const m=e[l].map(f=>f.presence_ref),h=u.filter(f=>m.indexOf(f.presence_ref)<0);e[l].unshift(...h)}s(l,u,c)}),this.map(o,(l,c)=>{let d=e[l];
447if(!d)return;const u=c.map(m=>m.presence_ref);d=d.filter(m=>u.indexOf(m.presence_ref)<0),e[l]=d,a(l,d,c),d.length===0&&delete e[l]}),e}static map(e,r){return Object.getOwnPropertyNames(e).map(s=>r(s,e[s]))}static transformState(e){return e=this.cloneDeep(e),Object.getOwnPropertyNames(e).reduce((r,s)=>{const a=e[s];return"metas"in a?r[s]=a.metas.map(i=>(i.presence_ref=i.phx_ref,delete i.phx_ref,delete i.phx_ref_prev,i)):r[s]=a,r},{})}static cloneDeep(e){return JSON.parse(JSON.stringify(e))}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var dv;(function(t){t.ALL="*",t.INSERT="INSERT",t.UPDATE="UPDATE",t.DELETE="DELETE"})(dv||(dv={}));var so;(function(t){t.BROADCAST="broadcast",t.PRESENCE="presence",t.POSTGRES_CHANGES="postgres_changes",t.SYSTEM="system"})(so||(so={}));var Gr;(function(t){t.SUBSCRIBED="SUBSCRIBED",t.TIMED_OUT="TIMED_OUT",t.CLOSED="CLOSED",t.CHANNEL_ERROR="CHANNEL_ERROR"})(Gr||(Gr={}));class Yp{constructor(e,r={config:{}},s){var a,i;if(this.topic=e,this.params=r,this.socket=s,this.bindings={},this.state=Xe.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=e.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},r.config),this.timeout=this.socket.timeout,this.joinPush=new Xu(this,vr.join,this.params,this.timeout),this.rejoinTimer=new WS(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=Xe.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(o=>o.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=Xe.closed,this.socket._remove(this)}),this._onError(o=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,o),this.state=Xe.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=Xe.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("error",o=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,o),this.state=Xe.errored,this.rejoinTimer.scheduleTimeout())}),this._on(vr.reply,{},(o,l)=>{this._trigger(this._replyEventName(l),o)}),this.presence=new ro(this),this.broadcastEndpointURL=qS(this.socket.endPoint),this.private=this.params.config.private||!1,!this.private&&(!((i=(a=this.params.config)===null||a===void 0?void 0:a.broadcast)===null||i===void 0)&&i.replay))throw`tried to use replay on public channel '${this.topic}'. It must be a private channel.`}subscribe(e,r=this.timeout){var s,a,i;if(this.socket.isConnected()||this.socket.connect(),this.state==Xe.closed){const{config:{broadcast:o,presence:l,private:c}}=this.params,d=(a=(s=this.bindings.postgres_changes)===null||s===void 0?void 0:s.map(f=>f.filter))!==null&&a!==void 0?a:[],u=!!this.bindings[so.PRESENCE]&&this.bindings[so.PRESENCE].length>0||((i=this.params.config.presence)===null||i===void 0?void 0:i.enabled)===!0,m={},h={broadcast:o,presence:Object.assign(Object.assign({},l),{enabled:u}),postgres_changes:d,private:c};this.socket.accessTokenValue&&(m.access_token=this.socket.accessTokenValue),this._onError(f=>e==null?void 0:e(Gr.CHANNEL_ERROR,f)),this._onClose(()=>e==null?void 0:e(Gr.CLOSED)),this.updateJoinPayload(Object.assign({config:h},m)),this.joinedOnce=!0,this._rejoin(r),this.joinPush.receive("ok",async({postgres_changes:f})=>{var v;if(this.socket.setAuth(),f===void 0){e==null||e(Gr.SUBSCRIBED);return}else{const p=this.bindings.postgres_changes,w=(v=p==null?void 0:p.length)!==null&&v!==void 0?v:0,b=[];for(let g=0;g<w;g++){const y=p[g],{filter:{event:j,schema:N,table:S,filter:_}}=y,E=f&&f[g];if(E&&E.event===j&&E.schema===N&&E.table===S&&E.filter===_)b.push(Object.assign(Object.assign({},y),{id:E.id}));else{this.unsubscribe(),this.state=Xe.errored,e==null||e(Gr.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=b,e&&e(Gr.SUBSCRIBED);return}}).receive("error",f=>{this.state=Xe.errored,e==null||e(Gr.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(f).join(", ")||"error")))}).receive("timeout",()=>{e==null||e(Gr.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(e,r={}){return await this.send({type:"presence",event:"track",payload:e},r.timeout||this.timeout)}async untrack(e={}){return await this.send({type:"presence",event:"untrack"},e)}on(e,r,s){return this.state===Xe.joined&&e===so.PRESENCE&&(this.socket.log("channel",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(()=>this.subscribe())),this._on(e,r,s)}async httpSend(e,r,s={}){var a;const i=this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:"";if(r==null)return Promise.reject("Payload is required for httpSend()");const o={method:"POST",headers:{Authorization:i,apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:e,payload:r,private:this.private}]})},l=await this._fetchWithTimeout(this.broadcastEndpointURL,o,(a=s.timeout)!==null&&a!==void 0?a:this.timeout);if(l.status===202)return{success:!0};let c=l.statusText;
447try{const d=await l.json();c=d.error||d.message||c}catch{}return Promise.reject(new Error(c))}async send(e,r={}){var s,a;if(!this._canPush()&&e.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated in the future. Please use httpSend() explicitly for REST delivery.");const{event:i,payload:o}=e,c={method:"POST",headers:{Authorization:this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:o,private:this.private}]})};try{const d=await this._fetchWithTimeout(this.broadcastEndpointURL,c,(s=r.timeout)!==null&&s!==void 0?s:this.timeout);return await((a=d.body)===null||a===void 0?void 0:a.cancel()),d.ok?"ok":"error"}catch(d){return d.name==="AbortError"?"timed out":"error"}}else return new Promise(i=>{var o,l,c;const d=this._push(e.type,e,r.timeout||this.timeout);e.type==="broadcast"&&!(!((c=(l=(o=this.params)===null||o===void 0?void 0:o.config)===null||l===void 0?void 0:l.broadcast)===null||c===void 0)&&c.ack)&&i("ok"),d.receive("ok",()=>i("ok")),d.receive("error",()=>i("error")),d.receive("timeout",()=>i("timed out"))})}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(e=this.timeout){this.state=Xe.leaving;const r=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(vr.close,"leave",this._joinRef())};this.joinPush.destroy();let s=null;return new Promise(a=>{s=new Xu(this,vr.leave,{},e),s.receive("ok",()=>{r(),a("ok")}).receive("timeout",()=>{r(),a("timed out")}).receive("error",()=>{a("error")}),s.send(),this._canPush()||s.trigger("ok",{})}).finally(()=>{s==null||s.destroy()})}teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=Xe.closed,this.bindings={}}async _fetchWithTimeout(e,r,s){const a=new AbortController,i=setTimeout(()=>a.abort(),s),o=await this.socket.fetch(e,Object.assign(Object.assign({},r),{signal:a.signal}));return clearTimeout(i),o}_push(e,r,s=this.timeout){if(!this.joinedOnce)throw`tried to push '${e}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let a=new Xu(this,e,r,s);return this._canPush()?a.send():this._addToPushBuffer(a),a}_addToPushBuffer(e){if(e.startTimeout(),this.pushBuffer.push(e),this.pushBuffer.length>FD){const r=this.pushBuffer.shift();r&&(r.destroy(),this.socket.log("channel",`discarded push due to buffer overflow: ${r.event}`,r.payload))}}_onMessage(e,r,s){return r}_isMember(e){return this.topic===e}_joinRef(){return this.joinPush.ref}_trigger(e,r,s){var a,i;const o=e.toLocaleLowerCase(),{close:l,error:c,leave:d,join:u}=vr;if(s&&[l,c,d,u].indexOf(o)>=0&&s!==this._joinRef())return;let h=this._onMessage(o,r,s);if(r&&!h)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(o)?(a=this.bindings.postgres_changes)===null||a===void 0||a.filter(f=>{var v,p,w;return((v=f.filter)===null||v===void 0?void 0:v.event)==="*"||((w=(p=f.filter)===null||p===void 0?void 0:p.event)===null||w===void 0?void 0:w.toLocaleLowerCase())===o}).map(f=>f.callback(h,s)):(i=this.bindings[o])===null||i===void 0||i.filter(f=>{var v,p,w,b,g,y;if(["broadcast","presence","postgres_changes"].includes(o))if("id"in f){const j=f.id,N=(v=f.filter)===null||v===void 0?void 0:v.event;return j&&((p=r.ids)===null||p===void 0?void 0:p.includes(j))&&(N==="*"||(N==null?void 0:N.toLocaleLowerCase())===((w=r.data)===null||w===void 0?void 0:w.type.toLocaleLowerCase()))}else{const j=(g=(b=f==null?void 0:f.filter)===null||b===void 0?void 0:b.event)===null||g===void 0?void 0:g.toLocaleLowerCase();return j==="*"||j===((y=r==null?void 0:r.event)===null||y===void 0?void 0:y.toLocaleLowerCase())}else return f.type.toLocaleLowerCase()===o}).map(f=>{if(typeof h=="object"&&"ids"in h){const v=h.data,{schema:p,table:w,commit_timestamp:b,type:g,errors:y}=v;h=Object.assign(Object.assign({},{schema:p,table:w,commit_timestamp:b,eventType:g,new:{},old:{},errors:y}),this._getPayloadRecords(v))}f.callback(h,s)})}_isClosed(){return this.state===Xe.closed}_isJoined(){return this.state===Xe.joined}_isJoining(){return this.state===Xe.joining}_isLeaving(){return this.state===Xe.leaving}_replyEventName(e){return`chan_reply_${e}`}_on(e,r,s){const a=e.toLocaleLowerCase(),i={type:a,filter:r,callback:s};return this.bindings[a]?this.bindings[a].push(i):this.bindings[a]=[i],this}_off(e,r){const s=e.toLocaleLowerCase();return this.bindings[s]&&(this.bindings[s]=this.bindings[s].filter(a=>{var i;return!(((i=a.type)===null||i===void 0?void 0:i.toLocaleLowerCase())===s&&Yp.isEqual(a.filter,r))})),this}static isEqual(e,r){if(Object.keys(e).length!==Object.keys(r).length)return!1;for(const s in e)if(e[s]!==r[s])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(e){this._on(vr.close,{},e)}_onError(e){this._on(vr.error,{},r=>e(r))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(e=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=Xe.joining,this.joinPush.resend(e))}_getPayloadRecords(e){const r={new:{},old:{}};return(e.type==="INSERT"||e.type==="UPDATE")&&(r.new=lv(e.columns,e.record)),(e.type==="UPDATE"||e.type==="DELETE")&&(r.old=lv(e.columns,e.old_record)),r}}const em=()=>{},$l={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},QD=[1e3,2e3,5e3,1e4],YD=1e4,KD=` 448 addEventListener("message", (e) => { 449 if (e.data.event === "start") { 450 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 451 } 452 });`;class ZD{constructor(e,r){var s;if(this.accessTokenValue=null,this.apiKey=null,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=Kh,this.transport=null,this.heartbeatIntervalMs=$l.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=em,this.ref=0,this.reconnectTimer=null,this.logger=em,this.conn=null,this.sendBuffer=[],this.serializer
452=new $D,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState="disconnected",this._wasManualDisconnect=!1,this._authPromise=null,this._resolveFetch=a=>a?(...i)=>a(...i):(...i)=>fetch(...i),!(!((s=r==null?void 0:r.params)===null||s===void 0)&&s.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=r.params.apikey,this.endPoint=`${e}/${Zh.websocket}`,this.httpEndpoint=qS(e),this._initializeOptions(r),this._setupReconnectionTimer(),this.fetch=this._resolveFetch(r==null?void 0:r.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.conn!==null&&this.isConnected())){if(this._setConnectionState("connecting"),this._setAuthSafely("connect"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=DD.createWebSocket(this.endpointURL())}catch(e){this._setConnectionState("disconnected");const r=e.message;throw r.includes("Node.js")?new Error(`${r} 453 454To use Realtime in Node.js, you need to provide a WebSocket implementation: 455 456Option 1: Use Node.js 22+ which has native WebSocket support 457Option 2: Install and provide the "ws" package: 458 459 npm install ws 460 461 import ws from "ws" 462 const client = new RealtimeClient(url, { 463 ...options, 464 transport: ws 465 })`):new Error(`WebSocket not available: ${r}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:zD}))}disconnect(e,r){if(!this.isDisconnecting())if(this._setConnectionState("disconnecting",!0),this.conn){const s=setTimeout(()=>{this._setConnectionState("disconnected")},100);this.conn.onclose=()=>{clearTimeout(s),this._setConnectionState("disconnected")},e?this.conn.close(e,r??""):this.conn.close(),this._teardownConnection()}else this._setConnectionState("disconnected")}getChannels(){return this.channels}async removeChannel(e){const r=await e.unsubscribe();return this.channels.length===0&&this.disconnect(),r}async removeAllChannels(){const e=await Promise.all(this.channels.map(r=>r.unsubscribe()));return this.channels=[],this.disconnect(),e}log(e,r,s){this.logger(e,r,s)}connectionState(){switch(this.conn&&this.conn.readyState){case to.connecting:return bn.Connecting;case to.open:return bn.Open;case to.closing:return bn.Closing;default:return bn.Closed}}isConnected(){return this.connectionState()===bn.Open}isConnecting(){return this._connectionState==="connecting"}isDisconnecting(){return this._connectionState==="disconnecting"}channel(e,r={config:{}}){const s=`realtime:${e}`,a=this.getChannels().find(i=>i.topic===s);if(a)return a;{const i=new Yp(`realtime:${e}`,r,this);return this.channels.push(i),i}}push(e){const{topic:r,event:s,payload:a,ref:i}=e,o=()=>{this.encode(e,l=>{var c;(c=this.conn)===null||c===void 0||c.send(l)})};this.log("push",`${r} ${s} (${i})`,a),this.isConnected()?o():this.sendBuffer.push(o)}async setAuth(e=null){this._authPromise=this._performAuth(e);try{await this._authPromise}finally{this._authPromise=null}}async sendHeartbeat(){var e;if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(r){this.log("error","error in heartbeat callback",r)}return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(r){this.log("error","error in heartbeat callback",r)}this._wasManualDisconnect=!1,(e=this.conn)===null||e===void 0||e.close(BD,"heartbeat timeout"),setTimeout(()=>{var r;this.isConnected()||(r=this.reconnectTimer)===null||r===void 0||r.sc
465heduleTimeout()},$l.HEARTBEAT_TIMEOUT_FALLBACK);return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(r){this.log("error","error in heartbeat callback",r)}this._setAuthSafely("heartbeat")}onHeartbeat(e){this.heartbeatCallback=e}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}_makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}_leaveOpenTopic(e){let r=this.channels.find(s=>s.topic===e&&(s._isJoined()||s._isJoining()));r&&(this.log("transport",`leaving duplicate topic "${e}"`),r.unsubscribe())}_remove(e){this.channels=this.channels.filter(r=>r.topic!==e.topic)}_onConnMessage(e){this.decode(e.data,r=>{if(r.topic==="phoenix"&&r.event==="phx_reply")try{this.heartbeatCallback(r.payload.status==="ok"?"ok":"error")}catch(d){this.log("error","error in heartbeat callback",d)}r.ref&&r.ref===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null);const{topic:s,event:a,payload:i,ref:o}=r,l=o?`(${o})`:"",c=i.status||"";this.log("receive",`${c} ${s} ${a} ${l}`.trim(),i),this.channels.filter(d=>d._isMember(s)).forEach(d=>d._trigger(a,i,o)),this._triggerStateCallbacks("message",r)})}_clearTimer(e){var r;e==="heartbeat"&&this.heartbeatTimer?(clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0):e==="reconnect"&&((r=this.reconnectTimer)===null||r===void 0||r.reset())}_clearAllTimers(){this._clearTimer("heartbeat"),this._clearTimer("reconnect")}_setupConnectionHandlers(){this.conn&&("binaryType"in this.conn&&(this.conn.binaryType="arraybuffer"),this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=e=>this._onConnError(e),this.conn.onmessage=e=>this._onConnMessage(e),this.conn.onclose=e=>this._onConnClose(e))}_teardownConnection(){this.conn&&(this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null),this._clearAllTimers(),this.channels.forEach(e=>e.teardown())}_onConnOpen(){this._setConnectionState("connected"),this.log("transport",`connected to ${this.endpointURL()}`),this.flushSendBuffer(),this._clearTimer("reconnect"),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this._triggerStateCallbacks("open")}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const e=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(e),this.workerRef.onerror=r=>{this.log("worker","worker error",r.message),this.workerRef.terminate()},this.workerRef.onmessage=r=>{r.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_onConnClose(e){var r;this._setConnectionState("disconnected"),this.log("transport","close",e),this._triggerChanError(),this._clearTimer("heartbeat"),this._wasManualDisconnect||(r=this.reconnectTimer)===null||r===void 0||r.sc
465heduleTimeout(),this._triggerStateCallbacks("close",e)}_onConnError(e){this._setConnectionState("disconnected"),this.log("transport",`${e}`),this._triggerChanError(),this._triggerStateCallbacks("error",e)}_triggerChanError(){this.channels.forEach(e=>e._trigger(vr.error))}_appendParams(e,r){if(Object.keys(r).length===0)return e;const s=e.match(/\?/)?"&":"?",a=new URLSearchParams(r);return`${e}${s}${a}`}_workerObjectUrl(e){let r;if(e)r=e;else{const s=new Blob([KD],{type:"application/javascript"});r=URL.createObjectURL(s)}return r}_setConnectionState(e,r=!1){this._connectionState=e,e==="connecting"?this._wasManualDisconnect=!1:e==="disconnecting"&&(this._wasManualDisconnect=r)}async _performAuth(e=null){let r;e?r=e:this.accessToken?r=await this.accessToken():r=this.accessTokenValue,this.accessTokenValue!=r&&(this.accessTokenValue=r,this.channels.forEach(s=>{const a={access_token:r,version:LD};r&&s.updateJoinPayload(a),s.joinedOnce&&s._isJoined()&&s._push(vr.access_token,{access_token:r})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(e="general"){this.setAuth().catch(r=>{this.log("error",`error setting auth in ${e}`,r)})}_triggerStateCallbacks(e,r){try{this.stateChangeCallbacks[e].forEach(s=>{try{s(r)}catch(a){this.log("error",`error in ${e} callback`,a)}})}catch(s){this.log("error",`error triggering ${e} callbacks`,s)}}_setupReconnectionTimer(){this.reconnectTimer=new WS(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},$l.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(e){var r,s,a,i,o,l,c,d,u;if(this.transport=(r=e==null?void 0:e.transport)!==null&&r!==void 0?r:null,this.timeout=(s=e==null?void 0:e.timeout)!==null&&s!==void 0?s:Kh,this.heartbeatIntervalMs=(a=e==null?void 0:e.heartbeatIntervalMs)!==null&&a!==void 0?a:$l.HEARTBEAT_INTERVAL,this.worker=(i=e==null?void 0:e.worker)!==null&&i!==void 0?i:!1,this.accessToken=(o=e==null?void 0:e.accessToken)!==null&&o!==void 0?o:null,this.heartbeatCallback=(l=e==null?void 0:e.heartbeatCallback)!==null&&l!==void 0?l:em,e!=null&&e.params&&(this.params=e.params),e!=null&&e.logger&&(this.logger=e.logger),(e!=null&&e.logLevel||e!=null&&e.log_level)&&(this.logLevel=e.logLevel||e.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),this.reconnectAfterMs=(c=e==null?void 0:e.reconnectAfterMs)!==null&&c!==void 0?c:m=>QD[m-1]||YD,this.encode=(d=e==null?void 0:e.encode)!==null&&d!==void 0?d:(m,h)=>h(JSON.stringify(m)),this.decode=(u=e==null?void 0:e.decode)!==null&&u!==void 0?u:this.serializer.decode.bind(this.serializer),this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=e==null?void 0:e.workerUrl}}}class Kp extends Error{constructor(e){super(e),this.__isStorageError=!0,this.name="StorageError"}}function Be(t){return typeof t=="object"&&t!==null&&"__isStorageError"in t}class JD extends Kp{constructor(e,r,s){super(e),this.name="StorageApiError",this.status=r,this.statusCode=s}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}}class Xh extends Kp{constructor(e,r){super(e),this.name="StorageUnknownError",this.originalError=r}}const Zp=t=>t?(...e)=>t(...e):(...e)=>fetch(...e),XD=()=>Response,ef=t=>{if(Array.isArray(t))return t.map(r=>ef(r));if(typeof t=="function"||t!==Object(t))return t;const e={};return Object.entries(t).forEach(([r,s])=>{const a=r.replace(/([-_][a-z])/gi,i=>i.toUpperCase().replace(/[-_]/g,""));e[a]=ef(s)}),e},e5=t=>{if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},tm=t=>{var e;return t.msg||t.message||t.error_description||(typeof t.error=="string"?t.error:(e=t.error)===null||e===void 0?void 0:e.message)||JSON.stringify(t)},t5=(t,e,r)=>Z(void 0,void 0,void 0,function*(){const s=yield XD();t instanceof s&&!(r!=null&&r.noResolveJson)?t.json().then(a=>{const i=t.status||500,o=(a==null?void 0:a.statusCode)||i+"";e(new JD(tm(a),i,o))}).catch(a=>{e(new Xh(tm(a),a))}):e(new Xh(tm(t),t))}),r5=(t,e,r,s)=>{const a={method:t,headers:(e==null?void 0:e.headers)||{}};return t==="GET"||!s?a:(e5(s)?(a.headers=Object.assign({"Content-Type":"application/json"},e==null?void 0:e.headers),a.body=JSON.stringify(s)):a.body=s,e!=null&&e.duplex&&(a.duplex=e.duplex),Object.assign(Object.assign({},a),r))};function nl(t,e,r,s,a,i){return Z(this,void 0,void 0,function*(){return new Promise((o,l)=>{t(r,r5(e,s,a,i)).then(c=>{if(!c.ok)throw c;return s!=null&&s.noResolveJson?c:c.json()}).then(c=>o(c)).catch(c=>t5(c,l,s))})})}function Bo(t,e,r,s){return Z(this,void 0,void 0,function*(){return nl(t,"GET",e,r,s)})}function pr(t,e,r,s,a){return Z(this,void 0,void 0,function*(){return nl(t,"POST",e,s,a,r)})}function tf(t,e,r,s,a){return Z(this,void 0,void 0,function*(){return nl(t,"PUT",e,s,a,r)})}function s5(t,e,r,s){return Z(this,void 0,void 0,function*(){return nl(t,"HEAD",e,Object.assign(Object.assign({},r),{noResolveJson:!0}),s)})}function Jp(t,e,r,s,a){return Z(this,void 0,void 0,function*(){return nl(t,"DELETE",e,s,a,r)})}class n5{constructor(e,r){this.downloadFn=e,this.shouldThrowOnError=r}then(e,r){return this.execute().then(e,r)}execute(){return Z(this,void 0,void 0,function*(){try{return{data:(yield this.downloadFn()).body,error:null}}catch(e){if(this.shouldThrowOnError)throw e;if(Be(e))return{data:null,error:e};throw e}})}}var GS;class a5{constructor(e,r){this.downloadFn=e,this.shouldThrowOnError=r,this[GS]="BlobDownloadBuilder",this.promise=null}asStream(){return new n5(this.downloadFn,this.shouldThrowOnError)}then(e,r){return this.getPromise().then(e,r)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}execute(){return Z(this,void 0,void 0,function*(){try{return{data:yield(yield this.downloadFn()).blob(),error:null}}catch(e){if(this.shouldThrowOnError)throw e;if(Be(e))return{data:null,error:e};throw e}})}}GS=Symbol.toStringTag;const i5={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},uv={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class o5{constructor(e,r={},s,a){this.shouldThrowOnError=!1,this.url=e,this.headers=r,this.bucketId=s,this.fetch=Zp(a)}throwOnError(){return this.shouldThrowOnError=!0,this}uploadOrUpdate(e,r,s,a){return Z(this,void 0,void 0,function*(){try{let i;const o=Object.assign(Object.assign({},uv),a);let l=Object.assign(Object.assign({},this.headers),e==="POST"&&{"x-upsert":String(o.upsert)});const c=o.metadata;typeof Blob<"u"&&s instanceof Blob?(i=new FormData,i.append("cacheControl",o.cacheControl),c&&i.append("metadata",this.encodeMetadata(c)),i.append("",s)):typeof FormData<"u"&&s instanceof FormData?(i=s,i.has("cacheControl")||i.append("cacheControl",o.cacheControl),c&&!i.has("metadata")&&i.append("metadata",this.encodeMetadata(c))):(i=s,l["cache-control"]=`max-age=${o.cacheControl}`,l["content-type"]=o.contentType,c&&(l["x-metadata"]=this.toBase64(this.encodeMetadata(c))),(typeof ReadableStream<"u"&&i instanceof ReadableStream||i&&typeof i=="object"&&"pipe"in i&&typeof i.pipe=="function")&&!o.duplex&&(o.duplex="half")),a!=null&&a.headers&&(l=Object.assign(Object.assign({},l),a.headers));const d=this._removeEmptyFolders(r),u=this._getFinalPath(d),m=yield(e=="PUT"?tf:pr)(this.fetch,`${this.url}/object/${u}`,i,Object.assign({headers:l},o!=null&&o.duplex?{duplex:o.duplex}:{}));return{data:{path:d,id:m.Id,fullPath:m.Key},error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(Be(i))return{data:null,error:i};throw i}})}upload(e,r,s){return Z(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",e,r,s)})}uploadToSignedUrl(e,r,s,a){return Z(this,void 0,void 0,function*(){const i=this._removeEmptyFolders(e),o=this._getFinalPath(i),l=new URL(this.url+`/object/upload/sign/${o}`);l.searchParams.set("token",r);try{let c;const d=Object.assign({upsert:uv.upsert},a),u=Object.assign(Object.assign({},this.headers),{"x-upsert":String(d.upsert)});typeof Blob<"u"&&s instanceof Blob?(c=new FormData,c.append("cacheControl",d.cacheControl),c.append("",s)):typeof FormData<"u"&&s instanceof FormData?(c=s,c.append("cacheControl",d.cacheControl)):(c=s,u["cache-control"]=`max-age=${d.cacheControl}`,u["content-type"]=d.contentType);const m=yield tf(this.fetch,l.toString(),c,{headers:u});return{data:{path:i,fullPath:m.Key},error:null}}catch(c){if(this.shouldThrowOnError)throw c;if(Be(c))return{data:null,error:c};throw c}})}createSignedUploadUrl(e,r){return Z(this,void 0,void 0,function*(){try{let s=this._getFinalPath(e);const a=Object.assign({},this.headers);r!=null&&r.upsert&&(a["x-upsert"]="true");const i=yield pr(this.fetch,`${this.url}/object/upload/sign/${s}`,{},{headers:a}),o=new URL(this.url+i.url),l=o.searchParams.get("token");if(!l)throw new Kp("No token returned by API");return{data:{signedUrl:o.toString(),path:e,token:l},error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(Be(s))return{data:null,error:s};throw s}})}update(e,r,s){return Z(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",e,r,s)})}move(e,r,s){return Z(this,void 0,void 0,function*(){try{return{data:yield pr(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:e,destinationKey:r,destinationBucket:s==null?void 0:s.destinationBucket},{headers:this.headers}),error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(Be(a))return{data:null,error:a};throw a}})}copy(e,r,s){return Z(this,void 0,void 0,function*(){try{return{data:{path:(yield pr(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:e,destinationKey:r,destinationBucket:s==null?void 0:s.destinationBucket},{headers:this.headers})).Key},error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(Be(a))return{data:null,error:a};throw a}})}createSignedUrl(e,r,s){return Z(this,void 0,void 0,function*(){try{let a=this._getFinalPath(e),i=yield pr(this.fetch,`${this.url}/object/sign/${a}
465`,Object.assign({expiresIn:r},s!=null&&s.transform?{transform:s.transform}:{}),{headers:this.headers});const o=s!=null&&s.download?`&download=${s.download===!0?"":s.download}`:"";return i={signedUrl:encodeURI(`${this.url}${i.signedURL}${o}`)},{data:i,error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(Be(a))return{data:null,error:a};throw a}})}createSignedUrls(e,r,s){return Z(this,void 0,void 0,function*(){try{const a=yield pr(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:r,paths:e},{headers:this.headers}),i=s!=null&&s.download?`&download=${s.download===!0?"":s.download}`:"";return{data:a.map(o=>Object.assign(Object.assign({},o),{signedUrl:o.signedURL?encodeURI(`${this.url}${o.signedURL}${i}`):null})),error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(Be(a))return{data:null,error:a};throw a}})}download(e,r){const a=typeof(r==null?void 0:r.transform)<"u"?"render/image/authenticated":"object",i=this.transformOptsToQueryString((r==null?void 0:r.transform)||{}),o=i?`?${i}`:"",l=this._getFinalPath(e),c=()=>Bo(this.fetch,`${this.url}/${a}/${l}${o}`,{headers:this.headers,noResolveJson:!0});return new a5(c,this.shouldThrowOnError)}info(e){return Z(this,void 0,void 0,function*(){const r=this._getFinalPath(e);try{const s=yield Bo(this.fetch,`${this.url}/object/info/${r}`,{headers:this.headers});return{data:ef(s),error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(Be(s))return{data:null,error:s};throw s}})}exists(e){return Z(this,void 0,void 0,function*(){const r=this._getFinalPath(e);try{return yield s5(this.fetch,`${this.url}/object/${r}`,{headers:this.headers}),{data:!0,error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(Be(s)&&s instanceof Xh){const a=s.originalError;if([400,404].includes(a==null?void 0:a.status))return{data:!1,error:s}}throw s}})}getPublicUrl(e,r){const s=this._getFinalPath(e),a=[],i=r!=null&&r.download?`download=${r.download===!0?"":r.download}`:"";i!==""&&a.push(i);const l=typeof(r==null?void 0:r.transform)<"u"?"render/image":"object",c=this.transformOptsToQueryString((r==null?void 0:r.transform)||{});c!==""&&a.push(c);let d=a.join("&");return d!==""&&(d=`?${d}`),{data:{publicUrl:encodeURI(`${this.url}/${l}/public/${s}${d}`)}}}remove(e){return Z(this,void 0,void 0,function*(){try{return{data:yield Jp(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:e},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Be(r))return{data:null,error:r};throw r}})}list(e,r,s){return Z(this,void 0,void 0,function*(){try{const a=Object.assign(Object.assign(Object.assign({},i5),r),{prefix:e||""});return{data:yield pr(this.fetch,`${this.url}/object/list/${this.bucketId}`,a,{headers:this.headers},s),error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(Be(a))return{data:null,error:a};throw a}})}listV2(e,r){return Z(this,void 0,void 0,function*(){try{const s=Object.assign({},e);return{data:yield pr(this.fetch,`${this.url}/object/list-v2/${this.bucketId}`,s,{headers:this.headers},r),error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(Be(s))return{data:null,error:s};throw s}})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){const r=[];return e.width&&r.push(`width=${e.width}`),e.height&&r.push(`height=${e.height}`),e.resize&&r.push(`resize=${e.resize}`),e.format&&r.push(`format=${e.format}`),e.quality&&r.push(`quality=${e.quality}`),r.join("&")}}const QS="2.80.0",YS={"X-Client-Info":`storage-js/${QS}`};class l5{constructor(e,r={},s,a){this.shouldThrowOnError=!1;const i=new URL(e);a!=null&&a.useNewHostname&&/supabase\.(co|in|red)$/.test(i.hostname)&&!i.hostname.includes("storage.supabase.")&&(i.hostname=i.hostname.replace("supabase.","storage.supabase.")),this.url=i.href.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},YS),r),this.fetch=Zp(s)}throwOnError(){return this.shouldThrowOnError=!0,this}listBuckets(e){return Z(this,void 0,void 0,function*(){try{const r=this.listBucketOptionsToQueryString(e);return{data:yield Bo(this.fetch,`${this.url}/bucket${r}`,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Be(r))return{data:null,error:r};throw r}})}getBucket(e){return Z(this,void 0,void 0,function*(){try{return{data:yield Bo(this.fetch,`${this.url}/bucket/${e}`,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Be(r))return{data:null,error:r};throw r}})}createBucket(e){return Z(this,arguments,void 0,function*(r,s={public:!1}){try{return{data:yield pr(this.fetch,`${this.url}/bucket`,{id:r,name:r,type:s.type,public:s.public,file_size_limit:s.fileSizeLimit,allowed_mime_types:s.allowedMimeTypes},{headers:this.headers}),error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(Be(a))return{data:null,error:a};throw a}})}updateBucket(e,r){return Z(this,void 0,void 0,function*(){try{return{data:yield tf(this.fetch,`${this.url}/bucket/${e}`,{id:e,name:e,public:r.public,file_size_limit:r.fileSizeLimit,allowed_mime_types:r.allowedMimeTypes},{headers:this.headers}),error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(Be(s))return{data:null,error:s};throw s}})}emptyBucket(e){return Z(this,void 0,void 0,function*(){try{return{data:yield pr(this.fetch,`${this.url}/bucket/${e}/empty`,{},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Be(r))return{data:null,error:r};throw r}})}deleteBucket(e){return Z(this,void 0,void 0,function*(){try{return{data:yield Jp(this.fetch,`${this.url}/bucket/${e}`,{},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Be(r))return{data:null,error:r};throw r}})}listBucketOptionsToQueryString(e){const r={};return e&&("limit"in e&&(r.limit=String(e.limit)),"offset"in e&&(r.offset=String(e.offset)),e.search&&(r.search=e.search),e.sortColumn&&(r.sortColumn=e.sortColumn),e.sortOrder&&(r.sortOrder=e.sortOrder)),Object.keys(r).length>0?"?"+new URLSearchParams(r).toString():""}}class c5{constructor(e,r={},s){this.shouldThrowOnError=!1,this.url=e.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},YS),r),this.fetch=Zp(s)}throwOnError(){return this.shouldThrowOnError=!0,this}createBucket(e){return Z(this,void 0,void 0,function*(){try{return{data:yield pr(this.fetch,`${this.url}/bucket`,{name:e},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Be(r))return{data:null,error:r};throw r}})}listBuckets(e){return Z(this,void 0,void 0,function*(){try{const r=new
465URLSearchParams;(e==null?void 0:e.limit)!==void 0&&r.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&r.set("offset",e.offset.toString()),e!=null&&e.sortColumn&&r.set("sortColumn",e.sortColumn),e!=null&&e.sortOrder&&r.set("sortOrder",e.sortOrder),e!=null&&e.search&&r.set("search",e.search);const s=r.toString(),a=s?`${this.url}/bucket?${s}`:`${this.url}/bucket`;return{data:yield Bo(this.fetch,a,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Be(r))return{data:null,error:r};throw r}})}deleteBucket(e){return Z(this,void 0,void 0,function*(){try{return{data:yield Jp(this.fetch,`${this.url}/bucket/${e}`,{},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Be(r))return{data:null,error:r};throw r}})}}const Xp={"X-Client-Info":`storage-js/${QS}`,"Content-Type":"application/json"};class KS extends Error{constructor(e){super(e),this.__isStorageVectorsError=!0,this.name="StorageVectorsError"}}function Lt(t){return typeof t=="object"&&t!==null&&"__isStorageVectorsError"in t}class rm extends KS{constructor(e,r,s){super(e),this.name="StorageVectorsApiError",this.status=r,this.statusCode=s}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}}class d5 extends KS{constructor(e,r){super(e),this.name="StorageVectorsUnknownError",this.originalError=r}}var mv;(function(t){t.InternalError="InternalError",t.S3VectorConflictException="S3VectorConflictException",t.S3VectorNotFoundException="S3VectorNotFoundException",t.S3VectorBucketNotEmpty="S3VectorBucketNotEmpty",t.S3VectorMaxBucketsExceeded="S3VectorMaxBucketsExceeded",t.S3VectorMaxIndexesExceeded="S3VectorMaxIndexesExceeded"})(mv||(mv={}));const ex=t=>t?(...e)=>t(...e):(...e)=>fetch(...e),u5=t=>{if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},hv=t=>t.msg||t.message||t.error_description||t.error||JSON.stringify(t),m5=(t,e,r)=>Z(void 0,void 0,void 0,function*(){if(t&&typeof t=="object"&&"status"in t&&"ok"in t&&typeof t.status=="number"&&!(r!=null&&r.noResolveJson)){const a=t.status||500,i=t;if(typeof i.json=="function")i.json().then(o=>{const l=(o==null?void 0:o.statusCode)||(o==null?void 0:o.code)||a+"";e(new rm(hv(o),a,l))}).catch(()=>{const o=a+"",l=i.statusText||`HTTP ${a} error`;e(new rm(l,a,o))});else{const o=a+"",l=i.statusText||`HTTP ${a} error`;e(new rm(l,a,o))}}else e(new d5(hv(t),t))}),h5=(t,e,r,s)=>{const a={method:t,headers:(e==null?void 0:e.headers)||{}};return s?(u5(s)?(a.headers=Object.assign({"Content-Type":"application/json"},e==null?void 0:e.headers),a.body=JSON.stringify(s)):a.body=s,Object.assign(Object.assign({},a),r)):a};function f5(t,e,r,s,a,i){return Z(this,void 0,void 0,function*(){return new Promise((o,l)=>{t(r,h5(e,s,a,i)).then(c=>{if(!c.ok)throw c;if(s!=null&&s.noResolveJson)return c;const d=c.headers.get("content-type");return!d||!d.includes("application/json")?{}:c.json()}).then(c=>o(c)).catch(c=>m5(c,l,s))})})}function zt(t,e,r,s,a){return Z(this,void 0,void 0,function*(){return f5(t,"POST",e,s,a,r)})}class p5{constructor(e,r={},s){this.shouldThrowOnError=!1,this.url=e.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},Xp),r),this.fetch=ex(s)}throwOnError(){return this.shouldThrowOnError=!0,this}createIndex(e){return Z(this,void 0,void 0,function*(){try{return{data:(yield zt(this.fetch,`${this.url}/CreateIndex`,e,{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}getIndex(e,r){return Z(this,void 0,void 0,function*(){try{return{data:yield zt(this.fetch,`${this.url}/GetIndex`,{vectorBucketName:e,indexName:r},{headers:this.headers}),error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(Lt(s))return{data:null,error:s};throw s}})}listIndexes(e){return Z(this,void 0,void 0,function*(){try{return{data:yield zt(this.fetch,`${this.url}/ListIndexes`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}deleteIndex(e,r){return Z(this,void 0,void 0,function*(){try{return{data:(yield zt(this.fetch,`${this.url}/DeleteIndex`,{vectorBucketName:e,indexName:r},{headers:this.headers}))||{},error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(Lt(s))return{data:null,error:s};throw s}})}}class x5{constructor(e,r={},s){this.shouldThrowOnError=!1,this.url=e.replace(/\/$/,""),this.headers=Object.assign(Object.assign({}
465,Xp),r),this.fetch=ex(s)}throwOnError(){return this.shouldThrowOnError=!0,this}putVectors(e){return Z(this,void 0,void 0,function*(){try{if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return{data:(yield zt(this.fetch,`${this.url}/PutVectors`,e,{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}getVectors(e){return Z(this,void 0,void 0,function*(){try{return{data:yield zt(this.fetch,`${this.url}/GetVectors`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}listVectors(e){return Z(this,void 0,void 0,function*(){try{if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return{data:yield zt(this.fetch,`${this.url}/ListVectors`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}queryVectors(e){return Z(this,void 0,void 0,function*(){try{return{data:yield zt(this.fetch,`${this.url}/QueryVectors`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}deleteVectors(e){return Z(this,void 0,void 0,function*(){try{if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return{data:(yield zt(this.fetch,`${this.url}/DeleteVectors`,e,{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}}class g5{constructor(e,r={},s){this.shouldThrowOnError=!1,this.url=e.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},Xp),r),this.fetch=ex(s)}throwOnError(){return this.shouldThrowOnError=!0,this}createBucket(e){return Z(this,void 0,void 0,function*(){try{return{data:(yield zt(this.fetch,`${this.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}getBucket(e){return Z(this,void 0,void 0,function*(){try{return{data:yield zt(this.fetch,`${this.url}/GetVectorBucket`,{vectorBucketName:e},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}listBuckets(){return Z(this,arguments,void 0,function*(e={}){try{return{data:yield zt(this.fetch,`${this.url}/ListVectorBuckets`,e,{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}deleteBucket(e){return Z(this,void 0,void 0,function*(){try{return{data:(yield zt(this.fetch,`${this.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:this.headers}))||{},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(Lt(r))return{data:null,error:r};throw r}})}}class y5 extends g5{constructor(e,r={}){super(e,r.headers||{},r.fetch)}from(e){return new v5(this.url,this.headers,e,this.fetch)}}class v5 extends p5{constructor(e,r,s,a){super(e,r,a),this.vectorBucketName=s}createIndex(e){const r=Object.create(null,{createIndex:{get:()=>super.createIndex}});return Z(this,void 0,void 0,function*(){return r.createIndex.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName}))})}listIndexes(){const e=Object.create(null,{listIndexes:{get:()=>super.listIndexes}});return Z(this,arguments,void 0,function*(r={}){return e.listIndexes.call(this,Object.assign(Object.assign({},r),{vectorBucketName:this.vectorBucketName}))})}getIndex(e){const r=Object.create(null,{getIndex:{get:()=>super.getIndex}});return Z(this,void 0,void 0,function*(){return r.getIndex.call(this,this.vectorBucketName,e)})}deleteIndex(e){const r=Object.create(null,{deleteIndex:{get:()=>super.deleteIndex}});return Z(this,void 0,void 0,function*(){return r.deleteIndex.call(this,this.vectorBucketName,e)})}index(e){return new b5(this.url,this.headers,this.vectorBucketName,e,this.fetch)}}class b5 extends x5{constructor(e,r,s,a,i){super(e,r,i),this.vectorBucketName=s,this.indexName=a}putVectors(e){const r=Object.create(null,{putVectors:{get:()=>super.putVectors}});return Z(this,void 0,void 0,function*(){return r.putVectors.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}getVectors(e){const r=Object.create(null,{getVectors:{get:()=>super.getVectors}});return Z(this,void 0,void 0,function*(){return r.getVectors.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}listVectors(){const e=Object.create(null,{listVectors:{get:()=>super.listVectors}});return Z(this,arguments,void 0,function*(r={}){return e.listVectors.call(this,Object.assign(Object.assign({},r),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}queryVectors(e){const r=Object.create(null,{queryVectors:{get:()=>super.queryVectors}});return Z(this,void 0,void 0,function*(){return r.queryVectors.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}deleteVectors(e){const r=Object.create(null,{deleteVectors:{get:()=>super.deleteVectors}});return Z(this,void 0,void 0,function*(){return r.deleteVectors.call(this,Object.assign(Object.assign({},e),{vectorBucketName:this.vectorBucketName,indexName:this.indexName}))})}}class w5 extends l5{constructor(e,r={},s,a){super(e,r,s,a)}from(e){return new o5(this.url,this.headers,e,this.fetch)}get vectors(){return new y5(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new c5(this.url+"/iceberg",this.headers,this.fetch)}}const j5="2.80.0";let Wi="";typeof Deno<"u"?Wi="deno":typeof document<"u"?Wi="web":typeof navigator<"u"&&navigator.product==="ReactNative"?Wi="react-native":Wi="node";const N5={"X-Client-Info":`supabase-js-${Wi}/${j5}`},S5={headers:N5},_5={schema:"public"},k5={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},C5={},E5=t=>t?(...e)=>t(...e):(...e)=>fetch(...e),A5=()=>Headers,T5=(t,e,r)=>{const s=E5(r),a=A5();return async(i,o)=>{var l;const c=(l=await e())!==null&&l!==void 0?l:t;let d=new a(o==null?void 0:o.headers);return d.has("apikey")||d.set("apikey",t),d.has("Authorization")||d.set("Authorization",`Bearer ${c}`),s(i,Object.assign(Object.assign({},o),{headers:d}))}};function P5(t){return t.endsWith("/")?t:t+"/"}function R5(t,e){var r,s;const{db:a,auth:i,realtime:o,global:l}=t,{db:c,auth:d,realtime:u,global:m}=e,h={db:Object.assign(Object.assign({},c),a),auth:Object.assign(Object.assign({},d),i),realtime:Object.assign(Object.assign({},u),o),storage:{},global:Object.assign(Object.assign(Object.assign({},m),l),{headers:Object.assign(Object.assign({},(r=m==null?void 0:m.headers)!==null&&r!==void 0?r:{}),(s=l==null?void 0:l.headers)!==null&&s!==void 0?s:{})}),accessToken:async()=>""};return t.accessToken?h.accessToken=t.accessToken:delete h.accessToken,h}function I5(t){const e=t==null?void 0:t.trim();if(!e)throw new Error("supabaseUrl is required.");
465if(!e.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(P5(e))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}const ZS="2.80.0",xa=30*1e3,rf=3,sm=rf*xa,O5="http://localhost:9999",D5="supabase.auth.token",M5={"X-Client-Info":`gotrue-js/${ZS}`},sf="X-Supabase-Api-Version",JS={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},L5=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,z5=10*60*1e3;class Fo extends Error{constructor(e,r,s){super(e),this.__isAuthError=!0,this.name="AuthError",this.status=r,this.code=s}}function ee(t){return typeof t=="object"&&t!==null&&"__isAuthError"in t}class B5 extends Fo{constructor(e,r,s){super(e,r,s),this.name="AuthApiError",this.status=r,this.code=s}}function F5(t){return ee(t)&&t.name==="AuthApiError"}class wn extends Fo{constructor(e,r){super(e),this.name="AuthUnknownError",this.originalError=r}}class cn extends Fo{constructor(e,r,s,a){super(e,s,a),this.name=r,this.status=s}}class dr extends cn{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function $5(t){return ee(t)&&t.name==="AuthSessionMissingError"}class ca extends cn{constructor(){super("Auth session or user missing","AuthInvalidToken
465ResponseError",500,void 0)}}class Ul extends cn{constructor(e){super(e,"AuthInvalidCredentialsError",400,void 0)}}class Vl extends cn{constructor(e,r=null){super(e,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=r}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function U5(t){return ee(t)&&t.name==="AuthImplicitGrantRedirectError"}class fv extends cn{constructor(e,r=null){super(e,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=r}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class nf extends cn{constructor(e,r){super(e,"AuthRetryableFetchError",r,void 0)}}function nm(t){return ee(t)&&t.name==="AuthRetryableFetchError"}class pv extends cn{constructor(e,r,s){super(e,"AuthWeakPasswordError",r,"weak_password"),this.reasons=s}}class af extends cn{constructor(e){super(e,"AuthInvalidJwtError",400,"invalid_jwt")}}const ld="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),xv=` 466\r=`.split(""),V5=(()=>{const t=new Array(128);for(let e=0;e<t.length;e+=1)t[e]=-1;for(let e=0;e<xv.length;e+=1)t[xv[e].charCodeAt(0)]=-2;for(let e=0;e<ld.length;e+=1)t[ld[e].charCodeAt(0)]=e;return t})();function gv(t,e,r){if(t!==null)for(e.queue=e.queue<<8|t,e.queuedBits+=8;e.queuedBits>=6;){const s=e.queue>>e.queuedBits-6&63;r(ld[s]),e.queuedBits-=6}else if(e.queuedBits>0)for(e.queue=e.queue<<6-e.queuedBits,e.queuedBits=6;e.queuedBits>=6;){const s=e.queue>>e.queuedBits-6&63;r(ld[s]),e.queuedBits-=6}}function XS(t,e,r){const s=V5[t];if(s>-1)for(e.queue=e.queue<<6|s,e.queuedBits+=6;e.queuedBits>=8;)r(e.queue>>e.queuedBits-8&255),e.queuedBits-=8;else{if(s===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(t)}"`)}}function yv(t){const e=[],r=o=>{e.push(String.fromCodePoint(o))},s={utf8seq:0,codepoint:0},a={queue:0,queuedBits:0},i=o=>{q5(o,s,r)};for(let o=0;o<t.length;o+=1)XS(t.charCodeAt(o),a,i);return e.join("")}function W5(t,e){if(t<=127){e(t);return}else if(t<=2047){e(192|t>>6),e(128|t&63);return}else if(t<=65535){e(224|t>>12),e(128|t>>6&63),e(128|t&63);return}else if(t<=1114111){e(240|t>>18),e(128|t>>12&63),e(128|t>>6&63),e(128|t&63);return}throw new Error(`Unrecognized Unicode codepoint: ${t.toString(16)}`)}function H5(t,e){for(let r=0;r<t.length;r+=1){let s=t.charCodeAt(r);if(s>55295&&s<=56319){const a=(s-55296)*1024&65535;s=(t.charCodeAt(r+1)-56320&65535|a)+65536,r+=1}W5(s,e)}}function q5(t,e,r){if(e.utf8seq===0){if(t<=127){r(t);return}for(let s=1;s<6;s+=1)if(!(t>>7-s&1)){e.utf8seq=s;break}if(e.utf8seq===2)e.codepoint=t&31;else if(e.utf8seq===3)e.codepoint=t&15;else if(e.utf8seq===4)e.codepoint=t&7;else throw new Error("Invalid UTF-8 sequence");e.utf8seq-=1}else if(e.utf8seq>0){if(t<=127)throw new Error("Invalid UTF-8 sequence");e.codepoint=e.codepoint<<6|t&63,e.utf8seq-=1,e.utf8seq===0&&r(e.codepoint)}}function $a(t){const e=[],r={queue:0,queuedBits:0},s=a=>{e.push(a)};for(let a=0;a<t.length;a+=1)XS(t.charCodeAt(a),r,s);return new Uint8Array(e)}function G5(t){const e=[];return H5(t,r=>e.push(r)),new Uint8Array(e)}function _n(t){const e=[],r={queue:0,queuedBits:0},s=a=>{e.push(a)};return t.forEach(a=>gv(a,r,s)),gv(null,r,s),e.join("")}function Q5(t){return Math.round(Date.now()/1e3)+t}function Y5(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const e=Math.random()*16|0;return(t=="x"?e:e&3|8).toString(16)})}const pt=()=>typeof window<"u"&&typeof document<"u",fn={tested:!1,writable:!1},e2=()=>{if(!pt())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(fn.tested)return fn.writable;const t=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(t,t),globalThis.localStorage.removeItem(t),fn.tested=!0,fn.writable=!0}catch{fn.tested=!0,fn.writable=!1}return fn.writable};function K5(t){const e={},r=new URL(t);if(r.hash&&r.hash[0]==="#")try{new URLSearchParams(r.hash.substring(1)).forEach((a,i)=>{e[i]=a})}catch{}return r.searchParams.forEach((s,a)=>{e[a]=s}),e}const t2=t=>t?(...e)=>t(...e):(...e)=>fetch(...e),Z5=t=>typeof t=="object"&&t!==null&&"status"in t&&"ok"in t&&"json"in t&&typeof t.json=="function",ga=async(t,e,r)=>{await t.setItem(e,JSON.stringify(r))},pn=async(t,e)=>{const r=await t.getItem(e);if(!r)return null;try{return JSON.parse(r)}catch{return r}},ys=async(t,e)=>{await t.removeItem(e)};class Kd{constructor(){this.promise=new Kd.promiseConstructor((e,r)=>{this.resolve=e,this.reject=r})}}Kd.promiseConstructor=Promise;function am(t){const e=t.split(".");if(e.length!==3)throw new af("Invalid JWT structure");for(let s=0;s<e.length;s++)if(!L5.test(e[s]))throw new af("JWT not in base64url format");return{header:JSON.parse(yv(e[0])),payload:JSON.parse(yv(e[1])),signature:$a(e[2]),raw:{header:e[0],payload:e[1]}}}async function J5(t){return await new Promise(e=>{setTimeout(()=>e(null),t)})}function X5(t,e){return new Promise((s,a)=>{(async()=>{for(let i=0;i<1/0;i++)try{const o=await t(i);if(!e(i,null,o)){s(o);return}}catch(o){if(!e(i,o)){a(o);return}}})()})}function eM(t){return("0"+t.toString(16)).substr(-2)}function tM(){const e=new Uint32Array(56);if(typeof crypto>"u"){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",s=r.length;let a="";for(let i=0;i<56;i++)a+=r.charAt(Math.floor(Math.random()*s));return a}return crypto.getRandomValues(e),Array.from(e,eM).join("")}async function rM(t){const r=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",r),a=new Uint8Array(s);return Array.from(a).map(i=>String.fromCharCode(i)).join("")}async function sM(t){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code
466challenge method will default to use plain instead of sha256."),t;const r=await rM(t);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function da(t,e,r=!1){const s=tM();let a=s;r&&(a+="/PASSWORD_RECOVERY"),await ga(t,`${e}-code-verifier`,a);const i=await sM(s);return[i,s===i?"plain":"s256"]}const nM=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function aM(t){const e=t.headers.get(sf);if(!e||!e.match(nM))return null;try{return new Date(`${e}T00:00:00.0Z`)}catch{return null}}function iM(t){if(!t)throw new Error("Missing exp claim");const e=Math.floor(Date.now()/1e3);if(t<=e)throw new Error("JWT has expired")}function oM(t){switch(t){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const lM=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function ua(t){if(!lM.test(t))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function im(){const t={};return new Proxy(t,{get:(e,r)=>{if(r==="__isUserNotAvailableProxy")return!0;if(typeof r=="symbol"){const s=r.toString();if(s==="Symbol(Symbol.toPrimitive)"||s==="Symbol(Symbol.toStringTag)"||s==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${r}" property of the session object is not supported. Please use getUser() instead.`)},set:(e,r)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${r}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(e,r)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${r}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function cM(t,e){return new Proxy(t,{get:(r,s,a)=>{if(s==="__isInsecureUserWarningProxy")return!0;if(typeof s=="symbol"){const i=s.toString();if(i==="Symbol(Symbol.toPrimitive)"||i==="Symbol(Symbol.toStringTag)"||i==="Symbol(util.inspect.custom)"||i==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(r,s,a)}return!e.value&&typeof s=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),e.value=!0),Reflect.get(r,s,a)}})}function vv(t){return JSON.parse(JSON.stringify(t))}const vn=t=>t.msg||t.message||t.error_description||t.error||JSON.stringify(t),dM=[502,503,504];async function bv(t){var e;if(!Z5(t))throw new nf(vn(t),0);if(dM.includes(t.status))throw new nf(vn(t),t.status);let r;try{r=await t.json()}catch(i){throw new wn(vn(i),i)}let s;const a=aM(t);if(a&&a.getTime()>=JS["2024-01-01"].timestamp&&typeof r=="object"&&r&&typeof r.code=="string"?s=r.code:typeof r=="object"&&r&&typeof r.error_code=="string"&&(s=r.error_code),s){if(s==="weak_password")throw new pv(vn(r),t.status,((e=r.weak_password)===null||e===void 0?void 0:e.reasons)||[]);if(s==="session_not_found")throw new dr}else if(typeof r=="object"&&r&&typeof r.weak_password=="object"&&r.weak_password&&Array.isArray(r.weak_password.reasons)&&r.weak_password.reasons.length&&r.weak_password.reasons.reduce((i,o)=>i&&typeof o=="string",!0))throw new pv(vn(r),t.status,r.weak_password.reasons);throw new B5(vn(r),t.status||500,s)}const uM=(t,e,r,s)=>{const a={method:t,headers:(e==null?void 0:e.headers)||{}};return t==="GET"?a:(a.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},e==null?void 0:e.headers),a.body=JSON.stringify(s),Object.assign(Object.assign({},a),r))};async function re(t,e,r,s){var a;const i=Object.assign({},s==null?void 0:s.headers);i[sf]||(i[sf]=JS["2024-01-01"].name),s!=null&&s.jwt&&(i.Authorization=`Bearer ${s.jwt}`);const o=(a=s==null?void 0:s.query)!==null&&a!==void 0?a:{};s!=null&&s.redirectTo&&(o.redirect_to=s.redirectTo);const l=Object.keys(o).length?"?"+new URLSearchParams(o).toString():"",c=await mM(t,e,r+l,{headers:i,noResolveJson:s==null?void 0:s.noResolveJson},{},s==null?void 0:s.body);return s!=null&&s.xform?s==null?void 0:s.xform(c):{data:Object.assign({},c),error:null}}async function mM(t,e,r,s,a,i){const o=uM(e,s,a,i);let l;try{l=await t(r,Object.assign({},o))}catch(c){throw console.error(c),new nf(vn(c),0)}if(l.ok||await bv(l),s!=null&&s.noResolveJson)return l;try{return await l.json()}catch(c){await bv(c)}}function ur(t){var e;let r=null;pM(t)&&(r=Object.assign({},t),t.expires_at||(r.expires_at=Q5(t.expires_in)));const s=(e=t.user)!==null&&e!==void 0?e:t;return{data:{session:r,user:s},error:null}}function wv(t){const e=ur(t);return!e.error&&t.weak_password&&typeof t.weak_password=="object"&&Array.isArray(t.weak_password.reasons)&&t.weak_password.reasons.length&&t.weak_password.message&&typeof t.weak_password.message=="string"&&t.weak_password.reasons.reduce((r,s)=>r&&typeof s=="string",!0)&&(e.data.weak_password=t.weak_password),e}function ks(t){var e;return{data:{user:(e=t.user)!==null&&e!==void 0?e:t},error:null}}function hM(t){return{data:t,error:null}}function fM(t){const{action_link:e,email_otp:r,hashed_token:s,redirect_to:a,verification_type:i}=t,o=an(t,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),l={action_link:e,email_otp:r,hashed_token:s,redirect_to:a,verification_type:i},c=Object.assign({},o);return{data:{properties:l,user:c},error:null}}function jv(t){return t}function pM(t){return t.access_token&&t.refresh_token&&t.expires_in}const om=["global","local","others"];class xM{constructor({url:e="",headers:r={},fetch:s}){this.url=e,this.headers=r,this.fetch=t2(s),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)}}async signOut(e,r=om[0]){if(om.indexOf(r)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${om.join(", ")}`);try{return await re(this.fetch,"POST",`${this.url}/logout?scope=${r}`,{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(s){if(ee(s))return{data:null,error:s};throw s}}async inviteUserByEmail(e,r={}){try{return await re(this.fetch,"POST",`${this.url}/invite`,{body:{email:e,data:r.data},headers:this.headers,redirectTo:r.redirectTo,xform:ks})}catch(s){if(ee(s))return{data:{user:null},error:s};throw s}}async generateLink(e){try{const{options:r}=e,s=an(e,["options"]),a=Object.assign(Object.assign({},s),r);return"newEmail"in s&&(a.new_email=s==null?void 0:s.newEmail,delete a.newEmail),await re(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:a,headers:this.headers,xform:fM,redirectTo:r==null?void 0:r.redirectTo})}catch(r){if(ee(r))return{data:{properties:null,user:null},error:r};throw r}}async createUser(e){try{return await re(this.fetch,"POST",`${this.url}/admin/users`,{body:e,headers:this.headers,xform:ks})}catch(r){if(ee(r))return{data:{user:null},error:r};throw r}}async listUsers(e){var r,s,a,i,o,l,c;try{const d={nextPage:null,lastPage:0,total:0},u=await re(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(s=(r=e==null?void 0:e.page)===null||r===void 0?void 0:r.toString())!==null&&s!==void 0?s:"",per_page:(i=(a=e==null?void 0:e.perPage)===null||a===void 0?void 0:a.toString())!==null&&i!==void 0?i:""},xform:jv});if(u.error)throw u.error;const m=await u.json(),h=(o=u.headers.get("x-total-count"))!==null&&o!==void 0?o:0,f=(c=(l=u.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&c!==void 0?c:[];return f.length>0&&(f.forEach(v=>{const p=parseInt(v.split(";")[0].split("=")[1].substring(0,1)),w=JSON.parse(v.split(";")[1].split("=")[1]);d[`${w}Page`]=p}),d.total=parseInt(h)),{data:Object.assign(Object.assign({},m),d),error:null}}catch(d){if(ee(d))return{data:{users:[]},error:d};throw d}}async getUserById(e){ua(e);try{return await re(this.fetch,"GET",`${this.url}/admin/users/${e}`,{headers:this.headers,xform:ks})}catch(r){if(ee(r))return{data:{user:null},error:r};throw r}}async updateUserById(e,r){ua(e);try{return await re(this.fetch,"PUT",`${this.url}/admin/users/${e}`,{body:r,headers:this.headers,xform:ks})}catch(s){if(ee(s))return{data:{user:null},error:s};throw s}}async deleteUser(e,r=!1){ua(e);
466try{return await re(this.fetch,"DELETE",`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:r},xform:ks})}catch(s){if(ee(s))return{data:{user:null},error:s};throw s}}async _listFactors(e){ua(e.userId);try{const{data:r,error:s}=await re(this.fetch,"GET",`${this.url}/admin/users/${e.userId}/factors`,{headers:this.headers,xform:a=>({data:{factors:a},error:null})});return{data:r,error:s}}catch(r){if(ee(r))return{data:null,error:r};throw r}}async _deleteFactor(e){ua(e.userId),ua(e.id);try{return{data:await re(this.fetch,"DELETE",`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers}),error:null}}catch(r){if(ee(r))return{data:null,error:r};throw r}}async _listOAuthClients(e){var r,s,a,i,o,l,c;try{const d={nextPage:null,lastPage:0,total:0},u=await re(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(s=(r=e==null?void 0:e.page)===null||r===void 0?void 0:r.toString())!==null&&s!==void 0?s:"",per_page:(i=(a=e==null?void 0:e.perPage)===null||a===void 0?void 0:a.toString())!==null&&i!==void 0?i:""},xform:jv});if(u.error)throw u.error;const m=await u.json(),h=(o=u.headers.get("x-total-count"))!==null&&o!==void 0?o:0,f=(c=(l=u.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&c!==void 0?c:[];return f.length>0&&(f.forEach(v=>{const p=parseInt(v.split(";")[0].split("=")[1].substring(0,1)),w=JSON.parse(v.split(";")[1].split("=")[1]);d[`${w}Page`]=p}),d.total=parseInt(h)),{data:Object.assign(Object.assign({},m),d),error:null}}catch(d){if(ee(d))return{data:{clients:[]},error:d};throw d}}async _createOAuthClient(e){try{return await re(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:e,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(ee(r))return{data:null,error:r};throw r}}async _getOAuthClient(e){try{return await re(this.fetch,"GET",`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(ee(r))return{data:null,error:r};throw r}}async _updateOAuthClient(e,r){try{return await re(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${e}`,{body:r,headers:this.headers,xform:s=>({data:s,error:null})})}catch(s){if(ee(s))return{data:null,error:s};throw s}}async _deleteOAuthClient(e){try{return await re(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(r){if(ee(r))return{data:null,error:r};throw r}}async _regenerateOAuthClientSecret(e){try{return await re(this.fetch,"POST",`${this.url}/admin/oauth/clients/${e}/regenerate_secret`,{headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(ee(r))return{data:null,error:r};throw r}}}function Nv(t={}){return{getItem:e=>t[e]||null,setItem:(e,r)=>{t[e]=r},removeItem:e=>{delete t[e]}}}const ma={debug:!!(globalThis&&e2()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class r2 extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}}class gM extends r2{}async function yM(t,e,r){ma.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",t,e);const s=new globalThis.AbortController;return e>0&&setTimeout(()=>{s.abort(),ma.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",t)},e),await Promise.resolve().then(()=>globalThis.navigator.locks.request(t,e===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:s.signal},async a=>{if(a){ma.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",t,a.name);try{return await r()}finally{ma.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",t,a.name)}}else{if(e===0)throw ma.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",t),new gM(`Acquiring an exclusive Navigator LockManager lock "${t}" immediately failed`);if(ma.debug)try{const i=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(i,null," "))}catch(i){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",i)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await r()}}))}function vM(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function s2(t){if(!/^0x[a-fA-F0-9]{40}$/.test(t))throw new Error(`@supabase/auth-js: Address "${t}
466" is invalid.`);return t.toLowerCase()}function bM(t){return parseInt(t,16)}function wM(t){const e=new TextEncoder().encode(t);return"0x"+Array.from(e,s=>s.toString(16).padStart(2,"0")).join("")}function jM(t){var e;const{chainId:r,domain:s,expirationTime:a,issuedAt:i=new Date,nonce:o,notBefore:l,requestId:c,resources:d,scheme:u,uri:m,version:h}=t;{if(!Number.isInteger(r))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${r}`);if(!s)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(o&&o.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${o}`);if(!m)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(h!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${h}`);if(!((e=t.statement)===null||e===void 0)&&e.includes(` 467`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${t.statement}`)}const f=s2(t.address),v=u?`${u}://${s}`:s,p=t.statement?`${t.statement} 468`:"",w=`${v} wants you to sign in with your Ethereum account: 469${f} 470 471${p}`;let b=`URI: ${m} 472Version: ${h} 473Chain ID: ${r}${o?` 474Nonce: ${o}`:""} 475Issued At: ${i.toISOString()}`;if(a&&(b+=` 476Expiration Time: ${a.toISOString()}`),l&&(b+=` 477Not Before: ${l.toISOString()}`),c&&(b+=` 478Request ID: ${c}`),d){let g=` 479Resources:`;for(const y of d){if(!y||typeof y!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${y}`);g+=` 480- ${y}`}b+=g}return`${w} 481${b}`}class Ke extends Error{constructor({message:e,code:r,cause:s,name:a}){var i;super(e,{cause:s}),this.__isWebAuthnError=!0,this.name=(i=a??(s instanceof Error?s.name:void 0))!==null&&i!==void 0?i:"Unknown Error",this.code=r}}class cd extends Ke{constructor(e,r){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:r,message:e}),this.name="WebAuthnUnknownError",this.originalError=r}}function NM({error:t,options:e}){var r,s,a;const{publicKey:i}=e;if(!i)throw Error("options was missing required publicKey property");if(t.name==="AbortError"){if(e.signal instanceof AbortSignal)return new Ke({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:t})}else if(t.name==="ConstraintError"){if(((r=i.authenticatorSelection)===null||r===void 0?void 0:r.requireResidentKey)===!0)return new Ke({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:t});if(e.mediation==="conditional"&&((s=i.authenticatorSelection)===null||s===void 0?void 0:s.userVerification)==="required")return new Ke({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:t});if(((a=i.authenticatorSelection)===null||a===void 0?void 0:a.userVerification)==="required")return new Ke({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:t})}else{if(t.name==="InvalidStateError")return new Ke({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:t});if(t.name==="NotAllowedError")return new Ke({message:t.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t});if(t.name==="NotSupportedError")return i.pubKeyCredParams.filter(l=>l.type==="public-key").length===0?new Ke({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:t}):new Ke({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:t});if(t.name==="SecurityError"){const o=window.location.hostname;if(n2(o)){if(i.rp.id!==o)return new Ke({message:`The RP ID "${i.rp.id}
481" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:t})}else return new Ke({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:t})}else if(t.name==="TypeError"){if(i.user.id.byteLength<1||i.user.id.byteLength>64)return new Ke({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:t})}else if(t.name==="UnknownError")return new Ke({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:t})}return new Ke({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t})}function SM({error:t,options:e}){const{publicKey:r}=e;if(!r)throw Error("options was missing required publicKey property");if(t.name==="AbortError"){if(e.signal instanceof AbortSignal)return new Ke({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:t})}else{if(t.name==="NotAllowedError")return new Ke({message:t.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t});if(t.name==="SecurityError"){const s=window.location.hostname;if(n2(s)){if(r.rpId!==s)return new Ke({message:`The RP ID "${r.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:t})}else return new Ke({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:t})}else if(t.name==="UnknownError")return new Ke({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:t})}return new Ke({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:t})}class _M{createNewAbortSignal(){if(this.controller){const r=new Error("Cancelling existing WebAuthn API call for new one");r.name="AbortError",this.controller.abort(r)}const e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){const e=new Error("Manually cancelling existing WebAuthn API call");e.name="AbortError",this.controller.abort(e),this.controller=void 0}}}const kM=new _M;function CM(t){if(!t)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(t);const{challenge:e,user:r,excludeCredentials:s}=t,a=an(t,["challenge","user","excludeCredentials"]),i=$a(e).buffer,o=Object.assign(Object.assign({},r),{id:$a(r.id).buffer}),l=Object.assign(Object.assign({},a),{challenge:i,user:o});if(s&&s.length>0){l.excludeCredentials=new Array(s.length);for(let c=0;c<s.length;c++){const d=s[c];l.excludeCredentials[c]=Object.assign(Object.assign({},d),{id:$a(d.id).buffer,type:d.type||"public-key",transports:d.transports})}}return l}function EM(t){if(!t)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(t);const{challenge:e,allowCredentials:r}=t,s=an(t,["challenge","allowCredentials"]),a=$a(e).buffer,i=Object.assign(Object.assign({},s),{challenge:a});if(r&&r.length>0){i.allowCredentials=new Array(r.length);for(let o=0;o<r.length;o++){const l=r[o];i.allowCredentials[o]=Object.assign(Object.assign({},l),{id:$a(l.id).buffer,type:l.type||"public-key",transports:l.transports})}}return i}function AM(t){var e;if("toJSON"in t&&typeof t.toJSON=="function")return t.toJSON();const r=t;return{id:t.id,rawId:t.id,response:{attestationObject:_n(new Uint8Array(t.response.attestationObject)),clientDataJSON:_n(new Uint8Array(t.response.clientDataJSON))},type:"public-key",clientExtensionResults:t.getClientExtensionResults(),authenticatorAttachment:(e=r.authenticatorAttachment)!==null&&e!==void 0?e:void 0}}function TM(t){var e;if("toJSON"in t&&typeof t.toJSON=="function")return t.toJSON();const r=t,s=t.getClientExtensionResults(),a=t.response;return{id:t.id,rawId:t.id,response:{authenticatorData:_n(new Uint8Array(a.authenticatorData)),clientDataJSON:_n(new Uint8Array(a.clientDataJSON)),signature:_n(new Uint8Array(a.signature)),userHandle:a.userHandle?_n(new Uint8Array(a.userHandle)):void 0},type:"public-key",clientExtensionResults:s,authenticatorAttachment:(e=r.authenticatorAttachment)!==null&&e!==void 0?e:void 0}}function n2(t){return t==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(t)}function Sv(){var t,e;return!!(pt()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((t=navigator==null?void 0:navigator.credentials)===null||t===void 0?void 0:t.create)=="function"&&typeof((e=navigator==null?void 0:navigator.credentials)===null||e===void 0?void 0:e.get)=="function")}async function PM(t){try{const e=await navigator.credentials.create(t);return e?e instanceof PublicKeyCredential?{data:e,error:null}:{data:null,error:new cd("Browser returned unexpected credential type",e)}:{data:null,error:new cd("Empty credential response",e)}}catch(e){return{data:null,error:NM({error:e,options:t})}}}async function RM(t){try{const e=await navigator.credentials.get(t);return e?e instanceof PublicKeyCredential?{data:e,error:null}:{data:null,error:new cd("Browser returned unexpected credential type",e)}:{data:null,error:new cd("Empty credential response",e)}}catch(e){return{data:null,error:SM({error:e,options:t})}}}const IM={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"none"},OM={userVerification:"preferred",hints:["security-key"]};function dd(...t){const e=a=>a!==null&&typeof a=="object"&&!Array.isArray(a),r=a=>a instanceof ArrayBuffer||ArrayBuffer.isView(a),s={};for(const a of t)if(a)for(const i in a){const o=a[i];if(o!==void 0)if(Array.isArray(o))s[i]=o;else if(r(o))s[i]=o;else if(e(o)){const l=s[i];e(l)?s[i]=dd(l,o):s[i]=dd(o)}else s[i]=o}return s}function DM(t,e){return dd(IM,t,e||{})}function MM(t,e){return dd(OM,t,e||{})}class LM{constructor(e){this.client=e,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(e){return this.client.mfa.enroll(Object.assign(Object.assign({},e),{factorType:"webauthn"}))}async _challenge({factorId:e,webauthn:r,friendlyName:s,signal:a},i){try{const{data:o,error:l}=await this.client.mfa.challenge({factorId:e,webauthn:r});if(!o)return{data:null,error:l};const c=a??kM.createNewAbortSignal();if(o.webauthn.type==="create"){const{user:d}=o.webauthn.credential_options.publicKey;d.name||(d.name=`${d.id}:${s}`),d.displayName||(d.displayName=d.name)}switch(o.webauthn.type){case"create":{const d=DM(o.webauthn.credential_options.publicKey,i==null?void 0:i.create),{data:u,error:m}=await PM({publicKey:d,signal:c});return u?{data:{factorId:e,challengeId:o.id,webauthn:{type:o.webauthn.type,credential_response:u}},error:null}:{data:null,error:m}}case"request":{const d=MM(o.webauthn.credential_options.publicKey,i==null?void 0:i.request),{data:u,error:m}=await RM(Object.assign(Object.assign({},o.webauthn.credential_options),{publicKey:d,signal:c}));return u?{data:{factorId:e,challengeId:o.id,webauthn:{type:o.webauthn.type,credential_response:u}},error:null}:{data:null,error:m}}}}catch(o){return ee(o)?{data:null,error:o}:{data:null,error:new wn("Unexpected error in challenge",o)}}}async _verify({challengeId:e,factorId:r,webauthn:s}){return this.client.mfa.verify({factorId:r,challengeId:e,webauthn:s})}async _authenticate({factorId:e,webauthn:{rpId:r=typeof window<"u"?window.location.hostname:void 0,rpOrigins:s=typeof window<"u"?[window.location.origin]:void 0,signal:a}},i){if(!r)return{data:null,error:new Fo("rpId is required for WebAuthn authentication")};
481try{if(!Sv())return{data:null,error:new wn("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this.challenge({factorId:e,webauthn:{rpId:r,rpOrigins:s},signal:a},{request:i});if(!o)return{data:null,error:l};const{webauthn:c}=o;return this._verify({factorId:e,challengeId:o.challengeId,webauthn:{type:c.type,rpId:r,rpOrigins:s,credential_response:c.credential_response}})}catch(o){return ee(o)?{data:null,error:o}:{data:null,error:new wn("Unexpected error in authenticate",o)}}}async _register({friendlyName:e,rpId:r=typeof window<"u"?window.location.hostname:void 0,rpOrigins:s=typeof window<"u"?[window.location.origin]:void 0,signal:a},i){if(!r)return{data:null,error:new Fo("rpId is required for WebAuthn registration")};try{if(!Sv())return{data:null,error:new wn("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this._enroll({friendlyName:e});if(!o)return await this.client.mfa.listFactors().then(u=>{var m;return(m=u.data)===null||m===void 0?void 0:m.all.find(h=>h.factor_type==="webauthn"&&h.friendly_name===e&&h.status!=="unverified")}).then(u=>u?this.client.mfa.unenroll({factorId:u==null?void 0:u.id}):void 0),{data:null,error:l};const{data:c,error:d}=await this._challenge({factorId:o.id,friendlyName:o.friendly_name,webauthn:{rpId:r,rpOrigins:s},signal:a},{create:i});return c?this._verify({factorId:o.id,challengeId:c.challengeId,webauthn:{rpId:r,rpOrigins:s,type:c.webauthn.type,credential_response:c.webauthn.credential_response}}):{data:null,error:d}}catch(o){return ee(o)?{data:null,error:o}:{data:null,error:new wn("Unexpected error in register",o)}}}}vM();const zM={url:O5,storageKey:D5,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:M5,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1};async function _v(t,e,r){return await r()}const ha={};class $o{get jwks(){var e,r;return(r=(e=ha[this.storageKey])===null||e===void 0?void 0:e.jwks)!==null&&r!==void 0?r:{keys:[]}}set jwks(e){ha[this.storageKey]=Object.assign(Object.assign({},ha[this.storageKey]),{jwks:e})}get jwks_cached_at(){var e,r;return(r=(e=ha[this.storageKey])===null||e===void 0?void 0:e.cachedAt)!==null&&r!==void 0?r:Number.MIN_SAFE_INTEGER}set jwks_cached_at(e){ha[this.storageKey]=Object.assign(Object.assign({},ha[this.storageKey]),{cachedAt:e})}constructor(e){var r,s,a;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const i=Object.assign(Object.assign({},zM),e);if(this.storageKey=i.storageKey,this.instanceID=(r=$o.nextInstanceID[this.storageKey])!==null&&r!==void 0?r:0,$o.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!i.debug,typeof i.debug=="function"&&(this.logger=i.debug),this.instanceID>0&&pt()){const o=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(o),this.logDebugMessages&&console.trace(o)}if(this.persistSession=i.persistSession,this.autoRefreshToken=i.autoRefreshToken,this.admin=new xM({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=t2(i.fetch),this.lock=i.lock||_v,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,this.throwOnError=i.throwOnError,i.lock?this.lock=i.lock:pt()&&(!((s=globalThis==null?void 0:globalThis.navigator)===null||s===void 0)&&s.locks)?this.lock=yM:this.lock=_v,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new LM(this)}
481,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this)},this.persistSession?(i.storage?this.storage=i.storage:e2()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=Nv(this.memoryStorage)),i.userStorage&&(this.userStorage=i.userStorage)):(this.memoryStorage={},this.storage=Nv(this.memoryStorage)),pt()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(o){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",o)}(a=this.broadcastChannel)===null||a===void 0||a.addEventListener("message",async o=>{this._debug("received broadcast notification from other tab or client",o),await this._notifyAllSubscribers(o.data.event,o.data.session,!1)})}this.initialize()}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(e){if(this.throwOnError&&e&&e.error)throw e.error;return e}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${ZS}) ${new Date().toISOString()}`}_debug(...e){return this.logDebugMessages&&this.logger(this._logPrefix(),...e),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var e;try{let r={},s="none";if(pt()&&(r=K5(window.location.href),this._isImplicitGrantCallback(r)?s="implicit":await this._isPKCECallback(r)&&(s="pkce")),pt()&&this.detectSessionInUrl&&s!=="none"){const{data:a,error:i}=await this._getSessionFromURL(r,s);if(i){if(this._debug("#_initialize()","error detecting session from URL",i),U5(i)){const c=(e=i.details)===null||e===void 0?void 0:e.code;if(c==="identity_already_exists"||c==="identity_not_found"||c==="single_identity_not_deletable")return{error:i}}return await this._removeSession(),{error:i}}const{session:o,redirectType:l}=a;return this._debug("#_initialize()","detected session in URL",o,"redirect type",l),await this._saveSession(o),setTimeout(async()=>{l==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",o):await this._notifyAllSubscribers("SIGNED_IN",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(r){return ee(r)?this._returnResult({error:r}):this._returnResult({error:new wn("Unexpected error during initialization",r)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(e){var r,s,a;try{const i=await re(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(s=(r=e==null?void 0:e.options)===null||r===void 0?void 0:r.data)!==null&&s!==void 0?s:{},gotrue_meta_security:{captcha_token:(a=e==null?void 0:e.options)===null||a===void 0?void 0:a.captchaToken}},xform:ur}),{data:o,error:l}=i;if(l||!o)return this._returnResult({data:{user:null,session:null},error:l});const c=o.session,d=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:d,session:c},error:null})}catch(i){if(ee(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signUp(e){var r,s,a;try{let i;if("email"in e){const{email:u,password:m,options:h}=e;let f=null,v=null;this.flowType==="pkce"&&([f,v]=await da(this.storage,this.storageKey)),i=await re(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:h==null?void 0:h.emailRedirectTo,body:{email:u,password:m,data:(r=h==null?void 0:h.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:h==null?void 0:h.captchaToken},code_challenge:f,code_challenge_method:v},xform:ur})}else if("phone"in e){const{phone:u,password:m,options:h}=e;i=await re(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:u,password:m,data:(s=h==null?void 0:h.data)!==null&&s!==void 0?s:{},channel:(a=h==null?void 0:h.channel)!==null&&a!==void 0?a:"sms",gotrue_meta_security:{captcha_token:h==null?void 0:h.captchaToken}},xform:ur})}else throw new Ul("You must provide either an email or phone number and a password");const{data:o,error:l}=i;if(l||!o)return this._returnResult({data:{user:null,session:null},error:l});const c=o.session,d=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:d,session:c},error:null})}catch(i){if(ee(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signInWithPassword(e){try{let r;if("email"in e){const{email:i,password:o,options:l}=e;r=await re(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:i,password:o,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:wv})}else if("phone"in e){const{phone:i,password:o,options:l}=e;r=await re(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:i,password:o,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:wv})}else throw new Ul("You must provide either an email or phone number and a password");const{data:s,error:a}=r;if(a)return this._returnResult({data:{user:null,session:null},error:a});if(!s||!s.session||!s.user){const i=new ca;return this._returnResult({data:{user:null,session:null},error:i})}return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",s.session)),this._returnResult({data:Object.assign({user:s.user,session:s.session},s.weak_password?{weakPassword:s.weak_password}:null),error:a})}catch(r){if(ee(r))return this._returnResult({data:{user:null,session:null},error:r});throw r}}async signInWithOAuth(e){var r,s,a,i;return await this._handleProviderSignIn(e.provider,{redirectTo:(r=e.options)===null||r===void 0?void 0:r.redirectTo,scopes:(s=e.options)===null||s===void 0?void 0:s.scopes,queryParams:(a=e.options)===null||a===void 0?void 0:a.queryParams,skipBrowserRedirect:(i=e.options)===null||i===void 0?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(e))}async signInWithWeb3(e){const{chain:r}=e;switch(r){case"ethereum":return await this.signInWithEthereum(e);case"solana":return await this.signInWithSolana(e);default:throw new Error(`@supabase/auth-js: Unsupported chain "${r}"`)}}async signInWithEthereum(e){var r,s,a,i,o,l,c,d,u,m,h;let f,v;if("message"in e)f=e.message,v=e.signature;else{const{chain:p,wallet:w,statement:b,options:g}=e;let y;if(pt())if(typeof w=="object")y=w;else{const T=window;if("ethereum"in T&&typeof T.ethereum=="object"&&"request"in T.ethereum&&typeof T.ethereum.request=="function")y=T.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof w!="object"||!(g!=null&&g.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");y=w}const j=new URL((r=g==null?void 0:g.url)!==null&&r!==void 0?r:window.location.href),N=await y.request({method:"eth_requestAccounts"}).then(T=>T).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!N||N.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const S=s2(N[0]);let _=(s=g==null?void 0:g.signInWithEthereum)===null||s===void 0?void 0:s.chainId;if(!_){const T=await y.request({method:"eth_chainId"});_=bM(T)}const E={domain:j.host,address:S,statement:b,uri:j.href,version:"1",chainId:_,nonce:(a=g==null?void 0:g.signInWithEthereum)===null||a===void 0?void 0:a.nonce,issuedAt:(o=(i=g==null?void 0:g.signInWithEthereum)===null||i===void 0?void 0:i.issuedAt)!==null&&o!==void 0?o:new Date,expirationTime:(l=g==null?void 0:g.signInWithEthereum)===null||l===void 0?void 0:l.expirationTime,notBefore:(c=g==null?void 0:g.signInWithEthereum)===null||c===void 0?void 0:c.notBefore,requestId:(d=g==null?void 0:g.signInWithEthereum)===null||d===void 0?void 0:d.requestId,resources:(u=g==null?void 0:g.signInWithEthereum)===null||u===void 0?void 0:u.resources};f=jM(E),v=await y.request({method:"personal_sign",params:[wM(f),S]})}try{const{data:p,error:w}=await re(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:f,signature:v},!((m=e.options)===null||m===void 0)&&m.captchaToken?{gotrue_meta_security:{captcha_token:(h=e.options)===null||h===void 0?void 0:h.captchaToken}}:null),xform:ur});if(w)throw w;if(!p||!p.session||!p.user){const b=new ca;return this._returnResult({data:{user:null,session:null},error:b})}return p.session&&(await this._saveSession(p.session),await this._notifyAllSubscribers("SIGNED_IN",p.session)),this._returnResult({data:Object.assign({},p),error:w})}catch(p){if(ee(p))return this._returnResult({data:{user:null,session:null},error:p});throw p}}async signInWithSolana(e){var r,s,a,i,o,l,c,d,u,m,h,f;let v,p;if("message"in e)v=e.message,p=e.signature;else{const{chain:w,wallet:b,statement:g,options:y}=e;let j;if(pt())if(typeof b=="object")j=b;else{const S=window;if("solana"in S&&typeof S.solana=="object"&&("signIn"in S.solana&&typeof S.solana.signIn=="function"||"signMessage"in S.solana&&typeof S.solana.signMessage=="function"))j=S.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof b!="object"||!(y!=null&&y.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");j=b}const N=new URL((r=y==null?void 0:y.url)!==null&&r!==void 0?r:window.location.href);if("signIn"in j&&j.signIn){const S=await j.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},y==null?void 0:y.signInWithSolana),{version:"1",domain:N.host,uri:N.href}),g?{statement:g}:null));let _;if(Array.isArray(S)&&S[0]&&typeof S[0]=="object")_=S[0];else if(S&&typeof S=="object"&&"signedMessage"in S&&"signature"in S)_=S;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in _&&"signature"in _&&(typeof _.signedMessage=="string"||_.signedMessage instanceof Uint8Array)&&_.signature instanceof Uint8Array)v=typeof _.signedMessage=="string"?_.signedMessage:new TextDecoder().decode(_.signedMessage),p=_.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in j)||typeof j.signMessage!="function"||!("publicKey"in j)||typeof j!="object"||!j.publicKey||!("toBase58"in j.publicKey)||typeof j.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");v=[`${N.host} wants you to sign in with your Solana account:`,j.publicKey.toBase58(),...g?["",g,""]:[""],"Version: 1",`URI: ${N.href}`,`Issued At: ${(a=(s=y==null?void 0:y.signInWithSolana)===null||s===void 0?void 0:s.issuedAt)!==null&&a!==void 0?a:new Date().toISOString()}`,...!((i=y==null?void 0:y.signInWithSolana)===null||i===void 0)&&i.notBefore?[`Not Before: ${y.signInWithSolana.notBefore}`]:[],...!((o=y==null?void 0:y.signInWithSolana)===null||o===void 0)&&o.expirationTime?[`Expiration Time: ${y.signInWithSolana.expirationTime}`]:[],...!((l=y==null?void 0:y.signInWithSolana)===null||l===void 0)&&l.chainId?[`Chain ID: ${y.signInWithSolana.chainId}`]:[],...!((c=y==null?void 0:y.signInWithSolana)===null||c===void 0)&&c.nonce?[`Nonce: ${y.signInWithSolana.nonce}`]:[],...!((d=y==null?void 0:y.signInWithSolana)===null||d===void 0)&&d.requestId?[`Request ID: ${y.signInWithSolana.requestId}`]:[],...!((m=(u=y==null?void 0:y.signInWithSolana)===null||u===void 0?void 0:u.resources)===null||m===void 0)&&m.length?["Resources",...y.signInWithSolana.resources.map(_=>`- ${_}`)]:[]].join(` 482`);const S=await j.signMessage(new TextEncoder().encode(v),"utf8");if(!S||!(S instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");p=S}}try{const{data:w,error:b}=await re(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:v,signature:_n(p)}
482,!((h=e.options)===null||h===void 0)&&h.captchaToken?{gotrue_meta_security:{captcha_token:(f=e.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:ur});if(b)throw b;if(!w||!w.session||!w.user){const g=new ca;return this._returnResult({data:{user:null,session:null},error:g})}return w.session&&(await this._saveSession(w.session),await this._notifyAllSubscribers("SIGNED_IN",w.session)),this._returnResult({data:Object.assign({},w),error:b})}catch(w){if(ee(w))return this._returnResult({data:{user:null,session:null},error:w});throw w}}async _exchangeCodeForSession(e){const r=await pn(this.storage,`${this.storageKey}-code-verifier`),[s,a]=(r??"").split("/");try{const{data:i,error:o}=await re(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:s},xform:ur});if(await ys(this.storage,`${this.storageKey}-code-verifier`),o)throw o;if(!i||!i.session||!i.user){const l=new ca;return this._returnResult({data:{user:null,session:null,redirectType:null},error:l})}return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",i.session)),this._returnResult({data:Object.assign(Object.assign({},i),{redirectType:a??null}),error:o})}catch(i){if(ee(i))return this._returnResult({data:{user:null,session:null,redirectType:null},error:i});throw i}}async signInWithIdToken(e){try{const{options:r,provider:s,token:a,access_token:i,nonce:o}=e,l=await re(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:s,id_token:a,access_token:i,nonce:o,gotrue_meta_security:{captcha_token:r==null?void 0:r.captchaToken}},xform:ur}),{data:c,error:d}=l;if(d)return this._returnResult({data:{user:null,session:null},error:d});if(!c||!c.session||!c.user){const u=new ca;return this._returnResult({data:{user:null,session:null},error:u})}return c.session&&(await this._saveSession(c.session),await this._notifyAllSubscribers("SIGNED_IN",c.session)),this._returnResult({data:c,error:d})}catch(r){if(ee(r))return this._returnResult({data:{user:null,session:null},error:r});throw r}}async signInWithOtp(e){var r,s,a,i,o;try{if("email"in e){const{email:l,options:c}=e;let d=null,u=null;this.flowType==="pkce"&&([d,u]=await da(this.storage,this.storageKey));const{error:m}=await re(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:l,data:(r=c==null?void 0:c.data)!==null&&r!==void 0?r:{},create_user:(s=c==null?void 0:c.shouldCreateUser)!==null&&s!==void 0?s:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},code_challenge:d,code_challenge_method:u},redirectTo:c==null?void 0:c.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:m})}if("phone"in e){const{phone:l,options:c}=e,{data:d,error:u}=await re(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:l,data:(a=c==null?void 0:c.data)!==null&&a!==void 0?a:{},create_user:(i=c==null?void 0:c.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},channel:(o=c==null?void 0:c.channel)!==null&&o!==void 0?o:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:d==null?void 0:d.message_id},error:u})}throw new Ul("You must provide either an email or phone number.")}catch(l){if(ee(l))return this._returnResult({data:{user:null,session:null},error:l});throw l}}async verifyOtp(e){var r,s;try{let a,i;"options"in e&&(a=(r=e.options)===null||r===void 0?void 0:r.redirectTo,i=(s=e.options)===null||s===void 0?void 0:s.captchaToken);const{data:o,error:l}=await re(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:i}}),redirectTo:a,xform:ur});if(l)throw l;if(!o)throw new Error("An error occurred on token verification.");const c=o.session,d=o.user;return c!=null&&c.access_token&&(await this._saveSession(c),await this._notifyAllSubscribers(e.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",c)),this._returnResult({data:{user:d,session:c},error:null})}catch(a){if(ee(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}}async signInWithSSO(e){var r,s,a;try{let i=null,o=null;this.flowType==="pkce"&&([i,o]=await da(this.storage,this.storageKey));const l=await re(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in e?{provider_id:e.providerId}:null),"domain"in e?{domain:e.domain}:null),{redirect_to:(s=(r=e.options)===null||r===void 0?void 0:r.redirectTo)!==null&&s!==void 0?s:void 0}),!((a=e==null?void 0:e.options)===null||a===void 0)&&a.captchaToken?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:i,code_challenge_method:o}),headers:this.headers,xform:hM});return this._returnResult(l)}catch(i){if(ee(i))return this._returnResult({data:null,error:i});throw i}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async e=>{const{data:{session:r},error:s}=e;if(s)throw s;if(!r)throw new dr;const{error:a}=await re(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:r.access_token});return this._returnResult({data:{user:null,session:null},error:a})})}catch(e){if(ee(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async resend(e){try{const r=`${this.url}/resend`;if("email"in e){const{email:s,type:a,options:i}=e,{error:o}=await re(this.fetch,"POST",r,{headers:this.headers,body:{email:s,type:a,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}},redirectTo:i==null?void 0:i.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:o})}else if("phone"in e){const{phone:s,type:a,options:i}=e,{data:o,error:l}=await re(this.fetch,"POST",r,{headers:this.headers,body:{phone:s,type:a,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:o==null?void 0:o.message_id},error:l})}throw new Ul("You must provide either an email or phone number and a type")}catch(r){if(ee(r))return this._returnResult({data:{user:null,session:null},error:r});throw r}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async r=>r))}async _acquireLock(e,r){this._debug("#_acquireLock","begin",e);try{if(this.lockAcquired){const s=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),a=(async()=>(await s,await r()))();return this.pendingInLock.push((async()=>{try{await a}catch{}})()),a}return await this.lock(`lock:${this.storageKey}`,e,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const s=r();for(this.pendingInLock.push((async()=>{try{await s}catch{}})()),await s;this.pendingInLock.length;){const a=[...this.pendingInLock];await Promise.all(a),this.pendingInLock.splice(0,a.length)}return await s}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(e){this._debug("#_useSession","begin");try{const r=await this.__loadSession();return await e(r)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let e=null;const r=await pn(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",r),r!==null&&(this._isValidSession(r)?e=r:(this._debug("#getSession()","session from storage is not val
482id"),await this._removeSession())),!e)return{data:{session:null},error:null};const s=e.expires_at?e.expires_at*1e3-Date.now()<sm:!1;if(this._debug("#__loadSession()",`session has${s?"":" not"} expired`,"expires_at",e.expires_at),!s){if(this.userStorage){const o=await pn(this.userStorage,this.storageKey+"-user");o!=null&&o.user?e.user=o.user:e.user=im()}if(this.storage.isServer&&e.user&&!e.user.__isUserNotAvailableProxy){const o={value:this.suppressGetSessionWarning};e.user=cM(e.user,o),o.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:e},error:null}}const{data:a,error:i}=await this._callRefreshToken(e.refresh_token);return i?this._returnResult({data:{session:null},error:i}):this._returnResult({data:{session:a},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(e){return e?await this._getUser(e):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(e){try{return e?await re(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:e,xform:ks}):await this._useSession(async r=>{var s,a,i;const{data:o,error:l}=r;if(l)throw l;return!(!((s=o.session)===null||s===void 0)&&s.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new dr}:await re(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(i=(a=o.session)===null||a===void 0?void 0:a.access_token)!==null&&i!==void 0?i:void 0,xform:ks})})}catch(r){if(ee(r))return $5(r)&&(await this._removeSession(),await ys(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:r});throw r}}async updateUser(e,r={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(e,r))}async _updateUser(e,r={}){try{return await this._useSession(async s=>{const{data:a,error:i}=s;if(i)throw i;if(!a.session)throw new dr;const o=a.session;let l=null,c=null;this.flowType==="pkce"&&e.email!=null&&([l,c]=await da(this.storage,this.storageKey));const{data:d,error:u}=await re(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:r==null?void 0:r.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:l,code_challenge_method:c}),jwt:o.access_token,xform:ks});if(u)throw u;return o.user=d.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),this._returnResult({data:{user:o.user},error:null})})}catch(s){if(ee(s))return this._returnResult({data:{user:null},error:s});throw s}}async setSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(e))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new dr;const r=Date.now()/1e3;let s=r,a=!0,i=null;const{payload:o}=am(e.access_token);if(o.exp&&(s=o.exp,a=s<=r),a){const{data:l,error:c}=await this._callRefreshToken(e.refresh_token);if(c)return this._returnResult({data:{user:null,session:null},error:c});if(!l)return{data:{user:null,session:null},error:null};i=l}else{const{data:l,error:c}=await this._getUser(e.access_token);if(c)throw c;i={access_token:e.access_token,refresh_token:e.refresh_token,user:l.user,token_type:"bearer",expires_in:s-r,expires_at:s},await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)}return this._returnResult({data:{user:i.user,session:i},error:null})}catch(r){if(ee(r))return this._returnResult({data:{session:null,user:null},error:r});throw r}}async refreshSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(e))}async _refreshSession(e){try{return await this._useSession(async r=>{var s;if(!e){const{data:o,error:l}=r;if(l)throw l;e=(s=o.session)!==null&&s!==void 0?s:void 0}if(!(e!=null&&e.refresh_token))throw new dr;const{data:a,error:i}=await this._callRefreshToken(e.refresh_token);return i?this._returnResult({data:{user:null,session:null},error:i}):a?this._returnResult({data:{user:a.user,session:a},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(r){if(ee(r))return this._returnResult({data:{user:null,session:null},error:r});throw r}}async _getSessionFromURL(e,r){try{if(!pt())throw new Vl("No browser detected.");
482if(e.error||e.error_description||e.error_code)throw new Vl(e.error_description||"Error in URL with unspecified error_description",{error:e.error||"unspecified_error",code:e.error_code||"unspecified_code"});switch(r){case"implicit":if(this.flowType==="pkce")throw new fv("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Vl("Not a valid implicit grant flow url.");break;default:}if(r==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!e.code)throw new fv("No code detected.");const{data:g,error:y}=await this._exchangeCodeForSession(e.code);if(y)throw y;const j=new URL(window.location.href);return j.searchParams.delete("code"),window.history.replaceState(window.history.state,"",j.toString()),{data:{session:g.session,redirectType:null},error:null}}const{provider_token:s,provider_refresh_token:a,access_token:i,refresh_token:o,expires_in:l,expires_at:c,token_type:d}=e;if(!i||!l||!o||!d)throw new Vl("No session defined in URL");const u=Math.round(Date.now()/1e3),m=parseInt(l);let h=u+m;c&&(h=parseInt(c));const f=h-u;f*1e3<=xa&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${f}s, should have been closer to ${m}s`);const v=h-m;u-v>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",v,h,u):u-v<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",v,h,u);const{data:p,error:w}=await this._getUser(i);if(w)throw w;const b={provider_token:s,provider_refresh_token:a,access_token:i,expires_in:m,expires_at:h,refresh_token:o,token_type:d,user:p.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:b,redirectType:e.type},error:null})}catch(s){if(ee(s))return this._returnResult({data:{session:null,redirectType:null},error:s});throw s}}_isImplicitGrantCallback(e){return!!(e.access_token||e.error_description)}async _isPKCECallback(e){const r=await pn(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&r)}async signOut(e={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(e))}async _signOut({scope:e}={scope:"global"}){return await this._useSession(async r=>{var s;const{data:a,error:i}=r;if(i)return this._returnResult({error:i});const o=(s=a.session)===null||s===void 0?void 0:s.access_token;if(o){const{error:l}=await this.admin.signOut(o,e);if(l&&!(F5(l)&&(l.status===404||l.status===401||l.status===403)))return this._returnResult({error:l})}return e!=="others"&&(await this._removeSession(),await ys(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(e){const r=Y5(),s={id:r,callback:e,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",r),this.stateChangeEmitters.delete(r)}};return this._debug("#onAuthStateChange()","registered callback with id",r),this.stateChangeEmitters.set(r,s),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(r)})))(),{data:{subscription:s}}}async _emitInitialSession(e){return await this._useSession(async r=>{var s,a;try{const{data:{session:i},error:o}=r;if(o)throw o;await((s=this.stateChangeEmitters.get(e))===null||s===void 0?void 0:s.callback("INITIAL_SESSION",i)),this._debug("INITIAL_SESSION","callback id",e,"session",i)}catch(i){await((a=this.stateChangeEmitters.get(e))===null||a===void 0?void 0:a.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",e,"error",i),console.error(i)}})}async resetPasswordForEmail(e,r={}){let s=null,a=null;this.flowType==="pkce"&&([s,a]=await da(this.storage,this.storageKey,!0));try{return await re(this.fetch,"POST",`${this.url}/recover`,{body:{email:e,code_challenge:s,code_challenge_method:a,gotrue_meta_security:{captcha_token:r.captchaToken}},headers:this.headers,redirectTo:r.redirectTo})}catch(i){if(ee(i))return this._returnResult({data:null,error:i});throw i}}async getUserIdentities(){var e;try{const{data:r,error:s}=await this.getUser();if(s)throw s;return this._returnResult({data:{identities:(e=r.user.identities)!==null&&e!==void 0?e:[]},error:null})}catch(r){if(ee(r))return this._returnResult({data:null,error:r});throw r}}async linkIdentity(e){return"token"in e?this.linkIdentityIdToken(e):this.linkIdentityOAuth(e)}async linkIdentityOAuth(e){var r;try{const{data:s,error:a}=await this._useSession(async i=>{var o,l,c,d,u;const{data:m,error:h}=i;if(h)throw h;const f=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:(o=e.options)===null||o===void 0?void 0:o.redirectTo,scopes:(l=e.options)===null||l===void 0?void 0:l.scopes,queryParams:(c=e.options)===null||c===void 0?void 0:c.queryParams,skipBrowserRedirect:!0});return await re(this.fetch,"GET",f,{headers:this.headers,jwt:(u=(d=m.session)===null||d===void 0?void 0:d.access_token)!==null&&u!==void 0?u:void 0})});if(a)throw a;return pt()&&!(!((r=e.options)===null||r===void 0)&&r.skipBrowserRedirect)&&window.location.assign(s==null?void 0:s.url),this._returnResult({data:{provider:e.provider,url:s==null?void 0:s.url},error:null})}catch(s){if(ee(s))return this._returnResult({data:{provider:e.provider,url:null},error:s});throw s}}async linkIdentityIdToken(e){return await this._useSession(async r=>{var s;try{const{error:a,data:{session:i}}=r;if(a)throw a;const{options:o,provider:l,token:c,access_token:d,nonce:u}=e,m=await re(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(s=i==null?void 0:i.access_token)!==null&&s!==void 0?s:void 0,body:{provider:l,id_token:c,access_token:d,nonce:u,link_identity:!0,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},xform:ur}),{data:h,error:f}=m;return f?this._returnResult({data:{user:null,session:null},error:f}):!h||!h.session||!h.user?this._returnResult({data:{user:null,session:null},error:new ca}):(h.session&&(await this._saveSession(h.session),await this._notifyAllSubscribers("USER_UPDATED",h.session)),this._returnResult({data:h,error:f}))}catch(a){if(ee(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}})}async unlinkIdentity(e){try{return await this._useSession(async r=>{var s,a;const{data:i,error:o}=r;if(o)throw o;
482return await re(this.fetch,"DELETE",`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:(a=(s=i.session)===null||s===void 0?void 0:s.access_token)!==null&&a!==void 0?a:void 0})})}catch(r){if(ee(r))return this._returnResult({data:null,error:r});throw r}}async _refreshAccessToken(e){const r=`#_refreshAccessToken(${e.substring(0,5)}...)`;this._debug(r,"begin");try{const s=Date.now();return await X5(async a=>(a>0&&await J5(200*Math.pow(2,a-1)),this._debug(r,"refreshing attempt",a),await re(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:ur})),(a,i)=>{const o=200*Math.pow(2,a);return i&&nm(i)&&Date.now()+o-s<xa})}catch(s){if(this._debug(r,"error",s),ee(s))return this._returnResult({data:{session:null,user:null},error:s});throw s}finally{this._debug(r,"end")}}_isValidSession(e){return typeof e=="object"&&e!==null&&"access_token"in e&&"refresh_token"in e&&"expires_at"in e}async _handleProviderSignIn(e,r){const s=await this._getUrlForProvider(`${this.url}/authorize`,e,{redirectTo:r.redirectTo,scopes:r.scopes,queryParams:r.queryParams});return this._debug("#_handleProviderSignIn()","provider",e,"options",r,"url",s),pt()&&!r.skipBrowserRedirect&&window.location.assign(s),{data:{provider:e,url:s},error:null}}async _recoverAndRefresh(){var e,r;const s="#_recoverAndRefresh()";this._debug(s,"begin");try{const a=await pn(this.storage,this.storageKey);if(a&&this.userStorage){let o=await pn(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!o&&(o={user:a.user},await ga(this.userStorage,this.storageKey+"-user",o)),a.user=(e=o==null?void 0:o.user)!==null&&e!==void 0?e:im()}else if(a&&!a.user&&!a.user){const o=await pn(this.storage,this.storageKey+"-user");o&&(o!=null&&o.user)?(a.user=o.user,await ys(this.storage,this.storageKey+"-user"),await ga(this.storage,this.storageKey,a)):a.user=im()}if(this._debug(s,"session from storage",a),!this._isValidSession(a)){this._debug(s,"session is not valid"),a!==null&&await this._removeSession();return}const i=((r=a.expires_at)!==null&&r!==void 0?r:1/0)*1e3-Date.now()<sm;if(this._debug(s,`session has${i?"":" not"} expired with margin of ${sm}s`),i){if(this.autoRefreshToken&&a.refresh_token){const{error:o}=await this._callRefreshToken(a.refresh_token);o&&(console.error(o),nm(o)||(this._debug(s,"refresh failed with a non-retryable error, removing the session",o),await this._removeSession()))}}else if(a.user&&a.user.__isUserNotAvailableProxy===!0)try{const{data:o,error:l}=await this._getUser(a.access_token);!l&&(o!=null&&o.user)?(a.user=o.user,await this._saveSession(a),await this._notifyAllSubscribers("SIGNED_IN",a)):this._debug(s,"could not get user data, skipping SIGNED_IN notification")}catch(o){console.error("Error getting user data:",o),this._debug(s,"error getting user data, skipping SIGNED_IN notification",o)}else await this._notifyAllSubscribers("SIGNED_IN",a)}catch(a){this._debug(s,"error",a),console.error(a);return}finally{this._debug(s,"end")}}async _callRefreshToken(e){var r,s;if(!e)throw new dr;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const a=`#_callRefreshToken(${e.substring(0,5)}...)`;this._debug(a,"begin");try{this.refreshingDeferred=new Kd;const{data:i,error:o}=await this._refreshAccessToken(e);if(o)throw o;if(!i.session)throw new dr;await this._saveSession(i.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",i.session);const l={data:i.session,error:null};return this.refreshingDeferred.resolve(l),l}catch(i){if(this._debug(a,"error",i),ee(i)){const o={data:null,error:i};return nm(i)||await this._removeSession(),(r=this.refreshingDeferred)===null||r===void 0||r.resolve(o),o}throw(s=this.refreshingDeferred)===null||s===void 0||s.reject(i),i}finally{this.refreshingDeferred=null,this._debug(a,"end")}}async _notifyAllSubscribers(e,r,s=!0){const a=`#_notifyAllSubscribers(${e})`;this._debug(a,"begin",r,`broadcast = ${s}`);try{this.broadcastChannel&&s&&this.broadcastChannel.postMessage({event:e,session:r});const i=[],o=Array.from(this.stateChangeEmitters.values()).map(async l=>{try{await l.callback(e,r)}catch(c){i.push(c)}});if(await Promise.all(o),i.length>0){for(let l=0;l<i.length;l+=1)console.error(i[l]);throw i[0]}}finally{this._debug(a,"end")}}async _saveSession(e){this._debug("#_saveSession()",e),this.suppressGetSessionWarning=!0;const r=Object.assign({},e),s=r.user&&r.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!s&&r.user&&await ga(this.userStorage,this.storageKey+"-user",{user:r.user});const a=Object.assign({},r);delete a.user;const i=vv(a);await ga(this.storage,this.storageKey,i)}else{const a=vv(r);await ga(this.storage,this.storageKey,a)}}async _removeSession(){this._debug("#_removeSession()"),await ys(this.storage,this.storageKey),await ys(this.storage,this.storageKey+"-code-verifier"),await ys(this.storage,this.storageKey+"-user"),this.userStorage&&await ys(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const e=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{e&&pt()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",e)}
482catch(r){console.error("removing visibilitychange callback failed",r)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const e=setInterval(()=>this._autoRefreshTokenTick(),xa);this.autoRefreshTicker=e,e&&typeof e=="object"&&typeof e.unref=="function"?e.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(e),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const e=Date.now();try{return await this._useSession(async r=>{const{data:{session:s}}=r;if(!s||!s.refresh_token||!s.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const a=Math.floor((s.expires_at*1e3-e)/xa);this._debug("#_autoRefreshTokenTick()",`access token expires in ${a} ticks, a tick lasts ${xa}ms, refresh threshold is ${rf} ticks`),a<=rf&&await this._callRefreshToken(s.refresh_token)})}catch(r){console.error("Auto refresh tick failed with error. This is likely a transient error.",r)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(e){if(e.isAcquireTimeout||e instanceof r2)this._debug("auto refresh token tick lock not available");else throw e}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!pt()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(e){console.error("_handleVisibilityChange",e)}}async _onVisibilityChanged(e){const r=`#_onVisibilityChanged(${e})`;this._debug(r,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),e||(await this.initializePromise,await this._acquireLock(-1,async()=>{if(document.visibilityState!=="visible"){this._debug(r,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(e,r,s){const a=[`provider=${encodeURIComponent(r)}`];if(s!=null&&s.redirectTo&&a.push(`redirect_to=${encodeURIComponent(s.redirectTo)}`),s!=null&&s.scopes&&a.push(`scopes=${encodeURIComponent(s.scopes)}`),this.flowType==="pkce"){const[i,o]=await da(this.storage,this.storageKey),l=new URLSearchParams({code_challenge:`${encodeURIComponent(i)}`,code_challenge_method:`${encodeURIComponent(o)}`});a.push(l.toString())}if(s!=null&&s.queryParams){const i=new URLSearchParams(s.queryParams);a.push(i.toString())}return s!=null&&s.skipBrowserRedirect&&a.push(`skip_http_redirect=${s.skipBrowserRedirect}`),`${e}?${a.join("&")}`}async _unenroll(e){try{return await this._useSession(async r=>{var s;const{data:a,error:i}=r;return i?this._returnResult({data:null,error:i}):await re(this.fetch,"DELETE",`${this.url}/factors/${e.factorId}`,{headers:this.headers,jwt:(s=a==null?void 0:a.session)===null||s===void 0?void 0:s.access_token})})}catch(r){if(ee(r))return this._returnResult({data:null,error:r});throw r}}async _enroll(e){try{return await this._useSession(async r=>{var s,a;const{data:i,error:o}=r;if(o)return this._returnResult({data:null,error:o});const l=Object.assign({friendly_name:e.friendlyName,factor_type:e.factorType},e.factorType==="phone"?{phone:e.phone}:e.factorType==="totp"?{issuer:e.issuer}:{}),{data:c,error:d}=await re(this.fetch,"POST",`${this.url}/factors`,{body:l,headers:this.headers,jwt:(s=i==null?void 0:i.session)===null||s===void 0?void 0:s.access_token});return d?this._returnResult({data:null,error:d}):(e.factorType==="totp"&&c.type==="totp"&&(!((a=c==null?void 0:c.totp)===null||a===void 0)&&a.qr_code)&&(c.totp.qr_code=`data:image/svg+xml;utf-8,${c.totp.qr_code}`),this._returnResult({data:c,error:null}))})}catch(r){if(ee(r))return this._returnResult({data:null,error:r});throw r}}async _verify(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async r=>{var s;const{data:a,error:i}=r;if(i)return this._returnResult({data:null,error:i});const o=Object.assign({challenge_id:e.challengeId},"webauthn"in e?{webauthn:Object.assign(Object.assign({},e.webauthn),{credential_response:e.webauthn.type==="create"?AM(e.webauthn.credential_response):TM(e.webauthn.credential_response)})}:{code:e.code}),{data:l,error:c}=await re(this.fetch,"POST",`${this.url}/factors/${e.factorId}/verify`,{body:o,headers:this.headers,jwt:(s=a==null?void 0:a.session)===null||s===void 0?void 0:s.access_token});return c?this._returnResult({data:null,error:c}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+l.expires_in},l)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",l),this._returnResult({data:l,error:c}))})}catch(r){if(ee(r))return this._returnResult({data:null,error:r});throw r}})}async _challenge(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async r=>{var s;const{data:a,error:i}=r;if(i)return this._returnResult({data:null,error:i});const o=await re(this.fetch,"POST",`${this.url}/factors/${e.factorId}/challenge`,{body:e,headers:this.headers,jwt:(s=a==null?void 0:a.session)===null||s===void 0?void 0:s.access_token});if(o.error)return o;const{data:l}=o;if(l.type!=="webauthn")return{data:l,error:null};switch(l.webauthn.type){case"create":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:CM(l.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:EM(l.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(r){if(ee(r))return this._returnResult({data:null,error:r});throw r}})}async _challengeAndVerify(e){const{data:r,error:s}=await this._challenge({factorId:e.factorId});return s?this._returnResult({data:null,error:s}):await this._verify({factorId:e.factorId,challengeId:r.id,code:e.code})}async _listFactors(){var e;const{data:{user:r},error:s}=await this.getUser();if(s)return{data:null,error:s};const a={all:[],phone:[],totp:[],webauthn:[]};for(const i of(e=r==null?void 0:r.factors)!==null&&e!==void 0?e:[])a.all.push(i),i.status==="verified"&&a[i.factor_type].push(i);return{data:a,error:null}}async _getAuthenticatorAssuranceLevel(){var e,r;const{data:{session:s},error:a}
482=await this.getSession();if(a)return this._returnResult({data:null,error:a});if(!s)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:i}=am(s.access_token);let o=null;i.aal&&(o=i.aal);let l=o;((r=(e=s.user.factors)===null||e===void 0?void 0:e.filter(u=>u.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(l="aal2");const d=i.amr||[];return{data:{currentLevel:o,nextLevel:l,currentAuthenticationMethods:d},error:null}}async _getAuthorizationDetails(e){try{return await this._useSession(async r=>{const{data:{session:s},error:a}=r;return a?this._returnResult({data:null,error:a}):s?await re(this.fetch,"GET",`${this.url}/oauth/authorizations/${e}`,{headers:this.headers,jwt:s.access_token,xform:i=>({data:i,error:null})}):this._returnResult({data:null,error:new dr})})}catch(r){if(ee(r))return this._returnResult({data:null,error:r});throw r}}async _approveAuthorization(e,r){try{return await this._useSession(async s=>{const{data:{session:a},error:i}=s;if(i)return this._returnResult({data:null,error:i});if(!a)return this._returnResult({data:null,error:new dr});const o=await re(this.fetch,"POST",`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:a.access_token,body:{action:"approve"},xform:l=>({data:l,error:null})});return o.data&&o.data.redirect_url&&pt()&&!(r!=null&&r.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(s){if(ee(s))return this._returnResult({data:null,error:s});throw s}}async _denyAuthorization(e,r){try{return await this._useSession(async s=>{const{data:{session:a},error:i}=s;if(i)return this._returnResult({data:null,error:i});if(!a)return this._returnResult({data:null,error:new dr});const o=await re(this.fetch,"POST",`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:a.access_token,body:{action:"deny"},xform:l=>({data:l,error:null})});return o.data&&o.data.redirect_url&&pt()&&!(r!=null&&r.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(s){if(ee(s))return this._returnResult({data:null,error:s});throw s}}async fetchJwk(e,r={keys:[]}){let s=r.keys.find(l=>l.kid===e);if(s)return s;const a=Date.now();if(s=this.jwks.keys.find(l=>l.kid===e),s&&this.jwks_cached_at+z5>a)return s;const{data:i,error:o}=await re(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(o)throw o;return!i.keys||i.keys.length===0||(this.jwks=i,this.jwks_cached_at=a,s=i.keys.find(l=>l.kid===e),!s)?null:s}async getClaims(e,r={}){try{let s=e;if(!s){const{data:f,error:v}
482=await this.getSession();if(v||!f.session)return this._returnResult({data:null,error:v});s=f.session.access_token}const{header:a,payload:i,signature:o,raw:{header:l,payload:c}}=am(s);r!=null&&r.allowExpired||iM(i.exp);const d=!a.alg||a.alg.startsWith("HS")||!a.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(a.kid,r!=null&&r.keys?{keys:r.keys}:r==null?void 0:r.jwks);if(!d){const{error:f}=await this.getUser(s);if(f)throw f;return{data:{claims:i,header:a,signature:o},error:null}}const u=oM(a.alg),m=await crypto.subtle.importKey("jwk",d,u,!0,["verify"]);if(!await crypto.subtle.verify(u,m,o,G5(`${l}.${c}`)))throw new af("Invalid JWT signature");return{data:{claims:i,header:a,signature:o},error:null}}catch(s){if(ee(s))return this._returnResult({data:null,error:s});throw s}}}$o.nextInstanceID={};const BM=$o;class FM extends BM{constructor(e){super(e)}}class $M{constructor(e,r,s){var a,i,o;this.supabaseUrl=e,this.supabaseKey=r;const l=I5(e);if(!r)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",l),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",l),this.storageUrl=new URL("storage/v1",l),this.functionsUrl=new URL("functions/v1",l);const c=`sb-${l.hostname.split(".")[0]}-auth-token`,d={db:_5,realtime:C5,auth:Object.assign(Object.assign({},k5),{storageKey:c}),global:S5},u=R5(s??{},d);this.storageKey=(a=u.auth.storageKey)!==null&&a!==void 0?a:"",this.headers=(i=u.global.headers)!==null&&i!==void 0?i:{},u.accessToken?(this.accessToken=u.accessToken,this.auth=new Proxy({},{get:(m,h)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(h)} is not possible`)}})):this.auth=this._initSupabaseAuthClient((o=u.auth)!==null&&o!==void 0?o:{},this.headers,u.global.fetch),this.fetch=T5(r,this._getAccessToken.bind(this),u.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},u.realtime)),this.rest=new OD(new URL("rest/v1",l).href,{headers:this.headers,schema:u.db.schema,fetch:this.fetch}),this.storage=new w5(this.storageUrl.href,this.headers,this.fetch,s==null?void 0:s.storage),u.accessToken||this._listenForAuthEvents()}get functions(){return new PD(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,r={},s={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,r,s)}channel(e,r={config:{}}){return this.realtime.channel(e,r)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e,r;if(this.accessToken)return await this.accessToken();const{data:s}=await this.auth.getSession();return(r=(e=s.session)===null||e===void 0?void 0:e.access_token)!==null&&r!==void 0?r:this.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:r,detectSessionInUrl:s,storage:a,userStorage:i,storageKey:o,flowType:l,lock:c,debug:d,throwOnError:u},m,h){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new FM({url:this.authUrl.href,headers:Object.assign(Object.assign({},f),m),storageKey:o,autoRefreshToken:e,persistSession:r,detectSessionInUrl:s,storage:a,userStorage:i,flowType:l,lock:c,debug:d,throwOnError:u,fetch:h,hasCustomAuthorizationHeader:Object.keys(this.headers).some(v=>v.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new ZD(this.realtimeUrl.href,Object.assign(Object.assign({},e),{params:Object.assign({apikey:this.supabaseKey},e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((r,s)=>{this._handleTokenChanged(r,"CLIENT",s==null?void 0:s.access_token)})}_handleTokenChanged(e,r,s){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==s?(this.changedAccessToken=s,this.realtime.setAuth(s)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),r=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const UM=(t,e,r)=>new $M(t,e,r);
482function VM(){if(typeof window<"u"||typeof process>"u")return!1;const t=process.version;if(t==null)return!1;const e=t.match(/^v(\d+)\./);return e?parseInt(e[1],10)<=18:!1}VM()&&console.warn("â ï¸ Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");function WM(){var w,b;if(typeof window>"u")return;const t=location.hostname,r=["lovableproject.com","lovableproject-dev.com","lovable.app","gpt-eng.com","gptengineer.run"].some(g=>t===g||t.endsWith("."+g)),s="[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",a=r?((w=t.match(new RegExp("^(?:id-preview(?:-[a-z0-9]+)?|project)--("+s+")(?:-dev)?(?=\\.|$)","i")))==null?void 0:w[1])??((b=t.match(new RegExp("^("+s+")(?=[.-])","i")))==null?void 0:b[1]):void 0,i=window.parent&&window.parent!==window;if(!a||!i)return localStorage;const o=t.endsWith(".lovableproject-dev.com")||t.endsWith(".gpt-eng.com"),l=o?/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$|^http:\/\/localhost:3000$/:/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$/,c=location.ancestorOrigins&&location.ancestorOrigins[0]||(document.referrer?new URL(document.referrer).origin:""),d=c&&l.test(c)?[c]:o?["https://lovable.dev","http://localhost:3000"]:["https://lovable.dev"],u="lovable-preview-auth:result",m=2e3,h=()=>Math.random().toString(36).slice(2)+Date.now().toString(36),f=(g,y,j)=>new Promise(N=>{const S=h();let _=!1,E;const T=D=>{_||(_=!0,clearTimeout(E),window.removeEventListener("message",O),N(D))},O=D=>{if(d.indexOf(D.origin)<0)return;const G=D.data;G&&G.type===u&&G.requestId===S&&T(G)};window.addEventListener("message",O);const B={type:g,requestId:S,projectId:a,key:y};j!==void 0&&(B.value=j);for(const D of d)window.parent.postMessage(B,D);E=setTimeout(()=>T(null),m)});let v=!0;const p=250;return{getItem:async g=>{let y=await f("lovable-preview-auth:get",g);return!y&&v&&(await new Promise(j=>setTimeout(j,p)),y=await f("lovable-preview-auth:get",g)),v=!1,y&&y.ok&&typeof y.value=="string"?y.value===""?(localStorage.removeItem(g),null):y.value:localStorage.getItem(g)},setItem:(g,y)=>(localStorage.setItem(g,y),f("lovable-preview-auth:set",g,y).then(()=>{})),removeItem:g=>(localStorage.removeItem(g),f("lovable-preview-auth:remove",g).then(()=>{}))}}const HM="https://dbheihsdtmixsriyfmnr.supabase.co",qM="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImRiaGVpaHNkdG1peHNyaXlmbW5yIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjQ4NTY3NzksImV4cCI6MjA4MDQzMjc3OX0.9XIKtp5Y2iUmBKTZ6wMgKwArkVxHgj9TCUB3_TcyvRA",GM=UM(HM,qM,{auth:{storage:WM(),persistSession:!0,autoRefreshToken:!0}}),QM="https://viewer.ideastatica.com/",YM="https://attendee.gotowebinar.com/register/XXXXXXXXX",KM="https://www.construsoft.es/contacto/",a2=["SAP2000","ETABS","STAAD","Otros"],ZM=Y6({professional_email:Ju().trim().email("Introduce un email válido").max(255,"El email es demasiado largo"),company:Ju().trim().min(2,"Indica el nombre de tu empresa").max(160,"El nombre de empresa es demasiado largo"),analysis_software:K6(a2,{required_error:"Selecciona el software que utilizas"}),structure_type:Ju().trim().min(3,"Indica el tipo de estructuras que calculas").max(220,"Resume el tipo de estructuras en menos caracteres")}),JM=()=>{const[t,e]=x.useState({professional_email:"",company:"",analysis_software:"SAP2000",structure_type:""}),[r,s]=x.useState({}),[a,i]=x.useState(!1),[o,l]=x.useState(!1);x.useEffect(()=>{document.title="SAP2000 x IDEA StatiCa Viewer | Construsoft";const h="Explora una unión importada desde SAP2000 en IDEA StatiCa Viewer y descubre el flujo hacia Checkbot, cálculo avanzado e informes.";let f=document.querySelector('meta[name="description"]');f||(f=document.createElement("meta"),f.setAttribute("name","description"),document.head.appendChild(f)),f.setAttribute("content",h)},[]);const c=x.useMemo(()=>[{icon:ih,title:"Analiza tu estructura en SAP2000",text:"Calculas la estructura como siempre: cargas, combinaciones y resultados."},{icon:rE,title:"Exporta conexiones a IDEA StatiCa Checkbot",text:"Lanzas Checkbot desde SAP2000 y sincronizas nudos y miembros: geometrÃa, secciones y esfuerzos internos viajan automáticamente."},{icon:lh,title:"Diseña, verifica y documenta uniones",text:"Agrupas uniones, diseñas la conexión guÃa, ejecutas el code-check y generas informes completos para acero y hormigón, listos para cliente y taller."}],[]),d=(h,f)=>{e(v=>({...v,[h]:f})),s(v=>({...v,[h]:void 0}))},u=()=>{var h;(h=document.getElementById("lead-panel"))==null||h.scrollIntoView({behavior:"smooth",block:"start"})},m=async h=>{h.preventDefault();const f=ZM.safeParse(t);if(!f.success){const p={};
482f.error.issues.forEach(w=>{const b=w.path[0];typeof b=="string"&&b in t&&(p[b]=w.message)}),s(p);return}i(!0);const{error:v}=await GM.from("sap2000_viewer_leads").insert({professional_email:f.data.professional_email,company:f.data.company,analysis_software:f.data.analysis_software,structure_type:f.data.structure_type,source_page:"sap2000-idea-statica-viewer"});if(i(!1),v){eh({title:"No se ha podido enviar el formulario",description:"Inténtalo de nuevo o contacta directamente con nuestro equipo técnico.",variant:"destructive"});return}l(!0),eh({title:"Solicitud recibida",description:"Te enviaremos el archivo y la guÃa del flujo por email."})};return n.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[n.jsx("header",{className:"border-b border-border bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80 sticky top-0 z-40",children:n.jsxs("div",{className:"container mx-auto max-w-7xl px-4 py-3 flex items-center justify-between gap-4",children:[n.jsx("img",{src:es,alt:"Construsoft",className:"h-7 sm:h-8 w-auto"}),n.jsxs($,{variant:"cta",size:"sm",onClick:u,className:"text-xs sm:text-sm",children:["Quiero el archivo",n.jsx(Te,{className:"h-4 w-4"})]})]})}),n.jsxs("main",{children:[n.jsx("section",{className:"bg-secondary py-10 sm:py-14 lg:py-16",children:n.jsx("div",{className:"container mx-auto max-w-7xl px-4",children:n.jsxs("div",{className:"grid lg:grid-cols-[0.92fr_1.08fr] gap-8 lg:gap-12 items-center",children:[n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-border bg-background px-3 py-1 text-xs sm:text-sm font-semibold uppercase tracking-wide",children:[n.jsx(_g,{className:"h-4 w-4 text-primary"}),"SAP2000 â Checkbot â IDEA StatiCa"]}),n.jsxs("div",{className:"space-y-4",children:[n.jsx("h1",{className:"text-3xl sm:text-4xl lg:text-5xl xl:text-6xl font-bold leading-tight max-w-3xl",children:"Juega con una unión importada desde SAP2000 y descubre el flujo hacia IDEA StatiCa en 3 pasos"}),n.jsx("p",{className:"text-base sm:text-lg lg:text-xl text-muted-foreground leading-relaxed max-w-2xl",children:"Explora en tu navegador una conexión real: geometrÃa, tornillos, soldaduras, cargas y resultados. Luego aprende cómo llevar tus propios modelos a este nivel."})]}),n.jsx("div",{className:"grid sm:grid-cols-3 gap-3 max-w-2xl",children:["Modelo importado","Code-check trazable","Informe técnico"].map(h=>n.jsxs("div",{className:"flex items-center gap-2 rounded-md bg-muted px-3 py-3 text-sm font-medium",children:[n.jsx(K,{className:"h-4 w-4 text-primary flex-shrink-0"}),n.jsx("span",{children:h})]},h))}),n.jsx("p",{className:"text-sm sm:text-base text-muted-foreground border-l-4 border-primary pl-4",children:"Más abajo te explicamos cómo funciona este flujo y cómo puedes aplicarlo en tus proyectos SAP2000."})]}),n.jsxs("div",{className:"space-y-3",children:[n.jsxs("div",{className:"flex items-start gap-2 rounded-md bg-background border border-border px-4 py-3 shadow-sm",children:[n.jsx(tE,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),n.jsx("p",{className:"text-sm sm:text-base font-medium",children:"No es un vÃdeo. Es una unión real en IDEA StatiCa Viewer: arrastra y rota el modelo."})]}),n.jsx("div",{className:"rounded-lg border border-border bg-background p-3 shadow-xl",children:n.jsx("div",{className:"aspect-video overflow-hidden rounded-md bg-muted",children:n.jsx("iframe",{src:QM,title:"Unión de acero importada desde SAP2000 en IDEA StatiCa Viewer",className:"h-full w-full border-0",loading:"eager",allow:"fullscreen; xr-spatial-tracking"})})}),n.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4 pt-2 opacity-80",children:[n.jsx("img",{src:Wp,alt:"CSI
482SAP2000",className:"h-6 sm:h-8 w-auto"}),n.jsx(Te,{className:"h-4 w-4 text-muted-foreground"}),n.jsx("img",{src:Fr,alt:"IDEA StatiCa",className:"h-7 sm:h-9 w-auto"})]})]})]})})}),n.jsx("section",{className:"py-14 sm:py-18 lg:py-20 bg-background",children:n.jsxs("div",{className:"container mx-auto max-w-7xl px-4",children:[n.jsxs("div",{className:"max-w-3xl mb-8 sm:mb-12",children:[n.jsx("span",{className:"text-sm font-semibold uppercase tracking-wide text-muted-foreground",children:"Flujo de trabajo integrado"}),n.jsx("h2",{className:"mt-3 text-2xl sm:text-3xl lg:text-4xl font-bold leading-tight",children:"Del modelo global al detalle con informe, en 3 pasos"})]}),n.jsx("div",{className:"grid lg:grid-cols-3 gap-5 lg:gap-6",children:c.map((h,f)=>n.jsx(k,{className:"bg-muted border-border shadow-sm rounded-lg overflow-hidden",children:n.jsxs(C,{className:"p-6 sm:p-7 h-full flex flex-col",children:[n.jsxs("div",{className:"flex items-center justify-between mb-6",children:[n.jsx("div",{className:"h-12 w-12 rounded-md bg-background border border-border flex items-center justify-center",children:n.jsx(h.icon,{className:"h-6 w-6 text-primary"})}),n.jsxs("span",{className:"font-mono text-3xl font-bold text-foreground/20",children:["0",f+1]})]}),n.jsx("h3",{className:"text-xl font-bold leading-snug mb-3",children:h.title}),n.jsx("p",{className:"text-sm sm:text-base text-muted-foreground leading-relaxed",children:h.text})]})},h.title))})]})}),n.jsx("section",{id:"lead-panel",className:"py-14 sm:py-18 lg:py-20 bg-secondary",children:n.jsx("div",{className:"container mx-auto max-w-7xl px-4",children:n.jsxs("div",{className:"grid lg:grid-cols-[0.95fr_1.05fr] gap-8 lg:gap-12 items-start",children:[n.jsxs("div",{className:"space-y-6 lg:sticky lg:top-24",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full bg-background border border-border px-3 py-1 text-xs sm:text-sm font-semibold uppercase tracking-wide",children:[n.jsx(qC,{className:"h-4 w-4 text-primary"}),"Ahá moment aplicado a tus modelos"]}),n.jsx("h2",{className:"text-2xl sm:text-3xl lg:text-4xl font-bold leading-tight",children:"Si calculas nudos parecidos, no necesitas rehacerlos a mano."}),n.jsx("p",{className:"text-base sm:text-lg text-muted-foreground leading-relaxed",children:"Si este tipo de unión se parece a las que trabajas en tus proyectos, podemos mostrarte cómo importar tus propios modelos SAP2000, agrupar decenas de conexiones y generar informes en un clic."}),n.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:[{icon:_g,text:"Archivo para abrir la unión en Viewer"},{icon:Pw,text:"GuÃa práctica del flujo con FEM global"}].map(h=>n.jsxs("div",{className:"rounded-lg bg-muted border border-border p-4 flex items-start gap-3",children:[n.jsx(h.icon,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),n.jsx("p",{className:"text-sm font-medium leading-snug",children:h.text})]},h.text))})]}),n.jsx(k,{className:"bg-background border-border shadow-xl rounded-lg",children:n.jsx(C,{className:"p-5 sm:p-7 lg:p-8",children:o?n.jsxs("div",{className:"py-8 text-center space-y-4",children:[n.jsx(K,{className:"h-14 w-14 text-primary mx-auto"}),n.jsx("h3",{className:"text-2xl font-bold",children:"Solicitud recibida"}),n.jsx("p",{className:"text-muted-foreground max-w-md mx-auto",children:"Te enviaremos el archivo del Viewer y la guÃa práctica para replicar el flujo con tu FEM global."})]}):n.jsxs("form",{onSubmit:m,className:"space-y-5",noValidate:!0,children:[n.jsxs("div",{className:"space-y-2",children:[n.jsxs("div",{className:"flex items-center gap-2 text-primary",children:[n.jsx(eE,{className:"h-5 w-5"}),n.jsx("p",{className:"font-bold text-foreground",children:"Déjanos tu email y te enviaremos:"})]}),n.jsxs("ul",{className:"space-y-2 text-sm text-muted-foreground pl-7 list-disc",children:[n.jsx("li",{children:"el archivo de esta unión para abrirlo tú mismo en Viewer,"}),n.jsx("li",{children:"y una guÃa práctica para replicar el flujo con tu FEM global."})]})]}),n.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[n.jsxs("div",{className:"space-y-2",children:[n.jsx(At,{htmlFor:"professional_email",children:"Email profesional"}),n.jsx(nt,{id:"professional_email",type:"email",inputMode:"email",autoComplete:"email",value:t.professional_email,onChange:h=>d("professional_email",h.target.value),placeholder:"[email protected]","aria-invalid":!!r.professional_email,"aria-describedby":r.professional_email?"professional_email-error":void 0}),r.professional_email&&n.jsx("p",{id:"professional_email-error",className:"text-xs text-destructive",children:r.professional_email})]}),n.jsxs("div",{className:"space-y-2",children:[n.jsx(At,{htmlFor:"company",children:"Empresa"}),n.jsx(nt,{id:"company",type:"text",autoComplete:"organization",value:t.company,onChange:h=>d("company",h.target.value),placeholder:"Nombre de empresa","aria-invalid":!!r.company,"aria-describedby":r.company?"company-error":void 0}),r.company&&n.jsx("p",{id:"company-error",className:"text-xs text-destructive",children:r.company})]})]}),n.jsxs("div",{className:"space-y-2",children:[n.jsx(At,{children:"¿Con qué software de análisis trabajas?"}),n.jsxs(kD,{value:t.analysis_software,onValueChange:h=>d("analysis_software",h),children:[n.jsx(jS,{"aria-invalid":!!r.analysis_software,children:n.jsx(CD,{placeholder:"Selecciona software"})}),n.jsx(_S,{children:a2.map(h=>n.jsx(kS,{value:h,children:h},h))})]}),r.analysis_software&&n.jsx("p",{className:"text-xs text-destructive",children:r.analysis_software})]}),n.jsxs("div",{className:"space-y-2",children:[n.jsx(At,{htmlFor:"structure_type",children:"Tipo de estructuras"}
482),n.jsx(Vp,{id:"structure_type",value:t.structure_type,onChange:h=>d("structure_type",h.target.value),placeholder:"Naves industriales, edificios, pasarelas, torres...",className:"min-h-[92px] resize-none","aria-invalid":!!r.structure_type,"aria-describedby":r.structure_type?"structure_type-error":void 0}),r.structure_type&&n.jsx("p",{id:"structure_type-error",className:"text-xs text-destructive",children:r.structure_type})]}),n.jsxs($,{type:"submit",variant:"cta",size:"lg",disabled:a,className:"w-full py-6 text-base animate-pulse-glow",children:[a?"Enviando...":"Quiero el archivo y la guÃa del flujo",!a&&n.jsx(Te,{className:"h-5 w-5"})]})]})})})]})})}),n.jsx("section",{className:"py-14 sm:py-18 lg:py-20 bg-background",children:n.jsx("div",{className:"container mx-auto max-w-7xl px-4",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-6",children:[n.jsx(k,{className:"bg-muted border-border rounded-lg shadow-sm",children:n.jsxs(C,{className:"p-6 sm:p-8 lg:p-10 flex flex-col h-full",children:[n.jsx("div",{className:"h-12 w-12 rounded-md bg-background border border-border flex items-center justify-center mb-6",children:n.jsx(lh,{className:"h-6 w-6 text-primary"})}),n.jsx("h2",{className:"text-2xl sm:text-3xl font-bold leading-tight mb-4",children:"Ver el flujo completo en nuestro webinar técnico"}),n.jsx("p",{className:"text-muted-foreground leading-relaxed mb-8 flex-1",children:"Si quieres ver el proceso paso a paso y resolver dudas en directo, puedes registrarte al webinar SAP2000 x IDEA StatiCa."}),n.jsx($,{variant:"cta",size:"lg",asChild:!0,className:"w-full sm:w-auto",children:n.jsxs("a",{href:YM,target:"_blank",rel:"noopener noreferrer",children:["Inscribirme al webinar",n.jsx(Te,{className:"h-5 w-5"})]})})]})}),n.jsx(k,{className:"bg-muted border-border rounded-lg shadow-sm",children:n.jsxs(C,{className:"p-6 sm:p-8 lg:p-10 flex flex-col h-full",children:[n.jsx("div",{className:"h-12 w-12 rounded-md bg-background border border-border flex items-center justify-center mb-6",children:n.jsx(ap,{className:"h-6 w-6 text-primary"})}),n.jsx("h2",{className:"text-2xl sm:text-3xl font-bold leading-tight mb-4",children:"Revisar uno de tus modelos con un especialista"}),n.jsx("p",{className:"text-muted-foreground leading-relaxed mb-8 flex-1",children:"¿Prefieres que analicemos uno de tus proyectos SAP2000 y veamos juntos cómo integrar este flujo? Nuestro equipo técnico puede ayudarte."}),n.jsx($,{variant:"cta",size:"lg",asChild:!0,className:"w-full sm:w-auto",children:n.jsxs("a",{href:KM,target:"_blank",rel:"noopener noreferrer",children:["Quiero hablar con un especialista",n.jsx(Te,{className:"h-5 w-5"})]})})]})})]})})})]}),n.jsx("footer",{className:"bg-secondary border-t border-border py-8",children:n.jsxs("div",{className:"container mx-auto max-w-7xl px-4 flex flex-col lg:flex-row items-start lg:items-center justify-between gap-5",children:[n.jsx("img",{src:es,alt:"Construsoft",className:"h-7 w-auto"}),n.jsx("p",{className:"text-sm text-muted-foreground max-w-4xl leading-relaxed",children:"Construsoft â distribuidor oficial de IDEA StatiCa en España y Latinoamérica. Ayudamos a conectar tu FEM global (SAP2000, ETABS, STAADâ¦) con el diseño de uniones y detalles avanzados."})]})})]})},XM=()=>{const t=tl();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",t.pathname)},[t.pathname]),n.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children:n.jsxs("div",{className:"text-center",children:[n.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),n.jsx("p",{className:"mb-4 text-xl text-gray-600",children:"Oops! Page not found"}),n.jsx("a",{href:"/",className:"text-blue-500 underline hover:text-blue-700",children:"Return to Home"})]})})},e8=new PP,t8=()=>n.jsx(IP,{client:e8,children:n.jsxs(oP,{children:[n.jsx(UE,{}),n.jsx(wA,{}),n.jsx(TR,{children:n.jsxs(NR,{children:[n.jsx(Qe,{path:"/",element:n.jsx(KO,{})}),n.jsx(Qe,{path:"/webinar-acero-v2",element:n.jsx(a3,{})}),n.jsx(Qe,{path:"/webinar-rigidez-idea-statica",element:n.jsx(o3,{})}),n.jsx(Qe,{path:"/webinar-interoperabilidad-idea-statica-hilti",element:n.jsx(d3,{})}),n.jsx(Qe,{path:"/webinar-release-idea-statica-25.1",element:n.jsx(p3,{})}),n.jsx(Qe,{path:"/desayuno-tecnico-idea-statica-bucaramanga",element:n.jsx(g3,{})}),n.jsx(Qe,{path:"/vsl-idea-statica-black-days",element:n.jsx(t6,{})}),n.jsx(Qe,{path:"/idea-statica-software-bim",element:n.jsx(l6,{})}),n.jsx(Qe,{path:"/webinar-interoperabilidad-cis-idea",element:n.jsx(h6,{})}),n.jsx(Qe,{path:"/curso-idea-statica-acero",element:n.jsx(f6,{})}),n.jsx(Qe,{path:"/curso-idea-statica-hormigon",element:n.jsx(p6,{})}),n.jsx(Qe,{path:"/idea-statica-connection",element:n.jsx(x6,{})}),n.jsx(Qe,{path:"/idea-statica-detail",element:n.jsx(g6,{})}),n.jsx(Qe,{path:"/idea-statica-detail-3d",element:n.jsx(y6,{})}),n.jsx(Qe,{path:"/idea-statica-calculo-uniones-metalicas",element:n.jsx(v6,{})}),n.jsx(Qe,{path:"/diseño-avanzado-de-hormigón-prefabricado",element:n.jsx(b6,{})}),n.jsx(Qe,{path:"/evergreen-idea-statica",element:n.jsx(w6,{})}),n.jsx(Qe,{path:"/webinar-idea-statica-checkbot",element:n.jsx(j6,{})}),n.jsx(Qe,{path:"/sap2000-idea-statica",element:n.jsx(JM,{})}),n.jsx(Qe,{path:"*",element:n.jsx(XM,{})})]})})]})});Qb(document.getElementById("root")).render(n.jsx(t8,{}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.