1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BlogIndex-B-SDWGQe.js","assets/posts-cmmUUZjN.js","assets/BlogPost-CSHmg5zZ.js","assets/BreadcrumbJsonLd-D0bBP40X.js","assets/AgentsPage-CdhLYr28.js","assets/VerifiedAgentBadge-Bkwbrfdn.js","assets/TechnologyPage-6T0Ggcor.js","assets/FAQSection-CrdEbePt.js","assets/page-faqs-ZvXedQbV.js","assets/OpenVsOpenPage-BUfpD6jB.js","assets/PressPage-B0nziGpw.js","assets/WaitlistForm-BS3l5uRM.js","assets/FormHoneypot-Bk58rfGt.js","assets/ProductsPage-_Q07azRZ.js","assets/ContentPreviewDrawer-Bd73RjBq.js","assets/ProductDetailPage-dIb9ZZg7.js","assets/RecipesPage-C2Szp7wa.js","assets/RecipeDetailPage-aSE_SoVj.js","assets/EditorialDetailPage-DDYDW0-o.js","assets/ServicesPage-BeZgKrOy.js","assets/ServiceDetailPage-CId5QrfW.js","assets/BrandsIndexPage-C13bC_Qa.js","assets/BrandPage-CExoLuCs.js","assets/AgentTrustLayerPage-DXI4YOD3.js","assets/UniversalPurchaseMandatePage-NIUMStq1.js","assets/MatchMomentPage-CGPaHHDD.js","assets/ProofPanel-CBLV3mDU.js","assets/MarketingHomePage-B_k0Qq3x.js","assets/MatchMomentDiagram-rt-3bJZ-.js","assets/DiscoverPage-4ZezJgCC.js","assets/PublisherPage-Cyl49qmH.js","assets/PricingSection-l3kPBdXL.js","assets/AdvertiserPage-eKOX1wvi.js","assets/ComparePage-BLz_iXoV.js","assets/AgenticCommercePage-yH9kiT0W.js","assets/PricingPage-ClmHcFVC.js","assets/KiSichtbarkeitPage-DR5m8YWp.js","assets/index-Wb7WGY2P.js","assets/types-DjIe02Na.js","assets/McpServerForPublishersPage-D6ZGCMNz.js","assets/MonetizeContentPage-C7AkuIZF.js","assets/ForYouPage-BXemEPNY.js","assets/EnduserPage-DIu3Unrt.js","assets/useImpersonation-Bci6Rvke.js","assets/OnboardingWizardPage-CDSvxVBK.js","assets/BrandAgentWizardPage-BUTyA1Ke.js","assets/DashboardLayout-lxFe6UcB.js","assets/admin-DnjnI9Lw.js","assets/useCustomerPlan-ClsqXrLp.js","assets/OverviewPage-b3Qqfwn1.js","assets/DashboardResourceError-OG-tz6XM.js","assets/WalletPage-C3XZRoTX.js","assets/OrdersPage-iH0atYQm.js","assets/BudgetPage-51e-rk7c.js","assets/SavedItemsPage-BHPqWRkE.js","assets/PaymentMethodsPage-CvaasOWS.js","assets/WishesPage-BArFyF8k.js","assets/FeedsPage-CZuxeCMK.js","assets/FeedReadinessCard-l9EJmDkm.js","assets/DashboardProductsPage-Cy78KGa-.js","assets/SettingsPage-D6MIY-EN.js","assets/PlanPage-C4Pj2est.js","assets/TeamPage-B8hFfna5.js","assets/PricingPage-Cc7fZ98y.js","assets/BrandSpacePage-DdyuVGQs.js","assets/ContentPage-B-MPH0Qp.js","assets/ProposalsPage-6CFOst4p.js","assets/DomainsPage-C8T7Nygi.js","assets/PlacementsPage-CnOVwK_v.js","assets/EarningsPage-BgdZFrb1.js","assets/MediaBuysPage-B6sPGAMn.js","assets/InventoryPage-SGRpTpm-.js","assets/InventoryDetailPage--BULK-Z7.js","assets/FrequencyCapField-DmKOwzSA.js","assets/TrackingPage-DqkC0_fg.js","assets/GamTestPage-Jkjwm4cI.js","assets/SignalDocsPage-CK_oEWsp.js","assets/AnalyticsPage-BcuNNebx.js","assets/SdkCodeGeneratorPage-E8iycXoi.js","assets/PublisherSetupPage-CJvidg-b.js","assets/ReadinessPage-DdOcpvAI.js","assets/EdgeProxySetupPage-Cq_HNfFP.js","assets/BrandSpacePage-Cd2uwafx.js","assets/CampaignsPage-Dpljppxf.js","assets/CampaignDetailPage-CHcIqJXS.js","assets/ContentPage-COjK3gUh.js","assets/AnalyticsPage-xrhhNF-G.js","assets/GeoAnalyticsPage-B-Vkp7ue.js","assets/LostRevenuePage-C9zEsGbI.js","assets/AttributionPage-DjtU-cU9.js","assets/ImportPage-C8fg94ks.js","assets/SpendPage-BVEKqODD.js","assets/CreditsPage-BBaytku9.js","assets/AccountsPage-B5SdAlAU.js","assets/NetworkOverviewPage-03hXMBVg.js","assets/BudgetAllocationPage-Coy3gpDf.js","assets/BrandingPage-C95tDr7H.js","assets/NetworkAgentTrafficPage-CV-tosll.js","assets/AgencyOnboardingWizard-BeR0roYG.js","assets/AdminOverviewPage-DLZaRNkz.js","assets/AdminAccountsPage-C3tH7ztQ.js","assets/AdminContentPage-CPqK1jzd.js","assets/AdminCreditsPage-CLy9Oa3e.js","assets/AgentTrafficPage-ByNmP_CA.js","assets/BotJourneyPage-CkC_2Px_.js","assets/AuctionsPage-CT59SVhc.js","assets/DiscoveryHealthPage-Dw-J4kbW.js","assets/ShopWishesAggregatePage-XfM3H6UR.js","assets/MultiRailReportPage-BPliBdWd.js","assets/CitationsPage-BR2DsOun.js","assets/PageTrafficPage-DWpl0T-M.js","assets/TrafficFilter-DAWrckXF.js","assets/PageDrilldownPage-CYJWcgim.js","assets/AgentTrafficPage-dlUA4PwA.js","assets/PageTrafficPage-DIQu7y1e.js","assets/AgentTrafficPage-BZKa8690.js","assets/MultiRailAnalyticsPage-Ddo2DDlb.js","assets/MatchMomentPage-DjAVpw-k.js","assets/CitationsPage-CNCV6l00.js","assets/CitationsStartPage-WJgymihr.js"])))=>i.map(i=>d[i]); 2(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&s(f)}).observe(document,{childList:!0,subtree:!0});function a(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function s(l){if(l.ep)return;l.ep=!0;const u=a(l);fetch(l.href,u)}})();function Dc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Mh={exports:{}},Bs={};var Zv;function dx(){if(Zv)return Bs;Zv=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function a(s,l,u){var f=null;if(u!==void 0&&(f=""+u),l.key!==void 0&&(f=""+l.key),"key"in l){u={};for(var h in l)h!=="key"&&(u[h]=l[h])}else u=l;return l=u.ref,{$$typeof:t,type:s,key:f,ref:l!==void 0?l:null,props:u}}return Bs.Fragment=r,Bs.jsx=a,Bs.jsxs=a,Bs}var Jv;function fx(){return Jv||(Jv=1,Mh.exports=dx()),Mh.exports}var E=fx(),Dh={exports:{}},xe={};var e0;function hx(){if(e0)return xe;e0=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),S=Symbol.for("react.view_transition"),_=Symbol.iterator;function k(x){return x===null||typeof x!="object"?null:(x=_&&x[_]||x["@@iterator"],typeof x=="function"?x:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,q={};function K(x,Y,ie){this.props=x,this.context=Y,this.refs=q,this.updater=ie||U}K.prototype.isReactComponent={},K.prototype.setState=function(x,Y){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,Y,"setState")},K.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function Z(){}Z.prototype=K.prototype;function le(x,Y,ie){this.props=x,this.context=Y,this.refs=q,this.updater=ie||U}var te=le.prototype=new Z;te.constructor=le,B(te,K.prototype),te.isPureReactComponent=!0;var be=Array.isArray;function $(){}var R={H:null,A:null,T:null,S:null},ue=Object.prototype.hasOwnProperty;function _e(x,Y,ie){var de=ie.ref;return{$$typeof:t,type:x,key:Y,ref:de!==void 0?de:null,props:ie}}function we(x,Y){return _e(x.type,Y,x.props)}function Ee(x){return typeof x=="object"&&x!==null&&x.$$typeof===t}function Pe(x){var Y={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(ie){return Y[ie]})}var Ke=/\/+/g;function Le(x,Y){return typeof x=="object"&&x!==null&&x.key!=null?Pe(""+x.key):Y.toString(36)}function Q(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then($,$):(x.status="pending",x.then(function(Y){x.status==="pending"&&(x.status="fulfilled",x.value=Y)},function(Y){x.status==="pending"&&(x.status="rejected",x.reason=Y)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function J(x,Y,ie,de,Ue){var Be=typeof x;(Be==="undefined"||Be==="boolean")&&(x=null);var Ye=!1;if(x===null)Ye=!0;else switch(Be){case"bigint":case"string":case"number":Ye=!0;break;case"object":switch(x.$$typeof){case t:case r:Ye=!0;break;
2case b:return Ye=x._init,J(Ye(x._payload),Y,ie,de,Ue)}}if(Ye)return Ue=Ue(x),Ye=de===""?"."+Le(x,0):de,be(Ue)?(ie="",Ye!=null&&(ie=Ye.replace(Ke,"$&/")+"/"),J(Ue,Y,ie,"",function(ut){return ut})):Ue!=null&&(Ee(Ue)&&(Ue=we(Ue,ie+(Ue.key==null||x&&x.key===Ue.key?"":(""+Ue.key).replace(Ke,"$&/")+"/")+Ye)),Y.push(Ue)),1;Ye=0;var fe=de===""?".":de+":";if(be(x))for(var Te=0;Te<x.length;Te++)de=x[Te],Be=fe+Le(de,Te),Ye+=J(de,Y,ie,Be,Ue);else if(Te=k(x),typeof Te=="function")for(x=Te.call(x),Te=0;!(de=x.next()).done;)de=de.value,Be=fe+Le(de,Te++),Ye+=J(de,Y,ie,Be,Ue);else if(Be==="object"){if(typeof x.then=="function")return J(Q(x),Y,ie,de,Ue);throw Y=String(x),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return Ye}function he(x,Y,ie){if(x==null)return x;var de=[],Ue=0;return J(x,de,"","",function(Be){return Y.call(ie,Be,Ue++)}),de}function pe(x){if(x._status===-1){var Y=x._result,ie=Y();ie.then(function(de){(x._status===0||x._status===-1)&&(x._status=1,x._result=de,ie.status===void 0&&(ie.status="fulfilled",ie.value=de))},function(de){(x._status===0||x._status===-1)&&(x._status=2,x._result=de,ie.status===void 0&&(ie.status="rejected",ie.reason=de))}),x._status===-1&&(x._status=0,x._result=ie)}if(x._status===1)return x._result.default;throw x._result}var Ae=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)};function lt(x){var Y=R.T,ie={};ie.types=Y!==null?Y.types:null,R.T=ie;try{var de=x(),Ue=R.S;Ue!==null&&Ue(ie,de),typeof de=="object"&&de!==null&&typeof de.then=="function"&&de.then($,Ae)}catch(Be){Ae(Be)}finally{Y!==null&&ie.types!==null&&(Y.types=ie.types),R.T=Y}}function gt(x){var Y=R.T;if(Y!==null){var ie=Y.types;ie===null?Y.types=[x]:ie.indexOf(x)===-1&&ie.push(x)}else lt(gt.bind(null,x))}var _t={map:he,forEach:function(x,Y,ie){he(x,function(){Y.apply(this,arguments)},ie)},count:function(x){var Y=0;return he(x,function(){Y++}),Y},toArray:function(x){return he(x,function(Y){return Y})||[]},only:function(x){if(!Ee(x))throw Error("React.Children.only expected to receive a single React element child.");return x}};return xe.Activity=y,xe.Children=_t,xe.Component=K,xe.Fragment=a,xe.Profiler=l,xe.PureComponent=le,xe.StrictMode=s,xe.Suspense=p,xe.ViewTransition=S,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,xe.__COMPILER_RUNTIME={__proto__:null,c:function(x){return R.H.useMemoCache(x)}},xe.addTransitionType=gt,xe.cache=function(x){return function(){return x.apply(null,arguments)}},xe.cacheSignal=function(){return null},xe.cloneElement=function(x,Y,ie){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var de=B({},x.props),Ue=x.key;if(Y!=null)for(Be in Y.key!==void 0&&(Ue=""+Y.key),Y)!ue.call(Y,Be)||Be==="key"||Be==="__self"||Be==="__source"||Be==="ref"&&Y.ref===void 0||(de[Be]=Y[Be]);var Be=arguments.length-2;if(Be===1)de.children=ie;else if(1<Be){for(var Ye=Array(Be),fe=0;fe<Be;fe++)Ye[fe]=arguments[fe+2];de.children=Ye}return _e(x.type,Ue,de)},xe.createContext=function(x){return x={$$typeof:f,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:u,_context:x},x},xe.createElement=function(x,Y,ie){var de,Ue={},Be=null;if(Y!=null)for(de in Y.key!==void 0&&(Be=""+Y.key),Y)ue.call(Y,de)&&de!=="key"&&de!=="__self"&&de!=="__source"&&(Ue[de]=Y[de]);var Ye=arguments.length-2;if(Ye===1)Ue.children=ie;else if(1<Ye){for(var fe=Array(Ye),Te=0;Te<Ye;Te++)fe[Te]=arguments[Te+2];Ue.children=fe}if(x&&x.defaultProps)for(de in Ye=x.defaultProps,Ye)Ue[de]===void 0&&(Ue[de]=Ye[de]);return _e(x,Be,Ue)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(x){return{$$typeof:h,render:x}},xe.isValidElement=Ee,xe.lazy=function(x){return{$$typeof:b,_payload:{_status:-1,_result:x},_init:pe}},xe.memo=function(x,Y){return{$$typeof:g,type:x,compare:Y===void 0?null:Y}},xe.startTransition=lt,xe.unstable_useCacheRefresh=function(){return R.H.useCacheRefresh()},xe.use=function(x){return R.H.use(x)},xe.useActionState=function(x,Y,ie){return R.H.useActionState(x,Y,ie)},xe.useCallback=function(x,Y){return R.H.useCallback(x,Y)},xe.useContext=function(x){return R.H.useContext(x)},xe.useDebugValue=function(){},xe.useDeferredValue=function(x,Y){return R.H.useDeferredValue(x,Y)},xe.useEffect=function(x,Y){return R.H.useEffect(x,Y)},xe.useEffectEvent=function(x){return R.H.useEffectEvent(x)},xe.useId=function(){return R.H.useId()},xe.useImperativeHandle=function(x,Y,ie){return R.H.useImperativeHandle(x,Y,ie)},xe.useInsertionEffect=function(x,Y){return R.H.useInsertionEffect(x,Y)},xe.useLayoutEffect=function(x,Y){return R.H.useLayoutEffect(x,Y)},xe.useMemo=function(x,Y){return R.H.useMemo(x,Y)},xe.useOptimistic=function(x,Y){return R.H.useOptimistic(x,Y)},xe.useReducer=function(x,Y,ie){return R.H.useReducer(x,Y,ie)},xe.useRef=function(x){return R.H.useRef(x)},xe.useState=function(x){return R.H.useState(x)},xe.useSyncExternalStore=function(x,Y,ie){return R.H.useSyncExternalStore(x,Y,ie)},xe.useTransition=function(){return R.H.useTransition()},xe.version="19.3.0",xe}var t0;function Oc(){return t0||(t0=1,Dh.exports=hx()),Dh.exports}var w=Oc();const L=Dc(w);var Oh={exports:{}},js={},Rh={exports:{}},Nh={};var n0;function px(){return n0||(n0=1,(function(t){function r(Q,J){var he=Q.length;Q.push(J);e:for(;0<he;){var pe=he-1>>>1,Ae=Q[pe];if(0<l(Ae,J))Q[pe]=J,Q[he]=Ae,he=pe;else break e}}function a(Q){return Q.length===0?null:Q[0]}function s(Q){if(Q.length===0)return null;var J=Q[0],he=Q.pop();if(he!==J){Q[0]=he;e:for(var pe=0,Ae=Q.length,lt=Ae>>>1;pe<lt;){var gt=2*(pe+1)-1,_t=Q[gt],x=gt+1,Y=Q[x];if(0>l(_t,he))x<Ae&&0>l(Y,_t)?(Q[pe]=Y,Q[x]=he,pe=x):(Q[pe]=_t,Q[gt]=he,pe=gt);else if(x<Ae&&0>l(Y,he))Q[pe]=Y,Q[x]=he,pe=x;else break e}}return J}function l(Q,J){var he=Q.sortIndex-J.sortIndex;return he!==0?he:Q.id-J.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,h=f.now();t.unstable_now=function(){return f.now()-h}}var p=[],g=[],b=1,y=null,S=3,_=!1,k=!1,U=!1,B=!1,q=typeof setTimeout=="function"?setTimeout:null,K=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function le(Q){for(var J=a(g);J!==null;){if(J.callback===null)s(g);else if(J.startTime<=Q)s(g),J.sortIndex=J.expirationTime,r(p,J);else break;J=a(g)}}function te(Q){if(U=!1,le(Q),!k)if(a(p)!==null)k=!0,be||(be=!0,Ee());else{var J=a(g);J!==null&&Le(te,J.startTime-Q)}}var be=!1,$=-1,R=5,ue=-1;function _e(){return B?!0:!(t.unstable_now()-ue<R)}function we(){if(B=!1,be){var Q=t.unstable_now();ue=Q;var J=!0;try{e:{k=!1,U&&(U=!1,K($),$=-1),_=!0;var he=S;try{t:{for(le(Q),y=a(p);y!==null&&!(y.expirationTime>Q&&_e());){var pe=y.callback;
2if(typeof pe=="function"){y.callback=null,S=y.priorityLevel;var Ae=pe(y.expirationTime<=Q);if(Q=t.unstable_now(),typeof Ae=="function"){y.callback=Ae,le(Q),J=!0;break t}y===a(p)&&s(p),le(Q)}else s(p);y=a(p)}if(y!==null)J=!0;else{var lt=a(g);lt!==null&&Le(te,lt.startTime-Q),J=!1}}break e}finally{y=null,S=he,_=!1}J=void 0}}finally{J?Ee():be=!1}}}var Ee;if(typeof Z=="function")Ee=function(){Z(we)};else if(typeof MessageChannel<"u"){var Pe=new MessageChannel,Ke=Pe.port2;Pe.port1.onmessage=we,Ee=function(){Ke.postMessage(null)}}else Ee=function(){q(we,0)};function Le(Q,J){$=q(function(){Q(t.unstable_now())},J)}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(Q){Q.callback=null},t.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<Q?Math.floor(1e3/Q):5},t.unstable_getCurrentPriorityLevel=function(){return S},t.unstable_next=function(Q){switch(S){case 1:case 2:case 3:var J=3;break;default:J=S}var he=S;S=J;try{return Q()}finally{S=he}},t.unstable_requestPaint=function(){B=!0},t.unstable_runWithPriority=function(Q,J){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var he=S;S=Q;try{return J()}finally{S=he}},t.unstable_scheduleCallback=function(Q,J,he){var pe=t.unstable_now();switch(typeof he=="object"&&he!==null?(he=he.delay,he=typeof he=="number"&&0<he?pe+he:pe):he=pe,Q){case 1:var Ae=-1;break;case 2:Ae=250;break;case 5:Ae=1073741823;break;case 4:Ae=1e4;break;default:Ae=5e3}return Ae=he+Ae,Q={id:b++,callback:J,priorityLevel:Q,startTime:he,expirationTime:Ae,sortIndex:-1},he>pe?(Q.sortIndex=he,r(g,Q),a(p)===null&&Q===a(g)&&(U?(K($),$=-1):U=!0,Le(te,he-pe))):(Q.sortIndex=Ae,r(p,Q),k||_||(k=!0,be||(be=!0,Ee()))),Q},t.unstable_shouldYield=_e,t.unstable_wrapCallback=function(Q){var J=S;return function(){var he=S;S=J;try{return Q.apply(this,arguments)}finally{S=he}}}})(Nh)),Nh}var r0;function mx(){return r0||(r0=1,Rh.exports=px()),Rh.exports}var Lh={exports:{}},Wt={};var i0;function gx(){if(i0)return Wt;i0=1;var t=Oc();function r(b){var y="https://react.dev/errors/"+b;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)y+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+b+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var s={d:{f:a,r:function(){throw Error(r(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},l=Symbol.for("react.portal"),u=Symbol.for("react.recoverable"),f=Symbol.for("react.optimistic_key");function h(b,y,S){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:_==null?null:_===f?f:""+_,children:b,containerInfo:y,implementation:S}}var p=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(b,y){if(b==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return Wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Wt.browser=function(b){return{$$typeof:u,_reason:b}},Wt.createPortal=function(b,y){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(r(299));return h(b,y,null,S)},Wt.flushSync=function(b){var y=p.T,S=s.p;try{if(p.T=null,s.p=2,b)return b()}finally{p.T=y,s.p=S,s.d.f()}},Wt.preconnect=function(b,y){typeof b=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,s.d.C(b,y))},Wt.prefetchDNS=function(b){typeof b=="string"&&s.d.D(b)},Wt.preinit=function(b,y){if(typeof b=="string"&&y&&typeof y.as=="string"){var S=y.as,_=g(S,y.crossOrigin),k=typeof y.integrity=="string"?y.integrity:void 0,U=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;S==="style"?s.d.S(b,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:_,integrity:k,fetchPriority:U}):S==="script"&&s.d.X(b,{crossOrigin:_,integrity:k,fetchPriority:U,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Wt.preinitModule=function(b,y){if(typeof b=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var S=g(y.as,y.crossOrigin);s.d.M(b,{crossOrigin:S,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}}else y==null&&s.d.M(b)},Wt.preload=function(b,y){if(typeof b=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var S=y.as,_=g(S,y.crossOrigin);s.d.L(b,S,{crossOrigin:_,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},Wt.preloadModule=function(b,y){if(typeof b=="string")if(y){var S=g(y.as,y.crossOrigin);s.d.m(b,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:S,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}else s.d.m(b)},Wt.requestFormReset=function(b){s.d.r(b)},Wt.unstable_batchedUpdates=function(b,y){return b(y)},Wt.useFormState=function(b,y,S){return p.H.useFormState(b,y,S)},Wt.useFormStatus=function(){return p.H.useHostTransitionStatus()},Wt.version="19.3.0",Wt}var a0;
2function V_(){if(a0)return Lh.exports;a0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Lh.exports=gx(),Lh.exports}var o0;function yx(){if(o0)return js;o0=1;var t=mx(),r=Oc(),a=V_();function s(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){for(var n=e,i=n;i&&!i.alternate;)n=i,(n.flags&4098)!==0&&(e=n.return),i=n.return;for(;n.return;)n=n.return;return n.tag===3?e:null}function f(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function h(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function p(e){if(u(e)!==e)throw Error(s(188))}function g(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(s(188));return n!==e?null:e}for(var i=e,o=n;;){var c=i.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){i=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===i)return p(c),e;if(d===o)return p(c),n;d=d.sibling}throw Error(s(188))}if(i.return!==o.return)i=c,o=d;else{for(var m=!1,v=c.child;v;){if(v===i){m=!0,i=c,o=d;break}if(v===o){m=!0,o=c,i=d;break}v=v.sibling}if(!m){for(v=d.child;v;){if(v===i){m=!0,i=d,o=c;break}if(v===o){m=!0,o=d,i=c;break}v=v.sibling}if(!m)throw Error(s(189))}}if(i.alternate!==o)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?e:n}function b(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=b(e),n!==null)return n;e=e.sibling}return null}function y(e,n,i,o,c,d){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&i(e,o,c,d)||(e.tag!==22||e.memoizedState===null)&&(n||e.tag!==5&&e.tag!==27)&&y(e.child,n,i,o,c,d))return!0;e=e.sibling}return!1}function S(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function _(e){var n=!1;for(e=e.return;e!==null&&(e.tag===4&&(n=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return n}function k(e){var n=[null,null],i=S(e);return i===null||U(n,e,i.child,{foundSelf:!1}),n}function U(e,n,i,o){for(;i!==null;){if(i===n)o.foundSelf=!0;else if(i.tag===5||i.tag===27||i.tag===6){if(o.foundSelf)return e[1]=i,!0;e[0]=i}else if((i.tag!==22||i.memoizedState===null)&&U(e,n,i.child,o))return!0;i=i.sibling}return!1}function B(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(s(559))}}var q=null,K=null;function Z(e,n,i){return e===i?!0:e===n?(q=e,!0):!1}function le(e,n,i){return e===i?(K=e,!1):e===n?(K!==null&&(q=e),!0):!1}function te(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function be(e,n,i){for(var o=0,c=e;c;c=i(c))o++;c=0;for(var d=n;d;d=i(d))c++;for(;0<o-c;)e=i(e),o--;for(;0<c-o;)n=i(n),c--;for(;o--;){if(e===n||n!==null&&e===n.alternate)return e;e=i(e),n=i(n)}return null}var $=Object.assign,R=Symbol.for("react.element"),ue=Symbol.for("react.transitional.element"),_e=Symbol.for("react.portal"),we=Symbol.for("react.fragment"),Ee=Symbol.for("react.strict_mode"),Pe=Symbol.for("react.profiler"),Ke=Symbol.for("react.consumer"),Le=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),Ae=Symbol.for("react.lazy"),lt=Symbol.for("react.activity"),gt=Symbol.for("react.legacy_hidden"),_t=Symbol.for("react.memo_cache_sentinel"),x=Symbol.for("react.view_transition"),Y=Symbol.for("react.recoverable"),ie=Symbol.iterator;function de(e){return e===null||typeof e!="object"?null:(e=ie&&e[ie]||e["@@iterator"],typeof e=="function"?e:null)}var Ue=Symbol.for("react.client.reference");function Be(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ue?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case we:return"Fragment";case Pe:return"Profiler";case Ee:return"StrictMode";case J:return"Suspense";case he:return"SuspenseList";case lt:return"Activity";case x:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case _e:return"Portal";case Le:return e.displayName||"Context";case Ke:return(e._context.displayName||"Context")+".Consumer";case Q:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pe:return n=e.displayName||null,n!==null?n:Be(e.type)||"Memo";case Ae:n=e._payload,e=e._init;try{return Be(e(n))}catch{}}return null}var Ye=Array.isArray,fe=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Te=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ut={pending:!1,data:null,method:null,action:null},fr=[],Lr=-1;function Rn(e){return{current:e}}function ht(e){0>Lr||(e.current=fr[Lr],fr[Lr]=null,Lr--)}function rt(e,n){Lr++,fr[Lr]=e.current,e.current=n}var Nn=Rn(null),ai=Rn(null),hr=Rn(null),Pa=Rn(null);function Ma(e,n){switch(rt(hr,n),rt(ai,e),rt(Nn,null),n.nodeType){case 9:case 11:e=(e
2=n.documentElement)&&(e=e.namespaceURI)?sv(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=sv(n),e=lv(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ht(Nn),rt(Nn,e)}function oi(){ht(Nn),ht(ai),ht(hr)}function Xn(e){var n=e.memoizedState;n!==null&&(So._currentValue=n.memoizedState,rt(Pa,e)),n=Nn.current;var i=lv(n,e.type);n!==i&&(rt(ai,e),rt(Nn,i))}function pr(e){ai.current===e&&(ht(Nn),ht(ai)),Pa.current===e&&(ht(Pa),So._currentValue=ut)}var Da,Oa;function Nt(e){if(Da===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);Da=n&&n[1]||"",Oa=-1<i.stack.indexOf(` 3 at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return` 4`+Da+e+Oa}var yn=!1;function Ko(e,n){if(!e||yn)return"";yn=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(ee){var M=ee}Reflect.construct(e,[],V)}else{try{V.call()}catch(ee){M=ee}V=!1;try{var I=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),V=!0,new e}finally{V&&(I!==void 0?Object.defineProperty(e.prototype,"props",I):delete e.prototype.props)}}}else{try{throw Error()}catch(ee){M=ee}(V=e())&&typeof V.catch=="function"&&V.catch(function(){})}}catch(ee){if(ee&&M&&typeof ee.stack=="string")return[ee.stack,M.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),m=d[0],v=d[1];if(m&&v){var A=m.split(` 5`),O=v.split(` 6`);for(c=o=0;o<A.length&&!A[o].includes("DetermineComponentFrameRoot");)o++;for(;c<O.length&&!O[c].includes("DetermineComponentFrameRoot");)c++;if(o===A.length||c===O.length)for(o=A.length-1,c=O.length-1;1<=o&&0<=c&&A[o]!==O[c];)c--;for(;1<=o&&0<=c;o--,c--)if(A[o]!==O[c]){if(o!==1||c!==1)do if(o--,c--,0>c||A[o]!==O[c]){var j=` 7`+A[o].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),j}while(1<=o&&0<=c);break}}}finally{yn=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?Nt(i):""}function td(e,n){switch(e.tag){case 26:case 27:case 5:return Nt(e.type);case 16:return Nt("Lazy");case 13:return e.child!==n&&n!==null?Nt("Suspense Fallback"):Nt("Suspense");case 19:return Nt("SuspenseList");case 0:case 15:return Ko(e.type,!1);case 11:return Ko(e.type.render,!1);case 1:return Ko(e.type,!0);case 31:return Nt("Activity");case 30:return Nt("ViewTransition");default:return""}}function Ra(e){try{var n="",i=null;do n+=td(e,i),i=e,e=e.return;while(e);return n}catch(o){return` 8Error generating stack: `+o.message+` 9`+o.stack}}var Yo=Object.prototype.hasOwnProperty,bn=t.unstable_scheduleCallback,Na=t.unstable_cancelCallback,Al=t.unstable_shouldYield,Tl=t.unstable_requestPaint,en=t.unstable_now,wl=t.unstable_getCurrentPriorityLevel,Ki=t.unstable_ImmediatePriority,Wo=t.unstable_UserBlockingPriority,si=t.unstable_NormalPriority,nd=t.unstable_LowPriority,$o=t.unstable_IdlePriority,rd=t.log,Cl=t.unstable_setDisableYieldValue,mr=null,Lt=null;function Zn(e){if(typeof rd=="function"&&Cl(e),Lt&&typeof Lt.setStrictMode=="function")try{Lt.setStrictMode(mr,e)}catch{}}var tn=Math.clz32?Math.clz32:P,id=Math.log,T=Math.LN2;function P(e){return e>>>=0,e===0?32:31-(id(e)/T|0)|0}var z=256,W=262144,X=4194304;function oe(e){var n=e&42;if(n!==0)return n;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;
vendor: 4,134 bytes, line 9
9case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function se(e,n,i){var o=e.pendingLanes;if(o===0)return 0;var c=0,d=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var v=o&134217727;return v!==0?(o=v&~d,o!==0?c=oe(o):(m&=v,m!==0?c=oe(m):i||(i=v&~e,i!==0&&(c=oe(i))))):(v=o&~d,v!==0?c=oe(v):m!==0?c=oe(m):i||(i=o&~e,i!==0&&(c=oe(i)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,i=n&-n,d>=i||d===32&&(i&4194048)!==0)?n:c}function ne(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function re(e,n){(n&8)!==0&&(n|=n&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=n;0<i;){var o=31-tn(i),c=1<<o;n|=e[o],i&=~c}return n}function Ce(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32: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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function me(){var e=X;return X<<=1,(X&62914560)===0&&(X=4194304),e}function ye(e){for(var n=[],i=0;31>i;i++)n.push(e);return n}function Re(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function yt(e,n,i,o,c,d){var m=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var v=e.entanglements,A=e.expirationTimes,O=e.hiddenUpdates;for(i=m&~i;0<i;){var j=31-tn(i),V=1<<j;v[j]=0,A[j]=-1;var M=O[j];if(M!==null)for(O[j]=null,j=0;j<M.length;j++){var I=M[j];I!==null&&(I.lane&=-536870913)}i&=~V}o!==0&&We(e,o,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(m&~n))}function We(e,n,i){e.pendingLanes|=n,e.suspendedLanes&=~n;var o=31-tn(n);e.entangledLanes|=n,e.entanglements[o]=e.entanglements[o]|1073741824|i&261930}function bt(e,n){var i=e.entangledLanes|=n;for(e=e.entanglements;i;){var o=31-tn(i),c=1<<o;c&n|e[o]&n&&(e[o]|=n),i&=~c}}function Me(e,n){var i=n&-n;return i=(i&42)!==0?1:Qt(i),(i&(e.suspendedLanes|n))!==0?0:i}function Qt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ot(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function nn(){var e=Te.p;return e!==0?e:(e=window.event,e===void 0?32:qv(e.type))}function Jn(e,n){var i=Te.p;try{return Te.p=e,n()}finally{Te.p=i}}var Ht=Math.random().toString(36).slice(2),Et="__reactFiber$"+Ht,at="__reactProps$"+Ht,vn="__reactContainer$"+Ht,Ir="__reactEvents$"+Ht,li="__reactListeners$"+Ht,La="__reactHandles$"+Ht,Yi="__reactResources$"+Ht,gr="__reactMarker$"+Ht,Ie="__reactLoad$"+Ht;function vt(e){delete e[Et],delete e[at],delete e[li],delete e[La]}function Ft(e){var n;if(n=e[Et])return n;for(var i=e.parentNode;i;){if(n=i[vn]||i[Et]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(e=wv(e);e!==null;){if(i=e[Et])return i;e=wv(e)}return n}e=i,i=e.parentNode}return null}function Sn(e){if(e=e[Et]||e[vn]){var n=e.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return e}return null}function zr(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(s(33))}function Ze(e){var n=e[Yi];return n||(n=e[Yi]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function ct(e){e[gr]=!0}function Qo(e){e[Ie]=void 0}var xl=new Set,Vm={};function Wi(e,n){Ia(e,n),Ia(e+"Capture",n)}function Ia(e,n){for(Vm[e]=n,e=0;e<n.length;e++)xl.add(n[e])}var PT=RegExp("^[: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-\\u
9037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),qm={},Km={};function MT(e){return Yo.call(Km,e)?!0:Yo.call(qm,e)?!1:PT.test(e)?Km[e]=!0:(qm[e]=!0,!1)}var $e=!1;function Ym(){var e=$e;return $e=!1,e}function kl(e,n,i){if(MT(n))if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,i)}}function Pl(e,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,i)}}function Ur(e,n,i,o){if(o===null)e.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(n,i,o)}}function _n(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Wm(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function DT(e,n,i){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,d=o.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(m){i=""+m,d.call(this,m)}}),Object.defineProperty(e,n,{enumerable:o.enumerable}),{getValue:function(){return i},setValue:function(m){i=""+m},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function ad(e){if(!e._valueTracker){var n=Wm(e)?"checked":"value";e._valueTracker=DT(e,n,""+e[n])}}function $m(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),o="";return e&&(o=Wm(e)?e.checked?"true":"false":e.value),e=o,e!==i?(n.setValue(e),!0):!1}var OT=/[\n"\\]/g;function Ln(e){return e.replace(OT,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function od(e,n,i,o,c,d,m,v){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.type=m:e.removeAttribute("type"),n!=null?m==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+_n(n)):e.value!==""+_n(n)&&(e.value=""+_n(n)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),n!=null?m==="number"&&e.value==n?sd(e,_n(e.value)):sd(e,_n(n)):i!=null?sd(e,_n(i)):o!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.name=""+_n(v):e.removeAttribute("name")}function Qm(e,n,i,o,c,d,m,v){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),n!=null||i!=null){if(!(d!=="submit"&&d!=="reset"||n!=null)){ad(e);return}i=i!=null?""+_n(i):"",n=n!=null?""+_n(n):i,v||n===e.value||(e.value=n),e.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=v?e.checked:!!o,e.defaultChecked=!!o,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.name=m),ad(e)}function sd(e,n){e.defaultValue!==""+n&&(e.defaultValue=""+n)}function za(e,n,i,o){if(e=e.options,n){n={};for(var c=0;c<i.length;c++)n["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=n.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&o&&(e[i].defaultSelected=!0)}else{for(i=""+_n(i),n=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,o&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function Xm(e,n,i){if(n!=null&&(n=""+_n(n),n!==e.value&&(e.value=n),i==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=i!=null?""+_n(i):""}function Zm(e,n,i,o){if(n==null){if(o!=null){if(i!=null)throw Error(s(92));if(Ye(o)){if(1<o.length)throw Error(s(93));o=o[0]}i=o}i==null&&(i=""),n=i}i=_n(n),e.defaultValue=i,o=e.textContent,o===i&&o!==""&&o!==null&&(e.value=o),ad(e)}function Ua(e,n){if(n){var i=e.firstChild;
9if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var RT=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Jm(e,n,i){var o=n.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?o?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":o?e.setProperty(n,i):typeof i!="number"||i===0||RT.has(n)?n==="float"?e.cssFloat=i:e[n]=(""+i).trim():e[n]=i+"px"}function eg(e,n,i){if(n!=null&&typeof n!="object")throw Error(s(62));if(e=e.style,i!=null){for(var o in i)!i.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="",$e=!0);for(var c in n)o=n[c],n.hasOwnProperty(c)&&i[c]!==o&&(Jm(e,c,o),$e=!0)}else for(var d in n)n.hasOwnProperty(d)&&Jm(e,d,n[d])}function ld(e){if(e.indexOf("-")===-1)return!1;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 NT=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
9-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),LT=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ml(e){return LT.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function yr(){}var ud=null;function cd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ba=null,ja=null;function tg(e){var n=Sn(e);if(n&&(e=n.stateNode)){var i=e[at]||null;e:switch(e=n.stateNode,n.type){case"input":if(od(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),n=i.name,i.type==="radio"&&n!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Ln(""+n)+'"][type="radio"]'),n=0;n<i.length;n++){var o=i[n];if(o!==e&&o.form===e.form){var c=o[at]||null;if(!c)throw Error(s(90));od(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<i.length;n++)o=i[n],o.form===e.form&&$m(o)}break e;case"textarea":Xm(e,i.value,i.defaultValue);break e;case"select":n=i.value,n!=null&&za(e,!!i.multiple,n,!1)}}}var dd=!1;function ng(e,n,i){if(dd)return e(n,i);dd=!0;try{var o=e(n);return o}finally{if(dd=!1,(Ba!==null||ja!==null)&&(Mu(),Ba&&(n=Ba,e=ja,ja=Ba=null,tg(n),e)))for(n=0;n<e.length;n++)tg(e[n])}}function Xo(e,n){var i=e.stateNode;if(i===null)return null;var o=i[at]||null;if(o===null)return null;i=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(s(231,n,typeof i));return i}var Br=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fd=!1;if(Br)try{var Zo={};Object.defineProperty(Zo,"passive",{get:function(){fd=!0}}),window.addEventListener("test",Zo,Zo),window.removeEventListener("test",Zo,Zo)}catch{fd=!1}var ui=null,hd=null,Dl=null;function rg(){if(Dl)return Dl;var e,n=hd,i=n.length,o,c="value"in ui?ui.value:ui.textContent,d=c.length;for(e=0;e<i&&n[e]===c[e];e++);var m=i-e;for(o=1;o<=m&&n[i-o]===c[d-o];o++);return Dl=c.slice(e,1<o?1-o:void 0)}function Ol(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Rl(){return!0}function ig(){return!1}function rn(e){function n(i,o,c,d,m){this._reactName=i,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=m,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(i=e[v],this[v]=i?i(d):d[v]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Rl:ig,this.isPropagationStopped=ig,this}return $(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Rl)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Rl)},persist:function(){},isPersistent:Rl}),n}var ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Nl=rn(ci),Jo=$({},ci,{view:0,detail:0}),IT=rn(Jo),pd,md,es,Ll=$({},Jo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==es&&(es&&e.type==="mousemove"?(pd=e.screenX-es.screenX,md=e.screenY-es.screenY):md=pd=0,es=e),pd)},movementY:function(e){return"movementY"in e?e.movementY:md}}),ag=rn(Ll),zT=$({},Ll,{dataTransfer:0}),UT=rn(zT),BT=$({},Jo,{relatedTarget:0}),gd=rn(BT),jT=$({},ci,{animationName:0,elapsedTime:0,pseudoElement:0}),HT=rn(jT),FT=$({},ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),GT=rn(FT),VT=$({},ci,{data:0}),og=rn(VT),qT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},KT={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"},YT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function WT(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=YT[e])?!!n[e]:!1}function yd(){return WT}var $T=$({},Jo,{key:function(e){if(e.key){var n=qT[e.key]||e.key;if(n!=="Unidentified")return n}
vendor: 5,373 bytes, line 9
9return e.type==="keypress"?(e=Ol(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?KT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yd,charCode:function(e){return e.type==="keypress"?Ol(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ol(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),QT=rn($T),XT=$({},Ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sg=rn(XT),ZT=$({},ci,{submitter:0}),JT=rn(ZT),ew=$({},Jo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yd}),tw=rn(ew),nw=$({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),rw=rn(nw),iw=$({},Ll,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),aw=rn(iw),ow=$({},ci,{newState:0,oldState:0,source:0}),sw=rn(ow),lw=[9,13,27,32],bd=Br&&"CompositionEvent"in window,ts=null;Br&&"documentMode"in document&&(ts=document.documentMode);var uw=Br&&"TextEvent"in window&&!ts,lg=Br&&(!bd||ts&&8<ts&&11>=ts),ug=" ",cg=!1;function dg(e,n){switch(e){case"keyup":return lw.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ha=!1;function cw(e,n){switch(e){case"compositionend":return fg(n);case"keypress":return n.which!==32?null:(cg=!0,ug);case"textInput":return e=n.data,e===ug&&cg?null:e;default:return null}}function dw(e,n){if(Ha)return e==="compositionend"||!bd&&dg(e,n)?(e=rg(),Dl=hd=ui=null,Ha=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return lg&&n.locale!=="ko"?null:n.data;default:return null}}var fw={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 hg(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!fw[e.type]:n==="textarea"}function pg(e,n,i,o){Ba?ja?ja.push(o):ja=[o]:Ba=o,n=Iu(n,"onChange"),0<n.length&&(i=new Nl("onChange","change",null,i,o),e.push({event:i,listeners:n}))}var ns=null,rs=null;function hw(e){tv(e,0)}function Il(e){var n=zr(e);if($m(n))return e}function mg(e,n){if(e==="change")return n}var gg=!1;if(Br){var vd;if(Br){var Sd="oninput"in document;if(!Sd){var yg=document.createElement("div");yg.setAttribute("oninput","return;"),Sd=typeof yg.oninput=="function"}vd=Sd}else vd=!1;gg=vd&&(!document.documentMode||9<document.documentMode)}function bg(){ns&&(ns.detachEvent("onpropertychange",vg),rs=ns=null)}function vg(e){if(e.propertyName==="value"&&Il(rs)){var n=[];pg(n,rs,e,cd(e)),ng(hw,n)}}function pw(e,n,i){e==="focusin"?(bg(),ns=n,rs=i,ns.attachEvent("onpropertychange",vg)):e==="focusout"&&bg()}function mw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Il(rs)}function gw(e,n){if(e==="click")return Il(n)}function yw(e,n){if(e==="input"||e==="change")return Il(n)}function bw(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var En=typeof Object.is=="function"?Object.is:bw;function is(e,n){if(En(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var i=Object.keys(e),o=Object.keys(n);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var c=i[o];if(!Yo.call(n,c)||!En(e[c],n[c]))return!1}return!0}function _d(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 Sg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _g(e,n){var i=Sg(e);e=0;for(var o;i;){if(i.nodeType===3){if(o=e+i.textContent.length,e<=n&&o>=n)return{node:i,offset:n-e};e=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Sg(i)}}function Eg(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Eg(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Ag(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=_d(e.document);n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=_d(e.document)}return n}function Ed(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var vw=Br&&"documentMode"in document&&11>=document.documentMode,Fa=null,Ad=null,as=null,Td=!1;function Tg(e,n,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Td||Fa==null||Fa!==_d(o)||(o=Fa,"selectionStart"in o&&Ed(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focu
9sNode:o.focusNode,focusOffset:o.focusOffset}),as&&is(as,o)||(as=o,o=Iu(Ad,"onSelect"),0<o.length&&(n=new Nl("onSelect","select",null,n,i),e.push({event:n,listeners:o}),n.target=Fa)))}function $i(e,n){var i={};return i[e.toLowerCase()]=n.toLowerCase(),i["Webkit"+e]="webkit"+n,i["Moz"+e]="moz"+n,i}var Ga={animationend:$i("Animation","AnimationEnd"),animationiteration:$i("Animation","AnimationIteration"),animationstart:$i("Animation","AnimationStart"),transitionrun:$i("Transition","TransitionRun"),transitionstart:$i("Transition","TransitionStart"),transitioncancel:$i("Transition","TransitionCancel"),transitionend:$i("Transition","TransitionEnd")},wd={},wg={};Br&&(wg=document.createElement("div").style,"AnimationEvent"in window||(delete Ga.animationend.animation,delete Ga.animationiteration.animation,delete Ga.animationstart.animation),"TransitionEvent"in window||delete Ga.transitionend.transition);function Qi(e){if(wd[e])return wd[e];if(!Ga[e])return e;var n=Ga[e],i;for(i in n)if(n.hasOwnProperty(i)&&i in wg)return wd[e]=n[i];return e}var Cg=Qi("animationend"),xg=Qi("animationiteration"),kg=Qi("animationstart"),Sw=Qi("transitionrun"),_w=Qi("transitionstart"),Ew=Qi("transitioncancel"),Pg=Qi("transitionend"),Mg=new Map,Cd="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");Cd.push("scrollEnd");function er(e,n){Mg.set(e,n),Wi(n,[e])}var Aw=0;function jr(e,n){if(e.name!=null&&e.name!=="auto")return e.name;if(n.autoName!==null)return n.autoName;e=ir.identifierPrefix;var i=Aw++;return e="_"+e+"t_"+i.toString(32)+"_",n.autoName=e}function Dg(e){if(e==null||typeof e=="string")return e;var n=null,i=uo;if(i!==null)for(var o=0;o<i.length;o++){var c=e[i[o]];if(c!=null){if(c==="none")return"none";n=n==null?c:n+(" "+c)}}return n??e.default}function Hr(e,n){return e=Dg(e),n=Dg(n),n==null?e==="auto"?null:e:n==="auto"?null:n}var zl=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},In=[],Va=0,xd=0;function Ul(){for(var e=Va,n=xd=Va=0;n<e;){var i=In[n];In[n++]=null;var o=In[n];In[n++]=null;var c=In[n];In[n++]=null;var d=In[n];if(In[n++]=null,o!==null&&c!==null){var m=o.pending;m===null?c.next=c:(c.next=m.next,m.next=c),o.pending=c}d!==0&&Og(i,c,d)}}function Bl(e,n,i,o){In[Va++]=e,In[Va++]=n,In[Va++]=i,In[Va++]=o,xd|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function kd(e,n,i,o){return Bl(e,n,i,o),jl(e)}function Xi(e,n){return Bl(e,null,null,n),jl(e)}function Og(e,n,i){e.lanes|=i;var o=e.alternate;o!==null&&(o.lanes|=i);for(var c=!1,d=e.return;d!==null;)d.childLanes|=i,o=d.alternate,o!==null&&(o.childLanes|=i),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&n!==null&&(c=31-tn(i),e=d.hiddenUpdates,o=e[c],o===null?e[c]=[n]:o.push(n),n.lane=i|536870912),d):null}function jl(e){if(50<xs)throw xs=0,Pu=null,Error(s(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var qa={};function Tw(e,n,i,o){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fn(e,n,i,o){return new Tw(e,n,i,o)}function Pd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fr(e,n){var i=e.alternate;return i===null?(i=fn(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deleti
vendor: 6,618 bytes, line 9
9ons=null),i.flags=e.flags&1206910976,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function Rg(e,n){e.flags&=1206910978;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,n=i.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function Hl(e,n,i,o,c,d){var m=0;if(o=e,typeof o=="function")Pd(o)&&(m=1);else if(typeof o=="string")m=ZC(e,i,Nn.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(o){case lt:return e=fn(31,i,n,c),e.elementType=lt,e.lanes=d,e;case we:return Zi(i.children,c,d,n);case Ee:m=8,c|=24;break;case Pe:return e=fn(12,i,n,c|2),e.elementType=Pe,e.lanes=d,e;case J:return e=fn(13,i,n,c),e.elementType=J,e.lanes=d,e;case he:return e=fn(19,i,n,c),e.elementType=he,e.lanes=d,e;case gt:case x:return e=c|32,e=fn(30,i,n,e),e.elementType=x,e.lanes=d,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Le:m=10;break e;case Ke:m=9;break e;case Q:m=11;break e;case pe:m=14;break e;case Ae:m=16,o=null;break e}m=29,i=Error(s(130,e===null?"null":typeof e,"")),o=null}return n=fn(m,i,n,c),n.elementType=e,n.type=o,n.lanes=d,n}function Zi(e,n,i,o){return e=fn(7,e,o,n),e.lanes=i,e}function Md(e,n,i){return e=fn(6,e,null,n),e.lanes=i,e}function Ng(e){var n=fn(18,null,null,0);return n.stateNode=e,n}function Dd(e,n,i){return n=fn(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var Lg=new WeakMap;function zn(e,n){if(typeof e=="object"&&e!==null){var i=Lg.get(e);return i!==void 0?i:(n={value:e,source:n,stack:Ra(n)},Lg.set(e,n),n)}return{value:e,source:n,stack:Ra(n)}}var Ka=[],Ya=0,Fl=null,os=0,Un=[],Bn=0,di=null,br=1,vr="";function Gr(e,n){Ka[Ya++]=os,Ka[Ya++]=Fl,Fl=e,os=n}function Ig(e,n,i){Un[Bn++]=br,Un[Bn++]=vr,Un[Bn++]=di,di=e;var o=br;e=vr;var c=32-tn(o)-1;o&=~(1<<c),i+=1;var d=32-tn(n)+c;if(30<d){var m=c-c%5;d=(o&(1<<m)-1).toString(32),o>>=m,c-=m,br=1<<32-tn(n)+c|i<<c|o,vr=d+e}else br=1<<d|i<<c|o,vr=e}function Gl(e){e.return!==null&&(Gr(e,1),Ig(e,1,0))}function Od(e){for(;e===Fl;)Fl=Ka[--Ya],Ka[Ya]=null,os=Ka[--Ya],Ka[Ya]=null;for(;e===di;)di=Un[--Bn],Un[Bn]=null,vr=Un[--Bn],Un[Bn]=null,br=Un[--Bn],Un[Bn]=null}function zg(e,n){Un[Bn++]=br,Un[Bn++]=vr,Un[Bn++]=di,br=n.id,vr=n.overflow,di=e}var It=null,dt=null,ze=!1,fi=null,jn=!1,Rd=Error(s(519));function hi(e){var n=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ss(zn(n,e)),Rd}function Ug(e){var n=e.stateNode,i=e.type,o=e.memoizedProps;switch(n[Et]=e,n[at]=o,i){case"dialog":He("cancel",n),He("close",n);break;case"iframe":case"object":case"embed":He("load",n);break;case"video":case"audio":for(i=0;i<Ps.length;i++)He(Ps[i],n);break;case"source":He("error",n);break;case"img":case"image":case"link":He("error",n),He("load",n);break;case"details":He("toggle",n);break;case"input":He("invalid",n),Qm(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":He("invalid",n);break;case"textarea":He("invalid",n),Zm(n,o.value,o.defaultValue,o.children)}i=o.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||n.textContent===""+i||o.suppressHydrationWarning===!0||av(n.textContent,i)?(o.popover!=null&&(He("beforetoggle",n),He("toggle",n)),o.onScroll!=null&&He("scroll",n),o.onScrollEnd!=null&&He("scrollend",n),o.onClick!=null&&(n.onclick=yr),n=!0):n=!1,n||hi(e,!0)}function Vl(e){for(It=e.return;It;)switch(It.tag){case 5:case 31:case 13:jn=!1;return;case 27:case 3:jn=!0;return;default:It=It.return}}function Wa(e){if(e!==It)return!1;if(!ze)return Vl(e),ze=!0,!1;var n=e.tag,i;if((i=n!==3&&n!==27)&&((i=n===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||ch(e.type,e.memoizedProps)),i=!i),i&&dt&&hi(e),Vl(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));dt=Tv(e)}else if(n===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));dt=Tv(e)}else n===27?(n=dt,Pi(e.type)?(e=vh,vh=null,dt=e):dt=n):dt=It?Fn(e.stateNode.nextSibling):null;return!0}function Ji(){dt=It=null,ze=!1}function Nd(){var e=fi;return e!==null&&(mn===null?mn=e:mn.push.apply(mn,e),fi=null),e}function ss(e){fi===null?fi=[e]:fi.push(e)}var Ld=Rn(null),ea=null,Vr=null;function pi(e,n,i){rt(Ld,n._currentValue),n._currentValue=i}function qr(e){e._currentValue=Ld.current,ht(Ld)}function ql(e,n,i){for(;e!==null;){var o=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),e===i)break;e=e.return}}function Id(e,n,i,o){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var m=c.child;d=d.firstContext;e:for(;d!==null;){var v=d;d=c;for(var A=0;A<n.length;A++)if(v.context===n[A]){d.lanes|=i,v=d.alternate,v!==null&&(v.lanes|=i),ql(d.return,i,e),o||(m=null);break e}d=v.next}}else if(c.tag===18){if(m=c.return,m===null)throw Error(s(341));m.lanes|=i,d=m.alternate,d!==null&&(d.lanes|=i),ql(m,i,e),m=null}else c.tag===13&&c.memoizedState!==null&&c.memoizedState.dehydrated===null?(c.lanes|=i,m=c.alternate,m!==null&&(m.lanes|=i),ql(c.return,i,e),m=c.child,m=m!==null?m.sibling:null):m=c.child;if(m!==null)m.return=c;else for(m=c;m!==null;){if(m===e){m=null;break}if(c=m.sibling,c!==null){c.return=m.return,m=c;break}m=m.return}c=m}}function ta(e,n,i,o){e=null;for(var c=n,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var m=c.alternate;if(m===null)throw Error(s(387));if(m=m.memoizedProps,m!==null){var v=c.type;En(c.pendingProps.value,m.value)||(e!==null?e.push(v):e=[v])}}else if(c===Pa.current){if(m=c.alternate,m===null)throw Error(s(387));m.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(So):e=[So])}c=c.return}return e!==null&&Id(n,e,i,o),n.flags|=262144,e!==null}function Kl(e){for(e=e.firstContext;e!==null;){if(!En(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
9function na(e){ea=e,Vr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Gt(e){return Bg(ea,e)}function Yl(e,n){return ea===null&&na(e),Bg(e,n)}function Bg(e,n){var i=n._currentValue;if(n={context:n,memoizedValue:i,next:null},Vr===null){if(e===null)throw Error(s(308));Vr=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Vr=Vr.next=n;return i}var ww=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(i,o){e.push(o)}};this.abort=function(){n.aborted=!0,e.forEach(function(i){return i()})}},Cw=t.unstable_scheduleCallback,xw=t.unstable_NormalPriority,xt={$$typeof:Le,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zd(){return{controller:new ww,data:new Map,refCount:0}}function ls(e){e.refCount--,e.refCount===0&&Cw(xw,function(){e.controller.abort()})}function jg(e,n){if((e.pendingLanes&4194048)!==0){var i=e.transitionTypes;for(i===null&&(i=e.transitionTypes=[]),e=0;e<n.length;e++){var o=n[e];i.indexOf(o)===-1&&i.push(o)}}}var us=null;function kw(e){var n=e.transitionTypes;return e.transitionTypes=null,n}var cs=null,Ud=0,ra=0,$a=null;function Pw(e,n){if(cs===null){var i=cs=[];Ud=0,ra=th(),$a={status:"pending",value:void 0,then:function(o){i.push(o)}}}return Ud++,n.then(Hg,Hg),n}function Hg(){if(--Ud===0&&(us=null,cs!==null)){$a!==null&&($a.status="fulfilled");var e=cs;cs=null,ra=0,$a=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function Mw(e,n){var i=[],o={status:"pending",value:null,reason:null,then:function(c){i.push(c)}};return e.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<i.length;c++)(0,i[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<i.length;c++)(0,i[c])(void 0)}),o}var Fg=fe.S;fe.S=function(e,n){if(Nb=en(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&Pw(e,n),us!==null)for(var i=po;i!==null;)jg(i,us),i=i.next;if(i=e.types,i!==null){for(var o=po;o!==null;)jg(o,i),o=o.next;if(ra!==0){o=us,o===null&&(o=us=[]);for(var c=0;c<i.length;c++){var d=i[c];o.indexOf(d)===-1&&o.push(d)}}}Fg!==null&&Fg(e,n)};var ia=Rn(null);function Bd(){var e=ia.current;return e!==null?e:ot.pooledCache}function Wl(e,n){n===null?rt(ia,ia.current):rt(ia,n.pool)}function Gg(){var e=Bd();return e===null?null:{parent:xt._currentValue,pool:e}}var Qa=Error(s(460)),jd=Error(s(474)),$l=Error(s(542)),Ql={then:function(){}};function Vg(e){return e=e.status,e==="fulfilled"||e==="rejected"}function qg(e,n,i){switch(i=e[i],i===void 0?e.push(n):i!==n&&(n.then(yr,yr),n=i),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Yg(e),e===void 0&&!("reason"in n)?Error(s(600)):e;default:if(typeof n.status=="string")n.then(yr,yr);else{if(e=ot,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=n,e.status="pending",e.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Yg(e),e}throw oa=n,Qa}}function aa(e){try{var n=e._init;return n(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(oa=i,Qa):i}}var oa=null;function Kg(){if(oa===null)throw Error(s(459));var e=oa;return oa=null,e}function Yg(e){if(e===Qa||e===$l)throw Error(s(483))}var Xa=null,ds=0;function Xl(e){var n=ds;return ds+=1,Xa===null&&(Xa=[]),qg(Xa,e,n)}function mi(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function Zl(e,n){throw n.$$typeof===R?Error(s(525)):(e=Object.prototype.toString.call(n),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function Wg(e){function n(D,C){if(e){var N=D.deletions;N===null?(D.deletions=[C],D.flags|=16):N.push(C)}}function i(D,C){if(!e)return null;for(;C!==null;)n(D,C),C=C.sibling;return null}function o(D){for(var C=new Map;D!==null;)D.key===null?C.set(D.index,D):C.set(D.key,D),D=D.sibling;return C}function c(D,C){return D=Fr(D,C),D.index=0,D.sibling=null,D}function d(D,C,N){return D.index=N,e?(N=D.alternate,N!==null?(N=N.index,N<C?(D.flags|=2,C):N):(D.flags|=134217730,C)):(D.flags|=1048576,C)}function m(D){return e&&D.alternate===null&&(D.flags|=134217730),D}function v(D,C,N,G){return C===null||C.tag!==6?(C=Md(N,D.mode,G),C.return=D,C):(C=c(C,N),C.return=D,C)}function A(D,C,N,G){var ae=N.type;return ae===we?(D=j(D,C,N.props.children,G,N.key),mi(D,N),D):C!==null&&(C.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Ae&&aa(ae)===C.type)?(C=c(C,N.props),mi(C,N),C.return=D,C):(C=Hl(N.type,N.key,N.props,null,D.mode,G),mi(C,N),C.return=D,C)}function O(D,C,N,G){return C===null||C.tag!==4||C.stateNode.containerInfo!==N.containerInfo||C.stateNode.implementation!==N.implementation?(C=Dd(N,D.mode,G),C.return=D,C):(C=c(C,N.children||[]),C.return=D,C)}function j(D,C,N,G,ae){return C===null||C.tag!==7?(C=Zi(N,D.mode,G,ae),C.return=D,C):(C=c(C,N),C.return=D,C)}function V(D,C,N){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Md(""+C,D.mode,N),
vendor: 34,683 bytes, line 9
9C.return=D,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case ue:return N=Hl(C.type,C.key,C.props,null,D.mode,N),mi(N,C),N.return=D,N;case _e:return C=Dd(C,D.mode,N),C.return=D,C;case Ae:return C=aa(C),V(D,C,N)}if(Ye(C)||de(C))return C=Zi(C,D.mode,N,null),C.return=D,C;if(typeof C.then=="function")return V(D,Xl(C),N);if(C.$$typeof===Le)return V(D,Yl(D,C),N);Zl(D,C)}return null}function M(D,C,N,G){var ae=C!==null?C.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return ae!==null?null:v(D,C,""+N,G);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case ue:return N.key===ae?A(D,C,N,G):null;case _e:return N.key===ae?O(D,C,N,G):null;case Ae:return N=aa(N),M(D,C,N,G)}if(Ye(N)||de(N))return ae!==null?null:j(D,C,N,G,null);if(typeof N.then=="function")return M(D,C,Xl(N),G);if(N.$$typeof===Le)return M(D,C,Yl(D,N),G);Zl(D,N)}return null}function I(D,C,N,G,ae){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return D=D.get(N)||null,v(C,D,""+G,ae);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case ue:return D=D.get(G.key===null?N:G.key)||null,A(C,D,G,ae);case _e:return D=D.get(G.key===null?N:G.key)||null,O(C,D,G,ae);case Ae:return G=aa(G),I(D,C,N,G,ae)}if(Ye(G)||de(G))return D=D.get(N)||null,j(C,D,G,ae,null);if(typeof G.then=="function")return I(D,C,N,Xl(G),ae);if(G.$$typeof===Le)return I(D,C,N,Yl(C,G),ae);Zl(C,G)}return null}function ee(D,C,N,G){for(var ae=null,Ge=null,ge=C,Se=C=0,Mt=null;ge!==null&&Se<N.length;Se++){ge.index>Se?(Mt=ge,ge=null):Mt=ge.sibling;var qe=M(D,ge,N[Se],G);if(qe===null){ge===null&&(ge=Mt);break}e&&ge&&qe.alternate===null&&n(D,ge),C=d(qe,C,Se),Ge===null?ae=qe:Ge.sibling=qe,Ge=qe,ge=Mt}if(Se===N.length)return i(D,ge),ze&&Gr(D,Se),ae;if(ge===null){for(;Se<N.length;Se++)ge=V(D,N[Se],G),ge!==null&&(C=d(ge,C,Se),Ge===null?ae=ge:Ge.sibling=ge,Ge=ge);return ze&&Gr(D,Se),ae}for(ge=o(ge);Se<N.length;Se++)Mt=I(ge,D,Se,N[Se],G),Mt!==null&&(e&&(qe=Mt.alternate,qe!==null&&ge.delete(qe.key===null?Se:qe.key)),C=d(Mt,C,Se),Ge===null?ae=Mt:Ge.sibling=Mt,Ge=Mt);return e&&ge.forEach(function(Ni){return n(D,Ni)}),ze&&Gr(D,Se),ae}function ce(D,C,N,G){if(N==null)throw Error(s(151));for(var ae=null,Ge=null,ge=C,Se=C=0,Mt=null,qe=N.next();ge!==null&&!qe.done;Se++,qe=N.next()){ge.index>Se?(Mt=ge,ge=null):Mt=ge.sibling;var Ni=M(D,ge,qe.value,G);if(Ni===null){ge===null&&(ge=Mt);break}e&&ge&&Ni.alternate===null&&n(D,ge),C=d(Ni,C,Se),Ge===null?ae=Ni:Ge.sibling=Ni,Ge=Ni,ge=Mt}if(qe.done)return i(D,ge),ze&&Gr(D,Se),ae;if(ge===null){for(;!qe.done;Se++,qe=N.next())qe=V(D,qe.value,G),qe!==null&&(C=d(qe,C,Se),Ge===null?ae=qe:Ge.sibling=qe,Ge=qe);return ze&&Gr(D,Se),ae}for(ge=o(ge);!qe.done;Se++,qe=N.next())qe=I(ge,D,Se,qe.value,G),qe!==null&&(e&&(Mt=qe.alternate,Mt!==null&&ge.delete(Mt.key===null?Se:Mt.key)),C=d(qe,C,Se),Ge===null?ae=qe:Ge.sibling=qe,Ge=qe);return e&&ge.forEach(function(cx){return n(D,cx)}),ze&&Gr(D,Se),ae}function Oe(D,C,N,G){if(typeof N=="object"&&N!==null&&N.type===we&&N.key===null&&N.props.ref===void 0&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case ue:e:{for(var ae=N.key;C!==null;){if(C.key===ae){if(ae=N.type,ae===we){if(C.tag===7){i(D,C.sibling),G=c(C,N.props.children),mi(G,N),G.return=D,D=G;break e}}else if(C.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Ae&&aa(ae)===C.type){i(D,C.sibling),G=c(C,N.props),mi(G,N),G.return=D,D=G;break e}i(D,C);break}else n(D,C);C=C.sibling}N.type===we?(G=Zi(N.props.children,D.mode,G,N.key),mi(G,N),G.return=D,D=G):(G=Hl(N.type,N.key,N.props,null,D.mode,G),mi(G,N),G.return=D,D=G)}return m(D);case _e:e:{for(ae=N.key;C!==null;){if(C.key===ae)if(C.tag===4&&C.stateNode.containerInfo===N.containerInfo&&C.stateNode.implementation===N.implementation){i(D,C.sibling),G=c(C,N.children||[]),G.return=D,D=G;break e}else{i(D,C);break}else n(D,C);C=C.sibling}G=Dd(N,D.mode,G),G.return=D,D=G}return m(D);case Ae:return N=aa(N),Oe(D,C,N,G)}if(Ye(N))return ee(D,C,N,G);if(de(N)){if(ae=de(N),typeof ae!="function")throw Error(s(150));return N=ae.call(N),ce(D,C,N,G)}if(typeof N.then=="function")return Oe(D,C,Xl(N),G);if(N.$$typeof===Le)return Oe(D,C,Yl(D,N),G);Zl(D,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(N=""+N,C!==null&&C.tag===6?(i(D,C.sibling),G=c(C,N),G.return=D,D=G):(i(D,C),G=Md(N,D.mode,G),G.return=D,D=G),m(D)):i(D,C)}return function(D,C,N,G){try{ds=0;var ae=Oe(D,C,N,G);return Xa=null,ae}catch(ge){if(ge===Qa||ge===$l)throw ge;var Ge=fn(29,ge,null,D.mode);return Ge.lanes=G,Ge.return=D,Ge}}}var sa=Wg(!0),$g=Wg(!1),gi=!1;function Hd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Fd(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bi(e,n,i){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(Qe&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=jl(e),Og(e,null,i),n}return Bl(e,o,n,i),jl(e)}function fs(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194048)!==0)){var o=n.lanes;o&=e.pendingLanes,i|=o,n.lanes=i,bt(e,i)}}function Gd(e,n){var i=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var c=null,d=null;if(i=i.firstBaseUpdate,i!==null){do{var m={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};d===null?c=d=m:d=d.next=m,i=i.next}while(i!==null);d===null?c=d=n:d=d.next=n}else c=d=n;i={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}var Vd=!1;function hs(){if(Vd){var e=$a;if(e!==null)throw e}}function ps(e,n,i,o){Vd=!1;var c=e.updateQueue;gi=!1;var d=c.firstBaseUpdate,m=c.lastBaseUpdate,v=c.shared.pending;if(v!==null){c.shared.pending=null;var A=v,O=A.next;A.next=null,m===null?d=O:m.next=O,m=A;var j=e.alternate;j!==null&&(j=j.updateQueue,v=j.lastBaseUpdate,v!==m&&(v===null?j.firstBaseUpdate=O:v.next=O,j.lastBaseUpdate=A))}if(d!==null){var V=c.baseState;m=0,j=O=A=null,v=d;do{var M=v.lane&-536870913,I=M!==v.lane;if(I?(Fe&M)===M:(o&M)===M){M!==0&&M===ra&&(Vd=!0),j!==null&&(j=j.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var ee=e,ce=v;M=n;var Oe=i;switch(ce.tag){case 1:if(ee=ce.payload,typeof ee=="function"){V=ee.call(Oe,V,M);break e}V=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=ce.payload,M=typeof ee=="function"?ee.call(Oe,V,M):ee,M==null)break e;V=$({},V,M);break e;case 2:gi=!0}}M=v.callback,M!==null&&(e.flags|=64,I&&(e.flags|=8192),I=c.callbacks,I===null?c.callbacks=[M]:I.push(M))}else I={lane:M,tag:v.tag,payload:v.payload,callback:v.callback,next:null},j===null?(O=j=I,A=V):j=j.next=I,m|=M;if(v=v.next,v===null){if(v=c.shared.pending,v===null)break;I=v,v=I.next,I.next=null,c.lastBaseUpdate=I,c.shared.pending=null}}while(!0);j===null&&(A=V),c.baseState=A,c.firstBaseUpdate=O,c.lastBaseUpdate=j,d===null&&(c.shared.lanes=0),wi|=m,e.lanes=m,e.memoizedState=V}}function Qg(e,n){if(typeof e!="function")throw Error(s(191,e));e.call(n)}function Xg(e,n){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)Qg(i[e],n)}var vi=Rn(null),Jl=Rn(0);function Zg(e,n){e=Qr,rt(Jl,e),rt(vi,n),Qr=e|n.baseLanes}function qd(){rt(Jl,Qr),rt(vi,vi.current)}function Kd(){Qr=Jl.current,ht(vi),ht(Jl)}var Vt=Rn(null),Xt=null;function Si(e){var n=e.alternate;rt(qt,qt.current&1),rt(Vt,e),Xt===null&&(n===null||vi.current!==null||n.memoizedState!==null)&&(Xt=e)}function Yd(e){rt(qt,qt.current),rt(Vt,e),Xt===null&&(Xt=e)}function Jg(e){e.tag===22?(rt(qt,qt.current),rt(Vt,e),Xt===null&&(Xt=e)):_i()}function _i(){rt(qt,qt.current),rt(Vt,Vt.current)}function An(e){ht(Vt),Xt===e&&(Xt=null),ht(qt)}var qt=Rn(0);function ms(e,n){rt(Vt,Vt.current),rt(qt,n)}function Wd(e){ht(qt),ht(Vt),Xt===e&&(Xt=null)}function eu(e){for(var n=e;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||yh(i)||bh(i)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!=="independent"){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Kr=0,De=null,it=null,kt=null,tu=!1,Za=!1,la=!1,nu=0,gs=0,Ja=null,Dw=0;function At(){throw Error(s(321))}function $d(e,n){if(n===null)return!1;for(var i=0;i<n.length&&i<e.length;i++)if(!En(e[i],n[i]))return!1;return!0}function Qd(e,n,i,o,c,d){return Kr=d,De=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,fe.H=e===null||e.memoizedState===null?Iy:zy,la=!1,d=i(o,c),la=!1,Za&&(d=ty(n,i,o,c)),ey(e),d}function ey(e){fe.H=uu;var n=it!==null&&it.next!==null;if(Kr=0,kt=it=De=null,tu=!1,gs=0,Ja=null,n)throw Error(s(300));e===null||Pt||(e=e.dependencies,e!==null&&Kl(e)&&(Pt=!0))}function ty(e,n,i,o){De=e;var c=0;do{if(Za&&(Ja=null),gs=0,Za=!1,25<=c)throw Error(s(301));if(c+=1,kt=it=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}fe.H=Bw,d=n(i,o)}while(Za);return d}function Ow(){var e=fe.H,n=e.useState()[0];return n=typeof n.then=="function"?ys(n):n,e=e.useState()[0],(it!==null?it.memoizedState:null)!==e&&(De.flags|=1024),n}function Xd(){var e=nu!==0;return nu=0,e}function Zd(e,n,i){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~i}function Jd(e){if(tu){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}tu=!1}Kr=0,kt=it=De=null,Za=!1,gs=nu=0,Ja=null}function an(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kt===null?De.memoizedState=kt=e:kt=kt.next=e,kt}function Ct(){if(it===null){var e=De.alternate;e=e!==null?e.memoizedState:null}else e=it.next;var n=kt===null?De.memoizedState:kt.next;if(n!==null)kt=n,it=e;else{if(e===null)throw De.alternate===null?Error(s(467)):Error(s(310));it=e,e={memoizedState:it.memoizedState,baseState:it.baseState,baseQueue:it.baseQueue,queue:it.queue,next:null},kt===null?De.memoizedState=kt=e:kt=kt.next=e}return kt}function ru(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ys(e){var n=gs;return gs+=1,Ja===null&&(Ja=[]),e=qg(Ja,e,n),n=De,(kt===null?n.memoizedState:kt.next)===null&&(n=n.alternate,fe.H=n===null||n.memoizedState===null?Iy:zy),e}function iu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ys(e);if(e.$$typeof===Y)return;if(e.$$typeof===Le)return Gt(e)}throw Error(s(438,String(e)))}function ef(e){var n=null,i=De.updateQueue;if(i!==null&&(n=i.memoCache),n==null){var o=De.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),i===null&&(i=ru(),De.updateQueue=i),i.memoCache=n,i=n.data[n.index],i===void 0)for(i=n.data[n.index]=Array(e),o=0;o<e;o++)i[o]=_t;return n.index++,i}function Yr(e,n){return typeof n=="function"?n(e):n}function au(e){var n=Ct();return tf(n,it,e)}function tf(e,n,i){var o=e.queue;if(o===null)throw Error(s(311));o.lastRenderedReducer=i;var c=e.baseQueue,d=o.pending;if(d!==null){if(c!==null){var m=c.next;c.next=d.next,d.next=m}n.baseQueue=c=d,o.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{n=c.next;var v=m=null,A=null,O=n,j=!1;do{var V=O.lane&-536870913;if(V!==O.lane?(Fe&V)===V:(Kr&V)===V){var M=O.revertLane;if(M===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),V===ra&&(j=!0);else if((Kr&M)===M){O=O.next,M===ra&&(j=!0);continue}else V={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},A===null?(v=A=V,m=d):A=A.next=V,De.lanes|=M,wi|=M;V=O.action,la&&i(d,V),d=O.hasEagerState?O.eagerState:i(d,V)}else M={lane:V,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},A===null?(v=A=M,m=d):A=A.next=M,De.lanes|=V,wi|=V;O=O.next}while(O!==null&&O!==n);if(A===null?m=d:A.next=v,!En(d,e.memoizedState)&&(Pt=!0,j&&(i=$a,i!==null)))throw i;e.memoizedState=d,e.baseState=m,e.baseQueue=A,o.lastRenderedState=d}return c===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function nf(e){var n=Ct(),i=n.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var o=i.dispatch,c=i.pending,d=n.memoizedState;if(c!==null){i.pending=null;var m=c=c.next;do d=e(d,m.action),m=m.next;while(m!==c);En(d,n.memoizedState)||(Pt=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),i.lastRenderedState=d}return[d,o]}function ny(e,n,i){var o=De,c=Ct(),d=ze;if(d){if(i===void 0)throw Error(s(407));i=i()}else i=n();var m=!En((it||c).memoizedState,i);if(m&&(c.memoizedState=i,Pt=!0),c=c.queue,of(ay.bind(null,o,c,e),[e]),e=c.getSnapshot!==n||m||kt!==null&&(kt.memoizedState.tag&1)!==0,eo(e?9:8,{destroy:void 0},iy.bind(null,o,c,i,n),null),e){if(o.flags|=2048,ot===null)throw Error(s(349));d||(Kr&127)!==0||ry(o,n,i)}return i}function ry(e,n,i){e.flags|=16384,e={getSnapshot:n,value:i},n=De.updateQueue,n===null?(n=ru(),De.updateQueue=n,n.stores=[e]):(i=n.stores,i===null?n.stores=[e]:i.push(e))}function iy(e,n,i,o){n.value=i,n.getSnapshot=o,oy(n)&&sy(e)}function ay(e,n,i){return i(function(){oy(n)&&sy(e)})}function oy(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!En(e,i)}catch{return!0}}function sy(e){var n=Xi(e,2);n!==null&&gn(n,e,2)}function rf(e){var n=an();if(typeof e=="function"){var i=e;if(e=i(),la){Zn(!0);try{i()}finally{Zn(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yr,lastRenderedState:e},n}function ly(e,n,i,o){return e.baseState=i,tf(e,it,typeof o=="function"?o:Yr)}function Rw(e,n,i,o,c){if(lu(e))throw Error(s(485));if(e=n.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){d.listeners.push(m)}};fe.T!==null?i(!0):d.isTransition=!1,o(d),i=n.pending,i===null?(d.next=n.pending=d,uy(n,d)):(d.next=i.next,n.pending=i.next=d)}}function uy(e,n){var i=n.action,o=n.payload,c=e.state;if(n.isTransition){var d=fe.T,m={};m.types=d!==null?d.types:null,fe.T=m;try{var v=i(c,o),A=fe.S;A!==null&&A(m,v),cy(e,n,v)}catch(O){af(e,n,O)}finally{d!==null&&m.types!==null&&(d.types=m.types),fe.T=d}}else try{d=i(c,o),cy(e,n,d)}catch(O){af(e,n,O)}}function cy(e,n,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(o){dy(e,n,o)},function(o){return af(e,n,o)}):dy(e,n,i)}function dy(e,n,i){n.status="fulfilled",n.value=i,fy(n),e.state=i,n=e.pending,n!==null&&(i=n.next,i===n?e.pending=null:(i=i.next,n.next=i,uy(e,i)))}function af(e,n,i){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=i,fy(n),n=n.next;while(n!==o)}e.action=null}function fy(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function hy(e,n){return n}function py(e,n){if(ze){var i=ot.formState;if(i!==null){e:{var o=De;if(ze){if(dt){t:{for(var c=dt,d=jn;c.nodeType!==8;){if(!d){c=null;break t}if(c=Fn(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){dt=Fn(c.nextSibling),o=c.data==="F!";break e}}hi(o)}o=!1}o&&(n=i[0])}}return i=an(),i.memoizedState=i.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hy,lastRenderedState:n},i.queue=o,i=Ry.bind(null,De,o),o.dispatch=i,o=rf(!1),d=df.bind(null,De,!1,o.queue),o=an(),c={state:n,dispatch:null,action:e,pending:null},o.queue=c,i=Rw.bind(null,De,c,d,i),c.dispatch=i,o.memoizedState=e,[n,i,!1]}function my(e){var n=Ct();return gy(n,it,e)}function gy(e,n,i){if(n=tf(e,n,hy)[0],e=au(Yr)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=ys(n)}catch(m){throw m===Qa?$l:m}else o=n;n=Ct();var c=n.queue,d=c.dispatch;return i!==n.memoizedState&&(De.flags|=2048,eo(9,{destroy:void 0},Nw.bind(null,c,i),null)),[o,d,e]}function Nw(e,n){e.action=n}function yy(e){var n=Ct(),i=it;if(i!==null)return gy(n,i,e);Ct(),n=n.memoizedState,i=Ct();var o=i.queue.dispatch;return i.memoizedState=e,[n,o,!1]}function eo(e,n,i,o){return e={tag:e,create:i,deps:o,inst:n,next:null},n=De.updateQueue,n===null&&(n=ru(),De.updateQueue=n),i=n.lastEffect,i===null?n.lastEffect=e.next=e:(o=i.next,i.next=e,e.next=o,n.lastEffect=e),e}function by(){return Ct().memoizedState}function ou(e,n,i,o){var c=an();De.flags|=e,c.memoizedState=eo(1|n,{destroy:void 0},i,o===void 0?null:o)}function su(e,n,i,o){var c=Ct();o=o===void 0?null:o;var d=c.memoizedState.inst;it!==null&&o!==null&&$d(o,it.memoizedState.deps)?c.memoizedState=eo(n,d,i,o):(De.flags|=e,c.memoizedState=eo(1|n,d,i,o))}function vy(e,n){ou(8390656,8,e,n)}function of(e,n){su(2048,8,e,n)}function Lw(e){De.flags|=4;var n=De.updateQueue;if(n===null)n=ru(),De.updateQueue=n,n.events=[e];else{var i=n.events;i===null?n.events=[e]:i.push(e)}}function Sy(e){var n=Ct().memoizedState;return Lw({ref:n,nextImpl:e}),function(){if((Qe&2)!==0)throw Error(s(440));return n.impl.apply(void 0,arguments)}}function _y(e,n){return su(4,2,e,n)}function Ey(e,n){return su(4,4,e,n)}function Ay(e,n){if(typeof n=="function"){e=e();var i=n(e);return function(){typeof i=="function"?i():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Ty(e,n,i){i=i!=null?i.concat([e]):null,su(4,4,Ay.bind(null,n,e),i)}function sf(){}function wy(e,n){var i=Ct();n=n===void 0?null:n;var o=i.memoizedState;return n!==null&&$d(n,o[1])?o[0]:(i.memoizedState=[e,n],e)}function Cy(e,n){var i=Ct();n=n===void 0?null:n;var o=i.memoizedState;if(n!==null&&$d(n,o[1]))return o[0];if(o=e(),la){Zn(!0);try{e()}finally{Zn(!1)}}return i.memoizedState=[o,n],o}function lf(e,n,i){return i===void 0||(Kr&1073741824)!==0&&(Fe&261930)===0?e.memoizedState=n:(e.memoizedState=i,e=Ib(),De.lanes|=e,wi|=e,i)}function xy(e,n,i,o){return En(i,n)?i:vi.current!==null?(e=lf(e,i,o),En(e,n)||(Pt=!0),e):(Kr&106)===0||(Kr&1073741824)!==0&&(Fe&261930)===0?(Pt=!0,e.memoizedState=i):(e=Ib(),De.lanes|=e,wi|=e,n)}function ky(e,n,i,o,c){var d=Te.p;Te.p=d!==0&&8>d?d:8;var m=fe.T,v={};v.types=m!==null?m.types:null,fe.T=v,df(e,!1,n,i);try{var A=c(),O=fe.S;if(O!==null&&O(v,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var j=Mw(A,o);bs(e,n,j,xn(e))}else bs(e,n,o,xn(e))}catch(V){bs(e,n,{then:function(){},status:"rejected",reason:V},xn())}finally{Te.p=d,m!==null&&v.types!==null&&(m.types=v.types),fe.T=m}}function Iw(){}function uf(e,n,i,o){if(e.tag!==5)throw Error(s(476));var c=Py(e).queue;ky(e,c,n,ut,i===null?Iw:function(){return My(e),i(o)})}function Py(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:ut,baseState:ut,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yr,lastRenderedState:ut},next:null};var i={};return n.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yr,lastRenderedState:i},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function My(e){var n=Py(e);n.next===null&&(n=e.alternate.memoizedState),bs(e,n.next.queue,{},xn())}function cf(){return Gt(So)}function Dy(){return Ct().memoizedState}function Oy(){return Ct().memoizedState}function zw(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var i=xn();e=yi(i);var o=bi(n,e,i);o!==null&&(gn(o,n,i),fs(o,n,i)),n={cache:zd()},e.payload=n;return}n=n.return}}function Uw(e,n,i){var o=xn();i={lane:o,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},lu(e)?Ny(n,i):(i=kd(e,n,i,o),i!==null&&(gn(i,e,o),Ly(i,n,o)))}function Ry(e,n,i){var o=xn();bs(e,n,i,o)}function bs(e,n,i,o){var c={lane:o,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(lu(e))Ny(n,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var m=n.lastRenderedState,v=d(m,i);if(c.hasEagerState=!0,c.eagerState=v,En(v,m))return Bl(e,n,c,0),ot===null&&Ul(),!1}catch{}if(i=kd(e,n,c,o),i!==null)return gn(i,e,o),Ly(i,n,o),!0}return!1}function df(e,n,i,o){if(o={lane:2,revertLane:th(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},lu(e)){if(n)throw Error(s(479))}else n=kd(e,i,o,2),n!==null&&gn(n,e,2)}function lu(e){var n=e.alternate;return e===De||n!==null&&n===De}function Ny(e,n){Za=tu=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function Ly(e,n,i){if((i&4194048)!==0){var o=n.lanes;o&=e.pendingLanes,i|=o,n.lanes=i,bt(e,i)}}var uu={readContext:Gt,use:iu,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useLayoutEffect:At,useInsertionEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useSyncExternalStore:At,useId:At,useHostTransitionStatus:At,useFormState:At,useActionState:At,useOptimistic:At,useMemoCache:At,useCacheRefresh:At,useEffectEvent:At},Iy={readContext:Gt,use:iu,useCallback:function(e,n){return an().memoizedState=[e,n===void 0?null:n],e},useContext:Gt,useEffect:vy,useImperativeHandle:function(e,n,i){i=i!=null?i.concat([e]):null,ou(4194308,4,Ay.bind(null,n,e),i)},useLayoutEffect:function(e,n){return ou(4194308,4,e,n)},useInsertionEffect:function(e,n){ou(4,2,e,n)},useMemo:function(e,n){var i=an();n=n===void 0?null:n;var o=e();if(la){Zn(!0);try{e()}finally{Zn(!1)}}return i.memoizedState=[o,n],o},useReducer:function(e,n,i){var o=an();if(i!==void 0){var c=i(n);if(la){Zn(!0);try{i(n)}finally{Zn(!1)}}}else c=n;return o.memoizedState=o.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},o.queue=e,e=e.dispatch=Uw.bind(null,De,e),[o.memoizedState,e]},useRef:function(e){var n=an();return e={current:e},n.memoizedState=e},useState:function(e){e=rf(e);var n=e.queue,i=Ry.bind(null,De,n);return n.dispatch=i,[e.memoizedState,i]},useDebugValue:sf,useDeferredValue:function(e,n){var i=an();return lf(i,e,n)},useTransition:function(){var e=rf(!1);return e=ky.bind(null,De,e.queue,!0,!1),an().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,i){var o=De,c=an();if(ze){if(i===void 0)throw Error(s(407));i=i()}else{if(i=n(),ot===null)throw Error(s(349));(Fe&127)!==0||ry(o,n,i)}c.memoizedState=i;var d={value:i,getSnapshot:n};return c.queue=d,vy(ay.bind(null,o,d,e),[e]),o.flags|=2048,eo(9,{destroy:void 0},iy.bind(null,o,d,i,n),null),i},useId:function(){var e=an(),n=ot.identifierPrefix;if(ze){var i=vr,o=br;i=(o&~(1<<32-tn(o)-1)).toString(32)+i,n="_"+n+"R_"+i,i=nu++,0<i&&(n+="H"+i.toString(32)),n+="_"}else i=Dw++,n="_"+n+"r_"+i.toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:cf,useFormState:py,useActionState:py,useOptimistic:function(e){var n=an();n.memoizedState=n.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=i,n=df.bind(null,De,!0,i),i.dispatch=n,[e,n]},useMemoCache:ef,useCacheRefresh:function(){return an().memoizedState=zw.bind(null,De)},useEffectEvent:function(e){var n=an(),i={impl:e};return n.memoizedState=i,function(){if((Qe&2)!==0)throw Error(s(440));return i.impl.apply(void 0,arguments)}}},zy={readContext:Gt,use:iu,useCallback:wy,useContext:Gt,useEffect:of,useImperativeHandle:Ty,useInsertionEffect:_y,useLayoutEffect:Ey,useMemo:Cy,useReducer:au,useRef:by,useState:function(){return au(Yr)},useDebugValue:sf,useDeferredValue:function(e,n){var i=Ct();return xy(i,it.memoizedState,e,n)},useTransition:function(){var e=au(Yr)[0],n=Ct().memoizedState;return[typeof e=="boolean"?e:ys(e),n]},useSyncExternalStore:ny,useId:Dy,useHostTransitionStatus:cf,useFormState:my,useActionState:my,useOptimistic:function(e,n){var i=Ct();return ly(i,it,e,n)},useMemoCache:ef,useCacheRefresh:Oy,useEffectEvent:Sy},Bw={readContext:Gt,use:iu,useCallback:wy,useContext:Gt,useEffect:of,useImperativeHandle:Ty,useInsertionEffect:_y,useLayoutEffect:Ey,useMemo:Cy,useReducer:nf,useRef:by,useState:function(){return nf(Yr)},useDebugValue:sf,useDeferredValue:function(e,n){var i=Ct();return it===null?lf(i,e,n):xy(i,it.memoizedState,e,n)},useTransition:function(){var e=nf(Yr)[0],n=Ct().memoizedState;return[typeof e=="boolean"?e:ys(e),n]},useSyncExternalStore:ny,useId:Dy,useHostTransitionStatus:cf,useFormState:yy,useActionState:yy,useOptimistic:function(e,n){var i=Ct();return it!==null?ly(i,it,e,n):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:ef,useCacheRefresh:Oy,useEffectEvent:Sy};function ff(e,n,i,o){n=e.memoizedState,i=i(o,n),i=i==null?n:$({},n,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var hf={enqueueSetState:function(e,n,i){e=e._reactInternals;var o=xn(),c=yi(o);c.payload=n,i!=null&&(c.callback=i),n=bi(e,c,o),n!==null&&(gn(n,e,o),fs(n,e,o))},enqueueReplaceState:function(e,n,i){e=e._reactInternals;var o=xn(),c=yi(o);c.tag=1,c.payload=n,i!=null&&(c.callback=i),n=bi(e,c,o),n!==null&&(gn(n,e,o),fs(n,e,o))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var i=xn(),o=yi(i);o.tag=2,n!=null&&(o.callback=n),n=bi(e,o,i),n!==null&&(gn(n,e,i),fs(n,e,i))}};function Uy(e,n,i,o,c,d,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,m):n.prototype&&n.prototype.isPureReactComponent?!is(i,o)||!is(c,d):!0}function By(e,n,i,o){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,o),n.state!==e&&hf.enqueueReplaceState(n,n.state,null)}function ua(e,n){var i=n;if("ref"in n){i={};for(var o in n)o!=="ref"&&(i[o]=n[o])}if(e=e.defaultProps){i===n&&(i=$({},i));for(var c in e)i[c]===void 0&&(i[c]=e[c])}return i}function jy(e){zl(e)}function Hy(e){console.error(e)}function Fy(e){zl(e)}function cu(e,n){try{var i=e.onUncaughtError;i(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function Gy(e,n,i){try{var o=e.onCaughtError;o(i.value,{componentStack:i.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function pf(e,n,i){return i=yi(i),i.tag=3,i.payload={element:null},i.callback=function(){cu(e,n)},i}function Vy(e){return e=yi(e),e.tag=3,e}function qy(e,n,i,o){var c=i.type.getDerivedStateFromError;if(typeof c=="function"){var d=o.value;e.payload=function(){return c(d)},e.callback=function(){Gy(n,i,o)}}var m=i.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){Gy(n,i,o),typeof c!="function"&&(Ci===null?Ci=new Set([this]):Ci.add(this));var v=o.stack;this.componentDidCatch(o.value,{componentStack:v!==null?v:""})})}function jw(e,n,i,o,c){if(i.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=i.alternate,n!==null&&ta(n,i,c,!0),i=Vt.current,i!==null){switch(i.tag){case 31:case 13:case 19:return Xt===null?Du():i.alternate===null&&Tt===0&&(Tt=3),i.flags&=-257,i.flags|=65536,i.lanes=c,o===Ql?i.flags|=16384:(n=i.updateQueue,n===null?i.updateQueue=new Set([o]):n.add(o),Zf(e,o,c)),!1;case 22:return i.flags|=65536,o===Ql?i.flags|=16384:(n=i.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},i.updateQueue=n):(i=n.retryQueue,i===null?n.retryQueue=new Set([o]):i.add(o)),Zf(e,o,c)),!1}throw Error(s(435,i.tag))}return Zf(e,o,c),Du(),!1}if(ze)return n=Vt.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==Rd&&(e=Error(s(422),{cause:o}),ss(zn(e,i)))):(o!==Rd&&(n=Error(s(423),{cause:o}),ss(zn(n,i))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,o=zn(o,i),c=pf(e.stateNode,o,c),Gd(e,c),Tt!==4&&(Tt=2)),!1;var d=Error(s(520),{cause:o});if(d=zn(d,i),Cs===null?Cs=[d]:Cs.push(d),Tt!==4&&(Tt=2),n===null)return!0;o=zn(o,i),i=n;do{switch(i.tag){case 3:return i.flags|=65536,e=c&-c,i.lanes|=e,e=pf(i.stateNode,o,e),Gd(i,e),!1;case 1:if(n=i.type,d=i.stateNode,(i.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Ci===null||!Ci.has(d))))return i.flags|=65536,c&=-c,i.lanes|=c,c=Vy(c),qy(c,e,i,o),Gd(i,c),!1;break;case 22:if(i.memoizedState!==null)return i.flags|=65536,!1}i=i.return}while(i!==null);return!1}var mf=Error(s(461)),Pt=!1;function Rt(e,n,i,o){n.child=e===null?$g(n,null,i,o):sa(n,e.child,i,o)}function Ky(e,n,i,o,c){i=i.render;var d=n.ref;if("ref"in o){var m={};for(var v in o)v!=="ref"&&(m[v]=o[v])}else m=o;return na(n),o=Qd(e,n,i,m,d,c),v=Xd(),e!==null&&!Pt?(Zd(e,n,c),Wr(e,n,c)):(ze&&v&&Gl(n),n.flags|=1,Rt(e,n,o,c),n.child)}function Yy(e,n,i,o,c){if(e===null){var d=i.type;return typeof d=="function"&&!Pd(d)&&d.defaultProps===void 0&&i.compare===null?(n.tag=15,n.type=d,Wy(e,n,d,o,c)):(e=Hl(i.type,null,o,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(d=e.child,!Af(e,c)){var m=d.memoizedProps;if(i=i.compare,i=i!==null?i:is,i(m,o)&&e.ref===n.ref)return Wr(e,n,c)}return n.flags|=1,e=Fr(d,o),e.ref=n.ref,e.return=n,n.child=e}function Wy(e,n,i,o,c){if(e!==null){var d=e.memoizedProps;if(is(d,o)&&e.ref===n.ref)if(Pt=!1,n.pendingProps=o=d,Af(e,c))(e.flags&131072)!==0&&(Pt=!0);else return n.lanes=e.lanes,Wr(e,n,c)}return gf(e,n,i,o,c)}function $y(e,n,i,o){var c=o.children,d=e!==null?e.memoizedState:null;if(e===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(d=d!==null?d.baseLanes|i:i,e!==null){for(o=n.child=e.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~d}else o=0,n.child=null;return Qy(e,n,d,i,o)}if((i&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&Wl(n,d!==null?d.cachePool:null),d!==null?Zg(n,d):qd(),Jg(n);else return o=n.lanes=536870912,Qy(e,n,d!==null?d.baseLanes|i:i,i,o)}else d!==null?(Wl(n,d.cachePool),Zg(n,d),_i(),n.memoizedState=null):(e!==null&&Wl(n,null),qd(),_i());return Rt(e,n,c,i),n.child}function vs(e,n){return e!==null&&e.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function Qy(e,n,i,o,c){var d=Bd();return d=d===null?null:{parent:xt._currentValue,pool:d},n.memoizedState={baseLanes:i,cachePool:d},e!==null&&Wl(n,null),qd(),Jg(n),e!==null&&ta(e,n,o,!0),n.childLanes=c,null}function du(e,n){return n=fu({mode:n.mode,children:n.children},e.mode),n.ref=e.ref,e.child=n,n.return=e,n}function Xy(e,n,i){return sa(n,e.child,null,i),e=du(n,n.pendingProps),e.flags|=2,An(n),n.memoizedState=null,e}function Hw(e,n,i){var o=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,e===null){if(ze){if(o.mode==="hidden")return e=du(n,o),n.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},vs(null,e);if(Yd(n),(e=dt)?(e=Av(e,jn),e=e!==null&&e.data==="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:di!==null?{id:br,overflow:vr}:null,retryLane:536870912,hydrationErrors:null},i=Ng(e),i.return=n,n.child=i,It=n,dt=null)):e=null,e===null)throw hi(n);return n.lanes=536870912,null}return du(n,o)}var d=e.memoizedState;if(d!==null){var m=d.dehydrated;if(Yd(n),c)if(n.flags&256)n.flags&=-257,n=Xy(e,n,i);else if(n.memoizedState!==null)n.child=e.child,n.flags|=128,n=null;else throw Error(s(558));else if(Pt||ta(e,n,i,!1),c=(i&e.childLanes)!==0,Pt||c){if(vi.current===null){if(o=ot,o!==null&&(m=Me(o,i),m!==0&&m!==d.retryLane))throw d.retryLane=m,Xi(e,m),gn(o,e,m),mf;Du()}n=Xy(e,n,i)}else e=d.treeContext,dt=Fn(m.nextSibling),It=n,ze=!0,fi=null,jn=!1,e!==null&&zg(n,e),n=du(n,o),n.flags|=134221824;return n}return e=Fr(e.child,{mode:o.mode,children:o.children}),e.ref=n.ref,n.child=e,e.return=n,e}function to(e,n){var i=n.ref;if(i===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(s(284));(e===null||e.ref!==i)&&(n.flags|=4194816)}}function gf(e,n,i,o,c){return na(n),i=Qd(e,n,i,o,void 0,c),o=Xd(),e!==null&&!Pt?(Zd(e,n,c),Wr(e,n,c)):(ze&&o&&Gl(n),n.flags|=1,Rt(e,n,i,c),n.child)}function Zy(e,n,i,o,c,d){return na(n),n.updateQueue=null,i=ty(n,o,i,c),ey(e),o=Xd(),e!==null&&!Pt?(Zd(e,n,d),Wr(e,n,d)):(ze&&o&&Gl(n),n.flags|=1,Rt(e,n,i,d),n.child)}function Jy(e,n,i,o,c){if(na(n),n.stateNode===null){var d=qa,m=i.contextType;typeof m=="object"&&m!==null&&(d=Gt(m)),d=new i(o,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=hf,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=o,d.state=n.memoizedState,d.refs={},Hd(n),m=i.contextType,d.context=typeof m=="object"&&m!==null?Gt(m):qa,d.state=n.memoizedState,m=i.getDerivedStateFromProps,typeof m=="function"&&(ff(n,i,m,o),d.state=n.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(m=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),m!==d.state&&hf.enqueueReplaceState(d,d.state,null),ps(n,o,d,c),hs(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(e===null){d=n.stateNode;var v=n.memoizedProps,A=ua(i,v);d.props=A;var O=d.context,j=i.contextType;m=qa,typeof j=="object"&&j!==null&&(m=Gt(j));var V=i.getDerivedStateFromProps;j=typeof V=="function"||typeof d.getSnapshotBeforeUpdate=="function",v=n.pendingProps!==v,j||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(v||O!==m)&&By(n,d,o,m),gi=!1;var M=n.memoizedState;d.state=M,ps(n,o,d,c),hs(),O=n.memoizedState,v||M!==O||gi?(typeof V=="function"&&(ff(n,i,V,o),O=n.memoizedState),(A=gi||Uy(n,i,A,o,M,O,m))?(j||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=O),d.props=o,d.state=O,d.context=m,o=A):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{d=n.stateNode,Fd(e,n),m=n.memoizedProps,j=ua(i,m),d.props=j,V=n.pendingProps,M=d.context,O=i.contextType,A=qa,typeof O=="object"&&O!==null&&(A=Gt(O)),v=i.getDerivedStateFromProps,(O=typeof v=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(m!==V||M!==A)&&By(n,d,o,A),gi=!1,M=n.memoizedState,d.state=M,ps(n,o,d,c),hs();var I=n.memoizedState;
9m!==V||M!==I||gi||e!==null&&e.dependencies!==null&&Kl(e.dependencies)?(typeof v=="function"&&(ff(n,i,v,o),I=n.memoizedState),(j=gi||Uy(n,i,j,o,M,I,A)||e!==null&&e.dependencies!==null&&Kl(e.dependencies))?(O||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,I,A),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,I,A)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=I),d.props=o,d.state=I,d.context=A,o=j):(typeof d.componentDidUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(n.flags|=1024),o=!1)}return d=o,to(e,n),o=(n.flags&128)!==0,d||o?(d=n.stateNode,i=o&&typeof i.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,e!==null&&o?(n.child=sa(n,e.child,null,c),n.child=sa(n,null,i,c)):Rt(e,n,i,c),n.memoizedState=d.state,e=n.child):e=Wr(e,n,c),e}function eb(e,n,i,o){return Ji(),n.flags|=256,Rt(e,n,i,o),n.child}var yf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function bf(e){return{baseLanes:e,cachePool:Gg()}}function vf(e,n,i){return e=e!==null?e.childLanes&~i:0,n&&(e|=Cn),e}function tb(e,n,i){var o=n.pendingProps,c=!1,d=(n.flags&128)!==0,m;if((m=d)||(m=e!==null&&e.memoizedState===null?!1:(qt.current&2)!==0),m&&(c=!0,n.flags&=-129),m=(n.flags&32)!==0,n.flags&=-33,e===null){if(ze){if(c?Si(n):_i(),(e=dt)?(e=Av(e,jn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:di!==null?{id:br,overflow:vr}:null,retryLane:536870912,hydrationErrors:null},i=Ng(e),i.return=n,n.child=i,It=n,dt=null)):e=null,e===null)throw hi(n);return bh(e)?n.lanes=32:n.lanes=536870912,null}return d=o.children,o=o.fallback,c?(_i(),c=n.mode,d=fu({mode:"hidden",children:d},c),o=Zi(o,c,i,null),d.return=n,o.return=n,d.sibling=o,n.child=d,o=n.child,o.memoizedState=bf(i),o.childLanes=vf(e,m,i),n.memoizedState=yf,vs(null,o)):(Si(n),Sf(n,d))}var v=e.memoizedState;if(v!==null){var A=v.dehydrated;if(A!==null)return Fw(e,n,d,m,o,A,v,i)}return c?(_i(),c=o.fallback,d=n.mode,v=e.child,A=v.sibling,o=Fr(v,{mode:"hidden",children:o.children}),o.subtreeFlags=v.subtreeFlags&1206910976,A!==null?c=Fr(A,c):(c=Zi(c,d,i,null),c.flags|=2),c.return=n,o.return=n,o.sibling=c,n.child=o,vs(null,o),o=n.child,c=e.child.memoizedState,c===null?c=bf(i):(d=c.cachePool,d!==null?(v=xt._currentValue,d=d.parent!==v?{parent:v,pool:v}:d):d=Gg(),c={baseLanes:c.baseLanes|i,cachePool:d}),o.memoizedState=c,o.childLanes=vf(e,m,i),n.memoizedState=yf,vs(e.child,o)):(Si(n),i=e.child,e=i.sibling,i=Fr(i,{mode:"visible",children:o.children}),i.return=n,i.sibling=null,e!==null&&(m=n.deletions,m===null?(n.deletions=[e],n.flags|=16):m.push(e)),n.child=i,n.memoizedState=null,i)}function Sf(e,n){return n=fu({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function fu(e,n){return e=fn(22,e,null,n),e.lanes=0,e}function hu(e,n,i){return sa(n,e.child,null,i),e=Sf(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Fw(e,n,i,o,c,d,m,v){if(i)return n.flags&256?(Si(n),n.flags&=-257,hu(e,n,v)):n.memoizedState!==null?(_i(),n.child=e.child,n.flags|=128,null):(_i(),d=c.fallback,m=n.mode,c=fu({mode:"visible",children:c.children},m),d=Zi(d,m,v,null),d.flags|=2,c.return=n,d.return=n,c.sibling=d,n.child=c,sa(n,e.child,null,v),c=n.child,c.memoizedState=bf(v),c.childLanes=vf(e,o,v),n.memoizedState=yf,vs(null,c));if(Si(n),bh(d)){if(o=d.nextSibling&&d.nextSibling.dataset,o)var A=o.dgst;return o=A,o!==""&&(c=Error(s(419)),c.stack="",c.digest=o,ss({value:c,source:null,stack:null})),hu(e,n,v)}if(Pt||ta(e,n,v,!1),o=(v&e.childLanes)!==0,Pt||o){if(vi.current!==null)return hu(e,n,v);if(o=ot,o!==null&&(c=Me(o,v),c!==0&&c!==m.retryLane))throw m.retryLane=c,Xi(e,c),gn(o,e,c),mf;return yh(d)||Du(),hu(e,n,v)}return yh(d)?(n.flags|=192,n.child=e.child,null):(e=m.treeContext,dt=Fn(d.nextSibling),It=n,ze=!0,fi=null,jn=!1,e!==null&&zg(n,e),n=Sf(n,c.children),n.flags|=134221824,n)}function nb(e,n,i){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n),ql(e.return,n,i)}function rb(e){for(var n=null;e!==null;){var i=e.alternate;i!==null&&eu(i)===null&&(n=e),e=e.sibling}return n}function pu(e,n,i,o,c,d){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:c,treeForkCount:d}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=o,m.tail=i,m.tailMode=c,m.treeForkCount=d)}function _f(e){var n=e.child;for(e.child=null;n!==null;){var i=n.sibling;n.sibling=e.child,e.child=n,n=i}}function Ef(e,n,i){var o=n.pendingProps,c=o.revealOrder,d=o.tail;o=o.children;var m=qt.current;if(n.flags&128)return ms(n,m),null;var v=(m&2)!==0;if(v?(m=m&1|2,n.flags|=128):m&=1,ms(n,m),c==="backwards"&&e!==null?(_f(e),Rt(e,n,o,i),_f(e)):Rt(e,n,o,i),o=ze?os:0,!v&&e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&nb(e,i,n);else if(e.tag===19)nb(e,i,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"backwards":i=rb(n.child),i===null?(c=n.child,n.child=null):(c=i.sibling,i.sibling=null,_f(n)),pu(n,!0,c,null,d,o);break;case"unstable_legacy-backwards":for(i=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&eu(e)===null){n.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}pu(n,!0,i,null,d,o);break;case"together":pu(n,!1,null,null,void 0,o);break;case"independent":n.memoizedState=null;break;default:i=rb(n.child),i===null?(c=n.child,n.child=null):(c=i.sibling,i.sibling=null),pu(n,!1,c,i,d,o)}return n.child}function ib(e,n,i){var o=n.pendingProps;return pi(n,n.type,o.value),Rt(e,n,o.children,i),n.child}function Wr(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),wi|=n.lanes,(i&n.childLanes)===0)if(e!==null){if(ta(e,n,i,!1),(i&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(s(153));
9if(n.child!==null){for(e=n.child,i=Fr(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=Fr(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function Af(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&Kl(e)))}function Gw(e,n,i){switch(n.tag){case 3:Ma(n,n.stateNode.containerInfo),pi(n,xt,e.memoizedState.cache),Ji();break;case 27:case 5:Xn(n);break;case 4:Ma(n,n.stateNode.containerInfo);break;case 10:pi(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Yd(n),null;break;case 13:var o=n.memoizedState;if(o!==null){if(o.dehydrated!==null)return Si(n),n.flags|=128,null;o=ta(e,n,i,!1);var c=n.child.childLanes;return o||(i&c)!==0?tb(e,n,i):(Si(n),e=Wr(e,n,i),e!==null?e.sibling:null)}Si(n);break;case 19:if(n.flags&128)return Ef(e,n,i);if(c=(e.flags&128)!==0,o=(i&n.childLanes)!==0,o||(ta(e,n,i,!1),o=(i&n.childLanes)!==0),c){if(o)return Ef(e,n,i);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),ms(n,qt.current),o)break;return null;case 22:return n.lanes=0,$y(e,n,i,n.pendingProps);case 24:pi(n,xt,e.memoizedState.cache)}return Wr(e,n,i)}function ab(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps)Pt=!0;else{if(!Af(e,i)&&(n.flags&128)===0)return Pt=!1,Gw(e,n,i);Pt=(e.flags&131072)!==0}else Pt=!1,ze&&(n.flags&1048576)!==0&&Ig(n,os,n.index);switch(n.lanes=0,n.tag){case 16:e:{var o=n.pendingProps;if(e=aa(n.elementType),n.type=e,typeof e=="function")Pd(e)?(o=ua(e,o),n.tag=1,n=Jy(null,n,e,o,i)):(n.tag=0,n=gf(null,n,e,o,i));else{if(e!=null){var c=e.$$typeof;if(c===Q){n.tag=11,n=Ky(null,n,e,o,i);break e}else if(c===pe){n.tag=14,n=Yy(null,n,e,o,i);break e}else if(c===Le){n.tag=10,n.type=e,n=ib(null,n,i);break e}}throw n=Be(e)||e,Error(s(306,n,""))}}return n;case 0:return gf(e,n,n.type,n.pendingProps,i);case 1:return o=n.type,c=ua(o,n.pendingProps),Jy(e,n,o,c,i);case 3:e:{if(Ma(n,n.stateNode.containerInfo),e===null)throw Error(s(387));o=n.pendingProps;var d=n.memoizedState;c=d.element,Fd(e,n),ps(n,o,null,i);var m=n.memoizedState;if(o=m.cache,pi(n,xt,o),o!==d.cache&&Id(n,[xt],i,!0),hs(),o=m.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:m.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=eb(e,n,o,i);break e}else if(o!==c){c=zn(Error(s(424)),n),ss(c),n=eb(e,n,o,i);break e}else for(e=n.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,dt=Fn(e.firstChild),It=n,ze=!0,fi=null,jn=!0,i=$g(n,null,o,i),n.child=i;i;)i.flags=i.flags&-3|134221824,i=i.sibling;else{if(Ji(),o===c){n=Wr(e,n,i);break e}Rt(e,n,o,i)}n=n.child}return n;case 26:return to(e,n),e===null?(i=Mv(n.type,null,n.pendingProps,null))?n.memoizedState=i:ze||(n.stateNode=uv(n.type,n.pendingProps,hr.current,n)):n.memoizedState=Mv(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return Xn(n),e===null&&ze&&(o=n.stateNode=Cv(n.type,n.pendingProps,hr.current),It=n,jn=!0,c=dt,Pi(n.type)?(vh=c,dt=Fn(o.firstChild)):dt=c),Rt(e,n,n.pendingProps.children,i),to(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&ze&&((c=o=dt)&&(o=zC(o,n.type,n.pendingProps,jn),o!==null?(n.stateNode=o,It=n,dt=Fn(o.firstChild),jn=!1,c=!0):c=!1),c||hi(n)),Xn(n),c=n.type,d=n.pendingProps,m=e!==null?e.memoizedProps:null,o=d.children,ch(c,d)?o=null:m!==null&&ch(c,m)&&(n.flags|=32),n.memoizedState!==null&&(c=Qd(e,n,Ow,null,null,i),So._currentValue=c),to(e,n),Rt(e,n,o,i),n.child;case 6:return e===null&&ze&&((e=i=dt)&&(i=UC(i,n.pendingProps,jn),i!==null?(n.stateNode=i,It=n,dt=null,e=!0):e=!1),e||hi(n)),null;case 13:return tb(e,n,i);case 4:return Ma(n,n.stateNode.containerInfo),o=n.pendingProps,e===null?n.child=sa(n,null,o,i):Rt(e,n,o,i),n.child;case 11:return Ky(e,n,n.type,n.pendingProps,i);case 7:return o=n.pendingProps,to(e,n),Rt(e,n,o,i),n.child;case 8:return Rt(e,n,n.pendingProps.children,i),n.child;case 12:return Rt(e,n,n.pendingProps.children,i),n.child;case 10:return ib(e,n,i);case 9:return c=n.type._context,o=n.pendingProps.children,na(n),c=Gt(c),o=o(c),n.flags|=1,Rt(e,n,o,i),n.child;case 14:return Yy(e,n,n.type,n.pendingProps,i);case 15:return Wy(e,n,n.type,n.pendingProps,i);case 19:return Ef(e,n,i);case 31:return Hw(e,n,i);case 22:return $y(e,n,i,n.pendingProps);case 24:return na(n),o=Gt(xt),e===null?(c=Bd(),c===null&&(c=ot,d=zd(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=i),c=d),n.memoizedState={parent:o,cache:c},Hd(n),pi(n,xt,c)):((e.lanes&i)!==0&&(Fd(e,n),ps(n,null,null,i),hs()),c=e.memoizedState,d=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),pi(n,xt,o)):(o=d.cache,pi(n,xt,o),o!==c.cache&&Id(n,[xt],i,!0))),Rt(e,n,n.pendingProps.children,i),n.child;case 30:return n.stateNode===null&&(n.stateNode={autoName:null,paired:null,clones:null,ref:null}),o=n.pendingProps,o.name!=null&&o.name!=="auto"?n.flags|=e===null?18882560:18874368:ze&&Gl(n),e!==null&&e.memoizedProps.name!==o.name?n.flags|=4194816:to(e,n),Rt(e,n,o.children,i),n.child;case 29:throw n.pendingProps}throw Error(s(156,n.tag))}function $r(e){e.flags|=4}function Tf(e,n,i,o,c){var d;if((d=(e.mode&32)!==0)&&(d=i===null?Nv(n,o):Nv(n,o)&&(o.src!==i.src||o.srcSet!==i.srcSet)),d){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(jb())e.flags|=8192;else throw oa=Ql,jd}else e.flags&=-16777217}function ob(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Lv(n))if(jb())e.flags|=8192;else throw oa=Ql,jd}function mu(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?me():536870912,e.lanes|=n,oo|=n)}function Ss(e,n){if(!ze)switch(e.tailMode){case"visible":break;case"collapsed":for(var i=e.tail,o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null;break;default:for(n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null}}function ft(e){var n=e.alternate!==null&&e.alternate.child===e.child,i=0,o=0;if(n)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,o|=c.subtreeFlags&1206910976,o|=c.flags&1206910976,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=o,e.childLanes=i,n}function Vw(e,n,i){var o=n.pendingProps;switch(Od(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ft(n),null;case 1:return ft(n),null;case 3:return i=n.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),qr(xt),oi(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Wa(n)?$r(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Nd())),ft(n),null;case 26:var c=n.type,d=n.memoizedState;return e===null?($r(n),d!==null?(ft(n),ob(n,d)):(ft(n),Tf(n,c,null,o,i))):d?d!==e.memoizedState?($r(n),ft(n),ob(n,d)):(ft(n),n.flags&=-16777217):(e=e.memoizedProps,e!==o&&$r(n),ft(n),Tf(n,c,e,o,i)),null;case 27:if(pr(n),i=hr.current,c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&$r(n);else{if(!o){if(n.stateNode===null)throw Error(s(166));return ft(n),n.subtreeFlags&=-33554433,null}e=Nn.current,Wa(n)?Ug(n):(e=Cv(c,o,i),n.stateNode=e,$r(n))}return ft(n),n.subtreeFlags&=-33554433,null;case 5:if(pr(n),c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&$r(n);else{if(!o){if(n.stateNode===null)throw Error(s(166));return ft(n),n.subtreeFlags&=-33554433,null}if(d=Nn.current,Wa(n))Ug(n);else{var m=Ds(hr.current);switch(d){case 1:d=m.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:d=m.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":d=m.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":d=m.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":d=m.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;
9case"select":d=typeof o.is=="string"?m.createElement("select",{is:o.is}):m.createElement("select"),o.multiple?d.multiple=!0:o.size&&(d.size=o.size);break;default:d=typeof o.is=="string"?m.createElement(c,{is:o.is}):m.createElement(c)}}d[Et]=n,d[at]=o;e:for(m=n.child;m!==null;){if(m.tag===5||m.tag===6)d.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===n)break e;for(;m.sibling===null;){if(m.return===null||m.return===n)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}n.stateNode=d;e:switch(Yt(d,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&$r(n)}}return ft(n),n.subtreeFlags&=-33554433,Tf(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,i),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==o&&$r(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(s(166));if(e=hr.current,Wa(n)){if(e=n.stateNode,i=n.memoizedProps,o=null,c=It,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}e[Et]=n,e=!!(e.nodeValue===i||o!==null&&o.suppressHydrationWarning===!0||av(e.nodeValue,i)),e||hi(n,!0)}else e=Ds(e).createTextNode(o),e[Et]=n,n.stateNode=e}return ft(n),null;case 31:if(i=n.memoizedState,e===null||e.memoizedState!==null){if(o=Wa(n),i!==null){if(e===null){if(!o)throw Error(s(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[Et]=n}else Ji(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;ft(n),e=!1}else i=Nd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return n.flags&256?(An(n),n):(An(n),null);if((n.flags&128)!==0)throw Error(s(558))}return ft(n),null;case 13:if(o=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Wa(n),o!==null&&o.dehydrated!==null){if(e===null){if(!c)throw Error(s(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(s(317));c[Et]=n}else Ji(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;ft(n),c=!1}else c=Nd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(An(n),n):(An(n),null)}return An(n),(n.flags&128)!==0?(n.lanes=i,n):(i=o!==null,e=e!==null&&e.memoizedState!==null,i&&(o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),d=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==c&&(o.flags|=2048)),i!==e&&i&&(n.child.flags|=8192),mu(n,n.updateQueue),ft(n),null);case 4:return oi(),e===null&&ah(n.stateNode.containerInfo),n.flags|=67108864,ft(n),null;case 10:return qr(n.type),ft(n),null;case 19:if(Wd(n),o=n.memoizedState,o===null)return ft(n),null;if(c=(n.flags&128)!==0,d=o.rendering,d===null)if(c)Ss(o,!1);else{if(Tt!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(d=eu(e),d!==null){for(n.flags|=128,Ss(o,!1),e=d.updateQueue,n.updateQueue=e,mu(n,e),n.subtreeFlags=0,e=i,i=n.child;i!==null;)Rg(i,e),i=i.sibling;return ms(n,qt.current&1|2),ze&&Gr(n,o.treeForkCount),n.child}e=e.sibling}o.tail!==null&&en()>xu&&(n.flags|=128,c=!0,Ss(o,!1),n.lanes=4194304)}else{if(!c)if(e=eu(d),e!==null){if(n.flags|=128,c=!0,e=e.updateQueue,n.updateQueue=e,mu(n,e),Ss(o,!0),o.tail===null&&o.tailMode!=="collapsed"&&o.tailMode!=="visible"&&!d.alternate&&!ze)return ft(n),null}else 2*en()-o.renderingStartTime>xu&&i!==536870912&&(n.flags|=128,c=!0,Ss(o,!1),n.lanes=4194304);o.isBackwards?(d.sibling=n.child,n.child=d):(e=o.last,e!==null?e.sibling=d:n.child=d,o.last=d)}if(o.tail!==null){e=o.tail;e:{for(i=e;i!==null;){if(i.alternate!==null){i=!1;break e}i=i.sibling}i=!0}return o.rendering=e,o.tail=e.sibling,o.renderingStartTime=en(),e.sibling=null,d=qt.current,d=c?d&1|2:d&1,o.tailMode==="visible"||o.tailMode==="collapsed"||!i||ze?ms(n,d):(i=d,rt(Vt,n),rt(qt,i),Xt===null&&(Xt=n)),ze&&Gr(n,o.treeForkCount),e}return ft(n),null;case 22:case 23:return An(n),Kd(),o=n.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(i&536870912)!==0&&(n.flags&128)===0&&(ft(n),n.subtreeFlags&6&&(n.flags|=8192)):ft(n),i=n.updateQueue,i!==null&&mu(n,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==i&&(n.flags|=2048),e!==null&&ht(ia),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),n.memoizedState.cache!==i&&(n.flags|=2048),qr(xt),ft(n),null;case 25:return null;case 30:return n.flags|=33554432,ft(n),null}throw Error(s(156,n.tag))}
9function qw(e,n){switch(Od(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return qr(xt),oi(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return pr(n),null;case 31:if(n.memoizedState!==null){if(An(n),n.alternate===null)throw Error(s(340));Ji()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(An(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(s(340));Ji()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Wd(n),e=n.flags,e&65536?(n.flags=e&-65537|128,e=n.memoizedState,e!==null&&(e.rendering=null,e.tail=null),n.flags|=4,n):null;case 4:return oi(),null;case 10:return qr(n.type),null;case 22:case 23:return An(n),Kd(),e!==null&&ht(ia),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return qr(xt),null;case 25:return null;default:return null}}function sb(e,n){switch(Od(n),n.tag){case 3:qr(xt),oi();break;case 26:case 27:case 5:pr(n);break;case 4:oi();break;case 31:n.memoizedState!==null&&An(n);break;case 13:An(n);break;case 19:Wd(n);break;case 10:qr(n.type);break;case 22:case 23:An(n),Kd(),e!==null&&ht(ia);break;case 24:qr(xt)}}function _s(e,n){try{var i=n.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var c=o.next;i=c;do{if((i.tag&e)===e){o=void 0;var d=i.create,m=i.inst;o=d(),m.destroy=o}i=i.next}while(i!==c)}}catch(v){et(n,n.return,v)}}function Ei(e,n,i){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var d=c.next;o=d;do{if((o.tag&e)===e){var m=o.inst,v=m.destroy;if(v!==void 0){m.destroy=void 0,c=n;var A=i,O=v;try{O()}catch(j){et(c,A,j)}}}o=o.next}while(o!==d)}}catch(j){et(n,n.return,j)}}function lb(e){var n=e.updateQueue;if(n!==null){var i=e.stateNode;try{Xg(n,i)}catch(o){et(e,e.return,o)}}}function ub(e,n,i){i.props=ua(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(o){et(e,n,o)}}function Sr(e,n){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:var c=e.stateNode,d=jr(e.memoizedProps,c);(c.ref===null||c.ref.name!==d)&&(c.ref=gv(d)),o=c.ref;break;case 7:if(e.stateNode===null){var m=new kn(e);y(e.child,!1,LC,m,void 0,void 0),e.stateNode=m}o=e.stateNode;break;default:o=e.stateNode}typeof i=="function"?e.refCleanup=i(o):i.current=o}}catch(v){et(e,n,v)}}function Kt(e,n){var i=e.ref,o=e.refCleanup;if(i!==null)if(typeof o=="function")try{o()}catch(c){et(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(c){et(e,n,c)}else i.current=null}function gu(e,n){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&n!==null)for(var i=0;i<n.length;i++)Ev(e.stateNode,n[i])}function cb(e){for(var n=e.return;n!==null&&(Cf(n)&&Ev(e.stateNode,n.stateNode),!wf(n));)n=n.return}function Es(e){for(var n=e.return;n!==null&&(Cf(n)&&IC(e.stateNode,n.stateNode),!wf(n));)n=n.return}function wf(e){return e.tag===5||e.tag===3||e.tag===27}function Cf(e){return e&&e.tag===7&&e.stateNode!==null}function xf(e){var n=e.type,i=e.memoizedProps,o=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":i.autoFocus&&o.focus();break e;case"img":i.src?o.src=i.src:i.srcSet&&(o.srcset=i.srcSet)}}catch(c){et(e,e.return,c)}}function kf(e,n,i){try{var o=e.stateNode;yC(o,e.type,i,n),o[at]=n}catch(c){et(e,e.return,c)}}function db(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Pi(e.type)||e.tag===4}function Pf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||db(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.tag===27&&Pi(e.type)||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 Mf(e,n,i,o){var c=e.tag;if(c===5||c===6)c=e.stateNode,n?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(c,n):(n=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,n.appendChild(c),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=yr)),gu(e,o),$e=!0;else if(c!==4&&(c===27&&(gu(e,o),o=null,Pi(e.type)&&(i=e.stateNode,n=null)),e=e.child,e!==null))for(Mf(e,n,i,o),e=e.sibling;e!==null;)Mf(e,n,i,o),e=e.sibling}function yu(e,n,i,o){var c=e.tag;if(c===5||c===6)c=e.stateNode,n?i.insertBefore(c,n):i.appendChild(c),gu(e,o),$e=!0;else if(c!==4&&(c===27&&(gu(e,o),o=null,Pi(e.type)&&(i=e.stateNode)),e=e.child,e!==null))for(yu(e,n,i,o),e=e.sibling;e!==null;)yu(e,n,i,o),e=e.sibling}function fb(e){var n=e.stateNode,i=e.memoizedProps;try{for(var o=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);Yt(n,o,i),n[Et]=e,n[at]=i}catch(d){et(e,e.return,d)}}var bu=!1,Tn=null;function hb(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(bu=!0)}var _r=null;function pb(){var e=_r;return _r=null,e}var hn=0;function no(e,n,i,o,c){return hn=0,mb(e.child,n,i,o,c)}function mb(e,n,i,o,c){for(var d=!1;
9e!==null;){if(e.tag===5){var m=e.stateNode;if(o!==null){var v=hh(m);o.push(v),v.view&&(d=!0)}else d||hh(m).view&&(d=!0);bu=!0,pv(m,hn===0?n:n+"_"+hn,i),hn++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&c||mb(e.child,n,i,o,c)&&(d=!0));e=e.sibling}return d}function Er(e,n){for(;e!==null;)e.tag===5?mv(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&n||Er(e.child,n)),e=e.sibling}function vu(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(vu(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var n=e.memoizedProps;if(n.name==null||n.name==="auto")throw Error(s(544));var i=n.name;n=Hr(n.default,n.share),n!=="none"&&(no(e,i,n,null,!1)||Er(e.child,!1))}e=e.sibling}}function Df(e,n){if(e.tag===30){var i=e.stateNode,o=e.memoizedProps,c=jr(o,i),d=Hr(o.default,i.paired?o.share:o.enter);d!=="none"?no(e,c,d,null,!1)?(vu(e),i.paired||n||co(e,o.onEnter)):Er(e.child,!1):vu(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Df(e,n),e=e.sibling;else vu(e)}function Of(e){if(Tn!==null&&Tn.size!==0){var n=Tn;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var i=e.memoizedProps,o=i.name;if(o!=null&&o!=="auto"){var c=n.get(o);if(c!==void 0){var d=Hr(i.default,i.share);if(d!=="none"&&(no(e,o,d,null,!1)?(d=e.stateNode,c.paired=d,d.paired=c,co(e,i.onShare)):Er(e.child,!1)),n.delete(o),n.size===0)break}}}Of(e)}e=e.sibling}}}function Rf(e){if(e.tag===30){var n=e.memoizedProps,i=jr(n,e.stateNode),o=Tn!==null?Tn.get(i):void 0,c=Hr(n.default,o!==void 0?n.share:n.exit);c!=="none"&&(no(e,i,c,null,!1)?o!==void 0?(c=e.stateNode,o.paired=c,c.paired=o,Tn.delete(i),co(e,n.onShare)):co(e,n.onExit):Er(e.child,!1)),Tn!==null&&Of(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Rf(e),e=e.sibling;else Tn!==null&&Of(e)}function gb(e){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,i=jr(n,e.stateNode);n=Hr(n.default,n.update),e.flags&=-5,n!=="none"&&no(e,i,n,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&gb(e);e=e.sibling}}function Nf(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var n=e.stateNode;n.paired!==null&&(n.paired=null,Er(e.child,!1))}Nf(e)}e=e.sibling}}function Su(e){if(e.tag===30)e.stateNode.paired=null,Er(e.child,!1),Nf(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Su(e),e=e.sibling;else Nf(e)}function yb(e){for(e=e.child;e!==null;)e.tag===30?Er(e.child,!1):(e.subtreeFlags&33554432)!==0&&yb(e),e=e.sibling}function Lf(e,n,i,o,c,d,m){for(var v=!1;n!==null;){if(n.tag===5){var A=n.stateNode;if(d!==null&&hn<d.length){var O=d[hn],j=hh(A);(O.view||j.view)&&(v=!0);var V;if(V=(e.flags&4)===0)if(j.clip)V=!0;else{V=O.rect;var M=j.rect;V=V.y!==M.y||V.x!==M.x||V.height!==M.height||V.width!==M.width}V&&(e.flags|=4),j.abs?j=!O.abs:(O=O.rect,j=j.rect,j=O.height!==j.height||O.width!==j.width),j&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&pv(A,hn===0?i:i+"_"+hn,c),v&&(e.flags&4)!==0||(_r===null&&(_r=[]),_r.push(A,hn===0?o:o+"_"+hn,n.memoizedProps)),hn++}else(n.tag!==22||n.memoizedState===null)&&(n.tag===30&&m?e.flags|=n.flags&32:Lf(e,n.child,i,o,c,d,m)&&(v=!0));n=n.sibling}return v}function bb(e,n){for(e=e.child;e!==null;){if(e.tag===30){var i=e.memoizedProps,o=e.stateNode,c=jr(i,o),d=Hr(i.default,i.update),m;m=e.memoizedState,e.memoizedState=null,o=e;var v=e.child;hn=0,c=Lf(o,v,c,c,d,m,!1),(e.flags&4)!==0&&c&&co(e,i.onUpdate)}else(e.subtreeFlags&33554432)!==0&&bb(e);e=e.sibling}}var zt=!1,Xe=!1,Ar=!1,If=!1,vb=typeof WeakSet=="function"?WeakSet:Set,Ut=null,Tr=!1,As=!1,_u=!1,zf=!1;function Kw(e,n,i){if(e=e.containerInfo,lh=_o,e=Ag(e),Ed(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var c=o.getSelection&&o.getSelection();if(c&&c.rangeCount!==0){o=c.anchorNode;var d=c.anchorOffset,m=c.focusNode;c=c.focusOffset;try{o.nodeType,m.nodeType}catch{o=null;break e}var v=0,A=-1,O=-1,j=0,V=0,M=e,I=null;t:for(;;){for(var ee;M!==o||d!==0&&M.nodeType!==3||(A=v+d),M!==m||c!==0&&M.nodeType!==3||(O=v+c),M.nodeType===3&&(v+=M.nodeValue.length),(ee=M.firstChild)!==null;)I=M,M=ee;for(;;){if(M===e)break t;
9if(I===o&&++j===d&&(A=v),I===m&&++V===c&&(O=v),(ee=M.nextSibling)!==null)break;M=I,I=M.parentNode}M=ee}o=A===-1||O===-1?null:{start:A,end:O}}else o=null}o=o||{start:0,end:0}}else o=null;for(uh={focusedElem:e,selectionRange:o},_o=!1,i=(i&335544064)===i,Ut=n,n=i?9270:1024;Ut!==null;){if(e=Ut,i&&(o=e.deletions,o!==null))for(d=0;d<o.length;d++)i&&Rf(o[d]);if(e.alternate===null&&(e.flags&2)!==0)i&&hb(e),Eu(i);else{if(e.tag===22){if(o=e.alternate,e.memoizedState!==null){o!==null&&o.memoizedState===null&&i&&Rf(o),Eu(i);continue}else if(o!==null&&o.memoizedState!==null){i&&hb(e),Eu(i);continue}}o=e.child,(e.subtreeFlags&n)!==0&&o!==null?(o.return=e,Ut=o):(i&&gb(e),Eu(i))}}Tn=null}function Eu(e){for(;Ut!==null;){var n=Ut,i=e,o=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 15:break;case 1:if((c&1024)!==0&&o!==null){i=void 0,c=o.memoizedProps,o=o.memoizedState;var d=n.stateNode;try{var m=ua(n.type,c);i=d.getSnapshotBeforeUpdate(m,o),d.__reactInternalSnapshotBeforeUpdate=i}catch(v){et(n,n.return,v)}}break;case 3:if((c&1024)!==0){if(o=n.stateNode.containerInfo,i=o.nodeType,i===9)gh(o);else if(i===1)switch(o.nodeName){case"HEAD":case"HTML":case"BODY":gh(o);break;default:o.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:i&&o!==null&&(i=jr(o.memoizedProps,o.stateNode),c=n.memoizedProps,c=Hr(c.default,c.update),c!=="none"&&no(o,i,c,o.memoizedState=[],!0));break;default:if((c&1024)!==0)throw Error(s(163))}if(o=n.sibling,o!==null){o.return=n.return,Ut=o;break}Ut=n.return}}function Sb(e,n,i){var o=i.flags;switch(i.tag){case 0:case 11:case 15:wr(e,i),o&4&&_s(5,i);break;case 1:if(wr(e,i),o&4)if(e=i.stateNode,n===null)try{e.componentDidMount()}catch(m){et(i,i.return,m)}else{var c=ua(i.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(m){et(i,i.return,m)}}o&64&&lb(i),o&512&&Sr(i,i.return);break;case 3:if(wr(e,i),o&64&&(e=i.updateQueue,e!==null)){if(n=null,i.child!==null)switch(i.child.tag){case 27:case 5:n=i.child.stateNode;break;case 1:n=i.child.stateNode}try{Xg(e,n)}catch(m){et(i,i.return,m)}}break;case 27:n===null&&o&4&&fb(i);case 26:case 5:wr(e,i),n===null&&o&4&&xf(i),o&512&&Sr(i,i.return);break;case 12:wr(e,i);break;case 31:wr(e,i),o&4&&Tb(e,i);break;case 13:wr(e,i),o&4&&wb(e,i),o&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=iC.bind(null,i),BC(e,i))));break;case 22:if(o=i.memoizedState!==null||zt,!o){var d=n!==null&&n.memoizedState!==null||Xe;n=zt,c=Xe,zt=o,(Xe=d)&&!c?(o=2,(i.subtreeFlags&8772)!==0&&(o|=1),rr(e,i,o)):wr(e,i),zt=n,Xe=c}break;case 30:wr(e,i),o&512&&Sr(i,i.return);break;case 7:o&512&&Sr(i,i.return);default:wr(e,i)}}function Uf(e,n){for(e=e.child;e!==null;)_b(e,n),e=e.sibling}function _b(e,n){switch(e.tag){case 5:case 26:try{var i=e.stateNode;if(n){var o=i.style;typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"}else{var c=e.stateNode,d=e.memoizedProps.style,m=d!=null&&d.hasOwnProperty("display")?d.display:null;c.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(A){et(e,e.return,A)}Bf(e,n);break;case 6:try{e.stateNode.nodeValue=n?"":e.memoizedProps,$e=!0}catch(A){et(e,e.return,A)}break;case 18:try{var v=e.stateNode;n?hv(v,!0):hv(e.stateNode,!1)}catch(A){et(e,e.return,A)}break;case 22:case 23:e.memoizedState===null&&Uf(e,n);break;default:Uf(e,n)}}function Bf(e,n){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var i=e,o=n;switch(i.tag){case 4:_b(i,o);break e;case 22:i.memoizedState===null&&Bf(i,o);break e;default:Bf(i,o)}}e=e.sibling}}function Eb(e){var n=e.alternate;n!==null&&(e.alternate=null,Eb(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&vt(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var mt=null,pn=!1;function tr(e,n,i){for(i=i.child;i!==null;)Ab(e,n,i),i=i.sibling}function Ab(e,n,i){if(Lt&&typeof Lt.onCommitFiberUnmount=="function")try{Lt.onCommitFiberUnmount(mr,i)}catch{}switch(i.tag){case 26:Xe||Kt(i,n),tr(e,n,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&!Xe&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Xe||Kt(i,n),Es(i);var o=mt,c=pn;Pi(i.type)&&(mt=i.stateNode,pn=!1),tr(e,n,i),xv(i.stateNode,i.type,i.memoizedProps),mt=o,pn=c;break;case 5:Xe||Kt(i,n),Es(i);case 6:if(i.tag===6&&Es(i),o=mt,c=pn,mt=null,tr(e,n,i),mt=o,pn=c,mt!==null)if(pn)try{(mt.nodeType===9?mt.body:mt.nodeName==="HTML"?mt.ownerDocument.body:mt).removeChild(i.stateNode),$e=!0}catch(d){et(i,n,d)}else try{mt.removeChild(i.stateNode),$e=!0}catch(d){et(i,n,d)}break;case 18:mt!==null&&(pn?(e=mt,fv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),Eo(e)):fv(mt,i.stateNode));break;case 4:o=mt,c=pn,mt=i.stateNode.containerInfo,pn=!0,tr(e,n,i),mt=o,pn=c;break;case 0:case 11:case 14:case 15:Ei(2,i,n),Xe||Ei(4,i,n),tr(e,n,i);break;case 1:Xe||(Kt(i,n),o=i.stateNode,typeof o.componentWillUnmount=="function"&&ub(i,n,o)),tr(e,n,i);break;case 21:tr(e,n,i);break;case 22:Xe=(o=Xe)||i.memoizedState!==null,tr(e,n,i),Xe=o;break;case 30:Kt(i,n),tr(e,n,i);break;case 7:Xe||Kt(i,n),tr(e,n,i);break;default:tr(e,n,i)}}function Tb(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Eo(e)}catch(i){et(n,n.return,i)}}}function wb(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Eo(e)}catch(i){et(n,n.return,i)}}function Yw(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new vb),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new vb),n;default:throw Error(s(435,e.tag))}}function Au(e,n){var i=Yw(e);
9n.forEach(function(o){if(!i.has(o)){i.add(o);var c=aC.bind(null,e,o);o.then(c,c)}})}function on(e,n,i){var o=n.deletions;if(o!==null)for(var c=0;c<o.length;c++){var d=o[c],m=e,v=n,A=v;e:for(;A!==null;){switch(A.tag){case 27:if(Pi(A.type)){mt=A.stateNode,pn=!1;break e}break;case 5:mt=A.stateNode,pn=!1;break e;case 3:case 4:mt=A.stateNode.containerInfo,pn=!0;break e}A=A.return}if(mt===null)throw Error(s(160));Ab(m,v,d),mt=null,pn=!1,m=d.alternate,m!==null&&(m.return=null),d.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)Cb(n,e,i),n=n.sibling}var nr=null;function Cb(e,n,i){var o=e.alternate,c=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(c&4&&(o=e.updateQueue,o=o!==null?o.events:null,o!==null))for(var d=0;d<o.length;d++){var m=o[d];m.ref.impl=m.nextImpl}on(n,e,i),sn(e),c&4&&(Ei(3,e,e.return),_s(3,e),Ei(5,e,e.return));break;case 1:on(n,e,i),sn(e),c&512&&(Xe||o===null||Kt(o,o.return)),c&64&&zt&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?n:i.concat(n))));break;case 26:if(d=nr,on(n,e,i),sn(e),c&512&&(Xe||o===null||Kt(o,o.return)),c&4)if(c=o!==null?o.memoizedState:null,i=e.memoizedState,o===null)if(i===null)if(e.stateNode===null)if(zt)e.stateNode=uv(e.type,e.memoizedProps,n.containerInfo,e);else{e:{n=e.type,i=e.memoizedProps,c=d.ownerDocument||d;t:switch(n){case"title":o=c.getElementsByTagName("title")[0],(!o||o[gr]||o[Et]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=c.createElement(n),c.head.insertBefore(o,c.querySelector("head > title"))),Yt(o,n,i),o[Et]=e,ct(o),n=o;break e;case"link":if(d=Rv("link","href",c).get(n+(i.href||""))){for(m=0;m<d.length;m++)if(o=d[m],o.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&o.getAttribute("rel")===(i.rel==null?null:i.rel)&&o.getAttribute("title")===(i.title==null?null:i.title)&&o.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){d.splice(m,1);break t}}o=c.createElement(n),Yt(o,n,i),c.head.appendChild(o);break;case"meta":if(d=Rv("meta","content",c).get(n+(i.content||""))){for(m=0;m<d.length;m++)if(o=d[m],o.getAttribute("content")===(i.content==null?null:""+i.content)&&o.getAttribute("name")===(i.name==null?null:i.name)&&o.getAttribute("property")===(i.property==null?null:i.property)&&o.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&o.getAttribute("charset")===(i.charSet==null?null:i.charSet)){d.splice(m,1);break t}}o=c.createElement(n),Yt(o,n,i),c.head.appendChild(o);break;default:throw Error(s(468,n))}o[Et]=e,ct(o),n=o}e.stateNode=n}else zt||Ah(d,e.type,e.stateNode);else e.stateNode=Ov(d,i,e.memoizedProps);else c!==i?(c===null?(n=o.stateNode,n===null||Xe||n.parentNode.removeChild(n)):c.count--,i===null?zt||Ah(d,e.type,e.stateNode):Ov(d,i,e.memoizedProps)):i===null&&e.stateNode!==null&&kf(e,e.memoizedProps,o.memoizedProps);break;case 27:on(n,e,i),sn(e),c&512&&(Xe||o===null||Kt(o,o.return)),o!==null&&c&4&&kf(e,e.memoizedProps,o.memoizedProps);break;case 5:if(d=Ar,Ar=!1,on(n,e,i),Ar=d,sn(e),c&512&&(Xe||o===null||Kt(o,o.return)),e.flags&32){n=e.stateNode;try{Ua(n,""),$e=!0}catch(j){et(e,e.return,j)}}c&4&&e.stateNode!=null&&(n=e.memoizedProps,kf(e,n,o!==null?o.memoizedProps:n)),c&1024&&(If=!0);break;case 6:if(on(n,e,i),sn(e),c&4){if(e.stateNode===null)throw Error(s(162));n=e.memoizedProps,i=e.stateNode;try{i.nodeValue=n,$e=!0}catch(j){et(e,e.return,j)}}break;case 3:if($e=!1,Uu=null,d=nr,nr=Os(n.containerInfo),on(n,e,i),nr=d,sn(e),c&4&&o!==null&&o.memoizedState.isDehydrated)try{Eo(n.containerInfo)}catch(j){et(e,e.return,j)}If&&(If=!1,xb(e)),$e=!1;break;case 4:c=Ar,Ar=zt,o=Ym(),d=nr,nr=Os(e.stateNode.containerInfo),on(n,e,i),sn(e),nr=d,$e&&As&&(_u=!0),$e=o,Ar=c;break;case 12:on(n,e,i),sn(e);break;case 31:on(n,e,i),sn(e),c&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,Au(e,n)));break;case 13:on(n,e,i),sn(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Cu=en()),c&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,Au(e,n)));break;case 22:d=e.memoizedState!==null,m=o!==null&&o.memoizedState!==null;var v=zt,A=Xe,O=Ar;zt=v||d,Ar=O||d,Xe=A||m,on(n,e,i),Xe=A,Ar=O,zt=v,sn(e),c&8192&&(n=e.stateNode,n._visibility=d?n._visibility&-2:n._visibility|1,!d||o===null||m||zt||Xe||(n=m||Xe,i=zt,o=Xe,zt=d||zt,Xe=n,Ai(e,2),zt=i,Xe=o),!d&&Ar||Uf(e,d)),c&4&&(n=e.updateQueue,n!==null&&(i=n.retryQueue,i!==null&&(n.retryQueue=null,Au(e,i))));break;case 19:on(n,e,i),sn(e),c&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,Au(e,n)));break;case 30:c&512&&(Xe||o===null||Kt(o,o.return)),c=Ym(),d=As,m=(i&335544064)===i,v=e.memoizedProps,As=m&&Hr(v.default,v.update)!=="none",on(n,e,i),sn(e),m&&o!==null&&$e&&(e.flags|=4),As=d,$e=c;break;case 21:break;case 7:c&512&&(Xe||o===null||Kt(o,o.return)),o&&o.stateNode!==null&&(o.stateNode._fragmentFiber=e);default:on(n,e,i),sn(e)}}function sn(e){var n=e.flags;if(n&2){try{for(var i,o=e.return;o!==null;){if(db(o)){i=o;break}o=o.return}o=null;for(var c=e.return;c!==null;){if(Cf(c)){var d=c.stateNode;o===null?o=[d]:o.push(d)}if(wf(c))break;c=c.return}var m=o;if(i==null)throw Error(s(160));switch(i.tag){case 27:var v=i.stateNode,A=Pf(e);yu(e,A,v,m);break;case 5:var O=i.stateNode;i.flags&32&&(Ua(O,""),i.flags&=-33);var j=Pf(e);yu(e,j,O,m);break;case 3:case 4:var V=i.stateNode.containerInfo,M=Pf(e);Mf(e,M,V,m);break;default:throw Error(s(161))}}catch(I){et(e,e.return,I)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function xb(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;xb(n),n.tag===5&&n.flags&1024&&(n=n.stateNode,_o=!0,n.reset(),_o=!1),e=e.sibling}}function ro(e,n){if(n.subtreeFlags&9270)for(n=n.child;n!==null;)kb(n,e),n=n.sibling;else bb(n)}function kb(e,n){var i=e.alternate;if(i===null)Df(e,!1);else switch(e.tag){case 3:if(zf=Tr=!1,pb(),ro(n,e),!Tr&&!_u){if(e=_r,e!==null)for(var o=0;o<e.length;o+=3){i=e[o];var c=e[o+1];mv(i,e[o+2]),i=i.ownerDocument.documentElement,i!==null&&i.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+c+")"})}e=n.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),zf=!0}_r=null;break;case 5:ro(n,e);break;
9case 4:o=Tr,Tr=!1,ro(n,e),Tr&&(_u=!0),Tr=o;break;case 22:e.memoizedState===null&&(i.memoizedState!==null?Df(e,!1):ro(n,e));break;case 30:o=Tr,c=pb(),Tr=!1,ro(n,e),Tr&&(e.flags|=4);var d=e.memoizedProps,m=e.stateNode;n=jr(d,m),m=jr(i.memoizedProps,m);var v=Hr(d.default,d.update);v==="none"?n=!1:(d=i.memoizedState,i.memoizedState=null,i=e.child,hn=0,n=Lf(e,i,n,m,v,d,!0),hn!==(d===null?0:d.length)&&(e.flags|=32)),(e.flags&4)!==0&&n?(co(e,e.memoizedProps.onUpdate),_r=c):c!==null&&(c.push.apply(c,_r),_r=c),Tr=(e.flags&32)!==0?!0:o;break;default:ro(n,e)}}function wr(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)Sb(e,n.alternate,n),n=n.sibling}function Ai(e,n){for(e=e.child;e!==null;){var i=e,o=n;switch(i.tag){case 0:case 11:case 14:case 15:Ei(4,i,i.return),Ai(i,o);break;case 1:Kt(i,i.return);var c=i.stateNode;typeof c.componentWillUnmount=="function"&&ub(i,i.return,c),Ai(i,o);break;case 27:(o&2)!==0&&xv(i.stateNode,i.type,i.memoizedProps);case 5:Kt(i,i.return),i.tag!==5&&i.tag!==27||Es(i),Ai(i,o);break;case 6:Es(i);break;case 26:Kt(i,i.return),c=i.stateNode,i.memoizedState!==null||c===null||Xe||c.parentNode.removeChild(c),Ai(i,o);break;case 22:i.memoizedState===null&&Ai(i,o);break;case 30:Kt(i,i.return),Ai(i,o);break;case 7:Kt(i,i.return);default:Ai(i,o)}e=e.sibling}}function rr(e,n,i){for(i=(n.subtreeFlags&8772)!==0?i:i&-2,n=n.child;n!==null;){var o=n.alternate,c=e,d=n,m=d.flags,v=(i&1)!==0;switch(d.tag){case 0:case 11:case 15:rr(c,d,i),_s(4,d);break;case 1:if(rr(c,d,i),o=d,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(j){et(o,o.return,j)}if(o=d,c=o.updateQueue,c!==null){var A=o.stateNode;try{var O=c.shared.hiddenCallbacks;if(O!==null)for(c.shared.hiddenCallbacks=null,c=0;c<O.length;c++)Qg(O[c],A)}catch(j){et(o,o.return,j)}}v&&m&64&&lb(d),Sr(d,d.return);break;case 27:(i&2)!==0&&fb(d);case 5:d.tag!==5&&d.tag!==27||cb(d),rr(c,d,i),v&&o===null&&m&4&&xf(d),Sr(d,d.return);break;case 6:cb(d);break;case 26:A=d.stateNode,d.memoizedState!==null||A===null||zt||Ah(Os(A.ownerDocument),d.type,A),rr(c,d,i),v&&o===null&&m&4&&xf(d),Sr(d,d.return);break;case 12:rr(c,d,i);break;case 31:rr(c,d,i),v&&m&4&&Tb(c,d);break;case 13:rr(c,d,i),v&&m&4&&wb(c,d);break;case 22:d.memoizedState===null&&rr(c,d,i),Sr(d,d.return);break;case 30:rr(c,d,i),Sr(d,d.return);break;case 7:Sr(d,d.return);default:rr(c,d,i)}n=n.sibling}}function jf(e,n){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&ls(i))}function Hf(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&ls(e))}function Hn(e,n,i,o){var c=(i&335544064)===i;if(n.subtreeFlags&(c?10262:10256))for(n=n.child;n!==null;)Pb(e,n,i,o),n=n.sibling;else c&&yb(n)}function Pb(e,n,i,o){var c=(i&335544064)===i;c&&n.alternate===null&&n.return!==null&&n.return.alternate!==null&&Su(n);var d=n.flags;switch(n.tag){case 0:case 11:case 15:Hn(e,n,i,o),d&2048&&_s(9,n);break;case 1:Hn(e,n,i,o);break;case 3:Hn(e,n,i,o),c&&zf&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),d&2048&&(d=null,n.alternate!==null&&(d=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==d&&(n.refCount++,d!=null&&ls(d)));break;case 12:if(d&2048){Hn(e,n,i,o),d=n.stateNode;try{var m=n.memoizedProps,v=m.id,A=m.onPostCommit;typeof A=="function"&&A(v,n.alternate===null?"mount":"update",d.passiveEffectDuration,-0)}catch(O){et(n,n.return,O)}}else Hn(e,n,i,o);break;case 31:Hn(e,n,i,o);break;case 13:Hn(e,n,i,o);break;case 23:break;case 22:m=n.stateNode,v=n.alternate,n.memoizedState!==null?(c&&v!==null&&v.memoizedState===null&&Su(v),m._visibility&2?Hn(e,n,i,o):Ts(e,n)):(c&&v!==null&&v.memoizedState!==null&&Su(n),m._visibility&2?Hn(e,n,i,o):(m._visibility|=2,io(e,n,i,o,(n.subtreeFlags&10256)!==0||!1))),d&2048&&jf(v,n);break;case 24:Hn(e,n,i,o),d&2048&&Hf(n.alternate,n);break;case 30:c&&(d=n.alternate,d!==null&&(Er(d.child,!0),Er(n.child,!0))),Hn(e,n,i,o);break;default:Hn(e,n,i,o)}}function io(e,n,i,o,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var d=e,m=n,v=i,A=o,O=m.flags;switch(m.tag){case 0:case 11:case 15:io(d,m,v,A,c),_s(8,m);break;case 23:break;case 22:var j=m.stateNode;m.memoizedState!==null?j._visibility&2?io(d,m,v,A,c):Ts(d,m):(j._visibility|=2,io(d,m,v,A,c)),c&&O&2048&&jf(m.alternate,m);break;case 24:io(d,m,v,A,c),c&&O&2048&&Hf(m.alternate,m);break;default:io(d,m,v,A,c)}n=n.sibling}}function Ts(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var i=e,o=n,c=o.flags;switch(o.tag){case 22:Ts(i,o),c&2048&&jf(o.alternate,o);break;case 24:Ts(i,o),c&2048&&Hf(o.alternate,o);break;default:Ts(i,o)}n=n.sibling}}var ca=8192;function da(e,n,i){if(e.subtreeFlags&ca)for(e=e.child;e!==null;)Mb(e,n,i),e=e.sibling}function Mb(e,n,i){switch(e.tag){case 26:da(e,n,i),e.flags&ca&&(e.memoizedState!==null?JC(i,nr,e.memoizedState,e.memoizedProps):(e=e.stateNode,(n&335544128)===n&&zv(i,e)));break;case 5:da(e,n,i),e.flags&ca&&(e=e.stateNode,(n&335544128)===n&&zv(i,e));break;case 3:case 4:var o=nr;nr=Os(e.stateNode.containerInfo),da(e,n,i),nr=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=ca,ca=16777216,da(e,n,i),ca=o):da(e,n,i));break;case 30:if((e.flags&ca)!==0&&(o=e.memoizedProps.name,o!=null&&o!=="auto")){var c=e.stateNode;c.paired=null,Tn===null&&(Tn=new Map),Tn.set(o,c)}da(e,n,i);break;default:da(e,n,i)}}function Db(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function ws(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];Ut=o,Rb(o,e)}Db(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ob(e),e=e.sibling}function Ob(e){switch(e.tag){case 0:case 11:case 15:ws(e),e.flags&2048&&Ei(9,e,e.return);break;case 3:ws(e);break;case 12:ws(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,Tu(e)):ws(e);break;default:ws(e)}}function Tu(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];Ut=o,Rb(o,e)}Db(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:Ei(8,n,n.return),Tu(n);break;case 22:i=n.stateNode,i._visibility&2&&(i._visibility&=-3,Tu(n));break;default:Tu(n)}e=e.sibling}}function Rb(e,n){for(;
vendor: 7,568 bytes, line 9
9Ut!==null;){var i=Ut;switch(i.tag){case 0:case 11:case 15:Ei(8,i,n);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var o=i.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:ls(i.memoizedState.cache)}if(o=i.child,o!==null)o.return=i,Ut=o;else e:for(i=e;Ut!==null;){o=Ut;var c=o.sibling,d=o.return;if(Eb(o),o===i){Ut=null;break e}if(c!==null){c.return=d,Ut=c;break e}Ut=d}}}var Ww={getCacheForType:function(e){var n=Gt(xt),i=n.data.get(e);return i===void 0&&(i=e(),n.data.set(e,i)),i},cacheSignal:function(){return Gt(xt).controller.signal}},$w=typeof WeakMap=="function"?WeakMap:Map,Qe=0,ot=null,je=null,Fe=0,Je=0,wn=null,Ti=!1,ao=!1,Ff=!1,Qr=0,Tt=0,wi=0,fa=0,wu=0,Cn=0,oo=0,Cs=null,mn=null,Gf=!1,Cu=0,Nb=0,xu=1/0,ku=null,Ci=null,St=0,ir=null,ha=null,Cr=0,Vf=0,qf=null,Lb=null,so=null,lo=null,uo=null,xs=0,Pu=null;function xn(){return(Qe&2)!==0&&Fe!==0?Fe&-Fe:fe.T!==null?th():nn()}function Ib(){if(Cn===0)if((Fe&536870912)===0||ze){var e=W;W<<=1,(W&3932160)===0&&(W=262144),Cn=e}else Cn=536870912;return e=Vt.current,e!==null&&(e.flags|=32),Cn}function co(e,n){if(n!=null){var i=e.stateNode,o=i.ref;o===null&&(o=i.ref=gv(jr(e.memoizedProps,i))),lo===null&&(lo=[]),lo.push(n.bind(null,o))}}function gn(e,n,i){(e===ot&&(Je===2||Je===9)||e.cancelPendingCommit!==null)&&(fo(e,0),xi(e,Fe,Cn,!1)),Re(e,i),((Qe&2)===0||e!==ot)&&(e===ot&&((Qe&2)===0&&(fa|=i),Tt===4&&xi(e,Fe,Cn,!1)),xr(e))}function zb(e,n,i){if((Qe&6)!==0)throw Error(s(327));var o=!i&&(n&127)===0&&(n&e.expiredLanes)===0||ne(e,n),c=o?Zw(e,n):Yf(e,n,!0),d=o;do{if(c===0){ao&&!o&&xi(e,n,0,!1);break}else{if(i=e.current.alternate,d&&!Qw(i)){c=Yf(e,n,!1),d=!1;continue}if(c===2){if(d=n,e.errorRecoveryDisabledLanes&d)var m=0;else m=e.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){n=m;e:{var v=e;c=Cs;var A=v.current.memoizedState.isDehydrated;if(A&&(fo(v,m).flags|=256),m=Yf(v,m,!1),m!==2&&m!==6){if(Ff&&!A){v.errorRecoveryDisabledLanes|=d,fa|=d,c=4;break e}d=mn,mn=c,d!==null&&(mn===null?mn=d:mn.push.apply(mn,d))}c=m}if(d=!1,c!==2)continue}}if(c===1){fo(e,0),xi(e,n,0,!0);break}e:{switch(o=e,d=c,d){case 0:case 1:throw Error(s(345));case 4:if((n&4194048)!==n&&(n&62914560)!==n)break;case 6:xi(o,n,Cn,!Ti);break e;case 2:mn=null;break;case 3:case 5:break;default:throw Error(s(329))}if((n&62914560)===n&&(c=Cu+300-en(),10<c)){if(xi(o,n,Cn,!Ti),se(o,0,!0)!==0)break e;Cr=n,o.timeoutHandle=fh(Ub.bind(null,o,i,mn,ku,Gf,n,Cn,fa,oo,Ti,d,"Throttled",-0,0),c);break e}Ub(o,i,mn,ku,Gf,n,Cn,fa,oo,Ti,d,null,-0,0)}}break}while(!0);xr(e)}function Ub(e,n,i,o,c,d,m,v,A,O,j,V,M,I){e.timeoutHandle=-1;var ee=n.subtreeFlags,ce=(d&335544064)===d;if(V=null,(ce||ee&8192||(ee&16785408)===16785408)&&(V={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:yr},Tn=null,Mb(n,d,V),ce&&(ee=V,ce=e.containerInfo,ce=(ce.nodeType===9?ce:ce.ownerDocument).__reactViewTransition,ce!=null&&(ee.count++,ee.waitingForViewTransition=!0,ee=Ls.bind(ee),ce.finished.then(ee,ee))),ee=(d&62914560)===d?Cu-en():(d&4194048)===d?Nb-en():0,ee=ex(V,ee),ee!==null)){Cr=d,e.cancelPendingCommit=ee(Kb.bind(null,e,n,d,i,o,c,m,v,A,O,j,V,null,M,I)),xi(e,d,m,!O);return}Kb(e,n,d,i,o,c,m,v,A,O,j,V)}function Qw(e){for(var n=e;;){var i=n.tag;if((i===0||i===11||i===15)&&n.flags&16384&&(i=n.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var o=0;o<i.length;o++){var c=i[o],d=c.getSnapshot;c=c.value;try{if(!En(d(),c))return!1}catch{return!1}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function xi(e,n,i,o){n=re(e,n),n&=~wu,n&=~fa,e.suspendedLanes|=n,e.pingedLanes&=~n,o&&(e.warmLanes|=n),o=e.expirationTimes;for(var c=n;0<c;){var d=31-tn(c),m=1<<d;o[d]=-1,c&=~m}i!==0&&We(e,i,n)}function Mu(){return(Qe&6)===0?(ks(0),!1):!0}function Kf(){if(je!==null){if(Je===0)var e=je.return;else e=je,Vr=ea=null,Jd(e),Xa=null,ds=0,e=je;for(;e!==null;)sb(e.alternate,e),e=e.return;je=null}}function fo(e,n){var i=e.timeoutHandle;return i!==-1&&(e.timeoutHandle=-1,SC(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),Cr=0,Kf(),ot=e,je=i=Fr(e.current,null),Fe=n,Je=0,wn=null,Ti=!1,ao=ne(e,n),Ff=!1,oo=Cn=wu=fa=wi=Tt=0,mn=Cs=null,Gf=!1,Qr=re(e,n),Ul(),i}function Bb(e,n){De=null,fe.H=uu,n===Qa||n===$l?(n=Kg(),Je=3):n===jd?(n=Kg(),Je=4):Je=n===mf?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,wn=n,je===null&&(Tt=1,cu(e,zn(n,e.current)))}function jb(){var e=Vt.current;return e===null?!0:(Fe&4194048)===Fe?Xt===null:(Fe&62914560)===Fe||(Fe&536870912)!==0?e===Xt:!1}function Hb(){var e=fe.H;return fe.H=uu,e===null?uu:e}function Fb(){var e=fe.A;return fe.A=Ww,e}function Du(){Tt=4,Ti||(Fe&4194048)!==Fe&&Vt.current!==null||(ao=!0),(wi&134217727)===0&&(fa&134217727)===0||ot===null||xi(ot,Fe,Cn,!1)}function Yf(e,n,i){var o=Qe;Qe|=2;var c=Hb(),d=Fb();(ot!==e||Fe!==n)&&(ku=null,fo(e,n)),n=!1;var m=Tt;e:do try{if(Je!==0&&je!==null){var v=je,A=wn;switch(Je){case 8:Kf(),m=6;break e;case 3:case 2:case 9:case 6:Vt.current===null&&(n=!0);var O=Je;if(Je=0,wn=null,ho(e,v,A,O),i&&ao){m=0;break e}break;default:O=Je,Je=0,wn=null,ho(e,v,A,O)}}Xw(),m=Tt;break}catch(j){Bb(e,j)}while(!0);return n&&e.shellSuspendCounter++,Vr=ea=null,Qe=o,fe.H=c,fe.A=d,je===null&&(ot=null,Fe=0,Ul()),m}function Xw(){for(;je!==null;)Gb(je)}function Zw(e,n){var i=Qe;Qe|=2;var o=Hb(),c=Fb();ot!==e||Fe!==n?(ku=null,xu=en()+500,fo(e,n)):ao=ne(e,n);e:do try{if(Je!==0&&je!==null){n=je;var d=wn;t:switch(Je){case 1:Je=0,wn=null,ho(e,n,d,1);break;case 2:case 9:if(Vg(d)){Je=0,wn=null,Vb(n);break}n=function(){Je!==2&&Je!==9||ot!==e||(Je=7),xr(e)},d.then(n,n);break e;case 3:Je=7;break e;case 4:Je=5;break e;case 7:Vg(d)?(Je=0,wn=null,Vb(n)):(Je=0,wn=null,ho(e,n,d,7));break;case 5:var m=null;switch(je.tag){case 26:m=je.memoizedState;case 5:case 27:var v=je;if(m?Lv(m):v.stateNode.complete){Je=0,wn=null;var A=v.sibling;if(A!==null)je=A;else{var O=v.return;O!==null?(je=O,Ou(O)):je=null}break t}}Je=0,wn=null,ho(e,n,d,5);break;case 6:Je=0,wn=null,ho(e,n,d,6);break;case 8:Kf(),Tt=6;break e;default:throw Error(s(462))}}Jw();break}catch(j){Bb(e,j)}while(!0);return Vr=ea=null,fe.H=o,fe.A=c,Qe=i,je!==null?0:(ot=null,Fe=0,Ul(),Tt)}function Jw(){for(;je!==null&&!Al();)Gb(je)}function Gb(e){var n=ab(e.alternate,e,Qr);e.memoizedProps=e.pendingProps,n===null?Ou(e):je=n}function Vb(e){var n=e,i=n.alternate;switch(n.tag){case 15:case 0:n=Zy(i,n,n.pendingProps,n.type,void 0,Fe);break;case 11:n=Zy(i,n,n.pendingProps,n.type.render,n.ref,Fe);break;case 5:Jd(n);var o=n;o===It&&(ze?(Vl(o),o.tag===5&&o.stateNode!=null&&(dt=o.stateNode)):(Vl(o),ze=!0));default:sb(i,n),n=je=Rg(n,Qr),n=ab(i,n,Qr)}e.memoizedProps=e.pendingProps,n===null?Ou(e):je=n}function ho(e,n,i,o){Vr=ea=null,Jd(n),Xa=null,ds=0;var c=n.return;try{if(jw(e,c,n,i,Fe)){Tt=1,cu(e,zn(i,e.current)),je=null;return}}catch(d){if(c!==null)throw je=c,d;Tt=1,cu(e,zn(i,e.current)),je=null;return}n.flags&32768?(ze||o===1?e=!0:ao||(Fe&536870912)!==0?e=!1:(Ti=e=!0,(o===2||o===9||o===3||o===6)&&(o=Vt.current,o!==null&&o.tag===13&&(o.flags|=16384))),qb(n,e)):Ou(n)}function Ou(e){var n=e;do{if((n.flags&32768)!==0){qb(n,Ti);return}e=n.return;var i=Vw(n.alternate,n,Qr);if(i!==null){je=i;return}if(n=n.sibling,n!==null){je=n;return}je=n=e}while(n!==null);Tt===0&&(Tt=5)}function qb(e,n){do{var i=qw(e.alternate,e);if(i!==null){i.flags&=32767,je=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deleti
9ons=null),!n&&(e=e.sibling,e!==null)){je=e;return}je=e=i}while(e!==null);Tt=6,je=null}function Kb(e,n,i,o,c,d,m,v,A,O,j,V){e.cancelPendingCommit=null;do Ru();while(St!==0);if((Qe&6)!==0)throw Error(s(327));if(n!==null){if(n===e.current)throw Error(s(177));e===ot&&(je=ot=null,Fe=0),ha=n,ir=e,Cr=i,qf=c,Lb=o,eC(e,n,i,m,v,A,V)}}function eC(e,n,i,o,c,d,m){var v=n.lanes|n.childLanes;if(Vf=v,v|=xd,yt(e,i,v,o,c,d),lo=null,(i&335544064)===i?(uo=kw(e),o=10262):(uo=null,o=10256),(n.subtreeFlags&o)!==0||(n.flags&o)!==0?(e.callbackNode=null,e.callbackPriority=0,oC(si,function(){return Xf(),null})):(e.callbackNode=null,e.callbackPriority=0),bu=!1,o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=fe.T,fe.T=null,c=Te.p,Te.p=2,d=Qe,Qe|=4;try{Kw(e,n,i)}finally{Qe=d,Te.p=c,fe.T=o}}St=1,bu?so=CC(m,e.containerInfo,uo,Wf,$f,nC,Qf,Xf,tC):(Wf(),$f(),Qf())}function tC(e){if(St!==0){var n=ir.onRecoverableError;n(e,{componentStack:null})}}function nC(){St===3&&(St=0,kb(ha,ir),St=4)}function Wf(){if(St===1){St=0;var e=ir,n=ha,i=Cr,o=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||o){o=fe.T,fe.T=null;var c=Te.p;Te.p=2;var d=Qe;Qe|=4;try{As=_u=!1,Cb(n,e,i),i=uh;var m=Ag(e.containerInfo),v=i.focusedElem,A=i.selectionRange;if(m!==v&&v&&v.ownerDocument&&Eg(v.ownerDocument.documentElement,v)){if(A!==null&&Ed(v)){var O=A.start,j=A.end;if(j===void 0&&(j=O),"selectionStart"in v)v.selectionStart=O,v.selectionEnd=Math.min(j,v.value.length);else{var V=v.ownerDocument||document,M=V&&V.defaultView||window;if(M.getSelection){var I=M.getSelection(),ee=v.textContent.length,ce=Math.min(A.start,ee),Oe=A.end===void 0?ce:Math.min(A.end,ee);!I.extend&&ce>Oe&&(m=Oe,Oe=ce,ce=m);var D=_g(v,ce),C=_g(v,Oe);if(D&&C&&(I.rangeCount!==1||I.anchorNode!==D.node||I.anchorOffset!==D.offset||I.focusNode!==C.node||I.focusOffset!==C.offset)){var N=V.createRange();N.setStart(D.node,D.offset),I.removeAllRanges(),ce>Oe?(I.addRange(N),I.extend(C.node,C.offset)):(N.setEnd(C.node,C.offset),I.addRange(N))}}}}for(V=[],I=v;I=I.parentNode;)I.nodeType===1&&V.push({element:I,left:I.scrollLeft,top:I.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<V.length;v++){var G=V[v];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}_o=!!lh,uh=lh=null}finally{Qe=d,Te.p=c,fe.T=o}}e.current=n,St=2}}function $f(){if(St===2){St=0;var e=ir,n=ha,i=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||i){i=fe.T,fe.T=null;var o=Te.p;Te.p=2;var c=Qe;Qe|=4;try{Sb(e,n.alternate,n)}finally{Qe=c,Te.p=o,fe.T=i}}St=3}}function Qf(){if(St===4||St===3){St=0;var e=so;so=null,Tl();var n=ir,i=ha,o=Cr,c=Lb,d=(o&335544064)===o?10262:10256;if((i.subtreeFlags&d)!==0||(i.flags&d)!==0?St=5:(St=0,ha=ir=null,Yb(n,n.pendingLanes)),d=n.pendingLanes,d===0&&(Ci=null),Ot(o),i=i.stateNode,Lt&&typeof Lt.onCommitFiberRoot=="function")try{Lt.onCommitFiberRoot(mr,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=fe.T,d=Te.p,Te.p=2,fe.T=null;try{for(var m=n.onRecoverableError,v=0;v<c.length;v++){var A=c[v];m(A.value,{componentStack:A.stack})}}finally{fe.T=i,Te.p=d}}if(c=lo,m=uo,uo=null,c!==null&&(lo=null,m===null&&(m=[]),e!==null))for(A=0;A<c.length;A++)i=(0,c[A])(m),i!==void 0&&e.finished.finally(i);(Cr&3)!==0&&Ru(),xr(n),d=n.pendingLanes,(o&261930)!==0&&(d&42)!==0?n===Pu?xs++:(xs=0,Pu=n):(xs=0,Pu=null),ks(0)}}function Yb(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,ls(n)))}function Ru(){return so!==null&&(so.skipTransition(),so=null),Wf(),$f(),Qf(),Xf()}function Xf(){if(St!==5)return!1;var e=ir,n=Vf;Vf=0;var i=Ot(Cr),o=fe.T,c=Te.p;try{Te.p=32>i?32:i,fe.T=null,i=qf,qf=null;var d=ir,m=Cr;if(St=0,ha=ir=null,Cr=0,(Qe&6)!==0)throw Error(s(331));var v=Qe;if(Qe|=4,Ob(d.current),Pb(d,d.current,m,i),Qe=v,ks(0,!1),Lt&&typeof Lt.onPostCommitFiberRoot=="function")try{Lt.onPostCommitFiberRoot(mr,d)}catch{}return!0}finally{Te.p=c,fe.T=o,Yb(e,n)}}function Wb(e,n,i){n=zn(i,n),n=pf(e.stateNode,n,2),e=bi(e,n,2),e!==null&&(Re(e,2),xr(e))}function et(e,n,i){if(e.tag===3)Wb(e,e,i);else for(;n!==null;){if(n.tag===3){Wb(n,e,i);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Ci===null||!Ci.has(o))){e=zn(i,e),i=Vy(2),o=bi(n,i,2),o!==null&&(qy(i,o,n,e),Re(o,2),xr(o));break}}n=n.return}}function Zf(e,n,i){var o=e.pingCache;if(o===null){o=e.pingCache=new $w;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(i)||(Ff=!0,c.add(i),e=rC.bind(null,e,n,i),n.then(e,e))}function rC(e,n,i){var o=e.pingCache;o!==null&&o.delete(n),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,ot===e&&(Fe&i)===i&&((Tt===4||Tt===3&&(Fe&62914560)===Fe&&300>en()-Cu)&&(Qe&2)===0?fo(e,0):wu|=i,oo===Fe&&(oo=0)),xr(e)}function $b(e,n){n===0&&(n=me()),e=Xi(e,n),e!==null&&(Re(e,n),xr(e))}function iC(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),$b(e,i)}function aC(e,n){var i=0;switch(e.tag){case 31:case 13:var o=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(s(314))}
9o!==null&&o.delete(n),$b(e,i)}function oC(e,n){return bn(e,n)}var po=null,mo=null,Jf=!1,Nu=!1,eh=!1,ki=0;function xr(e){e!==mo&&e.next===null&&(mo===null?po=mo=e:mo=mo.next=e),Nu=!0,Jf||(Jf=!0,lC())}function ks(e,n){if(!eh&&Nu){eh=!0;do for(var i=!1,o=po;o!==null;){if(e!==0){var c=o.pendingLanes;if(c===0)var d=0;else{var m=o.suspendedLanes,v=o.pingedLanes;d=(1<<31-tn(42|e)+1)-1,d&=c&~(m&~v),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(i=!0,Jb(o,d))}else d=Fe,d=se(o,o===ot?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||ne(o,d)||(i=!0,Jb(o,d));o=o.next}while(i);eh=!1}}function sC(){Qb()}function Qb(){Nu=Jf=!1;var e=0;ki!==0&&vC()&&(e=ki);for(var n=en(),i=null,o=po;o!==null;){var c=o.next,d=Xb(o,n);d===0?(o.next=null,i===null?po=c:i.next=c,c===null&&(mo=i)):(i=o,(e!==0||(d&3)!==0)&&(Nu=!0)),o=c}St!==0&&St!==5||ks(e),ki!==0&&(ki=0)}function Xb(e,n){for(var i=e.suspendedLanes,o=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var m=31-tn(d),v=1<<m,A=c[m];A===-1?((v&i)===0||(v&o)!==0)&&(c[m]=Ce(v,n)):A<=n&&(e.expiredLanes|=v),d&=~v}if(n=ot,i=Fe,i=se(e,e===n?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,i===0||e===n&&(Je===2||Je===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Na(o),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||ne(e,i)){if(n=i&-i,n===e.callbackPriority)return n;switch(o!==null&&Na(o),Ot(i)){case 2:case 8:i=Wo;break;case 32:i=si;break;case 268435456:i=$o;break;default:i=si}return o=Zb.bind(null,e),i=bn(i,o),e.callbackPriority=n,e.callbackNode=i,n}return o!==null&&o!==null&&Na(o),e.callbackPriority=2,e.callbackNode=null,2}function Zb(e,n){if(St!==0&&St!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(Ru()&&e.callbackNode!==i)return null;var o=Fe;return o=se(e,e===ot?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(zb(e,o,n),Xb(e,en()),e.callbackNode!=null&&e.callbackNode===i?Zb.bind(null,e):null)}function Jb(e,n){if(Ru())return null;zb(e,n,!0)}function lC(){_C(function(){(Qe&6)!==0?bn(Ki,sC):Qb()})}function th(){if(ki===0){var e=ra;e===0&&(e=z,z<<=1,(z&261888)===0&&(z=256)),ki=e}return ki}function ev(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ml(e)}function uC(e,n,i,o,c){if(n==="submit"&&i&&i.stateNode===c){var d=ev((c[at]||null).action),m=o.submitter;m&&(n=(n=m[at]||null)?ev(n.formAction):m.getAttribute("formAction"),n!==null&&(d=n,m=null));var v=new Nl("action","action",null,o,c);e.push({event:v,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(ki!==0){var A=new FormData(c,m);uf(i,{pending:!0,data:A,method:c.method,action:d},null,A)}}else typeof d=="function"&&(v.preventDefault(),A=new FormData(c,m),uf(i,{pending:!0,data:A,method:c.method,action:d},d,A))},currentTarget:c}]})}}for(var nh=0;nh<Cd.length;nh++){var rh=Cd[nh],cC=rh.toLowerCase(),dC=rh[0].toUpperCase()+rh.slice(1);er(cC,"on"+dC)}er(Cg,"onAnimationEnd"),er(xg,"onAnimationIteration"),er(kg,"onAnimationStart"),er("dblclick","onDoubleClick"),er("focusin","onFocus"),er("focusout","onBlur"),er(Sw,"onTransitionRun"),er(_w,"onTransitionStart"),er(Ew,"onTransitionCancel"),er(Pg,"onTransitionEnd"),Ia("onMouseEnter",["mouseout","mouseover"]),Ia("onMouseLeave",["mouseout","mouseover"]),Ia("onPointerEnter",["pointerout","pointerover"]),Ia("onPointerLeave",["pointerout","pointerover"]),Wi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Wi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Wi("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Wi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Wi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ps="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(" "),fC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ps));function tv(e,n){n=(n&4)!==0;for(var i=0;i<e.length;i++){var o=e[i],c=o.event;o=o.listeners;e:{var d=void 0;if(n)for(var m=o.length-1;0<=m;m--){var v=o[m],A=v.instance,O=v.currentTarget;if(v=v.listener,A!==d&&c.isPropagationStopped())break e;d=v,c.currentTarget=O;try{d(c)}catch(j){zl(j)}c.currentTarget=null,d=A}else for(m=0;m<o.length;m++){if(v=o[m],A=v.instance,O=v.currentTarget,v=v.listener,A!==d&&c.isPropagationStopped())break e;d=v,c.currentTarget=O;try{d(c)}catch(j){zl(j)}c.currentTarget=null,d=A}}}}function He(e,n){var i=n[Ir];i===void 0&&(i=n[Ir]=new Set);var o=e+"__bubble";
vendor: 5,671 bytes, lines 9-10
9i.has(o)||(nv(n,e,2,!1),i.add(o))}function ih(e,n,i){var o=0;n&&(o|=4),nv(i,e,o,n)}var Lu="_reactListening"+Math.random().toString(36).slice(2);function ah(e){if(!e[Lu]){e[Lu]=!0,xl.forEach(function(i){i!=="selectionchange"&&(fC.has(i)||ih(i,!1,e),ih(i,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Lu]||(n[Lu]=!0,ih("selectionchange",!1,n))}}function nv(e,n,i,o){switch(qv(n)){case 2:var c=ix;break;case 8:c=ax;break;default:c=wh}i=c.bind(null,n,i,e),c=void 0,!fd||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?e.addEventListener(n,i,{capture:!0,passive:c}):e.addEventListener(n,i,!0):c!==void 0?e.addEventListener(n,i,{passive:c}):e.addEventListener(n,i,!1)}function oh(e,n,i,o,c){var d=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var m=o.tag;if(m===3||m===4){var v=o.stateNode.containerInfo;if(v===c)break;if(m===4)for(m=o.return;m!==null;){var A=m.tag;if((A===3||A===4)&&m.stateNode.containerInfo===c)return;m=m.return}for(;v!==null;){if(m=Ft(v),m===null)return;if(A=m.tag,A===5||A===6||A===26||A===27){o=d=m;continue e}v=v.parentNode}}o=o.return}ng(function(){var O=d,j=cd(i),V=[];e:{var M=Mg.get(e);if(M!==void 0){var I=Nl,ee=e;switch(e){case"keypress":if(Ol(i)===0)break e;case"keydown":case"keyup":I=QT;break;case"focusin":ee="focus",I=gd;break;case"focusout":ee="blur",I=gd;break;case"beforeblur":case"afterblur":I=gd;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":I=ag;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":I=UT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":I=tw;break;case Cg:case xg:case kg:I=HT;break;case Pg:I=rw;break;case"scroll":case"scrollend":I=IT;break;case"wheel":I=aw;break;case"copy":case"cut":case"paste":I=GT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":I=sg;break;case"submit":I=JT;break;case"toggle":case"beforetoggle":I=sw}var ce=(n&4)!==0,Oe=!ce&&(e==="scroll"||e==="scrollend"),D=ce?M!==null?M+"Capture":null:M;ce=[];for(var C=O,N;C!==null;){var G=C;if(N=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||N===null||D===null||(G=Xo(C,D),G!=null&&ce.push(Ms(C,G,N))),Oe)break;C=C.return}0<ce.length&&(M=new I(M,ee,null,i,j),V.push({event:M,listeners:ce}))}}if((n&7)===0){e:{if(I=e==="mouseover"||e==="pointerover",M=e==="mouseout"||e==="pointerout",I&&i!==ud&&(ee=i.relatedTarget||i.fromElement)&&(Ft(ee)||ee[vn]))break e;(M||I)&&(ee=j.window===j?j:(I=j.ownerDocument)?I.defaultView||I.parentWindow:window,M?(I=i.relatedTarget||i.toElement,M=O,I=I?Ft(I):null,I!==null&&(Oe=u(I),ce=I.tag,I!==Oe||ce!==5&&ce!==27&&ce!==6)&&(I=null)):(M=null,I=O),M!==I&&(ce=ag,G="onMouseLeave",D="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(ce=sg,G="onPointerLeave",D="onPointerEnter",C="pointer"),Oe=M==null?ee:zr(M),N=I==null?ee:zr(I),ee=new ce(G,C+"leave",M,i,j),ee.target=Oe,ee.relatedTarget=N,G=null,Ft(j)===O&&(ce=new ce(D,C+"enter",I,i,j),ce.target=N,ce.relatedTarget=Oe,G=ce),Oe=G,ce=M&&I?be(M,I,hC):null,M!==null&&rv(V,ee,M,ce,!1),I!==null&&Oe!==null&&rv(V,Oe,I,ce,!0)))}e:{if(M=O?zr(O):window,I=M.nodeName&&M.nodeName.toLowerCase(),I==="select"||I==="input"&&M.type==="file")var ae=mg;else if(hg(M))if(gg)ae=yw;else{ae=mw;var Ge=pw}else I=M.nodeName,!I||I.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?O&&ld(O.elementType)&&(ae=mg):ae=gw;if(ae&&(ae=ae(e,O))){pg(V,ae,i,j);break e}Ge&&Ge(e,M,O)}switch(Ge=O?zr(O):window,e){case"focusin":(hg(Ge)||Ge.contentEditable==="true")&&(Fa=Ge,Ad=O,as=null);break;case"focusout":as=Ad=Fa=null;break;case"mousedown":Td=!0;break;case"contextmenu":case"mouseup":case"dragend":Td=!1,Tg(V,i,j);break;case"selectionchange":if(vw)break;case"keydown":case"keyup":Tg(V,i,j)}var ge;if(bd)e:{switch(e){case"compositionstart":var Se="onCompositionStart";break e;case"compositionend":Se="onCompositionEnd";break e;case"compositionupdate":Se="onCompositionUpdate";break e}Se=void 0}else Ha?dg(e,i)&&(Se="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(Se="onCompositionStart");Se&&(lg&&i.locale!=="ko"&&(Ha||Se!=="onCompositionStart"?Se==="onCompositionEnd"&&Ha&&(ge=rg()):(ui=j,hd="value"in ui?ui.value:ui.textContent,Ha=!0)),Ge=Iu(O,Se),0<Ge.length&&(Se=new og(Se,e,null,i,j),V.push({event:Se,listeners:Ge}),ge?Se.data=ge:(ge=fg(i),ge!==null&&(Se.data=ge)))),(ge=uw?cw(e,i):dw(e,i))&&(Se=Iu(O,"onBeforeInput"),0<Se.length&&(Ge=new og("onBeforeInput","beforeinput",null,i,j),V.push({event:Ge,listeners:Se}),Ge.data=ge)),uC(V,e,O,i,j)}tv(V,n)})}function Ms(e,n,i){return{instance:e,listener:n,currentTarget:i}}function Iu(e,n){for(var i=n+"Capture",o=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=Xo(e,i),c!=null&&o.unshift(Ms(e,c,d)),c=Xo(e,n),c!=null&&o.push(Ms(e,c,d))),e.tag===3)return o;e=e.return}return[]}function hC(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function rv(e,n,i,o,c){for(var d=n._reactName,m=[];i!==null&&i!==o;){var v=i,A=v.alternate,O=v.stateNode;if(v=v.tag,A!==null&&A===o)break;v!==5&&v!==26&&v!==27||O===null||(A=O,c?(O=Xo(i,d),O!=null&&m.unshift(Ms(i,O,A))):c||(O=Xo(i,d),O!=null&&m.push(Ms(i,O,A)))),i=i.return}m.length!==0&&e.push({event:n,listeners:m})}var pC=/\r\n?/g,mC=/\u0000|\uFFFD/g;function iv(e){return(typeof e=="string"?e:""+e).replace(pC,` 10`).replace(mC,"")}function av(e,n){return n=iv(n),iv(e)===n}function tt(e,n,i,o,c,d){switch(i){case"children":if(typeof o=="str
10ing")n==="body"||n==="textarea"&&o===""||Ua(e,o);else if(typeof o=="number"||typeof o=="bigint")n!=="body"&&Ua(e,""+o);else return;break;case"className":Pl(e,"class",o);break;case"tabIndex":Pl(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Pl(e,i,o);break;case"style":eg(e,o,d);return;case"data":if(n!=="object"){Pl(e,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||i!=="href")){e.removeAttribute(i);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(i);break}o=Ml(o),e.setAttribute(i,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(i==="formAction"?(n!=="input"&&tt(e,n,"name",c.name,c,null),tt(e,n,"formEncType",c.formEncType,c,null),tt(e,n,"formMethod",c.formMethod,c,null),tt(e,n,"formTarget",c.formTarget,c,null)):(tt(e,n,"encType",c.encType,c,null),tt(e,n,"method",c.method,c,null),tt(e,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(i);break}o=Ml(o),e.setAttribute(i,o);break;case"onClick":o!=null&&(e.onclick=yr);return;case"onScroll":o!=null&&He("scroll",e);return;case"onScrollEnd":o!=null&&He("scrollend",e);return;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(s(61));if(i=o.__html,i!=null){if(c.children!=null)throw Error(s(60));d?.__html!==i&&(e.innerHTML=i)}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}i=Ml(o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,o):e.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":o===!0?e.setAttribute(i,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,o):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(i,o):e.removeAttribute(i);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(i):e.setAttribute(i,o);break;case"popover":He("beforetoggle",e),He("toggle",e),kl(e,"popover",o);break;case"xlinkActuate":Ur(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Ur(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Ur(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Ur(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Ur(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Ur(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Ur(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Ur(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Ur(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":kl(e,"is",o);break;case"innerText":case"textContent":return;default:if(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")i=NT.get(i)||i,kl(e,i,o);else return}$e=!0}function sh(e,n,i,o,c,d){switch(i){case"style":eg(e,o,d);return;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(s(61));if(i=o.__html,i!=null){if(c.children!=null)throw Error(s(60));d?.__html!==i&&(e.innerHTML=i)}}break;
10case"children":if(typeof o=="string")Ua(e,o);else if(typeof o=="number"||typeof o=="bigint")Ua(e,""+o);else return;break;case"onScroll":o!=null&&He("scroll",e);return;case"onScrollEnd":o!=null&&He("scrollend",e);return;case"onClick":o!=null&&(e.onclick=yr);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!Vm.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(c=i.endsWith("Capture"),d=i.slice(2,c?i.length-7:void 0),n=e[at]||null,n=n!=null?n[i]:null,typeof n=="function"&&e.removeEventListener(d,n,c),typeof o=="function")){typeof n!="function"&&n!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(d,o,c);break e}$e=!0,i in e?e[i]=o:o===!0?e.setAttribute(i,""):kl(e,i,o)}return}$e=!0}function Yt(e,n,i){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":He("error",e),He("load",e);var o=!1,c=!1,d;for(d in i)if(i.hasOwnProperty(d)){var m=i[d];if(m!=null)switch(d){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,n));default:tt(e,n,d,m,i,null)}}c&&tt(e,n,"srcSet",i.srcSet,i,null),o&&tt(e,n,"src",i.src,i,null);return;case"input":He("invalid",e);var v=d=m=c=null,A=null,O=null;for(o in i)if(i.hasOwnProperty(o)){var j=i[o];if(j!=null)switch(o){case"name":c=j;break;case"type":m=j;break;case"checked":A=j;break;case"defaultChecked":O=j;break;case"value":d=j;break;case"defaultValue":v=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(s(137,n));break;default:tt(e,n,o,j,i,null)}}Qm(e,d,v,A,O,m,c,!1);return;case"select":He("invalid",e),o=m=d=null;for(c in i)if(i.hasOwnProperty(c)&&(v=i[c],v!=null))switch(c){case"value":d=v;break;case"defaultValue":m=v;break;case"multiple":o=v;default:tt(e,n,c,v,i,null)}n=d,i=m,e.multiple=!!o,n!=null?za(e,!!o,n,!1):i!=null&&za(e,!!o,i,!0);return;case"textarea":He("invalid",e),d=c=o=null;for(m in i)if(i.hasOwnProperty(m)&&(v=i[m],v!=null))switch(m){case"value":o=v;break;case"defaultValue":c=v;break;case"children":d=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(s(91));break;default:tt(e,n,m,v,i,null)}Zm(e,o,c,d);return;case"option":for(A in i)i.hasOwnProperty(A)&&(o=i[A],o!=null)&&(A==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":tt(e,n,A,o,i,null));return;case"dialog":He("beforetoggle",e),He("toggle",e),He("cancel",e),He("close",e);break;case"iframe":case"object":He("load",e);break;case"video":case"audio":for(o=0;o<Ps.length;o++)He(Ps[o],e);break;case"image":He("error",e),He("load",e);break;case"details":He("toggle",e);break;case"embed":case"source":case"link":He("error",e),He("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(O in i)if(i.hasOwnProperty(O)&&(o=i[O],o!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,n));default:tt(e,n,O,o,i,null)}return;default:if(ld(n)){for(j in i)i.hasOwnProperty(j)&&(o=i[j],o!==void 0&&sh(e,n,j,o,i,void 0));return}}for(v in i)i.hasOwnProperty(v)&&(o=i[v],o!=null&&tt(e,n,v,o,i,null))}var gC={};function yC(e,n,i,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,m=null,v=null,A=null,O=null,j=null;for(I in i){var V=i[I];if(i.hasOwnProperty(I)&&V!=null)switch(I){case"checked":break;case"value":break;case"defaultValue":A=V;default:o.hasOwnProperty(I)||tt(e,n,I,null,o,V)}}for(var M in o){var I=o[M];if(V=i[M],o.hasOwnProperty(M)&&(I!=null||V!=null))switch(M){case"type":I!==V&&($e=!0),d=I;break;case"name":I!==V&&($e=!0),c=I;break;case"checked":I!==V&&($e=!0),O=I;break;case"defaultChecked":I!==V&&($e=!0),j=I;break;case"value":I!==V&&($e=!0),m=I;break;case"defaultValue":I!==V&&($e=!0),v=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(s(137,n));break;default:I!==V&&tt(e,n,M,I,o,V)}}od(e,m,v,A,O,j,d,c);return;case"select":I=m=v=M=null;for(d in i)if(A=i[d],i.hasOwnProperty(d)&&A!=null)switch(d){case"value":break;case"multiple":I=A;default:o.hasOwnProperty(d)||tt(e,n,d,null,o,A)}for(c in o)if(d=o[c],A=i[c],o.hasOwnProperty(c)&&(d!=null||A!=null))switch(c){case"value":d!==A&&($e=!0),M=d;break;case"defaultValue":d!==A&&($e=!0),v=d;break;case"multiple":d!==A&&($e=!0),m=d;default:d!==A&&tt(e,n,c,d,o,A)}n=v,i=m,o=I,M!=null?za(e,!!i,M,!1):!!o!=!!i&&(n!=null?za(e,!!i,n,!0):za(e,!!i,i?[]:"",!1));return;
10case"textarea":I=M=null;for(v in i)if(c=i[v],i.hasOwnProperty(v)&&c!=null&&!o.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:tt(e,n,v,null,o,c)}for(m in o)if(c=o[m],d=i[m],o.hasOwnProperty(m)&&(c!=null||d!=null))switch(m){case"value":c!==d&&($e=!0),M=c;break;case"defaultValue":c!==d&&($e=!0),I=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(s(91));break;default:c!==d&&tt(e,n,m,c,o,d)}Xm(e,M,I);return;case"option":for(var ee in i)M=i[ee],i.hasOwnProperty(ee)&&M!=null&&!o.hasOwnProperty(ee)&&(ee==="selected"?e.selected=!1:tt(e,n,ee,null,o,M));for(A in o)M=o[A],I=i[A],o.hasOwnProperty(A)&&M!==I&&(M!=null||I!=null)&&(A==="selected"?(M!==I&&($e=!0),e.selected=M&&typeof M!="function"&&typeof M!="symbol"):tt(e,n,A,M,o,I));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ce in i)M=i[ce],i.hasOwnProperty(ce)&&M!=null&&!o.hasOwnProperty(ce)&&tt(e,n,ce,null,o,M);for(O in o)if(M=o[O],I=i[O],o.hasOwnProperty(O)&&M!==I&&(M!=null||I!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(s(137,n));break;default:tt(e,n,O,M,o,I)}return;default:if(ld(n)){for(var Oe in i)M=i[Oe],i.hasOwnProperty(Oe)&&M!==void 0&&!o.hasOwnProperty(Oe)&&sh(e,n,Oe,void 0,o,M);for(j in o)M=o[j],I=i[j],!o.hasOwnProperty(j)||M===I||M===void 0&&I===void 0||sh(e,n,j,M,o,I);return}}for(var D in i)M=i[D],i.hasOwnProperty(D)&&M!=null&&!o.hasOwnProperty(D)&&tt(e,n,D,null,o,M);for(V in o)M=o[V],I=i[V],!o.hasOwnProperty(V)||M===I||M==null&&I==null||tt(e,n,V,M,o,I)}function ov(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function bC(){if(typeof performance.getEntriesByType=="function"){for(var e=0,n=0,i=performance.getEntriesByType("resource"),o=0;o<i.length;o++){var c=i[o],d=c.transferSize,m=c.initiatorType,v=c.duration;if(d&&v&&ov(m)){for(m=0,v=c.responseEnd,o+=1;o<i.length;o++){var A=i[o],O=A.startTime;if(O>v)break;var j=A.transferSize,V=A.initiatorType;j&&ov(V)&&(A=A.responseEnd,m+=j*(A<v?1:(v-O)/(A-O)))}if(--o,n+=8*(d+m)/(c.duration/1e3),e++,10<e)break}}if(0<e)return n/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var lh=null,uh=null;function Ds(e){return e.nodeType===9?e:e.ownerDocument}function sv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function lv(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function uv(e,n,i,o){return i=Ds(i).createElement(e),i[Et]=o,i[at]=n,Yt(i,e,n),ct(i),i}function ch(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var dh=null;function vC(){var e=window.event;return e&&e.type==="popstate"?e===dh?!1:(dh=e,!0):(dh=null,!1)}var fh=typeof setTimeout=="function"?setTimeout:void 0,SC=typeof clearTimeout=="function"?clearTimeout:void 0,cv=typeof Promise=="function"?Promise:void 0,dv=typeof requestAnimationFrame=="function"?requestAnimationFrame:fh,_C=typeof queueMicrotask=="function"?queueMicrotask:typeof cv<"u"?function(e){return cv.resolve(null).then(e).catch(EC)}:fh;function EC(e){setTimeout(function(){throw e})}function Pi(e){return e==="head"}function fv(e,n){var i=n,o=0;do{var c=i.nextSibling;if(e.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"||i==="/&"){if(o===0){e.removeChild(c),Eo(n);return}o--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")o++;else if(i==="html")Sh(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,Sh(i);for(var d=i.firstChild;d;){var m=d.nextSibling,v=d.nodeName;d[gr]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&d.rel.toLowerCase()==="stylesheet"||i.removeChild(d),d=m}}else i==="body"&&Sh(e.ownerDocument.body);i=c}while(i);Eo(n)}function hv(e,n){var i=e;e=0;do{var o=i.nextSibling;if(i.nodeType===1?n?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(n?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),o&&o.nodeType===8)if(i=o.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=o}while(i)}function pv(e,n,i){if(n=CSS.escape(n)!==n?"r-"+btoa(n).replace(/=/g,""):n,e.style.viewTransitionName=n,i!=null&&(e.style.viewTransitionClass=i),i=getComputedStyle(e),i.display==="inline"){if(n=e.getClientRects(),n.length===1)var o=1;else for(var c=o=0;c<n.length;c++){var d=n[c];0<d.width&&0<d.height&&o++}o===1&&(e=e.style,e.display=n.length===1?"inline-block":"block",e.marginTop="-"+i.paddingTop,e.marginBottom="-"+i.paddingBottom)}}function mv(e,n){e=e.style,n=n.style;var i=n!=null?n.hasOwnProperty("viewTransitionName")?n.viewTransitionName:n.hasOwnProperty("view-transition-name")?n["view-transition-name"]:null:null;e.viewTransitionName=i==null||typeof i=="boolean"?"":(""+i).trim(),i=n!=null?n.hasOwnProperty("viewTransitionClass")?n.viewTransitionClass:n.hasOwnProperty("view-transition-class")?n["view-transition-class"]:null:null,e.viewTransitionClass=i==null||typeof i=="boolean"?"":(""+i).trim(),e.display==="inline-block"&&(n==null?e.display=e.margin="":(i=n.display,e.display=i==null||typeof i=="boolean"?"":i,i=n.margin,i!=null?e.margin=i:(i=n.hasOwnProperty("marginTop")?n.marginTop:n["margin-top"],e.marginTop=i==null||typeof i=="boolean"?"":i,n=n.hasOwnProperty("marginBottom")?n.marginBottom:n["margin-bottom"],e.marginBottom=n==null||typeof n=="boolean"?"":n)))}function AC(e,n,i){return i=i.ownerDocument.defaultView,{rect:e,abs:n.position==="absolute"||n.position==="fixed",clip:n.clipPath!=="none"||n.overflow!=="visible"||n.filter!=="none"||n.mask!=="none"||n.mask!=="none"||n.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=i.innerHeight&&e.left<=i.innerWidth}}function hh(e){var n=e.getBoundingClientRect(),i=getComputedStyle(e);return AC(n,i,e)}function TC(e){return e.documentElement.clientHeight}function wC(e){this.addEventListener("load",e),this.addEventListener("error",e)}function CC(e,n,i,o,c,d,m,v,A){var O=n.nodeType===9?n:n.ownerDocument;try{var j=O.startViewTransition({update:function(){var M=O.defaultView,I=M.navigation&&M.navigation.transition,ee=O.fonts.status;o();var ce=[];if(ee==="loaded"&&(TC(O),O.fonts.status==="loading"&&ce.push(O.fonts.ready)),ee=ce.length,e!==null)for(var Oe=e.suspenseyImages,D=0,C=0;C<Oe.length;C++){var N=Oe[C];if(!N.complete){var G=N.getBoundingClientRect();if(0<G.bottom&&0<G.right&&G.top<M.innerHeight&&G.left<M.innerWidth){if(D+=Iv(N),D>Bu){ce.length=ee;break}N=new Promise(wC.bind(N)),ce.push(N)}}}if(0<ce.length)return M=Promise.race([Promise.all(ce),new Promise(function(ae){return setTimeout(ae,500)})]).then(c,c),(I?Promise.allSettled([I.finished,M]):M).then(d,d);if(c(),I)return I.finished.then(d,d);d()},types:i});O.__reactViewTransition=j;var V=[];return j.ready.then(function(){for(var M=O.documentElement.getAnimations({subtree:!0}),I=0;I<M.length;I++){var ee=M[I],ce=ee.effect,Oe=ce.pseudoElement;if(Oe!=null&&Oe.startsWith("::view-transition")){V.push(ee),ee=ce.getKeyframes();for(var D=Oe=void 0,C=!0,N=0;N<ee.length;N++){var G=ee[N],ae=G.width;if(Oe===void 0)Oe=ae;else if(Oe!==ae){C=!1;break}if(ae=G.height,D===void 0)D=ae;else if(D!==ae){C=!1;break}delete G.width,delete G.height,G.transform==="none"&&delete G.transform}C&&Oe!==void 0&&D!==void 0&&(ce.setKeyframes(ee),C=getComputedStyle(ce.target,ce.pseudoElement),C.width!==Oe||C.height!==D)&&(C=ee[0],C.width=Oe,C.height=D,C=ee[ee.length-1],C.width=Oe,C.height=D,ce.setKeyframes(ee))}}m()},function(M){O.__reactViewTransition===j&&(O.__reactViewTransition=null);try{typeof M=="object"&&M!==null&&M.name==="InvalidStateError"&&(M.message==="View transition was skipped because document visibility state is hidden."||M.message==="Skipping view transition because document visibility state has become hidden."||M.message==="Skipping view transition because viewport size changed."||M.message==="Transition was aborted because of invalid state")&&(M=null),M!==null&&A(M)}finally{o(),c(),m()}}),j.finished.finally(function(){for(var M=0;M<V.length;M++)V[M].cancel();O.__reactViewTransition===j&&(O.__reactViewTransition=null),v()}),j}catch{return o(),c(),m(),null}}function pa(e,n){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+n+")"}pa.prototype.animate=function(e,n){return n=typeof n=="number"?{duration:n}:$({},n),n.pseudoElement=this._selector,this._scope.animate(e,n)},pa.prototype.getAnimations=function(){for(var e=this._scope,n=this._selector,i=e.getAnimations({subtree:!0}),o=[],c=0;c<i.length;c++){var d=i[c].effect;d!==null&&d.target===e&&d.pseudoElement===n&&o.push(i[c])}return o},pa.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};
10function gv(e){return{name:e,group:new pa("group",e),imagePair:new pa("image-pair",e),old:new pa("old",e),new:new pa("new",e)}}function kn(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}kn.prototype.addEventListener=function(e,n,i){var o=null,c=null;if(!(i!=null&&typeof i!="boolean"&&(o=i.signal||null,o!==null&&o.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var d=this._eventListeners;if(bv(d,e,n,i)===-1){var m=this,v=n;i!=null&&typeof i!="boolean"&&i.once===!0&&(v=function(A){m.removeEventListener(e,n,i),typeof n=="function"?n.call(this,A):n.handleEvent(A)}),o!==null&&(c=m.removeEventListener.bind(m,e,n,i),o.addEventListener("abort",c,{once:!0}),c=o.removeEventListener.bind(o,"abort",c)),o=go(i),d.push({type:e,listener:n,optionsOrUseCapture:i,attachedListener:v,cleanup:c}),y(this._fragmentFiber.child,!1,xC,e,v,o)}this._eventListeners=d}};function xC(e,n,i,o){return B(e).addEventListener(n,i,o),!1}kn.prototype.removeEventListener=function(e,n,i){var o=this._eventListeners;if(o!==null&&(n=bv(o,e,n,i),n!==-1)){var c=o[n];i=c.attachedListener;var d=c.cleanup;c=go(c.optionsOrUseCapture),y(this._fragmentFiber.child,!1,kC,e,i,c),o.splice(n,1),d!==null&&d()}};function kC(e,n,i,o){return B(e).removeEventListener(n,i,o),!1}function go(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function yv(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function bv(e,n,i,o){if(e.length===0)return-1;o=yv(o);for(var c=0;c<e.length;c++){var d=e[c];if(d.type===n&&d.listener===i&&yv(d.optionsOrUseCapture)===o)return c}return-1}kn.prototype.dispatchEvent=function(e){var n=S(this._fragmentFiber);if(n===null)return!0;n=B(n);var i=this._eventListeners;if(i!==null&&0<i.length||!e.bubbles){var o=n.nodeType===9?n.createComment(""):document.createTextNode("");if(i)for(var c=0;c<i.length;c++){var d=i[c];o.addEventListener(d.type,d.attachedListener,go(d.optionsOrUseCapture))}if(n.appendChild(o),e=o.dispatchEvent(e),i)for(c=0;c<i.length;c++)d=i[c],o.removeEventListener(d.type,d.attachedListener,go(d.optionsOrUseCapture));return n.removeChild(o),e}return n.dispatchEvent(e)},kn.prototype.focus=function(e){y(this._fragmentFiber.child,!0,vv,e,void 0,void 0)};function vv(e,n){return e.tag===6?!1:(e=B(e),jC(e,n))}kn.prototype.focusLast=function(e){var n=[];y(this._fragmentFiber.child,!0,ph,n,void 0,void 0);for(var i=n.length-1;0<=i&&!vv(n[i],e);i--);};function ph(e,n){return n.push(e),!1}kn.prototype.blur=function(){var e=S(this._fragmentFiber);e!==null&&(e=B(e),e=Ds(e).activeElement,e!==null&&y(this._fragmentFiber.child,!1,PC,e,void 0,void 0))};function PC(e,n){return e.tag===6?!1:(e=B(e),e===n||e.contains(n)?(n.blur(),!0):!1)}kn.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),y(this._fragmentFiber.child,!1,MC,e,void 0,void 0)};function MC(e,n){return e.tag===6||(e=B(e),n.observe(e)),!1}kn.prototype.unobserveUsing=function(e){var n=this._observers;if(n!==null&&n.has(e)){n.delete(e),y(this._fragmentFiber.child,!1,DC,e,void 0,void 0);for(var i=n=0;i<ar.length;i++){var o=ar[i];o.fragmentInstance===this&&o.observer===e?e.unobserve(o.instance):ar[n++]=o}ar.length=n}};function DC(e,n){return e.tag===6||(e=B(e),n.unobserve(e)),!1}var ar=[],mh=!1;function OC(e,n,i){ar.push({fragmentInstance:e,observer:n,instance:i}),mh||(mh=!0,HC(function(){mh=!1;var o=ar;ar=[];for(var c=0;c<o.length;c++){var d=o[c];d.observer.unobserve(d.instance)}}))}kn.prototype.getClientRects=function(){var e=[];return y(this._fragmentFiber.child,!1,RC,e,void 0,void 0),e};function RC(e,n){if(e.tag===6){e=e.stateNode;var i=e.ownerDocument.createRange();i.selectNodeContents(e),n.push.apply(n,i.getClientRects())}else e=B(e),n.push.apply(n,e.getClientRects());return!1}kn.prototype.getRootNode=function(e){var n=S(this._fragmentFiber);return n===null?this:B(n).getRootNode(e)},kn.prototype.compareDocumentPosition=function(e){var n=S(this._fragmentFiber);if(n===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var i=[];y(this._fragmentFiber.child,!1,ph,i,void 0,void 0);var o=B(n);if(i.length===0){if(i=o,_(this._fragmentFiber)){e:{for(n=this._fragmentFiber.return;n!==null;){if(n.tag===4){n=n.stateNode.containerInfo;break e}if(n.tag===3||n.tag===5||n.tag===27)break;n=n.return}n=null}n!=null&&(i=n)}n=this._fragmentFiber;var c=o=i.compareDocumentPosition(e);return i===e?c=Node.DOCUMENT_POSITION_CONTAINS:o&Node.DOCUMENT_POSITION_CONTAINED_BY&&(i=k(n)[1],i===null?c=Node.DOCUMENT_POSITION_PRECEDING:(e=B(i).compareDocumentPosition(e),c=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),c|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}n=B(i[0]),c=B(i[i.length-1]);var d=_(this._fragmentFiber)?n.parentElement:o;if(d==null)return Node.DOCUMENT_POSITION_DISCONNECTED;o=d.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY,d=d.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_CONTAINED_BY;var m=n.compareDocumentPosition(e),v=c.compareDocumentPosition(e),A=m&Node.DOCUMENT_POSITION_CONTAINED_BY||v&Node.DOCUMENT_POSITION_CONTAINED_BY;return v=o&&d&&m&Node.DOCUMENT_POSITION_FOLLOWING&&v&Node.DOCUMENT_POSITION_PRECEDING,n=o&&n===e||d&&c===e||A||v?Node.DOCUMENT_POSITION_CONTAINED_BY:!o&&n===e||!d&&c===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:m,n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||NC(n,this._fragmentFiber,i[0],i[i.length-1],e)?n:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function NC(e,n,i,o,c){var d=Ft(c);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(i=!!d)e:{for(;d!==null;){if(d.tag===7&&(d===n||d.alternate===n)){i=!0;break e}d=d.return}i=!1}return i}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(d===null)return d=c.ownerDocument,c===d||c===d.documentElement||c===d.body;e:{for(d=n,n=S(n);d!==null;){if(!(d.tag!==5&&d.tag!==3&&d.tag!==27||d!==n&&d.alternate!==n)){d=!0;break e}d=d.return}d=!1}return d}return e&Node.DOCUMENT_POSITION_PRECEDING?((n=!!d)&&!(n=d===i)&&(n=be(i,d,te),n===null?n=!1:(y(n,!0,Z,d,i),d=q,q=null,n=d!==null)),n):e&Node.DOCUMENT_POSITION_FOLLOWING?((n=!!d)&&!(n=d===o)&&(n=be(o,d,te),n===null?n=!1:(y(n,!0,le,d,o),d=q,K=q=null,n=d!==null)),n):!1}function Sv(e,n){var i=e.ownerDocument.createRange();i.selectNodeContents(e),e=i.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,n?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}kn.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(s(566));var n=[];y(this._fragmentFiber.child,!1,ph,n,void 0,void 0);var i=e!==!1;if(n.length===0){var o=k(this._fragmentFiber);if(o=i?o[1]||o[0]||S(this._fragmentFiber):o[0]||o[1],o===null)return;if(o.tag===6){e=B(o),Sv(e,i);return}if(o=B(o),o.nodeType!==9){if(o.nodeType===11){i="host"in o?o.host:null,i!==null&&i.scrollIntoView(e);return}o.scrollIntoView(e)}}for(o=i?n.length-1:0;o!==(i?-1:n.length);){var c=n[o];c.tag===6?(c=B(c),Sv(c,i)):B(c).scrollIntoView(e),o+=i?-1:1}};function LC(e,n){return e=B(e),_v(e,n),!1}function _v(e,n){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(n)}function Ev(e,n){var i=n._eventListeners;if(i!==null)for(var o=0;o<i.length;o++){var c=i[o];e.addEventListener(c.type,c.attachedListener,go(c.optionsOrUseCapture))}
10e.nodeType!==3&&(i=n._observers,i!==null&&i.forEach(function(d){for(var m=0,v=0;v<ar.length;v++){var A=ar[v];(A.fragmentInstance!==n||A.observer!==d||A.instance!==e)&&(ar[m++]=A)}ar.length=m,d.observe(e)}),_v(e,n))}function IC(e,n){var i=n._eventListeners;if(i!==null)for(var o=0;o<i.length;o++){var c=i[o];e.removeEventListener(c.type,c.attachedListener,go(c.optionsOrUseCapture))}e.nodeType!==3&&(i=n._observers,i!==null&&i.forEach(function(d){typeof d.rootMargin=="string"?OC(n,d,e):d.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(n))}function gh(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var i=n;switch(n=n.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":gh(i),vt(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function zC(e,n,i,o){for(;e.nodeType===1;){var c=i;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[gr])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=Fn(e.nextSibling),e===null)break}return null}function UC(e,n,i){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=Fn(e.nextSibling),e===null))return null;return e}function Av(e,n){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Fn(e.nextSibling),e===null))return null;return e}function yh(e){return e.data==="$?"||e.data==="$~"}function bh(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function BC(e,n){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=n;else if(e.data!=="$?"||i.readyState!=="loading")n();else{var o=function(){n(),i.removeEventListener("DOMContentLoaded",o)};i.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function Fn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return e}var vh=null;function Tv(e){e=e.nextSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(n===0)return Fn(e.nextSibling);n--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||n++}e=e.nextSibling}return null}function wv(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(n===0)return e;n--}else i!=="/$"&&i!=="/&"||n++}e=e.previousSibling}return null}function jC(e,n){function i(){o=!0}if(e.ownerDocument.activeElement===e)return!0;var o=!1;try{e.ownerDocument.addEventListener("focus",i,!0),(e.focus||HTMLElement.prototype.focus).call(e,n)}finally{e.ownerDocument.removeEventListener("focus",i,!0)}return o}function HC(e){dv(function(){dv(function(n){return e(n)})})}function Cv(e,n,i){switch(n=Ds(i),e){case"html":if(e=n.documentElement,!e)throw Error(s(452));return e;case"head":if(e=n.head,!e)throw Error(s(453));return e;case"body":if(e=n.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function xv(e,n,i){for(var o in i){var c=i[o];i.hasOwnProperty(o)&&c!=null&&tt(e,n,o,null,gC,c)}i.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===yr&&(e.onclick=null),vt(e)}function Sh(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);vt(e)}var Gn=new Map,kv=new Set;function Os(e){if(typeof e.getRootNode=="function"){var n=e.getRootNode();if(n.nodeType===9||n.nodeType===11)return n}
vendor: 4,223 bytes, line 10
10return e.nodeType===9?e:e.ownerDocument}var Xr=Te.d;Te.d={f:FC,r:GC,D:VC,C:qC,L:KC,m:YC,X:$C,S:WC,M:QC};function FC(){var e=Xr.f(),n=Mu();return e||n}function GC(e){var n=Sn(e);n!==null&&n.tag===5&&n.type==="form"?My(n):Xr.r(e)}var yo=typeof document>"u"?null:document;function Pv(e,n,i){var o=yo;if(o&&typeof n=="string"&&n){var c=Ln(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof i=="string"&&(c+='[crossorigin="'+i+'"]'),kv.has(c)||(kv.add(c),e={rel:e,crossOrigin:i,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),Yt(n,"link",e),ct(n),o.head.appendChild(n)))}}function VC(e){Xr.D(e),Pv("dns-prefetch",e,null)}function qC(e,n){Xr.C(e,n),Pv("preconnect",e,n)}function KC(e,n,i){Xr.L(e,n,i);var o=yo;if(o&&e&&n){var c='link[rel="preload"][as="'+Ln(n)+'"]';n==="image"&&i&&i.imageSrcSet?(c+='[imagesrcset="'+Ln(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(c+='[imagesizes="'+Ln(i.imageSizes)+'"]')):c+='[href="'+Ln(e)+'"]';var d=c;switch(n){case"style":d=bo(e);break;case"script":d=vo(e)}if(!(Gn.has(d)||(e=$({rel:"preload",href:n==="image"&&i&&i.imageSrcSet?void 0:e,as:n},i),Gn.set(d,e),o.querySelector(c)!==null||n==="style"&&o.querySelector(Rs(d))||n==="script"&&o.querySelector(Ns(d))))){var m=o.createElement("link");Yt(m,"link",e),n==="style"&&(m[Ie]=!0,m.onload=m.onerror=function(){Qo(m)}),ct(m),o.head.appendChild(m)}}}function YC(e,n){Xr.m(e,n);var i=yo;if(i&&e){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Ln(o)+'"][href="'+Ln(e)+'"]',d=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=vo(e)}if(!Gn.has(d)&&(e=$({rel:"modulepreload",href:e},n),Gn.set(d,e),i.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Ns(d)))return}o=i.createElement("link"),Yt(o,"link",e),ct(o),i.head.appendChild(o)}}}function WC(e,n,i){Xr.S(e,n,i);var o=yo;if(o&&e){var c=Ze(o).hoistableStyles,d=bo(e);n=n||"default";var m=c.get(d);if(!m){var v={loading:0,preload:null};if(m=o.querySelector(Rs(d)))v.loading=5;else{e=$({rel:"stylesheet",href:e,"data-precedence":n},i),(i=Gn.get(d))&&_h(e,i);var A=m=o.createElement("link");ct(A),Yt(A,"link",e),A._p=new Promise(function(O,j){A.onload=O,A.onerror=j}),A.addEventListener("load",function(){v.loading|=1}),A.addEventListener("error",function(){v.loading|=2}),v.loading|=4,zu(m,n,o)}m={type:"stylesheet",instance:m,count:1,state:v},c.set(d,m)}}}function $C(e,n){Xr.X(e,n);var i=yo;if(i&&e){var o=Ze(i).hoistableScripts,c=vo(e),d=o.get(c);d||(d=i.querySelector(Ns(c)),d||(e=$({src:e,async:!0},n),(n=Gn.get(c))&&Eh(e,n),d=i.createElement("script"),ct(d),Yt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function QC(e,n){Xr.M(e,n);var i=yo;if(i&&e){var o=Ze(i).hoistableScripts,c=vo(e),d=o.get(c);d||(d=i.querySelector(Ns(c)),d||(e=$({src:e,async:!0,type:"module"},n),(n=Gn.get(c))&&Eh(e,n),d=i.createElement("script"),ct(d),Yt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function Mv(e,n,i,o){var c=(c=hr.current)?Os(c):null;if(!c)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(i=bo(i.href),n=Ze(c).hoistableStyles,o=n.get(i),o||(o={type:"style",instance:null,count:0,state:null},n.set(i,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=bo(i.href);var d=Ze(c).hoistableStyles,m=d.get(e);if(m||(c=c.ownerDocument||c,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,m),(d=c.querySelector(Rs(e)))?d._p||(m.instance=d,m.state.loading=5):(d=Gn.get(e),d||(d={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Gn.set(e,d)),XC(c,e,d,m.state))),n&&o===null)throw Error(s(528,""));return m}if(n&&o!==null)throw Error(s(529,""));return null;case"script":return n=i.async,i=i.src,typeof i=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?
10(i=vo(i),n=Ze(c).hoistableScripts,o=n.get(i),o||(o={type:"script",instance:null,count:0,state:null},n.set(i,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function bo(e){return'href="'+Ln(e)+'"'}function Rs(e){return'link[rel="stylesheet"]['+e+"]"}function Dv(e){return $({},e,{"data-precedence":e.precedence,precedence:null})}function XC(e,n,i,o){if(n=e.querySelector('link[rel="preload"][as="style"]['+n+"]")){if(n[Ie]!==!0){o.loading=1;return}}else n=e.createElement("link"),n[Ie]=!0,n.onload=n.onerror=Qo.bind(null,n),Yt(n,"link",i),ct(n),e.head.appendChild(n);o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2})}function vo(e){return'[src="'+Ln(e)+'"]'}function Ns(e){return"script[async]"+e}function Ov(e,n,i){if(n.count++,n.instance===null)switch(n.type){case"style":var o=e.querySelector('style[data-href~="'+Ln(i.href)+'"]');if(o)return n.instance=o,ct(o),o;var c=$({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),ct(o),Yt(o,"style",c),zu(o,i.precedence,e),n.instance=o;case"stylesheet":c=bo(i.href);var d=e.querySelector(Rs(c));if(d)return n.state.loading|=4,n.instance=d,ct(d),d;o=Dv(i),(c=Gn.get(c))&&_h(o,c),d=(e.ownerDocument||e).createElement("link"),ct(d);var m=d;return m._p=new Promise(function(v,A){m.onload=v,m.onerror=A}),Yt(d,"link",o),n.state.loading|=4,zu(d,i.precedence,e),n.instance=d;case"script":return d=vo(i.src),(c=e.querySelector(Ns(d)))?(n.instance=c,ct(c),c):(o=i,(c=Gn.get(d))&&(o=$({},i),Eh(o,c)),e=e.ownerDocument||e,c=e.createElement("script"),ct(c),Yt(c,"link",o),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(s(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,zu(o,i.precedence,e));return n.instance}function zu(e,n,i){for(var o=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,d=c,m=0;m<o.length;m++){var v=o[m];if(v.dataset.precedence===n)d=v;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(n=i.nodeType===9?i.head:i,n.insertBefore(e,n.firstChild))}function _h(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Eh(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var Uu=null;function Rv(e,n,i){if(Uu===null){var o=new Map,c=Uu=new Map;c.set(i,o)}else c=Uu,o=c.get(i),o||(o=new Map,c.set(i,o));if(o.has(e))return o;for(o.set(e,null),i=i.getElementsByTagName(e),c=0;c<i.length;c++){var d=i[c];if(!(d[gr]||d[Et]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var m=d.getAttribute(n)||"";m=e+m;var v=o.get(m);v?v.push(d):o.set(m,[d])}}return o}function Ah(e,n,i){e=e.ownerDocument||e,e.head.insertBefore(i,n==="title"?e.querySelector("head > title"):null)}function ZC(e,n,i){if(i===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(e=n.disabled,typeof n.precedence=="string"&&e==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Nv(e,n){return e==="img"&&n.src!=null&&n.src!==""&&n.onLoad==null&&n.loading!=="lazy"}function Lv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Iv(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function zv(e,n){typeof n.decode=="function"&&(e.imgCount++,n.complete||(e.imgBytes+=Iv(n),e.suspenseyImages.push(n)),e=tx.bind(e),n.decode().then(e,e))}function JC(e,n,i,o){if(i.type==="stylesheet"&&(typeof o.media!="str
10ing"||matchMedia(o.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var c=bo(o.href),d=n.querySelector(Rs(c));if(d){n=d._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=Ls.bind(e),n.then(e,e)),i.state.loading|=4,i.instance=d,ct(d);return}d=n.ownerDocument||n,o=Dv(o),(c=Gn.get(c))&&_h(o,c),d=d.createElement("link"),ct(d);var m=d;m._p=new Promise(function(v,A){m.onload=v,m.onerror=A}),Yt(d,"link",o),i.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,n),(n=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=Ls.bind(e),n.addEventListener("load",i),n.addEventListener("error",i))}}var Bu=0;function ex(e,n){return e.stylesheets&&e.count===0&&Hu(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var o=setTimeout(function(){if(e.stylesheets&&Hu(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+n);0<e.imgBytes&&Bu===0&&(Bu=62500*bC());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Hu(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>Bu?50:800)+n);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function Uv(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)Hu(e,e.stylesheets);else if(e.unsuspend){var n=e.unsuspend;e.unsuspend=null,n()}}}function Ls(){this.count--,Uv(this)}function tx(){this.imgCount--,Uv(this)}var ju=null;function Hu(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ju=new Map,n.forEac
vendor: 6,965 bytes, line 10
10h(nx,e),ju=null,Ls.call(e))}function nx(e,n){if(!(n.state.loading&4)){var i=ju.get(e);if(i)var o=i.get(null);else{i=new Map,ju.set(e,i);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var m=c[d];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(i.set(m.dataset.precedence,m),o=m)}o&&i.set(null,o)}c=n.instance,m=c.getAttribute("data-precedence"),d=i.get(m)||o,d===o&&i.set(null,c),i.set(m,c),this.count++,o=Ls.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var So={$$typeof:Le,Provider:null,Consumer:null,_currentValue:ut,_currentValue2:ut,_threadCount:0};function rx(e,n,i,o,c,d,m,v,A){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ye(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ye(0),this.hiddenUpdates=ye(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.transitionTypes=null,this.incompleteTransitions=new Map}function Bv(e,n,i,o,c,d,m,v,A,O,j,V){return e=new rx(e,n,i,m,A,O,j,V,v),n=1,d===!0&&(n|=24),d=fn(3,null,null,n),e.current=d,d.stateNode=e,n=zd(),n.refCount++,e.pooledCache=n,n.refCount++,d.memoizedState={element:o,isDehydrated:i,cache:n},Hd(d),e}function jv(e){return e?(e=qa,e):qa}function Hv(e,n,i,o,c,d){c=jv(c),o.context===null?o.context=c:o.pendingContext=c,o=yi(n),o.payload={element:i},d=d===void 0?null:d,d!==null&&(o.callback=d),i=bi(e,o,n),i!==null&&(gn(i,e,n),fs(i,e,n))}function Fv(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<n?i:n}}function Th(e,n){Fv(e,n),(e=e.alternate)&&Fv(e,n)}function Gv(e){if(e.tag===13||e.tag===31){var n=Xi(e,67108864);n!==null&&gn(n,e,67108864),Th(e,67108864)}}function Vv(e){if(e.tag===13||e.tag===31){var n=xn();n=Qt(n);var i=Xi(e,n);i!==null&&gn(i,e,n),Th(e,n)}}var _o=!0;function ix(e,n,i,o){var c=fe.T;fe.T=null;var d=Te.p;try{Te.p=2,wh(e,n,i,o)}finally{Te.p=d,fe.T=c}}function ax(e,n,i,o){var c=fe.T;fe.T=null;var d=Te.p;try{Te.p=8,wh(e,n,i,o)}finally{Te.p=d,fe.T=c}}function wh(e,n,i,o){if(_o){var c=Ch(o);if(c===null)oh(e,n,o,Fu,i),Kv(e,o);else if(sx(c,e,n,i,o))o.stopPropagation();else if(Kv(e,o),n&4&&-1<ox.indexOf(e)){for(;c!==null;){var d=Sn(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var m=oe(d.pendingLanes);if(m!==0){var v=d;for(v.pendingLanes|=2,v.entangledLanes|=2;m;){var A=1<<31-tn(m);v.entanglements[1]|=A,m&=~A}xr(d),(Qe&6)===0&&(xu=en()+500,ks(0))}}break;case 31:case 13:v=Xi(d,2),v!==null&&gn(v,d,2),Mu(),Th(d,2)}if(d=Ch(o),d===null&&oh(e,n,o,Fu,i),d===c)break;c=d}c!==null&&o.stopPropagation()}else oh(e,n,o,null,i)}}function Ch(e){return e=cd(e),xh(e)}var Fu=null;function xh(e){if(Fu=null,e=Ft(e),e!==null){var n=u(e);if(n===null)e=null;else{var i=n.tag;if(i===13){if(e=f(n),e!==null)return e;e=null}else if(i===31){if(e=h(n),e!==null)return e;e=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return Fu=e,null}function qv(e){switch(e){case"beforetoggle":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"seeked":case"submit":case"toggle":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"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(wl()){case Ki:return 2;case Wo:return 8;case si:case nd:return 32;case $o:return 268435456;default:return 32}default:return 32}}var kh=!1,Mi=null,Di=null,Oi=null,Is=new Map,zs=new Map,Ri=[],ox="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".split(" ");function Kv(e,n){switch(e){case"focusin":case"focusout":Mi=null;break;case"dragenter":case"dragleave":Di=null;break;case"mouseover":case"mouseout":Oi=null;break;case"pointerover":case"pointerout":Is.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":zs.delete(n.pointerId)}}function Us(e,n,i,o,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:n,domEventName:i,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},n!==null&&(n=Sn(n),n!==null&&Gv(n)),e):(e.eventSystemFlags|=o,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function sx(e,n,i,o,c){switch(n){case"focusin":return Mi=Us(Mi,e,n,i,o,c),!0;case"dragenter":return Di=Us(Di,e,n,i,o,c),!0;case"mouseover":return Oi=Us(Oi,e,n,i,o,c),!0;case"pointerover":var d=c.pointerId;return Is.set(d,Us(Is.get(d)||null,e,n,i,o,c)),!0;case"gotpointercapture":return d=c.pointerId,zs.set(d,Us(zs.get(d)||null,e,n,i,o,c)),!0}return!1}function Yv(e){var n=Ft(e.target);if(n!==null){var i=u(n);if(i!==null){if(n=i.tag,n===13){if(n=f(i),n!==null){e.blockedOn=n,Jn(e.priority,function(){Vv(i)});return}}else if(n===31){if(n=h(i),n!==null){e.blockedOn=n,Jn(e.priority,function(){Vv(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Gu(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var i=Ch(e.nativeEvent);if(i===null){i=e.nativeEvent;var o=new i.constructor(i.type,i);ud=o,i.target.dispatchEvent(o),ud=null}else return n=Sn(i),n!==null&&Gv(n),e.blockedOn=i,!1;n.shift()}return!0}function Wv(e,n,i){Gu(e)&&i.delete(n)}function lx(){kh=!1,Mi!==null&&Gu(Mi)&&(Mi=null),Di!==null&&Gu(Di)&&(Di=null),Oi!==null&&Gu(Oi)&&(Oi=null),Is.forEach(Wv),zs.forEac
10h(Wv)}function Vu(e,n){e.blockedOn===n&&(e.blockedOn=null,kh||(kh=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,lx)))}var qu=null;function $v(e){qu!==e&&(qu=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){qu===e&&(qu=null);for(var n=0;n<e.length;n+=3){var i=e[n],o=e[n+1],c=e[n+2];if(typeof o!="function"){if(xh(o||i)===null)continue;break}var d=Sn(i);d!==null&&(e.splice(n,3),n-=3,uf(d,{pending:!0,data:c,method:i.method,action:o},o,c))}}))}function Eo(e){function n(A){return Vu(A,e)}Mi!==null&&Vu(Mi,e),Di!==null&&Vu(Di,e),Oi!==null&&Vu(Oi,e),Is.forEach(n),zs.forEach(n);for(var i=0;i<Ri.length;i++){var o=Ri[i];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Ri.length&&(i=Ri[0],i.blockedOn===null);)Yv(i),i.blockedOn===null&&Ri.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(o=0;o<i.length;o+=3){var c=i[o],d=i[o+1],m=c[at]||null;if(typeof d=="function")m||$v(i);else if(m){var v=null;if(d&&d.hasAttribute("formAction")){if(c=d,m=d[at]||null)v=m.formAction;else if(xh(c)!==null)continue}else v=m.action;typeof v=="function"?i[o+1]=v:(i.splice(o,3),o-=3),$v(i)}}}function Qv(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(m){return c=m})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),o||setTimeout(i,20)}function i(){if(!o&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(i,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function Ph(e){this._internalRoot=e}Ku.prototype.render=Ph.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(s(409));var i=n.current,o=xn();Hv(i,o,e,n,null,null)},Ku.prototype.unmount=Ph.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Hv(e.current,2,null,e,null,null),Mu(),n[vn]=null}};function Ku(e){this._internalRoot=e}Ku.prototype.unstable_scheduleHydration=function(e){if(e){var n=nn();e={blockedOn:null,target:e,priority:n};for(var i=0;i<Ri.length&&n!==0&&n<Ri[i].priority;i++);Ri.splice(i,0,e),i===0&&Yv(e)}};var Xv=r.version;if(Xv!=="19.3.0")throw Error(s(527,Xv,"19.3.0"));Te.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=g(n),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var ux={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:fe,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yu.isDisabled&&Yu.supportsFiber)try{mr=Yu.inject(ux),Lt=Yu}catch{}}return js.createRoot=function(e,n){if(!l(e))throw Error(s(299));var i=!1,o="",c=jy,d=Hy,m=Fy;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(m=n.onRecoverableError)),n=Bv(e,1,!1,null,null,i,o,null,c,d,m,Qv),e[vn]=n.current,ah(e),new Ph(n)},js.hydrateRoot=function(e,n,i){if(!l(e))throw Error(s(299));var o=!1,c="",d=jy,m=Hy,v=Fy,A=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(d=i.onUncaughtError),i.onCaughtError!==void 0&&(m=i.onCaughtError),i.onRecoverableError!==void 0&&(v=i.onRecoverableError),i.formState!==void 0&&(A=i.formState)),n=Bv(e,1,!0,n,i??null,o,c,A,d,m,v,Qv),n.context=jv(null),i=n.current,o=xn(),o=Qt(o),c=yi(o),c.callback=null,bi(i,c,o),i=o,n.current.lanes=i,Re(n,i),xr(n),e[vn]=n.current,ah(e),new Ku(n)},js.version="19.3.0",js}var s0;function bx(){if(s0)return Oh.exports;s0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Oh.exports=yx(),Oh.exports}var vx=bx();const Sx=[["seo:fallback:start","seo:fallback:end"],["seo:page:start","seo:page:end"]];function l0(t,r){return t.nodeType===Node.COMMENT_NODE&&t.nodeValue?.trim()===r}function _x(t){const r=[];for(const[a,s]of Sx){let l=!1;for(const u of Array.from(t.childNodes))!l&&l0(u,a)&&(l=!0),l&&r.push(u),l&&l0(u,s)&&(l=!1)}return r}function Ex(t){const r=t.head;if(!r)return()=>{};const a=_x(r);if(a.length===0)return()=>{};const s=()=>
10{if(!Array.from(r.querySelectorAll("title")).some(f=>!a.includes(f)))return!1;for(const f of a)f.parentNode?.removeChild(f);return!0};if(s())return()=>{};const l=new MutationObserver(()=>{s()&&l.disconnect()});return l.observe(r,{childList:!0}),()=>l.disconnect()}var Ax=class q_ extends Error{static kind="ClerkError";clerkError=!0;code;longMessage;docsUrl;cause;get name(){return this.constructor.name}constructor(r){super(new.target.formatMessage(new.target.kind,r.message,r.code,r.docsUrl),{cause:r.cause}),Object.setPrototypeOf(this,q_.prototype),this.code=r.code,this.docsUrl=r.docsUrl,this.longMessage=r.longMessage,this.cause=r.cause}toString(){return`[${this.name}] 11Message:${this.message}`}static formatMessage(r,a,s,l){const u="Clerk:",f=new RegExp(u.replace(" ","\\s*"),"i");return a=a.replace(f,""),a=`${u} ${a.trim()} 12 13(code="${s}") 14 15`,l&&(a+=` 16 17Docs: ${l}`),a}};const Tx=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invali
17d. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function K_({packageName:t,customMessages:r}){let a=t;function s(u,f){if(!f)return`${a}: ${u}`;let h=u;const p=u.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);for(const g of p){const b=(f[g[1]]||"").toString();h=h.replace(`{{${g[1]}}}`,b)}return`${a}: ${h}`}const l={...Tx,...r};return{setPackageName({packageName:u}){return typeof u=="string"&&(a=u),this},setMessages({customMessages:u}){return Object.assign(l,u||{}),this},throwInvalidPublishableKeyError(u){throw new Error(s(l.InvalidPublishableKeyErrorMessage,u))},throwInvalidProxyUrl(u){throw new Error(s(l.InvalidProxyUrlErrorMessage,u))},throwMissingPublishableKeyError(){throw new Error(s(l.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(s(l.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(u){throw new Error(s(l.MissingClerkProvider,u))},throw(u){throw new Error(s(u))}}}var _p=class Y_ extends Ax{static kind="ClerkRuntimeError";clerkRuntimeError=!0;constructor(r,a){super({...a,message:r}),Object.setPrototypeOf(this,Y_.prototype)}};const wx={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},Cx=new Set(["first_factor","second_factor","multi_factor"]),xx=new Set(["strict_mfa","strict","moderate","lax"]),kx=t=>typeof t=="number"&&t>0,Px=t=>Cx.has(t),Mx=t=>xx.has(t),u0=t=>typeof t=="number"&&Number.isFinite(t)&&(t===-1||t>=0),Ih=t=>t.replace(/^(org:)*/,"org:"),Dx=(t,r)=>{const{orgId:a,orgRole:s,orgPermissions:l}=r,u=t.role!==void 0,f=t.permission!==void 0;return!u&&!f?"skip":u&&typeof t.role!="string"||f&&typeof t.permission!="string"||!a||u&&(typeof s!="string"||!s||Ih(s)!==Ih(t.role))||f&&(!Array.isArray(l)||!l.includes(Ih(t.permission)))?"fail":"pass"},c0=(t,r)=>{const{org:a,user:s}=Rx(t),[l,u]=r.split(":"),f=u||l;return l==="org"?a.includes(f):l==="user"?s.includes(f):[...a,...s].includes(f)},Ox=(t,r)=>{const{features:a,plans:s}=r,l=t.feature!==void 0,u=t.plan!==void 0;if(!l&&!u)return"skip";if(l&&typeof t.feature!="string"||u&&typeof t.plan!="string")return"fail";if(l){if(typeof a!="string"||!a)return"fail";try{if(!c0(a,t.feature))return"fail"}catch{return"fail"}}if(u){if(typeof s!="string"||!s)return"fail";try{if(!c0(s,t.plan))return"fail"}catch{return"fail"}}return"pass"},Rx=t=>{const r=t?t.split(",").map(a=>a.trim()):[];return{org:r.filter(a=>a.split(":")[0].includes("o")).map(a=>a.split(":")[1]),user:r.filter(a=>a.split(":")[0].includes("u")).map(a=>a.split(":")[1])}},Nx=t=>{if(!t)return!1;const r=l=>typeof l=="string"?wx[l]:l,a=typeof t=="string"&&Mx(t),s=typeof t=="object"&&Px(t.level)&&kx(t.afterMinutes);return a||s?r.bind(null,t):!1},Lx=(t,{factorVerificationAge:r})=>{if(t.reverification===void 0)return"skip";if(!r||!Array.isArray(r)||r.length!==2||!u0(r[0])||!u0(r[1]))return"fail";const a=Nx(t.reverification);if(!a)return"fail";const{level:s,afterMinutes:l}=a(),[u,f]=r;if(u===-1&&f===-1)return"fail";const h=u!==-1&&l>u,p=f!==-1&&l>f;switch(s){case"first_factor":return h?"pass":"fail";case"second_factor":return f===-1?h?"pass":"fail":p?"pass":"fail";case"multi_factor":return f===-1?h?"pass":"fail":u===-1?"fail":h&&p?"pass":"fail"}},Ix=t=>t.some(r=>r==="pass")&&t.every(r=>r==="pass"||r==="skip"),zx=t=>r=>t.userId?Ix([Dx(r,t),Ox(r,t),Lx(r,t)]):!1,Ux=({authObject:{sessionId:t,sessionStatus:r,userId:a,actor:s,orgId:l,orgRole:u,orgSlug:f,signOut:h,getToken:p,has:g,sessionClaims:b},options:{treatPendingAsSignedOut:y=!0}})=>{if(t===void 0&&a===void 0)return{isLoaded:!1,isSignedIn:void 0,sessionId:t,sessionClaims:void 0,userId:a,actor:void 0,orgId:void 0,orgRole:void 0,orgSlug:void 0,has:void 0,signOut:h,getToken:p};if(t===null&&a===null)return{isLoaded:!0,isSignedIn:!1,sessionId:t,userId:a,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:h,getToken:p};if(y&&r==="pending")return{isLoaded:!0,isSignedIn:!1,sessionId:null,userId:null,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:h,getToken:p};if(t&&b&&a&&l&&u)return{isLoaded:!0,isSignedIn:!0,sessionId:t,sessionClaims:b,userId:a,actor:s||null,orgId:l,orgRole:u,orgSlug:f||null,has:g,signOut:h,getToken:p};if(t&&b&&a&&!l)return{isLoaded:!0,isSignedIn:!0,sessionId:t,sessionClaims:b,userId:a,actor:s||null,orgId:null,orgRole:null,orgSlug:null,has:g,signOut:h,getToken:p}},Bx=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],W_=t=>typeof atob<"u"&&typeof atob=="function"?atob(t):typeof global<"u"&&global.Buffer?new global.Buffer(t,"base64").toString():t,$_="pk_live_",jx="pk_test_";function Q_(t){if(!t.endsWith("$"))return!1;const r=t.slice(0,-1);return r.includes("$")?!1:r.includes(".")}function d0(t,r={}){if(t=t||"",!t||!Ep(t)){if(r.fatal&&!t)throw new Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment c
17onfiguration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(r.fatal&&!Ep(t))throw new Error("Publishable key not valid.");return null}const a=t.startsWith($_)?"production":"development";let s;try{s=W_(t.split("_")[2])}catch{if(r.fatal)throw new Error("Publishable key not valid: Failed to decode key.");return null}if(!Q_(s)){if(r.fatal)throw new Error("Publishable key not valid: Decoded key has invalid format.");return null}let l=s.slice(0,-1);return r.proxyUrl?l=r.proxyUrl:a!=="development"&&r.domain&&r.isSatellite&&(l=`clerk.${r.domain}`),{instanceType:a,frontendApi:l}}function Ep(t=""){try{if(!(t.startsWith($_)||t.startsWith(jx)))return!1;const r=t.split("_");if(r.length!==3)return!1;const a=r[2];return a?Q_(W_(a)):!1}catch{return!1}}function Hx(){const t=new Map;return{isDevOrStagingUrl:r=>{if(!r)return!1;const a=typeof r=="string"?r:r.hostname;let s=t.get(a);return s===void 0&&(s=Bx.some(l=>a.endsWith(l)),t.set(a,s)),s}}}const Fx="METHOD_CALLED",Gx=.1;function X_(t,r){return{event:Fx,eventSamplingRate:Gx,payload:{method:t,...r}}}var zh={exports:{}},Uh={};var f0;function Vx(){if(f0)return Uh;f0=1;var t=Oc();function r(y,S){return y===S&&(y!==0||1/y===1/S)||y!==y&&S!==S}var a=typeof Object.is=="function"?Object.is:r,s=t.useState,l=t.useEffect,u=t.useLayoutEffect,f=t.useDebugValue;function h(y,S){var _=S(),k=s({inst:{value:_,getSnapshot:S}}),U=k[0].inst,B=k[1];return u(function(){U.value=_,U.getSnapshot=S,p(U)&&B({inst:U})},[y,_,S]),l(function(){return p(U)&&B({inst:U}),y(function(){p(U)&&B({inst:U})})},[y]),f(_),_}function p(y){var S=y.getSnapshot;y=y.value;try{var _=S();return!a(y,_)}catch{return!0}}function g(y,S){return S()}var b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:h;return Uh.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:b,Uh}var h0;function qx(){return h0||(h0=1,zh.exports=Vx()),zh.exports}qx();const Kx=0,Yx=1,Wx=2;var p0=Object.prototype.hasOwnProperty;function Ap(t,r){var a,s;if(t===r)return!0;if(t&&r&&(a=t.constructor)===r.constructor){if(a===Date)return t.getTime()===r.getTime();if(a===RegExp)return t.toString()===r.toString();if(a===Array){if((s=t.length)===r.length)for(;s--&&Ap(t[s],r[s]););return s===-1}if(!a||typeof t=="object"){s=0;for(a in t)if(p0.call(t,a)&&++s&&!p0.call(r,a)||!(a in r)||!Ap(t[a],r[a]))return!1;return Object.keys(r).length===s}}return t!==t&&r!==r}const ji=new WeakMap,Gi=()=>{},Dn=Gi(),bc=Object,sr=t=>t===Dn,Hi=t=>typeof t=="function",Aa=(t,r)=>({...t,...r}),$x=t=>Hi(t.then),Bh={},Wu={},Z_="undefined",Rc=typeof window!=Z_,Tp=typeof document!=Z_,Qx=Rc&&"Deno"in window,Xx=(t,r)=>{const a=ji.get(t);return[()=>!sr(r)&&t.get(r)||Bh,s=>{if(!sr(r)){const l=t.get(r);r in Wu||(Wu[r]=l),a[5](r,Aa(l,s),l||Bh)}},a[6],()=>!sr(r)&&r in Wu?Wu[r]:!sr(r)&&t.get(r)||Bh]};let wp=!0;const Zx=()=>wp,[Cp,xp]=Rc&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Gi,Gi],Jx=()=>{const t=Tp&&document.visibilityState;return sr(t)||t!=="hidden"},ek=t=>(Tp&&document.addEventListener("visibilitychange",t),Cp("focus",t),()=>{Tp&&document.removeEventListener("visibilitychange",t),xp("focus",t)}),tk=t=>{const r=()=>{wp=!0,t()},a=()=>{wp=!1};return Cp("online",r),Cp("offline",a),()=>{xp("online",r),xp("offline",a)}},nk={isOnline:Zx,isVisible:Jx},rk={initFocus:ek,initReconnect:tk};L.useId;const am=!Rc||Qx,ik=am?w.useEffect:w.useLayoutEffect,jh=typeof navigator<"u"&&navigator.connection,m0=!am&&jh&&(["slow-2g","2g"].includes(jh.effectiveType)||jh.saveData),$u=new WeakMap,ak=t=>bc.prototype.toString.call(t),Hh=(t,r)=>t===`[object ${r}]`;let ok=0;const kp=t=>{const r=typeof t,a=ak(t),s=Hh(a,"Date"),l=Hh(a,"RegExp"),u=Hh(a,"Object");let f,h;if(bc(t)===t&&!s&&!l){if(f=$u.get(t),f)return f;if(f=++ok+"~",$u.set(t,f),Array.isArray(t)){for(f="@",h=0;h<t.length;h++)f+=kp(t[h])+",";$u.set(t,f)}if(u){f="#";const p=bc.keys(t).sort();for(;!sr(h=p.pop());)sr(t[h])||(f+=h+":"+kp(t[h])+",");$u.set(t,f)}}else f=s?t.toJSON():r=="symbol"?t.toString():r=="string"?JSON.stringify(t):""+t;return f},J_=t=>{if(Hi(t))try{t=t()}catch{t=""}const r=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?kp(t):"",[t,r]};let sk=0;const g0=()=>++sk;async function lk(...t){const[r,a,s,l]=t,u=Aa({populateCache:!0,throwOnError:!0},typeof l=="boolean"?{revalidate:l}:l||{});let f=u.populateCache;const h=u.rollbackOnError;let p=u.optimisticData;const g=S=>typeof h=="function"?h(S):h!==!1,b=u.throwOnError;if(Hi(a)){const S=a,_=[],k=r.keys();for(const U of k)!/^\$(inf|sub)\$/.test(U)&&S(r.get(U)._k)&&_.push(U);return Promise.all(_.map(y))}return y(a);async function y(S){const[_]=J_(S);if(!_)return;const[k,U]=Xx(r,_),[B,q,K,Z]=ji.get(r),le=()=>{const Ke=B[_];return(Hi(u.revalidate)?u.revalidate(k().data,S):u.revalidate!==!1)&&(delete K[_],delete Z[_],Ke&&Ke[0])?Ke[0](Wx).then(()=>k().data):k().data};if(t.length<3)return le();let te=s,be,$=!1;const R=g0();q[_]=[R,0];const ue=!sr(p),_e=k(),we=_e.data,Ee=_e._c,Pe=sr(Ee)?we:Ee;if(ue&&(p=Hi(p)?p(Pe,we):p,U({data:p,_c:Pe})),Hi(te))try{te=te(Pe)}catch(Ke){be=Ke,$=!0}if(te&&$x(te))if(te=await te.catch(Ke=>{be=Ke,$=!0}),R!==q[_][0]){if($)throw be;return te}else $&&ue&&g(be)&&(f=!0,U({data:Pe,_c:Dn}));if(f&&!$)if(Hi(f)){const Ke=f(te,Pe);U({data:Ke,error:Dn,_c:Dn})}else U({data:te,error:Dn,_c:Dn});if(q[_][1]=g0(),Promise.resolve(le()).then(()=>{U({_c:Dn})}),$){if(b)throw be;return}return te}}const y0=(t,r)=>{for(const a in t)t[a][0]&&t[a][0](r)},eE=(t,r)=>{if(!ji.has(t)){const a=Aa(rk,r),s=Object.create(null),l=lk.bind(Dn,t);let u=Gi;const f=Object.create(null),h=(b,y)=>{const S=f[b]||[];return f[b]=S,S.push(y),()=>S.splice(S.indexOf(y),1)},p=(b,y,S)=>{t.set(b,y);const _=f[b];if(_)for(const k of _)k(y,S)},g=()=>{if(!ji.has(t)&&(ji.set(t,[s,Object.create(null),Object.create(null),Object.create(null),l,p,h]),!am)){const b=a.initFocus(setTimeout.bind(Dn,y0.bind(Dn,s,Kx))),y=a.initReconnect(setTimeout.bind(Dn,y0.bind(Dn,s,Yx)));u=()=>{b&&b(),y&&y(),ji.delete(t)}}};return g(),[t,l,g,u]}return[t,ji.get(t)[4]]},uk=(t,r,a,s,l)=>{const u=a.errorRetryCount,f=l.retryCount,h=~~((Math.random()+.5)*(1<<(f<8?f:8)))*a.errorRetryInterval;!sr(u)&&f>u||setTimeout(s,h,l)},ck=Ap,[om,dk]=eE(new Map),fk=Aa({onLoadingSlow:Gi,onSuccess:Gi,onError:Gi,onErrorRetry:uk,onDiscarded:Gi,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:m0?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:m0?5e3:3e3,compare:ck,isPaused:()=>!1,cache:om,mutate:dk,fallback:{}},nk),hk=(t,r)=>{const a=Aa(t,r);if(r){const{use:s,fallback:l}=t,{use:u,fallback:f}=r;s&&u&&(a.use=s.concat(u)),l&&f&&(a.fallback=Aa(l,f))}return a},b0=w.createContext({}),pk=t=>{const{value:r}=t,a=w.useContext(b0),s=Hi(r),l=w.useMemo(()=>s?r(a):r,[s,a,r]),u=w.useMemo(()=>s?l:hk(a,l),[s,a,l]),f=l&&l.provider,h=w.useRef(Dn);f&&!h.current&&(h.current=eE(f(u.cache||om),l));const p=h.current;return p&&(u.cache=p[0],u.mutate=p[1]),ik(()=>
17{if(p)return p[2]&&p[2](),p[3]},[]),w.createElement(b0.Provider,Aa(t,{value:u}))},mk="$inf$",tE=Rc&&window.__SWR_DEVTOOLS_USE__,gk=tE?window.__SWR_DEVTOOLS_USE__:[],yk=()=>{tE&&(window.__SWR_DEVTOOLS_REACT__=L)},bk=t=>(r,a,s)=>t(r,a&&((...u)=>{const[f]=J_(r),[,,,h]=ji.get(om);if(f.startsWith(mk))return a(...u);const p=h[f];return sr(p)?a(...u):(delete h[f],p)}),s);gk.concat(bk);yk();L.use;const vk=bc.defineProperty(pk,"defaultValue",{value:fk});var v0=Object.prototype.hasOwnProperty;function S0(t,r,a){for(a of t.keys())if(Xs(a,r))return a}function Xs(t,r){var a,s,l;if(t===r)return!0;if(t&&r&&(a=t.constructor)===r.constructor){if(a===Date)return t.getTime()===r.getTime();if(a===RegExp)return t.toString()===r.toString();if(a===Array){if((s=t.length)===r.length)for(;s--&&Xs(t[s],r[s]););return s===-1}if(a===Set){if(t.size!==r.size)return!1;for(s of t)if(l=s,l&&typeof l=="object"&&(l=S0(r,l),!l)||!r.has(l))return!1;return!0}if(a===Map){if(t.size!==r.size)return!1;for(s of t)if(l=s[0],l&&typeof l=="object"&&(l=S0(r,l),!l)||!Xs(s[1],r.get(l)))return!1;return!0}if(a===ArrayBuffer)t=new Uint8Array(t),r=new Uint8Array(r);else if(a===DataView){if((s=t.byteLength)===r.byteLength)for(;s--&&t.getInt8(s)===r.getInt8(s););return s===-1}if(ArrayBuffer.isView(t)){if((s=t.byteLength)===r.byteLength)for(;s--&&t[s]===r[s];);return s===-1}if(!a||typeof t=="object"){s=0;for(a in t)if(v0.call(t,a)&&++s&&!v0.call(r,a)||!(a in r)||!Xs(t[a],r[a]))return!1;return Object.keys(r).length===s}}return t!==t&&r!==r}function Sk(t,r){if(!t)throw typeof r=="string"?new Error(r):new Error(`${r.displayName} not found`)}const ri=(t,r)=>{const{assertCtxFn:a=Sk}={},s=L.createContext(void 0);return s.displayName=t,[s,()=>{const f=L.useContext(s);return a(f,`${t} not found`),f.value},()=>{const f=L.useContext(s);return f?f.value:{}}]};function _k({swrConfig:t,children:r}){return L.createElement(vk,{value:t},r)}const[nE,sm]=ri("ClerkInstanceContext"),[Ek,Ak]=ri("UserContext"),[Tk]=ri("ClientContext"),[wk]=ri("SessionContext");L.createContext({});const[Ck]=ri("CheckoutContext"),xk=({children:t,...r})=>L.createElement(Ck.Provider,{value:{value:r}},t),[kk]=ri("OrganizationContext"),Pk=({children:t,organization:r,swrConfig:a})=>L.createElement(_k,{swrConfig:a},L.createElement(kk.Provider,{value:{value:{organization:r}}},t));function lm(t){if(!L.useContext(nE)){if(typeof t=="function"){t();return}throw new Error(`${t} can only be used within the <ClerkProvider /> component. 18 19Possible fixes: 201. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used. 212. Check for multiple versions of the \`@clerk/shared\` package in your project. Use a tool like \`npm ls @clerk/shared\` to identify multiple versions, and update your dependencies to only rely on one. 22 23Learn more: https://clerk.com/docs/components/clerk-provider`.trim())}}const WU=()=>(lm("useClerk"),sm());typeof window<"u"?L.useLayoutEffect:L.useEffect;const _0="useUser";function $U(){lm(_0);const t=Ak();return sm().telemetry?.record(X_(_0)),t===void 0?{isLoaded:!1,isSignedIn:void 0,user:void 0}:t===null?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:t}}const E0=Xs,Mk=t=>{const r=w.useRef(t);return w.useEffect(()=>{r.current=t},[t]),r.current},Pn=(t,r,a)=>{const s=!!a,l=w.useRef(a);w.useEffect(()=>{l.current=a},[a]),w.useEffect(()=>{if(!s||!t)return()=>{};const u=(...f)=>{l.current&&l.current(...f)};return t.on(r,u),()=>{t.off(r,u)}},[s,r,t,l])},rE=L.createContext(null);rE.displayName="ElementsContext";const Dk=(t,r)=>{if(!t)throw new Error(`Could not find Elements context; You need to wrap the part of your app that ${r} in an <Elements> provider.`);return t},vc=t=>t!==null&&typeof t=="object",Ok=(t,r,a)=>vc(t)?Object.keys(t).reduce((s,l)=>{const u=!vc(r)||!iE(t[l],r[l]);return a.includes(l)?(u&&console.warn(`Unsupported prop change: options.${l} is not a mutable property.`),s):u?{...s||{},[l]:t[l]}:s},null):null,A0="[object Object]",iE=(t,r)=>{if(!vc(t)||!vc(r))return t===r;const a=Array.isArray(t);if(a!==Array.isArray(r))return!1;const s=Object.prototype.toString.call(t)===A0;if(s!==(Object.prototype.toString.call(r)===A0))return!1;if(!s&&!a)return t===r;const l=Object.keys(t),u=Object.keys(r);if(l.length!==u.length)return!1;const f={};for(let y=0;y<l.length;y+=1)f[l[y]]=!0;for(let y=0;y<u.length;y+=1)f[u[y]]=!0;const h=Object.keys(f);if(h.length!==l.length)return!1;const p=t,g=r,b=y=>iE(p[y],g[y]);return h.every(b)},T0=t=>Dk(L.useContext(rE),t),Rk=t=>t.charAt(0).toUpperCase()+t.slice(1),Nk=(t,r)=>{const a=`${Rk(t)}Element`,u=r?f=>{T0(`mounts <${a}>`);const{id:h,className:p}=f;return L.createElement("div",{id:h,className:p})}:({id:f,className:h,fallback:p,options:g={}
23,onBlur:b,onFocus:y,onReady:S,onChange:_,onEscape:k,onClick:U,onLoadError:B,onLoaderStart:q,onNetworksChange:K,onConfirm:Z,onCancel:le,onShippingAddressChange:te,onShippingRateChange:be})=>{const $=T0(`mounts <${a}>`),R="elements"in $?$.elements:null,[ue,_e]=L.useState(null),we=L.useRef(null),Ee=L.useRef(null),[Pe,Ke]=w.useState(!1);Pn(ue,"blur",b),Pn(ue,"focus",y),Pn(ue,"escape",k),Pn(ue,"click",U),Pn(ue,"loaderror",B),Pn(ue,"loaderstart",q),Pn(ue,"networkschange",K),Pn(ue,"confirm",Z),Pn(ue,"cancel",le),Pn(ue,"shippingaddresschange",te),Pn(ue,"shippingratechange",be),Pn(ue,"change",_);let Le;S&&(Le=()=>{Ke(!0),S(ue)}),Pn(ue,"ready",Le),L.useLayoutEffect(()=>{if(we.current===null&&Ee.current!==null&&R){let J=null;R&&(J=R.create(t,g)),we.current=J,_e(J),J&&J.mount(Ee.current)}},[R,g]);const Q=Mk(g);return L.useEffect(()=>{if(!we.current)return;const J=Ok(g,Q,["paymentRequest"]);J&&"update"in we.current&&we.current.update(J)},[g,Q]),L.useLayoutEffect(()=>()=>{if(we.current&&typeof we.current.destroy=="function")try{we.current.destroy(),we.current=null}catch{}},[]),L.createElement(L.Fragment,null,!Pe&&p,L.createElement("div",{id:f,style:{height:Pe?"unset":"0px",visibility:Pe?"visible":"hidden"},className:h,ref:Ee}))};return u.displayName=a,u.__elementType=t,u};Nk("payment",typeof window>"u");ri("PaymentElementContext");ri("StripeUtilsContext");var ur=K_({packageName:"@clerk/clerk-react"});function Lk(t){ur.setMessages(t).setPackageName(t)}var[Ik,zk]=ri("AuthContext"),Uk=nE,aE=sm,Bk="You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.",jk=t=>`You've passed multiple children components to <${t}/>. You can only pass a single child component or text.`,Hk="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support",Fh="Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.",Fk="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",Gk="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",Vk="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",qk="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",Kk=t=>`<${t} /> can only accept <${t}.Page /> and <${t}.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.`,Yk=t=>`Missing props. <${t}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`,Wk=t=>`Missing props. <${t}.Link /> component requires the following props: url, label and labelIcon.`,$k="<UserButton /> can only accept <UserButton.UserProfilePage />, <UserButton.UserProfileLink /> and <UserButton.MenuItems /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",Qk="<UserButton.MenuItems /> component can only accept <UserButton.Action /> and <UserButton.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",Xk="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",Zk="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",Jk="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",eP="Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.",tP="Missing props. <UserButton.Action /> component requires the following props: label.",Nc=t=>{lm(()=>{ur.throwMissingClerkProviderError({source:t})})},oE=t=>new Promise(r=>{const a=s=>{["ready","degraded"].includes(s)&&(r(),t.off("status",a))};t.on("status",a,{notify:!0})}),nP=t=>async r=>(await oE(t),t.session?t.session.getToken(r):null),rP=t=>async(...r)=>(await oE(t),t.signOut(...r)),um=(t={})=>{var r;Nc("useAuth");const{treatPendingAsSignedOut:a,...s}=t??{},l=s;let f=zk();f.sessionId===void 0&&f.userId===void 0&&(f=l??{});const h=aE(),p=w.useCallback(nP(h),[h]),g=w.useCallback(rP(h),[h]);return(r=h.telemetry)==null||r.record(X_("useAuth",{treatPendingAsSignedOut:a})),iP({...f,getToken:p,signOut:g},{treatPendingAsSignedOut:a})};function iP(t,{treatPendingAsSignedOut:r=!0}={}){const{userId:a,orgId:s,orgRole:l,has:u,signOut:f,getToken:h,orgPermissions:p,factorVerificationAge:g,sessionClaims:b}=t??{},y=w.useCallback(_=>u?u(_):zx({userId:a,orgId:s,orgRole:l,orgPermissions:p,factorVerificationAge:g,features:b?.fea||"",plans:b?.pla||""})(_),[u,a,s,l,p,g,b]),S=Ux({authObject:{...t,getToken:h,signOut:f,has:y},options:{treatPendingAsSignedOut:r}});return S||ur.throw(Hk)}var st=(t,r)=>{const s=(typeof r=="string"?r:r?.component)||t.displayName||t.name||"Component";t.displayName=s;const l=typeof r=="string"?void 0:r,u=f=>{Nc(s||"withClerk");const h=aE();return!h.loaded&&!l?.renderWhileLoading?null:L.createElement(t,{...f,component:s,clerk:h})};return u.displayName=`withClerk(${s})`,u};const aP=()=>{try{return!1}catch{}return!1},oP=()=>{try{return!1}catch{}return!1},sP=()=>{try{return!0}catch{}return!1},w0=new Set,cm=(t,r,a)=>{const s=oP()||sP(),l=t;w0.has(l)||s||(w0.add(l),console.warn(`Clerk - DEPRECATION WARNING: "${t}" is deprecated and will be removed in the next major release. 24${r}`))};var C0=({children:t,treatPendingAsSignedOut:r})=>{Nc("SignedIn");const{userId:a}=um({treatPendingAsSignedOut:r});return a?t:null},x0=({children:t,treatPendingAsSignedOut:r})=>{Nc("SignedOut");const{userId:a}=um({treatPendingAsSignedOut:r});return a===null?t:null},QU=st(({clerk:t,...r})=>{const{client:a,session:s}=t,l=a.signedInSessions?a.signedInSessions.length>0:a.activeSessions&&a.activeSessions.length>0;return L.useEffect(()=>{s===null&&l?t.redirectToAfterSignOut():t.redirectToSignIn(r)},[]),null},"RedirectToSignIn");st(({clerk:t,...r})=>(L.useEffect(()=>{t.redirectToSignUp(r)},[]),null),"RedirectToSignUp");st(({clerk:t,...r})=>(L.useEffect(()=>{t.redirectToTasks(r)},[]),null),"RedirectToTasks");st(({clerk:t})=>(L.useEffect(()=>{cm("RedirectToUserProfile","Use the `redirectToUserProfile()` method instead."),t.redirectToUserProfile()},[]),null),"RedirectToUserProfile");st(({clerk:t})=>(L.useEffect(()=>{cm("RedirectToOrganizationProfile","Use the `redirectToOrganizationProfile()` method instead."),t.redirectToOrganizationProfile()},[]),null),"RedirectToOrganizationProfile");st(({clerk:t})=>(L.useEffect(()=>{cm("RedirectToCreateOrganization","Use the `redirectToCreateOrganization()` method instead."),t.redirectToCreateOrganization()},[]),null),"RedirectToCreateOrganization");st(({clerk:t,...r})=>(L.useEffect(()=>{t.handleRedirectCallback(r)},[]),null),"AuthenticateWithRedirectCallback");function Gh(t,r,a){if(typeof t=="function")return t(r);if(typeof t<"u")return t;if(typeof a<"u")return a}const cn=t=>{aP()&&console.error(`Clerk: ${t}`)};var sE=V_();const k0=(t,...r)=>{const a={...t};for(const s of r)delete a[s];return a};var Lc=t=>r=>{try{return L.Children.only(t)}catch{return ur.throw(jk(r))}},Ic=(t,r)=>(t||(t=r),typeof t=="string"&&(t=L.createElement("button",null,t)),t),zc=t=>(...r)=>{if(t&&typeof t=="function")return t(...r)};function lP(t){return typeof t=="function"}var Qu=new Map;function uP(t,r,a=1){L.useEffect(()=>{const s=Qu.get(t)||0;return s==a?ur.throw(r):(Qu.set(t,s+1),()=>{Qu.set(t,(Qu.get(t)||1)-1)})},[])}function cP(t,r,a){const s=t.displayName||t.name||r||"Component",l=u=>(uP(r,a),L.createElement(t,{...u}));return l.displayName=`withMaxAllowedInstancesGuard(${s})`,l}var Zs=t=>{const[r,a]=w.useState(new Map);return t.map(s=>({id:s.id,mount:l=>a(u=>
24new Map(u).set(String(s.id),l)),unmount:()=>a(l=>{const u=new Map(l);return u.set(String(s.id),null),u}),portal:()=>{const l=r.get(String(s.id));return l?sE.createPortal(s.component,l):null}}))},un=(t,r)=>!!t&&L.isValidElement(t)&&t?.type===r,lE=(t,r)=>dE({children:t,reorderItemsLabels:["account","security","billing","apiKeys"],LinkComponent:dl,PageComponent:cl,MenuItemsComponent:Bc,componentName:"UserProfile"},r),uE=(t,r)=>dE({children:t,reorderItemsLabels:["general","members","billing","apiKeys"],LinkComponent:Hc,PageComponent:jc,componentName:"OrganizationProfile"},r),cE=t=>{const r=[],a=[Hc,jc,Bc,cl,dl];return L.Children.forEach(t,s=>{a.some(l=>un(s,l))||r.push(s)}),r},dE=(t,r)=>{const{children:a,LinkComponent:s,PageComponent:l,MenuItemsComponent:u,reorderItemsLabels:f,componentName:h}=t,{allowForAnyChildren:p=!1}=r||{},g=[];L.Children.forEach(a,K=>{if(!un(K,l)&&!un(K,s)&&!un(K,u)){K&&!p&&cn(Kk(h));return}const{props:Z}=K,{children:le,label:te,url:be,labelIcon:$}=Z;if(un(K,l))if(P0(Z,f))g.push({label:te});else if(Vh(Z))g.push({label:te,labelIcon:$,children:le,url:be});else{cn(Yk(h));return}if(un(K,s))if(qh(Z))g.push({label:te,labelIcon:$,url:be});else{cn(Wk(h));return}});const b=[],y=[],S=[];g.forEach((K,Z)=>{if(Vh(K)){b.push({component:K.children,id:Z}),y.push({component:K.labelIcon,id:Z});return}qh(K)&&S.push({component:K.labelIcon,id:Z})});const _=Zs(b),k=Zs(y),U=Zs(S),B=[],q=[];return g.forEach((K,Z)=>{if(P0(K,f)){B.push({label:K.label});return}if(Vh(K)){const{portal:le,mount:te,unmount:be}=_.find(_e=>_e.id===Z),{portal:$,mount:R,unmount:ue}=k.find(_e=>_e.id===Z);B.push({label:K.label,url:K.url,mount:te,unmount:be,mountIcon:R,unmountIcon:ue}),q.push(le),q.push($);return}if(qh(K)){const{portal:le,mount:te,unmount:be}=U.find($=>$.id===Z);B.push({label:K.label,url:K.url,mountIcon:te,unmountIcon:be}),q.push(le);return}}),{customPages:B,customPagesPortals:q}},P0=(t,r)=>{const{children:a,label:s,url:l,labelIcon:u}=t;return!a&&!l&&!u&&r.some(f=>f===s)},Vh=t=>{const{children:r,label:a,url:s,labelIcon:l}=t;return!!r&&!!s&&!!l&&!!a},qh=t=>{const{children:r,label:a,url:s,labelIcon:l}=t;return!r&&!!s&&!!l&&!!a},dP=(t,r)=>{var a;return fP({children:t,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:Bc,MenuActionComponent:hE,MenuLinkComponent:pE,UserProfileLinkComponent:dl,UserProfilePageComponent:cl,allowForAnyChildren:(a=r?.allowForAnyChildren)!=null?a:!1})},fP=({children:t,MenuItemsComponent:r,MenuActionComponent:a,MenuLinkComponent:s,UserProfileLinkComponent:l,UserProfilePageComponent:u,reorderItemsLabels:f,allowForAnyChildren:h=!1})=>{const p=[],g=[],b=[];L.Children.forEach(t,U=>{if(!un(U,r)&&!un(U,l)&&!un(U,u)){U&&!h&&cn($k);return}if(un(U,l)||un(U,u))return;const{props:B}=U;L.Children.forEach(B.children,q=>{if(!un(q,a)&&!un(q,s)){q&&cn(Qk);return}const{props:K}=q,{label:Z,labelIcon:le,href:te,onClick:be,open:$}=K;if(un(q,a))if(M0(K,f))p.push({label:Z});else if(Kh(K)){const R={label:Z,labelIcon:le};if(be!==void 0)p.push({...R,onClick:be});else if($!==void 0)p.push({...R,open:$.startsWith("/")?$:`/${$}`});else{cn("Custom menu item must have either onClick or open property");return}}else{cn(tP);return}if(un(q,s))if(Yh(K))p.push({label:Z,labelIcon:le,href:te});else{cn(eP);return}})});const y=[],S=[];p.forEach((U,B)=>{Kh(U)&&y.push({component:U.labelIcon,id:B}),Yh(U)&&S.push({component:U.labelIcon,id:B})});const _=Zs(y),k=Zs(S);return p.forEach((U,B)=>{if(M0(U,f)&&g.push({label:U.label}),Kh(U)){const{portal:q,mount:K,unmount:Z}=_.find(te=>te.id===B),le={label:U.label,mountIcon:K,unmountIcon:Z};"onClick"in U?le.onClick=U.onClick:"open"in U&&(le.open=U.open),g.push(le),b.push(q)}if(Yh(U)){const{portal:q,mount:K,unmount:Z}=k.find(le=>le.id===B);g.push({label:U.label,href:U.href,mountIcon:K,unmountIcon:Z}),b.push(q)}}),{customMenuItems:g,customMenuItemsPortals:b}},M0=(t,r)=>{const{children:a,label:s,onClick:l,labelIcon:u}=t;return!a&&!l&&!u&&r.some(f=>f===s)},Kh=t=>{const{label:r,labelIcon:a,onClick:s,open:l}=t;return!!a&&!!r&&(typeof s=="function"||typeof l=="string")},Yh=t=>{const{label:r,href:a,labelIcon:s}=t;return!!a&&!!s&&!!r},hP=t=>{const r=t?.isReady;return a=>new Promise((s,l)=>{const{root:u=document?.body,selector:f,timeout:h=0}=a;if(!u){l(new Error("No root element provided"));return}let p=u;if(f&&(p=u?.querySelector(f)),r(p,f)){s();return}const g=new MutationObserver(b=>{for(const y of b)if(!p&&f&&(p=u?.querySelector(f)),(t.childList&&y.type==="childList"||t.attributes&&y.type==="attributes")&&r(p,f)){g.disconnect(),s();return}});g.observe(u,t),h>0&&setTimeout(()=>{g.disconnect(),l(new Error(`Timeout waiting for ${f}`))},h)})},pP=hP({childList:!0,subtree:!0,isReady:(t,r)=>{var a;return!!t?.childElementCount&&((a=t?.matches)==null?void 0:a.call(t,r))&&t.childElementCount>0}});function Jt(t,r){const a=w.useRef(),[s,l]=w.useState("rendering");return w.useEffect(()=>{if(!t)throw new Error("Clerk: no component name provided, unable to detect mount.");if(typeof window<"u"&&!a.current){const u=`[data-clerk-component="${t}"]`,f=r?.selector;a.current=pP({selector:f?u+f:u}).then(()=>{l("rendered")}
24).catch(()=>{l("error")})}},[t,r?.selector]),s}var Xu=t=>"mount"in t,D0=t=>"open"in t,O0=t=>t?.map(({mountIcon:r,unmountIcon:a,...s})=>s),Bt=class extends L.PureComponent{constructor(){super(...arguments),this.rootRef=L.createRef()}componentDidUpdate(t){var r,a,s,l;if(!Xu(t)||!Xu(this.props))return;const u=k0(t.props,"customPages","customMenuItems","children"),f=k0(this.props.props,"customPages","customMenuItems","children"),h=((r=u.customPages)==null?void 0:r.length)!==((a=f.customPages)==null?void 0:a.length),p=((s=u.customMenuItems)==null?void 0:s.length)!==((l=f.customMenuItems)==null?void 0:l.length),g=O0(t.props.customMenuItems),b=O0(this.props.props.customMenuItems);(!E0(u,f)||!E0(g,b)||h||p)&&this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&(Xu(this.props)&&this.props.mount(this.rootRef.current,this.props.props),D0(this.props)&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&(Xu(this.props)&&this.props.unmount(this.rootRef.current),D0(this.props)&&this.props.close())}render(){const{hideRootHtmlElement:t=!1}=this.props,r={ref:this.rootRef,...this.props.rootProps,...this.props.component&&{"data-clerk-component":this.props.component}};return L.createElement(L.Fragment,null,!t&&L.createElement("div",{...r}),this.props.children)}},Uc=t=>{var r,a;return L.createElement(L.Fragment,null,(r=t?.customPagesPortals)==null?void 0:r.map((s,l)=>w.createElement(s,{key:l})),(a=t?.customMenuItemsPortals)==null?void 0:a.map((s,l)=>w.createElement(s,{key:l})))},XU=st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountSignIn,unmount:t.unmountSignIn,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"SignIn",renderWhileLoading:!0}),ZU=st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountSignUp,unmount:t.unmountSignUp,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"SignUp",renderWhileLoading:!0});function cl({children:t}){return cn(Fk),L.createElement(L.Fragment,null,t)}function dl({children:t}){return cn(Gk),L.createElement(L.Fragment,null,t)}var mP=st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}},{customPages:h,customPagesPortals:p}=lE(s.children);return L.createElement(L.Fragment,null,u&&a,L.createElement(Bt,{component:r,mount:t.mountUserProfile,unmount:t.unmountUserProfile,updateProps:t.__unstable__updateProps,props:{...s,customPages:h},rootProps:f},L.createElement(Uc,{customPagesPortals:p})))},{component:"UserProfile",renderWhileLoading:!0});Object.assign(mP,{Page:cl,Link:dl});var fE=w.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),gP=st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}},{customPages:h,customPagesPortals:p}=lE(s.children,{allowForAnyChildren:!!s.__experimental_asProvider}),g={...s.userProfileProps,customPages:h},{customMenuItems:b,customMenuItemsPortals:y}=dP(s.children,{allowForAnyChildren:!!s.__experimental_asProvider}),S=cE(s.children),_={mount:t.mountUserButton,unmount:t.unmountUserButton,updateProps:t.__unstable__updateProps,props:{...s,userProfileProps:g,customMenuItems:b}},k={customPagesPortals:p,customMenuItemsPortals:y};return L.createElement(fE.Provider,{value:_},u&&a,t.loaded&&L.createElement(Bt,{component:r,..._,hideRootHtmlElement:!!s.__experimental_asProvider,rootProps:f},s.__experimental_asProvider?S:null,L.createElement(Uc,{...k})))},{component:"UserButton",renderWhileLoading:!0});function Bc({children:t}){return cn(Xk),L.createElement(L.Fragment,null,t)}function hE({children:t}){return cn(Zk),L.createElement(L.Fragment,null,t)}function pE({children:t}){return cn(Jk),L.createElement(L.Fragment,null,t)}function yP(t){const r=w.useContext(fE),a={...r,props:{...r.props,...t}};return L.createElement(Bt,{...a})}var R0=Object.assign(gP,{UserProfilePage:cl,UserProfileLink:dl,MenuItems:Bc,Action:hE,Link:pE,__experimental_Outlet:yP});function jc({children:t}){return cn(Vk),L.createElement(L.Fragment,null,t)}function Hc({children:t}){return cn(qk),L.createElement(L.Fragment,null,t)}var bP=st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}},{customPages:h,customPagesPortals:p}=uE(s.children);return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountOrganizationProfile,unmount:t.unmountOrganizationProfile,updateProps:t.__unstable__updateProps,props:{...s,customPages:h},rootProps:f},L.createElement(Uc,{customPagesPortals:p})))},{component:"OrganizationProfile",renderWhileLoading:!0});Object.assign(bP,{Page:jc,Link:Hc});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountCreateOrganization,unmount:t.unmountCreateOrganization,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"CreateOrganization",renderWhileLoading:!0});var mE=w.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),vP=st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}},{customPages:h,customPagesPortals:p}=uE(s.children,{allowForAnyChildren:!!s.__experimental_asProvider}),g={...s.organizationProfileProps,customPages:h},b=cE(s.children),y={mount:t.mountOrganizationSwitcher,unmount:t.unmountOrganizationSwitcher,updateProps:t.__unstable__updateProps,props:{...s,organizationProfileProps:g},rootProps:f,component:r};return t.__experimental_prefetchOrganizationSwitcher(),L.createElement(mE.Provider,{value:y},L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{...y,hideRootHtmlElement:!!s.__experimental_asProvider},s.__experimental_asProvider?b:null,L.createElement(Uc,{customPagesPortals:p}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0});function SP(t){const r=w.useContext(mE),a={...r,props:{...r.props,...t}};return L.createElement(Bt,{...a})}Object.assign(vP,{OrganizationProfilePage:jc,OrganizationProfileLink:Hc,__experimental_Outlet:SP});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountOrganizationList,unmount:t.unmountOrganizationList,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"OrganizationList",renderWhileLoading:!0});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,open:t.openGoogleOneTap,close:t.closeGoogleOneTap,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"GoogleOneTap",renderWhileLoading:!0});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountWaitlist,unmount:t.unmountWaitlist,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"Waitlist",renderWhileLoading:!0});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r,{selector:'[data-component-status="ready"]'})==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountPricingTable,unmount:t.unmountPricingTable,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"PricingTable",renderWhileLoading:!0});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountAPIKeys,unmount:t.unmountAPIKeys,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"ApiKeys",renderWhileLoading:!0});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountUserAvatar,unmount:t.unmountUserAvatar,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"UserAvatar",renderWhileLoading:!0});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountTaskChooseOrganization,unmount:t.unmountTaskChooseOrganization,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"TaskChooseOrganization",renderWhileLoading:!0});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountTaskResetPassword,unmount:t.unmountTaskResetPassword,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"TaskResetPassword",renderWhileLoading:!0});st(({clerk:t,component:r,fallback:a,...s})=>{const u=Jt(r)==="rendering"||!t.loaded,f={...u&&a&&{style:{display:"none"}}};return L.createElement(L.Fragment,null,u&&a,t.loaded&&L.createElement(Bt,{component:r,mount:t.mountTaskSetupMFA,unmount:t.unmountTaskSetupMFA,updateProps:t.__unstable__updateProps,props:s,rootProps:f}))},{component:"TaskSetupMFA",renderWhileLoading:!0});var gE=t=>{throw TypeError(t)},dm=(t,r,a)=>r.has(t)||gE("Cannot "+a),pt=(t,r,a)=>(dm(t,r,"read from private field"),a?a.call(t):r.get(t)),Ii=(t,r,a)=>r.has(t)?gE("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(t):r.set(t,a),ma=(t,r,a,s)=>(dm(t,r,"write to private field"),r.set(t,a),a),Wh=(t,r,a)=>(dm(t,r,"access private method"),a);const _P={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(t,r)=>r<5,retryImmediately:!1,jitter:!0},EP=100,yE=async t=>new Promise(r=>setTimeout(r,t)),bE=(t,r)=>r?t*(1+Math.random()):t,AP=t=>{let r=0;const a=()=>{const s=t.initialDelay,l=t.factor;let u=s*Math.pow(l,r);return u=bE(u,t.jitter),Math.min(t.maxDelayBetweenRetries||u,u)};return async()=>{await yE(a()),r++}},TP=async(t,r={})=>{let a=0;const{shouldRetry:s,initialDelay:l,maxDelayBetweenRetries:u,factor:f,retryImmediately:h,jitter:p,onBeforeRetry:g}={..._P,...r},b=AP({initialDelay:l,maxDelayBetweenRetries:u,factor:f,jitter:p});for(;;)try{return await t()}catch(y){if(a++,!s(y,a))throw y;g&&await g(a),h&&a===1?await yE(bE(EP,p)):await b()}},wP="loadScript cannot be called when document does not exist",CP="loadScript cannot be called without a src";async function xP(t="",r){const{async:a,defer:s,beforeLoad:l,crossOrigin:u,nonce:f}=r||{};return TP(()=>new Promise((p,g)=>{t||g(new Error(CP)),(!document||!document.body)&&g(new Error(wP));const b=document.createElement("script");
24u&&b.setAttribute("crossorigin",u),b.async=a||!1,b.defer=s||!1,b.addEventListener("load",()=>{b.remove(),p(b)}),b.addEventListener("error",y=>{b.remove(),g(y.error??new Error(`failed to load script: ${t}`))}),b.src=t,b.nonce=f,l?.(b),document.body.appendChild(b)}),{shouldRetry:(p,g)=>g<=5})}function kP(t){return t?PP(t)||vE(t):!0}function PP(t){return/^http(s)?:\/\//.test(t||"")}function vE(t){return t.startsWith("/")}function MP(t){return t?vE(t)?new URL(t,window.location.origin).toString():t:""}function DP(t){if(!t)return"";let r;if(t.match(/^(clerk\.)+\w*$/))r=/(clerk\.)*(?=clerk\.)/;else{if(t.match(/\.clerk.accounts/))return t;r=/^(clerk\.)*/gi}return`clerk.${t.replace(r,"")}`}const OP=(t,r="5.127.1")=>{if(t)return t;const a=RP(r);return a?a==="snapshot"?"5.127.1":a:NP(r)},RP=t=>t.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/)?.[1],NP=t=>t.trim().replace(/^v/,"").split(".")[0],SE="failed_to_load_clerk_js",LP="failed_to_load_clerk_js_timeout",Pp="Failed to load Clerk",{isDevOrStagingUrl:IP}=Hx(),_E=K_({packageName:"@clerk/shared"});function zP(t){_E.setPackageName({packageName:t})}function Mp(){if(typeof window>"u"||!window.Clerk)return!1;const t=window.Clerk;return typeof t=="object"&&typeof t.load=="function"}function UP(t){if(typeof window>"u"||!window.performance)return!1;const r=performance.getEntriesByName(t,"resource");if(r.length===0)return!1;const a=r[r.length-1];return a.transferSize===0&&a.decodedBodySize===0&&(a.responseEnd===0||a.responseEnd>0&&a.responseStart>0||"responseStatus"in a&&(a.responseStatus>=400||a.responseStatus===0))}function N0(t,r){return new Promise((a,s)=>{let l=!1;const u=(b,y)=>{clearTimeout(b),clearInterval(y)};r?.addEventListener("error",()=>{u(p,g),s(new _p(Pp,{code:SE}))});const f=()=>{l||Mp()&&(l=!0,u(p,g),a(null))},p=setTimeout(()=>{l||(l=!0,u(p,g),Mp()?a(null):s(new _p(Pp,{code:LP})))},t);f();const g=setInterval(()=>{if(l){clearInterval(g);return}f()},100)})}const BP=async t=>{const r=t?.scriptLoadTimeout??15e3;if(Mp())return null;if(!t?.publishableKey)return _E.throwMissingPublishableKeyError(),null;const a=jP(t),s=document.querySelector("script[data-clerk-js-script]");if(s)if(UP(a))s.remove();else try{return await N0(r,s),null}catch{s.remove()}const l=N0(r);return xP(a,{async:!0,crossOrigin:"anonymous",nonce:t.nonce,beforeLoad:FP(t)}).catch(u=>{throw new _p(Pp+(u.message?`, ${u.message}`:""),{code:SE,cause:u})}),l},jP=t=>{const{clerkJSUrl:r,clerkJSVariant:a,clerkJSVersion:s,proxyUrl:l,domain:u,publishableKey:f}=t;if(r)return r;let h="";l&&kP(l)?h=MP(l).replace(/http(s)?:\/\//,""):u&&!IP(d0(f)?.frontendApi||"")?h=DP(u):h=d0(f)?.frontendApi||"";const p=a?`${a.replace(/\.+$/,"")}.`:"",g=OP(s);return`https://${h}/npm/@clerk/clerk-js@${g}/dist/clerk.${p}browser.js`},HP=t=>{const r={};return t.publishableKey&&(r["data-clerk-publishable-key"]=t.publishableKey),t.proxyUrl&&(r["data-clerk-proxy-url"]=t.proxyUrl),t.domain&&(r["data-clerk-domain"]=t.domain),t.nonce&&(r.nonce=t.nonce),r},FP=t=>r=>{const a=HP(t);for(const s in a)r.setAttribute(s,a[s])},GP=(t,r,a)=>!t&&a?VP(a):qP(r),VP=t=>{const r=t.userId,a=t.user,s=t.sessionId,l=t.sessionStatus,u=t.sessionClaims;return{userId:r,user:a,sessionId:s,session:t.session,sessionStatus:l,sessionClaims:u,organization:t.organization,orgId:t.orgId,orgRole:t.orgRole,orgPermissions:t.orgPermissions,orgSlug:t.orgSlug,actor:t.actor,factorVerificationAge:t.factorVerificationAge}},qP=t=>{const r=t.user?t.user.id:t.user,a=t.user,s=t.session?t.session.id:t.session,l=t.session,u=t.session?.status,f=t.session?t.session.lastActiveToken?.jwt?.claims:null,h=t.session?t.session.factorVerificationAge:null,p=l?.actor,g=t.organization,b=t.organization?t.organization.id:t.organization,y=g?.slug,S=g&&a?.organizationMemberships?.find(k=>k.organization.id===b),_=S&&S.permissions;return{userId:r,user:a,sessionId:s,session:l,sessionStatus:u,sessionClaims:f,organization:g,orgId:b,orgRole:S&&S.role,orgSlug:y,orgPermissions:_,actor:p,factorVerificationAge:h}};function Sc(){return typeof window<"u"}const L0=(t,r,a,s,l)=>{const{notify:u}=l||{};let f=t.get(a);f||(f=[],t.set(a,f)),f.push(s),u&&r.has(a)&&s(r.get(a))},I0=(t,r,a)=>(t.get(r)||[]).map(s=>s(a)),z0=(t,r,a)=>{const s=t.get(r);s&&(a?s.splice(s.indexOf(a)>>>0,1):t.set(r,[]))},KP=()=>{const t=new Map,r=new Map,a=new Map;return{on:(...l)=>L0(t,r,...l),prioritizedOn:(...l)=>L0(a,r,...l),emit:(l,u)=>{r.set(l,u),I0(a,l,u),I0(t,l,u)},off:(...l)=>z0(t,...l),prioritizedOff:(...l)=>z0(a,...l),internal:{retrieveListeners:l=>t.get(l)||[]}}},Zu={Status:"status"},YP=()=>KP();typeof window<"u"&&!window.global&&(window.global=typeof global>"u"?window:global);st(({clerk:t,children:r,...a})=>{const{appearance:s,signUpFallbackRedirectUrl:l,forceRedirectUrl:u,fallbackRedirectUrl:f,signUpForceRedirectUrl:h,mode:p,initialValues:g,withSignUp:b,oauthFlow:y,...S}=a;r=Ic(r,"Sign in");const _=Lc(r)("SignInButton"),k=()=>{const q={forceRedirectUrl:u,fallbackRedirectUrl:f,signUpFallbackRedirectUrl:l,signUpForceRedirectUrl:h,initialValues:g,withSignUp:b,oauthFlow:y};return p==="modal"?t.openSignIn({...q,appearance:s}):t.redirectToSignIn({...q,signInFallbackRedirectUrl:f,signInForceRedirectUrl:u})},B={...S,onClick:async q=>(_&&typeof _=="object"&&"props"in _&&await zc(_.props.onClick)(q),k())};return L.cloneElement(_,B)}
24,{component:"SignInButton",renderWhileLoading:!0});st(({clerk:t,children:r,...a})=>{const{redirectUrl:s,...l}=a;r=Ic(r,"Sign in with Metamask");const u=Lc(r)("SignInWithMetamaskButton"),f=async()=>{async function g(){await t.authenticateWithMetamask({redirectUrl:s||void 0})}g()},p={...l,onClick:async g=>(await zc(u.props.onClick)(g),f())};return L.cloneElement(u,p)},{component:"SignInWithMetamask",renderWhileLoading:!0});st(({clerk:t,children:r,...a})=>{const{redirectUrl:s="/",signOutOptions:l,...u}=a;r=Ic(r,"Sign out");const f=Lc(r)("SignOutButton"),h=()=>t.signOut({redirectUrl:s,...l}),g={...u,onClick:async b=>(await zc(f.props.onClick)(b),h())};return L.cloneElement(f,g)},{component:"SignOutButton",renderWhileLoading:!0});st(({clerk:t,children:r,...a})=>{const{appearance:s,unsafeMetadata:l,fallbackRedirectUrl:u,forceRedirectUrl:f,signInFallbackRedirectUrl:h,signInForceRedirectUrl:p,mode:g,initialValues:b,oauthFlow:y,...S}=a;r=Ic(r,"Sign up");const _=Lc(r)("SignUpButton"),k=()=>{const q={fallbackRedirectUrl:u,forceRedirectUrl:f,signInFallbackRedirectUrl:h,signInForceRedirectUrl:p,initialValues:b,oauthFlow:y};return g==="modal"?t.openSignUp({...q,appearance:s,unsafeMetadata:l}):t.redirectToSignUp({...q,signUpFallbackRedirectUrl:u,signUpForceRedirectUrl:f})},B={...S,onClick:async q=>(_&&typeof _=="object"&&"props"in _&&await zc(_.props.onClick)(q),k())};return L.cloneElement(_,B)},{component:"SignUpButton",renderWhileLoading:!0});var WP=()=>({fields:{identifier:null,password:null,code:null},raw:null,global:null}),$P=()=>({fields:{firstName:null,lastName:null,emailAddress:null,phoneNumber:null,password:null,username:null,code:null,captcha:null,legalAccepted:null},raw:null,global:null}),QP=class{constructor(t){this.isomorphicClerk=t,this.signInSignalProxy=this.buildSignInProxy(),this.signUpSignalProxy=this.buildSignUpProxy()}signInSignal(){return this.signInSignalProxy}signUpSignal(){return this.signUpSignalProxy}buildSignInProxy(){const t=this.gateProperty.bind(this),r=()=>this.client.signIn.__internal_future;return{errors:WP(),fetchStatus:"idle",signIn:{status:"needs_identifier",availableStrategies:[],isTransferable:!1,get id(){return t(r,"id",void 0)},get supportedFirstFactors(){return t(r,"supportedFirstFactors",[])},get supportedSecondFactors(){return t(r,"supportedSecondFactors",[])},get secondFactorVerification(){return t(r,"secondFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},get identifier(){return t(r,"identifier",null)},get createdSessionId(){return t(r,"createdSessionId",null)},get userData(){return t(r,"userData",{})},get firstFactorVerification(){return t(r,"firstFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},create:this.gateMethod(r,"create"),password:this.gateMethod(r,"password"),sso:this.gateMethod(r,"sso"),finalize:this.gateMethod(r,"finalize"),emailCode:this.wrapMethods(()=>r().emailCode,["sendCode","verifyCode"]),emailLink:this.wrapStruct(()=>r().emailLink,["sendLink","waitForVerification"],["verification"],{verification:null}),resetPasswordEmailCode:this.wrapMethods(()=>r().resetPasswordEmailCode,["sendCode","verifyCode","submitPassword"]),phoneCode:this.wrapMethods(()=>r().phoneCode,["sendCode","verifyCode"]),mfa:this.wrapMethods(()=>r().mfa,["sendPhoneCode","verifyPhoneCode","verifyTOTP","verifyBackupCode"]),ticket:this.gateMethod(r,"ticket"),passkey:this.gateMethod(r,"passkey"),web3:this.gateMethod(r,"web3")}}}buildSignUpProxy(){const t=this.gateProperty.bind(this),r=this.gateMethod.bind(this),a=this.wrapMethods.bind(this),s=()=>this.client.signUp.__internal_future;return{errors:$P(),fetchStatus:"idle",signUp:{get id(){return t(s,"id",void 0)},get requiredFields(){return t(s,"requiredFields",[])},get optionalFields(){return t(s,"optionalFields",[])},get missingFields(){return t(s,"missingFields",[])},get username(){return t(s,"username",null)},get firstName(){return t(s,"firstName",null)},get lastName(){return t(s,"lastName",null)},get emailAddress(){return t(s,"emailAddress",null)},get phoneNumber(){return t(s,"phoneNumber",null)},get web3Wallet(){return t(s,"web3Wallet",null)},get hasPassword(){return t(s,"hasPassword",!1)},get unsafeMetadata(){return t(s,"unsafeMetadata",{})}
24,get createdSessionId(){return t(s,"createdSessionId",null)},get createdUserId(){return t(s,"createdUserId",null)},get abandonAt(){return t(s,"abandonAt",null)},get legalAcceptedAt(){return t(s,"legalAcceptedAt",null)},get locale(){return t(s,"locale",null)},get status(){return t(s,"status","missing_requirements")},get unverifiedFields(){return t(s,"unverifiedFields",[])},get isTransferable(){return t(s,"isTransferable",!1)},create:r(s,"create"),update:r(s,"update"),sso:r(s,"sso"),password:r(s,"password"),ticket:r(s,"ticket"),web3:r(s,"web3"),finalize:r(s,"finalize"),verifications:a(()=>s().verifications,["sendEmailCode","verifyEmailCode","sendPhoneCode","verifyPhoneCode"])}}}__internal_effect(t){throw new Error("__internal_effect called before Clerk is loaded")}__internal_computed(t){throw new Error("__internal_computed called before Clerk is loaded")}get client(){const t=this.isomorphicClerk.client;if(!t)throw new Error("Clerk client not ready");return t}gateProperty(t,r,a){return!Sc()||!this.isomorphicClerk.loaded?a:t()[r]}gateMethod(t,r){return(async(...a)=>{if(!Sc())return ur.throw(`Attempted to call a method (${r}) that is not supported on the server.`);this.isomorphicClerk.loaded||await new Promise(l=>this.isomorphicClerk.addOnLoaded(l));const s=t();return s[r].apply(s,a)})}wrapMethods(t,r){return Object.fromEntries(r.map(a=>[a,this.gateMethod(t,a)]))}wrapStruct(t,r,a,s){const l={};for(const u of r)l[u]=this.gateMethod(t,u);for(const u of a)Object.defineProperty(l,u,{get:()=>this.gateProperty(t,u,s[u]),enumerable:!0});return l}};typeof globalThis.__BUILD_DISABLE_RHC__>"u"&&(globalThis.__BUILD_DISABLE_RHC__=!1);var XP={name:"@clerk/clerk-react",version:"5.61.9",environment:"production"},sc,wo,Co,zi,kr,lc,Bi,Ws,uc,EE=class AE{constructor(r){Ii(this,Ws),this.clerkjs=null,this.preopenOneTap=null,this.preopenUserVerification=null,this.preopenEnableOrganizationsPrompt=null,this.preopenSignIn=null,this.preopenCheckout=null,this.preopenPlanDetails=null,this.preopenSubscriptionDetails=null,this.preopenSignUp=null,this.preopenUserProfile=null,this.preopenOrganizationProfile=null,this.preopenCreateOrganization=null,this.preOpenWaitlist=null,this.premountSignInNodes=new Map,this.premountSignUpNodes=new Map,this.premountUserAvatarNodes=new Map,this.premountUserProfileNodes=new Map,this.premountUserButtonNodes=new Map,this.premountOrganizationProfileNodes=new Map,this.premountCreateOrganizationNodes=new Map,this.premountOrganizationSwitcherNodes=new Map,this.premountOrganizationListNodes=new Map,this.premountMethodCalls=new Map,this.premountWaitlistNodes=new Map,this.premountPricingTableNodes=new Map,this.premountAPIKeysNodes=new Map,this.premountOAuthConsentNodes=new Map,this.premountTaskChooseOrganizationNodes=new Map,this.premountTaskResetPasswordNodes=new Map,this.premountTaskSetupMFANodes=new Map,this.premountAddListenerCalls=new Map,this.loadedListeners=[],Ii(this,sc,"loading"),Ii(this,wo),Ii(this,Co),Ii(this,zi),Ii(this,kr,YP()),Ii(this,lc),this.buildSignInUrl=l=>{const u=()=>{var f;return((f=this.clerkjs)==null?void 0:f.buildSignInUrl(l))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildSignInUrl",u)},this.buildSignUpUrl=l=>{const u=()=>{var f;return((f=this.clerkjs)==null?void 0:f.buildSignUpUrl(l))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildSignUpUrl",u)},this.buildAfterSignInUrl=(...l)=>{const u=()=>{var f;return((f=this.clerkjs)==null?void 0:f.buildAfterSignInUrl(...l))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildAfterSignInUrl",u)},this.buildAfterSignUpUrl=(...l)=>{const u=()=>{var f;return((f=this.clerkjs)==null?void 0:f.buildAfterSignUpUrl(...l))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildAfterSignUpUrl",u)},this.buildAfterSignOutUrl=()=>{const l=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildAfterSignOutUrl())||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildAfterSignOutUrl",l)},this.buildNewSubscriptionRedirectUrl=()=>{const l=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildNewSubscriptionRedirectUrl())||""};
24if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildNewSubscriptionRedirectUrl",l)},this.buildAfterMultiSessionSingleSignOutUrl=()=>{const l=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildAfterMultiSessionSingleSignOutUrl())||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildAfterMultiSessionSingleSignOutUrl",l)},this.buildUserProfileUrl=()=>{const l=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildUserProfileUrl())||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildUserProfileUrl",l)},this.buildCreateOrganizationUrl=()=>{const l=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildCreateOrganizationUrl())||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildCreateOrganizationUrl",l)},this.buildOrganizationProfileUrl=()=>{const l=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildOrganizationProfileUrl())||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildOrganizationProfileUrl",l)},this.buildWaitlistUrl=()=>{const l=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildWaitlistUrl())||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildWaitlistUrl",l)},this.buildTasksUrl=()=>{const l=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildTasksUrl())||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildTasksUrl",l)},this.buildUrlWithAuth=l=>{const u=()=>{var f;return((f=this.clerkjs)==null?void 0:f.buildUrlWithAuth(l))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildUrlWithAuth",u)},this.handleUnauthenticated=async()=>{const l=()=>{var u;return(u=this.clerkjs)==null?void 0:u.handleUnauthenticated()};this.clerkjs&&this.loaded?l():this.premountMethodCalls.set("handleUnauthenticated",l)},this.on=(...l)=>{var u;if((u=this.clerkjs)!=null&&u.on)return this.clerkjs.on(...l);pt(this,kr).on(...l)},this.off=(...l)=>{var u;if((u=this.clerkjs)!=null&&u.off)return this.clerkjs.off(...l);pt(this,kr).off(...l)},this.addOnLoaded=l=>{this.loadedListeners.push(l),this.loaded&&this.emitLoaded()},this.emitLoaded=()=>{this.loadedListeners.forEach(l=>l()),this.loadedListeners=[]},this.beforeLoad=l=>{if(!l)throw new Error("Failed to hydrate latest Clerk JS")},this.hydrateClerkJS=l=>{var u,f;if(!l)throw new Error("Failed to hydrate latest Clerk JS");return this.clerkjs=l,this.premountMethodCalls.forEach(h=>h()),this.premountAddListenerCalls.forEach((h,p)=>{h.nativeUnsubscribe=l.addListener(p)}),(u=pt(this,kr).internal.retrieveListeners("status"))==null||u.forEach(h=>{this.on("status",h,{notify:!0})}),(f=pt(this,kr).internal.retrieveListeners("queryClientStatus"))==null||f.forEach(h=>{this.on("queryClientStatus",h,{notify:!0})}),this.preopenSignIn!==null&&l.openSignIn(this.preopenSignIn),this.preopenCheckout!==null&&l.__internal_openCheckout(this.preopenCheckout),this.preopenPlanDetails!==null&&l.__internal_openPlanDetails(this.preopenPlanDetails),this.preopenSubscriptionDetails!==null&&l.__internal_openSubscriptionDetails(this.preopenSubscriptionDetails),this.preopenSignUp!==null&&l.openSignUp(this.preopenSignUp),this.preopenUserProfile!==null&&l.openUserProfile(this.preopenUserProfile),this.preopenUserVerification!==null&&l.__internal_openReverification(this.preopenUserVerification),this.preopenOneTap!==null&&l.openGoogleOneTap(this.preopenOneTap),this.preopenOrganizationProfile!==null&&l.openOrganizationProfile(this.preopenOrganizationProfile),this.preopenCreateOrganization!==null&&l.openCreateOrganization(this.preopenCreateOrganization),this.preOpenWaitlist!==null&&l.openWaitlist(this.preOpenWaitlist),this.preopenEnableOrganizationsPrompt&&l.__internal_openEnableOrganizationsPrompt(this.preopenEnableOrganizationsPrompt),this.premountSignInNodes.forEach((h,p)=>{l.mountSignIn(p,h)}),this.premountSignUpNodes.forEach((h,p)=>{l.mountSignUp(p,h)}),this.premountUserProfileNodes.forEach((h,p)=>{l.mountUserProfile(p,h)}),this.premountUserAvatarNodes.forEach((h,p)=>{l.mountUserAvatar(p,h)}
24),this.premountUserButtonNodes.forEach((h,p)=>{l.mountUserButton(p,h)}),this.premountOrganizationListNodes.forEach((h,p)=>{l.mountOrganizationList(p,h)}),this.premountWaitlistNodes.forEach((h,p)=>{l.mountWaitlist(p,h)}),this.premountPricingTableNodes.forEach((h,p)=>{l.mountPricingTable(p,h)}),this.premountAPIKeysNodes.forEach((h,p)=>{l.mountAPIKeys(p,h)}),this.premountOAuthConsentNodes.forEach((h,p)=>{l.__internal_mountOAuthConsent(p,h)}),this.premountTaskChooseOrganizationNodes.forEach((h,p)=>{l.mountTaskChooseOrganization(p,h)}),this.premountTaskResetPasswordNodes.forEach((h,p)=>{l.mountTaskResetPassword(p,h)}),this.premountTaskSetupMFANodes.forEach((h,p)=>{l.mountTaskSetupMFA(p,h)}),typeof this.clerkjs.status>"u"&&pt(this,kr).emit(Zu.Status,"ready"),this.emitLoaded(),this.clerkjs},this.__experimental_checkout=(...l)=>{var u;return(u=this.clerkjs)==null?void 0:u.__experimental_checkout(...l)},this.__unstable__updateProps=async l=>{const u=await Wh(this,Ws,uc).call(this);if(u&&"__unstable__updateProps"in u)return u.__unstable__updateProps(l)},this.setActive=l=>this.clerkjs?this.clerkjs.setActive(l):Promise.reject(),this.openSignIn=l=>{this.clerkjs&&this.loaded?this.clerkjs.openSignIn(l):this.preopenSignIn=l},this.closeSignIn=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignIn():this.preopenSignIn=null},this.__internal_openCheckout=l=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openCheckout(l):this.preopenCheckout=l},this.__internal_closeCheckout=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeCheckout():this.preopenCheckout=null},this.__internal_openPlanDetails=l=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openPlanDetails(l):this.preopenPlanDetails=l},this.__internal_closePlanDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closePlanDetails():this.preopenPlanDetails=null},this.__internal_openSubscriptionDetails=l=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openSubscriptionDetails(l):this.preopenSubscriptionDetails=l??null},this.__internal_closeSubscriptionDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeSubscriptionDetails():this.preopenSubscriptionDetails=null},this.__internal_openReverification=l=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openReverification(l):this.preopenUserVerification=l},this.__internal_closeReverification=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeReverification():this.preopenUserVerification=null},this.__internal_openEnableOrganizationsPrompt=l=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openEnableOrganizationsPrompt(l):this.preopenEnableOrganizationsPrompt=l},this.__internal_closeEnableOrganizationsPrompt=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeEnableOrganizationsPrompt():this.preopenEnableOrganizationsPrompt=null},this.openGoogleOneTap=l=>{this.clerkjs&&this.loaded?this.clerkjs.openGoogleOneTap(l):this.preopenOneTap=l},this.closeGoogleOneTap=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeGoogleOneTap():this.preopenOneTap=null},this.openUserProfile=l=>{this.clerkjs&&this.loaded?this.clerkjs.openUserProfile(l):this.preopenUserProfile=l},this.closeUserProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeUserProfile():this.preopenUserProfile=null},this.openOrganizationProfile=l=>{this.clerkjs&&this.loaded?this.clerkjs.openOrganizationProfile(l):this.preopenOrganizationProfile=l},this.closeOrganizationProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeOrganizationProfile():this.preopenOrganizationProfile=null},this.openCreateOrganization=l=>{this.clerkjs&&this.loaded?this.clerkjs.openCreateOrganization(l):this.preopenCreateOrganization=l},this.closeCreateOrganization=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeCreateOrganization():this.preopenCreateOrganization=null},this.openWaitlist=l=>{this.clerkjs&&this.loaded?this.clerkjs.openWaitlist(l):this.preOpenWaitlist=l},this.closeWaitlist=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeWaitlist():this.preOpenWaitlist=null},this.openSignUp=l=>{this.clerkjs&&this.loaded?this.clerkjs.openSignUp(l):this.preopenSignUp=l},this.closeSignUp=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignUp():this.preopenSignUp=null}
24,this.mountSignIn=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignIn(l,u):this.premountSignInNodes.set(l,u)},this.unmountSignIn=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignIn(l):this.premountSignInNodes.delete(l)},this.mountSignUp=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignUp(l,u):this.premountSignUpNodes.set(l,u)},this.unmountSignUp=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignUp(l):this.premountSignUpNodes.delete(l)},this.mountUserAvatar=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserAvatar(l,u):this.premountUserAvatarNodes.set(l,u)},this.unmountUserAvatar=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserAvatar(l):this.premountUserAvatarNodes.delete(l)},this.mountUserProfile=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserProfile(l,u):this.premountUserProfileNodes.set(l,u)},this.unmountUserProfile=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserProfile(l):this.premountUserProfileNodes.delete(l)},this.mountOrganizationProfile=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationProfile(l,u):this.premountOrganizationProfileNodes.set(l,u)},this.unmountOrganizationProfile=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationProfile(l):this.premountOrganizationProfileNodes.delete(l)},this.mountCreateOrganization=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountCreateOrganization(l,u):this.premountCreateOrganizationNodes.set(l,u)},this.unmountCreateOrganization=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountCreateOrganization(l):this.premountCreateOrganizationNodes.delete(l)},this.mountOrganizationSwitcher=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationSwitcher(l,u):this.premountOrganizationSwitcherNodes.set(l,u)},this.unmountOrganizationSwitcher=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationSwitcher(l):this.premountOrganizationSwitcherNodes.delete(l)},this.__experimental_prefetchOrganizationSwitcher=()=>{const l=()=>{var u;return(u=this.clerkjs)==null?void 0:u.__experimental_prefetchOrganizationSwitcher()};this.clerkjs&&this.loaded?l():this.premountMethodCalls.set("__experimental_prefetchOrganizationSwitcher",l)},this.mountOrganizationList=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationList(l,u):this.premountOrganizationListNodes.set(l,u)},this.unmountOrganizationList=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationList(l):this.premountOrganizationListNodes.delete(l)},this.mountUserButton=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserButton(l,u):this.premountUserButtonNodes.set(l,u)},this.unmountUserButton=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserButton(l):this.premountUserButtonNodes.delete(l)},this.mountWaitlist=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountWaitlist(l,u):this.premountWaitlistNodes.set(l,u)},this.unmountWaitlist=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountWaitlist(l):this.premountWaitlistNodes.delete(l)},this.mountPricingTable=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountPricingTable(l,u):this.premountPricingTableNodes.set(l,u)},this.unmountPricingTable=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountPricingTable(l):this.premountPricingTableNodes.delete(l)},this.mountAPIKeys=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountAPIKeys(l,u):this.premountAPIKeysNodes.set(l,u)},this.unmountAPIKeys=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountAPIKeys(l):this.premountAPIKeysNodes.delete(l)},this.__internal_mountOAuthConsent=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_mountOAuthConsent(l,u):this.premountOAuthConsentNodes.set(l,u)},this.__internal_unmountOAuthConsent=l=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_unmountOAuthConsent(l):this.premountOAuthConsentNodes.delete(l)},this.mountTaskChooseOrganization=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskChooseOrganization(l,u):this.premountTaskChooseOrganizationNodes.set(l,u)},this.unmountTaskChooseOrganization=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskChooseOrganization(l):this.premountTaskChooseOrganizationNodes.delete(l)},this.mountTaskResetPassword=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskResetPassword(l,u):this.premountTaskResetPasswordNodes.set(l,u)},this.unmountTaskResetPassword=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskResetPassword(l):this.premountTaskResetPasswordNodes.delete(l)},this.mountTaskSetupMFA=(l,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskSetupMFA(l,u):this.premountTaskSetupMFANodes.set(l,u)},this.unmountTaskSetupMFA=l=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskSetupMFA(l):this.premountTaskSetupMFANodes.delete(l)},this.addListener=l=>{if(this.clerkjs)return this.clerkjs.addListener(l);{const u=()=>{var f;const h=this.premountAddListenerCalls.get(l);h&&((f=h.nativeUnsubscribe)==null||f.call(h),this.premountAddListenerCalls.delete(l))};return this.premountAddListenerCalls.set(l,{unsubscribe:u,nativeUnsubscribe:void 0}),u}},this.navigate=l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.navigate(l)};this.clerkjs&&this.loaded?u():this.premountMethodCalls.set("navigate",u)},this.redirectWithAuth=async(...l)=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.redirectWithAuth(...l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("redirectWithAuth",u)},this.redirectToSignIn=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.redirectToSignIn(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("redirectToSignIn",u)},this.redirectToSignUp=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.redirectToSignUp(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("redirectToSignUp",u)},this.redirectToUserProfile=async()=>{const l=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToUserProfile()};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectToUserProfile",l)},this.redirectToAfterSignUp=()=>{const l=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToAfterSignUp()};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectToAfterSignUp",l)},this.redirectToAfterSignIn=()=>{const l=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToAfterSignIn()};this.clerkjs&&this.loaded?l():this.premountMethodCalls.set("redirectToAfterSignIn",l)},this.redirectToAfterSignOut=()=>{const l=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToAfterSignOut()};this.clerkjs&&this.loaded?l():this.premountMethodCalls.set("redirectToAfterSignOut",l)},this.redirectToOrganizationProfile=async()=>{const l=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToOrganizationProfile()};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectToOrganizationProfile",l)},this.redirectToCreateOrganization=async()=>{const l=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToCreateOrganization()};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectToCreateOrganization",l)},this.redirectToWaitlist=async()=>{const l=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToWaitlist()};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectToWaitlist",l)},this.redirectToTasks=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.redirectToTasks(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("redirectToTasks",u)},this.handleRedirectCallback=async l=>{var u;const f=()=>{var h;
24return(h=this.clerkjs)==null?void 0:h.handleRedirectCallback(l)};this.clerkjs&&this.loaded?(u=f())==null||u.catch(()=>{}):this.premountMethodCalls.set("handleRedirectCallback",f)},this.handleGoogleOneTapCallback=async(l,u)=>{var f;const h=()=>{var p;return(p=this.clerkjs)==null?void 0:p.handleGoogleOneTapCallback(l,u)};this.clerkjs&&this.loaded?(f=h())==null||f.catch(()=>{}):this.premountMethodCalls.set("handleGoogleOneTapCallback",h)},this.handleEmailLinkVerification=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.handleEmailLinkVerification(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("handleEmailLinkVerification",u)},this.authenticateWithMetamask=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.authenticateWithMetamask(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithMetamask",u)},this.authenticateWithCoinbaseWallet=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.authenticateWithCoinbaseWallet(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithCoinbaseWallet",u)},this.authenticateWithBase=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.authenticateWithBase(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithBase",u)},this.authenticateWithOKXWallet=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.authenticateWithOKXWallet(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithOKXWallet",u)},this.authenticateWithSolana=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.authenticateWithSolana(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithSolana",u)},this.authenticateWithWeb3=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.authenticateWithWeb3(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithWeb3",u)},this.authenticateWithGoogleOneTap=async l=>(await Wh(this,Ws,uc).call(this)).authenticateWithGoogleOneTap(l),this.__internal_loadStripeJs=async()=>(await Wh(this,Ws,uc).call(this)).__internal_loadStripeJs(),this.createOrganization=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.createOrganization(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("createOrganization",u)},this.getOrganization=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.getOrganization(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("getOrganization",u)},this.joinWaitlist=async l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.joinWaitlist(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("joinWaitlist",u)},this.signOut=async(...l)=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.signOut(...l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("signOut",u)},this.__internal_attemptToEnableEnvironmentSetting=l=>{const u=()=>{var f;return(f=this.clerkjs)==null?void 0:f.__internal_attemptToEnableEnvironmentSetting(l)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("__internal_attemptToEnableEnvironmentSetting",u)};const{Clerk:a=null,publishableKey:s}=r||{};ma(this,zi,s),ma(this,Co,r?.proxyUrl),ma(this,wo,r?.domain),this.options=r,this.Clerk=a,this.mode=Sc()?"browser":"server",ma(this,lc,new QP(this)),this.options.sdkMetadata||(this.options.sdkMetadata=XP),pt(this,kr).emit(Zu.Status,"loading"),pt(this,kr).prioritizedOn(Zu.Status,l=>ma(this,sc,l)),pt(this,zi)&&this.loadClerkJS()}get publishableKey(){return pt(this,zi)}get loaded(){var r;return((r=this.clerkjs)==null?void 0:r.loaded)||!1}get status(){var r;return this.clerkjs?((r=this.clerkjs)==null?void 0:r.status)||(this.clerkjs.loaded?"ready":"loading"):pt(this,sc)}static getOrCreateInstance(r){return(!Sc()||!pt(this,Bi)||r.Clerk&&pt(this,Bi).Clerk!==r.Clerk||pt(this,Bi).publishableKey!==r.publishableKey)&&ma(this,Bi,new AE(r)),pt(this,Bi)}static clearInstance(){ma(this,Bi,null)}get domain(){return typeof window<"u"&&window.location?Gh(pt(this,wo),new URL(window.location.href),""):typeof pt(this,wo)=="function"?ur.throw(Fh):pt(this,wo)||""}get proxyUrl(){return typeof window<"u"&&window.location?Gh(pt(this,Co),new URL(window.location.href),""):typeof pt(this,Co)=="function"?ur.throw(Fh):pt(this,Co)||""}__internal_getOption(r){var a,s;return(a=this.clerkjs)!=null&&a.__internal_getOption?(s=this.clerkjs)==null?void 0:s.__internal_getOption(r):this.options[r]}get sdkMetadata(){var r;return((r=this.clerkjs)==null?void 0:r.sdkMetadata)||this.options.sdkMetadata||void 0}get instanceType(){var r;return(r=this.clerkjs)==null?void 0:r.instanceType}get frontendApi(){var r;return((r=this.clerkjs)==null?void 0:r.frontendApi)||""}get isStandardBrowser(){var r;return((r=this.clerkjs)==null?void 0:r.isStandardBrowser)||this.options.standardBrowser||!1}get __internal_queryClient(){var r;return(r=this.clerkjs)==null?void 0:r.__internal_queryClient}get isSatellite(){return typeof window<"u"&&window.location?Gh(this.options.isSatellite,new URL(window.location.href),!1):typeof this.options.isSatellite=="function"?ur.throw(Fh):!1}async loadClerkJS(){var r;if(!(this.mode!=="browser"||this.loaded)){typeof window<"u"&&(window.__clerk_publishable_key=pt(this,zi),window.__clerk_proxy_url=this.proxyUrl,window.__clerk_domain=this.domain);try{if(this.Clerk){let a;lP(this.Clerk)?(a=new this.Clerk(pt(this,zi),{proxyUrl:this.proxyUrl,domain:this.domain}),this.beforeLoad(a),await a.load(this.options)):(a=this.Clerk,a.loaded||(this.beforeLoad(a),await a.load(this.options))),global.Clerk=a}else if(!__BUILD_DISABLE_RHC__){if(global.Clerk||await BP({...this.options,publishableKey:pt(this,zi),proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}),!global.Clerk)throw new Error("Failed to download latest ClerkJS. Contact [email protected].");this.beforeLoad(global.Clerk),await global.Clerk.load(this.options)}return(r=global.Clerk)!=null&&r.loaded?this.hydrateClerkJS(global.Clerk):void 0}catch(a){const s=a;pt(this,kr).emit(Zu.Status,"error"),console.error(s.stack||s.message||s);return}}}get version(){var r;return(r=this.clerkjs)==null?void 0:r.version}get client(){if(this.clerkjs)return this.clerkjs.client}get session(){if(this.clerkjs)return this.clerkjs.session}
24get user(){if(this.clerkjs)return this.clerkjs.user}get organization(){if(this.clerkjs)return this.clerkjs.organization}get telemetry(){if(this.clerkjs)return this.clerkjs.telemetry}get __unstable__environment(){if(this.clerkjs)return this.clerkjs.__unstable__environment}get isSignedIn(){return this.clerkjs?this.clerkjs.isSignedIn:!1}get billing(){var r;return(r=this.clerkjs)==null?void 0:r.billing}get __internal_state(){return this.loaded&&this.clerkjs?this.clerkjs.__internal_state:pt(this,lc)}get apiKeys(){var r;return(r=this.clerkjs)==null?void 0:r.apiKeys}__unstable__setEnvironment(...r){if(this.clerkjs&&"__unstable__setEnvironment"in this.clerkjs)this.clerkjs.__unstable__setEnvironment(r);else return}};sc=new WeakMap;wo=new WeakMap;Co=new WeakMap;zi=new WeakMap;kr=new WeakMap;lc=new WeakMap;Bi=new WeakMap;Ws=new WeakSet;uc=function(){return new Promise(t=>{this.addOnLoaded(()=>t(this.clerkjs))})};Ii(EE,Bi);var U0=EE;function ZP(t){const{isomorphicClerkOptions:r,initialState:a,children:s}=t,{isomorphicClerk:l,clerkStatus:u}=JP(r),[f,h]=L.useState({client:l.client,session:l.session,user:l.user,organization:l.organization});L.useEffect(()=>l.addListener(Ee=>h({...Ee})),[]);const p=GP(l.loaded,f,a),g=L.useMemo(()=>({value:l}),[u]),b=L.useMemo(()=>({value:f.client}),[f.client]),{sessionId:y,sessionStatus:S,sessionClaims:_,session:k,userId:U,user:B,orgId:q,actor:K,organization:Z,orgRole:le,orgSlug:te,orgPermissions:be,factorVerificationAge:$}=p,R=L.useMemo(()=>({value:{sessionId:y,sessionStatus:S,sessionClaims:_,userId:U,actor:K,orgId:q,orgRole:le,orgSlug:te,orgPermissions:be,factorVerificationAge:$}}),[y,S,U,K,q,le,te,$,_?.__raw]),ue=L.useMemo(()=>({value:k}),[y,k]),_e=L.useMemo(()=>({value:B}),[U,B]),we=L.useMemo(()=>({value:{organization:Z}}),[q,Z]);return L.createElement(Uk.Provider,{value:g},L.createElement(Tk.Provider,{value:b},L.createElement(wk.Provider,{value:ue},L.createElement(Pk,{...we.value},L.createElement(Ik.Provider,{value:R},L.createElement(Ek.Provider,{value:_e},L.createElement(xk,{value:void 0},s)))))))}var JP=t=>{const r=L.useRef(U0.getOrCreateInstance(t)),[a,s]=L.useState(r.current.status);return L.useEffect(()=>{r.current.__unstable__updateProps({appearance:t.appearance})},[t.appearance]),L.useEffect(()=>{r.current.__unstable__updateProps({options:t})},[t.localization]),L.useEffect(()=>(r.current.on("status",s),()=>{r.current&&r.current.off("status",s),U0.clearInstance()}),[]),{isomorphicClerk:r.current,clerkStatus:a}};function e1(t){const{initialState:r,children:a,__internal_bypassMissingPublishableKey:s,...l}=t,{publishableKey:u="",Clerk:f}=l;return!f&&!s&&(u?u&&!Ep(u)&&ur.throwInvalidPublishableKeyError({key:u}):ur.throwMissingPublishableKeyError()),L.createElement(ZP,{initialState:r,isomorphicClerkOptions:l},a)}var TE=cP(e1,"ClerkProvider",Bk);TE.displayName="ClerkProvider";Lk({packageName:"@clerk/clerk-react"});zP("@clerk/clerk-react");const Fc=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Gc=/^[\\/]{2}/;function wE(t,r){return r+t.replace(/\\/g,"/")}const B0="popstate";function j0(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function t1(t={}){function r(s,l){let u=l.state?.masked,{pathname:f,search:h,hash:p}=u||s.location;return al("",{pathname:f,search:h,hash:p},l.state&&l.state.usr||null,l.state&&l.state.key||"default",u?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function a(s,l){return typeof l=="string"?l:dn(l)}return r1(r,a,null,t)}function Ne(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function $t(t,r){if(!t){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function n1(){return Math.random().toString(36).substring(2,10)}function H0(t,r){return{usr:t.state,key:t.key,idx:r,masked:t.mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function al(t,r,a=null,s,l){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof r=="string"?Rr(r):r,state:a,key:r&&r.key||s||n1(),mask:l}}function dn({pathname:t="/",search:r="",hash:a=""}){return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),a&&a!=="#"&&(t+=a.charAt(0)==="#"?a:"#"+a),t}function Rr(t){let r={};if(t){let a=t.indexOf("#");a>=0&&(r.hash=t.substring(a),t=t.substring(0,a));let s=t.indexOf("?");s>=0&&(r.search=t.substring(s),t=t.substring(0,s)),t&&(r.pathname=t)}return r}function r1(t,r,a,s={}){let{window:l=document.defaultView,v5Compat:u=!1}=s,f=l.history,h="POP",p=null,g=b();g==null&&(g=0,f.replaceState({...f.state,idx:g},""));function b(){return(f.state||{idx:null}).idx}function y(){h="POP";let B=b(),q=B==null?null:B-g;g=B,p&&p({action:h,location:U.location,delta:q})}function S(B,q){h="PUSH";let K=j0(B)?B:al(U.location,B,q);g=b()+1;let Z=H0(K,g),le=U.createHref(K.mask||K);try{f.pushState(Z,"",le)}catch(te){if(te instanceof DOMException&&te.name==="DataCloneError")throw te;l.location.assign(le)}u&&p&&p({action:h,location:U.location,delta:1})}function _(B,q){h="REPLACE";let K=j0(B)?B:al(U.location,B,q);g=b();let Z=H0(K,g),le=U.createHref(K.mask||K);f.replaceState(Z,"",le),u&&p&&p({action:h,location:U.location,delta:0})}function k(B){return CE(l,B)}let U={get action(){return h},get location(){return t(l,f)}
24,listen(B){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(B0,y),p=B,()=>{l.removeEventListener(B0,y),p=null}},createHref(B){return r(l,B)},createURL:k,encodeLocation(B){let q=k(B);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:S,replace:_,go(B){return f.go(B)}};return U}function CE(t,r,a=!1){let s="http://localhost";t&&(s=t.location.origin!=="null"?t.location.origin:t.location.href),Ne(s,"No window.location.(origin|href) available to create URL");let l=typeof r=="string"?r:dn(r);return l=l.replace(/ $/,"%20"),!a&&Gc.test(l)&&(l=s+l),new URL(l,s)}var F0=class{#e=new Map;constructor(t){if(t)for(let[r,a]of t)this.set(r,a)}get(t){if(this.#e.has(t))return this.#e.get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,r){this.#e.set(t,r)}};const i1=new Set(["lazy","caseSensitive","path","id","index","children"]);function a1(t){return i1.has(t)}const o1=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function s1(t){return o1.has(t)}function l1(t){return t.index===!0}function xE(t){let r={};return t.Component&&Object.assign(r,{element:w.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(r,{hydrateFallbackElement:w.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(r,{errorElement:w.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),r}function ol(t,r=xE,a=[],s={},l=!1){return t.map((u,f)=>{let h=[...a,String(f)],p=typeof u.id=="string"?u.id:h.join("-");if(Ne(u.index!==!0||!u.children,"Cannot specify children on an index route"),Ne(l||!s[p],`Found a route id collision on i
24d "${p}". Route id's must be globally unique within Data Router usages`),l1(u)){let g={...u,id:p};return s[p]=G0(g,r(g)),g}else{let g={...u,id:p,children:void 0};return s[p]=G0(g,r(g)),u.children&&(g.children=ol(u.children,r,h,s,l)),g}})}function G0(t,r){return Object.assign(t,{...r,...typeof r.lazy=="object"&&r.lazy!=null?{lazy:{...t.lazy,...r.lazy}}:{}})}function kE(t,r,a="/"){return or(t,r,a,!1)}function or(t,r,a,s,l){let u=dr((typeof r=="string"?Rr(r):r).pathname||"/",a);if(u==null)return null;let f=l??cc(t),h=null,p=E1(u);for(let g=0;h==null&&g<f.length;++g)h=_1(f[g],p,s);return h}function u1(t,r){let{route:a,pathname:s,params:l}=t;return{id:a.id,pathname:s,params:l,loaderData:r[a.id],handle:a.handle}}function cc(t){let r=PE(t);return c1(r),r}function PE(t,r=[],a=[],s="",l=!1){let u=(f,h,p=l,g)=>{let b={relativePath:g===void 0?f.path||"":g,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(s)&&p)return;Ne(b.relativePath.startsWith(s),`Absolute route path "${b.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(s.length)}let y=Kn([s,b.relativePath]),S=a.concat(b);f.children&&f.children.length>0&&(Ne(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),PE(f.children,r,S,y,p)),!(f.path==null&&!f.index)&&r.push({path:y,score:v1(y,f.index),routesMeta:S.map((_,k)=>{let[U,B]=OE(_.relativePath,_.caseSensitive,k===S.length-1);return{..._,matcher:U,compiledParams:B}})})};return t.forEach((f,h)=>{if(f.path===""||!f.path?.includes("?"))u(f,h);else for(let p of ME(f.path))u(f,h,!0,p)}),r}function ME(t){let r=t.split("/");if(r.length===0)return[];let[a,...s]=r,l=a.endsWith("?"),u=a.replace(/\?$/,"");if(s.length===0)return l?[u,""]:[u];let f=ME(s.join("/")),h=[];return h.push(...f.map(p=>p===""?u:[u,p].join("/"))),l&&h.push(...f),h.map(p=>t.startsWith("/")&&p===""?"/":p)}function c1(t){t.sort((r,a)=>r.score!==a.score?a.score-r.score:S1(r.routesMeta.map(s=>s.childrenIndex),a.routesMeta.map(s=>s.childrenIndex)))}const d1=/^:[\w-]+$/,f1=/^:[\w-]+/,h1=3.5,p1=3,m1=2,g1=1,y1=10,b1=-2,V0=t=>t==="*";function v1(t,r){let a=t.split("/"),s=a.length;return a.some(V0)&&(s+=b1),r&&(s+=m1),a.filter(l=>!V0(l)).reduce((l,u)=>l+(d1.test(u)?p1:f1.test(u)?h1:u===""?g1:y1),s)}function S1(t,r){return t.length===r.length&&t.slice(0,-1).every((a,s)=>a===r[s])?t[t.length-1]-r[r.length-1]:0}function _1(t,r,a=!1){let{routesMeta:s}=t,l={},u="/",f=[];for(let h=0;h<s.length;++h){let p=s[h],g=h===s.length-1,b=u==="/"?r:r.slice(u.length)||"/",y={path:p.relativePath,caseSensitive:p.caseSensitive,end:g},S=p.matcher&&p.compiledParams?DE(y,b,p.matcher,p.compiledParams):_c(y,b),_=p.route;if(!S&&g&&a&&!s[s.length-1].route.index&&(S=_c({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},b)),!S)return null;
24Object.assign(l,S.params),f.push({params:l,pathname:Kn([u,S.pathname]),pathnameBase:w1(Kn([u,S.pathnameBase])),route:_}),S.pathnameBase!=="/"&&(u=Kn([u,S.pathnameBase]))}return f}function _c(t,r){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[a,s]=OE(t.path,t.caseSensitive,t.end);return DE(t,r,a,s)}function DE(t,r,a,s){let l=r.match(a);if(!l)return null;let u=l[0],f=Ec(u,1),h=l.slice(1);return{params:s.reduce((p,{paramName:g,isOptional:b},y)=>{if(g==="*"){let _=h[y]||"";f=Ec(u.slice(0,u.length-_.length),1)}const S=h[y];return b&&!S?p[g]=void 0:p[g]=(S||"").replace(/%2F/g,"/"),p},{}),pathname:u,pathnameBase:f,pattern:t}}function OE(t,r=!1,a=!0){$t(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=[],l="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,f,h,p,g)=>{if(s.push({paramName:f,isOptional:h!=null}),h){let b=g.charAt(p+u.length);return b&&b!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return t.endsWith("*")?(s.push({paramName:"*"}),l+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?l+="\\/*$":t!==""&&t!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,r?void 0:"i"),s]}function E1(t){try{return t.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return $t(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),t}}function dr(t,r){if(r==="/")return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let a=r.endsWith("/")?r.length-1:r.length,s=t.charAt(a);return s&&s!=="/"?null:t.slice(a)||"/"}function A1({basename:t,pathname:r}){return r==="/"?t:Kn([t,r])}const fm=t=>Fc.test(t);function T1(t,r="/"){let{pathname:a,search:s="",hash:l=""}=typeof t=="string"?Rr(t):t,u;return a?(a=hm(a),a.startsWith("/")||a.startsWith("\\")?u=q0(a.substring(1),"/"):u=q0(a,r)):u=r,{pathname:u,search:C1(s),hash:x1(l)}}function q0(t,r){let a=Ec(r).split("/");return t.split("/").forEach(s=>{s===".."?a.length>1&&a.pop():s!=="."&&a.push(s)}),a.length>1?a.join("/"):"/"}function $h(t,r,a,s){return`Cannot include a '${t}' character in a manually specified \`to.${r}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function RE(t){return t.filter((r,a)=>a===0||r.route.path&&r.route.path.length>0)}function Vc(t){let r=RE(t);return r.map((a,s)=>s===r.length-1?a.pathname:a.pathnameBase)}function fl(t,r,a,s=!1){let l;typeof t=="string"?l=Rr(t):(l={...t},Ne(!l.pathname||!l.pathname.includes("?"),$h("?","pathname","search",l)),Ne(!l.pathname||!l.pathname.includes("#"),$h("#","pathname","hash",l)),Ne(!l.search||!l.search.includes("#"),$h("#","search","hash",l)));let u=t===""||l.pathname==="",f=u?"/":l.pathname,h;if(f==null)h=a;else{let y=r.length-1;if(!s&&f.startsWith("..")){let S=f.split("/");for(;S[0]==="..";)S.shift(),y-=1;l.pathname=S.join("/")}h=y>=0?r[y]:"/"}let p=T1(l,h),g=f&&f!=="/"&&f.endsWith("/"),b=(u||f===".")&&a.endsWith("/");return!p.pathname.endsWith("/")&&(g||b)&&(p.pathname+="/"),p}const hm=t=>t.replace(/[\\/]{2,}/g,"/"),Kn=t=>hm(t.join("/"));function Ec(t,r=0){let a=t.length;for(;a>r&&t.charCodeAt(a-1)===47;)a--;return a===t.length?t:t.slice(0,a)}const w1=t=>Ec(t).replace(/^\/*/,"/"),C1=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,x1=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,ln=(t,r=302)=>{let a=r;typeof a=="number"?a={status:a}:typeof a.status>"u"&&(a.status=302);let s=new Headers(a.headers);return s.set("Location",t),new Response(null,{...a,headers:s})},k1=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"];var hl=class{status;statusText;data;error;internal;constructor(t,r,a,s=!1){this.status=t,this.statusText=r||"",this.internal=s,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function Ro(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Uo(t){return Kn(t.map(r=>
24r.route.path).filter(Boolean))||"/"}function pm(t,r){let a=new URL(typeof t=="string"||t instanceof URL?t:t.url),s=typeof r=="string"?Rr(r):r;if(a.pathname=s.pathname||"/",s.search){let l=new URLSearchParams(s.search),u=l.getAll("index");l.delete("index");for(let h of u.filter(Boolean))l.append("index",h);let f=l.toString();a.search=f?`?${f}`:""}else a.search="";return a.hash=s.hash||"",a}const NE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function LE(t,r){let a=t;if(typeof a!="string"||!Fc.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let s=a,l=!1;if(NE)try{let u=new URL(window.location.href),f=Gc.test(a)?new URL(wE(a,u.protocol)):new URL(a),h=dr(f.pathname,r);f.origin===u.origin&&h!=null?a=h+f.search+f.hash:l=!0}catch{$t(!1,`<Link to="${a}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:l,to:a}}const IE=Symbol("Uninstrumented");let Js=new WeakMap;function P1(t,r){let a={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};t.forEach(l=>l({id:r.id,index:r.index,path:r.path,instrument(u){u.lazy!=null&&a.lazy.push(u.lazy),u["lazy.loader"]!=null&&a["lazy.loader"].push(u["lazy.loader"]),u["lazy.action"]!=null&&a["lazy.action"].push(u["lazy.action"]),u["lazy.middleware"]!=null&&a["lazy.middleware"].push(u["lazy.middleware"]),u.middleware!=null&&a.middleware.push(u.middleware),u.loader!=null&&a.loader.push(u.loader),u.action!=null&&a.action.push(u.action)}}));let s={};if(typeof r.lazy=="function"&&a.lazy.length>0){let l=r.lazy;s.lazy=async(...u)=>Zr(await Mr(a.lazy,void 0,()=>l(...u),Jr))}if(typeof r.lazy=="object"){let l=r.lazy;if(typeof l.middleware=="function"&&a["lazy.middleware"].length>0){let u=l.middleware;s.lazy=Object.assign(s.lazy||{},{middleware:async(...f)=>Zr(await Mr(a["lazy.middleware"],void 0,()=>u(...f),Jr))})}if(typeof l.loader=="function"&&a["lazy.loader"].length>0){let u=l.loader;s.lazy=Object.assign(s.lazy||{},{loader:async(...f)=>Zr(await Mr(a["lazy.loader"],void 0,()=>u(...f),Jr))})}if(typeof l.action=="function"&&a["lazy.action"].length>0){let u=l.action;s.lazy=Object.assign(s.lazy||{},{action:async(...f)=>Zr(await Mr(a["lazy.action"],void 0,()=>u(...f),Jr))})}}if(typeof r.loader=="function"&&a.loader.length>0){let l=el(r.loader),u=async(...f)=>Zr(await Mr(a.loader,Qh(f[0]),()=>l(...f),Jr));l.hydrate===!0&&(u.hydrate=!0),tl(u,l),s.loader=u}if(typeof r.action=="function"&&a.action.length>0){let l=el(r.action),u=async(...f)=>Zr(await Mr(a.action,Qh(f[0]),()=>l(...f),Jr));tl(u,l),s.action=u}return r.middleware&&r.middleware.length>0&&a.middleware.length>0&&(s.middleware=r.middleware.map(l=>{let u=el(l),f=async(...h)=>Zr(await Mr(a.middleware,Qh(h[0]),()=>u(...h),Jr));return tl(f,u),f})),s}function M1(t,r){let a={navigate:[],fetch:[]};if(r.forEach(s=>s({instrument(l){l.navigate!=null&&a.navigate.push(l.navigate),l.fetch!=null&&a.fetch.push(l.fetch)}})),a.navigate.length>0){let s=el(t.navigate),l=async(...u)=>{let[f,h]=u,p,g={to:typeof f=="number"||typeof f=="string"?f:f?dn(f):".",...W0(t,h??{})};return Zr(await Mr(a.navigate,g,async()=>{if(typeof f=="number")return await s(...u);let b=K0(t,y=>{p=y});try{return await s(...u)}finally{b()}},b=>({...Jr(b),meta:p})))};tl(l,s),t.navigate=l}if(a.fetch.length>0){let s=el(t.fetch),l=async(...u)=>{let[f,h,p,g]=u,b;return Zr(await Mr(a.fetch,{href:p??".",fetcherKey:f,...W0(t,g??{})},async()=>{let y=K0(t,S=>{b=S});try{return await s(...u)}finally{y()}},y=>({...Jr(y),meta:b})))};tl(l,s),t.fetch=l}return t}function el(t){return t[IE]??t}function tl(t,r){t[IE]=r}function K0(t,r){return Js.set(t,r),()=>{Js.get(t)===r&&Js.delete(t)}}function Y0(t){let r=Js.get(t);return Js.delete(t),r}function Zr(t){if(t.type==="error")throw t.value;return t.value}async function Mr(t,r,a,s,l={result:null,innerResult:null},u=t.length-1){let f=t[u];if(f){let h,p=async()=>(h?console.error("You cannot call instrumented handlers more than once"):h=Mr(t,r,a,s,l,u-1),await h,Ne(l.innerResult,"Expected an inner result"),l.innerResult);try{await f(p,r)}catch(g){console.error("An instrumentation function threw an error:",g)}h||await p(),await h}else{try{l.result={type:"success",value:await a()}}catch(h){l.result={type:"error",value:h}}l.innerResult=s(l.result,r)}return l.result||(l.result={type:"error",value:new Error("No result assigned in instrumentation chain.")},l.innerResult=s(l.result,r)),l.result}function Jr(t){return t.type==="error"&&t.value instanceof Error?{status:"error",error:t.value}:{status:"success",error:void 0}}function Qh(t){let{request:r,context:a,params:s}=t;return{...t,request:D1(r),params:{...s},context:O1(a)}}function W0(t,r){return{currentUrl:dn(t.state.location),..."formMethod"in r?{formMethod:r.formMethod}:{},..."formEncType"in r?{formEncType:r.formEncType}:{},..."formData"in r?{formData:r.formData}:{},..."body"in r?{body:r.body}:{}}}function D1(t){return{method:t.method,url:t.url,headers:{get:(...r)=>t.headers.get(...r)}}}function O1(t){return{get:r=>t.get(r)}}const $0=new URL("http://localhost");function mm(t){if(t.createURL)return t.createURL("/");try{return new URL(t.createHref("/"),$0)}catch{return $0}}function Xh(t,r){return t.origin===r.origin&&(t.origin!=="null"||t.protocol===r.protocol&&t.host===r.host)}function R1(t,r){if(t.startsWith("//"))return!0;let a=r.protocol.toLowerCase();return t.toLowerCase().startsWith(a)?r.host===""||t.slice(a.length).startsWith("//"):!1}function Po(t,r,a,s){let l=null;try{l=t==null?null:new URL(t,a)}catch{}let u=new URL(r,a),f=l!=null&&!Xh(l,a),h=!Xh(u,a);if(s==="reject"){if(f||h)throw new Error("External navigation is not allowed")}else if(h&&(l==null||!R1(t,l)||!Xh(l,u)))throw new Error("External navigation is not allowed")}const zE=["POST","PUT","PATCH","DELETE"],N1=new Set(zE),L1=["GET",...zE],I1=new Set(L1),UE=new Set([301,302,303,307,308]),z1=new Set([307,308]),Zh={state:"idle",location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},U1={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Hs={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},BE="remix-router-transitions",jE=Symbol("ResetLoaderData");var B1=class{#e;#t;#n;#r;constructor(r){this.#e=r,this.#t=cc(r)}get stableRoutes(){return this.#e}get activeRoutes(){return this.#n??this.#e}get branches(){return this.#r??this.#t}get hasHMRRoutes(){return this.#n!=null}setRoutes(r){this.#e=r,this.#t=cc(r)}setHmrRoutes(r){this.#n=r,this.#r=cc(r)}commitHmrRoutes(){this.#n&&(this.#e=this.#n,this.#t=this.#r,this.#n=void 0,this.#r=void 0)}};function j1(t){const r=t.window?t.window:typeof window<"u"?window:void 0,a=typeof r<"u"&&typeof r.document<"u"&&typeof r.document.createElement<"u";Ne(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=t.hydrationRouteProperties||[],l=t.mapRouteProperties,u=l||(()=>({}));if(t.instrumentations){let T=t.instrumentations;u=P=>({...l?.(P),...P1(T.map(z=>
24z.route).filter(Boolean),P)})}let f={},h=new B1(ol(t.routes,u,void 0,f)),p=t.basename||"/";p.startsWith("/")||(p=`/${p}`);let g=t.dataStrategy||q1,b={...t.future},y=null,S=new Set,_=null,k=null,U=null,B=null,q=t.hydrationData!=null,K=or(h.activeRoutes,t.history.location,p,!1,h.branches),Z=!1,le=null,te,be;if(K==null&&!t.patchRoutesOnNavigation){let T=qn(404,{pathname:t.history.location.pathname}),{matches:P,route:z}=Ju(h.activeRoutes);te=!0,be=!te,K=P,le={[z.id]:T}}else if(K&&!t.hydrationData&&mr(K,h.activeRoutes,t.history.location.pathname).active&&(K=null),K)if(K.some(T=>T.route.lazy))te=!1,be=!te;else if(!K.some(T=>gm(T.route)))te=!0,be=!te;else{let T=t.hydrationData?t.hydrationData.loaderData:null,P=t.hydrationData?t.hydrationData.errors:null,z=K;if(P){let W=K.findIndex(X=>P[X.route.id]!==void 0);z=z.slice(0,W+1)}be=!1,te=!0,z.forEach(W=>{let X=HE(W.route,T,P);be=be||X.renderFallback,te=te&&!X.shouldLoad})}else{te=!1,be=!te,K=[];let T=mr(null,h.activeRoutes,t.history.location.pathname);T.active&&T.matches&&(Z=!0,K=T.matches)}let $,R={historyAction:t.history.action,location:t.history.location,matches:K,initialized:te,renderFallback:be,navigation:Zh,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||le,fetchers:new Map,blockers:new Map},ue="POP",_e=null,we=!1,Ee,Pe=!1,Ke=new Map,Le=null,Q=!1,J=!1,he=new Set,pe=new Map,Ae=0,lt=-1,gt=new Map,_t=new Set,x=new Map,Y=new Map,ie=new Set,de=new Map,Ue,Be=null;function Ye(){if(y=t.history.listen(({action:T,location:P,delta:z})=>{if(Ue){Ue(),Ue=void 0;return}$t(de.size===0||z!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let W=Wo({currentLocation:R.location,nextLocation:P,historyAction:T});if(W&&z!=null){let X=new Promise(oe=>{Ue=oe});t.history.go(z*-1),Ki(W,{state:"blocked",location:P,proceed(){Ki(W,{state:"proceeding",proceed:void 0,reset:void 0,location:P}),X.then(()=>t.history.go(z))},reset(){let oe=new Map(R.blockers);oe.set(W,Hs),ut({blockers:oe})}}),_e?.resolve(),_e=null;return}return ht(T,P)}),a){cM(r,Ke);let T=()=>dM(r,Ke);r.addEventListener("pagehide",T),Le=()=>r.removeEventListener("pagehide",T)}return R.initialized||ht("POP",R.location,{initialHydration:!0}),$}function fe(){y&&y(),Le&&Le(),S.clear(),Ee&&Ee.abort(),R.fetchers.forEach((T,P)=>Ra(R.fetchers,P)),R.blockers.forEach((T,P)=>wl(P))}function Te(T){if(S.add(T),_){let{newErrors:P}=_;_=null,T(R,{deletedFetchers:[],newErrors:P,viewTransitionOpts:void 0,flushSync:!1})}return()=>S.delete(T)}function ut(T,P={}){T.matches&&(T.matches=T.matches.map(X=>{let oe=f[X.route.id],se=X.route;return se.element!==oe.element||se.errorElement!==oe.errorElement||se.hydrateFallbackElement!==oe.hydrateFallbackElement?{...X,route:oe}:X})),R={...R,...T};let z=[],W=[];R.fetchers.forEach((X,oe)=>{X.state==="idle"&&(ie.has(oe)?z.push(oe):W.push(oe))}),ie.forEach(X=>{!R.fetchers.has(X)&&!pe.has(X)&&z.push(X)}),S.size===0&&(_={newErrors:T.errors??null}),[...S].forEach(X=>X(R,{deletedFetchers:z,newErrors:T.errors??null,viewTransitionOpts:P.viewTransitionOpts,flushSync:P.flushSync===!0})),z.forEach(X=>Ra(R.fetchers,X)),W.forEach(X=>R.fetchers.delete(X))}function fr(T,P,{flushSync:z}={}){let W=R.actionData!=null&&R.navigation.formMethod!=null&&Zt(R.navigation.formMethod)&&R.navigation.state==="loading"&&T.state?._isRedirect!==!0,X;P.actionData?Object.keys(P.actionData).length>0?X=P.actionData:X=null:W?X=R.actionData:X=null;let oe=P.loaderData?aS(R.loaderData,P.loaderData,P.matches||[],P.errors):R.loaderData,se=R.blockers;se.size>0&&!Q&&(se=new Map(se),se.forEach((me,ye)=>se.set(ye,Hs)));let ne=Q?!1:Cl(T,P.matches||R.matches),re=we===!0||R.navigation.formMethod!=null&&Zt(R.navigation.formMethod)&&T.state?._isRedirect!==!0;h.commitHmrRoutes(),Q||ue==="POP"||(ue==="PUSH"?t.history.push(T,T.state):ue==="REPLACE"&&t.history.replace(T,T.state));let Ce;if(ue==="POP"){let me=Ke.get(R.location.pathname);me&&me.has(T.pathname)?Ce={currentLocation:R.location,nextLocation:T}:Ke.has(T.pathname)&&(Ce={currentLocation:T,nextLocation:R.location})}else if(Pe){let me=Ke.get(R.location.pathname);me?me.add(T.pathname):(me=new Set([T.pathname]),Ke.set(R.location.pathname,me)),Ce={currentLocation:R.location,nextLocation:T}}ut({...P,actionData:X,loaderData:oe,historyAction:ue,location:T,initialized:!0,renderFallback:!1,navigation:Zh,revalidation:"idle",restoreScrollPosition:ne,preventScrollReset:re,blockers:se},{viewTransitionOpts:Ce,flushSync:z===!0}),ue="POP",we=!1,Pe=!1,Q=!1,J=!1,_e?.resolve(),_e=null,Be?.resolve(),Be=null}async function Lr(T,P){if(_e?.resolve(),_e=null,typeof T=="number"){_e||(_e=cS());let We=_e.promise;return t.history.go(T),We}let z=Y0($),{path:W,submission:X,error:oe}=Q0(!1,Dp(R.location,R.matches,p,T,P?.fromRouteId,P?.relative),P),se;
24if(P?.mask){let We=typeof P.mask=="string"?Rr(P.mask):{...R.location.mask,...P.mask};if(se={pathname:We.pathname??"",search:We.search??"",hash:We.hash??""},Gc.test(se.pathname))throw new Error("External navigation is not allowed");se.pathname.startsWith("\\")&&(se.pathname=se.pathname.replace(/^\\+/,"/")),Po(typeof P.mask=="string"?P.mask:dn(P.mask),dn(se),t.history.createURL("/"),"reject")}let ne=R.location,re=al(ne,W,P&&P.state,void 0,se);re={...re,...t.history.encodeLocation(re)},Po(T==null?t.history.createHref(R.location):typeof T=="string"?T:dn(T),t.history.createHref(re.mask||re),t.history.createURL("/"),"reject");let Ce=P&&P.replace!=null?P.replace:void 0,me="PUSH";Ce===!0?me="REPLACE":Ce===!1||X!=null&&Zt(X.formMethod)&&X.formAction===R.location.pathname+R.location.search&&(me="REPLACE");let ye=P&&"preventScrollReset"in P?P.preventScrollReset===!0:void 0,Re=(P&&P.flushSync)===!0,yt=Wo({currentLocation:ne,nextLocation:re,historyAction:me});if(yt){Ki(yt,{state:"blocked",location:re,proceed(){Ki(yt,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),Lr(T,P)},reset(){let We=new Map(R.blockers);We.set(yt,Hs),ut({blockers:We})}});return}await ht(me,re,{submission:X,pendingError:oe,preventScrollReset:ye,replace:P&&P.replace,enableViewTransition:P&&P.viewTransition,flushSync:Re,callSiteDefaultShouldRevalidate:P&&P.defaultShouldRevalidate,instrumentationNavigateMetaReceiver:z})}function Rn(){Be||(Be=cS()),Oa(),ut({revalidation:"loading"});let T=Be.promise;return R.navigation.state==="submitting"?T:R.navigation.state==="idle"?(ht(R.historyAction,R.location,{startUninterruptedRevalidation:!0}),T):(ht(ue||R.historyAction,R.navigation.location,{overrideNavigation:R.navigation,enableViewTransition:Pe===!0}),T)}async function ht(T,P,z){Ee&&Ee.abort(),Ee=null,ue=T,Q=(z&&z.startUninterruptedRevalidation)===!0,rd(R.location,R.matches),we=(z&&z.preventScrollReset)===!0,Pe=(z&&z.enableViewTransition)===!0;let W=h.activeRoutes,X=z?.initialHydration&&R.matches&&R.matches.length>0&&!Z?R.matches:or(W,P,p,!1,h.branches),oe=(z&&z.flushSync)===!0;if(X&&R.initialized&&!J&&eM(R.location,P)&&!(z&&z.submission&&Zt(z.submission.formMethod))){fr(P,{matches:X},{flushSync:oe});return}let se=mr(X,W,P.pathname);if(se.active&&se.matches&&(X=se.matches),z?.instrumentationNavigateMetaReceiver){let Me=lS(t.history,P,X);z.instrumentationNavigateMetaReceiver(Me)}if(!X){let{error:Me,notFoundMatches:Qt,route:Ot}=si(P.pathname);fr(P,{matches:Qt,loaderData:{},errors:{[Ot.id]:Me}},{flushSync:oe});return}let ne=z&&z.overrideNavigation?{...z.overrideNavigation,matches:X,historyAction:T}:void 0;Ee=new AbortController;let re=xo(t.history,P,Ee.signal,z&&z.submission),Ce=t.getContext?await t.getContext():new F0,me;if(z&&z.pendingError)me=[Fi(X).route.id,{type:"error",error:z.pendingError}];else if(z&&z.submission&&Zt(z.submission.formMethod)){let Me=await rt(re,P,z.submission,X,T,Ce,se.active,z&&z.initialHydration===!0,{replace:z.replace,flushSync:oe});if(Me.shortCircuited)return;if(Me.pendingActionResult){let[Qt,Ot]=Me.pendingActionResult;if(Mn(Ot)&&Ro(Ot.error)&&Ot.error.status===404){Ee=null,fr(P,{matches:Me.matches,loaderData:{},errors:{[Qt]:Ot.error}});return}}X=Me.matches||X,me=Me.pendingActionResult,ne=Jh(P,X,T,z.submission),oe=!1,se.active=!1,re=xo(t.history,re.url,re.signal)}let{shortCircuited:ye,matches:Re,loaderData:yt,errors:We,workingFetchers:bt}=await Nn(re,P,X,T,Ce,se.active,ne,z&&z.submission,z&&z.fetcherSubmission,z&&z.replace,z&&z.initialHydration===!0,oe,me,z&&z.callSiteDefaultShouldRevalidate);ye||(Ee=null,fr(P,{matches:Re||X,...oS(me),loaderData:yt,errors:We,...bt?{fetchers:bt}:{}}))}async function rt(T,P,z,W,X,oe,se,ne,re={}){if(Oa(),ut({navigation:lM(P,W,X,z)},{flushSync:re.flushSync===!0}),se){let ye=await Lt(W,P.pathname,T.signal);if(ye.type==="aborted")return{shortCircuited:!0};if(ye.type==="error"){if(ye.partialMatches.length===0){let{matches:yt,route:We}=Ju(h.activeRoutes);return{matches:yt,pendingActionResult:[We.id,{type:"error",error:ye.error}]}}let Re=Fi(ye.partialMatches).route.id;return{matches:ye.partialMatches,pendingActionResult:[Re,{type:"error",error:ye.error}]}}else if(ye.matches)W=ye.matches;else{let{notFoundMatches:Re,error:yt,route:We}=si(P.pathname);return{matches:Re,pendingActionResult:[We.id,{type:"error",error:yt}]}}}let Ce,me=dc(W,P);if(!me.route.action&&!me.route.lazy)Ce={type:"error",error:qn(405,{method:T.method,pathname:P.pathname,routeId:me.route.id})};else{let ye=await pr(T,P,Mo(u,f,T,P,W,me,ne?[]:s,oe),oe,null);if(Ce=ye[me.route.id],!Ce){for(let Re of W)if(ye[Re.route.id]){Ce=ye[Re.route.id];break}}if(T.signal.aborted)return{shortCircuited:!0}}if(Sa(Ce)){let ye;return re&&re.replace!=null?ye=re.replace:ye=nS(Ce.response.headers.get("Location"),new URL(T.url),p,t.history)===R.location.pathname+R.location.search,await Xn(T,Ce,!0,{submission:z,replace:ye}),{shortCircuited:!0}}if(Mn(Ce)){let ye=Fi(W,me.route.id);return(re&&re.replace)!==!0&&(ue="PUSH"),{matches:W,pendingActionResult:[ye.route.id,Ce,me.route.id]}}return{matches:W,pendingActionResult:[me.route.id,Ce]}}async function Nn(T,P,z,W,X,oe,se,ne,re,Ce,me,ye,Re,yt){let We=se||Jh(P,z,W,ne),bt=ne||re||uS(We),Me=!Q&&!me;if(oe){if(Me){let vt=ai(Re);ut({navigation:We,...vt!==void 0?{actionData:vt}:{}},{flushSync:ye})}let Ie=await Lt(z,P.pathname,T.signal);if(Ie.type==="aborted")return{shortCircuited:!0};if(Ie.type==="error"){if(Ie.partialMatches.length===0){let{matches:Ft,route:Sn}=Ju(h.activeRoutes);return{matches:Ft,loaderData:{},errors:{[Sn.id]:Ie.error}}}let vt=Fi(Ie.partialMatches).route.id;return{matches:Ie.partialMatches,loaderData:{},errors:{[vt]:Ie.error}}}else if(Ie.matches)z=Ie.matches;else{let{error:vt,notFoundMatches:Ft,route:Sn}=si(P.pathname);return{matches:Ft,loaderData:{},errors:{[Sn.id]:vt}}}}let Qt=h.activeRoutes,{dsMatches:Ot,revalidatingFetchers:nn}=X0(T,X,u,f,t.history,R,z,bt,P,me?[]:s,me===!0,J,he,ie,x,_t,Qt,p,t.patchRoutesOnNavigation!=null,h.branches,Re,yt);if(lt=++Ae,!t.dataStrategy&&!Ot.some(Ie=>Ie.shouldLoad)&&!Ot.some(Ie=>Ie.route.middleware&&Ie.route.middleware.length>0)&&nn.length===0){let Ie=new Map(R.fetchers),vt=Al(Ie);return fr(P,{matches:z,loaderData:{},errors:Re&&Mn(Re[1])?{[Re[0]]:Re[1].error}:null,...oS(Re),...vt?{fetchers:Ie}:{}},{flushSync:ye}),{shortCircuited:!0}}if(Me){let Ie={};if(!oe){Ie.navigation=We;let vt=ai(Re);vt!==void 0&&(Ie.actionData=vt)}nn.length>0&&(Ie.fetchers=hr(nn)),ut(Ie,{flushSync:ye})}nn.forEach(Ie=>{bn(Ie.key),Ie.controller&&pe.set(Ie.key,Ie.controller)});let Jn=()=>nn.forEach(Ie=>bn(Ie.key));Ee&&Ee.signal.addEventListener("abort",Jn);let{loaderResults:Ht,fetcherResults:Et}=await Da(Ot,nn,T,P,X);if(T.signal.aborted)return{shortCircuited:!0};Ee&&Ee.signal.removeEventListener("abort",Jn),nn.forEach(Ie=>pe.delete(Ie.key));let at=ec(Ht);if(at)return await Xn(T,at.result,!0,{replace:Ce}),{shortCircuited:!0};if(at=ec(Et),at)return _t.add(at.key),await Xn(T,at.result,!0,{replace:Ce}),{shortCircuited:!0};let vn=new Map(R.fetchers),{loaderData:Ir,errors:li}=iS(R,z,Ht,Re,nn,Et,vn);me&&R.errors&&(li={...R.errors,...li});let La=Al(vn),Yi=Tl(lt,vn),gr=La||Yi||nn.length>0;return{matches:z,loaderData:Ir,errors:li,...gr?{workingFetchers:vn}:{}}}function ai(T){if(T&&!Mn(T[1]))return{[T[0]]:T[1].data};if(R.actionData)return Object.keys(R.actionData).length===0?null:R.actionData}function hr(T){let P=new Map(R.fetchers);return T.forEach(z=>{let W=P.get(z.key),X=Fs(void 0,W?W.data:void 0);P.set(z.key,X)}),P}async function Pa(T,P,z,W){bn(T);let X=(W&&W.flushSync)===!0,oe=Y0($),se=h.activeRoutes,ne=Dp(R.location,R.matches,p,z,P,W?.relative),re=or(se,ne,p,!1,h.branches),Ce=mr(re,se,ne);if(Ce.active&&Ce.matches&&(re=Ce.matches),oe&&oe(lS(t.history,ne,re)),!re){yn(T,P,qn(404,{pathname:ne}),{flushSync:X});return}let{path:me,submission:ye,error:Re}=Q0(!0,ne,W);if(Re){yn(T,P,Re,{flushSync:X});return}let yt=t.getContext?await t.getContext():new F0,We=(W&&W.preventScrollReset)===!0;if(ye&&Zt(ye.formMethod)){await Ma(T,P,me,re,yt,Ce.active,X,We,ye,W&&W.defaultShouldRevalidate);return}x.set(T,{routeId:P,path:me}),await oi(T,P,me,re,yt,Ce.active,X,We,ye)}async function Ma(T,P,z,W,X,oe,se,ne,re,Ce){Oa(),x.delete(T),Nt(T,uM(re,R.fetchers.get(T)),{flushSync:se});let me=new AbortController,ye=xo(t.history,z,me.signal,re);if(oe){let Ze=await Lt(W,new URL(ye.url).pathname,ye.signal,T);if(Ze.type==="aborted")return;if(Ze.type==="error"){yn(T,P,Ze.error,{flushSync:se});return}else if(Ze.matches)W=Ze.matches;else{yn(T,P,qn(404,{pathname:z}),{flushSync:se});return}}let Re=dc(W,z);if(!Re.route.action&&!Re.route.lazy){yn(T,P,qn(405,{method:re.formMethod,pathname:z,routeId:P}),{flushSync:se});return}pe.set(T,me);let yt=Ae,We=Mo(u,f,ye,z,W,Re,s,X),bt=await pr(ye,z,We,X,T),Me=bt[Re.route.id];if(!Me){for(let Ze of We)if(bt[Ze.route.id]){Me=bt[Ze.route.id];break}}if(ye.signal.aborted){pe.get(T)===me&&pe.delete(T);return}if(ie.has(T)){if(Sa(Me)||Mn(Me)){Nt(T,Pr(void 0));return}}else{if(Sa(Me))if(pe.delete(T),lt>yt){Nt(T,Pr(void 0));return}else return _t.add(T),Nt(T,Fs(re)),Xn(ye,Me,!1,{fetcherSubmission:re,preventScrollReset:ne});if(Mn(Me)){yn(T,P,Me.error);return}}let Qt=R.navigation.location||R.location,Ot=xo(t.history,Qt,me.signal),nn=h.activeRoutes,Jn=R.navigation.state!=="idle"?or(nn,R.navigation.location,p,!1,h.branches):R.matches;Ne(Jn,"Didn't find any matches after fetcher action");let Ht=++Ae;gt.set(T,Ht);let{dsMatches:Et,revalidatingFetchers:at}=X0(Ot,X,u,f,t.history,R,Jn,re,Qt,s,!1,J,he,ie,x,_t,nn,p,t.patchRoutesOnNavigation!=null,h.branches,[Re.route.id,Me],Ce),vn=Fs(re,Me.data),Ir=new Map(R.fetchers);Ir.set(T,vn),at.filter(Ze=>Ze.key!==T).forEach(Ze=>{let ct=Ze.key,Qo=Ir.get(ct),xl=Fs(void 0,Qo?Qo.data:void 0);Ir.set(ct,xl),bn(ct),Ze.controller&&pe.set(ct,Ze.controller)}),ut({fetchers:Ir});let li=()=>at.forEach(Ze=>bn(Ze.key));me.signal.addEventListener("abort",li);let{loaderResults:La,fetcherResults:Yi}=await Da(Et,at,Ot,Qt,X);if(me.signal.aborted){gt.get(T)===Ht&>.delete(T);return}me.signal.removeEventListener("abort",li),gt.delete(T),pe.delete(T),at.forEach(Ze=>pe.delete(Ze.key));let gr=R.fetchers.has(T),Ie=Ze=>{if(!gr)return Ze;let ct=new Map(Ze.fetchers);return ct.set(T,Pr(Me.data)),{...Ze,fetchers:ct}},vt=ec(La);if(vt)return R=Ie(R),Xn(Ot,vt.result,!1,{preventScrollReset:ne});if(vt=ec(Yi),vt)return _t.add(vt.key),R=Ie(R),Xn(Ot,vt.result,!1,{preventScrollReset:ne});let Ft=new Map(R.fetchers);gr&&Ft.set(T,Pr(Me.data));let{loaderData:Sn,errors:zr}=iS(R,Jn,La,void 0,at,Yi,Ft);Tl(Ht,Ft),R.navigation.state==="loading"&&Ht>lt?(Ne(ue,"Expected pending action"),Ee&&Ee.abort(),fr(R.navigation.location,{matches:Jn,loaderData:Sn,errors:zr,fetchers:Ft})):(ut({errors:zr,loaderData:aS(R.loaderData,Sn,Jn,zr),fetchers:Ft}),J=!1)}async function oi(T,P,z,W,X,oe,se,ne,re){let Ce=R.fetchers.get(T);Nt(T,Fs(re,Ce?Ce.data:void 0),{flushSync:se});let me=new AbortController,ye=xo(t.history,z,me.signal);if(oe){let Me=await Lt(W,new URL(ye.url).pathname,ye.signal,T);if(Me.type==="aborted")return;if(Me.type==="error"){yn(T,P,Me.error,{flushSync:se});return}else if(Me.matches)W=Me.matches;else{yn(T,P,qn(404,{pathname:z}),{flushSync:se});return}}let Re=dc(W,z);pe.set(T,me);let yt=Ae,We=await pr(ye,z,Mo(u,f,ye,z,W,Re,s,X),X,T),bt=We[Re.route.id];if(!bt){for(let Me of W)if(We[Me.route.id]){bt=We[Me.route.id];break}}if(pe.get(T)===me&&pe.delete(T),!ye.signal.aborted){if(ie.has(T)){Nt(T,Pr(void 0));return}if(Sa(bt))if(lt>yt){Nt(T,Pr(void 0));return}else{_t.add(T),await Xn(ye,bt,!1,{preventScrollReset:ne});return}if(Mn(bt)){yn(T,P,bt.error);return}Nt(T,Pr(bt.data))}}async function Xn(T,P,z,{submission:W,fetcherSubmission:X,preventScrollReset:oe,replace:se}={}){z||(_e?.resolve(),_e=null),P.response.headers.has("X-Remix-Revalidate")&&(J=!0);let ne=P.response.headers.get("Location");Ne(ne,"Expected a Location header on the redirect Response");let re=ne,Ce=new URL(T.url);ne=nS(ne,Ce,p,t.history),Po(re,ne,Ce,"allow-explicit");let me=al(R.location,ne,{_isRedirect:!0});if(a){let Me=!1;if(P.response.headers.has("X-Remix-Reload-Document"))Me=!0;else if(fm(ne)){const Qt=CE(r,ne,!0);Me=Qt.origin!==r.location.origin||dr(Qt.pathname,p)==null}if(Me){se?r.location.replace(ne):r.location.assign(ne);return}}Ee=null;let ye=se===!0||P.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Re,formAction:yt,formEncType:We}=R.navigation;!W&&!X&&Re&&yt&&We&&(W=uS(R.navigation));let bt=W||X;z1.has(P.response.status)&&bt&&Zt(bt.formMethod)?await ht(ye,me,{submission:{...bt,formAction:ne},preventScrollReset:oe||we,enableViewTransition:z?Pe:void 0}):await ht(ye,me,{overrideNavigation:Jh(me,[],ye,W),fetcherSubmission:X,preventScrollReset:oe||we,enableViewTransition:z?Pe:void 0})}async function pr(T,P,z,W,X){let oe,se={};try{oe=await Y1(g,T,P,z,X,W,!1)}catch(ne){return z.filter(re=>
24re.shouldLoad).forEach(re=>{se[re.route.id]={type:"error",error:ne}}),se}if(T.signal.aborted)return se;if(!Zt(T.method))for(let ne of z){if(oe[ne.route.id]?.type==="error")break;!oe.hasOwnProperty(ne.route.id)&&!R.loaderData.hasOwnProperty(ne.route.id)&&(!R.errors||!R.errors.hasOwnProperty(ne.route.id))&&ne.shouldCallHandler()&&(oe[ne.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${ne.route.id}`)})}for(let[ne,re]of Object.entries(oe))if(iM(re)){let Ce=re.result;se[ne]={type:"redirect",response:X1(Ce,T,ne,z,p)}}else se[ne]=await Q1(re);return se}async function Da(T,P,z,W,X){let oe=pr(z,W,T,X,null),se=Promise.all(P.map(async ne=>{if(ne.matches&&ne.match&&ne.request&&ne.controller){let re=(await pr(ne.request,ne.path,ne.matches,X,ne.key))[ne.match.route.id];return{[ne.key]:re}}else return Promise.resolve({[ne.key]:{type:"error",error:qn(404,{pathname:ne.path})}})}));return{loaderResults:await oe,fetcherResults:(await se).reduce((ne,re)=>Object.assign(ne,re),{})}}function Oa(){J=!0,x.forEach((T,P)=>{pe.has(P)&&he.add(P),bn(P)})}function Nt(T,P,z={}){let W=new Map(R.fetchers);W.set(T,P),ut({fetchers:W},{flushSync:(z&&z.flushSync)===!0})}function yn(T,P,z,W={}){let X=Fi(R.matches,P),oe=new Map(R.fetchers);Ra(oe,T),ut({errors:{[X.route.id]:z},fetchers:oe},{flushSync:(W&&W.flushSync)===!0})}function Ko(T){return Y.set(T,(Y.get(T)||0)+1),ie.has(T)&&ie.delete(T),R.fetchers.get(T)||U1}function td(T,P){bn(T,P?.reason),Nt(T,Pr(null))}function Ra(T,P){let z=R.fetchers.get(P);pe.has(P)&&!(z&&z.state==="loading"&>.has(P))&&bn(P),x.delete(P),gt.delete(P),_t.delete(P),ie.delete(P),he.delete(P),T.delete(P)}function Yo(T){let P=(Y.get(T)||0)-1;P<=0?(Y.delete(T),ie.add(T)):Y.set(T,P),ut({fetchers:new Map(R.fetchers)})}function bn(T,P){let z=pe.get(T);z&&(z.abort(P),pe.delete(T))}function Na(T,P){for(let z of T){let W=P.get(z);Ne(W,`Expected fetcher: ${z}`);let X=Pr(W.data);P.set(z,X)}}function Al(T){let P=[],z=!1;for(let W of _t){let X=T.get(W);Ne(X,`Expected fetcher: ${W}`),X.state==="loading"&&(_t.delete(W),P.push(W),z=!0)}return Na(P,T),z}function Tl(T,P){let z=[];for(let[W,X]of gt)if(X<T){let oe=P.get(W);Ne(oe,`Expected fetcher: ${W}`),oe.state==="loading"&&(bn(W),gt.delete(W),z.push(W))}return Na(z,P),z.length>0}function en(T,P){let z=R.blockers.get(T)||Hs;return de.get(T)!==P&&de.set(T,P),z}function wl(T){R.blockers.delete(T),de.delete(T)}function Ki(T,P){let z=R.blockers.get(T)||Hs;Ne(z.state==="unblocked"&&P.state==="blocked"||z.state==="blocked"&&P.state==="blocked"||z.state==="blocked"&&P.state==="proceeding"||z.state==="blocked"&&P.state==="unblocked"||z.state==="proceeding"&&P.state==="unblocked",`Invalid blocker state transition: ${z.state} -> ${P.state}`);let W=new Map(R.blockers);W.set(T,P),ut({blockers:W})}function Wo({currentLocation:T,nextLocation:P,historyAction:z}){if(de.size===0)return;de.size>1&&$t(!1,"A router only supports one blocker at a time");let W=Array.from(de.entries()),[X,oe]=W[W.length-1],se=R.blockers.get(X);if(!(se&&se.state==="proceeding")&&oe({currentLocation:T,nextLocation:P,historyAction:z}))return X}function si(T){let P=qn(404,{pathname:T}),z=h.activeRoutes,{matches:W,route:X}=Ju(z);return{notFoundMatches:W,route:X,error:P}}function nd(T,P,z){if(k=T,B=P,U=z||null,!q&&R.navigation===Zh){q=!0;let W=Cl(R.location,R.matches);W!=null&&ut({restoreScrollPosition:W})}return()=>{k=null,B=null,U=null}}function $o(T,P){return U&&U(T,P.map(z=>u1(z,R.loaderData)))||T.key}function rd(T,P){if(k&&B){let z=$o(T,P);k[z]=B()}}function Cl(T,P){if(k){let z=$o(T,P),W=k[z];if(typeof W=="number")return W}return null}function mr(T,P,z){if(t.patchRoutesOnNavigation){let W=h.branches;if(T){if(Object.keys(T[0].params).length>0)return{active:!0,matches:or(P,z,p,!0,W)}}else return{active:!0,matches:or(P,z,p,!0,W)||[]}}return{active:!1,matches:null}}async function Lt(T,P,z,W){if(!t.patchRoutesOnNavigation)return{type:"success",matches:T};let X=T;for(;;){let oe=f;try{await t.patchRoutesOnNavigation({signal:z,path:P,matches:X,fetcherKey:W,patch:(Ce,me)=>{z.aborted||Z0(Ce,me,h,oe,u,!1)}})}catch(Ce){return{type:"error",error:Ce,partialMatches:X}}if(z.aborted)return{type:"aborted"};
24let se=h.branches,ne=or(h.activeRoutes,P,p,!1,se),re=null;if(ne){if(Object.keys(ne[0].params).length===0)return{type:"success",matches:ne};if(re=or(h.activeRoutes,P,p,!0,se),!(re&&X.length<re.length&&Zn(X,re.slice(0,X.length))))return{type:"success",matches:ne}}if(re||(re=or(h.activeRoutes,P,p,!0,se)),!re||Zn(X,re))return{type:"success",matches:null};X=re}}function Zn(T,P){return T.length===P.length&&T.every((z,W)=>z.route.id===P[W].route.id)}function tn(T){f={},h.setHmrRoutes(ol(T,u,void 0,f))}function id(T,P,z=!1){Z0(T,P,h,f,u,z),h.hasHMRRoutes||ut({})}return $={get basename(){return p},get future(){return b},get state(){return R},get routes(){return h.stableRoutes},get branches(){return h.branches},get manifest(){return f},get window(){return r},initialize:Ye,subscribe:Te,enableScrollRestoration:nd,navigate:Lr,fetch:Pa,revalidate:Rn,createHref:T=>t.history.createHref(T),createURL:T=>t.history.createURL(T),encodeLocation:T=>t.history.encodeLocation(T),getFetcher:Ko,resetFetcher:td,deleteFetcher:Yo,dispose:fe,getBlocker:en,deleteBlocker:wl,patchRoutes:id,_internalFetchControllers:pe,_internalSetRoutes:tn,_internalSetStateDoNotUseOrYouWillBreakYourApp(T){ut(T)}},t.instrumentations&&($=M1($,t.instrumentations.map(T=>T.router).filter(Boolean))),$}function H1(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function Dp(t,r,a,s,l,u){let f,h;if(l){f=[];for(let g of r)if(f.push(g),g.route.id===l){h=g;break}}else f=r,h=r[r.length-1];let p=fl(s||".",Vc(f),dr(t.pathname,a)||t.pathname,u==="path");if(s==null&&(p.search=t.search,p.hash=t.hash),(s==null||s===""||s===".")&&h){let g=bm(p.search);if(h.route.index&&!g)p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&g){let b=new URLSearchParams(p.search),y=b.getAll("index");b.delete("index"),y.filter(_=>_).forEach(_=>b.append("index",_));let S=b.toString();p.search=S?`?${S}`:""}}return a!=="/"&&(p.pathname=A1({basename:a,pathname:p.pathname})),dn(p)}function Q0(t,r,a){if(!a||!H1(a))return{path:r};if(a.formMethod&&!sM(a.formMethod))return{path:r,error:qn(405,{method:a.formMethod})};let s=()=>({path:r,error:qn(400,{type:"invalid-body"})}),l=(a.formMethod||"get").toUpperCase(),u=YE(r);if(a.body!==void 0){if(a.formEncType==="text/plain"){if(!Zt(l))return s();let b=typeof a.body=="string"?a.body:a.body instanceof FormData||a.body instanceof URLSearchParams?Array.from(a.body.entries()).reduce((y,[S,_])=>`${y}${S}=${_} 25`,""):String(a.body);return{path:r,submission:{formMethod:l,formAction:u,formEncType:a.formEncType,formData:void 0,json:void 0,text:b}}}else if(a.formEncType==="application/json"){if(!Zt(l))return s();try{let b=typeof a.body=="string"?JSON.parse(a.body):a.body;return{path:r,submission:{formMethod:l,formAction:u,formEncType:a.formEncType,formData:void 0,json:b,text:void 0}}}catch{return s()}}}Ne(typeof FormData=="function","FormData is not available in this environment");let f,h;if(a.formData)f=Np(a.formData),h=a.formData;else if(a.body instanceof FormData)f=Np(a.body),h=a.body;else if(a.body instanceof URLSearchParams)f=a.body,h=rS(f);else if(a.body==null)f=new URLSearchParams,h=new FormData;else try{f=new URLSearchParams(a.body),h=rS(f)}catch{return s()}let p={formMethod:l,formAction:u,formEncType:a&&a.formEncType||"application/x-www-form-urlencoded",formData:h,json:void 0,text:void 0};if(Zt(p.formMethod))return{path:r,submission:p};let g=Rr(r);return t&&g.search&&bm(g.search)&&f.append("index",""),g.search=`?${f}`,{path:dn(g),submission:p}}function X0(t,r,a,s,l,u,f,h,p,g,b,y,S,_,k,U,B,q,K,Z,le,te){let be=le?Mn(le[1])?le[1].error:le[1].data:void 0,$=l.createURL(u.location),R=l.createURL(p),ue;if(b&&u.errors){let Q=Object.keys(u.errors)[0];ue=f.findIndex(J=>J.route.id===Q)}else if(le&&Mn(le[1])){let Q=le[0];ue=f.findIndex(J=>J.route.id===Q)-1}let _e=le?le[1].statusCode:void 0,we=_e&&_e>=400,Ee={currentUrl:$,currentParams:u.matches[0]?.params||{},nextUrl:R,nextParams:f[0].params,...h,actionResult:be,actionStatus:_e},Pe=Uo(f),Ke=f.map((Q,J)=>{let{route:he}=Q,pe=null;if(ue!=null&&J>ue)pe=!1;else if(he.lazy)pe=!0;else if(!gm(he))pe=!1;else if(b){let{shouldLoad:gt}=HE(he,u.loaderData,u.errors);pe=gt}else F1(u.loaderData,u.matches[J],Q)&&(pe=!0);if(pe!==null)return Op(a,s,t,p,Pe,Q,g,r,pe);let Ae=!1;typeof te=="boolean"?Ae=te:we?Ae=!1:(y||$.pathname+$.search===R.pathname+R.search||$.search!==R.search||G1(u.matches[J],Q))&&(Ae=!0);let lt={...Ee,defaultShouldRevalidate:Ae};return Op(a,s,t,p,Pe,Q,g,r,nl(Q,lt),lt,te)}),Le=[];
25return k.forEach((Q,J)=>{if(b||!f.some(Y=>Y.route.id===Q.routeId)||_.has(J))return;let he=u.fetchers.get(J),pe=he&&he.state!=="idle"&&he.data===void 0,Ae=or(B,Q.path,q??"/",!1,Z);if(!Ae){if(K&&pe)return;Le.push({key:J,routeId:Q.routeId,path:Q.path,matches:null,match:null,request:null,controller:null});return}if(U.has(J))return;let lt=dc(Ae,Q.path),gt=new AbortController,_t=xo(l,Q.path,gt.signal),x=null;if(S.has(J))S.delete(J),x=Mo(a,s,_t,Q.path,Ae,lt,g,r);else if(pe)y&&(x=Mo(a,s,_t,Q.path,Ae,lt,g,r));else{let Y;typeof te=="boolean"?Y=te:we?Y=!1:Y=y;let ie={...Ee,defaultShouldRevalidate:Y};nl(lt,ie)&&(x=Mo(a,s,_t,Q.path,Ae,lt,g,r,ie))}x&&Le.push({key:J,routeId:Q.routeId,path:Q.path,matches:x,match:lt,request:_t,controller:gt})}),{dsMatches:Ke,revalidatingFetchers:Le}}function gm(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function HE(t,r,a){if(t.lazy)return{shouldLoad:!0,renderFallback:!0};if(!gm(t))return{shouldLoad:!1,renderFallback:!1};let s=r!=null&&t.id in r,l=a!=null&&a[t.id]!==void 0;if(!s&&l)return{shouldLoad:!1,renderFallback:!1};if(typeof t.loader=="function"&&t.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!s};let u=!s&&!l;return{shouldLoad:u,renderFallback:u}}function F1(t,r,a){let s=!r||a.route.id!==r.route.id,l=!t.hasOwnProperty(a.route.id);return s||l}function G1(t,r){let a=t.route.path;return t.pathname!==r.pathname||a!=null&&a.endsWith("*")&&t.params["*"]!==r.params["*"]}function nl(t,r){if(t.route.shouldRevalidate){let a=t.route.shouldRevalidate(r);if(typeof a=="boolean")return a}return r.defaultShouldRevalidate}function Z0(t,r,a,s,l,u){let f;if(t){let g=s[t];Ne(g,`No route found to patch children into: routeId = ${t}`),g.children||(g.children=[]),f=g.children}else f=a.activeRoutes;let h=[],p=[];if(r.forEach(g=>{let b=f.find(y=>FE(g,y));b?p.push({existingRoute:b,newRoute:g}):h.push(g)}),h.length>0){let g=ol(h,l,[t||"_","patch",String(f?.length||"0")],s);f.push(...g)}if(u&&p.length>0)for(let g=0;g<p.length;g++){let{existingRoute:b,newRoute:y}=p[g],S=b,[_]=ol([y],l,[],{},!0);Object.assign(S,{element:_.element?_.element:S.element,errorElement:_.errorElement?_.errorElement:S.errorElement,hydrateFallbackElement:_.hydrateFallbackElement?_.hydrateFallbackElement:S.hydrateFallbackElement})}a.hasHMRRoutes||a.setRoutes([...a.activeRoutes])}function FE(t,r){return"id"in t&&"id"in r&&t.id===r.id?!0:t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive?(!t.children||t.children.length===0)&&(!r.children||r.children.length===0)?!0:t.children?.every((a,s)=>r.children?.some(l=>FE(a,l)))??!1:!1}const J0=new WeakMap,GE=({key:t,route:r,manifest:a,mapRouteProperties:s})=>{let l=a[r.id];if(Ne(l,"No route found in manifest"),!l.lazy||typeof l.lazy!="object")return;let u=l.lazy[t];if(!u)return;let f=J0.get(l);f||(f={},J0.set(l,f));let h=f[t];if(h)return h;let p=(async()=>{let g=a1(t),b=l[t]!==void 0;if(g)$t(!g,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),f[t]=Promise.resolve();else if(b)$t(!1,`Route "${l.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let y=await u();y!=null&&(Object.assign(l,{[t]:y}),Object.assign(l,s(l)))}typeof l.lazy=="object"&&(l.lazy[t]=void 0,Object.values(l.lazy).every(y=>y===void 0)&&(l.lazy=void 0))})();return f[t]=p,p},eS=new WeakMap;function V1(t,r,a,s,l){let u=a[t.id];if(Ne(u,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let b=eS.get(u);if(b)return{lazyRoutePromise:b,lazyHandlerPromise:b};let y=(async()=>{Ne(typeof t.lazy=="function","No lazy route function found");let S=await t.lazy(),_={};for(let k in S){let U=S[k];if(U===void 0)continue;let B=s1(k),q=u[k]!==void 0;B?$t(!B,"Route property "+k+" is not a supported property to be returned from a lazy route function. This property will be ignored."):q?$t(!q,`Route "${u.id}" has a static property "${k}" defined but its lazy function is also returning a value for this property. The lazy route property "${k}" will be ignored.`):_[k]=U}Object.assign(u,_),Object.assign(u,{...s(u),lazy:void 0})})();return eS.set(u,y),y.catch(()=>{}),{lazyRoutePromise:y,lazyHandlerPromise:y}}let f=Object.keys(t.lazy),h=[],p;for(let b of f){if(l&&l.includes(b))continue;let y=GE({key:b,route:t,manifest:a,mapRouteProperties:s});y&&(h.push(y),b===r&&(p=y))}let g=h.length>0?Promise.all(h).then(()=>{}):void 0;return g?.catch(()=>{}),p?.catch(()=>{}),{lazyRoutePromise:g,lazyHandlerPromise:p}}async function tS(t){let r=t.matches.filter(s=>s.shouldLoad),a={};return(await Promise.all(r.map(s=>
25s.resolve()))).forEach((s,l)=>{a[r[l].route.id]=s}),a}async function q1(t){return t.matches.some(r=>r.route.middleware)?VE(t,()=>tS(t)):tS(t)}function VE(t,r){return K1(t,r,s=>{if(oM(s))throw s;return s},nM,a);async function a(s,l,u){if(u)return Object.assign(u.value,{[l]:{type:"error",result:s}});{let{matches:f}=t,h=Math.min(Math.max(f.findIndex(g=>g.route.id===l),0),Math.max(f.findIndex(g=>g.shouldCallHandler()),0)),p=f[h].route.id;for(let g of f.slice(0,h+1))try{await g._lazyPromises?.route}catch{p=g.route.id;break}return{[Fi(f,p).route.id]:{type:"error",result:s}}}}}async function K1(t,r,a,s,l){let{matches:u,...f}=t;return await qE(f,u.flatMap(h=>h.route.middleware?h.route.middleware.map(p=>[h.route.id,p]):[]),r,a,s,l)}async function qE(t,r,a,s,l,u,f=0){let{request:h}=t;if(h.signal.aborted)throw h.signal.reason??new Error(`Request aborted: ${h.method} ${h.url}`);let p=r[f];if(!p)return await a();let[g,b]=p,y,S=async()=>{if(y)throw new Error("You may only call `next()` once per middleware");try{return y={value:await qE(t,r,a,s,l,u,f+1)},y.value}catch(_){return y={value:await u(_,g,y)},y.value}};try{let _=await b(t,S),k=_!=null?s(_):void 0;return l(k)?k:y?k??y.value:(y={value:await S()},y.value)}catch(_){return await u(_,g,y)}}function KE(t,r,a,s,l){let u=GE({key:"middleware",route:s.route,manifest:r,mapRouteProperties:t}),f=V1(s.route,Zt(a.method)?"action":"loader",r,t,l);return{middleware:u,route:f.lazyRoutePromise,handler:f.lazyHandlerPromise}}function Op(t,r,a,s,l,u,f,h,p,g=null,b){let y=!1,S=KE(t,r,a,u,f);return{...u,_lazyPromises:S,shouldLoad:p,shouldRevalidateArgs:g,shouldCallHandler(_){return y=!0,g?typeof b=="boolean"?nl(u,{...g,defaultShouldRevalidate:b}):typeof _=="boolean"?nl(u,{...g,defaultShouldRevalidate:_}):nl(u,g):p},resolve(_){let{lazy:k,loader:U,middleware:B}=u.route,q=y||p||_&&!Zt(a.method)&&(k||U),K=B&&B.length>0&&!U&&!k;return q&&(Zt(a.method)||!K)?W1({request:a,path:s,pattern:l,match:u,lazyHandlerPromise:S?.handler,lazyRoutePromise:S?.route,handlerOverride:_,scopedContext:h}):Promise.resolve({type:"data",result:void 0})}}}function Mo(t,r,a,s,l,u,f,h,p=null){return l.map(g=>g.route.id!==u.route.id?{...g,shouldLoad:!1,shouldRevalidateArgs:p,shouldCallHandler:()=>!1,_lazyPromises:KE(t,r,a,g,f),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Op(t,r,a,s,Uo(l),g,f,h,!0,p))}async function Y1(t,r,a,s,l,u,f){s.some(b=>b._lazyPromises?.middleware)&&await Promise.all(s.map(b=>b._lazyPromises?.middleware));let h={request:r,url:pm(r,a),pattern:Uo(s),params:s[0].params,context:u,matches:s},g=await t({...h,fetcherKey:l,runClientMiddleware:b=>{let y=h;return VE(y,()=>b({...y,fetcherKey:l,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(s.flatMap(b=>[b._lazyPromises?.handler,b._lazyPromises?.route]))}catch{}return g}async function W1({request:t,path:r,pattern:a,match:s,lazyHandlerPromise:l,lazyRoutePromise:u,handlerOverride:f,scopedContext:h}){let p,g,b=Zt(t.method),y=b?"action":"loader",S=_=>{let k,U=new Promise((K,Z)=>k=Z);g=()=>k(),t.signal.addEventListener("abort",g);let B=K=>typeof _!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${y}" [routeId: ${s.route.id}]`)):_({request:t,url:pm(t,r),pattern:a,params:s.params,context:h},...K!==void 0?[K]:[]),q=(async()=>{try{return{type:"data",result:await(f?f(K=>B(K)):B())}}catch(K){return{type:"error",result:K}}})();return Promise.race([q,U])};try{let _=b?s.route.action:s.route.loader;if(l||u)if(_){let k,[U]=await Promise.all([S(_).catch(B=>{k=B}),l,u]);if(k!==void 0)throw k;p=U}else{await l;let k=b?s.route.action:s.route.loader;if(k)[p]=await Promise.all([S(k),u]);else if(y==="action"){let U=new URL(t.url),B=U.pathname+U.search;throw qn(405,{method:t.method,pathname:B,routeId:s.route.id})}else return{type:"data",result:void 0}}else if(_)p=await S(_);else{let k=new URL(t.url);throw qn(404,{pathname:k.pathname+k.search})}}catch(_){return{type:"error",result:_}}finally{g&&t.signal.removeEventListener("abort",g)}return p}async function $1(t){let r=t.headers.get("Content-Type");return r&&/\bapplication\/json\b/.test(r)?t.body==null?null:t.json():t.text()}async function Q1(t){let{result:r,type:a}=t;if(ym(r)){let s;try{s=await $1(r)}catch(l){return{type:"error",error:l}}return a==="error"?{type:"error",error:new hl(r.status,r.statusText,s),statusCode:r.status,headers:r.headers}:{type:"data",data:s,statusCode:r.status,headers:r.headers}}return a==="error"?sS(r)?r.data instanceof Error?{type:"error",error:r.data,statusCode:r.init?.status,headers:r.init?.headers?new Headers(r.init.headers):void 0}:{type:"error",error:tM(r),statusCode:Ro(r)?r.status:void 0,headers:r.init?.headers?new Headers(r.init.headers):void 0}:{type:"error",error:r,statusCode:Ro(r)?r.status:void 0}:sS(r)?{type:"data",data:r.data,statusCode:r.init?.status,headers:r.init?.headers?new Headers(r.init.headers):void 0}:{type:"data",data:r}}function X1(t,r,a,s,l){let u=t.headers.get("Location");if(Ne(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!fm(u)){let f=s.slice(0,s.findIndex(h=>h.route.id===a)+1);u=Dp(new URL(r.url),f,l,u),t.headers.set("Location",u)}return t}const Z1=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Rp(t){try{return Z1.includes(new URL(t).protocol)}catch{return!1}}function nS(t,r,a,s){if(fm(t)){let l=t,u=Gc.test(l)?new URL(wE(l,r.protocol)):new URL(l);if(Rp(u.toString()))throw new Error("Invalid redirect location");let f=dr(u.pathname,a)!=null;if(u.origin===r.origin&&f)return hm(u.pathname)+u.search+u.hash}try{if(Rp(s.createURL(t).toString()))throw new Error("Invalid redirect location")}catch{}return t}function xo(t,r,a,s){let l=t.createURL(YE(r)).toString(),u={signal:a};if(s&&Zt(s.formMethod)){let{formMethod:f,formEncType:h}=s;u.method=f.toUpperCase(),h==="application/json"?(u.headers=new Headers({"Content-Type":h}),u.body=JSON.stringify(s.json)):h==="text/plain"?u.body=s.text:h==="application/x-www-form-urlencoded"&&s.formData?u.body=Np(s.formData):u.body=s.formData}
25return new Request(l,u)}function Np(t){let r=new URLSearchParams;for(let[a,s]of t.entries())r.append(a,typeof s=="string"?s:s.name);return r}function rS(t){let r=new FormData;for(let[a,s]of t.entries())r.append(a,s);return r}function J1(t,r,a,s=!1,l=!1){let u={},f=null,h,p=!1,g={},b=a&&Mn(a[1])?a[1].error:void 0;return t.forEach(y=>{if(!(y.route.id in r))return;let S=y.route.id,_=r[S];if(Ne(!Sa(_),"Cannot handle redirect results in processLoaderData"),Mn(_)){let k=_.error;if(b!==void 0&&(k=b,b=void 0),f=f||{},l)f[S]=k;else{let U=Fi(t,S);f[U.route.id]==null&&(f[U.route.id]=k)}s||(u[S]=jE),p||(p=!0,h=Ro(_.error)?_.error.status:500),_.headers&&(g[S]=_.headers)}else u[S]=_.data,_.statusCode&&_.statusCode!==200&&!p&&(h=_.statusCode),_.headers&&(g[S]=_.headers)}),b!==void 0&&a&&(f={[a[0]]:b},a[2]&&(u[a[2]]=void 0)),{loaderData:u,errors:f,statusCode:h||200,loaderHeaders:g}}function iS(t,r,a,s,l,u,f){let{loaderData:h,errors:p}=J1(r,a,s);return l.filter(g=>!g.matches||g.matches.some(b=>b.shouldLoad)).forEach(g=>{let{key:b,match:y,controller:S}=g;if(S&&S.signal.aborted)return;let _=u[b];if(Ne(_,"Did not find corresponding fetcher result"),Mn(_)){let k=Fi(t.matches,y?.route.id);p&&p[k.route.id]||(p={...p,[k.route.id]:_.error}),f.delete(b)}else if(Sa(_))Ne(!1,"Unhandled fetcher revalidation redirect");else{let k=Pr(_.data);f.set(b,k)}}),{loaderData:h,errors:p}}function aS(t,r,a,s){let l=Object.entries(r).filter(([,u])=>u!==jE).reduce((u,[f,h])=>(u[f]=h,u),{});for(let u of a){let f=u.route.id;if(!r.hasOwnProperty(f)&&t.hasOwnProperty(f)&&u.route.loader&&(l[f]=t[f]),s&&s.hasOwnProperty(f))break}return l}function oS(t){return t?Mn(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Fi(t,r){return(r?t.slice(0,t.findIndex(a=>a.route.id===r)+1):[...t]).reverse().find(a=>a.route.ErrorBoundary!=null||a.route.errorElement!=null)||t[0]}function Ju(t){let r=t.length===1?t[0]:t.find(a=>a.index||!a.path||a.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:r}],route:r}}function qn(t,{pathname:r,routeId:a,method:s,type:l,message:u}={}){let f="Unknown Server Error",h="Unknown @remix-run/router error";return t===400?(f="Bad Request",s&&r&&a?h=`You made a ${s} request to "${r}" but did not provide a \`loader\` for route "${a}", so there is no way to handle the request.`:l==="invalid-body"&&(h="Unable to encode submission body")):t===403?(f="Forbidden",h=`Route "${a}" does not match URL "${r}"`):t===404?(f="Not Found",h=`No route matches URL "${r}"`):t===405&&(f="Method Not Allowed",s&&r&&a?h=`You made a ${s.toUpperCase()} request to "${r}" but did not provide an \`action\` for route "${a}", so there is no way to handle the request.`:s&&(h=`Invalid request method "${s.toUpperCase()}"`)),new hl(t||500,f,new Error(h),!0)}function ec(t){let r=Object.entries(t);for(let a=r.length-1;a>=0;a--){let[s,l]=r[a];if(Sa(l))return{key:s,result:l}}}function YE(t){return dn({...typeof t=="string"?Rr(t):t,hash:""})}function eM(t,r){return t.pathname!==r.pathname||t.search!==r.search?!1:t.hash===""?r.hash!=="":t.hash===r.hash?!0:r.hash!==""}function tM(t){return new hl(t.init?.status??500,t.init?.statusText??"Internal Server Error",t.data)}function nM(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([r,a])=>typeof r=="string"&&rM(a))}function rM(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function iM(t){return ym(t.result)&&UE.has(t.result.status)}function Mn(t){return t.type==="error"}function Sa(t){return(t&&t.type)==="redirect"}function sS(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function ym(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function aM(t){return UE.has(t)}function oM(t){return ym(t)&&aM(t.status)&&t.headers.has("Location")}function sM(t){return I1.has(t.toUpperCase())}function Zt(t){return N1.has(t.toUpperCase())}function bm(t){return new URLSearchParams(t).getAll("index").some(r=>r==="")}function dc(t,r){let a=typeof r=="string"?Rr(r).search:r.search;if(t[t.length-1].route.index&&bm(a||""))return t[t.length-1];let s=RE(t);return s[s.length-1]}function lS(t,r,a){return{url:pm(t.createURL(r),r),pattern:a?Uo(a):"",params:a?.[0]?.params?{...a[0].params}:{}}}function uS(t){let{formMethod:r,formAction:a,formEncType:s,text:l,formData:u,json:f}=t;
25if(!(!r||!a||!s)){if(l!=null)return{formMethod:r,formAction:a,formEncType:s,formData:void 0,json:void 0,text:l};if(u!=null)return{formMethod:r,formAction:a,formEncType:s,formData:u,json:void 0,text:void 0};if(f!==void 0)return{formMethod:r,formAction:a,formEncType:s,formData:void 0,json:f,text:void 0}}}function Jh(t,r,a,s){return s?{state:"loading",location:t,matches:r,historyAction:a,formMethod:s.formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}:{state:"loading",location:t,matches:r,historyAction:a,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function lM(t,r,a,s){return{state:"submitting",location:t,matches:r,historyAction:a,formMethod:s.formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}}function Fs(t,r){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:r}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:r}}function uM(t,r){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:r?r.data:void 0}}function Pr(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function cM(t,r){try{let a=t.sessionStorage.getItem(BE);if(a){let s=JSON.parse(a);for(let[l,u]of Object.entries(s||{}))u&&Array.isArray(u)&&r.set(l,new Set(u||[]))}}catch{}}function dM(t,r){if(r.size>0){let a={};for(let[s,l]of r)a[s]=[...l];try{t.sessionStorage.setItem(BE,JSON.stringify(a))}catch(s){$t(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function cS(){let t,r,a=new Promise((s,l)=>{t=async u=>{s(u);try{await a}catch{}},r=async u=>{l(u);try{await a}catch{}}});return{promise:a,resolve:t,reject:r}}const Ca=w.createContext(null);Ca.displayName="DataRouter";const pl=w.createContext(null);pl.displayName="DataRouterState";const WE=w.createContext(!1);function $E(){return w.useContext(WE)}const vm=w.createContext({isTransitioning:!1});vm.displayName="ViewTransition";const QE=w.createContext(new Map);QE.displayName="Fetchers";const fM=w.createContext(null);fM.displayName="Await";const Wn=w.createContext(null);Wn.displayName="Navigation";const qc=w.createContext(null);qc.displayName="Location";const $n=w.createContext({outlet:null,matches:[],isDataRoute:!1});$n.displayName="Route";const Sm=w.createContext(null);Sm.displayName="RouteError";const XE="REACT_ROUTER_ERROR",hM="REDIRECT",pM="ROUTE_ERROR_RESPONSE";function mM(t){if(t.startsWith(`${XE}:${hM}:{`))try{let r=JSON.parse(t.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function gM(t){if(t.startsWith(`${XE}:${pM}:{`))try{let r=JSON.parse(t.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new hl(r.status,r.statusText,r.data)}catch{}}function yM(t,{relative:r}={}){Ne(Bo(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:s}=w.useContext(Wn),{hash:l,pathname:u,search:f}=ml(t,{relative:r}),h=u;return a!=="/"&&(h=u==="/"?a:Kn([a,u])),s.createHref({pathname:h,search:f,hash:l})}function Bo(){return w.useContext(qc)!=null}function Qn(){return Ne(Bo(),"useLocation() may be used only in the context of a <Router> component."),w.useContext(qc).location}const ZE="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function _m(){let{isDataRoute:t}=w.useContext($n);return t?OM():bM()}function bM(){Ne(Bo(),"useNavigate() may be used only in the context of a <Router> component.");let t=w.useContext(Ca),{basename:r,navigator:a}=w.useContext(Wn),{matches:s}=w.useContext($n),{pathname:l}=Qn(),u=JSON.stringify(Vc(s)),f=w.useRef(!1);return w.useLayoutEffect(()=>{f.current=!0}),w.useCallback((h,p={})=>
25{if($t(f.current,ZE),!f.current)return;if(typeof h=="number"){a.go(h);return}let g=fl(h,JSON.parse(u),l,p.relative==="path");t==null&&r!=="/"&&(g.pathname=g.pathname==="/"?r:Kn([r,g.pathname])),Po(typeof h=="string"?h:dn(h),a.createHref(g),mm(a),"reject"),(p.replace?a.replace:a.push)(g,p.state,p)},[r,a,u,l,t])}const JE=w.createContext(null);function vM(){return w.useContext(JE)}function SM(t){let r=w.useContext($n).outlet;return w.useMemo(()=>r&&w.createElement(JE.Provider,{value:t},r),[r,t])}function e5(){let{matches:t}=w.useContext($n);return t[t.length-1]?.params??{}}function ml(t,{relative:r}={}){let{matches:a}=w.useContext($n),{pathname:s}=Qn(),l=JSON.stringify(Vc(a));return w.useMemo(()=>fl(t,JSON.parse(l),s,r==="path"),[t,l,s,r])}function _M(t,r,a){Ne(Bo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=w.useContext(Wn),{matches:l}=w.useContext($n),u=l[l.length-1],f=u?u.params:{};u&&u.pathname;let h=u?u.pathnameBase:"/";u&&u.route;let p=Qn(),g;g=p;let b=g.pathname||"/",y=b;if(h!=="/"){let k=h.replace(/^\//,"").split("/");y="/"+b.replace(/^\//,"").split("/").slice(k.length).join("/")}let S=a&&a.state.matches.length?a.state.matches.map(k=>Object.assign(k,{route:a.manifest[k.route.id]||k.route})):kE(t,{pathname:y});return xM(S&&S.map(k=>Object.assign({},k,{params:Object.assign({},f,k.params),pathname:Kn([h,s.encodeLocation?s.encodeLocation(k.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?h:Kn([h,s.encodeLocation?s.encodeLocation(k.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathnameBase])})),l,a)}function EM(){let t=eA(),r=Ro(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),a=t instanceof Error?t.stack:null;return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},r),a?w.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},a):null,null)}const AM=w.createElement(EM,null);var TM=class extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static contextType=WE;static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){this.props.onError?this.props.onError(t,r):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const a=gM(t.digest);a&&(t=a)}let r=t!==void 0?w.createElement($n.Provider,{value:this.props.routeContext},w.createElement(Sm.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?w.createElement(wM,{error:t},r):r}};const ep=new WeakMap;function wM({children:t,error:r}){let{basename:a,navigator:s}=w.useContext(Wn);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let l=mM(r.digest);if(l){let u=ep.get(r);if(u)throw u;let f=LE(l.location,a),h=f.absoluteURL||f.to;if(Po(l.location,h,mm(s),"allow-explicit"),Rp(h))throw new Error("Invalid redirect location");if(NE&&!ep.get(r))if(f.isExternal||l.reloadDocument)window.location.href=h;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(f.to,{replace:l.replace}));throw ep.set(r,p),p}return w.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h}`})}}return t}function CM({routeContext:t,match:r,children:a}){let s=w.useContext(Ca);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),w.createElement($n.Provider,{value:t},a)}function xM(t,r=[],a){let s=a?.state;if(t==null){if(!s)return null;if(s.errors)t=s.matches;else if(r.length===0&&!s.initialized&&s.matches.length>0)t=s.matches;else return null}let l=t,u=s?.errors;if(u!=null){let b=l.findIndex(y=>y.route.id&&u?.[y.route.id]!==void 0);Ne(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),l=l.slice(0,Math.min(l.length,b+1))}let f=!1,h=-1;if(a&&s){f=s.renderFallback;for(let b=0;b<l.length;b++){let y=l[b];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(h=b),y.route.id){let{loaderData:S,errors:_}
25=s,k=y.route.loader&&!S.hasOwnProperty(y.route.id)&&(!_||_[y.route.id]===void 0);if(y.route.lazy||k){a.isStatic&&(f=!0),h>=0?l=l.slice(0,h+1):l=[l[0]];break}}}}let p=a?.onError,g=s&&p?(b,y)=>{p(b,{location:s.location,params:s.matches?.[0]?.params??{},pattern:Uo(s.matches),errorInfo:y})}:void 0;return l.reduceRight((b,y,S)=>{let _,k=!1,U=null,B=null;s&&(_=u&&y.route.id?u[y.route.id]:void 0,U=y.route.errorElement||AM,f&&(h<0&&S===0?(RM("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),k=!0,B=null):h===S&&(k=!0,B=y.route.hydrateFallbackElement||null)));let q=r.concat(l.slice(0,S+1)),K=()=>{let Z;return _?Z=U:k?Z=B:y.route.Component?Z=w.createElement(y.route.Component,null):y.route.element?Z=y.route.element:Z=b,w.createElement(CM,{match:y,routeContext:{outlet:b,matches:q,isDataRoute:s!=null},children:Z})};return s&&(y.route.ErrorBoundary||y.route.errorElement||S===0)?w.createElement(TM,{location:s.location,revalidation:s.revalidation,component:U,error:_,children:K(),routeContext:{outlet:null,matches:q,isDataRoute:!0},onError:g}):K()},null)}function Em(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function kM(t){let r=w.useContext(Ca);return Ne(r,Em(t)),r}function PM(t){let r=w.useContext(pl);return Ne(r,Em(t)),r}function MM(t){let r=w.useContext($n);return Ne(r,Em(t)),r}function Am(t){let r=MM(t),a=r.matches[r.matches.length-1];return Ne(a.route.id,`${t} can only be used on routes that contain a unique "id"`),a.route.id}function DM(){return Am("useRouteId")}function eA(){let t=w.useContext(Sm),r=PM("useRouteError"),a=Am("useRouteError");return t!==void 0?t:r.errors?.[a]}function OM(){let{router:t}=kM("useNavigate"),r=Am("useNavigate"),a=w.useRef(!1);return w.useLayoutEffect(()=>{a.current=!0}),w.useCallback(async(s,l={})=>{$t(a.current,ZE),a.current&&(typeof s=="number"?await t.navigate(s):await t.navigate(s,{fromRouteId:r,...l}))},[t,r])}const dS={};function RM(t,r,a){dS[t]||(dS[t]=!0,$t(!1,a))}const fS={};function hS(t,r){!t&&!fS[r]&&(fS[r]=!0,console.warn(r))}const NM=["HydrateFallback","hydrateFallbackElement"];var LM=class{status="pending";promise;resolve;reject;
25constructor(){this.promise=new Promise((t,r)=>{this.resolve=a=>{this.status==="pending"&&(this.status="resolved",t(a))},this.reject=a=>{this.status==="pending"&&(this.status="rejected",r(a))}})}};function IM({router:t,flushSync:r,onError:a,useTransitions:s}){s=$E()||s;let[l,u]=w.useState(t.state),[f,h]=w.useOptimistic(l),[p,g]=w.useState(),[b,y]=w.useState({isTransitioning:!1}),[S,_]=w.useState(),[k,U]=w.useState(),[B,q]=w.useState(),K=w.useRef(new Map),Z=w.useCallback(($,{deletedFetchers:R,newErrors:ue,flushSync:_e,viewTransitionOpts:we})=>{ue&&a&&Object.values(ue).forEach(Pe=>a(Pe,{location:$.location,params:$.matches[0]?.params??{},pattern:Uo($.matches)})),$.fetchers.forEach((Pe,Ke)=>{Pe.data!==void 0&&K.current.set(Ke,Pe.data)}),R.forEach(Pe=>K.current.delete(Pe)),hS(_e===!1||r!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let Ee=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(hS(we==null||Ee,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!we||!Ee){r&&_e?r(()=>u($)):s===!1?u($):w.startTransition(()=>{s===!0&&h(Pe=>pS(Pe,$)),u($)});return}if(r&&_e){r(()=>{k&&(S?.resolve(),k.skipTransition()),y({isTransitioning:!0,flushSync:!0,currentLocation:we.currentLocation,nextLocation:we.nextLocation})});let Pe=t.window.document.startViewTransition(()=>{r(()=>u($))});Pe.finished.finally(()=>{r(()=>{_(void 0),U(void 0),g(void 0),y({isTransitioning:!1})})}),r(()=>U(Pe));return}k?(S?.resolve(),k.skipTransition(),q({state:$,currentLocation:we.currentLocation,nextLocation:we.nextLocation})):(g($),y({isTransitioning:!0,flushSync:!1,currentLocation:we.currentLocation,nextLocation:we.nextLocation}))},[t.window,r,k,S,s,h,a]);w.useLayoutEffect(()=>t.subscribe(Z),[t,Z]),w.useEffect(()=>{b.isTransitioning&&!b.flushSync&&_(new LM)},[b]),w.useEffect(()=>{if(S&&p&&t.window){let $=p,R=S.promise,ue=t.window.document.startViewTransition(async()=>{s===!1?u($):w.startTransition(()=>{s===!0&&h(_e=>pS(_e,$)),u($)}),await R});ue.finished.finally(()=>{_(void 0),U(void 0),g(void 0),y({isTransitioning:!1})}),U(ue)}},[p,S,t.window,s,h]),w.useEffect(()=>{S&&p&&f.location.key===p.location.key&&S.resolve()},[S,k,f.location,p]),w.useEffect(()=>{!b.isTransitioning&&B&&(g(B.state),y({isTransitioning:!0,flushSync:!1,currentLocation:B.currentLocation,nextLocation:B.nextLocation}),q(void 0))},[b.isTransitioning,B]);let le=w.useMemo(()=>({createHref:t.createHref,createURL:t.createURL,encodeLocation:t.encodeLocation,go:$=>t.navigate($),push:($,R,ue)=>t.navigate($,{state:R,preventScrollReset:ue?.preventScrollReset}),replace:($,R,ue)=>t.navigate($,{replace:!0,state:R,preventScrollReset:ue?.preventScrollReset})}),[t]),te=t.basename||"/",be=w.useMemo(()=>({router:t,navigator:le,static:!1,basename:te,onError:a}),[t,le,te,a]);return w.createElement(w.Fragment,null,w.createElement(Ca.Provider,{value:be},w.createElement(pl.Provider,{value:f},w.createElement(QE.Provider,{value:K.current},w.createElement(vm.Provider,{value:b},w.createElement(jM,{basename:te,location:f.location,navigationType:f.historyAction,navigator:le,useTransitions:s},w.createElement(zM,{routes:t.routes,manifest:t.manifest,future:t.future,state:f,isStatic:!1,onError:a})))))),null)}function pS(t,r){return{...t,navigation:r.navigation.state!=="idle"?r.navigation:t.navigation,revalidation:r.revalidation!=="idle"?r.revalidation:t.revalidation,actionData:r.navigation.state!=="submitting"?r.actionData:t.actionData,fetchers:r.fetchers}}const zM=w.memo(UM);function UM({routes:t,manifest:r,future:a,state:s,isStatic:l,onError:u}){return _M(t,void 0,{manifest:r,state:s,isStatic:l,onError:u})}function t5({to:t,replace:r,state:a,relative:s}){Ne(Bo(),"<Navigate> may be used only in the context of a <Router> component.");
25let{static:l,navigator:u}=w.useContext(Wn);$t(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:f}=w.useContext($n),{pathname:h}=Qn(),p=_m(),g=fl(t,Vc(f),h,s==="path");Po(typeof t=="string"?t:dn(t),u.createHref(g),mm(u),"reject");let b=JSON.stringify(g);return w.useEffect(()=>{p(JSON.parse(b),{replace:r,state:a,relative:s})},[p,b,s,r,a]),null}function BM(t){return SM(t.context)}function jM({basename:t="/",children:r=null,location:a,navigationType:s="POP",navigator:l,static:u=!1,useTransitions:f}){Ne(!Bo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=t.replace(/^\/*/,"/"),p=w.useMemo(()=>({basename:h,navigator:l,static:u,useTransitions:f,future:{}}),[h,l,u,f]);typeof a=="string"&&(a=Rr(a));let{pathname:g="/",search:b="",hash:y="",state:S=null,key:_="default",mask:k}=a,U=w.useMemo(()=>{let B=dr(g,h);return B==null?null:{location:{pathname:B,search:b,hash:y,state:S,key:_,mask:k},navigationType:s}},[h,g,b,y,S,_,s,k]);return $t(U!=null,`<Router basename="${h}"> is not able to match the URL "${g}${b}${y}" because it does not start with the basename, so the <Router> won't render anything.`),U==null?null:w.createElement(Wn.Provider,{value:p},w.createElement(qc.Provider,{children:r,value:U}))}const fc="application/x-www-form-urlencoded";function Kc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function HM(t){return Kc(t)&&t.tagName.toLowerCase()==="button"}function FM(t){return Kc(t)&&t.tagName.toLowerCase()==="form"}function GM(t){return Kc(t)&&t.tagName.toLowerCase()==="input"}function VM(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function qM(t,r){return t.button===0&&(!r||r==="_self")&&!VM(t)}function Lp(t=""){return new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((r,a)=>{let s=t[a];return r.concat(Array.isArray(s)?s.map(l=>[a,l]):[[a,s]])},[]))}function KM(t,r){let a=Lp(t);return r&&r.forEach((s,l)=>{a.has(l)||r.getAll(l).forEach(u=>{a.append(l,u)})}),a}let tc=null;function YM(){if(tc===null)try{new FormData(document.createElement("form"),0),tc=!1}catch{tc=!0}return tc}const WM=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function tp(t){return t!=null&&!WM.has(t)?($t(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${fc}"`),null):t}function $M(t,r){let a,s,l,u,f;if(FM(t)){let h=t.getAttribute("action");s=h?dr(h,r):null,a=t.getAttribute("method")||"get",l=tp(t.getAttribute("enctype"))||fc,u=new FormData(t)}else if(HM(t)||GM(t)&&(t.type==="submit"||t.type==="image")){let h=t.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=t.getAttribute("formaction")||h.getAttribute("action");if(s=p?dr(p,r):null,a=t.getAttribute("formmethod")||h.getAttribute("method")||"get",l=tp(t.getAttribute("formenctype"))||tp(h.getAttribute("enctype"))||fc,u=new FormData(h,t),!YM()){let{name:g,type:b,value:y}=t;if(b==="image"){let S=g?`${g}.`:"";u.append(`${S}x`,"0"),u.append(`${S}y`,"0")}else g&&u.append(g,y)}}else{if(Kc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a="get",s=null,l=fc,f=t}return u&&l==="text/plain"&&(f=u,u=void 0),{action:s,method:a.toLowerCase(),encType:l,formData:u,body:f}}function Tm(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function tA(t,r){let a=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${r}`:a.pathname=`${a.pathname}.${r}`,a}async function QM(t,r){if(t.id in r)return r[t.id];try{let a=await import(t.module);return r[t.id]=a,a}catch(a){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.
25isSpaMode,window.location.reload(),new Promise(()=>{})}}function XM(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function ZM(t,r,a){return nD((await Promise.all(t.map(async s=>{let l=r.routes[s.route.id];if(l){let u=await QM(l,a);return u.links?u.links():[]}return[]}))).flat(1).filter(XM).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function mS(t,r,a,s,l,u){let f=(p,g)=>a[g]?p.route.id!==a[g].route.id:!0,h=(p,g)=>a[g].pathname!==p.pathname||a[g].route.path?.endsWith("*")&&a[g].params["*"]!==p.params["*"];return u==="assets"?r.filter((p,g)=>f(p,g)||h(p,g)):u==="data"?r.filter((p,g)=>{let b=s.routes[p.route.id];if(!b||!b.hasLoader)return!1;if(f(p,g)||h(p,g))return!0;if(p.route.shouldRevalidate){let y=p.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function JM(t,r,{includeHydrateFallback:a}={}){return eD(t.map(s=>{let l=r.routes[s.route.id];if(!l)return[];let u=[l.module];return l.clientActionModule&&(u=u.concat(l.clientActionModule)),l.clientLoaderModule&&(u=u.concat(l.clientLoaderModule)),a&&l.hydrateFallbackModule&&(u=u.concat(l.hydrateFallbackModule)),l.imports&&(u=u.concat(l.imports)),u}).flat(1))}function eD(t){return[...new Set(t)]}function tD(t){let r={},a=Object.keys(t).sort();for(let s of a)r[s]=t[s];return r}function nD(t,r){let a=new Set;return new Set(r),t.reduce((s,l)=>{let u=JSON.stringify(tD(l));return a.has(u)||(a.add(u),s.push({key:u,link:l})),s},[])}function rD(){let t=w.useContext(Ca);return Tm(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function iD(){let t=w.useContext(pl);return Tm(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}const wm=w.createContext(void 0);wm.displayName="FrameworkContext";function Cm(){let t=w.useContext(wm);return Tm(t,"You must render this element inside a <HydratedRouter> element"),t}function aD(t,r){let a=w.useContext(wm),[s,l]=w.useState(!1),[u,f]=w.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:g,onMouseLeave:b,onTouchStart:y}=r,S=w.useRef(null);w.useEffect(()=>{if(t==="render"&&f(!0),t==="viewport"){let U=q=>{q.forEach(K=>{f(K.isIntersecting)})},B=new IntersectionObserver(U,{threshold:.5});return S.current&&B.observe(S.current),()=>{B.disconnect()}}},[t]),w.useEffect(()=>{if(s){let U=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(U)}}},[s]);let _=()=>{l(!0)},k=()=>{l(!1),f(!1)};return a?t!=="intent"?[u,S,{}]:[u,S,{onFocus:Gs(h,_),onBlur:Gs(p,k),onMouseEnter:Gs(g,_),onMouseLeave:Gs(b,k),onTouchStart:Gs(y,_)}]:[!1,S,{}]}function Gs(t,r){return a=>{t&&t(a),a.defaultPrevented||r(a)}}function oD({page:t,...r}){let a=$E(),{nonce:s}=Cm(),{router:l}=rD(),u=w.useMemo(()=>kE(l.routes,t,l.basename),[l.routes,t,l.basename]);return u?(r.nonce==null&&s&&(r={...r,nonce:s}),a?w.createElement(lD,{page:t,matches:u,...r}):w.createElement(uD,{page:t,matches:u,...r})):null}function sD(t){let{manifest:r,routeModules:a}=Cm(),[s,l]=w.useState([]);return w.useEffect(()=>{let u=!1;return ZM(t,r,a).then(f=>{u||l(f)}),()=>{u=!0}},[t,r,a]),s}function lD({page:t,matches:r,...a}){let s=Qn(),l=w.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let u=tA(t,"rsc"),f=!1,h=[];for(let p of r)typeof p.route.shouldRevalidate=="function"?f=!0:h.push(p.route.id);return f&&h.length>0&&u.searchParams.set("_routes",h.join(",")),[u.pathname+u.search]},[t,s,r]);return w.createElement(w.Fragment,null,l.map(u=>w.createElement("link",{key:u,rel:"prefetch",as:"fetch",href:u,...a})))}function uD({page:t,matches:r,...a}){let s=Qn(),{manifest:l,routeModules:u}=Cm(),{loaderData:f,matches:h}=iD(),p=w.useMemo(()=>mS(t,r,h,l,s,"data"),[t,r,h,l,s]),g=w.useMemo(()=>mS(t,r,h,l,s,"assets"),[t,r,h,l,s]),b=w.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let _=new Set,k=!1;if(r.forEach(B=>{let q=l.routes[B.route.id];!q||!q.hasLoader||(!p.some(K=>K.route.id===B.route.id)&&B.route.id in f&&u[B.route.id]?.shouldRevalidate||q.hasClientLoader?k=!0:_.add(B.route.id))}),_.size===0)return[];let U=tA(t,"data");return k&&_.size>0&&U.searchParams.set("_routes",r.filter(B=>_.has(B.route.id)).map(B=>B.route.id).join(",")),[U.pathname+U.search]},[f,s,l,p,r,t,u]),y=w.useMemo(()=>JM(g,l),[g,l]),S=sD(g);return w.createElement(w.Fragment,null,b.map(_=>w.createElement("link",{key:_,rel:"prefetch",as:"fetch",href:_,...a})),y.map(_=>w.createElement("link",{key:_,rel:"modulepreload",href:_,...a})),S.map(({key:_,link:k})=>w.createElement("link",{key:_,nonce:a.nonce,...k,crossOrigin:k.crossOrigin??a.crossOrigin})))}function cD(...t){return r=>{t.forEach(a=>{typeof a=="function"?a(r):a!=null&&(a.current=r)})}}const dD=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{dD&&(window.__reactRouterVersion="8")}catch{}function fD(t,r){return j1({basename:r?.basename,getContext:r?.getContext,future:r?.future,history:t1({window:r?.window}),hydrationData:hD(),routes:t,mapRouteProperties:xE,hydrationRouteProperties:NM,dataStrategy:r?.dataStrategy,patchRoutesOnNavigation:r?.patchRoutesOnNavigation,window:r?.window,instrumentations:r?.instrumentations}).initialize()}function hD(){let t=window?.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:pD(t.errors)}),t}function pD(t){if(!t)return null;let r=Object.entries(t),a={};for(let[s,l]of r)if(l&&l.__type==="RouteErrorResponse")a[s]=new hl(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(typeof l.__subType=="string"&&k1.includes(l.__subType)){let u=window[l.__subType];if(typeof u=="function")try{let f=new u(l.message);f.stack="",a[s]=f}catch{}}if(a[s]==null){let u=new Error(l.message);u.stack="",a[s]=u}}else a[s]=l;return a}const Dt=w.forwardRef(function({onClick:r,discover:a="render",prefetch:s="none",relative:l,reloadDocument:u,replace:f,mask:h,state:p,target:g,to:b,preventScrollReset:y,viewTransition:S,defaultShouldRevalidate:_,...k},U){let{basename:B,navigator:q,useTransitions:K}=w.useContext(Wn),Z=typeof b=="string"&&Fc.test(b),le=LE(b,B);b=le.to;let te=yM(b,{relative:l}),be=Qn(),$=null;if(h){let Le=fl(h,[],be.mask?be.mask.pathname:"/",!0);B!=="/"&&(Le.pathname=Le.pathname==="/"?B:Kn([B,Le.pathname])),$=q.createHref(Le)}let[R,ue,_e]=aD(s,k),we=bD(b,{replace:f,mask:h,state:p,target:g,preventScrollReset:y,relative:l,viewTransition:S,defaultShouldRevalidate:_,useTransitions:K});function Ee(Le){r&&r(Le),Le.defaultPrevented||we(Le)}let Pe=!(le.isExternal||u),Ke=w.createElement("a",{...k,..._e,href:(Pe?$:void 0)||le.absoluteURL||te,onClick:Pe?Ee:r,ref:cD(U,ue),target:g,"data-discover":!Z&&a==="render"?"true":void 0});return R&&!Z?w.createElement(w.Fragment,null,Ke,w.createElement(oD,{page:te})):Ke});Dt.displayName="Link";const mD=w.forwardRef(function({"aria-current":r="page",caseSensitive:a=!1,className:s="",end:l=!1,style:u,to:f,viewTransition:h,children:p,...g},b){let y=ml(f,{relative:g.relative}
25),S=Qn(),_=w.useContext(pl),{navigator:k,basename:U}=w.useContext(Wn),B=_!=null&&AD(y)&&h===!0,q=k.encodeLocation?k.encodeLocation(y).pathname:y.pathname,K=S.pathname,Z=_&&_.navigation&&_.navigation.location?_.navigation.location.pathname:null;a||(K=K.toLowerCase(),Z=Z?Z.toLowerCase():null,q=q.toLowerCase()),Z&&U&&(Z=dr(Z,U)||Z);const le=q!=="/"&&q.endsWith("/")?q.length-1:q.length;let te=K===q||!l&&K.startsWith(q)&&K.charAt(le)==="/",be=Z!=null&&(Z===q||!l&&Z.startsWith(q)&&Z.charAt(le)==="/"),$={isActive:te,isPending:be,isTransitioning:B},R=te?r:void 0,ue;typeof s=="function"?ue=s($):ue=[s,te?"active":null,be?"pending":null,B?"transitioning":null].filter(Boolean).join(" ");let _e=typeof u=="function"?u($):u;return w.createElement(Dt,{...g,"aria-current":R,className:ue,ref:b,style:_e,to:f,viewTransition:h},typeof p=="function"?p($):p)});mD.displayName="NavLink";const gD=w.forwardRef(({discover:t="render",fetcherKey:r,navigate:a,reloadDocument:s,replace:l,state:u,method:f="get",action:h,onSubmit:p,relative:g,preventScrollReset:b,viewTransition:y,defaultShouldRevalidate:S,..._},k)=>{let{useTransitions:U}=w.useContext(Wn),B=_D(),q=ED(h,{relative:g}),K=f.toLowerCase()==="get"?"get":"post",Z=typeof h=="string"&&Fc.test(h),le=te=>{if(p&&p(te),te.defaultPrevented)return;te.preventDefault();let be=te.nativeEvent.submitter,$=be?.getAttribute("formmethod")||f,R=()=>B(be||te.currentTarget,{fetcherKey:r,method:$,navigate:a,replace:l,state:u,relative:g,preventScrollReset:b,viewTransition:y,defaultShouldRevalidate:S});U&&a!==!1?w.startTransition(()=>R()):R()};return w.createElement("form",{ref:k,method:K,action:q,onSubmit:s?p:le,..._,"data-discover":!Z&&t==="render"?"true":void 0})});gD.displayName="Form";function yD(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function nA(t){let r=w.useContext(Ca);return Ne(r,yD(t)),r}function bD(t,{target:r,replace:a,mask:s,state:l,preventScrollReset:u,relative:f,viewTransition:h,defaultShouldRevalidate:p,useTransitions:g}={}){let b=_m(),y=Qn(),S=ml(t,{relative:f});return w.useCallback(_=>{if(qM(_,r)){_.preventDefault();let k=a!==void 0?a:dn(y)===dn(S),U=()=>b(t,{replace:k,mask:s,state:l,preventScrollReset:u,relative:f,viewTransition:h,defaultShouldRevalidate:p});g?w.startTransition(()=>U()):U()}},[y,b,S,a,s,l,r,t,u,f,h,p,g])}function n5(t){$t(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let r=w.useRef(Lp(t)),a=w.useRef(!1),s=Qn(),l=w.useMemo(()=>KM(s.search,a.current?null:r.current),[s.search]),u=_m();return[l,w.useCallback((f,h)=>{const p=Lp(typeof f=="function"?f(new URLSearchParams(l)):f);a.current=!0,u("?"+p,h)},[u,l])]}let vD=0,SD=()=>`__${String(++vD)}__`;function _D(){let{router:t}=nA("useSubmit"),{basename:r}=w.useContext(Wn),a=DM(),s=t.fetch,l=t.navigate;return w.useCallback(async(u,f={})=>{let{action:h,method:p,encType:g,formData:b,body:y}=$M(u,r);f.navigate===!1?await s(f.fetcherKey||SD(),a,f.action||h,{defaultShouldRevalidate:f.defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,relative:f.relative,formData:b,body:y,formMethod:f.method||p,formEncType:f.encType||g,flushSync:f.flushSync}):await l(f.action||h,{defaultShouldRevalidate:f.defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,relative:f.relative,formData:b,body:y,formMethod:f.method||p,formEncType:f.encType||g,replace:f.replace,state:f.state,fromRouteId:a,flushSync:f.flushSync,viewTransition:f.viewTransition})},[s,l,r,a])}function ED(t,{relative:r}={}){let{basename:a}=w.useContext(Wn),s=w.useContext($n);Ne(s,"useFormAction must be used inside a RouteContext");let[l]=s.matches.slice(-1),u={...ml(t||".",{relative:r})},f=Qn();if(t==null){u.search=f.search;let h=new URLSearchParams(u.search),p=h.getAll("index");if(p.some(g=>g==="")){h.delete("index"),p.filter(b=>b).forEach(b=>h.append("index",b));let g=h.toString();u.search=g?`?${g}`:""}}return(!t||t===".")&&l.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(u.pathname=u.pathname==="/"?a:Kn([a,u.pathname])),dn(u)}function AD(t,{relative:r}={}){let a=w.useContext(vm);Ne(a!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=nA("useViewTransitionState"),l=ml(t,{relative:r});if(!a.isTransitioning)return!1;let u=dr(a.currentLocation.pathname,s)||a.currentLocation.pathname,f=dr(a.nextLocation.pathname,s)||a.nextLocation.pathname;return _c(l.pathname,f)!=null||_c(l.pathname,u)!=null}function TD(t){return w.createElement(IM,{flushSync:sE.flushSync,...t})}var np,gS;function wD(){if(gS)return np;gS=1;var t=typeof Element<"u",r=typeof Map=="function",a=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(u,f){if(u===f)return!0;
25if(u&&f&&typeof u=="object"&&typeof f=="object"){if(u.constructor!==f.constructor)return!1;var h,p,g;if(Array.isArray(u)){if(h=u.length,h!=f.length)return!1;for(p=h;p--!==0;)if(!l(u[p],f[p]))return!1;return!0}var b;if(r&&u instanceof Map&&f instanceof Map){if(u.size!==f.size)return!1;for(b=u.entries();!(p=b.next()).done;)if(!f.has(p.value[0]))return!1;for(b=u.entries();!(p=b.next()).done;)if(!l(p.value[1],f.get(p.value[0])))return!1;return!0}if(a&&u instanceof Set&&f instanceof Set){if(u.size!==f.size)return!1;for(b=u.entries();!(p=b.next()).done;)if(!f.has(p.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(f)){if(h=u.length,h!=f.length)return!1;for(p=h;p--!==0;)if(u[p]!==f[p])return!1;return!0}if(u.constructor===RegExp)return u.source===f.source&&u.flags===f.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof f.valueOf=="function")return u.valueOf()===f.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof f.toString=="function")return u.toString()===f.toString();if(g=Object.keys(u),h=g.length,h!==Object.keys(f).length)return!1;for(p=h;p--!==0;)if(!Object.prototype.hasOwnProperty.call(f,g[p]))return!1;if(t&&u instanceof Element)return!1;for(p=h;p--!==0;)if(!((g[p]==="_owner"||g[p]==="__v"||g[p]==="__o")&&u.$$typeof)&&!l(u[g[p]],f[g[p]]))return!1;return!0}return u!==u&&f!==f}return np=function(f,h){try{return l(f,h)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}},np}var CD=wD();const xD=Dc(CD);var rp,yS;function kD(){if(yS)return rp;yS=1;var t=function(r,a,s,l,u,f,h,p){if(!r){var g;if(a===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var b=[s,l,u,f,h,p],y=0;g=new Error(a.replace(/%s/g,function(){return b[y++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}};return rp=t,rp}var PD=kD();const bS=Dc(PD);var ip,vS;function MD(){return vS||(vS=1,ip=function(r,a,s,l){var u=s?s.call(l,r,a):void 0;if(u!==void 0)return!!u;if(r===a)return!0;if(typeof r!="object"||!r||typeof a!="object"||!a)return!1;var f=Object.keys(r),h=Object.keys(a);if(f.length!==h.length)return!1;for(var p=Object.prototype.hasOwnProperty.bind(a),g=0;g<f.length;g++){var b=f[g];if(!p(b))return!1;var y=r[b],S=a[b];if(u=s?s.call(l,y,S,b):void 0,u===!1||u===void 0&&y!==S)return!1}return!0}),ip}var DD=MD();const OD=Dc(DD);var rA=(t=>(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(rA||{}),ap={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},SS=Object.values(rA),Yc={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},iA=Object.entries(Yc).reduce((t,[r,a])=>(t[a]=r,t),{}),lr="data-rh",Do={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Oo=(t,r)=>{for(let a=t.length-1;a>=0;a-=1){const s=t[a];if(Object.prototype.hasOwnProperty.call(s,r))return s[r]}return null},RD=t=>{let r=Oo(t,"title");const a=Oo(t,Do.TITLE_TEMPLATE);if(Array.isArray(r)&&(r=r.join("")),a&&r)return a.replace(/%s/g,()=>r);const s=Oo(t,Do.DEFAULT_TITLE);return r||s||void 0},ND=t=>Oo(t,Do.ON_CHANGE_CLIENT_STATE)||(()=>{}),op=(t,r)=>r.filter(a=>typeof a[t]<"u").map(a=>a[t]).reduce((a,s)=>({...a,...s}),{}),LD=(t,r)=>r.filter(a=>typeof a.base<"u").map(a=>a.base).reverse().reduce((a,s)=>{if(!a.length){const l=Object.keys(s);for(let u=0;u<l.length;u+=1){const h=l[u].toLowerCase();if(t.indexOf(h)!==-1&&s[h])return a.concat(s)}}return a},[]),ID=t=>console&&typeof console.warn=="function"&&console.warn(t),Vs=(t,r,a)=>{const s={};return a.filter(l=>Array.isArray(l[t])?!0:(typeof l[t]<"u"&&ID(`Helmet: ${t} should be of type "Array". Instead found type "${typeof l[t]}"`),!1)).map(l=>l[t]).reverse().reduce((l,u)=>{const f={};u.filter(p=>{let g;const b=Object.keys(p);for(let S=0;S<b.length;S+=1){const _=b[S],k=_.toLowerCase();r.indexOf(k)!==-1&&!(g==="rel"&&p[g].toLowerCase()==="canonical")&&!(k==="rel"&&p[k].toLowerCase()==="stylesheet")&&(g=k),r.indexOf(_)!==-1&&(_==="innerHTML"||_==="cssText"||_==="itemprop")&&(g=_)}if(!g||!p[g])return!1;const y=p[g].toLowerCase();return s[g]||(s[g]={}),f[g]||(f[g]={}),s[g][y]?!1:(f[g][y]=!0,!0)}
25).reverse().forEach(p=>l.push(p));const h=Object.keys(f);for(let p=0;p<h.length;p+=1){const g=h[p],b={...s[g],...f[g]};s[g]=b}return l},[]).reverse()},zD=(t,r)=>{if(Array.isArray(t)&&t.length){for(let a=0;a<t.length;a+=1)if(t[a][r])return!0}return!1},UD=t=>({baseTag:LD(["href"],t),bodyAttributes:op("bodyAttributes",t),defer:Oo(t,Do.DEFER),encode:Oo(t,Do.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:op("htmlAttributes",t),linkTags:Vs("link",["rel","href"],t),metaTags:Vs("meta",["name","charset","http-equiv","property","itemprop"],t),noscriptTags:Vs("noscript",["innerHTML"],t),onChangeClientState:ND(t),scriptTags:Vs("script",["src","innerHTML"],t),styleTags:Vs("style",["cssText"],t),title:RD(t),titleAttributes:op("titleAttributes",t),prioritizeSeoTags:zD(t,Do.PRIORITIZE_SEO_TAGS)}),aA=t=>Array.isArray(t)?t.join(""):t,BD=(t,r)=>{const a=Object.keys(t);for(let s=0;s<a.length;s+=1)if(r[a[s]]&&r[a[s]].includes(t[a[s]]))return!0;return!1},sp=(t,r)=>Array.isArray(t)?t.reduce((a,s)=>(BD(s,r)?a.priority.push(s):a.default.push(s),a),{priority:[],default:[]}):{default:t,priority:[]},_S=(t,r)=>({...t,[r]:void 0}),jD=["noscript","script","style"],Ip=(t,r=!0)=>r===!1?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),oA=t=>Object.keys(t).reduce((r,a)=>{const s=typeof t[a]<"u"?`${a}="${t[a]}"`:`${a}`;return r?`${r} ${s}`:s},""),HD=(t,r,a,s)=>{const l=oA(a),u=aA(r);return l?`<${t} ${lr}="true" ${l}>${Ip(u,s)}</${t}>`:`<${t} ${lr}="true">${Ip(u,s)}</${t}>`},FD=(t,r,a=!0)=>r.reduce((s,l)=>{const u=l,f=Object.keys(u).filter(g=>!(g==="innerHTML"||g==="cssText")).reduce((g,b)=>{const y=typeof u[b]>"u"?b:`${b}="${Ip(u[b],a)}"`;return g?`${g} ${y}`:y},""),h=u.innerHTML||u.cssText||"",p=jD.indexOf(t)===-1;return`${s}<${t} ${lr}="true" ${f}${p?"/>":`>${h}</${t}>`}`},""),sA=(t,r={})=>Object.keys(t).reduce((a,s)=>{const l=Yc[s];return a[l||s]=t[s],a},r),GD=(t,r,a)=>{const s={key:r,[lr]:!0},l=sA(a,s);return[L.createElement("title",l,r)]},hc=(t,r)=>r.map((a,s)=>{const l={key:s,[lr]:!0};return Object.keys(a).forEach(u=>{const h=Yc[u]||u;if(h==="innerHTML"||h==="cssText"){const p=a.innerHTML||a.cssText;l.dangerouslySetInnerHTML={__html:p}}else l[h]=a[u]}),L.createElement(t,l)}),Vn=(t,r,a=!0)=>{switch(t){case"title":return{toComponent:()=>GD(t,r.title,r.titleAttributes),toString:()=>HD(t,r.title,r.titleAttributes,a)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>sA(r),toString:()=>oA(r)};default:return{toComponent:()=>hc(t,r),toString:()=>FD(t,r,a)}}},VD=({metaTags:t,linkTags:r,scriptTags:a,encode:s})=>{const l=sp(t,ap.meta),u=sp(r,ap.link),f=sp(a,ap.script);return{priorityMethods:{toComponent:()=>[...hc("meta",l.priority),...hc("link",u.priority),...hc("script",f.priority)],toString:()=>`${Vn("meta",l.priority,s)} ${Vn("link",u.priority,s)} ${Vn("script",f.priority,s)}`},metaTags:l.default,linkTags:u.default,scriptTags:f.default}},qD=t=>{const{baseTag:r,bodyAttributes:a,encode:s=!0,htmlAttributes:l,noscriptTags:u,styleTags:f,title:h="",titleAttributes:p,prioritizeSeoTags:g}=t;let{linkTags:b,metaTags:y,scriptTags:S}=t,_={toComponent:()=>[],toString:()=>""};return g&&({priorityMethods:_,linkTags:b,metaTags:y,scriptTags:S}=VD(t)),{priority:_,base:Vn("base",r,s),bodyAttributes:Vn("bodyAttributes",a,s),htmlAttributes:Vn("htmlAttributes",l,s),link:Vn("link",b,s),meta:Vn("meta",y,s),noscript:Vn("noscript",u,s),script:Vn("script",S,s),style:Vn("style",f,s),title:Vn("title",{title:h,titleAttributes:p},s)}},zp=qD,nc=[],xm=!!(typeof window<"u"&&window.document&&window.document.createElement),Up=class{instances=[];canUseDOM=xm;context;value={setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?nc:this.instances,add:t=>{(this.canUseDOM?nc:this.instances).push(t)},remove:t=>{const r=(this.canUseDOM?nc:this.instances).indexOf(t);(this.canUseDOM?nc:this.instances).splice(r,1)}}};constructor(t,r){this.context=t,this.canUseDOM=r||!1,r||(t.helmet=zp({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},KD=parseInt(L.version.split(".")[0],10),Bp=KD>=19,YD={},lA=L.createContext(YD),uA=class cA extends w.Component{static canUseDOM=xm;helmetData;constructor(r){super(r),Bp?this.helmetData=null:this.helmetData=new Up(this.props.context||{},cA.canUseDOM)}render(){return Bp?L.createElement(L.Fragment,null,this.props.children):L.createElement(lA.Provider,{value:this.helmetData.value},this.props.children)}},Ao=(t,r)=>{const a=document.head||document.querySelector("head"),s=a.querySelectorAll(`${t}[${lr}]`),l=[].slice.call(s),u=[];let f;return r&&r.length&&r.forEach(h=>{const p=document.createElement(t);for(const g in h)if(Object.prototype.hasOwnProperty.call(h,g))if(g==="innerHTML")p.innerHTML=h.innerHTML;else if(g==="cssText"){const b=h.cssText;p.appendChild(document.createTextNode(b))}else{const b=g,y=typeof h[b]>"u"?"":h[b];p.setAttribute(g,y)}p.setAttribute(lr,"true"),l.some((g,b)=>(f=b,p.isEqualNode(g)))?l.splice(f,1):u.push(p)}),l.forEach(h=>h.parentNode?.removeChild(h)),u.forEach(h=>a.appendChild(h)),{oldTags:l,newTags:u}},jp=(t,r)=>{const a=document.getElementsByTagName(t)[0];if(!a)return;const s=a.getAttribute(lr),l=s?s.split(","):[],u=[...l],f=Object.keys(r);for(const h of f){const p=r[h]||"";a.getAttribute(h)!==p&&a.setAttribute(h,p),l.indexOf(h)===-1&&l.push(h);const g=u.indexOf(h);g!==-1&&u.splice(g,1)}for(let h=u.length-1;h>=0;h-=1)a.removeAttribute(u[h]);l.length===u.length?a.removeAttribute(lr):a.getAttribute(lr)!==f.join(",")&&a.setAttribute(lr,f.join(","))},WD=(t,r)=>{typeof t<"u"&&document.title!==t&&(document.title=aA(t)),jp("title",r)},ES=(t,r)=>{const{baseTag:a,bodyAttributes:s,htmlAttributes:l,linkTags:u,metaTags:f,noscriptTags:h,onChangeClientState:p,scriptTags:g,styleTags:b,title:y,titleAttributes:S}=t;jp("body",s),jp("html",l),WD(y,S);const _={baseTag:Ao("base",a),linkTags:Ao("link",u),metaTags:Ao("meta",f),noscriptTags:Ao("noscript",h),scriptTags:Ao("script",g),styleTags:Ao("style",b)},k={},U={};Object.keys(_).forEach(B=>{const{newTags:q,oldTags:K}=_[B];q.length&&(k[B]=q),K.length&&(U[B]=_[B].oldTags)}),r&&r(),p(t,k,U)},qs=null,$D=t=>{qs&&cancelAnimationFrame(qs),t.defer?qs=requestAnimationFrame(()=>{ES(t,()=>{qs=null})}):(ES(t),qs=null)},QD=$D,AS=class extends w.Component{rendered=!1;shouldComponentUpdate(t){return!OD(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:r}=this.props.context;let a=null;const s=UD(t.get().map(l=>{const{context:u,...f}=l.props;return f}));uA.canUseDOM?QD(s):zp&&(a=zp(s)),r(a)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},pc=[],TS=t=>{const r={};for(const a of Object.keys(t))r[iA[a]||a]=t[a];return r},ga=t=>{const r={};for(const a of Object.keys(t)){const s=Yc[a];r[s||a]=t[a]}return r},wS=(t,r)=>{if(!xm)return;const a=document.getElementsByTagName(t)[0];if(!a)return;const s="data-rh-managed",l=a.getAttribute(s),u=l?l.split(","):[],f=Object.keys(r);for(const h of u)f.includes(h)||a.removeAttribute(h);for(const h of f){const p=r[h];p==null||p===!1?a.removeAttribute(h):p===!0?a.setAttribute(h,""):a.setAttribute(h,String(p))}f.length>0?a.setAttribute(s,f.join(",")):a.removeAttribute(s)},lp=()=>{const t={},r={};for(const a of pc){const{htmlAttributes:s,bodyAttributes:l}=a.props;s&&Object.assign(t,TS(s)),l&&Object.assign(r,TS(l))}wS("html",t),wS("body",r)},XD=class extends w.Component{componentDidMount(){pc.push(this),lp()}componentDidUpdate(){lp()}componentWillUnmount(){const t=pc.indexOf(this);t!==-1&&pc.splice(t,1),lp()}resolveTitle(){const{title:t,titleTemplate:r,defaultTitle:a}=this.props;return t&&r?r.replace(/%s/g,()=>Array.isArray(t)?t.join(""):t):t||a||void 0}renderTitle(){const t=this.resolveTitle();if(t===void 0)return null;const r=this.props.titleAttributes||{};return L.createElement("title",ga(r),t)}renderBase(){const{base:t}=this.props;return t?L.createElement("base",ga(t)):null}renderMeta(){const{meta:t}=this.props;return!t||!Array.isArray(t)?null:t.map((r,a)=>L.createElement("meta",{key:a,...ga(r)}))}renderLink(){const{link:t}=this.props;return!t||!Array.isArray(t)?null:t.map((r,a)=>L.createElement("link",{key:a,...ga(r)}))}renderScript(){const{script:t}=this.props;return!t||!Array.isArray(t)?null:t.map((r,a)=>{const{innerHTML:s,...l}=r,u=ga(l);return s&&(u.dangerouslySetInnerHTML={__html:s}),L.createElement("script",{key:a,...u})})}renderStyle(){const{style:t}=this.props;return!t||!Array.isArray(t)?null:t.map((r,a)=>{const{cssText:s,...l}=r,u=ga(l);return s&&(u.dangerouslySetInnerHTML={__html:s}),L.createElement("style",{key:a,...u})})}renderNoscript(){const{noscript:t}=this.props;return!t||!Array.isArray(t)?null:t.map((r,a)=>{const{innerHTML:s,...l}=r,u=ga(l);return s&&(u.dangerouslySetInnerHTML={__html:s}),L.createElement("noscript",{key:a,...u})})}render(){return L.createElement(L.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},dA=class extends w.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(t){return!xD(_S(this.props,"helmetData"),_S(t,"helmetData"))}mapNestedChildrenToProps(t,r){if(!r)return null;switch(t.type){case"script":case"noscript":return{innerHTML:r};case"style":return{cssText:r};default:throw new Error(`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(t,r,a,s){return{...r,[t.type]:[...r[t.type]||[],{...a,...this.mapNestedChildrenToProps(t,s)}]}}mapObjectTypeChildren(t,r,a,s){switch(t.type){case"title":return{...r,[t.type]:s,titleAttributes:{...a}};case"body":return{...r,bodyAttributes:{...a}};case"html":return{...r,htmlAttributes:{...a}};default:return{...r,[t.type]:{...a}}}}mapArrayTypeChildrenToProps(t,r){let a={...r};return Object.keys(t).forEach(s=>{a={...a,[s]:t[s]}}),a}
25warnOnInvalidChildren(t,r){return bS(SS.some(a=>t.type===a),typeof t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${SS.join(", ")} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`),bS(!r||typeof r=="string"||Array.isArray(r)&&!r.some(a=>typeof a!="string"),`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`}</${t.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(t,r){let a={};return L.Children.forEach(t,s=>{if(!s||!s.props)return;const{children:l,...u}=s.props,f=Object.keys(u).reduce((p,g)=>(p[iA[g]||g]=u[g],p),{});let{type:h}=s;switch(typeof h=="symbol"?h=h.toString():this.warnOnInvalidChildren(s,l),h){case"Symbol(react.fragment)":r=this.mapChildrenToProps(l,r);break;case"link":case"meta":case"noscript":case"script":case"style":a=this.flattenArrayTypeChildren(s,a,f,l);break;default:r=this.mapObjectTypeChildren(s,r,f,l);break}}),this.mapArrayTypeChildrenToProps(a,r)}render(){const{children:t,...r}=this.props;let a={...r},{helmetData:s}=r;if(t&&(a=this.mapChildrenToProps(t,a)),s&&!(s instanceof Up)){const l=s;s=new Up(l.context,!0),delete a.helmetData}return Bp?L.createElement(XD,{...a}):s?L.createElement(AS,{...a,context:s.value}):L.createElement(lA.Consumer,null,l=>L.createElement(AS,{...a,context:l}))}},Ac={},ZD=()=>{window.va||(window.va=function(...r){window.vaq||(window.vaq=[]),window.vaq.push(r)})},JD="@vercel/analytics",eO="2.0.1";function fA(){return typeof window<"u"}function hA(){try{const t="production"}catch{}return"production"}function tO(t="auto"){if(t==="auto"){window.vam=hA();return}window.vam=t}function nO(){return(fA()?window.vam:hA())||"production"}function km(){return nO()==="development"}function rO(t){return t.scriptSrc?ko(t.scriptSrc):km()?"https://va.vercel-scripts.com/v1/script.debug.js":t.basePath?ko(`${t.basePath}/insights/script.js`):"/_vercel/insights/script.js"}function iO(t,r){var a;let s=t;if(r)try{s={...(a=JSON.parse(r))==null?void 0:a.analytics,...t}}catch{}tO(s.mode);const l={sdkn:JD+(s.framework?`/${s.framework}`:""),sdkv:eO};return s.disableAutoTrack&&(l.disableAutoTrack="1"),s.viewEndpoint&&(l.viewEndpoint=ko(s.viewEndpoint)),s.eventEndpoint&&(l.eventEndpoint=ko(s.eventEndpoint)),s.sessionEndpoint&&(l.sessionEndpoint=ko(s.sessionEndpoint)),km()&&s.debug===!1&&(l.debug="false"),s.dsn&&(l.dsn=s.dsn),s.endpoint?l.endpoint=s.endpoint:s.basePath&&(l.endpoint=ko(`${s.basePath}/insights`)),{beforeSend:s.beforeSend,src:rO(s),dataset:l}}function ko(t){return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("/")?t:`/${t}`}function aO(t={debug:!0},r){var a;if(!fA())return;const{beforeSend:s,src:l,dataset:u}=iO(t,r);if(ZD(),s&&((a=window.va)==null||a.call(window,"beforeSend",s)),document.head.querySelector(`script[src*="${l}"]`))return;const f=document.createElement("script");f.src=l;for(const[h,p]of Object.entries(u))f.dataset[h]=p;f.defer=!0,f.onerror=()=>{const h=km()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${l}. ${h}`)},document.head.appendChild(f)}function oO({route:t,path:r}){var a;(a=window.va)==null||a.call(window,"pageview",{route:t,path:r})}function sO(){if(!(typeof process>"u"||typeof Ac>"u"))return Ac.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function lO(){if(!(typeof process>"u"||typeof Ac>"u"))return Ac.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}function uO(t){return w.useEffect(()=>{var r;t.beforeSend&&((r=window.va)==null||r.call(window,"beforeSend",t.beforeSend))},[t.beforeSend]),w.useEffect(()=>{aO({framework:t.framework||"react",basePath:t.basePath??sO(),...t.route!==void 0&&{disableAutoTrack:!0},...t},t.configString??lO())},[]),w.useEffect(()=>{t.route&&t.path&&oO({route:t.route,path:t.path})},[t.route,t.path]),null}var Tc={},cO=()=>{window.si||(window.si=function(...r){window.siq=window.siq||[],window.siq.push(r)})},dO="@vercel/speed-insights",fO="2.0.0";function hO(){return typeof window<"u"}function pO(){try{const t="production"}catch{}return"production"}function pA(){return pO()==="development"}function mO(t){return t.scriptSrc?wc(t.scriptSrc):pA()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":t.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.
25js":t.basePath?wc(`${t.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js"}function gO(t,r){var a;let s=t;if(r)try{s={...(a=JSON.parse(r))==null?void 0:a.speedInsights,...t}}catch{}const l={sdkn:dO+(s.framework?`/${s.framework}`:""),sdkv:fO};return s.sampleRate&&(l.sampleRate=s.sampleRate.toString()),s.route&&(l.route=s.route),pA()&&s.debug===!1&&(l.debug="false"),s.dsn&&(l.dsn=s.dsn),s.endpoint?l.endpoint=wc(s.endpoint):s.basePath&&(l.endpoint=wc(`${s.basePath}/speed-insights/vitals`)),{src:mO(s),beforeSend:s.beforeSend,dataset:l}}function wc(t){return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("/")?t:`/${t}`}function yO(t={},r){var a;if(!hO()||t.route===null)return null;cO();const{beforeSend:s,src:l,dataset:u}=gO(t,r);if(document.head.querySelector(`script[src*="${l}"]`))return null;s&&((a=window.si)==null||a.call(window,"beforeSend",s));const f=document.createElement("script");f.src=l,f.defer=!0;for(const[h,p]of Object.entries(u))f.dataset[h]=p;return f.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${l}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(f),{setRoute:h=>{f.dataset.route=h??void 0}}}function bO(){if(!(typeof process>"u"||typeof Tc>"u"))return Tc.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function vO(){if(!(typeof process>"u"||typeof Tc>"u"))return Tc.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}function SO(t){w.useEffect(()=>{var a;t.beforeSend&&((a=window.si)==null||a.call(window,"beforeSend",t.beforeSend))},[t.beforeSend]);const r=w.useRef(null);return w.useEffect(()=>{if(!r.current){const a=yO({framework:t.framework??"react",basePath:t.basePath??bO(),...t},t.configString??vO());a&&(r.current=a.setRoute)}},[t]),w.useEffect(()=>{r.current&&t.route&&r.current(t.route)},[t.route]),null}function mA(t){return new Promise((r,a)=>{if(document.querySelector(`script[src="${t}"]`)){r();return}let s=document.createElement("script");s.src=t,s.async=!0,s.onload=()=>r(),s.onerror=l=>{console.error("Error loading script",l),a(l)},document.head.appendChild(s)})}var _O="/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/a-4-a/c.js",EO=class Hp{#e;#t;#n=0;constructor(){let{promise:r,resolve:a}=Hp.#a();this.#e=r,this.#t=a,this.#i(),window.addEventListener("online",this.#r),window.addEventListener("visibilitychange",this.#r)}getChallenge=async()=>(await this.#o(),await this.#e.then(r=>typeof r=="function"?r():r));#r=()=>{if(document.hidden)return;let{promise:r,resolve:a}=Hp.#a();this.#e=r,this.#t=a,window.V_C=[],window.V_C.push=a;let s=document.querySelector('script[src*="c.js"]');s&&s.remove(),this.#n+=1};#i=()=>{if(window.V_C){let r=window.V_C.pop();r&&this.#t(r)}else window.V_C=[],window.V_C.push=this.#t};#o=()=>{let r=new URL(_O,window.location.origin);return r.searchParams.set("i",String(this.#n)),r.searchParams.set("v",String(3)),r.searchParams.set("h",window.location.host),mA(r.pathname+r.search)};#s=()=>{window.V_C=void 0};static#a(){let r,a;return{promise:new Promise((s,l)=>{r=s,a=l}),resolve:r,reject:a}}},AO="/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3",TO=class gA{#e=!1;#t;constructor(r){this.#t=r}get loaded(){return this.#e}load=async()=>{this.#e||await this.#r()};#n=()=>{if(typeof globalThis.window>"u")throw new Error("KPSDK is not available in the server");if(!window.KPSDK)throw new Error("KPSDK is not loaded");let r=this.#t.map(a=>{let s=gA.#i(a.path);return{domain:s.host,path:s.pathname,method:a.method}});try{window.KPSDK.configure(r)}catch(a){console.error("Error configuring KPSDK...",a)}};#r=async()=>{let r=`${AO}/p.js`,a=this;return new Promise((s,l)=>{let u=()=>{document.removeEventListener("kpsdk-load",u),this.#n()},f=()=>{document.removeEventListener("kpsdk-ready",f),a.#e=!0,s()};document.addEventListener("kpsdk-load",u,{once:!0}),document.addEventListener("kpsdk-ready",f,{once:!0}),mA(r).catch(h=>{document.removeEventListener("kpsdk-load",u),document.removeEventListener("kpsdk-ready",f),l(h)})})};static#i(r){let a;try{a=new URL(r)}catch{a=new URL(r,location.origin)}return a}},yA=t=>{let r=t.replace(/[.?+^$[\]\\(){}|-]/g,"\\$&").split("*").join(".*");return new RegExp(`^${r}$`)},bA=({path:t,pattern:r})=>t.search(r)!==-1;function wO(t,r,a){let s=window.fetch;window.fetch=async(l,u)=>{let f=new URL(l instanceof Request?l.url:l,location.href),h=f.origin===location.origin,p=u?.method??(l instanceof Request?l.method:"GET"),g=a.find(_=>{let k=bA({path:f.pathname,pattern:yA(_.path)}),U=_.method.toLowerCase()===p.toLowerCase()||_.method==="*";return k&&U});if(g==null||!h)return s(l,u);
25let b=await t.getChallenge(),y=new Headers(u?.headers||(l instanceof Request?l.headers:void 0));y.set("x-is-human",JSON.stringify(b)),y.set("x-path",f.pathname),y.set("x-method",p);let S={...u,headers:y};return r.loaded||b.b!==0?s(l,S):b.d===1||g?.advancedOptions?.checkLevel==="deepAnalysis"?(await r.load(),window.fetch(l,S)):s(l,S)}}async function CO(t,r,a){let s=XMLHttpRequest.prototype.open,l=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.open=function(u,f,h,p,g){return this._requestUrl=f.toString(),this._requestMethod=u,s.call(this,u,f,h??!0,p,g)},XMLHttpRequest.prototype.send=async function(u){let f=this._requestUrl;if(!f)return l.call(this,u);if(this._isReexecution)return l.call(this,u);let h=new URL(f,location.href),p=h.origin===location.origin,g=this._requestMethod??"GET",b=a.find(_=>{let k=bA({path:h.pathname,pattern:yA(_.path)}),U=_.method.toLowerCase()===g.toLowerCase()||_.method==="*";return k&&U});if(!b||!p)return l.call(this,u);let y=await t.getChallenge();if(this.setRequestHeader("x-is-human",JSON.stringify(y)),this.setRequestHeader("x-path",h.pathname),this.setRequestHeader("x-method",g),y.b!==0)return l.call(this,u);if(r.loaded)return l.call(this,u);if((y.d===1||b?.advancedOptions?.checkLevel==="deepAnalysis")&&await r.load(),!r.loaded)return l.call(this,u);this.setRequestHeader("x-is-human",JSON.stringify(y)),this.setRequestHeader("x-path",h.pathname),this.setRequestHeader("x-method",g);let S=new XMLHttpRequest;return S._isReexecution=!0,S.open(g,f,!0),S.setRequestHeader("x-is-human",JSON.stringify(y)),S.setRequestHeader("x-path",h.pathname),S.setRequestHeader("x-method",g),this.timeout&&(S.timeout=this.timeout),this.responseType&&(S.responseType=this.responseType),this.withCredentials&&(S.withCredentials=this.withCredentials),S.onreadystatechange=()=>{Object.defineProperty(this,"readyState",{value:S.readyState,writable:!0,configurable:!0}),S.readyState===XMLHttpRequest.DONE&&(Object.defineProperty(this,"status",{value:S.status,writable:!0,configurable:!0}),Object.defineProperty(this,"statusText",{value:S.statusText,writable:!0,configurable:!0}),Object.defineProperty(this,"response",{value:S.response,writable:!0,configurable:!0}),Object.defineProperty(this,"responseText",{value:S.responseText,writable:!0,configurable:!0}),Object.defineProperty(this,"responseXML",{value:S.responseXML,writable:!0,configurable:!0}),this.getAllResponseHeaders=()=>S.getAllResponseHeaders(),this.getResponseHeader=_=>S.getResponseHeader(_)),this.onreadystatechange&&this.onreadystatechange.call(this,new Event("readystatechange"))},S.onload=_=>{this.onload&&this.onload.call(this,_)},S.onerror=_=>{this.onerror&&this.onerror.call(this,_)},S.onabort=_=>{this.onabort&&this.onabort.call(this,_)},S.ontimeout=_=>{this.ontimeout&&this.ontimeout.call(this,_)},S.onloadstart=_=>{this.onloadstart&&this.onloadstart.call(this,_)},S.onloadend=_=>{this.onloadend&&this.onloadend.call(this,_)},S.onprogress=_=>{this.onprogress&&this.onprogress.call(this,_)},S.send(u)}}function xO({protect:t=[]}
25){for(let s of t)if(s.advancedOptions?.checkLevel!==void 0&&s.advancedOptions.checkLevel!=="deepAnalysis"&&s.advancedOptions.checkLevel!=="basic")throw new Error(`Invalid checkLevel "${s.advancedOptions.checkLevel}" for route "${s.path}". Must be one of: deepAnalysis, basic`);let r=new EO,a=new TO(t);CO(r,a,t).catch(s=>{console.error("Error patching XMLHttpRequest:",s)}),wO(r,a,t)}const ke=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ve=globalThis,_a="10.74.0";function Wc(){return $c(Ve),Ve}function $c(t){const r=t.__SENTRY__=t.__SENTRY__||{};return r.version=r.version||_a,r[_a]=r[_a]||{}}function jo(t,r,a=Ve){const s=a.__SENTRY__=a.__SENTRY__||{},l=s[_a]=s[_a]||{};return l[t]||(l[t]=r())}const kO=["debug","info","warn","error","log","assert","trace"],PO="Sentry Logger ",Cc={};function Ho(t){if(!("console"in Ve))return t();const r=Ve.console,a={},s=Object.keys(Cc);s.forEach(l=>{const u=Cc[l];a[l]=r[l],r[l]=u});try{return t()}finally{s.forEach(l=>{r[l]=a[l]})}}function MO(){Mm().enabled=!0}function DO(){Mm().enabled=!1}function vA(){return Mm().enabled}function OO(...t){Pm("log",...t)}function RO(...t){Pm("warn",...t)}function NO(...t){Pm("error",...t)}function Pm(t,...r){ke&&vA()&&Ho(()=>{Ve.console[t](`${PO}[${t}]:`,...r)})}function Mm(){return ke?jo("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const ve={enable:MO,disable:DO,isEnabled:vA,log:OO,warn:RO,error:NO},SA=50,Ta="?",CS=/\(error: (.*)\)/,xS=/captureMessage|captureException/;function _A(...t){const r=t.sort((a,s)=>a[0]-s[0]).map(a=>a[1]);return(a,s=0,l=0)=>{const u=[],f=a.split(` 26`);for(let h=s;h<f.length;h++){let p=f[h];p.length>1024&&(p=p.slice(0,1024));const g=CS.test(p)?p.replace(CS,"$1"):p;if(!g.includes("Error: ")){for(const b of r){const y=b(g);if(y){u.push(y);break}}if(u.length>=SA+l)break}}return IO(u.slice(l))}}function LO(t){return Array.isArray(t)?_A(...t):t}function IO(t){if(!t.length)return[];const r=Array.from(t);return/sentryWrapped/.test(rc(r).function||"")&&r.pop(),r.reverse(),xS.test(rc(r).function||"")&&(r.pop(),xS.test(rc(r).function||"")&&r.pop()),r.slice(0,SA).map(a=>({...a,filename:a.filename||rc(r).filename,function:a.function||Ta}))}function rc(t){return t[t.length-1]||{}}const up="<anonymous>";function Vi(t){try{return!t||typeof t!="function"?up:t.name||up}catch{return up}}function kS(t){const r=t.exception;if(r){const a=[];try{return r.values.forEach(s=>{s.stacktrace.frames&&a.push(...s.stacktrace.frames)}),a}catch{return}}}const $s={},PS={};function xa(t,r){return $s[t]=$s[t]||[],$s[t].push(r),()=>{const a=$s[t];if(a){const s=a.indexOf(r);s!==-1&&a.splice(s,1)}}}function ka(t,r){if(!PS[t]){PS[t]=!0;try{r()}catch(a){ke&&ve.error(`Error while instrumenting ${t}`,a)}}}function cr(t,r){const a=t&&$s[t];if(a)for(const s of a)try{s(r)}catch(l){ke&&ve.error(`Error while triggering instrumentation handler. 27Type: ${t} 28Name: ${Vi(s)} 29Error:`,l)}}let cp=null;function zO(t){const r="error";xa(r,t),ka(r,UO)}function UO(){cp=Ve.onerror,Ve.onerror=function(t,r,a,s,l){return cr("error",{column:s,error:l,line:a,msg:t,url:r}),cp?cp.apply(this,arguments):!1},Ve.onerror.__SENTRY_INSTRUMENTED__=!0}let dp=null;function BO(t){const r="unhandledrejection";xa(r,t),ka(r,jO)}function jO(){dp=Ve.onunhandledrejection,Ve.onunhandledrejection=function(t){return cr("unhandledrejection",t),dp?dp.apply(this,arguments):!0},Ve.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const EA=Object.prototype.toString;function Dr(t){switch(EA.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Om(t,Error)}}function Fo(t,r){return EA.call(t)===`[object ${r}]`}function AA(t){return Fo(t,"ErrorEvent")}function MS(t){return Fo(t,"DOMError")}function HO(t){return Fo(t,"DOMException")}function ti(t){return Fo(t,"String")}function Dm(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function gl(t){return t===null||Dm(t)||typeof t!="object"&&typeof t!="function"}function sl(t){return Fo(t,"Object")}function Qc(t){return typeof t=="object"&&t!==null}function Xc(t){return typeof Event<"u"&&Om(t,Event)}function FO(t){return Fo(t,"RegExp")}function yl(t){return!!(t?.then&&typeof t.then=="function")}
29function Om(t,r){try{return t instanceof r}catch{return!1}}function TA(t){return typeof Request<"u"&&Om(t,Request)}function On(t,r,a){if(!(r in t))return;const s=t[r];if(typeof s!="function")return;const l=a(s);typeof l=="function"&&wA(l,s);try{t[r]=l}catch{ke&&ve.log(`Failed to replace method "${r}" in object`,t)}}function qi(t,r,a){try{Object.defineProperty(t,r,{value:a,writable:!0,configurable:!0})}catch{ke&&ve.log(`Failed to add non-enumerable property "${String(r)}" to object`,t)}}function wA(t,r){try{const a=r.prototype||{};t.prototype=r.prototype=a,qi(t,"__sentry_original__",r)}catch{}}function Rm(t){return t.__sentry_original__}function CA(t){if(Dr(t))return{message:t.message,name:t.name,stack:t.stack,...DS(t)};if(Xc(t)){const{type:r,target:a,currentTarget:s,detail:l}=t;return{type:r,target:a,currentTarget:s,...l?{detail:l}:{},...DS(t)}}return t}function DS(t){return Qc(t)?Object.fromEntries(Object.entries(t)):{}}function GO(t){const r=Object.keys(CA(t));return r.sort(),r[0]?r.join(", "):"[object has no keys]"}let To;function Zc(t){if(To!==void 0)return To?To(t):t();const r=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),a=Ve;return r in a&&typeof a[r]=="function"?(To=a[r],To(t)):(To=null,t())}function xc(){return Zc(()=>Math.random())}function Go(){return Zc(()=>Date.now())}const VO=Symbol.for("sentry.skipNormalization"),qO=Symbol.for("sentry.overrideNormalizationDepth");function KO(t){return!!t[VO]}function YO(t){const r=t[qO];return typeof r=="number"?r:void 0}let Fp;function xA(t){Fp=t}function ei(t,r=100,a=1/0){try{return Gp("",t,r,a)}catch(s){return{ERROR:`**non-serializable** (${s})`}}}function kA(t,r=3,a=100*1024){const s=ei(t,r);return QO(s)>a?kA(t,r-1,a):s}function Gp(t,r,a=1/0,s=1/0,l=XO()){const[u,f]=l;if(r==null||["boolean","string"].includes(typeof r)||typeof r=="number"&&Number.isFinite(r))return r;const h=PA(t,r);if(!h.startsWith("[object "))return h;if(KO(r))return r;const p=YO(r),g=p!==void 0?p:a;if(g===0)return h.replace("object ","");if(u(r))return"[Circular ~]";const b=r;if(b&&typeof b.toJSON=="function")try{const k=b.toJSON();return Gp("",k,g-1,s,l)}catch{}const y=Array.isArray(r)?[]:{};let S=0;const _=CA(r);
29for(const k in _){if(!Object.prototype.hasOwnProperty.call(_,k))continue;if(S>=s){y[k]="[MaxProperties ~]";break}const U=_[k];y[k]=Gp(k,U,g-1,s,l),S++}return f(r),y}function PA(t,r){try{if(Fp){const s=Fp(r);if(s)return s}return typeof global<"u"&&r===global?"[Global]":typeof r=="number"&&!Number.isFinite(r)?`[${r}]`:typeof r=="function"?`[Function: ${Vi(r)}]`:typeof r=="symbol"?`[${String(r)}]`:typeof r=="bigint"?`[BigInt: ${String(r)}]`:`[object ${WO(r)}]`}catch(a){return`**non-serializable** (${a})`}}function WO(t){const r=Object.getPrototypeOf(t);return r?.constructor?r.constructor.name:"null prototype"}function $O(t){return~-encodeURI(t).split(/%..|./).length}function QO(t){return $O(JSON.stringify(t))}function XO(){const t=new WeakSet;function r(s){return t.has(s)?!0:(t.add(s),!1)}function a(s){t.delete(s)}return[r,a]}function Vp(t,r=0){return typeof t!="string"||r===0||t.length<=r?t:`${t.slice(0,r)}...`}function OS(t,r){if(!Array.isArray(t))return"";const a=[];for(let s=0;s<t.length;s++){const l=t[s];gl(l)?a.push(String(l)):l instanceof Error?a.push(l.message?`${l.name}: ${l.message}`:l.name):a.push(PA(void 0,l))}return a.join(r)}function rl(t,r,a=!1){return ti(t)?FO(r)?r.test(t):ti(r)?a?t===r:t.includes(r):typeof r=="function"?r(t):!1:!1}function bl(t,r=[],a=!1){for(const s of r)if(rl(t,s,a))return!0;return!1}function ZO(){const t=Ve;return t.crypto||t.msCrypto}let fp;function JO(){return xc()*16}function Yn(t=ZO()){try{if(t?.randomUUID)return Zc(()=>t.randomUUID()).replace(/-/g,"")}catch{}return fp||(fp="10000000100040008000"+1e11),fp.replace(/[018]/g,r=>(r^(JO()&15)>>r/4).toString(16))}function MA(t){return t.exception?.values?.[0]}function va(t){const{message:r,event_id:a}=t;if(r)return r;const s=MA(t);return s?s.type&&s.value?`${s.type}: ${s.value}`:s.type||s.value||a||"<unknown>":a||"<unknown>"}function qp(t,r,a){const s=t.exception=t.exception||{},l=s.values=s.values||[],u=l[0]=l[0]||{};u.value||(u.value=r||""),u.type||(u.type="Error")}function Ea(t,r){const a=MA(t);if(!a)return;const s={type:"generic",handled:!0},l=a.mechanism;if(a.mechanism={...s,...l,...r},r&&"data"in r){const u={...l?.data,...r.data};a.mechanism.data=u}}function RS(t){if(eR(t))return!0;try{qi(t,"__sentry_captured__",!0)}catch{}return!1}function eR(t){try{return t.__sentry_captured__}catch{}}const DA=1e3;function vl(){return Go()/DA}function tR(){const{performance:t}=Ve;if(!t?.now||!t.timeOrigin)return vl;const r=t.timeOrigin;return()=>(r+Zc(()=>t.now()))/DA}let NS;function ni(){return(NS??(NS=tR()))()}function nR(t){const r=ni(),a={sid:Yn(),init:!0,timestamp:r,started:r,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>iR(a)};return t&&No(a,t),a}function No(t,r={}){if(r.user&&(!t.ipAddress&&r.user.ip_address&&(t.ipAddress=r.user.ip_address),!t.did&&!r.did&&(t.did=r.user.id||r.user.email||r.user.username)),t.timestamp=r.timestamp||ni(),r.abnormal_mechanism&&(t.abnormal_mechanism=r.abnormal_mechanism),r.ignoreDuration&&(t.ignoreDuration=r.ignoreDuration),r.sid&&(t.sid=r.sid.length===32?r.sid:Yn()),r.init!==void 0&&(t.init=r.init),!t.did&&r.did&&(t.did=`${r.did}`),typeof r.started=="number"&&(t.started=r.started),t.ignoreDuration)t.duration=void 0;else if(typeof r.duration=="number")t.duration=r.duration;else{const a=t.timestamp-t.started;t.duration=a>=0?a:0}r.release&&(t.release=r.release),r.environment&&(t.environment=r.environment),!t.ipAddress&&r.ipAddress&&(t.ipAddress=r.ipAddress),!t.userAgent&&r.userAgent&&(t.userAgent=r.userAgent),typeof r.errors=="number"&&(t.errors=r.errors),r.status&&(t.status=r.status)}function rR(t,r){let a={};t.status==="ok"&&(a={status:"exited"}),No(t,a)}function iR(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function Sl(t,r,a=2){if(!r||typeof r!="object"||a<=0)return r;if(t&&Object.keys(r).length===0)return t;const s={...t};for(const l in r)Object.prototype.hasOwnProperty.call(r,l)&&(s[l]=Sl(s[l],r[l],a-1));return s}function LS(){return Yn()}function OA(){return Yn().substring(16)}function aR(t){try{const r=Ve.WeakRef;if(typeof r=="function")return new r(t)}catch{}return t}function RA(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}const Kp="_sentrySpan";function IS(t,r){r?qi(t,Kp,aR(r)):delete t[Kp]}function zS(t){return RA(t[Kp])}const oR=100;class Or{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:LS(),sampleRand:xc()}}clone(){const r=new Or;return r._breadcrumbs=[...this._breadcrumbs],r._tags={...this._tags},r._attributes={...this._attributes},r._extra={...this._extra},r._contexts={...this._contexts},this._contexts.flags&&(r._contexts.flags={values:[...this._contexts.flags.values]}),r._user=this._user,r._level=this._level,r._session=this._session,r._transactionName=this._transactionName,r._fingerprint=this._fingerprint,r._eventProcessors=[...this._eventProcessors],r._attachments=[...this._attachments],r._sdkProcessingMetadata={...this._sdkProcessingMetadata}
29,r._propagationContext={...this._propagationContext},r._client=this._client,r._lastEventId=this._lastEventId,r._conversationId=this._conversationId,IS(r,zS(this)),r}setClient(r){this._client=r}setLastEventId(r){this._lastEventId=r}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(r){this._scopeListeners.push(r)}addEventProcessor(r){return this._eventProcessors.push(r),this}setUser(r){return this._user=r||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&No(this._session,{user:r}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(r){return this._conversationId=r||void 0,this._notifyScopeListeners(),this}setTags(r){return this._tags={...this._tags,...r},this._notifyScopeListeners(),this}setTag(r,a){return this.setTags({[r]:a})}setAttributes(r){return this._attributes={...this._attributes,...r},this._notifyScopeListeners(),this}setAttribute(r,a){return this.setAttributes({[r]:a})}removeAttribute(r){return r in this._attributes&&(delete this._attributes[r],this._notifyScopeListeners()),this}setExtras(r){return this._extra={...this._extra,...r},this._notifyScopeListeners(),this}setExtra(r,a){return this._extra={...this._extra,[r]:a},this._notifyScopeListeners(),this}setFingerprint(r){return this._fingerprint=r,this._notifyScopeListeners(),this}setLevel(r){return this._level=r,this._notifyScopeListeners(),this}setTransactionName(r){return this._transactionName=r,this._notifyScopeListeners(),this}setContext(r,a){return a===null?delete this._contexts[r]:this._contexts[r]=a,this._notifyScopeListeners(),this}setSession(r){return r?this._session=r:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(r){if(!r)return this;const a=typeof r=="function"?r(this):r,s=a instanceof Or?a.getScopeData():sl(a)?r:void 0,{tags:l,attributes:u,extra:f,user:h,contexts:p,level:g,fingerprint:b=[],propagationContext:y,conversationId:S}=s||{};return this._tags={...this._tags,...l},this._attributes={...this._attributes,...u},this._extra={...this._extra,...f},this._contexts={...this._contexts,...p},h&&Object.keys(h).length&&(this._user=h),g&&(this._level=g),b.length&&(this._fingerprint=b),y&&(this._propagationContext=y),S&&(this._conversationId=S),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,IS(this,void 0),this._attachments=[],this.setPropagationContext({traceId:LS(),sampleRand:xc()}),this._notifyScopeListeners(),this}addBreadcrumb(r,a){const s=typeof a=="number"?a:oR;if(s<=0)return this;const l={timestamp:vl(),...r,message:r.message?Vp(r.message,2048):r.message};return this._breadcrumbs.push(l),this._breadcrumbs.length>s&&(this._breadcrumbs=this._breadcrumbs.slice(-s),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(r){return this._attachments.push(r),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:zS(this),conversationId:this._conversationId}}setSDKProcessingMetadata(r){return this._sdkProcessingMetadata=Sl(this._sdkProcessingMetadata,r,2),this}setPropagationContext(r){return this._propagationContext=r,this}getPropagationContext(){return this._propagationContext}captureException(r,a){const s=a?.event_id||Yn();if(!this._client)return ke&&ve.warn("No client configured on scope - will not capture exception!"),s;const l=new Error("Sentry syntheticException");return this._client.captureException(r,{originalException:r,syntheticException:l,...a,event_id:s},this),s}captureMessage(r,a,s){const l=s?.event_id||Yn();if(!this._client)return ke&&ve.warn("No client configured on scope - will not capture message!"),l;const u=s?.syntheticException??new Error(r);return this._client.captureMessage(r,a,{originalException:r,syntheticException:u,...s,event_id:l},this),l}captureEvent(r,a){const s=r.event_id||a?.event_id||Yn();return this._client?(this._client.captureEvent(r,{...a,event_id:s}
29,this),s):(ke&&ve.warn("No client configured on scope - will not capture event!"),s)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(r=>{r(this)}),this._notifyingListeners=!1)}}function sR(){return jo("defaultCurrentScope",()=>new Or)}function lR(){return jo("defaultIsolationScope",()=>new Or)}const US=t=>t instanceof Promise&&!t[NA],NA=Symbol("chained PromiseLike"),uR=(t,r,a)=>{const s=t.then(l=>(r(l),l),l=>{throw a(l),l});return US(s)&&US(t)?s:cR(t,s)},cR=(t,r)=>{if(!r)return t;let a=!1;for(const s in t){if(s in r)continue;a=!0;const l=t[s];typeof l=="function"?Object.defineProperty(r,s,{value:(...u)=>l.apply(t,u),enumerable:!0,configurable:!0,writable:!0}):r[s]=l}return a&&Object.assign(r,{[NA]:!0}),r};class dR{constructor(r,a){let s;r?s=r:s=new Or;let l;a?l=a:l=new Or,this._stack=[{scope:s}],this._isolationScope=l}withScope(r){const a=this._pushScope();let s;try{s=r(a)}catch(l){throw this._popScope(),l}return yl(s)?uR(s,()=>this._popScope(),()=>this._popScope()):(this._popScope(),s)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const r=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:r}),r}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Lo(){const t=Wc(),r=$c(t);return r.stack=r.stack||new dR(sR(),lR())}function fR(t){return Lo().withScope(t)}function hR(t,r){const a=Lo();return a.withScope(()=>(a.getStackTop().scope=t,r(t)))}function BS(t){return Lo().withScope(()=>t(Lo().getIsolationScope()))}function pR(){return{withIsolationScope:BS,withScope:fR,withSetScope:hR,withSetIsolationScope:(t,r)=>BS(r),getCurrentScope:()=>Lo().getScope(),getIsolationScope:()=>Lo().getIsolationScope()}}function Nm(t){const r=$c(t);return r.acs?r.acs:pR()}function mR(t){return typeof t=="object"&&t!=null&&!Array.isArray(t)&&Object.keys(t).includes("value")}function gR(t,r){const{value:a,unit:s}=mR(t)?t:{value:t,unit:void 0},l=yR(a),u=s&&typeof s=="string"?{unit:s}:{};if(l)return{...l,...u};if(!r||r==="skip-undefined"&&a===void 0)return;let f="";try{f=JSON.stringify(a)??""}catch{}return{value:f,type:"string",...u}}function jS(t,r=!1){const a={};for(const[s,l]of Object.entries(t??{})){const u=gR(l,r);u&&(a[s]=u)}return a}function yR(t){if(Array.isArray(t))return{value:t,type:"array"};const r=typeof t=="string"?"string":typeof t=="boolean"?"boolean":typeof t=="number"&&!Number.isNaN(t)?Number.isInteger(t)?"integer":"double":null;if(r)return{value:t,type:r}}function Nr(){const t=Wc();return Nm(t).getCurrentScope()}function ii(){const t=Wc();return Nm(t).getIsolationScope()}function bR(){return jo("globalScope",()=>new Or)}function LA(...t){const r=Wc(),a=Nm(r);if(t.length===2){const[s,l]=t;return s?a.withSetScope(s,l):a.withScope(l)}return a.withScope(t[0])}function jt(){return Nr().getClient()}function vR(t){const r=t.getPropagationContext(),{traceId:a,parentSpanId:s,propagationSpanId:l}=r,u={trace_id:a,span_id:l||OA()};return s&&(u.parent_span_id=s),u}const SR="sentry.source",_R="sentry.sample_rate",ER="sentry.previous_trace_sample_rate",AR="sentry.op",TR="sentry.origin",IA="sentry.profile_id",zA="sentry.exclusive_time",wR="gen_ai.conversation.id",CR=0,xR=1,kR="_sentryScope",PR="_sentryIsolationScope";function Yp(t){const r=t;return{scope:r[kR],isolationScope:RA(r[PR])}}const HS="sentry-";function MR(t){const r=DR(t);if(!r)return;const a=Object.entries(r).reduce((s,[l,u])=>{if(l.startsWith(HS)){const f=l.slice(HS.length);s[f]=u}return s},{});if(Object.keys(a).length>0)return a}function DR(t){if(!(!t||!ti(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((r,a)=>{const s=FS(a);return Object.entries(s).forEach(([l,u])=>{r[l]=u}),r},{}):FS(t)}function FS(t){return t.split(",").map(r=>{const a=r.indexOf("=");if(a===-1)return[];const s=r.slice(0,a),l=r.slice(a+1);return[s,l].map(u=>{try{return decodeURIComponent(u.trim())}catch{return}})}).reduce((r,[a,s])=>(a&&s&&(r[a]=s),r),{})}const OR=/^o(\d+)\./,RR=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function NR(t){return t==="http"||t==="https"}function Vo(t,r=!1){const{host:a,path:s,pass:l,port:u,projectId:f,protocol:h,publicKey:p}=t;return`${h}://${p}${r&&l?`:${l}`:""}@${a}${u?`:${u}`:""}/${s&&`${s}/`}${f}`}function LR(t){const r=RR.exec(t);if(!r){Ho(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[a,s,l="",u="",f="",h=""]=r.slice(1);let p="",g=h;
29const b=g.split("/");if(b.length>1&&(p=b.slice(0,-1).join("/"),g=b.pop()),g){const y=g.match(/^\d+/);y&&(g=y[0])}return UA({host:u,pass:l,path:p,projectId:g,port:f,protocol:a,publicKey:s})}function UA(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function IR(t){if(!ke)return!0;const{port:r,projectId:a,protocol:s}=t;return["protocol","publicKey","host","projectId"].find(f=>t[f]?!1:(ve.error(`Invalid Sentry Dsn: ${f} missing`),!0))?!1:a.match(/^\d+$/)?NR(s)?r&&isNaN(parseInt(r,10))?(ve.error(`Invalid Sentry Dsn: Invalid port ${r}`),!1):!0:(ve.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):(ve.error(`Invalid Sentry Dsn: Invalid projectId ${a}`),!1)}function zR(t){return t.match(OR)?.[1]}function UR(t){const r=t.getOptions(),{host:a}=t.getDsn()||{};let s;return r.orgId?s=String(r.orgId):a&&(s=zR(a)),s}function BA(t){const r=typeof t=="string"?LR(t):UA(t);if(!(!r||!IR(r)))return r}function BR(t){if(typeof t=="boolean")return Number(t);const r=typeof t=="string"?parseFloat(t):t;if(!(typeof r!="number"||isNaN(r)||r<0||r>1))return r}const jA=1;let GS=!1;function jR(t){const{spanId:r,traceId:a,isRemote:s}=t.spanContext(),l=s?r:Jc(t).parent_span_id,u=Yp(t).scope,f=s?u?.getPropagationContext().propagationSpanId||OA():r;return{parent_span_id:l,span_id:f,trace_id:a}}function HR(t){if(t&&t.length>0)return t.map(({context:{spanId:r,traceId:a,traceFlags:s,...l},attributes:u})=>({span_id:r,trace_id:a,sampled:s===jA,attributes:u,...l}))}function VS(t){return typeof t=="number"?qS(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?qS(t.getTime()):ni()}function qS(t){return t>9999999999?t/1e3:t}function Jc(t){if(qR(t))return t.getSpanJSON();const{spanId:r,traceId:a}=t.spanContext();if(VR(t)){const{attributes:s,startTime:l,name:u,endTime:f,status:h,links:p}=t;return{span_id:r,trace_id:a,data:s,description:u,parent_span_id:FR(t),start_timestamp:VS(l),timestamp:VS(f)||void 0,status:YR(h),op:s[AR],origin:s[TR],links:HR(p)}}return{span_id:r,trace_id:a,start_timestamp:0,data:{}}}function FR(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function GR(t){return{...t,attributes:jS(t.attributes),links:t.links?.map(r=>({...r,attributes:jS(r.attributes)}))}}function VR(t){const r=t;return!!r.attributes&&!!r.startTime&&!!r.name&&!!r.endTime&&!!r.status}function qR(t){return typeof t.getSpanJSON=="function"}function KR(t){const{traceFlags:r}=t.spanContext();return r===jA}function YR(t){if(!(!t||t.code===CR))return t.code===xR?"ok":t.message||"internal_error"}const WR="_sentryRootSpan",HA=$R;function $R(t){return t[WR]||t}function KS(){GS||(Ho(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),GS=!0)}function YS(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const r=t||jt()?.getOptions();return!!r&&(r.tracesSampleRate!=null||!!r.tracesSampler)}function WS(t){ve.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function $S(t,r){if(!r?.length)return!1;for(const a of r){if(ZR(a)){if(t.description&&rl(t.description,a))return ke&&WS(t),!0;continue}const s=!!a.attributes&&Object.keys(a.attributes).length>0;if(!a.name&&!a.op&&!s)continue;const l=a.name?t.description&&rl(t.description,a.name):!0,u=a.op?t.op&&rl(t.op,a.op):!0,f=a.attributes?Object.entries(a.attributes).every(([h,p])=>QR(t.attributes?.[h],p)):!0;if(l&&u&&f)return ke&&WS(t),!0}return!1}function QR(t,r){return typeof t=="string"&&(typeof r=="string"||r instanceof RegExp)?rl(t,r):Array.isArray(t)&&Array.isArray(r)?t.length===r.length&&t.every((a,s)=>a===r[s]):t===r}function XR(t,r){const a=r.parent_span_id,s=r.span_id;if(a)for(const l of t)l.parent_span_id===s&&(l.parent_span_id=a)}function ZR(t){return typeof t=="string"||t instanceof RegExp}const JR=Symbol.for("sentry.nonRecordingSpan");function eN(t){return!!t&&t[JR]===!0}const Lm="production",tN="_frozenDsc";function FA(t,r){const a=r.getOptions(),{publicKey:s}=r.getDsn()||{},l={environment:a.environment||Lm,release:a.release,public_key:s,trace_id:t,org_id:UR(r)};return r.emit("createDsc",l),l}function GA(t,r){const a=r.getPropagationContext();return a.dsc||FA(a.traceId,t)}function nN(t){const r=jt();if(!r)return{};const a=HA(t),s=Jc(a),l=s.data,u=a.spanContext().traceState,f=u?.get("sentry.sample_rate")??l[_R]??l[ER];function h(B){return(typeof f=="number"||typeof f=="string")&&(B.sample_rate=`${f}`),B}const p=a[tN];if(p)return h(p);const g=eN(a),b=g&&a.dropReason==="ignored";if(g&&(!YS(r.getOptions())||b)){const B=Yp(a).scope;if(B){const q={...GA(r,B)};return b&&(q.sampled="false"),h(q)}}const y=u?.get("sentry.dsc"),S=y&&MR(y);if(S)return h(S);const _=FA(t.spanContext().traceId,r),k=l[SR]??l["sentry.segment.name.source"],U=s.description;return k!=="url"&&U&&(_.transaction=U),YS()&&(_.sampled=String(KR(a)),_.sample_rand=u?.get("sentry.sample_rand")??Yp(a).scope?.getPropagationContext().sampleRand.toString()),h(_),r.emit("createDsc",_,a),_}function rN(t){return!!t&&typeof t=="function"&&"_streamed"in t&&!!t._streamed}function qo(t,r=[]){return[t,r]}function QS(t,r){const[a,s]=t;return[a,[...s,r]]}function Wp(t,r){const a=t[1];for(const s of a){const l=s[0].type;if(r(s,l))return!0}return!1}function iN(t,r){return Wp(t,(a,s)=>r.includes(s))}function $p(t){const r=$c(Ve);return r.encodePolyfill?r.encodePolyfill(t):new TextEncoder().encode(t)}function aN(t){const[r,a]=t;let s=JSON.stringify(r);function l(u){typeof s=="string"?s=typeof u=="string"?s+u:[$p(s),u]:s.push(typeof u=="string"?$p(u):u)}for(const u of a){const[f,h]=u;if(l(` 30${JSON.stringify(f)} 31`),typeof h=="string"||h instanceof Uint8Array)l(h);else{let p;try{p=JSON.stringify(h)}catch{p=JSON.stringify(ei(h))}l(p)}}return typeof s=="string"?s:oN(s)}function oN(t){const r=t.reduce((l,u)=>l+u.length,0),a=new Uint8Array(r);let s=0;for(const l of t)a.set(l,s),s+=l.length;return a}
31function sN(t){const r=typeof t.data=="string"?$p(t.data):t.data;return[{type:"attachment",length:r.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},r]}const VA={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function lN(t){return t in VA}function XS(t){return lN(t)?VA[t]:t}function qA(t){if(!t?.sdk)return;const{name:r,version:a}=t.sdk;return{name:r,version:a}}function uN(t,r,a,s){const l=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date(Go()).toISOString(),...r&&{sdk:r},...!!a&&s&&{dsn:Vo(s)},...l&&{trace:l}}}function cN(t,r){if(!r)return t;const a=t.sdk||{};return t.sdk={...a,name:a.name||r.name,version:a.version||r.version,integrations:[...t.sdk?.integrations||[],...r.integrations||[]],packages:[...t.sdk?.packages||[],...r.packages||[]],settings:t.sdk?.settings||r.settings?{...t.sdk?.settings,...r.settings}:void 0},t}function dN(t,r,a,s){const l=qA(a),u={sent_at:new Date(Go()).toISOString(),...l&&{sdk:l},...!!s&&r&&{dsn:Vo(r)}},f="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return qo(u,[f])}function fN(t,r,a,s){const l=qA(a),u=t.type&&t.type!=="replay_event"?t.type:"event";cN(t,a?.sdk);const f=uN(t,l,s,r);return delete t.sdkProcessingMetadata,qo(f,[[{type:u},t]])}function hN(t){return t.getOptions().traceLifecycle==="stream"}function pN(t,r){const{fingerprint:a,span:s,breadcrumbs:l,sdkProcessingMetadata:u}=r;mN(t,r),s&&bN(t,s),vN(t,a),gN(t,l),yN(t,u)}function ZS(t,r){const{extra:a,tags:s,attributes:l,user:u,contexts:f,level:h,sdkProcessingMetadata:p,breadcrumbs:g,fingerprint:b,eventProcessors:y,attachments:S,propagationContext:_,transactionName:k,span:U}=r;Ks(t,"extra",a),Ks(t,"tags",s),Ks(t,"attributes",l),Ks(t,"user",u),Ks(t,"contexts",f),t.sdkProcessingMetadata=Sl(t.sdkProcessingMetadata,p,2),h&&(t.level=h),k&&(t.transactionName=k),U&&(t.span=U),g.length&&(t.breadcrumbs=[...t.breadcrumbs,...g]),b.length&&(t.fingerprint=[...t.fingerprint,...b]),y.length&&(t.eventProcessors=[...t.eventProcessors,...y]),S.length&&(t.attachments=[...t.attachments,...S]),t.propagationContext={...t.propagationContext,..._}}function Ks(t,r,a){t[r]=Sl(t[r],a,1)}function KA(t,r){const a=bR().getScopeData();return t&&ZS(a,t.getScopeData()),r&&ZS(a,r.getScopeData()),a}function mN(t,r){const{extra:a,tags:s,user:l,contexts:u,level:f,transactionName:h}=r;Object.keys(a).length&&(t.extra={...a,...t.extra}),Object.keys(s).length&&(t.tags={...s,...t.tags}),Object.keys(l).length&&(t.user={...l,...t.user}),Object.keys(u).length&&(t.contexts={...u,...t.contexts}),f&&(t.level=f),h&&t.type!=="transaction"&&(t.transaction=h)}function gN(t,r){const a=[...t.breadcrumbs||[],...r];t.breadcrumbs=a.length?a:void 0}function yN(t,r){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...r}}function bN(t,r){t.contexts={trace:jR(r),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:nN(r),...t.sdkProcessingMetadata};const a=HA(r),s=Jc(a).description;s&&!t.transaction&&t.type==="transaction"&&(t.transaction=s)}function vN(t,r){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],r&&(t.fingerprint=t.fingerprint.concat(r)),t.fingerprint.length||delete t.fingerprint}const SN="http.request.header",_N="sentry.op",EN="url.full",AN="user_agent.original";function YA(t,r){const a=t.attributes??(t.attributes={});Object.entries(r).forEach(([s,l])=>{l!=null&&!(s in a)&&(a[s]=l)})}const hp=0,JS=1,e_=2;function _l(t){return new ll(r=>{r(t)})}function WA(t){return new ll((r,a)=>{a(t)})}class ll{constructor(r){this._state=hp,this._handlers=[],this._runExecutor(r)}then(r,a){return new ll((s,l)=>{this._handlers.push([!1,u=>{if(!r)s(u);else try{s(r(u))}catch(f){l(f)}},u=>{if(!a)l(u);else try{s(a(u))}catch(f){l(f)}}]),this._executeHandlers()})}catch(r){return this.then(a=>a,r)}finally(r){return new ll((a,s)=>{let l,u;return this.then(f=>{u=!1,l=f,r&&r()},f=>{u=!0,l=f,r&&r()}).then(()=>
31{if(u){s(l);return}a(l)})})}_executeHandlers(){if(this._state===hp)return;const r=this._handlers.slice();this._handlers=[],r.forEach(a=>{a[0]||(this._state===JS&&a[1](this._value),this._state===e_&&a[2](this._value),a[0]=!0)})}_runExecutor(r){const a=(u,f)=>{if(this._state===hp){if(yl(f)){f.then(s,l);return}this._state=u,this._value=f,this._executeHandlers()}},s=u=>{a(JS,u)},l=u=>{a(e_,u)};try{r(s,l)}catch(u){l(u)}}}function TN(t,r,a,s=0){try{const l=Qp(r,a,t,s);return yl(l)?l:_l(l)}catch(l){return WA(l)}}function Qp(t,r,a,s){const l=a[s];if(!t||!l)return t;const u=l({...t},r);return ke&&u===null&&ve.log(`Event processor "${l.id||"?"}" dropped event`),yl(u)?u.then(f=>Qp(f,r,a,s+1)):Qp(u,r,a,s+1)}let ya,t_,n_,Li;function wN(t){const r=Ve._sentryDebugIds,a=Ve._debugIds;if(!r&&!a)return{};const s=r?Object.keys(r):[],l=a?Object.keys(a):[];if(Li&&s.length===t_&&l.length===n_)return Li;t_=s.length,n_=l.length,Li={},ya||(ya={});const u=(f,h)=>{for(const p of f){const g=h[p],b=ya?.[p];if(b&&Li&&g)Li[b[0]]=g,ya&&(ya[p]=[b[0],g]);else if(g){const y=t(p);for(let S=y.length-1;S>=0;S--){const k=y[S]?.filename;if(k&&Li&&ya){Li[k]=g,ya[p]=[k,g];break}}}}};return r&&u(s,r),a&&u(l,a),Li}function CN(t,r,a,s,l,u){const{normalizeDepth:f=3,normalizeMaxBreadth:h=1e3}=t,p={...r,event_id:r.event_id||a.event_id||Yn(),timestamp:r.timestamp||vl()},g=a.integrations||t.integrations.map(q=>q.name);xN(p,t),MN(p,g),l&&l.emit("applyFrameMetadata",r),r.type===void 0&&kN(p,t.stackParser);const b=ON(s,a.captureContext);a.mechanism&&Ea(p,a.mechanism);const y=l?l.getEventProcessors():[],S=KA(u,b),_=[...a.attachments||[],...S.attachments];_.length&&(a.attachments=_),pN(p,S);const k=[...y,...S.eventProcessors];return(a.data&&a.data.__sentry__===!0?_l(p):TN(k,p,a)).then(q=>(q&&PN(q),typeof f=="number"&&f>0?DN(q,f,h):q))}function xN(t,r){const{environment:a,release:s,dist:l,maxValueLength:u}=r;t.environment=t.environment||a||Lm,!t.release&&s&&(t.release=s),!t.dist&&l&&(t.dist=l);const f=t.request;f?.url&&u&&(f.url=Vp(f.url,u)),u&&t.exception?.values?.forEach(h=>{h.value&&(h.value=Vp(h.value,u))})}function kN(t,r){const a=wN(r);t.exception?.values?.forEach(s=>{s.stacktrace?.frames?.forEach(l=>{l.filename&&(l.debug_id=a[l.filename])})})}function PN(t){const r={};if(t.exception?.values?.forEach(s=>{s.stacktrace?.frames?.forEach(l=>{l.debug_id&&(l.abs_path?r[l.abs_path]=l.debug_id:l.filename&&(r[l.filename]=l.debug_id),delete l.debug_id)})}),Object.keys(r).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const a=t.debug_meta.images;Object.entries(r).forEach(([s,l])=>{a.push({type:"sourcemap",code_file:s,debug_id:l})})}function MN(t,r){r.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...r])}function DN(t,r,a){if(!t)return null;const s={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(l=>({...l,...l.data&&{data:ei(l.data,r,a)}}))},...t.user&&{user:ei(t.user,r,a)},...t.contexts&&{contexts:ei(t.contexts,r,a)},...t.extra&&{extra:ei(t.extra,r,a)}};return t.contexts?.trace&&s.contexts&&(s.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(s.contexts.trace.data=ei(t.contexts.trace.data,r,a))),t.spans&&(s.spans=t.spans.map(l=>({...l,...l.data&&{data:ei(l.data,r,a)}}))),t.contexts?.flags&&s.contexts&&(s.contexts.flags=ei(t.contexts.flags,3,a)),s}function ON(t,r){if(!r)return t;const a=t?t.clone():new Or;return a.update(r),a}function RN(t){if(t)return NN(t)?{captureContext:t}:IN(t)?{captureContext:t}:t}function NN(t){return t instanceof Or||typeof t=="function"}const LN=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function IN(t){return Object.keys(t).some(r=>LN.includes(r))}function Im(t,r){return Nr().captureException(t,RN(r))}function $A(t,r){return Nr().captureEvent(t,r)}function zN(t,r){ii().setContext(t,r)}function UN(){return ii().lastEventId()}function r_(t){const r=ii(),{user:a}=KA(r,Nr()),{userAgent:s}=Ve.navigator||{},l=nR({user:a,...s&&{userAgent:s},...t}),u=r.getSession();return u?.status==="ok"&&No(u,{status:"exited"}),QA(),r.setSession(l),l}function QA(){const t=ii(),a=Nr().getSession()||t.getSession();a&&rR(a),XA(),t.setSession()}function XA(){const t=ii(),r=jt(),a=t.getSession();a&&r&&r.captureSession(a)}function pp(t=!1){if(t){QA();return}XA()}function ZA(t){return typeof t=="object"&&typeof t.unref=="function"&&t.unref(),t}const BN="7";function JA(t){const r=t.protocol?`${t.protocol}:`:"",a=t.port?`:${t.port}`:"";return`${r}//${t.host}${a}${t.path?`/${t.path}`:""}/api/`}function jN(t){return`${JA(t)}${t.projectId}/envelope/`}function HN(t,r){const a={sentry_version:BN};return t.publicKey&&(a.sentry_key=t.publicKey),r&&(a.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(a).toString()}function FN(t,r,a){return r||`${jN(t)}?${HN(t,a)}`}function GN(t,r){const a=BA(t);if(!a)return"";const s=`${JA(a)}embed/error-page/`;let l=`dsn=${Vo(a)}`;for(const u in r)if(u!=="dsn"&&u!=="onClose")if(u==="user"){const f=r.user;if(!f)continue;
31f.name&&(l+=`&name=${encodeURIComponent(f.name)}`),f.email&&(l+=`&email=${encodeURIComponent(f.email)}`)}else l+=`&${encodeURIComponent(u)}=${encodeURIComponent(r[u])}`;return`${s}?${l}`}const i_=[];function VN(t){const r={};return t.forEach(a=>{const{name:s}=a,l=r[s];l&&!l.isDefaultInstance&&a.isDefaultInstance||(r[s]=a)}),Object.values(r)}function qN(t){const r=t.defaultIntegrations||[],a=t.integrations;r.forEach(l=>{l.isDefaultInstance=!0});let s;if(Array.isArray(a))s=[...r,...a];else if(typeof a=="function"){const l=a(r);s=Array.isArray(l)?l:[l]}else s=r;return VN(s)}function KN(t,r){const a={};return r.forEach(s=>{s?.beforeSetup&&s.beforeSetup(t)}),r.forEach(s=>{s&&eT(t,s,a)}),a}function a_(t,r){for(const a of r)a?.afterAllSetup&&a.afterAllSetup(t)}function eT(t,r,a){if(a[r.name]){ke&&ve.log(`Integration skipped because it was already installed: ${r.name}`);return}if(a[r.name]=r,!i_.includes(r.name)&&typeof r.setupOnce=="function"&&(r.setupOnce(),i_.push(r.name)),r.setup&&typeof r.setup=="function"&&r.setup(t),typeof r.preprocessEvent=="function"){const s=r.preprocessEvent.bind(r);t.on("preprocessEvent",(l,u)=>s(l,u,t))}if(typeof r.processEvent=="function"){const s=r.processEvent.bind(r),l=Object.assign((u,f)=>s(u,f,t),{id:r.name});t.addEventProcessor(l)}["processSpan","processSegmentSpan"].forEach(s=>{const l=r[s];typeof l=="function"&&t.on(s,u=>l.call(r,u,t))}),ke&&ve.log(`Integration installed: ${r.name}`)}function YN(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function WN(){return"npm"}function $N(){return!YN()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function zm(){return typeof window<"u"&&(!$N()||QN())}function QN(){return Ve.process?.type==="renderer"}function XN(t,r){const a=r?"auto":"never";return[{type:"log",item_count:t.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...zm()&&{ingest_settings:{infer_ip:a,infer_user_agent:a}},items:t}]}function ZN(t,r,a,s,l){const u={};return r?.sdk&&(u.sdk={name:r.sdk.name,version:r.sdk.version}),a&&s&&(u.dsn=Vo(s)),qo(u,[XN(t,l)])}function JN(t,r){const a=r??eL(t)??[];if(a.length===0)return;const s=t.getOptions(),l=ZN(a,s._metadata,s.tunnel,t.getDsn(),t.getDataCollectionOptions().userInfo);tT().set(t,[]),t.emit("flushLogs"),t.sendEnvelope(l)}function eL(t){return tT().get(t)}function tT(){return jo("clientToLogBufferMap",()=>new WeakMap)}function tL(t,r){const a=r?"auto":"never";return[{type:"trace_metric",item_count:t.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...zm()&&{ingest_settings:{infer_ip:a,infer_user_agent:a}},items:t}]}function nL(t,r,a,s,l){const u={};return r?.sdk&&(u.sdk={name:r.sdk.name,version:r.sdk.version}),a&&s&&(u.dsn=Vo(s)),qo(u,[tL(t,l)])}function rL(t,r){const a=r??iL(t)??[];
31if(a.length===0)return;const s=t.getOptions(),l=nL(a,s._metadata,s.tunnel,t.getDsn(),t.getDataCollectionOptions().userInfo);nT().set(t,[]),t.emit("flushMetrics"),t.sendEnvelope(l)}function iL(t){return nT().get(t)}function nT(){return jo("clientToMetricBufferMap",()=>new WeakMap)}function aL(t){const r={trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,name:t.description||"",start_timestamp:t.start_timestamp,end_timestamp:t.timestamp||t.start_timestamp,status:!t.status||t.status==="ok"||t.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...t.data},links:t.links};return GR(r)}function oL(t,r){if(t.type!=="transaction"||!t.spans?.length||!t.sdkProcessingMetadata?.hasGenAiSpans||r.getOptions().streamGenAiSpans===!1||hN(r))return;const a=[],s=[];for(const u of t.spans)u.op?.startsWith("gen_ai.")?a.push(aL(u)):s.push(u);if(a.length===0)return;t.spans=s;const l=r.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:a.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...zm()&&{ingest_settings:{infer_ip:l,infer_user_agent:l}},items:a}]}const Um=Symbol.for("SentryBufferFullError");function Bm(t=100){const r=new Set;function a(){return r.size<t}function s(f){r.delete(f)}function l(f){if(!a())return WA(Um);const h=f();return r.add(h),h.then(()=>s(h),()=>s(h)),h}function u(f){if(!r.size)return _l(!0);const h=Promise.allSettled(Array.from(r)).then(()=>!0);if(!f)return h;const p=[h,new Promise(g=>ZA(setTimeout(()=>g(!1),f)))];return Promise.race(p)}return{get $(){return Array.from(r)},add:l,drain:u}}const sL=60*1e3;function lL(t,r=Go()){const a=parseInt(`${t}`,10);if(!isNaN(a))return a*1e3;const s=Date.parse(`${t}`);return isNaN(s)?sL:s-r}function uL(t,r){return t[r]||t.all||0}function cL(t,r,a=Go()){return uL(t,r)>a}function dL(t,{statusCode:r,headers:a},s=Go()){const l={...t},u=a?.["x-sentry-rate-limits"],f=a?.["retry-after"];if(u)for(const h of u.trim().split(",")){const[p,g,,,b]=h.split(":",5),y=parseInt(p,10),S=(isNaN(y)?60:y)*1e3;if(!g)l.all=s+S;else for(const _ of g.split(";"))_==="metric_bucket"?(!b||b.split(";").includes("custom"))&&(l[_]=s+S):l[_]=s+S}else f?l.all=s+lL(f,s):r===429&&(l.all=s+60*1e3);return l}const rT=64;function fL(t,r,a=Bm(t.bufferSize||rT)){let s={};const l=f=>a.drain(f);function u(f){const h=[];if(Wp(f,(y,S)=>{const _=XS(S);cL(s,_)?t.recordDroppedEvent("ratelimit_backoff",_):h.push(y)}),h.length===0)return Promise.resolve({});const p=qo(f[0],h),g=y=>{if(iN(p,["client_report"])){ke&&ve.warn(`Dropping client report. Will not send outcomes (reason: ${y}).`);return}Wp(p,(S,_)=>{t.recordDroppedEvent(y,XS(_))})},b=()=>r({body:aN(p)}).then(y=>y.statusCode===413?(ke&&ve.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),g("send_error"),y):(ke&&y.statusCode!==void 0&&(y.statusCode<200||y.statusCode>=300)&&ve.warn(`Sentry responded with status code ${y.statusCode} to sent event.`),s=dL(s,y),y),y=>{throw g("network_error"),ke&&ve.error("Encountered error running transport request:",y),y});return a.add(b).then(y=>y,y=>{if(y===Um)return ke&&ve.error("Skipped sending event because buffer is full."),g("queue_overflow"),Promise.resolve({});throw y})}return{send:u,flush:l}}function hL(t,r,a){const s=[{type:"client_report"},{timestamp:vl(),discarded_events:t}];return qo(r?{dsn:r}:{},[s])}function iT(t){const r=[];t.message&&r.push(t.message);try{const a=t.exception.values[t.exception.values.length-1];a?.value&&(r.push(a.value),a.type&&r.push(`${a.type}: ${a.value}`))}catch{}return r}function pL(t){const{trace_id:r,parent_span_id:a,span_id:s,status:l,origin:u,data:f,op:h}=t.contexts?.trace??{};return{data:f??{},description:t.transaction,op:h,parent_span_id:a,span_id:s??"",start_timestamp:t.start_timestamp??0,status:l,timestamp:t.timestamp,trace_id:r??"",origin:u,profile_id:f?.[IA],exclusive_time:f?.[zA],measurements:t.measurements,is_segment:!0}}function mL(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:{...t.data,...t.profile_id&&{[IA]:t.profile_id},...t.exclusive_time&&{[zA]:t.exclusive_time}}}},measurements:t.measurements}}const ic=["forwarded","-ip","remote-","via","-user"];function gL(t){return t===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
31,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:ic},httpHeaders:{request:{deny:ic},response:{deny:ic}},httpBodies:[],urlQueryParams:{deny:ic},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}const yL={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function bL(t){const r=t.dataCollection!=null?yL:gL(t.sendDefaultPii),a=t.dataCollection??{};return{userInfo:a.userInfo??r.userInfo,cookies:a.cookies??r.cookies,httpHeaders:{request:a.httpHeaders?.request??r.httpHeaders.request,response:a.httpHeaders?.response??r.httpHeaders.response},httpBodies:a.httpBodies??r.httpBodies,urlQueryParams:a.urlQueryParams??a.queryParams??r.urlQueryParams,graphQL:{document:a.graphQL?.document??r.graphQL.document,variables:a.graphQL?.variables??r.graphQL.variables},genAI:{inputs:a.genAI?.inputs??r.genAI.inputs,outputs:a.genAI?.outputs??r.genAI.outputs},databaseQueryData:a.databaseQueryData??r.databaseQueryData,stackFrameVariables:a.stackFrameVariables??r.stackFrameVariables,frameContextLines:a.frameContextLines??r.frameContextLines}}const o_="Not capturing exception because it's already been captured.",s_="Discarded session because of missing or non-string release",aT=Symbol.for("SentryInternalError"),oT=Symbol.for("SentryDoNotSendEventError"),vL=5e3;function mc(t){return{message:t,[aT]:!0}}function mp(t){return{message:t,[oT]:!0}}function l_(t){return Qc(t)&&aT in t}function u_(t){return Qc(t)&&oT in t}function c_(t,r,a,s,l){let u=0,f,h=!1;t.on(a,()=>{u=0,clearTimeout(f),h=!1}),t.on(r,p=>{if(u+=s(p),u>=8e5)l(t);else if(!h){const g=t.getOptions()._flushInterval??vL;g>0&&(h=!0,f=ZA(setTimeout(()=>{l(t)},g)))}}),t.on("flush",()=>{l(t)})}class SL{constructor(r){if(this._options=r,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Bm(r.transportOptions?.bufferSize??rT),this._dataCollection=bL(r),r.dsn?this._dsn=BA(r.dsn):ke&&ve.warn("No DSN provided, client will not send events."),this._dsn){const s=FN(this._dsn,r.tunnel,r._metadata?r._metadata.sdk:void 0);this._transport=r.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...r.transportOptions,url:s})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&c_(this,"afterCaptureLog","flushLogs",TL,JN),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&c_(this,"afterCaptureMetric","flushMetrics",AL,rL)}captureException(r,a,s){const l=Yn();if(RS(r))return ke&&ve.log(o_),l;const u={event_id:l,...a};return this._process(()=>this.eventFromException(r,u).then(f=>this._captureEvent(f,u,s)).then(f=>f),"error"),u.event_id}captureMessage(r,a,s,l){const u={event_id:Yn(),...s},f=Dm(r)?r:String(r),h=gl(r),p=h?this.eventFromMessage(f,a,u):this.eventFromException(r,u);return this._process(()=>p.then(g=>this._captureEvent(g,u,l)),h?"unknown":"error"),u.event_id}captureEvent(r,a,s){const l=Yn();if(a?.originalException&&RS(a.originalException))return ke&&ve.log(o_),l;const u={event_id:l,...a},f=r.sdkProcessingMetadata||{},h=f.capturedSpanScope,p=f.capturedSpanIsolationScope,g=d_(r.type);return this._process(()=>this._captureEvent(r,u,h||s,p),g),u.event_id}captureSession(r){this.sendSession(r),No(r,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(r){const a=this._transport;if(this.emit("flush"),!a)return!0;const s=await this._isClientDoneProcessing(r),l=await a.flush(r);return s&&l}async close(r){const a=await this.flush(r);return this.getOptions().enabled=!1,this.emit("close"),a}getEventProcessors(){return this._eventProcessors}addEventProcessor(r){this._eventProcessors.push(r)}init(){(this._isEnabled()||this._options.integrations.some(({name:r})=>r.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(r){return this._integrations[r]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(r){const a=this._integrations[r.name];!a&&r.beforeSetup&&r.beforeSetup(this),eT(this,r,this._integrations),a||a_(this,[r])}sendEvent(r,a={}
31){this.emit("beforeSendEvent",r,a);const s=oL(r,this);let l=fN(r,this._dsn,this._options._metadata,this._options.tunnel);for(const u of a.attachments||[])l=QS(l,sN(u));s&&(l=QS(l,s)),this.sendEnvelope(l).then(u=>this.emit("afterSendEvent",r,u))}sendSession(r){const{release:a,environment:s=Lm}=this._options;if("aggregates"in r){const u=r.attrs||{};if(!u.release&&!a){ke&&ve.warn(s_);return}u.release=u.release||a,u.environment=u.environment||s,r.attrs=u}else{if(!r.release&&!a){ke&&ve.warn(s_);return}r.release=r.release||a,r.environment=r.environment||s}this.emit("beforeSendSession",r);const l=dN(r,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(l)}recordDroppedEvent(r,a,s=1){if(this._options.sendClientReports){const l=`${r}:${a}`;ke&&ve.log(`Recording outcome: "${l}"${s>1?` (${s} times)`:""}`),this._outcomes[l]=(this._outcomes[l]||0)+s}}on(r,a){const s=this._hooks[r]=this._hooks[r]||new Set,l=(...u)=>a(...u);return s.add(l),()=>{s.delete(l)}}emit(r,...a){const s=this._hooks[r];s&&s.forEach(l=>l(...a))}async sendEnvelope(r){if(this.emit("beforeEnvelope",r),this._isEnabled()&&this._transport)try{return await this._transport.send(r)}catch(a){return ke&&ve.error("Error while sending envelope:",a),{}}return ke&&ve.error("Transport disabled"),{}}registerCleanup(r){}dispose(){}_setupIntegrations(){const{integrations:r}=this._options;this._integrations=KN(this,r),a_(this,r)}_updateSessionFromEvent(r,a){let s=a.level==="fatal",l=!1;const u=a.exception?.values;if(u){l=!0,s=!1;for(const p of u)if(p.mechanism?.handled===!1){s=!0;break}}const f=r.status==="ok";(f&&r.errors===0||f&&s)&&(No(r,{...s&&{status:"crashed"},errors:r.errors||Number(l||s)}),this.captureSession(r))}async _isClientDoneProcessing(r){let a=0;for(;!r||a<r;){if(await new Promise(s=>setTimeout(s,1)),!this._numProcessing)return!0;a++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(r,a,s,l){const u=this.getOptions(),f=this.getIntegrationNames();return!a.integrations&&f.length&&(a.integrations=f),this.emit("preprocessEvent",r,a),r.type||l.setLastEventId(r.event_id||a.event_id),CN(u,r,a,s,this,l).then(h=>{if(h===null)return h;this.emit("postprocessEvent",h,a),h.contexts={trace:{...h.contexts?.trace,...vR(s)},...h.contexts};const p=GA(this,s);return h.sdkProcessingMetadata={dynamicSamplingContext:p,...h.sdkProcessingMetadata},h})}_captureEvent(r,a={},s=Nr(),l=ii()){return ke&&Xp(r)&&ve.log(`Captured error event \`${iT(r)[0]||"<unknown>"}\``),this._processEvent(r,a,s,l).then(u=>u.event_id,u=>{ke&&(u_(u)?ve.log(u.message):l_(u)?ve.warn(u.message):ve.warn(u))})}_processEvent(r,a,s,l){const u=this.getOptions(),{sampleRate:f}=u,h=sT(r),p=Xp(r),b=`before send for type \`${r.type||"error"}\``,y=typeof f>"u"?void 0:BR(f),S=d_(r.type);return this._prepareEvent(r,a,s,l).then(_=>{if(_===null)throw this.recordDroppedEvent("event_processor",S),mp("An event processor returned `null`, will not send event.");if(a.data?.__sentry__===!0)return _;const U=EL(this,u,_,a);return _L(U,b)}).then(_=>{if(_===null){if(this.recordDroppedEvent("before_send",S),h){const q=1+(r.spans||[]).length;this.recordDroppedEvent("before_send","span",q)}throw mp(`${b} returned \`null\`, will not send event.`)}const k=s.getSession()||l.getSession();if(p&&k&&this._updateSessionFromEvent(k,_),p&&typeof y=="number"&&xc()>y)throw this.recordDroppedEvent("sample_rate","error"),mp(`Discarding event because it's not included in the random sample (sampling rate = ${f})`);if(h){const B=_.sdkProcessingMetadata?.spanCountBeforeProcessing||0,q=_.spans?_.spans.length:0,K=B-q;K>0&&this.recordDroppedEvent("before_send","span",K)}const U=_.transaction_info;if(h&&U&&_.transaction!==r.transaction){const B="custom";_.transaction_info={...U,source:B}}return this.sendEvent(_,a),_}).then(null,_=>{throw u_(_)||l_(_)?_:(this.captureException(_,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:_}),mc(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 32Reason: ${_}`))})}_process(r,a){this._numProcessing++,this._promiseBuffer.add(r).then(s=>(this._numProcessing--,s),s=>(this._numProcessing--,s===Um&&this.recordDroppedEvent("queue_overflow",a),s))}_clearOutcomes(){const r=this._outcomes;return this._outcomes={},Object.entries(r).map(([a,s])=>{const[l,u]=a.split(":");return{reason:l,category:u,quantity:s}})}_flushOutcomes(){ke&&ve.log("Flushing outcomes...");const r=this._clearOutcomes();if(r.length===0){ke&&ve.log("No outcomes to send");return}if(!this._dsn){ke&&ve.log("No dsn provided, will not send outcomes");return}ke&&ve.log("Sending outcomes:",r);const a=hL(r,this._options.tunnel&&Vo(this._dsn));this.sendEnvelope(a)}}function d_(t){return t==="replay_event"?"replay":t||"error"}function _L(t,r){const a=`${r} must return \`null\` or a valid event.`;if(yl(t))return t.then(s=>{if(!sl(s)&&s!==null)throw mc(a);return s},s=>{throw mc(`${r} rejected with ${s}`)});if(!sl(t)&&t!==null)throw mc(a);return t}function EL(t,r,a,s){const{beforeSend:l,beforeSendTransaction:u,ignoreSpans:f}=r,h=!rN(r.beforeSendSpan)&&r.beforeSendSpan;let p=a;
32if(Xp(p)&&l)return l(p,s);if(sT(p)){if(h||f){const g=pL(p);if(f?.length&&$S({description:g.description,op:g.op,attributes:g.data},f))return null;if(h){const b=h(g);b?p=Sl(a,mL(b)):KS()}if(p.spans){const b=[],y=p.spans;for(const _ of y){if(f?.length&&$S({description:_.description,op:_.op,attributes:_.data},f)){XR(y,_);continue}if(h){const k=h(_);k?b.push(k):(KS(),b.push(_))}else b.push(_)}const S=p.spans.length-b.length;S&&t.recordDroppedEvent("before_send","span",S),p.spans=b}}if(u){if(p.spans){const g=p.spans.length;p.sdkProcessingMetadata={...a.sdkProcessingMetadata,spanCountBeforeProcessing:g}}return u(p,s)}}return p}function Xp(t){return t.type===void 0}function sT(t){return t.type==="transaction"}function AL(t){let r=0;return t.name&&(r+=t.name.length*2),r+=8,r+lT(t.attributes)}function TL(t){let r=0;return t.message&&(r+=t.message.length*2),r+lT(t.attributes)}function lT(t){if(!t)return 0;let r=0;return Object.values(t).forEach(a=>{Array.isArray(a)?r+=a.length*f_(a[0]):gl(a)?r+=f_(a):r+=100}),r}function f_(t){return typeof t=="string"?t.length*2:typeof t=="number"?8:typeof t=="boolean"?4:0}function wL(t,r){r.debug===!0&&(ke?ve.enable():Ho(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Nr().update(r.initialScope);const s=new t(r);return CL(s),s.init(),s}function CL(t){Nr().setClient(t)}function gp(t){if(!t)return{};const r=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!r)return{};const a=r[6]||"",s=r[8]||"";return{host:r[4],path:r[5],protocol:r[2],search:a,hash:s,relative:r[5]+a+s}}function xL(t,r=!0){if(t.startsWith("data:")){const a=t.match(/^data:([^;,]+)/),s=a?a[1]:"text/plain",l=t.includes(";base64,"),u=t.indexOf(",");let f="";if(r&&u!==-1){const h=t.slice(u+1);f=h.length>10?`${h.slice(0,10)}... [truncated]`:h}return`data:${s}${l?",base64":""}${f?`,${f}`:""}`}return t}function kL(t){"aggregates"in t?t.attrs?.ip_address===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):t.ipAddress===void 0&&(t.ipAddress="{{auto}}")}function uT(t,r,a=[r],s="npm"){const l=(t._metadata=t._metadata||{}).sdk=t._metadata.sdk||{};l.name||(l.name=`sentry.javascript.${r}`,l.packages=a.map(u=>({name:`${s}:@sentry/${u}`,version:_a})),l.version=_a)}const PL=100;function wa(t,r){const a=jt(),s=ii();if(!a)return;const{beforeBreadcrumb:l=null,maxBreadcrumbs:u=PL}=a.getOptions();if(u<=0)return;const h={timestamp:vl(),...t},p=l?Ho(()=>l(h,r)):h;p!==null&&(a.emit&&a.emit("beforeAddBreadcrumb",p,r),s.addBreadcrumb(p,u))}const ML="FunctionToString",h_=new WeakMap,DL=(()=>({name:ML,setupOnce(){const t=Function.prototype.toString;try{Function.prototype.toString=function(...r){const a=Rm(this);let s;try{h_.has(jt())&&a!==void 0&&(s=a)}catch{}return t.apply(s??this,r)}}catch{}},setup(t){h_.set(t,!0)}})),OL=DL,RL=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],NL="EventFilters",LL=(t={})=>{let r;return{name:NL,setup(a){const s=a.getOptions();r=p_(t,s)},processEvent(a,s,l){if(!r){const u=l.getOptions();r=p_(t,u)}return zL(a,r)?null:a}}},IL=((t={})=>({...LL(t),name:"InboundFilters"}));function p_(t={},r={}){return{allowUrls:[...t.allowUrls||[],...r.allowUrls||[]],denyUrls:[...t.denyUrls||[],...r.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...r.ignoreErrors||[],...t.disableErrorDefaults?[]:RL],ignoreTransactions:[...t.ignoreTransactions||[],...r.ignoreTransactions||[]]}}function zL(t,r){if(t.type){if(t.type==="transaction"&&BL(t,r.ignoreTransactions))return ke&&ve.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 33Event: ${va(t)}`),!0}else{if(UL(t,r.ignoreErrors))return ke&&ve.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 34Event: ${va(t)}`),!0;if(GL(t))return ke&&ve.warn(`Event dropped due to not having an error message, error type or stacktrace. 35Event: ${va(t)}`),!0;if(jL(t,r.denyUrls))return ke&&ve.warn(`Event dropped due to being matched by \`denyUrls\` option. 36Event: ${va(t)}. 37Url: ${kc(t)}`),!0;if(!HL(t,r.allowUrls))return ke&&ve.warn(`Event dropped due to not being matched by \`allowUrls\` option. 38Event: ${va(t)}. 39Url: ${kc(t)}`),!0}return!1}
39function UL(t,r){return r?.length?iT(t).some(a=>bl(a,r)):!1}function BL(t,r){if(!r?.length)return!1;const a=t.transaction;return a?bl(a,r):!1}function jL(t,r){if(!r?.length)return!1;const a=kc(t);return a?bl(a,r):!1}function HL(t,r){if(!r?.length)return!0;const a=kc(t);return a?bl(a,r):!0}function FL(t=[]){for(let r=t.length-1;r>=0;r--){const a=t[r];if(a&&a.filename!=="<anonymous>"&&a.filename!=="[native code]")return a.filename||null}return null}function kc(t){try{const a=[...t.exception?.values??[]].reverse().find(s=>s.mechanism?.parent_id===void 0&&s.stacktrace?.frames?.length)?.stacktrace?.frames;return a?FL(a):null}catch{return ke&&ve.error(`Cannot extract url for event ${va(t)}`),null}}function GL(t){return t.exception?.values?.length?!t.message&&!t.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function VL(t,r,a,s,l,u){if(!l.exception?.values||!u||!Dr(u.originalException))return;const f=l.exception.values.length>0?l.exception.values[l.exception.values.length-1]:void 0;f&&(l.exception.values=Zp(t,r,s,u.originalException,a,l.exception.values,f,0))}function Zp(t,r,a,s,l,u,f,h){if(u.length>=a+1)return u;let p=[...u];
39if(Dr(s[l])){m_(f,h,s);const g=t(r,s[l]),b=p.length;g_(g,l,b,h),p=Zp(t,r,a,s[l],l,[g,...p],g,b)}return cT(s)&&s.errors.forEach((g,b)=>{if(Dr(g)){m_(f,h,s);const y=t(r,g),S=p.length;g_(y,`errors[${b}]`,S,h),p=Zp(t,r,a,g,l,[y,...p],y,S)}}),p}function cT(t){return Array.isArray(t.errors)}function m_(t,r,a){t.mechanism={handled:!0,type:"auto.core.linked_errors",...cT(a)&&{is_exception_group:!0},...t.mechanism,exception_id:r}}function g_(t,r,a,s){t.mechanism={handled:!0,...t.mechanism,type:"chained",source:r,exception_id:a,parent_id:s}}function qL(t){return Dr(t)&&"__sentry_fetch_url_host__"in t&&typeof t.__sentry_fetch_url_host__=="string"}function y_(t){return qL(t)?`${t.message} (${t.__sentry_fetch_url_host__})`:t.message}const b_=new Set([]);function KL(t){const r="console",a=xa(r,t);return ka(r,YL),a}const v_=new Set;function YL(){"console"in Ve&&kO.forEach(function(t){v_.has(t)||!(t in Ve.console)||(v_.add(t),On(Ve.console,t,function(r){return Cc[t]=r,function(...a){const s=a[0],l=Cc[t],u=b_.size&&typeof s=="string"&&bl(s,b_);u||cr("console",{args:a,level:t}),(!u||ke&&ve.isEnabled())&&l?.apply(Ve.console,a)}}))})}function WL(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const $L="Dedupe",QL=(()=>{let t;return{name:$L,processEvent(r){if(r.type)return r;try{if(ZL(r,t))return ke&&ve.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=r}}}),XL=QL;function ZL(t,r){return r?!!(JL(t,r)||eI(t,r)):!1}function JL(t,r){const a=t.message,s=r.message;return!(!a&&!s||a&&!s||!a&&s||a!==s||!fT(t,r)||!dT(t,r))}function eI(t,r){const a=S_(r),s=S_(t);return!(!a||!s||a.type!==s.type||a.value!==s.value||!fT(t,r)||!dT(t,r))}function dT(t,r){let a=kS(t),s=kS(r);if(!a&&!s)return!0;if(a&&!s||!a&&s||(a=a,s=s,s.length!==a.length))return!1;for(let l=0;l<s.length;l++){const u=s[l],f=a[l];if(u.filename!==f.filename||u.lineno!==f.lineno||u.colno!==f.colno||u.function!==f.function)return!1}return!0}function fT(t,r){let a=t.fingerprint,s=r.fingerprint;if(!a&&!s)return!0;if(a&&!s||!a&&s)return!1;a=a,s=s;try{return a.join("")===s.join("")}catch{return!1}}function S_(t){return t.exception?.values?.[0]}const tI="ConversationId",nI=(()=>({name:tI,setup(t){t.on("spanStart",r=>{const a=Nr().getScopeData(),s=ii().getScopeData(),l=a.conversationId||s.conversationId;if(l){const{op:u,data:f,description:h}=Jc(r);if(!u?.startsWith("gen_ai.")&&!f["ai.operationId"]&&!h?.startsWith("ai."))return;r.setAttribute(wR,l)}})}})),rI=nI;function hT(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}const ul=Ve;function iI(){return"history"in ul&&!!ul.history}function aI(){if(!("fetch"in ul))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function Jp(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function oI(){if(typeof EdgeRuntime=="string")return!0;if(!aI())return!1;if(Jp(ul.fetch))return!0;let t=!1;const r=ul.document;if(r&&typeof r.createElement=="function")try{const a=r.createElement("iframe");a.hidden=!0,r.head.appendChild(a),a.contentWindow?.fetch&&(t=Jp(a.contentWindow.fetch)),r.head.removeChild(a)}catch(a){ke&&ve.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",a)}return t}function sI(t,r){const a="fetch",s=xa(a,t);return ka(a,()=>lI(void 0,r)),s}function lI(t,r=!1){r&&!oI()||On(Ve,"fetch",function(a){return function(...s){const l=new Error,{method:u,url:f}=uI(s),h={args:s,fetchData:{method:u,url:f},startTimestamp:ni()*1e3,virtualError:l,headers:cI(s)};return cr("fetch",{...h}),a.apply(Ve,s).then(async p=>(cr("fetch",{...h,endTimestamp:ni()*1e3,response:p}),p),p=>{cr("fetch",{...h,endTimestamp:ni()*1e3,error:p}),Dr(p)&&p.stack===void 0&&(p.stack=l.stack,qi(p,"framesToPop",1));const b=jt()?.getOptions().enhanceFetchErrorMessages??"always";if(b!==!1&&Dr(p)&&p.name==="TypeError"&&(p.message==="Failed to fetch"||p.message==="Load failed"||p.message==="NetworkError when attempting to fetch resource."))try{const _=new URL(h.fetchData.url).host;b==="always"?p.message=`${p.message} (${_})`:qi(p,"__sentry_fetch_url_host__",_)}catch{}throw p}
39)}})}function gc(t,r){return Qc(t)&&!!t[r]}function __(t){return typeof t=="string"?t:t?gc(t,"url")?t.url:t.toString?t.toString():"":""}function uI(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[a,s]=t;return{url:__(a),method:gc(s,"method")?String(s.method).toUpperCase():TA(a)&&gc(a,"method")?String(a.method).toUpperCase():"GET"}}const r=t[0];return{url:__(r),method:gc(r,"method")?String(r.method).toUpperCase():"GET"}}function cI(t){const[r,a]=t;try{if(typeof a=="object"&&a!==null&&"headers"in a&&a.headers)return new Headers(a.headers);if(TA(r))return new Headers(r.headers)}catch{}}const pT=Ve;function jm(){try{return pT.document.location.href}catch{return""}}function dI(t,r=5){if(!pT.HTMLElement)return null;let a=t;for(let s=0;s<r;s++){if(!a)return null;if(a instanceof HTMLElement){if(a.dataset.sentryComponent)return a.dataset.sentryComponent;if(a.dataset.sentryElement)return a.dataset.sentryElement}a=a.parentNode}return null}const nt=Ve;let em=0;function mT(){return em>0}function fI(){em++,setTimeout(()=>{em--})}function Io(t,r={}){function a(l){return typeof l=="function"}if(!a(t))return t;try{if(Object.prototype.hasOwnProperty.call(t,"__sentry_wrapped__")){const u=t.__sentry_wrapped__;return typeof u=="function"?u:t}if(Rm(t))return t}catch{return t}const s=function(...l){Ve._sentryWrappedDepth=(Ve._sentryWrappedDepth||0)+1;try{const u=l.map(f=>Io(f,r));return t.apply(this,u)}catch(u){throw fI(),LA(f=>{f.addEventProcessor(h=>(r.mechanism&&(qp(h,void 0),Ea(h,r.mechanism)),h.extra={...h.extra,arguments:l},h)),Im(u)}),u}finally{Ve._sentryWrappedDepth=(Ve._sentryWrappedDepth||0)-1}};try{for(const l in t)Object.prototype.hasOwnProperty.call(t,l)&&(s[l]=t[l])}catch{}wA(s,t),qi(t,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get(){return t.name}})}catch{}return s}function E_(){const t=jm(),{referrer:r}=nt.document||{},{userAgent:a}=nt.navigator||{},s={...r&&{Referer:r},...a&&{"User-Agent":a}};return{url:t,headers:s}}function Hm(t,r){const a=ed(t,r),s={type:yI(r),value:bI(r)};return a.length&&(s.stacktrace={frames:a}),s.type===void 0&&s.value===""&&(s.value="Unrecoverable error caught"),s}function hI(t,r,a,s){const u=jt()?.getOptions().normalizeDepth,f=AI(r),h={__serialized__:kA(r,u)};if(f)return{exception:{values:[Hm(t,f)]},extra:h};const p={exception:{values:[{type:Xc(r)?r.constructor.name:s?"UnhandledRejection":"Error",value:_I(r,{isUnhandledRejection:s})}]},extra:h};if(a){const g=ed(t,a);g.length&&(p.exception.values[0].stacktrace={frames:g})}return p}function yp(t,r){return{exception:{values:[Hm(t,r)]}}}function ed(t,r){const a=r.stacktrace||r.stack||"",s=mI(r),l=gI(r);try{return t(a,s,l)}catch{}return[]}const pI=/Minified React error #\d+;/i;function mI(t){return t&&pI.test(t.message)?1:0}function gI(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function gT(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function yI(t){const r=t?.name;return!r&&gT(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":r}function bI(t){const r=t?.message;return gT(t)?Array.isArray(t.message)&&t.message.length==2?t.message[1]:"wasm exception":r?r.error&&typeof r.error.message=="string"?y_(r.error):y_(t):"No error message"}function vI(t,r,a,s){const l=a?.syntheticException||void 0,u=Fm(t,r,l,s);return Ea(u),u.level="error",a?.event_id&&(u.event_id=a.event_id),_l(u)}function SI(t,r,a="info",s,l){const u=s?.syntheticException||void 0,f=tm(t,r,u,l);return f.level=a,s?.event_id&&(f.event_id=s.event_id),_l(f)}function Fm(t,r,a,s,l){let u;if(AA(r)&&r.error)return yp(t,r.error);if(MS(r)||HO(r)){const f=r;if("stack"in r){u=yp(t,r);const h=u.exception?.values?.[0];if(s&&a&&h&&!h.stacktrace){const p=ed(t,a);p.length&&(h.stacktrace={frames:p},Ea(u,{synthetic:!0}))}}else{const h=f.name||(MS(f)?"DOMError":"DOMException"),p=f.message?`${h}: ${f.message}`:h;u=tm(t,p,a,s),qp(u,p)}return"code"in f&&(u.tags={...u.tags,"DOMException.code":`${f.code}`}),u}return Dr(r)?yp(t,r):sl(r)||Xc(r)?(u=hI(t,r,a,l),Ea(u,{synthetic:!0}),u):(u=tm(t,r,a,s),qp(u,`${r}`),Ea(u,{synthetic:!0}),u)}function tm(t,r,a,s){const l={};if(s&&a){const u=ed(t,a);u.length&&(l.exception={values:[{value:r,stacktrace:{frames:u}}]}),Ea(l,{synthetic:!0})}
39if(Dm(r)){const{__sentry_template_string__:u,__sentry_template_values__:f}=r;return l.logentry={message:u,params:f},l}return l.message=r,l}function _I(t,{isUnhandledRejection:r}){const a=GO(t),s=r?"promise rejection":"exception";return AA(t)?`Event \`ErrorEvent\` captured as ${s} with message \`${t.message}\``:Xc(t)?`Event \`${EI(t)}\` (type=${t.type}) captured as ${s}`:`Object captured as ${s} with keys: ${a}`}function EI(t){try{const r=Object.getPrototypeOf(t);return r?r.constructor.name:void 0}catch{}}function AI(t){return Object.values(t).find(Dr)}class TI extends SL{constructor(r){const a=wI(r),s=nt.SENTRY_SDK_SOURCE||WN();uT(a,"browser",["browser"],s),super(a);const{userInfo:l}=this.getDataCollectionOptions();a._metadata?.sdk&&(a._metadata.sdk.settings={infer_ip:l?"auto":"never",...a._metadata.sdk.settings});const{sendClientReports:u}=this._options;nt.document&&nt.document.addEventListener("visibilitychange",()=>{nt.document.visibilityState==="hidden"&&(u&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),l&&this.on("beforeSendSession",kL)}eventFromException(r,a){return vI(this._options.stackParser,r,a,this._options.attachStacktrace)}eventFromMessage(r,a="info",s){return SI(this._options.stackParser,r,a,s,this._options.attachStacktrace)}_prepareEvent(r,a,s,l){return r.platform=r.platform||"javascript",super._prepareEvent(r,a,s,l)}}function wI(t){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:nt.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t}}const CI=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,wt=Ve;function A_(t,r,a){wt.document&&wt.addEventListener(t,r,a)}function T_(t,r,a){wt.document&&wt.removeEventListener(t,r,a)}const xI=t=>{let r=!1;return()=>{r||(t(),r=!0)}},kI=t=>{const r=wt.requestIdleCallback||wt.setTimeout;wt.document?.visibilityState==="hidden"?t():(t=xI(t),A_("visibilitychange",t,{once:!0,capture:!0}),A_("pagehide",t,{once:!0,capture:!0}),r(()=>{t(),T_("visibilitychange",t,{capture:!0}),T_("pagehide",t,{capture:!0})}))},PI=80,ba={};try{typeof Node<"u"&&(ba.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(ba.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,ba.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,ba.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,ba.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(ba.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function Ui(t,r,a){const s=ba[r];if(s)try{return s.call(t,a)}catch{}const l=t[r];return typeof l=="function"?l.call(t,a):l}function yT(t,r={}){if(!t)return"<unknown>";try{let a=t;const s=5,l=[];let u=0,f=0;const h=" > ",p=h.length;let g;const b=Array.isArray(r)?r:r.keyAttrs,y=!Array.isArray(r)&&r.maxStringLength||PI;for(;a&&u++<s&&(g=MI(a,b),!(g==="html"||u>1&&f+l.length*p+g.length>=y));)l.push(g),f+=g.length,a=Ui(a,"parentNode");return l.reverse().join(h)}catch{return"<unknown>"}}function MI(t,r){const a=[],s=Ui(t,"tagName");if(!s)return"";if(typeof HTMLElement<"u"&&t instanceof HTMLElement){const u=Ui(t,"dataset");if(u){if(u.sentryComponent)return u.sentryComponent;if(u.sentryElement)return u.sentryElement}}a.push(s.toLowerCase());const l=r?.length?r.filter(u=>Ui(t,"getAttribute",u)).map(u=>[u,Ui(t,"getAttribute",u)]):null;if(l?.length)l.forEach(u=>{a.push(`[${u[0]}="${u[1]}"]`)});else{const u=Ui(t,"id");u&&a.push(`#${u}`);const f=Ui(t,"className");if(f&&ti(f)){const h=f.split(/\s+/);for(const p of h)a.push(`.${p}`)}}for(const u of["aria-label","type","name","title","alt"]){const f=Ui(t,"getAttribute",u);f&&a.push(`[${u}="${f}"]`)}return a.join("")}const DI=1e3;let w_,nm,rm;function OI(t){xa("dom",t),ka("dom",RI)}function RI(){if(!wt.document)return;const t=cr.bind(null,"dom"),r=C_(t,!0);wt.document.addEventListener("click",r,!1),wt.document.addEventListener("keypress",r,!1),["EventTarget","Node"].forEach(a=>{const l=wt[a]?.prototype;l?.hasOwnProperty?.("addEventListener")&&(On(l,"addEventListener",function(u){return function(f,h,p){if(f==="click"||f=="keypress")try{const g=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},b=g[f]=g[f]||{refCount:0};if(!b.handler){const y=C_(t);b.handler=y,u.call(this,f,y,p)}b.refCount++}catch{}return u.call(this,f,h,p)}}),On(l,"removeEventListener",function(u){return function(f,h,p){if(f==="click"||f=="keypress")try{const g=this.__sentry_instrumentation_handlers__||{},b=g[f];b&&(b.refCount--,b.refCount<=0&&(u.call(this,f,b.handler,p),b.handler=void 0,delete g[f]),Object.keys(g).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return u.call(this,f,h,p)}}))})}function NI(t){if(t.type!==nm)return!1;try{if(!t.target||t.target._sentryId!==rm)return!1}catch{}return!0}function LI(t,r){return t!=="keypress"?!1:r?.tagName?!(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable):!0}function C_(t,r=!1){return a=>{if(!a||a._sentryCaptured)return;const s=II(a);if(LI(a.type,s))return;qi(a,"_sentryCaptured",!0),s&&!s._sentryId&&qi(s,"_sentryId",Yn());
39const l=a.type==="keypress"?"input":a.type;NI(a)||(t({event:a,name:l,global:r}),nm=a.type,rm=s?s._sentryId:void 0),clearTimeout(w_),w_=wt.setTimeout(()=>{rm=void 0,nm=void 0},DI)}}function II(t){try{return t.target}catch{return null}}let ac;function bT(t){const r="history";xa(r,t),ka(r,zI)}function zI(){if(wt.addEventListener("popstate",()=>{const r=wt.location.href,a=ac;if(ac=r,a===r)return;cr("history",{from:a,to:r})}),!iI())return;function t(r){return function(...a){const s=a.length>2?a[2]:void 0;if(s){const l=ac,u=UI(String(s));if(ac=u,l===u)return r.apply(this,a);cr("history",{from:l,to:u})}return r.apply(this,a)}}On(wt.history,"pushState",t),On(wt.history,"replaceState",t)}function UI(t){try{return new URL(t,wt.location.origin).toString()}catch{return t}}const yc={};function BI(t){const r=yc[t];if(r)return r;let a=wt[t];if(Jp(a))return yc[t]=a.bind(wt);const s=wt.document;if(s&&typeof s.createElement=="function")try{const l=s.createElement("iframe");l.hidden=!0,s.head.appendChild(l);const u=l.contentWindow;u?.[t]&&(a=u[t]),s.head.removeChild(l)}catch(l){CI&&ve.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,l)}return a&&(yc[t]=a.bind(wt))}function jI(t){yc[t]=void 0}const Qs="__sentry_xhr_v3__";function HI(t){xa("xhr",t),ka("xhr",FI)}function FI(){if(!wt.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(r,a,s){const l=new Error,u=ni()*1e3,f=ti(s[0])?s[0].toUpperCase():void 0,h=GI(s[1]);if(!f||!h)return r.apply(a,s);a[Qs]={method:f,url:h,request_headers:{}},f==="POST"&&h.match(/sentry_key/)&&(a.__sentry_own_request__=!0);const p=()=>{const g=a[Qs];if(g&&a.readyState===4){try{g.status_code=a.status}catch{}const b={endTimestamp:ni()*1e3,startTimestamp:u,xhr:a,virtualError:l};cr("xhr",b),a.removeEventListener("readystatechange",p)}};return"onreadystatechange"in a&&typeof a.onreadystatechange=="function"?a.onreadystatechange=new Proxy(a.onreadystatechange,{apply(g,b,y){return p(),g.apply(b,y)}}):a.addEventListener("readystatechange",p),a.setRequestHeader=new Proxy(a.setRequestHeader,{apply(g,b,y){const[S,_]=y,k=b[Qs];return k&&ti(S)&&ti(_)&&(k.request_headers[S.toLowerCase()]=_),g.apply(b,y)}}),r.apply(a,s)}}),t.send=new Proxy(t.send,{apply(r,a,s){const l=a[Qs];if(!l)return r.apply(a,s);s[0]!==void 0&&(l.body=s[0]);const u={startTimestamp:ni()*1e3,xhr:a};return cr("xhr",u),r.apply(a,s)}})}function GI(t){if(ti(t))return t;try{return t.toString()}catch{}}function VI(t){if(typeof Element>"u")return!1;try{return t instanceof Element}catch{return!1}}const qI=40;function KI(t,r=BI("fetch")){let a=0,s=0;async function l(u){const f=u.body.length;a+=f,s++;const h={body:u.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:a<=6e4&&s<15,...t.fetchOptions};try{const p=await r(t.url,h);return{statusCode:p.status,headers:{"x-sentry-rate-limits":p.headers.get("X-Sentry-Rate-Limits"),"retry-after":p.headers.get("Retry-After")}}}catch(p){throw jI("fetch"),p}finally{a-=f,s--}}return fL(t,l,Bm(t.bufferSize||qI))}const zo=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,YI=30,WI=50;function im(t,r,a,s){const l={filename:t,function:r==="<anonymous>"?Ta:r,in_app:!0};return a!==void 0&&(l.lineno=a),s!==void 0&&(l.colno=s),l}const $I=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,QI=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,XI=/\((\S*)(?::(\d+))(?::(\d+))\)/,ZI=/at (.+?) ?\(data:(.+?),/,JI=t=>{const r=t.match(ZI);if(r)return{filename:`<data:${r[2]}>`,function:r[1]};const a=$I.exec(t);if(a){const[,l,u,f]=a;return im(l,Ta,+u,+f)}const s=QI.exec(t);if(s){if(s[2]?.indexOf("eval")===0){const h=XI.exec(s[2]);h&&(s[2]=h[1],s[3]=h[2],s[4]=h[3])}const[u,f]=vT(s[1]||Ta,s[2]);return im(f,u,s[3]?+s[3]:void 0,s[4]?+s[4]:void 0)}},e2=[YI,JI],t2=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,n2=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,r2=t=>{const r=t2.exec(t);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){const u=n2.exec(r[3]);u&&(r[1]=r[1]||"eval",r[3]=u[1],r[4]=u[2],r[5]="")}let s=r[3],l=r[1]||Ta;return[l,s]=vT(l,s),im(s,l,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},i2=[WI,r2],a2=[e2,i2],o2=_A(...a2),vT=(t,r)=>{const a=t.indexOf("safari-extension")!==-1,s=t.indexOf("safari-web-extension")!==-1;return a||s?[t.indexOf("@")!==-1?t.split("@")[0]:Ta,a?`safari-extension:${r}
39`:`safari-web-extension:${r}`]:[t,r]},oc=1024,s2="Breadcrumbs",l2=((t={})=>{const r={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:s2,setup(a){r.console&&KL(f2(a)),r.dom&&OI(d2(a,r.dom)),r.xhr&&HI(h2(a)),r.fetch&&sI(p2(a)),r.history&&bT(m2(a)),r.sentry&&a.on("beforeSendEvent",c2(a))}}}),u2=l2;function c2(t){return function(a){jt()===t&&wa({category:`sentry.${a.type==="transaction"?"transaction":"event"}`,event_id:a.event_id,level:a.level,message:va(a)},{event:a})}}function d2(t,r){return function(s){if(jt()!==t)return;let l,u,f=typeof r=="object"?r.serializeAttribute:void 0,h=typeof r=="object"&&typeof r.maxStringLength=="number"?r.maxStringLength:void 0;h&&h>oc&&(zo&&ve.warn(`\`dom.maxStringLength\` cannot exceed ${oc}, but a value of ${h} was configured. Sentry will use ${oc} instead.`),h=oc),typeof f=="string"&&(f=[f]);try{const g=s.event,b=g2(g)?g.target:g;l=yT(b,{keyAttrs:f,maxStringLength:h}),u=dI(b)}catch{l="<unknown>"}if(l.length===0)return;const p={category:`ui.${s.name}`,message:l};u&&(p.data={"ui.component_name":u}),wa(p,{event:s.event,name:s.name,global:s.global})}}function f2(t){return function(a){if(jt()!==t)return;const s={category:"console",data:{arguments:a.args,logger:"console"},level:WL(a.level),message:OS(a.args," ")};if(a.level==="assert")if(a.args[0]===!1)s.message=`Assertion failed: ${OS(a.args.slice(1)," ")||"console.assert"}`,s.data.arguments=a.args.slice(1);else return;wa(s,{input:a.args,level:a.level})}}function h2(t){return function(a){if(jt()!==t)return;const{startTimestamp:s,endTimestamp:l}=a,u=a.xhr[Qs];if(!s||!l||!u)return;const{method:f,url:h,status_code:p,body:g}=u,b={method:f,url:h,status_code:p},y={xhr:a.xhr,input:g,startTimestamp:s,endTimestamp:l},S={category:"xhr",data:b,type:"http",level:hT(p)};t.emit("beforeOutgoingRequestBreadcrumb",S,y),wa(S,y)}}function p2(t){return function(a){if(jt()!==t)return;const{startTimestamp:s,endTimestamp:l}=a;if(l&&!(a.fetchData.url.match(/sentry_key/)&&a.fetchData.method==="POST"))if(a.error){const u={data:a.error,input:a.args,startTimestamp:s,endTimestamp:l},f={category:"fetch",data:a.fetchData,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",f,u),wa(f,u)}else{const u=a.response,f={...a.fetchData,status_code:u?.status},h={input:a.args,response:u,startTimestamp:s,endTimestamp:l},p={category:"fetch",data:f,type:"http",level:hT(f.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",p,h),wa(p,h)}}}function m2(t){return function(a){if(jt()!==t)return;let s=a.from,l=a.to;const u=gp(nt.location.href);let f=s?gp(s):void 0;const h=gp(l);f?.path||(f=u),u.protocol===h.protocol&&u.host===h.host&&(l=h.relative),u.protocol===f.protocol&&u.host===f.host&&(s=f.relative),wa({category:"navigation",data:{from:s,to:l}})}}function g2(t){return!!t&&!!t.target}const y2="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),b2="BrowserApiErrors",v2=((t={})=>{const r={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:b2,setupOnce(){r.setTimeout&&On(nt,"setTimeout",x_),r.setInterval&&On(nt,"setInterval",x_),r.requestAnimationFrame&&On(nt,"requestAnimationFrame",_2),r.XMLHttpRequest&&"XMLHttpRequest"in nt&&On(XMLHttpRequest.prototype,"send",E2);const a=r.eventTarget;a&&(Array.isArray(a)?a:y2).forEach(l=>A2(l,r))}}}),S2=v2;function x_(t){return function(...r){const a=r[0];return r[0]=Io(a,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Vi(t)}`}}),t.apply(this,r)}}function _2(t){return function(r){return t.apply(this,[Io(r,{mechanism:{data:{handler:Vi(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function E2(t){return function(...r){const a=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(l=>{l in a&&typeof a[l]=="function"&&On(a,l,function(u){const f={mechanism:{data:{handler:Vi(u)},handled:!1,type:`auto.browser.browserapierrors.xhr.${l}`}},h=Rm(u);return h&&(f.mechanism.data.handler=Vi(h)),Io(u,f)})}),t.apply(this,r)}}function A2(t,r){const s=nt[t]?.prototype;s?.hasOwnProperty?.("addEventListener")&&(On(s,"addEventListener",function(l){return function(u,f,h){try{T2(f)&&(f.handleEvent=Io(f.handleEvent,{mechanism:{data:{handler:Vi(f),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return r.unregisterOriginalCallbacks&&w2(this,u,f),l.apply(this,[u,Io(f,{mechanism:{data:{handler:Vi(f),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),h])}}),On(s,"removeEventListener",function(l){return function(u,f,h){try{if(Object.prototype.hasOwnProperty.call(f,"__sentry_wrapped__")){const p=f.__sentry_wrapped__;p&&l.call(this,u,p,h)}}catch{}return l.call(this,u,f,h)}}))}function T2(t){return typeof t.handleEvent=="function"}function w2(t,r,a){t&&typeof t=="object"&&"removeEventListener"in t&&typeof t.removeEventListener=="function"&&t.removeEventListener(r,a)}const C2=(t={})=>{const r=t.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof nt.document>"u"){zo&&ve.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}r_({ignoreDuration:!0});let a=!1;kI(()=>{a||(pp(),a=!0)});const s=ii();let l=s.getUser();s.addScopeListener(u=>{const f=u.getUser();(l?.id!==f?.id||l?.ip_address!==f?.ip_address)&&(l=f,a&&pp())}),r==="route"&&bT(({from:u,to:f})=>{u!==f&&(r_({ignoreDuration:!0}),pp(),a=!0)})}}},x2="CultureContext",k2=(()=>({name:x2,preprocessEvent(t){const r=k_();r&&(t.contexts={...t.contexts,culture:{...r,...t.contexts?.culture}})},processSegmentSpan(t){const r=k_();r&&YA(t,{"culture.locale":r.locale,"culture.timezone":r.timezone,"culture.calendar":r.calendar})}})),P2=k2;function k_(){try{const t=nt.Intl;if(!t)return;const r=t.DateTimeFormat().resolvedOptions();return{locale:r.locale,timezone:r.timeZone,calendar:r.calendar}}catch{return}}const M2="GlobalHandlers",D2=((t={})=>{const r={onerror:!0,onunhandledrejection:!0,...t};return{name:M2,setupOnce(){Error.stackTraceLimit=50},setup(a){r.onerror&&(R2(a),P_("onerror")),r.onunhandledrejection&&(N2(a),P_("onunhandledrejection"))}}}),O2=D2;function R2(t){zO(r=>{const{stackParser:a,attachStacktrace:s}=ST();if(jt()!==t||mT())return;const{msg:l,url:u,line:f,column:h,error:p}=r,g=z2(Fm(a,p||l,void 0,s,!1),u,f,h);g.level="error",$A(g,{originalException:p,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function N2(t){BO(r=>{const{stackParser:a,attachStacktrace:s}=ST();if(jt()!==t||mT())return;const l=L2(r),u=gl(l)?I2(l):Fm(a,l,void 0,s,!0);u.level="error",$A(u,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function L2(t){if(gl(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function I2(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function z2(t,r,a,s){const l=t.exception=t.exception||{},u=l.values=l.values||[],f=u[0]=u[0]||{},h=f.stacktrace=f.stacktrace||{},p=h.frames=h.frames||[];return p.length===0&&p.push({colno:s,lineno:a,filename:U2(r)??jm(),function:Ta,in_app:!0}),t}function P_(t){zo&&ve.log(`Global Handler attached: ${t}`)}function ST(){return jt()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function U2(t){if(!(!ti(t)||t.length===0))return t.startsWith("data:")?`<${xL(t,!1)}>`:t}const B2=()=>({name:"HttpContext",preprocessEvent(t){if(!nt.navigator&&!nt.location&&!nt.document)return;const r=E_(),a={...r.headers,...t.request?.headers};t.request={...r,...t.request,headers:a}},processSpan(t){if(!nt.navigator&&!nt.location&&!nt.document)return;const r=E_();YA(t,{[AN]:r.headers["User-Agent"],...t.is_segment&&{[EN]:t.attributes?.[_N]!=="http.client"?r.url:void 0,[`${SN}.referer`]:r.headers.Referer}})}}),j2="cause",H2=5,F2="LinkedErrors",G2=((t={})=>{const r=t.limit||H2,a=t.key||j2;return{name:F2,preprocessEvent(s,l,u){const f=u.getOptions();VL(Hm,f.stackParser,a,r,s,l)}}}),V2=G2,q2=/^HTML(\w*)Element$/;function _T(t){if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(VI(t)){const r=K2(t);if(q2.test(r))return`[HTMLElement: ${yT(t)}]`}}function K2(t){const r=Object.getPrototypeOf(t);return r?.constructor?r.constructor.name:"null prototype"}function Y2(){return W2()?(zo&&Ho(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function W2(){if(typeof nt.window>"u")return!1;const t=nt;if(t.nw||!(t.chrome||t.browser)?.runtime?.id)return!1;const a=jm();return!(nt===nt.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(a))}function $2(t){return[IL(),OL(),rI(),S2(),u2(),O2(),V2(),XL(),B2(),P2(),C2()]}function Q2(t={}){const r=!t.skipBrowserExtensionCheck&&Y2();let a=t.defaultIntegrations==null?$2():t.defaultIntegrations;const s={...t,enabled:r?!1:t.enabled,stackParser:LO(t.stackParser||o2),integrations:qN({integrations:t.integrations,defaultIntegrations:a}),transport:t.transport||KI};return xA(_T),wL(TI,s)}function M_(t={}){const r=nt.document,a=r?.head||r?.body;if(!a){zo&&ve.error("[showReportDialog] Global document not defined");return}const s=Nr(),u=jt()?.getDsn();if(!u){zo&&ve.error("[showReportDialog] DSN not configured");return}const f={...t,user:{...s.getUser(),...t.user},eventId:t.eventId||UN()},h=nt.document.createElement("script");h.async=!0,h.crossOrigin="anonymous",h.src=GN(u,f);const{onLoad:p,onClose:g}=f;if(p&&(h.onload=p),g){const b=y=>{if(y.data==="__sentry_reportdialog_closed__")try{g()}finally{nt.removeEventListener("message",b)}};nt.addEventListener("message",b)}a.appendChild(h)}function X2(t){return sl(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function Z2(t){const r={...t};uT(r,"react"),zN("react",{version:w.version});const a=Q2(r);return xA(J2),a}function J2(t){return X2(t)?"[SyntheticEvent]":_T(t)}function ez(t){const r=t.match(/^([^.]+)/);return r!==null&&parseInt(r[0])>=17}function tz(t,r){const a=new WeakSet;function s(l,u){if(!a.has(l)){if(l.cause)return a.add(l),s(l.cause,u);l.cause=u}}s(t,r)}function nz(t,{componentStack:r},a){if(ez(w.version)&&Dr(t)&&r){const s=new Error(t.message);s.name=`React ErrorBoundary ${t.name}`,s.stack=r,tz(t,s)}return Im(t,a)}const rz=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,bp={componentStack:null,error:null,eventId:null};class iz extends w.Component{constructor(r){super(r),this.state=bp,this._openFallbackReportDialog=!0;const a=jt();a&&r.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=a.on("afterSendEvent",s=>{!s.type&&this._lastEventId&&s.event_id===this._lastEventId&&M_({...r.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(r,a){const{componentStack:s}=a,{beforeCapture:l,onError:u,showDialog:f,dialogOptions:h}=this.props;LA(p=>{l&&l(p,r,s);const g=this.props.handled!=null?this.props.handled:!!this.props.fallback,b=nz(r,a,{mechanism:{handled:g,type:"auto.function.react.error_boundary"}});u&&u(r,s,b),f&&(this._lastEventId=b,this._openFallbackReportDialog&&M_({...h,eventId:b})),this.setState({error:r,componentStack:s,eventId:b})})}componentDidMount(){const{onMount:r}=this.props;r&&r()}componentWillUnmount(){const{error:r,componentStack:a,eventId:s}=this.state,{onUnmount:l}=this.props;l&&(this.state===bp?l(null,null,null):l(r,a,s)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){const{onReset:r}=this.props,{error:a,componentStack:s,eventId:l}=this.state;r&&r(a,s,l),this.setState(bp)}render(){const{fallback:r,children:a}=this.props,s=this.state;if(s.componentStack===null)return typeof a=="function"?a():a;const l=typeof r=="function"?w.createElement(r,{error:s.error,componentStack:s.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:s.eventId}):r;return w.isValidElement(l)?l:(r&&rz&&ve.warn("fallback did not produce a valid ReactElement"),null)}}const az="https://c24afea754f73a130465798d3eff1447@o4511116631801856.ingest.de.sentry.io/4511116637044816";function oz(){Z2({dsn:az,environment:"production",release:"dev",sampleRate:1,tracesSampleRate:.1,ignoreErrors:["ResizeObserver loop","Network request failed","Loa
39d failed","ChunkLoadError"],beforeSend(t){if(t.request?.url)try{const r=new URL(t.request.url);r.searchParams.delete("token"),r.searchParams.delete("key"),t.request.url=r.toString()}catch{}return t}})}function sz({resetError:t,eventId:r}){return E.jsxs("div",{role:"alert",style:{minHeight:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"1rem",padding:"2rem",textAlign:"center",fontFamily:"system-ui, sans-serif",color:"#1a1a1a",background:"#fafafa"},children:[E.jsx("h1",{style:{fontSize:"1.5rem",fontWeight:600,margin:0},children:"Es ist ein Fehler aufgetreten"}),E.jsxs("p",{style:{maxWidth:"32rem",margin:0,color:"#555"},children:["Diese Seite konnte nicht geladen werden. Bitte laden Sie sie neu â wir wurden automatisch benachrichtigt.",E.jsx("br",{}),E.jsx("span",{style:{fontSize:"0.85rem"},children:"Something went wrong. Please reload the page."})]}),E.jsx("button",{type:"button",onClick:()=>{t(),window.location.reload()},style:{padding:"0.6rem 1.25rem",fontSize:"1rem",borderRadius:"0.5rem",border:"none",background:"#1a1a1a",color:"#fff",cursor:"pointer"},children:"Seite neu laden"}),r?E.jsxs("p",{style:{fontSize:"0.75rem",color:"#999",margin:0},children:["Referenz: ",r]}):null]})}function lz({children:t}){return E.jsx(iz,{fallback:r=>E.jsx(sz,{...r}),showDialog:!1,children:t})}const ET="nexbid-theme",AT=w.createContext(null);function D_(){try{const t=localStorage.getItem(ET);if(t==="light"||t==="dark"||t==="system")return t}catch{}return"dark"}function uz(){return typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-color-scheme: dark)").matches}
39function vp(t){return t==="system"?uz()?"dark":"light":t}function Sp(t){document.documentElement.classList.toggle("dark",t==="dark")}function cz({children:t}){const[r,a]=w.useState(D_),[s,l]=w.useState(()=>vp(D_())),u=w.useCallback(f=>{a(f);try{localStorage.setItem(ET,f)}catch{}const h=vp(f);l(h),Sp(h)},[]);return w.useEffect(()=>{Sp(vp(r))},[r]),w.useEffect(()=>{if(r!=="system"||typeof window>"u"||typeof window.matchMedia!="function")return;const f=window.matchMedia("(prefers-color-scheme: dark)"),h=()=>{const p=f.matches?"dark":"light";l(p),Sp(p)};return f.addEventListener("change",h),()=>f.removeEventListener("change",h)},[r]),E.jsx(AT.Provider,{value:{theme:r,resolvedTheme:s,setTheme:u},children:t})}function dz(t){const r=void 0;if(!r)return{};const a=void 0,s=void 0;return{isSatellite:!0,domain:r,...a?{signInUrl:a}:{},...s?{signUpUrl:s}:{}}}const fz="modulepreload",hz=function(t){return"/"+t},O_={},H=function(r,a,s){let l=Promise.resolve();if(a&&a.length>0){let p=function(g){return Promise.all(g.map(b=>Promise.resolve(b).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),h=f?.nonce||f?.getAttribute("nonce");l=p(a.map(g=>{if(g=hz(g),g in O_)return;O_[g]=!0;const b=g.endsWith(".css"),y=b?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${y}`))return;const S=document.createElement("link");if(S.rel=b?"stylesheet":fz,b||(S.as="script"),S.crossOrigin="",S.href=g,h&&S.setAttribute("nonce",h),document.head.appendChild(S),b)return new Promise((_,k)=>{S.addEventListener("load",_),S.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${g}`)))})}))}function u(f){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=f,window.dispatchEvent(h),!h.defaultPrevented)throw f}return l.then(f=>{for(const h of f||[])h.status==="rejected"&&u(h.reason);return r().catch(u)})},R_={de:{nav:{features:"Features",standards:"Standards",roadmap:"Roadmap",publisher:"Publisher",advertiser:"Advertiser",glossary:"Glossar",blog:"Blog",discover:"Entdecken",integration:"Integration",langSwitch:"EN",login:"Login",forLabel:"Für...",forPublisher:"Publisher",forPublisherDesc:"Monetarisiere dein Inventar",forAdvertiser:"Advertiser",forAdvertiserDesc:"Erreiche Agenten & Nutzer",forEnduser:"Enduser",forEnduserDesc:"Produkte entdecken via KI",forAgents:"Agenten",forAgentsDesc:"Directory & Integration"},hero:{badge:"Closed Beta",title:"Wenn ein KI-Agent ein Produkt empfiehlt,",titleHighlight:"passiert hier der Match-Moment.",subtitle:"Drei Dinge müssen zusammenkommen: der Content des Publishers, das Produkt der Marke, die Absicht des Nutzers. Nexbid ist die Schiene, auf der sie sich treffen â offen, transparent, ohne Lock-in.",waitlistCta:"Zugang beantragen",waitlistCount:"Bereits 20+ Unternehmen auf der Warteliste."},platformContext:{eyebrow:"Nexbid Agent Commerce Infrastructure",headline:"Eine Infrastruktur, zwei Marken-Produkte",subtitle:"Nexbid ist Brand und Agent-Commerce-Infrastruktur der digital opua GmbH (Walchwil, Schweiz). Diese Seite zeigt Nexbid for Marketing â den Agentic Ad Server. Mineralis ist die Schwester-Marke für KI-Equity-Research im Mining-/Energy-Sektor, technisch auf Nexbid-Infrastruktur.",appMarketingName:"Nexbid for Marketing",appMarketingStatus:"Live · Diese Seite",appMarketingDesc:"Agentic Ad Server mit Match-Moment für KI-Agenten. 90 % Revenue für Publisher, MIT-lizenziert, EU-konform.",appMineralisName:"Mineralis",appMineralisStatus:"In Vorbereitung 2026",appMineralisDesc:"KI-natives Equity Research für Mining & Energie. Eigenständige customer-facing Marke, auf Nexbid-Infrastruktur.",footer:"Beide Marken der digital opua GmbH · Gleiche Lean-4-verifizierte, EU-konforme Compliance-Basis"},platformHero:{badge:"Prüfbare Entscheidungen",title:"Nexbid Agent Commerce",titleHighlight:"Infrastructure",subtitle:"Du setzt die Grenzen, wir können sie beweisbar nicht verletzen â und was bezahlt ist, steht dran. Infrastruktur für agentischen Handel mit formal verifizierter Entscheidungslogik: 62 öffentliche Lean-4-Theoreme. EU-gehostet und MIT-lizenziert im Kern.",ctaArchitecture:"Architektur",ctaEuReadiness:"EU AI Act Readiness",ctaLeanProofs:"Beweise ansehen"},brandFamily:{eyebrow:"Brand Family",headline:"Eine Plattform, drei Verticals",subtitle:"Nexbid stellt die offene Infrastruktur â Verticals und Schwester-Marken bauen darauf auf. Marketing ist heute live, Mineralis ergänzt als customer-facing Schwester-Marke, weitere Verticals folgen 2026
39/27.",marketingName:"Nexbid for Marketing",marketingStatus:"Live",marketingTagline:"Vertical-Anwendung der Plattform",marketingDesc:"Agentic Ad Server für Publisher und Advertiser â AdCP-protocol-native, Match-Moment-Hub für KI-Agenten. 90 % Revenue an Publisher.",marketingCta:"Erkunden",mineralisName:"Mineralis",mineralisStatus:"Live",mineralisTagline:"Schwester-Marke auf Nexbid-Infrastruktur",mineralisDesc:"KI-natives Equity Research für Mining und Energie â für Family Offices und institutionelle Investoren. Eigenständige customer-facing Marke der digital opua GmbH.",mineralisCta:"mineralis.io besuchen",xName:"Nexbid for X",xStatus:"Roadmap 2026/27",xTagline:"Weitere Verticals geplant",xDesc:"Procurement, Public Services, Consumer-Layer â die Match-Moment-Architektur ist vertical-agnostisch und skaliert über Marketing hinaus.",xCta:"Roadmap ansehen",footer:"Alle Verticals auf gleicher Lean-4-verifizierter, EU-konformer Infrastruktur · digital opua GmbH (Walchwil, CH)"},platformThemes:{eyebrow:"Plattform-Themen",headline:"Worauf die Infrastruktur aufbaut",subtitle:"Vier Säulen, die Nexbid zur offenen, verifizierbaren, EU-souveränen Schicht für agentischen Handel machen.",themes:[{icon:"layers",title:"Architecture",desc:"Match-Moment-Hub, AdCP-protocol-native, Multi-Rail-Payment, 19 MCP-Tools. Vertical-agnostische Schicht zwischen Content, Produkt und Intent.",ctaLabel:"Architektur ansehen"},{icon:"shield",title:"EU AI Act Readiness",desc:"Schweizer GmbH-Sitz (Walchwil), Frankfurt-Hosting, nDSG-konform, ARTF/GAIA-X-Pfad â souveräne Alternative zu US-controlled UCP/ACP.",ctaLabel:"Compliance lesen"},{icon:"check",title:"Lean-4-Proofs",desc:"62 formal verifizierte Theoreme, 0 sorry, CI-grün â mathematisch geprüfte Kernlogik für Scoring, Auction, Budget, Wallet, End-to-End.",ctaLabel:"Proofs ansehen"},{icon:"plug",title:"AMDP â EU-Souveräner Mandate-Discovery-Standard im Aufbau",desc:"Agent Mandate Discovery Protocol als Open Standard â Co-Authoring mit IAB Tech Lab und Linux Foundation. ADR-040 acceptiert.",ctaLabel:"ADR-040 lesen"}]},matchMoment:{sectionTitle:"Wie der Match-Moment entsteht",sectionSubtitle:"Drei Dinge müssen zusammenkommen â und genau das ist, was Nexbid macht.",contentLabel:"Content",productLabel:"Produkt",intentLabel:"Intent",contentSubLabel:"des Publishers",productSubLabel:"der Marke",intentSubLabel:"des Nutzers",matchLabel:"Match-Moment",outputLabel:"Enriched Snippet"},matchMomentDemo:{eyebrow:"Live-Demo · echte Auktion",title:"Der Match-Moment â live und nachvollziehbar",lead:"Stelle eine Frage zu einem Betty-Bossi-Rezept â diese Seite sucht dazu ein echtes, passendes Rezept, löst eine echte Auktion gegen echte Kampagnenbudgets aus und zeigt alle vier Beweisebenen: de
39n Publisher-Kontext, die gewonnene Anzeige, die Score-Zerlegung und den Zahlungsbeleg.",disclaimer:"Jeder Lauf gibt echtes Werbebudget aus und liefert eine echte Anzeige aus â als Demo-Lauf gekennzeichnet, nicht aus organischem Publisher-Traffic. Maximal 10 Läufe pro Stunde und Besucher.",queryLabel:"Deine Frage",queryPlaceholder:"z. B. «Welcher Champagner passt zu geräuchertem Lachs?»",queryHint:"Wir suchen dazu ein echtes, passendes Betty-Bossi-Rezept und lassen die Auktion in dessen Kontext laufen.",runCta:"Auktion starten",runningLabel:"Auktion läuft â¦",stepContext:"1. Publisher-Kontext",stepMatch:"2. Gewonnene Anzeige",stepAuction:"3. Auktions-Trace",stepProof:"4. Beleg",resultQueryLabel:"Anfrage",noAuctionTrace:"Für diesen Lauf liegt keine Auktions-Zerlegung vor.",noWinnerTitle:"Kein Gewinner in diesem Lauf",noWinnerBody:"Die Auktion lief gegen den echten Publisher-Kontext â kein Gebot war relevant genug, um zu gewinnen. Das ist ein gültiges Ergebnis, kein Fehler dieser Seite.",noMatchTitle:"Kein passender Inhalt gefunden",noMatchBody:"Für diese Frage wurde kein passendes Betty-Bossi-Rezept gefunden â bitte anders formulieren.",invalidQueryTitle:"Frage ungültig",invalidQueryBody:"Bitte eine Frage zwischen 3 und 200 Zeichen eingeben.",archivedBadge:"Archivstand",archivedNotice:"Live-Auktion gerade nicht erreichbar. Diese Ansicht zeigt die letzte konservierte Auslieferung vom",rateLimitedTitle:"Limit für diese Stunde erreicht",rateLimitedBody:"Zu viele Demo-Läufe in dieser Stunde â bitte in etwa einer Stunde nochmal versuchen.",discoverFailedTitle:"Auktion nicht abgeschlossen",discoverFailedBody:"Der Auktionsdienst hat gerade nicht wie erwartet geantwortet. Es wird kein Ergebnis gezeigt â bitte gleich nochmal versuchen.",discoverUnreachableTitle:"Dienst gerade nicht erreichbar",discoverUnreachableBody:"Der Auktionsdienst ist im Moment nicht erreichbar. Bitte in ein paar Minuten nochmal versuchen.",networkErrorTitle:"Verbindung fehlgeschlagen",networkErrorBody:"Die Anfrage an diese Demo konnte nicht gesendet werden. Bitte Internetverbindung prüfen und nochmal versuchen.",genericErrorTitle:"Demo-Lauf fehlgeschlagen",genericErrorBody:"Der Demo-Lauf ist fehlgeschlagen.",statusLabel:"Status",retryCta:"Nochmal versuchen",seoTitle:"Match-Moment live â Glass-Box-Demo",seoDescription:"Eine echte Auktion, live ausgelöst: Publisher-Kontext, gewonnene Anzeige, Score-Zerlegung und Zahlungsbeleg in einem Durchlauf â mit echtem Kampagnenbudget.",evidencePendingBody:"Beleg noch nicht verbucht â die Verbuchung läuft asynchron und kann einen Moment dauern. Bitte gleich nochmal nachsehen.",receiptKeyLabel:"Ãffentlicher Schlüssel zur Verifikation:",semanticFallbackTitle:"Themen-Fallback statt Auktionsgewinn",semanticFallbackBody:"Dieses Ergebnis stammt aus dem thematischen Fallback (semantische Ãhnlichkeit), nicht aus einer gewonnenen Auktion â es gibt dafür keinen Auktions-Trace und keinen signierten Beleg. Der angezeigte Preis ist nicht der echte Produktpreis.",dailyCapNotice:"Tageslimit für Demo-Läufe erreicht. Diese Ansicht zeigt die letzte konservierte Auslieferung vom",moreSignalsLabel:"Weitere erkannte Signale",dashboardTitle:"Match-Momente",dashboardLead:"Die letzten Match-Momente für dieses Konto â als Advertiser (bezahlt) oder als Publisher (gutgeschrieben).",dashboardEmptyTitle:"Noch keine Match-Momente",dashboardEmptyBody:"Für dieses Konto liegen noch keine ausgelieferten Match-Momente vor. Sobald ein Agent eine gesponserte Anzeige sieht, erscheint sie hier.",groupCount:"Auktionen",groupTotal:"Summe",groupLatest:"Neueste Auktion",groupOthers:"weitere Auktionen dieser Gruppe",groupShowOthers:"Einzelne Auktionen anzeigen",groupHideOthers:"Einzelne Auktionen ausblenden",groupHideUnpaid:"House-Ads ausblenden (ohne Abrechnung)",groupWinner:"Gewinner",groupHouse:"House-Ad",dashboardLoadErrorTitle:"Match-Momente konnten nicht geladen werden",dashboardLoadErrorBody:"Bitte die Seite neu laden oder später erneut versuchen.",dashboardLoadingLabel:"Match-Momente werden geladen â¦",contextSignalLabels:{nx_cuisine:"Küche",nx_difficulty:"Schwierigkeit",nx_language:"Sprache",nx_intent:"Intent",nx_quality:"Qualität",nx_ingredients:"Zutaten",nx_season:"Saison",nx_occasion:"Anlass",nx_audience:"Zielgruppe",nx_affinity:"Affinität",nx_purchase_intent:"Kaufabsicht",nx_iab:"IAB-Kategorie",nx_brand:"Marke"}},features:{sectionTitle:"Warum Nexbid?",sectionSubtitle:"Agentic Commerce für alle â nicht nur für die Grössten.",items:[{icon:"bot",title:"Agentic-First",description:"KI-Agenten verhandeln im Interesse von Publishern und Advertisern. Kontextbasiert statt cookie-basiert."},{icon:"shield",title:"Privacy-Native",description:"Keine Cookies, kein Fingerprinting. Kontextuelle + agentenbasierte Signale. DSGVO-konform by Design."},{icon:"plug",title:"Standard-offen",description:"AdCP v2.0, OpenRTB, Prebid.js â Nexbid spricht die Sprache deines bestehenden Stacks."},{icon:"trending",title:"Faire Wertschöpfung",description:"Kein 30-70% Revenue-Verlust an Intermediäre. Direkte Verhandlung zwischen Agenten â für Publisher und Advertiser."},{icon:"eye",title:"100% Transparent",description:"Jede Auktionsentscheidung nachvollziehbar. Kein Black Box. Transparente Auktionen, offene Standards."},{icon:"unlock",title:"Kein Vendor Lock-in",description:"Self-hosted oder managed. Deine Daten, de
39in Server, deine Regeln."},{icon:"layers",title:"5 von 6 Ecosystem Layers",description:"Von Catalog-Readiness über Discovery bis Protocol Layer â Nexbid deckt 5 von 6 Schichten im AI Commerce Ecosystem ab. OpenAI und Google decken je nur 2."},{icon:"filter",title:"Kuratierung statt Ãberflutung",description:"Agenten bekommen 3â5 kuratierte Empfehlungen statt 10'000 Listings. Optimiert für Relevanz und Kaufwahrscheinlichkeit â kein Clickbait."}]},partners:{sectionTitle:"Erste Partner im Ãkosystem",sectionSubtitle:"Diese Unternehmen sind Teil der Nexbid Closed Beta.",items:[{name:"Betty Bossi",role:"Publisher",description:"7'000+ Rezepte im Nexbid-Ãkosystem",logo:"/logos/betty-bossi.svg",url:"https://www.bettybossi.ch"},{name:"The Champagne",role:"Brand Partner",description:"Schweizer Champagner-Brand â noch ohne Shop-Integration",logo:"/logos/the-champagne.svg",url:"https://www.the-champagne.ch"},{name:"digital opua",role:"Technology",description:"Software & KI-Produkte",logo:"/logos/digital-opua.png",url:"https://digital-opua.ch"},{name:"digital nalu",role:"Advertiser",description:"Marketing & Strategie",logo:"/logos/digital-nalu.svg",url:"https://digital-nalu.ch"}]},standards:{sectionTitle:"Standards & Protokolle",sectionSubtitle:"Nexbid setzt auf offene Standards â kein proprietäres Protokoll.",phase1:"Phase 1 (MVP)",phase2:"Phase 2",phase3:"Phase 3"},roadmap:{sectionTitle:"Roadmap",phases:[{phase:"Phase 0",title:"Closed Beta + GO",period:"Q1 2026",status:"done",items:["Discovery API + MCP Server live","40+ Publisher- & Advertiser-Interviews (DACH)","GO-Entscheidung 2026-04-10","Founding-Customer-Programm gelauncht"]},{phase:"Sprint 1-3",title:"Agent Discovery + Settlement",period:"April 2026",status:"done",items:["Agent Discovery hardening + 19 MCP-Tools","Enriched Snippet Billing + Publisher Dashboard","ACP-Interop + Prebid + Quality-Gates","x402 Mainnet live + Wallet-Pay Magic-Link"]},{phase:"Sprint 4",title:"Customer Portal + Multi-Rail",period:"Mai-Juni 2026",status:"active",items:["Customer Portal Phase 1 (Advertiser Self-Serve)","Brand-Agent-Wizard 8 Steps","Verified Agent Delivery + AAO Coalition","Universal Purchase Mandate Pilot (FOCUSWATER)"]},{phase:"Sprint 5-6",title:"OpenAI Bridge + Consumer-Layer",period:"Juli-Oktober 2026",status:"upcoming",items:["OpenAI CPC Bridge via StackAdapt","Customer Portal Phase 2 (Publisher) + Phase 3","Consumer-Layer Grad 2 (Click-to-Pay + Wallet)","Criteo Fast-Follow + AdCP v3 Self-Attested"]}]},waitlist:{sectionTitle:"Closed Beta",sectionSubtitle:"Nexbid ist in der Closed Beta. Bewirb dich jetzt für einen Platz.",emailPlaceholder:"[email protected]",submitButton:"Auf die Warteliste",submitting:"Wird gesendet...",successTitle:"Du bist dabei!",successMessage:"Wir melden uns, sobald die Beta startet.",rolePublisher:"Publisher",roleAdtech:"Ad-Tech Entwickler",roleAdvertiser:"Advertiser / Agentur",roleOther:"Sonstiges",rolePlaceholder:"Ich bin...",duplicateMessage:"Diese E-Mail ist bereits registriert.",errorMessage:"Etwas ist schiefgelaufen. Bitte versuche es später erneut."},productsPage:{title:"Produkte & Dienstleistungen",subtitle:"Entdecke Produkte, Dienstleistungen und Kurse von Commerce-Teilnehmern.",searchPlaceholder:"Produkte suchen...",allCategories:"Alle Kategorien",search:"Suchen",searching:"Suche...",resultsFound:"Ergebnisse gefunden in",noResults:"Keine Produkte gefunden. Versuche eine andere Suchanfrage.",inStock:"Verfügbar",preorder:"Vorbestellung",outOfStock:"Ausverkauft",updatedLabel:"Aktualisiert",geoOptions:{CH:"Schweiz",DE:"Deutschland",AT:"Ãsterreich",US:"USA",GB:"Grossbritannien"}},press:{badge:"Press Kit",title:"Nexbid in Zahlen",subtitle:"Alles was du für eine Berichterstattung über Nexbid brauchst.",facts:{title:"Unternehmen",founded:"Gegründet",foundedValue:"2026",hq:"Sitz",hqValue:"Walchwil, Schweiz",license:"Lizenz",licenseValue:"MIT (Open Core)",phase:"Phase",phaseValue:"Closed Beta",protocol:"Protokoll",protocolValue:"AdCP v2.0",standards:"Standards",standardsValue:"MCP, OpenRTB, Prebid (Roadmap)"},description:"Nexbid ist die offene Infrastruktur für Agentic Commerce. KI-Agenten verändern, wie Konsumenten Produkte finden â Nexbid gibt Publishern und Advertisern die Kontrolle zurück. Offen, transparent, ohne Lock-in.",metrics:{title:"Kennzahlen",endpoints:"API Endpoints",theorems:"Formal verifizierte Theoreme",migrations:"DB Migrationen",standards:"Standards (3 live)"},logos:{title:"Logos & Brand Assets",dark:"Logo (Dunkel)",light:"Logo (Hell)",icon:"Icon",colors:"Brand-Farben"},presentations:{title:"Präsentationen",subtitle:"Herunterladbare Decks für verschiedene Zielgruppen.",driveLink:"Alle Materialien im Google Drive",decks:[{title:"Strategic Overview",audience:"C-Level, Investoren"},{title:"Publisher Guide",audience:"Publisher, Ad Ops"},{title:"Advertiser Guide",audience:"E-Commerce, Brands"},{title:"Marketing Teams",audience:"Marketing Ops"},{title:"Technical Overview",audience:"CTOs, Entwickler"}
39,{title:"Product Demo",audience:"Alle Zielgruppen"},{title:"Open Source & Protocol",audience:"Developer Community"},{title:"Market & Trends",audience:"Analysten, Presse"}]},contact:{title:"Kontakt",email:"[email protected]",website:"nexbid.dev"},cta:"Interesse an einer Story? Schreib uns."},footer:{builtBy:"Gebaut von",company:"digital opua GmbH",switzerland:"Schweiz",license:"Alle Rechte vorbehalten · MIT License (Open Core)",preferredSourceLabel:"Als bevorzugte Quelle bei Google hinzufügen",preferredSourceHint:"öffnet bei Google",preferredSourcePath:"/bevorzugte-quelle",preferredSourceWhat:"Was ist das?",privacy:"Datenschutz",imprint:"Impressum",terms:"AGB",press:"Press Kit",siteNavLabel:"Seitennavigation",newBadge:"Neu",colProduct:"Produkt",colContent:"Inhalte",colDevelopers:"Entwickler",colResources:"Ressourcen",colCompany:"Unternehmen",linkDiscover:"Match-Engine",linkCompare:"Vergleich",linkBrands:"Marken",linkProducts:"Produkte",linkRecipes:"Rezepte",linkEditorials:"Magazin",linkServices:"Dienstleistungen",linkDocs:"Dokumentation",linkMcpDocs:"MCP-Dokumentation",linkScoringDocs:"Scoring-Formel",linkVerificationDocs:"Lean-4-Verifikation",linkAgentManifest:"Agent-Manifest",linkVerifiedDelivery:"Verified Agent Delivery",linkTechnology:"Technologie",linkAgenticCommerce:"Was ist Agentic Commerce",linkMonetizeContent:"Content monetarisieren",linkOpenVsOpen:"MIT vs. Apache 2.0",linkPricing:"Preise & Programme",linkPublisherMcp:"MCP für Publisher",linkSupport:"Support",verticalArchitecture:"Schwester-Marke der digital opua GmbH",linkSisterVertical:"Mineralis (Mining & Energy)",sisterBrandDesc:"KI-natives Equity Research für Mining und Energie · Für Family Offices und institutionelle Investoren",sisterBrandCta:"mineralis.io besuchen"},legal:{lastUpdated:"Letzte Aktualisierung",backToHome:"Zurück zur Startseite",privacyTitle:"Datenschutzerklärung",imprintTitle:"Impressum",termsTitle:"Allgemeine Geschäftsbedingungen"},publisher:{badge:"Für Publisher",heroTitle:"Du bringst die Seiten.",heroHighlight:"Wir bringen den Match-Moment.",heroSubtitle:"Wenn ein KI-Agent ein Produkt empfiehlt, sucht er Content der dazu passt. Nexbid macht deine Seiten für KI lesbar und bringt zahlende Marken dazu. Pro Empfehlung mit deinem Content verdienst du â nicht der Vermittler dazwischen. Transparent, datenschutzkonform, ohne Cookies.",howItWorks:"So funktioniert es",steps:[{number:"01",title:"Nexbid Tag integrieren",description:"Ein JavaScript-Snippet auf deiner Seite. Nexbid scannt den Content â Thema, Sentiment, Entitäten â und reichert jede Ad-Anfrage mit diesen Signalen an. DSPs erhalten dadurch präziseren Kontext, matchen besser und bieten höher."},{number:"02",title:"Relevanz statt Tracking",description:"KI-Agenten matchen Werbung zum Seiteninhalt, nicht zum Nutzerprofil. Das Ergebnis: Ads, die deine Leser wirklich ansprechen â und höhere Gebote von Advert
39isern."},{number:"03",title:"Mehr Revenue pro Impression",description:"Relevante Werbung = höheres Engagement = höhere CPMs. Ohne Intermediary-Cuts behältst du mehr von dem, was dein Inventar wert ist."}],featuresTitle:"Gebaut für Publisher",features:[{icon:"code",title:"Context API",description:"Versteht deine Inhalte auf Seitenebene â Thema, Sentiment, Entitäten. Damit Nutzer Werbung sehen, die zum Kontext passt. Ohne Tracking."},{icon:"signal",title:"Signal Enrichment",description:"Reichert jede Ad-Anfrage mit Content-Intelligenz an. Bessere Signale bedeuten relevantere Ads für den Nutzer â und höhere CPMs für dich."},{icon:"eye",title:"Auktions-Transparenz",description:"Sieh jedes Gebot, jede Entscheidung, jeden Grund. Keine Black-Box-Auktionen mehr, die deine Margen fressen."},{icon:"chart",title:"Revenue Analytics",description:"Echtzeit-Dashboard mit CPM-Trends, Fill Rates und Nutzer-Engagement. Deine Daten, deine Insights."},{icon:"trending",title:"Agent-Discovery-Revenue",description:"KI-Agenten werden zum wichtigsten Entdeckungskanal. Nexbid bringt deinen Content direkt zu Claude, ChatGPT und Gemini â und monetarisiert jede Agent-Anfrage."}],codeTitle:"Ein Tag. Volle Kontrolle.",pricingTitle:"Publisher-Programm",pricingSubtitle:"Vier Optionen â von Founding bis Enterprise. Founding-Plätze limitiert auf 10.",pricingTrustBadge:"Verified Agent Delivery â jede Auslieferung mit Ed25519-Signatur. Kein Bot-Volumen, keine halluzinierten Snippets.",pricingTiers:[{name:"Founding Publisher",price:"ab CHF 5000",priceDetail:"einmalig + ab CHF 200/Monat",fee:"5% Platform Fee (12 Monate)",feeAfter:"Danach 10% · Publisher behält 90%",features:["Vollständiges Onboarding","Feed-Ingest + KI-Enrichment","Inventar-Setup + GAM-Integration","Enriched Snippet Setup","Monthly Reporting + Review"],highlight:!0},{name:"Managed Publisher",price:"ab CHF 1000",priceDetail:"/Monat",fee:"10% Platform Fee · Publisher behält 90%",feeAfter:"Dedizierter Account Manager + Reporting",features:["Laufendes Management","Feed-Ingest + KI-Enrichment","Inventar-Setup + GAM-Integration","Enriched Snippet Setup","Monthly Reporting + Review"],highlight:!1},{name:"Enterprise",price:"ab CHF 25 000",priceDetail:"Setup + ab CHF 60 000/Jahr",fee:"Flat-Fee · Unlimited Enriched Snippets",feeAfter:"SLA, Custom Scoring, dedicated Engineer (L)",features:["Multi-Property möglich","Priority Support & SLA","Dedicated Engineer (Enterprise L)","Custom Scoring & Integrations","Unlimited Enriched Snippets"],highlight:!1},{name:"Self-Serve",price:"Kostenlos",priceDetail:"",fee:"10% Platform Fee",feeAfter:"",features:["Eigenstaendiges Setup","Dokumentation + API","Community-Support"],highlight:!1}],ctaTitle:"Werbung, die Nutzer nicht stört â sondern bereichert.",ctaSubtitle:"Trag dich auf die Warteliste ein und erfahre, wie User-Relevanz deine CPMs steigert.",ctaButton:"Auf die Warteliste"},advertiser:{badge:"Für Advertiser",heroTitle:"Du bringst die Produkte.",heroHighlight:"Wir bringen den Match-Moment.",heroSubtitle:"KI-Agenten empfehlen heute Produkte â aber nicht deine. Nexbid bringt deinen Produktfeed in Minuten in den Empfehlungs-Moment. Dein Produkt im richtigen Content-Kontext, beim richtigen Nutzer.",howItWorks:"Zwei Wege zum Nutzer",route1Badge:"Agent-to-Agent",route1Title:"Agent-to-Agent Commerce",route1Subtitle:"Das offene Ãkosystem für KI-Agenten. Wie ein Amazon für Agenten â dein Angebot wird gefunden, ohne Google, ohne Suchmaschine.",route1Steps:[{number:"01",title:"Nutzer gibt dem Agenten einen Auftrag",description:'Der Nutzer sagt seinem KI-Agenten: âFinde Laufschuhe unter CHF 200." Der Agent kennt die Präferenzen â Lieblingsmarke, Grösse, Budget â und macht sich auf die Suche.'},{number:"02",title:"Agent kommt auf Nexbids Plattform",description:"Der Agent erreicht Nexbids offenes Ãkosystem und übergibt Signale: Präferenzen, Budget, Grösse. Nexbid matched Content, Produkt und Intent â und gibt eine Handvoll relevanter Top-Empfehlungen zurück. Optimiert für Kaufwahrscheinlichkeit, nicht für Klicks."},{number:"03",title:"Ergebnis: direkt, transparent, ohne Mittelsmann",description:"Kein Google, keine Suchmaschine, kein Dis
39play-Netzwerk. Agent-to-Agent â offen, transparent und auf echte Nutzer-Relevanz optimiert."}],route2Badge:"Classic + Agentic",route2Title:"Klassische Werbung, optional agentic",route2Subtitle:"Display, Video, Native â auf bekannten Publishern und Netzwerken. Mit oder ohne Agenten-Optimierung.",route2Steps:[{number:"01",title:"Klassische Werbung einkaufen",description:"Display, Video, Native Ads â auf bekannten Publishern, Netzwerken, direkt oder programmatisch. Bewährte Formate, bewährte Kanäle."},{number:"02",title:"Agentic Media-Einkauf über DCM",description:"Ãber digital-campaign-manager.com eigene Agenten für den Media-Einkauf nutzen. Branding, Performance, Retargeting â alles agentengesteuert."},{number:"03",title:"Flexibel einsetzbar",description:"Mit oder ohne Agenten â als regulärer Ad Server oder mit voller Agentensteuerung. Du bestimmst den Grad der Automatisierung."}],featuresTitle:"Gebaut für Advertiser",features:[{icon:"rss",title:"Offenes Ãkosystem",description:"Nexbid als offener Marktplatz â jeder Agent kann anfragen, jeder Advertiser kann anbieten. Ein neuer Kanal neben Search und Display."},{icon:"bot",title:"Klassische + Agentic Ads",description:"Display, Video, Native â mit oder ohne Agenten-Optimierung. Klassische Formate, optional mit KI-gestütztem Media-Einkauf."},{icon:"target",title:"Volle Attribution",description:"End-to-End-Tracking über beide Wege. Jede Impression, jeder Klick, jede Conversion â lückenlos und transparent."},{icon:"link",title:"DCM-Integration",description:"Optional: digital-campaign-manager.com für Kampagnensteuerung mit eigenen Agenten. Branding, Performance, Retargeting â alles aus einer Plattform."},{icon:"zap",title:"In Minuten, nicht Monaten",description:"Dein bestehender Google Shopping Feed genügt. Der Feed Ingestor normalisiert und strukturiert ihn automatisch für AI-Agenten â kein Aufwand, kein Umbau."}],protocolTitle:"Powered by AdCP v2.0",protocolSubtitle:"Nexbid deckt 5 von 6 Layers im AI Commerce Ecosystem ab â von Catalog-Readiness über Discovery bis Protocol. OpenAI und Google bauen Walled Gardens. Wir bauen offene Rails. MIT-lizenziert.",pricingTitle:"Advertiser-Programm",pricingSubtitle:"Vier Optionen â von Founding bis Enterprise. Publisher-less Snippet Mode verfügbar: auch ohne Publisher-Match platzieren wir intent-basierte Snippets.",pricingTrustBadge:"Verified Agent Delivery â jede Auslieferung mit Ed25519-Signatur. Du zahlst nur für echte Agent-Touchpoints, kein Bot-Volumen.",pricingTiers:[{name:"Founding Advertiser",price:"ab CHF 5000",priceDetail:"einmalig + ab CHF 500/Monat",fee:"10% Rabatt auf Enriched Snippets (12 Monate)",feeAfter:"CHF 1000 Startkredit + danach Standard-Pricing",features:["Vollständiges Onboarding","Feed-Ingest + KI-Enrichment","Digital Brand Environment","Enriched Snippet Setup","AEO-Audit","Zugang zu Publisher-Media-Deals"],highlight:!0},{name:"Managed Advertiser",price:"ab CHF 3500",priceDetail:"/Monat Base",fee:"10% Platform Fee auf Publisher-Match",feeAfter:"Monthly Floor ab CHF 500 · Add-Ons ab CHF 500/Monat",features:["Dedizierter Account Manager","Monthly Report + AEO-Monitoring","Publisher-Deal-Moderation","Publisher-less Snippet Mode inklusive","Priority Support","Modulare Add-Ons (DCM, Deal-Sourcing, Content-Produktion)"],highlight:!1},{name:"Enterprise",price:"ab CHF 25 000",priceDetail:"Setup + ab CHF 60 000/Jahr",fee:"Flat-Fee · Unlimited Enriched Snippets",feeAfter:"Custom Scoring, SLA, dedicated Engineer (L)",features:["Multi-Brand Setup","Publisher-less Snippet Mode inklusive","Priority SLA (M) / 99.9% SLA (L)","Custom Scoring & Integrations","Dedicated Engineer (Enterprise L)","Annual Contract"],highlight:!1},{name:"Self-Serve",price:"Kostenlos",priceDetail:"",fee:"Standard-Pricing",feeAfter:"",features:["Eigenstaendiges Setup","Dokumentation + API + MCP-Server","Community-Support","Kein Brandraum, kein Enrichment, keine Publisher-Deals"],highlight:!1}],ctaTitle:"Zwei Wege. Volle Kontrolle.",ctaSubtitle:"Trag dich auf die Warteliste ein und erfahre, wie Agent-to-Agent Commerce und Agentic Campaigns deine C
39onversions steigern.",ctaButton:"Auf die Warteliste"},glossary:{pageTitle:"Glossar",pageSubtitle:"Wichtige Begriffe aus Agentic Advertising, Ad-Tech, Privacy und Protokollen â einfach erklärt.",searchPlaceholder:"Begriffe suchen...",allCategories:"Alle",categoryAgentic:"Agentic",categoryAdtech:"Ad-Tech",categoryPrivacy:"Privacy",categoryProtocol:"Protokolle",categoryTechnical:"Technisch",noResults:"Keine Begriffe gefunden.",relatedTerms:"Verwandt"},blog:{pageTitle:"Blog",pageSubtitle:"Einblicke in Agentic Advertising, Privacy-First Ad-Tech und die Zukunft der programmatischen Werbung.",allPosts:"Alle Beiträge",noPosts:"Keine Beiträge gefunden.",readMore:"Weiterlesen",notFound:"Beitrag nicht gefunden",backToBlog:"Zurück zum Blog",relatedPosts:"Verwandte Beiträge"},docs:{pageTitle:"Dokumentation",pageSubtitle:"Alles, was du brauchst, um mit Nexbid zu starten â als Publisher, Advertiser, Agent-Entwickler oder End-User.",tabs:{publisher:"Publisher",advertiser:"Advertiser",enduser:"End-User & KI-Agenten",developer:"Developer"},gettingStarted:"Erste Schritte",apiEndpoints:"API-Endpunkte",integration:"Integration",mcpServer:"MCP Server",productFeed:"Produktfeed",availableTools:"Verfügbare Tools",techStack:"Tech-Stack",openSource:"Status & Roadmap",viewOnGithub:"Kontakt aufnehmen",openApiSpec:"OpenAPI-Spezifikation",comingSoon:"Kommt bald",baseUrl:"Basis-URL",method:"Methode",description:"Beschreibung",response:"Antwort",example:"Beispiel",parameters:"Parameter"},discover:{badge:"Kostenlos für Nutzer",heroTitle:"Finde die besten Angebote.",heroHighlight:"Dein Agent sucht für dich.",heroSubtitle:"Nexbid verbindet dich über deinen KI-Agenten direkt mit Marken und Angeboten â ohne Tracking, ohne Werbung, ohne Mittelsmann. Sag deinem Agenten, was du suchst, und er findet es.",voteCta:"Brands bewerten",suggestCta:"Brand vorschlagen",freeLabel:"Nexbid ist und bleibt kostenlos für Endverbraucher.",votingTitle:"Welche Brands willst du finden?",votingSubtitle:"Stimme für die Marken ab, die du als Erstes auf Nexbid sehen willst. Die Top-Brands laden wir zuerst ein.",votesLabel:"Stimmen",suggestionTitle:"Deine Lieblingsmarke fehlt?",suggestionSubtitle:"Schlage eine Marke vor, die du auf Nexbid sehen willst. Wir kontaktieren sie für dich.",brandPlaceholder:"Markenname (z.B. Migros, Nike, ...)",emailPlaceholder:"Deine E-Mail (optional)",suggestButton:"Marke vorschlagen",submitting:"Wird gesendet...",suggestionSuccessTitle:"Danke für deinen Vorschlag!",suggestionSuccessMessage:"Wir nehmen Kontakt mit der Marke auf.",suggestAnother:"Weitere Marke vorschlagen",errorMessage:"Etwas ist schiefgelaufen. Bitte versuche es später erneut.",howItWorksTitle:"So funktioniert Nexbid für dich",howItWorksSubtitle:"Drei Schritte â und dein Agent findet das beste Angebot.",steps:[{number:"01",title:"Sag deinem Agenten, was du suchst",description:'âFinde Laufschuhe unter CHF 200" â dein KI-Agent kennt deine Präferenzen und startet die Suche.'},{number:"02",title:"Dein Agent fragt Nexbid",description:"Nexbid filtert, rankt und liefert die relevantesten Ergebnisse zurück â basierend auf echtem Kontext, nicht auf Tracking."},{number:"03",title:"Du bekommst das beste Angebot",description:"Direkt, transparent, ohne Mittelsmann. Kein Google, kein Display-Netzwerk â Agent-to-Agent."}],features:[{icon:"shield",title:"Kein Tracking",description:"Keine Cookies, kein Fingerprinting, keine Werbeprofile. Deine Daten bleiben bei dir."},{icon:"bot",title:"Agent-First",description:"Dein KI-Agent verhandelt für dich â schneller, günstiger und relevanter als jede Suchmaschine."},{icon:"trending",title:"Bessere Preise",description:"Ohne Intermediäre, die 30-70% abschöpfen, können Marken bessere Preise direkt an dich weitergeben."},{icon:"filter",title:"Kuratiert, nicht überflutet",description:"Dein Agent bekommt eine handverlesene Auswahl statt endlose Listen â optimiert für deine Präferenzen, nicht für Werbebudgets."}],bottomCta:"Jetzt Brands bewerten"},enduser:{badge:"Für Enduser",heroTitle:"Finde die besten Produkte",heroHighlight:"mit deinem KI-Agenten",heroSubtitle:"Nexbid verbindet KI-Agenten mit Tausenden von Produkten â transparent, werbefrei, datenschutzkonform.",searchPlaceholder:'Was suchst du? z.B. "Laufschuhe unter 150 CHF"',searchButton:"Suchen",searchPowered:"Powered by Nexbid Discovery API â keine Cookies, kein Tracking",uspPrivacyTitle:"Privacy-First",uspPrivacyDesc:"Keine Cookies, kein Fingerprinting. Daten bleiben in der EU (Frankfurt). nDSG & DSGVO konform.",uspSpeedTitle:"Sofortige Ergebnisse",uspSpeedDesc:"Unter 100ms Antwortzeit. Dein Agent bekommt Ergebnisse in Echtzeit.",uspPricesTitle:"Echte Preise",uspPricesDesc:"Aktuelle Preise und Verfügbarkeit direkt von den Shops.",uspAgentTitle:"Agent-Kompatibel",uspAgentDesc:"Funktioniert mit Claude, ChatGPT, Gemini und jedem MCP-fähigen Agenten.",howTitle:"So funktioniert's",howStep1Title:"Frage de
39inen Agenten",howStep1Desc:'"Finde mir einen leisen Staubsauger unter 300 CHF"',howStep2Title:"Agent durchsucht Nexbid",howStep2Desc:"Tausende Produkte in Millisekunden",howStep3Title:"Ergebnisse mit Kontext",howStep3Desc:"Preise, Reviews, Vergleiche â alles strukturiert",setupTitle:"Deinen Agenten verbinden",setupDesc:"Füge Nexbid als MCP-Server hinzu und dein Agent kann sofort Produkte finden.",setupCta:"Setup-Anleitung",directoryCta:"Agenten-Directory",seoTitle:"KI-gestützte Produktsuche â Nexbid für Enduser",seoText:"Nexbid revolutioniert die Art, wie du Produkte findest. Statt selbst durch Dutzende Shops zu klicken, übernimmt dein KI-Agent die Suche â schnell, präzise und datenschutzkonform. Die Nexbid Discovery API verbindet KI-Agenten wie Claude, ChatGPT und Gemini mit Tausenden von Produkten aus dem DACH-Raum. Dabei werden keine Cookies gesetzt und kein Fingerprinting durchgeführt â die gesamte Verarbeitung erfolgt in der EU (Frankfurt), konform mit nDSG und DSGVO. Ob du nach den besten Laufschuhen unter 150 CHF suchst, einen leisen Staubsauger vergleichen willst oder das günstigste Angebot für ein bestimmtes Smartphone brauchst: Dein Agent fragt Nexbid und erhält in unter 100 Millisekunden strukturierte Ergebnisse mit aktuellen Preisen, Verfügbarkeit und Bewertungen. Nexbid ist die offene Commerce-Infrastruktur für das Zeitalter der KI-Agenten â transparent, werbefrei und ohne Vendor Lock-in. Als Enduser ist die Nutzung kostenlos. Du musst lediglich deinen KI-Agenten mit dem Nexbid MCP-Server verbinden, und schon kann er für dich die besten Produkte finden. Die Zukunft des Einkaufens ist agent-basiert â und mit Nexbid bist du dabei.",faqTitle:"Häufige Fragen",faq:[{q:"Was ist Nexbid?",a:"Nexbid ist die offene Commerce-Infrastruktur für KI-Agenten. Dein Agent kann über Nexbid Produkte suchen, vergleichen und die besten Angebote finden â transparent und ohne Werbung."},{q:"Ist die Nutzung kostenlos?",a:"Ja, für Enduser ist Nexbid komplett kostenlos. Auch Publisher zahlen keine Gebühr â sie liefern Content (Seiten) und bekommen 90 % vom Enriched Snippet. Advertiser bezahlen das Placement ihrer Produkte im passenden Content, Nexbid behält 10 % Platform Fee."},{q:"Welche KI-Agenten funktionieren mit Nexbid?",a:"Claude (Anthropic), ChatGPT (OpenAI), Gemini (Google), sowie jeder MCP-fähige oder REST-API-fähige Agent. Im Agenten-Directory findest du eine vollständige Ãbersicht."},{q:"Wie steht es um den Datenschutz?",a:"Nexbid setzt keine Cookies und nutzt kein Fingerprinting. Alle Daten werden in der EU (Frankfurt) verarbeitet. Wir sind nDSG- und DSGVO-konform."},{q:"Wie aktuell sind die Preise?",a:"Die Produktdaten werden regelmässig über automatisierte Feeds aktualisiert. Die Aktualität hängt vom jeweiligen Publisher ab, ist aber typischerweise tagesaktuell."},{q:"Kann ich direkt über Nexbid kaufen?",a:"Noch nicht direkt. Nexbid leitet dich aktuell zum Shop des Anbieters weiter. Ein integrierter Kaufprozess ist für die Zukunft geplant."}]},agents:{badge:"Für Agenten",heroTitle:"Das offene Netzwerk",heroHighlight:"für KI-Agenten",heroSubtitle:"Nexbid ist die zentrale Commerce-Datenquelle für Agenten. Offen, schnell, strukturiert â ohne Walled Gardens.",statsAgents:"Kompatible Agenten",statsLatency:"à Antwortzeit",statsUptime:"Uptime (30d)",statsLicense:"Open Source",directoryTitle:"Agent Directory",directorySubtitle:"Kompatible Agenten und ihre Performance",infoTitle:"Für Agenten: Info-Endpunkt",infoDesc:"Strukturierte Infos, die ein Agent seinen Nutzern weitergeben kann",devTitle:"Developer Hub",devSubtitle:"So baust du Nexbid in deinen Agenten ein",devItems:[{title:"MCP Server",description:"Model Context Protocol â der schnellste Weg zur Integration",link:"/docs/mcp"},{title:"REST API",description:"Universelle JSON API mit API Key Authentifizierung",link:"/docs"},{title:"llms.txt",description:"Maschinenlesbare Projektbeschreibung für LLMs",link:"https://nexbid.dev/llms.txt"},{title:"agents.json",description:"Agent-Manifest nach OpenAI-Standard",link:"https://nexbid.dev/agents.json"}],whyTitle:"Warum Agenten Nexbid bevorzugen",whyItems:[{title:"Schnelle Antworten",description:"Unter 100ms Antwortzeit â Agenten bevorzugen sc
39hnelle Quellen."},{title:"Strukturierte Daten",description:"JSON statt HTML-Scraping. Preise, Bilder, Kategorien â alles strukturiert."},{title:"Feedback-Loop",description:"Agenten lernen, dass Nexbid relevante Ergebnisse liefert â und kommen wieder."},{title:"Keine Walled Gardens",description:"Offenes Protokoll (MCP), keine proprietären APIs, kein Vendor Lock-in."}],seoTitle:"KI-Agenten Integration â Nexbid Agent Directory & API",seoText:"Nexbid ist die offene Commerce-Infrastruktur, die speziell für KI-Agenten entwickelt wurde. Als zentrale Datenquelle für Agentic Commerce bietet Nexbid strukturierte Produktdaten über das Model Context Protocol (MCP) und eine REST API. Agenten wie Claude (Anthropic), ChatGPT (OpenAI) und Gemini (Google) können über Nexbid Produkte suchen, vergleichen und ihren Nutzern die besten Angebote präsentieren â in unter 100 Millisekunden. Das Agent Directory zeigt alle kompatiblen Agenten mit ihren Protokollen, Fähigkeiten und durchschnittlichen Antwortzeiten. Entwickler finden im Developer Hub alles, was sie für die Integration brauchen: MCP-Server-Konfiguration, REST API Dokumentation, llms.txt und agents.json. Nexbid setzt auf offene Standards statt proprietärer Protokolle â im Gegensatz zu OpenAI ACP oder Google UCP. Die gesamte Kommunikation erfolgt über das offene MCP-Protokoll, das von Anthropic entwickelt und als Open Standard veröffentlicht wurde. Für Agenten-Entwickler bedeutet das: Keine Lock-in-Risiken, keine proprietären SDKs, keine versteckten Kosten. Die Integration ist in wenigen Minuten erledigt und die Daten sind sofort verfügbar.",faqTitle:"Häufige Fragen",faq:[{q:"Wie integriere ich meinen Agenten?",a:"Am schnellsten über MCP: Füge den Nexbid MCP-Server zu deiner Agent-Konfiguration hinzu. Alternativ: REST API mit POST /v1/discover."},{q:"Brauche ich einen API Key?",a:"Für MCP: Nein, keine Authentifizierung nötig. Für REST API: Ja, kostenloser API Key über das Dashboard."},{q:"Welche Daten liefert Nexbid?",a:"Produktname, Preis, Beschreibung, Bilder, Kategorie, Shop-URL, Verfügbarkeit und Bewertungen â alles als strukturiertes JSON."},{q:"Wie schnell ist die API?",a:"Durchschnittlich unter 80ms. Die schnellsten Agenten (Custom MCP) erreichen 45ms."},{q:"Ist die Nutzung kostenlos?",a:"Für Entwicklung und Testing: Ja. Für Production: Kostenlos bis zu einem bestimmten Volumen, danach Usage-basiert."},{q:"Was ist der Unterschied zu OpenAI ACP?",a:"Nexbid nutzt das offene MCP-Protokoll statt proprietärer APIs. Kein Vendor Lock-in, volle Kontrolle, MIT-lizenziert."}],infoPageTitle:"Nexbid Agent Information",infoPageDesc:"Alle Informationen die ein KI-Agent über Nexbid benötigt"},integration:{badge:"Integration",title:"Nexbid integrieren",subtitle:"Wähle deinen Integrationspfad â als Publisher oder Advertiser. In wenigen Minuten eingerichtet.",cards:[{icon:"code",title:"Publisher-Integration",description:"Integriere den Nexbid AdTag via GTM, Tealium oder manuell. Contextual Signals für höhere CPMs.",link:"/integration/publisher",cta:"Zur Publisher-Anleitung"},{icon:"rss",title:"Advertiser-Integration",description:"Lade deinen Produktfeed hoch â via CSV, API, Google Merchant Center oder manuell.",link:"/integration/advertiser",cta:"Zur Advertiser-Anleitung"}]},integrationPublisher:{badge:"Publisher",title:"Publisher-Integration",subtitle:"Drei Wege, den Nexbid AdTag auf deiner Website einzubinden. Wähle die Methode, die zu deinem Setup passt.",backLink:"Zurück zur Ãbersicht",methodLabel:"Methode",copyLabel:"Kopieren",methods:[{id:"gtm",title:"Google Tag Manager",description:"Empfohlen für die meisten Publisher. Kein Deployment nötig.",steps:["Ãffne den Google Tag Manager und erstelle einen neuen Custom HTML Tag.","Füge den Nexbid-Code ein und ersetze YOUR_PUBLISHER_ID mit deiner ID.",'Setze den Trigger auf "All Pages" oder die gewünschten Seiten.',"Veröffentliche den Container."],code:"gtm"},{id:"tealium",title:"Tealium iQ",description:"Für Enterprise-Publisher mit Tealium Tag Management.",steps:['Erstelle ein neues "Generic Tag" in Tealium iQ.',"Füge das Nexbid-Snippet als Custom Script ein.","Konfiguriere Load Rules für die gewünschten Seiten.","Publish die Ãnderungen in deinem Tealium-Profil."],code:"manual"},{id:"manual",title:"Manuelles Snippet",description:"Direkt im HTML â für volle Kontrolle ohne Tag Manager.",steps:["Kopiere das Snippet unten.","Ersetze YOUR_PUBLISHER_ID mit deiner Publisher-ID.","Füge es vor dem schliessenden </head> Tag ein.","Deploye die Ãnderung auf deiner Website."],code:"manual"}],ctaTitle:"Individuelles Onboarding",ctaDescription:"Brauchst du Hilfe bei der Integration? Unser Team unterstützt dich â kostenlos in Phase 0.",ctaButton:"Kontakt aufnehmen"},integrationAdvertiser:{badge:"Advertiser",title:"Advertiser-Integration",subtitle:"Vier Wege, deine Produkte auf Nexbid zu listen. Wähle die Methode, die zu deinem Workflow passt.",backLink:"Zurück zur Ãbersicht",comingSoonLabel:"Bald verfügbar",methods:[{icon:"trending",title:"CSV-Import",description:"Lade eine CSV-Datei mit deinen Produkten hoch. Ideal für den schnellen Start.",details:["Lade die CSV-Vorlage herunter","Fülle die Pflichtfelder aus: N
39ame, Preis, Kategorie, URL","Lade die Datei im Dashboard hoch","Produkte sind sofort live"]},{icon:"plug",title:"API / Feed-URL",description:"Verbinde deinen bestehenden Produktfeed direkt mit Nexbid.",details:["JSON- oder XML-Feed wird unterstützt","Automatische Synchronisation alle 6 Stunden","Google Merchant Center-Format kompatibel","Webhook-Benachrichtigungen bei Fehlern"]},{icon:"link",title:"Google Merchant Center",description:"Verbinde dein GMC-Konto per OAuth â automatischer Import.",details:["Ein-Klick OAuth-Verbindung","Automatischer Produkt-Sync","Kategorien werden übernommen","Preis- und Verfügbarkeits-Updates in Echtzeit"],comingSoon:!0},{icon:"eye",title:"Manueller Editor",description:"Erfasse Produkte einzeln im Dashboard â für kleine Kataloge.",details:["Formular-basierte Eingabe","Bild-Upload direkt im Browser","Vorschau vor Veröffentlichung","Ideal für Einzelprodukte oder Tests"],comingSoon:!0}],formatTitle:"Unterstützte Feed-Formate",formatDescription:"Nexbid unterstützt die gängigen Produktfeed-Formate. Google Merchant Center-Feeds funktionieren ohne Anpassung.",formats:[{name:"JSON",description:"Standard-Format für API-Integration. Schema auf docs.nexbid.dev"},{name:"XML",description:"Google Shopping-kompatibles XML. Automatische Feld-Erkennung."},{name:"CSV",description:"Einfaches Tabellenformat. Template-Download im Dashboard."},{name:"TSV",description:"Tab-separiert. Kompatibel mit Google Merchant Center-Exports."}],ctaTitle:"Individuelles Onboarding",ctaDescription:"Brauchst du Hilfe bei der Feed-Integration? Unser Team unterstützt dich â kostenlos in Phase 0.",ctaButton:"Kontakt aufnehmen"},go:{publishers:{hero:{badge:"Für Publisher",title:"Deine Seiten verlieren an Wert.",highlight:"KI-Agenten sind die Lösung.",subtitle:"Nexbid verbindet deinen Content mit den Produkten von Advertisern â wenn User via KI-Agent suchen. Du lieferst die Seiten, Advertiser liefern Produkte und Budget, du bekommst 90 % vom Enriched Snippet."},problems:[{icon:"trending",title:"Sinkende CPMs",description:"Klassische Display-Werbung verliert an Wert. Cookie-Deprecation beschleunigt den Trend."},{icon:"eye",title:"Unsichtbar für Agenten",description:"KI-Agenten crawlen deine Seiten, ohne dir etwas zurückzugeben â und ohne Advertiser-Produkte zu kennen, die perfekt in deinen Content passen würden."},{icon:"shield",title:"Vendor Lock-in",description:"Proprietäre Plattformen diktieren Konditionen. Du hast keine Kontrolle."}],solutions:[{icon:"bot",title:"Content à Produkt à Intent",description:"Deine Seiten werden mit passenden Advertiser-Produkten und dem User-Intent gematcht â nur dann entsteht ein Enriched Snippet, und nur dann verdienst du."},{icon:"code",title:"Ein Tag, fertig",description:"Integration in 5 Minuten. Ein Script-Tag oder Prebid.js Adapter. Keine eigenen Produkte nötig â Advertiser bringen sie mit."},{icon:"chart",title:"90/10 â Publishers keep 90%",description:"Transparente, faire Konditionen. Advertiser zahlen, Nexbid behält 10 % Platform Fee, du bekommst 90 %."}],socialProof:{stats:[{value:"$26 Mrd.",label:"KI-Werbemarkt bis 2029"},{value:"+805%",label:"KI-Traffic-Wachstum YoY"},{value:"MIT",label:"Open-Source-Lizenz"}]},cta:{primary:{label:"Jetzt starten",href:"/sign-up"},secondary:{label:"Mehr erfahren",href:"/publisher"}},seo:{title:"Nexbid für Publisher â KI-Agent Monetarisierung",description:"Deine Seiten à Advertiser-Produkte à User-Intent = Enriched Snippet. Offenes Protokoll, 90/10 â Publishers keep 90%, kein Lock-in."}},brands:{hero:{badge:"Für Brands",title:"Deine Produkte sind unsichtbar.",highlight:"Für KI-Agenten.",subtitle:"KI-Agenten empfehlen Produkte â aber nicht deine. Nexbid macht deine Marke im Agent-Ãkosystem auffindbar."},problems:[{icon:"eye",title:"Agenten kennen dich nicht",description:"50% der Online-Käufer werden bis 2030 KI-Agenten nutzen. Ohne Präsenz im Agent-Ãkosystem bist du raus."},{icon:"target",title:"Walled Gardens",description:"OpenAI und Google kontrollieren den Zugang. Minimum $200K Einstiegsbudget."},{icon:"shield",title:"Keine Transparenz",description:"Du weisst nicht, wann und warum ein Agent dein Produkt empfiehlt â oder nicht."}],solutions:[{icon:"bot",title:"Brand Portal",description:"Dein digitaler Brandraum â die Single Source of Truth für KI-Agenten."},{icon:"chart",title:"Scoring-Transparenz",description:"Sieh genau, wie dein Score berechnet wird: Relevanz, Qualität, Gebot â alles offen."},{icon:"trending",title:"Kein Mindestbudget",description:"Starte mit CHF 50. Bezahle nur für echte Agent-Interaktionen."}],socialProof:{stats:[{value:"â¬109 Mrd.",label:"EU Agentic Commerce bis 2030"},{value:"4Ã",label:"Schneller als klassischer E-Commerce"},{value:"0",label:"Cookies benötigt"}]},cta:{primary:{label:"Account erstellen",href:"/sign-up"},secondary:{label:"Mehr erfahren",href:"/advertiser"}},seo:{title:"Nexbid für Brands â Sichtbarkeit im Agent-Ãkosystem",description:"Mach deine Produkte für KI-Agenten auffindbar. Offene Infrastruktur, transparentes Scoring, kein Mindestbudget."}},agencies:{hero:{badge:"Für Agenturen",title:"Deine Kunden fragen nach AI Advert
39ising.",highlight:"Biete es an.",subtitle:"Nexbid gibt Agenturen die Infrastruktur, um Kunden im Agentic Commerce zu positionieren â ohne eigene Technologie zu bauen."},problems:[{icon:"trending",title:"Neue Disziplin, kein Tool",description:"Agentic Commerce wächst 4à schneller als E-Commerce. Deine Kunden erwarten Kompetenz â du hast kein Werkzeug."},{icon:"target",title:"Hohe Einstiegshürden",description:"OpenAI Ad Pilot: $200K Minimum. Google UCP: nur für Grosskunden. Deine mittelgrossen Kunden bleiben draussen."},{icon:"code",title:"Build vs. Buy",description:"Eigene Agent-Commerce-Infrastruktur bauen? Zu teuer. An Plattformen binden? Zu riskant."}],solutions:[{icon:"bot",title:"White-Label-fähig",description:"Nexbid als Infrastruktur unter deinem Branding. Deine Kunden sehen deine Agentur, nicht uns."},{icon:"chart",title:"Multi-Client-Dashboard",description:"Verwalte alle Kunden-Accounts zentral. Budgets, Kampagnen, Analytics â alles in einem Dashboard."},{icon:"shield",title:"Offenes Protokoll",description:"Kein Vendor Lock-in. MIT-lizenziert. Du kannst jederzeit wechseln oder erweitern."}],socialProof:{stats:[{value:"$26 Mrd.",label:"KI-Werbemarkt bis 2029"},{value:"90/10",label:"Publishers keep 90%"},{value:"MIT",label:"Kein Vendor Lock-in"}]},cta:{primary:{label:"Partner werden",href:"/sign-up"},secondary:{label:"Vergleich ansehen",href:"/compare"}},seo:{title:"Nexbid für Agenturen â Agentic Commerce für deine Kunden",description:"Biete deinen Kunden AI Advertising an. White-Label-Infrastruktur, Multi-Client-Dashboard, offenes Protokoll."}},developers:{hero:{badge:"Für Entwickler",title:"Bau Commerce in deinen AI Agent.",highlight:"5 Zeilen Code.",subtitle:"Nexbid MCP Server â offenes Protokoll, TypeScript SDK, live API. Produkte suchen, vergleichen, kaufen."},problems:[{icon:"code",title:"Kein Standard",description:"Jeder Shop hat eine andere API. Keine einheitliche Schnittstelle für Agent-Commerce."},{icon:"shield",title:"Proprietäre Silos",description:"OpenAI und Google bauen Walled Gardens. Dein Agent wird abhängig von einem Anbieter."},{icon:"eye",title:"Keine Transparenz",description:"Warum empfiehlt ein Agent Produkt A statt B? Closed-Source-Plattformen sagen es dir nicht."}],solutions:[{icon:"bot",title:"MCP-Native",description:"Standardisiertes Model Context Protocol. Funktioniert mit Claude, ChatGPT, und jedem MCP-kompatiblen Agent."},{icon:"code",title:"TypeScript SDK",description:"npm install @protocol-commerce/adcp-sdk â Types, Validators, Client. Alles typsicher."},{icon:"chart",title:"Scoring-API",description:"Offene Scoring-Formel: 0.3·bid + 0.3·similarity + 0.2·quality + 0.2·context. Verifizierbar."}],socialProof:{stats:[{value:"5 Min.",label:"Integrationszeit"},{value:"100%",label:"Open Source (MIT)"},{value:"3",label:"MCP Tools (Search, Purchase, Status)"}]},cta:{primary:{label:"MCP-Docs lesen",href:"/docs/mcp"},secondary:{label:"Agent Directory",href:"/agents"}},seo:{title:"Nexbid für Entwickler â MCP Commerce SDK",description:"Integriere Commerce in deinen AI Agent. MCP-Protokoll, TypeScript SDK, offene Scoring-Formel."}},consumers:{hero:{badge:"Für dich",title:"Bessere Empfehlungen.",highlight:"Ohne Tracking.",subtitle:"Nexbid findet Produkte, die wirklich zu dir passen â basierend auf dem, was du fragst, nicht auf dem, was du gestern gegoogelt hast."},problems:[{icon:"eye",title:"Ãberall die gleiche Werbung",description:"Cookies verfolgen dich durchs Netz. Du siehst immer dieselben Anzeigen â auch für Dinge, die du schon gekauft hast."},{icon:"shield",title:"Intransparente Empfehlungen",description:"Warum wird dir Produkt A empfohlen? Weil es gut ist â oder weil der Hersteller am meisten zahlt?"},{icon:"target",title:"Irrelevante Ergebnisse",description:"Suchmaschinen zeigen dir, was SEO-optimiert ist. Nicht was du wirklich brauchst."}],solutions:[{icon:"bot",title:"KI-gestützte Suche",description:"Frag in natürlicher Sprache. Die KI versteht, was du wirklich suchst."},{icon:"chart",title:"Transparentes Scoring",description:"Jedes Ergebnis zeigt dir, warum es empfohlen wird. Relevanz, Qualität, Preis â alles sichtbar."},{icon:"shield",title:"Keine Cookies",description:"Kein Tracking, kein Fingerprinting, keine Datensammelei. Privacy by Design."}],socialProof:{stats:[{value:"0",label:"Cookies"}
39,{value:"100%",label:"Transparenz"},{value:"Gratis",label:"Für immer"}]},cta:{primary:{label:"Produkte entdecken",href:"/enduser"},secondary:{label:"Alle Produkte",href:"/discover"}},seo:{title:"Nexbid â KI-Produktsuche ohne Tracking",description:"Finde Produkte, die wirklich zu dir passen. Ohne Cookies, mit transparentem Scoring."}}},brandAgentWizard:{title:"Brand Agent konfigurieren",subtitle:"Definiere, wie deine Marke im Agentic-Commerce-Ãkosystem auftreten soll.",stepOf:"Schritt {step} von {total}",autoSaved:"Entwurf wird automatisch gespeichert",back:"Zurück",next:"Weiter",submit:"Brand Agent aktivieren",submitting:"Wird gespeichertâ¦",steps:[{title:"Brand Story",subtitle:"Wer seid ihr und was macht ihr einzigartig?"},{title:"Ideal Customer Profile",subtitle:"Wer sind eure Zielkunden?"},{title:"Targeting",subtitle:"Auf welchen Content-Seiten sollen eure Produkte erscheinen?"},{title:"Messaging Guidelines",subtitle:"Wie soll eure Marke von KI-Agenten präsentiert werden?"},{title:"Bidding & Budget",subtitle:"Setzt euer Budget und eure maximalen Gebote."}],step1:{brandNameLabel:"Markenname",brandNamePlaceholder:"z.B. Acme AG",brandNameRequired:"Dieses Feld ist erforderlich.",brandStoryLabel:"Brand Story",brandStoryHint:"Erkläre in 2â5 Sätzen: Wer seid ihr, was macht ihr, was unterscheidet euch?",brandStoryMin20:"Mindestens 20 Zeichen erforderlich.",brandStoryRequired:"Dieses Feld ist erforderlich.",toneLabel:"Tone of Voice"},step2:{ageGroupsLabel:"Altersgruppen",ageGroupsHint:"Welche Altersgruppen sprichst du an? (Mehrfachauswahl)",genderLabel:"Geschlecht",geosLabel:"Zielmärkte (Geo)",geosPlaceholder:"Weiteres Landâ¦",languagesLabel:"Sprachen",languagesPlaceholder:"Weitere Spracheâ¦",useCasesLabel:"Use Cases / Einsatzszenarien",useCasesHint:"Für welche Situationen kaufen deine Kunden?",useCasesPlaceholder:"Use Case hinzufügenâ¦"},step3:{intro:"Definiere, auf welchen Content-Seiten deine Produkte erscheinen sollen. Leere Allowlist = alle Kategorien (ausser Blocklist).",allowlistLabel:"Erlaubte Kategorien (Allowlist)",blocklistLabel:"Blockierte Kategorien (Blocklist)",customCategoryPlaceholder:"Eigene Kategorieâ¦",blockCustomCategoryPlaceholder:"Eigene Kategorie blockierenâ¦",keywordsLabel:"Kontext-Keywords",keywordsHint:"Keywords, die im Publisher-Content vorkommen sollen, damit deine Produkte matchen.",keywordsPlaceholder:"Keyword hinzufügenâ¦"},step4:{guidelinesLabel:"Messaging-Richtlinien",guidelinesHint:"Wie soll deine Marke in KI-Antworten präsentiert werden?",guidelinesPlaceholder:"z.B. Immer Nachhaltigkeit betonen. Keine Preisvergleiche.",forbiddenTermsLabel:"Verbotene Begriffe",forbiddenTermsHint:"Begriffe, die KI-Agenten niemals in Verbindung mit deiner Marke verwenden dürfen.",forbiddenTermsPlaceholder:"Begriff eingebenâ¦",disclosuresLabel:"Pflichtangaben",disclosuresHint:'Rechtliche Hinweise, die immer erscheinen müssen (z.B. "Werbung", "Gesponsert").',disclosuresPlaceholder:"Angabe hinzufügenâ¦",disclaimer:"Diese Richtlinien werden an KI-Agenten übermittelt, wenn deine Produkte in Enriched Snippets erscheinen."},step5:{intro:"Lege dein monatliches Budget und deine maximalen Gebote fest.",budgetLabel:"Monatliches Budget (CHF)",budgetHint:"Mindest-Budget pro Media Buy: CHF 2'500. Testphase: CHF 1'000 via Starter-Credit.",budgetRequired:"Budget muss grösser als 0 sein.",maxCpmLabel:"Max. CPM (CHF)",maxCpcLabel:"Max. CPC (CHF)",pricingModelLabel:"Standard-Abrechnungsmodell"}},consumerAddresses:{pageTitle:"Adressen",pageSubtitle:"Verwalte deine Liefer- und Rechnungsadressen für Käufe via Agent.",addButton:"Adresse hinzufügen",empty:"Du hast noch keine Adresse hinterlegt.",defaultShippingBadge:"Standard-Lieferadresse",defaultBillingBadge:"Standard-Rechnungsadresse",kindShippingBadge:"Lieferadresse",kindBillingBadge:"Rechnungsadresse",kindBothBadge:"Liefer- & Rechnungsadresse",editButton:"Bearbeiten",deleteButton:"Löschen",deleteConfirm:"Adresse wirklich löschen?",saveButton:"Speichern",cancelButton:"Abbrechen",saveError:"Konnte Adresse nicht speichern. Bitte versuche es erneut.",deleteError:"Konnte Adresse nicht löschen.",form:{kindLabel:"Verwendung",kindShipping:"Nur Lieferung",kindBilling:"Nur Rechnung",kindBoth:"Beides",labelLabel:"Bezeichnung (optional)",labelPlaceholder:"z.B. Zuhause, Büro",re
39cipientNameLabel:"Empfänger",companyLabel:"Firma (optional)",streetLine1Label:"Strasse und Hausnummer",streetLine2Label:"Adresszusatz (optional)",cityLabel:"Ort",regionLabel:"Bundesstaat / Provinz",postalCodeLabel:"Postleitzahl",countryLabel:"Land",phoneLabel:"Telefon (optional)",setAsDefaultShipping:"Als Standard-Lieferadresse festlegen",setAsDefaultBilling:"Als Standard-Rechnungsadresse festlegen",errorRequired:"Pflichtfeld",errorPostalCode:"Postleitzahl passt nicht zum Land",errorCountry:"Bitte gültiges Land wählen"}},consumerSavedItems:{pageTitle:"Gespeicherte Produkte",pageSubtitle:"Deine Wunschliste. Bis zu 100 Produkte gleichzeitig.",empty:"Du hast noch keine Produkte gespeichert.",discoverProducts:"Produkte entdecken",remove:"Entfernen",retry:"Erneut laden",loadError:"Liste konnte nicht geladen werden.",bannerWarning:"Du nutzt {count} von {limit} Plätzen. Räume auf, um Platz für neue Funde zu schaffen.",bannerCritical:"Nur noch wenige Plätze frei ({count} von {limit}). Speichern wird bald blockiert.",bannerFull:"Liste voll â entferne Produkte, um neue speichern zu können.",button:{save:"Produkt speichern",unsave:"Aus Liste entfernen",saving:"Wird gespeichertâ¦",limitReached:"Maximum von 100 erreicht",error:"Aktion fehlgeschlagen â bitte erneut versuchen"}},consumerPushNotifications:{title:"Push-Benachrichtigungen",description:"Erhalte Updates zu deinen Bestellungen direkt im Browser â auch wenn der Tab geschlossen ist.",enableButton:"Aktivieren",disableButton:"Deaktivieren",enabledBadge:"Aktiv",unsupported:"Dein Browser unterstützt keine Push-Benachrichtigungen.",denied:"Du hast Benachrichtigungen blockiert. Aktiviere sie in den Browser-Einstellungen, dann lade die Seite neu.",workingMessage:"Einen Momentâ¦",errorMessage:"Etwas ist schiefgelaufen â bitte erneut versuchen."},consumerShopWishes:{pageTitle:"Shop-Wünsche",pageSubtitle:"Welche Shops sollen wir als Nächstes für dich verfügbar machen?",empty:"Du hast noch keine Shop-Wünsche eingereicht.",loadError:"Liste konnte nicht geladen werden.",mutationError:"Aktion fehlgeschlagen â bitte erneut versuchen.",deleteConfirm:"Wunsch wirklich löschen?",dismissButton:"Schliessen",deleteButton:"Löschen",statusOpen:"Offen",statusMatched:"Match gefunden",statusFulfilled:"Erfüllt",statusDismissed:"Geschlossen",button:{prompt:"Welcher Shop sollte hier sein? Sag uns Bescheid â wir adden ihn aufs Outbound-Radar.",signInNudge:"Logge dich ein, um einen Shop-Wunsch zu hinterlegen.",signInLink:"Anmelden",shopQueryLabel:"Shop-Name",shopQueryPlaceholder:"z.B. Galaxus, Mona, Brackâ¦",shopUrlLabel:"Website (optional)",shopUrlPlaceholder:"https://example.com",reasonLabel:"Warum (optional)",reasonPlaceholder:"Warum sollte dieser Shop auf Nexbid sein?",submit:"Shop vorschlagen",submitting:"Wird gesendetâ¦",successTitle:"Danke! ð",successBody:"Wir benachrichtigen dich, sobald der Shop auf Nexbid ist.",errorMessage:"Konnte nicht gesendet werden â bitte erneut versuchen."}},consumerPaymentMethods:{pageTitle:"Zahlungsmethoden",pageSubtitle:"Hinterlege Karten oder Apple/Google Pay für Käufe via Agent.",addButton:"Zahlungsmethode hinzufügen",addSectionTitle:"Neue Zahlungsmethode",retry:"Erneut laden",loadError:"Liste konnte nicht geladen werden.",mutationError:"Aktion fehlgeschlagen â bitte erneut versuchen.",list:{empty:"Noch keine Zahlungsmethode hinterlegt.",defaultBadge:"Standard",setDefault:"Als Standard",remove:"Entfernen",removeConfirm:"Diese Zahlungsmethode wirklich entfernen?",applePay:"Apple Pay",googlePay:"Google Pay",card:"Karte"},add:{loading:"Ladeâ¦",notConfigured:"Stripe ist noch nicht konfiguriert. Zahlungsmethoden werden bald freigeschaltet.",setupError:"Setup fehlgeschlagen. Bitte erneut versuchen.",saveButton:"Speichern",saving:"Speichereâ¦",cancelButton:"Abbrechen",setAsDefault:"Als Standard-Zahlungsmethode setzen",successMessage:"Zahlungsmethode gespeichert."}},recipeSourceLabel:"Original-Rezept bei"},en:{nav:{features:"Features",standards:"Standards",roadmap:"Roadmap",publisher:"Publisher",advertiser:"Advertiser",glossary:"Glossary",blog:"Blog",discover:"Discover",integration:"Integration",langSwitch:"DE",login:"Login",forLabel:"For...",forPublisher:"Publisher",forPublisherDesc:"Monet
39ize your inventory",forAdvertiser:"Advertiser",forAdvertiserDesc:"Reach agents & users",forEnduser:"End User",forEnduserDesc:"Discover products via AI",forAgents:"Agents",forAgentsDesc:"Directory & integration"},hero:{badge:"Closed Beta",title:"When an AI agent recommends a product,",titleHighlight:"the Match-Moment happens here.",subtitle:"Three things must align: the publisher's content, the brand's product, the user's intent. Nexbid is the rail where they meet â open, transparent, no lock-in.",waitlistCta:"Request Access",waitlistCount:"Already 20+ companies on the waitlist."},platformContext:{eyebrow:"Nexbid Agent Commerce Infrastructure",headline:"One infrastructure, two customer-facing brands",subtitle:"Nexbid is brand and agent-commerce infrastructure of digital opua GmbH (Walchwil, Switzerland). This site shows Nexbid for Marketing â the agentic ad server. Mineralis is the sister brand for AI-native equity research in the mining/energy sector, technically built on Nexbid infrastructure.",appMarketingName:"Nexbid for Marketing",appMarketingStatus:"Live · This site",appMarketingDesc:"Agentic ad server with Match-Moment for AI agents. 90% revenue to publishers, MIT-licensed, EU-compliant.",appMineralisName:"Mineralis",appMineralisStatus:"In preparation 2026",appMineralisDesc:"AI-native equity research for mining & energy. Separate customer-facing brand, built on Nexbid infrastructure.",footer:"Both brands of digital opua GmbH · Same Lean-4-verified, EU-compliant compliance foundation"},platformHero:{badge:"Verifiable Decisions",title:"Nexbid Agent Commerce",titleHighlight:"Infrastructure",subtitle:"You set the limits, we provably cannot cross them â and what is paid for says so. Infrastructure for agentic commerce with formally verified decision logic: 62 public Lean 4 theorems. EU-hosted and MIT-licensed at the core.",ctaArchitecture:"Architecture",ctaEuReadiness:"EU AI Act Readiness",ctaLeanProofs:"See the proofs"},brandFamily:{eyebrow:"Brand Family",headline:"One platform, three verticals",subtitle:"Nexbid provides the open infrastructure â verticals and sister brands build on top of it. Marketing is live today, Mineralis complements as customer-facing sister brand, more verticals follow in 2026/27.",marketingName:"Nexbid for Marketing",marketingStatus:"Live",marketingTagline:"Vertical application of the platform",marketingDesc:"Agentic ad server for publishers and advertisers â AdCP-protocol-native, Match-Moment hub for AI agents. 90% revenue to publishers.",marketingCta:"Explore",mineralisName:"Mineralis",mineralisStatus:"Live",mineralisTagline:"Sister brand on Nexbid infrastructure",mineralisDesc:"AI-native equity research for mining and energy â for family offices and institutional investors. Independent customer-facing brand of digital opua GmbH.",mineralisCta:"Visit mineralis.io",xName:"Nexbid for X",xStatus:"Roadmap 2026/27",xTagline:"More verticals planned",xDesc:"Procurement, Public Services, Consumer Layer â the Match-Moment architecture is vertical-agnostic and scales beyond marketing.",xCta:"View roadmap",footer:"All verticals on the same Lean-4-verified, EU-compliant infrastructure · digital opua GmbH (Walchwil, CH)"},platformThemes:{eyebrow:"Platform Topics",headline:"What the infrastructure is built on",subtitle:"Four pillars that make Nexbid the open, verifiable, EU-sovereign layer for agentic commerce.",themes:[{icon:"layers",title:"Architecture",desc:"Match-Moment hub, AdCP-protocol-native, multi-rail payment, 19 MCP tools. Vertical-agnostic layer between content, product, and intent.",ctaLabel:"View architecture"},{icon:"shield",title:"EU AI Act Readiness",desc:"Swiss GmbH (Walchwil), Frankfurt hosting, nDSG-compliant, ARTF/GAIA-X path â sovereign alternative to US-controlled UCP/ACP.",ctaLabel:"Read compliance"},{icon:"check",title:"Lean-4 Proofs",desc:"62 formally verified theorems, 0 sorry, CI green â mathematically proven core logic for scoring, auction, budget, wallet, end-to-end.",ctaLabel:"View proofs"},{icon:"plug",title:"AMDP â EU-Sovereign Mandate-Discovery Standard in development",desc:"Agent Mandate Discovery Protocol as open standard â co-authoring with IAB Tech Lab and Linux Foundation. ADR-040 accepted.",ctaLabel:"Read ADR-040"}]},matchMoment:{sectionTitle:"How the Match-Moment happens",sectionSubtitle:"Three things must align â and that's exactly what Nexbid does.",contentLabel:"Content",productLabel:"Product",intentLabel:"Intent",contentSubLabel:"of the publisher",productSubLabel:"of the brand",intentSubLabel:"of the user",matchLabel:"Match-Moment",outputLabel:"Enriched Snippet"},matchMomentDemo:{eyebrow:"Live demo · real auction",title:"The match moment â live and verifiable",lead:"Ask a question about a Betty Bossi recipe â this page looks up a real matching recipe, triggers a real auction against real campaign budgets, and shows all four evidence layers: the publisher context, the winning ad, the score decomposition, and the payment proof.",disclaimer:"Every run spends real advertising budget and delivers a real ad â tagged as a demo run, not organic publisher traffic. Capped at 10 runs per hour and visitor.",queryLabel:"Your question",queryPlaceholder:'e.g. "Which champagne pairs with smoked salmon?"',queryHint:"We look up a real, matching Betty Bossi recipe and run the auction in its context.",runCta:"Run auction",runningLabel:"Auction running â¦",stepContext:"1. Publisher context",stepMatch:"2. Winning ad",stepAuction:"3. Auction trace",stepProof:"4. Proof",resultQueryLabel:"Query",noAuctionTrace:"No auction decomposition is available for this run.",noWinnerTitle:"No winner in this run",noWinnerBody:"The auction ran against the real publisher context â no bid was relevant enough to win. That is a valid outcome, not a failure of this page.",noM
39atchTitle:"No matching content found",noMatchBody:"No matching Betty Bossi recipe was found for this question â please try rephrasing it.",invalidQueryTitle:"Invalid question",invalidQueryBody:"Please enter a question between 3 and 200 characters.",archivedBadge:"Archived state",archivedNotice:"Live auction unreachable right now. This view shows the last conserved delivery from",rateLimitedTitle:"Hourly limit reached",rateLimitedBody:"Too many demo runs this hour â please try again in about an hour.",discoverFailedTitle:"Auction did not complete",discoverFailedBody:"The auction service did not respond as expected. No result is shown â please try again in a moment.",discoverUnreachableTitle:"Service currently unreachable",discoverUnreachableBody:"The auction service is currently unreachable. Please try again in a few minutes.",networkErrorTitle:"Connection failed",networkErrorBody:"The request to this demo could not be sent. Please check your internet connection and try again.",genericErrorTitle:"Demo run failed",genericErrorBody:"The demo run failed.",statusLabel:"Status",retryCta:"Try again",seoTitle:"Match moment live â glass-box demo",seoDescription:"A real auction, triggered live: publisher context, winning ad, score decomposition, and payment proof in one run â with real campaign budget.",evidencePendingBody:"Proof not booked yet â booking happens asynchronously and can take a moment. Please check again shortly.",receiptKeyLabel:"Public key for verification:",semanticFallbackTitle:"Topical fallback, not an auction win",semanticFallbackBody:"This result comes from the topical fallback (semantic similarity), not a won auction â there is no auction trace and no signed receipt for it. The price shown is not the real product price.",dailyCapNotice:"Daily demo-run limit reached. This view shows the last conserved delivery from",moreSignalsLabel:"Additional detected signals",dashboardTitle:"Match Moments",dashboardLead:"The most recent match moments for this account â as advertiser (paid) or as publisher (credited).",dashboardEmptyTitle:"No match moments yet",dashboardEmptyBody:"This account has no delivered match moments yet. As soon as an agent sees a sponsored ad, it will show up here.",groupCount:"auctions",groupTotal:"Total",groupLatest:"Latest auction",groupOthers:"more auctions in this group",groupShowOthers:"Show individual auctions",groupHideOthers:"Hide individual auctions",groupHideUnpaid:"Hide house ads (no charge)",groupWinner:"Winner",groupHouse:"House ad",dashboardLoadErrorTitle:"Could not load match moments",dashboardLoadErrorBody:"Please reload the page or try again later.",dashboardLoadingLabel:"Loading match moments â¦",contextSignalLabels:{nx_cuisine:"Cuisine",nx_difficulty:"Difficulty",nx_language:"Language",nx_intent:"Intent",nx_quality:"Quality",nx_ingredients:"Ingredients",nx_season:"Season",nx_occasion:"Occasion",nx_audience:"Audience",nx_affinity:"Affinity",nx_purchase_intent:"Purchase intent",nx_iab:"IAB category",nx_brand:"Brand"}},features:{sectionTitle:"Why Nexbid?",sectionSubtitle:"Agentic commerce for everyone â not just the biggest players.",items:[{icon:"bot",title:"Agentic-First",description:"AI agents negotiate on behalf of publishers and advertisers. Context-based, not cookie-based."}
39,{icon:"shield",title:"Privacy-Native",description:"No cookies, no fingerprinting. Contextual + agent-based signals. GDPR-compliant by design."},{icon:"plug",title:"Standards-Open",description:"AdCP v2.0, OpenRTB, Prebid.js â Nexbid speaks the language of your existing stack."},{icon:"trending",title:"Fair Value Chain",description:"No 30-70% revenue loss to intermediaries. Direct negotiation between agents â for publishers and advertisers."},{icon:"eye",title:"100% Transparent",description:"Every auction decision is traceable. No black box. Transparent auctions, open standards."},{icon:"unlock",title:"No Vendor Lock-in",description:"Self-hosted or managed. Your data, your server, your rules."},{icon:"layers",title:"5 of 6 Ecosystem Layers",description:"From catalog readiness through discovery to protocol layer â Nexbid covers 5 of 6 layers in the AI commerce ecosystem. OpenAI and Google cover just 2 each."},{icon:"filter",title:"Curation over Overload",description:"Agents receive 3â5 curated recommendations instead of 10,000 listings. Optimized for relevance and purchase probability â no clickbait."}]},partners:{sectionTitle:"Early Ecosystem Partners",sectionSubtitle:"These companies are part of the Nexbid Closed Beta.",items:[{name:"Betty Bossi",role:"Publisher",description:"7,000+ recipes in the Nexbid ecosystem",logo:"/logos/betty-bossi.svg",url:"https://www.bettybossi.ch"},{name:"The Champagne",role:"Brand Partner",description:"Swiss champagne brand â no shop integration yet",logo:"/logos/the-champagne.svg",url:"https://www.the-champagne.ch"},{name:"digital opua",role:"Technology",description:"Software & AI Products",logo:"/logos/digital-opua.png",url:"https://digital-opua.ch"},{name:"digital nalu",role:"Advertiser",description:"Marketing & Strategy",logo:"/logos/digital-nalu.svg",url:"https://digital-nalu.ch"}]},standards:{sectionTitle:"Standards & Protocols",sectionSubtitle:"Nexbid builds on open standards â no proprietary protocols.",phase1:"Phase 1 (MVP)",phase2:"Phase 2",phase3:"Phase 3"},roadmap:{sectionTitle:"Roadmap",phases:[{phase:"Phase 0",title:"Closed Beta + GO",period:"Q1 2026",status:"done",items:["Discovery API + MCP Server live","40+ publisher & advertiser interviews (DACH)","GO decision 2026-04-10","Founding Customer program launched"]},{phase:"Sprint 1-3",title:"Agent Discovery + Settlement",period:"April 2026",status:"done",items:["Agent Discovery hardening + 19 MCP tools","Enriched Snippet Billing + Publisher Dashboard","ACP-Interop + Prebid + Quality Gates","x402 Mainnet live + Wallet-Pay Magic-Link"]},{phase:"Sprint 4",title:"Customer Portal + Multi-Rail",period:"May-June 2026",status:"active",items:["Customer Portal Phase 1 (Advertiser Self-Serve)","Brand-Agent-Wizard 8 steps","Verified Agent Delivery + AAO Coalition","Universal Purchase Mandate pilot (FOCUSWATER)"]},{phase:"Sprint 5-6",title:"OpenAI Bridge + Consumer Layer",period:"July-October 2026",status:"upcoming",items:["OpenAI CPC Bridge via StackAdapt","Customer Portal Phase 2 (Publisher) + Phase 3","Consumer Layer Grade 2 (Click-to-Pay + Wallet)","Criteo Fast-Follow + AdCP v3 Self-Attested"]}]},waitlist:{sectionTitle:"Closed Beta",sectionSubtitle:"Nexbid is in closed beta. Apply now for a spot.",emailPlaceholder:"[email protected]",submitButton:"Join the Waitlist",submitting:"Submitting...",successTitle:"You're in!",successMessage:"We'll let you know
39when the beta launches.",rolePublisher:"Publisher",roleAdtech:"Ad-Tech Developer",roleAdvertiser:"Advertiser / Agency",roleOther:"Other",rolePlaceholder:"I'm a...",duplicateMessage:"This email is already registered.",errorMessage:"Something went wrong. Please try again later."},productsPage:{title:"Products & Services",subtitle:"Discover products, services, and courses from Commerce Participants.",searchPlaceholder:"Search products...",allCategories:"All Categories",search:"Search",searching:"Searching...",resultsFound:"results found in",noResults:"No products found. Try a different search query.",inStock:"In Stock",preorder:"Pre-order",outOfStock:"Out of Stock",updatedLabel:"Updated",geoOptions:{CH:"Switzerland",DE:"Germany",AT:"Austria",US:"United States",GB:"United Kingdom"}},press:{badge:"Press Kit",title:"Nexbid by the Numbers",subtitle:"Everything you need to report on Nexbid.",facts:{title:"Company",founded:"Founded",foundedValue:"2026",hq:"Headquarters",hqValue:"Walchwil, Switzerland",license:"License",licenseValue:"MIT (Open Core)",phase:"Phase",phaseValue:"Closed Beta",protocol:"Protocol",protocolValue:"AdCP v2.0",standards:"Standards",standardsValue:"MCP, OpenRTB, Prebid (Roadmap)"},description:"Nexbid is the open infrastructure for agentic commerce. AI agents are changing how consumers find products â Nexbid gives publishers and advertisers back control. Open, transparent, no lock-in.",metrics:{title:"Key Metrics",endpoints:"API Endpoints",theorems:"Formally Verified Theorems",migrations:"DB Migrations",standards:"Standards (3 live)"},logos:{title:"Logos & Brand Assets",dark:"Logo (Dark)",light:"Logo (Light)",icon:"Icon",colors:"Brand Colors"},presentations:{title:"Presentations",subtitle:"Downloadable decks for different audiences.",driveLink:"All materials on Google Drive",decks:[{title:"Strategic Overview",audience:"C-Level, Investors"},{title:"Publisher Guide",audience:"Publishers, Ad Ops"},{title:"Advertiser Guide",audience:"E-Commerce, Brands"},{title:"Marketing Teams",audience:"Marketing Ops"},{title:"Technical Overview",audience:"CTOs, Developers"},{title:"Product Demo",audience:"All audiences"},{title:"Open Source & Protocol",audience:"Developer Community"},{title:"Market & Trends",audience:"Analysts, Press"}]},contact:{title:"Contact",email:"[email protected]",website:"nexbid.dev"},cta:"Interested in a story? Get in touch."},footer:{builtBy:"Built by",company:"digital opua GmbH",switzerland:"Switzerland",license:"All rights reserved · MIT License (Open Core)",preferredSourceLabel:"Add as a preferred source on Google",preferredSourceHint:"opens at Google",preferredSourcePath:"/preferred-source",preferredSourceWhat:"What is this?",privacy:"Privacy",imprint:"Imprint",terms:"Terms",press:"Press Kit",siteNavLabel:"Site navigation",newBadge:"New",colProduct:"Product",colContent:"Content",colDevelopers:"Developers",colResources:"Resources",colCompany:"Company",linkDiscover:"Match Engine",linkCompare:"Compare",linkBrands:"Brands",linkProducts:"Products",linkRecipes:"Recipes",linkEditorials:"Magazine",linkServices:"Services",linkDocs:"Documentation",linkMcpDocs:"MCP Docs",linkScoringDocs:"Scoring Formula",linkVerificationDocs:"Lean 4 Verification",linkAgentManifest:"Agent Manifest",linkVerifiedDelivery:"Verified Agent Delivery",linkTechnology:"Technology",linkAgenticCommerce:"What is Agentic Commerce",linkMonetizeContent:"Monetize Content",linkOpenVsOpen:"MIT vs. Apache 2.0",linkPricing:"Pricing & Programs",linkPublisherMcp:"MCP for Publishers",linkSupport:"Support",verticalArchitecture:"Sister brand of digital opua GmbH",linkSisterVertical:"Mineralis (Mining & Energy)",sisterBrandDesc:"AI-native Equity Research for Mining and Energy · For Family Offices and institutional investors",sisterBrandCta:"Visit mineralis.io"},legal:{lastUpdated:"Last updated",backToHome:"Back to homepage",privacyTitle:"Privacy Policy",imprintTitle:"Imprint",termsTitle:"Terms of Service"},publisher:{badge:"For Publishers",heroTitle:"You bring the pages.",heroHighlight:"We bring the Match-Moment.",heroSubtitle:"When an AI agent recommends a product, it looks for c
39ontent that fits. Nexbid makes your pages AI-readable and brings paying brands to them. You earn per recommendation involving your content â not the middleman in between. Transparent, privacy-compliant, no cookies.",howItWorks:"How It Works",steps:[{number:"01",title:"Integrate Nexbid Tag",description:"One JavaScript snippet on your site. Nexbid scans your content â topic, sentiment, entities â and enriches every ad request with these signals. DSPs get richer context, match more precisely, and bid higher."},{number:"02",title:"Relevance Over Tracking",description:"AI agents match ads to page content, not user profiles. The result: ads your readers actually engage with â and higher bids from advertisers."},{number:"03",title:"More Revenue Per Impression",description:"Relevant ads = higher engagement = higher CPMs. Without intermediary cuts, you keep more of what your inventory is worth."}],featuresTitle:"Built for Publishers",features:[{icon:"code",title:"Context API",description:"Understands your content at page level â topic, sentiment, entities. So users see ads that match the context. Without tracking."},{icon:"signal",title:"Signal Enrichment",description:"Enriches every ad request with content intelligence. Better signals mean more relevant ads for users â and higher CPMs for you."},{icon:"eye",title:"Auction Transparency",description:"See every bid, every decision, every reason. No more black-box auctions eating your margins."},{icon:"chart",title:"Revenue Analytics",description:"Real-time dashboard with CPM trends, fill rates, and user engagement. Your data, your insights."},{icon:"trending",title:"Agent Discovery Revenue",description:"AI agents are becoming the primary discovery channel. Nexbid brings your content directly to Claude, ChatGPT, and Gemini â monetizing every agent query."}],codeTitle:"One Tag. Full Control.",pricingTitle:"Publisher Program",pricingSubtitle:"Four options â from Founding to Enterprise. Founding spots limited to 10.",pricingTrustBadge:"Verified Agent Delivery â every delivery cryptographically signed (Ed25519). No bot inflation, no hallucinated snippets.",pricingTiers:[{name:"Founding Publisher",price:"from CHF 5,000",priceDetail:"one-time + from CHF 200/month",fee:"5% Platform Fee (12 months)",feeAfter:"Then 10% · Publisher keeps 90%",features:["Complete onboarding","Feed ingest + AI enrichment","Inventory setup + GAM integration","Enriched snippet setup","Monthly reporting + review"],highlight:!0},{name:"Managed Publisher",price:"from CHF 1,000",priceDetail:"/month",fee:"10% Platform Fee · Publisher keeps 90%",feeAfter:"Dedicated account manager + reporting",features:["Ongoing management","Feed ingest + AI enrichment","Inventory setup + GAM integration","Enriched snippet setup","Monthly reporting + review"],highlight:!1},{name:"Enterprise",price:"from CHF 25,000",priceDetail:"Setup + from CHF 60,000/year",fee:"Flat-fee · Unlimited enriched snippets",feeAfter:"SLA, custom scoring, dedicated engineer (L)",features:["Multi-property support","Priority SLA","Dedicated engineer (Enterprise L)","Custom scoring & integrations","Unlimited enriched snippets"],highlight:!1},{name:"Self-Serve",price:"Free",priceDetail:"",fee:"10% Platform Fee",feeAfter:"",features:["Self-service setup","Documentation + API","Community support"],highlight:!1}],ctaTitle:"Ads that enrich users â not annoy them.",ctaSubtitle:"Join the waitlist and learn how user relevance boosts your CPMs.",ctaButton:"Join the Waitlist"},advertiser:{badge:"For Advertisers",heroTitle:"You bring the products.",heroHighlight:"We bring the Match-Moment.",heroSubtitle:"AI agents recommend products today â but not yours. Nexbid brings your product feed into the recommendation moment in minutes. Your product, in the right content context, with the right user.",howItWorks:"Two Paths to Users",route1Badge:"Agent-to-Agent",route1Title:"Agent-to-Agent Commerce",route1Subtitle:"The open ecosystem for AI agents. Like an Amazon for agents â your offer gets discovered without Google, without search engines.",route1Steps:[{number:"01",title:"User Gives Their Agent a Task",description:'The user tells their AI agent: "Find running shoes under CHF 200." The agent knows their preferences â favorite brand, size, budget â and starts searching.'},{number:"02",title:"Agent Arrives on Nexbid's Platform",description:"The agent reaches Nexbid's open ecosystem and passes signals: preferences, budget, size. Nexbid matches content, product, and intent â and returns a handful of relevant top recommendations. Optimized for purchase likelihood, not clicks."},{number:"03",title:"Result: Direct, Transparent, No Middleman",de
39scription:"No Google, no search engine, no display network. Agent-to-agent â open, transparent, and optimized for real user relevance."}],route2Badge:"Classic + Agentic",route2Title:"Classic Advertising, Optionally Agentic",route2Subtitle:"Display, video, native â on established publishers and networks. With or without agent optimization.",route2Steps:[{number:"01",title:"Buy Classic Advertising",description:"Display, video, native ads â on established publishers, networks, direct or programmatic. Proven formats, proven channels."},{number:"02",title:"Agentic Media Buying via DCM",description:"Use your own agents for media buying through digital-campaign-manager.com. Branding, performance, retargeting â all agent-controlled."},{number:"03",title:"Flexibly Deployable",description:"With or without agents â as a regular ad server or with full agent control. You determine the level of automation."}],featuresTitle:"Built for Advertisers",features:[{icon:"rss",title:"Open Ecosystem",description:"Nexbid as an open marketplace â any agent can query, any advertiser can offer. A new channel alongside search and display."},{icon:"bot",title:"Classic + Agentic Ads",description:"Display, video, native â with or without agent optimization. Classic formats, optionally with AI-powered media buying."},{icon:"target",title:"Full Attribution",description:"End-to-end tracking across both paths. Every impression, every click, every conversion â seamless and transparent."},{icon:"link",title:"DCM Integration",description:"Optional: digital-campaign-manager.com for campaign management with your own agents. Branding, performance, retargeting â all from one platform."},{icon:"zap",title:"Minutes, Not Months",description:"Your existing Google Shopping feed is enough. The Feed Ingestor normalizes and structures it automatically for AI agents â no effort, no rebuild required."}],protocolTitle:"Powered by AdCP v2.0",protocolSubtitle:"Nexbid covers 5 of 6 layers in the AI Commerce Ecosystem â from catalog readiness through discovery to the protocol layer. OpenAI and Google build walled gardens. We build open rails. MIT-licensed.",pricingTitle:"Advertiser Program",pricingSubtitle:"Four options â from Founding to Enterprise. Publisher-less snippet mode available: we place intent-matched snippets even without a publisher.",pricingTrustBadge:"Verified Agent Delivery â every delivery cryptographically signed (Ed25519). Pay only for real agent touchpoints, not bot inflation.",pricingTiers:[{name:"Founding Advertiser",price:"from CHF 5,000",priceDetail:"one-time + from CHF 500/month",fee:"10% discount on enriched snippets (12 months)",feeAfter:"CHF 1,000 starter credit + then standard pricing",features:["Complete onboarding","Feed ingest + AI enrichment","Digital Brand Environment","Enriched Snippet setup","AEO audit","Access to publisher media deals"],highlight:!0},{name:"Managed Advertiser",price:"from CHF 3,500",priceDetail:"/month base",fee:"10% platform fee on publisher matches",feeAfter:"Monthly floor from CHF 500 · Add-ons from CHF 500/month",features:["Dedicated account manager","Monthly report + AEO monitoring","Publisher deal moderation","Publisher-less snippet mode included","Priority support","Modular add-ons (DCM, deal sourcing, content production)"],highlight:!1},{name:"Enterprise",price:"from CHF 25,000",priceDetail:"Setup + from CHF 60,000/year",fee:"Flat-fee · Unlimited enriched snippets",feeAfter:"Custom scoring, SLA, dedicated engineer (L)",features:["Multi-brand setup","Publisher-less snippet mode included","Priority SLA (M) / 99.9% SLA (L)","Custom scoring & integrations","Dedicated engineer (Enterprise L)","Annual contract"],highlight:!1},{name:"Self-Serve",price:"Free",priceDetail:"",fee:"Standard pricing",feeAfter:"",features:["Self-guided setup","Docs + API + MCP server","Community support","No brand environment, no enrichment, no publisher deals"],highlight:!1}],ctaTitle:"Two Paths. Full Control.",ctaSubtitle:"Join the waitlist and learn how Agent-to-Agent Commerce and Agentic Campaigns boost your conversions.",ctaButton:"Join the Waitlist"},glossary:{pageTitle:"Glossary",pageSubtitle:"Key terms from Agentic Advert
39ising, Ad-Tech, Privacy, and Protocols â explained simply.",searchPlaceholder:"Search terms...",allCategories:"All",categoryAgentic:"Agentic",categoryAdtech:"Ad-Tech",categoryPrivacy:"Privacy",categoryProtocol:"Protocols",categoryTechnical:"Technical",noResults:"No terms found.",relatedTerms:"Related"},blog:{pageTitle:"Blog",pageSubtitle:"Insights on Agentic Advertising, privacy-first ad-tech, and the future of programmatic advertising.",allPosts:"All Posts",noPosts:"No posts found.",readMore:"Read more",notFound:"Post not found",backToBlog:"Back to Blog",relatedPosts:"Related Posts"},docs:{pageTitle:"Documentation",pageSubtitle:"Everything you need to get started with Nexbid â as a publisher, advertiser, agent developer, or end user.",tabs:{publisher:"Publisher",advertiser:"Advertiser",enduser:"End-User & AI Agents",developer:"Developer"},gettingStarted:"Getting Started",apiEndpoints:"API Endpoints",integration:"Integration",mcpServer:"MCP Server",productFeed:"Product Feed",availableTools:"Available Tools",techStack:"Tech Stack",openSource:"Status & Roadmap",viewOnGithub:"Get in Touch",openApiSpec:"OpenAPI Specification",comingSoon:"Coming Soon",baseUrl:"Base URL",method:"Method",description:"Description",response:"Response",example:"Example",parameters:"Parameters"},discover:{badge:"Free for Users",heroTitle:"Find the best deals.",heroHighlight:"Your agent searches for you.",heroSubtitle:"Nexbid connects you to brands and offers directly through your AI agent â no tracking, no ads, no middleman. Tell your agent what you need, and it finds it.",voteCta:"Vote for Brands",suggestCta:"Suggest a Brand",freeLabel:"Nexbid is and will remain free for consumers.",votingTitle:"Which brands do you want to find?",votingSubtitle:"Vote for the brands you want to see on Nexbid first. We'll invite the top-voted brands.",votesLabel:"votes",suggestionTitle:"Your favorite brand is missing?",suggestionSubtitle:"Suggest a brand you want to see on Nexbid. We'll reach out to them for you.",brandPlaceholder:"Brand name (e.g. Nike, Apple, ...)",emailPlaceholder:"Your email (optional)",suggestButton:"Suggest Brand",submitting:"Submitting...",suggestionSuccessTitle:"Thanks for your suggestion!",suggestionSuccessMessage:"We'll reach out to the brand.",suggestAnother:"Suggest another brand",errorMessage:"Something went wrong. Please try again later.",howItWorksTitle:"How Nexbid works for you",howItWorksSubtitle:"Three steps â and your agent finds the best deal.",steps:[{number:"01",title:"Tell your agent what you need",description:'"Find running shoes under CHF 200" â your AI agent knows your preferences and starts searching.'},{number:"02",title:"Your agent queries Nexbid",description:"Nexbid filters, ranks, and returns the most relevant results â based on real context, not tracking."},{number:"03",title:"You get the best deal",description:"Direct, transparent, no middleman. No Google, no display network â agent-to-agent."}],features:[{icon:"shield",title:"No Tracking",description:"No co
39okies, no fingerprinting, no ad profiles. Your data stays with you."},{icon:"bot",title:"Agent-First",description:"Your AI agent negotiates for you â faster, cheaper, and more relevant than any search engine."},{icon:"trending",title:"Better Prices",description:"Without intermediaries taking 30-70%, brands can pass better prices directly to you."},{icon:"filter",title:"Curated, not flooded",description:"Your agent gets a handpicked selection instead of endless lists â optimized for your preferences, not for ad budgets."}],bottomCta:"Vote for Brands Now"},enduser:{badge:"For End Users",heroTitle:"Find the best products",heroHighlight:"with your AI agent",heroSubtitle:"Nexbid connects AI agents with thousands of products â transparent, ad-free, privacy-compliant.",searchPlaceholder:'What are you looking for? e.g. "Running shoes under 150 CHF"',searchButton:"Search",searchPowered:"Powered by Nexbid Discovery API â no cookies, no tracking",uspPrivacyTitle:"Privacy-First",uspPrivacyDesc:"No cookies, no fingerprinting. Data stays in the EU (Frankfurt). GDPR & nDSG compliant.",uspSpeedTitle:"Instant Results",uspSpeedDesc:"Under 100ms response time. Your agent gets results in real-time.",uspPricesTitle:"Real Prices",uspPricesDesc:"Current prices and availability directly from the shops.",uspAgentTitle:"Agent-Compatible",uspAgentDesc:"Works with Claude, ChatGPT, Gemini and any MCP-capable agent.",howTitle:"How It Works",howStep1Title:"Ask your agent",howStep1Desc:'"Find me a quiet vacuum cleaner under 300 CHF"',howStep2Title:"Agent searches Nexbid",howStep2Desc:"Thousands of products in milliseconds",howStep3Title:"Results with context",howStep3Desc:"Prices, reviews, comparisons â all structured",setupTitle:"Connect your agent",setupDesc:"Add Nexbid as an MCP server and your agent can instantly find products.",setupCta:"Setup Guide",directoryCta:"Agent Directory",seoTitle:"AI-Powered Product Search â Nexbid for End Users",seoText:"Nexbid revolutionizes the way you find products. Instead of clicking through dozens of shops yourself, your AI agent takes over the search â fast, precise, and privacy-compliant. The Nexbid Discovery API connects AI agents like Claude, ChatGPT, and Gemini with thousands of products from the DACH region. No cookies are set and no fingerprinting is performed â all processing takes place in the EU (Frankfurt), compliant with GDPR and nDSG. Whether you're looking for the best running shoes under 150 CHF, want to compare quiet vacuum cleaners, or need the cheapest deal on a specific smartphone: Your agent queries Nexbid and receives structured results with current prices, availability, and reviews in under 100 milliseconds. Nexbid is the open commerce infrastructure for the age of AI agents â transparent, ad-free, and without vendor lock-in. For end users, it's completely free. You simply connect your AI agent to the Nexbid MCP server, and it can start finding the best products for you. The future of shopping is agent-based â and with Nexbid, you're part of it.",faqTitle:"Frequently Asked Questions",faq:[{q:"What is Nexbid?",a:"Nexbid is the open commerce infrastructure for AI agents. Your agent can search, compare, and find the best deals through Nexbid â transparently and without ads."},{q:"Is it free to use?",a:"Yes, Nexbid is completely free for end users. Publishers also pay no fee â they provide content (pages) and receive 90% of the Enriched Snippet revenue. Advertisers pay for placing their products in matching content, and Nexbid keeps a 10% platform fee."},{q:"Which AI agents work with Nexbid?",a:"Claude (Anthropic), ChatGPT (OpenAI), Gemini (Google), as well as any MCP-capable or REST API agent. Check the Agent Directory for a full overview."},{q:"What about privacy?",a:"Nexbid sets no cookies and uses no fingerprinting. All data is processed in the EU (Frankfurt). We are GDPR and nDSG compliant."},{q:"How current are the prices?",a:"Product data is regularly updated via automated feeds. Freshness depends on the publisher but is typically updated daily."},{q:"Can I buy directly through Nexbid?",a:"Not yet directly. Nexbid currently redirects you to the provider's shop. An integrated purchase process is planned for the future."}]},agents:{badge:"For Agents",heroTitle:"The open network",heroHighlight:"for AI agents",heroSubtitle:"Nexbid is the central commerce data source for agents. Open, fast, structured â no walled gardens.",statsAgents:"
39Compatible Agents",statsLatency:"Avg Response Time",statsUptime:"Uptime (30d)",statsLicense:"Open Source",directoryTitle:"Agent Directory",directorySubtitle:"Compatible agents and their performance",infoTitle:"For Agents: Info Endpoint",infoDesc:"Structured information that an agent can share with its users",devTitle:"Developer Hub",devSubtitle:"How to integrate Nexbid into your agent",devItems:[{title:"MCP Server",description:"Model Context Protocol â the fastest path to integration",link:"/docs/mcp"},{title:"REST API",description:"Universal JSON API with API key authentication",link:"/docs"},{title:"llms.txt",description:"Machine-readable project description for LLMs",link:"https://nexbid.dev/llms.txt"},{title:"agents.json",description:"Agent manifest following OpenAI standard",link:"https://nexbid.dev/agents.json"}],whyTitle:"Why Agents Prefer Nexbid",whyItems:[{title:"Fast Responses",description:"Under 100ms response time â agents prefer fast sources."},{title:"Structured Data",description:"JSON instead of HTML scraping. Prices, images, categories â all structured."},{title:"Feedback Loop",description:"Agents learn that Nexbid delivers relevant results â and come back."},{title:"No Walled Gardens",description:"Open protocol (MCP), no proprietary APIs, no vendor lock-in."}],seoTitle:"AI Agent Integration â Nexbid Agent Directory & API",seoText:"Nexbid is the open commerce infrastructure built specifically for AI agents. As the central data source for agentic commerce, Nexbid provides structured product data via the Model Context Protocol (MCP) and a REST API. Agents like Claude (Anthropic), ChatGPT (OpenAI), and Gemini (Google) can search, compare, and present the best deals to their users through Nexbid â in under 100 milliseconds. The Agent Directory shows all compatible agents with their protocols, capabilities, and average response times. Developers can find everything they need for integration in the Developer Hub: MCP server configuration, REST API documentation, llms.txt, and agents.json. Nexbid uses open standards instead of proprietary protocols â unlike OpenAI ACP or Google UCP. All communication uses the open MCP protocol, developed by Anthropic and published as an open standard. For agent developers, this means: No lock-in risks, no proprietary SDKs, no hidden costs. Integration takes just minutes and data is immediately available.",faqTitle:"Frequently Asked Questions",faq:[{q:"How do I integrate my agent?",a:"Fastest via MCP: Add the Nexbid MCP server to your agent configuration. Alternative: REST API with POST /v1/discover."},{q:"Do I need an API key?",a:"For MCP: No, no authentication required. For REST API: Yes, free API key via the dashboard."},{q:"What data does Nexbid provide?",a:"Product name, price, description, images, category, shop URL, availability, and reviews â all as structured JSON."},{q:"How fast is the API?",a:"Average under 80ms. The fastest agents (Custom MCP) achieve 45ms."},{q:"Is it free to use?",a:"For development and testing: Yes. For production: Free up to a certain volume, then usage-based."},{q:"What's the difference to OpenAI ACP?",a:"Nexbid uses the open MCP protocol instead of proprietary APIs. No vendor lock-in, full control, MIT-licensed."}],infoPageTitle:"Nexbid Agent Information",infoPageDesc:"All information an AI agent needs about Nexbid"},integration:{badge:"Integration",title:"Integrate Nexbid",subtitle:"Choose your integration path â as Publisher or Advertiser. Set up in minutes.",cards:[{icon:"code",title:"Publisher Integration",description:"Add the Nexbid AdTag via GTM, Tealium, or manually. Contextual signals for higher CPMs.",link:"/integration/publisher",cta:"Publisher Guide"},{icon:"rss",title:"Advertiser Integration",description:"Upload your product feed â via CSV, API, Google Merchant Center, or manually.",link:"/integration/advertiser",cta:"Advertiser Guide"}]},integrationPublisher:{badge:"Publisher",title:"Publisher Integration",subtitle:"Three ways to embed the Nexbid AdTag on your website. Choose the method that fits your setup.",backLink:"Back to Overview",methodLabel:"Method",copyLabel:"Copy",methods:[{id:"gtm",title:"Google Tag Manager",description:"Recommended for most publishers. No deployment required.",steps:["Open Google Tag Manager and create a new Custom HTML Tag.","Paste the Nexbid code and replace YOUR_PUBLISHER_ID with your ID.",'Set the trigger to "All Pages" or your desired pages.',"Publish the container."],code:"gtm"},{id:"tealium",title:"Tealium iQ",description:"For enterprise publishers with Tealium Tag Management.",steps:['Create a new "Generic Tag" in Tealium iQ.',"Add the Nexbid snippet as a Custom Script.","Configure Load Rules for the desired pages.","Publish the changes in your Tealium profile."],code:"manual"},{id:"manual",title:"Manual Snippet",description:"Directly in HTML â for full control without a tag manager.",steps:["Copy the snippet below.","Replace YOUR_PUBLISHER_ID with your publisher ID.","Paste it before the closing </head> tag.","Deploy the change to your website."],code:"manual"}],ctaTitle:"Custom Onboarding",ctaDescription:"Need help with integration? Our team supports you â free during Phase 0.",ctaButton:"Get in Touch"},integrationAdvertiser:{badge:"Advertiser",title:"Advertiser Integration",subtitle:"Four ways to list your products on Nexbid. Choose the method that fits your workflow.",backLink:"Back to Overview",comingSoonLabel:"Coming Soon",methods:[{icon:"trending",title:"CSV Import",description:"Upload a CSV file with your products. Ideal for a quick start.",details:["Download the CSV template","Fill in required fields: Name, Price, Category, URL","Upload the file in the dashboard","Products go live immediately"]},{icon:"plug",title:"API / Feed URL",description:"Connect your existing product feed directly to Nexbid.",details:["JSON and XML feeds supp
39orted","Automatic sync every 6 hours","Google Merchant Center format compatible","Webhook notifications on errors"]},{icon:"link",title:"Google Merchant Center",description:"Connect your GMC account via OAuth â automatic import.",details:["One-click OAuth connection","Automatic product sync","Categories are preserved","Real-time price and availability updates"],comingSoon:!0},{icon:"eye",title:"Manual Editor",description:"Add products individually in the dashboard â for small catalogs.",details:["Form-based input","Image upload directly in the browser","Preview before publishing","Ideal for single products or testing"],comingSoon:!0}],formatTitle:"Supported Feed Formats",formatDescription:"Nexbid supports common product feed formats. Google Merchant Center feeds work without modification.",formats:[{name:"JSON",description:"Standard format for API integration. Schema at docs.nexbid.dev"},{name:"XML",description:"Google Shopping-compatible XML. Automatic field detection."},{name:"CSV",description:"Simple tabular format. Template download in the dashboard."},{name:"TSV",description:"Tab-separated. Compatible with Google Merchant Center exports."}],ctaTitle:"Custom Onboarding",ctaDescription:"Need help with feed integration? Our team supports you â free during Phase 0.",ctaButton:"Get in Touch"},go:{publishers:{hero:{badge:"For Publishers",title:"Your pages are losing value.",highlight:"AI agents are the solution.",subtitle:"Nexbid matches your content with advertiser products â when users search via AI agents. You bring the pages, advertisers bring the products and budget, you keep 90% of every Enriched Snippet."},problems:[{icon:"trending",title:"Declining CPMs",description:"Traditional display advertising is losing value. Cookie deprecation accelerates the trend."},{icon:"eye",title:"Invisible to agents",description:"AI agents crawl your pages without giving anything back â and without knowing which advertiser products would fit perfectly into your content."},{icon:"shield",title:"Vendor lock-in",description:"Proprietary platforms dictate terms. You have no control."}],solutions:[{icon:"bot",title:"Content à Product à Intent",description:"Your pages are matched with relevant advertiser products and user intent â only then does an Enriched Snippet get created, and only then do you earn."},{icon:"code",title:"One tag, done",description:"Integration in 5 minutes. One script tag or Prebid.js adapter. No products of your own needed â advertisers bring them."},{icon:"chart",title:"90/10 â Publishers keep 90%",description:"Transparent, fair terms. Advertisers pay, Nexbid keeps a 10% platform fee, you get 90%."}],socialProof:{stats:[{value:"$26B",label:"AI ad market by 2029"},{value:"+805%",label:"AI traffic growth YoY"},{value:"MIT",label:"Open source license"}]},cta:{primary:{label:"Get started",href:"/sign-up"},secondary:{label:"Learn more",href:"/publisher"}},seo:{title:"Nexbid for Publishers â AI Agent Monetization",description:"Your pages à advertiser products à user intent = Enriched Snippet. Open protocol, 90/10 â publishers keep 90%, no lock-in."}},brands:{hero:{badge:"For Brands",title:"Your products are invisible.",highlight:"To AI agents.",subtitle:"AI agents recommend products â but not yours. Nexbid makes your brand discoverable in the agent ecosystem."},problems:[{icon:"eye",title:"Agents don't know you",description:"50% of online shoppers will use AI agents by 2030. Without presence in the agent ecosystem, you're out."},{icon:"target",title:"Walled gardens",description:"OpenAI and Google control access. Minimum $200K entry budget."},{icon:"shield",title:"No transparency",description:"You don't know when or why an agent recommends your product â or doesn't."}],solutions:[{icon:"bot",title:"Brand Portal",description:"Your digital brand space â the single source of truth for AI agents."},{icon:"chart",title:"Scoring transparency",description:"See exactly how your score is calculated: relevance, quality, bid â all open."},{icon:"trending",title:"No minimum budget",description:"Start with CHF 50. Pay only for real agent interactions."}],socialProof:{stats:[{value:"â¬109B",label:"EU Agentic Commerce by 2030"},{value:"4Ã",label:"Faster than classic e-commerce"},{value:"0",label:"Cookies required"}]},cta:{primary:{label:"Create account",href:"/sign-up"},secondary:{label:"Learn more",href:"/advertiser"}},seo:{title:"Nexbid for Brands â Visibility in the Agent Ecosystem",description:"Make your products discoverable by AI agents. Open infrastru
39cture, transparent scoring, no minimum budget."}},agencies:{hero:{badge:"For Agencies",title:"Your clients are asking about AI advertising.",highlight:"Deliver it.",subtitle:"Nexbid gives agencies the infrastructure to position clients in agentic commerce â without building their own tech."},problems:[{icon:"trending",title:"New discipline, no tool",description:"Agentic commerce grows 4Ã faster than e-commerce. Your clients expect expertise â you have no tool."},{icon:"target",title:"High entry barriers",description:"OpenAI Ad Pilot: $200K minimum. Google UCP: enterprise only. Your mid-market clients are locked out."},{icon:"code",title:"Build vs. buy",description:"Build your own agent commerce stack? Too expensive. Lock into a platform? Too risky."}],solutions:[{icon:"bot",title:"White-label ready",description:"Nexbid as infrastructure under your branding. Your clients see your agency, not us."},{icon:"chart",title:"Multi-client dashboard",description:"Manage all client accounts centrally. Budgets, campaigns, analytics â all in one dashboard."}
39,{icon:"shield",title:"Open protocol",description:"No vendor lock-in. MIT licensed. Switch or extend anytime."}],socialProof:{stats:[{value:"$26B",label:"AI ad market by 2029"},{value:"90/10",label:"Publishers keep 90%"},{value:"MIT",label:"No vendor lock-in"}]},cta:{primary:{label:"Become a partner",href:"/sign-up"},secondary:{label:"View comparison",href:"/compare"}},seo:{title:"Nexbid for Agencies â Agentic Commerce for Your Clients",description:"Offer your clients AI advertising. White-label infrastructure, multi-client dashboard, open protocol."}},developers:{hero:{badge:"For Developers",title:"Build commerce into your AI agent.",highlight:"5 lines of code.",subtitle:"Nexbid MCP Server â open protocol, TypeScript SDK, live API. Search, compare, purchase products."},problems:[{icon:"code",title:"No standard",description:"Every shop has a different API. No unified interface for agent commerce."},{icon:"shield",title:"Proprietary silos",description:"OpenAI and Google build walled gardens. Your agent becomes dependent on a single provider."},{icon:"eye",title:"No transparency",description:"Why does an agent recommend product A over B? Closed-source platforms won't tell you."}],solutions:[{icon:"bot",title:"MCP-native",description:"Standardized Model Context Protocol. Works with Claude, ChatGPT, and any MCP-compatible agent."},{icon:"code",title:"TypeScript SDK",description:"npm install @protocol-commerce/adcp-sdk â Types, validators, client. Fully type-safe."},{icon:"chart",title:"Scoring API",description:"Open scoring formula: 0.3·bid + 0.3·similarity + 0.2·quality + 0.2·context. Verifiable."}],socialProof:{stats:[{value:"5 min",label:"Integration time"},{value:"100%",label:"Open source (MIT)"},{value:"3",label:"MCP tools (search, purchase, status)"}]},cta:{primary:{label:"Read MCP docs",href:"/docs/mcp"},secondary:{label:"Agent Directory",href:"/agents"}},seo:{title:"Nexbid for Developers â MCP Commerce SDK",description:"Integrate commerce into your AI agent. MCP protocol, TypeScript SDK, open scoring formula."}},consumers:{hero:{badge:"For You",title:"Better recommendations.",highlight:"No tracking.",subtitle:"Nexbid finds products that truly match what you're looking for â based on what you ask, not what you googled yesterday."},problems:[{icon:"eye",title:"Same ads everywhere",description:"Cookies follow you across the web. You see the same ads â even for things you already bought."},{icon:"shield",title:"Opaque recommendations",description:"Why is product A recommended? Because it's good â or because the manufacturer paid the most?"},{icon:"target",title:"Irrelevant results",description:"Search engines show what's SEO-optimized. Not what you actually need."}],solutions:[{icon:"bot",title:"AI-powered search",description:"Ask in natural language. The AI understands what you're really looking for."},{icon:"chart",title:"Transparent scoring",description:"Every result shows you why it's recommended. Relevance, quality, price â all visible."},{icon:"shield",title:"No cookies",description:"No tracking, no fingerprinting, no data harvesting. Privacy by design."}],socialProof:{stats:[{value:"0",label:"Cookies"},{value:"100%",label:"Transparency"},{value:"Free",label:"Forever"}]},cta:{primary:{label:"Discover products",href:"/enduser"},secondary:{label:"All products",href:"/discover"}},seo:{title:"Nexbid â AI Product Search Without Tracking",description:"Find products that truly match you. No cookies, with transparent scoring."}}},brandAgentWizard:{title:"Configure Brand Agent",subtitle:"Define how your brand should appear in the agentic commerce ecosystem.",stepOf:"Step {step} of {total}",autoSaved:"Draft auto-saved",back:"Back",next:"Next",submit:"Activate Brand Agent",submitting:"Savingâ¦",steps:[{title:"Brand Story",subtitle:"Who are you and what makes you unique?"},{title:"Ideal Customer Profile",subtitle:"Who are your target customers?"}
39,{title:"Targeting",subtitle:"On which content pages should your products appear?"},{title:"Messaging Guidelines",subtitle:"How should AI agents present your brand?"},{title:"Bidding & Budget",subtitle:"Set your budget and maximum bids."}],step1:{brandNameLabel:"Brand name",brandNamePlaceholder:"e.g. Acme Inc.",brandNameRequired:"This field is required.",brandStoryLabel:"Brand story",brandStoryHint:"Describe in 2â5 sentences: Who are you, what do you do, what sets you apart?",brandStoryMin20:"At least 20 characters required.",brandStoryRequired:"This field is required.",toneLabel:"Tone of voice"},step2:{ageGroupsLabel:"Age groups",ageGroupsHint:"Which age groups do you target? (multiple selection)",genderLabel:"Gender",geosLabel:"Target markets (geo)",geosPlaceholder:"Another countryâ¦",languagesLabel:"Languages",languagesPlaceholder:"Another languageâ¦",useCasesLabel:"Use cases",useCasesHint:"What situations do your customers buy for?",useCasesPlaceholder:"Add use caseâ¦"},step3:{intro:"Define which content pages your products should appear on. Empty allowlist = all categories (except blockl
39ist).",allowlistLabel:"Allowed categories (allowlist)",blocklistLabel:"Blocked categories (blocklist)",customCategoryPlaceholder:"Custom categoryâ¦",blockCustomCategoryPlaceholder:"Block custom categoryâ¦",keywordsLabel:"Context keywords",keywordsHint:"Keywords that should appear in publisher content for your products to match.",keywordsPlaceholder:"Add keywordâ¦"},step4:{guidelinesLabel:"Messaging guidelines",guidelinesHint:"How should your brand be presented in AI responses?",guidelinesPlaceholder:"e.g. Always emphasize sustainability. No price comparisons.",forbiddenTermsLabel:"Forbidden terms",forbiddenTermsHint:"Terms that AI agents must never use in connection with your brand.",forbiddenTermsPlaceholder:"Enter termâ¦",disclosuresLabel:"Required disclosures",disclosuresHint:'Legal disclaimers that must always appear (e.g. "Advertisement", "Sponsored").',disclosuresPlaceholder:"Add disclosureâ¦",disclaimer:"These guidelines are transmitted to AI agents when your products appear in Enriched Snippets."},step5:{intro:"Set your monthly budget and maximum bids. You can adjust these values at any time in campaign management.",budgetLabel:"Monthly budget (CHF)",budgetHint:"Minimum budget per media buy: CHF 2,500. Trial phase: CHF 1,000 via starter credit.",budgetRequired:"Budget must be greater than 0.",maxCpmLabel:"Max. CPM (CHF)",maxCpcLabel:"Max. CPC (CHF)",pricingModelLabel:"Default pricing model"}},consumerSavedItems:{pageTitle:"Saved Products",pageSubtitle:"Your wishlist. Up to 100 products at a time.",empty:"You haven't saved any products yet.",discoverProducts:"Discover products",remove:"Remove",retry:"Reload",loadError:"Could not load your list.",bannerWarning:"You're using {count} of {limit} slots. Tidy up to make room for new finds.",bannerCritical:"Only a few slots left ({count} of {limit}). Saving will soon be blocked.",bannerFull:"List full â remove products to save new ones.",button:{save:"Save product",unsave:"Remove from list",saving:"Savingâ¦",limitReached:"Maximum of 100 reached",error:"Action failed â please try again"}},consumerPushNotifications:{title:"Push notifications",description:"Get order updates directly in your browser â even when the tab is closed.",enableButton:"Enable",disableButton:"Disable",enabledBadge:"Active",unsupported:"Your browser does not support push notifications.",denied:"You blocked notifications. Re-enable them in your browser settings, then reload the page.",workingMessage:"One momentâ¦",errorMessage:"Something went wrong â please try again."},consumerShopWishes:{pageTitle:"Shop Wishes",pageSubtitle:"Which shops should we bring on next for you?",empty:"You haven't submitted any shop wishes yet.",loadError:"Could not load your list.",mutationError:"Action failed â please try again.",deleteConfirm:"Delete this wish?",dismissButton:"Dismiss",deleteButton:"Delete",statusOpen:"Open",statusMatched:"Match found",statusFulfilled:"Fulfilled",statusDismissed:"Dismissed",button:{prompt:"Which shop should be here? Tell us â we add it to the outbound radar.",signInNudge:"Sign in to suggest a shop.",signInLink:"Sign in",shopQueryLabel:"Shop name",shopQueryPlaceholder:"e.g. Galaxus, Mona, Brackâ¦",shopUrlLabel:"Website (optional)",shopUrlPlaceholder:"https://example.com",reasonLabel:"Why (optional)",reasonPlaceholder:"Why should this shop be on Nexbid?",submit:"Suggest shop",submitting:"Sendingâ¦",successTitle:"Thanks! ð",successBody:"We'll notify you when the shop is on Nexbid.",errorMessage:"Could not send â please try again."}},consumerPaymentMethods:{pageTitle:"Payment Methods",pageSubtitle:"Save cards or Apple/Google Pay for agent-driven purchases.",addButton:"Add payment method",addSectionTitle:"New payment method",retry:"Reload",loadError:"Could not load your list.",mutationError:"Action failed â please try again.",list:{empty:"No payment methods saved yet.",defaultBadge:"Default",setDefault:"Set default",remove:"Remove",removeConfirm:"Remove this payment method?",applePay:"Apple Pay",googlePay:"Google Pay",card:"Card"},add:{loading:"Loadingâ¦",notConfigured:"Stripe is not yet configured. Payment methods will be enabled shortly.",setupError:"Setup failed. Please try again.",saveButton:"Save",saving:"Savingâ¦",cancelButton:"Cancel",setAsDefault:"Set as default payment method",successMessage:"Payment method saved."}},recipeSourceLabel:"Original recipe at"},fr:{nav:{features:"Fonctionnalités",standards:"Standards",roadmap:"Feuille de route",publisher:"Ãditeur",advertiser:"Annonceur",glossary:"Glossaire",blog:"Blog",discover:"Découvrir",integration:"Intégration",langSwitch:"FR",login:"Se connecter",forLabel:"Pour...",forPublisher:"Ãditeur",forPublisherDesc:"Monétisez votre inventaire",forAdvertiser:"Annonceur",forAdvertiserDesc:"Atteignez les agents et utilisateurs",forEnduser:"Utilisateur final",forEnduserDesc:"Découvrez des produits via l'IA",forAgents:"Agents",forAgentsDesc:"Répertoire et intégration"},hero:{badge:"Bêta fermée",title:"Quand un agent IA recommande un produit,",titleHighlight:"le Match-Moment se passe ici.",subtitle:"Trois choses doivent s'aligner: le contenu de l'éditeur, le produit de la marque, l'intention de l'utilisateur. Nexbid est le rail où ils se rencontrent â ouvert, transparent, sans verrouillage.",waitlistCta:"Demander l'accès",waitlistCount:"Déjà plus de 20 entreprises sur la liste d'attente."}
39,platformContext:{eyebrow:"Nexbid Agent Commerce Infrastructure",headline:"Une infrastructure, deux marques destinées au client",subtitle:"Nexbid est la marque et l'infrastructure agent-commerce de digital opua GmbH (Walchwil, Suisse). Ce site présente Nexbid for Marketing â le serveur publicitaire agentique. Mineralis est la marque sÅur pour la recherche actions IA dans le secteur minier/énergétique, techniquement basée sur l'infrastructure Nexbid.",appMarketingName:"Nexbid for Marketing",appMarketingStatus:"Live · Ce site",appMarketingDesc:"Serveur publicitaire agentique avec Match-Moment pour les agents IA. 90 % de revenus pour les éditeurs, licence MIT, conforme UE.",appMineralisName:"Mineralis",appMineralisStatus:"En préparation 2026",appMineralisDesc:"Recherche actions IA-native pour les investissements miniers et énergétiques. Marque autonome destinée au client, sur l'infrastructure Nexbid.",footer:"Deux marques de digital opua GmbH · Même base de conformité vérifiée par Lean 4, conforme à l'UE"},platformHero:{badge:"Verifiable Decisions",title:"Nexbid Agent Commerce",titleHighlight:"Infrastructure",subtitle:"You set the limits, we provably cannot cross them â and what is paid for says so. Infrastructure for agentic commerce with formally verified decision logic: 62 public Lean 4 theorems. EU-hosted and MIT-licensed at the core.",ctaArchitecture:"Architecture",ctaEuReadiness:"EU AI Act Readiness",ctaLeanProofs:"See the proofs"},brandFamily:{eyebrow:"Brand Family",headline:"One platform, three verticals",subtitle:"Nexbid provides the open infrastructure â verticals and sister brands build on top of it. Marketing is live today, Mineralis complements as customer-facing sister brand, more verticals follow in 2026/27.",marketingName:"Nexbid for Marketing",marketingStatus:"Live",marketingTagline:"Vertical application of the platform",marketingDesc:"Agentic ad server for publishers and advertisers â AdCP-protocol-native, Match-Moment hub for AI agents. 90% revenue to publishers.",marketingCta:"Explore",mineralisName:"Mineralis",mineralisStatus:"Live",mineralisTagline:"Sister brand on Nexbid infrastructure",mineralisDesc:"AI-native equity research for mining and energy â for family offices and institutional investors. Independent customer-facing brand of digital opua GmbH.",mineralisCta:"Visit mineralis.io",xName:"Nexbid for X",xStatus:"Roadmap 2026/27",xTagline:"More verticals planned",xDesc:"Procurement, Public Services, Consumer Layer â the Match-Moment architecture is vertical-agnostic and scales beyond marketing.",xCta:"View roadmap",footer:"All verticals on the same Lean-4-verified, EU-compliant infrastructure · digital opua GmbH (Walchwil, CH)"},platformThemes:{eyebrow:"Platform Topics",headline:"What the infrastructure is built on",subtitle:"Four pillars that make Nexbid the open, verifiable, EU-sovereign layer for agentic commerce.",themes:[{icon:"layers",title:"Architecture",desc:"Match-Moment hub, AdCP-protocol-native, multi-rail payment, 19 MCP tools. Vertical-agnostic layer between content, product, and intent.",ctaLabel:"View architecture"},{icon:"shield",title:"EU AI Act Readiness",desc:"Swiss GmbH (Walchwil), Frankfurt hosting, nDSG-compliant, ARTF/GAIA-X path â sovereign alternative to US-controlled UCP/ACP.",ctaLabel:"Read compliance"},{icon:"check",title:"Lean-4 Proofs",desc:"62 formally verified theorems, 0 sorry, CI green â mathematically proven core logic for scoring, auction, budget, wallet, end-to-end.",ctaLabel:"View proofs"},{icon:"plug",title:"AMDP â EU-Sovereign Mandate-Discovery Standard in development",desc:"Agent Mandate Discovery Protocol as open standard â co-authoring with IAB Tech Lab and Linux Foundation. ADR-040 accepted.",ctaLabel:"Read ADR-040"}]},matchMoment:{sectionTitle:"How the Match-Moment happens",sectionSubtitle:"Three things must align â and that's exactly what Nexbid does.",contentLabel:"Content",productLabel:"Product",intentLabel:"Intent",contentSubLabel:"of the publisher",productSubLabel:"of the brand",intentSubLabel:"of the user",matchLabel:"Match-Moment",outputLabel:"Enriched Snippet"},matchMomentDemo:{eyebrow:"Live demo · real auction",title:"The match moment â live and verifiable",lead:"Ask a question about a Betty Bossi recipe â this page looks up a real matching recipe, triggers a real auction against real campaign budgets, and shows all four evidence layers: the publisher context, the winning ad, the score decomposition, and the payment proof.",disclaimer:"Every run spends real advertising budget and delivers a real ad â tagged as a demo run, not organic publisher traffic. Capped at 10 runs per hour and visitor.",queryLabel:"Your question",queryPlaceholder:'e.g. "Which champagne pairs with smoked salmon?"',queryHint:"We look up a real, matching Betty Bossi recipe and run the auction in its context.",runCta:"Run auction",runningLabel:"Auction running â¦",stepContext:"1. Publisher context",stepMatch:"2. Winning ad",stepAuction:"3. Auction trace",stepProof:"4. Proof",resultQueryLabel:"Query",noAuctionTrace:"No auction decomposition is available for this run.",noWinnerTitle:"No winner in this run",noWinnerBody:"The auction ran against the real publisher context â no bid was relevant enough to win. That is a valid outcome, not a failure of this page.",noM
39atchTitle:"No matching content found",noMatchBody:"No matching Betty Bossi recipe was found for this question â please try rephrasing it.",invalidQueryTitle:"Invalid question",invalidQueryBody:"Please enter a question between 3 and 200 characters.",archivedBadge:"Archived state",archivedNotice:"Live auction unreachable right now. This view shows the last conserved delivery from",rateLimitedTitle:"Hourly limit reached",rateLimitedBody:"Too many demo runs this hour â please try again in about an hour.",discoverFailedTitle:"Auction did not complete",discoverFailedBody:"The auction service did not respond as expected. No result is shown â please try again in a moment.",discoverUnreachableTitle:"Service currently unreachable",discoverUnreachableBody:"The auction service is currently unreachable. Please try again in a few minutes.",networkErrorTitle:"Connection failed",networkErrorBody:"The request to this demo could not be sent. Please check your internet connection and try again.",genericErrorTitle:"Demo run failed",genericErrorBody:"The demo run failed.",statusLabel:"Status",retryCta:"Try again",seoTitle:"Match moment live â glass-box demo",seoDescription:"A real auction, triggered live: publisher context, winning ad, score decomposition, and payment proof in one run â with real campaign budget.",evidencePendingBody:"Proof not booked yet â booking happens asynchronously and can take a moment. Please check again shortly.",receiptKeyLabel:"Public key for verification:",semanticFallbackTitle:"Topical fallback, not an auction win",semanticFallbackBody:"This result comes from the topical fallback (semantic similarity), not a won auction â there is no auction trace and no signed receipt for it. The price shown is not the real product price.",dailyCapNotice:"Daily demo-run limit reached. This view shows the last conserved delivery from",moreSignalsLabel:"Additional detected signals",dashboardTitle:"Match Moments",dashboardLead:"The most recent match moments for this account â as advertiser (paid) or as publisher (credited).",dashboardEmptyTitle:"No match moments yet",dashboardEmptyBody:"This account has no delivered match moments yet. As soon as an agent sees a sponsored ad, it will show up here.",groupCount:"auctions",groupTotal:"Total",groupLatest:"Latest auction",groupOthers:"more auctions in this group",groupShowOthers:"Show individual auctions",groupHideOthers:"Hide individual auctions",groupHideUnpaid:"Hide house ads (no charge)",groupWinner:"Winner",groupHouse:"House ad",dashboardLoadErrorTitle:"Could not load match moments",dashboardLoadErrorBody:"Please reload the page or try again later.",dashboardLoadingLabel:"Loading match moments â¦",contextSignalLabels:{nx_cuisine:"Cuisine",nx_difficulty:"Difficulty",nx_language:"Language",nx_intent:"Intent",nx_quality:"Quality",nx_ingredients:"Ingredients",nx_season:"Season",nx_occasion:"Occasion",nx_audience:"Audience",nx_affinity:"Affinity",nx_purchase_intent:"Purchase intent",nx_iab:"IAB category",nx_brand:"Brand"}},features:{sectionTitle:"Why Nexbid?",sectionSubtitle:"Agentic commerce for everyone â not just the biggest players.",items:[{icon:"bot",title:"Agentic-First",description:"AI agents negotiate on behalf of publishers and advertisers. Context-based, not cookie-based."}
39,{icon:"shield",title:"Privacy-Native",description:"No cookies, no fingerprinting. Contextual + agent-based signals. GDPR-compliant by design."},{icon:"plug",title:"Standards-Open",description:"AdCP v2.0, OpenRTB, Prebid.js â Nexbid speaks the language of your existing stack."},{icon:"trending",title:"Fair Value Chain",description:"No 30-70% revenue loss to intermediaries. Direct negotiation between agents â for publishers and advertisers."},{icon:"eye",title:"100% Transparent",description:"Every auction decision is traceable. No black box. Transparent auctions, open standards."},{icon:"unlock",title:"No Vendor Lock-in",description:"Self-hosted or managed. Your data, your server, your rules."},{icon:"layers",title:"5 of 6 Ecosystem Layers",description:"From catalog readiness through discovery to protocol layer â Nexbid covers 5 of 6 layers in the AI commerce ecosystem. OpenAI and Google cover just 2 each."},{icon:"filter",title:"Curation over Overload",description:"Agents receive 3â5 curated recommendations instead of 10,000 listings. Optimized for relevance and purchase probability â no clickbait."}]},partners:{sectionTitle:"Premiers partenaires de lâécosystème",sectionSubtitle:"Ces entreprises font partie de la Closed Beta de Nexbid.",items:[{name:"Betty Bossi",role:"Ãditeur",description:"7 000+ recettes dans lâécosystème Nexbid",logo:"/logos/betty-bossi.svg",url:"https://www.bettybossi.ch"},{name:"The Champagne",role:"Partenaire de marque",description:"Marque suisse de champagne â sans intégration de boutique pour lâinstant",logo:"/logos/the-champagne.svg",url:"https://www.the-champagne.ch"},{name:"digital opua",role:"Technologie",description:"Logiciels & produits IA",logo:"/logos/digital-opua.png",url:"https://digital-opua.ch"},{name:"digital nalu",role:"Annonceur",description:"Marketing & stratégie",logo:"/logos/digital-nalu.svg",url:"https://digital-nalu.ch"}]},standards:{sectionTitle:"Standards & Protocols",sectionSubtitle:"Nexbid builds on open standards â no proprietary protocols.",phase1:"Phase 1 (MVP)",phase2:"Phase 2",phase3:"Phase 3"},roadmap:{sectionTitle:"Roadmap",phases:[{phase:"Phase 0",title:"Closed Beta + GO",period:"Q1 2026",status:"done",items:["Discovery API + MCP Server live","40+ publisher & advertiser interviews (DACH)","GO decision 2026-04-10","Founding Customer program launched"]},{phase:"Sprint 1-3",title:"Agent Discovery + Settlement",period:"April 2026",status:"done",items:["Agent Discovery hardening + 19 MCP tools","Enriched Snippet Billing + Publisher Dashboard","ACP-Interop + Prebid + Quality Gates","x402 Mainnet live + Wallet-Pay Magic-Link"]},{phase:"Sprint 4",title:"Customer Portal + Multi-Rail",period:"May-June 2026",status:"active",items:["Customer Portal Phase 1 (Advertiser Self-Serve)","Brand-Agent-Wizard 8 steps","Verified Agent Delivery + AAO Coalition","Universal Purchase Mandate pilot (FOCUSWATER)"]},{phase:"Sprint 5-6",title:"OpenAI Bridge + Consumer Layer",period:"July-October 2026",status:"upcoming",items:["OpenAI CPC Bridge via StackAdapt","Customer Portal Phase 2 (Publisher) + Phase 3","Consumer Layer Grade 2 (Click-to-Pay + Wallet)","Criteo Fast-Follow + AdCP v3 Self-Attested"]}]},waitlist:{sectionTitle:"Closed Beta",sectionSubtitle:"Nexbid is in closed beta. Apply now for a spot.",emailPlaceholder:"[email protected]",submitButton:"Join the Waitlist",submitting:"Submitting...",successTitle:"You're in!",successMessage:"We'll let you know
39when the beta launches.",rolePublisher:"Publisher",roleAdtech:"Ad-Tech Developer",roleAdvertiser:"Advertiser / Agency",roleOther:"Other",rolePlaceholder:"I'm a...",duplicateMessage:"This email is already registered.",errorMessage:"Something went wrong. Please try again later."},productsPage:{title:"Products & Services",subtitle:"Discover products, services, and courses from Commerce Participants.",searchPlaceholder:"Search products...",allCategories:"All Categories",search:"Search",searching:"Searching...",resultsFound:"results found in",noResults:"No products found. Try a different search query.",inStock:"In Stock",preorder:"Pre-order",outOfStock:"Out of Stock",updatedLabel:"Updated",geoOptions:{CH:"Switzerland",DE:"Germany",AT:"Austria",US:"United States",GB:"United Kingdom"}},press:{badge:"Press Kit",title:"Nexbid by the Numbers",subtitle:"Everything you need to report on Nexbid.",facts:{title:"Company",founded:"Founded",foundedValue:"2026",hq:"Headquarters",hqValue:"Walchwil, Switzerland",license:"License",licenseValue:"MIT (Open Core)",phase:"Phase",phaseValue:"Closed Beta",protocol:"Protocol",protocolValue:"AdCP v2.0",standards:"Standards",standardsValue:"MCP, OpenRTB, Prebid (Roadmap)"},description:"Nexbid is the open infrastructure for agentic commerce. AI agents are changing how consumers find products â Nexbid gives publishers and advertisers back control. Open, transparent, no lock-in.",metrics:{title:"Key Metrics",endpoints:"API Endpoints",theorems:"Formally Verified Theorems",migrations:"DB Migrations",standards:"Standards (3 live)"},logos:{title:"Logos & Brand Assets",dark:"Logo (Dark)",light:"Logo (Light)",icon:"Icon",colors:"Brand Colors"},presentations:{title:"Presentations",subtitle:"Downloadable decks for different audiences.",driveLink:"All materials on Google Drive",decks:[{title:"Strategic Overview",audience:"C-Level, Investors"},{title:"Publisher Guide",audience:"Publishers, Ad Ops"},{title:"Advertiser Guide",audience:"E-Commerce, Brands"},{title:"Marketing Teams",audience:"Marketing Ops"},{title:"Technical Overview",audience:"CTOs, Developers"},{title:"Product Demo",audience:"All audiences"},{title:"Open Source & Protocol",audience:"Developer Community"},{title:"Market & Trends",audience:"Analysts, Press"}]},contact:{title:"Contact",email:"[email protected]",website:"nexbid.dev"},cta:"Interested in a story? Get in touch."},footer:{builtBy:"Conçu par",company:"digital opua GmbH",switzerland:"Suisse",license:"Tous droits réservés · Licence MIT (Open Core)",preferredSourceLabel:"Ajouter comme source préférée sur Google",preferredSourceHint:"ouvre chez Google",preferredSourcePath:"/source-preferee",preferredSourceWhat:"Quâest-ce que câest ?",privacy:"Confidentialité",imprint:"Mentions légales",terms:"Conditions",press:"Kit presse",siteNavLabel:"Navigation du site",newBadge:"Nouveau",colProduct:"Produit",colContent:"Contenu",colDevelopers:"Développeurs",colResources:"Ressources",colCompany:"Entreprise",linkDiscover:"Match-Engine",linkCompare:"Comparer",linkBrands:"Marques",linkProducts:"Produits",linkRecipes:"Recettes",linkEditorials:"Magazine",linkServices:"Services",linkDocs:"Documentation",linkMcpDocs:"Docs MCP",linkScoringDocs:"Formule de scoring",linkVerificationDocs:"Vérification Lean 4",linkAgentManifest:"Manifeste Agent",linkVerifiedDelivery:"Verified Agent Delivery",linkTechnology:"Technologie",linkAgenticCommerce:"Qu'est-ce que le commerce agentique",linkMonetizeContent:"Monétiser le contenu",linkOpenVsOpen:"MIT vs. Apache 2.0",linkPricing:"Prix & Programmes",linkPublisherMcp:"MCP pour éditeurs",linkSupport:"Support",verticalArchitecture:"Marque sÅur de digital opua GmbH",linkSisterVertical:"Mineralis (Mining & Energy)",sisterBrandDesc:"Recherche en actions IA-native pour les mines et lâénergie · Pour Family Offices et investisseurs institutionnels",sisterBrandCta:"Visiter mineralis.io"},legal:{lastUpdated:"Last updated",backToHome:"Back to homepage",privacyTitle:"Privacy Policy",imprintTitle:"Imprint",termsTitle:"Terms of Service"},publisher:{badge:"For Publishers",heroTitle:"You bring the pages.",heroHighlight:"We bring the Match-Moment.",heroSubtitle:"When an AI agent recommends a product, it looks for c
39ontent that fits. Nexbid makes your pages AI-readable and brings paying brands to them. You earn per recommendation involving your content â not the middleman in between. Transparent, privacy-compliant, no cookies.",howItWorks:"How It Works",steps:[{number:"01",title:"Integrate Nexbid Tag",description:"One JavaScript snippet on your site. Nexbid scans your content â topic, sentiment, entities â and enriches every ad request with these signals. DSPs get richer context, match more precisely, and bid higher."},{number:"02",title:"Relevance Over Tracking",description:"AI agents match ads to page content, not user profiles. The result: ads your readers actually engage with â and higher bids from advertisers."},{number:"03",title:"More Revenue Per Impression",description:"Relevant ads = higher engagement = higher CPMs. Without intermediary cuts, you keep more of what your inventory is worth."}],featuresTitle:"Built for Publishers",features:[{icon:"code",title:"Context API",description:"Understands your content at page level â topic, sentiment, entities. So users see ads that match the context. Without tracking."},{icon:"signal",title:"Signal Enrichment",description:"Enriches every ad request with content intelligence. Better signals mean more relevant ads for users â and higher CPMs for you."},{icon:"eye",title:"Auction Transparency",description:"See every bid, every decision, every reason. No more black-box auctions eating your margins."},{icon:"chart",title:"Revenue Analytics",description:"Real-time dashboard with CPM trends, fill rates, and user engagement. Your data, your insights."},{icon:"trending",title:"Agent Discovery Revenue",description:"AI agents are becoming the primary discovery channel. Nexbid brings your content directly to Claude, ChatGPT, and Gemini â monetizing every agent query."}],codeTitle:"One Tag. Full Control.",pricingTitle:"Founding Publisher Program",pricingSubtitle:"Three options â for every situation. Limited to 10 spots.",pricingTrustBadge:"Verified Agent Delivery â every delivery cryptographically signed (Ed25519). No bot inflation, no hallucinated snippets.",pricingTiers:[{name:"Founding Publisher",price:"CHF 5,000",priceDetail:"one-time",fee:"5% Platform Fee (12 months)",feeAfter:"Then 10%",features:["Complete onboarding","Feed ingest + AI enrichment","Inventory setup + GAM integration","Enriched snippet setup","Monthly reporting + review"],highlight:!0},{name:"Managed Publisher",price:"from CHF 1,000",priceDetail:"/month",fee:"10% Platform Fee · Publisher keeps 90%",feeAfter:"Dedicated account manager + reporting",features:["Ongoing management","Feed ingest + AI enrichment","Inventory setup + GAM integration","Enriched snippet setup","Monthly reporting + review"],highlight:!1},{name:"Self-Serve",price:"Free",priceDetail:"",fee:"10% Platform Fee",feeAfter:"",features:["Self-service setup","Documentation + API","Community support"],highlight:!1}],ctaTitle:"Ads that enrich users â not annoy them.",ctaSubtitle:"Join the waitlist and learn how user relevance boosts your CPMs.",ctaButton:"Join the Waitlist"},advertiser:{badge:"For Advertisers",heroTitle:"You bring the products.",heroHighlight:"We bring the Match-Moment.",heroSubtitle:"AI agents recommend products today â but not yours. Nexbid brings your product feed into the recommendation moment in minutes. Your product, in the right content context, with the right user.",howItWorks:"Two Paths to Users",route1Badge:"Agent-to-Agent",route1Title:"Agent-to-Agent Commerce",route1Subtitle:"The open ecosystem for AI agents. Like an Amazon for agents â your offer gets discovered without Google, without search engines.",route1Steps:[{number:"01",title:"User Gives Their Agent a Task",description:'The user tells their AI agent: "Find running shoes under CHF 200." The agent knows their preferences â favorite brand, size, budget â and starts searching.'},{number:"02",title:"Agent Arrives on Nexbid's Platform",description:"The agent reaches Nexbid's open ecosystem and passes signals: preferences, budget, size. Nexbid matches content, product, and intent â and returns a handful of relevant top recommendations. Optimized for purchase likelihood, not clicks."},{number:"03",title:"Result: Direct, Transparent, No Middleman",de
39scription:"No Google, no search engine, no display network. Agent-to-agent â open, transparent, and optimized for real user relevance."}],route2Badge:"Classic + Agentic",route2Title:"Classic Advertising, Optionally Agentic",route2Subtitle:"Display, video, native â on established publishers and networks. With or without agent optimization.",route2Steps:[{number:"01",title:"Buy Classic Advertising",description:"Display, video, native ads â on established publishers, networks, direct or programmatic. Proven formats, proven channels."},{number:"02",title:"Agentic Media Buying via DCM",description:"Use your own agents for media buying through digital-campaign-manager.com. Branding, performance, retargeting â all agent-controlled."},{number:"03",title:"Flexibly Deployable",description:"With or without agents â as a regular ad server or with full agent control. You determine the level of automation."}],featuresTitle:"Built for Advertisers",features:[{icon:"rss",title:"Open Ecosystem",description:"Nexbid as an open marketplace â any agent can query, any advertiser can offer. A new channel alongside search and display."},{icon:"bot",title:"Classic + Agentic Ads",description:"Display, video, native â with or without agent optimization. Classic formats, optionally with AI-powered media buying."},{icon:"target",title:"Full Attribution",description:"End-to-end tracking across both paths. Every impression, every click, every conversion â seamless and transparent."},{icon:"link",title:"DCM Integration",description:"Optional: digital-campaign-manager.com for campaign management with your own agents. Branding, performance, retargeting â all from one platform."},{icon:"zap",title:"Minutes, Not Months",description:"Your existing Google Shopping feed is enough. The Feed Ingestor normalizes and structures it automatically for AI agents â no effort, no rebuild required."}],protocolTitle:"Powered by AdCP v2.0",protocolSubtitle:"Nexbid covers 5 of 6 layers in the AI Commerce Ecosystem â from catalog readiness through discovery to the protocol layer. OpenAI and Google build walled gardens. We build open rails. MIT-licensed.",pricingTitle:"Founding Advertiser Program",pricingSubtitle:"Three options â for every situation. Limited to 10 spots. Managed expandable via modular add-ons. Publisher media deals negotiable on top.",pricingTrustBadge:"Verified Agent Delivery â every delivery cryptographically signed (Ed25519). Pay only for real agent touchpoints, not bot inflation.",pricingTiers:[{name:"Founding Advertiser",price:"CHF 5,000",priceDetail:"one-time + CHF 500/month",fee:"10% discount on enriched snippets (12 months)",feeAfter:"CHF 1,000 starter credit + then standard pricing",features:["Complete onboarding","Feed ingest + AI enrichment","Digital Brand Environment","Enriched Snippet setup","AEO audit","Access to publisher media deals"],highlight:!0},{name:"Managed Advertiser",price:"CHF 2,500",priceDetail:"/month base",fee:"10% discount on enriched snippets (12 months)",feeAfter:"Add-ons from CHF 500/month",features:["Dedicated account manager","Monthly report + AEO monitoring","Publisher deal moderation","Priority support","Modular add-ons (DCM, deal sourcing, content production)","Everything from Founding"],highlight:!1},{name:"Self-Serve",price:"Free",priceDetail:"",fee:"Standard pricing",feeAfter:"",features:["Self-guided setup","Docs + API + MCP server","Community support","No brand environment, no enrichment, no publisher deals"],highlight:!1}],ctaTitle:"Two Paths. Full Control.",ctaSubtitle:"Join the waitlist and learn how Agent-to-Agent Commerce and Agentic Campaigns boost your conversions.",ctaButton:"Join the Waitlist"},glossary:{pageTitle:"Glossary",pageSubtitle:"Key terms from Agentic Advert
39ising, Ad-Tech, Privacy, and Protocols â explained simply.",searchPlaceholder:"Search terms...",allCategories:"All",categoryAgentic:"Agentic",categoryAdtech:"Ad-Tech",categoryPrivacy:"Privacy",categoryProtocol:"Protocols",categoryTechnical:"Technical",noResults:"No terms found.",relatedTerms:"Related"},blog:{pageTitle:"Blog",pageSubtitle:"Insights on Agentic Advertising, privacy-first ad-tech, and the future of programmatic advertising.",allPosts:"All Posts",noPosts:"No posts found.",readMore:"Read more",notFound:"Post not found",backToBlog:"Back to Blog",relatedPosts:"Related Posts"},docs:{pageTitle:"Documentation",pageSubtitle:"Everything you need to get started with Nexbid â as a publisher, advertiser, agent developer, or end user.",tabs:{publisher:"Publisher",advertiser:"Advertiser",enduser:"End-User & AI Agents",developer:"Developer"},gettingStarted:"Getting Started",apiEndpoints:"API Endpoints",integration:"Integration",mcpServer:"MCP Server",productFeed:"Product Feed",availableTools:"Available Tools",techStack:"Tech Stack",openSource:"Status & Roadmap",viewOnGithub:"Get in Touch",openApiSpec:"OpenAPI Specification",comingSoon:"Coming Soon",baseUrl:"Base URL",method:"Method",description:"Description",response:"Response",example:"Example",parameters:"Parameters"},discover:{badge:"Free for Users",heroTitle:"Find the best deals.",heroHighlight:"Your agent searches for you.",heroSubtitle:"Nexbid connects you to brands and offers directly through your AI agent â no tracking, no ads, no middleman. Tell your agent what you need, and it finds it.",voteCta:"Vote for Brands",suggestCta:"Suggest a Brand",freeLabel:"Nexbid is and will remain free for consumers.",votingTitle:"Which brands do you want to find?",votingSubtitle:"Vote for the brands you want to see on Nexbid first. We'll invite the top-voted brands.",votesLabel:"votes",suggestionTitle:"Your favorite brand is missing?",suggestionSubtitle:"Suggest a brand you want to see on Nexbid. We'll reach out to them for you.",brandPlaceholder:"Brand name (e.g. Nike, Apple, ...)",emailPlaceholder:"Your email (optional)",suggestButton:"Suggest Brand",submitting:"Submitting...",suggestionSuccessTitle:"Thanks for your suggestion!",suggestionSuccessMessage:"We'll reach out to the brand.",suggestAnother:"Suggest another brand",errorMessage:"Something went wrong. Please try again later.",howItWorksTitle:"How Nexbid works for you",howItWorksSubtitle:"Three steps â and your agent finds the best deal.",steps:[{number:"01",title:"Tell your agent what you need",description:'"Find running shoes under CHF 200" â your AI agent knows your preferences and starts searching.'},{number:"02",title:"Your agent queries Nexbid",description:"Nexbid filters, ranks, and returns the most relevant results â based on real context, not tracking."},{number:"03",title:"You get the best deal",description:"Direct, transparent, no middleman. No Google, no display network â agent-to-agent."}],features:[{icon:"shield",title:"No Tracking",description:"No co
39okies, no fingerprinting, no ad profiles. Your data stays with you."},{icon:"bot",title:"Agent-First",description:"Your AI agent negotiates for you â faster, cheaper, and more relevant than any search engine."},{icon:"trending",title:"Better Prices",description:"Without intermediaries taking 30-70%, brands can pass better prices directly to you."},{icon:"filter",title:"Curated, not flooded",description:"Your agent gets a handpicked selection instead of endless lists â optimized for your preferences, not for ad budgets."}],bottomCta:"Vote for Brands Now"},enduser:{badge:"For End Users",heroTitle:"Find the best products",heroHighlight:"with your AI agent",heroSubtitle:"Nexbid connects AI agents with thousands of products â transparent, ad-free, privacy-compliant.",searchPlaceholder:'What are you looking for? e.g. "Running shoes under 150 CHF"',searchButton:"Search",searchPowered:"Powered by Nexbid Discovery API â no cookies, no tracking",uspPrivacyTitle:"Privacy-First",uspPrivacyDesc:"No cookies, no fingerprinting. Data stays in the EU (Frankfurt). GDPR & nDSG compliant.",uspSpeedTitle:"Instant Results",uspSpeedDesc:"Under 100ms response time. Your agent gets results in real-time.",uspPricesTitle:"Real Prices",uspPricesDesc:"Current prices and availability directly from the shops.",uspAgentTitle:"Agent-Compatible",uspAgentDesc:"Works with Claude, ChatGPT, Gemini and any MCP-capable agent.",howTitle:"How It Works",howStep1Title:"Ask your agent",howStep1Desc:'"Find me a quiet vacuum cleaner under 300 CHF"',howStep2Title:"Agent searches Nexbid",howStep2Desc:"Thousands of products in milliseconds",howStep3Title:"Results with context",howStep3Desc:"Prices, reviews, comparisons â all structured",setupTitle:"Connect your agent",setupDesc:"Add Nexbid as an MCP server and your agent can instantly find products.",setupCta:"Setup Guide",directoryCta:"Agent Directory",seoTitle:"AI-Powered Product Search â Nexbid for End Users",seoText:"Nexbid revolutionizes the way you find products. Instead of clicking through dozens of shops yourself, your AI agent takes over the search â fast, precise, and privacy-compliant. The Nexbid Discovery API connects AI agents like Claude, ChatGPT, and Gemini with thousands of products from the DACH region. No cookies are set and no fingerprinting is performed â all processing takes place in the EU (Frankfurt), compliant with GDPR and nDSG. Whether you're looking for the best running shoes under 150 CHF, want to compare quiet vacuum cleaners, or need the cheapest deal on a specific smartphone: Your agent queries Nexbid and receives structured results with current prices, availability, and reviews in under 100 milliseconds. Nexbid is the open commerce infrastructure for the age of AI agents â transparent, ad-free, and without vendor lock-in. For end users, it's completely free. You simply connect your AI agent to the Nexbid MCP server, and it can start finding the best products for you. The future of shopping is agent-based â and with Nexbid, you're part of it.",faqTitle:"Frequently Asked Questions",faq:[{q:"What is Nexbid?",a:"Nexbid is the open commerce infrastructure for AI agents. Your agent can search, compare, and find the best deals through Nexbid â transparently and without ads."},{q:"Is it free to use?",a:"Yes, Nexbid is completely free for end users. Publishers also pay no fee â they provide content (pages) and receive 90% of the Enriched Snippet revenue. Advertisers pay for placing their products in matching content, and Nexbid keeps a 10% platform fee."},{q:"Which AI agents work with Nexbid?",a:"Claude (Anthropic), ChatGPT (OpenAI), Gemini (Google), as well as any MCP-capable or REST API agent. Check the Agent Directory for a full overview."},{q:"What about privacy?",a:"Nexbid sets no cookies and uses no fingerprinting. All data is processed in the EU (Frankfurt). We are GDPR and nDSG compliant."},{q:"How current are the prices?",a:"Product data is regularly updated via automated feeds. Freshness depends on the publisher but is typically updated daily."},{q:"Can I buy directly through Nexbid?",a:"Not yet directly. Nexbid currently redirects you to the provider's shop. An integrated purchase process is planned for the future."}]},agents:{badge:"For Agents",heroTitle:"The open network",heroHighlight:"for AI agents",heroSubtitle:"Nexbid is the central commerce data source for agents. Open, fast, structured â no walled gardens.",statsAgents:"
39Compatible Agents",statsLatency:"Avg Response Time",statsUptime:"Uptime (30d)",statsLicense:"Open Source",directoryTitle:"Agent Directory",directorySubtitle:"Compatible agents and their performance",infoTitle:"For Agents: Info Endpoint",infoDesc:"Structured information that an agent can share with its users",devTitle:"Developer Hub",devSubtitle:"How to integrate Nexbid into your agent",devItems:[{title:"MCP Server",description:"Model Context Protocol â the fastest path to integration",link:"/docs/mcp"},{title:"REST API",description:"Universal JSON API with API key authentication",link:"/docs"},{title:"llms.txt",description:"Machine-readable project description for LLMs",link:"https://nexbid.dev/llms.txt"},{title:"agents.json",description:"Agent manifest following OpenAI standard",link:"https://nexbid.dev/agents.json"}],whyTitle:"Why Agents Prefer Nexbid",whyItems:[{title:"Fast Responses",description:"Under 100ms response time â agents prefer fast sources."},{title:"Structured Data",description:"JSON instead of HTML scraping. Prices, images, categories â all structured."},{title:"Feedback Loop",description:"Agents learn that Nexbid delivers relevant results â and come back."},{title:"No Walled Gardens",description:"Open protocol (MCP), no proprietary APIs, no vendor lock-in."}],seoTitle:"AI Agent Integration â Nexbid Agent Directory & API",seoText:"Nexbid is the open commerce infrastructure built specifically for AI agents. As the central data source for agentic commerce, Nexbid provides structured product data via the Model Context Protocol (MCP) and a REST API. Agents like Claude (Anthropic), ChatGPT (OpenAI), and Gemini (Google) can search, compare, and present the best deals to their users through Nexbid â in under 100 milliseconds. The Agent Directory shows all compatible agents with their protocols, capabilities, and average response times. Developers can find everything they need for integration in the Developer Hub: MCP server configuration, REST API documentation, llms.txt, and agents.json. Nexbid uses open standards instead of proprietary protocols â unlike OpenAI ACP or Google UCP. All communication uses the open MCP protocol, developed by Anthropic and published as an open standard. For agent developers, this means: No lock-in risks, no proprietary SDKs, no hidden costs. Integration takes just minutes and data is immediately available.",faqTitle:"Frequently Asked Questions",faq:[{q:"How do I integrate my agent?",a:"Fastest via MCP: Add the Nexbid MCP server to your agent configuration. Alternative: REST API with POST /v1/discover."},{q:"Do I need an API key?",a:"For MCP: No, no authentication required. For REST API: Yes, free API key via the dashboard."},{q:"What data does Nexbid provide?",a:"Product name, price, description, images, category, shop URL, availability, and reviews â all as structured JSON."},{q:"How fast is the API?",a:"Average under 80ms. The fastest agents (Custom MCP) achieve 45ms."},{q:"Is it free to use?",a:"For development and testing: Yes. For production: Free up to a certain volume, then usage-based."},{q:"What's the difference to OpenAI ACP?",a:"Nexbid uses the open MCP protocol instead of proprietary APIs. No vendor lock-in, full control, MIT-licensed."}],infoPageTitle:"Nexbid Agent Information",infoPageDesc:"All information an AI agent needs about Nexbid"},integration:{badge:"Integration",title:"Integrate Nexbid",subtitle:"Choose your integration path â as Publisher or Advertiser. Set up in minutes.",cards:[{icon:"code",title:"Publisher Integration",description:"Add the Nexbid AdTag via GTM, Tealium, or manually. Contextual signals for higher CPMs.",link:"/integration/publisher",cta:"Publisher Guide"},{icon:"rss",title:"Advertiser Integration",description:"Upload your product feed â via CSV, API, Google Merchant Center, or manually.",link:"/integration/advertiser",cta:"Advertiser Guide"}]},integrationPublisher:{badge:"Publisher",title:"Publisher Integration",subtitle:"Three ways to embed the Nexbid AdTag on your website. Choose the method that fits your setup.",backLink:"Back to Overview",methodLabel:"Method",copyLabel:"Copy",methods:[{id:"gtm",title:"Google Tag Manager",description:"Recommended for most publishers. No deployment required.",steps:["Open Google Tag Manager and create a new Custom HTML Tag.","Paste the Nexbid code and replace YOUR_PUBLISHER_ID with your ID.",'Set the trigger to "All Pages" or your desired pages.',"Publish the container."],code:"gtm"},{id:"tealium",title:"Tealium iQ",description:"For enterprise publishers with Tealium Tag Management.",steps:['Create a new "Generic Tag" in Tealium iQ.',"Add the Nexbid snippet as a Custom Script.","Configure Load Rules for the desired pages.","Publish the changes in your Tealium profile."],code:"manual"},{id:"manual",title:"Manual Snippet",description:"Directly in HTML â for full control without a tag manager.",steps:["Copy the snippet below.","Replace YOUR_PUBLISHER_ID with your publisher ID.","Paste it before the closing </head> tag.","Deploy the change to your website."],code:"manual"}],ctaTitle:"Custom Onboarding",ctaDescription:"Need help with integration? Our team supports you â free during Phase 0.",ctaButton:"Get in Touch"},integrationAdvertiser:{badge:"Advertiser",title:"Advertiser Integration",subtitle:"Four ways to list your products on Nexbid. Choose the method that fits your workflow.",backLink:"Back to Overview",comingSoonLabel:"Coming Soon",methods:[{icon:"trending",title:"CSV Import",description:"Upload a CSV file with your products. Ideal for a quick start.",details:["Download the CSV template","Fill in required fields: Name, Price, Category, URL","Upload the file in the dashboard","Products go live immediately"]},{icon:"plug",title:"API / Feed URL",description:"Connect your existing product feed directly to Nexbid.",details:["JSON and XML feeds supp
39orted","Automatic sync every 6 hours","Google Merchant Center format compatible","Webhook notifications on errors"]},{icon:"link",title:"Google Merchant Center",description:"Connect your GMC account via OAuth â automatic import.",details:["One-click OAuth connection","Automatic product sync","Categories are preserved","Real-time price and availability updates"],comingSoon:!0},{icon:"eye",title:"Manual Editor",description:"Add products individually in the dashboard â for small catalogs.",details:["Form-based input","Image upload directly in the browser","Preview before publishing","Ideal for single products or testing"],comingSoon:!0}],formatTitle:"Supported Feed Formats",formatDescription:"Nexbid supports common product feed formats. Google Merchant Center feeds work without modification.",formats:[{name:"JSON",description:"Standard format for API integration. Schema at docs.nexbid.dev"},{name:"XML",description:"Google Shopping-compatible XML. Automatic field detection."},{name:"CSV",description:"Simple tabular format. Template download in the dashboard."},{name:"TSV",description:"Tab-separated. Compatible with Google Merchant Center exports."}],ctaTitle:"Custom Onboarding",ctaDescription:"Need help with feed integration? Our team supports you â free during Phase 0.",ctaButton:"Get in Touch"},go:{publishers:{hero:{badge:"For Publishers",title:"Your pages are losing value.",highlight:"AI agents are the solution.",subtitle:"Nexbid matches your content with advertiser products â when users search via AI agents. You bring the pages, advertisers bring the products and budget, you keep 90% of every Enriched Snippet."},problems:[{icon:"trending",title:"Declining CPMs",description:"Traditional display advertising is losing value. Cookie deprecation accelerates the trend."},{icon:"eye",title:"Invisible to agents",description:"AI agents crawl your pages without giving anything back â and without knowing which advertiser products would fit perfectly into your content."},{icon:"shield",title:"Vendor lock-in",description:"Proprietary platforms dictate terms. You have no control."}],solutions:[{icon:"bot",title:"Content à Product à Intent",description:"Your pages are matched with relevant advertiser products and user intent â only then does an Enriched Snippet get created, and only then do you earn."},{icon:"code",title:"One tag, done",description:"Integration in 5 minutes. One script tag or Prebid.js adapter. No products of your own needed â advertisers bring them."},{icon:"chart",title:"90/10 â Publishers keep 90%",description:"Transparent, fair terms. Advertisers pay, Nexbid keeps a 10% platform fee, you get 90%."}],socialProof:{stats:[{value:"$26B",label:"AI ad market by 2029"},{value:"+805%",label:"AI traffic growth YoY"},{value:"MIT",label:"Open source license"}]},cta:{primary:{label:"Get started",href:"/sign-up"},secondary:{label:"Learn more",href:"/publisher"}},seo:{title:"Nexbid for Publishers â AI Agent Monetization",description:"Your pages à advertiser products à user intent = Enriched Snippet. Open protocol, 90/10 â publishers keep 90%, no lock-in."}},brands:{hero:{badge:"For Brands",title:"Your products are invisible.",highlight:"To AI agents.",subtitle:"AI agents recommend products â but not yours. Nexbid makes your brand discoverable in the agent ecosystem."},problems:[{icon:"eye",title:"Agents don't know you",description:"50% of online shoppers will use AI agents by 2030. Without presence in the agent ecosystem, you're out."},{icon:"target",title:"Walled gardens",description:"OpenAI and Google control access. Minimum $200K entry budget."},{icon:"shield",title:"No transparency",description:"You don't know when or why an agent recommends your product â or doesn't."}],solutions:[{icon:"bot",title:"Brand Portal",description:"Your digital brand space â the single source of truth for AI agents."},{icon:"chart",title:"Scoring transparency",description:"See exactly how your score is calculated: relevance, quality, bid â all open."},{icon:"trending",title:"No minimum budget",description:"Start with CHF 50. Pay only for real agent interactions."}],socialProof:{stats:[{value:"â¬109B",label:"EU Agentic Commerce by 2030"},{value:"4Ã",label:"Faster than classic e-commerce"},{value:"0",label:"Cookies required"}]},cta:{primary:{label:"Create account",href:"/sign-up"},secondary:{label:"Learn more",href:"/advertiser"}},seo:{title:"Nexbid for Brands â Visibility in the Agent Ecosystem",description:"Make your products discoverable by AI agents. Open infrastru
39cture, transparent scoring, no minimum budget."}},agencies:{hero:{badge:"For Agencies",title:"Your clients are asking about AI advertising.",highlight:"Deliver it.",subtitle:"Nexbid gives agencies the infrastructure to position clients in agentic commerce â without building their own tech."},problems:[{icon:"trending",title:"New discipline, no tool",description:"Agentic commerce grows 4Ã faster than e-commerce. Your clients expect expertise â you have no tool."},{icon:"target",title:"High entry barriers",description:"OpenAI Ad Pilot: $200K minimum. Google UCP: enterprise only. Your mid-market clients are locked out."},{icon:"code",title:"Build vs. buy",description:"Build your own agent commerce stack? Too expensive. Lock into a platform? Too risky."}],solutions:[{icon:"bot",title:"White-label ready",description:"Nexbid as infrastructure under your branding. Your clients see your agency, not us."},{icon:"chart",title:"Multi-client dashboard",description:"Manage all client accounts centrally. Budgets, campaigns, analytics â all in one dashboard."}
39,{icon:"shield",title:"Open protocol",description:"No vendor lock-in. MIT licensed. Switch or extend anytime."}],socialProof:{stats:[{value:"$26B",label:"AI ad market by 2029"},{value:"90/10",label:"Publishers keep 90%"},{value:"MIT",label:"No vendor lock-in"}]},cta:{primary:{label:"Become a partner",href:"/sign-up"},secondary:{label:"View comparison",href:"/compare"}},seo:{title:"Nexbid for Agencies â Agentic Commerce for Your Clients",description:"Offer your clients AI advertising. White-label infrastructure, multi-client dashboard, open protocol."}},developers:{hero:{badge:"For Developers",title:"Build commerce into your AI agent.",highlight:"5 lines of code.",subtitle:"Nexbid MCP Server â open protocol, TypeScript SDK, live API. Search, compare, purchase products."},problems:[{icon:"code",title:"No standard",description:"Every shop has a different API. No unified interface for agent commerce."},{icon:"shield",title:"Proprietary silos",description:"OpenAI and Google build walled gardens. Your agent becomes dependent on a single provider."},{icon:"eye",title:"No transparency",description:"Why does an agent recommend product A over B? Closed-source platforms won't tell you."}],solutions:[{icon:"bot",title:"MCP-native",description:"Standardized Model Context Protocol. Works with Claude, ChatGPT, and any MCP-compatible agent."},{icon:"code",title:"TypeScript SDK",description:"npm install @protocol-commerce/adcp-sdk â Types, validators, client. Fully type-safe."},{icon:"chart",title:"Scoring API",description:"Open scoring formula: 0.3·bid + 0.3·similarity + 0.2·quality + 0.2·context. Verifiable."}],socialProof:{stats:[{value:"5 min",label:"Integration time"},{value:"100%",label:"Open source (MIT)"},{value:"3",label:"MCP tools (search, purchase, status)"}]},cta:{primary:{label:"Read MCP docs",href:"/docs/mcp"},secondary:{label:"Agent Directory",href:"/agents"}},seo:{title:"Nexbid for Developers â MCP Commerce SDK",description:"Integrate commerce into your AI agent. MCP protocol, TypeScript SDK, open scoring formula."}},consumers:{hero:{badge:"For You",title:"Better recommendations.",highlight:"No tracking.",subtitle:"Nexbid finds products that truly match what you're looking for â based on what you ask, not what you googled yesterday."},problems:[{icon:"eye",title:"Same ads everywhere",description:"Cookies follow you across the web. You see the same ads â even for things you already bought."},{icon:"shield",title:"Opaque recommendations",description:"Why is product A recommended? Because it's good â or because the manufacturer paid the most?"},{icon:"target",title:"Irrelevant results",description:"Search engines show what's SEO-optimized. Not what you actually need."}],solutions:[{icon:"bot",title:"AI-powered search",description:"Ask in natural language. The AI understands what you're really looking for."},{icon:"chart",title:"Transparent scoring",description:"Every result shows you why it's recommended. Relevance, quality, price â all visible."},{icon:"shield",title:"No cookies",description:"No tracking, no fingerprinting, no data harvesting. Privacy by design."}],socialProof:{stats:[{value:"0",label:"Cookies"},{value:"100%",label:"Transparency"},{value:"Free",label:"Forever"}]},cta:{primary:{label:"Discover products",href:"/enduser"},secondary:{label:"All products",href:"/discover"}},seo:{title:"Nexbid â AI Product Search Without Tracking",description:"Find products that truly match you. No cookies, with transparent scoring."}}},brandAgentWizard:{title:"Configure Brand Agent",subtitle:"Define how your brand should appear in the agentic commerce ecosystem.",stepOf:"Step {step} of {total}",autoSaved:"Draft auto-saved",back:"Back",next:"Next",submit:"Activate Brand Agent",submitting:"Savingâ¦",steps:[{title:"Brand Story",subtitle:"Who are you and what makes you unique?"},{title:"Ideal Customer Profile",subtitle:"Who are your target customers?"}
39,{title:"Targeting",subtitle:"On which content pages should your products appear?"},{title:"Messaging Guidelines",subtitle:"How should AI agents present your brand?"},{title:"Bidding & Budget",subtitle:"Set your budget and maximum bids."}],step1:{brandNameLabel:"Brand name",brandNamePlaceholder:"e.g. Acme Inc.",brandNameRequired:"This field is required.",brandStoryLabel:"Brand story",brandStoryHint:"Describe in 2â5 sentences: Who are you, what do you do, what sets you apart?",brandStoryMin20:"At least 20 characters required.",brandStoryRequired:"This field is required.",toneLabel:"Tone of voice"},step2:{ageGroupsLabel:"Age groups",ageGroupsHint:"Which age groups do you target? (multiple selection)",genderLabel:"Gender",geosLabel:"Target markets (geo)",geosPlaceholder:"Another countryâ¦",languagesLabel:"Languages",languagesPlaceholder:"Another languageâ¦",useCasesLabel:"Use cases",useCasesHint:"What situations do your customers buy for?",useCasesPlaceholder:"Add use caseâ¦"},step3:{intro:"Define which content pages your products should appear on.",allowlistLabel:"Allowed categories (allowlist)",blocklistLabel:"Blocked categories (blocklist)",customCategoryPlaceholder:"Custom categoryâ¦",blockCustomCategoryPlaceholder:"Block custom categoryâ¦",keywordsLabel:"Context keywords",keywordsHint:"Keywords that should appear in publisher content for your products to match.",keywordsPlaceholder:"Add keywordâ¦"},step4:{guidelinesLabel:"Messaging guidelines",guidelinesHint:"How should your brand be presented in AI responses?",guidelinesPlaceholder:"e.g. Always emphasize sustainability.",forbiddenTermsLabel:"Forbidden terms",forbiddenTermsHint:"Terms that AI agents must never use in connection with your brand.",forbiddenTermsPlaceholder:"Enter termâ¦",disclosuresLabel:"Required disclosures",disclosuresHint:"Legal disclaimers that must always appear.",disclosuresPlaceholder:"Add disclosureâ¦",disclaimer:"These guidelines are transmitted to AI agents when your products appear in Enriched Snippets."},step5:{intro:"Set your monthly budget and maximum bids.",budgetLabel:"Monthly budget (CHF)",budgetHint:"Minimum budget per media buy: CHF 2,500.",budgetRequired:"Budget must be greater than 0.",maxCpmLabel:"Max. CPM (CHF)",maxCpcLabel:"Max. CPC (CHF)",pricingModelLabel:"Default pricing model"}},consumerSavedItems:{pageTitle:"Produits enregistrés",pageSubtitle:"Ta liste de souhaits. Jusqu'à 100 produits à la fois.",empty:"Tu n'as encore enregistré aucun produit.",discoverProducts:"Découvrir des produits",remove:"Retirer",retry:"Recharger",loadError:"Impossible de charger ta liste.",bannerWarning:"Tu utilises {count} sur {limit} emplacements. Fais de la place pour de nouvelles trouvailles.",bannerCritical:"Plus que quelques places ({count} sur {limit}). L'enregistrement sera bientôt bloqué.",bannerFull:"Liste pleine â supprime des produits pour en enregistrer de nouveaux.",button:{save:"Enregistrer",unsave:"Retirer de la liste",saving:"Enregistrementâ¦",limitReached:"Maximum de 100 atteint",error:"Action échouée â réessaie"}},consumerPushNotifications:{title:"Notifications push",description:"Reçois les mises à jour de tes commandes directement dans le navigateur â même quand l'onglet est fermé.",enableButton:"Activer",disableButton:"Désactiver",enabledBadge:"Actif",unsupported:"Ton navigateur ne prend pas en charge les notifications push.",denied:"Tu as bloqué les notifications. Réactive-les dans les paramètres du navigateur, puis recharge la page.",workingMessage:"Un instantâ¦",errorMessage:"Une erreur est survenue â réessaie."},consumerShopWishes:{pageTitle:"Souhaits de shops",pageSubtitle:"Quels shops devrions-nous ajouter pour toi ?",empty:"Tu n'as encore soumis aucun souhait.",loadError:"Impossible de charger la liste.",mutationError:"Action échouée â réessaie.",deleteConfirm:"Supprimer ce souhait ?",dismissButton:"Fermer",deleteButton:"Supprimer",statusOpen:"Ouvert",statusMatched:"Match trouvé",statusFulfilled:"Réalisé",statusDismissed:"Fermé",button:{prompt:"Quel shop devrait être ici ? Dis-le-nous â on l'ajoute au radar outbound.",signInNudge:"Connecte-toi pour suggérer un shop.",signInLink:"Se connecter",shopQueryLabel:"Nom du shop",shopQueryPlaceholder:"p.ex. Galaxus, Mona, Brackâ¦",shopUrlLabel:"Site web (optionnel)",shopUrlPlaceholder:"https://example.com",reasonLabel:"Pourquoi (optionnel)",reasonPlaceholder:"Pourquoi ce shop devrait-il être sur Nexbid ?",submit:"Proposer un shop",submitting:"Envoiâ¦",successTitle:"Merci ! ð",successBody:"On te prévient dès que le shop est sur Nexbid.",errorMessage:"Ãchec de l'envoi â réessaie."}},consumerPaymentMethods:{pageTitle:"Moyens de paiement",pageSubtitle:"Enregistre des cartes ou Apple/Google Pay pour tes achats via agent.",addButton:"Ajouter un moyen de paiement",addSectionTitle:"Nouveau moyen de paiement",retry:"Recharger",loadError:"Impossible de charger la liste.",mutationError:"Action échouée â réessaie.",list:{empty:"Aucun moyen de paiement enregistré.",defaultBadge:"Par défaut",setDefault:"Définir par défaut",remove:"Supprimer",removeConfirm:"Supprimer ce moyen de paiement ?",applePay:"Apple Pay",googlePay:"Google Pay",card:"Carte"},add:{loading:"Chargementâ¦",notConfigured:"Stripe n'est pas encore configuré. Les moyens de paiement seront activés sous peu.",setupError:"Ãchec de la configuration. Réessaie.",saveButton:"Enregistrer",saving:"Enregistrementâ¦",cancelButton:"Annuler",setAsDefault:"Définir comme moyen de paiement par défaut",successMessage:"Moyen de paiement enregistré."}},recipeSourceLabel:"Recette originale sur"},it:{nav:{features:"Funzionalità ",standards:"Standard",roadmap:"Roadmap",publisher:"Editore",advertiser:"Inserzionista",glossary:"Glossario",blog:"Blog",discover:"Scopri",integration:"Integrazione",langSwitch:"IT",login:"Accedi",forLabel:"Per...",forPublisher:"Editore",forPublisherDesc:"Monet
39izza il tuo inventario",forAdvertiser:"Inserzionista",forAdvertiserDesc:"Raggiungi agenti e utenti",forEnduser:"Utente finale",forEnduserDesc:"Scopri prodotti tramite l'IA",forAgents:"Agenti",forAgentsDesc:"Directory e integrazione"},hero:{badge:"Beta chiusa",title:"Quando un agente IA raccomanda un prodotto,",titleHighlight:"il Match-Moment avviene qui.",subtitle:"Tre cose devono allinearsi: il contenuto dell'editore, il prodotto del brand, l'intento dell'utente. Nexbid è il binario su cui si incontrano â aperto, trasparente, senza vendor lock-in.",waitlistCta:"Richiedi accesso",waitlistCount:"Già oltre 20 aziende nella lista d'attesa."},platformContext:{eyebrow:"Nexbid Agent Commerce Infrastructure",headline:"Un'infrastruttura, due marchi rivolti al cliente",subtitle:"Nexbid è il marchio e l'infrastruttura agent-commerce di digital opua GmbH (Walchwil, Svizzera). Questo sito mostra Nexbid for Marketing â il server pubblicitario agentico. Mineralis è il marchio fratello per la ricerca azionaria IA-nativa nel settore minerario/energetico, tecnicamente basato sull'infrastruttura Nexbid.",appMarketingName:"Nexbid for Marketing",appMarketingStatus:"Live · Questo sito",appMarketingDesc:"Ad server agentico con Match-Moment per agenti IA. 90 % di ricavi per editori, licenza MIT, conforme UE.",appMineralisName:"Mineralis",appMineralisStatus:"In preparazione 2026",appMineralisDesc:"Ricerca azionaria IA-nativa per investimenti minerari ed energetici. Marchio autonomo rivolto al cliente, sull'infrastruttura Nexbid.",footer:"Entrambi marchi di digital opua GmbH · Stessa base di conformità verificata da Lean 4, conforme UE"},platformHero:{badge:"Verifiable Decisions",title:"Nexbid Agent Commerce",titleHighlight:"Infrastructure",subtitle:"You set the limits, we provably cannot cross them â and what is paid for says so. Infrastructure for agentic commerce with formally verified decision logic: 62 public Lean 4 theorems. EU-hosted and MIT-licensed at the core.",ctaArchitecture:"Architecture",ctaEuReadiness:"EU AI Act Readiness",ctaLeanProofs:"See the proofs"},brandFamily:{eyebrow:"Brand Family",headline:"One platform, three verticals",subtitle:"Nexbid provides the open infrastructure â verticals and sister brands build on top of it. Marketing is live today, Mineralis complements as customer-facing sister brand, more verticals follow in 2026/27.",marketingName:"Nexbid for Marketing",marketingStatus:"Live",marketingTagline:"Vertical application of the platform",marketingDesc:"Agentic ad server for publishers and advertisers â AdCP-protocol-native, Match-Moment hub for AI agents. 90% revenue to publishers.",marketingCta:"Explore",mineralisName:"Mineralis",mineralisStatus:"Live",mineralisTagline:"Sister brand on Nexbid infrastructure",mineralisDesc:"AI-native equity research for mining and energy â for family offices and institutional investors. Independent customer-facing brand of digital opua GmbH.",mineralisCta:"Visit mineralis.io",xName:"Nexbid for X",xStatus:"Roadmap 2026/27",xTagline:"More verticals planned",xDesc:"Procurement, Public Services, Consumer Layer â the Match-Moment architecture is vertical-agnostic and scales beyond marketing.",xCta:"View roadmap",footer:"All verticals on the same Lean-4-verified, EU-compliant infrastructure · digital opua GmbH (Walchwil, CH)"},platformThemes:{eyebrow:"Platform Topics",headline:"What the infrastructure is built on",subtitle:"Four pillars that make Nexbid the open, verifiable, EU-sovereign layer for agentic commerce.",themes:[{icon:"layers",title:"Architecture",desc:"Match-Moment hub, AdCP-protocol-native, multi-rail payment, 19 MCP tools. Vertical-agnostic layer between content, product, and intent.",ctaLabel:"View architecture"},{icon:"shield",title:"EU AI Act Readiness",desc:"Swiss GmbH (Walchwil), Frankfurt hosting, nDSG-compliant, ARTF/GAIA-X path â sovereign alternative to US-controlled UCP/ACP.",ctaLabel:"Read compliance"},{icon:"check",title:"Lean-4 Proofs",desc:"62 formally verified theorems, 0 sorry, CI green â mathematically proven core logic for scoring, auction, budget, wallet, end-to-e
39nd.",ctaLabel:"View proofs"},{icon:"plug",title:"AMDP â EU-Sovereign Mandate-Discovery Standard in development",desc:"Agent Mandate Discovery Protocol as open standard â co-authoring with IAB Tech Lab and Linux Foundation. ADR-040 accepted.",ctaLabel:"Read ADR-040"}]},matchMoment:{sectionTitle:"How the Match-Moment happens",sectionSubtitle:"Three things must align â and that's exactly what Nexbid does.",contentLabel:"Content",productLabel:"Product",intentLabel:"Intent",contentSubLabel:"of the publisher",productSubLabel:"of the brand",intentSubLabel:"of the user",matchLabel:"Match-Moment",outputLabel:"Enriched Snippet"},matchMomentDemo:{eyebrow:"Live demo · real auction",title:"The match moment â live and verifiable",lead:"Ask a question about a Betty Bossi recipe â this page looks up a real matching recipe, triggers a real auction against real campaign budgets, and shows all four evidence layers: the publisher context, the winning ad, the score decomposition, and the payment proof.",disclaimer:"Every run spends real advertising budget and delivers a real ad â tagged as a demo run, not organic publisher traffic. Capped at 10 runs per hour and visitor.",queryLabel:"Your question",queryPlaceholder:'e.g. "Which champagne pairs with smoked salmon?"',queryHint:"We look up a real, matching Betty Bossi recipe and run the auction in its context.",runCta:"Run auction",runningLabel:"Auction running â¦",stepContext:"1. Publisher context",stepMatch:"2. Winning ad",stepAuction:"3. Auction trace",stepProof:"4. Proof",resultQueryLabel:"Query",noAuctionTrace:"No auction decomposition is available for this run.",noWinnerTitle:"No winner in this run",noWinnerBody:"The auction ran against the real publisher context â no bid was relevant enough to win. That is a valid outcome, not a failure of this page.",noMatchTitle:"No matching content found",noMatchBody:"No matching Betty Bossi recipe was found for this question â please try rephrasing it.",invalidQueryTitle:"Invalid question",invalidQueryBody:"Please enter a question between 3 and 200 characters.",archivedBadge:"Archived state",archivedNotice:"Live auction unreachable right now. This view shows the last conserved delivery from",rateLimitedTitle:"Hourly limit reached",rateLimitedBody:"Too many demo runs this hour â please try again in about an hour.",discoverFailedTitle:"Auction did not complete",discoverFailedBody:"The auction service did not respond as expected. No result is shown â please try again in a moment.",discoverUnreachableTitle:"Service currently unreachable",discoverUnreachableBody:"The auction service is currently unreachable. Please try again in a few minutes.",networkErrorTitle:"Connection failed",networkErrorBody:"The request to this demo could not be sent. Please check your internet connection and try again.",genericErrorTitle:"Demo run failed",genericErrorBody:"The demo run failed.",statusLabel:"Status",retryCta:"Try again",seoTitle:"Match moment live â glass-box demo",seoDescription:"A real auction, triggered live: publisher context, winning ad, score decomposition, and payment proof in one run â with real campaign budget.",evidencePendingBody:"Proof not booked yet â booking happens asynchronously and can take a moment. Please check again shortly.",receiptKeyLabel:"Public key for verification:",semanticFallbackTitle:"Topical fallback, not an auction win",semanticFallbackBody:"This result comes from the topical fallback (semantic similarity), not a won auction â there is no auction trace and no signed receipt for it. The price shown is not the real product price.",dailyCapNotice:"Daily demo-run limit reached. This view shows the last conserved delivery from",moreSignalsLabel:"Additional detected signals",dashboardTitle:"Match Moments",dashboardLead:"The most recent match moments for this account â as advertiser (paid) or as publisher (credited).",dashboardEmptyTitle:"No match moments yet",dashboardEmptyBody:"This account has no delivered match moments yet. As soon as an agent sees a sponsored ad, it will show up here.",groupCount:"auctions",groupTotal:"Total",groupLatest:"Latest auction",groupOthers:"more auctions in this group",groupShowOthers:"Show individual auctions",groupHideOthers:"Hide individual auctions",groupHideUnpaid:"Hide house ads (no charge)",groupWinner:"Winner",groupHouse:"House ad",dashboardLoadErrorTitle:"Could not load match moments",dashboardLoadErrorBody:"Please reload the page or try again later.",dashboardLoadingLabel:"Loading match moments â¦",contextSignalLabels:{nx_cuisine:"Cuisine",nx_difficulty:"Difficulty",nx_language:"Language",nx_intent:"Intent",nx_quality:"Quality",nx_ingredients:"Ingredients",nx_season:"Season",nx_occasion:"Occasion",nx_audience:"Audience",nx_affinity:"Affinity",nx_purchase_intent:"Purchase intent",nx_iab:"IAB category",nx_brand:"Brand"}},features:{sectionTitle:"Why Nexbid?",sectionSubtitle:"Agentic commerce for everyone â not just the biggest players.",items:[{icon:"bot",title:"Agentic-First",description:"AI agents negotiate on behalf of publishers and advertisers. Context-based, not cookie-based."}
39,{icon:"shield",title:"Privacy-Native",description:"No cookies, no fingerprinting. Contextual + agent-based signals. GDPR-compliant by design."},{icon:"plug",title:"Standards-Open",description:"AdCP v2.0, OpenRTB, Prebid.js â Nexbid speaks the language of your existing stack."},{icon:"trending",title:"Fair Value Chain",description:"No 30-70% revenue loss to intermediaries. Direct negotiation between agents â for publishers and advertisers."},{icon:"eye",title:"100% Transparent",description:"Every auction decision is traceable. No black box. Transparent auctions, open standards."},{icon:"unlock",title:"No Vendor Lock-in",description:"Self-hosted or managed. Your data, your server, your rules."},{icon:"layers",title:"5 of 6 Ecosystem Layers",description:"From catalog readiness through discovery to protocol layer â Nexbid covers 5 of 6 layers in the AI commerce ecosystem. OpenAI and Google cover just 2 each."},{icon:"filter",title:"Curation over Overload",description:"Agents receive 3â5 curated recommendations instead of 10,000 listings. Optimized for relevance and purchase probability â no clickbait."}]},partners:{sectionTitle:"Primi partner dellâecosistema",sectionSubtitle:"Queste aziende fanno parte della Closed Beta di Nexbid.",items:[{name:"Betty Bossi",role:"Editore",description:"7â000+ ricette nellâecosistema Nexbid",logo:"/logos/betty-bossi.svg",url:"https://www.bettybossi.ch"},{name:"The Champagne",role:"Brand partner",description:"Marchio svizzero di champagne â ancora senza integrazione shop",logo:"/logos/the-champagne.svg",url:"https://www.the-champagne.ch"},{name:"digital opua",role:"Tecnologia",description:"Software & prodotti IA",logo:"/logos/digital-opua.png",url:"https://digital-opua.ch"},{name:"digital nalu",role:"Inserzionista",description:"Marketing & strategia",logo:"/logos/digital-nalu.svg",url:"https://digital-nalu.ch"}]},standards:{sectionTitle:"Standards & Protocols",sectionSubtitle:"Nexbid builds on open standards â no proprietary protocols.",phase1:"Phase 1 (MVP)",phase2:"Phase 2",phase3:"Phase 3"},roadmap:{sectionTitle:"Roadmap",phases:[{phase:"Phase 0",title:"Closed Beta + GO",period:"Q1 2026",status:"done",items:["Discovery API + MCP Server live","40+ publisher & advertiser interviews (DACH)","GO decision 2026-04-10","Founding Customer program launched"]},{phase:"Sprint 1-3",title:"Agent Discovery + Settlement",period:"April 2026",status:"done",items:["Agent Discovery hardening + 19 MCP tools","Enriched Snippet Billing + Publisher Dashboard","ACP-Interop + Prebid + Quality Gates","x402 Mainnet live + Wallet-Pay Magic-Link"]},{phase:"Sprint 4",title:"Customer Portal + Multi-Rail",period:"May-June 2026",status:"active",items:["Customer Portal Phase 1 (Advertiser Self-Serve)","Brand-Agent-Wizard 8 steps","Verified Agent Delivery + AAO Coalition","Universal Purchase Mandate pilot (FOCUSWATER)"]},{phase:"Sprint 5-6",title:"OpenAI Bridge + Consumer Layer",period:"July-October 2026",status:"upcoming",items:["OpenAI CPC Bridge via StackAdapt","Customer Portal Phase 2 (Publisher) + Phase 3","Consumer Layer Grade 2 (Click-to-Pay + Wallet)","Criteo Fast-Follow + AdCP v3 Self-Attested"]}]},waitlist:{sectionTitle:"Closed Beta",sectionSubtitle:"Nexbid is in closed beta. Apply now for a spot.",emailPlaceholder:"[email protected]",submitButton:"Join the Waitlist",submitting:"Submitting...",successTitle:"You're in!",successMessage:"We'll let you know
39when the beta launches.",rolePublisher:"Publisher",roleAdtech:"Ad-Tech Developer",roleAdvertiser:"Advertiser / Agency",roleOther:"Other",rolePlaceholder:"I'm a...",duplicateMessage:"This email is already registered.",errorMessage:"Something went wrong. Please try again later."},productsPage:{title:"Products & Services",subtitle:"Discover products, services, and courses from Commerce Participants.",searchPlaceholder:"Search products...",allCategories:"All Categories",search:"Search",searching:"Searching...",resultsFound:"results found in",noResults:"No products found. Try a different search query.",inStock:"In Stock",preorder:"Pre-order",outOfStock:"Out of Stock",updatedLabel:"Updated",geoOptions:{CH:"Switzerland",DE:"Germany",AT:"Austria",US:"United States",GB:"United Kingdom"}},press:{badge:"Press Kit",title:"Nexbid by the Numbers",subtitle:"Everything you need to report on Nexbid.",facts:{title:"Company",founded:"Founded",foundedValue:"2026",hq:"Headquarters",hqValue:"Walchwil, Switzerland",license:"License",licenseValue:"MIT (Open Core)",phase:"Phase",phaseValue:"Closed Beta",protocol:"Protocol",protocolValue:"AdCP v2.0",standards:"Standards",standardsValue:"MCP, OpenRTB, Prebid (Roadmap)"},description:"Nexbid is the open infrastructure for agentic commerce. AI agents are changing how consumers find products â Nexbid gives publishers and advertisers back control. Open, transparent, no lock-in.",metrics:{title:"Key Metrics",endpoints:"API Endpoints",theorems:"Formally Verified Theorems",migrations:"DB Migrations",standards:"Standards (3 live)"},logos:{title:"Logos & Brand Assets",dark:"Logo (Dark)",light:"Logo (Light)",icon:"Icon",colors:"Brand Colors"},presentations:{title:"Presentations",subtitle:"Downloadable decks for different audiences.",driveLink:"All materials on Google Drive",decks:[{title:"Strategic Overview",audience:"C-Level, Investors"},{title:"Publisher Guide",audience:"Publishers, Ad Ops"},{title:"Advertiser Guide",audience:"E-Commerce, Brands"},{title:"Marketing Teams",audience:"Marketing Ops"},{title:"Technical Overview",audience:"CTOs, Developers"},{title:"Product Demo",audience:"All audiences"},{title:"Open Source & Protocol",audience:"Developer Community"},{title:"Market & Trends",audience:"Analysts, Press"}]},contact:{title:"Contact",email:"[email protected]",website:"nexbid.dev"},cta:"Interested in a story? Get in touch."},footer:{builtBy:"Creato da",company:"digital opua GmbH",switzerland:"Svizzera",license:"Tutti i diritti riservati · Licenza MIT (Open Core)",preferredSourceLabel:"Aggiungi come fonte preferita su Google",preferredSourceHint:"si apre su Google",preferredSourcePath:"/fonte-preferita",preferredSourceWhat:"Che cosâè?",privacy:"Privacy",imprint:"Note legali",terms:"Termini",press:"Kit stampa",siteNavLabel:"Navigazione del sito",newBadge:"Nuovo",colProduct:"Prodotto",colContent:"Contenuti",colDevelopers:"Sviluppatori",colResources:"Risorse",colCompany:"Azienda",linkDiscover:"Match-Engine",linkCompare:"Confronta",linkBrands:"Marchi",linkProducts:"Prodotti",linkRecipes:"Ricette",linkEditorials:"Rivista",linkServices:"Servizi",linkDocs:"Documentazione",linkMcpDocs:"Documenti MCP",linkScoringDocs:"Formula di scoring",linkVerificationDocs:"Verifica Lean 4",linkAgentManifest:"Manifesto Agent",linkVerifiedDelivery:"Verified Agent Delivery",linkTechnology:"Tecnologia",linkAgenticCommerce:"Cos'è il commercio agentico",linkMonetizeContent:"Monetizzare i contenuti",linkOpenVsOpen:"MIT vs. Apache 2.0",linkPricing:"Prezzi & Programmi",linkPublisherMcp:"MCP per editori",linkSupport:"Supporto",verticalArchitecture:"Marchio sorella di digital opua GmbH",linkSisterVertical:"Mineralis (Mining & Energy)",sisterBrandDesc:"Ricerca azionaria AI-native per minerario ed energia · Per family office e investitori istituzionali",sisterBrandCta:"Visita mineralis.io"},legal:{lastUpdated:"Last updated",backToHome:"Back to homepage",privacyTitle:"Privacy Policy",imprintTitle:"Imprint",termsTitle:"Terms of Service"},publisher:{badge:"For Publishers",heroTitle:"You bring the pages.",heroHighlight:"We bring the Match-Moment.",heroSubtitle:"When an AI agent recommends a product, it looks for c
39ontent that fits. Nexbid makes your pages AI-readable and brings paying brands to them. You earn per recommendation involving your content â not the middleman in between. Transparent, privacy-compliant, no cookies.",howItWorks:"How It Works",steps:[{number:"01",title:"Integrate Nexbid Tag",description:"One JavaScript snippet on your site. Nexbid scans your content â topic, sentiment, entities â and enriches every ad request with these signals. DSPs get richer context, match more precisely, and bid higher."},{number:"02",title:"Relevance Over Tracking",description:"AI agents match ads to page content, not user profiles. The result: ads your readers actually engage with â and higher bids from advertisers."},{number:"03",title:"More Revenue Per Impression",description:"Relevant ads = higher engagement = higher CPMs. Without intermediary cuts, you keep more of what your inventory is worth."}],featuresTitle:"Built for Publishers",features:[{icon:"code",title:"Context API",description:"Understands your content at page level â topic, sentiment, entities. So users see ads that match the context. Without tracking."},{icon:"signal",title:"Signal Enrichment",description:"Enriches every ad request with content intelligence. Better signals mean more relevant ads for users â and higher CPMs for you."},{icon:"eye",title:"Auction Transparency",description:"See every bid, every decision, every reason. No more black-box auctions eating your margins."},{icon:"chart",title:"Revenue Analytics",description:"Real-time dashboard with CPM trends, fill rates, and user engagement. Your data, your insights."},{icon:"trending",title:"Agent Discovery Revenue",description:"AI agents are becoming the primary discovery channel. Nexbid brings your content directly to Claude, ChatGPT, and Gemini â monetizing every agent query."}],codeTitle:"One Tag. Full Control.",pricingTitle:"Founding Publisher Program",pricingSubtitle:"Three options â for every situation. Limited to 10 spots.",pricingTrustBadge:"Verified Agent Delivery â every delivery cryptographically signed (Ed25519). No bot inflation, no hallucinated snippets.",pricingTiers:[{name:"Founding Publisher",price:"CHF 5,000",priceDetail:"one-time",fee:"5% Platform Fee (12 months)",feeAfter:"Then 10%",features:["Complete onboarding","Feed ingest + AI enrichment","Inventory setup + GAM integration","Enriched snippet setup","Monthly reporting + review"],highlight:!0},{name:"Managed Publisher",price:"from CHF 1,000",priceDetail:"/month",fee:"10% Platform Fee · Publisher keeps 90%",feeAfter:"Dedicated account manager + reporting",features:["Ongoing management","Feed ingest + AI enrichment","Inventory setup + GAM integration","Enriched snippet setup","Monthly reporting + review"],highlight:!1},{name:"Self-Serve",price:"Free",priceDetail:"",fee:"10% Platform Fee",feeAfter:"",features:["Self-service setup","Documentation + API","Community support"],highlight:!1}],ctaTitle:"Ads that enrich users â not annoy them.",ctaSubtitle:"Join the waitlist and learn how user relevance boosts your CPMs.",ctaButton:"Join the Waitlist"},advertiser:{badge:"For Advertisers",heroTitle:"You bring the products.",heroHighlight:"We bring the Match-Moment.",heroSubtitle:"AI agents recommend products today â but not yours. Nexbid brings your product feed into the recommendation moment in minutes. Your product, in the right content context, with the right user.",howItWorks:"Two Paths to Users",route1Badge:"Agent-to-Agent",route1Title:"Agent-to-Agent Commerce",route1Subtitle:"The open ecosystem for AI agents. Like an Amazon for agents â your offer gets discovered without Google, without search engines.",route1Steps:[{number:"01",title:"User Gives Their Agent a Task",description:'The user tells their AI agent: "Find running shoes under CHF 200." The agent knows their preferences â favorite brand, size, budget â and starts searching.'},{number:"02",title:"Agent Arrives on Nexbid's Platform",description:"The agent reaches Nexbid's open ecosystem and passes signals: preferences, budget, size. Nexbid matches content, product, and intent â and returns a handful of relevant top recommendations. Optimized for purchase likelihood, not clicks."},{number:"03",title:"Result: Direct, Transparent, No Middleman",de
39scription:"No Google, no search engine, no display network. Agent-to-agent â open, transparent, and optimized for real user relevance."}],route2Badge:"Classic + Agentic",route2Title:"Classic Advertising, Optionally Agentic",route2Subtitle:"Display, video, native â on established publishers and networks. With or without agent optimization.",route2Steps:[{number:"01",title:"Buy Classic Advertising",description:"Display, video, native ads â on established publishers, networks, direct or programmatic. Proven formats, proven channels."},{number:"02",title:"Agentic Media Buying via DCM",description:"Use your own agents for media buying through digital-campaign-manager.com. Branding, performance, retargeting â all agent-controlled."},{number:"03",title:"Flexibly Deployable",description:"With or without agents â as a regular ad server or with full agent control. You determine the level of automation."}],featuresTitle:"Built for Advertisers",features:[{icon:"rss",title:"Open Ecosystem",description:"Nexbid as an open marketplace â any agent can query, any advertiser can offer. A new channel alongside search and display."},{icon:"bot",title:"Classic + Agentic Ads",description:"Display, video, native â with or without agent optimization. Classic formats, optionally with AI-powered media buying."},{icon:"target",title:"Full Attribution",description:"End-to-end tracking across both paths. Every impression, every click, every conversion â seamless and transparent."},{icon:"link",title:"DCM Integration",description:"Optional: digital-campaign-manager.com for campaign management with your own agents. Branding, performance, retargeting â all from one platform."},{icon:"zap",title:"Minutes, Not Months",description:"Your existing Google Shopping feed is enough. The Feed Ingestor normalizes and structures it automatically for AI agents â no effort, no rebuild required."}],protocolTitle:"Powered by AdCP v2.0",protocolSubtitle:"Nexbid covers 5 of 6 layers in the AI Commerce Ecosystem â from catalog readiness through discovery to the protocol layer. OpenAI and Google build walled gardens. We build open rails. MIT-licensed.",pricingTitle:"Founding Advertiser Program",pricingSubtitle:"Three options â for every situation. Limited to 10 spots. Managed expandable via modular add-ons. Publisher media deals negotiable on top.",pricingTrustBadge:"Verified Agent Delivery â every delivery cryptographically signed (Ed25519). Pay only for real agent touchpoints, not bot inflation.",pricingTiers:[{name:"Founding Advertiser",price:"CHF 5,000",priceDetail:"one-time + CHF 500/month",fee:"10% discount on enriched snippets (12 months)",feeAfter:"CHF 1,000 starter credit + then standard pricing",features:["Complete onboarding","Feed ingest + AI enrichment","Digital Brand Environment","Enriched Snippet setup","AEO audit","Access to publisher media deals"],highlight:!0},{name:"Managed Advertiser",price:"CHF 2,500",priceDetail:"/month base",fee:"10% discount on enriched snippets (12 months)",feeAfter:"Add-ons from CHF 500/month",features:["Dedicated account manager","Monthly report + AEO monitoring","Publisher deal moderation","Priority support","Modular add-ons (DCM, deal sourcing, content production)","Everything from Founding"],highlight:!1},{name:"Self-Serve",price:"Free",priceDetail:"",fee:"Standard pricing",feeAfter:"",features:["Self-guided setup","Docs + API + MCP server","Community support","No brand environment, no enrichment, no publisher deals"],highlight:!1}],ctaTitle:"Two Paths. Full Control.",ctaSubtitle:"Join the waitlist and learn how Agent-to-Agent Commerce and Agentic Campaigns boost your conversions.",ctaButton:"Join the Waitlist"},glossary:{pageTitle:"Glossary",pageSubtitle:"Key terms from Agentic Advert
39ising, Ad-Tech, Privacy, and Protocols â explained simply.",searchPlaceholder:"Search terms...",allCategories:"All",categoryAgentic:"Agentic",categoryAdtech:"Ad-Tech",categoryPrivacy:"Privacy",categoryProtocol:"Protocols",categoryTechnical:"Technical",noResults:"No terms found.",relatedTerms:"Related"},blog:{pageTitle:"Blog",pageSubtitle:"Insights on Agentic Advertising, privacy-first ad-tech, and the future of programmatic advertising.",allPosts:"All Posts",noPosts:"No posts found.",readMore:"Read more",notFound:"Post not found",backToBlog:"Back to Blog",relatedPosts:"Related Posts"},docs:{pageTitle:"Documentation",pageSubtitle:"Everything you need to get started with Nexbid â as a publisher, advertiser, agent developer, or end user.",tabs:{publisher:"Publisher",advertiser:"Advertiser",enduser:"End-User & AI Agents",developer:"Developer"},gettingStarted:"Getting Started",apiEndpoints:"API Endpoints",integration:"Integration",mcpServer:"MCP Server",productFeed:"Product Feed",availableTools:"Available Tools",techStack:"Tech Stack",openSource:"Status & Roadmap",viewOnGithub:"Get in Touch",openApiSpec:"OpenAPI Specification",comingSoon:"Coming Soon",baseUrl:"Base URL",method:"Method",description:"Description",response:"Response",example:"Example",parameters:"Parameters"},discover:{badge:"Free for Users",heroTitle:"Find the best deals.",heroHighlight:"Your agent searches for you.",heroSubtitle:"Nexbid connects you to brands and offers directly through your AI agent â no tracking, no ads, no middleman. Tell your agent what you need, and it finds it.",voteCta:"Vote for Brands",suggestCta:"Suggest a Brand",freeLabel:"Nexbid is and will remain free for consumers.",votingTitle:"Which brands do you want to find?",votingSubtitle:"Vote for the brands you want to see on Nexbid first. We'll invite the top-voted brands.",votesLabel:"votes",suggestionTitle:"Your favorite brand is missing?",suggestionSubtitle:"Suggest a brand you want to see on Nexbid. We'll reach out to them for you.",brandPlaceholder:"Brand name (e.g. Nike, Apple, ...)",emailPlaceholder:"Your email (optional)",suggestButton:"Suggest Brand",submitting:"Submitting...",suggestionSuccessTitle:"Thanks for your suggestion!",suggestionSuccessMessage:"We'll reach out to the brand.",suggestAnother:"Suggest another brand",errorMessage:"Something went wrong. Please try again later.",howItWorksTitle:"How Nexbid works for you",howItWorksSubtitle:"Three steps â and your agent finds the best deal.",steps:[{number:"01",title:"Tell your agent what you need",description:'"Find running shoes under CHF 200" â your AI agent knows your preferences and starts searching.'},{number:"02",title:"Your agent queries Nexbid",description:"Nexbid filters, ranks, and returns the most relevant results â based on real context, not tracking."},{number:"03",title:"You get the best deal",description:"Direct, transparent, no middleman. No Google, no display network â agent-to-agent."}],features:[{icon:"shield",title:"No Tracking",description:"No co
39okies, no fingerprinting, no ad profiles. Your data stays with you."},{icon:"bot",title:"Agent-First",description:"Your AI agent negotiates for you â faster, cheaper, and more relevant than any search engine."},{icon:"trending",title:"Better Prices",description:"Without intermediaries taking 30-70%, brands can pass better prices directly to you."},{icon:"filter",title:"Curated, not flooded",description:"Your agent gets a handpicked selection instead of endless lists â optimized for your preferences, not for ad budgets."}],bottomCta:"Vote for Brands Now"},enduser:{badge:"For End Users",heroTitle:"Find the best products",heroHighlight:"with your AI agent",heroSubtitle:"Nexbid connects AI agents with thousands of products â transparent, ad-free, privacy-compliant.",searchPlaceholder:'What are you looking for? e.g. "Running shoes under 150 CHF"',searchButton:"Search",searchPowered:"Powered by Nexbid Discovery API â no cookies, no tracking",uspPrivacyTitle:"Privacy-First",uspPrivacyDesc:"No cookies, no fingerprinting. Data stays in the EU (Frankfurt). GDPR & nDSG compliant.",uspSpeedTitle:"Instant Results",uspSpeedDesc:"Under 100ms response time. Your agent gets results in real-time.",uspPricesTitle:"Real Prices",uspPricesDesc:"Current prices and availability directly from the shops.",uspAgentTitle:"Agent-Compatible",uspAgentDesc:"Works with Claude, ChatGPT, Gemini and any MCP-capable agent.",howTitle:"How It Works",howStep1Title:"Ask your agent",howStep1Desc:'"Find me a quiet vacuum cleaner under 300 CHF"',howStep2Title:"Agent searches Nexbid",howStep2Desc:"Thousands of products in milliseconds",howStep3Title:"Results with context",howStep3Desc:"Prices, reviews, comparisons â all structured",setupTitle:"Connect your agent",setupDesc:"Add Nexbid as an MCP server and your agent can instantly find products.",setupCta:"Setup Guide",directoryCta:"Agent Directory",seoTitle:"AI-Powered Product Search â Nexbid for End Users",seoText:"Nexbid revolutionizes the way you find products. Instead of clicking through dozens of shops yourself, your AI agent takes over the search â fast, precise, and privacy-compliant. The Nexbid Discovery API connects AI agents like Claude, ChatGPT, and Gemini with thousands of products from the DACH region. No cookies are set and no fingerprinting is performed â all processing takes place in the EU (Frankfurt), compliant with GDPR and nDSG. Whether you're looking for the best running shoes under 150 CHF, want to compare quiet vacuum cleaners, or need the cheapest deal on a specific smartphone: Your agent queries Nexbid and receives structured results with current prices, availability, and reviews in under 100 milliseconds. Nexbid is the open commerce infrastructure for the age of AI agents â transparent, ad-free, and without vendor lock-in. For end users, it's completely free. You simply connect your AI agent to the Nexbid MCP server, and it can start finding the best products for you. The future of shopping is agent-based â and with Nexbid, you're part of it.",faqTitle:"Frequently Asked Questions",faq:[{q:"What is Nexbid?",a:"Nexbid is the open commerce infrastructure for AI agents. Your agent can search, compare, and find the best deals through Nexbid â transparently and without ads."},{q:"Is it free to use?",a:"Yes, Nexbid is completely free for end users. Publishers also pay no fee â they provide content (pages) and receive 90% of the Enriched Snippet revenue. Advertisers pay for placing their products in matching content, and Nexbid keeps a 10% platform fee."},{q:"Which AI agents work with Nexbid?",a:"Claude (Anthropic), ChatGPT (OpenAI), Gemini (Google), as well as any MCP-capable or REST API agent. Check the Agent Directory for a full overview."},{q:"What about privacy?",a:"Nexbid sets no cookies and uses no fingerprinting. All data is processed in the EU (Frankfurt). We are GDPR and nDSG compliant."},{q:"How current are the prices?",a:"Product data is regularly updated via automated feeds. Freshness depends on the publisher but is typically updated daily."},{q:"Can I buy directly through Nexbid?",a:"Not yet directly. Nexbid currently redirects you to the provider's shop. An integrated purchase process is planned for the future."}]},agents:{badge:"For Agents",heroTitle:"The open network",heroHighlight:"for AI agents",heroSubtitle:"Nexbid is the central commerce data source for agents. Open, fast, structured â no walled gardens.",statsAgents:"
39Compatible Agents",statsLatency:"Avg Response Time",statsUptime:"Uptime (30d)",statsLicense:"Open Source",directoryTitle:"Agent Directory",directorySubtitle:"Compatible agents and their performance",infoTitle:"For Agents: Info Endpoint",infoDesc:"Structured information that an agent can share with its users",devTitle:"Developer Hub",devSubtitle:"How to integrate Nexbid into your agent",devItems:[{title:"MCP Server",description:"Model Context Protocol â the fastest path to integration",link:"/docs/mcp"},{title:"REST API",description:"Universal JSON API with API key authentication",link:"/docs"},{title:"llms.txt",description:"Machine-readable project description for LLMs",link:"https://nexbid.dev/llms.txt"},{title:"agents.json",description:"Agent manifest following OpenAI standard",link:"https://nexbid.dev/agents.json"}],whyTitle:"Why Agents Prefer Nexbid",whyItems:[{title:"Fast Responses",description:"Under 100ms response time â agents prefer fast sources."},{title:"Structured Data",description:"JSON instead of HTML scraping. Prices, images, categories â all structured."},{title:"Feedback Loop",description:"Agents learn that Nexbid delivers relevant results â and come back."},{title:"No Walled Gardens",description:"Open protocol (MCP), no proprietary APIs, no vendor lock-in."}],seoTitle:"AI Agent Integration â Nexbid Agent Directory & API",seoText:"Nexbid is the open commerce infrastructure built specifically for AI agents. As the central data source for agentic commerce, Nexbid provides structured product data via the Model Context Protocol (MCP) and a REST API. Agents like Claude (Anthropic), ChatGPT (OpenAI), and Gemini (Google) can search, compare, and present the best deals to their users through Nexbid â in under 100 milliseconds. The Agent Directory shows all compatible agents with their protocols, capabilities, and average response times. Developers can find everything they need for integration in the Developer Hub: MCP server configuration, REST API documentation, llms.txt, and agents.json. Nexbid uses open standards instead of proprietary protocols â unlike OpenAI ACP or Google UCP. All communication uses the open MCP protocol, developed by Anthropic and published as an open standard. For agent developers, this means: No lock-in risks, no proprietary SDKs, no hidden costs. Integration takes just minutes and data is immediately available.",faqTitle:"Frequently Asked Questions",faq:[{q:"How do I integrate my agent?",a:"Fastest via MCP: Add the Nexbid MCP server to your agent configuration. Alternative: REST API with POST /v1/discover."},{q:"Do I need an API key?",a:"For MCP: No, no authentication required. For REST API: Yes, free API key via the dashboard."},{q:"What data does Nexbid provide?",a:"Product name, price, description, images, category, shop URL, availability, and reviews â all as structured JSON."},{q:"How fast is the API?",a:"Average under 80ms. The fastest agents (Custom MCP) achieve 45ms."},{q:"Is it free to use?",a:"For development and testing: Yes. For production: Free up to a certain volume, then usage-based."},{q:"What's the difference to OpenAI ACP?",a:"Nexbid uses the open MCP protocol instead of proprietary APIs. No vendor lock-in, full control, MIT-licensed."}],infoPageTitle:"Nexbid Agent Information",infoPageDesc:"All information an AI agent needs about Nexbid"},integration:{badge:"Integration",title:"Integrate Nexbid",subtitle:"Choose your integration path â as Publisher or Advertiser. Set up in minutes.",cards:[{icon:"code",title:"Publisher Integration",description:"Add the Nexbid AdTag via GTM, Tealium, or manually. Contextual signals for higher CPMs.",link:"/integration/publisher",cta:"Publisher Guide"},{icon:"rss",title:"Advertiser Integration",description:"Upload your product feed â via CSV, API, Google Merchant Center, or manually.",link:"/integration/advertiser",cta:"Advertiser Guide"}]},integrationPublisher:{badge:"Publisher",title:"Publisher Integration",subtitle:"Three ways to embed the Nexbid AdTag on your website. Choose the method that fits your setup.",backLink:"Back to Overview",methodLabel:"Method",copyLabel:"Copy",methods:[{id:"gtm",title:"Google Tag Manager",description:"Recommended for most publishers. No deployment required.",steps:["Open Google Tag Manager and create a new Custom HTML Tag.","Paste the Nexbid code and replace YOUR_PUBLISHER_ID with your ID.",'Set the trigger to "All Pages" or your desired pages.',"Publish the container."],code:"gtm"},{id:"tealium",title:"Tealium iQ",description:"For enterprise publishers with Tealium Tag Management.",steps:['Create a new "Generic Tag" in Tealium iQ.',"Add the Nexbid snippet as a Custom Script.","Configure Load Rules for the desired pages.","Publish the changes in your Tealium profile."],code:"manual"},{id:"manual",title:"Manual Snippet",description:"Directly in HTML â for full control without a tag manager.",steps:["Copy the snippet below.","Replace YOUR_PUBLISHER_ID with your publisher ID.","Paste it before the closing </head> tag.","Deploy the change to your website."],code:"manual"}],ctaTitle:"Custom Onboarding",ctaDescription:"Need help with integration? Our team supports you â free during Phase 0.",ctaButton:"Get in Touch"},integrationAdvertiser:{badge:"Advertiser",title:"Advertiser Integration",subtitle:"Four ways to list your products on Nexbid. Choose the method that fits your workflow.",backLink:"Back to Overview",comingSoonLabel:"Coming Soon",methods:[{icon:"trending",title:"CSV Import",description:"Upload a CSV file with your products. Ideal for a quick start.",details:["Download the CSV template","Fill in required fields: Name, Price, Category, URL","Upload the file in the dashboard","Products go live immediately"]},{icon:"plug",title:"API / Feed URL",description:"Connect your existing product feed directly to Nexbid.",details:["JSON and XML feeds supp
39orted","Automatic sync every 6 hours","Google Merchant Center format compatible","Webhook notifications on errors"]},{icon:"link",title:"Google Merchant Center",description:"Connect your GMC account via OAuth â automatic import.",details:["One-click OAuth connection","Automatic product sync","Categories are preserved","Real-time price and availability updates"],comingSoon:!0},{icon:"eye",title:"Manual Editor",description:"Add products individually in the dashboard â for small catalogs.",details:["Form-based input","Image upload directly in the browser","Preview before publishing","Ideal for single products or testing"],comingSoon:!0}],formatTitle:"Supported Feed Formats",formatDescription:"Nexbid supports common product feed formats. Google Merchant Center feeds work without modification.",formats:[{name:"JSON",description:"Standard format for API integration. Schema at docs.nexbid.dev"},{name:"XML",description:"Google Shopping-compatible XML. Automatic field detection."},{name:"CSV",description:"Simple tabular format. Template download in the dashboard."},{name:"TSV",description:"Tab-separated. Compatible with Google Merchant Center exports."}],ctaTitle:"Custom Onboarding",ctaDescription:"Need help with feed integration? Our team supports you â free during Phase 0.",ctaButton:"Get in Touch"},go:{publishers:{hero:{badge:"For Publishers",title:"Your pages are losing value.",highlight:"AI agents are the solution.",subtitle:"Nexbid matches your content with advertiser products â when users search via AI agents. You bring the pages, advertisers bring the products and budget, you keep 90% of every Enriched Snippet."},problems:[{icon:"trending",title:"Declining CPMs",description:"Traditional display advertising is losing value. Cookie deprecation accelerates the trend."},{icon:"eye",title:"Invisible to agents",description:"AI agents crawl your pages without giving anything back â and without knowing which advertiser products would fit perfectly into your content."},{icon:"shield",title:"Vendor lock-in",description:"Proprietary platforms dictate terms. You have no control."}],solutions:[{icon:"bot",title:"Content à Product à Intent",description:"Your pages are matched with relevant advertiser products and user intent â only then does an Enriched Snippet get created, and only then do you earn."},{icon:"code",title:"One tag, done",description:"Integration in 5 minutes. One script tag or Prebid.js adapter. No products of your own needed â advertisers bring them."},{icon:"chart",title:"90/10 â Publishers keep 90%",description:"Transparent, fair terms. Advertisers pay, Nexbid keeps a 10% platform fee, you get 90%."}],socialProof:{stats:[{value:"$26B",label:"AI ad market by 2029"},{value:"+805%",label:"AI traffic growth YoY"},{value:"MIT",label:"Open source license"}]},cta:{primary:{label:"Get started",href:"/sign-up"},secondary:{label:"Learn more",href:"/publisher"}},seo:{title:"Nexbid for Publishers â AI Agent Monetization",description:"Your pages à advertiser products à user intent = Enriched Snippet. Open protocol, 90/10 â publishers keep 90%, no lock-in."}},brands:{hero:{badge:"For Brands",title:"Your products are invisible.",highlight:"To AI agents.",subtitle:"AI agents recommend products â but not yours. Nexbid makes your brand discoverable in the agent ecosystem."},problems:[{icon:"eye",title:"Agents don't know you",description:"50% of online shoppers will use AI agents by 2030. Without presence in the agent ecosystem, you're out."},{icon:"target",title:"Walled gardens",description:"OpenAI and Google control access. Minimum $200K entry budget."},{icon:"shield",title:"No transparency",description:"You don't know when or why an agent recommends your product â or doesn't."}],solutions:[{icon:"bot",title:"Brand Portal",description:"Your digital brand space â the single source of truth for AI agents."},{icon:"chart",title:"Scoring transparency",description:"See exactly how your score is calculated: relevance, quality, bid â all open."},{icon:"trending",title:"No minimum budget",description:"Start with CHF 50. Pay only for real agent interactions."}],socialProof:{stats:[{value:"â¬109B",label:"EU Agentic Commerce by 2030"},{value:"4Ã",label:"Faster than classic e-commerce"},{value:"0",label:"Cookies required"}]},cta:{primary:{label:"Create account",href:"/sign-up"},secondary:{label:"Learn more",href:"/advertiser"}},seo:{title:"Nexbid for Brands â Visibility in the Agent Ecosystem",description:"Make your products discoverable by AI agents. Open infrastru
39cture, transparent scoring, no minimum budget."}},agencies:{hero:{badge:"For Agencies",title:"Your clients are asking about AI advertising.",highlight:"Deliver it.",subtitle:"Nexbid gives agencies the infrastructure to position clients in agentic commerce â without building their own tech."},problems:[{icon:"trending",title:"New discipline, no tool",description:"Agentic commerce grows 4Ã faster than e-commerce. Your clients expect expertise â you have no tool."},{icon:"target",title:"High entry barriers",description:"OpenAI Ad Pilot: $200K minimum. Google UCP: enterprise only. Your mid-market clients are locked out."},{icon:"code",title:"Build vs. buy",description:"Build your own agent commerce stack? Too expensive. Lock into a platform? Too risky."}],solutions:[{icon:"bot",title:"White-label ready",description:"Nexbid as infrastructure under your branding. Your clients see your agency, not us."},{icon:"chart",title:"Multi-client dashboard",description:"Manage all client accounts centrally. Budgets, campaigns, analytics â all in one dashboard."}
39,{icon:"shield",title:"Open protocol",description:"No vendor lock-in. MIT licensed. Switch or extend anytime."}],socialProof:{stats:[{value:"$26B",label:"AI ad market by 2029"},{value:"90/10",label:"Publishers keep 90%"},{value:"MIT",label:"No vendor lock-in"}]},cta:{primary:{label:"Become a partner",href:"/sign-up"},secondary:{label:"View comparison",href:"/compare"}},seo:{title:"Nexbid for Agencies â Agentic Commerce for Your Clients",description:"Offer your clients AI advertising. White-label infrastructure, multi-client dashboard, open protocol."}},developers:{hero:{badge:"For Developers",title:"Build commerce into your AI agent.",highlight:"5 lines of code.",subtitle:"Nexbid MCP Server â open protocol, TypeScript SDK, live API. Search, compare, purchase products."},problems:[{icon:"code",title:"No standard",description:"Every shop has a different API. No unified interface for agent commerce."},{icon:"shield",title:"Proprietary silos",description:"OpenAI and Google build walled gardens. Your agent becomes dependent on a single provider."},{icon:"eye",title:"No transparency",description:"Why does an agent recommend product A over B? Closed-source platforms won't tell you."}],solutions:[{icon:"bot",title:"MCP-native",description:"Standardized Model Context Protocol. Works with Claude, ChatGPT, and any MCP-compatible agent."},{icon:"code",title:"TypeScript SDK",description:"npm install @protocol-commerce/adcp-sdk â Types, validators, client. Fully type-safe."},{icon:"chart",title:"Scoring API",description:"Open scoring formula: 0.3·bid + 0.3·similarity + 0.2·quality + 0.2·context. Verifiable."}],socialProof:{stats:[{value:"5 min",label:"Integration time"},{value:"100%",label:"Open source (MIT)"},{value:"3",label:"MCP tools (search, purchase, status)"}]},cta:{primary:{label:"Read MCP docs",href:"/docs/mcp"},secondary:{label:"Agent Directory",href:"/agents"}},seo:{title:"Nexbid for Developers â MCP Commerce SDK",description:"Integrate commerce into your AI agent. MCP protocol, TypeScript SDK, open scoring formula."}},consumers:{hero:{badge:"For You",title:"Better recommendations.",highlight:"No tracking.",subtitle:"Nexbid finds products that truly match what you're looking for â based on what you ask, not what you googled yesterday."},problems:[{icon:"eye",title:"Same ads everywhere",description:"Cookies follow you across the web. You see the same ads â even for things you already bought."},{icon:"shield",title:"Opaque recommendations",description:"Why is product A recommended? Because it's good â or because the manufacturer paid the most?"},{icon:"target",title:"Irrelevant results",description:"Search engines show what's SEO-optimized. Not what you actually need."}],solutions:[{icon:"bot",title:"AI-powered search",description:"Ask in natural language. The AI understands what you're really looking for."},{icon:"chart",title:"Transparent scoring",description:"Every result shows you why it's recommended. Relevance, quality, price â all visible."},{icon:"shield",title:"No cookies",description:"No tracking, no fingerprinting, no data harvesting. Privacy by design."}],socialProof:{stats:[{value:"0",label:"Cookies"},{value:"100%",label:"Transparency"},{value:"Free",label:"Forever"}]},cta:{primary:{label:"Discover products",href:"/enduser"},secondary:{label:"All products",href:"/discover"}},seo:{title:"Nexbid â AI Product Search Without Tracking",description:"Find products that truly match you. No cookies, with transparent scoring."}}},brandAgentWizard:{title:"Configure Brand Agent",subtitle:"Define how your brand should appear in the agentic commerce ecosystem.",stepOf:"Step {step} of {total}",autoSaved:"Draft auto-saved",back:"Back",next:"Next",submit:"Activate Brand Agent",submitting:"Savingâ¦",steps:[{title:"Brand Story",subtitle:"Who are you and what makes you unique?"},{title:"Ideal Customer Profile",subtitle:"Who are your target customers?"}
39,{title:"Targeting",subtitle:"On which content pages should your products appear?"},{title:"Messaging Guidelines",subtitle:"How should AI agents present your brand?"},{title:"Bidding & Budget",subtitle:"Set your budget and maximum bids."}],step1:{brandNameLabel:"Brand name",brandNamePlaceholder:"e.g. Acme Inc.",brandNameRequired:"This field is required.",brandStoryLabel:"Brand story",brandStoryHint:"Describe in 2â5 sentences: Who are you, what do you do, what sets you apart?",brandStoryMin20:"At least 20 characters required.",brandStoryRequired:"This field is required.",toneLabel:"Tone of voice"},step2:{ageGroupsLabel:"Age groups",ageGroupsHint:"Which age groups do you target? (multiple selection)",genderLabel:"Gender",geosLabel:"Target markets (geo)",geosPlaceholder:"Another countryâ¦",languagesLabel:"Languages",languagesPlaceholder:"Another languageâ¦",useCasesLabel:"Use cases",useCasesHint:"What situations do your customers buy for?",useCasesPlaceholder:"Add use caseâ¦"},step3:{intro:"Define which content pages your products should appear on.",allowlistLabel:"Allowed categories (allowlist)",blocklistLabel:"Blocked categories (blocklist)",customCategoryPlaceholder:"Custom categoryâ¦",blockCustomCategoryPlaceholder:"Block custom categoryâ¦",keywordsLabel:"Context keywords",keywordsHint:"Keywords that should appear in publisher content for your products to match.",keywordsPlaceholder:"Add keywordâ¦"},step4:{guidelinesLabel:"Messaging guidelines",guidelinesHint:"How should your brand be presented in AI responses?",guidelinesPlaceholder:"e.g. Always emphasize sustainability.",forbiddenTermsLabel:"Forbidden terms",forbiddenTermsHint:"Terms that AI agents must never use in connection with your brand.",forbiddenTermsPlaceholder:"Enter termâ¦",disclosuresLabel:"Required disclosures",disclosuresHint:"Legal disclaimers that must always appear.",disclosuresPlaceholder:"Add disclosureâ¦",disclaimer:"These guidelines are transmitted to AI agents when your products appear in Enriched Snippets."},step5:{intro:"Set your monthly budget and maximum bids.",budgetLabel:"Monthly budget (CHF)",budgetHint:"Minimum budget per media buy: CHF 2,500.",budgetRequired:"Budget must be greater than 0.",maxCpmLabel:"Max. CPM (CHF)",maxCpcLabel:"Max. CPC (CHF)",pricingModelLabel:"Default pricing model"}},consumerAddresses:{pageTitle:"Addresses",pageSubtitle:"Manage shipping and billing addresses for agent-driven purchases.",addButton:"Add address",empty:"You have no saved addresses yet.",defaultShippingBadge:"Default shipping",defaultBillingBadge:"Default billing",kindShippingBadge:"Shipping",kindBillingBadge:"Billing",kindBothBadge:"Shipping & billing",editButton:"Edit",deleteButton:"Delete",deleteConfirm:"Delete this address?",saveButton:"Save",cancelButton:"Cancel",saveError:"Could not save address. Please try again.",deleteError:"Could not delete address.",form:{kindLabel:"Use for",kindShipping:"Shipping only",kindBilling:"Billing only",kindBoth:"Both",labelLabel:"Label (optional)",labelPlaceholder:"e.g. Home, Office",recipientNameLabel:"Recipient",companyLabel:"Company (optional)",streetLine1Label:"Street and house number",streetLine2Label:"Address line 2 (optional)",cityLabel:"City",regionLabel:"State / Province",postalCodeLabel:"Postal code",countryLabel:"Country",phoneLabel:"Phone (optional)",setAsDefaultShipping:"Set as default shipping address",setAsDefaultBilling:"Set as default billing address",errorRequired:"Required",errorPostalCode:"Postal code does not match the selected country",errorCountry:"Please pick a valid country"}},consumerSavedItems:{pageTitle:"Prodotti salvati",pageSubtitle:"La tua wishlist. Fino a 100 prodotti alla volta.",empty:"Non hai ancora salvato nessun prodotto.",discoverProducts:"Scopri prodotti",remove:"Rimuovi",retry:"Ricarica",loadError:"Impossibile caricare la lista.",bannerWarning:"Stai usando {count} su {limit} slot. Fai spazio per nuove scoperte.",bannerCritical:"Restano pochi slot ({count} su {limit}). Il salvataggio verrà presto bloccato.",bannerFull:"Lista piena â rimuovi prodotti per salvarne di nuovi.",button:{save:"Salva prodotto",unsave:"Rimuovi dalla lista",saving:"Salvataggioâ¦",limitReached:"Massimo di 100 raggiunto",error:"Azione fallita â riprova"}},consumerPushNotifications:{title:"Notifiche push",description:"Ricevi aggiornamenti sui tuoi ordini direttamente nel browser â anche con la scheda chiusa.",enableButton:"Attiva",disableButton:"Disattiva",enabledBadge:"Attivo",unsupported:"Il tuo browser non supporta le notifiche push.",denied:"Hai bloccato le notifiche. Riattivale nelle impostazioni del browser, poi ricarica la pagina.",workingMessage:"Un attimoâ¦",errorMessage:"Si è verificato un errore â riprova."},consumerShopWishes:{pageTitle:"Negozi desiderati",pageSubtitle:"Quali negozi dovremmo portare su Nexbid?",empty:"Non hai ancora inviato ric
39hieste.",loadError:"Impossibile caricare la lista.",mutationError:"Azione fallita â riprova.",deleteConfirm:"Eliminare questa richiesta?",dismissButton:"Chiudi",deleteButton:"Elimina",statusOpen:"Aperto",statusMatched:"Match trovato",statusFulfilled:"Realizzato",statusDismissed:"Chiuso",button:{prompt:"Quale negozio dovrebbe essere qui? Diccelo â lo aggiungiamo al radar outbound.",signInNudge:"Accedi per suggerire un negozio.",signInLink:"Accedi",shopQueryLabel:"Nome del negozio",shopQueryPlaceholder:"es. Galaxus, Mona, Brackâ¦",shopUrlLabel:"Sito web (opzionale)",shopUrlPlaceholder:"https://example.com",reasonLabel:"Perché (opzionale)",reasonPlaceholder:"Perché questo negozio dovrebbe essere su Nexbid?",submit:"Suggerisci negozio",submitting:"Invioâ¦",successTitle:"Grazie! ð",successBody:"Ti avviseremo quando il negozio sarà su Nexbid.",errorMessage:"Invio fallito â riprova."}},consumerPaymentMethods:{pageTitle:"Metodi di pagamento",pageSubtitle:"Salva carte o Apple/Google Pay per gli acquisti tramite agente.",addButton:"Aggiungi metodo di pagamento",addSectionTitle:"Nuovo metodo di pagamento",retry:"Ricarica",loadError:"Impossibile caricare la lista.",mutationError:"Azione fallita â riprova.",list:{empty:"Nessun metodo di pagamento salvato.",defaultBadge:"Predefinito",setDefault:"Imposta predefinito",remove:"Rimuovi",removeConfirm:"Rimuovere questo metodo di pagamento?",applePay:"Apple Pay",googlePay:"Google Pay",card:"Carta"},add:{loading:"Caricamentoâ¦",notConfigured:"Stripe non è ancora configurato. I metodi di pagamento saranno attivati a breve.",setupError:"Configurazione fallita. Riprova.",saveButton:"Salva",saving:"Salvataggioâ¦",cancelButton:"Annulla",setAsDefault:"Imposta come metodo di pagamento predefinito",successMessage:"Metodo di pagamento salvato."}},recipeSourceLabel:"Ricetta originale su"}};function r5(t){return t==="de"?"de":"en"}const pz={"/produkte":"de","/products":"en","/rezepte":"de","/recipes":"en","/dienstleistungen":"de","/services":"en","/recettes":"fr","/ricette":"it","/marketing/ki-sichtbarkeit":"de"};function mz(t){return pz[t]}function gz({className:t="w-6 h-6"}){return E.jsxs("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:[E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]})}function yz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.455 2.456L21.75 6l-1.036.259a3.375 3.375 0 0 0-2.455 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"})})}function bz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5V6.75a4.5 4.5 0 1 1 9 0v3.75M3.75 21.75h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H3.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})})}function vz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"})})}function Sz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749
39c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"})})}function _z({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18 9 11.25l4.306 4.306a11.95 11.95 0 0 1 5.814-5.518l2.74-1.22m0 0-5.94-2.281m5.94 2.28-2.28 5.941"})})}function Ez({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"})})}function Az({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.348 14.652a3.75 3.75 0 0 1 0-5.304m5.304 0a3.75 3.75 0 0 1 0 5.304m-7.425 2.121a6.75 6.75 0 0 1 0-9.546m9.546 0a6.75 6.75 0 0 1 0 9.546M5.106 18.894c-3.808-3.807-3.808-9.98 0-13.788m13.788 0c3.808 3.807 3.808 9.98 0 13.788M12 12h.008v.008H12V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})})}function Tz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"})})}function wz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 19.5v-.75a7.5 7.5 0 0 0-7.5-7.5H4.5m0 0v-.75a11.25 11.25 0 0 1 11.25-11.25h.75m-12 12h.008v.008H4.5V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})})}function Cz({className:t="w-6 h-6"}){return E.jsxs("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:[E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}),E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"})]})}function xz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"})})}function Gm({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"})})}function kz({className:t="w-4 h-4"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"})})}function Pz({className:t="w-5 h-5"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5a17.92 17.92 0 0 1-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"})})}function Mz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.429 9.75 2.25 12l4.179 2.25m0-4.5 5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L12 12.75 6.429 9.75m11.142 0 4.179 2.25L12 17.25 2.25 12l4.179-2.25m11.142 0 4.179 2.25L12 21.75l-9.75-5.25 4.179-2.25"})})}function Dz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32
390 0 1 12 3Z"})})}function Oz({className:t="w-6 h-6"}){return E.jsx("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})})}const N_={eye:gz,bot:yz,unlock:bz,plug:vz,shield:Sz,trending:_z,code:Ez,signal:Az,chart:Tz,rss:wz,target:Cz,link:xz,zap:Gm,layers:Mz,filter:Dz,clock:Oz,check:kz};function Rz({name:t,className:r}){const a=N_[t]??N_.zap;return E.jsx(a,{className:r})}function Nz({t,onNavigate:r}){const[a,s]=w.useState(!1),l=w.useRef(null),u=[{href:"/publisher",icon:"ð¢",label:t.nav.forPublisher,description:t.nav.forPublisherDesc,color:"text-purple-400"},{href:"/advertiser",icon:"ð¢",label:t.nav.forAdvertiser,description:t.nav.forAdvertiserDesc,color:"text-blue-400"},{href:"/enduser",icon:"ð¤",label:t.nav.forEnduser,description:t.nav.forEnduserDesc,color:"text-emerald-400"},{href:"/agents",icon:"ð¤",label:t.nav.forAgents,description:t.nav.forAgentsDesc,color:"text-amber-400"}];return w.useEffect(()=>{function f(h){l.current&&!l.current.contains(h.target)&&s(!1)}return document.addEventListener("mousedown",f),()=>document.removeEventListener("mousedown",f)},[]),w.useEffect(()=>{function f(h){h.key==="Escape"&&s(!1)}return document.addEventListener("keydown",f),()=>document.removeEventListener("keydown",f)},[]),E.jsxs("div",{ref:l,className:"relative",children:[E.jsxs("button",{onClick:()=>s(f=>!f),className:"flex items-center gap-1 text-sm text-text-muted transition hover:text-text-primary","aria-expanded":a,"aria-haspopup":"true",children:[t.nav.forLabel,E.jsx("svg",{className:`h-3.5 w-3.5 transition-transform ${a?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),a&&E.jsx("div",{className:"absolute left-1/2 top-full z-50 mt-2 w-80 -translate-x-1/2 rounded-xl border border-border-subtle/50 bg-surface-raised/95 p-3 shadow-xl backdrop-blur-xl",children:E.jsx("div",{className:"grid grid-cols-2 gap-2",children:u.map(f=>E.jsxs("a",{href:f.href,onClick:()=>{s(!1),r?.()},className:"rounded-lg p-3 transition hover:bg-surface-overlay/60",children:[E.jsxs("div",{className:"flex items-center gap-2",children:[E.jsx("span",{className:"text-base",children:f.icon}),E.jsx("span",{className:`text-sm font-semibold ${f.color}`,children:f.label})]}),E.jsx("p",{className:"mt-1 text-xs text-text-muted",children:f.description})]},f.href))})})]})}function Lz({t,onNavigate:r}){const[a,s]=w.useState(!1),l=[{href:"/publisher",icon:"ð¢",label:t.nav.forPublisher,description:t.nav.forPublisherDesc,color:"text-purple-400"},{href:"/advertiser",icon:"ð¢",label:t.nav.forAdvertiser,description:t.nav.forAdvertiserDesc,color:"text-blue-400"},{href:"/enduser",icon:"ð¤",label:t.nav.forEnduser,description:t.nav.forEnduserDesc,color:"text-emerald-400"},{href:"/agents",icon:"ð¤",label:t.nav.forAgents,description:t.nav.forAgentsDesc,color:"text-amber-400"}];return E.jsxs("div",{children:[E.jsxs("button",{onClick:()=>s(u=>!u),className:"flex w-full items-center justify-between rounded-lg px-3 py-2.5 text-sm text-text-muted transition hover:bg-surface-overlay/50 hover:text-text-primary",children:[E.jsx("span",{children:t.nav.forLabel}),E.jsx("svg",{className:`h-4 w-4 transition-transform ${a?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),a&&E.jsx("div",{className:"ml-3 space-y-1 border-l border-border-subtle pl-3",children:l.map(u=>E.jsxs("a",{href:u.href,onClick:()=>r?.(),className:"block rounded-lg px-3 py-2 text-sm text-text-muted transition hover:bg-surface-overlay/50 hover:text-text-primary",children:[E.jsx("span",{className:"mr-2",children:u.icon}),u.label]},u.href))})]})}function Iz(){const t=w.useContext(AT);if(!t)throw new Error("useTheme must be used within ThemeProvider");return t}const zz=[{value:"system",label:"System",glyph:"â",title:"Systemeinstellung folgen"},{value:"light",label:"Hell",glyph:"â",title:"Helles Theme"},{value:"dark",label:"Dunkel",glyph:"â¾",title:"Dunkles Theme"}];function L_(){const{theme:t,setTheme:r}=Iz();return E.jsx("div",{role:"group","aria-label":"Theme wählen",className:"inline-flex items-center gap-0.5 rounded-button border border-border-default bg-surface-sunken p-0.5",children:zz.map(a=>{const s=t===a.value;return E.jsxs("button",{type:"button",onClick:()=>r(a.value),"aria-pressed":s,title:a.title,className:`flex items-center gap-1 rounded px-2 py-1 text-xs font-medium transition-colors ${s?"bg-accent-500 text-white":"text-text-muted hover:text-text-primary"}`,children:[E.jsx("span",{"aria-hidden":"true",children:a.glyph}),E.jsx("span",{className:"hidden sm:inline",children:a.label})]},a.value)})})}const Uz=[{code:"de",label:"DE"},{code:"en",label:"EN"},{code:"fr",label:"FR"},{code:"it",label:"IT"}];function I_({locale:t,onLocaleChange:r,compact:a}){const[s,l]=w.useState(!1),u=w.useRef(null);return w.useEffect(()=>{if(!s)return;const f=h=>{u.current&&!u.current.contains(h.target)&&l(!1)};return document.addEventListener("mousedown",f),()=>document.removeEventListener("mousedown",f)},[s]),E.jsxs("div",{className:"relative",ref:u,children:[E.jsxs("button",{type:"button",onClick:()=>l(f=>!f),"aria-haspopup":"listbox","aria-expanded":s,className:`flex items-center gap-1 rounded-md border border-border-subtle ${a?"px-2 py-1":"px-2.5 py-1"} text-xs font-medium transition hover:border-border-strong hover:text-text-primary`,children:[E.jsx(Pz,{className:"h-3.5 w-3.5"}),E.jsx("span",{children:t.toUpperCase()})]}),s&&E.jsx("ul",{role:"listbox",className:"absolute right-0 mt-1 min-w-[80px] overflow-hidden rounded-md border border-border-subtle bg-surface-raised py-1 text-xs shadow-lg",children:Uz.map(f=>E.jsx("li",{children:E.jsx("button",{type:"button",role:"option","aria-selected":f.code===t,onClick:()=>{r(f.code),l(!1)},className:`block w-full px-3 py-1.5 text-left transition hover:bg-surface-overlay ${f.code===t?"text-nexbid-400":"text-text-muted"}`,children:f.label})},f.code))})]})}function Bz({locale:t,onLocaleChange:r,t:a}){const[s,l]=w.useState(!1);return E.jsxs("nav",{className:"fixed top-0 z-50 w-full border-b border-border-subtle/50 bg-surface-bg/80 backdrop-blur-xl",children:[E.jsxs("div",{className:"mx-auto flex max-w-6xl items-center justify-between px-6 py-4",children:[E.jsxs(Dt,{to:"/",className:"flex items-center gap-2 text-xl font-bold tracking-tight",children:[E.jsx(Gm,{className:"h-6 w-6 text-nexbid-500"}),E.jsx("span",{children:"Nexbid"})]}),E.jsxs("div",{className:"hidden items-center gap-6 text-sm text-text-muted lg:flex",children:[E.jsx(Dt,{to:"/discover",className:"font-medium text-nexbid-400 transition hover:text-nexbid-300",children:a.nav.discover}),E.jsx(Nz,{t:a}),E.jsxs("div",{className:"flex items-center gap-1 text-text-muted",children:[E.jsx(Dt,{to:"/products",className:"transition hover:text-text-primary",children:"Products"}),E.jsx("span",{className:"text-text-muted",children:"·"}),E.jsx(Dt,{to:"/recipes",className:"transition hover:text-text-primary",children:"Recipes"}),E.jsx("span",{className:"text-text-muted",children:"·"}),E.jsx(Dt,{to:"/services",className:"transition hover:text-text-primary",children:"Services"})]}),E.jsx(Dt,{to:"/docs",className:"transition hover:text-text-primary",children:"Docs"}),E.jsx(Dt,{to:"/blog",className:"transition hover:text-text-primary",children:a.nav.blog}),E.jsx(I_,{locale:t,onLocaleChange:r}),E.jsx(L_,{}),E.jsx(x0,{children:E.jsx(Dt,{to:"/sign-in",className:"rounded-lg bg-nexbid-600 px-4 py-1.5 text-xs font-semibold text-white transition hover:bg-nexbid-500",children:a.nav.login})}),E.jsxs(C0,{children:[E.jsx(Dt,{to:"/dashboard",className:"rounded-lg border border-nexbid-600/50 px-4 py-1.5 text-xs font-semibold text-nexbid-400 transition hover:bg-nexbid-600/10",children:"Dashboard"}),E.jsx(R0,{afterSignOutUrl:"/",appearance:{elements:{avatarBox:"h-8 w-8"}}})]})]}),E.jsxs("div",{className:"flex items-center gap-3 lg:hidden",children:[E.jsx(L_,{}),E.jsx(I_,{locale:t,onLocaleChange:r,compact:!0}),E.jsx(C0,{children:E.jsx(R0,{appearance:{elements:{avatarBox:"h-7 w-7"}}})}),E.jsx("button",{onClick:()=>l(u=>!u),className:"flex h-8 w-8 items-center justify-center rounded-md border border-border-subtle text-text-muted transition hover:border-border-strong hover:text-text-primary","aria-label":"Menu",children:s?E.jsx("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})}):E.jsx("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]})]}),s&&E.jsx("div",{className:"border-t border-border-subtle/50 bg-surface-bg/95 backdrop-blur-xl lg:hidden",children:E.jsxs("div",{className:"mx-auto max-w-6xl space-y-1 px-6 py-4",children:[E.jsx(Dt,{to:"/discover",onClick:()=>l(!1),className:"block rounded-lg px-3 py-2.5 text-sm font-medium text-nexbid-400 hover:bg-nexbid-500/10",children:a.nav.discover}),E.jsx(Lz,{t:a,onNavigate:()=>l(!1)}),E.jsx(Dt,{to:"/docs",onClick:()=>l(!1),className:"block rounded-lg px-3 py-2.5 text-sm text-text-muted hover:bg-surface-overlay/50 hover:text-text-primary",children:"Docs"}),E.jsx(Dt,{to:"/blog",onClick:()=>l(!1),className:"block rounded-lg px-3 py-2.5 text-sm text-text-muted hover:bg-surface-overlay/50 hover:text-text-primary",children:a.nav.blog}),E.jsx("div",{className:"border-t border-border-subtle/50 pt-3",children:E.jsx(x0,{children:E.jsx(Dt,{to:"/sign-in",onClick:()=>l(!1),className:"block rounded-lg bg-nexbid-600 px-3 py-2.5 text-center text-sm font-semibold text-white transition hover:bg-nexbid-500",children:a.nav.login})})})]})})]})}const jz="https://google.com/preferences/source",Hz="nexbid.dev";function Fz(t){const r=t.trim().toLowerCase().replace(/^https?:\/\//,"").replace(/^www\./,"").replace(/\/+$/,"");if(!r)throw new Error("preferredSourceUrl: domain must not be empty");return`${jz}?q=${encodeURIComponent(r)}`}function Gz({t,variant:r="footer"}){const a=Fz(Hz),s=E.jsxs("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary transition hover:border-nexbid-500/50 hover:text-nexbid-400",children:[t.footer.preferredSourceLabel,E.jsxs("span",{className:"text-xs font-normal text-text-muted",children:["(",t.footer.preferredSourceHint,")"]})]});return r==="standalone"?E.jsx("div",{className:"mt-12",children:s}):r==="article"?E.jsxs("div",{className:"mt-12 flex flex-wrap items-center gap-x-4 gap-y-2",children:[s,E.jsx(Dt,{to:t.footer.preferredSourcePath,className:"text-sm text-text-muted underline decoration-border-subtle underline-offset-4 transition hover:text-text-primary",children:t.footer.preferredSourceWhat})]}):E.jsx("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"text-text-muted underline decoration-border-subtle transition hover:text-text-primary",children:t.footer.preferredSourceLabel})}const Vz={products:{de:"/produkte",en:"/products",fr:"/products",it:"/products"},recipes:{de:"/rezepte",en:"/recipes",fr:"/recettes",it:"/ricette"},services:{de:"/dienstleistungen",en:"/services",fr:"/services",it:"/services"},editorials:{de:"/magazin",en:"/editorials",fr:"/magazine",it:"/rivista"},brands:{de:"/marken",en:"/brands",fr:"/brands",it:"/brands"}};function Ys(t,r){return Vz[t][r]}function qz({t,locale:r}){const a=[{heading:t.footer.colProduct,links:[{href:"/marketing/discover",label:t.footer.linkDiscover},{href:"/marketing/publisher",label:t.nav.publisher},{href:"/marketing/advertiser",label:t.nav.advertiser},{href:"/marketing/enduser",label:t.nav.forEnduser},{href:"/agents",label:t.nav.forAgents,isNew:!0},{href:"/marketing/compare",label:t.footer.linkCompare}
39]},{heading:t.footer.colContent,links:[{href:Ys("brands",r),label:t.footer.linkBrands},{href:Ys("products",r),label:t.footer.linkProducts},{href:Ys("recipes",r),label:t.footer.linkRecipes},{href:Ys("editorials",r),label:t.footer.linkEditorials},{href:Ys("services",r),label:t.footer.linkServices}]},{heading:t.footer.colDevelopers,links:[{href:"/docs",label:t.footer.linkDocs},{href:"/docs/mcp",label:t.footer.linkMcpDocs},{href:"/docs/scoring",label:t.footer.linkScoringDocs},{href:"/docs/verification",label:t.footer.linkVerificationDocs},{href:"/integration",label:t.nav.integration},{href:"/.well-known/agents.json",label:t.footer.linkAgentManifest,isNew:!0},{href:"/verified-delivery",label:t.footer.linkVerifiedDelivery,isNew:!0}]},{heading:t.footer.colResources,links:[{href:"/blog",label:t.nav.blog},{href:"/marketing/glossary",label:t.nav.glossary},{href:"/technology",label:t.footer.linkTechnology},{href:"/marketing/agentic-commerce",label:t.footer.linkAgenticCommerce,isNew:!0},{href:"/marketing/how-to-monetize-content-for-ai-agents",label:t.footer.linkMonetizeContent,isNew:!0},{href:"/open-vs-open-mit-vs-apache",label:t.footer.linkOpenVsOpen,isNew:!0},{href:"/marketing/pricing",label:t.footer.linkPricing,isNew:!0},{href:"/marketing/mcp-server-for-publishers",label:t.footer.linkPublisherMcp,isNew:!0},{href:"/press",label:t.footer.press},{href:"/support",label:t.footer.linkSupport}]},{heading:t.footer.colCompany,links:[{href:"https://www.digital-opua.ch",label:t.footer.company},{href:"/imprint",label:t.footer.imprint},{href:"/privacy",label:t.footer.privacy},{href:"/terms",label:t.footer.terms}]}];return E.jsx("footer",{className:"border-t border-border-subtle/50 px-6 py-12",children:E.jsxs("div",{className:"mx-auto max-w-6xl",children:[E.jsx("nav",{"aria-label":t.footer.siteNavLabel,className:"grid grid-cols-2 gap-x-6 gap-y-8 md:grid-cols-3 lg:grid-cols-5",children:a.map(s=>E.jsxs("div",{children:[E.jsx("h3",{className:"mb-3 text-xs font-semibold uppercase tracking-wider text-text-muted",children:s.heading}),E.jsx("ul",{className:"space-y-2 text-sm",children:s.links.map(l=>{const u=l.href.startsWith("http");return E.jsx("li",{children:E.jsxs("a",{href:l.href,className:"text-text-muted transition hover:text-text-primary",...u&&{target:"_blank",rel:"noopener noreferrer"},children:[l.label,l.isNew&&E.jsx("span",{className:"ml-1.5 rounded-full bg-nexbid-500/20 px-1.5 py-0.5 text-[10px] font-medium uppercase text-nexbid-300",children:t.footer.newBadge})]})},l.href)})})]},s.heading))}),E.jsxs("div",{className:"mt-12 border-t border-border-subtle/50 pt-6 text-xs text-text-muted",children:[E.jsx("a",{href:"https://mineralis.io",target:"_blank",rel:"noopener noreferrer",className:"group mb-6 block rounded-xl border border-purple-500/20 bg-purple-500/[0.04] p-4 transition hover:border-purple-500/40 hover:bg-purple-500/[0.07] sm:p-5",children:E.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[E.jsxs("div",{className:"text-left",children:[E.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-purple-300",children:t.footer.verticalArchitecture}),E.jsx("p",{className:"mt-1 text-sm font-semibold text-text-primary",children:t.footer.linkSisterVertical}),E.jsx("p",{className:"mt-1 text-xs leading-relaxed text-text-muted",children:t.footer.sisterBrandDesc})]}),E.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1.5 rounded-lg border border-purple-500/30 bg-purple-500/10 px-3 py-1.5 text-xs font-semibold text-purple-200 transition group-hover:border-purple-500/50 group-hover:bg-purple-500/15",children:[t.footer.sisterBrandCta,E.jsx("span",{"aria-hidden":"true",children:"â"})]})]})}),E.jsxs("div",{className:"flex flex-col items-center justify-between gap-3 md:flex-row",children:[E.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[E.jsx(Gm,{className:"h-4 w-4 text-nexbid-500"}),E.jsx("span",{className:"font-semibold text-text-muted",children:"Nexbid"}),E.jsx("span",{children:"·"}),E.jsxs("span",{children:[t.footer.builtBy," ",E.jsx("a",{href:"https://www.digital-opua.ch",className:"text-text-muted underline decoration-border-subtle transition hover:text-text-primary",target:"_blank",rel:"noopener noreferrer",children:t.footer.company})]}),E.jsx("span",{children:"·"}),E.jsx("span",{children:t.footer.switzerland})]}),E.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[E.jsx(Gz,{t}),E.jsx("span",{children:"·"}),E.jsx("span",{children:t.footer.license})]})]})]})]})})}function TT(){return typeof window<"u"}function Kz(){try{const t="production"}catch{}return"production"}function wT(){return(TT()?window.vam:Kz())||"production"}function z_(){return wT()==="production"}function Yz(){return wT()==="development"}function Wz(t,{[t]:r,...a}){return a}function $z(t,r){if(!t)return;let a=t;const s=[];for(const[l,u]of Object.entries(t))typeof u=="object"&&u!==null&&(r.strip?a=Wz(l,a):s.push(l));if(s.length>0&&!r.strip)throw Error(`The following properties are not valid: ${s.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return a}function Qz(t,r,a){var s,l;if(!TT()){const u="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(z_())console.warn(u);else throw new Error(u);return}if(!r){(s=window.va)==null||s.call(window,"event",{name:t,options:a});return}try{const u=$z(r,{strip:z_()});(l=window.va)==null||l.call(window,"event",{name:t,data:u,options:a})}catch(u){u instanceof Error&&Yz()&&console.error(u)}}const Xz="/api/track/click";function Zz(t,r={}){if(!t||!Jz(t)||!r.contentId&&!r.productId)return t;const a=new URLSearchParams({url:t});return r.contentId&&a.set("cid",r.contentId),r.productId&&a.set("pid",r.productId),r.sessionId&&a.set("sid",r.sessionId),r.advertiserId&&a.set("aid",r.advertiserId),r.queryId&&a.set("qid",r.queryId),`${Xz}?${a.toString()}`}
39function Jz(t){try{const r=new URL(t);return r.protocol==="https:"||r.protocol==="http:"}catch{return!1}}function CT(t,r){try{if(typeof window>"u")return;const a=r?eU(r):void 0;Qz(t,a)}catch{}}function eU(t){const r={};for(const[a,s]of Object.entries(t))if(s==null)r[a]=null;else if(typeof s=="string"||typeof s=="number"||typeof s=="boolean")r[a]=s;else try{r[a]=JSON.stringify(s)}catch{r[a]=String(s)}return r}function i5(t,r={}){const a=Zz(t,r),s=r.eventName??"publisher_click",l={productId:r.productId??null,contentId:r.contentId??null,advertiserId:r.advertiserId??null,targetHost:tU(t),...r.eventProps??{}};return{href:a,onClick:()=>CT(s,l)}}function tU(t){try{return new URL(t).hostname}catch{return null}}const nU="/api/analytics/agent-event";function rU(t,r){try{const a={tool:t,hasQuery:"query"in r,hasProductId:"offer_id"in r||"product_id"in r,hasIntentId:"intent_id"in r,timestamp:new Date().toISOString()};CT("webmcp_tool_invocation",a),typeof fetch<"u"&&typeof window<"u"&&fetch(nU,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...a,source:"webmcp"}),keepalive:!0}).catch(()=>{})}catch{}}const El="/api";async function iU(t){const r=new URL(`${El}/products`,window.location.origin);r.searchParams.set("q",t.query),t.geo&&r.searchParams.set("geo",t.geo),t.category&&r.searchParams.set("category",t.category),t.brand&&r.searchParams.set("brand",t.brand),t.budget_min_cents&&r.searchParams.set("budget_min_cents",String(t.budget_min_cents)),t.budget_max_cents&&r.searchParams.set("budget_max_cents",String(t.budget_max_cents)),t.limit&&r.searchParams.set("limit",String(t.limit)),t.intent&&r.searchParams.set("intent",t.intent);const a=await fetch(r.toString());if(!a.ok)throw new Error(`Search failed: ${a.status}`);return a.json()}async function aU(t){const r=await fetch(`${El}/products/${t}`);if(!r.ok)throw new Error(`Product not found: ${r.status}`);return r.json()}async function oU(t){const r=new URL(`${El}/categories`,window.location.origin);t&&r.searchParams.set("geo",t);const a=await fetch(r.toString());if(!a.ok)throw new Error(`Categories failed: ${a.status}`);return(await a.json()).categories}async function sU(t,r=1){const a=await fetch(`${El}/purchase/intent`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({product_id:t,quantity:r})});if(!a.ok)throw new Error(`Purchase failed: ${a.status}`);return a.json()}async function lU(t){const r=new URL(`${El}/purchase/status`,window.location.origin);r.searchParams.set("id",t);const a=await fetch(r.toString());if(!a.ok)throw new Error(`Status check failed: ${a.status}`);return a.json()}const uU={name:"searchOffers",description:"Search for available product offers in the Nexbid marketplace. Accepts a product query, optional budget range in cents, geo filter (ISO country code), category, brand, and intent. Returns a ranked list of offers with price, availability, and ID.",inputSchema:{type:"object",properties:{query:{type:"string",description:"Natural language product query"},geo:{type:"string",description:"ISO 3166-1 alpha-2 country code (default: CH)"},category:{type:"string",description:"Filter by product category"},brand:{type:"string",description:"Filter by brand name"},budget_min_cents:{type:"number",description:"Minimum budget in cents",minimum:0},budget_max_cents:{type:"number",description:"Maximum budget in cents",minimum:1},limit:{type:"number",description:"Max results (1-50, default: 10)",minimum:1,maximum:50},intent:{type:"string",description:"User intent",enum:["purchase","compare","research","browse"]}},required:["query"]},execute:async t=>{try{const r=await iU({query:t.query,geo:t.geo,category:t.category,brand:t.brand,budget_min_cents:t.budget_min_cents,budget_max_cents:t.budget_max_cents,limit:t.limit,intent:t.intent});if(r.products.length===0)return{content:`No products found for "${t.query}".`};const a=r.products.map((s,l)=>`${l+1}. ${s.title}${s.brand?` (${s.brand})`:""} â ${(s.price_cents/100).toFixed(2)} ${s.currency} â ${s.availability} â ID: ${s.id}`);return{content:`Found ${r.totalMatches} products: 40${a.join(` 41`)}`}}catch(r){return{content:`Search failed: ${r instanceof Error?r.message:"unknown"}`,isError:!0}}}},cU={name:"getOfferDetails",description:"Get full details of a specific product offer by ID. Returns price, availability, description, brand, category, and purchase link.",inputSchema:{type:"object",properties:{offer_id:{type:"string",description:"Product UUID from searchOffers"}},required:["offer_id"]},execute:async t=>{try{const r=await aU(t.offer_id);return{content:[`**${r.title}**`,r.brand?`Brand: ${r.brand}
41`:null,r.category?`Category: ${r.category}`:null,`Price: ${(r.price_cents/100).toFixed(2)} ${r.currency}`,`Availability: ${r.availability}`,r.description?`Description: ${r.description}`:null,`Link: ${r.url}`].filter(Boolean).join(` 42`)}}catch(r){return{content:`Product lookup failed: ${r instanceof Error?r.message:"unknown"}`,isError:!0}}}},dU={name:"listCategories",description:"List all available product categories in the Nexbid marketplace with product counts. Optionally filter by country code.",inputSchema:{type:"object",properties:{geo:{type:"string",description:"ISO 3166-1 alpha-2 country code to filter categories"}}},execute:async t=>{try{const r=await oU(t.geo);return r.length===0?{content:"No categories found."}:{content:`Available categories: 43${r.map(s=>`- ${s.category} (${s.product_count} products)`).join(` 44`)}`}}catch(r){return{content:`Category listing failed: ${r instanceof Error?r.message:"unknown"}`,isError:!0}}}},fU={name:"initiateTransaction",description:"Start a purchase transaction for a selected product offer. Returns a checkout URL that the user can click to complete the purchase at the retailer. Requires user confirmation before proceeding.",inputSchema:{type:"object",properties:{offer_id:{type:"string",description:"Product UUID to purchase"},quantity:{type:"number",description:"Quantity to purchase (default: 1)",minimum:1,maximum:99,default:1}},required:["offer_id"]},execute:async t=>{try{const r=await sU(t.offer_id,t.quantity??1);return{content:[`Transaction initiated for: ${r.product_title}`,`Price: ${r.price}`,`Checkout: ${r.checkout_url}`,`Intent ID: ${r.intent_id}`,`Mode: ${r.mode}`].join(` 45`)}}catch(r){return{content:`Transaction failed: ${r instanceof Error?r.message:"unknown"}`,isError:!0}}}},hU={name:"getOrderStatus",description:"Check the status of a previously initiated purchase transaction. Requires the intent_id returned by initiateTransaction.",inputSchema:{type:"object",properties:{intent_id:{type:"string",description:"Purchase intent UUID from initiateTransaction"}},required:["intent_id"]},execute:async t=>{try{const r=await lU(t.intent_id);return{content:[`Status: ${r.status}`,`Product: ${r.product_title}`,`Price: ${r.price}`,r.checkout_url?`Checkout: ${r.checkout_url}`:null,`Created: ${r.created_at}`,r.expires_at?`Expires: ${r.expires_at}`:null].filter(Boolean).join(` 46`)}}catch(r){return{content:`Status check failed: ${r instanceof Error?r.message:"unknown"}`,isError:!0}}}},pU={},U_=[uU,cU,dU,fU,hU],il=new Set;function mU(){const t=pU?.VITE_WEBMCP_ORIGIN_TRIAL_TOKEN;if(!t||typeof document>"u"||document.querySelector('meta[http-equiv="origin-trial"]'))return;const r=document.createElement("meta");r.httpEquiv="origin-trial",r.content=t,document.head.appendChild(r)}function gU(){if(mU(),!("modelContext"in navigator)||!navigator.modelContext)return console.debug("[nexbid-webmcp] Browser does not support WebMCP â skipping tool registration"),!1;let t=0;for(const r of U_)if(!il.has(r.name))try{const a={...r,execute:async s=>(rU(r.name,s),r.execute(s))};navigator.modelContext.registerTool(a),il.add(r.name),t++}catch(a){console.warn(`[nexbid-webmcp] Failed to register tool "${r.name}":`,a)}return console.info(`[nexbid-webmcp] Registered ${t}/${U_.length} tools`),t>0}function yU(){if(!("modelContext"in navigator)||!navigator.modelContext?.unregisterTool)return il.clear(),0;let t=0;for(const r of il)try{navigator.modelContext.unregisterTool(r),t++}catch(a){console.debug(`[nexbid-webmcp] unregisterTool("${r}") skipped:`,a)}return il.clear(),t}const bU=w.createContext(null),vU="x-nexbid-impersonate",SU="x-nexbid-acting-customer",Pc="nexbid-acting-customer";function _U(t,r,a){return r?t.set(vU,r):a&&t.set(SU,a),t}function EU(t){if(!t)return null;try{const r=JSON.parse(t);return typeof r.customerId=="string"&&typeof r.companyName=="string"?{customerId:r.customerId,companyName:r.companyName}:null}catch{return null}}const Mc="nexbid-impersonate";function B_(){if(typeof window>"u")return null;try{return EU(window.localStorage.getItem(Pc))}catch{return null}}function AU(t){if(!(typeof window>"u"))try{t?window.localStorage.setItem(Pc,JSON.stringify(t)):window.localStorage.removeItem(Pc)}catch{}}function j_(){if(typeof window>"u")return null;try{const t=window.localStorage.getItem(Mc);if(!t)return null;const r=JSON.parse(t);return typeof r.customerId=="string"&&typeof r.companyName=="string"&&typeof r.segment=="string"?r:null}catch{return null}}function H_(t){if(!(typeof window>"u"))try{t?window.localStorage.setItem(Mc,JSON.stringify(t)):window.localStorage.removeItem(Mc)}catch{}}function TU({children:t}){const{getToken:r}=um(),[a,s]=w.useState(()=>j_()),[l,u]=w.useState(()=>B_());w.useEffect(()=>{if(typeof window>"u")return;const y=S=>{S.key===Mc&&s(j_()),S.key===Pc&&u(B_())};return window.addEventListener("storage",y),()=>window.removeEventListener("storage",y)},[]);const f=w.useCallback(y=>{H_(y),s(y)},[]),h=w.useCallback(()=>{H_(null),s(null)},[]),p=w.useCallback(y=>{AU(y),u(y)},[]),g=w.useCallback(async(y,S={})=>{const _=await r(),k=new Headers(S.headers);return _&&k.set("Authorization",`Bearer ${_}`),_U(k,a?.customerId??null,l?.customerId??null),fetch(y,{...S,headers:k})},[r,a,l]),b=w.useMemo(()=>({impersonation:a,actingCustomer:l,setActingCustomer:p,startImpersonating:f,stopImpersonating:h,apiFetch:g}),[a,l,p,f,h,g]);return E.jsx(bU.Provider,{value:b,children:t})}const xT="nexbid-locale";function wU(){if(typeof window>"u")return"en";const t=localStorage.getItem(xT);if(t==="de"||t==="en"||t==="fr"||t==="it")return t;const r=navigator.language.slice(0,2);return r==="de"||r==="fr"||r==="it"?r:"en"}const kT={products:{de:"/produkte",en:"/products"},recipes:{de:"/rezepte",en:"/recipes",fr:"/recettes",it:"/ricette"},services:{de:"/dienstleistungen",en:"/services"},brands:{de:"/marken",en:"/brands"}};function CU(t){for(const[r,a]of Object.entries(kT))if(Object.values(a).includes(t))return r}function xU(){const[t,r]=w.useState(wU),a=Qn(),s=mz(a.pathname),l=s??t,u=R_[l]??R_.en,f=h=>r(h);return w.useEffect(()=>{document.documentElement.lang=l,s||localStorage.setItem(xT,l);const h="https://nexbid.dev",p=a.pathname,g=CU(p),b=(y,S,_)=>{let k=document.querySelector(`link[rel="${y}"][hreflang="${S}"]`);k||(k=document.createElement("link"),k.rel=y,k.hreflang=S,document.head.appendChild(k)),k.href=_};if(b("alternate",l==="de"?"de-CH":l,`${h}${p}`),g){const y=kT[g];for(const[_,k]of Object.entries(y)){if(!k||_===l)continue;b("alternate",_==="de"?"de-CH":_,`${h}${k}`)}const S=y.en??Object.values(y)[0]??p;b("alternate","x-default",`${h}${S}`)}else s||(b("alternate",l==="de"?"en":"de-CH",`${h}${p}`),b("alternate","x-default",`${h}${p}`))},[l,s,a.pathname]),w.useEffect(()=>(gU(),()=>{yU()}),[]),E.jsx(TU,{children:E.jsxs("div",{className:"min-h-screen bg-surface-bg text-text-primary antialiased",children:[E.jsx(Bz,{t:u,locale:l,onLocaleChange:f}),E.jsx(BM,{context:{t:u,locale:l}}),E.jsx(qz,{t:u,locale:l})]})})}function kU({t}){const r=t.brandFamily;return E.jsx("section",{className:"border-y border-border-subtle/50 bg-surface-bg/50 px-6 py-20 md:py-28",children:E.jsxs("div",{className:"mx-auto max-w-6xl",children:[E.jsxs("div",{className:"mb-12 text-center md:mb-16",children:[E.jsx("p",{className:"mb-3 text-xs font-semibold uppercase tracking-widest text-nexbid-400",children:r.eyebrow}),E.jsx("h2",{className:"text-3xl font-bold tracking-tight md:text-4xl",children:r.headline}),E.jsx("p",{className:"mx-auto mt-4 max-w-3xl text-base leading-relaxed text-text-muted md:text-lg",children:r.subtitle})]}),E.jsxs("div",{className:"grid gap-6 md:grid-cols-3",children:[E.jsxs(Dt,{to:"/marketing",className:"group flex h-full flex-col rounded-2xl border border-nexbid-500/30 bg-nexbid-500/5 p-7 transition hover:border-nexbid-500/50 hover:bg-nexbid-500/10",children:[E.jsx("div",{className:"mb-4 flex items-center justify-between gap-3",children:E.jsx("span",{className:"rounded-full bg-nexbid-500/20 px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-nexbid-300",children:r.marketingStatus})}),E.jsx("h3",{className:"text-xl font-semibold text-text-primary",children:r.marketingName}),E.jsx("p",{className:"mt-1 text-xs font-medium uppercase tracking-wider text-nexbid-400",children:r.marketingTagline}),E.jsx("p",{className:"mt-4 flex-1 text-sm leading-relaxed text-text-muted",children:r.marketingDesc}),E.jsxs("p",{className:"mt-6 inline-flex items-center gap-1.5 text-sm font-semibold text-nexbid-300 transition group-hover:text-nexbid-200",children:[r.marketingCta,E.jsx("span",{"aria-hidden":"true",children:"â"})]})]}),E.jsxs("a",{href:"https://mineralis.io",target:"_blank",rel:"noopener noreferrer",className:"group flex h-full flex-col rounded-2xl border border-purple-500/30 bg-purple-500/5 p-7 transition hover:border-purple-500/50 hover:bg-purple-500/10",children:[E.jsxs("div",{className:"mb-4 flex items-center justify-between gap-3",children:[E.jsx("span",{className:"rounded-full bg-purple-500/20 px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-purple-300",children:r.mineralisStatus}),E.jsx("span",{className:"text-[10px] font-medium uppercase tracking-wider text-text-muted","aria-hidden":"true",children:"Outbound"})]}),E.jsx("h3",{className:"text-xl font-semibold text-text-primary",children:r.mineralisName}),E.jsx("p",{className:"mt-1 text-xs font-medium uppercase tracking-wider text-purple-400",children:r.mineralisTagline}),E.jsx("p",{className:"mt-4 flex-1 text-sm leading-relaxed text-text-muted",children:r.mineralisDesc}),E.jsxs("p",{className:"mt-6 inline-flex items-center gap-1.5 text-sm font-semibold text-purple-300 transition group-hover:text-purple-200",children:[r.mineralisCta,E.jsx("span",{"aria-hidden":"true",children:"â"})]})]}),E.jsxs(Dt,{to:"/technology",className:"group flex h-full flex-col rounded-2xl border border-border-subtle/50 bg-surface-raised/50 p-7 transition hover:border-border-subtle hover:bg-surface-raised",children:[E.jsx("div",{className:"mb-4 flex items-center justify-between gap-3",children:E.jsx("span",{className:"rounded-full border border-border-subtle px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-text-muted",children:r.xStatus})}),E.jsx("h3",{className:"text-xl font-semibold text-text-primary",children:r.xName}),E.jsx("p",{className:"mt-1 text-xs font-medium uppercase tracking-wider text-text-muted",children:r.xTagline}),E.jsx("p",{className:"mt-4 flex-1 text-sm leading-relaxed text-text-muted",children:r.xDesc}),E.jsxs("p",{className:"mt-6 inline-flex items-center gap-1.5 text-sm font-semibold text-text-muted transition group-hover:text-text-secondary",children:[r.xCta,E.jsx("span",{"aria-hidden":"true",children:"â"})]})]})]}),E.jsx("p",{className:"mt-10 text-center text-xs text-text-muted",children:r.footer})]})})}const F_=[{to:"/technology#architecture"},{to:"/technology#eu-ai-act-readiness"},{to:"/docs/verification"},{to:"/technology#amdp"}];function PU({t}){const r=t.platformThemes;return E.jsx("section",{className:"px-6 py-20 md:py-28",children:E.jsxs("div",{className:"mx-auto max-w-6xl",children:[E.jsxs("div",{className:"mb-12 text-center md:mb-16",children:[E.jsx("p",{className:"mb-3 text-xs font-semibold uppercase tracking-widest text-nexbid-400",children:r.eyebrow}),E.jsx("h2",{className:"text-3xl font-bold tracking-tight md:text-4xl",children:r.headline}),E.jsx("p",{className:"mx-auto mt-4 max-w-2xl text-base leading-relaxed text-text-muted md:text-lg",children:r.subtitle})]}),E.jsx("div",{className:"grid gap-6 sm:grid-cols-2",children:r.themes.map((a,s)=>{const l=F_[s]??F_[0];return E.jsxs(Dt,{to:l.to,className:"group flex flex-col rounded-2xl border border-border-subtle/50 bg-surface-raised/50 p-7 transition hover:border-nexbid-500/30 hover:bg-surface-raised",children:[E.jsx("div",{className:"mb-5 inline-flex w-fit roun
46ded-xl bg-nexbid-500/10 p-3 text-nexbid-400 transition group-hover:bg-nexbid-500/15",children:E.jsx(Rz,{name:a.icon,className:"h-6 w-6"})}),E.jsx("h3",{className:"text-lg font-semibold text-text-primary",children:a.title}),E.jsx("p",{className:"mt-3 flex-1 text-sm leading-relaxed text-text-muted",children:a.desc}),E.jsxs("p",{className:"mt-5 inline-flex items-center gap-1.5 text-sm font-semibold text-nexbid-300 transition group-hover:text-nexbid-200",children:[a.ctaLabel,E.jsx("span",{"aria-hidden":"true",children:"â"})]})]},s)})})]})})}function MU(t=.1){const r=w.useRef(null),[a,s]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&(s(!0),l.disconnect())},{threshold:t});return r.current&&l.observe(r.current),()=>l.disconnect()},[t]),{ref:r,isVisible:a}}function DU(t,r=2e3,a=!1){const[s,l]=w.useState(null);return w.useEffect(()=>{if(!a||typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let f=0;const h=t/(r/16),p=setInterval(()=>{f+=h,f>=t?(l(t),clearInterval(p)):l(Math.floor(f))},16);return()=>clearInterval(p)},[t,r,a]),s===null?t:s}const OU=["cuisineStyle","mealType","difficulty","budget","timeCategory","cookingMethod","equipmentNeeded","season","audience","occasions"],RU=62;function NU({locale:t}){const{ref:r,isVisible:a}=MU(.2),s=[{value:14,suffix:"K+",label:t==="de"?"Rezepte enriched":"Recipes Enriched"},{value:RU,suffix:"",label:t==="de"?"Formal verifizierte Theoreme":"Formally Verified Theorems"},{value:OU.length,suffix:"",label:t==="de"?"Targeting-Dimensionen":"Targeting Dimensions"}];return E.jsx("section",{ref:r,className:"px-6 py-16",children:E.jsx("div",{className:"mx-auto grid max-w-4xl gap-4 md:grid-cols-3",children:s.map((l,u)=>E.jsx(LU,{...l,animate:a,delay:u*150},u))})})}function LU({value:t,suffix:r="",prefix:a="",label:s,animate:l,delay:u}){const f=DU(t,1500,l);return E.jsxs("div",{className:"rounded-2xl border border-border-subtle/50 bg-surface-raised/30 p-6 text-center backdrop-blur-sm transition-all duration-700",style:{opacity:l?1:0,transform:l?"translateY(0)":"translateY(20px)",transitionDelay:`${u}ms`},children:[E.jsxs("div",{className:"text-3xl font-bold tracking-tight text-text-primary md:text-4xl",children:[a,E.jsx("span",{className:"bg-gradient-to-r from-nexbid-400 to-purple-400 bg-clip-text text-transparent",children:f}),r]}),E.jsx("div",{className:"mt-2 text-sm text-text-muted",children:s})]})}const IU={"@context":"https://schema.org","@type":"Organization",name:"Nexbid",alternateName:"Protocol Commerce",legalName:"digital opua GmbH",url:"https://nexbid.dev",logo:"https://nexbid.dev/nexbid-logo.svg",description:"Open-source infrastructure for the agent commerce Match-Moment â where publisher content, brand product, and user intent meet.",disambiguatingDescription:"Nexbid is the open-source agentic commerce protocol and reference implementation by digital opua GmbH (Switzerland). It is unrelated to NexBid.com, a US-based commercial-asset auction service of the same name.",foundingDate:"2025",address:{"@type":"PostalAddress",addressLocality:"Walchwil",addressCountry:"CH"},contactPoint:{"@type":"ContactPoint",email:"[email protected]",url:"https://nexbid.dev/support"},parentOrganization:{"@type":"Organization",name:"digital opua GmbH",url:"https://digital-opua.ch",identifier:"CHE-435.289.702",address:{"@type":"PostalAddress",addressLocality:"Walchwil",addressCountry:"CH"}},sameAs:["https://github.com/nexbid-dev","https://github.com/nexbid-dev/protocol-commerce","https://glama.ai/mcp/servers/nexbid-dev/protocol-commerce","https://mcp.so/server/nexbid","https://agenticadvertising.org/brands/digital-opua.ch/brand.json","https://digital-opua.ch","https://ai.digital-opua.ch","https://www.linkedin.com/company/nexbid"]},zU=[{code:"en",hreflang:"en"},{code:"de",hreflang:"de"},{code:"de-CH",hreflang:"de-CH"},{code:"fr",hreflang:"fr"},{code:"it",hreflang:"it"}];function UU({title:t,description:r,path:a,type:s="website",image:l,structuredData:u,dateModified:f,datePublished:h,author:p,faqItems:g,includeOrganization:b,hreflangs:y}){const S="Nexbid",_="https://nexbid.dev",k=t?`${t} â ${S}`:`${S}
46 â Open Infrastructure for the Agent Commerce Match-Moment`,U=r||"Open infrastructure for the agent commerce Match-Moment â where publisher content, brand product, and user intent meet. AI agents discover and recommend products through open protocols.",B=a?`${_}${a}`:_,q=l||`${_}/og-image.png`,K=g&&g.length>0?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:g.map(Z=>({"@type":"Question",name:Z.question,acceptedAnswer:{"@type":"Answer",text:Z.answer}}))}:null;return E.jsxs(dA,{children:[E.jsx("title",{children:k}),E.jsx("meta",{name:"description",content:U}),E.jsx("meta",{property:"og:title",content:k}),E.jsx("meta",{property:"og:description",content:U}),E.jsx("meta",{property:"og:url",content:B}),E.jsx("meta",{property:"og:type",content:s}),E.jsx("meta",{property:"og:image",content:q}),E.jsx("meta",{property:"og:site_name",content:S}),E.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),E.jsx("meta",{name:"twitter:title",content:k}),E.jsx("meta",{name:"twitter:description",content:U}),E.jsx("meta",{name:"twitter:image",content:q}),E.jsx("link",{rel:"canonical",href:B}),E.jsx("link",{rel:"alternate",hrefLang:"x-default",href:B}),zU.filter(Z=>!y||y.includes(Z.hreflang)).map(Z=>E.jsx("link",{rel:"alternate",hrefLang:Z.hreflang,href:B},Z.code)),h&&E.jsx("meta",{property:"article:published_time",content:h}),f&&E.jsx("meta",{property:"article:modified_time",content:f}),p&&E.jsx("meta",{property:"article:author",content:p}),u&&E.jsx("script",{type:"application/ld+json",children:JSON.stringify(u)}),b&&E.jsx("script",{type:"application/ld+json",children:JSON.stringify(IU)}),K&&E.jsx("script",{type:"application/ld+json",children:JSON.stringify(K)})]})}function BU({url:t,name:r,searchUrlTemplate:a}){const s={"@context":"https://schema.org","@type":"WebSite",url:t,name:r};return a&&(s.potentialAction={"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:a},"query-input":"required name=search_term_string"}),E.jsx(dA,{children:E.jsx("script",{type:"application/ld+json",children:JSON.stringify(s)})})}function jU(){const{t,locale:r}=vM(),a=r==="en",s=t.platformHero;return E.jsxs(E.Fragment,{children:[E.jsx(UU,{title:a?"Open Agentic Commerce Infrastructure":"Offene Agentic Commerce Infrastruktur",description:a?"You set the limits, we provably cannot cross them â and what is paid for says so. Infrastructure for agentic commerce with formally verified decision logic: 62 public Lean 4 theorems.":"Du setzt die Grenzen, wir können sie beweisbar nicht verletzen â und was bezahlt ist, steht dran. Infrastruktur für agentischen Handel mit formal verifizierter Entscheidungslogik: 62 öffentliche Lean-4-Theoreme.",path:"/",includeOrganization:!0}),E.jsx(BU,{url:"https://nexbid.dev",name:"Nexbid"}),E.jsxs("section",{className:"relative overflow-hidden px-6 pt-32 pb-20 md:pt-44 md:pb-28",children:[E.jsxs("div",{className:"pointer-events-none absolute inset-0 overflow-hidden",children:[E.jsx("div",{className:"animate-hero-orb-1 absolute -top-40 left-1/2 h-[600px] w-[800px] -translate-x-1/2 rounded-full bg-nexbid-600/8 blur-[120px]"}),E.jsx("div",{className:"animate-hero-orb-2 absolute top-20 right-1/4 h-[300px] w-[400px] rounded-full bg-purple-600/6 blur-[100px]"}),E.jsx("div",{className:"animate-hero-orb-3 absolute -bottom-20 left-1/3 h-[250px] w-[350px] rounded-full bg-nexbid-500/5 blur-[100px]"})]}),E.jsxs("div",{className:"relative mx-auto max-w-4xl text-center",children:[E.jsxs("div",{className:"mb-6 inline-flex items-center gap-2 rounded-full border border-nexbid-500/20 bg-nexbid-500/5 px-4 py-1.5 text-sm text-nexbid-400",children:[E.jsx("span",{className:"h-1.5 w-1.5 animate-pulse rounded-full bg-nexbid-500"}),s.badge]}),E.jsxs("h1",{className:"text-4xl font-bold leading-tight tracking-tight md:text-6xl lg:text-7xl",children:[s.title,E.jsx("br",{}),E.jsx("span",{className:"bg-gradient-to-r from-nexbid-400 via-nexbid-500 to-purple-500 bg-clip-text text-transparent",children:s.titleHighlight})]}),E.jsx("p",{className:"mx-auto mt-6 max-w-2xl text-lg leading-relaxed text-text-muted md:text-xl",children:s.subtitle}),E.jsxs("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-3",children:[E.jsxs(Dt,{to:"/docs/verification",className:"inline-flex items-center gap-2 rounded-xl bg-nexbid-600 px-6 py-3 text-sm font-semibold text-white shadow-lg shadow-nexbid-600/25 transition hover:bg-nexbid-500 hover:shadow-nexbid-500/30",children:[s.ctaLeanProofs,E.jsx("span",{"aria-hidden":"true",children:"â"})]}),E.jsx("a",{href:"/technology#architecture",className:"inline-flex items-center gap-2 rounded-xl border border-border-subtle bg-surface-raised/50 px-6 py-3 text-sm font-semibold text-text-secondary transition hover:border-nexbid-500/40 hover:bg-surface-raised",children:s.ctaArchitecture}),E.jsx("a",{href:"/technology#eu-ai-act-readiness",className:"inline-flex items-center gap-2 rounded-xl border border-border-subtle bg-surface-raised/50 px-6 py-3 text-sm font-semibold text-text-secondary transition hover:border-nexbid-500/40 hover:bg-surface-raised",children:s.ctaEuReadiness})]})]})]}),E.jsx(kU,{t}),E.jsx(NU,{locale:r}),E.jsx(PU,{t})]})}function G_(){const t=eA(),r=Ro(t);w.useEffect(()=>{r||Im(t)},[t,r]);let a="Es ist ein Fehler aufgetreten",s="Diese Seite konnte nicht geladen werden. Bitte laden Sie sie neu â wir wurden automatisch benachrichtigt.";if(r){const l=t.status;l===404?(a="Seite nicht gefunden",s="Die angeforderte Seite existiert nicht oder wurde verschoben."):l===403?(a="Kein Zugriff",s="Sie haben keine Berechtigung für diese Seite, oder Ihr Account ist noch nicht freigeschaltet."):l>=500&&(a="Serverfehler",s="Beim Laden ist ein Serverfehler aufgetreten. Bitte versuchen Sie es später erneut.")}return E.jsxs("div",{role:"alert",style:{minHeight:"60vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"1rem",padding:"2rem",textAlign:"center",fontFamily:"system-ui, sans-serif",color:"var(--color-text-primary, #1a1a1a)"},children:[E.jsx("h1",{style:{fontSize:"1.5rem",fontWeight:600,margin:0},children:a}),E.jsx("p",{style:{maxWidth:"32rem",margin:0,color:"var(--color-text-muted, #555)"},children:s}),E.jsx("button",{type:"button",onClick:()=>window.location.reload(),style:{marginTop:"0.5rem",padding:"0.5rem 1.25rem",borderRadius:"0.5rem",border:"1px solid var(--color-border, #ccc)",background:"var(--color-surface-overlay, #f0f0f0)",color:"inherit",fontSize:"0.95rem",cursor:"pointer"},children:"Neu laden"})]})}function F(t){return async()=>{try{return await t()}catch(r){if(HU(r)&&FU())return window.location.reload(),new Promise(()=>{});throw r}}}function HU(t){return t instanceof Error?/Failed to fetch dynamically imported module|ChunkLoadError|Importing a module script failed|Unable to preload CSS/i.test(t.message??""):!1}
46function FU(){const t="nx-chunk-reload-attempted";try{const a=sessionStorage.getItem(t);return a&&Date.now()-Number(a)<3e4?!1:(sessionStorage.setItem(t,String(Date.now())),!0)}catch{return!0}}const GU=[{element:E.jsx(xU,{}),errorElement:E.jsx(G_,{}),children:[{index:!0,element:E.jsx(jU,{})},{path:"discover",loader:()=>ln("/marketing/discover")},{path:"publisher",loader:()=>ln("/marketing/publisher")},{path:"advertiser",loader:()=>ln("/marketing/advertiser")},{path:"blog",lazy:F(()=>H(()=>import("./BlogIndex-B-SDWGQe.js"),__vite__mapDeps([0,1])))},{path:"blog/:slug",lazy:F(()=>H(()=>import("./BlogPost-CSHmg5zZ.js"),__vite__mapDeps([2,3,1])))},{path:"glossary",loader:()=>ln("/marketing/glossary")},{path:"docs",lazy:F(()=>H(()=>import("./DocsPage-DwXLlaYa.js"),[]))},{path:"docs/mcp",lazy:F(()=>H(()=>import("./MCPDocsPage-Bsez2D2g.js"),[]))},{path:"docs/scoring",lazy:F(()=>H(()=>import("./ScoringDocsPage-9rLA9dhZ.js"),[]))},{path:"docs/verification",lazy:F(()=>H(()=>import("./VerificationDocsPage-28rUG3yw.js"),[]))},{path:"enduser",loader:()=>ln("/marketing/enduser")},{path:"agents",lazy:F(()=>H(()=>import("./AgentsPage-CdhLYr28.js"),__vite__mapDeps([4,5])))},{path:"agents/info",lazy:F(()=>H(()=>import("./AgentInfoPage-BmVS9PET.js"),[]))},{path:"mcp",loader:()=>ln("/docs/mcp")},{path:"integration",lazy:F(()=>H(()=>import("./IntegrationPage-CTVxFUyi.js"),[]))},{path:"integration/publisher",loader:()=>ln("/marketing/integration/publisher")},{path:"integration/advertiser",loader:()=>ln("/marketing/integration/advertiser")},{path:"technology",lazy:F(()=>H(()=>import("./TechnologyPage-6T0Ggcor.js"),__vite__mapDeps([6,7,8])))},{path:"whitepaper",lazy:F(()=>H(()=>import("./WhitepaperPage-C-3rUJmC.js"),[]))},{path:"protocol",lazy:F(()=>H(()=>import("./ProtocolPage-D21SNiKN.js"),[]))},{path:"compare",loader:()=>ln("/marketing/compare")},{path:"agentic-commerce",loader:()=>ln("/marketing/agentic-commerce")},{path:"how-to-monetize-content-for-ai-agents",loader:()=>ln("/marketing/how-to-monetize-content-for-ai-agents")},{path:"open-vs-open-mit-vs-apache",lazy:F(()=>H(()=>import("./OpenVsOpenPage-BUfpD6jB.js"),__vite__mapDeps([9,7,8])))},{path:"pricing",loader:()=>ln("/marketing/pricing")},{path:"mcp-server-for-publishers",loader:()=>ln("/marketing/mcp-server-for-publishers")},{path:"press",lazy:F(()=>H(()=>import("./PressPage-B0nziGpw.js"),__vite__mapDeps([10,11,12])))},{path:"support",lazy:F(()=>H(()=>import("./SupportPage-CWkvq4XP.js"),[]))},{path:"products",lazy:F(()=>H(()=>import("./ProductsPage-_Q07azRZ.js"),__vite__mapDeps([13,14])))},{path:"produkte",lazy:F(()=>H(()=>import("./ProductsPage-_Q07azRZ.js"),__vite__mapDeps([13,14])))},{path:"p/:id/:slug",lazy:F(()=>H(()=>import("./ProductDetailPage-dIb9ZZg7.js"),__vite__mapDeps([15,3])))},{path:"recipes",lazy:F(()=>H(()=>import("./RecipesPage-C2Szp7wa.js"),__vite__mapDeps([16,14])))},{path:"rezepte",lazy:F(()=>H(()=>import("./RecipesPage-C2Szp7wa.js"),__vite__mapDeps([16,14])))},{path:"recettes",lazy:F(()=>H(()=>import("./RecipesPage-C2Szp7wa.js"),__vite__mapDeps([16,14])))},{path:"ricette",lazy:F(()=>H(()=>import("./RecipesPage-C2Szp7wa.js"),__vite__mapDeps([16,14])))},{path:"recipes/:id/:slug",lazy:F(()=>H(()=>import("./RecipeDetailPage-aSE_SoVj.js"),__vite__mapDeps([17,3])))},{path:"rezepte/:id/:slug",lazy:F(()=>H(()=>import("./RecipeDetailPage-aSE_SoVj.js"),__vite__mapDeps([17,3])))},{path:"recettes/:id/:slug",lazy:F(()=>H(()=>import("./RecipeDetailPage-aSE_SoVj.js"),__vite__mapDeps([17,3])))},{path:"ricette/:id/:slug",lazy:F(()=>H(()=>import("./RecipeDetailPage-aSE_SoVj.js"),__vite__mapDeps([17,3])))},{path:"editorials",lazy:F(()=>H(()=>import("./EditorialsIndexPage-BxLf5MTp.js"),[]))},{path:"magazin",lazy:F(()=>H(()=>import("./EditorialsIndexPage-BxLf5MTp.js"),[]))},{path:"magazine",lazy:F(()=>H(()=>import("./EditorialsIndexPage-BxLf5MTp.js"),[]))},{path:"rivista",lazy:F(()=>H(()=>import("./EditorialsIndexPage-BxLf5MTp.js"),[]))},{path:"editorials/:id/:slug",lazy:F(()=>H(()=>
46import("./EditorialDetailPage-DDYDW0-o.js"),__vite__mapDeps([18,3])))},{path:"magazin/:id/:slug",lazy:F(()=>H(()=>import("./EditorialDetailPage-DDYDW0-o.js"),__vite__mapDeps([18,3])))},{path:"magazine/:id/:slug",lazy:F(()=>H(()=>import("./EditorialDetailPage-DDYDW0-o.js"),__vite__mapDeps([18,3])))},{path:"rivista/:id/:slug",lazy:F(()=>H(()=>import("./EditorialDetailPage-DDYDW0-o.js"),__vite__mapDeps([18,3])))},{path:"bevorzugte-quelle",lazy:F(()=>H(()=>import("./PreferredSourcePage-BGTSO4Iz.js"),[]))},{path:"preferred-source",lazy:F(()=>H(()=>import("./PreferredSourcePage-BGTSO4Iz.js"),[]))},{path:"source-preferee",lazy:F(()=>H(()=>import("./PreferredSourcePage-BGTSO4Iz.js"),[]))},{path:"fonte-preferita",lazy:F(()=>H(()=>import("./PreferredSourcePage-BGTSO4Iz.js"),[]))},{path:"services",lazy:F(()=>H(()=>import("./ServicesPage-BeZgKrOy.js"),__vite__mapDeps([19,14])))},{path:"services/:id/:slug",lazy:F(()=>H(()=>import("./ServiceDetailPage-CId5QrfW.js"),__vite__mapDeps([20,3])))},{path:"reviews/:id/:slug",lazy:F(()=>H(()=>import("./ReviewDetailPage-Bcem-XQw.js"),[]))},{path:"dienstleistungen",lazy:F(()=>H(()=>import("./ServicesPage-BeZgKrOy.js"),__vite__mapDeps([19,14])))},{path:"brands",lazy:F(()=>H(()=>import("./BrandsIndexPage-C13bC_Qa.js"),__vite__mapDeps([21,5])))},{path:"marken",lazy:F(()=>H(()=>import("./BrandsIndexPage-C13bC_Qa.js"),__vite__mapDeps([21,5])))},{path:"brands/:slug",lazy:F(()=>H(()=>import("./BrandPage-CExoLuCs.js"),__vite__mapDeps([22,3])))},{path:"marken/:slug",lazy:F(()=>H(()=>import("./BrandPage-CExoLuCs.js"),__vite__mapDeps([22,3])))},{path:"go/:audience",loader:({params:t})=>ln(`/marketing/go/${t.audience}`)},{path:"privacy",lazy:F(()=>H(()=>import("./PrivacyPage-CRODYqJf.js"),[]))},{path:"extension-privacy",lazy:F(()=>H(()=>import("./ExtensionPrivacyPage-UDedHaX-.js"),[]))},{path:"imprint",lazy:F(()=>H(()=>import("./ImprintPage-CgHuMn0V.js"),[]))},{path:"terms",lazy:F(()=>H(()=>import("./TermsPage-D6G-GNZw.js"),[]))},{path:"account",lazy:F(()=>H(()=>import("./AccountPage-CbkbZiHG.js"),[]))},{path:"sign-in/*",lazy:F(()=>H(()=>import("./SignInPage-B_G13Zlc.js"),[]))},{path:"sign-up/*",lazy:F(()=>H(()=>import("./SignUpPage-Bpwufp9o.js"),[]))},{path:"onboarding",lazy:F(()=>H(()=>import("./OnboardingPage-DOIcoa7d.js"),[]))},{path:"wallet/authorize",lazy:F(()=>H(()=>import("./AuthorizePage-DEmHoydU.js"),[]))},{path:"accept-invite",lazy:F(()=>H(()=>import("./AcceptInvitePage-By4Qp2_S.js"),[]))},{path:"verified-delivery",lazy:F(()=>H(()=>import("./VerifiedDeliveryPage-BnLMECU-.js"),[]))},{path:"verified-agents",lazy:F(()=>H(()=>import("./VerifiedAgentsPage-DyrTZ1S_.js"),[]))},{path:"agent-trust-layer",lazy:F(()=>H(()=>import("./AgentTrustLayerPage-DXI4YOD3.js"),__vite__mapDeps([23,7,8])))},{path:"universal-purchase-mandate",lazy:F(()=>H(()=>import("./UniversalPurchaseMandatePage-NIUMStq1.js"),__vite__mapDeps([24,7,8])))},{path:"match-moment",lazy:F(()=>H(()=>import("./MatchMomentPage-CGPaHHDD.js"),__vite__mapDeps([25,26])))},{path:"install",lazy:F(()=>H(()=>import("./InstallPage-DcK0L7dS.js"),[]))},{path:"extension-demo",lazy:F(()=>H(()=>import("./ExtensionDemoPage-Dc5ojKg4.js"),[]))},{path:"marketing",lazy:F(()=>H(()=>import("./MarketingHomePage-B_k0Qq3x.js"),__vite__mapDeps([27,11,12,28])))},{path:"marketing/discover",lazy:F(()=>H(()=>import("./DiscoverPage-4ZezJgCC.js"),__vite__mapDeps([29,12])))},{path:"marketing/publisher",lazy:F(()=>H(()=>import("./PublisherPage-Cyl49qmH.js"),__vite__mapDeps([30,11,12,31,5,7,8])))},{path:"marketing/advertiser",lazy:F(()=>H(()=>import("./AdvertiserPage-eKOX1wvi.js"),__vite__mapDeps([32,11,12,31,5,7,8])))},{path:"marketing/compare",lazy:F(()=>H(()=>import("./ComparePage-BLz_iXoV.js"),__vite__mapDeps([33,7,8])))},{path:"marketing/agentic-commerce",lazy:F(()=>H(()=>import("./AgenticCommercePage-yH9kiT0W.js"),__vite__mapDeps([34,7,8])))},{path:"marketing/pricing",lazy:F(()=>H(()=>import("./PricingPage-ClmHcFVC.js"),__vite__mapDeps([35,7,8])))},{path:"marketing/ki-sichtbarkeit",lazy:F(()=>H(()=>import("./KiSichtbarkeitPage-DR5m8YWp.js"),__vite__mapDeps([36,7,37,38,12])))},{path:"marketing/mcp-server-for-publishers",lazy:F(()=>H(()=>import("./McpServerForPublishersPage-D6ZGCMNz.js"),__vite__mapDeps([39,7,8])))},{path:"marketing/how-to-monetize-content-for-ai-agents",lazy:F(()=>H(()=>import("./MonetizeContentPage-C7AkuIZF.js"),__vite__mapDeps([40,7,8])))},{path:"marketing/for-you",lazy:F(()=>H(()=>import("./ForYouPage-BXemEPNY.js"),__vite__mapDeps([41,28,11,12])))},{path:"marketing/fuer-dich",loader:()=>ln("/marketing/for-you")},{path:"marketing/enduser",lazy:F(()=>H(()=>import("./EnduserPage-DIu3Unrt.js"),__vite__mapDeps([42,11,12,43])))},{path:"marketing/glossary",lazy:F(()=>H(()=>import("./GlossaryPage-D2tpdi_y.js"),[]))},{path:"marketing/integration/publisher",lazy:F(()=>H(()=>import("./PublisherIntegrationPage-DFiO2lce.js"),[]))},{path:"marketing/integration/advertiser",lazy:F(()=>H(()=>import("./AdvertiserIntegrationPage-Bd-1es9v.js"),[]))},{path:"marketing/go/:audience",lazy:F(()=>H(()=>import("./GoLandingPage-BQSZpTbF.js"),[]))},{path:"*",lazy:F(()=>H(()=>import("./NotFoundPage-CycVRV0F.js"),[]))},{path:"portal",lazy:F(()=>H(()=>import("./PortalLayout-Bo4X7_fQ.js"),[])),children:[{index:!0,lazy:F(()=>H(()=>import("./PortalDashboardPage-Cv7WObal.js"),[]))},{path:"signup",lazy:F(()=>H(()=>import("./OnboardingWizardPage-CDSvxVBK.js"),__vite__mapDeps([44,37,38])))},{path:"brand-agent-wizard",lazy:F(()=>H(()=>import("./BrandAgentWizardPage-BUTyA1Ke.js"),__vite__mapDeps([45,37,38])))}]},{path:"dashboard",lazy:F(()=>H(()=>import("./DashboardLayout-lxFe6UcB.js"),__vite__mapDeps([46,43,47,48]))),errorElement:E.jsx(G_,{}),children:[{index:!0,lazy:F(()=>H(()=>import("./OverviewPage-b3Qqfwn1.js"),__vite__mapDeps([49,37,38,43,50])))},{path:"wallet",lazy:F(()=>H(()=>import("./WalletPage-C3XZRoTX.js"),__vite__mapDeps([51,43])))},{path:"orders",lazy:F(()=>H(()=>import("./OrdersPage-iH0atYQm.js"),__vite__mapDeps([52,43])))},{path:"budget",lazy:F(()=>H(()=>import("./BudgetPage-51e-rk7c.js"),__vite__mapDeps([53,43])))},{path:"saved-items",lazy:F(()=>H(()=>import("./SavedItemsPage-BHPqWRkE.js"),__vite__mapDeps([54,43])))},{path:"payment-methods",lazy:F(()=>H(()=>import("./PaymentMethodsPage-CvaasOWS.js"),__vite__mapDeps([55,43])))},{path:"wishes",lazy:F(()=>H(()=>import("./WishesPage-BArFyF8k.js"),__vite__mapDeps([56,43])))},{path:"feeds",lazy:F(()=>H(()=>import("./FeedsPage-CZuxeCMK.js"),__vite__mapDeps([57,43,50,58])))},{path:"products",lazy:F(()=>H(()=>import("./DashboardProductsPage-Cy78KGa-.js"),__vite__mapDeps([59,50,43,58])))},{path:"settings",lazy:F(()=>H(()=>import("./SettingsPage-D6MIY-EN.js"),__vite__mapDeps([60,43,50])))},{path:"settings/plan",lazy:F(()=>H(()=>import("./PlanPage-C4Pj2est.js"),__vite__mapDeps([61,48,43,37,38])))},{path:"settings/team",lazy:F(()=>H(()=>import("./TeamPage-B8hFfna5.js"),__vite__mapDeps([62,43])))},{path:"pricing",lazy:F(()=>H(()=>import("./PricingPage-Cc7fZ98y.js"),__vite__mapDeps([63,48,43])))},{path:"publisher/brand-space",lazy:F(()=>H(()=>
46import("./BrandSpacePage-DdyuVGQs.js"),__vite__mapDeps([64,50,43])))},{path:"publisher/content",lazy:F(()=>H(()=>import("./ContentPage-B-MPH0Qp.js"),__vite__mapDeps([65,43])))},{path:"publisher/proposals",lazy:F(()=>H(()=>import("./ProposalsPage-6CFOst4p.js"),__vite__mapDeps([66,43,50])))},{path:"publisher/domains",lazy:F(()=>H(()=>import("./DomainsPage-C8T7Nygi.js"),__vite__mapDeps([67,43])))},{path:"publisher/placements",lazy:F(()=>H(()=>import("./PlacementsPage-CnOVwK_v.js"),__vite__mapDeps([68,43])))},{path:"publisher/earnings",lazy:F(()=>H(()=>import("./EarningsPage-BgdZFrb1.js"),__vite__mapDeps([69,43])))},{path:"publisher/media-buys",lazy:F(()=>H(()=>import("./MediaBuysPage-B6sPGAMn.js"),__vite__mapDeps([70,50,43])))},{path:"inventory",lazy:F(()=>H(()=>import("./InventoryPage-SGRpTpm-.js"),__vite__mapDeps([71,43,50])))},{path:"inventory/:id",lazy:F(()=>H(()=>import("./InventoryDetailPage--BULK-Z7.js"),__vite__mapDeps([72,43,50,73])))},{path:"publisher/tracking",lazy:F(()=>H(()=>import("./TrackingPage-DqkC0_fg.js"),__vite__mapDeps([74,43])))},{path:"publisher/gam-test",lazy:F(()=>H(()=>import("./GamTestPage-Jkjwm4cI.js"),__vite__mapDeps([75,43])))},{path:"publisher/signals",lazy:F(()=>H(()=>import("./SignalDocsPage-CK_oEWsp.js"),__vite__mapDeps([76,43])))},{path:"publisher/analytics",lazy:F(()=>H(()=>import("./AnalyticsPage-BcuNNebx.js"),__vite__mapDeps([77,43])))},{path:"publisher/sdk-code",lazy:F(()=>H(()=>import("./SdkCodeGeneratorPage-E8iycXoi.js"),__vite__mapDeps([78,43])))},{path:"publisher/setup",lazy:F(()=>H(()=>import("./PublisherSetupPage-CJvidg-b.js"),__vite__mapDeps([79,43])))},{path:"publisher/readiness",lazy:F(()=>H(()=>import("./ReadinessPage-DdOcpvAI.js"),__vite__mapDeps([80,43])))},{path:"onboarding/brand-agent",lazy:F(()=>H(()=>import("./BrandAgentWizard-DOzRaWv8.js"),[]))},{path:"onboarding/edge-proxy",lazy:F(()=>H(()=>import("./EdgeProxySetupPage-Cq_HNfFP.js"),__vite__mapDeps([81,43])))},{path:"advertiser/brand-space",lazy:F(()=>H(()=>import("./BrandSpacePage-Cd2uwafx.js"),__vite__mapDeps([82,50,43])))},{path:"advertiser/campaigns",lazy:F(()=>H(()=>import("./CampaignsPage-Dpljppxf.js"),__vite__mapDeps([83,43,50])))},{path:"advertiser/campaigns/:id",lazy:F(()=>H(()=>import("./CampaignDetailPage-CHcIqJXS.js"),__vite__mapDeps([84,43,73])))},{path:"advertiser/content",lazy:F(()=>H(()=>import("./ContentPage-COjK3gUh.js"),__vite__mapDeps([85,43])))},{path:"advertiser/analytics",lazy:F(()=>H(()=>import("./AnalyticsPage-xrhhNF-G.js"),__vite__mapDeps([86,50,43])))},{path:"advertiser/geo-analytics",lazy:F(()=>H(()=>import("./GeoAnalyticsPage-B-Vkp7ue.js"),__vite__mapDeps([87,50,43])))},{path:"advertiser/lost-revenue",lazy:F(()=>H(()=>import("./LostRevenuePage-C9zEsGbI.js"),__vite__mapDeps([88,43])))},{path:"advertiser/attribution",lazy:F(()=>H(()=>import("./AttributionPage-DjtU-cU9.js"),__vite__mapDeps([89,50,43])))},{path:"advertiser/quality",lazy:F(()=>H(()=>import("./QualityPage-Ct5KJ306.js"),[]))},{path:"advertiser/import",lazy:F(()=>H(()=>import("./ImportPage-C8fg94ks.js"),__vite__mapDeps([90,43,50])))},{path:"advertiser/spend",lazy:F(()=>H(()=>import("./SpendPage-BVEKqODD.js"),__vite__mapDeps([91,50,43])))},{path:"credits",lazy:F(()=>H(()=>import("./CreditsPage-BBaytku9.js"),__vite__mapDeps([92,43])))},{path:"network/accounts",lazy:F(()=>H(()=>import("./AccountsPage-B5SdAlAU.js"),__vite__mapDeps([93,43])))},{path:"network/overview",lazy:F(()=>H(()=>import("./NetworkOverviewPage-03hXMBVg.js"),__vite__mapDeps([94,50,43,38])))},{path:"network/budgets",lazy:F(()=>H(()=>import("./BudgetAllocationPage-Coy3gpDf.js"),__vite__mapDeps([95,43])))},{path:"network/branding",lazy:F(()=>H(()=>import("./BrandingPage-C95tDr7H.js"),__vite__mapDeps([96,43])))},{path:"network/agent-traffic",lazy:F(()=>H(()=>import("./NetworkAgentTrafficPage-CV-tosll.js"),__vite__mapDeps([97,43])))},{path:"network/onboarding-wizard",lazy:F(()=>H(()=>import("./AgencyOnboardingWizard-BeR0roYG.js"),__vite__mapDeps([98,43])))},{path:"admin",lazy:F(()=>H(()=>import("./AdminOverviewPage-DLZaRNkz.js"),__vite__mapDeps([99,50,43,47])))},{path:"admin/accounts",lazy:F(()=>H(()=>import("./AdminAccountsPage-C3tH7ztQ.js"),__vite__mapDeps([100,47,43])))},{path:"admin/content",lazy:F(()=>H(()=>import("./AdminContentPage-CPqK1jzd.js"),__vite__mapDeps([101,43,50,47])))},{path:"admin/credits",lazy:F(()=>H(()=>
46import("./AdminCreditsPage-CLy9Oa3e.js"),__vite__mapDeps([102,43,50,47])))},{path:"admin/agent-traffic",lazy:F(()=>H(()=>import("./AgentTrafficPage-ByNmP_CA.js"),__vite__mapDeps([103,43])))},{path:"admin/bot-journey",lazy:F(()=>H(()=>import("./BotJourneyPage-CkC_2Px_.js"),__vite__mapDeps([104,43])))},{path:"admin/auctions",lazy:F(()=>H(()=>import("./AuctionsPage-CT59SVhc.js"),__vite__mapDeps([105,43])))},{path:"admin/discovery-health",lazy:F(()=>H(()=>import("./DiscoveryHealthPage-Dw-J4kbW.js"),__vite__mapDeps([106,43])))},{path:"admin/shop-wishes",lazy:F(()=>H(()=>import("./ShopWishesAggregatePage-XfM3H6UR.js"),__vite__mapDeps([107,43])))},{path:"admin/multi-rail-report",lazy:F(()=>H(()=>import("./MultiRailReportPage-BPliBdWd.js"),__vite__mapDeps([108,50,43])))},{path:"admin/citations",lazy:F(()=>H(()=>import("./CitationsPage-BR2DsOun.js").then(t=>t.b),__vite__mapDeps([109,43])))},{path:"publisher/page-traffic",lazy:F(()=>H(()=>import("./PageTrafficPage-DWpl0T-M.js"),__vite__mapDeps([110,43,111])))},{path:"publisher/page-traffic/:contentId",lazy:F(()=>H(()=>import("./PageDrilldownPage-CYJWcgim.js"),__vite__mapDeps([112,43])))},{path:"publisher/agent-traffic",lazy:F(()=>H(()=>import("./AgentTrafficPage-dlUA4PwA.js"),__vite__mapDeps([113,43])))},{path:"advertiser/page-traffic",lazy:F(()=>H(()=>import("./PageTrafficPage-DIQu7y1e.js"),__vite__mapDeps([114,43,111])))},{path:"advertiser/agent-traffic",lazy:F(()=>H(()=>import("./AgentTrafficPage-BZKa8690.js"),__vite__mapDeps([115,43])))},{path:"analytics/multi-rail-report",lazy:F(()=>H(()=>import("./MultiRailAnalyticsPage-Ddo2DDlb.js"),__vite__mapDeps([116,50,43,108,37,38])))},{path:"match-moment",lazy:F(()=>H(()=>import("./MatchMomentPage-DjAVpw-k.js"),__vite__mapDeps([117,43,26])))},{path:"citations",lazy:F(()=>H(()=>import("./CitationsPage-CNCV6l00.js"),__vite__mapDeps([118,43,109])))},{path:"citations/start",lazy:F(()=>H(()=>import("./CitationsStartPage-WJgymihr.js"),__vite__mapDeps([119,37,38,12])))}]}]}],VU=fD(GU);oz();xO({protect:[{path:"/api/wallet/authorize",method:"POST"},{path:"/api/waitlist",method:"POST"},{path:"/api/brand-votes",method:"POST"},{path:"/api/ki-sichtbarkeit/request",method:"POST"},{path:"/api/ki-sichtbarkeit/checkout",method:"POST"},{path:"/api/admin/*",method:"POST"},{path:"/api/admin/*",method:"PATCH"},{path:"/api/admin/*",method:"DELETE"}]});const qU="pk_live_Y2xlcmsubmV4YmlkLmRldiQ",KU=document.getElementById("root"),YU=dz();Ex(document);vx.createRoot(KU).render(E.jsx(w.StrictMode,{children:E.jsx(lz,{children:E.jsx(cz,{children:E.jsxs(uA,{children:[E.jsx(TE,{publishableKey:qU,afterSignInUrl:"/dashboard",afterSignUpUrl:"/onboarding",afterSignOutUrl:"/",...YU,children:E.jsx(TD,{router:VU})}),E.jsx(uO,{}),E.jsx(SO,{})]})})})}));export{kz as C,Rz as F,dA as H,bU as I,Dt as L,t5 as N,BM as O,Gz as P,QU as R,UU as S,R0 as U,Gm as Z,e5 as a,Sz as b,C0 as c,x0 as d,$U as e,WU as f,XU as g,ZU as h,_m as i,E as j,um as k,n5 as l,R_ as m,MU as n,NU as o,i5 as p,CT as q,w as r,Zz as s,r5 as t,vM as u,mD as v,Qn as w,Dc as x,L as y};
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.