@uibot/blocks-studio 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- var wi=Object.create;var{getPrototypeOf:Ni,defineProperty:Ht,getOwnPropertyNames:Ri}=Object;var Xt=Object.prototype.hasOwnProperty;function Ei(e){return this[e]}var Si,Ci,Li=(e,t,r)=>{var n=e!=null&&typeof e==="object";if(n){var i=t?Si??=new WeakMap:Ci??=new WeakMap,a=i.get(e);if(a)return a}r=e!=null?wi(Ni(e)):{};let s=t||!e||!e.__esModule||!Xt.call(e,"default")?Ht(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let o of Ri(e))if(!Xt.call(s,o))Ht(s,o,{get:Ei.bind(e,o),enumerable:!0})}if(n)i.set(e,s);return s};var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ne=b(function(Gl,Kt){var Ii=Number.MAX_SAFE_INTEGER||9007199254740991,Ai=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Kt.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Ii,RELEASE_TYPES:Ai,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var le=b(function(_l,Wt){var Ti=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};Wt.exports=Ti});var ie=b(function(K,Yt){var{MAX_SAFE_COMPONENT_LENGTH:Ge,MAX_SAFE_BUILD_LENGTH:$i,MAX_LENGTH:Oi}=ne(),Mi=le();K=Yt.exports={};var Bi=K.re=[],Pi=K.safeRe=[],p=K.src=[],qi=K.safeSrc=[],u=K.t={},ji=0,_e="[a-zA-Z0-9-]",Fi=[["\\s",1],["\\d",Oi],[_e,$i]],Gi=(e)=>{for(let[t,r]of Fi)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},v=(e,t,r)=>{let n=Gi(t),i=ji++;Mi(e,i,t),u[e]=i,p[i]=t,qi[i]=n,Bi[i]=new RegExp(t,r?"g":void 0),Pi[i]=new RegExp(n,r?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*");v("NUMERICIDENTIFIERLOOSE","\\d+");v("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${_e}*`);v("MAINVERSION",`(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})`);v("MAINVERSIONLOOSE",`(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})`);v("PRERELEASEIDENTIFIER",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIER]})`);v("PRERELEASEIDENTIFIERLOOSE",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIERLOOSE]})`);v("PRERELEASE",`(?:-(${p[u.PRERELEASEIDENTIFIER]}(?:\\.${p[u.PRERELEASEIDENTIFIER]})*))`);v("PRERELEASELOOSE",`(?:-?(${p[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${p[u.PRERELEASEIDENTIFIERLOOSE]})*))`);v("BUILDIDENTIFIER",`${_e}+`);v("BUILD",`(?:\\+(${p[u.BUILDIDENTIFIER]}(?:\\.${p[u.BUILDIDENTIFIER]})*))`);v("FULLPLAIN",`v?${p[u.MAINVERSION]}${p[u.PRERELEASE]}?${p[u.BUILD]}?`);v("FULL",`^${p[u.FULLPLAIN]}$`);v("LOOSEPLAIN",`[v=\\s]*${p[u.MAINVERSIONLOOSE]}${p[u.PRERELEASELOOSE]}?${p[u.BUILD]}?`);v("LOOSE",`^${p[u.LOOSEPLAIN]}$`);v("GTLT","((?:<|>)?=?)");v("XRANGEIDENTIFIERLOOSE",`${p[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);v("XRANGEIDENTIFIER",`${p[u.NUMERICIDENTIFIER]}|x|X|\\*`);v("XRANGEPLAIN",`[v=\\s]*(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:${p[u.PRERELEASE]})?${p[u.BUILD]}?)?)?`);v("XRANGEPLAINLOOSE",`[v=\\s]*(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:${p[u.PRERELEASELOOSE]})?${p[u.BUILD]}?)?)?`);v("XRANGE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAIN]}$`);v("XRANGELOOSE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAINLOOSE]}$`);v("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Ge}})(?:\\.(\\d{1,${Ge}}))?(?:\\.(\\d{1,${Ge}}))?`);v("COERCE",`${p[u.COERCEPLAIN]}(?:$|[^\\d])`);v("COERCEFULL",p[u.COERCEPLAIN]+`(?:${p[u.PRERELEASE]})?(?:${p[u.BUILD]})?(?:$|[^\\d])`);v("COERCERTL",p[u.COERCE],!0);v("COERCERTLFULL",p[u.COERCEFULL],!0);v("LONETILDE","(?:~>?)");v("TILDETRIM",`(\\s*)${p[u.LONETILDE]}\\s+`,!0);K.tildeTrimReplace="$1~";v("TILDE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAIN]}$`);v("TILDELOOSE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAINLOOSE]}$`);v("LONECARET","(?:\\^)");v("CARETTRIM",`(\\s*)${p[u.LONECARET]}\\s+`,!0);K.caretTrimReplace="$1^";v("CARET",`^${p[u.LONECARET]}${p[u.XRANGEPLAIN]}$`);v("CARETLOOSE",`^${p[u.LONECARET]}${p[u.XRANGEPLAINLOOSE]}$`);v("COMPARATORLOOSE",`^${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]})$|^$`);v("COMPARATOR",`^${p[u.GTLT]}\\s*(${p[u.FULLPLAIN]})$|^$`);v("COMPARATORTRIM",`(\\s*)${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]}|${p[u.XRANGEPLAIN]})`,!0);K.comparatorTrimReplace="$1$2$3";v("HYPHENRANGE",`^\\s*(${p[u.XRANGEPLAIN]})\\s+-\\s+(${p[u.XRANGEPLAIN]})\\s*$`);v("HYPHENRANGELOOSE",`^\\s*(${p[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${p[u.XRANGEPLAINLOOSE]})\\s*$`);v("STAR","(<|>)?=?\\s*\\*");v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var ye=b(function(Dl,Qt){var _i=Object.freeze({loose:!0}),Di=Object.freeze({}),zi=(e)=>{if(!e)return Di;if(typeof e!=="object")return _i;return e};Qt.exports=zi});var De=b(function(zl,er){var Jt=/^[0-9]+$/,Zt=(e,t)=>{if(typeof e==="number"&&typeof t==="number")return e===t?0:e<t?-1:1;let r=Jt.test(e),n=Jt.test(t);if(r&&n)e=+e,t=+t;return e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},Ui=(e,t)=>Zt(t,e);er.exports={compareIdentifiers:Zt,rcompareIdentifiers:Ui}});var B=b(function(Ul,rr){var be=le(),{MAX_LENGTH:tr,MAX_SAFE_INTEGER:xe}=ne(),{safeRe:ve,t:ke}=ie(),Vi=ye(),{compareIdentifiers:ze}=De(),Hi=(e,t)=>{let r=t.split(".");if(r.length>e.length)return!1;for(let n=0;n<r.length;n++)if(ze(e[n],r[n])!==0)return!1;return!0};class U{constructor(e,t){if(t=Vi(t),e instanceof U)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else e=e.version;else if(typeof e!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>tr)throw TypeError(`version is longer than ${tr} characters`);be("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?ve[ke.LOOSE]:ve[ke.FULL]);if(!r)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>xe||this.major<0)throw TypeError("Invalid major version");if(this.minor>xe||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>xe||this.patch<0)throw TypeError("Invalid patch version");if(!r[4])this.prerelease=[];else this.prerelease=r[4].split(".").map((n)=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&i<xe)return i}return n});this.build=r[5]?r[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(e){if(be("SemVer.compare",this.version,this.options,e),!(e instanceof U)){if(typeof e==="string"&&e===this.version)return 0;e=new U(e,this.options)}if(e.version===this.version)return 0;return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof U))e=new U(e,this.options);if(this.major<e.major)return-1;if(this.major>e.major)return 1;if(this.minor<e.minor)return-1;if(this.minor>e.minor)return 1;if(this.patch<e.patch)return-1;if(this.patch>e.patch)return 1;return 0}comparePre(e){if(!(e instanceof U))e=new U(e,this.options);if(this.prerelease.length&&!e.prerelease.length)return-1;else if(!this.prerelease.length&&e.prerelease.length)return 1;else if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],n=e.prerelease[t];if(be("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;else if(n===void 0)return 1;else if(r===void 0)return-1;else if(r===n)continue;else return ze(r,n)}while(++t)}compareBuild(e){if(!(e instanceof U))e=new U(e,this.options);let t=0;do{let r=this.build[t],n=e.build[t];if(be("build compare",t,r,n),r===void 0&&n===void 0)return 0;else if(n===void 0)return 1;else if(r===void 0)return-1;else if(r===n)continue;else return ze(r,n)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&r===!1)throw Error("invalid increment argument: identifier is empty");if(t){let n=`-${t}`.match(this.options.loose?ve[ke.PRERELEASELOOSE]:ve[ke.PRERELEASE]);if(!n||n[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",t,r);this.inc("pre",t,r);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let n=Number(r)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;while(--i>=0)if(typeof this.prerelease[i]==="number")this.prerelease[i]++,i=-2;if(i===-1){if(t===this.prerelease.join(".")&&r===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(t){let i=[t,n];if(r===!1)i=[t];if(Hi(this.prerelease,t)){let a=this.prerelease[t.split(".").length];if(isNaN(a))this.prerelease=i}else this.prerelease=i}break}default:throw Error(`invalid increment argument: ${e}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}rr.exports=U});var W=b(function(Vl,ir){var nr=B(),Xi=(e,t,r=!1)=>{if(e instanceof nr)return e;try{return new nr(e,t)}catch(n){if(!r)return null;throw n}};ir.exports=Xi});var sr=b(function(Hl,ar){var Ki=W(),Wi=(e,t)=>{let r=Ki(e,t);return r?r.version:null};ar.exports=Wi});var lr=b(function(Xl,or){var Yi=W(),Qi=(e,t)=>{let r=Yi(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};or.exports=Qi});var mr=b(function(Kl,dr){var cr=B(),Ji=(e,t,r,n,i)=>{if(typeof r==="string")i=n,n=r,r=void 0;try{return new cr(e instanceof cr?e.version:e,r).inc(t,n,i).version}catch(a){return null}};dr.exports=Ji});var gr=b(function(Wl,ur){var pr=W(),Zi=(e,t)=>{let r=pr(e,null,!0),n=pr(t,null,!0),i=r.compare(n);if(i===0)return null;let a=i>0,s=a?r:n,o=a?n:r,c=!!s.prerelease.length;if(!!o.prerelease.length&&!c){if(!o.patch&&!o.minor)return"major";if(o.compareMain(s)===0){if(o.minor&&!o.patch)return"minor";return"patch"}}let m=c?"pre":"";if(r.major!==n.major)return m+"major";if(r.minor!==n.minor)return m+"minor";if(r.patch!==n.patch)return m+"patch";return"prerelease"};ur.exports=Zi});var hr=b(function(Yl,fr){var ea=B(),ta=(e,t)=>new ea(e,t).major;fr.exports=ta});var br=b(function(Ql,yr){var ra=B(),na=(e,t)=>new ra(e,t).minor;yr.exports=na});var vr=b(function(Jl,xr){var ia=B(),aa=(e,t)=>new ia(e,t).patch;xr.exports=aa});var wr=b(function(Zl,kr){var sa=W(),oa=(e,t)=>{let r=sa(e,t);return r&&r.prerelease.length?r.prerelease:null};kr.exports=oa});var G=b(function(ec,Rr){var Nr=B(),la=(e,t,r)=>new Nr(e,r).compare(new Nr(t,r));Rr.exports=la});var Sr=b(function(tc,Er){var ca=G(),da=(e,t,r)=>ca(t,e,r);Er.exports=da});var Lr=b(function(rc,Cr){var ma=G(),pa=(e,t)=>ma(e,t,!0);Cr.exports=pa});var we=b(function(nc,Ar){var Ir=B(),ua=(e,t,r)=>{let n=new Ir(e,r),i=new Ir(t,r);return n.compare(i)||n.compareBuild(i)};Ar.exports=ua});var $r=b(function(ic,Tr){var ga=we(),fa=(e,t)=>e.sort((r,n)=>ga(r,n,t));Tr.exports=fa});var Mr=b(function(ac,Or){var ha=we(),ya=(e,t)=>e.sort((r,n)=>ha(n,r,t));Or.exports=ya});var ce=b(function(sc,Br){var ba=G(),xa=(e,t,r)=>ba(e,t,r)>0;Br.exports=xa});var Ne=b(function(oc,Pr){var va=G(),ka=(e,t,r)=>va(e,t,r)<0;Pr.exports=ka});var Ue=b(function(lc,qr){var wa=G(),Na=(e,t,r)=>wa(e,t,r)===0;qr.exports=Na});var Ve=b(function(cc,jr){var Ra=G(),Ea=(e,t,r)=>Ra(e,t,r)!==0;jr.exports=Ea});var Re=b(function(dc,Fr){var Sa=G(),Ca=(e,t,r)=>Sa(e,t,r)>=0;Fr.exports=Ca});var Ee=b(function(mc,Gr){var La=G(),Ia=(e,t,r)=>La(e,t,r)<=0;Gr.exports=Ia});var He=b(function(pc,_r){var Aa=Ue(),Ta=Ve(),$a=ce(),Oa=Re(),Ma=Ne(),Ba=Ee(),Pa=(e,t,r,n)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return Aa(e,r,n);case"!=":return Ta(e,r,n);case">":return $a(e,r,n);case">=":return Oa(e,r,n);case"<":return Ma(e,r,n);case"<=":return Ba(e,r,n);default:throw TypeError(`Invalid operator: ${t}`)}};_r.exports=Pa});var zr=b(function(uc,Dr){var qa=B(),ja=W(),{safeRe:Se,t:Ce}=ie(),Fa=(e,t)=>{if(e instanceof qa)return e;if(typeof e==="number")e=String(e);if(typeof e!=="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?Se[Ce.COERCEFULL]:Se[Ce.COERCE]);else{let c=t.includePrerelease?Se[Ce.COERCERTLFULL]:Se[Ce.COERCERTL],d;while((d=c.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||d.index+d[0].length!==r.index+r[0].length)r=d;c.lastIndex=d.index+d[1].length+d[2].length}c.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",a=r[4]||"0",s=t.includePrerelease&&r[5]?`-${r[5]}`:"",o=t.includePrerelease&&r[6]?`+${r[6]}`:"";return ja(`${n}.${i}.${a}${s}${o}`,t)};Dr.exports=Fa});var Vr=b(function(gc,Ur){var Ga=W(),_a=ne(),Da=B(),za=(e,t,r)=>{if(!_a.RELEASE_TYPES.includes(t))return null;let n=Ua(e,r);return n&&Va(n,t)},Ua=(e,t)=>{let r=e instanceof Da?e.version:e;return Ga(r,t)},Va=(e,t)=>{if(Ha(t))return e.version;switch(e.prerelease=[],t){case"major":e.minor=0,e.patch=0;break;case"minor":e.patch=0;break}return e.format()},Ha=(e)=>e.startsWith("pre");Ur.exports=za});var Kr=b(function(fc,Xr){class Hr{constructor(){this.max=1000,this.map=new Map}get(e){let t=this.map.get(e);if(t===void 0)return;else return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,t)}return this}}Xr.exports=Hr});var _=b(function(hc,Jr){var Xa=/\s+/g;class de{constructor(e,t){if(t=Wa(t),e instanceof de)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else return new de(e.raw,t);if(e instanceof Xe)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(Xa," "),this.set=this.raw.split("||").map((r)=>this.parseRange(r.trim())).filter((r)=>r.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let r=this.set[0];if(this.set=this.set.filter((n)=>!Yr(n[0])),this.set.length===0)this.set=[r];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&is(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){if(e>0)this.formatted+="||";let t=this.set[e];for(let r=0;r<t.length;r++){if(r>0)this.formatted+=" ";this.formatted+=t[r].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(ns,"");let r=((this.options.includePrerelease&&ts)|(this.options.loose&&rs))+":"+e,n=Wr.get(r);if(n)return n;let i=this.options.loose,a=i?q[P.HYPHENRANGELOOSE]:q[P.HYPHENRANGE];e=e.replace(a,fs(this.options.includePrerelease)),R("hyphen replace",e),e=e.replace(q[P.COMPARATORTRIM],Ja),R("comparator trim",e),e=e.replace(q[P.TILDETRIM],Za),R("tilde trim",e),e=e.replace(q[P.CARETTRIM],es),R("caret trim",e);let s=e.split(" ").map((m)=>as(m,this.options)).join(" ").split(/\s+/).map((m)=>gs(m,this.options));if(i)s=s.filter((m)=>(R("loose invalid filter",m,this.options),!!m.match(q[P.COMPARATORLOOSE])));R("range list",s);let o=new Map,c=s.map((m)=>new Xe(m,this.options));for(let m of c){if(Yr(m))return[m];o.set(m.value,m)}if(o.size>1&&o.has(""))o.delete("");let d=[...o.values()];return Wr.set(r,d),d}intersects(e,t){if(!(e instanceof de))throw TypeError("a Range is required");return this.set.some((r)=>Qr(r,t)&&e.set.some((n)=>Qr(n,t)&&r.every((i)=>n.every((a)=>i.intersects(a,t)))))}test(e){if(!e)return!1;if(typeof e==="string")try{e=new Ya(e,this.options)}catch(t){return!1}for(let t=0;t<this.set.length;t++)if(hs(this.set[t],e,this.options))return!0;return!1}}Jr.exports=de;var Ka=Kr(),Wr=new Ka,Wa=ye(),Xe=me(),R=le(),Ya=B(),{safeRe:q,src:Qa,t:P,comparatorTrimReplace:Ja,tildeTrimReplace:Za,caretTrimReplace:es}=ie(),{FLAG_INCLUDE_PRERELEASE:ts,FLAG_LOOSE:rs}=ne(),ns=new RegExp(Qa[P.BUILD],"g"),Yr=(e)=>e.value==="<0.0.0-0",is=(e)=>e.value==="",Qr=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();while(r&&n.length)r=n.every((a)=>i.intersects(a,t)),i=n.pop();return r},as=(e,t)=>(e=e.replace(q[P.BUILD],""),R("comp",e,t),e=cs(e,t),R("caret",e),e=os(e,t),R("tildes",e),e=ms(e,t),R("xrange",e),e=us(e,t),R("stars",e),e),O=(e)=>!e||e.toLowerCase()==="x"||e==="*",ss=(e,t,r)=>O(e)&&!O(t)||O(t)&&r&&!O(r),os=(e,t)=>e.trim().split(/\s+/).map((r)=>ls(r,t)).join(" "),ls=(e,t)=>{let r=t.loose?q[P.TILDELOOSE]:q[P.TILDE],n=t.includePrerelease?"-0":"";return e.replace(r,(i,a,s,o,c)=>{R("tilde",e,i,a,s,o,c);let d;if(O(a))d="";else if(O(s))d=`>=${a}.0.0${n} <${+a+1}.0.0-0`;else if(O(o))d=`>=${a}.${s}.0${n} <${a}.${+s+1}.0-0`;else if(c)R("replaceTilde pr",c),d=`>=${a}.${s}.${o}-${c} <${a}.${+s+1}.0-0`;else d=`>=${a}.${s}.${o} <${a}.${+s+1}.0-0`;return R("tilde return",d),d})},cs=(e,t)=>e.trim().split(/\s+/).map((r)=>ds(r,t)).join(" "),ds=(e,t)=>{R("caret",e,t);let r=t.loose?q[P.CARETLOOSE]:q[P.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(i,a,s,o,c)=>{R("caret",e,i,a,s,o,c);let d;if(O(a))d="";else if(O(s))d=`>=${a}.0.0${n} <${+a+1}.0.0-0`;else if(O(o))if(a==="0")d=`>=${a}.${s}.0${n} <${a}.${+s+1}.0-0`;else d=`>=${a}.${s}.0${n} <${+a+1}.0.0-0`;else if(c)if(R("replaceCaret pr",c),a==="0")if(s==="0")d=`>=${a}.${s}.${o}-${c} <${a}.${s}.${+o+1}-0`;else d=`>=${a}.${s}.${o}-${c} <${a}.${+s+1}.0-0`;else d=`>=${a}.${s}.${o}-${c} <${+a+1}.0.0-0`;else if(R("no pr"),a==="0")if(s==="0")d=`>=${a}.${s}.${o} <${a}.${s}.${+o+1}-0`;else d=`>=${a}.${s}.${o} <${a}.${+s+1}.0-0`;else d=`>=${a}.${s}.${o} <${+a+1}.0.0-0`;return R("caret return",d),d})},ms=(e,t)=>(R("replaceXRanges",e,t),e.split(/\s+/).map((r)=>ps(r,t)).join(" ")),ps=(e,t)=>{e=e.trim();let r=t.loose?q[P.XRANGELOOSE]:q[P.XRANGE];return e.replace(r,(n,i,a,s,o,c)=>{if(R("xRange",e,n,i,a,s,o,c),ss(a,s,o))return e;let d=O(a),m=d||O(s),y=m||O(o),N=y;if(i==="="&&N)i="";if(c=t.includePrerelease?"-0":"",d)if(i===">"||i==="<")n="<0.0.0-0";else n="*";else if(i&&N){if(m)s=0;if(o=0,i===">")if(i=">=",m)a=+a+1,s=0,o=0;else s=+s+1,o=0;else if(i==="<=")if(i="<",m)a=+a+1;else s=+s+1;if(i==="<")c="-0";n=`${i+a}.${s}.${o}${c}`}else if(m)n=`>=${a}.0.0${c} <${+a+1}.0.0-0`;else if(y)n=`>=${a}.${s}.0${c} <${a}.${+s+1}.0-0`;return R("xRange return",n),n})},us=(e,t)=>(R("replaceStars",e,t),e.trim().replace(q[P.STAR],"")),gs=(e,t)=>(R("replaceGTE0",e,t),e.trim().replace(q[t.includePrerelease?P.GTE0PRE:P.GTE0],"")),fs=(e)=>(t,r,n,i,a,s,o,c,d,m,y,N)=>{if(O(n))r="";else if(O(i))r=`>=${n}.0.0${e?"-0":""}`;else if(O(a))r=`>=${n}.${i}.0${e?"-0":""}`;else if(s)r=`>=${r}`;else r=`>=${r}${e?"-0":""}`;if(O(d))c="";else if(O(m))c=`<${+d+1}.0.0-0`;else if(O(y))c=`<${d}.${+m+1}.0-0`;else if(N)c=`<=${d}.${m}.${y}-${N}`;else if(e)c=`<${d}.${m}.${+y+1}-0`;else c=`<=${c}`;return`${r} ${c}`.trim()},hs=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++){if(R(e[n].semver),e[n].semver===Xe.ANY)continue;if(e[n].semver.prerelease.length>0){let i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}}return!1}return!0}});var me=b(function(yc,an){var pe=Symbol("SemVer ANY");class Le{static get ANY(){return pe}constructor(e,t){if(t=Zr(t),e instanceof Le)if(e.loose===!!t.loose)return e;else e=e.value;if(e=e.trim().split(/\s+/).join(" "),We("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===pe)this.value="";else this.value=this.operator+this.semver.version;We("comp",this)}parse(e){let t=this.options.loose?en[tn.COMPARATORLOOSE]:en[tn.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);if(this.operator=r[1]!==void 0?r[1]:"",this.operator==="=")this.operator="";if(!r[2])this.semver=pe;else this.semver=new rn(r[2],this.options.loose)}toString(){return this.value}test(e){if(We("Comparator.test",e,this.options.loose),this.semver===pe||e===pe)return!0;if(typeof e==="string")try{e=new rn(e,this.options)}catch(t){return!1}return Ke(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Le))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new nn(e.value,t).test(this.value)}else if(e.operator===""){if(e.value==="")return!0;return new nn(this.value,t).test(e.semver)}if(t=Zr(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0"))return!1;if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&e.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&e.operator.startsWith("<"))return!0;if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("="))return!0;if(Ke(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))return!0;if(Ke(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))return!0;return!1}}an.exports=Le;var Zr=ye(),{safeRe:en,t:tn}=ie(),Ke=He(),We=le(),rn=B(),nn=_()});var ue=b(function(bc,sn){var ys=_(),bs=(e,t,r)=>{try{t=new ys(t,r)}catch(n){return!1}return t.test(e)};sn.exports=bs});var ln=b(function(xc,on){var xs=_(),vs=(e,t)=>new xs(e,t).set.map((r)=>r.map((n)=>n.value).join(" ").trim().split(" "));on.exports=vs});var dn=b(function(vc,cn){var ks=B(),ws=_(),Ns=(e,t,r)=>{let n=null,i=null,a=null;try{a=new ws(t,r)}catch(s){return null}return e.forEach((s)=>{if(a.test(s)){if(!n||i.compare(s)===-1)n=s,i=new ks(n,r)}}),n};cn.exports=Ns});var pn=b(function(kc,mn){var Rs=B(),Es=_(),Ss=(e,t,r)=>{let n=null,i=null,a=null;try{a=new Es(t,r)}catch(s){return null}return e.forEach((s)=>{if(a.test(s)){if(!n||i.compare(s)===1)n=s,i=new Rs(n,r)}}),n};mn.exports=Ss});var fn=b(function(wc,gn){var Ye=B(),Cs=_(),un=ce(),Ls=(e,t)=>{e=new Cs(e,t);let r=new Ye("0.0.0");if(e.test(r))return r;if(r=new Ye("0.0.0-0"),e.test(r))return r;r=null;for(let n=0;n<e.set.length;++n){let i=e.set[n],a=null;if(i.forEach((s)=>{let o=new Ye(s.semver.version);switch(s.operator){case">":if(o.prerelease.length===0)o.patch++;else o.prerelease.push(0);o.raw=o.format();case"":case">=":if(!a||un(o,a))a=o;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${s.operator}`)}}),a&&(!r||un(r,a)))r=a}if(r&&e.test(r))return r;return null};gn.exports=Ls});var yn=b(function(Nc,hn){var Is=_(),As=(e,t)=>{try{return new Is(e,t).range||"*"}catch(r){return null}};hn.exports=As});var Ie=b(function(Rc,kn){var Ts=B(),vn=me(),{ANY:$s}=vn,Os=_(),Ms=ue(),bn=ce(),xn=Ne(),Bs=Ee(),Ps=Re(),qs=(e,t,r,n)=>{e=new Ts(e,n),t=new Os(t,n);let i,a,s,o,c;switch(r){case">":i=bn,a=Bs,s=xn,o=">",c=">=";break;case"<":i=xn,a=Ps,s=bn,o="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(Ms(e,t,n))return!1;for(let d=0;d<t.set.length;++d){let m=t.set[d],y=null,N=null;if(m.forEach((h)=>{if(h.semver===$s)h=new vn(">=0.0.0");if(y=y||h,N=N||h,i(h.semver,y.semver,n))y=h;else if(s(h.semver,N.semver,n))N=h}),y.operator===o||y.operator===c)return!1;if((!N.operator||N.operator===o)&&a(e,N.semver))return!1;else if(N.operator===c&&s(e,N.semver))return!1}return!0};kn.exports=qs});var Nn=b(function(Ec,wn){var js=Ie(),Fs=(e,t,r)=>js(e,t,">",r);wn.exports=Fs});var En=b(function(Sc,Rn){var Gs=Ie(),_s=(e,t,r)=>Gs(e,t,"<",r);Rn.exports=_s});var Ln=b(function(Cc,Cn){var Sn=_(),Ds=(e,t,r)=>(e=new Sn(e,r),t=new Sn(t,r),e.intersects(t,r));Cn.exports=Ds});var An=b(function(Lc,In){var zs=ue(),Us=G();In.exports=(e,t,r)=>{let n=[],i=null,a=null,s=e.sort((m,y)=>Us(m,y,r));for(let m of s)if(zs(m,t,r)){if(a=m,!i)i=m}else{if(a)n.push([i,a]);a=null,i=null}if(i)n.push([i,null]);let o=[];for(let[m,y]of n)if(m===y)o.push(m);else if(!y&&m===s[0])o.push("*");else if(!y)o.push(`>=${m}`);else if(m===s[0])o.push(`<=${y}`);else o.push(`${m} - ${y}`);let c=o.join(" || "),d=typeof t.raw==="string"?t.raw:String(t);return c.length<d.length?c:t}});var Pn=b(function(Ic,Bn){var Tn=_(),Ze=me(),{ANY:Qe}=Ze,Je=ue(),et=G(),Vs=(e,t,r={})=>{if(e===t)return!0;e=new Tn(e,r),t=new Tn(t,r);let n=!1;e:for(let i of e.set){for(let a of t.set){let s=Xs(i,a,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},Hs=[new Ze(">=0.0.0-0")],$n=[new Ze(">=0.0.0")],Xs=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Qe)if(t.length===1&&t[0].semver===Qe)return!0;else if(r.includePrerelease)e=Hs;else e=$n;if(t.length===1&&t[0].semver===Qe)if(r.includePrerelease)return!0;else t=$n;let n=new Set,i,a;for(let h of e)if(h.operator===">"||h.operator===">=")i=On(i,h,r);else if(h.operator==="<"||h.operator==="<=")a=Mn(a,h,r);else n.add(h.semver);if(n.size>1)return null;let s;if(i&&a){if(s=et(i.semver,a.semver,r),s>0)return null;else if(s===0&&(i.operator!==">="||a.operator!=="<="))return null}for(let h of n){if(i&&!Je(h,String(i),r))return null;if(a&&!Je(h,String(a),r))return null;for(let Fe of t)if(!Je(h,String(Fe),r))return!1;return!0}let o,c,d,m,y=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,N=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;if(y&&y.prerelease.length===1&&a.operator==="<"&&y.prerelease[0]===0)y=!1;for(let h of t){if(m=m||h.operator===">"||h.operator===">=",d=d||h.operator==="<"||h.operator==="<=",i){if(N){if(h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===N.major&&h.semver.minor===N.minor&&h.semver.patch===N.patch)N=!1}if(h.operator===">"||h.operator===">="){if(o=On(i,h,r),o===h&&o!==i)return!1}else if(i.operator===">="&&!h.test(i.semver))return!1}if(a){if(y){if(h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===y.major&&h.semver.minor===y.minor&&h.semver.patch===y.patch)y=!1}if(h.operator==="<"||h.operator==="<="){if(c=Mn(a,h,r),c===h&&c!==a)return!1}else if(a.operator==="<="&&!h.test(a.semver))return!1}if(!h.operator&&(a||i)&&s!==0)return!1}if(i&&d&&!a&&s!==0)return!1;if(a&&m&&!i&&s!==0)return!1;if(N||y)return!1;return!0},On=(e,t,r)=>{if(!e)return t;let n=et(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e},Mn=(e,t,r)=>{if(!e)return t;let n=et(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};Bn.exports=Vs});var Gn=b(function(Ac,Fn){var tt=ie(),qn=ne(),Ks=B(),jn=De(),Ws=W(),Ys=sr(),Qs=lr(),Js=mr(),Zs=gr(),eo=hr(),to=br(),ro=vr(),no=wr(),io=G(),ao=Sr(),so=Lr(),oo=we(),lo=$r(),co=Mr(),mo=ce(),po=Ne(),uo=Ue(),go=Ve(),fo=Re(),ho=Ee(),yo=He(),bo=zr(),xo=Vr(),vo=me(),ko=_(),wo=ue(),No=ln(),Ro=dn(),Eo=pn(),So=fn(),Co=yn(),Lo=Ie(),Io=Nn(),Ao=En(),To=Ln(),$o=An(),Oo=Pn();Fn.exports={parse:Ws,valid:Ys,clean:Qs,inc:Js,diff:Zs,major:eo,minor:to,patch:ro,prerelease:no,compare:io,rcompare:ao,compareLoose:so,compareBuild:oo,sort:lo,rsort:co,gt:mo,lt:po,eq:uo,neq:go,gte:fo,lte:ho,cmp:yo,coerce:bo,truncate:xo,Comparator:vo,Range:ko,satisfies:wo,toComparators:No,maxSatisfying:Ro,minSatisfying:Eo,minVersion:So,validRange:Co,outside:Lo,gtr:Io,ltr:Ao,intersects:To,simplifyRange:$o,subset:Oo,SemVer:Ks,re:tt.re,src:tt.src,tokens:tt.t,SEMVER_SPEC_VERSION:qn.SEMVER_SPEC_VERSION,RELEASE_TYPES:qn.RELEASE_TYPES,compareIdentifiers:jn.compareIdentifiers,rcompareIdentifiers:jn.rcompareIdentifiers}});var Mo=Li(Gn(),1);function _n(e){return e}function Dn(e){return e}function rt(e){return e}import{defineRendererCapabilityContribution as Bl,ReactRegistry as Pl,composeRegistry as ql}from"@uibot/renderer-react";import{jsx as qo}from"react/jsx-runtime";function Bo(...e){return e.filter(Boolean).join(" ")}var zn={"1":"grid-cols-1","2":"grid-cols-2","3":"grid-cols-3","4":"grid-cols-4","5":"grid-cols-5","6":"grid-cols-6",auto:"grid-cols-[repeat(auto-fit,minmax(220px,1fr))]"},Po={"2":"grid-cols-1 sm:grid-cols-2","3":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3","4":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4","5":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5","6":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"},Un={none:"gap-0",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8"},nt=(e,t)=>{let r=String(e.cols??"auto"),i=e.responsive===!0&&Po[r]||zn[r]||zn.auto,a=Un[typeof e.gap==="string"?e.gap:""]??Un.md,s=typeof e.align==="string"?`items-${e.align}`:"",o=typeof e.justify==="string"?`justify-${e.justify}`:"",c=typeof e.className==="string"?e.className:"";return qo("div",{className:Bo("uibot-grid grid",i,a,s,o,c),"data-uibot-type":"Grid",role:"group","aria-label":"Grid layout",children:t.children})};import{jsx as Z,jsxs as Te}from"react/jsx-runtime";function jo(...e){return e.filter(Boolean).join(" ")}function Fo(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(!t||typeof t!=="object")return null;let r=t,n=Array.isArray(r.points)?r.points.map((i)=>typeof i==="number"?i:Number(i)||0):[];return{name:typeof r.name==="string"?r.name:void 0,points:n,area:r.area===!0}}).filter((t)=>t!==null&&t.points.length>0)}var D=8;function Go(e,t,r,n,i){let a=i-n||1,s=t-D*2,o=r-D*2,c=e.length>1?s/(e.length-1):0;return e.map((d,m)=>{let y=D+c*m,N=D+o-(d-n)/a*o;return`${y.toFixed(1)},${N.toFixed(1)}`}).join(" ")}var Ae=["text-primary","text-sky-500","text-emerald-500","text-amber-500"],$e=(e)=>{let t=Fo(e.series),r=typeof e.title==="string"?e.title:"",n=typeof e.width==="number"?e.width:480,i=typeof e.height==="number"?e.height:160,a=t.flatMap((c)=>c.points),s=a.length?Math.min(...a):0,o=a.length?Math.max(...a):1;return Te("div",{className:"uibot-trendchart bg-card text-card-foreground rounded-xl border p-4 shadow-sm","data-uibot-type":"TrendChart",children:[r&&Z("h3",{className:"mb-2 text-sm font-medium",children:r}),t.length===0?Z("p",{className:"py-6 text-center text-sm text-muted-foreground",children:"No data"}):Te("svg",{viewBox:`0 0 ${n} ${i}`,className:"h-auto w-full",role:"img","aria-label":r||"Trend chart",preserveAspectRatio:"none",children:[[0,0.25,0.5,0.75,1].map((c)=>{let d=D+(i-D*2)*c;return Z("line",{x1:D,x2:n-D,y1:d,y2:d,className:"text-border",stroke:"currentColor",strokeWidth:0.5},c)}),t.map((c,d)=>{let m=Go(c.points,n,i,s,o),y=Ae[d%Ae.length];return Te("g",{className:y,children:[c.area&&Z("polygon",{fill:"currentColor",fillOpacity:0.12,points:`${D},${i-D} ${m} ${n-D},${i-D}`}),Z("polyline",{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",points:m})]},d)})]}),t.some((c)=>c.name)&&Z("ul",{className:"mt-3 flex flex-wrap gap-4",children:t.map((c,d)=>Te("li",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[Z("span",{className:jo("h-2 w-2 rounded-full bg-current",Ae[d%Ae.length])}),c.name??`Series ${d+1}`]},d))})]})},it=$e;import{jsx as Y,jsxs as ge}from"react/jsx-runtime";function _o(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(!t||typeof t!=="object")return null;let r=t,n=typeof r.id==="string"?r.id:null;if(!n)return null;return{id:n,title:typeof r.title==="string"?r.title:n}}).filter((t)=>t!==null)}function Do(e){if(!Array.isArray(e))return[];return e.map((t,r)=>{if(!t||typeof t!=="object")return null;let n=t,i=typeof n.column==="string"?n.column:null;if(!i)return null;return{id:typeof n.id==="string"?n.id:`card-${r}`,column:i,title:typeof n.title==="string"?n.title:"",subtitle:typeof n.subtitle==="string"?n.subtitle:void 0,badge:typeof n.badge==="string"?n.badge:void 0}}).filter((t)=>t!==null)}var Vn=["var(--marketing-accent)","var(--mk-accent-2)","var(--mk-accent-3)","var(--mk-accent-4)"],Hn={fontFamily:"var(--font-marketing-mono)"},zo={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4"},at=(e)=>{let t=_o(e.columns),r=Do(e.cards),n=zo[t.length];return Y("div",{className:n?`uibot-kanban grid ${n} gap-3 pb-1`:"uibot-kanban grid auto-cols-[minmax(240px,1fr)] grid-flow-col gap-3 overflow-x-auto pb-2","data-uibot-type":"KanbanBoard",role:"region","aria-label":"Kanban board",children:t.map((i,a)=>{let s=Vn[a%Vn.length],o=r.filter((c)=>c.column===i.id);return ge("div",{className:"flex min-h-[7rem] flex-col rounded-lg border bg-muted/25 p-2.5",children:[ge("h4",{className:"mb-2.5 flex items-center gap-1.5 px-1 text-[0.65rem] font-medium uppercase tracking-[0.12em] text-muted-foreground",style:Hn,children:[Y("span",{"aria-hidden":"true",className:"size-1.5 shrink-0 rounded-full",style:{background:s,boxShadow:`0 0 0 3px color-mix(in oklch, ${s} 20%, transparent)`}}),Y("span",{className:"truncate",children:i.title}),Y("span",{className:"ml-auto shrink-0 rounded-full border bg-background/70 px-1.5 py-px text-[0.6rem] text-muted-foreground/80",children:o.length})]}),ge("div",{className:"space-y-2",children:[o.map((c)=>ge("div",{className:"rounded-md border bg-card p-3 shadow-sm transition-all duration-200 hover:-translate-y-0.5 hover:border-[color-mix(in_oklch,var(--marketing-accent)_38%,var(--border))] hover:shadow-md","data-uibot-card":c.id,children:[ge("div",{className:"flex items-start justify-between gap-2",children:[Y("p",{className:"text-sm font-medium leading-snug text-foreground",children:c.title}),c.badge&&Y("span",{className:"shrink-0 rounded-full border bg-muted/50 px-1.5 py-px text-[0.6rem] font-medium tracking-wide text-muted-foreground",style:Hn,children:c.badge})]}),c.subtitle&&Y("p",{className:"mt-1.5 truncate text-[0.6875rem] text-muted-foreground/90",children:c.subtitle})]},c.id)),o.length===0&&Y("p",{className:"rounded-md border border-dashed py-4 text-center text-xs text-muted-foreground",children:"Empty"})]})]},i.id)})})};import{jsx as L,jsxs as V}from"react/jsx-runtime";function fe(...e){return e.filter(Boolean).join(" ")}var Xn={"1":"grid-cols-1","2":"grid-cols-1 sm:grid-cols-2","3":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3","4":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4",auto:"grid-cols-[repeat(auto-fit,minmax(180px,1fr))]"};function Uo(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({label:typeof t.label==="string"?t.label:void 0,value:t.value,change:typeof t.change==="string"?t.change:void 0,trend:t.trend==="up"||t.trend==="down"?t.trend:void 0,description:typeof t.description==="string"?t.description:void 0}))}var st=(e,t)=>{let r=String(e.cols??"auto"),n=Xn[r]??Xn.auto,i=t.children,a=Uo(e.items);return L("div",{className:fe("uibot-stat-grid grid gap-4",n),"data-uibot-type":"StatGrid",children:i.length>0?i:a.map((s,o)=>V("div",{className:"bg-card text-card-foreground rounded-xl border p-5 shadow-sm",children:[L("p",{className:"text-sm font-medium text-muted-foreground",children:s.label??"Stat"}),L("p",{className:"mt-1.5 text-3xl font-bold tracking-tight",children:s.value!==void 0?String(s.value):"\u2014"}),(s.change||s.description)&&V("div",{className:"mt-1.5 flex items-center gap-1.5",children:[s.change&&L("span",{className:fe("text-xs font-medium",s.trend==="up"?"text-green-600":s.trend==="down"?"text-destructive":"text-muted-foreground"),children:s.change}),s.description&&L("span",{className:"text-xs text-muted-foreground",children:s.description})]})]},o))})},Vo={info:"border-l-sky-500",warn:"border-l-amber-500",error:"border-l-destructive"},Ho={info:"\u2139",warn:"\u26A0",error:"\u2715"},Xo={info:"text-sky-500",warn:"text-amber-500",error:"text-destructive"};function Ko(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({level:t.level==="warn"||t.level==="error"?t.level:"info",title:typeof t.title==="string"?t.title:"",detail:typeof t.detail==="string"?t.detail:void 0}))}var ot=(e)=>{let t=Ko(e.items);return V("ul",{className:"uibot-diagnostics space-y-2","data-uibot-type":"DiagnosticsList",children:[t.map((r,n)=>V("li",{className:fe("flex gap-3 rounded-md border border-l-4 bg-card p-3",Vo[r.level]),children:[L("span",{className:fe("text-sm leading-5",Xo[r.level]),"aria-hidden":"true",children:Ho[r.level]}),V("div",{className:"min-w-0",children:[L("p",{className:"text-sm font-medium text-foreground",children:r.title}),r.detail&&L("p",{className:"text-xs text-muted-foreground",children:r.detail})]})]},n)),t.length===0&&L("li",{className:"rounded-md border border-dashed py-6 text-center text-sm text-muted-foreground",children:"No diagnostics"})]})};function Kn(e){return Array.isArray(e)?e.map((t)=>String(t)):[]}function Wo(e){if(!Array.isArray(e))return[];return e.map((t)=>Array.isArray(t)?t.map((r)=>typeof r==="number"?r:Number(r)||0):[])}var Oe=(e)=>{let t=Kn(e.rows),r=Kn(e.cols),n=Wo(e.cells),i=typeof e.caption==="string"?e.caption:void 0,a=e.showValues===!0;return L("div",{className:"uibot-matrix w-full overflow-auto rounded-lg border","data-uibot-type":"Matrix",children:V("table",{className:"w-full border-collapse text-sm","aria-label":i,children:[i&&L("caption",{className:"py-2 text-sm text-muted-foreground",children:i}),L("thead",{children:V("tr",{children:[L("th",{className:"bg-muted/50 px-3 py-2"}),r.map((s,o)=>L("th",{scope:"col",className:"bg-muted/50 px-3 py-2 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:s},o))]})}),L("tbody",{children:t.map((s,o)=>V("tr",{children:[L("th",{scope:"row",className:"whitespace-nowrap bg-muted/30 px-3 py-2 text-left text-xs font-medium text-muted-foreground",children:s}),r.map((c,d)=>{let m=Math.max(0,Math.min(1,n[o]?.[d]??0));return L("td",{className:"px-3 py-2 text-center text-xs tabular-nums",title:String(m),style:{backgroundColor:`color-mix(in srgb, var(--primary) ${(m*100).toFixed(0)}%, transparent)`},children:a?m.toFixed(2):""},d)})]},o))})]})})},lt=Oe,Yo={ok:"bg-primary",warn:"bg-amber-500",error:"bg-destructive"};function Qo(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>{let r=t.status==="warn"||t.status==="error"||t.status==="ok"?t.status:void 0;return{time:typeof t.time==="string"?t.time:"",title:typeof t.title==="string"?t.title:"",desc:typeof t.desc==="string"?t.desc:void 0,status:r}})}var ct=(e)=>{let t=Qo(e.items);return V("ol",{className:"uibot-timeline relative space-y-4 border-l pl-5","data-uibot-type":"TimelineList",children:[t.map((r,n)=>V("li",{className:"relative",children:[L("span",{className:fe("absolute -left-[23px] top-1 h-2.5 w-2.5 rounded-full ring-2 ring-background",Yo[r.status??"ok"]),"aria-hidden":"true"}),V("div",{className:"flex items-baseline gap-2",children:[L("p",{className:"text-sm font-medium text-foreground",children:r.title}),r.time&&L("span",{className:"text-xs text-muted-foreground",children:r.time})]}),r.desc&&L("p",{className:"mt-0.5 text-xs text-muted-foreground",children:r.desc})]},n)),t.length===0&&L("li",{className:"text-sm text-muted-foreground",children:"No events"})]})};import{jsx as I,jsxs as Q}from"react/jsx-runtime";function ee(...e){return e.filter(Boolean).join(" ")}function Jn(e,t){return[{action:"SetState",params:{path:e,value:t}}]}function Jo(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({key:typeof t.key==="string"?t.key:"",label:typeof t.label==="string"?t.label:"",align:t.align==="right"||t.align==="center"?t.align:"left"})).filter((t)=>t.key)}function Zo(e){return Array.isArray(e)?e.filter((t)=>Boolean(t)&&typeof t==="object"):[]}var dt=(e,t)=>{let r=Jo(e.columns),n=Zo(e.rows),i=typeof e.searchKey==="string"?e.searchKey:"search",a=typeof e.placeholder==="string"?e.placeholder:"Search\u2026",s=typeof e.emptyText==="string"&&e.emptyText.trim()?e.emptyText:"No matching rows",o=String(t.resolve.getState(i)??"").toLowerCase(),c=o?n.filter((d)=>r.some((m)=>String(d[m.key]??"").toLowerCase().includes(o))):n;return Q("div",{className:"uibot-searchable-table space-y-3","data-uibot-type":"SearchableTable","data-empty":c.length===0,children:[I("input",{type:"search",defaultValue:o,placeholder:a,"aria-label":a,className:"h-9 w-full max-w-xs rounded-md border bg-background px-3 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring",onChange:(d)=>t.dispatch?.(Jn(i,d.currentTarget.value),{event:d})}),I("div",{className:"w-full overflow-auto rounded-lg border focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",role:"region","aria-label":"Table results",tabIndex:0,children:Q("table",{className:"w-full text-sm",children:[I("thead",{children:I("tr",{className:"border-b bg-muted/50",children:r.map((d)=>I("th",{scope:"col",className:ee("px-4 py-3 text-xs font-medium uppercase tracking-wide text-muted-foreground",d.align==="right"?"text-right":d.align==="center"?"text-center":"text-left"),children:d.label},d.key))})}),Q("tbody",{children:[c.map((d,m)=>I("tr",{className:"border-b transition-colors last:border-0 hover:bg-muted/30",children:r.map((y)=>I("td",{className:ee("px-4 py-3 text-foreground",y.align==="right"?"text-right":y.align==="center"?"text-center":""),children:String(d[y.key]??"")},y.key))},m)),c.length===0&&I("tr",{children:I("td",{colSpan:r.length||1,className:"px-4 py-10 text-center text-sm text-muted-foreground",children:s})})]})]})})]})};function el(e){if(!Array.isArray(e))return[];return e.map((t,r)=>{if(!t||typeof t!=="object")return null;let n=t;return{id:typeof n.id==="string"?n.id:`item-${r}`,title:typeof n.title==="string"?n.title:"",subtitle:typeof n.subtitle==="string"?n.subtitle:void 0}}).filter((t)=>t!==null)}var mt=(e,t)=>{let r=el(e.items),n=typeof e.selectKey==="string"?e.selectKey:"selectedId",i=String(t.resolve.getState(n)??r[0]?.id??""),a=t.slots.detail;return Q("div",{className:"uibot-split-master-detail grid gap-4 md:grid-cols-[minmax(220px,1fr)_2fr]","data-uibot-type":"SplitMasterDetail",children:[Q("ul",{className:"space-y-1 rounded-lg border bg-muted/20 p-2",role:"listbox","aria-label":"Items",children:[r.map((s)=>{let o=s.id===i;return I("li",{children:Q("button",{type:"button",role:"option","aria-selected":o,onClick:(c)=>t.dispatch?.(Jn(n,s.id),{event:c}),className:ee("w-full rounded-md px-3 py-2 text-left text-sm transition-colors",o?"bg-accent text-accent-foreground":"hover:bg-accent/50"),children:[I("span",{className:"block font-medium",children:s.title}),s.subtitle&&I("span",{className:"block text-xs text-muted-foreground",children:s.subtitle})]})},s.id)}),r.length===0&&I("li",{className:"px-3 py-4 text-center text-xs text-muted-foreground",children:"No items"})]}),I("div",{className:"rounded-lg border bg-card p-5",children:a&&a.length>0?a:t.children})]})},pt=(e)=>{let t=typeof e.label==="string"?e.label:"",r=e.value,n=e.inline===!0;return Q("div",{className:ee("uibot-detail-field",n?"flex items-baseline gap-2":"flex flex-col gap-0.5 py-1.5"),"data-uibot-type":"DetailField",children:[I("dt",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground",children:t}),I("dd",{className:"text-sm text-foreground",children:r===void 0||r===null||r===""?"\u2014":String(r)})]})},Wn={default:"bg-secondary text-secondary-foreground",success:"bg-green-100 text-green-700",warning:"bg-amber-100 text-amber-700",error:"bg-destructive/10 text-destructive",info:"bg-sky-100 text-sky-700"};function tl(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(typeof t==="string")return{label:t};if(t&&typeof t==="object"){let r=t,{tone:n,onClick:i}=r;return{label:typeof r.label==="string"?r.label:"",tone:n==="success"||n==="warning"||n==="error"||n==="info"?n:"default",onClick:Array.isArray(i)?i:void 0}}return null}).filter((t)=>t!==null&&t.label.length>0)}var Yn="inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium",ut=(e,t)=>{let r=tl(e.items);return I("div",{className:"uibot-badge-group flex flex-wrap items-center gap-1.5","data-uibot-type":"BadgeGroup",children:r.map((n,i)=>n.onClick?I("button",{type:"button",onClick:(a)=>t.dispatch?.(n.onClick,{event:a}),className:ee(Yn,"cursor-pointer",Wn[n.tone??"default"]),children:n.label},i):I("span",{className:ee(Yn,Wn[n.tone??"default"]),children:n.label},i))})};function rl(e){if(Array.isArray(e))return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({key:typeof t.key==="string"?t.key:"",value:t.value})).filter((t)=>t.key);if(e&&typeof e==="object")return Object.entries(e).map(([t,r])=>({key:t,value:r}));return[]}var Qn={"1":"sm:grid-cols-1","2":"sm:grid-cols-2","3":"sm:grid-cols-3"},gt=(e)=>{let t=rl(e.items??e.data),r=String(e.cols??"2"),n=Qn[r]??Qn["2"];return I("dl",{className:ee("uibot-key-value-grid grid grid-cols-1 gap-x-6 gap-y-2",n),"data-uibot-type":"KeyValueGrid",children:t.map((i,a)=>Q("div",{className:"flex flex-col gap-0.5 border-b border-dashed py-1.5 last:border-0",children:[I("dt",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground",children:i.key}),I("dd",{className:"text-sm text-foreground",children:i.value===void 0||i.value===null||i.value===""?"\u2014":String(i.value)})]},a))})};import{jsx as f,jsxs as E,Fragment as ae}from"react/jsx-runtime";function te(...e){return e.filter(Boolean).join(" ")}function S(e){return typeof e==="string"&&e.length>0?e:void 0}function ft(e){if(!e||typeof e!=="object")return;let t=e,r=S(t.label),n=S(t.href);if(!r)return;return{label:r,href:n??"#"}}var nl={sparkles:f("path",{d:"M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z"}),zap:f("path",{d:"M13 2 4 14h7l-1 8 9-12h-7z"}),layers:E(ae,{children:[f("path",{d:"m12 3 9 5-9 5-9-5 9-5z"}),f("path",{d:"m3 12 9 5 9-5"})]}),boxes:E(ae,{children:[f("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),f("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),f("rect",{x:"8.5",y:"14",width:"7",height:"7",rx:"1"})]}),code:f("path",{d:"m8 6-6 6 6 6M16 6l6 6-6 6"}),cpu:E(ae,{children:[f("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"}),f("path",{d:"M9 1v3M15 1v3M9 20v3M15 20v3M1 9h3M1 15h3M20 9h3M20 15h3"})]}),workflow:E(ae,{children:[f("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),f("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"}),f("path",{d:"M10 6.5h6a2 2 0 0 1 2 2V14"})]}),gauge:E(ae,{children:[f("path",{d:"M3 14a9 9 0 1 1 18 0"}),f("path",{d:"m13 12-3 3"})]}),shield:f("path",{d:"M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z"}),wand:f("path",{d:"m15 4 5 5M4 20 14 10M9 4l1 2 2 1-2 1-1 2-1-2-2-1 2-1z"})};function ei({name:e}){let t=e&&nl[e.toLowerCase()]||f("circle",{cx:"12",cy:"12",r:"3"});return f("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round",className:"size-5","aria-hidden":"true",children:t})}function ht({cta:e,variant:t}){let n={primary:"bg-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)] hover:bg-[var(--marketing-accent-strong)] focus-visible:ring-[var(--marketing-accent)]",outline:"border border-border bg-transparent text-foreground hover:border-[var(--marketing-accent)] hover:text-[var(--marketing-accent)] focus-visible:ring-border",inverse:"bg-gradient-to-r from-[var(--marketing-accent)] to-[var(--mk-accent-3)] text-[var(--marketing-accent-foreground)] hover:opacity-90 focus-visible:ring-[var(--marketing-accent)]"};return f("a",{href:e.href,className:te("inline-flex items-center justify-center gap-2 rounded-md px-5 py-2.5 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",n[t]),children:e.label})}var yt=(e,t)=>{let r=S(e.eyebrow),n=S(e.title)??"",i=S(e.titleEmphasis),a=S(e.subtitle),s=S(e.note),o=ft(e.primaryCta),c=ft(e.secondaryCta),d=t.slots.aside??t.children;return E("section",{className:"marketing mkt-hero relative px-6 py-20 md:px-10 md:py-28","data-uibot-type":"Hero",children:[f("span",{className:"mkt-hero-backdrop","aria-hidden":"true"}),f("span",{className:"mkt-grain","aria-hidden":"true"}),E("div",{className:"mx-auto grid max-w-6xl items-center gap-12 md:grid-cols-[1.15fr_0.85fr]",children:[E("div",{className:"max-w-2xl",children:[r&&f("p",{className:"mkt-eyebrow mkt-reveal mkt-reveal-1",children:r}),E("h1",{className:"mkt-reveal mkt-reveal-2 mt-5 text-5xl md:text-7xl",children:[n,i&&E(ae,{children:[" ",f("span",{className:"mkt-display-italic text-[var(--marketing-accent)]",children:i})]})]}),a&&f("p",{className:"mkt-reveal mkt-reveal-3 mt-6 max-w-xl text-lg leading-relaxed text-muted-foreground",children:a}),(o||c)&&E("div",{className:"mkt-reveal mkt-reveal-4 mt-8 flex flex-wrap items-center gap-3",children:[o&&f(ht,{cta:o,variant:"primary"}),c&&f(ht,{cta:c,variant:"outline"})]}),s&&f("p",{className:"mkt-reveal mkt-reveal-5 mt-6 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.18em] text-muted-foreground",children:s})]}),d&&d.length>0&&f("div",{className:"mkt-reveal mkt-reveal-4 hidden md:block",children:d})]})]})},bt=(e,t)=>{let r=S(e.title),n=S(e.variant),i=S(e.tone),a=Number(i),s=Number.isFinite(a)?(a%4+4)%4:0,o=t.slots.content??t.children;return E("div",{className:te("mkt-frame marketing",n==="tilt"&&"mkt-frame-tilt"),"data-uibot-type":"BrowserFrame",children:[E("div",{className:te("mkt-frame-chrome",`mkt-frame-tint-${s}`),children:[f("span",{className:"mkt-frame-dot mkt-frame-dot-r","aria-hidden":"true"}),f("span",{className:"mkt-frame-dot mkt-frame-dot-y","aria-hidden":"true"}),f("span",{className:"mkt-frame-dot mkt-frame-dot-g","aria-hidden":"true"}),f("span",{className:"mkt-frame-addr",children:r??"app.uibot.studio"})]}),f("div",{className:"mkt-frame-body",children:o})]})},xt=(e)=>{let t=S(e.sectionNo),r=S(e.eyebrow),n=S(e.title)??"",i=S(e.lead);return E("header",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"SectionHeader",children:[E("div",{className:"flex items-baseline gap-4",children:[t&&f("span",{className:"mkt-sectno text-4xl md:text-5xl",children:t}),E("div",{children:[r&&f("p",{className:"mkt-eyebrow",children:r}),f("h2",{className:"mt-2 text-3xl md:text-4xl",children:n})]})]}),i&&f("p",{className:"mt-4 max-w-2xl text-base leading-relaxed text-muted-foreground",children:i})]})};function il(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({icon:S(t.icon),title:S(t.title)??"",desc:S(t.desc)}))}var Zn={"2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3","4":"sm:grid-cols-2 lg:grid-cols-4"},vt=(e,t)=>{let r=il(e.items),n=String(e.cols??"3"),i=Zn[n]??Zn["3"],a=t.children;return f("div",{className:te("marketing mx-auto grid max-w-6xl gap-5 px-6 md:px-0 grid-cols-1",i),"data-uibot-type":"FeatureGrid",children:a.length>0?a:r.map((s,o)=>E("article",{className:te("mkt-card mkt-reveal p-6",`mkt-reveal-${Math.min(o+1,6)}`),children:[f("span",{className:te("inline-flex size-11 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${o%4}`),children:f(ei,{name:s.icon})}),f("h3",{className:"mt-5 text-xl",children:s.title}),s.desc&&f("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:s.desc})]},o))})},kt=(e,t)=>{let r=S(e.icon),n=S(e.title)??"",i=S(e.desc),a=Number(e.tint),s=Number.isFinite(a)?(a%4+4)%4:0,o=t.children;return E("article",{className:"mkt-card marketing p-6","data-uibot-type":"FeatureCard",children:[f("span",{className:te("inline-flex size-11 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${s}`),children:f(ei,{name:r})}),f("h3",{className:"mt-5 text-xl",children:n}),i&&f("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:i}),o.length>0&&f("div",{className:"mt-4",children:o})]})},wt=(e)=>{let t=S(e.title),r=S(e.code)??"",n=S(e.caption),i=r.replace(/\n$/,"").split(`
3
- `);return E("figure",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"CodeShowcase",children:[E("div",{className:"mkt-card overflow-hidden p-0",children:[E("div",{className:"flex items-center gap-2 border-b border-border bg-muted/40 px-4 py-2.5",children:[f("span",{className:"size-2.5 rounded-full bg-[color-mix(in_oklch,var(--destructive)_70%,transparent)]"}),f("span",{className:"size-2.5 rounded-full bg-[color-mix(in_oklch,var(--warning)_80%,transparent)]"}),f("span",{className:"size-2.5 rounded-full bg-[color-mix(in_oklch,var(--success)_70%,transparent)]"}),t&&f("span",{className:"ml-3 font-[family-name:var(--font-marketing-mono)] text-xs text-muted-foreground",children:t})]}),f("pre",{className:"overflow-x-auto bg-card px-0 py-4 text-[0.8125rem] leading-relaxed",children:f("code",{className:"font-[family-name:var(--font-marketing-mono)]",children:i.map((a,s)=>E("div",{className:"grid grid-cols-[2.5rem_1fr] hover:bg-muted/30",children:[f("span",{className:"select-none px-2 text-right text-muted-foreground/50 tabular-nums",children:s+1}),f("span",{className:"whitespace-pre px-2 text-foreground",children:a||" "})]},s))})})]}),n&&f("figcaption",{className:"mt-3 text-center text-sm text-muted-foreground",children:n})]})},Nt=(e)=>{let t=S(e.title)??"",r=S(e.subtitle),n=ft(e.cta);return f("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"CtaBand",children:E("div",{className:"mkt-hero relative overflow-hidden rounded-2xl bg-foreground px-8 py-14 text-background md:px-14",children:[f("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(60% 120% at 12% 0%, color-mix(in oklch, var(--marketing-accent) 30%, transparent) 0%, transparent 55%), radial-gradient(60% 120% at 100% 100%, color-mix(in oklch, var(--mk-accent-3) 26%, transparent) 0%, transparent 55%)"}}),f("span",{className:"mkt-grain","aria-hidden":"true"}),E("div",{className:"relative flex flex-col items-start gap-6 md:flex-row md:items-center md:justify-between",children:[E("div",{className:"max-w-xl",children:[f("h2",{className:"text-3xl md:text-4xl",children:t}),r&&f("p",{className:"mt-3 text-base leading-relaxed text-background/70",children:r})]}),n&&f("div",{className:"shrink-0",children:f(ht,{cta:n,variant:"inverse"})})]})]})})};import{jsx as g,jsxs as M,Fragment as J}from"react/jsx-runtime";function H(...e){return e.filter(Boolean).join(" ")}function C(e){return typeof e==="string"&&e.length>0?e:void 0}function Be(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object")}function si(e,t=0){let r=Number(e);return Number.isFinite(r)?(Math.trunc(r)%4+4)%4:t}var al={sparkles:g("path",{d:"M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z"}),zap:g("path",{d:"M13 2 4 14h7l-1 8 9-12h-7z"}),layers:M(J,{children:[g("path",{d:"m12 3 9 5-9 5-9-5 9-5z"}),g("path",{d:"m3 12 9 5 9-5"})]}),boxes:M(J,{children:[g("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),g("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),g("rect",{x:"8.5",y:"14",width:"7",height:"7",rx:"1"})]}),code:g("path",{d:"m8 6-6 6 6 6M16 6l6 6-6 6"}),cpu:M(J,{children:[g("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"}),g("path",{d:"M9 1v3M15 1v3M9 20v3M15 20v3M1 9h3M1 15h3M20 9h3M20 15h3"})]}),workflow:M(J,{children:[g("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),g("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"}),g("path",{d:"M10 6.5h6a2 2 0 0 1 2 2V14"})]}),gauge:M(J,{children:[g("path",{d:"M3 14a9 9 0 1 1 18 0"}),g("path",{d:"m13 12-3 3"})]}),shield:g("path",{d:"M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z"}),wand:g("path",{d:"m15 4 5 5M4 20 14 10M9 4l1 2 2 1-2 1-1 2-1-2-2-1 2-1z"}),info:M(J,{children:[g("circle",{cx:"12",cy:"12",r:"9"}),g("path",{d:"M12 11v5M12 7.5h.01"})]}),check:g("path",{d:"m20 6-11 11-5-5"}),alert:M(J,{children:[g("path",{d:"M12 3 2 20h20L12 3z"}),g("path",{d:"M12 10v4M12 17.5h.01"})]})};function Rt({name:e,className:t="size-5"}){let r=e&&al[e.toLowerCase()]||g("circle",{cx:"12",cy:"12",r:"3"});return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round",className:t,"aria-hidden":"true",children:r})}function sl(e){return Be(e).map((t)=>({q:C(t.q)??"",a:C(t.a)??""})).filter((t)=>t.q.length>0)}var ti={fontFamily:"var(--font-marketing-mono)"},Et=(e)=>{let t=C(e.eyebrow),r=C(e.title),n=C(e.lead),i=e.defaultOpenFirst===!0,a=sl(e.items);return M("section",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"Faq",children:[(t||r||n)&&M("header",{className:"mb-8 md:mb-10",children:[t&&g("p",{className:"text-[0.65rem] uppercase tracking-[0.28em] text-[var(--marketing-accent)]",style:ti,children:t}),r&&g("h2",{className:"mt-3 text-3xl md:text-4xl",children:r}),n&&g("p",{className:"mt-3 max-w-xl text-sm leading-relaxed text-muted-foreground",children:n})]}),g("div",{className:"border-t border-border/70",children:a.map((s,o)=>M("details",{className:"group border-b border-border/70 [&_summary::-webkit-details-marker]:hidden",open:i&&o===0?!0:void 0,children:[M("summary",{className:"flex cursor-pointer list-none items-baseline gap-4 py-5 md:gap-6",children:[g("span",{"aria-hidden":"true",className:"w-7 shrink-0 text-[0.65rem] tracking-[0.18em] text-muted-foreground/60 transition-colors duration-200 group-open:text-[var(--marketing-accent)]",style:ti,children:String(o+1).padStart(2,"0")}),g("span",{className:"flex-1 text-base font-medium text-foreground/90 transition-colors duration-200 group-hover:text-foreground group-open:text-foreground md:text-lg",children:s.q}),M("span",{"aria-hidden":"true",className:"relative mt-1 size-3.5 shrink-0 self-center text-muted-foreground/70 transition-transform duration-300 ease-out group-hover:text-foreground group-open:rotate-45 group-open:text-[var(--marketing-accent)]",children:[g("span",{className:"absolute left-0 top-1/2 h-px w-full -translate-y-1/2 bg-current"}),g("span",{className:"absolute left-1/2 top-0 h-full w-px -translate-x-1/2 bg-current"})]})]}),s.a&&g("div",{className:"grid grid-rows-[0fr] transition-[grid-template-rows] duration-300 ease-out group-open:grid-rows-[1fr]",children:g("div",{className:"overflow-hidden",children:g("p",{className:"pb-6 pl-11 pr-2 text-sm leading-relaxed text-muted-foreground md:pl-[3.25rem]",children:s.a})})})]},o))})]})};function ol(e){return Be(e).map((t)=>({name:C(t.name)??"",role:C(t.role),bio:C(t.bio),avatar:C(t.avatar)})).filter((t)=>t.name.length>0)}var ri={"2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3","4":"sm:grid-cols-2 lg:grid-cols-4"};function ll(e){let t=e.trim().split(/\s+/).filter(Boolean);if(t.length===0)return"?";if(t.length===1)return t[0].slice(0,2).toUpperCase();return(t[0][0]+t[t.length-1][0]).toUpperCase()}var St=(e)=>{let t=ol(e.members),r=String(e.columns??"3"),n=ri[r]??ri["3"];return g("div",{className:H("marketing mx-auto grid max-w-6xl grid-cols-1 gap-5 px-6 md:px-0",n),"data-uibot-type":"TeamGrid",children:t.map((i,a)=>{let s=i.avatar&&/^(https?:|data:|\/)/.test(i.avatar);return M("article",{className:H("mkt-card mkt-reveal flex flex-col items-center p-6 text-center",`mkt-reveal-${Math.min(a+1,6)}`),children:[s?g("img",{src:i.avatar,alt:i.name,className:"size-16 rounded-full object-cover"}):g("span",{className:H("inline-flex size-16 items-center justify-center rounded-full border text-lg font-semibold mkt-tint",`mkt-tint-${a%4}`),children:C(i.avatar)??ll(i.name)}),g("h3",{className:"mt-4 text-lg",children:i.name}),i.role&&g("p",{className:"mt-1 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-[var(--marketing-accent)]",children:i.role}),i.bio&&g("p",{className:"mt-3 text-sm leading-relaxed text-muted-foreground",children:i.bio})]},a)})})};function cl(e){return Be(e).map((t)=>({title:C(t.title)??"",desc:C(t.desc),icon:C(t.icon)})).filter((t)=>t.title.length>0)}var dl=["var(--marketing-accent)","var(--mk-accent-2)","var(--mk-accent-3)","var(--mk-accent-4)"],ml={2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-2 xl:grid-cols-4"},Ct=(e)=>{let t=cl(e.steps),r=C(e.variant)==="connected"?"connected":"numbered",n=(i)=>String(i+1).padStart(2,"0");if(r==="connected")return g("ol",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"Steps",children:t.map((i,a)=>M("li",{className:"relative flex gap-5 pb-8 last:pb-0",children:[a<t.length-1&&g("span",{"aria-hidden":"true",className:"absolute left-[1.375rem] top-12 bottom-0 w-px bg-border"}),g("span",{className:H("relative z-10 inline-flex size-11 shrink-0 items-center justify-center rounded-full border font-[family-name:var(--font-marketing-mono)] text-sm font-semibold tabular-nums mkt-tint",`mkt-tint-${a%4}`),children:i.icon?g(Rt,{name:i.icon}):n(a)}),M("div",{className:"pt-1.5",children:[g("h3",{className:"text-xl",children:i.title}),i.desc&&g("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:i.desc})]})]},a))});return g("ol",{className:H("marketing mx-auto grid max-w-6xl grid-cols-1 gap-6 px-6 sm:grid-cols-2 md:px-0",ml[Math.min(Math.max(t.length,2),4)]??"lg:grid-cols-3"),"data-uibot-type":"Steps",children:t.map((i,a)=>M("li",{className:H("mkt-card mkt-reveal p-6",`mkt-reveal-${Math.min(a+1,6)}`),children:[g("span",{className:"mkt-sectno block text-5xl md:text-6xl",style:{color:dl[a%4]},children:n(a)}),g("h3",{className:"mt-4 text-xl",children:i.title}),i.desc&&g("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:i.desc})]},a))})},ni={"2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3","4":"sm:grid-cols-2 lg:grid-cols-4","6":"sm:grid-cols-3 lg:grid-cols-6"},ii={none:"gap-0",sm:"gap-3",md:"gap-4",lg:"gap-6"},oi={"1":"col-span-1","2":"sm:col-span-2","3":"sm:col-span-2 lg:col-span-3","4":"sm:col-span-2 lg:col-span-4"},li={"1":"row-span-1","2":"row-span-2","3":"row-span-3"};function Me(e,t,r){let n=Number(e);if(!Number.isFinite(n))return"";let i=Math.min(Math.max(Math.trunc(n),1),r);return t[String(i)]??""}function pl(e){return Be(e).map((t)=>{let r=t.span;return{title:C(t.title),desc:C(t.desc),icon:C(t.icon),tone:t.tone,span:r&&typeof r==="object"?{col:r.col,row:r.row}:void 0}})}function ci({title:e,desc:t,icon:r,tone:n,children:i}){return M(J,{children:[r&&g("span",{className:H("mb-4 inline-flex size-11 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${n}`),children:g(Rt,{name:r})}),e&&g("h3",{className:"text-xl",children:e}),t&&g("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:t}),i]})}var Lt=(e,t)=>{let r=String(e.cols??"3"),n=ni[r]??ni["3"],i=ii[C(e.gap)??"md"]??ii.md,a=pl(e.items),s=t.children;return g("div",{className:H("marketing mx-auto grid max-w-6xl grid-cols-1 px-6 md:px-0 [grid-auto-rows:minmax(11rem,auto)]",n,i),"data-uibot-type":"BentoGrid",children:s.length>0?s:a.map((o,c)=>{let d=si(o.tone,c%4),m=Me(o.span?.col,oi,4),y=Me(o.span?.row,li,3);return g("article",{className:H("mkt-card mkt-reveal flex flex-col p-6",m,y,`mkt-reveal-${Math.min(c+1,6)}`),children:g(ci,{title:o.title,desc:o.desc,icon:o.icon,tone:d})},c)})})},It=(e,t)=>{let r=e.span??void 0,n=si(e.tone,0),i=Me(r?.col,oi,4),a=Me(r?.row,li,3),s=t.children;return g("article",{className:H("mkt-card marketing flex flex-col p-6",i,a),"data-uibot-type":"BentoCell",children:g(ci,{title:C(e.title),desc:C(e.desc),icon:C(e.icon),tone:n,children:s.length>0?g("div",{className:"mt-4",children:s}):null})})},ai={info:{color:"var(--mk-accent-4)",icon:"info"},success:{color:"var(--success)",icon:"check"},warn:{color:"var(--warning)",icon:"alert"},accent:{color:"var(--marketing-accent)",icon:"sparkles"}},At=(e,t)=>{let r=C(e.variant),n=r&&r in ai?r:"info",{color:i,icon:a}=ai[n],s=C(e.icon)??a,o=C(e.title),c=C(e.body),d=t.children;return M("aside",{className:"marketing mx-auto flex max-w-3xl gap-4 rounded-lg border p-5","data-uibot-type":"Callout",style:{borderColor:`color-mix(in oklch, ${i} 35%, var(--border))`,background:`color-mix(in oklch, ${i} 8%, var(--card))`},children:[g("span",{"aria-hidden":"true",className:"mt-0.5 inline-flex size-8 shrink-0 items-center justify-center rounded-md",style:{color:i,background:`color-mix(in oklch, ${i} 16%, transparent)`},children:g(Rt,{name:s,className:"size-5"})}),M("div",{className:"min-w-0",children:[o&&g("p",{className:"font-medium text-foreground",style:{color:i},children:o}),c&&g("p",{className:H("text-sm leading-relaxed text-muted-foreground",o&&"mt-1"),children:c}),d.length>0&&g("div",{className:"mt-2",children:d})]})]})};import{jsx as x,jsxs as F}from"react/jsx-runtime";function j(...e){return e.filter(Boolean).join(" ")}function T(e){return typeof e==="string"&&e.length>0?e:void 0}function ui(e){if(!Array.isArray(e))return[];return e.map((t)=>T(t)).filter((t)=>Boolean(t))}function gi(e){if(!e||typeof e!=="object")return;let t=e,r=T(t.label),n=T(t.href);if(!r)return;return{label:r,href:n??"#"}}function Pe(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object")}function fi(e){return e.trim().split(/\s+/).slice(0,2).map((r)=>r.charAt(0).toUpperCase()).join("")||"?"}function ul(){return x("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round",className:"size-3.5","aria-hidden":"true",children:x("path",{d:"m4 12 5 5L20 6"})})}function gl({filled:e}){return x("svg",{viewBox:"0 0 24 24",fill:e?"currentColor":"none",stroke:"currentColor",strokeWidth:1.4,strokeLinejoin:"round",className:"size-4","aria-hidden":"true",children:x("path",{d:"m12 3 2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 18.8 6.2 21l1.1-6.5L2.6 9.8l6.5-.9z"})})}function hi({cta:e,variant:t,block:r}){let i={primary:"bg-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)] hover:bg-[var(--marketing-accent-strong)] focus-visible:ring-[var(--marketing-accent)]",outline:"border border-border bg-transparent text-foreground hover:border-[var(--marketing-accent)] hover:text-[var(--marketing-accent)] focus-visible:ring-border",inverse:"bg-gradient-to-r from-[var(--marketing-accent)] to-[var(--mk-accent-3)] text-[var(--marketing-accent-foreground)] hover:opacity-90 focus-visible:ring-[var(--marketing-accent)]"};return x("a",{href:e.href,className:j("inline-flex items-center justify-center gap-2 rounded-md px-5 py-2.5 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",i[t],r&&"w-full"),children:e.label})}function fl(e){return Pe(e).map((t)=>({name:T(t.name)??"",price:T(t.price)??"",period:T(t.period),description:T(t.description),features:ui(t.features),cta:gi(t.cta),highlighted:Boolean(t.highlighted)}))}var di={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4"},Tt=(e)=>{let t=fl(e.plans),r=T(e.billingNote),n=di[Math.min(Math.max(t.length,2),4)]??di[3];return F("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"PricingTable",children:[x("div",{className:j("grid grid-cols-1 items-stretch gap-5",n),children:t.map((i,a)=>F("article",{className:j("mkt-card mkt-reveal relative flex flex-col p-6",`mkt-reveal-${Math.min(a+1,6)}`,i.highlighted&&"border-[var(--marketing-accent)] shadow-[0_0_0_1px_var(--marketing-accent)]"),children:[i.highlighted&&x("span",{className:"absolute -top-3 left-6 rounded-full bg-[var(--marketing-accent)] px-3 py-1 font-[family-name:var(--font-marketing-mono)] text-[0.625rem] font-semibold uppercase tracking-[0.16em] text-[var(--marketing-accent-foreground)]",children:"Popular"}),x("h3",{className:"text-xl",children:i.name}),i.description&&x("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground",children:i.description}),F("div",{className:"mt-5 flex items-baseline gap-1",children:[x("span",{className:"mkt-display text-4xl md:text-5xl",children:i.price}),i.period&&x("span",{className:"font-[family-name:var(--font-marketing-mono)] text-sm text-muted-foreground",children:i.period})]}),i.features.length>0&&x("ul",{className:"mt-6 flex flex-1 flex-col gap-3 text-sm",children:i.features.map((s,o)=>F("li",{className:"flex items-start gap-2.5",children:[x("span",{className:j("mt-0.5 inline-flex size-4 shrink-0 items-center justify-center rounded-full",i.highlighted?"bg-[color-mix(in_oklch,var(--marketing-accent)_22%,transparent)] text-[var(--marketing-accent)]":"bg-muted text-foreground"),children:x(ul,{})}),x("span",{className:"text-foreground/90",children:s})]},o))}),i.cta&&x("div",{className:"mt-7",children:x(hi,{cta:i.cta,variant:i.highlighted?"primary":"outline",block:!0})})]},a))}),r&&x("p",{className:"mt-6 text-center font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.18em] text-muted-foreground",children:r})]})};function hl(e){return Pe(e).map((t)=>{let r=Number(t.rating);return{quote:T(t.quote)??"",author:T(t.author)??"",role:T(t.role),avatar:T(t.avatar),rating:Number.isFinite(r)&&r>0?Math.min(Math.round(r),5):void 0}})}var mi={1:"",2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3"},$t=(e)=>{let t=hl(e.items),r=Number(e.columns),n=Number.isFinite(r)?Math.min(Math.max(r,1),3):Math.min(t.length||1,3),i=mi[n]??mi[3];return x("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"Testimonials",children:x("div",{className:j("grid grid-cols-1 gap-5",i),children:t.map((a,s)=>F("figure",{className:j("mkt-card mkt-reveal flex flex-col p-6",`mkt-reveal-${Math.min(s+1,6)}`),children:[a.rating&&x("div",{className:"flex gap-0.5 text-[var(--marketing-accent)]","aria-label":`${a.rating} out of 5`,children:Array.from({length:5},(o,c)=>x(gl,{filled:c<(a.rating??0)},c))}),F("blockquote",{className:"mkt-display-italic mt-4 flex-1 text-lg leading-relaxed text-foreground",children:["\u201C",a.quote,"\u201D"]}),F("figcaption",{className:"mt-6 flex items-center gap-3",children:[x("span",{className:j("inline-flex size-10 shrink-0 items-center justify-center rounded-full border font-[family-name:var(--font-marketing-mono)] text-sm font-semibold mkt-tint",`mkt-tint-${s%4}`),children:a.avatar??fi(a.author)}),F("span",{className:"min-w-0",children:[x("span",{className:"block truncate text-sm font-medium text-foreground",children:a.author}),a.role&&x("span",{className:"block truncate text-xs text-muted-foreground",children:a.role})]})]})]},s))})})};function yl(e){if(Array.isArray(e)&&e.every((t)=>typeof t==="string"))return ui(e).map((t)=>({name:t}));return Pe(e).map((t)=>({name:T(t.name)??""})).filter((t)=>t.name.length>0)}var Ot=(e)=>{let t=T(e.label),r=yl(e.logos);return F("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"LogoCloud",children:[t&&x("p",{className:"mkt-eyebrow text-center",children:t}),x("div",{className:j("flex flex-wrap items-center justify-center gap-x-8 gap-y-5",t&&"mt-6"),children:r.map((n,i)=>x("span",{className:"font-[family-name:var(--font-marketing-mono)] text-base font-semibold uppercase tracking-[0.14em] text-muted-foreground/60 opacity-70 transition-all duration-200 hover:text-foreground hover:opacity-100",children:n.name.length>14?fi(n.name):n.name},i))})]})};function bl(e){return Pe(e).map((t)=>({value:T(t.value)??"",label:T(t.label)??"",sub:T(t.sub)})).filter((t)=>t.value.length>0)}var pi={1:"",2:"sm:grid-cols-2",3:"sm:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4"},Mt=(e)=>{let t=bl(e.stats),r=T(e.tone)??"plain",n=r==="inverse",i=pi[Math.min(Math.max(t.length,1),4)]??pi[4],a=x("div",{className:j("grid grid-cols-1 divide-y divide-border sm:divide-x sm:divide-y-0",i,n&&"divide-background/15 sm:divide-background/15"),children:t.map((s,o)=>F("div",{className:j("mkt-reveal flex flex-col items-center px-6 py-6 text-center",`mkt-reveal-${Math.min(o+1,6)}`),children:[x("span",{className:j("mkt-display text-4xl md:text-6xl",n?"text-background":"text-foreground"),children:s.value}),x("span",{className:j("mt-3 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.18em]",n?"text-background/70":"text-muted-foreground"),children:s.label}),s.sub&&x("span",{className:j("mt-1 text-xs",n?"text-background/55":"text-muted-foreground/80"),children:s.sub})]},o))});if(n)return x("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"StatBand",children:F("div",{className:"mkt-hero relative overflow-hidden rounded-2xl bg-foreground py-6 md:py-8",children:[x("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(60% 120% at 12% 0%, color-mix(in oklch, var(--marketing-accent) 26%, transparent) 0%, transparent 55%), radial-gradient(60% 120% at 100% 100%, color-mix(in oklch, var(--mk-accent-3) 22%, transparent) 0%, transparent 55%)"}}),x("span",{className:"mkt-grain","aria-hidden":"true"}),x("div",{className:"relative",children:a})]})});return x("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"StatBand",children:x("div",{className:j(r==="muted"&&"mkt-band rounded-2xl border border-border bg-card/50 py-4"),children:a})})},Bt=(e)=>{let t=T(e.title)??"",r=T(e.subtitle),n=T(e.placeholder)??"you@example.com",i=gi(e.cta)??{label:"Subscribe",href:"#"};return x("section",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"Newsletter",children:F("div",{className:"mkt-band-accent rounded-2xl border border-border bg-card/40 px-6 py-10 text-center md:px-10",children:[x("h2",{className:"text-2xl md:text-3xl",children:t}),r&&x("p",{className:"mx-auto mt-3 max-w-xl text-sm leading-relaxed text-muted-foreground",children:r}),F("form",{className:"mx-auto mt-7 flex w-full max-w-md flex-col gap-3 sm:flex-row",action:i.href,children:[x("label",{className:"sr-only",htmlFor:"uibot-newsletter-email",children:"Email address"}),x("input",{id:"uibot-newsletter-email",type:"email",name:"email",placeholder:n,className:"h-11 flex-1 rounded-md border border-border bg-background px-4 text-sm text-foreground placeholder:text-muted-foreground focus-visible:border-[var(--marketing-accent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color-mix(in_oklch,var(--marketing-accent)_30%,transparent)]"}),x(hi,{cta:i,variant:"primary"})]})]})})};import{jsx as l,jsxs as w,Fragment as z}from"react/jsx-runtime";function A(...e){return e.filter(Boolean).join(" ")}function k(e){return typeof e==="string"&&e.length>0?e:void 0}function xl(e){if(!Array.isArray(e))return[];return e.map((t)=>k(t)).filter((t)=>Boolean(t))}function re(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object")}function vl(e){let t=Number(e);return Number.isFinite(t)?t:void 0}function qe(e,t=0){let r=Number(e);return Number.isFinite(r)?(Math.trunc(r)%4+4)%4:t}function xi(e){if(!e||typeof e!=="object")return;let t=e,r=k(t.label),n=k(t.href);if(!r)return;return{label:r,href:n??"#"}}var kl={sparkles:l("path",{d:"M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z"}),zap:l("path",{d:"M13 2 4 14h7l-1 8 9-12h-7z"}),layers:w(z,{children:[l("path",{d:"m12 3 9 5-9 5-9-5 9-5z"}),l("path",{d:"m3 12 9 5 9-5"})]}),boxes:w(z,{children:[l("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),l("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),l("rect",{x:"8.5",y:"14",width:"7",height:"7",rx:"1"})]}),code:l("path",{d:"m8 6-6 6 6 6M16 6l6 6-6 6"}),cpu:w(z,{children:[l("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"}),l("path",{d:"M9 1v3M15 1v3M9 20v3M15 20v3M1 9h3M1 15h3M20 9h3M20 15h3"})]}),workflow:w(z,{children:[l("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),l("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"}),l("path",{d:"M10 6.5h6a2 2 0 0 1 2 2V14"})]}),gauge:w(z,{children:[l("path",{d:"M3 14a9 9 0 1 1 18 0"}),l("path",{d:"m13 12-3 3"})]}),shield:l("path",{d:"M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z"}),wand:l("path",{d:"m15 4 5 5M4 20 14 10M9 4l1 2 2 1-2 1-1 2-1-2-2-1 2-1z"}),info:w(z,{children:[l("circle",{cx:"12",cy:"12",r:"9"}),l("path",{d:"M12 11v5M12 7.5h.01"})]}),check:l("path",{d:"m20 6-11 11-5-5"}),alert:w(z,{children:[l("path",{d:"M12 3 2 20h20L12 3z"}),l("path",{d:"M12 10v4M12 17.5h.01"})]}),rocket:w(z,{children:[l("path",{d:"M5 16c-1.5 1.5-2 5-2 5s3.5-.5 5-2a3 3 0 0 0-3-3z"}),l("path",{d:"M9 14c-1-2 0-6 3.5-9.5C15 2 19 2 21 3c1 2 1 6-1.5 8.5C16 15 12 16 10 15z"}),l("circle",{cx:"15",cy:"9",r:"1.4"})]}),flag:w(z,{children:[l("path",{d:"M4 22V4"}),l("path",{d:"M4 4h13l-2 4 2 4H4"})]}),star:l("path",{d:"m12 3 2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.6 6.8 19.1l1-5.8L3.5 9.2l5.9-.9z"}),heart:l("path",{d:"M12 20s-7-4.5-9.3-9C1.2 8 2.8 4.6 6.2 4.6c2 0 3.2 1.2 3.8 2.2.6-1 1.8-2.2 3.8-2.2 3.4 0 5 3.4 3.5 6.4C19 15.5 12 20 12 20z"}),globe:w(z,{children:[l("circle",{cx:"12",cy:"12",r:"9"}),l("path",{d:"M3 12h18M12 3c2.5 2.6 2.5 15.4 0 18M12 3c-2.5 2.6-2.5 15.4 0 18"})]}),lock:w(z,{children:[l("rect",{x:"5",y:"11",width:"14",height:"9",rx:"2"}),l("path",{d:"M8 11V8a4 4 0 0 1 8 0v3"})]}),clock:w(z,{children:[l("circle",{cx:"12",cy:"12",r:"9"}),l("path",{d:"M12 7v5l3 2"})]}),x:l("path",{d:"M6 6l12 12M18 6 6 18"})};function X({name:e,className:t="size-5"}){let r=e&&kl[e.toLowerCase()]||l("circle",{cx:"12",cy:"12",r:"3"});return l("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round",className:t,"aria-hidden":"true",children:r})}function wl({cta:e,variant:t,size:r="md"}){let i=A("inline-flex items-center justify-center gap-2 rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",{sm:"px-3.5 py-1.5 text-xs",md:"px-5 py-2.5 text-sm"}[r]),a={primary:"bg-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)] hover:bg-[var(--marketing-accent-strong)] focus-visible:ring-[var(--marketing-accent)]",outline:"border border-border bg-transparent text-foreground hover:border-[var(--marketing-accent)] hover:text-[var(--marketing-accent)] focus-visible:ring-border",inverse:"bg-gradient-to-r from-[var(--marketing-accent)] to-[var(--mk-accent-3)] text-[var(--marketing-accent-foreground)] hover:opacity-90 focus-visible:ring-[var(--marketing-accent)]",ghost:"text-[var(--marketing-accent)] underline-offset-4 hover:underline focus-visible:ring-[var(--marketing-accent)]"};return l("a",{href:e.href,className:A(i,a[t]),children:e.label})}var Pt=(e)=>{let t=qe(e.tone,0),r=Boolean(e.solid),n=k(e.icon)??"sparkles",i=k(e.message)??"",a=xi(e.cta),s=e.dismissible!==!1;return w("div",{className:A("marketing relative w-full px-4 py-2.5 text-center text-sm",r?"text-[var(--marketing-accent-foreground)]":"border-b border-border text-foreground mkt-tint",!r&&`mkt-tint-${t}`),"data-uibot-type":"Banner",style:r?{background:`var(${["--marketing-accent","--mk-accent-2","--mk-accent-3","--mk-accent-4"][t]})`}:void 0,role:"region","aria-label":"Announcement",children:[w("div",{className:"mx-auto flex max-w-6xl flex-wrap items-center justify-center gap-x-3 gap-y-1",children:[w("span",{className:"inline-flex items-center gap-2",children:[l(X,{name:n,className:"size-4 shrink-0"}),l("span",{className:"font-medium",children:i})]}),a&&w("a",{href:a.href,className:A("inline-flex items-center gap-1 font-[family-name:var(--font-marketing-mono)] text-xs font-semibold uppercase tracking-[0.12em] underline-offset-4 hover:underline",r?"":"text-[var(--marketing-accent)]"),children:[a.label,l(X,{name:"code",className:"size-3.5 rotate-180 [transform:rotateY(180deg)]"})]})]}),s&&l("span",{"aria-hidden":"true",className:"absolute right-3 top-1/2 inline-flex size-6 -translate-y-1/2 items-center justify-center rounded-md opacity-60 hover:opacity-100",children:l(X,{name:"x",className:"size-4"})})]})};function Nl(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(typeof t==="string")return t.length>0?{text:t}:void 0;if(t&&typeof t==="object"){let r=t,n=k(r.text)??"";return n.length>0?{icon:k(r.icon),text:n}:void 0}return}).filter((t)=>Boolean(t))}var qt=(e,t)=>{let r=k(e.eyebrow),n=k(e.title)??"",i=k(e.body),a=Nl(e.bullets),s=xi(e.cta),o=Boolean(e.reverse),c=qe(e.tone,0),d=t.slots.visual??t.children,m=d&&d.length>0;return l("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"FeatureSplit",children:w("div",{className:A("grid items-center gap-10 md:grid-cols-2 md:gap-14",o&&"md:[direction:rtl]"),children:[w("div",{className:A("max-w-xl md:[direction:ltr]"),children:[r&&l("p",{className:"mkt-eyebrow",children:r}),l("h2",{className:"mt-4 text-3xl md:text-4xl",children:n}),i&&l("p",{className:"mt-4 text-base leading-relaxed text-muted-foreground",children:i}),a.length>0&&l("ul",{className:"mt-6 flex flex-col gap-3",children:a.map((y,N)=>w("li",{className:"flex items-start gap-3 text-sm text-foreground/90",children:[l("span",{className:A("mt-0.5 inline-flex size-6 shrink-0 items-center justify-center rounded-md border mkt-tint",`mkt-tint-${c}`),children:l(X,{name:y.icon??"check",className:"size-3.5"})}),l("span",{className:"leading-relaxed",children:y.text})]},N))}),s&&l("div",{className:"mt-8",children:l(wl,{cta:s,variant:"primary"})})]}),l("div",{className:"md:[direction:ltr]",children:m?d:l("div",{className:A("mkt-card flex aspect-[4/3] items-center justify-center [background-image:radial-gradient(color-mix(in_oklch,var(--border)_80%,transparent)_1px,transparent_1px)] [background-size:18px_18px]"),children:l("span",{className:A("inline-flex size-14 items-center justify-center rounded-xl border mkt-tint",`mkt-tint-${c}`),children:l(X,{name:"layers",className:"size-7"})})})})]})})};function Rl(e){if(Array.isArray(e)&&e.every((t)=>typeof t==="string"))return xl(e).map((t)=>({name:t}));return re(e).map((t)=>({name:k(t.name)??"",highlighted:Boolean(t.highlighted)})).filter((t)=>t.name.length>0)}function El(e){return re(e).map((t)=>({feature:k(t.feature)??"",values:Array.isArray(t.values)?t.values:[]})).filter((t)=>t.feature.length>0)}function Sl({value:e}){if(e===!0||e==="true"||e==="yes")return l("span",{className:"inline-flex text-[var(--marketing-accent)]","aria-label":"Yes",children:l(X,{name:"check",className:"size-4"})});if(e===!1||e==="false"||e==="no"||e===""||e==null)return l("span",{className:"inline-flex text-muted-foreground/40","aria-label":"No",children:l(X,{name:"x",className:"size-4"})});return l("span",{className:"text-sm text-foreground/90",children:String(e)})}var jt=(e)=>{let t=Rl(e.columns),r=El(e.rows),n=k(e.featureLabel)??"";return l("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"ComparisonTable",children:l("div",{className:"overflow-x-auto rounded-xl border border-border bg-card",children:w("table",{className:"w-full border-collapse text-left",children:[l("thead",{children:w("tr",{className:"border-b border-border",children:[l("th",{className:"px-5 py-4 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-muted-foreground",children:n}),t.map((i,a)=>l("th",{className:A("px-5 py-4 text-center text-sm font-semibold text-foreground",i.highlighted&&"bg-[color-mix(in_oklch,var(--marketing-accent)_8%,transparent)] text-[var(--marketing-accent)]"),children:i.name},a))]})}),l("tbody",{children:r.map((i,a)=>w("tr",{className:"border-b border-border last:border-0",children:[l("th",{scope:"row",className:"px-5 py-3.5 text-left text-sm font-medium text-foreground",children:i.feature}),t.map((s,o)=>l("td",{className:A("px-5 py-3.5 text-center",s.highlighted&&"bg-[color-mix(in_oklch,var(--marketing-accent)_6%,transparent)]"),children:l(Sl,{value:i.values[o]})},o))]},a))})]})})})};function Cl(e){return re(e).map((t)=>{let r=k(t.state),n=r==="done"||r==="active"||r==="planned"?r:"planned";return{date:k(t.date),title:k(t.title)??"",desc:k(t.desc),state:n}}).filter((t)=>t.title.length>0)}var Ll={done:"bg-[var(--marketing-accent)] border-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)]",active:"border-[var(--marketing-accent)] text-[var(--marketing-accent)] bg-card ring-4 ring-[color-mix(in_oklch,var(--marketing-accent)_20%,transparent)]",planned:"border-border text-muted-foreground bg-card"},Il={done:"check",active:"rocket",planned:"flag"},Ft=(e)=>{let t=Cl(e.milestones);return l("ol",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"Roadmap",children:t.map((r,n)=>w("li",{className:"relative flex gap-5 pb-8 last:pb-0",children:[n<t.length-1&&l("span",{"aria-hidden":"true",className:"absolute left-[1.375rem] top-12 bottom-0 w-px bg-border"}),l("span",{className:A("relative z-10 inline-flex size-11 shrink-0 items-center justify-center rounded-full border",Ll[r.state]),children:l(X,{name:Il[r.state],className:"size-5"})}),w("div",{className:"pt-1",children:[r.date&&l("p",{className:"font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-[var(--marketing-accent)]",children:r.date}),l("h3",{className:"mt-1 text-xl",children:r.title}),r.desc&&l("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:r.desc})]})]},n))})},Gt=(e)=>{let t=k(e.value)??"",r=k(e.label),n=k(e.body),i=k(e.delta),s=k(e.trend)==="down";return w("section",{className:"marketing mx-auto max-w-3xl px-6 text-center md:px-0","data-uibot-type":"StatHighlight",children:[w("div",{className:"flex items-end justify-center gap-3",children:[l("span",{className:"mkt-display text-6xl leading-none md:text-8xl",children:t}),i&&w("span",{className:A("mb-2 inline-flex items-center gap-1 rounded-full px-2.5 py-1 font-[family-name:var(--font-marketing-mono)] text-xs font-semibold",s?"bg-[color-mix(in_oklch,var(--mk-accent-3)_16%,transparent)] text-[var(--mk-accent-3)]":"bg-[color-mix(in_oklch,var(--marketing-accent)_18%,transparent)] text-[var(--marketing-accent)]"),children:[l("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round",className:A("size-3.5",s&&"rotate-180"),"aria-hidden":"true",children:l("path",{d:"M12 19V5M6 11l6-6 6 6"})}),i]})]}),r&&l("p",{className:"mt-4 font-[family-name:var(--font-marketing-mono)] text-sm uppercase tracking-[0.2em] text-muted-foreground",children:r}),n&&l("p",{className:"mx-auto mt-3 max-w-xl text-base leading-relaxed text-muted-foreground",children:n})]})};function Al(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(typeof t==="string")return t.length>0?{title:t}:void 0;if(t&&typeof t==="object"){let r=t,n=k(r.title)??"";return n.length>0?{icon:k(r.icon),title:n,desc:k(r.desc)}:void 0}return}).filter((t)=>Boolean(t))}var yi={"1":"","2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3"},_t=(e)=>{let t=Al(e.items),r=String(e.columns??"2"),n=yi[r]??yi["2"],i=k(e.icon)??"check";return l("section",{className:"marketing mx-auto max-w-5xl px-6 md:px-0","data-uibot-type":"IconList",children:l("ul",{className:A("grid grid-cols-1 gap-x-8 gap-y-6",n),children:t.map((a,s)=>w("li",{className:"flex items-start gap-3.5",children:[l("span",{className:A("mt-0.5 inline-flex size-9 shrink-0 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${s%4}`),children:l(X,{name:a.icon??i,className:"size-4"})}),w("div",{className:"min-w-0",children:[l("p",{className:"font-medium text-foreground",children:a.title}),a.desc&&l("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground",children:a.desc})]})]},s))})})};function Tl(e){return re(e).map((t)=>({title:k(t.title)??"",links:re(t.links).map((r)=>({label:k(r.label)??"",href:k(r.href)??"#"})).filter((r)=>r.label.length>0)})).filter((t)=>t.title.length>0||t.links.length>0)}var Dt=(e)=>{let t=k(e.brand)??"",r=k(e.tagline),n=Tl(e.groups),i=k(e.copyright),a=k(e.note);return w("footer",{className:"marketing border-t border-border bg-card/40 px-6 py-14 md:px-10","data-uibot-type":"Footer",children:[w("div",{className:"mx-auto grid max-w-6xl gap-10 md:grid-cols-[1.4fr_2.6fr]",children:[w("div",{className:"max-w-sm",children:[t&&l("p",{className:"mkt-display text-2xl",children:t}),r&&l("p",{className:"mt-3 text-sm leading-relaxed text-muted-foreground",children:r})]}),n.length>0&&l("div",{className:"grid grid-cols-2 gap-8 sm:grid-cols-3",children:n.map((s,o)=>w("div",{children:[l("p",{className:"font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.16em] text-muted-foreground",children:s.title}),l("ul",{className:"mt-4 flex flex-col gap-2.5",children:s.links.map((c,d)=>l("li",{children:l("a",{href:c.href,className:"text-sm text-foreground/80 underline-offset-4 transition-colors hover:text-[var(--marketing-accent)] hover:underline",children:c.label})},d))})]},o))})]}),(i||a)&&w("div",{className:"mx-auto mt-12 flex max-w-6xl flex-col items-start justify-between gap-2 border-t border-border pt-6 text-xs text-muted-foreground sm:flex-row sm:items-center",children:[i&&l("span",{children:i}),a&&l("span",{className:"font-[family-name:var(--font-marketing-mono)] uppercase tracking-[0.14em]",children:a})]})]})};function $l(e){return re(e).map((t)=>({icon:k(t.icon),title:k(t.title)??"",body:k(t.body)??""})).filter((t)=>t.title.length>0)}var zt=(e)=>{let t=k(e.title),r=$l(e.items),n=Boolean(e.defaultOpenFirst);return w("section",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"AccordionList",children:[t&&l("h2",{className:"mb-6 text-3xl md:text-4xl",children:t}),l("div",{className:"flex flex-col gap-3",children:r.map((i,a)=>w("details",{open:n&&a===0,className:"group mkt-card overflow-hidden p-0 [&_summary::-webkit-details-marker]:hidden",children:[w("summary",{className:"flex cursor-pointer list-none items-center gap-3.5 px-5 py-4 text-base font-medium text-foreground",children:[i.icon&&l("span",{className:A("inline-flex size-8 shrink-0 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${a%4}`),children:l(X,{name:i.icon,className:"size-4"})}),l("span",{className:"flex-1",children:i.title}),l("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.8,strokeLinecap:"round",strokeLinejoin:"round",className:"size-4 shrink-0 text-muted-foreground transition-transform duration-200 group-open:rotate-180","aria-hidden":"true",children:l("path",{d:"m6 9 6 6 6-6"})})]}),i.body&&l("p",{className:"px-5 pb-5 text-sm leading-relaxed text-muted-foreground",children:i.body})]},a))})]})};function Ol(e,t,r,n=2){if(e.length===0)return{line:"",area:""};let i=Math.min(...e),s=Math.max(...e)-i||1,o=e.length>1?(t-n*2)/(e.length-1):0,c=e.map((se,oe)=>{let vi=n+oe*o,ki=n+(r-n*2)*(1-(se-i)/s);return[vi,ki]}),d=c.map(([se,oe])=>`${se.toFixed(1)},${oe.toFixed(1)}`).join(" "),m=c[0],y=c[c.length-1],N=(r-n).toFixed(1),h=c.map(([se,oe])=>`L${se.toFixed(1)},${oe.toFixed(1)}`).join(" "),Fe=`M${m[0].toFixed(1)},${N} ${h} L${y[0].toFixed(1)},${N} Z`;return{line:d,area:Fe}}var Ut=(e)=>{let t=k(e.label),r=k(e.value)??"",n=k(e.delta),a=k(e.trend)==="down",s=qe(e.tone,0),o=Array.isArray(e.points)?e.points.map((h)=>vl(h)).filter((h)=>h!=null):[],c=120,d=36,{line:m,area:y}=Ol(o,120,36),N=["var(--marketing-accent)","var(--mk-accent-2)","var(--mk-accent-3)","var(--mk-accent-4)"][s];return w("article",{className:"mkt-card marketing flex flex-col p-5","data-uibot-type":"MetricCard",children:[w("div",{className:"flex items-start justify-between gap-3",children:[t&&l("span",{className:"font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-muted-foreground",children:t}),n&&w("span",{className:A("inline-flex items-center gap-0.5 rounded-full px-2 py-0.5 text-xs font-semibold",a?"bg-[color-mix(in_oklch,var(--mk-accent-3)_16%,transparent)] text-[var(--mk-accent-3)]":"bg-[color-mix(in_oklch,var(--marketing-accent)_18%,transparent)] text-[var(--marketing-accent)]"),children:[l("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round",className:A("size-3",a&&"rotate-180"),"aria-hidden":"true",children:l("path",{d:"M12 19V5M6 11l6-6 6 6"})}),n]})]}),l("span",{className:"mt-3 mkt-display text-3xl md:text-4xl",children:r}),m&&w("svg",{viewBox:"0 0 120 36",className:"mt-4 h-9 w-full",preserveAspectRatio:"none","aria-hidden":"true",children:[l("path",{d:y,fill:N,opacity:0.12}),l("polyline",{points:m,fill:"none",stroke:N,strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})]})]})};function Ml(e){return re(e).map((t)=>({src:k(t.src),caption:k(t.caption),tone:t.tone,wide:Boolean(t.wide)}))}var bi={"2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3","4":"sm:grid-cols-2 lg:grid-cols-4"},Vt=(e)=>{let t=Ml(e.items),r=String(e.columns??"3"),n=bi[r]??bi["3"];return l("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"GalleryGrid",children:l("div",{className:A("grid grid-cols-1 gap-4 [grid-auto-rows:minmax(11rem,1fr)]",n),children:t.map((i,a)=>{let s=qe(i.tone,a%4),o=i.src&&/^(https?:|data:|\/)/.test(i.src);return w("figure",{className:A("mkt-card group/g relative overflow-hidden p-0",i.wide&&"sm:col-span-2"),children:[o?l("img",{src:i.src,alt:i.caption??"",className:"h-full w-full object-cover transition-transform duration-300 group-hover/g:scale-[1.03]"}):l("div",{className:A("flex h-full w-full items-center justify-center mkt-tint [background-image:radial-gradient(color-mix(in_oklch,var(--border)_75%,transparent)_1px,transparent_1px)] [background-size:16px_16px]",`mkt-tint-${s}`),children:l(X,{name:"boxes",className:"size-8 opacity-60"})}),i.caption&&l("figcaption",{className:"absolute inset-x-0 bottom-0 bg-gradient-to-t from-[color-mix(in_oklch,var(--foreground)_55%,transparent)] to-transparent px-4 pb-3 pt-10 text-sm font-medium text-background",children:i.caption})]},a)})})})};var he={Grid:{name:"Grid",description:"Declarative grid layout. Maps cols/gap/responsive props to Tailwind grid classes; children become grid cells directly.",category:"primitive",level:"L1",tags:["layout","grid","container"],props:{cols:{enum:["1","2","3","4","5","6","auto",1,2,3,4,5,6],default:"auto",description:"Column count, or 'auto' for auto-fit minmax(220px,1fr)"},gap:{type:"string",enum:["none","xs","sm","md","lg","xl"],default:"md"},responsive:{type:"boolean",default:!1,description:"Use a mobile-first ladder (grid-cols-1 \u2192 sm:2 \u2192 lg:N) instead of a fixed column count"},align:{type:"string",enum:["start","center","end","stretch"]},justify:{type:"string",enum:["start","center","end","between","around"]}},usageScenarios:["4-up Stat dashboard row (cols=4)","Responsive card gallery (cols=3, responsive=true)","Two-column form layout (cols=2)"],constraints:["Grid children become grid cells directly; do not wrap each child in a Box","Use cols='auto' when the number of children is dynamic"]},StatGrid:{name:"StatGrid",description:"Responsive grid of KPI cards. Prefers child Stat blocks; falls back to inline rendering of an items array when there are no children.",category:"composite",level:"L2",tags:["stat","kpi","dashboard","grid"],props:{cols:{type:"string",enum:["1","2","3","4","auto"],default:"auto"},items:{type:"array",items:{type:"object",properties:{label:{type:"string"},value:{type:"string"},change:{type:"string"},trend:{type:"string",enum:["up","down"]},description:{type:"string"}}},description:"Inline KPI items used when no Stat children are provided"}},usageScenarios:["Overview dashboard KPI row","Operations metrics summary above a table"],constraints:["Provide either Stat children or items, not both \u2014 children win when present"]},TrendChart:{name:"TrendChart",description:"Pure-SVG line / area chart with no third-party dependency. Draws one polyline per series on a shared vertical scale. Alias: LineChart.",category:"composite",level:"L2",tags:["chart","trend","line","svg"],props:{title:{type:"string"},series:{type:"array",items:{type:"object",properties:{name:{type:"string"},points:{type:"array",items:{type:"number"}},area:{type:"boolean",default:!1}}},description:"[{name, points:number[], area?}]"},labels:{type:"array",items:{type:"string"},description:"Optional x-axis labels"},width:{type:"integer",default:480},height:{type:"integer",default:160}},usageScenarios:["Evolution score trend over versions","Daily active users line chart"],constraints:["Keep each series under ~200 points; larger inputs produce heavy SVG DOM"]},LineChart:{name:"LineChart",description:"Alias of TrendChart \u2014 pure-SVG multi-series line / area chart.",category:"composite",level:"L2",tags:["chart","line","svg"],props:{title:{type:"string"},series:{type:"array",items:{type:"object",properties:{name:{type:"string"},points:{type:"array",items:{type:"number"}},area:{type:"boolean"}}}},width:{type:"integer",default:480},height:{type:"integer",default:160}},usageScenarios:["Same as TrendChart; use whichever name reads better in the spec"],constraints:["Identical implementation to TrendChart"]},KanbanBoard:{name:"KanbanBoard",description:"Horizontal kanban board: columns as swimlanes, cards grouped by their column id. Read-only display.",category:"composite",level:"L3",tags:["kanban","board","operations"],props:{columns:{type:"array",items:{type:"object",properties:{id:{type:"string"},title:{type:"string"}}},description:"[{id, title}] swimlane definitions"},cards:{type:"array",items:{type:"object",properties:{id:{type:"string"},column:{type:"string"},title:{type:"string"},subtitle:{type:"string"},badge:{type:"string"}}},description:"[{id, column, title, subtitle?, badge?}] \u2014 column must match a column id"}},usageScenarios:["Operations task board (Todo / In progress / Done)","Release pipeline stages"],constraints:["Each card.column must reference an existing column.id, else the card is dropped","Up to 4 columns fit the container as an equal-width grid (no scrollbar); 5+ columns switch to a horizontal scroll strip"]},Matrix:{name:"Matrix",description:"Two-dimensional intensity grid (heatmap). Cell intensities are 0..1 and map to a color-mix of the primary token via inline style. Alias: Heatmap.",category:"composite",level:"L3",tags:["matrix","heatmap","grid","governance"],props:{caption:{type:"string"},rows:{type:"array",items:{type:"string"},description:"Row labels"},cols:{type:"array",items:{type:"string"},description:"Column labels"},cells:{type:"array",items:{type:"array",items:{type:"number"}},description:"rows\xD7cols grid of intensities in [0,1]"},showValues:{type:"boolean",default:!1,description:"Print the numeric value in each cell"}},usageScenarios:["Governance capability coverage matrix","Risk heatmap (likelihood \xD7 impact)"],constraints:["Intensities are single-polar 0..1; negative / diverging scales are not supported","cells should be rows.length \xD7 cols.length; missing cells render as 0"]},Heatmap:{name:"Heatmap",description:"Alias of Matrix \u2014 two-dimensional 0..1 intensity grid.",category:"composite",level:"L3",tags:["heatmap","matrix","grid"],props:{caption:{type:"string"},rows:{type:"array",items:{type:"string"}},cols:{type:"array",items:{type:"string"}},cells:{type:"array",items:{type:"array",items:{type:"number"}}},showValues:{type:"boolean",default:!1}},usageScenarios:["Same as Matrix"],constraints:["Identical implementation to Matrix"]},DiagnosticsList:{name:"DiagnosticsList",description:"Levelled diagnostics list with a coloured left bar and glyph per severity (info / warn / error).",category:"composite",level:"L2",tags:["diagnostics","list","status","overview"],props:{items:{type:"array",items:{type:"object",properties:{level:{type:"string",enum:["info","warn","error"]},title:{type:"string"},detail:{type:"string"}}},description:"[{level, title, detail?}]"}},usageScenarios:["Overview page diagnostics slot","Spec validation results list"],constraints:["level defaults to 'info' when omitted or unrecognised"]},TimelineList:{name:"TimelineList",description:"Vertical timeline with a left rail and a status dot per item (ok / warn / error).",category:"composite",level:"L2",tags:["timeline","activity","operations"],props:{items:{type:"array",items:{type:"object",properties:{time:{type:"string"},title:{type:"string"},desc:{type:"string"},status:{type:"string",enum:["ok","warn","error"]}}},description:"[{time, title, desc?, status?}]"}},usageScenarios:["Operations event timeline","Deployment / audit history"],constraints:["status defaults to 'ok' when omitted"]},SearchableTable:{name:"SearchableTable",description:"Table with a built-in search box. Typing dispatches SetState onto searchKey and filters the resolved rows (case-insensitive substring across all columns).",category:"feature",level:"L3",tags:["table","search","interactive","data"],props:{columns:{type:"array",items:{type:"object",properties:{key:{type:"string"},label:{type:"string"},align:{type:"string",enum:["left","center","right"]}}}},rows:{type:"array",items:{type:"object"},description:"Row objects keyed to column.key"},searchKey:{type:"string",default:"search",description:"State path the search query writes to"},placeholder:{type:"string",default:"Search\u2026"},emptyText:{type:"string",default:"No matching rows",description:"Copy shown when the filtered row set is empty"}},usageScenarios:["Searchable plugins / catalog list in studio","User management table with live filtering"],constraints:["Requires a live host (dispatch) for the search box to update host state; client-side filtering still works on already-resolved rows"]},SplitMasterDetail:{name:"SplitMasterDetail",description:"Master/detail split: a selectable left list and a right detail pane. Clicking an item dispatches SetState onto selectKey; the detail slot (or children) renders the right pane.",category:"feature",level:"L3",tags:["split","master-detail","interactive","layout"],props:{items:{type:"array",items:{type:"object",properties:{id:{type:"string"},title:{type:"string"},subtitle:{type:"string"}}},description:"[{id, title, subtitle?}] left-list entries"},selectKey:{type:"string",default:"selectedId",description:"State path the selected id writes to"}},slots:{detail:{description:"Right-pane content; usually host-composed from the selected item via _find"}},usageScenarios:["Skills list \u2192 skill detail","Agents directory \u2192 agent inspector"],constraints:["Selection defaults to the first item's id until the host updates selectKey"]},DetailField:{name:"DetailField",description:"Label + value display row, for use inside a detail pane.",category:"primitive",level:"L1",tags:["detail","field","display"],props:{label:{type:"string"},value:{type:"string",description:"Any scalar; rendered as '\u2014' when empty"},inline:{type:"boolean",default:!1,description:"Render label and value on one line"}},usageScenarios:["Field row inside a SplitMasterDetail detail pane","Read-only record summary"],constraints:["Use for scalar values; for structured data prefer KeyValueGrid"]},BadgeGroup:{name:"BadgeGroup",description:"Horizontal group of status badges. Items may be plain strings or {label, tone}.",category:"composite",level:"L1",tags:["badge","status","tags"],props:{items:{type:"array",items:{type:"object",properties:{label:{type:"string"},tone:{type:"string",enum:["default","success","warning","error","info"]}}},description:"Array of strings or [{label, tone?}]"}},usageScenarios:["Status / tag chips on a list row","Capability flags on an agent card"],constraints:["tone defaults to 'default' when omitted or unrecognised"]},KeyValueGrid:{name:"KeyValueGrid",description:"Compact key/value grid for metadata. Accepts an items array or a plain record object.",category:"composite",level:"L1",tags:["key-value","metadata","grid","display"],props:{items:{type:"array",items:{type:"object",properties:{key:{type:"string"},value:{type:"string"}}},description:"[{key, value}] pairs (or pass a plain object as `data`)"},cols:{enum:["1","2","3",1,2,3],default:"2"}},usageScenarios:["Model metadata panel (provider, context, pricing)","Request / response header summary"],constraints:["Values are stringified for display; pass pre-formatted strings for control"]},Hero:{name:"Hero",description:"Asymmetric editorial hero: serif display title (with optional italic emphasis word), mono eyebrow with amber dot, warm radial-glow + blueprint dot-grid backdrop, grain overlay, staggered reveal, and primary/secondary CTAs. An optional right-side visual renders via the `aside` slot or children.",category:"presentation",level:"L3",tags:["hero","marketing","landing","editorial"],props:{eyebrow:{type:"string",description:"Mono uppercase kicker above the title"},title:{type:"string",description:"Serif display headline"},titleEmphasis:{type:"string",description:"Optional trailing word rendered italic + amber for emphasis"},subtitle:{type:"string",description:"Supporting lead paragraph"},primaryCta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber button"},secondaryCta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 outline button"},note:{type:"string",description:"Small mono note under the CTAs"}},slots:{aside:{description:"Right-pane visual (e.g. a rendered spec preview); hidden on mobile"}},usageScenarios:["Studio landing-page hero introducing 'AI writes the spec, the platform renders the UI'","Product launch hero with a spec snippet preview on the right"],constraints:["CTA props are {label, href}; href defaults to '#' when omitted","Use titleEmphasis for a single emphasis word, not the whole title"]},BrowserFrame:{name:"BrowserFrame",description:"Product-screenshot window shell: frames its `content` slot (or children) in a precise browser/app chrome \u2014 three traffic-light dots + a mono title/address bar \u2014 with a hairline border, long soft shadow, and an optional 3D tilt. Used to present a live-rendered UI as a product-shot visual (dogfood) instead of a static screenshot.",category:"presentation",level:"L2",tags:["frame","browser","window","screenshot","marketing"],props:{title:{type:"string",description:"Address/title shown in the window chrome (defaults to 'app.uibot.studio')"},variant:{type:"string",enum:["flat","tilt"],default:"flat",description:"'tilt' adds a subtle 3D perspective tilt for a product-shot feel"},tone:{type:"string",enum:["0","1","2","3"],default:"0",description:"Accent-hue index for the chrome address bar wash (0 amber \xB7 1 teal \xB7 2 rose \xB7 3 indigo)"}},slots:{content:{description:"The UI rendered inside the frame; usually a real dashboard composed from data blocks"}},usageScenarios:["Hero visual framing a live-rendered mini dashboard as the product shot","Showcase row of small frames each rendering a different UI from the same engine"],constraints:["Frames the `content` slot, falling back to children; supply real spec blocks to render a live UI","Decorative chrome only \u2014 it does not add browser behaviour (no real address bar)"]},SectionHeader:{name:"SectionHeader",description:"Editorial section header: oversized mono section number (e.g. '01'), mono eyebrow, serif title, and a lead paragraph. Sets the rhythm between page sections.",category:"presentation",level:"L2",tags:["section","header","marketing","editorial"],props:{sectionNo:{type:"string",description:"Oversized mono numeral, e.g. '01'"},eyebrow:{type:"string",description:"Mono uppercase kicker"},title:{type:"string",description:"Serif section title"},lead:{type:"string",description:"Lead / intro paragraph"}},usageScenarios:["Numbered section dividers on a landing page (01 Features, 02 How it works)","Editorial chapter header above a FeatureGrid"],constraints:["sectionNo is display text; any string works (e.g. '01', 'A', '\xA71')"]},FeatureGrid:{name:"FeatureGrid",description:"Responsive grid of hairline feature cards with hover lift. Renders an `items` array (icon name + title + desc) into FeatureCards, or lays out FeatureCard children directly.",category:"presentation",level:"L2",tags:["features","grid","cards","marketing"],props:{cols:{type:"string",enum:["2","3","4"],default:"3"},items:{type:"array",items:{type:"object",properties:{icon:{type:"string",description:"lucide icon name (sparkles, zap, layers, code, cpu, workflow, gauge, shield, wand, boxes)"},title:{type:"string"},desc:{type:"string"}}},description:"[{icon, title, desc}] feature entries"}},usageScenarios:["Three-up feature highlights under a SectionHeader","Capability grid (declarative spec, gap recovery, plugin catalog)"],constraints:["icon is a lucide name mapped to a built-in inline SVG; unknown names fall back to a dot","Provide either items or FeatureCard children \u2014 children win when present"]},FeatureCard:{name:"FeatureCard",description:"Single hairline feature card: inline-SVG icon, serif title, body copy, and optional children. Designed to sit inside a FeatureGrid but works standalone.",category:"presentation",level:"L1",tags:["feature","card","marketing"],props:{icon:{type:"string",description:"lucide icon name (see FeatureGrid)"},title:{type:"string"},desc:{type:"string"}},usageScenarios:["A single emphasised feature beside a screenshot","Composed children inside a FeatureGrid for custom card bodies"],constraints:["icon resolves against the built-in inline-SVG set; unknown \u2192 dot fallback"]},CodeShowcase:{name:"CodeShowcase",description:"Mono code panel with window chrome (three dots) and line numbers, used to showcase a UIBot YAML/JSON spec. Pure CSS, no syntax-highlighter dependency.",category:"presentation",level:"L2",tags:["code","spec","showcase","marketing"],props:{title:{type:"string",description:"Filename / label shown in the window chrome"},code:{type:"string",description:"Raw code string; newline-separated, rendered with line numbers"},caption:{type:"string",description:"Caption under the panel"}},usageScenarios:["Show an example UIBot YAML spec on the landing page","Before/after spec snippet in a docs section"],constraints:["code is plain text rendered verbatim with line numbers; no highlighting/escaping beyond React's default"]},CtaBand:{name:"CtaBand",description:"Inverted ink-black call-to-action band with grain overlay and a single amber CTA. Closes a landing page with high contrast.",category:"presentation",level:"L2",tags:["cta","band","marketing","conversion"],props:{title:{type:"string",description:"Serif headline"},subtitle:{type:"string",description:"Supporting line"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber button"}},usageScenarios:["Final 'Start building' band at the bottom of the landing page","Newsletter / docs CTA between sections"],constraints:["Single CTA by design; cta.href defaults to '#' when omitted"]},Faq:{name:"Faq",description:"Editorial accordion FAQ built on native <details>/<summary> \u2014 fully functional with zero JS / state wiring. Optional eyebrow/title/lead header; rows carry a mono index numeral, a hairline plus-mark that rotates 45\xB0 into a close-mark on open, and a grid-rows expand transition.",category:"presentation",level:"L2",tags:["faq","accordion","marketing","content"],props:{eyebrow:{type:"string",description:"Optional mono overline above the title (accent colored)"},title:{type:"string",description:"Optional serif heading above the list"},lead:{type:"string",description:"Optional muted intro line under the title"},defaultOpenFirst:{type:"boolean",description:"When true, the first row renders open on mount"},items:{type:"array",items:{type:"object",properties:{q:{type:"string"},a:{type:"string"}}},description:"[{q, a}] question/answer pairs; rows with an empty q are dropped"}},usageScenarios:["Pricing / product FAQ section on a landing page","Docs 'common questions' block"],constraints:["Uses native <details> so multiple rows can be open at once; no single-open behaviour","Answers render as plain text; pass pre-formatted strings"]},TeamGrid:{name:"TeamGrid",description:"Grid of team-member cards. Each shows an avatar (image when `avatar` is a URL, otherwise tinted initials), name, mono role and optional bio. Hairline cards with hover lift.",category:"presentation",level:"L2",tags:["team","people","grid","marketing"],props:{columns:{type:"string",enum:["2","3","4"],default:"3"},members:{type:"array",items:{type:"object",properties:{name:{type:"string"},role:{type:"string"},bio:{type:"string"},avatar:{type:"string",description:"Image URL, or short text/emoji shown as the avatar; falls back to initials"}}},description:"[{name, role?, bio?, avatar?}] \u2014 members with an empty name are dropped"}},usageScenarios:["About page 'meet the team' grid","Advisors / contributors showcase"],constraints:["avatar is treated as an image when it looks like a URL (http(s):/data:/leading slash); otherwise rendered as text","Initials are derived from the name when no avatar is given"]},Steps:{name:"Steps",description:"'How it works' steps with oversized mono numerals. variant 'numbered' (default) is a responsive card row; variant 'connected' is a vertical rail with a connecting line between numbered dots.",category:"presentation",level:"L2",tags:["steps","how-it-works","process","marketing"],props:{variant:{type:"string",enum:["numbered","connected"],default:"numbered",description:"'numbered' = card row with big numerals; 'connected' = vertical rail with a line"},steps:{type:"array",items:{type:"object",properties:{title:{type:"string"},desc:{type:"string"},icon:{type:"string",description:"Optional lucide icon name; replaces the numeral in the 'connected' dot"}}},description:"[{title, desc?, icon?}] in sequence order; steps with an empty title are dropped"}},usageScenarios:["Three-step onboarding ('Describe \u2192 Generate \u2192 Render')","Connected setup sequence in docs"],constraints:["Numbering is automatic (01, 02, \u2026) from array order","icon only affects the 'connected' variant's dot; the numbered variant always shows the numeral","Numbered variant derives its column count from the step count (clamped 2\u20134), so 4 steps fill one row"]},BentoGrid:{name:"BentoGrid",description:"Asymmetric bento layout. Lays BentoCell children, or an `items` array, onto a CSS grid whose base column count is `cols`; cells opt into col/row spans to break the rhythm into a mixed-size mosaic. Hairline cards, per-cell accent tone.",category:"presentation",level:"L3",tags:["bento","grid","layout","marketing"],props:{cols:{type:"string",enum:["2","3","4","6"],default:"3",description:"Base column count of the grid (cells may span fewer/more)"},gap:{type:"string",enum:["none","sm","md","lg"],default:"md"},items:{type:"array",items:{type:"object",properties:{title:{type:"string"},desc:{type:"string"},icon:{type:"string",description:"lucide icon name"},tone:{type:"integer",description:"Accent-hue index 0\u20133 (amber/teal/rose/indigo)"},span:{type:"object",properties:{col:{type:"integer"},row:{type:"integer"}},description:"Cell span; col 1\u20134, row 1\u20133"}}},description:"Inline cells used when no BentoCell children are provided"}},usageScenarios:["Feature mosaic where one tile is hero-sized (span col 2) and the rest are small","Capability bento mixing tall and wide tiles"],constraints:["Provide either BentoCell children or items \u2014 children win when present","span.col is clamped to 1\u20134 and span.row to 1\u20133 via static class maps (no purge risk)"]},BentoCell:{name:"BentoCell",description:"A single bento tile, usable standalone inside a BentoGrid. Reads span.col / span.row and maps them to static span classes so the cell can be as wide/tall as the mosaic needs. Optional icon/title/desc plus composed children.",category:"presentation",level:"L1",tags:["bento","cell","card","marketing"],props:{title:{type:"string"},desc:{type:"string"},icon:{type:"string",description:"lucide icon name"},tone:{type:"integer",description:"Accent-hue index 0\u20133 (amber/teal/rose/indigo)"},span:{type:"object",properties:{col:{type:"integer"},row:{type:"integer"}},description:"{col?, row?} \u2014 col clamped 1\u20134, row clamped 1\u20133"}},usageScenarios:["A hero tile (span col 2, row 2) holding a rendered preview inside a BentoGrid","Custom-bodied bento tile composed from child blocks"],constraints:["Spans are clamped 1\u20134 (col) / 1\u20133 (row) and emitted as static classes","Designed to sit inside a BentoGrid; standalone it renders as a lone card"]},Callout:{name:"Callout",description:"Emphasis callout panel: a tinted box (semantic or brand colour) with an icon, optional title and body. color-mix against the chosen token keeps the wash subtle and legible in light and dark.",category:"presentation",level:"L1",tags:["callout","note","alert","marketing"],props:{variant:{type:"string",enum:["info","success","warn","accent"],default:"info",description:"Colour/role: info (indigo) \xB7 success (green) \xB7 warn (amber) \xB7 accent (brand amber)"},title:{type:"string",description:"Emphasised lead line, coloured to the variant"},body:{type:"string",description:"Supporting paragraph"},icon:{type:"string",description:"Optional lucide icon name; defaults to a sensible glyph per variant"}},usageScenarios:["Inline 'Note' / 'Tip' block inside docs or a landing section","Success confirmation or warning banner above content"],constraints:["variant falls back to 'info' when omitted or unrecognised","icon defaults per variant (info\u2192info, success\u2192check, warn\u2192alert, accent\u2192sparkles)"]},PricingTable:{name:"PricingTable",description:"Responsive 2\u20134 column pricing grid of hairline cards. The `highlighted` plan gets an amber border + 'Popular' badge + solid amber CTA; others use an outline CTA. Features list with amber check glyphs. CTAs are {label, href} anchors.",category:"presentation",level:"L3",tags:["pricing","plans","marketing","conversion"],props:{plans:{type:"array",items:{type:"object",properties:{name:{type:"string"},price:{type:"string",description:"Display price, e.g. '$29' or 'Free'"},period:{type:"string",description:"Billing period suffix, e.g. '/mo'"},description:{type:"string",description:"Short plan summary line"},features:{type:"array",items:{type:"string"},description:"Bullet feature list"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber when highlighted, else outline"},highlighted:{type:"boolean",default:!1,description:"Mark the featured/popular plan"}}},description:"[{name, price, period?, description?, features[], cta{label,href}, highlighted?}]"},billingNote:{type:"string",description:"Mono note under the grid, e.g. 'Billed annually \xB7 cancel anytime'"}},usageScenarios:["Three-tier SaaS pricing section (Starter / Pro / Enterprise)","Two-up free-vs-paid comparison with a highlighted paid plan"],constraints:["Column count is derived from plans.length, clamped to 2\u20134","CTA props are {label, href}; href defaults to '#'","Mark at most one plan highlighted for a clear focal point"]},Testimonials:{name:"Testimonials",description:"Grid of testimonial cards (hairline `.mkt-card`, hover lift): optional star rating, serif italic pull-quote, and an initials avatar token + author + role. `columns` (1\u20133) controls the grid; avatar tints cycle the four accents.",category:"presentation",level:"L2",tags:["testimonials","social-proof","marketing","quotes"],props:{items:{type:"array",items:{type:"object",properties:{quote:{type:"string"},author:{type:"string"},role:{type:"string",description:"Author title / company"},avatar:{type:"string",description:"Explicit avatar token; defaults to author initials"},rating:{type:"integer",description:"Optional 1\u20135 star rating"}}},description:"[{quote, author, role?, avatar?, rating?}]"},columns:{type:"string",enum:["1","2","3"],description:"Grid column count (defaults from item count)"}},usageScenarios:["Three-up customer quote wall under a SectionHeader","Single highlighted testimonial beside a feature"],constraints:["avatar defaults to first-letter initials of author; no external images","rating is clamped to 0\u20135 and omitted when absent"]},LogoCloud:{name:"LogoCloud",description:"A single grayscale 'trusted by' logo strip. With no external images each logo is a mono wordmark (initials for long names); the row is dimmed/desaturated and lifts to full foreground on hover. Optional mono `label` above the row.",category:"presentation",level:"L1",tags:["logos","social-proof","marketing","brands"],props:{label:{type:"string",description:"Eyebrow above the row, e.g. 'Trusted by teams at'"},logos:{type:"array",items:{type:"object",properties:{name:{type:"string"}}},description:"Array of strings or [{name}] \u2014 rendered as mono wordmarks/initials"}},usageScenarios:["Logo strip directly under the hero for social proof","Press/partner row between sections"],constraints:["Text-only wordmarks \u2014 no external logo images are loaded","Names longer than 14 chars collapse to initials"]},StatBand:{name:"StatBand",description:"Big-number statistics band: oversized serif values with mono labels, divided by hairline rules. `tone` switches the surface \u2014 plain, muted (soft card panel) or inverse (ink-black panel with warm amber\u2192rose glow + grain).",category:"presentation",level:"L2",tags:["stats","metrics","marketing","band"],props:{stats:{type:"array",items:{type:"object",properties:{value:{type:"string",description:"Big display value, e.g. '99.9%' or '12k+'"},label:{type:"string"},sub:{type:"string",description:"Optional sub-label under the metric"}}},description:"[{value, label, sub?}]"},tone:{type:"string",enum:["plain","muted","inverse"],default:"plain",description:"Surface treatment: plain (transparent) \xB7 muted (card panel) \xB7 inverse (ink-black glow panel)"}},usageScenarios:["Four-up headline metrics band (uptime / users / latency / saved)","Inverse-tone impact band between marketing sections"],constraints:["Column count derives from stats.length, clamped to 1\u20134","Values are display strings; pre-format numbers/units yourself"]},Newsletter:{name:"Newsletter",description:"Email-capture band: serif title + supporting line, then a token-styled email input beside a CTA anchor. Presentational \u2014 the input is decorative and the CTA navigates via {label, href}; wire real submission at the host.",category:"presentation",level:"L2",tags:["newsletter","subscribe","marketing","email"],props:{title:{type:"string",description:"Serif headline"},subtitle:{type:"string",description:"Supporting line under the title"},placeholder:{type:"string",default:"you@example.com",description:"Email input placeholder"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber submit button (defaults to 'Subscribe' / '#')"}},usageScenarios:["End-of-page 'Stay in the loop' email signup","Docs/blog newsletter band between content sections"],constraints:["Input is decorative; the form action points at cta.href \u2014 handle real submission upstream","Single email field + single CTA by design"]},Banner:{name:"Banner",description:"Slim full-width announcement bar: optional icon + message, an inline CTA link and a decorative dismiss '\xD7'. `tone` picks one of the four brand accents; `solid` fills the strip with the accent instead of a soft tint.",category:"presentation",level:"L1",tags:["banner","announcement","marketing","notice"],props:{message:{type:"string",description:"Announcement text"},icon:{type:"string",description:"lucide icon name (defaults to 'sparkles')"},tone:{type:"string",enum:["0","1","2","3"],default:"0",description:"Accent-hue index (0 amber \xB7 1 teal \xB7 2 rose \xB7 3 indigo)"},solid:{type:"boolean",default:!1,description:"Fill the strip with the accent colour"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 inline mono link on the right"},dismissible:{type:"boolean",default:!0,description:"Show the decorative \xD7 (presentational only)"}},usageScenarios:["Top-of-page launch/announcement strip above the hero","Soft-tint 'new docs available' notice between sections"],constraints:["The dismiss \xD7 is decorative \u2014 wire real dismissal at the host","tone is 0\u20133; CTA href defaults to '#'"]},FeatureSplit:{name:"FeatureSplit",description:"Alternating two-column feature section: an editorial text column (eyebrow, serif title, body, bulleted benefits, optional CTA) beside a visual column. The visual renders the `visual` slot (or children) \u2014 e.g. a BrowserFrame \u2014 falling back to a tinted blueprint placeholder. `reverse` flips the column order for an alternating page rhythm.",category:"presentation",level:"L3",tags:["feature","split","two-column","marketing"],props:{eyebrow:{type:"string",description:"Mono uppercase kicker"},title:{type:"string",description:"Serif feature title"},body:{type:"string",description:"Supporting paragraph"},bullets:{type:"array",items:{type:"object",properties:{icon:{type:"string"},text:{type:"string"}}},description:"Array of strings or [{icon?, text}] benefit rows"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber button"},reverse:{type:"boolean",default:!1,description:"Place the visual on the left"},tone:{type:"string",enum:["0","1","2","3"],default:"0",description:"Accent-hue index for the bullet chips / placeholder"}},slots:{visual:{description:"Right-pane visual (BrowserFrame, rendered preview, image); falls back to children then a placeholder"}},usageScenarios:["Alternating feature rows down a landing page (reverse every other)","Text + live BrowserFrame preview feature block"],constraints:["Provide a visual slot/children for the right pane; otherwise a tinted placeholder renders","bullets accept strings or {icon?, text}; CTA href defaults to '#'"]},ComparisonTable:{name:"ComparisonTable",description:"Feature comparison table across products/plans. The header lists columns (a `highlighted` column gets an amber-washed spine); each row pairs a feature label with one value per column \u2014 booleans render as amber check / muted cross glyphs, strings render verbatim. Horizontally scrollable on small screens.",category:"presentation",level:"L3",tags:["comparison","table","pricing","marketing"],props:{featureLabel:{type:"string",description:"Header label for the feature column (often blank)"},columns:{type:"array",items:{type:"object",properties:{name:{type:"string"},highlighted:{type:"boolean"}}},description:"Array of strings or [{name, highlighted?}] \u2014 column headers"},rows:{type:"array",items:{type:"object",properties:{feature:{type:"string"},values:{type:"array",items:{},description:"One value per column (boolean \u2192 \u2713/\u2717, string \u2192 verbatim)"}}},description:"[{feature, values[]}] \u2014 values align positionally with columns"}},usageScenarios:["Plan feature comparison (Free / Pro / Enterprise) with a highlighted column","Product-vs-competitor capability matrix"],constraints:["values align by index with columns; missing/falsey values render as a muted cross","Booleans (or 'yes'/'no'/'true'/'false') become glyphs; other strings render verbatim"]},Roadmap:{name:"Roadmap",description:"Product roadmap / milestone timeline. A vertical rail with one node per milestone; node state drives the dot \u2014 a filled amber check for 'done', an amber ring + rocket for 'active', an outline flag for 'planned'. A marketing roadmap (distinct from the operational TimelineList activity log).",category:"presentation",level:"L2",tags:["roadmap","milestones","timeline","marketing"],props:{milestones:{type:"array",items:{type:"object",properties:{date:{type:"string",description:"Quarter/date label, e.g. 'Q3 2026'"},title:{type:"string"},desc:{type:"string"},state:{type:"string",enum:["done","active","planned"]}}},description:"[{date?, title, desc?, state?}] in sequence order"}},usageScenarios:["Public product roadmap section (shipped / in progress / planned)","Launch sequence with dated milestones"],constraints:["state defaults to 'planned' when omitted or unrecognised","milestones with an empty title are dropped"]},StatHighlight:{name:"StatHighlight",description:"Single big-number spotlight: an oversized serif value with an optional trend delta (up = amber, down = rose), a mono label and supporting copy. Draws the eye to one headline metric (distinct from StatBand's multi-stat row).",category:"presentation",level:"L1",tags:["stat","metric","highlight","marketing"],props:{value:{type:"string",description:"Big display value, e.g. '99.9%' or '12k+'"},label:{type:"string",description:"Mono uppercase label under the value"},body:{type:"string",description:"Supporting paragraph"},delta:{type:"string",description:"Trend delta pill text, e.g. '+12%'"},trend:{type:"string",enum:["up","down"],default:"up",description:"Delta direction: up (amber, arrow up) or down (rose, arrow down)"}},usageScenarios:["Centered headline metric between two content sections","Single KPI spotlight with a growth delta"],constraints:["Values/deltas are display strings; pre-format numbers/units yourself","trend only affects the delta pill colour/arrow; omit delta to hide the pill"]},IconList:{name:"IconList",description:"Benefit / checklist list with icons. Each item shows a tinted icon chip, a title and optional supporting line, laid into a 1\u20133 column grid; tints cycle the four accents. Lighter-weight than FeatureGrid (no card material) \u2014 for inline benefit/checklist runs.",category:"presentation",level:"L1",tags:["benefits","checklist","list","marketing"],props:{columns:{type:"string",enum:["1","2","3"],default:"2"},icon:{type:"string",description:"Default lucide icon for items without their own (defaults to 'check')"},items:{type:"array",items:{type:"object",properties:{icon:{type:"string"},title:{type:"string"},desc:{type:"string"}}},description:"Array of strings or [{icon?, title, desc?}]"}},usageScenarios:["Two-column 'what's included' benefit list","Checklist of capabilities under a SectionHeader"],constraints:["items accept plain strings (\u2192 title only) or {icon?, title, desc?}","icon falls back to the block-level `icon` (default 'check'); unknown names \u2192 dot"]},Footer:{name:"Footer",description:"Multi-column marketing footer: a brand block (serif wordmark + tagline) beside grouped link columns, with a bottom rule carrying a copyright line and small print. Pure layout off theme tokens.",category:"presentation",level:"L2",tags:["footer","navigation","marketing","layout"],props:{brand:{type:"string",description:"Brand wordmark (serif display under .marketing)"},tagline:{type:"string",description:"Short brand tagline under the wordmark"},groups:{type:"array",items:{type:"object",properties:{title:{type:"string"},links:{type:"array",items:{type:"object",properties:{label:{type:"string"},href:{type:"string"}}}}}},description:"[{title, links:[{label, href}]}] link columns"},copyright:{type:"string",description:"Bottom-left copyright line"},note:{type:"string",description:"Bottom-right mono small print"}},usageScenarios:["Site-wide marketing footer with Product / Company / Legal columns","Compact footer with brand + a single link group"],constraints:["link href defaults to '#' when omitted; empty groups/links are dropped","The bottom rule only renders when copyright or note is provided"]},AccordionList:{name:"AccordionList",description:"General-purpose content accordion on native <details>/<summary> \u2014 fully functional with zero JS. Each row is a standalone hairline card with an optional leading icon chip, a title and a body. `defaultOpenFirst` opens the first row. (Faq is the divided-single-card Q&A variant.)",category:"presentation",level:"L2",tags:["accordion","details","content","marketing"],props:{title:{type:"string",description:"Optional serif heading above the list"},defaultOpenFirst:{type:"boolean",default:!1,description:"Open the first row by default"},items:{type:"array",items:{type:"object",properties:{icon:{type:"string",description:"Optional lucide icon for the row chip"},title:{type:"string"},body:{type:"string"}}},description:"[{icon?, title, body}] \u2014 rows with an empty title are dropped"}},usageScenarios:["Expandable feature explainers (icon + title + body) on a landing page","Docs 'details' sections with one card per topic"],constraints:["Uses native <details> so multiple rows can be open at once (no single-open behaviour)","Bodies render as plain text; pass pre-formatted strings"]},MetricCard:{name:"MetricCard",description:"KPI metric card with an inline pure-SVG sparkline: a mono label, a big value, a trend delta pill (up = amber, down = rose) and a sparkline drawn from a `points` series \u2014 no chart dependency. A `.mkt-card` with hover lift; `tone` selects the accent. Designed to sit in a Grid/StatGrid for a metrics row.",category:"presentation",level:"L2",tags:["metric","kpi","sparkline","card","dashboard"],props:{label:{type:"string",description:"Mono uppercase metric label"},value:{type:"string",description:"Big display value"},delta:{type:"string",description:"Trend delta pill, e.g. '+8.2%'"},trend:{type:"string",enum:["up","down"],default:"up",description:"Delta direction: up (amber) or down (rose)"},tone:{type:"string",enum:["0","1","2","3"],default:"0",description:"Accent-hue index for the sparkline stroke/fill"},points:{type:"array",items:{type:"number"},description:"Numeric series for the inline sparkline (auto-scaled)"}},usageScenarios:["Four-up KPI metrics row inside a Grid (revenue / users / latency / churn)","Single highlighted metric with a trend sparkline"],constraints:["points are auto-scaled to the card's min/max; keep series small (~<60 points)","value/delta are display strings; the sparkline is hidden when points is empty"]},GalleryGrid:{name:"GalleryGrid",description:"Caption gallery grid. Lays image tiles (or, with no `src`, a tinted blueprint placeholder) onto a 2\u20134 column responsive grid; a tile may opt into `wide` to span two columns for a mixed-rhythm mosaic. Captions sit on a gradient scrim over each tile. Hairline framing, hover lift \u2014 no external images required.",category:"presentation",level:"L2",tags:["gallery","images","grid","marketing"],props:{columns:{type:"string",enum:["2","3","4"],default:"3"},items:{type:"array",items:{type:"object",properties:{src:{type:"string",description:"Image URL; omit for a tinted placeholder"},caption:{type:"string",description:"Caption shown over a gradient scrim"},tone:{type:"integer",description:"Accent-hue index 0\u20133 for the placeholder"},wide:{type:"boolean",description:"Span two columns"}}},description:"[{src?, caption?, tone?, wide?}] gallery tiles"}},usageScenarios:["Screenshot gallery with a wide hero tile and smaller supporting tiles","Placeholder-driven layout mock before real imagery exists"],constraints:["src is treated as an image when it looks like a URL (http(s):/data:/leading slash); otherwise a placeholder renders","wide spans two columns from the sm breakpoint up"]}};var je={Grid:nt,StatGrid:st,TrendChart:$e,LineChart:it,KanbanBoard:at,DiagnosticsList:ot,Matrix:Oe,Heatmap:lt,TimelineList:ct,SearchableTable:dt,SplitMasterDetail:mt,DetailField:pt,BadgeGroup:ut,KeyValueGrid:gt,Hero:yt,BrowserFrame:bt,SectionHeader:xt,FeatureGrid:vt,FeatureCard:kt,CodeShowcase:wt,CtaBand:Nt,Faq:Et,TeamGrid:St,Steps:Ct,BentoGrid:Lt,BentoCell:It,Callout:At,PricingTable:Tt,Testimonials:$t,LogoCloud:Ot,StatBand:Mt,Newsletter:Bt,Banner:Pt,FeatureSplit:qt,ComparisonTable:jt,Roadmap:Ft,StatHighlight:Gt,IconList:_t,Footer:Dt,AccordionList:zt,MetricCard:Ut,GalleryGrid:Vt},cd=Object.keys(je);function jl(){return Dn({manifest:_n({pluginId:"uibot.blocks-studio",version:"0.1.0",displayName:"UIBot Blocks (studio)",description:"Studio-specific blocks: Grid layout, StatGrid, TrendChart, KanbanBoard, Matrix, DiagnosticsList, TimelineList, dogfood interactive shells, plus Schematic Editorial presentation blocks (Hero, SectionHeader, FeatureGrid/Card, CodeShowcase, CtaBand) conversion marketing blocks (PricingTable, Testimonials, LogoCloud, StatBand, Newsletter) and section/layout blocks (Banner, FeatureSplit, ComparisonTable, Roadmap, StatHighlight, IconList, Footer, AccordionList, MetricCard, GalleryGrid).",sdkRange:"^0.1.0",engineRange:"^0.1.0",capabilities:[...Object.keys(je).map((e)=>({id:`uibot.blocks-studio.catalog.${e.toLowerCase()}`,type:"catalog:component",description:he[e]?.description??e})),{id:"uibot.blocks-studio.renderer",type:"renderer:target",description:"Provides React render targets for all studio blocks"}],permissions:[]}),register(e){for(let[t,r]of Object.entries(he))e.addCapability(rt({id:`uibot.blocks-studio.catalog.${t.toLowerCase()}`,type:"catalog:component",description:r.description,contribution:{name:t,entry:r}}));e.addCapability(rt({id:"uibot.blocks-studio.renderer",type:"renderer:target",description:"Provides React render targets for all studio blocks",contribution:Bl({entries:Object.fromEntries(Object.entries(je).map(([t,r])=>{let n=he[t]?.category;return[t,n?{component:r,category:n}:{component:r}]}))})}))}})}var dd=jl();function md(e){let t=new Pl(Object.fromEntries(Object.entries(je).map(([r,n])=>[r,{component:n}])));return e?e.merge(t):t}function pd(e,t){let r=Object.fromEntries(Object.entries(t).map(([n,i])=>{let a=i.category??i.entry?.category;return[n,a?{component:i.component,category:a}:{component:i.component}]}));return ql([e,r])}export{zt as AccordionList,je as BLOCK_ENTRIES,cd as BLOCK_NAMES,ut as BadgeGroup,Pt as Banner,It as BentoCell,Lt as BentoGrid,bt as BrowserFrame,At as Callout,wt as CodeShowcase,jt as ComparisonTable,Nt as CtaBand,pt as DetailField,ot as DiagnosticsList,Et as Faq,kt as FeatureCard,vt as FeatureGrid,qt as FeatureSplit,Dt as Footer,Vt as GalleryGrid,nt as Grid,lt as Heatmap,yt as Hero,_t as IconList,at as KanbanBoard,gt as KeyValueGrid,it as LineChart,Ot as LogoCloud,Oe as Matrix,Ut as MetricCard,Bt as Newsletter,Tt as PricingTable,Ft as Roadmap,he as STUDIO_CATALOG_ENTRIES,dt as SearchableTable,xt as SectionHeader,mt as SplitMasterDetail,Mt as StatBand,st as StatGrid,Gt as StatHighlight,Ct as Steps,St as TeamGrid,$t as Testimonials,ct as TimelineList,$e as TrendChart,dd as UIBotBlocksStudioPlugin,md as createStudioReactRegistry,jl as createUIBotBlocksStudioPlugin,pd as registerCustomBlocks};
2
+ var Ni=Object.create;var{getPrototypeOf:Ri,defineProperty:Kt,getOwnPropertyNames:Ei}=Object;var Wt=Object.prototype.hasOwnProperty;function Si(e){return this[e]}var Ci,Li,Ii=(e,t,r)=>{var n=e!=null&&typeof e==="object";if(n){var i=t?Ci??=new WeakMap:Li??=new WeakMap,a=i.get(e);if(a)return a}r=e!=null?Ni(Ri(e)):{};let s=t||!e||!e.__esModule||!Wt.call(e,"default")?Kt(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let o of Ei(e))if(!Wt.call(s,o))Kt(s,o,{get:Si.bind(e,o),enumerable:!0})}if(n)i.set(e,s);return s};var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ne=b(function(Gl,Yt){var Ai=Number.MAX_SAFE_INTEGER||9007199254740991,Ti=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Yt.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Ai,RELEASE_TYPES:Ti,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var ce=b(function(_l,Qt){var $i=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};Qt.exports=$i});var ie=b(function(K,Jt){var{MAX_SAFE_COMPONENT_LENGTH:Ue,MAX_SAFE_BUILD_LENGTH:Oi,MAX_LENGTH:Mi}=ne(),Bi=ce();K=Jt.exports={};var Pi=K.re=[],qi=K.safeRe=[],p=K.src=[],ji=K.safeSrc=[],u=K.t={},Fi=0,Ve="[a-zA-Z0-9-]",Gi=[["\\s",1],["\\d",Mi],[Ve,Oi]],_i=(e)=>{for(let[t,r]of Gi)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},v=(e,t,r)=>{let n=_i(t),i=Fi++;Bi(e,i,t),u[e]=i,p[i]=t,ji[i]=n,Pi[i]=new RegExp(t,r?"g":void 0),qi[i]=new RegExp(n,r?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*");v("NUMERICIDENTIFIERLOOSE","\\d+");v("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Ve}*`);v("MAINVERSION",`(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})`);v("MAINVERSIONLOOSE",`(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})`);v("PRERELEASEIDENTIFIER",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIER]})`);v("PRERELEASEIDENTIFIERLOOSE",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIERLOOSE]})`);v("PRERELEASE",`(?:-(${p[u.PRERELEASEIDENTIFIER]}(?:\\.${p[u.PRERELEASEIDENTIFIER]})*))`);v("PRERELEASELOOSE",`(?:-?(${p[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${p[u.PRERELEASEIDENTIFIERLOOSE]})*))`);v("BUILDIDENTIFIER",`${Ve}+`);v("BUILD",`(?:\\+(${p[u.BUILDIDENTIFIER]}(?:\\.${p[u.BUILDIDENTIFIER]})*))`);v("FULLPLAIN",`v?${p[u.MAINVERSION]}${p[u.PRERELEASE]}?${p[u.BUILD]}?`);v("FULL",`^${p[u.FULLPLAIN]}$`);v("LOOSEPLAIN",`[v=\\s]*${p[u.MAINVERSIONLOOSE]}${p[u.PRERELEASELOOSE]}?${p[u.BUILD]}?`);v("LOOSE",`^${p[u.LOOSEPLAIN]}$`);v("GTLT","((?:<|>)?=?)");v("XRANGEIDENTIFIERLOOSE",`${p[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);v("XRANGEIDENTIFIER",`${p[u.NUMERICIDENTIFIER]}|x|X|\\*`);v("XRANGEPLAIN",`[v=\\s]*(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:${p[u.PRERELEASE]})?${p[u.BUILD]}?)?)?`);v("XRANGEPLAINLOOSE",`[v=\\s]*(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:${p[u.PRERELEASELOOSE]})?${p[u.BUILD]}?)?)?`);v("XRANGE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAIN]}$`);v("XRANGELOOSE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAINLOOSE]}$`);v("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Ue}})(?:\\.(\\d{1,${Ue}}))?(?:\\.(\\d{1,${Ue}}))?`);v("COERCE",`${p[u.COERCEPLAIN]}(?:$|[^\\d])`);v("COERCEFULL",p[u.COERCEPLAIN]+`(?:${p[u.PRERELEASE]})?(?:${p[u.BUILD]})?(?:$|[^\\d])`);v("COERCERTL",p[u.COERCE],!0);v("COERCERTLFULL",p[u.COERCEFULL],!0);v("LONETILDE","(?:~>?)");v("TILDETRIM",`(\\s*)${p[u.LONETILDE]}\\s+`,!0);K.tildeTrimReplace="$1~";v("TILDE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAIN]}$`);v("TILDELOOSE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAINLOOSE]}$`);v("LONECARET","(?:\\^)");v("CARETTRIM",`(\\s*)${p[u.LONECARET]}\\s+`,!0);K.caretTrimReplace="$1^";v("CARET",`^${p[u.LONECARET]}${p[u.XRANGEPLAIN]}$`);v("CARETLOOSE",`^${p[u.LONECARET]}${p[u.XRANGEPLAINLOOSE]}$`);v("COMPARATORLOOSE",`^${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]})$|^$`);v("COMPARATOR",`^${p[u.GTLT]}\\s*(${p[u.FULLPLAIN]})$|^$`);v("COMPARATORTRIM",`(\\s*)${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]}|${p[u.XRANGEPLAIN]})`,!0);K.comparatorTrimReplace="$1$2$3";v("HYPHENRANGE",`^\\s*(${p[u.XRANGEPLAIN]})\\s+-\\s+(${p[u.XRANGEPLAIN]})\\s*$`);v("HYPHENRANGELOOSE",`^\\s*(${p[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${p[u.XRANGEPLAINLOOSE]})\\s*$`);v("STAR","(<|>)?=?\\s*\\*");v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var be=b(function(Dl,Zt){var Di=Object.freeze({loose:!0}),zi=Object.freeze({}),Ui=(e)=>{if(!e)return zi;if(typeof e!=="object")return Di;return e};Zt.exports=Ui});var He=b(function(zl,rr){var er=/^[0-9]+$/,tr=(e,t)=>{if(typeof e==="number"&&typeof t==="number")return e===t?0:e<t?-1:1;let r=er.test(e),n=er.test(t);if(r&&n)e=+e,t=+t;return e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},Vi=(e,t)=>tr(t,e);rr.exports={compareIdentifiers:tr,rcompareIdentifiers:Vi}});var B=b(function(Ul,ir){var xe=ce(),{MAX_LENGTH:nr,MAX_SAFE_INTEGER:ve}=ne(),{safeRe:ke,t:we}=ie(),Hi=be(),{compareIdentifiers:Xe}=He(),Xi=(e,t)=>{let r=t.split(".");if(r.length>e.length)return!1;for(let n=0;n<r.length;n++)if(Xe(e[n],r[n])!==0)return!1;return!0};class U{constructor(e,t){if(t=Hi(t),e instanceof U)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else e=e.version;else if(typeof e!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>nr)throw TypeError(`version is longer than ${nr} characters`);xe("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?ke[we.LOOSE]:ke[we.FULL]);if(!r)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>ve||this.major<0)throw TypeError("Invalid major version");if(this.minor>ve||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>ve||this.patch<0)throw TypeError("Invalid patch version");if(!r[4])this.prerelease=[];else this.prerelease=r[4].split(".").map((n)=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&i<ve)return i}return n});this.build=r[5]?r[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(e){if(xe("SemVer.compare",this.version,this.options,e),!(e instanceof U)){if(typeof e==="string"&&e===this.version)return 0;e=new U(e,this.options)}if(e.version===this.version)return 0;return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof U))e=new U(e,this.options);if(this.major<e.major)return-1;if(this.major>e.major)return 1;if(this.minor<e.minor)return-1;if(this.minor>e.minor)return 1;if(this.patch<e.patch)return-1;if(this.patch>e.patch)return 1;return 0}comparePre(e){if(!(e instanceof U))e=new U(e,this.options);if(this.prerelease.length&&!e.prerelease.length)return-1;else if(!this.prerelease.length&&e.prerelease.length)return 1;else if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],n=e.prerelease[t];if(xe("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;else if(n===void 0)return 1;else if(r===void 0)return-1;else if(r===n)continue;else return Xe(r,n)}while(++t)}compareBuild(e){if(!(e instanceof U))e=new U(e,this.options);let t=0;do{let r=this.build[t],n=e.build[t];if(xe("build compare",t,r,n),r===void 0&&n===void 0)return 0;else if(n===void 0)return 1;else if(r===void 0)return-1;else if(r===n)continue;else return Xe(r,n)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&r===!1)throw Error("invalid increment argument: identifier is empty");if(t){let n=`-${t}`.match(this.options.loose?ke[we.PRERELEASELOOSE]:ke[we.PRERELEASE]);if(!n||n[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",t,r);this.inc("pre",t,r);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let n=Number(r)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;while(--i>=0)if(typeof this.prerelease[i]==="number")this.prerelease[i]++,i=-2;if(i===-1){if(t===this.prerelease.join(".")&&r===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(t){let i=[t,n];if(r===!1)i=[t];if(Xi(this.prerelease,t)){let a=this.prerelease[t.split(".").length];if(isNaN(a))this.prerelease=i}else this.prerelease=i}break}default:throw Error(`invalid increment argument: ${e}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}ir.exports=U});var W=b(function(Vl,sr){var ar=B(),Ki=(e,t,r=!1)=>{if(e instanceof ar)return e;try{return new ar(e,t)}catch(n){if(!r)return null;throw n}};sr.exports=Ki});var lr=b(function(Hl,or){var Wi=W(),Yi=(e,t)=>{let r=Wi(e,t);return r?r.version:null};or.exports=Yi});var dr=b(function(Xl,cr){var Qi=W(),Ji=(e,t)=>{let r=Qi(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};cr.exports=Ji});var ur=b(function(Kl,pr){var mr=B(),Zi=(e,t,r,n,i)=>{if(typeof r==="string")i=n,n=r,r=void 0;try{return new mr(e instanceof mr?e.version:e,r).inc(t,n,i).version}catch(a){return null}};pr.exports=Zi});var hr=b(function(Wl,fr){var gr=W(),ea=(e,t)=>{let r=gr(e,null,!0),n=gr(t,null,!0),i=r.compare(n);if(i===0)return null;let a=i>0,s=a?r:n,o=a?n:r,c=!!s.prerelease.length;if(!!o.prerelease.length&&!c){if(!o.patch&&!o.minor)return"major";if(o.compareMain(s)===0){if(o.minor&&!o.patch)return"minor";return"patch"}}let m=c?"pre":"";if(r.major!==n.major)return m+"major";if(r.minor!==n.minor)return m+"minor";if(r.patch!==n.patch)return m+"patch";return"prerelease"};fr.exports=ea});var br=b(function(Yl,yr){var ta=B(),ra=(e,t)=>new ta(e,t).major;yr.exports=ra});var vr=b(function(Ql,xr){var na=B(),ia=(e,t)=>new na(e,t).minor;xr.exports=ia});var wr=b(function(Jl,kr){var aa=B(),sa=(e,t)=>new aa(e,t).patch;kr.exports=sa});var Rr=b(function(Zl,Nr){var oa=W(),la=(e,t)=>{let r=oa(e,t);return r&&r.prerelease.length?r.prerelease:null};Nr.exports=la});var G=b(function(ec,Sr){var Er=B(),ca=(e,t,r)=>new Er(e,r).compare(new Er(t,r));Sr.exports=ca});var Lr=b(function(tc,Cr){var da=G(),ma=(e,t,r)=>da(t,e,r);Cr.exports=ma});var Ar=b(function(rc,Ir){var pa=G(),ua=(e,t)=>pa(e,t,!0);Ir.exports=ua});var Ne=b(function(nc,$r){var Tr=B(),ga=(e,t,r)=>{let n=new Tr(e,r),i=new Tr(t,r);return n.compare(i)||n.compareBuild(i)};$r.exports=ga});var Mr=b(function(ic,Or){var fa=Ne(),ha=(e,t)=>e.sort((r,n)=>fa(r,n,t));Or.exports=ha});var Pr=b(function(ac,Br){var ya=Ne(),ba=(e,t)=>e.sort((r,n)=>ya(n,r,t));Br.exports=ba});var de=b(function(sc,qr){var xa=G(),va=(e,t,r)=>xa(e,t,r)>0;qr.exports=va});var Re=b(function(oc,jr){var ka=G(),wa=(e,t,r)=>ka(e,t,r)<0;jr.exports=wa});var Ke=b(function(lc,Fr){var Na=G(),Ra=(e,t,r)=>Na(e,t,r)===0;Fr.exports=Ra});var We=b(function(cc,Gr){var Ea=G(),Sa=(e,t,r)=>Ea(e,t,r)!==0;Gr.exports=Sa});var Ee=b(function(dc,_r){var Ca=G(),La=(e,t,r)=>Ca(e,t,r)>=0;_r.exports=La});var Se=b(function(mc,Dr){var Ia=G(),Aa=(e,t,r)=>Ia(e,t,r)<=0;Dr.exports=Aa});var Ye=b(function(pc,zr){var Ta=Ke(),$a=We(),Oa=de(),Ma=Ee(),Ba=Re(),Pa=Se(),qa=(e,t,r,n)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return Ta(e,r,n);case"!=":return $a(e,r,n);case">":return Oa(e,r,n);case">=":return Ma(e,r,n);case"<":return Ba(e,r,n);case"<=":return Pa(e,r,n);default:throw TypeError(`Invalid operator: ${t}`)}};zr.exports=qa});var Vr=b(function(uc,Ur){var ja=B(),Fa=W(),{safeRe:Ce,t:Le}=ie(),Ga=(e,t)=>{if(e instanceof ja)return e;if(typeof e==="number")e=String(e);if(typeof e!=="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?Ce[Le.COERCEFULL]:Ce[Le.COERCE]);else{let c=t.includePrerelease?Ce[Le.COERCERTLFULL]:Ce[Le.COERCERTL],d;while((d=c.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||d.index+d[0].length!==r.index+r[0].length)r=d;c.lastIndex=d.index+d[1].length+d[2].length}c.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",a=r[4]||"0",s=t.includePrerelease&&r[5]?`-${r[5]}`:"",o=t.includePrerelease&&r[6]?`+${r[6]}`:"";return Fa(`${n}.${i}.${a}${s}${o}`,t)};Ur.exports=Ga});var Kr=b(function(gc,Xr){var _a=W(),Hr=ne(),Da=B(),za=(e,t,r)=>{if(!Hr.RELEASE_TYPES.includes(t))return null;let n=Ua(e,r);return n&&Va(n,t)},Ua=(e,t)=>{let r=e instanceof Da?e.version:e;return _a(r,t)},Va=(e,t)=>{if(Ha(t))return e.version;switch(e.prerelease=[],t){case"major":e.minor=0,e.patch=0;break;case"minor":e.patch=0;break}return e.format()},Ha=(e)=>e.startsWith("pre");Xr.exports=za});var Qr=b(function(fc,Yr){class Wr{constructor(){this.max=1000,this.map=new Map}get(e){let t=this.map.get(e);if(t===void 0)return;else return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,t)}return this}}Yr.exports=Wr});var _=b(function(hc,tn){var Xa=/\s+/g;class me{constructor(e,t){if(t=Wa(t),e instanceof me)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else return new me(e.raw,t);if(e instanceof Ie)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(Xa," "),this.set=this.raw.split("||").map((r)=>this.parseRange(r.trim())).filter((r)=>r.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let r=this.set[0];if(this.set=this.set.filter((n)=>!Zr(n[0])),this.set.length===0)this.set=[r];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&is(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){if(e>0)this.formatted+="||";let t=this.set[e];for(let r=0;r<t.length;r++){if(r>0)this.formatted+=" ";this.formatted+=t[r].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(ns,"");let r=((this.options.includePrerelease&&ts)|(this.options.loose&&rs))+":"+e,n=Jr.get(r);if(n)return n;let i=this.options.loose,a=i?q[P.HYPHENRANGELOOSE]:q[P.HYPHENRANGE];e=e.replace(a,fs(this.options.includePrerelease)),R("hyphen replace",e),e=e.replace(q[P.COMPARATORTRIM],Ja),R("comparator trim",e),e=e.replace(q[P.TILDETRIM],Za),R("tilde trim",e),e=e.replace(q[P.CARETTRIM],es),R("caret trim",e);let s=e.split(" ").map((m)=>as(m,this.options)).join(" ").split(/\s+/).map((m)=>gs(m,this.options));if(i)s=s.filter((m)=>(R("loose invalid filter",m,this.options),!!m.match(q[P.COMPARATORLOOSE])));R("range list",s);let o=new Map,c=s.map((m)=>new Ie(m,this.options));for(let m of c){if(Zr(m))return[m];o.set(m.value,m)}if(o.size>1&&o.has(""))o.delete("");let d=[...o.values()];return Jr.set(r,d),d}intersects(e,t){if(!(e instanceof me))throw TypeError("a Range is required");return this.set.some((r)=>en(r,t)&&e.set.some((n)=>en(n,t)&&r.every((i)=>n.every((a)=>i.intersects(a,t)))))}test(e){if(!e)return!1;if(typeof e==="string")try{e=new Ya(e,this.options)}catch(t){return!1}for(let t=0;t<this.set.length;t++)if(hs(this.set[t],e,this.options))return!0;return!1}}tn.exports=me;var Ka=Qr(),Jr=new Ka,Wa=be(),Ie=pe(),R=ce(),Ya=B(),{safeRe:q,src:Qa,t:P,comparatorTrimReplace:Ja,tildeTrimReplace:Za,caretTrimReplace:es}=ie(),{FLAG_INCLUDE_PRERELEASE:ts,FLAG_LOOSE:rs}=ne(),ns=new RegExp(Qa[P.BUILD],"g"),Zr=(e)=>e.value==="<0.0.0-0",is=(e)=>e.value==="",en=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();while(r&&n.length)r=n.every((a)=>i.intersects(a,t)),i=n.pop();return r},as=(e,t)=>(e=e.replace(q[P.BUILD],""),R("comp",e,t),e=cs(e,t),R("caret",e),e=os(e,t),R("tildes",e),e=ms(e,t),R("xrange",e),e=us(e,t),R("stars",e),e),O=(e)=>!e||e.toLowerCase()==="x"||e==="*",ss=(e,t,r)=>O(e)&&!O(t)||O(t)&&r&&!O(r),os=(e,t)=>e.trim().split(/\s+/).map((r)=>ls(r,t)).join(" "),ls=(e,t)=>{let r=t.loose?q[P.TILDELOOSE]:q[P.TILDE],n=t.includePrerelease?"-0":"";return e.replace(r,(i,a,s,o,c)=>{R("tilde",e,i,a,s,o,c);let d;if(O(a))d="";else if(O(s))d=`>=${a}.0.0${n} <${+a+1}.0.0-0`;else if(O(o))d=`>=${a}.${s}.0${n} <${a}.${+s+1}.0-0`;else if(c)R("replaceTilde pr",c),d=`>=${a}.${s}.${o}-${c} <${a}.${+s+1}.0-0`;else d=`>=${a}.${s}.${o} <${a}.${+s+1}.0-0`;return R("tilde return",d),d})},cs=(e,t)=>e.trim().split(/\s+/).map((r)=>ds(r,t)).join(" "),ds=(e,t)=>{R("caret",e,t);let r=t.loose?q[P.CARETLOOSE]:q[P.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(i,a,s,o,c)=>{R("caret",e,i,a,s,o,c);let d;if(O(a))d="";else if(O(s))d=`>=${a}.0.0${n} <${+a+1}.0.0-0`;else if(O(o))if(a==="0")d=`>=${a}.${s}.0${n} <${a}.${+s+1}.0-0`;else d=`>=${a}.${s}.0${n} <${+a+1}.0.0-0`;else if(c)if(R("replaceCaret pr",c),a==="0")if(s==="0")d=`>=${a}.${s}.${o}-${c} <${a}.${s}.${+o+1}-0`;else d=`>=${a}.${s}.${o}-${c} <${a}.${+s+1}.0-0`;else d=`>=${a}.${s}.${o}-${c} <${+a+1}.0.0-0`;else if(R("no pr"),a==="0")if(s==="0")d=`>=${a}.${s}.${o} <${a}.${s}.${+o+1}-0`;else d=`>=${a}.${s}.${o} <${a}.${+s+1}.0-0`;else d=`>=${a}.${s}.${o} <${+a+1}.0.0-0`;return R("caret return",d),d})},ms=(e,t)=>(R("replaceXRanges",e,t),e.split(/\s+/).map((r)=>ps(r,t)).join(" ")),ps=(e,t)=>{e=e.trim();let r=t.loose?q[P.XRANGELOOSE]:q[P.XRANGE];return e.replace(r,(n,i,a,s,o,c)=>{if(R("xRange",e,n,i,a,s,o,c),ss(a,s,o))return e;let d=O(a),m=d||O(s),y=m||O(o),N=y;if(i==="="&&N)i="";if(c=t.includePrerelease?"-0":"",d)if(i===">"||i==="<")n="<0.0.0-0";else n="*";else if(i&&N){if(m)s=0;if(o=0,i===">")if(i=">=",m)a=+a+1,s=0,o=0;else s=+s+1,o=0;else if(i==="<=")if(i="<",m)a=+a+1;else s=+s+1;if(i==="<")c="-0";n=`${i+a}.${s}.${o}${c}`}else if(m)n=`>=${a}.0.0${c} <${+a+1}.0.0-0`;else if(y)n=`>=${a}.${s}.0${c} <${a}.${+s+1}.0-0`;return R("xRange return",n),n})},us=(e,t)=>(R("replaceStars",e,t),e.trim().replace(q[P.STAR],"")),gs=(e,t)=>(R("replaceGTE0",e,t),e.trim().replace(q[t.includePrerelease?P.GTE0PRE:P.GTE0],"")),fs=(e)=>(t,r,n,i,a,s,o,c,d,m,y,N)=>{if(O(n))r="";else if(O(i))r=`>=${n}.0.0${e?"-0":""}`;else if(O(a))r=`>=${n}.${i}.0${e?"-0":""}`;else if(s)r=`>=${r}`;else r=`>=${r}${e?"-0":""}`;if(O(d))c="";else if(O(m))c=`<${+d+1}.0.0-0`;else if(O(y))c=`<${d}.${+m+1}.0-0`;else if(N)c=`<=${d}.${m}.${y}-${N}`;else if(e)c=`<${d}.${m}.${+y+1}-0`;else c=`<=${c}`;return`${r} ${c}`.trim()},hs=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++){if(R(e[n].semver),e[n].semver===Ie.ANY)continue;if(e[n].semver.prerelease.length>0){let i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}}return!1}return!0}});var pe=b(function(yc,ln){var ue=Symbol("SemVer ANY");class Ae{static get ANY(){return ue}constructor(e,t){if(t=rn(t),e instanceof Ae)if(e.loose===!!t.loose)return e;else e=e.value;if(e=e.trim().split(/\s+/).join(" "),Je("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ue)this.value="";else this.value=this.operator+this.semver.version;Je("comp",this)}parse(e){let t=this.options.loose?nn[an.COMPARATORLOOSE]:nn[an.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);if(this.operator=r[1]!==void 0?r[1]:"",this.operator==="=")this.operator="";if(!r[2])this.semver=ue;else this.semver=new sn(r[2],this.options.loose)}toString(){return this.value}test(e){if(Je("Comparator.test",e,this.options.loose),this.semver===ue||e===ue)return!0;if(typeof e==="string")try{e=new sn(e,this.options)}catch(t){return!1}return Qe(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Ae))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new on(e.value,t).test(this.value)}else if(e.operator===""){if(e.value==="")return!0;return new on(this.value,t).test(e.semver)}if(t=rn(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0"))return!1;if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&e.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&e.operator.startsWith("<"))return!0;if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("="))return!0;if(Qe(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))return!0;if(Qe(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))return!0;return!1}}ln.exports=Ae;var rn=be(),{safeRe:nn,t:an}=ie(),Qe=Ye(),Je=ce(),sn=B(),on=_()});var ge=b(function(bc,cn){var ys=_(),bs=(e,t,r)=>{try{t=new ys(t,r)}catch(n){return!1}return t.test(e)};cn.exports=bs});var mn=b(function(xc,dn){var xs=_(),vs=(e,t)=>new xs(e,t).set.map((r)=>r.map((n)=>n.value).join(" ").trim().split(" "));dn.exports=vs});var un=b(function(vc,pn){var ks=B(),ws=_(),Ns=(e,t,r)=>{let n=null,i=null,a=null;try{a=new ws(t,r)}catch(s){return null}return e.forEach((s)=>{if(a.test(s)){if(!n||i.compare(s)===-1)n=s,i=new ks(n,r)}}),n};pn.exports=Ns});var fn=b(function(kc,gn){var Rs=B(),Es=_(),Ss=(e,t,r)=>{let n=null,i=null,a=null;try{a=new Es(t,r)}catch(s){return null}return e.forEach((s)=>{if(a.test(s)){if(!n||i.compare(s)===1)n=s,i=new Rs(n,r)}}),n};gn.exports=Ss});var bn=b(function(wc,yn){var Ze=B(),Cs=_(),hn=de(),Ls=(e,t)=>{e=new Cs(e,t);let r=new Ze("0.0.0");if(e.test(r))return r;if(r=new Ze("0.0.0-0"),e.test(r))return r;r=null;for(let n=0;n<e.set.length;++n){let i=e.set[n],a=null;if(i.forEach((s)=>{let o=new Ze(s.semver.version);switch(s.operator){case">":if(o.prerelease.length===0)o.patch++;else o.prerelease.push(0);o.raw=o.format();case"":case">=":if(!a||hn(o,a))a=o;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${s.operator}`)}}),a&&(!r||hn(r,a)))r=a}if(r&&e.test(r))return r;return null};yn.exports=Ls});var vn=b(function(Nc,xn){var Is=_(),As=(e,t)=>{try{return new Is(e,t).range||"*"}catch(r){return null}};xn.exports=As});var Te=b(function(Rc,Rn){var Ts=B(),Nn=pe(),{ANY:$s}=Nn,Os=_(),Ms=ge(),kn=de(),wn=Re(),Bs=Se(),Ps=Ee(),qs=(e,t,r,n)=>{e=new Ts(e,n),t=new Os(t,n);let i,a,s,o,c;switch(r){case">":i=kn,a=Bs,s=wn,o=">",c=">=";break;case"<":i=wn,a=Ps,s=kn,o="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(Ms(e,t,n))return!1;for(let d=0;d<t.set.length;++d){let m=t.set[d],y=null,N=null;if(m.forEach((h)=>{if(h.semver===$s)h=new Nn(">=0.0.0");if(y=y||h,N=N||h,i(h.semver,y.semver,n))y=h;else if(s(h.semver,N.semver,n))N=h}),y.operator===o||y.operator===c)return!1;if((!N.operator||N.operator===o)&&a(e,N.semver))return!1;else if(N.operator===c&&s(e,N.semver))return!1}return!0};Rn.exports=qs});var Sn=b(function(Ec,En){var js=Te(),Fs=(e,t,r)=>js(e,t,">",r);En.exports=Fs});var Ln=b(function(Sc,Cn){var Gs=Te(),_s=(e,t,r)=>Gs(e,t,"<",r);Cn.exports=_s});var Tn=b(function(Cc,An){var In=_(),Ds=(e,t,r)=>(e=new In(e,r),t=new In(t,r),e.intersects(t,r));An.exports=Ds});var On=b(function(Lc,$n){var zs=ge(),Us=G();$n.exports=(e,t,r)=>{let n=[],i=null,a=null,s=e.sort((m,y)=>Us(m,y,r));for(let m of s)if(zs(m,t,r)){if(a=m,!i)i=m}else{if(a)n.push([i,a]);a=null,i=null}if(i)n.push([i,null]);let o=[];for(let[m,y]of n)if(m===y)o.push(m);else if(!y&&m===s[0])o.push("*");else if(!y)o.push(`>=${m}`);else if(m===s[0])o.push(`<=${y}`);else o.push(`${m} - ${y}`);let c=o.join(" || "),d=typeof t.raw==="string"?t.raw:String(t);return c.length<d.length?c:t}});var Fn=b(function(Ic,jn){var Mn=_(),rt=pe(),{ANY:et}=rt,tt=ge(),nt=G(),Vs=(e,t,r={})=>{if(e===t)return!0;e=new Mn(e,r),t=new Mn(t,r);let n=!1;e:for(let i of e.set){for(let a of t.set){let s=Xs(i,a,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},Hs=[new rt(">=0.0.0-0")],Bn=[new rt(">=0.0.0")],Xs=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===et)if(t.length===1&&t[0].semver===et)return!0;else if(r.includePrerelease)e=Hs;else e=Bn;if(t.length===1&&t[0].semver===et)if(r.includePrerelease)return!0;else t=Bn;let n=new Set,i,a;for(let h of e)if(h.operator===">"||h.operator===">=")i=Pn(i,h,r);else if(h.operator==="<"||h.operator==="<=")a=qn(a,h,r);else n.add(h.semver);if(n.size>1)return null;let s;if(i&&a){if(s=nt(i.semver,a.semver,r),s>0)return null;else if(s===0&&(i.operator!==">="||a.operator!=="<="))return null}for(let h of n){if(i&&!tt(h,String(i),r))return null;if(a&&!tt(h,String(a),r))return null;for(let ze of t)if(!tt(h,String(ze),r))return!1;return!0}let o,c,d,m,y=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,N=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;if(y&&y.prerelease.length===1&&a.operator==="<"&&y.prerelease[0]===0)y=!1;for(let h of t){if(m=m||h.operator===">"||h.operator===">=",d=d||h.operator==="<"||h.operator==="<=",i){if(N){if(h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===N.major&&h.semver.minor===N.minor&&h.semver.patch===N.patch)N=!1}if(h.operator===">"||h.operator===">="){if(o=Pn(i,h,r),o===h&&o!==i)return!1}else if(i.operator===">="&&!h.test(i.semver))return!1}if(a){if(y){if(h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===y.major&&h.semver.minor===y.minor&&h.semver.patch===y.patch)y=!1}if(h.operator==="<"||h.operator==="<="){if(c=qn(a,h,r),c===h&&c!==a)return!1}else if(a.operator==="<="&&!h.test(a.semver))return!1}if(!h.operator&&(a||i)&&s!==0)return!1}if(i&&d&&!a&&s!==0)return!1;if(a&&m&&!i&&s!==0)return!1;if(N||y)return!1;return!0},Pn=(e,t,r)=>{if(!e)return t;let n=nt(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e},qn=(e,t,r)=>{if(!e)return t;let n=nt(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};jn.exports=Vs});var _n=b(function(Ac,Gn){var ae=ie(),$e=ne(),Ks=B(),Oe=He(),Ws=W(),Ys=lr(),Qs=dr(),Js=ur(),Zs=hr(),eo=br(),to=vr(),ro=wr(),no=Rr(),io=G(),ao=Lr(),so=Ar(),oo=Ne(),lo=Mr(),co=Pr(),mo=de(),po=Re(),uo=Ke(),go=We(),fo=Ee(),ho=Se(),yo=Ye(),bo=Vr(),xo=Kr(),vo=pe(),ko=_(),wo=ge(),No=mn(),Ro=un(),Eo=fn(),So=bn(),Co=vn(),Lo=Te(),Io=Sn(),Ao=Ln(),To=Tn(),$o=On(),Oo=Fn();Gn.exports={parse:Ws,valid:Ys,clean:Qs,inc:Js,diff:Zs,major:eo,minor:to,patch:ro,prerelease:no,compare:io,rcompare:ao,compareLoose:so,compareBuild:oo,sort:lo,rsort:co,gt:mo,lt:po,eq:uo,neq:go,gte:fo,lte:ho,cmp:yo,coerce:bo,truncate:xo,Comparator:vo,Range:ko,satisfies:wo,toComparators:No,maxSatisfying:Ro,minSatisfying:Eo,minVersion:So,validRange:Co,outside:Lo,gtr:Io,ltr:Ao,intersects:To,simplifyRange:$o,subset:Oo,SemVer:Ks,re:ae.re,src:ae.src,tokens:ae.t,SEMVER_SPEC_VERSION:$e.SEMVER_SPEC_VERSION,RELEASE_TYPES:$e.RELEASE_TYPES,compareIdentifiers:Oe.compareIdentifiers,rcompareIdentifiers:Oe.rcompareIdentifiers}});var Mo=Ii(_n(),1);function Dn(e){return e}function zn(e){return e}function it(e){return e}import{defineRendererCapabilityContribution as Bl,ReactRegistry as Pl,composeRegistry as ql}from"@uibot/renderer-react";import{jsx as qo}from"react/jsx-runtime";function Bo(...e){return e.filter(Boolean).join(" ")}var Un={"1":"grid-cols-1","2":"grid-cols-2","3":"grid-cols-3","4":"grid-cols-4","5":"grid-cols-5","6":"grid-cols-6",auto:"grid-cols-[repeat(auto-fit,minmax(220px,1fr))]"},Po={"2":"grid-cols-1 sm:grid-cols-2","3":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3","4":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4","5":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5","6":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"},Vn={none:"gap-0",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8"},at=(e,t)=>{let r=String(e.cols??"auto"),i=e.responsive===!0&&Po[r]||Un[r]||Un.auto,a=Vn[typeof e.gap==="string"?e.gap:""]??Vn.md,s=typeof e.align==="string"?`items-${e.align}`:"",o=typeof e.justify==="string"?`justify-${e.justify}`:"",c=typeof e.className==="string"?e.className:"";return qo("div",{className:Bo("uibot-grid grid",i,a,s,o,c),"data-uibot-type":"Grid",role:"group","aria-label":"Grid layout",children:t.children})};import{jsx as Z,jsxs as Be}from"react/jsx-runtime";function jo(...e){return e.filter(Boolean).join(" ")}function Fo(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(!t||typeof t!=="object")return null;let r=t,n=Array.isArray(r.points)?r.points.map((i)=>typeof i==="number"?i:Number(i)||0):[];return{name:typeof r.name==="string"?r.name:void 0,points:n,area:r.area===!0}}).filter((t)=>t!==null&&t.points.length>0)}var D=8;function Go(e,t,r,n,i){let a=i-n||1,s=t-D*2,o=r-D*2,c=e.length>1?s/(e.length-1):0;return e.map((d,m)=>{let y=D+c*m,N=D+o-(d-n)/a*o;return`${y.toFixed(1)},${N.toFixed(1)}`}).join(" ")}var Me=["text-primary","text-sky-500","text-emerald-500","text-amber-500"],Pe=(e)=>{let t=Fo(e.series),r=typeof e.title==="string"?e.title:"",n=typeof e.width==="number"?e.width:480,i=typeof e.height==="number"?e.height:160,a=t.flatMap((c)=>c.points),s=a.length?Math.min(...a):0,o=a.length?Math.max(...a):1;return Be("div",{className:"uibot-trendchart bg-card text-card-foreground rounded-xl border p-4 shadow-sm","data-uibot-type":"TrendChart",children:[r&&Z("h3",{className:"mb-2 text-sm font-medium",children:r}),t.length===0?Z("p",{className:"py-6 text-center text-sm text-muted-foreground",children:"No data"}):Be("svg",{viewBox:`0 0 ${n} ${i}`,className:"h-auto w-full",role:"img","aria-label":r||"Trend chart",preserveAspectRatio:"none",children:[[0,0.25,0.5,0.75,1].map((c)=>{let d=D+(i-D*2)*c;return Z("line",{x1:D,x2:n-D,y1:d,y2:d,className:"text-border",stroke:"currentColor",strokeWidth:0.5},c)}),t.map((c,d)=>{let m=Go(c.points,n,i,s,o),y=Me[d%Me.length];return Be("g",{className:y,children:[c.area&&Z("polygon",{fill:"currentColor",fillOpacity:0.12,points:`${D},${i-D} ${m} ${n-D},${i-D}`}),Z("polyline",{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",points:m})]},d)})]}),t.some((c)=>c.name)&&Z("ul",{className:"mt-3 flex flex-wrap gap-4",children:t.map((c,d)=>Be("li",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[Z("span",{className:jo("h-2 w-2 rounded-full bg-current",Me[d%Me.length])}),c.name??`Series ${d+1}`]},d))})]})},st=Pe;import{jsx as Y,jsxs as fe}from"react/jsx-runtime";function _o(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(!t||typeof t!=="object")return null;let r=t,n=typeof r.id==="string"?r.id:null;if(!n)return null;return{id:n,title:typeof r.title==="string"?r.title:n}}).filter((t)=>t!==null)}function Do(e){if(!Array.isArray(e))return[];return e.map((t,r)=>{if(!t||typeof t!=="object")return null;let n=t,i=typeof n.column==="string"?n.column:null;if(!i)return null;return{id:typeof n.id==="string"?n.id:`card-${r}`,column:i,title:typeof n.title==="string"?n.title:"",subtitle:typeof n.subtitle==="string"?n.subtitle:void 0,badge:typeof n.badge==="string"?n.badge:void 0}}).filter((t)=>t!==null)}var Hn=["var(--marketing-accent)","var(--mk-accent-2)","var(--mk-accent-3)","var(--mk-accent-4)"],Xn={fontFamily:"var(--font-marketing-mono)"},zo={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4"},ot=(e)=>{let t=_o(e.columns),r=Do(e.cards),n=zo[t.length];return Y("div",{className:n?`uibot-kanban grid ${n} gap-3 pb-1`:"uibot-kanban grid auto-cols-[minmax(240px,1fr)] grid-flow-col gap-3 overflow-x-auto pb-2","data-uibot-type":"KanbanBoard",role:"region","aria-label":"Kanban board",children:t.map((i,a)=>{let s=Hn[a%Hn.length],o=r.filter((c)=>c.column===i.id);return fe("div",{className:"flex min-h-[7rem] flex-col rounded-lg border bg-muted/25 p-2.5",children:[fe("h4",{className:"mb-2.5 flex items-center gap-1.5 px-1 text-[0.65rem] font-medium uppercase tracking-[0.12em] text-muted-foreground",style:Xn,children:[Y("span",{"aria-hidden":"true",className:"size-1.5 shrink-0 rounded-full",style:{background:s,boxShadow:`0 0 0 3px color-mix(in oklch, ${s} 20%, transparent)`}}),Y("span",{className:"truncate",children:i.title}),Y("span",{className:"ml-auto shrink-0 rounded-full border bg-background/70 px-1.5 py-px text-[0.6rem] text-muted-foreground/80",children:o.length})]}),fe("div",{className:"space-y-2",children:[o.map((c)=>fe("div",{className:"rounded-md border bg-card p-3 shadow-sm transition-all duration-200 hover:-translate-y-0.5 hover:border-[color-mix(in_oklch,var(--marketing-accent)_38%,var(--border))] hover:shadow-md","data-uibot-card":c.id,children:[fe("div",{className:"flex items-start justify-between gap-2",children:[Y("p",{className:"text-sm font-medium leading-snug text-foreground",children:c.title}),c.badge&&Y("span",{className:"shrink-0 rounded-full border bg-muted/50 px-1.5 py-px text-[0.6rem] font-medium tracking-wide text-muted-foreground",style:Xn,children:c.badge})]}),c.subtitle&&Y("p",{className:"mt-1.5 truncate text-[0.6875rem] text-muted-foreground/90",children:c.subtitle})]},c.id)),o.length===0&&Y("p",{className:"rounded-md border border-dashed py-4 text-center text-xs text-muted-foreground",children:"Empty"})]})]},i.id)})})};import{jsx as L,jsxs as V}from"react/jsx-runtime";function he(...e){return e.filter(Boolean).join(" ")}var Kn={"1":"grid-cols-1","2":"grid-cols-1 sm:grid-cols-2","3":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3","4":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4",auto:"grid-cols-[repeat(auto-fit,minmax(180px,1fr))]"};function Uo(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({label:typeof t.label==="string"?t.label:void 0,value:t.value,change:typeof t.change==="string"?t.change:void 0,trend:t.trend==="up"||t.trend==="down"?t.trend:void 0,description:typeof t.description==="string"?t.description:void 0}))}var lt=(e,t)=>{let r=String(e.cols??"auto"),n=Kn[r]??Kn.auto,i=t.children,a=Uo(e.items);return L("div",{className:he("uibot-stat-grid grid gap-4",n),"data-uibot-type":"StatGrid",children:i.length>0?i:a.map((s,o)=>V("div",{className:"bg-card text-card-foreground rounded-xl border p-5 shadow-sm",children:[L("p",{className:"text-sm font-medium text-muted-foreground",children:s.label??"Stat"}),L("p",{className:"mt-1.5 text-3xl font-bold tracking-tight",children:s.value!==void 0?String(s.value):"\u2014"}),(s.change||s.description)&&V("div",{className:"mt-1.5 flex items-center gap-1.5",children:[s.change&&L("span",{className:he("text-xs font-medium",s.trend==="up"?"text-green-600":s.trend==="down"?"text-destructive":"text-muted-foreground"),children:s.change}),s.description&&L("span",{className:"text-xs text-muted-foreground",children:s.description})]})]},o))})},Vo={info:"border-l-sky-500",warn:"border-l-amber-500",error:"border-l-destructive"},Ho={info:"\u2139",warn:"\u26A0",error:"\u2715"},Xo={info:"text-sky-500",warn:"text-amber-500",error:"text-destructive"};function Ko(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({level:t.level==="warn"||t.level==="error"?t.level:"info",title:typeof t.title==="string"?t.title:"",detail:typeof t.detail==="string"?t.detail:void 0}))}var ct=(e)=>{let t=Ko(e.items);return V("ul",{className:"uibot-diagnostics space-y-2","data-uibot-type":"DiagnosticsList",children:[t.map((r,n)=>V("li",{className:he("flex gap-3 rounded-md border border-l-4 bg-card p-3",Vo[r.level]),children:[L("span",{className:he("text-sm leading-5",Xo[r.level]),"aria-hidden":"true",children:Ho[r.level]}),V("div",{className:"min-w-0",children:[L("p",{className:"text-sm font-medium text-foreground",children:r.title}),r.detail&&L("p",{className:"text-xs text-muted-foreground",children:r.detail})]})]},n)),t.length===0&&L("li",{className:"rounded-md border border-dashed py-6 text-center text-sm text-muted-foreground",children:"No diagnostics"})]})};function Wn(e){return Array.isArray(e)?e.map((t)=>String(t)):[]}function Wo(e){if(!Array.isArray(e))return[];return e.map((t)=>Array.isArray(t)?t.map((r)=>typeof r==="number"?r:Number(r)||0):[])}var qe=(e)=>{let t=Wn(e.rows),r=Wn(e.cols),n=Wo(e.cells),i=typeof e.caption==="string"?e.caption:void 0,a=e.showValues===!0;return L("div",{className:"uibot-matrix w-full overflow-auto rounded-lg border","data-uibot-type":"Matrix",children:V("table",{className:"w-full border-collapse text-sm","aria-label":i,children:[i&&L("caption",{className:"py-2 text-sm text-muted-foreground",children:i}),L("thead",{children:V("tr",{children:[L("th",{className:"bg-muted/50 px-3 py-2"}),r.map((s,o)=>L("th",{scope:"col",className:"bg-muted/50 px-3 py-2 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:s},o))]})}),L("tbody",{children:t.map((s,o)=>V("tr",{children:[L("th",{scope:"row",className:"whitespace-nowrap bg-muted/30 px-3 py-2 text-left text-xs font-medium text-muted-foreground",children:s}),r.map((c,d)=>{let m=Math.max(0,Math.min(1,n[o]?.[d]??0));return L("td",{className:"px-3 py-2 text-center text-xs tabular-nums",title:String(m),style:{backgroundColor:`color-mix(in srgb, var(--primary) ${(m*100).toFixed(0)}%, transparent)`},children:a?m.toFixed(2):""},d)})]},o))})]})})},dt=qe,Yo={ok:"bg-primary",warn:"bg-amber-500",error:"bg-destructive"};function Qo(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>{let r=t.status==="warn"||t.status==="error"||t.status==="ok"?t.status:void 0;return{time:typeof t.time==="string"?t.time:"",title:typeof t.title==="string"?t.title:"",desc:typeof t.desc==="string"?t.desc:void 0,status:r}})}var mt=(e)=>{let t=Qo(e.items);return V("ol",{className:"uibot-timeline relative space-y-4 border-l pl-5","data-uibot-type":"TimelineList",children:[t.map((r,n)=>V("li",{className:"relative",children:[L("span",{className:he("absolute -left-[23px] top-1 h-2.5 w-2.5 rounded-full ring-2 ring-background",Yo[r.status??"ok"]),"aria-hidden":"true"}),V("div",{className:"flex items-baseline gap-2",children:[L("p",{className:"text-sm font-medium text-foreground",children:r.title}),r.time&&L("span",{className:"text-xs text-muted-foreground",children:r.time})]}),r.desc&&L("p",{className:"mt-0.5 text-xs text-muted-foreground",children:r.desc})]},n)),t.length===0&&L("li",{className:"text-sm text-muted-foreground",children:"No events"})]})};import{jsx as I,jsxs as Q}from"react/jsx-runtime";function ee(...e){return e.filter(Boolean).join(" ")}function Zn(e,t){return[{action:"SetState",params:{path:e,value:t}}]}function Jo(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({key:typeof t.key==="string"?t.key:"",label:typeof t.label==="string"?t.label:"",align:t.align==="right"||t.align==="center"?t.align:"left"})).filter((t)=>t.key)}function Zo(e){return Array.isArray(e)?e.filter((t)=>Boolean(t)&&typeof t==="object"):[]}var pt=(e,t)=>{let r=Jo(e.columns),n=Zo(e.rows),i=typeof e.searchKey==="string"?e.searchKey:"search",a=typeof e.placeholder==="string"?e.placeholder:"Search\u2026",s=typeof e.emptyText==="string"&&e.emptyText.trim()?e.emptyText:"No matching rows",o=String(t.resolve.getState(i)??"").toLowerCase(),c=o?n.filter((d)=>r.some((m)=>String(d[m.key]??"").toLowerCase().includes(o))):n;return Q("div",{className:"uibot-searchable-table space-y-3","data-uibot-type":"SearchableTable","data-empty":c.length===0,children:[I("input",{type:"search",defaultValue:o,placeholder:a,"aria-label":a,className:"h-9 w-full max-w-xs rounded-md border bg-background px-3 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring",onChange:(d)=>t.dispatch?.(Zn(i,d.currentTarget.value),{event:d})}),I("div",{className:"w-full overflow-auto rounded-lg border focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",role:"region","aria-label":"Table results",tabIndex:0,children:Q("table",{className:"w-full text-sm",children:[I("thead",{children:I("tr",{className:"border-b bg-muted/50",children:r.map((d)=>I("th",{scope:"col",className:ee("px-4 py-3 text-xs font-medium uppercase tracking-wide text-muted-foreground",d.align==="right"?"text-right":d.align==="center"?"text-center":"text-left"),children:d.label},d.key))})}),Q("tbody",{children:[c.map((d,m)=>I("tr",{className:"border-b transition-colors last:border-0 hover:bg-muted/30",children:r.map((y)=>I("td",{className:ee("px-4 py-3 text-foreground",y.align==="right"?"text-right":y.align==="center"?"text-center":""),children:String(d[y.key]??"")},y.key))},m)),c.length===0&&I("tr",{children:I("td",{colSpan:r.length||1,className:"px-4 py-10 text-center text-sm text-muted-foreground",children:s})})]})]})})]})};function el(e){if(!Array.isArray(e))return[];return e.map((t,r)=>{if(!t||typeof t!=="object")return null;let n=t;return{id:typeof n.id==="string"?n.id:`item-${r}`,title:typeof n.title==="string"?n.title:"",subtitle:typeof n.subtitle==="string"?n.subtitle:void 0}}).filter((t)=>t!==null)}var ut=(e,t)=>{let r=el(e.items),n=typeof e.selectKey==="string"?e.selectKey:"selectedId",i=String(t.resolve.getState(n)??r[0]?.id??""),a=t.slots.detail;return Q("div",{className:"uibot-split-master-detail grid gap-4 md:grid-cols-[minmax(220px,1fr)_2fr]","data-uibot-type":"SplitMasterDetail",children:[Q("ul",{className:"space-y-1 rounded-lg border bg-muted/20 p-2",role:"listbox","aria-label":"Items",children:[r.map((s)=>{let o=s.id===i;return I("li",{children:Q("button",{type:"button",role:"option","aria-selected":o,onClick:(c)=>t.dispatch?.(Zn(n,s.id),{event:c}),className:ee("w-full rounded-md px-3 py-2 text-left text-sm transition-colors",o?"bg-accent text-accent-foreground":"hover:bg-accent/50"),children:[I("span",{className:"block font-medium",children:s.title}),s.subtitle&&I("span",{className:"block text-xs text-muted-foreground",children:s.subtitle})]})},s.id)}),r.length===0&&I("li",{className:"px-3 py-4 text-center text-xs text-muted-foreground",children:"No items"})]}),I("div",{className:"rounded-lg border bg-card p-5",children:a&&a.length>0?a:t.children})]})},gt=(e)=>{let t=typeof e.label==="string"?e.label:"",r=e.value,n=e.inline===!0;return Q("div",{className:ee("uibot-detail-field",n?"flex items-baseline gap-2":"flex flex-col gap-0.5 py-1.5"),"data-uibot-type":"DetailField",children:[I("dt",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground",children:t}),I("dd",{className:"text-sm text-foreground",children:r===void 0||r===null||r===""?"\u2014":String(r)})]})},Yn={default:"bg-secondary text-secondary-foreground",success:"bg-green-100 text-green-700",warning:"bg-amber-100 text-amber-700",error:"bg-destructive/10 text-destructive",info:"bg-sky-100 text-sky-700"};function tl(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(typeof t==="string")return{label:t};if(t&&typeof t==="object"){let r=t,{tone:n,onClick:i}=r;return{label:typeof r.label==="string"?r.label:"",tone:n==="success"||n==="warning"||n==="error"||n==="info"?n:"default",onClick:Array.isArray(i)?i:void 0}}return null}).filter((t)=>t!==null&&t.label.length>0)}var Qn="inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium",ft=(e,t)=>{let r=tl(e.items);return I("div",{className:"uibot-badge-group flex flex-wrap items-center gap-1.5","data-uibot-type":"BadgeGroup",children:r.map((n,i)=>n.onClick?I("button",{type:"button",onClick:(a)=>t.dispatch?.(n.onClick,{event:a}),className:ee(Qn,"cursor-pointer",Yn[n.tone??"default"]),children:n.label},i):I("span",{className:ee(Qn,Yn[n.tone??"default"]),children:n.label},i))})};function rl(e){if(Array.isArray(e))return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({key:typeof t.key==="string"?t.key:"",value:t.value})).filter((t)=>t.key);if(e&&typeof e==="object")return Object.entries(e).map(([t,r])=>({key:t,value:r}));return[]}var Jn={"1":"sm:grid-cols-1","2":"sm:grid-cols-2","3":"sm:grid-cols-3"},ht=(e)=>{let t=rl(e.items??e.data),r=String(e.cols??"2"),n=Jn[r]??Jn["2"];return I("dl",{className:ee("uibot-key-value-grid grid grid-cols-1 gap-x-6 gap-y-2",n),"data-uibot-type":"KeyValueGrid",children:t.map((i,a)=>Q("div",{className:"flex flex-col gap-0.5 border-b border-dashed py-1.5 last:border-0",children:[I("dt",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground",children:i.key}),I("dd",{className:"text-sm text-foreground",children:i.value===void 0||i.value===null||i.value===""?"\u2014":String(i.value)})]},a))})};import{jsx as f,jsxs as E,Fragment as se}from"react/jsx-runtime";function te(...e){return e.filter(Boolean).join(" ")}function S(e){return typeof e==="string"&&e.length>0?e:void 0}function yt(e){if(!e||typeof e!=="object")return;let t=e,r=S(t.label),n=S(t.href);if(!r)return;return{label:r,href:n??"#"}}var nl={sparkles:f("path",{d:"M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z"}),zap:f("path",{d:"M13 2 4 14h7l-1 8 9-12h-7z"}),layers:E(se,{children:[f("path",{d:"m12 3 9 5-9 5-9-5 9-5z"}),f("path",{d:"m3 12 9 5 9-5"})]}),boxes:E(se,{children:[f("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),f("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),f("rect",{x:"8.5",y:"14",width:"7",height:"7",rx:"1"})]}),code:f("path",{d:"m8 6-6 6 6 6M16 6l6 6-6 6"}),cpu:E(se,{children:[f("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"}),f("path",{d:"M9 1v3M15 1v3M9 20v3M15 20v3M1 9h3M1 15h3M20 9h3M20 15h3"})]}),workflow:E(se,{children:[f("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),f("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"}),f("path",{d:"M10 6.5h6a2 2 0 0 1 2 2V14"})]}),gauge:E(se,{children:[f("path",{d:"M3 14a9 9 0 1 1 18 0"}),f("path",{d:"m13 12-3 3"})]}),shield:f("path",{d:"M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z"}),wand:f("path",{d:"m15 4 5 5M4 20 14 10M9 4l1 2 2 1-2 1-1 2-1-2-2-1 2-1z"})};function ti({name:e}){let t=e&&nl[e.toLowerCase()]||f("circle",{cx:"12",cy:"12",r:"3"});return f("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round",className:"size-5","aria-hidden":"true",children:t})}function bt({cta:e,variant:t}){let n={primary:"bg-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)] hover:bg-[var(--marketing-accent-strong)] focus-visible:ring-[var(--marketing-accent)]",outline:"border border-border bg-transparent text-foreground hover:border-[var(--marketing-accent)] hover:text-[var(--marketing-accent)] focus-visible:ring-border",inverse:"bg-gradient-to-r from-[var(--marketing-accent)] to-[var(--mk-accent-3)] text-[var(--marketing-accent-foreground)] hover:opacity-90 focus-visible:ring-[var(--marketing-accent)]"};return f("a",{href:e.href,className:te("inline-flex items-center justify-center gap-2 rounded-md px-5 py-2.5 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",n[t]),children:e.label})}var xt=(e,t)=>{let r=S(e.eyebrow),n=S(e.title)??"",i=S(e.titleEmphasis),a=S(e.subtitle),s=S(e.note),o=yt(e.primaryCta),c=yt(e.secondaryCta),d=t.slots.aside??t.children;return E("section",{className:"marketing mkt-hero relative px-6 py-20 md:px-10 md:py-28","data-uibot-type":"Hero",children:[f("span",{className:"mkt-hero-backdrop","aria-hidden":"true"}),f("span",{className:"mkt-grain","aria-hidden":"true"}),E("div",{className:"mx-auto grid max-w-6xl items-center gap-12 md:grid-cols-[1.15fr_0.85fr]",children:[E("div",{className:"max-w-2xl",children:[r&&f("p",{className:"mkt-eyebrow mkt-reveal mkt-reveal-1",children:r}),E("h1",{className:"mkt-reveal mkt-reveal-2 mt-5 text-5xl md:text-7xl",children:[n,i&&E(se,{children:[" ",f("span",{className:"mkt-display-italic text-[var(--marketing-accent)]",children:i})]})]}),a&&f("p",{className:"mkt-reveal mkt-reveal-3 mt-6 max-w-xl text-lg leading-relaxed text-muted-foreground",children:a}),(o||c)&&E("div",{className:"mkt-reveal mkt-reveal-4 mt-8 flex flex-wrap items-center gap-3",children:[o&&f(bt,{cta:o,variant:"primary"}),c&&f(bt,{cta:c,variant:"outline"})]}),s&&f("p",{className:"mkt-reveal mkt-reveal-5 mt-6 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.18em] text-muted-foreground",children:s})]}),d&&d.length>0&&f("div",{className:"mkt-reveal mkt-reveal-4 hidden md:block",children:d})]})]})},vt=(e,t)=>{let r=S(e.title),n=S(e.variant),i=S(e.tone),a=Number(i),s=Number.isFinite(a)?(a%4+4)%4:0,o=t.slots.content??t.children;return E("div",{className:te("mkt-frame marketing",n==="tilt"&&"mkt-frame-tilt"),"data-uibot-type":"BrowserFrame",children:[E("div",{className:te("mkt-frame-chrome",`mkt-frame-tint-${s}`),children:[f("span",{className:"mkt-frame-dot mkt-frame-dot-r","aria-hidden":"true"}),f("span",{className:"mkt-frame-dot mkt-frame-dot-y","aria-hidden":"true"}),f("span",{className:"mkt-frame-dot mkt-frame-dot-g","aria-hidden":"true"}),f("span",{className:"mkt-frame-addr",children:r??"app.uibot.studio"})]}),f("div",{className:"mkt-frame-body",children:o})]})},kt=(e)=>{let t=S(e.sectionNo),r=S(e.eyebrow),n=S(e.title)??"",i=S(e.lead);return E("header",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"SectionHeader",children:[E("div",{className:"flex items-baseline gap-4",children:[t&&f("span",{className:"mkt-sectno text-4xl md:text-5xl",children:t}),E("div",{children:[r&&f("p",{className:"mkt-eyebrow",children:r}),f("h2",{className:"mt-2 text-3xl md:text-4xl",children:n})]})]}),i&&f("p",{className:"mt-4 max-w-2xl text-base leading-relaxed text-muted-foreground",children:i})]})};function il(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object").map((t)=>({icon:S(t.icon),title:S(t.title)??"",desc:S(t.desc)}))}var ei={"2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3","4":"sm:grid-cols-2 lg:grid-cols-4"},wt=(e,t)=>{let r=il(e.items),n=String(e.cols??"3"),i=ei[n]??ei["3"],a=t.children;return f("div",{className:te("marketing mx-auto grid max-w-6xl gap-5 px-6 md:px-0 grid-cols-1",i),"data-uibot-type":"FeatureGrid",children:a.length>0?a:r.map((s,o)=>E("article",{className:te("mkt-card mkt-reveal p-6",`mkt-reveal-${Math.min(o+1,6)}`),children:[f("span",{className:te("inline-flex size-11 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${o%4}`),children:f(ti,{name:s.icon})}),f("h3",{className:"mt-5 text-xl",children:s.title}),s.desc&&f("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:s.desc})]},o))})},Nt=(e,t)=>{let r=S(e.icon),n=S(e.title)??"",i=S(e.desc),a=Number(e.tint),s=Number.isFinite(a)?(a%4+4)%4:0,o=t.children;return E("article",{className:"mkt-card marketing p-6","data-uibot-type":"FeatureCard",children:[f("span",{className:te("inline-flex size-11 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${s}`),children:f(ti,{name:r})}),f("h3",{className:"mt-5 text-xl",children:n}),i&&f("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:i}),o.length>0&&f("div",{className:"mt-4",children:o})]})},Rt=(e)=>{let t=S(e.title),r=S(e.code)??"",n=S(e.caption),i=r.replace(/\n$/,"").split(`
3
+ `);return E("figure",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"CodeShowcase",children:[E("div",{className:"mkt-card overflow-hidden p-0",children:[E("div",{className:"flex items-center gap-2 border-b border-border bg-muted/40 px-4 py-2.5",children:[f("span",{className:"size-2.5 rounded-full bg-[color-mix(in_oklch,var(--destructive)_70%,transparent)]"}),f("span",{className:"size-2.5 rounded-full bg-[color-mix(in_oklch,var(--warning)_80%,transparent)]"}),f("span",{className:"size-2.5 rounded-full bg-[color-mix(in_oklch,var(--success)_70%,transparent)]"}),t&&f("span",{className:"ml-3 font-[family-name:var(--font-marketing-mono)] text-xs text-muted-foreground",children:t})]}),f("pre",{className:"overflow-x-auto bg-card px-0 py-4 text-[0.8125rem] leading-relaxed",children:f("code",{className:"font-[family-name:var(--font-marketing-mono)]",children:i.map((a,s)=>E("div",{className:"grid grid-cols-[2.5rem_1fr] hover:bg-muted/30",children:[f("span",{className:"select-none px-2 text-right text-muted-foreground/50 tabular-nums",children:s+1}),f("span",{className:"whitespace-pre px-2 text-foreground",children:a||" "})]},s))})})]}),n&&f("figcaption",{className:"mt-3 text-center text-sm text-muted-foreground",children:n})]})},Et=(e)=>{let t=S(e.title)??"",r=S(e.subtitle),n=yt(e.cta);return f("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"CtaBand",children:E("div",{className:"mkt-hero relative overflow-hidden rounded-2xl bg-foreground px-8 py-14 text-background md:px-14",children:[f("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(60% 120% at 12% 0%, color-mix(in oklch, var(--marketing-accent) 30%, transparent) 0%, transparent 55%), radial-gradient(60% 120% at 100% 100%, color-mix(in oklch, var(--mk-accent-3) 26%, transparent) 0%, transparent 55%)"}}),f("span",{className:"mkt-grain","aria-hidden":"true"}),E("div",{className:"relative flex flex-col items-start gap-6 md:flex-row md:items-center md:justify-between",children:[E("div",{className:"max-w-xl",children:[f("h2",{className:"text-3xl md:text-4xl",children:t}),r&&f("p",{className:"mt-3 text-base leading-relaxed text-background/70",children:r})]}),n&&f("div",{className:"shrink-0",children:f(bt,{cta:n,variant:"inverse"})})]})]})})};import{jsx as g,jsxs as M,Fragment as J}from"react/jsx-runtime";function H(...e){return e.filter(Boolean).join(" ")}function C(e){return typeof e==="string"&&e.length>0?e:void 0}function Fe(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object")}function oi(e,t=0){let r=Number(e);return Number.isFinite(r)?(Math.trunc(r)%4+4)%4:t}var al={sparkles:g("path",{d:"M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z"}),zap:g("path",{d:"M13 2 4 14h7l-1 8 9-12h-7z"}),layers:M(J,{children:[g("path",{d:"m12 3 9 5-9 5-9-5 9-5z"}),g("path",{d:"m3 12 9 5 9-5"})]}),boxes:M(J,{children:[g("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),g("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),g("rect",{x:"8.5",y:"14",width:"7",height:"7",rx:"1"})]}),code:g("path",{d:"m8 6-6 6 6 6M16 6l6 6-6 6"}),cpu:M(J,{children:[g("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"}),g("path",{d:"M9 1v3M15 1v3M9 20v3M15 20v3M1 9h3M1 15h3M20 9h3M20 15h3"})]}),workflow:M(J,{children:[g("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),g("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"}),g("path",{d:"M10 6.5h6a2 2 0 0 1 2 2V14"})]}),gauge:M(J,{children:[g("path",{d:"M3 14a9 9 0 1 1 18 0"}),g("path",{d:"m13 12-3 3"})]}),shield:g("path",{d:"M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z"}),wand:g("path",{d:"m15 4 5 5M4 20 14 10M9 4l1 2 2 1-2 1-1 2-1-2-2-1 2-1z"}),info:M(J,{children:[g("circle",{cx:"12",cy:"12",r:"9"}),g("path",{d:"M12 11v5M12 7.5h.01"})]}),check:g("path",{d:"m20 6-11 11-5-5"}),alert:M(J,{children:[g("path",{d:"M12 3 2 20h20L12 3z"}),g("path",{d:"M12 10v4M12 17.5h.01"})]})};function St({name:e,className:t="size-5"}){let r=e&&al[e.toLowerCase()]||g("circle",{cx:"12",cy:"12",r:"3"});return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round",className:t,"aria-hidden":"true",children:r})}function sl(e){return Fe(e).map((t)=>({q:C(t.q)??"",a:C(t.a)??""})).filter((t)=>t.q.length>0)}var ri={fontFamily:"var(--font-marketing-mono)"},Ct=(e)=>{let t=C(e.eyebrow),r=C(e.title),n=C(e.lead),i=e.defaultOpenFirst===!0,a=sl(e.items);return M("section",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"Faq",children:[(t||r||n)&&M("header",{className:"mb-8 md:mb-10",children:[t&&g("p",{className:"text-[0.65rem] uppercase tracking-[0.28em] text-[var(--marketing-accent)]",style:ri,children:t}),r&&g("h2",{className:"mt-3 text-3xl md:text-4xl",children:r}),n&&g("p",{className:"mt-3 max-w-xl text-sm leading-relaxed text-muted-foreground",children:n})]}),g("div",{className:"border-t border-border/70",children:a.map((s,o)=>M("details",{className:"group border-b border-border/70 [&_summary::-webkit-details-marker]:hidden",open:i&&o===0?!0:void 0,children:[M("summary",{className:"flex cursor-pointer list-none items-baseline gap-4 py-5 md:gap-6",children:[g("span",{"aria-hidden":"true",className:"w-7 shrink-0 text-[0.65rem] tracking-[0.18em] text-muted-foreground/60 transition-colors duration-200 group-open:text-[var(--marketing-accent)]",style:ri,children:String(o+1).padStart(2,"0")}),g("span",{className:"flex-1 text-base font-medium text-foreground/90 transition-colors duration-200 group-hover:text-foreground group-open:text-foreground md:text-lg",children:s.q}),M("span",{"aria-hidden":"true",className:"relative mt-1 size-3.5 shrink-0 self-center text-muted-foreground/70 transition-transform duration-300 ease-out group-hover:text-foreground group-open:rotate-45 group-open:text-[var(--marketing-accent)]",children:[g("span",{className:"absolute left-0 top-1/2 h-px w-full -translate-y-1/2 bg-current"}),g("span",{className:"absolute left-1/2 top-0 h-full w-px -translate-x-1/2 bg-current"})]})]}),s.a&&g("div",{className:"grid grid-rows-[0fr] transition-[grid-template-rows] duration-300 ease-out group-open:grid-rows-[1fr]",children:g("div",{className:"overflow-hidden",children:g("p",{className:"pb-6 pl-11 pr-2 text-sm leading-relaxed text-muted-foreground md:pl-[3.25rem]",children:s.a})})})]},o))})]})};function ol(e){return Fe(e).map((t)=>({name:C(t.name)??"",role:C(t.role),bio:C(t.bio),avatar:C(t.avatar)})).filter((t)=>t.name.length>0)}var ni={"2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3","4":"sm:grid-cols-2 lg:grid-cols-4"};function ll(e){let t=e.trim().split(/\s+/).filter(Boolean);if(t.length===0)return"?";if(t.length===1)return t[0].slice(0,2).toUpperCase();return(t[0][0]+t[t.length-1][0]).toUpperCase()}var Lt=(e)=>{let t=ol(e.members),r=String(e.columns??"3"),n=ni[r]??ni["3"];return g("div",{className:H("marketing mx-auto grid max-w-6xl grid-cols-1 gap-5 px-6 md:px-0",n),"data-uibot-type":"TeamGrid",children:t.map((i,a)=>{let s=i.avatar&&/^(https?:|data:|\/)/.test(i.avatar);return M("article",{className:H("mkt-card mkt-reveal flex flex-col items-center p-6 text-center",`mkt-reveal-${Math.min(a+1,6)}`),children:[s?g("img",{src:i.avatar,alt:i.name,className:"size-16 rounded-full object-cover"}):g("span",{className:H("inline-flex size-16 items-center justify-center rounded-full border text-lg font-semibold mkt-tint",`mkt-tint-${a%4}`),children:C(i.avatar)??ll(i.name)}),g("h3",{className:"mt-4 text-lg",children:i.name}),i.role&&g("p",{className:"mt-1 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-[var(--marketing-accent)]",children:i.role}),i.bio&&g("p",{className:"mt-3 text-sm leading-relaxed text-muted-foreground",children:i.bio})]},a)})})};function cl(e){return Fe(e).map((t)=>({title:C(t.title)??"",desc:C(t.desc),icon:C(t.icon)})).filter((t)=>t.title.length>0)}var dl=["var(--marketing-accent)","var(--mk-accent-2)","var(--mk-accent-3)","var(--mk-accent-4)"],ml={2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-2 xl:grid-cols-4"},It=(e)=>{let t=cl(e.steps),r=C(e.variant)==="connected"?"connected":"numbered",n=(i)=>String(i+1).padStart(2,"0");if(r==="connected")return g("ol",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"Steps",children:t.map((i,a)=>M("li",{className:"relative flex gap-5 pb-8 last:pb-0",children:[a<t.length-1&&g("span",{"aria-hidden":"true",className:"absolute left-[1.375rem] top-12 bottom-0 w-px bg-border"}),g("span",{className:H("relative z-10 inline-flex size-11 shrink-0 items-center justify-center rounded-full border font-[family-name:var(--font-marketing-mono)] text-sm font-semibold tabular-nums mkt-tint",`mkt-tint-${a%4}`),children:i.icon?g(St,{name:i.icon}):n(a)}),M("div",{className:"pt-1.5",children:[g("h3",{className:"text-xl",children:i.title}),i.desc&&g("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:i.desc})]})]},a))});return g("ol",{className:H("marketing mx-auto grid max-w-6xl grid-cols-1 gap-6 px-6 sm:grid-cols-2 md:px-0",ml[Math.min(Math.max(t.length,2),4)]??"lg:grid-cols-3"),"data-uibot-type":"Steps",children:t.map((i,a)=>M("li",{className:H("mkt-card mkt-reveal p-6",`mkt-reveal-${Math.min(a+1,6)}`),children:[g("span",{className:"mkt-sectno block text-5xl md:text-6xl",style:{color:dl[a%4]},children:n(a)}),g("h3",{className:"mt-4 text-xl",children:i.title}),i.desc&&g("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:i.desc})]},a))})},ii={"2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3","4":"sm:grid-cols-2 lg:grid-cols-4","6":"sm:grid-cols-3 lg:grid-cols-6"},ai={none:"gap-0",sm:"gap-3",md:"gap-4",lg:"gap-6"},li={"1":"col-span-1","2":"sm:col-span-2","3":"sm:col-span-2 lg:col-span-3","4":"sm:col-span-2 lg:col-span-4"},ci={"1":"row-span-1","2":"row-span-2","3":"row-span-3"};function je(e,t,r){let n=Number(e);if(!Number.isFinite(n))return"";let i=Math.min(Math.max(Math.trunc(n),1),r);return t[String(i)]??""}function pl(e){return Fe(e).map((t)=>{let r=t.span;return{title:C(t.title),desc:C(t.desc),icon:C(t.icon),tone:t.tone,span:r&&typeof r==="object"?{col:r.col,row:r.row}:void 0}})}function di({title:e,desc:t,icon:r,tone:n,children:i}){return M(J,{children:[r&&g("span",{className:H("mb-4 inline-flex size-11 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${n}`),children:g(St,{name:r})}),e&&g("h3",{className:"text-xl",children:e}),t&&g("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:t}),i]})}var At=(e,t)=>{let r=String(e.cols??"3"),n=ii[r]??ii["3"],i=ai[C(e.gap)??"md"]??ai.md,a=pl(e.items),s=t.children;return g("div",{className:H("marketing mx-auto grid max-w-6xl grid-cols-1 px-6 md:px-0 [grid-auto-rows:minmax(11rem,auto)]",n,i),"data-uibot-type":"BentoGrid",children:s.length>0?s:a.map((o,c)=>{let d=oi(o.tone,c%4),m=je(o.span?.col,li,4),y=je(o.span?.row,ci,3);return g("article",{className:H("mkt-card mkt-reveal flex flex-col p-6",m,y,`mkt-reveal-${Math.min(c+1,6)}`),children:g(di,{title:o.title,desc:o.desc,icon:o.icon,tone:d})},c)})})},Tt=(e,t)=>{let r=e.span??void 0,n=oi(e.tone,0),i=je(r?.col,li,4),a=je(r?.row,ci,3),s=t.children;return g("article",{className:H("mkt-card marketing flex flex-col p-6",i,a),"data-uibot-type":"BentoCell",children:g(di,{title:C(e.title),desc:C(e.desc),icon:C(e.icon),tone:n,children:s.length>0?g("div",{className:"mt-4",children:s}):null})})},si={info:{color:"var(--mk-accent-4)",icon:"info"},success:{color:"var(--success)",icon:"check"},warn:{color:"var(--warning)",icon:"alert"},accent:{color:"var(--marketing-accent)",icon:"sparkles"}},$t=(e,t)=>{let r=C(e.variant),n=r&&r in si?r:"info",{color:i,icon:a}=si[n],s=C(e.icon)??a,o=C(e.title),c=C(e.body),d=t.children;return M("aside",{className:"marketing mx-auto flex max-w-3xl gap-4 rounded-lg border p-5","data-uibot-type":"Callout",style:{borderColor:`color-mix(in oklch, ${i} 35%, var(--border))`,background:`color-mix(in oklch, ${i} 8%, var(--card))`},children:[g("span",{"aria-hidden":"true",className:"mt-0.5 inline-flex size-8 shrink-0 items-center justify-center rounded-md",style:{color:i,background:`color-mix(in oklch, ${i} 16%, transparent)`},children:g(St,{name:s,className:"size-5"})}),M("div",{className:"min-w-0",children:[o&&g("p",{className:"font-medium text-foreground",style:{color:i},children:o}),c&&g("p",{className:H("text-sm leading-relaxed text-muted-foreground",o&&"mt-1"),children:c}),d.length>0&&g("div",{className:"mt-2",children:d})]})]})};import{jsx as x,jsxs as F}from"react/jsx-runtime";function j(...e){return e.filter(Boolean).join(" ")}function T(e){return typeof e==="string"&&e.length>0?e:void 0}function gi(e){if(!Array.isArray(e))return[];return e.map((t)=>T(t)).filter((t)=>Boolean(t))}function fi(e){if(!e||typeof e!=="object")return;let t=e,r=T(t.label),n=T(t.href);if(!r)return;return{label:r,href:n??"#"}}function Ge(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object")}function hi(e){return e.trim().split(/\s+/).slice(0,2).map((r)=>r.charAt(0).toUpperCase()).join("")||"?"}function ul(){return x("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round",className:"size-3.5","aria-hidden":"true",children:x("path",{d:"m4 12 5 5L20 6"})})}function gl({filled:e}){return x("svg",{viewBox:"0 0 24 24",fill:e?"currentColor":"none",stroke:"currentColor",strokeWidth:1.4,strokeLinejoin:"round",className:"size-4","aria-hidden":"true",children:x("path",{d:"m12 3 2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 18.8 6.2 21l1.1-6.5L2.6 9.8l6.5-.9z"})})}function yi({cta:e,variant:t,block:r}){let i={primary:"bg-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)] hover:bg-[var(--marketing-accent-strong)] focus-visible:ring-[var(--marketing-accent)]",outline:"border border-border bg-transparent text-foreground hover:border-[var(--marketing-accent)] hover:text-[var(--marketing-accent)] focus-visible:ring-border",inverse:"bg-gradient-to-r from-[var(--marketing-accent)] to-[var(--mk-accent-3)] text-[var(--marketing-accent-foreground)] hover:opacity-90 focus-visible:ring-[var(--marketing-accent)]"};return x("a",{href:e.href,className:j("inline-flex items-center justify-center gap-2 rounded-md px-5 py-2.5 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",i[t],r&&"w-full"),children:e.label})}function fl(e){return Ge(e).map((t)=>({name:T(t.name)??"",price:T(t.price)??"",period:T(t.period),description:T(t.description),features:gi(t.features),cta:fi(t.cta),highlighted:Boolean(t.highlighted)}))}var mi={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4"},Ot=(e)=>{let t=fl(e.plans),r=T(e.billingNote),n=mi[Math.min(Math.max(t.length,2),4)]??mi[3];return F("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"PricingTable",children:[x("div",{className:j("grid grid-cols-1 items-stretch gap-5",n),children:t.map((i,a)=>F("article",{className:j("mkt-card mkt-reveal relative flex flex-col p-6",`mkt-reveal-${Math.min(a+1,6)}`,i.highlighted&&"border-[var(--marketing-accent)] shadow-[0_0_0_1px_var(--marketing-accent)]"),children:[i.highlighted&&x("span",{className:"absolute -top-3 left-6 rounded-full bg-[var(--marketing-accent)] px-3 py-1 font-[family-name:var(--font-marketing-mono)] text-[0.625rem] font-semibold uppercase tracking-[0.16em] text-[var(--marketing-accent-foreground)]",children:"Popular"}),x("h3",{className:"text-xl",children:i.name}),i.description&&x("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground",children:i.description}),F("div",{className:"mt-5 flex items-baseline gap-1",children:[x("span",{className:"mkt-display text-4xl md:text-5xl",children:i.price}),i.period&&x("span",{className:"font-[family-name:var(--font-marketing-mono)] text-sm text-muted-foreground",children:i.period})]}),i.features.length>0&&x("ul",{className:"mt-6 flex flex-1 flex-col gap-3 text-sm",children:i.features.map((s,o)=>F("li",{className:"flex items-start gap-2.5",children:[x("span",{className:j("mt-0.5 inline-flex size-4 shrink-0 items-center justify-center rounded-full",i.highlighted?"bg-[color-mix(in_oklch,var(--marketing-accent)_22%,transparent)] text-[var(--marketing-accent)]":"bg-muted text-foreground"),children:x(ul,{})}),x("span",{className:"text-foreground/90",children:s})]},o))}),i.cta&&x("div",{className:"mt-7",children:x(yi,{cta:i.cta,variant:i.highlighted?"primary":"outline",block:!0})})]},a))}),r&&x("p",{className:"mt-6 text-center font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.18em] text-muted-foreground",children:r})]})};function hl(e){return Ge(e).map((t)=>{let r=Number(t.rating);return{quote:T(t.quote)??"",author:T(t.author)??"",role:T(t.role),avatar:T(t.avatar),rating:Number.isFinite(r)&&r>0?Math.min(Math.round(r),5):void 0}})}var pi={1:"",2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3"},Mt=(e)=>{let t=hl(e.items),r=Number(e.columns),n=Number.isFinite(r)?Math.min(Math.max(r,1),3):Math.min(t.length||1,3),i=pi[n]??pi[3];return x("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"Testimonials",children:x("div",{className:j("grid grid-cols-1 gap-5",i),children:t.map((a,s)=>F("figure",{className:j("mkt-card mkt-reveal flex flex-col p-6",`mkt-reveal-${Math.min(s+1,6)}`),children:[a.rating&&x("div",{className:"flex gap-0.5 text-[var(--marketing-accent)]","aria-label":`${a.rating} out of 5`,children:Array.from({length:5},(o,c)=>x(gl,{filled:c<(a.rating??0)},c))}),F("blockquote",{className:"mkt-display-italic mt-4 flex-1 text-lg leading-relaxed text-foreground",children:["\u201C",a.quote,"\u201D"]}),F("figcaption",{className:"mt-6 flex items-center gap-3",children:[x("span",{className:j("inline-flex size-10 shrink-0 items-center justify-center rounded-full border font-[family-name:var(--font-marketing-mono)] text-sm font-semibold mkt-tint",`mkt-tint-${s%4}`),children:a.avatar??hi(a.author)}),F("span",{className:"min-w-0",children:[x("span",{className:"block truncate text-sm font-medium text-foreground",children:a.author}),a.role&&x("span",{className:"block truncate text-xs text-muted-foreground",children:a.role})]})]})]},s))})})};function yl(e){if(Array.isArray(e)&&e.every((t)=>typeof t==="string"))return gi(e).map((t)=>({name:t}));return Ge(e).map((t)=>({name:T(t.name)??""})).filter((t)=>t.name.length>0)}var Bt=(e)=>{let t=T(e.label),r=yl(e.logos);return F("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"LogoCloud",children:[t&&x("p",{className:"mkt-eyebrow text-center",children:t}),x("div",{className:j("flex flex-wrap items-center justify-center gap-x-8 gap-y-5",t&&"mt-6"),children:r.map((n,i)=>x("span",{className:"font-[family-name:var(--font-marketing-mono)] text-base font-semibold uppercase tracking-[0.14em] text-muted-foreground/60 opacity-70 transition-all duration-200 hover:text-foreground hover:opacity-100",children:n.name.length>14?hi(n.name):n.name},i))})]})};function bl(e){return Ge(e).map((t)=>({value:T(t.value)??"",label:T(t.label)??"",sub:T(t.sub)})).filter((t)=>t.value.length>0)}var ui={1:"",2:"sm:grid-cols-2",3:"sm:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4"},Pt=(e)=>{let t=bl(e.stats),r=T(e.tone)??"plain",n=r==="inverse",i=ui[Math.min(Math.max(t.length,1),4)]??ui[4],a=x("div",{className:j("grid grid-cols-1 divide-y divide-border sm:divide-x sm:divide-y-0",i,n&&"divide-background/15 sm:divide-background/15"),children:t.map((s,o)=>F("div",{className:j("mkt-reveal flex flex-col items-center px-6 py-6 text-center",`mkt-reveal-${Math.min(o+1,6)}`),children:[x("span",{className:j("mkt-display text-4xl md:text-6xl",n?"text-background":"text-foreground"),children:s.value}),x("span",{className:j("mt-3 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.18em]",n?"text-background/70":"text-muted-foreground"),children:s.label}),s.sub&&x("span",{className:j("mt-1 text-xs",n?"text-background/55":"text-muted-foreground/80"),children:s.sub})]},o))});if(n)return x("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"StatBand",children:F("div",{className:"mkt-hero relative overflow-hidden rounded-2xl bg-foreground py-6 md:py-8",children:[x("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(60% 120% at 12% 0%, color-mix(in oklch, var(--marketing-accent) 26%, transparent) 0%, transparent 55%), radial-gradient(60% 120% at 100% 100%, color-mix(in oklch, var(--mk-accent-3) 22%, transparent) 0%, transparent 55%)"}}),x("span",{className:"mkt-grain","aria-hidden":"true"}),x("div",{className:"relative",children:a})]})});return x("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"StatBand",children:x("div",{className:j(r==="muted"&&"mkt-band rounded-2xl border border-border bg-card/50 py-4"),children:a})})},qt=(e)=>{let t=T(e.title)??"",r=T(e.subtitle),n=T(e.placeholder)??"you@example.com",i=fi(e.cta)??{label:"Subscribe",href:"#"};return x("section",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"Newsletter",children:F("div",{className:"mkt-band-accent rounded-2xl border border-border bg-card/40 px-6 py-10 text-center md:px-10",children:[x("h2",{className:"text-2xl md:text-3xl",children:t}),r&&x("p",{className:"mx-auto mt-3 max-w-xl text-sm leading-relaxed text-muted-foreground",children:r}),F("form",{className:"mx-auto mt-7 flex w-full max-w-md flex-col gap-3 sm:flex-row",action:i.href,children:[x("label",{className:"sr-only",htmlFor:"uibot-newsletter-email",children:"Email address"}),x("input",{id:"uibot-newsletter-email",type:"email",name:"email",placeholder:n,className:"h-11 flex-1 rounded-md border border-border bg-background px-4 text-sm text-foreground placeholder:text-muted-foreground focus-visible:border-[var(--marketing-accent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color-mix(in_oklch,var(--marketing-accent)_30%,transparent)]"}),x(yi,{cta:i,variant:"primary"})]})]})})};import{jsx as l,jsxs as w,Fragment as z}from"react/jsx-runtime";function A(...e){return e.filter(Boolean).join(" ")}function k(e){return typeof e==="string"&&e.length>0?e:void 0}function xl(e){if(!Array.isArray(e))return[];return e.map((t)=>k(t)).filter((t)=>Boolean(t))}function re(e){if(!Array.isArray(e))return[];return e.filter((t)=>Boolean(t)&&typeof t==="object")}function vl(e){let t=Number(e);return Number.isFinite(t)?t:void 0}function _e(e,t=0){let r=Number(e);return Number.isFinite(r)?(Math.trunc(r)%4+4)%4:t}function vi(e){if(!e||typeof e!=="object")return;let t=e,r=k(t.label),n=k(t.href);if(!r)return;return{label:r,href:n??"#"}}var kl={sparkles:l("path",{d:"M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z"}),zap:l("path",{d:"M13 2 4 14h7l-1 8 9-12h-7z"}),layers:w(z,{children:[l("path",{d:"m12 3 9 5-9 5-9-5 9-5z"}),l("path",{d:"m3 12 9 5 9-5"})]}),boxes:w(z,{children:[l("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),l("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"}),l("rect",{x:"8.5",y:"14",width:"7",height:"7",rx:"1"})]}),code:l("path",{d:"m8 6-6 6 6 6M16 6l6 6-6 6"}),cpu:w(z,{children:[l("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"}),l("path",{d:"M9 1v3M15 1v3M9 20v3M15 20v3M1 9h3M1 15h3M20 9h3M20 15h3"})]}),workflow:w(z,{children:[l("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"}),l("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"}),l("path",{d:"M10 6.5h6a2 2 0 0 1 2 2V14"})]}),gauge:w(z,{children:[l("path",{d:"M3 14a9 9 0 1 1 18 0"}),l("path",{d:"m13 12-3 3"})]}),shield:l("path",{d:"M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z"}),wand:l("path",{d:"m15 4 5 5M4 20 14 10M9 4l1 2 2 1-2 1-1 2-1-2-2-1 2-1z"}),info:w(z,{children:[l("circle",{cx:"12",cy:"12",r:"9"}),l("path",{d:"M12 11v5M12 7.5h.01"})]}),check:l("path",{d:"m20 6-11 11-5-5"}),alert:w(z,{children:[l("path",{d:"M12 3 2 20h20L12 3z"}),l("path",{d:"M12 10v4M12 17.5h.01"})]}),rocket:w(z,{children:[l("path",{d:"M5 16c-1.5 1.5-2 5-2 5s3.5-.5 5-2a3 3 0 0 0-3-3z"}),l("path",{d:"M9 14c-1-2 0-6 3.5-9.5C15 2 19 2 21 3c1 2 1 6-1.5 8.5C16 15 12 16 10 15z"}),l("circle",{cx:"15",cy:"9",r:"1.4"})]}),flag:w(z,{children:[l("path",{d:"M4 22V4"}),l("path",{d:"M4 4h13l-2 4 2 4H4"})]}),star:l("path",{d:"m12 3 2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.6 6.8 19.1l1-5.8L3.5 9.2l5.9-.9z"}),heart:l("path",{d:"M12 20s-7-4.5-9.3-9C1.2 8 2.8 4.6 6.2 4.6c2 0 3.2 1.2 3.8 2.2.6-1 1.8-2.2 3.8-2.2 3.4 0 5 3.4 3.5 6.4C19 15.5 12 20 12 20z"}),globe:w(z,{children:[l("circle",{cx:"12",cy:"12",r:"9"}),l("path",{d:"M3 12h18M12 3c2.5 2.6 2.5 15.4 0 18M12 3c-2.5 2.6-2.5 15.4 0 18"})]}),lock:w(z,{children:[l("rect",{x:"5",y:"11",width:"14",height:"9",rx:"2"}),l("path",{d:"M8 11V8a4 4 0 0 1 8 0v3"})]}),clock:w(z,{children:[l("circle",{cx:"12",cy:"12",r:"9"}),l("path",{d:"M12 7v5l3 2"})]}),x:l("path",{d:"M6 6l12 12M18 6 6 18"})};function X({name:e,className:t="size-5"}){let r=e&&kl[e.toLowerCase()]||l("circle",{cx:"12",cy:"12",r:"3"});return l("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round",className:t,"aria-hidden":"true",children:r})}function wl({cta:e,variant:t,size:r="md"}){let i=A("inline-flex items-center justify-center gap-2 rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",{sm:"px-3.5 py-1.5 text-xs",md:"px-5 py-2.5 text-sm"}[r]),a={primary:"bg-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)] hover:bg-[var(--marketing-accent-strong)] focus-visible:ring-[var(--marketing-accent)]",outline:"border border-border bg-transparent text-foreground hover:border-[var(--marketing-accent)] hover:text-[var(--marketing-accent)] focus-visible:ring-border",inverse:"bg-gradient-to-r from-[var(--marketing-accent)] to-[var(--mk-accent-3)] text-[var(--marketing-accent-foreground)] hover:opacity-90 focus-visible:ring-[var(--marketing-accent)]",ghost:"text-[var(--marketing-accent)] underline-offset-4 hover:underline focus-visible:ring-[var(--marketing-accent)]"};return l("a",{href:e.href,className:A(i,a[t]),children:e.label})}var jt=(e)=>{let t=_e(e.tone,0),r=Boolean(e.solid),n=k(e.icon)??"sparkles",i=k(e.message)??"",a=vi(e.cta),s=e.dismissible!==!1;return w("div",{className:A("marketing relative w-full px-4 py-2.5 text-center text-sm",r?"text-[var(--marketing-accent-foreground)]":"border-b border-border text-foreground mkt-tint",!r&&`mkt-tint-${t}`),"data-uibot-type":"Banner",style:r?{background:`var(${["--marketing-accent","--mk-accent-2","--mk-accent-3","--mk-accent-4"][t]})`}:void 0,role:"region","aria-label":"Announcement",children:[w("div",{className:"mx-auto flex max-w-6xl flex-wrap items-center justify-center gap-x-3 gap-y-1",children:[w("span",{className:"inline-flex items-center gap-2",children:[l(X,{name:n,className:"size-4 shrink-0"}),l("span",{className:"font-medium",children:i})]}),a&&w("a",{href:a.href,className:A("inline-flex items-center gap-1 font-[family-name:var(--font-marketing-mono)] text-xs font-semibold uppercase tracking-[0.12em] underline-offset-4 hover:underline",r?"":"text-[var(--marketing-accent)]"),children:[a.label,l(X,{name:"code",className:"size-3.5 rotate-180 [transform:rotateY(180deg)]"})]})]}),s&&l("span",{"aria-hidden":"true",className:"absolute right-3 top-1/2 inline-flex size-6 -translate-y-1/2 items-center justify-center rounded-md opacity-60 hover:opacity-100",children:l(X,{name:"x",className:"size-4"})})]})};function Nl(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(typeof t==="string")return t.length>0?{text:t}:void 0;if(t&&typeof t==="object"){let r=t,n=k(r.text)??"";return n.length>0?{icon:k(r.icon),text:n}:void 0}return}).filter((t)=>Boolean(t))}var Ft=(e,t)=>{let r=k(e.eyebrow),n=k(e.title)??"",i=k(e.body),a=Nl(e.bullets),s=vi(e.cta),o=Boolean(e.reverse),c=_e(e.tone,0),d=t.slots.visual??t.children,m=d&&d.length>0;return l("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"FeatureSplit",children:w("div",{className:A("grid items-center gap-10 md:grid-cols-2 md:gap-14",o&&"md:[direction:rtl]"),children:[w("div",{className:A("max-w-xl md:[direction:ltr]"),children:[r&&l("p",{className:"mkt-eyebrow",children:r}),l("h2",{className:"mt-4 text-3xl md:text-4xl",children:n}),i&&l("p",{className:"mt-4 text-base leading-relaxed text-muted-foreground",children:i}),a.length>0&&l("ul",{className:"mt-6 flex flex-col gap-3",children:a.map((y,N)=>w("li",{className:"flex items-start gap-3 text-sm text-foreground/90",children:[l("span",{className:A("mt-0.5 inline-flex size-6 shrink-0 items-center justify-center rounded-md border mkt-tint",`mkt-tint-${c}`),children:l(X,{name:y.icon??"check",className:"size-3.5"})}),l("span",{className:"leading-relaxed",children:y.text})]},N))}),s&&l("div",{className:"mt-8",children:l(wl,{cta:s,variant:"primary"})})]}),l("div",{className:"md:[direction:ltr]",children:m?d:l("div",{className:A("mkt-card flex aspect-[4/3] items-center justify-center [background-image:radial-gradient(color-mix(in_oklch,var(--border)_80%,transparent)_1px,transparent_1px)] [background-size:18px_18px]"),children:l("span",{className:A("inline-flex size-14 items-center justify-center rounded-xl border mkt-tint",`mkt-tint-${c}`),children:l(X,{name:"layers",className:"size-7"})})})})]})})};function Rl(e){if(Array.isArray(e)&&e.every((t)=>typeof t==="string"))return xl(e).map((t)=>({name:t}));return re(e).map((t)=>({name:k(t.name)??"",highlighted:Boolean(t.highlighted)})).filter((t)=>t.name.length>0)}function El(e){return re(e).map((t)=>({feature:k(t.feature)??"",values:Array.isArray(t.values)?t.values:[]})).filter((t)=>t.feature.length>0)}function Sl({value:e}){if(e===!0||e==="true"||e==="yes")return l("span",{className:"inline-flex text-[var(--marketing-accent)]","aria-label":"Yes",children:l(X,{name:"check",className:"size-4"})});if(e===!1||e==="false"||e==="no"||e===""||e==null)return l("span",{className:"inline-flex text-muted-foreground/40","aria-label":"No",children:l(X,{name:"x",className:"size-4"})});return l("span",{className:"text-sm text-foreground/90",children:String(e)})}var Gt=(e)=>{let t=Rl(e.columns),r=El(e.rows),n=k(e.featureLabel)??"";return l("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"ComparisonTable",children:l("div",{className:"overflow-x-auto rounded-xl border border-border bg-card",children:w("table",{className:"w-full border-collapse text-left",children:[l("thead",{children:w("tr",{className:"border-b border-border",children:[l("th",{className:"px-5 py-4 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-muted-foreground",children:n}),t.map((i,a)=>l("th",{className:A("px-5 py-4 text-center text-sm font-semibold text-foreground",i.highlighted&&"bg-[color-mix(in_oklch,var(--marketing-accent)_8%,transparent)] text-[var(--marketing-accent)]"),children:i.name},a))]})}),l("tbody",{children:r.map((i,a)=>w("tr",{className:"border-b border-border last:border-0",children:[l("th",{scope:"row",className:"px-5 py-3.5 text-left text-sm font-medium text-foreground",children:i.feature}),t.map((s,o)=>l("td",{className:A("px-5 py-3.5 text-center",s.highlighted&&"bg-[color-mix(in_oklch,var(--marketing-accent)_6%,transparent)]"),children:l(Sl,{value:i.values[o]})},o))]},a))})]})})})};function Cl(e){return re(e).map((t)=>{let r=k(t.state),n=r==="done"||r==="active"||r==="planned"?r:"planned";return{date:k(t.date),title:k(t.title)??"",desc:k(t.desc),state:n}}).filter((t)=>t.title.length>0)}var Ll={done:"bg-[var(--marketing-accent)] border-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)]",active:"border-[var(--marketing-accent)] text-[var(--marketing-accent)] bg-card ring-4 ring-[color-mix(in_oklch,var(--marketing-accent)_20%,transparent)]",planned:"border-border text-muted-foreground bg-card"},Il={done:"check",active:"rocket",planned:"flag"},_t=(e)=>{let t=Cl(e.milestones);return l("ol",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"Roadmap",children:t.map((r,n)=>w("li",{className:"relative flex gap-5 pb-8 last:pb-0",children:[n<t.length-1&&l("span",{"aria-hidden":"true",className:"absolute left-[1.375rem] top-12 bottom-0 w-px bg-border"}),l("span",{className:A("relative z-10 inline-flex size-11 shrink-0 items-center justify-center rounded-full border",Ll[r.state]),children:l(X,{name:Il[r.state],className:"size-5"})}),w("div",{className:"pt-1",children:[r.date&&l("p",{className:"font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-[var(--marketing-accent)]",children:r.date}),l("h3",{className:"mt-1 text-xl",children:r.title}),r.desc&&l("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:r.desc})]})]},n))})},Dt=(e)=>{let t=k(e.value)??"",r=k(e.label),n=k(e.body),i=k(e.delta),s=k(e.trend)==="down";return w("section",{className:"marketing mx-auto max-w-3xl px-6 text-center md:px-0","data-uibot-type":"StatHighlight",children:[w("div",{className:"flex items-end justify-center gap-3",children:[l("span",{className:"mkt-display text-6xl leading-none md:text-8xl",children:t}),i&&w("span",{className:A("mb-2 inline-flex items-center gap-1 rounded-full px-2.5 py-1 font-[family-name:var(--font-marketing-mono)] text-xs font-semibold",s?"bg-[color-mix(in_oklch,var(--mk-accent-3)_16%,transparent)] text-[var(--mk-accent-3)]":"bg-[color-mix(in_oklch,var(--marketing-accent)_18%,transparent)] text-[var(--marketing-accent)]"),children:[l("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round",className:A("size-3.5",s&&"rotate-180"),"aria-hidden":"true",children:l("path",{d:"M12 19V5M6 11l6-6 6 6"})}),i]})]}),r&&l("p",{className:"mt-4 font-[family-name:var(--font-marketing-mono)] text-sm uppercase tracking-[0.2em] text-muted-foreground",children:r}),n&&l("p",{className:"mx-auto mt-3 max-w-xl text-base leading-relaxed text-muted-foreground",children:n})]})};function Al(e){if(!Array.isArray(e))return[];return e.map((t)=>{if(typeof t==="string")return t.length>0?{title:t}:void 0;if(t&&typeof t==="object"){let r=t,n=k(r.title)??"";return n.length>0?{icon:k(r.icon),title:n,desc:k(r.desc)}:void 0}return}).filter((t)=>Boolean(t))}var bi={"1":"","2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3"},zt=(e)=>{let t=Al(e.items),r=String(e.columns??"2"),n=bi[r]??bi["2"],i=k(e.icon)??"check";return l("section",{className:"marketing mx-auto max-w-5xl px-6 md:px-0","data-uibot-type":"IconList",children:l("ul",{className:A("grid grid-cols-1 gap-x-8 gap-y-6",n),children:t.map((a,s)=>w("li",{className:"flex items-start gap-3.5",children:[l("span",{className:A("mt-0.5 inline-flex size-9 shrink-0 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${s%4}`),children:l(X,{name:a.icon??i,className:"size-4"})}),w("div",{className:"min-w-0",children:[l("p",{className:"font-medium text-foreground",children:a.title}),a.desc&&l("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground",children:a.desc})]})]},s))})})};function Tl(e){return re(e).map((t)=>({title:k(t.title)??"",links:re(t.links).map((r)=>({label:k(r.label)??"",href:k(r.href)??"#"})).filter((r)=>r.label.length>0)})).filter((t)=>t.title.length>0||t.links.length>0)}var Ut=(e)=>{let t=k(e.brand)??"",r=k(e.tagline),n=Tl(e.groups),i=k(e.copyright),a=k(e.note);return w("footer",{className:"marketing border-t border-border bg-card/40 px-6 py-14 md:px-10","data-uibot-type":"Footer",children:[w("div",{className:"mx-auto grid max-w-6xl gap-10 md:grid-cols-[1.4fr_2.6fr]",children:[w("div",{className:"max-w-sm",children:[t&&l("p",{className:"mkt-display text-2xl",children:t}),r&&l("p",{className:"mt-3 text-sm leading-relaxed text-muted-foreground",children:r})]}),n.length>0&&l("div",{className:"grid grid-cols-2 gap-8 sm:grid-cols-3",children:n.map((s,o)=>w("div",{children:[l("p",{className:"font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.16em] text-muted-foreground",children:s.title}),l("ul",{className:"mt-4 flex flex-col gap-2.5",children:s.links.map((c,d)=>l("li",{children:l("a",{href:c.href,className:"text-sm text-foreground/80 underline-offset-4 transition-colors hover:text-[var(--marketing-accent)] hover:underline",children:c.label})},d))})]},o))})]}),(i||a)&&w("div",{className:"mx-auto mt-12 flex max-w-6xl flex-col items-start justify-between gap-2 border-t border-border pt-6 text-xs text-muted-foreground sm:flex-row sm:items-center",children:[i&&l("span",{children:i}),a&&l("span",{className:"font-[family-name:var(--font-marketing-mono)] uppercase tracking-[0.14em]",children:a})]})]})};function $l(e){return re(e).map((t)=>({icon:k(t.icon),title:k(t.title)??"",body:k(t.body)??""})).filter((t)=>t.title.length>0)}var Vt=(e)=>{let t=k(e.title),r=$l(e.items),n=Boolean(e.defaultOpenFirst);return w("section",{className:"marketing mx-auto max-w-3xl px-6 md:px-0","data-uibot-type":"AccordionList",children:[t&&l("h2",{className:"mb-6 text-3xl md:text-4xl",children:t}),l("div",{className:"flex flex-col gap-3",children:r.map((i,a)=>w("details",{open:n&&a===0,className:"group mkt-card overflow-hidden p-0 [&_summary::-webkit-details-marker]:hidden",children:[w("summary",{className:"flex cursor-pointer list-none items-center gap-3.5 px-5 py-4 text-base font-medium text-foreground",children:[i.icon&&l("span",{className:A("inline-flex size-8 shrink-0 items-center justify-center rounded-lg border mkt-tint",`mkt-tint-${a%4}`),children:l(X,{name:i.icon,className:"size-4"})}),l("span",{className:"flex-1",children:i.title}),l("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.8,strokeLinecap:"round",strokeLinejoin:"round",className:"size-4 shrink-0 text-muted-foreground transition-transform duration-200 group-open:rotate-180","aria-hidden":"true",children:l("path",{d:"m6 9 6 6 6-6"})})]}),i.body&&l("p",{className:"px-5 pb-5 text-sm leading-relaxed text-muted-foreground",children:i.body})]},a))})]})};function Ol(e,t,r,n=2){if(e.length===0)return{line:"",area:""};let i=Math.min(...e),s=Math.max(...e)-i||1,o=e.length>1?(t-n*2)/(e.length-1):0,c=e.map((oe,le)=>{let ki=n+le*o,wi=n+(r-n*2)*(1-(oe-i)/s);return[ki,wi]}),d=c.map(([oe,le])=>`${oe.toFixed(1)},${le.toFixed(1)}`).join(" "),m=c[0],y=c[c.length-1],N=(r-n).toFixed(1),h=c.map(([oe,le])=>`L${oe.toFixed(1)},${le.toFixed(1)}`).join(" "),ze=`M${m[0].toFixed(1)},${N} ${h} L${y[0].toFixed(1)},${N} Z`;return{line:d,area:ze}}var Ht=(e)=>{let t=k(e.label),r=k(e.value)??"",n=k(e.delta),a=k(e.trend)==="down",s=_e(e.tone,0),o=Array.isArray(e.points)?e.points.map((h)=>vl(h)).filter((h)=>h!=null):[],c=120,d=36,{line:m,area:y}=Ol(o,120,36),N=["var(--marketing-accent)","var(--mk-accent-2)","var(--mk-accent-3)","var(--mk-accent-4)"][s];return w("article",{className:"mkt-card marketing flex flex-col p-5","data-uibot-type":"MetricCard",children:[w("div",{className:"flex items-start justify-between gap-3",children:[t&&l("span",{className:"font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-muted-foreground",children:t}),n&&w("span",{className:A("inline-flex items-center gap-0.5 rounded-full px-2 py-0.5 text-xs font-semibold",a?"bg-[color-mix(in_oklch,var(--mk-accent-3)_16%,transparent)] text-[var(--mk-accent-3)]":"bg-[color-mix(in_oklch,var(--marketing-accent)_18%,transparent)] text-[var(--marketing-accent)]"),children:[l("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round",className:A("size-3",a&&"rotate-180"),"aria-hidden":"true",children:l("path",{d:"M12 19V5M6 11l6-6 6 6"})}),n]})]}),l("span",{className:"mt-3 mkt-display text-3xl md:text-4xl",children:r}),m&&w("svg",{viewBox:"0 0 120 36",className:"mt-4 h-9 w-full",preserveAspectRatio:"none","aria-hidden":"true",children:[l("path",{d:y,fill:N,opacity:0.12}),l("polyline",{points:m,fill:"none",stroke:N,strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})]})]})};function Ml(e){return re(e).map((t)=>({src:k(t.src),caption:k(t.caption),tone:t.tone,wide:Boolean(t.wide)}))}var xi={"2":"sm:grid-cols-2","3":"sm:grid-cols-2 lg:grid-cols-3","4":"sm:grid-cols-2 lg:grid-cols-4"},Xt=(e)=>{let t=Ml(e.items),r=String(e.columns??"3"),n=xi[r]??xi["3"];return l("section",{className:"marketing mx-auto max-w-6xl px-6 md:px-0","data-uibot-type":"GalleryGrid",children:l("div",{className:A("grid grid-cols-1 gap-4 [grid-auto-rows:minmax(11rem,1fr)]",n),children:t.map((i,a)=>{let s=_e(i.tone,a%4),o=i.src&&/^(https?:|data:|\/)/.test(i.src);return w("figure",{className:A("mkt-card group/g relative overflow-hidden p-0",i.wide&&"sm:col-span-2"),children:[o?l("img",{src:i.src,alt:i.caption??"",className:"h-full w-full object-cover transition-transform duration-300 group-hover/g:scale-[1.03]"}):l("div",{className:A("flex h-full w-full items-center justify-center mkt-tint [background-image:radial-gradient(color-mix(in_oklch,var(--border)_75%,transparent)_1px,transparent_1px)] [background-size:16px_16px]",`mkt-tint-${s}`),children:l(X,{name:"boxes",className:"size-8 opacity-60"})}),i.caption&&l("figcaption",{className:"absolute inset-x-0 bottom-0 bg-gradient-to-t from-[color-mix(in_oklch,var(--foreground)_55%,transparent)] to-transparent px-4 pb-3 pt-10 text-sm font-medium text-background",children:i.caption})]},a)})})})};var ye={Grid:{name:"Grid",description:"Declarative grid layout. Maps cols/gap/responsive props to Tailwind grid classes; children become grid cells directly.",category:"primitive",level:"L1",tags:["layout","grid","container"],props:{cols:{enum:["1","2","3","4","5","6","auto",1,2,3,4,5,6],default:"auto",description:"Column count, or 'auto' for auto-fit minmax(220px,1fr)"},gap:{type:"string",enum:["none","xs","sm","md","lg","xl"],default:"md"},responsive:{type:"boolean",default:!1,description:"Use a mobile-first ladder (grid-cols-1 \u2192 sm:2 \u2192 lg:N) instead of a fixed column count"},align:{type:"string",enum:["start","center","end","stretch"]},justify:{type:"string",enum:["start","center","end","between","around"]}},usageScenarios:["4-up Stat dashboard row (cols=4)","Responsive card gallery (cols=3, responsive=true)","Two-column form layout (cols=2)"],constraints:["Grid children become grid cells directly; do not wrap each child in a Box","Use cols='auto' when the number of children is dynamic"]},StatGrid:{name:"StatGrid",description:"Responsive grid of KPI cards. Prefers child Stat blocks; falls back to inline rendering of an items array when there are no children.",category:"composite",level:"L2",tags:["stat","kpi","dashboard","grid"],props:{cols:{type:"string",enum:["1","2","3","4","auto"],default:"auto"},items:{type:"array",items:{type:"object",properties:{label:{type:"string"},value:{type:"string"},change:{type:"string"},trend:{type:"string",enum:["up","down"]},description:{type:"string"}}},description:"Inline KPI items used when no Stat children are provided"}},usageScenarios:["Overview dashboard KPI row","Operations metrics summary above a table"],constraints:["Provide either Stat children or items, not both \u2014 children win when present"]},TrendChart:{name:"TrendChart",description:"Pure-SVG line / area chart with no third-party dependency. Draws one polyline per series on a shared vertical scale. Alias: LineChart.",category:"composite",level:"L2",tags:["chart","trend","line","svg"],props:{title:{type:"string"},series:{type:"array",items:{type:"object",properties:{name:{type:"string"},points:{type:"array",items:{type:"number"}},area:{type:"boolean",default:!1}}},description:"[{name, points:number[], area?}]"},labels:{type:"array",items:{type:"string"},description:"Optional x-axis labels"},width:{type:"integer",default:480},height:{type:"integer",default:160}},usageScenarios:["Evolution score trend over versions","Daily active users line chart"],constraints:["Keep each series under ~200 points; larger inputs produce heavy SVG DOM"]},LineChart:{name:"LineChart",description:"Alias of TrendChart \u2014 pure-SVG multi-series line / area chart.",category:"composite",level:"L2",tags:["chart","line","svg"],props:{title:{type:"string"},series:{type:"array",items:{type:"object",properties:{name:{type:"string"},points:{type:"array",items:{type:"number"}},area:{type:"boolean"}}}},width:{type:"integer",default:480},height:{type:"integer",default:160}},usageScenarios:["Same as TrendChart; use whichever name reads better in the spec"],constraints:["Identical implementation to TrendChart"]},KanbanBoard:{name:"KanbanBoard",description:"Horizontal kanban board: columns as swimlanes, cards grouped by their column id. Read-only display.",category:"composite",level:"L3",tags:["kanban","board","operations"],props:{columns:{type:"array",items:{type:"object",properties:{id:{type:"string"},title:{type:"string"}}},description:"[{id, title}] swimlane definitions"},cards:{type:"array",items:{type:"object",properties:{id:{type:"string"},column:{type:"string"},title:{type:"string"},subtitle:{type:"string"},badge:{type:"string"}}},description:"[{id, column, title, subtitle?, badge?}] \u2014 column must match a column id"}},usageScenarios:["Operations task board (Todo / In progress / Done)","Release pipeline stages"],constraints:["Each card.column must reference an existing column.id, else the card is dropped","Up to 4 columns fit the container as an equal-width grid (no scrollbar); 5+ columns switch to a horizontal scroll strip"]},Matrix:{name:"Matrix",description:"Two-dimensional intensity grid (heatmap). Cell intensities are 0..1 and map to a color-mix of the primary token via inline style. Alias: Heatmap.",category:"composite",level:"L3",tags:["matrix","heatmap","grid","governance"],props:{caption:{type:"string"},rows:{type:"array",items:{type:"string"},description:"Row labels"},cols:{type:"array",items:{type:"string"},description:"Column labels"},cells:{type:"array",items:{type:"array",items:{type:"number"}},description:"rows\xD7cols grid of intensities in [0,1]"},showValues:{type:"boolean",default:!1,description:"Print the numeric value in each cell"}},usageScenarios:["Governance capability coverage matrix","Risk heatmap (likelihood \xD7 impact)"],constraints:["Intensities are single-polar 0..1; negative / diverging scales are not supported","cells should be rows.length \xD7 cols.length; missing cells render as 0"]},Heatmap:{name:"Heatmap",description:"Alias of Matrix \u2014 two-dimensional 0..1 intensity grid.",category:"composite",level:"L3",tags:["heatmap","matrix","grid"],props:{caption:{type:"string"},rows:{type:"array",items:{type:"string"}},cols:{type:"array",items:{type:"string"}},cells:{type:"array",items:{type:"array",items:{type:"number"}}},showValues:{type:"boolean",default:!1}},usageScenarios:["Same as Matrix"],constraints:["Identical implementation to Matrix"]},DiagnosticsList:{name:"DiagnosticsList",description:"Levelled diagnostics list with a coloured left bar and glyph per severity (info / warn / error).",category:"composite",level:"L2",tags:["diagnostics","list","status","overview"],props:{items:{type:"array",items:{type:"object",properties:{level:{type:"string",enum:["info","warn","error"]},title:{type:"string"},detail:{type:"string"}}},description:"[{level, title, detail?}]"}},usageScenarios:["Overview page diagnostics slot","Spec validation results list"],constraints:["level defaults to 'info' when omitted or unrecognised"]},TimelineList:{name:"TimelineList",description:"Vertical timeline with a left rail and a status dot per item (ok / warn / error).",category:"composite",level:"L2",tags:["timeline","activity","operations"],props:{items:{type:"array",items:{type:"object",properties:{time:{type:"string"},title:{type:"string"},desc:{type:"string"},status:{type:"string",enum:["ok","warn","error"]}}},description:"[{time, title, desc?, status?}]"}},usageScenarios:["Operations event timeline","Deployment / audit history"],constraints:["status defaults to 'ok' when omitted"]},SearchableTable:{name:"SearchableTable",description:"Table with a built-in search box. Typing dispatches SetState onto searchKey and filters the resolved rows (case-insensitive substring across all columns).",category:"feature",level:"L3",tags:["table","search","interactive","data"],props:{columns:{type:"array",items:{type:"object",properties:{key:{type:"string"},label:{type:"string"},align:{type:"string",enum:["left","center","right"]}}}},rows:{type:"array",items:{type:"object"},description:"Row objects keyed to column.key"},searchKey:{type:"string",default:"search",description:"State path the search query writes to"},placeholder:{type:"string",default:"Search\u2026"},emptyText:{type:"string",default:"No matching rows",description:"Copy shown when the filtered row set is empty"}},usageScenarios:["Searchable plugins / catalog list in studio","User management table with live filtering"],constraints:["Requires a live host (dispatch) for the search box to update host state; client-side filtering still works on already-resolved rows"]},SplitMasterDetail:{name:"SplitMasterDetail",description:"Master/detail split: a selectable left list and a right detail pane. Clicking an item dispatches SetState onto selectKey; the detail slot (or children) renders the right pane.",category:"feature",level:"L3",tags:["split","master-detail","interactive","layout"],props:{items:{type:"array",items:{type:"object",properties:{id:{type:"string"},title:{type:"string"},subtitle:{type:"string"}}},description:"[{id, title, subtitle?}] left-list entries"},selectKey:{type:"string",default:"selectedId",description:"State path the selected id writes to"}},slots:{detail:{description:"Right-pane content; usually host-composed from the selected item via _find"}},usageScenarios:["Skills list \u2192 skill detail","Agents directory \u2192 agent inspector"],constraints:["Selection defaults to the first item's id until the host updates selectKey"]},DetailField:{name:"DetailField",description:"Label + value display row, for use inside a detail pane.",category:"primitive",level:"L1",tags:["detail","field","display"],props:{label:{type:"string"},value:{type:"string",description:"Any scalar; rendered as '\u2014' when empty"},inline:{type:"boolean",default:!1,description:"Render label and value on one line"}},usageScenarios:["Field row inside a SplitMasterDetail detail pane","Read-only record summary"],constraints:["Use for scalar values; for structured data prefer KeyValueGrid"]},BadgeGroup:{name:"BadgeGroup",description:"Horizontal group of status badges. Items may be plain strings or {label, tone}.",category:"composite",level:"L1",tags:["badge","status","tags"],props:{items:{type:"array",items:{type:"object",properties:{label:{type:"string"},tone:{type:"string",enum:["default","success","warning","error","info"]}}},description:"Array of strings or [{label, tone?}]"}},usageScenarios:["Status / tag chips on a list row","Capability flags on an agent card"],constraints:["tone defaults to 'default' when omitted or unrecognised"]},KeyValueGrid:{name:"KeyValueGrid",description:"Compact key/value grid for metadata. Accepts an items array or a plain record object.",category:"composite",level:"L1",tags:["key-value","metadata","grid","display"],props:{items:{type:"array",items:{type:"object",properties:{key:{type:"string"},value:{type:"string"}}},description:"[{key, value}] pairs (or pass a plain object as `data`)"},cols:{enum:["1","2","3",1,2,3],default:"2"}},usageScenarios:["Model metadata panel (provider, context, pricing)","Request / response header summary"],constraints:["Values are stringified for display; pass pre-formatted strings for control"]},Hero:{name:"Hero",description:"Asymmetric editorial hero: serif display title (with optional italic emphasis word), mono eyebrow with amber dot, warm radial-glow + blueprint dot-grid backdrop, grain overlay, staggered reveal, and primary/secondary CTAs. An optional right-side visual renders via the `aside` slot or children.",category:"presentation",level:"L3",tags:["hero","marketing","landing","editorial"],props:{eyebrow:{type:"string",description:"Mono uppercase kicker above the title"},title:{type:"string",description:"Serif display headline"},titleEmphasis:{type:"string",description:"Optional trailing word rendered italic + amber for emphasis"},subtitle:{type:"string",description:"Supporting lead paragraph"},primaryCta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber button"},secondaryCta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 outline button"},note:{type:"string",description:"Small mono note under the CTAs"}},slots:{aside:{description:"Right-pane visual (e.g. a rendered spec preview); hidden on mobile"}},usageScenarios:["Studio landing-page hero introducing 'AI writes the spec, the platform renders the UI'","Product launch hero with a spec snippet preview on the right"],constraints:["CTA props are {label, href}; href defaults to '#' when omitted","Use titleEmphasis for a single emphasis word, not the whole title"]},BrowserFrame:{name:"BrowserFrame",description:"Product-screenshot window shell: frames its `content` slot (or children) in a precise browser/app chrome \u2014 three traffic-light dots + a mono title/address bar \u2014 with a hairline border, long soft shadow, and an optional 3D tilt. Used to present a live-rendered UI as a product-shot visual (dogfood) instead of a static screenshot.",category:"presentation",level:"L2",tags:["frame","browser","window","screenshot","marketing"],props:{title:{type:"string",description:"Address/title shown in the window chrome (defaults to 'app.uibot.studio')"},variant:{type:"string",enum:["flat","tilt"],default:"flat",description:"'tilt' adds a subtle 3D perspective tilt for a product-shot feel"},tone:{type:"string",enum:["0","1","2","3"],default:"0",description:"Accent-hue index for the chrome address bar wash (0 amber \xB7 1 teal \xB7 2 rose \xB7 3 indigo)"}},slots:{content:{description:"The UI rendered inside the frame; usually a real dashboard composed from data blocks"}},usageScenarios:["Hero visual framing a live-rendered mini dashboard as the product shot","Showcase row of small frames each rendering a different UI from the same engine"],constraints:["Frames the `content` slot, falling back to children; supply real spec blocks to render a live UI","Decorative chrome only \u2014 it does not add browser behaviour (no real address bar)"]},SectionHeader:{name:"SectionHeader",description:"Editorial section header: oversized mono section number (e.g. '01'), mono eyebrow, serif title, and a lead paragraph. Sets the rhythm between page sections.",category:"presentation",level:"L2",tags:["section","header","marketing","editorial"],props:{sectionNo:{type:"string",description:"Oversized mono numeral, e.g. '01'"},eyebrow:{type:"string",description:"Mono uppercase kicker"},title:{type:"string",description:"Serif section title"},lead:{type:"string",description:"Lead / intro paragraph"}},usageScenarios:["Numbered section dividers on a landing page (01 Features, 02 How it works)","Editorial chapter header above a FeatureGrid"],constraints:["sectionNo is display text; any string works (e.g. '01', 'A', '\xA71')"]},FeatureGrid:{name:"FeatureGrid",description:"Responsive grid of hairline feature cards with hover lift. Renders an `items` array (icon name + title + desc) into FeatureCards, or lays out FeatureCard children directly.",category:"presentation",level:"L2",tags:["features","grid","cards","marketing"],props:{cols:{type:"string",enum:["2","3","4"],default:"3"},items:{type:"array",items:{type:"object",properties:{icon:{type:"string",description:"lucide icon name (sparkles, zap, layers, code, cpu, workflow, gauge, shield, wand, boxes)"},title:{type:"string"},desc:{type:"string"}}},description:"[{icon, title, desc}] feature entries"}},usageScenarios:["Three-up feature highlights under a SectionHeader","Capability grid (declarative spec, gap recovery, plugin catalog)"],constraints:["icon is a lucide name mapped to a built-in inline SVG; unknown names fall back to a dot","Provide either items or FeatureCard children \u2014 children win when present"]},FeatureCard:{name:"FeatureCard",description:"Single hairline feature card: inline-SVG icon, serif title, body copy, and optional children. Designed to sit inside a FeatureGrid but works standalone.",category:"presentation",level:"L1",tags:["feature","card","marketing"],props:{icon:{type:"string",description:"lucide icon name (see FeatureGrid)"},title:{type:"string"},desc:{type:"string"}},usageScenarios:["A single emphasised feature beside a screenshot","Composed children inside a FeatureGrid for custom card bodies"],constraints:["icon resolves against the built-in inline-SVG set; unknown \u2192 dot fallback"]},CodeShowcase:{name:"CodeShowcase",description:"Mono code panel with window chrome (three dots) and line numbers, used to showcase a UIBot YAML/JSON spec. Pure CSS, no syntax-highlighter dependency.",category:"presentation",level:"L2",tags:["code","spec","showcase","marketing"],props:{title:{type:"string",description:"Filename / label shown in the window chrome"},code:{type:"string",description:"Raw code string; newline-separated, rendered with line numbers"},caption:{type:"string",description:"Caption under the panel"}},usageScenarios:["Show an example UIBot YAML spec on the landing page","Before/after spec snippet in a docs section"],constraints:["code is plain text rendered verbatim with line numbers; no highlighting/escaping beyond React's default"]},CtaBand:{name:"CtaBand",description:"Inverted ink-black call-to-action band with grain overlay and a single amber CTA. Closes a landing page with high contrast.",category:"presentation",level:"L2",tags:["cta","band","marketing","conversion"],props:{title:{type:"string",description:"Serif headline"},subtitle:{type:"string",description:"Supporting line"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber button"}},usageScenarios:["Final 'Start building' band at the bottom of the landing page","Newsletter / docs CTA between sections"],constraints:["Single CTA by design; cta.href defaults to '#' when omitted"]},Faq:{name:"Faq",description:"Editorial accordion FAQ built on native <details>/<summary> \u2014 fully functional with zero JS / state wiring. Optional eyebrow/title/lead header; rows carry a mono index numeral, a hairline plus-mark that rotates 45\xB0 into a close-mark on open, and a grid-rows expand transition.",category:"presentation",level:"L2",tags:["faq","accordion","marketing","content"],props:{eyebrow:{type:"string",description:"Optional mono overline above the title (accent colored)"},title:{type:"string",description:"Optional serif heading above the list"},lead:{type:"string",description:"Optional muted intro line under the title"},defaultOpenFirst:{type:"boolean",description:"When true, the first row renders open on mount"},items:{type:"array",items:{type:"object",properties:{q:{type:"string"},a:{type:"string"}}},description:"[{q, a}] question/answer pairs; rows with an empty q are dropped"}},usageScenarios:["Pricing / product FAQ section on a landing page","Docs 'common questions' block"],constraints:["Uses native <details> so multiple rows can be open at once; no single-open behaviour","Answers render as plain text; pass pre-formatted strings"]},TeamGrid:{name:"TeamGrid",description:"Grid of team-member cards. Each shows an avatar (image when `avatar` is a URL, otherwise tinted initials), name, mono role and optional bio. Hairline cards with hover lift.",category:"presentation",level:"L2",tags:["team","people","grid","marketing"],props:{columns:{type:"string",enum:["2","3","4"],default:"3"},members:{type:"array",items:{type:"object",properties:{name:{type:"string"},role:{type:"string"},bio:{type:"string"},avatar:{type:"string",description:"Image URL, or short text/emoji shown as the avatar; falls back to initials"}}},description:"[{name, role?, bio?, avatar?}] \u2014 members with an empty name are dropped"}},usageScenarios:["About page 'meet the team' grid","Advisors / contributors showcase"],constraints:["avatar is treated as an image when it looks like a URL (http(s):/data:/leading slash); otherwise rendered as text","Initials are derived from the name when no avatar is given"]},Steps:{name:"Steps",description:"'How it works' steps with oversized mono numerals. variant 'numbered' (default) is a responsive card row; variant 'connected' is a vertical rail with a connecting line between numbered dots.",category:"presentation",level:"L2",tags:["steps","how-it-works","process","marketing"],props:{variant:{type:"string",enum:["numbered","connected"],default:"numbered",description:"'numbered' = card row with big numerals; 'connected' = vertical rail with a line"},steps:{type:"array",items:{type:"object",properties:{title:{type:"string"},desc:{type:"string"},icon:{type:"string",description:"Optional lucide icon name; replaces the numeral in the 'connected' dot"}}},description:"[{title, desc?, icon?}] in sequence order; steps with an empty title are dropped"}},usageScenarios:["Three-step onboarding ('Describe \u2192 Generate \u2192 Render')","Connected setup sequence in docs"],constraints:["Numbering is automatic (01, 02, \u2026) from array order","icon only affects the 'connected' variant's dot; the numbered variant always shows the numeral","Numbered variant derives its column count from the step count (clamped 2\u20134), so 4 steps fill one row"]},BentoGrid:{name:"BentoGrid",description:"Asymmetric bento layout. Lays BentoCell children, or an `items` array, onto a CSS grid whose base column count is `cols`; cells opt into col/row spans to break the rhythm into a mixed-size mosaic. Hairline cards, per-cell accent tone.",category:"presentation",level:"L3",tags:["bento","grid","layout","marketing"],props:{cols:{type:"string",enum:["2","3","4","6"],default:"3",description:"Base column count of the grid (cells may span fewer/more)"},gap:{type:"string",enum:["none","sm","md","lg"],default:"md"},items:{type:"array",items:{type:"object",properties:{title:{type:"string"},desc:{type:"string"},icon:{type:"string",description:"lucide icon name"},tone:{type:"integer",description:"Accent-hue index 0\u20133 (amber/teal/rose/indigo)"},span:{type:"object",properties:{col:{type:"integer"},row:{type:"integer"}},description:"Cell span; col 1\u20134, row 1\u20133"}}},description:"Inline cells used when no BentoCell children are provided"}},usageScenarios:["Feature mosaic where one tile is hero-sized (span col 2) and the rest are small","Capability bento mixing tall and wide tiles"],constraints:["Provide either BentoCell children or items \u2014 children win when present","span.col is clamped to 1\u20134 and span.row to 1\u20133 via static class maps (no purge risk)"]},BentoCell:{name:"BentoCell",description:"A single bento tile, usable standalone inside a BentoGrid. Reads span.col / span.row and maps them to static span classes so the cell can be as wide/tall as the mosaic needs. Optional icon/title/desc plus composed children.",category:"presentation",level:"L1",tags:["bento","cell","card","marketing"],props:{title:{type:"string"},desc:{type:"string"},icon:{type:"string",description:"lucide icon name"},tone:{type:"integer",description:"Accent-hue index 0\u20133 (amber/teal/rose/indigo)"},span:{type:"object",properties:{col:{type:"integer"},row:{type:"integer"}},description:"{col?, row?} \u2014 col clamped 1\u20134, row clamped 1\u20133"}},usageScenarios:["A hero tile (span col 2, row 2) holding a rendered preview inside a BentoGrid","Custom-bodied bento tile composed from child blocks"],constraints:["Spans are clamped 1\u20134 (col) / 1\u20133 (row) and emitted as static classes","Designed to sit inside a BentoGrid; standalone it renders as a lone card"]},Callout:{name:"Callout",description:"Emphasis callout panel: a tinted box (semantic or brand colour) with an icon, optional title and body. color-mix against the chosen token keeps the wash subtle and legible in light and dark.",category:"presentation",level:"L1",tags:["callout","note","alert","marketing"],props:{variant:{type:"string",enum:["info","success","warn","accent"],default:"info",description:"Colour/role: info (indigo) \xB7 success (green) \xB7 warn (amber) \xB7 accent (brand amber)"},title:{type:"string",description:"Emphasised lead line, coloured to the variant"},body:{type:"string",description:"Supporting paragraph"},icon:{type:"string",description:"Optional lucide icon name; defaults to a sensible glyph per variant"}},usageScenarios:["Inline 'Note' / 'Tip' block inside docs or a landing section","Success confirmation or warning banner above content"],constraints:["variant falls back to 'info' when omitted or unrecognised","icon defaults per variant (info\u2192info, success\u2192check, warn\u2192alert, accent\u2192sparkles)"]},PricingTable:{name:"PricingTable",description:"Responsive 2\u20134 column pricing grid of hairline cards. The `highlighted` plan gets an amber border + 'Popular' badge + solid amber CTA; others use an outline CTA. Features list with amber check glyphs. CTAs are {label, href} anchors.",category:"presentation",level:"L3",tags:["pricing","plans","marketing","conversion"],props:{plans:{type:"array",items:{type:"object",properties:{name:{type:"string"},price:{type:"string",description:"Display price, e.g. '$29' or 'Free'"},period:{type:"string",description:"Billing period suffix, e.g. '/mo'"},description:{type:"string",description:"Short plan summary line"},features:{type:"array",items:{type:"string"},description:"Bullet feature list"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber when highlighted, else outline"},highlighted:{type:"boolean",default:!1,description:"Mark the featured/popular plan"}}},description:"[{name, price, period?, description?, features[], cta{label,href}, highlighted?}]"},billingNote:{type:"string",description:"Mono note under the grid, e.g. 'Billed annually \xB7 cancel anytime'"}},usageScenarios:["Three-tier SaaS pricing section (Starter / Pro / Enterprise)","Two-up free-vs-paid comparison with a highlighted paid plan"],constraints:["Column count is derived from plans.length, clamped to 2\u20134","CTA props are {label, href}; href defaults to '#'","Mark at most one plan highlighted for a clear focal point"]},Testimonials:{name:"Testimonials",description:"Grid of testimonial cards (hairline `.mkt-card`, hover lift): optional star rating, serif italic pull-quote, and an initials avatar token + author + role. `columns` (1\u20133) controls the grid; avatar tints cycle the four accents.",category:"presentation",level:"L2",tags:["testimonials","social-proof","marketing","quotes"],props:{items:{type:"array",items:{type:"object",properties:{quote:{type:"string"},author:{type:"string"},role:{type:"string",description:"Author title / company"},avatar:{type:"string",description:"Explicit avatar token; defaults to author initials"},rating:{type:"integer",description:"Optional 1\u20135 star rating"}}},description:"[{quote, author, role?, avatar?, rating?}]"},columns:{type:"string",enum:["1","2","3"],description:"Grid column count (defaults from item count)"}},usageScenarios:["Three-up customer quote wall under a SectionHeader","Single highlighted testimonial beside a feature"],constraints:["avatar defaults to first-letter initials of author; no external images","rating is clamped to 0\u20135 and omitted when absent"]},LogoCloud:{name:"LogoCloud",description:"A single grayscale 'trusted by' logo strip. With no external images each logo is a mono wordmark (initials for long names); the row is dimmed/desaturated and lifts to full foreground on hover. Optional mono `label` above the row.",category:"presentation",level:"L1",tags:["logos","social-proof","marketing","brands"],props:{label:{type:"string",description:"Eyebrow above the row, e.g. 'Trusted by teams at'"},logos:{type:"array",items:{type:"object",properties:{name:{type:"string"}}},description:"Array of strings or [{name}] \u2014 rendered as mono wordmarks/initials"}},usageScenarios:["Logo strip directly under the hero for social proof","Press/partner row between sections"],constraints:["Text-only wordmarks \u2014 no external logo images are loaded","Names longer than 14 chars collapse to initials"]},StatBand:{name:"StatBand",description:"Big-number statistics band: oversized serif values with mono labels, divided by hairline rules. `tone` switches the surface \u2014 plain, muted (soft card panel) or inverse (ink-black panel with warm amber\u2192rose glow + grain).",category:"presentation",level:"L2",tags:["stats","metrics","marketing","band"],props:{stats:{type:"array",items:{type:"object",properties:{value:{type:"string",description:"Big display value, e.g. '99.9%' or '12k+'"},label:{type:"string"},sub:{type:"string",description:"Optional sub-label under the metric"}}},description:"[{value, label, sub?}]"},tone:{type:"string",enum:["plain","muted","inverse"],default:"plain",description:"Surface treatment: plain (transparent) \xB7 muted (card panel) \xB7 inverse (ink-black glow panel)"}},usageScenarios:["Four-up headline metrics band (uptime / users / latency / saved)","Inverse-tone impact band between marketing sections"],constraints:["Column count derives from stats.length, clamped to 1\u20134","Values are display strings; pre-format numbers/units yourself"]},Newsletter:{name:"Newsletter",description:"Email-capture band: serif title + supporting line, then a token-styled email input beside a CTA anchor. Presentational \u2014 the input is decorative and the CTA navigates via {label, href}; wire real submission at the host.",category:"presentation",level:"L2",tags:["newsletter","subscribe","marketing","email"],props:{title:{type:"string",description:"Serif headline"},subtitle:{type:"string",description:"Supporting line under the title"},placeholder:{type:"string",default:"you@example.com",description:"Email input placeholder"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber submit button (defaults to 'Subscribe' / '#')"}},usageScenarios:["End-of-page 'Stay in the loop' email signup","Docs/blog newsletter band between content sections"],constraints:["Input is decorative; the form action points at cta.href \u2014 handle real submission upstream","Single email field + single CTA by design"]},Banner:{name:"Banner",description:"Slim full-width announcement bar: optional icon + message, an inline CTA link and a decorative dismiss '\xD7'. `tone` picks one of the four brand accents; `solid` fills the strip with the accent instead of a soft tint.",category:"presentation",level:"L1",tags:["banner","announcement","marketing","notice"],props:{message:{type:"string",description:"Announcement text"},icon:{type:"string",description:"lucide icon name (defaults to 'sparkles')"},tone:{type:"string",enum:["0","1","2","3"],default:"0",description:"Accent-hue index (0 amber \xB7 1 teal \xB7 2 rose \xB7 3 indigo)"},solid:{type:"boolean",default:!1,description:"Fill the strip with the accent colour"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 inline mono link on the right"},dismissible:{type:"boolean",default:!0,description:"Show the decorative \xD7 (presentational only)"}},usageScenarios:["Top-of-page launch/announcement strip above the hero","Soft-tint 'new docs available' notice between sections"],constraints:["The dismiss \xD7 is decorative \u2014 wire real dismissal at the host","tone is 0\u20133; CTA href defaults to '#'"]},FeatureSplit:{name:"FeatureSplit",description:"Alternating two-column feature section: an editorial text column (eyebrow, serif title, body, bulleted benefits, optional CTA) beside a visual column. The visual renders the `visual` slot (or children) \u2014 e.g. a BrowserFrame \u2014 falling back to a tinted blueprint placeholder. `reverse` flips the column order for an alternating page rhythm.",category:"presentation",level:"L3",tags:["feature","split","two-column","marketing"],props:{eyebrow:{type:"string",description:"Mono uppercase kicker"},title:{type:"string",description:"Serif feature title"},body:{type:"string",description:"Supporting paragraph"},bullets:{type:"array",items:{type:"object",properties:{icon:{type:"string"},text:{type:"string"}}},description:"Array of strings or [{icon?, text}] benefit rows"},cta:{type:"object",properties:{label:{type:"string"},href:{type:"string"}},description:"{label, href} \u2014 solid amber button"},reverse:{type:"boolean",default:!1,description:"Place the visual on the left"},tone:{type:"string",enum:["0","1","2","3"],default:"0",description:"Accent-hue index for the bullet chips / placeholder"}},slots:{visual:{description:"Right-pane visual (BrowserFrame, rendered preview, image); falls back to children then a placeholder"}},usageScenarios:["Alternating feature rows down a landing page (reverse every other)","Text + live BrowserFrame preview feature block"],constraints:["Provide a visual slot/children for the right pane; otherwise a tinted placeholder renders","bullets accept strings or {icon?, text}; CTA href defaults to '#'"]},ComparisonTable:{name:"ComparisonTable",description:"Feature comparison table across products/plans. The header lists columns (a `highlighted` column gets an amber-washed spine); each row pairs a feature label with one value per column \u2014 booleans render as amber check / muted cross glyphs, strings render verbatim. Horizontally scrollable on small screens.",category:"presentation",level:"L3",tags:["comparison","table","pricing","marketing"],props:{featureLabel:{type:"string",description:"Header label for the feature column (often blank)"},columns:{type:"array",items:{type:"object",properties:{name:{type:"string"},highlighted:{type:"boolean"}}},description:"Array of strings or [{name, highlighted?}] \u2014 column headers"},rows:{type:"array",items:{type:"object",properties:{feature:{type:"string"},values:{type:"array",items:{},description:"One value per column (boolean \u2192 \u2713/\u2717, string \u2192 verbatim)"}}},description:"[{feature, values[]}] \u2014 values align positionally with columns"}},usageScenarios:["Plan feature comparison (Free / Pro / Enterprise) with a highlighted column","Product-vs-competitor capability matrix"],constraints:["values align by index with columns; missing/falsey values render as a muted cross","Booleans (or 'yes'/'no'/'true'/'false') become glyphs; other strings render verbatim"]},Roadmap:{name:"Roadmap",description:"Product roadmap / milestone timeline. A vertical rail with one node per milestone; node state drives the dot \u2014 a filled amber check for 'done', an amber ring + rocket for 'active', an outline flag for 'planned'. A marketing roadmap (distinct from the operational TimelineList activity log).",category:"presentation",level:"L2",tags:["roadmap","milestones","timeline","marketing"],props:{milestones:{type:"array",items:{type:"object",properties:{date:{type:"string",description:"Quarter/date label, e.g. 'Q3 2026'"},title:{type:"string"},desc:{type:"string"},state:{type:"string",enum:["done","active","planned"]}}},description:"[{date?, title, desc?, state?}] in sequence order"}},usageScenarios:["Public product roadmap section (shipped / in progress / planned)","Launch sequence with dated milestones"],constraints:["state defaults to 'planned' when omitted or unrecognised","milestones with an empty title are dropped"]},StatHighlight:{name:"StatHighlight",description:"Single big-number spotlight: an oversized serif value with an optional trend delta (up = amber, down = rose), a mono label and supporting copy. Draws the eye to one headline metric (distinct from StatBand's multi-stat row).",category:"presentation",level:"L1",tags:["stat","metric","highlight","marketing"],props:{value:{type:"string",description:"Big display value, e.g. '99.9%' or '12k+'"},label:{type:"string",description:"Mono uppercase label under the value"},body:{type:"string",description:"Supporting paragraph"},delta:{type:"string",description:"Trend delta pill text, e.g. '+12%'"},trend:{type:"string",enum:["up","down"],default:"up",description:"Delta direction: up (amber, arrow up) or down (rose, arrow down)"}},usageScenarios:["Centered headline metric between two content sections","Single KPI spotlight with a growth delta"],constraints:["Values/deltas are display strings; pre-format numbers/units yourself","trend only affects the delta pill colour/arrow; omit delta to hide the pill"]},IconList:{name:"IconList",description:"Benefit / checklist list with icons. Each item shows a tinted icon chip, a title and optional supporting line, laid into a 1\u20133 column grid; tints cycle the four accents. Lighter-weight than FeatureGrid (no card material) \u2014 for inline benefit/checklist runs.",category:"presentation",level:"L1",tags:["benefits","checklist","list","marketing"],props:{columns:{type:"string",enum:["1","2","3"],default:"2"},icon:{type:"string",description:"Default lucide icon for items without their own (defaults to 'check')"},items:{type:"array",items:{type:"object",properties:{icon:{type:"string"},title:{type:"string"},desc:{type:"string"}}},description:"Array of strings or [{icon?, title, desc?}]"}},usageScenarios:["Two-column 'what's included' benefit list","Checklist of capabilities under a SectionHeader"],constraints:["items accept plain strings (\u2192 title only) or {icon?, title, desc?}","icon falls back to the block-level `icon` (default 'check'); unknown names \u2192 dot"]},Footer:{name:"Footer",description:"Multi-column marketing footer: a brand block (serif wordmark + tagline) beside grouped link columns, with a bottom rule carrying a copyright line and small print. Pure layout off theme tokens.",category:"presentation",level:"L2",tags:["footer","navigation","marketing","layout"],props:{brand:{type:"string",description:"Brand wordmark (serif display under .marketing)"},tagline:{type:"string",description:"Short brand tagline under the wordmark"},groups:{type:"array",items:{type:"object",properties:{title:{type:"string"},links:{type:"array",items:{type:"object",properties:{label:{type:"string"},href:{type:"string"}}}}}},description:"[{title, links:[{label, href}]}] link columns"},copyright:{type:"string",description:"Bottom-left copyright line"},note:{type:"string",description:"Bottom-right mono small print"}},usageScenarios:["Site-wide marketing footer with Product / Company / Legal columns","Compact footer with brand + a single link group"],constraints:["link href defaults to '#' when omitted; empty groups/links are dropped","The bottom rule only renders when copyright or note is provided"]},AccordionList:{name:"AccordionList",description:"General-purpose content accordion on native <details>/<summary> \u2014 fully functional with zero JS. Each row is a standalone hairline card with an optional leading icon chip, a title and a body. `defaultOpenFirst` opens the first row. (Faq is the divided-single-card Q&A variant.)",category:"presentation",level:"L2",tags:["accordion","details","content","marketing"],props:{title:{type:"string",description:"Optional serif heading above the list"},defaultOpenFirst:{type:"boolean",default:!1,description:"Open the first row by default"},items:{type:"array",items:{type:"object",properties:{icon:{type:"string",description:"Optional lucide icon for the row chip"},title:{type:"string"},body:{type:"string"}}},description:"[{icon?, title, body}] \u2014 rows with an empty title are dropped"}},usageScenarios:["Expandable feature explainers (icon + title + body) on a landing page","Docs 'details' sections with one card per topic"],constraints:["Uses native <details> so multiple rows can be open at once (no single-open behaviour)","Bodies render as plain text; pass pre-formatted strings"]},MetricCard:{name:"MetricCard",description:"KPI metric card with an inline pure-SVG sparkline: a mono label, a big value, a trend delta pill (up = amber, down = rose) and a sparkline drawn from a `points` series \u2014 no chart dependency. A `.mkt-card` with hover lift; `tone` selects the accent. Designed to sit in a Grid/StatGrid for a metrics row.",category:"presentation",level:"L2",tags:["metric","kpi","sparkline","card","dashboard"],props:{label:{type:"string",description:"Mono uppercase metric label"},value:{type:"string",description:"Big display value"},delta:{type:"string",description:"Trend delta pill, e.g. '+8.2%'"},trend:{type:"string",enum:["up","down"],default:"up",description:"Delta direction: up (amber) or down (rose)"},tone:{type:"string",enum:["0","1","2","3"],default:"0",description:"Accent-hue index for the sparkline stroke/fill"},points:{type:"array",items:{type:"number"},description:"Numeric series for the inline sparkline (auto-scaled)"}},usageScenarios:["Four-up KPI metrics row inside a Grid (revenue / users / latency / churn)","Single highlighted metric with a trend sparkline"],constraints:["points are auto-scaled to the card's min/max; keep series small (~<60 points)","value/delta are display strings; the sparkline is hidden when points is empty"]},GalleryGrid:{name:"GalleryGrid",description:"Caption gallery grid. Lays image tiles (or, with no `src`, a tinted blueprint placeholder) onto a 2\u20134 column responsive grid; a tile may opt into `wide` to span two columns for a mixed-rhythm mosaic. Captions sit on a gradient scrim over each tile. Hairline framing, hover lift \u2014 no external images required.",category:"presentation",level:"L2",tags:["gallery","images","grid","marketing"],props:{columns:{type:"string",enum:["2","3","4"],default:"3"},items:{type:"array",items:{type:"object",properties:{src:{type:"string",description:"Image URL; omit for a tinted placeholder"},caption:{type:"string",description:"Caption shown over a gradient scrim"},tone:{type:"integer",description:"Accent-hue index 0\u20133 for the placeholder"},wide:{type:"boolean",description:"Span two columns"}}},description:"[{src?, caption?, tone?, wide?}] gallery tiles"}},usageScenarios:["Screenshot gallery with a wide hero tile and smaller supporting tiles","Placeholder-driven layout mock before real imagery exists"],constraints:["src is treated as an image when it looks like a URL (http(s):/data:/leading slash); otherwise a placeholder renders","wide spans two columns from the sm breakpoint up"]}};var De={Grid:at,StatGrid:lt,TrendChart:Pe,LineChart:st,KanbanBoard:ot,DiagnosticsList:ct,Matrix:qe,Heatmap:dt,TimelineList:mt,SearchableTable:pt,SplitMasterDetail:ut,DetailField:gt,BadgeGroup:ft,KeyValueGrid:ht,Hero:xt,BrowserFrame:vt,SectionHeader:kt,FeatureGrid:wt,FeatureCard:Nt,CodeShowcase:Rt,CtaBand:Et,Faq:Ct,TeamGrid:Lt,Steps:It,BentoGrid:At,BentoCell:Tt,Callout:$t,PricingTable:Ot,Testimonials:Mt,LogoCloud:Bt,StatBand:Pt,Newsletter:qt,Banner:jt,FeatureSplit:Ft,ComparisonTable:Gt,Roadmap:_t,StatHighlight:Dt,IconList:zt,Footer:Ut,AccordionList:Vt,MetricCard:Ht,GalleryGrid:Xt},cd=Object.keys(De);function jl(){return zn({manifest:Dn({pluginId:"uibot.blocks-studio",version:"0.1.0",displayName:"UIBot Blocks (studio)",description:"Studio-specific blocks: Grid layout, StatGrid, TrendChart, KanbanBoard, Matrix, DiagnosticsList, TimelineList, dogfood interactive shells, plus Schematic Editorial presentation blocks (Hero, SectionHeader, FeatureGrid/Card, CodeShowcase, CtaBand) conversion marketing blocks (PricingTable, Testimonials, LogoCloud, StatBand, Newsletter) and section/layout blocks (Banner, FeatureSplit, ComparisonTable, Roadmap, StatHighlight, IconList, Footer, AccordionList, MetricCard, GalleryGrid).",sdkRange:"^0.1.0",engineRange:"^0.1.0",capabilities:[...Object.keys(De).map((e)=>({id:`uibot.blocks-studio.catalog.${e.toLowerCase()}`,type:"catalog:component",description:ye[e]?.description??e})),{id:"uibot.blocks-studio.renderer",type:"renderer:target",description:"Provides React render targets for all studio blocks"}],permissions:[]}),register(e){for(let[t,r]of Object.entries(ye))e.addCapability(it({id:`uibot.blocks-studio.catalog.${t.toLowerCase()}`,type:"catalog:component",description:r.description,contribution:{name:t,entry:r}}));e.addCapability(it({id:"uibot.blocks-studio.renderer",type:"renderer:target",description:"Provides React render targets for all studio blocks",contribution:Bl({entries:Object.fromEntries(Object.entries(De).map(([t,r])=>{let n=ye[t]?.category;return[t,n?{component:r,category:n}:{component:r}]}))})}))}})}var dd=jl();function md(e){let t=new Pl(Object.fromEntries(Object.entries(De).map(([r,n])=>[r,{component:n}])));return e?e.merge(t):t}function pd(e,t){let r=Object.fromEntries(Object.entries(t).map(([n,i])=>{let a=i.category??i.entry?.category;return[n,a?{component:i.component,category:a}:{component:i.component}]}));return ql([e,r])}export{Vt as AccordionList,De as BLOCK_ENTRIES,cd as BLOCK_NAMES,ft as BadgeGroup,jt as Banner,Tt as BentoCell,At as BentoGrid,vt as BrowserFrame,$t as Callout,Rt as CodeShowcase,Gt as ComparisonTable,Et as CtaBand,gt as DetailField,ct as DiagnosticsList,Ct as Faq,Nt as FeatureCard,wt as FeatureGrid,Ft as FeatureSplit,Ut as Footer,Xt as GalleryGrid,at as Grid,dt as Heatmap,xt as Hero,zt as IconList,ot as KanbanBoard,ht as KeyValueGrid,st as LineChart,Bt as LogoCloud,qe as Matrix,Ht as MetricCard,qt as Newsletter,Ot as PricingTable,_t as Roadmap,ye as STUDIO_CATALOG_ENTRIES,pt as SearchableTable,kt as SectionHeader,ut as SplitMasterDetail,Pt as StatBand,lt as StatGrid,Dt as StatHighlight,It as Steps,Lt as TeamGrid,Mt as Testimonials,mt as TimelineList,Pe as TrendChart,dd as UIBotBlocksStudioPlugin,md as createStudioReactRegistry,jl as createUIBotBlocksStudioPlugin,pd as registerCustomBlocks};
@@ -0,0 +1,13 @@
1
+ import type { SolutionLabel } from "@uibot/contracts";
2
+ /** Exact source versions; composition never silently upgrades a member. */
3
+ export declare const INDUSTRY_SOLUTION_RECIPES: Array<{
4
+ id: string;
5
+ title: SolutionLabel;
6
+ industry: string;
7
+ functions: string[];
8
+ scenarios: string[];
9
+ members: Array<{
10
+ resourceId: string;
11
+ version: string;
12
+ }>;
13
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uibot/blocks-studio",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,9 +41,9 @@
41
41
  "react-dom": ">=18"
42
42
  },
43
43
  "dependencies": {
44
- "@uibot/contracts": "^0.18.0",
45
- "@uibot/plugin-sdk": "^0.18.0",
46
- "@uibot/renderer-react": "^0.18.0"
44
+ "@uibot/contracts": "^0.19.0",
45
+ "@uibot/plugin-sdk": "^0.19.0",
46
+ "@uibot/renderer-react": "^0.19.0"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "rm -rf dist && bun build --minify ./src/index.ts ./src/registry-source.ts ./src/catalog.ts --outdir ./dist --format esm --target bun --external react --external react/* --external react-dom --external react-dom/* --external @uibot/renderer-react && bun x tsc -p tsconfig.json",