ryugi-artifacts 1.103.0 → 1.103.1

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.
@@ -1 +1 @@
1
- import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-DlmbjZJV.js";import{t as n}from"./jsx-runtime-LKYXHABd.js";import{t as r}from"./icons-C1X6qzJA.js";import{n as i,r as a}from"./tokens.stylex-BC4Dqomt.js";var o=n(),s=24;function c({agent:e,dim:t,stacked:n}){let c=a(e),l=c.icon?r[c.icon]:null;return(0,o.jsx)(`span`,{...{0:{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f`},2:{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f xwq05k6`},1:{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f x2459kn`},3:{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f xwq05k6 x2459kn`}}[!!t<<1|!!n],children:l?(0,o.jsx)(l.Avatar,{shape:`circle`,size:s}):(0,o.jsx)(`span`,{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f`,style:{backgroundColor:c.color,color:c.darkInk?i.ink:i.white},children:e.slice(0,1).toUpperCase()})})}var l=e(t(),1);function u(e,t){(0,l.useEffect)(()=>{if(!e)return;let n=()=>{document.title.startsWith(t)||(document.title=t+document.title)};n();let r=new MutationObserver(n);return r.observe(document.head,{subtree:!0,childList:!0,characterData:!0}),()=>{r.disconnect(),document.title.startsWith(t)&&(document.title=document.title.slice(t.length))}},[e,t])}export{c as n,u as t};
1
+ import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-DlmbjZJV.js";import{t as n}from"./jsx-runtime-LKYXHABd.js";import{t as r}from"./icons-C1X6qzJA.js";import{n as i,r as a}from"./tokens.stylex-BC4Dqomt.js";var o=n(),s=24;function c({agent:e,dim:t,stacked:n}){let c=a(e),l=c.icon?r[c.icon]:null;return(0,o.jsx)(`span`,{...{0:{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f`},2:{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f xwq05k6`},1:{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f x2459kn`},3:{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f xwq05k6 x2459kn`}}[!!t<<1|!!n],children:l?(0,o.jsx)(l.Avatar,{shape:`circle`,size:s}):(0,o.jsx)(`span`,{className:`xvy4d1p xxk0z11 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xryz0cv x1j6dyjg x1s688f`,style:{backgroundColor:c.color,color:c.darkInk?i.ink:i.white},children:e.slice(0,1).toUpperCase()})})}var l=e(t(),1);function u(e){try{return e.parent!==e&&e.parent.document?e.parent:null}catch{return null}}function d(){let e=window;for(let t=u(e);t;t=u(e))e=t;return e.document}function f(e,t){(0,l.useEffect)(()=>{if(!e)return;let n=d(),r=()=>{n.title.startsWith(t)||(n.title=t+n.title)};r();let i=new MutationObserver(r);return i.observe(n.head,{subtree:!0,childList:!0,characterData:!0}),()=>{i.disconnect(),n.title.startsWith(t)&&(n.title=n.title.slice(t.length))}},[e,t])}export{c as n,f as t};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ryugi-artifacts",
3
- "version": "1.103.0",
3
+ "version": "1.103.1",
4
4
  "description": "Server and viewer for the Ryugi artifacts app",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",