1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomePage-Ta1Z8SkI.js","assets/vendor-react-Dr_-jh_l.js","assets/vendor-radix-DcoA5snS.js","assets/GradientText-F-KgN8kB.js","assets/Card-BE_yUztx.js","assets/Badge-DHA9qCTu.js","assets/vendor-icons-17HUQdMN.js","assets/vendor-motion-CH0YPPW4.js","assets/studios-CR2xiypi.js","assets/seo-Bx79qoxG.js","assets/PlatformOverview-hTJUzSZX.js","assets/Architecture-CnVBGDug.js","assets/Architecture-DAU-wWOq.css","assets/RubiFlow-BMGQpNKB.js","assets/index-PMM3d8Je.js","assets/blur-DOfe2hmq.css","assets/RubiStudio-CcuDM8G6.js","assets/RubiSight-CX-jwlU7.js","assets/RubiAI-B83HLcHs.js","assets/RubiThings-CKM96bn-.js","assets/Workbench-crsPFJxG.js","assets/RubiAdmin-BaNZ4gK_.js","assets/Deployment-CK9oEH6Z.js","assets/GlossaryTooltip-9Gd8D_aO.js","assets/Roadmap-CbUIp9JM.js","assets/TrustOverview-Dme5RTlH.js","assets/IsoSoc-DSQPKmey.js","assets/Certifications-CKbTjFzU.js","assets/RbacLineage-C6SFgKKe.js","assets/Compliance-CVRl2SVM.js","assets/SolutionsOverview-iCHUN1ug.js","assets/RubiWise-D50i4YTh.js","assets/Banking-CjCTK-kW.js","assets/IndustrySolutionPage-DQlxqDNa.js","assets/InPageVideo-C-AjIJrt.js","assets/FinancialServices-CBdXFkj6.js","assets/Insurance-BEjlVbn0.js","assets/Healthcare-BxmAmjwz.js","assets/Manufacturing-BVfykE-4.js","assets/Government-BFIAKMMx.js","assets/Energy-BQPGTMzU.js","assets/Telecom-szRil7pI.js","assets/Retail-DlW9I5lI.js","assets/Defense-BBukJzbp.js","assets/Education-B_5HGRwL.js","assets/Agriculture-DCiUjxhs.js","assets/Logistics-DmTqp2pV.js","assets/Maritime-Ddckpy8r.js","assets/Hospitality-CNkmioNk.js","assets/Technology-D7-0AuqW.js","assets/ForCXOs-BCMm_ioK.js","assets/VideoFrame-Dyp-zwmc.js","assets/UseCases-Bqf3RgYY.js","assets/ForDataScientists-DO9p5Sl5.js","assets/ForDataEngineers-BQEQWwlH.js","assets/ForAnalysts-CW7yve7K.js","assets/ForIT-D68Z9a_M.js","assets/InsightsHub-B7ouOXfZ.js","assets/DecisionIntelligence-B60te3Q4.js","assets/AgenticAI-fHQRfkkf.js","assets/CustomerStories-C035cUAY.js","assets/VideoVault-CtfYFfFG.js","assets/Podcast-D3bwvXW5.js","assets/LearnHub-DAtjpJe_.js","assets/Rubiversity-DYEXPjOE.js","assets/Certifications-BjJoSrMv.js","assets/LearningPaths-D22wEuOg.js","assets/DataVizCourse-Bz3BKF3x.js","assets/DataScienceCourse-C30fxFdL.js","assets/DataEngineeringCourse-OvTgbOro.js","assets/AiMlCertification-Dp4A2TNi.js","assets/RubiversityPartners-Wx4Ff-e1.js","assets/LabsCoe-C5SayIJM.js","assets/ResourcesHub-BnBdq_jf.js","assets/Rubipedia-DaemFj4Q.js","assets/RubiWiseTemplates-CaiHiqJg.js","assets/RoiCalculator-IIlo0O10.js","assets/MaturityAssessment-TA0ByhVe.js","assets/TimeToInsight-D0S0opgb.js","assets/Community-COEooLPg.js","assets/Events-Rn5x6OZT.js","assets/Demo-8K8hDXOA.js","assets/confetti.module-B5JVzsfH.js","assets/Trial-Dvcih6i2.js","assets/Pricing-
1DQkoIXeC.js","assets/Contact-CBUJai2i.js","assets/OurStory-CLiROUtg.js","assets/AboutTeam-xMYqMHvd.js","assets/Newsroom-cirtWiXp.js","assets/Partners-DOLsPWb1.js","assets/PartnerModels-BhI8LxFc.js","assets/PartnerTiers-D3xJLbO_.js","assets/PartnerEnablement-D8A46OGg.js","assets/DatabricksPartner-g17mz2_C.js","assets/Careers-CCg8dO7R.js","assets/Engineering-BB6xGWN_.js","assets/Sales-8rj0BjJN.js","assets/CaseStudyJNPT-CgQ6Weti.js","assets/ServiceHub-DQUClyxN.js","assets/Ideas-BDBKHeJi.js","assets/Xperience-Dw0kEwvg.js","assets/Labs-BbeSn36J.js","assets/PrivacyPolicy-D_r-haF2.js","assets/LegalPageLayout-DcumZpfm.js","assets/Terms-dFVV2ydS.js","assets/CookiePolicy-Dd_AkFLX.js","assets/WhyRubiscape-msthRIfJ.js","assets/TheProblem-mRFswQp5.js","assets/GovernanceFirst-BQl5Rr0F.js","assets/AiDataAcademy-H4AexUba.js","assets/TcoAndRoi-Ca-Esp0l.js","assets/AiLabsCocreation-C2xyl8GX.js","assets/OnHyperscalers-BtfizVaG.js","assets/OnDataPlatforms-VDRtp9Vr.js","assets/Byoc-B4IHc3Hp.js","assets/NotFound-D5Jt4TB1.js","assets/Login-jUZiCZUv.js","assets/Register-BfWFHX3C.js","assets/PortalLayout-C9QcjcPl.js"])))=>i.map(i=>d[i]); 2var cs=t=>{throw TypeError(t)};var nr=(t,e,s)=>e.has(t)||cs("Cannot "+s);var f=(t,e,s)=>(nr(t,e,"read from private field"),s?s.call(t):e.get(t)),T=(t,e,s)=>e.has(t)?cs("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),P=(t,e,s,i)=>(nr(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),Y=(t,e,s)=>(nr(t,e,"access private method"),s);var It=(t,e,s,i)=>({set _(n){P(t,e,n,s)},get _(){return f(t,e,i)}});import{r as u,j as r,i as Xi,k as He,N as Ot,L as I,H as Hs,B as en,m as tn,n as b,p as rn,g as sn,q as nn}from"./vendor-react-Dr_-jh_l.js";import{_ as qe,P as an}from"./vendor-radix-DcoA5snS.js";import{S as kr,B as Wt,U as Ir,a as Cr,D as on,F as Ht,A as D,L as ln,Z as lt,C as Sr,b as cn,c as gt,T as yt,d as Qe,e as un,f as Pr,g as vt,h as Qs,i as Lt,G as Qt,j as Ys,H as qs,k as Yt,l as Ks,m as qt,n as dn,o as hn,p as pn,q as Js,r as mn,s as fn,t as xn,u as bn,v as gn,R as yn,w as We,M as Zs,x as vn,y as Kt,z as jn,V as Fr,E as Xs,I as wn,N as _n,J as ei,K as ti,O as cr,P as An,Q as En,X as us,W as Nn,Y as kn,_ as ri,$ as In,a0 as Cn,a1 as Sn,a2 as Pn,a3 as Fn}from"./vendor-icons-17HUQdMN.js";import{A as Jt,m as dt}from"./vendor-motion-CH0YPPW4.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const a of n)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function s(n){const a={};return n.integrity&&(a.integrity=n.integrity),n.referrerPolicy&&(a.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?a.credentials="include":n.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(n){if(n.ep)return;n.ep=!0;const a=s(n);fetch(n.href,a)}})();var Zt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ze,Ne,Xe,Ms,Rn=(Ms=class extends Zt{constructor(){super();T(this,ze);T(this,Ne);T(this,Xe);P(this,Xe,e=>{if(typeof window<"u"&&window.addEventListener){const s=()=>e();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){f(this,Ne)||this.setEventListener(f(this,Xe))}onUnsubscribe(){var e;this.hasListeners()||((e=f(this,Ne))==null||e.call(this),P(this,Ne,void 0))}setEventListener(e){var s;P(this,Xe,e),(s=f(this,Ne))==null||s.call(this),P(this,Ne,e(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(e){f(this,ze)!==e&&(P(this,ze,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(s=>{s(e)})}isFocused(){var e;return typeof f(this,ze)=="boolean"?f(this,ze):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},ze=new WeakMap,Ne=new WeakMap,Xe=new WeakMap,Ms),si=new Rn,On={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},ke,Nr,Ls,Tn=(Ls=class{constructor(){T(this,ke,On);T(this,Nr,!1)}setTimeoutProvider(t){P(this,ke,t)}setTimeout(t,e){return f(this,ke).setTimeout(t,e)}clearTimeout(t){f(this,ke).clearTimeout(t)}setInterval(t,e){return f(this,ke).setInterval(t,e)}clearInterval(t){f(this,ke).clearInterval(t)}},ke=new WeakMap,Nr=new WeakMap,Ls),ur=new Tn;function Dn(t){setTimeout(t,0)}var Mn=typeof window>"u"||"Deno"in globalThis;function ne(){}function Ln(t,e){return typeof t=="function"?t(e):t}function zn(t){return typeof t=="number"&&t>=0&&t!==1/0}function Bn(t,e){return Math.max(t+(e||0)-Date.now(),0)}function dr(t,e){return typeof t=="function"?t(e):t}function Vn(t,e){return typeof t=="function"?t(e):t}function ds(t,e){const{type:s="all",exact:i,fetchStatus:n,predicate:a,queryKey:o,stale:l}=t;if(o){if(i){if(e.queryHash!==Rr(o,e.options))return!1}else if(!pt(e.queryKey,o))return!1}if(s!=="all"){const c=e.isActive();if(s==="active"&&!c||s==="inactive"&&c)return!1}return!(typeof l=="boolean"&&e.isStale()!==l||n&&n!==e.state.fetchStatus||a&&!a(e))}function hs(t,e){const{exact:s,status:i,predicate:n,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(s){if(ht(e.options.mutationKey)!==ht(a))return!1}else if(!pt(e.options.mutationKey,a))return!1}
2return!(i&&e.state.status!==i||n&&!n(e))}function Rr(t,e){return((e==null?void 0:e.queryKeyHashFn)||ht)(t)}function ht(t){return JSON.stringify(t,(e,s)=>hr(s)?Object.keys(s).sort().reduce((i,n)=>(i[n]=s[n],i),{}):s)}function pt(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(s=>pt(t[s],e[s])):!1}var $n=Object.prototype.hasOwnProperty;function ii(t,e,s=0){if(t===e)return t;if(s>500)return e;const i=ps(t)&&ps(e);if(!i&&!(hr(t)&&hr(e)))return e;const a=(i?t:Object.keys(t)).length,o=i?e:Object.keys(e),l=o.length,c=i?new Array(l):{};let h=0;for(let d=0;d<l;d++){const p=i?d:o[d],x=t[p],m=e[p];if(x===m){c[p]=x,(i?d<a:$n.call(t,p))&&h++;continue}if(x===null||m===null||typeof x!="object"||typeof m!="object"){c[p]=m;continue}const N=ii(x,m,s+1);c[p]=N,N===x&&h++}return a===l&&h===a?t:c}function Qd(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function ps(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function hr(t){if(!ms(t))return!1;const e=t.constructor;if(e===void 0)return!0;const s=e.prototype;return!(!ms(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function ms(t){return Object.prototype.toString.call(t)==="[object Object]"}function Un(t){return new Promise(e=>{ur.setTimeout(e,t)})}function Gn(t,e,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,e):s.structuralSharing!==!1?ii(t,e):e}function Wn(t,e,s=0){const i=[...t,e];return s&&i.length>s?i.slice(1):i}function Hn(t,e,s=0){const i=[e,...t];return s&&i.length>s?i.slice(0,-1):i}var Or=Symbol();function ni(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===Or?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Yd(t,e){return typeof t=="function"?t(...e):!!t}function Qn(t,e,s){let i=!1,n;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(n??(n=e()),i||(i=!0,n.aborted?s():n.addEventListener("abort",s,{once:!0})),n)}),t}var ai=(()=>{let t=()=>Mn;return{isServer(){return t()},setIsServer(e){t=e}}})();function Yn(){let t,e;const s=new Promise((n,a)=>{t=n,e=a});s.status="pending",s.catch(()=>{});function i(n){Object.assign(s,n),delete s.resolve,delete s.reject}return s.resolve=n=>{i({status:"fulfilled",value:n}),t(n)},s.reject=n=>{i({status:"rejected",reason:n}),e(n)},s}var qn=Dn;function Kn(){let t=[],e=0,s=l=>{l()},i=l=>{l()},n=qn;const a=l=>{e?t.push(l):n(()=>{s(l)})},o=()=>{const l=t;t=[],l.length&&n(()=>{i(()=>{l.forEach(c=>{s(c)})})})};return{batch:l=>{let c;e++;try{c=l()}finally{e--,e||o()}return c},batchCalls:l=>(...c)=>{a(()=>{l(...c)})},schedule:a,setNotifyFunction:l=>{s=l},setBatchNotifyFunction:l=>{i=l},setScheduler:l=>{n=l}}}var X=Kn(),et,Ie,tt,zs,Jn=(zs=class extends Zt{constructor(){super();T(this,et,!0);T(this,Ie);T(this,tt);P(this,tt,e=>{if(typeof window<"u"&&window.addEventListener){const s=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",i)}}})}onSubscribe(){f(this,Ie)||this.setEventListener(f(this,tt))}onUnsubscribe(){var e;this.hasListeners()||((e=f(this,Ie))==null||e.call(this),P(this,Ie,void 0))}setEventListener(e){var s;P(this,tt,e),(s=f(this,Ie))==null||s.call(this),P(this,Ie,e(this.setOnline.bind(this)))}setOnline(e){f(this,et)!==e&&(P(this,et,e),this.listeners.forEach(i=>{i(e)}))}isOnline(){return f(this,et)}},et=new WeakMap,Ie=new WeakMap,tt=new WeakMap,zs),zt=new Jn;function Zn(t){return Math.min(1e3*2**t,3e4)}function oi(t){return(t??"online")==="online"?zt.isOnline():!0}var pr=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function li(t){let e=!1,s=0,i;const n=Yn(),a=()=>n.status!=="pending",o=v=>{var w;if(!a()){const j=new pr(v);x(j),(w=t.onCancel)==null||w.call(t,j)}},l=()=>{e=!0},c=()=>{e=!1},h=()=>si.isFocused()&&(t.networkMode==="always"||zt.isOnline())&&t.canRun(),d=()=>oi(t.networkMode)&&t.canRun(),p=v=>{a()||(i==null||i(),n.resolve(v))},x=v=>{a()||(i==null||i(),n.reject(v))},m=()=>new Promise(v=>{var w;i=j=>{(a()||h())&&v(j)},(w=t.onPause)==null||w.call(t)}).then(()=>{var v;i=void 0,a()||(v=t.onContinue)==null||v.call(t)}),N=()=>
2{if(a())return;let v;const w=s===0?t.initialPromise:void 0;try{v=w??t.fn()}catch(j){v=Promise.reject(j)}Promise.resolve(v).then(p).catch(j=>{var z;if(a())return;const F=t.retry??(ai.isServer()?0:3),k=t.retryDelay??Zn,_=typeof k=="function"?k(s,j):k,M=F===!0||typeof F=="number"&&s<F||typeof F=="function"&&F(s,j);if(e||!M){x(j);return}s++,(z=t.onFail)==null||z.call(t,s,j),Un(_).then(()=>h()?void 0:m()).then(()=>{e?x(j):N()})})};return{promise:n,status:()=>n.status,cancel:o,continue:()=>(i==null||i(),n),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?N():m().then(N),n)}}var Be,Bs,ci=(Bs=class{constructor(){T(this,Be)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),zn(this.gcTime)&&P(this,Be,ur.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(ai.isServer()?1/0:5*60*1e3))}clearGcTimeout(){f(this,Be)!==void 0&&(ur.clearTimeout(f(this,Be)),P(this,Be,void 0))}},Be=new WeakMap,Bs);function Xn(t){return{onFetch:(e,s)=>{var d,p,x,m,N;const i=e.options,n=(x=(p=(d=e.fetchOptions)==null?void 0:d.meta)==null?void 0:p.fetchMore)==null?void 0:x.direction,a=((m=e.state.data)==null?void 0:m.pages)||[],o=((N=e.state.data)==null?void 0:N.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const h=async()=>{let v=!1;const w=k=>{Qn(k,()=>e.signal,()=>v=!0)},j=ni(e.options,e.fetchOptions),F=async(k,_,M)=>{if(v)return Promise.reject(e.signal.reason);if(_==null&&k.pages.length)return Promise.resolve(k);const Q=(()=>{const ie={client:e.client,queryKey:e.queryKey,pageParam:_,direction:M?"backward":"forward",meta:e.options.meta};return w(ie),ie})(),y=await j(Q),{maxPages:R}=e.options,U=M?Hn:Wn;return{pages:U(k.pages,y,R),pageParams:U(k.pageParams,_,R)}};if(n&&a.length){const k=n==="backward",_=k?ea:fs,M={pages:a,pageParams:o},z=_(i,M);l=await F(M,z,k)}else{const k=t??a.length;do{const _=c===0?o[0]??i.initialPageParam:fs(i,l);if(c>0&&_==null)break;l=await F(l,_),c++}while(c<k)}return l};e.options.persister?e.fetchFn=()=>{var v,w;return(w=(v=e.options).persister)==null?void 0:w.call(v,h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s)}:e.fetchFn=h}}}function fs(t,{pages:e,pageParams:s}){const i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,s[i],s):void 0}function ea(t,{pages:e,pageParams:s}){var i;return e.length>0?(i=t.getPreviousPageParam)==null?void 0:i.call(t,e[0],e,s[0],s):void 0}var rt,Ve,st,se,$e,H,ft,Ue,re,ui,be,Vs,ta=(Vs=class extends ci{constructor(e){super();T(this,re);T(this,rt);T(this,Ve);T(this,st);T(this,se);T(this,$e);T(this,H);T(this,ft);T(this,Ue);P(this,Ue,!1),P(this,ft,e.defaultOptions),this.setOptions(e.options),this.observers=[],P(this,$e,e.client),P(this,se,f(this,$e).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,P(this,Ve,bs(this.options)),this.state=e.state??f(this,Ve),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return f(this,rt)}get promise(){var e;return(e=f(this,H))==null?void 0:e.promise}setOptions(e){if(this.options={...f(this,ft),...e},e!=null&&e._type&&P(this,rt,e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=bs(this.options);s.data!==void 0&&(this.setState(xs(s.data,s.dataUpdatedAt)),P(this,Ve,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&f(this,se).remove(this)}setData(e,s){const i=Gn(this.state.data,e,this.options);return Y(this,re,be).call(this,{data:i,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),i}setState(e){Y(this,re,be).call(this,{type:"setState",state:e})}cancel(e){var i,n;const s=(i=f(this,H))==null?void 0:i.promise;return(n=f(this,H))==null||n.cancel(e),s?s.then(ne).catch(ne):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return f(this,Ve)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Vn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Or||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
2Count>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>dr(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Bn(this.state.dataUpdatedAt,e)}onFocus(){var s;const e=this.observers.find(i=>i.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(s=f(this,H))==null||s.continue()}onOnline(){var s;const e=this.observers.find(i=>i.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(s=f(this,H))==null||s.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),f(this,se).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(s=>s!==e),this.observers.length||(f(this,H)&&(f(this,Ue)||Y(this,re,ui).call(this)?f(this,H).cancel({revert:!0}):f(this,H).cancelRetry()),this.scheduleGc()),f(this,se).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Y(this,re,be).call(this,{type:"invalidate"})}async fetch(e,s){var h,d,p,x,m,N,v,w,j,F,k;if(this.state.fetchStatus!=="idle"&&((h=f(this,H))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(f(this,H))return f(this,H).continueRetry(),f(this,H).promise}if(e&&this.setOptions(e),!this.options.queryFn){const _=this.observers.find(M=>M.options.queryFn);_&&this.setOptions(_.options)}const i=new AbortController,n=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>(P(this,Ue,!0),i.signal)})},a=()=>{const _=ni(this.options,s),z=(()=>{const Q={client:f(this,$e),queryKey:this.queryKey,meta:this.meta};return n(Q),Q})();return P(this,Ue,!1),this.options.persister?this.options.persister(_,z,this):_(z)},l=(()=>{const _={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:f(this,$e),state:this.state,fetchFn:a};return n(_),_})(),c=f(this,rt)==="infinite"?Xn(this.options.pages):this.options.behavior;c==null||c.onFetch(l,this),P(this,st,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=l.fetchOptions)==null?void 0:d.meta))&&Y(this,re,be).call(this,{type:"fetch",meta:(p=l.fetchOptions)==null?void 0:p.meta}),P(this,H,li({initialPromise:s==null?void 0:s.initialPromise,fn:l.fetchFn,onCancel:_=>{_ instanceof pr&&_.revert&&this.setState({...f(this,st),fetchStatus:"idle"}),i.abort()},onFail:(_,M)=>{Y(this,re,be).call(this,{type:"failed",failureCount:_,error:M})},onPause:()=>{Y(this,re,be).call(this,{type:"pause"})},onContinue:()=>{Y(this,re,be).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}));try{const _=await f(this,H).start();if(_===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(_),(m=(x=f(this,se).config).onSuccess)==null||m.call(x,_,this),(v=(N=f(this,se).config).onSettled)==null||v.call(N,_,this.state.error,this),_}catch(_){if(_ instanceof pr){if(_.silent)return f(this,H).promise;if(_.revert){if(this.state.data===void 0)throw _;return this.state.data}}throw Y(this,re,be).call(this,{type:"error",error:_}),(j=(w=f(this,se).config).onError)==null||j.call(w,_,this),(k=(F=f(this,se).config).onSettled)==null||k.call(F,this.state.data,_,this),_}finally{this.scheduleGc()}}},rt=new WeakMap,Ve=new WeakMap,st=new WeakMap,se=new WeakMap,$e=new WeakMap,H=new WeakMap,ft=new WeakMap,Ue=new WeakMap,re=new WeakSet,ui=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},be=function(e){const s=i=>{switch(e.type){case"failed":return{...i,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...ra(i.data,this.options),fetchMeta:e.meta??null};case"success":const n={...i,...xs(e.data,e.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return P(this,st,e.manual?n:void 0),n;case"error":const a=e.error;
2return{...i,error:a,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...e.state}}};this.state=s(this.state),X.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),f(this,se).notify({query:this,type:"updated",action:e})})},Vs);function ra(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:oi(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function xs(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function bs(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,s=e!==void 0,i=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var xt,le,K,Ge,ce,Ae,$s,sa=($s=class extends ci{constructor(e){super();T(this,ce);T(this,xt);T(this,le);T(this,K);T(this,Ge);P(this,xt,e.client),this.mutationId=e.mutationId,P(this,K,e.mutationCache),P(this,le,[]),this.state=e.state||ia(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){f(this,le).includes(e)||(f(this,le).push(e),this.clearGcTimeout(),f(this,K).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){P(this,le,f(this,le).filter(s=>s!==e)),this.scheduleGc(),f(this,K).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){f(this,le).length||(this.state.status==="pending"?this.scheduleGc():f(this,K).remove(this))}continue(){var e;return((e=f(this,Ge))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var o,l,c,h,d,p,x,m,N,v,w,j,F,k,_,M,z,Q;const s=()=>{Y(this,ce,Ae).call(this,{type:"continue"})},i={client:f(this,xt),meta:this.options.meta,mutationKey:this.options.mutationKey};P(this,Ge,li({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(new Error("No mutationFn found")),onFail:(y,R)=>{Y(this,ce,Ae).call(this,{type:"failed",failureCount:y,error:R})},onPause:()=>{Y(this,ce,Ae).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>f(this,K).canRun(this)}));const n=this.state.status==="pending",a=!f(this,Ge).canStart();try{if(n)s();else{Y(this,ce,Ae).call(this,{type:"pending",variables:e,isPaused:a}),f(this,K).config.onMutate&&await f(this,K).config.onMutate(e,this,i);const R=await((l=(o=this.options).onMutate)==null?void 0:l.call(o,e,i));R!==this.state.context&&Y(this,ce,Ae).call(this,{type:"pending",context:R,variables:e,isPaused:a})}const y=await f(this,Ge).start();return await((h=(c=f(this,K).config).onSuccess)==null?void 0:h.call(c,y,e,this.state.context,this,i)),await((p=(d=this.options).onSuccess)==null?void 0:p.call(d,y,e,this.state.context,i)),await((m=(x=f(this,K).config).onSettled)==null?void 0:m.call(x,y,null,this.state.variables,this.state.context,this,i)),await((v=(N=this.options).onSettled)==null?void 0:v.call(N,y,null,e,this.state.context,i)),Y(this,ce,Ae).call(this,{type:"success",data:y}),y}catch(y){try{await((j=(w=f(this,K).config).onError)==null?void 0:j.call(w,y,e,this.state.context,this,i))}catch(R){Promise.reject(R)}try{await((k=(F=this.options).onError)==null?void 0:k.call(F,y,e,this.state.context,i))}catch(R){Promise.reject(R)}try{await((M=(_=f(this,K).config).onSettled)==null?void 0:M.call(_,void 0,y,this.state.variables,this.state.context,this,i))}catch(R){Promise.reject(R)}try{await((Q=(z=this.options).onSettled)==null?void 0:Q.call(z,void 0,y,e,this.state.context,i))}catch(R){Promise.reject(R)}throw Y(this,ce,Ae).call(this,{type:"error",error:y}),y}finally{f(this,K).runNext(this)}}},xt=new WeakMap,le=new WeakMap,K=new WeakMap,Ge=new WeakMap,ce=new WeakSet,Ae=function(e){const s=i=>{switch(e.type){case"failed":return{...i,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};
2case"pending":return{...i,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...i,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:e.error,failureCount:i.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=s(this.state),X.batch(()=>{f(this,le).forEach(i=>{i.onMutationUpdate(e)}),f(this,K).notify({mutation:this,type:"updated",action:e})})},$s);function ia(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ge,ae,bt,Us,na=(Us=class extends Zt{constructor(e={}){super();T(this,ge);T(this,ae);T(this,bt);this.config=e,P(this,ge,new Set),P(this,ae,new Map),P(this,bt,0)}build(e,s,i){const n=new sa({client:e,mutationCache:this,mutationId:++It(this,bt)._,options:e.defaultMutationOptions(s),state:i});return this.add(n),n}add(e){f(this,ge).add(e);const s=Ct(e);if(typeof s=="string"){const i=f(this,ae).get(s);i?i.push(e):f(this,ae).set(s,[e])}this.notify({type:"added",mutation:e})}remove(e){if(f(this,ge).delete(e)){const s=Ct(e);if(typeof s=="string"){const i=f(this,ae).get(s);if(i)if(i.length>1){const n=i.indexOf(e);n!==-1&&i.splice(n,1)}else i[0]===e&&f(this,ae).delete(s)}}this.notify({type:"removed",mutation:e})}canRun(e){const s=Ct(e);if(typeof s=="string"){const i=f(this,ae).get(s),n=i==null?void 0:i.find(a=>a.state.status==="pending");return!n||n===e}else return!0}runNext(e){var i;const s=Ct(e);if(typeof s=="string"){const n=(i=f(this,ae).get(s))==null?void 0:i.find(a=>a!==e&&a.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}else return Promise.resolve()}clear(){X.batch(()=>{f(this,ge).forEach(e=>{this.notify({type:"removed",mutation:e})}),f(this,ge).clear(),f(this,ae).clear()})}getAll(){return Array.from(f(this,ge))}find(e){const s={exact:!0,...e};return this.getAll().find(i=>hs(s,i))}findAll(e={}){return this.getAll().filter(s=>hs(e,s))}notify(e){X.batch(()=>{this.listeners.forEach(s=>{s(e)})})}resumePausedMutations(){const e=this.getAll().filter(s=>s.state.isPaused);return X.batch(()=>Promise.all(e.map(s=>s.continue().catch(ne))))}},ge=new WeakMap,ae=new WeakMap,bt=new WeakMap,Us);function Ct(t){var e;return(e=t.options.scope)==null?void 0:e.id}var ue,Gs,aa=(Gs=class extends Zt{constructor(e={}){super();T(this,ue);this.config=e,P(this,ue,new Map)}build(e,s,i){const n=s.queryKey,a=s.queryHash??Rr(n,s);let o=this.get(a);return o||(o=new ta({client:e,queryKey:n,queryHash:a,options:e.defaultQueryOptions(s),state:i,defaultOptions:e.getQueryDefaults(n)}),this.add(o)),o}add(e){f(this,ue).has(e.queryHash)||(f(this,ue).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const s=f(this,ue).get(e.queryHash);s&&(e.destroy(),s===e&&f(this,ue).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){X.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return f(this,ue).get(e)}getAll(){return[...f(this,ue).values()]}find(e){const s={exact:!0,...e};return this.getAll().find(i=>ds(s,i))}findAll(e={}){const s=this.getAll();return Object.keys(e).length>0?s.filter(i=>ds(e,i)):s}notify(e){X.batch(()=>{this.listeners.forEach(s=>{s(e)})})}onFocus(){X.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){X.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ue=new WeakMap,Gs),L,Ce,Se,it,nt,Pe,at,ot,Ws,oa=(Ws=class{constructor(t={}){T(this,L);T(this,Ce);T(this,Se);T(this,it);T(this,nt);T(this,Pe);T(this,at);T(this,ot);P(this,L,t.queryCache||new aa),P(this,Ce,t.mutationCache||new na),P(this,Se,t.defaultOptions||{}),P(this,it,new Map),P(this,nt,new Map),P(this,Pe,0)}mount(){It(this,Pe)._++,f(this,Pe)===1&&(P(this,at,si.subscribe(async t=>{t&&(await this.resumePausedMutations(),f(this,L).onFocus())})),P(this,ot,zt.subscribe(async t=>{t&&(await this.resumePausedMutations(),f(this,L).onOnline())})))}unmount(){var t,e;It(this,Pe)._--,f(this,Pe)===0&&((t=f(this,at))==null||t.call(this),P(this,at,void 0),(e=f(this,ot))==null||e.call(this),P(this,ot,void 0))}isFetching(t){return f(this,L).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return f(this,Ce).findAll({...t,status:"pending"}).length}getQueryData(t){var s;const e=this.defaultQueryOptions({queryKey:t});return(s=f(this,L).get(e.queryHash))==null?void 0:s.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=f(this,L).build(this,e),i=s.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(dr(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return f(this,L).findAll(t).map(({queryKey:e,state:s})=>{const i=s.data;return[e,i]})}setQueryData(t,e,s){const i=this.defaultQueryOptions({queryKey:t}),n=f(this,L).get(i.queryHash),a=n==null?void 0:n.state.data,o=Ln(e,a);if(o!==void 0)return f(this,L).build(this,i).setData(o,{...s,manual:!0})}
2setQueriesData(t,e,s){return X.batch(()=>f(this,L).findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,e,s)]))}getQueryState(t){var s;const e=this.defaultQueryOptions({queryKey:t});return(s=f(this,L).get(e.queryHash))==null?void 0:s.state}removeQueries(t){const e=f(this,L);X.batch(()=>{e.findAll(t).forEach(s=>{e.remove(s)})})}resetQueries(t,e){const s=f(this,L);return X.batch(()=>(s.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const s={revert:!0,...e},i=X.batch(()=>f(this,L).findAll(t).map(n=>n.cancel(s)));return Promise.all(i).then(ne).catch(ne)}invalidateQueries(t,e={}){return X.batch(()=>(f(this,L).findAll(t).forEach(s=>{s.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const s={...e,cancelRefetch:e.cancelRefetch??!0},i=X.batch(()=>f(this,L).findAll(t).filter(n=>!n.isDisabled()&&!n.isStatic()).map(n=>{let a=n.fetch(void 0,s);return s.throwOnError||(a=a.catch(ne)),n.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(i).then(ne)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=f(this,L).build(this,e);return s.isStaleByTime(dr(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(ne).catch(ne)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(ne).catch(ne)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return zt.isOnline()?f(this,Ce).resumePausedMutations():Promise.resolve()}getQueryCache(){return f(this,L)}getMutationCache(){return f(this,Ce)}getDefaultOptions(){return f(this,Se)}setDefaultOptions(t){P(this,Se,t)}setQueryDefaults(t,e){f(this,it).set(ht(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...f(this,it).values()],s={};return e.forEach(i=>{pt(t,i.queryKey)&&Object.assign(s,i.defaultOptions)}),s}setMutationDefaults(t,e){f(this,nt).set(ht(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...f(this,nt).values()],s={};return e.forEach(i=>{pt(t,i.mutationKey)&&Object.assign(s,i.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e={...f(this,Se).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=Rr(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===Or&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...f(this,Se).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){f(this,L).clear(),f(this,Ce).clear()}},L=new WeakMap,Ce=new WeakMap,Se=new WeakMap,it=new WeakMap,nt=new WeakMap,Pe=new WeakMap,at=new WeakMap,ot=new WeakMap,Ws),di=u.createContext(void 0),qd=t=>{const e=u.useContext(di);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},la=({client:t,children:e})=>(u.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),r.jsx(di.Provider,{value:t,children:e})),ca=()=>{window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)})},ua="@vercel/analytics",da="2.0.1";function hi(){return typeof window<"u"}function pi(){try{const t="production"}catch{}return"production"}function ha(t="auto"){if(t==="auto"){window.vam=pi();return}window.vam=t}function pa(){return(hi()?window.vam:pi())||"production"}function Tr(){return pa()==="development"}function ma(t){return t.scriptSrc?Ze(t.scriptSrc):Tr()?"https://va.vercel-scripts.com/v1/script.debug.js":t.basePath?Ze(`${t.basePath}/insights/script.js`):"/_vercel/insights/script.js"}function fa(t,e){var s;let i=t;if(e)try{i={...(s=JSON.parse(e))==null?void 0:s.analytics,...t}}catch{}ha(i.mode);const n={sdkn:ua+(i.framework?`/${i.framework}`:""),sdkv:da};return i.disableAutoTrack&&(n.disableAutoTrack="1"),i.viewEndpoint&&(n.viewEndpoint=Ze(i.viewEndpoint)),i.eventEndpoint&&(n.eventEndpoint=Ze(i.eventEndpoint)),i.sessionEndpoint&&(n.sessionEndpoint=Ze(i.sessionEndpoint)),Tr()&&i.debug===!1&&(n.debug="false"),i.dsn&&(n.dsn=i.dsn),i.endpoint?n.endpoint=i.endpoint:i.basePath&&(n.endpoint=Ze(`${i.basePath}/insights`)),{beforeSend:i.beforeSend,src:ma(i),dataset:n}}function Ze(t){return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("/")?t:`/${t}`}function xa(t={debug:!0},e){var s;if(!hi())return;const{beforeSend:i,src:n,dataset:a}=fa(t,e);
2if(ca(),i&&((s=window.va)==null||s.call(window,"beforeSend",i)),document.head.querySelector(`script[src*="${n}"]`))return;const o=document.createElement("script");o.src=n;for(const[l,c]of Object.entries(a))o.dataset[l]=c;o.defer=!0,o.onerror=()=>{const l=Tr()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${n}. ${l}`)},document.head.appendChild(o)}const ba="modulepreload",ga=function(t){return"/"+t},gs={},g=function(e,s,i){let n=Promise.resolve();if(s&&s.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));n=Promise.allSettled(s.map(c=>{if(c=ga(c),c in gs)return;gs[c]=!0;const h=c.endsWith(".css"),d=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=h?"stylesheet":ba,h||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),h)return new Promise((x,m)=>{p.addEventListener("load",x),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function a(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return n.then(o=>{for(const l of o||[])l.status==="rejected"&&a(l.reason);return e().catch(a)})};let ya={data:""},va=t=>{if(typeof window=="object"){let e=(t?t.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return e.nonce=window.__nonce__,e.parentNode||(t||document.head).appendChild(e),e.firstChild}return t||ya},ja=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,wa=/\/\*[^]*?\*\/| +/g,ys=/\n+/g,Ee=(t,e)=>{let s="",i="",n="";for(let a in t){let o=t[a];a[0]=="@"?a[1]=="i"?s=a+" "+o+";":i+=a[1]=="f"?Ee(o,a):a+"{"+Ee(o,a[1]=="k"?"":e)+"}":typeof o=="object"?i+=Ee(o,e?e.replace(/([^,])+/g,l=>a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,l):l?l+" "+c:c)):a):o!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),n+=Ee.p?Ee.p(a,o):a+":"+o+";")}return s+(e&&n?e+"{"+n+"}":n)+i},fe={},mi=t=>{if(typeof t=="object"){let e="";for(let s in t)e+=s+mi(t[s]);return e}return t},_a=(t,e,s,i,n)=>{let a=mi(t),o=fe[a]||(fe[a]=(c=>{let h=0,d=11;for(;h<c.length;)d=101*d+c.charCodeAt(h++)>>>0;return"go"+d})(a));if(!fe[o]){let c=a!==t?t:(h=>{let d,p,x=[{}];for(;d=ja.exec(h.replace(wa,""));)d[4]?x.shift():d[3]?(p=d[3].replace(ys," ").trim(),x.unshift(x[0][p]=x[0][p]||{})):x[0][d[1]]=d[2].replace(ys," ").trim();return x[0]})(t);fe[o]=Ee(n?{["@keyframes "+o]:c}:c,s?"":"."+o)}let l=s&&fe.g?fe.g:null;return s&&(fe.g=fe[o]),((c,h,d,p)=>{p?h.data=h.data.replace(p,c):h.data.indexOf(c)===-1&&(h.data=d?c+h.data:h.data+c)})(fe[o],e,i,l),o},Aa=(t,e,s)=>t.reduce((i,n,a)=>{let o=e[a];if(o&&o.call){let l=o(s),c=l&&l.props&&l.props.className||/^go/.test(l)&&l;o=c?"."+c:l&&typeof l=="object"?l.props?"":Ee(l,""):l===!1?"":l}return i+n+(o??"")},"");function Xt(t){let e=this||{},s=t.call?t(e.p):t;return _a(s.unshift?s.raw?Aa(s,[].slice.call(arguments,1),e.p):s.reduce((i,n)=>Object.assign(i,n&&n.call?n(e.p):n),{}):s,va(e.target),e.g,e.o,e.k)}let fi,mr,fr;Xt.bind({g:1});let ye=Xt.bind({k:1});function Ea(t,e,s,i){Ee.p=e,fi=t,mr=s,fr=i}function Re(t,e){let s=this||{};return function(){let i=arguments;function n(a,o){let l=Object.assign({},a),c=l.className||n.className;s.p=Object.assign({theme:mr&&mr()},l),s.o=/ *go\d+/.test(c),l.className=Xt.apply(s,i)+(c?" "+c:"");let h=t;return t[0]&&(h=l.as||t,delete l.as),fr&&h[0]&&fr(l),fi(h,l)}return n}}var Na=t=>typeof t=="function",Bt=(t,e)=>Na(t)?t(e):t,ka=(()=>{let t=0;return()=>(++t).toString()})(),xi=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let e=matchMedia("(prefers-reduced-motion: reduce)");t=!e||e.matches}return t}})(),Ia=20,Dr="default",bi=(t,e)=>{let{toastLimit:s}=t.settings;switch(e.type){case 0:return{...t,toasts:[e.toast,...t.toasts].slice(0,s)};case 1:return{...t,toasts:t.toasts.map(o=>o.id===e.toast.id?{...o,...e.toast}:o)};case 2:let{toast:i}=e;return bi(t,{type:t.toasts.find(o=>o.id===i.id)?1:0,toast:i});case 3:let{toastId:n}=e;return{...t,toasts:t.toasts.map(o=>o.id===n||n===void 0?{...o,dismissed:!0,visible:!1}:o)};case 4:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(o=>o.id!==e.toastId)};case 5:return{...t,pausedAt:e.time};case 6:let a=e.time-(t.pausedAt||0);return{...t,pausedAt:void 0,toasts:t.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+a}))}}},Tt=[],gi={toasts:[],pausedAt:void 0,settings:{toastLimit:Ia}},he={},yi=(t,e=Dr)=>{he[e]=bi(he[e]||gi,t),Tt.forEach(([s,i])=>{s===e&&i(he[e])})},vi=t=>
2Object.keys(he).forEach(e=>yi(t,e)),Ca=t=>Object.keys(he).find(e=>he[e].toasts.some(s=>s.id===t)),er=(t=Dr)=>e=>{yi(e,t)},Sa={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Pa=(t={},e=Dr)=>{let[s,i]=u.useState(he[e]||gi),n=u.useRef(he[e]);u.useEffect(()=>(n.current!==he[e]&&i(he[e]),Tt.push([e,i]),()=>{let o=Tt.findIndex(([l])=>l===e);o>-1&&Tt.splice(o,1)}),[e]);let a=s.toasts.map(o=>{var l,c,h;return{...t,...t[o.type],...o,removeDelay:o.removeDelay||((l=t[o.type])==null?void 0:l.removeDelay)||(t==null?void 0:t.removeDelay),duration:o.duration||((c=t[o.type])==null?void 0:c.duration)||(t==null?void 0:t.duration)||Sa[o.type],style:{...t.style,...(h=t[o.type])==null?void 0:h.style,...o.style}}});return{...s,toasts:a}},Fa=(t,e="blank",s)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:e,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0,...s,id:(s==null?void 0:s.id)||ka()}),jt=t=>(e,s)=>{let i=Fa(e,t,s);return er(i.toasterId||Ca(i.id))({type:2,toast:i}),i.id},$=(t,e)=>jt("blank")(t,e);$.error=jt("error");$.success=jt("success");$.loading=jt("loading");$.custom=jt("custom");$.dismiss=(t,e)=>{let s={type:3,toastId:t};e?er(e)(s):vi(s)};$.dismissAll=t=>$.dismiss(void 0,t);$.remove=(t,e)=>{let s={type:4,toastId:t};e?er(e)(s):vi(s)};$.removeAll=t=>$.remove(void 0,t);$.promise=(t,e,s)=>{let i=$.loading(e.loading,{...s,...s==null?void 0:s.loading});return typeof t=="function"&&(t=t()),t.then(n=>{let a=e.success?Bt(e.success,n):void 0;return a?$.success(a,{id:i,...s,...s==null?void 0:s.success}):$.dismiss(i),n}).catch(n=>{let a=e.error?Bt(e.error,n):void 0;a?$.error(a,{id:i,...s,...s==null?void 0:s.error}):$.dismiss(i)}),t};var Ra=1e3,Oa=(t,e="default")=>{let{toasts:s,pausedAt:i}=Pa(t,e),n=u.useRef(new Map).current,a=u.useCallback((p,x=Ra)=>{if(n.has(p))return;let m=setTimeout(()=>{n.delete(p),o({type:4,toastId:p})},x);n.set(p,m)},[]);u.useEffect(()=>{if(i)return;let p=Date.now(),x=s.map(m=>{if(m.duration===1/0)return;let N=(m.duration||0)+m.pauseDuration-(p-m.createdAt);if(N<0){m.visible&&$.dismiss(m.id);return}return setTimeout(()=>$.dismiss(m.id,e),N)});return()=>{x.forEach(m=>m&&clearTimeout(m))}},[s,i,e]);let o=u.useCallback(er(e),[e]),l=u.useCallback(()=>{o({type:5,time:Date.now()})},[o]),c=u.useCallback((p,x)=>{o({type:1,toast:{id:p,height:x}})},[o]),h=u.useCallback(()=>{i&&o({type:6,time:Date.now()})},[i,o]),d=u.useCallback((p,x)=>{let{reverseOrder:m=!1,gutter:N=8,defaultPosition:v}=x||{},w=s.filter(k=>(k.position||v)===(p.position||v)&&k.height),j=w.findIndex(k=>k.id===p.id),F=w.filter((k,_)=>_<j&&k.visible).length;return w.filter(k=>k.visible).slice(...m?[F+1]:[0,F]).reduce((k,_)=>k+(_.height||0)+N,0)},[s]);return u.useEffect(()=>{s.forEach(p=>{if(p.dismissed)a(p.id,p.removeDelay);else{let x=n.get(p.id);x&&(clearTimeout(x),n.delete(p.id))}})},[s,a]),{toasts:s,handlers:{updateHeight:c,startPause:l,endPause:h,calculateOffset:d}}},Ta=ye` 3from { 4 transform: scale(0) rotate(45deg); 5 opacity: 0; 6} 7to { 8 transform: scale(1) rotate(45deg); 9 opacity: 1; 10}`,Da=ye` 11from { 12 transform: scale(0); 13 opacity: 0; 14} 15to { 16 transform: scale(1); 17 opacity: 1; 18}`,Ma=ye` 19from { 20 transform: scale(0) rotate(90deg); 21 opacity: 0; 22} 23to { 24 transform: scale(1) rotate(90deg); 25 opacity: 1; 26}`,La=Re("div")` 27 width: 20px; 28 opacity: 0; 29 height: 20px; 30 border-radius: 10px; 31 background: ${t=>t.primary||"#ff4b4b"}; 32 position: relative; 33 transform: rotate(45deg); 34 35 animation: ${Ta} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 36 forwards; 37 animation-delay: 100ms; 38 39 &:after, 40 &:before { 41 content: ''; 42 animation: ${Da} 0.15s ease-out forwards; 43 animation-delay: 150ms; 44 position: absolute; 45 border-radius: 3px; 46 opacity: 0; 47 background: ${t=>t.secondary||"#fff"}; 48 bottom: 9px; 49 left: 4px; 50 height: 2px; 51 width: 12px; 52 } 53 54 &:before { 55 animation: ${Ma} 0.15s ease-out forwards; 56 animation-delay: 180ms; 57 transform: rotate(90deg); 58 } 59`,za=ye` 60 from { 61 transform: rotate(0deg); 62 } 63 to { 64 transform: rotate(360deg); 65 } 66`,Ba=Re("div")` 67 width: 12px; 68 height: 12px; 69 box-sizing: border-box; 70 border: 2px solid; 71 border-radius: 100%; 72 border-color: ${t=>
72t.secondary||"#e0e0e0"}; 73 border-right-color: ${t=>t.primary||"#616161"}; 74 animation: ${za} 1s linear infinite; 75`,Va=ye` 76from { 77 transform: scale(0) rotate(45deg); 78 opacity: 0; 79} 80to { 81 transform: scale(1) rotate(45deg); 82 opacity: 1; 83}`,$a=ye` 840% { 85 height: 0; 86 width: 0; 87 opacity: 0; 88} 8940% { 90 height: 0; 91 width: 6px; 92 opacity: 1; 93} 94100% { 95 opacity: 1; 96 height: 10px; 97}`,Ua=Re("div")` 98 width: 20px; 99 opacity: 0; 100 height: 20px; 101 border-radius: 10px; 102 background: ${t=>t.primary||"#61d345"}; 103 position: relative; 104 transform: rotate(45deg); 105 106 animation: ${Va} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 107 forwards; 108 animation-delay: 100ms; 109 &:after { 110 content: ''; 111 box-sizing: border-box; 112 animation: ${$a} 0.2s ease-out forwards; 113 opacity: 0; 114 animation-delay: 200ms; 115 position: absolute; 116 border-right: 2px solid; 117 border-bottom: 2px solid; 118 border-color: ${t=>t.secondary||"#fff"}; 119 bottom: 6px; 120 left: 6px; 121 height: 10px; 122 width: 6px; 123 } 124`,Ga=Re("div")` 125 position: absolute; 126`,Wa=Re("div")` 127 position: relative; 128 display: flex; 129 justify-content: center; 130 align-items: center; 131 min-width: 20px; 132 min-height: 20px; 133`,Ha=ye` 134from { 135 transform: scale(0.6); 136 opacity: 0.4; 137} 138to { 139 transform: scale(1); 140 opacity: 1; 141}`,Qa=Re("div")` 142 position: relative; 143 transform: scale(0.6); 144 opacity: 0.4; 145 min-width: 20px; 146 animation: ${Ha} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) 147 forwards; 148`,Ya=({toast:t})=>{let{icon:e,type:s,iconTheme:i}=t;return e!==void 0?typeof e=="string"?u.createElement(Qa,null,e):e:s==="blank"?null:u.createElement(Wa,null,u.createElement(Ba,{...i}),s!=="loading"&&u.createElement(Ga,null,s==="error"?u.createElement(La,{...i}):u.createElement(Ua,{...i})))},qa=t=>` 1490% {transform: translate3d(0,${t*-200}%,0) scale(.6); opacity:.5;} 150100% {transform: translate3d(0,0,0) scale(1); opacity:1;} 151`,Ka=t=>` 1520% {transform: translate3d(0,0,-1px) scale(1); opacity:1;} 153100% {transform: translate3d(0,${t*-150}%,-1px) scale(.6); opacity:0;} 154`,Ja="0%{opacity:0;} 100%{opacity:1;}",Za="0%{opacity:1;} 100%{opacity:0;}",Xa=Re("div")` 155 display: flex; 156 align-items: center; 157 background: #fff; 158 color: #363636; 159 line-height: 1.3; 160 will-change: transform; 161 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05); 162 max-width: 350px; 163 pointer-events: auto; 164 padding: 8px 10px; 165 border-radius: 8px; 166`,eo=Re("div")` 167 display: flex; 168 justify-content: center; 169 margin: 4px 10px; 170 color: inherit; 171 flex: 1 1 auto; 172 white-space: pre-line; 173`,to=(t,e)=>{let s=t.includes("top")?1:-1,[i,n]=xi()?[Ja,Za]:[qa(s),Ka(s)];return{animation:e?`${ye(i)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${ye(n)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},ro=u.memo(({toast:t,position:e,style:s,children:i})=>{let n=t.height?to(t.position||e||"top-center",t.visible):{opacity:0},a=u.createElement(Ya,{toast:t}),o=u.createElement(eo,{...t.ariaProps},Bt(t.message,t));return u.createElement(Xa,{className:t.className,style:{...n,...s,...t.style}},typeof i=="function"?i({icon:a,message:o}):u.createElement(u.Fragment,null,a,o))});Ea(u.createElement);var so=({id:t,className:e,style:s,onHeightUpdate:i,children:n})=>{let a=u.useCallback(o=>{if(o){let l=()=>{let c=o.getBoundingClientRect().height;i(t,c)};l(),new MutationObserver(l).observe(o,{subtree:!0,childList:!0,characterData:!0})}},[t,i]);return u.createElement("div",{ref:a,className:e,style:s},n)},io=(t,e)=>{let s=t.includes("top"),i=s?{top:0}:{bottom:0},n=t.includes("center")?{justifyContent:"center"}:t.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:xi()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${e*(s?1:-1)}px)`,...i,...n}},no=Xt` 174 z-index: 9999; 175 > * { 176 pointer-events: auto; 177 } 178`,St=16,ao=({reverseOrder:t,position:e="top-center",toastOptions:s,gutter:i,children:n,toasterId:a,containerStyle:o,containerClassName:l})=>{let{toasts:c,handlers:h}=Oa(s,a);return u.createElement("div",{"data-rht-toaster":a||"",style:{position:"fixed",zIndex:9999,top:St,left:St,right:St,bottom:St,pointerEvents:"none",...o},className:l,onMouseEnter:h.startPause,onMouseLeave:h.endPause},c.map(d=>{let p=d.position||e,x=h.calculateOffset(d,{reverseOrder:t,gutter:i,defaultPosition:e}),m=io(p,x);return u.createElement(so,{id:d.id,key:d.id,onHeightUpdate:h.updateHeight,className:d.visible?no:"",style:m},d.type==="custom"?Bt(d.message,d):n?n(d):u.createElement(ro,{toast:d,position:p}))}))},oo=$;function Oe(t){return Array.isArray?Array.isArray(t):wi(t)==="[object Array]"}function lo(t){if(typeof t=="string")return t;if(typeof t=="bigint")return t.toString();const e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function xr(t){return t==null?"":lo(t)}function ee(t){return typeof t=="string"}function Dt(t){return typeof t=="number"}function co(t){return t===!0||t===!1||uo(t)&&wi(t)=="[object Boolean]"}function ji(t){return typeof t=="object"}function uo(t){return ji(t)&&t!==null}function te(t){return t!=null}function Pt(t){return!t.trim().length}
178function wi(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const ho="Incorrect 'index' type",po=t=>`Invalid value for key ${t}`,mo=t=>`Pattern length exceeds max of ${t}.`,fo=t=>`Missing ${t} property in key`,xo=t=>`Property 'weight' in key '${t}' must be a positive integer`,vs=Object.prototype.hasOwnProperty;class bo{constructor(e){this._keys=[],this._keyMap={};let s=0;e.forEach(i=>{const n=_i(i);this._keys.push(n),this._keyMap[n.id]=n,s+=n.weight}),this._keys.forEach(i=>{i.weight/=s})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function _i(t){let e=null,s=null,i=null,n=1,a=null;if(ee(t)||Oe(t))i=t,e=js(t),s=br(t);else{if(!vs.call(t,"name"))throw new Error(fo("name"));const o=t.name;if(i=o,vs.call(t,"weight")&&(n=t.weight,n<=0))throw new Error(xo(o));e=js(o),s=br(o),a=t.getFn}return{path:e,id:s,weight:n,src:i,getFn:a}}function js(t){return Oe(t)?t:t.split(".")}function br(t){return Oe(t)?t.join("."):t}function go(t,e){const s=[];let i=!1;const n=(a,o,l,c)=>{if(te(a))if(!o[l])s.push(c!==void 0?{v:a,i:c}:a);else{const h=o[l],d=a[h];if(!te(d))return;if(l===o.length-1&&(ee(d)||Dt(d)||co(d)||typeof d=="bigint"))s.push(c!==void 0?{v:xr(d),i:c}:xr(d));else if(Oe(d)){i=!0;for(let p=0,x=d.length;p<x;p+=1)n(d[p],o,l+1,p)}else o.length&&n(d,o,l+1,c)}};return n(t,ee(e)?e.split("."):e,0),i?s:s[0]}const yo={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},vo={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},jo={location:0,threshold:.6,distance:100},wo={useExtendedSearch:!1,useTokenSearch:!1,getFn:go,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},S=Object.freeze({...vo,...yo,...jo,...wo}),_o=/[^ ]+/g;function Ao(t=1,e=3){const s=new Map,i=Math.pow(10,e);return{get(n){const a=n.match(_o).length;if(s.has(a))return s.get(a);const o=1/Math.pow(a,.5*t),l=parseFloat(Math.round(o*i)/i);return s.set(a,l),l},clear(){s.clear()}}}class Mr{constructor({getFn:e=S.getFn,fieldNormWeight:s=S.fieldNormWeight}={}){this.norm=Ao(s,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((s,i)=>{this._keysMap[s.id]=i})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ee(this.docs[0])?this.docs.forEach((e,s)=>{this._addString(e,s)}):this.docs.forEach((e,s)=>{this._addObject(e,s)}),this.norm.clear())}add(e){const s=this.size();ee(e)?this._addString(e,s):this._addObject(e,s)}removeAt(e){this.records.splice(e,1);for(let s=e,i=this.size();s<i;s+=1)this.records[s].i-=1}removeAll(e){for(let s=e.length-1;s>=0;s-=1)this.records.splice(e[s],1);for(let s=0,i=this.records.length;s<i;s+=1)this.records[s].i=s}
178getValueForItemAtKeyId(e,s){return e[this._keysMap[s]]}size(){return this.records.length}_addString(e,s){if(!te(e)||Pt(e))return;const i={v:e,i:s,n:this.norm.get(e)};this.records.push(i)}_addObject(e,s){const i={i:s,$:{}};this.keys.forEach((n,a)=>{const o=n.getFn?n.getFn(e):this.getFn(e,n.path);if(te(o)){if(Oe(o)){const l=[];for(let c=0,h=o.length;c<h;c+=1){const d=o[c];if(te(d)){if(ee(d)){if(!Pt(d)){const p={v:d,i:c,n:this.norm.get(d)};l.push(p)}}else if(te(d.v)){const p=ee(d.v)?d.v:xr(d.v);if(!Pt(p)){const x={v:p,i:d.i,n:this.norm.get(p)};l.push(x)}}}}i.$[a]=l}else if(ee(o)&&!Pt(o)){const l={v:o,n:this.norm.get(o)};i.$[a]=l}}}),this.records.push(i)}toJSON(){return{keys:this.keys.map(({getFn:e,...s})=>s),records:this.records}}}function Ai(t,e,{getFn:s=S.getFn,fieldNormWeight:i=S.fieldNormWeight}={}){const n=new Mr({getFn:s,fieldNormWeight:i});return n.setKeys(t.map(_i)),n.setSources(e),n.create(),n}function Eo(t,{getFn:e=S.getFn,fieldNormWeight:s=S.fieldNormWeight}={}){const{keys:i,records:n}=t,a=new Mr({getFn:e,fieldNormWeight:s});return a.setKeys(i),a.setIndexRecords(n),a}function No(t=[],e=S.minMatchCharLength){const s=[];let i=-1,n=-1,a=0;for(let o=t.length;a<o;a+=1){const l=t[a];l&&i===-1?i=a:!l&&i!==-1&&(n=a-1,n-i+1>=e&&s.push([i,n]),i=-1)}return t[a-1]&&a-i>=e&&s.push([i,a-1]),s}const Le=32;function ko(t,e,s,{location:i=S.location,distance:n=S.distance,threshold:a=S.threshold,findAllMatches:o=S.findAllMatches,minMatchCharLength:l=S.minMatchCharLength,includeMatches:c=S.includeMatches,ignoreLocation:h=S.ignoreLocation}={}){if(e.length>Le)throw new Error(mo(Le));const d=e.length,p=t.length,x=Math.max(0,Math.min(i,p));let m=a,N=x;const v=(y,R)=>{const U=y/d;if(h)return U;const ie=Math.abs(x-R);return n?U+ie/n:ie?1:U},w=l>1||c,j=w?Array(p):[];let F;for(;(F=t.indexOf(e,N))>-1;){const y=v(0,F);if(m=Math.min(y,m),N=F+d,w){let R=0;for(;R<d;)j[F+R]=1,R+=1}}N=-1;let k=[],_=1,M=d+p;const z=1<<d-1;for(let y=0;y<d;y+=1){let R=0,U=M;for(;R<U;)v(y,x+U)<=m?R=U:M=U,U=Math.floor((M-R)/2+R);M=U;let ie=Math.max(1,x-U+1);const je=o?p:Math.min(x+U,p)+d,me=Array(je+2);me[je+1]=(1<<y)-1;for(let G=je;G>=ie;G-=1){const q=G-1,oe=s[t[q]];
178if(w&&(j[q]=+!!oe),me[G]=(me[G+1]<<1|1)&oe,y&&(me[G]|=(k[G+1]|k[G])<<1|1|k[G+1]),me[G]&z&&(_=v(y,q),_<=m)){if(m=_,N=q,N<=x)break;ie=Math.max(1,2*x-N)}}if(v(y+1,x)>m)break;k=me}const Q={isMatch:N>=0,score:Math.max(.001,_)};if(w){const y=No(j,l);y.length?c&&(Q.indices=y):Q.isMatch=!1}return Q}function Io(t){const e={};for(let s=0,i=t.length;s<i;s+=1){const n=t.charAt(s);e[n]=(e[n]||0)|1<<i-s-1}return e}function Lr(t){if(t.length<=1)return t;t.sort((s,i)=>s[0]-i[0]||s[1]-i[1]);const e=[t[0]];for(let s=1,i=t.length;s<i;s+=1){const n=e[e.length-1],a=t[s];a[0]<=n[1]+1?n[1]=Math.max(n[1],a[1]):e.push(a)}return e}const Ei={Å:"l",Å:"L",Ä:"d",Ä:"D",ø:"o",Ã:"O",ħ:"h",Ħ:"H",ŧ:"t",Ŧ:"T",ı:"i",Ã:"ss"},Co=new RegExp("["+Object.keys(Ei).join("")+"]","g"),mt=String.prototype.normalize?t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(Co,e=>Ei[e]):t=>t;class zr{constructor(e,{location:s=S.location,threshold:i=S.threshold,distance:n=S.distance,includeMatches:a=S.includeMatches,findAllMatches:o=S.findAllMatches,minMatchCharLength:l=S.minMatchCharLength,isCaseSensitive:c=S.isCaseSensitive,ignoreDiacritics:
178h=S.ignoreDiacritics,ignoreLocation:d=S.ignoreLocation}={}){if(this.options={location:s,threshold:i,distance:n,includeMatches:a,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:h,ignoreLocation:d},e=c?e:e.toLowerCase(),e=h?mt(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const p=(m,N)=>{this.chunks.push({pattern:m,alphabet:Io(m),startIndex:N})},x=this.pattern.length;if(x>Le){let m=0;const N=x%Le,v=x-N;for(;m<v;)p(this.pattern.substr(m,Le),m),m+=Le;if(N){const w=x-Le;p(this.pattern.substr(w),w)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:s,ignoreDiacritics:i,includeMatches:n}=this.options;if(e=s?e:e.toLowerCase(),e=i?mt(e):e,this.pattern===e){const v={isMatch:!0,score:0};return n&&(v.indices=[[0,e.length-1]]),v}const{location:a,distance:o,threshold:l,findAllMatches:c,minMatchCharLength:h,ignoreLocation:d}=this.options,p=[];let x=0,m=!1;this.chunks.forEach(({pattern:v,alphabet:w,startIndex:j})=>{const{isMatch:F,score:k,indices:_}=ko(e,v,w,{location:a+j,distance:o,threshold:l,findAllMatches:c,minMatchCharLength:h,includeMatches:n,ignoreLocation:d});F&&(m=!0),x+=k,F&&_&&p.push(..._)});const N={isMatch:m,score:m?x/this.chunks.length:1};return m&&n&&(N.indices=Lr(p)),N}}class Te{constructor(e){this.pattern=e}static isMultiMatch(e){return ws(e,this.multiRegex)}static isSingleMatch(e){return ws(e,this.singleRegex)}search(e){return{isMatch:!1,score:1}}}function ws(t,e){const s=t.match(e);return s?s[1]:null}class So extends Te{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const s=e===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class Po extends Te{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const i=e.indexOf(this.pattern)===-1;return{isMatch:i,score:i?0:1,indices:[0,e.length-1]}}}class Fo extends Te{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const s=e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class Ro extends Te{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const s=!e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class Oo extends Te{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const s=e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class To extends Te{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const s=!e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class Ni extends Te{constructor(e,{location:s=S.location,threshold:i=S.threshold,distance:n=S.distance,includeMatches:a=S.includeMatches,findAllMatches:o=S.findAllMatches,minMatchCharLength:l=S.minMatchCharLength,isCaseSensitive:c=S.isCaseSensitive,ignoreDiacritics:
178h=S.ignoreDiacritics,ignoreLocation:d=S.ignoreLocation}={}){super(e),this._bitapSearch=new zr(e,{location:s,threshold:i,distance:n,includeMatches:a,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:h,ignoreLocation:d})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class ki extends Te{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let s=0,i;const n=[],a=this.pattern.length;for(;(i=e.indexOf(this.pattern,s))>-1;)s=i+a,n.push([i,s-1]);const o=!!n.length;return{isMatch:o,score:o?0:1,indices:n}}}const gr=[So,ki,Fo,Ro,To,Oo,Po,Ni],_s=gr.length,Do="\0",Mo="|";function Lo(t){const e=[],s=t.length;let i=0;for(;i<s;){for(;i<s&&t[i]===" ";)i++;if(i>=s)break;let n=i;for(;n<s&&t[n]!==" "&&t[n]!=='"';)n++;if(n<s&&t[n]==='"'){for(n++;n<s;){if(t[n]==='"'){const a=n+1;if(a>=s||t[a]===" "){n++;break}if(t[a]==="$"&&(a+1>=s||t[a+1]===" ")){n+=2;break}}n++}e.push(t.substring(i,n)),i=n}else{for(;n<s&&t[n]!==" ";)n++;e.push(t.substring(i,n)),i=n}}return e}function zo(t,e={}){return t.replace(/\\\|/g,Do).split(Mo).map(i=>{const n=i.replace(/\u0000/g,"|"),a=Lo(n.trim()).filter(l=>l&&!!l.trim()),o=[];for(let l=0,c=a.length;l<c;l+=1){const h=a[l];let d=!1,p=-1;for(;!d&&++p<_s;){const x=gr[p],m=x.isMultiMatch(h);m&&(o.push(new x(m,e)),d=!0)}if(!d)for(p=-1;++p<_s;){const x=gr[p],m=x.isSingleMatch(h);if(m){o.push(new x(m,e));break}}}return o})}const Bo=new Set([Ni.type,ki.type]);class Vo{constructor(e,{isCaseSensitive:s=S.isCaseSensitive,ignoreDiacritics:i=S.ignoreDiacritics,includeMatches:n=S.includeMatches,minMatchCharLength:a=S.minMatchCharLength,ignoreLocation:o=S.ignoreLocation,findAllMatches:l=S.findAllMatches,location:c=S.location,threshold:h=S.threshold,distance:d=S.distance}={}){this.query=null,this.options={isCaseSensitive:s,ignoreDiacritics:i,includeMatches:n,minMatchCharLength:a,findAllMatches:l,ignoreLocation:o,location:c,threshold:h,distance:d},e=s?e:e.toLowerCase(),e=i?mt(e):e,this.pattern=e,this.query=zo(this.pattern,this.options)}static condition(e,s){return s.useExtendedSearch}searchIn(e){const s=this.query;if(!s)return{isMatch:!1,score:1};const{includeMatches:i,isCaseSensitive:n,ignoreDiacritics:a}=this.options;e=n?e:e.toLowerCase(),e=a?mt(e):e;let o=0;const l=[];let c=0,h=!1;for(let d=0,p=s.length;d<p;d+=1){const x=s[d];l.length=0,o=0,h=!1;for(let m=0,N=x.length;m<N;m+=1){const v=x[m],{isMatch:w,indices:j,score:F}=v.search(e);if(w){o+=1,c+=F;const k=v.constructor.type;k.startsWith("inverse")&&(h=!0),i&&(Bo.has(k)?l.push(...j):l.push(j))}else{c=0,o=0,l.length=0,h=!1;break}}if(o){const m={isMatch:!0,score:c/o};return h&&(m.hasInverse=!0),i&&(m.indices=Lr(l)),m}}return{isMatch:!1,score:1}}}const yr=[];function Br(...t){yr.push(...t)}function Vt(t,e){for(let s=0,i=yr.length;s<i;s+=1){const n=yr[s];if(n.condition(t,e))return new n(t,e)}return new zr(t,e)}const $t={AND:"$and",OR:"$or"},vr={PATH:"$path",PATTERN:"$val"},jr=t=>!!(t[$t.AND]||t[$t.OR]),$o=t=>!!t[vr.PATH],Uo=t=>!Oe(t)&&ji(t)&&!jr(t),As=t=>({[$t.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Ii(t,e,{auto:s=!0}={}){const i=n=>{if(ee(n)){const c={keyId:null,pattern:n};return s&&(c.searcher=Vt(n,e)),c}const a=Object.keys(n),o=$o(n);if(!o&&a.length>1&&!jr(n))return i(As(n));if(Uo(n)){const c=o?n[vr.PATH]:a[0],h=o?n[vr.PATTERN]:n[c];if(!ee(h))throw new Error(po(c));const d={keyId:br(c),pattern:h};return s&&(d.searcher=Vt(h,e)),d}const l={children:[],operator:a[0]};return a.forEach(c=>{const h=n[c];Oe(h)&&h.forEach(d=>{l.children.push(i(d))})}),l};return jr(t)||(t=As(t)),i(t)}function wr(t,{ignoreFieldNorm:e=S.ignoreFieldNorm}){let s=1;return t.forEach(({key:i,norm:n,score:a})=>{const o=i?i.weight:null;s*=Math.pow(a===0&&o?Number.EPSILON:a,(o||1)*(e?1:n))}),s}function Go(t,{ignoreFieldNorm:e=S.ignoreFieldNorm}){t.forEach(s=>{s.score=wr(s.matches,{ignoreFieldNorm:e})})}class Wo{constructor(e){this.limit=e,this.heap=[]}get size(){return this.heap.length}shouldInsert(e){return this.size<this.limit||e<this.heap[0].score}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):e.score<this.heap[0].score&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(e){return this.heap.sort(e)}_bubbleUp(e){const s=this.heap;for(;e>0;){const i=e-1>>1;
178if(s[e].score<=s[i].score)break;const n=s[e];s[e]=s[i],s[i]=n,e=i}}_sinkDown(e){const s=this.heap,i=s.length;let n=e;do{e=n;const a=2*e+1,o=2*e+2;if(a<i&&s[a].score>s[n].score&&(n=a),o<i&&s[o].score>s[n].score&&(n=o),n!==e){const l=s[e];s[e]=s[n],s[n]=l}}while(n!==e)}}function Ho(t,e){const s=t.matches;e.matches=[],te(s)&&s.forEach(i=>{if(!te(i.indices)||!i.indices.length)return;const{indices:n,value:a}=i,o={indices:n,value:a};i.key&&(o.key=i.key.src),i.idx>-1&&(o.refIndex=i.idx),e.matches.push(o)})}function Qo(t,e){e.score=t.score}function Yo(t,e,{includeMatches:s=S.includeMatches,includeScore:i=S.includeScore}={}){const n=[];return s&&n.push(Ho),i&&n.push(Qo),t.map(a=>{const{idx:o}=a,l={item:e[o],refIndex:o};return n.length&&n.forEach(c=>{c(a,l)}),l})}const qo=/\b\w+\b/g;function _r({isCaseSensitive:t=!1,ignoreDiacritics:e=!1}={}){return{tokenize(s){return t||(s=s.toLowerCase()),e&&(s=mt(s)),s.match(qo)||[]}}}function Ko(t,e,s){const i=new Map,n=new Map;let a=0;function o(l,c,h,d){const p=s.tokenize(l);if(!p.length)return;a++;const x=new Map;for(const m of p)x.set(m,(x.get(m)||0)+1);for(const[m,N]of x){const v={docIdx:c,keyIdx:h,subIdx:d,tf:N};let w=i.get(m);w||(w=[],i.set(m,w)),w.push(v),n.set(m,(n.get(m)||0)+1)}}for(const l of t){const{i:c,v:h,$:d}=l;if(h!==void 0){o(h,c,-1,-1);continue}if(d)for(let p=0;p<e;p++){const x=d[p];if(x)if(Array.isArray(x))for(const m of x)o(m.v,c,p,m.i??-1);else o(x.v,c,p,-1)}}return{terms:i,fieldCount:a,df:n}}function Jo(t,e,s,i){const{i:n,v:a,$:o}=e;function l(c,h,d){const p=i.tokenize(c);if(!p.length)return;t.fieldCount++;const x=new Map;for(const m of p)x.set(m,(x.get(m)||0)+1);for(const[m,N]of x){const v={docIdx:n,keyIdx:h,subIdx:d,tf:N};let w=t.terms.get(m);w||(w=[],t.terms.set(m,w)),w.push(v),t.df.set(m,(t.df.get(m)||0)+1)}}if(a!==void 0){l(a,-1,-1);return}if(o)for(let c=0;c<s;c++){const h=o[c];if(h)if(Array.isArray(h))for(const d of h)l(d.v,c,d.i??-1);else l(h.v,c,-1)}}function Es(t,e){for(const[s,i]of t.terms){const n=i.filter(o=>o.docIdx!==e),a=i.length-n.length;a>0&&(t.fieldCount-=a,t.df.set(s,(t.df.get(s)||0)-a),n.length===0?(t.terms.delete(s),t.df.delete(s)):t.terms.set(s,n))}}class ve{constructor(e,s,i){this.options={...S,...s},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new bo(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,i),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;const s=this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options,i=Vt(e,s);return this._lastQuery=e,this._lastSearcher=i,i}setCollection(e,s){if(this._docs=e,s&&!(s instanceof Mr))throw new Error(ho);if(this._myIndex=s||Ai(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const i=_r({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});this._invertedIndex=Ko(this._myIndex.records,this._myIndex.keys.length,i)}}add(e){if(te(e)&&(this._docs.push(e),this._myIndex.add(e),this._invertedIndex)){const s=this._myIndex.records[this._myIndex.records.length-1],i=_r({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});Jo(this._invertedIndex,s,this._myIndex.keys.length,i)}}remove(e=()=>!1){const s=[],i=[];for(let n=0,a=this._docs.length;n<a;n+=1)e(this._docs[n],n)&&(s.push(this._docs[n]),i.push(n));if(i.length){if(this._invertedIndex)for(const n of i)Es(this._invertedIndex,n);for(let n=i.length-1;n>=0;n-=1)this._docs.splice(i[n],1);this._myIndex.removeAll(i)}return s}removeAt(e){this._invertedIndex&&Es(this._invertedIndex,e);const s=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),s}getIndex(){return this._myIndex}search(e,s){const{limit:i=-1}=s||{},{includeMatches:n,includeScore:a,shouldSort:o,sortFn:l,ignoreFieldNorm:c}=this.options;if(ee(e)&&!e.trim()){let p=this._docs.map((x,m)=>({item:x,refIndex:m}));return Dt(i)&&i>-1&&(p=p.slice(0,i)),p}const h=Dt(i)&&i>0&&ee(e);let d;if(h){const p=new Wo(i);ee(this._docs[0])?this._searchStringList(e,{heap:p,ignoreFieldNorm:c}):this._searchObjectList(e,{heap:p,ignoreFieldNorm:c}),d=p.extractSorted(l)}else d=ee(e)?ee(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),Go(d,{ignoreFieldNorm:c}),o&&d.sort(l),Dt(i)&&i>-1&&(d=d.slice(0,i));return Yo(d,this._docs,{includeMatches:n,includeScore:a})}_searchStringList(e,{heap:s,ignoreFieldNorm:i}={}){const n=this._getSearcher(e),{records:a}=this._myIndex,o=s?null:[];return a.forEach(({v:l,i:c,n:h})=>{if(!te(l))return;const{isMatch:d,score:p,indices:x}=n.searchIn(l);if(d){const m={item:l,idx:c,matches:[{score:p,value:l,norm:h,indices:x}]};s?(m.score=wr(m.matches,{ignoreFieldNorm:i}),s.shouldInsert(m.score)&&s.insert(m)):o.push(m)}}),o}_searchLogical(e){const s=Ii(e,this.options),i=(l,c,h)=>{if(!("children"in l)){const{keyId:m,searcher:N}=l;let v;return m===null?(v=[],this._myIndex.keys.forEach((w,j)=>{v.push(...this._findMatches({key:w,value:c[j],searcher:N}))})):v=this._findMatches({key:this._keyStore.get(m),value:this._myIndex.getValueForItemAtKeyId(c,m),searcher:N}),v&&v.length?[{idx:h,item:c,matches:v}]:[]}const{children:d,operator:p}=l,x=[];for(let m=0,N=d.length;m<N;m+=1){const v=d[m],w=i(v,c,h);if(w.length)x.push(...w);else if(p===$t.AND)return[]}return x},n=this._myIndex.records,a=new Map,o=[];
178return n.forEach(({$:l,i:c})=>{if(te(l)){const h=i(s,l,c);h.length&&(a.has(c)||(a.set(c,{idx:c,item:l,matches:[]}),o.push(a.get(c))),h.forEach(({matches:d})=>{a.get(c).matches.push(...d)}))}}),o}_searchObjectList(e,{heap:s,ignoreFieldNorm:i}={}){const n=this._getSearcher(e),{keys:a,records:o}=this._myIndex,l=s?null:[];return o.forEach(({$:c,i:h})=>{if(!te(c))return;const d=[];let p=!1,x=!1;if(a.forEach((m,N)=>{const v=this._findMatches({key:m,value:c[N],searcher:n});v.length?(d.push(...v),v[0].hasInverse&&(x=!0)):p=!0}),!(x&&p)&&d.length){const m={idx:h,item:c,matches:d};s?(m.score=wr(m.matches,{ignoreFieldNorm:i}),s.shouldInsert(m.score)&&s.insert(m)):l.push(m)}}),l}_findMatches({key:e,value:s,searcher:i}){if(!te(s))return[];const n=[];if(Oe(s))s.forEach(({v:a,i:o,n:l})=>{if(!te(a))return;const{isMatch:c,score:h,indices:d,hasInverse:p}=i.searchIn(a);c&&n.push({score:h,key:e,value:a,idx:o,norm:l,indices:d,hasInverse:p})});else{const{v:a,n:o}=s,{isMatch:l,score:c,indices:h,hasInverse:d}=i.searchIn(a);l&&n.push({score:c,key:e,value:a,norm:o,indices:h,hasInverse:d})}return n}}class Zo{static condition(e,s){return s.useTokenSearch}constructor(e,s){this.options=s,this.analyzer=_r({isCaseSensitive:s.isCaseSensitive,ignoreDiacritics:s.ignoreDiacritics});const i=this.analyzer.tokenize(e),n=s._invertedIndex,{df:a,fieldCount:o}=n;this.termSearchers=[],this.idfWeights=[];for(const l of i){this.termSearchers.push(new zr(l,{location:s.location,threshold:s.threshold,distance:s.distance,includeMatches:s.includeMatches,findAllMatches:s.findAllMatches,minMatchCharLength:s.minMatchCharLength,isCaseSensitive:s.isCaseSensitive,ignoreDiacritics:s.ignoreDiacritics,ignoreLocation:!0}));const c=a.get(l)||0,h=Math.log(1+(o-c+.5)/(c+.5));this.idfWeights.push(h)}}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};const s=[];let i=0,n=0,a=0;for(let c=0;c<this.termSearchers.length;c++){const h=this.termSearchers[c].searchIn(e),d=this.idfWeights[c];n+=d,h.isMatch&&(a++,i+=d*(1-h.score),h.indices&&s.push(...h.indices))}if(a===0)return{isMatch:!1,score:1};const o=n>0?1-i/n:0,l={isMatch:!0,score:Math.max(.001,o)};return this.options.includeMatches&&s.length&&(l.indices=Lr(s)),l}}ve.version="7.3.0";ve.createIndex=Ai;ve.parseIndex=Eo;ve.config=S;ve.match=function(t,e,s){return Vt(t,{...S,...s}).searchIn(e)};ve.parseQuery=Ii;Br(Vo);Br(Zo);ve.use=function(...t){t.forEach(e=>Br(e))};function Ci(t){var e,s,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(s=Ci(t[e]))&&(i&&(i+=" "),i+=s)}else for(s in t)t[s]&&(i&&(i+=" "),i+=s);return i}function Xo(){for(var t,e,s=0,i="",n=arguments.length;s<n;s++)(t=arguments[s])&&(e=Ci(t))&&(i&&(i+=" "),i+=e);return i}const el=(t,e)=>{const s=new Array(t.length+e.length);for(let i=0;i<t.length;i++)s[i]=t[i];for(let i=0;i<e.length;i++)s[t.length+i]=e[i];return s},tl=(t,e)=>({classGroupId:t,validator:e}),Si=(t=new Map,e=null,s)=>({nextPart:t,validators:e,classGroupId:s}),Ut="-",Ns=[],rl="arbitrary..",sl=t=>{const e=nl(t),{conflictingClassGroups:s,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return il(o);const l=o.split(Ut),c=l[0]===""&&l.length>1?1:0;return Pi(l,c,e)},getConflictingClassGroupIds:(o,l)=>{if(l){const c=i[o],h=s[o];return c?h?el(h,c):c:h||Ns}return s[o]||Ns}}},Pi=(t,e,s)=>{if(t.length-e===0)return s.classGroupId;const n=t[e],a=s.nextPart.get(n);if(a){const h=Pi(t,e+1,a);if(h)return h}const o=s.validators;if(o===null)return;const l=e===0?t.join(Ut):t.slice(e).join(Ut),c=o.length;for(let h=0;h<c;h++){const d=o[h];if(d.validator(l))return d.classGroupId}},il=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),s=e.indexOf(":"),i=e.slice(0,s);return i?rl+i:void 0})(),nl=t=>{const{theme:e,classGroups:s}=t;return al(s,e)},al=(t,e)=>{const s=Si();for(const i in t){const n=t[i];Vr(n,s,i,e)}return s},Vr=(t,e,s,i)=>{const n=t.length;for(let a=0;a<n;a++){const o=t[a];ol(o,e,s,i)}},ol=(t,e,s,i)=>{if(typeof t=="string"){ll(t,e,s);return}if(typeof t=="function"){cl(t,e,s,i);return}ul(t,e,s,i)},ll=(t,e,s)=>{const i=t===""?e:Fi(e,t);i.classGroupId=s},cl=(t,e,s,i)=>{if(dl(t)){Vr(t(i),e,s,i);return}e.validators===null&&(e.validators=[]),e.validators.push(tl(s,t))},ul=(t,e,s,i)=>{const n=Object.entries(t),a=n.length;for(let o=0;o<a;o++){const[l,c]=n[o];Vr(c,Fi(e,l),s,i)}},Fi=(t,e)=>{let s=t;const i=e.split(Ut),n=i.length;for(let a=0;a<n;a++){const o=i[a];let l=s.nextPart.get(o);l||(l=Si(),s.nextPart.set(o,l)),s=l}return s},dl=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,hl=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,s=Object.create(null),i=Object.create(null);const n=(a,o)=>{s[a]=o,e++,e>t&&(e=0,i=s,s=Object.create(null))};return{get(a){let o=s[a];if(o!==void 0)return o;if((o=i[a])!==void 0)return n(a,o),o},set(a,o){a in s?s[a]=o:n(a,o)}}},Ar="!",ks=":",pl=[],Is=(t,e,s,i,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:s,maybePostfixModifierPosition:i,isExternal:n}),ml=t=>{const{prefix:e,experimentalParseClassName:s}=t;let i=n=>{const a=[];let o=0,l=0,c=0,h;const d=n.length;for(let v=0;v<d;v++){const w=n[v];if(o===0&&l===0){if(w===ks){a.push(n.slice(c,v)),c=v+1;continue}if(w==="/"){h=v;continue}}w==="["?o++:w==="]"?o--:w==="("?l++:w===")"&&l--}const p=a.length===0?n:n.slice(c);let x=p,m=!1;p.endsWith(Ar)?(x=p.slice(0,-1),m=!0):p.startsWith(Ar)&&(x=p.slice(1),m=!0);const N=h&&h>c?h-c:void 0;return Is(a,m,x,N)};if(e){const n=e+ks,a=i;i=o=>o.startsWith(n)?a(o.slice(n.length)):Is(pl,!1,o,void 0,!0)}if(s){const n=i;i=a=>s({className:a,parseClassName:n})}return i},fl=t=>{const e=new Map;
vendor: 5,395 bytes, line 178
178return t.orderSensitiveModifiers.forEach((s,i)=>{e.set(s,1e6+i)}),s=>{const i=[];let n=[];for(let a=0;a<s.length;a++){const o=s[a],l=o[0]==="[",c=e.has(o);l||c?(n.length>0&&(n.sort(),i.push(...n),n=[]),i.push(o)):n.push(o)}return n.length>0&&(n.sort(),i.push(...n)),i}},xl=t=>({cache:hl(t.cacheSize),parseClassName:ml(t),sortModifiers:fl(t),...sl(t)}),bl=/\s+/,gl=(t,e)=>{const{parseClassName:s,getClassGroupId:i,getConflictingClassGroupIds:n,sortModifiers:a}=e,o=[],l=t.trim().split(bl);let c="";for(let h=l.length-1;h>=0;h-=1){const d=l[h],{isExternal:p,modifiers:x,hasImportantModifier:m,baseClassName:N,maybePostfixModifierPosition:v}=s(d);if(p){c=d+(c.length>0?" "+c:c);continue}let w=!!v,j=i(w?N.substring(0,v):N);if(!j){if(!w){c=d+(c.length>0?" "+c:c);continue}if(j=i(N),!j){c=d+(c.length>0?" "+c:c);continue}w=!1}const F=x.length===0?"":x.length===1?x[0]:a(x).join(":"),k=m?F+Ar:F,_=k+j;if(o.indexOf(_)>-1)continue;o.push(_);const M=n(j,w);for(let z=0;z<M.length;++z){const Q=M[z];o.push(k+Q)}c=d+(c.length>0?" "+c:c)}return c},yl=(...t)=>{let e=0,s,i,n="";for(;e<t.length;)(s=t[e++])&&(i=Ri(s))&&(n&&(n+=" "),n+=i);return n},Ri=t=>{if(typeof t=="string")return t;let e,s="";for(let i=0;i<t.length;i++)t[i]&&(e=Ri(t[i]))&&(s&&(s+=" "),s+=e);return s},vl=(t,...e)=>{let s,i,n,a;const o=c=>{const h=e.reduce((d,p)=>p(d),t());return s=xl(h),i=s.cache.get,n=s.cache.set,a=l,l(c)},l=c=>{const h=i(c);if(h)return h;const d=gl(c,s);return n(c,d),d};return a=o,(...c)=>a(yl(...c))},jl=[],V=t=>{const e=s=>s[t]||jl;return e.isThemeGetter=!0,e},Oi=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ti=/^\((?:(\w[\w-]*):)?(.+)\)$/i,wl=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,_l=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Al=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,El=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Nl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,we=t=>wl.test(t),O=t=>!!t&&!Number.isNaN(Number(t)),_e=t=>!!t&&Number.isInteger(Number(t)),ar=t=>t.endsWith("%")&&O(t.slice(0,-1)),xe=t=>_l.test(t),Di=()=>!0,Il=t=>Al.test(t)&&!El.test(t),$r=()=>!1,Cl=t=>Nl.test(t),Sl=t=>kl.test(t),Pl=t=>!A(t)&&!E(t),Fl=t=>De(t,zi,$r),A=t=>Oi.test(t),Me=t=>De(t,Bi,Il),Cs=t=>De(t,Bl,O),Rl=t=>De(t,$i,Di),Ol=t=>De(t,Vi,$r),Ss=t=>De(t,Mi,$r),Tl=t=>De(t,Li,Sl),Ft=t=>De(t,Ui,Cl),E=t=>Ti.test(t),ut=t=>Ye(t,Bi),Dl=t=>Ye(t,Vi),Ps=t=>Ye(t,Mi),Ml=t=>Ye(t,zi),Ll=t=>Ye(t,Li),Rt=t=>Ye(t,Ui,!0),zl=t=>Ye(t,$i,!0),De=(t,e,s)=>{const i=Oi.exec(t);return i?i[1]?e(i[1]):s(i[2]):!1},Ye=(t,e,s=!1)=>{const i=Ti.exec(t);return i?i[1]?e(i[1]):s:!1},Mi=t=>t==="position"||t==="percentage",Li=t=>t==="image"||t==="url",zi=t=>t==="length"||t==="size"||t==="bg-size",Bi=t=>t==="length",Bl=t=>t==="number",Vi=t=>t==="family-name",$i=t=>t==="number"||t==="weight",Ui=t=>t==="shadow",Vl=()=>{const t=V("color"),e=V("font"),s=V("text"),i=V("font-weight"),n=V("tracking"),a=V("leading"),o=V("breakpoint"),l=V("container"),c=V("spacing"),h=V("radius"),d=V("shadow"),p=V("inset-shadow"),x=V("text-shadow"),m=V("drop-shadow"),N=V("blur"),v=V("perspective"),w=V("aspect"),j=V("ease"),F=V("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],M=()=>[..._(),E,A],z=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto","contain","none"],y=()=>[E,A,c],R=()=>[we,"full","auto",...y()],U=()=>[_e,"none","subgrid",E,A],ie=()=>["auto",{span:["full",_e,E,A]},_e,E,A],je=()=>[_e,"auto",E,A],me=()=>["auto","min","max","fr",E,A],_t=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],q=()=>["auto",...y()],oe=()=>[we,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],tr=()=>[we,"screen","full","dvw","lvw","svw","min","max","fit",...y()],rr=()=>[we,"screen","full","lh","dvh","lvh","svh","min","max","fit",...y()],C=()=>[t,E,A],is=()=>[..._(),Ps,Ss,{position:[E,A]}],ns=()=>["no-repeat",{repeat:["","x","y","space","round"]}],as=()=>["auto","cover","contain",Ml,Fl,{size:[E,A]}],sr=()=>[ar,ut,Me],J=()=>["","none","full",h,E,A],Z=()=>["",O,ut,Me],At=()=>["solid","dashed","dotted","double"],os=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>[O,ar,Ps,Ss],ls=()=>["","none",N,E,A],Et=()=>["none",O,E,A],Nt=()=>["none",O,E,A],ir=()=>[O,E,A],kt=()=>[we,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[xe],breakpoint:[xe],color:[Di],container:[xe],"drop-shadow":[xe],ease:["in","out","in-out"],font:[Pl],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[xe],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[xe],shadow:[xe],spacing:["px",O],text:[xe],"text-shadow":[xe],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",we,A,E,w]}
vendor: 6,079 bytes, line 178
178],container:["container"],columns:[{columns:[O,A,E,l]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:M()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{"inset-s":R(),start:R()}],end:[{"inset-e":R(),end:R()}],"inset-bs":[{"inset-bs":R()}],"inset-be":[{"inset-be":R()}],top:[{top:R()}],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[_e,"auto",E,A]}],basis:[{basis:[we,"full","auto",l,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[O,we,"auto","initial","none",A]}],grow:[{grow:["",O,E,A]}],shrink:[{shrink:["",O,E,A]}],order:[{order:[_e,"first","last","none",E,A]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":je()}],"col-end":[{"col-end":je()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":je()}],"row-end":[{"row-end":je()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":me()}],"auto-rows":[{"auto-rows":me()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:[..._t(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",..._t()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":_t()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pbs:[{pbs:y()}],pbe:[{pbe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:q()}],mx:[{mx:q()}],my:[{my:q()}],ms:[{ms:q()}],me:[{me:q()}],mbs:[{mbs:q()}],mbe:[{mbe:q()}],mt:[{mt:q()}],mr:[{mr:q()}],mb:[{mb:q()}],ml:[{ml:q()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:oe()}],"inline-size":[{inline:["auto",...tr()]}],"min-inline-size":[{"min-inline":["auto",...tr()]}],"max-inline-size":[{"max-inline":["none",...tr()]}],"block-size":[{block:["auto",...rr()]}],"min-block-size":[{"min-block":["auto",...rr()]}],"max-block-size":[{"max-block":["none",...rr()]}],w:[{w:[l,"screen",...oe()]}],"min-w":[{"min-w":[l,"screen","none",...oe()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[o]},...oe()]}],h:[{h:["screen","lh",...oe()]}],"min-h":[{"min-h":["screen","lh","none",...oe()]}],"max-h":[{"max-h":["screen","lh",...oe()]}],"font-size":[{text:["base",s,ut,Me]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,zl,Rl]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ar,A]}],"font-family":[{font:[Dl,Ol,e]}],"font-features":[{"font-features":[A]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,E,A]}],"line-clamp":[{"line-clamp":[O,"none",E,Cs]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",E,A]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",E,A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:C()}],"text-color":[{text:C()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...At(),"wavy"]}],"text-decoration-thickness":[{decoration:[O,"from-font","auto",E,Me]}],"text-decoration-color":[{decoration:C()}],"underline-offset":[{"underline-offset":[O,"auto",E,A]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",E,A]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",E,A]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:is()}],"bg-repeat":[{bg:ns()}],"bg-size":[{bg:as()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_e,E,A],radial:["",E,A],conic:[_e,E,A]},Ll,Tl]}],"bg-color":[{bg:C()}],"gradient-from-pos":[{from:sr()}
vendor: 7,278 bytes, line 178
178],"gradient-via-pos":[{via:sr()}],"gradient-to-pos":[{to:sr()}],"gradient-from":[{from:C()}],"gradient-via":[{via:C()}],"gradient-to":[{to:C()}],rounded:[{rounded:J()}],"rounded-s":[{"rounded-s":J()}],"rounded-e":[{"rounded-e":J()}],"rounded-t":[{"rounded-t":J()}],"rounded-r":[{"rounded-r":J()}],"rounded-b":[{"rounded-b":J()}],"rounded-l":[{"rounded-l":J()}],"rounded-ss":[{"rounded-ss":J()}],"rounded-se":[{"rounded-se":J()}],"rounded-ee":[{"rounded-ee":J()}],"rounded-es":[{"rounded-es":J()}],"rounded-tl":[{"rounded-tl":J()}],"rounded-tr":[{"rounded-tr":J()}],"rounded-br":[{"rounded-br":J()}],"rounded-bl":[{"rounded-bl":J()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-bs":[{"border-bs":Z()}],"border-w-be":[{"border-be":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...At(),"hidden","none"]}],"divide-style":[{divide:[...At(),"hidden","none"]}],"border-color":[{border:C()}],"border-color-x":[{"border-x":C()}],"border-color-y":[{"border-y":C()}],"border-color-s":[{"border-s":C()}],"border-color-e":[{"border-e":C()}],"border-color-bs":[{"border-bs":C()}],"border-color-be":[{"border-be":C()}],"border-color-t":[{"border-t":C()}],"border-color-r":[{"border-r":C()}],"border-color-b":[{"border-b":C()}],"border-color-l":[{"border-l":C()}],"divide-color":[{divide:C()}],"outline-style":[{outline:[...At(),"none","hidden"]}],"outline-offset":[{"outline-offset":[O,E,A]}],"outline-w":[{outline:["",O,ut,Me]}],"outline-color":[{outline:C()}],shadow:[{shadow:["","none",d,Rt,Ft]}],"shadow-color":[{shadow:C()}],"inset-shadow":[{"inset-shadow":["none",p,Rt,Ft]}],"inset-shadow-color":[{"inset-shadow":C()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:C()}],"ring-offset-w":[{"ring-offset":[O,Me]}],"ring-offset-color":[{"ring-offset":C()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":C()}],"text-shadow":[{"text-shadow":["none",x,Rt,Ft]}],"text-shadow-color":[{"text-shadow":C()}],opacity:[{opacity:[O,E,A]}],"mix-blend":[{"mix-blend":[...os(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":os()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[O]}],"mask-image-linear-from-pos":[{"mask-linear-from":W()}],"mask-image-linear-to-pos":[{"mask-linear-to":W()}],"mask-image-linear-from-color":[{"mask-linear-from":C()}],"mask-image-linear-to-color":[{"mask-linear-to":C()}],"mask-image-t-from-pos":[{"mask-t-from":W()}],"mask-image-t-to-pos":[{"mask-t-to":W()}],"mask-image-t-from-color":[{"mask-t-from":C()}],"mask-image-t-to-color":[{"mask-t-to":C()}],"mask-image-r-from-pos":[{"mask-r-from":W()}],"mask-image-r-to-pos":[{"mask-r-to":W()}],"mask-image-r-from-color":[{"mask-r-from":C()}],"mask-image-r-to-color":[{"mask-r-to":C()}],"mask-image-b-from-pos":[{"mask-b-from":W()}],"mask-image-b-to-pos":[{"mask-b-to":W()}],"mask-image-b-from-color":[{"mask-b-from":C()}],"mask-image-b-to-color":[{"mask-b-to":C()}],"mask-image-l-from-pos":[{"mask-l-from":W()}],"mask-image-l-to-pos":[{"mask-l-to":W()}],"mask-image-l-from-color":[{"mask-l-from":C()}],"mask-image-l-to-color":[{"mask-l-to":C()}],"mask-image-x-from-pos":[{"mask-x-from":W()}],"mask-image-x-to-pos":[{"mask-x-to":W()}],"mask-image-x-from-color":[{"mask-x-from":C()}],"mask-image-x-to-color":[{"mask-x-to":C()}],"mask-image-y-from-pos":[{"mask-y-from":W()}],"mask-image-y-to-pos":[{"mask-y-to":W()}],"mask-image-y-from-color":[{"mask-y-from":C()}],"mask-image-y-to-color":[{"mask-y-to":C()}],"mask-image-radial":[{"mask-radial":[E,A]}],"mask-image-radial-from-pos":[{"mask-radial-from":W()}],"mask-image-radial-to-pos":[{"mask-radial-to":W()}],"mask-image-radial-from-color":[{"mask-radial-from":C()}],"mask-image-radial-to-color":[{"mask-radial-to":C()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":_()}],"mask-image-conic-pos":[{"mask-conic":[O]}],"mask-image-conic-from-pos":[{"mask-conic-from":W()}],"mask-image-conic-to-pos":[{"mask-conic-to":W()}],"mask-image-conic-from-color":[{"mask-conic-from":C()}],"mask-image-conic-to-color":[{"mask-conic-to":C()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:is()}],"mask-repeat":[{mask:ns()}],"mask-size":[{mask:as()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",E,A]}],filter:[{filter:["","none",E,A]}],blur:[{blur:ls()}],brightness:[{brightness:[O,E,A]}],contrast:[{contrast:[O,E,A]}],"drop-shadow":[{"drop-shadow":["","none",m,Rt,Ft]}],"drop-shadow-color":[{"drop-shadow":C()}],grayscale:[{grayscale:["",O,E,A]}],"hue-rotate":[{"hue-rotate":[O,E,A]}],invert:[{invert:["",O,E,A]}],saturate:[{saturate:[O,E,A]}],sepia:[{sepia:["",O,E,A]}],"backdrop-filter":[{"backdrop-filter":["","none",E,A]}],"backdrop-blur":[{"backdrop-blur":ls()}],"backdrop-brightness":[{"backdrop-brightness":[O,E,A]}],"backdrop-contrast":[{"backdrop-contrast":[O,E,A]}],"backdrop-grayscale":[{"backdrop-grayscale":["",O,E,A]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[O,E,A]}],"backdrop-invert":[{"backdrop-invert":["",O,E,A]}],"backdrop-opacity":[{"backdrop-opacity":[O,E,A]}],"backdrop-saturate":[{"backdrop-saturate":[O,E,A]}],"backdrop-sepia":[{"backdrop-sepia":["",O,E,A]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",E,A]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[O,"initial",E,A]}],ease:[{ease:["linear","initial",j,E,A]}],delay:[{delay:[O,E,A]}],animate:[{animate:["none",F,E,A]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,E,A]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:Et()}],"rotate-x":[{"rotate-x":Et()}],"rotate-y":[{"rotate-y":Et()}],"rotate-z":[{"rotate-z":Et()}],scale:[{scale:Nt()}],"scale-x":[{"scale-x":Nt()}],"scale-y":[{"scale-y":Nt()}],"scale-z":[{"scale-z":Nt()}],"scale-3d":["scale-3d"],skew:[{skew:ir()}],"skew-x":[{"skew-x":ir()}],"skew-y":[{"skew-y":ir()}],transform:[{transform:[E,A,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:kt()}],"translate-x":[{"translate-x":kt()}],"translate-y":[{"translate-y":kt()}],"translate-z":[{"translate-z":kt()}],"translate-none":["translate-none"],accent:[{accent:C()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:C()}
vendor: 4,728 bytes, line 178
178],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",E,A]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mbs":[{"scroll-mbs":y()}],"scroll-mbe":[{"scroll-mbe":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pbs":[{"scroll-pbs":y()}],"scroll-pbe":[{"scroll-pbe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",E,A]}],fill:[{fill:["none",...C()]}],"stroke-w":[{stroke:[O,ut,Me,Cs]}],stroke:[{stroke:["none",...C()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},$l=vl(Vl);
178function de(...t){return $l(Xo(t))}const Ul=["inset 0 1px 0 rgba(255,255,255,0.28)","inset 0 0 30px rgba(255,255,255,0.07)"].join(", "),Gi=["0 0 0 1.5px rgba(246,159,37,0.65)","0 0 14px rgba(246,159,37,0.45)","0 0 32px rgba(246,159,37,0.20)","0 0 55px rgba(246,159,37,0.08)","inset 0 1px 0 rgba(255,255,255,0.28)","inset 0 0 30px rgba(255,255,255,0.07)"].join(", "),Gl=["0 0 0 2px rgba(246,159,37,0.85)","0 0 20px rgba(246,159,37,0.60)","0 0 45px rgba(246,159,37,0.28)","0 0 70px rgba(246,159,37,0.10)","inset 0 1px 0 rgba(255,255,255,0.32)","inset 0 0 30px rgba(255,255,255,0.09)"].join(", "),Wl={background:"linear-gradient(160deg, #FFAA28 0%, #E8890A 55%, #C97208 100%)",border:"none",boxShadow:Gi,color:"#FFFFFF",borderRadius:"9999px"};function Hl({size:t}){const e=t==="lg"?40:t==="sm"?26:34;return r.jsx("span",{className:"inline-flex items-center justify-center flex-shrink-0 rounded-full font-bold transition-transform duration-300 group-hover:translate-x-0.5",style:{width:e,height:e,background:"rgba(255,255,255,0.28)",fontSize:t==="sm"?12:15},"aria-hidden":"true",children:"â"})}function Ql(t,e){if(typeof t!="string")return t;const s=t.replace(/\s*â\s*$/,"").trim();return r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"flex-1",children:s}),r.jsx(Hl,{size:e})]})}function Fs(t){const e=parseInt(t.slice(1,3),16),s=parseInt(t.slice(3,5),16),i=parseInt(t.slice(5,7),16),n=l=>`rgba(${e},${s},${i},${l})`,a=`rgb(${Math.min(e+30,255)},${Math.min(s+30,255)},${Math.min(i+20,255)})`,o=`rgb(${Math.max(e-30,0)},${Math.max(s-30,0)},${Math.max(i-20,0)})`;return{background:`linear-gradient(160deg, ${a} 0%, ${t} 55%, ${o} 100%)`,border:"none",boxShadow:[`0 0 0 1.5px ${n(.65)}`,`0 0 14px ${n(.45)}`,`0 0 32px ${n(.2)}`,`0 0 55px ${n(.08)}`,"inset 0 1px 0 rgba(255,255,255,0.28)","inset 0 0 30px rgba(255,255,255,0.07)"].join(", "),color:"#FFFFFF",borderRadius:"9999px"}}function Yl(t){const e=parseInt(t.slice(1,3),16),s=parseInt(t.slice(3,5),16),i=parseInt(t.slice(5,7),16),n=a=>`rgba(${e},${s},${i},${a})`;return[`0 0 0 2px ${n(.85)}`,`0 0 20px ${n(.6)}`,`0 0 45px ${n(.28)}`,`0 0 70px ${n(.1)}`,"inset 0 1px 0 rgba(255,255,255,0.32)","inset 0 0 30px rgba(255,255,255,0.09)"].join(", ")}const pe=u.forwardRef(({className:t,variant:e="primary",size:s="md",style:i,accentColor:n,restGlow:a=!1,children:o,...l},c)=>{const h="group inline-flex items-center font-semibold transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--rubi-electric)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--rubi-deep-navy)] disabled:opacity-50 disabled:pointer-events-none select-none",d=n&&(e==="secondary"||e==="ghost")?{borderColor:n,color:n}:void 0,p={primary:"text-white active:scale-[0.97] hover:-translate-y-px",secondary:"rounded-full border border-[var(--rubi-electric)] text-[var(--rubi-electric)] bg-[#10151C] hover:bg-[#10151C] active:scale-95 transition-shadow duration-200",ghost:"rounded-full border border-[var(--rubi-electric)] text-[var(--rubi-electric)] bg-transparent hover:bg-transparent active:scale-95 transition-shadow duration-200",danger:"rounded-full bg-red-600 text-white hover:bg-red-700 active:scale-95"},x={sm:e==="primary"?"pl-4 pr-1.5 py-1.5 text-sm gap-3":"px-5 py-[7px] text-sm",md:e==="primary"?"pl-6 pr-2 py-2 text-base gap-4":"px-7 py-[13px] text-base",lg:e==="primary"?"pl-8 pr-2.5 py-2.5 text-lg gap-5":"px-9 py-[15px] text-lg"},m=n?Fs(n):Wl,N=a?n?Fs(n).boxShadow:Gi:Ul,v=n?Yl(n):Gl,w=n?(()=>{const j=parseInt(n.slice(1,3),16),F=parseInt(n.slice(3,5),16),k=parseInt(n.slice(5,7),16);return`0 0 18px 4px rgba(${j},${F},${k},0.35)`})():"0 0 18px 4px rgba(246,159,37,0.35)";return r.jsx("button",{ref:c,className:de(h,p[e],x[s],t),style:e==="primary"?{...m,boxShadow:N,...i}:{...d,...i},onMouseEnter:j=>{e==="primary"?j.currentTarget.style.boxShadow=v:(e==="secondary"||e==="ghost")&&(j.currentTarget.style.boxShadow=w)},onMouseLeave:j=>{e==="primary"?j.currentTarget.style.boxShadow=N:(e==="secondary"||e==="ghost")&&(j.currentTarget.style.boxShadow="")},...l,children:e==="primary"?Ql(o,s):o})});pe.displayName="Button";const Rs=[{label:"RubiFlow, Data Foundation Studio",href:"/platform/rubiflow",category:"Platform",description:"3Ã faster pipelines",logo:"/assets/logos/flow.svg",accentColor:"#5FBF92"},{label:"RubiStudio, Intelligence Studio",href:"/platform/rubistudio",category:"Platform",description:"Patent-backed MLOps",logo:"/assets/logos/studio.svg",accentColor:"#497FB6"},{label:"RubiSight, Insights & BI",href:"/platform/rubisight",category:"Platform",description:"Self-service BI",logo:"/assets/logos/sight.svg",accentColor:"#F69F27"},{label:"RubiAI, Decision Copilot",href:"/platform/rubi-ai",category:"Platform",description:"Plain-English AI",logo:"/assets/logos/rubi ai.svg",accentColor:"#9DABE0"},{label:"RubiThings, IoT Intelligence",href:"/platform/rubi-things",category:"Platform",description:"OT meets IT",logo:"/assets/logos/things.svg",accentColor:"#2AA0BF"},{label:"Business Workbench",href:"/platform/workbench",category:"Platform",description:"One workspace. Every role.",logo:"/assets/logos/workbench.svg",accentColor:"#4F46E5"},{label:"Platform Overview",href:"/platform",category:"Platform",description:"The Decision Intelligence OS"},{label:"Architecture & Deployment",href:"/platform/architecture",category:"Platform",description:"Modular, deployable anywhere"},{label:"Banking & Financial Services",href:"/solutions/banking",category:"Solutions",icon:Wt},{label:"Insurance",href:"/solutions/insurance",category:"Solutions"},{label:"Healthcare",href:"/solutions/healthcare",category:"Solutions"},{label:"Manufacturing",href:"/solutions/manufacturing",category:"Solutions"},{label:"Government & Public Sector",href:"/solutions/government",category:"Solutions"},{label:"Energy & Utilities",href:"/solutions/energy",category:"Solutions"},{label:"Telecom",href:"/solutions/telecom",category:"Solutions"},{label:"Defence",href:"/solutions/defense",category:"Solutions"},{label:"For CXOs",href:"/solutions/for-cxos",category:"Solutions",icon:Ir},{label:"For Data Scientists",href:"/solutions/for-data-scientists",category:"Solutions"},{label:"For Data Engineers",href:"/solutions/for-data-engineers",category:"Solutions"},{label:"For Analysts",href:"/solutions/for-analysts",category:"Solutions"},{label:"Rubiversity, Free Courses",href:"/learn/rubiversity",category:"Learn",icon:Cr},{label:"Certifications",href:"/learn/certifications",category:"Learn"},{label:"AI/ML Certification",href:"/learn/ai-ml-certification",category:"Learn"},{label:"Learning Paths",href:"/learn/paths",category:"Learn"},{label:"About Rubiscape",href:"/about",category:"Company",description:"Our story & mission"},{label:"Partners",href:"/partners",category:"Company"},{label:"Newsroom",href:"/newsroom",category:"Company"},{label:"Careers",href:"https://careers.rubiscape.com/jobs/Careers",category:"Company"},{label:"Pricing",href:"/pricing",category:"Conversion",icon:on},{label:"Book a Demo",href:"/demo",category:"Conversion",description:"Personalised 30-min walkthrough"},{label:"Start 7-Day Free Trial",href:"/trial",category:"Conversion",description:"No credit card required"},{label:"ROI Calculator",href:"/resources/roi-calculator",category:"Conversion",icon:Ht},{label:"Contact Us",href:"/contact",category:"Conversion"}],ql=["Platform","Solutions","Learn","Company","Conversion"];function Kl(){const[t,e]=u.useState(!1),[s,i]=u.useState(""),n=Xi(),a=u.useMemo(()=>
178new ve(Rs,{keys:["label","category","description"],threshold:.35,includeScore:!0}),[]),o=u.useMemo(()=>s.trim()?a.search(s).map(h=>h.item):Rs,[a,s]),l=u.useMemo(()=>s.trim()?{Results:o}:ql.reduce((h,d)=>{const p=o.filter(x=>x.category===d);return p.length&&(h[d]=p),h},{}),[o,s]),c=u.useCallback(h=>{e(!1),i(""),h.startsWith("http")?window.open(h,"_blank","noopener,noreferrer"):n(h)},[n]);return u.useEffect(()=>{const h=d=>{(d.metaKey||d.ctrlKey)&&d.key==="k"&&(d.preventDefault(),e(p=>!p)),d.key==="Escape"&&e(!1)};return document.addEventListener("keydown",h),()=>document.removeEventListener("keydown",h)},[]),u.useEffect(()=>{t||i("")},[t]),r.jsx(Jt,{children:t&&r.jsx(dt.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},className:"fixed inset-0 z-50 flex items-start justify-center pt-[15vh] px-4",style:{background:"rgba(0,0,0,0.7)",backdropFilter:"blur(8px)"},onClick:()=>e(!1),children:r.jsx(dt.div,{initial:{opacity:0,scale:.96,y:-8},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.96,y:-8},transition:{duration:.15},className:"w-full max-w-2xl rounded-2xl overflow-hidden shadow-2xl",style:{background:"var(--rubi-panel)",border:"1px solid var(--rubi-border)"},onClick:h=>h.stopPropagation(),children:r.jsxs(qe,{shouldFilter:!1,children:[r.jsxs("div",{className:"flex items-center gap-3 px-4 py-3.5 border-b border-[var(--rubi-border)]",children:[r.jsx(kr,{className:"w-4 h-4 text-[var(--rubi-text-muted)] shrink-0"}),r.jsx(qe.Input,{value:s,onValueChange:i,placeholder:"Search platform, solutions, resourcesâ¦",className:"flex-1 bg-transparent text-white text-sm placeholder-[var(--rubi-text-muted)] outline-none"}),r.jsx("kbd",{className:"hidden sm:flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] text-[var(--rubi-text-muted)] border border-[var(--rubi-border)]",children:"ESC"})]}),r.jsxs(qe.List,{className:"max-h-[60vh] overflow-y-auto p-2",children:[r.jsxs(qe.Empty,{className:"py-8 text-center text-sm text-[var(--rubi-text-muted)]",children:['No results for "',s,'"']}),Object.entries(l).map(([h,d])=>r.jsx(qe.Group,{heading:h,className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-[10px] [&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:tracking-widest [&_[cmdk-group-heading]]:text-[var(--rubi-text-muted)]",children:d.map(p=>{const x=p.icon;return r.jsxs(qe.Item,{value:p.label,onSelect:()=>c(p.href),className:"flex items-center gap-3 px-3 py-2.5 rounded-xl cursor-pointer transition-colors aria-selected:bg-white/8 hover:bg-white/5 group",children:[p.logo?r.jsx("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:p.accentColor?`${p.accentColor}20`:"var(--rubi-surface)"},children:r.jsx("img",{src:p.logo,alt:"",className:"w-4 h-4 object-contain"})}):x?r.jsx("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:p.accentColor?`${p.accentColor}20`:"var(--rubi-surface)"},children:r.jsx(x,{className:"w-3.5 h-3.5",style:{color:p.accentColor||"var(--rubi-text-muted)"}})}):r.jsx("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0 bg-white/5",children:r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)]"})}),r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsx("span",{className:"text-sm text-[var(--rubi-text-primary)] block truncate",children:p.label}),p.description&&r.jsx("span",{className:"text-xs text-[var(--rubi-text-muted)] block truncate",children:p.description})]}),r.jsx(D,{className:"w-3.5 h-3.5 text-[var(--rubi-text-muted)] opacity-0 group-aria-selected:opacity-100 transition-opacity"})]},p.href)})},h))]}),r.jsxs("div",{className:"flex items-center justify-between px-4 py-2.5 border-t border-[var(--rubi-border)]",children:[r.jsxs("div",{className:"flex items-center gap-3 text-[10px] text-[var(--rubi-text-muted)]",children:[r.jsxs("span",{className:"flex items-center gap-1",children:[r.jsx("kbd",{className:"px-1 py-0.5 rounded border border-[var(--rubi-border)] text-[9px]",children:"ââ"})," navigate"]}),r.jsxs("span",{className:"flex items-center gap-1",children:[r.jsx("kbd",{className:"px-1 py-0.5 rounded border border-[var(--rubi-border)] text-[9px]",children:"âµ"})," open"]}),r.jsxs("span",{className:"flex items-center gap-1",children:[r.jsx("kbd",{className:"px-1 py-0.5 rounded border border-[var(--rubi-border)] text-[9px]",children:"ESC"})," close"]})]}),r.jsx("span",{className:"text-[10px] text-[var(--rubi-text-muted)]",children:"Rubiscape"})]})]})})})})}function Jl(){return r.jsx("button",{onClick:()=>{const t=new KeyboardEvent("keydown",{key:"k",metaKey:!0,bubbles:!0});document.dispatchEvent(t)},className:"hidden lg:flex items-center justify-center w-9 h-9 rounded-lg text-white/70 hover:text-white transition-colors hover:bg-white/10","aria-label":"Search",children:r.jsx(kr,{className:"w-6 h-6"})})}async function Zl(){try{const t=await fetch("/api/auth/me",{credentials:"same-origin"});if(!t.ok)return null;const e=await t.json();if(!e.authenticated)return null;const s=e.user;return{id:s.sub,firstName:s.firstName??"",lastName:s.lastName??"",email:s.email??"",username:s.username}}catch{return null}}function Xl(t){const e=t?`/api/auth/login?from=${encodeURIComponent(t)}`:"/api/auth/login";window.location.href=e}function ec(){window.location.href="/api/auth/logout"}async function Kd(t){const e=await fetch("/api/auth/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!e.ok){const s=await e.json().catch(()=>({}));throw new Error(s.message||"Registration failed. Please try again.")}}function tc(){return{id:"dev-user",firstName:"Demo",lastName:"User",email:"[email protected]",persona:"professional",mobile:"+91 90000 00000",company:"Rubiscape",designation:"Data Analyst"}}const Wi=u.createContext(void 0);function rc({children:t}){const[e,s]=u.useState(null),[i,n]=u.useState("loading");u.useEffect(()=>{const c=new URLSearchParams(window.location.search);if(c.get("code")&&(c.get("app_name")==="keycloak"||(c.get("iss")??"").includes("rubiscape"))){window.location.replace(`/api/auth/sso-exchange${window.location.search}`);return}let d=!0;return Zl().then(p=>{d&&(s(p),n(p?"authenticated":"anonymous"))}),()=>{d=!1}},[]);const a=u.useCallback(c=>Xl(c),[]),o=u.useCallback(()=>{s(tc()),n("authenticated")},[]),l=u.useCallback(()=>ec(),[]);return r.jsx(Wi.Provider,{value:{user:e,status:i,isAuthenticated:i==="authenticated",login:a,devLogin:o,logout:l},children:t})}function Hi(){const t=u.useContext(Wi);if(!t)throw new Error("useAuth must be used within AuthProvider");return t}function Jd({children:t}){const{status:e}=Hi(),s=He();return e==="loading"?r.jsx("div",{className:"min-h-screen",style:{background:"var(--rubi-deep-nav
178y)"}}):e==="anonymous"?r.jsx(Ot,{to:"/login",replace:!0,state:{from:s.pathname}}):r.jsx(r.Fragment,{children:t})}const Ur=[{label:"Data Foundation",rubiName:"RubiFlow",href:"/platform/rubiflow",logo:"/assets/logos/flow.svg",color:"#5FBF92",desc:"3Ã faster pipeline delivery",tagline:"Ingest. Transform. Govern."},{label:"Intelligence & AI",rubiName:"RubiStudio",href:"/platform/rubistudio",logo:"/assets/logos/studio.svg",color:"#497FB6",desc:"Patent-backed AutoML & GenAI",tagline:"Model. Deploy. Scale."},{label:"Insights & BI",rubiName:"RubiSight",href:"/platform/rubisight",logo:"/assets/logos/sight.svg",color:"#F69F27",desc:"Self-service BI, 60+ chart types",tagline:"Visualise. Explore. Decide."},{label:"Decision Copilot",rubiName:"RubiAI",href:"/platform/rubi-ai",logo:"/assets/logos/rubi ai.svg",color:"#9DABE0",desc:"Ask your data in plain English",tagline:"Ask. Reason. Act."},{label:"IoT Analytics",rubiName:"RubiThings",href:"/platform/rubi-things",logo:"/assets/logos/things.svg",color:"#2AA0BF",desc:"OT meets IT edge to cloud",tagline:"Connect. Stream. Predict."},{label:"Admin & Governance",rubiName:"RubiAdmin",href:"/platform/rubi-admin",logo:"/assets/logos/rubiscape light favicon.png",color:"#52A5E1",desc:"Full lineage and audit trail",tagline:"Lineage. Control. Comply."}],Gr=[{label:"Platform Overview",href:"/platform",icon:ln,desc:"Six studios. One Intelligence OS."},{label:"Professional Services",href:"/professional-services",icon:lt,desc:"Advisory & Implementation"}
178,{label:"Product Roadmap",href:"/platform/roadmap",icon:Sr,desc:"What's coming next and why"}],Wr=[{label:"The Tool Sprawl Problem",href:"/why-rubiscape/the-tool-sprawl-problem",icon:cn,color:"#9DABE0",desc:"Tools sprawl creates AI integration tax."},{label:"ROI & TCO Calculator",href:"/resources/roi-calculator",icon:gt,color:"#1A6FE8",desc:"Stack cost vs. unified Rubiscape deploy."},{label:"Time-to-Insight Benchmark",href:"/resources/time-to-insight",icon:yt,color:"#F69F27",desc:"Raw data to production decision, timed."},{label:"Maturity Assessment",href:"/resources/assessment",icon:Sr,color:"#497FB6",desc:"How far to Level 4 Autonomous AI?"}],Hr=[{label:"Decision Intelligence 101",href:"/why-rubiscape/decision-intelligence-101",icon:Qe,color:"#1A6FE8",desc:"BI-to-AI explained for the C-suite."},{label:"TCO & Faster ROI",href:"/why-rubiscape/tco-and-roi",icon:un,color:"#2AA0BF",desc:"5Ã lower TCO, 3Ã faster pipelines."},{label:"Governance-First Architecture",href:"/why-rubiscape/governance-first-architecture",icon:Pr,color:"#52A5E1",desc:"Lineage, RBAC, audit trails, compliance."},{label:"AI Data Academy",href:"/why-rubiscape/ai-data-academy",icon:vt,color:"#9DABE0",desc:"AI-ready teams for enterprises and PSUs."}],Qr=[{label:"AI Labs as Co-create Model",href:"/why-rubiscape/ai-labs-cocreation",icon:vt,color:"#2AA0BF",desc:"Set up an AI lab or COE anywhere."},{label:"Rubiscape on Hyperscalers",href:"/why-rubiscape/rubiscape-on-hyperscalers",icon:Qs,color:"#1A6FE8",desc:"AWS, Azure, GCP, OCI no cloud lock-in."},{label:"Rubiscape on Data Platforms",href:"/why-rubiscape/rubiscape-on-data-platforms",icon:Lt,color:"#9DABE0",desc:"On Databricks or Snowflake, no swap."},{label:"Rubiscape BYOC",href:"/why-rubiscape/byoc",icon:Pr,color:"#4F46E5",desc:"Your cloud, your data full sovereignty."}],Gt=[{label:"Smart Port Analytics",href:"/insights/customer-stories",icon:Qt,color:"#1A6FE8",desc:"Real-time cargo intelligence at scale."},{label:"Manufacturing Intelligence",href:"/insights/customer-stories",icon:Ys,color:"#F69F27",desc:"Predictive maintenance AI at scale."},{label:"Social Impact Analytics",href:"/insights/customer-stories",icon:qs,color:"#2AA0BF",desc:"Health data into measurable outcomes."},{label:"Academic AI Partnership",href:"/insights/customer-stories",icon:Yt,color:"#497FB6",desc:"Co-branded AI research, student certs."}],Yr=[{label:"For CXOs & CDOs",href:"/solutions/for-cxos",icon:Ks,color:"#1A6FE8",desc:"Strategy into operational intelligence."},{label:"For Data Scientists",href:"/solutions/for-data-scientists",icon:Qe,color:"#497FB6",desc:"AutoML and MLOps for the full lifecycle."},{label:"For Business Analysts",href:"/solutions/for-analysts",icon:gt,color:"#F69F27",desc:"Self-serve analytics, no SQL required."},{label:"For Data Engineers",href:"/solutions/for-data-engineers",icon:Lt,color:"#5FBF92",desc:"200+ connectors, visual ETL, governed."},{label:"For IT & CISO",href:"/solutions/for-it",icon:qt,color:"#9DABE0",desc:"RBAC, compliance, audit trails."}],qr=[{label:"Agriculture",href:"/solutions/agriculture",icon:dn,color:"#F49F25",desc:"Agri-tech, food processing, cooperatives"},{label:"Banking",href:"/solutions/banking",icon:Wt,color:"#497FB6",desc:"Retail, corporate, digital banking"},{label:"Defense",href:"/solutions/defense",icon:hn,color:"#10B981",desc:"Military, aerospace, strategic systems"},{label:"Education",href:"/solutions/education",icon:Yt,color:"#F49F25",desc:"Universities, EdTech, research institutes"},{label:"Energy",href:"/solutions/energy",icon:pn,color:"#497FB6",desc:"Power, renewables, utilities, oil & gas"},{label:"Financial Services",href:"/solutions/financial-services",icon:yt,color:"#10B981",desc:"NBFCs, fintech, capital markets"},{label:"Government",href:"/solutions/government",icon:Js,color:"#F49F25",desc:"Ministries, departments, smart cities"},{label:"Healthcare",href:"/solutions/healthcare",icon:mn,color:"#497FB6",desc:"Hospitals, pharma, life sciences"},{label:"Hospitality",href:"/solutions/hospitality",icon:fn,color:"#10B981",desc:"Hotels, tourism, aviation"},{label:"Insurance",href:"/solutions/insurance",icon:qt,color:"#F49F25",de
178sc:"Life, general, claims, underwriting"},{label:"Logistics",href:"/solutions/logistics",icon:xn,color:"#497FB6",desc:"Supply chain, warehousing, mobility"},{label:"Manufacturing",href:"/solutions/manufacturing",icon:Ys,color:"#10B981",desc:"Discrete, process, automotive, engineering"},{label:"Maritime",href:"/solutions/maritime",icon:bn,color:"#F49F25",desc:"Ports, shipping, terminals"},{label:"Retail & E-commerce",href:"/solutions/retail",icon:gn,color:"#497FB6",desc:"Consumer, D2C, quick commerce"},{label:"Telecom",href:"/solutions/telecom",icon:yn,color:"#10B981",desc:"Telecom, media, OTT, communications"}],sc=[{label:"Decision Intelligence 101",href:"/decision-intelligence",icon:Qe,color:"#1A6FE8",desc:"The BI-to-AI shift explained for the C-suite."},{label:"Maturity Assessment",href:"/resources/assessment",icon:gt,color:"#497FB6",desc:"Benchmark your organisation how far from Level 4 Autonomous AI?"},{label:"Professional Services",href:"/professional-services",icon:lt,color:"#2AA0BF",desc:"Advisory, managed services and expert AI implementation support."},{label:"Impact Stories",href:"/insights/customer-stories",icon:We,color:"#F69F27",desc:"Real deployments, real numbers and named enterprise outcomes."}],Kr=[{label:"GenAI & LLM Applications",href:"/solutions/use-cases#genai-llm",icon:Zs,color:"#497FB6",desc:"RAG pipelines, fine-tuning, enterprise chatbots."},{label:"Predictive Analytics Suite",href:"/solutions/use-cases#predictive",icon:yt,color:"#1A6FE8",desc:"Demand, churn, CLV and risk configured."},{label:"Edge AI & Video Analytics",href:"/solutions/use-cases#edge-ai",icon:vn,color:"#F69F27",desc:"Camera feed to governed decision, on-device."},{label:"Regulatory Reporting Automation",href:"/solutions/use-cases#regulatory",icon:qt,color:"#5FBF92",desc:"Basel III, IFRS 9, HIPAA and ESG templates."}],Jr=[{label:"Certification Paths",href:"/learn/certifications",icon:We,color:"#497FB6",desc:"Foundation, Professional and Expert tiers."}],Zr=[{label:"Data Visualisation",href:"/learn/data-visualisation",icon:gt,color:"#F69F27",desc:"8 weeks · All levels · Free"},{label:"Applied Data Science",href:"/learn/data-science",icon:Lt,color:"#5FBF92",desc:"16 weeks · Intermediate · Free"},{label:"Data Engineering",href:"/learn/data-engineering",icon:Lt,color:"#5FBF92",desc:"10 weeks · All levels · Free"}],Xr=[{label:"RubiPedia Glossary",href:"/resources/rubipedia",icon:Cr,color:"#1A6FE8",desc:"250+ AI terms in plain English.",external:!1},{label:"Knowledge Base",href:"https://help.rubiscape.com/portal/en/kb",icon:Ht,color:"#497FB6",desc:"Product docs, guides and FAQs.",external:!0},{label:"RubiWise Agile AI Methods",href:"/resources/rubiwise",icon:Sr,color:"#F69F27",desc:"Governed and rapid AI delivery framework.",external:!1},{label:"Community Q&A",href:"https://help.rubiscape.com/portal/en/community",icon:Ir,color:"#2AA0BF",desc:"12,000+ practitioners sharing code.",external:!0}],es=[{label:"Insights Hub",href:"/insights",icon:Ht,color:"#1A6FE8",desc:"Reports, guides, blogs and research.",external:!1},{label:"Practitioner Guides",href:"/insights#guides",icon:Cr,color:"#5FBF92",desc:"Implementation guides and best practices.",external:!1},{label:"Blogs & Perspectives",href:"/insights#blogs",icon:Kt,color:"#F59E0B",desc:"Expert views and industry commentary.",external:!1},{label:"Frameworks",href:"/insights#frameworks",icon:Qe,color:"#7C3AED",desc:"AI delivery and governance frameworks.",external:!1},{label:"Product Release Notes",href:"/insights#release-notes",icon:lt,color:"#EF4444",desc:"Latest feature updates and changelogs.",external:!1},{label:"Analyst Coverage",href:"/insights#third-party",icon:Qt,color:"#9DABE0",desc:"Gartner, IDC, Forbes recognitions.",external:!1},{label:"Podcast",href:"/insights/podcast",icon:jn,color:"#2AA0BF",desc:"Decision Intelligence Conversations.",external:!1},{label:"Events",href:"/events",icon:Fr,color:"#F69F27",desc:"Webinars, workshops and AI conferences.",external:!1}],ts=[{label:"Our Story",href:"/about/our-story",icon:Xs,color:"#1A6FE8",desc:"Brand philosophy, mission, vision & values."},{label:"Leadership Team",href:"/about/team#team",icon:Ir,color:"#5FBF92",desc:"The engineering and science team."},{label:"Awards & Recognitions",href:"/about/team#awards",icon:wn,color:"#F69F27",desc:"Gartner Cool Vendor and G2 Leader."},{label:"Newsroom",href:"/newsroom",icon:_n,color:"#9DABE0",desc:"Announcements and product launches."},{label:"Contact Us",href:"/contact",icon:ei,color:"#2AA0BF",desc:"Talk to sales, support, or partnerships."}
178],rs=[{label:"Agentic AI Research",href:"/learn/labs#agentic-ai",icon:Qe,color:"#497FB6",desc:"Multi-agent closed-loop decision AI."},{label:"Quantum ML & Computing",href:"/learn/labs#quantum-ml",icon:Kt,color:"#1A6FE8",desc:"Quantum-classical algorithms for AI."},{label:"LLM & Foundation Models",href:"/learn/labs#llm-models",icon:Zs,color:"#2AA0BF",desc:"RAG, fine-tuning and enterprise LLMs."},{label:"Sovereign AI & Edge",href:"/learn/labs#sovereign-ai",icon:qt,color:"#5FBF92",desc:"Air-gapped AI for defence sectors."},{label:"Explainable AI",href:"/learn/labs#explainable-ai",icon:Xs,color:"#F69F27",desc:"Auditable AI for regulated sectors."},{label:"Research Partnerships",href:"/learn/labs#research-partnerships",icon:vt,color:"#9DABE0",desc:"Co-innovation with IITs and govt."}],Qi="https://careers.rubiscape.com/jobs/Careers",ss=[{label:"Life at Rubiscape",href:"/careers",icon:qs,color:"#2AA0BF",desc:"Culture, values, perks and how we build.",external:!1},{label:"Engineering & Product",href:"/careers/engineering",icon:ti,color:"#1A6FE8",desc:"Product Dev, ML, DevOps, SecOps, PM roles.",external:!1},{label:"Sales & Business",href:"/careers/sales",icon:yt,color:"#5FBF92",desc:"Partner Sales, Pre-Sales, KAM and BDR roles.",external:!1}],Yi=[{label:"Market Opportunity",href:"/partners#market-opportunity",icon:yt,color:"#1A6FE8",desc:"The enterprise AI mandate and partner window."},{label:"Why Partner with Us",href:"/partners#why-partner",icon:kn,color:"#2AA0BF",desc:"No channel conflict. All the opportunity."},{label:"Agentic AI Practice",href:"/partners#agentic-opportunity",icon:lt,color:"#9DABE0",desc:"Build the highest-growth AI practice now."},{label:"Tech Integrations",href:"/partners#technology-integrations",icon:Qt,color:"#5FBF92",desc:"AWS, Azure, GCP, Databricks & more."}],qi=[{label:"BUILD System Integrators",href:"/partners/models#si-partners",icon:Wt,color:"#1A6FE8",desc:"Agentic AI delivery & managed services."},{label:"ENABLE Cloud Partners",href:"/partners/models#cloud-partners",icon:Qs,color:"#2AA0BF",desc:"BYOC deployments on AWS, Azure, GCP, OCI."},{label:"EMBED ISV & OEM",href:"/partners/models#isv-partners",icon:ti,color:"#7C3AED",desc:"Embed analytics & AI in your SaaS product."},{label:"SELL Distributors",href:"/partners/models#resellers",icon:Qt,color:"#F59E0B",desc:"Authorised reseller & distributor programme."}],Ki=[{label:"Silver Tier",href:"/partners/tiers",icon:We,color:"#94A3B8",desc:"Authorised Reseller entry partner status."},{label:"Gold Tier",href:"/partners/tiers",icon:We,color:"#F69F27",desc:"Certified Implementation Partner."},{label:"Platinum Tier",href:"/partners/tiers",icon:We,color:"#A78BFA",desc:"Premier Managed Services Partner."},{label:"Enablement & Portal",href:"/partners/enablement",icon:Yt,color:"#9DABE0",desc:"Training, MDF, accelerators & support."}];function ct({isOpen:t,children:e,width:s="w-[900px]"}){return r.jsx(Jt,{children:t&&r.jsx("div",{className:de("fixed top-16 left-1/2 -translate-x-1/2 z-50",s),children:r.jsx(dt.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.15},className:"w-full rounded-2xl border border-[var(--rubi-border)] shadow-2xl shadow-black/50 overflow-hidden",style:{background:"rgb(15, 20, 27)",borderTopColor:"var(--rubi-electric)",borderTopWidth:"2px",backgroundImage:"radial-gradient(ellipse 300px 120px at 20% 0%, rgba(246,159,37,0.04) 0%, transparent 70%)"},children:e})})})}function wt({primaryLabel:t,primaryHref:e,primaryExternal:s,secondaryLabel:i,secondaryHref:n,secondaryExternal:a,secondaryIcon:o,noTrusted:l}){const c=i?r.jsxs(pe,{variant:"ghost",size:"sm",children:[o&&r.jsx(o,{className:"w-3.5 h-3.5 mr-1.5 inline-block"}),i]}):null,h=s?r.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:r.jsxs(pe,{variant:"primary",size:"sm",restGlow:!0,children:[t," â"]})}):r.jsx(I,{to:e,children:r.jsxs(pe,{variant:"primary",size:"sm",restGlow:!0,children:[t," â"]})});return r.jsx("div",{className:"col-span-full border-t px-5 py-3 flex items-center justify-between",style:{borderColor:"rgba(246,159,37,0.12)",background:"rgba(246,159,37,0.03)"},children:l?r.jsxs(r.Fragment,{children:[c&&n&&(a?r.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:c}):r.jsx(I,{to:n,children:c})),h]}):r.jsxs(r.Fragment,{children:[r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)]",children:"Trusted by Fortune 500 enterprises"}),r.jsxs("div",{className:"flex items-center gap-2",children:[c&&n&&(a?r.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:c}):r.jsx(I,{to:n,children:c})),h]})]})})}function ic({isOpen:t}){return r.jsx(ct,{isOpen:t,width:"w-[1000px]",children:r.jsxs("div",{className:"grid grid-cols-12 gap-0",children:[r.jsxs("div",{className:"col-span-4 p-5 border-r border-[var(--rubi-border)] flex flex-col",style:{background:"rgba(11, 16, 21, 0.85)"},children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"The Problem We Solve"}),r.jsx("p",{className:"text-sm font-bold text-white mb-1 leading-snug",children:"Stack Fragmentation & Delayed Insights."}),r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)] leading-relaxed mb-4",children:"5+ disconnected tools no shared lineage, duplicated governance."}),r.jsx("div",{className:"flex flex-col gap-1",children:Wr.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2.5 px-3 py-2.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(s,{className:"w-3.5 h-3.5",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[13px] font-semibold text-white leading-tight",children:e.label}),r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)] mt-0.5 leading-tight",children:e.desc})]}),r.jsx(D,{className:"w-3.5 h-3.5 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]},e.label)})})]}),r.jsxs("div",{className:"col-span-4 p-5 border-r border-[var(--rubi-border)] flex flex-col",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Value Pillars"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-1 leading-snug",children:"Why Enterprises Choose Rubiscape"}),r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)] leading-relaxed mb-4",children:"Measurable outcomes tied to real deployments, not claims."}),r.jsx("div",{className:"flex flex-col gap-0.5",children:Hr.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2.5 px-2 py-2 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsx(s,{className:"w-3.5 h-3.5 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] mt-0.5 leading-tight",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 transition-opacity shrink-0"})]},e.label)})})]}),r.jsxs("div",{className:"col-span-4 p-5 flex flex-col",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Co-exist & Co-create"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-1 leading-snug",children:"Rubiscape Works Where You Work"}),r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)] mb-4 leading-relaxed",children:"Hyperscalers, data platforms, or your own cloud extend, not replace."}),r.jsx("div",{className:"flex flex-col gap-0.5 mb-3",children:Qr.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2.5 px-2 py-2 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsx(s,{className:"w-3.5 h-3.5 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] mt-0.5 leading-tight",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 transition-opacity shrink-0"})]},e.label)})}),r.jsxs(I,{to:"/platform",className:"flex items-center gap-1.5 text-xs font-semibold text-[var(--rubi-electric)] hover:opacity-80 transition-opacity",children:["Deployment Options ",r.jsx(D,{className:"w-3 h-3"})]})]}),r.jsx(wt,{primaryLabel:"Measure AI Readiness",primaryHref:"/resources/assessment",secondaryLabel:"Book a Demo",secondaryHref:"/demo"})]})})}function nc({isOpen:t}){return r.jsx(ct,{isOpen:t,width:"w-[1200px]",children:r.jsxs("div",{className:"grid grid-cols-12 gap-0",children:[r.jsxs("div",{className:"col-span-3 p-5 border-r border-[var(--rubi-border)] flex flex-col",style:{background:"rgba(11, 16, 21, 0.85)"},children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-2",children:"Platform"}),r.jsx("h3",{className:"font-display font-bold text-[15px] text-white leading-snug mb-1",children:"Democratising AI"}),r.jsx("div",{className:"flex flex-col gap-1",children:Gr.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2.5 px-3 py-2.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(s,{className:"w-3.5 h-3.5",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("span",{className:"text-[13px] font-semibold text-white leading-tight block",children:e.label}),r.jsx("span",{className:"text-[11px] text-[var(--rubi-text-muted)] block leading-tight mt-0.5",children:e.desc})]}),r.jsx(D,{className:"w-3.5 h-3.5 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]},e.label)})}),r.jsxs(I,{to:"/Xperience",className:"flex items-center gap-2.5 px-3 py-2.5 mt-2 rounded-xl transition-colors group border-l-2 border-[var(--rubi-electric)]",style:{background:"rgba(246,159,37,0.08)"},children:[r.jsx("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.15)"},children:r.jsx(Kt,{className:"w-3.5 h-3.5 text-[var(--rubi-electric)]"})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("span",{className:"text-[13px] font-semibold text-white leading-tight block",children:"Experience Rubiscape Live Demo"}),r.jsx("span",{className:"text-[11px] text-[var(--rubi-text-muted)] block leading-tight mt-0.5",children:"See all six studios in action."})]}),r.jsx(D,{className:"w-3.5 h-3.5 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]})]}),r.jsxs("div",{className:"col-span-6 p-5 border-r border-[var(--rubi-border)] flex flex-col",children:[r.jsxs("div",{className:"mb-3 shrink-0",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Six Studios One Intelligence OS"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] leading-tight mb-0.5",children:"The Complete AI Platform Stack"}),r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)] leading-relaxed",children:"Each studio purpose-built all sharing one governed data kernel."})]}),r.jsx("div",{className:"grid grid-cols-2 gap-x-2 content-between flex-1",style:{gridAutoRows:"1fr"},children:Ur.map(e=>r.jsxs(I,{to:e.href,className:"flex items-start gap-3 px-3 py-2 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center shrink-0 mt-0.5",style:{background:`${e.color}20`},children:r.jsx("img",{src:e.logo,alt:e.rubiName,className:"w-5 h-5 object-contain"})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[13px] font-semibold leading-tight",children:r.jsx("span",{style:{color:e.color},children:e.rubiName})}),r.jsxs("p",{className:"text-[11px] text-[var(--rubi-text-muted)] font-normal leading-tight mb-0.5",children:["· ",e.label]}),r.jsx("p",{className:"text-[10px] text-white leading-snug mt-0.5",children:e.tagline})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-electric)] opacity-0 group-hover:opacity-70 transition-opacity shrink-0 mt-1"})]},e.href))})]}),r.jsxs("div",{className:"col-span-3 p-5 flex flex-col",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Impact Stories"}),r.jsx("div",{className:"flex flex-col justify-between flex-1 mt-1",children:Gt.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2.5 px-3 py-2.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(s,{className:"w-3.5 h-3.5",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[13px] font-semibold text-white leading-tight",children:e.label}),r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)] block leading-tight mt-0.5",children:e.desc})]}),r.jsx(D,{className:"w-3.5 h-3.5 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]},e.label)})})]})]})})}function ac({isOpen:t}){return r.jsx(ct,{isOpen:t,width:"w-[1280px]",children:r.jsxs("div",{className:"grid gap-0",style:{gridTemplateColumns:"280px 1fr 220px"},children:[r.jsxs("div",{className:"px-4 py-5 border-r border-[var(--rubi-border)]",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"By Role"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-3 leading-tight",children:"Built for Every Seat at the Data Table"}),r.jsx("div",{className:"flex flex-col gap-2",children:Yr.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2.5 py-1.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-6 h-6 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(s,{className:"w-3 h-3",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-semibold text-white leading-tight truncate",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]},e.href+e.label)})})]}),r.jsxs("div",{className:"px-4 py-3 border-r border-[var(--rubi-border)]",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"By Industry"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-2 leading-tight",children:"Domain-Tuned for Every Vertical"}),r.jsx("div",{className:"grid grid-cols-3 gap-x-1 gap-y-0.5",children:qr.map(e=>r.jsx(pc,{item:e},e.href+e.label))})]}),r.jsxs("div",{className:"px-4 py-5 flex flex-col",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Use Case Accelerators"})
178,r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-3 leading-tight",children:"Pre-Built, Configurable & Prod-Ready"}),r.jsx("div",{className:"flex flex-col gap-2 flex-1",children:Kr.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2 py-1.5 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsx(s,{className:"w-3.5 h-3.5 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsx("div",{className:"min-w-0 flex-1",children:r.jsx("p",{className:"text-[12px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight",children:e.label})}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 transition-opacity shrink-0"})]},e.label)})})]}),r.jsx(wt,{primaryLabel:"Book a Personalised Demo",primaryHref:"/demo",secondaryLabel:"Rubiscape Watch Live",secondaryHref:"/videos",secondaryIcon:Fr,noTrusted:!0})]})})}const Ji=[{label:"Enterprise",href:"/learn/paths?segment=b2b",desc:"AI cohorts & team certifications",color:"#1A6FE8",icon:Wt},{label:"Government & Public Sector",href:"/learn/paths?segment=b2g",desc:"Compliance-aware AI literacy",color:"#2AA0BF",icon:Js},{label:"Academia",href:"/learn/paths?segment=b2a",desc:"School · UG · PG programs",color:"#497FB6",icon:Yt},{label:"AI Practitioners",href:"/learn/paths?segment=b2c",desc:"Beginner to AI practitioner",color:"#F69F27",icon:Ks}];function oc({isOpen:t}){return r.jsx(ct,{isOpen:t,width:"w-[1280px]",children:r.jsxs("div",{className:"grid grid-cols-12 gap-0",children:[r.jsxs("div",{className:"col-span-3 px-4 py-3 border-r border-[var(--rubi-border)] flex flex-col",style:{background:"rgba(11, 16, 21, 0.85)"},children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Rubiversity Data Academy"}),r.jsx("h3",{className:"font-display font-bold text-[13px] text-white leading-snug mb-2",children:"Build a Future-Ready Workforce"}),r.jsx("div",{className:"flex flex-col gap-0.5 mb-2",children:Ji.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2.5 py-1.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-6 h-6 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(s,{className:"w-3 h-3",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-semibold text-white leading-tight truncate",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]},e.label)})}),r.jsxs(I,{to:"/learn/labs",className:"flex items-center gap-2 p-2.5 rounded-xl border transition-colors group mt-auto",style:{background:"rgba(246,159,37,0.06)",borderColor:"rgba(246,159,37,0.3)"},children:[r.jsx("div",{className:"w-6 h-6 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.15)"},children:r.jsx(vt,{className:"w-3 h-3 text-[var(--rubi-electric)]"})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("span",{className:"block text-[12px] font-semibold text-[var(--rubi-text-primary)] group-hover:text-white leading-tight truncate",children:"Provision Your AI Lab or COE"}),r.jsx("span",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate block",children:"For universities, enterprise CoEs & govt agencies."})]})]})]}),r.jsxs("div",{className:"col-span-3 px-4 py-3 border-r border-[var(--rubi-border)]",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Learn & Get Certified"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-2 leading-tight",children:"Role-Based Learning Paths"}),r.jsx("div",{className:"flex flex-col gap-0.5 mb-2",children:Jr.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2.5 py-1.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-6 h-6 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(s,{className:"w-3 h-3",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-semibold text-white leading-tight truncate",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]},e.label)})}),r.jsx("p",{className:"text-[9px] font-bold uppercase tracking-widest text-[var(--rubi-text-muted)] px-1 mb-1",children:"Featured Courses"}),r.jsx("div",{className:"flex flex-col gap-0.5 mb-2",children:Zr.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2 py-1.5 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsx(s,{className:"w-3 h-3 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight truncate",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 transition-opacity shrink-0"})]},e.label)})}),r.jsxs("div",{className:"flex flex-col gap-2 pt-2 border-t border-[var(--rubi-border)]",children:[r.jsxs(I,{to:"/learn/rubiversity",className:"flex items-center gap-1.5 text-xs font-semibold text-[var(--rubi-electric)] hover:opacity-80 transition-opacity px-1",children:["Explore Rubiversity ",r.jsx(D,{className:"w-3 h-3"})]}),r.jsxs(I,{to:"/learn/partners",className:"flex items-center gap-1.5 text-xs font-medium text-[var(--rubi-text-secondary)] hover:text-white transition-colors px-1",children:["Partner with Us ",r.jsx(D,{className:"w-3 h-3"})]})]})]}),r.jsxs("div",{className:"col-span-3 px-4 py-3 border-r border-[var(--rubi-border)]",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Knowledge & Methods"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-2 leading-tight",children:"Glossary, Docs & Frameworks"}),r.jsx("div",{className:"flex flex-col gap-0.5 mb-2",children:Xr.map(e=>{const s=e.icon,i=r.jsxs("div",{className:"flex items-center gap-2 px-2 py-1.5 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsx(s,{className:"w-3 h-3 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsxs("p",{className:"text-[12px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight truncate flex items-center gap-1.5",children:[e.label,e.external&&r.jsx(ri,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-100 transition-opacity shrink-0"})]}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 transition-opacity shrink-0"})]});return e.external?r.jsx("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",children:i},e.label):r.jsx(I,{to:e.href,children:i},e.label)})}),r.jsxs(I,{to:"/resources/rubipedia",className:"flex items-center gap-1.5 text-xs font-semibold text-[var(--rubi-electric)] hover:opacity-80 transition-opacity px-1",children:["Open Rubipedia ",r.jsx(D,{className:"w-3 h-3"})]})]}),r.jsxs("div",{className:"col-span-3 px-4 py-3",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Resources & Community"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-2 leading-tight",children:"Research, Ideas & Events"}),r.jsxs(I,{to:"/insights",className:"flex items-center gap-2 px-2.5 py-1.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)] mb-1.5",children:[r.jsx("div",{className:"w-6 h-6 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(Ht,{className:"w-3 h-3 text-[var(--rubi-electric)]"})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-semibold text-white leading-tight truncate",children:"Insights Hub"}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:"Reports, guides, blogs and research."})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]}),r.jsx("div",{className:"flex flex-col gap-0.5 mb-1.5",children:es.slice(1).map(e=>{const s=e.icon,i=r.jsxs("div",{className:"flex items-center gap-2 px-2 py-1.5 rounded-lg hover:bg-white/5 transition-colors group",children:[r.jsx(s,{className:"w-3 h-3 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsx("p",{className:"text-[11px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight truncate",children:e.label})]});return e.external?r.jsx("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",children:i},e.label):r.jsx(I,{to:e.href,children:i},e.label)})}),r.jsxs(I,{to:"/insights",className:"flex items-center gap-1 text-[11px] font-medium text-[var(--rubi-electric)] hover:opacity-80 transition-opacity px-2",children:["View all resources ",r.jsx(D,{className:"w-3 h-3"})]})]}),r.jsx(wt,{primaryLabel:"Start Learning Free",primaryHref:"/learn/rubiversity"})]})})}function or({title:t,links:e,tier:s="T1"}){return r.jsxs("div",{className:"flex flex-col gap-0.5",children:[r.jsx("p",{className:"text-[10px] font-bold uppercase tracking-[0.15em] text-[var(--rubi-electric)] px-2 mb-2",children:t}),e.map(i=>{const n=i.icon;return s==="T1"?r.jsxs(I,{to:i.href,className:"flex items-center gap-2.5 px-3 py-2.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(n,{className:"w-3.5 h-3.5",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[13px] font-semibold text-white leading-tight",children:i.label}),r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)] mt-0.5 leading-tight",children:i.desc})]}),r.jsx(D,{className:"w-3.5 h-3.5 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]},i.label):r.jsxs(I,{to:i.href,className:"flex items-center gap-2.5 px-2 py-2 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsx(n,{className:"w-3.5 h-3.5 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight",children:i.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] mt-0.5 leading-tight",children:i.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 transition-opacity shrink-0"})]},i.label)})]})}function lc({isOpen:t}){return r.jsx(ct,{isOpen:t,width:"w-[960px]",children:r.jsxs("div",{className:"grid grid-cols-12 gap-0",children:[r.jsx("div",{className:"col-span-full p-5",children:r.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[r.jsx(or,{title:"The Opportunity",links:Yi,tier:"T1"}),r.jsx(or,{title:"Partnership Models",links:qi,tier:"T1"}),r.jsx(or,{title:"Tiers & Enablement",links:Ki,tier:"T2"})]})}),r.jsx(wt,{primaryLabel:"View Rubiscape Partner Cloud",primaryHref:"https://partner.rubiscape.com",primaryExternal:!0,secondaryLabel:"Become a Partner",secondaryHref:"https://partner.rubiscape.com/register",secondaryExternal:!0,noTrusted:!0})]})})}function cc({isOpen:t}){return r.jsx(ct,{isOpen:t,width:"w-[1080px]",children:r.jsxs("div",{className:"grid grid-cols-12 gap-0",children:[r.jsxs("div",{className:"col-span-3 px-4 py-3 border-r border-[var(--rubi-border)] flex flex-col",style:{background:"rgba(11, 16, 21, 0.85)"},children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"About Rubiscape"}),r.jsx("p",{className:"text-sm font-bold text-white mb-2 leading-tight",children:"Building the Future of Decision Intelligence"}),r.jsx("div",{className:"flex flex-col gap-0.5",children:ts.filter(e=>e.label!=="Contact Us").map(e=>{const s=e.icon;return e.label==="Our Story"?r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2.5 py-1.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-6 h-6 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(s,{className:"w-3 h-3",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-semibold text-white leading-tight truncate",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]},e.label):r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2 py-1.5 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsx(s,{className:"w-3 h-3 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight truncate",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 transition-opacity shrink-0"})]},e.label)})})]}),r.jsxs("div",{className:"col-span-6 px-4 py-3 border-r border-[var(--rubi-border)]",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Rubiscape Labs"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-2 leading-tight",children:"Future Tech Lab. Strategic Sectors."}),r.jsx("div",{className:"grid grid-cols-2 gap-0.5 mb-2",children:rs.map(e=>{const s=e.icon;return r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2 py-1.5 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsx(s,{className:"w-3 h-3 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight truncate",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 transition-opacity shrink-0"})]},e.label)})}),r.jsxs(I,{to:"/learn/labs",className:"flex items-center gap-2 p-2.5 rounded-xl border transition-colors group",style:{background:"rgba(246,159,37,0.06)",borderColor:"rgba(246,159,37,0.3)"},children:[r.jsx("div",{className:"w-6 h-6 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.15)"},children:r.jsx(Qe,{className:"w-3 h-3 text-[var(--rubi-electric)]"})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("span",{className:"block text-[12px] font-semibold text-[var(--rubi-tex
178t-primary)] group-hover:text-white leading-tight truncate",children:"Explore Rubiscape Labs"}),r.jsx("span",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate block",children:"Future tech research: Quantum AI, Agentic systems & LLMs."})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-electric)] opacity-0 group-hover:opacity-100 transition-opacity shrink-0"})]})]}),r.jsxs("div",{className:"col-span-3 px-4 py-3",children:[r.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-electric)] mb-1",children:"Careers"}),r.jsx("p",{className:"text-sm font-bold text-[var(--rubi-text-primary)] mb-2 leading-tight",children:"Build the AI Platform of the Next Decade"}),r.jsx("div",{className:"flex flex-col gap-0.5 mb-2",children:ss.map((e,s)=>{const i=e.icon;return s===0?r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2.5 py-1.5 rounded-xl transition-colors group border-l-2 border-transparent hover:border-[var(--rubi-electric)] hover:bg-[rgba(246,159,37,0.06)]",children:[r.jsx("div",{className:"w-6 h-6 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.12)"},children:r.jsx(i,{className:"w-3 h-3",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-semibold text-white leading-tight truncate",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-electric)] opacity-70 group-hover:opacity-100 transition-opacity shrink-0"})]},e.label):r.jsxs(I,{to:e.href,className:"flex items-center gap-2 px-2 py-1.5 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsx(i,{className:"w-3 h-3 shrink-0",style:{color:"rgba(246,159,37,0.6)"}}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight truncate",children:e.label}),r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight truncate",children:e.desc})]}),r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 transition-opacity shrink-0"})]},e.label)})})]}),r.jsx(wt,{primaryLabel:"Contact Sales",primaryHref:"/contact",secondaryLabel:"Apply Now",secondaryHref:Qi,secondaryExternal:!0})]})})}const uc=[{label:"Why Rubiscape",href:"/why-rubiscape",menu:"why"},{label:"Platform",href:"/platform",menu:"platform"},{label:"Solutions",href:"/solutions",menu:"solutions"},{label:"Learn",href:"/learn",menu:"learn"},{label:"Pricing",href:"/pricing"},{label:"Partners",href:"/partners",menu:"partners"},{label:"About",href:"/about",menu:"company"}],dc={why:ic,solutions:ac,platform:nc,learn:oc,partners:lc,company:cc},hc=[...Ur.map(t=>({label:`${t.label} ${t.rubiName}`,href:t.href,category:"Platform"})),...Gr.map(t=>({label:t.label,href:t.href,category:"Platform"})),...Wr.map(t=>({label:t.label,href:t.href,category:"Why Rubiscape"})),...Hr.map(t=>({label:t.label,href:t.href,category:"Why Rubiscape"})),...Qr.map(t=>({label:t.label,href:t.href,category:"Why Rubiscape"})),...Gt.map(t=>({label:t.label,href:t.href,category:"Why Rubiscape"})),...Yr.map(t=>({label:t.label,href:t.href,category:"Solutions"})),...qr.map(t=>({label:t.label,href:t.href,category:"Solutions"})),...sc.map(t=>({label:t.label,href:t.href,category:"Solutions"})),...Kr.map(t=>({label:t.label,href:t.href,category:"Solutions"})),...Jr.map(t=>({label:t.label,href:t.href,category:"Learn"})),...Zr.map(t=>({label:t.label,href:t.href,category:"Learn"})),...Xr.map(t=>({label:t.label,href:t.href,category:"Learn"})),...es.map(t=>({label:t.label,href:t.href,category:"Learn"})),...ts.map(t=>({label:t.label,href:t.href,category:"Company"})),...rs.map(t=>({label:t.label,href:t.href,category:"Company"})),...ss.map(t=>({label:t.label,href:t.href,category:"Company"})),{label:"Pricing",href:"/pricing",category:"Pricing"},{label:"Partners",href:"/partners",category:"Partners"},{label:"Free Trial",href:"/trial",category:"Company"},{label:"Book a Demo",href:"/demo",category:"Company"},{label:"AI Labs & COE",href:"/learn/labs",category:"Learn"},{label:"Learning Sandbox",href:"/learn/paths",category:"Learn"}];function pc({item:t}){const[e,s]=u.useState(!1),i=t.icon;return r.jsxs(I,{to:t.href,className:"flex items-center gap-2 px-2.5 py-1.5 rounded-xl transition-colors group border-l-2",style:{borderColor:e?t.color:"transparent",background:e?`${t.color}0F`:"transparent"},onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:[r.jsx("div",{className:"w-6 h-6 rounded-md flex items-center justify-center shrink-0 transition-all",style:{background:`${t.color}${e?"30":"1F"}`,border:`1px solid ${t.color}40`},children:r.jsx(i,{className:"w-3 h-3",style:{color:t.color}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-[12px] font-semibold text-white leading-tight truncate",children:t.label}),t.desc&&r.jsx("p",{className:"text-[10px] text-[var(--rubi-text-muted)] leading-tight mt-0.5",children:t.desc})]})]})}function mc(){const[t,e]=u.useState(!1),[s,i]=u.useState(!1),[n,a]=u.useState(null),[o,l]=u.useState(""),c=He(),h=c.pathname==="/",d=c.pathname.startsWith("/portal"),{user:p,status:x,logout:m}=Hi(),N=()=>m(),v=u.useMemo(()=>new ve(hc,{keys:["label","category"],threshold:.35}),[]),w=u.useMemo(()=>o.trim()?v.search(o).map(j=>j.item):[],[v,o]);return u.useEffect(()=>{const j=()=>e(window.scrollY>30);return window.addEventListener("scroll",j,{passive:!0}),()=>window.removeEventListener("scroll",j)},[]),u.useEffect(()=>{i(!1),a(null),l("")},[c.pathname]),u.useEffect(()=>(s?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[s]),r.jsxs(r.Fragment,{children:[r.jsx("header",{className:de("fixed top-0 left-0 right-0 z-40 transition-all duration-300",t||!h?"shadow-lg shadow-black/20 border-b border-[var(--rubi-border)]":"bg-transparent"),style:t||!h?{background:"rgba(15,20,27,0.92)",backdropFilter:"blur(20px)"}:{},children:r.jsxs("nav",{className:"max-w-7xl mx-auto px-4 sm:px-6 flex items-center justify-between h-16 relative",children:[r.jsx(I,{to:"/",className:"flex items-center shrink-0 mr-2","aria-label":"Rubiscape home",children:r.jsx("img",{src:"/assets/logos/rubiscape light favicon.png",alt:"Rubiscape",className:"h-8 w-auto"})}),r.jsx("div",{className:"hidden lg:flex items-center gap-0.5",children:uc.map(j=>{const F="menu"in j?j.menu:null,k="href"in j&&j.href,_=n===F,M=F?dc[F]:null;return k&&!F?r.jsx(I,{to:j.href,className:de("px-3.5 py-2 rounded-full text-sm font-medium transition-colors",c.pathname.startsWith(j.href)?"text-white bg-white/8":"text-[var(--rubi-text-secondary)] hover:text-white hover:bg-white/5"),children:j.label},j.label):k&&F?r.jsxs("div",{onMouseEnter:()=>a(F),onMouseLeave:()=>a(null),children:[r.jsxs(I,{to:j.href,className:de("flex items-center gap-1 px-3.5 py-2 rounded-full text-sm font-medium transition-colors",_?"text-white bg-[var(--rubi-electric)]/20":c.pathname.startsWith(j.href)?"text-white bg-white/8":"text-[var(--rubi-text-secondary)] hover:text-white hover:bg-white/5"),children:[j.label,r.jsx(cr,{className:de("w-3.5 h-3.5 transition-transform duration-200",_&&"rotate-180")}
178)]}),M&&r.jsx(M,{isOpen:_})]},j.label):r.jsxs("div",{onMouseEnter:()=>a(F),onMouseLeave:()=>a(null),children:[r.jsxs("button",{className:de("flex items-center gap-1 px-3.5 py-2 rounded-full text-sm font-medium transition-colors",_?"text-white bg-[var(--rubi-electric)]/20":"text-[var(--rubi-text-secondary)] hover:text-white hover:bg-white/5"),children:[j.label,r.jsx(cr,{className:de("w-3.5 h-3.5 transition-transform duration-200",_&&"rotate-180")})]}),M&&r.jsx(M,{isOpen:_})]},j.label)})}),r.jsxs("div",{className:"hidden lg:flex items-center gap-2 shrink-0",children:[r.jsx("span",{className:"mr-2",children:r.jsx(Jl,{})}),!d&&x!=="authenticated"&&r.jsx("a",{href:"https://accounts.rubiscape.com/realms/SSO/protocol/openid-connect/auth?client_id=rubiscape&scope=openid&redirect_uri=https%3A%2F%2Fwww.rubiscape.com%2Flogin&response_type=code&state=eyI2MTcwNzA2ZTYxNmQ2NSI6eyJWIjoiNmI2NTc5NjM2YzZmNjE2YiIsIkgiOiI5NDAwMzk0N2IxN2JiODVmNGI4YzkzMjkxNDE5YzQ3NCJ9LCI3MjY1NjQ2OTcyNjU2Mzc0NWY3NTcyNjkiOnsiViI6IjY4NzQ3NDcwNzMzYTJmMmY3Nzc3NzcyZTcyNzU2MjY5NzM2MzYxNzA2NTJlNjM2ZjZkMmY3NzcwMmQ2MTY0NmQ2OTZlMmYiLCJIIjoiMDc3NDJlMDc4MDUzYTUxOTlkNTdlNmFjOTllY2JlOTYifSwiNzM3NDYxNzQ2NTVmNmU2ZjZlNjM2NSI6eyJWIjoiNjUzNDY0NjEzMzYyMzc2NjYyNjI2MzY1MzIzMzM0MzU2NDM3MzczNzMyNjIzMDM2MzczNDYxMzMzMTM4NjQzNSIsIkgiOiJiNWVmYWFmMDM1NTg3MWQ5MGE0YmZlMmExODA1ZjdhNSJ9LCI3NTY5NjQiOnsiViI6IjQ0NDYzODU2NGI0YTRmMzU0NjQ0NDg1YTQxNTI0MjUyMzU1YTQ0NTMzMjU2MzU0YTM2MzY1NTMyNGU0NDUyIiwiSCI6IjhhNTc5ZDdjODRjOTg0ZDVhODBmNGM2YjhmMGQ0NjljIn19",children:r.jsx(pe,{variant:"ghost",size:"sm",className:"text-sm",children:"Log In"})}),!d&&r.jsx(I,{to:"/demo",children:r.jsx(pe,{variant:"primary",size:"sm",restGlow:!0,className:"text-sm",children:"Book a Free Demo â"})}),x==="authenticated"&&r.jsxs(r.Fragment,{children:[r.jsxs(I,{to:"/portal/profile",className:"flex items-center gap-2 px-3 py-1.5 rounded-full text-sm font-medium text-[var(--rubi-text-secondary)] hover:text-white hover:bg-white/5 transition-colors",children:[r.jsx(An,{className:"w-4 h-4 shrink-0"}),r.jsx("span",{className:"max-w-[12rem] truncate",children:p?`${p.firstName} ${p.lastName}`:"Profile"})]}),r.jsxs("button",{onClick:N,"aria-label":"Log out",className:"flex items-center gap-1.5 px-3 py-1.5 rounded-full text-sm font-medium text-[var(--rubi-text-secondary)] hover:text-white hover:bg-white/5 transition-colors",children:[r.jsx(En,{className:"w-4 h-4 shrink-0"})," Log out"]})]})]}),r.jsx("button",{className:"lg:hidden p-2 rounded-lg text-[var(--rubi-text-secondary)] hover:text-white hover:bg-white/5 transition-colors",onClick:()=>i(!s),"aria-label":s?"Close menu":"Open menu",children:s?r.jsx(us,{className:"w-5 h-5"}):r.jsx(Nn,{className:"w-5 h-5"})})]})}),r.jsx(Jt,{children:s&&r.jsxs(dt.div,{initial:{opacity:0,x:"100%"},animate:{opacity:1,x:"0%"},exit:{opacity:0,x:"100%"},transition:{type:"tween",duration:.25},className:"fixed inset-0 z-30 flex flex-col pt-16 touch-none",style:{background:"rgba(15,20,27,0.98)",backdropFilter:"blur(20px)"},children:[r.jsx("div",{className:"px-4 pt-4 pb-3 border-b border-[var(--rubi-border)]",children:r.jsxs("div",{className:"relative",children:[r.jsx(kr,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-[var(--rubi-text-muted)]"}),r.jsx("input",{type:"search",placeholder:"Search platform, solutions, resourcesâ¦",value:o,onChange:j=>l(j.target.value),className:"w-full pl-10 pr-4 py-3 rounded-xl text-white placeholder-[var(--rubi-text-muted)] outline-none focus:ring-1 focus:ring-[var(--rubi-electric)]",style:{background:"rgba(255,255,255,0.06)",border:"1px solid var(--rubi-border)",fontSize:"16px"}}),o&&r.jsx("button",{onClick:()=>l(""),className:"absolute right-3 top-1/2 -translate-y-1/2 text-[var(--rubi-text-muted)] hover:text-white",children:r.jsx(us,{className:"w-4 h-4"})})]})}),r.jsxs("div",{className:"flex-1 overflow-y-auto overscroll-contain touch-auto px-4 py-4",children:[o&&r.jsxs("div",{className:"space-y-1 mb-4",children:[r.jsxs("p",{className:"text-[10px] font-semibold uppercase tracking-widest text-[var(--rubi-text-muted)] px-2 mb-2",children:[w.length," result",w.length!==1?"s":""]}),w.length===0&&r.jsxs("p",{className:"text-sm text-[var(--rubi-text-muted)] px-2 py-4 text-center",children:['No results for "',o,'"']}),w.map(j=>r.jsxs(I,{to:j.href,className:"flex items-center justify-between px-3 py-2.5 rounded-xl hover:bg-white/5 transition-colors group",children:[r.jsxs("div",{children:[r.jsx("span",{className:"text-sm text-white block",children:j.label}),r.jsx("span",{className:"text-[10px] text-[var(--rubi-text-muted)]",children:j.category})]}),r.jsx(D,{className:"w-3.5 h-3.5 text-[var(--rubi-text-muted)] group-hover:text-[var(--rubi-electric)] transition-colors"})]},j.href+j.label))]}),!o&&r.jsx(fc,{})]})]})})]})}function Ke({label:t,isOpen:e,onToggle:s,children:i}){return r.jsxs("div",{className:"border-b border-[var(--rubi-border)]",children:[r.jsxs("button",{onClick:s,className:"w-full flex items-center justify-between px-3 py-3.5 text-[var(--rubi-text-primary)] font-semibold text-sm hover:text-white transition-colors",children:[t,r.jsx(cr,{className:de("w-4 h-4 text-[var(--rubi-text-muted)] transition-transform duration-200",e&&"rotate-180")}
178)]}),r.jsx(Jt,{initial:!1,children:e&&r.jsx(dt.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:r.jsx("div",{className:"pb-3 px-2 space-y-3",children:i})},"content")})]})}function B({title:t,links:e}){return r.jsxs("div",{children:[r.jsx("p",{className:"text-[10px] font-bold uppercase tracking-widest px-2 mb-1",style:{color:"var(--rubi-electric)"},children:t}),r.jsx("div",{className:"space-y-0.5",children:e.map(s=>{const i=s.icon,n=r.jsxs("div",{className:"flex items-center gap-2.5 px-2 py-2 rounded-xl hover:bg-white/5 transition-colors group",children:[i&&r.jsx("div",{className:"w-6 h-6 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(246,159,37,0.10)"},children:r.jsx(i,{className:"w-3 h-3",style:{color:"var(--rubi-electric)"}})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("p",{className:"text-sm font-medium text-[var(--rubi-text-secondary)] group-hover:text-white leading-tight",children:s.label}),s.desc&&r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)] leading-tight mt-0.5 truncate",children:s.desc})]}),s.external?r.jsx(ri,{className:"w-3 h-3 text-[var(--rubi-text-muted)] shrink-0"}):r.jsx(D,{className:"w-3 h-3 text-[var(--rubi-text-muted)] opacity-0 group-hover:opacity-60 shrink-0"})]});return s.external?r.jsx("a",{href:s.href,target:"_blank",rel:"noopener noreferrer",children:n},s.href+s.label):r.jsx(I,{to:s.href,children:n},s.href+s.label)})})]})}function Je({primary:t,primaryHref:e,primaryExternal:s,secondary:i,secondaryHref:n,secondaryExternal:a}){const o="flex items-center justify-center gap-1.5 w-full px-3 py-2 rounded-xl text-sm font-medium text-[var(--rubi-text-primary)] border border-[var(--rubi-border)] hover:bg-white/5 transition-colors";return r.jsxs("div",{className:"flex flex-col gap-2 pt-2 border-t border-[var(--rubi-border)]",children:[i&&n&&(a?r.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:o,children:i}):r.jsx(I,{to:n,className:o,children:i})),s?r.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"w-full",children:r.jsxs(pe,{variant:"primary",size:"sm",className:"w-full justify-center",children:[t," â"]})}):r.jsx(I,{to:e,children:r.jsxs(pe,{variant:"primary",size:"sm",className:"w-full justify-center",children:[t," â"]})})]})}function fc(){const[t,e]=u.useState(null),s=a=>e(o=>o===a?null:a),i={label:"Experience Rubiscape Live Demo",href:"/Xperience",icon:Kt,desc:"See all six studios in action, no login required."},n=[{label:"Calculate ROI",href:"/resources/roi-calculator",icon:gt,desc:"Stack cost vs. unified Rubiscape deploy."},{label:"Impact Stories",href:"/insights/customer-stories",icon:We,desc:"Real deployments, real numbers."},{label:"Watch & Learn",href:"/videos",icon:Fr,desc:"Webinars, workshops and demos."}];return r.jsxs("div",{children:[r.jsxs(Ke,{label:"Why Rubiscape",isOpen:t==="why",onToggle:()=>s("why"),children:[r.jsx(B,{title:"The Problem We Solve",links:Wr}),r.jsx(B,{title:"Value Pillars",links:Hr}),r.jsx(B,{title:"Co-exist & Co-create",links:Qr}),r.jsx(B,{title:"Impact Stories",links:Gt}),r.jsx(Je,{primary:"Measure AI Readiness",primaryHref:"/resources/assessment",secondary:"Book a Demo",secondaryHref:"/demo"})]}),r.jsxs(Ke,{label:"Platform",isOpen:t==="platform",onToggle:()=>s("platform"),children:[r.jsx(B,{title:"Platform",links:[...Gr,i]}),r.jsx(B,{title:"Six Studios â One Intelligence OS",links:Ur.map(a=>({label:`${a.rubiName} · ${a.label}`,href:a.href,desc:a.desc}))}),r.jsx(B,{title:"Impact Stories",links:Gt}),r.jsx(Je,{primary:"Book a Demo",primaryHref:"/demo",secondary:"Platform Overview",secondaryHref:"/platform"})]}),r.jsxs(Ke,{label:"Solutions",isOpen:t==="solutions",onToggle:()=>s("solutions"),children:[r.jsx(B,{title:"By Role",links:Yr}),r.jsx(B,{title:"By Industry",links:qr}),r.jsx(B,{title:"Use Case Accelerators",links:Kr}),r.jsx(B,{title:"Proof",links:n}),r.jsx(Je,{primary:"Book a Personalised Demo",primaryHref:"/demo",secondary:"Watch Live",secondaryHref:"/videos"})]}),r.jsxs(Ke,{label:"Learn",isOpen:t==="learn",onToggle:()=>s("learn"),children:[r.jsx(B,{title:"Rubiversity Data Academy",links:[...Ji,{label:"Provision Your AI Lab or COE",href:"/learn/labs",icon:vt,desc:"For universities, enterprise CoEs & govt agencies."}]}),r.jsx(B,{title:"Learn & Get Certified",links:[...Jr,...Zr]}),r.jsx(B,{title:"Knowledge & Methods",links:Xr}),r.jsx(B,{title:"Resources & Community",links:es}),r.jsx(Je,{primary:"Start Learning Free",primaryHref:"/learn/rubiversity",secondary:"Book Platform Demo",secondaryHref:"/demo"})]}),r.jsxs(I,{to:"/pricing",className:"flex items-center justify-between px-3 py-3.5 text-sm font-semibold text-[var(--rubi-text-primary)] hover:text-white border-b border-[var(--rubi-border)] transition-colors",children:["Pricing ",r.jsx(D,{className:"w-3.5 h-3.5 text-[var(--rubi-text-muted)]"})]}),r.jsxs(Ke,{label:"Partners",isOpen:t==="partners",onToggle:()=>s("partners"),children:[r.jsx(B,{title:"The Opportunity",links:Yi}),r.jsx(B,{title:"Partnership Models",links:qi}),r.jsx(B,{title:"Tiers & Enablement",links:Ki}),r.jsx(Je,{primary:"View Rubiscape Partner Cloud",primaryHref:"https://partner.rubiscape.com",primaryExternal:!0,secondary:"Become a Partner",secondaryHref:"https://partner.rubiscape.com/register",secondaryExternal:!0})]}),r.jsxs(Ke,{label:"About",isOpen:t==="company",onToggle:()=>s("company"),children:[r.jsx(B,{title:"About Rubiscape",links:ts.filter(a=>a.label!=="Contact Us")}),r.jsx(B,{title:"Rubiscape Labs",links:[...rs,{label:"Explore Rubiscape Labs",href:"/learn/labs",icon:Qe,desc:"Future tech research: Quantum AI, Agentic & LLMs."}]}),r.jsx(B,{title:"Careers",links:ss}),r.jsx(Je,{primary:"Book a Demo",primaryHref:"/demo",secondary:"Contact Sales",secondaryHref:"/contact"})]}),r.jsxs("div",{className:"pt-5 pb-8 flex flex-col gap-3",children:[r.jsxs("a",{href:Qi,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-1.5 w-full px-3 py-2.5 rounded-xl text-sm font-medium text-[var(--rubi-text-primary)] border border-[var(--rubi-border)] hover:bg-white/5 transition-colors",children:["View Open Positions ",r.jsx(D,{className:"w-3.5 h-3.5"})]}),r.jsx(I,{to:"/trial",children:r.jsx(pe,{variant:"primary",className:"w-full justify-center",children:"Start Your 7-Day Free Trial â"})})]})]})}function xc({children:t,className:e,color:s="#F69F25"}){const i=parseInt(s.slice(1,3),16),n=parseInt(s.slice(3,5),16),a=parseInt(s.slice(5,7),16);return r.jsx("div",{className:de("inline-flex justify-center mb-4",e),children:r.jsxs("span",{className:"section-label-pill relative inline-flex items-center gap-2 px-4 py-1.5 rounded-xl text-[11px] font-semibold tracking-widest uppercase",style:{background:"none",color:s,border:`1px solid rgba(${i},${n},${a},0.18)`,boxShadow:`0 -2px 8px 0 rgba(${i},${n},${a},0.06) inset`},children:[r.jsx("span",{className:"section-label-arc absolute inset-x-4 top-0 h-px rounded-full",style:{background:`linear-gradient(90deg, transparent, rgba(${i},${n},${a},0.55), transparent)`},"aria-hidden":"true"}),r.jsx("span",{className:"section-label-dot w-1 h-1 rounded-full shrink-0",style:{background:s,boxShadow:`0 0 4px 1px rgba(${i},${n},${a},0.4)`},"aria-hidden":"true"}),t]})})}function bc({className:t}
178){return r.jsxs("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:[r.jsx("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),r.jsx("rect",{x:"2",y:"9",width:"4",height:"12"}),r.jsx("circle",{cx:"4",cy:"4",r:"2"})]})}function gc({className:t}){return r.jsx("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:r.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}function yc({className:t}){return r.jsx("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:r.jsx("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.95-1.96C18.88 4 12 4 12 4s-6.88 0-8.59.46a2.78 2.78 0 0 0-1.95 1.96A29 29 0 0 0 1 12a29 29 0 0 0 .46 5.58A2.78 2.78 0 0 0 3.41 19.54C5.12 20 12 20 12 20s6.88 0 8.59-.46a2.78 2.78 0 0 0 1.95-1.96A29 29 0 0 0 23 12a29 29 0 0 0-.46-5.58zM9.75 15.02V8.98L15.5 12z"})})}function vc({className:t}){return r.jsxs("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:[r.jsx("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5",fill:"none",stroke:"currentColor",strokeWidth:"2"}),r.jsx("circle",{cx:"12",cy:"12",r:"4",fill:"none",stroke:"currentColor",strokeWidth:"2"}),r.jsx("circle",{cx:"17.5",cy:"6.5",r:"1.5"})]})}function jc({className:t}){return r.jsxs("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:[r.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z"}),r.jsx("path",{d:"M12 0C5.373 0 0 5.373 0 12c0 2.134.558 4.135 1.535 5.873L.057 23.929l6.204-1.626A11.934 11.934 0 0 0 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm0 21.818a9.808 9.808 0 0 1-5.001-1.37l-.359-.214-3.722.976.994-3.63-.234-.374A9.786 9.786 0 0 1 2.182 12c0-5.424 4.394-9.818 9.818-9.818 5.424 0 9.818 4.394 9.818 9.818 0 5.424-4.394 9.818-9.818 9.818z"})]})}const wc=[{label:"Platform Overview",href:"/platform",color:void 0},{label:"Architecture",href:"/platform/architecture",color:void 0},{label:"RubiFlow â Data Foundation",href:"/platform/rubiflow",color:"#5FBF92"},{label:"RubiStudio â Intelligence",href:"/platform/rubistudio",color:"#497FB6"},{label:"RubiSight â Insights & BI",href:"/platform/rubisight",color:"#F69F27"},{label:"RubiAI â Decision Copilot",href:"/platform/rubi-ai",color:"#9DABE0"},{label:"RubiThings â IoT Analytics",href:"/platform/rubi-things",color:"#2AA0BF"},{label:"Deployment Options",href:"/platform/deployment",color:void 0},{label:"Professional Services",href:"/professional-services",color:void 0},{label:"Product Roadmap",href:"/platform/roadmap",color:void 0}],_c=[{label:"Use Case Accelerators",href:"/solutions/use-cases"},{label:"Banking & BFSI",href:"/solutions/banking"},{label:"Manufacturing",href:"/solutions/manufacturing"},{label:"Healthcare",href:"/solutions/healthcare"},{label:"Public Sector & Government",href:"/solutions/government"},{label:"Energy & Utilities",href:"/solutions/energy"},{label:"Telecom",href:"/solutions/telecom"},{label:"For CXOs & CDOs",href:"/solutions/for-cxos"},{label:"For Data Scientists",href:"/solutions/for-data-scientists"},{label:"For Data Engineers",href:"/solutions/for-data-engineers"},{label:"For Analysts",href:"/solutions/for-analysts"},{label:"For IT & Security",href:"/solutions/for-it"}],Ac=[{label:"Why Rubiscape",href:"/why-rubiscape"},{label:"About Us",href:"/about"},{label:"Partner Programme",href:"/partners"},{label:"Newsroom",href:"/newsroom"},{label:"Careers",href:"https://careers.rubiscape.com/jobs/Careers"},{label:"Contact Us",href:"/contact"},{label:"Insights Hub",href:"/insights"},{label:"Rubiversity",href:"/learn/rubiversity"},{label:"Community",href:"/community"},{label:"Events",href:"/events"},{label:"Pricing",href:"/pricing"}],Ec=[{label:"ISO 27001",sublabel:"Certified",color:"#2AA0BF",icon:Pr},{label:"CERT-IN",sublabel:"Registered",color:"#F69F27",icon:We},{label:"GeM OEM",sublabel:"Empanelled",color:"#5FBF92",icon:lt},{label:"Made in India",sublabel:"DIPP Certified",color:"#FF9933",icon:Fn}
178],Os="zcSignupFrame";function Nc(){const[t,e]=u.useState(""),[s,i]=u.useState(!1),n=a=>{if(!t||!t.includes("@")){a.preventDefault();return}i(!0),window.setTimeout(()=>{oo.success("You're on the list! Expect Decision Intelligence insights weekly."),e(""),i(!1)},1200)};return r.jsxs("form",{onSubmit:n,action:"https://zlvm-zgpc.maillist-manage.in/weboptin.zc",method:"POST",target:Os,className:"space-y-2",children:[r.jsx("iframe",{name:Os,title:"Newsletter signup response",className:"hidden"}),r.jsx("input",{type:"hidden",name:"submitType",value:"optinCustomView"}),r.jsx("input",{type:"hidden",name:"emailReportId",value:""}),r.jsx("input",{type:"hidden",name:"formType",value:"QuickForm"}),r.jsx("input",{type:"hidden",name:"zx",value:"1dfa19bc9c"}),r.jsx("input",{type:"hidden",name:"zcvers",value:"2.0"}),r.jsx("input",{type:"hidden",name:"oldListIds",value:""}),r.jsx("input",{type:"hidden",name:"mode",value:"OptinCreateView"}),r.jsx("input",{type:"hidden",name:"zcld",value:"12bc344f8ed673f9"}),r.jsx("input",{type:"hidden",name:"zctd",value:"12bc344f8ec86a49"}),r.jsx("input",{type:"hidden",name:"document_domain",value:""}),r.jsx("input",{type:"hidden",name:"zc_Url",value:"zlvm-zgpc.maillist-manage.in"}),r.jsx("input",{type:"hidden",name:"new_optin_response_in",value:"0"}),r.jsx("input",{type:"hidden",name:"duplicate_optin_response_in",value:"0"}),r.jsx("input",{type:"hidden",name:"zc_trackCode",value:"ZCFORMVIEW"}),r.jsx("input",{type:"hidden",name:"zc_formIx",value:"3z61ea61eb5f3892548f20a465622fbb1f041c42561e9f55b57a444b9caff3d933"}),r.jsx("p",{className:"text-xs font-semibold text-[var(--rubi-text-secondary)] uppercase tracking-wider",children:"Weekly Decision Intelligence Digest"}),r.jsxs("div",{className:"flex gap-2",children:[r.jsx("input",{type:"email",name:"CONTACT_EMAIL",value:t,onChange:a=>e(a.target.value),placeholder:"Work email","aria-label":"Email for newsletter",required:!0,className:"flex-1 px-3 py-2.5 rounded-lg text-sm text-[var(--rubi-text-primary)] placeholder-[var(--rubi-text-muted)] focus:outline-none focus:border-[var(--rubi-electric)] transition-colors",style:{background:"var(--rubi-surface)",border:"1px solid var(--rubi-border)"}}),r.jsxs("button",{type:"submit",disabled:s,className:"px-3 py-2.5 rounded-lg bg-[var(--rubi-electric)] text-white hover:bg-[var(--rubi-electric-hover)] disabled:opacity-60 transition-colors flex items-center gap-1.5 text-xs font-semibold shrink-0","aria-label":"Subscribe",children:[r.jsx(ei,{className:"w-3.5 h-3.5"}),"Subscribe"]})]}),r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)]",children:"No spam. Unsubscribe anytime."})]})}function kc(){return r.jsxs("footer",{className:"relative overflow-hidden",style:{background:"var(--rubi-deep-navy)"},children:[r.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px)",backgroundSize:"28px 28px"}}),r.jsx("div",{className:"absolute top-0 left-0 w-[500px] h-[300px] pointer-events-none",style:{background:"radial-gradient(ellipse at top left, rgba(26,111,232,0.12) 0%, transparent 70%)"}}),r.jsx("div",{className:"absolute top-0 right-0 w-[400px] h-[250px] pointer-events-none",style:{background:"radial-gradient(ellipse at top right, rgba(95,191,146,0.08) 0%, transparent 70%)"}}),r.jsxs("div",{className:"relative border-b border-[var(--rubi-border)] overflow-hidden",children:[r.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(135deg, rgba(26,111,232,0.12) 0%, rgba(15,20,27,0) 50%, rgba(246,159,37,0.07) 100%)"}}),r.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px)",backgroundSize:"24px 24px"}}),r.jsx("div",{className:"absolute top-0 left-0 w-[600px] h-full pointer-events-none",style:{background:"radial-gradient(ellipse at left center, rgba(26,111,232,0.15) 0%, transparent 65%)"}}),r.jsx("div",{className:"absolute top-0 right-0 w-[400px] h-full pointer-events-none",style:{background:"radial-gradient(ellipse at right center, rgba(246,159,37,0.10) 0%, transparent 65%)"}}),r.jsxs("div",{className:"relative max-w-7xl mx-auto px-4 py-16 flex flex-col md:flex-row items-center justify-between gap-10",children:[r.jsxs("div",{className:"space-y-4 text-center md:text-left",children:[r.jsx(xc,{className:"justify-start",color:"#F69F25",children:"START YOUR JOURNEY"}),r.jsxs("h2",{className:"font-display font-bold text-3xl md:text-4xl text-white leading-tight",children:["From BI to AI â ",r.jsx("span",{className:"text-[var(--rubi-electric)]",children:"One Platform."})]}),r.jsx("p",{className:"text-sm text-[var(--rubi-text-muted)]",children:"Production-ready AI decisions in under 90 days · 5à lower TCO · Zero vendor lock-in."}),r.jsx("div",{className:"flex flex-wrap gap-3 justify-center md:justify-start pt-1",children:[{icon:In,label:"< 90 days to production"},{icon:Cn,label:"8 innovation patents"},{icon:lt,label:"200+ integrations"}].map(({icon:t,label:e})=>r.jsxs("div",{className:"flex items-center gap-1.5 text-[11px] text-[var(--rubi-text-muted)]",style:{border:"1px solid var(--rubi-border)",borderRadius:8,padding:"4px 10px",background:"var(--rubi-surface)"},children:[r.jsx(t,{className:"w-3 h-3 text-[var(--rubi-electric)]"}),e]},e))})]}),r.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 shrink-0 items-center",children:[r.jsx(I,{to:"/contact",children:r.jsx(pe,{variant:"primary",size:"md",children:"Contact Us â"})}),r.jsx(I,{to:"/demo",className:"flex items-center justify-center gap-2 px-7 py-[13px] rounded-full text-base font-semibold text-[var(--rubi-text-primary)] transition-colors hover:bg-white/5 whitespace-nowrap",style:{border:"1px solid var(--rubi-border)"},children:"Book a Personalised Demo"})]})]})]}),r.jsx("div",{className:"relative",children:r.jsx("div",{className:"max-w-7xl mx-auto px-4 py-14",children:r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12",children:[r.jsxs("div",{className:"space-y-5",children:[r.jsx(I,{to:"/","aria-label":"Rubiscape home",children:r.jsx("img",{src:"/assets/logos/logo-white.png",alt:"Rubiscape",className:"h-24 w-auto"})}),r.jsx("p",{className:"text-sm text-[var(--rubi-text-muted)] leading-relaxed font-medium",children:"From BI to AI â One Platform. Every Decision."}),r.jsx("p",{className:"text-xs text-[var(--rubi-text-muted)] italic",children:"Built in India. Made for the World."}),r.jsxs("div",{className:"space-y-2",children:[r.jsxs("div",{className:"flex items-center gap-2 text-xs text-[var(--rubi-text-muted)]",children:[r.jsx(Sn,{className:"w-3.5 h-3.5 shrink-0 text-[var(--rubi-electric)]"}),r.jsx("span",{children:"Pune, Maharashtra, India"})]}),r.jsxs("a",{href:"tel:+912069115600",className:"flex items-center gap-2 text-xs text-[var(--rubi-text-muted)] hover:text-white transition-colors",children:[r.jsx(Pn,{className:"w-3.5 h-3.5 shrink-0 text-[var(--rubi-electric)]"}),r.jsx("span",{children:"(020) 6911-5600"})]}),r.jsxs("a",{href:"https://wa.me/912069115600",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-xs text-[var(--rubi-text-muted)] hover:text-[#25D366] transition-colors",children:[r.jsx(jc,{className:"w-3.5 h-3.5 shrink-0 text-[#25D366]"}),r.jsx("span",{children:"WhatsApp"})]})]}),r.jsx(Nc,{}),r.jsx("div",{className:"flex flex-wrap gap-1.5",children:[{href:"https://linkedin.com/company/rubiscape",label:"LinkedIn",hoverColor:"#0A66C2",Icon:bc},{href:"https://twitter.com/rubiscape",label:"X",hoverColor:"#ffffff",Icon:gc},{href:"https://youtube.com/@rubiscape",label:"YouTube",hoverColor:"#FF0000",Icon:yc},{href:"https://instagram.com/rubiscape",label:"Instagram",hoverColor:"#E1306C",Icon:vc}].map(({href:t,label:e,Icon:s})=>r.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":e,className:"p-2.5 rounded-xl text-[var(--rubi-text-muted)] hover:text-white hover:bg-white/8 transition-colors",style:{border:"1px solid var(--rubi-border)"},children:r.jsx(s,{className:"w-4 h-4"})},e))})]}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xs font-bold uppercase tracking-widest text-[var(--rubi-electric)] mb-5",children:"Platform"}),r.jsx("ul",{className:"space-y-2.5",children:wc.map(t=>r.jsx("li",{children:r.jsxs(I,{to:t.href,className:"flex items-center gap-2 text-sm text-[var(--rubi-text-muted)] hover:text-white transition-colors group",children:[t.color&&r.jsx("span",{className:"w-1.5 h-1.5 rounded-full shrink-0 transition-transform group-hover:scale-125",style:{background:t.color}}),t.label]})},t.href))})]}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xs font-bold uppercase tracking-widest text-[var(--rubi-electric)] mb-5",children:"Solutions"}),r.jsx("ul",{className:"space-y-2.5",children:_c.map(t=>r.jsx("li",{children:r.jsx(I,{to:t.href,className:"text-sm text-[var(--rubi-text-muted)] hover:text-white transition-colors",children:t.label})},t.href))})]}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xs font-bold uppercase tracking-widest text-[var(--rubi-electric)] mb-5",children:"Company"}),r.jsx("ul",{className:"space-y-2.5",children:Ac.map(t=>r.jsx("li",{children:t.href.startsWith("http")?r.jsx("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-[var(--rubi-text-muted)] hover:text-white transition-colors",children:t.label}):r.jsx(I,{to:t.href,className:"text-sm text-[var(--rubi-text-muted)] hover:text-white transition-colors",children:t.label})},t.href))})]})]})})}),r.jsx("div",{className:"relative border-t border-[var(--rubi-border)]",children:r.jsx("div",{className:"max-w-7xl mx-auto px-4 py-6 space-y-2",children:r.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[r.jsxs("div",{className:"flex flex-col gap-2 text-center md:text-left",children:[r.jsxs("p",{className:"text-[11px] text-[var(--rubi-text-muted)]",children:["© 2026 Rubiscape / Inteliment Group. All rights reserved.  ",r.jsx(I,{to:"/privacy-policy",className:"hover:text-white transition-colors",children:"Privacy Policy"})," · ",r.jsx(I,{to:"/terms",className:"hover:text-white transition-colors",children:"Terms of Service"})," · ",r.jsx(I,{to:"/cookie-policy",className:"hover:text-white transition-colors",children:"Cookie Policy"})," · ",r.jsx("a",{href:"/sitemap.xml",className:"hover:text-white transition-colors",children:"Sitemap"})]}),r.jsx("p",{className:"text-[11px] text-[var(--rubi-text-muted)]",children:"8 International Innovation Patents  · 10 Industry-Academia Labs"})]}),r.jsx("div",{className:"flex flex-wrap gap-2 items-center justify-center md:justify-end shrink-0",children:Ec.map(t=>{const e=t.icon;return r.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 rounded-xl",style:{border:"1px solid rgba(249,115,22,0.25)",background:"rgba(249,115,22,0.06)"},children:[r.jsx(e,{className:"w-3.5 h-3.5 shrink-0 text-orange-400"}),r.jsxs("div",{children:[r.jsx("span",{className:"text-xs font-semibold block leading-none text-orange-400",children:t.label}),r.jsx("span",{className:"text-[10px] text-white/70 leading-none",children:t.sublabel})]})]},t.label)})})]})})})]})}const Ic="rubi_consent";function Mt(){const t=sessionStorage.getItem(Ic);return t==="accepted"||t==="necessary"?t:null}const Cc=["/pricing","/demo","/trial","/contact","/solutions/for-cxos","/solutions/banking","/solutions/financial-services","/solutions/manufacturing","/solutions/government"],Sc=["/learn","/learn/rubiversity","/learn/certifications","/learn/paths","/learn/data-visualisation","/learn/data-science","/learn/ai-ml-certification"];function Pc(t,e,s={}){if(document.getElementById(t))return!1;const i=document.createElement("script");return i.id=t,i.src=e,i.async=!0,i.defer=!0,Object.entries(s).forEac
178h(([n,a])=>i.setAttribute(n,a)),document.head.appendChild(i),!0}function Fc(t,e,s){if(document.getElementById(t))return!1;const i=document.createElement("script");return i.id=t,i.src=e,i.async=!0,Object.entries(s).forEach(([n,a])=>i.setAttribute(`data-${n}`,a)),document.head.appendChild(i),!0}function Rc(){const t=He(),e=u.useRef(!1),s=u.useRef(!1),i=u.useRef(!1);return u.useEffect(()=>{const n=()=>{if(Mt()!=="accepted"||e.current)return;const o="siqb0b53e6a3d5b99916cdee08be9e9dd39abb5bfb479a04667f6fb5fa1ca8462ea";e.current=!0,Pc("zsiq-script",`https://salesiq.zohopublic.in/widget?wc=${o}`)};return n(),window.addEventListener("rubi:consent",n),()=>window.removeEventListener("rubi:consent",n)},[]),u.useEffect(()=>{if(!Cc.includes(t.pathname))return;const n=setTimeout(()=>{var a,o,l,c,h,d;(l=(o=(a=window.$zoho)==null?void 0:a.salesiq)==null?void 0:o.floatbutton)==null||l.visible("show"),(d=(h=(c=window.$zoho)==null?void 0:c.salesiq)==null?void 0:h.chat)==null||d.defaulttitle("Talk to a Rubiscape specialist")},3e4);return()=>clearTimeout(n)},[t.pathname]),u.useEffect(()=>{const n=()=>
178{if(Mt()!=="accepted"||s.current)return;const o="098f334eb7cd442785a408ece372c261";s.current=!0,Fc("pagesense-init","/pagesense-loader.js",{"pagesense-id":o})};return n(),window.addEventListener("rubi:consent",n),()=>window.removeEventListener("rubi:consent",n)},[]),u.useEffect(()=>{Mt()==="accepted"&&Sc.includes(t.pathname)&&i.current},[t.pathname]),null}function Oc(){return u.useRef(!1),u.useRef(!1),u.useRef(!1),u.useRef(!1),u.useEffect(()=>{Mt()},[]),null}const Tc=u.createContext(null),Zi="rubi_theme";function Dc(t){const e=document.documentElement;e.classList.toggle("light",t==="light"),e.classList.toggle("dark",t==="dark"),e.setAttribute("data-theme",t)}function Mc(){try{const t=sessionStorage.getItem(Zi);if(t==="light"||t==="dark")return t}catch{}return"dark"}function Lc({children:t}){const[e,s]=u.useState(Mc);u.useEffect(()=>{Dc(e);try{sessionStorage.setItem(Zi,e)}catch{}},[e]);const i=u.useCallback(a=>s(a),[]),n=u.useCallback(()=>s(a=>a==="dark"?"light":"dark"),[]);return r.jsx(Tc.Provider,{value:{theme:e,toggleTheme:n,setTheme:i},children:t})}const Er="https://www.rubiscape.com",Ts=`${Er}/rubiscape-sharing.jpg`;function zc(){const{pathname:t}=He(),e=t==="/"?`${Er}/`:`${Er}${t.replace(/\/$/,"")}`;return r.jsxs(Hs,{children:[r.jsx("meta",{property:"og:type",content:"website"}),r.jsx("meta",{property:"og:site_name",content:"Rubiscape"}),r.jsx("meta",{property:"og:url",content:e}),r.jsx("meta",{property:"og:image",content:Ts}),r.jsx("meta",{property:"og:image:width",content:"1800"}),r.jsx("meta",{property:"og:image:height",content:"945"}),r.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),r.jsx("meta",{name:"twitter:image",content:Ts})]})}const Fe="https://www.rubiscape.com",Bc={"@type":"Organization","@id":`${Fe}/#organization`,name:"Rubiscape",url:`${Fe}/`,logo:`${Fe}/assets/logos/rubiscape%20light%20favicon.png`,parentOrganization:{"@type":"Organization",name:"Inteliment Group"},address:{"@type":"PostalAddress",addressLocality:"Pune",addressRegion:"Maharashtra",addressCountry:"IN"},sameAs:["https://linkedin.com/company/rubiscape","https://twitter.com/rubiscape","https://youtube.com/@rubiscape","https://instagram.com/rubiscape"]},Vc={"@type":"WebSite","@id":`${Fe}/#website`,name:"Rubiscape",url:`${Fe}/`,publisher:{"@id":`${Fe}/#organization`},inLanguage:"en"},$c={"rubi-ai":"RubiAI",rubiai:"RubiAI",rubiflow:"RubiFlow",rubistudio:"RubiStudio",rubisight:"RubiSight","rubi-things":"RubiThings","rubi-admin":"RubiAdmin",rubiwise:"RubiWise",rubiversity:"Rubiversity",rubipedia:"Rubipedia","iso-soc":"ISO & SOC","rbac-lineage":"RBAC & Lineage","for-cxos":"For CXOs","for-it":"For IT","ai-ml-certification":"AI & ML Certification","roi-calculator":"ROI Calculator","tco-and-roi":"TCO & ROI",byoc:"BYOC","ai-labs-cocreation":"AI Labs Co-creation","jnpt-case-study":"JNPT Case Study","decision-intelligence-101":"Decision Intelligence 101","rubiscape-on-hyperscalers":"Rubiscape on Hyperscalers","rubiscape-on-data-platforms":"Rubiscape on Data Platforms","time-to-insight":"Time to Insight"};function Uc(t){return $c[t]??t.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function Gc(){const{pathname:t}=He(),e=t.split("/").filter(Boolean),s=e.length===0,i=[Bc,Vc];return s||i.push({"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:`${Fe}/`},...e.map((n,a)=>({"@type":"ListItem",position:a+2,name:Uc(n),item:`${Fe}/${e.slice(0,a+1).join("/")}`}))]}),r.jsx(Hs,{children:r.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@graph":i})})})}const Wc=u.lazy(()=>g(()=>import("./HomePage-Ta1Z8SkI.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))),Hc=u.lazy(()=>g(()=>import("./PlatformOverview-hTJUzSZX.js"),__vite__mapDeps([10,1,3,8,7,6,2]))),Qc=u.lazy(()=>g(()=>import("./Architecture-CnVBGDug.js"),__vite__mapDeps([11,1,3,4,5,7,6,2,12]))),Yc=u.lazy(()=>g(()=>import("./RubiFlow-BMGQpNKB.js"),__vite__mapDeps([13,1,14,3,5,7,6,2,15]))),qc=u.lazy(()=>g(()=>import("./RubiStudio-CcuDM8G6.js"),__vite__mapDeps([16,1,3,5,7,6,2]))),Kc=u.lazy(()=>g(()=>import("./RubiSight-CX-jwlU7.js"),__vite__mapDeps([17,1,3,5,7,6,2]))),Jc=u.lazy(()=>g(()=>import("./RubiAI-B83HLcHs.js"),__vite__mapDeps([18,1,3,5,7,6,2]))),Zc=u.lazy(()=>g(()=>import("./RubiThings-CKM96bn-.js"),__vite__mapDeps([19,1,3,5,7,6,2]))),Xc=u.lazy(()=>g(()=>import("./Workbench-crsPFJxG.js"),__vite__mapDeps([20,1,3,4,5,6,7,2]))),eu=u.lazy(()=>g(()=>import("./RubiAdmin-BaNZ4gK_.js"),__vite__mapDeps([21,1,3,5,7,6,2]))),tu=u.lazy(()=>g(()=>import("./Deployment-CK9oEH6Z.js"),__vite__mapDeps([22,1,3,4,5,23,2,7,6]))),ru=u.lazy(()=>g(()=>import("./Roadmap-CbUIp9JM.js"),__vite__mapDeps([24,1,3,9,6,7,2]))),su=u.lazy(()=>g(()=>import("./TrustOverview-Dme5RTlH.js"),__vite__mapDeps([25,1,3,4,7,6,2]))),iu=u.lazy(()=>g(()=>import("./IsoSoc-DSQPKmey.js"),__vite__mapDeps([26,1,3,7,6,2]))),nu=u.lazy(()=>g(()=>import("./Certifications-CKbTjFzU.js"),__vite__mapDeps([27,1,3,4,5,7,6,2]))),au=u.lazy(()=>g(()=>import("./RbacLineage-C6SFgKKe.js"),__vite__mapDeps([28,1,3,4,5,7,6,2]))),ou=u.lazy(()=>g(()=>import("./Compliance-CVRl2SVM.js"),__vite__mapDeps([29,1,3,4,7,6,2]))),lu=u.lazy(()=>g(()=>import("./SolutionsOverview-iCHUN1ug.js"),__vite__mapDeps([30,1,5,7,6,2]))),cu=u.lazy(()=>g(()=>import("./RubiWise-D50i4YTh.js"),__vite__mapDeps([31,1,3,4,5,7,6,2]))),uu=u.lazy(()=>g(()=>import("./Banking-CjCTK-kW.js"),__vite__mapDeps([32,1,33,14,3,4,34,7,6,15,2]))),du=u.lazy(()=>g(()=>
178import("./FinancialServices-CBdXFkj6.js"),__vite__mapDeps([35,1,33,14,3,4,34,7,6,15,2]))),hu=u.lazy(()=>g(()=>import("./Insurance-BEjlVbn0.js"),__vite__mapDeps([36,1,33,14,3,4,34,7,6,15,2]))),pu=u.lazy(()=>g(()=>import("./Healthcare-BxmAmjwz.js"),__vite__mapDeps([37,1,33,14,3,4,34,7,6,15,2]))),mu=u.lazy(()=>g(()=>import("./Manufacturing-BVfykE-4.js"),__vite__mapDeps([38,1,33,14,3,4,34,7,6,15,2]))),fu=u.lazy(()=>g(()=>import("./Government-BFIAKMMx.js"),__vite__mapDeps([39,1,33,14,3,4,34,7,6,15,2]))),xu=u.lazy(()=>g(()=>import("./Energy-BQPGTMzU.js"),__vite__mapDeps([40,1,33,14,3,4,34,7,6,15,2]))),bu=u.lazy(()=>g(()=>import("./Telecom-szRil7pI.js"),__vite__mapDeps([41,1,33,14,3,4,34,7,6,15,2]))),gu=u.lazy(()=>g(()=>import("./Retail-DlW9I5lI.js"),__vite__mapDeps([42,1,33,14,3,4,34,7,6,15,2]))),yu=u.lazy(()=>g(()=>import("./Defense-BBukJzbp.js"),__vite__mapDeps([43,1,33,14,3,4,34,7,6,15,2]))),vu=u.lazy(()=>g(()=>import("./Education-B_5HGRwL.js"),__vite__mapDeps([44,1,33,14,3,4,34,7,6,15,2]))),ju=u.lazy(()=>g(()=>import("./Agriculture-DCiUjxhs.js"),__vite__mapDeps([45,1,33,14,3,4,34,7,6,15,2]))),wu=u.lazy(()=>g(()=>import("./Logistics-DmTqp2pV.js"),__vite__mapDeps([46,1,33,14,3,4,34,7,6,15,2]))),_u=u.lazy(()=>g(()=>import("./Maritime-Ddckpy8r.js"),__vite__mapDeps([47,1,33,14,3,4,34,7,6,15,2]))),Au=u.lazy(()=>g(()=>import("./Hospitality-CNkmioNk.js"),__vite__mapDeps([48,1,33,14,3,4,34,7,6,15,2]))),Eu=u.lazy(()=>g(()=>import("./Technology-D7-0AuqW.js"),__vite__mapDeps([49,1,33,14,3,4,34,7,6,15,2]))),Nu=u.lazy(()=>g(()=>import("./ForCXOs-BCMm_ioK.js"),__vite__mapDeps([50,1,2,3,51,7,6]))),ku=u.lazy(()=>g(()=>import("./UseCases-Bqf3RgYY.js"),__vite__mapDeps([52,1,3,5,6,7,2]))),Iu=u.lazy(()=>g(()=>import("./ForDataScientists-DO9p5Sl5.js"),__vite__mapDeps([53,1,2,3,51,7,6]))),Cu=u.lazy(()=>g(()=>import("./ForDataEngineers-BQEQWwlH.js"),__vite__mapDeps([54,1,2,3,51,7,6]))),Su=u.lazy(()=>g(()=>import("./ForAnalysts-CW7yve7K.js"),__vite__mapDeps([55,1,2,3,51,7,6]))),Pu=u.lazy(()=>g(()=>import("./ForIT-D68Z9a_M.js"),__vite__mapDeps([56,1,2,3,51,7,6]))),Fu=u.lazy(()=>g(()=>import("./InsightsHub-B7ouOXfZ.js"),__vite__mapDeps([57,1,3,4,7,6,2]))),lr=u.lazy(()=>g(()=>import("./DecisionIntelligence-B60te3Q4.js"),__vite__mapDeps([58,1,3,7,6,2,15]))),Ru=u.lazy(()=>g(()=>import("./AgenticAI-fHQRfkkf.js"),__vite__mapDeps([59,1,3,4,7,6,2]))),Ou=u.lazy(()=>g(()=>import("./CustomerStories-C035cUAY.js"),__vite__mapDeps([60,1,2,3,4,7,6]))),Tu=u.lazy(()=>g(()=>import("./VideoVault-CtfYFfFG.js"),__vite__mapDeps([61,1,3,7,6,2]))),Du=u.lazy(()=>g(()=>import("./Podcast-D3bwvXW5.js"),__vite__mapDeps([62,1,3,4,5,7,6,2]))),Mu=u.lazy(()=>g(()=>import("./LearnHub-DAtjpJe_.js"),__vite__mapDeps([63,1,7,6,2]))),Lu=u.lazy(()=>g(()=>import("./Rubiversity-DYEXPjOE.js"),__vite__mapDeps([64,1,4,34,7,6,2]))),zu=u.lazy(()=>g(()=>import("./Certifications-BjJoSrMv.js"),__vite__mapDeps([65,1,3,4,7,6,2]))),Bu=u.lazy(()=>g(()=>import("./LearningPaths-D22wEuOg.js"),__vite__mapDeps([66,1,2,3,6,7]))),Vu=u.lazy(()=>g(()=>import("./DataVizCourse-Bz3BKF3x.js"),__vite__mapDeps([67,1,7,6,2]))),$u=u.lazy(()=>g(()=>import("./DataScienceCourse-C30fxFdL.js"),__vite__mapDeps([68,1,7,6,2]))),Uu=u.lazy(()=>g(()=>import("./DataEngineeringCourse-OvTgbOro.js"),__vite__mapDeps([69,1,7,6,2]))),Gu=u.lazy(()=>g(()=>import("./AiMlCertification-Dp4A2TNi.js"),__vite__mapDeps([70,1,3,4,5,7,6,2]))),Wu=u.lazy(()=>g(()=>import("./RubiversityPartners-Wx4Ff-e1.js"),__vite__mapDeps([71,1,3,4,7,6,2]))),Hu=u.lazy(()=>g(()=>import("./LabsCoe-C5SayIJM.js"),__vite__mapDeps([72,1,3,9,7,6,2]))),Qu=u.lazy(()=>g(()=>import("./ResourcesHub-BnBdq_jf.js"),__vite__mapDeps([73,1,3,4,9,6,7,2]))),Yu=u.lazy(()=>g(()=>import("./Rubipedia-DaemFj4Q.js"),__vite__mapDeps([74,1,3,4,6,7,2]))),qu=u.lazy(()=>g(()=>import("./RubiWiseTemplates-CaiHiqJg.js"),__vite__mapDeps([75,1,3,4,5,7,6,2]))),Ku=u.lazy(()=>g(()=>import("./RoiCalculator-IIlo0O10.js"),__vite__mapDeps([76,1,3,6,7,9,2]))),Ju=u.lazy(()=>g(()=>import("./MaturityAssessment-TA0ByhVe.js"),__vite__mapDeps([77,1,3,4,5,9,7,6,2]))),Zu=u.lazy(()=>g(()=>import("./TimeToInsight-D0S0opgb.js"),__vite__mapDeps([78,1,3,9,6,7,2]))),Xu=u.lazy(()=>g(()=>import("./Community-COEooLPg.js"),__vite__mapDeps([79,1,3,4,7,6,2]))),ed=u.lazy(()=>g(()=>import("./Events-Rn5x6OZT.js"),__vite__mapDeps([80,1,3,4,5,7,6,2]))),td=u.lazy(()=>g(()=>import("./Demo-8K8hDXOA.js"),__vite__mapDeps([81,1,82,3,4,5,9,7,6,2]))),rd=u.lazy(()=>g(()=>import("./Trial-Dvcih6i2.js"),__vite__mapDeps([83,1,82,3,4,5,9,7,6,2]))),sd=u.lazy(()=>g(()=>
178import("./Pricing-DQkoIXeC.js"),__vite__mapDeps([84,1,3,23,2,7,6]))),id=u.lazy(()=>g(()=>import("./Contact-CBUJai2i.js"),__vite__mapDeps([85,1,3,4,9,6,7,2]))),nd=u.lazy(()=>g(()=>import("./OurStory-CLiROUtg.js"),__vite__mapDeps([86,1,3,4,7,6,2]))),ad=u.lazy(()=>g(()=>import("./AboutTeam-xMYqMHvd.js"),__vite__mapDeps([87,1,3,7,6,2]))),od=u.lazy(()=>g(()=>import("./Newsroom-cirtWiXp.js"),__vite__mapDeps([88,1,3,7,6,2]))),ld=u.lazy(()=>g(()=>import("./Partners-DOLsPWb1.js"),__vite__mapDeps([89,1,9,7,6,2]))),cd=u.lazy(()=>g(()=>import("./PartnerModels-BhI8LxFc.js"),__vite__mapDeps([90,1,3,4,7,6,2]))),ud=u.lazy(()=>g(()=>import("./PartnerTiers-D3xJLbO_.js"),__vite__mapDeps([91,1,3,7,6,2]))),dd=u.lazy(()=>g(()=>import("./PartnerEnablement-D8A46OGg.js"),__vite__mapDeps([92,1,3,7,6,2]))),hd=u.lazy(()=>g(()=>import("./DatabricksPartner-g17mz2_C.js"),__vite__mapDeps([93,1,3,4,7,6,2]))),pd=u.lazy(()=>g(()=>import("./Careers-CCg8dO7R.js"),__vite__mapDeps([94,1,3,7,6,2]))),md=u.lazy(()=>g(()=>import("./Engineering-BB6xGWN_.js"),__vite__mapDeps([95,1,3,4,5,6,7,2]))),fd=u.lazy(()=>g(()=>import("./Sales-8rj0BjJN.js"),__vite__mapDeps([96,1,3,4,5,6,7,2]))),xd=u.lazy(()=>g(()=>import("./CaseStudyJNPT-CgQ6Weti.js"),__vite__mapDeps([97,1,3,4,5,7,6,2]))),Ds=u.lazy(()=>g(()=>import("./ServiceHub-DQUClyxN.js"),__vite__mapDeps([98,1,3,7,6,2]))),bd=u.lazy(()=>g(()=>import("./Ideas-BDBKHeJi.js"),__vite__mapDeps([99,1,3,4,7,6,2]))),gd=u.lazy(()=>g(()=>import("./Xperience-Dw0kEwvg.js"),__vite__mapDeps([100,1,3,7,6,2]))),yd=u.lazy(()=>g(()=>import("./Labs-BbeSn36J.js"),__vite__mapDeps([101,1,3,4,5,7,6,2]))),vd=u.lazy(()=>g(()=>import("./PrivacyPolicy-D_r-haF2.js"),__vite__mapDeps([102,1,9,103,6]))),jd=u.lazy(()=>g(()=>import("./Terms-dFVV2ydS.js"),__vite__mapDeps([104,1,9,103,6]))),wd=u.lazy(()=>g(()=>import("./CookiePolicy-Dd_AkFLX.js"),__vite__mapDeps([105,1,9,103,6]))),_d=u.lazy(()=>g(()=>import("./WhyRubiscape-msthRIfJ.js"),__vite__mapDeps([106,1,9,7,6,2]))),Ad=u.lazy(()=>g(()=>import("./TheProblem-mRFswQp5.js"),__vite__mapDeps([107,1,2,3,4,7,6,15]))),Ed=u.lazy(()=>g(()=>import("./GovernanceFirst-BQl5Rr0F.js"),__vite__mapDeps([108,1,3,7,6,2,15]))),Nd=u.lazy(()=>g(()=>import("./AiDataAcademy-H4AexUba.js"),__vite__mapDeps([109,1,3,7,6,2,15]))),kd=u.lazy(()=>g(()=>import("./TcoAndRoi-Ca-Esp0l.js"),__vite__mapDeps([110,1,3,7,6,2,15]))),Id=u.lazy(()=>g(()=>import("./AiLabsCocreation-C2xyl8GX.js"),__vite__mapDeps([111,1,3,7,6,2]))),Cd=u.lazy(()=>g(()=>import("./OnHyperscalers-BtfizVaG.js"),__vite__mapDeps([112,1,3,4,7,6,2]))),Sd=u.lazy(()=>g(()=>import("./OnDataPlatforms-VDRtp9Vr.js"),__vite__mapDeps([113,1,3,4,7,6,2]))),Pd=u.lazy(()=>g(()=>import("./Byoc-B4IHc3Hp.js"),__vite__mapDeps([114,1,3,7,6,2]))),Fd=u.lazy(()=>g(()=>import("./NotFound-D5Jt4TB1.js"),__vite__mapDeps([115,1,7,6,2]))),Rd=u.lazy(()=>g(()=>import("./Login-jUZiCZUv.js"),__vite__mapDeps([116,1,7,2,6]))),Od=u.lazy(()=>g(()=>import("./Register-BfWFHX3C.js"),__vite__mapDeps([117,1,6,2,7]))),Td=u.lazy(()=>g(()=>import("./PortalLayout-C9QcjcPl.js"),__vite__mapDeps([118,1,6,2,7])));class Dd extends u.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){var i,n;(((i=e.message)==null?void 0:i.includes("Failed to fetch dynamically imported module"))||((n=e.message)==null?void 0:n.includes("Importing a module script failed"))||e.name==="ChunkLoadError")&&!sessionStorage.getItem("rubi_chunk_reload")&&(sessionStorage.setItem("rubi_chunk_reload","1"),window.location.reload())}render(){return this.state.hasError?r.jsx("div",{className:"min-h-screen flex items-center justify-center",children:r.jsxs("div",{className:"text-center px-4",children:[r.jsx("p",{className:"text-[var(--rubi-text-secondary)] mb-4 text-sm",children:"This page failed to load. Please refresh."}),r.jsx("button",{onClick:()=>window.location.reload(),className:"text-sm font-semibold text-[var(--rubi-electric)] hover:text-blue-300 transition-colors",children:"Reload page â"})]})}):this.props.children}}function Md(){return r.jsx("div",{className:"min-h-screen flex items-center justify-center",children:r.jsx("div",{className:"w-8 h-8 border-2 border-[var(--rubi-electric)] border-t-transparent roun
178ded-full animate-spin"})})}function Ld(){const{pathname:t,hash:e}=He();return u.useEffect(()=>{const s=i=>{const n=i.target.closest("a");if(!n)return;const a=n.getAttribute("href");a&&a===window.location.pathname&&(i.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}))};return document.addEventListener("click",s),()=>document.removeEventListener("click",s)},[]),u.useEffect(()=>{if(e){const s=e.replace("#",""),i=(n=0)=>{const a=document.getElementById(s);a?a.scrollIntoView({behavior:"smooth",block:"start"}):n<10&&setTimeout(()=>i(n+1),80)};setTimeout(()=>i(),100)}else window.scrollTo({top:0,left:0,behavior:"instant"});sessionStorage.removeItem("rubi_chunk_reload")},[t,e]),null}function zd(){const{pathname:t}=He(),e=/^\/(login|register|portal)(\/|$)/.test(t);return r.jsxs(r.Fragment,{children:[r.jsx(Ld,{}),r.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:bg-[var(--rubi-electric)] focus:text-white focus:rounded-lg",children:"Skip to content"}),r.jsx(zc,{}),r.jsx(Gc,{}),!e&&r.jsx(mc,{}),r.jsx("main",{id:"main-content",children:r.jsx(Dd,{children:r.jsx(u.Suspense,{fallback:r.jsx(Md,{}),children:r.jsxs(tn,{children:[r.jsx(b,{path:"/",element:r.jsx(Wc,{})}),r.jsx(b,{path:"/platform",element:r.jsx(Hc,{})}),r.jsx(b,{path:"/platform/architecture",element:r.jsx(Qc,{})}),r.jsx(b,{path:"/platform/rubiflow",element:r.jsx(Yc,{})}),r.jsx(b,{path:"/platform/rubistudio",element:r.jsx(qc,{})}),r.jsx(b,{path:"/platform/rubisight",element:r.jsx(Kc,{})}),r.jsx(b,{path:"/platform/rubi-ai",element:r.jsx(Jc,{})}),r.jsx(b,{path:"/platform/rubi-things",element:r.jsx(Zc,{})}),r.jsx(b,{path:"/platform/workbench",element:r.jsx(Xc,{})}),r.jsx(b,{path:"/platform/rubi-admin",element:r.jsx(eu,{})}),r.jsx(b,{path:"/platform/deployment",element:r.jsx(tu,{})}),r.jsx(b,{path:"/platform/roadmap",element:r.jsx(ru,{})}),r.jsx(b,{path:"/about/trust",element:r.jsx(su,{})}),r.jsx(b,{path:"/platform/security/iso-soc",element:r.jsx(iu,{})}),r.jsx(b,{path:"/platform/security/certifications",element:r.jsx(nu,{})}),r.jsx(b,{path:"/platform/security/rbac-lineage",element:r.jsx(au,{})}),r.jsx(b,{path:"/platform/security/compliance",element:r.jsx(ou,{})}),r.jsx(b,{path:"/solutions",element:r.jsx(lu,{})}),r.jsx(b,{path:"/solutions/rubiwise",element:r.jsx(cu,{})}),r.jsx(b,{path:"/solutions/banking",element:r.jsx(uu,{})}),r.jsx(b,{path:"/solutions/financial-services",element:r.jsx(du,{})}),r.jsx(b,{path:"/solutions/insurance",element:r.jsx(hu,{})}),r.jsx(b,{path:"/solutions/healthcare",element:r.jsx(pu,{})}),r.jsx(b,{path:"/solutions/manufacturing",element:r.jsx(mu,{})}),r.jsx(b,{path:"/solutions/government",element:r.jsx(fu,{})}),r.jsx(b,{path:"/solutions/energy",element:r.jsx(xu,{})}),r.jsx(b,{path:"/solutions/telecom",element:r.jsx(bu,{})}),r.jsx(b,{path:"/solutions/retail",element:r.jsx(gu,{})}),r.jsx(b,{path:"/solutions/defense",element:r.jsx(yu,{})}),r.jsx(b,{path:"/solutions/education",element:r.jsx(vu,{})}),r.jsx(b,{path:"/solutions/agriculture",element:r.jsx(ju,{})}),r.jsx(b,{path:"/solutions/logistics",element:r.jsx(wu,{})}),r.jsx(b,{path:"/solutions/maritime",element:r.jsx(_u,{})}),r.jsx(b,{path:"/solutions/hospitality",element:r.jsx(Au,{})}),r.jsx(b,{path:"/solutions/technology",element:r.jsx(Eu,{})}),r.jsx(b,{path:"/solutions/use-cases",element:r.jsx(ku,{})}),r.jsx(b,{path:"/solutions/for-cxos",element:r.jsx(Nu,{})}),r.jsx(b,{path:"/solutions/for-data-scientists",element:r.jsx(Iu,{})}),r.jsx(b,{path:"/solutions/for-data-engineers",element:r.jsx(Cu,{})}),r.jsx(b,{path:"/solutions/for-analysts",element:r.jsx(Su,{})}),r.jsx(b,{path:"/solutions/for-it",element:r.jsx(Pu,{})}),r.jsx(b,{path:"/insights",element:r.jsx(Fu,{})}),r.jsx(b,{path:"/decision-intelligence",element:r.jsx(lr,{})}),r.jsx(b,{path:"/insights/decision-intelligence",element:r.jsx(lr,{})}),r.jsx(b,{path:"/insights/agentic-ai",element:r.jsx(Ru,{})}),r.jsx(b,{path:"/insights/customer-stories",element:r.jsx(Ou,{})}),r.jsx(b,{path:"/insights/videos",element:r.jsx(Ot,{to:"/videos",replace:!0})}),r.jsx(b,{path:"/videos",element:r.jsx(Tu,{})}),r.jsx(b,{path:"/insights/podcast",element:r.jsx(Du,{})}),r.jsx(b,{path:"/learn",element:r.jsx(Mu,{})}),r.jsx(b,{path:"/learn/rubiversity",element:r.jsx(Lu,{})}),r.jsx(b,{path:"/learn/certifications",element:r.jsx(zu,{})}),r.jsx(b,{path:"/learn/paths",element:r.jsx(Bu,{})}),r.jsx(b,{path:"/learn/data-visualisation",element:r.jsx(Vu,{})}),r.jsx(b,{path:"/learn/data-science",element:r.jsx($u,{})}),r.jsx(b,{path:"/learn/data-engineering",element:r.jsx(Uu,{})}),r.jsx(b,{path:"/learn/ai-ml-certification",element:r.jsx(Gu,{})}),r.jsx(b,{path:"/learn/partners",element:r.jsx(Wu,{})}),r.jsx(b,{path:"/learn/labs",element:r.jsx(Hu,{})}),r.jsx(b,{path:"/resources",element:r.jsx(Qu,{})}),r.jsx(b,{path:"/resources/rubipedia",element:r.jsx(Yu,{})}),r.jsx(b,{path:"/resources/rubiwise",element:r.jsx(qu,{})}),r.jsx(b,{path:"/resources/roi-calculator",element:r.jsx(Ku,{})}),r.jsx(b,{path:"/resources/assessment",element:r.jsx(Ju,{})}),r.jsx(b,{path:"/resources/time-to-insight",element:r.jsx(Zu,{})}),r.jsx(b,{path:"/community",element:r.jsx(Xu,{})}),r.jsx(b,{path:"/events",element:r.jsx(ed,{})}),r.jsx(b,{path:"/demo",element:r.jsx(td,{})}),r.jsx(b,{path:"/trial",element:r.jsx(rd,{})}),r.jsx(b,{path:"/pricing",element:r.jsx(sd,{})}),r.jsx(b,{path:"/contact",element:r.jsx(id,{})}),r.jsx(b,{path:"/about",element:r.jsx(Ot,{to:"/about/our-story",replace:!0})}),r.jsx(b,{path:"/about/our-story",element:r.jsx(nd,{})}),r.jsx(b,{path:"/about/team",element:r.jsx(ad,{})}),r.jsx(b,{path:"/newsroom",element:r.jsx(od,{})}),r.jsx(b,{path:"/partners",element:r.jsx(ld,{})}),r.jsx(b,{path:"/partners/models",element:r.jsx(cd,{})}),r.jsx(b,{path:"/partners/tiers",element:r.jsx(ud,{})}),r.jsx(b,{path:"/partners/enablement",element:r.jsx(dd,{})}),r.jsx(b,{path:"/partners/databricks",element:r.jsx(hd,{})}),r.jsx(b,{path:"/careers",element:r.jsx(pd,{})}),r.jsx(b,{path:"/careers/engineering",element:r.jsx(md,{})}),r.jsx(b,{path:"/careers/sales",element:r.jsx(fd,{})}),r.jsx(b,{path:"/why-rubiscape",element:r.jsx(_d,{})}),r.jsx(b,{path:"/why-rubiscape/the-tool-sprawl-problem",element:r.jsx(Ad,{})}),r.jsx(b,{path:"/why-rubiscape/decision-intelligence-101",element:r.jsx(lr,{})}),r.jsx(b,{path:"/why-rubiscape/governance-first-architecture",element:r.jsx(Ed,{})}),r.jsx(b,{path:"/why-rubiscape/ai-data-academy",element:r.jsx(Nd,{})}),r.jsx(b,{path:"/why-rubiscape/tco-and-roi",element:r.jsx(kd,{})}),r.jsx(b,{path:"/why-rubiscape/ai-labs-cocreation",element:r.jsx(Id,{})}),r.jsx(b,{path:"/why-rubiscape/rubiscape-on-hyperscalers",element:r.jsx(Cd,{})}),r.jsx(b,{path:"/why-rubiscape/rubiscape-on-data-platforms",element:r.jsx(Sd,{})}),r.jsx(b,{path:"/why-rubiscape/byoc",element:r.jsx(Pd,{})}),r.jsx(b,{path:"/insights/jnpt-case-study",element:r.jsx(xd,{})}),r.jsx(b,{path:"/service-hub",element:r.jsx(Ds,{})}),r.jsx(b,{path:"/professional-services",element:r.jsx(Ds,{})}),r.jsx(b,{path:"/ideas",element:r.jsx(bd,{})}),r.jsx(b,{path:"/public",element:r.jsx(Ot,{to:"/Xperience",replace:!0})}),r.jsx(b,{path:"/Xperience",element:r.jsx(gd,{})}),r.jsx(b,{path:"/labs",element:r.jsx(yd,{})}),r.jsx(b,{path:"/privacy-policy",element:r.jsx(vd,{})}),r.jsx(b,{path:"/terms",element:r.jsx(jd,{})}),r.jsx(b,{path:"/cookie-policy",element:r.jsx(wd,{})}),r.jsx(b,{path:"/login",element:r.jsx(Rd,{})}),r.jsx(b,{path:"/register",element:r.jsx(Od,{})}),r.jsx(b,{path:"/portal/*",element:r.jsx(Td,{})}),r.jsx(b,{path:"*",element:r.jsx(Fd,{})})]})})})}),!e&&r.jsx(kc,{}),r.jsx(Rc,{}),r.jsx(Oc,{}),r.jsx(Kl,{}),r.jsx(ao,{position:"bottom-right",toastOptions:{style:{background:"var(--rubi-midnight)",color:"var(--rubi-text-primary)",border:"1px solid var(--rubi-border)",borderRadius:"12px",fontSize:"14px"}}})]})}function Bd(){return r.jsx(en,{children:r.jsx(Lc,{children:r.jsx(rc,{children:r.jsx(an,{delayDuration:200,children:r.jsx(zd,{})})})})})}xa();const Vd=new oa({defaultOptions:{queries:{staleTime:5*60*1e3,retry:1}}});rn.createRoot(document.getElementById("root")).render(r.jsx(sn.StrictMode,{children:r.jsx(nn,{children:r.jsx(la,{client:Vd,children:r.jsx(Bd,{})})})}));export{pe as B,mc as N,Jd as R,xc as S,Zt as a,Vn as b,de as c,dr as d,ai as e,ur as f,si as g,ra as h,zn as i,Gn as j,X as k,Yd as l,qd as m,ne as n,Yn as p,Kd as r,Qd as s,Bn as t,Hi as u,oo as z};
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.