openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
1 lines • 7.65 kB
JavaScript
import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{c as t,d as n,dr as r,mi as i,pi as a}from"./_4____________________________.js";import{$w as o,FN as s,GN as c,Gl as l,JN as u,Js as d,OP as f,Op as ee,PN as te,Qw as ne,Qy as re,Ul as ie,Wl as ae,Ys as oe,dN as se,eT as ce,eb as le,fN as p,iT as ue,ib as de,kp as fe,pN as pe,rb as me,sT as he}from"./_2_____________________________.js";import{_r as ge,ur as _e}from"./deferred-ui-support-DZEPWjAk.js";import{B as ve,C as ye,F as m,O as h,Rt as g,U as _,a as be,b as xe,d as v,f as y,g as b,j as x,l as S,p as Se,s as Ce,u as C,x as w}from"./_6____________________.js";import{d as we,g as Te,h as Ee,i as De,r as Oe,t as T,u as E}from"./lobster-pet-identity-DgA0FbCN.js";import{f as ke,l as D,p as Ae,w as O}from"./settings-controls-runtime-CwXZmgDo.js";import{a as k,o as je}from"./route-chrome-Dr9fhzjf.js";import"./route-chrome-styles-NRybfaJ0.js";var A,j,M;function N(){return(N=e((()=>{i(),A=a.aboutPage,j={aboutPage:{productName:`OpenClaw`,tagline:`Your personal AI agent, running on your own devices.`,waveHello:`Wave hello to Clawd`,linksLabel:`Community and resources`,linkWebsite:`Website`,linkDocs:`Docs`,linkSupport:`Support`,linkGitHub:`GitHub`,linkDiscord:`Discord`,linkX:`X (Twitter)`,linkChangelog:`Changelog`,license:`© 2026 OpenClaw Foundation — MIT License.`,artifactTitle:`Web app`,artifactDetails:A.artifactDetails,version:`Version`,commit:A.commit,branch:`Branch`,built:A.built,unavailable:A.unavailable,copyBuild:`Copy version and commit`,copyVersion:`Copy version`,copyAvailableCommit:`Copy commit`,copyCommit:A.copyCommit,copiedCommit:A.copiedCommit,gateway:A.gateway}},M=Object.assign(()=>{Object.assign(a.aboutPage,j.aboutPage)},{catalog:j})})))()}function Me(e){return e.version&&e.commit?`${e.version} (${e.commit})`:e.version||e.commit}function P(e){let t=m(()=>_e(Date.parse(e.build.builtAt??``),Y,``));var n=F(),r=n.firstChild.firstChild,i=r.nextSibling,a=i.firstChild,o=a.firstChild,s=o.nextSibling,c=a.nextSibling,l=c.nextSibling,f=l.nextSibling;return v(r,()=>e.title),v(o,()=>u(`aboutPage.version`)),v(s,x(h,{get when(){return e.build.version},get fallback(){return u(`aboutPage.unavailable`)},children:e=>(()=>{var t=I();return v(t,e),S(()=>e(),e=>{b(t,`title`,e)}),t})()})),v(i,x(h,{get when(){return e.build.commit},children:e=>(()=>{var t=L(),n=t.firstChild,r=n.nextSibling.firstChild;return v(n,()=>u(`aboutPage.commit`)),v(r,()=>e().slice(0,q)),S(()=>e(),e=>{b(r,`title`,e)}),t})()}),c),v(i,x(h,{get when(){return e.build.branch},children:t=>(()=>{var n=R(),r=n.firstChild,i=r.nextSibling.firstChild,a=i.firstChild,o=a.nextSibling;return v(r,()=>u(`aboutPage.branch`)),v(i,t,a),v(i,()=>e.build.dirty===!0?`*`:``,o),S(()=>t(),e=>{b(i,`title`,e)}),n})()}),l),v(i,x(h,{get when(){return y(()=>!!t())()?e.build.builtAt:t()},children:e=>(()=>{var n=z(),r=n.firstChild,i=r.nextSibling.firstChild;return v(r,()=>u(`aboutPage.built`)),v(i,t),S(()=>({e:e(),t:e()}),({e,t},n)=>{e!==n?.e&&b(i,`datetime`,e),t!==n?.t&&b(i,`title`,t)}),n})()}),f),v(n,x(h,{get when(){return Me(e.build)},children:t=>(()=>{var n=B();return v(n,x(d,{get text(){return t()},get idleLabel(){return u(e.build.version&&e.build.commit?`aboutPage.copyBuild`:e.build.version?`aboutPage.copyVersion`:`aboutPage.copyAvailableCommit`)}})),n})()}),null),S(()=>e.label,e=>{b(i,`aria-label`,e)}),n}function Ne(e){let t=de,n=E.find(e=>e.id===`crimson`)??r(E[0],`about lobster palette`),i=T(n);return x(ke,{get children(){return[(()=>{var n=V(),r=n.firstChild,a=r.firstChild,o=a.nextSibling;return v(n,(()=>{var n=y(()=>t.read().brandIcon!==`claw`);return()=>n()?(()=>{var e=W();return v(e,x(re,{get branding(){return t.read()},"aria-hidden":`true`})),e})():(()=>{var t=G();return t._$$click=()=>e.onPokeClawd(),v(t,x(Ee,{look:i})),S(()=>({e:!!e.clawdWaving,t:Se(De(i)),a:u(`aboutPage.waveHello`)}),({e,t:n,a:r},i)=>{e!==i?.e&&t.classList.toggle(`about-identity__clawd--wave`,e),xe(t,n,i?.t),r!==i?.a&&b(t,`aria-label`,r)}),t})()})(),r),v(a,()=>t.read().brandName),v(o,()=>u(`aboutPage.tagline`)),n})(),x(D,{get children(){return[x(P,{get title(){return u(`aboutPage.artifactTitle`)},get label(){return u(`aboutPage.artifactDetails`)},get build(){return e.buildInfo}}),x(P,{get title(){return u(`aboutPage.gateway`)},get label(){return u(`aboutPage.gateway`)},get build(){return e.gateway}})]}}),x(h,{get when(){return t.read().communityLinks},get children(){var e=H();return v(e,x(D,{get children(){return x(ye,{each:J,children:e=>(()=>{var t=K(),n=t.firstChild,r=n.nextSibling,i=r.firstChild,a=r.nextSibling,s=g();return b(t,`target`,ne),v(n,(()=>{var t=y(()=>e.kind===`brand`);return()=>t()?x(se,{get name(){return e.name}}):x(p,{get name(){return e.name}})})()),v(i,()=>u(e.labelKey)),v(a,x(p,{name:`arrowUpRight`})),S(()=>({e:e.href,t:o()}),({e,t:n},r)=>{e!==r?.e&&b(t,`href`,e),n!==r?.t&&b(t,`rel`,n),be(t,s)}),t})()})}})),S(()=>u(`aboutPage.linksLabel`),t=>{b(e,`aria-label`,t)}),e}}),(()=>{var e=U();return v(e,()=>u(`aboutPage.license`)),e})()]}})}var F,I,L,R,z,B,V,H,U,W,G,K,q,J,Y;function X(){return(X=e((()=>{C(),f(),_(),Te(),Oe(),we(),oe(),pe(),O(),le(),N(),ce(),l(),ge(),c(),me(),F=w(`<div class="settings-row about-build"><div class=settings-row__text><span class=settings-row__title></span><dl class=about-build__facts><div class="about-build__fact about-build__fact--version"><dt class=sr-only></dt><dd></dd></div><!><!><!>`),I=w(`<code dir=ltr>`),L=w(`<div class=about-build__fact><dt class=sr-only></dt><dd><code dir=ltr>`),R=w(`<div class=about-build__fact><dt class=sr-only></dt><dd><code dir=ltr><!><!>`),z=w(`<div class=about-build__fact><dt class=sr-only></dt><dd><time dir=auto>`),B=w(`<div class=settings-row__control>`),V=w(`<section class=about-identity><div class=about-identity__text><h2 class=about-identity__name></h2><p class=about-identity__tagline>`),H=w(`<nav>`),U=w(`<p class=about-footer>`),W=w(`<span class=about-identity__mark aria-hidden=true>`),G=w(`<button type=button class=about-identity__clawd>`),K=w(`<a class="settings-row settings-row--nav about-link"><span class=about-link__icon aria-hidden=true></span><span class=settings-row__text><span class=settings-row__title></span></span><span class=settings-row__chevron>`),M(),q=7,J=[{href:ae,kind:`icon`,name:`messageSquare`,labelKey:`aboutPage.linkSupport`},{href:`https://docs.openclaw.ai`,kind:`icon`,name:`book`,labelKey:`aboutPage.linkDocs`},{href:`https://docs.openclaw.ai/releases`,kind:`icon`,name:`scrollText`,labelKey:`aboutPage.linkChangelog`},{href:`https://openclaw.ai`,kind:`icon`,name:`globe`,labelKey:`aboutPage.linkWebsite`},{href:`https://github.com/openclaw/openclaw`,kind:`brand`,name:`github`,labelKey:`aboutPage.linkGitHub`},{href:ie,kind:`brand`,name:`discord`,labelKey:`aboutPage.linkDiscord`},{href:`https://x.com/openclaw`,kind:`brand`,name:`x`,labelKey:`aboutPage.linkX`}],Y={year:`numeric`,month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`,timeZone:`UTC`,timeZoneName:`short`},Ce([`click`])})))()}function Pe(){let e=s(),n=m(()=>he(e.gateway)),[r,i]=ve(!1),a=ee(()=>i(!1),Q);function o(){r()||(i(!0),a.schedule())}let c=m(()=>{let e=n().read().snapshot.hello?.server;return{version:e?.version?.trim()||null,commit:e?.commit??null,builtAt:e?.builtAt??null}});var l=Z(),d=l.firstChild,f=d.nextSibling;return l._$owner=g(),v(l,x(Ae,{get title(){return u(`tabs.about`)}}),d),v(l,x(k,{get children(){return x(Ne,{buildInfo:t,get gateway(){return c()},get clawdWaving(){return r()},onPokeClawd:o})}}),f),l}var Z,Q;function $(){return($=e((()=>{C(),_(),n(),O(),je(),ue(),te(),c(),fe(),X(),Z=w(`<openclaw-about-page><!><!>`,1),Q=1400})))()}$();export{Pe as AboutPage};