PageSourceSearch

https://dscope.ai/assets/main-pUPzKA4V.js

js dscope.ai collected 2026-10-05 12:02:32 UTC 904,086 bytes, 295 lines download raw bytes

vendor: 4,672 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/sectorAutomationsExtended-cd-Jyjif.js","assets/vendor-motion-vDwCDlTY.js","assets/vendor-ui-DAn5Simg.js","assets/vendor-react-BkgitlIF.js","assets/Planets-CcgipA7r.js","assets/BrandSpaceObjects-Dns-nvVS.js","assets/RealisticAnimals3D-V-OjBTjR.js","assets/Float-Bv0k4aAy.js","assets/events-760a1017.esm-CdNFdp88.js","assets/with-selector-CmRGCAZc.js","assets/SpaceTech2D-DPhDF6dx.js","assets/IndustryTech2D-DAHx293i.js","assets/LionSculpture-Crfgtrmr.js","assets/ModelViewer-BDq6P8MY.js","assets/FlybyObject-LYOcQ6cO.js","assets/OceanBackground-CYq2_mB5.js","assets/Backgrounds-DyA_eAQ5.js","assets/ScrollParticles-DfuDUAK8.js","assets/SectorDashboardModal-0W7fxXPW.js","assets/CategoricalChart-BlkExZ2P.js","assets/AreaChart-B972ZpzN.js","assets/CartesianChart-ChFKE_1I.js","assets/BarChart-gCDxV_cG.js","assets/Bar-DBy9FhnF.js","assets/LineChart-CPn17aYD.js","assets/ComposedChart-CRVVlP19.js","assets/AutomationDashboard-E1OFBxIa.js","assets/PieChart-C2r2qBDC.js","assets/Legend-B6q6_SJH.js","assets/SpaceCakeChart-Aick91vj.js","assets/TamCharts-D8ag7nfx.js","assets/CaseStudies-BB97XsXS.js","assets/RealClientCases-DZ6ljSFV.js","assets/HomeV2-DFp2pUzV.js","assets/StarFieldCanvas-DiOvQYe-.js","assets/HomeConcept-DbadtkMM.js","assets/JewelryDemo-CplcYz2e.js","assets/jewelryDemoCatalog-DTvRscjj.js","assets/MayuraStorefront-CtnshUv0.js","assets/MayuraPlayerPreview-BeIF0tRX.js","assets/VoiceWidget-DBIemxnF.js","assets/Pricing-k51JDEJ4.js","assets/InteriorSections-DRqVUVrM.js","assets/CosmicLoader-DE2cFYnT.js"])))=>i.map(i=>d[i]);
2import{j as r,m as M,u as $t,a as Q,A as Xe,b as qt,c as Fe,d as t1,e as xl,f as n1}from"./vendor-motion-vDwCDlTY.js";import{a as i1,r as _,A as a1,X as kl,C as o1,R as s1,S as uh,K as vl,M as dh,b as fh,c as mh,d as Vu,e as l1,f as Lg,g as qe,h as r1,D as c1,i as Pg,F as u1,T as Hg,j as Ug,k as bl,l as jg,V as d1,m as Gg,B as li,n as zu,o as wl,p as Uo,q as ph,s as f1,P as su,H as m1,t as p1,u as h1,G as g1,v as Vg,w as zg,O as y1,x as Bg,y as Og,z as x1,W as qg,E as v1,I as b1,L as w1,J as Fg,N as E1,Q as T1,U as S1,Y as A1,Z as Lo,_ as _1,$ as N1,a0 as C1,a1 as I1,a2 as R1,a3 as hh,a4 as $g,a5 as M1,a6 as D1,a7 as k1,a8 as L1}from"./vendor-ui-DAn5Simg.js";import{r as P1}from"./vendor-react-BkgitlIF.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const m of c.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&o(m)}).observe(document,{childList:!0,subtree:!0});function i(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(l){if(l.ep)return;l.ep=!0;const c=i(l);fetch(l.href,c)}})();var lu={exports:{}},Io={},ru={exports:{}},cu={};/**
3 * @license React
4 * scheduler.production.js
5 *
6 * Copyright (c) Meta Platforms, Inc. and affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var gh;function H1(){return gh||(gh=1,(function(e){function t(z,V){var K=z.length;z.push(V);e:for(;0<K;){var ae=K-1>>>1,le=z[ae];if(0<l(le,V))z[ae]=V,z[K]=le,K=ae;else break e}}function i(z){return z.length===0?null:z[0]}function o(z){if(z.length===0)return null;var V=z[0],K=z.pop();if(K!==V){z[0]=K;e:for(var ae=0,le=z.length,je=le>>>1;ae<je;){var Ee=2*(ae+1)-1,be=z[Ee],ze=Ee+1,kt=z[ze];if(0>l(be,K))ze<le&&0>l(kt,be)?(z[ae]=kt,z[ze]=K,ae=ze):(z[ae]=be,z[Ee]=K,ae=Ee);else if(ze<le&&0>l(kt,K))z[ae]=kt,z[ze]=K,ae=ze;else break e}}return V}function l(z,V){var K=z.sortIndex-V.sortIndex;return K!==0?K:z.id-V.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var m=Date,p=m.now();e.unstable_now=function(){return m.now()-p}}var y=[],g=[],v=1,b=null,w=3,T=!1,A=!1,I=!1,C=!1,N=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function q(z){for(var V=i(g);V!==null;){if(V.callback===null)o(g);else if(V.startTime<=z)o(g),V.sortIndex=V.expirationTime,t(y,V);else break;V=i(g)}}function Y(z){if(I=!1,q(z),!A)if(i(y)!==null)A=!0,P||(P=!0,Z());else{var V=i(g);V!==null&&se(Y,V.startTime-z)}}var P=!1,O=-1,F=5,$=-1;function ee(){return C?!0:!(e.unstable_now()-$<F)}
vendor: 7,534 bytes, lines 10-20
10function ce(){if(C=!1,P){var z=e.unstable_now();$=z;var V=!0;try{e:{A=!1,I&&(I=!1,R(O),O=-1),T=!0;var K=w;try{t:{for(q(z),b=i(y);b!==null&&!(b.expirationTime>z&&ee());){var ae=b.callback;if(typeof ae=="function"){b.callback=null,w=b.priorityLevel;var le=ae(b.expirationTime<=z);if(z=e.unstable_now(),typeof le=="function"){b.callback=le,q(z),V=!0;break t}b===i(y)&&o(y),q(z)}else o(y);b=i(y)}if(b!==null)V=!0;else{var je=i(g);je!==null&&se(Y,je.startTime-z),V=!1}}break e}finally{b=null,w=K,T=!1}V=void 0}}finally{V?Z():P=!1}}}var Z;if(typeof L=="function")Z=function(){L(ce)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,ue=de.port2;de.port1.onmessage=ce,Z=function(){ue.postMessage(null)}}else Z=function(){N(ce,0)};function se(z,V){O=N(function(){z(e.unstable_now())},V)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(z){switch(w){case 1:case 2:case 3:var V=3;break;default:V=w}var K=w;w=V;try{return z()}finally{w=K}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(z,V){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var K=w;w=z;try{return V()}finally{w=K}},e.unstable_scheduleCallback=function(z,V,K){var ae=e.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?ae+K:ae):K=ae,z){case 1:var le=-1;break;case 2:le=250;break;case 5:le=1073741823;break;case 4:le=1e4;break;default:le=5e3}return le=K+le,z={id:v++,callback:V,priorityLevel:z,startTime:K,expirationTime:le,sortIndex:-1},K>ae?(z.sortIndex=K,t(g,z),i(y)===null&&z===i(g)&&(I?(R(O),O=-1):I=!0,se(Y,K-ae))):(z.sortIndex=le,t(y,z),A||T||(A=!0,P||(P=!0,Z()))),z},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(z){var V=w;return function(){var K=w;w=V;try{return z.apply(this,arguments)}finally{w=K}}}})(cu)),cu}var yh;function U1(){return yh||(yh=1,ru.exports=H1()),ru.exports}/**
11 * @license React
12 * react-dom-client.production.js
13 *
14 * Copyright (c) Meta Platforms, Inc. and affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var xh;function j1(){if(xh)return Io;xh=1;var e=U1(),t=i1(),i=P1();function o(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)a+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function c(n){var a=n,s=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(s=a.return),n=a.return;while(n)}return a.tag===3?s:null}function m(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function p(n){if(n.tag===31){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function y(n){if(c(n)!==n)throw Error(o(188))}function g(n){var a=n.alternate;if(!a){if(a=c(n),a===null)throw Error(o(188));return a!==n?null:n}for(var s=n,u=a;;){var h=s.return;if(h===null)break;var x=h.alternate;if(x===null){if(u=h.return,u!==null){s=u;continue}break}if(h.child===x.child){for(x=h.child;x;){if(x===s)return y(h),n;if(x===u)return y(h),a;x=x.sibling}throw Error(o(188))}if(s.return!==u.return)s=h,u=x;else{for(var E=!1,S=h.child;S;){if(S===s){E=!0,s=h,u=x;break}if(S===u){E=!0,u=h,s=x;break}S=S.sibling}if(!E){for(S=x.child;S;){if(S===s){E=!0,s=x,u=h;break}if(S===u){E=!0,u=x,s=h;break}S=S.sibling}if(!E)throw Error(o(189))}}if(s.alternate!==u)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?n:a}function v(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=v(n),a!==null)return a;n=n.sibling}return null}var b=Object.assign,w=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),L=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),$=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),ce=Symbol.iterator;function Z(n){return n===null||typeof n!="object"?null:(n=ce&&n[ce]||n["@@iterator"],typeof n=="function"?n:null)}var de=Symbol.for("react.client.reference");function ue(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===de?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case I:return"Fragment";case N:return"Profiler";case C:return"StrictMode";case Y:return"Suspense";case P:return"SuspenseList";case $:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case A:return"Portal";case L:return n.displayName||"Context";case R:return(n._context.displayName||"Context")+".Consumer";case q:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case O:return a=n.displayName||null,a!==null?a:ue(n.type)||"Memo";case F:a=n._payload,n=n._init;try{return ue(n(a))}catch{}}return null}var se=Array.isArray,z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K={pending:!1,data:null,method:null,action:null},ae=[],le=-1;function je(n){return{current:n}}function Ee(n){0>le||(n.current=ae[le],ae[le]=null,le--)}function be(n,a){le++,ae[le]=n.current,n.current=a}var ze=je(null),kt=je(null),Jt=je(null),fi=je(null);function mi(n,a){switch(be(Jt,a),be(kt,n),be(ze,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?kp(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=kp(a),n=Lp(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Ee(ze),be(ze,n)}function pi(){Ee(ze),Ee(kt),Ee(Jt)}function Hi(n){n.memoizedState!==null&&be(fi,n);var a=ze.current,s=Lp(a,n.type);a!==s&&(be(kt,n),be(ze,s))}function He(n){kt.current===n&&(Ee(ze),Ee(kt)),fi.current===n&&(Ee(fi),Ao._currentValue=K)}var Kt,Et;function et(n){if(Kt===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);Kt=a&&a[1]||"",Et=-1<s.stack.indexOf(`
19    at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
20`+Kt+n+Et}var ut=!1;function Pa(n,a){if(!n||ut)return"";ut=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(a){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(B){var G=B}Reflect.construct(n,[],W)}else{try{W.call()}catch(B){G=B}n.call(W.prototype)}}else{try{throw Error()}catch(B){G=B}(W=n())&&typeof W.catch=="function"&&W.catch(function(){})}}
vendor: 12,136 bytes, lines 20-25
20catch(B){if(B&&G&&typeof B.stack=="string")return[B.stack,G.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var x=u.DetermineComponentFrameRoot(),E=x[0],S=x[1];if(E&&S){var D=E.split(`
21`),j=S.split(`
22`);for(h=u=0;u<D.length&&!D[u].includes("DetermineComponentFrameRoot");)u++;for(;h<j.length&&!j[h].includes("DetermineComponentFrameRoot");)h++;if(u===D.length||h===j.length)for(u=D.length-1,h=j.length-1;1<=u&&0<=h&&D[u]!==j[h];)h--;for(;1<=u&&0<=h;u--,h--)if(D[u]!==j[h]){if(u!==1||h!==1)do if(u--,h--,0>h||D[u]!==j[h]){var J=`
23`+D[u].replace(" at new "," at ");return n.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",n.displayName)),J}while(1<=u&&0<=h);break}}}finally{ut=!1,Error.prepareStackTrace=s}return(s=n?n.displayName||n.name:"")?et(s):""}function ql(n,a){switch(n.tag){case 26:case 27:case 5:return et(n.type);case 16:return et("Lazy");case 13:return n.child!==a&&a!==null?et("Suspense Fallback"):et("Suspense");case 19:return et("SuspenseList");case 0:case 15:return Pa(n.type,!1);case 11:return Pa(n.type.render,!1);case 1:return Pa(n.type,!0);case 31:return et("Activity");default:return""}}function Ui(n){try{var a="",s=null;do a+=ql(n,s),s=n,n=n.return;while(n);return a}catch(u){return`
24Error generating stack: `+u.message+`
25`+u.stack}}var Fl=Object.prototype.hasOwnProperty,$l=e.unstable_scheduleCallback,Yl=e.unstable_cancelCallback,kx=e.unstable_shouldYield,Lx=e.unstable_requestPaint,Tt=e.unstable_now,Px=e.unstable_getCurrentPriorityLevel,ud=e.unstable_ImmediatePriority,dd=e.unstable_UserBlockingPriority,$o=e.unstable_NormalPriority,Hx=e.unstable_LowPriority,fd=e.unstable_IdlePriority,Ux=e.log,jx=e.unstable_setDisableYieldValue,Ha=null,St=null;function Hn(n){if(typeof Ux=="function"&&jx(n),St&&typeof St.setStrictMode=="function")try{St.setStrictMode(Ha,n)}catch{}}var At=Math.clz32?Math.clz32:zx,Gx=Math.log,Vx=Math.LN2;function zx(n){return n>>>=0,n===0?32:31-(Gx(n)/Vx|0)|0}var Yo=256,Jo=262144,Ko=4194304;function hi(n){var a=n&42;if(a!==0)return a;switch(n&-n){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 n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Xo(n,a,s){var u=n.pendingLanes;if(u===0)return 0;var h=0,x=n.suspendedLanes,E=n.pingedLanes;n=n.warmLanes;var S=u&134217727;return S!==0?(u=S&~x,u!==0?h=hi(u):(E&=S,E!==0?h=hi(E):s||(s=S&~n,s!==0&&(h=hi(s))))):(S=u&~x,S!==0?h=hi(S):E!==0?h=hi(E):s||(s=u&~n,s!==0&&(h=hi(s)))),h===0?0:a!==0&&a!==h&&(a&x)===0&&(x=h&-h,s=a&-a,x>=s||x===32&&(s&4194048)!==0)?a:h}function Ua(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Bx(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 md(){var n=Ko;return Ko<<=1,(Ko&62914560)===0&&(Ko=4194304),n}function Jl(n){for(var a=[],s=0;31>s;s++)a.push(n);return a}function ja(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Ox(n,a,s,u,h,x){var E=n.pendingLanes;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=s,n.entangledLanes&=s,n.errorRecoveryDisabledLanes&=s,n.shellSuspendCounter=0;var S=n.entanglements,D=n.expirationTimes,j=n.hiddenUpdates;for(s=E&~s;0<s;){var J=31-At(s),W=1<<J;S[J]=0,D[J]=-1;var G=j[J];if(G!==null)for(j[J]=null,J=0;J<G.length;J++){var B=G[J];B!==null&&(B.lane&=-536870913)}s&=~W}u!==0&&pd(n,u,0),x!==0&&h===0&&n.tag!==0&&(n.suspendedLanes|=x&~(E&~a))}function pd(n,a,s){n.pendingLanes|=a,n.suspendedLanes&=~a;var u=31-At(a);n.entangledLanes|=a,n.entanglements[u]=n.entanglements[u]|1073741824|s&261930}function hd(n,a){var s=n.entangledLanes|=a;for(n=n.entanglements;s;){var u=31-At(s),h=1<<u;h&a|n[u]&a&&(n[u]|=a),s&=~h}}function gd(n,a){var s=a&-a;return s=(s&42)!==0?1:Kl(s),(s&(n.suspendedLanes|a))!==0?0:s}function Kl(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Xl(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function yd(){var n=V.p;return n!==0?n:(n=window.event,n===void 0?32:ih(n.type))}function xd(n,a){var s=V.p;try{return V.p=n,a()}finally{V.p=s}}var Un=Math.random().toString(36).slice(2),at="__reactFiber$"+Un,pt="__reactProps$"+Un,ji="__reactContainer$"+Un,Ql="__reactEvents$"+Un,qx="__reactListeners$"+Un,Fx="__reactHandles$"+Un,vd="__reactResources$"+Un,Ga="__reactMarker$"+Un;function Wl(n){delete n[at],delete n[pt],delete n[Ql],delete n[qx],delete n[Fx]}function Gi(n){var a=n[at];if(a)return a;for(var s=n.parentNode;s;){if(a=s[ji]||s[at]){if(s=a.alternate,a.child!==null||s!==null&&s.child!==null)for(n=zp(n);n!==null;){if(s=n[at])return s;n=zp(n)}return a}n=s,s=n.parentNode}return null}function Vi(n){if(n=n[at]||n[ji]){var a=n.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return n}return null}function Va(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(o(33))}function zi(n){var a=n[vd];return a||(a=n[vd]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function tt(n){n[Ga]=!0}var bd=new Set,wd={};function gi(n,a){Bi(n,a),Bi(n+"Capture",a)}function Bi(n,a){for(wd[n]=a,n=0;n<a.length;n++)bd.add(a[n])}var $x=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-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ed={},Td={};function Yx(n){return Fl.call(Td,n)?!0:Fl.call(Ed,n)?!1:$x.test(n)?Td[n]=!0:(Ed[n]=!0,!1)}function Qo(n,a,s){if(Yx(a))if(s===null)n.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var u=a.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+s)}}function Wo(n,a,s){if(s===null)n.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+s)}}function fn(n,a,s,u){if(u===null)n.removeAttribute(s);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(s);return}n.setAttributeNS(a,s,""+u)}}function Lt(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Sd(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Jx(n,a,s){var u=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);if(!n.hasOwnProperty(a)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var h=u.get,x=u.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return h.call(this)},set:function(E){s=""+E,x.call(this,E)}}),Object.defineProperty(n,a,{enumerable:u.enumerable}),{getValue:function(){return s},setValue:function(E){s=""+E},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Zl(n){if(!n._valueTracker){var a=Sd(n)?"checked":"value";n._valueTracker=Jx(n,a,""+n[a])}}function Ad(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var s=a.getValue(),u="";return n&&(u=Sd(n)?n.checked?"true":"false":n.value),n=u,n!==s?(a.setValue(n),!0):!1}function Zo(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var Kx=/[\n"\\]/g;function Pt(n){return n.replace(Kx,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function er(n,a,s,u,h,x,E,S){n.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?n.type=E:n.removeAttribute("type"),a!=null?E==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+Lt(a)):n.value!==""+Lt(a)&&(n.value=""+Lt(a)):E!=="submit"&&E!=="reset"||n.removeAttribute("value"),a!=null?tr(n,E,Lt(a)):s!=null?tr(n,E,Lt(s)):u!=null&&n.removeAttribute("value"),h==null&&x!=null&&(n.defaultChecked=!!x),h!=null&&(n.checked=h&&typeof h!="function"&&typeof h!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?n.name=""+Lt(S):n.removeAttribute("name")}function _d(n,a,s,u,h,x,E,S){if(x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(n.type=x),a!=null||s!=null){if(!(x!=="submit"&&x!=="reset"||a!=null)){Zl(n);return}s=s!=null?""+Lt(s):"",a=a!=null?""+Lt(a):s,S||a===n.value||(n.value=a),n.defaultValue=a}u=u??h,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=S?n.checked:!!u,n.defaultChecked=!!u,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(n.name=E),Zl(n)}function tr(n,a,s){a==="number"&&Zo(n.ownerDocument)===n||n.defaultValue===""+s||(n.defaultValue=""+s)}function Oi(n,a,s,u){if(n=n.options,a){a={};for(var h=0;h<s.length;h++)a["$"+s[h]]=!0;for(s=0;s<n.length;s++)h=a.hasOwnProperty("$"+n[s].value),n[s].selected!==h&&(n[s].selected=h),h&&u&&(n[s].defaultSelected=!0)}else{for(s=""+Lt(s),a=null,h=0;h<n.length;h++){if(n[h].value===s){n[h].selected=!0,u&&(n[h].defaultSelected=!0);return}a!==null||n[h].disabled||(a=n[h])}a!==null&&(a.selected=!0)}}function Nd(n,a,s){if(a!=null&&(a=""+Lt(a),a!==n.value&&(n.value=a),s==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=s!=null?""+Lt(s):""}function Cd(n,a,s,u){if(a==null){if(u!=null){if(s!=null)throw Error(o(92));if(se(u)){if(1<u.length)throw Error(o(93));u=u[0]}s=u}s==null&&(s=""),a=s}s=Lt(a),n.defaultValue=s,u=n.textContent,u===s&&u!==""&&u!==null&&(n.value=u),Zl(n)}function qi(n,a){if(a){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=a;return}}n.textContent=a}var Xx=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 Id(n,a,s){var u=a.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?u?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":u?n.setProperty(a,s):typeof s!="number"||s===0||Xx.has(a)?a==="float"?n.cssFloat=s:n[a]=(""+s).trim():n[a]=s+"px"}
vendor: 4,435 bytes, line 25
25function Rd(n,a,s){if(a!=null&&typeof a!="object")throw Error(o(62));if(n=n.style,s!=null){for(var u in s)!s.hasOwnProperty(u)||a!=null&&a.hasOwnProperty(u)||(u.indexOf("--")===0?n.setProperty(u,""):u==="float"?n.cssFloat="":n[u]="");for(var h in a)u=a[h],a.hasOwnProperty(h)&&s[h]!==u&&Id(n,h,u)}else for(var x in a)a.hasOwnProperty(x)&&Id(n,x,a[x])}function nr(n){if(n.indexOf("-")===-1)return!1;switch(n){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 Qx=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"],["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-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"]]),Wx=/^[\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 es(n){return Wx.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function mn(){}var ir=null;function ar(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Fi=null,$i=null;function Md(n){var a=Vi(n);if(a&&(n=a.stateNode)){var s=n[pt]||null;e:switch(n=a.stateNode,a.type){case"input":if(er(n,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),a=s.name,s.type==="radio"&&a!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Pt(""+a)+'"][type="radio"]'),a=0;a<s.length;a++){var u=s[a];if(u!==n&&u.form===n.form){var h=u[pt]||null;if(!h)throw Error(o(90));er(u,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(a=0;a<s.length;a++)u=s[a],u.form===n.form&&Ad(u)}break e;case"textarea":Nd(n,s.value,s.defaultValue);break e;case"select":a=s.value,a!=null&&Oi(n,!!s.multiple,a,!1)}}}var or=!1;
vendor: 9,048 bytes, line 25
25function Dd(n,a,s){if(or)return n(a,s);or=!0;try{var u=n(a);return u}finally{if(or=!1,(Fi!==null||$i!==null)&&(zs(),Fi&&(a=Fi,n=$i,$i=Fi=null,Md(a),n)))for(a=0;a<n.length;a++)Md(n[a])}}function za(n,a){var s=n.stateNode;if(s===null)return null;var u=s[pt]||null;if(u===null)return null;s=u[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(o(231,a,typeof s));return s}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sr=!1;if(pn)try{var Ba={};Object.defineProperty(Ba,"passive",{get:function(){sr=!0}}),window.addEventListener("test",Ba,Ba),window.removeEventListener("test",Ba,Ba)}catch{sr=!1}var jn=null,lr=null,ts=null;function kd(){if(ts)return ts;var n,a=lr,s=a.length,u,h="value"in jn?jn.value:jn.textContent,x=h.length;for(n=0;n<s&&a[n]===h[n];n++);var E=s-n;for(u=1;u<=E&&a[s-u]===h[x-u];u++);return ts=h.slice(n,1<u?1-u:void 0)}function ns(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function is(){return!0}function Ld(){return!1}function ht(n){function a(s,u,h,x,E){this._reactName=s,this._targetInst=h,this.type=u,this.nativeEvent=x,this.target=E,this.currentTarget=null;for(var S in n)n.hasOwnProperty(S)&&(s=n[S],this[S]=s?s(x):x[S]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?is:Ld,this.isPropagationStopped=Ld,this}return b(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=is)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=is)},persist:function(){},isPersistent:is}),a}var yi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},as=ht(yi),Oa=b({},yi,{view:0,detail:0}),Zx=ht(Oa),rr,cr,qa,os=b({},Oa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dr,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==qa&&(qa&&n.type==="mousemove"?(rr=n.screenX-qa.screenX,cr=n.screenY-qa.screenY):cr=rr=0,qa=n),rr)},movementY:function(n){return"movementY"in n?n.movementY:cr}}),Pd=ht(os),ev=b({},os,{dataTransfer:0}),tv=ht(ev),nv=b({},Oa,{relatedTarget:0}),ur=ht(nv),iv=b({},yi,{animationName:0,elapsedTime:0,pseudoElement:0}),av=ht(iv),ov=b({},yi,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),sv=ht(ov),lv=b({},yi,{data:0}),Hd=ht(lv),rv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cv={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"},uv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dv(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=uv[n])?!!a[n]:!1}function dr(){return dv}var fv=b({},Oa,{key:function(n){if(n.key){var a=rv[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=ns(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?cv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dr,charCode:function(n){return n.type==="keypress"?ns(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ns(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),mv=ht(fv),pv=b({},os,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ud=ht(pv),hv=b({},Oa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dr}),gv=ht(hv),yv=b({},yi,{propertyName:0,elapsedTime:0,pseudoElement:0}),xv=ht(yv),vv=b({},os,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),bv=ht(vv),wv=b({},yi,{newState:0,oldState:0}),Ev=ht(wv),Tv=[9,13,27,32],fr=pn&&"CompositionEvent"in window,Fa=null;pn&&"documentMode"in document&&(Fa=document.documentMode);var Sv=pn&&"TextEvent"in window&&!Fa,jd=pn&&(!fr||Fa&&8<Fa&&11>=Fa),Gd=" ",Vd=!1;function zd(n,a){switch(n){case"keyup":return Tv.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bd(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Yi=!1;function Av(n,a){switch(n){case"compositionend":return Bd(a);case"keypress":return a.which!==32?null:(Vd=!0,Gd);case"textInput":return n=a.data,n===Gd&&Vd?null:n;default:return null}}function _v(n,a){if(Yi)return n==="compositionend"||!fr&&zd(n,a)?(n=kd(),ts=lr=jn=null,Yi=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return jd&&a.locale!=="ko"?null:a.data;default:return null}}var Nv={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 Od(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!Nv[n.type]:a==="textarea"}function qd(n,a,s,u){Fi?$i?$i.push(u):$i=[u]:Fi=u,a=Js(a,"onChange"),0<a.length&&(s=new as("onChange","change",null,s,u),n.push({event:s,listeners:a}))}var $a=null,Ya=null;function Cv(n){Np(n,0)}function ss(n){var a=Va(n);if(Ad(a))return n}function Fd(n,a){if(n==="change")return a}var $d=!1;if(pn){var mr;if(pn){var pr="oninput"in document;if(!pr){var Yd=document.createElement("div");Yd.setAttribute("oninput","return;"),pr=typeof Yd.oninput=="function"}mr=pr}else mr=!1;$d=mr&&(!document.documentMode||9<document.documentMode)}function Jd(){$a&&($a.detachEvent("onpropertychange",Kd),Ya=$a=null)}function Kd(n){if(n.propertyName==="value"&&ss(Ya)){var a=[];qd(a,Ya,n,ar(n)),Dd(Cv,a)}}function Iv(n,a,s){n==="focusin"?(Jd(),$a=a,Ya=s,$a.attachEvent("onpropertychange",Kd)):n==="focusout"&&Jd()}function Rv(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return ss(Ya)}function Mv(n,a){if(n==="click")return ss(a)}function Dv(n,a){if(n==="input"||n==="change")return ss(a)}function kv(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var _t=typeof Object.is=="function"?Object.is:kv;function Ja(n,a){if(_t(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var s=Object.keys(n),u=Object.keys(a);if(s.length!==u.length)return!1;for(u=0;u<s.length;u++){var h=s[u];if(!Fl.call(a,h)||!_t(n[h],a[h]))return!1}return!0}function Xd(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Qd(n,a){var s=Xd(n);n=0;for(var u;s;){if(s.nodeType===3){if(u=n+s.textContent.length,n<=a&&u>=a)return{node:s,offset:a-n};n=u}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Xd(s)}}function Wd(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?Wd(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Zd(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=Zo(n.document);a instanceof n.HTMLIFrameElement;){try{var s=typeof a.contentWindow.location.href=="string"}catch{s=!1}if(s)n=a.contentWindow;else break;a=Zo(n.document)}return a}function hr(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var Lv=pn&&"documentMode"in document&&11>=document.documentMode,Ji=null,gr=null,Ka=null,yr=!1;function ef(n,a,s){var u=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;
vendor: 19,136 bytes, line 25
25yr||Ji==null||Ji!==Zo(u)||(u=Ji,"selectionStart"in u&&hr(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ka&&Ja(Ka,u)||(Ka=u,u=Js(gr,"onSelect"),0<u.length&&(a=new as("onSelect","select",null,a,s),n.push({event:a,listeners:u}),a.target=Ji)))}function xi(n,a){var s={};return s[n.toLowerCase()]=a.toLowerCase(),s["Webkit"+n]="webkit"+a,s["Moz"+n]="moz"+a,s}var Ki={animationend:xi("Animation","AnimationEnd"),animationiteration:xi("Animation","AnimationIteration"),animationstart:xi("Animation","AnimationStart"),transitionrun:xi("Transition","TransitionRun"),transitionstart:xi("Transition","TransitionStart"),transitioncancel:xi("Transition","TransitionCancel"),transitionend:xi("Transition","TransitionEnd")},xr={},tf={};pn&&(tf=document.createElement("div").style,"AnimationEvent"in window||(delete Ki.animationend.animation,delete Ki.animationiteration.animation,delete Ki.animationstart.animation),"TransitionEvent"in window||delete Ki.transitionend.transition);function vi(n){if(xr[n])return xr[n];if(!Ki[n])return n;var a=Ki[n],s;for(s in a)if(a.hasOwnProperty(s)&&s in tf)return xr[n]=a[s];return n}var nf=vi("animationend"),af=vi("animationiteration"),of=vi("animationstart"),Pv=vi("transitionrun"),Hv=vi("transitionstart"),Uv=vi("transitioncancel"),sf=vi("transitionend"),lf=new Map,vr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");vr.push("scrollEnd");function Xt(n,a){lf.set(n,a),gi(a,[n])}var ls=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Ht=[],Xi=0,br=0;function rs(){for(var n=Xi,a=br=Xi=0;a<n;){var s=Ht[a];Ht[a++]=null;var u=Ht[a];Ht[a++]=null;var h=Ht[a];Ht[a++]=null;var x=Ht[a];if(Ht[a++]=null,u!==null&&h!==null){var E=u.pending;E===null?h.next=h:(h.next=E.next,E.next=h),u.pending=h}x!==0&&rf(s,h,x)}}function cs(n,a,s,u){Ht[Xi++]=n,Ht[Xi++]=a,Ht[Xi++]=s,Ht[Xi++]=u,br|=u,n.lanes|=u,n=n.alternate,n!==null&&(n.lanes|=u)}function wr(n,a,s,u){return cs(n,a,s,u),us(n)}function bi(n,a){return cs(n,null,null,a),us(n)}function rf(n,a,s){n.lanes|=s;var u=n.alternate;u!==null&&(u.lanes|=s);for(var h=!1,x=n.return;x!==null;)x.childLanes|=s,u=x.alternate,u!==null&&(u.childLanes|=s),x.tag===22&&(n=x.stateNode,n===null||n._visibility&1||(h=!0)),n=x,x=x.return;return n.tag===3?(x=n.stateNode,h&&a!==null&&(h=31-At(s),n=x.hiddenUpdates,u=n[h],u===null?n[h]=[a]:u.push(a),a.lane=s|536870912),x):null}function us(n){if(50<xo)throw xo=0,Rc=null,Error(o(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var Qi={};function jv(n,a,s,u){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nt(n,a,s,u){return new jv(n,a,s,u)}function Er(n){return n=n.prototype,!(!n||!n.isReactComponent)}function hn(n,a){var s=n.alternate;return s===null?(s=Nt(n.tag,a,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=a,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&65011712,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,a=n.dependencies,s.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s.refCleanup=n.refCleanup,s}function cf(n,a){n.flags&=65011714;var s=n.alternate;return s===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=s.childLanes,n.lanes=s.lanes,n.child=s.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=s.memoizedProps,n.memoizedState=s.memoizedState,n.updateQueue=s.updateQueue,n.type=s.type,a=s.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function ds(n,a,s,u,h,x){var E=0;if(u=n,typeof n=="function")Er(n)&&(E=1);else if(typeof n=="string")E=Ob(n,s,ze.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case $:return n=Nt(31,s,a,h),n.elementType=$,n.lanes=x,n;case I:return wi(s.children,h,x,a);case C:E=8,h|=24;break;case N:return n=Nt(12,s,a,h|2),n.elementType=N,n.lanes=x,n;case Y:return n=Nt(13,s,a,h),n.elementType=Y,n.lanes=x,n;case P:return n=Nt(19,s,a,h),n.elementType=P,n.lanes=x,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case L:E=10;break e;case R:E=9;break e;case q:E=11;break e;case O:E=14;break e;case F:E=16,u=null;break e}E=29,s=Error(o(130,n===null?"null":typeof n,"")),u=null}return a=Nt(E,s,a,h),a.elementType=n,a.type=u,a.lanes=x,a}function wi(n,a,s,u){return n=Nt(7,n,u,a),n.lanes=s,n}function Tr(n,a,s){return n=Nt(6,n,null,a),n.lanes=s,n}function uf(n){var a=Nt(18,null,null,0);return a.stateNode=n,a}function Sr(n,a,s){return a=Nt(4,n.children!==null?n.children:[],n.key,a),a.lanes=s,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var df=new WeakMap;function Ut(n,a){if(typeof n=="object"&&n!==null){var s=df.get(n);return s!==void 0?s:(a={value:n,source:a,stack:Ui(a)},df.set(n,a),a)}return{value:n,source:a,stack:Ui(a)}}var Wi=[],Zi=0,fs=null,Xa=0,jt=[],Gt=0,Gn=null,sn=1,ln="";function gn(n,a){Wi[Zi++]=Xa,Wi[Zi++]=fs,fs=n,Xa=a}function ff(n,a,s){jt[Gt++]=sn,jt[Gt++]=ln,jt[Gt++]=Gn,Gn=n;var u=sn;n=ln;var h=32-At(u)-1;u&=~(1<<h),s+=1;var x=32-At(a)+h;if(30<x){var E=h-h%5;x=(u&(1<<E)-1).toString(32),u>>=E,h-=E,sn=1<<32-At(a)+h|s<<h|u,ln=x+n}else sn=1<<x|s<<h|u,ln=n}function Ar(n){n.return!==null&&(gn(n,1),ff(n,1,0))}function _r(n){for(;n===fs;)fs=Wi[--Zi],Wi[Zi]=null,Xa=Wi[--Zi],Wi[Zi]=null;for(;n===Gn;)Gn=jt[--Gt],jt[Gt]=null,ln=jt[--Gt],jt[Gt]=null,sn=jt[--Gt],jt[Gt]=null}function mf(n,a){jt[Gt++]=sn,jt[Gt++]=ln,jt[Gt++]=Gn,sn=a.id,ln=a.overflow,Gn=n}var ot=null,Le=null,we=!1,Vn=null,Vt=!1,Nr=Error(o(519));function zn(n){var a=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Qa(Ut(a,n)),Nr}function pf(n){var a=n.stateNode,s=n.type,u=n.memoizedProps;switch(a[at]=n,a[pt]=u,s){case"dialog":ye("cancel",a),ye("close",a);break;case"iframe":case"object":case"embed":ye("load",a);break;case"video":case"audio":for(s=0;s<bo.length;s++)ye(bo[s],a);break;case"source":ye("error",a);break;case"img":case"image":case"link":ye("error",a),ye("load",a);break;case"details":ye("toggle",a);break;case"input":ye("invalid",a),_d(a,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":ye("invalid",a);break;case"textarea":ye("invalid",a),Cd(a,u.value,u.defaultValue,u.children)}s=u.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||a.textContent===""+s||u.suppressHydrationWarning===!0||Mp(a.textContent,s)?(u.popover!=null&&(ye("beforetoggle",a),ye("toggle",a)),u.onScroll!=null&&ye("scroll",a),u.onScrollEnd!=null&&ye("scrollend",a),u.onClick!=null&&(a.onclick=mn),a=!0):a=!1,a||zn(n,!0)}function hf(n){for(ot=n.return;ot;)switch(ot.tag){case 5:case 31:case 13:Vt=!1;return;case 27:case 3:Vt=!0;return;default:ot=ot.return}}function ea(n){if(n!==ot)return!1;if(!we)return hf(n),we=!0,!1;var a=n.tag,s;if((s=a!==3&&a!==27)&&((s=a===5)&&(s=n.type,s=!(s!=="form"&&s!=="button")||Fc(n.type,n.memoizedProps)),s=!s),s&&Le&&zn(n),hf(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));Le=Vp(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));Le=Vp(n)}else a===27?(a=Le,ti(n.type)?(n=Xc,Xc=null,Le=n):Le=a):Le=ot?Bt(n.stateNode.nextSibling):null;return!0}function Ei(){Le=ot=null,we=!1}function Cr(){var n=Vn;return n!==null&&(vt===null?vt=n:vt.push.apply(vt,n),Vn=null),n}function Qa(n){Vn===null?Vn=[n]:Vn.push(n)}var Ir=je(null),Ti=null,yn=null;function Bn(n,a,s){be(Ir,a._currentValue),a._currentValue=s}function xn(n){n._currentValue=Ir.current,Ee(Ir)}function Rr(n,a,s){for(;n!==null;){var u=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,u!==null&&(u.childLanes|=a)):u!==null&&(u.childLanes&a)!==a&&(u.childLanes|=a),n===s)break;n=n.return}}function Mr(n,a,s,u){var h=n.child;for(h!==null&&(h.return=n);h!==null;){var x=h.dependencies;if(x!==null){var E=h.child;x=x.firstContext;e:for(;x!==null;){var S=x;x=h;for(var D=0;D<a.length;D++)if(S.context===a[D]){x.lanes|=s,S=x.alternate,S!==null&&(S.lanes|=s),Rr(x.return,s,n),u||(E=null);break e}x=S.next}}else if(h.tag===18){if(E=h.return,E===null)throw Error(o(341));E.lanes|=s,x=E.alternate,x!==null&&(x.lanes|=s),Rr(E,s,n),E=null}else E=h.child;if(E!==null)E.return=h;else for(E=h;E!==null;){if(E===n){E=null;break}if(h=E.sibling,h!==null){h.return=E.return,E=h;break}E=E.return}h=E}}function ta(n,a,s,u){n=null;for(var h=a,x=!1;h!==null;){if(!x){if((h.flags&524288)!==0)x=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var E=h.alternate;if(E===null)throw Error(o(387));if(E=E.memoizedProps,E!==null){var S=h.type;_t(h.pendingProps.value,E.value)||(n!==null?n.push(S):n=[S])}}else if(h===fi.current){if(E=h.alternate,E===null)throw Error(o(387));E.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(n!==null?n.push(Ao):n=[Ao])}h=h.return}n!==null&&Mr(a,n,s,u),a.flags|=262144}function ms(n){for(n=n.firstContext;n!==null;){if(!_t(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Si(n){Ti=n,yn=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function st(n){return gf(Ti,n)}function ps(n,a){return Ti===null&&Si(n),gf(n,a)}function gf(n,a){var s=a._currentValue;if(a={context:a,memoizedValue:s,next:null},yn===null){if(n===null)throw Error(o(308));yn=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else yn=yn.next=a;return s}var Gv=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(s,u){n.push(u)}};this.abort=function(){a.aborted=!0,n.forEach(function(s){return s()})}},Vv=e.unstable_scheduleCallback,zv=e.unstable_NormalPriority,$e={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Dr(){return{controller:new Gv,data:new Map,refCount:0}}function Wa(n){n.refCount--,n.refCount===0&&Vv(zv,function(){n.controller.abort()})}var Za=null,kr=0,na=0,ia=null;function Bv(n,a){if(Za===null){var s=Za=[];kr=0,na=Hc(),ia={status:"pending",value:void 0,then:function(u){s.push(u)}}}return kr++,a.then(yf,yf),a}function yf(){if(--kr===0&&Za!==null){ia!==null&&(ia.status="fulfilled");var n=Za;Za=null,na=0,ia=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function Ov(n,a){var s=[],u={status:"pending",value:null,reason:null,then:function(h){s.push(h)}};return n.then(function(){u.status="fulfilled",u.value=a;for(var h=0;h<s.length;h++)(0,s[h])(a)},function(h){for(u.status="rejected",u.reason=h,h=0;h<s.length;h++)(0,s[h])(void 0)}),u}var xf=z.S;z.S=function(n,a){tp=Tt(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&Bv(n,a),xf!==null&&xf(n,a)};var Ai=je(null);function Lr(){var n=Ai.current;return n!==null?n:De.pooledCache}function hs(n,a){a===null?be(Ai,Ai.current):be(Ai,a.pool)}function vf(){var n=Lr();return n===null?null:{parent:$e._currentValue,pool:n}}var aa=Error(o(460)),Pr=Error(o(474)),gs=Error(o(542)),ys={then:function(){}};function bf(n){return n=n.status,n==="fulfilled"||n==="rejected"}function wf(n,a,s){switch(s=n[s],s===void 0?n.push(a):s!==a&&(a.then(mn,mn),a=s),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Tf(n),n;default:if(typeof a.status=="string")a.then(mn,mn);else{if(n=De,n!==null&&100<n.shellSuspendCounter)throw Error(o(482));n=a,n.status="pending",n.then(function(u){if(a.status==="pending"){var h=a;h.status="fulfilled",h.value=u}},function(u){if(a.status==="pending"){var h=a;h.status="rejected",h.reason=u}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Tf(n),n}throw Ni=a,aa}}function _i(n){try{var a=n._init;return a(n._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(Ni=s,aa):s}}var Ni=null;function Ef(){if(Ni===null)throw Error(o(459));var n=Ni;return Ni=null,n}function Tf(n){if(n===aa||n===gs)throw Error(o(483))}var oa=null,eo=0;function xs(n){var a=eo;return eo+=1,oa===null&&(oa=[]),wf(oa,n,a)}function to(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function vs(n,a){throw a.$$typeof===w?Error(o(525)):(n=Object.prototype.toString.call(a),Error(o(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function Sf(n){function a(H,k){if(n){var U=H.deletions;U===null?(H.deletions=[k],H.flags|=16):U.push(k)}}function s(H,k){if(!n)return null;for(;k!==null;)a(H,k),k=k.sibling;return null}function u(H){for(var k=new Map;H!==null;)H.key!==null?k.set(H.key,H):k.set(H.index,H),H=H.sibling;return k}function h(H,k){return H=hn(H,k),H.index=0,H.sibling=null,H}function x(H,k,U){return H.index=U,n?(U=H.alternate,U!==null?(U=U.index,U<k?(H.flags|=67108866,k):U):(H.flags|=67108866,k)):(H.flags|=1048576,k)}function E(H){return n&&H.alternate===null&&(H.flags|=67108866),H}function S(H,k,U,X){return k===null||k.tag!==6?(k=Tr(U,H.mode,X),k.return=H,k):(k=h(k,U),k.return=H,k)}function D(H,k,U,X){var oe=U.type;return oe===I?J(H,k,U.props.children,X,U.key):k!==null&&(k.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===F&&_i(oe)===k.type)?(k=h(k,U.props),to(k,U),k.return=H,k):(k=ds(U.type,U.key,U.props,null,H.mode,X),to(k,U),k.return=H,k)}function j(H,k,U,X){return k===null||k.tag!==4||k.stateNode.containerInfo!==U.containerInfo||k.stateNode.implementation!==U.implementation?(k=Sr(U,H.mode,X),k.return=H,k):(k=h(k,U.children||[]),k.return=H,k)}function J(H,k,U,X,oe){return k===null||k.tag!==7?(k=wi(U,H.mode,X,oe),k.return=H,k):(k=h(k,U),k.return=H,k)}function W(H,k,U){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=Tr(""+k,H.mode,U),k.return=H,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case T:return U=ds(k.type,k.key,k.props,null,H.mode,U),to(U,k),U.return=H,U;case A:return k=Sr(k,H.mode,U),k.return=H,k;case F:return k=_i(k),W(H,k,U)}if(se(k)||Z(k))return k=wi(k,H.mode,U,null),k.return=H,k;if(typeof k.then=="function")return W(H,xs(k),U);if(k.$$typeof===L)return W(H,ps(H,k),U);vs(H,k)}return null}function G(H,k,U,X){var oe=k!==null?k.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return oe!==null?null:S(H,k,""+U,X);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case T:return U.key===oe?D(H,k,U,X):null;case A:return U.key===oe?j(H,k,U,X):null;case F:return U=_i(U),G(H,k,U,X)}if(se(U)||Z(U))return oe!==null?null:J(H,k,U,X,null);if(typeof U.then=="function")return G(H,k,xs(U),X);if(U.$$typeof===L)return G(H,k,ps(H,U),X);vs(H,U)}return null}function B(H,k,U,X,oe){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return H=H.get(U)||null,S(k,H,""+X,oe);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case T:return H=H.get(X.key===null?U:X.key)||null,D(k,H,X,oe);case A:return H=H.get(X.key===null?U:X.key)||null,j(k,H,X,oe);case F:return X=_i(X),B(H,k,U,X,oe)}if(se(X)||Z(X))return H=H.get(U)||null,J(k,H,X,oe,null);if(typeof X.then=="function")return B(H,k,U,xs(X),oe);if(X.$$typeof===L)return B(H,k,U,ps(k,X),oe);vs(k,X)}return null}function ne(H,k,U,X){for(var oe=null,Te=null,ie=k,pe=k=0,ve=null;ie!==null&&pe<U.length;pe++){ie.index>pe?(ve=ie,ie=null):ve=ie.sibling;var Se=G(H,ie,U[pe],X);if(Se===null){ie===null&&(ie=ve);break}n&&ie&&Se.alternate===null&&a(H,ie),k=x(Se,k,pe),Te===null?oe=Se:Te.sibling=Se,Te=Se,ie=ve}if(pe===U.length)return s(H,ie),we&&gn(H,pe),oe;if(ie===null){for(;pe<U.length;pe++)ie=W(H,U[pe],X),ie!==null&&(k=x(ie,k,pe),Te===null?oe=ie:Te.sibling=ie,Te=ie);return we&&gn(H,pe),oe}for(ie=u(ie);pe<U.length;pe++)ve=B(ie,H,pe,U[pe],X),ve!==null&&(n&&ve.alternate!==null&&ie.delete(ve.key===null?pe:ve.key),k=x(ve,k,pe),Te===null?oe=ve:Te.sibling=ve,Te=ve);return n&&ie.forEach(function(si){return a(H,si)}),we&&gn(H,pe),oe}function re(H,k,U,X){if(U==null)throw Error(o(151));for(var oe=null,Te=null,ie=k,pe=k=0,ve=null,Se=U.next();ie!==null&&!Se.done;pe++,Se=U.next()){ie.index>pe?(ve=ie,ie=null):ve=ie.sibling;var si=G(H,ie,Se.value,X);if(si===null){ie===null&&(ie=ve);break}n&&ie&&si.alternate===null&&a(H,ie),k=x(si,k,pe),Te===null?oe=si:Te.sibling=si,Te=si,ie=ve}if(Se.done)return s(H,ie),we&&gn(H,pe),oe;if(ie===null){for(;!Se.done;pe++,Se=U.next())Se=W(H,Se.value,X),Se!==null&&(k=x(Se,k,pe),Te===null?oe=Se:Te.sibling=Se,Te=Se);return we&&gn(H,pe),oe}for(ie=u(ie);!Se.done;pe++,Se=U.next())Se=B(ie,H,pe,Se.value,X),Se!==null&&(n&&Se.alternate!==null&&ie.delete(Se.key===null?pe:Se.key),k=x(Se,k,pe),Te===null?oe=Se:Te.sibling=Se,Te=Se);return n&&ie.forEach(function(e1){return a(H,e1)}),we&&gn(H,pe),oe}function Me(H,k,U,X){if(typeof U=="object"&&U!==null&&U.type===I&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case T:e:{for(var oe=U.key;k!==null;){if(k.key===oe){if(oe=U.type,oe===I){if(k.tag===7){s(H,k.sibling),X=h(k,U.props.children),X.return=H,H=X;break e}}else if(k.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===F&&_i(oe)===k.type){s(H,k.sibling),X=h(k,U.props),to(X,U),X.return=H,H=X;break e}s(H,k);break}else a(H,k);k=k.sibling}U.type===I?(X=wi(U.props.children,H.mode,X,U.key),X.return=H,H=X):(X=ds(U.type,U.key,U.props,null,H.mode,X),to(X,U),X.return=H,H=X)}return E(H);case A:e:{for(oe=U.key;k!==null;){if(k.key===oe)if(k.tag===4&&k.stateNode.containerInfo===U.containerInfo&&k.stateNode.implementation===U.implementation){s(H,k.sibling),X=h(k,U.children||[]),X.return=H,H=X;break e}else{s(H,k);break}else a(H,k);k=k.sibling}X=Sr(U,H.mode,X),X.return=H,H=X}return E(H);case F:return U=_i(U),Me(H,k,U,X)}if(se(U))return ne(H,k,U,X);if(Z(U)){if(oe=Z(U),typeof oe!="function")throw Error(o(150));return U=oe.call(U),re(H,k,U,X)}
vendor: 5,115 bytes, line 25
25if(typeof U.then=="function")return Me(H,k,xs(U),X);if(U.$$typeof===L)return Me(H,k,ps(H,U),X);vs(H,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,k!==null&&k.tag===6?(s(H,k.sibling),X=h(k,U),X.return=H,H=X):(s(H,k),X=Tr(U,H.mode,X),X.return=H,H=X),E(H)):s(H,k)}return function(H,k,U,X){try{eo=0;var oe=Me(H,k,U,X);return oa=null,oe}catch(ie){if(ie===aa||ie===gs)throw ie;var Te=Nt(29,ie,null,H.mode);return Te.lanes=X,Te.return=H,Te}finally{}}}var Ci=Sf(!0),Af=Sf(!1),On=!1;function Hr(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ur(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function qn(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Fn(n,a,s){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,(_e&2)!==0){var h=u.pending;return h===null?a.next=a:(a.next=h.next,h.next=a),u.pending=a,a=us(n),rf(n,null,s),a}return cs(n,u,a,s),us(n)}function no(n,a,s){if(a=a.updateQueue,a!==null&&(a=a.shared,(s&4194048)!==0)){var u=a.lanes;u&=n.pendingLanes,s|=u,a.lanes=s,hd(n,s)}}function jr(n,a){var s=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,s===u)){var h=null,x=null;if(s=s.firstBaseUpdate,s!==null){do{var E={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};x===null?h=x=E:x=x.next=E,s=s.next}while(s!==null);x===null?h=x=a:x=x.next=a}else h=x=a;s={baseState:u.baseState,firstBaseUpdate:h,lastBaseUpdate:x,shared:u.shared,callbacks:u.callbacks},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=a:n.next=a,s.lastBaseUpdate=a}var Gr=!1;function io(){if(Gr){var n=ia;if(n!==null)throw n}}function ao(n,a,s,u){Gr=!1;var h=n.updateQueue;On=!1;var x=h.firstBaseUpdate,E=h.lastBaseUpdate,S=h.shared.pending;if(S!==null){h.shared.pending=null;var D=S,j=D.next;D.next=null,E===null?x=j:E.next=j,E=D;var J=n.alternate;J!==null&&(J=J.updateQueue,S=J.lastBaseUpdate,S!==E&&(S===null?J.firstBaseUpdate=j:S.next=j,J.lastBaseUpdate=D))}if(x!==null){var W=h.baseState;E=0,J=j=D=null,S=x;do{var G=S.lane&-536870913,B=G!==S.lane;if(B?(xe&G)===G:(u&G)===G){G!==0&&G===na&&(Gr=!0),J!==null&&(J=J.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var ne=n,re=S;G=a;var Me=s;switch(re.tag){case 1:if(ne=re.payload,typeof ne=="function"){W=ne.call(Me,W,G);break e}W=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=re.payload,G=typeof ne=="function"?ne.call(Me,W,G):ne,G==null)break e;W=b({},W,G);break e;case 2:On=!0}}G=S.callback,G!==null&&(n.flags|=64,B&&(n.flags|=8192),B=h.callbacks,B===null?h.callbacks=[G]:B.push(G))}else B={lane:G,tag:S.tag,payload:S.payload,callback:S.callback,next:null},J===null?(j=J=B,D=W):J=J.next=B,E|=G;if(S=S.next,S===null){if(S=h.shared.pending,S===null)break;B=S,S=B.next,B.next=null,h.lastBaseUpdate=B,h.shared.pending=null}}while(!0);J===null&&(D=W),h.baseState=D,h.firstBaseUpdate=j,h.lastBaseUpdate=J,x===null&&(h.shared.lanes=0),Xn|=E,n.lanes=E,n.memoizedState=W}}function _f(n,a){if(typeof n!="function")throw Error(o(191,n));n.call(a)}function Nf(n,a){var s=n.callbacks;if(s!==null)for(n.callbacks=null,n=0;n<s.length;n++)_f(s[n],a)}var sa=je(null),bs=je(0);function Cf(n,a){n=Nn,be(bs,n),be(sa,a),Nn=n|a.baseLanes}function Vr(){be(bs,Nn),be(sa,sa.current)}function zr(){Nn=bs.current,Ee(sa),Ee(bs)}var Ct=je(null),zt=null;function $n(n){var a=n.alternate;be(Be,Be.current&1),be(Ct,n),zt===null&&(a===null||sa.current!==null||a.memoizedState!==null)&&(zt=n)}function Br(n){be(Be,Be.current),be(Ct,n),zt===null&&(zt=n)}function If(n){n.tag===22?(be(Be,Be.current),be(Ct,n),zt===null&&(zt=n)):Yn()}function Yn(){be(Be,Be.current),be(Ct,Ct.current)}function It(n){Ee(Ct),zt===n&&(zt=null),Ee(Be)}var Be=je(0);function ws(n){for(var a=n;a!==null;){if(a.tag===13){var s=a.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||Jc(s)||Kc(s)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var vn=0,me=null,Ie=null,Ye=null,Es=!1,la=!1,Ii=!1,Ts=0,oo=0,ra=null,qv=0;function Ge(){throw Error(o(321))}function Or(n,a){if(a===null)return!1;for(var s=0;s<a.length&&s<n.length;s++)if(!_t(n[s],a[s]))return!1;return!0}function qr(n,a,s,u,h,x){return vn=x,me=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,z.H=n===null||n.memoizedState===null?fm:oc,Ii=!1,x=s(u,h),Ii=!1,la&&(x=Mf(a,s,u,h)),Rf(n),x}function Rf(n){z.H=ro;var a=Ie!==null&&Ie.next!==null;if(vn=0,Ye=Ie=me=null,Es=!1,oo=0,ra=null,a)throw Error(o(300));n===null||Je||(n=n.dependencies,n!==null&&ms(n)&&(Je=!0))}function Mf(n,a,s,u){me=n;var h=0;
vendor: 18,150 bytes, line 25
25do{if(la&&(ra=null),oo=0,la=!1,25<=h)throw Error(o(301));if(h+=1,Ye=Ie=null,n.updateQueue!=null){var x=n.updateQueue;x.lastEffect=null,x.events=null,x.stores=null,x.memoCache!=null&&(x.memoCache.index=0)}z.H=mm,x=a(s,u)}while(la);return x}function Fv(){var n=z.H,a=n.useState()[0];return a=typeof a.then=="function"?so(a):a,n=n.useState()[0],(Ie!==null?Ie.memoizedState:null)!==n&&(me.flags|=1024),a}function Fr(){var n=Ts!==0;return Ts=0,n}function $r(n,a,s){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~s}function Yr(n){if(Es){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}Es=!1}vn=0,Ye=Ie=me=null,la=!1,oo=Ts=0,ra=null}function dt(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?me.memoizedState=Ye=n:Ye=Ye.next=n,Ye}function Oe(){if(Ie===null){var n=me.alternate;n=n!==null?n.memoizedState:null}else n=Ie.next;var a=Ye===null?me.memoizedState:Ye.next;if(a!==null)Ye=a,Ie=n;else{if(n===null)throw me.alternate===null?Error(o(467)):Error(o(310));Ie=n,n={memoizedState:Ie.memoizedState,baseState:Ie.baseState,baseQueue:Ie.baseQueue,queue:Ie.queue,next:null},Ye===null?me.memoizedState=Ye=n:Ye=Ye.next=n}return Ye}function Ss(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function so(n){var a=oo;return oo+=1,ra===null&&(ra=[]),n=wf(ra,n,a),a=me,(Ye===null?a.memoizedState:Ye.next)===null&&(a=a.alternate,z.H=a===null||a.memoizedState===null?fm:oc),n}function As(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return so(n);if(n.$$typeof===L)return st(n)}throw Error(o(438,String(n)))}function Jr(n){var a=null,s=me.updateQueue;if(s!==null&&(a=s.memoCache),a==null){var u=me.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(a={data:u.data.map(function(h){return h.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),s===null&&(s=Ss(),me.updateQueue=s),s.memoCache=a,s=a.data[a.index],s===void 0)for(s=a.data[a.index]=Array(n),u=0;u<n;u++)s[u]=ee;return a.index++,s}function bn(n,a){return typeof a=="function"?a(n):a}function _s(n){var a=Oe();return Kr(a,Ie,n)}function Kr(n,a,s){var u=n.queue;if(u===null)throw Error(o(311));u.lastRenderedReducer=s;var h=n.baseQueue,x=u.pending;if(x!==null){if(h!==null){var E=h.next;h.next=x.next,x.next=E}a.baseQueue=h=x,u.pending=null}if(x=n.baseState,h===null)n.memoizedState=x;else{a=h.next;var S=E=null,D=null,j=a,J=!1;do{var W=j.lane&-536870913;if(W!==j.lane?(xe&W)===W:(vn&W)===W){var G=j.revertLane;if(G===0)D!==null&&(D=D.next={lane:0,revertLane:0,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),W===na&&(J=!0);else if((vn&G)===G){j=j.next,G===na&&(J=!0);continue}else W={lane:0,revertLane:j.revertLane,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},D===null?(S=D=W,E=x):D=D.next=W,me.lanes|=G,Xn|=G;W=j.action,Ii&&s(x,W),x=j.hasEagerState?j.eagerState:s(x,W)}else G={lane:W,revertLane:j.revertLane,gesture:j.gesture,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},D===null?(S=D=G,E=x):D=D.next=G,me.lanes|=W,Xn|=W;j=j.next}while(j!==null&&j!==a);if(D===null?E=x:D.next=S,!_t(x,n.memoizedState)&&(Je=!0,J&&(s=ia,s!==null)))throw s;n.memoizedState=x,n.baseState=E,n.baseQueue=D,u.lastRenderedState=x}return h===null&&(u.lanes=0),[n.memoizedState,u.dispatch]}function Xr(n){var a=Oe(),s=a.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=n;var u=s.dispatch,h=s.pending,x=a.memoizedState;if(h!==null){s.pending=null;var E=h=h.next;do x=n(x,E.action),E=E.next;while(E!==h);_t(x,a.memoizedState)||(Je=!0),a.memoizedState=x,a.baseQueue===null&&(a.baseState=x),s.lastRenderedState=x}return[x,u]}function Df(n,a,s){var u=me,h=Oe(),x=we;if(x){if(s===void 0)throw Error(o(407));s=s()}else s=a();var E=!_t((Ie||h).memoizedState,s);if(E&&(h.memoizedState=s,Je=!0),h=h.queue,Zr(Pf.bind(null,u,h,n),[n]),h.getSnapshot!==a||E||Ye!==null&&Ye.memoizedState.tag&1){if(u.flags|=2048,ca(9,{destroy:void 0},Lf.bind(null,u,h,s,a),null),De===null)throw Error(o(349));x||(vn&127)!==0||kf(u,a,s)}return s}function kf(n,a,s){n.flags|=16384,n={getSnapshot:a,value:s},a=me.updateQueue,a===null?(a=Ss(),me.updateQueue=a,a.stores=[n]):(s=a.stores,s===null?a.stores=[n]:s.push(n))}function Lf(n,a,s,u){a.value=s,a.getSnapshot=u,Hf(a)&&Uf(n)}function Pf(n,a,s){return s(function(){Hf(a)&&Uf(n)})}function Hf(n){var a=n.getSnapshot;n=n.value;try{var s=a();return!_t(n,s)}catch{return!0}}function Uf(n){var a=bi(n,2);a!==null&&bt(a,n,2)}function Qr(n){var a=dt();if(typeof n=="function"){var s=n;if(n=s(),Ii){Hn(!0);try{s()}finally{Hn(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:n},a}function jf(n,a,s,u){return n.baseState=s,Kr(n,Ie,typeof u=="function"?u:bn)}function $v(n,a,s,u,h){if(Is(n))throw Error(o(485));if(n=a.action,n!==null){var x={payload:h,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(E){x.listeners.push(E)}};z.T!==null?s(!0):x.isTransition=!1,u(x),s=a.pending,s===null?(x.next=a.pending=x,Gf(a,x)):(x.next=s.next,a.pending=s.next=x)}}function Gf(n,a){var s=a.action,u=a.payload,h=n.state;if(a.isTransition){var x=z.T,E={};z.T=E;try{var S=s(h,u),D=z.S;D!==null&&D(E,S),Vf(n,a,S)}catch(j){Wr(n,a,j)}finally{x!==null&&E.types!==null&&(x.types=E.types),z.T=x}}else try{x=s(h,u),Vf(n,a,x)}catch(j){Wr(n,a,j)}}function Vf(n,a,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(u){zf(n,a,u)},function(u){return Wr(n,a,u)}):zf(n,a,s)}function zf(n,a,s){a.status="fulfilled",a.value=s,Bf(a),n.state=s,a=n.pending,a!==null&&(s=a.next,s===a?n.pending=null:(s=s.next,a.next=s,Gf(n,s)))}function Wr(n,a,s){var u=n.pending;if(n.pending=null,u!==null){u=u.next;do a.status="rejected",a.reason=s,Bf(a),a=a.next;while(a!==u)}n.action=null}function Bf(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function Of(n,a){return a}function qf(n,a){if(we){var s=De.formState;if(s!==null){e:{var u=me;if(we){if(Le){t:{for(var h=Le,x=Vt;h.nodeType!==8;){if(!x){h=null;break t}if(h=Bt(h.nextSibling),h===null){h=null;break t}}x=h.data,h=x==="F!"||x==="F"?h:null}if(h){Le=Bt(h.nextSibling),u=h.data==="F!";break e}}zn(u)}u=!1}u&&(a=s[0])}}return s=dt(),s.memoizedState=s.baseState=a,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Of,lastRenderedState:a},s.queue=u,s=cm.bind(null,me,u),u.dispatch=s,u=Qr(!1),x=ac.bind(null,me,!1,u.queue),u=dt(),h={state:a,dispatch:null,action:n,pending:null},u.queue=h,s=$v.bind(null,me,h,x,s),h.dispatch=s,u.memoizedState=n,[a,s,!1]}function Ff(n){var a=Oe();return $f(a,Ie,n)}function $f(n,a,s){if(a=Kr(n,a,Of)[0],n=_s(bn)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var u=so(a)}catch(E){throw E===aa?gs:E}else u=a;a=Oe();var h=a.queue,x=h.dispatch;return s!==a.memoizedState&&(me.flags|=2048,ca(9,{destroy:void 0},Yv.bind(null,h,s),null)),[u,x,n]}function Yv(n,a){n.action=a}function Yf(n){var a=Oe(),s=Ie;if(s!==null)return $f(a,s,n);Oe(),a=a.memoizedState,s=Oe();var u=s.queue.dispatch;return s.memoizedState=n,[a,u,!1]}function ca(n,a,s,u){return n={tag:n,create:s,deps:u,inst:a,next:null},a=me.updateQueue,a===null&&(a=Ss(),me.updateQueue=a),s=a.lastEffect,s===null?a.lastEffect=n.next=n:(u=s.next,s.next=n,n.next=u,a.lastEffect=n),n}function Jf(){return Oe().memoizedState}function Ns(n,a,s,u){var h=dt();me.flags|=n,h.memoizedState=ca(1|a,{destroy:void 0},s,u===void 0?null:u)}function Cs(n,a,s,u){var h=Oe();u=u===void 0?null:u;var x=h.memoizedState.inst;Ie!==null&&u!==null&&Or(u,Ie.memoizedState.deps)?h.memoizedState=ca(a,x,s,u):(me.flags|=n,h.memoizedState=ca(1|a,x,s,u))}function Kf(n,a){Ns(8390656,8,n,a)}function Zr(n,a){Cs(2048,8,n,a)}function Jv(n){me.flags|=4;var a=me.updateQueue;if(a===null)a=Ss(),me.updateQueue=a,a.events=[n];else{var s=a.events;s===null?a.events=[n]:s.push(n)}}function Xf(n){var a=Oe().memoizedState;return Jv({ref:a,nextImpl:n}),function(){if((_e&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}function Qf(n,a){return Cs(4,2,n,a)}function Wf(n,a){return Cs(4,4,n,a)}function Zf(n,a){if(typeof a=="function"){n=n();var s=a(n);return function(){typeof s=="function"?s():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function em(n,a,s){s=s!=null?s.concat([n]):null,Cs(4,4,Zf.bind(null,a,n),s)}function ec(){}function tm(n,a){var s=Oe();a=a===void 0?null:a;var u=s.memoizedState;return a!==null&&Or(a,u[1])?u[0]:(s.memoizedState=[n,a],n)}function nm(n,a){var s=Oe();a=a===void 0?null:a;var u=s.memoizedState;if(a!==null&&Or(a,u[1]))return u[0];if(u=n(),Ii){Hn(!0);try{n()}finally{Hn(!1)}}return s.memoizedState=[u,a],u}function tc(n,a,s){return s===void 0||(vn&1073741824)!==0&&(xe&261930)===0?n.memoizedState=a:(n.memoizedState=s,n=ip(),me.lanes|=n,Xn|=n,s)}function im(n,a,s,u){return _t(s,a)?s:sa.current!==null?(n=tc(n,s,u),_t(n,a)||(Je=!0),n):(vn&42)===0||(vn&1073741824)!==0&&(xe&261930)===0?(Je=!0,n.memoizedState=s):(n=ip(),me.lanes|=n,Xn|=n,a)}function am(n,a,s,u,h){var x=V.p;V.p=x!==0&&8>x?x:8;var E=z.T,S={};z.T=S,ac(n,!1,a,s);try{var D=h(),j=z.S;if(j!==null&&j(S,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){var J=Ov(D,u);lo(n,a,J,Dt(n))}else lo(n,a,u,Dt(n))}catch(W){lo(n,a,{then:function(){},status:"rejected",reason:W},Dt())}finally{V.p=x,E!==null&&S.types!==null&&(E.types=S.types),z.T=E}}function Kv(){}function nc(n,a,s,u){if(n.tag!==5)throw Error(o(476));var h=om(n).queue;am(n,h,a,K,s===null?Kv:function(){return sm(n),s(u)})}function om(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:K,baseState:K,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:K},next:null};var s={};return a.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:s},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function sm(n){var a=om(n);a.next===null&&(a=n.alternate.memoizedState),lo(n,a.next.queue,{},Dt())}function ic(){return st(Ao)}function lm(){return Oe().memoizedState}function rm(){return Oe().memoizedState}function Xv(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var s=Dt();n=qn(s);var u=Fn(a,n,s);u!==null&&(bt(u,a,s),no(u,a,s)),a={cache:Dr()},n.payload=a;return}a=a.return}}function Qv(n,a,s){var u=Dt();s={lane:u,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Is(n)?um(a,s):(s=wr(n,a,s,u),s!==null&&(bt(s,n,u),dm(s,a,u)))}function cm(n,a,s){var u=Dt();lo(n,a,s,u)}function lo(n,a,s,u){var h={lane:u,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(Is(n))um(a,h);else{var x=n.alternate;if(n.lanes===0&&(x===null||x.lanes===0)&&(x=a.lastRenderedReducer,x!==null))try{var E=a.lastRenderedState,S=x(E,s);if(h.hasEagerState=!0,h.eagerState=S,_t(S,E))return cs(n,a,h,0),De===null&&rs(),!1}catch{}finally{}if(s=wr(n,a,h,u),s!==null)return bt(s,n,u),dm(s,a,u),!0}return!1}function ac(n,a,s,u){if(u={lane:2,revertLane:Hc(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Is(n)){if(a)throw Error(o(479))}else a=wr(n,s,u,2),a!==null&&bt(a,n,2)}function Is(n){var a=n.alternate;return n===me||a!==null&&a===me}function um(n,a){la=Es=!0;var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}function dm(n,a,s){if((s&4194048)!==0){var u=a.lanes;u&=n.pendingLanes,s|=u,a.lanes=s,hd(n,s)}}var ro={readContext:st,use:As,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useLayoutEffect:Ge,useInsertionEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useSyncExternalStore:Ge,useId:Ge,useHostTransitionStatus:Ge,useFormState:Ge,useActionState:Ge,useOptimistic:Ge,useMemoCache:Ge,useCacheRefresh:Ge};ro.useEffectEvent=Ge;var fm={readContext:st,use:As,useCallback:function(n,a){return dt().memoizedState=[n,a===void 0?null:a],n},useContext:st,useEffect:Kf,useImperativeHandle:function(n,a,s){s=s!=null?s.concat([n]):null,Ns(4194308,4,Zf.bind(null,a,n),s)},useLayoutEffect:function(n,a){return Ns(4194308,4,n,a)},useInsertionEffect:function(n,a){Ns(4,2,n,a)},useMemo:function(n,a){var s=dt();a=a===void 0?null:a;var u=n();if(Ii){Hn(!0);try{n()}finally{Hn(!1)}}return s.memoizedState=[u,a],u},useReducer:function(n,a,s){var u=dt();if(s!==void 0){var h=s(a);if(Ii){Hn(!0);try{s(a)}finally{Hn(!1)}}}else h=a;return u.memoizedState=u.baseState=h,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:h},u.queue=n,n=n.dispatch=Qv.bind(null,me,n),[u.memoizedState,n]},useRef:function(n){var a=dt();return n={current:n},a.memoizedState=n},useState:function(n){n=Qr(n);var a=n.queue,s=cm.bind(null,me,a);return a.dispatch=s,[n.memoizedState,s]},useDebugValue:ec,useDeferredValue:function(n,a){var s=dt();return tc(s,n,a)},useTransition:function(){var n=Qr(!1);return n=am.bind(null,me,n.queue,!0,!1),dt().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,s){var u=me,h=dt();if(we){if(s===void 0)throw Error(o(407));s=s()}else{if(s=a(),De===null)throw Error(o(349));(xe&127)!==0||kf(u,a,s)}h.memoizedState=s;var x={value:s,getSnapshot:a};return h.queue=x,Kf(Pf.bind(null,u,x,n),[n]),u.flags|=2048,ca(9,{destroy:void 0},Lf.bind(null,u,x,s,a),null),s},useId:function(){var n=dt(),a=De.identifierPrefix;if(we){var s=ln,u=sn;s=(u&~(1<<32-At(u)-1)).toString(32)+s,a="_"+a+"R_"+s,s=Ts++,0<s&&(a+="H"+s.toString(32)),a+="_"}else s=qv++,a="_"+a+"r_"+s.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:ic,useFormState:qf,useActionState:qf,useOptimistic:function(n){var a=dt();a.memoizedState=a.baseState=n;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=s,a=ac.bind(null,me,!0,s),s.dispatch=a,[n,a]},useMemoCache:Jr,useCacheRefresh:function(){return dt().memoizedState=Xv.bind(null,me)},useEffectEvent:function(n){var a=dt(),s={impl:n};return a.memoizedState=s,function(){if((_e&2)!==0)throw Error(o(440));return s.impl.apply(void 0,arguments)}}},oc={readContext:st,use:As,useCallback:tm,useContext:st,useEffect:Zr,useImperativeHandle:em,useInsertionEffect:Qf,useLayoutEffect:Wf,useMemo:nm,useReducer:_s,useRef:Jf,useState:function(){return _s(bn)},useDebugValue:ec,useDeferredValue:function(n,a){var s=Oe();return im(s,Ie.memoizedState,n,a)},useTransition:function(){var n=_s(bn)[0],a=Oe().memoizedState;return[typeof n=="boolean"?n:so(n),a]},useSyncExternalStore:Df,useId:lm,useHostTransitionStatus:ic,useFormState:Ff,useActionState:Ff,useOptimistic:function(n,a){var s=Oe();return jf(s,Ie,n,a)},useMemoCache:Jr,useCacheRefresh:rm};oc.useEffectEvent=Xf;var mm={readContext:st,use:As,useCallback:tm,useContext:st,useEffect:Zr,useImperativeHandle:em,useInsertionEffect:Qf,useLayoutEffect:Wf,useMemo:nm,useReducer:Xr,useRef:Jf,useState:function(){return Xr(bn)},useDebugValue:ec,useDeferredValue:function(n,a){var s=Oe();return Ie===null?tc(s,n,a):im(s,Ie.memoizedState,n,a)},useTransition:function(){var n=Xr(bn)[0],a=Oe().memoizedState;return[typeof n=="boolean"?n:so(n),a]},useSyncExternalStore:Df,useId:lm,useHostTransitionStatus:ic,useFormState:Yf,useActionState:Yf,useOptimistic:function(n,a){var s=Oe();return Ie!==null?jf(s,Ie,n,a):(s.baseState=n,[n,s.queue.dispatch])},useMemoCache:Jr,useCacheRefresh:rm};mm.useEffectEvent=Xf;function sc(n,a,s,u){a=n.memoizedState,s=s(u,a),s=s==null?a:b({},a,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}var lc={enqueueSetState:function(n,a,s){n=n._reactInternals;var u=Dt(),h=qn(u);h.payload=a,s!=null&&(h.callback=s),a=Fn(n,h,u),a!==null&&(bt(a,n,u),no(a,n,u))},enqueueReplaceState:function(n,a,s){n=n._reactInternals;var u=Dt(),h=qn(u);h.tag=1,h.payload=a,s!=null&&(h.callback=s),a=Fn(n,h,u),a!==null&&(bt(a,n,u),no(a,n,u))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var s=Dt(),u=qn(s);u.tag=2,a!=null&&(u.callback=a),a=Fn(n,u,s),a!==null&&(bt(a,n,s),no(a,n,s))}};function pm(n,a,s,u,h,x,E){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,x,E):a.prototype&&a.prototype.isPureReactComponent?!Ja(s,u)||!Ja(h,x):!0}function hm(n,a,s,u){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(s,u),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(s,u),a.state!==n&&lc.enqueueReplaceState(a,a.state,null)}function Ri(n,a){var s=a;if("ref"in a){s={};for(var u in a)u!=="ref"&&(s[u]=a[u])}if(n=n.defaultProps){s===a&&(s=b({},s));for(var h in n)s[h]===void 0&&(s[h]=n[h])}return s}function gm(n){ls(n)}function ym(n){console.error(n)}function xm(n){ls(n)}function Rs(n,a){try{var s=n.onUncaughtError;s(a.value,{componentStack:a.stack})}catch(u){setTimeout(function(){throw u})}}function vm(n,a,s){try{var u=n.onCaughtError;u(s.value,{componentStack:s.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function rc(n,a,s){return s=qn(s),s.tag=3,s.payload={element:null},s.callback=function(){Rs(n,a)},s}function bm(n){return n=qn(n),n.tag=3,n}function wm(n,a,s,u){var h=s.type.getDerivedStateFromError;if(typeof h=="function"){var x=u.value;n.payload=function(){return h(x)},n.callback=function(){vm(a,s,u)}}var E=s.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(n.callback=function(){vm(a,s,u),typeof h!="function"&&(Qn===null?Qn=new Set([this]):Qn.add(this));var S=u.stack;this.componentDidCatch(u.value,{componentStack:S!==null?S:""})})}function Wv(n,a,s,u,h){if(s.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(a=s.alternate,a!==null&&ta(a,s,h,!0),s=Ct.current,s!==null){switch(s.tag){case 31:case 13:return zt===null?Bs():s.alternate===null&&Ve===0&&(Ve=3),s.flags&=-257,s.flags|=65536,s.lanes=h,u===ys?s.flags|=16384:(a=s.updateQueue,a===null?s.updateQueue=new Set([u]):a.add(u),kc(n,u,h)),!1;case 22:return s.flags|=65536,u===ys?s.flags|=16384:(a=s.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([u])},s.updateQueue=a):(s=a.retryQueue,s===null?a.retryQueue=new Set([u]):s.add(u)),
vendor: 11,054 bytes, line 25
25kc(n,u,h)),!1}throw Error(o(435,s.tag))}return kc(n,u,h),Bs(),!1}if(we)return a=Ct.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=h,u!==Nr&&(n=Error(o(422),{cause:u}),Qa(Ut(n,s)))):(u!==Nr&&(a=Error(o(423),{cause:u}),Qa(Ut(a,s))),n=n.current.alternate,n.flags|=65536,h&=-h,n.lanes|=h,u=Ut(u,s),h=rc(n.stateNode,u,h),jr(n,h),Ve!==4&&(Ve=2)),!1;var x=Error(o(520),{cause:u});if(x=Ut(x,s),yo===null?yo=[x]:yo.push(x),Ve!==4&&(Ve=2),a===null)return!0;u=Ut(u,s),s=a;do{switch(s.tag){case 3:return s.flags|=65536,n=h&-h,s.lanes|=n,n=rc(s.stateNode,u,n),jr(s,n),!1;case 1:if(a=s.type,x=s.stateNode,(s.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Qn===null||!Qn.has(x))))return s.flags|=65536,h&=-h,s.lanes|=h,h=bm(h),wm(h,n,s,u),jr(s,h),!1}s=s.return}while(s!==null);return!1}var cc=Error(o(461)),Je=!1;function lt(n,a,s,u){a.child=n===null?Af(a,null,s,u):Ci(a,n.child,s,u)}function Em(n,a,s,u,h){s=s.render;var x=a.ref;if("ref"in u){var E={};for(var S in u)S!=="ref"&&(E[S]=u[S])}else E=u;return Si(a),u=qr(n,a,s,E,x,h),S=Fr(),n!==null&&!Je?($r(n,a,h),wn(n,a,h)):(we&&S&&Ar(a),a.flags|=1,lt(n,a,u,h),a.child)}function Tm(n,a,s,u,h){if(n===null){var x=s.type;return typeof x=="function"&&!Er(x)&&x.defaultProps===void 0&&s.compare===null?(a.tag=15,a.type=x,Sm(n,a,x,u,h)):(n=ds(s.type,null,u,a,a.mode,h),n.ref=a.ref,n.return=a,a.child=n)}if(x=n.child,!yc(n,h)){var E=x.memoizedProps;if(s=s.compare,s=s!==null?s:Ja,s(E,u)&&n.ref===a.ref)return wn(n,a,h)}return a.flags|=1,n=hn(x,u),n.ref=a.ref,n.return=a,a.child=n}function Sm(n,a,s,u,h){if(n!==null){var x=n.memoizedProps;if(Ja(x,u)&&n.ref===a.ref)if(Je=!1,a.pendingProps=u=x,yc(n,h))(n.flags&131072)!==0&&(Je=!0);else return a.lanes=n.lanes,wn(n,a,h)}return uc(n,a,s,u,h)}function Am(n,a,s,u){var h=u.children,x=n!==null?n.memoizedState:null;if(n===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((a.flags&128)!==0){if(x=x!==null?x.baseLanes|s:s,n!==null){for(u=a.child=n.child,h=0;u!==null;)h=h|u.lanes|u.childLanes,u=u.sibling;u=h&~x}else u=0,a.child=null;return _m(n,a,x,s,u)}if((s&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&hs(a,x!==null?x.cachePool:null),x!==null?Cf(a,x):Vr(),If(a);else return u=a.lanes=536870912,_m(n,a,x!==null?x.baseLanes|s:s,s,u)}else x!==null?(hs(a,x.cachePool),Cf(a,x),Yn(),a.memoizedState=null):(n!==null&&hs(a,null),Vr(),Yn());return lt(n,a,h,s),a.child}function co(n,a){return n!==null&&n.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function _m(n,a,s,u,h){var x=Lr();return x=x===null?null:{parent:$e._currentValue,pool:x},a.memoizedState={baseLanes:s,cachePool:x},n!==null&&hs(a,null),Vr(),If(a),n!==null&&ta(n,a,u,!0),a.childLanes=h,null}function Ms(n,a){return a=ks({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function Nm(n,a,s){return Ci(a,n.child,null,s),n=Ms(a,a.pendingProps),n.flags|=2,It(a),a.memoizedState=null,n}function Zv(n,a,s){var u=a.pendingProps,h=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(we){if(u.mode==="hidden")return n=Ms(a,u),a.lanes=536870912,co(null,n);if(Br(a),(n=Le)?(n=Gp(n,Vt),n=n!==null&&n.data==="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Gn!==null?{id:sn,overflow:ln}:null,retryLane:536870912,hydrationErrors:null},s=uf(n),s.return=a,a.child=s,ot=a,Le=null)):n=null,n===null)throw zn(a);return a.lanes=536870912,null}return Ms(a,u)}var x=n.memoizedState;if(x!==null){var E=x.dehydrated;if(Br(a),h)if(a.flags&256)a.flags&=-257,a=Nm(n,a,s);else if(a.memoizedState!==null)a.child=n.child,a.flags|=128,a=null;else throw Error(o(558));else if(Je||ta(n,a,s,!1),h=(s&n.childLanes)!==0,Je||h){if(u=De,u!==null&&(E=gd(u,s),E!==0&&E!==x.retryLane))throw x.retryLane=E,bi(n,E),bt(u,n,E),cc;Bs(),a=Nm(n,a,s)}else n=x.treeContext,Le=Bt(E.nextSibling),ot=a,we=!0,Vn=null,Vt=!1,n!==null&&mf(a,n),a=Ms(a,u),a.flags|=4096;return a}return n=hn(n.child,{mode:u.mode,children:u.children}),n.ref=a.ref,a.child=n,n.return=a,n}function Ds(n,a){var s=a.ref;if(s===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(o(284));(n===null||n.ref!==s)&&(a.flags|=4194816)}}function uc(n,a,s,u,h){return Si(a),s=qr(n,a,s,u,void 0,h),u=Fr(),n!==null&&!Je?($r(n,a,h),wn(n,a,h)):(we&&u&&Ar(a),a.flags|=1,lt(n,a,s,h),a.child)}function Cm(n,a,s,u,h,x){return Si(a),a.updateQueue=null,s=Mf(a,u,s,h),Rf(n),u=Fr(),n!==null&&!Je?($r(n,a,x),wn(n,a,x)):(we&&u&&Ar(a),a.flags|=1,lt(n,a,s,x),a.child)}function Im(n,a,s,u,h){if(Si(a),a.stateNode===null){var x=Qi,E=s.contextType;typeof E=="object"&&E!==null&&(x=st(E)),x=new s(u,x),a.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,x.updater=lc,a.stateNode=x,x._reactInternals=a,x=a.stateNode,x.props=u,x.state=a.memoizedState,x.refs={},Hr(a),E=s.contextType,x.context=typeof E=="object"&&E!==null?st(E):Qi,x.state=a.memoizedState,E=s.getDerivedStateFromProps,typeof E=="function"&&(sc(a,s,E,u),x.state=a.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(E=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),E!==x.state&&lc.enqueueReplaceState(x,x.state,null),ao(a,u,x,h),io(),x.state=a.memoizedState),typeof x.componentDidMount=="function"&&(a.flags|=4194308),u=!0}else if(n===null){x=a.stateNode;var S=a.memoizedProps,D=Ri(s,S);x.props=D;var j=x.context,J=s.contextType;E=Qi,typeof J=="object"&&J!==null&&(E=st(J));var W=s.getDerivedStateFromProps;J=typeof W=="function"||typeof x.getSnapshotBeforeUpdate=="function",S=a.pendingProps!==S,J||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(S||j!==E)&&hm(a,x,u,E),On=!1;var G=a.memoizedState;x.state=G,ao(a,u,x,h),io(),j=a.memoizedState,S||G!==j||On?(typeof W=="function"&&(sc(a,s,W,u),j=a.memoizedState),(D=On||pm(a,s,D,u,G,j,E))?(J||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(a.flags|=4194308)):(typeof x.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=u,a.memoizedState=j),x.props=u,x.state=j,x.context=E,u=D):(typeof x.componentDidMount=="function"&&(a.flags|=4194308),u=!1)}else{x=a.stateNode,Ur(n,a),E=a.memoizedProps,J=Ri(s,E),x.props=J,W=a.pendingProps,G=x.context,j=s.contextType,D=Qi,typeof j=="object"&&j!==null&&(D=st(j)),S=s.getDerivedStateFromProps,(j=typeof S=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(E!==W||G!==D)&&hm(a,x,u,D),On=!1,G=a.memoizedState,x.state=G,ao(a,u,x,h),io();var B=a.memoizedState;E!==W||G!==B||On||n!==null&&n.dependencies!==null&&ms(n.dependencies)?(typeof S=="function"&&(sc(a,s,S,u),B=a.memoizedState),(J=On||pm(a,s,J,u,G,B,D)||n!==null&&n.dependencies!==null&&ms(n.dependencies))?(j||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(u,B,D),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(u,B,D)),typeof x.componentDidUpdate=="function"&&(a.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof x.componentDidUpdate!="function"||E===n.memoizedProps&&G===n.memoizedState||(a.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||E===n.memoizedProps&&G===n.memoizedState||(a.flags|=1024),a.memoizedProps=u,a.memoizedState=B),x.props=u,x.state=B,x.context=D,u=J):(typeof x.componentDidUpdate!="function"||E===n.memoizedProps&&G===n.memoizedState||(a.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||E===n.memoizedProps&&G===n.memoizedState||(a.flags|=1024),u=!1)}return x=u,Ds(n,a),u=(a.flags&128)!==0,x||u?(x=a.stateNode,s=u&&typeof s.getDerivedStateFromError!="function"?null:x.render(),a.flags|=1,n!==null&&u?(a.child=Ci(a,n.child,null,h),a.child=Ci(a,null,s,h)):lt(n,a,s,h),a.memoizedState=x.state,n=a.child):n=wn(n,a,h),n}function Rm(n,a,s,u){return Ei(),a.flags|=256,lt(n,a,s,u),a.child}var dc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function fc(n){return{baseLanes:n,cachePool:vf()}}function mc(n,a,s){return n=n!==null?n.childLanes&~s:0,a&&(n|=Mt),n}function Mm(n,a,s){var u=a.pendingProps,h=!1,x=(a.flags&128)!==0,E;if((E=x)||(E=n!==null&&n.memoizedState===null?!1:(Be.current&2)!==0),E&&(h=!0,a.flags&=-129),E=(a.flags&32)!==0,a.flags&=-33,n===null){if(we){if(h?$n(a):Yn(),(n=Le)?(n=Gp(n,Vt),n=n!==null&&n.data!=="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Gn!==null?{id:sn,overflow:ln}:null,retryLane:536870912,hydrationErrors:null},s=uf(n),s.return=a,a.child=s,ot=a,Le=null)):n=null,n===null)throw zn(a);return Kc(n)?a.lanes=32:a.lanes=536870912,null}var S=u.children;return u=u.fallback,h?(Yn(),h=a.mode,S=ks({mode:"hidden",children:S},h),u=wi(u,h,s,null),S.return=a,u.return=a,S.sibling=u,a.child=S,u=a.child,u.memoizedState=fc(s),u.childLanes=mc(n,E,s),a.memoizedState=dc,co(null,u)):($n(a),pc(a,S))}var D=n.memoizedState;if(D!==null&&(S=D.dehydrated,S!==null)){if(x)a.flags&256?($n(a),a.flags&=-257,a=hc(n,a,s)):a.memoizedState!==null?(Yn(),a.child=n.child,a.flags|=128,a=null):(Yn(),S=u.fallback,h=a.mode,u=ks({mode:"visible",children:u.children},h),S=wi(S,h,s,null),S.flags|=2,u.return=a,S.return=a,u.sibling=S,a.child=u,Ci(a,n.child,null,s),u=a.child,u.memoizedState=fc(s),u.childLanes=mc(n,E,s),a.memoizedState=dc,a=co(null,u));else if($n(a),Kc(S)){if(E=S.nextSibling&&S.nextSibling.dataset,E)var j=E.dgst;E=j,u=Error(o(419)),u.stack="",u.digest=E,Qa({value:u,source:null,stack:null}),a=hc(n,a,s)}else if(Je||ta(n,a,s,!1),E=(s&n.childLanes)!==0,Je||E){if(E=De,E!==null&&(u=gd(E,s),u!==0&&u!==D.retryLane))throw D.retryLane=u,bi(n,u),bt(E,n,u),cc;Jc(S)||Bs(),a=hc(n,a,s)}else Jc(S)?(a.flags|=192,a.child=n.child,a=null):(n=D.treeContext,Le=Bt(S.nextSibling),ot=a,we=!0,Vn=null,Vt=!1,n!==null&&mf(a,n),a=pc(a,u.children),a.flags|=4096);return a}return h?(Yn(),S=u.fallback,h=a.mode,D=n.child,j=D.sibling,u=hn(D,{mode:"hidden",children:u.children}),u.subtreeFlags=D.subtreeFlags&65011712,j!==null?S=hn(j,S):(S=wi(S,h,s,null),S.flags|=2),S.return=a,u.return=a,u.sibling=S,a.child=u,co(null,u),u=a.child,S=n.child.memoizedState,S===null?S=fc(s):(h=S.cachePool,h!==null?(D=$e._currentValue,h=h.parent!==D?{parent:D,pool:D}:h):h=vf(),S={baseLanes:S.baseLanes|s,cachePool:h}),u.memoizedState=S,u.childLanes=mc(n,E,s),a.memoizedState=dc,co(n.child,u)):($n(a),s=n.child,n=s.sibling,s=hn(s,{mode:"visible",children:u.children}
vendor: 6,694 bytes, line 25
25),s.return=a,s.sibling=null,n!==null&&(E=a.deletions,E===null?(a.deletions=[n],a.flags|=16):E.push(n)),a.child=s,a.memoizedState=null,s)}function pc(n,a){return a=ks({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function ks(n,a){return n=Nt(22,n,null,a),n.lanes=0,n}function hc(n,a,s){return Ci(a,n.child,null,s),n=pc(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Dm(n,a,s){n.lanes|=a;var u=n.alternate;u!==null&&(u.lanes|=a),Rr(n.return,a,s)}function gc(n,a,s,u,h,x){var E=n.memoizedState;E===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:h,treeForkCount:x}:(E.isBackwards=a,E.rendering=null,E.renderingStartTime=0,E.last=u,E.tail=s,E.tailMode=h,E.treeForkCount=x)}function km(n,a,s){var u=a.pendingProps,h=u.revealOrder,x=u.tail;u=u.children;var E=Be.current,S=(E&2)!==0;if(S?(E=E&1|2,a.flags|=128):E&=1,be(Be,E),lt(n,a,u,s),u=we?Xa:0,!S&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Dm(n,s,a);else if(n.tag===19)Dm(n,s,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(h){case"forwards":for(s=a.child,h=null;s!==null;)n=s.alternate,n!==null&&ws(n)===null&&(h=s),s=s.sibling;s=h,s===null?(h=a.child,a.child=null):(h=s.sibling,s.sibling=null),gc(a,!1,h,s,x,u);break;case"backwards":case"unstable_legacy-backwards":for(s=null,h=a.child,a.child=null;h!==null;){if(n=h.alternate,n!==null&&ws(n)===null){a.child=h;break}n=h.sibling,h.sibling=s,s=h,h=n}gc(a,!0,s,null,x,u);break;case"together":gc(a,!1,null,null,void 0,u);break;default:a.memoizedState=null}return a.child}function wn(n,a,s){if(n!==null&&(a.dependencies=n.dependencies),Xn|=a.lanes,(s&a.childLanes)===0)if(n!==null){if(ta(n,a,s,!1),(s&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(o(153));if(a.child!==null){for(n=a.child,s=hn(n,n.pendingProps),a.child=s,s.return=a;n.sibling!==null;)n=n.sibling,s=s.sibling=hn(n,n.pendingProps),s.return=a;s.sibling=null}return a.child}function yc(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&ms(n)))}function eb(n,a,s){switch(a.tag){case 3:mi(a,a.stateNode.containerInfo),Bn(a,$e,n.memoizedState.cache),Ei();break;case 27:case 5:Hi(a);break;case 4:mi(a,a.stateNode.containerInfo);break;case 10:Bn(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Br(a),null;break;case 13:var u=a.memoizedState;if(u!==null)return u.dehydrated!==null?($n(a),a.flags|=128,null):(s&a.child.childLanes)!==0?Mm(n,a,s):($n(a),n=wn(n,a,s),n!==null?n.sibling:null);$n(a);break;case 19:var h=(n.flags&128)!==0;if(u=(s&a.childLanes)!==0,u||(ta(n,a,s,!1),u=(s&a.childLanes)!==0),h){if(u)return km(n,a,s);a.flags|=128}if(h=a.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),be(Be,Be.current),u)break;return null;case 22:return a.lanes=0,Am(n,a,s,a.pendingProps);case 24:Bn(a,$e,n.memoizedState.cache)}return wn(n,a,s)}function Lm(n,a,s){if(n!==null)if(n.memoizedProps!==a.pendingProps)Je=!0;else{if(!yc(n,s)&&(a.flags&128)===0)return Je=!1,eb(n,a,s);Je=(n.flags&131072)!==0}else Je=!1,we&&(a.flags&1048576)!==0&&ff(a,Xa,a.index);switch(a.lanes=0,a.tag){case 16:e:{var u=a.pendingProps;if(n=_i(a.elementType),a.type=n,typeof n=="function")Er(n)?(u=Ri(n,u),a.tag=1,a=Im(null,a,n,u,s)):(a.tag=0,a=uc(null,a,n,u,s));else{if(n!=null){var h=n.$$typeof;if(h===q){a.tag=11,a=Em(null,a,n,u,s);break e}else if(h===O){a.tag=14,a=Tm(null,a,n,u,s);break e}}throw a=ue(n)||n,Error(o(306,a,""))}}return a;case 0:return uc(n,a,a.type,a.pendingProps,s);case 1:return u=a.type,h=Ri(u,a.pendingProps),Im(n,a,u,h,s);case 3:e:{if(mi(a,a.stateNode.containerInfo),n===null)throw Error(o(387));u=a.pendingProps;var x=a.memoizedState;h=x.element,Ur(n,a),ao(a,u,null,s);var E=a.memoizedState;if(u=E.cache,Bn(a,$e,u),u!==x.cache&&Mr(a,[$e],s,!0),io(),u=E.element,x.isDehydrated)if(x={element:u,isDehydrated:!1,cache:E.cache},a.updateQueue.baseState=x,a.memoizedState=x,a.flags&256){a=Rm(n,a,u,s);break e}else if(u!==h){h=Ut(Error(o(424)),a),Qa(h),a=Rm(n,a,u,s);break e}else{switch(n=a.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(Le=Bt(n.firstChild),ot=a,we=!0,Vn=null,Vt=!0,s=Af(a,null,u,s),a.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(Ei(),u===h){a=wn(n,a,s);break e}lt(n,a,u,s)}a=a.child}return a;case 26:return Ds(n,a),n===null?(s=Fp(a.type,null,a.pendingProps,null))?a.memoizedState=s:we||(s=a.type,n=a.pendingProps,u=Ks(Jt.current).createElement(s),u[at]=a,u[pt]=n,rt(u,s,n),tt(u),a.stateNode=u):a.memoizedState=Fp(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return Hi(a),n===null&&we&&(u=a.stateNode=Bp(a.type,a.pendingProps,Jt.current),ot=a,Vt=!0,h=Le,ti(a.type)?(Xc=h,Le=Bt(u.firstChild)):Le=h),lt(n,a,a.pendingProps.children,s),Ds(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&we&&((h=u=Le)&&(u=Rb(u,a.type,a.pendingProps,Vt),u!==null?(a.stateNode=u,ot=a,Le=Bt(u.firstChild),Vt=!1,h=!0):h=!1),h||zn(a)),Hi(a),h=a.type,x=a.pendingProps,E=n!==null?n.memoizedProps:null,u=x.children,Fc(h,x)?u=null:E!==null&&Fc(h,E)&&(a.flags|=32),a.memoizedState!==null&&(h=qr(n,a,Fv,null,null,s),Ao._currentValue=h),Ds(n,a),lt(n,a,u,s),a.child;case 6:return n===null&&we&&((n=s=Le)&&(s=Mb(s,a.pendingProps,Vt),s!==null?(a.stateNode=s,ot=a,Le=null,n=!0):n=!1),n||zn(a)),null;case 13:return Mm(n,a,s);case 4:return mi(a,a.stateNode.containerInfo),u=a.pendingProps,n===null?a.child=Ci(a,null,u,s):lt(n,a,u,s),a.child;case 11:return Em(n,a,a.type,a.pendingProps,s);case 7:return lt(n,a,a.pendingProps,s),a.child;case 8:return lt(n,a,a.pendingProps.children,s),a.child;case 12:return lt(n,a,a.pendingProps.children,s),a.child;case 10:return u=a.pendingProps,Bn(a,a.type,u.value),lt(n,a,u.children,s),a.child;case 9:return h=a.type._context,u=a.pendingProps.children,Si(a),h=st(h),u=u(h),a.flags|=1,lt(n,a,u,s),a.child;case 14:return Tm(n,a,a.type,a.pendingProps,s);case 15:return Sm(n,a,a.type,a.pendingProps,s);case 19:return km(n,a,s);case 31:return Zv(n,a,s);case 22:return Am(n,a,s,a.pendingProps);case 24:return Si(a),u=st($e),n===null?(h=Lr(),h===null&&(h=De,x=Dr(),h.pooledCache=x,x.refCount++,x!==null&&(h.pooledCacheLanes|=s),h=x),a.memoizedState={parent:u,cache:h},Hr(a),Bn(a,$e,h)):((n.lanes&s)!==0&&(Ur(n,a),ao(a,null,null,s),io()),h=n.memoizedState,x=a.memoizedState,h.parent!==u?(h={parent:u,cache:u},a.memoizedState=h,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=h),Bn(a,$e,u)):(u=x.cache,Bn(a,$e,u),u!==h.c
vendor: 9,102 bytes, line 25
25ache&&Mr(a,[$e],s,!0))),lt(n,a,a.pendingProps.children,s),a.child;case 29:throw a.pendingProps}throw Error(o(156,a.tag))}function En(n){n.flags|=4}function xc(n,a,s,u,h){if((a=(n.mode&32)!==0)&&(a=!1),a){if(n.flags|=16777216,(h&335544128)===h)if(n.stateNode.complete)n.flags|=8192;else if(lp())n.flags|=8192;else throw Ni=ys,Pr}else n.flags&=-16777217}function Pm(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Xp(a))if(lp())n.flags|=8192;else throw Ni=ys,Pr}function Ls(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?md():536870912,n.lanes|=a,ma|=a)}function uo(n,a){if(!we)switch(n.tailMode){case"hidden":a=n.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function Pe(n){var a=n.alternate!==null&&n.alternate.child===n.child,s=0,u=0;if(a)for(var h=n.child;h!==null;)s|=h.lanes|h.childLanes,u|=h.subtreeFlags&65011712,u|=h.flags&65011712,h.return=n,h=h.sibling;else for(h=n.child;h!==null;)s|=h.lanes|h.childLanes,u|=h.subtreeFlags,u|=h.flags,h.return=n,h=h.sibling;return n.subtreeFlags|=u,n.childLanes=s,a}function tb(n,a,s){var u=a.pendingProps;switch(_r(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pe(a),null;case 1:return Pe(a),null;case 3:return s=a.stateNode,u=null,n!==null&&(u=n.memoizedState.cache),a.memoizedState.cache!==u&&(a.flags|=2048),xn($e),pi(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(n===null||n.child===null)&&(ea(a)?En(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Cr())),Pe(a),null;case 26:var h=a.type,x=a.memoizedState;return n===null?(En(a),x!==null?(Pe(a),Pm(a,x)):(Pe(a),xc(a,h,null,u,s))):x?x!==n.memoizedState?(En(a),Pe(a),Pm(a,x)):(Pe(a),a.flags&=-16777217):(n=n.memoizedProps,n!==u&&En(a),Pe(a),xc(a,h,n,u,s)),null;case 27:if(He(a),s=Jt.current,h=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==u&&En(a);else{if(!u){if(a.stateNode===null)throw Error(o(166));return Pe(a),null}n=ze.current,ea(a)?pf(a):(n=Bp(h,u,s),a.stateNode=n,En(a))}return Pe(a),null;case 5:if(He(a),h=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==u&&En(a);else{if(!u){if(a.stateNode===null)throw Error(o(166));return Pe(a),null}if(x=ze.current,ea(a))pf(a);else{var E=Ks(Jt.current);switch(x){case 1:x=E.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:x=E.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":x=E.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":x=E.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":x=E.createElement("div"),x.innerHTML="<script><\/script>",x=x.removeChild(x.firstChild);break;case"select":x=typeof u.is=="string"?E.createElement("select",{is:u.is}):E.createElement("select"),u.multiple?x.multiple=!0:u.size&&(x.size=u.size);break;default:x=typeof u.is=="string"?E.createElement(h,{is:u.is}):E.createElement(h)}}x[at]=a,x[pt]=u;e:for(E=a.child;E!==null;){if(E.tag===5||E.tag===6)x.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===a)break e;for(;E.sibling===null;){if(E.return===null||E.return===a)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}a.stateNode=x;e:switch(rt(x,h,u),h){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&En(a)}}return Pe(a),xc(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,s),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==u&&En(a);else{if(typeof u!="string"&&a.stateNode===null)throw Error(o(166));if(n=Jt.current,ea(a)){if(n=a.stateNode,s=a.memoizedProps,u=null,h=ot,h!==null)switch(h.tag){case 27:case 5:u=h.memoizedProps}n[at]=a,n=!!(n.nodeValue===s||u!==null&&u.suppressHydrationWarning===!0||Mp(n.nodeValue,s)),n||zn(a,!0)}else n=Ks(n).createTextNode(u),n[at]=a,a.stateNode=n}return Pe(a),null;case 31:if(s=a.memoizedState,n===null||n.memoizedState!==null){if(u=ea(a),s!==null){if(n===null){if(!u)throw Error(o(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(557));n[at]=a}else Ei(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Pe(a),n=!1}else s=Cr(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=s),n=!0;if(!n)return a.flags&256?(It(a),a):(It(a),null);if((a.flags&128)!==0)throw Error(o(558))}return Pe(a),null;case 13:if(u=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(h=ea(a),u!==null&&u.dehydrated!==null){if(n===null){if(!h)throw Error(o(318));if(h=a.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(o(317));h[at]=a}else Ei(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Pe(a),h=!1}else h=Cr(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=h),h=!0;if(!h)return a.flags&256?(It(a),a):(It(a),null)}return It(a),(a.flags&128)!==0?(a.lanes=s,a):(s=u!==null,n=n!==null&&n.memoizedState!==null,s&&(u=a.child,h=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(h=u.alternate.memoizedState.cachePool.pool),x=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(x=u.memoizedState.cachePool.pool),x!==h&&(u.flags|=2048)),s!==n&&s&&(a.child.flags|=8192),Ls(a,a.updateQueue),Pe(a),null);case 4:return pi(),n===null&&Vc(a.stateNode.containerInfo),Pe(a),null;case 10:return xn(a.type),Pe(a),null;case 19:if(Ee(Be),u=a.memoizedState,u===null)return Pe(a),null;if(h=(a.flags&128)!==0,x=u.rendering,x===null)if(h)uo(u,!1);else{if(Ve!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(x=ws(n),x!==null){for(a.flags|=128,uo(u,!1),n=x.updateQueue,a.updateQueue=n,Ls(a,n),a.subtreeFlags=0,n=s,s=a.child;s!==null;)cf(s,n),s=s.sibling;return be(Be,Be.current&1|2),we&&gn(a,u.treeForkCount),a.child}n=n.sibling}u.tail!==null&&Tt()>Gs&&(a.flags|=128,h=!0,uo(u,!1),a.lanes=4194304)}else{if(!h)if(n=ws(x),n!==null){if(a.flags|=128,h=!0,n=n.updateQueue,a.updateQueue=n,Ls(a,n),uo(u,!0),u.tail===null&&u.tailMode==="hidden"&&!x.alternate&&!we)return Pe(a),null}else 2*Tt()-u.renderingStartTime>Gs&&s!==536870912&&(a.flags|=128,h=!0,uo(u,!1),a.lanes=4194304);u.isBackwards?(x.sibling=a.child,a.child=x):(n=u.last,n!==null?n.sibling=x:a.child=x,u.last=x)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=Tt(),n.sibling=null,s=Be.current,be(Be,h?s&1|2:s&1),we&&gn(a,u.treeForkCount),n):(Pe(a),null);case 22:case 23:return It(a),zr(),u=a.memoizedState!==null,n!==null?n.memoizedState!==null!==u&&(a.flags|=8192):u&&(a.flags|=8192),u?(s&536870912)!==0&&(a.flags&128)===0&&(Pe(a),a.subtreeFlags&6&&(a.flags|=8192)):Pe(a),s=a.updateQueue,s!==null&&Ls(a,s.retryQueue),s=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==s&&(a.flags|=2048),n!==null&&Ee(Ai),null;case 24:return s=null,n!==null&&(s=n.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),xn($e),Pe(a),null;case 25:return null;case 30:return null}throw Error(o(156,a.tag))}function nb(n,a){switch(_r(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return xn($e),pi(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return He(a),null;case 31:if(a.memoizedState!==null){if(It(a),a.alternate===null)throw Error(o(340));Ei()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(It(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(o(340));Ei()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return Ee(Be),null;case 4:return pi(),null;case 10:return xn(a.type),null;case 22:case 23:return It(a),zr(),n!==null&&Ee(Ai),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return xn($e),null;case 25:return null;default:return null}}function Hm(n,a){switch(_r(a),a.tag){case 3:xn($e),pi();break;case 26:case 27:case 5:He(a);break;case 4:pi();break;case 31:a.memoizedState!==null&&It(a);break;case 13:It(a);break;case 19:Ee(Be);break;case 10:xn(a.type);break;case 22:case 23:It(a),zr(),n!==null&&Ee(Ai);break;case 24:xn($e)}}function fo(n,a){try{var s=a.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var h=u.next;s=h;do{if((s.tag&n)===n){u=void 0;var x=s.create,E=s.inst;u=x(),E.destroy=u}s=s.next}while(s!==h)}}catch(S){Ce(a,a.return,S)}}function Jn(n,a,s){try{var u=a.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var x=h.next;u=x;do{if((u.tag&n)===n){var E=u.inst,S=E.destroy;if(S!==void 0){E.destroy=void 0,h=a;var D=s,j=S;try{j()}catch(J){Ce(h,D,J)}}}u=u.next}while(u!==x)}}catch(J){Ce(a,a.return,J)}}function Um(n){var a=n.updateQueue;if(a!==null){var s=n.stateNode;try{Nf(a,s)}catch(u){Ce(n,n.return,u)}}}function jm(n,a,s){s.props=Ri(n.type,n.memoizedProps),s.state=n.memoizedState;
vendor: 16,179 bytes, line 25
25try{s.componentWillUnmount()}catch(u){Ce(n,a,u)}}function mo(n,a){try{var s=n.ref;if(s!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}typeof s=="function"?n.refCleanup=s(u):s.current=u}}catch(h){Ce(n,a,h)}}function rn(n,a){var s=n.ref,u=n.refCleanup;if(s!==null)if(typeof u=="function")try{u()}catch(h){Ce(n,a,h)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(h){Ce(n,a,h)}else s.current=null}function Gm(n){var a=n.type,s=n.memoizedProps,u=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":s.autoFocus&&u.focus();break e;case"img":s.src?u.src=s.src:s.srcSet&&(u.srcset=s.srcSet)}}catch(h){Ce(n,n.return,h)}}function vc(n,a,s){try{var u=n.stateNode;Sb(u,n.type,s,a),u[pt]=a}catch(h){Ce(n,n.return,h)}}function Vm(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ti(n.type)||n.tag===4}function bc(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Vm(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&ti(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function wc(n,a,s){var u=n.tag;if(u===5||u===6)n=n.stateNode,a?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(n,a):(a=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,a.appendChild(n),s=s._reactRootContainer,s!=null||a.onclick!==null||(a.onclick=mn));else if(u!==4&&(u===27&&ti(n.type)&&(s=n.stateNode,a=null),n=n.child,n!==null))for(wc(n,a,s),n=n.sibling;n!==null;)wc(n,a,s),n=n.sibling}function Ps(n,a,s){var u=n.tag;if(u===5||u===6)n=n.stateNode,a?s.insertBefore(n,a):s.appendChild(n);else if(u!==4&&(u===27&&ti(n.type)&&(s=n.stateNode),n=n.child,n!==null))for(Ps(n,a,s),n=n.sibling;n!==null;)Ps(n,a,s),n=n.sibling}function zm(n){var a=n.stateNode,s=n.memoizedProps;try{for(var u=n.type,h=a.attributes;h.length;)a.removeAttributeNode(h[0]);rt(a,u,s),a[at]=n,a[pt]=s}catch(x){Ce(n,n.return,x)}}var Tn=!1,Ke=!1,Ec=!1,Bm=typeof WeakSet=="function"?WeakSet:Set,nt=null;function ib(n,a){if(n=n.containerInfo,Oc=nl,n=Zd(n),hr(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var u=s.getSelection&&s.getSelection();if(u&&u.rangeCount!==0){s=u.anchorNode;var h=u.anchorOffset,x=u.focusNode;u=u.focusOffset;try{s.nodeType,x.nodeType}catch{s=null;break e}var E=0,S=-1,D=-1,j=0,J=0,W=n,G=null;t:for(;;){for(var B;W!==s||h!==0&&W.nodeType!==3||(S=E+h),W!==x||u!==0&&W.nodeType!==3||(D=E+u),W.nodeType===3&&(E+=W.nodeValue.length),(B=W.firstChild)!==null;)G=W,W=B;for(;;){if(W===n)break t;if(G===s&&++j===h&&(S=E),G===x&&++J===u&&(D=E),(B=W.nextSibling)!==null)break;W=G,G=W.parentNode}W=B}s=S===-1||D===-1?null:{start:S,end:D}}else s=null}s=s||{start:0,end:0}}else s=null;for(qc={focusedElem:n,selectionRange:s},nl=!1,nt=a;nt!==null;)if(a=nt,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,nt=n;else for(;nt!==null;){switch(a=nt,x=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(s=0;s<n.length;s++)h=n[s],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&x!==null){n=void 0,s=a,h=x.memoizedProps,x=x.memoizedState,u=s.stateNode;try{var ne=Ri(s.type,h);n=u.getSnapshotBeforeUpdate(ne,x),u.__reactInternalSnapshotBeforeUpdate=n}catch(re){Ce(s,s.return,re)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,s=n.nodeType,s===9)Yc(n);else if(s===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Yc(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(o(163))}if(n=a.sibling,n!==null){n.return=a.return,nt=n;break}nt=a.return}}function Om(n,a,s){var u=s.flags;switch(s.tag){case 0:case 11:case 15:An(n,s),u&4&&fo(5,s);break;case 1:if(An(n,s),u&4)if(n=s.stateNode,a===null)try{n.componentDidMount()}catch(E){Ce(s,s.return,E)}else{var h=Ri(s.type,a.memoizedProps);a=a.memoizedState;try{n.componentDidUpdate(h,a,n.__reactInternalSnapshotBeforeUpdate)}catch(E){Ce(s,s.return,E)}}u&64&&Um(s),u&512&&mo(s,s.return);break;case 3:if(An(n,s),u&64&&(n=s.updateQueue,n!==null)){if(a=null,s.child!==null)switch(s.child.tag){case 27:case 5:a=s.child.stateNode;break;case 1:a=s.child.stateNode}try{Nf(n,a)}catch(E){Ce(s,s.return,E)}}break;case 27:a===null&&u&4&&zm(s);case 26:case 5:An(n,s),a===null&&u&4&&Gm(s),u&512&&mo(s,s.return);break;case 12:An(n,s);break;case 31:An(n,s),u&4&&$m(n,s);break;case 13:An(n,s),u&4&&Ym(n,s),u&64&&(n=s.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(s=fb.bind(null,s),Db(n,s))));break;case 22:if(u=s.memoizedState!==null||Tn,!u){a=a!==null&&a.memoizedState!==null||Ke,h=Tn;var x=Ke;Tn=u,(Ke=a)&&!x?_n(n,s,(s.subtreeFlags&8772)!==0):An(n,s),Tn=h,Ke=x}break;case 30:break;default:An(n,s)}}function qm(n){var a=n.alternate;a!==null&&(n.alternate=null,qm(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Wl(a)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Ue=null,gt=!1;function Sn(n,a,s){for(s=s.child;s!==null;)Fm(n,a,s),s=s.sibling}function Fm(n,a,s){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(Ha,s)}catch{}switch(s.tag){case 26:Ke||rn(s,a),Sn(n,a,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:Ke||rn(s,a);var u=Ue,h=gt;ti(s.type)&&(Ue=s.stateNode,gt=!1),Sn(n,a,s),Eo(s.stateNode),Ue=u,gt=h;break;case 5:Ke||rn(s,a);case 6:if(u=Ue,h=gt,Ue=null,Sn(n,a,s),Ue=u,gt=h,Ue!==null)if(gt)try{(Ue.nodeType===9?Ue.body:Ue.nodeName==="HTML"?Ue.ownerDocument.body:Ue).removeChild(s.stateNode)}catch(x){Ce(s,a,x)}else try{Ue.removeChild(s.stateNode)}catch(x){Ce(s,a,x)}break;case 18:Ue!==null&&(gt?(n=Ue,Up(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,s.stateNode),wa(n)):Up(Ue,s.stateNode));break;case 4:u=Ue,h=gt,Ue=s.stateNode.containerInfo,gt=!0,Sn(n,a,s),Ue=u,gt=h;break;case 0:case 11:case 14:case 15:Jn(2,s,a),Ke||Jn(4,s,a),Sn(n,a,s);break;case 1:Ke||(rn(s,a),u=s.stateNode,typeof u.componentWillUnmount=="function"&&jm(s,a,u)),Sn(n,a,s);break;case 21:Sn(n,a,s);break;case 22:Ke=(u=Ke)||s.memoizedState!==null,Sn(n,a,s),Ke=u;break;default:Sn(n,a,s)}}function $m(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{wa(n)}catch(s){Ce(a,a.return,s)}}}function Ym(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{wa(n)}catch(s){Ce(a,a.return,s)}}function ab(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new Bm),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new Bm),a;default:throw Error(o(435,n.tag))}}function Hs(n,a){var s=ab(n);a.forEach(function(u){if(!s.has(u)){s.add(u);var h=mb.bind(null,n,u);u.then(h,h)}})}function yt(n,a){var s=a.deletions;if(s!==null)for(var u=0;u<s.length;u++){var h=s[u],x=n,E=a,S=E;e:for(;S!==null;){switch(S.tag){case 27:if(ti(S.type)){Ue=S.stateNode,gt=!1;break e}break;case 5:Ue=S.stateNode,gt=!1;break e;case 3:case 4:Ue=S.stateNode.containerInfo,gt=!0;break e}S=S.return}if(Ue===null)throw Error(o(160));Fm(x,E,h),Ue=null,gt=!1,x=h.alternate,x!==null&&(x.return=null),h.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Jm(a,n),a=a.sibling}var Qt=null;function Jm(n,a){var s=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:yt(a,n),xt(n),u&4&&(Jn(3,n,n.return),fo(3,n),Jn(5,n,n.return));break;case 1:yt(a,n),xt(n),u&512&&(Ke||s===null||rn(s,s.return)),u&64&&Tn&&(n=n.updateQueue,n!==null&&(u=n.callbacks,u!==null&&(s=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=s===null?u:s.concat(u))));break;case 26:var h=Qt;if(yt(a,n),xt(n),u&512&&(Ke||s===null||rn(s,s.return)),u&4){var x=s!==null?s.memoizedState:null;if(u=n.memoizedState,s===null)if(u===null)if(n.stateNode===null){e:{u=n.type,s=n.memoizedProps,h=h.ownerDocument||h;t:switch(u){case"title":x=h.getElementsByTagName("title")[0],(!x||x[Ga]||x[at]||x.namespaceURI==="http://www.w3.org/2000/svg"||x.hasAttribute("itemprop"))&&(x=h.createElement(u),h.head.insertBefore(x,h.querySelector("head > title"))),rt(x,u,s),x[at]=n,tt(x),u=x;break e;case"link":var E=Jp("link","href",h).get(u+(s.href||""));if(E){for(var S=0;S<E.length;S++)if(x=E[S],x.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&x.getAttribute("rel")===(s.rel==null?null:s.rel)&&x.getAttribute("title")===(s.title==null?null:s.title)&&x.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){E.splice(S,1);break t}}x=h.createElement(u),rt(x,u,s),h.head.appendChild(x);break;case"meta":if(E=Jp("meta","content",h).get(u+(s.content||""))){for(S=0;S<E.length;S++)if(x=E[S],x.getAttribute("content")===(s.content==null?null:""+s.content)&&x.getAttribute("name")===(s.name==null?null:s.name)&&x.getAttribute("property")===(s.property==null?null:s.property)&&x.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&x.getAttribute("charset")===(s.charSet==null?null:s.charSet)){E.splice(S,1);break t}}x=h.createElement(u),rt(x,u,s),h.head.appendChild(x);break;default:throw Error(o(468,u))}x[at]=n,tt(x),u=x}n.stateNode=u}else Kp(h,n.type,n.stateNode);else n.stateNode=Yp(h,u,n.memoizedProps);else x!==u?(x===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):x.count--,u===null?Kp(h,n.type,n.stateNode):Yp(h,u,n.memoizedProps)):u===null&&n.stateNode!==null&&vc(n,n.memoizedProps,s.memoizedProps)}break;case 27:yt(a,n),xt(n),u&512&&(Ke||s===null||rn(s,s.return)),s!==null&&u&4&&vc(n,n.memoizedProps,s.memoizedProps);break;case 5:if(yt(a,n),xt(n),u&512&&(Ke||s===null||rn(s,s.return)),n.flags&32){h=n.stateNode;try{qi(h,"")}catch(ne){Ce(n,n.return,ne)}}u&4&&n.stateNode!=null&&(h=n.memoizedProps,vc(n,h,s!==null?s.memoizedProps:h)),u&1024&&(Ec=!0);break;case 6:if(yt(a,n),xt(n),u&4){if(n.stateNode===null)throw Error(o(162));u=n.memoizedProps,s=n.stateNode;try{s.nodeValue=u}catch(ne){Ce(n,n.return,ne)}}break;case 3:if(Ws=null,h=Qt,Qt=Xs(a.containerInfo),yt(a,n),Qt=h,xt(n),u&4&&s!==null&&s.memoizedState.isDehydrated)try{wa(a.containerInfo)}catch(ne){Ce(n,n.return,ne)}Ec&&(Ec=!1,Km(n));break;case 4:u=Qt,Qt=Xs(n.stateNode.containerInfo),yt(a,n),xt(n),Qt=u;break;case 12:yt(a,n),xt(n);break;case 31:yt(a,n),xt(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,Hs(n,u)));break;case 13:yt(a,n),xt(n),n.child.flags&8192&&n.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(js=Tt()),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,Hs(n,u)));break;case 22:h=n.memoizedState!==null;var D=s!==null&&s.memoizedState!==null,j=Tn,J=Ke;if(Tn=j||h,Ke=J||D,yt(a,n),Ke=J,Tn=j,xt(n),u&8192)e:for(a=n.stateNode,a._visibility=h?a._visibility&-2:a._visibility|1,h&&(s===null||D||Tn||Ke||Mi(n)),s=null,a=n;;){if(a.tag===5||a.tag===26){if(s===null){D=s=a;try{if(x=D.stateNode,h)E=x.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{S=D.stateNode;var W=D.memoizedProps.style,G=W!=null&&W.hasOwnProperty("display")?W.display:null;S.style.display=G==null||typeof G=="boolean"?"":(""+G).trim()}}catch(ne){Ce(D,D.return,ne)}}}else if(a.tag===6){if(s===null){D=a;try{D.stateNode.nodeValue=h?"":D.memoizedProps}catch(ne){Ce(D,D.return,ne)}}}else if(a.tag===18){if(s===null){D=a;try{var B=D.stateNode;h?jp(B,!0):jp(D.stateNode,!1)}catch(ne){Ce(D,D.return,ne)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;s===a&&(s=null),a=a.return}s===a&&(s=null),a.sibling.return=a.return,a=a.sibling}u&4&&(u=n.updateQueue,u!==null&&(s=u.retryQueue,s!==null&&(u.retryQueue=null,Hs(n,s))));break;case 19:yt(a,n),xt(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,Hs(n,u)));break;case 30:break;case 21:break;default:yt(a,n),xt(n)}}function xt(n){var a=n.flags;if(a&2){try{for(var s,u=n.return;u!==null;){if(Vm(u)){s=u;break}u=u.return}if(s==null)throw Error(o(160));switch(s.tag){case 27:var h=s.stateNode,x=bc(n);Ps(n,x,h);break;case 5:var E=s.stateNode;s.flags&32&&(qi(E,""),s.flags&=-33);var S=bc(n);Ps(n,S,E);break;case 3:case 4:var D=s.stateNode.containerInfo,j=bc(n);wc(n,j,D);break;default:throw Error(o(161))}}catch(J){Ce(n,n.return,J)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function Km(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;Km(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function An(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Om(n,a.alternate,a),a=a.sibling}function Mi(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:Jn(4,a,a.return),Mi(a);break;case 1:rn(a,a.return);var s=a.stateNode;typeof s.componentWillUnmount=="function"&&jm(a,a.return,s),Mi(a);break;case 27:Eo(a.stateNode);case 26:case 5:rn(a,a.return),Mi(a);break;case 22:a.memoizedState===null&&Mi(a);break;case 30:Mi(a);break;default:Mi(a)}n=n.sibling}}function _n(n,a,s){for(s=s&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var u=a.alternate,h=n,x=a,E=x.flags;switch(x.tag){case 0:case 11:case 15:_n(h,x,s),fo(4,x);break;case 1:if(_n(h,x,s),u=x,h=u.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(j){Ce(u,u.return,j)}if(u=x,h=u.updateQueue,h!==null){var S=u.stateNode;try{var D=h.shared.hiddenCallbacks;if(D!==null)for(h.shared.hiddenCallbacks=null,h=0;h<D.length;h++)_f(D[h],S)}catch(j){Ce(u,u.return,j)}}s&&E&64&&Um(x),mo(x,x.return);break;case 27:zm(x);case 26:case 5:_n(h,x,s),s&&u===null&&E&4&&Gm(x),mo(x,x.return);break;case 12:_n(h,x,s);break;case 31:_n(h,x,s),s&&E&4&&$m(h,x);break;case 13:_n(h,x,s),s&&E&4&&Ym(h,x);break;case 22:x.memoizedState===null&&_n(h,x,s),mo(x,x.return);break;case 30:break;default:_n(h,x,s)}a=a.sibling}}function Tc(n,a){var s=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==s&&(n!=null&&n.refCount++,s!=null&&Wa(s))}function Sc(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Wa(n))}function Wt(n,a,s,u){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Xm(n,a,s,u),a=a.sibling}function Xm(n,a,s,u){var h=a.flags;switch(a.tag){case 0:case 11:case 15:Wt(n,a,s,u),h&2048&&fo(9,a);break;case 1:Wt(n,a,s,u);break;case 3:Wt(n,a,s,u),h&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Wa(n)));break;case 12:if(h&2048){Wt(n,a,s,u),n=a.stateNode;try{var x=a.memoizedProps,E=x.id,S=x.onPostCommit;typeof S=="function"&&S(E,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(D){Ce(a,a.return,D)}}else Wt(n,a,s,u);break;case 31:Wt(n,a,s,u);break;case 13:Wt(n,a,s,u);break;case 23:break;case 22:x=a.stateNode,E=a.alternate,a.memoizedState!==null?x._visibility&2?Wt(n,a,s,u):po(n,a):x._visibility&2?Wt(n,a,s,u):(x._visibility|=2,ua(n,a,s,u,(a.subtreeFlags&10256)!==0||!1)),h&2048&&Tc(E,a);break;case 24:Wt(n,a,s,u),h&2048&&Sc(a.alternate,a);break;default:Wt(n,a,s,u)}}function ua(n,a,s,u,h){for(h=h&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var x=n,E=a,S=s,D=u,j=E.flags;switch(E.tag){case 0:case 11:case 15:ua(x,E,S,D,h),fo(8,E);break;case 23:break;case 22:var J=E.stateNode;E.memoizedState!==null?J._visibility&2?ua(x,E,S,D,h):po(x,E):(J._visibility|=2,ua(x,E,S,D,h)),h&&j&2048&&Tc(E.alternate,E);break;case 24:ua(x,E,S,D,h),h&&j&2048&&Sc(E.alternate,E);break;default:ua(x,E,S,D,h)}a=a.sibling}}function po(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var s=n,u=a,h=u.flags;switch(u.tag){case 22:po(s,u),h&2048&&Tc(u.alternate,u);break;case 24:po(s,u),h&2048&&Sc(u.alternate,u);break;default:po(s,u)}a=a.sibling}}var ho=8192;
vendor: 5,021 bytes, line 25
25function da(n,a,s){if(n.subtreeFlags&ho)for(n=n.child;n!==null;)Qm(n,a,s),n=n.sibling}function Qm(n,a,s){switch(n.tag){case 26:da(n,a,s),n.flags&ho&&n.memoizedState!==null&&qb(s,Qt,n.memoizedState,n.memoizedProps);break;case 5:da(n,a,s);break;case 3:case 4:var u=Qt;Qt=Xs(n.stateNode.containerInfo),da(n,a,s),Qt=u;break;case 22:n.memoizedState===null&&(u=n.alternate,u!==null&&u.memoizedState!==null?(u=ho,ho=16777216,da(n,a,s),ho=u):da(n,a,s));break;default:da(n,a,s)}}function Wm(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function go(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var u=a[s];nt=u,ep(u,n)}Wm(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Zm(n),n=n.sibling}function Zm(n){switch(n.tag){case 0:case 11:case 15:go(n),n.flags&2048&&Jn(9,n,n.return);break;case 3:go(n);break;case 12:go(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,Us(n)):go(n);break;default:go(n)}}function Us(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var u=a[s];nt=u,ep(u,n)}Wm(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:Jn(8,a,a.return),Us(a);break;case 22:s=a.stateNode,s._visibility&2&&(s._visibility&=-3,Us(a));break;default:Us(a)}n=n.sibling}}function ep(n,a){for(;nt!==null;){var s=nt;switch(s.tag){case 0:case 11:case 15:Jn(8,s,a);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var u=s.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:Wa(s.memoizedState.cache)}if(u=s.child,u!==null)u.return=s,nt=u;else e:for(s=n;nt!==null;){u=nt;var h=u.sibling,x=u.return;if(qm(u),u===s){nt=null;break e}if(h!==null){h.return=x,nt=h;break e}nt=x}}}var ob={getCacheForType:function(n){var a=st($e),s=a.data.get(n);return s===void 0&&(s=n(),a.data.set(n,s)),s},cacheSignal:function(){return st($e).controller.signal}},sb=typeof WeakMap=="function"?WeakMap:Map,_e=0,De=null,ge=null,xe=0,Ne=0,Rt=null,Kn=!1,fa=!1,Ac=!1,Nn=0,Ve=0,Xn=0,Di=0,_c=0,Mt=0,ma=0,yo=null,vt=null,Nc=!1,js=0,tp=0,Gs=1/0,Vs=null,Qn=null,Qe=0,Wn=null,pa=null,Cn=0,Cc=0,Ic=null,np=null,xo=0,Rc=null;function Dt(){return(_e&2)!==0&&xe!==0?xe&-xe:z.T!==null?Hc():yd()}function ip(){if(Mt===0)if((xe&536870912)===0||we){var n=Jo;Jo<<=1,(Jo&3932160)===0&&(Jo=262144),Mt=n}else Mt=536870912;return n=Ct.current,n!==null&&(n.flags|=32),Mt}function bt(n,a,s){(n===De&&(Ne===2||Ne===9)||n.cancelPendingCommit!==null)&&(ha(n,0),Zn(n,xe,Mt,!1)),ja(n,s),((_e&2)===0||n!==De)&&(n===De&&((_e&2)===0&&(Di|=s),Ve===4&&Zn(n,xe,Mt,!1)),cn(n))}function ap(n,a,s){if((_e&6)!==0)throw Error(o(327));var u=!s&&(a&127)===0&&(a&n.expiredLanes)===0||Ua(n,a),h=u?cb(n,a):Dc(n,a,!0),x=u;do{if(h===0){fa&&!u&&Zn(n,a,0,!1);break}else{if(s=n.current.alternate,x&&!lb(s)){h=Dc(n,a,!1),x=!1;continue}if(h===2){if(x=a,n.errorRecoveryDisabledLanes&x)var E=0;else E=n.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){a=E;e:{var S=n;h=yo;var D=S.current.memoizedState.isDehydrated;if(D&&(ha(S,E).flags|=256),E=Dc(S,E,!1),E!==2){if(Ac&&!D){S.errorRecoveryDisabledLanes|=x,Di|=x,h=4;break e}x=vt,vt=h,x!==null&&(vt===null?vt=x:vt.push.apply(vt,x))}h=E}if(x=!1,h!==2)continue}}if(h===1){ha(n,0),Zn(n,a,0,!0);break}e:{switch(u=n,x=h,x){case 0:case 1:throw Error(o(345));case 4:if((a&4194048)!==a)break;case 6:Zn(u,a,Mt,!Kn);break e;case 2:vt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((a&62914560)===a&&(h=js+300-Tt(),10<h)){if(Zn(u,a,Mt,!Kn),Xo(u,0,!0)!==0)break e;Cn=a,u.timeoutHandle=Pp(op.bind(null,u,s,vt,Vs,Nc,a,Mt,Di,ma,Kn,x,"Throttled",-0,0),h);break e}op(u,s,vt,Vs,Nc,a,Mt,Di,ma,Kn,x,null,-0,0)}}break}while(!0);cn(n)}function op(n,a,s,u,h,x,E,S,D,j,J,W,G,B){if(n.timeoutHandle=-1,W=a.subtreeFlags,W&8192||(W&16785408)===16785408){W={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:mn},Qm(a,x,W);var ne=(x&62914560)===x?js-Tt():(x&4194048)===x?tp-Tt():0;if(ne=Fb(W,ne),ne!==null){Cn=x,n.cancelPendingCommit=ne(mp.bind(null,n,a,x,s,u,h,E,S,D,J,W,null,G,B)),Zn(n,x,E,!j);return}}mp(n,a,x,s,u,h,E,S,D)}function lb(n){for(var a=n;;){var s=a.tag;if((s===0||s===11||s===15)&&a.flags&16384&&(s=a.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var u=0;u<s.length;u++){var h=s[u],x=h.getSnapshot;h=h.value;try{if(!_t(x(),h))return!1}catch{return!1}}if(s=a.child,a.subtreeFlags&16384&&s!==null)s.return=a,a=s;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Zn(n,a,s,u){a&=~_c,a&=~Di,n.suspendedLanes|=a,n.pingedLanes&=~a,u&&(n.warmLanes|=a),u=n.expirationTimes;for(var h=a;0<h;){var x=31-At(h),E=1<<x;u[x]=-1,h&=~E}s!==0&&pd(n,s,a)}function zs(){return(_e&6)===0?(vo(0),!1):!0}function Mc(){if(ge!==null){if(Ne===0)var n=ge.return;else n=ge,yn=Ti=null,Yr(n),oa=null,eo=0,n=ge;
vendor: 4,918 bytes, line 25
25for(;n!==null;)Hm(n.alternate,n),n=n.return;ge=null}}function ha(n,a){var s=n.timeoutHandle;s!==-1&&(n.timeoutHandle=-1,Nb(s)),s=n.cancelPendingCommit,s!==null&&(n.cancelPendingCommit=null,s()),Cn=0,Mc(),De=n,ge=s=hn(n.current,null),xe=a,Ne=0,Rt=null,Kn=!1,fa=Ua(n,a),Ac=!1,ma=Mt=_c=Di=Xn=Ve=0,vt=yo=null,Nc=!1,(a&8)!==0&&(a|=a&32);var u=n.entangledLanes;if(u!==0)for(n=n.entanglements,u&=a;0<u;){var h=31-At(u),x=1<<h;a|=n[h],u&=~x}return Nn=a,rs(),s}function sp(n,a){me=null,z.H=ro,a===aa||a===gs?(a=Ef(),Ne=3):a===Pr?(a=Ef(),Ne=4):Ne=a===cc?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Rt=a,ge===null&&(Ve=1,Rs(n,Ut(a,n.current)))}function lp(){var n=Ct.current;return n===null?!0:(xe&4194048)===xe?zt===null:(xe&62914560)===xe||(xe&536870912)!==0?n===zt:!1}function rp(){var n=z.H;return z.H=ro,n===null?ro:n}function cp(){var n=z.A;return z.A=ob,n}function Bs(){Ve=4,Kn||(xe&4194048)!==xe&&Ct.current!==null||(fa=!0),(Xn&134217727)===0&&(Di&134217727)===0||De===null||Zn(De,xe,Mt,!1)}function Dc(n,a,s){var u=_e;_e|=2;var h=rp(),x=cp();(De!==n||xe!==a)&&(Vs=null,ha(n,a)),a=!1;var E=Ve;e:do try{if(Ne!==0&&ge!==null){var S=ge,D=Rt;switch(Ne){case 8:Mc(),E=6;break e;case 3:case 2:case 9:case 6:Ct.current===null&&(a=!0);var j=Ne;if(Ne=0,Rt=null,ga(n,S,D,j),s&&fa){E=0;break e}break;default:j=Ne,Ne=0,Rt=null,ga(n,S,D,j)}}rb(),E=Ve;break}catch(J){sp(n,J)}while(!0);return a&&n.shellSuspendCounter++,yn=Ti=null,_e=u,z.H=h,z.A=x,ge===null&&(De=null,xe=0,rs()),E}function rb(){for(;ge!==null;)up(ge)}function cb(n,a){var s=_e;_e|=2;var u=rp(),h=cp();De!==n||xe!==a?(Vs=null,Gs=Tt()+500,ha(n,a)):fa=Ua(n,a);e:do try{if(Ne!==0&&ge!==null){a=ge;var x=Rt;t:switch(Ne){case 1:Ne=0,Rt=null,ga(n,a,x,1);break;case 2:case 9:if(bf(x)){Ne=0,Rt=null,dp(a);break}a=function(){Ne!==2&&Ne!==9||De!==n||(Ne=7),cn(n)},x.then(a,a);break e;case 3:Ne=7;break e;case 4:Ne=5;break e;case 7:bf(x)?(Ne=0,Rt=null,dp(a)):(Ne=0,Rt=null,ga(n,a,x,7));break;case 5:var E=null;switch(ge.tag){case 26:E=ge.memoizedState;case 5:case 27:var S=ge;if(E?Xp(E):S.stateNode.complete){Ne=0,Rt=null;var D=S.sibling;if(D!==null)ge=D;else{var j=S.return;j!==null?(ge=j,Os(j)):ge=null}break t}}Ne=0,Rt=null,ga(n,a,x,5);break;case 6:Ne=0,Rt=null,ga(n,a,x,6);break;case 8:Mc(),Ve=6;break e;default:throw Error(o(462))}}ub();break}catch(J){sp(n,J)}while(!0);return yn=Ti=null,z.H=u,z.A=h,_e=s,ge!==null?0:(De=null,xe=0,rs(),Ve)}function ub(){for(;ge!==null&&!kx();)up(ge)}function up(n){var a=Lm(n.alternate,n,Nn);n.memoizedProps=n.pendingProps,a===null?Os(n):ge=a}function dp(n){var a=n,s=a.alternate;switch(a.tag){case 15:case 0:a=Cm(s,a,a.pendingProps,a.type,void 0,xe);break;case 11:a=Cm(s,a,a.pendingProps,a.type.render,a.ref,xe);break;case 5:Yr(a);default:Hm(s,a),a=ge=cf(a,Nn),a=Lm(s,a,Nn)}n.memoizedProps=n.pendingProps,a===null?Os(n):ge=a}function ga(n,a,s,u){yn=Ti=null,Yr(a),oa=null,eo=0;var h=a.return;try{if(Wv(n,h,a,s,xe)){Ve=1,Rs(n,Ut(s,n.current)),ge=null;return}}catch(x){if(h!==null)throw ge=h,x;Ve=1,Rs(n,Ut(s,n.current)),ge=null;return}a.flags&32768?(we||u===1?n=!0:fa||(xe&536870912)!==0?n=!1:(Kn=n=!0,(u===2||u===9||u===3||u===6)&&(u=Ct.current,u!==null&&u.tag===13&&(u.flags|=16384))),fp(a,n)):Os(a)}function Os(n){var a=n;do{if((a.flags&32768)!==0){fp(a,Kn);return}n=a.return;var s=tb(a.alternate,a,Nn);if(s!==null){ge=s;return}if(a=a.sibling,a!==null){ge=a;return}ge=a=n}while(a!==null);Ve===0&&(Ve=5)}function fp(n,a){do{var s=nb(n.alternate,n);if(s!==null){s.flags&=32767,ge=s;return}if(s=n.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!a&&(n=n.sibling,n!==null)){ge=n;return}ge=n=s}while(n!==null);Ve=6,ge=null}function mp(n,a,s,u,h,x,E,S,D){n.cancelPendingCommit=null;do qs();while(Qe!==0);if((_e&6)!==0)throw Error(o(327));if(a!==null){if(a===n.current)throw Error(o(177));if(x=a.lanes|a.childLanes,x|=br,Ox(n,s,x,E,S,D),n===De&&(ge=De=null,xe=0),pa=a,Wn=n,Cn=s,Cc=x,Ic=h,np=u,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,pb($o,function(){return xp(),null})):(n.callbackNode=null,n.callbackPriority=0),u=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||u){u=z.T,z.T=null,h=V.p,V.p=2,E=_e,_e|=4;try{ib(n,a,s)}finally{_e=E,V.p=h,z.T=u}}Qe=1,pp(),hp(),gp()}}function pp(){if(Qe===1){Qe=0;var n=Wn,a=pa,s=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||s){s=z.T,z.T=null;var u=V.p;V.p=2;var h=_e;_e|=4;try{Jm(a,n);var x=qc,E=Zd(n.containerInfo),S=x.focusedElem,D=x.selectionRange;if(E!==S&&S&&S.ownerDocument&&Wd(S.ownerDocument.documentElement,S)){if(D!==null&&hr(S)){var j=D.start,J=D.end;if(J===void 0&&(J=j),"selectionStart"in S)S.selectionStart=j,S.selectionEnd=Math.min(J,S.value.length);else{var W=S.ownerDocument||document,G=W&&W.defaultView||window;if(G.getSelection){var B=G.getSelection(),ne=S.textContent.length,re=Math.min(D.start,ne),Me=D.end===void 0?re:Math.min(D.end,ne);!B.extend&&re>Me&&(E=Me,Me=re,re=E);var H=Qd(S,re),k=Qd(S,Me);
vendor: 15,212 bytes, lines 25-26
25if(H&&k&&(B.rangeCount!==1||B.anchorNode!==H.node||B.anchorOffset!==H.offset||B.focusNode!==k.node||B.focusOffset!==k.offset)){var U=W.createRange();U.setStart(H.node,H.offset),B.removeAllRanges(),re>Me?(B.addRange(U),B.extend(k.node,k.offset)):(U.setEnd(k.node,k.offset),B.addRange(U))}}}}for(W=[],B=S;B=B.parentNode;)B.nodeType===1&&W.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<W.length;S++){var X=W[S];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}nl=!!Oc,qc=Oc=null}finally{_e=h,V.p=u,z.T=s}}n.current=a,Qe=2}}function hp(){if(Qe===2){Qe=0;var n=Wn,a=pa,s=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||s){s=z.T,z.T=null;var u=V.p;V.p=2;var h=_e;_e|=4;try{Om(n,a.alternate,a)}finally{_e=h,V.p=u,z.T=s}}Qe=3}}function gp(){if(Qe===4||Qe===3){Qe=0,Lx();var n=Wn,a=pa,s=Cn,u=np;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?Qe=5:(Qe=0,pa=Wn=null,yp(n,n.pendingLanes));var h=n.pendingLanes;if(h===0&&(Qn=null),Xl(s),a=a.stateNode,St&&typeof St.onCommitFiberRoot=="function")try{St.onCommitFiberRoot(Ha,a,void 0,(a.current.flags&128)===128)}catch{}if(u!==null){a=z.T,h=V.p,V.p=2,z.T=null;try{for(var x=n.onRecoverableError,E=0;E<u.length;E++){var S=u[E];x(S.value,{componentStack:S.stack})}}finally{z.T=a,V.p=h}}(Cn&3)!==0&&qs(),cn(n),h=n.pendingLanes,(s&261930)!==0&&(h&42)!==0?n===Rc?xo++:(xo=0,Rc=n):xo=0,vo(0)}}function yp(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,Wa(a)))}function qs(){return pp(),hp(),gp(),xp()}function xp(){if(Qe!==5)return!1;var n=Wn,a=Cc;Cc=0;var s=Xl(Cn),u=z.T,h=V.p;try{V.p=32>s?32:s,z.T=null,s=Ic,Ic=null;var x=Wn,E=Cn;if(Qe=0,pa=Wn=null,Cn=0,(_e&6)!==0)throw Error(o(331));var S=_e;if(_e|=4,Zm(x.current),Xm(x,x.current,E,s),_e=S,vo(0,!1),St&&typeof St.onPostCommitFiberRoot=="function")try{St.onPostCommitFiberRoot(Ha,x)}catch{}return!0}finally{V.p=h,z.T=u,yp(n,a)}}function vp(n,a,s){a=Ut(s,a),a=rc(n.stateNode,a,2),n=Fn(n,a,2),n!==null&&(ja(n,2),cn(n))}function Ce(n,a,s){if(n.tag===3)vp(n,n,s);else for(;a!==null;){if(a.tag===3){vp(a,n,s);break}else if(a.tag===1){var u=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Qn===null||!Qn.has(u))){n=Ut(s,n),s=bm(2),u=Fn(a,s,2),u!==null&&(wm(s,u,a,n),ja(u,2),cn(u));break}}a=a.return}}function kc(n,a,s){var u=n.pingCache;if(u===null){u=n.pingCache=new sb;var h=new Set;u.set(a,h)}else h=u.get(a),h===void 0&&(h=new Set,u.set(a,h));h.has(s)||(Ac=!0,h.add(s),n=db.bind(null,n,a,s),a.then(n,n))}function db(n,a,s){var u=n.pingCache;u!==null&&u.delete(a),n.pingedLanes|=n.suspendedLanes&s,n.warmLanes&=~s,De===n&&(xe&s)===s&&(Ve===4||Ve===3&&(xe&62914560)===xe&&300>Tt()-js?(_e&2)===0&&ha(n,0):_c|=s,ma===xe&&(ma=0)),cn(n)}function bp(n,a){a===0&&(a=md()),n=bi(n,a),n!==null&&(ja(n,a),cn(n))}function fb(n){var a=n.memoizedState,s=0;a!==null&&(s=a.retryLane),bp(n,s)}function mb(n,a){var s=0;switch(n.tag){case 31:case 13:var u=n.stateNode,h=n.memoizedState;h!==null&&(s=h.retryLane);break;case 19:u=n.stateNode;break;case 22:u=n.stateNode._retryCache;break;default:throw Error(o(314))}u!==null&&u.delete(a),bp(n,s)}function pb(n,a){return $l(n,a)}var Fs=null,ya=null,Lc=!1,$s=!1,Pc=!1,ei=0;function cn(n){n!==ya&&n.next===null&&(ya===null?Fs=ya=n:ya=ya.next=n),$s=!0,Lc||(Lc=!0,gb())}function vo(n,a){if(!Pc&&$s){Pc=!0;do for(var s=!1,u=Fs;u!==null;){if(n!==0){var h=u.pendingLanes;if(h===0)var x=0;else{var E=u.suspendedLanes,S=u.pingedLanes;x=(1<<31-At(42|n)+1)-1,x&=h&~(E&~S),x=x&201326741?x&201326741|1:x?x|2:0}x!==0&&(s=!0,Sp(u,x))}else x=xe,x=Xo(u,u===De?x:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(x&3)===0||Ua(u,x)||(s=!0,Sp(u,x));u=u.next}while(s);Pc=!1}}function hb(){wp()}function wp(){$s=Lc=!1;var n=0;ei!==0&&_b()&&(n=ei);for(var a=Tt(),s=null,u=Fs;u!==null;){var h=u.next,x=Ep(u,a);x===0?(u.next=null,s===null?Fs=h:s.next=h,h===null&&(ya=s)):(s=u,(n!==0||(x&3)!==0)&&($s=!0)),u=h}Qe!==0&&Qe!==5||vo(n),ei!==0&&(ei=0)}function Ep(n,a){for(var s=n.suspendedLanes,u=n.pingedLanes,h=n.expirationTimes,x=n.pendingLanes&-62914561;0<x;){var E=31-At(x),S=1<<E,D=h[E];D===-1?((S&s)===0||(S&u)!==0)&&(h[E]=Bx(S,a)):D<=a&&(n.expiredLanes|=S),x&=~S}if(a=De,s=xe,s=Xo(n,n===a?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u=n.callbackNode,s===0||n===a&&(Ne===2||Ne===9)||n.cancelPendingCommit!==null)return u!==null&&u!==null&&Yl(u),n.callbackNode=null,n.callbackPriority=0;if((s&3)===0||Ua(n,s)){if(a=s&-s,a===n.callbackPriority)return a;switch(u!==null&&Yl(u),Xl(s)){case 2:case 8:s=dd;break;case 32:s=$o;break;case 268435456:s=fd;break;default:s=$o}return u=Tp.bind(null,n),s=$l(s,u),n.callbackPriority=a,n.callbackNode=s,a}return u!==null&&u!==null&&Yl(u),n.callbackPriority=2,n.callbackNode=null,2}function Tp(n,a){if(Qe!==0&&Qe!==5)return n.callbackNode=null,n.callbackPriority=0,null;var s=n.callbackNode;if(qs()&&n.callbackNode!==s)return null;var u=xe;return u=Xo(n,n===De?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u===0?null:(ap(n,u,a),Ep(n,Tt()),n.callbackNode!=null&&n.callbackNode===s?Tp.bind(null,n):null)}function Sp(n,a){if(qs())return null;ap(n,a,!0)}function gb(){Cb(function(){(_e&6)!==0?$l(ud,hb):wp()})}function Hc(){if(ei===0){var n=na;n===0&&(n=Yo,Yo<<=1,(Yo&261888)===0&&(Yo=256)),ei=n}return ei}function Ap(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:es(""+n)}function _p(n,a){var s=a.ownerDocument.createElement("input");return s.name=a.name,s.value=a.value,n.id&&s.setAttribute("form",n.id),a.parentNode.insertBefore(s,a),n=new FormData(n),s.parentNode.removeChild(s),n}function yb(n,a,s,u,h){if(a==="submit"&&s&&s.stateNode===h){var x=Ap((h[pt]||null).action),E=u.submitter;E&&(a=(a=E[pt]||null)?Ap(a.formAction):E.getAttribute("formAction"),a!==null&&(x=a,E=null));var S=new as("action","action",null,u,h);n.push({event:S,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(ei!==0){var D=E?_p(h,E):new FormData(h);nc(s,{pending:!0,data:D,method:h.method,action:x},null,D)}}else typeof x=="function"&&(S.preventDefault(),D=E?_p(h,E):new FormData(h),nc(s,{pending:!0,data:D,method:h.method,action:x},x,D))},currentTarget:h}]})}}for(var Uc=0;Uc<vr.length;Uc++){var jc=vr[Uc],xb=jc.toLowerCase(),vb=jc[0].toUpperCase()+jc.slice(1);Xt(xb,"on"+vb)}Xt(nf,"onAnimationEnd"),Xt(af,"onAnimationIteration"),Xt(of,"onAnimationStart"),Xt("dblclick","onDoubleClick"),Xt("focusin","onFocus"),Xt("focusout","onBlur"),Xt(Pv,"onTransitionRun"),Xt(Hv,"onTransitionStart"),Xt(Uv,"onTransitionCancel"),Xt(sf,"onTransitionEnd"),Bi("onMouseEnter",["mouseout","mouseover"]),Bi("onMouseLeave",["mouseout","mouseover"]),Bi("onPointerEnter",["pointerout","pointerover"]),Bi("onPointerLeave",["pointerout","pointerover"]),gi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),gi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),gi("onBeforeInput",["compositionend","keypress","textInput","paste"]),gi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),gi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),gi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bo="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(" "),bb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bo));function Np(n,a){a=(a&4)!==0;for(var s=0;s<n.length;s++){var u=n[s],h=u.event;u=u.listeners;e:{var x=void 0;if(a)for(var E=u.length-1;0<=E;E--){var S=u[E],D=S.instance,j=S.currentTarget;if(S=S.listener,D!==x&&h.isPropagationStopped())break e;x=S,h.currentTarget=j;try{x(h)}catch(J){ls(J)}h.currentTarget=null,x=D}else for(E=0;E<u.length;E++){if(S=u[E],D=S.instance,j=S.currentTarget,S=S.listener,D!==x&&h.isPropagationStopped())break e;x=S,h.currentTarget=j;try{x(h)}catch(J){ls(J)}h.currentTarget=null,x=D}}}}function ye(n,a){var s=a[Ql];s===void 0&&(s=a[Ql]=new Set);var u=n+"__bubble";s.has(u)||(Cp(a,n,2,!1),s.add(u))}function Gc(n,a,s){var u=0;a&&(u|=4),Cp(s,n,u,a)}var Ys="_reactListening"+Math.random().toString(36).slice(2);function Vc(n){if(!n[Ys]){n[Ys]=!0,bd.forEach(function(s){s!=="selectionchange"&&(bb.has(s)||Gc(s,!1,n),Gc(s,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[Ys]||(a[Ys]=!0,Gc("selectionchange",!1,a))}}function Cp(n,a,s,u){switch(ih(a)){case 2:var h=Jb;break;case 8:h=Kb;break;default:h=tu}s=h.bind(null,a,s,n),h=void 0,!sr||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(h=!0),u?h!==void 0?n.addEventListener(a,s,{capture:!0,passive:h}):n.addEventListener(a,s,!0):h!==void 0?n.addEventListener(a,s,{passive:h}):n.addEventListener(a,s,!1)}function zc(n,a,s,u,h){var x=u;if((a&1)===0&&(a&2)===0&&u!==null)e:for(;;){if(u===null)return;var E=u.tag;if(E===3||E===4){var S=u.stateNode.containerInfo;if(S===h)break;if(E===4)for(E=u.return;E!==null;){var D=E.tag;if((D===3||D===4)&&E.stateNode.containerInfo===h)return;E=E.return}for(;S!==null;){if(E=Gi(S),E===null)return;if(D=E.tag,D===5||D===6||D===26||D===27){u=x=E;continue e}S=S.parentNode}}u=u.return}Dd(function(){var j=x,J=ar(s),W=[];e:{var G=lf.get(n);if(G!==void 0){var B=as,ne=n;switch(n){case"keypress":if(ns(s)===0)break e;case"keydown":case"keyup":B=mv;break;case"focusin":ne="focus",B=ur;break;case"focusout":ne="blur",B=ur;break;case"beforeblur":case"afterblur":B=ur;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=Pd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=tv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=gv;break;case nf:case af:case of:B=av;break;case sf:B=xv;break;case"scroll":case"scrollend":B=Zx;break;case"wheel":B=bv;break;case"copy":case"cut":case"paste":B=sv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=Ud;break;case"toggle":case"beforetoggle":B=Ev}var re=(a&4)!==0,Me=!re&&(n==="scroll"||n==="scrollend"),H=re?G!==null?G+"Capture":null:G;re=[];for(var k=j,U;k!==null;){var X=k;if(U=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||U===null||H===null||(X=za(k,H),X!=null&&re.push(wo(k,X,U))),Me)break;k=k.return}0<re.length&&(G=new B(G,ne,null,s,J),W.push({event:G,listeners:re}))}}if((a&7)===0){e:{if(G=n==="mouseover"||n==="pointerover",B=n==="mouseout"||n==="pointerout",G&&s!==ir&&(ne=s.relatedTarget||s.fromElement)&&(Gi(ne)||ne[ji]))break e;if((B||G)&&(G=J.window===J?J:(G=J.ownerDocument)?G.defaultView||G.parentWindow:window,B?(ne=s.relatedTarget||s.toElement,B=j,ne=ne?Gi(ne):null,ne!==null&&(Me=c(ne),re=ne.tag,ne!==Me||re!==5&&re!==27&&re!==6)&&(ne=null)):(B=null,ne=j),B!==ne)){if(re=Pd,X="onMouseLeave",H="onMouseEnter",k="mouse",(n==="pointerout"||n==="pointerover")&&(re=Ud,X="onPointerLeave",H="onPointerEnter",k="pointer"),Me=B==null?G:Va(B),U=ne==null?G:Va(ne),G=new re(X,k+"leave",B,s,J),G.target=Me,G.relatedTarget=U,X=null,Gi(J)===j&&(re=new re(H,k+"enter",ne,s,J),re.target=U,re.relatedTarget=Me,X=re),Me=X,B&&ne)t:{for(re=wb,H=B,k=ne,U=0,X=H;X;X=re(X))U++;X=0;for(var oe=k;oe;oe=re(oe))X++;for(;0<U-X;)H=re(H),U--;for(;0<X-U;)k=re(k),X--;for(;U--;){if(H===k||k!==null&&H===k.alternate){re=H;break t}H=re(H),k=re(k)}re=null}else re=null;B!==null&&Ip(W,G,B,re,!1),ne!==null&&Me!==null&&Ip(W,Me,ne,re,!0)}}e:{if(G=j?Va(j):window,B=G.nodeName&&G.nodeName.toLowerCase(),B==="select"||B==="input"&&G.type==="file")var Te=Fd;else if(Od(G))if($d)Te=Dv;else{Te=Rv;var ie=Iv}else B=G.nodeName,!B||B.toLowerCase()!=="input"||G.type!=="checkbox"&&G.type!=="radio"?j&&nr(j.elementType)&&(Te=Fd):Te=Mv;if(Te&&(Te=Te(n,j))){qd(W,Te,s,J);break e}ie&&ie(n,G,j),n==="focusout"&&j&&G.type==="number"&&j.memoizedProps.value!=null&&tr(G,"number",G.value)}switch(ie=j?Va(j):window,n){case"focusin":(Od(ie)||ie.contentEditable==="true")&&(Ji=ie,gr=j,Ka=null);break;case"focusout":Ka=gr=Ji=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,ef(W,s,J);break;case"selectionchange":if(Lv)break;case"keydown":case"keyup":ef(W,s,J)}var pe;if(fr)e:{switch(n){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else Yi?zd(n,s)&&(ve="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(ve="onCompositionStart");ve&&(jd&&s.locale!=="ko"&&(Yi||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&Yi&&(pe=kd()):(jn=J,lr="value"in jn?jn.value:jn.textContent,Yi=!0)),ie=Js(j,ve),0<ie.length&&(ve=new Hd(ve,n,null,s,J),W.push({event:ve,listeners:ie}),pe?ve.data=pe:(pe=Bd(s),pe!==null&&(ve.data=pe)))),(pe=Sv?Av(n,s):_v(n,s))&&(ve=Js(j,"onBeforeInput"),0<ve.length&&(ie=new Hd("onBeforeInput","beforeinput",null,s,J),W.push({event:ie,listeners:ve}),ie.data=pe)),yb(W,n,j,s,J)}Np(W,a)})}function wo(n,a,s){return{instance:n,listener:a,currentTarget:s}}function Js(n,a){for(var s=a+"Capture",u=[];n!==null;){var h=n,x=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||x===null||(h=za(n,s),h!=null&&u.unshift(wo(n,h,x)),h=za(n,a),h!=null&&u.push(wo(n,h,x))),n.tag===3)return u;n=n.return}return[]}function wb(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Ip(n,a,s,u,h){for(var x=a._reactName,E=[];s!==null&&s!==u;){var S=s,D=S.alternate,j=S.stateNode;if(S=S.tag,D!==null&&D===u)break;S!==5&&S!==26&&S!==27||j===null||(D=j,h?(j=za(s,x),j!=null&&E.unshift(wo(s,j,D))):h||(j=za(s,x),j!=null&&E.push(wo(s,j,D)))),s=s.return}E.length!==0&&n.push({event:a,listeners:E})}var Eb=/\r\n?/g,Tb=/\u0000|\uFFFD/g;function Rp(n){return(typeof n=="string"?n:""+n).replace(Eb,`
26`).replace(Tb,"")}function Mp(n,a){return a=Rp(a),Rp(n)===a}function Re(n,a,s,u,h,x){switch(s){case"children":typeof u=="string"?a==="body"||a==="textarea"&&u===""||qi(n,u):(typeof u=="number"||typeof u=="bigint")&&a!=="body"&&qi(n,""+u);break;case"className":Wo(n,"class",u);break;case"tabIndex":Wo(n,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Wo(n,s,u);break;case"style":Rd(n,u,x);break;case"data":if(a!=="object"){Wo(n,"data",u);break}case"src":case"href":if(u===""&&(a!=="a"||s!=="href")){n.removeAttribute(s);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(s);break}u=es(""+u),n.setAttribute(s,u);break;case"action":case"formAction":if(typeof u=="function"){n.setAttribute(s,"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 x=="function"&&(s==="formAction"?(a!=="input"&&Re(n,a,"n
26ame",h.name,h,null),Re(n,a,"formEncType",h.formEncType,h,null),Re(n,a,"formMethod",h.formMethod,h,null),Re(n,a,"formTarget",h.formTarget,h,null)):(Re(n,a,"encType",h.encType,h,null),Re(n,a,"method",h.method,h,null),Re(n,a,"target",h.target,h,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(s);break}u=es(""+u),n.setAttribute(s,u);break;case"onClick":u!=null&&(n.onclick=mn);break;case"onScroll":u!=null&&ye("scroll",n);break;case"onScrollEnd":u!=null&&ye("scrollend",n);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(o(61));if(s=u.__html,s!=null){if(h.children!=null)throw Error(o(60));n.innerHTML=s}}break;case"multiple":n.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":n.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){n.removeAttribute("xlink:href");break}s=es(""+u),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(s,""+u):n.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":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":u&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(s,""):n.removeAttribute(s);break;case"capture":case"download":u===!0?n.setAttribute(s,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(s,u):n.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?n.setAttribute(s,u):n.removeAttribute(s);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?n.removeAttribute(s):n.setAttribute(s,u);break;case"popover":ye("beforetoggle",n),ye("toggle",n),Qo(n,"popover",u);break;case"xlinkActuate":fn(n,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":fn(n,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":fn(n,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":fn(n,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":fn(n,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":fn(n,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":fn(n,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":fn(n,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":fn(n,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Qo(n,"is",u);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=Qx.get(s)||s,Qo(n,s,u))}}function Bc(n,a,s,u,h,x){switch(s){case"style":Rd(n,u,x);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(o(61));if(s=u.__html,s!=null){if(h.children!=null)throw Error(o(60));n.innerHTML=s}}break;case"children":typeof u=="string"?qi(n,u):(typeof u=="number"||typeof u=="bigint")&&qi(n,""+u);break;case"onScroll":u!=null&&ye("scroll",n);break;case"onScrollEnd":u!=null&&ye("scrollend",n);break;case"onClick":u!=null&&(n.onclick=mn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!wd.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(h=s.endsWith("Capture"),a=s.slice(2,h?s.length-7:void 0),x=n[pt]||null,x=x!=null?x[s]:null,typeof x=="function"&&n.removeEventListener(a,x,h),typeof u=="function")){typeof x!="function"&&x!==null&&(s in n?n[s]=null:n.hasAttribute(s)&&n.removeAttribute(s)),n.addEventListener(a,u,h);break e}s in n?n[s]=u:u===!0?n.setAttribute(s,""):Qo(n,s,u)}}}function rt(n,a,s){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ye("error",n),ye("load",n);var u=!1,h=!1,x;for(x in s)if(s.hasOwnProperty(x)){var E=s[x];if(E!=null)switch(x){case"src":u=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,a));default:Re(n,a,x,E,s,null)}}h&&Re(n,a,"srcSet",s.srcSet,s,null),u&&Re(n,a,"src",s.src,s,null);return;case"input":ye("invalid",n);var S=x=E=h=null,D=null,j=null;for(u in s)if(s.hasOwnProperty(u)){var J=s[u];if(J!=null)switch(u){case"name":h=J;break;case"type":E=J;break;case"checked":D=J;break;case"defaultChecked":j=J;break;case"value":x=J;break;case"defaultValue":S=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(o(137,a));break;default:Re(n,a,u,J,s,null)}}_d(n,x,S,D,j,E,h,!1);return;case"select":ye("invalid",n),u=E=x=null;for(h in s)if(s.hasOwnProperty(h)&&(S=s[h],S!=null))switch(h){case"value":x=S;break;case"defaultValue":E=S;break;case"multiple":u=S;default:Re(n,a,h,S,s,null)}a=x,s=E,n.multiple=!!u,a!=null?Oi(n,!!u,a,!1):s!=null&&Oi(n,!!u,s,!0);return;case"textarea":ye("invalid",n),x=h=u=null;for(E in s)if(s.hasOwnProperty(E)&&(S=s[E],S!=null))switch(E){case"value":u=S;break;case"defaultValue":h=S;break;case"children":x=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(o(91));break;default:Re(n,a,E,S,s,null)}Cd(n,u,h,x);return;case"option":for(D in s)if(s.hasOwnProperty(D)&&(u=s[D],u!=null))switch(D){case"selected":n.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Re(n,a,D,u,s,null)}return;
vendor: 4,318 bytes, line 26
26case"dialog":ye("beforetoggle",n),ye("toggle",n),ye("cancel",n),ye("close",n);break;case"iframe":case"object":ye("load",n);break;case"video":case"audio":for(u=0;u<bo.length;u++)ye(bo[u],n);break;case"image":ye("error",n),ye("load",n);break;case"details":ye("toggle",n);break;case"embed":case"source":case"link":ye("error",n),ye("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(j in s)if(s.hasOwnProperty(j)&&(u=s[j],u!=null))switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,a));default:Re(n,a,j,u,s,null)}return;default:if(nr(a)){for(J in s)s.hasOwnProperty(J)&&(u=s[J],u!==void 0&&Bc(n,a,J,u,s,void 0));return}}for(S in s)s.hasOwnProperty(S)&&(u=s[S],u!=null&&Re(n,a,S,u,s,null))}function Sb(n,a,s,u){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,x=null,E=null,S=null,D=null,j=null,J=null;for(B in s){var W=s[B];if(s.hasOwnProperty(B)&&W!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":D=W;default:u.hasOwnProperty(B)||Re(n,a,B,null,u,W)}}for(var G in u){var B=u[G];if(W=s[G],u.hasOwnProperty(G)&&(B!=null||W!=null))switch(G){case"type":x=B;break;case"name":h=B;break;case"checked":j=B;break;case"defaultChecked":J=B;break;case"value":E=B;break;case"defaultValue":S=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(o(137,a));break;default:B!==W&&Re(n,a,G,B,u,W)}}er(n,E,S,D,j,J,x,h);return;case"select":B=E=S=G=null;for(x in s)if(D=s[x],s.hasOwnProperty(x)&&D!=null)switch(x){case"value":break;case"multiple":B=D;default:u.hasOwnProperty(x)||Re(n,a,x,null,u,D)}for(h in u)if(x=u[h],D=s[h],u.hasOwnProperty(h)&&(x!=null||D!=null))switch(h){case"value":G=x;break;case"defaultValue":S=x;break;case"multiple":E=x;default:x!==D&&Re(n,a,h,x,u,D)}a=S,s=E,u=B,G!=null?Oi(n,!!s,G,!1):!!u!=!!s&&(a!=null?Oi(n,!!s,a,!0):Oi(n,!!s,s?[]:"",!1));return;case"textarea":B=G=null;for(S in s)if(h=s[S],s.hasOwnProperty(S)&&h!=null&&!u.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Re(n,a,S,null,u,h)}for(E in u)if(h=u[E],x=s[E],u.hasOwnProperty(E)&&(h!=null||x!=null))switch(E){case"value":G=h;break;case"defaultValue":B=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(o(91));break;default:h!==x&&Re(n,a,E,h,u,x)}Nd(n,G,B);return;case"option":for(var ne in s)if(G=s[ne],s.hasOwnProperty(ne)&&G!=null&&!u.hasOwnProperty(ne))switch(ne){case"selected":n.selected=!1;break;default:Re(n,a,ne,null,u,G)}for(D in u)if(G=u[D],B=s[D],u.hasOwnProperty(D)&&G!==B&&(G!=null||B!=null))switch(D){case"selected":n.selected=G&&typeof G!="function"&&typeof G!="symbol";break;default:Re(n,a,D,G,u,B)}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 re in s)G=s[re],s.hasOwnProperty(re)&&G!=null&&!u.hasOwnProperty(re)&&Re(n,a,re,null,u,G);for(j in u)if(G=u[j],B=s[j],u.hasOwnProperty(j)&&G!==B&&(G!=null||B!=null))switch(j){case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(o(137,a));break;default:Re(n,a,j,G,u,B)}return;default:if(nr(a)){for(var Me in s)G=s[Me],s.hasOwnProperty(Me)&&G!==void 0&&!u.hasOwnProperty(Me)&&Bc(n,a,Me,void 0,u,G);for(J in u)G=u[J],B=s[J],!u.hasOwnProperty(J)||G===B||G===void 0&&B===void 0||Bc(n,a,J,G,u,B);return}}for(var H in s)G=s[H],s.hasOwnProperty(H)&&G!=null&&!u.hasOwnProperty(H)&&Re(n,a,H,null,u,G);for(W in u)G=u[W],B=s[W],!u.hasOwnProperty(W)||G===B||G==null&&B==null||Re(n,a,W,G,u,B)}function Dp(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Ab(){if(typeof performance.getEntriesByType=="function"){for(var n=0,a=0,s=performance.getEntriesByType("resource"),u=0;u<s.length;u++){var h=s[u],x=h.transferSize,E=h.initiatorType,S=h.duration;if(x&&S&&Dp(E)){for(E=0,S=h.responseEnd,u+=1;u<s.length;u++){var D=s[u],j=D.startTime;if(j>S)break;var J=D.transferSize,W=D.initiatorType;J&&Dp(W)&&(D=D.responseEnd,E+=J*(D<S?1:(S-j)/(D-j)))}if(--u,a+=8*(x+E)/(h.duration/1e3),n++,10<n)break}}if(0<n)return a/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?
vendor: 17,255 bytes, line 26
26n:5}var Oc=null,qc=null;function Ks(n){return n.nodeType===9?n:n.ownerDocument}function kp(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Lp(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function Fc(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var $c=null;function _b(){var n=window.event;return n&&n.type==="popstate"?n===$c?!1:($c=n,!0):($c=null,!1)}var Pp=typeof setTimeout=="function"?setTimeout:void 0,Nb=typeof clearTimeout=="function"?clearTimeout:void 0,Hp=typeof Promise=="function"?Promise:void 0,Cb=typeof queueMicrotask=="function"?queueMicrotask:typeof Hp<"u"?function(n){return Hp.resolve(null).then(n).catch(Ib)}:Pp;function Ib(n){setTimeout(function(){throw n})}function ti(n){return n==="head"}function Up(n,a){var s=a,u=0;do{var h=s.nextSibling;if(n.removeChild(s),h&&h.nodeType===8)if(s=h.data,s==="/$"||s==="/&"){if(u===0){n.removeChild(h),wa(a);return}u--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")u++;else if(s==="html")Eo(n.ownerDocument.documentElement);else if(s==="head"){s=n.ownerDocument.head,Eo(s);for(var x=s.firstChild;x;){var E=x.nextSibling,S=x.nodeName;x[Ga]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&x.rel.toLowerCase()==="stylesheet"||s.removeChild(x),x=E}}else s==="body"&&Eo(n.ownerDocument.body);s=h}while(s);wa(a)}function jp(n,a){var s=n;n=0;do{var u=s.nextSibling;if(s.nodeType===1?a?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(a?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),u&&u.nodeType===8)if(s=u.data,s==="/$"){if(n===0)break;n--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||n++;s=u}while(s)}function Yc(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var s=a;switch(a=a.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Yc(s),Wl(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}n.removeChild(s)}}function Rb(n,a,s,u){for(;n.nodeType===1;){var h=s;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!u&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(u){if(!n[Ga])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(x=n.getAttribute("rel"),x==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(x!==h.rel||n.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||n.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||n.getAttribute("title")!==(h.title==null?null:h.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(x=n.getAttribute("src"),(x!==(h.src==null?null:h.src)||n.getAttribute("type")!==(h.type==null?null:h.type)||n.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&x&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var x=h.name==null?null:""+h.name;if(h.type==="hidden"&&n.getAttribute("name")===x)return n}else return n;if(n=Bt(n.nextSibling),n===null)break}return null}function Mb(n,a,s){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!s||(n=Bt(n.nextSibling),n===null))return null;return n}function Gp(n,a){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!a||(n=Bt(n.nextSibling),n===null))return null;return n}function Jc(n){return n.data==="$?"||n.data==="$~"}function Kc(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function Db(n,a){var s=n.ownerDocument;if(n.data==="$~")n._reactRetry=a;else if(n.data!=="$?"||s.readyState!=="loading")a();else{var u=function(){a(),s.removeEventListener("DOMContentLoaded",u)};s.addEventListener("DOMContentLoaded",u),n._reactRetry=u}}function Bt(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return n}var Xc=null;function Vp(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var s=n.data;if(s==="/$"||s==="/&"){if(a===0)return Bt(n.nextSibling);a--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||a++}n=n.nextSibling}return null}function zp(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(a===0)return n;a--}else s!=="/$"&&s!=="/&"||a++}n=n.previousSibling}return null}function Bp(n,a,s){switch(a=Ks(s),n){case"html":if(n=a.documentElement,!n)throw Error(o(452));return n;case"head":if(n=a.head,!n)throw Error(o(453));return n;case"body":if(n=a.body,!n)throw Error(o(454));return n;default:throw Error(o(451))}}function Eo(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);Wl(n)}var Ot=new Map,Op=new Set;function Xs(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var In=V.d;V.d={f:kb,r:Lb,D:Pb,C:Hb,L:Ub,m:jb,X:Vb,S:Gb,M:zb};function kb(){var n=In.f(),a=zs();return n||a}function Lb(n){var a=Vi(n);a!==null&&a.tag===5&&a.type==="form"?sm(a):In.r(n)}var xa=typeof document>"u"?null:document;function qp(n,a,s){var u=xa;if(u&&typeof a=="string"&&a){var h=Pt(a);h='link[rel="'+n+'"][href="'+h+'"]',typeof s=="string"&&(h+='[crossorigin="'+s+'"]'),Op.has(h)||(Op.add(h),n={rel:n,crossOrigin:s,href:a},u.querySelector(h)===null&&(a=u.createElement("link"),rt(a,"link",n),tt(a),u.head.appendChild(a)))}}function Pb(n){In.D(n),qp("dns-prefetch",n,null)}function Hb(n,a){In.C(n,a),qp("preconnect",n,a)}function Ub(n,a,s){In.L(n,a,s);var u=xa;if(u&&n&&a){var h='link[rel="preload"][as="'+Pt(a)+'"]';a==="image"&&s&&s.imageSrcSet?(h+='[imagesrcset="'+Pt(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(h+='[imagesizes="'+Pt(s.imageSizes)+'"]')):h+='[href="'+Pt(n)+'"]';var x=h;switch(a){case"style":x=va(n);break;case"script":x=ba(n)}Ot.has(x)||(n=b({rel:"preload",href:a==="image"&&s&&s.imageSrcSet?void 0:n,as:a},s),Ot.set(x,n),u.querySelector(h)!==null||a==="style"&&u.querySelector(To(x))||a==="script"&&u.querySelector(So(x))||(a=u.createElement("link"),rt(a,"link",n),tt(a),u.head.appendChild(a)))}}function jb(n,a){In.m(n,a);var s=xa;if(s&&n){var u=a&&typeof a.as=="string"?a.as:"script",h='link[rel="modulepreload"][as="'+Pt(u)+'"][href="'+Pt(n)+'"]',x=h;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":x=ba(n)}if(!Ot.has(x)&&(n=b({rel:"modulepreload",href:n},a),Ot.set(x,n),s.querySelector(h)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(So(x)))return}u=s.createElement("link"),rt(u,"link",n),tt(u),s.head.appendChild(u)}}}function Gb(n,a,s){In.S(n,a,s);var u=xa;if(u&&n){var h=zi(u).hoistableStyles,x=va(n);a=a||"default";var E=h.get(x);if(!E){var S={loading:0,preload:null};if(E=u.querySelector(To(x)))S.loading=5;else{n=b({rel:"stylesheet",href:n,"data-precedence":a},s),(s=Ot.get(x))&&Qc(n,s);var D=E=u.createElement("link");tt(D),rt(D,"link",n),D._p=new Promise(function(j,J){D.onload=j,D.onerror=J}),D.addEventListener("load",function(){S.loading|=1}),D.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Qs(E,a,u)}E={type:"stylesheet",instance:E,count:1,state:S},h.set(x,E)}}}function Vb(n,a){In.X(n,a);var s=xa;if(s&&n){var u=zi(s).hoistableScripts,h=ba(n),x=u.get(h);x||(x=s.querySelector(So(h)),x||(n=b({src:n,async:!0},a),(a=Ot.get(h))&&Wc(n,a),x=s.createElement("script"),tt(x),rt(x,"link",n),s.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},u.set(h,x))}}function zb(n,a){In.M(n,a);var s=xa;if(s&&n){var u=zi(s).hoistableScripts,h=ba(n),x=u.get(h);x||(x=s.querySelector(So(h)),x||(n=b({src:n,async:!0,type:"module"},a),(a=Ot.get(h))&&Wc(n,a),x=s.createElement("script"),tt(x),rt(x,"link",n),s.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},u.set(h,x))}}function Fp(n,a,s,u){var h=(h=Jt.current)?Xs(h):null;if(!h)throw Error(o(446));switch(n){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(a=va(s.href),s=zi(h).hoistableStyles,u=s.get(a),u||(u={type:"style",instance:null,count:0,state:null},s.set(a,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){n=va(s.href);var x=zi(h).hoistableStyles,E=x.get(n);if(E||(h=h.ownerDocument||h,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},x.set(n,E),(x=h.querySelector(To(n)))&&!x._p&&(E.instance=x,E.state.loading=5),Ot.has(n)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Ot.set(n,s),x||Bb(h,n,s,E.state))),a&&u===null)throw Error(o(528,""));return E}if(a&&u!==null)throw Error(o(529,""));return null;case"script":return a=s.async,s=s.src,typeof s=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=ba(s),s=zi(h).hoistableScripts,u=s.get(a),u||(u={type:"script",instance:null,count:0,state:null},s.set(a,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,n))}}function va(n){return'href="'+Pt(n)+'"'}function To(n){return'link[rel="stylesheet"]['+n+"]"}function $p(n){return b({},n,{"data-precedence":n.precedence,precedence:null})}function Bb(n,a,s,u){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?u.loading=1:(a=n.createElement("link"),u.preload=a,a.addEventListener("load",function(){return u.loading|=1}),a.addEventListener("error",function(){return u.loading|=2}),rt(a,"link",s),tt(a),n.head.appendChild(a))}function ba(n){return'[src="'+Pt(n)+'"]'}function So(n){return"script[async]"+n}function Yp(n,a,s){if(a.count++,a.instance===null)switch(a.type){case"style":var u=n.querySelector('style[data-href~="'+Pt(s.href)+'"]');if(u)return a.instance=u,tt(u),u;var h=b({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return u=(n.ownerDocument||n).createElement("style"),tt(u),rt(u,"style",h),Qs(u,s.precedence,n),a.instance=u;case"stylesheet":h=va(s.href);var x=n.querySelector(To(h));if(x)return a.state.loading|=4,a.instance=x,tt(x),x;u=$p(s),(h=Ot.get(h))&&Qc(u,h),x=(n.ownerDocument||n).createElement("link"),tt(x);var E=x;return E._p=new Promise(function(S,D){E.onload=S,E.onerror=D}),rt(x,"link",u),a.state.loading|=4,Qs(x,s.precedence,n),a.instance=x;case"script":return x=ba(s.src),(h=n.querySelector(So(x)))?(a.instance=h,tt(h),h):(u=s,(h=Ot.get(x))&&(u=b({},s),Wc(u,h)),n=n.ownerDocument||n,h=n.createElement("script"),tt(h),rt(h,"link",u),n.head.appendChild(h),a.instance=h);case"void":return null;default:throw Error(o(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(u=a.instance,a.state.loading|=4,Qs(u,s.precedence,n));return a.instance}function Qs(n,a,s){for(var u=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=u.length?u[u.length-1]:null,x=h,E=0;E<u.length;E++){var S=u[E];if(S.dataset.precedence===a)x=S;else if(x!==h)break}x?x.parentNode.insertBefore(n,x.nextSibling):(a=s.nodeType===9?s.head:s,a.insertBefore(n,a.firstChild))}function Qc(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Wc(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var Ws=null;function Jp(n,a,s){if(Ws===null){var u=new Map,h=Ws=new Map;h.set(s,u)}else h=Ws,u=h.get(s),u||(u=new Map,h.set(s,u));if(u.has(n))return u;for(u.set(n,null),s=s.getElementsByTagName(n),h=0;h<s.length;h++){var x=s[h];if(!(x[Ga]||x[at]||n==="link"&&x.getAttribute("rel")==="stylesheet")&&x.namespaceURI!=="http://www.w3.org/2000/svg"){var E=x.getAttribute(a)||"";E=n+E;var S=u.get(E);S?S.push(x):u.set(E,[x])}}return u}function Kp(n,a,s){n=n.ownerDocument||n,n.head.insertBefore(s,a==="title"?n.querySelector("head > title"):null)}function Ob(n,a,s){if(s===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Xp(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function qb(n,a,s,u){if(s.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var h=va(u.href),x=a.querySelector(To(h));if(x){a=x._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=Zs.bind(n),a.then(n,n)),s.state.loading|=4,s.instance=x,tt(x);return}x=a.ownerDocument||a,u=$p(u),(h=Ot.get(h))&&Qc(u,h),x=x.createElement("link"),tt(x);var E=x;E._p=new Promise(function(S,D){E.onload=S,E.onerror=D}),rt(x,"link",u),s.instance=x}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(s,a),(a=s.state.preload)&&(s.state.loading&3)===0&&(n.count++,s=Zs.bind(n),a.addEventListener("load",s),a.addEventListener("error",s))}}var Zc=0;function Fb(n,a){return n.stylesheets&&n.count===0&&tl(n,n.stylesheets),0<n.count||0<n.imgCount?function(s){var u=setTimeout(function(){if(n.stylesheets&&tl(n,n.stylesheets),n.unsuspend){var x=n.unsuspend;n.unsuspend=null,x()}},6e4+a);0<n.imgBytes&&Zc===0&&(Zc=62500*Ab());var h=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&tl(n,n.stylesheets),n.unsuspend)){var x=n.unsuspend;n.unsuspend=null,x()}},(n.imgBytes>Zc?50:800)+a);return n.unsuspend=s,function(){n.unsuspend=null,clearTimeout(u),clearTimeout(h)}}:null}function Zs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tl(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var el=null;function tl(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,el=new Map,a.forEach($b,n),el=null,Zs.call(n))}function $b(n,a){if(!(a.state.loading&4)){var s=el.get(n);if(s)var u=s.get(null);else{s=new Map,el.set(n,s);for(var h=n.querySelectorAll("link[data-precedence],style[data-precedence]"),x=0;x<h.length;x++){var E=h[x];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(s.set(E.dataset.precedence,E),u=E)}u&&s.set(null,u)}h=a.instance,E=h.getAttribute("data-precedence"),x=s.get(E)||u,x===u&&s.set(null,h),s.set(E,h),this.count++,u=Zs.bind(this),h.addEventListener("load",u),h.addEventListener("error",u),x?x.parentNode.insertBefore(h,x.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(h,n.firstChild)),a.state.loading|=4}}var Ao={$$typeof:L,Provider:null,Consumer:null,_currentValue:K,_currentValue2:K,_threadCount:0};function Yb(n,a,s,u,h,x,E,S,D){this.tag=1,this.containerInfo=n,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=Jl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jl(0),this.hiddenUpdates=Jl(null),this.identifierPrefix=u,this.onUncaughtError=h,this.onCaughtError=x,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map}function Qp(n,a,s,u,h,x,E,S,D,j,J,W){return n=new Yb(n,a,s,E,D,j,J,W,S),a=1,x===!0&&(a|=24),x=Nt(3,null,null,a),n.current=x,x.stateNode=n,a=Dr(),a.refCount++,n.pooledCache=a,a.refCount++,x.memoizedState={element:u,isDehydrated:s,cache:a},Hr(x),n}function Wp(n){return n?(n=Qi,n):Qi}function Zp(n,a,s,u,h,x){h=Wp(h),u.context===null?u.context=h:u.pendingContext=h,u=qn(a),u.payload={element:s},x=x===void 0?null:x,x!==null&&(u.callback=x),s=Fn(n,u,a),s!==null&&(bt(s,n,a),no(s,n,a))}function eh(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<a?s:a}}function eu(n,a){eh(n,a),(n=n.alternate)&&eh(n,a)}function th(n){if(n.tag===13||n.tag===31){var a=bi(n,67108864);a!==null&&bt(a,n,67108864),eu(n,67108864)}}function nh(n){if(n.tag===13||n.tag===31){var a=Dt();a=Kl(a);var s=bi(n,a);s!==null&&bt(s,n,a),eu(n,a)}}var nl=!0;function Jb(n,a,s,u){var h=z.T;z.T=null;var x=V.p;try{V.p=2,tu(n,a,s,u)}finally{V.p=x,z.T=h}}function Kb(n,a,s,u){var h=z.T;z.T=null;var x=V.p;try{V.p=8,tu(n,a,s,u)}finally{V.p=x,z.T=h}}function tu(n,a,s,u){if(nl){var h=nu(u);
vendor: 4,355 bytes, line 26
26if(h===null)zc(n,a,u,il,s),ah(n,u);else if(Qb(h,n,a,s,u))u.stopPropagation();else if(ah(n,u),a&4&&-1<Xb.indexOf(n)){for(;h!==null;){var x=Vi(h);if(x!==null)switch(x.tag){case 3:if(x=x.stateNode,x.current.memoizedState.isDehydrated){var E=hi(x.pendingLanes);if(E!==0){var S=x;for(S.pendingLanes|=2,S.entangledLanes|=2;E;){var D=1<<31-At(E);S.entanglements[1]|=D,E&=~D}cn(x),(_e&6)===0&&(Gs=Tt()+500,vo(0))}}break;case 31:case 13:S=bi(x,2),S!==null&&bt(S,x,2),zs(),eu(x,2)}if(x=nu(u),x===null&&zc(n,a,u,il,s),x===h)break;h=x}h!==null&&u.stopPropagation()}else zc(n,a,u,null,s)}}function nu(n){return n=ar(n),iu(n)}var il=null;function iu(n){if(il=null,n=Gi(n),n!==null){var a=c(n);if(a===null)n=null;else{var s=a.tag;if(s===13){if(n=m(a),n!==null)return n;n=null}else if(s===31){if(n=p(a),n!==null)return n;n=null}else if(s===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return il=n,null}function ih(n){switch(n){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"resize":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"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"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Px()){case ud:return 2;case dd:return 8;case $o:case Hx:return 32;case fd:return 268435456;default:return 32}default:return 32}}var au=!1,ni=null,ii=null,ai=null,_o=new Map,No=new Map,oi=[],Xb="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 ah(n,a){switch(n){case"focusin":case"focusout":ni=null;break;case"dragenter":case"dragleave":ii=null;break;case"mouseover":case"mouseout":ai=null;break;case"pointerover":case"pointerout":_o.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":No.delete(a.pointerId)}}function Co(n,a,s,u,h,x){return n===null||n.nativeEvent!==x?(n={blockedOn:a,domEventName:s,eventSystemFlags:u,nativeEvent:x,targetContainers:[h]},a!==null&&(a=Vi(a),a!==null&&th(a)),n):(n.eventSystemFlags|=u,a=n.targetContainers,h!==null&&a.indexOf(h)===-1&&a.push(h),n)}function Qb(n,a,s,u,h){switch(a){case"focusin":return ni=Co(ni,n,a,s,u,h),!0;case"dragenter":return ii=Co(ii,n,a,s,u,h),!0;case"mouseover":return ai=Co(ai,n,a,s,u,h),!0;case"pointerover":var x=h.pointerId;return _o.set(x,Co(_o.get(x)||null,n,a,s,u,h)),!0;case"gotpointercapture":return x=h.pointerId,No.set(x,Co(No.get(x)||null,n,a,s,u,h)),!0}return!1}function oh(n){var a=Gi(n.target);if(a!==null){var s=c(a);if(s!==null){if(a=s.tag,a===13){if(a=m(s),a!==null){n.blockedOn=a,xd(n.priority,function(){nh(s)});return}}else if(a===31){if(a=p(s),a!==null){n.blockedOn=a,xd(n.priority,function(){nh(s)});return}}else if(a===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function al(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var s=nu(n.nativeEvent);if(s===null){s=n.nativeEvent;var u=new s.constructor(s.type,s);ir=u,s.target.dispatchEvent(u),ir=null}else return a=Vi(s),a!==null&&th(a),n.blockedOn=s,!1;a.shift()}return!0}function sh(n,a,s){al(n)&&s.delete(a)}function Wb(){au=!1,ni!==null&&al(ni)&&(ni=null),ii!==null&&al(ii)&&(ii=null),ai!==null&&al(ai)&&(ai=null),_o.forEach(sh),No.forEac
26h(sh)}function ol(n,a){n.blockedOn===a&&(n.blockedOn=null,au||(au=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Wb)))}var sl=null;function lh(n){sl!==n&&(sl=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){sl===n&&(sl=null);for(var a=0;a<n.length;a+=3){var s=n[a],u=n[a+1],h=n[a+2];if(typeof u!="function"){if(iu(u||s)===null)continue;break}var x=Vi(s);x!==null&&(n.splice(a,3),a-=3,nc(x,{pending:!0,data:h,method:s.method,action:u},u,h))}}))}function wa(n){function a(D){return ol(D,n)}ni!==null&&ol(ni,n),ii!==null&&ol(ii,n),ai!==null&&ol(ai,n),_o.forEach(a),No.forEach(a);for(var s=0;s<oi.length;s++){var u=oi[s];u.blockedOn===n&&(u.blockedOn=null)}for(;0<oi.length&&(s=oi[0],s.blockedOn===null);)oh(s),s.blockedOn===null&&oi.shift();if(s=(n.ownerDocument||n).$$reactFormReplay,s!=null)for(u=0;u<s.length;u+=3){var h=s[u],x=s[u+1],E=h[pt]||null;if(typeof x=="function")E||lh(s);else if(E){var S=null;if(x&&x.hasAttribute("formAction")){if(h=x,E=x[pt]||null)S=E.formAction;else if(iu(h)!==null)continue}else S=E.action;typeof S=="function"?s[u+1]=S:(s.splice(u,3),u-=3),lh(s)}}}function rh(){function n(x){x.canIntercept&&x.info==="react-transition"&&x.intercept({handler:function(){return new Promise(function(E){return h=E})},focusReset:"manual",scroll:"manual"})}function a(){h!==null&&(h(),h=null),u||setTimeout(s,20)}function s(){if(!u&&!navigation.transition){var x=navigation.currentEntry;x&&x.url!=null&&navigation.navigate(x.url,{state:x.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,h=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(s,100),function(){u=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),h!==null&&(h(),h=null)}}}function ou(n){this._internalRoot=n}ll.prototype.render=ou.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(o(409));var s=a.current,u=Dt();Zp(s,u,n,a,null,null)},ll.prototype.unmount=ou.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;Zp(n.current,2,null,n,null,null),zs(),a[ji]=null}};function ll(n){this._internalRoot=n}ll.prototype.unstable_scheduleHydration=function(n){if(n){var a=yd();n={blockedOn:null,target:n,priority:a};for(var s=0;s<oi.length&&a!==0&&a<oi[s].priority;s++);oi.splice(s,0,n),s===0&&oh(n)}};var ch=t.version;if(ch!=="19.2.5")throw Error(o(527,ch,"19.2.5"));V.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(o(188)):(n=Object.keys(n).join(","),Error(o(268,n)));return n=g(a),n=n!==null?v(n):null,n=n===null?null:n.stateNode,n};var Zb={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rl.isDisabled&&rl.supportsFiber)try{Ha=rl.inject(Zb),St=rl}catch{}}return Io.createRoot=function(n,a){if(!l(n))throw Error(o(299));var s=!1,u="",h=gm,x=ym,E=xm;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(u=a.identifierPrefix),a.onUncaughtError!==void 0&&(h=a.onUncaughtError),a.onCaughtError!==void 0&&(x=a.onCaughtError),a.onRecoverableError!==void 0&&(E=a.onRecoverableError)),a=Qp(n,1,!1,null,null,s,u,null,h,x,E,rh),n[ji]=a.current,Vc(n),new ou(a)},Io.hydrateRoot=function(n,a,s){if(!l(n))throw Error(o(299));var u=!1,h="",x=gm,E=ym,S=xm,D=null;return s!=null&&(s.unstable_strictMode===!0&&(u=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onUncaughtError!==void 0&&(x=s.onUncaughtError),s.onCaughtError!==void 0&&(E=s.onCaughtError),s.onRecoverableError!==void 0&&(S=s.onRecoverableError),s.formState!==void 0&&(D=s.formState)),a=Qp(n,1,!0,a,s??null,u,h,D,x,E,S,rh),a.context=Wp(null),s=a.current,u=Dt(),u=Kl(u),h=qn(u),h.callback=null,Fn(s,h,u),s=u,a.current.lanes=s,ja(a,s),cn(a),n[ji]=a.current,Vc(n),new ll(a)},Io.version="19.2.5",Io}var vh;function G1(){if(vh)return lu.exports;vh=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),lu.exports=j1(),lu.exports}var V1=G1();/**
27 * react-router v7.15.1
28 *
29 * Copyright (c) Remix Software Inc.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE.md file in the root directory of this source tree.
33 *
34 * @license MIT
35 */var bh="popstate";function wh(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function z1(e={}){function t(o,l){var g;let c=(g=l.state)==null?void 0:g.masked,{pathname:m,search:p,hash:y}=c||o.location;return wu("",{pathname:m,search:p,hash:y},l.state&&l.state.usr||null,l.state&&l.state.key||"default",c?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function i(o,l){return typeof l=="string"?l:jo(l)}return O1(t,i,null,e)}function We(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function un(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function B1(){return Math.random().toString(36).substring(2,10)}function Eh(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function wu(e,t,i=null,o,l){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?zo(t):t,state:i,key:t&&t.key||o||B1(),mask:l}}function jo({pathname:e="/",search:t="",hash:i=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function zo(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substring(i),e=e.substring(0,i));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function O1(e,t,i,o={}){let{window:l=document.defaultView,v5Compat:c=!1}=o,m=l.history,p="POP",y=null,g=v();g==null&&(g=0,m.replaceState({...m.state,idx:g},""));function v(){return(m.state||{idx:null}).idx}function b(){p="POP";let C=v(),N=C==null?null:C-g;g=C,y&&y({action:p,location:I.location,delta:N})}function w(C,N){p="PUSH";let R=wh(C)?C:wu(I.location,C,N);g=v()+1;let L=Eh(R,g),q=I.createHref(R.mask||R);try{m.pushState(L,"",q)}catch(Y){if(Y instanceof DOMException&&Y.name==="DataCloneError")throw Y;l.location.assign(q)}c&&y&&y({action:p,location:I.location,delta:1})}function T(C,N){p="REPLACE";let R=wh(C)?C:wu(I.location,C,N);g=v();let L=Eh(R,g),q=I.createHref(R.mask||R);m.replaceState(L,"",q),c&&y&&y({action:p,location:I.location,delta:0})}function A(C){return q1(C)}let I={get action(){return p},get location(){return e(l,m)},listen(C){if(y)throw new Error("A history only accepts one active listener");return l.addEventListener(bh,b),y=C,()=>{l.removeEventListener(bh,b),y=null}},createHref(C){return t(l,C)},createURL:A,encodeLocation(C){let N=A(C);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:w,replace:T,go(C){return m.go(C)}};return I}function q1(e,t=!1){let i="http://localhost";
35typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),We(i,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:jo(e);return o=o.replace(/ $/,"%20"),!t&&o.startsWith("//")&&(o=i+o),new URL(o,i)}function Yg(e,t,i="/"){return F1(e,t,i,!1)}function F1(e,t,i,o,l){let c=typeof t=="string"?zo(t):t,m=Rn(c.pathname||"/",i);if(m==null)return null;let p=$1(e),y=null,g=aw(m);for(let v=0;y==null&&v<p.length;++v)y=nw(p[v],g,o);return y}function $1(e){let t=Jg(e);return Y1(t),t}function Jg(e,t=[],i=[],o="",l=!1){let c=(m,p,y=l,g)=>{let v={relativePath:g===void 0?m.path||"":g,caseSensitive:m.caseSensitive===!0,childrenIndex:p,route:m};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(o)&&y)return;We(v.relativePath.startsWith(o),`Absolute route path "${v.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(o.length)}let b=en([o,v.relativePath]),w=i.concat(v);m.children&&m.children.length>0&&(We(m.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),Jg(m.children,t,w,b,y)),!(m.path==null&&!m.index)&&t.push({path:b,score:ew(b,m.index),routesMeta:w})};return e.forEach((m,p)=>{var y;if(m.path===""||!((y=m.path)!=null&&y.includes("?")))c(m,p);else for(let g of Kg(m.path))c(m,p,!0,g)}),t}function Kg(e){let t=e.split("/");if(t.length===0)return[];let[i,...o]=t,l=i.endsWith("?"),c=i.replace(/\?$/,"");if(o.length===0)return l?[c,""]:[c];let m=Kg(o.join("/")),p=[];return p.push(...m.map(y=>y===""?c:[c,y].join("/"))),l&&p.push(...m),p.map(y=>e.startsWith("/")&&y===""?"/":y)}function Y1(e){e.sort((t,i)=>t.score!==i.score?i.score-t.score:tw(t.routesMeta.map(o=>o.childrenIndex),i.routesMeta.map(o=>o.childrenIndex)))}var J1=/^:[\w-]+$/,K1=3,X1=2,Q1=1,W1=10,Z1=-2,Th=e=>e==="*";function ew(e,t){let i=e.split("/"),o=i.length;return i.some(Th)&&(o+=Z1),t&&(o+=X1),i.filter(l=>!Th(l)).reduce((l,c)=>l+(J1.test(c)?K1:c===""?Q1:W1),o)}function tw(e,t){return e.length===t.length&&e.slice(0,-1).every((o,l)=>o===t[l])?e[e.length-1]-t[t.length-1]:0}function nw(e,t,i=!1){let{routesMeta:o}=e,l={},c="/",m=[];for(let p=0;p<o.length;++p){let y=o[p],g=p===o.length-1,v=c==="/"?t:t.slice(c.length)||"/",b=El({path:y.relativePath,caseSensitive:y.caseSensitive,end:g},v),w=y.route;if(!b&&g&&i&&!o[o.length-1].route.index&&(b=El({path:y.relativePath,caseSensitive:y.caseSensitive,end:!1},v)),!b)return null;
35Object.assign(l,b.params),m.push({params:l,pathname:en([c,b.pathname]),pathnameBase:rw(en([c,b.pathnameBase])),route:w}),b.pathnameBase!=="/"&&(c=en([c,b.pathnameBase]))}return m}function El(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[i,o]=iw(e.path,e.caseSensitive,e.end),l=t.match(i);if(!l)return null;let c=l[0],m=c.replace(/(.)\/+$/,"$1"),p=l.slice(1);return{params:o.reduce((g,{paramName:v,isOptional:b},w)=>{if(v==="*"){let A=p[w]||"";m=c.slice(0,c.length-A.length).replace(/(.)\/+$/,"$1")}const T=p[w];return b&&!T?g[v]=void 0:g[v]=(T||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:m,pattern:e}}function iw(e,t=!1,i=!0){un(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,p,y,g,v)=>{if(o.push({paramName:p,isOptional:y!=null}),y){let b=v.charAt(g+m.length);return b&&b!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(o.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),o]}function aw(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return un(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Rn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,o=e.charAt(i);return o&&o!=="/"?null:e.slice(i)||"/"}var ow=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function sw(e,t="/"){let{pathname:i,search:o="",hash:l=""}=typeof e=="string"?zo(e):e,c;return i?(i=Qg(i),i.startsWith("/")?c=Sh(i.substring(1),"/"):c=Sh(i,t)):c=t,{pathname:c,search:cw(o),hash:uw(l)}}function Sh(e,t){let i=Tl(t).split("/");return e.split("/").forEach(l=>{l===".."?i.length>1&&i.pop():l!=="."&&i.push(l)}),i.length>1?i.join("/"):"/"}function uu(e,t,i,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}].  Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function lw(e){return e.filter((t,i)=>i===0||t.route.path&&t.route.path.length>0)}function Xg(e){let t=lw(e);return t.map((i,o)=>o===t.length-1?i.pathname:i.pathnameBase)}function Bu(e,t,i,o=!1){let l;typeof e=="string"?l=zo(e):(l={...e},We(!l.pathname||!l.pathname.includes("?"),uu("?","pathname","search",l)),We(!l.pathname||!l.pathname.includes("#"),uu("#","pathname","hash",l)),We(!l.search||!l.search.includes("#"),uu("#","search","hash",l)));let c=e===""||l.pathname==="",m=c?"/":l.pathname,p;if(m==null)p=i;else{let b=t.length-1;if(!o&&m.startsWith("..")){let w=m.split("/");for(;w[0]==="..";)w.shift(),b-=1;l.pathname=w.join("/")}p=b>=0?t[b]:"/"}let y=sw(l,p),g=m&&m!=="/"&&m.endsWith("/"),v=(c||m===".")&&i.endsWith("/");return!y.pathname.endsWith("/")&&(g||v)&&(y.pathname+="/"),y}var Qg=e=>e.replace(/\/\/+/g,"/"),en=e=>Qg(e.join("/")),Tl=e=>e.replace(/\/+$/,""),rw=e=>Tl(e).replace(/^\/*/,"/"),cw=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,uw=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,dw=class{constructor(e,t,i,o=!1){this.status=e,this.statusText=t||"",this.internal=o,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function fw(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function mw(e){let t=e.map(i=>i.route.path).filter(Boolean);return en(t)||"/"}var Wg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Zg(e,t){let i=e;if(typeof i!="string"||!ow.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let o=i,l=!1;if(Wg)try{let c=new URL(window.location.href),m=i.startsWith("//")?new URL(c.protocol+i):new URL(i),p=Rn(m.pathname,t);m.origin===c.origin&&p!=null?i=p+m.search+m.hash:l=!0}catch{un(!1,`<Link to="${i}">
35 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:l,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ey=["POST","PUT","PATCH","DELETE"];new Set(ey);var pw=["GET",...ey];new Set(pw);var Ia=_.createContext(null);Ia.displayName="DataRouter";var Ll=_.createContext(null);Ll.displayName="DataRouterState";var ty=_.createContext(!1);function hw(){return _.useContext(ty)}var ny=_.createContext({isTransitioning:!1});ny.displayName="ViewTransition";var gw=_.createContext(new Map);gw.displayName="Fetchers";var yw=_.createContext(null);yw.displayName="Await";var Yt=_.createContext(null);Yt.displayName="Navigation";var Pl=_.createContext(null);Pl.displayName="Location";var kn=_.createContext({outlet:null,matches:[],isDataRoute:!1});kn.displayName="Route";var Ou=_.createContext(null);Ou.displayName="RouteError";var iy="REACT_ROUTER_ERROR",xw="REDIRECT",vw="ROUTE_ERROR_RESPONSE";function bw(e){if(e.startsWith(`${iy}:${xw}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function ww(e){if(e.startsWith(`${iy}:${vw}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new dw(t.status,t.statusText,t.data)}catch{}}function Ew(e,{relative:t}={}){We(Bo(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:o}=_.useContext(Yt),{hash:l,pathname:c,search:m}=Oo(e,{relative:t}),p=c;return i!=="/"&&(p=c==="/"?i:en([i,c])),o.createHref({pathname:p,search:m,hash:l})}function Bo(){return _.useContext(Pl)!=null}function an(){return We(Bo(),"useLocation() may be used only in the context of a <Router> component."),_.useContext(Pl).location}var ay="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function oy(e){_.useContext(Yt).static||_.useLayoutEffect(e)}function sy(){let{isDataRoute:e}=_.useContext(kn);return e?Pw():Tw()}function Tw(){We(Bo(),"useNavigate() may be used only in the context of a <Router> component.");let e=_.useContext(Ia),{basename:t,navigator:i}=_.useContext(Yt),{matches:o}=_.useContext(kn),{pathname:l}=an(),c=JSON.stringify(Xg(o)),m=_.useRef(!1);return oy(()=>{m.current=!0}),_.useCallback((y,g={})=>{if(un(m.current,ay),!m.current)return;if(typeof y=="number"){i.go(y);return}let v=Bu(y,JSON.parse(c),l,g.relative==="path");e==null&&t!=="/"&&(v.pathname=v.pathname==="/"?t:en([t,v.pathname])),(g.replace?i.replace:i.push)(v,g.state,g)},[t,i,c,l,e])}_.createContext(null);function Oo(e,{relative:t}={}){let{matches:i}=_.useContext(kn),{pathname:o}=an(),l=JSON.stringify(Xg(i));return _.useMemo(()=>Bu(e,JSON.parse(l),o,t==="path"),[e,l,o,t])}function Sw(e,t,i){We(Bo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=_.useContext(Yt),{matches:l}=_.useContext(kn),c=l[l.length-1],m=c?c.params:{},p=c?c.pathname:"/",y=c?c.pathnameBase:"/",g=c&&c.route;{let C=g&&g.path||"";ry(p,!g||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${C}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
36
37Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let v=an(),b;b=v;let w=b.pathname||"/",T=w;if(y!=="/"){let C=y.replace(/^\//,"").split("/");T="/"+w.replace(/^\//,"").split("/").slice(C.length).join("/")}let A=i&&i.state.matches.length?i.state.matches.map(C=>Object.assign(C,{route:i.manifest[C.route.id]||C.route})):Yg(e,{pathname:T});return un(g||A!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),un(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),Iw(A&&A.map(C=>Object.assign({},C,{params:Object.assign({},m,C.params),pathname:en([y,o.encodeLocation?o.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?y:en([y,o.encodeLocation?o.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),l,i)}function Aw(){let e=Lw(),t=fw(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:o},c={padding:"2px 4px",backgroundColor:o},m=null;return console.error("Error handled by React Router default ErrorBoundary:",e),m=_.createElement(_.Fragment,null,_.createElement("p",null,"💿 Hey developer 👋"),_.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",_.createElement("code",{style:c},"ErrorBoundary")," or"," ",_.createElement("code",{style:c},"errorElement")," prop on your route.")),_.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application 
37Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),i?_.createElement("pre",{style:l},i):null,m)}var _w=_.createElement(Aw,null),ly=class extends _.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const i=ww(e.digest);i&&(e=i)}let t=e!==void 0?_.createElement(kn.Provider,{value:this.props.routeContext},_.createElement(Ou.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?_.createElement(Nw,{error:e},t):t}};ly.contextType=ty;var du=new WeakMap;function Nw({children:e,error:t}){let{basename:i}=_.useContext(Yt);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let o=bw(t.digest);if(o){let l=du.get(t);if(l)throw l;let c=Zg(o.location,i);if(Wg&&!du.get(t))if(c.isExternal||o.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const m=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:o.replace}));throw du.set(t,m),m}return _.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function Cw({routeContext:e,match:t,children:i}){let o=_.useContext(Ia);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),_.createElement(kn.Provider,{value:e},i)}function Iw(e,t=[],i){let o=i==null?void 0:i.state;if(e==null){if(!o)return null;if(o.errors)e=o.matches;else if(t.length===0&&!o.initialized&&o.matches.length>0)e=o.matches;else return null}let l=e,c=o==null?void 0:o.errors;if(c!=null){let v=l.findIndex(b=>b.route.id&&(c==null?void 0:c[b.route.id])!==void 0);We(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),l=l.slice(0,Math.min(l.length,v+1))}let m=!1,p=-1;if(i&&o){m=o.renderFallback;for(let v=0;v<l.length;v++){let b=l[v];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(p=v),b.route.id){let{loaderData:w,errors:T}=o,A=b.route.loader&&!w.hasOwnProperty(b.route.id)&&(!T||T[b.route.id]===void 0);if(b.route.lazy||A){i.isStatic&&(m=!0),p>=0?l=l.slice(0,p+1):l=[l[0]];break}}}}let y=i==null?void 0:i.onError,g=o&&y?(v,b)=>{var w,T;y(v,{location:o.location,params:((T=(w=o.matches)==null?void 0:w[0])==null?void 0:T.params)??{},pattern:mw(o.matches),errorInfo:b})}:void 0;return l.reduceRight((v,b,w)=>{let T,A=!1,I=null,C=null;o&&(T=c&&b.route.id?c[b.route.id]:void 0,I=b.route.errorElement||_w,m&&(p<0&&w===0?(ry("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,C=null):p===w&&(A=!0,C=b.route.hydrateFallbackElement||null)));let N=t.concat(l.slice(0,w+1)),R=()=>{let L;return T?L=I:A?L=C:b.route.Component?L=_.createElement(b.route.Component,null):b.route.element?L=b.route.element:L=v,_.createElement(Cw,{match:b,routeContext:{outlet:v,matches:N,isDataRoute:o!=null},children:L})};return o&&(b.route.ErrorBoundary||b.route.errorElement||w===0)?_.createElement(ly,{location:o.location,revalidation:o.revalidation,component:I,error:T,children:R(),routeContext:{outlet:null,matches:N,isDataRoute:!0},onError:g}):R()},null)}function qu(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Rw(e){let t=_.useContext(Ia);return We(t,qu(e)),t}function Mw(e){let t=_.useContext(Ll);return We(t,qu(e)),t}function Dw(e){let t=_.useContext(kn);return We(t,qu(e)),t}function Fu(e){let t=Dw(e),i=t.matches[t.matches.length-1];return We(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function kw(){return Fu("useRouteId")}function Lw(){var o;let e=_.useContext(Ou),t=Mw("useRouteError"),i=Fu("useRouteError");return e!==void 0?e:(o=t.errors)==null?void 0:o[i]}function Pw(){let{router:e}=Rw("useNavigate"),t=Fu("useNavigate"),i=_.useRef(!1);return oy(()=>{i.current=!0}),_.useCallback(async(l,c={})=>{un(i.current,ay),i.current&&(typeof l=="number"?await e.navigate(l):await e.navigate(l,{fromRouteId:t,...c}))},[e,t])}var Ah={};function ry(e,t,i){!t&&!Ah[e]&&(Ah[e]=!0,un(!1,i))}_.memo(Hw);function Hw({routes:e,manifest:t,future:i,state:o,isStatic:l,onError:c}){return Sw(e,void 0,{manifest:t,state:o,isStatic:l,onError:c})}function Uw({basename:e="/",children:t=null,location:i,navigationType:o="POP",navigator:l,static:c=!1,useTransitions:m}){We(!Bo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=e.replace(/^\/*/,"/"),y=_.useMemo(()=>({basename:p,navigator:l,static:c,useTransitions:m,future:{}}),[p,l,c,m]);typeof i=="string"&&(i=zo(i));let{pathname:g="/",search:v="",hash:b="",state:w=null,key:T="default",mask:A}=i,I=_.useMemo(()=>{let C=Rn(g,p);return C==null?null:{location:{pathname:C,search:v,hash:b,state:w,key:T,mask:A},navigationType:o}},[p,g,v,b,w,T,o,A]);
37return un(I!=null,`<Router basename="${p}"> is not able to match the URL "${g}${v}${b}" because it does not start with the basename, so the <Router> won't render anything.`),I==null?null:_.createElement(Yt.Provider,{value:y},_.createElement(Pl.Provider,{children:t,value:I}))}var ml="get",pl="application/x-www-form-urlencoded";function Hl(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function jw(e){return Hl(e)&&e.tagName.toLowerCase()==="button"}function Gw(e){return Hl(e)&&e.tagName.toLowerCase()==="form"}function Vw(e){return Hl(e)&&e.tagName.toLowerCase()==="input"}function zw(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Bw(e,t){return e.button===0&&(!t||t==="_self")&&!zw(e)}var cl=null;function Ow(){if(cl===null)try{new FormData(document.createElement("form"),0),cl=!1}catch{cl=!0}return cl}var qw=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function fu(e){return e!=null&&!qw.has(e)?(un(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${pl}"`),null):e}function Fw(e,t){let i,o,l,c,m;if(Gw(e)){let p=e.getAttribute("action");o=p?Rn(p,t):null,i=e.getAttribute("method")||ml,l=fu(e.getAttribute("enctype"))||pl,c=new FormData(e)}else if(jw(e)||Vw(e)&&(e.type==="submit"||e.type==="image")){let p=e.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let y=e.getAttribute("formaction")||p.getAttribute("action");if(o=y?Rn(y,t):null,i=e.getAttribute("formmethod")||p.getAttribute("method")||ml,l=fu(e.getAttribute("formenctype"))||fu(p.getAttribute("enctype"))||pl,c=new FormData(p,e),!Ow()){let{name:g,type:v,value:b}=e;if(v==="image"){let w=g?`${g}.`:"";c.append(`${w}x`,"0"),c.append(`${w}y`,"0")}else g&&c.append(g,b)}}else{if(Hl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=ml,o=null,l=pl,m=e}return c&&l==="text/plain"&&(m=c,c=void 0),{action:o,method:i.toLowerCase(),encType:l,formData:c,body:m}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function $u(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function cy(e,t,i,o){let l=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return i?l.pathname.endsWith("/")?l.pathname=`${l.pathname}_.${o}`:l.pathname=`${l.pathname}.${o}`:l.pathname==="/"?l.pathname=`_root.${o}`:t&&Rn(l.pathname,t)==="/"?l.pathname=`${Tl(t)}/_root.${o}`:l.pathname=`${Tl(l.pathname)}.${o}`,l}async function $w(e,t){if(e.id in t)return t[e.id];try{let i=await import(e.module);return t[e.id]=i,i}catch(i){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Yw(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Jw(e,t,i){let o=await Promise.all(e.map(async l=>{let c=t.routes[l.route.id];if(c){let m=await $w(c,i);return m.links?m.links():[]}return[]}));return Ww(o.flat(1).filter(Yw).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function _h(e,t,i,o,l,c){let m=(y,g)=>i[g]?y.route.id!==i[g].route.id:!0,p=(y,g)=>{var v;return i[g].pathname!==y.pathname||((v=i[g].route.path)==null?void 0:v.endsWith("*"))&&i[g].params["*"]!==y.params["*"]};return c==="assets"?t.filter((y,g)=>m(y,g)||p(y,g)):c==="data"?t.filter((y,g)=>{var b;let v=o.routes[y.route.id];if(!v||!v.hasLoader)return!1;if(m(y,g)||p(y,g))return!0;if(y.route.shouldRevalidate){let w=y.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((b=i[0])==null?void 0:b.params)||{},nextUrl:new URL(e,window.origin),nextParams:y.params,defaultShouldRevalidate:!0});if(typeof w=="boolean")return w}return!0}):[]}function Kw(e,t,{includeHydrateFallback:i}={}){return Xw(e.map(o=>{let l=t.routes[o.route.id];if(!l)return[];let c=[l.module];return l.clientActionModule&&(c=c.concat(l.clientActionModule)),l.clientLoaderModule&&(c=c.concat(l.clientLoaderModule)),i&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function Xw(e){return[...new Set(e)]}function Qw(e){let t={},i=Object.keys(e).sort();for(let o of i)t[o]=e[o];return t}function Ww(e,t){let i=new Set;return new Set(t),e.reduce((o,l)=>{let c=JSON.stringify(Qw(l));return i.has(c)||(i.add(c),o.push({key:c,link:l})),o},[])}function Yu(){let e=_.useContext(Ia);return $u(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Zw(){let e=_.useContext(Ll);return $u(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Ju=_.createContext(void 0);Ju.displayName="FrameworkContext";function Ku(){let e=_.useContext(Ju);return $u(e,"You must render this element inside a <HydratedRouter> element"),e}function eE(e,t){let i=_.useContext(Ju),[o,l]=_.useState(!1),[c,m]=_.useState(!1),{onFocus:p,onBlur:y,onMouseEnter:g,onMouseLeave:v,onTouchStart:b}=t,w=_.useRef(null);_.useEffect(()=>{if(e==="render"&&m(!0),e==="viewport"){let I=N=>
37{N.forEach(R=>{m(R.isIntersecting)})},C=new IntersectionObserver(I,{threshold:.5});return w.current&&C.observe(w.current),()=>{C.disconnect()}}},[e]),_.useEffect(()=>{if(o){let I=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(I)}}},[o]);let T=()=>{l(!0)},A=()=>{l(!1),m(!1)};return i?e!=="intent"?[c,w,{}]:[c,w,{onFocus:Ro(p,T),onBlur:Ro(y,A),onMouseEnter:Ro(g,T),onMouseLeave:Ro(v,A),onTouchStart:Ro(b,T)}]:[!1,w,{}]}function Ro(e,t){return i=>{e&&e(i),i.defaultPrevented||t(i)}}function tE({page:e,...t}){let i=hw(),{router:o}=Yu(),l=_.useMemo(()=>Yg(o.routes,e,o.basename),[o.routes,e,o.basename]);return l?i?_.createElement(iE,{page:e,matches:l,...t}):_.createElement(aE,{page:e,matches:l,...t}):null}function nE(e){let{manifest:t,routeModules:i}=Ku(),[o,l]=_.useState([]);return _.useEffect(()=>{let c=!1;return Jw(e,t,i).then(m=>{c||l(m)}),()=>{c=!0}},[e,t,i]),o}function iE({page:e,matches:t,...i}){let o=an(),{future:l}=Ku(),{basename:c}=Yu(),m=_.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let p=cy(e,c,l.unstable_trailingSlashAwareDataRequests,"rsc"),y=!1,g=[];for(let v of t)typeof v.route.shouldRevalidate=="function"?y=!0:g.push(v.route.id);return y&&g.length>0&&p.searchParams.set("_routes",g.join(",")),[p.pathname+p.search]},[c,l.unstable_trailingSlashAwareDataRequests,e,o,t]);return _.createElement(_.Fragment,null,m.map(p=>_.createElement("link",{key:p,rel:"prefetch",as:"fetch",href:p,...i})))}function aE({page:e,matches:t,...i}){let o=an(),{future:l,manifest:c,routeModules:m}=Ku(),{basename:p}=Yu(),{loaderData:y,matches:g}=Zw(),v=_.useMemo(()=>_h(e,t,g,c,o,"data"),[e,t,g,c,o]),b=_.useMemo(()=>_h(e,t,g,c,o,"assets"),[e,t,g,c,o]),w=_.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let I=new Set,C=!1;if(t.forEach(R=>{var q;let L=c.routes[R.route.id];!L||!L.hasLoader||(!v.some(Y=>Y.route.id===R.route.id)&&R.route.id in y&&((q=m[R.route.id])!=null&&q.shouldRevalidate)||L.hasClientLoader?C=!0:I.add(R.route.id))}),I.size===0)return[];let N=cy(e,p,l.unstable_trailingSlashAwareDataRequests,"data");return C&&I.size>0&&N.searchParams.set("_routes",t.filter(R=>I.has(R.route.id)).map(R=>R.route.id).join(",")),[N.pathname+N.search]},[p,l.unstable_trailingSlashAwareDataRequests,y,o,c,v,t,e,m]),T=_.useMemo(()=>Kw(b,c),[b,c]),A=nE(b);return _.createElement(_.Fragment,null,w.map(I=>_.createElement("link",{key:I,rel:"prefetch",as:"fetch",href:I,...i})),T.map(I=>_.createElement("link",{key:I,rel:"modulepreload",href:I,...i})),A.map(({key:I,link:C})=>_.createElement("link",{key:I,nonce:i.nonce,...C,crossOrigin:C.crossOrigin??i.crossOrigin})))}function oE(...e){return t=>{e.forEach(i=>{typeof i=="function"?i(t):i!=null&&(i.current=t)})}}var sE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{sE&&(window.__reactRouterVersion="7.15.1")}catch{}function lE({basename:e,children:t,useTransitions:i,window:o}){let l=_.useRef();l.current==null&&(l.current=z1({window:o,v5Compat:!0}));let c=l.current,[m,p]=_.useState({action:c.action,location:c.location}),y=_.useCallback(g=>{i===!1?p(g):_.startTransition(()=>p(g))},[i]);return _.useLayoutEffect(()=>c.listen(y),[c,y]),_.createElement(Uw,{basename:e,children:t,location:m.location,navigationType:m.action,navigator:c,useTransitions:i})}var uy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dy=_.forwardRef(function({onClick:t,discover:i="render",prefetch:o="none",relative:l,reloadDocument:c,replace:m,mask:p,state:y,target:g,to:v,preventScrollReset:b,viewTransition:w,defaultShouldRevalidate:T,...A},I){let{basename:C,navigator:N,useTransitions:R}=_.useContext(Yt),L=typeof v=="string"&&uy.test(v),q=Zg(v,C);v=q.to;let Y=Ew(v,{relative:l}),P=an(),O=null;if(p){let se=Bu(p,[],P.mask?P.mask.pathname:"/",!0);C!=="/"&&(se.pathname=se.pathname==="/"?C:en([C,se.pathname])),O=N.createHref(se)}let[F,$,ee]=eE(o,A),ce=dE(v,{replace:m,mask:p,state:y,target:g,preventScrollReset:b,relative:l,viewTransition:w,defaultShouldRevalidate:T,useTransitions:R});function Z(se){t&&t(se),se.defaultPrevented||ce(se)}let de=!(q.isExternal||c),ue=_.createElement("a",{...A,...ee,href:(de?O:void 0)||q.absoluteURL||Y,onClick:de?Z:t,ref:oE(I,$),target:g,"data-discover":!L&&i==="render"?"true":void 0});return F&&!L?_.createElement(_.Fragment,null,ue,_.createElement(tE,{page:Y})):ue});dy.displayName="Link";var rE=_.forwardRef(function({"aria-current":t="page",caseSensitive:i=!1,className:o="",end:l=!1,style:c,to:m,viewTransition:p,children:y,...g},v){let b=Oo(m,{relative:g.relative}),w=an(),T=_.useContext(Ll),{navigator:A,basename:I}=_.useContext(Yt),C=T!=null&&gE(b)&&p===!0,N=A.encodeLocation?A.encodeLocation(b).pathname:b.pathname,R=w.pathname,L=T&&T.navigation&&T.navigation.location?T.navigation.location.pathname:null;i||(R=R.toLowerCase(),L=L?L.toLowerCase():null,N=N.toLowerCase()),L&&I&&(L=Rn(L,I)||L);const q=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let Y=R===N||!l&&R.startsWith(N)&&R.charAt(q)==="/",P=L!=null&&(L===N||!l&&L.startsWith(N)&&L.charAt(N.length)==="/"),O={isActive:Y,isPending:P,isTransitioning:C},F=Y?t:void 0,$;typeof o=="function"?$=o(O):$=[o,Y?"active":null,P?"pending":null,C?"transitioning":null].filter(
37Boolean).join(" ");let ee=typeof c=="function"?c(O):c;return _.createElement(dy,{...g,"aria-current":F,className:$,ref:v,style:ee,to:m,viewTransition:p},typeof y=="function"?y(O):y)});rE.displayName="NavLink";var cE=_.forwardRef(({discover:e="render",fetcherKey:t,navigate:i,reloadDocument:o,replace:l,state:c,method:m=ml,action:p,onSubmit:y,relative:g,preventScrollReset:v,viewTransition:b,defaultShouldRevalidate:w,...T},A)=>{let{useTransitions:I}=_.useContext(Yt),C=pE(),N=hE(p,{relative:g}),R=m.toLowerCase()==="get"?"get":"post",L=typeof p=="string"&&uy.test(p),q=Y=>{if(y&&y(Y),Y.defaultPrevented)return;Y.preventDefault();let P=Y.nativeEvent.submitter,O=(P==null?void 0:P.getAttribute("formmethod"))||m,F=()=>C(P||Y.currentTarget,{fetcherKey:t,method:O,navigate:i,replace:l,state:c,relative:g,preventScrollReset:v,viewTransition:b,defaultShouldRevalidate:w});I&&i!==!1?_.startTransition(()=>F()):F()};return _.createElement("form",{ref:A,method:R,action:N,onSubmit:o?y:q,...T,"data-discover":!L&&e==="render"?"true":void 0})});cE.displayName="Form";function uE(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function fy(e){let t=_.useContext(Ia);return We(t,uE(e)),t}function dE(e,{target:t,replace:i,mask:o,state:l,preventScrollReset:c,relative:m,viewTransition:p,defaultShouldRevalidate:y,useTransitions:g}={}){let v=sy(),b=an(),w=Oo(e,{relative:m});return _.useCallback(T=>{if(Bw(T,t)){T.preventDefault();let A=i!==void 0?i:jo(b)===jo(w),I=()=>v(e,{replace:A,mask:o,state:l,preventScrollReset:c,relative:m,viewTransition:p,defaultShouldRevalidate:y});g?_.startTransition(()=>I()):I()}},[b,v,w,i,o,l,t,e,c,m,p,y,g])}var fE=0,mE=()=>`__${String(++fE)}__`;function pE(){let{router:e}=fy("useSubmit"),{basename:t}=_.useContext(Yt),i=kw(),o=e.fetch,l=e.navigate;return _.useCallback(async(c,m={})=>{let{action:p,method:y,encType:g,formData:v,body:b}=Fw(c,t);if(m.navigate===!1){let w=m.fetcherKey||mE();await o(w,i,m.action||p,{defaultShouldRevalidate:m.defaultShouldRevalidate,preventScrollReset:m.preventScrollReset,formData:v,body:b,formMethod:m.method||y,formEncType:m.encType||g,flushSync:m.flushSync})}else await l(m.action||p,{defaultShouldRevalidate:m.defaultShouldRevalidate,preventScrollReset:m.preventScrollReset,formData:v,body:b,formMethod:m.method||y,formEncType:m.encType||g,replace:m.replace,state:m.state,fromRouteId:i,flushSync:m.flushSync,viewTransition:m.viewTransition})},[o,l,t,i])}function hE(e,{relative:t}={}){let{basename:i}=_.useContext(Yt),o=_.useContext(kn);We(o,"useFormAction must be used inside a RouteContext");let[l]=o.matches.slice(-1),c={...Oo(e||".",{relative:t})},m=an();if(e==null){c.search=m.search;let p=new URLSearchParams(c.search),y=p.getAll("index");if(y.some(v=>v==="")){p.delete("index"),y.filter(b=>b).forEach(b=>p.append("index",b));let v=p.toString();c.search=v?`?${v}`:""}}return(!e||e===".")&&l.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:en([i,c.pathname])),jo(c)}function gE(e,{relative:t}={}){let i=_.useContext(ny);We(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=fy("useViewTransitionState"),l=Oo(e,{relative:t});if(!i.isTransitioning)return!1;let c=Rn(i.currentLocation.pathname,o)||i.currentLocation.pathname,m=Rn(i.nextLocation.pathname,o)||i.nextLocation.pathname;return El(l.pathname,m)!=null||El(l.pathname,c)!=null}const yE="modulepreload",xE=function(e){return"/"+e},Nh={},he=function(t,i,o){let l=Promise.resolve();if(i&&i.length>0){let m=function(g){return Promise.all(g.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),y=(p==null?void 0:p.nonce)||(p==null?void 0:p.getAttribute("nonce"));l=m(i.map(g=>{if(g=xE(g),g in Nh)return;Nh[g]=!0;const v=g.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${b}`))return;const w=document.createElement("link");if(w.rel=v?"stylesheet":yE,v||(w.as="script"),w.crossOrigin="",w.href=g,y&&w.setAttribute("nonce",y),document.head.appendChild(w),v)return new Promise((T,A)=>{w.addEventListener("load",T),w.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${g}`)))})}))}function c(m){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=m,window.dispatchEvent(p),!p.defaultPrevented)throw m}return l.then(m=>{for(const p of m||[])p.status==="rejected"&&c(p.reason);return t().catch(c)})},ke="https://dscope.ai",Xu=e=>e.replace(/\/+$/,"")||"/",Mn=[{path:"/",lang:"en",title:"Dscope - AI Automation Platform for Service, Sales and CRM",description:"Dscope is an AI automation platform: chat, voice and form AI agents that answer customers, capture leads and sync to CRM, helpdesk and ERP systems around the clock.",keywords:["AI automation platform","workflow automation platform","AI agent platform","CRM automation"],pageType:"WebPage",altPath:"/he",searchIntent:"Dscope - AI Automation Platform for Service, Sales and CRM",indexable:!0},{path:"/vision",lang:"en",title:"The Dscope Vision - One AI Layer for Customer Operations",description:"The Dscope vision is one AI automation layer across support, service, sales and marketing, so every customer conversation is resolved and every lead is captured.",keywords:["enterprise AI automation","AI workflow automation strategy","enterprise automation platform"],pageType:"WebPage",altPath:"/he/vision",searchIntent:"The Dscope Vision - One AI Layer for Customer Operations",indexable:!0},{path:"/platform",lang:"en",title:"AI Automation Platform for Chat, Voice and CRM Agents | Dscope",description:"The Dscope AI automation platform connects chat, voice and form AI agents with CRM, helpdesk, IVR and ERP systems for sales, support and contact-center workflows.",keywords:["AI automation platform","AI agent platform","workflow automation platform","CRM automation"],pageType:"WebPage",altPath:"/he/platform",searchIntent:"AI Automation Platform for Chat, Voice and CRM Agents | Dscope",indexable:!0},{path:"/dashboard",lang:"en",title:"AI Automation Dashboards for CRM, Leads and Support | Dscope",description:"Dscope AI dashboards show conversations handled, leads captured, CRM sync status and contact-center KPIs for sales, support and service operations in one view.",keywords:["AI automation dashboard","conversation intelligence","CRM dashboard automation"],pageType:"WebPage",altPath:"/he/dashboard",searchIntent:"AI Automation Dashboards for CRM, Leads and Support | Dscope",indexable:!0},{path:"/services",lang:"en",title:"AI Automation Services - CRM, Helpdesk and Contact Center",description:"Dscope delivers AI automation services across CRM automation, helpdesk ticketing, contact-center automation and marketing automation, from the first agent to a full program.",keywords:["AI automation services","CRM automation","contact center automation","helpdesk ticketing software"],pageType:"WebPage",altPath:"/he/services",searchIntent:"AI Automation Services - CRM, Helpdesk and Contact Center",indexable:!0},{path:"/industries",lang:"en",title:"AI Automation by Industry - Contact Center, CRM, Helpdesk",de
37scription:"Explore industry-specific AI automation use cases for finance, education, real estate, security, travel and more, with CRM, contact-center and helpdesk workflows.",keywords:["AI automation examples","enterprise automation platform","AI automation by industry"],pageType:"CollectionPage",altPath:"/he/industries",searchIntent:"AI Automation by Industry - Contact Center, CRM, Helpdesk",indexable:!0},{path:"/pricing",lang:"en",title:"AI Automation Platform Pricing - Chat, Voice, CRM Agents",description:"Review Dscope AI automation platform pricing for chat, voice and CRM-connected agents across sales, support, contact-center and marketing automation workflows.",keywords:["AI automation pricing","AI chatbot pricing","voice AI agent pricing"],pageType:"WebPage",altPath:"/he/pricing",searchIntent:"AI Automation Platform Pricing - Chat, Voice, CRM Agents",indexable:!0},{path:"/about",lang:"en",title:"About Dscope - Enterprise AI Automation Platform Team",description:"Learn about the team, mission and operating philosophy behind Dscope, the enterprise AI automation platform for service, sales, support and marketing operations.",keywords:["enterprise AI automation team","AI automation company"],pageType:"AboutPage",altPath:"/he/about",searchIntent:"About Dscope - Enterprise AI Automation Platform Team",indexable:!0},{path:"/case-studies",lang:"en",title:"AI Automation Case Studies - Contact Center and CRM Results",description:"See how companies use Dscope AI agents for education, professional training, smart security and financial services, with measurable contact-center and CRM results.",keywords:["AI automation case studies","AI agents examples","contact center automation"],pageType:"CollectionPage",altPath:"/he/case-studies",searchIntent:"AI Automation Case Studies - Contact Center and CRM Results",indexable:!0},{path:"/contact",lang:"en",title:"Contact Dscope - Book an AI Automation Platform Demo",description:"Talk to the Dscope team to book an AI automation platform walkthrough, request a pilot, or get a working chat, voice or CRM AI agent demo for your own site.",keywords:["book AI automation demo","AI automation consultation","AI agent platform demo"],pageType:"ContactPage",altPath:"/he/contact",searchIntent:"Contact Dscope - Book an AI Automation Platform Demo",indexable:!0},{path:"/accessibility",lang:"en",title:"Accessibility Statement | Dscope",description:"Read how Dscope supports accessible use of its public website and how to report an accessibility issue.",keywords:["Dscope accessibility","website accessibility statement"],pageType:"WebPage",altPath:"/he/accessibility",searchIntent:"Accessibility Statement | Dscope",indexable:!0},{path:"/he",lang:"he",title:"Dscope - סוכן AI, CRM ואוטומציה לשירות ומכירות",description:"Dscope היא פלטפורמת אוטומציה וסוכני AI: צ׳אט, קול וטפסים שעונים ללקוחות, קולטים לידים ומתחברים למערכת CRM, מוקד טלפוני, הלפדסק ו-ERP מסביב לשעון.",keywords:["אוטומציה ארגונית","סוכן AI","מערכת CRM","מוקד טלפוני","צ׳אטבוט"],pageType:"WebPage",altPath:"/",searchIntent:"Dscope - סוכן AI, CRM ואוטומציה לשירות ומכירות",indexable:!0},{path:"/he/vision",lang:"he",title:"החזון של Dscope - שכבת AI אחת לכל תהליך לקוח",description:"החזון של Dscope הוא שכבת אוטומציה וסוכני AI אחת מעל שירות, מכירות ותפעול, כך שכל שיחה נסגרת, כל ליד נקלט וכל מערכת קיימת נשארת מחוברת.",keywords:["אוטומציה ארגונית","אוטומציה לארגון","סוכן AI","אוטומציות"],pageType:"WebPage",altPath:"/vision",searchIntent:"החזון של Dscope - שכבת AI אחת לכל תהליך לקוח",indexable:!0},{path:"/he/platform",lang:"he",title:"פלטפורמת אוטומציה וסוכני AI ל-CRM, קול וצ'אט | Dscope",description:"פלטפורמת Dscope מחברת סוכני AI בצ׳אט, קול וטפסים למערכת CRM, מוקד טלפוני, IVR, מרכזיה בענן ו-ERP לתהליכי שירות, מכירות ותפעול בשכבת עבודה אחת.",keywords:["אוטומציה ארגונית","סוכן AI","מערכת CRM","מרכזיה בענן","IVR"],pageType:"WebPage",altPath:"/platform",searchIntent:"פלטפורמת אוטומציה וסוכני AI ל-CRM, קול וצ'אט | Dscope",indexable:!0},{path:"/he/dashboard",lang:"he",title:"דאשבורד AI לניהול CRM, לידים ומוקד שירות | Dscope",description:"דאשבורד Dscope מציג שיחות שטופלו, לידים שנקלטו, סטטוס סנכרון CRM ומדדי מוקד טלפוני לצוותי מכירות, שירות ותמיכה במסך אחד, כולל תמלול והקלטת שיחות.",keywords:["הקלטת שיחות","תמלול שיחות","מערכת CRM","מוקד טלפוני"],pageType:"WebPage",altPath:"/dashboard",searchIntent:"דאשבורד AI לניהול CRM, לידים ומוקד שירות | Dscope",indexable:!0},{path:"/he/services",lang:"he",title:"שירותי אוטומציה, מוקד טלפוני, CRM וצ'אטבוט | Dscope",description:"שירותי Dscope: מוקד טלפוני, מרכזיה בענן, IVR ו-VoIP, מערכת CRM וצ׳אטבוט, אוטומציה ארגונית ואוטומציה שיווקית, הקלטת ותמלול שיחות ותמיכה טכנית מקצה לקצה.",keywords:["מוקד טלפוני","מערכת CRM","צ'אטבוט","אוטומציה ארגונית","מרכזיה בענן","הקלטת שיחות"],pageType:"WebPage",altPath:"/services",searchIntent:"שירותי אוטומציה, מוקד טלפוני, CRM וצ'אטבוט | Dscope",indexable:!0},{path:"/he/industries",lang:"he",title:"אוטומציית AI לפי ענף - מוקד, CRM ותמיכה | Dscope",description:"שימושי אוטומציה וסוכני AI לפי ענף: פיננסים, חינוך, נדל״ן, אבטחה ותיירות, עם מוקד טלפוני, מערכת CRM, הלפדסק ותהליכי שירות ומכירות ייעודיים לכל תחום.",keywords:["אוטומציה ארגונית","אוטומציה לארגון","מערכת CRM","מוקד טלפוני"],pageType:"CollectionPage",altPath:"/industries",searchIntent:"אוטומציית AI לפי ענף - מוקד, CRM ותמיכה | Dscope",indexable:!0},{path:"/he/pricing",lang:"he",title:"תמחור פלטפורמת אוטומציה וסוכני AI לארגון | Dscope",description:"תמחור Dscope לפלטפורמת אוטומציה וסוכני AI: צ׳אטבוט, סוכן קולי ומערכת CRM מחוברת, מוקד טלפוני ומרכזיה בענן, לתהליכי שירות, מכירות ואוטומציה שיווקית.",ke
37ywords:["אוטומציה ארגונית","סוכן AI","צ'אטבוט","מערכת CRM"],pageType:"WebPage",altPath:"/pricing",searchIntent:"תמחור פלטפורמת אוטומציה וסוכני AI לארגון | Dscope",indexable:!0},{path:"/he/about",lang:"he",title:"אודות Dscope - פלטפורמת אוטומציה וסוכני AI",description:"הכירו את הצוות, החזון ושיטת העבודה של Dscope, פלטפורמת אוטומציה וסוכני AI לשירות, מכירות, תמיכה ותפעול, שנבנית מעל המערכות הקיימות של הארגון.",keywords:["אוטומציה ארגונית","סוכן AI","פלטפורמת אוטומציה"],pageType:"AboutPage",altPath:"/about",searchIntent:"אודות Dscope - פלטפורמת אוטומציה וסוכני AI",indexable:!0},{path:"/he/case-studies",lang:"he",title:"מקרי לקוח - אוטומציה, מוקד AI ומערכת CRM | Dscope",description:"מקרי לקוח של Dscope: אוטומציה וסוכני AI בחינוך, הדרכה מקצועית, אבטחה חכמה ופיננסים, עם מוקד טלפוני, מערכת CRM ותוצאות תפעוליות מדידות.",keywords:["אוטומציה ארגונית","מערכת CRM","מוקד טלפוני","סוכן AI"],pageType:"CollectionPage",altPath:"/case-studies",searchIntent:"מקרי לקוח - אוטומציה, מוקד AI ומערכת CRM | Dscope",indexable:!0},{path:"/he/contact",lang:"he",title:"יצירת קשר - הדגמת פלטפורמת אוטומציה וסוכני AI",description:"דברו עם צוות Dscope כדי לקבוע הדגמה של פלטפורמת אוטומציה וסוכני AI, פיילוט קצר, או סוכן צ׳אט, קול או CRM עובד לאתר שלכם.",keywords:["אוטומציית AI","ייעוץ אוטומציה","סוכן AI","מערכת CRM"],pageType:"ContactPage",altPath:"/contact",searchIntent:"יצירת קשר - הדגמת פלטפורמת אוטומציה וסוכני AI",indexable:!0},{path:"/he/accessibility",lang:"he",title:"הצהרת נגישות | Dscope",description:"מידע על התאמות הנגישות באתר Dscope ועל הדרך לדווח לצוות על בעיית נגישות.",keywords:["נגישות Dscope","הצהרת נגישות"],pageType:"WebPage",altPath:"/accessibility",searchIntent:"הצהרת נגישות | Dscope",indexable:!0},{path:"/home-concept",lang:"en",title:"Home Concept Preview - Dscope",description:"Internal design concept preview for the Dscope home page.",searchIntent:"Internal preview of a Dscope home page design concept",keywords:[],indexable:!1},{path:"/brand-book",lang:"en",title:"Brand Book - Dscope",description:"The Dscope brand book - typography, color, symbols, motion, and the cosmic visual language.",searchIntent:"Internal reference for the Dscope brand system",keywords:[],indexable:!1}];new Map(Mn.map(e=>[e.path,e]));const Ca=Object.fromEntries(Mn.map(e=>[e.path,e.title])),Sl=Object.fromEntries(Mn.map(e=>[e.path,e.description])),vE=Object.fromEntries(Mn.filter(e=>e.keywords.length>0).map(e=>[e.path,e.keywords])),bE=Object.fromEntries(Mn.filter(e=>e.pageType).map(e=>[e.path,e.pageType])),wE=Mn.filter(e=>e.lang==="en"&&e.pageType).map(e=>e.path),EE=(()=>{const e={};for(const t of Mn){if(!t.indexable||!t.altPath)continue;const i=t.lang==="en"?t.path:t.altPath,o=t.lang==="he"?t.path:t.altPath;e[t.path]={en:i,he:o}}return e})(),TE={"Real Estate":"real-estate-sector"},WR=e=>TE[e]||e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""),my=[{name:"Insurance",nameHe:"ביטוח",slug:"insurance"},{name:"Global Delivery",nameHe:"משלוחים גלובליים",slug:"global-delivery"},{name:"Strategic Mgmt",nameHe:"ניהול אסטרטגי",slug:"strategic-mgmt"},{name:"Financial Ops",nameHe:"תפעול פיננסי",slug:"financial-ops"},{name:"Learning",nameHe:"למידה",slug:"learning"},{name:"Factory Processes",nameHe:"תהליכי ייצור",slug:"factory-processes"},{name:"Food & Beverage",nameHe:"מזון ומשקאות",slug:"food-beverage"},{name:"Shipping & Freight",nameHe:"שילוח ומטענים",slug:"shipping-freight"},{name:"Construction",nameHe:"בנייה",slug:"construction"}
37,{name:"Healthcare",nameHe:"בריאות",slug:"healthcare"},{name:"Real Estate",nameHe:'נדל"ן',slug:"real-estate-sector"},{name:"Energy Grid",nameHe:"רשת אנרגיה",slug:"energy-grid"},{name:"Agriculture",nameHe:"חקלאות",slug:"agriculture"},{name:"Retail & Commerce",nameHe:"קמעונאות ומסחר",slug:"retail-commerce"},{name:"Automotive",nameHe:"רכב",slug:"automotive"},{name:"Entertainment",nameHe:"בידור",slug:"entertainment"},{name:"Telecomm",nameHe:"טלקום",slug:"telecomm"},{name:"Pharma",nameHe:"פארמה",slug:"pharma"},{name:"Aerospace",nameHe:"תעופה וחלל",slug:"aerospace"},{name:"Social Management",nameHe:"ניהול רשתות חברתיות",slug:"social-management"},{name:"Cyber Security",nameHe:"אבטחת סייבר",slug:"cyber-security"},{name:"Legal Discovery",nameHe:"איתור מסמכים משפטי",slug:"legal-discovery"},{name:"Public Sector",nameHe:"מגזר ציבורי",slug:"public-sector"},{name:"Mining & Resources",nameHe:"כרייה ומשאבים",slug:"mining-resources"},{name:"Tourism",nameHe:"תיירות",slug:"tourism"},{name:"E-Sports",nameHe:"ספורט אלקטרוני",slug:"e-sports"},{name:"Clean Water Logistics",nameHe:"לוגיסטיקת מים נקיים",slug:"clean-water-logistics"},{name:"Space Exploration",nameHe:"חקר חלל",slug:"space-exploration"},{name:"Oceanography",nameHe:"אוקיינוגרפיה",slug:"oceanography"},{name:"Bio-Engineering",nameHe:"הנדסה ביולוגית",slug:"bio-engineering"},{name:"Fine Arts & Media",nameHe:"אמנות ומדיה",slug:"fine-arts-media"},{name:"Precision Machining",nameHe:"עיבוד שבבי מדויק",slug:"precision-machining"},{name:"Non-Profit Ops",nameHe:'תפעול מלכ"רים',slug:"non-profit-ops"},{name:"High-Speed Transit",nameHe:"תחבורה מהירה",slug:"high-speed-transit"},{name:"Quantum Research",nameHe:"מחקר קוונטי",slug:"quantum-research"},{name:"Venture Finance",nameHe:"מימון הון סיכון",slug:"venture-finance"},{name:"Meteorological Forecasting",nameHe:"תחזית מטאורולוגית",slug:"meteorological-forecasting"},{name:"Waste Circularity",nameHe:"כלכלה מעגלית",slug:"waste-circularity"},{name:"Neuro-Health Units",nameHe:"יחידות בריאות נוירולוגית",slug:"neuro-health-units"},{name:"Hospitality & Leisure",nameHe:"אירוח ופנאי",slug:"hospitality-leisure"},{name:"Sustainable Textiles",nameHe:"טקסטיל בר-קיימא",slug:"sustainable-textiles"},{name:"Renewable Fusion",nameHe:"אנרגיית היתוך מתחדשת",slug:"renewable-fusion"},{name:"E-Governance",nameHe:"ממשל דיגיטלי",slug:"e-governance"},{name:"Autonomous Rail",nameHe:"רכבות אוטונומיות",slug:"autonomous-rail"},{name:"Digital Ethnography",nameHe:"אתנוגרפיה דיגיטלית",slug:"digital-ethnography"},{name:"Urban Aquaponics",nameHe:"אקוופוניקה עירונית",slug:"urban-aquaponics"},{name:"Cryogenic Logistics",nameHe:"לוגיסטיקה קריוגנית",slug:"cryogenic-logistics"},{name:"Satellite Connectivity",nameHe:"קישוריות לוויינית",slug:"satellite-connectivity"},{name:"Heavy Industry",nameHe:"תעשייה כבדה",slug:"heavy-industry"},{name:"Wellness & Mental Health",nameHe:"בריאות נפשית ורווחה",slug:"wellness-mental-health"},{name:"Sports Biometrics",nameHe:"מדדים ביומטריים בספורט",slug:"sports-biometrics"},{name:"Music & Audio Gen",nameHe:"יצירת מוזיקה ואודיו",slug:"music-audio-gen"},{name:"Interior Design AI",nameHe:"עיצוב פנים מבוסס AI",slug:"interior-design-ai"},{name:"Architecture & Planning",nameHe:"אדריכלות ותכנון",slug:"architecture-planning"}],py=new Map(my.map(e=>[e.slug,e])),ZR=new Map(my.map(e=>[e.name,e])),SE=e=>`/industries/${e.slug}`,AE=e=>`/he/industries/${e.slug}`,Ch=(e,t)=>t==="he"?`${e.nameHe}: אוטומציית AI לשירות, מכירות ו-CRM | Dscope`:`${e.name}: AI Automation for Support, Sales & CRM | Dscope`,Ih=(e,t)=>t==="he"?`Dscope מביאה אוטומציה וסוכני AI לתחום ${e.nameHe}: צ׳אט, קול וטפסים שעונים ללקוחות, קולטים לידים ומתחברים ל-CRM, מוקד טלפוני והלפדסק לתהליכי שירות, מכירות ושיווק.`:`Dscope brings AI automation to ${e.name}: chat, voice and form agents that answer customers, capture leads and sync with CRM, helpdesk and ERP systems for support, sales and marketing workflows.`,eM=(e,t)=>t==="he"?`${e.nameHe}: אוטומציית AI לשירות, מכירות ו-CRM`:`${e.name}: AI Automation for Support, Sales & CRM`,hy=e=>{const t=e.match(/^\/(?:he\/)?industries\/([^/]+)(?:\/tickets\/[^/]+)?\/?$/);return t&&py.get(t[1])||null},_E={Insurance:[{id:"1",title:"Automated Claims Processing",desc:"Neural verification of damage and cost estimation",titleHe:"סיוע בטיפול בתביעות",descHe:"בדיקה ראשונית של נזק והערכת עלות, עם העברה לבוחן לפי הצורך",type:"Agent",slug:"automated-claims-processing"},{id:"2",title:"Fraud Detection",desc:"Anomaly detection via historical pattern matching",titleHe:"איתור הונאות",descHe:"זיהוי חריגות על סמך השוואה לדפוסים היסטוריים",type:"API",slug:"fraud-detection"},{id:"3",title:"Risk Assessment Agent",desc:"Dynamic risk scoring based on real-time data",titleHe:"סיוע בהערכת סיכונים",descHe:"ניקוד סיכון דינמי כתמיכה בהחלטת חיתום מקצועית",type:"Agent",slug:"risk-assessment-agent"},{id:"4",title:"Customer Onboarding",desc:"Automated document verification and risk classification",titleHe:"קליטת לקוחות חדשים",descHe:"אימות מסמכים וסיווג ראשוני לפי כללים, עם סימון חריגים לבדיקה",type:"Agent",slug:"customer-onboarding"},{id:"5",title:"Policy Personalization",desc:"Tailoring policies using AI-driven customer profiling",titleHe:"התאמה אישית של פוליסות",descHe:"הצעת התאמות לפוליסה לפי פרופיל הלקוח והכללים שהוגדרו",type:"API",slug:"policy-personalization"},{id:"6",title:"Underwriting Automation",desc:"Machine learning for faster, accurate underwriting",titleHe:"סיוע בתהליך החיתום",descHe:"ניתוח נתונים שמקדם את החיתום ומעביר החלטות לאישור מקצועי",type:"Agent",slug:"underwriting-automation"}],"Global Delivery":[{id:"1",title:"Route Optimization",desc:"Dynamic routing based on traffic and weather",titleHe:"מיטוב מסלולים",descHe:"המלצה על מסלול לפי נתוני תנועה ומזג אוויר",type:"API",slug:"route-optimization"},{id:"2",title:"Predictive Maintenance",desc:"IoT sensors predicting vehicle failure before it happens",titleHe:"תחזוקה חזויה",descHe:"חיישני IoT שמזהים תקלה ברכב עוד לפני שהיא קורית",type:"Agent",slug:"predictive-maintenance"},{id:"3",title:"Demand Forecasting",desc:"AI predicting inventory needs across nodes",titleHe:"חיזוי ביקוש",descHe:"חיזוי צורכי מלאי בכל מרכז חלוקה בעזרת AI",type:"API",slug:"demand-forecasting"},{id:"4",title:"Automated Dispatching",desc:"Assigning loads to drivers based on hours of service",titleHe:"סיוע בשיבוץ משלוחים",descHe:"הצעת הקצאת מטענים לפי שעות הנהיגה והכללים שהוגדרו",type:"Agent",slug:"automated-dispatching"},{id:"5",title:"Freight Rate Prediction",desc:"Dynamic pricing for spot market freight",titleHe:"חיזוי תעריפי הובלה",descHe:"תמחור דינמי למשלוחים בשוק הספוט",type:"API",slug:"freight-rate-prediction"},{id:"6",title:"Customs Clearance",desc:"NLP mapping documentation for border crossing",titleHe:"סיוע בשחרור ממכס",descHe:"מיפוי מסמכים לצורכי מכס וסימון חריגים לבדיקה אנושית",type:"Agent",slug:"customs-clearance"}],"Strategic Mgmt":[{id:"1",title:"Competitor Analysis",desc:"Real-time tracking of competitor pricing and strategies",titleHe:"ניתוח מתחרים",descHe:"מעקב בזמן אמת אחר תמחור ואסטרטגיות של מתחרים",type:"Agent",slug:"competitor-analysis"},{id:"2",title:"Market Sentiment",desc:"Analyzing public data for brand perception shifts",titleHe:"ניתוח הלך הרוח בשוק",descHe:"ניתוח מידע ציבורי לזיהוי שינויים בתפיסת המותג",type:"API",slug:"market-sentiment"},{id:"3",title:"Resource Allocation",desc:"Dynamic budget and personnel distribution across projects",titleHe:"הקצאת משאבים",descHe:"חלוקת תקציב וכוח אדם בין פרויקטים באופן דינמי",type:"Agent",slug:"resource-allocation"},{id:"4",title:"Risk Mitigation",desc:"Continuous modeling of geopolitical and market r
37isks",titleHe:"הפחתת סיכונים",descHe:"מיפוי מתמשך של סיכונים גאופוליטיים וסיכוני שוק",type:"API",slug:"risk-mitigation"},{id:"5",title:"Predictive KPIs",desc:"Forecasting future performance metrics based on current trends",titleHe:"חיזוי מדדי ביצוע",descHe:"תחזית מדדי ביצוע עתידיים לפי מגמות נוכחיות",type:"Agent",slug:"predictive-kpis"},{id:"6",title:"Reporting Automation",desc:"Natural language generation of executive summaries",titleHe:"סיוע בהפקת דוחות",descHe:"הכנת טיוטות של סיכומים ניהוליים לבקרה ולאישור",type:"API",slug:"reporting-automation"}],"Financial Ops":[{id:"1",title:"Algorithmic Trading",desc:"High-frequency trade execution based on market data",titleHe:"מסחר אלגוריתמי",descHe:"ביצוע עסקאות לפי כללים ומגבלות סיכון שהוגדרו מראש",type:"Agent",slug:"algorithmic-trading"},{id:"2",title:"Liquidity Management",desc:"Dynamic treasury management and fund allocation",titleHe:"ניהול נזילות",descHe:"המלצות להקצאת כספים ולניהול גזברות בהתאם למדיניות",type:"API",slug:"liquidity-management"},{id:"3",title:"KYC/AML Compliance",desc:"Automated background checks and transaction monitoring",titleHe:"בדיקות KYC ו-AML",descHe:"בדיקות רקע וניטור עסקאות, עם העברת חריגים לבדיקת ציות",type:"Agent",slug:"kyc-aml-compliance"},{id:"4",title:"Fraud Prevention",desc:"Real-time transaction scoring to block anomalies",titleHe:"סיוע במניעת הונאות",descHe:"ניקוד עסקאות וסימון חריגות לפי כללים שנקבעו מראש",type:"API",slug:"fraud-prevention"},{id:"5",title:"Portfolio Rebalancing",desc:"Robo-advisory for automatic asset reallocation",titleHe:"סיוע באיזון תיקי השקעות",descHe:"הצעת הקצאת נכסים מחדש, בכפוף לאישור ולשיקול דעת מקצועי",type:"Agent",slug:"portfolio-rebalancing"},{id:"6",title:"Credit Risk Scoring",desc:"AI models for instant credit approval processing",titleHe:"ניקוד סיכוני אשראי",descHe:"מודלי AI שתומכים בבדיקת אשראי ומעבירים החלטות לאישור",type:"API",slug:"credit-risk-scoring"}],Learning:[{id:"1",title:"Personalized Curriculum",desc:"Adapts learning materials based on student progress",titleHe:"תוכנית לימודים מותאמת אישית",descHe:"התאמת חומרי הלמידה לפי קצב ההתקדמות של כל תלמיד",type:"Agent",slug:"personalized-curriculum"},{id:"2",title:"Automated Grading",desc:"NLP-based evaluation of free-text student responses",titleHe:"סיוע בבדיקת מבחנים",descHe:"הערכה ראשונית של תשובות פתוחות, עם בקרה של איש הוראה",type:"API",slug:"automated-grading"},{id:"3",title:"Engagement Tracker",desc:"Analyzes participation metrics to flag at-risk students",titleHe:"מעקב אחר מעורבות",descHe:"ניתוח מדדי השתתפות וסימון תלמידים שעשויים להזדקק לסיוע",type:"API",slug:"engagement-tracker"},{id:"4",title:"Virtual Tutoring Bot",desc:"24/7 conversational agent for subject matter assistance",titleHe:"בוט הדרכה וירטואלי",descHe:"סוכן שיחה זמין מסביב לשעון לעזרה בחומר הלימוד",type:"Agent",slug:"virtual-tutoring-bot"},{id:"5",title:"Enrollment Processing",desc:"Streamlining admissions via intelligent document parsing",titleHe:"עיבוד הרשמות",descHe:"ייעול תהליך הקבלה באמצעות ניתוח מסמכים חכם",type:"API",slug:"enrollment-processing"},{id:"6",title:"Plagiarism Detection",desc:"Cross-referencing submissions against global databases",titleHe:"איתור העתקות",descHe:"השוואת עבודות מול מאגרי מידע גלובליים",type:"Agent",slug:"plagiarism-detection"}],"Factory Processes":[{id:"1",title:"Predictive Diagnosis",desc:"Vibration analysis for early machine failure detection",titleHe:"חיזוי תקלות בקווי ייצור",descHe:"ניתוח רעידות לזיהוי מוקדם של תקלות אפשריות במכונה",type:"Agent",slug:"predictive-diagnosis"},{id:"2",title:"Quality Control",desc:"High-speed camera analysis of defects on assembly line",titleHe:"בקרת איכות",descHe:"ניתוח מצלמות במהירות גבוהה לאיתור פגמים בפס הייצור",type:"Agent",slug:"quality-control"},{id:"3",title:"Setup Configuration",desc:"Dynamic recalibration of CNC machines between batches",t
37itleHe:"הגדרת כיול",descHe:"התאמת הגדרות הכיול של מכונות CNC בין אצוות ייצור",type:"API",slug:"setup-configuration"},{id:"4",title:"Supply Chain Sync",desc:"Real-time inventory ordering integration",titleHe:"סנכרון שרשרת אספקה",descHe:"חיבור ישיר בזמן אמת בין הזמנות למלאי",type:"API",slug:"supply-chain-sync"},{id:"5",title:"Collaborative Robotics",desc:"AI-driven task sharing with human workers",titleHe:"רובוטיקה שיתופית",descHe:"חלוקת משימות בין רובוט לעובד אנושי בעזרת AI",type:"Agent",slug:"collaborative-robotics"},{id:"6",title:"Energy Optimization",desc:"Microsecond adjustments to power draw",titleHe:"מיטוב צריכת אנרגיה",descHe:"התאמת צריכת החשמל במהירות גבוהה לפי כללי התפעול",type:"Agent",slug:"energy-optimization"}],"Food & Beverage":[{id:"1",title:"Supply Chain Traceability",desc:"Ledger-verified sourcing from farm to table",titleHe:"מעקב שרשרת אספקה",descHe:"אימות מקור המוצר מהשדה ועד השולחן בעזרת רישום דיגיטלי",type:"API",slug:"supply-chain-traceability"},{id:"2",title:"Quality Assurance",desc:"Vision systems inspecting produce freshness",titleHe:"הבטחת איכות",descHe:"מערכות ראייה ממוחשבת שבודקות טריות של תוצרת",type:"Agent",slug:"quality-assurance"},{id:"3",title:"Demand Sync Ordering",desc:"Predictive restocking based on shelf depletion rates",titleHe:"הזמנות לפי ביקוש",descHe:"חיזוי צורכי חידוש מלאי לפי קצב המכירה מהמדף",type:"API",slug:"demand-sync-ordering"},{id:"4",title:"Recipe Engine",desc:"AI balancing cost and nutritional parameters",titleHe:"מנוע מתכונים",descHe:"הצעת איזון בין עלות לפרמטרים תזונתיים בעזרת AI",type:"Agent",slug:"recipe-engine"},{id:"5",title:"Robotic Assembly",desc:"High-speed automated food packaging and sorting",titleHe:"הרכבה רובוטית",descHe:"מיון ואריזת מזון אוטומטיים במהירות גבוהה",type:"Agent",slug:"robotic-assembly"},{id:"6",title:"Cold Chain Monitoring",desc:"Real-time temperature alerts across distribution",titleHe:"ניטור שרשרת קירור",descHe:"התראות טמפרטורה בזמן אמת לאורך כל שרשרת ההפצה",type:"API",slug:"cold-chain-monitoring"}],"Shipping & Freight":[{id:"1",title:"Transport Optimizer",desc:"Dynamic routing based on shipping routes",titleHe:"מיטוב תובלה",descHe:"המלצה על מסלול הובלה לפי נתוני נתיבי השיט",type:"API",slug:"transport-optimizer"},{id:"2",title:"Vessel Management",desc:"IoT data collecting tracking information",titleHe:"ניהול כלי שיט",descHe:"איסוף מידע ומעקב באמצעות חיישני IoT",type:"Agent",slug:"vessel-management"},{id:"3",title:"Capacity Analytics",desc:"AI predicting load capacity utilization",titleHe:"ניתוח קיבולת",descHe:"חיזוי ניצול קיבולת המטען באמצעות AI",type:"API",slug:"capacity-analytics"},{id:"4",title:"Automated Check-ins",desc:"Managing warehouse unloading schedules",titleHe:"תיאום כניסת מטענים",descHe:"קידום תזמון הפריקה במחסן לפי זמינות וכללי תפעול",type:"Agent",slug:"automated-check-ins"},{id:"5",title:"Variable Load Pricing",desc:"Real-time pricing for freight exchanges",titleHe:"תמחור משתנה למטען",descHe:"תמחור בזמן אמת בבורסות המטענים",type:"API",slug:"variable-load-pricing"},{id:"6",title:"Port Operations",desc:"NLP classification of port clearances",titleHe:"תפעול נמל",descHe:"סיווג אישורי נמל באמצעות עיבוד שפה טבעית",type:"Agent",slug:"port-operations"}],Construction:[{id:"1",title:"Site Surveying",desc:"Automated topography mapping analysis",titleHe:"סקר אתר",descHe:"ניתוח מיפוי טופוגרפי והצפת חריגים לבדיקת מודד",type:"Agent",slug:"site-surveying"},{id:"2",title:"BIM Reviewer",desc:"Identifying structural compliance and integrity",titleHe:"בדיקת מודלי BIM",descHe:"איתור בעיות תאימות ותקינות מבנית",type:"API",slug:"bim-reviewer"},{id:"3",title:"Material Tracking",desc:"IoT-based location and utilization tracking",titleHe:"מעקב חומרים",descHe:"מעקב מיקום וניצול חומרים בעזרת חיישני IoT",type:"API",slug:"material-tracking"},{id:"4",title:"Generative Design",desc:"Algorithmically optimizing structural elements",titleHe:"תכנון גנרטיבי",descHe:"הצעת חלופות לרכיבי המבנה לבחינת אנשי התכנון",type:"Agent",slug:"generative-design"},{id:"5",title:"Supply Synchronization",desc:"JIT delivery scheduling based on project phase",titleHe:"סנכרון אספקה",descHe:"תזמון אספקה בדיוק בזמן לפי שלב הפרויקט",type:"API",slug:"supply-synchronization"},{id:"6",title:"Safety Monitor",desc:"Computer vision flagging potential hazards",titleHe:"ניטור בטיחות",descHe:"ראייה ממוחשבת שמסמנת סכנות אפשריות לטיפול צוות האתר",type:"Agent",slug:"safety-monitor"}],Healthcare:[{id:"1",title:"Imaging Diagnostic",desc:"AI processing of imaging for anomaly detection",titleHe:"סיוע בפענוח הדמיה",descHe:"סימון חריגות אפשריות בהדמיה לבדיקת איש מקצוע רפואי",type:"Agent",slug:"imaging-diagnostic"},{id:"2",title:"EHR Extraction",desc:"NLP for pulling structured data from notes",titleHe:"חילוץ נתוני תיק רפואי",descHe:"שליפת מידע מובנה מתוך רשומות באמצעות עיבוד שפה טבעית",type:"API",slug:"ehr-extraction"},{id:"3",title:"Patient Triage",desc:"Symptom and automated rout
37ing to departments",titleHe:"סיוע במיון מטופלים",descHe:"ניתוח תסמינים והמלצת ניתוב, עם העברה לצוות רפואי",type:"Agent",slug:"patient-triage"},{id:"4",title:"Clinical Trial Match",desc:"Finding eligible matches based on criteria",titleHe:"התאמה לניסויים קליניים",descHe:"איתור מועמדים אפשריים לפי קריטריונים לבדיקת צוות המחקר",type:"API",slug:"clinical-trial-match"},{id:"5",title:"Drug Analytics",desc:"Predicting interactions to discover variations",titleHe:"ניתוח תרופות",descHe:"סימון אינטראקציות וחלופות אפשריות לבחינה מקצועית",type:"Agent",slug:"drug-analytics"},{id:"6",title:"Prescription Renewals",desc:"Reviewing data for safe authorizations",titleHe:"סיוע בחידוש מרשמים",descHe:"בדיקת נתונים והעברת הבקשה לאישור איש מקצוע רפואי",type:"Agent",slug:"prescription-renewals"}],"Real Estate":[{id:"1",title:"Valuation Model",desc:"Dynamic pricing based on hyper-local data",titleHe:"מודל הערכת שווי",descHe:"אומדן שווי דינמי לפי נתונים מקומיים, לבחינת שמאי או יועץ",type:"API",slug:"valuation-model"},{id:"2",title:"Smart Leasing",desc:"Automated execution for rental tasks",titleHe:"ניהול השכרה חכם",descHe:"קידום משימות השכרה לפי כללים, עם אישור בנקודות הנדרשות",type:"Agent",slug:"smart-leasing"},{id:"3",title:"Virtual Staging",desc:"Design rendering for vacant units",titleHe:"עיצוב וירטואלי",descHe:"הדמיית עיצוב עבור יחידות פנויות",type:"API",slug:"virtual-staging"},{id:"4",title:"Property Maintenance",desc:"IoT sensors identifying potential system issues",titleHe:"תחזוקת נכסים",descHe:"חיישני IoT שמאתרים תקלות מערכת אפשריות",type:"Agent",slug:"property-maintenance"},{id:"5",title:"Lead Qualifying Bot",desc:"Conversational interactions with prospects",titleHe:"בוט לסינון לידים",descHe:"שיחה ראשונית עם מתעניינים והעברת לידים מתאימים לנציג",type:"Agent",slug:"lead-qualifying-bot"},{id:"6",title:"Risk Analytics",desc:"Assessing market risk across portfolios",titleHe:"ניתוח סיכונים",descHe:"הערכת סיכוני שוק על פני תיקי נכסים",type:"API",slug:"risk-analytics"}],"Energy Grid":[{id:"1",title:"Demand Response",desc:"Automated load balancing during consumption peaks",titleHe:"ניהול ביקושים",descHe:"התאמת עומסים בשעות שיא לפי ספים וכללי בטיחות שהוגדרו",type:"Agent",slug:"demand-response"},{id:"2",title:"Renewable Forecaster",desc:"Predicting generation output changes",titleHe:"חיזוי אנרגיה מתחדשת",descHe:"חיזוי שינויים בתפוקת הייצור",type:"API",slug:"renewable-forecaster"},{id:"3",title:"Grid Anomaly Check",desc:"Identifying micro-fluctuations in load distribution",titleHe:"בדיקת חריגות ברשת",descHe:"איתור תנודות קטנות בחלוקת העומס",type:"Agent",slug:"grid-anomaly-check"},{id:"4",title:"Meter Processing",desc:"High-throughput parsing of distributed consumption data",titleHe:"עיבוד נתוני מונים",descHe:"עיבוד נפח גבוה של נתוני צריכה מפוזרים",type:"API",slug:"meter-processing"},{id:"5",title:"Node Distribution",desc:"Evaluating power delivery allocations",titleHe:"הקצאת אספקת חשמל",descHe:"הערכת חלוקת האספקה בין צומתי הרשת לתמיכה במפעילים",type:"Agent",slug:"node-distribution"},{id:"6",title:"Predictive Faults",desc:"Acoustic and thermal anomaly tracking",titleHe:"חיזוי תקלות",descHe:"מעקב אחר חריגות אקוסטיות ותרמיות",type:"API",slug:"predictive-faults"}],Agriculture:[{id:"1",title:"Irrigation Control",desc:"Automated distribution based on moisture limits",titleHe:"בקרת השקיה",descHe:"ויסות השקיה לפי ספי לחות וכללים שהוגדרו מראש",type:"Agent",slug:"irrigation-control"},{id:"2",title:"Disease Identifier",desc:"Vision detection distinguishing crop anomalies",titleHe:"זיהוי מחלות",descHe:"ראייה ממוחשבת שמזהה חריגות ביבול",type:"Agent",slug:"disease-identifier"},{id:"3",title:"Yield Processor",desc:"Forecasting harvest volume based on input variables",titleHe:"חיזוי יבול",descHe:"חיזוי כמות היבול לפי משתני קלט",type:"API",slug:"yield-processor"},{id:"4",title:"Autonomous Coordination",desc:"Guidance integration without operator input",titleHe:"סיוע בתיאום כלי שטח",descHe:"ניווט לפי מסלולים וכללי בטיחות, עם העברה למפעיל בעת חריגה",type:"Agent",slug:"autonomous-coordination"},{id:"5",title:"Harvest Logistics",desc:"Data ledger updating status to distribution",titleHe:"לוגיסטיקת קציר",descHe:"עדכון סטטוס עד לשלב ההפצה ברישום דיגיטלי",type:"API",slug:"harvest-logistics"},{id:"6",title:"Sorting Classification",desc:"Vision pipeline reviewing product quality",titleHe:"מיון וסיווג",descHe:"בדיקת איכות המוצר באמצעות מערך ראייה ממוחשבת",type:"Agent",slug:"sorting-classification"}],"Retail & Commerce":[{id:"1",title:"Pricing Engine",desc:"Algorithmic adjustments responding to market state",titleHe:"מנוע תמחור",descHe:"הצעת עדכוני מחיר לפי מצב השוק ומגבלות שהוגדרו",type:"API",slug:"pricing-engine"},{id:"2",title:"Recommendation Node",desc:"Real-time filtering determining relevancy",titleHe:"מנוע המלצות",descHe:"סינון פריטים והצגת המלצות רלוונטיות ללקוח",type:"Agent",slug:"recommendation-node"},{id:"3",title:"Inventory Restocking",desc:"Predictive planning matching physical capacity",titleHe:"חידוש מלאי",descHe:"תכנון חזוי שמתאים את עצמו לקיבולת הפיזית",type:"API",slug:"inventory-restocking"},{id:"4",title:"Virtual Fulfillment",desc:"Warehouse sorting routing management",titleHe:"ניהול ליקוט והפצה",descHe:"תיאום מיון וניתוב הזמנות במחסן לפי כללי התפעול",type:"Agent",slug:"virtual-fulfillment"},{id:"5",title:"Customer Intent",desc:"NLP evaluation of engagement feedback",titleHe:"זיהוי כוונת לקוח",descHe:"ניתוח משוב ומעורבות באמצעות עיבוד שפה טבעית",type:"API",slug:"customer-intent"},{id:"6",title:"Checkout Processing",desc:"Autonomous detection confirming item tracking",titleHe:"סיוע בתהליך התשלום",descHe:"זיהוי פריטים לפי כללים וסימון פערים לבדיקת צוות החנות",type:"Agent",slug:"checkout-processing"}],Automotive:[{id:"1",title:"Autonomous Pathways",desc:"Neural calculation determining safe trajectory",titleHe:"תכנון נתיב נהיגה",descHe:"חישוב נתיב בכפוף לחיישנים, למגבלות בטיחות ולבקרת המערכת",type:"Agent",slug:"autonomous-pathways"},{id:"2",title:"OTA Orchestrator",desc:"Automated deployments pushing to target networks",titleHe:"ניהול עדכוני OTA",descHe:"קידום הפצת עדכונים לרשתות יעד לפי אישורים וכללים שהוגדרו",type:"API",slug:"ota-orchestrator"},{id:"3",title:"Component Forecast",desc:"Predictive models estimating system degradation",titleHe:"חיזוי רכיבים",descHe:"מודלים חזויים שמעריכים בלאי מערכת",type:"API",slug:"component-forecast"},{id:"4",title:"Assembly Vision",desc:"High-fidelity scan detecting visual anomalies",titleHe:"ראייה בקו ההרכבה",descHe:"סריקה חזותית שמסמנת חריגות אפשריות לבקרת איכות",type:"Agent",slug:"assembly-vision"},{id:"5",title:"Telemetry Integration",desc:"High-throughput stream collecting operational packets",titleHe:"שילוב טלמטריה",descHe:"איסוף נתוני תפעול בזרם רציף ובנפח גבוה",type:"API",slug:"telemetry-integration"},{id:"6",title:"Fatigue Analytics",desc:"Infrared processing interpreting driver states",titleHe:"ניתוח עייפות נהג",descHe:"ניתוח אינפרה-אדום שמתריע על סימני עייפות אפשריים",type:"Agent",slug:"fatigue-analytics"}],Entertainment:[{id:"1",title:"Render Balancing",desc:"Dynamic scaling shifting resources as needed",titleHe:"איזון עיבוד גרפי",descHe:"הקצאת משאבים דינמית בהתאם לצורך",type:"API",slug:"render-balancing"},{id:"2",title:"Viewer Trend Analysis",desc:"Evaluating metrics projecting potential popularity",titleHe:"ניתוח מגמות צפייה",descHe:"ניתוח מדדים להערכת פוטנציאל החשיפה של תוכן",type:"Agent",slug:"viewer-trend-analysis"},{id:"3",title:"Media Indexing",desc:"Metadata extraction evaluating property rights",titleHe:"מפתוח מדיה",descHe:"חילוץ מטא-דאטה וסימון פריטי זכויות לבדיקה",type:"Agent",slug:"media-indexing"},{id:"4",title:"Synthesis Node",desc:"Voice transformation applied for localizations",titleHe:"סינתזת קול",de
37scHe:"עיבוד קול לצורך התאמה לשווקים שונים",type:"API",slug:"synthesis-node"},{id:"5",title:"Content Reviewer",desc:"Scan pipeline filtering invalid assets over time",titleHe:"בדיקת תוכן",descHe:"סימון שוטף של תכנים שאינם עומדים בכללים לבדיקת עורך",type:"Agent",slug:"content-reviewer"},{id:"6",title:"Curation Engine",desc:"Feed algorithm establishing user preferences",titleHe:"מנוע אוצרות תוכן",descHe:"אלגוריתם פיד שלומד את העדפות המשתמש",type:"API",slug:"curation-engine"}],Telecomm:[{id:"1",title:"Traffic Shaper",desc:"Dynamic resolution ensuring bandwidth stability",titleHe:"ויסות תעבורת רשת",descHe:"התאמת תעבורה דינמית לתמיכה ביציבות רוחב הפס",type:"Agent",slug:"traffic-shaper"},{id:"2",title:"Tower Maintenance",desc:"IoT diagnostics testing critical hardware integrity",titleHe:"תחזוקת אנטנות",descHe:"אבחון IoT שבודק תקינות חומרה קריטית",type:"API",slug:"tower-maintenance"},{id:"3",title:"Provisioning Engine",desc:"Zero-touch pipeline establishing connections",titleHe:"מנוע הקצאת שירותים",descHe:"הקמת חיבורים לפי תבניות וכללים, עם סימון חריגים לטיפול",type:"API",slug:"provisioning-engine"},{id:"4",title:"Filter Diagnostics",desc:"NLP screening incoming queries avoiding issues",titleHe:"סינון פניות",descHe:"בדיקת פניות נכנסות בעזרת עיבוד שפה טבעית",type:"Agent",slug:"filter-diagnostics"},{id:"5",title:"Allocation Nodes",desc:"Coordinating frequency exchanges actively",titleHe:"צמתי הקצאה",descHe:"תיאום פעיל של החלפת תדרים",type:"Agent",slug:"allocation-nodes"},{id:"6",title:"Churn Analyzer",desc:"Model highlighting behavioral shifts proactively",titleHe:"ניתוח סיכון לנטישה",descHe:"מודל שמסמן שינויי התנהגות שעשויים להעיד על נטישה",type:"API",slug:"churn-analyzer"}],Pharma:[{id:"1",title:"Discovery Processing",desc:"Predicting interactions to advance evaluations",titleHe:"סיוע בגילוי תרופות",descHe:"חיזוי אינטראקציות אפשריות לקידום בדיקה מחקרית",type:"Agent",slug:"discovery-processing"},{id:"2",title:"Trial Integration",desc:"Searching for valid combinations securely",titleHe:"שילוב נתוני ניסויים",descHe:"איתור שילובים אפשריים לבחינה מקצועית ומבוקרת",type:"API",slug:"trial-integration"},{id:"3",title:"Sequencing Engine",desc:"Data pipeline isolating relevant structures",titleHe:"מנוע ריצוף",descHe:"עיבוד נתונים שמבודד מבנים רלוונטיים",type:"API",slug:"sequencing-engine"},{id:"4",title:"Regulatory Review",desc:"Formatting documents ensuring compliance formatting",titleHe:"סיוע בבדיקה רגולטורית",descHe:"התאמת מבנה המסמכים וסימון פערים לבדיקת מומחה רגולציה",type:"Agent",slug:"regulatory-review"},{id:"5",title:"Quality Vision",desc:"Visual verification identifying physical inconsistencies",titleHe:"בקרת איכות חזותית",descHe:"אימות חזותי שמאתר אי-התאמות פיזיות",type:"Agent",slug:"quality-vision"},{id:"6",title:"Supply Diagnostics",desc:"Tracking logs to protect sensitive cargo safely",titleHe:"אבחון שרשרת אספקה",descHe:"ניתוח יומני מעקב וסימון סיכונים למטען רגיש",type:"API",slug:"supply-diagnostics"}],Aerospace:[{id:"1",title:"Telemetry Analysis",desc:"Real-time detection filtering signal noise",titleHe:"ניתוח טלמטריה",descHe:"זיהוי בזמן אמת שמסנן רעשי אות",type:"Agent",slug:"telemetry-analysis"},{id:"2",title:"Engine Diagnostics",desc:"Forecasting mechanical wear based on conditions",titleHe:"אבחון מנוע",descHe:"חיזוי בלאי מכני לפי תנאי הפעלה",type:"API",slug:"engine-diagnostics"},{id:"3",title:"Trajectory Control",desc:"Adjusting variables finding optimal pathways",titleHe:"בקרת מסלול טיסה",descHe:"הצעת התאמות למסלול במסגרת מגבלות הבטיחות והבקרה",type:"Agent",slug:"trajectory-control"},{id:"4",title:"Constellation Mapping",desc:"Autonomous spatial coordination reducing risk",titleHe:"מיפוי מערך לוויינים",descHe:"סיוע בתיאום מרחבי לפי כללים, עם התרעה על חריגות",type:"Agent",slug:"constellation-mapping"},{id:"5",title:"Traffic Flow Manager",desc:"Data aggregation organizing safe airspace usage",titleHe:"ניהול תעבורה אווירית",descHe:"איחוד נתונים לתמיכה בהחלטות של בקרי התעבורה האווירית",type:"API",slug:"traffic-flow-manager"},{id:"6",title:"Material Modeling",desc:"Simulations indicating potential stress fractures",titleHe:"מידול חומרים",descHe:"סימולציות שמזהות סדקי מתח פוטנציאליים",type:"API",slug:"material-modeling"}],"Social Management":[{id:"1",title:"Moderation Filter",desc:"Processing input avoiding prohibited content distribution",titleHe:"סינון תוכן",descHe:"סימון תוכן שעשוי להפר את הכללים והעברתו לבדיקה בעת הצורך",type:"Agent",slug:"moderation-filter"},{id:"2",title:"Trend Processing",desc:"Analysis of data metrics revealing user patterns",titleHe:"ניתוח מגמות",descHe:"ניתוח מדדים לזיהוי דפוסי שימוש ומגמות",type:"API",slug:"trend-processing"},{id:"3",title:"Identity Verification",desc:"Confirmation comparing data against known ledgers",titleHe:"אימות זהות",descHe:"השוואת נתוני זהות למאגרים והעברת חריגים לבדיקה",type:"API",slug:"identity-verification"},{id:"4",title:"Content Distributor",desc:"Injecting diversified viewpoints actively to profiles",titleHe:"הפצת תוכן",descHe:"התאמת הפצת תוכן מגוון לפי כללים והעדפות שהוגדרו",type:"Agent",slug:"content-distributor"},{id:"5",title:"Behavior Identifier",desc:"Heuristics evaluating user intent effectively",titleHe:"זיהוי התנה×
37’ות",descHe:"כללי אצבע שמעריכים ביעילות את כוונת המשתמש",type:"Agent",slug:"behavior-identifier"},{id:"6",title:"Match Recommendation",desc:"Connecting variables revealing similar interests",titleHe:"המלצת התאמות",descHe:"חיבור משתנים שחושף תחומי עניין דומים",type:"API",slug:"match-recommendation"}],"Cyber Security":[{id:"1",title:"Threat Detection",desc:"Behavioral analytics targeting unknown anomalies",titleHe:"איתור איומים",descHe:"ניתוח התנהגותי שמזהה חריגות לא מוכרות",type:"Agent",slug:"threat-detection"},{id:"2",title:"Incident Responder",desc:"Autonomous execution protecting central infrastructure",titleHe:"סיוע במענה לאירועים",descHe:"ביצוע פעולות מוגדרות מראש והעברת חריגים לצוות האבטחה",type:"Agent",slug:"incident-responder"},{id:"3",title:"Simulation Module",desc:"Generating environments to assess internal training",titleHe:"מודול סימולציה",descHe:"יצירת סביבות לבדיקת הכשרה פנימית",type:"API",slug:"simulation-module"},{id:"4",title:"Penetration Tester",desc:"Red-team protocols validating security walls",titleHe:"סיוע בבדיקות חדירה",descHe:"הרצת תרחישי צוות אדום בסביבה מורשית וסימון חולשות לבדיקה",type:"Agent",slug:"penetration-tester"},{id:"5",title:"Log Analyzer",desc:"High-throughput system sorting critical alerts",titleHe:"ניתוח יומני מערכת",descHe:"מיון התראות בנפח גבוה והבלטת אירועים קריטיים לצוות",type:"API",slug:"log-analyzer"},{id:"6",title:"Access Management",desc:"Dynamic scaling limiting credential levels securely",titleHe:"ניהול הרשאות",descHe:"התאמת רמות הרשאה לפי מדיניות וסימון חריגים לבדיקה",type:"API",slug:"access-management"}],"Legal Discovery":[{id:"1",title:"Lifecycle Automator",desc:"Generation of legal documents securely verifying format",titleHe:"סיוע במחזור החיים המשפטי",descHe:"הכנת טיוטות מסמכים ובדיקת מבנה, בכפוף לאישור משפטי",type:"Agent",slug:"lifecycle-automator"},{id:"2",title:"E-Discovery NLP",desc:"Locating relevant phrases efficiently indexing archives",titleHe:"גילוי מסמכים דיגיטלי",descHe:"איתור ביטויים רלוונטיים ואינדוקס יעיל של ארכיונים",type:"API",slug:"e-discovery-nlp"},{id:"3",title:"Regulatory Alert",desc:"Status updates mapping changes seamlessly over time",titleHe:"התראה רגולטורית",descHe:"עדכוני סטטוס שממפים שינויים באופן שוטף",type:"Agent",slug:"regulatory-alert"},{id:"4",title:"Redaction Engine",desc:"Evaluating files to mask sensitive PII effectively",titleHe:"מנוע השחרת מידע",descHe:"זיהוי מידע אישי רגיש והצעת השחרה לבדיקת גורם מוסמך",type:"Agent",slug:"redaction-engine"},{id:"5",title:"Diligence Scraper",desc:"Scanning directories isolating liability clauses",titleHe:"בדיקת נאותות",descHe:"סריקת תיקיות ובידוד סעיפי אחריות",type:"API",slug:"diligence-scraper"},{id:"6",title:"Citation Assistant",desc:"Semantic queries indexing historical rulings correctly",titleHe:"עוזר לאיתור אסמכתאות",descHe:"חיפוש סמנטי בפסיקות היסטוריות והצגת מקורות לבדיקה משפטית",type:"Agent",slug:"citation-assistant"}],"Public Sector":[{id:"1",title:"Traffic Orchestrator",desc:"Dynamic signal adjustments resolving city congestion",titleHe:"ניהול תנועה עירונית",descHe:"הצעת התאמות לרמזורים לפי עומסים וכללי בטיחות שהוגדרו",type:"Agent",slug:"traffic-orchestrator"},{id:"2",title:"Audit Processing",desc:"Identifying document deviations efficiently",titleHe:"עיבוד ביקורת",descHe:"איתור יעיל של סטיות במסמכים",type:"API",slug:"audit-processing"},{id:"3",title:"Transit Routing",desc:"Calculations reorganizing paths based on demand data",titleHe:"ניתוב תחבורה ציבורית",descHe:"חישובים שמארגנים מחדש מסלולים לפי נתוני ביקוש",type:"API",slug:"transit-routing"},{id:"4",title:"Emergency Dispatch",desc:"Pathfinding algorithms directing responders safely",titleHe:"סיוע בשיגור כוחות חירום",descHe:"המלצת נתיב והקצאת כוחות לאישור מוקדן מוסמך",type:"Agent",slug:"emergency-dispatch"},{id:"5",title:"Defect Vision",desc:"Visual processing locating structural degradation",titleHe:"ראייה לאיתור ליקויים",descHe:"עיבוד חזותי שמאתר בלאי מבני",type:"Agent",slug:"defect-vision"},{id:"6",title:"Permit Verifier",desc:"Evaluating structural proposals against zoning rules",titleHe:"סיוע בבדיקת היתרים",descHe:"השוואת הצעות בנייה לכללי התכנון וסימון פערים לבודק מוסמך",type:"API",slug:"permit-verifier"}],"Mining & Resources":[{id:"1",title:"Haulage Autonomy",desc:"Self-driving navigation routing ore effectively",titleHe:"סיוע בהובלה אוטונומית",de
37scHe:"ניווט תובלת עפרה לפי מסלולים ומגבלות בטיחות, עם פיקוח מפעיל",type:"Agent",slug:"haulage-autonomy"},{id:"2",title:"Strata Calculation",desc:"Interpreting subterranean data discovering points",titleHe:"חישוב שכבות קרקע",descHe:"פענוח נתונים תת-קרקעיים לאיתור נקודות עניין",type:"API",slug:"strata-calculation"},{id:"3",title:"Equipment Diagnostic",desc:"Sensor compilation predicting likely component loss",titleHe:"אבחון ציוד",descHe:"ניתוח נתוני חיישנים לזיהוי מוקדם של כשל אפשרי ברכיבים",type:"API",slug:"equipment-diagnostic"},{id:"4",title:"Ventilation Scaling",desc:"Dynamic airflow adjustments based on activity",titleHe:"כיוונון אוורור",descHe:"התאמת זרימת אוויר דינמית לפי רמת הפעילות",type:"Agent",slug:"ventilation-scaling"},{id:"5",title:"Structure Integrity",desc:"Data integration verifying structural endurance",titleHe:"תקינות מבנית",descHe:"שילוב נתונים וסימון חריגות מבניות לבדיקת מהנדס",type:"Agent",slug:"structure-integrity"},{id:"6",title:"Grade Processing",desc:"Visual detection confirming material extraction levels",titleHe:"עיבוד דרגת איכות",descHe:"הערכה חזותית של דרגת החומר והעברת חריגים לבקרת איכות",type:"API",slug:"grade-processing"}]};let gy={},Qu=!1;const tM=e=>{gy=e,Qu=!0},NE=()=>Qu,CE=()=>Qu?Promise.resolve():he(()=>import("./sectorAutomationsExtended-cd-Jyjif.js"),__vite__mapDeps([0,1,2,3])).then(()=>{}),yy=e=>_E[e]||gy[e]||[],IE=(e,t)=>yy(e.name).some(i=>i.id===t.id),RE=(e,t)=>yy(e.name).find(i=>i.slug===t)||null,hl=(e,t,i)=>`${i==="he"?AE(e):SE(e)}/tickets/${t.slug}`,ME=e=>{const t=e.match(/^\/(he\/)?industries\/([^/]+)\/tickets\/([^/]+)\/?$/);if(!t)return null;const i=py.get(t[2]);if(!i)return null;const o=RE(i,t[3]);return o?{locale:t[1]?"he":"en",sector:i,ticket:o}:null},DE=(e,t,i)=>i==="he"?`${t.titleHe}: תרחיש אוטומציה בתחום ${e.nameHe} | Dscope`:`${t.title}: ${e.name} Automation Scenario | Dscope`,kE=(e,t,i)=>i==="he"?`תרחיש לדוגמה של Dscope בתחום ${e.nameHe}: ${t.descHe}. המערכת מתחברת לכלים העסקיים, מתעדת פעולות ומעבירה לאדם מקרים שדורשים אישור או שיקול דעת.`:`A Dscope automation scenario for ${e.name}: ${t.desc}. The workflow connects business tools, records actions and transfers cases that require approval or professional judgment.`,LE=({locale:e="en"}={})=>{const t=e==="he";return r.jsxs("section",{dir:t?"rtl":"ltr",className:`relative z-10 min-h-screen flex flex-col items-center justify-start px-6 pt-10 pb-24 ${t?"font-hebrew":""}`,children:[r.jsxs("div",{className:"max-w-6xl w-full text-center",children:[r.jsx("span",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-[0.5em]"} text-blue-400 mb-6 block`,children:t?"בואו נדבר":"Get in touch"}),r.jsx("h1",{className:`text-2xl md:text-4xl font-black tracking-tighter uppercase text-white mb-8 ${t?"tracking-normal":"font-display"}`,children:t?"צרו קשר":"Contact us"}),r.jsx("p",{className:"text-white/60 text-base md:text-lg mb-3 leading-relaxed",children:t?r.jsxs(r.Fragment,{children:["בואו נדבר על איך להצמיח את הארגון שלכם עם אוטומציית ",r.jsx("span",{dir:"ltr",children:"AI"})," ברמה הכי מתקדמת שיש."]}):"Let's talk about scaling your enterprise with planetary-grade AI automation."}),r.jsx("p",{className:"text-white/50 text-base md:text-lg mb-12 leading-relaxed",children:t?"השאירו פרטים בצ׳אט או בטופס למטה - הצוות שלנו יחזור אליכם תוך יום אחד.":"Leave your coordinates in the chat or form below - our crew will lock onto your signal and hail you back within one Earth-day."})]}),r.jsx("div",{id:"targetbob-widget",style:{width:"100%",maxWidth:738,height:560,margin:"0 auto"}}),r.jsx("p",{className:`mt-8 text-white/30 text-center ${t?"text-[13px] font-hebrew tracking-normal":"font-mono text-[11px] uppercase tracking-[0.3em]"}`,children:t?r.jsxs(r.Fragment,{children:["רחוב ",r.jsx("span",{dir:"ltr",children:"Igal Alon 126"}),", תל אביב"]}
37):"Igal Alon 126, Tel Aviv, Israel"})]})},xy="dscope-accessibility-preferences-v1",Eu={contrast:!1,links:!1,text:!1,font:!1,cursor:!1,motion:!1},PE={en:{open:"Accessibility options",title:"Accessibility options",description:"Adjust this site in your current browser. Your choices stay on this device.",contrast:"Increase contrast",links:"Underline text links",text:"Increase text size",font:"Use a readable font",cursor:"Use a larger pointer",motion:"Reduce motion",reset:"Reset options",statement:"Accessibility statement",close:"Close"},he:{open:"אפשרויות נגישות",title:"אפשרויות נגישות",description:"התאימו את האתר בדפדפן הנוכחי. הבחירות נשמרות במכשיר הזה.",contrast:"ניגודיות מוגברת",links:"הדגשת קישורי טקסט",text:"הגדלת טקסט",font:"שימוש בגופן קריא",cursor:"סמן עכבר מוגדל",motion:"הפחתת תנועה",reset:"איפוס אפשרויות",statement:"הצהרת נגישות",close:"סגירה"}},HE=()=>{try{return{...Eu,...JSON.parse(window.localStorage.getItem(xy)??"{}")}}catch{return Eu}},UE=e=>{Object.entries(e).forEach(([t,i])=>{document.documentElement.toggleAttribute(`data-a11y-${t}`,i)})},Rh=({locale:e})=>{const[t,i]=_.useState(!1),[o,l]=_.useState(HE),c=_.useId(),m=_.useId(),p=_.useRef(null),y=_.useRef(null),g=_.useRef(null),v=PE[e],b=/^\/mayura(?:\/|$)/.test(window.location.pathname);if(_.useEffect(()=>{if(!b){UE(o);try{window.localStorage.setItem(xy,JSON.stringify(o))}catch{}}},[b,o]),_.useEffect(()=>{var A;if(!t)return;(A=y.current)==null||A.focus();const T=I=>{var L;if(I.key==="Escape"){I.preventDefault(),i(!1),(L=p.current)==null||L.focus();return}if(I.key!=="Tab"||!g.current)return;const C=Array.from(g.current.querySelectorAll("button, a[href]")),N=C[0],R=C[C.length-1];I.shiftKey&&document.activeElement===N&&(I.preventDefault(),R==null||R.focus()),!I.shiftKey&&document.activeElement===R&&(I.preventDefault(),N==null||N.focus())};return document.addEventListener("keydown",T),()=>document.removeEventListener("keydown",T)},[t]),b)return null;const w=()=>{var T;i(!1),(T=p.current)==null||T.focus()};return r.jsxs(r.Fragment,{children:[r.jsx("button",{ref:p,type:"button",className:"a11y-floating-control","aria-label":v.open,"aria-haspopup":"dialog","aria-expanded":t,onClick:()=>i(!0),children:r.jsx(a1,{"aria-hidden":"true"})}),t&&r.jsx("div",{className:"a11y-dialog-layer",onMouseDown:T=>T.target===T.currentTarget&&w(),children:r.jsxs("div",{ref:g,className:"a11y-dialog",role:"dialog","aria-modal":"true","aria-labelledby":c,"aria-describedby":m,lang:e,dir:e==="he"?"rtl":"ltr",children:[r.jsxs("div",{className:"a11y-dialog-heading",children:[r.jsxs("div",{children:[r.jsx("h2",{id:c,children:v.title}),r.jsx("p",{id:m,children:v.description})]}),r.jsx("button",{ref:y,type:"button",className:"a11y-icon-button",onClick:w,"aria-label":v.close,children:r.jsx(kl,{"aria-hidden":"true"})})]}),r.jsx("div",{className:"a11y-options",children:["contrast","links","text","font","cursor","motion"].map(T=>r.jsxs("button",{type:"button",className:"a11y-option","aria-pressed":o[T],onClick:()=>l(A=>({...A,[T]:!A[T]})),children:[r.jsx("span",{children:v[T]}),r.jsx("span",{className:"a11y-check","aria-hidden":"true",children:o[T]&&r.jsx(o1,{})})]},T))}),r.jsxs("div",{className:"a11y-dialog-actions",children:[r.jsxs("button",{type:"button",className:"a11y-reset",onClick:()=>l(Eu),children:[r.jsx(s1,{"aria-hidden":"true"}),v.reset]}),r.jsx("a",{href:e==="he"?"/he/accessibility":"/accessibility",onClick:w,children:v.statement})]})]})})]})},jE={en:{eyebrow:"ACCESSIBILITY AT DSCOPE",title:"Accessibility statement",intro:"We work to make Dscope clear, usable and navigable for as many people as possible.",back:"Back to Dscope",switchLabel:"Read in Hebrew",switchHref:"/he/accessibility",updated:"Last updated: July 24, 2026",sections:[[uh,"Standard and scope","We design and maintain the public Dscope website toward Israeli Standard 5568 at level AA. The accessibility menu is an optional aid; it does not replace the semantic, keyboard, visual and media accessibility built into the site."],[vl,"How 
37we support access","Our public site uses semantic page structure, visible keyboard focus, skip navigation, descriptive labels, responsive layouts and readable color contrast. The accessibility menu also provides optional text, font, pointer, contrast, link and motion adjustments."],[dh,"Responsive and adaptable content","We test key public pages at desktop, tablet and mobile sizes. Text can be enlarged with browser zoom, and core content is designed to reflow without horizontal scrolling."],[fh,"Motion and media","The site respects your operating system reduced-motion preference. You can also request reduced motion from the accessibility menu. Interactive media may provide separate playback controls."],[mh,"Known limitations","Some rich visual scenes, embedded AI agents and third-party services may have separate controls or limitations. We continue to improve these experiences. This statement is not a certification or a guarantee of conformance with every accessibility standard."]],contactTitle:"Tell us about an accessibility issue",contactBody:"Accessibility contact: Alon Soler. If something prevents you from using the site, tell us which page you visited, what you were trying to do, and which browser or assistive technology you used. We will also provide an accessible alternative where needed.",contactCta:"Open the contact page",contactEmail:"Accessibility email"},he:{eyebrow:"נגישות ב-DSCOPE",title:"הצהרת נגישות",intro:"אנחנו פועלים כדי שהאתר של Dscope יהיה ברור, שימושי ונוח לניווט עבור קהל רחב ככל האפשר.",back:"חזרה ל-Dscope",switchLabel:"Read in English",switchHref:"/accessibility",updated:"עודכן לאחרונה: 24 ביולי 2026",sections:[[uh,"תקן והיקף","אנחנו מתכננים ומתחזקים את האתר הציבורי של Dscope בהתאם ליעד של תקן ישראלי 5568 ברמה AA. תפריט הנגישות הוא כלי עזר לבחירה; הוא אינו מחליף את הנגישות הסמנטית, המקלדת, החזותית והמדיה המובנות באתר."],[vl,"כיצד אנחנו תומכים בנגישות","האתר הציבורי משתמש במבנה סמנטי, חיווי מיקוד ברור למקלדת, קישור לדילוג לתוכן, תוויות תיאוריות, פריסה רספונסיבית וניגודיות קריאה. תפריט הנגישות מציע גם התאמות טקסט, גופן, סמן עכבר, ניגודיות, קישורים ותנועה."],[dh,"תוכן רספונסיבי וגמיש","אנחנו בודקים עמודים ציבוריים מרכזיים במחשב, בטאבלט ובמובייל. אפשר להגדיל טקסט באמצעות זום בדפדפן, ותוכן הליבה נועד להסתדר מחדש ללא גלילה אופקית."],[fh,"תנועה ומדיה","האתר מכבד את העדפת הפחתת התנועה של מערכת ההפעלה. אפשר לבקש הפחתת תנועה גם מתפריט הנגישות. למדיה אינטראקטיבית עשויים להיות פקדי הפעלה נפרדים."],[mh,"מגבלות ידועות","לחלק מהסצנות החזותיות, מסוכני ה-AI המוטמעים ומשירותי צד שלישי עשויים להיות פקדים או מגבלות נפרדים. אנחנו ממשיכים לשפר את החוויות האלה. הצהרה זו אינה הסמכה או התחייבות לעמידה מלאה בכל תקן נגישות."]],contactTitle:"דווחו לנו על בעיית נגישות",contactBody:"איש קשר לנגישות: אלון סולר. אם דבר כלשהו מונע מכם להשתמש באתר, כתבו לנו באיזה עמוד ביקרתם, מה ניסיתם לעשות ובאיזה דפדפן או טכנולוגיה מסייעת השתמשתם. במקרה הצורך נספק גם חלופה נגישה.",contactCta:"פתיחת עמוד יצירת קשר",contactEmail:"דוא״ל לענייני נגישות"}},GE=({locale:e})=>{const t=_.useRef(null),i=jE[e],o=e==="he",l=o?Vu:l1;return _.useEffect(()=>{var c;return(c=t.current)==null?void 0:c.focus()},[]),r.jsxs("main",{className:"accessibility-statement",lang:e,dir:o?"rtl":"ltr",children:[r.jsx("div",{className:"accessibility-statement-glow","aria-hidden":"true"}),r.jsxs("nav",{className:"accessibility-statement-nav",children:[r.jsxs("a",{href:o?"/he":"/",children:[r.jsx(l,{"aria-hidden":"true"}),i.back]}),r.jsx("a",{href:i.switchHref,hrefLang:o?"en":"he",children:i.switchLabel})]}),r.jsxs("header",{className:"accessibility-statement-hero",children:[r.jsx("p",{className:"accessibility-statement-eyebrow",children:i.eyebrow}
37),r.jsx("h1",{ref:t,tabIndex:-1,children:i.title}),r.jsx("p",{className:"accessibility-statement-intro",children:i.intro}),r.jsx("p",{className:"accessibility-statement-updated",children:i.updated})]}),r.jsx("div",{className:"accessibility-statement-grid",children:i.sections.map(([c,m,p])=>r.jsxs("section",{children:[r.jsx(c,{"aria-hidden":"true"}),r.jsx("h2",{children:m}),r.jsx("p",{children:p})]},m))}),r.jsxs("section",{className:"accessibility-statement-contact",children:[r.jsx(Lg,{"aria-hidden":"true"}),r.jsxs("div",{children:[r.jsx("h2",{children:i.contactTitle}),r.jsx("p",{children:i.contactBody}),r.jsxs("div",{className:"accessibility-statement-contact-links",children:[r.jsxs("a",{href:"mailto:[email protected]",children:[i.contactEmail,": [email protected]"]}),r.jsx("a",{href:o?"/he/contact":"/contact",children:i.contactCta})]})]})]})]})},Mh=({children:e,minHeight:t="60vh",rootMargin:i="1200px 0px",initialInView:o=!1})=>{const l=_.useRef(null),[c,m]=_.useState(o),p=_.useRef(null);return _.useEffect(()=>{const y=l.current;if(!y)return;const g=new IntersectionObserver(v=>{const b=v[0].isIntersecting;!b&&y.offsetHeight>0&&(p.current=y.offsetHeight),m(b)},{rootMargin:i});return g.observe(y),()=>g.disconnect()},[i]),r.jsx("div",{ref:l,style:c?void 0:{minHeight:p.current!=null?`${p.current}px`:t},children:c?e:null})},Dh=["#60a5fa","#a855f7","#22d3ee","#34d399","#fbbf24","#ec4899","#f97316","#818cf8"],VE=24,kh=.45,zE=4,vy=qe.memo(()=>{const e=_.useRef(null),t=_.useRef(0),i=_.useRef([]),o=_.useMemo(()=>Array.from({length:50}).map((l,c)=>({id:c,left:Math.random()*100,top:Math.random()*100,size:Math.random()*1.6+1,twinkleDelay:Math.random()*4,twinkleDuration:2.5+Math.random()*4})),[]);return _.useEffect(()=>{const l=e.current;if(!l)return;const c=l.getContext("2d");if(!c)return;const m=Math.min(window.devicePixelRatio||1,2),p=()=>{const v=l.clientWidth,b=l.clientHeight;i.current=Array.from({length:VE}).map((w,T)=>{const A=Math.random()*Math.PI*2;return{x:Math.random()*v,y:Math.random()*b,vx:Math.cos(A)*kh,vy:Math.sin(A)*kh,color:Dh[T%Dh.length],r:3.5+Math.random()*2.5}})},y=()=>{const v=window.innerWidth,b=window.innerHeight;l.width=Math.floor(v*m),l.height=Math.floor(b*m),l.style.width=`${v}px`,l.style.height=`${b}px`,c.setTransform(m,0,0,m,0,0),i.current.length===0&&p()};y(),window.addEventListener("resize",y);const g=()=>{const v=l.clientWidth,b=l.clientHeight;c.clearRect(0,0,v,b);const w=i.current;for(const A of w)A.x+=A.vx,A.y+=A.vy,A.x<=0?(A.x=0,A.vx=Math.abs(A.vx)):A.x>=v&&(A.x=v,A.vx=-Math.abs(A.vx)),A.y<=0?(A.y=0,A.vy=Math.abs(A.vy)):A.y>=b&&(A.y=b,A.vy=-Math.abs(A.vy));c.lineCap="round";const T=new Set;for(let A=0;A<w.length;A++){const I=w[A],C=[];for(let N=0;N<w.length;N++){if(N===A)continue;const R=w[N];C.push({j:N,d:Math.hypot(I.x-R.x,I.y-R.y)})}C.sort((N,R)=>N.d-R.d);for(let N=0;N<zE&&N<C.length;N++){const{j:R,d:L}=C[N],q=A<R?`${A}-${R}`:`${R}-${A}`;if(T.has(q))continue;T.add(q);const Y=w[R],P=Math.max(0,.35-L/1400);c.strokeStyle=`rgba(148,163,184,${P})`,c.lineWidth=.7,c.beginPath(),c.moveTo(I.x,I.y),c.lineTo(Y.x,Y.y),c.stroke()}}for(const A of w){const I=c.createRadialGradient(A.x,A.y,0,A.x,A.y,A.r*3.5);I.addColorStop(0,A.color),I.addColorStop(.45,A.color+"55"),I.addColorStop(1,"rgba(0,0,0,0)"),c.fillStyle=I,c.beginPath(),c.arc(A.x,A.y,A.r*3.5,0,Math.PI*2),c.fill(),c.fillStyle=A.color,c.beginPath(),c.arc(A.x,A.y,A.r,0,Math.PI*2),c.fill()}t.current=requestAnimationFrame(g)};return t.current=requestAnimationFrame(g),()=>{cancelAnimationFrame(t.current),window.removeEventListener("resize",y)}},[]),r.jsxs("div",{className:"fixed inset-0 -z-10 overflow-hidden pointer-events-none select-none",children:[r.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(ellipse at 30% 20%, #1e1b4b 0%, #050416 45%, #000000 100%), radial-gradient(ellipse at 80% 80%, #2e1065 0%, transparent 60%)",backgroundBlendMode:"screen"}}),r.jsx(M.div,{className:"absolute rounded-full",style:{left:"15%",top:"20%",width:"50vw",height:"50vw",background:"radial-gradient(circle, rgba(99,102,241,0.35) 0%, rgba(99,102,241,0) 65%)",filter:"blur(60px)"},animate:{x:[0,40,-20,0],y:[0,-30,20,0],scale:[1,1.08,.95,1]},transition:{duration:30,repeat:1/0,ease:"easeInOut"}}),r.jsx(M.div,{className:"absolute rounded-full",style:{right:"10%",bottom:"15%",width:"45vw",height:"45vw",background:"radial-gradient(circle, rgba(168,85,247,0.28) 0%, rgba(168,85,247,0) 65%)",filter:"blur(70px)"}
37,animate:{x:[0,-30,25,0],y:[0,25,-15,0],scale:[1,.92,1.07,1]},transition:{duration:35,repeat:1/0,ease:"easeInOut"}}),o.map(l=>r.jsx(M.div,{className:"absolute rounded-full bg-white",style:{left:`${l.left}%`,top:`${l.top}%`,width:l.size,height:l.size,boxShadow:"0 0 4px rgba(255,255,255,0.7)"},animate:{opacity:[.2,1,.2]},transition:{duration:l.twinkleDuration,repeat:1/0,delay:l.twinkleDelay,ease:"easeInOut"}},`star-${l.id}`)),r.jsx("canvas",{ref:e,className:"absolute inset-0"}),r.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.7) 100%)"}})]})});vy.displayName="NebulaBackground";const Lh="dscope:reducedEffects",by=_.createContext({reduced:!1,toggle:()=>{},set:()=>{}}),BE=({children:e})=>{const[t,i]=_.useState(()=>{if(typeof window>"u")return!1;try{const l=window.localStorage.getItem(Lh);if(l!==null)return l==="true";const c=navigator,m=/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent),p=window.innerWidth<768,y=(c.hardwareConcurrency??8)<=4,g=(c.deviceMemory??8)<=4;return m||p||y||g}catch{return!1}});_.useEffect(()=>{try{window.localStorage.setItem(Lh,String(t))}catch{}document.documentElement.dataset.reducedEffects=t?"true":"false"},[t]);const o={reduced:t,toggle:()=>i(l=>!l),set:i};return r.jsx(by.Provider,{value:o,children:e})},Wu=()=>_.useContext(by),OE=[{name:"Ursa Major",stars:[{x:4,y:12},{x:7.5,y:9},{x:11,y:7},{x:14.5,y:7,mag:1.2},{x:16,y:11},{x:20,y:13},{x:20,y:7,mag:1.4}],edges:[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,3]]},{name:"Ursa Minor",stars:[{x:28,y:4,mag:1.3},{x:31,y:6},{x:33,y:9},{x:36,y:8},{x:38,y:11},{x:41,y:13},{x:39,y:16}],edges:[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,3]]},{name:"Cassiopeia",stars:[{x:76,y:7},{x:81,y:12},{x:85,y:8},{x:90,y:14},{x:95,y:9}],edges:[[0,1],[1,2],[2,3],[3,4]]},{name:"Cepheus",stars:[{x:60,y:4},{x:64,y:8},{x:68,y:5},{x:70,y:12},{x:62,y:13}],edges:[[0,1],[1,2],[2,3],[3,4],[4,0]]},{name:"Cygnus",stars:[{x:9,y:28},{x:12,y:33},{x:14,y:38},{x:8,y:38},{x:19,y:38},{x:17,y:45}],edges:[[0,1],[1,2],[2,3],[2,4],[2,5]]},{name:"Lyra",stars:[{x:32,y:24,mag:1.7},{x:36,y:28},{x:35,y:33},{x:31,y:30}],edges:[[0,1],[1,2],[2,3],[3,0]]},{name:"Pegasus",stars:[{x:53,y:25},{x:62,y:24},{x:63,y:33},{x:54,y:34},{x:48,y:22},{x:45,y:18}],edges:[[0,1],[1,2],[2,3],[3,0],[0,4],[4,5]]},{name:"Andromeda",stars:[{x:70,y:24},{x:76,y:27},{x:82,y:30},{x:88,y:33},{x:93,y:28}],edges:[[0,1],[1,2],[2,3],[3,4]]},{name:"Hercules",stars:[{x:6,y:50},{x:11,y:47},{x:12,y:53},{x:17,y:52},{x:14,y:58},{x:9,y:60}],edges:[[0,1],[1,3],[3,4],[4,5],[5,0],[1,2],[2,4]]},{name:"Leo",stars:[{x:28,y:48},{x:32,y:45},{x:35,y:50},{x:33,y:55},{x:40,y:52},{x:44,y:57},{x:38,y:60}],edges:[[0,1],[1,2],[2,3],[3,0],[2,4],[4,5],[5,6],[6,3]]},{name:"Auriga",stars:[{x:56,y:46},{x:62,y:44},{x:65,y:49},{x:61,y:54},{x:56,y:52}],edges:[[0,1],[1,2],[2,3],[3,4],[4,0]]},{name:"Bootes",stars:[{x:75,y:46,mag:1.5},{x:80,y:51},{x:84,y:55},{x:81,y:60},{x:77,y:56},{x:73,y:52}],edges:[[0,1],[1,2],[2,3],[3,4],[4,5],[5,0],[1,5],[4,1]]},{name:"Orion",stars:[{x:32,y:70,mag:1.5},{x:44,y:69},{x:37,y:75},{x:39,y:76},{x:41,y:77},{x:33,y:82},{x:46,y:83,mag:1.7},{x:39,y:80}],edges:[[0,1],[0,2],[1,4],[2,3],[3,4],[2,5],[4,6],[3,7]]},{name:"Taurus",stars:[{x:53,y:67,mag:1.4},{x:58,y:64},{x:60,y:70},{x:64,y:66},{x:67,y:73}],edges:[[0,1],[1,3],[3,4],[0,2],[2,4]]},{name:"Gemini",stars:[{x:75,y:67},{x:79,y:69},{x:82,y:75},{x:78,y:78},{x:76,y:73},{x:86,y:71},{x:89,y:78}],edges:[[0,1],[1,2],[2,3],[3,4],[4,0],[1,5],[5,6]]},{name:"Canis Major",stars:[{x:8,y:86,mag:1.8},{x:12,y:90},{x:16,y:87},{x:20,y:92},{x:14,y:83}],edges:[[0,1],[1,2],[2,3],[2,4],[4,0]]},{name:"Scorpius",stars:[{x:30,y:88},{x:35,y:90},{x:40,y:88},{x:44,y:92},{x:49,y:90},{x:53,y:87},{x:56,y:91},{x:60,y:88,mag:1.4}],edges:[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7]]},{name:"Sagittarius",stars:[{x:68,y:87},{x:72,y:90},{x:76,y:88},{x:80,y:92},{x:76,y:85},{x:84,y:86},{x:88,y:90}],edges:[[0,1],[1,2],[2,3],[3,5],[5,2],[4,0],[4,2],[5,6]]}],qE=Array.from({length:70}).map((e,t)=>({x:(t*17.31+7)%100,y:(t*t*.83+t*11)%100,mag:.6+t*.11%.6})),FE=`
38  @keyframes star-twinkle {
39    0%   { opacity: 0.35; transform: translate(-50%, -50%) scale(0.8); }
40    50%  { opacity: 1;    transform: translate(-50%, -50%) scale(1.15); }
41    100% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.8); }
42  }
43`,$E=(e,t)=>{const i=e*31+t*13;return{freqX:7e-4+i*37e-7%6e-4,freqY:6e-4+i*41e-7%5e-4,phaseX:i*.7%(2*Math.PI),phaseY:i*.9%(2*Math.PI),ampX:.12+i%7*.04,ampY:.1+i%5*.04}},wy=qe.memo(({cn:e,index:t})=>
43{const i=t*17%9-4,o=t*23%7-3,l=t*11%7-3,c=t*31%9-4,m=18+t*5%14,p=t*.9%6,y=_.useMemo(()=>e.stars.map((A,I)=>$E(t,I)),[t,e.stars]),[g,v]=_.useState(0),b=_.useRef(0),w=_.useRef(0);_.useEffect(()=>{const A=I=>{I-w.current>=33&&(v(I),w.current=I),b.current=requestAnimationFrame(A)};return b.current=requestAnimationFrame(A),()=>cancelAnimationFrame(b.current)},[]);const T=e.stars.map((A,I)=>{const C=y[I];return{x:A.x+Math.sin(g*C.freqX+C.phaseX)*C.ampX,y:A.y+Math.cos(g*C.freqY+C.phaseY)*C.ampY}});return r.jsxs(M.div,{className:"absolute inset-0 pointer-events-none",animate:{x:["0%",`${i}%`,`${l}%`,"0%"],y:["0%",`${o}%`,`${c}%`,"0%"]},transition:{duration:m,delay:p,repeat:1/0,ease:"easeInOut"},children:[r.jsx("svg",{className:"absolute inset-0 w-full h-full",preserveAspectRatio:"none",viewBox:"0 0 100 100",children:e.edges.map(([A,I],C)=>{const N=T[A],R=T[I];return r.jsx("line",{x1:N.x,y1:N.y,x2:R.x,y2:R.y,stroke:"rgba(165,180,252,0.32)",strokeWidth:"0.11",strokeLinecap:"round",strokeDasharray:"0.45 0.55"},`${e.name}-e-${C}`)})}),e.stars.map((A,I)=>{const N=2.4+(A.mag??1)*1.6,R=t*31+I*13,L=2.6+R*.41%4.6,q=R*.27%6,Y=T[I];return r.jsx("div",{className:"absolute rounded-full bg-white",style:{left:`${Y.x}%`,top:`${Y.y}%`,width:`${N}px`,height:`${N}px`,boxShadow:`0 0 ${N*1.6}px rgba(255,255,255,0.55)`,transform:"translate(-50%, -50%)",animation:`star-twinkle ${L}s ease-in-out ${q}s infinite`}},`${e.name}-s-${I}`)})]})});wy.displayName="ConstellationLayer";const Ey=qe.memo(()=>{const{scrollYProgress:e}=$t(),{reduced:t}=Wu(),i=Q(e,[0,.5,1],["#0a1535","#0c1230","#0e1a3a"]),o=Q(e,[0,.5,1],["#0c1a4a","#142552","#0c2540"]),l=Q(e,[0,.5,1],["#020617","#02050f","#020617"]),c=Q(e,[0,.5,1],["rgba(79,172,254,0.18)","rgba(99,102,241,0.18)","rgba(79,172,254,0.18)"]),m=Q([i,o,l],([v,b,w])=>`linear-gradient(180deg, ${v} 0%, ${b} 55%, ${w} 100%)`),p=Q([c],([v])=>`radial-gradient(circle, ${v} 0%, rgba(0,0,0,0) 65%)`),y=_.useMemo(()=>({x:[0,30,-20,0],y:[0,-25,20,0],scale:[1,1.05,.96,1]}),[]),g=_.useMemo(()=>qE.map((v,b)=>{const w=1.4+v.mag*1.3,T=2.4+b*.61%4.4,A=b*.43%6.5;return{...v,px:w,dur:T,delay:A,i:b}}),[]);return t?r.jsxs("div",{className:"fixed inset-0 -z-10 overflow-hidden pointer-events-none select-none",children:[r.jsx(M.div,{className:"absolute inset-0",style:{background:m}}),r.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 78%, rgba(0,0,0,0.65) 100%)"}})]}):r.jsxs("div",{className:"fixed inset-0 -z-10 overflow-hidden pointer-events-none select-none",children:[r.jsx("style",{children:FE}),r.jsx(M.div,{className:"absolute inset-0",style:{background:m}}),r.jsx(M.div,{className:"absolute rounded-full",style:{left:"50%",top:"40%",width:"70vw",height:"70vw",translateX:"-50%",translateY:"-50%",background:p,filter:"blur(60px)"},animate:y,transition:{duration:40,repeat:1/0,ease:"easeInOut"}}),g.filter(v=>t?v.i%3===0:!0).map(v=>r.jsx("div",{className:"absolute rounded-full bg-white",style:{left:`${v.x}%`,top:`${v.y}%`,width:`${v.px}px`,height:`${v.px}px`,boxShadow:`0 0 ${v.px*1.6}px rgba(255,255,255,0.4)`,transform:"translate(-50%, -50%)",animation:t?"none":`star-twinkle ${v.dur}s ease-in-out ${v.delay}s infinite`}},`a-${v.i}`)),!t&&OE.map((v,b)=>r.jsx(wy,{cn:v,index:b},v.name)),r.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 78%, rgba(0,0,0,0.65) 100%)"}})]})});Ey.displayName="GalaxyAboutBackground";class Ea{constructor(){this.logs=[]}static getInstance(){return Ea.instance||(Ea.instance=new Ea),Ea.instance}createEntry(t,i,o){return{timestamp:new Date().toISOString(),level:t,message:i,context:o,environment:{url:window.location.href,userAgent:navigator.userAgent,platform:navigator.platform}}}log(t,i,o){const l=this.createEntry(t,i,o);this.logs.push(l),console[t==="error"?"error":t==="warn"?"warn":"log"](`[${l.timestamp}] [${t.toUpperCase()}] ${i}`,{context:l.context,environment:l.environment})}info(t,i){this.log("info",t,i)}warn(t,i){this.log("warn",t,i)}error(t,i){this.log("error",t,i)}getLogs(){return[...this.logs]}}const Po=Ea.getInstance(),Ph=async({fallback:e,currentCanonicalUrl:t,canonicalUrl:i,apply:o,load:l,resolve:c,isStale:m,onError:p})=>{if(!m()){t!==i&&o(e);try{const y=await l();if(m())return;o(c(y))}catch(y){m()||p(y)}}},Li="https://dscope.ai",Ty={"@type":"Organization","@id":`${Li}/#organization`,name:"Dscope",url:`${Li}/`,logo:{"@type":"ImageObject",url:`${Li}/icon.svg`},description:"AI automation platform with chat, voice and form agents that answer customers, capture leads and integrate with CRM, helpdesk and ERP systems.",knowsAbout:["AI workflow automation","AI agent platforms","AI customer service agents","AI sales agents","Voice AI agents","CRM automation","Helpdesk automation","ERP automation"],areaServed:"Global",contactPoint:{"@type":"ContactPoint",contactType:"sales",url:`${Li}/contact`,availableLanguage:["en","he"]},sameAs:["https://app.targetbob.ai/"]},Sy={"@type":"WebSite","@id":`${Li}/#website`,url:`${Li}/`,name:"Dscope",publisher:{"@id":`${Li}/#organization`},inLanguage:["en","he-IL"]};class Ta{constructor(){this.flags={CASE_STUDIES_ENABLED:!0,ADVANCED_ANALYTICS_ENABLED:!1,BETA_NAV_ENABLED:!1},this.initializeFlags()}static getInstance(){return Ta.instance||(Ta.instance=new Ta),Ta.instance}initializeFlags(){if(typeof window<"u"){const t=new URLSearchParams(window.location.search);
43Object.keys(this.flags).forEach(o=>{const l=`ff_${o.toLowerCase().replace("_enabled","")}`,c=t.get(l);c!==null&&(this.flags[o]=c==="true"||c==="1")});const i=localStorage.getItem("targetbob_feature_flags");if(i)try{const o=JSON.parse(i);this.flags={...this.flags,...o}}catch(o){console.error("Failed to parse stored feature flags",o)}}}isEnabled(t){return this.flags[t]}setFlag(t,i){this.flags[t]=i,typeof window<"u"&&localStorage.setItem("targetbob_feature_flags",JSON.stringify(this.flags))}getAllFlags(){return{...this.flags}}}const mu=Ta.getInstance();var Mo={exports:{}},pu={},hu,Hh;function YE(){if(Hh)return hu;Hh=1;function e(t,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}return hu=e,e.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)},e.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null},e.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var i=new Date().getTime();if(t&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var o=this._timeouts.shift();if(o===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),o=this._cachedTimeouts.slice(-1);else return!1;var l=this;return this._timer=setTimeout(function(){l._attempts++,l._operationTimeoutCb&&(l._timeout=setTimeout(function(){l._operationTimeoutCb(l._attempts)},l._operationTimeout),l._options.unref&&l._timeout.unref()),l._fn(l._attempts)},o),this._options.unref&&this._timer.unref(),!0},e.prototype.attempt=function(t,i){this._fn=t,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var o=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){o._operationTimeoutCb()},o._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)},e.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)},e.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)},e.prototype.start=e.prototype.try,e.prototype.errors=function(){return this._errors},e.prototype.attempts=function(){return this._attempts},e.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},i=null,o=0,l=0;l<this._errors.length;l++){var c=this._errors[l],m=c.message,p=(t[m]||0)+1;t[m]=p,p>=o&&(i=c,o=p)}return i},hu}var Uh;function JE(){return Uh||(Uh=1,(function(e){var t=YE();e.operation=function(i){var o=e.timeouts(i);return new t(o,{forever:i&&(i.forever||i.retries===1/0),unref:i&&i.unref,maxRetryTime:i&&i.maxRetryTime})},e.timeouts=function(i){if(i instanceof Array)return[].concat(i);var o={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var l in i)o[l]=i[l];if(o.minTimeout>o.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var c=[],m=0;m<o.retries;m++)c.push(this.createTimeout(m,o));return i&&i.forever&&!c.length&&c.push(this.createTimeout(m,o)),c.sort(function(p,y){return p-y}),c},e.createTimeout=function(i,o){var l=o.randomize?Math.random()+1:1,c=Math.round(l*Math.max(o.minTimeout,1)*Math.pow(o.factor,i));return c=Math.min(c,o.maxTimeout),c},e.wrap=function(i,o,l){if(o instanceof Array&&(l=o,o=null),!l){l=[];for(var c in i)typeof i[c]=="function"&&l.push(c)}for(var m=0;m<l.length;m++){var p=l[m],y=i[p];i[p]=(function(v){var b=e.operation(o),w=Array.prototype.slice.call(arguments,1),T=w.pop();w.push(function(A){b.retry(A)||(A&&(arguments[0]=b.mainError()),T.apply(this,arguments))}),b.attempt(function(){v.apply(i,w)})}).bind(i,y),i[p].options=o}}})(pu)),pu}var gu,jh;function KE(){return jh||(jh=1,gu=JE()),gu}var Gh;function XE(){if(Gh)return Mo.exports;Gh=1;const e=KE(),t=["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed"];
43class i extends Error{constructor(p){super(),p instanceof Error?(this.originalError=p,{message:p}=p):(this.originalError=new Error(p),this.originalError.stack=this.stack),this.name="AbortError",this.message=p}}const o=(m,p,y)=>{const g=y.retries-(p-1);return m.attemptNumber=p,m.retriesLeft=g,m},l=m=>t.includes(m),c=(m,p)=>new Promise((y,g)=>{p={onFailedAttempt:()=>{},retries:10,...p};const v=e.operation(p);v.attempt(async b=>{try{y(await m(b))}catch(w){if(!(w instanceof Error)){g(new TypeError(`Non-error was thrown: "${w}". You should only throw errors.`));return}if(w instanceof i)v.stop(),g(w.originalError);else if(w instanceof TypeError&&!l(w.message))v.stop(),g(w);else{o(w,b,p);try{await p.onFailedAttempt(w)}catch(T){g(T);return}v.retry(w)||g(v.mainError())}}})});return Mo.exports=c,Mo.exports.default=c,Mo.exports.AbortError=i,Mo.exports}var Ay=XE();const QE=r1(Ay);var WE={};/**
44 * @license
45 * Copyright 2025 Google LLC
46 * SPDX-License-Identifier: Apache-2.0
47 */let ZE,eT;function tT(){return{geminiUrl:ZE,vertexUrl:eT}}function nT(e,t,i,o){var l,c;if(!(e!=null&&e.baseUrl)){const m=tT();return t?(l=m.vertexUrl)!==null&&l!==void 0?l:i:(c=m.geminiUrl)!==null&&c!==void 0?c:o}return e.baseUrl}/**
48 * @license
49 * Copyright 2025 Google LLC
50 * SPDX-License-Identifier: Apache-2.0
51 */class Ln{}function te(e,t){const i=/\{([^}]+)\}/g;return e.replace(i,(o,l)=>{if(Object.prototype.hasOwnProperty.call(t,l)){const c=t[l];return c!=null?String(c):""}else throw new Error(`Key '${l}' not found in valueMap.`)})}function f(e,t,i){for(let c=0;c<t.length-1;c++){const m=t[c];if(m.endsWith("[]")){const p=m.slice(0,-2);if(!(p in e))if(Array.isArray(i))e[p]=Array.from({length:i.length},()=>({}));else throw new Error(`Value must be a list given an array path ${m}`);if(Array.isArray(e[p])){const y=e[p];if(Array.isArray(i))for(let g=0;g<y.length;g++){const v=y[g];f(v,t.slice(c+1),i[g])}else for(const g of y)f(g,t.slice(c+1),i)}return}else if(m.endsWith("[0]")){const p=m.slice(0,-3);p in e||(e[p]=[{}]);const y=e[p];f(y[0],t.slice(c+1),i);return}(!e[m]||typeof e[m]!="object")&&(e[m]={}),e=e[m]}const o=t[t.length-1],l=e[o];if(l!==void 0){if(!i||typeof i=="object"&&Object.keys(i).length===0||i===l)return;if(typeof l=="object"&&typeof i=="object"&&l!==null&&i!==null)Object.assign(l,i);else throw new Error(`Cannot set value for an existing key. Key: ${o}`)}else o==="_self"&&typeof i=="object"&&i!==null&&!Array.isArray(i)?Object.assign(e,i):e[o]=i}function d(e,t,i=void 0){try{if(t.length===1&&t[0]==="_self")return e;for(let o=0;o<t.length;o++){if(typeof e!="object"||e===null)return i;const l=t[o];if(l.endsWith("[]")){const c=l.slice(0,-2);if(c in e){const m=e[c];return Array.isArray(m)?m.map(p=>d(p,t.slice(o+1),i)):i}else return i}else e=e[l]}return e}catch(o){if(o instanceof TypeError)return i;throw o}}function iT(e,t){for(const[i,o]of Object.entries(t)){const l=i.split("."),c=o.split("."),m=new Set;let p=-1;for(let y=0;y<l.length;y++)if(l[y]==="*"){p=y;break}if(p!==-1&&c.length>p)for(let y=p;y<c.length;y++){const g=c[y];g!=="*"&&!g.endsWith("[]")&&!g.endsWith("[0]")&&m.add(g)}Tu(e,l,c,0,m)}}function Tu(e,t,i,o,l){if(o>=t.length||typeof e!="object"||e===null)return;const c=t[o];if(c.endsWith("[]")){const m=c.slice(0,-2),p=e;if(m in p&&Array.isArray(p[m]))for(const y of p[m])Tu(y,t,i,o+1,l)}else if(c==="*"){if(typeof e=="object"&&e!==null&&!Array.isArray(e)){const m=e,p=Object.keys(m).filter(g=>!g.startsWith("_")&&!l.has(g)),y={};for(const g of p)y[g]=m[g];for(const[g,v]of Object.entries(y)){const b=[];for(const w of i.slice(o))w==="*"?b.push(g):b.push(w);f(m,b,v)}for(const g of p)delete m[g]}}else{const m=e;c in m&&Tu(m[c],t,i,o+1,l)}}/**
52 * @license
53 * Copyright 2025 Google LLC
54 * SPDX-License-Identifier: Apache-2.0
55 */function Zu(e){if(typeof e!="string")throw new Error("fromImageBytes must be a string");return e}/**
56 * @license
57 * Copyright 2025 Google LLC
58 * SPDX-License-Identifier: Apache-2.0
59 */function aT(e){const t={},i=d(e,["operationName"]);i!=null&&f(t,["operationName"],i);const o=d(e,["resourceName"]);return o!=null&&f(t,["_url","resourceName"],o),t}function oT(e){const t={},i=d(e,["name"]);i!=null&&f(t,["name"],i);const o=d(e,["metadata"]);o!=null&&f(t,["metadata"],o);const l=d(e,["done"]);l!=null&&f(t,["done"],l);const c=d(e,["error"]);c!=null&&f(t,["error"],c);const m=d(e,["response","generateVideoResponse"]);return m!=null&&f(t,["response"],lT(m)),t}function sT(e){const t={},i=d(e,["name"]);i!=null&&f(t,["name"],i);const o=d(e,["metadata"]);o!=null&&f(t,["metadata"],o);const l=d(e,["done"]);l!=null&&f(t,["done"],l);const c=d(e,["error"]);c!=null&&f(t,["error"],c);const m=d(e,["response"]);return m!=null&&f(t,["response"],rT(m)),t}function lT(e){const t={},i=d(e,["generatedSamples"]);if(i!=null){let c=i;Array.isArray(c)&&(c=c.map(m=>cT(m))),f(t,["generatedVideos"],c)}const o=d(e,["raiMediaFilteredCount"]);o!=null&&f(t,["raiMediaFilteredCount"],o);const l=d(e,["raiMediaFilteredReasons"]);return l!=null&&f(t,["raiMediaFilteredReasons"],l),t}function rT(e){const t={},i=d(e,["videos"]);if(i!=null){let c=i;Array.isArray(c)&&(c=c.map(m=>uT(m))),f(t,["generatedVideos"],c)}const o=d(e,["raiMediaFilteredCount"]);o!=null&&f(t,["raiMediaFilteredCount"],o);const l=d(e,["raiMediaFilteredReasons"]);return l!=null&&f(t,["raiMediaFilteredReasons"],l),t}function cT(e){const t={},i=d(e,["video"]);return i!=null&&f(t,["video"],gT(i)),t}function uT(e){const t={},i=d(e,["_self"]);return i!=null&&f(t,["video"],yT(i)),t}function dT(e){const t={},i=d(e,["operationName"]);return i!=null&&f(t,["_url","operationName"],i),t}function fT(e){const t={},i=d(e,["operationName"]);return i!=null&&f(t,["_url","operationName"],i),t}function mT(e){const t={},i=d(e,["name"]);i!=null&&f(t,["name"],i);const o=d(e,["metadata"]);o!=null&&f(t,["metadata"],o);const l=d(e,["done"]);l!=null&&f(t,["done"],l);const c=d(e,["error"]);c!=null&&f(t,["error"],c);const m=d(e,["response"]);return m!=null&&f(t,["response"],pT(m)),t}function pT(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["parent"]);o!=null&&f(t,["parent"],o);const l=d(e,["documentName"]);return l!=null&&f(t,["documentName"],l),t}function _y(e){const t={},i=d(e,["name"]);i!=null&&f(t,["name"],i);const o=d(e,["metadata"]);o!=null&&f(t,["metadata"],o);const l=d(e,["done"]);l!=null&&f(t,["done"],l);const c=d(e,["error"]);c!=null&&f(t,["error"],c);const m=d(e,["response"]);return m!=null&&f(t,["response"],hT(m)),t}function hT(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["parent"]);o!=null&&f(t,["parent"],o);const l=d(e,["documentName"]);return l!=null&&f(t,["documentName"],l),t}function gT(e){const t={},i=d(e,["uri"]);i!=null&&f(t,["uri"],i);const o=d(e,["encodedVideo"]);o!=null&&f(t,["videoBytes"],Zu(o));const l=d(e,["encoding"]);return l!=null&&f(t,["mimeType"],l),t}function yT(e){const t={},i=d(e,["gcsUri"]);i!=null&&f(t,["uri"],i);
59const o=d(e,["bytesBase64Encoded"]);o!=null&&f(t,["videoBytes"],Zu(o));const l=d(e,["mimeType"]);return l!=null&&f(t,["mimeType"],l),t}/**
60 * @license
61 * Copyright 2025 Google LLC
62 * SPDX-License-Identifier: Apache-2.0
63 */var Vh;(function(e){e.LANGUAGE_UNSPECIFIED="LANGUAGE_UNSPECIFIED",e.PYTHON="PYTHON"})(Vh||(Vh={}));var zh;(function(e){e.OUTCOME_UNSPECIFIED="OUTCOME_UNSPECIFIED",e.OUTCOME_OK="OUTCOME_OK",e.OUTCOME_FAILED="OUTCOME_FAILED",e.OUTCOME_DEADLINE_EXCEEDED="OUTCOME_DEADLINE_EXCEEDED"})(zh||(zh={}));var Bh;(function(e){e.SCHEDULING_UNSPECIFIED="SCHEDULING_UNSPECIFIED",e.SILENT="SILENT",e.WHEN_IDLE="WHEN_IDLE",e.INTERRUPT="INTERRUPT"})(Bh||(Bh={}));var ri;(function(e){e.TYPE_UNSPECIFIED="TYPE_UNSPECIFIED",e.STRING="STRING",e.NUMBER="NUMBER",e.INTEGER="INTEGER",e.BOOLEAN="BOOLEAN",e.ARRAY="ARRAY",e.OBJECT="OBJECT",e.NULL="NULL"})(ri||(ri={}));var Oh;(function(e){e.ENVIRONMENT_UNSPECIFIED="ENVIRONMENT_UNSPECIFIED",e.ENVIRONMENT_BROWSER="ENVIRONMENT_BROWSER"})(Oh||(Oh={}));var qh;(function(e){e.AUTH_TYPE_UNSPECIFIED="AUTH_TYPE_UNSPECIFIED",e.NO_AUTH="NO_AUTH",e.API_KEY_AUTH="API_KEY_AUTH",e.HTTP_BASIC_AUTH="HTTP_BASIC_AUTH",e.GOOGLE_SERVICE_ACCOUNT_AUTH="GOOGLE_SERVICE_ACCOUNT_AUTH",e.OAUTH="OAUTH",e.OIDC_AUTH="OIDC_AUTH"})(qh||(qh={}));var Fh;(function(e){e.HTTP_IN_UNSPECIFIED="HTTP_IN_UNSPECIFIED",e.HTTP_IN_QUERY="HTTP_IN_QUERY",e.HTTP_IN_HEADER="HTTP_IN_HEADER",e.HTTP_IN_PATH="HTTP_IN_PATH",e.HTTP_IN_BODY="HTTP_IN_BODY",e.HTTP_IN_COOKIE="HTTP_IN_COOKIE"})(Fh||(Fh={}));var $h;(function(e){e.API_SPEC_UNSPECIFIED="API_SPEC_UNSPECIFIED",e.SIMPLE_SEARCH="SIMPLE_SEARCH",e.ELASTIC_SEARCH="ELASTIC_SEARCH"})($h||($h={}));var Yh;(function(e){e.PHISH_BLOCK_THRESHOLD_UNSPECIFIED="PHISH_BLOCK_THRESHOLD_UNSPECIFIED",e.BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",e.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",e.BLOCK_HIGH_AND_ABOVE="BLOCK_HIGH_AND_ABOVE",e.BLOCK_HIGHER_AND_ABOVE="BLOCK_HIGHER_AND_ABOVE",e.BLOCK_VERY_HIGH_AND_ABOVE="BLOCK_VERY_HIGH_AND_ABOVE",e.BLOCK_ONLY_EXTREMELY_HIGH="BLOCK_ONLY_EXTREMELY_HIGH"})(Yh||(Yh={}));var Jh;(function(e){e.UNSPECIFIED="UNSPECIFIED",e.BLOCKING="BLOCKING",e.NON_BLOCKING="NON_BLOCKING"})(Jh||(Jh={}));var Kh;(function(e){e.MODE_UNSPECIFIED="MODE_UNSPECIFIED",e.MODE_DYNAMIC="MODE_DYNAMIC"})(Kh||(Kh={}));var Xh;(function(e){e.MODE_UNSPECIFIED="MODE_UNSPECIFIED",e.AUTO="AUTO",e.ANY="ANY",e.NONE="NONE",e.VALIDATED="VALIDATED"})(Xh||(Xh={}));var Qh;(function(e){e.THINKING_LEVEL_UNSPECIFIED="THINKING_LEVEL_UNSPECIFIED",e.MINIMAL="MINIMAL",e.LOW="LOW",e.MEDIUM="MEDIUM",e.HIGH="HIGH"})(Qh||(Qh={}));var Wh;(function(e){e.DONT_ALLOW="DONT_ALLOW",e.ALLOW_ADULT="ALLOW_ADULT",e.ALLOW_ALL="ALLOW_ALL"})(Wh||(Wh={}));var Zh;(function(e){e.PROMINENT_PEOPLE_UNSPECIFIED="PROMINENT_PEOPLE_UNSPECIFIED",e.ALLOW_PROMINENT_PEOPLE="ALLOW_PROMINENT_PEOPLE",e.BLOCK_PROMINENT_PEOPLE="BLOCK_PROMINENT_PEOPLE"})(Zh||(Zh={}));var e0;(function(e){e.HARM_CATEGORY_UNSPECIFIED="HARM_CATEGORY_UNSPECIFIED",e.HARM_CATEGORY_HARASSMENT="HARM_CATEGORY_HARASSMENT",e.HARM_CATEGORY_HATE_SPEECH="HARM_CATEGORY_HATE_SPEECH",e.HARM_CATEGORY_SEXUALLY_EXPLICIT="HARM_CATEGORY_SEXUALLY_EXPLICIT",e.HARM_CATEGORY_DANGEROUS_CONTENT="HARM_CATEGORY_DANGEROUS_CONTENT",e.HARM_CATEGORY_CIVIC_INTEGRITY="HARM_CATEGORY_CIVIC_INTEGRITY",e.HARM_CATEGORY_IMAGE_HATE="HARM_CATEGORY_IMAGE_HATE",e.HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT="HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT",e.HARM_CATEGORY_IMAGE_HARASSMENT="HARM_CATEGORY_IMAGE_HARASSMENT",e.HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT="HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT",e.HARM_CATEGORY_JAILBREAK="HARM_CATEGORY_JAILBREAK"})(e0||(e0={}));var t0;(function(e){e.HARM_BLOCK_METHOD_UNSPECIFIED="HARM_BLOCK_METHOD_UNSPECIFIED",e.SEVERITY="SEVERITY",e.PROBABILITY="PROBABILITY"})(t0||(t0={}));var n0;(function(e){e.HARM_BLOCK_THRESHOLD_UNSPECIFIED="HARM_BLOCK_THRESHOLD_UNSPECIFIED",e.BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",e.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",e.BLOCK_ONLY_HIGH="BLOCK_ONLY_HIGH",e.BLOCK_NONE="BLOCK_NONE",e.OFF="OFF"})(n0||(n0={}));var i0;(function(e){e.FINISH_REASON_UNSPECIFIED="FINISH_REASON_UNSPECIFIED",e.STOP="STOP",e.MAX_TOKENS="MAX_TOKENS",e.SAFETY="SAFETY",e.RECITATION="RECITATION",e.LANGUAGE="LANGUAGE",e.OTHER="OTHER",e.BLOCKLIST="BLOCKLIST",e.PROHIBITED_CONTENT="PROHIBITED_CONTENT",e.SPII="SPII",e.MALFORMED_FUNCTION_CALL="MALFORMED_FUNCTION_CALL",e.IMAGE_SAFETY="IMAGE_SAFETY",e.UNEXPECTED_TOOL_CALL="UNEXPECTED_TOOL_CALL",e.IMAGE_PROHIBITED_CONTENT="IMAGE_PROHIBITED_CONTENT",e.NO_IMAGE="NO_IMAGE",e.IMAGE_RECITATION="IMAGE_RECITATION",e.IMAGE_OTHER="IMAGE_OTHER"})(i0||(i0={}));var a0;(function(e){e.HARM_PROBABILITY_UNSPECIFIED="HARM_PROBABILITY_UNSPECIFIED",e.NEGLIGIBLE="NEGLIGIBLE",e.LOW="LOW",e.MEDIUM="MEDIUM",e.HIGH="HIGH"})(a0||(a0={}));var o0;(function(e){e.HARM_SEVERITY_UNSPECIFIED="HARM_SEVERITY_UNSPECIFIED",e.HARM_SEVERITY_NEGLIGIBLE="HARM_SEVERITY_NEGLIGIBLE",e.HARM_SEVERITY_LOW="HARM_SEVERITY_LOW",e.HARM_SEVERITY_MEDIUM="HARM_SEVERITY_MEDIUM",e.HARM_SEVERITY_HIGH="HARM_SEVERITY_HIGH"})(o0||(o0={}));var s0;(function(e){e.URL_RETRIEVAL_STATUS_UNSPECIFIED="URL_RETRIEVAL_STATUS_UNSPECIFIED",e.URL_RETRIEVAL_STATUS_SUCCESS="URL_RETRIEVAL_STATUS_SUCCESS",e.URL_RETRIEVAL_STATUS_ERROR="URL_RETRIEVAL_STATUS_ERROR",e.URL_RETRIEVAL_STATUS_PAYWALL="URL_RETRIEVAL_STATUS_PAYWALL",e.URL_RETRIEVAL_STATUS_UNSAFE="URL_RETRIEVAL_STATUS_UNSAFE"})(s0||(s0={}));var l0;(function(e){e.BLOCKED_REASON_UNSPECIFIED="BLOCKED_REASON_UNSPECIFIED",e.SAFETY="SAFETY",e.OTHER="OTHER",e.BLOCKLIST="BLOCKLIST",e.PROHIBITED_CONTENT="PROHIBITED_CONTENT",e.IMAGE_SAFETY="IMAGE_SAFETY",e.MODEL_ARMOR="MODEL_ARMOR",e.JAILBREAK="JAILBREAK"})(l0||(l0={}));var r0;(function(e){e.TRAFFIC_TYPE_UNSPECIFIED="TRAFFIC_TYPE_UNSPECIFIED",e.ON_DEMAND="ON_DEMAND",e.ON_DEMAND_PRIORITY="ON_DEMAND_PRIORITY",e.ON_DEMAND_FLEX="ON_DEMAND_FLEX",e.PROVISIONED_THROUGHPUT="PROVISIONED_THROUGHPUT"})(r0||(r0={}));var Al;(function(e){e.MODALITY_UNSPECIFIED="MODALITY_UNSPECIFIED",e.TEXT="TEXT",e.IMAGE="IMAGE",e.AUDIO="AUDIO",e.VIDEO="VIDEO"})(Al||(Al={}));var c0;(function(e){e.MODEL_STAGE_UNSPECIFIED="MODEL_STAGE_UNSPECIFIED",e.UNSTABLE_EXPERIMENTAL="UNSTABLE_EXPERIMENTAL",e.EXPERIMENTAL="EXPERIMENTAL",e.PREVIEW="PREVIEW",e.STABLE="STABLE",e.LEGACY="LEGACY",e.DEPRECATED="DEPRECATED",e.RETIRED="RETIRED"})(c0||(c0={}));var u0;(function(e){e.MEDIA_RESOLUTION_UNSPECIFIED="MEDIA_RESOLUTION_UNSPECIFIED",e.MEDIA_RESOLUTION_LOW="MEDIA_RESOLUTION_LOW",e.MEDIA_RESOLUTION_MEDIUM="MEDIA_RESOLUTION_MEDIUM",e.MEDIA_RESOLUTION_HIGH="MEDIA_RESOLUTION_HIGH"})(u0||(u0={}));var d0;(function(e){e.TUNING_MODE_UNSPECIFIED="TUNING_MODE_UNSPECIFIED",e.TUNING_MODE_FULL="TUNING_MODE_FULL",e.TUNING_MODE_PEFT_ADAPTER="TUNING_MODE_PEFT_ADAPTER"})(d0||(d0={}));var f0;(function(e){e.ADAPTER_SIZE_UNSPECIFIED="ADAPTER_SIZE_UNSPECIFIED",e.ADAPTER_SIZE_ONE="ADAPTER_SIZE_ONE",e.ADAPTER_SIZE_TWO="ADAPTER_SIZE_TWO",e.ADAPTER_SIZE_FOUR="ADAPTER_SIZE_FOUR",e.ADAPTER_SIZE_EIGHT="ADAPTER_SIZE_EIGHT",e.ADAPTER_SIZE_SIXTEEN="ADAPTER_SIZE_SIXTEEN",e.ADAPTER_SIZE_THIRTY_TWO="ADAPTER_SIZE_THIRTY_TWO"})(f0||(f0={}));var Su;(function(e){e.JOB_STATE_UNSPECIFIED="JOB_STATE_UNSPECIFIED",e.JOB_STATE_QUEUED="JOB_STATE_QUEUED",e.JOB_STATE_PENDING="JOB_STATE_PENDING",e.JOB_STATE_RUNNING="JOB_STATE_RUNNING",e.JOB_STATE_SUCCEEDED="JOB_STATE_SUCCEEDED",e.JOB_STATE_FAILED="JOB_STATE_FAILED",e.JOB_STATE_CANCELLING="JOB_STATE_CANCELLING",e.JOB_STATE_CANCELLED="JOB_STATE_CANCELLED",e.JOB_STATE_PAUSED="JOB_STATE_PAUSED",e.JOB_STATE_EXPIRED="JOB_STATE_EXPIRED",e.JOB_STATE_UPDATING="JOB_STATE_UPDATING",e.JOB_STATE_PARTIALLY_SUCCEEDED="JOB_STATE_PARTIALLY_SUCCEEDED"})(Su||(Su={}));var m0;(function(e){e.TUNING_JOB_STATE_UNSPECIFIED="TUNING_JOB_STATE_UNSPECIFIED",e.TUNING_JOB_STATE_WAITING_FOR_QUOTA="TUNING_JOB_STATE_WAITING_FOR_QUOTA",e.TUNING_JOB_STATE_PROCESSING_DATASET="TUNING_JOB_STATE_PROCESSING_DATASET",e.TUNING_JOB_STATE_WAITING_FOR_CAPACITY="TUNING_JOB_STATE_WAITING_FOR_CAPACITY",e.TUNING_JOB_STATE_TUNING="TUNING_JOB_STATE_TUNING",e.TUNING_JOB_STATE_POST_PROCESSING="TUNING_JOB_STATE_POST_PROCESSING"})(m0||(m0={}));var p0;(function(e){e.AGGREGATION_METRIC_UNSPECIFIED="AGGREGATION_METRIC_UNSPECIFIED",e.AVERAGE="AVERAGE",e.MODE="MODE",e.STANDARD_DEVIATION="STANDARD_DEVIATION",e.VARIANCE="VARIANCE",e.MINIMUM="MINIMUM",e.MAXIMUM="MAXIMUM",e.MEDIAN="MEDIAN",e.PERCENTILE_P90="PERCENTILE_P90",e.PERCENTILE_P95="PERCENTILE_P95",e.PERCENTILE_P99="PERCENTILE_P99"})(p0||(p0={}));var h0;(function(e){e.PAIRWISE_CHOICE_UNSPECIFIED="PAIRWISE_CHOICE_UNSPECIFIED",e.BASELINE="BASELINE",e.CANDIDATE="CANDIDATE",e.TIE="TIE"})(h0||(h0={}));var g0;(function(e){e.TUNING_TASK_UNSPECIFIED="TUNING_TASK_UNSPECIFIED",e.TUNING_TASK_I2V="TUNING_TASK_I2V",e.TUNING_TASK_T2V="TUNING_TASK_T2V",e.TUNING_TASK_R2V="TUNING_TASK_R2V"})(g0||(g0={}));var y0;(function(e){e.STATE_UNSPECIFIED="STATE_UNSPECIFIED",e.STATE_PENDING="STATE_PENDING",e.STATE_ACTIVE="STATE_ACTIVE",e.STATE_FAILED="STATE_FAILED"})(y0||(y0={}));var x0;(function(e){e.MEDIA_RESOLUTION_UNSPECIFIED="MEDIA_RESOLUTION_UNSPECIFIED",e.MEDIA_RESOLUTION_LOW="MEDIA_RESOLUTION_LOW",e.MEDIA_RESOLUTION_MEDIUM="MEDIA_RESOLUTION_MEDIUM",e.MEDIA_RESOLUTION_HIGH="MEDIA_RESOLUTION_HIGH",e.MEDIA_RESOLUTION_ULTRA_HIGH="MEDIA_RESOLUTION_ULTRA_HIGH"})(x0||(x0={}));var v0;(function(e){e.TOOL_TYPE_UNSPECIFIED="TOOL_TYPE_UNSPECIFIED",e.GOOGLE_SEARCH_WEB="GOOGLE_SEARCH_WEB",e.GOOGLE_SEARCH_IMAGE="GOOGLE_SEARCH_IMAGE",e.URL_CONTEXT="URL_CONTEXT",e.GOOGLE_MAPS="GOOGLE_MAPS",e.FILE_SEARCH="FILE_SEARCH"})(v0||(v0={}));var Au;(function(e){e.COLLECTION="COLLECTION"})(Au||(Au={}));var b0;(function(e){e.UNSPECIFIED="unspecified",e.FLEX="flex",e.STANDARD="standard",e.PRIORITY="priority"})(b0||(b0={}));var w0;(function(e){e.FEATURE_SELECTION_PREFERENCE_UNSPECIFIED="FEATURE_SELECTION_PREFERENCE_UNSPECIFIED",e.PRIORITIZE_QUALITY="PRIORITIZE_QUALITY",e.BALANCED="BALANCED",e.PRIORITIZE_COST="PRIORITIZE_COST"})(w0||(w0={}));var _l;(function(e){e.PREDICT="PREDICT",e.EMBED_CONTENT="EMBED_CONTENT"})(_l||(_l={}));var E0;(function(e){e.BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",e.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",e.BLOCK_ONLY_HIGH="BLOCK_ONLY_HIGH",e.BLOCK_NONE="BLOCK_NONE"})(E0||(E0={}));var T0;(function(e){e.auto="auto",e.en="en",e.ja="ja",e.ko="ko",e.hi="hi",e.zh="zh",e.pt="pt",e.es="es"})(T0||(T0={}));var S0;(function(e){e.MASK_MODE_DEFAULT="MASK_MODE_DEFAULT",e.MASK_MODE_USER_PROVIDED="MASK_MODE_USER_PROVIDED",e.MASK_MODE_BACKGROUND="MASK_MODE_BACKGROUND",e.MASK_MODE_FOREGROUND="MASK_MODE_FOREGROUND",e.MASK_MODE_SEMANTIC="MASK_MODE_SEMANTIC"})(S0||(S0={}));var A0;(function(e){e.CONTROL_TYPE_DEFAULT="CONTROL_TYPE_DEFAULT",e.CONTROL_TYPE_CANNY="CONTROL_TYPE_CANNY",e.CONTROL_TYPE_SCRIBBLE="CONTROL_TYPE_SCRIBBLE",e.CONTROL_TYPE_FACE_MESH="CONTROL_TYPE_FACE_MESH"})(A0||(A0={}));var _0;(function(e){e.SUBJECT_TYPE_DEFAULT="SUBJECT_TYPE_DEFAULT",e.SUBJECT_TYPE_PERSON="SUBJECT_TYPE_PERSON",e.SUBJECT_TYPE_ANIMAL="SUBJECT_TYPE_ANIMAL",e.SUBJECT_TYPE_PRODUCT="SUBJECT_TYPE_PRODUCT"})(_0||(_0={}));var N0;(function(e){e.EDIT_MODE_DEFAULT="EDIT_MODE_DEFAULT",e.EDIT_MODE_INPAINT_REMOVAL="EDIT_MODE_INPAINT_REMOVAL",e.EDIT_MODE_INPAINT_INSERTION="EDIT_MODE_INPAINT_INSERTION",e.EDIT_MODE_OUTPAINT="EDIT_MODE_OUTPAINT",e.EDIT_MODE_CONTROLLED_EDITING="EDIT_MODE_CONTROLLED_EDITING",e.EDIT_MODE_STYLE="EDIT_MODE_STYLE",e.EDIT_MODE_BGSWAP="EDIT_MODE_BGSWAP",e.EDIT_MODE_PRODUCT_IMAGE="EDIT_MODE_PRODUCT_IMAGE"})(N0||(N0={}));var C0;(function(e){e.FOREGROUND="FOREGROUND",e.BACKGROUND="BACKGROUND",e.PROMPT="PROMPT",e.SEMANTIC="SEMANTIC",e.INTERACTIVE="INTERACTIVE"})(C0||(C0={}));var I0;(function(e){e.ASSET="ASSET",e.STYLE="STYLE"})(I0||(I0={}));var R0;(function(e){e.INSERT="INSERT",e.REMOVE="REMOVE",e.REMOVE_STATIC="REMOVE_STATIC",e.OUTPAINT="OUTPAINT"})(R0||(R0={}));var M0;(function(e){e.OPTIMIZED="OPTIMIZED",e.LOSSLESS="LOSSLESS"})(M0||(M0={}));var D0;(function(e){e.CROP="CROP",e.PAD="PAD"})(D0||(D0={}));var k0;(function(e){e.SUPERVISED_FINE_TUNING="SUPERVISED_FINE_TUNING",e.PREFERENCE_TUNING="PREFERENCE_TUNING",e.DISTILLATION="DISTILLATION"})(k0||(k0={}));var L0;(function(e){e.STATE_UNSPECIFIED="STATE_UNSPECIFIED",e.PROCESSING="PROCESSING",e.ACTIVE="ACTIVE",e.FAILED="FAILED"})(L0||(L0={}));var P0;(function(e){e.SOURCE_UNSPECIFIED="SOURCE_UNSPECIFIED",e.UPLOADED="UPLOADED",e.G
63ENERATED="GENERATED",e.REGISTERED="REGISTERED"})(P0||(P0={}));var H0;(function(e){e.TURN_COMPLETE_REASON_UNSPECIFIED="TURN_COMPLETE_REASON_UNSPECIFIED",e.MALFORMED_FUNCTION_CALL="MALFORMED_FUNCTION_CALL",e.RESPONSE_REJECTED="RESPONSE_REJECTED",e.NEED_MORE_INPUT="NEED_MORE_INPUT",e.PROHIBITED_INPUT_CONTENT="PROHIBITED_INPUT_CONTENT",e.IMAGE_PROHIBITED_INPUT_CONTENT="IMAGE_PROHIBITED_INPUT_CONTENT",e.INPUT_TEXT_CONTAIN_PROMINENT_PERSON_PROHIBITED="INPUT_TEXT_CONTAIN_PROMINENT_PERSON_PROHIBITED",e.INPUT_IMAGE_CELEBRITY="INPUT_IMAGE_CELEBRITY",e.INPUT_IMAGE_PHOTO_REALISTIC_CHILD_PROHIBITED="INPUT_IMAGE_PHOTO_REALISTIC_CHILD_PROHIBITED",e.INPUT_TEXT_NCII_PROHIBITED="INPUT_TEXT_NCII_PROHIBITED",e.INPUT_OTHER="INPUT_OTHER",e.INPUT_IP_PROHIBITED="INPUT_IP_PROHIBITED",e.BLOCKLIST="BLOCKLIST",e.UNSAFE_PROMPT_FOR_IMAGE_GENERATION="UNSAFE_PROMPT_FOR_IMAGE_GENERATION",e.GENERATED_IMAGE_SAFETY="GENERATED_IMAGE_SAFETY",e.GENERATED_CONTENT_SAFETY="GENERATED_CONTENT_SAFETY",e.GENERATED_AUDIO_SAFETY="GENERATED_AUDIO_SAFETY",e.GENERATED_VIDEO_SAFETY="GENERATED_VIDEO_SAFETY",e.GENERATED_CONTENT_PROHIBITED="GENERATED_CONTENT_PROHIBITED",e.GENERATED_CONTENT_BLOCKLIST="GENERATED_CONTENT_BLOCKLIST",e.GENERATED_IMAGE_PROHIBITED="GENERATED_IMAGE_PROHIBITED",e.GENERATED_IMAGE_CELEBRITY="GENERATED_IMAGE_CELEBRITY",e.GENERATED_IMAGE_PROMINENT_PEOPLE_DETECTED_BY_REWRITER="GENERATED_IMAGE_PROMINENT_PEOPLE_DETECTED_BY_REWRITER",e.GENERATED_IMAGE_IDENTIFIABLE_PEOPLE="GENERATED_IMAGE_IDENTIFIABLE_PEOPLE",e.GENERATED_IMAGE_MINORS="GENERATED_IMAGE_MINORS",e.OUTPUT_IMAGE_IP_PROHIBITED="OUTPUT_IMAGE_IP_PROHIBITED",e.GENERATED_OTHER="GENERATED_OTHER",e.MAX_REGENERATION_REACHED="MAX_REGENERATION_REACHED"})(H0||(H0={}));var U0;(function(e){e.MODALITY_UNSPECIFIED="MODALITY_UNSPECIFIED",e.TEXT="TEXT",e.IMAGE="IMAGE",e.VIDEO="VIDEO",e.AUDIO="AUDIO",e.DOCUMENT="DOCUMENT"})(U0||(U0={}));var j0;(function(e){e.VAD_SIGNAL_TYPE_UNSPECIFIED="VAD_SIGNAL_TYPE_UNSPECIFIED",e.VAD_SIGNAL_TYPE_SOS="VAD_SIGNAL_TYPE_SOS",e.VAD_SIGNAL_TYPE_EOS="VAD_SIGNAL_TYPE_EOS"})(j0||(j0={}));var G0;(function(e){e.TYPE_UNSPECIFIED="TYPE_UNSPECIFIED",e.ACTIVITY_START="ACTIVITY_START",e.ACTIVITY_END="ACTIVITY_END"})(G0||(G0={}));var V0;(function(e){e.START_SENSITIVITY_UNSPECIFIED="START_SENSITIVITY_UNSPECIFIED",e.START_SENSITIVITY_HIGH="START_SENSITIVITY_HIGH",e.START_SENSITIVITY_LOW="START_SENSITIVITY_LOW"})(V0||(V0={}));var z0;(function(e){e.END_SENSITIVITY_UNSPECIFIED="END_SENSITIVITY_UNSPECIFIED",e.END_SENSITIVITY_HIGH="END_SENSITIVITY_HIGH",e.END_SENSITIVITY_LOW="END_SENSITIVITY_LOW"})(z0||(z0={}));var B0;(function(e){e.ACTIVITY_HANDLING_UNSPECIFIED="ACTIVITY_HANDLING_UNSPECIFIED",e.START_OF_ACTIVITY_INTERRUPTS="START_OF_ACTIVITY_INTERRUPTS",e.NO_INTERRUPTION="NO_INTERRUPTION"})(B0||(B0={}));var O0;(function(e){e.TURN_COVERAGE_UNSPECIFIED="TURN_COVERAGE_UNSPECIFIED",e.TURN_INCLUDES_ONLY_ACTIVITY="TURN_INCLUDES_ONLY_ACTIVITY",e.TURN_INCLUDES_ALL_INPUT="TURN_INCLUDES_ALL_INPUT",e.TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO="TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO"})(O0||(O0={}));var q0;(function(e){e.SCALE_UNSPECIFIED="SCALE_UNSPECIFIED",e.C_MAJOR_A_MINOR="C_MAJOR_A_MINOR",e.D_FLAT_MAJOR_B_FLAT_MINOR="D_FLAT_MAJOR_B_FLAT_MINOR",e.D_MAJOR_B_MINOR="D_MAJOR_B_MINOR",e.E_FLAT_MAJOR_C_MINOR="E_FLAT_MAJOR_C_MINOR",e.E_MAJOR_D_FLAT_MINOR="E_MAJOR_D_FLAT_MINOR",e.F_MAJOR_D_MINOR="F_MAJOR_D_MINOR",e.G_FLAT_MAJOR_E_FLAT_MINOR="G_FLAT_MAJOR_E_FLAT_MINOR",e.G_MAJOR_E_MINOR="G_MAJOR_E_MINOR",e.A_FLAT_MAJOR_F_MINOR="A_FLAT_MAJOR_F_MINOR",e.A_MAJOR_G_FLAT_MINOR="A_MAJOR_G_FLAT_MINOR",e.B_FLAT_MAJOR_G_MINOR="B_FLAT_MAJOR_G_MINOR",e.B_MAJOR_A_FLAT_MINOR="B_MAJOR_A_FLAT_MINOR"})(q0||(q0={}));var F0;(function(e){e.MUSIC_GENERATION_MODE_UNSPECIFIED="MUSIC_GENERATION_MODE_UNSPECIFIED",e.QUALITY="QUALITY",e.DIVERSITY="DIVERSITY",e.VOCALIZATION="VOCALIZATION"})(F0||(F0={}));var Sa;(function(e){e.PLAYBACK_CONTROL_UNSPECIFIED="PLAYBACK_CONTROL_UNSPECIFIED",e.PLAY="PLAY",e.PAUSE="PAUSE",e.STOP="STOP",e.RESET_CONTEXT="RESET_CONTEXT"})(Sa||(Sa={}));class _u{constructor(t){const i={};for(const o of t.headers.entries())i[o[0]]=o[1];this.headers=i,this.responseInternal=t}json(){return this.responseInternal.json()}}class Do{get text(){var t,i,o,l,c,m,p,y;if(((l=(o=(i=(t=this.candidates)===null||t===void 0?void 0:t[0])===null||i===void 0?void 0:i.content)===null||o===void 0?void 0:o.parts)===null||l===void 0?void 0:l.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning text from the first one.");let g="",v=!1;const b=[];for(const w of(y=(p=(m=(c=this.candidates)===null||c===void 0?void 0:c[0])===null||m===void 0?void 0:m.content)===null||p===void 0?void 0:p.parts)!==null&&y!==void 0?y:[]){for(const[T,A]of Object.entries(w))T!=="text"&&T!=="thought"&&T!=="thoughtSignature"&&(A!==null||A!==void 0)&&b.push(T);if(typeof w.text=="string"){if(typeof w.thought=="boolean"&&w.thought)continue;v=!0,g+=w.text}}return b.length>0&&console.warn(`there are non-text parts ${b} in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.`),v?g:void 0}get data(){var t,i,o,l,c,m,p,y;if(((l=(o=(i=(t=this.candidates)===null||t===void 0?void 0:t[0])===null||i===void 0?void 0:i.content)===null||o===void 0?void 0:o.parts)===null||l===void 0?void 0:l.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning data from the first one.");let g="";const v=[];for(const b of(y=(p=(m=(c=this.candidates)===null||c===void 0?void 0:c[0])===null||m===void 0?void 0:m.content)===null||p===void 0?void 0:p.parts)!==null&&y!==void 0?y:[]){for(const[w,T]of Object.entries(b))w!=="inlineData"&&(T!==null||T!==void 0)&&v.push(w);
63b.inlineData&&typeof b.inlineData.data=="string"&&(g+=atob(b.inlineData.data))}return v.length>0&&console.warn(`there are non-data parts ${v} in the response, returning concatenation of all data parts. Please refer to the non data parts for a full response from model.`),g.length>0?btoa(g):void 0}get functionCalls(){var t,i,o,l,c,m,p,y;if(((l=(o=(i=(t=this.candidates)===null||t===void 0?void 0:t[0])===null||i===void 0?void 0:i.content)===null||o===void 0?void 0:o.parts)===null||l===void 0?void 0:l.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning function calls from the first one.");const g=(y=(p=(m=(c=this.candidates)===null||c===void 0?void 0:c[0])===null||m===void 0?void 0:m.content)===null||p===void 0?void 0:p.parts)===null||y===void 0?void 0:y.filter(v=>v.functionCall).map(v=>v.functionCall).filter(v=>v!==void 0);if((g==null?void 0:g.length)!==0)return g}get executableCode(){var t,i,o,l,c,m,p,y,g;if(((l=(o=(i=(t=this.candidates)===null||t===void 0?void 0:t[0])===null||i===void 0?void 0:i.content)===null||o===void 0?void 0:o.parts)===null||l===void 0?void 0:l.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning executable code from the first one.");const v=(y=(p=(m=(c=this.candidates)===null||c===void 0?void 0:c[0])===null||m===void 0?void 0:m.content)===null||p===void 0?void 0:p.parts)===null||y===void 0?void 0:y.filter(b=>b.executableCode).map(b=>b.executableCode).filter(b=>b!==void 0);if((v==null?void 0:v.length)!==0)return(g=v==null?void 0:v[0])===null||g===void 0?void 0:g.code}get codeExecutionResult(){var t,i,o,l,c,m,p,y,g;if(((l=(o=(i=(t=this.candidates)===null||t===void 0?void 0:t[0])===null||i===void 0?void 0:i.content)===null||o===void 0?void 0:o.parts)===null||l===void 0?void 0:l.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning code execution result from the first one.");const v=(y=(p=(m=(c=this.candidates)===null||c===void 0?void 0:c[0])===null||m===void 0?void 0:m.content)===null||p===void 0?void 0:p.parts)===null||y===void 0?void 0:y.filter(b=>b.codeExecutionResult).map(b=>b.codeExecutionResult).filter(b=>b!==void 0);if((v==null?void 0:v.length)!==0)return(g=v==null?void 0:v[0])===null||g===void 0?void 0:g.output}}class $0{}class Y0{}class xT{}class vT{}class bT{}class wT{}class J0{}class K0{}class X0{}class ET{}class Nl{_fromAPIResponse({apiResponse:t,_isVertexAI:i}){const o=new Nl;let l;const c=t;return i?l=sT(c):l=oT(c),Object.assign(o,l),o}}class TT{}class Q0{}class W0{}class Z0{}class ST{}class AT{}class _T{}class ed{_fromAPIResponse({apiResponse:t,_isVertexAI:i}){const o=new ed,c=mT(t);return Object.assign(o,c),o}}class NT{}class CT{}class IT{}class RT{}class eg{}class MT{get text(){var t,i,o;let l="",c=!1;const m=[];for(const p of(o=(i=(t=this.serverContent)===null||t===void 0?void 0:t.modelTurn)===null||i===void 0?void 0:i.parts)!==null&&o!==void 0?o:[]){for(const[y,g]of Object.entries(p))y!=="text"&&y!=="thought"&&g!==null&&m.push(y);if(typeof p.text=="string"){if(typeof p.thought=="boolean"&&p.thought)continue;c=!0,l+=p.text}}return m.length>0&&console.warn(`there are non-text parts ${m} in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.`),c?l:void 0}get data(){var t,i,o;let l="";const c=[];for(const m of(o=(i=(t=this.serverContent)===null||t===void 0?void 0:t.modelTurn)===null||i===void 0?void 0:i.parts)!==null&&o!==void 0?o:[]){for(const[p,y]of Object.entries(m))p!=="inlineData"&&y!==null&&c.push(p);m.inlineData&&typeof m.inlineData.data=="string"&&(l+=atob(m.inlineData.data))}return c.length>0&&console.warn(`there are non-data parts ${c} in the response, returning concatenation of all data parts. Please refer to the non data parts for a full response from model.`),l.length>0?btoa(l):void 0}}class DT{get audioChunk(){if(this.serverContent&&this.serverContent.audioChunks&&this.serverContent.audioChunks.length>0)return this.serverContent.audioChunks[0]}}class td{_fromAPIResponse({apiResponse:t,_isVertexAI:i}){const o=new td,c=_y(t);return Object.assign(o,c),o}}/**
64 * @license
65 * Copyright 2025 Google LLC
66 * SPDX-License-Identifier: Apache-2.0
67 */function Ae(e,t){if(!t||typeof t!="string")throw new Error("model is required and must be a string");if(t.includes("..")||t.includes("?")||t.includes("&"))throw new Error("invalid model parameter");if(e.isVertexAI()){if(t.startsWith("publishers/")||t.startsWith("projects/")||t.startsWith("models/"))return t;if(t.indexOf("/")>=0){const i=t.split("/",2);return`publishers/${i[0]}/models/${i[1]}`}else return`publishers/google/models/${t}`}else return t.startsWith("models/")||t.startsWith("tunedModels/")?t:`models/${t}`}function Ny(e,t){const i=Ae(e,t);return i?i.startsWith("publishers/")&&e.isVertexAI()?`projects/${e.getProject()}/locations/${e.getLocation()}/${i}`:i.startsWith("models/")&&e.isVertexAI()?`projects/${e.getProject()}/locations/${e.getLocation()}/publishers/google/${i}`:i:""}function Cy(e){return Array.isArray(e)?e.map(t=>Cl(t)):[Cl(e)]}function Cl(e){if(typeof e=="object"&&e!==null)return e;throw new Error(`Could not parse input as Blob. Unsupported blob type: ${typeof e}`)}function Iy(e){const t=Cl(e);if(t.mimeType&&t.mimeType.startsWith("image/"))return t;throw new Error(`Unsupported mime type: ${t.mimeType}`)}function Ry(e){const t=Cl(e);if(t.mimeType&&t.mimeType.startsWith("audio/"))return t;throw new Error(`Unsupported mime type: ${t.mimeType}`)}function tg(e){if(e==null)throw new Error("PartUnion is required");if(typeof e=="object")return e;if(typeof e=="string")return{text:e};throw new Error(`Unsupported part type: ${typeof e}`)}function My(e){if(e==null||Array.isArray(e)&&e.length===0)throw new Error("PartListUnion is required");return Array.isArray(e)?e.map(t=>tg(t)):[tg(e)]}function Nu(e){return e!=null&&typeof e=="object"&&"parts"in e&&Array.isArray(e.parts)}function ng(e){return e!=null&&typeof e=="object"&&"functionCall"in e}function ig(e){return e!=null&&typeof e=="object"&&"functionResponse"in e}function it(e){if(e==null)throw new Error("ContentUnion is required");return Nu(e)?e:{role:"user",parts:My(e)}}
67function nd(e,t){if(!t)return[];if(e.isVertexAI()&&Array.isArray(t))return t.flatMap(i=>{const o=it(i);return o.parts&&o.parts.length>0&&o.parts[0].text!==void 0?[o.parts[0].text]:[]});if(e.isVertexAI()){const i=it(t);return i.parts&&i.parts.length>0&&i.parts[0].text!==void 0?[i.parts[0].text]:[]}return Array.isArray(t)?t.map(i=>it(i)):[it(t)]}function wt(e){if(e==null||Array.isArray(e)&&e.length===0)throw new Error("contents are required");if(!Array.isArray(e)){if(ng(e)||ig(e))throw new Error("To specify functionCall or functionResponse parts, please wrap them in a Content object, specifying the role for them");return[it(e)]}const t=[],i=[],o=Nu(e[0]);for(const l of e){const c=Nu(l);if(c!=o)throw new Error("Mixing Content and Parts is not supported, please group the parts into a the appropriate Content objects and specify the roles for them");if(c)t.push(l);else{if(ng(l)||ig(l))throw new Error("To specify functionCall or functionResponse parts, please wrap them, and any other parts, in Content objects as appropriate, specifying the role for them");i.push(l)}}return o||t.push({role:"user",parts:My(i)}),t}function kT(e,t){e.includes("null")&&(t.nullable=!0);const i=e.filter(o=>o!=="null");if(i.length===1)t.type=Object.values(ri).includes(i[0].toUpperCase())?i[0].toUpperCase():ri.TYPE_UNSPECIFIED;else{t.anyOf=[];for(const o of i)t.anyOf.push({type:Object.values(ri).includes(o.toUpperCase())?o.toUpperCase():ri.TYPE_UNSPECIFIED})}}function _a(e){const t={},i=["items"],o=["anyOf"],l=["properties"];if(e.type&&e.anyOf)throw new Error("type and anyOf cannot be both populated.");const c=e.anyOf;c!=null&&c.length==2&&(c[0].type==="null"?(t.nullable=!0,e=c[1]):c[1].type==="null"&&(t.nullable=!0,e=c[0])),e.type instanceof Array&&kT(e.type,t);for(const[m,p]of Object.entries(e))if(p!=null)if(m=="type"){if(p==="null")throw new Error("type: null can not be the only possible type for the field.");if(p instanceof Array)continue;t.type=Object.values(ri).includes(p.toUpperCase())?p.toUpperCase():ri.TYPE_UNSPECIFIED}else if(i.includes(m))t[m]=_a(p);else if(o.includes(m)){const y=[];for(const g of p){if(g.type=="null"){t.nullable=!0;continue}y.push(_a(g))}t[m]=y}else if(l.includes(m)){const y={};for(const[g,v]of Object.entries(p))y[g]=_a(v);t[m]=y}else{if(m==="additionalProperties")continue;t[m]=p}return t}function id(e){return _a(e)}function ad(e){if(typeof e=="object")return e;if(typeof e=="string")return{voiceConfig:{prebuiltVoiceConfig:{voiceName:e}}};throw new Error(`Unsupported speechConfig type: ${typeof e}`)}function od(e){if("multiSpeakerVoiceConfig"in e)throw new Error("multiSpeakerVoiceConfig is not supported in the live API.");return e}function Ra(e){if(e.functionDeclarations)for(const t of e.functionDeclarations)t.parameters&&(Object.keys(t.parameters).includes("$schema")?t.parametersJsonSchema||(t.parametersJsonSchema=t.parameters,delete t.parameters):t.parameters=_a(t.parameters)),t.response&&(Object.keys(t.response).includes("$schema")?t.responseJsonSchema||(t.responseJsonSchema=t.response,delete t.response):t.response=_a(t.response));return e}function Ma(e){if(e==null)throw new Error("tools is required");if(!Array.isArray(e))throw new Error("tools is required and must be an array of Tools");const t=[];for(const i of e)t.push(i);return t}function LT(e,t,i,o=1){const l=!t.startsWith(`${i}/`)&&t.split("/").length===o;return e.isVertexAI()?t.startsWith("projects/")?t:t.startsWith("locations/")?`projects/${e.getProject()}/${t}`:t.startsWith(`${i}/`)?`projects/${e.getProject()}/locations/${e.getLocation()}/${t}`:l?`projects/${e.getProject()}/locations/${e.getLocation()}/${i}/${t}`:t:l?`${i}/${t}`:t}function Pn(e,t){if(typeof t!="string")throw new Error("name must be a string");return LT(e,t,"cachedContents")}function Dy(e){switch(e){case"STATE_UNSPECIFIED":return"JOB_STATE_UNSPECIFIED";case"CREATING":return"JOB_STATE_RUNNING";case"ACTIVE":return"JOB_STATE_SUCCEEDED";case"FAILED":return"JOB_STATE_FAILED";default:return e}}function ui(e){return Zu(e)}function PT(e){return e!=null&&typeof e=="object"&&"name"in e}function HT(e){return e!=null&&typeof e=="object"&&"video"in e}function UT(e){return e!=null&&typeof e=="object"&&"uri"in e}function ky(e){var t;let i;if(PT(e)&&(i=e.name),!(UT(e)&&(i=e.uri,i===void 0))&&!(HT(e)&&(i=(t=e.video)===null||t===void 0?void 0:t.uri,i===void 0))){if(typeof e=="string"&&(i=e),i===void 0)throw new Error("Could not extract file name from the provided input.");if(i.startsWith("https://")){const l=i.split("files/")[1].match(/[a-z0-9]+/);if(l===null)throw new Error(`Could not extract file name from URI ${i}`);i=l[0]}else i.startsWith("files/")&&(i=i.split("files/")[1]);return i}}function Ly(e,t){let i;return e.isVertexAI()?i=t?"publishers/google/models":"models":i=t?"models":"tunedModels",i}function Py(e){for(const t of["models","tunedModels","publisherModels"])if(jT(e,t))return e[t];return[]}function jT(e,t){return e!==null&&typeof e=="object"&&t in e}function GT(e,t={}){const i=e,o={name:i.name,description:i.description,parametersJsonSchema:i.inputSchema};
67return i.outputSchema&&(o.responseJsonSchema=i.outputSchema),t.behavior&&(o.behavior=t.behavior),{functionDeclarations:[o]}}function VT(e,t={}){const i=[],o=new Set;for(const l of e){const c=l.name;if(o.has(c))throw new Error(`Duplicate function name ${c} found in MCP tools. Please ensure function names are unique.`);o.add(c);const m=GT(l,t);m.functionDeclarations&&i.push(...m.functionDeclarations)}return{functionDeclarations:i}}function Hy(e,t){let i;if(typeof t=="string")if(e.isVertexAI())if(t.startsWith("gs://"))i={format:"jsonl",gcsUri:[t]};else if(t.startsWith("bq://"))i={format:"bigquery",bigqueryUri:t};else if(/^projects\/[^/]+\/locations\/[^/]+\/datasets\/[^/]+$/.test(t))i={format:"vertex-dataset",vertexDatasetName:t};else throw new Error(`Unsupported string source for Vertex AI: ${t}`);else if(t.startsWith("files/"))i={fileName:t};else throw new Error(`Unsupported string source for Gemini API: ${t}`);else if(Array.isArray(t)){if(e.isVertexAI())throw new Error("InlinedRequest[] is not supported in Vertex AI.");i={inlinedRequests:t}}else i=t;const o=[i.gcsUri,i.bigqueryUri,i.vertexDatasetName].filter(Boolean).length,l=[i.inlinedRequests,i.fileName].filter(Boolean).length;if(e.isVertexAI()){if(l>0||o!==1)throw new Error("Exactly one of `gcsUri`, `bigqueryUri`, or `vertexDatasetName` must be set for Vertex AI.")}else if(o>0||l!==1)throw new Error("Exactly one of `inlinedRequests`, `fileName`, must be set for Gemini API.");return i}function zT(e){if(typeof e!="string")return e;const t=e;if(t.startsWith("gs://"))return{format:"jsonl",gcsUri:t};if(t.startsWith("bq://"))return{format:"bigquery",bigqueryUri:t};throw new Error(`Unsupported destination: ${t}`)}function Uy(e){if(typeof e!="object"||e===null)return{};const t=e,i=t.inlinedResponses;if(typeof i!="object"||i===null)return e;const l=i.inlinedResponses;if(!Array.isArray(l)||l.length===0)return e;let c=!1;for(const m of l){if(typeof m!="object"||m===null)continue;const y=m.response;if(typeof y!="object"||y===null)continue;if(y.embedding!==void 0){c=!0;break}}return c&&(t.inlinedEmbedContentResponses=t.inlinedResponses,delete t.inlinedResponses),e}function Da(e,t){const i=t;if(!e.isVertexAI()){if(/batches\/[^/]+$/.test(i))return i.split("/").pop();throw new Error(`Invalid batch job name: ${i}.`)}if(/^projects\/[^/]+\/locations\/[^/]+\/batchPredictionJobs\/[^/]+$/.test(i))return i.split("/").pop();if(/^\d+$/.test(i))return i;throw new Error(`Invalid batch job name: ${i}.`)}function jy(e){const t=e;return t==="BATCH_STATE_UNSPECIFIED"?"JOB_STATE_UNSPECIFIED":t==="BATCH_STATE_PENDING"?"JOB_STATE_PENDING":t==="BATCH_STATE_RUNNING"?"JOB_STATE_RUNNING":t==="BATCH_STATE_SUCCEEDED"?"JOB_STATE_SUCCEEDED":t==="BATCH_STATE_FAILED"?"JOB_STATE_FAILED":t==="BATCH_STATE_CANCELLED"?"JOB_STATE_CANCELLED":t==="BATCH_STATE_EXPIRED"?"JOB_STATE_EXPIRED":t}function BT(e){return e.includes("gemini")&&e!=="gemini-embedding-001"||e.includes("maas")}/**
68 * @license
69 * Copyright 2025 Google LLC
70 * SPDX-License-Identifier: Apache-2.0
71 */function OT(e){const t={},i=d(e,["apiKey"]);if(i!=null&&f(t,["apiKey"],i),d(e,["apiKeyConfig"])!==void 0)throw new Error("apiKeyConfig parameter is not supported in Gemini API.");if(d(e,["authType"])!==void 0)throw new Error("authType parameter is not supported in Gemini API.");if(d(e,["googleServiceAccountConfig"])!==void 0)throw new Error("googleServiceAccountConfig parameter is not supported in Gemini API.");if(d(e,["httpBasicAuthConfig"])!==void 0)throw new Error("httpBasicAuthConfig parameter is not supported in Gemini API.");if(d(e,["oauthConfig"])!==void 0)throw new Error("oauthConfig parameter is not supported in Gemini API.");if(d(e,["oidcConfig"])!==void 0)throw new Error("oidcConfig parameter is not supported in Gemini API.");return t}function qT(e){const t={},i=d(e,["responsesFile"]);i!=null&&f(t,["fileName"],i);const o=d(e,["inlinedResponses","inlinedResponses"]);if(o!=null){let c=o;Array.isArray(c)&&(c=c.map(m=>SS(m))),f(t,["inlinedResponses"],c)}const l=d(e,["inlinedEmbedContentResponses","inlinedResponses"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>m)),f(t,["inlinedEmbedContentResponses"],c)}return t}function FT(e){const t={},i=d(e,["predictionsFormat"]);i!=null&&f(t,["format"],i);const o=d(e,["gcsDestination","outputUriPrefix"]);o!=null&&f(t,["gcsUri"],o);const l=d(e,["bigqueryDestination","outputUri"]);l!=null&&f(t,["bigqueryUri"],l);const c=d(e,["vertexMultimodalDatasetDestination"]);return c!=null&&f(t,["vertexDataset"],PS(c)),t}function $T(e){const t={},i=d(e,["format"]);i!=null&&f(t,["predictionsFormat"],i);const o=d(e,["gcsUri"]);o!=null&&f(t,["gcsDestination","outputUriPrefix"],o);const l=d(e,["bigqueryUri"]);if(l!=null&&f(t,["bigqueryDestination","outputUri"],l),d(e,["fileName"])!==void 0)throw new Error("fileName parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");if(d(e,["inlinedResponses"])!==void 0)throw new Error("inlinedResponses parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");if(d(e,["inlinedEmbedContentResponses"])!==void 0)throw new Error("inlinedEmbedContentResponses parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");const c=d(e,["vertexDataset"]);return c!=null&&f(t,["vertexMultimodalDatasetDestination"],HS(c)),t}function gl(e){const t={},i=d(e,["name"]);i!=null&&f(t,["name"],i);const o=d(e,["metadata","displayName"]);o!=null&&f(t,["displayName"],o);
71const l=d(e,["metadata","state"]);l!=null&&f(t,["state"],jy(l));const c=d(e,["metadata","createTime"]);c!=null&&f(t,["createTime"],c);const m=d(e,["metadata","endTime"]);m!=null&&f(t,["endTime"],m);const p=d(e,["metadata","updateTime"]);p!=null&&f(t,["updateTime"],p);const y=d(e,["metadata","model"]);y!=null&&f(t,["model"],y);const g=d(e,["metadata","output"]);return g!=null&&f(t,["dest"],qT(Uy(g))),t}function Cu(e){const t={},i=d(e,["name"]);i!=null&&f(t,["name"],i);const o=d(e,["displayName"]);o!=null&&f(t,["displayName"],o);const l=d(e,["state"]);l!=null&&f(t,["state"],jy(l));const c=d(e,["error"]);c!=null&&f(t,["error"],c);const m=d(e,["createTime"]);m!=null&&f(t,["createTime"],m);const p=d(e,["startTime"]);p!=null&&f(t,["startTime"],p);const y=d(e,["endTime"]);y!=null&&f(t,["endTime"],y);const g=d(e,["updateTime"]);g!=null&&f(t,["updateTime"],g);const v=d(e,["model"]);v!=null&&f(t,["model"],v);const b=d(e,["inputConfig"]);b!=null&&f(t,["src"],YT(b));const w=d(e,["outputConfig"]);w!=null&&f(t,["dest"],FT(Uy(w)));const T=d(e,["completionStats"]);T!=null&&f(t,["completionStats"],T);const A=d(e,["outputInfo"]);return A!=null&&f(t,["outputInfo"],A),t}function YT(e){const t={},i=d(e,["instancesFormat"]);i!=null&&f(t,["format"],i);const o=d(e,["gcsSource","uris"]);o!=null&&f(t,["gcsUri"],o);const l=d(e,["bigquerySource","inputUri"]);l!=null&&f(t,["bigqueryUri"],l);const c=d(e,["vertexMultimodalDatasetSource","datasetName"]);return c!=null&&f(t,["vertexDatasetName"],c),t}function JT(e,t){const i={};if(d(t,["format"])!==void 0)throw new Error("format parameter is not supported in Gemini API.");if(d(t,["gcsUri"])!==void 0)throw new Error("gcsUri parameter is not supported in Gemini API.");if(d(t,["bigqueryUri"])!==void 0)throw new Error("bigqueryUri parameter is not supported in Gemini API.");const o=d(t,["fileName"]);o!=null&&f(i,["fileName"],o);const l=d(t,["inlinedRequests"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>TS(e,m))),f(i,["requests","requests"],c)}if(d(t,["vertexDatasetName"])!==void 0)throw new Error("vertexDatasetName parameter is not supported in Gemini API.");return i}function KT(e){const t={},i=d(e,["format"]);i!=null&&f(t,["instancesFormat"],i);const o=d(e,["gcsUri"]);o!=null&&f(t,["gcsSource","uris"],o);const l=d(e,["bigqueryUri"]);if(l!=null&&f(t,["bigquerySource","inputUri"],l),d(e,["fileName"])!==void 0)throw new Error("fileName parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");if(d(e,["inlinedRequests"])!==void 0)throw new Error("inlinedRequests parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");const c=d(e,["vertexDatasetName"]);return c!=null&&f(t,["vertexMultimodalDatasetSource","datasetName"],c),t}function XT(e){const t={},i=d(e,["data"]);if(i!=null&&f(t,["data"],i),d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const o=d(e,["mimeType"]);return o!=null&&f(t,["mimeType"],o),t}function QT(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Da(e,o)),i}function WT(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Da(e,o)),i}function ZT(e){const t={},i=d(e,["content"]);i!=null&&f(t,["content"],i);const o=d(e,["citationMetadata"]);o!=null&&f(t,["citationMetadata"],eS(o));const l=d(e,["tokenCount"]);l!=null&&f(t,["tokenCount"],l);const c=d(e,["finishReason"]);c!=null&&f(t,["finishReason"],c);const m=d(e,["groundingMetadata"]);m!=null&&f(t,["groundingMetadata"],m);const p=d(e,["avgLogprobs"]);p!=null&&f(t,["avgLogprobs"],p);const y=d(e,["index"]);y!=null&&f(t,["index"],y);const g=d(e,["logprobsResult"]);g!=null&&f(t,["logprobsResult"],g);const v=d(e,["safetyRatings"]);if(v!=null){let w=v;Array.isArray(w)&&(w=w.map(T=>T)),f(t,["safetyRatings"],w)}const b=d(e,["urlContextMetadata"]);return b!=null&&f(t,["urlContextMetadata"],b),t}function eS(e){const t={},i=d(e,["citationSources"]);if(i!=null){let o=i;Array.isArray(o)&&(o=o.map(l=>l)),f(t,["citations"],o)}return t}function Gy(e){const t={},i=d(e,["parts"]);if(i!=null){let l=i;Array.isArray(l)&&(l=l.map(c=>MS(c))),f(t,["parts"],l)}const o=d(e,["role"]);return o!=null&&f(t,["role"],o),t}function tS(e,t){const i={},o=d(e,["displayName"]);if(t!==void 0&&o!=null&&f(t,["batch","displayName"],o),d(e,["dest"])!==void 0)throw new Error("dest parameter is not supported in Gemini API.");const l=d(e,["webhookConfig"]);return t!==void 0&&l!=null&&f(t,["batch","webhookConfig"],l),i}function nS(e,t){const i={},o=d(e,["displayName"]);t!==void 0&&o!=null&&f(t,["displayName"],o);const l=d(e,["dest"]);if(t!==void 0&&l!=null&&f(t,["outputConfig"],$T(zT(l))),d(e,["webhookConfig"])!==void 0)throw new Error("webhookConfig parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return i}function ag(e,t){const i={},o=d(t,["model"]);o!=null&&f(i,["_url","model"],Ae(e,o));const l=d(t,["src"]);l!=null&&f(i,["batch","inputConfig"],JT(e,Hy(e,l)));const c=d(t,["config"]);return c!=null&&tS(c,i),i}function iS(e,t){const i={},o=d(t,["model"]);o!=null&&f(i,["model"],Ae(e,o));const l=d(t,["src"]);l!=null&&f(i,["inputConfig"],KT(Hy(e,l)));const c=d(t,["config"]);return c!=null&&nS(c,i),i}function aS(e,t){const i={},o=d(e,["displayName"]);return t!==void 0&&o!=null&&f(t,["batch","displayName"],o),i}function oS(e,t){const i={},o=d(t,["model"]);o!=null&&f(i,["_url","model"],Ae(e,o));const l=d(t,["src"]);l!=null&&f(i,["batch","inputConfig"],fS(e,l));const c=d(t,["config"]);return c!=null&&aS(c,i),i}function sS(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Da(e,o)),i}function lS(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Da(e,o)),i}function rS(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["name"]);o!=null&&f(t,["name"],o);const l=d(e,["done"]);l!=null&&f(t,["done"],l);const c=d(e,["error"]);return c!=null&&f(t,["error"],c),t}function cS(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["name"]);o!=null&&f(t,["name"],o);const l=d(e,["done"]);l!=null&&f(t,["done"],l);const c=d(e,["error"]);return c!=null&&f(t,["error"],c),t}function uS(e,t){const i={},o=d(t,["contents"]);if(o!=null){let c=nd(e,o);Array.isArray(c)&&(c=c.map(m=>
71m)),f(i,["requests[]","request","content"],c)}const l=d(t,["config"]);return l!=null&&(f(i,["_self"],dS(l,i)),iT(i,{"requests[].*":"requests[].request.*"})),i}function dS(e,t){const i={},o=d(e,["taskType"]);t!==void 0&&o!=null&&f(t,["requests[]","taskType"],o);const l=d(e,["title"]);t!==void 0&&l!=null&&f(t,["requests[]","title"],l);const c=d(e,["outputDimensionality"]);if(t!==void 0&&c!=null&&f(t,["requests[]","outputDimensionality"],c),d(e,["mimeType"])!==void 0)throw new Error("mimeType parameter is not supported in Gemini API.");if(d(e,["autoTruncate"])!==void 0)throw new Error("autoTruncate parameter is not supported in Gemini API.");if(d(e,["documentOcr"])!==void 0)throw new Error("documentOcr parameter is not supported in Gemini API.");if(d(e,["audioTrackExtraction"])!==void 0)throw new Error("audioTrackExtraction parameter is not supported in Gemini API.");return i}function fS(e,t){const i={},o=d(t,["fileName"]);o!=null&&f(i,["file_name"],o);const l=d(t,["inlinedRequests"]);return l!=null&&f(i,["requests"],uS(e,l)),i}function mS(e){const t={};if(d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const i=d(e,["fileUri"]);i!=null&&f(t,["fileUri"],i);const o=d(e,["mimeType"]);return o!=null&&f(t,["mimeType"],o),t}function pS(e){const t={},i=d(e,["id"]);i!=null&&f(t,["id"],i);const o=d(e,["args"]);o!=null&&f(t,["args"],o);const l=d(e,["name"]);if(l!=null&&f(t,["name"],l),d(e,["partialArgs"])!==void 0)throw new Error("partialArgs parameter is not supported in Gemini API.");if(d(e,["willContinue"])!==void 0)throw new Error("willContinue parameter is not supported in Gemini API.");return t}function hS(e){const t={},i=d(e,["allowedFunctionNames"]);i!=null&&f(t,["allowedFunctionNames"],i);const o=d(e,["mode"]);if(o!=null&&f(t,["mode"],o),d(e,["streamFunctionCallArguments"])!==void 0)throw new Error("streamFunctionCallArguments parameter is not supported in Gemini API.");return t}function gS(e,t,i){const o={},l=d(t,["systemInstruction"]);i!==void 0&&l!=null&&f(i,["systemInstruction"],Gy(it(l)));const c=d(t,["temperature"]);c!=null&&f(o,["temperature"],c);const m=d(t,["topP"]);m!=null&&f(o,["topP"],m);const p=d(t,["topK"]);p!=null&&f(o,["topK"],p);const y=d(t,["candidateCount"]);y!=null&&f(o,["candidateCount"],y);const g=d(t,["maxOutputTokens"]);g!=null&&f(o,["maxOutputTokens"],g);const v=d(t,["stopSequences"]);v!=null&&f(o,["stopSequences"],v);const b=d(t,["responseLogprobs"]);b!=null&&f(o,["responseLogprobs"],b);const w=d(t,["logprobs"]);w!=null&&f(o,["logprobs"],w);const T=d(t,["presencePenalty"]);T!=null&&f(o,["presencePenalty"],T);const A=d(t,["frequencyPenalty"]);A!=null&&f(o,["frequencyPenalty"],A);const I=d(t,["seed"]);I!=null&&f(o,["seed"],I);const C=d(t,["responseMimeType"]);C!=null&&f(o,["responseMimeType"],C);const N=d(t,["responseSchema"]);N!=null&&f(o,["responseSchema"],id(N));const R=d(t,["responseJsonSchema"]);if(R!=null&&f(o,["responseJsonSchema"],R),d(t,["routingConfig"])!==void 0)throw new Error("routingConfig parameter is not supported in Gemini API.");if(d(t,["modelSelectionConfig"])!==void 0)throw new Error("modelSelectionConfig parameter is not supported in Gemini API.");const L=d(t,["safetySettings"]);if(i!==void 0&&L!=null){let ue=L;Array.isArray(ue)&&(ue=ue.map(se=>DS(se))),f(i,["safetySettings"],ue)}const q=d(t,["tools"]);if(i!==void 0&&q!=null){let ue=Ma(q);Array.isArray(ue)&&(ue=ue.map(se=>LS(Ra(se)))),f(i,["tools"],ue)}const Y=d(t,["toolConfig"]);if(i!==void 0&&Y!=null&&f(i,["toolConfig"],kS(Y)),d(t,["labels"])!==void 0)throw new Error("labels parameter is not supported in Gemini API.");const P=d(t,["cachedContent"]);i!==void 0&&P!=null&&f(i,["cachedContent"],Pn(e,P));const O=d(t,["responseModalities"]);O!=null&&f(o,["responseModalities"],O);const F=d(t,["mediaResolution"]);F!=null&&f(o,["mediaResolution"],F);const $=d(t,["speechConfig"]);if($!=null&&f(o,["speechConfig"],ad($)),d(t,["audioTimestamp"])!==void 0)throw new Error("audioTimestamp parameter is not supported in Gemini API.");const ee=d(t,["thinkingConfig"]);ee!=null&&f(o,["thinkingConfig"],ee);const ce=d(t,["imageConfig"]);ce!=null&&f(o,["imageConfig"],ES(ce));const Z=d(t,["enableEnhancedCivicAnswers"]);if(Z!=null&&f(o,["enableEnhancedCivicAnswers"],Z),d(t,["modelArmorConfig"])!==void 0)throw new Error("modelArmorConfig parameter is not supported in Gemini API.");const de=d(t,["serviceTier"]);return i!==void 0&&de!=null&&f(i,["serviceTier"],de),o}function yS(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["candidates"]);if(o!=null){let g=o;Array.isArray(g)&&(g=g.map(v=>ZT(v))),f(t,["candidates"],g)}const l=d(e,["modelVersion"]);l!=null&&f(t,["modelVersion"],l);const c=d(e,["promptFeedback"]);c!=null&&f(t,["promptFeedback"],c);const m=d(e,["responseId"]);m!=null&&f(t,["responseId"],m);const p=d(e,["usageMetadata"]);p!=null&&f(t,["usageMetadata"],p);const y=d(e,["modelStatus"]);return y!=null&&f(t,["modelStatus"],y),t}function xS(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Da(e,o)),i}function vS(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Da(e,o)),i}function bS(e){const t={},i=d(e,["authConfig"]);i!=null&&f(t,["authConfig"],OT(i));const o=d(e,["enableWidget"]);return o!=null&&f(t,["enableWidget"],o),t}function wS(e){const t={},i=d(e,["searchTypes"]);if(i!=null&&f(t,["searchTypes"],i),d(e,["blockingConfidence"])!==void 0)throw new Error("blockingConfidence parameter is not supported in Gemini API.");if(d(e,["excludeDomains"])!==void 0)throw new Error("excludeDomains parameter is not supported in Gemini API.");const o=d(e,["timeRangeFilter"]);return o!=null&&f(t,["timeRangeFilter"],o),t}function ES(e){const t={},i=d(e,["aspectRatio"]);i!=null&&f(t,["aspectRatio"],i);const o=d(e,["imageSize"]);if(o!=null&&f(t,["imageSize"],o),d(e,["personGeneration"])!==void 0)throw new Error("personGeneration parameter is not supported in Gemini API.");if(d(e,["prominentPeople"])!==void 0)throw new Error("prominentPeople parameter is not supported in Gemini API.");if(d(e,["outputMimeType"])!==void 0)throw new Error("outputMimeType parameter is not supported in Gemini API.");if(d(e,["outputCompressionQuality"])!==void 0)throw new Error("outputCompressionQuality parameter is not supported in Gemini API.");if(d(e,["imageOutputOptions"])!==void 0)throw new Error("imageOutputOptions parameter is not supported in Gemini API.");return t}function TS(e,t){const i={},o=d(t,["model"]);o!=null&&f(i,["request","model"],Ae(e,o));const l=d(t,["contents"]);if(l!=null){let p=wt(l);Array.isArray(p)&&(p=p.map(y=>Gy(y))),f(i,["request","contents"],p)}const c=d(t,["metadata"]);c!=null&&f(i,["metadata"],c);const m=d(t,["config"]);return m!=null&&f(i,["request","generationConfig"],gS(e,m,d(i,["request"],{}))),i}function SS(e){const t={},i=d(e,["response"]);i!=null&&f(t,["response"],yS(i));const o=d(e,["metadata"]);o!=null&&f(t,["metadata"],o);const l=d(e,["error"]);return l!=null&&f(t,["error"],l),t}function AS(e,t){const i={},o=d(e,["pageSize"]);t!==void 0&&o!=null&&f(t,["_query","pageSize"],o);const l=d(e,["pageToken"]);if(t!==void 0&&l!=null&&f(t,["_query","pageToken"],l),d(e,["filter"])!==void 0)throw new Error("filter parameter is not supported in Gemini API.");return i}function _S(e,t){const i={},o=d(e,["pageSize"]);t!==void 0&&o!=null&&f(t,["_query","pageSize"],o);const l=d(e,["pageToken"]);t!==void 0&&l!=null&&f(t,["_query","pageToken"],l);const c=d(e,["filter"]);return t!==void 0&&c!=null&&f(t,["_query","filter"],c),i}function NS(e){const t={},i=d(e,["config"]);return i!=null&&AS(i,t),t}function CS(e){const t={},i=d(e,["config"]);return i!=null&&_S(i,t),t}function IS(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["nextPageToken"]);o!=null&&f(t,["nextPageToken"],o);const l=d(e,["operations"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>gl(m))),f(t,["batchJobs"],c)}return t}function RS(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["nextPageToken"]);o!=null&&f(t,["nextPageToken"],o);const l=d(e,["batchPredictionJobs"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>Cu(m))),f(t,["batchJobs"],c)}return t}function MS(e){const t={},i=d(e,["mediaResolution"]);i!=null&&f(t,["mediaResolution"],i);const o=d(e,["codeExecutionResult"]);o!=null&&f(t,["codeExecutionResult"],o);const l=d(e,["executableCode"]);l!=null&&f(t,["executableCode"],l);const c=d(e,["fileData"]);c!=null&&f(t,["fileData"],mS(c));const m=d(e,["functionCall"]);m!=null&&f(t,["functionCall"],pS(m));const p=d(e,["functionResponse"]);p!=null&&f(t,["functionResponse"],p);const y=d(e,["inlineData"]);y!=null&&f(t,["inlineData"],XT(y));const g=d(e,["text"]);g!=null&&f(t,["text"],g);const v=d(e,["thought"]);v!=null&&f(t,["thought"],v);const b=d(e,["thoughtSignature"]);b!=null&&f(t,["thoughtSignature"],b);const w=d(e,["videoMetadata"]);w!=null&&f(t,["videoMetadata"],w);const T=d(e,["toolCall"]);T!=null&&f(t,["toolCall"],T);const A=d(e,["toolResponse"]);A!=null&&f(t,["toolResponse"],A);const I=d(e,["partMetadata"]);return I!=null&&f(t,["partMetadata"],I),t}function DS(e){const t={},i=d(e,["category"]);if(i!=null&&f(t,["category"],i),d(e,["method"])!==void 0)throw new Error("method parameter is not supported in Gemini API.");const o=d(e,["threshold"]);return o!=null&&f(t,["threshold"],o),t}function kS(e){const t={},i=d(e,["retrievalConfig"]);i!=null&&f(t,["retrievalConfig"],i);const o=d(e,["functionCallingConfig"]);o!=null&&f(t,["functionCallingConfig"],hS(o));const l=d(e,["includeServerSideToolInvocations"]);return l!=null&&f(t,["includeServerSideToolInvocations"],l),t}function LS(e){const t={};if(d(e,["retrieval"])!==void 0)throw new Error("retrieval parameter is not supported in Gemini API.");const i=d(e,["computerUse"]);i!=null&&f(t,["computerUse"],i);const o=d(e,["fileSearch"]);o!=null&&f(t,["fileSearch"],o);const l=d(e,["googleSearch"]);l!=null&&f(t,["googleSearch"],wS(l));const c=d(e,["googleMaps"]);c!=null&&f(t,["googleMaps"],bS(c));const m=d(e,["codeExecution"]);if(m!=null&&f(t,["codeExecution"],m),d(e,["enterpriseWebSearch"])!==void 0)throw new Error("enterpriseWebSearch parameter is not supported in Gemini API.");const p=d(e,["functionDeclarations"]);if(p!=null){let b=p;Array.isArray(b)&&(b=b.map(w=>w)),f(t,["functionDeclarations"],b)}const y=d(e,["googleSearchRetrieval"]);if(y!=null&&f(t,["googleSearchRetrieval"],y),d(e,["parallelAiSearch"])!==void 0)throw new Error("parallelAiSearch parameter is not supported in Gemini API.");
71const g=d(e,["urlContext"]);g!=null&&f(t,["urlContext"],g);const v=d(e,["mcpServers"]);if(v!=null){let b=v;Array.isArray(b)&&(b=b.map(w=>w)),f(t,["mcpServers"],b)}return t}function PS(e){const t={},i=d(e,["bigqueryDestination","outputUri"]);i!=null&&f(t,["bigqueryDestination"],i);const o=d(e,["displayName"]);return o!=null&&f(t,["displayName"],o),t}function HS(e){const t={},i=d(e,["bigqueryDestination"]);i!=null&&f(t,["bigqueryDestination","outputUri"],i);const o=d(e,["displayName"]);return o!=null&&f(t,["displayName"],o),t}/**
72 * @license
73 * Copyright 2025 Google LLC
74 * SPDX-License-Identifier: Apache-2.0
75 */var Dn;(function(e){e.PAGED_ITEM_BATCH_JOBS="batchJobs",e.PAGED_ITEM_MODELS="models",e.PAGED_ITEM_TUNING_JOBS="tuningJobs",e.PAGED_ITEM_FILES="files",e.PAGED_ITEM_CACHED_CONTENTS="cachedContents",e.PAGED_ITEM_FILE_SEARCH_STORES="fileSearchStores",e.PAGED_ITEM_DOCUMENTS="documents"})(Dn||(Dn={}));class Pi{constructor(t,i,o,l){this.pageInternal=[],this.paramsInternal={},this.requestInternal=i,this.init(t,o,l)}init(t,i,o){var l,c;this.nameInternal=t,this.pageInternal=i[this.nameInternal]||[],this.sdkHttpResponseInternal=i==null?void 0:i.sdkHttpResponse,this.idxInternal=0;let m={config:{}};!o||Object.keys(o).length===0?m={config:{}}:typeof o=="object"?m=Object.assign({},o):m=o,m.config&&(m.config.pageToken=i.nextPageToken),this.paramsInternal=m,this.pageInternalSize=(c=(l=m.config)===null||l===void 0?void 0:l.pageSize)!==null&&c!==void 0?c:this.pageInternal.length}initNextPage(t){this.init(this.nameInternal,t,this.paramsInternal)}get page(){return this.pageInternal}get name(){return this.nameInternal}get pageSize(){return this.pageInternalSize}get sdkHttpResponse(){return this.sdkHttpResponseInternal}get params(){return this.paramsInternal}get pageLength(){return this.pageInternal.length}getItem(t){return this.pageInternal[t]}[Symbol.asyncIterator](){return{next:async()=>{if(this.idxInternal>=this.pageLength)if(this.hasNextPage())await this.nextPage();else return{value:void 0,done:!0};const t=this.getItem(this.idxInternal);return this.idxInternal+=1,{value:t,done:!1}},return:async()=>({value:void 0,done:!0})}}async nextPage(){if(!this.hasNextPage())throw new Error("No more pages to fetch.");const t=await this.requestInternal(this.params);return this.initNextPage(t),this.page}hasNextPage(){var t;return((t=this.params.config)===null||t===void 0?void 0:t.pageToken)!==void 0}}/**
76 * @license
77 * Copyright 2025 Google LLC
78 * SPDX-License-Identifier: Apache-2.0
79 */class US extends Ln{constructor(t){super(),this.apiClient=t,this.list=async(i={})=>new Pi(Dn.PAGED_ITEM_BATCH_JOBS,o=>this.listInternal(o),await this.listInternal(i),i),this.create=async i=>(this.apiClient.isVertexAI()&&(i.config=this.formatDestination(i.src,i.config)),this.createInternal(i)),this.createEmbeddings=async i=>{if(console.warn("batches.createEmbeddings() is experimental and may change without notice."),this.apiClient.isVertexAI())throw new Error("Gemini Enterprise Agent Platform (previously known as Vertex AI) does not support batches.createEmbeddings.");return this.createEmbeddingsInternal(i)}}createInlinedGenerateContentRequest(t){const i=ag(this.apiClient,t),o=i._url,l=te("{model}:batchGenerateContent",o),p=i.batch.inputConfig.requests,y=p.requests,g=[];for(const v of y){const b=Object.assign({},v);if(b.systemInstruction){const w=b.systemInstruction;delete b.systemInstruction;const T=b.request;T.systemInstruction=w,b.request=T}g.push(b)}return p.requests=g,delete i.config,delete i._url,delete i._query,{path:l,body:i}}getGcsUri(t){if(typeof t=="string")return t.startsWith("gs://")?t:void 0;if(!Array.isArray(t)&&t.gcsUri&&t.gcsUri.length>0)return t.gcsUri[0]}getBigqueryUri(t){if(typeof t=="string")return t.startsWith("bq://")?t:void 0;if(!Array.isArray(t))return t.bigqueryUri}formatDestination(t,i){const o=i?Object.assign({},i):{},l=Date.now().toString();if(o.displayName||(o.displayName=`genaiBatchJob_${l}`),o.dest===void 0){const c=this.getGcsUri(t),m=this.getBigqueryUri(t);if(c)c.endsWith(".jsonl")?o.dest=`${c.slice(0,-6)}/dest`:o.dest=`${c}_dest_${l}`;else if(m)o.dest=`${m}_dest_${l}`;else throw new Error("Unsupported source for Gemini Enterprise Agent Platform (previously known as Vertex AI): No GCS or BigQuery URI found.")}return o}async createInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=iS(this.apiClient,t);return p=te("batchPredictionJobs",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json()),m.then(v=>Cu(v))}else{const g=ag(this.apiClient,t);return p=te("{model}:batchGenerateContent",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json()),m.then(v=>gl(v))}}async createEmbeddingsInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=oS(this.apiClient,t);return c=te("{model}:asyncBatchEmbedContent",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>gl(y))}}async get(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=vS(this.apiClient,t);return p=te("batchPredictionJobs/{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json()),m.then(v=>Cu(v))}else{const g=xS(this.apiClient,t);return p=te("batches/{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json()),m.then(v=>gl(v))}}async cancel(t){var i,o,l,c;let m="",p={};if(this.apiClient.isVertexAI()){const y=WT(this.apiClient,t);m=te("batchPredictionJobs/{name}:cancel",y._url),p=y._query,delete y._url,delete y._query,await this.apiClient.request({path:m,queryParams:p,body:JSON.stringify(y),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal})}else{const y=QT(this.apiClient,t);m=te("batches/{name}:cancel",y._url),p=y._query,delete y._url,delete y._query,await this.apiClient.request({path:m,queryParams:p,body:JSON.stringify(y),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal})}}async listInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=CS(t);return p=te("batchPredictionJobs",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=RS(v),w=new eg;return Object.assign(w,b),w})}else{const g=NS(t);return p=te("batches",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=IS(v),w=new eg;return Object.assign(w,b),w})}}async delete(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=lS(this.apiClient,t);return p=te("batchPredictionJobs/{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"DELETE",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>cS(v))}else{const g=sS(this.apiClient,t);return p=te("batches/{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"DELETE",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>rS(v))}}}/**
80 * @license
81 * Copyright 2025 Google LLC
82 * SPDX-License-Identifier: Apache-2.0
83 */function jS(e){const t={},i=d(e,["apiKey"]);if(i!=null&&f(t,["apiKey"],i),d(e,["apiKeyConfig"])!==void 0)throw new Error("apiKeyConfig parameter is not supported in Gemini API.");if(d(e,["authType"])!==void 0)throw new Error("authType parameter is not supported in Gemini API.");if(d(e,["googleServiceAccountConfig"])!==void 0)throw new Error("googleServiceAccountConfig parameter is not supported in Gemini API.");if(d(e,["httpBasicAuthConfig"])!==void 0)throw new Error("httpBasicAuthConfig parameter is not supported in Gemini API.");if(d(e,["oauthConfig"])!==void 0)throw new Error("oauthConfig parameter is not supported in Gemini API.");if(d(e,["oidcConfig"])!==void 0)throw new Error("oidcConfig parameter is not supported in Gemini API.");return t}function GS(e){const t={},i=d(e,["data"]);if(i!=null&&f(t,["data"],i),d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const o=d(e,["mimeType"]);return o!=null&&f(t,["mimeType"],o),t}function og(e){const t={},i=d(e,["parts"]);if(i!=null){let l=i;Array.isArray(l)&&(l=l.map(c=>rA(c))),f(t,["parts"],l)}const o=d(e,["role"]);return o!=null&&f(t,["role"],o),t}function sg(e){const t={},i=d(e,["parts"]);if(i!=null){let l=i;Array.isArray(l)&&(l=l.map(c=>cA(c))),f(t,["parts"],l)}const o=d(e,["role"]);return o!=null&&f(t,["role"],o),t}function VS(e,t){const i={},o=d(e,["ttl"]);t!==void 0&&o!=null&&f(t,["ttl"],o);const l=d(e,["expireTime"]);t!==void 0&&l!=null&&f(t,["expireTime"],l);const c=d(e,["displayName"]);t!==void 0&&c!=null&&f(t,["displayName"],c);const m=d(e,["contents"]);if(t!==void 0&&m!=null){let v=wt(m);Array.isArray(v)&&(v=v.map(b=>og(b))),f(t,["contents"],v)}const p=d(e,["systemInstruction"]);t!==void 0&&p!=null&&f(t,["systemInstruction"],og(it(p)));const y=d(e,["tools"]);if(t!==void 0&&y!=null){let v=y;Array.isArray(v)&&(v=v.map(b=>fA(b))),f(t,["tools"],v)}const g=d(e,["toolConfig"]);if(t!==void 0&&g!=null&&f(t,["toolConfig"],uA(g)),d(e,["kmsKeyName"])!==void 0)throw new Error("kmsKeyName parameter is not supported in Gemini API.");return i}function zS(e,t){const i={},o=d(e,["ttl"]);t!==void 0&&o!=null&&f(t,["ttl"],o);const l=d(e,["expireTime"]);t!==void 0&&l!=null&&f(t,["expireTime"],l);const c=d(e,["displayName"]);t!==void 0&&c!=null&&f(t,["displayName"],c);const m=d(e,["contents"]);if(t!==void 0&&m!=null){let b=wt(m);Array.isArray(b)&&(b=b.map(w=>sg(w))),f(t,["contents"],b)}const p=d(e,["systemInstruction"]);t!==void 0&&p!=null&&f(t,["systemInstruction"],sg(it(p)));const y=d(e,["tools"]);if(t!==void 0&&y!=null){let b=y;Array.isArray(b)&&(b=b.map(w=>mA(w))),f(t,["tools"],b)}const g=d(e,["toolConfig"]);t!==void 0&&g!=null&&f(t,["toolConfig"],dA(g));const v=d(e,["kmsKeyName"]);return t!==void 0&&v!=null&&f(t,["encryption_spec","kmsKeyName"],v),i}function BS(e,t){const i={},o=d(t,["model"]);o!=null&&f(i,["model"],Ny(e,o));const l=d(t,["config"]);return l!=null&&VS(l,i),i}function OS(e,t){const i={},o=d(t,["model"]);o!=null&&f(i,["model"],Ny(e,o));const l=d(t,["config"]);return l!=null&&zS(l,i),i}function qS(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Pn(e,o)),i}function FS(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Pn(e,o)),i}function $S(e){const t={},i=d(e,["sdkHttpResponse"]);return i!=null&&f(t,["sdkHttpResponse"],i),t}function YS(e){const t={},i=d(e,["sdkHttpResponse"]);return i!=null&&f(t,["sdkHttpResponse"],i),t}function JS(e){const t={};if(d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const i=d(e,["fileUri"]);i!=null&&f(t,["fileUri"],i);const o=d(e,["mimeType"]);return o!=null&&f(t,["mimeType"],o),t}function KS(e){const t={},i=d(e,["id"]);i!=null&&f(t,["id"],i);const o=d(e,["args"]);o!=null&&f(t,["args"],o);const l=d(e,["name"]);if(l!=null&&f(t,["name"],l),d(e,["partialArgs"])!==void 0)throw new Error("partialArgs parameter is not supported in Gemini API.");
83if(d(e,["willContinue"])!==void 0)throw new Error("willContinue parameter is not supported in Gemini API.");return t}function XS(e){const t={},i=d(e,["allowedFunctionNames"]);i!=null&&f(t,["allowedFunctionNames"],i);const o=d(e,["mode"]);if(o!=null&&f(t,["mode"],o),d(e,["streamFunctionCallArguments"])!==void 0)throw new Error("streamFunctionCallArguments parameter is not supported in Gemini API.");return t}function QS(e){const t={},i=d(e,["description"]);i!=null&&f(t,["description"],i);const o=d(e,["name"]);o!=null&&f(t,["name"],o);const l=d(e,["parameters"]);l!=null&&f(t,["parameters"],l);const c=d(e,["parametersJsonSchema"]);c!=null&&f(t,["parametersJsonSchema"],c);const m=d(e,["response"]);m!=null&&f(t,["response"],m);const p=d(e,["responseJsonSchema"]);if(p!=null&&f(t,["responseJsonSchema"],p),d(e,["behavior"])!==void 0)throw new Error("behavior parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return t}function WS(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Pn(e,o)),i}function ZS(e,t){const i={},o=d(t,["name"]);return o!=null&&f(i,["_url","name"],Pn(e,o)),i}function eA(e){const t={},i=d(e,["authConfig"]);i!=null&&f(t,["authConfig"],jS(i));const o=d(e,["enableWidget"]);return o!=null&&f(t,["enableWidget"],o),t}function tA(e){const t={},i=d(e,["searchTypes"]);if(i!=null&&f(t,["searchTypes"],i),d(e,["blockingConfidence"])!==void 0)throw new Error("blockingConfidence parameter is not supported in Gemini API.");if(d(e,["excludeDomains"])!==void 0)throw new Error("excludeDomains parameter is not supported in Gemini API.");const o=d(e,["timeRangeFilter"]);return o!=null&&f(t,["timeRangeFilter"],o),t}function nA(e,t){const i={},o=d(e,["pageSize"]);t!==void 0&&o!=null&&f(t,["_query","pageSize"],o);const l=d(e,["pageToken"]);return t!==void 0&&l!=null&&f(t,["_query","pageToken"],l),i}function iA(e,t){const i={},o=d(e,["pageSize"]);t!==void 0&&o!=null&&f(t,["_query","pageSize"],o);const l=d(e,["pageToken"]);return t!==void 0&&l!=null&&f(t,["_query","pageToken"],l),i}function aA(e){const t={},i=d(e,["config"]);return i!=null&&nA(i,t),t}function oA(e){const t={},i=d(e,["config"]);return i!=null&&iA(i,t),t}function sA(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["nextPageToken"]);o!=null&&f(t,["nextPageToken"],o);const l=d(e,["cachedContents"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>m)),f(t,["cachedContents"],c)}return t}function lA(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["nextPageToken"]);o!=null&&f(t,["nextPageToken"],o);const l=d(e,["cachedContents"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>m)),f(t,["cachedContents"],c)}return t}function rA(e){const t={},i=d(e,["mediaResolution"]);i!=null&&f(t,["mediaResolution"],i);const o=d(e,["codeExecutionResult"]);o!=null&&f(t,["codeExecutionResult"],o);const l=d(e,["executableCode"]);l!=null&&f(t,["executableCode"],l);const c=d(e,["fileData"]);c!=null&&f(t,["fileData"],JS(c));const m=d(e,["functionCall"]);m!=null&&f(t,["functionCall"],KS(m));const p=d(e,["functionResponse"]);p!=null&&f(t,["functionResponse"],p);const y=d(e,["inlineData"]);y!=null&&f(t,["inlineData"],GS(y));const g=d(e,["text"]);g!=null&&f(t,["text"],g);const v=d(e,["thought"]);v!=null&&f(t,["thought"],v);const b=d(e,["thoughtSignature"]);b!=null&&f(t,["thoughtSignature"],b);const w=d(e,["videoMetadata"]);w!=null&&f(t,["videoMetadata"],w);const T=d(e,["toolCall"]);T!=null&&f(t,["toolCall"],T);const A=d(e,["toolResponse"]);A!=null&&f(t,["toolResponse"],A);const I=d(e,["partMetadata"]);return I!=null&&f(t,["partMetadata"],I),t}function cA(e){const t={},i=d(e,["mediaResolution"]);i!=null&&f(t,["mediaResolution"],i);const o=d(e,["codeExecutionResult"]);o!=null&&f(t,["codeExecutionResult"],o);const l=d(e,["executableCode"]);l!=null&&f(t,["executableCode"],l);const c=d(e,["fileData"]);c!=null&&f(t,["fileData"],c);const m=d(e,["functionCall"]);m!=null&&f(t,["functionCall"],m);const p=d(e,["functionResponse"]);p!=null&&f(t,["functionResponse"],p);const y=d(e,["inlineData"]);y!=null&&f(t,["inlineData"],y);const g=d(e,["text"]);g!=null&&f(t,["text"],g);const v=d(e,["thought"]);v!=null&&f(t,["thought"],v);const b=d(e,["thoughtSignature"]);b!=null&&f(t,["thoughtSignature"],b);const w=d(e,["videoMetadata"]);if(w!=null&&f(t,["videoMetadata"],w),d(e,["toolCall"])!==void 0)throw new Error("toolCall parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");if(d(e,["toolResponse"])!==void 0)throw new Error("toolResponse parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");if(d(e,["partMetadata"])!==void 0)throw new Error("partMetadata parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return t}function uA(e){const t={},i=d(e,["retrievalConfig"]);i!=null&&f(t,["retrievalConfig"],i);const o=d(e,["functionCallingConfig"]);o!=null&&f(t,["functionCallingConfig"],XS(o));const l=d(e,["includeServerSideToolInvocations"]);return l!=null&&f(t,["includeServerSideToolInvocations"],l),t}function dA(e){const t={},i=d(e,["retrievalConfig"]);i!=null&&f(t,["retrievalConfig"],i);const o=d(e,["functionCallingConfig"]);if(o!=null&&f(t,["functionCallingConfig"],o),d(e,["includeServerSideToolInvocations"])!==void 0)throw new Error("includeServerSideToolInvocations parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return t}function fA(e){const t={};if(d(e,["retrieval"])!==void 0)throw new Error("retrieval parameter is not supported in Gemini API.");const i=d(e,["computerUse"]);i!=null&&f(t,["computerUse"],i);const o=d(e,["fileSearch"]);o!=null&&f(t,["fileSearch"],o);const l=d(e,["googleSearch"]);l!=null&&f(t,["googleSearch"],tA(l));const c=d(e,["googleMaps"]);c!=null&&f(t,["googleMaps"],eA(c));const m=d(e,["codeExecution"]);if(m!=null&&f(t,["codeExecution"],m),d(e,["enterpriseWebSearch"])!==void 0)throw new Error("enterpriseWebSearch parameter is not supported in Gemini API.");const p=d(e,["functionDeclarations"]);if(p!=null){let b=p;Array.isArray(b)&&(b=b.map(w=>w)),f(t,["functionDeclarations"],b)}const y=d(e,["googleSearchRetrieval"]);if(y!=null&&f(t,["googleSearchRetrieval"],y),d(e,["parallelAiSearch"])!==void 0)throw new Error("parallelAiSearch parameter is not supported in Gemini API.");
83const g=d(e,["urlContext"]);g!=null&&f(t,["urlContext"],g);const v=d(e,["mcpServers"]);if(v!=null){let b=v;Array.isArray(b)&&(b=b.map(w=>w)),f(t,["mcpServers"],b)}return t}function mA(e){const t={},i=d(e,["retrieval"]);i!=null&&f(t,["retrieval"],i);const o=d(e,["computerUse"]);if(o!=null&&f(t,["computerUse"],o),d(e,["fileSearch"])!==void 0)throw new Error("fileSearch parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");const l=d(e,["googleSearch"]);l!=null&&f(t,["googleSearch"],l);const c=d(e,["googleMaps"]);c!=null&&f(t,["googleMaps"],c);const m=d(e,["codeExecution"]);m!=null&&f(t,["codeExecution"],m);const p=d(e,["enterpriseWebSearch"]);p!=null&&f(t,["enterpriseWebSearch"],p);const y=d(e,["functionDeclarations"]);if(y!=null){let w=y;Array.isArray(w)&&(w=w.map(T=>QS(T))),f(t,["functionDeclarations"],w)}const g=d(e,["googleSearchRetrieval"]);g!=null&&f(t,["googleSearchRetrieval"],g);const v=d(e,["parallelAiSearch"]);v!=null&&f(t,["parallelAiSearch"],v);const b=d(e,["urlContext"]);if(b!=null&&f(t,["urlContext"],b),d(e,["mcpServers"])!==void 0)throw new Error("mcpServers parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return t}function pA(e,t){const i={},o=d(e,["ttl"]);t!==void 0&&o!=null&&f(t,["ttl"],o);const l=d(e,["expireTime"]);return t!==void 0&&l!=null&&f(t,["expireTime"],l),i}function hA(e,t){const i={},o=d(e,["ttl"]);t!==void 0&&o!=null&&f(t,["ttl"],o);const l=d(e,["expireTime"]);return t!==void 0&&l!=null&&f(t,["expireTime"],l),i}function gA(e,t){const i={},o=d(t,["name"]);o!=null&&f(i,["_url","name"],Pn(e,o));const l=d(t,["config"]);return l!=null&&pA(l,i),i}function yA(e,t){const i={},o=d(t,["name"]);o!=null&&f(i,["_url","name"],Pn(e,o));const l=d(t,["config"]);return l!=null&&hA(l,i),i}/**
84 * @license
85 * Copyright 2025 Google LLC
86 * SPDX-License-Identifier: Apache-2.0
87 */class xA extends Ln{constructor(t){super(),this.apiClient=t,this.list=async(i={})=>new Pi(Dn.PAGED_ITEM_CACHED_CONTENTS,o=>this.listInternal(o),await this.listInternal(i),i)}async create(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=OS(this.apiClient,t);return p=te("cachedContents",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json()),m.then(v=>v)}else{const g=BS(this.apiClient,t);return p=te("cachedContents",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json()),m.then(v=>v)}}async get(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=ZS(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json()),m.then(v=>v)}else{const g=WS(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json()),m.then(v=>v)}}async delete(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=FS(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"DELETE",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=YS(v),w=new W0;return Object.assign(w,b),w})}else{const g=qS(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"DELETE",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=$S(v),w=new W0;return Object.assign(w,b),w})}}async update(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=yA(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"PATCH",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json()),m.then(v=>v)}else{const g=gA(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"PATCH",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json()),m.then(v=>v)}}async listInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=oA(t);return p=te("cachedContents",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=lA(v),w=new Z0;return Object.assign(w,b),w})}else{const g=aA(t);return p=te("cachedContents",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=sA(v),w=new Z0;return Object.assign(w,b),w})}}}function ci(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(i[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l<o.length;l++)t.indexOf(o[l])<0&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(i[o[l]]=e[o[l]]);return i}function lg(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],o=0;if(i)return i.call(e);
87if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function fe(e){return this instanceof fe?(this.v=e,this):new fe(e)}function tn(e,t,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=i.apply(e,t||[]),l,c=[];return l=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),p("next"),p("throw"),p("return",m),l[Symbol.asyncIterator]=function(){return this},l;function m(T){return function(A){return Promise.resolve(A).then(T,b)}}function p(T,A){o[T]&&(l[T]=function(I){return new Promise(function(C,N){c.push([T,I,C,N])>1||y(T,I)})},A&&(l[T]=A(l[T])))}function y(T,A){try{g(o[T](A))}catch(I){w(c[0][3],I)}}function g(T){T.value instanceof fe?Promise.resolve(T.value.v).then(v,b):w(c[0][2],T)}function v(T){y("next",T)}function b(T){y("throw",T)}function w(T,A){T(A),c.shift(),c.length&&y(c[0][0],c[0][1])}}function nn(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],i;return t?t.call(e):(e=typeof lg=="function"?lg(e):e[Symbol.iterator](),i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i);function o(c){i[c]=e[c]&&function(m){return new Promise(function(p,y){m=e[c](m),l(p,y,m.done,m.value)})}}function l(c,m,p,y){Promise.resolve(y).then(function(g){c({value:g,done:p})},m)}}/**
88 * @license
89 * Copyright 2025 Google LLC
90 * SPDX-License-Identifier: Apache-2.0
91 */function vA(e){var t;if(e.candidates==null||e.candidates.length===0)return!1;const i=(t=e.candidates[0])===null||t===void 0?void 0:t.content;return i===void 0?!1:Vy(i)}function Vy(e){if(e.parts===void 0||e.parts.length===0)return!1;for(const t of e.parts)if(t===void 0||Object.keys(t).length===0)return!1;return!0}function bA(e){if(e.length!==0){for(const t of e)if(t.role!=="user"&&t.role!=="model")throw new Error(`Role must be user or model, but got ${t.role}.`)}}function rg(e){if(e===void 0||e.length===0)return[];const t=[],i=e.length;let o=0;for(;o<i;)if(e[o].role==="user")t.push(e[o]),o++;else{const l=[];let c=!0;for(;o<i&&e[o].role==="model";)l.push(e[o]),c&&!Vy(e[o])&&(c=!1),o++;c?t.push(...l):t.pop()}return t}class wA{constructor(t,i){this.modelsModule=t,this.apiClient=i}create(t){return new EA(this.apiClient,this.modelsModule,t.model,t.config,structuredClone(t.history))}}class EA{constructor(t,i,o,l={},c=[]){this.apiClient=t,this.modelsModule=i,this.model=o,this.config=l,this.history=c,this.sendPromise=Promise.resolve(),bA(c)}async sendMessage(t){var i;await this.sendPromise;const o=it(t.message),l=this.modelsModule.generateContent({model:this.model,contents:this.getHistory(!0).concat(o),config:(i=t.config)!==null&&i!==void 0?i:this.config});return this.sendPromise=(async()=>{var c,m,p;const y=await l,g=(m=(c=y.candidates)===null||c===void 0?void 0:c[0])===null||m===void 0?void 0:m.content,v=y.automaticFunctionCallingHistory,b=this.getHistory(!0).length;let w=[];v!=null&&(w=(p=v.slice(b))!==null&&p!==void 0?p:[]);const T=g?[g]:[];this.recordHistory(o,T,w)})(),await this.sendPromise.catch(()=>{this.sendPromise=Promise.resolve()}),l}async sendMessageStream(t){var i;await this.sendPromise;const o=it(t.message),l=this.modelsModule.generateContentStream({model:this.model,contents:this.getHistory(!0).concat(o),config:(i=t.config)!==null&&i!==void 0?i:this.config});this.sendPromise=l.then(()=>{}).catch(()=>{});const c=await l;return this.processStreamResponse(c,o)}getHistory(t=!1){const i=t?rg(this.history):this.history;return structuredClone(i)}processStreamResponse(t,i){return tn(this,arguments,function*(){var l,c,m,p,y,g;const v=[];try{for(var b=!0,w=nn(t),T;T=yield fe(w.next()),l=T.done,!l;b=!0){p=T.value,b=!1;const A=p;if(vA(A)){const I=(g=(y=A.candidates)===null||y===void 0?void 0:y[0])===null||g===void 0?void 0:g.content;I!==void 0&&v.push(I)}yield yield fe(A)}}catch(A){c={error:A}}finally{try{!b&&!l&&(m=w.return)&&(yield fe(m.call(w)))}finally{if(c)throw c.error}}this.recordHistory(i,v)})}recordHistory(t,i,o){let l=[];i.length>0&&i.every(c=>c.role!==void 0)?l=i:l.push({role:"model",parts:[]}),o&&o.length>0?this.history.push(...rg(o)):this.history.push(t),this.history.push(...l)}}/**
92 * @license
93 * Copyright 2025 Google LLC
94 * SPDX-License-Identifier: Apache-2.0
95 */class Ul extends Error{constructor(t){super(t.message),this.name="ApiError",this.status=t.status,Object.setPrototypeOf(this,Ul.prototype)}}/**
96 * @license
97 * Copyright 2025 Google LLC
98 * SPDX-License-Identifier: Apache-2.0
99 */function TA(e){const t={},i=d(e,["file"]);return i!=null&&f(t,["file"],i),t}function SA(e){const t={},i=d(e,["sdkHttpResponse"]);return i!=null&&f(t,["sdkHttpResponse"],i),t}function AA(e){const t={},i=d(e,["name"]);return i!=null&&f(t,["_url","file"],ky(i)),t}function _A(e){const t={},i=d(e,["sdkHttpResponse"]);return i!=null&&f(t,["sdkHttpResponse"],i),t}function NA(e){const t={},i=d(e,["name"]);return i!=null&&f(t,["_url","file"],ky(i)),t}function CA(e){const t={},i=d(e,["uris"]);return i!=null&&f(t,["uris"],i),t}function IA(e,t){const i={},o=d(e,["pageSize"]);t!==void 0&&o!=null&&f(t,["_query","pageSize"],o);const l=d(e,["pageToken"]);return t!==void 0&&l!=null&&f(t,["_query","pageToken"],l),i}function RA(e){const t={},i=d(e,["config"]);return i!=null&&IA(i,t),t}function MA(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["nextPageToken"]);o!=null&&f(t,["nextPageToken"],o);const l=d(e,["files"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>m)),f(t,["files"],c)}return t}function DA(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["files"]);if(o!=null){let l=o;Array.isArray(l)&&(l=l.map(c=>c)),f(t,["files"],l)}return t}/**
100 * @license
101 * Copyright 2025 Google LLC
102 * SPDX-License-Identifier: Apache-2.0
103 */class kA extends Ln{constructor(t){super(),this.apiClient=t,this.list=async(i={})=>new Pi(Dn.PAGED_ITEM_FILES,o=>this.listInternal(o),await this.listInternal(i),i)}async upload(t){if(this.apiClient.isVertexAI())throw new Error("Gemini Enterprise Agent Platform (previously known as Vertex AI) does not support uploading files. You can share files through a GCS bucket.");return this.apiClient.uploadFile(t.file,t.config).then(i=>i)}async download(t){await this.apiClient.downloadFile(t)}async registerFiles(t){throw new Error("registerFiles is only supported in Node.js environments.")}async _registerFiles(t){return this.registerFilesInternal(t)}async listInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=RA(t);return c=te("files",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json().then(g=>{const v=g;return v.sdkHttpResponse={headers:y.headers},v})),l.then(y=>{const g=MA(y),v=new NT;return Object.assign(v,g),v})}}async createInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=TA(t);return c=te("upload/v1beta/files",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>{const g=SA(y),v=new CT;return Object.assign(v,g),v})}}async get(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=NA(t);return c=te("files/{file}",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>y)}}async delete(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=AA(t);return c=te("files/{file}",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"DELETE",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json().then(g=>{const v=g;return v.sdkHttpResponse={headers:y.headers},v})),l.then(y=>{const g=_A(y),v=new IT;return Object.assign(v,g),v})}}async registerFilesInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=CA(t);return c=te("files:register",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>{const g=DA(y),v=new RT;return Object.assign(v,g),v})}}}/**
104 * @license
105 * Copyright 2025 Google LLC
106 * SPDX-License-Identifier: Apache-2.0
107 */function cg(e){const t={};if(d(e,["languageCodes"])!==void 0)throw new Error("languageCodes parameter is not supported in Gemini API.");return t}function LA(e){const t={},i=d(e,["apiKey"]);if(i!=null&&f(t,["apiKey"],i),d(e,["apiKeyConfig"])!==void 0)throw new Error("apiKeyConfig parameter is not supported in Gemini API.");if(d(e,["authType"])!==void 0)throw new Error("authType parameter is not supported in Gemini API.");if(d(e,["googleServiceAccountConfig"])!==void 0)throw new Error("googleServiceAccountConfig parameter is not supported in Gemini API.");if(d(e,["httpBasicAuthConfig"])!==void 0)throw new Error("httpBasicAuthConfig parameter is not supported in Gemini API.");if(d(e,["oauthConfig"])!==void 0)throw new Error("oauthConfig parameter is not supported in Gemini API.");if(d(e,["oidcConfig"])!==void 0)throw new Error("oidcConfig parameter is not supported in Gemini API.");return t}function yl(e){const t={},i=d(e,["data"]);if(i!=null&&f(t,["data"],i),d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const o=d(e,["mimeType"]);return o!=null&&f(t,["mimeType"],o),t}function PA(e){const t={},i=d(e,["parts"]);if(i!=null){let l=i;Array.isArray(l)&&(l=l.map(c=>WA(c))),f(t,["parts"],l)}const o=d(e,["role"]);return o!=null&&f(t,["role"],o),t}function HA(e){const t={},i=d(e,["parts"]);if(i!=null){let l=i;Array.isArray(l)&&(l=l.map(c=>ZA(c))),f(t,["parts"],l)}const o=d(e,["role"]);return o!=null&&f(t,["role"],o),t}function UA(e){const t={};if(d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const i=d(e,["fileUri"]);i!=null&&f(t,["fileUri"],i);const o=d(e,["mimeType"]);return o!=null&&f(t,["mimeType"],o),t}function jA(e){const t={},i=d(e,["id"]);i!=null&&f(t,["id"],i);const o=d(e,["args"]);o!=null&&f(t,["args"],o);const l=d(e,["name"]);if(l!=null&&f(t,["name"],l),d(e,["partialArgs"])!==void 0)throw new Error("partialArgs parameter is not supported in Gemini API.");
107if(d(e,["willContinue"])!==void 0)throw new Error("willContinue parameter is not supported in Gemini API.");return t}function GA(e){const t={},i=d(e,["description"]);i!=null&&f(t,["description"],i);const o=d(e,["name"]);o!=null&&f(t,["name"],o);const l=d(e,["parameters"]);l!=null&&f(t,["parameters"],l);const c=d(e,["parametersJsonSchema"]);c!=null&&f(t,["parametersJsonSchema"],c);const m=d(e,["response"]);m!=null&&f(t,["response"],m);const p=d(e,["responseJsonSchema"]);if(p!=null&&f(t,["responseJsonSchema"],p),d(e,["behavior"])!==void 0)throw new Error("behavior parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return t}function VA(e){const t={},i=d(e,["modelSelectionConfig"]);i!=null&&f(t,["modelConfig"],i);const o=d(e,["responseJsonSchema"]);o!=null&&f(t,["responseJsonSchema"],o);const l=d(e,["audioTimestamp"]);l!=null&&f(t,["audioTimestamp"],l);const c=d(e,["candidateCount"]);c!=null&&f(t,["candidateCount"],c);const m=d(e,["enableAffectiveDialog"]);m!=null&&f(t,["enableAffectiveDialog"],m);const p=d(e,["frequencyPenalty"]);p!=null&&f(t,["frequencyPenalty"],p);const y=d(e,["logprobs"]);y!=null&&f(t,["logprobs"],y);const g=d(e,["maxOutputTokens"]);g!=null&&f(t,["maxOutputTokens"],g);const v=d(e,["mediaResolution"]);v!=null&&f(t,["mediaResolution"],v);const b=d(e,["presencePenalty"]);b!=null&&f(t,["presencePenalty"],b);const w=d(e,["responseLogprobs"]);w!=null&&f(t,["responseLogprobs"],w);const T=d(e,["responseMimeType"]);T!=null&&f(t,["responseMimeType"],T);const A=d(e,["responseModalities"]);A!=null&&f(t,["responseModalities"],A);const I=d(e,["responseSchema"]);I!=null&&f(t,["responseSchema"],I);const C=d(e,["routingConfig"]);C!=null&&f(t,["routingConfig"],C);const N=d(e,["seed"]);N!=null&&f(t,["seed"],N);const R=d(e,["speechConfig"]);R!=null&&f(t,["speechConfig"],R);const L=d(e,["stopSequences"]);L!=null&&f(t,["stopSequences"],L);const q=d(e,["temperature"]);q!=null&&f(t,["temperature"],q);const Y=d(e,["thinkingConfig"]);Y!=null&&f(t,["thinkingConfig"],Y);const P=d(e,["topK"]);P!=null&&f(t,["topK"],P);const O=d(e,["topP"]);if(O!=null&&f(t,["topP"],O),d(e,["enableEnhancedCivicAnswers"])!==void 0)throw new Error("enableEnhancedCivicAnswers parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return t}function zA(e){const t={},i=d(e,["authConfig"]);i!=null&&f(t,["authConfig"],LA(i));const o=d(e,["enableWidget"]);return o!=null&&f(t,["enableWidget"],o),t}function BA(e){const t={},i=d(e,["searchTypes"]);if(i!=null&&f(t,["searchTypes"],i),d(e,["blockingConfidence"])!==void 0)throw new Error("blockingConfidence parameter is not supported in Gemini API.");if(d(e,["excludeDomains"])!==void 0)throw new Error("excludeDomains parameter is not supported in Gemini API.");const o=d(e,["timeRangeFilter"]);return o!=null&&f(t,["timeRangeFilter"],o),t}function OA(e,t){const i={},o=d(e,["generationConfig"]);t!==void 0&&o!=null&&f(t,["setup","generationConfig"],o);const l=d(e,["responseModalities"]);t!==void 0&&l!=null&&f(t,["setup","generationConfig","responseModalities"],l);const c=d(e,["temperature"]);t!==void 0&&c!=null&&f(t,["setup","generationConfig","temperature"],c);const m=d(e,["topP"]);t!==void 0&&m!=null&&f(t,["setup","generationConfig","topP"],m);const p=d(e,["topK"]);t!==void 0&&p!=null&&f(t,["setup","generationConfig","topK"],p);const y=d(e,["maxOutputTokens"]);t!==void 0&&y!=null&&f(t,["setup","generationConfig","maxOutputTokens"],y);const g=d(e,["mediaResolution"]);t!==void 0&&g!=null&&f(t,["setup","generationConfig","mediaResolution"],g);const v=d(e,["seed"]);t!==void 0&&v!=null&&f(t,["setup","generationConfig","seed"],v);const b=d(e,["speechConfig"]);t!==void 0&&b!=null&&f(t,["setup","generationConfig","speechConfig"],od(b));const w=d(e,["thinkingConfig"]);t!==void 0&&w!=null&&f(t,["setup","generationConfig","thinkingConfig"],w);const T=d(e,["enableAffectiveDialog"]);t!==void 0&&T!=null&&f(t,["setup","generationConfig","enableAffectiveDialog"],T);const A=d(e,["systemInstruction"]);t!==void 0&&A!=null&&f(t,["setup","systemInstruction"],PA(it(A)));const I=d(e,["tools"]);if(t!==void 0&&I!=null){let F=Ma(I);Array.isArray(F)&&(F=F.map($=>n_(Ra($)))),f(t,["setup","tools"],F)}const C=d(e,["sessionResumption"]);t!==void 0&&C!=null&&f(t,["setup","sessionResumption"],t_(C));const N=d(e,["inputAudioTranscription"]);t!==void 0&&N!=null&&f(t,["setup","inputAudioTranscription"],cg(N));const R=d(e,["outputAudioTranscription"]);t!==void 0&&R!=null&&f(t,["setup","outputAudioTranscription"],cg(R));const L=d(e,["realtimeInputConfig"]);t!==void 0&&L!=null&&f(t,["setup","realtimeInputConfig"],L);const q=d(e,["contextWindowCompression"]);t!==void 0&&q!=null&&f(t,["setup","contextWindowCompression"],q);const Y=d(e,["proactivity"]);if(t!==void 0&&Y!=null&&f(t,["setup","proactivity"],Y),d(e,["explicitVadSignal"])!==void 0)throw new Error("explicitVadSignal parameter is not supported in Gemini API.");const P=d(e,["avatarConfig"]);t!==void 0&&P!=null&&f(t,["setup","avatarConfig"],P);const O=d(e,["safetySettings"]);if(t!==void 0&&O!=null){let F=O;Array.isArray(F)&&(F=F.map($=>e_($))),f(t,["setup","safetySettings"],F)}return i}function qA(e,t){const i={},o=d(e,["generationConfig"]);t!==void 0&&o!=null&&f(t,["setup","generationConfig"],VA(o));const l=d(e,["responseModalities"]);t!==void 0&&l!=null&&f(t,["setup","generationConfig","responseModalities"],l);const c=d(e,["temperature"]);t!==void 0&&c!=null&&f(t,["setup","generationConfig","temperature"],
107c);const m=d(e,["topP"]);t!==void 0&&m!=null&&f(t,["setup","generationConfig","topP"],m);const p=d(e,["topK"]);t!==void 0&&p!=null&&f(t,["setup","generationConfig","topK"],p);const y=d(e,["maxOutputTokens"]);t!==void 0&&y!=null&&f(t,["setup","generationConfig","maxOutputTokens"],y);const g=d(e,["mediaResolution"]);t!==void 0&&g!=null&&f(t,["setup","generationConfig","mediaResolution"],g);const v=d(e,["seed"]);t!==void 0&&v!=null&&f(t,["setup","generationConfig","seed"],v);const b=d(e,["speechConfig"]);t!==void 0&&b!=null&&f(t,["setup","generationConfig","speechConfig"],od(b));const w=d(e,["thinkingConfig"]);t!==void 0&&w!=null&&f(t,["setup","generationConfig","thinkingConfig"],w);const T=d(e,["enableAffectiveDialog"]);t!==void 0&&T!=null&&f(t,["setup","generationConfig","enableAffectiveDialog"],T);const A=d(e,["systemInstruction"]);t!==void 0&&A!=null&&f(t,["setup","systemInstruction"],HA(it(A)));const I=d(e,["tools"]);if(t!==void 0&&I!=null){let $=Ma(I);Array.isArray($)&&($=$.map(ee=>i_(Ra(ee)))),f(t,["setup","tools"],$)}const C=d(e,["sessionResumption"]);t!==void 0&&C!=null&&f(t,["setup","sessionResumption"],C);const N=d(e,["inputAudioTranscription"]);t!==void 0&&N!=null&&f(t,["setup","inputAudioTranscription"],N);const R=d(e,["outputAudioTranscription"]);t!==void 0&&R!=null&&f(t,["setup","outputAudioTranscription"],R);const L=d(e,["realtimeInputConfig"]);t!==void 0&&L!=null&&f(t,["setup","realtimeInputConfig"],L);const q=d(e,["contextWindowCompression"]);t!==void 0&&q!=null&&f(t,["setup","contextWindowCompression"],q);const Y=d(e,["proactivity"]);t!==void 0&&Y!=null&&f(t,["setup","proactivity"],Y);const P=d(e,["explicitVadSignal"]);t!==void 0&&P!=null&&f(t,["setup","explicitVadSignal"],P);const O=d(e,["avatarConfig"]);t!==void 0&&O!=null&&f(t,["setup","avatarConfig"],O);const F=d(e,["safetySettings"]);if(t!==void 0&&F!=null){let $=F;Array.isArray($)&&($=$.map(ee=>ee)),f(t,["setup","safetySettings"],$)}return i}function FA(e,t){const i={},o=d(t,["model"]);o!=null&&f(i,["setup","model"],Ae(e,o));const l=d(t,["config"]);return l!=null&&f(i,["config"],OA(l,i)),i}function $A(e,t){const i={},o=d(t,["model"]);o!=null&&f(i,["setup","model"],Ae(e,o));const l=d(t,["config"]);return l!=null&&f(i,["config"],qA(l,i)),i}function YA(e){const t={},i=d(e,["musicGenerationConfig"]);return i!=null&&f(t,["musicGenerationConfig"],i),t}function JA(e){const t={},i=d(e,["weightedPrompts"]);if(i!=null){let o=i;Array.isArray(o)&&(o=o.map(l=>l)),f(t,["weightedPrompts"],o)}return t}function KA(e){const t={},i=d(e,["media"]);if(i!=null){let g=Cy(i);Array.isArray(g)&&(g=g.map(v=>yl(v))),f(t,["mediaChunks"],g)}const o=d(e,["audio"]);o!=null&&f(t,["audio"],yl(Ry(o)));const l=d(e,["audioStreamEnd"]);l!=null&&f(t,["audioStreamEnd"],l);const c=d(e,["video"]);c!=null&&f(t,["video"],yl(Iy(c)));const m=d(e,["text"]);m!=null&&f(t,["text"],m);const p=d(e,["activityStart"]);p!=null&&f(t,["activityStart"],p);const y=d(e,["activityEnd"]);return y!=null&&f(t,["activityEnd"],y),t}function XA(e){const t={},i=d(e,["media"]);if(i!=null){let g=Cy(i);Array.isArray(g)&&(g=g.map(v=>v)),f(t,["mediaChunks"],g)}const o=d(e,["audio"]);o!=null&&f(t,["audio"],Ry(o));const l=d(e,["audioStreamEnd"]);l!=null&&f(t,["audioStreamEnd"],l);const c=d(e,["video"]);c!=null&&f(t,["video"],Iy(c));const m=d(e,["text"]);m!=null&&f(t,["text"],m);const p=d(e,["activityStart"]);p!=null&&f(t,["activityStart"],p);const y=d(e,["activityEnd"]);return y!=null&&f(t,["activityEnd"],y),t}function QA(e){const t={},i=d(e,["setupComplete"]);i!=null&&f(t,["setupComplete"],i);const o=d(e,["serverContent"]);o!=null&&f(t,["serverContent"],o);const l=d(e,["toolCall"]);l!=null&&f(t,["toolCall"],l);const c=d(e,["toolCallCancellation"]);c!=null&&f(t,["toolCallCancellation"],c);const m=d(e,["usageMetadata"]);m!=null&&f(t,["usageMetadata"],a_(m));const p=d(e,["goAway"]);p!=null&&f(t,["goAway"],p);const y=d(e,["sessionResumptionUpdate"]);y!=null&&f(t,["sessionResumptionUpdate"],y);const g=d(e,["voiceActivityDetectionSignal"]);g!=null&&f(t,["voiceActivityDetectionSignal"],g);const v=d(e,["voiceActivity"]);return v!=null&&f(t,["voiceActivity"],o_(v)),t}function WA(e){const t={},i=d(e,["mediaResolution"]);i!=null&&f(t,["mediaResolution"],i);const o=d(e,["codeExecutionResult"]);o!=null&&f(t,["codeExecutionResult"],o);const l=d(e,["executableCode"]);l!=null&&f(t,["executableCode"],l);const c=d(e,["fileData"]);c!=null&&f(t,["fileData"],UA(c));const m=d(e,["functionCall"]);m!=null&&f(t,["functionCall"],jA(m));const p=d(e,["functionResponse"]);p!=null&&f(t,["functionResponse"],p);const y=d(e,["inlineData"]);y!=null&&f(t,["inlineData"],yl(y));const g=d(e,["text"]);g!=null&&f(t,["text"],g);const v=d(e,["thought"]);v!=null&&f(t,["thought"],v);const b=d(e,["thoughtSignature"]);b!=null&&f(t,["thoughtSignature"],b);const w=d(e,["videoMetadata"]);w!=null&&f(t,["videoMetadata"],w);const T=d(e,["toolCall"]);T!=null&&f(t,["toolCall"],T);const A=d(e,["toolResponse"]);A!=null&&f(t,["toolResponse"],A);const I=d(e,["partMetadata"]);return I!=null&&f(t,["partMetadata"],I),t}function ZA(e){const t={},i=d(e,["mediaResolution"]);i!=null&&f(t,["mediaResolution"],i);const o=d(e,["codeExecutionResult"]);o!=null&&f(t,["codeExecutionResult"],o);const l=d(e,["executableCode"]);l!=null&&f(t,["executableCode"],l);const c=d(e,["fileData"]);c!=null&&f(t,["fileData"],c);const m=d(e,["functionCall"]);m!=null&&f(t,["functionCall"],m);const p=d(e,["functionResponse"]);p!=null&&f(t,["functionResponse"],p);const y=d(e,["inlineData"]);y!=null&&f(t,["inlineData"],y);const g=d(e,["text"]);g!=null&&f(t,["text"],g);const v=d(e,["thought"]);v!=null&&f(t,["thought"],v);const b=d(e,["thoughtSignature"]);b!=null&&f(t,["thoughtSignature"],b);const w=d(e,["videoMetadata"]);if(w!=null&&f(t,["videoMetadata"],w),d(e,["toolCall"])!==void 0)throw new Error("toolCall parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");if(d(e,["toolResponse"])!==void 0)throw new Error("toolResponse parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");if(d(e,["partMetadata"])!==void 0)throw new Error("partMetadata parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return t}function e_(e){const t={},i=d(e,["category"]);if(i!=null&&f(t,["category"],i),d(e,["method"])!==void 0)throw new Error("method parameter is not supported in Gemini API.");const o=d(e,["threshold"]);return o!=null&&f(t,["threshold"],o),t}function t_(e){const t={},i=d(e,["handle"]);if(i!=null&&f(t,["handle"],i),d(e,["transparent"])!==void 0)throw new Error("transparent parameter is not supported in Gemini API.");return t}function n_(e){const t={};if(d(e,["retrieval"])!==void 0)throw new Error("retrieval parameter is not supported in Gemini API.");const i=d(e,["computerUse"]);i!=null&&f(t,["computerUse"],i);const o=d(e,["fileSearch"]);o!=null&&f(t,["fileSearch"],o);const l=d(e,["googleSearch"]);l!=null&&f(t,["googleSearch"],BA(l));const c=d(e,["googleMaps"]);c!=null&&f(t,["googleMaps"],zA(c));const m=d(e,["codeExecution"]);if(m!=null&&f(t,["codeExecution"],m),d(e,["enterpriseWebSearch"])!==void 0)throw new Error("enterpriseWebSearch parameter is not supported in Gemini API.");const p=d(e,["functionDeclarations"]);if(p!=null){let b=p;Array.isArray(b)&&(b=b.map(w=>w)),f(t,["functionDeclarations"],b)}const y=d(e,["googleSearchRetrieval"]);if(y!=null&&f(t,["googleSearchRetrieval"],y),d(e,["parallelAiSearch"])!==void 0)throw new Error("parallelAiSearch parameter is not supported in Gemini API.");
107const g=d(e,["urlContext"]);g!=null&&f(t,["urlContext"],g);const v=d(e,["mcpServers"]);if(v!=null){let b=v;Array.isArray(b)&&(b=b.map(w=>w)),f(t,["mcpServers"],b)}return t}function i_(e){const t={},i=d(e,["retrieval"]);i!=null&&f(t,["retrieval"],i);const o=d(e,["computerUse"]);if(o!=null&&f(t,["computerUse"],o),d(e,["fileSearch"])!==void 0)throw new Error("fileSearch parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");const l=d(e,["googleSearch"]);l!=null&&f(t,["googleSearch"],l);const c=d(e,["googleMaps"]);c!=null&&f(t,["googleMaps"],c);const m=d(e,["codeExecution"]);m!=null&&f(t,["codeExecution"],m);const p=d(e,["enterpriseWebSearch"]);p!=null&&f(t,["enterpriseWebSearch"],p);const y=d(e,["functionDeclarations"]);if(y!=null){let w=y;Array.isArray(w)&&(w=w.map(T=>GA(T))),f(t,["functionDeclarations"],w)}const g=d(e,["googleSearchRetrieval"]);g!=null&&f(t,["googleSearchRetrieval"],g);const v=d(e,["parallelAiSearch"]);v!=null&&f(t,["parallelAiSearch"],v);const b=d(e,["urlContext"]);if(b!=null&&f(t,["urlContext"],b),d(e,["mcpServers"])!==void 0)throw new Error("mcpServers parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return t}function a_(e){const t={},i=d(e,["promptTokenCount"]);i!=null&&f(t,["promptTokenCount"],i);const o=d(e,["cachedContentTokenCount"]);o!=null&&f(t,["cachedContentTokenCount"],o);const l=d(e,["candidatesTokenCount"]);l!=null&&f(t,["responseTokenCount"],l);const c=d(e,["toolUsePromptTokenCount"]);c!=null&&f(t,["toolUsePromptTokenCount"],c);const m=d(e,["thoughtsTokenCount"]);m!=null&&f(t,["thoughtsTokenCount"],m);const p=d(e,["totalTokenCount"]);p!=null&&f(t,["totalTokenCount"],p);const y=d(e,["promptTokensDetails"]);if(y!=null){let T=y;Array.isArray(T)&&(T=T.map(A=>A)),f(t,["promptTokensDetails"],T)}const g=d(e,["cacheTokensDetails"]);if(g!=null){let T=g;Array.isArray(T)&&(T=T.map(A=>A)),f(t,["cacheTokensDetails"],T)}
107const v=d(e,["candidatesTokensDetails"]);if(v!=null){let T=v;Array.isArray(T)&&(T=T.map(A=>A)),f(t,["responseTokensDetails"],T)}const b=d(e,["toolUsePromptTokensDetails"]);if(b!=null){let T=b;Array.isArray(T)&&(T=T.map(A=>A)),f(t,["toolUsePromptTokensDetails"],T)}const w=d(e,["trafficType"]);return w!=null&&f(t,["trafficType"],w),t}function o_(e){const t={},i=d(e,["type"]);return i!=null&&f(t,["voiceActivityType"],i),t}/**
108 * @license
109 * Copyright 2025 Google LLC
110 * SPDX-License-Identifier: Apache-2.0
111 */function s_(e,t){const i={},o=d(e,["apiKey"]);if(o!=null&&f(i,["apiKey"],o),d(e,["apiKeyConfig"])!==void 0)throw new Error("apiKeyConfig parameter is not supported in Gemini API.");if(d(e,["authType"])!==void 0)throw new Error("authType parameter is not supported in Gemini API.");if(d(e,["googleServiceAccountConfig"])!==void 0)throw new Error("googleServiceAccountConfig parameter is not supported in Gemini API.");if(d(e,["httpBasicAuthConfig"])!==void 0)throw new Error("httpBasicAuthConfig parameter is not supported in Gemini API.");if(d(e,["oauthConfig"])!==void 0)throw new Error("oauthConfig parameter is not supported in Gemini API.");if(d(e,["oidcConfig"])!==void 0)throw new Error("oidcConfig parameter is not supported in Gemini API.");return i}function l_(e,t){const i={},o=d(e,["data"]);if(o!=null&&f(i,["data"],o),d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const l=d(e,["mimeType"]);return l!=null&&f(i,["mimeType"],l),i}function r_(e,t){const i={},o=d(e,["content"]);o!=null&&f(i,["content"],o);const l=d(e,["citationMetadata"]);l!=null&&f(i,["citationMetadata"],c_(l));const c=d(e,["tokenCount"]);c!=null&&f(i,["tokenCount"],c);const m=d(e,["finishReason"]);m!=null&&f(i,["finishReason"],m);const p=d(e,["groundingMetadata"]);p!=null&&f(i,["groundingMetadata"],p);const y=d(e,["avgLogprobs"]);y!=null&&f(i,["avgLogprobs"],y);const g=d(e,["index"]);g!=null&&f(i,["index"],g);const v=d(e,["logprobsResult"]);v!=null&&f(i,["logprobsResult"],v);const b=d(e,["safetyRatings"]);if(b!=null){let T=b;Array.isArray(T)&&(T=T.map(A=>A)),f(i,["safetyRatings"],T)}const w=d(e,["urlContextMetadata"]);return w!=null&&f(i,["urlContextMetadata"],w),i}function c_(e,t){const i={},o=d(e,["citationSources"]);if(o!=null){let l=o;Array.isArray(l)&&(l=l.map(c=>c)),f(i,["citations"],l)}return i}function u_(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["contents"]);if(c!=null){let m=wt(c);Array.isArray(m)&&(m=m.map(p=>ka(p))),f(o,["contents"],m)}return o}function d_(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["tokensInfo"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>m)),f(i,["tokensInfo"],c)}return i}function f_(e,t){const i={},o=d(e,["values"]);o!=null&&f(i,["values"],o);const l=d(e,["statistics"]);return l!=null&&f(i,["statistics"],m_(l)),i}function m_(e,t){const i={},o=d(e,["truncated"]);o!=null&&f(i,["truncated"],o);const l=d(e,["token_count"]);return l!=null&&f(i,["tokenCount"],l),i}function qo(e,t){const i={},o=d(e,["parts"]);if(o!=null){let c=o;Array.isArray(c)&&(c=c.map(m=>EN(m))),f(i,["parts"],c)}const l=d(e,["role"]);return l!=null&&f(i,["role"],l),i}function ka(e,t){const i={},o=d(e,["parts"]);if(o!=null){let c=o;Array.isArray(c)&&(c=c.map(m=>TN(m))),f(i,["parts"],c)}const l=d(e,["role"]);return l!=null&&f(i,["role"],l),i}function p_(e,t){const i={},o=d(e,["controlType"]);o!=null&&f(i,["controlType"],o);const l=d(e,["enableControlImageComputation"]);return l!=null&&f(i,["computeControl"],l),i}function h_(e,t){const i={};if(d(e,["systemInstruction"])!==void 0)throw new Error("systemInstruction parameter is not supported in Gemini API.");if(d(e,["tools"])!==void 0)throw new Error("tools parameter is not supported in Gemini API.");if(d(e,["generationConfig"])!==void 0)throw new Error("generationConfig parameter is not supported in Gemini API.");return i}function g_(e,t,i){const o={},l=d(e,["systemInstruction"]);t!==void 0&&l!=null&&f(t,["systemInstruction"],ka(it(l)));const c=d(e,["tools"]);if(t!==void 0&&c!=null){let p=c;Array.isArray(p)&&(p=p.map(y=>qy(y))),f(t,["tools"],p)}const m=d(e,["generationConfig"]);return t!==void 0&&m!=null&&f(t,["generationConfig"],lN(m)),o}function y_(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["contents"]);if(c!=null){let p=wt(c);Array.isArray(p)&&(p=p.map(y=>qo(y))),f(o,["contents"],p)}const m=d(t,["config"]);return m!=null&&h_(m),o}function x_(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["contents"]);if(c!=null){let p=wt(c);Array.isArray(p)&&(p=p.map(y=>ka(y))),f(o,["contents"],p)}const m=d(t,["config"]);return m!=null&&g_(m,o),o}function v_(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["totalTokens"]);l!=null&&f(i,["totalTokens"],l);const c=d(e,["cachedContentTokenCount"]);return c!=null&&f(i,["cachedContentTokenCount"],c),i}function b_(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["totalTokens"]);return l!=null&&f(i,["totalTokens"],l),i}function w_(e,t,i){const o={},l=d(t,["model"]);return l!=null&&f(o,["_url","name"],Ae(e,l)),o}function E_(e,t,i){const o={},l=d(t,["model"]);return l!=null&&f(o,["_url","name"],Ae(e,l)),o}function T_(e,t){const i={},o=d(e,["sdkHttpResponse"]);return o!=null&&f(i,["sdkHttpResponse"],o),i}function S_(e,t){const i={},o=d(e,["sdkHttpResponse"]);return o!=null&&f(i,["sdkHttpResponse"],o),i}function A_(e,t,i){const o={},l=d(e,["outputGcsUri"]);t!==void 0&&l!=null&&f(t,["parameters","storageUri"],l);const c=d(e,["negativePrompt"]);t!==void 0&&c!=null&&f(t,["parameters","negativePrompt"],c);const m=d(e,["numberOfImages"]);
111t!==void 0&&m!=null&&f(t,["parameters","sampleCount"],m);const p=d(e,["aspectRatio"]);t!==void 0&&p!=null&&f(t,["parameters","aspectRatio"],p);const y=d(e,["guidanceScale"]);t!==void 0&&y!=null&&f(t,["parameters","guidanceScale"],y);const g=d(e,["seed"]);t!==void 0&&g!=null&&f(t,["parameters","seed"],g);const v=d(e,["safetyFilterLevel"]);t!==void 0&&v!=null&&f(t,["parameters","safetySetting"],v);const b=d(e,["personGeneration"]);t!==void 0&&b!=null&&f(t,["parameters","personGeneration"],b);const w=d(e,["includeSafetyAttributes"]);t!==void 0&&w!=null&&f(t,["parameters","includeSafetyAttributes"],w);const T=d(e,["includeRaiReason"]);t!==void 0&&T!=null&&f(t,["parameters","includeRaiReason"],T);const A=d(e,["language"]);t!==void 0&&A!=null&&f(t,["parameters","language"],A);const I=d(e,["outputMimeType"]);t!==void 0&&I!=null&&f(t,["parameters","outputOptions","mimeType"],I);const C=d(e,["outputCompressionQuality"]);t!==void 0&&C!=null&&f(t,["parameters","outputOptions","compressionQuality"],C);const N=d(e,["addWatermark"]);t!==void 0&&N!=null&&f(t,["parameters","addWatermark"],N);const R=d(e,["labels"]);t!==void 0&&R!=null&&f(t,["labels"],R);const L=d(e,["editMode"]);t!==void 0&&L!=null&&f(t,["parameters","editMode"],L);const q=d(e,["baseSteps"]);return t!==void 0&&q!=null&&f(t,["parameters","editConfig","baseSteps"],q),o}function __(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["prompt"]);c!=null&&f(o,["instances[0]","prompt"],c);const m=d(t,["referenceImages"]);if(m!=null){let y=m;Array.isArray(y)&&(y=y.map(g=>IN(g))),f(o,["instances[0]","referenceImages"],y)}const p=d(t,["config"]);return p!=null&&A_(p,o),o}function N_(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["predictions"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>jl(m))),f(i,["generatedImages"],c)}return i}function C_(e,t,i){const o={},l=d(e,["taskType"]);t!==void 0&&l!=null&&f(t,["requests[]","taskType"],l);const c=d(e,["title"]);t!==void 0&&c!=null&&f(t,["requests[]","title"],c);const m=d(e,["outputDimensionality"]);if(t!==void 0&&m!=null&&f(t,["requests[]","outputDimensionality"],m),d(e,["mimeType"])!==void 0)throw new Error("mimeType parameter is not supported in Gemini API.");if(d(e,["autoTruncate"])!==void 0)throw new Error("autoTruncate parameter is not supported in Gemini API.");if(d(e,["documentOcr"])!==void 0)throw new Error("documentOcr parameter is not supported in Gemini API.");if(d(e,["audioTrackExtraction"])!==void 0)throw new Error("audioTrackExtraction parameter is not supported in Gemini API.");return o}function I_(e,t,i){const o={};let l=d(i,["embeddingApiType"]);if(l===void 0&&(l="PREDICT"),l==="PREDICT"){const b=d(e,["taskType"]);t!==void 0&&b!=null&&f(t,["instances[]","task_type"],b)}else if(l==="EMBED_CONTENT"){const b=d(e,["taskType"]);t!==void 0&&b!=null&&f(t,["embedContentConfig","taskType"],b)}let c=d(i,["embeddingApiType"]);if(c===void 0&&(c="PREDICT"),c==="PREDICT"){const b=d(e,["title"]);t!==void 0&&b!=null&&f(t,["instances[]","title"],b)}else if(c==="EMBED_CONTENT"){const b=d(e,["title"]);t!==void 0&&b!=null&&f(t,["embedContentConfig","title"],b)}let m=d(i,["embeddingApiType"]);if(m===void 0&&(m="PREDICT"),m==="PREDICT"){const b=d(e,["outputDimensionality"]);t!==void 0&&b!=null&&f(t,["parameters","outputDimensionality"],b)}else if(m==="EMBED_CONTENT"){const b=d(e,["outputDimensionality"]);t!==void 0&&b!=null&&f(t,["embedContentConfig","outputDimensionality"],b)}let p=d(i,["embeddingApiType"]);if(p===void 0&&(p="PREDICT"),p==="PREDICT"){const b=d(e,["mimeType"]);t!==void 0&&b!=null&&f(t,["instances[]","mimeType"],b)}let y=d(i,["embeddingApiType"]);if(y===void 0&&(y="PREDICT"),y==="PREDICT"){const b=d(e,["autoTruncate"]);t!==void 0&&b!=null&&f(t,["parameters","autoTruncate"],b)}else if(y==="EMBED_CONTENT"){const b=d(e,["autoTruncate"]);t!==void 0&&b!=null&&f(t,["embedContentConfig","autoTruncate"],b)}let g=d(i,["embeddingApiType"]);if(g===void 0&&(g="PREDICT"),g==="EMBED_CONTENT"){const b=d(e,["documentOcr"]);t!==void 0&&b!=null&&f(t,["embedContentConfig","documentOcr"],b)}let v=d(i,["embeddingApiType"]);if(v===void 0&&(v="PREDICT"),v==="EMBED_CONTENT"){const b=d(e,["audioTrackExtraction"]);t!==void 0&&b!=null&&f(t,["embedContentConfig","audioTrackExtraction"],b)}return o}function R_(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["contents"]);if(c!=null){let g=nd(e,c);Array.isArray(g)&&(g=g.map(v=>v)),f(o,["requests[]","content"],g)}const m=d(t,["content"]);m!=null&&qo(it(m));const p=d(t,["config"]);p!=null&&C_(p,o);const y=d(t,["model"]);return y!==void 0&&f(o,["requests[]","model"],Ae(e,y)),o}function M_(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));let c=d(i,["embeddingApiType"]);if(c===void 0&&(c="PREDICT"),c==="PREDICT"){const y=d(t,["contents"]);if(y!=null){let g=nd(e,y);Array.isArray(g)&&(g=g.map(v=>v)),f(o,["instances[]","content"],g)}}let m=d(i,["embeddingApiType"]);if(m===void 0&&(m="PREDICT"),m==="EMBED_CONTENT"){const y=d(t,["content"]);y!=null&&f(o,["content"],ka(it(y)))}const p=d(t,["config"]);return p!=null&&I_(p,o,i),o}function D_(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["embeddings"]);if(l!=null){let m=l;Array.isArray(m)&&(m=m.map(p=>p)),f(i,["embeddings"],m)}const c=d(e,["metadata"]);return c!=null&&f(i,["metadata"],c),i}function k_(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["predictions[]","embeddings"]);if(l!=null){let m=l;Array.isArray(m)&&(m=m.map(p=>f_(p))),f(i,["embeddings"],m)}const c=d(e,["metadata"]);if(c!=null&&f(i,["metadata"],c),t&&d(t,["embeddingApiType"])==="EMBED_CONTENT"){const m=d(e,["embedding"]),p=d(e,["usageMetadata"]),y=d(e,["truncated"]);if(m){const g={};p&&p.promptTokenCount&&(g.tokenCount=p.promptTokenCount),y&&(g.truncated=y),m.statistics=g,f(i,["embeddings"],[m])}}return i}function L_(e,t){const i={},o=d(e,["endpoint"]);o!=null&&f(i,["name"],o);const l=d(e,["deployedModelId"]);return l!=null&&f(i,["deployedModelId"],l),i}function P_(e,t){const i={};if(d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const o=d(e,["fileUri"]);o!=null&&f(i,["fileUri"],o);const l=d(e,["mimeType"]);return l!=null&&f(i,["mimeType"],l),i}function H_(e,t){const i={},o=d(e,["id"]);o!=null&&f(i,["id"],o);const l=d(e,["args"]);l!=null&&f(i,["args"],l);const c=d(e,["name"]);if(c!=null&&f(i,["name"],c),d(e,["partialArgs"])!==void 0)throw new Error("partialArgs parameter is not supported in Gemini API.");
111if(d(e,["willContinue"])!==void 0)throw new Error("willContinue parameter is not supported in Gemini API.");return i}function U_(e,t){const i={},o=d(e,["allowedFunctionNames"]);o!=null&&f(i,["allowedFunctionNames"],o);const l=d(e,["mode"]);if(l!=null&&f(i,["mode"],l),d(e,["streamFunctionCallArguments"])!==void 0)throw new Error("streamFunctionCallArguments parameter is not supported in Gemini API.");return i}function j_(e,t){const i={},o=d(e,["description"]);o!=null&&f(i,["description"],o);const l=d(e,["name"]);l!=null&&f(i,["name"],l);const c=d(e,["parameters"]);c!=null&&f(i,["parameters"],c);const m=d(e,["parametersJsonSchema"]);m!=null&&f(i,["parametersJsonSchema"],m);const p=d(e,["response"]);p!=null&&f(i,["response"],p);const y=d(e,["responseJsonSchema"]);if(y!=null&&f(i,["responseJsonSchema"],y),d(e,["behavior"])!==void 0)throw new Error("behavior parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return i}function G_(e,t,i,o){const l={},c=d(t,["systemInstruction"]);i!==void 0&&c!=null&&f(i,["systemInstruction"],qo(it(c)));const m=d(t,["temperature"]);m!=null&&f(l,["temperature"],m);const p=d(t,["topP"]);p!=null&&f(l,["topP"],p);const y=d(t,["topK"]);y!=null&&f(l,["topK"],y);const g=d(t,["candidateCount"]);g!=null&&f(l,["candidateCount"],g);const v=d(t,["maxOutputTokens"]);v!=null&&f(l,["maxOutputTokens"],v);const b=d(t,["stopSequences"]);b!=null&&f(l,["stopSequences"],b);const w=d(t,["responseLogprobs"]);w!=null&&f(l,["responseLogprobs"],w);const T=d(t,["logprobs"]);T!=null&&f(l,["logprobs"],T);const A=d(t,["presencePenalty"]);A!=null&&f(l,["presencePenalty"],A);const I=d(t,["frequencyPenalty"]);I!=null&&f(l,["frequencyPenalty"],I);const C=d(t,["seed"]);C!=null&&f(l,["seed"],C);const N=d(t,["responseMimeType"]);N!=null&&f(l,["responseMimeType"],N);const R=d(t,["responseSchema"]);R!=null&&f(l,["responseSchema"],id(R));const L=d(t,["responseJsonSchema"]);if(L!=null&&f(l,["responseJsonSchema"],L),d(t,["routingConfig"])!==void 0)throw new Error("routingConfig parameter is not supported in Gemini API.");if(d(t,["modelSelectionConfig"])!==void 0)throw new Error("modelSelectionConfig parameter is not supported in Gemini API.");const q=d(t,["safetySettings"]);if(i!==void 0&&q!=null){let se=q;Array.isArray(se)&&(se=se.map(z=>RN(z))),f(i,["safetySettings"],se)}const Y=d(t,["tools"]);if(i!==void 0&&Y!=null){let se=Ma(Y);Array.isArray(se)&&(se=se.map(z=>jN(Ra(z)))),f(i,["tools"],se)}const P=d(t,["toolConfig"]);if(i!==void 0&&P!=null&&f(i,["toolConfig"],HN(P)),d(t,["labels"])!==void 0)throw new Error("labels parameter is not supported in Gemini API.");const O=d(t,["cachedContent"]);i!==void 0&&O!=null&&f(i,["cachedContent"],Pn(e,O));const F=d(t,["responseModalities"]);F!=null&&f(l,["responseModalities"],F);const $=d(t,["mediaResolution"]);$!=null&&f(l,["mediaResolution"],$);const ee=d(t,["speechConfig"]);if(ee!=null&&f(l,["speechConfig"],ad(ee)),d(t,["audioTimestamp"])!==void 0)throw new Error("audioTimestamp parameter is not supported in Gemini API.");const ce=d(t,["thinkingConfig"]);ce!=null&&f(l,["thinkingConfig"],ce);const Z=d(t,["imageConfig"]);Z!=null&&f(l,["imageConfig"],fN(Z));const de=d(t,["enableEnhancedCivicAnswers"]);if(de!=null&&f(l,["enableEnhancedCivicAnswers"],de),d(t,["modelArmorConfig"])!==void 0)throw new Error("modelArmorConfig parameter is not supported in Gemini API.");const ue=d(t,["serviceTier"]);return i!==void 0&&ue!=null&&f(i,["serviceTier"],ue),l}function V_(e,t,i,o){const l={},c=d(t,["systemInstruction"]);i!==void 0&&c!=null&&f(i,["systemInstruction"],ka(it(c)));const m=d(t,["temperature"]);m!=null&&f(l,["temperature"],m);const p=d(t,["topP"]);p!=null&&f(l,["topP"],p);const y=d(t,["topK"]);y!=null&&f(l,["topK"],y);const g=d(t,["candidateCount"]);g!=null&&f(l,["candidateCount"],g);const v=d(t,["maxOutputTokens"]);v!=null&&f(l,["maxOutputTokens"],v);const b=d(t,["stopSequences"]);b!=null&&f(l,["stopSequences"],b);const w=d(t,["responseLogprobs"]);w!=null&&f(l,["responseLogprobs"],w);const T=d(t,["logprobs"]);T!=null&&f(l,["logprobs"],T);const A=d(t,["presencePenalty"]);A!=null&&f(l,["presencePenalty"],A);const I=d(t,["frequencyPenalty"]);I!=null&&f(l,["frequencyPenalty"],I);const C=d(t,["seed"]);C!=null&&f(l,["seed"],C);const N=d(t,["responseMimeType"]);N!=null&&f(l,["responseMimeType"],N);const R=d(t,["responseSchema"]);R!=null&&f(l,["responseSchema"],id(R));const L=d(t,["responseJsonSchema"]);L!=null&&f(l,["responseJsonSchema"],L);const q=d(t,["routingConfig"]);q!=null&&f(l,["routingConfig"],q);const Y=d(t,["modelSelectionConfig"]);Y!=null&&f(l,["modelConfig"],Y);const P=d(t,["safetySettings"]);if(i!==void 0&&P!=null){let ae=P;Array.isArray(ae)&&(ae=ae.map(le=>le)),f(i,["safetySettings"],ae)}const O=d(t,["tools"]);if(i!==void 0&&O!=null){let ae=Ma(O);Array.isArray(ae)&&(ae=ae.map(le=>qy(Ra(le)))),f(i,["tools"],ae)}const F=d(t,["toolConfig"]);i!==void 0&&F!=null&&f(i,["toolConfig"],UN(F));const $=d(t,["labels"]);i!==void 0&&$!=null&&f(i,["labels"],$);const ee=d(t,["cachedContent"]);i!==void 0&&ee!=null&&f(i,["cachedContent"],Pn(e,ee));const ce=d(t,["responseModalities"]);ce!=null&&f(l,["responseModalities"],ce);const Z=d(t,["mediaResolution"]);Z!=null&&f(l,["mediaResolution"],Z);const de=d(t,["speechConfig"]);de!=null&&f(l,["speechConfig"],ad(de));const ue=d(t,["audioTimestamp"]);ue!=null&&f(l,["audioTimestamp"],ue);const se=d(t,["thinkingConfig"]);se!=null&&f(l,["thinkingConfig"],se);const z=d(t,["imageConfig"]);if(z!=null&&f(l,["imageConfig"],mN(z)),d(t,["enableEnhancedCivicAnswers"])!==void 0)throw new Error("enableEnhancedCivicAnswers parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");const V=d(t,["modelArmorConfig"]);i!==void 0&&V!=null&&f(i,["modelArmorConfig"],V);const K=d(t,["serviceTier"]);return i!==void 0&&K!=null&&f(i,["serviceTier"],K),l}function ug(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["contents"]);if(c!=null){let p=wt(c);Array.isArray(p)&&(p=p.map(y=>qo(y))),f(o,["contents"],p)}const m=d(t,["config"]);return m!=null&&f(o,["generationConfig"],G_(e,m,o)),o}function dg(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["contents"]);if(c!=null){let p=wt(c);Array.isArray(p)&&(p=p.map(y=>ka(y))),f(o,["contents"],p)}const m=d(t,["config"]);return m!=null&&f(o,["generationConfig"],V_(e,m,o)),o}function fg(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["candidates"]);if(l!=null){let v=l;Array.isArray(v)&&(v=v.map(b=>r_(b))),f(i,["candidates"],v)}const c=d(e,["modelVersion"]);c!=null&&f(i,["modelVersion"],c);const m=d(e,["promptFeedback"]);m!=null&&f(i,["promptFeedback"],m);const p=d(e,["responseId"]);p!=null&&f(i,["responseId"],p);const y=d(e,["usageMetadata"]);y!=null&&f(i,["usageMetadata"],y);const g=d(e,["modelStatus"]);return g!=null&&f(i,["modelStatus"],g),i}function mg(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["candidates"]);if(l!=null){let v=l;Array.isArray(v)&&(v=v.map(b=>b)),f(i,["candidates"],v)}const c=d(e,["createTime"]);c!=null&&f(i,["createTime"],c);const m=d(e,["modelVersion"]);m!=null&&f(i,["modelVersion"],m);const p=d(e,["promptFeedback"]);p!=null&&f(i,["promptFeedback"],p);const y=d(e,["responseId"]);y!=null&&f(i,["responseId"],y);const g=d(e,["usageMetadata"]);return g!=null&&f(i,["usageMetadata"],g),i}function z_(e,t,i){const o={};if(d(e,["outputGcsUri"])!==void 0)throw new Error("outputGcsUri parameter is not supported in Gemini API.");if(d(e,["negativePrompt"])!==void 0)throw new Error("negativePrompt parameter is not supported in Gemini API.");const l=d(e,["numberOfImages"]);
111t!==void 0&&l!=null&&f(t,["parameters","sampleCount"],l);const c=d(e,["aspectRatio"]);t!==void 0&&c!=null&&f(t,["parameters","aspectRatio"],c);const m=d(e,["guidanceScale"]);if(t!==void 0&&m!=null&&f(t,["parameters","guidanceScale"],m),d(e,["seed"])!==void 0)throw new Error("seed parameter is not supported in Gemini API.");const p=d(e,["safetyFilterLevel"]);t!==void 0&&p!=null&&f(t,["parameters","safetySetting"],p);const y=d(e,["personGeneration"]);t!==void 0&&y!=null&&f(t,["parameters","personGeneration"],y);const g=d(e,["includeSafetyAttributes"]);t!==void 0&&g!=null&&f(t,["parameters","includeSafetyAttributes"],g);const v=d(e,["includeRaiReason"]);t!==void 0&&v!=null&&f(t,["parameters","includeRaiReason"],v);const b=d(e,["language"]);t!==void 0&&b!=null&&f(t,["parameters","language"],b);const w=d(e,["outputMimeType"]);t!==void 0&&w!=null&&f(t,["parameters","outputOptions","mimeType"],w);const T=d(e,["outputCompressionQuality"]);if(t!==void 0&&T!=null&&f(t,["parameters","outputOptions","compressionQuality"],T),d(e,["addWatermark"])!==void 0)throw new Error("addWatermark parameter is not supported in Gemini API.");if(d(e,["labels"])!==void 0)throw new Error("labels parameter is not supported in Gemini API.");const A=d(e,["imageSize"]);if(t!==void 0&&A!=null&&f(t,["parameters","sampleImageSize"],A),d(e,["enhancePrompt"])!==void 0)throw new Error("enhancePrompt parameter is not supported in Gemini API.");return o}function B_(e,t,i){const o={},l=d(e,["outputGcsUri"]);t!==void 0&&l!=null&&f(t,["parameters","storageUri"],l);const c=d(e,["negativePrompt"]);t!==void 0&&c!=null&&f(t,["parameters","negativePrompt"],c);const m=d(e,["numberOfImages"]);t!==void 0&&m!=null&&f(t,["parameters","sampleCount"],m);const p=d(e,["aspectRatio"]);t!==void 0&&p!=null&&f(t,["parameters","aspectRatio"],p);const y=d(e,["guidanceScale"]);t!==void 0&&y!=null&&f(t,["parameters","guidanceScale"],y);const g=d(e,["seed"]);t!==void 0&&g!=null&&f(t,["parameters","seed"],g);const v=d(e,["safetyFilterLevel"]);t!==void 0&&v!=null&&f(t,["parameters","safetySetting"],v);const b=d(e,["personGeneration"]);t!==void 0&&b!=null&&f(t,["parameters","personGeneration"],b);const w=d(e,["includeSafetyAttributes"]);t!==void 0&&w!=null&&f(t,["parameters","includeSafetyAttributes"],w);const T=d(e,["includeRaiReason"]);t!==void 0&&T!=null&&f(t,["parameters","includeRaiReason"],T);const A=d(e,["language"]);t!==void 0&&A!=null&&f(t,["parameters","language"],A);const I=d(e,["outputMimeType"]);t!==void 0&&I!=null&&f(t,["parameters","outputOptions","mimeType"],I);const C=d(e,["outputCompressionQuality"]);t!==void 0&&C!=null&&f(t,["parameters","outputOptions","compressionQuality"],C);const N=d(e,["addWatermark"]);t!==void 0&&N!=null&&f(t,["parameters","addWatermark"],N);const R=d(e,["labels"]);t!==void 0&&R!=null&&f(t,["labels"],R);const L=d(e,["imageSize"]);t!==void 0&&L!=null&&f(t,["parameters","sampleImageSize"],L);const q=d(e,["enhancePrompt"]);return t!==void 0&&q!=null&&f(t,["parameters","enhancePrompt"],q),o}function O_(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["prompt"]);c!=null&&f(o,["instances[0]","prompt"],c);const m=d(t,["config"]);return m!=null&&z_(m,o),o}function q_(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["prompt"]);c!=null&&f(o,["instances[0]","prompt"],c);const m=d(t,["config"]);return m!=null&&B_(m,o),o}function F_(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["predictions"]);if(l!=null){let m=l;Array.isArray(m)&&(m=m.map(p=>iN(p))),f(i,["generatedImages"],m)}const c=d(e,["positivePromptSafetyAttributes"]);return c!=null&&f(i,["positivePromptSafetyAttributes"],By(c)),i}function $_(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["predictions"]);if(l!=null){let m=l;Array.isArray(m)&&(m=m.map(p=>jl(p))),f(i,["generatedImages"],m)}const c=d(e,["positivePromptSafetyAttributes"]);return c!=null&&f(i,["positivePromptSafetyAttributes"],Oy(c)),i}function Y_(e,t,i){const o={},l=d(e,["numberOfVideos"]);
111if(t!==void 0&&l!=null&&f(t,["parameters","sampleCount"],l),d(e,["outputGcsUri"])!==void 0)throw new Error("outputGcsUri parameter is not supported in Gemini API.");if(d(e,["fps"])!==void 0)throw new Error("fps parameter is not supported in Gemini API.");const c=d(e,["durationSeconds"]);if(t!==void 0&&c!=null&&f(t,["parameters","durationSeconds"],c),d(e,["seed"])!==void 0)throw new Error("seed parameter is not supported in Gemini API.");const m=d(e,["aspectRatio"]);t!==void 0&&m!=null&&f(t,["parameters","aspectRatio"],m);const p=d(e,["resolution"]);t!==void 0&&p!=null&&f(t,["parameters","resolution"],p);const y=d(e,["personGeneration"]);if(t!==void 0&&y!=null&&f(t,["parameters","personGeneration"],y),d(e,["pubsubTopic"])!==void 0)throw new Error("pubsubTopic parameter is not supported in Gemini API.");const g=d(e,["negativePrompt"]);t!==void 0&&g!=null&&f(t,["parameters","negativePrompt"],g);const v=d(e,["enhancePrompt"]);if(t!==void 0&&v!=null&&f(t,["parameters","enhancePrompt"],v),d(e,["generateAudio"])!==void 0)throw new Error("generateAudio parameter is not supported in Gemini API.");const b=d(e,["lastFrame"]);t!==void 0&&b!=null&&f(t,["instances[0]","lastFrame"],Gl(b));const w=d(e,["referenceImages"]);if(t!==void 0&&w!=null){let A=w;Array.isArray(A)&&(A=A.map(I=>QN(I))),f(t,["instances[0]","referenceImages"],A)}if(d(e,["mask"])!==void 0)throw new Error("mask parameter is not supported in Gemini API.");if(d(e,["compressionQuality"])!==void 0)throw new Error("compressionQuality parameter is not supported in Gemini API.");if(d(e,["labels"])!==void 0)throw new Error("labels parameter is not supported in Gemini API.");const T=d(e,["webhookConfig"]);if(t!==void 0&&T!=null&&f(t,["webhookConfig"],T),d(e,["resizeMode"])!==void 0)throw new Error("resizeMode parameter is not supported in Gemini API.");return o}function J_(e,t,i){const o={},l=d(e,["numberOfVideos"]);t!==void 0&&l!=null&&f(t,["parameters","sampleCount"],l);const c=d(e,["outputGcsUri"]);t!==void 0&&c!=null&&f(t,["parameters","storageUri"],c);const m=d(e,["fps"]);t!==void 0&&m!=null&&f(t,["parameters","fps"],m);const p=d(e,["durationSeconds"]);t!==void 0&&p!=null&&f(t,["parameters","durationSeconds"],p);const y=d(e,["seed"]);t!==void 0&&y!=null&&f(t,["parameters","seed"],y);const g=d(e,["aspectRatio"]);t!==void 0&&g!=null&&f(t,["parameters","aspectRatio"],g);const v=d(e,["resolution"]);t!==void 0&&v!=null&&f(t,["parameters","resolution"],v);const b=d(e,["personGeneration"]);t!==void 0&&b!=null&&f(t,["parameters","personGeneration"],b);const w=d(e,["pubsubTopic"]);t!==void 0&&w!=null&&f(t,["parameters","pubsubTopic"],w);const T=d(e,["negativePrompt"]);t!==void 0&&T!=null&&f(t,["parameters","negativePrompt"],T);const A=d(e,["enhancePrompt"]);t!==void 0&&A!=null&&f(t,["parameters","enhancePrompt"],A);const I=d(e,["generateAudio"]);t!==void 0&&I!=null&&f(t,["parameters","generateAudio"],I);const C=d(e,["lastFrame"]);t!==void 0&&C!=null&&f(t,["instances[0]","lastFrame"],on(C));const N=d(e,["referenceImages"]);if(t!==void 0&&N!=null){let P=N;Array.isArray(P)&&(P=P.map(O=>WN(O))),f(t,["instances[0]","referenceImages"],P)}const R=d(e,["mask"]);t!==void 0&&R!=null&&f(t,["instances[0]","mask"],XN(R));const L=d(e,["compressionQuality"]);t!==void 0&&L!=null&&f(t,["parameters","compressionQuality"],L);const q=d(e,["labels"]);if(t!==void 0&&q!=null&&f(t,["labels"],q),d(e,["webhookConfig"])!==void 0)throw new Error("webhookConfig parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");const Y=d(e,["resizeMode"]);return t!==void 0&&Y!=null&&f(t,["parameters","resizeMode"],Y),o}function K_(e,t){const i={},o=d(e,["name"]);o!=null&&f(i,["name"],o);const l=d(e,["metadata"]);l!=null&&f(i,["metadata"],l);const c=d(e,["done"]);c!=null&&f(i,["done"],c);const m=d(e,["error"]);m!=null&&f(i,["error"],m);const p=d(e,["response","generateVideoResponse"]);return p!=null&&f(i,["response"],Z_(p)),i}function X_(e,t){const i={},o=d(e,["name"]);o!=null&&f(i,["name"],o);const l=d(e,["metadata"]);l!=null&&f(i,["metadata"],l);const c=d(e,["done"]);c!=null&&f(i,["done"],c);const m=d(e,["error"]);m!=null&&f(i,["error"],m);const p=d(e,["response"]);return p!=null&&f(i,["response"],eN(p)),i}function Q_(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["prompt"]);c!=null&&f(o,["instances[0]","prompt"],c);const m=d(t,["image"]);m!=null&&f(o,["instances[0]","image"],Gl(m));const p=d(t,["video"]);p!=null&&f(o,["instances[0]","video"],Fy(p));const y=d(t,["source"]);y!=null&&tN(y,o);const g=d(t,["config"]);return g!=null&&Y_(g,o),o}function W_(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["prompt"]);c!=null&&f(o,["instances[0]","prompt"],c);const m=d(t,["image"]);m!=null&&f(o,["instances[0]","image"],on(m));const p=d(t,["video"]);p!=null&&f(o,["instances[0]","video"],$y(p));const y=d(t,["source"]);y!=null&&nN(y,o);const g=d(t,["config"]);return g!=null&&J_(g,o),o}function Z_(e,t){const i={},o=d(e,["generatedSamples"]);if(o!=null){let m=o;Array.isArray(m)&&(m=m.map(p=>
111oN(p))),f(i,["generatedVideos"],m)}const l=d(e,["raiMediaFilteredCount"]);l!=null&&f(i,["raiMediaFilteredCount"],l);const c=d(e,["raiMediaFilteredReasons"]);return c!=null&&f(i,["raiMediaFilteredReasons"],c),i}function eN(e,t){const i={},o=d(e,["videos"]);if(o!=null){let m=o;Array.isArray(m)&&(m=m.map(p=>sN(p))),f(i,["generatedVideos"],m)}const l=d(e,["raiMediaFilteredCount"]);l!=null&&f(i,["raiMediaFilteredCount"],l);const c=d(e,["raiMediaFilteredReasons"]);return c!=null&&f(i,["raiMediaFilteredReasons"],c),i}function tN(e,t,i){const o={},l=d(e,["prompt"]);t!==void 0&&l!=null&&f(t,["instances[0]","prompt"],l);const c=d(e,["image"]);t!==void 0&&c!=null&&f(t,["instances[0]","image"],Gl(c));const m=d(e,["video"]);return t!==void 0&&m!=null&&f(t,["instances[0]","video"],Fy(m)),o}function nN(e,t,i){const o={},l=d(e,["prompt"]);t!==void 0&&l!=null&&f(t,["instances[0]","prompt"],l);const c=d(e,["image"]);t!==void 0&&c!=null&&f(t,["instances[0]","image"],on(c));const m=d(e,["video"]);return t!==void 0&&m!=null&&f(t,["instances[0]","video"],$y(m)),o}function iN(e,t){const i={},o=d(e,["_self"]);o!=null&&f(i,["image"],pN(o));const l=d(e,["raiFilteredReason"]);l!=null&&f(i,["raiFilteredReason"],l);const c=d(e,["_self"]);return c!=null&&f(i,["safetyAttributes"],By(c)),i}function jl(e,t){const i={},o=d(e,["_self"]);o!=null&&f(i,["image"],zy(o));const l=d(e,["raiFilteredReason"]);l!=null&&f(i,["raiFilteredReason"],l);const c=d(e,["_self"]);c!=null&&f(i,["safetyAttributes"],Oy(c));const m=d(e,["prompt"]);return m!=null&&f(i,["enhancedPrompt"],m),i}function aN(e,t){const i={},o=d(e,["_self"]);o!=null&&f(i,["mask"],zy(o));const l=d(e,["labels"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>m)),f(i,["labels"],c)}return i}function oN(e,t){const i={},o=d(e,["video"]);return o!=null&&f(i,["video"],JN(o)),i}function sN(e,t){const i={},o=d(e,["_self"]);return o!=null&&f(i,["video"],KN(o)),i}function lN(e,t){const i={},o=d(e,["modelSelectionConfig"]);o!=null&&f(i,["modelConfig"],o);const l=d(e,["responseJsonSchema"]);l!=null&&f(i,["responseJsonSchema"],l);const c=d(e,["audioTimestamp"]);c!=null&&f(i,["audioTimestamp"],c);const m=d(e,["candidateCount"]);m!=null&&f(i,["candidateCount"],m);const p=d(e,["enableAffectiveDialog"]);p!=null&&f(i,["enableAffectiveDialog"],p);const y=d(e,["frequencyPenalty"]);y!=null&&f(i,["frequencyPenalty"],y);const g=d(e,["logprobs"]);g!=null&&f(i,["logprobs"],g);const v=d(e,["maxOutputTokens"]);v!=null&&f(i,["maxOutputTokens"],v);const b=d(e,["mediaResolution"]);b!=null&&f(i,["mediaResolution"],b);const w=d(e,["presencePenalty"]);w!=null&&f(i,["presencePenalty"],w);const T=d(e,["responseLogprobs"]);T!=null&&f(i,["responseLogprobs"],T);const A=d(e,["responseMimeType"]);A!=null&&f(i,["responseMimeType"],A);const I=d(e,["responseModalities"]);I!=null&&f(i,["responseModalities"],I);const C=d(e,["responseSchema"]);C!=null&&f(i,["responseSchema"],C);const N=d(e,["routingConfig"]);N!=null&&f(i,["routingConfig"],N);const R=d(e,["seed"]);R!=null&&f(i,["seed"],R);const L=d(e,["speechConfig"]);L!=null&&f(i,["speechConfig"],L);const q=d(e,["stopSequences"]);q!=null&&f(i,["stopSequences"],q);const Y=d(e,["temperature"]);Y!=null&&f(i,["temperature"],Y);const P=d(e,["thinkingConfig"]);P!=null&&f(i,["thinkingConfig"],P);const O=d(e,["topK"]);O!=null&&f(i,["topK"],O);const F=d(e,["topP"]);if(F!=null&&f(i,["topP"],F),d(e,["enableEnhancedCivicAnswers"])!==void 0)throw new Error("enableEnhancedCivicAnswers parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return i}function rN(e,t,i){const o={},l=d(t,["model"]);return l!=null&&f(o,["_url","name"],Ae(e,l)),o}function cN(e,t,i){const o={},l=d(t,["model"]);return l!=null&&f(o,["_url","name"],Ae(e,l)),o}function uN(e,t){const i={},o=d(e,["authConfig"]);o!=null&&f(i,["authConfig"],s_(o));const l=d(e,["enableWidget"]);return l!=null&&f(i,["enableWidget"],l),i}function dN(e,t){const i={},o=d(e,["searchTypes"]);if(o!=null&&f(i,["searchTypes"],o),d(e,["blockingConfidence"])!==void 0)throw new Error("blockingConfidence parameter is not supported in Gemini API.");if(d(e,["excludeDomains"])!==void 0)throw new Error("excludeDomains parameter is not supported in Gemini API.");const l=d(e,["timeRangeFilter"]);return l!=null&&f(i,["timeRangeFilter"],l),i}function fN(e,t){const i={},o=d(e,["aspectRatio"]);o!=null&&f(i,["aspectRatio"],o);const l=d(e,["imageSize"]);if(l!=null&&f(i,["imageSize"],l),d(e,["personGeneration"])!==void 0)throw new Error("personGeneration parameter is not supported in Gemini API.");if(d(e,["prominentPeople"])!==void 0)throw new Error("prominentPeople parameter is not supported in Gemini API.");if(d(e,["outputMimeType"])!==void 0)throw new Error("outputMimeType parameter is not supported in Gemini API.");if(d(e,["outputCompressionQuality"])!==void 0)throw new Error("outputCompressionQuality parameter is not supported in Gemini API.");if(d(e,["imageOutputOptions"])!==void 0)throw new Error("imageOutputOptions parameter is not supported in Gemini API.");return i}function mN(e,t){const i={},o=d(e,["aspectRatio"]);o!=null&&f(i,["aspectRatio"],o);const l=d(e,["imageSize"]);l!=null&&f(i,["imageSize"],l);const c=d(e,["personGeneration"]);c!=null&&f(i,["personGeneration"],c);const m=d(e,["prominentPeople"]);m!=null&&f(i,["prominentPeople"],m);const p=d(e,["outputMimeType"]);p!=null&&f(i,["imageOutputOptions","mimeType"],p);const y=d(e,["outputCompressionQuality"]);y!=null&&f(i,["imageOutputOptions","compressionQuality"],y);const g=d(e,["imageOutputOptions"]);return g!=null&&f(i,["imageOutputOptions"],g),i}function pN(e,t){const i={}
111,o=d(e,["bytesBase64Encoded"]);o!=null&&f(i,["imageBytes"],ui(o));const l=d(e,["mimeType"]);return l!=null&&f(i,["mimeType"],l),i}function zy(e,t){const i={},o=d(e,["gcsUri"]);o!=null&&f(i,["gcsUri"],o);const l=d(e,["bytesBase64Encoded"]);l!=null&&f(i,["imageBytes"],ui(l));const c=d(e,["mimeType"]);return c!=null&&f(i,["mimeType"],c),i}function Gl(e,t){const i={};if(d(e,["gcsUri"])!==void 0)throw new Error("gcsUri parameter is not supported in Gemini API.");const o=d(e,["imageBytes"]);o!=null&&f(i,["bytesBase64Encoded"],ui(o));const l=d(e,["mimeType"]);return l!=null&&f(i,["mimeType"],l),i}function on(e,t){const i={},o=d(e,["gcsUri"]);o!=null&&f(i,["gcsUri"],o);const l=d(e,["imageBytes"]);l!=null&&f(i,["bytesBase64Encoded"],ui(l));const c=d(e,["mimeType"]);return c!=null&&f(i,["mimeType"],c),i}function hN(e,t,i,o){const l={},c=d(t,["pageSize"]);i!==void 0&&c!=null&&f(i,["_query","pageSize"],c);const m=d(t,["pageToken"]);i!==void 0&&m!=null&&f(i,["_query","pageToken"],m);const p=d(t,["filter"]);i!==void 0&&p!=null&&f(i,["_query","filter"],p);const y=d(t,["queryBase"]);return i!==void 0&&y!=null&&f(i,["_url","models_url"],Ly(e,y)),l}function gN(e,t,i,o){const l={},c=d(t,["pageSize"]);i!==void 0&&c!=null&&f(i,["_query","pageSize"],c);const m=d(t,["pageToken"]);i!==void 0&&m!=null&&f(i,["_query","pageToken"],m);const p=d(t,["filter"]);i!==void 0&&p!=null&&f(i,["_query","filter"],p);const y=d(t,["queryBase"]);return i!==void 0&&y!=null&&f(i,["_url","models_url"],Ly(e,y)),l}function yN(e,t,i){const o={},l=d(t,["config"]);return l!=null&&hN(e,l,o),o}function xN(e,t,i){const o={},l=d(t,["config"]);return l!=null&&gN(e,l,o),o}function vN(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["nextPageToken"]);l!=null&&f(i,["nextPageToken"],l);const c=d(e,["_self"]);if(c!=null){let m=Py(c);Array.isArray(m)&&(m=m.map(p=>Iu(p))),f(i,["models"],m)}return i}function bN(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["nextPageToken"]);l!=null&&f(i,["nextPageToken"],l);const c=d(e,["_self"]);if(c!=null){let m=Py(c);Array.isArray(m)&&(m=m.map(p=>Ru(p))),f(i,["models"],m)}return i}function wN(e,t){const i={},o=d(e,["maskMode"]);o!=null&&f(i,["maskMode"],o);const l=d(e,["segmentationClasses"]);l!=null&&f(i,["maskClasses"],l);const c=d(e,["maskDilation"]);return c!=null&&f(i,["dilation"],c),i}function Iu(e,t){const i={},o=d(e,["name"]);o!=null&&f(i,["name"],o);const l=d(e,["displayName"]);l!=null&&f(i,["displayName"],l);const c=d(e,["description"]);c!=null&&f(i,["description"],c);const m=d(e,["version"]);m!=null&&f(i,["version"],m);const p=d(e,["_self"]);p!=null&&f(i,["tunedModelInfo"],GN(p));const y=d(e,["inputTokenLimit"]);y!=null&&f(i,["inputTokenLimit"],y);const g=d(e,["outputTokenLimit"]);g!=null&&f(i,["outputTokenLimit"],g);const v=d(e,["supportedGenerationMethods"]);v!=null&&f(i,["supportedActions"],v);const b=d(e,["temperature"]);b!=null&&f(i,["temperature"],b);const w=d(e,["maxTemperature"]);w!=null&&f(i,["maxTemperature"],w);const T=d(e,["topP"]);T!=null&&f(i,["topP"],T);const A=d(e,["topK"]);A!=null&&f(i,["topK"],A);const I=d(e,["thinking"]);return I!=null&&f(i,["thinking"],I),i}function Ru(e,t){const i={},o=d(e,["name"]);o!=null&&f(i,["name"],o);const l=d(e,["displayName"]);l!=null&&f(i,["displayName"],l);const c=d(e,["description"]);c!=null&&f(i,["description"],c);const m=d(e,["versionId"]);m!=null&&f(i,["version"],m);const p=d(e,["deployedModels"]);if(p!=null){let w=p;Array.isArray(w)&&(w=w.map(T=>L_(T))),f(i,["endpoints"],w)}const y=d(e,["labels"]);y!=null&&f(i,["labels"],y);const g=d(e,["_self"]);g!=null&&f(i,["tunedModelInfo"],VN(g));const v=d(e,["defaultCheckpointId"]);v!=null&&f(i,["defaultCheckpointId"],v);const b=d(e,["checkpoints"]);if(b!=null){let w=b;Array.isArray(w)&&(w=w.map(T=>T)),f(i,["checkpoints"],w)}return i}function EN(e,t){const i={},o=d(e,["mediaResolution"]);o!=null&&f(i,["mediaResolution"],o);const l=d(e,["codeExecutionResult"]);l!=null&&f(i,["codeExecutionResult"],l);const c=d(e,["executableCode"]);c!=null&&f(i,["executableCode"],c);const m=d(e,["fileData"]);m!=null&&f(i,["fileData"],P_(m));const p=d(e,["functionCall"]);p!=null&&f(i,["functionCall"],H_(p));const y=d(e,["functionResponse"]);y!=null&&f(i,["functionResponse"],y);const g=d(e,["inlineData"]);g!=null&&f(i,["inlineData"],l_(g));const v=d(e,["text"]);v!=null&&f(i,["text"],v);const b=d(e,["thought"]);b!=null&&f(i,["thought"],b);const w=d(e,["thoughtSignature"]);w!=null&&f(i,["thoughtSignature"],w);const T=d(e,["videoMetadata"]);T!=null&&f(i,["videoMetadata"],T);const A=d(e,["toolCall"]);A!=null&&f(i,["toolCall"],A);const I=d(e,["toolResponse"]);I!=null&&f(i,["toolResponse"],I);const C=d(e,["partMetadata"]);return C!=null&&f(i,["partMetadata"],C),i}function TN(e,t){const i={},o=d(e,["mediaResolution"]);o!=null&&f(i,["mediaResolution"],o);const l=d(e,["codeExecutionResult"]);l!=null&&f(i,["codeExecutionResult"],l);const c=d(e,["executableCode"]);c!=null&&f(i,["executableCode"],c);const m=d(e,["fileData"]);m!=null&&f(i,["fileData"],m);const p=d(e,["functionCall"]);p!=null&&f(i,["functionCall"],p);const y=d(e,["functionResponse"]);y!=null&&f(i,["functionResponse"],y);const g=d(e,["inlineData"]);g!=null&&f(i,["inlineData"],g);const v=d(e,["text"]);v!=null&&f(i,["text"],v);const b=d(e,["thought"]);b!=null&&f(i,["thought"],b);const w=d(e,["thoughtSignature"]);w!=null&&f(i,["thoughtSignature"],w);const T=d(e,["videoMetadata"]);if(T!=null&&f(i,["videoMetadata"],T),d(e,["toolCall"])!==void 0)throw new Error("toolCall parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");if(d(e,["toolResponse"])!==void 0)throw new Error("toolResponse parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");if(d(e,["partMetadata"])!==void 0)throw new Error("partMetadata parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return i}function SN(e,t){const i={},o=d(e,["productImage"]);return o!=null&&f(i,["image"],on(o)),i}function AN(e,t,i){const o={},l=d(e,["numberOfImages"]);
111t!==void 0&&l!=null&&f(t,["parameters","sampleCount"],l);const c=d(e,["baseSteps"]);t!==void 0&&c!=null&&f(t,["parameters","baseSteps"],c);const m=d(e,["outputGcsUri"]);t!==void 0&&m!=null&&f(t,["parameters","storageUri"],m);const p=d(e,["seed"]);t!==void 0&&p!=null&&f(t,["parameters","seed"],p);const y=d(e,["safetyFilterLevel"]);t!==void 0&&y!=null&&f(t,["parameters","safetySetting"],y);const g=d(e,["personGeneration"]);t!==void 0&&g!=null&&f(t,["parameters","personGeneration"],g);const v=d(e,["addWatermark"]);t!==void 0&&v!=null&&f(t,["parameters","addWatermark"],v);const b=d(e,["outputMimeType"]);t!==void 0&&b!=null&&f(t,["parameters","outputOptions","mimeType"],b);const w=d(e,["outputCompressionQuality"]);t!==void 0&&w!=null&&f(t,["parameters","outputOptions","compressionQuality"],w);const T=d(e,["enhancePrompt"]);t!==void 0&&T!=null&&f(t,["parameters","enhancePrompt"],T);const A=d(e,["labels"]);return t!==void 0&&A!=null&&f(t,["labels"],A),o}function _N(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["source"]);c!=null&&CN(c,o);const m=d(t,["config"]);return m!=null&&AN(m,o),o}function NN(e,t){const i={},o=d(e,["predictions"]);if(o!=null){let l=o;Array.isArray(l)&&(l=l.map(c=>jl(c))),f(i,["generatedImages"],l)}return i}function CN(e,t,i){const o={},l=d(e,["prompt"]);t!==void 0&&l!=null&&f(t,["instances[0]","prompt"],l);const c=d(e,["personImage"]);t!==void 0&&c!=null&&f(t,["instances[0]","personImage","image"],on(c));const m=d(e,["productImages"]);if(t!==void 0&&m!=null){let p=m;Array.isArray(p)&&(p=p.map(y=>SN(y))),f(t,["instances[0]","productImages"],p)}return o}function IN(e,t){const i={},o=d(e,["referenceImage"]);o!=null&&f(i,["referenceImage"],on(o));const l=d(e,["referenceId"]);l!=null&&f(i,["referenceId"],l);const c=d(e,["referenceType"]);c!=null&&f(i,["referenceType"],c);const m=d(e,["maskImageConfig"]);m!=null&&f(i,["maskImageConfig"],wN(m));const p=d(e,["controlImageConfig"]);p!=null&&f(i,["controlImageConfig"],p_(p));const y=d(e,["styleImageConfig"]);y!=null&&f(i,["styleImageConfig"],y);const g=d(e,["subjectImageConfig"]);return g!=null&&f(i,["subjectImageConfig"],g),i}function By(e,t){const i={},o=d(e,["safetyAttributes","categories"]);o!=null&&f(i,["categories"],o);const l=d(e,["safetyAttributes","scores"]);l!=null&&f(i,["scores"],l);const c=d(e,["contentType"]);return c!=null&&f(i,["contentType"],c),i}function Oy(e,t){const i={},o=d(e,["safetyAttributes","categories"]);o!=null&&f(i,["categories"],o);const l=d(e,["safetyAttributes","scores"]);l!=null&&f(i,["scores"],l);const c=d(e,["contentType"]);return c!=null&&f(i,["contentType"],c),i}function RN(e,t){const i={},o=d(e,["category"]);if(o!=null&&f(i,["category"],o),d(e,["method"])!==void 0)throw new Error("method parameter is not supported in Gemini API.");const l=d(e,["threshold"]);return l!=null&&f(i,["threshold"],l),i}function MN(e,t){const i={},o=d(e,["image"]);return o!=null&&f(i,["image"],on(o)),i}function DN(e,t,i){const o={},l=d(e,["mode"]);t!==void 0&&l!=null&&f(t,["parameters","mode"],l);const c=d(e,["maxPredictions"]);t!==void 0&&c!=null&&f(t,["parameters","maxPredictions"],c);const m=d(e,["confidenceThreshold"]);t!==void 0&&m!=null&&f(t,["parameters","confidenceThreshold"],m);const p=d(e,["maskDilation"]);t!==void 0&&p!=null&&f(t,["parameters","maskDilation"],p);const y=d(e,["binaryColorThreshold"]);t!==void 0&&y!=null&&f(t,["parameters","binaryColorThreshold"],y);const g=d(e,["labels"]);return t!==void 0&&g!=null&&f(t,["labels"],g),o}function kN(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["source"]);c!=null&&PN(c,o);const m=d(t,["config"]);return m!=null&&DN(m,o),o}function LN(e,t){const i={},o=d(e,["predictions"]);if(o!=null){let l=o;Array.isArray(l)&&(l=l.map(c=>aN(c))),f(i,["generatedMasks"],l)}return i}function PN(e,t,i){const o={},l=d(e,["prompt"]);t!==void 0&&l!=null&&f(t,["instances[0]","prompt"],l);const c=d(e,["image"]);t!==void 0&&c!=null&&f(t,["instances[0]","image"],on(c));const m=d(e,["scribbleImage"]);return t!==void 0&&m!=null&&f(t,["instances[0]","scribble"],MN(m)),o}function HN(e,t){const i={},o=d(e,["retrievalConfig"]);o!=null&&f(i,["retrievalConfig"],o);const l=d(e,["functionCallingConfig"]);l!=null&&f(i,["functionCallingConfig"],U_(l));const c=d(e,["includeServerSideToolInvocations"]);return c!=null&&f(i,["includeServerSideToolInvocations"],c),i}function UN(e,t){const i={},o=d(e,["retrievalConfig"]);o!=null&&f(i,["retrievalConfig"],o);const l=d(e,["functionCallingConfig"]);if(l!=null&&f(i,["functionCallingConfig"],l),d(e,["includeServerSideToolInvocations"])!==void 0)throw new Error("includeServerSideToolInvocations parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return i}function jN(e,t){const i={};if(d(e,["retrieval"])!==void 0)throw new Error("retrieval parameter is not supported in Gemini API.");const o=d(e,["computerUse"]);o!=null&&f(i,["computerUse"],o);const l=d(e,["fileSearch"]);l!=null&&f(i,["fileSearch"],l);const c=d(e,["googleSearch"]);c!=null&&f(i,["googleSearch"],dN(c));const m=d(e,["googleMaps"]);m!=null&&f(i,["googleMaps"],uN(m));const p=d(e,["codeExecution"]);if(p!=null&&f(i,["codeExecution"],p),d(e,["enterpriseWebSearch"])!==void 0)throw new Error("enterpriseWebSearch parameter is not supported in Gemini API.");const y=d(e,["functionDeclarations"]);if(y!=null){let w=y;Array.isArray(w)&&(w=w.map(T=>T)),f(i,["functionDeclarations"],w)}const g=d(e,["googleSearchRetrieval"]);if(g!=null&&f(i,["googleSearchRetrieval"],g),d(e,["parallelAiSearch"])!==void 0)throw new Error("parallelAiSearch parameter is not supported in Gemini API.");
111const v=d(e,["urlContext"]);v!=null&&f(i,["urlContext"],v);const b=d(e,["mcpServers"]);if(b!=null){let w=b;Array.isArray(w)&&(w=w.map(T=>T)),f(i,["mcpServers"],w)}return i}function qy(e,t){const i={},o=d(e,["retrieval"]);o!=null&&f(i,["retrieval"],o);const l=d(e,["computerUse"]);if(l!=null&&f(i,["computerUse"],l),d(e,["fileSearch"])!==void 0)throw new Error("fileSearch parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");const c=d(e,["googleSearch"]);c!=null&&f(i,["googleSearch"],c);const m=d(e,["googleMaps"]);m!=null&&f(i,["googleMaps"],m);const p=d(e,["codeExecution"]);p!=null&&f(i,["codeExecution"],p);const y=d(e,["enterpriseWebSearch"]);y!=null&&f(i,["enterpriseWebSearch"],y);const g=d(e,["functionDeclarations"]);if(g!=null){let T=g;Array.isArray(T)&&(T=T.map(A=>j_(A))),f(i,["functionDeclarations"],T)}const v=d(e,["googleSearchRetrieval"]);v!=null&&f(i,["googleSearchRetrieval"],v);const b=d(e,["parallelAiSearch"]);b!=null&&f(i,["parallelAiSearch"],b);const w=d(e,["urlContext"]);if(w!=null&&f(i,["urlContext"],w),d(e,["mcpServers"])!==void 0)throw new Error("mcpServers parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return i}function GN(e,t){const i={},o=d(e,["baseModel"]);o!=null&&f(i,["baseModel"],o);const l=d(e,["createTime"]);l!=null&&f(i,["createTime"],l);const c=d(e,["updateTime"]);return c!=null&&f(i,["updateTime"],c),i}function VN(e,t){const i={},o=d(e,["labels","google-vertex-llm-tuning-base-model-id"]);o!=null&&f(i,["baseModel"],o);const l=d(e,["createTime"]);l!=null&&f(i,["createTime"],l);const c=d(e,["updateTime"]);return c!=null&&f(i,["updateTime"],c),i}function zN(e,t,i){const o={},l=d(e,["displayName"]);t!==void 0&&l!=null&&f(t,["displayName"],l);const c=d(e,["description"]);t!==void 0&&c!=null&&f(t,["description"],c);const m=d(e,["defaultCheckpointId"]);return t!==void 0&&m!=null&&f(t,["defaultCheckpointId"],m),o}function BN(e,t,i){const o={},l=d(e,["displayName"]);t!==void 0&&l!=null&&f(t,["displayName"],l);const c=d(e,["description"]);t!==void 0&&c!=null&&f(t,["description"],c);const m=d(e,["defaultCheckpointId"]);return t!==void 0&&m!=null&&f(t,["defaultCheckpointId"],m),o}function ON(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","name"],Ae(e,l));const c=d(t,["config"]);return c!=null&&zN(c,o),o}function qN(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["config"]);return c!=null&&BN(c,o),o}function FN(e,t,i){const o={},l=d(e,["outputGcsUri"]);t!==void 0&&l!=null&&f(t,["parameters","storageUri"],l);const c=d(e,["safetyFilterLevel"]);t!==void 0&&c!=null&&f(t,["parameters","safetySetting"],c);const m=d(e,["personGeneration"]);t!==void 0&&m!=null&&f(t,["parameters","personGeneration"],m);const p=d(e,["includeRaiReason"]);t!==void 0&&p!=null&&f(t,["parameters","includeRaiReason"],p);const y=d(e,["outputMimeType"]);t!==void 0&&y!=null&&f(t,["parameters","outputOptions","mimeType"],y);const g=d(e,["outputCompressionQuality"]);t!==void 0&&g!=null&&f(t,["parameters","outputOptions","compressionQuality"],g);const v=d(e,["enhanceInputImage"]);t!==void 0&&v!=null&&f(t,["parameters","upscaleConfig","enhanceInputImage"],v);const b=d(e,["imagePreservationFactor"]);t!==void 0&&b!=null&&f(t,["parameters","upscaleConfig","imagePreservationFactor"],b);const w=d(e,["labels"]);t!==void 0&&w!=null&&f(t,["labels"],w);const T=d(e,["numberOfImages"]);t!==void 0&&T!=null&&f(t,["parameters","sampleCount"],T);const A=d(e,["mode"]);return t!==void 0&&A!=null&&f(t,["parameters","mode"],A),o}function $N(e,t,i){const o={},l=d(t,["model"]);l!=null&&f(o,["_url","model"],Ae(e,l));const c=d(t,["image"]);c!=null&&f(o,["instances[0]","image"],on(c));const m=d(t,["upscaleFactor"]);m!=null&&f(o,["parameters","upscaleConfig","upscaleFactor"],m);const p=d(t,["config"]);return p!=null&&FN(p,o),o}function YN(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["predictions"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>jl(m))),f(i,["generatedImages"],c)}return i}function JN(e,t){const i={},o=d(e,["uri"]);o!=null&&f(i,["uri"],o);const l=d(e,["encodedVideo"]);l!=null&&f(i,["videoBytes"],ui(l));const c=d(e,["encoding"]);return c!=null&&f(i,["mimeType"],c),i}function KN(e,t){const i={},o=d(e,["gcsUri"]);o!=null&&f(i,["uri"],o);
111const l=d(e,["bytesBase64Encoded"]);l!=null&&f(i,["videoBytes"],ui(l));const c=d(e,["mimeType"]);return c!=null&&f(i,["mimeType"],c),i}function XN(e,t){const i={},o=d(e,["image"]);o!=null&&f(i,["_self"],on(o));const l=d(e,["maskMode"]);return l!=null&&f(i,["maskMode"],l),i}function QN(e,t){const i={},o=d(e,["image"]);o!=null&&f(i,["image"],Gl(o));const l=d(e,["referenceType"]);return l!=null&&f(i,["referenceType"],l),i}function WN(e,t){const i={},o=d(e,["image"]);o!=null&&f(i,["image"],on(o));const l=d(e,["referenceType"]);return l!=null&&f(i,["referenceType"],l),i}function Fy(e,t){const i={},o=d(e,["uri"]);o!=null&&f(i,["uri"],o);const l=d(e,["videoBytes"]);l!=null&&f(i,["encodedVideo"],ui(l));const c=d(e,["mimeType"]);return c!=null&&f(i,["encoding"],c),i}function $y(e,t){const i={},o=d(e,["uri"]);o!=null&&f(i,["gcsUri"],o);const l=d(e,["videoBytes"]);l!=null&&f(i,["bytesBase64Encoded"],ui(l));const c=d(e,["mimeType"]);return c!=null&&f(i,["mimeType"],c),i}/**
112 * @license
113 * Copyright 2025 Google LLC
114 * SPDX-License-Identifier: Apache-2.0
115 */function ZN(e,t){const i={},o=d(e,["displayName"]);return t!==void 0&&o!=null&&f(t,["displayName"],o),i}function e2(e){const t={},i=d(e,["config"]);return i!=null&&ZN(i,t),t}function t2(e,t){const i={},o=d(e,["force"]);return t!==void 0&&o!=null&&f(t,["_query","force"],o),i}function n2(e){const t={},i=d(e,["name"]);i!=null&&f(t,["_url","name"],i);const o=d(e,["config"]);return o!=null&&t2(o,t),t}function i2(e){const t={},i=d(e,["name"]);return i!=null&&f(t,["_url","name"],i),t}function a2(e,t){const i={},o=d(e,["customMetadata"]);if(t!==void 0&&o!=null){let c=o;Array.isArray(c)&&(c=c.map(m=>m)),f(t,["customMetadata"],c)}const l=d(e,["chunkingConfig"]);return t!==void 0&&l!=null&&f(t,["chunkingConfig"],l),i}function o2(e){const t={},i=d(e,["name"]);i!=null&&f(t,["name"],i);const o=d(e,["metadata"]);o!=null&&f(t,["metadata"],o);const l=d(e,["done"]);l!=null&&f(t,["done"],l);const c=d(e,["error"]);c!=null&&f(t,["error"],c);const m=d(e,["response"]);return m!=null&&f(t,["response"],l2(m)),t}function s2(e){const t={},i=d(e,["fileSearchStoreName"]);i!=null&&f(t,["_url","file_search_store_name"],i);const o=d(e,["fileName"]);o!=null&&f(t,["fileName"],o);const l=d(e,["config"]);return l!=null&&a2(l,t),t}function l2(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["parent"]);o!=null&&f(t,["parent"],o);const l=d(e,["documentName"]);return l!=null&&f(t,["documentName"],l),t}function r2(e,t){const i={},o=d(e,["pageSize"]);t!==void 0&&o!=null&&f(t,["_query","pageSize"],o);const l=d(e,["pageToken"]);return t!==void 0&&l!=null&&f(t,["_query","pageToken"],l),i}function c2(e){const t={},i=d(e,["config"]);return i!=null&&r2(i,t),t}function u2(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["nextPageToken"]);o!=null&&f(t,["nextPageToken"],o);const l=d(e,["fileSearchStores"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>m)),f(t,["fileSearchStores"],c)}return t}function Yy(e,t){const i={},o=d(e,["mimeType"]);t!==void 0&&o!=null&&f(t,["mimeType"],o);const l=d(e,["displayName"]);t!==void 0&&l!=null&&f(t,["displayName"],l);const c=d(e,["customMetadata"]);if(t!==void 0&&c!=null){let p=c;Array.isArray(p)&&(p=p.map(y=>y)),f(t,["customMetadata"],p)}const m=d(e,["chunkingConfig"]);return t!==void 0&&m!=null&&f(t,["chunkingConfig"],m),i}function d2(e){const t={},i=d(e,["fileSearchStoreName"]);i!=null&&f(t,["_url","file_search_store_name"],i);const o=d(e,["config"]);return o!=null&&Yy(o,t),t}function f2(e){const t={},i=d(e,["sdkHttpResponse"]);return i!=null&&f(t,["sdkHttpResponse"],i),t}/**
116 * @license
117 * Copyright 2025 Google LLC
118 * SPDX-License-Identifier: Apache-2.0
119 */const m2="Content-Type",p2="X-Server-Timeout",h2="User-Agent",Mu="x-goog-api-client",g2="1.51.0",y2=`google-genai-sdk/${g2}`,x2="v1beta1",v2="v1beta",b2=new Set(["us","eu"]),w2=5,E2=[408,429,500,502,503,504];class T2{constructor(t){var i,o,l;this.clientOptions=Object.assign({},t),this.customBaseUrl=(i=t.httpOptions)===null||i===void 0?void 0:i.baseUrl,this.clientOptions.vertexai&&(this.clientOptions.project&&this.clientOptions.location?this.clientOptions.apiKey=void 0:this.clientOptions.apiKey&&(this.clientOptions.project=void 0,this.clientOptions.location=void 0));const c={};if(this.clientOptions.vertexai){if(!this.clientOptions.location&&!this.clientOptions.apiKey&&!this.customBaseUrl&&(this.clientOptions.location="global"),!(this.clientOptions.project&&this.clientOptions.location||this.clientOptions.apiKey)&&!this.customBaseUrl)throw new Error("Authentication is not set up. Please provide either a project and location, or an API key, or a custom base URL.");const p=t.project&&t.location||!!t.apiKey;this.customBaseUrl&&!p?(c.baseUrl=this.customBaseUrl,this.clientOptions.project=void 0,this.clientOptions.location=void 0):this.clientOptions.apiKey||this.clientOptions.location==="global"?c.baseUrl="https://aiplatform.googleapis.com/":this.clientOptions.project&&this.clientOptions.location&&b2.has(this.clientOptions.location)?c.baseUrl=`https://aiplatform.${this.clientOptions.location}.rep.googleapis.com/`:this.clientOptions.project&&this.clientOptions.location&&(c.baseUrl=`https://${this.clientOptions.location}-aiplatform.googleapis.com/`),c.apiVersion=(o=this.clientOptions.apiVersion)!==null&&o!==void 0?o:x2}else this.clientOptions.apiKey||console.warn("API key should be set when using the Gemini API."),c.apiVersion=(l=this.clientOptions.apiVersion)!==null&&l!==void 0?l:v2,c.baseUrl="https://generativelanguage.googleapis.com/";c.headers=this.getDefaultHeaders(),this.clientOptions.httpOptions=c,t.httpOptions&&(this.clientOptions.httpOptions=this.patchHttpOptions(c,t.httpOptions))}isVertexAI(){var t;return(t=this.clientOptions.vertexai)!==null&&t!==void 0?t:!1}getProject(){return this.clientOptions.project}getLocation(){return this.clientOptions.location}getCustomBaseUrl(){return this.customBaseUrl}async getAuthHeaders(){const t=new Headers;return await this.clientOptions.auth.addAuthHeaders(t),t}getApiVersion(){if(this.clientOptions.httpOptions&&this.clientOptions.httpOptions.apiVersion!==void 0)return this.clientOptions.httpOptions.apiVersion;throw new Error("API version is not set.")}getBaseUrl(){if(this.clientOptions.httpOptions&&this.clientOptions.httpOptions.baseUrl!==void 0)return this.clientOptions.httpOptions.baseUrl;throw new Error("Base URL is not set.")}getRequestUrl(){return this.getRequestUrlInternal(this.clientOptions.httpOptions)}getHeaders(){if(this.clientOptions.httpOptions&&this.clientOptions.httpOptions.headers!==void 0)return this.clientOptions.httpOptions.headers;throw new Error("Headers are not set.")}getRequestUrlInternal(t){if(!t||t.baseUrl===void 0||t.apiVersion===void 0)throw new Error("HTTP options are not correctly set.");const o=[t.baseUrl.endsWith("/")?t.baseUrl.slice(0,-1):t.baseUrl];return t.apiVersion&&t.apiVersion!==""&&o.push(t.apiVersion),o.join("/")}getBaseResourcePath(){return`projects/${this.clientOptions.project}/locations/${this.clientOptions.location}`}getApiKey(){return this.clientOptions.apiKey}getWebsocketBaseUrl(){const t=this.getBaseUrl(),i=new URL(t);return i.protocol=i.protocol=="http:"?"ws":"wss",i.toString()}setBaseUrl(t){if(this.clientOptions.httpOptions)this.clientOptions.httpOptions.baseUrl=t;else throw new Error("HTTP options are not correctly set.")}constructUrl(t,i,o){const l=[this.getRequestUrlInternal(i)];return o&&l.push(this.getBaseResourcePath()),t!==""&&l.push(t),new URL(`${l.join("/")}`)}shouldPrependVertexProjectPath(t,i){return!(i.baseUrl&&i.baseUrlResourceScope===Au.COLLECTION||this.clientOptions.apiKey||!this.clientOptions.vertexai||t.path.startsWith("projects/")||t.httpMethod==="GET"&&t.path.startsWith("publishers/google/models"))}async request(t){let i=this.clientOptions.httpOptions;t.httpOptions&&(i=this.patchHttpOptions(this.clientOptions.httpOptions,t.httpOptions));const o=this.shouldPrependVertexProjectPath(t,i),l=this.constructUrl(t.path,i,o);if(t.queryParams)for(const[m,p]of Object.entries(t.queryParams))l.searchParams.append(m,String(p));let c={};if(t.httpMethod==="GET"){if(t.body&&t.body!=="{}")throw new Error("Request body should be empty for GET request, but got non empty request body")}else c.body=t.body;return c=await this.includeExtraHttpOptionsToRequestInit(c,i,l.toString(),t.abortSignal),this.unaryApiCall(l,c,t.httpMethod)}patchHttpOptions(t,i){const o=JSON.parse(JSON.stringify(t));for(const[l,c]of Object.entries(i))typeof c=="object"?o[l]=Object.assign(Object.assign({},o[l]),c):c!==void 0&&(o[l]=c);return o}async requestStream(t){let i=this.clientOptions.httpOptions;t.httpOptions&&(i=this.patchHttpOptions(this.clientOptions.httpOptions,t.httpOptions));const o=this.shouldPrependVertexProjectPath(t,i),l=this.constructUrl(t.path,i,o);(!l.searchParams.has("alt")||l.searchParams.get("alt")!=="sse")&&l.searchParams.set("alt","sse");let c={};return c.body=t.body,c=await this.includeExtraHttpOptionsToRequestInit(c,i,l.toString(),t.abortSignal),this.streamApiCall(l,c,t.httpMethod)}async includeExtraHttpOptionsToRequestInit(t,i,o,l){if(i&&i.timeout||l){const c=new AbortController,m=c.signal;if(i.timeout&&(i==null?void 0:i.timeout)>0){const p=setTimeout(()=>c.abort(),i.timeout);p&&typeof p.unref=="function"&&p.unref()}l&&l.addEventListener("abort",()=>{c.abort()}),t.signal=m}return i&&i.extraBody!==null&&S2(t,i.extraBody),t.headers=await this.getHeadersInternal(i,o),t}async unaryApiCall(t,i,o){return this.apiCall(t.toString(),Object.assign(Object.assign({},i),{method:o})).then(async l=>(await pg(l),new _u(l))).catch(l=>{throw l instanceof Error?l:new Error(JSON.stringify(l))})}async streamApiCall(t,i,o){return this.apiCall(t.toString(),Object.assign(Object.assign({},i),{method:o})).then(async l=>(await pg(l),this.processStreamResponse(l))).catch(l=>{throw l instanceof Error?l:new Error(JSON.stringify(l))})}processStreamResponse(t){return tn(this,arguments,function*(){var o;const l=(o=t==null?void 0:t.body)===null||o===void 0?void 0:o.getReader(),c=new TextDecoder("utf-8");if(!l)throw new Error("Response body is empty");try{let m="";const p="data:",y=[`
120
121`,"\r\r",`\r
122\r
123`];for(;;){const{done:g,value:v}=yield fe(l.read());if(g){if(m.trim().length>0)throw new Error("Incomplete JSON segment at the end");break}const b=c.decode(v,{stream:!0});try{const A=JSON.parse(b);if("error"in A){const I=JSON.parse(JSON.stringify(A.error)),C=I.status,N=I.code,R=`got status: ${C}. ${JSON.stringify(A)}`;if(N>=400&&N<600)throw new Ul({message:R,status:N})}}catch(A){if(A.name==="ApiError")throw A}m+=b;let w=-1,T=0;for(;;){w=-1,T=0;for(const C of y){const N=m.indexOf(C);N!==-1&&(w===-1||N<w)&&(w=N,T=C.length)}if(w===-1)break;const A=m.substring(0,w);m=m.substring(w+T);const I=A.trim();if(I.startsWith(p)){const C=I.substring(p.length).trim();try{const N=new Response(C,{headers:t==null?void 0:t.headers,status:t==null?void 0:t.status,statusText:t==null?void 0:t.statusText});yield yield fe(new _u(N))}catch(N){throw new Error(`exception parsing stream chunk ${C}. ${N}`)}}}}}finally{l.releaseLock()}})}async apiCall(t,i){var o;if(!this.clientOptions.httpOptions||!this.clientOptions.httpOptions.retryOptions)return fetch(t,i);const l=this.clientOptions.httpOptions.retryOptions;return QE(async()=>{const m=await fetch(t,i);if(m.ok)return m;throw E2.includes(m.status)?new Error(`Retryable HTTP Error: ${m.statusText}`):new Ay.AbortError(`Non-retryable exception ${m.statusText} sending request`)},{retries:((o=l.attempts)!==null&&o!==void 0?o:w2)-1})}getDefaultHeaders(){const t={},i=y2+" "+this.clientOptions.userAgentExtra;return t[h2]=i,t[Mu]=i,t[m2]="application/json",t}async getHeadersInternal(t,i){const o=new Headers;if(t&&t.headers){for(const[l,c]of Object.entries(t.headers))o.append(l,c);t.timeout&&t.timeout>0&&o.append(p2,String(Math.ceil(t.timeout/1e3)))}return await this.clientOptions.auth.addAuthHeaders(o,i),o}getFileName(t){var i;let o="";return typeof t=="string"&&(o=t.replace(/[/\\]+$/,""),o=(i=o.split(/[/\\]/).pop())!==null&&i!==void 0?i:""),o}async uploadFile(t,i){var o;const l={};i!=null&&(l.mimeType=i.mimeType,l.name=i.name,l.displayName=i.displayName),l.name&&!l.name.startsWith("files/")&&(l.name=`files/${l.name}`);const c=this.clientOptions.uploader,m=await c.stat(t);l.sizeBytes=String(m.size);const p=(o=i==null?void 0:i.mimeType)!==null&&o!==void 0?o:m.type;if(p===void 0||p==="")throw new Error("Can not determine mimeType. Please provide mimeType in the config.");l.mimeType=p;const y={file:l},g=this.getFileName(t),v=te("upload/v1beta/files",y._url),b=await this.fetchUploadUrl(v,l.sizeBytes,l.mimeType,g,y,i==null?void 0:i.httpOptions);return c.upload(t,b,this)}async uploadFileToFileSearchStore(t,i,o){var l;const c=this.clientOptions.uploader,m=await c.stat(i),p=String(m.size),y=(l=o==null?void 0:o.mimeType)!==null&&l!==void 0?l:m.type;if(y===void 0||y==="")throw new Error("Can not determine mimeType. Please provide mimeType in the config.");const g=`upload/v1beta/${t}:uploadToFileSearchStore`,v=this.getFileName(i),b={};o!=null&&Yy(o,b);const w=await this.fetchUploadUrl(g,p,y,v,b,o==null?void 0:o.httpOptions);return c.uploadToFileSearchStore(i,w,this)}async downloadFile(t){await this.clientOptions.downloader.download(t,this)}async fetchUploadUrl(t,i,o,l,c,m){var p;let y={};m?y=m:y={apiVersion:"",headers:Object.assign({"Content-Type":"application/json","X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":`${i}`,"X-Goog-Upload-Header-Content-Type":`${o}`},l?{"X-Goog-Upload-File-Name":l}:{})};const g=await this.request({path:t,body:JSON.stringify(c),httpMethod:"POST",httpOptions:y});if(!g||!(g!=null&&g.headers))throw new Error("Server did not return an HttpResponse or the returned HttpResponse did not have headers.");const v=(p=g==null?void 0:g.headers)===null||p===void 0?void 0:p["x-goog-upload-url"];if(v===void 0)throw new Error("Failed to get upload url. Server did not return the x-google-upload-url in the headers");return v}}async function pg(e){var t;if(e===void 0)throw new Error("response is undefined");if(!e.ok){const i=e.status;let o;!((t=e.headers.get("content-type"))===null||t===void 0)&&t.includes("application/json")?o=await e.json():o={error:{message:await e.text(),code:e.status,status:e.statusText}};const l=JSON.stringify(o);throw i>=400&&i<600?new Ul({message:l,status:i}):new Error(l)}}function S2(e,t){if(!t||Object.keys(t).length===0)return;if(e.body instanceof Blob){console.warn("includeExtraBodyToRequestInit: extraBody provided but current request body is a Blob. extraBody will be ignored as merging is not supported for Blob bodies.");return}let i={};
123if(typeof e.body=="string"&&e.body.length>0)try{const c=JSON.parse(e.body);if(typeof c=="object"&&c!==null&&!Array.isArray(c))i=c;else{console.warn("includeExtraBodyToRequestInit: Original request body is valid JSON but not a non-array object. Skip applying extraBody to the request body.");return}}catch{console.warn("includeExtraBodyToRequestInit: Original request body is not valid JSON. Skip applying extraBody to the request body.");return}function o(c,m){const p=Object.assign({},c);for(const y in m)if(Object.prototype.hasOwnProperty.call(m,y)){const g=m[y],v=p[y];g&&typeof g=="object"&&!Array.isArray(g)&&v&&typeof v=="object"&&!Array.isArray(v)?p[y]=o(v,g):(v&&g&&typeof v!=typeof g&&console.warn(`includeExtraBodyToRequestInit:deepMerge: Type mismatch for key "${y}". Original type: ${typeof v}, New type: ${typeof g}. Overwriting.`),p[y]=g)}return p}const l=o(i,t);e.body=JSON.stringify(l)}/**
124 * @license
125 * Copyright 2025 Google LLC
126 * SPDX-License-Identifier: Apache-2.0
127 */const A2="mcp_used/unknown";let _2=!1;function Jy(e){for(const t of e)if(N2(t)||typeof t=="object"&&"inputSchema"in t)return!0;return _2}function Ky(e){var t;const i=(t=e[Mu])!==null&&t!==void 0?t:"";e[Mu]=(i+` ${A2}`).trimStart()}function N2(e){return e!==null&&typeof e=="object"&&e instanceof sd}function C2(e){return tn(this,arguments,function*(i,o=100){let l,c=0;for(;c<o;){const m=yield fe(i.listTools({cursor:l}));for(const p of m.tools)yield yield fe(p),c++;if(!m.nextCursor)break;l=m.nextCursor}})}class sd{constructor(t=[],i){this.mcpTools=[],this.functionNameToMcpClient={},this.mcpClients=t,this.config=i}static create(t,i){return new sd(t,i)}async initialize(){var t,i,o,l;if(this.mcpTools.length>0)return;const c={},m=[];for(const v of this.mcpClients)try{for(var p=!0,y=(i=void 0,nn(C2(v))),g;g=await y.next(),t=g.done,!t;p=!0){l=g.value,p=!1;const b=l;m.push(b);const w=b.name;if(c[w])throw new Error(`Duplicate function name ${w} found in MCP tools. Please ensure function names are unique.`);c[w]=v}}catch(b){i={error:b}}finally{try{!p&&!t&&(o=y.return)&&await o.call(y)}finally{if(i)throw i.error}}this.mcpTools=m,this.functionNameToMcpClient=c}async tool(){return await this.initialize(),VT(this.mcpTools,this.config)}async callTool(t){await this.initialize();const i=[];for(const o of t)if(o.name in this.functionNameToMcpClient){const l=this.functionNameToMcpClient[o.name];let c;this.config.timeout&&(c={timeout:this.config.timeout});const m=await l.callTool({name:o.name,arguments:o.args},void 0,c);i.push({functionResponse:{name:o.name,response:m.isError?{error:m}:m}})}return i}}/**
128 * @license
129 * Copyright 2025 Google LLC
130 * SPDX-License-Identifier: Apache-2.0
131 */async function I2(e,t,i){const o=new DT;let l;i.data instanceof Blob?l=JSON.parse(await i.data.text()):l=JSON.parse(i.data),Object.assign(o,l),t(o)}class R2{constructor(t,i,o){this.apiClient=t,this.auth=i,this.webSocketFactory=o}async connect(t){var i,o;if(this.apiClient.isVertexAI())throw new Error("Live music is not supported for Vertex AI.");console.warn("Live music generation is experimental and may change in future versions.");const l=this.apiClient.getWebsocketBaseUrl(),c=this.apiClient.getApiVersion(),m=k2(this.apiClient.getDefaultHeaders()),p=this.apiClient.getApiKey(),y=`${l}/ws/google.ai.generativelanguage.${c}.GenerativeService.BidiGenerateMusic?key=${p}`;let g=()=>{};const v=new Promise(L=>{g=L}),b=t.callbacks,w=function(){g({})},T=this.apiClient,A={onopen:w,onmessage:L=>{I2(T,b.onmessage,L)},onerror:(i=b==null?void 0:b.onerror)!==null&&i!==void 0?i:function(L){},onclose:(o=b==null?void 0:b.onclose)!==null&&o!==void 0?o:function(L){}},I=this.webSocketFactory.create(y,D2(m),A);I.connect(),await v;const R={setup:{model:Ae(this.apiClient,t.model)}};return I.send(JSON.stringify(R)),new M2(I,this.apiClient)}}class M2{constructor(t,i){this.conn=t,this.apiClient=i}async setWeightedPrompts(t){if(!t.weightedPrompts||Object.keys(t.weightedPrompts).length===0)throw new Error("Weighted prompts must be set and contain at least one entry.");const i=JA(t);this.conn.send(JSON.stringify({clientContent:i}))}async setMusicGenerationConfig(t){t.musicGenerationConfig||(t.musicGenerationConfig={});const i=YA(t);this.conn.send(JSON.stringify(i))}sendPlaybackControl(t){const i={playbackControl:t};this.conn.send(JSON.stringify(i))}play(){this.sendPlaybackControl(Sa.PLAY)}pause(){this.sendPlaybackControl(Sa.PAUSE)}stop(){this.sendPlaybackControl(Sa.STOP)}resetContext(){this.sendPlaybackControl(Sa.RESET_CONTEXT)}
131close(){this.conn.close()}}function D2(e){const t={};return e.forEach((i,o)=>{t[o]=i}),t}function k2(e){const t=new Headers;for(const[i,o]of Object.entries(e))t.append(i,o);return t}/**
132 * @license
133 * Copyright 2025 Google LLC
134 * SPDX-License-Identifier: Apache-2.0
135 */const L2="FunctionResponse request must have an `id` field from the response of a ToolCall.FunctionalCalls in Google AI.";async function P2(e,t,i){const o=new MT;let l;i.data instanceof Blob?l=await i.data.text():i.data instanceof ArrayBuffer?l=new TextDecoder().decode(i.data):l=i.data;const c=JSON.parse(l);if(e.isVertexAI()){const m=QA(c);Object.assign(o,m)}else Object.assign(o,c);t(o)}class H2{constructor(t,i,o){this.apiClient=t,this.auth=i,this.webSocketFactory=o,this.music=new R2(this.apiClient,this.auth,this.webSocketFactory)}async connect(t){var i,o,l,c,m,p;if(t.config&&t.config.httpOptions)throw new Error("The Live module does not support httpOptions at request-level in LiveConnectConfig yet. Please use the client-level httpOptions configuration instead.");const y=this.apiClient.getWebsocketBaseUrl(),g=this.apiClient.getApiVersion();let v;const b=this.apiClient.getHeaders();t.config&&t.config.tools&&Jy(t.config.tools)&&Ky(b);const w=V2(b);if(this.apiClient.isVertexAI()){const $=this.apiClient.getProject(),ee=this.apiClient.getLocation(),ce=this.apiClient.getApiKey(),Z=!!$&&!!ee||!!ce;this.apiClient.getCustomBaseUrl()&&!Z?v=y:(v=`${y}/ws/google.cloud.aiplatform.${g}.LlmBidiService/BidiGenerateContent`,await this.auth.addAuthHeaders(w,v))}else{const $=this.apiClient.getApiKey();let ee="BidiGenerateContent",ce="key";$!=null&&$.startsWith("auth_tokens/")&&(console.warn("Warning: Ephemeral token support is experimental and may change in future versions."),g!=="v1alpha"&&console.warn("Warning: The SDK's ephemeral token support is in v1alpha only. Please use const ai = new GoogleGenAI({apiKey: token.name, httpOptions: { apiVersion: 'v1alpha' }}); before session connection."),ee="BidiGenerateContentConstrained",ce="access_token"),v=`${y}/ws/google.ai.generativelanguage.${g}.GenerativeService.${ee}?${ce}=${$}`}let T=()=>{};const A=new Promise($=>{T=$}),I=t.callbacks,C=function(){var $;($=I==null?void 0:I.onopen)===null||$===void 0||$.call(I),T({})},N=this.apiClient,R={onopen:C,onmessage:$=>{P2(N,I.onmessage,$)},onerror:(i=I==null?void 0:I.onerror)!==null&&i!==void 0?i:function($){},onclose:(o=I==null?void 0:I.onclose)!==null&&o!==void 0?o:function($){}},L=this.webSocketFactory.create(v,G2(w),R);L.connect(),await A;let q=Ae(this.apiClient,t.model);if(this.apiClient.isVertexAI()&&q.startsWith("publishers/")){const $=this.apiClient.getProject(),ee=this.apiClient.getLocation();$&&ee&&(q=`projects/${$}/locations/${ee}/`+q)}let Y={};this.apiClient.isVertexAI()&&((l=t.config)===null||l===void 0?void 0:l.responseModalities)===void 0&&(t.config===void 0?t.config={responseModalities:[Al.AUDIO]}:t.config.responseModalities=[Al.AUDIO]),!((c=t.config)===null||c===void 0)&&c.generationConfig&&console.warn("Setting `LiveConnectConfig.generation_config` is deprecated, please set the fields on `LiveConnectConfig` directly. This will become an error in a future version (not before Q3 2025).");const P=(p=(m=t.config)===null||m===void 0?void 0:m.tools)!==null&&p!==void 0?p:[],O=[];for(const $ of P)if(this.isCallableTool($)){const ee=$;O.push(await ee.tool())}else O.push($);O.length>0&&(t.config.tools=O);const F={model:q,config:t.config,callbacks:t.callbacks};return this.apiClient.isVertexAI()?Y=$A(this.apiClient,F):Y=FA(this.apiClient,F),delete Y.config,L.send(JSON.stringify(Y)),new j2(L,this.apiClient)}isCallableTool(t){return"callTool"in t&&typeof t.callTool=="function"}}const U2={turnComplete:!0};class j2{constructor(t,i){this.conn=t,this.apiClient=i}tLiveClientContent(t,i){if(i.turns!==null&&i.turns!==void 0){let o=[];try{o=wt(i.turns),t.isVertexAI()||(o=o.map(l=>qo(l)))}catch{throw new Error(`Failed to parse client content "turns", type: '${typeof i.turns}'`)}return{clientContent:{turns:o,turnComplete:i.turnComplete}}}return{clientContent:{turnComplete:i.turnComplete}}}tLiveClienttToolResponse(t,i){let o=[];if(i.functionResponses==null)throw new Error("functionResponses is required.");
135if(Array.isArray(i.functionResponses)?o=i.functionResponses:o=[i.functionResponses],o.length===0)throw new Error("functionResponses is required.");for(const c of o){if(typeof c!="object"||c===null||!("name"in c)||!("response"in c))throw new Error(`Could not parse function response, type '${typeof c}'.`);if(!t.isVertexAI()&&!("id"in c))throw new Error(L2)}return{toolResponse:{functionResponses:o}}}sendClientContent(t){t=Object.assign(Object.assign({},U2),t);const i=this.tLiveClientContent(this.apiClient,t);this.conn.send(JSON.stringify(i))}sendRealtimeInput(t){let i={};this.apiClient.isVertexAI()?i={realtimeInput:XA(t)}:i={realtimeInput:KA(t)},this.conn.send(JSON.stringify(i))}sendToolResponse(t){if(t.functionResponses==null)throw new Error("Tool response parameters are required.");const i=this.tLiveClienttToolResponse(this.apiClient,t);this.conn.send(JSON.stringify(i))}close(){this.conn.close()}}function G2(e){const t={};return e.forEach((i,o)=>{t[o]=i}),t}function V2(e){const t=new Headers;for(const[i,o]of Object.entries(e))t.append(i,o);return t}/**
136 * @license
137 * Copyright 2025 Google LLC
138 * SPDX-License-Identifier: Apache-2.0
139 */const hg=10;function gg(e){var t,i,o;if(!((t=e==null?void 0:e.automaticFunctionCalling)===null||t===void 0)&&t.disable)return!0;let l=!1;for(const m of(i=e==null?void 0:e.tools)!==null&&i!==void 0?i:[])if(Na(m)){l=!0;break}if(!l)return!0;const c=(o=e==null?void 0:e.automaticFunctionCalling)===null||o===void 0?void 0:o.maximumRemoteCalls;return c&&(c<0||!Number.isInteger(c))||c==0?(console.warn("Invalid maximumRemoteCalls value provided for automatic function calling. Disabled automatic function calling. Please provide a valid integer value greater than 0. maximumRemoteCalls provided:",c),!0):!1}function Na(e){return"callTool"in e&&typeof e.callTool=="function"}function z2(e){var t,i,o;return(o=(i=(t=e.config)===null||t===void 0?void 0:t.tools)===null||i===void 0?void 0:i.some(l=>Na(l)))!==null&&o!==void 0?o:!1}function yg(e){var t;const i=[];return!((t=e==null?void 0:e.config)===null||t===void 0)&&t.tools&&e.config.tools.forEach((o,l)=>{if(Na(o))return;const c=o;c.functionDeclarations&&c.functionDeclarations.length>0&&i.push(l)}),i}function xg(e){var t;return!(!((t=e==null?void 0:e.automaticFunctionCalling)===null||t===void 0)&&t.ignoreCallHistory)}/**
140 * @license
141 * Copyright 2025 Google LLC
142 * SPDX-License-Identifier: Apache-2.0
143 */class B2 extends Ln{constructor(t){super(),this.apiClient=t,this.embedContent=async i=>{if(!this.apiClient.isVertexAI())return i.model.includes("gemini-embedding-2")&&(i.contents=wt(i.contents)),await this.embedContentInternal(i);if(i.model.includes("gemini")&&i.model!=="gemini-embedding-001"||i.model.includes("maas")){const l=wt(i.contents);if(l.length>1)throw new Error("The embedContent API for this model only supports one content at a time.");const c=Object.assign(Object.assign({},i),{content:l[0],embeddingApiType:_l.EMBED_CONTENT});return await this.embedContentInternal(c)}else{const l=Object.assign(Object.assign({},i),{embeddingApiType:_l.PREDICT});return await this.embedContentInternal(l)}},this.generateContent=async i=>{var o,l,c,m,p;const y=await this.processParamsMaybeAddMcpUsage(i);if(this.maybeMoveToResponseJsonSchem(i),!z2(i)||gg(i.config))return await this.generateContentInternal(y);const g=yg(i);if(g.length>0){const I=g.map(C=>`tools[${C}]`).join(", ");throw new Error(`Automatic function calling with CallableTools (or MCP objects) and basic FunctionDeclarations is not yet supported. Incompatible tools found at ${I}.`)}let v,b;const w=wt(y.contents),T=(c=(l=(o=y.config)===null||o===void 0?void 0:o.automaticFunctionCalling)===null||l===void 0?void 0:l.maximumRemoteCalls)!==null&&c!==void 0?c:hg;let A=0;for(;A<T&&(v=await this.generateContentInternal(y),!(!v.functionCalls||v.functionCalls.length===0));){const I=v.candidates[0].content,C=[];for(const N of(p=(m=i.config)===null||m===void 0?void 0:m.tools)!==null&&p!==void 0?p:[])if(Na(N)){const L=await N.callTool(v.functionCalls);C.push(...L)}A++,b={role:"user",parts:C}
143,y.contents=wt(y.contents),y.contents.push(I),y.contents.push(b),xg(y.config)&&(w.push(I),w.push(b))}return xg(y.config)&&(v.automaticFunctionCallingHistory=w),v},this.generateContentStream=async i=>{var o,l,c,m,p;if(this.maybeMoveToResponseJsonSchem(i),gg(i.config)){const b=await this.processParamsMaybeAddMcpUsage(i);return await this.generateContentStreamInternal(b)}const y=yg(i);if(y.length>0){const b=y.map(w=>`tools[${w}]`).join(", ");throw new Error(`Incompatible tools found at ${b}. Automatic function calling with CallableTools (or MCP objects) and basic FunctionDeclarations" is not yet supported.`)}const g=(c=(l=(o=i==null?void 0:i.config)===null||o===void 0?void 0:o.toolConfig)===null||l===void 0?void 0:l.functionCallingConfig)===null||c===void 0?void 0:c.streamFunctionCallArguments,v=(p=(m=i==null?void 0:i.config)===null||m===void 0?void 0:m.automaticFunctionCalling)===null||p===void 0?void 0:p.disable;if(g&&!v)throw new Error("Running in streaming mode with 'streamFunctionCallArguments' enabled, this feature is not compatible with automatic function calling (AFC). Please set 'config.automaticFunctionCalling.disable' to true to disable AFC or leave 'config.toolConfig.functionCallingConfig.streamFunctionCallArguments' to be undefined or set to false to disable streaming function call arguments feature.");return await this.processAfcStream(i)},this.generateImages=async i=>await this.generateImagesInternal(i).then(o=>{var l;let c;const m=[];if(o!=null&&o.generatedImages)for(const y of o.generatedImages)y&&(y!=null&&y.safetyAttributes)&&((l=y==null?void 0:y.safetyAttributes)===null||l===void 0?void 0:l.contentType)==="Positive Prompt"?c=y==null?void 0:y.safetyAttributes:m.push(y);let p;return c?p={generatedImages:m,positivePromptSafetyAttributes:c,sdkHttpResponse:o.sdkHttpResponse}:p={generatedImages:m,sdkHttpResponse:o.sdkHttpResponse},p}),this.list=async i=>{var o;const m={config:Object.assign(Object.assign({},{queryBase:!0}),i==null?void 0:i.config)};if(this.apiClient.isVertexAI()&&!m.config.queryBase){if(!((o=m.config)===null||o===void 0)&&o.filter)throw new Error("Filtering tuned models list for Gemini Enterprise Agent Platform (previously known as Vertex AI) is not currently supported");m.config.filter="labels.tune-type:*"}return new Pi(Dn.PAGED_ITEM_MODELS,p=>this.listInternal(p),await this.listInternal(m),m)},this.editImage=async i=>{const o={model:i.model,prompt:i.prompt,referenceImages:[],config:i.config};return i.referenceImages&&i.referenceImages&&(o.referenceImages=i.referenceImages.map(l=>l.toReferenceImageAPI())),await this.editImageInternal(o)},this.upscaleImage=async i=>{let o={numberOfImages:1,mode:"upscale"};i.config&&(o=Object.assign(Object.assign({},o),i.config));const l={model:i.model,image:i.image,upscaleFactor:i.upscaleFactor,config:o};return await this.upscaleImageInternal(l)},this.generateVideos=async i=>{var o,l,c,m,p,y;if((i.prompt||i.image||i.video)&&i.source)throw new Error("Source and prompt/image/video are mutually exclusive. Please only use source.");return this.apiClient.isVertexAI()||(!((o=i.video)===null||o===void 0)&&o.uri&&(!((l=i.video)===null||l===void 0)&&l.videoBytes)?i.video={uri:i.video.uri,mimeType:i.video.mimeType}:!((m=(c=i.source)===null||c===void 0?void 0:c.video)===null||m===void 0)&&m.uri&&(!((y=(p=i.source)===null||p===void 0?void 0:p.video)===null||y===void 0)&&y.videoBytes)&&(i.source.video={uri:i.source.video.uri,mimeType:i.source.video.mimeType})),await this.generateVideosInternal(i)}}maybeMoveToResponseJsonSchem(t){t.config&&t.config.responseSchema&&(t.config.responseJsonSchema||Object.keys(t.config.responseSchema).includes("$schema")&&(t.config.responseJsonSchema=t.config.responseSchema,delete t.config.responseSchema))}async processParamsMaybeAddMcpUsage(t){var i,o,l;const c=(i=t.config)===null||i===void 0?void 0:i.tools;if(!c)return t;const m=await Promise.all(c.map(async y=>Na(y)?await y.tool():y)),p={model:t.model,contents:t.contents,config:Object.assign(Object.assign({},t.config),{tools:m})};if(p.config.tools=m,t.config&&t.config.tools&&Jy(t.config.tools)){const y=(l=(o=t.config.httpOptions)===null||o===void 0?void 0:o.headers)!==null&&l!==void 0?l:{};let g=Object.assign({},y);Object.keys(g).length===0&&(g=this.apiClient.getDefaultHeaders()),Ky(g),p.config.httpOptions=Object.assign(Object.assign({},t.config.httpOptions),{headers:g})}return p}async initAfcToolsMap(t){var i,o,l;const c=new Map;for(const m of(o=(i=t.config)===null||i===void 0?void 0:i.tools)!==null&&o!==void 0?o:[])if(Na(m)){const p=m,y=await p.tool();for(const g of(l=y.functionDeclarations)!==null&&l!==void 0?l:[]){if(!g.name)throw new Error("Function declaration name is required.");
143if(c.has(g.name))throw new Error(`Duplicate tool declaration name: ${g.name}`);c.set(g.name,p)}}return c}async processAfcStream(t){var i,o,l;const c=(l=(o=(i=t.config)===null||i===void 0?void 0:i.automaticFunctionCalling)===null||o===void 0?void 0:o.maximumRemoteCalls)!==null&&l!==void 0?l:hg;let m=!1,p=0;const y=await this.initAfcToolsMap(t);return(function(g,v,b){return tn(this,arguments,function*(){for(var w,T,A,I,C,N;p<c;){m&&(p++,m=!1);const Y=yield fe(g.processParamsMaybeAddMcpUsage(b)),P=yield fe(g.generateContentStreamInternal(Y)),O=[],F=[];try{for(var R=!0,L=(T=void 0,nn(P)),q;q=yield fe(L.next()),w=q.done,!w;R=!0){I=q.value,R=!1;const $=I;if(yield yield fe($),$.candidates&&(!((C=$.candidates[0])===null||C===void 0)&&C.content)){F.push($.candidates[0].content);for(const ee of(N=$.candidates[0].content.parts)!==null&&N!==void 0?N:[])if(p<c&&ee.functionCall){if(!ee.functionCall.name)throw new Error("Function call name was not returned by the model.");if(v.has(ee.functionCall.name)){const ce=yield fe(v.get(ee.functionCall.name).callTool([ee.functionCall]));O.push(...ce)}else throw new Error(`Automatic function calling was requested, but not all the tools the model used implement the CallableTool interface. Available tools: ${v.keys()}, mising tool: ${ee.functionCall.name}`)}}}}catch($){T={error:$}}finally{try{!R&&!w&&(A=L.return)&&(yield fe(A.call(L)))}finally{if(T)throw T.error}}if(O.length>0){m=!0;const $=new Do;$.candidates=[{content:{role:"user",parts:O}}],yield yield fe($);const ee=[];ee.push(...F),ee.push({role:"user",parts:O});const ce=wt(b.contents).concat(ee);b.contents=ce}else break}})})(this,y,t)}async generateContentInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=dg(this.apiClient,t);return p=te("{model}:generateContent",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=mg(v),w=new Do;return Object.assign(w,b),w})}else{const g=ug(this.apiClient,t);return p=te("{model}:generateContent",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=fg(v),w=new Do;return Object.assign(w,b),w})}}async generateContentStreamInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=dg(this.apiClient,t);return p=te("{model}:streamGenerateContent?alt=sse",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.requestStream({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}),m.then(function(b){return tn(this,arguments,function*(){var w,T,A,I;try{for(var C=!0,N=nn(b),R;R=yield fe(N.next()),w=R.done,!w;C=!0){I=R.value,C=!1;const L=I,q=mg(yield fe(L.json()),t);q.sdkHttpResponse={headers:L.headers};const Y=new Do;Object.assign(Y,q),yield yield fe(Y)}}catch(L){T={error:L}}finally{try{!C&&!w&&(A=N.return)&&(yield fe(A.call(N)))}finally{if(T)throw T.error}}})})}else{const g=ug(this.apiClient,t);return p=te("{model}:streamGenerateContent?alt=sse",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.requestStream({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}),m.then(function(b){return tn(this,arguments,function*(){var w,T,A,I;try{for(var C=!0,N=nn(b),R;R=yield fe(N.next()),w=R.done,!w;C=!0){I=R.value,C=!1;const L=I,q=fg(yield fe(L.json()),t);q.sdkHttpResponse={headers:L.headers};const Y=new Do;Object.assign(Y,q),yield yield fe(Y)}}catch(L){T={error:L}}finally{try{!C&&!w&&(A=N.return)&&(yield fe(A.call(N)))}finally{if(T)throw T.error}}})})}}async embedContentInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=M_(this.apiClient,t,t),v=BT(t.model)?"{model}:embedContent":"{model}:predict";return p=te(v,g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(b=>b.json().then(w=>
143{const T=w;return T.sdkHttpResponse={headers:b.headers},T})),m.then(b=>{const w=k_(b,t),T=new $0;return Object.assign(T,w),T})}else{const g=R_(this.apiClient,t);return p=te("{model}:batchEmbedContents",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=D_(v),w=new $0;return Object.assign(w,b),w})}}async generateImagesInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=q_(this.apiClient,t);return p=te("{model}:predict",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=$_(v),w=new Y0;return Object.assign(w,b),w})}else{const g=O_(this.apiClient,t);return p=te("{model}:predict",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=F_(v),w=new Y0;return Object.assign(w,b),w})}}async editImageInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI()){const p=__(this.apiClient,t);return c=te("{model}:predict",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json().then(g=>{const v=g;return v.sdkHttpResponse={headers:y.headers},v})),l.then(y=>{const g=N_(y),v=new xT;return Object.assign(v,g),v})}else throw new Error("This method is only supported by the Gemini Enterprise Agent Platform (previously known as Vertex AI).")}async upscaleImageInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI()){const p=$N(this.apiClient,t);return c=te("{model}:predict",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json().then(g=>{const v=g;return v.sdkHttpResponse={headers:y.headers},v})),l.then(y=>{const g=YN(y),v=new vT;return Object.assign(v,g),v})}else throw new Error("This method is only supported by the Gemini Enterprise Agent Platform (previously known as Vertex AI).")}async recontextImage(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI()){const p=_N(this.apiClient,t);return c=te("{model}:predict",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>{const g=NN(y),v=new bT;return Object.assign(v,g),v})}else throw new Error("This method is only supported by the Gemini Enterprise Agent Platform (previously known as Vertex AI).")}async segmentImage(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI()){const p=kN(this.apiClient,t);return c=te("{model}:predict",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>{const g=LN(y),v=new wT;return Object.assign(v,g),v})}else throw new Error("This method is only supported by the Gemini Enterprise Agent Platform (previously known as Vertex AI).")}async get(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=cN(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json()),m.then(v=>Ru(v))}else{const g=rN(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json()),m.then(v=>Iu(v))}}async listInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=xN(this.apiClient,t);return p=te("{models_url}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=bN(v),w=new J0;return Object.assign(w,b),w})}else{const g=yN(this.apiClient,t);return p=te("{models_url}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=vN(v),w=new J0;return Object.assign(w,b),w})}}async update(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=qN(this.apiClient,t);return p=te("{model}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"PATCH",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json()),m.then(v=>Ru(v))}else{const g=ON(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"PATCH",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json()),m.then(v=>Iu(v))}}async delete(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=E_(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"DELETE",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=S_(v),w=new K0;return Object.assign(w,b),w})}else{const g=w_(this.apiClient,t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"DELETE",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=T_(v),w=new K0;return Object.assign(w,b),w})}}async countTokens(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=x_(this.apiClient,t);return p=te("{model}:countTokens",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=b_(v),w=new X0;return Object.assign(w,b),w})}else{const g=y_(this.apiClient,t);return p=te("{model}:countTokens",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=v_(v),w=new X0;return Object.assign(w,b),w})}}async computeTokens(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI()){const p=u_(this.apiClient,t);return c=te("{model}:computeTokens",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json().then(g=>{const v=g;return v.sdkHttpResponse={headers:y.headers},v})),l.then(y=>{const g=d_(y),v=new ET;return Object.assign(v,g),v})}else throw new Error("This method is only supported by the Gemini Enterprise Agent Platform (previously known as Vertex AI).")}async generateVideosInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=W_(this.apiClient,t);return p=te("{model}:predictLongRunning",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json()),m.then(v=>{const b=X_(v),w=new Nl;return Object.assign(w,b),w})}else{const g=Q_(this.apiClient,t);return p=te("{model}:predictLongRunning",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json()),m.then(v=>{const b=K_(v),w=new Nl;return Object.assign(w,b),w})}}}/**
144 * @license
145 * Copyright 2025 Google LLC
146 * SPDX-License-Identifier: Apache-2.0
147 */class O2 extends Ln{constructor(t){super(),this.apiClient=t}async getVideosOperation(t){const i=t.operation,o=t.config;if(i.name===void 0||i.name==="")throw new Error("Operation name is required.");
147if(this.apiClient.isVertexAI()){const l=i.name.split("/operations/")[0];let c;o&&"httpOptions"in o&&(c=o.httpOptions);const m=await this.fetchPredictVideosOperationInternal({operationName:i.name,resourceName:l,config:{httpOptions:c}});return i._fromAPIResponse({apiResponse:m,_isVertexAI:!0})}else{const l=await this.getVideosOperationInternal({operationName:i.name,config:o});return i._fromAPIResponse({apiResponse:l,_isVertexAI:!1})}}async get(t){const i=t.operation,o=t.config;if(i.name===void 0||i.name==="")throw new Error("Operation name is required.");if(this.apiClient.isVertexAI()){const l=i.name.split("/operations/")[0];let c;o&&"httpOptions"in o&&(c=o.httpOptions);const m=await this.fetchPredictVideosOperationInternal({operationName:i.name,resourceName:l,config:{httpOptions:c}});return i._fromAPIResponse({apiResponse:m,_isVertexAI:!0})}else{const l=await this.getVideosOperationInternal({operationName:i.name,config:o});return i._fromAPIResponse({apiResponse:l,_isVertexAI:!1})}}async getVideosOperationInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=fT(t);return p=te("{operationName}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json()),m}else{const g=dT(t);return p=te("{operationName}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json()),m}}async fetchPredictVideosOperationInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI()){const p=aT(t);return c=te("{resourceName}:fetchPredictOperation",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l}else throw new Error("This method is only supported by the Gemini Enterprise Agent Platform (previously known as Vertex AI).")}}/**
148 * @license
149 * Copyright 2025 Google LLC
150 * SPDX-License-Identifier: Apache-2.0
151 */function vg(e){const t={};if(d(e,["languageCodes"])!==void 0)throw new Error("languageCodes parameter is not supported in Gemini API.");return t}function q2(e){const t={},i=d(e,["apiKey"]);if(i!=null&&f(t,["apiKey"],i),d(e,["apiKeyConfig"])!==void 0)throw new Error("apiKeyConfig parameter is not supported in Gemini API.");if(d(e,["authType"])!==void 0)throw new Error("authType parameter is not supported in Gemini API.");if(d(e,["googleServiceAccountConfig"])!==void 0)throw new Error("googleServiceAccountConfig parameter is not supported in Gemini API.");if(d(e,["httpBasicAuthConfig"])!==void 0)throw new Error("httpBasicAuthConfig parameter is not supported in Gemini API.");if(d(e,["oauthConfig"])!==void 0)throw new Error("oauthConfig parameter is not supported in Gemini API.");if(d(e,["oidcConfig"])!==void 0)throw new Error("oidcConfig parameter is not supported in Gemini API.");return t}function F2(e){const t={},i=d(e,["data"]);if(i!=null&&f(t,["data"],i),d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const o=d(e,["mimeType"]);return o!=null&&f(t,["mimeType"],o),t}function $2(e){const t={},i=d(e,["parts"]);if(i!=null){let l=i;Array.isArray(l)&&(l=l.map(c=>tC(c))),f(t,["parts"],l)}const o=d(e,["role"]);return o!=null&&f(t,["role"],o),t}function Y2(e,t,i){const o={},l=d(t,["expireTime"]);i!==void 0&&l!=null&&f(i,["expireTime"],l);const c=d(t,["newSessionExpireTime"]);i!==void 0&&c!=null&&f(i,["newSessionExpireTime"],c);const m=d(t,["uses"]);i!==void 0&&m!=null&&f(i,["uses"],m);const p=d(t,["liveConnectConstraints"]);i!==void 0&&p!=null&&f(i,["bidiGenerateContentSetup"],eC(e,p));const y=d(t,["lockAdditionalFields"]);return i!==void 0&&y!=null&&f(i,["fieldMask"],y),o}function J2(e,t){const i={},o=d(t,["config"]);return o!=null&&f(i,["config"],Y2(e,o,i)),i}function K2(e){const t={};if(d(e,["displayName"])!==void 0)throw new Error("displayName parameter is not supported in Gemini API.");const i=d(e,["fileUri"]);i!=null&&f(t,["fileUri"],i);const o=d(e,["mimeType"]);return o!=null&&f(t,["mimeType"],o),t}function X2(e){const t={},i=d(e,["id"]);i!=null&&f(t,["id"],i);const o=d(e,["args"]);o!=null&&f(t,["args"],o);const l=d(e,["name"]);if(l!=null&&f(t,["name"],l),d(e,["partialArgs"])!==void 0)throw new Error("partialArgs parameter is not supported in Gemini API.");
151if(d(e,["willContinue"])!==void 0)throw new Error("willContinue parameter is not supported in Gemini API.");return t}function Q2(e){const t={},i=d(e,["authConfig"]);i!=null&&f(t,["authConfig"],q2(i));const o=d(e,["enableWidget"]);return o!=null&&f(t,["enableWidget"],o),t}function W2(e){const t={},i=d(e,["searchTypes"]);if(i!=null&&f(t,["searchTypes"],i),d(e,["blockingConfidence"])!==void 0)throw new Error("blockingConfidence parameter is not supported in Gemini API.");if(d(e,["excludeDomains"])!==void 0)throw new Error("excludeDomains parameter is not supported in Gemini API.");const o=d(e,["timeRangeFilter"]);return o!=null&&f(t,["timeRangeFilter"],o),t}function Z2(e,t){const i={},o=d(e,["generationConfig"]);t!==void 0&&o!=null&&f(t,["setup","generationConfig"],o);const l=d(e,["responseModalities"]);t!==void 0&&l!=null&&f(t,["setup","generationConfig","responseModalities"],l);const c=d(e,["temperature"]);t!==void 0&&c!=null&&f(t,["setup","generationConfig","temperature"],c);const m=d(e,["topP"]);t!==void 0&&m!=null&&f(t,["setup","generationConfig","topP"],m);const p=d(e,["topK"]);t!==void 0&&p!=null&&f(t,["setup","generationConfig","topK"],p);const y=d(e,["maxOutputTokens"]);t!==void 0&&y!=null&&f(t,["setup","generationConfig","maxOutputTokens"],y);const g=d(e,["mediaResolution"]);t!==void 0&&g!=null&&f(t,["setup","generationConfig","mediaResolution"],g);const v=d(e,["seed"]);t!==void 0&&v!=null&&f(t,["setup","generationConfig","seed"],v);const b=d(e,["speechConfig"]);t!==void 0&&b!=null&&f(t,["setup","generationConfig","speechConfig"],od(b));const w=d(e,["thinkingConfig"]);t!==void 0&&w!=null&&f(t,["setup","generationConfig","thinkingConfig"],w);const T=d(e,["enableAffectiveDialog"]);t!==void 0&&T!=null&&f(t,["setup","generationConfig","enableAffectiveDialog"],T);const A=d(e,["systemInstruction"]);t!==void 0&&A!=null&&f(t,["setup","systemInstruction"],$2(it(A)));const I=d(e,["tools"]);if(t!==void 0&&I!=null){let F=Ma(I);Array.isArray(F)&&(F=F.map($=>aC(Ra($)))),f(t,["setup","tools"],F)}const C=d(e,["sessionResumption"]);t!==void 0&&C!=null&&f(t,["setup","sessionResumption"],iC(C));const N=d(e,["inputAudioTranscription"]);t!==void 0&&N!=null&&f(t,["setup","inputAudioTranscription"],vg(N));const R=d(e,["outputAudioTranscription"]);t!==void 0&&R!=null&&f(t,["setup","outputAudioTranscription"],vg(R));const L=d(e,["realtimeInputConfig"]);t!==void 0&&L!=null&&f(t,["setup","realtimeInputConfig"],L);const q=d(e,["contextWindowCompression"]);t!==void 0&&q!=null&&f(t,["setup","contextWindowCompression"],q);const Y=d(e,["proactivity"]);if(t!==void 0&&Y!=null&&f(t,["setup","proactivity"],Y),d(e,["explicitVadSignal"])!==void 0)throw new Error("explicitVadSignal parameter is not supported in Gemini API.");const P=d(e,["avatarConfig"]);t!==void 0&&P!=null&&f(t,["setup","avatarConfig"],P);const O=d(e,["safetySettings"]);if(t!==void 0&&O!=null){let F=O;Array.isArray(F)&&(F=F.map($=>nC($))),f(t,["setup","safetySettings"],F)}return i}function eC(e,t){const i={},o=d(t,["model"]);o!=null&&f(i,["setup","model"],Ae(e,o));const l=d(t,["config"]);return l!=null&&f(i,["config"],Z2(l,i)),i}function tC(e){const t={},i=d(e,["mediaResolution"]);i!=null&&f(t,["mediaResolution"],i);const o=d(e,["codeExecutionResult"]);o!=null&&f(t,["codeExecutionResult"],o);const l=d(e,["executableCode"]);l!=null&&f(t,["executableCode"],l);const c=d(e,["fileData"]);c!=null&&f(t,["fileData"],K2(c));const m=d(e,["functionCall"]);m!=null&&f(t,["functionCall"],X2(m));const p=d(e,["functionResponse"]);p!=null&&f(t,["functionResponse"],p);const y=d(e,["inlineData"]);y!=null&&f(t,["inlineData"],F2(y));const g=d(e,["text"]);g!=null&&f(t,["text"],g);const v=d(e,["thought"]);v!=null&&f(t,["thought"],v);const b=d(e,["thoughtSignature"]);b!=null&&f(t,["thoughtSignature"],b);const w=d(e,["videoMetadata"]);w!=null&&f(t,["videoMetadata"],w);const T=d(e,["toolCall"]);T!=null&&f(t,["toolCall"],T);const A=d(e,["toolResponse"]);A!=null&&f(t,["toolResponse"],A);const I=d(e,["partMetadata"]);return I!=null&&f(t,["partMetadata"],I),t}function nC(e){const t={},i=d(e,["category"]);if(i!=null&&f(t,["category"],i),d(e,["method"])!==void 0)throw new Error("method parameter is not supported in Gemini API.");const o=d(e,["threshold"]);return o!=null&&f(t,["threshold"],o),t}function iC(e){const t={},i=d(e,["handle"]);if(i!=null&&f(t,["handle"],i),d(e,["transparent"])!==void 0)throw new Error("transparent parameter is not supported in Gemini API.");return t}function aC(e){const t={};if(d(e,["retrieval"])!==void 0)throw new Error("retrieval parameter is not supported in Gemini API.");const i=d(e,["computerUse"]);i!=null&&f(t,["computerUse"],i);const o=d(e,["fileSearch"]);o!=null&&f(t,["fileSearch"],o);const l=d(e,["googleSearch"]);l!=null&&f(t,["googleSearch"],W2(l));const c=d(e,["googleMaps"]);c!=null&&f(t,["googleMaps"],Q2(c));const m=d(e,["codeExecution"]);if(m!=null&&f(t,["codeExecution"],m),d(e,["enterpriseWebSearch"])!==void 0)throw new Error("enterpriseWebSearch parameter is not supported in Gemini API.");const p=d(e,["functionDeclarations"]);if(p!=null){let b=p;Array.isArray(b)&&(b=b.map(w=>w)),f(t,["functionDeclarations"],b)}const y=d(e,["googleSearchRetrieval"]);if(y!=null&&f(t,["googleSearchRetrieval"],y),d(e,["parallelAiSearch"])!==void 0)throw new Error("parallelAiSearch parameter is not supported in Gemini API.");
151const g=d(e,["urlContext"]);g!=null&&f(t,["urlContext"],g);const v=d(e,["mcpServers"]);if(v!=null){let b=v;Array.isArray(b)&&(b=b.map(w=>w)),f(t,["mcpServers"],b)}return t}/**
152 * @license
153 * Copyright 2025 Google LLC
154 * SPDX-License-Identifier: Apache-2.0
155 */function oC(e){const t=[];for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const o=e[i];if(typeof o=="object"&&o!=null&&Object.keys(o).length>0){const l=Object.keys(o).map(c=>`${i}.${c}`);t.push(...l)}else t.push(i)}return t.join(",")}function sC(e,t){let i=null;const o=e.bidiGenerateContentSetup;if(typeof o=="object"&&o!==null&&"setup"in o){const c=o.setup;typeof c=="object"&&c!==null?(e.bidiGenerateContentSetup=c,i=c):delete e.bidiGenerateContentSetup}else o!==void 0&&delete e.bidiGenerateContentSetup;const l=e.fieldMask;if(i){const c=oC(i);if(Array.isArray(t==null?void 0:t.lockAdditionalFields)&&(t==null?void 0:t.lockAdditionalFields.length)===0)c?e.fieldMask=c:delete e.fieldMask;else if(t!=null&&t.lockAdditionalFields&&t.lockAdditionalFields.length>0&&l!==null&&Array.isArray(l)&&l.length>0){const m=["temperature","topK","topP","maxOutputTokens","responseModalities","seed","speechConfig"];let p=[];l.length>0&&(p=l.map(g=>m.includes(g)?`generationConfig.${g}`:g));const y=[];c&&y.push(c),p.length>0&&y.push(...p),y.length>0?e.fieldMask=y.join(","):delete e.fieldMask}else delete e.fieldMask}else l!==null&&Array.isArray(l)&&l.length>0?e.fieldMask=l.join(","):delete e.fieldMask;return e}class lC extends Ln{constructor(t){super(),this.apiClient=t}async create(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("The client.tokens.create method is only supported by the Gemini Developer API.");{const p=J2(this.apiClient,t);c=te("auth_tokens",p._url),m=p._query,delete p.config,delete p._url,delete p._query;const y=sC(p,t.config);return l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(y),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(g=>g.json()),l.then(g=>g)}}}/**
156 * @license
157 * Copyright 2025 Google LLC
158 * SPDX-License-Identifier: Apache-2.0
159 */function rC(e,t){const i={},o=d(e,["force"]);return t!==void 0&&o!=null&&f(t,["_query","force"],o),i}function cC(e){const t={},i=d(e,["name"]);i!=null&&f(t,["_url","name"],i);const o=d(e,["config"]);return o!=null&&rC(o,t),t}function uC(e){const t={},i=d(e,["name"]);return i!=null&&f(t,["_url","name"],i),t}function dC(e,t){const i={},o=d(e,["pageSize"]);t!==void 0&&o!=null&&f(t,["_query","pageSize"],o);const l=d(e,["pageToken"]);return t!==void 0&&l!=null&&f(t,["_query","pageToken"],l),i}function fC(e){const t={},i=d(e,["parent"]);i!=null&&f(t,["_url","parent"],i);const o=d(e,["config"]);return o!=null&&dC(o,t),t}function mC(e){const t={},i=d(e,["sdkHttpResponse"]);i!=null&&f(t,["sdkHttpResponse"],i);const o=d(e,["nextPageToken"]);o!=null&&f(t,["nextPageToken"],o);const l=d(e,["documents"]);if(l!=null){let c=l;Array.isArray(c)&&(c=c.map(m=>m)),f(t,["documents"],c)}return t}/**
160 * @license
161 * Copyright 2025 Google LLC
162 * SPDX-License-Identifier: Apache-2.0
163 */class pC extends Ln{constructor(t){super(),this.apiClient=t,this.list=async i=>new Pi(Dn.PAGED_ITEM_DOCUMENTS,o=>this.listInternal({parent:i.parent,config:o.config}),await this.listInternal(i),i)}async get(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=uC(t);return c=te("{name}",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>y)}}async delete(t){var i,o;let l="",c={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const m=cC(t);l=te("{name}",m._url),c=m._query,delete m._url,delete m._query,await this.apiClient.request({path:l,queryParams:c,body:JSON.stringify(m),httpMethod:"DELETE",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal})}}async listInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=fC(t);return c=te("{parent}/documents",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>{const g=mC(y),v=new ST;return Object.assign(v,g),v})}}}/**
164 * @license
165 * Copyright 2025 Google LLC
166 * SPDX-License-Identifier: Apache-2.0
167 */class hC extends Ln{constructor(t,i=new pC(t)){super(),this.apiClient=t,this.documents=i,this.list=async(o={})=>new Pi(Dn.PAGED_ITEM_FILE_SEARCH_STORES,l=>this.listInternal(l),await this.listInternal(o),o)}async uploadToFileSearchStore(t){if(this.apiClient.isVertexAI())throw new Error("Gemini Enterprise Agent Platform (previously known as Vertex AI) does not support uploading files to a file search store.");return this.apiClient.uploadFileToFileSearchStore(t.fileSearchStoreName,t.file,t.config)}async create(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=e2(t);return c=te("fileSearchStores",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>y)}}async get(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=i2(t);return c=te("{name}",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>y)}}async delete(t){var i,o;let l="",c={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const m=n2(t);l=te("{name}",m._url),c=m._query,delete m._url,delete m._query,await this.apiClient.request({path:l,queryParams:c,body:JSON.stringify(m),httpMethod:"DELETE",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal})}}async listInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=c2(t);return c=te("fileSearchStores",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>{const g=u2(y),v=new AT;return Object.assign(v,g),v})}}async uploadToFileSearchStoreInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=d2(t);return c=te("upload/v1beta/{file_search_store_name}:uploadToFileSearchStore",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>{const g=f2(y),v=new _T;return Object.assign(v,g),v})}}async importFile(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=s2(t);return c=te("{file_search_store_name}:importFile",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json()),l.then(y=>{const g=o2(y),v=new ed;return Object.assign(v,g),v})}}}/**
168 * @license
169 * Copyright 2025 Google LLC
170 * SPDX-License-Identifier: Apache-2.0
171 */let Xy=function(){const{crypto:e}=globalThis;if(e!=null&&e.randomUUID)return Xy=e.randomUUID.bind(e),e.randomUUID();const t=new Uint8Array(1),i=e?()=>e.getRandomValues(t)[0]:()=>Math.random()*255&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,o=>(+o^i()&15>>+o/4).toString(16))};const gC=()=>Xy();/**
172 * @license
173 * Copyright 2025 Google LLC
174 * SPDX-License-Identifier: Apache-2.0
175 */function Du(e){return typeof e=="object"&&e!==null&&("name"in e&&e.name==="AbortError"||"message"in e&&String(e.message).includes("FetchRequestCanceledException"))}const ku=e=>{if(e instanceof Error)return e;if(typeof e=="object"&&e!==null){try{if(Object.prototype.toString.call(e)==="[object Error]"){const t=new Error(e.message,e.cause?{cause:e.cause}:{});return e.stack&&(t.stack=e.stack),e.cause&&!t.cause&&(t.cause=e.cause),e.name&&(t.name=e.name),t}}catch{}try{return new Error(JSON.stringify(e))}catch{}}return new Error(e)};/**
176 * @license
177 * Copyright 2025 Google LLC
178 * SPDX-License-Identifier: Apache-2.0
179 */class Ft extends Error{}class mt extends Ft{constructor(t,i,o,l){super(`${mt.makeMessage(t,i,o)}`),this.status=t,this.headers=l,this.error=i}static makeMessage(t,i,o){const l=i!=null&&i.message?typeof i.message=="string"?i.message:JSON.stringify(i.message):i?JSON.stringify(i):o;return t&&l?`${t} ${l}`:t?`${t} status code (no body)`:l||"(no status code or body)"}static generate(t,i,o,l){if(!t||!l)return new Vl({message:o,cause:ku(i)});const c=i;return t===400?new Wy(t,c,o,l):t===401?new Zy(t,c,o,l):t===403?new ex(t,c,o,l):t===404?new tx(t,c,o,l):t===409?new nx(t,c,o,l):t===422?new ix(t,c,o,l):t===429?new ax(t,c,o,l):t>=500?new ox(t,c,o,l):new mt(t,c,o,l)}}class Lu extends mt{constructor({message:t}={}){super(void 0,void 0,t||"Request was aborted.",void 0)}}class Vl extends mt{constructor({message:t,cause:i}){super(void 0,void 0,t||"Connection error.",void 0),i&&(this.cause=i)}}class Qy extends Vl{constructor({message:t}={}){super({message:t??"Request timed out."})}}class Wy extends mt{}class Zy extends mt{}class ex extends mt{}class tx extends mt{}class nx extends mt{}class ix extends mt{}class ax extends mt{}class ox extends mt{}/**
180 * @license
181 * Copyright 2025 Google LLC
182 * SPDX-License-Identifier: Apache-2.0
183 */const yC=/^[a-z][a-z0-9+.-]*:/i,xC=e=>yC.test(e);let Pu=e=>(Pu=Array.isArray,Pu(e));const vC=Pu;let bC=vC;const bg=bC;function wg(e){if(!e)return!0;for(const t in e)return!1;return!0}function wC(e,t){return Object.prototype.hasOwnProperty.call(e,t)}const EC=(e,t)=>{if(typeof t!="number"||!Number.isInteger(t))throw new Ft(`${e} must be an integer`);if(t<0)throw new Ft(`${e} must be a positive integer`);return t},TC=e=>{try{return JSON.parse(e)}catch{return}};/**
184 * @license
185 * Copyright 2025 Google LLC
186 * SPDX-License-Identifier: Apache-2.0
187 */const SC=e=>new Promise(t=>setTimeout(t,e));/**
188 * @license
189 * Copyright 2025 Google LLC
190 * SPDX-License-Identifier: Apache-2.0
191 */function AC(){if(typeof fetch<"u")return fetch;throw new Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new GeminiNextGenAPIClient({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}function sx(...e){const t=globalThis.ReadableStream;if(typeof t>"u")throw new Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new t(...e)}function _C(e){let t=Symbol.asyncIterator in e?e[Symbol.asyncIterator]():e[Symbol.iterator]();return sx({start(){},async pull(i){const{done:o,value:l}=await t.next();o?i.close():i.enqueue(l)},async cancel(){var i;await((i=t.return)===null||i===void 0?void 0:i.call(t))}})}function lx(e){if(e[Symbol.asyncIterator])return e;const t=e.getReader();return{async next(){try{const i=await t.read();return i!=null&&i.done&&t.releaseLock(),i}catch(i){throw t.releaseLock(),i}},async return(){const i=t.cancel();return t.releaseLock(),await i,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function NC(e){var t,i;if(e===null||typeof e!="object")return;if(e[Symbol.asyncIterator]){await((i=(t=e[Symbol.asyncIterator]()).return)===null||i===void 0?void 0:i.call(t));return}const o=e.getReader(),l=o.cancel();o.releaseLock(),await l}/**
192 * @license
193 * Copyright 2025 Google LLC
194 * SPDX-License-Identifier: Apache-2.0
195 */const CC=({headers:e,body:t})=>({bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(t)});/**
196 * @license
197 * Copyright 2025 Google LLC
198 * SPDX-License-Identifier: Apache-2.0
199 */function IC(e){return Object.entries(e).filter(([t,i])=>typeof i<"u").map(([t,i])=>{if(typeof i=="string"||typeof i=="number"||typeof i=="boolean")return`${encodeURIComponent(t)}=${encodeURIComponent(i)}`;if(i===null)return`${encodeURIComponent(t)}=`;throw new Ft(`Cannot stringify type ${typeof i}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}/**
200 * @license
201 * Copyright 2025 Google LLC
202 * SPDX-License-Identifier: Apache-2.0
203 */const RC="0.0.1";/**
204 * @license
205 * Copyright 2025 Google LLC
206 * SPDX-License-Identifier: Apache-2.0
207 */const rx=()=>{var e;if(typeof File>"u"){const{process:t}
207=globalThis,i=typeof((e=t==null?void 0:t.versions)===null||e===void 0?void 0:e.node)=="string"&&parseInt(t.versions.node.split("."))<20;throw new Error("`File` is not defined as a global, which is required for file uploads."+(i?" Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`.":""))}};function yu(e,t,i){return rx(),new File(e,t??"unknown_file",i)}function MC(e){return(typeof e=="object"&&e!==null&&("name"in e&&e.name&&String(e.name)||"url"in e&&e.url&&String(e.url)||"filename"in e&&e.filename&&String(e.filename)||"path"in e&&e.path&&String(e.path))||"").split(/[\\/]/).pop()||void 0}const DC=e=>e!=null&&typeof e=="object"&&typeof e[Symbol.asyncIterator]=="function";/**
208 * @license
209 * Copyright 2025 Google LLC
210 * SPDX-License-Identifier: Apache-2.0
211 */const cx=e=>e!=null&&typeof e=="object"&&typeof e.size=="number"&&typeof e.type=="string"&&typeof e.text=="function"&&typeof e.slice=="function"&&typeof e.arrayBuffer=="function",kC=e=>e!=null&&typeof e=="object"&&typeof e.name=="string"&&typeof e.lastModified=="number"&&cx(e),LC=e=>e!=null&&typeof e=="object"&&typeof e.url=="string"&&typeof e.blob=="function";async function PC(e,t,i){if(rx(),e=await e,kC(e))return e instanceof File?e:yu([await e.arrayBuffer()],e.name);if(LC(e)){const l=await e.blob();return t||(t=new URL(e.url).pathname.split(/[\\/]/).pop()),yu(await Hu(l),t,i)}const o=await Hu(e);if(t||(t=MC(e)),!(i!=null&&i.type)){const l=o.find(c=>typeof c=="object"&&"type"in c&&c.type);typeof l=="string"&&(i=Object.assign(Object.assign({},i),{type:l}))}return yu(o,t,i)}async function Hu(e){var t,i,o,l,c;let m=[];if(typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer)m.push(e);else if(cx(e))m.push(e instanceof Blob?e:await e.arrayBuffer());else if(DC(e))try{for(var p=!0,y=nn(e),g;g=await y.next(),t=g.done,!t;p=!0){l=g.value,p=!1;const v=l;m.push(...await Hu(v))}}catch(v){i={error:v}}finally{try{!p&&!t&&(o=y.return)&&await o.call(y)}finally{if(i)throw i.error}}else{const v=(c=e==null?void 0:e.constructor)===null||c===void 0?void 0:c.name;throw new Error(`Unexpected data type: ${typeof e}${v?`; constructor: ${v}`:""}${HC(e)}`)}return m}function HC(e){return typeof e!="object"||e===null?"":`; props: [${Object.getOwnPropertyNames(e).map(i=>`"${i}"`).join(", ")}]`}/**
212 * @license
213 * Copyright 2025 Google LLC
214 * SPDX-License-Identifier: Apache-2.0
215 */class ld{constructor(t){this._client=t}}ld._key=[];/**
216 * @license
217 * Copyright 2025 Google LLC
218 * SPDX-License-Identifier: Apache-2.0
219 */function ux(e){return e.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g,encodeURIComponent)}const Eg=Object.freeze(Object.create(null)),UC=(e=ux)=>(function(i,...o){if(i.length===1)return i[0];let l=!1;const c=[],m=i.reduce((v,b,w)=>{var T,A,I;/[?#]/.test(b)&&(l=!0);const C=o[w];let N=(l?encodeURIComponent:e)(""+C);return w!==o.length&&(C==null||typeof C=="object"&&C.toString===((I=Object.getPrototypeOf((A=Object.getPrototypeOf((T=C.hasOwnProperty)!==null&&T!==void 0?T:Eg))!==null&&A!==void 0?A:Eg))===null||I===void 0?void 0:I.toString))&&(N=C+"",c.push({start:v.length+b.length,length:N.length,error:`Value of type ${Object.prototype.toString.call(C).slice(8,-1)} is not a valid path parameter`})),v+b+(w===o.length?"":N)},""),p=m.split(/[?#]/,1)[0],y=/(^|\/)(?:\.|%2e){1,2}(?=\/|$)/gi;let g;for(;(g=y.exec(p))!==null;){const v=g[0].startsWith("/"),b=v?1:0,w=v?g[0].slice(1):g[0];c.push({start:g.index+b,length:w.length,error:`Value "${w}" can't be safely passed as a path parameter`})}if(c.sort((v,b)=>v.start-b.start),c.length>0){let v=0;const b=c.reduce((w,T)=>{const A=" ".repeat(T.start-v),I="^".repeat(T.length);return v=T.start+T.length,w+A+I},"");throw new Ft(`Path parameters result in path with invalid segments:
220${c.map(w=>w.error).join(`
221`)}
222${m}
223${b}`)}return m}),Zt=UC(ux);/**
224 * @license
225 * Copyright 2025 Google LLC
226 * SPDX-License-Identifier: Apache-2.0
227 */class dx extends ld{create(t,i){var o;const{api_version:l=this._client.apiVersion}=t,c=ci(t,["api_version"]);if("model"in c&&"agent_config"in c)throw new Ft("Invalid request: specified `model` and `agent_c
227onfig`. If specifying `model`, use `generation_config`.");if("agent"in c&&"generation_config"in c)throw new Ft("Invalid request: specified `agent` and `generation_config`. If specifying `agent`, use `agent_config`.");return this._client.post(Zt`/${l}/interactions`,Object.assign(Object.assign({body:c},i),{stream:(o=t.stream)!==null&&o!==void 0?o:!1}))}delete(t,i={},o){const{api_version:l=this._client.apiVersion}=i??{};return this._client.delete(Zt`/${l}/interactions/${t}`,o)}cancel(t,i={},o){const{api_version:l=this._client.apiVersion}=i??{};return this._client.post(Zt`/${l}/interactions/${t}/cancel`,o)}get(t,i={},o){var l;const c=i??{},{api_version:m=this._client.apiVersion}=c,p=ci(c,["api_version"]);return this._client.get(Zt`/${m}/interactions/${t}`,Object.assign(Object.assign({query:p},o),{stream:(l=i==null?void 0:i.stream)!==null&&l!==void 0?l:!1}))}}dx._key=Object.freeze(["interactions"]);class fx extends dx{}/**
228 * @license
229 * Copyright 2025 Google LLC
230 * SPDX-License-Identifier: Apache-2.0
231 */class mx extends ld{create(t,i){const{api_version:o=this._client.apiVersion}=t,l=ci(t,["api_version"]);return this._client.post(Zt`/${o}/webhooks`,Object.assign({body:l},i))}update(t,i={},o){const l=i??{},{api_version:c=this._client.apiVersion,update_mask:m}=l,p=ci(l,["api_version","update_mask"]);return this._client.patch(Zt`/${c}/webhooks/${t}`,Object.assign({query:{update_mask:m},body:p},o))}list(t={},i){const o=t??{},{api_version:l=this._client.apiVersion}=o,c=ci(o,["api_version"]);return this._client.get(Zt`/${l}/webhooks`,Object.assign({query:c},i))}delete(t,i={},o){const{api_version:l=this._client.apiVersion}=i??{};return this._client.delete(Zt`/${l}/webhooks/${t}`,o)}get(t,i={},o){const{api_version:l=this._client.apiVersion}=i??{};return this._client.get(Zt`/${l}/webhooks/${t}`,o)}ping(t,i=void 0,o){const{api_version:l=this._client.apiVersion,body:c}=i??{};return this._client.post(Zt`/${l}/webhooks/${t}:ping`,Object.assign({body:c},o))}rotateSigningSecret(t,i={},o){const l=i??{},{api_version:c=this._client.apiVersion}=l,m=ci(l,["api_version"]);return this._client.post(Zt`/${c}/webhooks/${t}:rotateSigningSecret`,Object.assign({body:m},o))}}mx._key=Object.freeze(["webhooks"]);class px extends mx{}/**
232 * @license
233 * Copyright 2025 Google LLC
234 * SPDX-License-Identifier: Apache-2.0
235 */function jC(e){let t=0;for(const l of e)t+=l.length;const i=new Uint8Array(t);let o=0;for(const l of e)i.set(l,o),o+=l.length;return i}let ul;function rd(e){let t;return(ul??(t=new globalThis.TextEncoder,ul=t.encode.bind(t)))(e)}let dl;function Tg(e){let t;return(dl??(t=new globalThis.TextDecoder,dl=t.decode.bind(t)))(e)}/**
236 * @license
237 * Copyright 2025 Google LLC
238 * SPDX-License-Identifier: Apache-2.0
239 */class zl{constructor(){this.buffer=new Uint8Array,this.carriageReturnIndex=null,this.searchIndex=0}decode(t){var i;if(t==null)return[];const o=t instanceof ArrayBuffer?new Uint8Array(t):typeof t=="string"?rd(t):t;this.buffer=jC([this.buffer,o]);const l=[];let c;for(;(c=GC(this.buffer,(i=this.carriageReturnIndex)!==null&&i!==void 0?i:this.searchIndex))!=null;){if(c.carriage&&this.carriageReturnIndex==null){this.carriageReturnIndex=c.index;continue}if(this.carriageReturnIndex!=null&&(c.index!==this.carriageReturnIndex+1||c.carriage)){l.push(Tg(this.buffer.subarray(0,this.carriageReturnIndex-1))),this.buffer=this.buffer.subarray(this.carriageReturnIndex),this.carriageReturnIndex=null,this.searchIndex=0;continue}const m=this.carriageReturnIndex!==null?c.preceding-1:c.preceding,p=Tg(this.buffer.subarray(0,m));l.push(p),this.buffer=this.buffer.subarray(c.index),this.carriageReturnIndex=null,this.searchIndex=0}return this.searchIndex=Math.max(0,this.buffer.length-1),l}flush(){return this.buffer.length?this.decode(`
240`):[]}}zl.NEWLINE_CHARS=new Set([`
241`,"\r"]);zl.NEWLINE_REGEXP=/\r\n|[\n\r]/g;function GC(e,t){const l=t??0,c=e.indexOf(10,l),m=e.indexOf(13,l);if(c===-1&&m===-1)return null;let p;return c!==-1&&m!==-1?p=Math.min(c,m):p=c!==-1?c:m,e[p]===10?{preceding:p,index:p+1,carriage:!1}:{preceding:p,index:p+1,carriage:!0}}/**
242 * @license
243 * Copyright 2025 Google LLC
244 * SPDX-License-Identifier: Apache-2.0
245 */const Il={off:0,error:200,warn:300,info:400,debug:500},Sg=(e,t,i)=>{if(e){if(wC(Il,e))return e;ft(i).warn(`${t} was set to ${JSON.stringify(e)}, expected one of ${JSON.stringify(Object.keys(Il))}`)}};function Ho(){}function fl(e,t,i){return!t||Il[e]>Il[i]?Ho:t[e].bind(t)}const VC={error:Ho,warn:Ho,info:Ho,debug:Ho};let Ag=new WeakMap;function ft(e){var t;const i=e.logger,o=(t=e.logLevel)!==null&&t!==void 0?t:"off";if(!i)return VC;const l=Ag.get(i);if(l&&l[0]===o)return l[1];const c={error:fl("error",i,o),warn:fl("warn",i,o),info:fl("info",i,o),debug:fl("debug",i,o)};return Ag.set(i,[o,c]),c}const ki=e=>(e.options&&(e.options=Object.assign({},e.options),delete e.options.headers),e.headers&&(e.headers=Object.fromEntries((e.headers instanceof Headers?[...e.headers]:Object.entries(e.headers)).map(([t,i])=>[t,t.toLowerCase()==="x-goog-api-key"||t.toLowerCase()==="authorization"||t.toLowerCase()==="cookie"||t.toLowerCase()==="set-cookie"?"***":i]))),"retryOfRequestLogID"in e&&(e.retryOfRequestLogID&&(e.retryOf=e.retryOfRequestLogID),delete e.retryOfRequestLogID),e);
245/**
246 * @license
247 * Copyright 2025 Google LLC
248 * SPDX-License-Identifier: Apache-2.0
249 */class Aa{constructor(t,i,o){this.iterator=t,this.controller=i,this.client=o}static fromSSEResponse(t,i,o){let l=!1;const c=o?ft(o):console;function m(){return tn(this,arguments,function*(){var y,g,v,b;if(l)throw new Ft("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");l=!0;let w=!1;try{try{for(var T=!0,A=nn(zC(t,i)),I;I=yield fe(A.next()),y=I.done,!y;T=!0){b=I.value,T=!1;const C=b;if(!w)if(C.data.startsWith("[DONE]")){w=!0;continue}else try{yield yield fe(JSON.parse(C.data))}catch(N){throw c.error("Could not parse message into JSON:",C.data),c.error("From chunk:",C.raw),N}}}catch(C){g={error:C}}finally{try{!T&&!y&&(v=A.return)&&(yield fe(v.call(A)))}finally{if(g)throw g.error}}w=!0}catch(C){if(Du(C))return yield fe(void 0);throw C}finally{w||i.abort()}})}return new Aa(m,i,o)}static fromReadableStream(t,i,o){let l=!1;function c(){return tn(this,arguments,function*(){var y,g,v,b;const w=new zl,T=lx(t);try{for(var A=!0,I=nn(T),C;C=yield fe(I.next()),y=C.done,!y;A=!0){b=C.value,A=!1;const N=b;for(const R of w.decode(N))yield yield fe(R)}}catch(N){g={error:N}}finally{try{!A&&!y&&(v=I.return)&&(yield fe(v.call(I)))}finally{if(g)throw g.error}}for(const N of w.flush())yield yield fe(N)})}function m(){return tn(this,arguments,function*(){var y,g,v,b;if(l)throw new Ft("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");l=!0;let w=!1;try{try{for(var T=!0,A=nn(c()),I;I=yield fe(A.next()),y=I.done,!y;T=!0){b=I.value,T=!1;const C=b;w||C&&(yield yield fe(JSON.parse(C)))}}catch(C){g={error:C}}finally{try{!T&&!y&&(v=A.return)&&(yield fe(v.call(A)))}finally{if(g)throw g.error}}w=!0}catch(C){if(Du(C))return yield fe(void 0);throw C}finally{w||i.abort()}})}return new Aa(m,i,o)}[Symbol.asyncIterator](){return this.iterator()}tee(){const t=[],i=[],o=this.iterator(),l=c=>({next:()=>{if(c.length===0){const m=o.next();t.push(m),i.push(m)}return c.shift()}});return[new Aa(()=>l(t),this.controller,this.client),new Aa(()=>l(i),this.controller,this.client)]}toReadableStream(){const t=this;let i;return sx({async start(){i=t[Symbol.asyncIterator]()},async pull(o){try{const{value:l,done:c}=await i.next();if(c)return o.close();const m=rd(JSON.stringify(l)+`
250`);o.enqueue(m)}catch(l){o.error(l)}},async cancel(){var o;await((o=i.return)===null||o===void 0?void 0:o.call(i))}})}}function zC(e,t){return tn(this,arguments,function*(){var o,l,c,m;if(!e.body)throw t.abort(),typeof globalThis.navigator<"u"&&globalThis.navigator.product==="ReactNative"?new Ft("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api"):new Ft("Attempted to iterate over a response with no body");const p=new OC,y=new zl,g=lx(e.body);try{for(var v=!0,b=nn(BC(g)),w;w=yield fe(b.next()),o=w.done,!o;v=!0){m=w.value,v=!1;const T=m;for(const A of y.decode(T)){const I=p.decode(A);I&&(yield yield fe(I))}}}catch(T){l={error:T}}finally{try{!v&&!o&&(c=b.return)&&(yield fe(c.call(b)))}finally{if(l)throw l.error}}for(const T of y.flush()){const A=p.decode(T);A&&(yield yield fe(A))}})}function BC(e){return tn(this,arguments,function*(){var i,o,l,c;try{for(var m=!0,p=nn(e),y;y=yield fe(p.next()),i=y.done,!i;m=!0){c=y.value,m=!1;const g=c;if(g==null)continue;const v=g instanceof ArrayBuffer?new Uint8Array(g):typeof g=="string"?rd(g):g;yield yield fe(v)}}catch(g){o={error:g}}finally{try{!m&&!i&&(l=p.return)&&(yield fe(l.call(p)))}finally{if(o)throw o.error}}})}class OC{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(t){if(t.endsWith("\r")&&(t=t.substring(0,t.length-1)),!t){if(!this.event&&!this.data.length)return null;const c={event:this.event,data:this.data.join(`
251`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],c}if(this.chunks.push(t),t.startsWith(":"))return null;let[i,o,l]=qC(t,":");return l.startsWith(" ")&&(l=l.substring(1)),i==="event"?this.event=l:i==="data"&&this.data.push(l),null}}function qC(e,t){const i=e.indexOf(t);return i!==-1?[e.substring(0,i),t,e.substring(i+t.length)]:[e,"",""]}/**
252 * @license
253 * Copyright 2025 Google LLC
254 * SPDX-License-Identifier: Apache-2.0
255 */async function FC(e,t){const{response:i,requestLogID:o,retryOfRequestLogID:l,startTime:c}=t,m=await(async()=>{var p;if(t.options.stream)return ft(e).debug("response",i.status,i.url,i.headers,i.body),t.options.__streamClass?t.options.__streamClass.fromSSEResponse(i,t.controller,e):Aa.fromSSEResponse(i,t.controller,e);if(i.status===204)return null;if(t.options.__binaryResponse)return i;const y=i.headers.get("content-type"),g=(p=y==null?void 0:y.split(";")[0])===null||p===void 0?void 0:p.trim();return(g==null?void 0:g.includes("application/json"))||(g==null?void 0:g.endsWith("+json"))?i.headers.get("content-length")==="0"?void 0:await i.json():await i.text()})();return ft(e).debug(`[${o}] response parsed`,ki({retryOfRequestLogID:l,url:i.url,status:i.status,body:m,durationMs:Date.now()-c})),m}/**
256 * @license
257 * Copyright 2025 Google LLC
258 * SPDX-License-Identifier: Apache-2.0
259 */class cd extends Promise{constructor(t,i,o=FC){super(l=>{l(null)}),this.responsePromise=i,this.parseResponse=o,this.client=t}_thenUnwrap(t){return new cd(this.client,this.responsePromise,async(i,o)=>t(await this.parseResponse(i,o),o))}asResponse(){return this.responsePromise.then(t=>t.response)}async withResponse(){const[t,i]=await Promise.all([this.parse(),this.asResponse()]);return{data:t,response:i}}parse(){return this.parsedPromise||(this.parsedPromise=this.responsePromise.then(t=>this.parseResponse(this.client,t))),this.parsedPromise}then(t,i){return this.parse().then(t,i)}catch(t){return this.parse().catch(t)}finally(t){return this.parse().finally(t)}}/**
260 * @license
261 * Copyright 2025 Google LLC
262 * SPDX-License-Identifier: Apache-2.0
263 */const hx=Symbol("brand.privateNullableHeaders");function*$C(e){if(!e)return;if(hx in e){const{values:o,nulls:l}=e;yield*o.entries();for(const c of l)yield[c,null];return}let t=!1,i;e instanceof Headers?i=e.entries():bg(e)?i=e:(t=!0,i=Object.entries(e??{}));for(let o of i){const l=o[0];if(typeof l!="string")throw new TypeError("expected header name to be a string");const c=bg(o[1])?o[1]:[o[1]];let m=!1;
263for(const p of c)p!==void 0&&(t&&!m&&(m=!0,yield[l,null]),yield[l,p])}}const ko=e=>{const t=new Headers,i=new Set;for(const o of e){const l=new Set;for(const[c,m]of $C(o)){const p=c.toLowerCase();l.has(p)||(t.delete(c),l.add(p)),m===null?(t.delete(c),i.add(p)):(t.append(c,m),i.delete(p))}}return{[hx]:!0,values:t,nulls:i}};/**
264 * @license
265 * Copyright 2025 Google LLC
266 * SPDX-License-Identifier: Apache-2.0
267 */const xu=e=>{var t,i,o,l,c;if(typeof globalThis.process<"u")return((i=(t=WE)===null||t===void 0?void 0:t[e])===null||i===void 0?void 0:i.trim())||void 0;if(typeof globalThis.Deno<"u")return((c=(l=(o=globalThis.Deno.env)===null||o===void 0?void 0:o.get)===null||l===void 0?void 0:l.call(o,e))===null||c===void 0?void 0:c.trim())||void 0};/**
268 * @license
269 * Copyright 2025 Google LLC
270 * SPDX-License-Identifier: Apache-2.0
271 */var gx;class Bl{constructor(t){var i,o,l,c,m,p,y,{baseURL:g=xu("GEMINI_NEXT_GEN_API_BASE_URL"),apiKey:v=(i=xu("GEMINI_API_KEY"))!==null&&i!==void 0?i:null,apiVersion:b="v1beta"}=t,w=ci(t,["baseURL","apiKey","apiVersion"]);const T=Object.assign(Object.assign({apiKey:v,apiVersion:b},w),{baseURL:g||"https://generativelanguage.googleapis.com"});this.baseURL=T.baseURL,this.timeout=(o=T.timeout)!==null&&o!==void 0?o:Bl.DEFAULT_TIMEOUT,this.logger=(l=T.logger)!==null&&l!==void 0?l:console;const A="warn";this.logLevel=A,this.logLevel=(m=(c=Sg(T.logLevel,"ClientOptions.logLevel",this))!==null&&c!==void 0?c:Sg(xu("GEMINI_NEXT_GEN_API_LOG"),"process.env['GEMINI_NEXT_GEN_API_LOG']",this))!==null&&m!==void 0?m:A,this.fetchOptions=T.fetchOptions,this.maxRetries=(p=T.maxRetries)!==null&&p!==void 0?p:2,this.fetch=(y=T.fetch)!==null&&y!==void 0?y:AC(),this.encoder=CC,this._options=T,this.apiKey=v,this.apiVersion=b,this.clientAdapter=T.clientAdapter}withOptions(t){return new this.constructor(Object.assign(Object.assign(Object.assign({},this._options),{baseURL:this.baseURL,maxRetries:this.maxRetries,timeout:this.timeout,logger:this.logger,logLevel:this.logLevel,fetch:this.fetch,fetchOptions:this.fetchOptions,apiKey:this.apiKey,apiVersion:this.apiVersion}),t))}baseURLOverridden(){return this.baseURL!=="https://generativelanguage.googleapis.com"}defaultQuery(){return this._options.defaultQuery}validateHeaders({values:t,nulls:i}){if(!(t.has("authorization")||t.has("x-goog-api-key"))&&!(this.apiKey&&t.get("x-goog-api-key"))&&!i.has("x-goog-api-key"))throw new Error('Could not resolve authentication method. Expected the apiKey to be set. Or for the "x-goog-api-key" headers to be explicitly omitted')}async authHeaders(t){const i=ko([t.headers]);if(!(i.values.has("authorization")||i.values.has("x-goog-api-key"))){if(this.apiKey)return ko([{"x-goog-api-key":this.apiKey}]);if(this.clientAdapter&&this.clientAdapter.isVertexAI())return ko([await this.clientAdapter.getAuthHeaders()])}}stringifyQuery(t){return IC(t)}getUserAgent(){return`${this.constructor.name}/JS ${RC}`}defaultIdempotencyKey(){return`stainless-node-retry-${gC()}`}makeStatusError(t,i,o,l){return mt.generate(t,i,o,l)}buildURL(t,i,o){const l=!this.baseURLOverridden()&&o||this.baseURL,c=xC(t)?new URL(t):new URL(l+(l.endsWith("/")&&t.startsWith("/")?t.slice(1):t)),m=this.defaultQuery(),p=Object.fromEntries(c.searchParams);return(!wg(m)||!wg(p))&&(i=Object.assign(Object.assign(Object.assign({},p),m),i)),typeof i=="object"&&i&&!Array.isArray(i)&&(c.search=this.stringifyQuery(i)),c.toString()}async prepareOptions(t){if(this.clientAdapter&&this.clientAdapter.isVertexAI()&&!t.path.startsWith(`/${this.apiVersion}/projects/`)){const i=t.path.slice(this.apiVersion.length+1);t.path=`/${this.apiVersion}/projects/${this.clientAdapter.getProject()}/locations/${this.clientAdapter.getLocation()}${i}`}}async prepareRequest(t,{url:i,options:o}){}get(t,i){return this.methodRequest("get",t,i)}post(t,i){return this.methodRequest("post",t,i)}patch(t,i){return this.methodRequest("patch",t,i)}put(t,i){return this.methodRequest("put",t,i)}delete(t,i){return this.methodRequest("delete",t,i)}methodRequest(t,i,o){return this.request(Promise.resolve(o).then(l=>Object.assign({method:t,path:i},l)))}
271request(t,i=null){return new cd(this,this.makeRequest(t,i,void 0))}async makeRequest(t,i,o){var l,c,m;const p=await t,y=(l=p.maxRetries)!==null&&l!==void 0?l:this.maxRetries;i==null&&(i=y),await this.prepareOptions(p);const{req:g,url:v,timeout:b}=await this.buildRequest(p,{retryCount:y-i});await this.prepareRequest(g,{url:v,options:p});const w="log_"+(Math.random()*(1<<24)|0).toString(16).padStart(6,"0"),T=o===void 0?"":`, retryOf: ${o}`,A=Date.now();if(ft(this).debug(`[${w}] sending request`,ki({retryOfRequestLogID:o,method:p.method,url:v,options:p,headers:g.headers})),!((c=p.signal)===null||c===void 0)&&c.aborted)throw new Lu;const I=new AbortController,C=await this.fetchWithTimeout(v,g,b,I).catch(ku),N=Date.now();if(C instanceof globalThis.Error){const L=`retrying, ${i} attempts remaining`;if(!((m=p.signal)===null||m===void 0)&&m.aborted)throw new Lu;const q=Du(C)||/timed? ?out/i.test(String(C)+("cause"in C?String(C.cause):""));if(i)return ft(this).info(`[${w}] connection ${q?"timed out":"failed"} - ${L}`),ft(this).debug(`[${w}] connection ${q?"timed out":"failed"} (${L})`,ki({retryOfRequestLogID:o,url:v,durationMs:N-A,message:C.message})),this.retryRequest(p,i,o??w);throw ft(this).info(`[${w}] connection ${q?"timed out":"failed"} - error; no more retries left`),ft(this).debug(`[${w}] connection ${q?"timed out":"failed"} (error; no more retries left)`,ki({retryOfRequestLogID:o,url:v,durationMs:N-A,message:C.message})),q?new Qy:new Vl({cause:C})}const R=`[${w}${T}] ${g.method} ${v} ${C.ok?"succeeded":"failed"} with status ${C.status} in ${N-A}ms`;if(!C.ok){const L=await this.shouldRetry(C);if(i&&L){const $=`retrying, ${i} attempts remaining`;return await NC(C.body),ft(this).info(`${R} - ${$}`),ft(this).debug(`[${w}] response error (${$})`,ki({retryOfRequestLogID:o,url:C.url,status:C.status,headers:C.headers,durationMs:N-A})),this.retryRequest(p,i,o??w,C.headers)}const q=L?"error; no more retries left":"error; not retryable";ft(this).info(`${R} - ${q}`);const Y=await C.text().catch($=>ku($).message),P=TC(Y),O=P?void 0:Y;throw ft(this).debug(`[${w}] response error (${q})`,ki({retryOfRequestLogID:o,url:C.url,status:C.status,headers:C.headers,message:O,durationMs:Date.now()-A})),this.makeStatusError(C.status,P,O,C.headers)}return ft(this).info(R),ft(this).debug(`[${w}] response start`,ki({retryOfRequestLogID:o,url:C.url,status:C.status,headers:C.headers,durationMs:N-A})),{response:C,options:p,controller:I,requestLogID:w,retryOfRequestLogID:o,startTime:A}}async fetchWithTimeout(t,i,o,l){const c=i||{},{signal:m,method:p}=c,y=ci(c,["signal","method"]),g=this._makeAbort(l);m&&m.addEventListener("abort",g,{once:!0});const v=setTimeout(g,o),b=globalThis.ReadableStream&&y.body instanceof globalThis.ReadableStream||typeof y.body=="object"&&y.body!==null&&Symbol.asyncIterator in y.body,w=Object.assign(Object.assign(Object.assign({signal:l.signal},b?{duplex:"half"}:{}),{method:"GET"}),y);p&&(w.method=p.toUpperCase());try{return await this.fetch.call(void 0,t,w)}finally{clearTimeout(v)}}async shouldRetry(t){const i=t.headers.get("x-should-retry");return i==="true"?!0:i==="false"?!1:t.status===408||t.status===409||t.status===429||t.status>=500}async retryRequest(t,i,o,l){var c;let m;const p=l==null?void 0:l.get("retry-after-ms");if(p){const g=parseFloat(p);Number.isNaN(g)||(m=g)}const y=l==null?void 0:l.get("retry-after");if(y&&!m){const g=parseFloat(y);Number.isNaN(g)?m=Date.parse(y)-Date.now():m=g*1e3}if(m===void 0){const g=(c=t.maxRetries)!==null&&c!==void 0?c:this.maxRetries;m=this.calculateDefaultRetryTimeoutMillis(i,g)}return await SC(m),this.makeRequest(t,i-1,o)}calculateDefaultRetryTimeoutMillis(t,i){const c=i-t,m=Math.min(.5*Math.pow(2,c),8),p=1-Math.random()*.25;return m*p*1e3}async buildRequest(t,{retryCount:i=0}={}){var o,l,c;const m=Object.assign({},t),{method:p,path:y,query:g,defaultBaseURL:v}=m,b=this.buildURL(y,g,v);"timeout"in m&&EC("timeout",m.timeout),m.timeout=(o=m.timeout)!==null&&o!==void 0?o:this.timeout;const{bodyHeaders:w,body:T}=this.buildBody({options:m}),A=await this.buildHeaders({options:t,method:p,bodyHeaders:w,retryCount:i});return{req:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({method:p,headers:A},m.signal&&{signal:m.signal}),globalThis.ReadableStream&&T instanceof globalThis.ReadableStream&&{duplex:"half"}),T&&{body:T}),(l=this.fetchOptions)!==null&&l!==void 0?l:{}),(c=m.fetchOptions)!==null&&c!==void 0?c:{}),url:b,timeout:m.timeout}}async buildHeaders({options:t,method:i,bodyHeaders:o,retryCount:l}){let c={};this.idempotencyHeader&&i!=="get"&&(t.idempotencyKey||(t.idempotencyKey=this.defaultIdempotencyKey()),c[this.idempotencyHeader]=t.idempotencyKey);const m=await this.authHeaders(t);let p=ko([c,{Accept:"application/json","User-Agent":this.getUserAgent()},this._options.defaultHeaders,o,t.headers,m]);return this.validateHeaders(p),p.values}_makeAbort(t){return()=>t.abort()}buildBody({options:{body:t,headers:i}}){if(!t)return{bodyHeaders:void 0,body:void 0};const o=ko([i]);return ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof DataView||typeof t=="string"&&o.values.has("content-type")||globalThis.Blob&&t instanceof globalThis.Blob||t instanceof FormData||t instanceof URLSearchParams||globalThis.ReadableStream&&t instanceof globalThis.ReadableStream?{bodyHeaders:void 0,body:t}:typeof t=="object"&&(Symbol.asyncIterator in t||Symbol.iterator in t&&"next"in t&&typeof t.next=="function")?{bodyHeaders:void 0,body:_C(t)}:typeof t=="object"&&o.values.get("content-type")==="application/x-www-form-urlencoded"?{bodyHeaders:{"content-type":"application/x-www-form-urlencoded"},body:this.stringifyQuery(t)}:this.encoder({body:t,headers:o})}}Bl.DEFAULT_TIMEOUT=6e4;class Ze extends Bl{constructor(){super(...arguments),this.interactions=new fx(this),this.webhooks=new px(this)}}gx=Ze;Ze.GeminiNextGenAPIClient=gx;Ze.GeminiNextGenAPIClientError=Ft;Ze.APIError=mt;Ze.APIConnectionError=Vl;Ze.APIConnectionTimeoutError=Qy;Ze.APIUserAbortError=Lu;Ze.NotFoundError=tx;Ze.ConflictError=nx;Ze.RateLimitError=ax;Ze.BadRequestError=Wy;Ze.AuthenticationError=Zy;Ze.InternalServerError=ox;Ze.PermissionDeniedError=ex;Ze.UnprocessableEntityError=ix;Ze.toFile=PC;Ze.Interactions=fx;Ze.Webhooks=px;/**
272 * @license
273 * Copyright 2025 Google LLC
274 * SPDX-License-Identifier: Apache-2.0
275 */function YC(e,t){const i={},o=d(e,["name"]);return o!=null&&f(i,["_url","name"],o),i}function JC(e,t){const i={},o=d(e,["name"]);return o!=null&&f(i,["_url","name"],o),i}function KC(e,t){const i={},o=d(e,["sdkHttpResponse"]);return o!=null&&f(i,["sdkHttpResponse"],o),i}function XC(e,t){const i={},o=d(e,["sdkHttpResponse"]);return o!=null&&f(i,["sdkHttpResponse"],o),i}function QC(e,t,i){const o={};if(d(e,["validationDataset"])!==void 0)throw new Error("validationDataset parameter is not supported in Gemini API.");const l=d(e,["tunedModelDisplayName"]);if(t!==void 0&&l!=null&&f(t,["displayName"],l),d(e,["description"])!==void 0)throw new Error("description parameter is not supported in Gemini API.");const c=d(e,["epochCount"]);t!==void 0&&c!=null&&f(t,["tuningTask","hyperparameters","epochCount"],c);const m=d(e,["learningRateMultiplier"]);if(m!=null&&f(o,["tuningTask","hyperparameters","learningRateMultiplier"],m),d(e,["exportLastCheckpointOnly"])!==void 0)throw new Error("exportLastCheckpointOnly parameter is not supported in Gemini API.");if(d(e,["preTunedModelCheckpointId"])!==void 0)throw new Error("preTunedModelCheckpointId parameter is not supported in Gemini API.");if(d(e,["adapterSize"])!==void 0)throw new Error("adapterSize parameter is not supported in Gemini API.");if(d(e,["tuningMode"])!==void 0)throw new Error("tuningMode parameter is not supported in Gemini API.");if(d(e,["customBaseModel"])!==void 0)throw new Error("customBaseModel parameter is not supported in Gemini API.");const p=d(e,["batchSize"]);t!==void 0&&p!=null&&f(t,["tuningTask","hyperparameters","batchSize"],p);const y=d(e,["learningRate"]);if(t!==void 0&&y!=null&&f(t,["tuningTask","hyperparameters","learningRate"],y),d(e,["labels"])!==void 0)throw new Error("labels parameter is not supported in Gemini API.");if(d(e,["beta"])!==void 0)throw new Error("beta parameter is not supported in Gemini API.");if(d(e,["baseTeacherModel"])!==void 0)throw new Error("baseTeacherModel parameter is not supported in Gemini API.");if(d(e,["tunedTeacherModelSource"])!==void 0)throw new Error("tunedTeacherModelSource parameter is not supported in Gemini API.");if(d(e,["sftLossWeightMultiplier"])!==void 0)throw new Error("sftLossWeightMultiplier parameter is not supported in Gemini API.");if(d(e,["outputUri"])!==void 0)throw new Error("outputUri parameter is not supported in Gemini API.");if(d(e,["encryptionSpec"])!==void 0)throw new Error("encryptionSpec parameter is not supported in Gemini API.");return o}function WC(e,t,i){const o={};let l=d(i,["config","method"]);if(l===void 0&&(l="SUPERVISED_FINE_TUNING"),l==="SUPERVISED_FINE_TUNING"){const P=d(e,["validationDataset"]);t!==void 0&&P!=null&&f(t,["supervisedTuningSpec"],vu(P))}else if(l==="PREFERENCE_TUNING"){const P=d(e,["validationDataset"]);t!==void 0&&P!=null&&f(t,["preferenceOptimizationSpec"],vu(P))}else if(l==="DISTILLATION"){const P=d(e,["validationDataset"]);t!==void 0&&P!=null&&f(t,["distillationSpec"],vu(P))}const c=d(e,["tunedModelDisplayName"]);t!==void 0&&c!=null&&f(t,["tunedModelDisplayName"],c);const m=d(e,["description"]);
275t!==void 0&&m!=null&&f(t,["description"],m);let p=d(i,["config","method"]);if(p===void 0&&(p="SUPERVISED_FINE_TUNING"),p==="SUPERVISED_FINE_TUNING"){const P=d(e,["epochCount"]);t!==void 0&&P!=null&&f(t,["supervisedTuningSpec","hyperParameters","epochCount"],P)}else if(p==="PREFERENCE_TUNING"){const P=d(e,["epochCount"]);t!==void 0&&P!=null&&f(t,["preferenceOptimizationSpec","hyperParameters","epochCount"],P)}else if(p==="DISTILLATION"){const P=d(e,["epochCount"]);t!==void 0&&P!=null&&f(t,["distillationSpec","hyperParameters","epochCount"],P)}let y=d(i,["config","method"]);if(y===void 0&&(y="SUPERVISED_FINE_TUNING"),y==="SUPERVISED_FINE_TUNING"){const P=d(e,["learningRateMultiplier"]);t!==void 0&&P!=null&&f(t,["supervisedTuningSpec","hyperParameters","learningRateMultiplier"],P)}else if(y==="PREFERENCE_TUNING"){const P=d(e,["learningRateMultiplier"]);t!==void 0&&P!=null&&f(t,["preferenceOptimizationSpec","hyperParameters","learningRateMultiplier"],P)}else if(y==="DISTILLATION"){const P=d(e,["learningRateMultiplier"]);t!==void 0&&P!=null&&f(t,["distillationSpec","hyperParameters","learningRateMultiplier"],P)}let g=d(i,["config","method"]);if(g===void 0&&(g="SUPERVISED_FINE_TUNING"),g==="SUPERVISED_FINE_TUNING"){const P=d(e,["exportLastCheckpointOnly"]);t!==void 0&&P!=null&&f(t,["supervisedTuningSpec","exportLastCheckpointOnly"],P)}else if(g==="PREFERENCE_TUNING"){const P=d(e,["exportLastCheckpointOnly"]);t!==void 0&&P!=null&&f(t,["preferenceOptimizationSpec","exportLastCheckpointOnly"],P)}else if(g==="DISTILLATION"){const P=d(e,["exportLastCheckpointOnly"]);t!==void 0&&P!=null&&f(t,["distillationSpec","exportLastCheckpointOnly"],P)}let v=d(i,["config","method"]);if(v===void 0&&(v="SUPERVISED_FINE_TUNING"),v==="SUPERVISED_FINE_TUNING"){const P=d(e,["adapterSize"]);t!==void 0&&P!=null&&f(t,["supervisedTuningSpec","hyperParameters","adapterSize"],P)}else if(v==="PREFERENCE_TUNING"){const P=d(e,["adapterSize"]);t!==void 0&&P!=null&&f(t,["preferenceOptimizationSpec","hyperParameters","adapterSize"],P)}else if(v==="DISTILLATION"){const P=d(e,["adapterSize"]);t!==void 0&&P!=null&&f(t,["distillationSpec","hyperParameters","adapterSize"],P)}let b=d(i,["config","method"]);if(b===void 0&&(b="SUPERVISED_FINE_TUNING"),b==="SUPERVISED_FINE_TUNING"){const P=d(e,["tuningMode"]);t!==void 0&&P!=null&&f(t,["supervisedTuningSpec","tuningMode"],P)}else if(b==="DISTILLATION"){const P=d(e,["tuningMode"]);t!==void 0&&P!=null&&f(t,["distillationSpec","tuningMode"],P)}const w=d(e,["customBaseModel"]);t!==void 0&&w!=null&&f(t,["customBaseModel"],w);let T=d(i,["config","method"]);if(T===void 0&&(T="SUPERVISED_FINE_TUNING"),T==="SUPERVISED_FINE_TUNING"){const P=d(e,["batchSize"]);t!==void 0&&P!=null&&f(t,["supervisedTuningSpec","hyperParameters","batchSize"],P)}else if(T==="DISTILLATION"){const P=d(e,["batchSize"]);t!==void 0&&P!=null&&f(t,["distillationSpec","hyperParameters","batchSize"],P)}let A=d(i,["config","method"]);if(A===void 0&&(A="SUPERVISED_FINE_TUNING"),A==="SUPERVISED_FINE_TUNING"){const P=d(e,["learningRate"]);t!==void 0&&P!=null&&f(t,["supervisedTuningSpec","hyperParameters","learningRate"],P)}else if(A==="DISTILLATION"){const P=d(e,["learningRate"]);t!==void 0&&P!=null&&f(t,["distillationSpec","hyperParameters","learningRate"],P)}const I=d(e,["labels"]);t!==void 0&&I!=null&&f(t,["labels"],I);const C=d(e,["beta"]);t!==void 0&&C!=null&&f(t,["preferenceOptimizationSpec","hyperParameters","beta"],C);const N=d(e,["baseTeacherModel"]);t!==void 0&&N!=null&&f(t,["distillationSpec","baseTeacherModel"],N);const R=d(e,["tunedTeacherModelSource"]);t!==void 0&&R!=null&&f(t,["distillationSpec","tunedTeacherModelSource"],R);const L=d(e,["sftLossWeightMultiplier"]);t!==void 0&&L!=null&&f(t,["distillationSpec","hyperParameters","sftLossWeightMultiplier"],L);const q=d(e,["outputUri"]);t!==void 0&&q!=null&&f(t,["outputUri"],q);const Y=d(e,["encryptionSpec"]);return t!==void 0&&Y!=null&&f(t,["encryptionSpec"],Y),o}function ZC(e,t){const i={},o=d(e,["baseModel"]);o!=null&&f(i,["baseModel"],o);const l=d(e,["preTunedModel"]);l!=null&&f(i,["preTunedModel"],l);const c=d(e,["trainingDataset"]);c!=null&&l5(c);const m=d(e,["config"]);return m!=null&&QC(m,i),i}function e5(e,t){const i={},o=d(e,["baseModel"]);o!=null&&f(i,["baseModel"],o);const l=d(e,["preTunedModel"]);l!=null&&f(i,["preTunedModel"],l);const c=d(e,["trainingDataset"]);c!=null&&r5(c,i,t);const m=d(e,["config"]);return m!=null&&WC(m,i,t),i}function t5(e,t){const i={},o=d(e,["name"]);return o!=null&&f(i,["_url","name"],o),i}function n5(e,t){const i={},o=d(e,["name"]);return o!=null&&f(i,["_url","name"],o),i}function i5(e,t,i){const o={},l=d(e,["pageSize"]);t!==void 0&&l!=null&&f(t,["_query","pageSize"],l);const c=d(e,["pageToken"]);t!==void 0&&c!=null&&f(t,["_query","pageToken"],c);const m=d(e,["filter"]);return t!==void 0&&m!=null&&f(t,["_query","filter"],m),o}function a5(e,t){const i={},o=d(e,["config"]);return o!=null&&i5(o,i),i}function o5(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["nextPageToken"]);l!=null&&f(i,["nextPageToken"],l);const c=d(e,["tuningJobs"]);if(c!=null){let m=c;Array.isArray(m)&&(m=m.map(p=>Uu(p))),f(i,["tuningJobs"],m)}return i}function s5(e,t){const i={},o=d(e,["name"]);o!=null&&f(i,["model"],o);const l=d(e,["name"]);return l!=null&&f(i,["endpoint"],l),i}function l5(e,t){const i={};if(d(e,["gcsUri"])!==void 0)throw new Error("gcsUri parameter is not supported in Gemini API.");if(d(e,["vertexDatasetResource"])!==void 0)throw new Error("vertexDatasetResource parameter is not supported in Gemini API.");const o=d(e,["examples"]);if(o!=null){let l=o;Array.isArray(l)&&(l=l.map(c=>c)),f(i,["examples","examples"],l)}return i}function r5(e,t,i){const o={};let l=d(i,["config","method"]);if(l===void 0&&(l="SUPERVISED_FINE_TUNING"),l==="SUPERVISED_FINE_TUNING"){const m=d(e,["gcsUri"]);t!==void 0&&m!=null&&f(t,["supervisedTuningSpec","trainingDatasetUri"],m)}else if(l==="PREFERENCE_TUNING"){const m=d(e,["gcsUri"]);t!==void 0&&m!=null&&f(t,["preferenceOptimizationSpec","trainingDatasetUri"],m)}else if(l==="DISTILLATION"){const m=d(e,["gcsUri"]);t!==void 0&&m!=null&&f(t,["distillationSpec","promptDatasetUri"],m)}let c=d(i,["config","method"]);if(c===void 0&&(c="SUPERVISED_FINE_TUNING"),c==="SUPERVISED_FINE_TUNING"){const m=d(e,["vertexDatasetResource"]);t!==void 0&&m!=null&&f(t,["supervisedTuningSpec","trainingDatasetUri"],m)}else if(c==="PREFERENCE_TUNING"){const m=d(e,["vertexDatasetResource"]);t!==void 0&&m!=null&&f(t,["preferenceOptimizationSpec","trainingDatasetUri"],m)}else if(c==="DISTILLATION"){const m=d(e,["vertexDatasetResource"]);t!==void 0&&m!=null&&f(t,["distillationSpec","promptDatasetUri"],m)}if(d(e,["examples"])!==void 0)throw new Error("examples parameter is not supported in Gemini Enterprise Agent Platform (previously known as Vertex AI).");return o}function c5(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["name"]);l!=null&&f(i,["name"],l);const c=d(e,["state"]);c!=null&&f(i,["state"],Dy(c));const m=d(e,["createTime"]);m!=null&&f(i,["createTime"],m);const p=d(e,["tuningTask","startTime"]);p!=null&&f(i,["startTime"],p);const y=d(e,["tuningTask","completeTime"]);y!=null&&f(i,["endTime"],y);const g=d(e,["updateTime"]);g!=null&&f(i,["updateTime"],g);const v=d(e,["description"]);v!=null&&f(i,["description"],v);const b=d(e,["baseModel"]);b!=null&&f(i,["baseModel"],b);const w=d(e,["_self"]);return w!=null&&f(i,["tunedModel"],s5(w)),i}function Uu(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["name"]);l!=null&&f(i,["name"],l);const c=d(e,["state"]);c!=null&&f(i,["state"],Dy(c));const m=d(e,["createTime"]);m!=null&&f(i,["createTime"],m);const p=d(e,["startTime"]);p!=null&&f(i,["startTime"],p);const y=d(e,["endTime"]);y!=null&&f(i,["endTime"],y);const g=d(e,["updateTime"]);g!=null&&f(i,["updateTime"],g);const v=d(e,["error"]);v!=null&&f(i,["error"],v);const b=d(e,["description"]);b!=null&&f(i,["description"],b);const w=d(e,["baseModel"]);w!=null&&f(i,["baseModel"],w);const T=d(e,["tunedModel"]);T!=null&&f(i,["tunedModel"],T);const A=d(e,["preTunedModel"]);A!=null&&f(i,["preTunedModel"],A);const I=d(e,["supervisedTuningSpec"]);I!=null&&f(i,["supervisedTuningSpec"],I);const C=d(e,["preferenceOptimizationSpec"]);C!=null&&f(i,["preferenceOptimizationSpec"],C);const N=d(e,["distillationSpec"]);N!=null&&f(i,["distillationSpec"],N);const R=d(e,["tuningDataStats"]);R!=null&&f(i,["tuningDataStats"],R);const L=d(e,["encryptionSpec"]);L!=null&&f(i,["encryptionSpec"],L);const q=d(e,["partnerModelTuningSpec"]);q!=null&&f(i,["partnerModelTuningSpec"],q);const Y=d(e,["customBaseModel"]);Y!=null&&f(i,["customBaseModel"],Y);const P=d(e,["evaluateDatasetRuns"]);if(P!=null){let K=P;Array.isArray(K)&&(K=K.map(ae=>ae)),f(i,["evaluateDatasetRuns"],K)}const O=d(e,["experiment"]);O!=null&&f(i,["experiment"],O);const F=d(e,["fullFineTuningSpec"]);F!=null&&f(i,["fullFineTuningSpec"],F);const $=d(e,["labels"]);$!=null&&f(i,["labels"],$);const ee=d(e,["outputUri"]);ee!=null&&f(i,["outputUri"],ee);const ce=d(e,["pipelineJob"]);ce!=null&&f(i,["pipelineJob"],ce);const Z=d(e,["serviceAccount"]);Z!=null&&f(i,["serviceAccount"],Z);const de=d(e,["tunedModelDisplayName"]);de!=null&&f(i,["tunedModelDisplayName"],de);const ue=d(e,["tuningJobState"]);ue!=null&&f(i,["tuningJobState"],ue);const se=d(e,["veoTuningSpec"]);se!=null&&f(i,["veoTuningSpec"],se);const z=d(e,["distillationSamplingSpec"]);z!=null&&f(i,["distillationSamplingSpec"],z);const V=d(e,["tuningJobMetadata"]);return V!=null&&f(i,["tuningJobMetadata"],V),i}function u5(e,t){const i={},o=d(e,["sdkHttpResponse"]);o!=null&&f(i,["sdkHttpResponse"],o);const l=d(e,["name"]);l!=null&&f(i,["name"],l);const c=d(e,["metadata"]);c!=null&&f(i,["metadata"],c);const m=d(e,["done"]);m!=null&&f(i,["done"],m);const p=d(e,["error"]);return p!=null&&f(i,["error"],p),i}function vu(e,t){const i={},o=d(e,["gcsUri"]);o!=null&&f(i,["validationDatasetUri"],o);const l=d(e,["vertexDatasetResource"]);return l!=null&&f(i,["validationDatasetUri"],l),i}/**
276 * @license
277 * Copyright 2025 Google LLC
278 * SPDX-License-Identifier: Apache-2.0
279 */class d5 extends Ln{constructor(t){super(),this.apiClient=t,this.list=async(i={})=>new Pi(Dn.PAGED_ITEM_TUNING_JOBS,o=>this.listInternal(o),await this.listInternal(i),i),this.get=async i=>await this.getInternal(i),this.tune=async i=>{var o;if(this.apiClient.isVertexAI())if(i.baseModel.startsWith("projects/")){const l={tunedModelName:i.baseModel};!((o=i.config)===null||o===void 0)&&o.preTunedModelCheckpointId&&(l.checkpointId=i.config.preTunedModelCheckpointId);const c=Object.assign(Object.assign({},i),{preTunedModel:l});return c.baseModel=void 0,await this.tuneInternal(c)}else{const l=Object.assign({},i);return await this.tuneInternal(l)}else{const l=Object.assign({},i),c=await this.tuneMldevInternal(l);let m="";return c.metadata!==void 0&&c.metadata.tunedModel!==void 0?m=c.metadata.tunedModel:c.name!==void 0&&c.name.includes("/operations/")&&(m=c.name.split("/operations/")[0]),{name:m,state:Su.JOB_STATE_QUEUED}}}}async getInternal(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=n5(t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>Uu(v))}else{const g=t5(t);return p=te("{name}",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"GET",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>c5(v))}}async listInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI()){const p=a5(t);return c=te("tuningJobs",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"GET",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json().then(g=>{const v=g;return v.sdkHttpResponse={headers:y.headers},v})),l.then(y=>{const g=o5(y),v=new TT;return Object.assign(v,g),v})}else throw new Error("This method is only supported by the Gemini Enterprise Agent Platform (previously known as Vertex AI).")}async cancel(t){var i,o,l,c;let m,p="",y={};if(this.apiClient.isVertexAI()){const g=JC(t);return p=te("{name}:cancel",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=XC(v),w=new Q0;return Object.assign(w,b),w})}else{const g=YC(t);return p=te("{name}:cancel",g._url),y=g._query,delete g._url,delete g._query,m=this.apiClient.request({path:p,queryParams:y,body:JSON.stringify(g),httpMethod:"POST",httpOptions:(l=t.config)===null||l===void 0?void 0:l.httpOptions,abortSignal:(c=t.config)===null||c===void 0?void 0:c.abortSignal}).then(v=>v.json().then(b=>{const w=b;return w.sdkHttpResponse={headers:v.headers},w})),m.then(v=>{const b=KC(v),w=new Q0;return Object.assign(w,b),w})}}async tuneInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI()){const p=e5(t,t);return c=te("tuningJobs",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json().then(g=>{const v=g;return v.sdkHttpResponse={headers:y.headers},v})),l.then(y=>Uu(y))}else throw new Error("This method is only supported by the Gemini Enterprise Agent Platform (previously known as Vertex AI).")}async tuneMldevInternal(t){var i,o;let l,c="",m={};if(this.apiClient.isVertexAI())throw new Error("This method is only supported by the Gemini Developer API.");{const p=ZC(t);return c=te("tunedModels",p._url),m=p._query,delete p._url,delete p._query,l=this.apiClient.request({path:c,queryParams:m,body:JSON.stringify(p),httpMethod:"POST",httpOptions:(i=t.config)===null||i===void 0?void 0:i.httpOptions,abortSignal:(o=t.config)===null||o===void 0?void 0:o.abortSignal}).then(y=>y.json().then(g=>{const v=g;return v.sdkHttpResponse={headers:y.headers},v})),l.then(y=>u5(y))}}}/**
280 * @license
281 * Copyright 2025 Google LLC
282 * SPDX-License-Identifier: Apache-2.0
283 */class f5{async download(t,i){throw new Error("Download to file is not supported in the browser, please use a browser compliant download like an <a> tag.")}}const m5=1024*1024*8,p5=3,h5=1e3,g5=2,Rl="x-goog-upload-status";async function y5(e,t,i,o){var l;const c=await yx(e,t,i,o),m=await(c==null?void 0:c.json());if(((l=c==null?void 0:c.headers)===null||l===void 0?void 0:l[Rl])!=="final")throw new Error("Failed to upload file: Upload status is not finalized.");return m.file}async function x5(e,t,i,o){var l;const c=await yx(e,t,i,o),m=await(c==null?void 0:c.json());if(((l=c==null?void 0:c.headers)===null||l===void 0?void 0:l[Rl])!=="final")throw new Error("Failed to upload file: Upload status is not finalized.");const p=_y(m),y=new td;return Object.assign(y,p),y}async function yx(e,t,i,o){var l,c,m;let p=t;const y=(o==null?void 0:o.baseUrl)||((l=i.clientOptions.httpOptions)===null||l===void 0?void 0:l.baseUrl);if(y){const T=new URL(y),A=new URL(t);A.protocol=T.protocol,A.host=T.host,A.port=T.port,p=A.toString()}let g=0,v=0,b=new _u(new Response),w="upload";for(g=e.size;v<g;){const T=Math.min(m5,g-v),A=e.slice(v,v+T);v+T>=g&&(w+=", finalize");let I=0,C=h5;for(;I<p5;){const N=Object.assign(Object.assign({},(o==null?void 0:o.headers)||{}),{"X-Goog-Upload-Command":w,"X-Goog-Upload-Offset":String(v),"Content-Length":String(T)});if(b=await i.request({path:"",body:A,httpMethod:"POST",httpOptions:O
283bject.assign(Object.assign({},o),{apiVersion:"",baseUrl:p,headers:N})}),!((c=b==null?void 0:b.headers)===null||c===void 0)&&c[Rl])break;I++,await b5(C),C=C*g5}if(v+=T,((m=b==null?void 0:b.headers)===null||m===void 0?void 0:m[Rl])!=="active")break;if(g<=v)throw new Error("All content has been uploaded, but the upload status is not finalized.")}return b}async function v5(e){return{size:e.size,type:e.type}}function b5(e){return new Promise(t=>setTimeout(t,e))}class w5{async upload(t,i,o,l){if(typeof t=="string")throw new Error("File path is not supported in browser uploader.");return await y5(t,i,o,l)}async uploadToFileSearchStore(t,i,o,l){if(typeof t=="string")throw new Error("File path is not supported in browser uploader.");return await x5(t,i,o,l)}async stat(t){if(typeof t=="string")throw new Error("File path is not supported in browser uploader.");return await v5(t)}}/**
284 * @license
285 * Copyright 2025 Google LLC
286 * SPDX-License-Identifier: Apache-2.0
287 */class E5{create(t,i,o){return new T5(t,i,o)}}class T5{constructor(t,i,o){this.url=t,this.headers=i,this.callbacks=o}connect(){this.ws=new WebSocket(this.url),this.ws.onopen=this.callbacks.onopen,this.ws.onerror=this.callbacks.onerror,this.ws.onclose=this.callbacks.onclose,this.ws.onmessage=this.callbacks.onmessage}send(t){if(this.ws===void 0)throw new Error("WebSocket is not connected");this.ws.send(t)}close(){if(this.ws===void 0)throw new Error("WebSocket is not connected");this.ws.close()}}/**
288 * @license
289 * Copyright 2025 Google LLC
290 * SPDX-License-Identifier: Apache-2.0
291 */const _g="x-goog-api-key";class S5{constructor(t){this.apiKey=t}async addAuthHeaders(t,i){if(t.get(_g)===null){if(this.apiKey.startsWith("auth_tokens/"))throw new Error("Ephemeral tokens are only supported by the live API.");if(!this.apiKey)throw new Error("API key is missing. Please provide a valid API key.");t.append(_g,this.apiKey)}}}/**
292 * @license
293 * Copyright 2025 Google LLC
294 * SPDX-License-Identifier: Apache-2.0
295 */const A5="gl-node/";class _5{getNextGenClient(){var t;const i=this.httpOptions;if(this._nextGenClient===void 0){const o=this.httpOptions;this._nextGenClient=new Ze({baseURL:this.apiClient.getBaseUrl(),apiKey:this.apiKey,apiVersion:this.apiClient.getApiVersion(),clientAdapter:this.apiClient,defaultHeaders:this.apiClient.getDefaultHeaders(),timeout:o==null?void 0:o.timeout,maxRetries:(t=o==null?void 0:o.retryOptions)===null||t===void 0?void 0:t.attempts})}return i!=null&&i.extraBody&&console.warn("GoogleGenAI.interactions: Client level httpOptions.extraBody is not supported by the interactions client and will be ignored."),this._nextGenClient}get interactions(){return this._interactions!==void 0?this._interactions:(console.warn("GoogleGenAI.interactions: Interactions usage is experimental and may change in future versions."),this._interactions=this.getNextGenClient().interactions,this._interactions)}get webhooks(){return this._webhooks!==void 0?this._webhooks:(this._webhooks=this.getNextGenClient().webhooks,this._webhooks)}constructor(t){var i;if(t.apiKey==null)throw new Error("An API Key must be set when running in a browser");if(t.project||t.location)throw new Error("Vertex AI project based authentication is not supported on browser runtimes. Please do not provide a project or location.");this.vertexai=(i=t.vertexai)!==null&&i!==void 0?i:!1,this.apiKey=t.apiKey;const o=nT(t.httpOptions,t.vertexai,void 0,void 0);o&&(t.httpOptions?t.httpOptions.baseUrl=o:t.httpOptions={baseUrl:o}),this.apiVersion=t.apiVersion,this.httpOptions=t.httpOptions;const l=new S5(this.apiKey);this.apiClient=new T2({auth:l,apiVersion:this.apiVersion,apiKey:this.apiKey,vertexai:this.vertexai,httpOptions:this.httpOptions,userAgentExtra:A5+"web",uploader:new w5,downloader:new f5}),this.models=new B2(this.apiClient),this.live=new H2(this.apiClient,l,new E5),this.batches=new US(this.apiClient),this.chats=new wA(this.models,this.apiClient),this.caches=new xA(this.apiClient),this.files=new kA(this.apiClient),this.operations=new O2(this.apiClient),this.authTokens=new lC(this.apiClient),this.tunings=new d5(this.apiClient),this.fileSearchStores=new hC(this.apiClient)}}const N5=[{id:"satellite",name:"Orbital Satellite",desc:"Geostationary data relay."}
295,{id:"starlink",name:"Starlink Constellation",desc:"Low-latency global web."},{id:"spaceship",name:"Interstellar Spaceship",desc:"Deep space exploration vessel."},{id:"ufo",name:"Unidentified Flying Object",desc:"Anomalous aerial phenomenon."},{id:"telescope",name:"Space Telescope",desc:"Deep field galactic observation."},{id:"meteorite",name:"Meteorite",desc:"Atmospheric entry projectile."},{id:"comet",name:"Icy Comet",desc:"Elliptical orbit celestial body."},{id:"astronaut",name:"EVA Astronaut",desc:"Extravehicular activity unit."},{id:"spacestation",name:"Space Station",desc:"Orbital research hub."},{id:"rover",name:"Planetary Rover",desc:"Autonomous surface exploration."},{id:"mobile-phone",name:"Mobile Interface",desc:"Handheld communication terminal."},{id:"robot",name:"Autonomous Robot",desc:"AI-driven mechanical unit."},{id:"big-telescope",name:"Observatory Telescope",desc:"Ground-based massive aperture."},{id:"water-waves",name:"Fluid Dynamics",desc:"Liquid surface wave propagation."},{id:"space-laboratory",name:"Orbital Laboratory",desc:"Zero-G experimental facility."}],xx=[{id:"defense",name:"Defense & Security",nameHe:"ביטחון והגנה",desc:"Secure defense networks."},{id:"govt",name:"Govt & Public Sector",nameHe:"ממשלה ומגזר ציבורי",desc:"Civilian infrastructure."},{id:"logistics",name:"Global Logistics",nameHe:"לוגיסטיקה גלובלית",desc:"Supply chain routing."},{id:"marketing",name:"Targeted Marketing",nameHe:"שיווק ממוקד",desc:"Consumer data parsing."},{id:"finance",name:"Financial Modeling",nameHe:"מודלים פיננסיים",desc:"High-frequency trading."},{id:"academic",name:"Academic Research",nameHe:"מחקר אקדמי",desc:"Quantum simulations."},{id:"factory",name:"Factory Automation",nameHe:"אוטומציית מפעלים",desc:"Robotic assembly lines."},{id:"hospitality",name:"Hospitality & Food",nameHe:"אירוח ומזון",desc:"Service optimization."},{id:"shipping",name:"Shipping & Freight",nameHe:"שילוח והובלה",desc:"Maritime transport."},{id:"construction",name:"Construction",nameHe:"בנייה",desc:"Structural engineering."},{id:"healthcare",name:"Healthcare",nameHe:"בריאות",desc:"Biomedical systems."},{id:"realestate",name:"Real Estate",nameHe:'נדל"ן',desc:"Property management."},{id:"energy",name:"Energy Grid",nameHe:"רשת אנרגיה",desc:"Renewable power."},{id:"agriculture",name:"Agriculture",nameHe:"חקלאות",desc:"Precision farming."},{id:"retail",name:"Retail & Commerce",nameHe:"קמעונאות ומסחר",desc:"Inventory tracking."},{id:"automotive",name:"Automotive",nameHe:"רכב",desc:"Autonomous driving."},{id:"entertainment",name:"Entertainment",nameHe:"בידור",desc:"Media distribution."},{id:"telecomm",name:"Telecomm",nameHe:"תקשורת",desc:"5G networks."},{id:"pharma",name:"Pharma",nameHe:"תרופות",desc:"Drug discovery."},{id:"aerospace",name:"Aerospace",nameHe:"תעופה וחלל",desc:"Aviation systems."}],C5=[{id:"waves",name:"Waves of Water",icon:c1,color:"#4facfe"},{id:"rain",name:"Rain & Wind",icon:Pg,color:"#a1c4fd"},{id:"volcano",name:"Volcanic Eruption",icon:u1,color:"#ff4b1f"},{id:"supernova",name:"Supernova / Black Hole",icon:Hg,color:"#c054ff"},{id:"meteor",name:"Meteor Shower",icon:Ug,color:"#ffd194"}],I5=()=>{const[e,t]=_.useState(null),i=({opacity:o=.2,blend:l="mix-blend-overlay"})=>r.jsxs("svg",{viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",className:`absolute inset-0 w-full h-full pointer-events-none z-10 ${l}`,style:{opacity:o},children:[r.jsxs("filter",{id:"zoneNoiseFilter",children:[r.jsx("feTurbulence",{type:"fractalNoise",baseFrequency:"1.2",numOctaves:"3",stitchTiles:"stitch"}),r.jsx("feColorMatrix",{type:"saturate",values:"0"})]}),r.jsx("rect",{width:"100%",height:"100%",filter:"url(#zoneNoiseFilter)"})]});return r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5 pb-20",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 pb-4 border-b border-white/10 text-[#4facfe] drop-shadow-[0_0_15px_rgba(79,172,254,0.5)]",children:"Natural Phenomena Zones"}),r.jsx("p",{className:"text-white/60 mb-12 max-w-2xl text-lg",children:"Interactive micro-environments showcasing real-time weather and astronomical events used in backgrounds."}),r.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6",children:C5.map((o,l)=>{const c=o.icon;return r.jsxs(M.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:l*.05},onHoverStart:()=>t(o.id),onHoverEnd:()=>t(null),className:"relative rounded-3xl bg-black border border-white/10 overflow-hidden group aspect-[4/3] flex flex-col justify-end p-6 cursor-crosshair shadow-lg",children:[r.jsxs("div",{className:"absolute inset-0 z-0 bg-[#050a15] overflow-hidden",children:[r.jsx(i,{opacity:.3,blend:"mix-blend-soft-light"}),r.jsxs(Xe,{children:[e==="waves"&&o.id==="waves"&&r.jsxs(M.div,{className:"absolute inset-0",initial:{opacity:0}
295,animate:{opacity:1},exit:{opacity:0},children:[r.jsx(M.div,{className:"absolute inset-0 bg-[#14235e]"}),r.jsx("svg",{viewBox:"0 0 120 40",preserveAspectRatio:"none",className:"w-[200%] h-[60%] absolute bottom-0 fill-[#4facfe]/30 -translate-x-1/4",children:r.jsx(M.path,{d:"M0 20 Q 15 5 30 20 T 60 20 T 90 20 T 120 20 V 40 H 0 Z",animate:{d:["M0 20 Q 15 5 30 20 T 60 20 T 90 20 T 120 20 V 40 H 0 Z","M0 20 Q 15 35 30 20 T 60 20 T 90 20 T 120 20 V 40 H 0 Z"],x:["0%","-50%"]},transition:{duration:2,repeat:1/0,ease:"linear"}})}),r.jsx("svg",{viewBox:"0 0 120 40",preserveAspectRatio:"none",className:"w-[200%] h-[50%] absolute bottom-0 fill-[#00f2fe]/40",children:r.jsx(M.path,{d:"M0 20 Q 15 35 30 20 T 60 20 T 90 20 T 120 20 V 40 H 0 Z",animate:{d:["M0 20 Q 15 35 30 20 T 60 20 T 90 20 T 120 20 V 40 H 0 Z","M0 20 Q 15 5 30 20 T 60 20 T 90 20 T 120 20 V 40 H 0 Z"],x:["-50%","0%"]},transition:{duration:1.5,repeat:1/0,ease:"linear"}})})]}),e==="volcano"&&o.id==="volcano"&&r.jsxs(M.div,{className:"absolute inset-0 bg-[#1c0803]",initial:{opacity:0}
295,animate:{opacity:1},exit:{opacity:0},children:[r.jsx("div",{className:"absolute bottom-0 w-full h-[50%] bg-black",style:{clipPath:"polygon(20% 100%, 40% 20%, 60% 20%, 80% 100%)"}}),r.jsx(M.div,{className:"absolute bottom-[40%] w-8 h-8 left-1/2 -ml-4 bg-[#ff4500] blur-[10px]",animate:{scale:[1,1.5]},transition:{duration:.5,repeat:1/0,repeatType:"mirror"}}),[...Array(15)].map((m,p)=>r.jsx(M.div,{className:"absolute bg-[#ff8c00] w-2 h-2 rounded-full blur-[2px]",style:{left:"50%",bottom:"40%"},animate:{y:[0,-100-Math.random()*50],x:[(Math.random()-.5)*100,(Math.random()-.5)*150],opacity:[1,0]},transition:{duration:1+Math.random(),repeat:1/0}},p))]}),e==="supernova"&&o.id==="supernova"&&r.jsxs(M.div,{className:"absolute inset-0 bg-black flex items-center justify-center",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[r.jsx(M.div,{className:"absolute w-32 h-8 rounded-full border-4 border-[#c054ff] blur-[2px]",animate:{rotateX:[70,70],rotateZ:[0,360]},transition:{duration:2,repeat:1/0,ease:"linear"}}),r.jsx(M.div,{className:"absolute w-32 h-8 rounded-full border-2 border-white/50 blur-[1px]",animate:{rotateX:[70,70],rotateZ:[0,-360]},transition:{duration:1.5,repeat:1/0,ease:"linear"}}),r.jsx("div",{className:"absolute w-12 h-12 bg-black rounded-full shadow-[0_0_20px_#c054ff]"})]}),e==="meteor"&&o.id==="meteor"&&r.jsx(M.div,{className:"absolute inset-0 bg-[#0a0a1a]",initial:{opacity:0}
295,animate:{opacity:1},exit:{opacity:0},children:[...Array(8)].map((m,p)=>r.jsx(M.div,{className:"absolute h-px bg-gradient-to-r from-transparent via-[#ffd194] to-white",style:{width:`${Math.random()*60+40}px`,left:`${Math.random()*150}%`,top:`${Math.random()*50}%`,transform:"rotate(210deg)"},animate:{x:[0,-300],y:[0,300],opacity:[0,1,0]},transition:{duration:.5+Math.random()*.5,repeat:1/0,delay:Math.random()*2,ease:"linear"}},`m-${p}`))})]}),r.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 to-transparent z-10"}),r.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:opacity-0 transition-opacity duration-500 z-10"})]}),r.jsxs("div",{className:"relative z-20 transform translate-y-2 group-hover:translate-y-0 transition-transform duration-500",children:[r.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[r.jsx("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center bg-white/10 backdrop-blur-sm",style:{color:o.color},children:r.jsx(c,{className:"w-4 h-4"})}),r.jsx("h3",{className:"font-display font-bold text-white text-lg tracking-tight group-hover:text-transparent group-hover:bg-clip-text transition-colors duration-300",style:{backgroundImage:`linear-gradient(to right, #fff, ${o.color})`},children:o.name})]}),r.jsxs("div",{className:"h-0 overflow-hidden group-hover:h-6 transition-all duration-500 text-xs text-white/50 flex items-center",children:[r.jsx(Pg,{className:"w-3 h-3 mr-1 inline"})," Hover to preview phenomenon"]})]})]},o.id)})})]})},dn=({title:e,children:t,className:i="",pure:o})=>o?r.jsx(r.Fragment,{children:t}):r.jsxs("div",{className:`p-8 relative rounded-3xl border border-white/10 flex flex-col justify-center items-center overflow-hidden h-[300px] group ${i}`,children:[r.jsx("div",{className:"absolute inset-0 bg-[#001021]"}),r.jsx("div",{className:"relative z-10 w-full h-full flex items-center justify-center pointer-events-none",children:t}),r.jsx("div",{className:"absolute bottom-4 left-4 z-20 text-blue-300/70 font-mono text-xs uppercase tracking-widest bg-black/50 px-2 py-1 rounded backdrop-blur-md",children:e})]}),R5=({pure:e}={})=>r.jsx(dn,{title:"Medusa (Jellyfish)",pure:e,children:r.jsxs(M.div,{animate:{y:[-15,15,-15],scale:[.95,1.05,.95]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"relative flex flex-col items-center",children:[r.jsx("div",{className:"w-24 h-24 bg-[radial-gradient(ellipse_at_top,_rgba(0,255,255,0.4),_transparent)] rounded-t-full border border-cyan-500/50 shadow-[0_0_30px_rgba(0,255,255,0.4)] relative overflow-hidden backdrop-blur-sm",children:r.jsx(M.div,{className:"absolute inset-0 border-b-2 border-cyan-400/80 rounded-full",animate:{scaleX:[1,1.1,1],y:[0,-5,0]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})}),r.jsx("div",{className:"flex gap-2 relative -mt-4",children:[...Array(6)].map((t,i)=>r.jsx(M.svg,{width:"10",height:"100",className:"opacity-70",children:r.jsx(M.path,{d:`M5,0 Q${Math.random()*20-5},20 5,40 T5,80 T5,100`,fill:"none",stroke:"rgba(0, 255, 255, 0.6)",strokeWidth:"2",animate:{d:[`M5,0 Q${Math.random()*20-5},20 5,40 T5,80 T5,100`,`M5,0 Q${Math.random()*-10},30 5,60 T5,90 T5,100`,`M5,0 Q${Math.random()*20-5},20 5,40 T5,80 T5,100`]},transition:{duration:4+Math.random()*2,repeat:1/0,ease:"easeInOut"}})},`tentacle-${i}`))})]})}),M5=({pure:e}={})=>r.jsx(dn,{title:"Dolphin",pure:e,children:r.jsx(M.div,{animate:{y:[-10,10,-10],rotate:[-5,5,-5]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},className:"relative w-32 h-16 drop-shadow-[0_0_15px_rgba(59,130,246,0.6)]",children:r.jsxs("svg",{viewBox:"0 0 100 50",className:"w-full h-full fill-blue-500/80 stroke-blue-300",children:[r.jsx("path",{d:"M10,30 Q30,10 60,20 Q80,25 90,40 Q75,30 60,35 Q40,40 10,30 Z"}),r.jsx("path",{d:"M40,15 L45,5 L50,18 Z",className:"fill-blue-600/80"}),r.jsx("path",{d:"M10,30 Q5,25 0,35 L10,38 Z",className:"fill-blue-600/80"})]})})}),D5=({pure:e}={})=>r.jsx(dn,{title:"Octopus",pure:e,children:r.jsxs(M.div,{animate:{y:[-5,5,-5],scale:[.95,1.05,.95]},transition:{duration:5,repeat:1/0,ease:"easeInOut"},className:"relative",children:[r.jsx("div",{className:"w-20 h-20 bg-[radial-gradient(circle,_rgba(255,0,128,0.4),_transparent)] rounded-full border border-pink-500/50 shadow-[0_0_30px_rgba(255,0,128,0.4)] backdrop-blur-sm self-center justify-self-center mx-auto relative z-10"}),r.jsx("div",{className:"flex gap-1 justify-center -mt-6",children:[...Array(8)].map((t,i)=>r.jsx(M.div,{className:"w-2 h-20 bg-pink-500/60 rounded-full origin-top relative",style:{transformOrigin:"top center"},animate:{rotate:[i%2===0?-20:20,i%2===0?20:-20,i%2===0?-20:20],scaleY:[1,1.2,1]},transition:{duration:3+Math.random(),repeat:1/0,ease:"easeInOut"}},`arm-${i}`))})]})}),k5=({pure:e}={})=>r.jsx(dn,{title:"Hard Coral",pure:e,children:r.jsx("div",{className:"relative bottom-[-20px] drop-shadow-[0_0_15px_rgba(255,165,0,0.5)]",children:r.jsx("svg",{viewBox:"0 0 100 100",className:"w-32 h-32 fill-orange-500/80 stroke-orange-300",children:r.jsx("path",{d:"M50,100 L50,60 M50,60 L30,40 M30,40 L20,30 M30,40 L40,20 M50,60 L70,35 M70,35 L85,25 M70,35 L60,15 M50,75 L20,60 M50,85 L80,70",strokeWidth:"8",strokeLinecap:"round",strokeLinejoin:"round"})})})}),L5=({pure:e}={})=>r.jsx(dn,{title:"Soft Coral",pure:e,children:r.jsx("div",{className:"relative bottom-[-20px]",children:r.jsx("div",{className:"flex gap-2 items-end justify-center h-32",children:[...Array(5)].map((t,i)=>r.jsx(M.div,{className:"w-3 bg-gradient-to-t from-purple-800 to-purple-400 rounded-t-full origin-bottom",style:{height:40+Math.random()*60},animate:{rotate:[-10,10,-10]},transition:{duration:3+Math.random()*2,repeat:1/0,ease:"easeInOut"}},i))})})}),P5=({pure:e}={})=>r.jsx(dn,{title:"Crab",pure:e,children:r.jsx(M.div,{animate:{x:[-10,10,-10],rotate:[-2,2,-2]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"relative w-24 h-16 drop-shadow-[0_0_15px_rgba(239,68,68,0.5)]",children:r.jsxs("svg",{viewBox:"0 0 100 60",className:"w-full h-full fill-red-500/90 stroke-red-300",children:[r.jsx("ellipse",{cx:"50",cy:"30",rx:"30",ry:"20"}),r.jsx("path",{d:"M25,25 Q10,10 20,5 Q30,15 25,25"}),r.jsx("path",{d:"M75,25 Q90,10 80,5 Q70,15 75,25"}),r.jsx("path",{d:"M25,40 Q10,50 15,60",fill:"none",strokeWidth:"3"}),r.jsx("path",{d:"M35,45 Q20,60 25,70",fill:"none",strokeWidth:"3"}),r.jsx("path",{d:"M75,40 Q90,50 85,60",fill:"none",strokeWidth:"3"}),r.jsx("path",{d:"M65,45 Q80,60 75,70",fill:"none",strokeWidth:"3"}),r.jsx("circle",{cx:"40",cy:"15",r:"3",fill:"#fff"}),r.jsx("circle",{cx:"60",cy:"15",r:"3",fill:"#fff"})]})})}),H5=({pure:e}={})=>r.jsx(dn,{title:"Seahorse",pure:e,children:r.jsx(M.div,{animate:{y:[-8,8,-8]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},className:"relative w-16 h-32 drop-shadow-[0_0_15px_rgba(250,204,21,0.5)]",children:r.jsxs("svg",{viewBox:"0 0 50 100",className:"w-full h-full fill-yellow-400/80 stroke-yellow-200",children:[r.jsx("path",{d:"M35,20 Q40,10 30,5 Q20,10 20,20 Q15,30 25,40 Q10,60 20,80 Q25,90 10,95 Q35,105 35,80 Q35,60 40,50 Q45,35 35,20"}),r.jsx("circle",{cx:"28",cy:"12",r:"2",fill:"#000"})]})})}),U5=({pure:e}={})=>r.jsx(dn,{title:"Shark",pure:e,children:r.jsx(M.div,{animate:{x:[-20,20,-20]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"relative w-40 h-20 drop-shadow-[0_0_15px_rgba(156,163,175,0.5)]",children:r.jsxs("svg",{viewBox:"0 0 120 60",className:"w-full h-full fill-gray-400 stroke-gray-200",children:[r.jsx("path",{d:"M10,40 Q30,20 70,30 Q100,35 110,45 Q90,40 70,45 Q30,50 10,40 Z"}),r.jsx("path",{d:"M50,26 L60,5 L65,28 Z",className:"fill-gray-500"}),r.jsx("path",{d:"M10,40 Q0,30 5,20 L15,35 Z",className:"fill-gray-500"}),r.jsx("path",{d:"M10,40 Q0,50 5,60 L15,45 Z",className:"fill-gray-500"})]})})}),j5=({pure:e}={})=>
295r.jsx(dn,{title:"Fish",pure:e,children:r.jsx(M.div,{animate:{x:[-15,15,-15],y:[-5,5,-5]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},className:"relative w-20 h-12",children:r.jsxs("svg",{viewBox:"0 0 60 40",className:"w-full h-full fill-emerald-400/80 stroke-emerald-200 drop-shadow-[0_0_20px_rgba(52,211,153,0.8)]",children:[r.jsx("path",{d:"M10,20 Q30,10 50,20 Q30,30 10,20 Z"}),r.jsx("path",{d:"M10,20 L0,10 L5,20 L0,30 Z",className:"fill-emerald-600/80"}),r.jsx("circle",{cx:"40",cy:"18",r:"2",fill:"#fff"})]})})}),G5=({pure:e}={})=>r.jsx(dn,{title:"Mollusc (Shell)",pure:e,children:r.jsx(M.div,{animate:{rotate:[-5,5,-5]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"relative w-24 h-24 drop-shadow-[0_0_15px_rgba(216,180,229,0.6)]",children:r.jsxs("svg",{viewBox:"0 0 100 100",className:"w-full h-full fill-fuchsia-300/80 stroke-fuchsia-100",children:[r.jsx("path",{d:"M50,90 Q10,70 20,40 Q30,10 50,20 Q70,10 80,40 Q90,70 50,90"}),r.jsx("path",{d:"M50,90 L20,40 M50,90 L35,25 M50,90 L65,25 M50,90 L80,40",stroke:"rgba(255,255,255,0.4)",strokeWidth:"2"})]})})}),V5=()=>r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Deep Ocean Ecosystem"}),r.jsx("p",{className:"text-white/60 mb-8 max-w-3xl",children:"Animated bioluminescent marine life and ocean formations used in aquatic themes."}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-5 gap-6",children:[r.jsx(R5,{}),r.jsx(M5,{}),r.jsx(D5,{}),r.jsx(k5,{}),r.jsx(L5,{}),r.jsx(P5,{}),r.jsx(H5,{}),r.jsx(U5,{}),r.jsx(j5,{}),r.jsx(G5,{})]})]}),z5=()=>r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5 pb-20",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 pb-4 border-b border-white/10 text-[#4facfe] drop-shadow-[0_0_15px_rgba(79,172,254,0.5)]",children:"Design System"}),r.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"text-2xl font-display font-bold mb-6 text-white",children:"Color Palette"}),r.jsx("p",{className:"text-white/60 mb-8",children:"Our color palette is inspired by deep space, bioluminescence, and futuristic interfaces. We rely on high-contrast neon accents against pitch-black backgrounds."}),r.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-4",children:[r.jsxs("div",{className:"flex flex-col gap-2",children:[r.jsx("div",{className:"w-full h-24 rounded-2xl bg-[#010610] border border-white/10 shadow-lg"}),r.jsx("div",{className:"font-mono text-xs uppercase text-white/50",children:"Deep Void"}),r.jsx("div",{className:"font-mono text-[10px] text-white/30",children:"#010610"})]}),r.jsxs("div",{className:"flex flex-col gap-2",children:[r.jsx("div",{className:"w-full h-24 rounded-2xl bg-[#020617] border border-white/10 shadow-lg"}),r.jsx("div",{className:"font-mono text-xs uppercase text-white/50",children:"Cosmic Slate"}),r.jsx("div",{className:"font-mono text-[10px] text-white/30",children:"#020617"})]}),r.jsxs("div",{className:"flex flex-col gap-2",children:[r.jsx("div",{className:"w-full h-24 rounded-2xl bg-[#05101a] border border-white/10 shadow-lg"}),r.jsx("div",{className:"font-mono text-xs uppercase text-white/50",children:"Abyssal Blue"}),r.jsx("div",{className:"font-mono text-[10px] text-white/30",children:"#05101a"})]}),r.jsxs("div",{className:"flex flex-col gap-2 mt-4",children:[r.jsx("div",{className:"w-full h-24 rounded-2xl bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.4)]"}),r.jsx("div",{className:"font-mono text-xs uppercase text-blue-400",children:"Electric Blue"}),r.jsx("div",{className:"font-mono text-[10px] text-blue-400/50",children:"#3B82F6"})]}),r.jsxs("div",{className:"flex flex-col gap-2 mt-4",children:[r.jsx("div",{className:"w-full h-24 rounded-2xl bg-emerald-400 shadow-[0_0_20px_rgba(52,211,153,0.4)]"}),r.jsx("div",{className:"font-mono text-xs uppercase text-emerald-400",children:"Bio Emerald"}),r.jsx("div",{className:"font-mono text-[10px] text-emerald-400/50",children:"#34D399"})]}),r.jsxs("div",{className:"flex flex-col gap-2 mt-4",children:[r.jsx("div",{className:"w-full h-24 rounded-2xl bg-purple-500 shadow-[0_0_20px_rgba(168,85,247,0.4)]"}),r.jsx("div",{className:"font-mono text-xs uppercase text-purple-400",children:"Plasma Purple"}),r.jsx("div",{className:"font-mono text-[10px] text-purple-400/50",children:"#A855F7"})]}),r.jsxs("div",{className:"flex flex-col gap-2 mt-4 col-span-2 sm:col-span-3",children:[r.jsx("div",{className:"w-full h-16 rounded-2xl bg-gradient-to-r from-[#4facfe] to-[#00f2fe] border border-white/10"}),r.jsx("div",{className:"font-mono text-xs uppercase text-white/50",children:"Data Stream Gradient"}),r.jsx("div",{className:"font-mono text-[10px] text-white/30",children:"from-[#4facfe] to-[#00f2fe]"})]})]})]}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-2xl font-display font-bold mb-6 text-white",children:"Typography Treatments"}),r.jsx("p",{className:"text-white/60 mb-8",children:"Our typography combines bold, high-contrast display fonts for impact with structured, monospaced fonts for data and technical realism."}),r.jsxs("div",{className:"space-y-8",children:[r.jsxs("div",{className:"p-6 bg-white/5 border border-white/10 rounded-3xl",children:[r.jsx("div",{className:"font-mono text-[10px] uppercase tracking-widest text-blue-400 mb-4",children:"Display Heads - Outfit"}),r.jsx("h1",{className:"text-5xl md:text-6xl font-display font-black tracking-tighter uppercase italic leading-none text-white",children:"Dscope"}),r.jsx("p",{className:"mt-4 text-sm text-white/50",children:"Used for hero sections, massive numbers, and intense visual breaks (Outfit text). Bold, clean, impactful."})]}),r.jsxs("div",{className:"p-6 bg-white/5 border border-white/10 rounded-3xl",children:[r.jsx("div",{className:"font-mono text-[10px] uppercase tracking-widest text-emerald-400 mb-4",children:"Body & UI Elements - Inter"}),r.jsx("h2",{className:"text-3xl font-sans font-bold text-white drop-shadow-md",children:"Orchestrating the Future"}),r.jsx("p",{className:"mt-4 text-sm text-white/50",children:"Used for general text, section boundaries, and UI components. Clear, highly legible sans-serif."})]}),r.jsxs("div",{className:"p-6 bg-white/5 border border-white/10 rounded-3xl",children:[r.jsx("div",{className:"font-mono text-[10px] uppercase tracking-widest text-purple-400 mb-4",children:"Functional & Technical - JetBrains Mono"}),r.jsx("div",{className:"font-mono text-xs uppercase tracking-[0.2em] text-white/80 p-4 bg-black/50 rounded-xl border border-white/5 inline-block",children:"SYS.INIT_SEQUENCE [OK]"}),r.jsx("p",{className:"mt-4 text-sm text-white/50",children:"Used for metadata, small labels, UI functional elements, and code traces. Wide letter-spacing, uppercase."})]}),r.jsxs("div",{className:"p-6 bg-white/5 border border-white/10 rounded-3xl",children:[r.jsx("div",{className:"font-mono text-[10px] uppercase tracking-widest text-amber-400 mb-4",children:"Editorial Accents - Newsreader"}),r.jsx("h3",{className:"text-2xl font-serif italic text-white/90",children:"The philosophical dimensions of AI"}),r.jsx("p",{className:"mt-4 text-sm text-white/50",children:"Used strategically for elegant quotes, subtle subheadings, and distinguishing narrative elements."})]})]})]})]})]}),Ml=[{id:"alpha",name:"Alpha",path:"M 50 10 L 10 90 L 90 90 Z M 50 40 L 75 90 L 25 90 Z",color:"#3b82f6"},{id:"gamma",name:"Gamma",path:"M 20 10 L 80 10 L 80 30 L 50 30 L 50 90 L 30 90 L 30 30 L 20 30 Z",color:"#a85
2955f7"},{id:"figma",name:"Figma",path:"M 30 10 C 20 10 20 30 30 30 L 50 30 L 50 10 Z M 50 30 L 70 30 C 80 30 80 10 70 10 L 50 10 Z M 30 50 C 20 50 20 30 30 30 L 50 30 L 50 50 Z M 70 50 C 80 50 80 30 70 30 L 50 30 L 50 50 Z M 30 70 C 20 70 20 50 30 50 L 50 50 L 50 70 Z M 50 90 C 40 90 30 80 30 70 L 50 70 L 50 90 Z",color:"#ff7262"},{id:"sigma",name:"Sigma",path:"M 20 10 L 80 10 L 80 25 L 45 50 L 80 75 L 80 90 L 20 90 L 20 75 L 50 50 L 20 25 Z",color:"#ef4444"},{id:"delta",name:"Delta",path:"M 50 10 L 90 80 L 10 80 Z",color:"#4facfe"},{id:"omega",name:"Omega",path:"M 30 80 C 10 80 10 20 50 20 C 90 20 90 80 70 80 L 90 80 L 90 95 L 70 95 C 60 95 60 80 60 80 C 60 60 40 60 40 80 C 40 80 40 95 30 95 L 10 95 L 10 80 Z",color:"#f59e0b"},{id:"phi",name:"Phi",path:"M 50 10 L 50 90 M 30 50 A 20 25 0 1 1 70 50 A 20 25 0 1 1 30 50",color:"#ec4899"},{id:"beta",name:"Beta",path:"M 30 10 H 60 C 75 10 75 45 60 45 H 30 M 30 45 H 65 C 80 45 80 90 65 90 H 30 M 30 10 V 90",color:"#06b6d4"},{id:"theta",name:"Theta",path:"M 50 10 A 40 40 0 1 1 50 90 A 40 40 0 1 1 50 10 M 20 50 H 80",color:"#10b981"},{id:"psi",name:"Psi",path:"M 50 10 L 50 90 M 20 30 C 20 80 80 80 80 30",color:"#fb7185"},{id:"phoenix",name:"Phoenix",path:"M 50 40 L 50 15 L 43 22 M 50 15 L 57 22 M 50 45 Q 25 20 15 10 Q 30 40 50 50 Q 75 40 85 10 Q 75 20 50 45 M 50 53 Q 30 38 22 30 Q 32 52 50 58 Q 68 52 78 30 Q 70 38 50 53 M 45 60 L 50 95 L 55 60 M 40 57 L 50 90 L 60 57",color:"#ff6b3d"}],B5=()=>{const[e,t]=_.useState({}),i=o=>{t(l=>({...l,[o]:!l[o]}))};return r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5 pb-20",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 pb-4 border-b border-white/10 text-white",children:"Logo Style Symbols"}),r.jsx("p",{className:"text-white/60 mb-12 max-w-2xl text-lg",children:"Abstract geometric symbols derived from Greek characters, optimized for high-contrast logo applications. Click on any icon below to hide its text and frame, showcasing only the glowing core vector path."}),r.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-8",children:Ml.map((o,l)=>{const c=!!e[o.id];return r.jsxs(M.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:l*.1},className:"flex flex-col items-center gap-4 group cursor-pointer",onClick:()=>i(o.id),children:[r.jsxs("div",{className:`relative w-32 h-32 flex items-center justify-center rounded-2xl transition-all duration-500 scale-100 active:scale-95 ${c?"bg-transparent border border-transparent shadow-none":"bg-white/5 border border-white/10 group-hover:bg-white/10 group-hover:border-white/20"}`,children:[r.jsx("svg",{viewBox:"0 0 100 100",className:"w-16 h-16 fill-none stroke-2 transition-all duration-500 select-none",style:{stroke:o.color},children:r.jsx(M.path,{d:o.path,initial:{pathLength:0},whileInView:{pathLength:1},viewport:{once:!0},transition:{duration:1.5,delay:l*.1+.5},strokeLinecap:"round",strokeLinejoin:"round"})}),r.jsx("div",{className:`absolute inset-0 bg-[radial-gradient(circle_at_center,var(--tw-gradient-from),transparent_70%)] transition-opacity duration-500 ${c?"opacity-30 pointer-events-none":"opacity-0 group-hover:opacity-25"}`,style:{"--tw-gradient-from":o.color}})]}),r.jsxs("div",{className:`text-center transition-all duration-500 select-none ${c?"opacity-0 scale-95 pointer-events-none h-0 overflow-hidden":"opacity-100 scale-100"}`,children:[r.jsxs("span",{className:"text-[10px] font-mono text-white/40 uppercase tracking-widest block mb-1",children:["SYM-",(l+1).toString().padStart(2,"0")]}),r.jsx("h3",{className:"text-sm font-display font-bold uppercase tracking-tighter transition-colors group-hover:text-white text-white/70",children:o.name})]})]},o.id)})})]})},O5=[{id:"cinematic",name:"Cinematic Realism",desc:"High-fidelity 3D render with volumetric lighting, film grain, and realistic textures. Feels like a blockbuster sci-fi movie.",color:"#38bdf8",image:"https://images.unsplash.com/photo-1614729939124-03290b55c9ce?auto=format&fit=crop&w=800&q=80",tags:["Cinematic","Realistic","3D"]}
295,{id:"deep-space",name:"Deep Space EVA",desc:"Hyper-realistic astronaut suit detailing, harsh directional sunlight, and dark space shadows.",color:"#f8fafc",image:"https://images.unsplash.com/photo-1618331835717-801e976710b2?auto=format&fit=crop&w=800&q=80",tags:["EVA Suit","Harsh Lighting","Detail"]},{id:"holographic",name:"Holographic Projection",desc:"Realistic particle systems and light scattering, creating a life-like volumetric hologram of the alien.",color:"#10b981",image:"https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=800&q=80",tags:["Hologram","Particles","VFX"]},{id:"cyberpunk",name:"Cyberpunk Realism",desc:"Gritty, highly detailed textures with neon rim lighting, subsurface scattering on alien skin.",color:"#f43f5e",image:"https://images.unsplash.com/photo-1544716278-e513176f20b5?auto=format&fit=crop&w=800&q=80",tags:["Cyber","Neon Rim","Textured"]},{id:"photoreal",name:"Photorealistic Studio",desc:"Studio lighting setup, ultra-high resolution rendering with perfect depth of field and lens bokeh.",color:"#fbbf24",image:"https://images.unsplash.com/photo-1563089145-599997674d42?auto=format&fit=crop&w=800&q=80",tags:["Studio","Bokeh","8K"]}],q5=()=>{const[e,t]=_.useState("aliens"),[i,o]=_.useState(null);return r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5 pb-20",children:[r.jsxs("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-10 pb-4 border-b border-white/10",children:[r.jsxs("div",{children:[r.jsxs("h2",{className:"text-3xl font-display font-bold text-white tracking-tight uppercase flex items-center gap-3",children:[r.jsx(Ug,{className:"text-amber-400 w-8 h-8"}),"Brand Mascots & Characters"]}),r.jsx("p",{className:"text-white/60 mt-2 max-w-2xl text-base",children:"Exploring Dscope's friendly faces: The Happy Alien in multiple art styles and the adventurous Astronaut Dog mascot."})]}),r.jsxs("div",{className:"flex bg-white/5 border border-white/10 rounded-full p-1 mt-6 md:mt-0",children:[r.jsx("button",{onClick:()=>t("aliens"),className:`px-6 py-2 rounded-full font-mono text-xs uppercase tracking-widest transition-all duration-300 ${e==="aliens"?"bg-blue-500/20 text-blue-400 border border-blue-500/30 shadow-[0_0_15px_rgba(59,130,246,0.3)]":"text-white/50 hover:text-white"}`,children:"Happy Aliens"}),r.jsx("button",{onClick:()=>t("dog"),className:`px-6 py-2 rounded-full font-mono text-xs uppercase tracking-widest transition-all duration-300 ${e==="dog"?"bg-amber-500/20 text-amber-400 border border-amber-500/30 shadow-[0_0_15px_rgba(245,158,11,0.3)]":"text-white/50 hover:text-white"}`,children:"Astronaut Dog"})]})]}),r.jsx(Xe,{mode:"wait",children:e==="aliens"?r.jsx(M.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.4},className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-6",children:O5.map((l,c)=>r.jsx(M.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:c*.1},onMouseEnter:()=>o(l.id),onMouseLeave:()=>o(null),className:"bg-black/40 border border-white/5 rounded-3xl overflow-hidden group cursor-pointer transition-all duration-500 hover:shadow-[0_0_30px_rgba(0,0,0,0.5)]",style:{borderColor:i===l.id?l.color:"rgba(255,255,255,0.05)"},children:r.jsxs("div",{className:"aspect-[4/5] relative overflow-hidden bg-[#050510]",children:[r.jsx("img",{loading:"lazy",src:l.image,alt:l.name,className:"w-full h-full object-cover opacity-60 group-hover:opacity-100 group-hover:scale-110 transition-all duration-700"}),r.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black/20 to-transparent pointer-events-none"}),r.jsxs("div",{className:"absolute bottom-0 left-0 w-full p-5",children:[r.jsx("div",{className:"flex gap-2 mb-3",children:l.tags.map(m=>r.jsx("span",{className:"text-[9px] font-mono uppercase tracking-widest px-2 py-1 rounded-full bg-white/10 backdrop-blur-md text-white/90 border border-white/20",children:m},m))}),r.jsx("h3",{className:"text-xl font-display font-bold text-white mb-2",style:{color:i===l.id?l.color:"#fff"},children:l.name}),r.jsx("p",{className:"text-xs text-white/50 leading-relaxed font-sans",children:l.desc})]})]})},l.id))},"aliens"):r.jsx(M.div,{initial:{opacity:0,y:20}
295,animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.4},className:"w-full",children:r.jsxs("div",{className:"bg-gradient-to-br from-[#0c0c1a] to-[#04040a] border border-amber-500/20 rounded-[2rem] overflow-hidden flex flex-col md:flex-row shadow-[0_0_50px_rgba(245,158,11,0.05)]",children:[r.jsxs("div",{className:"w-full md:w-1/2 aspect-square md:aspect-auto relative overflow-hidden group",children:[r.jsx("img",{loading:"lazy",src:"https://images.unsplash.com/photo-1541364983171-a8ba01e95cfc?auto=format&fit=crop&w=1200&q=80",alt:"Astronaut Golden Retriever",className:"w-full h-full object-cover opacity-80 group-hover:opacity-100 group-hover:scale-105 transition-all duration-1000"}),r.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_center,transparent_40%,_#000_100%)] pointer-events-none opacity-80"}),r.jsxs("div",{className:"absolute top-6 left-6 flex items-center gap-3 bg-black/50 backdrop-blur-md px-4 py-2 rounded-full border border-white/10",children:[r.jsx("div",{className:"w-2 h-2 rounded-full bg-emerald-400 animate-pulse"}),r.jsx("span",{className:"font-mono text-[10px] uppercase tracking-widest text-emerald-400",children:"Canine Unit Active"})]})]}),r.jsxs("div",{className:"w-full md:w-1/2 p-10 md:p-16 flex flex-col justify-center",children:[r.jsx("div",{className:"w-16 h-16 rounded-full bg-amber-500/10 border border-amber-500/20 flex items-center justify-center mb-8",children:r.jsx(bl,{className:"w-8 h-8 text-amber-400"})}),r.jsxs("h3",{className:"text-4xl md:text-5xl font-display font-black tracking-tighter text-white mb-6",children:["Cosmo The ",r.jsx("br",{})," ",r.jsx("span",{className:"text-amber-400",children:"Astronaut Dog"})]}),r.jsx("p",{className:"text-white/60 text-lg leading-relaxed mb-8",children:"A high-quality 3D rendered Golden Retriever floating seamlessly in zero gravity. Wearing a customized EVA space suit with Dscope insignia, Cosmo represents curiosity, loyalty, and the adventurous spirit of our brand."}),r.jsxs("div",{className:"grid grid-cols-2 gap-6 pt-8 border-t border-white/10",children:[r.jsxs("div",{children:[r.jsx("div",{className:"font-mono text-[10px] text-white/40 uppercase tracking-widest mb-2",children:"Style Specs"}),r.jsx("div",{className:"font-sans font-bold text-white text-sm",children:"Cinematic 3D Render"})]}),r.jsxs("div",{children:[r.jsx("div",{className:"font-mono text-[10px] text-white/40 uppercase tracking-widest mb-2",children:"Core Trait"}),r.jsx("div",{className:"font-sans font-bold text-white text-sm",children:"Loyal Explorer"})]}),r.jsxs("div",{children:[r.jsx("div",{className:"font-mono text-[10px] text-white/40 uppercase tracking-widest mb-2",children:"Lighting"}),r.jsx("div",{className:"font-sans font-bold text-white text-sm",children:"Volumetric / Studio"})]})]})]})]})},"dog")})]})},F5=[{id:"satellite",name:"Global Satellite Hub"},{id:"starlink",name:"Starlink Array"},{id:"telescope",name:"Deep Space Telescope"},{id:"probe",name:"Exploration Probe"},{id:"station",name:"Orbital Station"},{id:"relay",name:"Comm Relay"},{id:"buoy",name:"Navigation Buoy"},{id:"drone",name:"Research Drone"},{id:"reactor",name:"Plasma Reactor"},{id:"warpgate",name:"Warp Gate"}],di=({title:e,children:t,className:i="",pure:o=!1})=>o?r.jsx("div",{className:`relative w-full h-full flex items-center justify-center ${i}`,children:t}):r.jsxs("div",{className:`p-8 relative rounded-3xl border border-white/10 flex flex-col justify-center items-center overflow-hidden h-[300px] group ${i}`,children:[r.jsx("div",{className:"absolute inset-0 bg-[#00000a]"}),r.jsx("div",{className:"relative z-10 w-full h-full flex items-center justify-center pointer-events-none",children:t}),r.jsx("div",{className:"absolute bottom-4 left-4 z-20 text-white/50 font-mono text-xs uppercase tracking-widest bg-black/50 px-2 py-1 rounded backdrop-blur-md",children:e})]}),vx=({pure:e}={})=>r.jsx(di,{title:"Carbon Atom",pure:e,children:r.jsxs("div",{className:"relative w-20 h-20 flex items-center justify-center",children:[r.jsx("div",{className:"absolute w-6 h-6 bg-blue-500 rounded-full shadow-[0_0_20px_#3b82f6] blur-[2px]"}),r.jsx("div",{className:"absolute w-6 h-6 bg-red-500 rounded-full shadow-[0_0_20px_#ef4444] blur-[2px] translate-x-2"}),r.jsx("div",{className:"absolute w-6 h-6 bg-emerald-500 rounded-full shadow-[0_0_20px_#10b981] blur-[2px] translate-y-2"}),[0,60,120].map((t,i)=>r.jsx(M.div,{className:"absolute top-1/2 left-1/2 w-48 h-16 border-2 border-white/10 rounded-[100%] -translate-x-1/2 -translate-y-1/2",style:{rotate:t},children:r.jsx(M.div,{className:"absolute top-[-5px] left-1/2 w-3 h-3 bg-yellow-300 rounded-full shadow-[0_0_12px_#fde047] -translate-x-1/2",animate:{rotate:[0,360],transformOrigin:"50% 32px"},transition:{duration:3+i,repeat:1/0,ease:"linear"}})},`orbit-${i}`))]})}),bx=({pure:e}={})=>r.jsx(di,{title:"Pathogen Virion",pure:e,children:r.jsxs(M.div,{className:"w-32 h-32 rounded-full border-2 border-purple-500/80 shadow-[0_0_30px_rgba(168,85,247,0.6)] relative flex items-center justify-center bg-purple-900/20",animate:{rotate:360,scale:[.95,1.05,.95]},transition:{duration:20,repeat:1/0,ease:"linear"},children:[r.jsx("div",{className:"w-16 h-16 rounded-full bg-purple-500/30 blur-[5px]"}),[...Array(12)].map((t,i)=>r.jsx("div",{className:"absolute w-1.5 h-6 bg-fuchsia-400 rounded-full shadow-[0_0_10px_#e879f9]",style:{transform:`rotate(${i*30}deg) translateY(-18px)`,transformOrigin:"50% 34px"}},`spike-${i}`))]})}),wx=({pure:e}={})=>r.jsx(di,{title:"DNA Helix Sequence",pure:e,children:r.jsx("div",{className:"relative w-full h-full flex items-center justify-center perspective-1000",children:[...Array(15)].map((t,i)=>r.jsxs(M.div,{className:"absolute w-32 h-1 bg-white/20 flex justify-between items-center",style:{to
295p:"50%",marginTop:(i-7)*15},animate:{rotateY:[0,360]},transition:{duration:10,repeat:1/0,ease:"linear",delay:i*.2},children:[r.jsx("div",{className:"w-4 h-4 rounded-full bg-blue-400 shadow-[0_0_10px_#60a5fa] -ml-2"}),r.jsx("div",{className:"w-4 h-4 rounded-full bg-emerald-400 shadow-[0_0_10px_#34d399] -mr-2"})]},`base-pair-${i}`))})}),Ex=({pure:e}={})=>r.jsx(di,{title:"Neural Synapse",pure:e,children:r.jsxs("div",{className:"relative w-full h-full flex items-center justify-center",children:[r.jsx(M.div,{className:"w-24 h-24 bg-cyan-900/40 rounded-[40%_60%_70%_30%] border border-cyan-400/50 shadow-[0_0_30px_rgba(34,211,238,0.4)] flex items-center justify-center",animate:{borderRadius:["40% 60% 70% 30%","60% 40% 30% 70%","40% 60% 70% 30%"],scale:[1,1.1,1]},transition:{duration:5,repeat:1/0,ease:"easeInOut"},children:r.jsx("div",{className:"w-8 h-8 rounded-full bg-cyan-400/80 blur-[2px]"})}),[...Array(6)].map((t,i)=>r.jsx(M.div,{className:"absolute w-2 h-20 bg-gradient-to-t from-cyan-400/0 to-cyan-400/60 origin-bottom",style:{transform:`rotate(${i*60+30}deg) translateY(-40px)`},children:r.jsx(M.div,{className:"w-full h-4 bg-cyan-300 rounded-full shadow-[0_0_10px_#67e8f9]",animate:{y:[0,-60,0],opacity:[0,1,0]},transition:{duration:2,repeat:1/0,delay:i*.3}})},`dendrite-${i}`))]})}),$5=({pure:e}={})=>r.jsx(di,{title:"H2O Molecule",pure:e,children:r.jsx("div",{className:"relative flex items-center justify-center h-full w-full",children:r.jsxs(M.div,{className:"relative flex items-center justify-center",animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},children:[r.jsx("div",{className:"w-20 h-20 bg-red-600 rounded-full shadow-[inset_-10px_-10px_20px_rgba(0,0,0,0.5),_0_0_20px_#ef4444] z-10"}),r.jsx("div",{className:"absolute w-12 h-12 bg-white rounded-full shadow-[inset_-5px_-5px_10px_rgba(0,0,0,0.3)] -top-6 -left-6"}),r.jsx("div",{className:"absolute w-1 h-12 bg-white/30 -top-2 -left-2 rotate-45 transform origin-bottom-right"}),r.jsx("div",{className:"absolute w-12 h-12 bg-white rounded-full shadow-[inset_-5px_-5px_10px_rgba(0,0,0,0.3)] -top-6 -right-6"}),r.jsx("div",{className:"absolute w-1 h-12 bg-white/30 -top-2 -right-2 -rotate-45 transform origin-bottom-left"})]})})}),Tx=({pure:e}={})=>r.jsx(di,{title:"Electron Cloud",pure:e,children:r.jsxs("div",{className:"relative w-full h-full flex items-center justify-center bg-[#050510]",children:[r.jsx("div",{className:"w-10 h-10 bg-indigo-500 rounded-full shadow-[0_0_30px_#6366f1] blur-[2px]"}),[...Array(40)].map((t,i)=>r.jsx(M.div,{className:"absolute w-1.5 h-1.5 rounded-full bg-blue-300 shadow-[0_0_8px_#93c5fd]",animate:{x:[(Math.random()-.5)*150,(Math.random()-.5)*150,(Math.random()-.5)*150],y:[(Math.random()-.5)*150,(Math.random()-.5)*150,(Math.random()-.5)*150],opacity:[0,.8,0]},transition:{duration:Math.random()*2+1,repeat:1/0,ease:"backInOut"}},`electron-${i}`))]})}),Y5=({pure:e}={})=>r.jsx(di,{title:"Probiotic Bacillus",pure:e,children:r.jsxs(M.div,{className:"relative w-40 h-16 bg-gradient-to-r from-emerald-600 to-emerald-400 rounded-full shadow-[inset_-10px_-10px_20px_rgba(0,0,0,0.4),_0_0_20px_#10b981] flex items-center justify-center overflow-hidden",animate:{rotate:[0,5,-5,0],y:[0,-10,0]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},children:[r.jsx("div",{className:"absolute inset-0 opacity-30",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='nf'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23nf)'/%3E%3C/svg%3E")`}}),r.jsx("svg",{className:"w-32 h-10 opacity-40",children:r.jsx(M.path,{d:"M 10 20 Q 30 10 50 20 T 90 20 T 130 20",stroke:"white",fill:"none",strokeWidth:"2",animate:{d:["M 10 20 Q 30 10 50 20 T 90 20 T 130 20","M 10 20 Q 30 30 50 20 T 90 20 T 130 20"]},transition:{duration:2,repeat:1/0,repeatType:"mirror"}})})]})}),J5=({pure:e}={})=>r.jsx(di,{title:"Erythrocyte",pure:e,children:r.jsx("div",{className:"relative w-full h-full flex items-center justify-center perspective-[800px]",children:r.jsx(M.div,{className:"w-32 h-32 bg-red-600 rounded-full shadow-[inset_0_0_40px_rgba(0,0,0,0.8),_0_0_30px_rgba(220,38,38,0.6)]",animate:{rotateX:[0,45,0],rotateY:[0,45,0],scale:[1,1.05,1]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},children:r.jsx("div",{className:"absolute inset-4 bg-red-700 rounded-full shadow-[inset_0_0_20px_rgba(0,0,0,0.6)]"})})})}),K5=()=>r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[r.jsx(vx,{}),r.jsx(bx,{}),r.jsx(wx,{}),r.jsx(Ex,{}),r.jsx($5,{}),r.jsx(Tx,{}),r.jsx(Y5,{}),r.jsx(J5,{})]});_.lazy(()=>he(()=>import("./Planets-CcgipA7r.js"),__vite__mapDeps([4,1,2])).then(e=>({default:e.RealisticPlanet})));const X5=_.memo(()=>{const{scrollYProgress:e}=$t(),{reduced:t}=Wu(),i=qt(0),o=qt(0);qe.useEffect(()=>{const R=L=>{const{clientX:q,clientY:Y}=L,P=q-window.innerWidth/2,O=Y-window.innerHeight/2;i.set(P),o.set(O)};return window.addEventListener("mousemove",R),()=>window.removeEventListener("mousemove",R)},[i,o]);const l=Fe(i,{stiffness:40,damping:20}),c=Fe(o,{stiffness:40,damping:20}),m=Fe(e,{stiffness:30,damping:20,mass:1.2}),p=Q(m,[0,1],["0%","-30%"]),y=Q(m,[0,1],["0%","-15%"]),g=Q(l,[-1e3,1e3],["-2%","2%"]),v=Q(c,[-1e3,1e3],["-2%","2%"]),b=Q(l,[-1e3,1e3],["-1%","1%"]),w=Q(c,[-1e3,1e3],["-1%","1%"]),T=Q(m,[0,.4],[1,0]),A=Q(m,[.3,.6],[0,1]),I=Q(m,[0,.6],["0deg","180deg"]),C=qe.useMemo(()=>[...Array(200)].map(()=>({top:Math.random()*120+"%",left:Math.random()*100+"%",size:Math.random()*2+1+"px",opacity:Math.random()*.8+.4})),[]),N=qe.useMemo(()=>[...Array(250)].map(()=>({top:Math.random()*120+"%",left:Math.random()*100+"%",size:Math.random()*1.5+1+"px",opacity:Math.random()*.5+.2})),[]);return r.jsxs("div",{className:"fixed inset-0 overflow-hidden pointer-events-none z-0 bg-[#020202]",children:[r.jsx(M.div,{style:{x:g},className:"absolute inset-0 pointer-events-none z-0",children:r.jsx(M.div,{style:{y:v},className:"absolute inset-0",children:r.jsxs(M.div,{style:{rotate:I},className:"absolute top-[25%] left-[65%] w-[108vw] h-[108vw] md:w-[72vw] md:h-[72vw] -translate-x-1/2 -translate-y-1/2 origin-center",children:[r.jsxs(M.div,{style:{opacity:T},animate:{scale:[1,1.05,1],filter:["brightness(0.9) contrast(1)","brightness(1) contrast(1.1)","brightness(0.9) contrast(1)"]},transition:{duration:10,repeat:1/0,ease:"easeInOut"},className:"absolute inset-0",children:[r.jsx("div",{className:"absolute inset-[30%] rounded-full bg-white/10 blur-[80px]"}),r.jsx("div",{className:"absolute inset-[40%] rounded-full bg-white/20 blur-[40px]"}),r.jsx("div",{className:"absolute inset-[45%] rounded-full bg-slate-200/50 blur-[20px] shadow-[0_0_80px_rgba(255,255,255,0.4)]"})]}),r.jsxs(M.div,{style:{opacity:A},className:"absolute inset-0 rotate-180",children:[r.jsx("div",{className:"absolute inset-[30%] rounded-full bg-slate-400/10 blur-[80px]"}),r.jsx("div",{className:"absolute inset-[38%] rounded-full bg-white/20 blur-[40px]"}),r.jsx("div",{className:"absolute inset-[45%] rounded-full bg-slate-300/70 blur-[8px] shadow-[0_0_50px_rgba(255,255,255,0.3)]"}),r.jsxs("div",{className:"absolute inset-[45%] rounded-full overflow-hidden",children:[r.jsx("div",{className:"absolute top-[20%] left-[30%] w-[20%] h-[20%] rounded-full bg-black/20 blur-[2px]"}),r.jsx("div",{className:"absolute top-[50%] left-[60%] w-[35%] h-[35%] rounded-full bg-black/30 blur-[4px]"}),r.jsx("div",{className:"absolute top-[65%] left-[25%] w-[25%] h-[25%] rounded-full bg-black/20 blur-[3px]"})]})]})]})})}),r.jsx("div",{className:"absolute top-[10%] left-[20%] w-[60vw] h-[40vw] rounded-full bg-slate-800/10 blur-[180px] mix-blend-screen"}),r.jsx("div",{className:"absolute bottom-[20%] right-[10%] w-[50vw] h-[50v
295w] rounded-full bg-zinc-800/10 blur-[180px] mix-blend-screen"}),r.jsx("div",{className:"absolute w-[200vw] h-[150vh] rounded-[100%] blur-[100px] -rotate-45 -top-[25%] -left-[50%] mix-blend-screen pointer-events-none opacity-50",style:{background:"radial-gradient(ellipse at center, rgba(150, 150, 160, 0.1) 0%, rgba(100, 100, 110, 0.05) 40%, rgba(0,0,0,0) 70%)"}}),r.jsx("div",{className:"absolute w-[200vw] h-[100vh] rounded-[100%] blur-[120px] -rotate-45 top-[0%] -left-[30%] mix-blend-plus-lighter pointer-events-none opacity-50",style:{background:"radial-gradient(ellipse at center, rgba(200, 200, 200, 0.05) 0%, rgba(150, 150, 150, 0.03) 50%, rgba(0,0,0,0) 70%)"}}),!t&&r.jsx(M.div,{style:{x:g},className:"absolute inset-0 pointer-events-none z-10",children:r.jsx(M.div,{style:{y:v},className:"absolute inset-0"})}),r.jsx(M.div,{style:{y,x:b},className:"absolute inset-0 h-[120%]",children:r.jsx(M.div,{style:{y:w},className:"absolute inset-0",children:N.filter((R,L)=>t?L%4===0:!0).map((R,L)=>t?r.jsx("div",{className:"absolute rounded-full bg-white",style:{top:R.top,left:R.left,width:R.size,height:R.size,opacity:R.opacity*.6}},L):r.jsx(M.div,{className:"absolute rounded-full bg-white",style:{top:R.top,left:R.left,width:R.size,height:R.size},animate:{opacity:[R.opacity*.3,R.opacity,R.opacity*.3]},transition:{duration:2+Math.random()*3,repeat:1/0,ease:"easeInOut",delay:Math.random()*2}},L))})}),r.jsx(M.div,{style:{y:p,x:g},className:"absolute inset-0 h-[140%]",children:r.jsx(M.div,{style:{y:v},className:"absolute inset-0",children:C.filter((R,L)=>t?L%4===0:!0).map((R,L)=>t?r.jsx("div",{className:"absolute rounded-full bg-white",style:{top:R.top,left:R.left,width:R.size,height:R.size,opacity:R.opacity*.6}},L):r.jsx(M.div,{className:"absolute rounded-full bg-white shadow-[0_0_8px_rgba(255,255,255,0.8)]",style:{top:R.top,left:R.left,width:R.size,height:R.size},animate:{opacity:[R.opacity*.1,R.opacity,R.opacity*.1],scale:[.7,1.3,.7]},transition:{duration:1+Math.random()*2,repeat:1/0,ease:"easeInOut",delay:Math.random()*2}},L))})})]})}),Q5=[{id:"mercury",name:"Mercury",coordinates:"0.39 AU • 57.91M km",sizeClass:"w-6 h-6 md:w-10 md:h-10",baseBg:"bg-[#d1d5db]",texture:"radial-gradient(circle at 30% 30%, #f3f4f6, #9ca3af, #4b5563)",position:"top-[30%] left-[30%]",orbit:{rx:12,ry:10,speed:4,angle:0}},{id:"venus",name:"Venus",coordinates:"0.72 AU • 108.2M km",sizeClass:"w-10 h-10 md:w-16 md:h-16",baseBg:"bg-[#fef3c7]",texture:"linear-gradient(10deg, #fde68a, #fef08a, #fdf6e3, #fef08a, #fde68a)",position:"top-[15%] left-[55%]",orbit:{rx:20,ry:18,speed:3,angle:2}},{id:"earth",name:"Earth",coordinates:"1.00 AU • 149.6M km",sizeClass:"w-12 h-12 md:w-20 md:h-20",baseBg:"bg-[#1e3a8a]",texture:"radial-gradient(circle at 40% 40%, rgba(34,197,94,0.8) 0%, transparent 20%), radial-gradient(circle at 60% 60%, rgba(234,179,8,0.6) 0%, transparent 30%), linear-gradient(135deg, #3b82f6, #1d4ed8, #1e3a8a)",position:"top-[45%] right-[20%]",orbit:{rx:28,ry:25,speed:2.2,angle:4},satellites:[{id:"moon",name:"Moon",distance:15,speed:1.5,size:4,color:"bg-gray-300"},{id:"iss",name:"ISS",distance:22,speed:-2.5,size:2,color:"bg-blue-400",isTech:!0}]},{id:"mars",name:"Mars",coordinates:"1.52 AU • 227.9M km",sizeClass:"w-8 h-8 md:w-12 md:h-12",baseBg:"bg-[#b91c1c]",texture:"radial-gradient(circle at 50% 10%, #f1f5f9 0%, transparent 15%), radial-gradient(circle at 50% 90%, #f1f5f9 0%, transparent 15%), radial-gradient(circle at 50% 50%, #c2410c, #991b1b, #450a0a)",position:"top-[75%] left-[10%]",orbit:{rx:36,ry:32,speed:1.8,angle:1},satellites:[{id:"phobos",name:"Phobos",distance:12,speed:2,size:3,color:"bg-gray-400"},{id:"deimos",name:"Deimos",distance:18,speed:1.2,size:2,color:"bg-gray-500"}]},{id:"jupiter",name:"Jupiter",coordinates:"5.20 AU • 778.5M km",sizeClass:"w-20 h-20 md:w-32 md:h-32",baseBg:"bg-[#d6d3d1]",texture:"linear-gradient(0deg, #a8a29e, #d6d3d1, #78716c, #e7e5e4, #a8a29e, #d6d3d1, #78716c)",hasMoons:!0,position:"top-[80%] right-[30%]",orbit:{rx:48,ry:40,speed:1,angle:3},satellites:[{id:"io",name:"Io",distance:25,speed:1.8,size:5,color:"bg-yellow-200"},{id:"europa",name:"Europa",distance:35,speed:1.4,size:4,color:"bg-blue-100"},{id:"ganymede",name:"Ganymede",distance:45,speed:1,size:6,color:"bg-gray-400"}]},{id:"saturn",name:"Saturn",coordinates:"9.58 AU • 1.43B km",sizeClass:"w-16 h-16 md:w-24 md:h-24",baseBg:"bg-[#fcd34d]",texture:"linear-gradient(15deg, #d97706, #f59e0b, #fef3c7, #fcd34d, #d97706)",hasRings:!0,position:"top-[5%] right-[10%]",orbit:{rx:60,ry:50,speed:.7,angle:5},satellites:[{id:"titan",name:"Titan",distance:28,speed:.8,size:5,color:"bg-orange-200"},{id:"rhea",name:"Rhea",distance:20,speed:1.2,size:3,color:"bg-gray-200"}]},{id:"uranus",name:"Uranus",coordinates:"19.22 AU • 2.87B km",sizeClass:"w-10 h-10 md:w-14 md:h-14",baseBg:"bg-[#a5f3fc]",texture:"radial-gradient(circle at 50% 50%, #cffafe, #67e8f9, #06b6d4, #0891b2)",position:"top-[35%] left-[10%]",orbit:{rx:72,ry:60,speed:.4,angle:6},satellites:[{id:"titania",name:"Titania",distance:18,speed:1.5,size:3,color:"bg-blue-50"},{id:"miranda",name:"Miranda",distance:12,speed:2.2,size:2,color:"bg-white"}]},{id:"neptune",name:"Neptune",coordinates:"30.05 AU • 4.50B km",sizeClass:"w-4 h-4 md:w-6 md:h-6",baseBg:"bg-[#1e40af]",texture:"radial-gradient(circle at 50% 50%, #60a5fa, #3b82f6, #1d4ed8, #1e3a8a)",position:"top-[60%] left-[30%]",orbit:{rx:85,ry:70,speed:.2,angle:2.5},satellites:[{id:"triton",name:"Triton",distance:15,speed:-1.2,size:4,color:"bg-blue-200"}]}],W5=({id:e,locale:t="en"})=>{const i=t==="he";if(e==="11")return r.jsxs("div",{className:"w-full",dir:i?"rtl":"ltr",children:[r.jsxs("div",{className:"p-3 flex items-center justify-between border-b border-white/5 mb-4",children:[r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsxs("div",{className:"flex gap-1",children:[r.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-red-500/20"}),r.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-yellow-500/20"}),r.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-green-500/20"})]}),r.jsx("div",{className:"text-white/20 text-[8px] font-mono uppercase tracking-[0.2em] px-2 py-0.5",children:i?r.jsx(r.Fragment,{children:r.jsx("span",{dir:"ltr",children:"Agent Delta-9"})}):"Agent Delta-9"})]}),r.jsxs("div",{className:"flex gap-3 items-center",children:[r.jsx("span",{className:"flex items-center gap-1 text-[8px] text-red-500/30 font-mono tracking-widest uppercase mb-0.5",children:"REC"}),r.jsx("span",{className:"text-white/10 text-[8px] font-mono",children:"04:22"})]})]}),r.jsxs("div",{className:"flex flex-col md:flex-row h-full md:h-[300px]",children:[r.jsxs("div",{className:"flex-1 relative bg-[url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=800&q=80')] bg-cover bg-center min-h-[160px]",children:[r.jsx("div",{className:"absolute inset-0 bg-[#00000a]/70 backdrop-blur-[1px]"}),r.jsx("div",{className:"absolute bottom-4 left-4 right-4 flex justify-between items-center",children:r.jsxs("div",{className:"flex gap-2",children:[r.jsx("div",{className:"p-1.5 text-white/20",children:r.jsx(jg,{className:"w-3 h-3"})}),r.jsx("div",{className:"p-1.5 text-white/20",children:r.jsx(d1,{className:"w-3 h-3"})}),r.jsxs("div",{className:`p-1.5 text-blue-400/60 flex items-center gap-2 px-3 font-black border border-white/5 rounded-full ${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] uppercase tracking-[0.2em]"}`,children:[r.jsx(Gg,{className:"w-3 h-3"})," ",i?"משדר":"Streaming"]})]})})]}),r.jsxs("div",{className:"w-full md:w-64 flex flex-col md:border-l border-white/5",children:[r.jsxs("div",{className:"p-3 border-b border-white/5 flex items-center gap-2",children:[r.jsx(li,{className:"w-3.5 h-3.5 text-blue-400/20"}),r.jsx("span",{className:`text-white/20 font-black ${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] uppercase tracking-[0.3em]"}`,children:i?"תמלול חי":"Live Transcript"})]}),r.jsxs("div",{className:"flex-1 p-4 space-y-4 max-h-[120px] md:max-h-none overflow-y-auto",children:[r.jsxs("div",{className:`${i?"text-[13px] font-hebrew":"text-[10px]"} text-blue-100/30 whitespace-normal leading-relaxed`,children:[r.jsx("span",{className:"text-blue-400/40 font-black mr-2 uppercase tracking-tight",children:i?"מערכת:":"SYSTEM:"})," ",i?"זוהתה שגיאת תחביר בשורה 42. סוגר סוגריים חסר.":"Detected syntax error on L42. Missing closing bracket."]}),r.jsxs("div",{className:`${i?"text-[13px] font-hebrew":"text-[10px]"} text-white/20 whitespace-normal leading-relaxed`,children:[r.jsx("span",{className:"text-white/10 font-black mr-2 uppercase tracking-tight",children:i?"משתמש:":"USER:"})," ",i?"אומת. מיישם תיקון.":"Verified. Applying fix."]})]})]})]})]});if(e==="12"){const o=i?[{label:"לידים",val:"1,248",color:"text-blue-400/40"},{label:"מסוננים",val:"842",color:"text-purple-400/40"},{label:"פגישות",val:"156",color:"text-emerald-400/40"},{label:"שווי",val:"$2.4M",color:"text-white/40"}]:[{label:"Leads",val:"1,248",color:"text-blue-400/40"},{label:"Qual",val:"842",color:"text-purple-400/40"},{label:"Meet",val:"156",color:"text-emerald-400/40"},{label:"Value",val:"$2.4M",color:"text-white/40"}];return r.jsxs("div",{className:"w-full",dir:i?"rtl":"ltr",children:[r.jsxs("div",{className:"flex justify-between items-center border-b border-white/5 pb-3 mb-8",children:[r.jsxs("h4",{className:`text-white/20 font-black flex items-center gap-3 ${i?"text-[13px] font-hebrew tracking-normal":"text-[10px] uppercase tracking-[0.4em]"}`,children:[r.jsx(Hg,{className:"w-4 h-4 text-purple-500/30"})," ",i?"מטריצת פייפליין":"Pipeline Matrix"]}),r.jsx("span",{className:`px-3 py-1 bg-purple-500/5 text-purple-400/40 border border-purple-500/10 rounded-full font-black ${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] font-mono uppercase tracking-widest"}`,children:i?r.jsxs(r.Fragment,{children:[r.jsx("span",{dir:"ltr",children:"AI"})," פעיל"]}):"AI Active"})]}),r.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8 mb-12",children:o.map((l,c)=>r.jsxs("div",{className:"flex flex-col items-start",children:[r.jsx("div",{className:`text-white/10 mb-2 font-black ${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] uppercase tracking-[0.4em]"}`,children:l.label}),r.jsx("div",{className:`text-2xl md:text-3xl font-black tracking-tight ${l.color}`,children:l.val})]},c))}),r.jsxs("div",{className:"flex flex-col md:flex-row gap-12",children:[r.jsxs("div",{className:"flex-1",children:[r.jsx("div",{className:`text-white/10 mb-6 font-black ${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] tracking-[0.4em] uppercase"}`,children:i?r.jsxs(r.Fragment,{children:[r.jsx("span",{dir:"ltr",children:"CRM"})," מועדף"]}):"Priority CRM"}),r.jsx("div",{className:"space-y-4",children:[{name:"Acme Corp",score:98},{name:"Globex Inc",score:94}].map((l,c)=>r.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-white/5",children:[r.jsx("div",{className:"text-white/30 text-[11px] font-black uppercase tracking-widest",children:l.name}),r.jsxs("div",{className:"text-emerald-500/30 font-mono text-[10px] font-black tracking-tight",children:["AI ",l.score]})]},c))})]}),r.jsx("div",{className:"flex md:w-48 items-center justify-center",children:r.jsxs("div",{className:"text-center",children:[r.jsx(zu,{className:"w-8 h-8 text-purple-500/10 mx-auto mb-4"}),r.jsx("div",{className:"text-5xl md:text-7xl font-display font-black text-white/20 tracking-tight leading-none mb-2",children:"82%"}),r.jsx("div",{className:`text-white/10 font-black ${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] tracking-[0.5em] uppercase"}`,children:i?"המרה":"CONVERSION"})]})})]})]})}if(e==="13"){const o=i?[{id:"T-891",subject:"תצורת שרת",status:"בבדיקה",color:"text-red-400/30"},{id:"T-892",subject:"מרכז הזדהות",status:"תקין",color:"text-emerald-400/30"}]:[{id:"T-891",subject:"Server Config",status:"Review",color:"text-red-400/30"},{id:"T-892",subject:"Auth Hub",status:"OK",color:"text-emerald-400/30"}];return r.jsxs("div",{className:"w-full",dir:i?"rtl":"ltr",children:[r.jsxs("div",{className:"flex justify-between items-center border-b border-white/5 pb-3 mb-8",children:[r.jsxs("h4",{className:`text-white/20 font-black flex items-center gap-3 ${i?"text-[13px] font-hebrew tracking-normal":"text-[10px] uppercase tracking-[0.4em]"}`,children:[r.jsx(wl,{className:"w-4 h-4 text-emerald-500/30"})," ",i?"בקרת מיון":"Triage Control"]}),r.jsx("div",{className:`px-3 py-1 bg-emerald-500/5 text-emerald-400/40 border border-emerald-500/10 rounded-full font-black ${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] font-mono uppercase tracking-widest"}`,children:i?"אופטימלי":"OPTIMAL"})]}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-8",children:[r.jsx("div",{className:"md:col-span-8 space-y-6",children:r.jsx("div",{className:"space-y-4",children:o.map((l,c)=>r.jsxs("div",{className:"flex items-center justify-between py-3 border-b border-white/5",children:[r.jsxs("div",{className:"flex items-center gap-4",children:[r.jsx("span",{className:`text-[9px] font-mono font-black ${l.color}`,dir:"ltr",children:l.id}),r.jsx("div",{className:`text-white/30 font-black leading-none ${i?"text-[13px] font-hebrew tracking-normal":"text-[11px] uppercase tracking-widest"}`,children:l.subject})]}),r.jsx("span",{className:`px-2 py-0.5 border border-white/10 text-white/10 font-black rounded-md ${i?"text-[13px] font-hebrew":"text-[9px] uppercase"}`,children:l.status})]},c))})}),r.jsxs("div",{className:"md:col-span-4 flex flex-row md:flex-col gap-8 justify-center",children:[r.jsxs("div",{className:"text-center",children:[r.jsx("div",{className:"text-4xl md:text-5xl font-display font-black text-white/20 tracking-tight leading-none",children:"74%"}),r.jsx("div",{className:`text-white/10 font-black mt-2 whitespace-nowrap ${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] tracking-[0.5em] uppercase"}`,children:i?r.jsxs(r.Fragment,{children:['נפתר ע"י ',r.jsx("span",{dir:"ltr",children:"AI"})]}):"AI RESOLVED"})]}),r.jsxs("div",{className:"flex flex-col gap-4",children:[r.jsxs("div",{className:"flex justify-between items-center",children:[r.jsx("span",{className:`text-white/10 font-black leading-none ${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] uppercase tracking-[0.3em]"}`,children:i?"השהיה":"DELAY"}),r.jsx("span",{className:"text-emerald-500/30 font-mono text-[9px] font-bold leading-none",children:"0.4m"})]}),r.jsx("div",{className:"w-full bg-white/5 h-0.5",children:r.jsx("div",{className:"bg-emerald-500/10 h-0.5 w-[15%]"})}),r.jsxs("div",{className:"flex justify-between items-center",children:[r.jsx("span",{className:"text-white/10 text-[8px] font-black uppercase tracking-[0.3em] leading-none",children:"CSAT"}),r.jsx("span",{className:"text-blue-400/30 font-mono text-[9px] font-bold leading-none",children:"4.9"})]}),r.jsx("div",{className:"w-full bg-white/5 h-0.5",children:r.jsx("div",{className:"bg-blue-400/10 h-0.5 w-[95%]"})})]})]})]})]})}return null},Z5=_.lazy(()=>he(()=>import("./BrandSpaceObjects-Dns-nvVS.js"),__vite__mapDeps([5,1,2])).then(e=>({default:e.SpaceObjectRenderer}))),eI=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(Z5,{...e})}),tI=_.lazy(()=>he(()=>import("./Planets-CcgipA7r.js"),__vite__mapDeps([4,1,2])).then(e=>({default:e.RealisticPlanet}))),nI=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(tI,{...e})});_.lazy(()=>he(()=>import("./RealisticAnimals3D-V-OjBTjR.js"),__vite__mapDeps([6,1,2,7,8,9,3])).then(e=>({default:e.RealisticAnimals3D})));const iI=_.lazy(()=>he(()=>import("./SpaceTech2D-DPhDF6dx.js"),__vite__mapDeps([10,1,2,3])).then(e=>({default:e.SpaceTech2D}))),ct=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(iI,{...e})});_.lazy(()=>he(()=>import("./IndustryTech2D-DAHx293i.js"),__vite__mapDeps([11,1,2,3])).then(e=>({default:e.IndustryTech2D})));_.lazy(()=>he(()=>import("./LionSculpture-Crfgtrmr.js"),__vite__mapDeps([12,1,2,8,9,3])).then(e=>({default:e.LionSculpture})));const aI=_.lazy(()=>he(()=>import("./ModelViewer-BDq6P8MY.js"),__vite__mapDeps([13,1,2,8,9,7,3])).then(e=>({default:e.ModelViewer}))),bu=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(aI,{...e})}),oI=_.lazy(()=>he(()=>import("./FlybyObject-LYOcQ6c
295O.js"),__vite__mapDeps([14,1,2])).then(e=>({default:e.FlybyObject}))),Sx=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(oI,{...e})});_.lazy(()=>he(()=>import("./OceanBackground-CYq2_mB5.js"),__vite__mapDeps([15,1,2])).then(e=>({default:e.OceanBackground})));const sI=_.lazy(()=>he(()=>import("./Backgrounds-DyA_eAQ5.js"),__vite__mapDeps([16,1,2,3])).then(e=>({default:e.OceanHorizonBackground}))),lI=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(sI,{...e})}),rI=_.lazy(()=>he(()=>import("./Backgrounds-DyA_eAQ5.js"),__vite__mapDeps([16,1,2,3])).then(e=>({default:e.MarsBackground}))),cI=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(rI,{...e})}),uI=_.lazy(()=>he(()=>import("./Backgrounds-DyA_eAQ5.js"),__vite__mapDeps([16,1,2,3])).then(e=>({default:e.DeepOceanBackground}))),dI=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(uI,{...e})});_.lazy(()=>he(()=>import("./ScrollParticles-DfuDUAK8.js"),__vite__mapDeps([17,1,2])).then(e=>({default:e.ScrollParticles})));const fI=_.lazy(()=>he(()=>import("./Backgrounds-DyA_eAQ5.js"),__vite__mapDeps([16,1,2,3])).then(e=>({default:e.MoleculesBackground}))),mI=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(fI,{...e})}),pI=_.lazy(()=>he(()=>import("./Backgrounds-DyA_eAQ5.js"),__vite__mapDeps([16,1,2,3])).then(e=>({default:e.MicrochipsBackground}))),hI=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(pI,{...e})}),gI=_.lazy(()=>he(()=>import("./BrandSpaceObjects-Dns-nvVS.js"),__vite__mapDeps([5,1,2])).then(e=>({default:e.BoomableSpaceObject}))),yI=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(gI,{...e})}),xI=_.lazy(()=>he(()=>import("./SectorDashboardModal-0W7fxXPW.js"),__vite__mapDeps([18,1,2,0,3,10,19,9,20,21,22,23,24,25])).then(e=>({default:e.SectorDashboardModal}))),nM=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(xI,{...e})}),vI=_.lazy(()=>he(()=>import("./AutomationDashboard-E1OFBxIa.js"),__vite__mapDeps([26,1,2,19,3,9,27,21,20,22,23,24,28])).then(e=>({default:e.AutomationDashboard}))),bI=e=>r.jsx(_.Suspense,{fallback:r.jsx("div",{className:"min-h-[60vh]"}),children:r.jsx(vI,{...e})}),wI=_.lazy(()=>he(()=>import("./SpaceCakeChart-Aick91vj.js"),__vite__mapDeps([29,1,2,27,19,3,9])).then(e=>({default:e.SpaceCakeChart}))),iM=e=>r.jsx(_.Suspense,{fallback:r.jsx("div",{className:"min-h-[350px]"}),children:r.jsx(wI,{...e})}),EI=_.lazy(()=>he(()=>import("./TamCharts-D8ag7nfx.js"),__vite__mapDeps([30,1,2,19,3,9,20,21,28,27])).then(e=>({default:e.TamCharts}))),aM=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(EI,{...e})}),TI=_.lazy(()=>he(()=>import("./CaseStudies-BB97XsXS.js"),__vite__mapDeps([31,1,2,32,19,3,9,27,21,28,25,23,20,24])).then(e=>({default:e.CaseStudies}))),Ng=_.lazy(()=>he(()=>import("./HomeV2-DFp2pUzV.js"),__vite__mapDeps([33,1,2,34,32,3])).then(e=>({default:e.HomeV2}))),SI=_.lazy(()=>he(()=>import("./HomeConcept-DbadtkMM.js"),__vite__mapDeps([35,1,2,34,3])).then(e=>({default:e.HomeConcept}))),AI=_.lazy(()=>he(()=>import("./JewelryDemo-CplcYz2e.js"),__vite__mapDeps([36,1,2,37,3])).then(e=>({default:e.JewelryDemo}))),_I=_.lazy(()=>he(()=>import("./MayuraStorefront-CtnshUv0.js"),__vite__mapDeps([38,1,2,37,39,3])).then(e=>({default:e.MayuraStorefront}))),NI=_.lazy(()=>he(()=>import("./MayuraPlayerPreview-BeIF0tRX.js"),__vite__mapDeps([39,1,2])).then(e=>({default:e.MayuraPlayerPreview})));_.lazy(()=>he(()=>import("./VoiceWidget-DBIemxnF.js"),__vite__mapDeps([40,1,2])).then(e=>({default:e.VoiceWidget})));const CI=_.lazy(()=>he(()=>import("./Pricing-k51JDEJ4.js"),__vite__mapDeps([41,1,2,19,3,9,25,21,28,23])).then(e=>({default:e.Pricing}))),II=_.lazy(()=>he(()=>import("./InteriorSections-DRqVUVrM.js"),__vite__mapDeps([42,1,2,3])).then(e=>({default:e.VisionSection}))),RI=_.lazy(()=>he(()=>import("./InteriorSections-DRqVUVrM.js"),__vite__mapDeps([42,1,2,3])).then(e=>({default:e.IndustriesSection}))),MI=_.lazy(()=>he(()=>import("./InteriorSections-DRqVUVrM.js"),__vite__mapDeps([42,1,2,3])).then(e=>({default:e.HebrewRouteDirectory}))),Ax=[{name:"Comprehensive Analysis",id:"01",tags:["Sectors","Products","Workers","SaaS"],desc:"Studying the sectors, products, workers, and SaaS platforms (CRM, ERP, LMS...) to understand your unique ecosystem.",modelVariant:"space-laboratory",image:"https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=1200&q=80",coreValues:["Observation & Insight","Zero-G Innovation"]},{name:"Process Characterization",id:"02",tags:["Tasks","Case Studies","Workflow"],desc:"Writing characterization including tasks and case studies that can be optimally replaced with AI, automations, and integrations.",modelVariant:"robot",image:"https://images.unsplash.com/photo-1635070041078-e363dbe005cb?auto=format&fit=crop&w=1200&q=80",coreValues:["Autonomous Efficiency","Mechanical Precision"]},{name:"Strategic Implementation",id:"03",tags:["Deployment","Integration","Automation"],desc:"Prioritizing and implementing the most relevant and high-impact cases directly into your operational pipelines.",modelVariant:"spaceship",image:"https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1200&q=80",coreValues:["Interstellar Reach","High-Velocity Data Transfer"]},{name:"Refinement & Qualification",id:"04",tags:["Optimization","Continual Improvement"],desc:"Continuously measuring, qualifying, and refining implemented systems as operating needs evolve.",modelVariant:"satellite",image:"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=1200&q=80",coreValues:["Global Reach","Precision Targeting"]},{name:"Custom Role Interfaces",id:"05",tags:["UI/UX","Dashboards","Role-Based Access"],desc:"Creating custom, intuitive interfaces and tailored dashboards for every employee across every role in your organization.",modelVariant:"mobile-phone",image:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=80",coreValues:["Ubiquitous Connectivity","Interface Adaptability"]},{name:"Team Engagement & Optimization",id:"06",tags:["Performance","Dscope","Adoption"],desc:"Working with the team to supp
295ort adoption, measure outcomes, and improve Dscope workflows over time.",modelVariant:"water-waves",image:"https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1200&q=80",coreValues:["Fluid Dynamics","Continuous Flow"]},{name:"Fastening & Security protocols",id:"07",tags:["Hardware","Security","Encryption"],desc:"Securing the physical and digital foundations of your infrastructure with unyielding fastening protocols.",modelVariant:"meteorite",image:"https://images.unsplash.com/photo-1558486012-817176f84c6d?auto=format&fit=crop&w=1200&q=80",coreValues:["Impact Resilience","Atmospheric Shielding"]},{name:"Logistics Orchestration",id:"08",tags:["Supply Chain","Optimization","Real-time"],desc:"Streamlining complex logistics and supply chain movements through real-time automated conveyor logic.",modelVariant:"starlink",image:"https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1200&q=80",coreValues:["Constellation Networking","Low-Latency Operations"]},{name:"Screenshare Agent Interface",id:"11",tags:["Agent","Screen Share","AI Helper"],desc:"An AI online helper that sees your screen, talks, explains, and records sessions to assist you directly in real time. Provides instant technical coaching and operational guidance.",modelVariant:"satellite",image:"https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80",coreValues:["Interactive Assistance","Real-time Vision"]},{name:"Sales & Marketing CRM",id:"12",tags:["CRM","Sales","Marketing","AI"],desc:"Intelligent CRM features for sales and marketing teams. Automated lead scoring, personalized outreach generation, and pipeline velocity optimization powered by AI.",modelVariant:"spaceship",image:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=80",coreValues:["Revenue Acceleration","Predictive Analytics"]},{name:"Human-Agent Synergy Desk",id:"13",tags:["CRM","Ticketing","Support","Hybrid"],desc:"CRM features for ticket management where humans and agents work together seamlessly. AI handles triage and routine fixes while humans focus on complex empathetic resolutions.",modelVariant:"space-laboratory",image:"https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80",coreValues:["Collaborative Workflow","Empathetic Resolution"]},{name:"Bio-Digital Synthesis",id:"09",tags:["Biotech","Evolution","AI-Genetic"],desc:"Merging organic growth patterns with digital precision to create self-evolving enterprise ecosystems.",modelVariant:"astronaut",image:"https://images.unsplash.com/photo-1490100667990-4fced8021649?auto=format&fit=crop&w=1200&q=80",coreValues:["Human-Machine Synergy","Exploration & Evolution"]},{name:"Harmonic Resonance Matrix",id:"10",tags:["Frequency","Communication","Signal"],desc:"Tuning your organizational communications to the perfect frequency for maximum clarity and impact.",modelVariant:"big-telescope",image:"https://images.unsplash.com/photo-1465821185615-93442273d7b6?auto=format&fit=crop&w=1200&q=80",coreValues:["Deep-Field Observation","Cosmic Clarity"]},{name:"Cosmic Data Harvesting",id:"14",tags:["Big Data","Intelligence","Extraction"],desc:"Extracting massive datasets from across the digital quadrant and processing them through sentient mining clusters.",modelVariant:"meteorite",image:"https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=1200&q=80",coreValues:["Resource Extraction","Quantum Scalability"]}],DI=[{name:"ניתוח מקיף",id:"01",tags:["ענפים","מוצרים","עובדים","מערכות SaaS"],desc:"לומדים את הענפים, המוצרים, העובדים ופלטפורמות ה-SaaS שלכם (CRM, ERP, LMS...) כדי להבין לעומק את המערכת האקולוגית הייחודית של הארגון.",modelVariant:"space-laboratory",image:"https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=1200&q=80",coreValues:["תצפית ותובנה","חדשנות ללא גבולות"]},{name:"מיפוי תהליכים",id:"02",tags:["משימות","תרחישים","זרימת עבודה"],desc:"ממפים משימות ותרחישים שאפשר לייעל או לתמוך בהם באמצעות AI, אוטומציות ואינטגרציות.",modelVariant:"robot",image:"https://images.unsplash.com/photo-1635070041078-e363dbe005cb?auto=format&fit=crop&w=1200&q=80",coreValues:["ייעול תהליכים","בקרה עקבית"]},{name:"הטמעה אסטרטגית",id:"03",tags:["פריסה","אינטגרציה","אוטומציה"],desc:"מתעדפים ומטמיעים את התרחישים המשמעותיים והרלוונטיים ביותר ישירות בתוך תהליכי העבודה התפעוליים שלכם.",modelVariant:"spaceship",image:"https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1200&q=80",coreValues:["יישום מדורג","חיבור בין מערכות"]},{name:"שיפור והתאמה",id:"04",tags:["אופטימיזציה","שיפור מתמיד"],desc:"משפרים, בוחנים ומדייקים ברציפות את המערכות שהוטמעו כדי להבטיח את התוצאות הטובות ביותר שאפשר.",modelVariant:"satellite",image:"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=1200&q=80",coreValues:["שיפור מתמשך","התאמה לצרכים"]},{name:"ממשקים מותאמי תפקיד",id:"05",tags:["UI/UX","לוחות בקרה","הרשאות לפי תפקיד"],desc:"בונים ממשקים אינטואיטיביים ולוחות בקרה מותאמים לכל תפקיד בארגון.",modelVariant:"mobile-phone",image:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=80",coreValues:["חיבור בכל מקום","ממשק גמיש"]},{name:"הטמעה והדרכת הצוות",id:"06",tags:["הדרכה","Dscope","אימוץ"],desc:"עובדים לצד הצוות כדי להטמיע את Dscope בהדרגה, להתאים את תהליכי העבודה ולבנות שימוש עקבי לאורך זמן.",modelVariant:"water-waves",image:"https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1200&q=80",coreValues:["למידה משותפת","הטמעה הדרגתית"]},{name:"אבטחה ופרוטוקולי הגנה",id:"07",tags:["חומרה","אבטחה","הצפנה"],desc:"מאבטחים את התשתיות הפיזיות והדיגיטליות שלכם עם פרוטוקולי הגנה איתנים.",modelVariant:"meteorite",image:"https://images.unsplash.com/photo-1558486012-817176f84c6d?auto=format&fit=crop&w=1200&q=80",coreValues:["הגנה רב-שכבתית","הצפנה ובקרת גישה"]},{name:"תיאום לוגיסטי",id:"08",tags:["שרשרת אספקה","אופטימיזציה","זמן אמת"],desc:"מייעלים תהליכי לוגיסטיקה ושרשרת אספקה באמצעות תיאום אוטומטי, מעקב אחר חריגות ועדכון בזמן אמת.",modelVariant:"starlink",image:"https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1200&q=80",coreValues:["תיאום בין מערכות","תגובה בזמן אמת"]},{name:"עוזר AI בשיתוף מסך",id:"11",tags:["סוכן","שיתוף מסך","עוזר AI"],desc:"עוזר AI מקוון שרואה את המסך שלכם, מדבר, מסביר ומתעד שיחות כדי לסייע לכם בזמן אמת. מספק ליווי טכני והכוונה תפעולית מיידית.",modelVariant:"satellite",image:"https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80",coreValues:["סיוע אינטראקטיבי","ראייה בזמן אמת"],detailPath:"/he/services/technical-support-ai-agent"},{name:"CRM מכירות ושיווק",id:"12",tags:["CRM","מכירות","שיווק","AI"],desc:"יכולות CRM לצוותי מכירות ושיווק: דירוג לידים, יצירת פניות מותאמות וניהול רצף המכירה בעזרת AI.",modelVariant:"spaceship",image:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=80",coreValues:["ניהול לידים","תהליכי מכירה"],detailPath:"/he/services/sales-pipeline-automation"},{name:"מרכז שירות משותף לצוות ול-AI",id:"13",tags:["CRM","טיקטים","תמיכה","היברידי"],desc:"סביבת CRM לניהול פניות שבה הצוות וסוכני AI עובדים יחד. המערכת מסייעת במיון ובטיפול שגרתי, והצוות מוביל מקרים מורכבים ורגישים.",modelVariant:"space-laboratory",image:"https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80",coreValues:["עבודה משותפת","פתרון אמפתי"],detailPath:"/he/services/helpdesk-ticketing"},{name:"מערכות לומדות ומתפתחות",id:"09",tags:["ביוטק","אבולוציה","AI-גנטי"],desc:"משלבים נתונים, משוב ותהליכי שיפור כדי לבנות מערכות ארגוניות שמתעדכנות בהתאם לצרכים.",modelVariant:"astronaut",image:"https://images.unsplash.com/photo-1490100667990-4fced8021649?auto=format&fit=crop&w=1200&q=80",coreValues:["למידה ממשוב","התאמה מתמשכת"]},{name:"תקשורת ארגונית מתואמת",id:"10",tags:["תדר","תקשורת","אות"],desc:"מתאמים מסרים, ערוצים ותהליכי תקשורת כדי לשפר בהירות, עקביות וזמני תגובה.",modelVariant:"big-telescope",image:"https://images.unsplash.com/photo-1465821185615-93442273d7b6?auto=format&fit=crop&w=1200&q=80",coreValues:["מסרים עקביים","תקשורת ברורה"]},{name:"איסוף ועיבוד מידע",id:"14",tags:["ביג דאטה","מודיעין ארגוני","חילוץ מידע"],desc:"אוספים מידע ממקורות מורשים, מאחדים אותו ומעבדים אותו לצורך חיפוש, ניתוח ותפעול.",modelVariant:"meteorite",image:"https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=1200&q=80",coreValues:["איסוף ממקורות מורשים","מידע שימושי"]}],kI=({type:e,isHovered:t=!1,name:i,desc:o})=>r.jsx("div",{className:"absolute inset-0 z-10 w-full h-full overflow-visible flex items-center justify-center p-8",children:r.jsx(ct,{type:e,color:"#3b82f6"})}),_x=qe.createContext({theme:"dark",toggleTheme:()=>{}}),LI=()=>qe.useContext(_x);new _5({apiKey:""});function Fo(){const[e,t]=_.useState({width:typeof window<"u"?window.innerWidth:1200,height:typeof window<"u"?window.innerHeight:800});return _.useEffect(()=>{function i(){t({width:window.innerWidth,height:window.innerHeight})}if(typeof window<"u"&&window.addEventListener)return window.addEventListener("resize",i),i(),()=>window.removeEventListener("resize",i)},[]),e}const Nx=({text:e,isVisible:t,className:i="",position:o="top"})=>{const l={top:"bottom-full left-1/2 -translate-x-1/2 mb-4",bottom:"top-full left-1/2 -translate-x-1/2 mt-4",left:"r
295ight-full top-1/2 -translate-y-1/2 mr-4",right:"left-full top-1/2 -translate-y-1/2 ml-4"},c={top:"top-full left-1/2 -translate-x-1/2 -mt-1 border-r border-b",bottom:"bottom-full left-1/2 -translate-x-1/2 -mb-1 border-l border-t",left:"left-full top-1/2 -translate-y-1/2 -ml-1 border-l border-b",right:"right-full top-1/2 -translate-y-1/2 -mr-1 border-r border-t"};return r.jsx(Xe,{children:t&&r.jsx(M.div,{initial:{opacity:0,scale:.8,y:o==="top"?10:o==="bottom"?-10:0,x:o==="left"?10:o==="right"?-10:0},animate:{opacity:1,scale:1,y:0,x:0},exit:{opacity:0,scale:.8,y:o==="top"?10:o==="bottom"?-10:0,x:o==="left"?10:o==="right"?-10:0},transition:{type:"spring",stiffness:400,damping:28},className:`absolute ${l[o]} z-[2000] pointer-events-none ${i}`,children:r.jsxs("div",{className:"px-4 py-2 bg-black/95 border border-blue-500/40 rounded-lg backdrop-blur-3xl shadow-[0_0_40px_rgba(59,130,246,0.3)] relative overflow-hidden group",children:[r.jsx(M.div,{initial:{top:0},animate:{top:"100%"},transition:{duration:2,repeat:1/0,ease:"linear"},className:"absolute inset-x-0 h-[1px] bg-blue-400/30 blur-[1px] z-0"}),r.jsxs("div",{className:"relative z-10",children:[r.jsx("span",{className:"scanline-text",children:e}),r.jsx("div",{className:"h-[1px] w-full bg-gradient-to-r from-blue-500/0 via-blue-500/50 to-blue-500/0 mt-1 opacity-50"})]}),r.jsx("div",{className:`absolute w-2 h-2 bg-black/95 border-blue-500/40 rotate-45 ${c[o]}`})]})})})},La=({text:e,className:t="",progress:i,lightning:o=!1,pulse:l=!1})=>{const c=_.useRef(null),{scrollYProgress:m}=$t({target:c,offset:["start 0.95","end 0.05"]}),y=Fe(Q(i||m,[.05,.5],[0,1]),{stiffness:120,damping:24,mass:.5,restDelta:.001});return r.jsx("div",{ref:c,className:"w-full",children:r.jsx(Rx,{text:e,progress:y,className:t,lightning:o,pulse:l})})},Cg=({variant:e="scout",className:t=""})=>{const i={scout:"M12 2L4.5 20.29L5.21 21L12 18L18.79 21L19.5 20.29L12 2Z",interceptor:"M12 2L2 22L12 18L22 22L12 2ZM12 5.17L18.83 19.32L12 16.58L5.17 19.32L12 5.17Z",carrier:"M21 16.5C21 16.88 20.79 17.21 20.47 17.38L12.57 21.82C12.41 21.94 12.21 22 12 22C11.79 22 11.59 21.94 11.43 21.82L3.53 17.38C3.21 17.21 3 16.88 3 16.5V7.5C3 7.12 3.21 6.79 3.53 6.62L11.43 2.18C11.59 2.06 11.79 2 12 2C12.21 2 12.41 2.06 12.57 2.18L20.47 6.62C20.79 6.79 21 7.12 21 7.5V16.5Z",cruiser:"M12 2L1 21h22L12 2zm0 3.83L18.5 19H5.5L12 5.83z"};return r.jsxs("svg",{viewBox:"0 0 24 24",className:`${t} fill-current stroke-current`,fill:"none",strokeWidth:"1.5",children:[r.jsx("path",{d:i[e]||i.scout,strokeLinecap:"round",strokeLinejoin:"round"}),r.jsx(M.circle,{cx:"12",cy:"12",r:"2",transition:{duration:2,repeat:1/0},className:"fill-blue-400/50"})]})},PI=()=>{const{scrollYProgress:e}=$t(),t=Fe(e,{stiffness:50,damping:25,restDelta:.001}),[i,o]=_.useState(0),l=Q(t,[0,.2,.4,.6,.8,1],["radial-gradient(circle_at_30%_30%, #fff 0%, #fbbf24 20%, #ea580c 50%, #7c2d12 80%)","radial-gradient(circle_at_30%_30%, #fff 0%, #d1d5db 40%, #4b5563 80%, #1f2937 100%)","radial-gradient(circle_at_30%_30%, #fde68a 0%, #d97706 30%, #7c2d12 60%, #451a03 90%)","radial-gradient(circle_at_30%_30%, #3b82f6 0%, #10b981 40%, #1e3a8a 80%, #000 100%)","radial-gradient(circle_at_30%_30%, #06b6d4 0%, #3b82f6 50%, #1e40af 80%, #1e3a8a 100%)","radial-gradient(circle_at_30%_30%, #fff 0%, #fbbf24 20%, #ea580c 50%, #7c2d12 80%)"]),c=Q(t,[0,.2,.4,.6,.8,1],["rgba(234, 88, 12, 0.6)","rgba(156, 163, 175, 0.2)","rgba(217, 119, 6, 0.4)","rgba(59, 130, 246, 0.3)","rgba(6, 182, 212, 0.4)","rgba(234, 88, 12, 0.6)"]),m=Q(t,[0,.25,.5,.75,1],[.5,.2,.4,.3,.4]),p=Q(t,[0,.25,.5,.75,1],["rgba(251, 191, 36, 1)","rgba(255, 255, 255, 1)","rgba(217, 119, 6, 1)","rgba(59, 130, 246, 1)","rgba(6, 182, 212, 1)"]);Q(c,w=>`0 0 150px ${w}`);const y=Q(t,[.4,.5,.6],[0,.3,0]),g=Q(t,[0,1],["0%","5%"]),v=Q(t,[0,1],["0%","20%"]),b=Q(t,[0,.5,1],[1,1.1,.9]);return r.jsxs(M.div,{style:{x:g,y:v,scale:b},whileHover:{scale:1.05},onTap:()=>o(w=>w+1),className:"absolute top-[18%] right-[12%] w-[35vw] aspect-square max-w-md pointer-events-auto cursor-pointer z-0 group",children:[r.jsx(M.div,{style:{backgroundColor:p,opacity:m},animate:{scale:[1,1.25,1],opacity:[.4,.6,.4]},transition:{duration:i>0?.8:18,repeat:i>0?0:1/0,ease:"easeInOut"},className:"absolute inset-0 blur-[140px] rounded-full group-hover:opacity-100 group-hover:blur-[180px] transition-all duration-700"},`pulse-${i}`),r.jsxs(M.div,{style:{background:l},className:"absolute inset-[35%] rounded-full overflow-hidden group-hover:inset-[33%] transition-all duration-500",children:[r.jsx(M.div,{animate:{x:[-30,30],y:[-30,30]},transition:{duration:25,repeat:1/0,ease:"linear",repeatType:"mirror"},className:"absolute inset-[-100%] opacity-20 bg-[radial-gradient(circle_at_center,#fff,transparent)] blur-2xl pointer-events-none"}),r.jsx(M.div,{style:{opacity:y},className:"absolute inset-0 flex flex-col justify-around rotate-12",animate:{rotate:[12,-12,12]},transition:{duration:15,repeat:1/0,ease:"easeInOut"},children:[...Array(5)].map((w,T)=>r.jsx("div",{className:"h-4 w-full bg-black/20 blur-md"},T))})]}),r.jsx(Xe,{children:i>
2950&&r.jsx(M.div,{initial:{scale:.5,opacity:0},animate:{scale:2.5,opacity:[0,.8,0]},exit:{opacity:0},transition:{duration:.8,ease:"easeOut"},className:"absolute inset-0 border-4 border-white/30 rounded-full blur-md"},`pulse-fx-${i}`)})]})},Cx=({symbolId:e,color:t,size:i=24,className:o=""})=>{const l=Ml.find(c=>c.id===e);return l?r.jsx("svg",{viewBox:"0 0 100 100",width:i,height:i,className:`fill-none stroke-2 ${o}`,style:{stroke:t||l.color},children:r.jsx(M.path,{d:l.path,strokeLinecap:"round",strokeLinejoin:"round",initial:!1,animate:{pathLength:1},transition:{duration:0}})}):null},HI=[{id:"home",label:"Home",labelHe:"בית",symbolId:"alpha"},{id:"vision",label:"our vision",labelHe:"החזון שלנו",symbolId:"omega"},{id:"command-hub",label:"Platform",labelHe:"הפלטפורמה",symbolId:"gamma"},{id:"dashboard",label:"DASHBOARDS",labelHe:"לוחות בקרה",symbolId:"sigma"},{id:"services",label:"Services",labelHe:"שירותים",symbolId:"phi"},{id:"industries",label:"Industries",labelHe:"ענפים",symbolId:"theta"},{id:"pricing",label:"Pricing",labelHe:"מחירים",symbolId:"delta"},{id:"about",label:"About us",labelHe:"מי אנחנו",symbolId:"figma"},{id:"case-studies",label:"Case Studies",labelHe:"סיפורי לקוח",symbolId:"beta"},{id:"contact",label:"Contact",labelHe:"צור קשר",symbolId:"phi"}],Ix={"/":"home","/he":"he-home","/home-concept":"home-concept","/vision":"vision","/platform":"command-hub","/dashboard":"dashboard","/services":"services","/industries":"industries","/pricing":"pricing","/about":"about","/case-studies":"case-studies","/contact":"contact","/accessibility":"accessibility","/he/vision":"vision","/he/platform":"command-hub","/he/dashboard":"dashboard","/he/services":"services","/he/industries":"industries","/he/pricing":"pricing","/he/about":"about","/he/case-studies":"case-studies","/he/contact":"contact","/he/accessibility":"accessibility"},Go=e=>e==="/he"||e.startsWith("/he/"),Ig=e=>{const t=Xu(e);return hy(t)?"industries":Ix[t]||(Go(t)?"he-home":"home")},UI=e=>{const t=Xu(e);return Ca[t]?t:Go(t)?"/he":"/"},jI=Object.fromEntries(Object.entries(Ix).filter(([e])=>!Go(e)).map(([e,t])=>[t,e])),Vo=(e,t)=>{const i=jI[e]||"/";return t?e==="home"||e==="he-home"?"/he":`/he${i}`:i},GI={"@type":"SoftwareApplication","@id":ke+"/#software-application",name:"Dscope",applicationCategory:"BusinessApplication",applicationSubCategory:"AI workflow automation platform",operatingSystem:"Web",url:ke+"/",description:"AI workflow automation platform with chat, voice and form agents that capture leads, answer customers and integrate with CRM systems such as Salesforce, HubSpot and Zoho.",featureList:["AI customer support automation","AI sales and lead-capture agents","Voice, chat and form agents","CRM integration (Salesforce, HubSpot, Zoho)","Page-aware website widgets","Industry-specific automation flows"]},VI={"@type":"ItemList","@id":ke+"/#site-navigation",name:"Dscope indexable site navigation",itemListElement:wE.map((e,t)=>({"@type":"ListItem",position:t+1,name:Ca[e].split(" - ")[0].split(" | ")[0],item:ke+(e==="/"?"/":e)}))},zI=()=>({"@type":"ItemList","@id":ke+"/services#services",name:"Dscope AI automation services",itemListElement:Ax.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,description:e.desc}))}),BI=()=>({"@type":"ItemList","@id":ke+"/industries#industries",name:"Industries served by Dscope AI automation",itemListElement:xx.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,description:e.desc}))}),OI={"@type":"OfferCatalog","@id":ke+"/pricing#pricing-catalog",name:"Dscope AI automation pricing categories",itemListElement:[{"@type":"Offer",name:"Chat agent automation"},{"@type":"Offer",name:"Voice agent automation"},{"@type":"Offer",name:"CRM-connected sales and support automation"}]},qI=e=>{var m;const t=bE[e];if(!t)return null;const i=ke+(e==="/"?"/":e),o=e.startsWith("/he"),l=o?"he-IL":"en",c=[Ty,Sy,{"@type":t,"@id":i+"#webpage",url:i,name:Ca[e],description:Sl[e],keywords:(m=vE[e])==null?void 0:m.join(", "),isPartOf:{"@id":ke+"/#website"},about:{"@id":ke+"/#organization"},inLanguage:l}];return e==="/"&&c.push(VI),(e==="/"||e==="/platform")&&c.push(GI),e==="/services"&&c.push(zI()),e==="/industries"&&c.push(BI()),e==="/pricing"&&c.push(OI),(e==="/pricing"||e==="/he/pricing")&&c.push({"@type":"Product","@id":i+"#product",url:i,name:o?"פלטפורמת האוטומציה Dscope":"Dscope AI Automation Platform",description:Sl[e],brand:{"@id":ke+"/#organization"},offers:(o?["מסלול שירות ותמיכה","מסלול מכירות ושיווק","מסלול הטמעה מותאמת"]:["Supp
295ort track","Sales and marketing track","Custom implementation track"]).map(p=>({"@type":"Offer",name:p,url:i}))}),e!=="/"&&c.push({"@type":"BreadcrumbList","@id":i+"#breadcrumb",itemListElement:[{"@type":"ListItem",position:1,name:o?"דף הבית":"Home",item:ke+(o?"/he":"/")},{"@type":"ListItem",position:2,name:Ca[e].split(" - ")[0].split(" | ")[0],item:i}]}),{"@context":"https://schema.org","@graph":c}},ju=(e,t,i,o)=>{const l=t==="he",c=l?"he-IL":"en",m=l?`/he/industries/${e.slug}`:`/industries/${e.slug}`,p=ke+m;return{"@context":"https://schema.org","@graph":[Ty,Sy,{"@type":"WebPage","@id":p+"#webpage",url:p,name:i,description:o,isPartOf:{"@id":ke+"/#website"},about:{"@id":ke+"/#organization"},inLanguage:c},{"@type":"Service","@id":p+"#service",url:p,name:i,description:o,provider:{"@id":ke+"/#organization"},serviceType:l?`אוטומציית AI לתחום ${e.nameHe}`:`AI automation for ${e.name}`},{"@type":"BreadcrumbList","@id":p+"#breadcrumb",itemListElement:[{"@type":"ListItem",position:1,name:l?"דף הבית":"Home",item:ke+(l?"/he":"/")},{"@type":"ListItem",position:2,name:l?"ענפים":"Industries",item:ke+(l?"/he/industries":"/industries")},{"@type":"ListItem",position:3,name:l?e.nameHe:e.name,item:p}]}]}},Rg=(e,t,i,o,l)=>{const c=ju(e,i,o.title,o.description),m=i==="he",p=hl(e,t,i),y=ke+p,g=l.title,v=l.description;return{...c,"@graph":c["@graph"].map(b=>b["@type"]==="WebPage"?{...b,"@id":y+"#webpage",url:y,name:g,description:v}:b["@type"]==="BreadcrumbList"?{...b,"@id":y+"#breadcrumb",itemListElement:[...b.itemListElement.slice(0,3),{"@type":"ListItem",position:4,name:m?t.titleHe:t.title,item:y}]}:b)}},FI=()=>null,$I=({scrollYProgress:e,mouseX:t,mouseY:i})=>{const o=Fe(e,{stiffness:40,damping:20}),l=Q(o,[0,1],[0,-100]),c=Q(t,y=>y*.3),m=Q(i,y=>y*.3),p=Q([l,m],([y,g])=>y+g);return r.jsx(M.div,{animate:{rotate:[0,360],backgroundColor:["rgba(49, 46, 129, 0.1)","rgba(88, 28, 135, 0.1)","rgba(127, 29, 29, 0.1)","rgba(49, 46, 129, 0.1)"]},style:{y:p,x:c},transition:{rotate:{duration:180,repeat:1/0,ease:"linear"},backgroundColor:{duration:30,repeat:1/0,ease:"easeInOut"}},className:"absolute top-[-50%] left-[-50%] w-[200%] h-[200%] rounded-full blur-[180px] pointer-events-none"})},YI=({stars:e,layer:t,scrollYProgress:i,mouseX:o,mouseY:l})=>{const c=Fe(i,{stiffness:50,damping:30}),m=Q(c,[0,1],[0,-(t+2)*150]),p=Q(c,[0,.5,1],[.3+t*.1,.7+t*.05,1]),y=Q(c,[0,1],[1,1+t*.1]);return r.jsx(M.div,{style:{y:m,opacity:p,scale:y,"--mouse-x":o,"--mouse-y":l},className:"absolute inset-0 pointer-events-none",children:e.map(g=>r.jsx(M.div,{animate:{opacity:[g.opacity*.3,g.opacity,g.opacity*.3],scale:[.9,1.1,.9]},transition:{duration:g.duration/1.5,repeat:1/0,delay:g.delay},className:"absolute rounded-full bg-white shadow-sm",style:{width:`${g.size}px`,height:`${g.size}px`,top:g.top,left:g.left,boxShadow:g.size>2?"0 0 15px rgba(255,255,255,0.6)":"none",filter:`hue-rotate(${g.hue}deg)`,transform:`translate(calc(var(--mouse-x) * ${g.driftFactor}px), calc(var(--mouse-y) * ${g.driftFactor}px))`}},g.id))})},JI=({scrollYProgress:e})=>{const t=_.useMemo(()=>[...Array(50)].map((i,o)=>({id:o,angle:Math.random()*Math.PI*2,distanceBase:5+Math.random()*45,size:Math.random()*8+2,opacity:Math.random()*.3+.1,duration:15+Math.random()*25,delay:Math.random()*-30,color:Math.random()>.7?"#60a5fa":Math.random()>.4?"#818cf8":Math.random()>.2?"#c084fc":"#ffffff",speed:.5+Math.random()*1.5,orbitSpeed:(Math.random()-.5)*.02,blur:2+Math.random()*10})),[]);return r.jsx("div",{className:"absolute inset-0 pointer-events-none overflow-hidden mix-blend-screen bg-transparent",children:t.map(i=>{const o=Q(e,p=>{const y=i.angle+p*i.orbitSpeed*100,g=i.distanceBase*(1+p*4*i.speed);return`${Math.cos(y)*g}vw`}),l=Q(e,p=>{const y=i.angle+p*i.orbitSpeed*100,g=i.distanceBase*(1+p*4*i.speed);return`${Math.sin(y)*g}vh`}),c=Q(e,[0,.4,.8,1],[i.opacity,i.opacity*1.8,i.opacity*.4,0]),m=Q(e,[0,1],[1,2.5]);return r.jsx(M.div,{className:"absolute left-1/2 top-1/2 rounded-full",style:{width:i.size,height:i.size,backgroundColor:i.color,filter:`blur(${i.blur}px)`,boxShadow:`0 0 ${i.size*5}px ${i.color}`,opacity:c,scale:m,x:o,y:l}
295,animate:{opacity:[null,i.opacity*1.5,i.opacity],scale:[null,1.2,1]},transition:{duration:i.duration,repeat:1/0,delay:i.delay,ease:"easeInOut"}},i.id)})})};_.memo(()=>{const{width:e}=Fo(),t=e<768,i=qt(0),o=qt(0),l=Fe(i,{stiffness:50,damping:30}),c=Fe(o,{stiffness:50,damping:30}),{scrollYProgress:m}=$t(),p=Fe(m,{stiffness:40,damping:25,restDelta:.001});_.useEffect(()=>{if(t)return;const g=v=>{i.set((v.clientX/window.innerWidth-.5)*80),o.set((v.clientY/window.innerHeight-.5)*80)};if(typeof window<"u"&&window.addEventListener)return window.addEventListener("mousemove",g),()=>window.removeEventListener("mousemove",g)},[t,i,o]);const y=_.useMemo(()=>[0,1,2,3,4].map(g=>{const v=t?40-g*5:80-g*10;return[...Array(v)].map((b,w)=>({id:`${g}-${w}`,size:Math.random()*(1+g*.5)+.5,top:`${Math.random()*100}%`,left:`${Math.random()*100}%`,opacity:.15+Math.random()*.85,duration:4+Math.random()*8,delay:Math.random()*5,hue:Math.random()*360,driftFactor:(.1+g*.15)*(.8+Math.random()*.4)}))}),[t]);return r.jsxs("div",{className:"fixed inset-0 overflow-hidden -z-10 bg-[#000003]","aria-hidden":"true",children:[r.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='nf'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23nf)'/%3E%3C/svg%3E")`}}),r.jsx("div",{className:"absolute inset-0 bg-black"}),[...Array(t?12:6)].map((g,v)=>r.jsx(FI,{},`comet-${v}`)),r.jsx($I,{scrollYProgress:p,mouseX:l,mouseY:c}),r.jsx(JI,{scrollYProgress:p}),r.jsx(PI,{}),r.jsx("div",{className:"absolute inset-[-10%] w-[120%] h-[120%]",children:y.map((g,v)=>r.jsx(YI,{stars:g,layer:v,scrollYProgress:p,mouseX:l,mouseY:c},v))}),[...Array(4)].map((g,v)=>r.jsx(M.div,{initial:{x:"-100%",opacity:0}
295,animate:{x:"200%",opacity:[0,.2,0]},transition:{duration:2,repeat:1/0,repeatDelay:Math.random()*15,delay:v*5},className:"absolute w-[300px] h-[1px] bg-gradient-to-r from-transparent via-blue-400 to-transparent blur-[2px] top-1/4 rotate-45 pointer-events-none",style:{top:`${10+v*25}%`}},`velocity-${v}`))]})});const KI=({className:e=""})=>{const[t,i]=_.useState(0);_.useEffect(()=>{const l=setInterval(()=>{i(c=>(c+1)%4)},1500);return()=>clearInterval(l)},[]);const o=()=>{switch(t){case 0:return"Δ";case 1:return"D";case 2:return"Delta";case 3:return"auto";default:return"Δ"}};return r.jsx(M.span,{animate:{rotate:360},transition:{duration:3,repeat:1/0,ease:"linear"},className:`inline-block font-black text-emerald-400 ${e}`,"aria-hidden":"true",children:o()})},XI=_.lazy(()=>he(()=>import("./CosmicLoader-DE2cFYnT.js"),__vite__mapDeps([43,1,2])).then(e=>({default:e.CosmicLoader}))),QI=e=>r.jsx(_.Suspense,{fallback:null,children:r.jsx(XI,{...e})}),WI=QI,ZI=({children:e,className:t=""})=>{const[i,o]=_.useState(!1);return r.jsxs("div",{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:`relative group ${t}`,children:[e,r.jsx(Xe,{children:i&&r.jsx(M.div,{initial:{opacity:0,scale:0,rotate:0},animate:{opacity:1,scale:1,rotate:360},exit:{opacity:0,scale:0,rotate:720},transition:{duration:.3},className:"absolute -top-2 -right-2 z-50 w-5 h-5 bg-emerald-500 rounded-full flex items-center justify-center text-[10px] text-white font-black shadow-[0_0_10px_rgba(16,185,129,0.8)] border border-white/20",children:"Δ"})})]})},eR=()=>{const{reduced:e,toggle:t}=Wu();return r.jsxs("button",{type:"button",onClick:t,className:"flex items-center gap-3 px-4 py-2 rounded-full border border-white/15 bg-white/[0.03] hover:bg-white/[0.06] hover:border-white/30 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500","aria-pressed":e,"aria-label":e?"Enable full visual effects":"Reduce visual effects for performance",children:[r.jsxs("span",{className:"text-[9px] md:text-[10px] font-mono uppercase tracking-[0.25em] text-white/70",children:["Effects: ",r.jsx("span",{className:e?"text-amber-300":"text-emerald-300",children:e?"Lite":"Full"})]}),r.jsx("span",{className:`relative inline-block w-9 h-5 rounded-full transition-colors duration-300 ${e?"bg-amber-400/30":"bg-emerald-400/30"}`,children:r.jsx("span",{className:`absolute top-[2px] left-[2px] w-4 h-4 rounded-full transition-transform duration-300 shadow-[0_0_8px_currentColor] ${e?"translate-x-4 bg-amber-300 text-amber-300":"translate-x-0 bg-emerald-300 text-emerald-300"}`})})]})},tR=({cycling:e=!0})=>{const t=_.useRef(null);return _.useEffect(()=>{const i=t.current;if(!i)return;const o="#34d399",l="#60a5fa",c="#f472b6",m=520,p=165,y=430,g=1e3,v=1e3,b=1300;let w=!0;const T=[],A=P=>new Promise(O=>{T.push(window.setTimeout(O,P))}),I=(P,O)=>{const F=document.createElement("span");return F.textContent=P,F.style.cssText="display:inline-block;overflow:hidden;white-space:pre;line-height:1;color:"+O+";",F},C=(P,O)=>{const F=I(P,O);F.style.maxWidth="none",F.style.position="absolute",F.style.visibility="hidden",i.appendChild(F);const $=F.offsetWidth;return i.removeChild(F),$},N=(P,O)=>new Promise(F=>{const $=i.firstChild,ee=I(P,O);ee.style.maxWidth=C(P,O)+"px",ee.style.transition="transform "+m+"ms cubic-bezier(.5,.05,.35,1),opacity "+m+"ms",ee.style.transform="translateY(-75%) rotateX(90deg)",ee.style.opacity="0",i.insertBefore(ee,i.firstChild),ee.offsetWidth,ee.style.transform="translateY(0) rotateX(0deg)",ee.style.opacity="1",$&&($.style.position="absolute",$.style.left="0",$.style.top="0",$.style.transition="transform "+m+"ms cubic-bezier(.5,.05,.35,1),opacity "+m+"ms",$.style.transform="translateY(75%) rotateX(-90deg)",$.style.opacity="0",T.push(window.setTimeout(()=>{$.parentNode&&$.parentNode.removeChild($)},m+40))),T.push(window.setTimeout(F,m+60))}),R=(P,O=320)=>new Promise(F=>{const $=i.firstChild;$&&($.style.transition="color "+O+"ms ease",$.style.color=P),T.push(window.setTimeout(F,O+20))}),L=async P=>{const O=["E","L","T","A"];for(let F=0;F<O.length;F++){const $=O[F],ee=C($,P),ce=I($,P);ce.setAttribute("data-e","1"),ce.style.maxWidth="0px",ce.style.opacity="0",ce.style.transition="max-width "+y+"ms cubic-bezier(.32,.72,.32,1),opacity "+y+"ms",i.appendChild(ce),ce.offsetWidth,ce.style.maxWidth=ee+"px",ce.style.opacity="1",await A(p)}await A(y)},q=async()=>{const P=Array.prototype.slice.call(i.querySelectorAll('[data-e="1"]'));for(let O=0;O<P.length;O++){const F=P[O];F.style.transition="max-width "+y+"ms cubic-bezier(.32,.72,.32,1),opacity "+y+"ms",F.style.maxWidth="0px",F.style.opacity="0",T.push(window.setTimeout(()=>{F.parentNode&&F.parentNode.removeChild(F)},y+40)),await A(p)}await A(y)};return(async()=>{i.textContent="";const P=I("Δ",o);if(P.style.maxWidth=C("Δ",o)+"px",i.appendChild(P),!!e)for(await A(v);w;){if(await N("D",l),!w||(await A(g),!w)||(await R(c),!w)||(await A(120),await L(c),!w)||(await A(b),!w)||(R(l,700),await q(),!w)||(await A(g),!w)||(await N("Δ",o),!w))return;await A(v)}})(),()=>{w=!1,T.forEach(P=>clearTimeout(P))}},[e]),r.jsx("span",{ref:t,style:{display:"inline-flex",alignItems:"center",height:"1em",position:"relative",overflow:"visible",perspective:"420p
295x"}})},Gu=({className:e="",cycling:t=!1})=>{const[i,o]=_.useState(!1);return r.jsxs(M.div,{whileHover:{scale:1.02},onHoverStart:()=>o(!0),onHoverEnd:()=>o(!1),className:`flex items-center gap-3 group rounded-xl p-2 -m-2 relative overflow-visible transition-all duration-500 ${e}`,children:[r.jsx("div",{className:"flex items-center font-display font-black tracking-tighter",children:r.jsxs(M.span,{animate:{color:i?"#3b82f6":"#ffffff"},transition:{duration:.3},className:"text-white text-xl md:text-2xl uppercase flex items-center",children:[r.jsx(tR,{cycling:t}),r.jsx("span",{className:"ml-0.5",children:"Scope"})]})}),r.jsx(M.div,{initial:{x:"-100%",skewX:-45,opacity:1},animate:{x:"200%",opacity:[1,1,0]},transition:{duration:3,ease:"linear"},className:"absolute top-0 bottom-0 w-32 bg-gradient-to-r from-transparent via-white/20 to-transparent pointer-events-none"}),r.jsx(Xe,{children:i&&r.jsx(M.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},exit:{opacity:0,x:-10},transition:{duration:.2},className:"absolute left-full top-1/2 -translate-y-1/2 ml-4 whitespace-nowrap pointer-events-none hidden md:block",children:r.jsxs("div",{className:"flex flex-col gap-0.5 border-l border-blue-500/30 pl-3",children:[r.jsx("span",{className:"text-[10px] font-mono uppercase tracking-[0.2em] text-blue-400 font-bold block",children:"Dscope Application"}),r.jsx("span",{className:"text-xs text-white/50 tracking-tight font-light italic",children:"Industry scale automation infrastructure"})]})})})]})},nR=({className:e="",id:t})=>r.jsxs("svg",{id:t,viewBox:"0 0 24 24",className:`satellite-icon ${e} fill-none drop-shadow-[0_0_10px_rgba(59,130,246,0.5)]`,stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsx("rect",{x:"9",y:"8",width:"6",height:"8",rx:"0.5",className:"fill-zinc-800",stroke:"rgba(255,255,255,0.2)",strokeWidth:"0.5"}),r.jsx("rect",{x:"10",y:"9",width:"4",height:"6",className:"fill-zinc-700/50"}),r.jsx("rect",{x:"11.5",y:"10.5",width:"1",height:"3",className:"fill-blue-500/20"}),r.jsxs("g",{children:[r.jsx("rect",{x:"1",y:"9",width:"8",height:"6",rx:"0.2",className:"fill-blue-900/40",stroke:"#3b82f6",strokeWidth:"0.3"}),r.jsx("path",{d:"M1 10.5h8M1 12h8M1 13.5h8M3 9v6M6 9v6",stroke:"rgba(255,255,255,0.1)",strokeWidth:"0.1"})]}),r.jsxs("g",{children:[r.jsx("rect",{x:"15",y:"9",width:"8",height:"6",rx:"0.2",className:"fill-blue-900/40",stroke:"#3b82f6",strokeWidth:"0.3"}),r.jsx("path",{d:"M15 10.5h8M15 12h7M15 13.5h8M18 9v6M21 9v6",stroke:"rgba(255,255,255,0.1)",strokeWidth:"0.1"})]}),r.jsx("path",{d:"M12 8 L12 5 M10 6 L14 6",stroke:"#94a3b8",strokeWidth:"0.5"}),r.jsx("circle",{cx:"12",cy:"5",r:"0.5",className:"fill-blue-400"}),r.jsx(M.circle,{cx:"12",cy:"12",r:"0.4",animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"fill-red-500"})]});_.memo(({hoveredTabId:e,isNavOpen:t,tabs:i})=>{const{width:o,height:l}=Fo(),c=o<768,[m,p]=_.useState(0),[y,g]=_.useState(0),v=qe.useCallback(()=>{p(Math.floor(Math.random()*10)),g(I=>I+1)},[]);_.useEffect(()=>{(t||e)&&v()},[t,e,v]);const b=_.useMemo(()=>({damping:30,stiffness:120,mass:1}),[]),w=Fe(0,b),T=Fe(0,b);_.useEffect(()=>{if(t||e){if(t){const I=c?o*.85:o*.9,C=c?l*.15:l*.2;w.set(I),T.set(C)}else if(e){const I=i.findIndex(R=>R.id===e),C=c?32+I*54:o/2-i.length*100/2+I*100+50,N=c?l-48:l-110;w.set(C),T.set(N)}}},[e,t,o,l,c]);const A=(I,C)=>{const R=["#3b82f6","#34d399","#a855f7"][I%3];switch(I){case 1:return r.jsx(ct,{type:"astronaut",color:R});case 2:return r.jsx(ct,{type:"ufo",color:R});case 3:return r.jsx(ct,{type:"spaceship",color:R});case 4:return r.jsx(ct,{type:"robot",color:R});case 5:return r.jsx(ct,{type:"mobile-phone",color:R});case 6:return r.jsx(ct,{type:"space-laboratory",color:R});case 7:return r.jsx(ct,{type:"water-waves",color:R});case 8:return r.jsx(ct,{type:"big-telescope",color:R});case 9:return r.jsx(ct,{type:"telescope",color:R});default:return r.jsx(ct,{type:"satellite",color:R})}};return r.jsx("div",{className:"fixed inset-0 pointer-events-none z-[1001]",children:r.jsx(Xe,{children:!t&&!e?r.jsx(Sx,{flybyType:m,width:o,height:l,renderCurrentObject:A,onComplete:v},`flyby-${y}`):r.jsx(M.div,{style:{x:w,y:T},initial:{opacity:0,scale:.5}
295,animate:{opacity:1,scale:1},exit:{opacity:0,scale:.5},className:"absolute -translate-x-1/2 -translate-y-1/2",children:r.jsx(M.div,{animate:{rotate:[5,10,5],y:[0,-5,0]},transition:{duration:5,repeat:1/0,ease:"easeInOut"},children:r.jsx(nR,{id:"flying-satellite-icon",className:"w-14 h-14 md:w-20 md:h-20 text-blue-400 drop-shadow-lg"})})},"controlled-sat")})})});const iR=({isHovered:e})=>r.jsx(M.div,{initial:{x:60,y:-60,rotate:15,opacity:0},animate:e?{x:0,y:0,rotate:0,opacity:1,scale:.4}:{x:[60,70,60],y:[-60,-50,-60],rotate:[15,20,15],opacity:1,scale:.6},transition:{duration:e?.8:4,repeat:e?0:1/0,ease:"easeInOut"},className:"absolute pointer-events-none z-20",children:r.jsxs("svg",{width:"60",height:"80",viewBox:"0 0 60 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r.jsx("circle",{cx:"30",cy:"20",r:"15",fill:"#E5E7EB"}),r.jsx("path",{d:"M18 18C18 12.4772 23.3726 8 30 8C36.6274 8 42 12.4772 42 18V22C42 27.5228 36.6274 32 30 32C23.3726 32 18 27.5228 18 22V18Z",fill:"#1F2937"}),r.jsx("rect",{x:"22",y:"12",width:"16",height:"8",rx:"2",fill:"#60A5FA",fillOpacity:"0.4"}),r.jsx("rect",{x:"15",y:"32",width:"30",height:"35",rx:"8",fill:"#F3F4F6"}),r.jsx("rect",{x:"20",y:"38",width:"20",height:"15",rx:"2",fill:"#D1D5DB"}),r.jsx("rect",{x:"10",y:"35",width:"40",height:"30",rx:"4",fill:"#9CA3AF"}),r.jsx(M.path,{animate:e?{d:"M15 45L5 55"}:{d:["M15 45L5 50","M15 45L5 55","M15 45L5 50"]},transition:{duration:e?.3:4,repeat:1/0,ease:"easeInOut"},stroke:"#F3F4F6",strokeWidth:"8",strokeLinecap:"round"}),r.jsx(M.path,{animate:e?{d:["M45 45L55 55","M45 45L55 35","M45 45L55 55"]}:{d:["M45 45L55 50","M45 45L55 55","M45 45L55 50"]},transition:{duration:e?.6:4,repeat:1/0,ease:"easeInOut"},stroke:"#F3F4F6",strokeWidth:"8",strokeLinecap:"round"}),r.jsx("path",{d:"M22 67V75",stroke:"#F3F4F6",strokeWidth:"10",strokeLinecap:"round"}),r.jsx("path",{d:"M38 67V75",stroke:"#F3F4F6",strokeWidth:"10",strokeLinecap:"round"}),r.jsx("circle",{cx:"30",cy:"45",r:"2",fill:"#3B82F6",className:"opacity-70"})]})}),aR=({className:e="",progress:t,onClick:i})=>{const{width:o}=Fo(),[l,c]=_.useState(!1),m=Q(t,[0,1],[0,0]),p=Q(t,[0,1],[1,1]),y=Q(t,[0,1],[1,1]);return r.jsxs(M.div,{style:{rotate:m,scale:p,opacity:y},onClick:i,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),i==null||i())},role:"button",tabIndex:0,"aria-label":"Trigger orbital dispatch boom",whileHover:{scale:1.05},whileTap:{scale:.95},className:`relative w-48 h-48 md:w-80 md:h-80 flex items-center justify-center cursor-pointer group focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 rounded-full ${e}`,children:[r.jsx("svg",{className:"absolute inset-0 pointer-events-none w-full h-full z-10 overflow-visible",children:r.jsx(M.path,{d:`M ${o<768?96:160} ${o<768?96:160} Q ${o<768?120:190} ${o<768?80:130}, ${o<768?140:220} ${o<768?60:100}`,fill:"none",stroke:"rgba(255,255,255,0.2)",strokeWidth:"1.5",strokeDasharray:"4 2"})}),r.jsx(iR,{isHovered:l}),r.jsxs("div",{className:"absolute w-16 h-16 md:w-24 md:h-24 bg-gradient-to-br from-gray-700 to-gray-900 border-2 border-blue-400/50 rounded-2xl shadow-[0_0_50px_rgba(59,130,246,0.4)] transition-all flex items-center justify-center overflow-hidden z-10",children:[r.jsx("div",{className:"absolute inset-0 opacity-20 mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='nf'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23nf)'/%3E%3C/svg%3E")`}}),r.jsx("div",{className:"w-10 h-10 md:w-14 md:h-14 bg-black/80 rounded-full border border-blue-500/30 flex items-center justify-center relative",children:r.jsx("div",{className:"w-4 h-4 bg-blue-500/40 rounded-full blur-sm"})}),r.jsx("div",{className:"absolute top-0 w-1 h-8 bg-blue-400/40 -translate-y-1/2"}),r.jsx("div",{className:"absolute left-0 h-1 w-8 bg-blue-400/40 -translate-x-1/2"})]}),r.jsx("div",{className:"absolute left-[-60px] md:left-[-100px] w-24 md:w-40 h-32 md:h-40 flex flex-col gap-2",children:[...Array(6)].map((g,v)=>r.jsxs("div",{className:"flex-1 bg-blue-900/60 border border-blue-400/40 rounded-md relative overflow-hidden group-hover:bg-blue-800/80 transition-colors",children:[r.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-blue-400/30 via-trans
295parent to-blue-400/10"}),r.jsx("div",{className:"absolute inset-y-0 left-0 w-1 bg-blue-400/50"})]},v))}),r.jsx("div",{className:"absolute right-[-60px] md:right-[-100px] w-24 md:w-40 h-32 md:h-40 flex flex-col gap-2",children:[...Array(6)].map((g,v)=>r.jsxs("div",{className:"flex-1 bg-blue-900/60 border border-blue-400/40 rounded-md relative overflow-hidden group-hover:bg-blue-800/80 transition-colors",children:[r.jsx("div",{className:"absolute inset-0 bg-gradient-to-l from-blue-400/30 via-transparent to-blue-400/10"}),r.jsx("div",{className:"absolute inset-y-0 right-0 w-1 bg-blue-400/50"})]},v))}),r.jsxs(M.div,{animate:{rotate:[0,360]},transition:{duration:20,repeat:1/0,ease:"linear"},className:"absolute bottom-[-40px] md:bottom-[-60px] w-20 md:w-32 h-20 md:h-32 rounded-full border-t border-blue-400/30 flex items-center justify-center",children:[r.jsx("div",{className:"w-2 h-2 bg-blue-400 rounded-full"}),r.jsx("div",{className:"w-[1px] h-full bg-gradient-to-t from-blue-400/40 to-transparent"})]}),r.jsxs("svg",{className:"absolute inset-[-60px] w-[calc(100%+120px)] h-[calc(100%+120px)]",viewBox:"0 0 100 100",children:[r.jsx("circle",{cx:"50",cy:"50",r:"42",fill:"none",stroke:"rgba(59,130,246,0.15)",strokeWidth:"0.2"}),r.jsx(M.circle,{cx:"50",cy:"50",r:"42",fill:"none",stroke:"rgba(59,130,246,0.5)",strokeWidth:"0.6",strokeDasharray:"2 98",animate:{rotate:360},transition:{duration:15,repeat:1/0,ease:"linear"}})]})]})},oR=({node:e,index:t,progress:i,isBooming:o})=>{const l=t===0,c=l?0:Math.ceil(t/3),m=.2,y=l?0:c*.08+.1,g=y+m,v=t*137.5%360,b=o?1500:800,w=Q(i,[y,g],[0,b]),T=Q(i,[y,g],[v,v+270]),A=Q([w,T],([P,O])=>{const F=O*(Math.PI/180);return Math.cos(F)*P}),I=Q([w,T],([P,O])=>{const F=O*(Math.PI/180);return Math.sin(F)*P}),C=v*(Math.PI/180),N=Math.cos(C)*b,R=Math.sin(C)*b,L=Q(i,l?[0,g*.8,g]:[y,y+.02,g-.08,g],l?[1,1,0]:[0,1,1,0]),q=Q(i,[y,g],[1,.2]),Y=Q(i,[y,g],["blur(0px)","blur(12px)"]);return r.jsxs(M.div,{initial:!1,animate:o?{x:N*1.5,y:R*1.5,opacity:0,scale:0,filter:"blur(20px)"}:{},style:o?{}:{x:A,y:I,opacity:L,scale:q,filter:Y},transition:o?{duration:.8,ease:"easeOut",delay:t*.01}:{},className:"absolute flex flex-col items-center justify-center gap-2 pointer-events-none",children:[r.jsx("div",{className:"w-10 h-10 md:w-12 md:h-12 rounded-xl bg-blue-500/10 border border-blue-400/30 flex items-center justify-center backdrop-blur-md",children:r.jsx(e.icon,{className:"w-5 h-5 md:w-6 md:h-6 text-blue-400"})}),r.jsx("span",{className:`${/[֐-׿]/.test(e.label)?"text-[13px] font-hebrew tracking-normal":"text-[8px] md:text-[9px] font-mono uppercase tracking-widest"} text-blue-400`,children:e.label})]})},sR=()=>{const[e,t]=_.useState(!1),[i,o]=_.useState(!1),[l,c]=_.useState(!1);return r.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-display font-black uppercase tracking-tighter mb-8 leading-[1.1] drop-shadow-[0_10px_25px_rgba(0,0,0,0.5)] flex flex-wrap items-baseline justify-center gap-x-3 md:gap-x-4 gap-y-2",children:[r.jsx(M.span,{layout:!0,onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),className:"text-blue-400 cursor-pointer inline-flex items-baseline",children:r.jsx(Xe,{mode:"popLayout",initial:!1,children:e?r.jsx(M.span,{layout:!0,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:20},children:"1"},"num"):r.jsx(M.span,{layout:!0,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:20},children:"One"},"word")})}),r.jsx(M.span,{layout:!0,className:"text-emerald-400 inline-block",children:"Platform"}),r.jsx(M.span,{layout:!0,className:"text-purple-400 inline-block",children:"That"}),r.jsx(M.span,{layout:!0,onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),animate:i?{scaleY:.8,scaleX:1.1,borderRadius:"50%"}:{scaleY:1,scaleX:1,borderRadius:"0%"},transition:{type:"spring",stiffness:300,damping:15},style:{display:"inline-block",originY:.5,originX:.5},className:`cursor-pointer inline-block transition-colors ${i?"text-white bg-blue-500/20 px-4 rounded-full":"text-blue-400"}`,children:"Replaces"}),r.jsx(M.span,{layout:!0,className:"text-emerald-400 inline-block",children:"or"}),r.jsx(M.span,{layout:!0,onMouseEnter:()=>c(!0),onMouseLeave:()=>
295c(!1),className:`cursor-pointer relative inline-flex items-baseline transition-colors duration-300 ${l?"text-white":"text-purple-400"}`,children:r.jsx(Xe,{mode:"popLayout",initial:!1,children:l?r.jsx(M.span,{layout:!0,initial:{opacity:0,scale:.6},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.6},transition:{type:"spring",stiffness:300,damping:18},className:"inline-flex items-baseline","aria-label":"Connector",children:r.jsxs("svg",{viewBox:"0 0 120 40",className:"h-[0.7em] w-auto drop-shadow-[0_0_12px_rgba(79,172,254,0.55)]",style:{transform:"translateY(0.05em)"},fill:"none",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round","aria-hidden":"true",children:[r.jsx("defs",{children:r.jsxs("linearGradient",{id:"chainGrad",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[r.jsx("stop",{offset:"0%",stopColor:"#4facfe"}),r.jsx("stop",{offset:"50%",stopColor:"#34d399"}),r.jsx("stop",{offset:"100%",stopColor:"#a78bfa"})]})}),r.jsx("rect",{x:"4",y:"8",width:"46",height:"24",rx:"12",ry:"12",stroke:"url(#chainGrad)"}),r.jsx("rect",{x:"37",y:"8",width:"46",height:"24",rx:"12",ry:"12",stroke:"url(#chainGrad)"}),r.jsx("rect",{x:"70",y:"8",width:"46",height:"24",rx:"12",ry:"12",stroke:"url(#chainGrad)"})]})},"chain"):r.jsx(M.span,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:{duration:.25},className:"inline-block",children:"Connects"},"word")})}),r.jsx(M.span,{layout:!0,className:"text-blue-400 inline-block",children:"All"}),r.jsx(M.span,{layout:!0,className:"text-emerald-400 inline-block",children:"SaaS"}),r.jsx(M.span,{layout:!0,className:"text-purple-400 inline-block",children:"Platforms"})]})},lR=({locale:e="en"}={})=>{const t=e==="he";return r.jsxs("section",{dir:t?"rtl":"ltr",className:`relative z-10 w-full py-32 px-6 overflow-hidden ${t?"font-hebrew":""}`,children:[r.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-full h-[1px] bg-gradient-to-r from-transparent via-white/10 to-transparent"}),r.jsx("div",{className:"max-w-7xl mx-auto",children:r.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 items-center",children:[r.jsxs("div",{children:[r.jsx(M.h2,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"text-4xl md:text-6xl font-display font-bold text-white mb-8 tracking-tighter leading-tight",children:t?r.jsxs(r.Fragment,{children:["האופק האסטרטגי ",r.jsx("br",{}),r.jsx("span",{className:"text-emerald-400",children:"של העשור הקרוב"})]}):r.jsxs(r.Fragment,{children:["The Strategic Horizon ",r.jsx("br",{}),r.jsx("span",{className:"text-emerald-400",children:"of the Decade Ahead"})]})}),r.jsxs(M.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"space-y-6 text-lg md:text-xl font-light text-white/70 leading-relaxed",children:[r.jsx("p",{children:t?"ארגונים שנכנסים לעידן הבא עומדים בפני בחירה מהותית: קפיצת מדרגה אמיתית דרך בינה אוטונומית, או קיפאון בגלל חיכוך עם מערכות ישנות. למה המעבר הזה קריטי דווקא עכשיו?":"Organizations entering the next era face a fundamental choice: absolute scale through autonomous intelligence or stagnation through legacy friction. Why is this transition critical now?"}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 pt-8",children:[r.jsxs("div",{className:"space-y-3 font-sans",children:[r.jsxs("h4",{className:"text-white font-bold flex items-center gap-2",children:[r.jsx("div",{className:"w-2 h-2 rounded-full bg-blue-500"}),t?"למה זה משנה":"Why It Matters"]}),r.jsx("p",{className:"text-sm",children:t?"בשוק גלובלי מחובר לגמרי, זמני תגובה שתלויים רק בבני אדם כבר לא מספיק תחרותיים. סוכנים אוטונומיים פועלים בקצב של הדאטה עצמו, והופכים שבועות של עבודה ידנית לשניות של ביצוע מדויק.":"Connected operations require faster, more consistent responses. Dscope automates repeatable steps, reduces manual handoffs, and keeps people in control of judgment and exceptions."})]}),r.jsxs("div",{className:"space-y-3 font-sans",children:[r.jsxs("h4",{className:"text-white font-bold flex items-center gap-2",children:[r.jsx("div",{className:"w-2 h-2 rounded-full bg-emerald-500"}),t?"מה זה פותר":"What It Solves"]}),r.jsx("p",{className:"text-sm",children:t?r.jsx(r.Fragment,{children:"Dscope מסייעת להרחיב את יכולת הביצוע בלי להפוך כל גידול בפעילות לגידול מקביל בעבודה הידנית. הצוות נשאר אחראי לכיוון, ליצירתיות, לשיקול הדעת ולקשר האנושי."}):"Dscope helps teams expand operating capacity without turning every increase in activity into the same increase in manual work. People remain responsible for direction, creativity, judgment, and customer relationships."})]})]})]})]}),r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute inset-0 bg-blue-500/20 blur-[120px] rounded-full animate-pulse"}),r.jsxs(M.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},className:"relative p-8 md:p-12 rounded-[2.5rem] bg-black/40 border border-white/10 backdrop-blur-2xl",children:[r.jsx("h3",{className:"text-2xl font-bold text-white mb-8",children:t?"ההשפעה הכלכלית":"The Economic Impact"}),r.jsx("div",{className:"space-y-8",children:[{label:t?"ייעול עלויות תפעול":"Operational efficiency",value:t?"לפי הצורך":"Tailored",icon:zu,color:"text-blue-400"},{label:t?"פריסה מדורגת":"Deployment approach",value:t?"מותאמת לארגון":"Staged",icon:bl,color:"text-emerald-400"},{label:t?"בקרות אבטחה ורגולציה":"Security and compliance controls",value:t?"כחלק מהתהליך":"Built in",icon:Vg,color:"text-purple-400"}].map((i,o)=>r.jsxs("div",{className:"flex items-center justify-between group",children:[r.jsxs("div",{className:"flex items-center gap-4",children:[r.jsx("div",{className:`p-3 rounded-xl bg-white/5 border border-white/10 ${i.color}`,children:r.jsx(i.icon,{size:24})}),r.jsx("span",{className:`text-white/60 font-medium group-hover:text-white transition-colors ${t?"text-[13px] font-hebrew tracking-normal":"uppercase tracking-widest text-[10px] font-mono"}`,children:i.label})]}),r.jsx("span",{className:`text-2xl font-mono font-bold ${i.color}`,children:i.value})]},o))}),r.jsx("div",{className:"mt-12 p-6 rounded-2xl bg-white/5 border border-white/5 italic text-sm text-white/40 leading-relaxed font-sans",children:t?r.jsx(r.Fragment,{children:"Dscope מחברת בין אוטומציה, נתונים ובקרה אנושית כדי לעזור לארגונים לפעול בצורה עקבית, יעילה ואחראית יותר."}):"Dscope connects automation, data, and human oversight so organizations can operate with greater consistency, efficiency, and accountability."})]})]})]})})]})},rR=({locale:e="en"}={})=>{const t=e==="he",i=_.useRef(null),{scrollYProgress:o}=$t({target:i,offset:["start end","end start"]});return r.jsxs("section",{ref:i,dir:t?"rtl":"ltr",className:`relative z-10 w-full pt-20 pb-20 px-6 ${t?"font-hebrew":""}`,children:[r.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[t?r.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-hebrew font-black tracking-normal mb-8 leading-[1.15] [text-wrap:balance]",children:[r.jsx("span",{className:"text-blue-400",children:"פלטפורמה אחת"})," ",r.jsx("span",{className:"text-purple-400",children:"שמחליפה"})," ",r.jsx("span",{className:"text-emerald-400",children:"או"})," ",r.jsx("span",{className:"text-purple-400",children:"מתחברת ל"}),r.jsx("span",{className:"text-blue-400",children:"כל מערכות ה"}),r.jsx("span",{dir:"ltr",className:"text-emerald-400",children:"SaaS"})]}):r.jsx(sR,{}),r.jsx(M.p,{initial:{opacity:0,y:20}
295,animate:{opacity:1,y:0},transition:{delay:.1},className:"text-xl md:text-2xl text-blue-400/80 font-light max-w-3xl mx-auto mb-8",children:t?r.jsxs(r.Fragment,{children:["אנחנו פותרים בעיות תפעול - הקיימות והעתידיות - עם ",r.jsx("strong",{className:"text-white",children:"בינה מלאכותית ואוטומציה"})," אמיתית. מצמצמים עלויות, חוסכים זמן עבודה, מעלים דרמטית את רמת הדיוק, ומשחררים את הצוות שלכם להתמקד בעבודה בעלת ערך גבוה - לתוצאות הרבה יותר משמעותיות."]}):r.jsxs(r.Fragment,{children:["Solving future and existing problems through true ",r.jsx("strong",{className:"text-white",children:"AI & Automation"}),". Reduce costs, save employee time, dramatically increase accuracy, and let your team focus on high-value work for much greater results."]})}),r.jsx(M.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-lg text-white/50 font-light max-w-4xl mx-auto mb-16 leading-relaxed",children:t?r.jsxs(r.Fragment,{children:[r.jsx("span",{dir:"ltr",style:{unicodeBidi:"isolate"},className:"inline-block",children:"Dscope"})," מיועדת לארגונים בגדלים ובענפים שונים - מחברות צעירות ועד תאגידים, משרדים מקצועיים, גופי שירות, מוסדות פיננסיים, חברות לוגיסטיקה, ארגוני חינוך, רשתות קמעונאות וגופים ציבוריים. הפלטפורמה מותאמת לתהליכים, למערכות ולבקרות של כל ארגון."]}):"Dscope supports organizations across industries and company sizes. The platform adapts to each organization's workflows, systems, policies, and human approval requirements."})]}),r.jsxs("div",{className:"max-w-7xl mx-auto bg-white/[0.02] border border-white/10 rounded-[3rem] p-8 md:p-16 backdrop-blur-xl relative overflow-hidden mb-16",children:[r.jsx("div",{className:"absolute top-0 right-0 w-[500px] h-[500px] bg-blue-500/10 blur-[120px] rounded-full pointer-events-none"}),r.jsxs("div",{className:"text-center mb-16 relative z-10",children:[r.jsx("h2",{className:`text-3xl md:text-4xl font-bold text-white tracking-tight ${t?"font-hebrew":"font-display uppercase"}`,children:t?"רשימת יכולות":"Feature List"}),r.jsxs("div",{className:"relative w-56 h-3 mx-auto mt-6 flex items-center justify-center",children:[r.jsx("div",{className:"absolute inset-x-0 top-1/2 -translate-y-1/2 h-[1.5px] bg-gradient-to-r from-transparent via-blue-400/40 via-50% to-transparent"}),r.jsx("div",{className:"absolute inset-x-1/4 top-1/2 -translate-y-1/2 h-[1.5px] bg-gradient-to-r from-blue-400/70 via-emerald-400/80 to-purple-400/70"}),[{pos:"10%",cls:"bg-blue-400",glow:"rgba(96,165,250,0.9)",delay:0},{pos:"50%",cls:"bg-emerald-400",glow:"rgba(52,211,153,0.9)",delay:.4},{pos:"90%",cls:"bg-purple-400",glow:"rgba(192,132,252,0.9)",delay:.8}].map((l,c)=>r.jsx(M.div,{className:`absolute w-2 h-2 rounded-full ${l.cls}`,style:{left:l.pos,transform:"translateX(-50%)",boxShadow:`0 0 10px ${l.glow}, 0 0 18px ${l.glow}`},animate:{scale:[1,1.35,1],opacity:[.75,1,.75]},transition:{duration:2.4,repeat:1/0,delay:l.delay,ease:"easeInOut"}},c))]})]}),r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 relative z-10",children:(t?[{model:0,color:"blue",title:"CRM אג'נטי",de
295sc:"פלטפורמת מכירות חזויה שמייעלת את כל מסע הלקוח - מליד ראשוני ועד שימור ארוך טווח.",functions:["ניקוד לידים וזיהוי כוונה","קמפיינים אוטומטיים ליזום קשר","אנליטיקת הכנסות חזויה","מודיעין מכירות ברשתות חברתיות","מיפוי סנטימנט לקוחות","מעקב אחר פעילות מתחרים","אופטימיזציית תמחור דינמית","מפת חום של תהליכי עסקאות"]},{model:1,color:"emerald",title:"כרטיסי שירות מונעי מכירה",desc:"תמיכה רב-ערוצית שמזהה הזדמנויות מכירה בתוך תהליכי שירות ופותרת פניות באופן מיידי.",functions:["ניתוב כרטיסים לפי כוונה","חילוץ הזדמנויות מכירה","הצעות פתרון אוטומטיות","מנגנוני מניעת נטישה","תרגום אוטומטי רב-לשוני","מיזוג היסטוריה בין ערוצים","חיזוי חריגה מ-SLA","יצירת שאלות נפוצות אוטומטית"]},{model:2,color:"purple",title:"ניהול כספים אוטומטי",desc:"ניהול מעגל חיים פיננסי מלא - מחיוב אוטומטי ועד התאמות חשבונאיות מורכבות ברמת הארגון.",functions:["עיבוד חשבוניות אוטומטי","תחזית תזרים מזומנים בזמן אמת","זיהוי חריגות והונאות","אופטימיזציית תשלומים לספקים","אוטומציית עמידה במס","גידור אוטומטי רב-מטבעי","ייעול ביקורת הוצאות","דיווח רווח והפסד אוטומטי"]},{model:3,color:"blue",title:"ממשק פעולה אינטואיטיבי",desc:"ממשק פקודה אינטואיטיבי שנבנה לפעולות קריטיות, בלי עקומת למידה.",functions:["סביבות עבודה מודעות הקשר","שורת פקודה קולית וטקסטואלית","טעינת רכיבים דינמית","סנכרון בין פלטפורמות","גישה מאובטחת ביומטרית","עריכה שיתופית רב-משתמשים","ערכות עיצוב מותאמות אישית","משוב הפטי מותאם"]},{model:4,color:"emerald",title:"מערכת לבניית סוכני AI",desc:"משכפלים את תהליכי העבודה של האנשים הכי טובים שלכם לסוכני AI ניתנים להרחבה, על בסיס ניתוח דאטה.",functions:["נתוני אימון רב-מודליים","שכפול הקלטות מסך","סביבת לוגיקה מותאמת אישית","מעקב ביצועי סוכנים","כיוונון עדין של רשתות נוירונים","בדיקות אבטחה אוטומטיות","ניהול גרסאות לסוכנים","שיתוף ידע חוצה-מחלקות"]},{model:5,color:"purple",title:"מרכזייה קולית מבוססת AI",desc:"מרכזייה חכמה שמטפלת בשיחות קוליות בעדינות ובניואנס של הנציגים הכי טובים שלכם.",functions:["עיבוד קול מבוסס AI בזמן תגובה קצר","ניתוח סנטימנט בזמן אמת","העברה חכמה לנציג אנושי","סיכום שיחה אוטומטי","יצירת מסלולי IVR דינמיים","סיווג כוונת המתקשר","סינון רעשי רקע","תזמון חזרה אוטומטי ללקוח"]},{model:6,color:"blue",title:"מגן עמידה ברגולציה",desc:"ניטור רציף של נתוני תפעול כדי להבטיח עמידה ברגולציה גלובלית ויישור מול מדיניות פנימית.",functions:["ביקורות עמידה ברגולציה בזמן אמת","הגנות פרטיות נתונים","ניקוד סיכון התנהגותי","עדכוני מדיניות אוטומטיים","סנכרון רגולטורי גלובלי","טריגרים לתגובת אירועים","ביקורת בשיטת אפס-ידע","מעקב טרנספורמציית ESG"]},{model:7,color:"emerald",title:"עמיתי עבודה אישיים",desc:"מלווים דיגיטליים לכל עובד, שמטפלים בחיכוך אדמיניסטרטיבי ואיתור מידע.",functions:["תיעדוף משימות חכם","אחזור ממאגר הידע","יצירת מאקרו לתהליכי עבודה","יצירת תדרוך יומי","ניסוח רצפי אימייל","סיכומי פגישה ומשימות פעולה","ניהול עומס מידע","זיהוי פערי מיומנות"]},{model:8,color:"purple",title:"מעבדת ML ארגונית",desc:"מנצלים את הנתונים הייחודיים של הארגון כדי לבנות מודלים חזויים ומערכות AI מותאמות אישית.",functions:["בניית גרף ידע","אינטגרציית חיפוש וקטורי","מסגרת כיוונון עדין","ניהול מאגרי נתונים","תמיכה באימון מבוזר","דיווח AI ניתן להסבר","פריסת מודלים בקצה הרשת","תיוג נתונים סמנטי"]},{model:9,color:"blue",title:"לוחות בקרה חזויים",desc:"מדמיינים את עתיד התפעול שלכם עם תחזיות KPI והתראות חריגה בזמן אמת.",functions:["שאילתות בשפה טבעית","יצירת גרפים אוטומטית","מיזוג נתונים חוצה-מחלקות","מערכות התראת סף","הדמיות נתונים ב-VR/AR","סימולציות השפעת תרחישים","סיכום מנהלים בקול","אקסטרפולציה של מגמות היסטוריות"]},{model:10,color:"emerald",title:"מערכות מתפתחות מעצמן",desc:"פלטפורמות שבונות את עצמן מחדש על סמך תצפית על דפוסים ישנים ויעדים ארגוניים.",functions:["שיפוץ קוד ישן","אופטימיזציית סכימת מאגר נתונים","זיהוי צווארי בקבוק בתהליכים","מעבר אוטומטי לזריזות ארגונית","לוגיקת קוד מתקנת את עצמה","מיפוי חוב טכני אוטומטי","ניהול רשת שירותים","חיזוק מערכת מתמשך"]}]:[{model:0,color:"blue",title:"Agentic CRM",desc:"Predictive sales platform that optimizes the entire buyer journey from initial lead to long-term retention.",functions:["Lead Scoring & Intent Detection","Automated Outreach Campaigns","Predictive Revenue Analytics","Social Selling Intelligence","Customer Sentiment Mapping","Competitor Interaction Tracking","Dynamic Pricing Optimization","Deal Flow Heatmapping"]},{model:1,color:"emerald",title:"Sales-Driven Tickets",desc:"Omnichannel support that identifies sales opportunities within support flows and resolves issues instantly.",functions:["Intent-Based Ticket Routing","Opportunity Extraction","Auto-Resolution Suggestions","Churn Prevention Hooks","Multi-Language Auto-Translation","Cross-Channel History Merging","SLA Breach Prediction","Automated FAQ Synthesis"]},{model:2,color:"purple",title:"Autonomous FinOps",desc:"Complete financial lifecycle management from automated billing to complex enterprise reconciliation.",functions:["Auto-Invoice Processing","Real-time Cash-flow Projection","Anomaly & Fraud Detection","Vendor Payment Optimization","Tax Compliance Automation","Multi-Currency Auto-Hedging","Expense Audit Streamlining","Automated P&L Reporting"]}
295,{model:3,color:"blue",title:"Actionable UX",desc:"Intuitive command interface designed for mission-critical operations with zero learning curve.",functions:["Context-Aware Workspaces","Voice & Text Command Bar","Dynamic Component Loading","Cross-Platform Syncing","Biometric Secure Access","Collaborative Multi-User Editing","Custom Theme Architectures","Haptic Feedback Integrations"]},{model:4,color:"emerald",title:"Autonomous Builder",desc:"Clone your top performers' workflows into scalable AI agents using data-driven process mining.",functions:["Multi-Modal Training Data","Screen-Session Cloning","Custom Logic Workbench","Agent Performance Tracking","Neural Network Fine-Tuning","Automated Red-Teaming","Version Control for Agents","Cross-Silo Knowledge Sharing"]},{model:5,color:"purple",title:"AI Voice Switchboard",desc:"Natural intelligence switchboard that handles voice calls with the nuance of your best human agents.",functions:["Low-Latency Neural Voice","Real-time Sentiment Analysis","Intelligent Human Escalation","Post-Call Summarization","Dynamic IVR Path Generation","Caller Intent Classification","Background Noise Suppression","Automated Callback Scheduling"]},{model:6,color:"blue",title:"Compliance Shield",desc:"Continuous monitoring of operational data to ensure global regulatory adherence and internal policy alignment.",functions:["Real-time Compliance Audits","Data Privacy Guardrails","Behavioral Risk Scoring","Automated Policy Updates","Global Regulatory Syncing","Incident Response Triggers","Zero-Knowledge Proof Auditing","ESG Transformation Tracking"]},{model:7,color:"emerald",title:"Personal Coworkers",desc:"AI companions for every staff member that handle administrative friction and data retrieval.",functions:["Intelligent Task Prioritization","Knowledge Base Retrieval","Workflow Macro Creation","Daily Briefing Generation","Email Sequence Drafting","Meeting Minutes & Action Items","Cognitive Load Management","Skill Gap Identification"]},{model:8,color:"purple",title:"Enterprise ML Lab",desc:"Harness proprietary enterprise data to build custom predictive models and cognitive architectures.",functions:["Knowledge Graph Synthesis","Vector Search Integration","Fine-Tuning Framework","Dataset Management","Distributed Training Support","Explainable AI Reporting","Edge Model Deployment","Semantic Data Tagging"]},{model:9,color:"blue",title:"Predictive Dashboards",desc:"Visualize the future of your operations with KPI projections and real-time anomaly alerts.",functions:["Natural Language Queries","Automatic Chart Generation","Cross-Silo Data Blending","Threshold Alert Systems","VR/AR Data Visualizations","Scenario Impact Simulations","Executive Summary Audio","Historical Trend Extrapolation"]},{model:10,color:"emerald",title:"Self-Evolving Systems",desc:"Platforms that architecture themselves by observing legacy patterns and enterprise goals.",functions:["Legacy Code Refactoring","Database Schema Optimization","Process Bottleneck Detection","Auto-Agile Transitioning","Self-Healing Code Logic","Automated Technical Debt Mapping","Service Mesh Orchestration","Continuous System Hardening"]}]).map((l,c)=>{const p={blue:{bg:"bg-blue-500/5",border:"border-blue-500/20",text:"text-blue-400",hex:"#60a5fa"},emerald:{bg:"bg-emerald-500/5",border:"border-emerald-500/20",text:"text-emerald-400",hex:"#34d399"},purple:{bg:"bg-purple-500/5",border:"border-purple-500/20",text:"text-purple-400",hex:"#c084fc"}}[l.color];return r.jsxs(M.div,{initial:!1,className:`p-6 md:p-8 rounded-3xl ${p.bg} border ${p.border} hover:bg-[#000010] transition-all duration-500 group relative overflow-hidden flex flex-col`,children:[r.jsx("div",{className:"absolute inset-0 bg-[#000010] opacity-0 group-hover:opacity-100 transition-opacity duration-500 -z-10"}),r.jsx("div",{className:"h-24 md:h-32 mb-6 md:mb-8 relative flex items-center justify-center transform group-hover:scale-110 transition-transform duration-700 pointer-events-none opacity-80 group-hover:opacity-100 mix-blend-screen drop-shadow-[0_0_15px_rgba(255,255,255,0.2)]",children:r.jsx(ct,{typeIndex:l.model,color:p.hex})}),r.jsx("h3",{className:`text-lg md:text-xl font-bold mb-3 md:mb-4 ${p.text} ${t?"font-hebrew":""}`,children:l.title}),r.jsx("p",{className:`text-white/60 text-xs md:text-sm leading-relaxed mb-6 ${t?"font-hebrew":""}`,children:l.desc}),r.jsx("div",{className:"mt-auto space-y-2 border-t border-white/5 pt-6",children:l.functions.map((y,g)=>r.jsxs("div",{className:"flex items-start gap-2 group/item",children:[r.jsx("div",{className:`w-1 h-1 rounded-full mt-1.5 shrink-0 ${l.color==="blue"?"bg-blue-500":l.color==="emerald"?"bg-emerald-500":"bg-purple-500"} group-hover/item:scale-125 transition-transform`}),r.jsx("span",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] md:text-[11px] font-mono uppercase tracking-wider"} text-white/40 group-hover/item:text-white/80 transition-colors`,children:y})]},g))})]},c)})})]}),r.jsxs("div",{className:"max-w-7xl mx-auto bg-gradient-to-r from-blue-900/20 to-purple-900/20 border border-blue-500/20 rounded-[3rem] p-8 md:p-16 backdrop-blur-xl relative overflow-hidden",children:[r.jsxs("div",{className:"text-center mb-16 relative z-10",children:[r.jsx("h2",{className:`text-3xl md:text-4xl font-bold text-white tracking-tight ${t?"font-hebrew":"font-display uppercase"}
295`,children:t?"הגירה שלב אחר שלב":"Step-by-Step Migration"}),r.jsx("p",{className:"text-blue-300 mt-4 max-w-2xl mx-auto",children:t?r.jsxs(r.Fragment,{children:["עוד אין לכם ",r.jsx("span",{dir:"ltr",children:"CRM"})," או ",r.jsx("span",{dir:"ltr",children:"ERP"}),"? אין בעיה. אנחנו מספקים תהליך הגירה פשוט שלב אחר שלב, ומלווים אתכם מאיסוף הנתונים ועד לחיבור לדרך עבודה חדשנית."]}):"Don't have a CRM or ERP yet? No problem. We provide an easy step-by-step migration process that we help you with, from data collection to connecting to an innovative way of working."})]}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 relative z-10",children:[r.jsxs("div",{className:"flex flex-col items-center text-center relative",children:[r.jsx("div",{className:"hidden md:block absolute top-8 left-[50%] w-full h-[2px] bg-gradient-to-r from-blue-500/50 to-transparent pointer-events-none"}),r.jsx("div",{className:"w-16 h-16 rounded-full bg-blue-500/20 flex items-center justify-center mb-4 border border-blue-400/30 relative z-10",children:r.jsx("span",{className:"text-xl font-bold text-white",children:"1"})}),r.jsx("h4",{className:`text-lg font-bold text-white mb-2 ${t?"font-hebrew":""}`,children:t?"גילוי והקמה":"Discovery & Setup"}),r.jsx("p",{className:`text-sm text-white/50 ${t?"font-hebrew":""}`,children:t?"אנחנו מנתחים את תהליכי העבודה הקיימים שלכם ועוזרים להקים את המערכות הבסיסיות.":"We analyze your existing workflows and help set up the foundational systems."})]}),r.jsxs("div",{className:"flex flex-col items-center text-center relative",children:[r.jsx("div",{className:"hidden md:block absolute top-8 left-[50%] w-full h-[2px] bg-gradient-to-r from-blue-500/50 to-transparent pointer-events-none"}),r.jsx("div",{className:"w-16 h-16 rounded-full bg-blue-500/20 flex items-center justify-center mb-4 border border-blue-400/30 relative z-10",children:r.jsx("span",{className:"text-xl font-bold text-white",children:"2"})}),r.jsx("h4",{className:`text-lg font-bold text-white mb-2 ${t?"font-hebrew":""}`,children:t?"איסוף נתונים":"Data Collection"}),r.jsx("p",{className:`text-sm text-white/50 ${t?"font-hebrew":""}`,children:t?"אנחנו עוזרים לאסוף את הנתונים המפוזרים שלכם מגיליונות, צ׳אטים, אימיילים וכלים ישנים - ישירות מהמקור.":"We help collect your scattered data from spreadsheets, chats, emails, and legacy tools natively."})]}),r.jsxs("div",{className:"flex flex-col items-center text-center relative",children:[r.jsx("div",{className:"hidden md:block absolute top-8 left-[50%] w-full h-[2px] bg-gradient-to-r from-blue-500/50 to-transparent pointer-events-none"}),r.jsx("div",{className:"w-16 h-16 rounded-full bg-blue-500/20 flex items-center justify-center mb-4 border border-blue-400/30 relative z-10",children:r.jsx("span",{className:"text-xl font-bold text-white",children:"3"})}),r.jsx("h4",{className:`text-lg font-bold text-white mb-2 ${t?"font-hebrew":""}`,children:t?"הגירה":"Migration"}),r.jsx("p",{className:`text-sm text-white/50 ${t?"font-hebrew":""}`,children:t?"הצוות שלנו מעביר הכל אל הפלטפורמה המאוחדת בלי לשבש את הפעילות הארגונית שלכם.":"Our team migrates everything into the unified platform without disrupting your organization."})]}),r.jsxs("div",{className:"flex flex-col items-center text-center",children:[r.jsx("div",{className:"w-16 h-16 rounded-full bg-blue-500/20 flex items-center justify-center mb-4 border border-blue-400/30 relative z-10",children:r.jsx("span",{className:"text-xl font-bold text-white",children:"4"})}),r.jsx("h4",{className:`text-lg font-bold text-white mb-2 ${t?"font-hebrew":""}`,children:t?"חיבור":"Connection"}),r.jsx("p",{className:`text-sm text-white/50 ${t?"font-hebrew":""}`,children:t?"מתחברים לדרך עבודה חדשנית שבה ה-AI מטפל עבורכם בחיכוך התפעולי.":"Connect to an innovative way of work where AI handles the operational friction for you."})]})]})]})]})},oM=({locale:e="en"})=>r.jsx(Dl,{height:"h-[120vh]",children:r.jsx(uR,{locale:e})}
295),cR=({progress:e,radius:t,speed:i,angleOffset:o,depth:l,driftIntensity:c,type:m="satellite",model:p})=>{const{width:y}=Fo(),v=y<768?t*.45:t,b=Q(e,[0,.5,.9],[v*4,v*2,v*.9]),w=Q(e,O=>(typeof O=="number"?O:0)*360*(i*3)+o),T=Q([w,b],([O,F])=>{const $=O*(Math.PI/180);return Math.cos($)*F}),A=Q([w,b],([O,F])=>{const $=O*(Math.PI/180);return Math.sin($)*(F*.3)}),I=Q(e,O=>Math.sin((typeof O=="number"?O:0)*10*c)*(10*c)),C=qt(0);xl(e,"change",()=>{C.set(A.get()+I.get())});const N=Q([w,e],([O,F])=>{const $=O*(Math.PI/180);return(.1+(Math.sin($)+1)*.1)*l*Math.min(F*1.5+.1,1)}),R=Q(w,O=>{const F=O*(Math.PI/180);return .15+(Math.sin(F)+1)*.35}),L=Q(e,[0,.4,.8],[0,.3,.9]),q=Q([R,L],([O,F])=>O*F),Y=Q(w,O=>{const F=O*(Math.PI/180);return Math.sin(F)>0?15:0}),P=Q([w,e],([O,F])=>{const $=O*(Math.PI/180),ce=(1-(Math.sin($)+1)/2)*5,Z=Math.max(0,(1-F)*8);return ce+Z});return r.jsx(M.div,{style:{x:T,y:C,scale:N,opacity:q,zIndex:Y,filter:Q(P,O=>`blur(${O}px)`)},className:"absolute pointer-events-none",children:r.jsx("div",{className:"scale-[0.25] md:scale-50 relative origin-center text-blue-400 drop-shadow-[0_0_25px_rgba(59,130,246,0.25)] flex items-center justify-center",children:p?r.jsx(p,{pure:!0}):r.jsx(eI,{type:m})})})},uR=({progress:e,locale:t="en"})=>{const i=t==="he",o=_.useRef(null),{scrollYProgress:l}=$t({target:o,offset:["start start","end end"]}),c=e||l,[m,p]=_.useState(0),[y,g]=_.useState(!1),v=[{radius:280,speed:1.1,angleOffset:0,depth:1,driftIntensity:.4,model:vx},{radius:360,speed:-.7,angleOffset:140,depth:.8,driftIntensity:.9,model:wx},{radius:220,speed:1.6,angleOffset:240,depth:1.2,driftIntensity:.2,model:bx},{radius:450,speed:.4,angleOffset:60,depth:.7,driftIntensity:1.2,model:Ex},{radius:300,speed:-1.3,angleOffset:300,depth:.9,driftIntensity:.6,model:Tx}];xl(c,"change",T=>{const I=Math.min(18,Math.floor(18*((typeof T=="number"?T:0)/.7)));p(C=>C!==I?I:C)});const b=()=>{y||(g(!0),setTimeout(()=>{const T=document.getElementById("testimonials-section");T&&T.scrollIntoView({behavior:"smooth"})},1500),setTimeout(()=>g(!1),5e3))},w=[{id:"messengers",icon:Uo,label:i?"מסרים":"Messengers"},{id:"cellular",icon:ph,label:i?"סלולר":"Cellular"},{id:"mailing",icon:Lg,label:i?"דואר":"Mail"},{id:"chat",icon:Uo,label:i?"פניות":"Inbound"},{id:"slack",icon:Uo,label:"Slack"},{id:"voice",icon:ph,label:i?"קול":"Voice"},{id:"delivery",icon:f1,label:"DHL"},{id:"products",icon:su,label:i?"מלאי":"Inventory"},{id:"local",icon:m1,label:i?"מקומי":"Local"},{id:"payment",icon:p1,label:"Stripe"},{id:"box",icon:su,label:i?"יחידות":"Units"},{id:"cart",icon:su,label:i?"עגלה":"Cart"},{id:"geo",icon:h1,label:"Geo"},{id:"global",icon:g1,label:i?"ענן":"Cloud"},{id:"monitoring",icon:wl,label:i?"ניטור":"Pulse"},{id:"sec",icon:Vg,label:i?"כספת":"Vault"},{id:"brain",icon:zg,label:i?"תובנות":"Neural"},{id:"analytics",icon:zu,label:i?"נתונים":"Stats"}];return r.jsxs(M.div,{ref:o,animate:y?{x:[0,-10,10,-10,10,0],y:[0,5,-5,5,-5,0]}:{},transition:y?{duration:.4,times:[0,.2,.4,.6,.8,1]}:{},lang:i?"he":"en",dir:i?"rtl":"ltr",className:`w-full h-[100dvh] flex flex-col items-center justify-center relative overflow-hidden bg-transparent touch-pan-y sm:touch-auto ${i?"font-hebrew":""}`,children:[r.jsx(Xe,{children:y&&r.jsx(M.div,{initial:{scale:0,opacity:1},animate:{scale:4,opacity:0}
295,exit:{opacity:0},transition:{duration:1.5,ease:"easeOut"},className:"absolute inset-0 z-20 flex items-center justify-center pointer-events-none",children:r.jsx("div",{className:"w-[100px] h-[100px] rounded-full border-[10px] border-blue-400 shadow-[0_0_100px_rgba(59,130,246,0.8)]"})})}),r.jsxs("div",{className:"relative z-10 w-full flex-1 flex items-center justify-center",children:[v.map((T,A)=>r.jsx(cR,{progress:c,...T},A)),r.jsxs("div",{className:"relative",children:[r.jsx(aR,{progress:c,onClick:b}),r.jsx("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none",children:w.map((T,A)=>r.jsx(oR,{node:T,index:A,progress:c,isBooming:y},T.id))}),r.jsx(M.div,{style:{opacity:Q(c,[0,.1],[0,1]),scale:Q(c,[0,.1],[.8,1])},className:"absolute top-[-40px] left-1/2 -translate-x-1/2 pointer-events-none",children:r.jsxs("div",{className:"px-3 py-1 bg-blue-500/10 border border-blue-500/30 rounded-full flex items-center gap-2 backdrop-blur-sm shadow-[0_0_15px_rgba(59,130,246,0.3)]",children:[r.jsx("div",{className:"w-1.5 h-1.5 bg-blue-400 rounded-full shadow-[0_0_5px_rgba(96,165,250,0.5)]"}),r.jsx("span",{className:`${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] font-mono uppercase tracking-[0.3em]"} font-black text-blue-300 whitespace-nowrap`,children:i?"ליבת המערכת פעילה":"CORE_HUB_ACTIVE"})]})})]}),[...Array(6)].map((T,A)=>r.jsx(M.div,{animate:{y:[0,-30,0],opacity:[.1,.3,.1],scale:[1,1.2,1]},transition:{duration:4+A,repeat:1/0,delay:A},className:"absolute w-px h-24 bg-gradient-to-t from-transparent via-blue-400/20 to-transparent",style:{left:`${15+A*15}%`,top:`${20+A%3*20}%`}},A))]}),r.jsxs(M.div,{style:{opacity:Q(c,[0,.05],[0,1]),x:Q(c,[0,1],[0,0])},className:"absolute right-6 top-8 hidden xl:flex flex-col gap-8 w-72 z-20",children:[r.jsxs("div",{className:"p-6 border border-white/10 bg-black/80 rounded-[2.5rem] backdrop-blur-xl relative overflow-hidden group shadow-2xl",children:[r.jsx("div",{className:"absolute inset-x-0 top-0 bg-gradient-to-b from-blue-500/10 to-transparent h-20 animate-scan pointer-events-none"}),r.jsxs("h4",{className:`${i?"text-[13px] font-hebrew tracking-normal not-italic":"text-[11px] font-serif italic tracking-widest"} text-blue-400 uppercase mb-6 border-b border-white/5 pb-2 flex justify-between items-center`,children:[r.jsx("span",{children:i?"טלמטריית אוטומציה":"Automation Telemetry"}),r.jsx(wl,{className:"w-3 h-3 opacity-30"})]}),r.jsx("div",{className:"space-y-4",children:[{label:i?"מצב רשת":"Network State",value:i?"פעיל":"ACTIVE_LINK",color:"text-emerald-400"},{label:i?"סנכרון צמתים":"Nodes Sync",value:`${m}/18`,color:"text-blue-400"},{label:i?"זמן תגובה":"Packet Drift",value:"0.002ms",color:"text-purple-400"}].map((T,A)=>r.jsxs("div",{className:"flex justify-between items-end border-b border-white/[0.03] pb-2 group/item hover:border-white/10 transition-colors",children:[r.jsxs("div",{className:"flex flex-col gap-0.5",children:[r.jsx("span",{className:`${i?"text-[13px] font-hebrew tracking-normal":"text-[8px] font-mono uppercase tracking-[0.2em]"} text-white/30`,children:T.label}),r.jsx("span",{className:`text-sm font-display font-bold tracking-tighter ${T.color}`,children:T.value})]}),r.jsx("div",{className:"w-12 h-1 bg-white/5 rounded-full overflow-hidden mb-1",children:r.jsx(M.div,{initial:{x:"-100%"},animate:{x:"0%"},transition:{duration:1,delay:A*.2},className:`h-full w-3/4 rounded-full ${T.color.replace("text-","bg-").replace("400","500")}`})})]},A))})]}),r.jsxs("div",{className:"p-8 border border-white/5 bg-white/[0.01] rounded-[2.5rem] backdrop-blur-xl",children:[r.jsx("h4",{className:`${i?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-widest"} text-blue-400 mb-6`,children:i?"מאגר ידע":"Neural Buffer"}),r.jsxs("div",{className:`${i?"text-[13px] font-hebrew":"text-[8px] font-mono"} text-white/20 space-y-1`,children:[r.jsxs("p",{children:[">"," ",i?"טעינת מודולים...":"BUFFERING_MODULES..."]}),r.jsxs("p",{children:[">"," ",i?"עוצמת חיבור 94%":"CONNECTION_STRENGTH_94%"]}),r.jsxs("p",{className:"text-blue-400",children:[">"," ",i?"דחיסת צמתים דיגיטליים":"COMPRESSING_DIGITAL_NODES"]}),r.jsxs("p",{children:[">"," ",i?"מוכן לפריסה":"READY_FOR_DISPATCH"]})]})]}),r.jsxs("div",{className:"px-6 py-5 rounded-[2.5rem] border border-blue-500/20 bg-blue-500/5 backdrop-blur-md flex items-center justify-between shadow-lg group hover:bg-blue-500/10 transition-colors",children:[r.jsxs("div",{className:"flex flex-col",children:[r.jsx("span",{className:`${i?"text-[13px] font-hebrew tracking-normal":"text-[9px] font-mono uppercase tracking-[0.4em]"} text-blue-300/40`,children:i?"משימה":"Mission"}),r.jsx("span",{className:`${i?"text-[13px] font-hebrew tracking-normal not-italic":"text-[10px] font-serif italic uppercase"} text-blue-300/80`,children:i?"התקדמות":"Progress"})]}),r.jsxs("div",{className:"flex items-baseline gap-1",children:[r.jsx(M.span,{initial:{scale:1.2,filter:"blur(4px)"},animate:{scale:1,filter:"blur(0px)"},className:"text-3xl font-display font-black italic text-blue-400 tracking-tighter",children:Math.round(c.get()*100)},m),r.jsx("span",{className:"text-[10px] font-mono text-blue-400/40",children:"%"})]})]})]}),r.jsx("div",{className:"absolute bottom-6 md:bottom-16 text-center w-full px-6 relative z-10 flex flex-col items-center",children:r.jsx("p",{className:`text-white/30 max-w-2xl mx-auto leading-relaxed ${i?"font-hebrew text-sm tracking-normal":"font-mono text-[9px] md:text-[10px] uppercase tracking-widest"}`,children:i?"גללו כדי להפעיל פריסה רדיאלית של צמתים אוטונומיים אל ענף התעשייה.":"Scroll to initiate radial deployment of autonomous nodes into the industry sector."})})]})},sM=({value:e})=>{const t=v=>{const w=v.replace(/,/g,"").match(/^([0-9.]+)(.*)$/);if(w){const T=parseFloat(w[1]),A=w[2]||"";return{num:T,suffix:A}}return{num:0,suffix:v}},i=v=>{const w=v.replace(/,/g,"").match(/^([0-9.]+)/);if(w){const T=w[1].split(".");return T.length>1?T[1].length:0}return 0},{num:o,suffix:l}=t(e),c=i(e),m=e.includes(","),p=qt(0),y=Fe(p,{stiffness:45,damping:15,mass:1});_.useEffect(()=>{const v=t1(p,o,{duration:1.2,ease:"easeOut"});return()=>v.stop()},[o,p]);const g=Q(y,v=>{let b="";return c>
2950?b=v.toFixed(c):m?b=Math.round(v).toLocaleString():b=Math.round(v).toString(),`${b}${l}`});return r.jsx(M.span,{children:g})},lM=({locale:e="en"})=>{var I,C;const t=e==="he",[i,o]=_.useState(null),[l,c]=_.useState(null),[m,p]=_.useState({}),y=[{id:"core",label:t?"מרכז":"SCHEMATIC_CORE_00",type:"hub",x:50,y:50,size:20,substeps:["KERNEL_BOOT","NEURAL_INIT","AUTH_LAYER_V4"],status:"STABLE",metrics:{throughput:"1.2 PB/s",latency:"0.002ms",health:"99.9%"},logs:["Neural core authenticated","Vector buffer initialized"]},{id:"exec",label:t?"ניהול":"SYS_EXEC_ADM",type:"sector",x:24,y:31,size:14,links:["ops"],substeps:["COORDINATION","PRIORITY_MAP","ESC_PROTOCOL"],status:"ACTIVE",metrics:{throughput:"450 GB/s",latency:"0.04ms",health:"98.5%"},logs:["Executing priority Alpha","Mapping command vectors"]},{id:"ops",label:t?"תפעול":"SYS_OPS_AUTO",type:"sector",x:76,y:31,size:14,links:["data"],substeps:["LOGISTICS","CRM_SYNC","ERROR_ROUTING"],status:"OPTIMIZING",metrics:{throughput:"320 GB/s",latency:"0.12ms",health:"94.2%"},logs:["Syncing CRM pulse","Routing logistics error"]},{id:"data",label:t?"נתונים":"SYS_NEURAL_DAT",type:"sector",x:50,y:78,size:14,links:["exec"],substeps:["INGESTION","ANALYSIS","SHR_VECTORS"],status:"INDEXING",metrics:{throughput:"890 GB/s",latency:"0.08ms",health:"99.1%"},logs:["Ingesting raw telemetry","Analyzing neural overlap"]},{id:"cal",label:t?"יומן":"ADM_CAL_SYNC",type:"module",x:15,y:16,size:10,parent:"exec",substeps:["FETCH","MERGE","PUSH"],status:"SYNCED",metrics:{latency:"12ms"},logs:["Calendar state merged"]},{id:"comm",label:t?"מסרים":"ADM_MSG_BOT",type:"module",x:35,y:16,size:10,parent:"exec",links:["cal"],substeps:["NLP_PARSING","DRAFTING"],status:"FAILED",metrics:{latency:"450ms"},logs:["NLP parsing critical failure","Retry limit exceeded"]},{id:"crm",label:t?"CRM":"OPS_CRM_PULSE",type:"module",x:85,y:16,size:10,parent:"ops",substeps:["QUERY","UPDT"],status:"STANDBY",metrics:{latency:"8ms"},logs:["CRM connection detected"]},{id:"supply",label:t?"צוות":"OPS_FLT_LOGIC",type:"module",x:65,y:16,size:10,parent:"ops",links:["crm"],substeps:["PATH_OPT","DISPATCH"],status:"ROUTING",metrics:{latency:"120ms"},logs:["Recalculating fleet path"]},{id:"report",label:t?"דוחות":"DAT_PLN_RPT",type:"module",x:30,y:86,size:10,parent:"data",links:["comm"],substeps:["GENERATE","EXPORT"],status:"READY",metrics:{latency:"5ms"},logs:["Report manifest generated"]},{id:"security",label:t?"אבטחה":"DAT_SHD_PROT",type:"module",x:70,y:86,size:10,parent:"data",links:["supply"],substeps:["ENCRYPT","VERIFY"],status:"ENGAGED",metrics:{latency:"2ms"},logs:["Encryption shield active"]}],g=y.find(N=>N.id===l),v=N=>t&&{STABLE:"יציב",ACTIVE:"פעיל",OPTIMIZING:"בשיפור",INDEXING:"מעבד",SYNCED:"מסונכרן",FAILED:"לטיפול",STANDBY:"בהמתנה",ROUTING:"מנתב",READY:"מוכן",ENGAGED:"מאובטח"}[N||""]||N,b=N=>t&&{throughput:"תעבורה",latency:"שהייה",health:"בריאות"}[N]||N,w=N=>t?{Low:"נמוך",Medium:"בינוני",High:"גבוה"}[N]||N:N.toUpperCase(),T=({from:N,to:R,isHierarchy:L=!1})=>{const q=L&&(l===R.id||i===R.id),Y=L&&(l===N.id||i===N.id),P=l===N.id||l===R.id,O=i===N.id||i===R.id,F=q||Y,$=F&&(l===R.id||l===N.id),ee=F&&(i===R.id||i===N.id),ce=["ACTIVE","OPTIMIZING","INDEXING","ROUTING","ENGAGED"],Z=!t&&(ce.includes(N.status)||ce.includes(R.status)),de=N.status==="SYNCED"||R.status==="SYNCED"||N.status==="READY"||R.status==="READY",ue=Z||de,se=F||O||P||!t&&ue,z=$?"#3b82f6":ee?"#60a5fa":L?"#1e293b":"#1e1e2e";let V="#3b82f6";$?V="#bfdbfe":ee?V="#93c5fd":Z?V="#3b82f6":de&&(V="#2563eb");let K=.1;$?K=1:ee?K=.8:Z?K=.3:de&&(K=.2);const ae=L?$?"2 2":"2 6":$||Z?"4 4":"1 8";let le=5;return $?le=1:ee?le=1.5:Z?le=3:ue&&(le=4),r.jsxs("g",{opacity:L?1:.4,children:[F&&r.jsx("path",{d:`M ${N.x} ${N.y} L ${R.x} ${R.y}`,fill:"none",stroke:V,strokeWidth:K*4,strokeOpacity:.3,filter:"blur(1.5px)"}),r.jsx("path",{d:`M ${N.x} ${N.y} L ${R.x} ${R.y}`,fill:"none",stroke:z,strokeWidth:K*2,strokeOpacity:F?.7:.1}),r.jsx(M.path,{d:`M ${N.x} ${N.y} L ${R.x} ${R.y}`,fill:"none",stroke:V,strokeWidth:K,strokeDasharray:ae,animate:se?{strokeDashoffset:[0,-32]}:{strokeDashoffset:0},transition:se?{duration:le,repeat:1/0,ease:"linear"}:{duration:0},style:{filter:F?"url(#glowPath)":Z?"blur(0.2px)":"none",strokeLinecap:"round"}}),se&&r.jsx(M.circle,{r:Math.max(K*1.5,.4),fill:V,animate:{offsetDistance:["0%","100%"]},style:{offsetPath:`path('M ${N.x} ${N.y} L ${R.x} ${R.y}')`},transition:{duration:le*.8,repeat:1/0,ease:"linear",delay:0}})]})},A=({type:N,size:R,color:L="currentColor",isHovered:q=!1,isActive:Y=!1})=>{const P=Y?.8:.5,O=()=>{if(!Y&&!q)return null;const F=t?[1,1.14,1]:Y?[1,1.4,1]:[1,1.1,1],$=t?[.08,.18,.08]:Y?[.2,.5,.2]:[.1,.2,.1],ee=t?3.8:Y?1.5:2.5;return r.jsx(M.circle,{cx:"0",cy:"0",r:R*.8,animate:{scale:F,opacity:$},transition:{duration:ee,repeat:1/0,ease:"easeInOut"},fill:L,className:"pointer-events-none"})};return N==="hub"?r.jsxs("g",{children:[r.jsx(O,{}),r.jsx("rect",{x:-R/2,y:-R/2,width:R,height:R,fill:"none",stroke:L,strokeWidth:P}),r.jsx("line",{x1:-R/2,y1:0,x2:R/2,y2:0,stroke:L,strokeWidth:"0.2",strokeDasharray:"1 1"}),r.jsx("line",{x1:0,y1:-R/2,x2:0,y2:R/2,stroke:L,strokeWidth:"0.2",strokeDasharray:"1 1"}),r.jsx("circle",{cx:"0",cy:"0",r:R/4,fill:"none",stroke:L,strokeWidth:P}),(q||Y)&&r.jsx("rect",{x:-R/1.5,y:-R/1.5,width:R*1.3,height:R*1.3,fill:"none",stroke:L,strokeWidth:"0.1",strokeDasharray:"0.5 0.5",opacity:"0.5"})]}):N==="sector"?r.jsxs("g",{children:[r.jsx(O,{}),r.jsx("circle",{cx:"0",cy:"0",r:R/2,fill:"none",stroke:L,strokeWidth:P}),r.jsx("circle",{cx:"0",cy:"0",r:R/3,fill:"none",stroke:L,strokeWidth:"0.3",strokeDasharray:"0.5 0.5"}),r.jsx("line",{x1:-R/2,y1:"0",x2:R/2,y2:"0",stroke:L,strokeWidth:"0.2"}),(q||Y)&&r.jsx("circle",{cx:"0",cy:"0",r:R/1.8,fill:"none",stroke:L,strokeWidth:"0.1",o
295pacity:"0.3"})]}):r.jsxs("g",{children:[r.jsx(O,{}),r.jsx("rect",{x:-R/2,y:-R/2,width:R,height:R,rx:"1",fill:"none",stroke:L,strokeWidth:P}),r.jsx("rect",{x:-R/4,y:-R/4,width:R/2,height:R/2,fill:L,opacity:"0.1"}),r.jsx("path",{d:`M${-R/2} 0 L${-R/2+2} 0 M${R/2-2} 0 L${R/2} 0`,stroke:L,strokeWidth:"0.2"})]})};return r.jsxs("section",{id:"planets-reveal",className:`max-w-7xl mx-auto px-6 py-20 ${t?"font-hebrew":""}`,lang:t?"he":"en",dir:t?"rtl":"ltr",children:[r.jsxs("div",{className:"text-center mb-16 max-w-3xl mx-auto flex flex-col items-center",children:[r.jsx("span",{className:`text-blue-400 mb-4 block ${t?"text-sm font-hebrew font-semibold tracking-normal":"text-[10px] font-mono uppercase tracking-[0.5em]"}`,children:t?"מפת תהליך אינטראקטיבית":"Interactive schematic V.4"}),t?r.jsxs("h2",{className:"mx-auto max-w-5xl text-center font-hebrew text-[clamp(2.9rem,7vw,6.7rem)] font-black leading-[0.96] tracking-normal text-white drop-shadow-[0_0_20px_rgba(96,165,250,0.22)] [text-wrap:balance]",children:[r.jsx("span",{className:"block",children:"ניהול שירות ותמיכה"}),r.jsx("span",{className:"block text-blue-300",children:"בזמן אמת"})]}):r.jsx(La,{text:"AI controlled support service",className:"text-[7vw] md:text-6xl lg:text-7xl font-display font-black tracking-tighter uppercase text-center"}),r.jsx("p",{className:`mt-4 text-white/40 max-w-2xl mx-auto tracking-tight ${t?"text-base leading-[1.7] font-hebrew":"font-mono text-[10px] uppercase italic"}`,children:t?"עברו בין הרכיבים כדי לראות מה עובד, מה ממתין ומה דורש תשומת לב.":"Hover over modules for real-time analytics. Click to lock subsystem and execute advanced algorithm actions."})]}),r.jsxs("div",{className:"relative aspect-square md:aspect-[16/9] w-full max-w-6xl mx-auto border border-blue-500/25 rounded-2xl bg-[#030308]/95 overflow-hidden group shadow-[inset_0_0_90px_rgba(59,130,246,0.12),0_0_40px_rgba(15,23,42,0.35)] flex",children:[r.jsx("div",{className:"relative flex-grow h-full",children:r.jsxs("svg",{viewBox:"0 0 100 100",className:"w-full h-full relative z-10 p-2 md:p-3",role:"img",children:[r.jsx("title",{children:t?"סכמה טכנית של תשתית AI":"Technical Schematic of Neural Infrastructure"}),r.jsxs("defs",{children:[r.jsxs("filter",{id:"glowNode",x:"-20%",y:"-20%",width:"140%",height:"140%",children:[r.jsx("feGaussianBlur",{stdDeviation:"3",result:"blur"}),r.jsx("feComposite",{in:"SourceGraphic",in2:"blur",operator:"over"})]}),r.jsxs("filter",{id:"glowPath",children:[r.jsx("feGaussianBlur",{stdDeviation:"1.5",result:"blur"}),r.jsx("feComposite",{in:"SourceGraphic",in2:"blur",operator:"over"})]})]}),r.jsxs("g",{transform:t?"translate(50 50) scale(1.1) translate(-50 -50)":void 0,children:[(()=>{const N=[],R=[];return y.forEach(L=>{if(L.id==="core")return;const q=L.parent?y.find(Y=>Y.id===L.parent):y.find(Y=>Y.id==="core");q&&N.push({from:q,to:L,id:`hier-${L.id}`}),L.links&&L.links.forEach(Y=>{const P=y.find(O=>O.id===Y);P&&R.push({from:L,to:P,id:`cross-${L.id}-${Y}`})})}),r.jsxs("g",{children:[N.map(L=>r.jsx(T,{from:L.from,to:L.to,isHierarchy:!0},L.id)),R.map(L=>r.jsx(T,{from:L.from,to:L.to},L.id))]})})(),y.map((N,R)=>{const L=m[N.id];let q="#3b82f6",Y="#60a5fa",P="#ffffff";const O=N.status||"";return["STABLE","ACTIVE","READY","SYNCED"].includes(O)?(q="#10b981",Y="#34d399",P="#a7f3d0"):["WAITING","STANDBY"].includes(O)?(q="#f59e0b",Y="#fbbf24",P="#fcd34d"):["FAILED","ERROR","WARN"].includes(O)&&(q="#ef4444",Y="#f87171",P="#fca5a5"),L==="High"?(q="#ef4444",Y="#f87171",P="#fca5a5"):L==="Medium"&&(q="#f59e0b",Y="#fbbf24",P="#fcd34d"),r.jsx("g",{transform:`translate(${N.x}, ${N.y})`,children:r.jsxs(M.g,{animate:{scale:l===N.id?1.6:i===N.id?1.4:1},whileTap:{scale:.95},onMouseEnter:()=>o(N.id),onMouseLeave:()=>o(null),onClick:()=>c(N.id===l?null:N.id),onFocus:()=>o(N.id),onBlur:()=>o(null),onKeyDown:F=>{(F.key==="Enter"||F.key===" ")&&(F.preventDefault(),c(N.id===l?null:N.id))},role:"button",tabIndex:0,"aria-label":t?`בדיקת צומת ${N.label}`:`Inspect ${N.label} neural node`,"aria-pressed":l===N.id,className:"cursor-pointer group focus-visible:outline-none",style:{outline:"none",filter:l===N.id||i===N.id?"url(#glowNode)":"none"},transition:{scale:{type:"spring",stiffness:300,damping:20}},children:[r.jsx(A,{type:N.type,size:N.size,color:l===N.id?P:i===N.id?Y:q,isHovered:i===N.id,isActive:l===N.id}),r.jsx("text",{y:N.size/2+4,textAnchor:"middle",className:`${t?"font-hebrew tracking-normal":"font-mono uppercase tracking-[0.2em]"} pointer-events-none transition-all duration-300`,fill:l===N.id?P:i===N.id?Y:q,style:{fontSize:t?l===N.id?"1.45px":i===N.id?"1.25px":"1.12px":l===N.id?"1.5px":i===N.id?"1.2px":"1px"},children:N.label}),(()=>{const F=v(N.status),$=t?Math.max(9,F.length*1.05+4):16,ee=t?4.2:3;return r.jsxs("g",{style:{transform:`translate(0px, -${N.size/2+(t?5.4:3)}px)`},children:[r.jsx("rect",{x:-$/2,y:-ee/2,width:$,height:ee,rx:t?1.2:.5,fill:q,opacity:"0.15",stroke:q,strokeWidth:"0.2",className:"pointer-events-none"}),!t&&r.jsx("circle",{cx:"-6.5",cy:"0",r:"0.8",fill:q,className:"opacity-60"}),r.jsx("text",{x:t?0:-4,y:t?.62:.8,fontSize:t?1.65:2,fill:q,textAnchor:t?"middle":void 0,className:`${t?"font-hebrew tracking-normal":"font-mono tracking-widest"} font-bold pointer-events-none`,children:F})]})})(),N.logs&&N.logs.length>0&&(!t||i===N.id||l===N.id)&&r.jsxs("g",{style:{transform:`translate(${N.size/2+2}px, -${N.size/2}px)`},className:"pointer-events-none",children:[r.jsx("circle",{r:"1.5",fill:"#3b82f6",stroke:"#030308",strokeWidth:"0.5"}),r.jsx("text",{x:"0",y:"0.5",fontSize:"1.5",fill:"#ffffff",textAnchor:"middle",className:"font-mono font-bold",children:"i"}),r.jsx(Xe,{children:i===N.id&&r.jsxs(M.g,{initial:{opacity:0,x:-2}
295,animate:{opacity:1,x:0},exit:{opacity:0,x:-2},style:{originX:0},children:[r.jsx("rect",{x:"2.5",y:"-3",width:`${Math.min(N.logs[0].length*1.2+4,35)}`,height:"6",rx:"1",fill:"#030308",stroke:"#3b82f6",strokeWidth:"0.2",opacity:"0.9"}),r.jsx("text",{x:"4",y:"0.8",fontSize:"1.8",fill:"#93c5fd",className:"font-mono pointer-events-none",children:N.logs[0].length>25?N.logs[0].substring(0,25)+"...":N.logs[0]})]})})]})]})},N.id)})]})]})}),r.jsx(Xe,{children:g&&r.jsxs(M.aside,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:30,stiffness:300},className:"absolute right-0 top-0 w-full sm:w-80 h-full border-l border-blue-500/20 bg-blue-950/20 backdrop-blur-2xl z-30 flex flex-col p-6 overflow-y-auto","aria-label":t?`פרטי עומק עבור ${g.label}`:`${g.label} forensic details`,children:[r.jsxs("div",{className:"flex justify-between items-start mb-8",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl font-display font-black text-white uppercase tracking-tighter italic",children:g.label}),r.jsx("p",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono tracking-[0.3em]"} text-blue-400 font-bold mt-1`,children:t?"תת-מערכת V4.02":"SUBSYSTEM_V4.02"})]}),r.jsx("button",{onClick:()=>c(null),"aria-label":t?"סגירת חלונית עומק":"Close forensic panel",className:"p-2 text-white/40 hover:text-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 rounded-lg",children:r.jsx(kl,{className:"w-4 h-4"})})]}),r.jsxs("div",{className:"space-y-8",children:[r.jsxs("div",{children:[r.jsx("h4",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-widest"} text-white/30 mb-4 border-b border-white/5 pb-2`,children:t?"עדיפות ביצוע":"Execution Priority"}),r.jsx("div",{className:"flex gap-2",children:["Low","Medium","High"].map(N=>{const R=(m[g.id]||"Low")===N,L=N==="High"?"text-red-400 border-red-500/30 bg-red-500/10 shadow-[inset_0_0_10px_rgba(239,68,68,0.2)]":N==="Medium"?"text-amber-400 border-amber-500/30 bg-amber-500/10 shadow-[inset_0_0_10px_rgba(245,158,11,0.2)]":"text-blue-400 border-blue-500/30 bg-blue-500/10 shadow-[inset_0_0_10px_rgba(59,130,246,0.2)]";return r.jsx("button",{"aria-pressed":R,onClick:()=>p(Y=>({...Y,[g.id]:N})),className:`flex-1 py-2 rounded-lg border font-bold transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 ${t?"text-[13px] font-hebrew":"text-xs font-mono"} ${R?L:"text-white/40 border-white/10 hover:border-white/20 bg-white/5 hover:bg-white/10"}`,children:w(N)},N)})})]}),r.jsxs("div",{children:[r.jsx("h4",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-widest"} text-white/30 mb-4 border-b border-white/5 pb-2`,children:t?"מצב תפעולי":"Operational Status"}),r.jsxs("div",{className:"flex items-center justify-between p-4 bg-white/5 rounded-xl border border-white/10",children:[r.jsx("span",{className:`${t?"text-[13px] font-hebrew":"text-xs font-mono"} text-white/60`,children:t?"מצב:":"MODE:"}),r.jsx("span",{className:`${t?"text-[13px] font-hebrew":"text-xs font-mono"} font-bold ${["STABLE","ACTIVE","READY","SYNCED"].includes(g.status)?"text-emerald-400":["WAITING","STANDBY"].includes(g.status)?"text-amber-400":["FAILED","ERROR","WARN"].includes(g.status)?"text-red-400":"text-blue-400"}`,children:v(g.status)})]})]}),r.jsxs("div",{children:[r.jsx("h4",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-widest"} text-white/30 mb-4 border-b border-white/5 pb-2`,children:t?"טלמטריה חיה":"Live Telemetry"}),r.jsx("div",{className:"grid grid-cols-2 gap-3",children:Object.entries(g.metrics||{}).map(([N,R])=>r.jsxs("div",{className:"p-3 bg-white/5 rounded-xl border border-white/10",children:[r.jsx("p",{className:`${t?"text-[13px] font-hebrew":"text-[8px] font-mono uppercase"} text-white/30 mb-1`,children:b(N)}),r.jsx("p",{className:"text-sm font-bold text-blue-400",children:R})]},N))})]}),r.jsxs("div",{children:[r.jsx("h4",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-widest"} text-white/30 mb-4 border-b border-white/5 pb-2`,children:t?"מעקב אחר פעילות התהליך":"Neural Trace Activity"}),r.jsx("div",{className:"space-y-2",children:(I=g.substeps)==null?void 0:I.map((N,R)=>r.jsxs("div",{className:"flex items-center gap-3 text-[10px] font-mono text-white/60 p-2 bg-blue-500/5 rounded-lg border border-blue-500/10",children:[r.jsxs("span",{className:"text-blue-500",children:[R+1,"."]}
295),r.jsx("span",{className:"flex-grow",children:N}),r.jsx(M.div,{animate:{opacity:[.2,1,.2]},transition:{duration:1.5,repeat:1/0,delay:R*.3},className:"w-1.5 h-1.5 bg-blue-400 rounded-full"})]},R))})]}),r.jsxs("div",{children:[r.jsx("h4",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-widest"} text-white/30 mb-4 border-b border-white/5 pb-2`,children:t?"זרם לוגים":"Log Stream"}),r.jsxs("div",{className:"p-4 bg-black/40 rounded-xl border border-white/5 font-mono text-[9px] text-white/40 leading-relaxed overflow-hidden h-32 relative",children:[r.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 to-transparent pointer-events-none"}),r.jsxs(M.div,{animate:{y:[0,-40]},transition:{duration:10,repeat:1/0,ease:"linear"},children:[(C=g.logs)==null?void 0:C.map((N,R)=>r.jsx("p",{className:"mb-2 italic",children:`[${new Date().toLocaleTimeString()}] ${N}`},R)),r.jsx("p",{className:"mb-2 italic",children:`[${new Date().toLocaleTimeString()}] Buffer overflow check bypass...`}),r.jsx("p",{className:"mb-2 italic",children:`[${new Date().toLocaleTimeString()}] Establishing secure handshake...`}),r.jsx("p",{className:"mb-2 italic",children:`[${new Date().toLocaleTimeString()}] Handshake success.`})]})]})]}),r.jsx(M.button,{whileHover:{scale:1.02},whileTap:{scale:.98},"aria-label":t?`הפעלת בדיקת עומק עבור ${g.label}`:`Execute detailed neural trace for ${g.label}`,className:"w-full py-4 bg-blue-500 text-white rounded-xl font-display font-black uppercase text-sm italic tracking-tight shadow-[0_0_20px_rgba(59,130,246,0.3)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white ring-offset-2 ring-offset-blue-600 transition-shadow",children:t?"הפעלת בדיקת עומק":"Execute Neural Drill-Down"})]})]})}),!l&&r.jsx("div",{className:"absolute top-4 right-4 pointer-events-none","aria-hidden":"true",children:r.jsx("span",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[8px] font-mono uppercase tracking-[0.2em]"} text-blue-400/40 border border-blue-500/20 px-2 py-1 rounded`,children:t?"מצב עומק מוכן":"Forensic Mode: Ready"})})]}),r.jsx("div",{className:"mt-20 max-w-4xl mx-auto grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[{label:t?"ניהול ביצוע":"VECTOR_EXEC",id:"ADM-01",nodeId:"exec"},{label:t?"תפעול צמתים":"NODE_OPERATIONS",id:"OPS-22",nodeId:"ops"},{label:t?"מאגר נתונים":"DATA_REGISTRY",id:"DAT-77",nodeId:"data"},{label:t?"סכמת ליבה":"CORE_SCHEMATIC",id:"SYN-09",nodeId:"core"}].map((N,R)=>r.jsxs("button",{className:`p-4 border font-mono relative cursor-pointer ${t?"text-start":"text-left"} transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 w-full ${l===N.nodeId?"border-blue-500 bg-blue-500/20 shadow-[0_0_20px_rgba(59,130,246,0.2)]":"border-blue-500/10 bg-blue-900/5 hover:bg-blue-900/10"}`,onClick:()=>c(N.nodeId===l?null:N.nodeId),"aria-label":t?`בחירת תת-מערכת ${N.label}`:`Select ${N.label} subsystem`,"aria-pressed":l===N.nodeId,children:[r.jsxs("div",{className:"flex justify-between items-center mb-2",children:[r.jsx("span",{className:`${t?"text-[13px] font-hebrew":"text-[10px]"} text-blue-400`,children:N.label}),r.jsx("span",{className:"text-[8px] text-blue-500/40",children:N.id})]}),r.jsx("div",{className:"h-1 w-full bg-blue-500/10 overflow-hidden relative",children:r.jsx(M.div,{className:"absolute inset-0 bg-blue-500/30",animate:{width:["0%","100%","0%"]},transition:{duration:3,repeat:1/0,delay:R*.5}})})]},R))})]})},dR=({locale:e="en"})=>{const t=e==="he";return r.jsxs("div",{dir:t?"rtl":"ltr",className:`w-full py-20 border-t border-white/5 bg-gradient-to-b from-transparent to-blue-900/10 backdrop-blur-3xl relative overflow-hidden ${t?"font-hebrew":""}`,children:[r.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[r.jsxs("div",{className:"flex flex-col items-center text-center mb-16",children:[r.jsx("span",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-[0.6em]"} text-blue-400 mb-4`,children:t?"שיתוף פעולה בין אנשים ל-AI":"Inter-Species Synergy"}),t?r.jsxs("h2",{className:"text-3xl md:text-5xl font-display font-bold tracking-tighter text-center [text-wrap:balance]",children:["אנשים וסוכני ",r.jsx("span",{dir:"ltr",style:{unicodeBidi:"isolate"},children:"AI"})," עובדים יחד"]}):r.jsx(La,{text:"Algorithms & Human Collaboration",className:"text-3xl md:text-5xl font-display font-bold tracking-tighter justify-center"})]}),r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[{icon1:Lo,icon2:li,tool:k1,label:t?"ממשק עבודה חכם":"Neural Interface",desc:t?"אנשים וסוכני AI מסנכרנים נהלי עבודה דרך מכשירים ניידים מאובטחים.":"Humans and bots synchronizing operation protocols via encrypted handheld arrays.",color:"blue"},{icon1:li,icon2:Cg,tool:vl,label:t?"פיקוד הפלטפורמה":"Platform Command",desc:t?"אלגוריתמי AI אוטומטיים מקבלים משימות בזמן אמת מנציגי תמיכה ומכירות.":"Automated AI algorithms receiving low-latency tasks from human supp
295ort and sales operators.",color:"blue"},{icon1:Lo,icon2:zg,tool:Gg,label:t?"קבלת החלטות משולבת":"Cognitive Sync",desc:t?"קבלת החלטות משותפת בין הנהלה אנושית לבין מערכות AI מתקדמות.":"Collective decision making between executive human boards and high-core AI clusters.",color:"purple"},{icon1:li,icon2:Lo,tool:vl,label:t?"תחזוקה גלובלית":"Global Maintenance",desc:t?"סוכנים דיגיטליים וצוותי שירות בשטח מתאמים תיקוני תשתית בין ענפי התעשייה.":"Digital agents and field service teams coordinating industry infrastructure repairs.",color:"blue"}].map((i,o)=>r.jsxs(M.div,{whileHover:{scale:1.02},whileTap:{scale:.98},onKeyDown:l=>{(l.key==="Enter"||l.key===" ")&&l.preventDefault()},tabIndex:0,role:"article","aria-label":`${i.label}: ${i.desc}`,className:"group p-10 rounded-[2.5rem] bg-white/[0.02] border border-white/5 hover:bg-white/[0.04] hover:border-blue-500/20 transition-all duration-700 cursor-pointer overflow-hidden focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/40",children:[r.jsxs("div",{className:"flex items-end gap-2 mb-8 h-12 relative",children:[r.jsxs("div",{className:"relative",children:[r.jsx(M.div,{animate:i.icon1===Lo?{y:[0,-2,0]}:{},transition:{duration:4,repeat:1/0,ease:"easeInOut"},children:r.jsx(i.icon1,{className:"w-8 h-8 text-white/40 group-hover:text-white transition-all group-hover:scale-110"})}),i.icon1===li&&r.jsx(M.div,{animate:{opacity:[0,1,0]},transition:{duration:.2,repeat:1/0,repeatDelay:1.5},className:"absolute top-2 left-1/2 -translate-x-1/2 w-1 h-1 bg-blue-400 rounded-full shadow-[0_0_8px_rgba(59,130,246,1)]"})]}),r.jsx("div",{className:"w-4 h-[1px] bg-blue-500/30 mb-4"}),r.jsx("div",{className:"relative",children:(()=>{const l=i.icon2,c=i.icon2===Cg,m=i.icon2===li;return r.jsx(M.div,{animate:m?{scale:[1,1.02,1]}:{},transition:{duration:.1,repeat:1/0,repeatType:"reverse"},children:c?r.jsxs("div",{className:"relative",children:[r.jsx(l,{variant:"scout",className:"w-8 h-8 text-blue-400/60"}),r.jsx(M.div,{transition:{duration:.2,repeat:1/0},className:"absolute -bottom-2 left-1/2 -translate-x-1/2 w-4 h-2 bg-blue-500/30 blur-md rounded-full"})]}):r.jsxs("div",{className:"relative",children:[r.jsx(l,{className:"w-8 h-8 text-blue-400/60 transition-all group-hover:scale-110"}),m&&r.jsx(M.div,{animate:{opacity:[0,1,0]},transition:{duration:.1,repeat:1/0,repeatDelay:.8},className:"absolute top-2 left-1/2 -translate-x-1/2 w-1 h-1 bg-blue-400 rounded-full shadow-[0_0_8px_rgba(59,130,246,1)]"})]})})})()})]}),r.jsxs("div",{className:"relative mb-6",children:[r.jsx("div",{className:"w-full h-1 bg-white/5 rounded-full overflow-hidden",children:r.jsx(M.div,{animate:{x:["-100%","100%"]},transition:{duration:3,repeat:1/0,delay:o*.5},className:"w-1/3 h-full bg-gradient-to-r from-transparent via-blue-500 to-transparent"})}),r.jsx(M.div,{animate:{y:[0,-3,0],rotate:[0,5,-5,0]},transition:{duration:5,repeat:1/0,ease:"easeInOut"},className:"absolute -top-6 right-0",children:r.jsx(i.tool,{className:"w-5 h-5 text-white/20 group-hover:text-blue-400 transition-all"})})]}),r.jsx("h4",{className:`text-lg font-display font-bold mb-3 tracking-tight ${t?"font-hebrew":""}`,children:i.label}),r.jsx("p",{className:`${t?"text-sm font-hebrew":"text-xs"} text-white/30 leading-relaxed font-light`,children:i.desc})]},o))})]}),r.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-64 bg-gradient-to-t from-blue-600/5 to-transparent pointer-events-none"})]})},fR=[{id:"v1",title:"CREATIVITY"},{id:"v2",title:"INTEGRITY"},{id:"v3",title:"INTELLIGENCE"},{id:"v4",title:"SOPHISTICATION"},{id:"v5",title:"FAST IMPLEMENTATION"},{id:"v6",title:"ADAPTATION"},{id:"v7",title:"INSPIRATION"},{id:"v8",title:"100% GRIT"},{id:"v9",title:"PERSISTENCE"},{id:"v10",title:"EXPERIENCE"},{id:"v11",title:"CYBER SAFETY"},{id:"v12",title:"MOTIVATION"},{id:"v13",title:"CLARITY"},{id:"v14",title:"IMPACT"}],mR={v1:"יצירתיות",v2:"יושרה",v3:"אינטליגנציה",v4:"תחכום",v5:"יישום מהיר",v6:"הסתגלות",v7:"השראה",v8:"נחישות מלאה",v9:"עקביות",v10:"ניסיון",v11:"אבטחת סייבר",v12:"מוטיבציה",v
29513:"בהירות",v14:"השפעה"},Mg=["#4facfe","#34d399","#a855f7","#ec4899","#60a5fa","#10b981","#3b82f6"],pR=[{x:60,y:90,r:2,color:"#4facfe",dur:4.2,begin:.2},{x:180,y:220,r:1.5,color:"#a855f7",dur:5.1,begin:1.1},{x:320,y:60,r:2.5,color:"#34d399",dur:3.6,begin:.6},{x:470,y:140,r:1.8,color:"#4facfe",dur:4.8,begin:2},{x:610,y:40,r:2,color:"#a855f7",dur:5.6,begin:.9},{x:760,y:180,r:1.5,color:"#34d399",dur:3.9,begin:1.6},{x:900,y:70,r:2.3,color:"#4facfe",dur:4.4,begin:.4},{x:1040,y:200,r:1.7,color:"#a855f7",dur:5.3,begin:2.4},{x:1140,y:100,r:2,color:"#34d399",dur:3.7,begin:1.3},{x:40,y:620,r:1.6,color:"#a855f7",dur:4.6,begin:.7},{x:220,y:700,r:2.2,color:"#4facfe",dur:5.8,begin:1.9},{x:380,y:640,r:1.5,color:"#34d399",dur:4.1,begin:.3},{x:540,y:740,r:2,color:"#a855f7",dur:3.5,begin:2.2},{x:700,y:660,r:1.8,color:"#4facfe",dur:5,begin:1},{x:860,y:720,r:2.4,color:"#34d399",dur:4.7,begin:.5},{x:990,y:650,r:1.6,color:"#a855f7",dur:5.4,begin:1.7},{x:1120,y:730,r:2.1,color:"#4facfe",dur:3.8,begin:2.6},{x:1180,y:400,r:1.9,color:"#34d399",dur:4.9,begin:.8}],hR=[{x1:60,y1:90,x2:180,y2:220},{x1:180,y1:220,x2:320,y2:60},{x1:470,y1:140,x2:610,y2:40},{x1:760,y1:180,x2:900,y2:70},{x1:900,y1:70,x2:1040,y2:200},{x1:40,y1:620,x2:220,y2:700},{x1:380,y1:640,x2:540,y2:740},{x1:860,y1:720,x2:990,y2:650}],gR="M12 2 L14 10 L22 12 L14 14 L12 22 L10 14 L2 12 L10 10 Z",yR=({value:e,i:t,gridInView:i,isHebrew:o=!1})=>{const l=Mg[t%Mg.length],c=o&&mR[e.id]||e.title;return r.jsxs(M.div,{initial:{opacity:0,y:22,scale:.92},whileInView:{opacity:1,y:0,scale:1},viewport:{once:!0,amount:.3},transition:{duration:.55,ease:[.16,1,.3,1],delay:t%6*.05},style:{"--acc":l},className:"group relative rounded-2xl bg-white/[0.03] border border-white/10 px-6 py-5 md:px-7 md:py-6 flex items-center gap-4 transition-colors duration-300 hover:bg-white/[0.06] hover:border-[color:var(--acc)] hover:shadow-[0_0_24px_-6px_var(--acc)] cursor-default",children:[r.jsx(M.div,{className:"absolute inset-0 rounded-2xl pointer-events-none",style:{border:"1px solid "+l,boxShadow:"0 0 24px -6px "+l,background:l+"14"},initial:{opacity:0}
295,animate:i?{opacity:[0,1,0]}:{opacity:0},transition:{duration:.55,delay:.9+t*.11,ease:"easeInOut"}}),r.jsx(M.div,{className:"shrink-0 w-7 h-7",animate:{scale:[1,1.15,1],opacity:[.8,1,.8]},transition:{duration:3+t%5*.7,repeat:1/0,ease:"easeInOut"},children:r.jsx("svg",{viewBox:"0 0 24 24",className:"w-full h-full",style:{filter:`drop-shadow(0 0 6px ${l}66)`},children:r.jsx("path",{d:gR,fill:l})})}),r.jsxs("div",{className:"flex flex-col",children:[r.jsxs("span",{className:"text-[8px] font-mono tracking-[0.3em] uppercase",style:{color:`${l}B3`},children:["NODE ",String(t+1).padStart(2,"0")]}),r.jsx("span",{className:`text-base md:text-lg font-display font-bold uppercase tracking-tight text-white whitespace-nowrap ${o?"normal-case":""}`,children:c})]})]})},xR=({locale:e="en"}={})=>{const t=e==="he",i=_.useRef(null),o=n1(i,{once:!0,amount:.35});return r.jsxs("section",{dir:t?"rtl":"ltr",className:`py-20 md:py-28 relative border-t border-white/5 overflow-hidden ${t?"font-hebrew":""}`,children:[r.jsxs("svg",{viewBox:"0 0 1200 800",preserveAspectRatio:"xMidYMid slice",className:"absolute inset-0 w-full h-full opacity-40 pointer-events-none",children:[hR.map((l,c)=>r.jsx("line",{x1:l.x1,y1:l.y1,x2:l.x2,y2:l.y2,stroke:"#4facfe",strokeOpacity:"0.08",strokeWidth:"1",strokeDasharray:"2 6"},`line-${c}`)),pR.map((l,c)=>r.jsx("circle",{cx:l.x,cy:l.y,r:l.r,fill:l.color,opacity:"0.15",children:r.jsx("animate",{attributeName:"opacity",values:"0.15;0.7;0.15",dur:`${l.dur}s`,begin:`${l.begin}s`,repeatCount:"indefinite"})},`star-${c}`))]}),r.jsxs("div",{className:"relative z-10 mb-14 md:mb-20",children:[r.jsx("span",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] md:text-xs font-mono uppercase tracking-[0.5em]"} text-blue-400/70 mb-12 md:mb-16 block text-center`,children:t?"▸ מוקד הערכים // קונסטלציית הערך":"▸ AXIOMATIC HUB // VALUE CONSTELLATION"}),r.jsxs("div",{className:"relative flex items-center justify-center",children:[r.jsx("div",{className:"absolute inset-0 items-center justify-center z-0 pointer-events-none hidden md:flex",children:r.jsx("div",{className:"absolute -inset-x-[8%] -inset-y-[60%]",children:r.jsx(M.div,{className:"w-full h-full",initial:{rotate:-4},animate:{rotate:[-7,-1,-7]},transition:{duration:12,repeat:1/0,ease:"easeInOut",repeatType:"mirror"},children:r.jsx("svg",{viewBox:"0 0 600 200",className:"w-full h-full",style:{overflow:"visible"},children:r.jsx(M.circle,{r:"5",fill:"#4facfe",style:{filter:"drop-shadow(0 0 6px rgba(79,172,254,0.8))"},animate:{cx:[630,618.76,585.79,533.35,465,385.41,300,214.59,135,66.65,14.21,-18.76,-30,-18.76,14.21,66.65,135,214.59,300,385.41,465,533.35,585.79,618.76,630],cy:[100,113.98,127,138.18,146.77,152.16,154,152.16,146.77,138.18,127,113.98,100,86.02,73,61.82,53.23,47.84,46,47.84,53.23,61.82,73,86.02,100],opacity:[.5,0,0,0,0,0,0,0,0,0,0,0,.5,1,1,1,1,1,1,1,1,1,1,1,.5]},transition:{duration:9,repeat:1/0,ease:"linear"}})})})})}),r.jsx("div",{className:"absolute inset-0 items-center justify-center z-20 pointer-events-none hidden md:flex",children:r.jsx("div",{className:"absolute -inset-x-[8%] -inset-y-[60%]",children:r.jsx(M.div,{className:"w-full h-full",initial:{rotate:-4},animate:{rotate:[-7,-1,-7]},transition:{duration:12,repeat:1/0,ease:"easeInOut",repeatType:"mirror"},children:r.jsx("svg",{viewBox:"0 0 600 200",className:"w-full h-full",style:{overflow:"visible"},children:r.jsx(M.circle,{r:"5",fill:"#4facfe",style:{filter:"drop-shadow(0 0 6px rgba(79,172,254,0.8))"},animate:{cx:[630,618.76,585.79,533.35,465,385.41,300,214.59,135,66.65,14.21,-18.76,-30,-18.76,14.21,66.65,135,214.59,300,385.41,465,533.35,585.79,618.76,630],cy:[100,113.98,127,138.18,146.77,152.16,154,152.16,146.77,138.18,127,113.98,100,86.02,73,61.82,53.23,47.84,46,47.84,53.23,61.82,73,86.02,100],opacity:[.5,1,1,1,1,1,1,1,1,1,1,1,.5,0,0,0,0,0,0,0,0,0,0,0,.5]},transition:{duration:9,repeat:1/0,ease:"linear"}})})})})}),r.jsx(M.h3,{className:"relative z-10 text-[9vw] sm:text-6xl md:text-7xl lg:text-[5.5rem] leading-[1.05] font-display font-black uppercase tracking-tight text-center",initial:{opacity:0,y:40,scale:.9},whileInView:{opacity:1,y:0,scale:[.9,1.06,1]},viewport:{once:!0,amount:.4},transition:{duration:.9,ease:[.16,1,.3,1]},children:r.jsx(M.span,{className:"text-transparent bg-clip-text inline-block",style:{backgroundImage:"linear-gradient(120deg, #4facfe 0%, #60a5fa 20%, #a855f7 45%, #ec4899 65%, #34d399 85%, #4facfe 100%)",backgroundSize:"300% 100%",WebkitBackgroun
295dClip:"text",backgroundClip:"text"},animate:{backgroundPosition:["0% 50%","100% 50%","0% 50%"]},transition:{duration:6,repeat:1/0,ease:"linear"},children:t?"הערכים המובילים אותנו":"THE CORE VALUES"})})]}),r.jsx("p",{className:"text-white/40 font-light text-sm md:text-base tracking-wide text-center mt-12 md:mt-16 max-w-xl mx-auto",children:t?"ארבעה עשר עקרונות, קונסטלציה אחת - מערכת ההפעלה שמאחורי כל סוכן שאנחנו משיקים.":"Fourteen principles, one constellation - the operating system behind every agent we ship."})]}),r.jsx("div",{ref:i,className:"relative max-w-6xl mx-auto px-6 flex flex-wrap justify-center gap-4 md:gap-6",children:fR.map((l,c)=>r.jsx(yR,{value:l,i:c,gridInView:o,isHebrew:t},l.id))}),r.jsx("div",{className:"relative z-10 mx-auto mt-14 md:mt-20 h-px w-2/3 max-w-3xl bg-gradient-to-r from-transparent via-blue-500/40 to-transparent"}),r.jsx("p",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[9px] font-mono uppercase tracking-[0.4em]"} text-white/25 mt-4 text-center`,children:t?"הקונסטלציה יציבה // כל הצמתים פעילים":"CONSTELLATION STABLE // ALL NODES OPERATIONAL"})]})},vR=({member:e,index:t,isHebrew:i=!1})=>{const[o,l]=_.useState([]),c=m=>{m.stopPropagation();const p=m.currentTarget.getBoundingClientRect(),y=[Fg,li,$g,wl,L1],g=y[Math.floor(Math.random()*y.length)];l(v=>[...v.slice(-10),{id:Date.now()+Math.random(),x:m.clientX-p.left,y:m.clientY-p.top,icon:g}])};return r.jsxs(M.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},whileHover:{y:-8},transition:{delay:t*.09,y:{type:"spring",stiffness:400,damping:30},scale:{type:"spring",stiffness:400,damping:30},opacity:{duration:.8,ease:[.16,1,.3,1]}},viewport:{once:!0},className:"cv-card group relative cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-500 rounded-[2rem]",onClick:c,onKeyDown:m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),c(m))},role:"button",tabIndex:0,"aria-label":i?`פרטים נוספים על ${e.name}, ${e.role}`:`View details for ${e.name}, ${e.role}`,children:[r.jsxs("div",{className:"aspect-[4/3] md:aspect-[3/2] rounded-[2rem] overflow-hidden bg-white/5 border border-white/10 relative group/avatar transition-colors duration-500 hover:border-blue-500/40",children:[r.jsxs("picture",{children:[r.jsx("source",{srcSet:e.img.replace(/\.jpg$/,".webp"),type:"image/webp"}),r.jsx("img",{style:{objectPosition:"center 35%"},src:e.img,alt:`${e.name}`,loading:"lazy",decoding:"async",width:1400,height:933,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 ease-out group-hover/avatar:scale-105"})]}),r.jsx("div",{className:"absolute inset-0 bg-blue-900/5 group-hover/avatar:bg-blue-900/0 transition-colors duration-500"}),r.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#020617] via-[#020617]/30 to-transparent opacity-70 group-hover/avatar:opacity-40 transition-opacity"}),r.jsx(Xe,{children:o.map(m=>r.jsx(M.div,{initial:{opacity:0,scale:0,x:m.x,y:m.y},animate:{opacity:[0,1,0],scale:[.5,1.5,.8],y:m.y-150-Math.random()*50,x:m.x+(Math.random()-.5)*100},transition:{duration:1.5,ease:"easeOut"},className:"absolute pointer-events-none z-30 -translate-x-1/2 -translate-y-1/2",children:r.jsx(m.icon,{className:"w-8 h-8 text-blue-400 drop-shadow-[0_0_15px_rgba(96,165,250,0.8)]"})},m.id))})]}),r.jsxs("div",{className:"mt-6 px-2 text-center absolute bottom-6 w-full z-10 transition-transform duration-500 group-hover:-translate-y-4 group-active:-translate-y-4",children:[r.jsx("h4",{className:"text-xl md:text-2xl font-display font-bold tracking-tight group-hover:text-blue-400 group-active:text-blue-400 transition-colors shadow-[0_0_10px_black] drop-shadow-md mb-1",children:e.name}),r.jsxs("div",{className:"flex flex-col items-center gap-1",children:[r.jsx("p",{className:`${i?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-[0.2em]"} text-red-500 shadow-[0_0_10px_black] drop-shadow-[0_0_5px_rgba(239,68,68,0.5)] font-bold line-through opacity-80`,children:e.oldRole}),r.jsx("p",{className:`${i?"text-sm font-hebrew tracking-normal":"text-xs md:text-sm font-mono uppercase tracking-[0.1em]"} text-emerald-400 shadow-[0_0_10px_black] drop-shadow-[0_0_8px_rgba(52,211,153,0.5)] font-bold`,children:e.role})]})]})]})},bR=({locale:e="en"}={})=>{const t=e==="he",i=[{name:"Alexei Kogan",role:t?"מייסד ומנכ״ל":"Founder & CEO",oldRole:t?"יזם סדרתי":"Serial Entrepreneur",img:"/team/alexei.jpg",agents:[{type:"Vision Agent",task:"Architecting Strategy",icon:v1,color:"bg-blue-500",position:"top-[20%] right-4"},{type:"Growth Bot",task:"Scaling Operations",icon:bl,color:"bg-purple-500",position:"bottom-[40%] left-4"}]},{name:"Darren Rozowsky",role:t?"יו״ר ומייסד שותף":"Chairman and Cofounder",oldRole:t?"חבר דירקטוריון":"Board Member",img:"/team/darren.jpg",agents:[{type:"C
295ompass Agent",task:"Plotting Direction",icon:b1,color:"bg-blue-500",position:"top-[18%] left-4"},{type:"Governance Bot",task:"Anchoring Vision",icon:w1,color:"bg-purple-500",position:"bottom-[40%] right-4"}]},{name:"Alon Soler",role:t?"מייסד שותף ו-CTO":"Co-Founder & CTO",oldRole:t?"ארכיטקט אוטומציה":"Automation Architect",img:"/team/alon.jpg",agents:[{type:"Build Agent",task:"Shipping Systems",icon:Fg,color:"bg-blue-500",position:"top-[15%] left-4"},{type:"Workflow Bot",task:"Orchestrating Pipelines",icon:qg,color:"bg-emerald-500",position:"bottom-[30%] right-4"}]},{name:"Vitalina Rebalsky",role:t?"מנהלת הצלחת לקוחות":"Customer Success Manager",oldRole:t?"מומחית קשרי לקוחות":"Client Relations Specialist",img:"/team/vitalina.jpg",agents:[{type:"Loyalty Agent",task:"Nurturing Relationships",icon:E1,color:"bg-purple-500",position:"top-[20%] right-4"},{type:"Pulse Bot",task:"Mapping Sentiment",icon:Uo,color:"bg-emerald-500",position:"bottom-[35%] left-4"}]},{name:"Nir Zari",role:t?"ראש צוות הנדסה":"Head of Engineering",oldRole:t?"מהנדס Full-Stack בכיר":"Senior Full-Stack Engineer",img:"/team/nir.jpg",agents:[{type:"Infra Agent",task:"Hardening Platform",icon:T1,color:"bg-blue-500",position:"top-[20%] left-4"},{type:"API Bot",task:"Wiring Integrations",icon:S1,color:"bg-emerald-500",position:"bottom-[40%] right-4"}]},{name:"Yoav Yellin",role:t?"ראש תחום הטמעה":"Head of Delivery",oldRole:t?"מהנדס פתרונות":"Solutions Engineer",img:"/team/yoav.jpg",agents:[{type:"Delivery Agent",task:"Tracking Milestones",icon:A1,color:"bg-purple-500",position:"top-[18%] right-4"},{type:"Client Bot",task:"Aligning Stakeholders",icon:Lo,color:"bg-blue-500",position:"bottom-[35%] left-4"}]},{name:"Mikhail Pautov",role:t?"מהנדס פלטפורמה ראשי":"Lead Platform Engineer",oldRole:t?"מהנדס תוכנה":"Software Engineer",img:"/team/michael.jpg",agents:[{type:"Code Agent",task:"Compiling Modules",icon:_1,color:"bg-emerald-500",position:"top-[22%] left-4"},{type:"Deploy Bot",task:"Releasing Builds",icon:bl,color:"bg-blue-500",position:"bottom-[30%] right-4"}]},{name:"Kateryna Dlugach",role:t?"מנהלת מוצר ראשית":"Chief Product Officer",oldRole:t?"מעצבת מוצר":"Product Designer",img:"/team/katia.jpg",agents:[{type:"Design Agent",task:"Refining Surfaces",icon:N1,color:"bg-purple-500",position:"top-[25%] right-4"},{type:"Quality Bot",task:"Auditing Experience",icon:C1,color:"bg-emerald-500",position:"top-[40%] left-4"}]}];return r.jsxs("section",{id:"team",dir:t?"rtl":"ltr",className:`pt-10 md:pt-16 pb-20 md:pb-32 border-t border-white/10 px-6 max-w-7xl mx-auto ${t?"font-hebrew":""}`,children:[r.jsxs("div",{className:"text-center mb-16 md:mb-24 flex flex-col items-center max-w-3xl mx-auto",children:[r.jsx("span",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-[0.5em]"} text-blue-400 mb-4 block`,children:t?"המפעילים":"The Operators"}),t?r.jsx("h2",{className:"text-4xl sm:text-[8vw] md:text-6xl font-display font-black tracking-tight italic text-center text-white [text-wrap:balance]",children:"הצוות שלנו"}):r.jsx(La,{text:"Our Team",className:"text-4xl sm:text-[8vw] md:text-6xl font-display font-black tracking-tighter uppercase italic justify-center text-white"}),r.jsx("p",{className:"mt-4 md:mt-6 text-white/70 text-lg max-w-2xl mx-auto font-light leading-relaxed",children:t?r.jsxs(r.Fragment,{children:["מייסדים, מהנדסים ואנשי תפעול בעלי ניסיון בהטמעת ",r.jsx("span",{dir:"ltr",style:{unicodeBidi:"isolate"},children:"AI"})," ואוטומציה בענפי תיירות, פיננסים, חינוך, נדל״ן וממשלה. צוות ",r.jsx("span",{dir:"ltr",style:{unicodeBidi:"isolate"},children:"Dscope"})," משלב חשיבה עסקית, פיתוח וליווי תפעולי לאורך הפרויקט."]}):"Founders, engineers, and operators who have shipped AI and automation at scale across travel, finance, education, real estate, and government. The team behind Dscope is the same team that ran the missions on the home page."})]}),r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-10 max-w-6xl mx-auto",children:i.map((o,l)=>r.jsx(vR,{member:o,index:l,isHebrew:t},l))})]})},wR=({iconIndex:e,isOpen:t,activeColor:i})=>{const o=["alpha","omega","gamma","sigma","delta"];return r.jsx(Xe,{mode:"wait",children:r.jsx(M.div,{initial:{opacity:0,scale:.5,rotate:t?-90:90}
295,animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.5,rotate:t?90:-90},transition:{duration:.4,type:"spring",stiffness:260,damping:20},className:"flex items-center justify-center p-2",children:t?r.jsx(kl,{className:"w-6 h-6 md:w-8 md:h-8 drop-shadow-md",style:{color:i}}):r.jsx(Cx,{symbolId:o[e],size:36,color:i,className:"drop-shadow-[0_0_8px_currentColor]"})},t?"close":`icon-${e}`)})},Ol=(e,t,i)=>{e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.currentTarget.hasAttribute("download")||e.currentTarget.target&&e.currentTarget.target!=="_self"||(e.preventDefault(),i(t))},ER=(e,t=document)=>{const i=["en","he-IL","x-default"];if(t.querySelectorAll('link[rel="alternate"][hreflang]').forEach(o=>{(o.dataset.dscopeAlt==="true"||i.includes(o.hreflang))&&o.remove()}),!!e)for(const[o,l]of[["en",`${ke}${e.en==="/"?"/":e.en}`],["he-IL",`${ke}${e.he}`],["x-default",`${ke}${e.en==="/"?"/":e.en}`]]){const c=t.createElement("link");c.rel="alternate",c.hreflang=o,c.href=l,c.dataset.dscopeAlt="true",t.head.appendChild(c)}},TR=({activeTab:e,isHebrew:t,navigate:i})=>{const o=Vo(e,!t);return r.jsxs(M.a,{href:o,onClick:l=>Ol(l,o,i),whileHover:{scale:1.05,boxShadow:"0 0 24px rgba(59,130,246,0.45)"},whileTap:{scale:.92},title:t?"עבור לאתר באנגלית":"Switch to Hebrew site",dir:"ltr",className:"relative flex items-center gap-1.5 min-h-10 no-underline px-3 py-2 md:px-4 md:py-2.5 rounded-full bg-[#050510] border-2 border-blue-400/40 transition-all duration-500 focus-visible:outline-none focus:ring-4 ring-offset-4 ring-offset-black cursor-pointer font-mono text-[9px] md:text-[10px] uppercase tracking-[0.2em]",style:{boxShadow:"inset 0 0 16px rgba(59,130,246,0.25), 0 0 18px rgba(59,130,246,0.3)"},children:[r.jsx("span",{className:t?"text-white/70":"text-white drop-shadow-[0_0_6px_rgba(96,165,250,0.8)]",children:"EN"}),r.jsx("span",{className:"text-white/50",children:"|"}),r.jsx("span",{className:`font-hebrew normal-case tracking-normal text-[13px] ${t?"text-white drop-shadow-[0_0_6px_rgba(96,165,250,0.8)]":"text-white/70"}`,children:"עב"})]})},SR=({activeTab:e,isHebrew:t,navigate:i})=>{const o=Vo(e,!t);return r.jsxs("a",{href:o,onClick:l=>Ol(l,o,i),"aria-label":t?"Switch to English site":"עבור לאתר בעברית",className:"flex items-center gap-4 min-h-10 no-underline px-4 py-2 rounded-full border border-white/15 bg-white/[0.03] hover:bg-white/[0.06] hover:border-white/30 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:[r.jsxs("span",{className:`flex items-center gap-1.5 text-[9px] md:text-[10px] font-mono uppercase tracking-[0.2em] ${t?"text-white/70":"text-white"}`,children:[r.jsx("span",{"aria-hidden":"true",children:"🇬🇧"}),"English"]}),r.jsx("span",{className:"text-white/50",children:"/"}),r.jsxs("span",{className:`flex items-center gap-1.5 text-[13px] font-hebrew tracking-normal ${t?"text-white":"text-white/70"}`,children:[r.jsx("span",{"aria-hidden":"true",children:"🇮🇱"}),"עברית"]})]})},AR=_.memo(({activeTab:e,setActiveTab:t,hoveredTab:i,setHoveredTab:o,isOpen:l,setIsOpen:c,progress:m,tabs:p,isHebrew:y=!1,navigate:g})=>{var z;const{scrollY:v}=$t(),b=Fe(v,{stiffness:60,damping:30,restDelta:.1}),{width:w}=Fo(),{theme:T,toggleTheme:A}=LI(),I=w<768,C=200,[N,R]=_.useState(null),[L,q]=_.useState(e),[Y,P]=_.useState(0);xl(m,"change",V=>{const ae=Math.min(4,Math.floor((typeof V=="number"?V:0)*5));P(le=>le!==ae?ae:le)});const F=["alpha","omega","gamma","sigma","delta"][Y],ee=(Ml.find(V=>V.id===F)||Ml[0]).color,Z=(V=>{const K=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(V);return K?`${parseInt(K[1],16)}, ${parseInt(K[2],16)}, ${parseInt(K[3],16)}`:"59,130,246"})(ee);_.useEffect(()=>{l&&I&&q(e)},[l,I,e]),Q(b,[0,50],[1,0]),Q(b,[0,50],[0,-10]),Q(b,[0,100],[.1,1]),Q(b,[0,50],[.4,1]),Q(b,[C/2,C],[.9,1]);const de=qt(.85),ue=qt(.9);xl(v,"change",V=>
295{if(l)de.set(1),ue.set(1);else{const K=V<50?.85:V>C?1:.85+(V-50)/(C-50)*.15,ae=V<50?.9:V>C?1:.9+(V-50)/(C-50)*.1;de.set(K),ue.set(ae)}}),_.useEffect(()=>{const V=K=>{K.key==="Escape"&&l&&c(!1)};if(typeof window<"u"&&window.addEventListener)return window.addEventListener("keydown",V),()=>window.removeEventListener("keydown",V)},[l,c]),_.useEffect(()=>{if(l)de.set(1),ue.set(1);else{const V=v.get(),K=V<50?.85:V>C?1:.85+(V-50)/(C-50)*.15,ae=V<50?.9:V>C?1:.9+(V-50)/(C-50)*.1;de.set(K),ue.set(ae)}},[l]);const se=V=>{c(!1),window.location.hash="",window.dispatchEvent(new CustomEvent("nav_tab_click",{detail:V}));const K={home:"page-top"};if(e==="home"&&K[V]&&V!=="home"){const ae=document.getElementById(K[V]);if(ae){ae.scrollIntoView({behavior:"smooth",block:"start"});return}}t(V),window.scrollTo({top:0,behavior:"smooth"})};return(z=p.find(V=>V.id===e))!=null&&z.symbolId,r.jsxs(r.Fragment,{children:[r.jsx(Xe,{children:l&&r.jsxs(M.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.05},transition:{type:"spring",stiffness:300,damping:35},className:"fixed inset-0 bg-[#00000a]/95 backdrop-blur-3xl z-[999] flex flex-col p-6 pt-16 md:p-12 overflow-hidden",onClick:()=>c(!1),children:[r.jsx("div",{className:"absolute top-6 right-6 md:top-12 md:right-12 z-[1002]",children:r.jsx("button",{onClick:V=>{V.stopPropagation(),c(!1)},className:"group flex items-center justify-center w-12 h-12 md:w-16 md:h-16 text-white/40 hover:text-white transition-all duration-300 bg-white/5 hover:bg-white/10 rounded-full border border-white/10 hover:border-white/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 shadow-2xl","aria-label":y?"סגור תפריט":"Close menu",children:r.jsx(kl,{className:"w-5 h-5 md:w-8 md:h-8 transition-transform group-hover:rotate-90 duration-500"})})}),r.jsx("div",{className:"grid grid-cols-2 gap-x-2 sm:gap-x-4 md:gap-x-4 lg:gap-x-8 gap-y-6 sm:gap-y-2 md:gap-y-2 lg:gap-y-2 w-full max-w-3xl mx-auto h-full place-content-center pl-8 sm:pl-16 md:pl-24 lg:pl-32 pr-2 sm:pr-4 py-4 sm:py-6",onClick:V=>V.stopPropagation(),children:p.map((V,K)=>r.jsxs(M.a,{href:Vo(V.id,y),onClick:ae=>Ol(ae,Vo(V.id,y),()=>se(V.id)),onMouseEnter:()=>o(V.id),onMouseLeave:()=>o(null),onFocus:()=>R(V.id),onBlur:()=>R(null),initial:!1,className:"flex flex-col sm:flex-row items-center sm:items-center gap-3 sm:gap-4 md:gap-6 lg:gap-8 group text-center sm:text-left no-underline min-h-10 outline-none focus-visible:ring-2 focus-visible:ring-blue-500 rounded-xl py-0 sm:py-1 md:py-1",children:[r.jsxs("div",{className:"relative shrink-0 flex items-center justify-center",children:[r.jsx("div",{className:`absolute -inset-2 md:-inset-8 rounded-full transition-opacity duration-300 pointer-events-none ${e===V.id?"opacity-100":"opacity-0 group-hover:opacity-100"}`,style:{background:"radial-gradient(circle, rgba(59,130,246,0.22), rgba(59,130,246,0) 70%)"}}),r.jsx(Cx,{symbolId:V.symbolId,size:I?32:72,className:`relative z-10 transition-transform duration-500 ${e===V.id?"scale-110 drop-shadow-[0_0_15px_rgba(59,130,246,0.5)] text-blue-400":"group-hover:scale-110 group-hover:-rotate-3"}`})]}),r.jsx("div",{className:"flex flex-col items-center sm:items-start",children:r.jsx("h4",{className:`text-sm sm:text-lg md:text-2xl lg:text-3xl font-display font-black tracking-tighter uppercase transition-all duration-300 leading-none ${e===V.id?"text-white":"text-white/60 group-hover:text-white"} ${y?"font-hebrew":""}`,style:e!==V.id?{backgroundImage:"linear-gradient(115deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.55) 35%, #ffffff 50%, rgba(255,255,255,0.55) 65%, rgba(255,255,255,0.55) 100%)",backgroundSize:"250% 100%",WebkitBackgroundClip:"text",backgroundClip:"text",WebkitTextFillColor:"transparent",animation:"menuShimmer 3.5s ease-in-out infinite"}:void 0,children:y?V.labelHe:V.label})})]},V.id))}),r.jsxs("div",{className:"mt-auto pt-6 flex flex-col items-center shrink-0 gap-5",onClick:V=>V.stopPropagation(),children:[r.jsx("div",{className:"w-full h-[1px] bg-gradient-to-r from-transparent via-white/10 to-transparent"}),r.jsx(SR,{activeTab:e,isHebrew:y,navigate:g}),r.jsx(eR,{}),r.jsxs("div",{className:"flex items-center gap-8 opacity-20",children:[r.jsxs("div",{className:"flex flex-col items-center",children:[r.jsx("span",{className:"text-[8px] font-mono uppercase tracking-widest text-white",children:"Encryption"}),r.jsx("span",{className:"text-[10px] font-mono text-blue-400",children:"ACTIVE-256"})]}),r.jsx("div",{className:"w-[1px] h-8 bg-white/20"}),r.jsxs("div",{className:"flex flex-col items-center",children:[r.jsx("span",{className:"text-[8px] font-mono uppercase tracking-widest text-white",children:"Signal"}),r.jsx("span",{className:"text-[10px] font-mono text-emerald-400",children:"STABLE-99%"})]})]})]})]})}),r.jsx(M.div,{"data-site-chrome":"orbital-navigation",initial:!1,animate:l?{top:I?"60px":"80px",left:I?"calc(100% - 40px)":"calc(100% - 60px)",x:"-50%",y:"-50%",opacity:0,scale:.8}:{top:I?"60px":"80px",left:I?"calc(100% - 40px)":"calc(100% - 60px)",x:"-50%",y:"-50%",opacity:1,scale:1},style:{opacity:de,scale:ue,position:"fixed"},transition:{type:"spring",stiffness:180,damping:25,mass:.8},className:`z-[1000] flex items-center justify-center ${l?"pointer-events-none":"pointer-events-auto"}`,children:r.jsxs("div",{className:"relative",id:"satellite-nav-menu",role:"navigation","aria-label":y?"ניווט אורביטלי ראשי":"Main orbital navigation",children:[r.jsxs(M.button,{onClick:()=>c(!l),onMouseEnter:()=>!l&&o("core"),onMouseLeave:()=>o(null),onFocus:()=>!l&&R("core"),onBlur:()=>
295R(null),whileHover:{scale:1.1,boxShadow:"0 0 35px rgba(59,130,246,0.4)"},whileTap:{scale:.85},"aria-label":y?l?"כווץ מערכת ניווט":"הרחב מערכת ניווט":l?"Collapse navigation system":"Expand navigation system","aria-expanded":l,"aria-controls":"satellite-nav-menu",animate:{boxShadow:l?`0 0 50px rgba(${Z},0.6)`:`0 0 32px rgba(${Z},0.5)`,borderColor:l?`rgba(${Z},0.6)`:`rgba(${Z},0.45)`},className:"relative w-16 h-16 md:w-20 md:h-20 rounded-full bg-[#050510] border-2 flex items-center justify-center z-[1001] transition-all duration-500 group overflow-hidden focus-visible:outline-none focus:ring-4 ring-offset-4 ring-offset-black cursor-pointer",style:{boxShadow:`inset 0 0 20px rgba(${Z}, 0.3)`},children:[r.jsx(M.div,{animate:{rotate:360},transition:{duration:10,repeat:1/0,ease:"linear"},className:"absolute inset-0 opacity-20 group-hover:opacity-40",children:r.jsx("div",{className:"absolute inset-0 border-t border-r rounded-full",style:{borderColor:`rgba(${Z}, 0.4)`}})}),r.jsx(wR,{iconIndex:Y,isOpen:l,activeColor:ee}),r.jsx(Nx,{text:l?"Collapse":"Menu",isVisible:(i==="core"||N==="core")&&!l,className:"mb-10"}),!l&&r.jsx(r.Fragment,{children:r.jsx(M.div,{animate:{scale:[1,2.5],opacity:[.3,0]},transition:{duration:2,repeat:1/0,ease:"easeOut"},className:"absolute inset-0 rounded-full border border-blue-400/30",style:{borderColor:`rgba(${Z}, 0.3)`}})}),r.jsx("div",{className:"absolute inset-2 rounded-full border border-white/5 pointer-events-none"})]}),r.jsx("div",{className:"absolute top-1/2 right-full -translate-y-1/2 mr-3 md:mr-4",children:r.jsx(TR,{activeTab:e,isHebrew:y,navigate:g})})]})})]})}),_R=({word:e,progress:t,start:i,end:o,lightning:l})=>{const c=_.useMemo(()=>e.split(""),[e]);return r.jsx(M.span,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-10%"},transition:{duration:.8,delay:i*.1,ease:[.16,1,.3,1]},style:{perspective:"1000px",backfaceVisibility:"hidden",transformStyle:"preserve-3d",translateZ:0,WebkitFontSmoothing:"antialiased"},className:`inline-block mr-[0.25em] will-change-transform ${l?"lightning-font":""}`,children:c.map((m,p)=>r.jsxs(M.span,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},animate:{y:[0,-2,0]},viewport:{once:!0},transition:{opacity:{duration:.5,delay:i*.1+p*.03},y:{duration:3,repeat:1/0,ease:"easeInOut",delay:i*.1+p*.03}},className:"inline-block cursor-default relative group/letter",children:[m,r.jsx(M.span,{className:"absolute inset-0 bg-blue-400/20 blur-sm rounded-full opacity-0 group-hover/letter:opacity-100 transition-opacity",initial:!1})]},p))})},Rx=({text:e,progress:t,className:i="",noItalic:o=!1,lightning:l=!1,pulse:c=!1})=>{const m=_.useMemo(()=>e.split(" "),[e]),p=m.length,y=.4,g=p>1?(1-y)/(p-1):0;return r.jsx(M.h1,{"aria-label":e,animate:c?{textShadow:["0 0 0px rgba(59, 130, 246, 0)","0 0 20px rgba(59, 130, 246, 0.5)","0 0 0px rgba(59, 130, 246, 0)"],op
295acity:[1,.8,1]}:{},transition:c?{duration:3,repeat:1/0,ease:"easeInOut"}:{},className:`${i} ${o?"":"italic"} tracking-tighter flex flex-wrap justify-center font-display overflow-visible`,children:m.map((v,b)=>{const w=b*g,T=w+y;return r.jsxs("span",{"aria-hidden":"true",children:[r.jsx(_R,{word:v,progress:t,start:w,end:T,lightning:l}),b<p-1&&" "]},`${v}-${b}`)})})},Dl=({children:e,height:t="h-[200vh]",innerClassName:i="",scrollOffset:o})=>{const l=_.useRef(null),{scrollYProgress:c}=$t({target:l,offset:o||["start start","end end"]}),m=Fe(c,{stiffness:45,damping:22,mass:1,restDelta:.001});return r.jsx("section",{ref:l,className:`relative ${t}`,children:r.jsx("div",{className:`sticky top-0 min-h-[100dvh] flex items-center z-10 w-full ${i}`,children:qe.Children.map(e,p=>qe.isValidElement(p)?qe.cloneElement(p,{progress:m}):p)})})},rM=({locale:e="en"})=>r.jsx(Dl,{height:"h-[160vh]",innerClassName:"flex flex-col justify-center max-w-7xl mx-auto px-6",scrollOffset:["start end","end start"],children:r.jsx(CR,{locale:e})}),NR=({progress:e,locale:t="en"})=>{const i=t==="he",o=i?["פתרונות AI","לכל ענף"]:["Planetary","Scale","Industry","Solutions"],l=Q(e,[0,.85],[-45,45]),c=Q(e,[0,.85],[-10,10]),m=Q(e,[0,.1,.7,.85,.95],[.8,1,1,.1,0]),p=Q(e,[0,.85,.9],[1,1,0]),y=Q(e,[0,.5,.85,.95],[-300,100,100,-2e3]),g=Q(e,[.8,.95],[0,-800]),v=Q(e,[.88,.9,.92],[0,0,0]);return r.jsxs("div",{className:"relative h-[600px] md:h-[800px] flex items-center justify-center perspective-[2000px] w-full",children:[r.jsxs(M.div,{style:{rotateY:l,rotateZ:c,scale:m,opacity:p,z:y,y:g},className:"flex flex-col items-center justify-center w-full",children:[r.jsx(M.div,{style:{opacity:Q(e,b=>b>.86?0:1)},className:"flex flex-col items-center gap-2 md:gap-4 w-full",children:o.map((b,w)=>{const T=/^[A-Za-z0-9+&./-]+$/.test(b),A=i?b.split(/([A-Za-z0-9][A-Za-z0-9+&./-]*)/g).map((I,C)=>/^[A-Za-z0-9][A-Za-z0-9+&./-]*$/.test(I)?r.jsx("bdi",{dir:"ltr",style:{unicodeBidi:"isolate"},children:I},C):r.jsx(qe.Fragment,{children:I},C)):b;return r.jsx(M.span,{dir:i?"rtl":T?"ltr":void 0,className:`${i?"text-[clamp(2.25rem,10.5vw,6rem)] whitespace-nowrap":"text-[clamp(2.5rem,12vw,7rem)] whitespace-normal break-words"} font-black lightning-3d block leading-[0.9] md:leading-[0.8] mb-[-0.1em] ${i?"font-hebrew tracking-normal":"font-display tracking-tighter uppercase"}`,style:{unicodeBidi:!i&&T?"isolate":void 0},children:A},w)})}),r.jsx(M.div,{style:{opacity:Q(e,b=>b>.86?1:0),scale:12},className:"absolute flex items-center justify-center",children:r.jsxs("div",{className:"relative",children:[r.jsx(y1,{className:"w-16 h-16 text-blue-400"}),r.jsx(M.div,{animate:{opacity:[.3,1,.3],scale:[1,1.5,1]},transition:{duration:.3,repeat:1/0},className:"absolute inset-0 bg-blue-400/30 blur-xl rounded-full"})]})})]}),r.jsx(M.div,{style:{opacity:v},className:"fixed inset-0 bg-white z-[2000] pointer-events-none mix-blend-screen overflow-hidden",children:r.jsx("div",{className:"w-full h-full bg-[radial-gradient(circle_at_center,white,transparent_70%)]"})})]})},CR=({progress:e,locale:t="en"})=>{const i=t==="he",[o,l]=_.useState(null),c=Q(e||0,[.45,.65],[0,1]),m=Q(e||0,[.45,.65],[30,0]),p=Q(e||0,[0,1],[-30,30]);Q(e||0,[0,1],[-15,15]);const y=Q(e||0,[.05,.15],[-200,0]),g=Q(e||0,[.05,.15],[0,1]),v=Q(e||0,[.1,.2],[200,0]),b=Q(e||0,[.1,.2],[0,1]),w=Q(e||0,[.15,.25],[-200,0]),T=Q(e||0,[.15,.25],[0,1]),A=Q(e||0,[.2,.3],[200,0]),I=Q(e||0,[.2,.3],[0,1]),C=Q(e||0,[.25,.35],[-200,0]),N=Q(e||0,[.25,.35],[0,1]),R=Q(e||0,[.3,.4],[200,0]),L=Q(e||0,[.3,.4],[0,1]),q=Q(e||0,[.35,.45],[-200,0]),Y=Q(e||0,[.35,.45],[0,1]);
295return r.jsxs("div",{className:"flex flex-col min-h-0 md:min-h-screen justify-center py-12 md:py-20 items-center overflow-x-hidden",children:[r.jsxs("div",{className:"flex flex-col items-center text-center justify-center mb-8 md:mb-24 relative z-10 w-full px-6 overflow-hidden",children:[r.jsx("div",{className:"w-full",children:r.jsx(NR,{progress:e,locale:t})}),r.jsxs("div",{className:"mt-8 md:mt-32 max-w-5xl flex flex-col items-center gap-6",children:[r.jsxs("p",{className:`text-white leading-tight text-[clamp(1.5rem,4vw,3.5rem)] tracking-tight flex flex-col gap-2 ${i?"font-hebrew font-semibold md:leading-[1.16]":"font-medium"}`,children:[r.jsx(M.span,{style:{x:y,opacity:g},className:"block",children:i?"הארכיטקטורה שלנו תומכת":"Our architecture supports"}),r.jsx(M.span,{style:{x:v,opacity:b},className:`block text-blue-400 ${i?"font-black drop-shadow-[0_0_20px_rgba(96,165,250,0.24)]":""}`,children:i?"לאוטומציה שעובדת חלק בין מערכות":"seamless autonomous orchestration"}),r.jsx(M.span,{style:{x:w,opacity:T},className:"block",children:i?"לתהליכי תמיכה, שירות ומכירות":"for specialized support"}),r.jsx(M.span,{style:{x:A,opacity:I},className:"block",children:i?r.jsxs(r.Fragment,{children:["בענפים שבהם ",r.jsx("span",{className:"text-emerald-400",children:"דיוק ומהירות"})," קובעים."]}):r.jsxs(r.Fragment,{children:[" and ",r.jsx("span",{className:"text-emerald-400",children:"service teams"})," across critical sectors."]})})]}),r.jsxs("div",{className:"text-white/60 text-[clamp(1.1rem,2vw,1.8rem)] leading-relaxed font-light mt-8 flex flex-col gap-2 relative",children:[r.jsx(M.span,{style:{x:C,opacity:N},className:"block",children:i?r.jsxs(r.Fragment,{children:["מנצלים את ",r.jsx("strong",{className:"text-white font-normal",children:"קפיצת הטכנולוגיה"})," בעבודה משולבת בין אדם ו-",r.jsx("strong",{className:"text-white font-normal",dir:"ltr",children:"AI"}),","]}):r.jsxs(r.Fragment,{children:["Leveraging the ",r.jsx("strong",{className:"text-white font-normal",children:"technology jump"})," of human and AI automated workflows,"]})}),r.jsx(M.span,{style:{x:R,opacity:L},className:"block",children:i?r.jsxs(r.Fragment,{children:["ומחברים ",r.jsx("span",{className:"text-blue-300",children:"תמיכה, מכירות, שיווק ושירות"})]}):r.jsxs(r.Fragment,{children:["we transform ",r.jsx("span",{className:"text-blue-300",children:"support, sales, marketing, service"})]})}),r.jsx(M.span,{style:{x:q,opacity:Y},className:"block",children:i?"ותחומים נוספים ביעילות שאין לה תחרות.":"and more areas with unparalleled efficiency."})]})]})]}),r.jsx(M.div,{style:{opacity:c,y:m},className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-12 relative z-10 w-full px-4 md:px-0",children:[].map((P,O)=>r.jsxs("div",{onMouseEnter:()=>l(O),onMouseLeave:()=>l(null),onFocus:()=>l(O),onBlur:()=>l(null),tabIndex:0,role:"article","aria-label":`Industry Focus: ${P.sector}. ${P.desc}`,className:"group p-10 rounded-[3rem] bg-transparent border border-white/5 hover:bg-white/[0.02] hover:border-blue-500/20 hover:scale-[1.01] transition-all duration-700 relative overflow-hidden cursor-pointer focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-blue-500/50",children:[r.jsx("div",{className:"flex items-center justify-between mb-10",children:r.jsxs("div",{className:"flex items-center justify-center transition-colors relative w-16 h-16",children:[r.jsx(M.div,{style:{y:p},className:"w-full h-full absolute flex items-center justify-center",children:r.jsx(ct,{type:P.type,color:"#3b82f6"})}),r.jsx(Nx,{text:`${P.type.toUpperCase()}_PROTOCOL`,isVisible:o===O,className:"mb-14"})]})}),r.jsx("h4",{className:"text-xs font-mono uppercase tracking-widest text-blue-400 mb-3",children:P.focus}),r.jsx(La,{text:P.sector,className:"text-xl md:text-2xl font-display font-bold mb-6 tracking-tight"}),r.jsx("p",{className:"text-white/60 leading-relaxed font-light",children:P.desc})]},O))})]})},IR=({progress:e})=>{const t=qt(0),i=qt(0),o=Fe(t,{stiffness:40,damping:20}),l=Fe(i,{stiffness:40,damping:20});_.useEffect(()=>{const p=y=>{const g=(y.clientX/window.innerWidth-.5)*100,v=(y.clientY/window.innerHeight-.5)*100;t.set(g),i.set(v)};if(typeof window<"u"&&window.addEventListener)return window.addEventListener("mousemove",p),()=>window.removeEventListener("mousemove",p)},[t,i]);const c=Q(e,[0,1],[0,-80]),m=Q(e,[0,.4],[1,0]);return r.jsx("div",{className:"absolute inset-0 pointer-events-none overflow-hidden","aria-hidden":"true",children:r.jsx(M.div,{style:{y:c,opacity:m}
295,className:"relative w-full h-[120%] flex flex-wrap gap-x-16 md:gap-x-24 gap-y-16 md:gap-y-24 p-10 md:p-32 justify-center will-change-transform",children:[...Array(RR()?20:35)].map((p,y)=>r.jsx(MR,{mouseX:o,mouseY:l},y))})})},RR=()=>typeof window<"u"&&window.innerWidth<768,MR=({mouseX:e,mouseY:t})=>{const{initialX:i,initialY:o,opacity:l,duration:c}=qe.useMemo(()=>({initialX:Math.random()*20-10,initialY:Math.random()*20-10,opacity:.05+Math.random()*.15,duration:8+Math.random()*8}),[]),m=Q(e,[-50,50],[i-25,i+25]),p=Q(t,[-50,50],[o-25,o+25]);return r.jsx(M.div,{style:{x:m,y:p,opacity:l},animate:{opacity:[l,l*1.5,l]},transition:{duration:c,repeat:1/0,ease:"linear"},className:"w-1 h-1 md:w-1.5 md:h-1.5 rounded-full bg-blue-400/20 border border-blue-300/10 will-change-[transform,opacity]"})},Dg=[{name:"Clarity",description:"Financial services and global investment management firm.",color:"#004c97"},{name:"Calcalist",description:"Israel's leading daily financial newspaper and economic website.",color:"#FF0000"},{name:"Dani Levi Communication Ltd",description:"Top-tier public relations, crisis management, and strategic communications firm.",color:"#9ca3af"},{name:"Yeda",description:"The commercial arm of the Weizmann Institute of Science.",color:"#0D3B66"},{name:"Geoscale",description:"Advanced geospatial data and technology solutions provider.",color:"#2E8B57"},{name:"MalamTeam",description:"One of the largest IT services and systems integration groups in Israel.",color:"#E31837"},{name:"AllenCarr",description:"Israel's branch of the globally renowned Easyway smoking cessation clinic.",color:"#E52A2D"},{name:"FISCHER F|B|C|&Co",description:"One of Israel's premier and largest full-service corporate law firms.",color:"#003366"},{name:"Regba",description:"Israel's leading and most established brand for custom kitchens and home cabinetry.",color:"#8B0000"},{name:"Orin Shpalter",description:"The leading college in Israel for financial, pension, and insurance education.",color:"#F26522"}],kg=["#4facfe","#34d399","#ec4899"],DR=({name:e,description:t,brandColor:i,lane:o,duration:l,delay:c})=>{const m=qe.useRef(null),p=qe.useRef(null),[y,g]=qe.useState(!1);qe.useEffect(()=>{const b=p.current;b&&(b.style.animationPlayState=y?"paused":"running",b.style.zIndex=y?"100":"1")},[y]);const v=o>50;return qe.useEffect(()=>{let b=0,w=0;const T=50,A=I=>{if(I-w>=T){w=I;const C=m.current;if(C){const N=C.getBoundingClientRect(),R=N.left+N.width/2,L=window.innerWidth/2,q=Math.abs(R-L),Y=window.innerWidth/2,O=1-Math.min(q/Y,1),F=.75+O*.8,$=.35+O*.65;let ee;if(O>.7)ee=i;else if(O>.4){const ce=Math.round((O-.4)/.3*100);ee=`color-mix(in srgb, ${i} ${ce}%, white)`}else ee="#ffffff";C.style.scale=String(F),C.style.opacity=String($),C.style.color=ee}}b=requestAnimationFrame(A)};return b=requestAnimationFrame(A),()=>cancelAnimationFrame(b)},[i]),r.jsx("div",{ref:p,dir:"ltr",className:"absolute will-change-transform",style:{left:0,top:`${o}%`,animationName:"clientFlow",animationDuration:`${l}s`,animationDelay:`${c}s`,animationTimingFunction:"linear",animationIterationCount:"infinite"},children:r.jsxs("div",{ref:m,className:"whitespace-nowrap font-display font-bold uppercase tracking-tight text-xl md:text-3xl cursor-pointer pointer-events-auto relative",style:{color:"#ffffff",transformOrigin:"left center"},onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),children:[e,r.jsx(Xe,{children:y&&r.jsx(M.div,{initial:{opacity:0,y:v?-8:8,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:v?-8:8,scale:.95},transition:{duration:.2,ease:"easeOut"},className:`absolute left-1/2 -translate-x-1/2 w-72 md:w-80 z-50 pointer-events-none whitespace-normal ${v?"bottom-full mb-3":"top-full mt-3"}`,children:r.jsxs("div",{className:"rounded-2xl border bg-black/90 backdrop-blur-xl px-5 py-4 text-left shadow-[0_10px_40px_rgba(0,0,0,0.6)]",style:{borderColor:`${i}66`,boxShadow:`0 0 30px ${i}33`},children:[r.jsx("div",{className:"font-display font-bold uppercase tracking-wider text-sm mb-1.5 break-words",style:{color:i},children:e}),r.jsx("div",{className:"font-sans normal-case font-normal text-xs leading-relaxed tracking-normal text-white/75 break-words",children:t})]})},"tooltip")})]})})},kR=({title:e="Our Clients",locale:t="en"})=>{const i=t==="he",o=Dg.length,l=Dg.map((c,m)=>{const p=(m*31+7)%100,v=8+m*(76/Math.max(o-1,1)),b=30+p*.27%18,w=-(m*4.2%35),T=kg[m%kg.length];return{...c,lane:v,duration:b,delay:w,brandColor:T}});return r.jsxs("div",{className:"keep-anim w-screen relative left-1/2 -translate-x-1/2 z-20 pb-16 md:pb-24 mt-8 md:mt-24",children:[r.jsx("div",{className:"flex flex-row items-center justify-center px-6 relative z-30",children:r.jsx("h2",{lang:i?"he":"en",dir:i?"rtl":"ltr",className:`text-white text-2xl md:text-3xl lg:text-4xl font-bold text-center drop-shadow-[0_2px_15px_rgba(0,0,0,0.5)] ${i?"font-hebrew tracking-normal":"font-display tracking-[0.05em] uppercase"}`,children:e})}),r.jsx("div",{dir:"ltr",className:"relative w-full overflow-x-hidden h-[480px] md:h-[560px] mt-14 md:mt-16",children:l.map(c=>r.jsx(DR,{name:c.name,description:c.description,brandColor:c.brandColor,lane:c.lane,duration:c.duration,delay:c.delay},c.name))})]})};_.memo(({progress:e})=>{const t="Multi Channel AI Automation Platform".split(" "),i=e||qt(0),o=Fe(i,{stiffness:80,damping:30,restDelta:.001}),l=Q(o,[0,1],[0,-40]),c=Q(o,[0,1],[0,-20]),m=Q(o,[0,1],[1,1.05]),p=Q(o,[0,.8],[.12,0]);return r.jsxs("div",{className:"flex flex-col items-center justify-center min-h-0 md:min-
295h-screen py-12 md:py-20 px-4 md:px-6 text-center relative overflow-visible",children:[r.jsx(IR,{progress:o}),r.jsx(M.div,{style:{scale:m,opacity:p},className:"absolute inset-x-0 top-1/2 -translate-y-1/2 h-[600px] w-full bg-blue-600/10 blur-[150px] pointer-events-none z-0"}),r.jsx(M.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},style:{y:c},transition:{delay:.5,duration:1},className:"mb-8 md:mb-10 px-6 py-2 rounded-full border border-white/10 bg-white/5 text-[9px] md:text-[11px] font-mono uppercase tracking-[0.5em] text-blue-300 z-20",children:"Multi-Channel AI Platform"}),r.jsx(M.div,{style:{y:l},className:"relative mb-8 md:mb-12 z-20 flex flex-wrap justify-center items-center max-w-5xl mx-auto",children:r.jsx("h1",{className:"text-[9.5vw] sm:text-[8vw] md:text-[3.6rem] lg:text-[5.6rem] font-display font-bold tracking-tighter leading-[0.9] text-white italic flex flex-wrap justify-center gap-x-[0.1em]",children:t.map((y,g,v)=>r.jsx(M.span,{initial:{opacity:0,y:20,scale:.8},animate:{opacity:1,y:0,scale:1},transition:{delay:.8+g*.1,duration:1.2,ease:[.23,1,.32,1]},className:`inline-block whitespace-normal break-words lightning-font ${g!==v.length-1?"mr-[0.15em]":""}`,style:{animationDelay:`${g*.2}s`},children:y},g))})}),r.jsx(M.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},style:{y:c},transition:{delay:1.8,duration:1},className:"text-lg md:text-xl text-white/50 max-w-2xl mb-12 z-20 font-light tracking-tight",children:"Dscope connects AI agents and automation across support, service, sales, marketing, and operational workflows."}),r.jsx(M.div,{initial:{opacity:0}
295,animate:{opacity:1},transition:{delay:2.5,duration:1},className:"w-full flex justify-center",children:r.jsx(kR,{})})]})});const LR=({progress:e,onClick:t,label:i="Click to Synchronize Deep Space Nodes",id:o})=>{const[l,c]=_.useState(!1),m=qt(0),p=Q(e||m,[0,1],[0,720]),y=()=>{if(c(!0),t)t();else{setTimeout(()=>{c(!1);const g=document.getElementById("service-01");g&&g.scrollIntoView({behavior:"smooth",block:"center"})},1e3);return}setTimeout(()=>c(!1),2e3)};return r.jsxs("div",{className:"relative w-full h-[300px] flex justify-center items-center mt-12 cursor-pointer group focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 rounded-3xl",onClick:y,role:"button",tabIndex:0,onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),y())},"aria-label":"View System Architecture Details",children:[r.jsxs(M.div,{style:{rotate:p},className:"relative w-64 h-64 z-10 origin-center pointer-events-none",children:[r.jsxs("svg",{viewBox:"0 0 120 120",className:"w-full h-full fill-none drop-shadow-[0_0_25px_rgba(59,130,246,0.4)]",children:[r.jsxs("defs",{children:[r.jsxs("pattern",{id:"gold-foil",x:"0",y:"0",width:"10",height:"10",patternUnits:"userSpaceOnUse",children:[r.jsx("path",{d:"M0 0L10 10M10 0L0 10",stroke:"#fbbf24",strokeWidth:"0.5",opacity:"0.3"}),r.jsx("rect",{width:"10",height:"10",fill:"#f59e0b",fillOpacity:"0.1"})]}),r.jsxs("linearGradient",{id:"solar-gradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[r.jsx("stop",{offset:"0%",stopColor:"#1e3a8a"}),r.jsx("stop",{offset:"50%",stopColor:"#3b82f6"}),r.jsx("stop",{offset:"100%",stopColor:"#1e40af"})]})]}),r.jsx("rect",{x:"45",y:"45",width:"30",height:"30",rx:"2",className:"fill-zinc-800 stroke-zinc-600",strokeWidth:"1"}),r.jsx("rect",{x:"48",y:"48",width:"24",height:"24",rx:"1",fill:"url(#gold-foil)",stroke:"#fbbf24",strokeWidth:"0.5",opacity:"0.8"}),r.jsx("circle",{cx:"60",cy:"30",r:"18",className:"stroke-zinc-500 fill-zinc-900/40",strokeWidth:"1"}),r.jsx("circle",{cx:"60",cy:"30",r:"3",className:"fill-blue-400"}),r.jsx("path",{d:"M42 30 L78 30 M60 12 L60 48",className:"stroke-zinc-700/50",strokeWidth:"0.5"}),r.jsx("rect",{x:"55",y:"75",width:"10",height:"15",className:"fill-zinc-700 stroke-zinc-500"}),r.jsx("path",{d:"M55 90 L65 90 M50 85 L70 85",className:"stroke-zinc-400",strokeWidth:"1"}),[0,180].map(g=>r.jsxs("g",{transform:`rotate(${g} 60 60)`,children:[r.jsx("rect",{x:"75",y:"40",width:"40",height:"40",rx:"1",fill:"url(#solar-gradient)",className:"stroke-blue-400",strokeWidth:"0.8"}),[1,2,3].map(v=>r.jsx("path",{d:`M75 ${40+v*10} L115 ${40+v*10}`,stroke:"rgba(255,255,255,0.2)",strokeWidth:"0.3"},`h-${v}`)),[1,2,3].map(v=>r.jsx("path",{d:`M${75+v*10} 40 L${75+v*10} 80`,stroke:"rgba(255,255,255,0.2)",strokeWidth:"0.3"},`v-${v}`)),r.jsx("path",{d:"M75 60 L80 60",className:"stroke-zinc-400",strokeWidth:"2"})]},`panel-${g}`)),r.jsx(M.circle,{cx:"60",cy:"60",r:"1.5",className:"fill-red-500",animate:{opacity:[0,1,0]},transition:{duration:.5,repeat:1/0}})]}),r.jsx("div",{className:"absolute inset-0 bg-blue-500/20 rounded-full blur-[60px] opacity-0 group-hover:opacity-100 transition-opacity"})]}),r.jsx("div",{className:"absolute -bottom-12 left-1/2 -translate-x-1/2 opacity-0 group-hover:opacity-100 transition-opacity z-10 w-full text-center",children:r.jsx("span",{className:"text-sm font-mono text-blue-400 uppercase tracking-widest border border-blue-500/30 rounded-full px-6 py-2 bg-blue-500/10 backdrop-blur-md shadow-lg shadow-blue-500/20",children:i})}),r.jsx(Xe,{children:l&&r.jsxs(M.div,{initial:{scale:0,opacity:1},animate:{scale:[.5,5,12],opacity:[1,.8,0],rotate:[0,90,180]},exit:{opacity:0},transition:{duration:1.2,ease:[.16,1,.3,1]},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-48 h-48 origin-center z-[100] pointer-events-none",children:[r.jsx("div",{className:"absolute inset-0 border-[2px] border-blue-500/50 rounded-full animate-ping"}),r.jsx("div",{className:"absolute inset-[-20%] border-[1px] border-white/20 rounded-full"}),r.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_center,_var(--tw-gradient-stops))] from-blue-400 via-indigo-600 to-transparent roun
295ded-full blur-[30px] mix-blend-screen opacity-80"}),r.jsx("div",{className:"absolute inset-4 bg-gradient-to-tr from-cyan-400 via-blue-500 to-indigo-500 border-2 border-white/50 rounded-full blur-[15px]"}),r.jsx("div",{className:"absolute inset-10 bg-white rounded-full blur-[8px] shadow-[0_0_120px_#fff]"}),[...Array(24)].map((g,v)=>{const b=v*15,w=Math.random()*.2;return r.jsx(M.div,{initial:{scaleY:0},animate:{scaleY:[0,1.5,0],opacity:[0,1,0]},transition:{duration:.6,delay:w,ease:"easeOut"},className:"absolute top-1/2 left-1/2 w-[2px] h-40 bg-gradient-to-t from-white via-blue-300 to-transparent rounded-full origin-bottom",style:{transform:`translate(-50%, -100%) rotate(${b}deg) translateY(-30px)`}},v)}),[...Array(12)].map((g,v)=>r.jsx(M.div,{initial:{x:0,y:0,opacity:1},animate:{x:Math.cos(v*30)*200,y:Math.sin(v*30)*200,opacity:0,scale:0},transition:{duration:1,ease:"easeOut"},className:"absolute top-1/2 left-1/2 w-2 h-2 bg-yellow-400 rounded-full blur-[2px]"},`p-${v}`))]})})]})},Mx=[{title:"CRM & SALES INTELLIGENCE",services:["Salesforce","HubSpot","Zoho CRM","Pipedrive","Copper","Fireberry","Zendesk Sell","Dynamics 365","Insightly","Capsule","Freshsales","Bitrix24","Keap"]},{title:"OPERATIONS & PRODUCTIVITY",services:["Monday.com","Asana","Trello","ClickUp","Jira","Basecamp","Notion","Wrike","Smartsheet","Teamwork","Airtable","Miro","Todoist"]},{title:"COMMUNICATION & OMNICHANNEL",services:["WhatsApp","Slack","Microsoft Teams","Discord","Telegram","Zoom","Intercom","Twilio","Freshdesk","Gorgias","Drift","Viber","Line"]},{title:"ERP & FINANCIAL ECOSYSTEMS",services:["SAP","Oracle NetSuite","Sage","QuickBooks Online","Xero","FreshBooks","Stripe","PayPal","Square","Wave","Expensify","Gusto","ADP"]},{title:"AUTOMATION & PROTOCOLS",services:["n8n","Make.com","Zapier","IFTTT","Pabbly Connect","Workato","Tray.io","MuleSoft","Celigo","REST API","GraphQL","Webhooks","gRPC"]},{title:"ECOMMERCE & TRAVEL SYSTEMS",services:["Amadeus","Sabre","Shopify","WooCommerce","Magento","BigCommerce","Mailchimp","Klaviyo","ActiveCampaign","SendGrid","Kinsta","Cloudflare"]},{title:"DATA & ANALYTICS PLATFORMS",services:["Tableau","Power BI","Looker","Snowflake","Databricks","BigQuery","Redshift","Fivetran","dbt","Segment","Mixpanel","Amplitude"]},{title:"DEVELOPER TOOLS & REPOS",services:["GitHub","GitLab","Bitbucket","Jira Software","Confluence","Sentry","Postman","Docker","Kubernetes","Terraform","Vault","CircleCI"]}],PR=["CRM ומודיעין מכירות","תפעול ופרודוקטיביות","תקשורת ורב-ערוציות","ERP ומערכות פיננסיות","אוטומציה ופרוטוקולים","מסחר אלקטרוני ותיירות","פלטפורמות נתונים וניתוח","כלי פיתוח ומאגרי קוד"],HR=Mx.map((e,t)=>({title:PR[t],services:e.services})),UR={Salesforce:"salesforce",HubSpot:"hubspot","Zoho CRM":"zoho-crm",Pipedrive:"pipedrive",Copper:"copper",Fireberry:"fireberry","Zendesk Sell":"zendesk-sell","Dynamics 365":"dynamics-365",Insightly:"insightly",Capsule:"capsule",Freshsales:"freshsales",Bitrix24:"bitrix24",Keap:"keap","Monday.com":"monday-com",Asana:"asana",Trello:"trello",ClickUp:"clickup",Jira:"jira-software",Basecamp:"basecamp",Notion:"notion",Wrike:"wrike",Smartsheet:"smartsheet",Teamwork:"teamwork",Airtable:"airtable",Miro:"miro",Todoist:"todoist",WhatsApp:"whatsapp",Slack:"slack","Microsoft Teams":"microsoft-teams",Discord:"discord",Telegram:"telegram",Zoom:"zoom",Intercom:"intercom",Twilio:"twilio",Freshdesk:"freshdesk",Gorgias:"gorgias",Drift:"drift",Viber:"viber",Line:"line",SAP:"sap","Oracle NetSuite":"netsuite",Sage:"sage","QuickBooks Online":"quickbooks-online",Xero:"xero",FreshBooks:"freshbooks",Stripe:"stripe",PayPal:"paypal",Square:"square",Wave:"wave",Expensify:"expensify",Gusto:"gusto",ADP:"adp",n8n:"n8n","Make.com":"make",Zapier:"zapier",IFTTT:"ifttt","Pabbly Connect":"pabbly-connect",Workato:"workato","Tray.io":"tray-io",MuleSoft:"mulesoft",Celigo:"celigo",Amadeus:"amadeus",Sabre:"sabre",Shopify:"shopify",WooCommerce:"woocommerce",Magento:"magento",BigCommerce:"bigcommerce",Mailchimp:"mailchimp",Klaviyo:"klaviyo",ActiveCampaign:"activecampaign",SendGrid:"sendgrid"},jR=({locale:e="en"}={})=>{const t=e==="he";return r.jsxs("section",{dir:t?"rtl":"ltr",className:`py-32 relative overflow-hidden ${t?"font-hebrew":""}`,children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),r.jsx("div",{className:"absolute top-0 left-1/4 w-[1px] h-full bg-gradient-to-b from-transparent via-blue-500/5 to-transparent"}),r.jsx("div",{className:"absolute top-0 right-1/4 w-[1px] h-full bg-gradient-to-b from-transparent via-purple-500/5 to-transparent"}),r.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[r.jsxs(M.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-24",children:[r.jsxs("div",{className:`inline-flex items-center gap-2 px-3 py-1 rounded-full border border-blue-500/20 bg-blue-500/5 text-blue-400 mb-6 ${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] uppercase font-mono tracking-widest"}`,children:[r.jsx(x1,{className:"w-3 h-3"}),t?"רשת חיבוריות":"Network Interconnectivity"]}),r.jsx("h2",{className:"text-4xl md:text-7xl font-display font-bold tracking-tighter text-white mb-6 uppercase",children:t?r.jsxs(r.Fragment,{children:["אינטגרציות ",r.jsx("span",{className:"text-blue-400",children:"גלובליות"})]}):r.jsxs(r.Fragment,{children:["Global ",r.jsx("span",{className:"text-blue-400",children:"Integrations"})]})}),r.jsx("p",{className:"text-xl text-white/40 max-w-2xl mx-auto font-light leading-relaxed",children:t?r.jsxs(r.Fragment,{children:["מחוברים בצורה חלקה ל",r.jsx("span",{className:"text-white/80 font-medium",children:"80+ שירותים ארגוניים"}),", ערוצי תקשורת ו-webhooks מתקדמים לאוטומציה."]}):r.jsxs(r.Fragment,{children:["Seamlessly connected to over ",r.jsx("span",{className:"text-white/80 font-medium",children:"80+ enterprise services"}),", communication channels, and advanced automation webhooks."]})})]}),r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:(t?HR:Mx).map((i,o)=>r.jsxs(M.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:o*.1},className:"p-8 rounded-[2rem] bg-black/40 backdrop-blur-sm border border-white/5 hover:border-blue-500/30 transition-all group relative overflow-hidden",children:[r.jsx("div",{className:"absolute -top-12 -right-12 w-24 h-24 bg-blue-500/5 blur-3xl group-hover:bg-blue-500/10 transition-colors"}),r.jsxs("h3",{className:`${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-[0.4em]"} text-blue-400/80 mb-10 pb-4 border-b border-white/5 flex items-center justify-between`,children:[i.title,r.jsx("div",{className:"w-1 h-1 rounded-full bg-blue-500"})]}),r.jsx("div",{className:"flex flex-wrap gap-2.5",children:i.services.map(l=>{const c=UR[l],m="px-3.5 py-2 rounded-xl bg-white/[0.03] border border-white/5 text-[10px] font-mono whitespace-nowrap text-white/50 group-hover:text-white/80 hover:bg-white/[0.08] transition-all hover:border-blue-500/30 hover:shadow-[0_0_15px_rgba(59,130,246,0.2)]";return t&&c?r.jsx(M.a,{href:`/he/integrations/${c}`,whileHover:{scale:1.05,y:-2},className:`${m} cursor-pointer`,children:l}
295,l):r.jsx(M.span,{whileHover:{scale:1.05,y:-2},className:`${m} cursor-default`,children:l},l)})})]},i.title))}),r.jsxs(M.div,{initial:{opacity:0,scale:.98},whileInView:{opacity:1,scale:1},viewport:{once:!0},className:"mt-20 p-1 md:p-16 rounded-[4rem] bg-gradient-to-br from-blue-500/10 via-black to-purple-500/10 border border-white/10 text-center relative overflow-hidden group",children:[r.jsx("div",{className:"absolute inset-0 bg-[url('https://www.transparenttextures.com/patterns/carbon-fibre.png')] opacity-[0.03] pointer-events-none"}),r.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-96 h-96 bg-blue-600/5 blur-[120px] pointer-events-none"}),r.jsxs("div",{className:"relative z-10 flex flex-col items-center py-10 md:py-0",children:[r.jsx("div",{className:"w-20 h-20 rounded-full bg-blue-500/20 flex items-center justify-center mb-8 border border-blue-500/30 group-hover:scale-110 transition-transform",children:r.jsx(qg,{className:"w-10 h-10 text-blue-400"})}),r.jsx("h4",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-6 tracking-tight",children:t?"ניהול אינטגרציות מתקדם":"Advanced Protocol Orchestration"}),r.jsx("p",{className:"text-lg text-white/40 max-w-2xl mx-auto mb-12 font-light leading-relaxed",children:t?r.jsxs(r.Fragment,{children:["מעבר לאינטגרציות הסטנדרטיות, אנחנו מפתחים ",r.jsx("span",{className:"text-blue-400 font-medium",children:"רכיבים מותאמים ב-n8n"}),", ",r.jsx("span",{className:"text-purple-400 font-medium",children:"תרחישים ב-Make"})," ו",r.jsx("span",{className:"text-emerald-400 font-medium",children:"תהליכי אוטומציה ב-Zapier"}),", ומחברים אותם לסביבת Dscope בהתאם לצורכי הארגון."]}):r.jsxs(r.Fragment,{children:["Beyond standard integrations, we build custom ",r.jsx("span",{className:"text-blue-400 font-medium",children:"n8n nodes"}),", ",r.jsx("span",{className:"text-purple-400 font-medium",children:"Make scenarios"}),", and ",r.jsx("span",{className:"text-emerald-400 font-medium",children:"Zapier automation flows"})," and connect them to Dscope based on the organization's workflows and policies."]})}),r.jsx("div",{className:"flex flex-wrap justify-center gap-8 md:gap-12",children:(t?["Webhooks מותאמים","REST API","GraphQL","gRPC","WebSockets","TCP/IP Nodes"]:["Custom Webhooks","REST API","GraphQL","gRPC","WebSockets","TCP/IP Nodes"]).map(i=>r.jsxs("div",{className:`flex items-center gap-3 ${t?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-[0.2em]"} text-white/30 hover:text-blue-400 transition-colors`,children:[r.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-blue-500/50 shadow-[0_0_8px_rgba(59,130,246,1)]"}),i]},i))})]})]})]})]})},Dx=_.memo(({service:e,i:t,locale:i="en"})=>{const[o,l]=_.useState(!1),c=i==="he";return r.jsxs(M.div,{id:`service-${e.id}`,dir:c?"rtl":"ltr",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),variants:{hidden:{opacity:0,y:50,scale:.95},visible:{opacity:1,y:0,scale:1,transition:{duration:.7,ease:[.16,1,.3,1]}}},whileHover:{y:-12,scale:1.02,borderColor:"rgba(255, 255, 255, 0.4)",boxShadow:"0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.2)",transition:{duration:.4,ease:[.16,1,.3,1]}},className:`relative p-8 md:p-12 lg:p-16 transition-all duration-700 overflow-hidden ${e.id==="11"||e.id==="12"||e.id==="13"?"bg-transparent border-transparent":"rounded-[2.5rem] lg:rounded-[3rem] bg-black/60 lg:bg-white/[0.03] border border-white/10 group"} ${c?"font-hebrew":""}`,children:[r.jsx(M.div,{className:`absolute inset-0 z-0 bg-[radial-gradient(circle_at_var(--x,_50%)_var(--y,_50%),_rgba(59,130,246,0.1)_0%,_transparent_50%)] transition-opacity duration-500 ${e.id==="11"||e.id==="12"||e.id==="13"?"opacity-100":"opacity-0 group-hover:opacity-100"}`,animate:{filter:["brightness(1)","brightness(1.5)","brightness(1)"]},transition:{duration:2,repeat:1/0}}),r.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none rounded-[2.5rem] lg:rounded-[3rem]",children:[r.jsx("img",{loading:"lazy",src:e.image,alt:"",className:`absolute inset-0 w-full h-full object-cover mix-blend-screen transition-all duration-1000 ${e.id==="11"||e.id==="12"||e.id==="13"?"opacity-30 grayscale-0 scale-100":"opacity-10 group-hover:opacity-40 grayscale group-hover:grayscale-0 scale-110 group-hover:scale-100"}`,referrerPolicy:"no-referrer"}),r.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/80 via-black/40 to-black/80 lg:bg-transparent"})]}),r.jsx(M.div,{className:`absolute top-0 left-0 w-full h-[1px] bg-gradient-to-r from-transparent via-blue-400/50 to-transparent z-10 ${e.id==="11"||e.id==="12"||e.id==="13"?"opacity-100":"opacity-0 group-hover:opacity-100"}`,animate:{y:["0%","1000%"]},transition:{duration:3,repeat:1/0,ease:"linear"}}),r.jsxs("div",{className:`relative z-20 flex flex-col ${t%2===0?"lg:flex-row":"lg:flex-row-reverse"} items-center justify-between gap-8 lg:gap-16 max-w-6xl mx-auto`,children:[r.jsxs("div",{className:`flex-1 w-full flex flex-col items-center text-center ${c?"lg:items-start lg:text-start":t%2===0?"lg:items-start lg:text-left":"lg:items-end lg:text-right"}`,children:[r.jsx("div",{className:`flex flex-wrap justify-center ${c||t%2===0?"lg:justify-start":"lg:justify-end"} gap-2 mb-6 md:mb-8`,children:e.tags.map(m=>r.jsx("span",{className:`px-4 py-1.5 rounded-full border border-white/10 text-white/50 bg-white/5 backdrop-blur-sm ${c?"text-[13px] font-hebrew tracking-normal":"text-[9px] md:text-[10px] uppercase font-mono tracking-wider"}`,children:m},m))}),r.jsx(M.h3,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,ease:[.16,1,.3,1]},className:`text-[clamp(1.75rem,5vw,3rem)] md:text-[clamp(2.5rem,6vw,4rem)] font-display font-black tracking-tighter uppercase whitespace-normal break-words flex flex-wrap gap-x-[0.3em] justify-center ${c||t%2===0?"lg:justify-start":"lg:justify-end"}`,children:e.name.split(" ").map((m,p)=>{const y=["text-blue-400","text-emerald-400","text-purple-400","text-blue-500"];return r.jsx("span",{className:`${y[p%4]} drop-shadow-[0_0_15px_rgba(255,255,255,0.2)]`,children:m},p)})}),r.jsx("p",{className:"text-base md:text-lg lg:text-xl text-white/50 max-w-2xl leading-relaxed font-light drop-shadow-md mt-4 md:mt-6",children:e.desc}),e.coreValues&&r.jsxs("div",{className:`mt-6 flex flex-col gap-3 items-center ${c||t%2===0?"lg:items-start":"lg:items-end"}`,children:[r.jsx("div",{className:`${c?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono tracking-widest uppercase"} text-white/30`,children:c?"ערכי ליבה":"Core Values"}),r.jsx("div",{className:"flex flex-wrap gap-4 justify-center md:justify-start",children:e.coreValues.map((m,p)=>r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx("div",{className:"w-1 h-1 rounded-full bg-blue-500 shadow-[0_0_8px_rgba(59,130,246,0.8)]"}),r.jsx("span",{className:"text-sm font-medium text-white/80",children:m})]},p))})]}),e.detailPath&&r.jsxs("a",{href:e.detailPath,className:"mt-7 inline-flex items-center gap-2 text-sm font-bold text-blue-300 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-400 rounded-md",children:[c?"לפרטי היכולת":"Explore capability",r.jsx(Vu,{className:`w-4 h-4 ${c?"rotate-180":""}`,"aria-hidden":"true"})]})]}),r.jsxs("div",{className:"w-48 h-48 md:w-64 md:h-64 lg:w-72 lg:h-72 shrink-0 rounded-full border border-white/20 flex items-center justify-center hover:bg-white/5 hover:border-white/50 transition-all relative bg-black/60 lg:bg-transparent backdrop-blur-md",children:[r.jsx(M.div,{initial:{opacity:0,scale:.5},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:1,ease:[.16,1,.3,1],delay:.2},className:"w-full h-full absolute inset-0 z-10",children:r.jsx(kI,{type:e.modelVariant,isHovered:o,name:e.name,desc:e.desc})}),r.jsx(M.div,{animate:{rotate:360},transition:{duration:10,repeat:1/0,ease:"linear"},className:`absolute inset-0 bg-[conic-gradient(from_0deg,_transparent,_black,_transparent)] transition-opacity duration-500 ${o?"opacity-10":"opacity-0"}`})]})]}),(e.id==="11"||e.id==="12"||e.id==="13")&&r.jsxs("div",{className:"mt-16 md:mt-24 relative z-30 max-w-6xl mx-auto w-full",children:[r.jsx("div",{className:"text-center mb-8",children:r.jsx("span",{className:`${c?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-[0.3em]"} text-blue-400`,children:c?"לוח בקרה לדוגמה - נתוני המחשה":"Live Dashboard Example"})}),r.jsx(W5,{id:e.id,locale:i})]})]})});Dx.displayName="ServiceItem";const GR=({progress:e,locale:t="en"})=>{const i=t==="he",o=Q(e||0,[0,.05,.9,1],[1,1,1,0]),l=Q(e||0,[0,.5,1],[1,1.05,1.1]),c=Q(e||0,[0,.5,1],[0,10,-50]),m=Q(e||0,[0,.5,1],[0,.5,1]),p=Q(e||0,[.85,.98],[1,1.1]),y=Q(e||0,[.85,.98],[0,-100]),g=[{text:"what",color:"text-blue-400"},{text:"you",color:"text-emerald-400"},{text:"see",color:"text-purple-400"},{text:"is",color:"text-blue-400"},{text:"what",color:"text-emerald-400"},{text:"you",color:"text-purple-400"},{text:"get",color:"text-blue-400"}
295];return r.jsxs(M.header,{initial:{opacity:0},animate:{opacity:1},style:{opacity:o,scale:p,y},dir:i?"rtl":"ltr",className:`text-center flex flex-col items-center max-w-7xl mx-auto min-h-[100dvh] justify-start relative z-10 pt-16 md:pt-20 pb-12 md:pb-16 px-4 ${i?"font-hebrew":""}`,children:[r.jsxs(M.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"inline-flex items-center gap-3 px-8 py-3 rounded-full border border-blue-500/30 bg-blue-500/10 mb-12 backdrop-blur-2xl",children:[r.jsx(Og,{className:"w-6 h-6 text-blue-400"}),r.jsx("span",{className:"text-base font-mono uppercase tracking-[0.4em] text-blue-300",children:i?"ארכיטקטורה חיה":"Live Architecture"})]}),i?r.jsxs(M.h1,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1,ease:[.16,1,.3,1]},style:{scale:l,y:c,rotate:m},className:"text-[12vw] sm:text-7xl md:text-8xl lg:text-[7rem] xl:text-[9rem] font-display font-black leading-[0.85] tracking-tighter relative z-10 drop-shadow-[0_20px_40px_rgba(0,0,0,0.8)] outline-none flex flex-wrap justify-center gap-x-[0.25em]",children:[r.jsx("span",{className:"text-blue-400",style:{WebkitTextStroke:"2px rgba(255,255,255,0.1)",filter:"drop-shadow(0 0 20px rgba(59,130,246,0.3))"},children:"מה שרואים"}),r.jsx("span",{className:"text-purple-400",style:{WebkitTextStroke:"2px rgba(255,255,255,0.1)",filter:"drop-shadow(0 0 20px rgba(59,130,246,0.3))"},children:"זה מה שמקבלים"})]}):r.jsx(M.h1,{style:{scale:l,y:c,rotate:m},className:"text-[12vw] sm:text-7xl md:text-8xl lg:text-[7rem] xl:text-[9rem] font-display font-black leading-[0.85] tracking-tighter uppercase relative z-10 drop-shadow-[0_20px_40px_rgba(0,0,0,0.8)] outline-none flex flex-wrap justify-center gap-x-[3vw] lg:gap-x-8",children:g.map((v,b)=>r.jsx(M.span,{initial:{opacity:0,y:50,rotateX:90},animate:{opacity:1,y:0,rotateX:0},transition:{duration:1,delay:b*.1,type:"spring",stiffness:100,damping:20},className:`inline-block ${v.color} hover:text-white transition-colors duration-500 cursor-default`,style:{WebkitTextStroke:"2px rgba(255,255,255,0.1)",filter:"drop-shadow(0 0 20px rgba(59,130,246,0.3))"},children:v.text},b))}),r.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[800px] rounded-full bg-gradient-to-r from-blue-600/20 via-purple-600/20 to-emerald-600/20 blur-[120px] -z-10 pointer-events-none mix-blend-screen"})]})},VR=({progress:e,locale:t="en"})=>{const i=t==="he",o=Q(e||0,[0,.05,.9,1],[1,1,1,0]),l=Q(e||0,[0,.5,1],[1,1.3,1.5]),c=Q(e||0,[0,.5,1],[0,10,-50]),m=Q(e||0,[0,.5,1],[0,1,2]),p=Q(e||0,[.85,.98],[1,1.1]),y=Q(e||0,[.85,.98],[0,-100]),g=[{text:"We",color:"text-blue-400"},{text:"migrate",color:"text-emerald-400"},{text:"your",color:"text-purple-400"},{text:"workflows",color:"text-purple-400"},{text:"to",color:"text-blue-400"},{text:"a",color:"text-emerald-400"},{text:"new",color:"text-purple-400"},{text:"era.",color:"text-purple-400"}];return r.jsxs(M.header,{initial:{opacity:0}
295,animate:{opacity:1},style:{opacity:o,scale:p,y},dir:i?"rtl":"ltr",className:`text-center flex flex-col items-center max-w-7xl mx-auto min-h-[100dvh] justify-start relative z-10 pt-16 md:pt-20 pb-12 md:pb-20 px-4 ${i?"font-hebrew":""}`,children:[r.jsxs(M.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"inline-flex items-center gap-3 px-8 py-3 rounded-full border border-blue-500/30 bg-blue-500/10 mb-12 backdrop-blur-2xl",children:[r.jsx(Og,{className:"w-6 h-6 text-blue-400"}),r.jsx("span",{className:"text-base font-mono uppercase tracking-[0.4em] text-blue-300",children:i?"זרימות עבודה חכמות":"Intelligent Workflows"})]}),i?r.jsxs(M.h1,{style:{scale:l,y:c,rotate:m},initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1.2,delay:.2,ease:[.16,1,.3,1]},className:"text-4xl sm:text-6xl md:text-8xl lg:text-[9rem] leading-[1.05] md:leading-[0.95] font-display font-black tracking-tight text-center max-w-7xl mx-auto justify-center flex flex-col items-center drop-shadow-[0_0_40px_rgba(255,255,255,0.2)] pb-12 overflow-visible",children:[r.jsx("span",{className:"text-purple-400",children:"אנחנו מעבירים את"}),r.jsx("span",{className:"text-emerald-400",children:"תהליכי העבודה שלכם"}),r.jsx("span",{className:"text-blue-400",children:"לעידן חדש"})]}):r.jsx(M.h1,{style:{scale:l,y:c,rotate:m},initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1.2,delay:.2,ease:[.16,1,.3,1]},className:"text-4xl sm:text-6xl md:text-8xl lg:text-[11rem] leading-[0.9] md:leading-[0.8] font-display font-black tracking-tighter text-center max-w-7xl mx-auto italic justify-center flex flex-wrap drop-shadow-[0_0_40px_rgba(255,255,255,0.2)] pb-12 overflow-visible",children:g.map((v,b)=>r.jsx("span",{className:`${v.color} mr-[0.3em] last:mr-0`,children:v.text},b))})]})},zR=({locale:e="en"}={})=>{const t=e==="he",i=_.useRef(null),{scrollYProgress:o}=$t({target:i,offset:["start end","end start"]}),l=Fe(o,{stiffness:40,damping:25,restDelta:.001}),c="WE ALREADY SOLVED 90% OF OUR CASES AUTOMATICALLY".split(" ");return r.jsxs("div",{ref:i,dir:t?"rtl":"ltr",className:`mb-16 md:mb-24 text-center flex flex-col items-center max-w-7xl mx-auto relative z-10 pt-8 md:pt-16 ${t?"font-hebrew":""}`,children:[t?r.jsxs("div",{className:"font-display font-medium tracking-tight mb-10 leading-[1.05] w-full flex flex-col items-center gap-2 md:gap-4",children:[r.jsx(M.span,{initial:{y:-100,opacity:0},whileInView:{y:0,opacity:1},viewport:{once:!0,margin:"-10%"},transition:{duration:1,type:"spring",bounce:.4},className:"text-4xl md:text-6xl lg:text-7xl text-white/40 font-light",children:"כבר פתרנו"}),r.jsx(M.span,{initial:{y:-200,opacity:0},whileInView:{y:0,opacity:1},viewport:{once:!0,margin:"-10%"},transition:{duration:1,delay:.3,type:"spring",bounce:.4},className:"text-4xl sm:text-6xl md:text-8xl lg:text-9xl font-black italic px-2 block w-full my-4 text-emerald-400",children:"90% מהמקרים שלנו"}),r.jsxs(M.span,{initial:{scale:.5,y:-200,opacity:0,filter:"blur(10px)"},whileInView:{scale:1,y:0,opacity:1,filter:"blur(0px)"},viewport:{once:!0,margin:"-10%"},transition:{duration:1.5,delay:.6,type:"spring",bounce:.6},className:"text-3xl sm:text-5xl md:text-7xl lg:text-8xl font-black italic px-2 block w-full my-4 text-transparent bg-clip-text bg-gradient-to-r from-blue-400 via-emerald-400 to-purple-500 tracking-normal relative [text-wrap:balance]",children:["באופן אוטומטי",r.jsx(M.div,{className:"absolute inset-0 bg-blue-500/20 blur-xl z-[-1]",animate:{opacity:[0,1,0],scale:[.8,1.2,.8]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})]})]}):r.jsx("div",{className:"font-display font-medium tracking-tighter mb-10 leading-[1.05] w-full flex flex-wrap justify-center gap-x-3 gap-y-2 md:gap-x-6 md:gap-y-4",children:c.map((m,p)=>m==="90%"?r.jsx(M.span,{initial:{y:-200,opacity:0},whileInView:{y:0,opacity:1},viewport:{once:!0,margin:"-10%"},transition:{duration:1,delay:p*1,type:"spring",bounce:.4},className:"text-4xl sm:text-6xl md:text-8xl lg:text-9xl font-black italic px-2 block w-full my-4 text-emerald-400",children:m},p):m==="AUTOMATICALLY"?r.jsxs(M.span,{initial:{scale:.5,y:-200,opacity:0,filter:"blur(10px)"},whileInView:{scale:1,y:0,opacity:1,filter:"blur(0px)"},viewport:{once:!0,margin:"-10%"},transition:{duration:1.5,delay:p*1,type:"spring",bounce:.6},className:"text-3xl sm:text-5xl md:text-7xl lg:text-8xl font-black italic px-2 block w-full my-4 text-transparent bg-clip-text bg-gradient-to-r from-blue-400 via-emerald-400 to-purple-500 tracking-normal sm:tracking-widest relative",children:[m,r.jsx(M.div,{className:"absolute inset-0 bg-blue-500/20 blur-xl z-[-1]",animate:{o
295pacity:[0,1,0],scale:[.8,1.2,.8]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})]},p):r.jsx(M.span,{initial:{y:-100,opacity:0},whileInView:{y:0,opacity:1},viewport:{once:!0,margin:"-10%"},transition:{duration:1,delay:p*.1,type:"spring",bounce:.4},className:"text-4xl md:text-6xl lg:text-7xl text-white/40 font-light",children:m},p))}),r.jsx("div",{className:"mt-8 mb-16 w-full text-center",children:t?r.jsx("h2",{className:"text-4xl md:text-6xl lg:text-[7rem] leading-none font-black tracking-tight text-blue-500 [text-wrap:balance]",children:"עכשיו התור שלכם"}):r.jsx(Rx,{text:"NOW ITS YOUR TURN",progress:l,className:"text-4xl md:text-6xl lg:text-[7rem] leading-none uppercase font-black tracking-tighter text-blue-500",lightning:!0})}),r.jsx("div",{className:"text-lg md:text-2xl text-white/60 leading-[1.2] max-w-4xl mx-auto px-4 mt-16 font-medium relative uppercase tracking-tighter text-center",children:t?r.jsxs("p",{className:"normal-case tracking-normal",children:["בחמש שנים עברנו מקוד לתודעה. אנחנו לא רק מבצעים אוטומציה של משימות; אנחנו מרוממים את החוויה הביולוגית באמצעות תזמור ",r.jsx("span",{dir:"ltr",style:{unicodeBidi:"isolate"},children:"AI"})," ברמה כירורגית. הצוותים שלכם לא עובדים בשבילנו; אנחנו עובדים בשבילם, באופן אישי."]}):r.jsx("p",{children:"In five years, we've gone from code to consciousness. We don't just automate tasks; we elevate the biological experience through surgical-grade AI orchestration. Your teams don't work for us; we work for them, personally."})})]})};class BR extends _.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,i){Po.error("Uncaught error captured by ErrorBoundary",{error:t.message,stack:t.stack,componentStack:i.componentStack})}render(){var t;return this.state.hasError?r.jsx("div",{className:"min-h-screen bg-[#000005] flex items-center justify-center p-6 text-center",children:r.jsxs("div",{className:"max-w-md w-full p-8 border border-red-500/30 bg-red-500/5 rounded-[2rem] backdrop-blur-xl",children:[r.jsx("h2",{className:"text-2xl font-display font-bold text-red-400 mb-4 uppercase tracking-tighter italic",children:"System Failure"}),r.jsxs("div",{className:"mb-8 overflow-hidden",children:[r.jsx("p",{className:"text-white/40 font-mono text-[10px] mb-2 uppercase tracking-widest",children:"A critical runtime anomaly was detected:"}),r.jsx("div",{className:"p-4 bg-black/40 rounded-xl border border-red-500/20 text-red-300/80 font-mono text-[10px] text-left break-words",children:((t=this.state.error)==null?void 0:t.message)||"Unknown Core Exception"})]}),r.jsx("button",{onClick:()=>window.location.reload(),className:"px-8 py-3 bg-red-600/20 border border-red-500/40 text-red-400 font-mono text-xs uppercase tracking-widest hover:bg-red-600/40 transition-all rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-red-500",children:"Reboot Matrix"})]})}):this.props.children}}const cM=({feature:e,index:t})=>{const[i,o]=_.useState(!1),l=["#3b82f6","#10b981","#8b5cf6","#f59e0b"],c=l[t%l.length];return r.jsxs(M.div,{variants:{hidden:{opacity:0,y:30,scale:.9},visible:{opacity:1,y:0,scale:1,transition:{type:"spring",stiffness:100,damping:20}}},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:"group p-8 md:p-10 aspect-square flex flex-col items-center justify-center text-center bg-black/60 backdrop-blur-[40px] rounded-[2.5rem] shadow-[0_0_60px_rgba(59,130,246,0.10)] hover:shadow-[0_0_100px_rgba(59,130,246,0.20)] transition-all duration-500 relative overflow-hidden",children:[r.jsx("div",{className:"w-32 h-32 flex items-center justify-center mb-6 relative z-10 transition-transform duration-500 group-hover:scale-110",children:r.jsx(ct,{type:e.type,color:c})}),r.jsx(La,{text:e.title,className:"text-2xl font-display font-bold mb-4 uppercase tracking-tighter"}),r.jsx("p",{className:"text-white/40 leading-relaxed text-sm px-4",children:e.desc})]})};function OR(){const[e,t]=_.useState("dark"),i=()=>{const o=e==="dark"?"light":"dark";t(o),o==="light"?document.body.classList.add("theme-light"):document.body.classList.remove("theme-light")};return r.jsx(_x.Provider,{value:{theme:e,toggleTheme:i},children:r.jsx(BR,{children:r.jsx($R,{})})})}const qR=({globalBg:e,setGlobalBg:t})=>{const{scrollYProgress:i}=$t(),o=Fe(i,{stiffness:100,damping:30});return r.jsxs("div",{className:"max-w-7xl mx-auto px-6 space-y-32",children:[r.jsxs("div",{className:"text-center pt-20",children:[r.jsx("h1",{className:"text-5xl md:text-7xl font-display font-black tracking-tighter mb-6 relative z-10",children:"Brand Identity"}),r.jsx("p",{className:"text-xl text-white/50 max-w-2xl mx-auto relative z-10",children:"The comprehensive visual language, typography, colors, animations, and structures of Dscope."})]}),r.jsxs("section",{className:"relative z-10",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Primary Logo & Animations"}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[r.jsxs("div",{className:"p-8 md:p-12 bg-white/5 border border-white/10 rounded-3xl flex flex-col items-center justify-center overflow-hidden gap-8",children:[r.jsx("div",{className:"text-sm font-mono text-white/40 uppercase tracking-widest text-center",children:"Interactive State"}),r.jsx("div",{className:"w-full max-w-[200px] md:max-w-[400px]",children:r.jsx(Gu,{className:"w-full h-auto text-4xl md:text-8xl scale-125",cycling:!0})}),r.jsx("p",{className:"text-white/40 font-mono text-xs text-center max-w-sm mt-4",children:"Hover to trigger hover animation, text glow, and symbol transformation cycle."})]}),r.jsxs("div",{className:"p-8 md:p-12 bg-white/5 border border-white/10 rounded-3xl flex flex-col items-center justify-center overflow-hidden gap-8",children:[r.jsx("div",{className:"text-sm font-mono text-white/40 uppercase tracking-widest text-center",children:"Delta Hover Element"}),r.jsx("div",{className:"w-32 h-32 flex items-center justify-center bg-black/50 border border-white/20 rounded-2xl",children:r.jsx(ZI,{children:r.jsx("div",{className:"text-white font-mono uppercase tracking-widest text-sm p-4 cursor-pointer",children:"Hover Me"})})}),r.jsx("p",{className:"text-white/40 font-mono text-xs text-center max-w-sm mt-4",children:"Used on interactive structural elements, displaying a rotating Delta symbol."})]})]})]}),r.jsxs("section",{className:"relative z-10",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Color Palette & Gradients"}),r.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mb-12",children:[r.jsxs("div",{className:"space-y-3",children:[r.jsx("div",{className:"h-24 rounded-2xl bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.3)] border border-white/10"}),r.jsxs("div",{children:[r.jsx("div",{className:"font-bold",children:"Primary Blue"}),r.jsx("div",{className:"text-white/50 text-sm",children:"#3b82f6"})]})]}),r.jsxs("div",{className:"space-y-3",children:[r.jsx("div",{className:"h-24 rounded-2xl bg-[#00000a] border border-white/20"}),r.jsxs("div",{children:[r.jsx("div",{className:"font-bold",children:"Deep Space"}),r.jsx("div",{className:"text-white/50 text-sm",children:"#00000a"})]})]}),r.jsxs("div",{className:"space-y-3",children:[r.jsx("div",{className:"h-24 rounded-2xl bg-emerald-400 border border-white/10"}),r.jsxs("div",{children:[r.jsx("div",{className:"font-bold",children:"Accent Emerald"}),r.jsx("div",{className:"text-white/50 text-sm",children:"#34d399"})]})]}),r.jsxs("div",{className:"space-y-3",children:[r.jsx("div",{className:"h-24 rounded-2xl bg-purple-500 border border-white/10"}),r.jsxs("div",{children:[r.jsx("div",{className:"font-bold",children:"Accent Purple"}),r.jsx("div",{className:"text-white/50 text-sm",children:"#a855f7"})]})]})]}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[r.jsxs("div",{className:"p-8 rounded-2xl border border-white/10 relative overflow-hidden bg-gradient-to-br from-blue-500/20 via-black to-purple-500/20",children:[r.jsx("h3",{className:"text-xl font-bold mb-4",children:"Command Gradient"}),r.jsx("p",{className:"text-white/50 text-sm",children:"bg-gradient-to-br from-blue-500/20 via-black to-purple-500/20"})]}),r.jsxs("div",{className:"p-8 rounded-2xl border border-blue-500/30 relative overflow-hidden bg-gradient-to-b from-blue-900/40 to-transparent",children:[r.jsx("h3",{className:"text-xl font-bold mb-4 inline-block text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-indigo-500",children:"Text Gradient 1"}),r.jsx("p",{className:"text-white/50 text-sm",children:"bg-gradient-to-r from-blue-400 to-indigo-500"})]}),r.jsxs("div",{className:"p-8 rounded-2xl border border-emerald-500/30 relative overflow-hidden bg-gradient-to-br from-emerald-500/10 to-transparent",children:[r.jsx("h3",{className:"text-xl font-bold mb-4 inline-block text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 to-teal-500",children:"Text Gradient 2"}),r.jsx("p",{className:"text-white/50 text-sm",children:"bg-gradient-to-r from-emerald-400 to-teal-500"})]}),r.jsxs("div",{className:"p-8 rounded-2xl border border-white/10 relative overflow-hidden",children:[r.jsx("h3",{className:"text-xl font-bold mb-4 inline-block text-transparent bg-clip-text bg-gradient-to-br from-white via-blue-200 to-indigo-500",children:"Silver/Blue Foil"}),r.jsx("p",{className:"text-white/50 text-sm",children:"bg-gradient-to-br from-white via-blue-200 to-indigo-500"})]})]})]}),r.jsxs("section",{className:"relative z-10",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Flagship Orbital Hardware"}),r.jsxs("div",{className:"bg-white/5 border border-white/10 rounded-3xl p-12 flex flex-col items-center justify-center relative overflow-hidden group",children:[r.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_center,_rgba(59,130,246,0.05)_0%,_transparent_70%)]"}),r.jsx(LR,{progress:o,label:"Interactive Brand Flagship Hardware"})]})]}),r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Orbital Brand Assets"}),r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:F5.map(l
295=>r.jsx("div",{className:"bg-white/5 border border-white/10 rounded-3xl p-8 flex flex-col items-center justify-center gap-8 relative overflow-hidden group",children:r.jsx(yI,{type:l.id})},l.id))})]}),r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Microscopic Entities"}),r.jsx("p",{className:"text-white/50 mb-8 max-w-3xl",children:"Animated representations of molecular, atomic, and biological structures utilized in visualizations."}),r.jsx(K5,{})]}),r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Typography & Text Treatments"}),r.jsxs("div",{className:"space-y-12",children:[r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 items-start",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl font-bold text-white/50 mb-2",children:"Display (Inter)"}),r.jsx("p",{className:"text-sm text-white/40",children:"Used for massive dimensional titles, primary headers, and high-impact messaging."})]}),r.jsxs("div",{className:"md:col-span-2",children:[r.jsx("div",{className:"font-display font-black text-4xl sm:text-5xl md:text-6xl break-words leading-none tracking-tighter uppercase",children:"Massive Impact"}),r.jsx("div",{className:"font-display font-bold text-3xl sm:text-4xl mt-4 tracking-tighter italic",children:"Dynamic Italics"})]})]}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 items-start pt-8 border-t border-white/5",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl font-bold text-white/50 mb-2",children:"Sans (Inter)"}),r.jsx("p",{className:"text-sm text-white/40",children:"Used for body copy, paragraphs, and functional UI elements."})]}),r.jsx("div",{className:"md:col-span-2",children:r.jsx("div",{className:"font-sans font-normal text-xl sm:text-2xl leading-relaxed text-white/70",children:"Elegant, readable paragraphs with plenty of line height for comfortable scanning. We use lowered opacity (text-white/70, text-white/50) instead of grey colors to adopt background hues."})})]}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 items-start pt-8 border-t border-white/5",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl font-bold text-white/50 mb-2",children:"Mono (JetBrains Mono)"}),r.jsx("p",{className:"text-sm text-white/40",children:"Used for technical details, metadata, overline labels, and code."})]}),r.jsxs("div",{className:"md:col-span-2 overflow-hidden",children:[r.jsx("div",{className:"font-mono text-sm sm:text-base tracking-[0.2em] uppercase text-emerald-400 mb-4",children:"Overline Technical Labels"}),r.jsx("div",{className:"font-mono text-lg sm:text-xl text-blue-400",children:'<SystemConfig value="loaded" />'})]})]})]})]}),r.jsxs("section",{className:"relative z-10",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Planetary Bodies"}),r.jsx("p",{className:"text-white/50 mb-8 max-w-3xl",children:"Realistic 2D planets used in the background and interactive elements."}),r.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-12",children:Q5.map(l=>r.jsxs("div",{className:"flex flex-col items-center gap-6 group",children:[r.jsx("div",{className:"relative flex items-center justify-center pointer-events-auto h-40",children:r.jsx(nI,{planet:l,isHoverable:!0})}),r.jsxs("div",{className:"font-mono text-center",children:[r.jsx("div",{className:"text-white font-bold uppercase tracking-widest",children:l.name}),r.jsx("div",{className:"text-[10px] uppercase tracking-wider text-blue-400 mt-1",children:l.coordinates})]})]},l.id))})]}),r.jsxs("section",{className:"relative z-10",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Animations & Loaders"}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:[r.jsxs("div",{className:"p-8 bg-white/5 border border-white/10 rounded-3xl flex flex-col items-center justify-center text-center gap-6 min-h-[300px]",children:[r.jsx(KI,{className:"text-4xl text-emerald-400"}),r.jsx("h3",{className:"text-xl font-bold font-display mt-auto",children:"Rotating Delta"}),r.jsx("p",{className:"text-sm font-mono text-white/40",children:"Used for inline status indicators and small loading states."})]}),r.jsxs("div",{className:"p-8 bg-white/5 border border-white/10 rounded-3xl flex flex-col items-center justify-center text-center gap-6 min-h-[300px]",children:[r.jsxs("div",{className:"flex items-center space-x-3 h-16",children:[r.jsx(M.div,{animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"},children:r.jsx(Bg,{className:"w-6 h-6 text-blue-400"})}),r.jsx("span",{className:"text-blue-400 font-mono text-sm tracking-widest uppercase",children:"Syncing..."})]}),r.jsx("h3",{className:"text-xl font-bold font-display mt-auto",children:"Infinite Sync"}),r.jsx("p",{className:"text-sm font-mono text-white/40",children:"Active data loading indicator found in infinite scroll lists."})]}),r.jsxs("div",{className:"p-8 bg-white/5 border border-white/10 rounded-3xl flex flex-col items-center justify-center text-center gap-6 overflow-hidden relative min-h-[300px]",children:[r.jsx("div",{className:"absolute top-1/2 left-0 right-0 h-px bg-emerald-500/30"}),r.jsx(M.div,{initial:{x:"-100%"},animate:{x:"100%"},transition:{duration:1.5,repeat:1/0,ease:"linear"},className:"absolute top-1/2 w-1/3 h-[2px] bg-emerald-400 shadow-[0_0_10px_#34d399] -translate-y-1/2"}),r.jsx("div",{className:"h-10"}),r.jsx("h3",{className:"text-xl font-bold font-display mt-auto relative z-10",children:"Laser Scanner"}),r.jsx("p",{className:"text-sm font-mono text-white/40 relative z-10",children:"Used in dialogs and hover popups for scanning effects."})]})]})]}),r.jsxs("section",{className:"relative z-10 pb-20",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Effects, Backgroun
295ds & Interactions"}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[r.jsxs("div",{className:"p-12 relative rounded-3xl border border-white/10 flex flex-col justify-center items-center overflow-hidden min-h-[400px] group",children:[r.jsx("div",{className:"absolute inset-0 bg-[#00000a]"}),r.jsx(M.div,{animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},className:"absolute w-[400px] h-[400px] rounded-full border border-white/5 opacity-50"}),r.jsx(M.div,{animate:{rotate:-360},transition:{duration:30,repeat:1/0,ease:"linear"},className:"absolute w-[500px] h-[500px] rounded-full border border-blue-500/10 opacity-50 border-dashed"}),r.jsxs("div",{className:"relative z-10 text-center mb-8",children:[r.jsx("h3",{className:"text-2xl font-display font-bold mb-2 text-white",children:"Orbital Rings"}),r.jsx("p",{className:"text-white/40 font-mono text-xs max-w-xs",children:"Slow rotating geometric shapes creating cosmic depth."})]}),r.jsxs("div",{className:"h-32 mb-10 relative z-20",children:[r.jsx("div",{className:"absolute z-20 w-8 h-8 opacity-50 group-hover:opacity-100 transition-opacity",children:r.jsx(Sx,{duration:5,delay:0,scale:1,className:"blur-[2px]",children:r.jsx("div",{className:"w-16 h-16 flex items-center justify-center",children:r.jsx(ct,{type:"satellite"})})})}),r.jsx("div",{className:"mt-20 font-mono text-xs text-blue-400",children:"Hover inside view to active flyby..."})]})]}),r.jsxs("div",{className:"p-12 relative rounded-3xl border border-white/10 flex flex-col justify-center items-center overflow-hidden min-h-[400px] group transition-all duration-700 hover:border-white/30 hover:bg-white/[0.03]",children:[r.jsx("div",{className:"absolute inset-0 bg-[url('https://www.transparenttextures.com/patterns/carbon-fibre.png')] opacity-[0.05] pointer-events-none group-hover:opacity-[0.1] transition-opacity duration-1000"}),r.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-64 h-64 bg-blue-500/0 group-hover:bg-blue-500/10 transition-colors duration-1000 blur-[80px] rounded-full pointer-events-none"}),r.jsxs("div",{className:"relative z-10 text-center",children:[r.jsx("h3",{className:"text-2xl font-display font-bold mb-2 group-hover:text-blue-300 transition-colors",children:"Tactile Surface Hover"}),r.jsx("p",{className:"text-white/40 font-mono text-xs max-w-sm mx-auto group-hover:text-white/60 transition-colors",children:"Carbon texture masking combined with diffuse colored shadows and border highlighting on element hover."})]})]}),r.jsx("div",{className:"p-12 relative rounded-3xl border border-white/10 flex flex-col justify-center items-center overflow-hidden min-h-[300px]",children:r.jsxs("div",{className:"text-center w-full",children:[r.jsx("h3",{className:"text-xl font-display font-bold mb-6 text-white text-left border-b border-white/10 pb-2",children:"Scrolling Architectures"}),r.jsxs("ul",{className:"text-left space-y-4 font-mono text-sm text-white/50",children:[r.jsxs("li",{children:[r.jsx("strong",{className:"text-blue-400",children:"PinnedScrollSection:"})," Keeps content vertically locked while internal scroll progress changes styling. Used in big text sections."]}),r.jsxs("li",{children:[r.jsx("strong",{className:"text-emerald-400",children:"Cosmic3DVisualizer:"})," High-performance WebGL environment driven by window scroll state acting as a background for the main page."]}),r.jsxs("li",{children:[r.jsx("strong",{className:"text-purple-400",children:"Staggered Entrances:"})," Grids sequence their children (e.g. 0.1s delay) when sliding into view via framer-motion's ",r.jsx("code",{children:"whileInView"}),"."]}),r.jsxs("li",{children:[r.jsx("strong",{className:"text-white",children:"ColorRevealTitle:"})," Gradually fills text with a glowing gradient block as the user scrolls."]})]})]})})]})]}),r.jsx("section",{className:"relative z-10 py-16 -mx-6 px-6",children:r.jsxs("div",{className:"relative z-20",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Brand Architecture & 3D Geometry"}),r.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[r.jsxs("div",{className:"bg-white/5 border border-white/10 rounded-3xl p-8 md:p-12 flex flex-col gap-8 relative overflow-hidden group",children:[r.jsx("div",{className:"absolute top-0 right-0 p-6",children:r.jsxs("div",{className:"flex gap-2",children:[r.jsx("div",{className:"w-2 h-2 rounded-full bg-blue-500"}),r.jsx("div",{className:"w-2 h-2 rounded-full bg-blue-500/30"})]})}),r.jsx("div",{className:"h-64 md:h-80 relative",children:r.jsx(bu,{type:"brand_lattice",cameraPosition:[0,0,4],name:"Structural Core",desc:"A multi-dimensional lattice representing the interconnectivity of our neural networks and global operations."})}),r.jsxs("div",{children:[r.jsx("div",{className:"font-mono text-sm text-blue-400 uppercase tracking-widest mb-2",children:"Primary Structure"}),r.jsx("h3",{className:"text-2xl font-display font-black uppercase italic mb-4",children:"The Neural Lattice"}),r.jsx("p",{className:"text-white/50 text-sm leading-relaxed",children:"This geometry signifies the strength and complexity of our organizational framework. It uses a 12-node system connected by ethereal sync-lines, representing our core regions and their real-time data integration."})]})]}),r.jsxs("div",{className:"bg-white/5 border border-white/10 rounded-3xl p-8 md:p-12 flex flex-col gap-8 relative overflow-hidden group",children:[r.jsx("div",{className:"absolute top-0 right-0 p-6",children:r.jsxs("div",{className:"flex gap-2",children:[r.jsx("div",{className:"w-2 h-2 rounded-full bg-purple-500/30"}),r.jsx("div",{className:"w-2 h-2 rounded-full bg-purple-500"})]})}),r.jsx("div",{className:"h-64 md:h-80 relative",children:r.jsx(bu,{type:"brand_crystal",cameraPosition:[0,0,3],name:"Clarity Prism",desc:"Pure geometric form representing the absolute transparency and analytical precision of our AI decision engines."})}),r.jsxs("div",{children:[r.jsx("div",{className:"font-mono text-sm text-purple-400 uppercase tracking-widest mb-2",children:"Secondary Form"}),r.jsx("h3",{className:"text-2xl font-display font-black uppercase italic mb-4",children:"The Precision Prism"}),r.jsx("p",{className:"text-white/50 text-sm leading-relaxed",children:"The icosahedron represents 'Clarity'. Its multifaceted surface reflects data from every angle, signifying our commitment to unbiased, c
295omprehensive intelligence. The internal chromatic aberration effect represents high-frequency processing."})]})]}),r.jsxs("div",{className:"bg-white/5 border border-white/10 rounded-3xl p-8 md:p-12 flex flex-col gap-8 relative overflow-hidden group",children:[r.jsx("div",{className:"absolute top-0 right-0 p-6",children:r.jsxs("div",{className:"flex gap-2",children:[r.jsx("div",{className:"w-2 h-2 rounded-full bg-pink-500/30"}),r.jsx("div",{className:"w-2 h-2 rounded-full bg-pink-500"})]})}),r.jsx("div",{className:"h-64 md:h-80 relative",children:r.jsx(bu,{type:"brand_oculus",cameraPosition:[0,0,3],name:"Navigation Eye",desc:"Interactive focal point for visionary brand navigation and gaze-based data extraction."})}),r.jsxs("div",{children:[r.jsx("div",{className:"font-mono text-sm text-pink-400 uppercase tracking-widest mb-2",children:"Tertiary Form"}),r.jsx("h3",{className:"text-2xl font-display font-black uppercase italic mb-4",children:"The Vision Oculus"}),r.jsx("p",{className:"text-white/50 text-sm leading-relaxed",children:"Representing 'Foresight', the Oculus is a layered, sentient geometry that watches the data currents. Its rotating outer rings symbolize our adaptive strategies, while its pulsating core represents the heartbeat of our creative vision."})]})]})]})]})}),r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Geometric Blueprint 2D Technologies"}),r.jsx("p",{className:"text-white/60 mb-8 max-w-3xl",children:"Animated geometric blueprints of astronomical equipment and orbital phenomena."}),r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4",children:N5.map((l,c)=>{const m=["#3b82f6","#34d399","#a855f7"],p=m[c%m.length];return r.jsxs("div",{className:"flex flex-col gap-4",children:[r.jsx(ct,{typeIndex:c,color:p}),r.jsxs("div",{className:"text-center",children:[r.jsxs("div",{className:"font-mono text-[10px] text-white/50 uppercase tracking-widest mb-1",children:["Tech ",(c+1).toString().padStart(2,"0")]}),r.jsx("h3",{className:"text-sm font-display font-bold uppercase",children:l.name}),r.jsx("p",{className:"text-[10px] text-white/40 mt-2 font-mono uppercase tracking-widest",children:l.desc})]})]},c)})})]}),r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 border-b border-white/10 pb-4",children:"Geometric Blueprint 2D Technologies"}),r.jsx("p",{className:"text-white/60 mb-8 max-w-3xl",children:"Animated geometric blueprints of industry scale operations and infrastructure."}),r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4",children:xx.map((l,c)=>{const m=["#3b82f6","#34d399","#a855f7"],p=m[c%m.length];return r.jsxs("div",{className:"flex flex-col gap-4",children:[r.jsx(ct,{typeIndex:c%5,color:p}),r.jsxs("div",{className:"text-center",children:[r.jsxs("div",{className:"font-mono text-[10px] text-white/50 uppercase tracking-widest mb-1",children:["Ind ",(c+1).toString().padStart(2,"0")]}),r.jsx("h3",{className:"text-sm font-display font-bold uppercase",children:l.name}),r.jsx("p",{className:"text-[10px] text-white/40 mt-2 font-mono uppercase tracking-widest",children:l.desc})]})]},c)})})]}),r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5 pb-20",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 pb-4 border-b border-white/10",children:"Photography & Imagery"}),r.jsx("p",{className:"text-white/60 mb-8 max-w-2xl text-lg",children:"We rely on dark, moody, conceptual photography representing futuristic operations, space-age tech, and minimalist, large-scale structures."}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[r.jsx("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden relative border border-white/10 group",children:r.jsx("img",{loading:"lazy",src:"https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=800&q=80",alt:"Space tech AI",className:"w-full h-full object-cover grayscale opacity-50 group-hover:grayscale-0 group-hover:opacity-100 transition-all duration-700"})}),r.jsx("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden relative border border-white/10 group",children:r.jsx("img",{loading:"lazy",src:"https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=800&q=80",alt:"Global network",className:"w-full h-full object-cover grayscale opacity-50 group-hover:grayscale-0 group-hover:opacity-100 transition-all duration-700"})}),r.jsx("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden relative border border-white/10 group",children:r.jsx("img",{loading:"lazy",src:"https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=800&q=80",alt:"Team integration",className:"w-full h-full object-cover grayscale opacity-50 group-hover:grayscale-0 group-hover:opacity-100 transition-all duration-700"})})]})]}),r.jsxs("section",{className:"relative z-10 pt-16 border-t border-white/5 pb-20",children:[r.jsx("h2",{className:"text-3xl font-display font-bold mb-10 pb-4 border-b border-white/10",children:"Environment Backgroun
295ds"}),r.jsx("p",{className:"text-white/60 mb-8 max-w-2xl text-lg",children:"Select a background to apply across the entire application viewport."}),r.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-6",children:[{id:"galaxy",name:"Cosmic Galaxy",desc:"Original space background with dynamic starfields and drifting nebulas."},{id:"oceanHorizon",name:"Ocean Horizon",desc:"Sunset ocean horizon. Hover on elements to affect lighting."},{id:"mars",name:"Night on Mars",desc:"Red dust, distant mountains, and orbiting twin moons."},{id:"deepOcean",name:"Deep Ocean",desc:"Underwater depth with bioluminescent fish and organisms."},{id:"molecules",name:"Molecules",desc:"Atoms, protons, and electrons surrounding molecular structures."},{id:"microchips",name:"Microchips",desc:"Electricity signals traveling through neural paths."}].map(l=>r.jsxs("div",{onClick:()=>t(l.id),className:`p-6 rounded-2xl border cursor-pointer transition-all duration-300 ${e===l.id?"border-blue-500 bg-blue-500/10 shadow-[0_0_20px_rgba(59,130,246,0.3)]":"border-white/10 bg-white/5 hover:bg-white/10 hover:border-white/20"}`,children:[r.jsx("h3",{className:"text-xl font-bold font-display mb-2",children:l.name}),r.jsx("p",{className:"text-sm text-white/50",children:l.desc})]},l.id))})]}),r.jsx(z5,{}),r.jsx(I5,{}),r.jsx(V5,{}),r.jsx(B5,{}),r.jsx(q5,{})]})},FR=()=>{const[e,t]=_.useState(null),[i,o]=_.useState([]);return _.useEffect(()=>{e||t({id:"CALL_ID: "+Math.random().toString(36).substring(7).toUpperCase(),customer:"Global Enterprise A",agent:"Neural_Agent_v4",duration:"02:45",sentiment:.85,transcript:[{role:"Customer",text:"I am experiencing some latency with the neural integration in Sector 7."},{role:"Agent",text:"I understand. I am re-routing the vector buffers to avoid the congested relay node."},{role:"Customer",text:"That seems to be helping, thank you for the quick response!"}]});const l=setInterval(()=>{o(c=>{const m=[...c,Math.random()*.4+.6];return m.length>20?m.slice(1):m})},2e3);return()=>clearInterval(l)},[e]),r.jsxs("div",{className:"max-w-7xl mx-auto px-6 pt-20 pb-12",children:[r.jsxs("div",{className:"flex flex-col items-center text-center mb-16",children:[r.jsx(M.div,{initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},className:"w-16 h-16 rounded-full bg-blue-500/10 border border-blue-500/30 flex items-center justify-center mb-6 shadow-[0_0_30px_rgba(59,130,246,0.3)]",children:r.jsx(I1,{className:"w-8 h-8 text-blue-400"})}),r.jsx(La,{text:"Service & Support Matrix",className:"text-4xl md:text-7xl font-display font-black text-white tracking-tighter uppercase mb-6 justify-center"}),r.jsx("p",{className:"text-white/40 font-mono text-xs uppercase tracking-[0.5em] max-w-2xl mx-auto mb-12",children:"Autonomous sentiment parsing and real-time satisfaction telemetry."})]}),r.jsxs("div",{className:"flex overflow-x-auto gap-6 sm:gap-8 pb-8 pt-2 snap-x snap-mandatory custom-scrollbar md:grid md:grid-cols-1 lg:grid-cols-3 lg:pt-0 lg:pb-0 lg:overflow-visible my-8 items-stretch",children:[r.jsx("div",{className:"flex-none w-[85vw] sm:w-[500px] snap-center lg:w-auto lg:col-span-2 lg:col-start-1 lg:row-start-1 h-full",children:r.jsxs("div",{className:"p-8 md:p-12 rounded-[2.5rem] md:rounded-[3rem] bg-white/[0.02] border border-white/5 backdrop-blur-3xl relative overflow-hidden group h-full flex flex-col justify-between",children:[r.jsx("div",{className:"absolute top-0 right-0 p-8",children:r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx("div",{className:"w-2 h-2 rounded-full bg-emerald-500 animate-ping"}),r.jsx("span",{className:"text-[10px] font-mono text-emerald-400 font-bold uppercase tracking-widest",children:"Live Analysis Active"})]})}),r.jsxs("div",{className:"flex flex-col md:flex-row gap-12 items-center mb-12",children:[r.jsxs("div",{className:"relative w-48 h-48 flex items-center justify-center",children:[r.jsxs("svg",{className:"w-full h-full transform -rotate-90",children:[r.jsx("circle",{cx:"96",cy:"96",r:"88",stroke:"currentColor",strokeWidth:"8",fill:"transparent",className:"text-white/5"}),r.jsx(M.circle,{cx:"96",cy:"96",r:"88",stroke:"currentColor",strokeWidth:"8",fill:"transparent",strokeDasharray:2*Math.PI*88,animate:{strokeDashoffset:(1-.88)*(2*Math.PI*88)},transition:{duration:2,ease:"easeOut"},className:"text-blue-500 drop-shadow-[0_0_15px_rgba(59,130,246,0.5)]"})]}),r.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[r.jsx("span",{className:"text-4xl font-display font-black text-white",children:"88%"}),r.jsx("span",{className:"text-[8px] font-mono text-white/30 uppercase tracking-[0.2em]",children:"Satisfaction Index"})]}),r.jsx(M.div,{animate:{scale:[1,1.2,1],opacity:[.3,.6,.3]},transition:{duration:4,repeat:1/0},className:"absolute inset-0 border border-blue-500/10 rounded-full scale-125 pointer-events-none"})]}),r.jsxs("div",{className:"flex-1 text-center md:text-left",children:[r.jsx("h3",{className:"text-2xl font-display font-bold uppercase text-white mb-4",children:"Neural Sentiment Engine"}),r.jsx("p",{className:"text-white/60 text-sm leading-relaxed mb-6 font-light",children:"Our AI cross-analyzes voice modulation and chat linguistics in real-time, matching patterns against 14 million previous interactions to identify latent churn risks and satisfaction peaks."}),r.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[r.jsxs("div",{className:"p-4 rounded-2xl bg-white/5 border border-white/10",children:[r.jsx("div",{className:"text-blue-400 font-mono text-[10px] uppercase mb-1",children:"Tone Analysis"}),r.jsx("div",{className:"text-white font-bold text-lg",children:"EMPATHETIC"})]}),r.jsxs("div",{className:"p-4 rounded-2xl bg-white/5 border border-white/10",children:[r.jsx("div",{className:"text-emerald-400 font-mono text-[10px] uppercase mb-1",children:"Stress Level"}),r.jsx("div",{className:"text-white font-bold text-lg",children:"MINIMAL"})]})]})]})]}),r.jsx("div",{className:"h-32 w-full flex items-end gap-1 px-2",children:i.map((l,c)=>r.jsx(M.div,{initial:{height:0},animate:{height:`${l*100}%`},className:"flex-1 bg-gradient-to-t from-blue-600/20 via-blue-500/40 to-blue-400 rounded-t-sm"},c))}),r.jsx("div",{className:"text-center mt-4 pt-4 border-t border-white/5",children:r.jsx("span",{className:"text-[9px] font-mono text-white/20 uppercase tracking-[0.3em]",children:"Historical Sentiment Waves (Live Feed)"})})]})}),r.jsx("div",{className:"flex-none w-[85vw] sm:w-[500px] snap-center lg:w-auto lg:col-span-2 lg:col-start-1 lg:row-start-2 h-full",children:r.jsxs("div",{className:"p-8 md:p-10 rounded-[2.5rem] bg-[#050510] border border-white/5 relative group h-full flex flex-col justify-between",children:[r.jsxs("div",{className:"flex items-center justify-between mb-8",children:[r.jsxs("div",{className:"flex items-center gap-4",children:[r.jsx("div",{className:"p-2 rounded-lg bg-white/5",children:r.jsx(Uo,{className:"w-4 h-4 text-purple-400"})}),r.jsx("h4",{className:"font-display font-medium text-white uppercase tracking-widest text-sm",children:"Active Neural Logs"})]}),r.jsx("div",{className:"flex gap-2",children:r.jsx("div",{className:"px-3 py-1 rounded-full bg-white/5 border border-white/10 text-[9px] font-mono text-white/40 uppercase tracking-widest",children:e==null?void 0:e.id})})]}),r.jsx("div",{className:"space-y-6 max-h-[300px] overflow-y-auto pr-4 custom-scrollbar",children:e==null?void 0:e.transcript.map((l,c)=>r.jsxs(M.div,{initial:{opacity:0,x:-10}
295,animate:{opacity:1,x:0},transition:{delay:c*.2},className:`flex flex-col gap-1 ${l.role==="Agent"?"items-end":"items-start"}`,children:[r.jsx("span",{className:`text-[8px] font-mono uppercase tracking-[0.2em] mb-1 ${l.role==="Agent"?"text-blue-400":"text-emerald-400"}`,children:l.role}),r.jsx("div",{className:`max-w-[80%] p-4 rounded-2xl text-xs leading-relaxed ${l.role==="Agent"?"bg-blue-500/10 border border-blue-500/20 text-blue-100 rounded-tr-none":"bg-white/5 border border-white/10 text-white/70 rounded-tl-none"}`,children:l.text})]},c))}),r.jsxs("div",{className:"mt-8 pt-8 border-t border-white/5 flex items-center justify-between",children:[r.jsxs("div",{className:"flex items-center gap-4",children:[r.jsxs("div",{className:"flex -space-x-2",children:[r.jsx("div",{className:"w-8 h-8 rounded-full border border-white/10 bg-white/5 flex items-center justify-center",children:r.jsx(R1,{className:"w-4 h-4 text-white/30"})}),r.jsx("div",{className:"w-8 h-8 rounded-full border border-blue-500/30 bg-blue-500/10 flex items-center justify-center backdrop-blur-md",children:r.jsx(li,{className:"w-4 h-4 text-blue-400"})})]}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-[10px] font-mono text-white font-bold uppercase",children:e==null?void 0:e.customer}),r.jsx("div",{className:"text-[8px] font-mono text-white/30 uppercase tracking-widest",children:"Secured Interaction Layer 4.2"})]})]}),r.jsxs("div",{className:"flex items-center gap-4",children:[r.jsx(jg,{className:"w-4 h-4 text-blue-400"}),r.jsx(hh,{className:"w-4 h-4 text-white/20 hover:text-white transition-colors cursor-pointer"})]})]})]})}),r.jsx("div",{className:"flex-none w-[85vw] sm:w-[400px] snap-center lg:w-auto lg:col-span-1 lg:col-start-3 lg:row-start-1 h-full",children:r.jsxs("div",{className:"p-8 rounded-[2.5rem] bg-gradient-to-br from-blue-900/20 to-purple-900/20 border border-white/10 relative overflow-hidden group h-full flex flex-col",children:[r.jsx("div",{className:"absolute top-0 right-0 p-6 pointer-events-none opacity-20",children:r.jsx($g,{className:"w-12 h-12 text-blue-400"})}),r.jsx("h4",{className:"text-lg font-display font-bold uppercase text-white mb-6 tracking-wide",children:"How it works"}),r.jsxs("ul",{className:"space-y-6",children:[r.jsxs("li",{className:"flex gap-4",children:[r.jsx("div",{className:"p-2 rounded-lg bg-blue-500/20 h-fit",children:r.jsx(hh,{className:"w-4 h-4 text-blue-400"})}),r.jsxs("div",{children:[r.jsx("h5",{className:"text-[10px] font-mono font-black uppercase text-white tracking-widest mb-1",children:"Acoustic Logic"}),r.jsx("p",{className:"text-[11px] text-white/50 leading-relaxed",children:"Analyzes speech pitch, tempo, and resonance to identify frustration patterns before they manifest."})]})]}),r.jsxs("li",{className:"flex gap-4",children:[r.jsx("div",{className:"p-2 rounded-lg bg-purple-500/20 h-fit",children:r.jsx(M1,{className:"w-4 h-4 text-purple-400"})}),r.jsxs("div",{children:[r.jsx("h5",{className:"text-[10px] font-mono font-black uppercase text-white tracking-widest mb-1",children:"Linguistic Vectors"}),r.jsx("p",{className:"text-[11px] text-white/50 leading-relaxed",children:"Cross-references transcript data with active intent graphs to predict customer churn probability."})]})]}),r.jsxs("li",{className:"flex gap-4",children:[r.jsx("div",{className:"p-2 rounded-lg bg-emerald-500/20 h-fit",children:r.jsx(D1,{className:"w-4 h-4 text-emerald-400"})}),r.jsxs("div",{children:[r.jsx("h5",{className:"text-[10px] font-mono font-black uppercase text-white tracking-widest mb-1",children:"Risk Flagging"}),r.jsx("p",{className:"text-[11px] text-white/50 leading-relaxed",children:"Automatic alerts sent to supervisors when sentiment drops below the 0.4 criticality threshold."})]})]})]})]})}),r.jsx("div",{className:"flex-none w-[85vw] sm:w-[400px] snap-center lg:w-auto lg:col-span-1 lg:col-start-3 lg:row-start-2 h-full",children:r.jsxs("div",{className:"p-8 rounded-[2.5rem] bg-indigo-950/20 border border-white/5 relative group h-full flex flex-col justify-between hover:border-blue-500/20 transition-colors",children:[r.jsxs("div",{className:"text-center mb-8",children:[r.jsx("div",{className:"text-[10px] font-mono text-blue-400 uppercase tracking-[0.4em] mb-2 font-bold italic",children:"Neural Licensing"}),r.jsx("h4",{className:"text-xl font-display font-black uppercase tracking-tighter text-white",children:"Sentiment Core Pricing"})]}),r.jsxs("div",{className:"space-y-4",children:[r.jsxs("div",{className:"p-6 rounded-2xl bg-white/5 border border-white/10 hover:border-blue-500/30 transition-colors group/p relative overflow-hidden",children:[r.jsxs("div",{className:"flex justify-between items-center mb-2",children:[r.jsx("span",{className:"text-xs font-bold text-white uppercase tracking-widest",children:"Per Agent Seat"}),r.jsxs("span",{className:"text-lg font-display font-black text-blue-400 italic font-display",children:["$85",r.jsx("span",{className:"text-[10px] font-mono opacity-50 uppercase tracking-tighter",children:"/mo"})]})]}),r.jsx("p",{className:"text-[10px] text-white/40 leading-relaxed pr-8",children:"Best for dedicated support teams requiring deep long-term relationship anal
295ysis."})]}),r.jsxs("div",{className:"p-6 rounded-2xl bg-white/5 border border-white/10 hover:border-emerald-500/30 transition-colors group/p relative overflow-hidden",children:[r.jsxs("div",{className:"flex justify-between items-center mb-2",children:[r.jsx("span",{className:"text-xs font-bold text-white uppercase tracking-widest",children:"Per Interaction"}),r.jsxs("span",{className:"text-lg font-display font-black text-emerald-400 italic font-display",children:["$0.12",r.jsx("span",{className:"text-[10px] font-mono opacity-50 uppercase tracking-tighter",children:"/hit"})]})]}),r.jsx("p",{className:"text-[10px] text-white/40 leading-relaxed pr-8",children:"Optimized for elastic scaling and volatile ticket volumes across multiple departments."})]})]}),r.jsxs("button",{className:"w-full mt-8 py-4 rounded-xl bg-blue-600 text-white font-black text-[10px] uppercase tracking-[0.4em] shadow-[0_15px_30px_rgba(37,99,235,0.2)] hover:shadow-[0_20px_40px_rgba(37,99,235,0.4)] transition-all italic flex items-center justify-center gap-3",children:["Request Protocol Access ",r.jsx(Vu,{className:"w-3 h-3 group-hover:translate-x-1 transition-transform"})]})]})})]})]})};function $R(){const{scrollYProgress:e}=$t(),t=Fe(e,{stiffness:40,damping:22,mass:.8,restDelta:.01}),i=an(),o=sy(),[l,c]=_.useState(()=>Ig(i.pathname)),m=Go(i.pathname),p=/^\/mayura(?:\/|$)/.test(i.pathname),y=m?"he":"en";_.useEffect(()=>{p&&["contrast","links","text","font","cursor","motion"].forEach(Z=>{document.documentElement.removeAttribute(`data-a11y-${Z}`)})},[p]);const[g,v]=qe.useReducer(Z=>Z+1,0);_.useEffect(()=>{var Hi;const Z=Xu(i.pathname);if(Z==="/hebrew"){o("/he",{replace:!0});return}const de=Ig(Z);c(de);let ue=!1;const se=Go(Z),z=se?"he":"en",V=/^\/(?:he\/)?industries\/[^/]+\/tickets\/[^/]+\/?$/.test(Z),K=ME(Z
295),ae=V&&!K;if(ae&&!NE())return CE().then(()=>{ue||v()}).catch(He=>{Po.error("Failed to load extended sector tickets",{path:Z,error:He instanceof Error?He.message:String(He)})}),()=>{ue=!0};const le=V?(K==null?void 0:K.sector)||null:hy(Z),je=UI(Z);document.documentElement.lang=se?"he":"en",document.documentElement.dir=se?"rtl":"ltr";const Ee=(He,Kt,Et)=>{const et=document.querySelector(He);et&&(et[Kt]=Et)},be=K?`${ke}${hl(K.sector,K.ticket,K.locale)}`:ae?`${ke}${Z}`:le?`${ke}${se?"/he/industries/":"/industries/"}${le.slug}`:`${ke}${je==="/"?"/":je}`,ze=((Hi=document.querySelector('link[rel="canonical"]'))==null?void 0:Hi.href)||null,kt=K?{en:hl(K.sector,K.ticket,"en"),he:hl(K.sector,K.ticket,"he")}:ae?void 0:le?{en:`/industries/${le.slug}`,he:`/he/industries/${le.slug}`}:EE[je],Jt=(He,Kt,Et)=>{var et;if(!ue&&(document.title=He,Ee('meta[name="description"]',"content",Kt),Ee('meta[name="robots"]',"content",K?IE(K.sector,K.ticket)?"index, follow":"noindex, follow":ae?"noindex, follow":"index, follow"),Ee('link[rel="canonical"]',"href",be),Ee('meta[property="og:title"]',"content",He),Ee('meta[property="og:description"]',"content",Kt),Ee('meta[property="og:url"]',"content",be),Ee('meta[property="og:locale"]',"content",se?"he_IL":"en_US"),Ee('meta[name="twitter:title"]',"content",He),Ee('meta[name="twitter:description"]',"content",Kt),ER(kt),(et=document.getElementById("route-jsonld"))==null||et.remove(),Et)){const ut=document.createElement("script");ut.type="application/ld+json",ut.id="route-jsonld",ut.textContent=JSON.stringify(Et),document.head.appendChild(ut)}},fi=He=>{Jt(He.title,He.description,He.jsonLd)},mi=He=>{Po.error("Failed to load route SEO metadata",{path:Z,error:He instanceof Error?He.message:String(He)})};return(()=>{if(K){const Et={title:Ch(K.sector,K.locale),description:Ih(K.sector,K.locale)},et={title:DE(K.sector,K.ticket,K.locale),description:kE(K.sector,K.ticket,K.locale)};Ph({fallback:{...et,jsonLd:Rg(K.sector,K.ticket,K.locale,Et,et)},currentCanonicalUrl:ze,canonicalUrl:be,apply:fi,load:()=>Promise.all([he(()=>import("./sectorSeoMetadata-GPNCBUV_.js"),[]),he(()=>import("./sectorTicketSeoMetadata-DaeaZz7x.js"),[])]),resolve:([ut,Pa])=>{const ql=ut.getSectorSeoMetadata(K.sector,K.locale),Ui=Pa.getSectorTicketSeoMetadata(K.sector,K.ticket,K.locale);return{title:Ui.title,description:Ui.description,jsonLd:Rg(K.sector,K.ticket,K.locale,ql,Ui)}},isStale:()=>ue,onError:mi});return}if(le){const Et={title:Ch(le,z),description:Ih(le,z)};Ph({fallback:{...Et,jsonLd:ju(le,z,Et.title,Et.description)},currentCanonicalUrl:ze,canonicalUrl:be,apply:fi,load:()=>he(()=>import("./sectorSeoMetadata-GPNCBUV_.js"),[]),resolve:et=>{const ut=et.getSectorSeoMetadata(le,z);return{title:ut.title,description:ut.description,jsonLd:ju(le,z,ut.title,ut.description)}},isStale:()=>ue,onError:mi});return}const He=ae?se?"העמוד לא נמצא | Dscope":"Page Not Found | Dscope":Ca[je]||Ca["/"],Kt=ae?se?"כתובת התרחיש שביקשתם אינה קיימת.":"The requested scenario URL does not exist.":Sl[je]||Sl["/"];Jt(He,Kt,ae?null:qI(je))})(),()=>{ue=!0}},[i.pathname,o,g]);const b=qe.useCallback(Z=>{o(Vo(Z,m))},[o,m]),[w,T]=_.useState(null),[A,I]=_.useState(!1),[C,N]=_.useState("galaxy"),[R,L]=_.useState(!0),q=y==="he"?DI:Ax,[Y,P]=_.useState(q),[O,F]=_.useState(!1),$=_.useRef(null);_.useEffect(()=>{P(q)},[y]);const ee=()=>{O||(F(!0),setTimeout(()=>{const Z=q.map(de=>({...de,id:(parseInt(de.id)+Y.length).toString().padStart(2,"0")}));P(de=>[...de,...Z]),F(!1)},1500))};_.useEffect(()=>{const Z=new IntersectionObserver(de=>{de[0].isIntersecting&&R&&l==="home"&&ee()},{threshold:.1});return $.current&&Z.observe($.current),()=>Z.disconnect()},[R,l,O,Y.length]),_.useEffect(()=>{const Z=ue=>{const z=ue.target.closest("a");if(!z)return;const V=z.getAttribute("href");if(V!=null&&V.startsWith("#")){if(ue.preventDefault(),V==="#"){window.scrollTo({top:0,behavior:"smooth"});return}const K=document.getElementById(V.slice(1));K&&(K.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",V))}else if(z.hash&&z.origin===window.location.origin){const K=document.getElementById(z.hash.slice(1));K&&(ue.preventDefault(),K.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",z.hash))}};typeof document<"u"&&document.addEventListener&&document.addEventListener("click",Z);const de=()=>{typeof document>"u"||(document.hidden?document.body.classList.add("is-hidden"):document.body.classList.remove("is-hidden"))};return de(),typeof document<"u"&&document.addEventListener&&document.addEventListener("visibilitychange",de),()=>{typeof document<"u"&&document.removeEventListener&&(document.removeEventListener("click",Z),document.removeEventListener("visibilitychange",de))}},[]),_.useEffect(()=>{Po.info("Application context initialized",{version:"1.0.0"}),l==="case-studies"&&!mu.isEnabled("CASE_STUDIES_ENABLED")&&b("home")},[]),_.useEffect(()=>{Po.info("Active tab changed",{tab:l})},[l]);const ce=_.useMemo(()=>HI.filter(Z=>Z.id==="case-studies"?mu.isEnabled("CASE_STUDIES_ENABLED"):!0),[]);return i.pathname==="/jewelry-demo"||i.pathname.startsWith("/jewelry-demo/")||i.pathname==="/jewelry-demo-cinematic"||i.pathname.startsWith("/jewelry-demo-cinematic/")?r.jsx(_.Suspense,{fallback:null,children:r.jsx(AI,{})}):/^\/mayura\/player-preview\/?$/.test(i.pathname)?r.jsx(_.Suspense,{fallback:null,children:r.jsx(NI,{})}):p?r.jsx(_.Suspense,{fallback:null,children:r.jsx(_I,{})}):l==="accessibility"?r.jsxs(r.Fragment,{children:[r.jsx(Rh,{locale:m?"he":"en"}),r.jsx(GE,{locale:m?"he":"en"})]}):r.jsxs("div",{id:"page-top",lang:y,dir:m?"rtl":"ltr",className:"min-h-screen text-white font-sans selection:bg-blue-500/30 overflow-x-hidden",children:[r.jsx(Rh,{locale:m?"he":"en"}),r.jsx(Xe,{children:!R&&r.jsx(WI,{progress:e},"global-loader")}),r.jsxs(M.div,{id:"main-content",tabIndex:-1,initial:!1,animate:{o
295pacity:R?1:0},transition:{duration:.25,ease:"easeOut"},children:[r.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-[2000] focus:px-6 focus:py-3 focus:bg-blue-600 focus:text-white focus:rounded-xl focus:font-bold focus:shadow-[0_0_20px_rgba(59,130,246,0.5)] outline-none ring-2 ring-white ring-offset-2 ring-offset-blue-600",children:m?"דלגו לתוכן המרכזי":"Skip to main content"}),C==="galaxy"&&!["command-hub","about","case-studies","dashboard","vision","industries","home","home-concept","he-home"].includes(l)&&r.jsx(X5,{}),C==="oceanHorizon"&&!["command-hub","about","case-studies","dashboard","vision","industries","home","home-concept","he-home"].includes(l)&&r.jsx(lI,{}),l==="about"&&r.jsx(Ey,{}),C==="mars"&&!["command-hub","about","case-studies","dashboard","vision","industries","home","home-concept","he-home"].includes(l)&&r.jsx(cI,{}),C==="deepOcean"&&!["command-hub","about","case-studies","dashboard","vision","industries","home","home-concept","he-home"].includes(l)&&r.jsx(dI,{}),l==="dashboard"&&r.jsx(vy,{}),(C==="molecules"&&!["command-hub","about","case-studies","dashboard","vision","industries","home","home-concept","he-home"].includes(l)||l==="case-studies")&&r.jsx(mI,{}),(C==="microchips"&&!["command-hub","about","case-studies","dashboard","vision","industries","home","home-concept","he-home"].includes(l)||l==="command-hub"||l==="industries")&&r.jsx(hI,{}),r.jsx(AR,{activeTab:l,setActiveTab:b,hoveredTab:w,setHoveredTab:T,isOpen:A,setIsOpen:I,progress:e,tabs:ce,isHebrew:m,navigate:o}),r.jsx("header",{className:"fixed top-[46px] left-6 md:left-12 md:top-16 z-[1005]",role:"banner",children:r.jsx("a",{href:m?"/he":"/",onClick:Z=>Ol(Z,m?"/he":"/",o),dir:"ltr",className:"inline-block no-underline cursor-pointer bg-transparent border-0 p-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-400 focus-visible:ring-offset-2 focus-visible:ring-offset-black rounded",children:r.jsx(Gu,{className:"scale-125 origin-left",cycling:!0})})}),r.jsxs(Xe,{mode:"wait",children:[l==="home"&&r.jsx(_.Suspense,{fallback:r.jsx("div",{className:"min-h-screen bg-[#020617]"}),children:r.jsx(Ng,{})},"home-suspense"),l==="he-home"&&r.jsx(_.Suspense,{fallback:r.jsx("div",{className:"min-h-screen bg-[#020617]"}),children:r.jsx(Ng,{locale:"he"})},"he-home-suspense"),l==="home-concept"&&r.jsx(_.Suspense,{fallback:r.jsx("div",{className:"min-h-screen bg-[#020617]"}),children:r.jsx(SI,{})},"home-concept-suspense"),l==="vision"&&r.jsx(_.Suspense,{fallback:r.jsx("div",{className:"min-h-screen bg-[#020617]"}),children:r.jsx(II,{smoothProgress:t,scrollYProgress:e,locale:y})},"vision-suspense"),l==="industries"&&r.jsx(_.Suspense,{fallback:r.jsx("div",{className:"min-h-screen bg-[#020617]"}),children:r.jsx(RI,{scrollYProgress:e,locale:y})},"industries-suspense"),l==="command-hub"&&r.jsxs(M.main,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.05},className:"pt-24 md:pt-32 pb-10 md:pb-20 min-h-screen",children:[r.jsx(rR,{locale:y}),r.jsx(lR,{locale:y})]},"command-hub"),l==="dashboard"&&r.jsxs(M.main,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"pt-24 md:pt-32 pb-10 relative overflow-hidden",children:[r.jsx(Dl,{height:"h-[115vh]",innerClassName:"max-w-7xl mx-auto px-6 flex flex-col justify-center",children:r.jsx(GR,{locale:y})}),r.jsx(bI,{locale:y})]},"dashboard"),l==="services"&&r.jsxs(M.main,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},className:"pt-24 md:pt-32 pb-10 md:pb-20 relative overflow-hidden",children:[r.jsx(Dl,{height:"h-screen",innerClassName:"max-w-7xl mx-auto px-6 flex flex-col justify-center",children:r.jsx(VR,{locale:y})}),y==="he"&&r.jsx(_.Suspense,{fallback:null,children:r.jsx(MI,{kind:"service"})}),r.jsx(M.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.2}}},className:"max-w-7xl mx-auto px-6 grid grid-cols-1 gap-12 mt-24 md:mt-40",children:Y.filter(Z=>Z.id!=="01"&&Z.modelVariant!=="satellite").map((Z,de)=>r.jsx(Dx,{service:Z,i:de,locale:y},`${Z.id}-${de}`))}),r.jsxs("div",{ref:$,className:"py-20 flex flex-col items-center justify-center space-y-4",children:[r.jsx(Xe,{children:O&&r.jsxs(M.div,{initial:{opacity:0,scale:.8}
295,animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},className:"flex items-center space-x-3",children:[r.jsx(M.div,{animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"},children:r.jsx(Bg,{className:"w-6 h-6 text-blue-400"})}),r.jsx("span",{className:"text-blue-400 font-mono text-sm tracking-widest uppercase",children:"Syncing next innovation packet..."})]})}),!O&&r.jsxs("div",{className:"flex items-center space-x-2 text-blue-400/30",children:[r.jsx("div",{className:"w-12 h-[1px] bg-blue-400/20"}),r.jsx("span",{className:"text-[10px] font-mono tracking-[0.2em]",children:"END OF BUFFER - SCROLL TO INITIATE RELOAD"}),r.jsx("div",{className:"w-12 h-[1px] bg-blue-400/20"})]})]}),r.jsx(Mh,{minHeight:"80vh",children:r.jsx(jR,{locale:y})})]},"services"),l==="about"&&r.jsxs(M.main,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.05},className:"pt-24 md:pt-32 pb-10",children:[r.jsx("div",{className:"max-w-5xl mx-auto px-4 md:px-6 text-center flex flex-col justify-start relative py-2 md:py-4",children:r.jsx(zR,{locale:y})}),r.jsx(bR,{locale:y}),r.jsx(xR,{locale:y})]},"about"),l==="service-support"&&r.jsx(M.main,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},exit:{opacity:0,x:-50},className:"pt-24 md:pt-32 pb-10 md:pb-20",children:r.jsx(FR,{})},"service-support"),l==="pricing"&&r.jsx(M.main,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5},children:r.jsx(_.Suspense,{fallback:r.jsx("div",{className:"min-h-screen bg-[#010610]"}),children:r.jsx(CI,{locale:y})})},"pricing"),l==="case-studies"&&mu.isEnabled("CASE_STUDIES_ENABLED")&&r.jsx(_.Suspense,{fallback:r.jsx("div",{className:"min-h-screen bg-[#010610]"}),children:r.jsx(TI,{locale:y})}),l==="brand-book"&&r.jsx(M.main,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},exit:{opacity:0,y:-30},className:"pt-24 md:pt-32 pb-10 md:pb-20",children:r.jsx(qR,{globalBg:C,setGlobalBg:N})},"brand-book"),l==="contact"&&r.jsx(M.main,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},exit:{opacity:0,y:-30},className:"pt-12 md:pt-16",children:r.jsx(LE,{locale:y})},"contact")]}),(l==="home"||l==="he-home")&&r.jsx(Mh,{minHeight:"80vh",rootMargin:"600px 0px",children:r.jsx(dR,{locale:y})}),r.jsxs("footer",{lang:m?"he":"en",dir:m?"rtl":"ltr",className:`py-12 px-6 border-t border-white/5 relative z-10 overflow-hidden ${m?"font-hebrew":""} ${l==="pricing"?"bg-[#010610]":""}`,children:[r.jsxs("div",{className:"max-w-7xl mx-auto flex flex-col md:flex-row justify-between items-start gap-12",children:[r.jsxs("div",{className:`flex flex-col gap-6 w-full md:w-auto items-center ${m?"md:items-end":"md:items-start"}`,children:[r.jsx("a",{href:m?"/he":"/",dir:"ltr",className:"inline-flex rounded-xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-400",children:r.jsx(Gu,{className:"scale-110 md:scale-100"})}),r.jsx("p",{className:`text-white/60 max-w-xs leading-relaxed text-center ${m?"text-sm tracking-normal md:text-right":"font-mono text-xs uppercase tracking-widest md:text-left"}`,children:m?"תשתית אוטומציית AI לארגונים שרוצים לחבר שירות, מכירות ותפעול למערכת עבודה אחת.":"Industry scale AI infrastructure. Architected for the future of enterprise."})]}),r.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-12",children:[m&&r.jsxs("div",{className:"col-span-2 md:col-span-1",children:[r.jsx("p",{className:"text-[13px] font-hebrew tracking-normal text-white/70 mb-6",children:"אינטגרציות ופתרונות"}),r.jsxs("div",{className:"flex flex-col gap-2 text-[13px] text-white/55",children:[r.jsx("a",{href:"/he/integrations",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:"כל האינטגרציות"}),r.jsx("a",{href:"/he/integrations/fireberry",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:"אינטגרציית Fireberry"}),r.jsx("a",{href:"/he/integrations/salesforce",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:"אינטגרציית Salesforce"}),r.jsx("a",{href:"/he/integrations/hubspot",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:"אינטגרציית HubSpot"}),r.jsx("a",{href:"/he/services/virtual-call-center",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:"מוקד וירטואלי"}),r.jsx("a",{href:"/he/integrations/whatsapp",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:"צ׳אטבוט WhatsApp"}),r.jsx("a",{href:"/he/services/crm-automation",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:"אוטומציית CRM"})]})]}),r.jsxs("div",{children:[r.jsx("p",{className:`${m?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-[0.4em]"} text-white/70 mb-6`,children:m?"יצירת קשר":"Contact"}),r.jsxs("div",{className:"flex flex-col gap-2 text-sm text-white/70",children:[r.jsx("a",{href:m?"/he/contact":"/contact",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:m?"בקשת דמו":"Dossier Request"}),r.jsx("a",{href:m?"/he/contact":"/contact",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:m?"שיחה עם הצוות":"Direct Link"})]})]}),r.jsxs("div",{children:[r.jsx("p",{className:`${m?"text-[13px] font-hebrew tracking-normal":"text-[10px] font-mono uppercase tracking-[0.4em]"} text-white/70 mb-6`,children:m?"מידע":"Legal"}),r.jsx("div",{className:"flex flex-col gap-2 text-sm text-white/70",children:r.jsx("a",{href:m?"/he/accessibility":"/accessibility",className:"hover:text-blue-400 transition-colors focus-visible:outline-none focus-visible:text-blue-400 focus-visible:underline",children:m?"נגישות":"Accessibility"})})]})]})]}),r.jsxs("div",{className:"max-w-7xl mx-auto mt-12 pt-8 border-t border-white/5 flex flex-wrap items-center justify-center md:justify-end gap-x-12 gap-y-6",children:[r.jsx("img",{src:"/partners/yeda-64.webp",alt:"Yeda",loading:"lazy",width:160,height:64,className:"h-8 w-auto opacity-60 hover:opacity-100 transition-opacity"}),r.jsx("img",{src:"/partners/just-in-time-64.webp",alt:"Just In Time",loading:"lazy",width:304,height:64,className:"h-8 w-auto opacity-60 hover:opacity-100 transition-opacity"}),r.jsx("img",{src:"/partners/geoscale-64.webp",alt:"Geoscale",loading:"lazy",width:304,height:64,className:"h-8 w-auto opacity-60 hover:opacity-100 transition-opacity",style:{filter:"brightness(0) invert(1)"}})]})]})]})]})}function YR(){const{pathname:e}=an();return _.useEffect(()=>{const t=new AbortController;let i;const o=e.replace(/\/+$/,"")||"/",l=()=>!t.signal.aborted&&(window.location.pathname.replace(/\/+$/,"")||"/")===o;return(async()=>{var w;
295const m=document;if(!window.isSecureContext||window.top!==window||typeof((w=m.modelContext)==null?void 0:w.registerTool)!="function")return;const[{PUBLIC_ROUTE_PATHS:p},{makeDscopeTools:y},{registerPublicTools:g}]=await Promise.all([he(()=>import("./publicRouteManifest.generated-DMk_3Gea.js"),[]),he(()=>import("./public-tools-SIBZOCPG.js"),[]),he(()=>import("./native-B-Tibogf.js"),[])]);if(!l())return;const v=new Set(p);new Set(Mn.filter(T=>T.indexable&&v.has(T.path)).map(T=>T.path)).has(o)&&(i=await g(y(Mn,p),{signal:t.signal}),l()||i.dispose())})().catch(()=>t.abort()),()=>{t.abort(),i==null||i.dispose()}},[e]),null}const JR=()=>(_.useLayoutEffect(()=>{document.documentElement.classList.add("app-mounted"),document.documentElement.classList.remove("app-fallback-ready"),window.dispatchEvent(new Event("dscope:app-mounted"))},[]),r.jsxs(lE,{children:[r.jsx(YR,{}),r.jsx(BE,{children:r.jsx(OR,{})})]}));V1.createRoot(document.getElementById("root")).render(r.jsx(_.StrictMode,{children:r.jsx(JR,{})}));export{sM as A,j5 as B,kR as C,M5 as D,cM as F,_5 as G,Mh as I,oM as L,R5 as M,Dl as P,lM as S,aM as T,La as W,he as _,rM as a,an as b,sy as c,xx as d,py as e,nM as f,iM as g,my as h,hy as i,WR as j,tM as k,N5 as l,U5 as m,ZR as n,AE as o,ME as p,SE as q,U1 as r,eM as s,yy as t,Wu as u,hl as v,ri as w,Al as x,Nx 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.