@akiraka/quark-big-screen-ui 0.1.13 → 0.1.14
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/components/QuarkRobot.vue.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +468 -468
- package/dist/index.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(k,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(k=typeof globalThis<"u"?globalThis:k||self,e(k.QuarkBigScreenUi={},k.Vue))})(this,(function(k,e){"use strict";const j={key:0,class:"qbs-panel__corner qbs-panel__corner--tl"},U={key:1,class:"qbs-panel__corner qbs-panel__corner--tr"},Q={key:2,class:"qbs-panel__corner qbs-panel__corner--bl"},Y={key:3,class:"qbs-panel__corner qbs-panel__corner--br"},W={key:0,class:"qbs-panel__bar"},J={key:1,class:"qbs-panel__title"},K={key:2,class:"qbs-panel__header-prefix"},X={key:3,class:"qbs-panel__header-center"},v={key:4,class:"qbs-panel__header-extra"},ee={key:0,class:"qbs-panel__live"},te={class:"qbs-panel__body"},le=e.defineComponent({__name:"BigScreenPanel",props:{title:{default:""},accent:{default:"oklch(.82 .13 200)"},liveLabel:{default:""},showBar:{type:Boolean,default:!0},corners:{default:"tl-br"},padding:{default:"md"},bodyLayout:{default:"default"},titleSize:{default:"md"},overflowHidden:{type:Boolean,default:!0}},setup(c){const i=c;function d(m){return i.corners==="all"?!0:i.corners==="none"?!1:m==="tl"||m==="br"}return(m,h)=>(e.openBlock(),e.createElementBlock("section",{class:e.normalizeClass(["qbs-panel",[`qbs-panel--padding-${c.padding}`,`qbs-panel--layout-${c.bodyLayout}`,{"qbs-panel--overflow-hidden":c.overflowHidden}]]),style:e.normalizeStyle({"--qbs-accent":c.accent})},[d("tl")?(e.openBlock(),e.createElementBlock("span",j)):e.createCommentVNode("",!0),d("tr")?(e.openBlock(),e.createElementBlock("span",U)):e.createCommentVNode("",!0),d("bl")?(e.openBlock(),e.createElementBlock("span",Q)):e.createCommentVNode("",!0),d("br")?(e.openBlock(),e.createElementBlock("span",Y)):e.createCommentVNode("",!0),c.title||c.liveLabel||m.$slots["header-center"]||m.$slots["header-extra"]?(e.openBlock(),e.createElementBlock("header",{key:4,class:e.normalizeClass(["qbs-panel__header",`qbs-panel__header--${c.titleSize}`])},[c.showBar?(e.openBlock(),e.createElementBlock("span",W)):e.createCommentVNode("",!0),c.title?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(c.title),1)):e.createCommentVNode("",!0),m.$slots["header-prefix"]?(e.openBlock(),e.createElementBlock("span",K,[e.renderSlot(m.$slots,"header-prefix",{},void 0,!0)])):e.createCommentVNode("",!0),m.$slots["header-center"]?(e.openBlock(),e.createElementBlock("span",X,[e.renderSlot(m.$slots,"header-center",{},void 0,!0)])):e.createCommentVNode("",!0),m.$slots["header-extra"]||c.liveLabel?(e.openBlock(),e.createElementBlock("span",v,[e.renderSlot(m.$slots,"header-extra",{},()=>[c.liveLabel?(e.openBlock(),e.createElementBlock("span",ee,[h[0]||(h[0]=e.createElementVNode("span",{class:"qbs-panel__live-dot"},null,-1)),e.createTextVNode(e.toDisplayString(c.liveLabel),1)])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",te,[e.renderSlot(m.$slots,"default",{},void 0,!0)])],6))}}),u=(c,i)=>{const d=c.__vccOpts||c;for(const[m,h]of i)d[m]=h;return d},L=u(le,[["__scopeId","data-v-749400b6"]]),oe={key:0,class:"qbs-duty-compact"},ae={class:"qbs-duty-compact__avatar"},ne={class:"qbs-duty-compact__info"},re={class:"qbs-duty-compact__name"},se={class:"qbs-duty-compact__phone"},ie={key:0,class:"qbs-duty-compact__tag"},ce={key:1,class:"qbs-duty"},me={class:"qbs-duty__summary"},de={class:"qbs-duty__summary-chip"},ye={class:"qbs-duty__summary-chip"},he={class:"qbs-duty__summary-chip"},ke={class:"qbs-duty__list"},pe={class:"qbs-duty__group-header"},fe={class:"qbs-duty__users"},ge={key:0,class:"qbs-duty__empty"},xe=u(e.defineComponent({__name:"BigScreenDutyContent",props:{compact:{type:Boolean,default:!1},personName:{default:""},personPhone:{default:""},personTag:{default:""},date:{default:""},totalGroups:{default:void 0},totalUsers:{default:void 0},groups:{default:()=>[]}},setup(c){const i=c;return(d,m)=>i.compact?(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("div",ae,e.toDisplayString(i.personName.charAt(0)||"-"),1),e.createElementVNode("div",ne,[e.createElementVNode("span",re,e.toDisplayString(i.personName||"暂未排班"),1),e.createElementVNode("span",se,e.toDisplayString(i.personPhone||"—"),1)]),i.personTag?(e.openBlock(),e.createElementBlock("span",ie,e.toDisplayString(i.personTag),1)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",me,[e.createElementVNode("div",de,[m[0]||(m[0]=e.createElementVNode("span",null,"日期",-1)),e.createElementVNode("strong",null,e.toDisplayString(i.date||"未同步"),1)]),e.createElementVNode("div",ye,[m[1]||(m[1]=e.createElementVNode("span",null,"值班组",-1)),e.createElementVNode("strong",null,e.toDisplayString(i.totalGroups??i.groups.length),1)]),e.createElementVNode("div",he,[m[2]||(m[2]=e.createElementVNode("span",null,"值班人数",-1)),e.createElementVNode("strong",null,e.toDisplayString(i.totalUsers??0),1)])]),e.createElementVNode("div",ke,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.groups,h=>{var g;return e.openBlock(),e.createElementBlock("article",{key:h.groupId,class:"qbs-duty__group"},[e.createElementVNode("div",pe,[e.createElementVNode("strong",null,e.toDisplayString(h.groupName),1),e.createElementVNode("span",null,e.toDisplayString(((g=h.users)==null?void 0:g.length)||0)+" 人",1)]),e.createElementVNode("div",fe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.users||[],N=>(e.openBlock(),e.createElementBlock("span",{key:N.userId,class:"qbs-duty__user"},e.toDisplayString(N.nickName||N.username),1))),128))])])}),128)),i.groups.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ge,"暂无值班数据"))])]))}}),[["__scopeId","data-v-f5721bce"]]),_e={class:"qbs-alert-row__main"},be={class:"qbs-alert-row__copy"},ue=["title"],Ee={class:"qbs-alert-row__meta"},Ne={class:"qbs-alert-row__group"},Be={key:0,class:"qbs-alert-row__owner"},Ve={key:1,class:"qbs-alert-row__time"},we={key:2,class:"qbs-alert-row__tag"},Ce={class:"qbs-alert-row__status"},Se={key:0,class:"qbs-alert-row__aside"},$e=u(e.defineComponent({__name:"BigScreenAlertRow",props:{title:{},group:{default:""},owner:{default:""},time:{default:""},tag:{default:""},statusText:{default:""},accent:{default:"#f0a35a"},detailWide:{type:Boolean,default:!1}},emits:["select"],setup(c){const i=c;return(d,m)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["qbs-alert-row",{"qbs-alert-row--detail-wide":i.detailWide}]),style:e.normalizeStyle({"--qbs-alert-accent":i.accent}),type:"button",onClick:m[0]||(m[0]=h=>d.$emit("select"))},[e.createElementVNode("div",_e,[e.createElementVNode("div",be,[e.createElementVNode("div",{class:"qbs-alert-row__title",title:i.title},e.toDisplayString(i.title),9,ue),e.createElementVNode("div",Ee,[e.createElementVNode("span",Ne,e.toDisplayString(i.group),1),i.owner?(e.openBlock(),e.createElementBlock("span",Be,e.toDisplayString(i.owner),1)):e.createCommentVNode("",!0),i.time?(e.openBlock(),e.createElementBlock("span",Ve,e.toDisplayString(i.time),1)):e.createCommentVNode("",!0),i.tag?(e.openBlock(),e.createElementBlock("span",we,e.toDisplayString(i.tag),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ce,[e.renderSlot(d.$slots,"status",{},()=>[e.createTextVNode(e.toDisplayString(i.statusText||"待处理"),1)],!0)])]),d.$slots.aside?(e.openBlock(),e.createElementBlock("aside",Se,[e.renderSlot(d.$slots,"aside",{},void 0,!0)])):e.createCommentVNode("",!0)])],6))}}),[["__scopeId","data-v-83959767"]]),qe={class:"qbs-metric-card__value"},Me={class:"qbs-metric-card__label"},De=u(e.defineComponent({__name:"BigScreenMetricCard",props:{label:{},value:{default:"—"},tone:{default:"#7dd3fc"},compact:{type:Boolean,default:!1}},setup(c){const i=c;return(d,m)=>i.compact?(e.openBlock(),e.createElementBlock("div",{key:0,class:"qbs-metric-card qbs-metric-card--compact",style:e.normalizeStyle({"--qbs-metric-tone":i.tone})},[e.createElementVNode("span",null,e.toDisplayString(i.label),1),e.createElementVNode("strong",null,[e.renderSlot(d.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(i.value),1)],!0)])],4)):(e.openBlock(),e.createBlock(L,{key:1,class:"qbs-metric-card","body-layout":"metric",padding:"tight",accent:i.tone},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default",{},()=>[e.createElementVNode("strong",qe,e.toDisplayString(i.value),1)],!0),e.createElementVNode("span",Me,e.toDisplayString(i.label),1)]),_:3},8,["accent"]))}}),[["__scopeId","data-v-07353599"]]),ze={class:"qbs-header"},Ae={class:"qbs-header__body"},Oe={class:"qbs-header__brand"},Re={key:0,class:"qbs-header__clock"},Te=u(e.defineComponent({__name:"BigScreenHeader",props:{title:{default:"运维监控大屏"},subtitle:{default:"QUARK EAGLE EYE"},timeText:{default:"--:--"},dateText:{default:"--"},weekdayText:{default:""},showClock:{type:Boolean,default:!0}},setup(c){return(i,d)=>(e.openBlock(),e.createElementBlock("section",ze,[d[1]||(d[1]=e.createElementVNode("i",{class:"qbs-header__glow"},null,-1)),e.createElementVNode("div",Ae,[e.createElementVNode("div",Oe,[d[0]||(d[0]=e.createElementVNode("i",{class:"qbs-header__crest"},[e.createElementVNode("b")],-1)),e.createElementVNode("div",null,[e.createElementVNode("p",null,e.toDisplayString(c.subtitle),1),e.createElementVNode("h1",null,e.toDisplayString(c.title),1)])]),c.showClock?(e.openBlock(),e.createElementBlock("div",Re,[e.createElementVNode("strong",null,e.toDisplayString(c.timeText),1),e.createElementVNode("span",null,e.toDisplayString(c.dateText)+" "+e.toDisplayString(c.weekdayText),1)])):e.createCommentVNode("",!0)])]))}}),[["__scopeId","data-v-cc041333"]]),Le={class:"qbs-build-dist"},Ie={key:0,class:"qbs-build-dist__empty"},Pe=u(e.defineComponent({__name:"BigScreenBuildDistribution",props:{items:{default:()=>[]},total:{default:0}},setup(c){const i=c,d=m=>`${(m/Math.max(1,i.total||i.items.reduce((h,g)=>h+g.count,0))*100).toFixed(1)}%`;return(m,h)=>(e.openBlock(),e.createElementBlock("div",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.items.slice(0,8),g=>(e.openBlock(),e.createElementBlock("article",{key:g.name},[e.createElementVNode("div",null,[e.createElementVNode("strong",null,e.toDisplayString(g.name),1),e.createElementVNode("span",null,e.toDisplayString(g.count),1)]),e.createElementVNode("i",null,[e.createElementVNode("b",{style:e.normalizeStyle({width:d(g.count)})},null,4)])]))),128)),i.items.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ie,"暂无构建分布数据"))]))}}),[["__scopeId","data-v-608b33d9"]]),Fe={class:"qbs-build-projects"},Ge={class:"qbs-build-projects__summary"},He={class:"qbs-build-projects__list"},Ze={key:0,class:"qbs-build-projects__empty"},je=u(e.defineComponent({__name:"BigScreenBuildProjects",props:{buildingCount:{default:0},todayBuilds:{default:0},successRate:{default:0},items:{default:()=>[]}},setup(c){const i=d=>`${Math.max(0,Math.min(100,d||0))}%`;return(d,m)=>(e.openBlock(),e.createElementBlock("div",Fe,[e.createElementVNode("div",Ge,[e.createElementVNode("span",null,[m[0]||(m[0]=e.createTextVNode("构建中",-1)),e.createElementVNode("strong",null,e.toDisplayString(c.buildingCount),1)]),e.createElementVNode("span",null,[m[1]||(m[1]=e.createTextVNode("今日构建",-1)),e.createElementVNode("strong",null,e.toDisplayString(c.todayBuilds),1)]),e.createElementVNode("span",null,[m[2]||(m[2]=e.createTextVNode("成功率",-1)),e.createElementVNode("strong",null,e.toDisplayString(Number(c.successRate).toFixed(1))+"%",1)])]),e.createElementVNode("div",He,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.items.slice(0,8),h=>(e.openBlock(),e.createElementBlock("article",{key:`${h.pipelineId}-${h.buildId}`},[e.createElementVNode("div",null,[e.createElementVNode("strong",null,e.toDisplayString(h.jobName||`Pipeline-${h.pipelineId}`),1),e.createElementVNode("span",null,e.toDisplayString(h.statusText),1)]),e.createElementVNode("p",null,[e.createElementVNode("span",null,e.toDisplayString(h.currentStage||"等待阶段信息"),1),e.createElementVNode("span",null,e.toDisplayString(h.buildUser||"系统触发"),1)]),e.createElementVNode("i",null,[e.createElementVNode("b",{style:e.normalizeStyle({width:i(h.progress)})},null,4)])]))),128)),c.items.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ze,"当前没有在跑的构建项目"))])]))}}),[["__scopeId","data-v-6c6f003c"]]),Ue={class:"qbs-robot"},Qe={class:"qbs-robot__head"},Ye={class:"qbs-robot__metrics"},We=u(e.defineComponent({__name:"BigScreenRobotSummary",props:{status:{default:"online"},mode:{default:"display_only"},emotion:{default:"neutral"},generatedAt:{default:""},summary:{default:()=>({})},alerts:{default:()=>({})},successRate:{default:0}},setup(c){return(i,d)=>(e.openBlock(),e.createElementBlock("div",Ue,[e.createElementVNode("div",Qe,[e.createElementVNode("i",{class:e.normalizeClass(`is-${c.emotion}`)},null,2),e.createElementVNode("div",null,[e.createElementVNode("strong",null,e.toDisplayString(c.status),1),e.createElementVNode("span",null,e.toDisplayString(c.mode)+" · "+e.toDisplayString(c.generatedAt),1)])]),e.createElementVNode("div",Ye,[e.createElementVNode("span",null,[d[0]||(d[0]=e.createTextVNode("值班组",-1)),e.createElementVNode("b",null,e.toDisplayString(c.summary.dutyGroups??0),1)]),e.createElementVNode("span",null,[d[1]||(d[1]=e.createTextVNode("今日告警",-1)),e.createElementVNode("b",null,e.toDisplayString(c.summary.todayAlerts??0),1)]),e.createElementVNode("span",null,[d[2]||(d[2]=e.createTextVNode("构建中",-1)),e.createElementVNode("b",null,e.toDisplayString(c.summary.buildingCount??0),1)]),e.createElementVNode("span",null,[d[3]||(d[3]=e.createTextVNode("终端节点",-1)),e.createElementVNode("b",null,e.toDisplayString(c.summary.endpointNodes??0),1)])])]))}}),[["__scopeId","data-v-534c73e7"]]),Je={class:"qbs-endpoints"},Ke={key:0,class:"qbs-endpoints__empty"},Xe=u(e.defineComponent({__name:"BigScreenEndpointDistribution",props:{items:{default:()=>[]}},setup(c){return(i,d)=>(e.openBlock(),e.createElementBlock("div",Je,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.items,m=>{var h;return e.openBlock(),e.createElementBlock("article",{key:m.id},[e.createElementVNode("div",null,[e.createElementVNode("strong",null,e.toDisplayString(m.nodeName),1),e.createElementVNode("span",{class:e.normalizeClass({offline:!m.nodeStatus})},e.toDisplayString(m.nodeStatus?"在线":"离线"),3)]),e.createElementVNode("small",null,e.toDisplayString(m.nodeIp),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=m.heartbeatResults)==null?void 0:h.slice(0,3),g=>{var N;return e.openBlock(),e.createElementBlock("p",{key:g.targetName},e.toDisplayString(g.targetName||g.targetIp)+" · "+e.toDisplayString(((N=g.latencyMs)==null?void 0:N.toFixed(1))??"—")+" ms",1)}),128))])}),128)),c.items.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ke,"暂无终端分布数据"))]))}}),[["__scopeId","data-v-9abd8314"]]),ve={class:"qbs-embed"},et=["src","title"],tt={key:1},lt=u(e.defineComponent({__name:"BigScreenExternalEmbed",props:{url:{default:""},title:{default:"外部仪表盘"}},setup(c){const i=c,d=e.computed(()=>{try{const m=new URL(i.url);return["http:","https:"].includes(m.protocol)?m.toString():""}catch{return""}});return(m,h)=>(e.openBlock(),e.createElementBlock("section",ve,[d.value?(e.openBlock(),e.createElementBlock("iframe",{key:0,src:d.value,title:c.title,loading:"lazy",referrerpolicy:"no-referrer",sandbox:"allow-scripts allow-same-origin allow-forms allow-popups",allow:"fullscreen"},null,8,et)):(e.openBlock(),e.createElementBlock("div",tt,"请在 Props JSON 中配置 http(s) 外部仪表盘 URL。"))]))}}),[["__scopeId","data-v-f20c22f6"]]),ot={width:"300",height:"290",viewBox:"0 0 240 230",class:"overflow-visible drop-shadow-[0_18px_24px_rgba(37,99,235,0.25)]"},at=["stroke"],nt=["fill"],rt=["fill"],st=["rx","ry","opacity"],it=["rx","ry","opacity"],ct=["fill"],mt=["d"],dt=["d"],yt=["d"],ht=["d"],kt={key:5},pt=["d"],ft=["d"],gt=["x","y"],xt=["x","y"],_t=["cx"],bt=["cx"],ut=["x1","y1","x2","y2"],Et=["x1","y1","x2","y2"],Nt=["cy"],Bt=["cy"],Vt=["x1","y1","x2","y2"],wt=["x1","y1","x2","y2"],Ct=["cx","cy"],St=["cx","cy"],$t=["cx","cy"],qt=["cx","cy"],Mt=["cx","cy"],Dt=["cx","cy"],zt=["cx","cy"],At=["cx","cy"],Ot=["cy"],Rt=["cy"],Tt=["cy"],Lt=["cy"],It=["x","y"],Pt=["x","y"],Ft=["x1","x2"],Gt=["x1","x2"],Ht=["cy"],Zt=["cx","cy"],jt=["x","y"],Ut=["cx","cy"],Qt=["cx","cy"],Yt=["cx","cy"],Wt=["cx","cy"],Jt=["cx","cy"],Kt=["cx","cy"],Xt=["cx","cy"],vt=["x1","y1","x2","y2"],el=["x1","y1","x2","y2"],tl=["x1","x2"],ll=["x1","x2"],ol={key:16},al=["cy"],nl=["cy"],rl=["cy"],sl=["cy"],il=["x","y"],cl=["x","y"],ml=["d"],dl=["d"],yl=["cy"],hl=["cy"],kl=["x1","y1","x2","y2"],pl=["x1","y1","x2","y2"],fl={key:19},gl=["cy"],xl=["cy"],_l=["cy"],bl=["cy"],ul=["x","y"],El=["x","y"],Nl=["d"],Bl=["d"],Vl=["d"],wl=["d"],Cl=["x1","x2"],Sl=["x1","x2"],$l=["d"],ql=["d"],Ml=["cy"],Dl=["cy"],zl=["cx","cy"],Al=["cx","cy"],Ol=["cx","cy"],Rl=["cx","cy"],Tl=["x1","y1","x2","y2"],Ll=["x1","y1","x2","y2"],Il=["cx","cy"],Pl=["cx","cy"],Fl=["cx","cy"],Gl=["cx","cy"],Hl=["cx","cy"],Zl=["cx","cy"],jl=["cx","cy"],Ul=["cx","cy"],Ql=["cy"],Yl=["cy"],Wl=["cx","cy"],Jl=["cx","cy"],Kl=["cy"],Xl=["cy"],vl=["x1","y1","x2","y2"],eo=["x1","y1","x2","y2"],to=["d"],lo=["d"],oo=["d"],ao=["d"],no=["cx","cy"],ro=["x1","x2"],so=["x","y"],io=["x","y"],co={key:10},mo={key:16},yo={key:36,d:"M 158 70 q 5 9 0 14 q -5 -5 0 -14 Z",fill:"oklch(0.8 0.12 220)",opacity:"0.9",class:"animate-dot-blink"},ho=["cx","cy"],ko=["cx","cy"],po=["d"],fo=["stroke"],go=["fill"],xo=["fill"],_o=["fill"],bo={key:44},uo=["fill"],Eo=["stroke"],No={key:46,class:"animate-spin-slow",style:{transformOrigin:"168px 62px"}},Bo=["fill"],Vo=["transform"],wo={key:47,transform:"rotate(40 168 62)"},Co=["fill"],So={key:48,class:"animate-wobble",style:{transformOrigin:"168px 60px"}},$o=["fill"],qo=["fill"],Mo={key:49,class:"animate-self-spin",style:{transformOrigin:"168px 60px"}},Do=["stroke"],zo={key:50,class:"animate-alert-flash"},Ao=["fill"],Oo={key:51},Ro={class:"animate-alert-flash"},To=["fill"],Lo=["fill"],Io=["stroke"],Po=["fill"],Fo={key:53,class:"animate-scan-move"},Go=["stroke"],Ho=["stroke"],Zo={key:54},jo=["stroke"],Uo=["fill"],Qo=["fill"],Yo=["fill"],Wo=["stroke"],Jo={key:57,class:"animate-locate-bob",style:{transformOrigin:"168px 60px"}},Ko=["fill"],Xo=["fill"],vo=["stroke"],ea=["fill"],ta={key:59},la=["stroke"],oa={key:60},aa=["fill"],na={key:61},ra=["fill"],sa={key:62,class:"animate-alert-flash",style:{transformOrigin:"168px 60px"}},ia=["fill"],ca={key:63},ma=["fill"],da={key:64,class:"animate-alert-flash"},ya=["fill"],ha={key:65,class:"animate-sparkle",style:{transformOrigin:"168px 58px"}},ka=["fill"],pa=["fill"],fa=["fill"],ga={key:66},xa=["fill"],_a=["fill"],ba=["fill"],ua={key:67,class:"animate-body-glow",style:{transformOrigin:"168px 62px"}},Ea=["fill"],Na={key:68,class:"animate-dot-blink"},Ba={key:69},Va=["stroke"],wa=["fill"],Ca=["fill"],Sa={key:72},$a={key:73,class:"animate-bball-ball",style:{transformOrigin:"120px 148px"}},qa={key:74,class:"animate-traffic-light-pop",style:{transformOrigin:"230px 126px"}},Ma=["fill"],Da=["opacity"],za=["opacity"],Aa=["opacity"],Oa={key:75},Ra=["x","y"],Ta={key:76,class:"animate-breathe",style:{transformBox:"fill-box",transformOrigin:"center"}},La=["fill"],Ia={key:78},Pa=["d","fill"],Fa={key:79},Ga=["fill"],Ha={key:80},Za=["stroke"],ja=["stroke"],Ua={key:81},Qa=["x","y","width","height","rx","fill"],Ya={key:82},Wa=["cx","cy","fill"],Ja=["fill"],Ka=["fill"],Xa=["d"],va=["fill"],en=["fill"],tn=["fill"],ln=["d"],on={key:0,class:"pointer-events-none absolute right-2 top-2 text-robot-blue-dark"},a="var(--robot-eye)",an="var(--robot-blue)",_="oklch(0.6 0.23 22)",q="oklch(0.72 0.19 55)",M="oklch(0.84 0.16 95)",D="oklch(0.62 0.02 260)",E="oklch(0.68 0.16 150)",nn="oklch(0.5 0.12 250)",r=102,s=138,t=108,rn=e.defineComponent({__name:"QuarkRobot",props:{emotion:{},action:{default:"idle"},speaking:{type:Boolean,default:!1}},setup(c){const i=c,d={neutral:{eyes:"neutral",mouth:"smileSoft",arms:"handsFold",anim:"animate-robot-float"},bye:{eyes:"happy",mouth:"smileSoft",arms:"waveUp",anim:"animate-robot-float"},happy:{eyes:"happy",mouth:"smile",blush:!0,arms:"joyRaise",anim:"animate-robot-float"},excited:{eyes:"excited",mouth:"open",blush:!0,arms:"waveUp",anim:"animate-robot-bounce"},angry:{eyes:"angry",mouth:"grit",sym:"anger",symColor:_,arms:"akimbo",anim:"animate-robot-shake"},sad:{eyes:"sad",mouth:"frown",tear:!0,arms:"hangsDown",anim:"animate-robot-droop"},surprised:{eyes:"wide",mouth:"o",sym:"exclaim",symColor:"var(--robot-amber)",blush:!0,arms:"alarm",anim:"animate-robot-bounce"},helpless:{eyes:"half",mouth:"wavy",sweat:!0,arms:"facepalm",anim:"animate-robot-float"},shy:{eyes:"happy",mouth:"smileSoft",blushStrong:!0,sym:"heart",symColor:_,arms:"faceCover",anim:"animate-robot-float"},awkward:{eyes:"half",mouth:"wavy",sweat:!0,sym:"ellipsis",symColor:"var(--muted-foreground)",arms:"scratchHead",anim:"animate-robot-float"},scared:{eyes:"wide",mouth:"o",sweat:!0,sym:"exclaim",symColor:_,arms:"headHold",anim:"animate-robot-shake"},wronged:{eyes:"teary",mouth:"frown",tear:!0,tear2:!0,blush:!0,arms:"wipeTear",anim:"animate-robot-droop"},agitated:{eyes:"excited",mouth:"bigopen",blush:!0,arms:"forwardReach",anim:"animate-robot-shake"},smug:{eyes:"smug",mouth:"smile",arms:"oneAkimboThumb",anim:"animate-robot-float"},sleepy:{eyes:"closed",mouth:"dot",anim:"animate-robot-sway"},thinking:{eyes:"lookup",mouth:"flat",sym:"question",symColor:a,anim:"animate-robot-float"},thinkingWait:{eyes:"thinkEyes",mouth:"flat",sym:"loader",symColor:a,arms:"chinRest",signalAnim:"animate-signal-coolblink",signalOverride:"oklch(0.72 0.08 220)",anim:"animate-thinking-tilt"},dazed:{eyes:"blank",mouth:"flat",sym:"ellipsis",symColor:"var(--muted-foreground)",anim:"animate-robot-sway"},tired:{eyes:"half",mouth:"frown",anim:"animate-robot-droop"},confused:{eyes:"confused",mouth:"wavy",sym:"question",symColor:"var(--robot-amber)",anim:"animate-wobble"},eureka:{eyes:"excited",mouth:"open",sym:"bulb",symColor:"var(--robot-amber)",arms:"ahaPoint",anim:"animate-robot-bounce"},yawn:{eyes:"closed",mouth:"bigopen",tear:!0,arms:"stretchYawn",anim:"animate-robot-sway"},spacedout:{eyes:"blank",mouth:"flat",sym:"ellipsis",symColor:"var(--muted-foreground)",anim:"animate-robot-sway"},eurekaClap:{eyes:"excited",mouth:"open",sym:"bulb",symColor:"var(--robot-amber)",arms:"clap",anim:"animate-robot-bounce"},rubEyes:{eyes:"closed",mouth:"frown",arms:"rub",anim:"animate-robot-droop"},zen:{eyes:"closed",mouth:"calm",sym:"lotus",symColor:"var(--robot-amber)",anim:"animate-breathe"},pray:{eyes:"closed",mouth:"calm",sym:"lotus",symColor:"var(--robot-amber)",arms:"pray",anim:"animate-breathe"},devout:{eyes:"closed",mouth:"calm",sym:"lotus",symColor:"var(--robot-amber)",arms:"pray",anim:"animate-breathe"},heal:{eyes:"happy",mouth:"smileSoft",blush:!0,sym:"heart",symColor:_,arms:"hug",anim:"animate-breathe"},coldGuard:{eyes:"lookdown",mouth:"flat",body:nn,anim:"animate-guard-sink"},listenOpen:{eyes:"neutral",mouth:"smileSoft",sym:"soundwave",symColor:a,arms:"attentiveOpen",anim:"animate-listen-tilt"},listenSneaky:{eyes:"half",mouth:"dot",sym:"soundwave",symColor:"var(--robot-amber)",arms:"shh",anim:"animate-listen-sneak"},listenPeek:{eyes:"wide",mouth:"smileSoft",sym:"soundwave",symColor:a,anim:"animate-peek"},busy:{eyes:"thinkEyes",mouth:"flat",sweat:!0,sym:"gear",symColor:"var(--robot-blue-dark)",arms:"overtimeArms",anim:"animate-busy-type"},processing:{eyes:"neutral",mouth:"flat",sym:"gear",symColor:"var(--robot-blue-dark)",arms:"overtimeArms",anim:"animate-nod"},done:{eyes:"happy",mouth:"smile",sym:"check",symColor:E,arms:"approve",anim:"animate-robot-float"},notes:{eyes:"lookdown",mouth:"smileSoft",sym:"pencil",symColor:"var(--robot-blue-dark)",arms:"writeDown",anim:"animate-notes-write"},stuck:{eyes:"dizzy",mouth:"flat",sweat:!0,sym:"question",symColor:"var(--muted-foreground)",arms:"shrug",anim:"animate-robot-shake"},askHumble:{eyes:"lookup",mouth:"smileSoft",sym:"question",symColor:a,arms:"humble",anim:"animate-robot-float"},report:{eyes:"neutral",mouth:"smile",arms:"point",anim:"animate-robot-float"},standby:{eyes:"neutral",mouth:"flat",sym:"bell",symColor:"var(--robot-amber)",arms:"attentiveOpen",anim:"animate-robot-float"},checkData:{eyes:"thinkEyes",mouth:"flat",sym:"target",symColor:"var(--robot-blue-dark)",arms:"scanArmRight",anim:"animate-check-scan"},loading:{eyes:"neutral",mouth:"flat",sym:"loader",symColor:a,arms:"bootStretch",anim:"animate-robot-float"},troubleshoot:{eyes:"confused",mouth:"flat",sweat:!0,sym:"broken",symColor:"var(--muted-foreground)",arms:"ponderHand",anim:"animate-pacing"},warnLow:{eyes:"neutral",mouth:"flat",sym:"warning",symColor:M,arms:"caution",anim:"animate-robot-sway"},warnOrange:{eyes:"wide",mouth:"flat",sym:"warning",symColor:q,body:q,arms:"caution",anim:"animate-wobble"},alertRed:{eyes:"wide",mouth:"o",sym:"siren",symColor:_,body:_,arms:"alarm",anim:"animate-robot-shake"},fault:{eyes:"dizzy",mouth:"wavy",sym:"broken",symColor:D,body:D,arms:"limp",anim:"animate-robot-droop"},alertClear:{eyes:"happy",mouth:"smile",sym:"check",symColor:E,arms:"thumbsUp",anim:"animate-robot-float"},scanning:{eyes:"neutral",mouth:"flat",sym:"scan",symColor:a,arms:"scan",anim:"animate-patrol"},camTurn:{eyes:"wide",mouth:"flat",sym:"scan",symColor:q,arms:"scan",anim:"animate-wobble"},alertVibrate:{eyes:"wide",mouth:"o",sym:"warning",symColor:q,body:q,arms:"alarm",anim:"animate-vibrate"},faultReset:{eyes:"dizzy",mouth:"flat",sym:"broken",symColor:D,body:D,anim:"animate-reset-spin"},investigate:{eyes:"neutral",mouth:"flat",sym:"scan",symColor:a,arms:"scan",anim:"animate-pacing"},clearGreen:{eyes:"happy",mouth:"smile",sym:"check",symColor:E,body:E,arms:"spread",anim:"animate-breathe"},locatePhysical:{eyes:"lookdown",mouth:"smileSoft",sym:"pin",symColor:a,arms:"point",anim:"animate-robot-float"},locateFault:{eyes:"confused",mouth:"flat",sym:"target",symColor:_,arms:"scan",anim:"animate-pacing"},locateProblem:{eyes:"lookup",mouth:"flat",sym:"target",symColor:"var(--robot-amber)",arms:"pointUp",anim:"animate-robot-float"},learning:{eyes:"lookdown",mouth:"smileSoft",sym:"book",symColor:"var(--robot-blue-dark)",arms:"humble",anim:"animate-nod"},msgSending:{eyes:"neutral",mouth:"flat",sym:"plane",symColor:a,arms:"scanArmRight",anim:"animate-robot-float"},msgSent:{eyes:"happy",mouth:"smile",sym:"msgOk",symColor:E,arms:"thumbsUp",anim:"animate-robot-float"},msgFailed:{eyes:"sad",mouth:"frown",sym:"msgFail",symColor:_,sweat:!0,arms:"droopArms",anim:"animate-robot-shake"},msgReceiving:{eyes:"neutral",mouth:"smileSoft",sym:"msgIn",symColor:"var(--robot-amber)",arms:"chinRest",anim:"animate-nod"},joyful:{eyes:"arcHappy",mouth:"bigSmile",blushPink:!0,arms:"joyRaise",signalAnim:"animate-signal-warm",signalOverride:"oklch(0.84 0.16 72)",anim:"animate-joyful"},furious:{eyes:"narrow",mouth:"grit",arms:"akimbo",signalAnim:"animate-signal-red",signalOverride:"oklch(0.58 0.22 22)",anim:"animate-furious"},sorrowful:{eyes:"droopy",mouth:"bigFrown",tear:!0,tear2:!0,arms:"hangsDown",screenTint:"oklch(0.35 0.08 240 / 0.18)",signalAnim:"animate-signal-blue",signalOverride:"oklch(0.55 0.14 240)",anim:"animate-sorrowful"},serene:{eyes:"softRound",mouth:"smileSoft",arms:"handsFold",signalOverride:"oklch(0.82 0.14 72)",anim:"animate-serene"},amazed:{eyes:"bigRound",mouth:"bigopen",blush:!0,sym:"exclaim",symColor:"oklch(0.84 0.16 72)",arms:"alarm",signalAnim:"animate-signal-burst",signalOverride:"oklch(0.9 0.18 90)",anim:"animate-amazed"},excited2:{eyes:"arcHappy",mouth:"bigSmile",blushStrong:!0,arms:"waveUp",signalAnim:"animate-signal-rapid",signalOverride:"oklch(0.84 0.16 72)",anim:"animate-excited-e"},helpless2:{eyes:"halfDroopy",mouth:"bitterSmile",arms:"facepalm",signalAnim:"animate-signal-dim",signalOverride:"oklch(0.58 0.06 250)",anim:"animate-helpless"},shy2:{eyes:"peekSlit",mouth:"heartMouth",blushPink:!0,arms:"faceCover",signalAnim:"animate-signal-pink",signalOverride:"oklch(0.82 0.14 20)",anim:"animate-shy"},awkward2:{eyes:"halfSquint",mouth:"awkwardSmile",blush:!0,arms:"scratchHead",signalAnim:"animate-signal-soft",signalOverride:"oklch(0.88 0.12 85)",anim:"animate-awkward"},scared2:{eyes:"scaredWide",mouth:"o",sweat:!0,arms:"headHold",signalAnim:"animate-signal-panic",signalOverride:"oklch(0.58 0.22 22)",anim:"animate-scared"},grieved:{eyes:"droopy",mouth:"bigFrown",blush:!0,arms:"wipeTear",screenTint:"oklch(0.35 0.08 240 / 0.14)",signalAnim:"animate-signal-cold",signalOverride:"oklch(0.5 0.12 240)",anim:"animate-grieved"},thrilled:{eyes:"bigRound",mouth:"bigopen",arms:"forwardReach",sym:"lightning",symColor:"oklch(0.9 0.18 90)",signalAnim:"animate-signal-bright",signalOverride:"oklch(0.9 0.18 90)",anim:"animate-thrilled"},jealous:{eyes:"narrowSlant",mouth:"poutBig",blush:!0,arms:"crossArms",signalAnim:"animate-signal-purple",signalOverride:"oklch(0.62 0.14 280)",anim:"animate-jealous"},speechless:{eyes:"dashEyes",mouth:"flat",arms:"templePoint",sym:"ellipsis",symColor:"oklch(0.55 0.04 250)",signalAnim:"animate-signal-gray",signalOverride:"oklch(0.45 0.06 250)",anim:"animate-speechless"},proud:{eyes:"smug",mouth:"smile",arms:"oneAkimboThumb",sym:"sparkle2",symColor:"oklch(0.88 0.16 80)",signalAnim:"animate-signal-gold",signalOverride:"oklch(0.84 0.16 72)",anim:"animate-proud"},drowsy:{eyes:"halfClosed",mouth:"open",arms:"armsLoose",sym:"zzz",symColor:"oklch(0.65 0.08 260)",signalAnim:"animate-signal-darkblue",signalOverride:"oklch(0.42 0.10 255)",anim:"animate-drowsy"},thinking2:{eyes:"thinkEyes",mouth:"flat",arms:"chinRest",sym:"bulb",symColor:"oklch(0.84 0.14 90)",signalAnim:"animate-signal-coolblink",signalOverride:"oklch(0.72 0.08 220)",anim:"animate-thinking-tilt"},daydream2:{eyes:"blankDot",mouth:"flat",arms:"clasp",signalAnim:"animate-signal-faint",signalOverride:"oklch(0.5 0.06 230)",anim:"animate-daydream"},exhausted:{eyes:"heavyLid",mouth:"frown",arms:"slump",sym:"lowBattery",symColor:"oklch(0.58 0.22 22)",signalAnim:"animate-signal-rb",signalOverride:"oklch(0.45 0.10 260)",anim:"animate-exhausted"},puzzled:{eyes:"bigRound",mouth:"o",arms:"shrug",sym:"question",symColor:"oklch(0.82 0.14 90)",signalAnim:"animate-signal-paleyellow",signalOverride:"oklch(0.86 0.14 90)",anim:"animate-puzzled"},guarding:{eyes:"narrow",mouth:"flat",arms:"shieldUp",sym:"shield",symColor:"oklch(0.72 0.14 220)",signalAnim:"animate-signal-shield",signalOverride:"oklch(0.55 0.16 230)",anim:"animate-guard-stance"},playBasketball:{eyes:"arcHappy",mouth:"bigSmile",blushPink:!0,sym:"miniBasketball",symColor:"oklch(0.65 0.16 40)",signalAnim:"animate-signal-bball",signalOverride:"oklch(0.75 0.18 72)",anim:"animate-bball-body"},ironMountain:{eyes:"smug",mouth:"smile",blushPink:!0,signalAnim:"animate-signal-iron",signalOverride:"oklch(0.78 0.18 72)",anim:"animate-iron-hip"},trafficRed:{eyes:"wide",mouth:"flat",arms:"trafficGuide",sym:"warning",symColor:_,body:_,signalAnim:"animate-signal-red",signalOverride:_,anim:"animate-traffic-stop"},trafficYellow:{eyes:"thinkEyes",mouth:"flat",arms:"trafficGuide",sym:"warning",symColor:M,body:M,signalAnim:"animate-signal-soft",signalOverride:M,anim:"animate-traffic-wait"},trafficGreen:{eyes:"happy",mouth:"smile",arms:"trafficGuide",sym:"check",symColor:E,body:E,signalAnim:"animate-signal-shield",signalOverride:E,anim:"animate-traffic-go"},singing:{eyes:"arcHappy",mouth:"bigopen",blushPink:!0,arms:"conductMusic",sym:"soundwave",symColor:"oklch(0.82 0.16 72)",signalAnim:"animate-signal-warm",signalOverride:"oklch(0.82 0.16 72)",anim:"animate-sing-body"}},m={nod:"animate-nod-v2",shakeHead:"animate-shakehead-v2",bow:"animate-bow-v2",cheer:"animate-cheer",giggle:"animate-giggle",peek:"animate-peek-v2",patrol:"animate-patrol-v2",pacing:"animate-pacing",patrolScan:"animate-patrol-scan",guardStop:"animate-guard-sink",spinBoot:"animate-spin-boot",spinFault:"animate-spin-fault",spinDone:"animate-spin-done",signalBreathe:"animate-breathe",bodyBreathe:"animate-breathe",cameraScan:"animate-patrol-v2",idleDrift:"animate-idle-drift",idleYawn:"animate-idle-yawn",idleGlance:"animate-idle-glance",idleNod:"animate-idle-nod",twoHandHeart:"animate-heart-lean",celebrate:"animate-celebrate",welcome:"animate-welcome",comfort:"animate-comfort",victoryPose:"animate-victory",trafficRed:"animate-traffic-stop",trafficYellow:"animate-traffic-wait",trafficGreen:"animate-traffic-go",ironMountain:"animate-iron-hip",playBasketball:"animate-bball-body",sing:"animate-sing-body"},h={nod:"approve",shakeHead:"denyPush",blowKiss:"kiss",waveNo:"waveNo",bow:"bow",cheer:"cheer",giggle:"giggle",peek:"point",patrol:"march",pacing:"ponderHand",patrolScan:"scan",spinBoot:"bootStretch",bodyBreathe:"restBreathe",idleDrift:"floatArms",idleYawn:"stretchYawn",idleGlance:"armsLoose",idleNod:"droopArms",twoHandHeart:"heartCenter",fingerSparkle:"sparkle",thumbsUp:"thumbsUp",celebrate:"alarm",welcome:"spread",comfort:"humble",victoryPose:"alarm",trafficRed:"trafficGuide",trafficYellow:"trafficGuide",trafficGreen:"trafficGuide",guardStop:"flagGuard",ironMountain:"shoulderBash",playBasketball:"shootBall",sing:"conductMusic"},g={spinBoot:"oklch(0.7 0.18 200)",spinFault:"oklch(0.6 0.23 22)",spinDone:"oklch(0.75 0.18 145)",guardStop:"oklch(0.58 0.22 22)",twoHandHeart:"oklch(0.72 0.18 340)",patrolScan:"oklch(0.7 0.18 200)",celebrate:"oklch(0.82 0.16 72)",victoryPose:"oklch(0.75 0.18 145)",welcome:"oklch(0.7 0.18 200)",comfort:"oklch(0.78 0.12 340)",idleYawn:"oklch(0.6 0.08 264)",idleGlance:"oklch(0.6 0.08 264)",playBasketball:"oklch(0.75 0.18 72)",ironMountain:"oklch(0.78 0.18 72)",trafficRed:_,trafficYellow:M,trafficGreen:E,sing:"oklch(0.82 0.16 72)"},N={celebrate:"confetti",victoryPose:"confetti",fingerSparkle:"particles",twoHandHeart:"heart-particles",welcome:"glow",spinBoot:"scan-ring",spinFault:"scan-ring",spinDone:"scan-ring",patrolScan:"scan-ring",guardStop:"flag",trafficRed:"traffic-light",trafficYellow:"traffic-light",trafficGreen:"traffic-light",sing:"music-notes"},mn={down:{l:-8,r:8},waveNo:{l:-8,r:95,ra:"animate-arm-wave"},cheer:{l:-120,r:120,la:"animate-arm-pump",ra:"animate-arm-pump"},kiss:{l:-8,r:120},heart:{l:-120,r:120},bow:{l:35,r:-35},giggle:{l:-145,r:145},pray:{l:-55,r:55},thumbsUp:{l:-8,r:65},point:{l:-8,r:30},sparkle:{l:-35,r:35},hug:{l:-45,r:45},clap:{l:55,r:-55,la:"animate-arm-wave",ra:"animate-arm-wave"},rub:{l:-8,r:125},humble:{l:-8,r:50},shh:{l:-8,r:135},alarm:{l:130,r:-130,la:"animate-arm-pump",ra:"animate-arm-pump"},limp:{l:-85,r:85},caution:{l:-8,r:-105,ra:"animate-arm-wave"},scan:{l:-8,r:-45,ra:"animate-arm-scan"},spread:{l:-35,r:35},pointUp:{l:-8,r:-130},heartCenter:{l:55,r:-55},flagGuard:{l:30,r:-30},akimbo:{l:-42,r:42},hangsDown:{l:-95,r:95},waveUp:{l:72,r:-72,la:"animate-arm-pump",ra:"animate-arm-pump"},facepalm:{l:108,r:80},faceCover:{l:92,r:-92},scratchHead:{l:-82,r:-128},headHold:{l:125,r:-125},forwardReach:{l:34,r:-34},crossArms:{l:58,r:-58},templePoint:{l:-105,r:8},oneAkimboThumb:{l:-52,r:65},chinRest:{l:42,r:-75},overtimeArms:{l:68,r:-68},writeDown:{l:38,r:-55},scanArmRight:{l:-70,r:-40},shieldUp:{l:72,r:-72},approve:{l:44,r:-44,la:"animate-arm-nod",ra:"animate-arm-nod"},denyPush:{l:66,r:-66,la:"animate-arm-shake-x",ra:"animate-arm-shake-x"},march:{l:-8,r:8,la:"animate-arm-march-a",ra:"animate-arm-march-b"},ponderHand:{l:-8,r:-66},bootStretch:{l:-34,r:34},restBreathe:{l:-22,r:22,la:"animate-arm-breathe",ra:"animate-arm-breathe"},floatArms:{l:-45,r:45,la:"animate-arm-breathe",ra:"animate-arm-breathe"},stretchYawn:{l:-108,r:22},clasp:{l:34,r:-34},droopArms:{l:-86,r:86},joyRaise:{l:82,r:-82},handsFold:{l:-68,r:68},wipeTear:{l:-90,r:-95},slump:{l:-104,r:104},shrug:{l:56,r:-56},ahaPoint:{l:-8,r:-95},attentiveOpen:{l:-40,r:40},armsLoose:{l:-16,r:16},shoulderBash:{l:-88,r:88,la:"animate-iron-arm",ra:"animate-iron-arm"},shootBall:{l:-8,r:8,la:"animate-bball-arm-l",ra:"animate-bball-arm-r"},trafficGuide:{l:-36,r:0,ra:"animate-traffic-arm"},conductMusic:{l:54,r:-54,la:"animate-conduct-arm-l",ra:"animate-conduct-arm-r"}},o=e.computed(()=>d[i.emotion]),B=e.computed(()=>o.value.body??an),dn=e.computed(()=>m[i.action]??o.value.anim),w=e.computed(()=>h[i.action]??o.value.arms??"down"),V=e.computed(()=>mn[w.value]),$=e.computed(()=>g[i.action]??o.value.signalOverride??"var(--robot-amber)"),yn=e.computed(()=>o.value.signalAnim&&i.action==="idle"?o.value.signalAnim:""),C=e.computed(()=>N[i.action]??"none"),S=e.computed(()=>i.action==="trafficRed"||i.emotion==="trafficRed"?"red":i.action==="trafficYellow"||i.emotion==="trafficYellow"?"yellow":i.action==="trafficGreen"||i.emotion==="trafficGreen"?"green":null),hn=e.computed(()=>i.action==="sing"||i.emotion==="singing"),kn=[{x:62,y:64,note:"♪",delay:0},{x:184,y:76,note:"♫",delay:.22},{x:48,y:116,note:"♬",delay:.44},{x:194,y:128,note:"♪",delay:.66}],pn=[{x:90,y:30,cx:-40,cy:-55,cr:"160deg",color:"oklch(0.75 0.18 145)",size:5},{x:120,y:22,cx:0,cy:-62,cr:"20deg",color:"oklch(0.82 0.16 72)",size:4},{x:150,y:30,cx:44,cy:-50,cr:"-140deg",color:"oklch(0.6 0.23 22)",size:5},{x:75,y:50,cx:-52,cy:-30,cr:"200deg",color:"oklch(0.7 0.18 200)",size:3},{x:168,y:48,cx:50,cy:-28,cr:"-200deg",color:"oklch(0.78 0.12 340)",size:3},{x:60,y:75,cx:-38,cy:-18,cr:"90deg",color:"oklch(0.82 0.16 72)",size:4},{x:182,y:72,cx:36,cy:-16,cr:"-90deg",color:"oklch(0.75 0.18 145)",size:4}],fn=[{x:114,y:182,hx:"-10px",delay:0,size:9,color:"oklch(0.72 0.22 0)"},{x:126,y:180,hx:"10px",delay:.18,size:7,color:"oklch(0.72 0.18 340)"},{x:108,y:176,hx:"-18px",delay:.34,size:5,color:"oklch(0.8 0.14 0)"},{x:132,y:174,hx:"16px",delay:.5,size:5,color:"oklch(0.78 0.20 340)"},{x:120,y:170,hx:"0px",delay:.66,size:6,color:"oklch(0.72 0.22 0)"}],gn=[...Array.from({length:6},(p,l)=>({x:20+Math.cos(l/6*Math.PI*2)*18,y:128+Math.sin(l/6*Math.PI*2)*18,delay:l*.18,color:l%2===0?"var(--robot-amber)":"oklch(0.7 0.18 200)"})),...Array.from({length:6},(p,l)=>({x:220+Math.cos(l/6*Math.PI*2)*18,y:128+Math.sin(l/6*Math.PI*2)*18,delay:l*.18+.09,color:l%2===0?"var(--robot-amber)":"oklch(0.7 0.18 200)"}))],P=e.ref(null),z=e.ref({x:0,y:0}),F=e.ref(0),A=e.ref(!1);let O;function G(p){const l=P.value;if(!l)return;const n=l.getBoundingClientRect(),x=n.left+n.width/2,Vn=n.top+n.height/2,Z=(p.clientX-x)/(n.width/2),wn=(p.clientY-Vn)/(n.height/2),T=Cn=>Math.max(-1,Math.min(1,Cn));z.value={x:T(Z)*6,y:T(wn)*5},F.value=T(Z)*6}function H(){O=setTimeout(()=>{A.value=!0,setTimeout(()=>A.value=!1,130),H()},2200+Math.random()*2600)}e.onMounted(()=>{window.addEventListener("mousemove",G),H()}),e.onBeforeUnmount(()=>{window.removeEventListener("mousemove",G),O&&clearTimeout(O)});const f=e.computed(()=>z.value.x),b=e.computed(()=>z.value.y),xn=e.computed(()=>i.emotion==="excited"||i.emotion==="eureka"||i.emotion==="eurekaClap"),_n=e.computed(()=>({transform:`rotate(${F.value*.4}deg)`})),bn=e.computed(()=>{const p={transformBox:"fill-box",transformOrigin:"right center",transition:"transform 0.35s ease","--arm-base":`${V.value.l}deg`};return V.value.la||(p.transform=`rotate(${V.value.l}deg)`),p}),un=e.computed(()=>{const p={transformBox:"fill-box",transformOrigin:"left center",transition:"transform 0.35s ease","--arm-base":`${V.value.r}deg`};return V.value.ra||(p.transform=`rotate(${V.value.r}deg)`),p}),En=["closed","happy","sad","angry","dizzy","smug"],y=e.computed(()=>A.value&&!En.includes(o.value.eyes)?"closed":o.value.eyes),Nn=[{x:70,y:78,delay:0},{x:172,y:84,delay:.4},{x:160,y:150,delay:.8}];function R(p,l){return`M ${p} ${l-7} L ${p+2} ${l-2} L ${p+7} ${l} L ${p+2} ${l+2} L ${p} ${l+7} L ${p-2} ${l+2} L ${p-7} ${l} L ${p-2} ${l-2} Z`}const Bn=[0,45,90,135,180,225,270,315];return(p,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapRef",ref:P,class:"relative flex w-full max-w-[300px] items-center justify-center","aria-hidden":"true"},[e.createElementVNode("div",{style:e.normalizeStyle(_n.value)},[e.createElementVNode("div",{class:e.normalizeClass(dn.value)},[(e.openBlock(),e.createElementBlock("svg",ot,[e.createElementVNode("line",{x1:"120",y1:"42",x2:"120",y2:"30",stroke:B.value,"stroke-width":"6","stroke-linecap":"round"},null,8,at),e.createElementVNode("circle",{cx:"120",cy:"22",r:"11",fill:$.value,style:e.normalizeStyle({transition:"fill 0.6s ease",filter:`drop-shadow(0 0 5px ${$.value})`}),class:e.normalizeClass(["animate-antenna-pulse",C.value==="scan-ring"||c.action==="signalBreathe"?"animate-signal-breathe":"",yn.value])},null,14,nt),e.createElementVNode("rect",{x:"44",y:"40",width:"152",height:"152",rx:"54",fill:B.value,style:{transition:"fill 0.3s ease"}},null,8,rt),l[46]||(l[46]=e.createElementVNode("rect",{x:"44",y:"40",width:"152",height:"152",rx:"54",fill:"oklch(1 0 0 / 0.08)"},null,-1)),o.value.blush||o.value.blushStrong?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("ellipse",{cx:"72",cy:"128",rx:o.value.blushStrong?14:11,ry:o.value.blushStrong?10:8,fill:"var(--robot-amber)",opacity:o.value.blushStrong?.95:.85},null,8,st),e.createElementVNode("ellipse",{cx:"168",cy:"128",rx:o.value.blushStrong?14:11,ry:o.value.blushStrong?10:8,fill:"var(--robot-amber)",opacity:o.value.blushStrong?.95:.85},null,8,it)],64)):e.createCommentVNode("",!0),o.value.blushPink?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l[0]||(l[0]=e.createElementVNode("ellipse",{cx:"73",cy:"129",rx:"13",ry:"9",fill:"oklch(0.72 0.22 0)",opacity:"0.72"},null,-1)),l[1]||(l[1]=e.createElementVNode("ellipse",{cx:"167",cy:"129",rx:"13",ry:"9",fill:"oklch(0.72 0.22 0)",opacity:"0.72"},null,-1))],64)):e.createCommentVNode("",!0),l[47]||(l[47]=e.createElementVNode("rect",{x:"66",y:"66",width:"108",height:"92",rx:"32",fill:"var(--robot-screen)"},null,-1)),o.value.screenTint?(e.openBlock(),e.createElementBlock("rect",{key:2,x:"66",y:"66",width:"108",height:"92",rx:"32",fill:o.value.screenTint},null,8,ct)):e.createCommentVNode("",!0),l[48]||(l[48]=e.createElementVNode("rect",{x:"66",y:"66",width:"108",height:"40",rx:"20",fill:"oklch(1 0 0 / 0.06)"},null,-1)),y.value==="closed"?(e.openBlock(),e.createElementBlock("g",{key:3,stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"},[e.createElementVNode("path",{d:`M ${r-11} ${t} q 11 7 22 0`},null,8,mt),e.createElementVNode("path",{d:`M ${s-11} ${t} q 11 7 22 0`},null,8,dt)])):y.value==="happy"?(e.openBlock(),e.createElementBlock("g",{key:4,stroke:a,"stroke-width":"6","stroke-linecap":"round",fill:"none"},[e.createElementVNode("path",{d:`M ${r-11} ${t+3} q 11 -16 22 0`},null,8,yt),e.createElementVNode("path",{d:`M ${s-11} ${t+3} q 11 -16 22 0`},null,8,ht)])):y.value==="arcHappy"?(e.openBlock(),e.createElementBlock("g",kt,[e.createElementVNode("path",{d:`M ${r-13} ${t+4} q 13 -20 26 0`,stroke:a,"stroke-width":"7","stroke-linecap":"round",fill:"none"},null,8,pt),e.createElementVNode("path",{d:`M ${s-13} ${t+4} q 13 -20 26 0`,stroke:a,"stroke-width":"7","stroke-linecap":"round",fill:"none"},null,8,ft),e.createElementVNode("rect",{x:r-14,y:t-14,width:"28",height:"18",fill:"var(--robot-screen)"},null,8,gt),e.createElementVNode("rect",{x:s-14,y:t-14,width:"28",height:"18",fill:"var(--robot-screen)"},null,8,xt)])):y.value==="narrow"?(e.openBlock(),e.createElementBlock("g",{key:6,fill:a},[e.createElementVNode("ellipse",{cx:r+f.value*.4,cy:t,rx:"5",ry:"11"},null,8,_t),e.createElementVNode("ellipse",{cx:s+f.value*.4,cy:t,rx:"5",ry:"11"},null,8,bt),e.createElementVNode("line",{x1:r-11,y1:t-12,x2:r+9,y2:t-6,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,ut),e.createElementVNode("line",{x1:s+11,y1:t-12,x2:s-9,y2:t-6,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,Et)])):y.value==="droopy"?(e.openBlock(),e.createElementBlock("g",{key:7,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+3,rx:"8",ry:"10"},null,8,Nt),e.createElementVNode("ellipse",{cx:s,cy:t+3,rx:"8",ry:"10"},null,8,Bt),e.createElementVNode("line",{x1:r+5,y1:t-8,x2:r+12,y2:t-2,stroke:a,"stroke-width":"4","stroke-linecap":"round"},null,8,Vt),e.createElementVNode("line",{x1:s-5,y1:t-8,x2:s-12,y2:t-2,stroke:a,"stroke-width":"4","stroke-linecap":"round"},null,8,wt)])):y.value==="softRound"?(e.openBlock(),e.createElementBlock("g",{key:8,fill:a},[e.createElementVNode("circle",{cx:r+f.value*.2,cy:t+b.value*.2,r:"9"},null,8,Ct),e.createElementVNode("circle",{cx:s+f.value*.2,cy:t+b.value*.2,r:"9"},null,8,St),e.createElementVNode("circle",{cx:r+3,cy:t-3,r:"2.5",fill:"var(--robot-screen)"},null,8,$t),e.createElementVNode("circle",{cx:s+3,cy:t-3,r:"2.5",fill:"var(--robot-screen)"},null,8,qt)])):y.value==="bigRound"?(e.openBlock(),e.createElementBlock("g",{key:9,fill:a},[e.createElementVNode("circle",{cx:r,cy:t,r:"15",fill:"oklch(1 0 0 / 0.96)"}),e.createElementVNode("circle",{cx:s,cy:t,r:"15",fill:"oklch(1 0 0 / 0.96)"}),e.createElementVNode("circle",{cx:r+f.value*.5,cy:t+b.value*.5,r:"8",fill:a},null,8,Mt),e.createElementVNode("circle",{cx:s+f.value*.5,cy:t+b.value*.5,r:"8",fill:a},null,8,Dt),e.createElementVNode("circle",{cx:r+5,cy:t-5,r:"3",fill:"oklch(1 0 0 / 0.9)"},null,8,zt),e.createElementVNode("circle",{cx:s+5,cy:t-5,r:"3",fill:"oklch(1 0 0 / 0.9)"},null,8,At)])):y.value==="halfDroopy"?(e.openBlock(),e.createElementBlock("g",{key:10,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+2,rx:"10",ry:"11",fill:"oklch(1 0 0 / 0.9)"},null,8,Ot),e.createElementVNode("ellipse",{cx:s,cy:t+2,rx:"10",ry:"11",fill:"oklch(1 0 0 / 0.9)"},null,8,Rt),e.createElementVNode("ellipse",{cx:r,cy:t+5,rx:"6",ry:"7",fill:a},null,8,Tt),e.createElementVNode("ellipse",{cx:s,cy:t+5,rx:"6",ry:"7",fill:a},null,8,Lt),e.createElementVNode("rect",{x:r-12,y:t-12,width:"24",height:"12",fill:"var(--robot-screen)"},null,8,It),e.createElementVNode("rect",{x:s-12,y:t-12,width:"24",height:"12",fill:"var(--robot-screen)"},null,8,Pt)])):y.value==="peekSlit"?(e.openBlock(),e.createElementBlock("g",{key:11,stroke:a,"stroke-width":"4","stroke-linecap":"round",fill:"none"},[e.createElementVNode("line",{x1:r-9,y1:t,x2:r+9,y2:t},null,8,Ft),e.createElementVNode("line",{x1:s-9,y1:t,x2:s+9,y2:t},null,8,Gt)])):y.value==="halfSquint"?(e.openBlock(),e.createElementBlock("g",{key:12,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+1,rx:"7",ry:"9",fill:"oklch(1 0 0 / 0.9)"},null,8,Ht),e.createElementVNode("ellipse",{cx:r+2,cy:t+2,rx:"4.5",ry:"6",fill:a},null,8,Zt),e.createElementVNode("rect",{x:r-9,y:t-10,width:"18",height:"9",fill:"var(--robot-screen)"},null,8,jt),e.createElementVNode("ellipse",{cx:s,cy:t,rx:"9",ry:"11",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("ellipse",{cx:s+3,cy:t+1,rx:"6",ry:"7",fill:a},null,8,Ut)])):y.value==="scaredWide"?(e.openBlock(),e.createElementBlock("g",{key:13,fill:a},[e.createElementVNode("circle",{cx:r,cy:t,r:"14",fill:"oklch(1 0 0 / 0.98)"}),e.createElementVNode("circle",{cx:s,cy:t,r:"14",fill:"oklch(1 0 0 / 0.98)"}),e.createElementVNode("circle",{cx:r+3,cy:t+2,r:"7",fill:a},null,8,Qt),e.createElementVNode("circle",{cx:s-3,cy:t+2,r:"7",fill:a},null,8,Yt),e.createElementVNode("circle",{cx:r+6,cy:t-3,r:"2.5",fill:"oklch(1 0 0 / 0.95)"},null,8,Wt),e.createElementVNode("circle",{cx:s-1,cy:t-3,r:"2.5",fill:"oklch(1 0 0 / 0.95)"},null,8,Jt)])):y.value==="narrowSlant"?(e.openBlock(),e.createElementBlock("g",{key:14,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t,rx:"11",ry:"8",fill:"oklch(1 0 0 / 0.92)"}),e.createElementVNode("ellipse",{cx:s,cy:t,rx:"11",ry:"8",fill:"oklch(1 0 0 / 0.92)"}),e.createElementVNode("ellipse",{cx:r+2,cy:t+1,rx:"5",ry:"6",fill:a},null,8,Kt),e.createElementVNode("ellipse",{cx:s-2,cy:t+1,rx:"5",ry:"6",fill:a},null,8,Xt),e.createElementVNode("line",{x1:r-12,y1:t-7,x2:r+10,y2:t-4,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,vt),e.createElementVNode("line",{x1:s-10,y1:t-4,x2:s+12,y2:t-7,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,el)])):y.value==="dashEyes"?(e.openBlock(),e.createElementBlock("g",{key:15,stroke:a,"stroke-width":"6","stroke-linecap":"round"},[e.createElementVNode("line",{x1:r-10,y1:t,x2:r+10,y2:t},null,8,tl),e.createElementVNode("line",{x1:s-10,y1:t,x2:s+10,y2:t},null,8,ll)])):y.value==="halfClosed"?(e.openBlock(),e.createElementBlock("g",ol,[e.createElementVNode("ellipse",{cx:r,cy:t+2,rx:"11",ry:"12",fill:"oklch(1 0 0 / 0.88)"},null,8,al),e.createElementVNode("ellipse",{cx:s,cy:t+2,rx:"11",ry:"12",fill:"oklch(1 0 0 / 0.88)"},null,8,nl),e.createElementVNode("ellipse",{cx:r,cy:t+5,rx:"6",ry:"7",fill:a},null,8,rl),e.createElementVNode("ellipse",{cx:s,cy:t+5,rx:"6",ry:"7",fill:a},null,8,sl),e.createElementVNode("rect",{x:r-13,y:t-13,width:"26",height:"16",fill:"var(--robot-screen)"},null,8,il),e.createElementVNode("rect",{x:s-13,y:t-13,width:"26",height:"16",fill:"var(--robot-screen)"},null,8,cl),e.createElementVNode("path",{d:`M ${r-11} ${t+3} q 11 -6 22 0`,stroke:a,"stroke-width":"4.5","stroke-linecap":"round",fill:"none"},null,8,ml),e.createElementVNode("path",{d:`M ${s-11} ${t+3} q 11 -6 22 0`,stroke:a,"stroke-width":"4.5","stroke-linecap":"round",fill:"none"},null,8,dl)])):y.value==="thinkEyes"?(e.openBlock(),e.createElementBlock("g",{key:17,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t,rx:"9",ry:"10",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("ellipse",{cx:s,cy:t,rx:"9",ry:"10",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("ellipse",{cx:r,cy:t-2,rx:"5.5",ry:"6.5",fill:a},null,8,yl),e.createElementVNode("ellipse",{cx:s,cy:t-2,rx:"5.5",ry:"6.5",fill:a},null,8,hl),e.createElementVNode("line",{x1:r-8,y1:t-12,x2:r+6,y2:t-9,stroke:a,"stroke-width":"3.5","stroke-linecap":"round"},null,8,kl),e.createElementVNode("line",{x1:s-6,y1:t-9,x2:s+8,y2:t-12,stroke:a,"stroke-width":"3.5","stroke-linecap":"round"},null,8,pl)])):y.value==="blankDot"?(e.openBlock(),e.createElementBlock("g",{key:18,fill:a},[e.createElementVNode("circle",{cx:r,cy:t,r:"10",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("circle",{cx:s,cy:t,r:"10",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("circle",{cx:r,cy:t,r:"4",fill:a}),e.createElementVNode("circle",{cx:s,cy:t,r:"4",fill:a})])):y.value==="heavyLid"?(e.openBlock(),e.createElementBlock("g",fl,[e.createElementVNode("ellipse",{cx:r,cy:t+3,rx:"11",ry:"12",fill:"oklch(1 0 0 / 0.85)"},null,8,gl),e.createElementVNode("ellipse",{cx:s,cy:t+3,rx:"11",ry:"12",fill:"oklch(1 0 0 / 0.85)"},null,8,xl),e.createElementVNode("ellipse",{cx:r,cy:t+7,rx:"5",ry:"6",fill:a},null,8,_l),e.createElementVNode("ellipse",{cx:s,cy:t+7,rx:"5",ry:"6",fill:a},null,8,bl),e.createElementVNode("rect",{x:r-13,y:t-14,width:"26",height:"20",fill:"var(--robot-screen)"},null,8,ul),e.createElementVNode("rect",{x:s-13,y:t-14,width:"26",height:"20",fill:"var(--robot-screen)"},null,8,El),e.createElementVNode("path",{d:`M ${r-11} ${t+6} q 11 -4 22 0`,stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"},null,8,Nl),e.createElementVNode("path",{d:`M ${s-11} ${t+6} q 11 -4 22 0`,stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"},null,8,Bl)])):y.value==="smug"?(e.openBlock(),e.createElementBlock("g",{key:20,stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"},[e.createElementVNode("path",{d:`M ${r-11} ${t-2} q 11 9 22 2`},null,8,Vl),e.createElementVNode("path",{d:`M ${s-11} ${t-2} q 11 9 22 2`},null,8,wl)])):y.value==="cool"?(e.openBlock(),e.createElementBlock("g",{key:21,stroke:a,"stroke-width":"5","stroke-linecap":"round"},[e.createElementVNode("line",{x1:r-11,y1:t,x2:r+11,y2:t},null,8,Cl),e.createElementVNode("line",{x1:s-11,y1:t,x2:s+11,y2:t},null,8,Sl)])):y.value==="sad"?(e.openBlock(),e.createElementBlock("g",{key:22,stroke:a,"stroke-width":"6","stroke-linecap":"round",fill:"none"},[e.createElementVNode("path",{d:`M ${r-11} ${t-1} q 11 14 22 0`},null,8,$l),e.createElementVNode("path",{d:`M ${s-11} ${t-1} q 11 14 22 0`},null,8,ql)])):y.value==="teary"?(e.openBlock(),e.createElementBlock("g",{key:23,fill:a},[e.createElementVNode("circle",{cx:r,cy:t+1,r:"11",fill:"oklch(1 0 0 / 0.95)"},null,8,Ml),e.createElementVNode("circle",{cx:s,cy:t+1,r:"11",fill:"oklch(1 0 0 / 0.95)"},null,8,Dl),e.createElementVNode("circle",{cx:r+f.value*.3,cy:t+3+b.value*.3,r:"6.5",fill:a},null,8,zl),e.createElementVNode("circle",{cx:s+f.value*.3,cy:t+3+b.value*.3,r:"6.5",fill:a},null,8,Al),e.createElementVNode("circle",{cx:r+3,cy:t-3,r:"2.5",fill:"oklch(1 0 0 / 0.95)"},null,8,Ol),e.createElementVNode("circle",{cx:s+3,cy:t-3,r:"2.5",fill:"oklch(1 0 0 / 0.95)"},null,8,Rl)])):y.value==="angry"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:24},[e.createElementVNode("g",{stroke:a,"stroke-width":"5","stroke-linecap":"round"},[e.createElementVNode("line",{x1:r-12,y1:t-13,x2:r+8,y2:t-6},null,8,Tl),e.createElementVNode("line",{x1:s+12,y1:t-13,x2:s-8,y2:t-6},null,8,Ll)]),e.createElementVNode("g",{fill:a},[e.createElementVNode("ellipse",{cx:r+f.value*.4,cy:t+2,rx:"7",ry:"8"},null,8,Il),e.createElementVNode("ellipse",{cx:s+f.value*.4,cy:t+2,rx:"7",ry:"8"},null,8,Pl)])],64)):y.value==="excited"?(e.openBlock(),e.createElementBlock("g",{key:25,fill:a},[e.createElementVNode("circle",{cx:r+f.value*.3,cy:t+b.value*.3,r:"13"},null,8,Fl),e.createElementVNode("circle",{cx:s+f.value*.3,cy:t+b.value*.3,r:"13"},null,8,Gl),e.createElementVNode("circle",{cx:r+4,cy:t-4,r:"3",fill:"var(--robot-screen)"},null,8,Hl),e.createElementVNode("circle",{cx:s+4,cy:t-4,r:"3",fill:"var(--robot-screen)"},null,8,Zl)])):y.value==="lookup"?(e.openBlock(),e.createElementBlock("g",{key:26,fill:a},[e.createElementVNode("ellipse",{cx:r+f.value*.4,cy:t-4,rx:"7",ry:"9"},null,8,jl),e.createElementVNode("ellipse",{cx:s+f.value*.4,cy:t-4,rx:"7",ry:"9"},null,8,Ul)])):y.value==="lookdown"?(e.openBlock(),e.createElementBlock("g",{key:27,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+5,rx:"7",ry:"9"},null,8,Ql),e.createElementVNode("ellipse",{cx:s,cy:t+5,rx:"7",ry:"9"},null,8,Yl)])):y.value==="wide"?(e.openBlock(),e.createElementBlock("g",{key:28,fill:a},[e.createElementVNode("circle",{cx:r,cy:t,r:"13",fill:"oklch(1 0 0 / 0.95)"}),e.createElementVNode("circle",{cx:s,cy:t,r:"13",fill:"oklch(1 0 0 / 0.95)"}),e.createElementVNode("circle",{cx:r+f.value*.5,cy:t+b.value*.5,r:"6",fill:a},null,8,Wl),e.createElementVNode("circle",{cx:s+f.value*.5,cy:t+b.value*.5,r:"6",fill:a},null,8,Jl)])):y.value==="half"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:29},[e.createElementVNode("g",{fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+3,rx:"7",ry:"5"},null,8,Kl),e.createElementVNode("ellipse",{cx:s,cy:t+3,rx:"7",ry:"5"},null,8,Xl)]),e.createElementVNode("g",{stroke:a,"stroke-width":"5","stroke-linecap":"round"},[e.createElementVNode("line",{x1:r-11,y1:t-4,x2:r+11,y2:t-4},null,8,vl),e.createElementVNode("line",{x1:s-11,y1:t-4,x2:s+11,y2:t-4},null,8,eo)]),c.emotion==="tired"?(e.openBlock(),e.createElementBlock("g",{key:0,stroke:a,"stroke-width":"2.5","stroke-linecap":"round",fill:"none",opacity:"0.6"},[e.createElementVNode("path",{d:`M ${r-9} ${t+12} q 9 5 18 0`},null,8,to),e.createElementVNode("path",{d:`M ${s-9} ${t+12} q 9 5 18 0`},null,8,lo)])):e.createCommentVNode("",!0)],64)):y.value==="dizzy"?(e.openBlock(),e.createElementBlock("g",{key:30,stroke:a,"stroke-width":"3",fill:"none","stroke-linecap":"round"},[e.createElementVNode("path",{d:`M ${r} ${t} m -8 0 a 8 8 0 1 1 5 7`},null,8,oo),e.createElementVNode("path",{d:`M ${s} ${t} m -8 0 a 8 8 0 1 1 5 7`},null,8,ao)])):y.value==="confused"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:31},[e.createElementVNode("circle",{cx:r,cy:t,r:"10",fill:"oklch(1 0 0 / 0.95)"}),e.createElementVNode("circle",{cx:r+f.value*.4,cy:t+b.value*.4,r:"5",fill:a},null,8,no),e.createElementVNode("line",{x1:s-9,y1:t,x2:s+9,y2:t,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,ro)],64)):y.value==="blank"?(e.openBlock(),e.createElementBlock("g",{key:32,fill:a,opacity:"0.55"},[e.createElementVNode("circle",{cx:r,cy:t,r:"5"}),e.createElementVNode("circle",{cx:s,cy:t,r:"5"})])):(e.openBlock(),e.createElementBlock("g",{key:33,fill:a},[e.createElementVNode("rect",{x:r-8+f.value,y:t-12+b.value,width:"16",height:"24",rx:"8"},null,8,so),e.createElementVNode("rect",{x:s-8+f.value,y:t-12+b.value,width:"16",height:"24",rx:"8"},null,8,io)])),c.speaking?(e.openBlock(),e.createElementBlock("ellipse",{key:34,cx:"120",cy:"138",rx:"13",ry:"10",fill:a,class:"origin-center animate-wave",style:{transformBox:"fill-box",transformOrigin:"center"}})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:35},[o.value.mouth==="smile"?(e.openBlock(),e.createElementBlock("path",{key:0,d:"M 104 134 q 16 16 32 0",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"})):o.value.mouth==="open"?(e.openBlock(),e.createElementBlock("path",{key:1,d:"M 104 132 q 16 22 32 0 q -16 6 -32 0 Z",fill:a})):o.value.mouth==="bigopen"?(e.openBlock(),e.createElementBlock("ellipse",{key:2,cx:"120",cy:"140",rx:"11",ry:"14",fill:a})):o.value.mouth==="frown"?(e.openBlock(),e.createElementBlock("path",{key:3,d:"M 106 142 q 14 -12 28 0",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"})):o.value.mouth==="dot"?(e.openBlock(),e.createElementBlock("ellipse",{key:4,cx:"120",cy:"138",rx:"7",ry:"6",fill:a,opacity:"0.85"})):o.value.mouth==="flat"?(e.openBlock(),e.createElementBlock("line",{key:5,x1:"110",y1:"138",x2:"130",y2:"138",stroke:a,"stroke-width":"5","stroke-linecap":"round"})):o.value.mouth==="o"?(e.openBlock(),e.createElementBlock("ellipse",{key:6,cx:"120",cy:"139",rx:"7",ry:"9",fill:a})):o.value.mouth==="pout"?(e.openBlock(),e.createElementBlock("ellipse",{key:7,cx:"120",cy:"140",rx:"6",ry:"5",fill:a})):o.value.mouth==="wavy"?(e.openBlock(),e.createElementBlock("path",{key:8,d:"M 106 138 q 6 -7 12 0 q 6 7 12 0",stroke:a,"stroke-width":"4","stroke-linecap":"round",fill:"none"})):o.value.mouth==="calm"?(e.openBlock(),e.createElementBlock("path",{key:9,d:"M 110 138 q 10 5 20 0",stroke:a,"stroke-width":"4","stroke-linecap":"round",fill:"none"})):o.value.mouth==="grit"?(e.openBlock(),e.createElementBlock("g",co,[e.createElementVNode("rect",{x:"106",y:"134",width:"28",height:"10",rx:"3",fill:a}),l[2]||(l[2]=e.createElementVNode("line",{x1:"115",y1:"134",x2:"115",y2:"144",stroke:"var(--robot-screen)","stroke-width":"2"},null,-1)),l[3]||(l[3]=e.createElementVNode("line",{x1:"125",y1:"134",x2:"125",y2:"144",stroke:"var(--robot-screen)","stroke-width":"2"},null,-1))])):o.value.mouth==="bigSmile"?(e.openBlock(),e.createElementBlock("path",{key:11,d:"M 100 132 q 20 22 40 0",stroke:a,"stroke-width":"6","stroke-linecap":"round",fill:"none"})):o.value.mouth==="bigFrown"?(e.openBlock(),e.createElementBlock("path",{key:12,d:"M 100 146 q 20 -20 40 0",stroke:a,"stroke-width":"6","stroke-linecap":"round",fill:"none"})):o.value.mouth==="bitterSmile"?(e.openBlock(),e.createElementBlock("path",{key:13,d:"M 106 140 q 8 -4 14 2 q 6 4 14 -4",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"})):o.value.mouth==="heartMouth"?(e.openBlock(),e.createElementBlock("path",{key:14,d:"M 120 142 C 114 135, 108 132, 108 128 C 108 122, 116 122, 120 128 C 124 122, 132 122, 132 128 C 132 132, 126 135, 120 142 Z",fill:a,opacity:"0.9"})):o.value.mouth==="awkwardSmile"?(e.openBlock(),e.createElementBlock("path",{key:15,d:"M 108 140 q 6 -6 12 0 q 7 6 12 -3",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"})):o.value.mouth==="poutBig"?(e.openBlock(),e.createElementBlock("g",mo,[e.createElementVNode("ellipse",{cx:"120",cy:"141",rx:"12",ry:"8",fill:a,opacity:"0.85"}),l[4]||(l[4]=e.createElementVNode("ellipse",{cx:"120",cy:"137",rx:"10",ry:"5",fill:"oklch(1 0 0 / 0.25)"},null,-1))])):(e.openBlock(),e.createElementBlock("path",{key:17,d:"M 108 136 q 12 8 24 0",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"}))],64)),o.value.sweat?(e.openBlock(),e.createElementBlock("path",yo)):e.createCommentVNode("",!0),o.value.tear?(e.openBlock(),e.createElementBlock("ellipse",{key:37,cx:s+11,cy:t+14,rx:"4",ry:"6",fill:a,opacity:"0.9"},null,8,ho)):e.createCommentVNode("",!0),o.value.tear2?(e.openBlock(),e.createElementBlock("ellipse",{key:38,cx:r-11,cy:t+14,rx:"4",ry:"6",fill:a,opacity:"0.9"},null,8,ko)):e.createCommentVNode("",!0),xn.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:39},e.renderList(Nn,(n,x)=>e.createElementVNode("path",{key:x,d:R(n.x,n.y),fill:"var(--robot-amber)",class:"animate-sparkle",style:e.normalizeStyle({animationDelay:`${n.delay}s`,transformBox:"fill-box",transformOrigin:"center"})},null,12,po)),64)):e.createCommentVNode("",!0),o.value.sym==="anger"?(e.openBlock(),e.createElementBlock("g",{key:40,stroke:o.value.symColor,"stroke-width":"3.5","stroke-linecap":"round",class:"animate-alert-flash"},[...l[5]||(l[5]=[e.createElementVNode("path",{d:"M 160 60 l 8 0 M 164 56 l 0 8"},null,-1),e.createElementVNode("path",{d:"M 174 70 l 6 4 M 180 70 l -6 4"},null,-1)])],8,fo)):o.value.sym==="question"?(e.openBlock(),e.createElementBlock("text",{key:41,x:"160",y:"74","font-size":"26",fill:o.value.symColor,"font-weight":"bold"},"?",8,go)):o.value.sym==="exclaim"?(e.openBlock(),e.createElementBlock("text",{key:42,x:"162",y:"74","font-size":"26",fill:o.value.symColor,"font-weight":"bold"},"!",8,xo)):o.value.sym==="ellipsis"?(e.openBlock(),e.createElementBlock("g",{key:43,fill:o.value.symColor},[...l[6]||(l[6]=[e.createElementVNode("circle",{cx:"156",cy:"66",r:"3",class:"animate-dot-blink",style:{"animation-delay":"0s"}},null,-1),e.createElementVNode("circle",{cx:"166",cy:"66",r:"3",class:"animate-dot-blink",style:{"animation-delay":"0.2s"}},null,-1),e.createElementVNode("circle",{cx:"176",cy:"66",r:"3",class:"animate-dot-blink",style:{"animation-delay":"0.4s"}},null,-1)])],8,_o)):o.value.sym==="bulb"?(e.openBlock(),e.createElementBlock("g",bo,[e.createElementVNode("circle",{cx:"166",cy:"58",r:"11",fill:o.value.symColor,class:"animate-antenna-pulse origin-center"},null,8,uo),l[7]||(l[7]=e.createStaticVNode('<rect x="161" y="68" width="10" height="6" rx="2" fill="var(--robot-blue-dark)"></rect><g stroke="var(--robot-amber)" stroke-width="2" stroke-linecap="round"><line x1="166" y1="40" x2="166" y2="44"></line><line x1="182" y1="50" x2="179" y2="52"></line><line x1="150" y1="50" x2="153" y2="52"></line></g>',2))])):o.value.sym==="check"?(e.openBlock(),e.createElementBlock("path",{key:45,d:"M 156 64 l 6 7 l 12 -15",stroke:o.value.symColor,"stroke-width":"5","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,Eo)):o.value.sym==="gear"?(e.openBlock(),e.createElementBlock("g",No,[e.createElementVNode("g",{fill:o.value.symColor},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(Bn,n=>e.createElementVNode("rect",{key:n,x:"165",y:"46",width:"6",height:"8",rx:"1.5",transform:`rotate(${n} 168 62)`},null,8,Vo)),64)),l[8]||(l[8]=e.createElementVNode("circle",{cx:"168",cy:"62",r:"11"},null,-1))],8,Bo),l[9]||(l[9]=e.createElementVNode("circle",{cx:"168",cy:"62",r:"4.5",fill:"var(--robot-screen)"},null,-1))])):o.value.sym==="pencil"?(e.openBlock(),e.createElementBlock("g",wo,[e.createElementVNode("rect",{x:"164",y:"46",width:"8",height:"22",rx:"2",fill:o.value.symColor},null,8,Co),l[10]||(l[10]=e.createElementVNode("rect",{x:"164",y:"44",width:"8",height:"6",fill:"var(--robot-amber)"},null,-1)),l[11]||(l[11]=e.createElementVNode("path",{d:"M 164 68 l 4 8 l 4 -8 Z",fill:"var(--robot-screen)"},null,-1))])):o.value.sym==="bell"?(e.openBlock(),e.createElementBlock("g",So,[e.createElementVNode("path",{d:"M 168 46 a 11 11 0 0 1 11 11 v 6 l 3 4 h -28 l 3 -4 v -6 a 11 11 0 0 1 11 -11 Z",fill:o.value.symColor},null,8,$o),e.createElementVNode("circle",{cx:"168",cy:"73",r:"3",fill:o.value.symColor},null,8,qo)])):o.value.sym==="loader"?(e.openBlock(),e.createElementBlock("g",Mo,[e.createElementVNode("path",{d:"M 168 48 a 12 12 0 1 1 -8.5 3.5",fill:"none",stroke:o.value.symColor,"stroke-width":"4","stroke-linecap":"round"},null,8,Do)])):o.value.sym==="warning"?(e.openBlock(),e.createElementBlock("g",zo,[e.createElementVNode("path",{d:"M 168 46 l 14 26 l -28 0 Z",fill:o.value.symColor,stroke:"var(--robot-screen)","stroke-width":"1.5","stroke-linejoin":"round"},null,8,Ao),l[12]||(l[12]=e.createElementVNode("line",{x1:"168",y1:"56",x2:"168",y2:"64",stroke:"var(--robot-screen)","stroke-width":"3","stroke-linecap":"round"},null,-1)),l[13]||(l[13]=e.createElementVNode("circle",{cx:"168",cy:"69",r:"1.8",fill:"var(--robot-screen)"},null,-1))])):o.value.sym==="siren"?(e.openBlock(),e.createElementBlock("g",Oo,[e.createElementVNode("g",Ro,[e.createElementVNode("path",{d:"M 156 70 a 12 12 0 0 1 24 0 Z",fill:o.value.symColor},null,8,To),e.createElementVNode("rect",{x:"152",y:"70",width:"32",height:"5",rx:"2",fill:o.value.symColor},null,8,Lo)]),e.createElementVNode("g",{stroke:o.value.symColor,"stroke-width":"2.5","stroke-linecap":"round",class:"animate-alert-flash",opacity:"0.7"},[...l[14]||(l[14]=[e.createElementVNode("line",{x1:"146",y1:"56",x2:"150",y2:"60"},null,-1),e.createElementVNode("line",{x1:"190",y1:"56",x2:"186",y2:"60"},null,-1),e.createElementVNode("line",{x1:"168",y1:"44",x2:"168",y2:"49"},null,-1)])],8,Io)])):o.value.sym==="broken"?(e.openBlock(),e.createElementBlock("path",{key:52,d:"M 170 46 l -10 16 l 7 0 l -5 14 l 14 -20 l -8 0 l 6 -10 Z",fill:o.value.symColor,class:"animate-alert-flash",stroke:"var(--robot-screen)","stroke-width":"1","stroke-linejoin":"round"},null,8,Po)):o.value.sym==="scan"?(e.openBlock(),e.createElementBlock("g",Fo,[e.createElementVNode("circle",{cx:"166",cy:"60",r:"9",fill:"none",stroke:o.value.symColor,"stroke-width":"3"},null,8,Go),e.createElementVNode("line",{x1:"173",y1:"67",x2:"180",y2:"74",stroke:o.value.symColor,"stroke-width":"3.5","stroke-linecap":"round"},null,8,Ho)])):o.value.sym==="lotus"?(e.openBlock(),e.createElementBlock("g",Zo,[e.createElementVNode("ellipse",{cx:"120",cy:"34",rx:"40",ry:"9",fill:"none",stroke:o.value.symColor,"stroke-width":"3",opacity:"0.8",class:"animate-antenna-pulse origin-center",style:{transformOrigin:"120px 34px"}},null,8,jo),e.createElementVNode("circle",{cx:"92",cy:"34",r:"2",fill:o.value.symColor},null,8,Uo),e.createElementVNode("circle",{cx:"148",cy:"34",r:"2",fill:o.value.symColor},null,8,Qo)])):o.value.sym==="heart"?(e.openBlock(),e.createElementBlock("path",{key:55,d:"M 170 56 c -4 -6 -13 -2 -8 5 c 2 3 8 7 8 7 c 0 0 6 -4 8 -7 c 5 -7 -4 -11 -8 -5 Z",fill:o.value.symColor,class:"animate-antenna-pulse origin-center",style:{transformOrigin:"170px 60px"}},null,8,Yo)):o.value.sym==="soundwave"?(e.openBlock(),e.createElementBlock("g",{key:56,stroke:o.value.symColor,"stroke-width":"3","stroke-linecap":"round",fill:"none"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([0,.5,1],(n,x)=>e.createElementVNode("path",{key:x,d:"M 188 52 q 9 10 0 20",class:"animate-sound-ripple",style:e.normalizeStyle({transformOrigin:"188px 62px",animationDelay:`${n}s`})},null,4)),64))],8,Wo)):o.value.sym==="pin"?(e.openBlock(),e.createElementBlock("g",Jo,[e.createElementVNode("path",{d:"M 168 44 a 11 11 0 0 1 11 11 c 0 8 -11 19 -11 19 c 0 0 -11 -11 -11 -19 a 11 11 0 0 1 11 -11 Z",fill:o.value.symColor},null,8,Ko),l[15]||(l[15]=e.createElementVNode("circle",{cx:"168",cy:"55",r:"4",fill:"var(--robot-screen)"},null,-1)),e.createElementVNode("ellipse",{cx:"168",cy:"77",rx:"8",ry:"2.5",fill:o.value.symColor,opacity:"0.3"},null,8,Xo)])):o.value.sym==="target"?(e.openBlock(),e.createElementBlock("g",{key:58,stroke:o.value.symColor,"stroke-width":"2.5",fill:"none"},[l[16]||(l[16]=e.createElementVNode("circle",{cx:"168",cy:"60",r:"13",class:"animate-target-pulse",style:{transformOrigin:"168px 60px"}},null,-1)),l[17]||(l[17]=e.createElementVNode("circle",{cx:"168",cy:"60",r:"6"},null,-1)),e.createElementVNode("circle",{cx:"168",cy:"60",r:"1.8",fill:o.value.symColor,stroke:"none"},null,8,ea),l[18]||(l[18]=e.createStaticVNode('<g stroke-linecap="round"><line x1="168" y1="42" x2="168" y2="49"></line><line x1="168" y1="71" x2="168" y2="78"></line><line x1="150" y1="60" x2="157" y2="60"></line><line x1="179" y1="60" x2="186" y2="60"></line></g>',1))],8,vo)):o.value.sym==="book"?(e.openBlock(),e.createElementBlock("g",ta,[l[19]||(l[19]=e.createElementVNode("path",{d:"M 168 50 c -6 -4 -14 -4 -18 0 v 18 c 4 -4 12 -4 18 0 Z",fill:"oklch(0.96 0.02 95)",stroke:"var(--robot-amber)","stroke-width":"1.5"},null,-1)),l[20]||(l[20]=e.createElementVNode("path",{d:"M 168 50 c 6 -4 14 -4 18 0 v 18 c -4 -4 -12 -4 -18 0 Z",fill:"oklch(0.96 0.02 95)",stroke:"var(--robot-amber)","stroke-width":"1.5"},null,-1)),e.createElementVNode("line",{x1:"168",y1:"50",x2:"168",y2:"68",stroke:o.value.symColor,"stroke-width":"2"},null,8,la),l[21]||(l[21]=e.createElementVNode("line",{x1:"154",y1:"57",x2:"163",y2:"56",stroke:"var(--robot-amber)","stroke-width":"1.2","stroke-linecap":"round"},null,-1)),l[22]||(l[22]=e.createElementVNode("line",{x1:"154",y1:"62",x2:"163",y2:"61",stroke:"var(--robot-amber)","stroke-width":"1.2","stroke-linecap":"round"},null,-1)),l[23]||(l[23]=e.createElementVNode("line",{x1:"173",y1:"56",x2:"182",y2:"57",stroke:"var(--robot-amber)","stroke-width":"1.2","stroke-linecap":"round"},null,-1)),l[24]||(l[24]=e.createElementVNode("line",{x1:"173",y1:"61",x2:"182",y2:"62",stroke:"var(--robot-amber)","stroke-width":"1.2","stroke-linecap":"round"},null,-1))])):o.value.sym==="plane"?(e.openBlock(),e.createElementBlock("g",oa,[e.createElementVNode("path",{d:"M 150 46 h 36 a 6 6 0 0 1 6 6 v 14 a 6 6 0 0 1 -6 6 h -20 l -8 8 v -8 h -2 a 6 6 0 0 1 -6 -6 v -14 a 6 6 0 0 1 6 -6 Z",fill:o.value.symColor},null,8,aa),l[25]||(l[25]=e.createElementVNode("circle",{cx:"160",cy:"59",r:"2.6",fill:"oklch(1 0 0)",class:"animate-dot-blink",style:{animationDelay:"0s"}},null,-1)),l[26]||(l[26]=e.createElementVNode("circle",{cx:"168",cy:"59",r:"2.6",fill:"oklch(1 0 0)",class:"animate-dot-blink",style:{animationDelay:"0.2s"}},null,-1)),l[27]||(l[27]=e.createElementVNode("circle",{cx:"176",cy:"59",r:"2.6",fill:"oklch(1 0 0)",class:"animate-dot-blink",style:{animationDelay:"0.4s"}},null,-1))])):o.value.sym==="msgOk"?(e.openBlock(),e.createElementBlock("g",na,[e.createElementVNode("path",{d:"M 150 46 h 36 a 6 6 0 0 1 6 6 v 14 a 6 6 0 0 1 -6 6 h -20 l -8 8 v -8 h -2 a 6 6 0 0 1 -6 -6 v -14 a 6 6 0 0 1 6 -6 Z",fill:o.value.symColor},null,8,ra),l[28]||(l[28]=e.createElementVNode("path",{d:"M 161 59 l 4 5 l 9 -10",stroke:"oklch(1 0 0)","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,-1))])):o.value.sym==="msgFail"?(e.openBlock(),e.createElementBlock("g",sa,[e.createElementVNode("path",{d:"M 150 46 h 36 a 6 6 0 0 1 6 6 v 14 a 6 6 0 0 1 -6 6 h -20 l -8 8 v -8 h -2 a 6 6 0 0 1 -6 -6 v -14 a 6 6 0 0 1 6 -6 Z",fill:o.value.symColor},null,8,ia),l[29]||(l[29]=e.createElementVNode("line",{x1:"168",y1:"52",x2:"168",y2:"62",stroke:"oklch(1 0 0)","stroke-width":"3","stroke-linecap":"round"},null,-1)),l[30]||(l[30]=e.createElementVNode("circle",{cx:"168",cy:"68",r:"2",fill:"oklch(1 0 0)"},null,-1))])):o.value.sym==="msgIn"?(e.openBlock(),e.createElementBlock("g",ca,[e.createElementVNode("path",{d:"M 150 46 h 36 a 6 6 0 0 1 6 6 v 14 a 6 6 0 0 1 -6 6 h -20 l -8 8 v -8 h -2 a 6 6 0 0 1 -6 -6 v -14 a 6 6 0 0 1 6 -6 Z",fill:o.value.symColor},null,8,ma),l[31]||(l[31]=e.createElementVNode("path",{d:"M 168 53 v 10 m 0 0 l -4 -4 m 4 4 l 4 -4",stroke:"oklch(1 0 0)","stroke-width":"2.6","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",class:"animate-locate-bob",style:{transformOrigin:"168px 58px"}},null,-1))])):o.value.sym==="lightning"?(e.openBlock(),e.createElementBlock("g",da,[e.createElementVNode("path",{d:"M 172 44 l -9 14 h 6 l -5 13 l 14 -18 h -7 l 6 -9 Z",fill:o.value.symColor,stroke:"oklch(1 0 0 / 0.3)","stroke-width":"0.8","stroke-linejoin":"round"},null,8,ya)])):o.value.sym==="sparkle2"?(e.openBlock(),e.createElementBlock("g",ha,[e.createElementVNode("path",{d:"M 168 46 l 2.5 8 l 8 0 l -6.5 5 l 2.5 8 l -6.5 -5 l -6.5 5 l 2.5 -8 l -6.5 -5 l 8 0 Z",fill:o.value.symColor},null,8,ka),e.createElementVNode("circle",{cx:"160",cy:"75",r:"2.5",fill:o.value.symColor,opacity:"0.7",class:"animate-dot-blink",style:{animationDelay:"0.3s"}},null,8,pa),e.createElementVNode("circle",{cx:"176",cy:"77",r:"1.8",fill:o.value.symColor,opacity:"0.6",class:"animate-dot-blink",style:{animationDelay:"0.6s"}},null,8,fa)])):o.value.sym==="zzz"?(e.openBlock(),e.createElementBlock("g",ga,[e.createElementVNode("text",{x:"158",y:"82","font-size":"8","font-weight":"700","font-family":"monospace",fill:o.value.symColor,class:"animate-dot-blink",style:{animationDelay:"0s"}},"Z",8,xa),e.createElementVNode("text",{x:"165",y:"73","font-size":"11","font-weight":"700","font-family":"monospace",fill:o.value.symColor,class:"animate-dot-blink",style:{animationDelay:"0.4s"}},"Z",8,_a),e.createElementVNode("text",{x:"174",y:"62","font-size":"14","font-weight":"700","font-family":"monospace",fill:o.value.symColor,class:"animate-dot-blink",style:{animationDelay:"0.8s"}},"Z",8,ba)])):o.value.sym==="shield"?(e.openBlock(),e.createElementBlock("g",ua,[e.createElementVNode("path",{d:"M 156 46 C 156 43, 158 42, 162 42 L 174 42 C 178 42, 180 43, 180 46 L 180 62 C 180 70, 168 78, 168 78 C 168 78, 156 70, 156 62 Z",fill:o.value.symColor,opacity:"0.92"},null,8,Ea),l[32]||(l[32]=e.createElementVNode("path",{d:"M 158 47 C 158 45, 160 44, 163 44 L 173 44 L 173 60 C 173 65, 168 70, 168 70 C 162 66, 158 61, 158 57 Z",fill:"oklch(1 0 0 / 0.22)"},null,-1)),l[33]||(l[33]=e.createElementVNode("line",{x1:"168",y1:"44",x2:"168",y2:"76",stroke:"oklch(1 0 0 / 0.35)","stroke-width":"1.5","stroke-linecap":"round"},null,-1)),l[34]||(l[34]=e.createElementVNode("line",{x1:"158",y1:"58",x2:"178",y2:"58",stroke:"oklch(1 0 0 / 0.35)","stroke-width":"1.5","stroke-linecap":"round"},null,-1))])):o.value.sym==="miniBasketball"?(e.openBlock(),e.createElementBlock("g",Na,[...l[35]||(l[35]=[e.createStaticVNode('<circle cx="168" cy="62" r="14" fill="oklch(0.65 0.16 40)"></circle><path d="M 168 48 A 14 14 0 0 1 182 62 A 14 14 0 0 1 168 76 Q 177 70 177 62 Q 177 54 168 48 Z" fill="oklch(0.52 0.14 36)"></path><ellipse cx="162" cy="55" rx="3.5" ry="2.5" fill="oklch(0.84 0.10 55)" opacity="0.55" transform="rotate(-15,162,55)"></ellipse><line x1="154" y1="62" x2="182" y2="62" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" stroke-linecap="round"></line><path d="M 161 48 Q 155 62 161 76" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" fill="none" stroke-linecap="round"></path><path d="M 175 48 Q 181 62 175 76" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" fill="none" stroke-linecap="round"></path><path d="M 154 56 Q 168 50 182 56" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" fill="none" stroke-linecap="round"></path><path d="M 154 68 Q 168 74 182 68" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" fill="none" stroke-linecap="round"></path>',8)])])):o.value.sym==="lowBattery"?(e.openBlock(),e.createElementBlock("g",Ba,[e.createElementVNode("rect",{x:"152",y:"50",width:"28",height:"16",rx:"3",fill:"none",stroke:o.value.symColor,"stroke-width":"2.5"},null,8,Va),e.createElementVNode("rect",{x:"180",y:"54",width:"4",height:"8",rx:"1.5",fill:o.value.symColor,opacity:"0.7"},null,8,wa),e.createElementVNode("rect",{x:"154.5",y:"52.5",width:"5",height:"11",rx:"1.5",fill:o.value.symColor},null,8,Ca),l[36]||(l[36]=e.createElementVNode("text",{x:"161",y:"64","font-size":"10","font-weight":"700","font-family":"monospace",fill:"oklch(1 0 0 / 0.9)",class:"animate-dot-blink",style:{animationDelay:"0.2s"}},"!",-1))])):e.createCommentVNode("",!0),w.value==="heart"?(e.openBlock(),e.createElementBlock("path",{key:70,d:"M 120 36 c -9 -13 -28 -4 -17 10 c 4 6 17 15 17 15 c 0 0 13 -9 17 -15 c 11 -14 -8 -23 -17 -10 Z",fill:_,class:"animate-heart-beat",style:{transformBox:"fill-box",transformOrigin:"center"}})):e.createCommentVNode("",!0),w.value==="kiss"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:71},e.renderList([0,.7,1.4],(n,x)=>e.createElementVNode("path",{key:x,d:"M 196 96 c -4 -6 -13 -2 -8 5 c 2 3 8 7 8 7 c 0 0 6 -4 8 -7 c 5 -7 -4 -11 -8 -5 Z",fill:_,class:"animate-heart-fly",style:e.normalizeStyle({animationDelay:`${n}s`})},null,4)),64)):e.createCommentVNode("",!0),c.action==="ironMountain"?(e.openBlock(),e.createElementBlock("g",Sa,[...l[37]||(l[37]=[e.createStaticVNode('<rect x="56" y="188" width="128" height="14" rx="7" fill="oklch(0.32 0.10 248)"></rect><rect x="60" y="200" width="50" height="26" rx="8" fill="oklch(0.32 0.10 248)"></rect><rect x="130" y="200" width="50" height="26" rx="8" fill="oklch(0.32 0.10 248)"></rect><line x1="120" y1="200" x2="120" y2="226" stroke="oklch(0.42 0.08 248)" stroke-width="2.5" stroke-linecap="round"></line><path d="M 86 48 L 86 188" stroke="oklch(0.32 0.10 248)" stroke-width="11" stroke-linecap="round"></path><path d="M 154 48 L 154 188" stroke="oklch(0.32 0.10 248)" stroke-width="11" stroke-linecap="round"></path><rect x="79" y="43" width="14" height="11" rx="3" fill="oklch(0.72 0.18 80)" stroke="oklch(0.55 0.12 72)" stroke-width="1.5"></rect><line x1="86" y1="43" x2="86" y2="54" stroke="oklch(0.48 0.10 72)" stroke-width="2" stroke-linecap="round"></line><rect x="147" y="43" width="14" height="11" rx="3" fill="oklch(0.72 0.18 80)" stroke="oklch(0.55 0.12 72)" stroke-width="1.5"></rect><line x1="154" y1="43" x2="154" y2="54" stroke="oklch(0.48 0.10 72)" stroke-width="2" stroke-linecap="round"></line><rect x="106" y="136" width="28" height="24" rx="5" fill="oklch(0.36 0.10 248)" stroke="oklch(0.45 0.08 248)" stroke-width="2"></rect><line x1="106" y1="148" x2="134" y2="148" stroke="oklch(0.45 0.08 248)" stroke-width="1.8" stroke-linecap="round"></line><rect x="115" y="144" width="10" height="8" rx="2" fill="oklch(0.72 0.18 80)"></rect>',13)])])):e.createCommentVNode("",!0),c.action==="playBasketball"?(e.openBlock(),e.createElementBlock("g",$a,[...l[38]||(l[38]=[e.createStaticVNode('<circle cx="120" cy="148" r="22" fill="oklch(0.65 0.16 40)"></circle><path d="M 120 126 A 22 22 0 0 1 142 148 A 22 22 0 0 1 120 170 Q 134 162 134 148 Q 134 134 120 126 Z" fill="oklch(0.52 0.14 36)"></path><ellipse cx="112" cy="136" rx="6" ry="4.5" fill="oklch(0.85 0.10 55)" opacity="0.55" transform="rotate(-20,112,136)"></ellipse><line x1="98" y1="148" x2="142" y2="148" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" stroke-linecap="round"></line><path d="M 109 126 Q 101 148 109 170" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" fill="none" stroke-linecap="round"></path><path d="M 131 126 Q 139 148 131 170" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" fill="none" stroke-linecap="round"></path><path d="M 98 140 Q 120 131 142 140" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" fill="none" stroke-linecap="round"></path><path d="M 98 156 Q 120 165 142 156" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" fill="none" stroke-linecap="round"></path>',8)])])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("g",qa,[l[39]||(l[39]=e.createElementVNode("line",{x1:"230",y1:"72",x2:"230",y2:"180",stroke:"var(--robot-blue-dark)","stroke-width":"5","stroke-linecap":"round"},null,-1)),e.createElementVNode("circle",{cx:"230",cy:"128",r:"7",fill:B.value,stroke:"oklch(1 0 0 / 0.35)","stroke-width":"1.5"},null,8,Ma),l[40]||(l[40]=e.createElementVNode("rect",{x:"211",y:"76",width:"38",height:"78",rx:"14",fill:"oklch(0.18 0.04 250)",stroke:"oklch(1 0 0 / 0.42)","stroke-width":"2"},null,-1)),l[41]||(l[41]=e.createElementVNode("rect",{x:"216",y:"82",width:"28",height:"66",rx:"10",fill:"oklch(0.08 0.03 250 / 0.82)"},null,-1)),e.createElementVNode("circle",{cx:"230",cy:"95",r:"8.5",fill:"oklch(0.6 0.23 22)",opacity:S.value==="red"?1:.22,class:e.normalizeClass(S.value==="red"?"animate-traffic-light-active":"")},null,10,Da),e.createElementVNode("circle",{cx:"230",cy:"115",r:"8.5",fill:"oklch(0.84 0.16 95)",opacity:S.value==="yellow"?1:.22,class:e.normalizeClass(S.value==="yellow"?"animate-traffic-light-active":"")},null,10,za),e.createElementVNode("circle",{cx:"230",cy:"135",r:"8.5",fill:"oklch(0.68 0.16 150)",opacity:S.value==="green"?1:.22,class:e.normalizeClass(S.value==="green"?"animate-traffic-light-active":"")},null,10,Aa)])):e.createCommentVNode("",!0),hn.value?(e.openBlock(),e.createElementBlock("g",Oa,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(kn,(n,x)=>e.createElementVNode("text",{key:x,x:n.x,y:n.y,"font-size":"20","font-weight":"800",fill:"oklch(0.82 0.16 72)",class:"animate-music-note",style:e.normalizeStyle({animationDelay:`${n.delay}s`,transformOrigin:`${n.x}px ${n.y}px`})},e.toDisplayString(n.note),13,Ra)),64))])):e.createCommentVNode("",!0),w.value==="pray"?(e.openBlock(),e.createElementBlock("g",Ta,[...l[42]||(l[42]=[e.createElementVNode("path",{d:"M 120 150 l -10 30 q 10 6 20 0 Z",fill:"oklch(1 0 0 / 0.92)",stroke:"var(--robot-blue-dark)","stroke-width":"1.5"},null,-1),e.createElementVNode("line",{x1:"120",y1:"152",x2:"120",y2:"178",stroke:"var(--robot-blue-dark)","stroke-width":"1.5"},null,-1)])])):e.createCommentVNode("",!0),C.value==="glow"?(e.openBlock(),e.createElementBlock("ellipse",{key:77,cx:"120",cy:"115",rx:"82",ry:"78",fill:$.value,opacity:"0",class:"animate-body-glow"},null,8,La)):e.createCommentVNode("",!0),C.value==="heart-particles"?(e.openBlock(),e.createElementBlock("g",Ia,[l[43]||(l[43]=e.createElementVNode("path",{d:`M 120 192 C 100 180, 98 162, 110 158 C 116 155, 120 159, 120 162
|
|
1
|
+
(function(k,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(k=typeof globalThis<"u"?globalThis:k||self,e(k.QuarkBigScreenUi={},k.Vue))})(this,(function(k,e){"use strict";const j={key:0,class:"qbs-panel__corner qbs-panel__corner--tl"},U={key:1,class:"qbs-panel__corner qbs-panel__corner--tr"},Q={key:2,class:"qbs-panel__corner qbs-panel__corner--bl"},Y={key:3,class:"qbs-panel__corner qbs-panel__corner--br"},W={key:0,class:"qbs-panel__bar"},J={key:1,class:"qbs-panel__title"},K={key:2,class:"qbs-panel__header-prefix"},X={key:3,class:"qbs-panel__header-center"},v={key:4,class:"qbs-panel__header-extra"},ee={key:0,class:"qbs-panel__live"},te={class:"qbs-panel__body"},le=e.defineComponent({__name:"BigScreenPanel",props:{title:{default:""},accent:{default:"oklch(.82 .13 200)"},liveLabel:{default:""},showBar:{type:Boolean,default:!0},corners:{default:"tl-br"},padding:{default:"md"},bodyLayout:{default:"default"},titleSize:{default:"md"},overflowHidden:{type:Boolean,default:!0}},setup(c){const i=c;function d(m){return i.corners==="all"?!0:i.corners==="none"?!1:m==="tl"||m==="br"}return(m,h)=>(e.openBlock(),e.createElementBlock("section",{class:e.normalizeClass(["qbs-panel",[`qbs-panel--padding-${c.padding}`,`qbs-panel--layout-${c.bodyLayout}`,{"qbs-panel--overflow-hidden":c.overflowHidden}]]),style:e.normalizeStyle({"--qbs-accent":c.accent})},[d("tl")?(e.openBlock(),e.createElementBlock("span",j)):e.createCommentVNode("",!0),d("tr")?(e.openBlock(),e.createElementBlock("span",U)):e.createCommentVNode("",!0),d("bl")?(e.openBlock(),e.createElementBlock("span",Q)):e.createCommentVNode("",!0),d("br")?(e.openBlock(),e.createElementBlock("span",Y)):e.createCommentVNode("",!0),c.title||c.liveLabel||m.$slots["header-center"]||m.$slots["header-extra"]?(e.openBlock(),e.createElementBlock("header",{key:4,class:e.normalizeClass(["qbs-panel__header",`qbs-panel__header--${c.titleSize}`])},[c.showBar?(e.openBlock(),e.createElementBlock("span",W)):e.createCommentVNode("",!0),c.title?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(c.title),1)):e.createCommentVNode("",!0),m.$slots["header-prefix"]?(e.openBlock(),e.createElementBlock("span",K,[e.renderSlot(m.$slots,"header-prefix",{},void 0,!0)])):e.createCommentVNode("",!0),m.$slots["header-center"]?(e.openBlock(),e.createElementBlock("span",X,[e.renderSlot(m.$slots,"header-center",{},void 0,!0)])):e.createCommentVNode("",!0),m.$slots["header-extra"]||c.liveLabel?(e.openBlock(),e.createElementBlock("span",v,[e.renderSlot(m.$slots,"header-extra",{},()=>[c.liveLabel?(e.openBlock(),e.createElementBlock("span",ee,[h[0]||(h[0]=e.createElementVNode("span",{class:"qbs-panel__live-dot"},null,-1)),e.createTextVNode(e.toDisplayString(c.liveLabel),1)])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",te,[e.renderSlot(m.$slots,"default",{},void 0,!0)])],6))}}),u=(c,i)=>{const d=c.__vccOpts||c;for(const[m,h]of i)d[m]=h;return d},L=u(le,[["__scopeId","data-v-749400b6"]]),oe={key:0,class:"qbs-duty-compact"},ae={class:"qbs-duty-compact__avatar"},ne={class:"qbs-duty-compact__info"},re={class:"qbs-duty-compact__name"},se={class:"qbs-duty-compact__phone"},ie={key:0,class:"qbs-duty-compact__tag"},ce={key:1,class:"qbs-duty"},me={class:"qbs-duty__summary"},de={class:"qbs-duty__summary-chip"},ye={class:"qbs-duty__summary-chip"},he={class:"qbs-duty__summary-chip"},ke={class:"qbs-duty__list"},pe={class:"qbs-duty__group-header"},fe={class:"qbs-duty__users"},ge={key:0,class:"qbs-duty__empty"},xe=u(e.defineComponent({__name:"BigScreenDutyContent",props:{compact:{type:Boolean,default:!1},personName:{default:""},personPhone:{default:""},personTag:{default:""},date:{default:""},totalGroups:{default:void 0},totalUsers:{default:void 0},groups:{default:()=>[]}},setup(c){const i=c;return(d,m)=>i.compact?(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("div",ae,e.toDisplayString(i.personName.charAt(0)||"-"),1),e.createElementVNode("div",ne,[e.createElementVNode("span",re,e.toDisplayString(i.personName||"暂未排班"),1),e.createElementVNode("span",se,e.toDisplayString(i.personPhone||"—"),1)]),i.personTag?(e.openBlock(),e.createElementBlock("span",ie,e.toDisplayString(i.personTag),1)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",me,[e.createElementVNode("div",de,[m[0]||(m[0]=e.createElementVNode("span",null,"日期",-1)),e.createElementVNode("strong",null,e.toDisplayString(i.date||"未同步"),1)]),e.createElementVNode("div",ye,[m[1]||(m[1]=e.createElementVNode("span",null,"值班组",-1)),e.createElementVNode("strong",null,e.toDisplayString(i.totalGroups??i.groups.length),1)]),e.createElementVNode("div",he,[m[2]||(m[2]=e.createElementVNode("span",null,"值班人数",-1)),e.createElementVNode("strong",null,e.toDisplayString(i.totalUsers??0),1)])]),e.createElementVNode("div",ke,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.groups,h=>{var g;return e.openBlock(),e.createElementBlock("article",{key:h.groupId,class:"qbs-duty__group"},[e.createElementVNode("div",pe,[e.createElementVNode("strong",null,e.toDisplayString(h.groupName),1),e.createElementVNode("span",null,e.toDisplayString(((g=h.users)==null?void 0:g.length)||0)+" 人",1)]),e.createElementVNode("div",fe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.users||[],N=>(e.openBlock(),e.createElementBlock("span",{key:N.userId,class:"qbs-duty__user"},e.toDisplayString(N.nickName||N.username),1))),128))])])}),128)),i.groups.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ge,"暂无值班数据"))])]))}}),[["__scopeId","data-v-f5721bce"]]),_e={class:"qbs-alert-row__main"},be={class:"qbs-alert-row__copy"},ue=["title"],Ee={class:"qbs-alert-row__meta"},Ne={class:"qbs-alert-row__group"},Be={key:0,class:"qbs-alert-row__owner"},Ve={key:1,class:"qbs-alert-row__time"},we={key:2,class:"qbs-alert-row__tag"},Ce={class:"qbs-alert-row__status"},Se={key:0,class:"qbs-alert-row__aside"},$e=u(e.defineComponent({__name:"BigScreenAlertRow",props:{title:{},group:{default:""},owner:{default:""},time:{default:""},tag:{default:""},statusText:{default:""},accent:{default:"#f0a35a"},detailWide:{type:Boolean,default:!1}},emits:["select"],setup(c){const i=c;return(d,m)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["qbs-alert-row",{"qbs-alert-row--detail-wide":i.detailWide}]),style:e.normalizeStyle({"--qbs-alert-accent":i.accent}),type:"button",onClick:m[0]||(m[0]=h=>d.$emit("select"))},[e.createElementVNode("div",_e,[e.createElementVNode("div",be,[e.createElementVNode("div",{class:"qbs-alert-row__title",title:i.title},e.toDisplayString(i.title),9,ue),e.createElementVNode("div",Ee,[e.createElementVNode("span",Ne,e.toDisplayString(i.group),1),i.owner?(e.openBlock(),e.createElementBlock("span",Be,e.toDisplayString(i.owner),1)):e.createCommentVNode("",!0),i.time?(e.openBlock(),e.createElementBlock("span",Ve,e.toDisplayString(i.time),1)):e.createCommentVNode("",!0),i.tag?(e.openBlock(),e.createElementBlock("span",we,e.toDisplayString(i.tag),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ce,[e.renderSlot(d.$slots,"status",{},()=>[e.createTextVNode(e.toDisplayString(i.statusText||"待处理"),1)],!0)])]),d.$slots.aside?(e.openBlock(),e.createElementBlock("aside",Se,[e.renderSlot(d.$slots,"aside",{},void 0,!0)])):e.createCommentVNode("",!0)])],6))}}),[["__scopeId","data-v-83959767"]]),qe={class:"qbs-metric-card__value"},Me={class:"qbs-metric-card__label"},De=u(e.defineComponent({__name:"BigScreenMetricCard",props:{label:{},value:{default:"—"},tone:{default:"#7dd3fc"},compact:{type:Boolean,default:!1}},setup(c){const i=c;return(d,m)=>i.compact?(e.openBlock(),e.createElementBlock("div",{key:0,class:"qbs-metric-card qbs-metric-card--compact",style:e.normalizeStyle({"--qbs-metric-tone":i.tone})},[e.createElementVNode("span",null,e.toDisplayString(i.label),1),e.createElementVNode("strong",null,[e.renderSlot(d.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(i.value),1)],!0)])],4)):(e.openBlock(),e.createBlock(L,{key:1,class:"qbs-metric-card","body-layout":"metric",padding:"tight",accent:i.tone},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default",{},()=>[e.createElementVNode("strong",qe,e.toDisplayString(i.value),1)],!0),e.createElementVNode("span",Me,e.toDisplayString(i.label),1)]),_:3},8,["accent"]))}}),[["__scopeId","data-v-07353599"]]),ze={class:"qbs-header"},Ae={class:"qbs-header__body"},Oe={class:"qbs-header__brand"},Re={key:0,class:"qbs-header__clock"},Te=u(e.defineComponent({__name:"BigScreenHeader",props:{title:{default:"运维监控大屏"},subtitle:{default:"QUARK EAGLE EYE"},timeText:{default:"--:--"},dateText:{default:"--"},weekdayText:{default:""},showClock:{type:Boolean,default:!0}},setup(c){return(i,d)=>(e.openBlock(),e.createElementBlock("section",ze,[d[1]||(d[1]=e.createElementVNode("i",{class:"qbs-header__glow"},null,-1)),e.createElementVNode("div",Ae,[e.createElementVNode("div",Oe,[d[0]||(d[0]=e.createElementVNode("i",{class:"qbs-header__crest"},[e.createElementVNode("b")],-1)),e.createElementVNode("div",null,[e.createElementVNode("p",null,e.toDisplayString(c.subtitle),1),e.createElementVNode("h1",null,e.toDisplayString(c.title),1)])]),c.showClock?(e.openBlock(),e.createElementBlock("div",Re,[e.createElementVNode("strong",null,e.toDisplayString(c.timeText),1),e.createElementVNode("span",null,e.toDisplayString(c.dateText)+" "+e.toDisplayString(c.weekdayText),1)])):e.createCommentVNode("",!0)])]))}}),[["__scopeId","data-v-cc041333"]]),Le={class:"qbs-build-dist"},Ie={key:0,class:"qbs-build-dist__empty"},Pe=u(e.defineComponent({__name:"BigScreenBuildDistribution",props:{items:{default:()=>[]},total:{default:0}},setup(c){const i=c,d=m=>`${(m/Math.max(1,i.total||i.items.reduce((h,g)=>h+g.count,0))*100).toFixed(1)}%`;return(m,h)=>(e.openBlock(),e.createElementBlock("div",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.items.slice(0,8),g=>(e.openBlock(),e.createElementBlock("article",{key:g.name},[e.createElementVNode("div",null,[e.createElementVNode("strong",null,e.toDisplayString(g.name),1),e.createElementVNode("span",null,e.toDisplayString(g.count),1)]),e.createElementVNode("i",null,[e.createElementVNode("b",{style:e.normalizeStyle({width:d(g.count)})},null,4)])]))),128)),i.items.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ie,"暂无构建分布数据"))]))}}),[["__scopeId","data-v-608b33d9"]]),Fe={class:"qbs-build-projects"},Ge={class:"qbs-build-projects__summary"},He={class:"qbs-build-projects__list"},Ze={key:0,class:"qbs-build-projects__empty"},je=u(e.defineComponent({__name:"BigScreenBuildProjects",props:{buildingCount:{default:0},todayBuilds:{default:0},successRate:{default:0},items:{default:()=>[]}},setup(c){const i=d=>`${Math.max(0,Math.min(100,d||0))}%`;return(d,m)=>(e.openBlock(),e.createElementBlock("div",Fe,[e.createElementVNode("div",Ge,[e.createElementVNode("span",null,[m[0]||(m[0]=e.createTextVNode("构建中",-1)),e.createElementVNode("strong",null,e.toDisplayString(c.buildingCount),1)]),e.createElementVNode("span",null,[m[1]||(m[1]=e.createTextVNode("今日构建",-1)),e.createElementVNode("strong",null,e.toDisplayString(c.todayBuilds),1)]),e.createElementVNode("span",null,[m[2]||(m[2]=e.createTextVNode("成功率",-1)),e.createElementVNode("strong",null,e.toDisplayString(Number(c.successRate).toFixed(1))+"%",1)])]),e.createElementVNode("div",He,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.items.slice(0,8),h=>(e.openBlock(),e.createElementBlock("article",{key:`${h.pipelineId}-${h.buildId}`},[e.createElementVNode("div",null,[e.createElementVNode("strong",null,e.toDisplayString(h.jobName||`Pipeline-${h.pipelineId}`),1),e.createElementVNode("span",null,e.toDisplayString(h.statusText),1)]),e.createElementVNode("p",null,[e.createElementVNode("span",null,e.toDisplayString(h.currentStage||"等待阶段信息"),1),e.createElementVNode("span",null,e.toDisplayString(h.buildUser||"系统触发"),1)]),e.createElementVNode("i",null,[e.createElementVNode("b",{style:e.normalizeStyle({width:i(h.progress)})},null,4)])]))),128)),c.items.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ze,"当前没有在跑的构建项目"))])]))}}),[["__scopeId","data-v-6c6f003c"]]),Ue={class:"qbs-robot"},Qe={class:"qbs-robot__head"},Ye={class:"qbs-robot__metrics"},We=u(e.defineComponent({__name:"BigScreenRobotSummary",props:{status:{default:"online"},mode:{default:"display_only"},emotion:{default:"neutral"},generatedAt:{default:""},summary:{default:()=>({})},alerts:{default:()=>({})},successRate:{default:0}},setup(c){return(i,d)=>(e.openBlock(),e.createElementBlock("div",Ue,[e.createElementVNode("div",Qe,[e.createElementVNode("i",{class:e.normalizeClass(`is-${c.emotion}`)},null,2),e.createElementVNode("div",null,[e.createElementVNode("strong",null,e.toDisplayString(c.status),1),e.createElementVNode("span",null,e.toDisplayString(c.mode)+" · "+e.toDisplayString(c.generatedAt),1)])]),e.createElementVNode("div",Ye,[e.createElementVNode("span",null,[d[0]||(d[0]=e.createTextVNode("值班组",-1)),e.createElementVNode("b",null,e.toDisplayString(c.summary.dutyGroups??0),1)]),e.createElementVNode("span",null,[d[1]||(d[1]=e.createTextVNode("今日告警",-1)),e.createElementVNode("b",null,e.toDisplayString(c.summary.todayAlerts??0),1)]),e.createElementVNode("span",null,[d[2]||(d[2]=e.createTextVNode("构建中",-1)),e.createElementVNode("b",null,e.toDisplayString(c.summary.buildingCount??0),1)]),e.createElementVNode("span",null,[d[3]||(d[3]=e.createTextVNode("终端节点",-1)),e.createElementVNode("b",null,e.toDisplayString(c.summary.endpointNodes??0),1)])])]))}}),[["__scopeId","data-v-534c73e7"]]),Je={class:"qbs-endpoints"},Ke={key:0,class:"qbs-endpoints__empty"},Xe=u(e.defineComponent({__name:"BigScreenEndpointDistribution",props:{items:{default:()=>[]}},setup(c){return(i,d)=>(e.openBlock(),e.createElementBlock("div",Je,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.items,m=>{var h;return e.openBlock(),e.createElementBlock("article",{key:m.id},[e.createElementVNode("div",null,[e.createElementVNode("strong",null,e.toDisplayString(m.nodeName),1),e.createElementVNode("span",{class:e.normalizeClass({offline:!m.nodeStatus})},e.toDisplayString(m.nodeStatus?"在线":"离线"),3)]),e.createElementVNode("small",null,e.toDisplayString(m.nodeIp),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((h=m.heartbeatResults)==null?void 0:h.slice(0,3),g=>{var N;return e.openBlock(),e.createElementBlock("p",{key:g.targetName},e.toDisplayString(g.targetName||g.targetIp)+" · "+e.toDisplayString(((N=g.latencyMs)==null?void 0:N.toFixed(1))??"—")+" ms",1)}),128))])}),128)),c.items.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ke,"暂无终端分布数据"))]))}}),[["__scopeId","data-v-9abd8314"]]),ve={class:"qbs-embed"},et=["src","title"],tt={key:1},lt=u(e.defineComponent({__name:"BigScreenExternalEmbed",props:{url:{default:""},title:{default:"外部仪表盘"}},setup(c){const i=c,d=e.computed(()=>{try{const m=new URL(i.url);return["http:","https:"].includes(m.protocol)?m.toString():""}catch{return""}});return(m,h)=>(e.openBlock(),e.createElementBlock("section",ve,[d.value?(e.openBlock(),e.createElementBlock("iframe",{key:0,src:d.value,title:c.title,loading:"lazy",referrerpolicy:"no-referrer",sandbox:"allow-scripts allow-same-origin allow-forms allow-popups",allow:"fullscreen"},null,8,et)):(e.openBlock(),e.createElementBlock("div",tt,"请在 Props JSON 中配置 http(s) 外部仪表盘 URL。"))]))}}),[["__scopeId","data-v-f20c22f6"]]),ot={width:"300",height:"290",viewBox:"0 0 240 230",class:"overflow-visible drop-shadow-[0_18px_24px_rgba(37,99,235,0.25)]"},at=["stroke"],nt=["fill"],rt=["fill"],st=["rx","ry","opacity"],it=["rx","ry","opacity"],ct=["fill"],mt=["d"],dt=["d"],yt=["d"],ht=["d"],kt={key:5},pt=["d"],ft=["d"],gt=["x","y"],xt=["x","y"],_t=["cx"],bt=["cx"],ut=["x1","y1","x2","y2"],Et=["x1","y1","x2","y2"],Nt=["cy"],Bt=["cy"],Vt=["x1","y1","x2","y2"],wt=["x1","y1","x2","y2"],Ct=["cx","cy"],St=["cx","cy"],$t=["cx","cy"],qt=["cx","cy"],Mt=["cx","cy"],Dt=["cx","cy"],zt=["cx","cy"],At=["cx","cy"],Ot=["cy"],Rt=["cy"],Tt=["cy"],Lt=["cy"],It=["x","y"],Pt=["x","y"],Ft=["x1","x2"],Gt=["x1","x2"],Ht=["cy"],Zt=["cx","cy"],jt=["x","y"],Ut=["cx","cy"],Qt=["cx","cy"],Yt=["cx","cy"],Wt=["cx","cy"],Jt=["cx","cy"],Kt=["cx","cy"],Xt=["cx","cy"],vt=["x1","y1","x2","y2"],el=["x1","y1","x2","y2"],tl=["x1","x2"],ll=["x1","x2"],ol={key:16},al=["cy"],nl=["cy"],rl=["cy"],sl=["cy"],il=["x","y"],cl=["x","y"],ml=["d"],dl=["d"],yl=["cy"],hl=["cy"],kl=["x1","y1","x2","y2"],pl=["x1","y1","x2","y2"],fl={key:19},gl=["cy"],xl=["cy"],_l=["cy"],bl=["cy"],ul=["x","y"],El=["x","y"],Nl=["d"],Bl=["d"],Vl=["d"],wl=["d"],Cl=["x1","x2"],Sl=["x1","x2"],$l=["d"],ql=["d"],Ml=["cy"],Dl=["cy"],zl=["cx","cy"],Al=["cx","cy"],Ol=["cx","cy"],Rl=["cx","cy"],Tl=["x1","y1","x2","y2"],Ll=["x1","y1","x2","y2"],Il=["cx","cy"],Pl=["cx","cy"],Fl=["cx","cy"],Gl=["cx","cy"],Hl=["cx","cy"],Zl=["cx","cy"],jl=["cx","cy"],Ul=["cx","cy"],Ql=["cy"],Yl=["cy"],Wl=["cx","cy"],Jl=["cx","cy"],Kl=["cy"],Xl=["cy"],vl=["x1","y1","x2","y2"],eo=["x1","y1","x2","y2"],to=["d"],lo=["d"],oo=["d"],ao=["d"],no=["cx","cy"],ro=["x1","x2"],so=["x","y"],io=["x","y"],co={key:10},mo={key:16},yo={key:36,d:"M 158 70 q 5 9 0 14 q -5 -5 0 -14 Z",fill:"oklch(0.8 0.12 220)",opacity:"0.9",class:"animate-dot-blink"},ho=["cx","cy"],ko=["cx","cy"],po=["d"],fo=["stroke"],go=["fill"],xo=["fill"],_o=["fill"],bo={key:44},uo=["fill"],Eo=["stroke"],No={key:46,class:"animate-spin-slow",style:{transformOrigin:"168px 62px"}},Bo=["fill"],Vo=["transform"],wo={key:47,transform:"rotate(40 168 62)"},Co=["fill"],So={key:48,class:"animate-wobble",style:{transformOrigin:"168px 60px"}},$o=["fill"],qo=["fill"],Mo={key:49,class:"animate-self-spin",style:{transformOrigin:"168px 60px"}},Do=["stroke"],zo={key:50,class:"animate-alert-flash"},Ao=["fill"],Oo={key:51},Ro={class:"animate-alert-flash"},To=["fill"],Lo=["fill"],Io=["stroke"],Po=["fill"],Fo={key:53,class:"animate-scan-move"},Go=["stroke"],Ho=["stroke"],Zo={key:54},jo=["stroke"],Uo=["fill"],Qo=["fill"],Yo=["fill"],Wo=["stroke"],Jo={key:57,class:"animate-locate-bob",style:{transformOrigin:"168px 60px"}},Ko=["fill"],Xo=["fill"],vo=["stroke"],ea=["fill"],ta={key:59},la=["stroke"],oa={key:60},aa=["fill"],na={key:61},ra=["fill"],sa={key:62,class:"animate-alert-flash",style:{transformOrigin:"168px 60px"}},ia=["fill"],ca={key:63},ma=["fill"],da={key:64,class:"animate-alert-flash"},ya=["fill"],ha={key:65,class:"animate-sparkle",style:{transformOrigin:"168px 58px"}},ka=["fill"],pa=["fill"],fa=["fill"],ga={key:66},xa=["fill"],_a=["fill"],ba=["fill"],ua={key:67,class:"animate-body-glow",style:{transformOrigin:"168px 62px"}},Ea=["fill"],Na={key:68,class:"animate-dot-blink"},Ba={key:69},Va=["stroke"],wa=["fill"],Ca=["fill"],Sa={key:72},$a={key:73,class:"animate-bball-ball",style:{transformOrigin:"120px 148px"}},qa={key:74,class:"animate-traffic-light-pop",style:{transformOrigin:"230px 126px"}},Ma=["fill"],Da=["opacity"],za=["opacity"],Aa=["opacity"],Oa={key:75},Ra=["x","y"],Ta={key:76,class:"animate-breathe",style:{transformBox:"fill-box",transformOrigin:"center"}},La=["fill"],Ia={key:78},Pa=["d","fill"],Fa={key:79},Ga=["fill"],Ha={key:80},Za=["stroke"],ja=["stroke"],Ua={key:81},Qa=["x","y","width","height","rx","fill"],Ya={key:82},Wa=["cx","cy","fill"],Ja=["fill"],Ka=["fill"],Xa=["d"],va=["fill"],en=["fill"],tn=["fill"],ln=["d"],on={key:0,class:"pointer-events-none absolute right-2 top-2 text-robot-blue-dark"},a="var(--robot-eye)",an="var(--robot-blue)",_="oklch(0.6 0.23 22)",q="oklch(0.72 0.19 55)",M="oklch(0.84 0.16 95)",D="oklch(0.62 0.02 260)",E="oklch(0.68 0.16 150)",nn="oklch(0.5 0.12 250)",r=102,s=138,t=108,rn=u(e.defineComponent({__name:"QuarkRobot",props:{emotion:{},action:{default:"idle"},speaking:{type:Boolean,default:!1}},setup(c){const i=c,d={neutral:{eyes:"neutral",mouth:"smileSoft",arms:"handsFold",anim:"animate-robot-float"},bye:{eyes:"happy",mouth:"smileSoft",arms:"waveUp",anim:"animate-robot-float"},happy:{eyes:"happy",mouth:"smile",blush:!0,arms:"joyRaise",anim:"animate-robot-float"},excited:{eyes:"excited",mouth:"open",blush:!0,arms:"waveUp",anim:"animate-robot-bounce"},angry:{eyes:"angry",mouth:"grit",sym:"anger",symColor:_,arms:"akimbo",anim:"animate-robot-shake"},sad:{eyes:"sad",mouth:"frown",tear:!0,arms:"hangsDown",anim:"animate-robot-droop"},surprised:{eyes:"wide",mouth:"o",sym:"exclaim",symColor:"var(--robot-amber)",blush:!0,arms:"alarm",anim:"animate-robot-bounce"},helpless:{eyes:"half",mouth:"wavy",sweat:!0,arms:"facepalm",anim:"animate-robot-float"},shy:{eyes:"happy",mouth:"smileSoft",blushStrong:!0,sym:"heart",symColor:_,arms:"faceCover",anim:"animate-robot-float"},awkward:{eyes:"half",mouth:"wavy",sweat:!0,sym:"ellipsis",symColor:"var(--muted-foreground)",arms:"scratchHead",anim:"animate-robot-float"},scared:{eyes:"wide",mouth:"o",sweat:!0,sym:"exclaim",symColor:_,arms:"headHold",anim:"animate-robot-shake"},wronged:{eyes:"teary",mouth:"frown",tear:!0,tear2:!0,blush:!0,arms:"wipeTear",anim:"animate-robot-droop"},agitated:{eyes:"excited",mouth:"bigopen",blush:!0,arms:"forwardReach",anim:"animate-robot-shake"},smug:{eyes:"smug",mouth:"smile",arms:"oneAkimboThumb",anim:"animate-robot-float"},sleepy:{eyes:"closed",mouth:"dot",anim:"animate-robot-sway"},thinking:{eyes:"lookup",mouth:"flat",sym:"question",symColor:a,anim:"animate-robot-float"},thinkingWait:{eyes:"thinkEyes",mouth:"flat",sym:"loader",symColor:a,arms:"chinRest",signalAnim:"animate-signal-coolblink",signalOverride:"oklch(0.72 0.08 220)",anim:"animate-thinking-tilt"},dazed:{eyes:"blank",mouth:"flat",sym:"ellipsis",symColor:"var(--muted-foreground)",anim:"animate-robot-sway"},tired:{eyes:"half",mouth:"frown",anim:"animate-robot-droop"},confused:{eyes:"confused",mouth:"wavy",sym:"question",symColor:"var(--robot-amber)",anim:"animate-wobble"},eureka:{eyes:"excited",mouth:"open",sym:"bulb",symColor:"var(--robot-amber)",arms:"ahaPoint",anim:"animate-robot-bounce"},yawn:{eyes:"closed",mouth:"bigopen",tear:!0,arms:"stretchYawn",anim:"animate-robot-sway"},spacedout:{eyes:"blank",mouth:"flat",sym:"ellipsis",symColor:"var(--muted-foreground)",anim:"animate-robot-sway"},eurekaClap:{eyes:"excited",mouth:"open",sym:"bulb",symColor:"var(--robot-amber)",arms:"clap",anim:"animate-robot-bounce"},rubEyes:{eyes:"closed",mouth:"frown",arms:"rub",anim:"animate-robot-droop"},zen:{eyes:"closed",mouth:"calm",sym:"lotus",symColor:"var(--robot-amber)",anim:"animate-breathe"},pray:{eyes:"closed",mouth:"calm",sym:"lotus",symColor:"var(--robot-amber)",arms:"pray",anim:"animate-breathe"},devout:{eyes:"closed",mouth:"calm",sym:"lotus",symColor:"var(--robot-amber)",arms:"pray",anim:"animate-breathe"},heal:{eyes:"happy",mouth:"smileSoft",blush:!0,sym:"heart",symColor:_,arms:"hug",anim:"animate-breathe"},coldGuard:{eyes:"lookdown",mouth:"flat",body:nn,anim:"animate-guard-sink"},listenOpen:{eyes:"neutral",mouth:"smileSoft",sym:"soundwave",symColor:a,arms:"attentiveOpen",anim:"animate-listen-tilt"},listenSneaky:{eyes:"half",mouth:"dot",sym:"soundwave",symColor:"var(--robot-amber)",arms:"shh",anim:"animate-listen-sneak"},listenPeek:{eyes:"wide",mouth:"smileSoft",sym:"soundwave",symColor:a,anim:"animate-peek"},busy:{eyes:"thinkEyes",mouth:"flat",sweat:!0,sym:"gear",symColor:"var(--robot-blue-dark)",arms:"overtimeArms",anim:"animate-busy-type"},processing:{eyes:"neutral",mouth:"flat",sym:"gear",symColor:"var(--robot-blue-dark)",arms:"overtimeArms",anim:"animate-nod"},done:{eyes:"happy",mouth:"smile",sym:"check",symColor:E,arms:"approve",anim:"animate-robot-float"},notes:{eyes:"lookdown",mouth:"smileSoft",sym:"pencil",symColor:"var(--robot-blue-dark)",arms:"writeDown",anim:"animate-notes-write"},stuck:{eyes:"dizzy",mouth:"flat",sweat:!0,sym:"question",symColor:"var(--muted-foreground)",arms:"shrug",anim:"animate-robot-shake"},askHumble:{eyes:"lookup",mouth:"smileSoft",sym:"question",symColor:a,arms:"humble",anim:"animate-robot-float"},report:{eyes:"neutral",mouth:"smile",arms:"point",anim:"animate-robot-float"},standby:{eyes:"neutral",mouth:"flat",sym:"bell",symColor:"var(--robot-amber)",arms:"attentiveOpen",anim:"animate-robot-float"},checkData:{eyes:"thinkEyes",mouth:"flat",sym:"target",symColor:"var(--robot-blue-dark)",arms:"scanArmRight",anim:"animate-check-scan"},loading:{eyes:"neutral",mouth:"flat",sym:"loader",symColor:a,arms:"bootStretch",anim:"animate-robot-float"},troubleshoot:{eyes:"confused",mouth:"flat",sweat:!0,sym:"broken",symColor:"var(--muted-foreground)",arms:"ponderHand",anim:"animate-pacing"},warnLow:{eyes:"neutral",mouth:"flat",sym:"warning",symColor:M,arms:"caution",anim:"animate-robot-sway"},warnOrange:{eyes:"wide",mouth:"flat",sym:"warning",symColor:q,body:q,arms:"caution",anim:"animate-wobble"},alertRed:{eyes:"wide",mouth:"o",sym:"siren",symColor:_,body:_,arms:"alarm",anim:"animate-robot-shake"},fault:{eyes:"dizzy",mouth:"wavy",sym:"broken",symColor:D,body:D,arms:"limp",anim:"animate-robot-droop"},alertClear:{eyes:"happy",mouth:"smile",sym:"check",symColor:E,arms:"thumbsUp",anim:"animate-robot-float"},scanning:{eyes:"neutral",mouth:"flat",sym:"scan",symColor:a,arms:"scan",anim:"animate-patrol"},camTurn:{eyes:"wide",mouth:"flat",sym:"scan",symColor:q,arms:"scan",anim:"animate-wobble"},alertVibrate:{eyes:"wide",mouth:"o",sym:"warning",symColor:q,body:q,arms:"alarm",anim:"animate-vibrate"},faultReset:{eyes:"dizzy",mouth:"flat",sym:"broken",symColor:D,body:D,anim:"animate-reset-spin"},investigate:{eyes:"neutral",mouth:"flat",sym:"scan",symColor:a,arms:"scan",anim:"animate-pacing"},clearGreen:{eyes:"happy",mouth:"smile",sym:"check",symColor:E,body:E,arms:"spread",anim:"animate-breathe"},locatePhysical:{eyes:"lookdown",mouth:"smileSoft",sym:"pin",symColor:a,arms:"point",anim:"animate-robot-float"},locateFault:{eyes:"confused",mouth:"flat",sym:"target",symColor:_,arms:"scan",anim:"animate-pacing"},locateProblem:{eyes:"lookup",mouth:"flat",sym:"target",symColor:"var(--robot-amber)",arms:"pointUp",anim:"animate-robot-float"},learning:{eyes:"lookdown",mouth:"smileSoft",sym:"book",symColor:"var(--robot-blue-dark)",arms:"humble",anim:"animate-nod"},msgSending:{eyes:"neutral",mouth:"flat",sym:"plane",symColor:a,arms:"scanArmRight",anim:"animate-robot-float"},msgSent:{eyes:"happy",mouth:"smile",sym:"msgOk",symColor:E,arms:"thumbsUp",anim:"animate-robot-float"},msgFailed:{eyes:"sad",mouth:"frown",sym:"msgFail",symColor:_,sweat:!0,arms:"droopArms",anim:"animate-robot-shake"},msgReceiving:{eyes:"neutral",mouth:"smileSoft",sym:"msgIn",symColor:"var(--robot-amber)",arms:"chinRest",anim:"animate-nod"},joyful:{eyes:"arcHappy",mouth:"bigSmile",blushPink:!0,arms:"joyRaise",signalAnim:"animate-signal-warm",signalOverride:"oklch(0.84 0.16 72)",anim:"animate-joyful"},furious:{eyes:"narrow",mouth:"grit",arms:"akimbo",signalAnim:"animate-signal-red",signalOverride:"oklch(0.58 0.22 22)",anim:"animate-furious"},sorrowful:{eyes:"droopy",mouth:"bigFrown",tear:!0,tear2:!0,arms:"hangsDown",screenTint:"oklch(0.35 0.08 240 / 0.18)",signalAnim:"animate-signal-blue",signalOverride:"oklch(0.55 0.14 240)",anim:"animate-sorrowful"},serene:{eyes:"softRound",mouth:"smileSoft",arms:"handsFold",signalOverride:"oklch(0.82 0.14 72)",anim:"animate-serene"},amazed:{eyes:"bigRound",mouth:"bigopen",blush:!0,sym:"exclaim",symColor:"oklch(0.84 0.16 72)",arms:"alarm",signalAnim:"animate-signal-burst",signalOverride:"oklch(0.9 0.18 90)",anim:"animate-amazed"},excited2:{eyes:"arcHappy",mouth:"bigSmile",blushStrong:!0,arms:"waveUp",signalAnim:"animate-signal-rapid",signalOverride:"oklch(0.84 0.16 72)",anim:"animate-excited-e"},helpless2:{eyes:"halfDroopy",mouth:"bitterSmile",arms:"facepalm",signalAnim:"animate-signal-dim",signalOverride:"oklch(0.58 0.06 250)",anim:"animate-helpless"},shy2:{eyes:"peekSlit",mouth:"heartMouth",blushPink:!0,arms:"faceCover",signalAnim:"animate-signal-pink",signalOverride:"oklch(0.82 0.14 20)",anim:"animate-shy"},awkward2:{eyes:"halfSquint",mouth:"awkwardSmile",blush:!0,arms:"scratchHead",signalAnim:"animate-signal-soft",signalOverride:"oklch(0.88 0.12 85)",anim:"animate-awkward"},scared2:{eyes:"scaredWide",mouth:"o",sweat:!0,arms:"headHold",signalAnim:"animate-signal-panic",signalOverride:"oklch(0.58 0.22 22)",anim:"animate-scared"},grieved:{eyes:"droopy",mouth:"bigFrown",blush:!0,arms:"wipeTear",screenTint:"oklch(0.35 0.08 240 / 0.14)",signalAnim:"animate-signal-cold",signalOverride:"oklch(0.5 0.12 240)",anim:"animate-grieved"},thrilled:{eyes:"bigRound",mouth:"bigopen",arms:"forwardReach",sym:"lightning",symColor:"oklch(0.9 0.18 90)",signalAnim:"animate-signal-bright",signalOverride:"oklch(0.9 0.18 90)",anim:"animate-thrilled"},jealous:{eyes:"narrowSlant",mouth:"poutBig",blush:!0,arms:"crossArms",signalAnim:"animate-signal-purple",signalOverride:"oklch(0.62 0.14 280)",anim:"animate-jealous"},speechless:{eyes:"dashEyes",mouth:"flat",arms:"templePoint",sym:"ellipsis",symColor:"oklch(0.55 0.04 250)",signalAnim:"animate-signal-gray",signalOverride:"oklch(0.45 0.06 250)",anim:"animate-speechless"},proud:{eyes:"smug",mouth:"smile",arms:"oneAkimboThumb",sym:"sparkle2",symColor:"oklch(0.88 0.16 80)",signalAnim:"animate-signal-gold",signalOverride:"oklch(0.84 0.16 72)",anim:"animate-proud"},drowsy:{eyes:"halfClosed",mouth:"open",arms:"armsLoose",sym:"zzz",symColor:"oklch(0.65 0.08 260)",signalAnim:"animate-signal-darkblue",signalOverride:"oklch(0.42 0.10 255)",anim:"animate-drowsy"},thinking2:{eyes:"thinkEyes",mouth:"flat",arms:"chinRest",sym:"bulb",symColor:"oklch(0.84 0.14 90)",signalAnim:"animate-signal-coolblink",signalOverride:"oklch(0.72 0.08 220)",anim:"animate-thinking-tilt"},daydream2:{eyes:"blankDot",mouth:"flat",arms:"clasp",signalAnim:"animate-signal-faint",signalOverride:"oklch(0.5 0.06 230)",anim:"animate-daydream"},exhausted:{eyes:"heavyLid",mouth:"frown",arms:"slump",sym:"lowBattery",symColor:"oklch(0.58 0.22 22)",signalAnim:"animate-signal-rb",signalOverride:"oklch(0.45 0.10 260)",anim:"animate-exhausted"},puzzled:{eyes:"bigRound",mouth:"o",arms:"shrug",sym:"question",symColor:"oklch(0.82 0.14 90)",signalAnim:"animate-signal-paleyellow",signalOverride:"oklch(0.86 0.14 90)",anim:"animate-puzzled"},guarding:{eyes:"narrow",mouth:"flat",arms:"shieldUp",sym:"shield",symColor:"oklch(0.72 0.14 220)",signalAnim:"animate-signal-shield",signalOverride:"oklch(0.55 0.16 230)",anim:"animate-guard-stance"},playBasketball:{eyes:"arcHappy",mouth:"bigSmile",blushPink:!0,sym:"miniBasketball",symColor:"oklch(0.65 0.16 40)",signalAnim:"animate-signal-bball",signalOverride:"oklch(0.75 0.18 72)",anim:"animate-bball-body"},ironMountain:{eyes:"smug",mouth:"smile",blushPink:!0,signalAnim:"animate-signal-iron",signalOverride:"oklch(0.78 0.18 72)",anim:"animate-iron-hip"},trafficRed:{eyes:"wide",mouth:"flat",arms:"trafficGuide",sym:"warning",symColor:_,body:_,signalAnim:"animate-signal-red",signalOverride:_,anim:"animate-traffic-stop"},trafficYellow:{eyes:"thinkEyes",mouth:"flat",arms:"trafficGuide",sym:"warning",symColor:M,body:M,signalAnim:"animate-signal-soft",signalOverride:M,anim:"animate-traffic-wait"},trafficGreen:{eyes:"happy",mouth:"smile",arms:"trafficGuide",sym:"check",symColor:E,body:E,signalAnim:"animate-signal-shield",signalOverride:E,anim:"animate-traffic-go"},singing:{eyes:"arcHappy",mouth:"bigopen",blushPink:!0,arms:"conductMusic",sym:"soundwave",symColor:"oklch(0.82 0.16 72)",signalAnim:"animate-signal-warm",signalOverride:"oklch(0.82 0.16 72)",anim:"animate-sing-body"}},m={nod:"animate-nod-v2",shakeHead:"animate-shakehead-v2",bow:"animate-bow-v2",cheer:"animate-cheer",giggle:"animate-giggle",peek:"animate-peek-v2",patrol:"animate-patrol-v2",pacing:"animate-pacing",patrolScan:"animate-patrol-scan",guardStop:"animate-guard-sink",spinBoot:"animate-spin-boot",spinFault:"animate-spin-fault",spinDone:"animate-spin-done",signalBreathe:"animate-breathe",bodyBreathe:"animate-breathe",cameraScan:"animate-patrol-v2",idleDrift:"animate-idle-drift",idleYawn:"animate-idle-yawn",idleGlance:"animate-idle-glance",idleNod:"animate-idle-nod",twoHandHeart:"animate-heart-lean",celebrate:"animate-celebrate",welcome:"animate-welcome",comfort:"animate-comfort",victoryPose:"animate-victory",trafficRed:"animate-traffic-stop",trafficYellow:"animate-traffic-wait",trafficGreen:"animate-traffic-go",ironMountain:"animate-iron-hip",playBasketball:"animate-bball-body",sing:"animate-sing-body"},h={nod:"approve",shakeHead:"denyPush",blowKiss:"kiss",waveNo:"waveNo",bow:"bow",cheer:"cheer",giggle:"giggle",peek:"point",patrol:"march",pacing:"ponderHand",patrolScan:"scan",spinBoot:"bootStretch",bodyBreathe:"restBreathe",idleDrift:"floatArms",idleYawn:"stretchYawn",idleGlance:"armsLoose",idleNod:"droopArms",twoHandHeart:"heartCenter",fingerSparkle:"sparkle",thumbsUp:"thumbsUp",celebrate:"alarm",welcome:"spread",comfort:"humble",victoryPose:"alarm",trafficRed:"trafficGuide",trafficYellow:"trafficGuide",trafficGreen:"trafficGuide",guardStop:"flagGuard",ironMountain:"shoulderBash",playBasketball:"shootBall",sing:"conductMusic"},g={spinBoot:"oklch(0.7 0.18 200)",spinFault:"oklch(0.6 0.23 22)",spinDone:"oklch(0.75 0.18 145)",guardStop:"oklch(0.58 0.22 22)",twoHandHeart:"oklch(0.72 0.18 340)",patrolScan:"oklch(0.7 0.18 200)",celebrate:"oklch(0.82 0.16 72)",victoryPose:"oklch(0.75 0.18 145)",welcome:"oklch(0.7 0.18 200)",comfort:"oklch(0.78 0.12 340)",idleYawn:"oklch(0.6 0.08 264)",idleGlance:"oklch(0.6 0.08 264)",playBasketball:"oklch(0.75 0.18 72)",ironMountain:"oklch(0.78 0.18 72)",trafficRed:_,trafficYellow:M,trafficGreen:E,sing:"oklch(0.82 0.16 72)"},N={celebrate:"confetti",victoryPose:"confetti",fingerSparkle:"particles",twoHandHeart:"heart-particles",welcome:"glow",spinBoot:"scan-ring",spinFault:"scan-ring",spinDone:"scan-ring",patrolScan:"scan-ring",guardStop:"flag",trafficRed:"traffic-light",trafficYellow:"traffic-light",trafficGreen:"traffic-light",sing:"music-notes"},mn={down:{l:-8,r:8},waveNo:{l:-8,r:95,ra:"animate-arm-wave"},cheer:{l:-120,r:120,la:"animate-arm-pump",ra:"animate-arm-pump"},kiss:{l:-8,r:120},heart:{l:-120,r:120},bow:{l:35,r:-35},giggle:{l:-145,r:145},pray:{l:-55,r:55},thumbsUp:{l:-8,r:65},point:{l:-8,r:30},sparkle:{l:-35,r:35},hug:{l:-45,r:45},clap:{l:55,r:-55,la:"animate-arm-wave",ra:"animate-arm-wave"},rub:{l:-8,r:125},humble:{l:-8,r:50},shh:{l:-8,r:135},alarm:{l:130,r:-130,la:"animate-arm-pump",ra:"animate-arm-pump"},limp:{l:-85,r:85},caution:{l:-8,r:-105,ra:"animate-arm-wave"},scan:{l:-8,r:-45,ra:"animate-arm-scan"},spread:{l:-35,r:35},pointUp:{l:-8,r:-130},heartCenter:{l:55,r:-55},flagGuard:{l:30,r:-30},akimbo:{l:-42,r:42},hangsDown:{l:-95,r:95},waveUp:{l:72,r:-72,la:"animate-arm-pump",ra:"animate-arm-pump"},facepalm:{l:108,r:80},faceCover:{l:92,r:-92},scratchHead:{l:-82,r:-128},headHold:{l:125,r:-125},forwardReach:{l:34,r:-34},crossArms:{l:58,r:-58},templePoint:{l:-105,r:8},oneAkimboThumb:{l:-52,r:65},chinRest:{l:42,r:-75},overtimeArms:{l:68,r:-68},writeDown:{l:38,r:-55},scanArmRight:{l:-70,r:-40},shieldUp:{l:72,r:-72},approve:{l:44,r:-44,la:"animate-arm-nod",ra:"animate-arm-nod"},denyPush:{l:66,r:-66,la:"animate-arm-shake-x",ra:"animate-arm-shake-x"},march:{l:-8,r:8,la:"animate-arm-march-a",ra:"animate-arm-march-b"},ponderHand:{l:-8,r:-66},bootStretch:{l:-34,r:34},restBreathe:{l:-22,r:22,la:"animate-arm-breathe",ra:"animate-arm-breathe"},floatArms:{l:-45,r:45,la:"animate-arm-breathe",ra:"animate-arm-breathe"},stretchYawn:{l:-108,r:22},clasp:{l:34,r:-34},droopArms:{l:-86,r:86},joyRaise:{l:82,r:-82},handsFold:{l:-68,r:68},wipeTear:{l:-90,r:-95},slump:{l:-104,r:104},shrug:{l:56,r:-56},ahaPoint:{l:-8,r:-95},attentiveOpen:{l:-40,r:40},armsLoose:{l:-16,r:16},shoulderBash:{l:-88,r:88,la:"animate-iron-arm",ra:"animate-iron-arm"},shootBall:{l:-8,r:8,la:"animate-bball-arm-l",ra:"animate-bball-arm-r"},trafficGuide:{l:-36,r:0,ra:"animate-traffic-arm"},conductMusic:{l:54,r:-54,la:"animate-conduct-arm-l",ra:"animate-conduct-arm-r"}},o=e.computed(()=>d[i.emotion]),B=e.computed(()=>o.value.body??an),dn=e.computed(()=>m[i.action]??o.value.anim),w=e.computed(()=>h[i.action]??o.value.arms??"down"),V=e.computed(()=>mn[w.value]),$=e.computed(()=>g[i.action]??o.value.signalOverride??"var(--robot-amber)"),yn=e.computed(()=>o.value.signalAnim&&i.action==="idle"?o.value.signalAnim:""),C=e.computed(()=>N[i.action]??"none"),S=e.computed(()=>i.action==="trafficRed"||i.emotion==="trafficRed"?"red":i.action==="trafficYellow"||i.emotion==="trafficYellow"?"yellow":i.action==="trafficGreen"||i.emotion==="trafficGreen"?"green":null),hn=e.computed(()=>i.action==="sing"||i.emotion==="singing"),kn=[{x:62,y:64,note:"♪",delay:0},{x:184,y:76,note:"♫",delay:.22},{x:48,y:116,note:"♬",delay:.44},{x:194,y:128,note:"♪",delay:.66}],pn=[{x:90,y:30,cx:-40,cy:-55,cr:"160deg",color:"oklch(0.75 0.18 145)",size:5},{x:120,y:22,cx:0,cy:-62,cr:"20deg",color:"oklch(0.82 0.16 72)",size:4},{x:150,y:30,cx:44,cy:-50,cr:"-140deg",color:"oklch(0.6 0.23 22)",size:5},{x:75,y:50,cx:-52,cy:-30,cr:"200deg",color:"oklch(0.7 0.18 200)",size:3},{x:168,y:48,cx:50,cy:-28,cr:"-200deg",color:"oklch(0.78 0.12 340)",size:3},{x:60,y:75,cx:-38,cy:-18,cr:"90deg",color:"oklch(0.82 0.16 72)",size:4},{x:182,y:72,cx:36,cy:-16,cr:"-90deg",color:"oklch(0.75 0.18 145)",size:4}],fn=[{x:114,y:182,hx:"-10px",delay:0,size:9,color:"oklch(0.72 0.22 0)"},{x:126,y:180,hx:"10px",delay:.18,size:7,color:"oklch(0.72 0.18 340)"},{x:108,y:176,hx:"-18px",delay:.34,size:5,color:"oklch(0.8 0.14 0)"},{x:132,y:174,hx:"16px",delay:.5,size:5,color:"oklch(0.78 0.20 340)"},{x:120,y:170,hx:"0px",delay:.66,size:6,color:"oklch(0.72 0.22 0)"}],gn=[...Array.from({length:6},(p,l)=>({x:20+Math.cos(l/6*Math.PI*2)*18,y:128+Math.sin(l/6*Math.PI*2)*18,delay:l*.18,color:l%2===0?"var(--robot-amber)":"oklch(0.7 0.18 200)"})),...Array.from({length:6},(p,l)=>({x:220+Math.cos(l/6*Math.PI*2)*18,y:128+Math.sin(l/6*Math.PI*2)*18,delay:l*.18+.09,color:l%2===0?"var(--robot-amber)":"oklch(0.7 0.18 200)"}))],P=e.ref(null),z=e.ref({x:0,y:0}),F=e.ref(0),A=e.ref(!1);let O;function G(p){const l=P.value;if(!l)return;const n=l.getBoundingClientRect(),x=n.left+n.width/2,Vn=n.top+n.height/2,Z=(p.clientX-x)/(n.width/2),wn=(p.clientY-Vn)/(n.height/2),T=Cn=>Math.max(-1,Math.min(1,Cn));z.value={x:T(Z)*6,y:T(wn)*5},F.value=T(Z)*6}function H(){O=setTimeout(()=>{A.value=!0,setTimeout(()=>A.value=!1,130),H()},2200+Math.random()*2600)}e.onMounted(()=>{window.addEventListener("mousemove",G),H()}),e.onBeforeUnmount(()=>{window.removeEventListener("mousemove",G),O&&clearTimeout(O)});const f=e.computed(()=>z.value.x),b=e.computed(()=>z.value.y),xn=e.computed(()=>i.emotion==="excited"||i.emotion==="eureka"||i.emotion==="eurekaClap"),_n=e.computed(()=>({transform:`rotate(${F.value*.4}deg)`})),bn=e.computed(()=>{const p={transformBox:"fill-box",transformOrigin:"right center",transition:"transform 0.35s ease","--arm-base":`${V.value.l}deg`};return V.value.la||(p.transform=`rotate(${V.value.l}deg)`),p}),un=e.computed(()=>{const p={transformBox:"fill-box",transformOrigin:"left center",transition:"transform 0.35s ease","--arm-base":`${V.value.r}deg`};return V.value.ra||(p.transform=`rotate(${V.value.r}deg)`),p}),En=["closed","happy","sad","angry","dizzy","smug"],y=e.computed(()=>A.value&&!En.includes(o.value.eyes)?"closed":o.value.eyes),Nn=[{x:70,y:78,delay:0},{x:172,y:84,delay:.4},{x:160,y:150,delay:.8}];function R(p,l){return`M ${p} ${l-7} L ${p+2} ${l-2} L ${p+7} ${l} L ${p+2} ${l+2} L ${p} ${l+7} L ${p-2} ${l+2} L ${p-7} ${l} L ${p-2} ${l-2} Z`}const Bn=[0,45,90,135,180,225,270,315];return(p,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapRef",ref:P,class:"relative flex w-full max-w-[300px] items-center justify-center","aria-hidden":"true"},[e.createElementVNode("div",{style:e.normalizeStyle(_n.value)},[e.createElementVNode("div",{class:e.normalizeClass(dn.value)},[(e.openBlock(),e.createElementBlock("svg",ot,[e.createElementVNode("line",{x1:"120",y1:"42",x2:"120",y2:"30",stroke:B.value,"stroke-width":"6","stroke-linecap":"round"},null,8,at),e.createElementVNode("circle",{cx:"120",cy:"22",r:"11",fill:$.value,style:e.normalizeStyle({transition:"fill 0.6s ease",filter:`drop-shadow(0 0 5px ${$.value})`}),class:e.normalizeClass(["animate-antenna-pulse",C.value==="scan-ring"||c.action==="signalBreathe"?"animate-signal-breathe":"",yn.value])},null,14,nt),e.createElementVNode("rect",{x:"44",y:"40",width:"152",height:"152",rx:"54",fill:B.value,style:{transition:"fill 0.3s ease"}},null,8,rt),l[46]||(l[46]=e.createElementVNode("rect",{x:"44",y:"40",width:"152",height:"152",rx:"54",fill:"oklch(1 0 0 / 0.08)"},null,-1)),o.value.blush||o.value.blushStrong?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("ellipse",{cx:"72",cy:"128",rx:o.value.blushStrong?14:11,ry:o.value.blushStrong?10:8,fill:"var(--robot-amber)",opacity:o.value.blushStrong?.95:.85},null,8,st),e.createElementVNode("ellipse",{cx:"168",cy:"128",rx:o.value.blushStrong?14:11,ry:o.value.blushStrong?10:8,fill:"var(--robot-amber)",opacity:o.value.blushStrong?.95:.85},null,8,it)],64)):e.createCommentVNode("",!0),o.value.blushPink?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l[0]||(l[0]=e.createElementVNode("ellipse",{cx:"73",cy:"129",rx:"13",ry:"9",fill:"oklch(0.72 0.22 0)",opacity:"0.72"},null,-1)),l[1]||(l[1]=e.createElementVNode("ellipse",{cx:"167",cy:"129",rx:"13",ry:"9",fill:"oklch(0.72 0.22 0)",opacity:"0.72"},null,-1))],64)):e.createCommentVNode("",!0),l[47]||(l[47]=e.createElementVNode("rect",{x:"66",y:"66",width:"108",height:"92",rx:"32",fill:"var(--robot-screen)"},null,-1)),o.value.screenTint?(e.openBlock(),e.createElementBlock("rect",{key:2,x:"66",y:"66",width:"108",height:"92",rx:"32",fill:o.value.screenTint},null,8,ct)):e.createCommentVNode("",!0),l[48]||(l[48]=e.createElementVNode("rect",{x:"66",y:"66",width:"108",height:"40",rx:"20",fill:"oklch(1 0 0 / 0.06)"},null,-1)),y.value==="closed"?(e.openBlock(),e.createElementBlock("g",{key:3,stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"},[e.createElementVNode("path",{d:`M ${r-11} ${t} q 11 7 22 0`},null,8,mt),e.createElementVNode("path",{d:`M ${s-11} ${t} q 11 7 22 0`},null,8,dt)])):y.value==="happy"?(e.openBlock(),e.createElementBlock("g",{key:4,stroke:a,"stroke-width":"6","stroke-linecap":"round",fill:"none"},[e.createElementVNode("path",{d:`M ${r-11} ${t+3} q 11 -16 22 0`},null,8,yt),e.createElementVNode("path",{d:`M ${s-11} ${t+3} q 11 -16 22 0`},null,8,ht)])):y.value==="arcHappy"?(e.openBlock(),e.createElementBlock("g",kt,[e.createElementVNode("path",{d:`M ${r-13} ${t+4} q 13 -20 26 0`,stroke:a,"stroke-width":"7","stroke-linecap":"round",fill:"none"},null,8,pt),e.createElementVNode("path",{d:`M ${s-13} ${t+4} q 13 -20 26 0`,stroke:a,"stroke-width":"7","stroke-linecap":"round",fill:"none"},null,8,ft),e.createElementVNode("rect",{x:r-14,y:t-14,width:"28",height:"18",fill:"var(--robot-screen)"},null,8,gt),e.createElementVNode("rect",{x:s-14,y:t-14,width:"28",height:"18",fill:"var(--robot-screen)"},null,8,xt)])):y.value==="narrow"?(e.openBlock(),e.createElementBlock("g",{key:6,fill:a},[e.createElementVNode("ellipse",{cx:r+f.value*.4,cy:t,rx:"5",ry:"11"},null,8,_t),e.createElementVNode("ellipse",{cx:s+f.value*.4,cy:t,rx:"5",ry:"11"},null,8,bt),e.createElementVNode("line",{x1:r-11,y1:t-12,x2:r+9,y2:t-6,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,ut),e.createElementVNode("line",{x1:s+11,y1:t-12,x2:s-9,y2:t-6,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,Et)])):y.value==="droopy"?(e.openBlock(),e.createElementBlock("g",{key:7,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+3,rx:"8",ry:"10"},null,8,Nt),e.createElementVNode("ellipse",{cx:s,cy:t+3,rx:"8",ry:"10"},null,8,Bt),e.createElementVNode("line",{x1:r+5,y1:t-8,x2:r+12,y2:t-2,stroke:a,"stroke-width":"4","stroke-linecap":"round"},null,8,Vt),e.createElementVNode("line",{x1:s-5,y1:t-8,x2:s-12,y2:t-2,stroke:a,"stroke-width":"4","stroke-linecap":"round"},null,8,wt)])):y.value==="softRound"?(e.openBlock(),e.createElementBlock("g",{key:8,fill:a},[e.createElementVNode("circle",{cx:r+f.value*.2,cy:t+b.value*.2,r:"9"},null,8,Ct),e.createElementVNode("circle",{cx:s+f.value*.2,cy:t+b.value*.2,r:"9"},null,8,St),e.createElementVNode("circle",{cx:r+3,cy:t-3,r:"2.5",fill:"var(--robot-screen)"},null,8,$t),e.createElementVNode("circle",{cx:s+3,cy:t-3,r:"2.5",fill:"var(--robot-screen)"},null,8,qt)])):y.value==="bigRound"?(e.openBlock(),e.createElementBlock("g",{key:9,fill:a},[e.createElementVNode("circle",{cx:r,cy:t,r:"15",fill:"oklch(1 0 0 / 0.96)"}),e.createElementVNode("circle",{cx:s,cy:t,r:"15",fill:"oklch(1 0 0 / 0.96)"}),e.createElementVNode("circle",{cx:r+f.value*.5,cy:t+b.value*.5,r:"8",fill:a},null,8,Mt),e.createElementVNode("circle",{cx:s+f.value*.5,cy:t+b.value*.5,r:"8",fill:a},null,8,Dt),e.createElementVNode("circle",{cx:r+5,cy:t-5,r:"3",fill:"oklch(1 0 0 / 0.9)"},null,8,zt),e.createElementVNode("circle",{cx:s+5,cy:t-5,r:"3",fill:"oklch(1 0 0 / 0.9)"},null,8,At)])):y.value==="halfDroopy"?(e.openBlock(),e.createElementBlock("g",{key:10,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+2,rx:"10",ry:"11",fill:"oklch(1 0 0 / 0.9)"},null,8,Ot),e.createElementVNode("ellipse",{cx:s,cy:t+2,rx:"10",ry:"11",fill:"oklch(1 0 0 / 0.9)"},null,8,Rt),e.createElementVNode("ellipse",{cx:r,cy:t+5,rx:"6",ry:"7",fill:a},null,8,Tt),e.createElementVNode("ellipse",{cx:s,cy:t+5,rx:"6",ry:"7",fill:a},null,8,Lt),e.createElementVNode("rect",{x:r-12,y:t-12,width:"24",height:"12",fill:"var(--robot-screen)"},null,8,It),e.createElementVNode("rect",{x:s-12,y:t-12,width:"24",height:"12",fill:"var(--robot-screen)"},null,8,Pt)])):y.value==="peekSlit"?(e.openBlock(),e.createElementBlock("g",{key:11,stroke:a,"stroke-width":"4","stroke-linecap":"round",fill:"none"},[e.createElementVNode("line",{x1:r-9,y1:t,x2:r+9,y2:t},null,8,Ft),e.createElementVNode("line",{x1:s-9,y1:t,x2:s+9,y2:t},null,8,Gt)])):y.value==="halfSquint"?(e.openBlock(),e.createElementBlock("g",{key:12,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+1,rx:"7",ry:"9",fill:"oklch(1 0 0 / 0.9)"},null,8,Ht),e.createElementVNode("ellipse",{cx:r+2,cy:t+2,rx:"4.5",ry:"6",fill:a},null,8,Zt),e.createElementVNode("rect",{x:r-9,y:t-10,width:"18",height:"9",fill:"var(--robot-screen)"},null,8,jt),e.createElementVNode("ellipse",{cx:s,cy:t,rx:"9",ry:"11",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("ellipse",{cx:s+3,cy:t+1,rx:"6",ry:"7",fill:a},null,8,Ut)])):y.value==="scaredWide"?(e.openBlock(),e.createElementBlock("g",{key:13,fill:a},[e.createElementVNode("circle",{cx:r,cy:t,r:"14",fill:"oklch(1 0 0 / 0.98)"}),e.createElementVNode("circle",{cx:s,cy:t,r:"14",fill:"oklch(1 0 0 / 0.98)"}),e.createElementVNode("circle",{cx:r+3,cy:t+2,r:"7",fill:a},null,8,Qt),e.createElementVNode("circle",{cx:s-3,cy:t+2,r:"7",fill:a},null,8,Yt),e.createElementVNode("circle",{cx:r+6,cy:t-3,r:"2.5",fill:"oklch(1 0 0 / 0.95)"},null,8,Wt),e.createElementVNode("circle",{cx:s-1,cy:t-3,r:"2.5",fill:"oklch(1 0 0 / 0.95)"},null,8,Jt)])):y.value==="narrowSlant"?(e.openBlock(),e.createElementBlock("g",{key:14,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t,rx:"11",ry:"8",fill:"oklch(1 0 0 / 0.92)"}),e.createElementVNode("ellipse",{cx:s,cy:t,rx:"11",ry:"8",fill:"oklch(1 0 0 / 0.92)"}),e.createElementVNode("ellipse",{cx:r+2,cy:t+1,rx:"5",ry:"6",fill:a},null,8,Kt),e.createElementVNode("ellipse",{cx:s-2,cy:t+1,rx:"5",ry:"6",fill:a},null,8,Xt),e.createElementVNode("line",{x1:r-12,y1:t-7,x2:r+10,y2:t-4,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,vt),e.createElementVNode("line",{x1:s-10,y1:t-4,x2:s+12,y2:t-7,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,el)])):y.value==="dashEyes"?(e.openBlock(),e.createElementBlock("g",{key:15,stroke:a,"stroke-width":"6","stroke-linecap":"round"},[e.createElementVNode("line",{x1:r-10,y1:t,x2:r+10,y2:t},null,8,tl),e.createElementVNode("line",{x1:s-10,y1:t,x2:s+10,y2:t},null,8,ll)])):y.value==="halfClosed"?(e.openBlock(),e.createElementBlock("g",ol,[e.createElementVNode("ellipse",{cx:r,cy:t+2,rx:"11",ry:"12",fill:"oklch(1 0 0 / 0.88)"},null,8,al),e.createElementVNode("ellipse",{cx:s,cy:t+2,rx:"11",ry:"12",fill:"oklch(1 0 0 / 0.88)"},null,8,nl),e.createElementVNode("ellipse",{cx:r,cy:t+5,rx:"6",ry:"7",fill:a},null,8,rl),e.createElementVNode("ellipse",{cx:s,cy:t+5,rx:"6",ry:"7",fill:a},null,8,sl),e.createElementVNode("rect",{x:r-13,y:t-13,width:"26",height:"16",fill:"var(--robot-screen)"},null,8,il),e.createElementVNode("rect",{x:s-13,y:t-13,width:"26",height:"16",fill:"var(--robot-screen)"},null,8,cl),e.createElementVNode("path",{d:`M ${r-11} ${t+3} q 11 -6 22 0`,stroke:a,"stroke-width":"4.5","stroke-linecap":"round",fill:"none"},null,8,ml),e.createElementVNode("path",{d:`M ${s-11} ${t+3} q 11 -6 22 0`,stroke:a,"stroke-width":"4.5","stroke-linecap":"round",fill:"none"},null,8,dl)])):y.value==="thinkEyes"?(e.openBlock(),e.createElementBlock("g",{key:17,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t,rx:"9",ry:"10",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("ellipse",{cx:s,cy:t,rx:"9",ry:"10",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("ellipse",{cx:r,cy:t-2,rx:"5.5",ry:"6.5",fill:a},null,8,yl),e.createElementVNode("ellipse",{cx:s,cy:t-2,rx:"5.5",ry:"6.5",fill:a},null,8,hl),e.createElementVNode("line",{x1:r-8,y1:t-12,x2:r+6,y2:t-9,stroke:a,"stroke-width":"3.5","stroke-linecap":"round"},null,8,kl),e.createElementVNode("line",{x1:s-6,y1:t-9,x2:s+8,y2:t-12,stroke:a,"stroke-width":"3.5","stroke-linecap":"round"},null,8,pl)])):y.value==="blankDot"?(e.openBlock(),e.createElementBlock("g",{key:18,fill:a},[e.createElementVNode("circle",{cx:r,cy:t,r:"10",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("circle",{cx:s,cy:t,r:"10",fill:"oklch(1 0 0 / 0.9)"}),e.createElementVNode("circle",{cx:r,cy:t,r:"4",fill:a}),e.createElementVNode("circle",{cx:s,cy:t,r:"4",fill:a})])):y.value==="heavyLid"?(e.openBlock(),e.createElementBlock("g",fl,[e.createElementVNode("ellipse",{cx:r,cy:t+3,rx:"11",ry:"12",fill:"oklch(1 0 0 / 0.85)"},null,8,gl),e.createElementVNode("ellipse",{cx:s,cy:t+3,rx:"11",ry:"12",fill:"oklch(1 0 0 / 0.85)"},null,8,xl),e.createElementVNode("ellipse",{cx:r,cy:t+7,rx:"5",ry:"6",fill:a},null,8,_l),e.createElementVNode("ellipse",{cx:s,cy:t+7,rx:"5",ry:"6",fill:a},null,8,bl),e.createElementVNode("rect",{x:r-13,y:t-14,width:"26",height:"20",fill:"var(--robot-screen)"},null,8,ul),e.createElementVNode("rect",{x:s-13,y:t-14,width:"26",height:"20",fill:"var(--robot-screen)"},null,8,El),e.createElementVNode("path",{d:`M ${r-11} ${t+6} q 11 -4 22 0`,stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"},null,8,Nl),e.createElementVNode("path",{d:`M ${s-11} ${t+6} q 11 -4 22 0`,stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"},null,8,Bl)])):y.value==="smug"?(e.openBlock(),e.createElementBlock("g",{key:20,stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"},[e.createElementVNode("path",{d:`M ${r-11} ${t-2} q 11 9 22 2`},null,8,Vl),e.createElementVNode("path",{d:`M ${s-11} ${t-2} q 11 9 22 2`},null,8,wl)])):y.value==="cool"?(e.openBlock(),e.createElementBlock("g",{key:21,stroke:a,"stroke-width":"5","stroke-linecap":"round"},[e.createElementVNode("line",{x1:r-11,y1:t,x2:r+11,y2:t},null,8,Cl),e.createElementVNode("line",{x1:s-11,y1:t,x2:s+11,y2:t},null,8,Sl)])):y.value==="sad"?(e.openBlock(),e.createElementBlock("g",{key:22,stroke:a,"stroke-width":"6","stroke-linecap":"round",fill:"none"},[e.createElementVNode("path",{d:`M ${r-11} ${t-1} q 11 14 22 0`},null,8,$l),e.createElementVNode("path",{d:`M ${s-11} ${t-1} q 11 14 22 0`},null,8,ql)])):y.value==="teary"?(e.openBlock(),e.createElementBlock("g",{key:23,fill:a},[e.createElementVNode("circle",{cx:r,cy:t+1,r:"11",fill:"oklch(1 0 0 / 0.95)"},null,8,Ml),e.createElementVNode("circle",{cx:s,cy:t+1,r:"11",fill:"oklch(1 0 0 / 0.95)"},null,8,Dl),e.createElementVNode("circle",{cx:r+f.value*.3,cy:t+3+b.value*.3,r:"6.5",fill:a},null,8,zl),e.createElementVNode("circle",{cx:s+f.value*.3,cy:t+3+b.value*.3,r:"6.5",fill:a},null,8,Al),e.createElementVNode("circle",{cx:r+3,cy:t-3,r:"2.5",fill:"oklch(1 0 0 / 0.95)"},null,8,Ol),e.createElementVNode("circle",{cx:s+3,cy:t-3,r:"2.5",fill:"oklch(1 0 0 / 0.95)"},null,8,Rl)])):y.value==="angry"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:24},[e.createElementVNode("g",{stroke:a,"stroke-width":"5","stroke-linecap":"round"},[e.createElementVNode("line",{x1:r-12,y1:t-13,x2:r+8,y2:t-6},null,8,Tl),e.createElementVNode("line",{x1:s+12,y1:t-13,x2:s-8,y2:t-6},null,8,Ll)]),e.createElementVNode("g",{fill:a},[e.createElementVNode("ellipse",{cx:r+f.value*.4,cy:t+2,rx:"7",ry:"8"},null,8,Il),e.createElementVNode("ellipse",{cx:s+f.value*.4,cy:t+2,rx:"7",ry:"8"},null,8,Pl)])],64)):y.value==="excited"?(e.openBlock(),e.createElementBlock("g",{key:25,fill:a},[e.createElementVNode("circle",{cx:r+f.value*.3,cy:t+b.value*.3,r:"13"},null,8,Fl),e.createElementVNode("circle",{cx:s+f.value*.3,cy:t+b.value*.3,r:"13"},null,8,Gl),e.createElementVNode("circle",{cx:r+4,cy:t-4,r:"3",fill:"var(--robot-screen)"},null,8,Hl),e.createElementVNode("circle",{cx:s+4,cy:t-4,r:"3",fill:"var(--robot-screen)"},null,8,Zl)])):y.value==="lookup"?(e.openBlock(),e.createElementBlock("g",{key:26,fill:a},[e.createElementVNode("ellipse",{cx:r+f.value*.4,cy:t-4,rx:"7",ry:"9"},null,8,jl),e.createElementVNode("ellipse",{cx:s+f.value*.4,cy:t-4,rx:"7",ry:"9"},null,8,Ul)])):y.value==="lookdown"?(e.openBlock(),e.createElementBlock("g",{key:27,fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+5,rx:"7",ry:"9"},null,8,Ql),e.createElementVNode("ellipse",{cx:s,cy:t+5,rx:"7",ry:"9"},null,8,Yl)])):y.value==="wide"?(e.openBlock(),e.createElementBlock("g",{key:28,fill:a},[e.createElementVNode("circle",{cx:r,cy:t,r:"13",fill:"oklch(1 0 0 / 0.95)"}),e.createElementVNode("circle",{cx:s,cy:t,r:"13",fill:"oklch(1 0 0 / 0.95)"}),e.createElementVNode("circle",{cx:r+f.value*.5,cy:t+b.value*.5,r:"6",fill:a},null,8,Wl),e.createElementVNode("circle",{cx:s+f.value*.5,cy:t+b.value*.5,r:"6",fill:a},null,8,Jl)])):y.value==="half"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:29},[e.createElementVNode("g",{fill:a},[e.createElementVNode("ellipse",{cx:r,cy:t+3,rx:"7",ry:"5"},null,8,Kl),e.createElementVNode("ellipse",{cx:s,cy:t+3,rx:"7",ry:"5"},null,8,Xl)]),e.createElementVNode("g",{stroke:a,"stroke-width":"5","stroke-linecap":"round"},[e.createElementVNode("line",{x1:r-11,y1:t-4,x2:r+11,y2:t-4},null,8,vl),e.createElementVNode("line",{x1:s-11,y1:t-4,x2:s+11,y2:t-4},null,8,eo)]),c.emotion==="tired"?(e.openBlock(),e.createElementBlock("g",{key:0,stroke:a,"stroke-width":"2.5","stroke-linecap":"round",fill:"none",opacity:"0.6"},[e.createElementVNode("path",{d:`M ${r-9} ${t+12} q 9 5 18 0`},null,8,to),e.createElementVNode("path",{d:`M ${s-9} ${t+12} q 9 5 18 0`},null,8,lo)])):e.createCommentVNode("",!0)],64)):y.value==="dizzy"?(e.openBlock(),e.createElementBlock("g",{key:30,stroke:a,"stroke-width":"3",fill:"none","stroke-linecap":"round"},[e.createElementVNode("path",{d:`M ${r} ${t} m -8 0 a 8 8 0 1 1 5 7`},null,8,oo),e.createElementVNode("path",{d:`M ${s} ${t} m -8 0 a 8 8 0 1 1 5 7`},null,8,ao)])):y.value==="confused"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:31},[e.createElementVNode("circle",{cx:r,cy:t,r:"10",fill:"oklch(1 0 0 / 0.95)"}),e.createElementVNode("circle",{cx:r+f.value*.4,cy:t+b.value*.4,r:"5",fill:a},null,8,no),e.createElementVNode("line",{x1:s-9,y1:t,x2:s+9,y2:t,stroke:a,"stroke-width":"5","stroke-linecap":"round"},null,8,ro)],64)):y.value==="blank"?(e.openBlock(),e.createElementBlock("g",{key:32,fill:a,opacity:"0.55"},[e.createElementVNode("circle",{cx:r,cy:t,r:"5"}),e.createElementVNode("circle",{cx:s,cy:t,r:"5"})])):(e.openBlock(),e.createElementBlock("g",{key:33,fill:a},[e.createElementVNode("rect",{x:r-8+f.value,y:t-12+b.value,width:"16",height:"24",rx:"8"},null,8,so),e.createElementVNode("rect",{x:s-8+f.value,y:t-12+b.value,width:"16",height:"24",rx:"8"},null,8,io)])),c.speaking?(e.openBlock(),e.createElementBlock("ellipse",{key:34,cx:"120",cy:"138",rx:"13",ry:"10",fill:a,class:"origin-center animate-wave",style:{transformBox:"fill-box",transformOrigin:"center"}})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:35},[o.value.mouth==="smile"?(e.openBlock(),e.createElementBlock("path",{key:0,d:"M 104 134 q 16 16 32 0",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"})):o.value.mouth==="open"?(e.openBlock(),e.createElementBlock("path",{key:1,d:"M 104 132 q 16 22 32 0 q -16 6 -32 0 Z",fill:a})):o.value.mouth==="bigopen"?(e.openBlock(),e.createElementBlock("ellipse",{key:2,cx:"120",cy:"140",rx:"11",ry:"14",fill:a})):o.value.mouth==="frown"?(e.openBlock(),e.createElementBlock("path",{key:3,d:"M 106 142 q 14 -12 28 0",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"})):o.value.mouth==="dot"?(e.openBlock(),e.createElementBlock("ellipse",{key:4,cx:"120",cy:"138",rx:"7",ry:"6",fill:a,opacity:"0.85"})):o.value.mouth==="flat"?(e.openBlock(),e.createElementBlock("line",{key:5,x1:"110",y1:"138",x2:"130",y2:"138",stroke:a,"stroke-width":"5","stroke-linecap":"round"})):o.value.mouth==="o"?(e.openBlock(),e.createElementBlock("ellipse",{key:6,cx:"120",cy:"139",rx:"7",ry:"9",fill:a})):o.value.mouth==="pout"?(e.openBlock(),e.createElementBlock("ellipse",{key:7,cx:"120",cy:"140",rx:"6",ry:"5",fill:a})):o.value.mouth==="wavy"?(e.openBlock(),e.createElementBlock("path",{key:8,d:"M 106 138 q 6 -7 12 0 q 6 7 12 0",stroke:a,"stroke-width":"4","stroke-linecap":"round",fill:"none"})):o.value.mouth==="calm"?(e.openBlock(),e.createElementBlock("path",{key:9,d:"M 110 138 q 10 5 20 0",stroke:a,"stroke-width":"4","stroke-linecap":"round",fill:"none"})):o.value.mouth==="grit"?(e.openBlock(),e.createElementBlock("g",co,[e.createElementVNode("rect",{x:"106",y:"134",width:"28",height:"10",rx:"3",fill:a}),l[2]||(l[2]=e.createElementVNode("line",{x1:"115",y1:"134",x2:"115",y2:"144",stroke:"var(--robot-screen)","stroke-width":"2"},null,-1)),l[3]||(l[3]=e.createElementVNode("line",{x1:"125",y1:"134",x2:"125",y2:"144",stroke:"var(--robot-screen)","stroke-width":"2"},null,-1))])):o.value.mouth==="bigSmile"?(e.openBlock(),e.createElementBlock("path",{key:11,d:"M 100 132 q 20 22 40 0",stroke:a,"stroke-width":"6","stroke-linecap":"round",fill:"none"})):o.value.mouth==="bigFrown"?(e.openBlock(),e.createElementBlock("path",{key:12,d:"M 100 146 q 20 -20 40 0",stroke:a,"stroke-width":"6","stroke-linecap":"round",fill:"none"})):o.value.mouth==="bitterSmile"?(e.openBlock(),e.createElementBlock("path",{key:13,d:"M 106 140 q 8 -4 14 2 q 6 4 14 -4",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"})):o.value.mouth==="heartMouth"?(e.openBlock(),e.createElementBlock("path",{key:14,d:"M 120 142 C 114 135, 108 132, 108 128 C 108 122, 116 122, 120 128 C 124 122, 132 122, 132 128 C 132 132, 126 135, 120 142 Z",fill:a,opacity:"0.9"})):o.value.mouth==="awkwardSmile"?(e.openBlock(),e.createElementBlock("path",{key:15,d:"M 108 140 q 6 -6 12 0 q 7 6 12 -3",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"})):o.value.mouth==="poutBig"?(e.openBlock(),e.createElementBlock("g",mo,[e.createElementVNode("ellipse",{cx:"120",cy:"141",rx:"12",ry:"8",fill:a,opacity:"0.85"}),l[4]||(l[4]=e.createElementVNode("ellipse",{cx:"120",cy:"137",rx:"10",ry:"5",fill:"oklch(1 0 0 / 0.25)"},null,-1))])):(e.openBlock(),e.createElementBlock("path",{key:17,d:"M 108 136 q 12 8 24 0",stroke:a,"stroke-width":"5","stroke-linecap":"round",fill:"none"}))],64)),o.value.sweat?(e.openBlock(),e.createElementBlock("path",yo)):e.createCommentVNode("",!0),o.value.tear?(e.openBlock(),e.createElementBlock("ellipse",{key:37,cx:s+11,cy:t+14,rx:"4",ry:"6",fill:a,opacity:"0.9"},null,8,ho)):e.createCommentVNode("",!0),o.value.tear2?(e.openBlock(),e.createElementBlock("ellipse",{key:38,cx:r-11,cy:t+14,rx:"4",ry:"6",fill:a,opacity:"0.9"},null,8,ko)):e.createCommentVNode("",!0),xn.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:39},e.renderList(Nn,(n,x)=>e.createElementVNode("path",{key:x,d:R(n.x,n.y),fill:"var(--robot-amber)",class:"animate-sparkle",style:e.normalizeStyle({animationDelay:`${n.delay}s`,transformBox:"fill-box",transformOrigin:"center"})},null,12,po)),64)):e.createCommentVNode("",!0),o.value.sym==="anger"?(e.openBlock(),e.createElementBlock("g",{key:40,stroke:o.value.symColor,"stroke-width":"3.5","stroke-linecap":"round",class:"animate-alert-flash"},[...l[5]||(l[5]=[e.createElementVNode("path",{d:"M 160 60 l 8 0 M 164 56 l 0 8"},null,-1),e.createElementVNode("path",{d:"M 174 70 l 6 4 M 180 70 l -6 4"},null,-1)])],8,fo)):o.value.sym==="question"?(e.openBlock(),e.createElementBlock("text",{key:41,x:"160",y:"74","font-size":"26",fill:o.value.symColor,"font-weight":"bold"},"?",8,go)):o.value.sym==="exclaim"?(e.openBlock(),e.createElementBlock("text",{key:42,x:"162",y:"74","font-size":"26",fill:o.value.symColor,"font-weight":"bold"},"!",8,xo)):o.value.sym==="ellipsis"?(e.openBlock(),e.createElementBlock("g",{key:43,fill:o.value.symColor},[...l[6]||(l[6]=[e.createElementVNode("circle",{cx:"156",cy:"66",r:"3",class:"animate-dot-blink",style:{"animation-delay":"0s"}},null,-1),e.createElementVNode("circle",{cx:"166",cy:"66",r:"3",class:"animate-dot-blink",style:{"animation-delay":"0.2s"}},null,-1),e.createElementVNode("circle",{cx:"176",cy:"66",r:"3",class:"animate-dot-blink",style:{"animation-delay":"0.4s"}},null,-1)])],8,_o)):o.value.sym==="bulb"?(e.openBlock(),e.createElementBlock("g",bo,[e.createElementVNode("circle",{cx:"166",cy:"58",r:"11",fill:o.value.symColor,class:"animate-antenna-pulse origin-center"},null,8,uo),l[7]||(l[7]=e.createStaticVNode('<rect x="161" y="68" width="10" height="6" rx="2" fill="var(--robot-blue-dark)" data-v-c1f1f037></rect><g stroke="var(--robot-amber)" stroke-width="2" stroke-linecap="round" data-v-c1f1f037><line x1="166" y1="40" x2="166" y2="44" data-v-c1f1f037></line><line x1="182" y1="50" x2="179" y2="52" data-v-c1f1f037></line><line x1="150" y1="50" x2="153" y2="52" data-v-c1f1f037></line></g>',2))])):o.value.sym==="check"?(e.openBlock(),e.createElementBlock("path",{key:45,d:"M 156 64 l 6 7 l 12 -15",stroke:o.value.symColor,"stroke-width":"5","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,Eo)):o.value.sym==="gear"?(e.openBlock(),e.createElementBlock("g",No,[e.createElementVNode("g",{fill:o.value.symColor},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(Bn,n=>e.createElementVNode("rect",{key:n,x:"165",y:"46",width:"6",height:"8",rx:"1.5",transform:`rotate(${n} 168 62)`},null,8,Vo)),64)),l[8]||(l[8]=e.createElementVNode("circle",{cx:"168",cy:"62",r:"11"},null,-1))],8,Bo),l[9]||(l[9]=e.createElementVNode("circle",{cx:"168",cy:"62",r:"4.5",fill:"var(--robot-screen)"},null,-1))])):o.value.sym==="pencil"?(e.openBlock(),e.createElementBlock("g",wo,[e.createElementVNode("rect",{x:"164",y:"46",width:"8",height:"22",rx:"2",fill:o.value.symColor},null,8,Co),l[10]||(l[10]=e.createElementVNode("rect",{x:"164",y:"44",width:"8",height:"6",fill:"var(--robot-amber)"},null,-1)),l[11]||(l[11]=e.createElementVNode("path",{d:"M 164 68 l 4 8 l 4 -8 Z",fill:"var(--robot-screen)"},null,-1))])):o.value.sym==="bell"?(e.openBlock(),e.createElementBlock("g",So,[e.createElementVNode("path",{d:"M 168 46 a 11 11 0 0 1 11 11 v 6 l 3 4 h -28 l 3 -4 v -6 a 11 11 0 0 1 11 -11 Z",fill:o.value.symColor},null,8,$o),e.createElementVNode("circle",{cx:"168",cy:"73",r:"3",fill:o.value.symColor},null,8,qo)])):o.value.sym==="loader"?(e.openBlock(),e.createElementBlock("g",Mo,[e.createElementVNode("path",{d:"M 168 48 a 12 12 0 1 1 -8.5 3.5",fill:"none",stroke:o.value.symColor,"stroke-width":"4","stroke-linecap":"round"},null,8,Do)])):o.value.sym==="warning"?(e.openBlock(),e.createElementBlock("g",zo,[e.createElementVNode("path",{d:"M 168 46 l 14 26 l -28 0 Z",fill:o.value.symColor,stroke:"var(--robot-screen)","stroke-width":"1.5","stroke-linejoin":"round"},null,8,Ao),l[12]||(l[12]=e.createElementVNode("line",{x1:"168",y1:"56",x2:"168",y2:"64",stroke:"var(--robot-screen)","stroke-width":"3","stroke-linecap":"round"},null,-1)),l[13]||(l[13]=e.createElementVNode("circle",{cx:"168",cy:"69",r:"1.8",fill:"var(--robot-screen)"},null,-1))])):o.value.sym==="siren"?(e.openBlock(),e.createElementBlock("g",Oo,[e.createElementVNode("g",Ro,[e.createElementVNode("path",{d:"M 156 70 a 12 12 0 0 1 24 0 Z",fill:o.value.symColor},null,8,To),e.createElementVNode("rect",{x:"152",y:"70",width:"32",height:"5",rx:"2",fill:o.value.symColor},null,8,Lo)]),e.createElementVNode("g",{stroke:o.value.symColor,"stroke-width":"2.5","stroke-linecap":"round",class:"animate-alert-flash",opacity:"0.7"},[...l[14]||(l[14]=[e.createElementVNode("line",{x1:"146",y1:"56",x2:"150",y2:"60"},null,-1),e.createElementVNode("line",{x1:"190",y1:"56",x2:"186",y2:"60"},null,-1),e.createElementVNode("line",{x1:"168",y1:"44",x2:"168",y2:"49"},null,-1)])],8,Io)])):o.value.sym==="broken"?(e.openBlock(),e.createElementBlock("path",{key:52,d:"M 170 46 l -10 16 l 7 0 l -5 14 l 14 -20 l -8 0 l 6 -10 Z",fill:o.value.symColor,class:"animate-alert-flash",stroke:"var(--robot-screen)","stroke-width":"1","stroke-linejoin":"round"},null,8,Po)):o.value.sym==="scan"?(e.openBlock(),e.createElementBlock("g",Fo,[e.createElementVNode("circle",{cx:"166",cy:"60",r:"9",fill:"none",stroke:o.value.symColor,"stroke-width":"3"},null,8,Go),e.createElementVNode("line",{x1:"173",y1:"67",x2:"180",y2:"74",stroke:o.value.symColor,"stroke-width":"3.5","stroke-linecap":"round"},null,8,Ho)])):o.value.sym==="lotus"?(e.openBlock(),e.createElementBlock("g",Zo,[e.createElementVNode("ellipse",{cx:"120",cy:"34",rx:"40",ry:"9",fill:"none",stroke:o.value.symColor,"stroke-width":"3",opacity:"0.8",class:"animate-antenna-pulse origin-center",style:{transformOrigin:"120px 34px"}},null,8,jo),e.createElementVNode("circle",{cx:"92",cy:"34",r:"2",fill:o.value.symColor},null,8,Uo),e.createElementVNode("circle",{cx:"148",cy:"34",r:"2",fill:o.value.symColor},null,8,Qo)])):o.value.sym==="heart"?(e.openBlock(),e.createElementBlock("path",{key:55,d:"M 170 56 c -4 -6 -13 -2 -8 5 c 2 3 8 7 8 7 c 0 0 6 -4 8 -7 c 5 -7 -4 -11 -8 -5 Z",fill:o.value.symColor,class:"animate-antenna-pulse origin-center",style:{transformOrigin:"170px 60px"}},null,8,Yo)):o.value.sym==="soundwave"?(e.openBlock(),e.createElementBlock("g",{key:56,stroke:o.value.symColor,"stroke-width":"3","stroke-linecap":"round",fill:"none"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([0,.5,1],(n,x)=>e.createElementVNode("path",{key:x,d:"M 188 52 q 9 10 0 20",class:"animate-sound-ripple",style:e.normalizeStyle({transformOrigin:"188px 62px",animationDelay:`${n}s`})},null,4)),64))],8,Wo)):o.value.sym==="pin"?(e.openBlock(),e.createElementBlock("g",Jo,[e.createElementVNode("path",{d:"M 168 44 a 11 11 0 0 1 11 11 c 0 8 -11 19 -11 19 c 0 0 -11 -11 -11 -19 a 11 11 0 0 1 11 -11 Z",fill:o.value.symColor},null,8,Ko),l[15]||(l[15]=e.createElementVNode("circle",{cx:"168",cy:"55",r:"4",fill:"var(--robot-screen)"},null,-1)),e.createElementVNode("ellipse",{cx:"168",cy:"77",rx:"8",ry:"2.5",fill:o.value.symColor,opacity:"0.3"},null,8,Xo)])):o.value.sym==="target"?(e.openBlock(),e.createElementBlock("g",{key:58,stroke:o.value.symColor,"stroke-width":"2.5",fill:"none"},[l[16]||(l[16]=e.createElementVNode("circle",{cx:"168",cy:"60",r:"13",class:"animate-target-pulse",style:{transformOrigin:"168px 60px"}},null,-1)),l[17]||(l[17]=e.createElementVNode("circle",{cx:"168",cy:"60",r:"6"},null,-1)),e.createElementVNode("circle",{cx:"168",cy:"60",r:"1.8",fill:o.value.symColor,stroke:"none"},null,8,ea),l[18]||(l[18]=e.createStaticVNode('<g stroke-linecap="round" data-v-c1f1f037><line x1="168" y1="42" x2="168" y2="49" data-v-c1f1f037></line><line x1="168" y1="71" x2="168" y2="78" data-v-c1f1f037></line><line x1="150" y1="60" x2="157" y2="60" data-v-c1f1f037></line><line x1="179" y1="60" x2="186" y2="60" data-v-c1f1f037></line></g>',1))],8,vo)):o.value.sym==="book"?(e.openBlock(),e.createElementBlock("g",ta,[l[19]||(l[19]=e.createElementVNode("path",{d:"M 168 50 c -6 -4 -14 -4 -18 0 v 18 c 4 -4 12 -4 18 0 Z",fill:"oklch(0.96 0.02 95)",stroke:"var(--robot-amber)","stroke-width":"1.5"},null,-1)),l[20]||(l[20]=e.createElementVNode("path",{d:"M 168 50 c 6 -4 14 -4 18 0 v 18 c -4 -4 -12 -4 -18 0 Z",fill:"oklch(0.96 0.02 95)",stroke:"var(--robot-amber)","stroke-width":"1.5"},null,-1)),e.createElementVNode("line",{x1:"168",y1:"50",x2:"168",y2:"68",stroke:o.value.symColor,"stroke-width":"2"},null,8,la),l[21]||(l[21]=e.createElementVNode("line",{x1:"154",y1:"57",x2:"163",y2:"56",stroke:"var(--robot-amber)","stroke-width":"1.2","stroke-linecap":"round"},null,-1)),l[22]||(l[22]=e.createElementVNode("line",{x1:"154",y1:"62",x2:"163",y2:"61",stroke:"var(--robot-amber)","stroke-width":"1.2","stroke-linecap":"round"},null,-1)),l[23]||(l[23]=e.createElementVNode("line",{x1:"173",y1:"56",x2:"182",y2:"57",stroke:"var(--robot-amber)","stroke-width":"1.2","stroke-linecap":"round"},null,-1)),l[24]||(l[24]=e.createElementVNode("line",{x1:"173",y1:"61",x2:"182",y2:"62",stroke:"var(--robot-amber)","stroke-width":"1.2","stroke-linecap":"round"},null,-1))])):o.value.sym==="plane"?(e.openBlock(),e.createElementBlock("g",oa,[e.createElementVNode("path",{d:"M 150 46 h 36 a 6 6 0 0 1 6 6 v 14 a 6 6 0 0 1 -6 6 h -20 l -8 8 v -8 h -2 a 6 6 0 0 1 -6 -6 v -14 a 6 6 0 0 1 6 -6 Z",fill:o.value.symColor},null,8,aa),l[25]||(l[25]=e.createElementVNode("circle",{cx:"160",cy:"59",r:"2.6",fill:"oklch(1 0 0)",class:"animate-dot-blink",style:{animationDelay:"0s"}},null,-1)),l[26]||(l[26]=e.createElementVNode("circle",{cx:"168",cy:"59",r:"2.6",fill:"oklch(1 0 0)",class:"animate-dot-blink",style:{animationDelay:"0.2s"}},null,-1)),l[27]||(l[27]=e.createElementVNode("circle",{cx:"176",cy:"59",r:"2.6",fill:"oklch(1 0 0)",class:"animate-dot-blink",style:{animationDelay:"0.4s"}},null,-1))])):o.value.sym==="msgOk"?(e.openBlock(),e.createElementBlock("g",na,[e.createElementVNode("path",{d:"M 150 46 h 36 a 6 6 0 0 1 6 6 v 14 a 6 6 0 0 1 -6 6 h -20 l -8 8 v -8 h -2 a 6 6 0 0 1 -6 -6 v -14 a 6 6 0 0 1 6 -6 Z",fill:o.value.symColor},null,8,ra),l[28]||(l[28]=e.createElementVNode("path",{d:"M 161 59 l 4 5 l 9 -10",stroke:"oklch(1 0 0)","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,-1))])):o.value.sym==="msgFail"?(e.openBlock(),e.createElementBlock("g",sa,[e.createElementVNode("path",{d:"M 150 46 h 36 a 6 6 0 0 1 6 6 v 14 a 6 6 0 0 1 -6 6 h -20 l -8 8 v -8 h -2 a 6 6 0 0 1 -6 -6 v -14 a 6 6 0 0 1 6 -6 Z",fill:o.value.symColor},null,8,ia),l[29]||(l[29]=e.createElementVNode("line",{x1:"168",y1:"52",x2:"168",y2:"62",stroke:"oklch(1 0 0)","stroke-width":"3","stroke-linecap":"round"},null,-1)),l[30]||(l[30]=e.createElementVNode("circle",{cx:"168",cy:"68",r:"2",fill:"oklch(1 0 0)"},null,-1))])):o.value.sym==="msgIn"?(e.openBlock(),e.createElementBlock("g",ca,[e.createElementVNode("path",{d:"M 150 46 h 36 a 6 6 0 0 1 6 6 v 14 a 6 6 0 0 1 -6 6 h -20 l -8 8 v -8 h -2 a 6 6 0 0 1 -6 -6 v -14 a 6 6 0 0 1 6 -6 Z",fill:o.value.symColor},null,8,ma),l[31]||(l[31]=e.createElementVNode("path",{d:"M 168 53 v 10 m 0 0 l -4 -4 m 4 4 l 4 -4",stroke:"oklch(1 0 0)","stroke-width":"2.6","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",class:"animate-locate-bob",style:{transformOrigin:"168px 58px"}},null,-1))])):o.value.sym==="lightning"?(e.openBlock(),e.createElementBlock("g",da,[e.createElementVNode("path",{d:"M 172 44 l -9 14 h 6 l -5 13 l 14 -18 h -7 l 6 -9 Z",fill:o.value.symColor,stroke:"oklch(1 0 0 / 0.3)","stroke-width":"0.8","stroke-linejoin":"round"},null,8,ya)])):o.value.sym==="sparkle2"?(e.openBlock(),e.createElementBlock("g",ha,[e.createElementVNode("path",{d:"M 168 46 l 2.5 8 l 8 0 l -6.5 5 l 2.5 8 l -6.5 -5 l -6.5 5 l 2.5 -8 l -6.5 -5 l 8 0 Z",fill:o.value.symColor},null,8,ka),e.createElementVNode("circle",{cx:"160",cy:"75",r:"2.5",fill:o.value.symColor,opacity:"0.7",class:"animate-dot-blink",style:{animationDelay:"0.3s"}},null,8,pa),e.createElementVNode("circle",{cx:"176",cy:"77",r:"1.8",fill:o.value.symColor,opacity:"0.6",class:"animate-dot-blink",style:{animationDelay:"0.6s"}},null,8,fa)])):o.value.sym==="zzz"?(e.openBlock(),e.createElementBlock("g",ga,[e.createElementVNode("text",{x:"158",y:"82","font-size":"8","font-weight":"700","font-family":"monospace",fill:o.value.symColor,class:"animate-dot-blink",style:{animationDelay:"0s"}},"Z",8,xa),e.createElementVNode("text",{x:"165",y:"73","font-size":"11","font-weight":"700","font-family":"monospace",fill:o.value.symColor,class:"animate-dot-blink",style:{animationDelay:"0.4s"}},"Z",8,_a),e.createElementVNode("text",{x:"174",y:"62","font-size":"14","font-weight":"700","font-family":"monospace",fill:o.value.symColor,class:"animate-dot-blink",style:{animationDelay:"0.8s"}},"Z",8,ba)])):o.value.sym==="shield"?(e.openBlock(),e.createElementBlock("g",ua,[e.createElementVNode("path",{d:"M 156 46 C 156 43, 158 42, 162 42 L 174 42 C 178 42, 180 43, 180 46 L 180 62 C 180 70, 168 78, 168 78 C 168 78, 156 70, 156 62 Z",fill:o.value.symColor,opacity:"0.92"},null,8,Ea),l[32]||(l[32]=e.createElementVNode("path",{d:"M 158 47 C 158 45, 160 44, 163 44 L 173 44 L 173 60 C 173 65, 168 70, 168 70 C 162 66, 158 61, 158 57 Z",fill:"oklch(1 0 0 / 0.22)"},null,-1)),l[33]||(l[33]=e.createElementVNode("line",{x1:"168",y1:"44",x2:"168",y2:"76",stroke:"oklch(1 0 0 / 0.35)","stroke-width":"1.5","stroke-linecap":"round"},null,-1)),l[34]||(l[34]=e.createElementVNode("line",{x1:"158",y1:"58",x2:"178",y2:"58",stroke:"oklch(1 0 0 / 0.35)","stroke-width":"1.5","stroke-linecap":"round"},null,-1))])):o.value.sym==="miniBasketball"?(e.openBlock(),e.createElementBlock("g",Na,[...l[35]||(l[35]=[e.createStaticVNode('<circle cx="168" cy="62" r="14" fill="oklch(0.65 0.16 40)" data-v-c1f1f037></circle><path d="M 168 48 A 14 14 0 0 1 182 62 A 14 14 0 0 1 168 76 Q 177 70 177 62 Q 177 54 168 48 Z" fill="oklch(0.52 0.14 36)" data-v-c1f1f037></path><ellipse cx="162" cy="55" rx="3.5" ry="2.5" fill="oklch(0.84 0.10 55)" opacity="0.55" transform="rotate(-15,162,55)" data-v-c1f1f037></ellipse><line x1="154" y1="62" x2="182" y2="62" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" stroke-linecap="round" data-v-c1f1f037></line><path d="M 161 48 Q 155 62 161 76" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" fill="none" stroke-linecap="round" data-v-c1f1f037></path><path d="M 175 48 Q 181 62 175 76" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" fill="none" stroke-linecap="round" data-v-c1f1f037></path><path d="M 154 56 Q 168 50 182 56" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" fill="none" stroke-linecap="round" data-v-c1f1f037></path><path d="M 154 68 Q 168 74 182 68" stroke="oklch(0.25 0.05 30)" stroke-width="1.6" fill="none" stroke-linecap="round" data-v-c1f1f037></path>',8)])])):o.value.sym==="lowBattery"?(e.openBlock(),e.createElementBlock("g",Ba,[e.createElementVNode("rect",{x:"152",y:"50",width:"28",height:"16",rx:"3",fill:"none",stroke:o.value.symColor,"stroke-width":"2.5"},null,8,Va),e.createElementVNode("rect",{x:"180",y:"54",width:"4",height:"8",rx:"1.5",fill:o.value.symColor,opacity:"0.7"},null,8,wa),e.createElementVNode("rect",{x:"154.5",y:"52.5",width:"5",height:"11",rx:"1.5",fill:o.value.symColor},null,8,Ca),l[36]||(l[36]=e.createElementVNode("text",{x:"161",y:"64","font-size":"10","font-weight":"700","font-family":"monospace",fill:"oklch(1 0 0 / 0.9)",class:"animate-dot-blink",style:{animationDelay:"0.2s"}},"!",-1))])):e.createCommentVNode("",!0),w.value==="heart"?(e.openBlock(),e.createElementBlock("path",{key:70,d:"M 120 36 c -9 -13 -28 -4 -17 10 c 4 6 17 15 17 15 c 0 0 13 -9 17 -15 c 11 -14 -8 -23 -17 -10 Z",fill:_,class:"animate-heart-beat",style:{transformBox:"fill-box",transformOrigin:"center"}})):e.createCommentVNode("",!0),w.value==="kiss"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:71},e.renderList([0,.7,1.4],(n,x)=>e.createElementVNode("path",{key:x,d:"M 196 96 c -4 -6 -13 -2 -8 5 c 2 3 8 7 8 7 c 0 0 6 -4 8 -7 c 5 -7 -4 -11 -8 -5 Z",fill:_,class:"animate-heart-fly",style:e.normalizeStyle({animationDelay:`${n}s`})},null,4)),64)):e.createCommentVNode("",!0),c.action==="ironMountain"?(e.openBlock(),e.createElementBlock("g",Sa,[...l[37]||(l[37]=[e.createStaticVNode('<rect x="56" y="188" width="128" height="14" rx="7" fill="oklch(0.32 0.10 248)" data-v-c1f1f037></rect><rect x="60" y="200" width="50" height="26" rx="8" fill="oklch(0.32 0.10 248)" data-v-c1f1f037></rect><rect x="130" y="200" width="50" height="26" rx="8" fill="oklch(0.32 0.10 248)" data-v-c1f1f037></rect><line x1="120" y1="200" x2="120" y2="226" stroke="oklch(0.42 0.08 248)" stroke-width="2.5" stroke-linecap="round" data-v-c1f1f037></line><path d="M 86 48 L 86 188" stroke="oklch(0.32 0.10 248)" stroke-width="11" stroke-linecap="round" data-v-c1f1f037></path><path d="M 154 48 L 154 188" stroke="oklch(0.32 0.10 248)" stroke-width="11" stroke-linecap="round" data-v-c1f1f037></path><rect x="79" y="43" width="14" height="11" rx="3" fill="oklch(0.72 0.18 80)" stroke="oklch(0.55 0.12 72)" stroke-width="1.5" data-v-c1f1f037></rect><line x1="86" y1="43" x2="86" y2="54" stroke="oklch(0.48 0.10 72)" stroke-width="2" stroke-linecap="round" data-v-c1f1f037></line><rect x="147" y="43" width="14" height="11" rx="3" fill="oklch(0.72 0.18 80)" stroke="oklch(0.55 0.12 72)" stroke-width="1.5" data-v-c1f1f037></rect><line x1="154" y1="43" x2="154" y2="54" stroke="oklch(0.48 0.10 72)" stroke-width="2" stroke-linecap="round" data-v-c1f1f037></line><rect x="106" y="136" width="28" height="24" rx="5" fill="oklch(0.36 0.10 248)" stroke="oklch(0.45 0.08 248)" stroke-width="2" data-v-c1f1f037></rect><line x1="106" y1="148" x2="134" y2="148" stroke="oklch(0.45 0.08 248)" stroke-width="1.8" stroke-linecap="round" data-v-c1f1f037></line><rect x="115" y="144" width="10" height="8" rx="2" fill="oklch(0.72 0.18 80)" data-v-c1f1f037></rect>',13)])])):e.createCommentVNode("",!0),c.action==="playBasketball"?(e.openBlock(),e.createElementBlock("g",$a,[...l[38]||(l[38]=[e.createStaticVNode('<circle cx="120" cy="148" r="22" fill="oklch(0.65 0.16 40)" data-v-c1f1f037></circle><path d="M 120 126 A 22 22 0 0 1 142 148 A 22 22 0 0 1 120 170 Q 134 162 134 148 Q 134 134 120 126 Z" fill="oklch(0.52 0.14 36)" data-v-c1f1f037></path><ellipse cx="112" cy="136" rx="6" ry="4.5" fill="oklch(0.85 0.10 55)" opacity="0.55" transform="rotate(-20,112,136)" data-v-c1f1f037></ellipse><line x1="98" y1="148" x2="142" y2="148" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" stroke-linecap="round" data-v-c1f1f037></line><path d="M 109 126 Q 101 148 109 170" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" fill="none" stroke-linecap="round" data-v-c1f1f037></path><path d="M 131 126 Q 139 148 131 170" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" fill="none" stroke-linecap="round" data-v-c1f1f037></path><path d="M 98 140 Q 120 131 142 140" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" fill="none" stroke-linecap="round" data-v-c1f1f037></path><path d="M 98 156 Q 120 165 142 156" stroke="oklch(0.24 0.04 28)" stroke-width="2.2" fill="none" stroke-linecap="round" data-v-c1f1f037></path>',8)])])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("g",qa,[l[39]||(l[39]=e.createElementVNode("line",{x1:"230",y1:"72",x2:"230",y2:"180",stroke:"var(--robot-blue-dark)","stroke-width":"5","stroke-linecap":"round"},null,-1)),e.createElementVNode("circle",{cx:"230",cy:"128",r:"7",fill:B.value,stroke:"oklch(1 0 0 / 0.35)","stroke-width":"1.5"},null,8,Ma),l[40]||(l[40]=e.createElementVNode("rect",{x:"211",y:"76",width:"38",height:"78",rx:"14",fill:"oklch(0.18 0.04 250)",stroke:"oklch(1 0 0 / 0.42)","stroke-width":"2"},null,-1)),l[41]||(l[41]=e.createElementVNode("rect",{x:"216",y:"82",width:"28",height:"66",rx:"10",fill:"oklch(0.08 0.03 250 / 0.82)"},null,-1)),e.createElementVNode("circle",{cx:"230",cy:"95",r:"8.5",fill:"oklch(0.6 0.23 22)",opacity:S.value==="red"?1:.22,class:e.normalizeClass(S.value==="red"?"animate-traffic-light-active":"")},null,10,Da),e.createElementVNode("circle",{cx:"230",cy:"115",r:"8.5",fill:"oklch(0.84 0.16 95)",opacity:S.value==="yellow"?1:.22,class:e.normalizeClass(S.value==="yellow"?"animate-traffic-light-active":"")},null,10,za),e.createElementVNode("circle",{cx:"230",cy:"135",r:"8.5",fill:"oklch(0.68 0.16 150)",opacity:S.value==="green"?1:.22,class:e.normalizeClass(S.value==="green"?"animate-traffic-light-active":"")},null,10,Aa)])):e.createCommentVNode("",!0),hn.value?(e.openBlock(),e.createElementBlock("g",Oa,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(kn,(n,x)=>e.createElementVNode("text",{key:x,x:n.x,y:n.y,"font-size":"20","font-weight":"800",fill:"oklch(0.82 0.16 72)",class:"animate-music-note",style:e.normalizeStyle({animationDelay:`${n.delay}s`,transformOrigin:`${n.x}px ${n.y}px`})},e.toDisplayString(n.note),13,Ra)),64))])):e.createCommentVNode("",!0),w.value==="pray"?(e.openBlock(),e.createElementBlock("g",Ta,[...l[42]||(l[42]=[e.createElementVNode("path",{d:"M 120 150 l -10 30 q 10 6 20 0 Z",fill:"oklch(1 0 0 / 0.92)",stroke:"var(--robot-blue-dark)","stroke-width":"1.5"},null,-1),e.createElementVNode("line",{x1:"120",y1:"152",x2:"120",y2:"178",stroke:"var(--robot-blue-dark)","stroke-width":"1.5"},null,-1)])])):e.createCommentVNode("",!0),C.value==="glow"?(e.openBlock(),e.createElementBlock("ellipse",{key:77,cx:"120",cy:"115",rx:"82",ry:"78",fill:$.value,opacity:"0",class:"animate-body-glow"},null,8,La)):e.createCommentVNode("",!0),C.value==="heart-particles"?(e.openBlock(),e.createElementBlock("g",Ia,[l[43]||(l[43]=e.createElementVNode("path",{d:`M 120 192 C 100 180, 98 162, 110 158 C 116 155, 120 159, 120 162
|
|
2
2
|
C 120 159, 124 155, 130 158 C 142 162, 140 180, 120 192 Z`,fill:"oklch(0.72 0.22 0)",class:"animate-body-glow",style:{transformBox:"fill-box",transformOrigin:"120px 175px"}},null,-1)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(fn,(n,x)=>e.createElementVNode("g",{key:x},[e.createElementVNode("path",{d:`M ${n.x} ${n.y+n.size*.9}
|
|
3
3
|
C ${n.x-n.size*.85} ${n.y+n.size*.4},
|
|
4
4
|
${n.x-n.size*.85} ${n.y-n.size*.5},
|
|
5
5
|
${n.x} ${n.y-n.size*.15}
|
|
6
6
|
C ${n.x+n.size*.85} ${n.y-n.size*.5},
|
|
7
7
|
${n.x+n.size*.85} ${n.y+n.size*.4},
|
|
8
|
-
${n.x} ${n.y+n.size*.9} Z`,fill:n.color,class:"animate-heart-rise",style:e.normalizeStyle({"--hx":n.hx,animationDelay:`${n.delay}s`,transformOrigin:`${n.x}px ${n.y}px`})},null,12,Pa)])),64))])):e.createCommentVNode("",!0),C.value==="flag"?(e.openBlock(),e.createElementBlock("g",Fa,[l[44]||(l[44]=e.createElementVNode("line",{x1:"120",y1:"155",x2:"120",y2:"225",stroke:"var(--robot-blue-dark)","stroke-width":"4","stroke-linecap":"round"},null,-1)),e.createElementVNode("rect",{x:"120",y:"155",width:"32",height:"20",rx:"3",fill:$.value,class:"animate-flag-wave"},null,8,Ga),l[45]||(l[45]=e.createElementVNode("rect",{x:"120",y:"155",width:"32",height:"8",rx:"3",fill:"oklch(1 0 0 / 0.22)",class:"animate-flag-wave"},null,-1))])):e.createCommentVNode("",!0),C.value==="scan-ring"?(e.openBlock(),e.createElementBlock("g",Ha,[e.createElementVNode("circle",{cx:"120",cy:"115",r:"88",fill:"none",stroke:$.value,"stroke-width":"2.5","stroke-dasharray":"18 12",class:"animate-self-spin",style:{transformBox:"fill-box",transformOrigin:"center"}},null,8,Za),e.createElementVNode("circle",{cx:"120",cy:"115",r:"70",fill:"none",stroke:$.value,"stroke-width":"1.5","stroke-dasharray":"8 18",opacity:"0.6",class:"animate-reset-spin",style:{transformBox:"fill-box",transformOrigin:"center"}},null,8,ja)])):e.createCommentVNode("",!0),C.value==="confetti"?(e.openBlock(),e.createElementBlock("g",Ua,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(pn,(n,x)=>e.createElementVNode("rect",{key:x,x:n.x-n.size/2,y:n.y-n.size/2,width:n.size,height:n.size,rx:n.size*.3,fill:n.color,class:"animate-confetti",style:e.normalizeStyle({"--cx":`${n.cx}px`,"--cy":`${n.cy}px`,"--cr":n.cr,animationDelay:`${x*.18}s`,transformOrigin:`${n.x}px ${n.y}px`})},null,12,Qa)),64))])):e.createCommentVNode("",!0),C.value==="particles"?(e.openBlock(),e.createElementBlock("g",Ya,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(gn,(n,x)=>e.createElementVNode("circle",{key:x,cx:n.x,cy:n.y,r:"3",fill:n.color,class:"animate-sparkle",style:e.normalizeStyle({transformBox:"fill-box",transformOrigin:"center",animationDelay:`${n.delay}s`})},null,12,Wa)),64))])):e.createCommentVNode("",!0),e.createElementVNode("g",{style:e.normalizeStyle(bn.value),class:e.normalizeClass(V.value.la)},[e.createElementVNode("rect",{x:"16",y:"121",width:"30",height:"14",rx:"7",fill:B.value},null,8,Ja),e.createElementVNode("circle",{cx:"12",cy:"128",r:"9",fill:B.value},null,8,Ka),w.value==="sparkle"?(e.openBlock(),e.createElementBlock("path",{key:0,d:R(12,128),fill:"var(--robot-amber)",class:"animate-sparkle origin-center",style:{transformBox:"fill-box",transformOrigin:"center"}},null,8,Xa)):e.createCommentVNode("",!0)],6),e.createElementVNode("g",{style:e.normalizeStyle(un.value),class:e.normalizeClass(V.value.ra)},[e.createElementVNode("rect",{x:"194",y:"121",width:"30",height:"14",rx:"7",fill:B.value},null,8,va),e.createElementVNode("circle",{cx:"228",cy:"128",r:"9",fill:B.value},null,8,en),w.value==="thumbsUp"?(e.openBlock(),e.createElementBlock("rect",{key:0,x:"225",y:"113",width:"6",height:"11",rx:"3",fill:B.value},null,8,tn)):e.createCommentVNode("",!0),w.value==="sparkle"?(e.openBlock(),e.createElementBlock("path",{key:1,d:R(228,128),fill:"var(--robot-amber)",class:"animate-sparkle origin-center",style:{transformBox:"fill-box",transformOrigin:"center",animationDelay:"0.3s"}},null,8,ln)):e.createCommentVNode("",!0)],6)])),c.emotion==="sleepy"||c.emotion==="yawn"?(e.openBlock(),e.createElementBlock("div",on,[...l[49]||(l[49]=[e.createElementVNode("span",{class:"animate-float-up inline-block text-lg font-bold"},"z",-1),e.createElementVNode("span",{class:"animate-float-up inline-block text-2xl font-bold",style:{animationDelay:"0.8s"}}," Z ",-1)])])):e.createCommentVNode("",!0)],2)],4)],512))}}),sn=u(e.defineComponent({__name:"QuarkRobotHalo",props:{width:{default:220}},setup(c){return(i,d)=>(e.openBlock(),e.createElementBlock("div",{class:"halo",style:e.normalizeStyle({width:c.width+"px",height:c.width*.27+"px"}),"aria-hidden":"true"},[...d[0]||(d[0]=[e.createElementVNode("span",{class:"halo-ring r1"},null,-1),e.createElementVNode("span",{class:"halo-ring r2"},null,-1),e.createElementVNode("span",{class:"halo-core"},null,-1)])],4))}}),[["__scopeId","data-v-6fd8ca14"]]),I={screen_header:{dateText:"2026-07-27",timeText:"14:30",weekdayText:"星期一"},robot:{status:"online",mode:"guard",emotion:"neutral",generatedAt:"2026-07-27 14:30:00",summary:{dutyGroups:3,todayAlerts:12,buildingCount:4,endpointNodes:86},alerts:{todayTotal:12,todayPending:3,criticalCount:1,warningCount:5},builds:{buildingCount:4,todayBuilds:28,successRate:98.6}},duty_today:{date:"2026-07-27",totalGroups:3,totalUsers:8,groups:[{groupId:1,groupName:"平台组",users:[{userId:101,nickName:"张工",username:"zhang"},{userId:102,nickName:"李工",username:"li"}]},{groupId:2,groupName:"网络组",users:[{userId:103,nickName:"王工",username:"wang"}]}]},alert_latest:{total:3,stats:{todayTotal:12,todayPending:3,overdueTotal:1,criticalCount:1,warningCount:5,infoCount:6},items:[{id:1,alertId:"AL-20260727-001",title:"边缘节点延迟升高",severity:"WARN",severityText:"警告",status:"pending",statusText:"待处理",source:"edge-01",firedAt:"14:20",groupNames:["网络组"]},{id:2,alertId:"AL-20260727-002",title:"构建队列等待时间过长",severity:"CRITICAL",severityText:"严重",status:"processing",statusText:"处理中",source:"CI/CD",firedAt:"14:08",groupNames:["平台组"]},{id:3,alertId:"AL-20260727-003",title:"磁盘使用率接近阈值",severity:"INFO",severityText:"提示",status:"pending",statusText:"待处理",source:"node-03",firedAt:"13:56",groupNames:["运维组"]}]},build_projects:{summary:{buildingCount:4,todayBuilds:28,successRate:98.6},items:[{pipelineId:1,buildId:101,jobName:"eagle-eye-web",statusText:"构建中",currentStage:"测试",buildUser:"system",progress:68},{pipelineId:2,buildId:102,jobName:"quark-api",statusText:"构建中",currentStage:"镜像打包",buildUser:"李工",progress:42}]},build_distribution:{total:100,items:[{name:"应用构建",count:42},{name:"镜像构建",count:27},{name:"基础设施",count:18},{name:"其他任务",count:13}]},endpoint_distribution:{summary:{total:3},items:[{id:1,nodeName:"edge-01",nodeIp:"10.10.2.11",nodeStatus:!0,heartbeatResults:[{targetName:"API Gateway",targetIp:"10.10.1.10",latencyMs:12.4}]},{id:2,nodeName:"edge-02",nodeIp:"10.10.2.12",nodeStatus:!0,heartbeatResults:[{targetName:"API Gateway",targetIp:"10.10.1.10",latencyMs:18.7}]},{id:3,nodeName:"edge-03",nodeIp:"10.10.2.13",nodeStatus:!1,heartbeatResults:[]}]}};function cn(c){return JSON.parse(JSON.stringify(I[c]))}k.BigScreenAlertRow=$e,k.BigScreenBuildDistribution=Pe,k.BigScreenBuildProjects=je,k.BigScreenDutyContent=xe,k.BigScreenEndpointDistribution=Xe,k.BigScreenExternalEmbed=lt,k.BigScreenHeader=Te,k.BigScreenMetricCard=De,k.BigScreenPanel=L,k.BigScreenRobotSummary=We,k.QuarkRobot=rn,k.QuarkRobotHalo=sn,k.bigScreenPreviewFixtures=I,k.getBigScreenPreviewData=cn,Object.defineProperty(k,Symbol.toStringTag,{value:"Module"})}));
|
|
8
|
+
${n.x} ${n.y+n.size*.9} Z`,fill:n.color,class:"animate-heart-rise",style:e.normalizeStyle({"--hx":n.hx,animationDelay:`${n.delay}s`,transformOrigin:`${n.x}px ${n.y}px`})},null,12,Pa)])),64))])):e.createCommentVNode("",!0),C.value==="flag"?(e.openBlock(),e.createElementBlock("g",Fa,[l[44]||(l[44]=e.createElementVNode("line",{x1:"120",y1:"155",x2:"120",y2:"225",stroke:"var(--robot-blue-dark)","stroke-width":"4","stroke-linecap":"round"},null,-1)),e.createElementVNode("rect",{x:"120",y:"155",width:"32",height:"20",rx:"3",fill:$.value,class:"animate-flag-wave"},null,8,Ga),l[45]||(l[45]=e.createElementVNode("rect",{x:"120",y:"155",width:"32",height:"8",rx:"3",fill:"oklch(1 0 0 / 0.22)",class:"animate-flag-wave"},null,-1))])):e.createCommentVNode("",!0),C.value==="scan-ring"?(e.openBlock(),e.createElementBlock("g",Ha,[e.createElementVNode("circle",{cx:"120",cy:"115",r:"88",fill:"none",stroke:$.value,"stroke-width":"2.5","stroke-dasharray":"18 12",class:"animate-self-spin",style:{transformBox:"fill-box",transformOrigin:"center"}},null,8,Za),e.createElementVNode("circle",{cx:"120",cy:"115",r:"70",fill:"none",stroke:$.value,"stroke-width":"1.5","stroke-dasharray":"8 18",opacity:"0.6",class:"animate-reset-spin",style:{transformBox:"fill-box",transformOrigin:"center"}},null,8,ja)])):e.createCommentVNode("",!0),C.value==="confetti"?(e.openBlock(),e.createElementBlock("g",Ua,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(pn,(n,x)=>e.createElementVNode("rect",{key:x,x:n.x-n.size/2,y:n.y-n.size/2,width:n.size,height:n.size,rx:n.size*.3,fill:n.color,class:"animate-confetti",style:e.normalizeStyle({"--cx":`${n.cx}px`,"--cy":`${n.cy}px`,"--cr":n.cr,animationDelay:`${x*.18}s`,transformOrigin:`${n.x}px ${n.y}px`})},null,12,Qa)),64))])):e.createCommentVNode("",!0),C.value==="particles"?(e.openBlock(),e.createElementBlock("g",Ya,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(gn,(n,x)=>e.createElementVNode("circle",{key:x,cx:n.x,cy:n.y,r:"3",fill:n.color,class:"animate-sparkle",style:e.normalizeStyle({transformBox:"fill-box",transformOrigin:"center",animationDelay:`${n.delay}s`})},null,12,Wa)),64))])):e.createCommentVNode("",!0),e.createElementVNode("g",{style:e.normalizeStyle(bn.value),class:e.normalizeClass(V.value.la)},[e.createElementVNode("rect",{x:"16",y:"121",width:"30",height:"14",rx:"7",fill:B.value},null,8,Ja),e.createElementVNode("circle",{cx:"12",cy:"128",r:"9",fill:B.value},null,8,Ka),w.value==="sparkle"?(e.openBlock(),e.createElementBlock("path",{key:0,d:R(12,128),fill:"var(--robot-amber)",class:"animate-sparkle origin-center",style:{transformBox:"fill-box",transformOrigin:"center"}},null,8,Xa)):e.createCommentVNode("",!0)],6),e.createElementVNode("g",{style:e.normalizeStyle(un.value),class:e.normalizeClass(V.value.ra)},[e.createElementVNode("rect",{x:"194",y:"121",width:"30",height:"14",rx:"7",fill:B.value},null,8,va),e.createElementVNode("circle",{cx:"228",cy:"128",r:"9",fill:B.value},null,8,en),w.value==="thumbsUp"?(e.openBlock(),e.createElementBlock("rect",{key:0,x:"225",y:"113",width:"6",height:"11",rx:"3",fill:B.value},null,8,tn)):e.createCommentVNode("",!0),w.value==="sparkle"?(e.openBlock(),e.createElementBlock("path",{key:1,d:R(228,128),fill:"var(--robot-amber)",class:"animate-sparkle origin-center",style:{transformBox:"fill-box",transformOrigin:"center",animationDelay:"0.3s"}},null,8,ln)):e.createCommentVNode("",!0)],6)])),c.emotion==="sleepy"||c.emotion==="yawn"?(e.openBlock(),e.createElementBlock("div",on,[...l[49]||(l[49]=[e.createElementVNode("span",{class:"animate-float-up inline-block text-lg font-bold"},"z",-1),e.createElementVNode("span",{class:"animate-float-up inline-block text-2xl font-bold",style:{animationDelay:"0.8s"}}," Z ",-1)])])):e.createCommentVNode("",!0)],2)],4)],512))}}),[["__scopeId","data-v-c1f1f037"]]),sn=u(e.defineComponent({__name:"QuarkRobotHalo",props:{width:{default:220}},setup(c){return(i,d)=>(e.openBlock(),e.createElementBlock("div",{class:"halo",style:e.normalizeStyle({width:c.width+"px",height:c.width*.27+"px"}),"aria-hidden":"true"},[...d[0]||(d[0]=[e.createElementVNode("span",{class:"halo-ring r1"},null,-1),e.createElementVNode("span",{class:"halo-ring r2"},null,-1),e.createElementVNode("span",{class:"halo-core"},null,-1)])],4))}}),[["__scopeId","data-v-6fd8ca14"]]),I={screen_header:{dateText:"2026-07-27",timeText:"14:30",weekdayText:"星期一"},robot:{status:"online",mode:"guard",emotion:"neutral",generatedAt:"2026-07-27 14:30:00",summary:{dutyGroups:3,todayAlerts:12,buildingCount:4,endpointNodes:86},alerts:{todayTotal:12,todayPending:3,criticalCount:1,warningCount:5},builds:{buildingCount:4,todayBuilds:28,successRate:98.6}},duty_today:{date:"2026-07-27",totalGroups:3,totalUsers:8,groups:[{groupId:1,groupName:"平台组",users:[{userId:101,nickName:"张工",username:"zhang"},{userId:102,nickName:"李工",username:"li"}]},{groupId:2,groupName:"网络组",users:[{userId:103,nickName:"王工",username:"wang"}]}]},alert_latest:{total:3,stats:{todayTotal:12,todayPending:3,overdueTotal:1,criticalCount:1,warningCount:5,infoCount:6},items:[{id:1,alertId:"AL-20260727-001",title:"边缘节点延迟升高",severity:"WARN",severityText:"警告",status:"pending",statusText:"待处理",source:"edge-01",firedAt:"14:20",groupNames:["网络组"]},{id:2,alertId:"AL-20260727-002",title:"构建队列等待时间过长",severity:"CRITICAL",severityText:"严重",status:"processing",statusText:"处理中",source:"CI/CD",firedAt:"14:08",groupNames:["平台组"]},{id:3,alertId:"AL-20260727-003",title:"磁盘使用率接近阈值",severity:"INFO",severityText:"提示",status:"pending",statusText:"待处理",source:"node-03",firedAt:"13:56",groupNames:["运维组"]}]},build_projects:{summary:{buildingCount:4,todayBuilds:28,successRate:98.6},items:[{pipelineId:1,buildId:101,jobName:"eagle-eye-web",statusText:"构建中",currentStage:"测试",buildUser:"system",progress:68},{pipelineId:2,buildId:102,jobName:"quark-api",statusText:"构建中",currentStage:"镜像打包",buildUser:"李工",progress:42}]},build_distribution:{total:100,items:[{name:"应用构建",count:42},{name:"镜像构建",count:27},{name:"基础设施",count:18},{name:"其他任务",count:13}]},endpoint_distribution:{summary:{total:3},items:[{id:1,nodeName:"edge-01",nodeIp:"10.10.2.11",nodeStatus:!0,heartbeatResults:[{targetName:"API Gateway",targetIp:"10.10.1.10",latencyMs:12.4}]},{id:2,nodeName:"edge-02",nodeIp:"10.10.2.12",nodeStatus:!0,heartbeatResults:[{targetName:"API Gateway",targetIp:"10.10.1.10",latencyMs:18.7}]},{id:3,nodeName:"edge-03",nodeIp:"10.10.2.13",nodeStatus:!1,heartbeatResults:[]}]}};function cn(c){return JSON.parse(JSON.stringify(I[c]))}k.BigScreenAlertRow=$e,k.BigScreenBuildDistribution=Pe,k.BigScreenBuildProjects=je,k.BigScreenDutyContent=xe,k.BigScreenEndpointDistribution=Xe,k.BigScreenExternalEmbed=lt,k.BigScreenHeader=Te,k.BigScreenMetricCard=De,k.BigScreenPanel=L,k.BigScreenRobotSummary=We,k.QuarkRobot=rn,k.QuarkRobotHalo=sn,k.bigScreenPreviewFixtures=I,k.getBigScreenPreviewData=cn,Object.defineProperty(k,Symbol.toStringTag,{value:"Module"})}));
|