openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
599 lines • 56 kB
JavaScript
import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{Hc as t,I as n,Tc as r}from"./control-ui-connection-Bfj9beF_.js";import{Fy as i,Iy as a,Ly as o,Ny as s,Py as c}from"./control-ui-boot-shared-DFTSUQQ0.js";import{b as l,c as ee,d as u,f as d,g as f,j as p,l as m,o as te,p as h,u as g,x as _}from"./solid-runtime-C416s-HC.js";function v(){return(v=e((()=>{})))()}function ne(e){return((e.getTime()-b)/864e5%y+y)%y/y}var y,b;function x(){return(x=e((()=>{y=29.53059,b=Date.parse(`2000-01-06T18:14:00.000Z`)})))()}function S(e){var t=ce(),n=t.firstChild.nextSibling,r=n.nextSibling,a=r.nextSibling;return u(t,p(i,{"stroke-width":`2.5`,get style(){return e.closedEyeStyle},get children(){return[oe(),se()]}}),r),u(t,ge,a),m(()=>h(e.openEyeStyle),(e,t)=>{l(n,e,t)}),t}function C(e){return(()=>{var t=le(),n=t.firstChild,r=n.nextSibling;return u(t,A,n),m(()=>({e:h(e.openEyeStyle),t:h(e.closedEyeStyle)}),({e,t},i)=>{l(n,e,i?.e),l(r,t,i?.t)}),t})()}function w(e){var t=fe(),n=t.firstChild,r=n.nextSibling;return u(t,j,n),u(t,p(i,{stroke:`#17100e`,"stroke-width":`2`,get style(){return e.closedEyeStyle},get children(){return[ue(),de()]}}),r),m(()=>h(e.openEyeStyle),(e,t)=>{l(n,e,t)}),t}function T(e){var t=he(),n=t.firstChild,r=n.nextSibling,a=r.nextSibling;return u(t,N,n),u(t,p(i,{"stroke-width":`2.5`,get style(){return e.closedEyeStyle},get children(){return[pe(),me()]}}),r),u(t,M,a),m(()=>h(e.openEyeStyle),(e,t)=>{l(n,e,t)}),t}function re(e){return(()=>{var t=E(),n=t.firstChild.nextSibling.nextSibling,r=n.nextSibling;return m(()=>({e:h(e.openEyeStyle),t:h(e.closedEyeStyle)}),({e,t},i)=>{l(n,e,i?.e),l(r,t,i?.t)}),t})()}function ie(e){var t=k(),n=t.firstChild,r=n.nextSibling,a=r.nextSibling;return u(t,F,n),u(t,p(i,{"stroke-width":`2.2`,get style(){return e.closedEyeStyle},get children(){return[D(),O()]}}),r),u(t,P,a),m(()=>h(e.openEyeStyle),(e,t)=>{l(n,e,t)}),t}function ae(e){return[L(),e?_e():null]}var oe,se,ce,le,ue,de,fe,pe,me,he,E,D,O,k,ge,A,j,M,N,P,F,I,L,_e,ve,ye,be,xe;function Se(){return(Se=e((()=>{g(),a(),oe=_(`<svg><path d="M34 35 Q39 31 44 35"></svg>`,2),se=_(`<svg><path d="M52 35 Q57 31 62 35"></svg>`,2),ce=_(`<svg><g class=lob-flatpack><path d="M48 10 C28 10 17 25 17 41 C17 58 29 69 48 69 C67 69 79 58 79 41 C79 25 68 10 48 10 Z"fill=var(--lob-shell) stroke=#8a7c5f stroke-width=2 stroke-dasharray="4 3"></path><g class=lob-eye-open><circle cx=39 cy=34 r=4.5 fill=#0a1014></circle><circle cx=57 cy=34 r=4.5 fill=#0a1014></circle><circle cx=40.2 cy=32.8 r=1.7 fill="var(--lob-glint, #00e5cc)"></circle><circle cx=58.2 cy=32.8 r=1.7 fill="var(--lob-glint, #00e5cc)"></circle></g><!><!></svg>`,2),le=_(`<svg><g class=lob-skeleton><g class=lob-eye-open><circle cx=47 cy=43 r=5 fill=#4a5364></circle><circle cx=73 cy=43 r=5 fill=#4a5364></circle></g><g class=lob-eye-closed fill=#4a5364><rect x=41 y=42 width=12 height=3 rx=1.5></rect><rect x=67 y=42 width=12 height=3 rx=1.5></svg>`,2),ue=_(`<svg><path d="M41.5 22 H48.5"></svg>`,2),de=_(`<svg><path d="M71.5 22 H78.5"></svg>`,2),fe=_(`<svg><g class=lob-actual><g class=lob-eye-open><circle cx=45 cy=22 r=3.5 fill=#17100e></circle><circle cx=75 cy=22 r=3.5 fill=#17100e></circle><circle cx=46 cy=21 r=1 fill=#f2c6a8></circle><circle cx=76 cy=21 r=1 fill=#f2c6a8></circle></g><!></svg>`,2),pe=_(`<svg><path d="M45 31 Q50 27 55 31"></svg>`,2),me=_(`<svg><path d="M65 31 Q70 27 75 31"></svg>`,2),he=_(`<svg><g class=lob-balloon><g class=lob-eye-open><circle cx=50 cy=30 r=4.5 fill=#0a1014></circle><circle cx=70 cy=30 r=4.5 fill=#0a1014></circle><circle cx=51.3 cy=28.7 r=1.8 fill="var(--lob-glint, #00e5cc)"></circle><circle cx=71.3 cy=28.7 r=1.8 fill="var(--lob-glint, #00e5cc)"></circle></g><!><!></svg>`,2),E=_(`<svg><g class=lob-ascii fill=var(--lob-shell) font-family="ui-monospace, SFMono-Regular, Menlo, monospace"font-size=11 text-anchor=middle xml:space=preserve><text x=60 y=17>\\ / \\ /</text><text x=60 y=31>{ \\_______/ }</text><g class=lob-eye-open><text x=60 y=45>(o) (o)</text></g><g class=lob-eye-closed><text x=60 y=45>(-) (-)</text></g><text x=60 y=59>( '---' )</text><text x=60 y=73> \\ _____ /</text><text x=60 y=87> (_________)</text><text x=60 y=101> | | | |</svg>`,2),D=_(`<svg><path d="M41 40 Q45 37 49 40"></svg>`,2),O=_(`<svg><path d="M53 38 Q57 35 61 38"></svg>`,2),k=_(`<svg><g class=lob-portal><g class=lob-eye-open><circle cx=45 cy=39 r=4 fill=#0a1014></circle><circle cx=57 cy=37 r=4 fill=#0a1014></circle><circle cx=46 cy=38 r=1.5 fill="var(--lob-glint, #00e5cc)"></circle><circle cx=58 cy=36 r=1.5 fill="var(--lob-glint, #00e5cc)"></circle></g><!><!></svg>`,2),ge=o(`
<g fill="none" stroke="#8a7c5f" stroke-width="1.5" stroke-dasharray="4 3">
<path d="M27 48 Q50 58 75 61"></path>
<path d="M68 47 Q79 58 92 70"></path>
</g>
<g class="lob-claw lob-claw--l">
<path d="M76 53 C66 50 62 58 67 65 C72 72 82 68 85 60 C87 55 82 53 76 53 Z" fill="var(--lob-claw)" stroke="#8a7c5f" stroke-width="1.5" stroke-dasharray="4 3"></path>
</g>
<g class="lob-claw lob-claw--r">
<path d="M98 65 C109 62 115 70 111 79 C107 88 96 84 91 76 C88 70 92 66 98 65 Z" fill="var(--lob-claw)" stroke="#8a7c5f" stroke-width="1.5" stroke-dasharray="4 3"></path>
</g>
<g fill="var(--lob-shell)" stroke="#8a7c5f" stroke-width="1.5" stroke-dasharray="4 3">
<rect x="15" y="88" width="15" height="6" rx="2"></rect>
<rect x="34" y="88" width="15" height="6" rx="2"></rect>
<rect x="53" y="88" width="15" height="6" rx="2"></rect>
<rect x="72" y="88" width="15" height="6" rx="2"></rect>
</g>
<g fill="none" stroke="#5f5648" stroke-width="3" stroke-linecap="round">
<path d="M84 24 L101 8"></path>
<path d="M93 31 L113 14"></path>
</g>
<g fill="#8a7c5f">
<circle cx="105" cy="29" r="3"></circle>
<circle cx="113" cy="35" r="3"></circle>
</g>
<path class="lob-flatpack__allen-key" d="M101 84 L101 99 L115 99" fill="none" stroke="#5f5648" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path>
`),A=o(`
<rect class="lob-skeleton__block" style="--i:0" x="24" y="18" width="72" height="64" rx="10" fill="#2f3542"></rect>
<rect class="lob-skeleton__block" style="--i:1" x="2" y="43" width="24" height="20" rx="8" fill="#39404f"></rect>
<rect class="lob-skeleton__block" style="--i:2" x="94" y="43" width="24" height="20" rx="8" fill="#39404f"></rect>
<path class="lob-skeleton__block" style="--i:3" d="M45 21 L34 7" stroke="#39404f" stroke-width="6" stroke-linecap="round"></path>
<path class="lob-skeleton__block" style="--i:4" d="M75 21 L86 7" stroke="#39404f" stroke-width="6" stroke-linecap="round"></path>
<rect class="lob-skeleton__block" style="--i:5" x="31" y="79" width="10" height="22" rx="4" fill="#2f3542"></rect>
<rect class="lob-skeleton__block" style="--i:6" x="46" y="79" width="10" height="24" rx="4" fill="#39404f"></rect>
<rect class="lob-skeleton__block" style="--i:7" x="64" y="79" width="10" height="24" rx="4" fill="#39404f"></rect>
<rect class="lob-skeleton__block" style="--i:8" x="79" y="79" width="10" height="22" rx="4" fill="#2f3542"></rect>
`),j=o(`
<g fill="none" stroke="#6f281d" stroke-linecap="round">
<path d="M47 27 Q27 5 2 3" stroke-width="2"></path>
<path d="M73 27 Q93 5 118 3" stroke-width="2"></path>
<path d="M46 29 Q34 16 22 13" stroke-width="1.3"></path>
<path d="M74 29 Q86 16 98 13" stroke-width="1.3"></path>
</g>
<g fill="none" stroke="#7f3022" stroke-width="2.2" stroke-linecap="round">
<path d="M39 48 Q22 52 10 65"></path>
<path d="M38 56 Q20 62 8 77"></path>
<path d="M40 65 Q24 72 15 88"></path>
<path d="M43 74 Q31 82 27 97"></path>
<path d="M81 48 Q98 52 110 65"></path>
<path d="M82 56 Q100 62 112 77"></path>
<path d="M80 65 Q96 72 105 88"></path>
<path d="M77 74 Q89 82 93 97"></path>
</g>
<g class="lob-actual__tail" fill="#8f3220" stroke="#6f281d" stroke-width="1.4">
<path d="M48 88 Q38 91 31 103 Q44 103 55 96 Z"></path>
<path d="M72 88 Q82 91 89 103 Q76 103 65 96 Z"></path>
<path d="M54 89 Q60 96 66 89 L69 104 Q60 101 51 104 Z"></path>
</g>
<g class="lob-claw lob-claw--l">
<path d="M34 43 Q25 31 12 33 Q0 35 2 48 Q4 61 17 63 Q28 64 35 54 L30 49 Q22 54 15 50 Q10 47 13 42 Q17 37 24 42 Z" fill="var(--lob-claw)" stroke="#6f281d" stroke-width="1.5"></path>
</g>
<g class="lob-claw lob-claw--r">
<path d="M86 44 Q94 32 104 34 Q113 35 116 42 L107 45 L118 49 Q115 58 105 60 Q96 61 87 53 Z" fill="var(--lob-claw)" stroke="#6f281d" stroke-width="1.5"></path>
</g>
<path class="lob-actual__carapace" d="M60 20 Q38 20 34 38 Q32 50 41 58 Q49 64 60 64 Q71 64 79 58 Q88 50 86 38 Q82 20 60 20 Z" fill="var(--lob-shell)" stroke="#6f281d" stroke-width="1.8"></path>
<g class="lob-actual__abdomen" stroke="#6f281d" stroke-width="1.4">
<path d="M39 54 Q60 62 81 54 L79 65 Q60 72 41 65 Z" fill="#b34b35"></path>
<path d="M41 65 Q60 72 79 65 L76 76 Q60 82 44 76 Z" fill="#a63c28"></path>
<path d="M44 76 Q60 82 76 76 L72 87 Q60 92 48 87 Z" fill="#b34b35"></path>
<path d="M48 87 Q60 92 72 87 L67 96 Q60 99 53 96 Z" fill="#a63c28"></path>
</g>
<path d="M48 42 Q60 48 72 42 Q69 56 60 58 Q51 56 48 42 Z" fill="#bd6044" opacity="0.72"></path>
<g fill="none" stroke="#6f281d" stroke-width="2.2" stroke-linecap="round">
<path d="M47 28 L45 23"></path>
<path d="M73 28 L75 23"></path>
</g>
`),M=o(`
<path d="M55 96 L60 91 L65 96 L60 101 Z" fill="#d94b72"></path>
<path d="M60 100 Q67 102 62 105 Q57 108 65 111" fill="none" stroke="#c9d2da" stroke-width="1.2" stroke-linecap="round"></path>
`),N=o(`
<g fill="none" stroke="var(--lob-shell)" stroke-width="4" stroke-linecap="round">
<path d="M48 13 Q45 5 42 3"></path>
<path d="M72 13 Q75 5 78 3"></path>
</g>
<g class="lob-claw lob-claw--l" fill="var(--lob-claw)">
<ellipse cx="29" cy="29" rx="9" ry="7" transform="rotate(-20 29 29)"></ellipse>
<ellipse cx="20" cy="35" rx="8" ry="6" transform="rotate(18 20 35)"></ellipse>
</g>
<g class="lob-claw lob-claw--r" fill="var(--lob-claw)">
<ellipse cx="91" cy="29" rx="9" ry="7" transform="rotate(20 91 29)"></ellipse>
<ellipse cx="100" cy="35" rx="8" ry="6" transform="rotate(-18 100 35)"></ellipse>
</g>
<ellipse cx="60" cy="29" rx="24" ry="19" fill="var(--lob-shell)"></ellipse>
<circle cx="60" cy="48" r="4" fill="#d94b72"></circle>
<ellipse cx="60" cy="61" rx="18" ry="14" fill="var(--lob-shell)"></ellipse>
<circle cx="60" cy="75" r="3.5" fill="#d94b72"></circle>
<ellipse cx="60" cy="86" rx="13" ry="10" fill="var(--lob-shell)"></ellipse>
<g fill="#ffffff" opacity="0.55">
<ellipse cx="50" cy="22" rx="4" ry="10" transform="rotate(35 50 22)"></ellipse>
<ellipse cx="52" cy="56" rx="3" ry="7" transform="rotate(32 52 56)"></ellipse>
<ellipse cx="54" cy="82" rx="2.4" ry="5" transform="rotate(28 54 82)"></ellipse>
</g>
`),P=o(`
<g class="lob-portal-rear" fill="#b0432f">
<path d="M91 44 Q82 40 75 44 L82 51 L74 56 L82 61 L75 68 Q83 70 92 64 Z"></path>
<path d="M88 52 Q82 49 78 45" fill="none" stroke="#7f3022" stroke-width="2"></path>
<path d="M88 61 Q82 64 78 69" fill="none" stroke="#7f3022" stroke-width="2"></path>
</g>
<ellipse class="lob-portal-ring lob-portal-ring--orange" cx="92" cy="58" rx="14" ry="30" fill="#0d1b33" fill-opacity="0.85" stroke="currentColor" stroke-width="3" transform="rotate(10 92 58)"></ellipse>
`),F=o(`
<ellipse class="lob-portal-ring lob-portal-ring--blue" cx="30" cy="50" rx="14" ry="30" fill="#0d1b33" fill-opacity="0.85" stroke="currentColor" stroke-width="3" transform="rotate(-12 30 50)"></ellipse>
<path d="M31 30 Q45 20 56 30 Q62 39 60 53 Q58 64 47 70 L31 67 Z" fill="#b0432f"></path>
<g class="lob-claw lob-claw--l">
<path d="M52 54 Q58 48 63 51 Q67 56 63 62 Q58 67 52 63 Z" fill="#b0432f"></path>
</g>
<g fill="none" stroke="#b0432f" stroke-width="2" stroke-linecap="round">
<path d="M42 31 Q43 16 50 7"></path>
<path d="M52 28 Q58 14 66 9"></path>
</g>
`),I=o(`
<g class="lob-watermelon">
<g fill="none" stroke="#2c7a4a" stroke-width="4" stroke-linecap="round">
<path d="M31 25 Q39 13 48 11"></path>
<path d="M48 22 Q54 10 60 9"></path>
<path d="M66 22 Q72 10 80 15"></path>
<path d="M82 28 Q89 20 94 30"></path>
</g>
<ellipse cx="60" cy="69" rx="35" ry="23" fill="#e5484d"></ellipse>
<g fill="#28211c">
<ellipse cx="42" cy="62" rx="2" ry="3.4" transform="rotate(-20 42 62)"></ellipse>
<ellipse cx="58" cy="58" rx="2" ry="3.4" transform="rotate(8 58 58)"></ellipse>
<ellipse cx="76" cy="64" rx="2" ry="3.4" transform="rotate(24 76 64)"></ellipse>
<ellipse cx="49" cy="77" rx="2" ry="3.4" transform="rotate(18 49 77)"></ellipse>
<ellipse cx="68" cy="79" rx="2" ry="3.4" transform="rotate(-16 68 79)"></ellipse>
<ellipse cx="84" cy="75" rx="1.8" ry="3.1" transform="rotate(30 84 75)"></ellipse>
</g>
</g>
`),L=o(`
<g class="lob-tinfoil" fill="none" stroke="#c9d2da" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<path d="M27 31 L38 27 L45 34 L55 25 L64 33 L75 26 L91 34"></path>
<path d="M20 51 L31 45 L43 54 L55 45 L68 54 L82 44 L100 53"></path>
<path d="M23 70 L36 64 L47 73 L60 63 L74 72 L90 65 L98 72"></path>
<path d="M35 86 L46 80 L58 87 L70 79 L84 85"></path>
</g>
`),_e=o(`
<g class="lob-tinfoil-hat">
<path d="M43 14 L57 0 L78 15 L60 11 Z" fill="#c0c9d1"></path>
<path d="M57 0 L60 11 L78 15" fill="none" stroke="#7f8992" stroke-width="1.5"></path>
<path d="M43 14 L60 11 L53 5" fill="none" stroke="#9aa4ad" stroke-width="1.5"></path>
</g>
`),ve=o(`
<path class="lob-eclipse-corona" d="M29 31 Q40 10 61 9 Q82 9 94 31" fill="none" stroke="#ffe9b8" stroke-width="2.5" stroke-linecap="round"></path>
`),ye=[{y:12,x:44,count:4},{y:20,x:36,count:6},{y:28,x:28,count:8},{y:36,x:20,count:10},{y:44,x:16,count:11},{y:52,x:16,count:11},{y:60,x:16,count:11},{y:68,x:20,count:10},{y:76,x:24,count:9},{y:84,x:32,count:7},{y:92,x:44,count:4}],be=o(`
<g class="lob-notexture" shape-rendering="crispEdges">
${ye.flatMap((e,t)=>Array.from({length:e.count},(n,r)=>`<rect x="${e.x+r*8}" y="${e.y}" width="8" height="8" fill="${(t+r)%2==0?`#ff00dc`:`#111111`}"></rect>`)).join(`
`)}
</g>
`),xe=o(`
<g class="lob-chimera-stitches" fill="none" stroke="#4a3f3a" stroke-width="1.8" stroke-linecap="round">
<path d="M18 47 L27 50 M19 51 L22 46 M23 53 L26 48"></path>
<path d="M93 50 L102 47 M94 48 L97 53 M98 46 L101 51"></path>
</g>
`)})))()}function Ce(e){let t=(Math.round(e)%8+8)%8;if(t===0)return De();if(t===4)return Oe();let n=t<4?[-5,-9,-14][t-1]:[14,9,5][t-5];var r=ke(),i=r.firstChild.nextSibling.nextSibling;return f(i,`cx`,60+(n??0)),r}function we(e){var t=Ae(),n=t.firstChild,r=n.nextSibling;return u(t,Ie,n),m(()=>({e:h(e.openEyeStyle),t:h(e.closedEyeStyle)}),({e,t},i)=>{l(n,e,i?.e),l(r,t,i?.t)}),t}function Te(e){var t=je(),n=t.firstChild.nextSibling.nextSibling;return f(n,`d`,e),t}function Ee(e){var t=Me(),n=t.firstChild,r=n.firstChild.nextSibling.nextSibling;return u(n,(()=>{var t=d(()=>!!e.opened);return()=>t()?Ze():Ne()})(),r),t}var De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,R,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e;function z(){return(z=e((()=>{g(),c(),a(),De=_(`<svg><g class=lob-selene-moon><circle cx=60 cy=64 r=12 fill=#26304a></circle><circle cx=60 cy=64 r=11 fill=none stroke=#f4f7fc stroke-width=1></svg>`,2),Oe=_(`<svg><g class=lob-selene-moon><circle cx=60 cy=64 r=12 fill=#26304a></circle><circle cx=60 cy=64 r=11 fill=#f4f7fc></svg>`,2),ke=_(`<svg><g class=lob-selene-moon><circle cx=60 cy=64 r=12 fill=#26304a></circle><circle cx=60 cy=64 r=11 fill=#f4f7fc></circle><circle cy=64 r=11 fill=#26304a></svg>`,2),Ae=_(`<svg><g class=lob-pixel-frame shape-rendering=crispEdges><g class=lob-eye-open><rect x=42 y=30 width=6 height=6 fill=#0a1014></rect><rect x=72 y=30 width=6 height=6 fill=#0a1014></rect><rect x=42 y=30 width=2.5 height=2.5 fill=#fff></rect><rect x=72 y=30 width=2.5 height=2.5 fill=#fff></rect></g><g class=lob-eye-closed fill=#0a1014><rect x=42 y=33 width=6 height=3></rect><rect x=72 y=33 width=6 height=3></svg>`,2),je=_(`<svg><g stroke=#0a1014 stroke-linecap=round fill=none><path d="M37 24 L51 28"stroke-width=3.5></path><path d="M69 28 L83 24"stroke-width=3.5></path><path stroke-width=3></svg>`,2),Me=_(`<svg class=lobster-bottle__svg viewBox="0 0 48 44"aria-hidden=true><g transform="rotate(-16 24 30)"><rect x=5 y=18 width=30 height=16 rx=7 fill=#7fc8b8 opacity=0.72></rect><rect x=33 y=22 width=9 height=8 rx=2.5 fill=#7fc8b8 opacity=0.72></rect><rect x=11 y=22 width=12 height=8 rx=1.5 fill=#f2e5c9></rect><path d="M13 24.5 L21 24.5 M13 27 L19 27"stroke=#b6a071 stroke-width=1></path><ellipse cx=13 cy=20.5 rx=5 ry=2 fill=#ffffff opacity=0.35>`),Ne=_(`<svg><rect x=41 y=21.5 width=5 height=9 rx=1.8 fill=#8a5a2b></svg>`,2),Pe={crown:s.crown,sprout:o(`
<g>
<path d="M60 12 Q58 4 63 1" stroke="#3f9d63" stroke-width="3" stroke-linecap="round" fill="none"></path>
<ellipse cx="67" cy="3" rx="5" ry="3" fill="#57c785" transform="rotate(-24 67 3)"></ellipse>
</g>
`),patch:o(`
<g>
<path d="M28 27 Q60 14 92 22" stroke="#101820" stroke-width="4" stroke-linecap="round" fill="none"></path>
<circle cx="75" cy="32" r="9" fill="#101820"></circle>
</g>
`),santa:s.santa,pumpkin:s.pumpkin,party:s.party,barnacle:o(`
<g class="lob-barnacles">
<path d="M32 22 L36.5 13 L41 22 Z" fill="#cfd8de"></path>
<path d="M42 18 L45.5 11 L49 18 Z" fill="#b8c4cc"></path>
<path d="M27 26 L30 20.5 L33 26 Z" fill="#b8c4cc"></path>
<circle cx="36.5" cy="18.5" r="1.1" fill="#8a949d"></circle>
<circle cx="45.5" cy="15" r="0.9" fill="#8a949d"></circle>
</g>
`),monocle:o(`
<g class="lob-monocle" fill="none" stroke="#f4b840">
<circle cx="75" cy="32" r="8.5" stroke-width="2.5"></circle>
<path d="M81 39 Q85 48 80 56" stroke-width="1.5"></path>
</g>
`)},Fe=o(`
<g class="lob-freckles" fill="#ffffff" opacity="0.3">
<circle cx="42" cy="45" r="1.6"></circle>
<circle cx="50" cy="41" r="1.2"></circle>
<circle cx="70" cy="45" r="1.6"></circle>
<circle cx="78" cy="41" r="1.2"></circle>
<circle cx="55" cy="62" r="1.4"></circle>
<circle cx="67" cy="66" r="1.2"></circle>
</g>
`),Ie=o(`
<g class="lob-pixel-antennae" fill="#d84c3e">
<rect x="30" y="0" width="6" height="6"></rect>
<rect x="36" y="6" width="6" height="6"></rect>
<rect x="42" y="12" width="6" height="6"></rect>
<rect x="84" y="0" width="6" height="6"></rect>
<rect x="78" y="6" width="6" height="6"></rect>
<rect x="72" y="12" width="6" height="6"></rect>
</g>
<g class="lob-pixel-claws">
<path d="M18 42 H6 V48 H0 V60 H6 V66 H18 V60 H24 V48 H18 Z M6 48 H12 V60 H6 Z" fill="#d84c3e"></path>
<rect x="6" y="60" width="12" height="6" fill="#a83428"></rect>
<path d="M102 42 H114 V48 H120 V60 H114 V66 H102 V60 H96 V48 H102 Z M108 48 H114 V60 H108 Z" fill="#d84c3e"></path>
<rect x="102" y="60" width="12" height="6" fill="#a83428"></rect>
</g>
<g class="lob-pixel-body" fill="var(--lob-shell, #d84c3e)">
<rect x="42" y="12" width="36" height="6"></rect>
<rect x="36" y="18" width="48" height="6"></rect>
<rect x="30" y="24" width="60" height="6"></rect>
<rect x="24" y="30" width="72" height="48"></rect>
<rect x="30" y="78" width="60" height="12"></rect>
<rect x="36" y="90" width="48" height="6"></rect>
<rect x="36" y="96" width="12" height="9"></rect>
<rect x="72" y="96" width="12" height="9"></rect>
</g>
<g fill="#ef8f6a">
<rect x="36" y="24" width="24" height="6"></rect>
<rect x="30" y="30" width="18" height="12"></rect>
<rect x="24" y="42" width="12" height="12"></rect>
</g>
<g fill="#a83428">
<rect x="30" y="78" width="60" height="12"></rect>
<rect x="36" y="90" width="48" height="6"></rect>
<rect x="36" y="96" width="12" height="9"></rect>
<rect x="72" y="96" width="12" height="9"></rect>
</g>
`),Le=o(`
<path class="lob-split-half" d="M60 8 C88 8 104 32 104 52 C104 72 90 90 76 95 L76 104 L66 104 L66 96 C64 96.8 62 97.1 60 97.1 L60 8 Z" fill="var(--lob-shell2, #46536b)"></path>
`),Re=o(`
<path d="M95 55 C112 53 119 39 116 25 C113 11 99 5 91 12 C88 15 87 19 88 23 C83 27 83 36 88 43 C91 49 93 52 95 55 Z" fill="var(--lob-claw)"></path>
<path d="M92 14 C97 22 99 31 95 41" class="lob-retro-claw-line" stroke="#b8151b" stroke-width="3" stroke-linecap="round" fill="none"></path>
`),ze=o(`
<g class="lob-antennae" stroke="var(--lob-shell)" stroke-width="4" stroke-linecap="round" fill="none">
<path d="M50 16 Q45 4 37 1"></path>
<path d="M70 16 Q75 4 83 1"></path>
</g>
`),Be=()=>Te(`M49 45 Q59 51 69 45 L72 42`),Ve=o(`
<g class="lob-tail">
<ellipse cx="16" cy="84" rx="11" ry="7" transform="rotate(-32 16 84)"></ellipse>
<ellipse cx="104" cy="84" rx="11" ry="7" transform="rotate(32 104 84)"></ellipse>
</g>
`),He=o(`
<g class="lob-bindle">
<path d="M70 62 L99 30" stroke="#8a5a2b" stroke-width="3.5" stroke-linecap="round"></path>
<circle cx="101" cy="27" r="9.5" fill="#e8b04b"></circle>
<circle cx="98" cy="24" r="1.6" fill="#b6791f"></circle>
<circle cx="104" cy="29" r="1.6" fill="#b6791f"></circle>
<circle cx="100" cy="32" r="1.3" fill="#b6791f"></circle>
</g>
`),R=new Set([`crown`,`sprout`,`santa`,`pumpkin`,`party`]),Ue=o(`
<g class="lob-cap">
<path d="M46 10 Q60 -3 74 10 L74 13 Q60 7 46 13 Z" fill="#f5f7fa"></path>
<path d="M45 12 Q60 6 75 12 L75 16 Q60 10.5 45 16 Z" fill="#dfe7ee"></path>
<circle cx="60" cy="2.5" r="1.8" fill="#3b6ea5"></circle>
</g>
`),We=()=>Te(`M50 48 Q60 42 70 48`),Ge={perky:o(`
<g class="lob-antennae" stroke="var(--lob-shell)" stroke-width="4" stroke-linecap="round" fill="none">
<path d="M46 14 Q38 4 31 7"></path>
<path d="M74 14 Q82 4 89 7"></path>
</g>
`),droopy:o(`
<g class="lob-antennae" stroke="var(--lob-shell)" stroke-width="4" stroke-linecap="round" fill="none">
<path d="M46 14 Q36 8 34 18"></path>
<path d="M74 14 Q84 8 86 18"></path>
</g>
`)},Ke=o(`
<svg class="lobster-pet__svg" viewBox="0 0 120 105" preserveAspectRatio="none" aria-hidden="true">
<g stroke="#a63a2e" stroke-width="4" stroke-linecap="round" fill="none">
<path d="M22 78 L8 88"></path>
<path d="M28 88 L16 99"></path>
<path d="M98 78 L112 88"></path>
<path d="M92 88 L104 99"></path>
</g>
<g stroke="#c44536" stroke-width="3.5" stroke-linecap="round" fill="none">
<path d="M44 38 L40 24"></path>
<path d="M76 38 L80 24"></path>
</g>
<circle cx="40" cy="22" r="4.5" fill="#0a1014"></circle>
<circle cx="80" cy="22" r="4.5" fill="#0a1014"></circle>
<circle cx="41.5" cy="20.5" r="1.8" fill="#ffd166"></circle>
<circle cx="81.5" cy="20.5" r="1.8" fill="#ffd166"></circle>
<ellipse cx="60" cy="70" rx="46" ry="30" fill="#c44536"></ellipse>
<ellipse cx="48" cy="60" rx="16" ry="9" fill="#ffffff" opacity="0.1"></ellipse>
<path d="M16 58 C2 52 -2 62 4 72 C10 82 20 76 24 66 C26 60 22 58 16 58 Z" fill="#d95f4b"></path>
<path d="M104 58 C118 52 122 62 116 72 C110 82 100 76 96 66 C94 60 98 58 104 58 Z" fill="#d95f4b"></path>
<path d="M48 82 Q60 90 72 82" stroke="#7e2a20" stroke-width="3" stroke-linecap="round" fill="none"></path>
</svg>
`),qe=o(`
<svg class="lobster-pet__svg" viewBox="0 0 120 105" preserveAspectRatio="none" aria-hidden="true">
<path d="M14 96 Q32 84 58 88 L96 88 Q110 90 112 97 Q112 103 102 103 L24 103 Q14 103 14 96 Z" fill="#c9a06a"></path>
<g stroke="#c9a06a" stroke-width="3.5" stroke-linecap="round" fill="none">
<path d="M94 88 Q96 76 91 68"></path>
<path d="M103 88 Q107 76 103 66"></path>
</g>
<circle cx="90" cy="65" r="3.6" fill="#0a1014"></circle>
<circle cx="103" cy="63" r="3.6" fill="#0a1014"></circle>
<circle cx="91" cy="64" r="1.3" fill="#ffd166"></circle>
<circle cx="104" cy="62" r="1.3" fill="#ffd166"></circle>
<circle cx="50" cy="62" r="27" fill="#8a5a2b"></circle>
<path d="M50 41 a21 21 0 1 1 -15 36 a14 14 0 1 0 11 -25 a8 8 0 1 0 4 14" stroke="#5f3d1c" stroke-width="4" stroke-linecap="round" fill="none"></path>
</svg>
`),Je=o(`
<svg class="lobster-pet__svg" viewBox="0 0 120 105" preserveAspectRatio="none" aria-hidden="true">
<path d="M30 82 Q20 74 27 65 Q30 76 40 79 Z" fill="#f0b52e"></path>
<ellipse cx="58" cy="85" rx="34" ry="17" fill="#ffd23e"></ellipse>
<circle cx="82" cy="50" r="18" fill="#ffd23e"></circle>
<path d="M98 49 Q112 52 99 59 Q95 56 95 51 Z" fill="#ff8c2e"></path>
<circle cx="86" cy="44" r="3.6" fill="#0a1014"></circle>
<circle cx="87" cy="43" r="1.3" fill="#ffffff"></circle>
<path d="M44 82 Q58 72 72 82 Q58 93 44 82 Z" fill="#f0b52e" opacity="0.75"></path>
</svg>
`),Ye=o(`
<svg class="lobster-pet__svg" viewBox="0 0 120 105" preserveAspectRatio="none" aria-hidden="true">
<g class="lob-jelly-tentacles" stroke="#9f7dfa" stroke-width="2.5" stroke-linecap="round" fill="none" opacity="0.8">
<path d="M40 58 Q35 74 42 90"></path>
<path d="M54 61 Q52 78 57 96"></path>
<path d="M68 61 Q71 78 64 94"></path>
<path d="M80 58 Q85 72 78 88"></path>
</g>
<path d="M30 52 C30 22 90 22 90 52 L90 58 Q82 52 75 58 Q67 52 60 58 Q52 52 45 58 Q38 52 30 58 Z" fill="#b79bff" opacity="0.78"></path>
<ellipse cx="47" cy="37" rx="12" ry="6" fill="#ffffff" opacity="0.25"></ellipse>
<circle cx="52" cy="45" r="2.6" fill="#0a1014"></circle>
<circle cx="66" cy="45" r="2.6" fill="#0a1014"></circle>
</svg>
`),Xe={crab:Ke,snail:qe,duck:Je,jellyfish:Ye},Ze=o(`
<rect x="36" y="20" width="11" height="7" rx="1.5" fill="#f2e5c9" transform="rotate(-24 41 23)"></rect>
<rect x="43" y="30" width="4.5" height="8" rx="1.6" fill="#8a5a2b" transform="rotate(38 45 34)"></rect>
`),Qe=o(`
<svg class="lobster-pet__balloon" viewBox="0 0 40 62" aria-hidden="true">
<path d="M20 34 Q23 46 18 60" stroke="#8a949d" stroke-width="1.5" fill="none"></path>
<ellipse cx="20" cy="16" rx="13" ry="15" fill="#ff5c8a"></ellipse>
<path d="M17 30 L20 34.5 L23 30 Z" fill="#e0446f"></path>
<ellipse cx="15" cy="10" rx="4" ry="6" fill="#ffffff" opacity="0.3"></ellipse>
</svg>
`),$e={stranger:`a stranger`,crab:`definitely a lobster`,snail:`in no particular hurry`,duck:`a duck. obviously`,jellyfish:`just drifting`}})))()}function et(e){let t=()=>e.look.palette.id===`flatpack`,n=()=>H[e.look.palette.id],r=ee(()=>H[e.look.palette.id]),a=()=>pt.has(e.look.palette.id),o=()=>e.shell?void 0:ft[e.look.palette.id],s=()=>e.shell||e.sleeping&&!e.reading,c=()=>s()?`display:none`:``,f=()=>s()?`opacity:1`:e.standalone||e.reading?`display:none`:``,g=Math.round(ne(new Date)*8)%8;var _=tt(),v=_.firstChild,y=v.firstChild,b=y.nextSibling,x=b.nextSibling,S=x.nextSibling,C=S.nextSibling,w=C.nextSibling,T=w.nextSibling;return u(v,(()=>{var t=d(()=>!!n());return()=>t()?p(r,{get openEyeStyle(){return c()},get closedEyeStyle(){return f()}}):[d(()=>d(()=>!!a())()?ze():Ge[e.look.antennae]()),d(()=>d(()=>!!e.look.tailFan)()?Ve():null),nt(),d(()=>d(()=>!!a())()?null:(()=>{var e=st(),t=e.firstChild;return u(e,()=>o()?.()??null,t),e})()),d(()=>d(()=>e.look.palette.id===`heisenbug`)()?dt():null),rt(),d(()=>d(()=>e.look.palette.id===`split`||e.look.palette.id===`geode`)()?Le():null),d(()=>d(()=>e.look.palette.id===`selene`)()?Ce(g):null),d(()=>V[e.look.palette.id]?.()??null),d(()=>d(()=>e.look.palette.id===`tinfoil`)()?ae(!R.has(e.look.accessory)):null),d(()=>d(()=>!(!e.look.freckles||Object.hasOwn(V,e.look.palette.id)))()?Fe():null),d(()=>d(()=>e.look.palette.id===`invisible`)()?null:ct()),(()=>{var e=it();return m(()=>h(c()),(t,n)=>{l(e,t,n)}),e})(),d(()=>d(()=>!(!e.sleeping||e.reading))()?lt():null),p(i,{"stroke-width":`3`,get style(){return f()},get children(){return[at(),ot()]}})]})(),y),u(v,(()=>{var e=d(()=>!!a());return()=>e()?[d(Be),(()=>{var e=ut();return u(e,Re),e})()]:null})(),b),u(v,(()=>{var t=d(()=>!(!e.grumpy||a()||n()&&e.look.palette.id!==`pixel`));return()=>t()?We():null})(),x),u(v,(()=>{var n=d(()=>!!(e.look.accessory===`none`||e.shell||t()));return()=>n()?null:Pe[e.look.accessory]()})(),S),u(v,(()=>{var n=d(()=>!(!e.bindle||a()||t()||o()));return()=>n()?He():null})(),C),u(v,(()=>{var n=d(()=>!(!e.sailorCap||e.shell||t()||R.has(e.look.accessory)||e.look.palette.id===`tinfoil`));return()=>n()?Ue():null})(),w),u(v,(()=>{var t=d(()=>!!e.reading);return()=>t()?ht():null})(),T),m(()=>h(mt[e.look.palette.id]??``),(e,t)=>{te(v,e,t)}),_}var tt,nt,rt,it,at,ot,st,ct,lt,ut,dt,B,ft,V,pt,mt,H,ht;function gt(){return(gt=e((()=>{g(),x(),a(),Se(),z(),tt=_(`<svg class=lobster-pet__svg viewBox="0 0 120 105"preserveAspectRatio="xMidYMax meet"aria-hidden=true><g><!><!><!><!><!><!><!>`),nt=_(`<svg><g class="lob-claw lob-claw--l"><path d="M20 42 C5 37 0 47 5 57 C10 67 20 62 25 52 C28 45 25 42 20 42 Z"fill=var(--lob-claw)></svg>`,2),rt=_(`<svg><path class=lob-standard-dome d="M60 8 C32 8 16 32 16 52 C16 72 30 90 44 95 L44 104 L54 104 L54 96 C58 97.5 62 97.5 66 96 L66 104 L76 104 L76 95 C90 90 104 72 104 52 C104 32 88 8 60 8 Z"fill=var(--lob-shell)></svg>`,2),it=_(`<svg><g class=lob-eye-open><circle cx=45 cy=32 r=5.5 fill=#0a1014></circle><circle cx=75 cy=32 r=5.5 fill=#0a1014></circle><circle cx=46.5 cy=30.5 r=2.2 fill="var(--lob-glint, #00e5cc)"></circle><circle cx=76.5 cy=30.5 r=2.2 fill="var(--lob-glint, #00e5cc)"></svg>`,2),at=_(`<svg><path d="M39 33 Q45 28 51 33"></svg>`,2),ot=_(`<svg><path d="M69 33 Q75 28 81 33"></svg>`,2),st=_(`<svg><g class="lob-claw lob-claw--r"><path d="M100 42 C115 37 120 47 115 57 C110 67 100 62 95 52 C92 45 95 42 100 42 Z"fill=var(--lob-claw)></svg>`,2),ct=_(`<svg><ellipse cx=48 cy=28 rx=20 ry=11 fill=#ffffff opacity=0.1></svg>`,2),lt=_(`<svg><g class=lob-eye-peek><circle cx=45 cy=32 r=4 fill=#0a1014></circle><circle cx=46 cy=30.8 r=1.6 fill="var(--lob-glint, #00e5cc)"></svg>`,2),ut=_(`<svg><g class="lob-claw lob-claw--r"></svg>`,2),dt=o(`
<g class="lob-glitch-ghosts">
<path d="M60 8 C32 8 16 32 16 52 C16 72 30 90 44 95 L44 104 L54 104 L54 96 C58 97.5 62 97.5 66 96 L66 104 L76 104 L76 95 C90 90 104 72 104 52 C104 32 88 8 60 8 Z" transform="translate(-3 0)" fill="#ff3355" opacity="0.4"></path>
<path d="M60 8 C32 8 16 32 16 52 C16 72 30 90 44 95 L44 104 L54 104 L54 96 C58 97.5 62 97.5 66 96 L66 104 L76 104 L76 95 C90 90 104 72 104 52 C104 32 88 8 60 8 Z" transform="translate(3 1)" fill="#22d3ee" opacity="0.4"></path>
</g>
`),B=o(`
<path class="lob-microphone" d="M106 32 L112 34 L106 56 Q105 58 103 57 Q101 56 102 54 Z" fill="#343747"></path>
<path class="lob-microphone" d="M103 27 A7 7 0 1 1 117 27 A7 7 0 1 1 103 27 Z" fill="#666a80"></path>
<path class="lob-microphone" d="M106 23 L114 25 M105 27 L113 29" fill="none" stroke="#e7e7f0" stroke-width="1.5" stroke-linecap="round"></path>
`),ft={taylorpinch:B,shellvis:B,leonardodepinchy:o(`
<path class="lob-leonardodepinchy__brush" d="M107 32 L112 33 L106 57 Q104 59 102 56 Z" fill="#855233"></path>
<path class="lob-leonardodepinchy__brush" d="M106 27 L114 29 L112 36 L104 34 Z" fill="#b4b7b5"></path>
<path class="lob-leonardodepinchy__brush" d="M106 27 C105 21 110 18 111 11 C119 21 118 26 114 29 Z" fill="#e6c88e"></path>
<path class="lob-leonardodepinchy__brush" d="M111 11 Q114 16 115 18 Q111 21 108 22 Q110 16 111 11 Z" fill="#4a89b8"></path>
`),alexandergrahamshell:o(`
<path class="lob-telephone-receiver" d="M105 33 L112 34 L108 56 Q105 59 102 55 Z" fill="#4b3c30"></path>
<path class="lob-telephone-receiver" d="M102 29 C104 21 113 21 117 29 L117 34 Q109 39 101 34 Z" fill="#35312f"></path>
<path class="lob-telephone-receiver" d="M103 30 Q110 34 116 30" fill="none" stroke="#bc955c" stroke-width="2" stroke-linecap="round"></path>
<path class="lob-telephone-receiver" d="M105 56 Q101 63 108 65 Q115 67 110 71 Q106 74 112 77" fill="none" stroke="#574631" stroke-width="1.8" stroke-linecap="round"></path>
`)},V={lumen:o(`
<g class="lob-lumen" fill="#7ef5dd">
<circle cx="36" cy="54" r="2.4"></circle>
<circle cx="50" cy="66" r="2"></circle>
<circle cx="66" cy="70" r="2.2"></circle>
<circle cx="80" cy="60" r="2"></circle>
<circle cx="88" cy="46" r="1.7"></circle>
<circle cx="60" cy="86" r="1.7"></circle>
</g>
`),magma:o(`
<g class="lob-magma" fill="none" stroke="#ff6a3d" stroke-width="2" stroke-linecap="round">
<path d="M40 44 L48 54 L42 66 L50 78"></path>
<path d="M74 40 L68 52 L78 64"></path>
<path d="M56 82 L62 90"></path>
</g>
`),oilslick:o(`
<g class="lob-oilsheen">
<ellipse cx="46" cy="60" rx="22" ry="11" fill="#7f77dd" opacity="0.3" transform="rotate(-14 46 60)"></ellipse>
<ellipse cx="76" cy="74" rx="17" ry="8" fill="#1d9e75" opacity="0.28" transform="rotate(10 76 74)"></ellipse>
</g>
`),aurora:o(`
<g class="lob-aurora" fill="none" stroke-linecap="round">
<path class="lob-aurora__band1" d="M24 62 Q48 48 70 58 T102 54" stroke="#4ecfa6" stroke-width="6" opacity="0.5"></path>
<path class="lob-aurora__band2" d="M28 76 Q54 62 78 72 T100 68" stroke="#a184ec" stroke-width="5" opacity="0.45"></path>
</g>
`),nebula:o(`
<g class="lob-nebula-stars">
<circle cx="38" cy="52" r="1" fill="#fff"></circle>
<circle cx="52" cy="70" r="1.2" fill="#fff"></circle>
<circle cx="84" cy="48" r="1.4" fill="#fff"></circle>
<circle cx="66" cy="86" r="1" fill="#fff"></circle>
<circle cx="72" cy="60" r="1.6" fill="#8be9fd"></circle>
<circle cx="46" cy="40" r="1.4" fill="#ff9de2"></circle>
<path class="lob-twinkle" d="M60 52 L61.5 55.5 L65 57 L61.5 58.5 L60 62 L58.5 58.5 L55 57 L58.5 55.5 Z" fill="#fff"></path>
</g>
`),glass:o(`
<g class="lob-glass-glints" fill="none" stroke="#ffffff" stroke-width="2.5" stroke-linecap="round" opacity="0.7">
<path d="M34 22 L28 32"></path>
<path d="M40 16 L37 22"></path>
</g>
`),geode:o(`
<g class="lob-geode-facets">
<polygon points="70,34 80,30 78,44" fill="#9b6ff0"></polygon>
<polygon points="82,46 94,42 88,58" fill="#b48ef0"></polygon>
<polygon points="72,58 84,62 74,74" fill="#7a4fd0"></polygon>
<polygon points="86,68 96,64 90,80" fill="#9b6ff0"></polygon>
<circle class="lob-twinkle" cx="90" cy="50" r="1.8" fill="#fff"></circle>
</g>
`),phosphor:o(`
<g class="lob-scanlines" stroke="#3fff7d" stroke-width="1" opacity="0.16">
<path d="M40 20 H80 M30 27 H90 M26 34 H94 M21 41 H99 M18 48 H102 M17 55 H103 M17 62 H103 M18 69 H102 M22 76 H98 M31 83 H89 M45 90 H75"></path>
</g>
`),blueprint:o(`
<g class="lob-blueprint" fill="none" stroke="#cfe3ff">
<path class="lob-bp-outline" d="M60 8 C32 8 16 32 16 52 C16 72 30 90 44 95 L44 104 L54 104 L54 96 C58 97.5 62 97.5 66 96 L66 104 L76 104 L76 95 C90 90 104 72 104 52 C104 32 88 8 60 8 Z" stroke-width="1.5" stroke-dasharray="5 3"></path>
<path d="M54 58 H66 M60 52 V64" stroke-width="1" opacity="0.7"></path>
<path d="M16 100 H104" stroke-width="1" stroke-dasharray="2 3" opacity="0.7"></path>
</g>
`),clawnstantine:o(`
<g class="lob-clawnstantine">
<path d="M18 48 Q60 62 102 48 L104 52 C104 72 90 90 76 95 Q60 98 44 95 C30 90 16 72 16 52 Z" fill="#4e296e"></path>
<path d="M28 61 Q30 72 39 78 M70 88 Q82 82 91 65" fill="none" stroke="#a576c4" stroke-width="1.6" stroke-linecap="round"></path>
<path d="M81.5 45.5 C70 64 50 78 29.9 85.444 C32.971 88.632 36.349 91.249 39.814 93.121 C62 85 81 68 90.5 50.5 Z" fill="#e5bc62"></path>
<path d="M84 51 C73 68 57 80 39 87" fill="none" stroke="#fff0bc" stroke-width="1.6" stroke-linecap="round"></path>
<circle cx="85" cy="49" r="6" fill="#e5bc62"></circle>
<circle cx="85" cy="49" r="3" fill="#58c8b5"></circle>
<g class="lob-clawnstantine__laurel" fill="#e5bc62" stroke="#bd8a38" stroke-width="0.6">
<path d="M31 27 Q31 15 50 11 M89 27 Q89 15 70 11" fill="none" stroke="#e5bc62" stroke-width="2"></path>
<path d="M33 25 Q23 21 28 15 Q35 17 33 25 Z M37 19 Q28 13 34 9 Q41 12 37 19 Z M43 14 Q38 7 44 6 Q49 9 43 14 Z"></path>
<path d="M87 25 Q97 21 92 15 Q85 17 87 25 Z M83 19 Q92 13 86 9 Q79 12 83 19 Z M77 14 Q82 7 76 6 Q71 9 77 14 Z"></path>
</g>
</g>
`),clawiestardust:o(`
<g class="lob-clawiestardust">
<path d="M72 14 L57 49 L70 43 L51 89 L85 38 L72 44 L83 18 Z" fill="#4dc8eb" transform="translate(2.5 0)"></path>
<path d="M72 14 L57 49 L70 43 L51 89 L85 38 L72 44 L83 18 Z" fill="#e6393d"></path>
</g>
`),taylorpinch:o(`
<g class="lob-taylorpinch">
<path d="M51 44 Q56 40 60 43 Q64 40 69 44 Q60 54 51 44 Z" fill="#c92e48"></path>
<path d="M16 52 Q37 50 60 62 Q83 50 104 52 C104 72 90 90 76 95 Q60 98 44 95 C30 90 16 72 16 52 Z" fill="#9c82cf"></path>
<path d="M22 57 Q40 56 60 68 Q80 56 98 57" fill="none" stroke="#d5c4f2" stroke-width="2" stroke-linecap="round"></path>
<g fill="#fff4fb">
<path d="M36 65 L37.5 69.5 L42 71 L37.5 72.5 L36 77 L34.5 72.5 L30 71 L34.5 69.5 Z"></path>
<path d="M79 72 L80.5 76.5 L85 78 L80.5 79.5 L79 84 L77.5 79.5 L73 78 L77.5 76.5 Z"></path>
<circle cx="57" cy="79" r="1.5"></circle>
<circle cx="67" cy="88" r="1.5"></circle>
<circle cx="87" cy="64" r="1.5"></circle>
</g>
</g>
`),clawtoodeetoo:o(`
<g class="lob-clawtoodeetoo">
<path d="M27 26 C35 14 45 8 60 8 C75 8 85 14 93 26 Q60 19 27 26 Z" fill="#b8c3cf"></path>
<g fill="#2d5cbd">
<path d="M37 17 L46 12 L46 22 L34 24 Z M54 9 H66 L67 21 H53 Z M74 12 L84 17 L86 24 L74 22 Z"></path>
<path d="M20 46 Q60 42 100 46 L101 53 Q60 49 19 53 Z"></path>
<rect x="53" y="58" width="14" height="9" rx="1.5"></rect>
<rect x="53" y="71" width="14" height="9" rx="1.5"></rect>
</g>
<g fill="none" stroke="#9ba8b7" stroke-width="1.5">
<rect x="32" y="59" width="13" height="25" rx="2"></rect>
<rect x="75" y="59" width="13" height="25" rx="2"></rect>
<path d="M54 86 H66 M54 90 H66" stroke-linecap="round"></path>
</g>
<circle cx="87" cy="49" r="2.5" fill="#ef5261"></circle>
</g>
`),leonardodepinchy:o(`
<g class="lob-leonardodepinchy">
<path d="M18 48 Q60 61 102 48 L104 52 C104 72 90 90 76 95 Q60 98 44 95 C30 90 16 72 16 52 Z" fill="#5f6950"></path>
<path d="M60 63 V93 M27 64 Q31 77 40 84 M93 64 Q89 77 80 84" fill="none" stroke="#87906e" stroke-width="1.6" stroke-linecap="round"></path>
<path d="M40 42 Q60 52 80 42 Q78 58 60 66 Q42 58 40 42 Z" fill="#eee3ce"></path>
<path d="M52 49 Q60 54 68 49" fill="none" stroke="#c7b99e" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M25 24 C29 9 51 5 67 8 C83 4 96 10 95 20 Q71 29 25 24 Z" fill="#49352c"></path>
<path d="M28 23 Q61 27 91 21" fill="none" stroke="#765545" stroke-width="2" stroke-linecap="round"></path>
<circle cx="38" cy="72" r="3" fill="#bd644f"></circle>
<circle cx="77" cy="81" r="3" fill="#4a89b8"></circle>
<circle cx="83" cy="65" r="2.5" fill="#dfb34f"></circle>
</g>
`),shellvis:o(`
<g class="lob-shellvis">
<path d="M18 48 L43 47 L60 62 L77 47 L102 48 L104 52 C104 72 90 90 76 95 Q60 98 44 95 C30 90 16 72 16 52 Z" fill="#fff7e9"></path>
<path d="M43 49 L48 66 L60 61 L72 66 L77 49 M26 80 Q60 87 94 80" fill="none" stroke="#d7ab4c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M53 46 L60 50 L67 46 L64 54 L72 74 L65 71 L59 56 L51 68 L48 63 L56 53 Z" fill="#c84248"></path>
<rect x="56" y="80" width="8" height="6" rx="1.5" fill="#d7ab4c"></rect>
<path d="M24 26 Q21 10 41 9 Q42 1 62 5 C76 1 96 7 96 19 L91 29 Q82 21 77 20 Q59 31 43 21 Q34 21 24 26 Z" fill="#29272d"></path>
<path d="M35 17 Q50 10 61 13 Q75 8 85 15" fill="none" stroke="#4d4750" stroke-width="2" stroke-linecap="round"></path>
<path d="M25 27 L32 25 L32 42 L26 38 Z M88 25 L95 27 L94 38 L88 42 Z" fill="#29272d"></path>
</g>
`),alexandergrahamshell:o(`
<g class="lob-alexandergrahamshell">
<path d="M18 48 Q60 58 102 48 L104 52 C104 72 90 90 76 95 Q60 98 44 95 C30 90 16 72 16 52 Z" fill="#3d4b53"></path>
<path d="M37 47 L49 73 L60 63 L71 73 L83 47" fill="#f1ebdf"></path>
<path d="M35 61 L45 86 M85 61 L75 86" fill="none" stroke="#65747a" stroke-width="1.6" stroke-linecap="round"></path>
<path d="M28 29 Q25 18 35 15 L38 32 L32 42 Z M92 29 Q95 18 85 15 L82 32 L88 42 Z" fill="#c9ceca"></path>
<path d="M31 38 Q40 47 47 43 Q60 52 73 43 Q80 47 89 38 Q88 59 76 66 Q71 76 60 77 Q49 76 44 66 Q32 59 31 38 Z" fill="#dfe0dc"></path>
<path d="M51 52 Q60 57 69 52 M49 65 Q60 72 71 65" fill="none" stroke="#b8beba" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M50 78 L60 81 L70 78 V86 L60 83 L50 86 Z" fill="#8f3347"></path>
<circle cx="60" cy="91" r="1.8" fill="#bc955c"></circle>
</g>
`),clawtron:o(`
<g class="lob-mecha">
<g fill="none" stroke="#5f6a75" stroke-width="1.5">
<path d="M28 56 Q60 66 92 56"></path>
<path d="M34 74 Q60 82 86 74"></path>
</g>
<g fill="#5f6a75">
<circle cx="36" cy="61" r="1.4"></circle>
<circle cx="60" cy="64" r="1.4"></circle>
<circle cx="84" cy="61" r="1.4"></circle>
</g>
<circle class="lob-led" cx="89" cy="7" r="3" fill="#ff4444"></circle>
</g>
`),banana:o(`
<g fill="#8a6430">
<rect x="56" y="8" width="8" height="6" rx="2.5"></rect>
<ellipse cx="60" cy="91" rx="6" ry="3.5"></ellipse>
<circle cx="37" cy="48" r="2.5"></circle>
<circle cx="79" cy="55" r="2"></circle>
<circle cx="47" cy="70" r="1.8"></circle>
<circle cx="72" cy="79" r="2.3"></circle>
</g>
`),bee:o(`
<g class="lob-bee-wings" fill="#ffffff" opacity="0.45">
<ellipse cx="38" cy="14" rx="8" ry="4.5" transform="rotate(-24 38 14)"></ellipse>
<ellipse cx="82" cy="14" rx="8" ry="4.5" transform="rotate(24 82 14)"></ellipse>
</g>
<g fill="#2b2b23" opacity="0.9">
<path d="M19 42 Q60 51 101 42 L103 50 Q60 60 17 50 Z"></path>
<path d="M17 58 Q60 67 103 58 L101 67 Q60 76 19 67 Z"></path>
<path d="M24 76 Q60 84 96 76 L90 85 Q60 92 30 85 Z"></path>
</g>
`),rubberduck:o(`
<g>
<ellipse cx="60" cy="71" rx="21" ry="14" fill="#ffffff" opacity="0.5"></ellipse>
<rect x="47" y="41" width="26" height="8" rx="4" fill="#ff9a2e"></rect>
<rect x="50" y="47" width="20" height="5" rx="2.5" fill="#e98322"></rect>
</g>
`),sourdough:o(`
<g fill="none" stroke="#a8763e" stroke-width="2.5" stroke-linecap="round">
<path d="M38 23 Q45 29 52 30"></path>
<path d="M52 17 Q59 24 66 25"></path>
<path d="M67 18 Q74 24 81 25"></path>
</g>
<g fill="#ffffff" opacity="0.5">
<circle cx="34" cy="39" r="1.2"></circle>
<circle cx="86" cy="38" r="1"></circle>
<circle cx="45" cy="57" r="1.4"></circle>
<circle cx="74" cy="62" r="1.1"></circle>
<circle cx="56" cy="78" r="1"></circle>
<circle cx="83" cy="75" r="1.3"></circle>
</g>
`),zombie:o(`
<g fill="none" stroke="#5a6b52" stroke-width="2" stroke-linecap="round">
<path d="M32 24 Q47 19 61 23"></path>
<path d="M38 19 L40 26 M46 18 L47 25 M54 19 L53 26"></path>
<path d="M57 72 Q72 78 87 72"></path>
<path d="M65 72 L63 79 M73 73 L72 80 M81 71 L83 78"></path>
</g>
<ellipse cx="35" cy="61" rx="9" ry="6" fill="#86987a" opacity="0.8" transform="rotate(-18 35 61)"></ellipse>
`),plush:o(`
<g fill="none" stroke="#c97a5e" stroke-width="1.5" stroke-dasharray="3 3">
<path d="M30 32 Q60 4 90 32"></path>
<path d="M60 50 Q58 72 60 96"></path>
</g>
<g class="lob-plush-button">
<circle cx="78" cy="44" r="3.5" fill="#7a4a3a"></circle>
<circle cx="76.8" cy="44" r="0.7" fill="#e8967a"></circle>
<circle cx="79.2" cy="44" r="0.7" fill="#e8967a"></circle>
</g>
`),disco:o(`
<g class="lob-disco" fill="#ffffff">
<rect x="42" y="18" width="4" height="4" opacity="0.3"></rect>
<rect x="52" y="16" width="4" height="4" opacity="0.5"></rect>
<rect x="63" y="17" width="4" height="4" opacity="0.25"></rect>
<rect x="74" y="20" width="4" height="4" opacity="0.4"></rect>
<rect x="31" y="40" width="4" height="4" opacity="0.4"></rect>
<rect x="53" y="39" width="4" height="4" opacity="0.25"></rect>
<rect x="65" y="42" width="4" height="4" opacity="0.5"></rect>
<rect x="86" y="40" width="4" height="4" opacity="0.3"></rect>
<rect x="39" y="59" width="4" height="4" opacity="0.25"></rect>
<rect x="51" y="62" width="4" height="4" opacity="0.45"></rect>
<rect x="68" y="60" width="4" height="4" opacity="0.3"></rect>
<rect x="80" y="58" width="4" height="4" opacity="0.5"></rect>
<rect x="49" y="79" width="4" height="4" opacity="0.35"></rect>
<rect x="70" y="80" width="4" height="4" opacity="0.25"></rect>
</g>
`),watermelon:I,eclipse:ve,notexture:be,chimera:xe,split:null,retro:null,heisenbug:null,selene:null,pixel:null,balloon:null,cryptid:null,flatpack:null,tinfoil:null,actual:null,loading:null,ascii:null,portal:null,invisible:null,goldenretro:null},pt=new Set([`retro`,`goldenretro`]),mt={heisenbug:`lob-heisenbug-frame`,cryptid:`lob-cryptid-frame`,balloon:`lob-balloon-frame`},H={flatpack:S,loading:C,actual:w,balloon:T,ascii:re,portal:ie,pixel:we},ht=o(`
<g class="lob-reading-book" transform="translate(0 2)">
<path d="M25 62 Q43 56 59 66 L59 92 Q43 82 25 86 Z M61 66 Q77 56 95 62 L95 86 Q77 82 61 92 Z" fill="var(--lob-claw)" stroke="color-mix(in srgb, var(--lob-claw) 72%, #0a1014)" stroke-width="2.5" stroke-linejoin="round"></path>
<path d="M29 62 Q44 58 59 68 L59 88 Q44 79 29 82 Z" fill="#fffaf0"></path>
<path d="M61 68 Q76 58 91 62 L91 82 Q76 79 61 88 Z" fill="#fffaf0"></path>
<path d="M60 67 L60 89" stroke="#d7cfc0" stroke-width="1.5"></path>
<g stroke="#b8b0a3" stroke-width="1.25" stroke-linecap="round" opacity="0.58">
<path d="M34 67 L51 71"></path>
<path d="M34 72 L50 75"></path>
<path d="M67 71 L85 67"></path>
<path d="M68 76 L85 72"></path>
<path d="M70 80 L83 77"></path>
</g>
<path class="lob-reading-book__page-glow" d="M31 62 Q45 59 57 68 L57 72 Q44 65 31 67 Z" fill="#ffffff" opacity="0"></path>
</g>
`)})))()}function _t(e){return yt[e]??e}function vt(e){return t(U[(e>>>3)%U.length],`lobster pet name catalog entry`)}var yt,U,bt;function W(){return(W=e((()=>{r(),yt={blue:`Blueberry`,gold:`Goldie`,lumen:`Glimmer`,magma:`Ember`,oilslick:`Slick`,aurora:`Borealis`,nebula:`Cosmo`,banana:`Peel`,mood:`Ringo`,bee:`Buzz`,rubberduck:`Debuggy`,watermelon:`Pips`,clawnstantine:`Clawnstantine`,clawiestardust:`Clawie Stardust`,taylorpinch:`Taylor Pinch`,clawtoodeetoo:`Clawtoo Deetoo`,leonardodepinchy:`Leonardo DaPinchy`,shellvis:`Shellvis`,alexandergrahamshell:`Alexander Graham Shell`,clawtron:`Clawtron`,selene:`Selene`,geode:`Amethyst`,ghost:`Boo`,glass:`Prism`,split:`Picasso`,sourdough:`Boule`,zombie:`Shambles`,plush:`Buttons`,balloon:`Squeaky`,cottoncandy:`Taffy`,cryptid:`Nessie`,flatpack:`Skaldjur`,tinfoil:`Mulder`,actual:`Homarus`,disco:`Boogie`,chimera:`Frankie`,blueprint:`Prototype`,phosphor:`TTY`,ascii:`Figlet`,portal:`Warp`,notexture:`Magenta`,loading:`Spinner`,eclipse:`Umbra`,heisenbug:`Segfault`,invisible:`Nobody`,pixel:`Sprite`,retro:`OG`,goldenretro:`24K`},U=[`Pinchy`,`Barnaby`,`Thermidor`,`Clawdette`,`Sheldon`,`Scuttles`,`Bisque`,`Crusty`,`Snips`,`Bubbles`,`Clawdia`,`Ferdinand`,`Maple`,`Pearl`,`Biscuit`,`Captain`,`Ziggy`,`Noodle`,`Waffles`,`Pippin`,`Squirt`,`Chip`,`Clementine`,`Moss`],bt={crimson:{flavor:`The classic red, first in every tide pool.`,hint:`Where every story starts.`},blue:{flavor:`1 in 2 million, and knows it.`,hint:`One in two million.`},gold:{flavor:`1 in 30 million karats.`,hint:`Worth its weight.`},lumen:{flavor:`Brings its own night lights.`,hint:`Glows where it's darkest.`},magma:{flavor:`Fresh from the vent, still cooling.`,hint:`Runs hot.`},oilslick:{flavor:`Black shell, rainbow finish.`,hint:`Spilled, not stirred.`},aurora:{flavor:`Northern lights, southern claws.`,hint:`Best seen on clear nights.`},nebula:{flavor:`Not from any ocean on this planet.`,hint:`Came from very far away.`},banana:{flavor:`Banana. For scale.`,hint:`For scale.`},mood:{flavor:`Wears whatever color you're feeling.`,hint:`Matches your vibe.`},bee:{flavor:`Technically not a bee.`,hint:`Do not tell the bees.`},rubberduck:{flavor:`Listens to your bugs. Judges silently.`,hint:`Quack.`},watermelon:{flavor:`Contains 6% lobster.`,hint:`Ripe when thumped.`},clawnstantine:{flavor:`Built an empire. Still rules from the ledge.`,hint:`All tides lead here.`},clawiestardust:{flavor:`Changes shells. Never changes style.`,hint:`Something electric washed ashore.`},taylorpinch:{flavor:`Turns every tide into an era.`,hint:`Someone is shaking off the sand.`},clawtoodeetoo:{flavor:`Speaks fluent beep. Fixes things anyway.`,hint:`A resourceful little droid.`},leonardodepinchy:{flavor:`Every shell is a canvas.`,hint:`A little Renaissance is washing ashore.`},shellvis:{flavor:`The king of rock and claw.`,hint:`Someone brought blue suede claws.`},alexandergrahamshell:{flavor:`Good ideas ring a bell.`,hint:`A familiar ringing from the shore.`},clawtron:{flavor:`60% rivets, 40% love.`,hint:`Beep boop snip.`},selene:{flavor:`Carries the current moon on its belly.`,hint:`Waxes and wanes.`},geode:{flavor:`Rock outside, amethyst inside.`,hint:`Crack the surface.`},ghost:{flavor:`1 in 100 million, barely there.`,hint:`You'd walk right past it.`},glass:{flavor:`Fully transparent. Nothing to hide.`,hint:`Easy to miss, hard to forget.`},split:{flavor:`Two lobsters, one shell.`,hint:`Can't pick a side.`},sourdough:{flavor:`Started from a starter. 24-hour proof.`,hint:`Still proofing.`},zombie:{flavor:`Slightly used. Still friendly.`,hint:`It's been better.`},plush:{flavor:`Machine washable. Air dry only.`,hint:`Soft to the touch.`},balloon:{flavor:`Do not pop.`,hint:`Handle with care.`},cottoncandy:{flavor:`Pastel, like the famous Maine catch.`,hint:`Sweeter than it looks.`},cryptid:{flavor:`Every photo comes out blurry.`,hint:`Sightings unconfirmed.`},flatpack:{flavor:`Some assembly required.`,hint:`Missing one screw.`},tinfoil:{flavor:`The tide is a psyop.`,hint:`They know.`},actual:{flavor:`An actual lobster. Unsettling, honestly.`,hint:`Anatomically correct.`},disco:{flavor:`Born under a mirror ball.`,hint:`The night is still young.`},chimera:{flavor:`Borrowed parts. No refunds.`,hint:`Something's off.`},blueprint:{flavor:`Final hardware pending approval.`,hint:`Still on the drawing board.`},phosphor:{flavor:`80 columns, 24 rows, one lobster.`,hint:`Hums at sixty hertz.`},ascii:{flavor:`Renders anywhere. Even over SSH.`,hint:`chmod +x`},portal:{flavor:`Arrives before it leaves.`,hint:`Mind the gap.`},notexture:{flavor:`Texture not found.`,hint:`404.`},loading:{flavor:`Still loading. Any second now.`,hint:`…`},eclipse:{flavor:`Do not look directly at it.`,hint:`Once in a blue moon.`},heisenbug:{flavor:`Only renders right when nobody's watching.`,hint:`Cannot be reproduced.`},invisible:{flavor:`It's right there. Look closer.`,hint:`Trust me, it exists.`},pixel:{flavor:`Rendered in 1987. Still runs.`,hint:`Insert coin.`},retro:{flavor:`The original: big claw, no apologies.`,hint:`The one that started it all.`},goldenretro:{flavor:`One in a generation.`,hint:`Worth the wait.`}}})))()}var G,K;function q(){return(q=e((()=>{G=[[{id:`crimson`,shell:`#ff4f40`,claw:`#ff775f`},26],[{id:`blue`,shell:`#4a7dfc`,claw:`#7fa4ff`},7],[{id:`gold`,shell:`#f4b840`,claw:`#f9d47a`},5],[{id:`lumen`,shell:`#1d2f4e`,claw:`#2e4a77`},2],[{id:`magma`,shell:`#241214`,claw:`#3a1d18`},2],[{id:`oilslick`,shell:`#15171d`,claw:`#23262e`},2],[{id:`aurora`,shell:`#dce6f0`,claw:`#e9f0f7`},2],[{id:`nebula`,shell:`#34255c`,claw:`#4a3a7d`},2],[{id:`banana`,shell:`#f7e27d`,claw:`#f3d55b`},2],[{id:`mood`,shell:`var(--accent, #7f77dd)`,claw:`var(--accent-hover, #9a93e8)`},1.5],[{id:`bee`,shell:`#f4c531`,claw:`#2b2b23`},1.5],[{id:`rubberduck`,shell:`#ffd93b`,claw:`#ffb03b`},1.5],[{id:`watermelon`,shell:`#3f9d63`,claw:`#4fb072`},1.5],[{id:`clawnstantine`,shell:`#7546a0`,claw:`#a576c4`},1],[{id:`clawiestardust`,shell:`#f4ddd1`,claw:`#e76545`},1],[{id:`taylorpinch`,shell:`#efcc78`,claw:`#d5485c`},1],[{id:`clawtoodeetoo`,shell:`#e8edf1`,claw:`#3b68c4`},1],[{id:`leonardodepinchy`,shell:`#ddc595`,claw:`#b99161`},1],[{id:`shellvis`,shell:`#f0c49f`,claw:`#4b6694`},1],[{id:`alexandergrahamshell`,shell:`#d7c3a5`,claw:`#aa8759`},1],[{id:`clawtron`,shell:`#8d99a6`,claw:`#a2aeba`},1],[{id:`selene`,shell:`#c9ced8`,claw:`#d8dde5`},1],[{id:`geode`,shell:`#6b6474`,claw:`#7d7588`},1],[{id:`ghost`,shell:`#dce8f2`,claw:`#ecf3fa`},1],[{id:`glass`,shell:`#cfe4f4`,claw:`#e0eef8`},1],[{id:`split`,shell:`#ff4f40`,claw:`#ff775f`},1],[{id:`sourdough`,shell:`#d9a662`,claw:`#e6bc82`},1],[{id:`zombie`,shell:`#9db08a`,claw:`#86a17a`},1],[{id:`plush`,shell:`#e8967a`,claw:`#f2b09a`},1],[{id:`balloon`,shell:`#ff5c8a`,claw:`#ff7ea1`},1],[{id:`cryptid`,shell:`#6e6257`,claw:`#7d7263`},.9],[{id:`flatpack`,shell:`#d9c9a8`,claw:`#d9c9a8`},.9],[{id:`tinfoil`,shell:`#9aa4ad`,claw:`#a8b2bb`},.9],[{id:`actual`,shell:`#a63c28`,claw:`#8f3220`},.9],[{id:`cottoncandy`,shell:`#f6a8c9`,claw:`#a5c6f0`},.8],[{id:`disco`,shell:`#b8c4d8`,claw:`#cbd5e6`},.8],[{id:`chimera`,shell:`#b0685a`,claw:`#b0685a`},.75],[{id:`pixel`,shell:`#d84c3e`,claw:`#ef8f6a`},.7],[{id:`blueprint`,shell:`#123a66`,claw:`#123a66`},.7],[{id:`phosphor`,shell:`#0d2415`,claw:`#0f2b19`},.7],[{id:`ascii`,shell:`var(--lob-ascii-ink, #d8dee6)`,claw:`var(--lob-ascii-ink, #d8dee6)`},.7],[{id:`portal`,shell:`#4a9df8`,claw:`#ff9a2e`},.7],[{id:`notexture`,shell:`#ff00dc`,claw:`#111111`},.65],[{id:`loading`,shell:`#3a4150`,claw:`#454d5e`},.65],[{id:`eclipse`,shell:`#14161d`,claw:`#1d2026`},.65],[{id:`heisenbug`,shell:`#262a33`,claw:`#343945`},.6],[{id:`invisible`,shell:`rgba(127,140,160,0.07)`,claw:`rgba(127,140,160,0.07)`},.55],[{id:`retro`,shell:`#e8262c`,claw:`#f04a3e`},.5],[{id:`goldenretro`,shell:`#e8b422`,claw:`#f6cf5a`},.1]],K=G.map(([e])=>e)})))()}function xt(e){return{palette:e,scale:2,accessory:`none`,antennae:`perky`,spotPct:0,facing:1,personality:`friendly`,blinkDelayS:n(e.id)%36/10,clawSize:`regular`,tailFan:!1,shiny:!1,crusherSide:null,freckles:!1,glint:null,chimeraParts:e.id===`chimera`?X:null}}function St(e){return e.getMonth()===Z.month&&e.getDate()===Z.day}function Ct(e){let t=e.getMonth(),n=e.getDate();return t===11?[[`santa`,18]]:t===9&&n>=20?[[`pumpkin`,18]]:t===8&&n===25?[[`monocle`,24]]:[]}function wt(e,t){let n=_t(e.palette.id);return n===e.palette.id?vt(t):n}function Tt(e){let t=e>>>0;return()=>{t=t+1831565813|0;let e=Math.imul(t^t>>>15,1|t);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296}}function J(e,n){let r=n.reduce((e,[,t])=>e+t,0),i=e()*r;for(let[e,t]of n)if(i-=t,i<=0)return e;return t(n.at(-1),`weighted lobster choice fallback`)[0]}function Y(e,t,n){return t+e()*(n-t)}function Et(e,n=new Date){let r=Tt(e),i=J(r,G),a=J(r,jt),o=J(r,[...kt,...Ct(n)]),s=r()<.6?`perky`:`droopy`,c=r()<.5?`left`:`right`,l=Nt[c],ee=Math.round(Y(r,l[0],l[1])),u=r()<.5?1:-1,d=J(r,At),f=Math.round(Y(r,0,4)*10)/10;r();let p=J(r,Mt),m=r()<.3,te=r()<1/512,h=r(),g=r()<.5?`left`:`right`,_=h<.15?g:null,v=r()<.12,ne=r(),y=$[Math.floor(r()*$.length)]??null,b=ne<.3?y:null,x=Ot.map(e=>t(K.find(t=>t.id===e),`chimera donor palette ${e}`)),S=()=>{let e=Math.floor(r()*x.length);return t(x.splice(e,1)[0],`distinct chimera donor`)},C={body:S().shell,clawLeft:S().shell,clawRight:S().shell,antennae:S().shell},w={palette:i,scale:a,accessory:o,antennae:s,spotPct:ee,facing:u,personality:d,blinkDelayS:f,clawSize:p,tailFan:m,shiny:te,crusherSide:_,freckles:v,glint:b,chimeraParts:i.id===`chimera`?C:null},T=i.id===`clawtron`?{...w,antennae:`perky`}:w;if(i.id===`zombie`&&(T={...w,antennae:`droopy`}),St(n)){let e=G.find(([e])=>e.id===`retro`)?.[0];return{...T,palette:e??i,accessory:`party`,chimeraParts:null}}return T}function Dt(e){let t=e.crusherSide,r=(n(e.palette.id)>>>8)%34/10,i=e.chimeraParts,a=i?K.find(e=>e.shell===i.body)?.claw:void 0,o=n=>t===null?Q[e.clawSize]:t===n?Q.mighty:Q.dainty;return[`--lob-shell:${e.chimeraParts?.body??e.palette.shell}`,`--lob-claw:${a??e.palette.claw}`,`--lob-blink-delay:${e.blinkDelayS}s`,`--lob-breathe-delay:-${r}s`,`--lob-claw-l:${o(`left`)}`,`--lob-claw-r:${o(`right`)}`,...e.chimeraParts?[`--lob-chimera-l:${e.chimeraParts.clawLeft}`,`--lob-chimera-r:${e.chimeraParts.clawRight}`,`--lob-antennae-color:${e.chimeraParts.antennae}`]:[],...e.glint?[`--lob-glint-seed:${e.glint}`]:[]].join(`;`)}var Ot,X,kt,Z,At,jt,Mt,Q,$,Nt;function Pt(){return(Pt=e((()=>{r(),W(),q(),Ot=[`crimson`,`blue`,`gold`,`banana`,`watermelon`],X={body:`#ff4f40`,clawLeft:`#4a7dfc`,clawRight:`#f4b840`,antennae:`#3f9d63`},kt=[[`none`,62],[`sprout`,14],[`patch`,14],[`crown`,10]],Z={month:10,day:24},At=[[`sleepy`,25],[`zoomy`,25],[`friendly`,25],[`showoff`,25]],jt=[[1.7,25],[2,55],[2.5,20]],Mt=[[`regular`,55],[`dainty`,25],[`mighty`,20]],Q={dainty:.85,regular:1,mighty:1.18},$=[`#ffd166`,`#ff8ac2`,`#b79bff`],Nt={left:[12,38],right:[60,84]}})))()}export{v as S,Qe as _,wt as a,$e as b,Y as c,q as d,bt as f,gt as g,et as h,Dt as i,G as l,_t as m,Et as n,Tt as o,W as p,Pt as r,J as s,xt as t,K as u,Ee as v,z as x,Xe as y};