@fungi.computer/prints 0.10.9 → 0.10.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./print-download-button-B6tCroD1.js","./rolldown-runtime-hePW80VL.js","./media-DXNW7KSH.js","./log-event-B3qOOBbh.js"])))=>i.map(i=>d[i]);
2
- import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Ar as t,Pr as n,Rt as r,Sr as i,Xr as a,a as o,c as s,jr as c,l,ot as u,wr as d,zt as f}from"./media-DXNW7KSH.js";import{H as p,Mt as m,Nt as h,Ot as g,Q as _,Tt as ee,U as v,V as te,c as y,et as ne,i as b,kt as x,nt as S,ot as C,r as w,t as re,tt as ie}from"./data-list-iuPAlUl0.js";var ae=s(`Clapperboard`,[[`path`,{d:`M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z`,key:`1tn4o7`}],[`path`,{d:`m6.2 5.3 3.1 3.9`,key:`iuk76l`}],[`path`,{d:`m12.4 3.4 3.1 4`,key:`6hsd6n`}],[`path`,{d:`M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z`,key:`ltgou9`}]]),oe=s(`Link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]),se=s(`Shuffle`,[[`path`,{d:`M2 18h1.4c1.3 0 2.5-.6 3.3-1.7l6.1-8.6c.7-1.1 2-1.7 3.3-1.7H22`,key:`1wmou1`}],[`path`,{d:`m18 2 4 4-4 4`,key:`pucp1d`}],[`path`,{d:`M2 6h1.9c1.5 0 2.9.9 3.6 2.2`,key:`10bdb2`}],[`path`,{d:`M22 18h-5.9c-1.3 0-2.6-.7-3.3-1.8l-.5-.8`,key:`vgxac0`}],[`path`,{d:`m18 14 4 4-4 4`,key:`10pe0f`}]]),T=f(),E={coral:`var(--stipe-art-coral, #ff6558)`,blue:`var(--stipe-art-blue, #43a6f2)`,mint:`var(--stipe-art-mint, #63cfaa)`,grape:`var(--stipe-art-grape, #a66cc1)`,yellow:`var(--stipe-art-yellow, #ffd05d)`,cream:`var(--stipe-art-cream, #fff4de)`,ink:`var(--stipe-art-ink, #242c28)`,graphite:`var(--stipe-art-graphite, #49423f)`,inkcap:`var(--stipe-art-inkcap, #80499d)`},D=`light-dark(var(--stipe-sketch-ink, #242c28), var(--stipe-art-cream, #fff4de))`,ce=`var(--color-base-100, light-dark(#fff4de, #242c28))`;function O({transform:e,fill:t=D}){return(0,T.jsx)(`path`,{transform:e,style:{fill:t},d:`M-1.264-9.479C-2.098-8.643-1.802-1.057-.907-.332.47.782 1.6-.446 1.618-3.075 1.623-3.888 1.691-5.398 1.77-6.429 1.979-9.202 1.596-10 .055-10-.588-10-.843-9.9-1.264-9.479Z`})}function k(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(O,{transform:`translate(25.4 19.8) rotate(-39) scale(.95 .76)`}),(0,T.jsx)(O,{transform:`translate(32.1 17.8) scale(.96 .95)`}),(0,T.jsx)(O,{transform:`translate(38.8 19.9) rotate(39) scale(.95 .77)`})]})}function le(){return(0,T.jsxs)(`g`,{style:{fill:E.blue},children:[(0,T.jsx)(`path`,{d:`M10.574 .604C9.804 1.375 9.867-.885 9.961 22.81 10.054 47.202 9.722 45.378 14.193 45.94 25.813 47.399 38.465 52.211 44.662 57.532 47.653 60.097 48.082 59.411 47.967 52.242L47.734 19.335C47.734 17.523 47.13 16.616 45.964 15.076 40.604 8.018 30.127 2.767 16.804 .462 13.045-.184 11.326-.148 10.574 .604Z`}),(0,T.jsx)(`path`,{d:`M81.571 .746C71.063 2.665 62.221 6.713 56.562 12.199 54.242 14.45 52 17.356 52.115 19.335L52.033 52.628C51.927 59.934 51.979 59.994 55.74 57.091 62.423 51.931 71.272 48.541 84.103 46.221 90.625 45.039 89.967 47.631 90.145 22.432 90.326-3.079 91.148-1 81.571 .746Z`}),(0,T.jsx)(`path`,{d:`M1.906 12.692C.1 13.42 .151 12.804 .151 33.825 .151 54.097 .163 54.302 1.447 55.498 2.71 56.674 3.384 56.81 7.937 56.816 20.943 56.834 30.647 58.293 38.776 61.45 45.964 64.242 46.435 61.924 39.526 57.773 32.296 53.429 26.656 51.544 14.943 49.553 5.958 48.027 6.535 49.414 6.408 29.003 6.32 14.74 6.263 13.103 5.816 12.764 5.254 12.335 2.9 12.293 1.906 12.692Z`}),(0,T.jsx)(`path`,{d:`M94.326 12.858C93.656 13.326 93.656 13.326 93.653 28.492 93.653 48.882 93.997 48.063 84.743 49.556 73.574 51.36 64.45 54.695 57.801 59.405 54.082 62.039 55.384 63.864 59.722 62.1 68.897 58.372 76.363 57.115 90.03 56.994 100.405 56.903 99.489 58.976 99.773 34.976 100.018 14.142 100.006 13.958 98.399 12.979 97.236 12.269 95.251 12.208 94.326 12.858Z`})]})}function A(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M-8.572-25.123C-21.412-23.39-33.235-17.39-44.235-7.027-51.235-.433-51.251 .358-44.524 6.749-20.77 29.316 10.23 31.893 36.364 13.487 41.043 10.187 48.193 3.551 49.235 1.524 50.358-.642 49.471-2.102 43.738-7.497 29.257-21.128 9.968-27.631-8.572-25.123Z`}),(0,T.jsx)(`path`,{style:{fill:E.ink},d:`M-6.225-16.807C-17.727-13.267-21.176 4.433-12.08 13.257-1.118 23.898 16.829 16.102 17.032 .604 17.209-12.412 6.219-20.642-6.225-16.807Z`})]})}function ue(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{style:{fill:E.mint},d:`M540 342C520 340 497 355 477 374C450 399 440 421 456 444C465 458 480 462 492 464C503 466 500 477 494 486C487 500 508 496 522 478L530 468C557 468 578 464 591 451C601 442 599 429 585 427C572 425 556 432 547 418C538 403 550 390 568 385C579 382 589 380 584 368C576 352 557 341 540 342Z`}),(0,T.jsx)(`path`,{style:{fill:E.coral},d:`M589 396C614 380 659 381 683 392C709 404 721 428 710 451C704 464 693 472 685 479C680 487 684 498 689 503C695 514 684 513 675 507C667 502 662 497 657 491C637 496 610 495 594 486C584 480 583 469 595 464C607 460 622 454 622 441C622 428 612 423 597 420C580 417 578 407 589 396Z`})]})}function j({fill:e}){return(0,T.jsx)(`path`,{style:{fill:e},d:`M44.648 .288C26.645 1.615 13.263 8.266 5.942 19.529-4.299 35.277-.917 57.684 13.224 67.784 16.958 70.452 16.936 71.742 13.064 77.665 11.28 80.391 10.895 81.565 11.341 82.914 13.163 88.435 25.022 86.396 36.307 78.62L38.681 76.986 41.294 77.335C45.371 77.878 59.645 77.789 64.125 77.191 89.213 73.837 100.562 61.427 99.92 38.044 99.18 11.1 79.587-2.285 44.648 .288Z`})}function M({onFigure:e=!1}){return(0,T.jsxs)(`g`,{style:{fill:e?ce:E.ink},children:[(0,T.jsx)(`rect`,{x:`-15`,y:`-11`,width:`10`,height:`22`,rx:`5`}),(0,T.jsx)(`rect`,{x:`5`,y:`-11`,width:`10`,height:`22`,rx:`5`})]})}function N(){return(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M18.125 .621C.039 1.574-2.575 4.791 2.264 20.133 17.454 68.284 77.345 69.396 96.119 21.875 100.749 10.154 100.318 4.348 94.605 1.513 91.981 .21 37.878-.421 18.125 .621Z`})}function P(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{style:{fill:E.yellow},d:`M31.42 5.279C29.108 5.983 28.068 6.993 25.817 10.732 24.033 13.687 24.027 13.762 25.58 14.265 30.375 15.821 36.711 20.506 39.938 24.885 42.077 27.788 41.835 27.806 45.281 24.463 48.633 21.213 49.164 20.185 48.982 17.325 48.812 14.643 48.174 13.872 42.68 9.741 36.737 5.273 34.439 4.361 31.42 5.279Z`}),(0,T.jsx)(`path`,{style:{fill:E.yellow},d:`M22.538 16.207C22.093 16.652 19.732 20.231 13.309 30.196 10.737 34.188 10.723 33.911 13.589 35.351 16.461 36.798 19.778 39.28 21.825 41.523L22.6 42.37Q23.34 43.186 24.05 42.538L24.711 41.933C31.278 35.937 38.928 28.484 38.928 28.083 38.928 24.656 24.521 14.219 22.538 16.207Z`}),(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M8.89 38.053C8.203 39.566 6.598 44.473 6.598 45.056 6.598 45.137 6.887 45.125 7.236 45.036 9.655 44.404 13.526 47.475 13.526 50.027 13.526 51.132 13.361 51.164 16.187 49.49 21.421 46.387 21.966 45.665 20.575 43.659 19.002 41.387 14.975 38.238 11.909 36.881 9.799 35.949 9.854 35.926 8.89 38.053Z`}),(0,T.jsx)(`path`,{style:{fill:E.graphite},d:`M6.598 45.056C5.732 46.866 5.155 49.464 6.309 50.907 8.041 53.505 10.928 52.639 13.526 50.907 13.526 48.021 9.978 44.404 7.236 45.036Z`})]})}function F(){return(0,T.jsx)(`path`,{style:{fill:E.coral},d:`M40.804 40.625C38.238 41.462 37.291 41.953 31.169 45.625 15.743 54.871 8.047 56.158 5.879 49.856 5.501 48.754 5.501 48.754 4.843 50.913 1.673 61.302 12.377 61.671 30.386 51.796 39.649 46.719 41.142 46.647 40.81 51.291 40.565 54.775 41.168 56.135 43.486 57.31 49.556 60.387 62.035 54.816 59.605 50.116 58.502 47.983 56.1 47.882 52.163 49.799 47.082 52.273 45.983 51.652 47.998 47.449 50.89 41.416 47.686 38.376 40.804 40.625Z`})}function I({transform:e}){return(0,T.jsx)(`path`,{style:{fill:E.mint},transform:e,d:`M0 0C3 -2 5 -5 5 -8 5 -10.5 3 -12 0 -12S-5 -10.5 -5 -8C-5 -5 -3 -2 0 0Z`})}function L(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{fillRule:`evenodd`,style:{fill:D},d:`M25.3 17.69C14.8 19.34 10.66 20.18 9.05 20.99 5.51 22.78 4.2 27.21 6.71 28.9 7.47 29.42 8.48 29.4 10.25 28.84 12.41 28.15 12.56 27.57 11.02 25.85 10 24.71 10.53 23.62 11.79 24.27 13.9 25.36 15.02 28.98 15.63 36.66 16.18 43.48 17.33 47.43 19.69 50.49 22.76 54.48 27.69 55.73 30.31 53.19 33 50.57 31.24 46.04 28.44 48.38 26.29 50.17 26.16 47.08 28.3 45.14 29.61 43.95 30.78 43.58 38.92 41.75 39.45 41.63 39.41 41.52 38.39 40.01 36.87 37.78 36.04 35.22 34.72 28.69 33.37 22 32.04 19.3 29.5 18.07 28.69 17.68 26.59 17.49 25.3 17.69M24.11 26.51C18.61 27.67 18.16 27.82 17.98 28.55 17.64 29.91 18.54 30.44 20.51 30.05 25.4 29.08 30.11 28.03 30.49 27.83 31.65 27.23 31 25.33 29.66 25.4 29.5 25.4 27 25.91 24.11 26.51M29.2 31.42C28.64 31.54 26.23 32.07 23.85 32.58 20.01 33.41 19.48 33.57 19.15 33.96 18.67 34.5 18.66 35.05 19.12 35.63 19.61 36.26 19.86 36.23 26.05 34.88 29.05 34.23 31.53 33.7 31.57 33.7 31.82 33.7 32.34 32.88 32.34 32.5 32.34 31.25 31.37 30.92 29.2 31.42M29.79 37.19C28.81 37.41 26.45 37.94 24.53 38.37 22.62 38.8 20.84 39.23 20.58 39.33 19.61 39.71 19.35 40.62 19.98 41.41 20.48 42.05 21 41.99 27.59 40.5 33.85 39.09 34.21 38.91 33.45 37.44 33.02 36.61 32.51 36.58 29.79 37.19M45.41 41.95C44.89 42.09 41.61 42.89 38.12 43.73 30.94 45.45 29.81 45.84 31.05 46.15 33.2 46.69 34.11 50.18 32.77 52.76 32.23 53.79 32.23 54.03 32.76 54.16 33.34 54.31 45.35 51.3 46.72 50.67 50.19 49.06 51.76 45.01 49.79 42.76 48.8 41.64 47.46 41.39 45.41 41.95`}),(0,T.jsx)(`path`,{style:{fill:E.grape},d:`M48.21 10.15C47.92 10.41 47.5 11.27 46.96 12.74 45.52 16.61 45.24 16.99 43.01 18.15 39.18 20.15 39.05 20.99 42.28 22.73 45.37 24.39 45.68 24.79 47.12 28.95 48.3 32.32 49.28 32.2 50.65 28.52 52.23 24.25 52.26 24.22 55.2 22.56 57.53 21.24 57.79 21 57.79 20.16 57.79 19.49 57.55 19.31 55.01 18.06 52.16 16.66 52.2 16.72 50.31 11.56 49.7 9.89 49.03 9.44 48.21 10.15M32.59 13.92C31.78 14.73 32.28 15.89 33.58 16.22 35.07 16.6 36.19 17.1 37.17 17.84 38.42 18.77 39.23 18.86 39.79 18.15 39.99 17.9 40.15 17.53 40.15 17.32 40.15 15.29 33.99 12.52 32.59 13.92M42.48 34.38C40.96 35.96 40.65 36.88 41.39 37.57 42.2 38.33 43.36 37.74 44.55 35.95 45.2 34.97 45.22 34.35 44.62 33.88 43.89 33.31 43.41 33.42 42.48 34.38`}),(0,T.jsx)(`path`,{style:{fill:E.yellow},d:`M40.75 25.96C39.69 27.07 38.11 30.69 38.11 31.98 38.11 32.66 38.55 33.19 39.12 33.19 39.8 33.19 40.24 32.73 40.58 31.66 40.95 30.46 41.65 29.09 42.42 28.01 43.77 26.14 42.29 24.32 40.75 25.96M54.85 27.67C54.71 27.81 54.47 28.32 54.31 28.82 53.67 30.76 53.19 31.37 51.67 32.13 50.25 32.85 50.34 33.36 52.04 34.21 53.25 34.82 53.57 35.23 54.24 37.01 54.98 38.98 55.47 39.08 56.03 37.37 56.7 35.32 57.08 34.81 58.64 33.87 60.18 32.95 60.14 32.65 58.38 31.78 57.02 31.11 56.68 30.66 56.02 28.65 55.69 27.64 55.25 27.27 54.85 27.67`})]})}function R(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{fillRule:`evenodd`,style:{fill:D},d:`M42.24 14.07C41.52 14.24 40.53 14.54 35.06 16.26 33.33 16.8 31.2 17.47 30.34 17.74 29.47 18.01 27.86 18.52 26.75 18.88 25.64 19.23 24.03 19.74 23.16 20.01 20.16 20.94 19.45 21.4 18.97 22.71 18.71 23.44 18.45 26.33 17.83 35.41 17.64 38.25 17.44 41.03 17.41 41.58 17.32 42.77 17.24 42.69 18.79 42.84L20.01 42.95 21.98 39.97C24.69 35.88 24.85 35.82 27.05 37.9 27.9 38.7 28.43 39.08 28.61 39.02 28.76 38.96 28.91 38.91 28.94 38.91 28.98 38.91 29.38 38.38 29.84 37.73 30.3 37.08 31.47 35.48 32.43 34.17 33.4 32.86 34.86 30.85 35.67 29.71 36.49 28.56 37.5 27.29 37.91 26.88 39.73 25.07 41.01 26.43 43.32 32.67 43.76 33.84 44.3 35.28 44.52 35.86 44.74 36.44 44.97 37.28 45.04 37.74 45.19 38.71 45.17 38.71 46.63 38.03 47.69 37.53 47.77 37.46 47.68 37.02 47.58 36.52 46.97 30.64 46.79 28.41 46.73 27.69 46.62 26.43 46.53 25.61 46.44 24.79 46.24 22.87 46.09 21.32 45.61 16.44 45.5 15.66 45.22 15.12 44.72 14.15 43.59 13.76 42.24 14.07M29.38 22.45C26.04 23.47 24.49 27.62 26.6 29.91 29.17 32.7 34.15 30.16 34.16 26.05 34.16 23.38 31.9 21.68 29.38 22.45M46.7 41.5C39.3 44.23 28.33 46.04 20.1 45.88L17.21 45.82 17.16 46.88C17.08 48.22 17.33 49.03 18.01 49.68 18.73 50.37 19.73 50.35 23.77 49.53 25.46 49.19 29.12 48.47 31.91 47.93 46.31 45.14 46.9 44.99 47.57 43.91 47.95 43.3 48.25 41.29 47.99 41.15 47.91 41.11 47.33 41.26 46.7 41.5`}),(0,T.jsx)(`path`,{style:{fill:E.coral},d:`M29.72 22.45C25.84 23.34 24.28 28.36 27.25 30.42 29.34 31.88 32.91 30.43 33.83 27.75 34.92 24.55 32.75 21.76 29.72 22.45`}),(0,T.jsx)(`path`,{style:{fill:E.mint},d:`M12.96 14.29C12.87 14.41 12.7 15.03 12.58 15.68 12.37 16.82 11.59 18.26 11.18 18.26 11.08 18.26 10.88 18.46 10.72 18.7 10.36 19.25 10.59 19.58 11.45 19.74 12.18 19.88 13.08 20.63 13.54 21.49 14.23 22.76 14.75 22.53 15.15 20.79 15.39 19.71 15.51 19.51 16.4 18.66 17.54 17.58 17.51 17.36 16.18 16.85 15.16 16.47 14.84 16.19 14.14 15.1 13.56 14.2 13.22 13.96 12.96 14.29M49.04 24.13C48.56 24.86 48.91 25.31 50.59 26.09 53.89 27.64 54.85 29.82 53.45 32.6 52.01 35.43 46.84 38.54 40.51 40.39 39.73 40.62 38.88 40.89 38.62 40.99 37.24 41.52 30.85 42.64 27.54 42.93 20.72 43.52 13.63 42.49 10.57 40.46 5.81 37.3 7.51 32.32 14.74 28.24 15.84 27.61 16.17 27.1 15.9 26.4 15.66 25.78 15.35 25.84 13.19 26.94 6 30.61 2.97 35.32 4.95 39.74 7.86 46.21 22.78 47.8 40.05 43.46 51.97 40.47 58.57 36.38 59.47 31.43 60.09 27.97 57.74 25.34 52.93 24.12 50.6 23.53 49.43 23.54 49.04 24.13`}),(0,T.jsx)(`path`,{style:{fill:E.grape},d:`M34.82 8.91C33.48 10.04 34.21 12.14 35.94 12.14 37.29 12.14 38.18 10.99 37.77 9.77 37.36 8.53 35.81 8.08 34.82 8.91M53.15 43.16C53 43.28 52.74 43.86 52.57 44.45 52.18 45.78 51.76 46.32 50.64 46.93 49.52 47.53 49.45 47.89 50.33 48.34 51.34 48.85 52.24 49.95 52.56 51.04 53.13 53.01 53.6 53 54.21 50.99 54.61 49.69 55.13 48.93 55.91 48.54 57.17 47.91 57.23 47.51 56.15 46.96 55.23 46.49 54.67 45.76 54.23 44.44 53.8 43.15 53.54 42.84 53.15 43.16M24.18 53.18C22.45 53.9 22.87 56.59 24.71 56.59 26.79 56.59 27.2 53.67 25.2 53.09 24.89 53.01 24.51 53.04 24.18 53.18`}),(0,T.jsx)(`path`,{style:{fill:E.yellow},d:`M51.76 11.04C51.21 12.77 50.56 13.61 49.24 14.34 48.6 14.69 48.72 15.07 49.59 15.48 50.54 15.93 51.11 16.69 51.62 18.22 52.06 19.57 52.26 19.54 52.79 18.08 53.29 16.69 53.87 15.91 54.86 15.31 55.76 14.77 55.77 14.48 54.92 14.02 53.91 13.46 53.5 12.99 52.89 11.66 52.23 10.21 52.06 10.12 51.76 11.04M11.06 48.22C10.99 48.35 10.71 48.88 10.46 49.41 9.95 50.48 9.45 50.99 8.59 51.33 7.89 51.61 7.85 52.1 8.52 52.37 9.51 52.79 10.3 53.85 10.89 55.58 11.09 56.18 11.48 55.88 11.87 54.84 12.24 53.87 13.33 52.56 13.79 52.56 14 52.56 14.5 52.06 14.5 51.85 14.5 51.77 14.19 51.54 13.81 51.34 12.98 50.92 12.36 50.14 11.93 48.99 11.6 48.09 11.31 47.83 11.06 48.22`})]})}function z(){return(0,T.jsxs)(`g`,{transform:`translate(2 8) scale(.114) translate(-125 -122)`,children:[(0,T.jsx)(`path`,{style:{fill:E.coral},d:`M278 155 482 123C517 117 527 135 530 167L542 309Q543 329 561 341L631 404Q649 419 646 444 645 465 623 472L407 521Q374 531 345 519L156 436Q115 418 128 375L221 191Q238 163 278 155Z`}),(0,T.jsx)(`path`,{style:{fill:E.ink},d:`M317 183 461 161Q493 155 497 188L504 288Q508 320 478 326L318 356Q289 362 286 331L281 226Q278 194 317 183Z`}),(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M304 386 553 340Q562 337 570 346L631 404Q649 419 646 444Q645 448 629 452L411 483Q382 492 367 474Z`}),(0,T.jsxs)(`g`,{style:{fill:E.cream},children:[(0,T.jsx)(`rect`,{x:`319`,y:`236`,width:`26`,height:`59`,rx:`13`}),(0,T.jsx)(`rect`,{x:`364`,y:`229`,width:`26`,height:`59`,rx:`13`})]}),(0,T.jsxs)(`g`,{style:{fill:E.ink},transform:`rotate(-11 470 411)`,children:[(0,T.jsx)(`rect`,{x:`369`,y:`380`,width:`61`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`444`,y:`380`,width:`61`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`518`,y:`380`,width:`57`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`392`,y:`421`,width:`58`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`462`,y:`421`,width:`65`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`539`,y:`421`,width:`58`,height:`25`,rx:`13`})]})]})}function B(){return(0,T.jsxs)(`g`,{transform:`translate(3 10) scale(.114) translate(-760 -140)`,children:[(0,T.jsx)(`path`,{style:{fill:E.blue},d:`M1226 153C1257 153 1273 195 1267 231Q1263 265 1237 268L1176 270V215C1176 178 1195 153 1226 153Z`}),(0,T.jsx)(`path`,{style:{fill:E.blue},d:`M824 376Q908 372 871 400C842 427 866 442 902 450L1113 480Q1188 479 1199 392C1207 447 1204 497 1163 511Q1134 521 1097 516C1055 510 991 507 957 507S869 511 826 512C781 513 758 483 760 441Q760 385 824 376Z`}),(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M824 376 857 184Q864 133 911 141C1039 169 1124 151 1226 153Q1179 159 1184 241L1199 377C1202 434 1174 482 1117 480L902 450C864 445 849 429 871 400Q908 372 824 376Z`}),(0,T.jsxs)(`g`,{style:{fill:E.coral},children:[(0,T.jsx)(`path`,{d:`M982 198C1008 190 1030 197 1028 220L1023 265Q1020 295 1000 279C981 261 951 223 963 210Q970 202 982 198Z`}),(0,T.jsx)(`path`,{d:`M1063 220C1077 215 1100 237 1102 251Q1107 267 1084 282L1063 295Q1037 307 1040 278L1045 245Q1049 224 1063 220Z`}),(0,T.jsx)(`path`,{d:`M911 252C925 240 939 254 957 269L978 291Q995 311 961 316C938 318 907 316 898 308Q884 296 911 252Z`}),(0,T.jsx)(`path`,{d:`M1106 289Q1127 281 1134 304C1142 327 1146 352 1125 350Q1097 348 1073 335C1051 324 1072 311 1084 302Z`}),(0,T.jsx)(`path`,{d:`M927 338C946 334 972 334 985 343Q1004 353 984 384C970 408 957 418 940 403C922 389 896 356 913 345Z`}),(0,T.jsx)(`path`,{d:`M1010 375Q1025 363 1037 384C1049 407 1064 438 1044 442Q1025 448 1002 436C984 428 991 410 997 393Z`}),(0,T.jsx)(`path`,{d:`M1068 357C1084 359 1110 376 1120 389Q1130 402 1107 419C1090 432 1082 418 1073 401C1062 383 1043 355 1068 357Z`}),(0,T.jsx)(`path`,{d:`M1018 311C1037 312 1050 334 1034 343C1018 351 998 337 1005 320Q1009 311 1018 311Z`})]})]})}function V(){return(0,T.jsxs)(`g`,{transform:`translate(2 7) scale(.11) translate(-1380 -96)`,children:[(0,T.jsx)(`path`,{style:{fill:E.inkcap},d:`M1384 276C1394 238 1445 200 1497 158C1547 119 1604 97 1647 97C1690 97 1720 109 1745 138C1772 170 1791 184 1833 194C1870 201 1919 220 1922 257C1923 307 1891 339 1853 336C1801 335 1767 299 1701 294C1666 291 1620 294 1642 303Q1670 307 1675 333C1681 367 1697 389 1717 413C1735 434 1738 443 1719 464C1700 485 1692 502 1686 520Q1682 541 1653 541L1626 541Q1598 541 1594 519C1590 495 1578 474 1563 458C1545 440 1544 429 1559 410C1585 377 1608 337 1572 326C1554 320 1529 333 1506 340C1461 356 1428 357 1402 340Q1371 319 1384 276Z`}),(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M1634 362Q1641 346 1649 362C1660 390 1676 404 1705 424Q1721 435 1704 453C1685 475 1677 490 1671 513Q1670 526 1653 525L1626 525Q1611 525 1610 513C1606 492 1592 465 1575 449Q1562 437 1577 424C1604 404 1620 390 1634 362Z`}),(0,T.jsx)(`path`,{style:{fill:E.inkcap},d:`M1634 456A18 18 0 1 1 1648 456V492Q1648 500 1641 500T1634 492Z`}),(0,T.jsx)(`path`,{style:{fill:E.inkcap},d:`M1780 391Q1786 386 1793 396C1810 420 1828 444 1827 467C1826 508 1768 510 1753 480C1741 456 1762 413 1780 391Z`})]})}var{coral:H,blue:U,mint:W,grape:G,yellow:K,cream:q,ink:J}=E,de={bonsai:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:`none`,stroke:W,strokeWidth:`3.7`,strokeLinecap:`round`,d:`M35 27.5C36 25 35.5 22.5 34 21S31.5 17.5 31.5 14M36 27C40 26.8 43 26 45 24S47 20.5 47.5 18.5M30.5 31C32.5 26.5 30.5 24.6 26.5 24 22 23.5 18.5 21.6 16.8 18.5M29 37C26.5 34.5 25 33.7 21.5 33.2S15.5 32 13 31.6M36 39.5C38 38 40 37.5 42 36.5S47 34 51 32.2`}),(0,T.jsx)(`path`,{fill:W,d:`M25.5 43.5C28 40.5 28 37 27.5 33 27.3 29.5 29.5 27 33.5 26.3L37.5 26V29.5C35 29.8 34.2 31.5 34.3 34 34.5 37.5 37 39.5 41 43.5Z`}),(0,T.jsx)(`circle`,{fill:U,cx:`31.5`,cy:`10.7`,r:`4.8`}),(0,T.jsx)(`circle`,{fill:G,cx:`16.6`,cy:`18.3`,r:`4.6`}),(0,T.jsx)(`circle`,{fill:K,cx:`47.9`,cy:`17.7`,r:`4.6`}),(0,T.jsx)(`circle`,{fill:K,cx:`12.8`,cy:`31.5`,r:`4.6`}),(0,T.jsx)(`circle`,{fill:U,cx:`50.9`,cy:`32.1`,r:`4.6`}),(0,T.jsx)(`path`,{fill:H,d:`M16 46H47.5C47.5 54 44 58 38 58H25.5C19.5 58 16 54 16 46Z`}),(0,T.jsx)(`rect`,{fill:H,x:`14`,y:`43`,width:`35.5`,height:`4.6`,rx:`2.3`})]}),computer:(0,T.jsx)(z,{}),prints:(0,T.jsx)(B,{}),inkcap:(0,T.jsx)(V,{}),vishnu:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{style:{fill:H},d:`M6 37C6 21 17.5 9 32 9s26 12 26 28c0 2.2-1.8 4-4 4H10c-2.2 0-4-1.8-4-4Z`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`19`,cy:`25`,r:`4`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`33`,cy:`19.5`,r:`4.8`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`46`,cy:`28`,r:`3.4`}),(0,T.jsx)(`rect`,{style:{fill:U},x:`13`,y:`39`,width:`38`,height:`18`,rx:`9`}),(0,T.jsx)(`rect`,{style:{fill:q},x:`18.5`,y:`46.2`,width:`10`,height:`3.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{style:{fill:q},x:`21.7`,y:`43`,width:`3.6`,height:`10`,rx:`1.8`}),(0,T.jsx)(`circle`,{style:{fill:K},cx:`39`,cy:`50.5`,r:`2.7`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`45`,cy:`45.5`,r:`2.7`})]}),generateText:(0,T.jsx)(L,{}),generateMedia:(0,T.jsx)(R,{}),buyApps:(0,T.jsxs)(`g`,{transform:`rotate(-6 32 32)`,children:[(0,T.jsx)(`circle`,{fill:K,cx:`32`,cy:`20`,r:`12`}),(0,T.jsx)(`circle`,{stroke:q,strokeWidth:`4`,cx:`32`,cy:`20`,r:`6`}),(0,T.jsx)(O,{fill:K,transform:`translate(15.5 12) rotate(-60) scale(1.1 .85)`}),(0,T.jsx)(O,{fill:K,transform:`translate(48.5 12) rotate(60) scale(1.1 .85)`}),(0,T.jsx)(`path`,{fill:U,d:`M10 35H54L50 53Q49 58 44 58H20Q15 58 14 53Z`}),(0,T.jsx)(`rect`,{fill:H,x:`5`,y:`27`,width:`54`,height:`10`,rx:`5`}),(0,T.jsxs)(`g`,{fill:q,children:[(0,T.jsx)(`rect`,{x:`20`,y:`41`,width:`5`,height:`11`,rx:`2.5`}),(0,T.jsx)(`rect`,{x:`29.5`,y:`41`,width:`5`,height:`11`,rx:`2.5`}),(0,T.jsx)(`rect`,{x:`39`,y:`41`,width:`5`,height:`11`,rx:`2.5`})]})]}),browseBazaar:(0,T.jsxs)(`g`,{transform:`rotate(-5 32 32)`,children:[(0,T.jsx)(`rect`,{fill:U,x:`10`,y:`14`,width:`44`,height:`38`,rx:`6`}),(0,T.jsx)(`rect`,{fill:U,x:`5`,y:`47`,width:`54`,height:`12`,rx:`6`}),(0,T.jsx)(`rect`,{fill:q,x:`12`,y:`50.5`,width:`40`,height:`4.5`,rx:`2.25`}),(0,T.jsx)(`rect`,{fill:H,x:`2`,y:`4`,width:`60`,height:`9`,rx:`4.5`}),(0,T.jsx)(`path`,{fill:H,d:`M3 9H14.6V18A5.8 5.8 0 0 1 3 18Z`}),(0,T.jsx)(`path`,{fill:q,d:`M14.6 9H26.2V18A5.8 5.8 0 0 1 14.6 18Z`}),(0,T.jsx)(`path`,{fill:H,d:`M26.2 9H37.8V18A5.8 5.8 0 0 1 26.2 18Z`}),(0,T.jsx)(`path`,{fill:q,d:`M37.8 9H49.4V18A5.8 5.8 0 0 1 37.8 18Z`}),(0,T.jsx)(`path`,{fill:H,d:`M49.4 9H61V18A5.8 5.8 0 0 1 49.4 18Z`}),(0,T.jsx)(`g`,{transform:`translate(32 36.5) scale(.34)`,children:(0,T.jsx)(A,{})})]}),agent:(0,T.jsxs)(`g`,{transform:`translate(32 33) scale(2.02) translate(-47.2 -41.8)`,children:[(0,T.jsx)(`path`,{fill:U,d:`M46.666 29.533C39.623 30.116 34.627 34.849 34.603 40.96 34.585 45.387 36.412 47.971 40.602 49.445 42.036 49.95 42.076 50.049 41.491 51.666 40.968 53.111 41.167 53.761 42.201 53.988 43.463 54.265 46.679 52.293 47.929 50.475 48.134 50.178 48.268 50.13 49.332 49.977 56.938 48.882 60.956 43.889 59.582 37.237 58.622 32.59 53.42 29.07 48.034 29.424 47.904 29.432 47.289 29.482 46.666 29.533Z`}),(0,T.jsx)(`g`,{transform:`translate(47.3 40) scale(.36 .34)`,children:(0,T.jsx)(M,{})})]}),list:(0,T.jsxs)(`g`,{transform:`rotate(-7 32 32)`,children:[(0,T.jsx)(`path`,{style:{fill:U},d:`M12 13Q6 13 6 19V50Q6 57 13 57H47Q53 57 53 50V20Q53 13 47 13Z`}),(0,T.jsx)(`path`,{style:{fill:q},d:`M19 7H39Q42 7 44 9L55 20Q57 22 57 26V44Q57 50 51 50H19Q13 50 13 44V13Q13 7 19 7Z`}),(0,T.jsx)(`path`,{style:{fill:H},d:`M39 7V18Q39 24 45 24H57Q57 22 55 20L44 9Q42 7 39 7Z`}),(0,T.jsxs)(`g`,{style:{fill:H},children:[(0,T.jsx)(`circle`,{cx:`22`,cy:`21`,r:`3`}),(0,T.jsx)(`circle`,{cx:`22`,cy:`31`,r:`3`}),(0,T.jsx)(`circle`,{cx:`22`,cy:`41`,r:`3`})]}),(0,T.jsx)(`path`,{style:{stroke:U},strokeWidth:`5`,strokeLinecap:`round`,d:`M31 21H32M31 31H46M31 41H42`})]}),chat:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`g`,{transform:`translate(3 11) scale(.22) translate(-449 -327)`,children:(0,T.jsx)(ue,{})}),(0,T.jsx)(O,{transform:`translate(38.2 18) rotate(16) scale(.95 .6)`}),(0,T.jsx)(O,{transform:`translate(44.4 20.5) rotate(47) scale(.95 .6)`})]}),read:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`g`,{transform:`translate(4 20.5) scale(.56)`,children:(0,T.jsx)(le,{})}),(0,T.jsx)(`g`,{transform:`translate(32 38.6) scale(.3164)`,children:(0,T.jsx)(A,{})}),(0,T.jsx)(k,{})]}),readConversations:(0,T.jsxs)(`g`,{transform:`translate(32 32) scale(.9) translate(-32 -32)`,children:[(0,T.jsx)(`g`,{transform:`translate(4 7.88) scale(.56)`,children:(0,T.jsx)(j,{fill:U})}),(0,T.jsx)(`g`,{transform:`translate(32.2 30.3) scale(.352)`,children:(0,T.jsx)(A,{})})]}),listAgents:(0,T.jsxs)(`g`,{transform:`translate(32 32) scale(1.04) translate(-32 -32)`,children:[(0,T.jsx)(`path`,{style:{fill:D},d:`M32.059 10.146C23.878 10.646 18.949 14.844 18.925 21.331 18.912 24.856 20.167 27.259 22.274 27.74 24.437 28.233 26.097 29.061 27.481 30.337 28.275 31.068 28.328 31.096 29.352 31.306 31.161 31.677 31.653 32.094 32.115 33.651 32.392 34.582 32.557 34.868 32.915 35.041 33.919 35.523 35.864 33.733 36.539 31.706L36.775 30.997 38.008 30.681C42.663 29.489 45.29 26.142 45.468 21.176 45.734 13.784 40.673 9.62 32.059 10.146Z`}),(0,T.jsx)(`g`,{transform:`translate(32.4 21.2) scale(.39)`,children:(0,T.jsx)(M,{onFigure:!0})}),(0,T.jsx)(`path`,{style:{fill:H},d:`M14.375 27.586C8.014 28.591 4.363 32.396 4.355 38.027 4.347 43.93 8.071 47.469 15.239 48.368L16.828 48.568 17.873 49.568C19.854 51.464 22.469 52.496 23.691 51.864 24.384 51.506 24.431 51.044 23.924 49.606 23.337 47.943 23.479 47.492 24.749 46.977 32.756 43.73 32.643 31.899 24.573 28.49 22.238 27.504 17.535 27.087 14.375 27.586Z`}),(0,T.jsx)(`g`,{transform:`translate(17.6 37.7) scale(.38 .36)`,children:(0,T.jsx)(M,{})}),(0,T.jsx)(`path`,{style:{fill:U},d:`M46.666 29.533C39.623 30.116 34.627 34.849 34.603 40.96 34.585 45.387 36.412 47.971 40.602 49.445 42.036 49.95 42.076 50.049 41.491 51.666 40.968 53.111 41.167 53.761 42.201 53.988 43.463 54.265 46.679 52.293 47.929 50.475 48.134 50.178 48.268 50.13 49.332 49.977 56.938 48.882 60.956 43.889 59.582 37.237 58.622 32.59 53.42 29.07 48.034 29.424 47.904 29.432 47.289 29.482 46.666 29.533Z`}),(0,T.jsx)(`g`,{transform:`translate(47.3 40) scale(.36 .34)`,children:(0,T.jsx)(M,{})})]}),createAgents:(0,T.jsxs)(`g`,{transform:`translate(32 32) scale(1.08) translate(-32 -32)`,children:[(0,T.jsx)(`path`,{style:{fill:D},d:`M20.436 24.499C13.35 25.216 7.504 28.799 5.442 33.687 3.114 39.208 4.438 45.791 8.593 49.358 10.446 50.949 10.34 50.831 10.34 51.301 10.34 51.796 10.106 52.294 9.281 53.558 7.191 56.76 12.108 56.905 16.701 53.777 17.517 53.221 17.715 53.135 18.015 53.201 20.013 53.639 25.739 53.051 28.595 52.113 35.47 49.857 39.129 44.162 37.83 37.738C37 31 33 26 26.717 24.428L24.075 24.413C22.623 24.405 20.985 24.444 20.436 24.499Z`}),(0,T.jsx)(`g`,{transform:`translate(21.9 40) scale(.46 .43)`,children:(0,T.jsx)(M,{onFigure:!0})}),(0,T.jsx)(`path`,{style:{fill:W},d:`M37.987 15.734C32.277 16.627 28.675 20.713 28.92 26.022 29.062 29.118 30.627 31.606 33.331 33.036 34.675 33.747 34.761 34.018 34.237 35.923 33.376 39.051 36.878 38.551 39.174 35.218 39.574 34.637 39.65 34.583 40.058 34.583 46.203 34.583 50.414 30.91 50.424 25.543 50.435 18.989 44.932 14.649 37.987 15.734Z`}),(0,T.jsx)(`g`,{transform:`translate(38.9 24.9) scale(.31)`,children:(0,T.jsx)(M,{})}),(0,T.jsx)(O,{fill:K,transform:`translate(48.1 15.7) rotate(31) scale(1.25 .85)`}),(0,T.jsx)(O,{fill:K,transform:`translate(52.2 19.8) rotate(70) scale(1.25 .85)`})]}),sendPrompts:(0,T.jsxs)(`g`,{transform:`translate(32 32) scale(1.08) translate(-32 -32)`,children:[(0,T.jsx)(`g`,{transform:`translate(4 13.2) scale(.412 .436)`,children:(0,T.jsx)(j,{fill:H})}),(0,T.jsx)(`g`,{transform:`translate(17.1 28.7) scale(.19)`,children:(0,T.jsx)(N,{})}),(0,T.jsx)(O,{fill:W,transform:`translate(48.1 26.4) rotate(65) scale(1.7 1.28)`}),(0,T.jsx)(O,{fill:W,transform:`translate(48.4 33.8) rotate(110) scale(1.7 1.28)`})]}),write:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(P,{}),(0,T.jsx)(F,{})]}),run:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{style:{fill:U},x:`6`,y:`9`,width:`52`,height:`43`,rx:`7`}),(0,T.jsx)(`path`,{style:{stroke:q},strokeWidth:`5`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`m17 22 9 8-9 8m17 0h12`})]}),connected:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:`none`,style:{stroke:U},strokeWidth:`12`,strokeLinecap:`round`,d:`M34 37Q43 21 26 20H18Q3 20 6 37q2 10 15 9`}),(0,T.jsx)(`path`,{fill:`none`,style:{stroke:H},strokeWidth:`12`,strokeLinecap:`round`,d:`M29 33Q20 50 38 53h8q16-1 12-17-2-11-14-10`}),(0,T.jsx)(`path`,{style:{stroke:K},strokeWidth:`4`,strokeLinecap:`round`,d:`m27 4 2 6m10-5-2 7m12 0-5 4`})]}),working:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`ellipse`,{style:{fill:W},cx:`23`,cy:`14`,rx:`13`,ry:`8`,transform:`rotate(-30 23 14)`}),(0,T.jsx)(`ellipse`,{style:{fill:K},cx:`48`,cy:`36`,rx:`13`,ry:`8`,transform:`rotate(35 48 36)`}),(0,T.jsx)(`ellipse`,{style:{fill:G},cx:`22`,cy:`48`,rx:`13`,ry:`8`,transform:`rotate(45 22 48)`}),(0,T.jsx)(`path`,{fill:`none`,style:{stroke:D},strokeWidth:`3`,strokeLinecap:`round`,d:`M42 8q13 2 13 13M43 55q-5 5-12 4M5 39q-5-9 1-17`})]}),complete:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{style:{fill:W},d:`M32 6q5-8 10 0 9-3 10 6 9 2 5 11 8 6 0 12 3 9-6 11-1 9-10 6-6 8-12 0-9 3-11-6-9-2-6-11-8-6 0-12-3-9 6-11 1-9 10-6Z`}),(0,T.jsx)(`path`,{fill:`none`,style:{stroke:J},strokeWidth:`6`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`m23 29 7 7 13-15`}),(0,T.jsx)(`path`,{style:{stroke:D},strokeWidth:`3`,strokeLinecap:`round`,d:`m4 8 5 6m48-4 5-5M2 24l6 1`})]}),installApps:(0,T.jsxs)(`g`,{transform:`rotate(-6 32 32)`,children:[(0,T.jsx)(`rect`,{style:{fill:U},x:`9`,y:`26`,width:`46`,height:`32`,rx:`10`}),(0,T.jsx)(`rect`,{style:{fill:q},x:`17`,y:`33`,width:`30`,height:`18`,rx:`5`}),(0,T.jsx)(`path`,{style:{fill:W},d:`M22 38h8v8h-8z`}),(0,T.jsx)(`path`,{style:{fill:G},d:`M34 38h8v8h-8z`}),(0,T.jsx)(`path`,{style:{stroke:H},strokeWidth:`6`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`M32 4v17m-8-7 8 8 8-8`})]}),restricted:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:`none`,style:{stroke:H},strokeWidth:`9`,strokeLinecap:`round`,d:`M16 23V19q0-17 16-17t16 17v4`}),(0,T.jsx)(`rect`,{style:{fill:H},x:`8`,y:`26`,width:`48`,height:`36`,rx:`9`}),(0,T.jsx)(`path`,{style:{fill:q},d:`M32 34a7 7 0 0 0-4 13v7h8v-7a7 7 0 0 0-4-13Z`})]}),error:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{style:{fill:H},d:`M32 6q5-8 10 0 9-3 10 6 9 2 5 11 8 6 0 12 3 9-6 11-1 9-10 6-6 8-12 0-9 3-11-6-9-2-6-11-8-6 0-12-3-9 6-11 1-9 10-6Z`}),(0,T.jsx)(`path`,{fill:`none`,style:{stroke:q},strokeWidth:`7`,strokeLinecap:`round`,d:`M32 18v15`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`32`,cy:`45`,r:`4`})]}),trellis:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`g`,{fill:K,children:[(0,T.jsx)(`rect`,{x:`17.25`,y:`9`,width:`3.9`,height:`49.2`,rx:`1.95`}),(0,T.jsx)(`rect`,{x:`42.95`,y:`9`,width:`3.9`,height:`49.2`,rx:`1.95`}),(0,T.jsx)(`rect`,{x:`30.4`,y:`18`,width:`3.2`,height:`26`}),(0,T.jsx)(`rect`,{x:`14.8`,y:`15.75`,width:`34.4`,height:`3.1`,rx:`1.55`}),(0,T.jsx)(`rect`,{x:`14.8`,y:`28.85`,width:`34.4`,height:`3.1`,rx:`1.55`}),(0,T.jsx)(`rect`,{x:`14.8`,y:`42.55`,width:`34.4`,height:`3.1`,rx:`1.55`})]}),(0,T.jsx)(`path`,{fill:`none`,stroke:W,strokeWidth:`3`,strokeLinecap:`round`,d:`M21.9 56.1C31.5 54.4 32.9 47 32.1 45.8`}),(0,T.jsx)(`path`,{fill:`none`,stroke:W,strokeWidth:`3`,strokeLinecap:`round`,d:`M32 44.2C28.7 41.8 25.2 35.7 32 32.3 38.8 28 38.9 24 31.9 18.8 32.4 16.3 32.8 14.7 34.5 12.2`}),(0,T.jsx)(I,{transform:`translate(32.1 14.1) rotate(45) scale(0.45 0.86)`}),(0,T.jsx)(I,{transform:`translate(32.2 14.7) rotate(-60) scale(0.42 0.58)`}),(0,T.jsx)(I,{transform:`translate(34.8 28.3) rotate(65) scale(0.38 0.8)`}),(0,T.jsx)(I,{transform:`translate(28.2 33.1) rotate(-51) scale(0.5 0.57)`}),(0,T.jsx)(I,{transform:`translate(28.6 53.3) rotate(-48) scale(0.47 0.6)`}),(0,T.jsx)(`circle`,{fill:H,cx:`31.9`,cy:`18.8`,r:`4`}),(0,T.jsx)(`circle`,{fill:U,cx:`32`,cy:`32.3`,r:`4`}),(0,T.jsx)(`circle`,{fill:G,cx:`32`,cy:`44.2`,r:`4`})]}),games:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:U,d:`M18.5 28.5H45.5C49.5 29.5 53 32 54 35 55 37.5 56.8 45.5 56.6 48 56.5 53 52.5 57.5 47 58H15C9.5 56.5 6.6 51 7.6 45.5 8.6 39.5 9.3 35 10.5 33 12 31 14.5 29.5 18.5 28.5Z`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`26.8`,cy:`37.9`,rx:`9.1`,ry:`5.6`}),(0,T.jsx)(`ellipse`,{fill:J,cx:`27`,cy:`37.6`,rx:`4.7`,ry:`2.2`}),(0,T.jsx)(`path`,{fill:J,d:`M23.1 26V35.4A4 4.2 0 0 0 31.1 35.4V26Z`}),(0,T.jsx)(`circle`,{fill:H,cx:`27.1`,cy:`18.3`,r:`12.4`}),(0,T.jsx)(`circle`,{fill:q,cx:`22.6`,cy:`14.3`,r:`3.05`}),(0,T.jsx)(`ellipse`,{fill:K,cx:`45.1`,cy:`37.2`,rx:`5.6`,ry:`3.95`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`40.1`,cy:`46.6`,rx:`6.2`,ry:`4.4`})]}),oyster:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:G,d:`M35.5 6C33.7 6.3 32.3 7.6 31.4 9.4 30.9 10.3 30.4 10.3 29.5 10 25.5 9 20.6 11.6 19.6 15.9 19.4 16.6 19 17 18 17.1 14.5 17.6 12 20.6 12.1 24.2 12.2 25.4 12 25.9 11.5 26.5 7.5 30 10.5 34.5 17.5 34.4 15.3 32.6 16 31 19 29 26 24 37 19.5 43.5 19 46 19 46 22 43 25.5 46.5 23.5 51.5 18.5 53.5 15 55 11 50 7 45 9 43.8 9.4 43.3 9.2 42.5 8 40.7 6.3 38 5.6 35.5 6Z`}),(0,T.jsx)(`circle`,{fill:q,cx:`34.9`,cy:`41.9`,r:`11.3`}),(0,T.jsxs)(`g`,{fill:J,children:[(0,T.jsx)(`rect`,{x:`29.9`,y:`33.2`,width:`3.2`,height:`5.6`,rx:`1.6`}),(0,T.jsx)(`rect`,{x:`36.7`,y:`33.2`,width:`3.2`,height:`5.6`,rx:`1.6`})]}),(0,T.jsx)(`path`,{fill:G,d:`M49.5 39C47.9 39.3 46.5 40 46.1 41.6 45.8 43.2 45.5 43.5 44 43.5 38.5 43.5 35 48 39 49.5 40 50 39.5 50.5 38 51 35.5 52.5 32.5 52 30 51 29 50.5 28.5 50 29.5 50 33 47.5 30 43.5 24.5 43.5 23.3 43.5 22.9 43.3 22.5 43 20.5 40.5 19 40 17.5 39.5 13 39.5 13 44 17 47.5 18.3 48.4 18.6 48.7 19 49.5 20.5 53 23 55 26 55 26.8 55 27 55.3 27.5 56 31 58.5 36.5 58.5 40 56 40.8 55.2 41.2 55 42 55 45 55 47.5 53 49 49.5 49.6 48.5 50 48 50.5 47.5 56 43.5 55 38.5 49.5 39Z`}),(0,T.jsx)(`path`,{fill:`none`,stroke:K,strokeWidth:`3`,strokeLinecap:`round`,d:`M46.6 31.8 49.2 27.8 M49.4 35.5 52.8 33.7 M21.5 32.5 22.9 33.5 M19.3 37.5 21.1 38.1`})]}),tourtois:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{fill:q,x:`11.07`,y:`35.73`,width:`26.8`,height:`9.7`,rx:`3.25`,transform:`rotate(-5 24.47 40.58)`}),(0,T.jsx)(`path`,{fill:K,d:`M14.8 16C19 14.6 23 13.5 26.5 12.6 28.4 12.1 29.6 13.4 30.1 15.3L31.6 21 17.4 37.6C13.8 38.2 10.6 37.8 10.1 35.4L9.2 27.8C9.1 26.1 10.1 24.7 11.6 24.1 11.4 22.4 11.4 20.6 11.8 19.1 12.3 17.4 13.3 16.5 14.8 16Z`}),(0,T.jsx)(`path`,{fill:H,d:`M14.0 24.1Q13.3 21.2 16.2 20.4L30.7 16.2Q33.6 15.4 34.6 18.2L36.0 22.7Q37.0 25.5 34.7 27.4L20.2 39.7Q17.9 41.6 17.2 38.7Z`}),(0,T.jsx)(`path`,{fill:U,d:`M21 23.4 35.5 20.6C37.3 20.2 38.6 21 38.9 22.6L40 34.5C40.1 36.2 39.1 37.3 37.5 37.7 32.6 39.9 26 41 21 41 16 41 12.2 40.2 11 38.8 10.4 37.6 10.8 36.4 12.4 37L19.6 38.4 18.4 27C18.2 25.2 19.3 23.7 21 23.4Z`}),(0,T.jsx)(`path`,{fill:q,d:`M22.8 29.6 34.8 26.9C36.2 26.6 37 27.3 37.2 28.6L37.9 33C38.1 34.2 37.5 35 36.3 35.3L24.3 37.8C23 38.1 22.3 37.5 22.1 36.3L21.3 31.6C21.1 30.6 21.7 29.8 22.8 29.6Z`}),(0,T.jsxs)(`g`,{fill:q,children:[(0,T.jsx)(`circle`,{cx:`14.7`,cy:`18.45`,r:`1`}),(0,T.jsx)(`circle`,{cx:`17.6`,cy:`17.65`,r:`1`}),(0,T.jsx)(`circle`,{cx:`20.5`,cy:`16.85`,r:`1`}),(0,T.jsx)(`circle`,{cx:`17.9`,cy:`22.2`,r:`1`}),(0,T.jsx)(`circle`,{cx:`21`,cy:`21.5`,r:`1`}),(0,T.jsx)(`circle`,{cx:`24.1`,cy:`20.75`,r:`1`}),(0,T.jsx)(`circle`,{cx:`28.2`,cy:`25.3`,r:`1`})]}),(0,T.jsx)(`circle`,{fill:H,cx:`21.7`,cy:`26.6`,r:`1`}),(0,T.jsx)(`circle`,{fill:K,cx:`24.9`,cy:`25.9`,r:`1.05`}),(0,T.jsxs)(`g`,{fill:W,children:[(0,T.jsx)(`ellipse`,{cx:`8.8`,cy:`36.6`,rx:`3.6`,ry:`1.9`,transform:`rotate(22 8.8 36.6)`}),(0,T.jsx)(`path`,{d:`M12 41C10 41.5 7.5 44.5 7 46.5 7 48 8.5 49.5 10.5 50 12.5 50.5 13.5 50 15 48 15.5 47 16.5 47.5 19 50 22 49.5 22 46.5 22 45.5 20.5 45.5 17 45 16.5 44.5 16.5 44 16.5 42 13.5 40.5L12 41Z`}),(0,T.jsx)(`path`,{d:`M40 33C39 38 36 42 34.5 41.5 32.5 40.5 29.5 42 28.5 44 26 49 27.5 51.5 32.5 51 36 51 37 50 36 46.5 36 45 37 44.5 38 44.5 38.5 45.5 40.5 49 43.5 50 46.5 47.5 47.5 46.5 46 43.5 44 42 43 41.5 43.5 40.5 44.5 39.5 46 38 47 37.5L47 33Z`})]}),(0,T.jsx)(`ellipse`,{fill:W,cx:`46.4`,cy:`30.6`,rx:`8.1`,ry:`8.3`}),(0,T.jsxs)(`g`,{fill:J,children:[(0,T.jsx)(`rect`,{x:`45.05`,y:`26.95`,width:`2.25`,height:`4.6`,rx:`1.1`,transform:`rotate(-6 46.2 29.3)`}),(0,T.jsx)(`rect`,{x:`49.25`,y:`26.4`,width:`2.25`,height:`4.6`,rx:`1.1`,transform:`rotate(-6 50.4 28.7)`})]}),(0,T.jsx)(`path`,{fill:H,d:`M46.8 32.2H51C51 34.3 50 35.4 48.9 35.4S46.8 34.3 46.8 32.2Z`,transform:`rotate(-8 48.9 33.5)`}),(0,T.jsx)(`path`,{fill:`none`,stroke:K,strokeWidth:`3`,strokeLinecap:`round`,d:`M50.9 17.7 50.5 19.7 M55.2 20.1 53.4 21.9 M56.5 24.5 55.7 24.7`})]}),allApps:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{fill:H,x:`7`,y:`7.25`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(-6.2 18.6 18.6)`}),(0,T.jsx)(`rect`,{fill:U,x:`33.9`,y:`7.25`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(6.2 45.5 18.6)`}),(0,T.jsx)(`rect`,{fill:W,x:`7`,y:`34.15`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(6.2 18.6 45.5)`}),(0,T.jsx)(`rect`,{fill:K,x:`33.9`,y:`34.15`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(-6.2 45.5 45.5)`})]}),search:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:`none`,stroke:U,strokeWidth:`6.5`,d:`M37 37.5 43 43.5`}),(0,T.jsx)(`path`,{fill:`none`,stroke:H,strokeWidth:`12.6`,strokeLinecap:`round`,d:`M44.2 43.8 51.4 51.8`}),(0,T.jsx)(`path`,{fill:`none`,stroke:K,strokeWidth:`3`,strokeLinecap:`round`,d:`M47.2 42.4 52.8 47.8`}),(0,T.jsx)(`ellipse`,{fill:U,cx:`25.6`,cy:`24.6`,rx:`19.25`,ry:`18.6`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`25.2`,cy:`24.1`,rx:`14.2`,ry:`13.6`})]}),browser:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{fill:H,x:`5.9`,y:`6.15`,width:`52.2`,height:`51.7`,rx:`5.5`}),(0,T.jsx)(`path`,{fill:q,d:`M10 16.5H29.4C30.3 16.1 31 14.4 31.8 12.5 32.5 10.9 33.2 10 34.5 10H52.2C53.4 10 54 10.7 54 12V16.5C55.2 16.5 56 17.1 56 18.3V52.4C56 53.7 55.1 54.6 53.8 54.6H10.2C8.9 54.6 8 53.7 8 52.4V18.2C8 17.1 8.7 16.5 10 16.5Z`}),(0,T.jsx)(`circle`,{fill:K,cx:`12.2`,cy:`11.9`,r:`1.95`}),(0,T.jsx)(`circle`,{fill:U,cx:`18.6`,cy:`11.9`,r:`1.95`}),(0,T.jsx)(`circle`,{fill:G,cx:`25.1`,cy:`11.9`,r:`1.95`}),(0,T.jsx)(`circle`,{fill:W,cx:`32`,cy:`34.9`,r:`14.5`}),(0,T.jsxs)(`g`,{fill:`none`,stroke:q,strokeWidth:`3`,children:[(0,T.jsx)(`ellipse`,{cx:`32`,cy:`34.9`,rx:`7.7`,ry:`13.3`}),(0,T.jsx)(`path`,{d:`M17.5 34.9H46.5`})]})]}),internet:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`ellipse`,{fill:`none`,stroke:K,strokeWidth:`4.4`,cx:`32.2`,cy:`30.2`,rx:`25.6`,ry:`8.1`,transform:`rotate(-20.8 32.2 30.2)`}),(0,T.jsx)(`circle`,{fill:U,cx:`32`,cy:`32`,r:`21.1`}),(0,T.jsxs)(`g`,{fill:`none`,stroke:q,strokeWidth:`3`,children:[(0,T.jsx)(`ellipse`,{cx:`32`,cy:`31.8`,rx:`12.2`,ry:`18.7`}),(0,T.jsx)(`path`,{d:`M32 13.1V50.5M15 20.4Q32 29 49 20.4M12.5 39Q32 44.6 51.5 39`})]}),(0,T.jsx)(`path`,{fill:`none`,stroke:K,strokeWidth:`4.4`,d:`M6.6 30.2A25.6 8.1 0 0 0 57.8 30.2`,transform:`rotate(-20.8 32.2 30.2)`})]}),members:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`circle`,{fill:U,cx:`41.9`,cy:`22.85`,r:`12.2`}),(0,T.jsx)(`path`,{fill:U,d:`M36 34C33.8 34.8 32.2 35.8 31 37 37.5 39.5 40.5 43.5 40.5 49.5V53.5H54.5C57 53.5 58 51 58 47.5 58 40 55 35.5 49 34Z`}),(0,T.jsx)(`circle`,{fill:H,cx:`22.95`,cy:`27.6`,r:`12.85`}),(0,T.jsx)(`path`,{fill:H,d:`M15.5 38C10.5 39 7.5 42.5 6.5 47 5.5 50.5 6 53.5 8.5 53.5H38.5C42 52 40 43 36 40 34.5 39 32 38 31 38Z`}),(0,T.jsxs)(`g`,{fill:J,children:[(0,T.jsx)(`circle`,{cx:`18.3`,cy:`28`,r:`1.6`}),(0,T.jsx)(`circle`,{cx:`27.9`,cy:`28`,r:`1.6`}),(0,T.jsx)(`circle`,{cx:`39.1`,cy:`23.05`,r:`1.55`}),(0,T.jsx)(`circle`,{cx:`47.25`,cy:`23.05`,r:`1.55`})]})]}),sell:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:K,d:`M6.4 41.2V48.4C6.4 51.4 13.2 54 21.8 54S37.2 51.4 37.2 48.4V41.2C37.2 37.8 30.4 35 21.8 35S6.4 37.8 6.4 41.2Z`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`21.9`,cy:`40.8`,rx:`13.2`,ry:`3.6`}),(0,T.jsxs)(`g`,{transform:`rotate(-3 22.5 30) translate(0.5 0)`,children:[(0,T.jsx)(`path`,{fill:K,d:`M7.5 26V34C7.5 37.3 14.2 40 22.5 40S37.5 37.3 37.5 34V26C37.5 22.7 30.8 20 22.5 20S7.5 22.7 7.5 26Z`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`23.7`,cy:`26.55`,rx:`13.05`,ry:`4.4`})]}),(0,T.jsxs)(`g`,{transform:`translate(46.3 40.3) rotate(-25)`,children:[(0,T.jsx)(`path`,{fill:H,d:`M-8.5-10Q-8.5-12-7-13L-1.5-16.3Q0-17.2 1.5-16.3L7-13Q8.5-12 8.5-10V9Q8.5 12 5.5 12H-5.5Q-8.5 12-8.5 9Z`}),(0,T.jsx)(`circle`,{fill:q,cx:`0`,cy:`-10.7`,r:`2.2`})]}),(0,T.jsx)(O,{fill:K,transform:`translate(38.2 18.6) scale(1.1 .86)`}),(0,T.jsx)(O,{fill:K,transform:`translate(42.8 21.2) rotate(45) scale(1.1 .85)`})]}),schedule:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{fill:q,x:`6`,y:`11`,width:`47.6`,height:`44`,rx:`6`}),(0,T.jsx)(`path`,{fill:H,d:`M12 11H47.6Q53.6 11 53.6 17V21.5H6V17Q6 11 12 11Z`}),(0,T.jsxs)(`g`,{fill:q,children:[(0,T.jsx)(`circle`,{cx:`16.1`,cy:`16.15`,r:`3.4`}),(0,T.jsx)(`circle`,{cx:`43.4`,cy:`16.15`,r:`3.4`})]}),(0,T.jsxs)(`g`,{fill:U,children:[(0,T.jsx)(`rect`,{x:`13.6`,y:`6`,width:`5`,height:`11.2`,rx:`2.5`}),(0,T.jsx)(`rect`,{x:`40.9`,y:`6`,width:`5`,height:`11.2`,rx:`2.5`})]}),(0,T.jsxs)(`g`,{fill:W,children:[(0,T.jsx)(`rect`,{x:`11.1`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`20.7`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`30.4`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`20.7`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`30.4`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`11.1`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`30.4`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`})]}),(0,T.jsxs)(`g`,{fill:G,children:[(0,T.jsx)(`rect`,{x:`40.4`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`11.1`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`20.7`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`})]}),(0,T.jsx)(`circle`,{fill:K,cx:`45.5`,cy:`45.6`,r:`12.2`}),(0,T.jsx)(`path`,{fill:`none`,stroke:J,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`M45.1 39.3V46.2L51.3 49.8`}),(0,T.jsx)(`circle`,{fill:J,cx:`45.1`,cy:`46.2`,r:`2.5`})]}),loop:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{style:{stroke:H},strokeWidth:`6`,strokeLinecap:`round`,d:`M47.5 14.5C43 11 37.5 9 32 9 19.5 9 9 19.5 9 32S19.5 55 32 55 55 44.5 55 32`}),(0,T.jsx)(`path`,{style:{fill:H},d:`M53.5 21.5Q54.5 20 55 22L58 33Q58.5 35 56.5 34.5L48.5 32.5Q47 32 48 30.5Z`}),(0,T.jsx)(`g`,{transform:`translate(18 21) scale(.28)`,children:(0,T.jsx)(j,{fill:U})}),(0,T.jsxs)(`g`,{style:{fill:q},children:[(0,T.jsx)(`rect`,{x:`25`,y:`27.5`,width:`14`,height:`3`,rx:`1.5`}),(0,T.jsx)(`rect`,{x:`25`,y:`33.5`,width:`9`,height:`3`,rx:`1.5`})]})]}),fungi:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`ellipse`,{fill:q,cx:`33.5`,cy:`43.6`,rx:`18.6`,ry:`14.4`,transform:`rotate(-6 33.5 43.6)`}),(0,T.jsx)(`path`,{fill:H,d:`M29.5 6.5C22 7.5 16 11 11 18.5 4 29 4.6 39.6 13.5 42.2 24 45 44 40.5 54 34.6 57.6 32.6 58.6 29.2 57.5 25 56.5 20 53 16 48.5 13 43.5 8 37 5.5 29.5 6.5Z`}),(0,T.jsxs)(`g`,{fill:q,children:[(0,T.jsx)(`ellipse`,{cx:`29`,cy:`15.7`,rx:`8.7`,ry:`6.3`,transform:`rotate(-15.5 29 15.7)`}),(0,T.jsx)(`ellipse`,{cx:`50.8`,cy:`20.1`,rx:`6.5`,ry:`3.5`,transform:`rotate(51.6 50.8 20.1)`}),(0,T.jsx)(`ellipse`,{cx:`13`,cy:`26.8`,rx:`4.2`,ry:`3.3`,transform:`rotate(-54.5 13 26.8)`})]}),(0,T.jsxs)(`g`,{fill:J,transform:`translate(26.6 46.6) scale(1.1) translate(-33.7 -38.5)`,children:[(0,T.jsx)(`rect`,{x:`31.85`,y:`35.9`,width:`3.75`,height:`5.25`,rx:`1.85`}),(0,T.jsx)(`path`,{d:`M 47.4 34.3 C 46 35 44.6 35.8 43.5 36.7 42.9 37.2 43.2 38.3 44 38.4 45.2 38.6 46.5 38.6 47.7 38.4 48.4 38.3 48.3 37.3 47.6 37.3 46.6 37.4 45.7 37.4 45 37.3 45.9 36.7 46.9 36.1 48 35.6 48.7 35.3 48.2 34 47.4 34.3 Z`}),(0,T.jsx)(`path`,{d:`M 37.4 41.1 C 38.6 44.3 42.6 44.3 43.6 40.5 43.7 40 43.1 39.8 42.9 40.3 41.9 42.8 39.1 42.9 38.3 40.7 38.1 40.2 37.3 40.5 37.4 41.1 Z`})]})]})};function Y({name:e,size:t}){return(0,T.jsx)(`svg`,{viewBox:`0 0 64 64`,width:t,height:t,fill:`none`,stroke:`none`,"aria-hidden":`true`,focusable:`false`,"data-sigil":e,children:de[e]})}var X=e(a(),1),fe=(e,t)=>m.of(e,`prints`,`share`,t);async function pe(e,t,n){return n.kind===`stop`?e.stop(t):(n.kind===`reshare`&&await e.stop(t),e.share({requestId:t,showPrompt:n.showPrompt}))}function me({app:e,printId:t}){let n=r(),i=fe(e,t),[a,s]=(0,X.useState)(!0),[c,d]=(0,X.useState)(!1),f=h({...x(e,o,i,e=>e.status(t)),enabled:e.capabilities.has(o)}),p=u({mutationFn:n=>pe(e.capabilities.require(o),t,n),onSuccess:e=>{n.setQueryData(i,e),d(!1)}}),m=f.data?.shared===!0?f.data:null,g=m===null?a:m.showPrompt,_=f.isPending||p.isPending;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(w,{children:[(0,T.jsxs)(`span`,{className:`prints-info-label`,children:[(0,T.jsx)(Y,{name:`connected`,size:16}),`Share`]}),(0,T.jsxs)(`span`,{className:`prints-info-value prints-share-value`,children:[(0,T.jsx)(b,{"aria-label":`Public link`,checked:m!==null,disabled:_||f.isError,onCheckedChange:e=>{p.mutate(e?{kind:`share`,showPrompt:a}:{kind:`stop`})}}),m===null?(0,T.jsx)(`span`,{className:`prints-share-note`,children:`Only your Team can see it`}):(0,T.jsx)(l,{density:`compact`,label:c?`Copied`:`Copy link`,icon:c?(0,T.jsx)(S,{}):(0,T.jsx)(oe,{}),onClick:()=>{navigator.clipboard.writeText(m.url).then(()=>{d(!0)},()=>{d(!1)})}})]})]}),(0,T.jsxs)(w,{children:[(0,T.jsxs)(`span`,{className:`prints-info-label`,children:[(0,T.jsx)(Y,{name:`sendPrompts`,size:16}),`On page`]}),(0,T.jsxs)(`span`,{className:`prints-info-value prints-share-value`,children:[(0,T.jsx)(b,{"aria-label":`Show the prompt on the public page`,checked:g,disabled:_||f.isError,onCheckedChange:e=>{s(e),m!==null&&p.mutate({kind:`reshare`,showPrompt:e})}}),(0,T.jsx)(`span`,{className:`prints-share-note`,children:g?`Picture and prompt`:`Picture only`})]})]}),p.isError||f.isError?(0,T.jsx)(w,{children:(0,T.jsx)(`span`,{role:`alert`,className:`text-sm`,children:`Sharing is unavailable right now. Try again.`})}):null]})}var he=(0,X.lazy)(async()=>({default:(await _(()=>import(`./print-download-button-B6tCroD1.js`),__vite__mapDeps([0,1,2,3]),import.meta.url)).PrintDownloadButton})),ge=c({print:c({printId:n(),source:i([`recorded`,`file`]),kind:i([`image`,`video`]),model:n(),width:t().nullable(),height:t().nullable(),steps:t().nullable(),createdAt:t()}),typed:c({prompt:n(),references:t()}),references:d(c({path:n(),computerId:n().optional()})),characters:d(n())}),_e=(e,t)=>({style:t,kind:e.print.kind,model:e.print.model,typed:e.typed,references:e.references,steps:e.print.steps,width:e.print.width,height:e.print.height}),Z=(e,t)=>t===0?e:Z(t,e%t),ve=(e,t)=>{let n=Z(e,t);return`${String(e/n)}:${String(t/n)}`},ye=new Intl.DateTimeFormat(`en`,{dateStyle:`medium`,timeStyle:`short`});function be(e,t){let n=e.source,r=n.kind===`computer`?n.path:null,i=n.kind===`computer`?n.computerId:null;return h({...x(t,g,m.of(t,`prints`,`output-details`,i,r),async(e,t)=>{let n=await e.call(`getOutput`,JSON.stringify({path:r}));t.throwIfAborted();let i=ge.safeParse(n);return i.success?i.data:null}),enabled:!!(t&&r&&i&&t.capabilities.has(g)),retry:!1})}function Q({sigil:e,label:t,children:n}){return(0,T.jsxs)(w,{children:[(0,T.jsxs)(`span`,{className:`prints-info-label`,children:[(0,T.jsx)(Y,{name:e,size:16}),t]}),(0,T.jsx)(`span`,{className:`prints-info-value`,children:n})]})}function xe({name:e}){let t=e.length>$?e.slice(-$):``;return(0,T.jsxs)(`span`,{className:`prints-info-file`,title:e,"data-print-file":!0,children:[(0,T.jsx)(`span`,{className:`prints-info-file-head`,children:e.slice(0,e.length-t.length)}),t?(0,T.jsx)(`span`,{className:`prints-info-file-tail`,children:t}):null]})}var $=10;function Se({image:e,app:t,download:n=(0,T.jsx)(X.Suspense,{fallback:null,children:(0,T.jsx)(he,{source:e.source,app:t})}),referenceImages:r,models:i,canAnimate:a,onIterate:s,onClose:c}){let[u,d]=(0,X.useState)(null),f=(0,X.useRef)(null),m=h(y(t,e.source.kind===`computer`?e.source.path:null)),g=be(e,t).data,_=g?_e(g,m.data?.style??null):null,b=g?p(i,g.print.model):null;return(0,X.useEffect)(()=>{let e=document.activeElement;return f.current?.focus(),()=>{e instanceof HTMLElement&&e.isConnected&&e.focus()}},[]),(0,T.jsxs)(ee,{ref:f,className:`prints-info-drawer`,role:`region`,"aria-label":`Image information`,tabIndex:-1,onKeyDown:e=>{e.key===`Escape`&&(e.stopPropagation(),c())},children:[(0,T.jsxs)(`div`,{className:`flex items-center justify-between gap-sm`,children:[(0,T.jsx)(`h2`,{className:`text-base font-semibold`,children:`Image info`}),(0,T.jsx)(C,{"aria-label":`Close image information`,icon:(0,T.jsx)(ne,{}),onClick:c})]}),(0,T.jsxs)(re,{density:`compact`,className:`prints-info-facts`,children:[(0,T.jsx)(Q,{sigil:`list`,label:`File`,children:(0,T.jsx)(xe,{name:e.file.name})}),(0,T.jsxs)(Q,{sigil:`prints`,label:`Size`,children:[e.width,` × `,e.height,` · `,ve(e.width,e.height)]}),m.data?.style?(0,T.jsx)(Q,{sigil:`write`,label:`Style`,children:m.data.style}):null,g?(0,T.jsx)(Q,{sigil:`sendPrompts`,label:`Prompt`,children:(0,T.jsx)(`span`,{className:`whitespace-pre-wrap`,"data-print-prompt":!0,children:g.typed.prompt})}):null,g?(0,T.jsx)(Q,{sigil:`generateMedia`,label:`Model`,children:(0,T.jsx)(`span`,{"data-print-model":!0,children:b?v(b):`${g.print.model} (no longer available)`})}):null,g&&g.characters.length>0?(0,T.jsx)(Q,{sigil:`members`,label:`Characters`,children:(0,T.jsx)(`span`,{"data-print-characters":!0,children:g.characters.map(e=>`@${e}`).join(`, `)})}):null,g&&g.references.length>0?(0,T.jsx)(Q,{sigil:`read`,label:`References`,children:(0,T.jsx)(`ul`,{className:`prints-info-references`,"data-print-references":!0,"aria-label":`${String(g.references.length)} references`,children:g.references.map((t,n)=>{let i=t.path.split(`/`).at(-1),a=e.source.kind===`computer`&&te(t,e.source.computerId)?r.find(e=>e.path===t.path):void 0;return(0,T.jsx)(`li`,{title:t.path,children:a?(0,T.jsx)(`img`,{src:a.url,alt:i}):i},`${String(n)}:${t.path}`)})})}):null,g?(0,T.jsx)(Q,{sigil:`schedule`,label:`Made`,children:ye.format(g.print.createdAt)}):null,t&&g?.print.source===`recorded`&&t.capabilities.has(o)?(0,T.jsx)(me,{app:t,printId:g.print.printId}):null]}),(0,T.jsxs)(`div`,{className:`prints-info-actions`,role:`group`,"aria-label":`Image actions`,children:[_&&e.source.kind===`computer`?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(l,{label:`Reuse`,icon:(0,T.jsx)(ie,{}),disabled:m.isPending,onClick:()=>{d(s(`reuse`,_))}}),(0,T.jsx)(l,{label:`Remix`,icon:(0,T.jsx)(se,{}),disabled:m.isPending,onClick:()=>{d(s(`remix`,_))}}),a&&_.kind===`image`?(0,T.jsx)(l,{label:`Animate`,icon:(0,T.jsx)(ae,{}),disabled:m.isPending,onClick:()=>{d(s(`animate`,_))}}):null]}):null,n]}),u?(0,T.jsx)(`p`,{role:`alert`,className:`text-sm`,children:u}):null]})}export{Se as PrintInfoDrawer};
2
+ import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Ar as t,Pr as n,Rt as r,Sr as i,Xr as a,a as o,c as s,jr as c,l,ot as u,wr as d,zt as f}from"./media-DXNW7KSH.js";import{H as p,Mt as m,Nt as h,Ot as g,Q as _,Tt as ee,U as v,V as te,c as y,et as ne,i as b,kt as x,nt as S,ot as C,r as w,t as re,tt as ie}from"./data-list-CHxHx7uj.js";var ae=s(`Clapperboard`,[[`path`,{d:`M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z`,key:`1tn4o7`}],[`path`,{d:`m6.2 5.3 3.1 3.9`,key:`iuk76l`}],[`path`,{d:`m12.4 3.4 3.1 4`,key:`6hsd6n`}],[`path`,{d:`M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z`,key:`ltgou9`}]]),oe=s(`Link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]),se=s(`Shuffle`,[[`path`,{d:`M2 18h1.4c1.3 0 2.5-.6 3.3-1.7l6.1-8.6c.7-1.1 2-1.7 3.3-1.7H22`,key:`1wmou1`}],[`path`,{d:`m18 2 4 4-4 4`,key:`pucp1d`}],[`path`,{d:`M2 6h1.9c1.5 0 2.9.9 3.6 2.2`,key:`10bdb2`}],[`path`,{d:`M22 18h-5.9c-1.3 0-2.6-.7-3.3-1.8l-.5-.8`,key:`vgxac0`}],[`path`,{d:`m18 14 4 4-4 4`,key:`10pe0f`}]]),T=f(),E={coral:`var(--stipe-art-coral, #ff6558)`,blue:`var(--stipe-art-blue, #43a6f2)`,mint:`var(--stipe-art-mint, #63cfaa)`,grape:`var(--stipe-art-grape, #a66cc1)`,yellow:`var(--stipe-art-yellow, #ffd05d)`,cream:`var(--stipe-art-cream, #fff4de)`,ink:`var(--stipe-art-ink, #242c28)`,graphite:`var(--stipe-art-graphite, #49423f)`,inkcap:`var(--stipe-art-inkcap, #80499d)`},D=`light-dark(var(--stipe-sketch-ink, #242c28), var(--stipe-art-cream, #fff4de))`,ce=`var(--color-base-100, light-dark(#fff4de, #242c28))`;function O({transform:e,fill:t=D}){return(0,T.jsx)(`path`,{transform:e,style:{fill:t},d:`M-1.264-9.479C-2.098-8.643-1.802-1.057-.907-.332.47.782 1.6-.446 1.618-3.075 1.623-3.888 1.691-5.398 1.77-6.429 1.979-9.202 1.596-10 .055-10-.588-10-.843-9.9-1.264-9.479Z`})}function k(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(O,{transform:`translate(25.4 19.8) rotate(-39) scale(.95 .76)`}),(0,T.jsx)(O,{transform:`translate(32.1 17.8) scale(.96 .95)`}),(0,T.jsx)(O,{transform:`translate(38.8 19.9) rotate(39) scale(.95 .77)`})]})}function le(){return(0,T.jsxs)(`g`,{style:{fill:E.blue},children:[(0,T.jsx)(`path`,{d:`M10.574 .604C9.804 1.375 9.867-.885 9.961 22.81 10.054 47.202 9.722 45.378 14.193 45.94 25.813 47.399 38.465 52.211 44.662 57.532 47.653 60.097 48.082 59.411 47.967 52.242L47.734 19.335C47.734 17.523 47.13 16.616 45.964 15.076 40.604 8.018 30.127 2.767 16.804 .462 13.045-.184 11.326-.148 10.574 .604Z`}),(0,T.jsx)(`path`,{d:`M81.571 .746C71.063 2.665 62.221 6.713 56.562 12.199 54.242 14.45 52 17.356 52.115 19.335L52.033 52.628C51.927 59.934 51.979 59.994 55.74 57.091 62.423 51.931 71.272 48.541 84.103 46.221 90.625 45.039 89.967 47.631 90.145 22.432 90.326-3.079 91.148-1 81.571 .746Z`}),(0,T.jsx)(`path`,{d:`M1.906 12.692C.1 13.42 .151 12.804 .151 33.825 .151 54.097 .163 54.302 1.447 55.498 2.71 56.674 3.384 56.81 7.937 56.816 20.943 56.834 30.647 58.293 38.776 61.45 45.964 64.242 46.435 61.924 39.526 57.773 32.296 53.429 26.656 51.544 14.943 49.553 5.958 48.027 6.535 49.414 6.408 29.003 6.32 14.74 6.263 13.103 5.816 12.764 5.254 12.335 2.9 12.293 1.906 12.692Z`}),(0,T.jsx)(`path`,{d:`M94.326 12.858C93.656 13.326 93.656 13.326 93.653 28.492 93.653 48.882 93.997 48.063 84.743 49.556 73.574 51.36 64.45 54.695 57.801 59.405 54.082 62.039 55.384 63.864 59.722 62.1 68.897 58.372 76.363 57.115 90.03 56.994 100.405 56.903 99.489 58.976 99.773 34.976 100.018 14.142 100.006 13.958 98.399 12.979 97.236 12.269 95.251 12.208 94.326 12.858Z`})]})}function A(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M-8.572-25.123C-21.412-23.39-33.235-17.39-44.235-7.027-51.235-.433-51.251 .358-44.524 6.749-20.77 29.316 10.23 31.893 36.364 13.487 41.043 10.187 48.193 3.551 49.235 1.524 50.358-.642 49.471-2.102 43.738-7.497 29.257-21.128 9.968-27.631-8.572-25.123Z`}),(0,T.jsx)(`path`,{style:{fill:E.ink},d:`M-6.225-16.807C-17.727-13.267-21.176 4.433-12.08 13.257-1.118 23.898 16.829 16.102 17.032 .604 17.209-12.412 6.219-20.642-6.225-16.807Z`})]})}function ue(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{style:{fill:E.mint},d:`M540 342C520 340 497 355 477 374C450 399 440 421 456 444C465 458 480 462 492 464C503 466 500 477 494 486C487 500 508 496 522 478L530 468C557 468 578 464 591 451C601 442 599 429 585 427C572 425 556 432 547 418C538 403 550 390 568 385C579 382 589 380 584 368C576 352 557 341 540 342Z`}),(0,T.jsx)(`path`,{style:{fill:E.coral},d:`M589 396C614 380 659 381 683 392C709 404 721 428 710 451C704 464 693 472 685 479C680 487 684 498 689 503C695 514 684 513 675 507C667 502 662 497 657 491C637 496 610 495 594 486C584 480 583 469 595 464C607 460 622 454 622 441C622 428 612 423 597 420C580 417 578 407 589 396Z`})]})}function j({fill:e}){return(0,T.jsx)(`path`,{style:{fill:e},d:`M44.648 .288C26.645 1.615 13.263 8.266 5.942 19.529-4.299 35.277-.917 57.684 13.224 67.784 16.958 70.452 16.936 71.742 13.064 77.665 11.28 80.391 10.895 81.565 11.341 82.914 13.163 88.435 25.022 86.396 36.307 78.62L38.681 76.986 41.294 77.335C45.371 77.878 59.645 77.789 64.125 77.191 89.213 73.837 100.562 61.427 99.92 38.044 99.18 11.1 79.587-2.285 44.648 .288Z`})}function M({onFigure:e=!1}){return(0,T.jsxs)(`g`,{style:{fill:e?ce:E.ink},children:[(0,T.jsx)(`rect`,{x:`-15`,y:`-11`,width:`10`,height:`22`,rx:`5`}),(0,T.jsx)(`rect`,{x:`5`,y:`-11`,width:`10`,height:`22`,rx:`5`})]})}function N(){return(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M18.125 .621C.039 1.574-2.575 4.791 2.264 20.133 17.454 68.284 77.345 69.396 96.119 21.875 100.749 10.154 100.318 4.348 94.605 1.513 91.981 .21 37.878-.421 18.125 .621Z`})}function P(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{style:{fill:E.yellow},d:`M31.42 5.279C29.108 5.983 28.068 6.993 25.817 10.732 24.033 13.687 24.027 13.762 25.58 14.265 30.375 15.821 36.711 20.506 39.938 24.885 42.077 27.788 41.835 27.806 45.281 24.463 48.633 21.213 49.164 20.185 48.982 17.325 48.812 14.643 48.174 13.872 42.68 9.741 36.737 5.273 34.439 4.361 31.42 5.279Z`}),(0,T.jsx)(`path`,{style:{fill:E.yellow},d:`M22.538 16.207C22.093 16.652 19.732 20.231 13.309 30.196 10.737 34.188 10.723 33.911 13.589 35.351 16.461 36.798 19.778 39.28 21.825 41.523L22.6 42.37Q23.34 43.186 24.05 42.538L24.711 41.933C31.278 35.937 38.928 28.484 38.928 28.083 38.928 24.656 24.521 14.219 22.538 16.207Z`}),(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M8.89 38.053C8.203 39.566 6.598 44.473 6.598 45.056 6.598 45.137 6.887 45.125 7.236 45.036 9.655 44.404 13.526 47.475 13.526 50.027 13.526 51.132 13.361 51.164 16.187 49.49 21.421 46.387 21.966 45.665 20.575 43.659 19.002 41.387 14.975 38.238 11.909 36.881 9.799 35.949 9.854 35.926 8.89 38.053Z`}),(0,T.jsx)(`path`,{style:{fill:E.graphite},d:`M6.598 45.056C5.732 46.866 5.155 49.464 6.309 50.907 8.041 53.505 10.928 52.639 13.526 50.907 13.526 48.021 9.978 44.404 7.236 45.036Z`})]})}function F(){return(0,T.jsx)(`path`,{style:{fill:E.coral},d:`M40.804 40.625C38.238 41.462 37.291 41.953 31.169 45.625 15.743 54.871 8.047 56.158 5.879 49.856 5.501 48.754 5.501 48.754 4.843 50.913 1.673 61.302 12.377 61.671 30.386 51.796 39.649 46.719 41.142 46.647 40.81 51.291 40.565 54.775 41.168 56.135 43.486 57.31 49.556 60.387 62.035 54.816 59.605 50.116 58.502 47.983 56.1 47.882 52.163 49.799 47.082 52.273 45.983 51.652 47.998 47.449 50.89 41.416 47.686 38.376 40.804 40.625Z`})}function I({transform:e}){return(0,T.jsx)(`path`,{style:{fill:E.mint},transform:e,d:`M0 0C3 -2 5 -5 5 -8 5 -10.5 3 -12 0 -12S-5 -10.5 -5 -8C-5 -5 -3 -2 0 0Z`})}function L(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{fillRule:`evenodd`,style:{fill:D},d:`M25.3 17.69C14.8 19.34 10.66 20.18 9.05 20.99 5.51 22.78 4.2 27.21 6.71 28.9 7.47 29.42 8.48 29.4 10.25 28.84 12.41 28.15 12.56 27.57 11.02 25.85 10 24.71 10.53 23.62 11.79 24.27 13.9 25.36 15.02 28.98 15.63 36.66 16.18 43.48 17.33 47.43 19.69 50.49 22.76 54.48 27.69 55.73 30.31 53.19 33 50.57 31.24 46.04 28.44 48.38 26.29 50.17 26.16 47.08 28.3 45.14 29.61 43.95 30.78 43.58 38.92 41.75 39.45 41.63 39.41 41.52 38.39 40.01 36.87 37.78 36.04 35.22 34.72 28.69 33.37 22 32.04 19.3 29.5 18.07 28.69 17.68 26.59 17.49 25.3 17.69M24.11 26.51C18.61 27.67 18.16 27.82 17.98 28.55 17.64 29.91 18.54 30.44 20.51 30.05 25.4 29.08 30.11 28.03 30.49 27.83 31.65 27.23 31 25.33 29.66 25.4 29.5 25.4 27 25.91 24.11 26.51M29.2 31.42C28.64 31.54 26.23 32.07 23.85 32.58 20.01 33.41 19.48 33.57 19.15 33.96 18.67 34.5 18.66 35.05 19.12 35.63 19.61 36.26 19.86 36.23 26.05 34.88 29.05 34.23 31.53 33.7 31.57 33.7 31.82 33.7 32.34 32.88 32.34 32.5 32.34 31.25 31.37 30.92 29.2 31.42M29.79 37.19C28.81 37.41 26.45 37.94 24.53 38.37 22.62 38.8 20.84 39.23 20.58 39.33 19.61 39.71 19.35 40.62 19.98 41.41 20.48 42.05 21 41.99 27.59 40.5 33.85 39.09 34.21 38.91 33.45 37.44 33.02 36.61 32.51 36.58 29.79 37.19M45.41 41.95C44.89 42.09 41.61 42.89 38.12 43.73 30.94 45.45 29.81 45.84 31.05 46.15 33.2 46.69 34.11 50.18 32.77 52.76 32.23 53.79 32.23 54.03 32.76 54.16 33.34 54.31 45.35 51.3 46.72 50.67 50.19 49.06 51.76 45.01 49.79 42.76 48.8 41.64 47.46 41.39 45.41 41.95`}),(0,T.jsx)(`path`,{style:{fill:E.grape},d:`M48.21 10.15C47.92 10.41 47.5 11.27 46.96 12.74 45.52 16.61 45.24 16.99 43.01 18.15 39.18 20.15 39.05 20.99 42.28 22.73 45.37 24.39 45.68 24.79 47.12 28.95 48.3 32.32 49.28 32.2 50.65 28.52 52.23 24.25 52.26 24.22 55.2 22.56 57.53 21.24 57.79 21 57.79 20.16 57.79 19.49 57.55 19.31 55.01 18.06 52.16 16.66 52.2 16.72 50.31 11.56 49.7 9.89 49.03 9.44 48.21 10.15M32.59 13.92C31.78 14.73 32.28 15.89 33.58 16.22 35.07 16.6 36.19 17.1 37.17 17.84 38.42 18.77 39.23 18.86 39.79 18.15 39.99 17.9 40.15 17.53 40.15 17.32 40.15 15.29 33.99 12.52 32.59 13.92M42.48 34.38C40.96 35.96 40.65 36.88 41.39 37.57 42.2 38.33 43.36 37.74 44.55 35.95 45.2 34.97 45.22 34.35 44.62 33.88 43.89 33.31 43.41 33.42 42.48 34.38`}),(0,T.jsx)(`path`,{style:{fill:E.yellow},d:`M40.75 25.96C39.69 27.07 38.11 30.69 38.11 31.98 38.11 32.66 38.55 33.19 39.12 33.19 39.8 33.19 40.24 32.73 40.58 31.66 40.95 30.46 41.65 29.09 42.42 28.01 43.77 26.14 42.29 24.32 40.75 25.96M54.85 27.67C54.71 27.81 54.47 28.32 54.31 28.82 53.67 30.76 53.19 31.37 51.67 32.13 50.25 32.85 50.34 33.36 52.04 34.21 53.25 34.82 53.57 35.23 54.24 37.01 54.98 38.98 55.47 39.08 56.03 37.37 56.7 35.32 57.08 34.81 58.64 33.87 60.18 32.95 60.14 32.65 58.38 31.78 57.02 31.11 56.68 30.66 56.02 28.65 55.69 27.64 55.25 27.27 54.85 27.67`})]})}function R(){return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`path`,{fillRule:`evenodd`,style:{fill:D},d:`M42.24 14.07C41.52 14.24 40.53 14.54 35.06 16.26 33.33 16.8 31.2 17.47 30.34 17.74 29.47 18.01 27.86 18.52 26.75 18.88 25.64 19.23 24.03 19.74 23.16 20.01 20.16 20.94 19.45 21.4 18.97 22.71 18.71 23.44 18.45 26.33 17.83 35.41 17.64 38.25 17.44 41.03 17.41 41.58 17.32 42.77 17.24 42.69 18.79 42.84L20.01 42.95 21.98 39.97C24.69 35.88 24.85 35.82 27.05 37.9 27.9 38.7 28.43 39.08 28.61 39.02 28.76 38.96 28.91 38.91 28.94 38.91 28.98 38.91 29.38 38.38 29.84 37.73 30.3 37.08 31.47 35.48 32.43 34.17 33.4 32.86 34.86 30.85 35.67 29.71 36.49 28.56 37.5 27.29 37.91 26.88 39.73 25.07 41.01 26.43 43.32 32.67 43.76 33.84 44.3 35.28 44.52 35.86 44.74 36.44 44.97 37.28 45.04 37.74 45.19 38.71 45.17 38.71 46.63 38.03 47.69 37.53 47.77 37.46 47.68 37.02 47.58 36.52 46.97 30.64 46.79 28.41 46.73 27.69 46.62 26.43 46.53 25.61 46.44 24.79 46.24 22.87 46.09 21.32 45.61 16.44 45.5 15.66 45.22 15.12 44.72 14.15 43.59 13.76 42.24 14.07M29.38 22.45C26.04 23.47 24.49 27.62 26.6 29.91 29.17 32.7 34.15 30.16 34.16 26.05 34.16 23.38 31.9 21.68 29.38 22.45M46.7 41.5C39.3 44.23 28.33 46.04 20.1 45.88L17.21 45.82 17.16 46.88C17.08 48.22 17.33 49.03 18.01 49.68 18.73 50.37 19.73 50.35 23.77 49.53 25.46 49.19 29.12 48.47 31.91 47.93 46.31 45.14 46.9 44.99 47.57 43.91 47.95 43.3 48.25 41.29 47.99 41.15 47.91 41.11 47.33 41.26 46.7 41.5`}),(0,T.jsx)(`path`,{style:{fill:E.coral},d:`M29.72 22.45C25.84 23.34 24.28 28.36 27.25 30.42 29.34 31.88 32.91 30.43 33.83 27.75 34.92 24.55 32.75 21.76 29.72 22.45`}),(0,T.jsx)(`path`,{style:{fill:E.mint},d:`M12.96 14.29C12.87 14.41 12.7 15.03 12.58 15.68 12.37 16.82 11.59 18.26 11.18 18.26 11.08 18.26 10.88 18.46 10.72 18.7 10.36 19.25 10.59 19.58 11.45 19.74 12.18 19.88 13.08 20.63 13.54 21.49 14.23 22.76 14.75 22.53 15.15 20.79 15.39 19.71 15.51 19.51 16.4 18.66 17.54 17.58 17.51 17.36 16.18 16.85 15.16 16.47 14.84 16.19 14.14 15.1 13.56 14.2 13.22 13.96 12.96 14.29M49.04 24.13C48.56 24.86 48.91 25.31 50.59 26.09 53.89 27.64 54.85 29.82 53.45 32.6 52.01 35.43 46.84 38.54 40.51 40.39 39.73 40.62 38.88 40.89 38.62 40.99 37.24 41.52 30.85 42.64 27.54 42.93 20.72 43.52 13.63 42.49 10.57 40.46 5.81 37.3 7.51 32.32 14.74 28.24 15.84 27.61 16.17 27.1 15.9 26.4 15.66 25.78 15.35 25.84 13.19 26.94 6 30.61 2.97 35.32 4.95 39.74 7.86 46.21 22.78 47.8 40.05 43.46 51.97 40.47 58.57 36.38 59.47 31.43 60.09 27.97 57.74 25.34 52.93 24.12 50.6 23.53 49.43 23.54 49.04 24.13`}),(0,T.jsx)(`path`,{style:{fill:E.grape},d:`M34.82 8.91C33.48 10.04 34.21 12.14 35.94 12.14 37.29 12.14 38.18 10.99 37.77 9.77 37.36 8.53 35.81 8.08 34.82 8.91M53.15 43.16C53 43.28 52.74 43.86 52.57 44.45 52.18 45.78 51.76 46.32 50.64 46.93 49.52 47.53 49.45 47.89 50.33 48.34 51.34 48.85 52.24 49.95 52.56 51.04 53.13 53.01 53.6 53 54.21 50.99 54.61 49.69 55.13 48.93 55.91 48.54 57.17 47.91 57.23 47.51 56.15 46.96 55.23 46.49 54.67 45.76 54.23 44.44 53.8 43.15 53.54 42.84 53.15 43.16M24.18 53.18C22.45 53.9 22.87 56.59 24.71 56.59 26.79 56.59 27.2 53.67 25.2 53.09 24.89 53.01 24.51 53.04 24.18 53.18`}),(0,T.jsx)(`path`,{style:{fill:E.yellow},d:`M51.76 11.04C51.21 12.77 50.56 13.61 49.24 14.34 48.6 14.69 48.72 15.07 49.59 15.48 50.54 15.93 51.11 16.69 51.62 18.22 52.06 19.57 52.26 19.54 52.79 18.08 53.29 16.69 53.87 15.91 54.86 15.31 55.76 14.77 55.77 14.48 54.92 14.02 53.91 13.46 53.5 12.99 52.89 11.66 52.23 10.21 52.06 10.12 51.76 11.04M11.06 48.22C10.99 48.35 10.71 48.88 10.46 49.41 9.95 50.48 9.45 50.99 8.59 51.33 7.89 51.61 7.85 52.1 8.52 52.37 9.51 52.79 10.3 53.85 10.89 55.58 11.09 56.18 11.48 55.88 11.87 54.84 12.24 53.87 13.33 52.56 13.79 52.56 14 52.56 14.5 52.06 14.5 51.85 14.5 51.77 14.19 51.54 13.81 51.34 12.98 50.92 12.36 50.14 11.93 48.99 11.6 48.09 11.31 47.83 11.06 48.22`})]})}function z(){return(0,T.jsxs)(`g`,{transform:`translate(2 8) scale(.114) translate(-125 -122)`,children:[(0,T.jsx)(`path`,{style:{fill:E.coral},d:`M278 155 482 123C517 117 527 135 530 167L542 309Q543 329 561 341L631 404Q649 419 646 444 645 465 623 472L407 521Q374 531 345 519L156 436Q115 418 128 375L221 191Q238 163 278 155Z`}),(0,T.jsx)(`path`,{style:{fill:E.ink},d:`M317 183 461 161Q493 155 497 188L504 288Q508 320 478 326L318 356Q289 362 286 331L281 226Q278 194 317 183Z`}),(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M304 386 553 340Q562 337 570 346L631 404Q649 419 646 444Q645 448 629 452L411 483Q382 492 367 474Z`}),(0,T.jsxs)(`g`,{style:{fill:E.cream},children:[(0,T.jsx)(`rect`,{x:`319`,y:`236`,width:`26`,height:`59`,rx:`13`}),(0,T.jsx)(`rect`,{x:`364`,y:`229`,width:`26`,height:`59`,rx:`13`})]}),(0,T.jsxs)(`g`,{style:{fill:E.ink},transform:`rotate(-11 470 411)`,children:[(0,T.jsx)(`rect`,{x:`369`,y:`380`,width:`61`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`444`,y:`380`,width:`61`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`518`,y:`380`,width:`57`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`392`,y:`421`,width:`58`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`462`,y:`421`,width:`65`,height:`25`,rx:`13`}),(0,T.jsx)(`rect`,{x:`539`,y:`421`,width:`58`,height:`25`,rx:`13`})]})]})}function B(){return(0,T.jsxs)(`g`,{transform:`translate(3 10) scale(.114) translate(-760 -140)`,children:[(0,T.jsx)(`path`,{style:{fill:E.blue},d:`M1226 153C1257 153 1273 195 1267 231Q1263 265 1237 268L1176 270V215C1176 178 1195 153 1226 153Z`}),(0,T.jsx)(`path`,{style:{fill:E.blue},d:`M824 376Q908 372 871 400C842 427 866 442 902 450L1113 480Q1188 479 1199 392C1207 447 1204 497 1163 511Q1134 521 1097 516C1055 510 991 507 957 507S869 511 826 512C781 513 758 483 760 441Q760 385 824 376Z`}),(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M824 376 857 184Q864 133 911 141C1039 169 1124 151 1226 153Q1179 159 1184 241L1199 377C1202 434 1174 482 1117 480L902 450C864 445 849 429 871 400Q908 372 824 376Z`}),(0,T.jsxs)(`g`,{style:{fill:E.coral},children:[(0,T.jsx)(`path`,{d:`M982 198C1008 190 1030 197 1028 220L1023 265Q1020 295 1000 279C981 261 951 223 963 210Q970 202 982 198Z`}),(0,T.jsx)(`path`,{d:`M1063 220C1077 215 1100 237 1102 251Q1107 267 1084 282L1063 295Q1037 307 1040 278L1045 245Q1049 224 1063 220Z`}),(0,T.jsx)(`path`,{d:`M911 252C925 240 939 254 957 269L978 291Q995 311 961 316C938 318 907 316 898 308Q884 296 911 252Z`}),(0,T.jsx)(`path`,{d:`M1106 289Q1127 281 1134 304C1142 327 1146 352 1125 350Q1097 348 1073 335C1051 324 1072 311 1084 302Z`}),(0,T.jsx)(`path`,{d:`M927 338C946 334 972 334 985 343Q1004 353 984 384C970 408 957 418 940 403C922 389 896 356 913 345Z`}),(0,T.jsx)(`path`,{d:`M1010 375Q1025 363 1037 384C1049 407 1064 438 1044 442Q1025 448 1002 436C984 428 991 410 997 393Z`}),(0,T.jsx)(`path`,{d:`M1068 357C1084 359 1110 376 1120 389Q1130 402 1107 419C1090 432 1082 418 1073 401C1062 383 1043 355 1068 357Z`}),(0,T.jsx)(`path`,{d:`M1018 311C1037 312 1050 334 1034 343C1018 351 998 337 1005 320Q1009 311 1018 311Z`})]})]})}function V(){return(0,T.jsxs)(`g`,{transform:`translate(2 7) scale(.11) translate(-1380 -96)`,children:[(0,T.jsx)(`path`,{style:{fill:E.inkcap},d:`M1384 276C1394 238 1445 200 1497 158C1547 119 1604 97 1647 97C1690 97 1720 109 1745 138C1772 170 1791 184 1833 194C1870 201 1919 220 1922 257C1923 307 1891 339 1853 336C1801 335 1767 299 1701 294C1666 291 1620 294 1642 303Q1670 307 1675 333C1681 367 1697 389 1717 413C1735 434 1738 443 1719 464C1700 485 1692 502 1686 520Q1682 541 1653 541L1626 541Q1598 541 1594 519C1590 495 1578 474 1563 458C1545 440 1544 429 1559 410C1585 377 1608 337 1572 326C1554 320 1529 333 1506 340C1461 356 1428 357 1402 340Q1371 319 1384 276Z`}),(0,T.jsx)(`path`,{style:{fill:E.cream},d:`M1634 362Q1641 346 1649 362C1660 390 1676 404 1705 424Q1721 435 1704 453C1685 475 1677 490 1671 513Q1670 526 1653 525L1626 525Q1611 525 1610 513C1606 492 1592 465 1575 449Q1562 437 1577 424C1604 404 1620 390 1634 362Z`}),(0,T.jsx)(`path`,{style:{fill:E.inkcap},d:`M1634 456A18 18 0 1 1 1648 456V492Q1648 500 1641 500T1634 492Z`}),(0,T.jsx)(`path`,{style:{fill:E.inkcap},d:`M1780 391Q1786 386 1793 396C1810 420 1828 444 1827 467C1826 508 1768 510 1753 480C1741 456 1762 413 1780 391Z`})]})}var{coral:H,blue:U,mint:W,grape:G,yellow:K,cream:q,ink:J}=E,de={bonsai:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:`none`,stroke:W,strokeWidth:`3.7`,strokeLinecap:`round`,d:`M35 27.5C36 25 35.5 22.5 34 21S31.5 17.5 31.5 14M36 27C40 26.8 43 26 45 24S47 20.5 47.5 18.5M30.5 31C32.5 26.5 30.5 24.6 26.5 24 22 23.5 18.5 21.6 16.8 18.5M29 37C26.5 34.5 25 33.7 21.5 33.2S15.5 32 13 31.6M36 39.5C38 38 40 37.5 42 36.5S47 34 51 32.2`}),(0,T.jsx)(`path`,{fill:W,d:`M25.5 43.5C28 40.5 28 37 27.5 33 27.3 29.5 29.5 27 33.5 26.3L37.5 26V29.5C35 29.8 34.2 31.5 34.3 34 34.5 37.5 37 39.5 41 43.5Z`}),(0,T.jsx)(`circle`,{fill:U,cx:`31.5`,cy:`10.7`,r:`4.8`}),(0,T.jsx)(`circle`,{fill:G,cx:`16.6`,cy:`18.3`,r:`4.6`}),(0,T.jsx)(`circle`,{fill:K,cx:`47.9`,cy:`17.7`,r:`4.6`}),(0,T.jsx)(`circle`,{fill:K,cx:`12.8`,cy:`31.5`,r:`4.6`}),(0,T.jsx)(`circle`,{fill:U,cx:`50.9`,cy:`32.1`,r:`4.6`}),(0,T.jsx)(`path`,{fill:H,d:`M16 46H47.5C47.5 54 44 58 38 58H25.5C19.5 58 16 54 16 46Z`}),(0,T.jsx)(`rect`,{fill:H,x:`14`,y:`43`,width:`35.5`,height:`4.6`,rx:`2.3`})]}),computer:(0,T.jsx)(z,{}),prints:(0,T.jsx)(B,{}),inkcap:(0,T.jsx)(V,{}),vishnu:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{style:{fill:H},d:`M6 37C6 21 17.5 9 32 9s26 12 26 28c0 2.2-1.8 4-4 4H10c-2.2 0-4-1.8-4-4Z`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`19`,cy:`25`,r:`4`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`33`,cy:`19.5`,r:`4.8`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`46`,cy:`28`,r:`3.4`}),(0,T.jsx)(`rect`,{style:{fill:U},x:`13`,y:`39`,width:`38`,height:`18`,rx:`9`}),(0,T.jsx)(`rect`,{style:{fill:q},x:`18.5`,y:`46.2`,width:`10`,height:`3.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{style:{fill:q},x:`21.7`,y:`43`,width:`3.6`,height:`10`,rx:`1.8`}),(0,T.jsx)(`circle`,{style:{fill:K},cx:`39`,cy:`50.5`,r:`2.7`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`45`,cy:`45.5`,r:`2.7`})]}),generateText:(0,T.jsx)(L,{}),generateMedia:(0,T.jsx)(R,{}),buyApps:(0,T.jsxs)(`g`,{transform:`rotate(-6 32 32)`,children:[(0,T.jsx)(`circle`,{fill:K,cx:`32`,cy:`20`,r:`12`}),(0,T.jsx)(`circle`,{stroke:q,strokeWidth:`4`,cx:`32`,cy:`20`,r:`6`}),(0,T.jsx)(O,{fill:K,transform:`translate(15.5 12) rotate(-60) scale(1.1 .85)`}),(0,T.jsx)(O,{fill:K,transform:`translate(48.5 12) rotate(60) scale(1.1 .85)`}),(0,T.jsx)(`path`,{fill:U,d:`M10 35H54L50 53Q49 58 44 58H20Q15 58 14 53Z`}),(0,T.jsx)(`rect`,{fill:H,x:`5`,y:`27`,width:`54`,height:`10`,rx:`5`}),(0,T.jsxs)(`g`,{fill:q,children:[(0,T.jsx)(`rect`,{x:`20`,y:`41`,width:`5`,height:`11`,rx:`2.5`}),(0,T.jsx)(`rect`,{x:`29.5`,y:`41`,width:`5`,height:`11`,rx:`2.5`}),(0,T.jsx)(`rect`,{x:`39`,y:`41`,width:`5`,height:`11`,rx:`2.5`})]})]}),browseBazaar:(0,T.jsxs)(`g`,{transform:`rotate(-5 32 32)`,children:[(0,T.jsx)(`rect`,{fill:U,x:`10`,y:`14`,width:`44`,height:`38`,rx:`6`}),(0,T.jsx)(`rect`,{fill:U,x:`5`,y:`47`,width:`54`,height:`12`,rx:`6`}),(0,T.jsx)(`rect`,{fill:q,x:`12`,y:`50.5`,width:`40`,height:`4.5`,rx:`2.25`}),(0,T.jsx)(`rect`,{fill:H,x:`2`,y:`4`,width:`60`,height:`9`,rx:`4.5`}),(0,T.jsx)(`path`,{fill:H,d:`M3 9H14.6V18A5.8 5.8 0 0 1 3 18Z`}),(0,T.jsx)(`path`,{fill:q,d:`M14.6 9H26.2V18A5.8 5.8 0 0 1 14.6 18Z`}),(0,T.jsx)(`path`,{fill:H,d:`M26.2 9H37.8V18A5.8 5.8 0 0 1 26.2 18Z`}),(0,T.jsx)(`path`,{fill:q,d:`M37.8 9H49.4V18A5.8 5.8 0 0 1 37.8 18Z`}),(0,T.jsx)(`path`,{fill:H,d:`M49.4 9H61V18A5.8 5.8 0 0 1 49.4 18Z`}),(0,T.jsx)(`g`,{transform:`translate(32 36.5) scale(.34)`,children:(0,T.jsx)(A,{})})]}),agent:(0,T.jsxs)(`g`,{transform:`translate(32 33) scale(2.02) translate(-47.2 -41.8)`,children:[(0,T.jsx)(`path`,{fill:U,d:`M46.666 29.533C39.623 30.116 34.627 34.849 34.603 40.96 34.585 45.387 36.412 47.971 40.602 49.445 42.036 49.95 42.076 50.049 41.491 51.666 40.968 53.111 41.167 53.761 42.201 53.988 43.463 54.265 46.679 52.293 47.929 50.475 48.134 50.178 48.268 50.13 49.332 49.977 56.938 48.882 60.956 43.889 59.582 37.237 58.622 32.59 53.42 29.07 48.034 29.424 47.904 29.432 47.289 29.482 46.666 29.533Z`}),(0,T.jsx)(`g`,{transform:`translate(47.3 40) scale(.36 .34)`,children:(0,T.jsx)(M,{})})]}),list:(0,T.jsxs)(`g`,{transform:`rotate(-7 32 32)`,children:[(0,T.jsx)(`path`,{style:{fill:U},d:`M12 13Q6 13 6 19V50Q6 57 13 57H47Q53 57 53 50V20Q53 13 47 13Z`}),(0,T.jsx)(`path`,{style:{fill:q},d:`M19 7H39Q42 7 44 9L55 20Q57 22 57 26V44Q57 50 51 50H19Q13 50 13 44V13Q13 7 19 7Z`}),(0,T.jsx)(`path`,{style:{fill:H},d:`M39 7V18Q39 24 45 24H57Q57 22 55 20L44 9Q42 7 39 7Z`}),(0,T.jsxs)(`g`,{style:{fill:H},children:[(0,T.jsx)(`circle`,{cx:`22`,cy:`21`,r:`3`}),(0,T.jsx)(`circle`,{cx:`22`,cy:`31`,r:`3`}),(0,T.jsx)(`circle`,{cx:`22`,cy:`41`,r:`3`})]}),(0,T.jsx)(`path`,{style:{stroke:U},strokeWidth:`5`,strokeLinecap:`round`,d:`M31 21H32M31 31H46M31 41H42`})]}),chat:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`g`,{transform:`translate(3 11) scale(.22) translate(-449 -327)`,children:(0,T.jsx)(ue,{})}),(0,T.jsx)(O,{transform:`translate(38.2 18) rotate(16) scale(.95 .6)`}),(0,T.jsx)(O,{transform:`translate(44.4 20.5) rotate(47) scale(.95 .6)`})]}),read:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`g`,{transform:`translate(4 20.5) scale(.56)`,children:(0,T.jsx)(le,{})}),(0,T.jsx)(`g`,{transform:`translate(32 38.6) scale(.3164)`,children:(0,T.jsx)(A,{})}),(0,T.jsx)(k,{})]}),readConversations:(0,T.jsxs)(`g`,{transform:`translate(32 32) scale(.9) translate(-32 -32)`,children:[(0,T.jsx)(`g`,{transform:`translate(4 7.88) scale(.56)`,children:(0,T.jsx)(j,{fill:U})}),(0,T.jsx)(`g`,{transform:`translate(32.2 30.3) scale(.352)`,children:(0,T.jsx)(A,{})})]}),listAgents:(0,T.jsxs)(`g`,{transform:`translate(32 32) scale(1.04) translate(-32 -32)`,children:[(0,T.jsx)(`path`,{style:{fill:D},d:`M32.059 10.146C23.878 10.646 18.949 14.844 18.925 21.331 18.912 24.856 20.167 27.259 22.274 27.74 24.437 28.233 26.097 29.061 27.481 30.337 28.275 31.068 28.328 31.096 29.352 31.306 31.161 31.677 31.653 32.094 32.115 33.651 32.392 34.582 32.557 34.868 32.915 35.041 33.919 35.523 35.864 33.733 36.539 31.706L36.775 30.997 38.008 30.681C42.663 29.489 45.29 26.142 45.468 21.176 45.734 13.784 40.673 9.62 32.059 10.146Z`}),(0,T.jsx)(`g`,{transform:`translate(32.4 21.2) scale(.39)`,children:(0,T.jsx)(M,{onFigure:!0})}),(0,T.jsx)(`path`,{style:{fill:H},d:`M14.375 27.586C8.014 28.591 4.363 32.396 4.355 38.027 4.347 43.93 8.071 47.469 15.239 48.368L16.828 48.568 17.873 49.568C19.854 51.464 22.469 52.496 23.691 51.864 24.384 51.506 24.431 51.044 23.924 49.606 23.337 47.943 23.479 47.492 24.749 46.977 32.756 43.73 32.643 31.899 24.573 28.49 22.238 27.504 17.535 27.087 14.375 27.586Z`}),(0,T.jsx)(`g`,{transform:`translate(17.6 37.7) scale(.38 .36)`,children:(0,T.jsx)(M,{})}),(0,T.jsx)(`path`,{style:{fill:U},d:`M46.666 29.533C39.623 30.116 34.627 34.849 34.603 40.96 34.585 45.387 36.412 47.971 40.602 49.445 42.036 49.95 42.076 50.049 41.491 51.666 40.968 53.111 41.167 53.761 42.201 53.988 43.463 54.265 46.679 52.293 47.929 50.475 48.134 50.178 48.268 50.13 49.332 49.977 56.938 48.882 60.956 43.889 59.582 37.237 58.622 32.59 53.42 29.07 48.034 29.424 47.904 29.432 47.289 29.482 46.666 29.533Z`}),(0,T.jsx)(`g`,{transform:`translate(47.3 40) scale(.36 .34)`,children:(0,T.jsx)(M,{})})]}),createAgents:(0,T.jsxs)(`g`,{transform:`translate(32 32) scale(1.08) translate(-32 -32)`,children:[(0,T.jsx)(`path`,{style:{fill:D},d:`M20.436 24.499C13.35 25.216 7.504 28.799 5.442 33.687 3.114 39.208 4.438 45.791 8.593 49.358 10.446 50.949 10.34 50.831 10.34 51.301 10.34 51.796 10.106 52.294 9.281 53.558 7.191 56.76 12.108 56.905 16.701 53.777 17.517 53.221 17.715 53.135 18.015 53.201 20.013 53.639 25.739 53.051 28.595 52.113 35.47 49.857 39.129 44.162 37.83 37.738C37 31 33 26 26.717 24.428L24.075 24.413C22.623 24.405 20.985 24.444 20.436 24.499Z`}),(0,T.jsx)(`g`,{transform:`translate(21.9 40) scale(.46 .43)`,children:(0,T.jsx)(M,{onFigure:!0})}),(0,T.jsx)(`path`,{style:{fill:W},d:`M37.987 15.734C32.277 16.627 28.675 20.713 28.92 26.022 29.062 29.118 30.627 31.606 33.331 33.036 34.675 33.747 34.761 34.018 34.237 35.923 33.376 39.051 36.878 38.551 39.174 35.218 39.574 34.637 39.65 34.583 40.058 34.583 46.203 34.583 50.414 30.91 50.424 25.543 50.435 18.989 44.932 14.649 37.987 15.734Z`}),(0,T.jsx)(`g`,{transform:`translate(38.9 24.9) scale(.31)`,children:(0,T.jsx)(M,{})}),(0,T.jsx)(O,{fill:K,transform:`translate(48.1 15.7) rotate(31) scale(1.25 .85)`}),(0,T.jsx)(O,{fill:K,transform:`translate(52.2 19.8) rotate(70) scale(1.25 .85)`})]}),sendPrompts:(0,T.jsxs)(`g`,{transform:`translate(32 32) scale(1.08) translate(-32 -32)`,children:[(0,T.jsx)(`g`,{transform:`translate(4 13.2) scale(.412 .436)`,children:(0,T.jsx)(j,{fill:H})}),(0,T.jsx)(`g`,{transform:`translate(17.1 28.7) scale(.19)`,children:(0,T.jsx)(N,{})}),(0,T.jsx)(O,{fill:W,transform:`translate(48.1 26.4) rotate(65) scale(1.7 1.28)`}),(0,T.jsx)(O,{fill:W,transform:`translate(48.4 33.8) rotate(110) scale(1.7 1.28)`})]}),write:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(P,{}),(0,T.jsx)(F,{})]}),run:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{style:{fill:U},x:`6`,y:`9`,width:`52`,height:`43`,rx:`7`}),(0,T.jsx)(`path`,{style:{stroke:q},strokeWidth:`5`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`m17 22 9 8-9 8m17 0h12`})]}),connected:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:`none`,style:{stroke:U},strokeWidth:`12`,strokeLinecap:`round`,d:`M34 37Q43 21 26 20H18Q3 20 6 37q2 10 15 9`}),(0,T.jsx)(`path`,{fill:`none`,style:{stroke:H},strokeWidth:`12`,strokeLinecap:`round`,d:`M29 33Q20 50 38 53h8q16-1 12-17-2-11-14-10`}),(0,T.jsx)(`path`,{style:{stroke:K},strokeWidth:`4`,strokeLinecap:`round`,d:`m27 4 2 6m10-5-2 7m12 0-5 4`})]}),working:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`ellipse`,{style:{fill:W},cx:`23`,cy:`14`,rx:`13`,ry:`8`,transform:`rotate(-30 23 14)`}),(0,T.jsx)(`ellipse`,{style:{fill:K},cx:`48`,cy:`36`,rx:`13`,ry:`8`,transform:`rotate(35 48 36)`}),(0,T.jsx)(`ellipse`,{style:{fill:G},cx:`22`,cy:`48`,rx:`13`,ry:`8`,transform:`rotate(45 22 48)`}),(0,T.jsx)(`path`,{fill:`none`,style:{stroke:D},strokeWidth:`3`,strokeLinecap:`round`,d:`M42 8q13 2 13 13M43 55q-5 5-12 4M5 39q-5-9 1-17`})]}),complete:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{style:{fill:W},d:`M32 6q5-8 10 0 9-3 10 6 9 2 5 11 8 6 0 12 3 9-6 11-1 9-10 6-6 8-12 0-9 3-11-6-9-2-6-11-8-6 0-12-3-9 6-11 1-9 10-6Z`}),(0,T.jsx)(`path`,{fill:`none`,style:{stroke:J},strokeWidth:`6`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`m23 29 7 7 13-15`}),(0,T.jsx)(`path`,{style:{stroke:D},strokeWidth:`3`,strokeLinecap:`round`,d:`m4 8 5 6m48-4 5-5M2 24l6 1`})]}),installApps:(0,T.jsxs)(`g`,{transform:`rotate(-6 32 32)`,children:[(0,T.jsx)(`rect`,{style:{fill:U},x:`9`,y:`26`,width:`46`,height:`32`,rx:`10`}),(0,T.jsx)(`rect`,{style:{fill:q},x:`17`,y:`33`,width:`30`,height:`18`,rx:`5`}),(0,T.jsx)(`path`,{style:{fill:W},d:`M22 38h8v8h-8z`}),(0,T.jsx)(`path`,{style:{fill:G},d:`M34 38h8v8h-8z`}),(0,T.jsx)(`path`,{style:{stroke:H},strokeWidth:`6`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`M32 4v17m-8-7 8 8 8-8`})]}),restricted:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:`none`,style:{stroke:H},strokeWidth:`9`,strokeLinecap:`round`,d:`M16 23V19q0-17 16-17t16 17v4`}),(0,T.jsx)(`rect`,{style:{fill:H},x:`8`,y:`26`,width:`48`,height:`36`,rx:`9`}),(0,T.jsx)(`path`,{style:{fill:q},d:`M32 34a7 7 0 0 0-4 13v7h8v-7a7 7 0 0 0-4-13Z`})]}),error:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{style:{fill:H},d:`M32 6q5-8 10 0 9-3 10 6 9 2 5 11 8 6 0 12 3 9-6 11-1 9-10 6-6 8-12 0-9 3-11-6-9-2-6-11-8-6 0-12-3-9 6-11 1-9 10-6Z`}),(0,T.jsx)(`path`,{fill:`none`,style:{stroke:q},strokeWidth:`7`,strokeLinecap:`round`,d:`M32 18v15`}),(0,T.jsx)(`circle`,{style:{fill:q},cx:`32`,cy:`45`,r:`4`})]}),trellis:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`g`,{fill:K,children:[(0,T.jsx)(`rect`,{x:`17.25`,y:`9`,width:`3.9`,height:`49.2`,rx:`1.95`}),(0,T.jsx)(`rect`,{x:`42.95`,y:`9`,width:`3.9`,height:`49.2`,rx:`1.95`}),(0,T.jsx)(`rect`,{x:`30.4`,y:`18`,width:`3.2`,height:`26`}),(0,T.jsx)(`rect`,{x:`14.8`,y:`15.75`,width:`34.4`,height:`3.1`,rx:`1.55`}),(0,T.jsx)(`rect`,{x:`14.8`,y:`28.85`,width:`34.4`,height:`3.1`,rx:`1.55`}),(0,T.jsx)(`rect`,{x:`14.8`,y:`42.55`,width:`34.4`,height:`3.1`,rx:`1.55`})]}),(0,T.jsx)(`path`,{fill:`none`,stroke:W,strokeWidth:`3`,strokeLinecap:`round`,d:`M21.9 56.1C31.5 54.4 32.9 47 32.1 45.8`}),(0,T.jsx)(`path`,{fill:`none`,stroke:W,strokeWidth:`3`,strokeLinecap:`round`,d:`M32 44.2C28.7 41.8 25.2 35.7 32 32.3 38.8 28 38.9 24 31.9 18.8 32.4 16.3 32.8 14.7 34.5 12.2`}),(0,T.jsx)(I,{transform:`translate(32.1 14.1) rotate(45) scale(0.45 0.86)`}),(0,T.jsx)(I,{transform:`translate(32.2 14.7) rotate(-60) scale(0.42 0.58)`}),(0,T.jsx)(I,{transform:`translate(34.8 28.3) rotate(65) scale(0.38 0.8)`}),(0,T.jsx)(I,{transform:`translate(28.2 33.1) rotate(-51) scale(0.5 0.57)`}),(0,T.jsx)(I,{transform:`translate(28.6 53.3) rotate(-48) scale(0.47 0.6)`}),(0,T.jsx)(`circle`,{fill:H,cx:`31.9`,cy:`18.8`,r:`4`}),(0,T.jsx)(`circle`,{fill:U,cx:`32`,cy:`32.3`,r:`4`}),(0,T.jsx)(`circle`,{fill:G,cx:`32`,cy:`44.2`,r:`4`})]}),games:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:U,d:`M18.5 28.5H45.5C49.5 29.5 53 32 54 35 55 37.5 56.8 45.5 56.6 48 56.5 53 52.5 57.5 47 58H15C9.5 56.5 6.6 51 7.6 45.5 8.6 39.5 9.3 35 10.5 33 12 31 14.5 29.5 18.5 28.5Z`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`26.8`,cy:`37.9`,rx:`9.1`,ry:`5.6`}),(0,T.jsx)(`ellipse`,{fill:J,cx:`27`,cy:`37.6`,rx:`4.7`,ry:`2.2`}),(0,T.jsx)(`path`,{fill:J,d:`M23.1 26V35.4A4 4.2 0 0 0 31.1 35.4V26Z`}),(0,T.jsx)(`circle`,{fill:H,cx:`27.1`,cy:`18.3`,r:`12.4`}),(0,T.jsx)(`circle`,{fill:q,cx:`22.6`,cy:`14.3`,r:`3.05`}),(0,T.jsx)(`ellipse`,{fill:K,cx:`45.1`,cy:`37.2`,rx:`5.6`,ry:`3.95`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`40.1`,cy:`46.6`,rx:`6.2`,ry:`4.4`})]}),oyster:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:G,d:`M35.5 6C33.7 6.3 32.3 7.6 31.4 9.4 30.9 10.3 30.4 10.3 29.5 10 25.5 9 20.6 11.6 19.6 15.9 19.4 16.6 19 17 18 17.1 14.5 17.6 12 20.6 12.1 24.2 12.2 25.4 12 25.9 11.5 26.5 7.5 30 10.5 34.5 17.5 34.4 15.3 32.6 16 31 19 29 26 24 37 19.5 43.5 19 46 19 46 22 43 25.5 46.5 23.5 51.5 18.5 53.5 15 55 11 50 7 45 9 43.8 9.4 43.3 9.2 42.5 8 40.7 6.3 38 5.6 35.5 6Z`}),(0,T.jsx)(`circle`,{fill:q,cx:`34.9`,cy:`41.9`,r:`11.3`}),(0,T.jsxs)(`g`,{fill:J,children:[(0,T.jsx)(`rect`,{x:`29.9`,y:`33.2`,width:`3.2`,height:`5.6`,rx:`1.6`}),(0,T.jsx)(`rect`,{x:`36.7`,y:`33.2`,width:`3.2`,height:`5.6`,rx:`1.6`})]}),(0,T.jsx)(`path`,{fill:G,d:`M49.5 39C47.9 39.3 46.5 40 46.1 41.6 45.8 43.2 45.5 43.5 44 43.5 38.5 43.5 35 48 39 49.5 40 50 39.5 50.5 38 51 35.5 52.5 32.5 52 30 51 29 50.5 28.5 50 29.5 50 33 47.5 30 43.5 24.5 43.5 23.3 43.5 22.9 43.3 22.5 43 20.5 40.5 19 40 17.5 39.5 13 39.5 13 44 17 47.5 18.3 48.4 18.6 48.7 19 49.5 20.5 53 23 55 26 55 26.8 55 27 55.3 27.5 56 31 58.5 36.5 58.5 40 56 40.8 55.2 41.2 55 42 55 45 55 47.5 53 49 49.5 49.6 48.5 50 48 50.5 47.5 56 43.5 55 38.5 49.5 39Z`}),(0,T.jsx)(`path`,{fill:`none`,stroke:K,strokeWidth:`3`,strokeLinecap:`round`,d:`M46.6 31.8 49.2 27.8 M49.4 35.5 52.8 33.7 M21.5 32.5 22.9 33.5 M19.3 37.5 21.1 38.1`})]}),tourtois:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{fill:q,x:`11.07`,y:`35.73`,width:`26.8`,height:`9.7`,rx:`3.25`,transform:`rotate(-5 24.47 40.58)`}),(0,T.jsx)(`path`,{fill:K,d:`M14.8 16C19 14.6 23 13.5 26.5 12.6 28.4 12.1 29.6 13.4 30.1 15.3L31.6 21 17.4 37.6C13.8 38.2 10.6 37.8 10.1 35.4L9.2 27.8C9.1 26.1 10.1 24.7 11.6 24.1 11.4 22.4 11.4 20.6 11.8 19.1 12.3 17.4 13.3 16.5 14.8 16Z`}),(0,T.jsx)(`path`,{fill:H,d:`M14.0 24.1Q13.3 21.2 16.2 20.4L30.7 16.2Q33.6 15.4 34.6 18.2L36.0 22.7Q37.0 25.5 34.7 27.4L20.2 39.7Q17.9 41.6 17.2 38.7Z`}),(0,T.jsx)(`path`,{fill:U,d:`M21 23.4 35.5 20.6C37.3 20.2 38.6 21 38.9 22.6L40 34.5C40.1 36.2 39.1 37.3 37.5 37.7 32.6 39.9 26 41 21 41 16 41 12.2 40.2 11 38.8 10.4 37.6 10.8 36.4 12.4 37L19.6 38.4 18.4 27C18.2 25.2 19.3 23.7 21 23.4Z`}),(0,T.jsx)(`path`,{fill:q,d:`M22.8 29.6 34.8 26.9C36.2 26.6 37 27.3 37.2 28.6L37.9 33C38.1 34.2 37.5 35 36.3 35.3L24.3 37.8C23 38.1 22.3 37.5 22.1 36.3L21.3 31.6C21.1 30.6 21.7 29.8 22.8 29.6Z`}),(0,T.jsxs)(`g`,{fill:q,children:[(0,T.jsx)(`circle`,{cx:`14.7`,cy:`18.45`,r:`1`}),(0,T.jsx)(`circle`,{cx:`17.6`,cy:`17.65`,r:`1`}),(0,T.jsx)(`circle`,{cx:`20.5`,cy:`16.85`,r:`1`}),(0,T.jsx)(`circle`,{cx:`17.9`,cy:`22.2`,r:`1`}),(0,T.jsx)(`circle`,{cx:`21`,cy:`21.5`,r:`1`}),(0,T.jsx)(`circle`,{cx:`24.1`,cy:`20.75`,r:`1`}),(0,T.jsx)(`circle`,{cx:`28.2`,cy:`25.3`,r:`1`})]}),(0,T.jsx)(`circle`,{fill:H,cx:`21.7`,cy:`26.6`,r:`1`}),(0,T.jsx)(`circle`,{fill:K,cx:`24.9`,cy:`25.9`,r:`1.05`}),(0,T.jsxs)(`g`,{fill:W,children:[(0,T.jsx)(`ellipse`,{cx:`8.8`,cy:`36.6`,rx:`3.6`,ry:`1.9`,transform:`rotate(22 8.8 36.6)`}),(0,T.jsx)(`path`,{d:`M12 41C10 41.5 7.5 44.5 7 46.5 7 48 8.5 49.5 10.5 50 12.5 50.5 13.5 50 15 48 15.5 47 16.5 47.5 19 50 22 49.5 22 46.5 22 45.5 20.5 45.5 17 45 16.5 44.5 16.5 44 16.5 42 13.5 40.5L12 41Z`}),(0,T.jsx)(`path`,{d:`M40 33C39 38 36 42 34.5 41.5 32.5 40.5 29.5 42 28.5 44 26 49 27.5 51.5 32.5 51 36 51 37 50 36 46.5 36 45 37 44.5 38 44.5 38.5 45.5 40.5 49 43.5 50 46.5 47.5 47.5 46.5 46 43.5 44 42 43 41.5 43.5 40.5 44.5 39.5 46 38 47 37.5L47 33Z`})]}),(0,T.jsx)(`ellipse`,{fill:W,cx:`46.4`,cy:`30.6`,rx:`8.1`,ry:`8.3`}),(0,T.jsxs)(`g`,{fill:J,children:[(0,T.jsx)(`rect`,{x:`45.05`,y:`26.95`,width:`2.25`,height:`4.6`,rx:`1.1`,transform:`rotate(-6 46.2 29.3)`}),(0,T.jsx)(`rect`,{x:`49.25`,y:`26.4`,width:`2.25`,height:`4.6`,rx:`1.1`,transform:`rotate(-6 50.4 28.7)`})]}),(0,T.jsx)(`path`,{fill:H,d:`M46.8 32.2H51C51 34.3 50 35.4 48.9 35.4S46.8 34.3 46.8 32.2Z`,transform:`rotate(-8 48.9 33.5)`}),(0,T.jsx)(`path`,{fill:`none`,stroke:K,strokeWidth:`3`,strokeLinecap:`round`,d:`M50.9 17.7 50.5 19.7 M55.2 20.1 53.4 21.9 M56.5 24.5 55.7 24.7`})]}),allApps:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{fill:H,x:`7`,y:`7.25`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(-6.2 18.6 18.6)`}),(0,T.jsx)(`rect`,{fill:U,x:`33.9`,y:`7.25`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(6.2 45.5 18.6)`}),(0,T.jsx)(`rect`,{fill:W,x:`7`,y:`34.15`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(6.2 18.6 45.5)`}),(0,T.jsx)(`rect`,{fill:K,x:`33.9`,y:`34.15`,width:`23.2`,height:`22.7`,rx:`4.6`,transform:`rotate(-6.2 45.5 45.5)`})]}),search:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:`none`,stroke:U,strokeWidth:`6.5`,d:`M37 37.5 43 43.5`}),(0,T.jsx)(`path`,{fill:`none`,stroke:H,strokeWidth:`12.6`,strokeLinecap:`round`,d:`M44.2 43.8 51.4 51.8`}),(0,T.jsx)(`path`,{fill:`none`,stroke:K,strokeWidth:`3`,strokeLinecap:`round`,d:`M47.2 42.4 52.8 47.8`}),(0,T.jsx)(`ellipse`,{fill:U,cx:`25.6`,cy:`24.6`,rx:`19.25`,ry:`18.6`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`25.2`,cy:`24.1`,rx:`14.2`,ry:`13.6`})]}),browser:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{fill:H,x:`5.9`,y:`6.15`,width:`52.2`,height:`51.7`,rx:`5.5`}),(0,T.jsx)(`path`,{fill:q,d:`M10 16.5H29.4C30.3 16.1 31 14.4 31.8 12.5 32.5 10.9 33.2 10 34.5 10H52.2C53.4 10 54 10.7 54 12V16.5C55.2 16.5 56 17.1 56 18.3V52.4C56 53.7 55.1 54.6 53.8 54.6H10.2C8.9 54.6 8 53.7 8 52.4V18.2C8 17.1 8.7 16.5 10 16.5Z`}),(0,T.jsx)(`circle`,{fill:K,cx:`12.2`,cy:`11.9`,r:`1.95`}),(0,T.jsx)(`circle`,{fill:U,cx:`18.6`,cy:`11.9`,r:`1.95`}),(0,T.jsx)(`circle`,{fill:G,cx:`25.1`,cy:`11.9`,r:`1.95`}),(0,T.jsx)(`circle`,{fill:W,cx:`32`,cy:`34.9`,r:`14.5`}),(0,T.jsxs)(`g`,{fill:`none`,stroke:q,strokeWidth:`3`,children:[(0,T.jsx)(`ellipse`,{cx:`32`,cy:`34.9`,rx:`7.7`,ry:`13.3`}),(0,T.jsx)(`path`,{d:`M17.5 34.9H46.5`})]})]}),internet:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`ellipse`,{fill:`none`,stroke:K,strokeWidth:`4.4`,cx:`32.2`,cy:`30.2`,rx:`25.6`,ry:`8.1`,transform:`rotate(-20.8 32.2 30.2)`}),(0,T.jsx)(`circle`,{fill:U,cx:`32`,cy:`32`,r:`21.1`}),(0,T.jsxs)(`g`,{fill:`none`,stroke:q,strokeWidth:`3`,children:[(0,T.jsx)(`ellipse`,{cx:`32`,cy:`31.8`,rx:`12.2`,ry:`18.7`}),(0,T.jsx)(`path`,{d:`M32 13.1V50.5M15 20.4Q32 29 49 20.4M12.5 39Q32 44.6 51.5 39`})]}),(0,T.jsx)(`path`,{fill:`none`,stroke:K,strokeWidth:`4.4`,d:`M6.6 30.2A25.6 8.1 0 0 0 57.8 30.2`,transform:`rotate(-20.8 32.2 30.2)`})]}),members:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`circle`,{fill:U,cx:`41.9`,cy:`22.85`,r:`12.2`}),(0,T.jsx)(`path`,{fill:U,d:`M36 34C33.8 34.8 32.2 35.8 31 37 37.5 39.5 40.5 43.5 40.5 49.5V53.5H54.5C57 53.5 58 51 58 47.5 58 40 55 35.5 49 34Z`}),(0,T.jsx)(`circle`,{fill:H,cx:`22.95`,cy:`27.6`,r:`12.85`}),(0,T.jsx)(`path`,{fill:H,d:`M15.5 38C10.5 39 7.5 42.5 6.5 47 5.5 50.5 6 53.5 8.5 53.5H38.5C42 52 40 43 36 40 34.5 39 32 38 31 38Z`}),(0,T.jsxs)(`g`,{fill:J,children:[(0,T.jsx)(`circle`,{cx:`18.3`,cy:`28`,r:`1.6`}),(0,T.jsx)(`circle`,{cx:`27.9`,cy:`28`,r:`1.6`}),(0,T.jsx)(`circle`,{cx:`39.1`,cy:`23.05`,r:`1.55`}),(0,T.jsx)(`circle`,{cx:`47.25`,cy:`23.05`,r:`1.55`})]})]}),sell:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{fill:K,d:`M6.4 41.2V48.4C6.4 51.4 13.2 54 21.8 54S37.2 51.4 37.2 48.4V41.2C37.2 37.8 30.4 35 21.8 35S6.4 37.8 6.4 41.2Z`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`21.9`,cy:`40.8`,rx:`13.2`,ry:`3.6`}),(0,T.jsxs)(`g`,{transform:`rotate(-3 22.5 30) translate(0.5 0)`,children:[(0,T.jsx)(`path`,{fill:K,d:`M7.5 26V34C7.5 37.3 14.2 40 22.5 40S37.5 37.3 37.5 34V26C37.5 22.7 30.8 20 22.5 20S7.5 22.7 7.5 26Z`}),(0,T.jsx)(`ellipse`,{fill:q,cx:`23.7`,cy:`26.55`,rx:`13.05`,ry:`4.4`})]}),(0,T.jsxs)(`g`,{transform:`translate(46.3 40.3) rotate(-25)`,children:[(0,T.jsx)(`path`,{fill:H,d:`M-8.5-10Q-8.5-12-7-13L-1.5-16.3Q0-17.2 1.5-16.3L7-13Q8.5-12 8.5-10V9Q8.5 12 5.5 12H-5.5Q-8.5 12-8.5 9Z`}),(0,T.jsx)(`circle`,{fill:q,cx:`0`,cy:`-10.7`,r:`2.2`})]}),(0,T.jsx)(O,{fill:K,transform:`translate(38.2 18.6) scale(1.1 .86)`}),(0,T.jsx)(O,{fill:K,transform:`translate(42.8 21.2) rotate(45) scale(1.1 .85)`})]}),schedule:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`rect`,{fill:q,x:`6`,y:`11`,width:`47.6`,height:`44`,rx:`6`}),(0,T.jsx)(`path`,{fill:H,d:`M12 11H47.6Q53.6 11 53.6 17V21.5H6V17Q6 11 12 11Z`}),(0,T.jsxs)(`g`,{fill:q,children:[(0,T.jsx)(`circle`,{cx:`16.1`,cy:`16.15`,r:`3.4`}),(0,T.jsx)(`circle`,{cx:`43.4`,cy:`16.15`,r:`3.4`})]}),(0,T.jsxs)(`g`,{fill:U,children:[(0,T.jsx)(`rect`,{x:`13.6`,y:`6`,width:`5`,height:`11.2`,rx:`2.5`}),(0,T.jsx)(`rect`,{x:`40.9`,y:`6`,width:`5`,height:`11.2`,rx:`2.5`})]}),(0,T.jsxs)(`g`,{fill:W,children:[(0,T.jsx)(`rect`,{x:`11.1`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`20.7`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`30.4`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`20.7`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`30.4`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`11.1`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`30.4`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`})]}),(0,T.jsxs)(`g`,{fill:G,children:[(0,T.jsx)(`rect`,{x:`40.4`,y:`25.1`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`11.1`,y:`33.9`,width:`6.9`,height:`6.6`,rx:`1.8`}),(0,T.jsx)(`rect`,{x:`20.7`,y:`42.7`,width:`6.9`,height:`6.6`,rx:`1.8`})]}),(0,T.jsx)(`circle`,{fill:K,cx:`45.5`,cy:`45.6`,r:`12.2`}),(0,T.jsx)(`path`,{fill:`none`,stroke:J,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`,d:`M45.1 39.3V46.2L51.3 49.8`}),(0,T.jsx)(`circle`,{fill:J,cx:`45.1`,cy:`46.2`,r:`2.5`})]}),loop:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{style:{stroke:H},strokeWidth:`6`,strokeLinecap:`round`,d:`M47.5 14.5C43 11 37.5 9 32 9 19.5 9 9 19.5 9 32S19.5 55 32 55 55 44.5 55 32`}),(0,T.jsx)(`path`,{style:{fill:H},d:`M53.5 21.5Q54.5 20 55 22L58 33Q58.5 35 56.5 34.5L48.5 32.5Q47 32 48 30.5Z`}),(0,T.jsx)(`g`,{transform:`translate(18 21) scale(.28)`,children:(0,T.jsx)(j,{fill:U})}),(0,T.jsxs)(`g`,{style:{fill:q},children:[(0,T.jsx)(`rect`,{x:`25`,y:`27.5`,width:`14`,height:`3`,rx:`1.5`}),(0,T.jsx)(`rect`,{x:`25`,y:`33.5`,width:`9`,height:`3`,rx:`1.5`})]})]}),fungi:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`ellipse`,{fill:q,cx:`33.5`,cy:`43.6`,rx:`18.6`,ry:`14.4`,transform:`rotate(-6 33.5 43.6)`}),(0,T.jsx)(`path`,{fill:H,d:`M29.5 6.5C22 7.5 16 11 11 18.5 4 29 4.6 39.6 13.5 42.2 24 45 44 40.5 54 34.6 57.6 32.6 58.6 29.2 57.5 25 56.5 20 53 16 48.5 13 43.5 8 37 5.5 29.5 6.5Z`}),(0,T.jsxs)(`g`,{fill:q,children:[(0,T.jsx)(`ellipse`,{cx:`29`,cy:`15.7`,rx:`8.7`,ry:`6.3`,transform:`rotate(-15.5 29 15.7)`}),(0,T.jsx)(`ellipse`,{cx:`50.8`,cy:`20.1`,rx:`6.5`,ry:`3.5`,transform:`rotate(51.6 50.8 20.1)`}),(0,T.jsx)(`ellipse`,{cx:`13`,cy:`26.8`,rx:`4.2`,ry:`3.3`,transform:`rotate(-54.5 13 26.8)`})]}),(0,T.jsxs)(`g`,{fill:J,transform:`translate(26.6 46.6) scale(1.1) translate(-33.7 -38.5)`,children:[(0,T.jsx)(`rect`,{x:`31.85`,y:`35.9`,width:`3.75`,height:`5.25`,rx:`1.85`}),(0,T.jsx)(`path`,{d:`M 47.4 34.3 C 46 35 44.6 35.8 43.5 36.7 42.9 37.2 43.2 38.3 44 38.4 45.2 38.6 46.5 38.6 47.7 38.4 48.4 38.3 48.3 37.3 47.6 37.3 46.6 37.4 45.7 37.4 45 37.3 45.9 36.7 46.9 36.1 48 35.6 48.7 35.3 48.2 34 47.4 34.3 Z`}),(0,T.jsx)(`path`,{d:`M 37.4 41.1 C 38.6 44.3 42.6 44.3 43.6 40.5 43.7 40 43.1 39.8 42.9 40.3 41.9 42.8 39.1 42.9 38.3 40.7 38.1 40.2 37.3 40.5 37.4 41.1 Z`})]})]})};function Y({name:e,size:t}){return(0,T.jsx)(`svg`,{viewBox:`0 0 64 64`,width:t,height:t,fill:`none`,stroke:`none`,"aria-hidden":`true`,focusable:`false`,"data-sigil":e,children:de[e]})}var X=e(a(),1),fe=(e,t)=>m.of(e,`prints`,`share`,t);async function pe(e,t,n){return n.kind===`stop`?e.stop(t):(n.kind===`reshare`&&await e.stop(t),e.share({requestId:t,showPrompt:n.showPrompt}))}function me({app:e,printId:t}){let n=r(),i=fe(e,t),[a,s]=(0,X.useState)(!0),[c,d]=(0,X.useState)(!1),f=h({...x(e,o,i,e=>e.status(t)),enabled:e.capabilities.has(o)}),p=u({mutationFn:n=>pe(e.capabilities.require(o),t,n),onSuccess:e=>{n.setQueryData(i,e),d(!1)}}),m=f.data?.shared===!0?f.data:null,g=m===null?a:m.showPrompt,_=f.isPending||p.isPending;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(w,{children:[(0,T.jsxs)(`span`,{className:`prints-info-label`,children:[(0,T.jsx)(Y,{name:`connected`,size:16}),`Share`]}),(0,T.jsxs)(`span`,{className:`prints-info-value prints-share-value`,children:[(0,T.jsx)(b,{"aria-label":`Public link`,checked:m!==null,disabled:_||f.isError,onCheckedChange:e=>{p.mutate(e?{kind:`share`,showPrompt:a}:{kind:`stop`})}}),m===null?(0,T.jsx)(`span`,{className:`prints-share-note`,children:`Only your Team can see it`}):(0,T.jsx)(l,{density:`compact`,label:c?`Copied`:`Copy link`,icon:c?(0,T.jsx)(S,{}):(0,T.jsx)(oe,{}),onClick:()=>{navigator.clipboard.writeText(m.url).then(()=>{d(!0)},()=>{d(!1)})}})]})]}),(0,T.jsxs)(w,{children:[(0,T.jsxs)(`span`,{className:`prints-info-label`,children:[(0,T.jsx)(Y,{name:`sendPrompts`,size:16}),`On page`]}),(0,T.jsxs)(`span`,{className:`prints-info-value prints-share-value`,children:[(0,T.jsx)(b,{"aria-label":`Show the prompt on the public page`,checked:g,disabled:_||f.isError,onCheckedChange:e=>{s(e),m!==null&&p.mutate({kind:`reshare`,showPrompt:e})}}),(0,T.jsx)(`span`,{className:`prints-share-note`,children:g?`Picture and prompt`:`Picture only`})]})]}),p.isError||f.isError?(0,T.jsx)(w,{children:(0,T.jsx)(`span`,{role:`alert`,className:`text-sm`,children:`Sharing is unavailable right now. Try again.`})}):null]})}var he=(0,X.lazy)(async()=>({default:(await _(()=>import(`./print-download-button-B6tCroD1.js`),__vite__mapDeps([0,1,2,3]),import.meta.url)).PrintDownloadButton})),ge=c({print:c({printId:n(),source:i([`recorded`,`file`]),kind:i([`image`,`video`]),model:n(),width:t().nullable(),height:t().nullable(),steps:t().nullable(),createdAt:t()}),typed:c({prompt:n(),references:t()}),references:d(c({path:n(),computerId:n().optional()})),characters:d(n())}),_e=(e,t)=>({style:t,kind:e.print.kind,model:e.print.model,typed:e.typed,references:e.references,steps:e.print.steps,width:e.print.width,height:e.print.height}),Z=(e,t)=>t===0?e:Z(t,e%t),ve=(e,t)=>{let n=Z(e,t);return`${String(e/n)}:${String(t/n)}`},ye=new Intl.DateTimeFormat(`en`,{dateStyle:`medium`,timeStyle:`short`});function be(e,t){let n=e.source,r=n.kind===`computer`?n.path:null,i=n.kind===`computer`?n.computerId:null;return h({...x(t,g,m.of(t,`prints`,`output-details`,i,r),async(e,t)=>{let n=await e.call(`getOutput`,JSON.stringify({path:r}));t.throwIfAborted();let i=ge.safeParse(n);return i.success?i.data:null}),enabled:!!(t&&r&&i&&t.capabilities.has(g)),retry:!1})}function Q({sigil:e,label:t,children:n}){return(0,T.jsxs)(w,{children:[(0,T.jsxs)(`span`,{className:`prints-info-label`,children:[(0,T.jsx)(Y,{name:e,size:16}),t]}),(0,T.jsx)(`span`,{className:`prints-info-value`,children:n})]})}function xe({name:e}){let t=e.length>$?e.slice(-$):``;return(0,T.jsxs)(`span`,{className:`prints-info-file`,title:e,"data-print-file":!0,children:[(0,T.jsx)(`span`,{className:`prints-info-file-head`,children:e.slice(0,e.length-t.length)}),t?(0,T.jsx)(`span`,{className:`prints-info-file-tail`,children:t}):null]})}var $=10;function Se({image:e,app:t,download:n=(0,T.jsx)(X.Suspense,{fallback:null,children:(0,T.jsx)(he,{source:e.source,app:t})}),referenceImages:r,models:i,canAnimate:a,onIterate:s,onClose:c}){let[u,d]=(0,X.useState)(null),f=(0,X.useRef)(null),m=h(y(t,e.source.kind===`computer`?e.source.path:null)),g=be(e,t).data,_=g?_e(g,m.data?.style??null):null,b=g?p(i,g.print.model):null;return(0,X.useEffect)(()=>{let e=document.activeElement;return f.current?.focus(),()=>{e instanceof HTMLElement&&e.isConnected&&e.focus()}},[]),(0,T.jsxs)(ee,{ref:f,className:`prints-info-drawer`,role:`region`,"aria-label":`Image information`,tabIndex:-1,onKeyDown:e=>{e.key===`Escape`&&(e.stopPropagation(),c())},children:[(0,T.jsxs)(`div`,{className:`flex items-center justify-between gap-sm`,children:[(0,T.jsx)(`h2`,{className:`text-base font-semibold`,children:`Image info`}),(0,T.jsx)(C,{"aria-label":`Close image information`,icon:(0,T.jsx)(ne,{}),onClick:c})]}),(0,T.jsxs)(re,{density:`compact`,className:`prints-info-facts`,children:[(0,T.jsx)(Q,{sigil:`list`,label:`File`,children:(0,T.jsx)(xe,{name:e.file.name})}),(0,T.jsxs)(Q,{sigil:`prints`,label:`Size`,children:[e.width,` × `,e.height,` · `,ve(e.width,e.height)]}),m.data?.style?(0,T.jsx)(Q,{sigil:`write`,label:`Style`,children:m.data.style}):null,g?(0,T.jsx)(Q,{sigil:`sendPrompts`,label:`Prompt`,children:(0,T.jsx)(`span`,{className:`whitespace-pre-wrap`,"data-print-prompt":!0,children:g.typed.prompt})}):null,g?(0,T.jsx)(Q,{sigil:`generateMedia`,label:`Model`,children:(0,T.jsx)(`span`,{"data-print-model":!0,children:b?v(b):`${g.print.model} (no longer available)`})}):null,g&&g.characters.length>0?(0,T.jsx)(Q,{sigil:`members`,label:`Characters`,children:(0,T.jsx)(`span`,{"data-print-characters":!0,children:g.characters.map(e=>`@${e}`).join(`, `)})}):null,g&&g.references.length>0?(0,T.jsx)(Q,{sigil:`read`,label:`References`,children:(0,T.jsx)(`ul`,{className:`prints-info-references`,"data-print-references":!0,"aria-label":`${String(g.references.length)} references`,children:g.references.map((t,n)=>{let i=t.path.split(`/`).at(-1),a=e.source.kind===`computer`&&te(t,e.source.computerId)?r.find(e=>e.path===t.path):void 0;return(0,T.jsx)(`li`,{title:t.path,children:a?(0,T.jsx)(`img`,{src:a.url,alt:i}):i},`${String(n)}:${t.path}`)})})}):null,g?(0,T.jsx)(Q,{sigil:`schedule`,label:`Made`,children:ye.format(g.print.createdAt)}):null,t&&g?.print.source===`recorded`&&t.capabilities.has(o)?(0,T.jsx)(me,{app:t,printId:g.print.printId}):null]}),(0,T.jsxs)(`div`,{className:`prints-info-actions`,role:`group`,"aria-label":`Image actions`,children:[_&&e.source.kind===`computer`?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(l,{label:`Reuse`,icon:(0,T.jsx)(ie,{}),disabled:m.isPending,onClick:()=>{d(s(`reuse`,_))}}),(0,T.jsx)(l,{label:`Remix`,icon:(0,T.jsx)(se,{}),disabled:m.isPending,onClick:()=>{d(s(`remix`,_))}}),a&&_.kind===`image`?(0,T.jsx)(l,{label:`Animate`,icon:(0,T.jsx)(ae,{}),disabled:m.isPending,onClick:()=>{d(s(`animate`,_))}}):null]}):null,n]}),u?(0,T.jsx)(`p`,{role:`alert`,className:`text-sm`,children:u}):null]})}export{Se as PrintInfoDrawer};
package/dist/index.html CHANGED
@@ -4,13 +4,13 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>Media</title>
7
- <script type="module" crossorigin src="./assets/index-V69cUaTk.js"></script>
7
+ <script type="module" crossorigin src="./assets/index-DX6AftUD.js"></script>
8
8
  <link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-hePW80VL.js">
9
9
  <link rel="modulepreload" crossorigin href="./assets/media-DXNW7KSH.js">
10
10
  <link rel="modulepreload" crossorigin href="./assets/log-event-B3qOOBbh.js">
11
11
  <link rel="modulepreload" crossorigin href="./assets/modules-C4mfDnjH.js">
12
- <link rel="modulepreload" crossorigin href="./assets/data-list-iuPAlUl0.js">
13
- <link rel="stylesheet" crossorigin href="./assets/index-Di4ZnL-a.css">
12
+ <link rel="modulepreload" crossorigin href="./assets/data-list-CHxHx7uj.js">
13
+ <link rel="stylesheet" crossorigin href="./assets/index-D4r3XXFp.css">
14
14
  </head>
15
15
  <body>
16
16
  <div id="media-root"></div>
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@fungi.computer/prints",
3
3
  "description": "Prints: generate images and video into a gallery on your Computer, an App for Oyster",
4
- "version": "0.10.9",
4
+ "version": "0.10.11",
5
5
  "author": "Levi <levi@technomancy.dev>",
6
6
  "type": "module",
7
7
  "dependencies": {
8
8
  "@fungi.computer/agar": "0.9.1",
9
9
  "@fungi.computer/cairn": "0.1.0",
10
- "@fungi.computer/caps": "0.10.1",
11
- "@fungi.computer/parakeet": "0.11.5",
10
+ "@fungi.computer/caps": "0.10.3",
11
+ "@fungi.computer/parakeet": "0.11.7",
12
12
  "@fungi.computer/sigils": "0.3.0",
13
13
  "@fungi.computer/whistle": "0.3.0",
14
14
  "@tanstack/react-form": "1.33.2",
@@ -39,7 +39,7 @@
39
39
  "vite": "8.2.2",
40
40
  "vite-plugin-singlefile": "2.3.3",
41
41
  "@cloudflare/workers-types": "5.20260828.1",
42
- "@fungi.computer/oyster": "0.19.19",
42
+ "@fungi.computer/oyster": "0.19.25",
43
43
  "eslint": "10.9.1",
44
44
  "jsdom": "29.0.1",
45
45
  "@types/node": "24.13.3"
@@ -1 +0,0 @@
1
- import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Bn as t,Bt as n,Cn as r,Ct as i,Dt as a,Et as o,Ft as s,Hn as c,Ht as l,Ir as u,It as d,Jt as f,Kt as p,Mt as m,Nt as h,Or as g,Ot as _,Pt as v,Qt as y,Rt as ee,Sn as te,St as ne,Tt as re,Ut as b,Vn as ie,Vt as ae,Wt as oe,Xr as se,Yt as x,Zt as ce,_t as le,an as S,bn as ue,bt as de,c as fe,cr as pe,ct as me,dn as C,dt as he,en as w,f as ge,ft as _e,g as ve,gt as ye,ht as be,in as xe,jt as T,kt as Se,ln as Ce,lt as we,m as Te,mt as Ee,n as De,o as Oe,p as ke,pt as E,qt as D,sn as O,st as Ae,t as je,tn as k,u as A,un as Me,ut as Ne,vt as Pe,wn as Fe,wt as Ie,xn as Le,xt as Re,yn as j,yt as ze,zt as Be}from"./media-DXNW7KSH.js";import{a as Ve,i as He,n as Ue,o as We,r as Ge}from"./modules-C4mfDnjH.js";function Ke(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{le(e,()=>t.signal,()=>n=!0)},u=de(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?ze:Pe;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?Je:qe,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:qe(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.fetchFn=t.options.persister?()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):l}}}function qe(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Je(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function Ye(e,t){return t?qe(e,t)!=null:!1}function Xe(e,t){return!t||!e.getPreviousPageParam?!1:Je(e,t)!=null}var Ze=class extends me{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=et(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=et(this.options);e.data!==void 0&&(this.setState($e(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=Se(this.state.data,e,this.options);return this.#c({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#c({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(a).catch(a):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>T(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===v||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>T(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!s(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){let t=this.observers.indexOf(e);t!==-1&&(this.observers.splice(t,1),this.observers.length||(this.#a&&(this.#s||this.state.fetchStatus===`paused`&&this.state.status===`pending`?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#c({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=de(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?Ke(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:`fetch`,meta:a.fetchOptions?.meta});let o=this.#a=he({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof we&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#c({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#c({type:`pause`})},onContinue:()=>{this.#c({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await o.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof we){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#c({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.#a===o&&(this.#a=void 0),this.scheduleGc()}}#c(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Qe(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...$e(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),E.batch(()=>{this.observers.slice().forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Qe(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ne(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function $e(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function et(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var tt=class extends be{#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p=new Set;constructor(e,t){super(),this.options=t,this.#e=e,this.#o=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),rt(this.#t,this.options)?this.#m():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return it(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return it(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof T(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!m(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&at(this.#t,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#t!==n||T(this.options.enabled,this.#t)!==T(t.enabled,this.#t)||T(this.options.staleTime,this.#t)!==T(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||T(this.options.enabled,this.#t)!==T(t.enabled,this.#t)||i!==this.#f)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return m(this.getCurrentResult(),n)||(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),Reflect.get(e,n))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t),r=()=>{},i,a=new Promise(e=>{i=e,r=this.#e.getQueryCache().subscribe(i=>{i.type===`updated`&&i.query.queryHash===n.queryHash&&n.state.data!==void 0&&(r(),e(this.createResult(n,t)))})});return Promise.race([n.fetch().then(()=>{let e=this.createResult(n,t);return i?.(e),e}).finally(()=>{r()}),a])}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#m(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(a)),t}#h(e){return!ye()&&T(this.options.enabled,this.#t)!==!1&&Ie(e)}#g(){this.#b();let e=T(this.options.staleTime,this.#t);if(this.#r.isStale||!this.#h(e))return;let t=s(this.#r.dataUpdatedAt,e)+1;this.#u=d.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#f=e,!(this.#f===0||!this.#h(this.#f))&&(this.#d=d.setInterval(()=>{(this.options.refetchIntervalInBackground||Ee.isFocused())&&this.#m()},this.#f))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#u!==void 0&&(d.clearTimeout(this.#u),this.#u=void 0)}#x(){this.#d!==void 0&&(d.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&rt(e,t),o=i&&at(e,n,t,r);(a||o)&&(l={...l,...Qe(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#l?.state.data,this.#l):t.placeholderData,e!==void 0&&(m=`success`,d=Se(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h){if(i&&d===a?.data&&t.select===this.#s)d=this.#c;else try{this.#s=t.select,d=t.select(d),d=Se(i?.data,d,t),this.#c=d,this.#o=null}catch(e){this.#o=e}}else d===void 0&&(this.#o=null);this.#o&&(f=this.#o,d=this.#c,p=Date.now(),m=`error`,u=!1);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,ee=d!==void 0;return{status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!ee,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&ee,isStale:ot(e,t),refetch:this.refetch,isEnabled:T(t.enabled,e)!==!1}}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#l=this.#t),m(t,e))return;this.#r=t;let n=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#p.size)return!0;let r=new Set(n??this.#p);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})();E.batch(()=>{n&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}};function nt(e,t){return T(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||T(t.retryOnMount,e)!==!1)}function rt(e,t){return nt(e,t)||e.state.data!==void 0&&it(e,t,t.refetchOnMount)}function it(e,t,n){if(T(t.enabled,e)!==!1&&T(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&ot(e,t)}return!1}function at(e,t,n,r){return(e!==t||T(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&ot(e,n)}function ot(e,t){return T(t.enabled,e)!==!1&&e.isStaleByTime(T(t.staleTime,e))}var st=class extends be{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new Ae({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=M(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=M(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=M(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=M(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){E.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>re(t,e))}findAll(e={}){return this.getAll().filter(t=>re(e,t))}notify(e){E.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return E.batch(()=>Promise.all(e.map(e=>e.continue().catch(a))))}};function M(e){return e.options.scope?.id}var ct=class extends be{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,a=t.queryHash??i(r,t),o=this.get(a);return o||(o=new Ze({client:e,queryKey:r,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){E.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>o(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>o(e,t)):t}notify(e){E.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){E.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){E.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},lt=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new ct,this.#t=e.mutationCache||new st,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=Ee.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=_e.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(T(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=Re(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return E.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;E.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return E.batch(()=>{let r=n.findAll(e),i=new Set(r);return r.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let n={revert:!0,...t},r=E.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(a).catch(a)}invalidateQueries(e,t={}){return E.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=E.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(a)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(a)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(T(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(T(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(a).catch(a)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(a).catch(a)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return _e.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(ne(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{_(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(ne(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{_(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=i(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===v&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},N=e(se(),1),ut=N.createContext(!1),dt=()=>N.useContext(ut);ut.Provider;var P=Be();function ft(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var pt=N.createContext(ft()),mt=()=>N.useContext(pt),ht=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?h(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||r)&&(t.isReset()||(e.retryOnMount=!1))},gt=e=>{N.useEffect(()=>{e.clearReset()},[e])},_t=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||h(n,[e.error,r])),vt=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},yt=(e,t)=>e?.suspense&&t.isPending,bt=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function xt(e,t,n){let r=dt(),i=mt(),o=ee(n),s=o.defaultQueryOptions(e),c=o.getQueryCache().get(s.queryHash),l=e.subscribed!==!1;s._optimisticResults=r?`isRestoring`:l?`optimistic`:void 0,vt(s),ht(s,i,c),gt(i);let[u]=N.useState(()=>new t(o,s)),d=u.getOptimisticResult(s),f=!r&&l;if(N.useSyncExternalStore(N.useCallback(e=>{let t=f?u.subscribe(E.batchCalls(e)):a;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),N.useEffect(()=>{u.setOptions(s)},[s,u]),yt(s,d))throw bt(s,u,i);if(_t({result:d,errorResetBoundary:i,throwOnError:s.throwOnError,query:c,suspense:s.suspense}))throw d.error;return s.notifyOnChangeProps?d:u.trackResult(d)}function St(e,t){return xt(e,tt,t)}function Ct(e){return e}function wt(e){return e}var Tt=`gilled.velvety.spored.saprotrophic.mycorrhizal.luminescent.honeycomb.truffley.wispy.earthy.mossy.woody.waxy.gelatinous.coral.inkcapped.feathery.stiped.ringed.annulate.scaly.shaggy.fuzzy.spiky.conical.umbral.parasol.leathery.damp.dewy.bristly.powdery.yeasty.musty.ancient.patient.steady.faithful.hardy.rootbound.forested.shaded.sunlit.sporeladen.golden.honeyed.amber.ivory.crimson.violet.indigo.silver.mossgreen.midnight.creamy.buttery.porcelain.glossy.matte.ribbed.fluted.wavy.lobed.branched.curled.folded.hooded.crowned.blushing.weeping.laughing.dancing.singing.whistling.glowing.ghostly.fairy.elfin.rustic.homey.barnraised.pasture.orchard.mill.woven.gardened.herded.trailed.ridged.meadow.fielded.vined.rooted.tendered.seasoned.ripe.wild.tame.broody.stubborn.gentle.drowsy.watchful.wandering.migratory.burrowed.nested.perched.loamy.mulched.composted.fermented.brewed.cured.smoked.pickled.preserved.aged.vintage.heirloom.grandmothers.forgotten.remembered.beloved.cherished.worn.weathered.windblown.rainsoaked.frosted.snowed.bloomed.flowered.seeded.sprouted.grafted.pruned.harvested.threshed.milled.baked.proofed.risen.folded.twisted.braided.stitched.patched.mended.polished.burnished.glazed.gilded.verdigris.patinaed.microdosed.tripping.wavy.prismatic.shimmering.rippling.echoing.oracular.mystic.kaleidoscopic.auroral.nebular.azure.psychedelic.transcendent.visionary.wandering.dreaming.phantom.spectral.iridescent.liminal.tidal.celestial.cosmic.astral.ethereal.incandescent`.split(`.`),Et=`shiitake.morel.chanterelle.bolete.puffball.oyster.enoki.maitake.lionsmane.truffle.porcini.agaric.amanita.bracket.conk.stipe.cap.gill.spore.hypha.mycelium.sporocarp.earthstar.stinkhorn.jelly.milkcap.blewit.cep.hedgehog.woodear.waxcap.inkcap.birdnest.cup.saddle.fieldcap.rust.smut.ergot.lichen.yeast.mold.toadstool.fruitingbody.basidiocarp.ascocarp.perithecium.apothecium.cystidium.basidium.clamp.septa.rhizomorph.sclerotium.gemma.annulus.volva.pileus.lamella.trama.gleba.peridium.sporangium.zygospora.conidia.teleomorph.anamorph.saprobe.endophyte.epiphyte.decomposer.recycler.alchemist.mycorrhiza.hyphae.web.net.lattice.thread.strand.root.tendril.runner.vine.ivy.moss.fern.liverwort.mule.cairn.almanac.parrot.birddog.watchdog.pigeon.ranch.barn.coop.pasture.meadow.field.orchard.gate.fence.silo.well.windmill.homestead.trail.ridge.creek.hill.grove.vineyard.apiary.garden.plot.furrow.shed.stable.trough.hayloft.rootcellar.smokehouse.springhouse.millstone.weathervane.lantern.tinderbox.candlemold.honeycomb.beeswax.propolis.nectar.pollen.comb.burrow.den.nest.perch.warren.colony.swarm.flock.herd.pod.grist.flour.starter.mother.scoby.kombucha.miso.tempeh.cheese.rennet.whey.curd.cream.butter.braid.loaf.crust.crumb.fiddlehead.sorrel.ramp.morelberry.huckleberry.thimbleberry.salmonberry.serviceberry.chokecherry.microdose.trip.shroom.liberty.teacher.treasure.wanderer.seeker.dreamer.shaman.visionary.tripper.oracle.seer.augur.prism.fractal.kaleidoscope.spectrum.nebula.aurora.comet.meteor.eclipse.zenith.horizon.mirage.echo.ripple.shimmer.glimmer.phantom.twilight.starlight.moonbeam`.split(`.`);function Dt(e){let t=Math.floor(4294967296/e.length)*e.length,n;do{let e=crypto.getRandomValues(new Uint32Array(1))[0];if(e===void 0)throw Error(`CSPRNG returned no candidate value`);n=e}while(n>=t);let r=e[n%e.length];if(r===void 0)throw Error(`Candidate vocabulary is empty`);return r}function Ot(e){if(e?.count===1/0)throw RangeError(`words count must be finite`);let t=Math.max(1,Math.floor(e?.count??2)),n=e?.separator??`-`,r=[Dt(Tt)];for(let e=1;e<t;e++)r.push(Dt(Et));return r.join(n)}function kt(e){return e instanceof n?e:new n(`App operation failed`,{cause:e,code:`HOST_FAILURE`,retryable:!1})}var At=new WeakMap,F={of(e,...t){return[e?.identity.surfaceId??null,e?.context.get().computerId??null,...t]}};function jt(e){let t={};return e&&At.set(t,e),t}function Mt(){let e=new lt({defaultOptions:{queries:{retry:!1,staleTime:3e4,refetchOnWindowFocus:!1},mutations:{retry:!1}}}),t=new Map;return e.getQueryCache().subscribe(n=>{let r=n.query;if(n.type===`removed`){t.get(r.queryHash)?.release(),t.delete(r.queryHash);return}let i=r.meta&&At.get(r.meta),a=t.get(r.queryHash);if(a?.app===i||(a?.release(),t.delete(r.queryHash),!i))return;let o=()=>{queueMicrotask(()=>{e.getQueryCache().get(r.queryHash)===r&&t.get(r.queryHash)?.app===i&&e.resetQueries({predicate:e=>e===r})})},s=i.capabilities.subscribe(o);t.set(r.queryHash,{app:i,release:s}),a&&o()}),e}function I(e,t,r,i){let a=e?.context.get().computerId;return Ct({queryKey:r,meta:jt(e),enabled:e!==null,retry:!1,queryFn:async({signal:r})=>{try{if(!e)throw new n(`No App connection`,{code:`DISCONNECTED`,retryable:!0});if(e.context.get().computerId!==a)throw new n(`The selected Computer changed`,{code:`SELECTION_CHANGED`,retryable:!1});return await i(e.capabilities.require(t),r)}catch(e){throw kt(e)}}})}function Nt(e){return wt({mutationKey:e.queryKey,scope:{id:ne(e.queryKey)},mutationFn:async(t,n)=>{try{return await e.mutationFn(t,n)}catch(e){throw kt(e)}},onMutate:async(t,{client:n})=>{if(n.isMutating({mutationKey:e.queryKey,exact:!0})>1)return;await n.cancelQueries({queryKey:e.queryKey,exact:!0});let r=n.getQueryData(e.queryKey);if(r!==void 0)return n.setQueryData(e.queryKey,e.apply(r,t)),{previous:r,optimistic:n.getQueryData(e.queryKey)}},onError:(t,n,r,{client:i})=>{r&&i.getQueryData(e.queryKey)===r.optimistic&&i.setQueryData(e.queryKey,r.previous)},onSettled:(t,n,r,i,{client:a})=>a.invalidateQueries({queryKey:e.queryKey,exact:!0})})}var L=ve(`app.backend`,1,g(()=>ke({request:Te(ge(u().transform(e=>pe(e))))}))),Pt=ve(`app.methods`,1,g(()=>ke({call:Te(ge(u().transform(e=>pe(e))))}))),Ft=Object.freeze({alphaIntercept:-9,alphaSlope:19,blurStdDeviation:1.5});function It(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=It(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function Lt(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=It(e))&&(r&&(r+=` `),r+=t);return r}var Rt=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,zt=Lt,Bt=(e,t)=>n=>{if(t?.variants==null)return zt(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=Rt(t)||Rt(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return zt(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},Vt=(0,N.forwardRef)(function({className:e,size:t=`md`,depth:n=`shallow`,placement:r=`standalone`,...i},a){return(0,P.jsx)(`div`,{...i,ref:a,"data-surface-size":t,"data-surface-depth":n,"data-surface-placement":r,className:A(`caps-surface`,e)})}),Ht=(0,N.forwardRef)(function({className:e,...t},n){return(0,P.jsx)(`div`,{...t,ref:n,className:A(`caps-screen`,e)})}),Ut=(0,N.forwardRef)(function({children:e,className:t,depth:n=`deep`,fit:r=`content`,density:i=`normal`,...a},o){let s=r===`fill`;return(0,P.jsx)(Vt,{...a,className:A(t,s&&`flex min-h-0 flex-1`),depth:n,ref:o,children:(0,P.jsx)(`div`,{className:A(`caps-display-gasket`,s&&`flex min-h-0 min-w-0 flex-1`),"data-display-density":i,children:(0,P.jsx)(Ht,{className:A(s&&`flex min-h-0 min-w-0 flex-1 overflow-hidden`),children:e})})})}),Wt=(0,N.forwardRef)(function({className:e,icon:t,status:n,title:r,...i},a){return(0,P.jsxs)(`header`,{...i,className:A(`caps-screen-header`,e),ref:a,children:[t?(0,P.jsx)(`span`,{className:`caps-screen-header-icon`,"aria-hidden":`true`,children:t}):null,(0,P.jsx)(`span`,{className:`caps-screen-header-title`,children:r}),n?(0,P.jsx)(`span`,{className:`caps-screen-header-status`,children:n}):null]})});(0,N.forwardRef)(function({appearance:e,className:t,...n},r){return(0,P.jsx)(`div`,{...n,className:A(`caps-screen-cells`,t),"data-appearance":e===`compact`?e:void 0,ref:r})}),(0,N.forwardRef)(function({children:e,className:t,legend:n,readout:r,icon:i,appearance:a,wide:o=!1,...s},c){return(0,P.jsxs)(`div`,{...s,className:A(`caps-screen-cell`,t),"data-wide":o||void 0,"data-appearance":a===`compact`?a:void 0,ref:c,children:[i?(0,P.jsx)(`span`,{className:`caps-screen-cell-icon`,children:i}):null,n?(0,P.jsx)(`span`,{className:`caps-screen-cell-legend`,children:n}):null,r?(0,P.jsx)(`span`,{className:`caps-screen-cell-readout`,children:r}):null,a===`compact`?(0,P.jsx)(`div`,{className:`caps-screen-cell-controls`,children:e}):e]})});function Gt(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Kt(...e){return t=>{let n=!1,r=e.map(e=>{let r=Gt(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Gt(e[t],null)}}}}function qt(...e){return N.useCallback(Kt(...e),e)}function Jt(e){let t=N.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,o=!1,s=[];nn(r)&&typeof R==`function`&&(r=R(r._payload)),N.Children.forEach(r,e=>{if(en(e)){o=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;nn(n)&&typeof R==`function`&&(n=R(n._payload)),a=Zt(t,n),s.push(a?.props?.children)}else s.push(e)}),a?a=N.cloneElement(a,void 0,s):!o&&N.Children.count(r)===1&&N.isValidElement(r)&&(a=r);let c=a?$t(a):void 0,l=qt(n,c);if(!a){if(r||r===0)throw Error(o?on(e):an(e));return r}let u=Qt(i,a.props??{});return a.type!==N.Fragment&&(u.ref=n?l:c),N.cloneElement(a,u)});return t.displayName=`${e}.Slot`,t}var Yt=Jt(`Slot`),Xt=Symbol.for(`radix.slottable`),Zt=(e,t)=>{if(`child`in e.props){let t=e.props.child;return N.isValidElement(t)?N.cloneElement(t,void 0,e.props.children(t.props.children)):null}return N.isValidElement(t)?t:null};function Qt(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function $t(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function en(e){return N.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Xt}var tn=Symbol.for(`react.lazy`);function nn(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===tn&&`_payload`in e&&rn(e._payload)}function rn(e){return typeof e==`object`&&!!e&&`then`in e}var an=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,on=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,R=N.use,z=Object.freeze({reduced:!1,squish:90,fast:120,normal:180,slow:280,springDuration:320,bounce:.3,stretch:.28,distance:4,stagger:24,blur:0,shake:3,steps:0,fuse:1,pressDepth:.5,pressScale:1,ease:`cubic-bezier(0.2, 0, 0, 1)`,easeExit:`cubic-bezier(0.4, 0, 1, 1)`}),B=`(prefers-reduced-motion: reduce)`;function V(e){let t=e.ownerDocument.defaultView;if(!t)return z;let n=t.getComputedStyle(e),r=(e,t)=>{let r=n.getPropertyValue(e).trim(),i=Number.parseFloat(r);return Number.isFinite(i)?Math.max(0,i):t},i=(e,t)=>{let i=n.getPropertyValue(e).trim();return r(e,t)*(i.endsWith(`s`)&&!i.endsWith(`ms`)?1e3:1)},a=t.matchMedia?.(B).matches??!1,o=(e,t)=>a?120:i(`--stipe-motion-${e}`,t),s=(e,t)=>a?0:r(`--stipe-motion-${e}`,t);return{reduced:a,squish:o(`squish`,z.squish),fast:o(`fast`,z.fast),normal:o(`normal`,z.normal),slow:o(`slow`,z.slow),springDuration:o(`spring-duration`,z.springDuration),bounce:Math.min(1,s(`bounce`,z.bounce)),stretch:s(`stretch`,z.stretch),distance:s(`distance`,z.distance),stagger:a?0:i(`--stipe-motion-stagger`,z.stagger),blur:s(`blur`,z.blur),shake:s(`shake`,z.shake),steps:Math.floor(s(`steps`,z.steps)),fuse:r(`--stipe-motion-fuse`,z.fuse),pressDepth:a?0:r(`--stipe-press-depth`,z.pressDepth),pressScale:a?1:r(`--stipe-press-scale`,z.pressScale),ease:n.getPropertyValue(`--stipe-motion-ease`).trim()||z.ease,easeExit:n.getPropertyValue(`--stipe-motion-ease-exit`).trim()||z.easeExit}}function sn(e){let[t,n]=(0,N.useState)(()=>({...z,reduced:!0}));return(0,N.useLayoutEffect)(()=>{let t=e.current,r=t?.ownerDocument.defaultView;if(!t||!r)return;let i=()=>{let e=V(t);n(t=>JSON.stringify(t)===JSON.stringify(e)?t:e)};i();let a=new r.MutationObserver(i);for(let e=t;e;e=e.parentElement)a.observe(e,{attributes:!0,attributeFilter:[`data-theme`,`class`,`style`]});let o=r.matchMedia?.(B);return o?.addEventListener(`change`,i),()=>{a.disconnect(),o?.removeEventListener(`change`,i)}},[e]),t}function cn(e,t){return e.reduced?0:Math.round(t*e.normal/z.normal)}function ln(e,t){if(e.reduced)return 0;let n=t*e.bounce/z.bounce;return Math.min(.9,Math.max(0,n))}function un(e,t){return e.reduced?0:Math.round(t*e.springDuration/z.springDuration)}function H(e,t){return e.steps>0?`steps(${String(e.steps)}, end)`:t}function U(e){return`animate`in e}var dn=globalThis;function fn(){return dn.matchMedia?.(B).matches??!1}function pn(e){let t=dn.matchMedia?.(B);return t?.addEventListener(`change`,e),()=>{t?.removeEventListener(`change`,e)}}function mn(){return!0}function hn(){return(0,N.useSyncExternalStore)(pn,fn,mn)}var gn=(0,N.forwardRef)(function({asChild:e=!1,className:t,...n},r){let i=A(`absolute h-px w-px overflow-hidden whitespace-nowrap border-0 p-0 [clip:rect(0,0,0,0)]`,t);return e?(0,P.jsx)(Yt,{...n,className:i,ref:r}):(0,P.jsx)(`span`,{...n,className:i,ref:r})}),_n=(e=10,t)=>{let n=t?He:We;return t=>n(Ve(t,0,1)*e)*(1/e)},vn=(0,N.forwardRef)(function({id:e,transform:t},n){return(0,P.jsxs)(`radialGradient`,{ref:n,id:e,gradientUnits:`userSpaceOnUse`,cx:`-1.2`,cy:`-1.6`,r:`5.6`,gradientTransform:t,children:[(0,P.jsx)(`stop`,{offset:`0`,stopColor:`color-mix(in oklab, var(--color-white) calc(var(--depth) * 50%), currentColor)`}),(0,P.jsx)(`stop`,{offset:`1`,stopColor:`currentColor`})]})});function yn({id:e}){return(0,P.jsx)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:(0,P.jsx)(`feDropShadow`,{dx:`0`,dy:`1.5`,stdDeviation:`1`,floodColor:`currentColor`,style:{floodOpacity:`calc(var(--depth) * 0.6)`}})})}function bn({id:e}){return(0,P.jsxs)(`filter`,{id:e,x:`-10%`,y:`-10%`,width:`120%`,height:`120%`,colorInterpolationFilters:`sRGB`,children:[(0,P.jsx)(`feGaussianBlur`,{in:`SourceAlpha`,stdDeviation:`0.3`,result:`soft-edge`}),(0,P.jsx)(`feOffset`,{in:`soft-edge`,dx:`0.25`,dy:`0.45`,result:`lower-edge`}),(0,P.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`lower-edge`,operator:`out`,result:`inner-shadow`}),(0,P.jsx)(`feFlood`,{floodColor:`var(--color-black)`,floodOpacity:`calc(var(--depth) * 0.28)`}),(0,P.jsx)(`feComposite`,{in2:`inner-shadow`,operator:`in`,result:`shade`}),(0,P.jsx)(`feOffset`,{in:`soft-edge`,dx:`-0.2`,dy:`-0.35`,result:`upper-edge`}),(0,P.jsx)(`feComposite`,{in:`SourceAlpha`,in2:`upper-edge`,operator:`out`,result:`inner-highlight`}),(0,P.jsx)(`feFlood`,{floodColor:`var(--color-white)`,floodOpacity:`calc(var(--depth) * 0.7)`}),(0,P.jsx)(`feComposite`,{in2:`inner-highlight`,operator:`in`,result:`highlight`}),(0,P.jsxs)(`feMerge`,{children:[(0,P.jsx)(`feMergeNode`,{in:`SourceGraphic`}),(0,P.jsx)(`feMergeNode`,{in:`shade`}),(0,P.jsx)(`feMergeNode`,{in:`highlight`})]})]})}var xn=Object.freeze({alphaIntercept:-8,alphaSlope:18,blurStdDeviation:2});function Sn({id:e,values:t=Ft}){return(0,P.jsxs)(`filter`,{id:e,x:`-50%`,y:`-50%`,width:`200%`,height:`200%`,children:[(0,P.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:t.blurStdDeviation,result:`blur`}),(0,P.jsx)(`feColorMatrix`,{in:`blur`,values:`1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 ${String(t.alphaSlope)} ${String(t.alphaIntercept)}`,result:`gooey`}),(0,P.jsx)(`feComposite`,{in:`SourceGraphic`,in2:`gooey`,operator:`atop`})]})}function Cn(e,t){let n=e.ownerDocument,r=!0,i=()=>{t(r&&!n.hidden)},a=globalThis,o=`IntersectionObserver`in globalThis&&a.IntersectionObserver?new a.IntersectionObserver(t=>{let n=t.find(t=>t.target===e);n&&(r=n.isIntersecting,i())}):void 0;return o?.observe(e),n.addEventListener(`visibilitychange`,i),i(),()=>{o?.disconnect(),n.removeEventListener(`visibilitychange`,i)}}function wn(e){let t=Math.max(0,Math.min(1,e));return t*t*(3-2*t)}function Tn(e,t){let n=Math.max(0,Math.min(1,(t-(e-1)*.085)/.68));return Math.sin(n*Math.PI)**2}function En(e,t,n){let r=n*Math.PI*2,i=t*2.1,a=Math.sin(r*2+i)*.15,o={rx:4*(1+a),ry:4/(1+a)};if(e===`line`){let e=7.5+4*Math.cos(r+(t===2?-.45:0));return{cx:(t-1)*e,cy:Math.sin(r+i)*.7,...o}}if(e===`square`){let e=4.7+2.7*Math.cos(r);return{cx:(t%2?1:-1)*e,cy:(t<2?-1:1)*e,...o}}if(e===`donut`){let e=wn(n/.66)*Math.PI*2,o=Math.min(e,t*Math.PI/8)-Math.PI/2,s=wn((n-.79)/.21),c=8+Math.sin(r*2+i)*.35*Math.sin(n*Math.PI);return{cx:Math.cos(o)*c*(1-s),cy:Math.sin(o)*c*(1-s)-8*s,rx:3.6*(1+a*Math.sin(n*Math.PI)),ry:3.6/(1+a*Math.sin(n*Math.PI))}}if(e===`bloom`){if(t===0){let e=[1,2,3,4].reduce((e,t)=>e+Tn(t,n),0),t=Math.sqrt(49-e*4);return{cx:Math.sin(r)*.4,cy:Math.sin(r*2)*.4,rx:t*(1+a),ry:t/(1+a)}}let e=Tn(t,n),i=(t-1)*Math.PI/2-Math.PI/4+Math.sin(r)*.22;return{cx:Math.cos(i)*14*e,cy:Math.sin(i)*14*e,rx:3.2*(1+a),ry:3.2/(1+a)}}return{cx:Math.sin(r+i)*6+Math.sin(r*3+i)*2.5,cy:Math.cos(r*2+i)*6,...o}}var Dn={line:1700,square:1900,donut:3e3,wander:4600,bloom:2800},On=2;function kn({variant:e,pace:t=`working`}){let n=`caps-loader-${(0,N.useId)().replaceAll(`:`,``)}`,r=(0,N.useRef)(null),i=(0,N.useRef)(null),a=sn(i),{reduced:o}=a,s=e===`donut`?16:e===`bloom`?5:e===`square`?4:3;return(0,N.useLayoutEffect)(()=>{if(o||!r.current||!i.current)return;let n=[...r.current.querySelectorAll(`ellipse`)].map((n,r)=>Ge(n,{keyframes:Array.from({length:48},(n,i)=>({...En(e,r,(i+1)/48),duration:cn(a,Dn[e]*(t===`idle`?On:1))/48})),ease:`linear`,loop:!0})),s=Cn(i.current,e=>{for(let t of n)e?t.resume():t.pause()});return()=>{s();for(let e of n)e.revert()}},[e,t,o,a]),(0,P.jsxs)(`svg`,{ref:i,"aria-hidden":`true`,focusable:`false`,viewBox:e===`line`?`-20 -10 40 20`:`-20 -20 40 40`,children:[(0,P.jsxs)(`defs`,{children:[(0,P.jsx)(Sn,{id:n,values:xn}),(0,P.jsx)(vn,{id:`${n}-surface`,transform:e===`line`?`matrix(3.4 0 0 1.4 0 0)`:`matrix(3 0 0 3 0 0)`}),(0,P.jsx)(yn,{id:`${n}-shadow`}),(0,P.jsx)(`mask`,{id:`${n}-mask`,maskUnits:`userSpaceOnUse`,x:`-20`,y:`-20`,width:`40`,height:`40`,style:{maskType:`alpha`},children:(0,P.jsx)(`g`,{ref:r,fill:`currentColor`,filter:`url(#${n})`,children:Array.from({length:s},(t,n)=>(0,P.jsx)(`ellipse`,{...En(e,n,0)},n))})})]}),(0,P.jsx)(`g`,{filter:`url(#${n}-shadow)`,children:(0,P.jsx)(`rect`,{x:`-20`,y:`-20`,width:`40`,height:`40`,fill:`url(#${n}-surface)`,mask:`url(#${n}-mask)`})})]})}var An={sm:`caps-loader-sm`,md:`caps-loader-md`,lg:`caps-loader-lg`,fill:`caps-loader-fill`},jn={neutral:`text-base-content`,accent:`text-accent`,primary:`text-primary`,success:`text-success`,current:`text-current`},Mn=(0,N.forwardRef)(function({"aria-label":e,"aria-labelledby":t,className:n,decorative:r=!1,label:i=`Loading`,size:a=`md`,variant:o=`line`,pace:s=`working`,tone:c=`neutral`,...l},u){let d=`${(0,N.useId)()}-label`,f=!r&&e===void 0&&t===void 0;return(0,P.jsxs)(`span`,{...l,"aria-label":r?void 0:e,"aria-hidden":r||void 0,"aria-labelledby":r?void 0:t??(e===void 0?d:void 0),className:A(`caps-loader`,An[a],jn[c],n),"data-variant":o,"data-pace":s,role:r?void 0:`status`,ref:u,children:[(0,P.jsx)(kn,{variant:o,pace:s}),f?(0,P.jsx)(gn,{id:d,children:i}):null]})}),Nn=`disabled:bg-base-200 disabled:text-base-content disabled:outline-1 disabled:outline-solid disabled:outline-base-content/25 aria-disabled:bg-base-200 aria-disabled:text-base-content aria-disabled:outline-1 aria-disabled:outline-solid aria-disabled:outline-base-content/25`,Pn=Bt(`btn caps-button disabled:pointer-events-none`,{variants:{variant:{primary:`btn-primary caps-button-filled`,secondary:`btn-secondary caps-button-filled`,accent:`btn-accent caps-button-filled`,destructive:`btn-error caps-button-filled`,outline:`btn-outline ${Nn}`,ghost:`btn-ghost`,"ghost-destructive":`btn-ghost caps-button-ghost-destructive`,link:`btn-link ${Nn}`},size:{xs:`btn-xs`,sm:`btn-sm`,default:`btn-md`,lg:`btn-lg`,icon:`btn-square btn-md`,menubar:`caps-button-menubar`}},defaultVariants:{variant:`primary`,size:`default`}}),Fn=(0,N.forwardRef)(function({asChild:e=!1,children:t,className:n,disabled:r,loading:i=!1,result:a,resultLabel:o,onResultEnd:s,size:c=`default`,variant:l=`primary`,...u},d){let f=A(Pn({size:c,variant:l}),n),p=(0,N.useRef)(a).current,m=(0,N.useRef)(null);return(0,N.useImperativeHandle)(d,()=>m.current),In(m,i,a),e?(0,P.jsx)(Yt,{...u,"aria-busy":i?!0:u[`aria-busy`],"aria-disabled":r===!0||i?!0:void 0,className:f,ref:m,children:t}):(0,P.jsx)(`button`,{...u,"aria-busy":i?!0:u[`aria-busy`],className:f,disabled:r===!0||i,ref:m,type:u.type??`button`,children:a===void 0&&o===void 0?(0,P.jsxs)(P.Fragment,{children:[i?(0,P.jsx)(Mn,{decorative:!0,size:`sm`,tone:`current`,variant:`wander`}):null,t]}):(0,P.jsx)(Vn,{label:o,loading:i,onResultEnd:s,result:a,settled:p,children:t})})});function In(e,t,n){let r=(0,N.useRef)(null),i=(0,N.useRef)(null),a=(0,N.useRef)(null);(0,N.useLayoutEffect)(()=>{let o=e.current;if(!o)return;let s=JSON.stringify([t,n??null,o.textContent]),c=s!==i.current;i.current=s;let l=a.current;if(!c&&l)return;let u=l?o.offsetWidth:r.current;l&&(a.current=null,l.cancel(),o.style.removeProperty(`overflow`),o.style.removeProperty(`white-space`));let d=o.offsetWidth;if(r.current=d>0?d:null,!c||u===null||d===0||Math.abs(u-d)<1||!U(o))return;let f=V(o);if(f.reduced)return;let p=o.animate([{width:`${String(u)}px`},{width:`${String(d)}px`}],{duration:f.normal,easing:H(f,f.ease)});a.current=p,o.style.overflow=`clip`,o.style.whiteSpace=`nowrap`;let m=()=>{a.current===p&&(a.current=null,o.style.removeProperty(`overflow`),o.style.removeProperty(`white-space`))};p.onfinish=m,p.oncancel=m})}var Ln=1100;function Rn(e,t){let n=t.bounce/.3,r=1+.05*Math.min(1.4,.4+n),i=1-.02*Math.min(1.4,n);return e.animate([{transform:`scale(1)`},{transform:`scale(${String(r)})`,offset:.35},{transform:`scale(${String(i)})`,offset:.7},{transform:`scale(1)`}],{duration:t.springDuration,easing:H(t,`ease-out`)})}function zn(e,t){let n=t.shake;return e.animate([{transform:`none`},{transform:`translateX(${String(-n)}px)`},{transform:`translateX(${String(n)}px)`},{transform:`translateX(${String(-n*.6)}px)`},{transform:`translateX(${String(n*.3)}px)`},{transform:`none`}],{duration:t.slow*1.3,easing:H(t,`linear`)})}function Bn(e,t,n){let r=n.distance+2,i=`blur(${String(n.blur)}px)`;return[e.animate([{opacity:1,transform:`none`,filter:`blur(0px)`},{opacity:0,transform:`translateY(${String(-r)}px)`,filter:i}],{duration:n.fast,easing:H(n,n.ease)}),t.animate([{opacity:0,transform:`translateY(${String(r)}px)`,filter:i},{opacity:1,transform:`none`,filter:`blur(0px)`}],{duration:n.normal,easing:H(n,n.ease),fill:`backwards`})]}function Vn({children:e,label:t,loading:n,onResultEnd:r,result:i,settled:a}){let o=(0,N.useRef)(null),s=hn(),[c,l]=(0,N.useState)(!1),[u,d]=(0,N.useState)(!1);c&&!u&&d(!0);let f=(0,N.useRef)(a),p=(0,N.useRef)(r);(0,N.useEffect)(()=>{p.current=r},[r]),(0,N.useLayoutEffect)(()=>{let e=f.current;if(f.current=i,i===e)return;if(i===`done`){l(!0);let e=setTimeout(()=>{p.current?p.current():l(!1)},Ln);return()=>{clearTimeout(e)}}l(!1);let t=o.current;if(i!==`failed`||!t||!U(t))return;let n=V(t);if(n.shake<=0)return;let r=zn(t,n);return()=>{r.cancel()}},[i,s]);let m=(0,N.useRef)(c);return(0,N.useLayoutEffect)(()=>{let e=o.current;if(!e||m.current===c)return;m.current=c;let t=e.querySelector(`[data-face="label"]`),n=e.querySelector(`[data-face="result"]`);if(!t||!n||!U(e)){c||d(!1);return}let r=V(e),i=c?Bn(t,n,r):Bn(n,t,r);if(c||i[0]?.addEventListener(`finish`,()=>{d(!1)}),c&&!r.reduced){i.push(Rn(e.closest(`button`)??e,r));let t=n.querySelector(`path`);t&&i.push(t.animate([{strokeDashoffset:1},{strokeDashoffset:0}],{duration:r.normal*1.4,delay:r.fast/2,easing:H(r,r.ease),fill:`backwards`}))}return()=>{for(let e of i)e.cancel()}},[c,s]),(0,P.jsxs)(`span`,{ref:o,className:`caps-button-faces`,"data-showing":c?`result`:`label`,children:[(0,P.jsxs)(`span`,{className:`caps-button-face`,"data-face":`label`,"aria-hidden":c?!0:void 0,children:[n||c?(0,P.jsx)(Mn,{decorative:!0,size:`sm`,tone:`current`,variant:`wander`}):null,e]}),u?(0,P.jsxs)(`span`,{className:`caps-button-face`,"data-face":`result`,"aria-hidden":!c||void 0,children:[(0,P.jsx)(`svg`,{className:`caps-button-check`,viewBox:`0 0 24 24`,"aria-hidden":`true`,focusable:`false`,children:(0,P.jsx)(`path`,{d:`M4.5 12.5 9.5 17.5 19.5 6.5`,pathLength:1})}),t===void 0?e:t]}):null]})}var Hn={xs:`size-3`,sm:`size-[var(--stipe-icon-size-sm)]`,md:`size-[var(--stipe-icon-size-md)]`,lg:`size-[var(--stipe-icon-size-lg)]`},Un=(0,N.forwardRef)(function({active:e=!1,icon:t,iconSize:n=`xs`,className:r,reveal:i=!1,size:a=`xs`,tone:o=`default`,variant:s=`ghost`,...c},l){let u=a===`responsive`;return(0,P.jsx)(Fn,{...c,resultLabel:c.result===void 0?void 0:null,ref:l,size:u?`sm`:a,variant:s,className:A(`caps-icon-button btn-circle`,u&&`caps-icon-button-responsive md:btn-xs`,e&&`text-accent`,i&&`scale-0 transition-transform group-hover:scale-100 focus-visible:scale-100`,o===`destructive`&&`hover:text-error`,r),children:(0,P.jsx)(`span`,{"aria-hidden":`true`,className:A(`inline-flex shrink-0 [&>svg]:size-full [&>svg]:[stroke-width:var(--stipe-icon-stroke)]`,Hn[n]),children:t})})}),Wn=Object.freeze({ease:`linear`,duration:0});function Gn(e,t){let n=un(e,t.duration);return n<=0?Wn:e.steps>0?{ease:_n(e.steps),duration:n}:{ease:Ue({bounce:ln(e,t.bounce),duration:n}),duration:n}}function Kn(e,t){let n=cn(e,t.duration);return{ease:e.steps>0?_n(e.steps):t.ease,duration:n}}var qn=fe(`Check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Jn=fe(`RotateCcw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),Yn=fe(`X`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]);k({operation:D(`read-library`),computerId:x});var W=w.pipe(O(j(4096)),O(te(e=>e.startsWith(`/`)&&e!==`/`&&!e.includes(`\0`)&&!e.endsWith(`/`)&&!e.split(`/`).some(e=>e===`.`||e===`..`))));k({path:ce(W)});var Xn=`modulepreload`,Zn=function(e,t){return new URL(e,t).href},Qn={},$n=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Zn(t,n),t=s(t),t in Qn)return;Qn[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:Xn,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function er(e,t){return e.computerId===void 0||e.computerId===t}var tr=`@cf/black-forest-labs/flux-2-klein-4b`,nr=`Image creation is unavailable for this Computer right now.`,G={landscape:{height:768,width:1024},portrait:{height:1024,width:768},square:{height:1024,width:1024}},rr=[`landscape`,`portrait`,`square`];function ir(e){return e instanceof je&&e.stage===`provider`&&e.provider!==void 0&&`reason`in e.provider&&e.provider.reason===`credits_exhausted`}function ar(e){return ir(e)?{title:`AI Gateway credits unavailable`,message:`Cloudflare AI Gateway couldn't fund this request. Check the account's credits and billing in the Cloudflare dashboard under AI Gateway, or choose a Workers AI model such as Flux.${e.code===`MEDIA_PROVIDER_FAILURE_UNCHARGED`?` You weren't charged.`:``}`,retryable:!1}:l(e,{INSUFFICIENT_CREDIT:{title:`Couldn’t create image`,message:`Media generation needs Team credits. Add credits in Billing, then retry.`},MEDIA_PROVIDER_FAILURE:{title:`Generation failed`,message:`The model stopped before it finished. Retry, or pick another model.`},MEDIA_PROVIDER_FAILURE_UNCHARGED:{title:`Generation failed`,message:`The model stopped before it finished. You weren’t charged. Retry, or pick another model.`},SAFETY_FILTER_REFUSED:{title:`Generation refused`,message:`The model refused this prompt. Change the prompt or reference image, then retry.`},TIMEOUT:{title:`Still waiting`,message:`The model didn’t answer in time. Retry to ask again.`},SETUP_REQUIRED:{title:`Setup needed`,message:`This model isn’t connected. Connect one in Settings, then retry.`},DISCONNECTED:{title:`Connection lost`,message:`Prints lost its connection. Reopen it, then retry.`},HOST_FAILURE:{title:`Couldn’t create image`,message:`The service couldn’t finish this just now. Retry in a moment.`}})}function or(e){let t=Ce(k({code:f(ae)}))(e);return{reason:t._tag===`Some`?t.value.code:ir(e)?`INSUFFICIENT_CREDIT`:`UNKNOWN`,message:ar(e).message}}function sr(){return{destination:void 0,height:768,model:tr,prompt:``,references:[],steps:void 0,width:1024}}function cr(e,t,n=`png`){if(e.trim().length===0)throw Error(`Media generation token must not be empty.`);let r=e.trim();if(!/^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$/.test(r))throw Error(`Media generation basename contains invalid characters.`);return`${t.replace(/\/$/,``)}/generated-${r}.${n}`}function lr(e,t,n){let r=e.destination?.trim();if(r)return r;let i=n?.outputFormats.includes(`png`)?`png`:n?.outputFormats[0]??`png`,a=n?.kind===`video`?`mp4`:i===`jpeg`?`jpg`:i;return cr(Ot({count:4}),t,a)}function ur(e){return e?.kind===`video`?`Generate video`:`Generate image`}function dr(e,t,n=!1){if(e===void 0)return`Creating media…`;if(e.kind!==`video`)return`Creating image…`;if(t===void 0)return`Creating video… Videos take about 2 minutes`;let r=Math.max(0,Math.floor(t/1e3));return`Creating video… ${String(Math.floor(r/60))}:${String(r%60).padStart(2,`0`)} elapsed${n?` since reopening`:``} · Videos take about 2 minutes`}var fr=(e,t)=>t===0?e:fr(t,e%t),pr=(e,t,n)=>{if(n!==void 0)return`${String(e)} × ${String(t)} · ${String(n[0])}:${String(n[1])}`;let r=fr(e,t);return`${String(e)} × ${String(t)} · ${String(e/r)}:${String(t/r)}`},mr=[[16,9],[21,9]],K=16;function hr(e){let t=e.input.maxDimension;if(e.kind!==`image`||e.input.dimensions!==`own`||!e.input.maxDimensionDocumented||t===null)return[];let n=Math.floor(t/K)*K;return mr.map(([e,t])=>{let r=Math.round(n*t/e/K)*K;return{value:`${String(n)}x${String(r)}`,label:pr(n,r,[e,t]),width:n,height:r}})}function gr(e,t,n){if(e?.input.dimensions===`none`)return null;let r=e?.video?.formats.find(e=>e.width===t&&e.height===n);if(r!==void 0)return`${r.resolution} ${r.aspectRatio}`;let i=fr(t,n),a=t/i,o=n/i;return a<=21&&o<=21?`${String(a)}:${String(o)}`:`${String(t)} × ${String(n)}`}function _r(e){return e?.video!==void 0&&e.video!==null?e.video.formats.map(e=>({value:`${String(e.width)}x${String(e.height)}`,label:`${e.resolution} · ${e.aspectRatio} · ${String(e.width)} × ${String(e.height)}`,width:e.width,height:e.height})):e!==void 0&&e.sizes!==null?e.sizes.flatMap(e=>{let t=/^(\d+)x(\d+)$/u.exec(e);if(t===null)return[];let n=Number(t[1]),r=Number(t[2]);return[{value:e,label:pr(n,r),width:n,height:r}]}):[...rr.map(e=>({value:e,label:pr(G[e].width,G[e].height),...G[e]})),...e===void 0?[]:hr(e)]}function vr(e,t,n){return n?.kind===`video`&&t.kind===`video`||t.input.dimensions!==`none`&&c(Me(Or(()=>t))({model:t.id,width:e.width,height:e.height}))?{width:e.width,height:e.height}:{width:t.input.defaultWidth,height:t.input.defaultHeight}}function yr(e){return e.label.split(` — `)[0]??e.label}function br(e,t){return e.find(e=>e.id===t)}function xr(e,t){return{...e,height:t.input.defaultHeight,model:t.id,steps:t.input.steps===`fixed`?void 0:t.input.defaultSteps??void 0,durationSeconds:t.video?.defaultSeconds,generateAudio:t.video?.defaultGenerateAudio??void 0,width:t.input.defaultWidth}}var Sr={"first-frame":`First frame`,"last-frame":`Last frame`,reference:`Reference`};function Cr(e,t,n){let r=t[n]?.role,i=r===void 0?0:e.indexOf(r)+1;return[...e.slice(i),...e.slice(0,i)].find(e=>e!==r&&(e===`reference`||!t.some((t,r)=>r!==n&&t.role===e)))}function wr(e){return e?.video?.referenceRoles??[]}function Tr(e,t){let n=wr(t);if(t?.video==null)return e.map(({path:e,computerId:t})=>t===void 0?{path:e}:{path:e,computerId:t});let r=e.map(e=>e.role!==void 0&&n.includes(e.role)?e.role:void 0),i=e=>r.includes(e),a=n.includes(`last-frame`),o=i(`reference`)||!i(`first-frame`)&&!i(`last-frame`)&&e.length>(a?2:1);return e.map((e,t)=>{let s=r[t];return s===void 0&&(s=o&&n.includes(`reference`)?`reference`:!i(`first-frame`)&&n.includes(`first-frame`)?`first-frame`:a&&!i(`last-frame`)?`last-frame`:n.includes(`reference`)?`reference`:`first-frame`,r[t]=s),{...e,role:s}})}function Er(e,t,n){let r=t.video;if(r===null||e.length===0)return;let i=t=>e.filter(e=>e.role===t).length,a=i(`first-frame`),o=i(`last-frame`),s=i(`reference`);if(a>1||o>1)return r.referenceRoles.includes(`last-frame`)?`${t.label} takes one first frame and one last frame.`:`${t.label} takes one first frame.`;if(o>0&&a===0)return`A last frame needs a first frame as well.`;if(s>0&&a+o>0)return`Frames and references cannot be mixed. Use a first and last frame, or references.`;if(s>r.maxReferenceImages)return r.maxReferenceImages===0?`${t.label} takes no reference images.`:`${t.label} takes up to ${String(r.maxReferenceImages)} reference images.`;if(s>0&&n!==void 0&&!r.referenceResolutions.some(e=>e===n))return`${t.label} takes reference images only at ${r.referenceResolutions.join(`, `)}.`}function Dr(e,t){let n=t.video?.formats.find(t=>t.width===e.width&&t.height===e.height);if(t.kind===`video`&&n===void 0)throw Error(`Choose a supported video resolution and aspect ratio.`);let r={height:e.height,model:e.model,prompt:e.prompt.trim(),width:e.width};return n!==void 0&&(r.resolution=n.resolution,r.aspectRatio=n.aspectRatio),e.steps!==void 0&&(r.steps=e.steps),e.durationSeconds!==void 0&&(r.durationSeconds=e.durationSeconds),e.references.length>0&&(r.references=Tr(e.references,t)),t.video?.supportsAudio===!0&&e.generateAudio!==void 0&&(r.generateAudio=e.generateAudio),{destination:{path:e.destination?.trim()??``},settings:r}}function Or(e){return k({model:w,width:y,height:y,durationSeconds:Fe(xe(y)),steps:Fe(xe(y))}).check(te(t=>{let n=e(t.model);if(!Number.isSafeInteger(t.width)||t.width<1)return{path:[`width`],issue:`Width must be a positive integer.`};if(!Number.isSafeInteger(t.height)||t.height<1)return{path:[`height`],issue:`Height must be a positive integer.`};if(n!==void 0){if(n.input.dimensions===`own`){let e=n.input.maxDimension??4096;if(t.width<256||t.height<256)return{path:[t.width<256?`width`:`height`],issue:`${n.label} requires dimensions of at least 256 × 256.`};if(t.width>e||t.height>e)return{path:[t.width>e?`width`:`height`],issue:`${n.label} accepts dimensions up to ${String(e)}.`}}if(n.sizes!==null&&!n.sizes.includes(`${String(t.width)}x${String(t.height)}`))return{path:[`width`],issue:`${n.label} accepts only these sizes: ${n.sizes.join(`, `)}.`};if(n.video!==null&&t.durationSeconds!==void 0&&(!Number.isSafeInteger(t.durationSeconds)||t.durationSeconds<n.video.minSeconds||t.durationSeconds>n.video.maxSeconds))return{path:[`durationSeconds`],issue:`${n.label} makes clips from ${String(n.video.minSeconds)} to ${String(n.video.maxSeconds)} seconds.`};if(n.input.steps===`fixed`&&t.steps!==void 0)return{path:[`steps`],issue:`${n.label} uses fixed steps.`};if(t.steps!==void 0&&(!Number.isSafeInteger(t.steps)||t.steps<1||n.input.maxSteps!==null&&t.steps>n.input.maxSteps))return{path:[`steps`],issue:`${n.label} accepts at most ${String(n.input.maxSteps??`the provider limit`)} steps.`}}}))}function kr(e,t){let n=e.trim().length;return n>t.maxPromptLength?{length:n,excess:n-t.maxPromptLength}:null}function Ar(e,n){if(e.destination?.trim().length===0)return`A destination file path is required.`;if(e.prompt.trim().length===0)return n?.kind===`video`?`Describe the video to generate.`:`Describe the image to generate.`;if(n===void 0)return`Choose a model from the granted registry.`;let r=kr(e.prompt,n);if(r!==null)return`${n.label} accepts prompts up to ${String(n.maxPromptLength)} characters; this one is ${String(r.length)}. Shorten it by ${String(r.excess)}.`;let i=Me(Or(()=>n))(e);if(ie(i))return t()(i.failure.issue).issues.map(e=>e.message).join(` `);if(e.references.length>n.input.maxReferences)return`${n.label} accepts at most ${String(n.input.maxReferences)} reference images.`;if(e.references.length>0&&n.input.referenceField===null)return`${n.label} does not accept reference images.`;if(n.video!==null){let t=n.video.formats.find(t=>t.width===e.width&&t.height===e.height);return Er(Tr(e.references,n),n,t?.resolution)}}var q=x,jr=x.pipe(O(j(1024))),Mr=b(jr).pipe(O(j(200)));S([k({operation:D(`read-notices`),computerId:q}),k({operation:D(`dismiss-notices`),computerId:q,keys:Mr})]);var Nr=k({keys:Mr});async function Pr(e,t){return C(Nr)(await e.require(L).request(JSON.stringify(t)))}S([k({operation:D(`read-folder`),computerId:q}),k({operation:D(`select-folder`),computerId:q,path:W})]);var Fr=k({path:W,configured:oe});async function Ir(e,t){return C(Fr)(await e.require(L).request(JSON.stringify(t)))}var Lr=2048,Rr=8e3,zr=[{name:`Anime cel`,text:`Anime cel illustration with clean ink outlines, flat cel shading, and a limited palette of saturated colors. Soft painted backgrounds, expressive eyes, and crisp highlights, in the look of a hand-drawn animation frame.`},{name:`Cinematic film still`,text:`Cinematic film still shot on anamorphic lenses with shallow depth of field. Moody, motivated lighting, subtle film grain, and a considered color grade, composed like a frame from a feature film.`},{name:`Watercolor`,text:`Soft watercolor painting on textured paper, with translucent washes, visible pigment bleeds, and gentle color gradients. Loose brushwork, white paper left showing at the edges, and a calm, airy mood.`},{name:`Pixel art`,text:`Pixel art with a limited color palette, crisp square pixels, and no anti-aliasing. Clear readable silhouettes, dithered shading, and the charm of a classic 16-bit game sprite or scene.`},{name:`Product photo`,text:`Professional product photograph on a seamless studio background. Soft diffused lighting with gentle shadows, sharp focus across the subject, accurate colors, and clean, minimal composition suited to a catalog.`},{name:`Comic ink`,text:`Comic book panel with bold black ink linework, hatching and crosshatched shadows, and flat vivid colors. Dynamic angles, strong contrast, and a printed halftone texture.`}].map((e,t)=>({...e,id:-(t+1),builtIn:!0})),J=w.pipe(O(ue(1)),O(j(64))),Br=w.pipe(O(ue(1)),O(j(Rr))),Y=x,Vr=k({id:p,name:J,text:Br,builtIn:oe});S([k({operation:D(`list-styles`),computerId:Y}),k({operation:D(`save-style`),computerId:Y,id:r(p),name:J,text:Br}),k({operation:D(`delete-style`),computerId:Y,id:p}),k({operation:D(`read-print-style`),computerId:Y,path:x})]);var Hr=k({styles:b(Vr).pipe(O(j(50+zr.length)))}),Ur=k({style:ce(J)});function Wr(e,t){let n=t.trim();return e===void 0?n:`${e.trim()}\n\n${n}`}function Gr(e){return e?.maxPromptLength??Lr}function Kr(e,t,n,r=[]){if(e.length<=t)return;let i=`${String(e.length)} characters; this model accepts at most ${String(t)}.`,a=r.map(e=>`@${e}`).join(`, `);return n!==void 0&&a!==``?`The "${n}" style and your prompt with ${a} expanded total ${i}`:n===void 0?a===``?`The prompt is ${i}`:`Your prompt with ${a} expanded is ${i}`:`The "${n}" style and your prompt total ${i}`}var X=e=>e.require(L),Z=e=>JSON.stringify(e),qr=C(Hr);async function Jr(e,t){return qr(await X(e).request(Z({operation:`list-styles`,computerId:t})))}async function Yr(e,t,n){return qr(await X(e).request(Z({operation:`save-style`,computerId:t,id:n.id,name:n.name,text:n.text})))}async function Xr(e,t,n){return qr(await X(e).request(Z({operation:`delete-style`,computerId:t,id:n})))}async function Zr(e,t,n){return C(Ur)(await X(e).request(Z({operation:`read-print-style`,computerId:t,path:n})))}var Qr=8,$r=w.pipe(O(ue(1)),O(j(32)),O(Le(/^[\p{L}\p{N}_-]+$/u))),ei=w.pipe(O(j(500))),ti=x.pipe(O(j(4096))),ni=b(k({path:ti})).pipe(O(j(8))),ri=x,ii=k({id:p,name:$r,description:ei,references:ni});S([k({operation:D(`list-characters`),computerId:ri}),k({operation:D(`save-character`),computerId:ri,id:r(p),name:$r,description:ei,references:ni}),k({operation:D(`delete-character`),computerId:ri,id:p})]);var ai=k({characters:b(ii).pipe(O(j(50)))}),oi=(e,t)=>e.toLowerCase()===t.toLowerCase(),si=/(?<![\p{L}\p{N}_@-])@([\p{L}\p{N}_-]+)/gu;function ci(e){let t=[];for(let n of e.matchAll(si)){let e=n.at(1);e!==void 0&&!t.some(t=>oi(t,e))&&t.push(e)}return t}function Q(e,t){let n=[];return{prompt:e.replace(si,(e,r)=>{let i=t.find(e=>oi(e.name,r));if(i===void 0)return e;let a=!n.includes(i);return a&&n.push(i),a&&i.description.trim()!==``?`${i.name} (${i.description.trim()})`:i.name}),characters:n}}function li(e,t,n){let r=e.trim();return Wr(t,Q(r,n).prompt).length-r.length}function ui(e,t){let n=ci(e),r=t.filter(e=>!n.some(t=>oi(t,e)));return r.length===0?e:`${r.map(e=>`@${e}`).join(` `)} ${e}`}function di(e,t,n){let r=(e,t)=>e.path===t&&(e.computerId===void 0||e.computerId===n),i=[...e];for(let e of t)for(let t of e.references)i.some(e=>r(e,t.path))||i.push({path:t.path});return i}function fi(e){let t=Q(ui(e.prompt,e.names??[]),e.saved),n=di(e.references,t.characters,e.computerId),r=n.length-e.references.length;if(e.model!==void 0&&r>0&&n.length>e.model.maxReferences){let n=t.characters.map(e=>e.name).join(`, `);return{kind:`refused`,message:e.model.maxReferences===0?`${e.model.label} does not take reference images, so it cannot use ${n}.`:`${n} add ${String(r)} reference ${r===1?`image`:`images`} to your ${String(e.references.length)}; ${e.model.label} accepts at most ${String(e.model.maxReferences)}.`}}return{kind:`ready`,prompt:t.prompt,references:n,characters:t.characters}}function pi(e,t){let n=/(?<![\p{L}\p{N}_@-])@([\p{L}\p{N}_-]*)$/u.exec(e.slice(0,t));return n===null?null:{start:n.index,query:n.at(1)??``}}function mi(e,t){let n=t.toLowerCase(),r=e=>e.name.toLowerCase();return[...e.filter(e=>r(e).startsWith(n)),...e.filter(e=>!r(e).startsWith(n)&&r(e).includes(n))].slice(0,Qr)}var hi=e=>e.require(L),gi=e=>JSON.stringify(e),_i=C(ai);async function vi(e,t){return _i(await hi(e).request(gi({operation:`list-characters`,computerId:t})))}async function yi(e,t,n){return _i(await hi(e).request(gi({operation:`save-character`,computerId:t,id:n.id,name:n.name,description:n.description,references:n.references})))}async function bi(e,t,n){return _i(await hi(e).request(gi({operation:`delete-character`,computerId:t,id:n})))}var $={models:e=>F.of(e,`prints`,`models`),folder:e=>F.of(e,`prints`,`folder`),dismissals:e=>F.of(e,`prints`,`dismissals`),styles:e=>F.of(e,`prints`,`styles`),printStyle:(e,t)=>F.of(e,`prints`,`print-style`,t),characters:e=>F.of(e,`prints`,`characters`)};function xi(e){return{...I(e,De,$.models(e),async(t,n)=>{if(!e)throw Error(`Prints is disconnected`);let r=await Oe(e.capabilities);return n.throwIfAborted(),r}),enabled:!!(e?.context.get().computerId&&e.capabilities.has(De)),structuralSharing:!1}}function Si(e){let t=e?.context.get().computerId;return{...I(e,L,$.folder(e),async(r,i)=>{if(!e||!t)throw Error(`No Computer selected`);let a=await Ir(e.capabilities,{operation:`read-folder`,computerId:t});if(i.throwIfAborted(),e.context.get().computerId!==t)throw new n(`Computer selection changed`,{code:`SELECTION_CHANGED`,retryable:!1});return a}),enabled:!!(t&&e.capabilities.has(L))}}function Ci(e){let t=e?.context.get().computerId;return{...I(e,L,$.dismissals(e),async(n,r)=>{if(!e||!t)throw Error(`No Computer selected`);let i=await Pr(e.capabilities,{operation:`read-notices`,computerId:t});return r.throwIfAborted(),i}),enabled:!!(t&&e.capabilities.has(L))}}function wi(e){let t=e?.context.get().computerId;return{...I(e,L,$.styles(e),async(n,r)=>{if(!e||!t)throw Error(`No Computer selected`);let i=await Jr(e.capabilities,t);return r.throwIfAborted(),i}),enabled:!!(t&&e.capabilities.has(L))}}function Ti(e,t){let n=e?.context.get().computerId;return{...I(e,L,$.printStyle(e,t??``),async(r,i)=>{if(!e||!n||t===null)throw Error(`No print selected`);let a=await Zr(e.capabilities,n,t);return i.throwIfAborted(),a}),enabled:!!(n&&t!==null&&e.capabilities.has(L))}}function Ei(e){let t=e?.context.get().computerId;return{...I(e,L,$.characters(e),async(n,r)=>{if(!e||!t)throw Error(`No Computer selected`);let i=await vi(e.capabilities,t);return r.throwIfAborted(),i}),enabled:!!(t&&e.capabilities.has(L))}}function Di({checked:e}){let t=`caps-switch-${(0,N.useId)().replaceAll(`:`,``)}`,n=(0,N.useRef)(null),r=(0,N.useRef)(null),i=(0,N.useRef)(e).current,a=(0,N.useRef)(e),o=hn();return(0,N.useLayoutEffect)(()=>{if(!n.current||!r.current)return;let t=o||a.current===e;a.current=e;let i=e?16:8,s=V(n.current),c=Gn(s,{bounce:.25,duration:440}),l=Kn(s,{ease:`inOutSine`,duration:100}),u=Ge(n.current,t?{x:2,y:2,width:i,height:8,duration:0}:{x:[{to:e?2.5:1.5,...l},{to:2,...c}],y:[{to:1.5,...l},{to:2,...c}],height:[{to:9,...l},{to:8,...c}],width:[{to:e?7:16.5,...l},{to:i,...c}]}),d=Ge(r.current,{gradientTransform:e?`matrix(2 0 0 1 10 6)`:`matrix(1 0 0 1 6 6)`,...t?{duration:0}:{delay:l.duration,...c}});return()=>{u.cancel(),d.cancel()}},[e,o]),(0,P.jsxs)(`svg`,{className:`caps-switch-visual`,width:`40`,height:`24`,viewBox:`0 0 20 12`,"aria-hidden":`true`,focusable:`false`,children:[(0,P.jsxs)(`defs`,{children:[(0,P.jsx)(vn,{ref:r,id:`${t}-surface`,transform:i?`matrix(2 0 0 1 10 6)`:`matrix(1 0 0 1 6 6)`}),(0,P.jsx)(yn,{id:`${t}-shadow`}),(0,P.jsx)(bn,{id:`${t}-inset`}),(0,P.jsx)(`clipPath`,{id:`${t}-track`,children:(0,P.jsx)(`rect`,{x:`1`,y:`1`,width:`18`,height:`10`,rx:`5`})})]}),(0,P.jsx)(`rect`,{className:`caps-switch-track`,filter:`url(#${t}-inset)`,x:`0.5`,y:`0.5`,width:`19`,height:`11`,rx:`5.5`}),(0,P.jsx)(`g`,{clipPath:`url(#${t}-track)`,children:(0,P.jsx)(`rect`,{ref:n,x:`2`,y:`2`,width:i?16:8,height:`8`,rx:`4`,fill:`url(#${t}-surface)`,filter:`url(#${t}-shadow)`})})]})}var Oi=(0,N.forwardRef)(function({className:e,checked:t,defaultChecked:n=!1,onChange:r,onCheckedChange:i,...a},o){let s=(0,N.useRef)(null),[c,l]=(0,N.useState)(n),u=t??c;return(0,N.useImperativeHandle)(o,()=>{if(!s.current)throw Error(`Switch input is not mounted`);return s.current},[]),(0,N.useEffect)(()=>{let e=s.current?.form;if(!e||t!==void 0)return;let r=e=>{queueMicrotask(()=>{!e.defaultPrevented&&s.current&&l(n)})};return e.addEventListener(`reset`,r),()=>{e.removeEventListener(`reset`,r)}},[t,n,a.form]),(0,P.jsxs)(`span`,{className:`caps-switch`,"data-checked":u,children:[(0,P.jsx)(`input`,{...a,checked:u,className:A(`caps-switch-input`,e),onChange:e=>{t===void 0&&l(e.target.checked),r?.(e),i?.(e.target.checked)},ref:s,role:`switch`,type:`checkbox`}),(0,P.jsx)(Di,{checked:u})]})}),ki=(0,N.forwardRef)(function({className:e,density:t=`regular`,...n},r){return(0,P.jsx)(`ul`,{...n,className:A(`list`,t===`compact`&&`list-sm`,e),ref:r})}),Ai=(0,N.forwardRef)(function({className:e,...t},n){return(0,P.jsx)(`li`,{...t,className:A(`list-row`,e),ref:n})});(0,N.forwardRef)(function({className:e,icon:t,label:n,children:r,...i},a){return(0,P.jsxs)(`li`,{...i,className:A(`list-row caps-fact`,e),ref:a,children:[(0,P.jsxs)(`span`,{className:`caps-fact-label`,children:[t?(0,P.jsx)(`span`,{className:`caps-fact-icon`,"aria-hidden":`true`,children:t}):null,n]}),(0,P.jsx)(`span`,{className:`caps-fact-value`,children:r})]})});var ji=(0,N.forwardRef)(function({aside:e,children:t,className:n,level:r=2,...i},a){return(0,P.jsxs)(r===3?`h3`:`h2`,{...i,className:A(`caps-data-list-heading`,n),ref:a,children:[(0,P.jsx)(`span`,{children:t}),e===void 0?null:(0,P.jsx)(`span`,{className:`caps-data-list-heading-aside`,children:e})]})});export{W as $,Sr as A,Mt as At,dr as B,gt as Bt,Gr as C,Ht as Ct,Ir as D,L as Dt,Pr as E,Bt as Et,xr as F,vt as Ft,Er as G,Xe as Gt,br as H,dt as Ht,ur as I,bt as It,gr as J,wr as K,lr as L,yt as Lt,G as M,F as Mt,sr as N,St as Nt,tr as O,Pt as Ot,ar as P,xt as Pt,$n as Q,or as R,ht as Rt,Kr as S,Ut as St,J as T,Vt as Tt,yr as U,tt as Ut,er as V,mt as Vt,Cr as W,Ye as Wt,vr as X,_r as Y,Ar as Z,fi as _,H as _t,Si as a,Gn as at,Wr as b,sn as bt,Ti as c,Mn as ct,wi as d,bn as dt,Yn as et,li as f,yn as ft,pi as g,U as gt,Q as h,gn as ht,Oi as i,Kn as it,rr as j,Nt as jt,nr as k,I as kt,$ as l,Cn as lt,bi as m,xn as mt,ji as n,qn as nt,xi as o,Un as ot,$r as p,vn as pt,Tr as q,Ai as r,Wn as rt,Ci as s,Fn as st,ki as t,Jn as tt,Ei as u,Sn as ut,yi as v,cn as vt,Yr as w,Wt as wt,Xr as x,hn as xt,mi as y,V as yt,Dr as z,_t as zt};