UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 9.18 kB
import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{Hc as t,Oa as n,Tc as r,V as i,W as a,ka as o}from"./control-ui-connection-Bfj9beF_.js";import{A_ as s,BA as c,Cy as l,Ev as u,Ff as d,If as f,N_ as ee,Oy as p,QC as m,RA as h,Tv as te,Ty as g,XC as ne,ZC as re,aj as ie,al as ae,dj as _,ej as oe,il as se,jA as ce,ky as le,mj as v,ol as ue,rj as de,tj as fe,zA as y}from"./control-ui-boot-shared-DFTSUQQ0.js";import{B as b,C as pe,F as x,O as S,Rt as C,U as w,a as me,b as he,d as T,f as E,g as D,gt as ge,j as O,l as k,p as _e,s as ve,u as A,x as j}from"./solid-runtime-C416s-HC.js";import{d as ye,g as be,h as xe,i as Se,r as Ce,t as we,u as M}from"./lobster-pet-identity-Cg5EqPlD.js";import{d as Te,l as Ee,p as N,y as De}from"./settings-ui-Ck6BJLhD.js";import{i as Oe,n as ke,r as Ae,t as je}from"./format-CCjyseBm.js";import"./settings-DAApurug.js";import{a as Me,o as Ne}from"./route-chrome-7YRVJwhf.js";var P,F,I;function L(){return(L=e((()=>{o(),P=n.aboutPage,F={aboutPage:{productName:`OpenClaw`,tagline:`Your personal AI assistant, 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:`Control UI`,artifactSubtitle:`Identity embedded when this browser artifact was built.`,artifactDetails:P.artifactDetails,version:`Version`,commit:P.commit,branch:`Branch`,built:P.built,unavailable:P.unavailable,copyCommit:P.copyCommit,copyingCommit:`Copying commit hash`,copiedCommit:P.copiedCommit,copyCommitFailed:`Could not copy commit hash`,gateway:P.gateway,gatewayVersion:`Connected Gateway version`,gatewayVersionHint:`Reported by the active Gateway connection; separate from this Control UI build.`}},I=Object.assign(()=>{Object.assign(n.aboutPage,F.aboutPage)},{catalog:F})})))()}function R(){var e=Le();return T(e,()=>v(`aboutPage.unavailable`)),e}function Pe(e){let t=x(()=>Date.parse(e.commitAt??``));return O(S,{get when(){return E(()=>!!Number.isFinite(t()))()?e.commitAt:Number.isFinite(t())},children:e=>(()=>{var n=z();return T(n,()=>Ae(t(),{fallback:``})),k(()=>({e:e(),t:ke(t(),{dateStyle:`medium`,timeStyle:`short`})}),({e,t},r)=>{e!==r?.e&&D(n,`datetime`,e),t!==r?.t&&D(n,`title`,t)}),n})()})}function Fe(e){let t=()=>v({idle:`aboutPage.copyCommit`,copying:`aboutPage.copyingCommit`,copied:`aboutPage.copiedCommit`,error:`aboutPage.copyCommitFailed`}[e.copyState]);return O(S,{get when(){return e.buildInfo.commit},get fallback(){return O(R,{})},children:n=>(()=>{var r=B(),i=r.firstChild,a=i.nextSibling,o=a.firstChild,s=o.firstChild,c=a.nextSibling;return T(i,()=>n().slice(0,Re)),T(r,O(Pe,{get commitAt(){return e.buildInfo.commitAt}}),a),a._$owner=C(),o._$$click=()=>e.onCopyCommit(),T(s,O(y,{get name(){return e.copyState===`copied`?`check`:`copy`}})),T(c,(()=>{var n=E(()=>e.copyState===`copied`||e.copyState===`error`);return()=>n()?t():``})()),k(()=>({e:n(),t:t(),a:t(),o:e.copyState===`copying`?`true`:void 0,i:e.copyState===`copying`}),({e,t,a:n,o:r,i:s},c)=>{e!==c?.e&&D(i,`title`,e),t!==c?.t&&(a.content=t),n!==c?.a&&D(o,`aria-label`,n),r!==c?.o&&D(o,`aria-busy`,r),s!==c?.i&&D(o,`disabled`,s)}),r})()})}function Ie(e){let n=le,r=M.find(e=>e.id===`crimson`)??t(M[0],`about lobster palette`),i=we(r),a=x(()=>je(Date.parse(e.buildInfo.builtAt??``),{dateStyle:`medium`,timeZone:`UTC`},``));return O(Ee,{get children(){return[(()=>{var t=V(),r=t.firstChild,a=r.nextSibling,o=a.nextSibling;return T(t,(()=>{var t=E(()=>n.read().brandIcon!==`claw`);return()=>t()?(()=>{var e=W();return T(e,O(l,{get branding(){return n.read()},"aria-hidden":`true`})),e})():(()=>{var t=G();return t._$$click=()=>e.onPokeClawd(),T(t,O(xe,{look:i})),k(()=>({e:!!e.clawdWaving,t:_e(Se(i)),a:v(`aboutPage.waveHello`)}),({e,t:n,a:r},i)=>{e!==i?.e&&t.classList.toggle(`about-hero__clawd--wave`,e),he(t,n,i?.t),r!==i?.a&&D(t,`aria-label`,r)}),t})()})(),r),T(r,()=>n.read().brandName),T(a,()=>v(`aboutPage.tagline`)),T(t,(()=>{var t=E(()=>!!e.buildInfo.version);return()=>t()?(()=>{var t=K();return t.firstChild,T(t,()=>e.buildInfo.version,null),t})():e.buildInfo.version})(),o),T(o,O(pe,{get each(){return n.read().communityLinks?ze:[]},children:e=>(()=>{var t=q(),n=t.firstChild,r=n.nextSibling,i=C();return D(t,`target`,ne),T(n,(()=>{var t=E(()=>e.kind===`brand`);return()=>t()?O(h,{get name(){return e.name}}):O(y,{get name(){return e.name}})})()),T(r,()=>v(e.labelKey)),k(()=>({e:e.href,t:re()}),({e,t:n},r)=>{e!==r?.e&&D(t,`href`,e),n!==r?.t&&D(t,`rel`,n),me(t,i)}),t})()})),k(()=>v(`aboutPage.linksLabel`),e=>{D(o,`aria-label`,e)}),t})(),O(N,{get title(){return v(`aboutPage.artifactTitle`)},get description(){return v(`aboutPage.artifactSubtitle`)},get children(){var t=H(),n=t.firstChild,r=n.nextSibling,i=r.nextSibling,o=i.nextSibling,s=o.nextSibling,c=s.nextSibling;return T(n,()=>v(`aboutPage.version`)),T(r,(()=>{var t=E(()=>!!e.buildInfo.version);return()=>t()?(()=>{var t=J();return T(t,()=>e.buildInfo.version),k(()=>e.buildInfo.version,e=>{D(t,`title`,e)}),t})():O(R,{})})()),T(i,()=>v(`aboutPage.commit`)),T(o,O(Fe,e)),T(t,(()=>{var t=E(()=>!!e.buildInfo.branch);return()=>t()?[(()=>{var e=Y();return T(e,()=>v(`aboutPage.branch`)),e})(),(()=>{var t=X(),n=t.firstChild,r=n.firstChild,i=r.nextSibling;return T(n,()=>e.buildInfo.branch,r),T(n,()=>e.buildInfo.dirty===!0?`*`:``,i),k(()=>e.buildInfo.branch,e=>{D(n,`title`,e)}),t})()]:e.buildInfo.branch})(),s),T(s,()=>v(`aboutPage.built`)),T(c,(()=>{var t=E(()=>!!(a()&&e.buildInfo.builtAt));return()=>t()?(()=>{var t=Z();return T(t,a),k(()=>({e:e.buildInfo.builtAt,t:e.buildInfo.builtAt}),({e,t:n},r)=>{e!==r?.e&&D(t,`datetime`,e),n!==r?.t&&D(t,`title`,n)}),t})():O(R,{})})()),k(()=>v(`aboutPage.artifactDetails`),e=>{D(t,`aria-label`,e)}),t}}),O(N,{get children(){return O(Te,{get title(){return v(`aboutPage.gatewayVersion`)},get description(){return v(`aboutPage.gatewayVersionHint`)},get control(){var t=Q();return T(t,(()=>{var t=E(()=>!!e.gatewayVersion);return()=>t()?(()=>{var t=J();return T(t,()=>e.gatewayVersion),k(()=>e.gatewayVersion,e=>{D(t,`title`,e)}),t})():v(`aboutPage.unavailable`)})()),k(()=>!!e.gatewayVersion,e=>{t.classList.toggle(`settings-row__value--mono`,e)}),t}})}}),(()=>{var e=U();return T(e,()=>v(`aboutPage.license`)),e})()]}})}var Le,z,B,V,H,U,W,G,K,q,J,Y,X,Z,Q,Re,ze;function Be(){return(Be=e((()=>{A(),r(),w(),be(),Ce(),ye(),c(),De(),ce(),g(),L(),m(),ue(),Oe(),_(),p(),Le=j(`<span class=muted>`),z=j(`<time class=about-commit__age dir=auto>`),B=j(`<span class=about-commit><code dir=ltr></code><openclaw-tooltip><button type=button class=about-commit__copy><span aria-hidden=true></span></button></openclaw-tooltip><span class=sr-only role=status aria-live=polite>`,1),V=j(`<section class=about-hero><h2 class=about-hero__name></h2><p class=about-hero__tagline></p><nav class=about-hero__links>`),H=j(`<dl class="settings-kv about-build-grid"><dt></dt><dd></dd><dt></dt><dd></dd><dt></dt><dd>`),U=j(`<p class=about-footer>`),W=j(`<span class=about-hero__mark--neutral aria-hidden=true>`),G=j(`<button type=button class=about-hero__clawd>`),K=j(`<code class=about-hero__version dir=ltr>v`),q=j(`<a class=about-hero__link><span class=about-hero__link-icon aria-hidden=true></span><span>`),J=j(`<code dir=ltr>`),Y=j(`<dt>`),X=j(`<dd><code dir=ltr><!><!>`),Z=j(`<time dir=auto>`),Q=j(`<span class=settings-row__value>`),I(),Re=12,ze=[{href:ae,kind:`icon`,name:`messageSquare`,labelKey:`aboutPage.linkSupport`},{href:`https://openclaw.ai`,kind:`icon`,name:`globe`,labelKey:`aboutPage.linkWebsite`},{href:`https://docs.openclaw.ai`,kind:`icon`,name:`book`,labelKey:`aboutPage.linkDocs`},{href:`https://github.com/openclaw/openclaw`,kind:`brand`,name:`github`,labelKey:`aboutPage.linkGitHub`},{href:se,kind:`brand`,name:`discord`,labelKey:`aboutPage.linkDiscord`},{href:`https://x.com/openclaw`,kind:`brand`,name:`x`,labelKey:`aboutPage.linkX`},{href:`https://docs.openclaw.ai/releases`,kind:`icon`,name:`scrollText`,labelKey:`aboutPage.linkChangelog`}],ve([`click`])})))()}function Ve(){let e=fe(),t=x(()=>ee(e.gateway)),[n,r]=b(`idle`),[a,o]=b(!1),s=!1,c=d(()=>r(`idle`),We),l=d(()=>o(!1),Ge);ge(()=>()=>{s=!0});function u(){a()||(o(!0),l.schedule())}async function f(){let e=i.commit;if(!e||n()===`copying`)return;c.cancel(),r(`copying`);let t=await te(e,()=>!s);s||(r(t?`copied`:`error`),c.schedule())}function p(){return t().read().snapshot.hello?.server?.version?.trim()||null}var m=Ue(),h=m.firstChild,g=h.nextSibling;return m._$owner=C(),T(m,O(de,{traits:{toolbarHeader:!0},get children(){var e=He(),t=e.firstChild.firstChild;return T(t,()=>v(`tabs.about`)),e}}),h),T(m,O(Me,{get children(){return O(Ie,{buildInfo:i,get gatewayVersion(){return p()},get copyState(){return n()},onCopyCommit:()=>void f(),get clawdWaving(){return a()},onPokeClawd:u})}}),g),m}var He,Ue,We,Ge;function $(){return($=e((()=>{A(),w(),ie(),a(),Ne(),u(),s(),oe(),_(),f(),Be(),He=j(`<section class=content-header><div><h1 class=page-title>`),Ue=j(`<openclaw-about-page><!><!>`,1),We=1800,Ge=1400})))()}$();export{Ve as AboutPage};