diff --git a/dist/assets/index-BE8j5FiF.css b/dist/assets/index-BE8j5FiF.css new file mode 100644 index 00000000..eca6fab0 --- /dev/null +++ b/dist/assets/index-BE8j5FiF.css @@ -0,0 +1 @@ +.header{position:fixed;top:0;left:0;right:0;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(0,0,0,.1);z-index:1000;transition:all .3s ease}.header .container{display:flex;align-items:center;justify-content:space-between;padding:1rem 20px}.nav-brand h2{font-size:1.5rem;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.nav{display:flex;align-items:center}.nav-list{display:flex;list-style:none;gap:2rem;margin:0;padding:0}.nav-link{text-decoration:none;color:#4a5568;font-weight:500;transition:color .3s ease;position:relative}.nav-link:hover{color:#667eea}.nav-link:after{content:"";position:absolute;bottom:-4px;left:0;width:0;height:2px;background:linear-gradient(135deg,#667eea,#764ba2);transition:width .3s ease}.nav-link:hover:after{width:100%}.nav-actions{display:flex;align-items:center;gap:1rem}.mobile-menu-toggle{display:none;flex-direction:column;background:none;border:none;cursor:pointer;padding:8px}.mobile-menu-toggle span{width:25px;height:3px;background:#4a5568;margin:3px 0;transition:.3s;border-radius:2px}@media (max-width: 768px){.nav{position:fixed;top:100%;left:0;right:0;background:#fff;border-top:1px solid rgba(0,0,0,.1);transform:translateY(-100%);opacity:0;visibility:hidden;transition:all .3s ease}.nav-open{transform:translateY(0);opacity:1;visibility:visible}.nav-list{flex-direction:column;padding:2rem;gap:1.5rem}.nav-actions{display:none}.mobile-menu-toggle{display:flex}.mobile-menu-toggle.active span:nth-child(1){transform:rotate(-45deg) translate(-5px,6px)}.mobile-menu-toggle.active span:nth-child(2){opacity:0}.mobile-menu-toggle.active span:nth-child(3){transform:rotate(45deg) translate(-5px,-6px)}}.hero{padding:8rem 0 4rem;background:linear-gradient(135deg,#f7fafc,#edf2f7);min-height:100vh;display:flex;align-items:center}.hero-content{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}.hero-title{font-size:3.5rem;font-weight:800;line-height:1.2;margin-bottom:1.5rem;color:#2d3748}.hero-description{font-size:1.25rem;color:#718096;margin-bottom:2.5rem;line-height:1.6}.hero-actions{display:flex;gap:1rem;margin-bottom:3rem}.hero-stats{display:flex;gap:2rem}.stat{display:flex;flex-direction:column;align-items:center}.stat-number{font-size:2rem;font-weight:700;color:#2d3748;line-height:1}.stat-label{font-size:.875rem;color:#718096;margin-top:.25rem}.hero-visual{display:flex;justify-content:center;align-items:center}.hero-card{background:#fff;border-radius:16px;box-shadow:0 20px 40px #0000001a;overflow:hidden;width:100%;max-width:400px;transform:perspective(1000px) rotateY(-5deg) rotateX(5deg);transition:transform .3s ease}.hero-card:hover{transform:perspective(1000px) rotateY(0) rotateX(0)}.card-header{background:#f7fafc;padding:1rem;border-bottom:1px solid #e2e8f0}.card-dots{display:flex;gap:.5rem}.card-dots span{width:12px;height:12px;border-radius:50%;background:#cbd5e0}.card-dots span:nth-child(1){background:#fc8181}.card-dots span:nth-child(2){background:#f6e05e}.card-dots span:nth-child(3){background:#68d391}.card-content{padding:2rem}.code-line{height:12px;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:6px;margin-bottom:1rem;animation:pulse 2s ease-in-out infinite}.code-line:nth-child(2){width:80%;animation-delay:.2s}.code-line:nth-child(3){width:60%;animation-delay:.4s}.code-line.short{width:40%;animation-delay:.6s}@keyframes pulse{0%,to{opacity:.6}50%{opacity:1}}@media (max-width: 768px){.hero{padding:6rem 0 2rem;min-height:auto}.hero-content{grid-template-columns:1fr;gap:2rem;text-align:center}.hero-title{font-size:2.5rem}.hero-description{font-size:1.1rem}.hero-actions{flex-direction:column;align-items:center}.hero-stats{justify-content:center;flex-wrap:wrap;gap:1rem}.hero-card{transform:none;max-width:300px}}.features{padding:6rem 0;background:#fff}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:2rem}.feature-card{background:#fff;padding:2.5rem;border-radius:16px;box-shadow:0 4px 20px #00000014;transition:all .3s ease;border:1px solid #f1f5f9;text-align:center}.feature-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px #0000001f;border-color:#667eea}.feature-icon{font-size:3rem;margin-bottom:1.5rem;display:block}.feature-title{font-size:1.5rem;font-weight:700;color:#2d3748;margin-bottom:1rem}.feature-description{color:#718096;line-height:1.6;font-size:1rem}@media (max-width: 768px){.features{padding:4rem 0}.features-grid{grid-template-columns:1fr;gap:1.5rem}.feature-card{padding:2rem}.feature-icon{font-size:2.5rem}.feature-title{font-size:1.25rem}}.footer{background:#2d3748;color:#fff;padding:4rem 0 2rem;margin-top:auto}.footer-content{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;margin-bottom:3rem}.footer-title{font-size:1.5rem;font-weight:700;margin-bottom:1rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.footer-description{color:#a0aec0;line-height:1.6;margin-bottom:2rem}.social-links{display:flex;gap:1rem}.social-link{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#ffffff1a;border-radius:8px;color:#a0aec0;text-decoration:none;transition:all .3s ease}.social-link:hover{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;transform:translateY(-2px)}.footer-subtitle{font-size:1.125rem;font-weight:600;margin-bottom:1.5rem;color:#fff}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin-bottom:.75rem}.footer-link{color:#a0aec0;text-decoration:none;transition:color .3s ease}.footer-link:hover{color:#667eea}.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:2rem;border-top:1px solid #4a5568}.footer-copyright{color:#a0aec0;margin:0}.footer-legal{display:flex;gap:2rem}@media (max-width: 768px){.footer{padding:3rem 0 2rem}.footer-content{grid-template-columns:1fr;gap:2rem;text-align:center}.footer-bottom{flex-direction:column;gap:1rem;text-align:center}.footer-legal{justify-content:center}}.App{min-height:100vh;display:flex;flex-direction:column}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.6;color:#333;background-color:#fff}.container{max-width:1200px;margin:0 auto;padding:0 20px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:600;text-decoration:none;cursor:pointer;transition:all .3s ease;white-space:nowrap}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 25px #667eea4d}.btn-outline{background:transparent;color:#667eea;border:2px solid #667eea}.btn-outline:hover{background:#667eea;color:#fff;transform:translateY(-2px)}.btn-large{padding:16px 32px;font-size:18px}.gradient-text{background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.section-header{text-align:center;margin-bottom:4rem}.section-title{font-size:2.5rem;font-weight:700;margin-bottom:1rem;color:#2d3748}.section-description{font-size:1.2rem;color:#718096;max-width:600px;margin:0 auto}@media (max-width: 768px){.container{padding:0 16px}.section-title{font-size:2rem}.section-description{font-size:1rem}.btn-large{padding:14px 28px;font-size:16px}} diff --git a/dist/assets/index-D01grRBL.js b/dist/assets/index-D01grRBL.js new file mode 100644 index 00000000..1aa8ee16 --- /dev/null +++ b/dist/assets/index-D01grRBL.js @@ -0,0 +1,40 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function Ec(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ns={exports:{}},rl={},rs={exports:{}},L={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Gn=Symbol.for("react.element"),Cc=Symbol.for("react.portal"),Nc=Symbol.for("react.fragment"),_c=Symbol.for("react.strict_mode"),Pc=Symbol.for("react.profiler"),jc=Symbol.for("react.provider"),zc=Symbol.for("react.context"),Tc=Symbol.for("react.forward_ref"),Lc=Symbol.for("react.suspense"),Ic=Symbol.for("react.memo"),Rc=Symbol.for("react.lazy"),Wo=Symbol.iterator;function Mc(e){return e===null||typeof e!="object"?null:(e=Wo&&e[Wo]||e["@@iterator"],typeof e=="function"?e:null)}var ls={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},is=Object.assign,os={};function ln(e,t,n){this.props=e,this.context=t,this.refs=os,this.updater=n||ls}ln.prototype.isReactComponent={};ln.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ln.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function us(){}us.prototype=ln.prototype;function Ki(e,t,n){this.props=e,this.context=t,this.refs=os,this.updater=n||ls}var Yi=Ki.prototype=new us;Yi.constructor=Ki;is(Yi,ln.prototype);Yi.isPureReactComponent=!0;var Bo=Array.isArray,ss=Object.prototype.hasOwnProperty,Gi={current:null},as={key:!0,ref:!0,__self:!0,__source:!0};function cs(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)ss.call(t,r)&&!as.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,Z=N[H];if(0>>1;Hl(xl,T))ytl(er,xl)?(N[H]=er,N[yt]=T,H=yt):(N[H]=xl,N[vt]=T,H=vt);else if(ytl(er,T))N[H]=er,N[yt]=T,H=yt;else break e}}return j}function l(N,j){var T=N.sortIndex-j.sortIndex;return T!==0?T:N.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],c=[],v=1,h=null,p=3,w=!1,S=!1,k=!1,M=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(N){for(var j=n(c);j!==null;){if(j.callback===null)r(c);else if(j.startTime<=N)r(c),j.sortIndex=j.expirationTime,t(s,j);else break;j=n(c)}}function y(N){if(k=!1,d(N),!S)if(n(s)!==null)S=!0,Sl(x);else{var j=n(c);j!==null&&kl(y,j.startTime-N)}}function x(N,j){S=!1,k&&(k=!1,f(P),P=-1),w=!0;var T=p;try{for(d(j),h=n(s);h!==null&&(!(h.expirationTime>j)||N&&!Pe());){var H=h.callback;if(typeof H=="function"){h.callback=null,p=h.priorityLevel;var Z=H(h.expirationTime<=j);j=e.unstable_now(),typeof Z=="function"?h.callback=Z:h===n(s)&&r(s),d(j)}else r(s);h=n(s)}if(h!==null)var bn=!0;else{var vt=n(c);vt!==null&&kl(y,vt.startTime-j),bn=!1}return bn}finally{h=null,p=T,w=!1}}var C=!1,_=null,P=-1,D=5,z=-1;function Pe(){return!(e.unstable_now()-zN||125H?(N.sortIndex=T,t(c,N),n(s)===null&&N===n(c)&&(k?(f(P),P=-1):k=!0,kl(y,T-H))):(N.sortIndex=Z,t(s,N),S||w||(S=!0,Sl(x))),N},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(N){var j=p;return function(){var T=p;p=j;try{return N.apply(this,arguments)}finally{p=T}}}})(hs);ms.exports=hs;var Qc=ms.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Kc=K,ge=Qc;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ei=Object.prototype.hasOwnProperty,Yc=/^[: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]*$/,Qo={},Ko={};function Gc(e){return ei.call(Ko,e)?!0:ei.call(Qo,e)?!1:Yc.test(e)?Ko[e]=!0:(Qo[e]=!0,!1)}function Xc(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Zc(e,t,n,r){if(t===null||typeof t>"u"||Xc(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ae(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];te[t]=new ae(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ae(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){te[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Zi=/[\-:]([a-z])/g;function Ji(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Zi,Ji);te[t]=new ae(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Zi,Ji);te[t]=new ae(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Zi,Ji);te[t]=new ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function qi(e,t,n,r){var l=te.hasOwnProperty(t)?te[t]:null;(l!==null?l.type!==0:r||!(2u||l[o]!==i[u]){var s=` +`+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Nl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?gn(e):""}function Jc(e){switch(e.tag){case 5:return gn(e.type);case 16:return gn("Lazy");case 13:return gn("Suspense");case 19:return gn("SuspenseList");case 0:case 2:case 15:return e=_l(e.type,!1),e;case 11:return e=_l(e.type.render,!1),e;case 1:return e=_l(e.type,!0),e;default:return""}}function li(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mt:return"Fragment";case Rt:return"Portal";case ti:return"Profiler";case bi:return"StrictMode";case ni:return"Suspense";case ri:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case gs:return(e.displayName||"Context")+".Consumer";case ys:return(e._context.displayName||"Context")+".Provider";case eo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case to:return t=e.displayName||null,t!==null?t:li(e.type)||"Memo";case Je:t=e._payload,e=e._init;try{return li(e(t))}catch{}}return null}function qc(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return li(t);case 8:return t===bi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ft(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ss(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bc(e){var t=Ss(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function rr(e){e._valueTracker||(e._valueTracker=bc(e))}function ks(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ss(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ir(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ii(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Go(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ft(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function xs(e,t){t=t.checked,t!=null&&qi(e,"checked",t,!1)}function oi(e,t){xs(e,t);var n=ft(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ui(e,t.type,n):t.hasOwnProperty("defaultValue")&&ui(e,t.type,ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Xo(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ui(e,t,n){(t!=="number"||Ir(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var wn=Array.isArray;function Qt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function In(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var xn={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},ef=["Webkit","ms","Moz","O"];Object.keys(xn).forEach(function(e){ef.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xn[t]=xn[e]})});function _s(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||xn.hasOwnProperty(e)&&xn[e]?(""+t).trim():t+"px"}function Ps(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=_s(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var tf=W({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 ci(e,t){if(t){if(tf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(g(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(g(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(g(61))}if(t.style!=null&&typeof t.style!="object")throw Error(g(62))}}function fi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var di=null;function no(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pi=null,Kt=null,Yt=null;function qo(e){if(e=Jn(e)){if(typeof pi!="function")throw Error(g(280));var t=e.stateNode;t&&(t=al(t),pi(e.stateNode,e.type,t))}}function js(e){Kt?Yt?Yt.push(e):Yt=[e]:Kt=e}function zs(){if(Kt){var e=Kt,t=Yt;if(Yt=Kt=null,qo(e),t)for(e=0;e>>=0,e===0?32:31-(pf(e)/mf|0)|0}var ir=64,or=4194304;function Sn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Dr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=Sn(u):(i&=o,i!==0&&(r=Sn(i)))}else o=n&~l,o!==0?r=Sn(o):i!==0&&(r=Sn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Xn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ie(t),e[t]=n}function gf(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Cn),uu=" ",su=!1;function Xs(e,t){switch(e){case"keyup":return Kf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ot=!1;function Gf(e,t){switch(e){case"compositionend":return Zs(t);case"keypress":return t.which!==32?null:(su=!0,uu);case"textInput":return e=t.data,e===uu&&su?null:e;default:return null}}function Xf(e,t){if(Ot)return e==="compositionend"||!co&&Xs(e,t)?(e=Ys(),Er=uo=tt=null,Ot=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=du(n)}}function ea(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ea(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ta(){for(var e=window,t=Ir();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ir(e.document)}return t}function fo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ld(e){var t=ta(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ea(n.ownerDocument.documentElement,n)){if(r!==null&&fo(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=pu(n,i);var o=pu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Dt=null,wi=null,_n=null,Si=!1;function mu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Si||Dt==null||Dt!==Ir(r)||(r=Dt,"selectionStart"in r&&fo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),_n&&Un(_n,r)||(_n=r,r=$r(wi,"onSelect"),0$t||(e.current=_i[$t],_i[$t]=null,$t--)}function O(e,t){$t++,_i[$t]=e.current,e.current=t}var dt={},ie=mt(dt),de=mt(!1),Nt=dt;function qt(e,t){var n=e.type.contextTypes;if(!n)return dt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function Vr(){U(de),U(ie)}function ku(e,t,n){if(ie.current!==dt)throw Error(g(168));O(ie,t),O(de,n)}function ca(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(g(108,qc(e)||"Unknown",l));return W({},n,r)}function Wr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dt,Nt=ie.current,O(ie,e),O(de,de.current),!0}function xu(e,t,n){var r=e.stateNode;if(!r)throw Error(g(169));n?(e=ca(e,t,Nt),r.__reactInternalMemoizedMergedChildContext=e,U(de),U(ie),O(ie,e)):U(de),O(de,n)}var Ve=null,cl=!1,Al=!1;function fa(e){Ve===null?Ve=[e]:Ve.push(e)}function vd(e){cl=!0,fa(e)}function ht(){if(!Al&&Ve!==null){Al=!0;var e=0,t=R;try{var n=Ve;for(R=1;e>=o,l-=o,We=1<<32-Ie(t)+l|n<P?(D=_,_=null):D=_.sibling;var z=p(f,_,d[P],y);if(z===null){_===null&&(_=D);break}e&&_&&z.alternate===null&&t(f,_),a=i(z,a,P),C===null?x=z:C.sibling=z,C=z,_=D}if(P===d.length)return n(f,_),$&>(f,P),x;if(_===null){for(;PP?(D=_,_=null):D=_.sibling;var Pe=p(f,_,z.value,y);if(Pe===null){_===null&&(_=D);break}e&&_&&Pe.alternate===null&&t(f,_),a=i(Pe,a,P),C===null?x=Pe:C.sibling=Pe,C=Pe,_=D}if(z.done)return n(f,_),$&>(f,P),x;if(_===null){for(;!z.done;P++,z=d.next())z=h(f,z.value,y),z!==null&&(a=i(z,a,P),C===null?x=z:C.sibling=z,C=z);return $&>(f,P),x}for(_=r(f,_);!z.done;P++,z=d.next())z=w(_,f,P,z.value,y),z!==null&&(e&&z.alternate!==null&&_.delete(z.key===null?P:z.key),a=i(z,a,P),C===null?x=z:C.sibling=z,C=z);return e&&_.forEach(function(sn){return t(f,sn)}),$&>(f,P),x}function M(f,a,d,y){if(typeof d=="object"&&d!==null&&d.type===Mt&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case nr:e:{for(var x=d.key,C=a;C!==null;){if(C.key===x){if(x=d.type,x===Mt){if(C.tag===7){n(f,C.sibling),a=l(C,d.props.children),a.return=f,f=a;break e}}else if(C.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Je&&Nu(x)===C.type){n(f,C.sibling),a=l(C,d.props),a.ref=hn(f,C,d),a.return=f,f=a;break e}n(f,C);break}else t(f,C);C=C.sibling}d.type===Mt?(a=Ct(d.props.children,f.mode,y,d.key),a.return=f,f=a):(y=Lr(d.type,d.key,d.props,null,f.mode,y),y.ref=hn(f,a,d),y.return=f,f=y)}return o(f);case Rt:e:{for(C=d.key;a!==null;){if(a.key===C)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=Gl(d,f.mode,y),a.return=f,f=a}return o(f);case Je:return C=d._init,M(f,a,C(d._payload),y)}if(wn(d))return S(f,a,d,y);if(cn(d))return k(f,a,d,y);pr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=Yl(d,f.mode,y),a.return=f,f=a),o(f)):n(f,a)}return M}var en=ha(!0),va=ha(!1),Qr=mt(null),Kr=null,Wt=null,vo=null;function yo(){vo=Wt=Kr=null}function go(e){var t=Qr.current;U(Qr),e._currentValue=t}function zi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Xt(e,t){Kr=e,vo=Wt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function Ne(e){var t=e._currentValue;if(vo!==e)if(e={context:e,memoizedValue:t,next:null},Wt===null){if(Kr===null)throw Error(g(308));Wt=e,Kr.dependencies={lanes:0,firstContext:e}}else Wt=Wt.next=e;return t}var kt=null;function wo(e){kt===null?kt=[e]:kt.push(e)}function ya(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,wo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ye(e,r)}function Ye(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var qe=!1;function So(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ga(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function He(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ut(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ye(e,n)}return l=r.interleaved,l===null?(t.next=t,wo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ye(e,n)}function Nr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lo(e,n)}}function _u(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Yr(e,t,n,r){var l=e.updateQueue;qe=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,o===null?i=c:o.next=c,o=s;var v=e.alternate;v!==null&&(v=v.updateQueue,u=v.lastBaseUpdate,u!==o&&(u===null?v.firstBaseUpdate=c:u.next=c,v.lastBaseUpdate=s))}if(i!==null){var h=l.baseState;o=0,v=c=s=null,u=i;do{var p=u.lane,w=u.eventTime;if((r&p)===p){v!==null&&(v=v.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var S=e,k=u;switch(p=t,w=n,k.tag){case 1:if(S=k.payload,typeof S=="function"){h=S.call(w,h,p);break e}h=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=k.payload,p=typeof S=="function"?S.call(w,h,p):S,p==null)break e;h=W({},h,p);break e;case 2:qe=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[u]:p.push(u))}else w={eventTime:w,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},v===null?(c=v=w,s=h):v=v.next=w,o|=p;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;p=u,u=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(v===null&&(s=h),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=v,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);jt|=o,e.lanes=o,e.memoizedState=h}}function Pu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Wl.transition;Wl.transition={};try{e(!1),t()}finally{R=n,Wl.transition=r}}function Oa(){return _e().memoizedState}function Sd(e,t,n){var r=at(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Da(e))Fa(t,n);else if(n=ya(e,t,n,r),n!==null){var l=ue();Re(n,e,r,l),Ua(n,t,r)}}function kd(e,t,n){var r=at(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Da(e))Fa(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,Me(u,o)){var s=t.interleaved;s===null?(l.next=l,wo(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=ya(e,t,l,r),n!==null&&(l=ue(),Re(n,e,r,l),Ua(n,t,r))}}function Da(e){var t=e.alternate;return e===V||t!==null&&t===V}function Fa(e,t){Pn=Xr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ua(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lo(e,n)}}var Zr={readContext:Ne,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},xd={readContext:Ne,useCallback:function(e,t){return De().memoizedState=[e,t===void 0?null:t],e},useContext:Ne,useEffect:zu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pr(4194308,4,Ta.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pr(4,2,e,t)},useMemo:function(e,t){var n=De();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=De();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Sd.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=De();return e={current:e},t.memoizedState=e},useState:ju,useDebugValue:jo,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=ju(!1),t=e[0];return e=wd.bind(null,e[1]),De().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,l=De();if($){if(n===void 0)throw Error(g(407));n=n()}else{if(n=t(),q===null)throw Error(g(349));Pt&30||xa(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,zu(Ca.bind(null,r,i,e),[e]),r.flags|=2048,Kn(9,Ea.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=De(),t=q.identifierPrefix;if($){var n=Be,r=We;n=(r&~(1<<32-Ie(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Fe]=t,e[Vn]=r,Ga(e,t,!1,!1),t.stateNode=e;e:{switch(o=fi(n,r),n){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;lrn&&(t.flags|=128,r=!0,vn(i,!1),t.lanes=4194304)}else{if(!r)if(e=Gr(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!$)return re(t),null}else 2*Q()-i.renderingStartTime>rn&&n!==1073741824&&(t.flags|=128,r=!0,vn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Q(),t.sibling=null,n=A.current,O(A,r?n&1|2:n&1),t):(re(t),null);case 22:case 23:return Mo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?he&1073741824&&(re(t),t.subtreeFlags&6&&(t.flags|=8192)):re(t),null;case 24:return null;case 25:return null}throw Error(g(156,t.tag))}function Td(e,t){switch(mo(t),t.tag){case 1:return pe(t.type)&&Vr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tn(),U(de),U(ie),Eo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return xo(t),null;case 13:if(U(A),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(g(340));bt()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(A),null;case 4:return tn(),null;case 10:return go(t.type._context),null;case 22:case 23:return Mo(),null;case 24:return null;default:return null}}var hr=!1,le=!1,Ld=typeof WeakSet=="function"?WeakSet:Set,E=null;function Bt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){B(e,t,r)}else n.current=null}function Ui(e,t,n){try{n()}catch(r){B(e,t,r)}}var Au=!1;function Id(e,t){if(ki=Fr,e=ta(),fo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,c=0,v=0,h=e,p=null;t:for(;;){for(var w;h!==n||l!==0&&h.nodeType!==3||(u=o+l),h!==i||r!==0&&h.nodeType!==3||(s=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(w=h.firstChild)!==null;)p=h,h=w;for(;;){if(h===e)break t;if(p===n&&++c===l&&(u=o),p===i&&++v===r&&(s=o),(w=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(xi={focusedElem:e,selectionRange:n},Fr=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var k=S.memoizedProps,M=S.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:ze(t.type,k),M);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(g(163))}}catch(y){B(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return S=Au,Au=!1,S}function jn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Ui(t,n,i)}l=l.next}while(l!==r)}}function pl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function $i(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ja(e){var t=e.alternate;t!==null&&(e.alternate=null,Ja(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fe],delete t[Vn],delete t[Ni],delete t[md],delete t[hd])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function qa(e){return e.tag===5||e.tag===3||e.tag===4}function Vu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ai(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ar));else if(r!==4&&(e=e.child,e!==null))for(Ai(e,t,n),e=e.sibling;e!==null;)Ai(e,t,n),e=e.sibling}function Vi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Vi(e,t,n),e=e.sibling;e!==null;)Vi(e,t,n),e=e.sibling}var b=null,Te=!1;function Ze(e,t,n){for(n=n.child;n!==null;)ba(e,t,n),n=n.sibling}function ba(e,t,n){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount(il,n)}catch{}switch(n.tag){case 5:le||Bt(n,t);case 6:var r=b,l=Te;b=null,Ze(e,t,n),b=r,Te=l,b!==null&&(Te?(e=b,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):b.removeChild(n.stateNode));break;case 18:b!==null&&(Te?(e=b,n=n.stateNode,e.nodeType===8?$l(e.parentNode,n):e.nodeType===1&&$l(e,n),Dn(e)):$l(b,n.stateNode));break;case 4:r=b,l=Te,b=n.stateNode.containerInfo,Te=!0,Ze(e,t,n),b=r,Te=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Ui(n,t,o),l=l.next}while(l!==r)}Ze(e,t,n);break;case 1:if(!le&&(Bt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){B(n,t,u)}Ze(e,t,n);break;case 21:Ze(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,Ze(e,t,n),le=r):Ze(e,t,n);break;default:Ze(e,t,n)}}function Wu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ld),t.forEach(function(r){var l=Vd.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function je(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Md(r/1960))-r,10e?16:e,nt===null)var r=!1;else{if(e=nt,nt=null,br=0,I&6)throw Error(g(331));var l=I;for(I|=4,E=e.current;E!==null;){var i=E,o=i.child;if(E.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sQ()-Io?Et(e,0):Lo|=n),me(e,t)}function uc(e,t){t===0&&(e.mode&1?(t=or,or<<=1,!(or&130023424)&&(or=4194304)):t=1);var n=ue();e=Ye(e,t),e!==null&&(Xn(e,t,n),me(e,n))}function Ad(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),uc(e,n)}function Vd(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(g(314))}r!==null&&r.delete(t),uc(e,n)}var sc;sc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||de.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,jd(e,t,n);fe=!!(e.flags&131072)}else fe=!1,$&&t.flags&1048576&&da(t,Hr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;jr(e,t),e=t.pendingProps;var l=qt(t,ie.current);Xt(t,n),l=No(null,t,r,e,l,n);var i=_o();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(i=!0,Wr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,So(t),l.updater=dl,t.stateNode=l,l._reactInternals=t,Li(t,r,e,n),t=Mi(null,t,r,!0,i,n)):(t.tag=0,$&&i&&po(t),oe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(jr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Bd(r),e=ze(r,e),l){case 0:t=Ri(null,t,r,e,n);break e;case 1:t=Fu(null,t,r,e,n);break e;case 11:t=Ou(null,t,r,e,n);break e;case 14:t=Du(null,t,r,ze(r.type,e),n);break e}throw Error(g(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Ri(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Fu(e,t,r,l,n);case 3:e:{if(Qa(t),e===null)throw Error(g(387));r=t.pendingProps,i=t.memoizedState,l=i.element,ga(e,t),Yr(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=nn(Error(g(423)),t),t=Uu(e,t,r,n,l);break e}else if(r!==l){l=nn(Error(g(424)),t),t=Uu(e,t,r,n,l);break e}else for(ve=ot(t.stateNode.containerInfo.firstChild),ye=t,$=!0,Le=null,n=va(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(bt(),r===l){t=Ge(e,t,n);break e}oe(e,t,r,n)}t=t.child}return t;case 5:return wa(t),e===null&&ji(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ei(r,l)?o=null:i!==null&&Ei(r,i)&&(t.flags|=32),Ha(e,t),oe(e,t,o,n),t.child;case 6:return e===null&&ji(t),null;case 13:return Ka(e,t,n);case 4:return ko(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=en(t,null,r,n):oe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Ou(e,t,r,l,n);case 7:return oe(e,t,t.pendingProps,n),t.child;case 8:return oe(e,t,t.pendingProps.children,n),t.child;case 12:return oe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,O(Qr,r._currentValue),r._currentValue=o,i!==null)if(Me(i.value,o)){if(i.children===l.children&&!de.current){t=Ge(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=He(-1,n&-n),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var v=c.pending;v===null?s.next=s:(s.next=v.next,v.next=s),c.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),zi(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(g(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),zi(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}oe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Xt(t,n),l=Ne(l),r=r(l),t.flags|=1,oe(e,t,r,n),t.child;case 14:return r=t.type,l=ze(r,t.pendingProps),l=ze(r.type,l),Du(e,t,r,l,n);case 15:return Wa(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),jr(e,t),t.tag=1,pe(r)?(e=!0,Wr(t)):e=!1,Xt(t,n),$a(t,r,l),Li(t,r,l,n),Mi(null,t,r,!0,e,n);case 19:return Ya(e,t,n);case 22:return Ba(e,t,n)}throw Error(g(156,t.tag))};function ac(e,t){return Ds(e,t)}function Wd(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ee(e,t,n,r){return new Wd(e,t,n,r)}function Do(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Bd(e){if(typeof e=="function")return Do(e)?1:0;if(e!=null){if(e=e.$$typeof,e===eo)return 11;if(e===to)return 14}return 2}function ct(e,t){var n=e.alternate;return n===null?(n=Ee(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Lr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Do(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Mt:return Ct(n.children,l,i,t);case bi:o=8,l|=8;break;case ti:return e=Ee(12,n,t,l|2),e.elementType=ti,e.lanes=i,e;case ni:return e=Ee(13,n,t,l),e.elementType=ni,e.lanes=i,e;case ri:return e=Ee(19,n,t,l),e.elementType=ri,e.lanes=i,e;case ws:return hl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ys:o=10;break e;case gs:o=9;break e;case eo:o=11;break e;case to:o=14;break e;case Je:o=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return t=Ee(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Ct(e,t,n,r){return e=Ee(7,e,r,t),e.lanes=n,e}function hl(e,t,n,r){return e=Ee(22,e,r,t),e.elementType=ws,e.lanes=n,e.stateNode={isHidden:!1},e}function Yl(e,t,n){return e=Ee(6,e,null,t),e.lanes=n,e}function Gl(e,t,n){return t=Ee(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hd(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=jl(0),this.expirationTimes=jl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Fo(e,t,n,r,l,i,o,u,s){return e=new Hd(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ee(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},So(i),e}function Qd(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pc)}catch(e){console.error(e)}}pc(),ps.exports=we;var Zd=ps.exports,Zu=Zd;bl.createRoot=Zu.createRoot,bl.hydrateRoot=Zu.hydrateRoot;var Jd=K.createContext(null);function mc(){const e=K.useContext(Jd);if(!e)throw new Error("useProbatContext must be used within . Wrap your app with .");return e}function qd(){if(typeof window>"u")return"prod";const e=window.location.hostname;return e==="localhost"||e==="127.0.0.1"||e==="0.0.0.0"||e.startsWith("192.168.")||e.startsWith("10.")||e.startsWith("172.16.")||e.startsWith("172.17.")||e.startsWith("172.18.")||e.startsWith("172.19.")||e.startsWith("172.20.")||e.startsWith("172.21.")||e.startsWith("172.22.")||e.startsWith("172.23.")||e.startsWith("172.24.")||e.startsWith("172.25.")||e.startsWith("172.26.")||e.startsWith("172.27.")||e.startsWith("172.28.")||e.startsWith("172.29.")||e.startsWith("172.30.")||e.startsWith("172.31.")?"dev":"prod"}var Ju="probat:distinct_id",qu="probat:session_id",gr=null,wr=null;function hc(){if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();const e=new Uint8Array(16);if(typeof crypto<"u"&&crypto.getRandomValues)crypto.getRandomValues(e);else for(let t=0;t<16;t++)e[t]=Math.floor(Math.random()*256);return Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")}function vc(){if(gr)return gr;if(typeof window>"u")return"server";try{const t=localStorage.getItem(Ju);if(t)return gr=t,t}catch{}const e=`anon_${hc()}`;gr=e;try{localStorage.setItem(Ju,e)}catch{}return e}function bd(){if(wr)return wr;if(typeof window>"u")return"server";try{const t=sessionStorage.getItem(qu);if(t)return wr=t,t}catch{}const e=`sess_${hc()}`;wr=e;try{sessionStorage.setItem(qu,e)}catch{}return e}function nl(){return typeof window>"u"?"":window.location.pathname+window.location.search}function ep(){return typeof window>"u"?"":window.location.href}function tp(){return typeof document>"u"?"":document.referrer}function np(){return{distinct_id:vc(),session_id:bd(),$page_url:ep(),$pathname:typeof window<"u"?window.location.pathname:"",$referrer:tp()}}var Xl=new Map;async function rp(e,t,n){const r=Xl.get(t);if(r)return r;const l=(async()=>{try{const i=`${e.replace(/\/$/,"")}/experiment/decide`,o=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},credentials:"include",body:JSON.stringify({experiment_id:t,distinct_id:n})});if(!o.ok)throw new Error(`HTTP ${o.status}`);return(await o.json()).variant_key||"control"}finally{Xl.delete(t)}})();return Xl.set(t,l),l}function Zl(e,t,n){if(typeof window>"u")return;const r=np(),l={event:t,environment:qd(),properties:{...r,source:"react-sdk",captured_at:new Date().toISOString(),...n}};try{const i=`${e.replace(/\/$/,"")}/experiment/metrics`;fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(l)}).catch(()=>{})}catch{}}function lp(e){if(!e||!(e instanceof HTMLElement))return null;const t=e.closest('[data-probat-click="primary"]');if(t)return bu(t,!0);const n=e.closest('button, a, [role="button"]');return n?bu(n,!1):null}function bu(e,t){var l;const n={click_target_tag:e.tagName,click_is_primary:t};e.id&&(n.click_target_id=e.id);const r=(l=e.textContent)==null?void 0:l.trim();return r&&(n.click_target_text=r.slice(0,120)),n}var yc="probat:assignment:";function es(e){if(typeof window>"u")return null;try{const t=localStorage.getItem(yc+e);return t?JSON.parse(t).variantKey??null:null}catch{return null}}function ip(e,t){if(!(typeof window>"u"))try{const n={variantKey:t,ts:Date.now()};localStorage.setItem(yc+e,JSON.stringify(n))}catch{}}function op(e,t={}){const{fallback:n="control",debug:r=!1}=t,{host:l,bootstrap:i,customerId:o}=mc(),[u,s]=K.useState(()=>i[e]?i[e]:"control"),[c,v]=K.useState(()=>!!i[e]);return K.useEffect(()=>{if(i[e]||es(e)){const p=i[e]??es(e)??"control";s(p),v(!0);return}let h=!1;return(async()=>{try{const p=o??vc(),w=await rp(l,e,p);if(h)return;s(w),ip(e,w)}catch(p){if(h)return;if(r&&console.error(`[probat] fetchDecision failed for "${e}":`,p),n==="suspend")throw p;s("control")}finally{h||v(!0)}})(),()=>{h=!0}},[e,l]),K.useEffect(()=>{r&&c&&console.log(`[probat] Experiment "${e}" -> variant "${u}"`)},[r,e,u,c]),{variantKey:u,resolved:c}}var up="probat:seen:",gc=new Set;function sp(e,t,n,r){return`${up}${e}:${t}:${n}:${r}`}function ap(e){if(gc.has(e))return!0;if(typeof window>"u")return!1;try{return sessionStorage.getItem(e)==="1"}catch{return!1}}function ts(e){if(gc.add(e),!(typeof window>"u"))try{sessionStorage.setItem(e,"1")}catch{}}var wc="probat:instance:";function cp(){const e=new Uint8Array(4);if(typeof crypto<"u"&&crypto.getRandomValues)crypto.getRandomValues(e);else for(let t=0;t<4;t++)e[t]=Math.floor(Math.random()*256);return Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")}function Sc(e){if(typeof window<"u")try{const n=sessionStorage.getItem(e);if(n)return n}catch{}const t=`inst_${cp()}`;if(typeof window<"u")try{sessionStorage.setItem(e,t)}catch{}return t}var Jl=new Map,ql=!1;function fp(e){const t=Jl.get(e)??0;return Jl.set(e,t+1),ql||(ql=!0,Promise.resolve().then(()=>{Jl.clear(),ql=!1})),t}function dp(e){const t=ll.useId(),n=K.useRef("");if(!n.current){const r=`${wc}${e}:${nl()}:${t}`;n.current=Sc(r)}return n.current}function pp(e){const t=K.useRef(-1),n=K.useRef("");if(t.current===-1&&(t.current=fp(`${e}:${nl()}`)),!n.current){const r=`${wc}${e}:${nl()}:${t.current}`;n.current=Sc(r)}return n.current}var mp=typeof ll.useId=="function"?dp:pp;function hp(e){const{experimentId:t,componentInstanceId:n,impression:r=!0,click:l=!0,impressionEventName:i="$experiment_exposure",clickEventName:o="$experiment_click",debug:u=!1}=e,s=e.variantKey??void 0,c="customerId"in e?e.customerId:void 0,{host:v,customerId:h}=mc(),p=c??h,w=!s,S=mp(t),k=n??S,M=K.useRef(null),f=K.useRef(!1);K.useEffect(()=>{w&&!p&&u&&console.warn(`[probat] useTrack called without variantKey and no customerId available for "${t}". Events will have no variant attribution.`)},[w,p,t,u]);const a=K.useMemo(()=>({experiment_id:t,...s?{variant_key:s}:{},component_instance_id:k,...p?{distinct_id:p}:{}}),[t,s,k,p]),d=s??p??"__anon__";K.useEffect(()=>{if(!r)return;f.current=!1;const x=nl(),C=sp(t,d,k,x);if(ap(C)){f.current=!0;return}const _=M.current;if(!_)return;if(typeof IntersectionObserver>"u"){f.current||(f.current=!0,ts(C),Zl(v,i,a),u&&console.log(`[probat] Impression sent (no IO) for "${t}"`));return}let P=null;const D=new IntersectionObserver(([z])=>{!z||f.current||(z.isIntersecting?P=setTimeout(()=>{f.current||(f.current=!0,ts(C),Zl(v,i,a),u&&console.log(`[probat] Impression sent for "${t}"`),D.disconnect())},250):P&&(clearTimeout(P),P=null))},{threshold:.5});return D.observe(_),()=>{D.disconnect(),P&&clearTimeout(P)}},[r,t,d,k,v,i,a,u]);const y=K.useCallback(x=>{if(!l)return;const C=lp(x.target);C&&(Zl(v,o,{...a,...C}),u&&console.log(`[probat] Click tracked for "${t}"`,C))},[l,v,o,a,t,u]);return K.useEffect(()=>{const x=M.current;if(!(!x||!l))return x.addEventListener("click",y),()=>{x.removeEventListener("click",y)}},[y,l]),M}function vp({id:e,control:t,variants:n,track:r,componentInstanceId:l,fallback:i="control",debug:o=!1}){const{variantKey:u,resolved:s}=op(e,{fallback:i,debug:o}),c=u==="control"||u in n?u:"control";o&&u!==c&&console.warn(`[probat] Unknown variant "${u}" for experiment "${e}", falling back to control`);const v=hp({experimentId:e,variantKey:c,componentInstanceId:l,impression:s?(r==null?void 0:r.impression)!==!1:!1,click:(r==null?void 0:r.primaryClick)!==!1,impressionEventName:r==null?void 0:r.impressionEventName,clickEventName:r==null?void 0:r.clickEventName,debug:o}),h=c==="control"||!(c in n)?t:n[c];return ll.createElement("div",{ref:v,"data-probat-experiment":e,"data-probat-variant":c,style:{display:"block",margin:0,padding:0,opacity:s?1:0,transition:s?"opacity 0.15s ease-in":"none"}},h)}const yp=({label:e="Get Started Free",large:t=!1})=>m.jsx("button",{className:`btn btn-primary${t?" btn-large":""}`,children:e}),gp=({label:e="Get Started Free",large:t=!0})=>m.jsx("button",{className:`btn btn-primary${t?" btn-large":""}`,children:e}),kc=e=>m.jsx(vp,{id:"exp_GetStartedButton_20260315_f8c4d2e1",control:m.jsx(yp,{...e}),variants:{V3:m.jsx(gp,{...e})}}),wp=()=>{const[e,t]=K.useState(!1),n=()=>{t(!e)};return m.jsx("header",{className:"header",children:m.jsxs("div",{className:"container",children:[m.jsx("div",{className:"nav-brand",children:m.jsx("h2",{children:"Brand"})}),m.jsx("nav",{className:`nav ${e?"nav-open":""}`,children:m.jsxs("ul",{className:"nav-list",children:[m.jsx("li",{children:m.jsx("a",{href:"#home",className:"nav-link",children:"Home"})}),m.jsx("li",{children:m.jsx("a",{href:"#features",className:"nav-link",children:"Features"})}),m.jsx("li",{children:m.jsx("a",{href:"#about",className:"nav-link",children:"About"})}),m.jsx("li",{children:m.jsx("a",{href:"#contact",className:"nav-link",children:"Contact"})})]})}),m.jsxs("div",{className:"nav-actions",children:[m.jsx("button",{className:"btn btn-outline",children:"Sign In"}),m.jsx(kc,{label:"Get Started"})]}),m.jsxs("button",{className:"mobile-menu-toggle",onClick:n,"aria-label":"Toggle menu",children:[m.jsx("span",{}),m.jsx("span",{}),m.jsx("span",{})]})]})})},Sp=()=>m.jsx("section",{className:"hero",id:"home",children:m.jsx("div",{className:"container",children:m.jsxs("div",{className:"hero-content",children:[m.jsxs("div",{className:"hero-text",children:[m.jsxs("h1",{className:"hero-title",children:["Build Something",m.jsx("span",{className:"gradient-text",children:" Amazing"})]}),m.jsx("p",{className:"hero-description",children:"Create stunning websites and applications with our modern tools and cutting-edge technology. Join thousands of developers who trust our platform."}),m.jsxs("div",{className:"hero-actions",children:[m.jsx(kc,{large:!0}),m.jsx("button",{className:"btn btn-outline btn-large",children:"Watch Demo"})]}),m.jsxs("div",{className:"hero-stats",children:[m.jsxs("div",{className:"stat",children:[m.jsx("span",{className:"stat-number",children:"10K+"}),m.jsx("span",{className:"stat-label",children:"Active Users"})]}),m.jsxs("div",{className:"stat",children:[m.jsx("span",{className:"stat-number",children:"99.9%"}),m.jsx("span",{className:"stat-label",children:"Uptime"})]}),m.jsxs("div",{className:"stat",children:[m.jsx("span",{className:"stat-number",children:"24/7"}),m.jsx("span",{className:"stat-label",children:"Support"})]})]})]}),m.jsx("div",{className:"hero-visual",children:m.jsxs("div",{className:"hero-card",children:[m.jsx("div",{className:"card-header",children:m.jsxs("div",{className:"card-dots",children:[m.jsx("span",{}),m.jsx("span",{}),m.jsx("span",{})]})}),m.jsxs("div",{className:"card-content",children:[m.jsx("div",{className:"code-line"}),m.jsx("div",{className:"code-line"}),m.jsx("div",{className:"code-line"}),m.jsx("div",{className:"code-line short"})]})]})})]})})}),kp=()=>{const e=[{icon:"⚡",title:"Lightning Fast",description:"Built for speed with optimized performance and minimal loading times."},{icon:"🔒",title:"Secure",description:"Enterprise-grade security with end-to-end encryption and compliance."},{icon:"📱",title:"Responsive",description:"Perfect experience across all devices and screen sizes."},{icon:"🎨",title:"Customizable",description:"Fully customizable themes and components to match your brand."},{icon:"🚀",title:"Scalable",description:"Grows with your business from startup to enterprise scale."},{icon:"💬",title:"Support",description:"24/7 customer support with dedicated success managers."}];return m.jsx("section",{className:"features",id:"features",children:m.jsxs("div",{className:"container",children:[m.jsxs("div",{className:"section-header",children:[m.jsx("h2",{className:"section-title",children:"Why Choose Us?"}),m.jsx("p",{className:"section-description",children:"Discover the features that make our platform the best choice for your needs."})]}),m.jsx("div",{className:"features-grid",children:e.map((t,n)=>m.jsxs("div",{className:"feature-card",children:[m.jsx("div",{className:"feature-icon",children:t.icon}),m.jsx("h3",{className:"feature-title",children:t.title}),m.jsx("p",{className:"feature-description",children:t.description})]},n))})]})})},xp=()=>m.jsx("footer",{className:"footer",id:"contact",children:m.jsxs("div",{className:"container",children:[m.jsxs("div",{className:"footer-content",children:[m.jsxs("div",{className:"footer-section",children:[m.jsx("h3",{className:"footer-title",children:"Brand"}),m.jsx("p",{className:"footer-description",children:"Building the future of web development with modern tools and innovative solutions."}),m.jsxs("div",{className:"social-links",children:[m.jsx("a",{href:"#",className:"social-link","aria-label":"Twitter",children:m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:m.jsx("path",{d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})})}),m.jsx("a",{href:"#",className:"social-link","aria-label":"GitHub",children:m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:m.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}),m.jsx("a",{href:"#",className:"social-link","aria-label":"LinkedIn",children:m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:m.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})})]})]}),m.jsxs("div",{className:"footer-section",children:[m.jsx("h4",{className:"footer-subtitle",children:"Product"}),m.jsxs("ul",{className:"footer-links",children:[m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Features"})}),m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Pricing"})}),m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Documentation"})}),m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"API"})})]})]}),m.jsxs("div",{className:"footer-section",children:[m.jsx("h4",{className:"footer-subtitle",children:"Company"}),m.jsxs("ul",{className:"footer-links",children:[m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"About"})}),m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Blog"})}),m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Careers"})}),m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Contact"})})]})]}),m.jsxs("div",{className:"footer-section",children:[m.jsx("h4",{className:"footer-subtitle",children:"Support"}),m.jsxs("ul",{className:"footer-links",children:[m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Help Center"})}),m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Community"})}),m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Status"})}),m.jsx("li",{children:m.jsx("a",{href:"#",className:"footer-link",children:"Security"})})]})]})]}),m.jsxs("div",{className:"footer-bottom",children:[m.jsx("p",{className:"footer-copyright",children:"© 2024 Brand. All rights reserved."}),m.jsxs("div",{className:"footer-legal",children:[m.jsx("a",{href:"#",className:"footer-link",children:"Privacy Policy"}),m.jsx("a",{href:"#",className:"footer-link",children:"Terms of Service"})]})]})]})});function Ep(){return m.jsxs("div",{className:"App",children:[m.jsx(wp,{}),m.jsx(Sp,{}),m.jsx(kp,{}),m.jsx(xp,{})]})}bl.createRoot(document.getElementById("root")).render(m.jsx(ll.StrictMode,{children:m.jsx(Ep,{})})); diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 00000000..deaf4371 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,14 @@ + + + + + + + Modern Landing Page + + + + +
+ + diff --git a/package-lock.json b/package-lock.json index 86ffc834..be46c912 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "landing-page", "version": "1.0.0", "dependencies": { + "@probat/react": "^0.4.4", "react": "^18.2.0", "react-dom": "^18.2.0" }, @@ -954,6 +955,15 @@ "node": ">= 8" } }, + "node_modules/@probat/react": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@probat/react/-/react-0.4.4.tgz", + "integrity": "sha512-SiXnYsGeprWd70ilSx8xHgCnKvaW8pj07z1Pb6kBeUoOWXn2JlQot+bU4fJ1qmNjCC/Brj1NXWM+7JFMHjDQRA==", + "license": "MIT", + "peerDependencies": { + "react": ">=18.0.0" + } + }, "node_modules/@rolldown/pluginutils": { "version": "1.0.0-beta.27", "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz", diff --git a/package.json b/package.json index 613edc15..ae3ca489 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" }, "dependencies": { + "@probat/react": "^0.4.4", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/src/App.tsx b/src/App.tsx index 2a3e5db2..1542db9a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,3 @@ -import React from 'react' import Header from './components/Header' import Hero from './components/Hero' import Features from './components/Features' diff --git a/src/components/GetStartedButton.tsx b/src/components/GetStartedButton.tsx index 1a1173af..1ed10a9b 100644 --- a/src/components/GetStartedButton.tsx +++ b/src/components/GetStartedButton.tsx @@ -1,11 +1,14 @@ +"use client" import React from 'react' +import { Experiment } from '@probat/react' interface GetStartedButtonProps { label?: string large?: boolean } -const GetStartedButton: React.FC = ({ label = 'Get Started Free', large = false }) => { +// Control component (original implementation) +const GetStartedButtonControl: React.FC = ({ label = 'Get Started Free', large = false }) => { return ( + ) +} + +// Wrapper component with original export name +const GetStartedButton: React.FC = (props) => { + return ( + } + variants={{ V3: }} + /> + ) +} + export default GetStartedButton