ryugi-artifacts 1.51.1 → 1.51.2

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.
@@ -0,0 +1,1371 @@
1
+ import { n as e } from "./rolldown-runtime-5HNE8Q1r.js";
2
+ import { O as t, d as n } from "./PreviewView-cwr1vkQ0.js";
3
+ import { a as r } from "./i18n-B_9P4TsB.js";
4
+ import { t as i } from "./tokens.stylex-CuqOcC9Y.js";
5
+ import { memo as a, useEffect as o, useId as s, useLayoutEffect as c, useRef as l, useState as u } from "react";
6
+ import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
7
+ import { Maximize2 as m, Repeat as h } from "lucide-react";
8
+ import { motion as g } from "motion/react";
9
+ //#region node_modules/.pnpm/@lobehub+ui@6.10.2_@lobehub+fluent-emoji@5.0.1_react-dom@19.3.1_react@19.3.1__react@19._fda58c752d8f69d3b405ba296a279712/node_modules/@lobehub/ui/es/stylex/cssVar.stylex.js
10
+ var _ = {
11
+ borderRadiusOuter: "var(--lobe-border-radius-outer)",
12
+ colorTextLightSolid: "var(--lobe-color-text-light-solid)",
13
+ colorWhite: "var(--lobe-color-white)",
14
+ controlHeightLG: "var(--lobe-control-height-lg)",
15
+ controlHeightSM: "var(--lobe-control-height-sm)",
16
+ controlHeightXS: "var(--lobe-control-height-xs)",
17
+ controlInteractiveSize: "var(--lobe-control-interactive-size)",
18
+ controlOutlineWidth: "var(--lobe-control-outline-width)",
19
+ controlPaddingHorizontal: "var(--lobe-control-padding-horizontal)",
20
+ controlPaddingHorizontalSM: "var(--lobe-control-padding-horizontal-sm)",
21
+ fontHeight: "var(--lobe-font-height)",
22
+ fontHeightLG: "var(--lobe-font-height-lg)",
23
+ fontHeightSM: "var(--lobe-font-height-sm)",
24
+ fontSize: "var(--lobe-font-size)",
25
+ fontSizeHeading1: "var(--lobe-font-size-heading-1)",
26
+ fontSizeHeading2: "var(--lobe-font-size-heading-2)",
27
+ fontSizeHeading3: "var(--lobe-font-size-heading-3)",
28
+ fontSizeHeading4: "var(--lobe-font-size-heading-4)",
29
+ fontSizeHeading5: "var(--lobe-font-size-heading-5)",
30
+ fontSizeIcon: "var(--lobe-font-size-icon)",
31
+ fontSizeLG: "var(--lobe-font-size-lg)",
32
+ fontSizeSM: "var(--lobe-font-size-sm)",
33
+ fontSizeXL: "var(--lobe-font-size-xl)",
34
+ fontWeightStrong: "var(--lobe-font-weight-strong)",
35
+ lineHeight: "var(--lobe-line-height)",
36
+ lineHeightHeading1: "var(--lobe-line-height-heading-1)",
37
+ lineHeightHeading2: "var(--lobe-line-height-heading-2)",
38
+ lineHeightHeading3: "var(--lobe-line-height-heading-3)",
39
+ lineHeightHeading4: "var(--lobe-line-height-heading-4)",
40
+ lineHeightHeading5: "var(--lobe-line-height-heading-5)",
41
+ lineHeightLG: "var(--lobe-line-height-lg)",
42
+ lineHeightSM: "var(--lobe-line-height-sm)",
43
+ lineType: "var(--lobe-line-type)",
44
+ lineWidth: "var(--lobe-line-width)",
45
+ lineWidthBold: "var(--lobe-line-width-bold)",
46
+ lineWidthFocus: "var(--lobe-line-width-focus)",
47
+ linkDecoration: "var(--lobe-link-decoration)",
48
+ linkFocusDecoration: "var(--lobe-link-focus-decoration)",
49
+ linkHoverDecoration: "var(--lobe-link-hover-decoration)",
50
+ margin: "var(--lobe-margin)",
51
+ marginLG: "var(--lobe-margin-lg)",
52
+ marginMD: "var(--lobe-margin-md)",
53
+ marginSM: "var(--lobe-margin-sm)",
54
+ marginXL: "var(--lobe-margin-xl)",
55
+ marginXS: "var(--lobe-margin-xs)",
56
+ marginXXL: "var(--lobe-margin-xxl)",
57
+ marginXXS: "var(--lobe-margin-xxs)",
58
+ motionDurationFast: "var(--lobe-motion-duration-fast)",
59
+ motionDurationMid: "var(--lobe-motion-duration-mid)",
60
+ motionDurationSlow: "var(--lobe-motion-duration-slow)",
61
+ motionEaseInBack: "var(--lobe-motion-ease-in-back)",
62
+ motionEaseInOut: "var(--lobe-motion-ease-in-out)",
63
+ motionEaseInOutCirc: "var(--lobe-motion-ease-in-out-circ)",
64
+ motionEaseInQuint: "var(--lobe-motion-ease-in-quint)",
65
+ motionEaseOut: "var(--lobe-motion-ease-out)",
66
+ motionEaseOutBack: "var(--lobe-motion-ease-out-back)",
67
+ motionEaseOutCirc: "var(--lobe-motion-ease-out-circ)",
68
+ motionEaseOutQuint: "var(--lobe-motion-ease-out-quint)",
69
+ motionSpringBouncy: "var(--lobe-motion-spring-bouncy)",
70
+ motionSpringSmooth: "var(--lobe-motion-spring-smooth)",
71
+ motionSpringSnappy: "var(--lobe-motion-spring-snappy)",
72
+ opacityImage: "var(--lobe-opacity-image)",
73
+ opacityLoading: "var(--lobe-opacity-loading)",
74
+ padding: "var(--lobe-padding)",
75
+ paddingContentHorizontal: "var(--lobe-padding-content-horizontal)",
76
+ paddingContentHorizontalLG: "var(--lobe-padding-content-horizontal-lg)",
77
+ paddingContentHorizontalSM: "var(--lobe-padding-content-horizontal-sm)",
78
+ paddingContentVertical: "var(--lobe-padding-content-vertical)",
79
+ paddingContentVerticalLG: "var(--lobe-padding-content-vertical-lg)",
80
+ paddingContentVerticalSM: "var(--lobe-padding-content-vertical-sm)",
81
+ paddingLG: "var(--lobe-padding-lg)",
82
+ paddingMD: "var(--lobe-padding-md)",
83
+ paddingSM: "var(--lobe-padding-sm)",
84
+ paddingXL: "var(--lobe-padding-xl)",
85
+ paddingXS: "var(--lobe-padding-xs)",
86
+ paddingXXS: "var(--lobe-padding-xxs)",
87
+ pink: "var(--lobe-pink)",
88
+ screenLG: "var(--lobe-screen-lg)",
89
+ screenLGMax: "var(--lobe-screen-lg-max)",
90
+ screenLGMin: "var(--lobe-screen-lg-min)",
91
+ screenMD: "var(--lobe-screen-md)",
92
+ screenMDMax: "var(--lobe-screen-md-max)",
93
+ screenMDMin: "var(--lobe-screen-md-min)",
94
+ screenSM: "var(--lobe-screen-sm)",
95
+ screenSMMax: "var(--lobe-screen-sm-max)",
96
+ screenSMMin: "var(--lobe-screen-sm-min)",
97
+ screenXL: "var(--lobe-screen-xl)",
98
+ screenXLMax: "var(--lobe-screen-xl-max)",
99
+ screenXLMin: "var(--lobe-screen-xl-min)",
100
+ screenXS: "var(--lobe-screen-xs)",
101
+ screenXSMax: "var(--lobe-screen-xs-max)",
102
+ screenXSMin: "var(--lobe-screen-xs-min)",
103
+ screenXXL: "var(--lobe-screen-xxl)",
104
+ screenXXLMax: "var(--lobe-screen-xxl-max)",
105
+ screenXXLMin: "var(--lobe-screen-xxl-min)",
106
+ screenXXXL: "var(--lobe-screen-xxxl)",
107
+ screenXXXLMin: "var(--lobe-screen-xxxl-min)",
108
+ size: "var(--lobe-size)",
109
+ sizeLG: "var(--lobe-size-lg)",
110
+ sizeMD: "var(--lobe-size-md)",
111
+ sizeMS: "var(--lobe-size-ms)",
112
+ sizePopupArrow: "var(--lobe-size-popup-arrow)",
113
+ sizeSM: "var(--lobe-size-sm)",
114
+ sizeStep: "var(--lobe-size-step)",
115
+ sizeUnit: "var(--lobe-size-unit)",
116
+ sizeXL: "var(--lobe-size-xl)",
117
+ sizeXS: "var(--lobe-size-xs)",
118
+ sizeXXL: "var(--lobe-size-xxl)",
119
+ sizeXXS: "var(--lobe-size-xxs)",
120
+ zIndexBase: "var(--lobe-z-index-base)",
121
+ zIndexPopupBase: "var(--lobe-z-index-popup-base)",
122
+ borderRadius: "var(--lobe-border-radius)",
123
+ borderRadiusLG: "var(--lobe-border-radius-lg)",
124
+ borderRadiusSM: "var(--lobe-border-radius-sm)",
125
+ borderRadiusXS: "var(--lobe-border-radius-xs)",
126
+ controlHeight: "var(--lobe-control-height)",
127
+ fontFamily: "var(--lobe-font-family)",
128
+ fontFamilyCode: "var(--lobe-font-family-code)",
129
+ boxShadowCard: "var(--lobe-box-shadow-card)",
130
+ boxShadowDrawerDown: "var(--lobe-box-shadow-drawer-down)",
131
+ boxShadowDrawerLeft: "var(--lobe-box-shadow-drawer-left)",
132
+ boxShadowDrawerRight: "var(--lobe-box-shadow-drawer-right)",
133
+ boxShadowDrawerUp: "var(--lobe-box-shadow-drawer-up)",
134
+ boxShadowPopoverArrow: "var(--lobe-box-shadow-popover-arrow)",
135
+ boxShadowTabsOverflowBottom: "var(--lobe-box-shadow-tabs-overflow-bottom)",
136
+ boxShadowTabsOverflowLeft: "var(--lobe-box-shadow-tabs-overflow-left)",
137
+ boxShadowTabsOverflowRight: "var(--lobe-box-shadow-tabs-overflow-right)",
138
+ boxShadowTabsOverflowTop: "var(--lobe-box-shadow-tabs-overflow-top)",
139
+ colorBgBase: "var(--lobe-color-bg-base)",
140
+ colorBgBlur: "var(--lobe-color-bg-blur)",
141
+ colorBgSolid: "var(--lobe-color-bg-solid)",
142
+ colorBgSolidActive: "var(--lobe-color-bg-solid-active)",
143
+ colorBgSolidHover: "var(--lobe-color-bg-solid-hover)",
144
+ colorBorderDisabled: "var(--lobe-color-border-disabled)",
145
+ colorErrorBgActive: "var(--lobe-color-error-bg-active)",
146
+ colorErrorBgFilledHover: "var(--lobe-color-error-bg-filled-hover)",
147
+ colorShadow: "var(--lobe-color-shadow)",
148
+ colorTextBase: "var(--lobe-color-text-base)",
149
+ dropShadowPopover: "var(--lobe-drop-shadow-popover)",
150
+ pink1: "var(--lobe-pink-1)",
151
+ pink10: "var(--lobe-pink-10)",
152
+ pink2: "var(--lobe-pink-2)",
153
+ pink3: "var(--lobe-pink-3)",
154
+ pink4: "var(--lobe-pink-4)",
155
+ pink5: "var(--lobe-pink-5)",
156
+ pink6: "var(--lobe-pink-6)",
157
+ pink7: "var(--lobe-pink-7)",
158
+ pink8: "var(--lobe-pink-8)",
159
+ pink9: "var(--lobe-pink-9)",
160
+ pinkActive: "var(--lobe-pink-active)",
161
+ pinkHover: "var(--lobe-pink-hover)",
162
+ colorErrorFill: "var(--lobe-color-error-fill)",
163
+ colorErrorFillSecondary: "var(--lobe-color-error-fill-secondary)",
164
+ colorErrorFillTertiary: "var(--lobe-color-error-fill-tertiary)",
165
+ colorErrorFillQuaternary: "var(--lobe-color-error-fill-quaternary)",
166
+ colorErrorBg: "var(--lobe-color-error-bg)",
167
+ colorErrorBgHover: "var(--lobe-color-error-bg-hover)",
168
+ colorErrorBorder: "var(--lobe-color-error-border)",
169
+ colorErrorBorderHover: "var(--lobe-color-error-border-hover)",
170
+ colorErrorHover: "var(--lobe-color-error-hover)",
171
+ colorError: "var(--lobe-color-error)",
172
+ colorErrorActive: "var(--lobe-color-error-active)",
173
+ colorErrorTextHover: "var(--lobe-color-error-text-hover)",
174
+ colorErrorText: "var(--lobe-color-error-text)",
175
+ colorErrorTextActive: "var(--lobe-color-error-text-active)",
176
+ colorInfoFill: "var(--lobe-color-info-fill)",
177
+ colorInfoFillSecondary: "var(--lobe-color-info-fill-secondary)",
178
+ colorInfoFillTertiary: "var(--lobe-color-info-fill-tertiary)",
179
+ colorInfoFillQuaternary: "var(--lobe-color-info-fill-quaternary)",
180
+ colorInfoBg: "var(--lobe-color-info-bg)",
181
+ colorInfoBgHover: "var(--lobe-color-info-bg-hover)",
182
+ colorInfoBorder: "var(--lobe-color-info-border)",
183
+ colorInfoBorderHover: "var(--lobe-color-info-border-hover)",
184
+ colorInfoHover: "var(--lobe-color-info-hover)",
185
+ colorInfo: "var(--lobe-color-info)",
186
+ colorInfoActive: "var(--lobe-color-info-active)",
187
+ colorInfoTextHover: "var(--lobe-color-info-text-hover)",
188
+ colorInfoText: "var(--lobe-color-info-text)",
189
+ colorInfoTextActive: "var(--lobe-color-info-text-active)",
190
+ colorSuccessFill: "var(--lobe-color-success-fill)",
191
+ colorSuccessFillSecondary: "var(--lobe-color-success-fill-secondary)",
192
+ colorSuccessFillTertiary: "var(--lobe-color-success-fill-tertiary)",
193
+ colorSuccessFillQuaternary: "var(--lobe-color-success-fill-quaternary)",
194
+ colorSuccessBg: "var(--lobe-color-success-bg)",
195
+ colorSuccessBgHover: "var(--lobe-color-success-bg-hover)",
196
+ colorSuccessBorder: "var(--lobe-color-success-border)",
197
+ colorSuccessBorderHover: "var(--lobe-color-success-border-hover)",
198
+ colorSuccessHover: "var(--lobe-color-success-hover)",
199
+ colorSuccess: "var(--lobe-color-success)",
200
+ colorSuccessActive: "var(--lobe-color-success-active)",
201
+ colorSuccessTextHover: "var(--lobe-color-success-text-hover)",
202
+ colorSuccessText: "var(--lobe-color-success-text)",
203
+ colorSuccessTextActive: "var(--lobe-color-success-text-active)",
204
+ colorWarningFill: "var(--lobe-color-warning-fill)",
205
+ colorWarningFillSecondary: "var(--lobe-color-warning-fill-secondary)",
206
+ colorWarningFillTertiary: "var(--lobe-color-warning-fill-tertiary)",
207
+ colorWarningFillQuaternary: "var(--lobe-color-warning-fill-quaternary)",
208
+ colorWarningBg: "var(--lobe-color-warning-bg)",
209
+ colorWarningBgHover: "var(--lobe-color-warning-bg-hover)",
210
+ colorWarningBorder: "var(--lobe-color-warning-border)",
211
+ colorWarningBorderHover: "var(--lobe-color-warning-border-hover)",
212
+ colorWarningHover: "var(--lobe-color-warning-hover)",
213
+ colorWarning: "var(--lobe-color-warning)",
214
+ colorWarningActive: "var(--lobe-color-warning-active)",
215
+ colorWarningTextHover: "var(--lobe-color-warning-text-hover)",
216
+ colorWarningText: "var(--lobe-color-warning-text)",
217
+ colorWarningTextActive: "var(--lobe-color-warning-text-active)",
218
+ blue1: "var(--lobe-blue-1)",
219
+ blue2: "var(--lobe-blue-2)",
220
+ blue3: "var(--lobe-blue-3)",
221
+ blue4: "var(--lobe-blue-4)",
222
+ blue5: "var(--lobe-blue-5)",
223
+ blue6: "var(--lobe-blue-6)",
224
+ blue7: "var(--lobe-blue-7)",
225
+ blue8: "var(--lobe-blue-8)",
226
+ blue9: "var(--lobe-blue-9)",
227
+ blue10: "var(--lobe-blue-10)",
228
+ blue11: "var(--lobe-blue-11)",
229
+ blue1A: "var(--lobe-blue-1-a)",
230
+ blue2A: "var(--lobe-blue-2-a)",
231
+ blue3A: "var(--lobe-blue-3-a)",
232
+ blue4A: "var(--lobe-blue-4-a)",
233
+ blue5A: "var(--lobe-blue-5-a)",
234
+ blue6A: "var(--lobe-blue-6-a)",
235
+ blue7A: "var(--lobe-blue-7-a)",
236
+ blue8A: "var(--lobe-blue-8-a)",
237
+ blue9A: "var(--lobe-blue-9-a)",
238
+ blue10A: "var(--lobe-blue-10-a)",
239
+ blue11A: "var(--lobe-blue-11-a)",
240
+ blueFill: "var(--lobe-blue-fill)",
241
+ blueFillSecondary: "var(--lobe-blue-fill-secondary)",
242
+ blueFillTertiary: "var(--lobe-blue-fill-tertiary)",
243
+ blueFillQuaternary: "var(--lobe-blue-fill-quaternary)",
244
+ blueBg: "var(--lobe-blue-bg)",
245
+ blueBgHover: "var(--lobe-blue-bg-hover)",
246
+ blueBorder: "var(--lobe-blue-border)",
247
+ blueBorderSecondary: "var(--lobe-blue-border-secondary)",
248
+ blueBorderHover: "var(--lobe-blue-border-hover)",
249
+ blueHover: "var(--lobe-blue-hover)",
250
+ blue: "var(--lobe-blue)",
251
+ blueActive: "var(--lobe-blue-active)",
252
+ blueTextHover: "var(--lobe-blue-text-hover)",
253
+ blueText: "var(--lobe-blue-text)",
254
+ blueTextActive: "var(--lobe-blue-text-active)",
255
+ cyan1: "var(--lobe-cyan-1)",
256
+ cyan2: "var(--lobe-cyan-2)",
257
+ cyan3: "var(--lobe-cyan-3)",
258
+ cyan4: "var(--lobe-cyan-4)",
259
+ cyan5: "var(--lobe-cyan-5)",
260
+ cyan6: "var(--lobe-cyan-6)",
261
+ cyan7: "var(--lobe-cyan-7)",
262
+ cyan8: "var(--lobe-cyan-8)",
263
+ cyan9: "var(--lobe-cyan-9)",
264
+ cyan10: "var(--lobe-cyan-10)",
265
+ cyan11: "var(--lobe-cyan-11)",
266
+ cyan1A: "var(--lobe-cyan-1-a)",
267
+ cyan2A: "var(--lobe-cyan-2-a)",
268
+ cyan3A: "var(--lobe-cyan-3-a)",
269
+ cyan4A: "var(--lobe-cyan-4-a)",
270
+ cyan5A: "var(--lobe-cyan-5-a)",
271
+ cyan6A: "var(--lobe-cyan-6-a)",
272
+ cyan7A: "var(--lobe-cyan-7-a)",
273
+ cyan8A: "var(--lobe-cyan-8-a)",
274
+ cyan9A: "var(--lobe-cyan-9-a)",
275
+ cyan10A: "var(--lobe-cyan-10-a)",
276
+ cyan11A: "var(--lobe-cyan-11-a)",
277
+ cyanFill: "var(--lobe-cyan-fill)",
278
+ cyanFillSecondary: "var(--lobe-cyan-fill-secondary)",
279
+ cyanFillTertiary: "var(--lobe-cyan-fill-tertiary)",
280
+ cyanFillQuaternary: "var(--lobe-cyan-fill-quaternary)",
281
+ cyanBg: "var(--lobe-cyan-bg)",
282
+ cyanBgHover: "var(--lobe-cyan-bg-hover)",
283
+ cyanBorder: "var(--lobe-cyan-border)",
284
+ cyanBorderSecondary: "var(--lobe-cyan-border-secondary)",
285
+ cyanBorderHover: "var(--lobe-cyan-border-hover)",
286
+ cyanHover: "var(--lobe-cyan-hover)",
287
+ cyan: "var(--lobe-cyan)",
288
+ cyanActive: "var(--lobe-cyan-active)",
289
+ cyanTextHover: "var(--lobe-cyan-text-hover)",
290
+ cyanText: "var(--lobe-cyan-text)",
291
+ cyanTextActive: "var(--lobe-cyan-text-active)",
292
+ geekblue1: "var(--lobe-geekblue-1)",
293
+ geekblue2: "var(--lobe-geekblue-2)",
294
+ geekblue3: "var(--lobe-geekblue-3)",
295
+ geekblue4: "var(--lobe-geekblue-4)",
296
+ geekblue5: "var(--lobe-geekblue-5)",
297
+ geekblue6: "var(--lobe-geekblue-6)",
298
+ geekblue7: "var(--lobe-geekblue-7)",
299
+ geekblue8: "var(--lobe-geekblue-8)",
300
+ geekblue9: "var(--lobe-geekblue-9)",
301
+ geekblue10: "var(--lobe-geekblue-10)",
302
+ geekblue11: "var(--lobe-geekblue-11)",
303
+ geekblue1A: "var(--lobe-geekblue-1-a)",
304
+ geekblue2A: "var(--lobe-geekblue-2-a)",
305
+ geekblue3A: "var(--lobe-geekblue-3-a)",
306
+ geekblue4A: "var(--lobe-geekblue-4-a)",
307
+ geekblue5A: "var(--lobe-geekblue-5-a)",
308
+ geekblue6A: "var(--lobe-geekblue-6-a)",
309
+ geekblue7A: "var(--lobe-geekblue-7-a)",
310
+ geekblue8A: "var(--lobe-geekblue-8-a)",
311
+ geekblue9A: "var(--lobe-geekblue-9-a)",
312
+ geekblue10A: "var(--lobe-geekblue-10-a)",
313
+ geekblue11A: "var(--lobe-geekblue-11-a)",
314
+ geekblueFill: "var(--lobe-geekblue-fill)",
315
+ geekblueFillSecondary: "var(--lobe-geekblue-fill-secondary)",
316
+ geekblueFillTertiary: "var(--lobe-geekblue-fill-tertiary)",
317
+ geekblueFillQuaternary: "var(--lobe-geekblue-fill-quaternary)",
318
+ geekblueBg: "var(--lobe-geekblue-bg)",
319
+ geekblueBgHover: "var(--lobe-geekblue-bg-hover)",
320
+ geekblueBorder: "var(--lobe-geekblue-border)",
321
+ geekblueBorderSecondary: "var(--lobe-geekblue-border-secondary)",
322
+ geekblueBorderHover: "var(--lobe-geekblue-border-hover)",
323
+ geekblueHover: "var(--lobe-geekblue-hover)",
324
+ geekblue: "var(--lobe-geekblue)",
325
+ geekblueActive: "var(--lobe-geekblue-active)",
326
+ geekblueTextHover: "var(--lobe-geekblue-text-hover)",
327
+ geekblueText: "var(--lobe-geekblue-text)",
328
+ geekblueTextActive: "var(--lobe-geekblue-text-active)",
329
+ gold1: "var(--lobe-gold-1)",
330
+ gold2: "var(--lobe-gold-2)",
331
+ gold3: "var(--lobe-gold-3)",
332
+ gold4: "var(--lobe-gold-4)",
333
+ gold5: "var(--lobe-gold-5)",
334
+ gold6: "var(--lobe-gold-6)",
335
+ gold7: "var(--lobe-gold-7)",
336
+ gold8: "var(--lobe-gold-8)",
337
+ gold9: "var(--lobe-gold-9)",
338
+ gold10: "var(--lobe-gold-10)",
339
+ gold11: "var(--lobe-gold-11)",
340
+ gold1A: "var(--lobe-gold-1-a)",
341
+ gold2A: "var(--lobe-gold-2-a)",
342
+ gold3A: "var(--lobe-gold-3-a)",
343
+ gold4A: "var(--lobe-gold-4-a)",
344
+ gold5A: "var(--lobe-gold-5-a)",
345
+ gold6A: "var(--lobe-gold-6-a)",
346
+ gold7A: "var(--lobe-gold-7-a)",
347
+ gold8A: "var(--lobe-gold-8-a)",
348
+ gold9A: "var(--lobe-gold-9-a)",
349
+ gold10A: "var(--lobe-gold-10-a)",
350
+ gold11A: "var(--lobe-gold-11-a)",
351
+ goldFill: "var(--lobe-gold-fill)",
352
+ goldFillSecondary: "var(--lobe-gold-fill-secondary)",
353
+ goldFillTertiary: "var(--lobe-gold-fill-tertiary)",
354
+ goldFillQuaternary: "var(--lobe-gold-fill-quaternary)",
355
+ goldBg: "var(--lobe-gold-bg)",
356
+ goldBgHover: "var(--lobe-gold-bg-hover)",
357
+ goldBorder: "var(--lobe-gold-border)",
358
+ goldBorderSecondary: "var(--lobe-gold-border-secondary)",
359
+ goldBorderHover: "var(--lobe-gold-border-hover)",
360
+ goldHover: "var(--lobe-gold-hover)",
361
+ gold: "var(--lobe-gold)",
362
+ goldActive: "var(--lobe-gold-active)",
363
+ goldTextHover: "var(--lobe-gold-text-hover)",
364
+ goldText: "var(--lobe-gold-text)",
365
+ goldTextActive: "var(--lobe-gold-text-active)",
366
+ gray1: "var(--lobe-gray-1)",
367
+ gray2: "var(--lobe-gray-2)",
368
+ gray3: "var(--lobe-gray-3)",
369
+ gray4: "var(--lobe-gray-4)",
370
+ gray5: "var(--lobe-gray-5)",
371
+ gray6: "var(--lobe-gray-6)",
372
+ gray7: "var(--lobe-gray-7)",
373
+ gray8: "var(--lobe-gray-8)",
374
+ gray9: "var(--lobe-gray-9)",
375
+ gray10: "var(--lobe-gray-10)",
376
+ gray11: "var(--lobe-gray-11)",
377
+ gray1A: "var(--lobe-gray-1-a)",
378
+ gray2A: "var(--lobe-gray-2-a)",
379
+ gray3A: "var(--lobe-gray-3-a)",
380
+ gray4A: "var(--lobe-gray-4-a)",
381
+ gray5A: "var(--lobe-gray-5-a)",
382
+ gray6A: "var(--lobe-gray-6-a)",
383
+ gray7A: "var(--lobe-gray-7-a)",
384
+ gray8A: "var(--lobe-gray-8-a)",
385
+ gray9A: "var(--lobe-gray-9-a)",
386
+ gray10A: "var(--lobe-gray-10-a)",
387
+ gray11A: "var(--lobe-gray-11-a)",
388
+ grayFill: "var(--lobe-gray-fill)",
389
+ grayFillSecondary: "var(--lobe-gray-fill-secondary)",
390
+ grayFillTertiary: "var(--lobe-gray-fill-tertiary)",
391
+ grayFillQuaternary: "var(--lobe-gray-fill-quaternary)",
392
+ grayBg: "var(--lobe-gray-bg)",
393
+ grayBgHover: "var(--lobe-gray-bg-hover)",
394
+ grayBorder: "var(--lobe-gray-border)",
395
+ grayBorderSecondary: "var(--lobe-gray-border-secondary)",
396
+ grayBorderHover: "var(--lobe-gray-border-hover)",
397
+ grayHover: "var(--lobe-gray-hover)",
398
+ gray: "var(--lobe-gray)",
399
+ grayActive: "var(--lobe-gray-active)",
400
+ grayTextHover: "var(--lobe-gray-text-hover)",
401
+ grayText: "var(--lobe-gray-text)",
402
+ grayTextActive: "var(--lobe-gray-text-active)",
403
+ green1: "var(--lobe-green-1)",
404
+ green2: "var(--lobe-green-2)",
405
+ green3: "var(--lobe-green-3)",
406
+ green4: "var(--lobe-green-4)",
407
+ green5: "var(--lobe-green-5)",
408
+ green6: "var(--lobe-green-6)",
409
+ green7: "var(--lobe-green-7)",
410
+ green8: "var(--lobe-green-8)",
411
+ green9: "var(--lobe-green-9)",
412
+ green10: "var(--lobe-green-10)",
413
+ green11: "var(--lobe-green-11)",
414
+ green1A: "var(--lobe-green-1-a)",
415
+ green2A: "var(--lobe-green-2-a)",
416
+ green3A: "var(--lobe-green-3-a)",
417
+ green4A: "var(--lobe-green-4-a)",
418
+ green5A: "var(--lobe-green-5-a)",
419
+ green6A: "var(--lobe-green-6-a)",
420
+ green7A: "var(--lobe-green-7-a)",
421
+ green8A: "var(--lobe-green-8-a)",
422
+ green9A: "var(--lobe-green-9-a)",
423
+ green10A: "var(--lobe-green-10-a)",
424
+ green11A: "var(--lobe-green-11-a)",
425
+ greenFill: "var(--lobe-green-fill)",
426
+ greenFillSecondary: "var(--lobe-green-fill-secondary)",
427
+ greenFillTertiary: "var(--lobe-green-fill-tertiary)",
428
+ greenFillQuaternary: "var(--lobe-green-fill-quaternary)",
429
+ greenBg: "var(--lobe-green-bg)",
430
+ greenBgHover: "var(--lobe-green-bg-hover)",
431
+ greenBorder: "var(--lobe-green-border)",
432
+ greenBorderSecondary: "var(--lobe-green-border-secondary)",
433
+ greenBorderHover: "var(--lobe-green-border-hover)",
434
+ greenHover: "var(--lobe-green-hover)",
435
+ green: "var(--lobe-green)",
436
+ greenActive: "var(--lobe-green-active)",
437
+ greenTextHover: "var(--lobe-green-text-hover)",
438
+ greenText: "var(--lobe-green-text)",
439
+ greenTextActive: "var(--lobe-green-text-active)",
440
+ lime1: "var(--lobe-lime-1)",
441
+ lime2: "var(--lobe-lime-2)",
442
+ lime3: "var(--lobe-lime-3)",
443
+ lime4: "var(--lobe-lime-4)",
444
+ lime5: "var(--lobe-lime-5)",
445
+ lime6: "var(--lobe-lime-6)",
446
+ lime7: "var(--lobe-lime-7)",
447
+ lime8: "var(--lobe-lime-8)",
448
+ lime9: "var(--lobe-lime-9)",
449
+ lime10: "var(--lobe-lime-10)",
450
+ lime11: "var(--lobe-lime-11)",
451
+ lime1A: "var(--lobe-lime-1-a)",
452
+ lime2A: "var(--lobe-lime-2-a)",
453
+ lime3A: "var(--lobe-lime-3-a)",
454
+ lime4A: "var(--lobe-lime-4-a)",
455
+ lime5A: "var(--lobe-lime-5-a)",
456
+ lime6A: "var(--lobe-lime-6-a)",
457
+ lime7A: "var(--lobe-lime-7-a)",
458
+ lime8A: "var(--lobe-lime-8-a)",
459
+ lime9A: "var(--lobe-lime-9-a)",
460
+ lime10A: "var(--lobe-lime-10-a)",
461
+ lime11A: "var(--lobe-lime-11-a)",
462
+ limeFill: "var(--lobe-lime-fill)",
463
+ limeFillSecondary: "var(--lobe-lime-fill-secondary)",
464
+ limeFillTertiary: "var(--lobe-lime-fill-tertiary)",
465
+ limeFillQuaternary: "var(--lobe-lime-fill-quaternary)",
466
+ limeBg: "var(--lobe-lime-bg)",
467
+ limeBgHover: "var(--lobe-lime-bg-hover)",
468
+ limeBorder: "var(--lobe-lime-border)",
469
+ limeBorderSecondary: "var(--lobe-lime-border-secondary)",
470
+ limeBorderHover: "var(--lobe-lime-border-hover)",
471
+ limeHover: "var(--lobe-lime-hover)",
472
+ lime: "var(--lobe-lime)",
473
+ limeActive: "var(--lobe-lime-active)",
474
+ limeTextHover: "var(--lobe-lime-text-hover)",
475
+ limeText: "var(--lobe-lime-text)",
476
+ limeTextActive: "var(--lobe-lime-text-active)",
477
+ magenta1: "var(--lobe-magenta-1)",
478
+ magenta2: "var(--lobe-magenta-2)",
479
+ magenta3: "var(--lobe-magenta-3)",
480
+ magenta4: "var(--lobe-magenta-4)",
481
+ magenta5: "var(--lobe-magenta-5)",
482
+ magenta6: "var(--lobe-magenta-6)",
483
+ magenta7: "var(--lobe-magenta-7)",
484
+ magenta8: "var(--lobe-magenta-8)",
485
+ magenta9: "var(--lobe-magenta-9)",
486
+ magenta10: "var(--lobe-magenta-10)",
487
+ magenta11: "var(--lobe-magenta-11)",
488
+ magenta1A: "var(--lobe-magenta-1-a)",
489
+ magenta2A: "var(--lobe-magenta-2-a)",
490
+ magenta3A: "var(--lobe-magenta-3-a)",
491
+ magenta4A: "var(--lobe-magenta-4-a)",
492
+ magenta5A: "var(--lobe-magenta-5-a)",
493
+ magenta6A: "var(--lobe-magenta-6-a)",
494
+ magenta7A: "var(--lobe-magenta-7-a)",
495
+ magenta8A: "var(--lobe-magenta-8-a)",
496
+ magenta9A: "var(--lobe-magenta-9-a)",
497
+ magenta10A: "var(--lobe-magenta-10-a)",
498
+ magenta11A: "var(--lobe-magenta-11-a)",
499
+ magentaFill: "var(--lobe-magenta-fill)",
500
+ magentaFillSecondary: "var(--lobe-magenta-fill-secondary)",
501
+ magentaFillTertiary: "var(--lobe-magenta-fill-tertiary)",
502
+ magentaFillQuaternary: "var(--lobe-magenta-fill-quaternary)",
503
+ magentaBg: "var(--lobe-magenta-bg)",
504
+ magentaBgHover: "var(--lobe-magenta-bg-hover)",
505
+ magentaBorder: "var(--lobe-magenta-border)",
506
+ magentaBorderSecondary: "var(--lobe-magenta-border-secondary)",
507
+ magentaBorderHover: "var(--lobe-magenta-border-hover)",
508
+ magentaHover: "var(--lobe-magenta-hover)",
509
+ magenta: "var(--lobe-magenta)",
510
+ magentaActive: "var(--lobe-magenta-active)",
511
+ magentaTextHover: "var(--lobe-magenta-text-hover)",
512
+ magentaText: "var(--lobe-magenta-text)",
513
+ magentaTextActive: "var(--lobe-magenta-text-active)",
514
+ orange1: "var(--lobe-orange-1)",
515
+ orange2: "var(--lobe-orange-2)",
516
+ orange3: "var(--lobe-orange-3)",
517
+ orange4: "var(--lobe-orange-4)",
518
+ orange5: "var(--lobe-orange-5)",
519
+ orange6: "var(--lobe-orange-6)",
520
+ orange7: "var(--lobe-orange-7)",
521
+ orange8: "var(--lobe-orange-8)",
522
+ orange9: "var(--lobe-orange-9)",
523
+ orange10: "var(--lobe-orange-10)",
524
+ orange11: "var(--lobe-orange-11)",
525
+ orange1A: "var(--lobe-orange-1-a)",
526
+ orange2A: "var(--lobe-orange-2-a)",
527
+ orange3A: "var(--lobe-orange-3-a)",
528
+ orange4A: "var(--lobe-orange-4-a)",
529
+ orange5A: "var(--lobe-orange-5-a)",
530
+ orange6A: "var(--lobe-orange-6-a)",
531
+ orange7A: "var(--lobe-orange-7-a)",
532
+ orange8A: "var(--lobe-orange-8-a)",
533
+ orange9A: "var(--lobe-orange-9-a)",
534
+ orange10A: "var(--lobe-orange-10-a)",
535
+ orange11A: "var(--lobe-orange-11-a)",
536
+ orangeFill: "var(--lobe-orange-fill)",
537
+ orangeFillSecondary: "var(--lobe-orange-fill-secondary)",
538
+ orangeFillTertiary: "var(--lobe-orange-fill-tertiary)",
539
+ orangeFillQuaternary: "var(--lobe-orange-fill-quaternary)",
540
+ orangeBg: "var(--lobe-orange-bg)",
541
+ orangeBgHover: "var(--lobe-orange-bg-hover)",
542
+ orangeBorder: "var(--lobe-orange-border)",
543
+ orangeBorderSecondary: "var(--lobe-orange-border-secondary)",
544
+ orangeBorderHover: "var(--lobe-orange-border-hover)",
545
+ orangeHover: "var(--lobe-orange-hover)",
546
+ orange: "var(--lobe-orange)",
547
+ orangeActive: "var(--lobe-orange-active)",
548
+ orangeTextHover: "var(--lobe-orange-text-hover)",
549
+ orangeText: "var(--lobe-orange-text)",
550
+ orangeTextActive: "var(--lobe-orange-text-active)",
551
+ primary1: "var(--lobe-primary-1)",
552
+ primary2: "var(--lobe-primary-2)",
553
+ primary3: "var(--lobe-primary-3)",
554
+ primary4: "var(--lobe-primary-4)",
555
+ primary5: "var(--lobe-primary-5)",
556
+ primary6: "var(--lobe-primary-6)",
557
+ primary7: "var(--lobe-primary-7)",
558
+ primary8: "var(--lobe-primary-8)",
559
+ primary9: "var(--lobe-primary-9)",
560
+ primary10: "var(--lobe-primary-10)",
561
+ primary11: "var(--lobe-primary-11)",
562
+ primary1A: "var(--lobe-primary-1-a)",
563
+ primary2A: "var(--lobe-primary-2-a)",
564
+ primary3A: "var(--lobe-primary-3-a)",
565
+ primary4A: "var(--lobe-primary-4-a)",
566
+ primary5A: "var(--lobe-primary-5-a)",
567
+ primary6A: "var(--lobe-primary-6-a)",
568
+ primary7A: "var(--lobe-primary-7-a)",
569
+ primary8A: "var(--lobe-primary-8-a)",
570
+ primary9A: "var(--lobe-primary-9-a)",
571
+ primary10A: "var(--lobe-primary-10-a)",
572
+ primary11A: "var(--lobe-primary-11-a)",
573
+ primaryFill: "var(--lobe-primary-fill)",
574
+ primaryFillSecondary: "var(--lobe-primary-fill-secondary)",
575
+ primaryFillTertiary: "var(--lobe-primary-fill-tertiary)",
576
+ primaryFillQuaternary: "var(--lobe-primary-fill-quaternary)",
577
+ primaryBg: "var(--lobe-primary-bg)",
578
+ primaryBgHover: "var(--lobe-primary-bg-hover)",
579
+ primaryBorder: "var(--lobe-primary-border)",
580
+ primaryBorderSecondary: "var(--lobe-primary-border-secondary)",
581
+ primaryBorderHover: "var(--lobe-primary-border-hover)",
582
+ primaryHover: "var(--lobe-primary-hover)",
583
+ primary: "var(--lobe-primary)",
584
+ primaryActive: "var(--lobe-primary-active)",
585
+ primaryTextHover: "var(--lobe-primary-text-hover)",
586
+ primaryText: "var(--lobe-primary-text)",
587
+ primaryTextActive: "var(--lobe-primary-text-active)",
588
+ purple1: "var(--lobe-purple-1)",
589
+ purple2: "var(--lobe-purple-2)",
590
+ purple3: "var(--lobe-purple-3)",
591
+ purple4: "var(--lobe-purple-4)",
592
+ purple5: "var(--lobe-purple-5)",
593
+ purple6: "var(--lobe-purple-6)",
594
+ purple7: "var(--lobe-purple-7)",
595
+ purple8: "var(--lobe-purple-8)",
596
+ purple9: "var(--lobe-purple-9)",
597
+ purple10: "var(--lobe-purple-10)",
598
+ purple11: "var(--lobe-purple-11)",
599
+ purple1A: "var(--lobe-purple-1-a)",
600
+ purple2A: "var(--lobe-purple-2-a)",
601
+ purple3A: "var(--lobe-purple-3-a)",
602
+ purple4A: "var(--lobe-purple-4-a)",
603
+ purple5A: "var(--lobe-purple-5-a)",
604
+ purple6A: "var(--lobe-purple-6-a)",
605
+ purple7A: "var(--lobe-purple-7-a)",
606
+ purple8A: "var(--lobe-purple-8-a)",
607
+ purple9A: "var(--lobe-purple-9-a)",
608
+ purple10A: "var(--lobe-purple-10-a)",
609
+ purple11A: "var(--lobe-purple-11-a)",
610
+ purpleFill: "var(--lobe-purple-fill)",
611
+ purpleFillSecondary: "var(--lobe-purple-fill-secondary)",
612
+ purpleFillTertiary: "var(--lobe-purple-fill-tertiary)",
613
+ purpleFillQuaternary: "var(--lobe-purple-fill-quaternary)",
614
+ purpleBg: "var(--lobe-purple-bg)",
615
+ purpleBgHover: "var(--lobe-purple-bg-hover)",
616
+ purpleBorder: "var(--lobe-purple-border)",
617
+ purpleBorderSecondary: "var(--lobe-purple-border-secondary)",
618
+ purpleBorderHover: "var(--lobe-purple-border-hover)",
619
+ purpleHover: "var(--lobe-purple-hover)",
620
+ purple: "var(--lobe-purple)",
621
+ purpleActive: "var(--lobe-purple-active)",
622
+ purpleTextHover: "var(--lobe-purple-text-hover)",
623
+ purpleText: "var(--lobe-purple-text)",
624
+ purpleTextActive: "var(--lobe-purple-text-active)",
625
+ red1: "var(--lobe-red-1)",
626
+ red2: "var(--lobe-red-2)",
627
+ red3: "var(--lobe-red-3)",
628
+ red4: "var(--lobe-red-4)",
629
+ red5: "var(--lobe-red-5)",
630
+ red6: "var(--lobe-red-6)",
631
+ red7: "var(--lobe-red-7)",
632
+ red8: "var(--lobe-red-8)",
633
+ red9: "var(--lobe-red-9)",
634
+ red10: "var(--lobe-red-10)",
635
+ red11: "var(--lobe-red-11)",
636
+ red1A: "var(--lobe-red-1-a)",
637
+ red2A: "var(--lobe-red-2-a)",
638
+ red3A: "var(--lobe-red-3-a)",
639
+ red4A: "var(--lobe-red-4-a)",
640
+ red5A: "var(--lobe-red-5-a)",
641
+ red6A: "var(--lobe-red-6-a)",
642
+ red7A: "var(--lobe-red-7-a)",
643
+ red8A: "var(--lobe-red-8-a)",
644
+ red9A: "var(--lobe-red-9-a)",
645
+ red10A: "var(--lobe-red-10-a)",
646
+ red11A: "var(--lobe-red-11-a)",
647
+ redFill: "var(--lobe-red-fill)",
648
+ redFillSecondary: "var(--lobe-red-fill-secondary)",
649
+ redFillTertiary: "var(--lobe-red-fill-tertiary)",
650
+ redFillQuaternary: "var(--lobe-red-fill-quaternary)",
651
+ redBg: "var(--lobe-red-bg)",
652
+ redBgHover: "var(--lobe-red-bg-hover)",
653
+ redBorder: "var(--lobe-red-border)",
654
+ redBorderSecondary: "var(--lobe-red-border-secondary)",
655
+ redBorderHover: "var(--lobe-red-border-hover)",
656
+ redHover: "var(--lobe-red-hover)",
657
+ red: "var(--lobe-red)",
658
+ redActive: "var(--lobe-red-active)",
659
+ redTextHover: "var(--lobe-red-text-hover)",
660
+ redText: "var(--lobe-red-text)",
661
+ redTextActive: "var(--lobe-red-text-active)",
662
+ volcano1: "var(--lobe-volcano-1)",
663
+ volcano2: "var(--lobe-volcano-2)",
664
+ volcano3: "var(--lobe-volcano-3)",
665
+ volcano4: "var(--lobe-volcano-4)",
666
+ volcano5: "var(--lobe-volcano-5)",
667
+ volcano6: "var(--lobe-volcano-6)",
668
+ volcano7: "var(--lobe-volcano-7)",
669
+ volcano8: "var(--lobe-volcano-8)",
670
+ volcano9: "var(--lobe-volcano-9)",
671
+ volcano10: "var(--lobe-volcano-10)",
672
+ volcano11: "var(--lobe-volcano-11)",
673
+ volcano1A: "var(--lobe-volcano-1-a)",
674
+ volcano2A: "var(--lobe-volcano-2-a)",
675
+ volcano3A: "var(--lobe-volcano-3-a)",
676
+ volcano4A: "var(--lobe-volcano-4-a)",
677
+ volcano5A: "var(--lobe-volcano-5-a)",
678
+ volcano6A: "var(--lobe-volcano-6-a)",
679
+ volcano7A: "var(--lobe-volcano-7-a)",
680
+ volcano8A: "var(--lobe-volcano-8-a)",
681
+ volcano9A: "var(--lobe-volcano-9-a)",
682
+ volcano10A: "var(--lobe-volcano-10-a)",
683
+ volcano11A: "var(--lobe-volcano-11-a)",
684
+ volcanoFill: "var(--lobe-volcano-fill)",
685
+ volcanoFillSecondary: "var(--lobe-volcano-fill-secondary)",
686
+ volcanoFillTertiary: "var(--lobe-volcano-fill-tertiary)",
687
+ volcanoFillQuaternary: "var(--lobe-volcano-fill-quaternary)",
688
+ volcanoBg: "var(--lobe-volcano-bg)",
689
+ volcanoBgHover: "var(--lobe-volcano-bg-hover)",
690
+ volcanoBorder: "var(--lobe-volcano-border)",
691
+ volcanoBorderSecondary: "var(--lobe-volcano-border-secondary)",
692
+ volcanoBorderHover: "var(--lobe-volcano-border-hover)",
693
+ volcanoHover: "var(--lobe-volcano-hover)",
694
+ volcano: "var(--lobe-volcano)",
695
+ volcanoActive: "var(--lobe-volcano-active)",
696
+ volcanoTextHover: "var(--lobe-volcano-text-hover)",
697
+ volcanoText: "var(--lobe-volcano-text)",
698
+ volcanoTextActive: "var(--lobe-volcano-text-active)",
699
+ yellow1: "var(--lobe-yellow-1)",
700
+ yellow2: "var(--lobe-yellow-2)",
701
+ yellow3: "var(--lobe-yellow-3)",
702
+ yellow4: "var(--lobe-yellow-4)",
703
+ yellow5: "var(--lobe-yellow-5)",
704
+ yellow6: "var(--lobe-yellow-6)",
705
+ yellow7: "var(--lobe-yellow-7)",
706
+ yellow8: "var(--lobe-yellow-8)",
707
+ yellow9: "var(--lobe-yellow-9)",
708
+ yellow10: "var(--lobe-yellow-10)",
709
+ yellow11: "var(--lobe-yellow-11)",
710
+ yellow1A: "var(--lobe-yellow-1-a)",
711
+ yellow2A: "var(--lobe-yellow-2-a)",
712
+ yellow3A: "var(--lobe-yellow-3-a)",
713
+ yellow4A: "var(--lobe-yellow-4-a)",
714
+ yellow5A: "var(--lobe-yellow-5-a)",
715
+ yellow6A: "var(--lobe-yellow-6-a)",
716
+ yellow7A: "var(--lobe-yellow-7-a)",
717
+ yellow8A: "var(--lobe-yellow-8-a)",
718
+ yellow9A: "var(--lobe-yellow-9-a)",
719
+ yellow10A: "var(--lobe-yellow-10-a)",
720
+ yellow11A: "var(--lobe-yellow-11-a)",
721
+ yellowFill: "var(--lobe-yellow-fill)",
722
+ yellowFillSecondary: "var(--lobe-yellow-fill-secondary)",
723
+ yellowFillTertiary: "var(--lobe-yellow-fill-tertiary)",
724
+ yellowFillQuaternary: "var(--lobe-yellow-fill-quaternary)",
725
+ yellowBg: "var(--lobe-yellow-bg)",
726
+ yellowBgHover: "var(--lobe-yellow-bg-hover)",
727
+ yellowBorder: "var(--lobe-yellow-border)",
728
+ yellowBorderSecondary: "var(--lobe-yellow-border-secondary)",
729
+ yellowBorderHover: "var(--lobe-yellow-border-hover)",
730
+ yellowHover: "var(--lobe-yellow-hover)",
731
+ yellow: "var(--lobe-yellow)",
732
+ yellowActive: "var(--lobe-yellow-active)",
733
+ yellowTextHover: "var(--lobe-yellow-text-hover)",
734
+ yellowText: "var(--lobe-yellow-text)",
735
+ yellowTextActive: "var(--lobe-yellow-text-active)",
736
+ boxShadow: "var(--lobe-box-shadow)",
737
+ boxShadowSecondary: "var(--lobe-box-shadow-secondary)",
738
+ boxShadowTertiary: "var(--lobe-box-shadow-tertiary)",
739
+ colorErrorAffix: "var(--lobe-color-error-affix)",
740
+ colorHighlight: "var(--lobe-color-highlight)",
741
+ colorLink: "var(--lobe-color-link)",
742
+ colorLinkActive: "var(--lobe-color-link-active)",
743
+ colorLinkHover: "var(--lobe-color-link-hover)",
744
+ colorWarningAffix: "var(--lobe-color-warning-affix)",
745
+ colorPrimaryFill: "var(--lobe-color-primary-fill)",
746
+ colorPrimaryFillSecondary: "var(--lobe-color-primary-fill-secondary)",
747
+ colorPrimaryFillTertiary: "var(--lobe-color-primary-fill-tertiary)",
748
+ colorPrimaryFillQuaternary: "var(--lobe-color-primary-fill-quaternary)",
749
+ colorPrimaryBg: "var(--lobe-color-primary-bg)",
750
+ colorPrimaryBgHover: "var(--lobe-color-primary-bg-hover)",
751
+ colorPrimaryBorder: "var(--lobe-color-primary-border)",
752
+ colorPrimaryBorderHover: "var(--lobe-color-primary-border-hover)",
753
+ colorPrimaryHover: "var(--lobe-color-primary-hover)",
754
+ colorPrimary: "var(--lobe-color-primary)",
755
+ colorPrimaryActive: "var(--lobe-color-primary-active)",
756
+ colorPrimaryTextHover: "var(--lobe-color-primary-text-hover)",
757
+ colorPrimaryText: "var(--lobe-color-primary-text)",
758
+ colorPrimaryTextActive: "var(--lobe-color-primary-text-active)",
759
+ controlItemBgActive: "var(--lobe-control-item-bg-active)",
760
+ controlItemBgActiveHover: "var(--lobe-control-item-bg-active-hover)",
761
+ colorBgContainer: "var(--lobe-color-bg-container)",
762
+ colorBgElevated: "var(--lobe-color-bg-elevated)",
763
+ colorBgLayout: "var(--lobe-color-bg-layout)",
764
+ colorBgMask: "var(--lobe-color-bg-mask)",
765
+ colorBgSpotlight: "var(--lobe-color-bg-spotlight)",
766
+ colorBorder: "var(--lobe-color-border)",
767
+ colorBorderSecondary: "var(--lobe-color-border-secondary)",
768
+ colorFill: "var(--lobe-color-fill)",
769
+ colorFillQuaternary: "var(--lobe-color-fill-quaternary)",
770
+ colorFillSecondary: "var(--lobe-color-fill-secondary)",
771
+ colorFillTertiary: "var(--lobe-color-fill-tertiary)",
772
+ colorText: "var(--lobe-color-text)",
773
+ colorTextQuaternary: "var(--lobe-color-text-quaternary)",
774
+ colorTextSecondary: "var(--lobe-color-text-secondary)",
775
+ colorTextTertiary: "var(--lobe-color-text-tertiary)",
776
+ colorBgContainerDisabled: "var(--lobe-color-bg-container-disabled)",
777
+ colorBgContainerSecondary: "var(--lobe-color-bg-container-secondary)",
778
+ colorBgTextActive: "var(--lobe-color-bg-text-active)",
779
+ colorBgTextHover: "var(--lobe-color-bg-text-hover)",
780
+ colorBorderBg: "var(--lobe-color-border-bg)",
781
+ colorErrorOutline: "var(--lobe-color-error-outline)",
782
+ colorFillAlter: "var(--lobe-color-fill-alter)",
783
+ colorFillContent: "var(--lobe-color-fill-content)",
784
+ colorFillContentHover: "var(--lobe-color-fill-content-hover)",
785
+ colorIcon: "var(--lobe-color-icon)",
786
+ colorIconHover: "var(--lobe-color-icon-hover)",
787
+ colorSplit: "var(--lobe-color-split)",
788
+ colorTextDescription: "var(--lobe-color-text-description)",
789
+ colorTextDisabled: "var(--lobe-color-text-disabled)",
790
+ colorTextHeading: "var(--lobe-color-text-heading)",
791
+ colorTextLabel: "var(--lobe-color-text-label)",
792
+ colorTextPlaceholder: "var(--lobe-color-text-placeholder)",
793
+ colorWarningOutline: "var(--lobe-color-warning-outline)",
794
+ controlItemBgActiveDisabled: "var(--lobe-control-item-bg-active-disabled)",
795
+ controlItemBgHover: "var(--lobe-control-item-bg-hover)",
796
+ controlTmpOutline: "var(--lobe-control-tmp-outline)"
797
+ };
798
+ //#endregion
799
+ //#region src/viewer/lib/play.ts
800
+ function v(e, t) {
801
+ let n = new Set(e);
802
+ return n.delete(t) || n.add(t), n;
803
+ }
804
+ var y = (e, t) => (e[t] ?? 0) > 0, b = (e, t) => e.interactive === !0 && y(t, e.file), x = (e, t, n, r) => `${e}${t}?v=${n}${r > 0 ? `&r=${r}` : ""}`, S = 160, C = [
805
+ 1,
806
+ 1.5,
807
+ 2,
808
+ .5
809
+ ], w = (e) => {
810
+ let t = Math.max(0, Math.floor(Number.isFinite(e) ? e : 0));
811
+ return `${Math.floor(t / 60)}:${String(t % 60).padStart(2, "0")}`;
812
+ };
813
+ function T({ playing: e }) {
814
+ return /* @__PURE__ */ f("svg", {
815
+ "aria-hidden": "true",
816
+ fill: "currentColor",
817
+ height: "16",
818
+ viewBox: "0 0 24 24",
819
+ width: "16",
820
+ children: [!1, !0].map((t) => /* @__PURE__ */ f(g.g, {
821
+ initial: !1,
822
+ style: { transformOrigin: "12px 12px" },
823
+ transition: {
824
+ type: "spring",
825
+ duration: .3,
826
+ bounce: 0
827
+ },
828
+ animate: {
829
+ opacity: +(e === t),
830
+ scale: e === t ? 1 : .25,
831
+ filter: e === t ? "blur(0px)" : "blur(4px)"
832
+ },
833
+ children: t ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("rect", {
834
+ height: "16",
835
+ rx: "1",
836
+ width: "4",
837
+ x: "6",
838
+ y: "4"
839
+ }), /* @__PURE__ */ f("rect", {
840
+ height: "16",
841
+ rx: "1",
842
+ width: "4",
843
+ x: "14",
844
+ y: "4"
845
+ })] }) : /* @__PURE__ */ f("path", { d: "M8 4.6c-.9-.5-2 .1-2 1.1v12.6c0 1 1.1 1.6 2 1.1l11-6.3c.9-.5.9-1.7 0-2.2Z" })
846
+ }, String(t)))
847
+ });
848
+ }
849
+ function E({ src: e, title: t, barScale: n, barWidth: i, onExpand: a }) {
850
+ let { t: s } = r(), c = l(null), g = l(null), [_, v] = u(!1), [y, b] = u(0), [x, E] = u(0), [D, O] = u(1), [k, A] = u(!1), [j, M] = u(!1);
851
+ o(() => {
852
+ let e = c.current;
853
+ if (!e) return;
854
+ let t = () => {
855
+ M(!1), b(e.currentTime), E(e.duration), v(!e.paused);
856
+ }, n = [
857
+ "loadedmetadata",
858
+ "timeupdate",
859
+ "play",
860
+ "pause",
861
+ "ended",
862
+ "seeked"
863
+ ], r = () => M(!0);
864
+ for (let r of n) e.addEventListener(r, t);
865
+ return e.addEventListener("error", r), () => {
866
+ for (let r of n) e.removeEventListener(r, t);
867
+ e.removeEventListener("error", r);
868
+ };
869
+ }, []);
870
+ let N = () => {
871
+ let e = c.current;
872
+ e && (e.paused ? e.play().catch(() => v(!e.paused)) : e.pause());
873
+ }, P = () => {
874
+ let e = C[(C.indexOf(D) + 1) % C.length];
875
+ c.current && (c.current.playbackRate = e), O(e);
876
+ }, F = () => {
877
+ c.current && (c.current.loop = !k), A(!k);
878
+ }, I = (e) => {
879
+ let t = c.current;
880
+ if (!t || !Number.isFinite(t.duration) || t.duration <= 0) return;
881
+ let n = e.currentTarget.getBoundingClientRect();
882
+ t.currentTime = Math.min(1, Math.max(0, (e.clientX - n.left) / n.width)) * t.duration, b(t.currentTime);
883
+ };
884
+ return /* @__PURE__ */ p(d, { children: [
885
+ /* @__PURE__ */ f("video", {
886
+ muted: !0,
887
+ playsInline: !0,
888
+ preload: "metadata",
889
+ ref: c,
890
+ src: e,
891
+ title: t,
892
+ className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d x1lliihq x19kjcj4 x1hpxl24 x47corl"
893
+ }),
894
+ /* @__PURE__ */ f("button", {
895
+ "data-video-surface": !0,
896
+ "aria-label": s(_ ? "video.pauseTitle" : "video.playTitle", { title: t }),
897
+ type: "button",
898
+ onClick: (e) => {
899
+ (!e.detail || !g.current || Math.hypot(e.clientX - g.current.x, e.clientY - g.current.y) < 4) && N(), g.current = null;
900
+ },
901
+ onKeyDown: (e) => {
902
+ (e.key === " " || e.key === "Enter") && e.stopPropagation();
903
+ },
904
+ onPointerDown: (e) => {
905
+ g.current = {
906
+ x: e.clientX,
907
+ y: e.clientY
908
+ };
909
+ },
910
+ className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d x1717udv xc342km xjbqb8w x1ypdohk x1t137rt x9v5kkp x1de99jn x1af67cj x1v57pqu"
911
+ }),
912
+ j && /* @__PURE__ */ f("div", {
913
+ className: "x10l6tqk x10a8y8t xrvj5dj x1ku5rj1 x1tamke2 x193dt0t xyxeb8y xqfszdh x4z9k3i x2b8uid x47corl",
914
+ children: s("video.failed")
915
+ }),
916
+ i >= S && /* @__PURE__ */ p("div", {
917
+ "data-chrome": "video-controls",
918
+ onPointerDown: (e) => e.stopPropagation(),
919
+ className: "x10l6tqk xu96u03 xdsb8wn xc9qbxq x9f619 x78zum5 x6s0dn4 x1v2ro7d xaope02 x1hj3fc7 x193dt0t x178xt8z x13fuv20 xyky8oz x1fh8tye x1fao0z8 x1j6dyjg x67bb7w xt0e3qv x87ps6o",
920
+ style: {
921
+ width: i,
922
+ transform: `scale(${n})`
923
+ },
924
+ children: [
925
+ /* @__PURE__ */ f("button", {
926
+ "aria-label": s(_ ? "video.pause" : "video.play"),
927
+ type: "button",
928
+ onClick: N,
929
+ className: "x2lah0s xrvj5dj x1ku5rj1 x1717udv xc342km xjbqb8w xagcll2 xazlcq2 xjb2p0i x1j6dyjg x1ypdohk",
930
+ children: /* @__PURE__ */ f(T, { playing: _ })
931
+ }),
932
+ /* @__PURE__ */ p("span", {
933
+ className: "x2lah0s xss6m8b",
934
+ children: [
935
+ w(y),
936
+ " / ",
937
+ w(x)
938
+ ]
939
+ }),
940
+ /* @__PURE__ */ p("div", {
941
+ "aria-label": s("video.progress"),
942
+ "aria-valuemax": Math.round(x || 0),
943
+ "aria-valuemin": 0,
944
+ "aria-valuenow": Math.round(y),
945
+ role: "slider",
946
+ tabIndex: 0,
947
+ onPointerDown: (e) => {
948
+ e.currentTarget.setPointerCapture?.(e.pointerId), I(e);
949
+ },
950
+ onPointerMove: (e) => {
951
+ e.buttons === 1 && I(e);
952
+ },
953
+ className: "x1n2onr6 x98rzlu x1v9usgg x78zum5 x6s0dn4 x1ypdohk",
954
+ children: [/* @__PURE__ */ f("span", { className: "x10l6tqk xu96u03 x3m8u43 xuoj239 x1q6ipvf" }), /* @__PURE__ */ f("span", {
955
+ className: "x10l6tqk xu96u03 xuoj239 x1l2ivya",
956
+ style: { width: `${x > 0 ? y / x * 100 : 0}%` }
957
+ })]
958
+ }),
959
+ /* @__PURE__ */ p("button", {
960
+ "aria-label": s("video.speed"),
961
+ type: "button",
962
+ onClick: P,
963
+ className: "x2lah0s xrvj5dj x1ku5rj1 x1717udv xc342km xjbqb8w xagcll2 xazlcq2 xjb2p0i x1j6dyjg x1ypdohk x17s4nb9 x1s688f",
964
+ children: [D, "×"]
965
+ }),
966
+ /* @__PURE__ */ f("button", {
967
+ "aria-label": s("video.loop"),
968
+ "aria-pressed": k,
969
+ type: "button",
970
+ onClick: F,
971
+ ...{
972
+ 0: { className: "x2lah0s xrvj5dj x1ku5rj1 x1717udv xc342km xjbqb8w xagcll2 xazlcq2 xjb2p0i x1j6dyjg x1ypdohk" },
973
+ 1: { className: "x2lah0s xrvj5dj x1ku5rj1 x1717udv xc342km xjbqb8w xjb2p0i x1j6dyjg x1ypdohk xymxiyj x1p2l8fb" }
974
+ }[!k | 0],
975
+ children: /* @__PURE__ */ f(h, { size: 14 })
976
+ }),
977
+ a && /* @__PURE__ */ f("button", {
978
+ "aria-label": s("video.expand"),
979
+ type: "button",
980
+ onClick: a,
981
+ className: "x2lah0s xrvj5dj x1ku5rj1 x1717udv xc342km xjbqb8w xagcll2 xazlcq2 xjb2p0i x1j6dyjg x1ypdohk",
982
+ children: /* @__PURE__ */ f(m, { size: 13 })
983
+ })
984
+ ]
985
+ })
986
+ ] });
987
+ }
988
+ //#endregion
989
+ //#region src/viewer/components/MediaBoard.tsx
990
+ function D({ id: e, board: t, src: n, zoom: r, onExpand: i }) {
991
+ return t.type === "video" ? /* @__PURE__ */ f(E, {
992
+ barScale: 1 / r,
993
+ barWidth: t.w * r,
994
+ src: n,
995
+ title: t.title ?? e,
996
+ onExpand: i
997
+ }) : /* @__PURE__ */ f("img", {
998
+ alt: t.title ?? e,
999
+ draggable: !1,
1000
+ src: n,
1001
+ className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d x1lliihq x19kjcj4 x1l2ivya x47corl"
1002
+ });
1003
+ }
1004
+ //#endregion
1005
+ //#region src/shared/inspector.ts
1006
+ var O = [
1007
+ "width",
1008
+ "height",
1009
+ "position",
1010
+ "flex-grow",
1011
+ "display",
1012
+ "flex-direction",
1013
+ "align-items",
1014
+ "gap",
1015
+ "padding",
1016
+ "background-color",
1017
+ "opacity",
1018
+ "border-radius",
1019
+ "border-style",
1020
+ "font-size",
1021
+ "color",
1022
+ "box-shadow"
1023
+ ], k = "#0D99FF", A = "M6.2 3.6C5 2.7 3.4 3.6 3.6 5.1L6 22.7C6.2 24.3 8.2 24.8 9.1 23.5L13 18.3C13.4 17.8 14 17.5 14.6 17.5L21.1 17.3C22.7 17.2 23.4 15.2 22.2 14.3Z", j = "M13 3a9 9 0 0 1 0 18H4.5A1.5 1.5 0 0 1 3 19.5V13A10 10 0 0 1 13 3z", M = (e, t, n) => `url("data:image/svg+xml,${encodeURIComponent(e)}") ${t}, ${n}`, N = M(`<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 28 28'><path d='${A}' fill='none' stroke='white' stroke-width='4' stroke-linejoin='round'/><path d='${A}' fill='${k}'/></svg>`, "3 3", "default"), P = M(`<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='${j}' fill='none' stroke='white' stroke-width='3' stroke-linejoin='round'/><path d='${j}' fill='${k}'/><path d='M13 8.2v7.6M9.2 12h7.6' stroke='white' stroke-width='2.2' stroke-linecap='round'/></svg>`, "3 21", "crosshair");
1024
+ //#endregion
1025
+ //#region src/viewer/lib/cursorMotion.ts
1026
+ function F(e, t) {
1027
+ let n = e;
1028
+ for (; n.length > 1;) n = n.slice(0, -1).map((e, r) => ({
1029
+ x: e.x + (n[r + 1].x - e.x) * t,
1030
+ y: e.y + (n[r + 1].y - e.y) * t
1031
+ }));
1032
+ return n[0];
1033
+ }
1034
+ function I(e, t, n) {
1035
+ let r = t.x - e.x, i = t.y - e.y, a = -i, o = r;
1036
+ a < 0 && (a = -a, o = -o);
1037
+ let s = (t, n) => ({
1038
+ x: e.x + r * t + a * n,
1039
+ y: e.y + i * t + o * n
1040
+ }), c = [
1041
+ e,
1042
+ s(.2, 0),
1043
+ s(.3, -.5),
1044
+ s(1.55, 1.25),
1045
+ s(1.35, .1),
1046
+ t
1047
+ ];
1048
+ if (n !== void 0) {
1049
+ let t = (n - 135) * Math.PI / 180, a = Math.hypot(r, i) * .2;
1050
+ c[1] = {
1051
+ x: e.x + Math.cos(t) * a,
1052
+ y: e.y + Math.sin(t) * a
1053
+ };
1054
+ }
1055
+ let l = c.slice(0, -1).map((e, t) => ({
1056
+ x: 5 * (c[t + 1].x - e.x),
1057
+ y: 5 * (c[t + 1].y - e.y)
1058
+ })), u = [0], d = e;
1059
+ for (let e = 1; e <= 600; e++) {
1060
+ let t = F(c, e / 600);
1061
+ u.push(u[e - 1] + Math.hypot(t.x - d.x, t.y - d.y)), d = t;
1062
+ }
1063
+ let f = u[600];
1064
+ return {
1065
+ length: f,
1066
+ at(e) {
1067
+ let t = Math.max(0, Math.min(1, e)) * f, n = 0, r = 600;
1068
+ for (; r - n > 1;) {
1069
+ let e = n + r >> 1;
1070
+ u[e] < t ? n = e : r = e;
1071
+ }
1072
+ let i = u[r] - u[n], a = (n + (i ? (t - u[n]) / i : 0)) / 600, o = F(l, a);
1073
+ return {
1074
+ ...F(c, a),
1075
+ angle: Math.atan2(o.y, o.x) * 180 / Math.PI + 135
1076
+ };
1077
+ }
1078
+ };
1079
+ }
1080
+ //#endregion
1081
+ //#region src/viewer/components/WritingCursor.tsx
1082
+ function L({ x: e, y: t, zoom: n, agent: r, title: a }) {
1083
+ let o = `agent-${s().replaceAll(/[^\w-]/g, "")}`, u = l(null), d = l(null), m = l(null), h = l(!1), g = l(n), _ = (e) => `translate(${e.x}px, ${e.y}px) scale(${1 / g.current})`, v = (e) => `translate(-3.43px, -3.43px) rotate(${e}deg)`, y = (e) => {
1084
+ m.current = e, u.current && (u.current.style.transform = _(e)), d.current && (d.current.style.transform = v(e.angle));
1085
+ };
1086
+ c(() => {
1087
+ g.current = n, m.current && y(m.current);
1088
+ }, [n]), c(() => {
1089
+ let n = matchMedia("(prefers-reduced-motion: reduce)"), r = m.current, i = 0, a = () => {
1090
+ cancelAnimationFrame(i), i = 0, h.current = !1, y({
1091
+ x: e,
1092
+ y: t,
1093
+ angle: m.current?.angle ?? 0
1094
+ });
1095
+ };
1096
+ if (!r || n.matches || Math.hypot(e - r.x, t - r.y) * g.current < 2) a();
1097
+ else {
1098
+ let n = I(r, {
1099
+ x: e,
1100
+ y: t
1101
+ }, h.current ? r.angle : void 0), a = Math.min(1800, 900 + n.length * g.current * 1.2), o = performance.now(), s = o;
1102
+ h.current = !0;
1103
+ let c = (e) => {
1104
+ let t = Math.min(1, Math.max(0, (e - o) / a)), r = n.at(t ** 3 * (t * (t * 6 - 15) + 10)), l = m.current.angle;
1105
+ r.angle = l + (((r.angle - l) % 360 + 540) % 360 - 180) * (1 - Math.exp(-(e - s) / 80)), s = e, h.current = t < 1, y(r), i = t < 1 ? requestAnimationFrame(c) : 0;
1106
+ };
1107
+ i = requestAnimationFrame(c);
1108
+ }
1109
+ let o = () => {
1110
+ n.matches && a();
1111
+ };
1112
+ return n.addEventListener("change", o), () => {
1113
+ cancelAnimationFrame(i), n.removeEventListener("change", o);
1114
+ };
1115
+ }, [e, t]);
1116
+ let b = m.current ?? {
1117
+ x: e,
1118
+ y: t,
1119
+ angle: 0
1120
+ };
1121
+ return /* @__PURE__ */ p("div", {
1122
+ "aria-label": `${r} last worked on ${a}`,
1123
+ ref: u,
1124
+ role: "status",
1125
+ className: "x10l6tqk xu96u03 x13vifvy x1u8a7rm x47corl x1hj3fc7",
1126
+ style: { transform: _(b) },
1127
+ children: [/* @__PURE__ */ p("svg", {
1128
+ "aria-hidden": "true",
1129
+ height: "24",
1130
+ ref: d,
1131
+ viewBox: "0 0 28 28",
1132
+ width: "24",
1133
+ className: "x1lliihq xqqlr9g x1gtfylx",
1134
+ style: { transform: v(b.angle) },
1135
+ children: [
1136
+ /* @__PURE__ */ f("path", {
1137
+ d: A,
1138
+ fill: "none",
1139
+ stroke: i.white,
1140
+ strokeLinejoin: "round",
1141
+ strokeWidth: "4"
1142
+ }),
1143
+ /* @__PURE__ */ f("defs", { children: /* @__PURE__ */ p("linearGradient", {
1144
+ id: o,
1145
+ x1: "0",
1146
+ x2: "1",
1147
+ y1: "0",
1148
+ y2: "1",
1149
+ children: [/* @__PURE__ */ f("stop", {
1150
+ offset: "0",
1151
+ stopColor: i.selection
1152
+ }), /* @__PURE__ */ f("stop", {
1153
+ offset: "1",
1154
+ stopColor: i.agent
1155
+ })]
1156
+ }) }),
1157
+ /* @__PURE__ */ f("path", {
1158
+ d: A,
1159
+ fill: `url(#${o})`
1160
+ })
1161
+ ]
1162
+ }), /* @__PURE__ */ f("span", {
1163
+ className: "x10l6tqk x1trqr8e xv4lvxq x78zum5 x6s0dn4 x1219o5k x1w2h69v x25sj25 x1bjonze xdocmp1 xgs1500 x828b17 x1bqy6mi xqxj4xa x8r4el6 x1j6dyjg x1s688f x152skdk xuxw1ft xmj57et",
1164
+ children: r
1165
+ })]
1166
+ });
1167
+ }
1168
+ //#endregion
1169
+ //#region src/viewer/components/Canvas.tsx
1170
+ var R = /* @__PURE__ */ e({ Canvas: () => q });
1171
+ function z(e) {
1172
+ if (!e) return {
1173
+ backgroundColor: i.paperWarm,
1174
+ color: i.inkWarm
1175
+ };
1176
+ let t = e.length === 4 ? e.slice(1).split("").map((e) => e + e).join("") : e.slice(1), [n, r, a] = [
1177
+ 0,
1178
+ 2,
1179
+ 4
1180
+ ].map((e) => {
1181
+ let n = parseInt(t.slice(e, e + 2), 16) / 255;
1182
+ return n <= .04045 ? n / 12.92 : ((n + .055) / 1.055) ** 2.4;
1183
+ });
1184
+ return {
1185
+ backgroundColor: e,
1186
+ color: .2126 * n + .7152 * r + .0722 * a > .179 ? i.black : i.white
1187
+ };
1188
+ }
1189
+ var B = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Set();
1190
+ function U(e, t, n, r = !1) {
1191
+ return {
1192
+ left: e.x,
1193
+ top: e.y,
1194
+ width: e.w,
1195
+ height: e.h,
1196
+ ...t ? { outlineWidth: "calc(2px / var(--zoom, 1))" } : {},
1197
+ ...n ? r ? { visibility: "hidden" } : { display: "none" } : {}
1198
+ };
1199
+ }
1200
+ function W({ frameLoaded: e, frameRef: t, gesturing: n, id: r, inspecting: i, playing: a, sandbox: o, src: s, title: c }) {
1201
+ let [l, d] = u(null), p = l !== s, m = !p && !n && (i || a);
1202
+ return /* @__PURE__ */ f("iframe", {
1203
+ ...{
1204
+ 0: { className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d x1lliihq xc342km x1l2ivya x1qgsegg xaatb59 x1tjb3dp" },
1205
+ 1: { className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d x1lliihq xc342km x1l2ivya xaatb59 x1de99jn x7vaw5c" }
1206
+ }[!!a | 0],
1207
+ ref: t(r),
1208
+ sandbox: o,
1209
+ src: s,
1210
+ title: c,
1211
+ style: {
1212
+ pointerEvents: m ? "auto" : "none",
1213
+ backgroundColor: p ? _.colorFillTertiary : void 0
1214
+ },
1215
+ onLoad: () => {
1216
+ d(s), e(r);
1217
+ }
1218
+ });
1219
+ }
1220
+ var G = a(function({ boardBase: e, boards: n, boardSandbox: r = "allow-scripts", contentBase: i, culled: a = H, frameLoaded: o, frameRef: s, gesturing: c = !1, images: l = V, inspecting: u, pending: d, phases: m = B, playing: h, replays: g, versions: _, writing: v }) {
1221
+ return n.map(([n, S]) => {
1222
+ if (t(S)) return null;
1223
+ let C = y(_, S.file) && !d.has(n), w = m.get(n) ?? "mounted", T = l.get(n) ?? null, E = !!T && (w === "unloaded" || w === "restoring"), D = C && (w !== "unloaded" || !T), O = n === v;
1224
+ return /* @__PURE__ */ p("div", {
1225
+ "aria-busy": O || void 0,
1226
+ "data-board": n,
1227
+ ...{
1228
+ 0: { className: "x10l6tqk" },
1229
+ 2: { className: "x10l6tqk x78zum5 x6s0dn4 xl56j7k xb3r6kr xahzvm9 x1qgsegg xaatb59 x1tjb3dp x47corl" },
1230
+ 1: { className: "x10l6tqk xaatb59 x7vaw5c xsvltah" },
1231
+ 3: { className: "x10l6tqk x78zum5 x6s0dn4 xl56j7k xb3r6kr xahzvm9 x1qgsegg x47corl xaatb59 x7vaw5c xsvltah" }
1232
+ }[!C << 1 | !!O],
1233
+ style: U(S, O, a.has(n), w === "capturing"),
1234
+ children: [
1235
+ D && /* @__PURE__ */ f(W, {
1236
+ frameLoaded: o,
1237
+ frameRef: s,
1238
+ gesturing: c,
1239
+ id: n,
1240
+ inspecting: u,
1241
+ playing: b(S, _) && h.has(n),
1242
+ sandbox: r,
1243
+ title: S.title ?? n,
1244
+ src: x(e ?? i, S.file, _[S.file] ?? 0, g[n] ?? 0)
1245
+ }),
1246
+ E && /* @__PURE__ */ f("img", {
1247
+ alt: "",
1248
+ decoding: "async",
1249
+ draggable: !1,
1250
+ src: T,
1251
+ className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d x1lliihq x47corl"
1252
+ }),
1253
+ !C && /* @__PURE__ */ f("span", {
1254
+ className: "x1bo0w0s xqfszdh xfifm61",
1255
+ children: O ? "Drawing…" : "Waiting…"
1256
+ })
1257
+ ]
1258
+ }, n);
1259
+ });
1260
+ });
1261
+ function K({ boards: e, contentBase: n, culled: r = H, pending: i, versions: a, writing: o, zoom: s, onExpand: c }) {
1262
+ return e.map(([e, l]) => {
1263
+ if (!t(l)) return null;
1264
+ let u = y(a, l.file) && !i.has(e), d = e === o;
1265
+ return /* @__PURE__ */ f("div", {
1266
+ "aria-busy": d || void 0,
1267
+ "data-board": e,
1268
+ ...{
1269
+ 0: { className: "x10l6tqk" },
1270
+ 2: { className: "x10l6tqk x78zum5 x6s0dn4 xl56j7k xb3r6kr xahzvm9 x1qgsegg xaatb59 x1tjb3dp x47corl" },
1271
+ 1: { className: "x10l6tqk xaatb59 x7vaw5c xsvltah" },
1272
+ 3: { className: "x10l6tqk x78zum5 x6s0dn4 xl56j7k xb3r6kr xahzvm9 x1qgsegg x47corl xaatb59 x7vaw5c xsvltah" }
1273
+ }[!u << 1 | !!d],
1274
+ style: U(l, d, r.has(e)),
1275
+ children: u ? /* @__PURE__ */ f(D, {
1276
+ board: l,
1277
+ id: e,
1278
+ src: x(n, l.file, a[l.file] ?? 0, 0),
1279
+ zoom: s,
1280
+ onExpand: c && (() => c(e))
1281
+ }) : /* @__PURE__ */ f("span", {
1282
+ className: "x1bo0w0s xqfszdh xfifm61",
1283
+ children: d ? "Drawing…" : "Waiting…"
1284
+ })
1285
+ }, e);
1286
+ });
1287
+ }
1288
+ function q({ boardBase: e, boardSandbox: r, view: i, worldRef: a, phases: o, images: s, culled: c, gesturing: l, boards: u, notes: d, contentBase: m, versions: h, pending: g, playing: _, replays: v, inspecting: y, frameRef: b, frameLoaded: x, live: S, writing: C, agent: w, onExpand: T }) {
1289
+ let E = C;
1290
+ if (S) {
1291
+ E = void 0;
1292
+ let e = 0;
1293
+ for (let [n, r] of u) {
1294
+ let i = h[r.file] ?? 0;
1295
+ t(r) || g.has(n) || i <= e || (E = n, e = i);
1296
+ }
1297
+ }
1298
+ let D = u.find(([e]) => e === E)?.[1];
1299
+ return /* @__PURE__ */ p("div", {
1300
+ ref: a,
1301
+ className: "x10l6tqk xu96u03 x13vifvy x1hj3fc7",
1302
+ style: a ? void 0 : {
1303
+ transform: `translate(${i.x}px, ${i.y}px) scale(${i.k})`,
1304
+ "--zoom": i.k
1305
+ },
1306
+ children: [
1307
+ /* @__PURE__ */ f(G, {
1308
+ boardBase: e,
1309
+ boardSandbox: r,
1310
+ boards: u,
1311
+ contentBase: m,
1312
+ culled: c,
1313
+ frameLoaded: x,
1314
+ frameRef: b,
1315
+ gesturing: l,
1316
+ images: s,
1317
+ inspecting: y,
1318
+ pending: g,
1319
+ phases: o,
1320
+ playing: _,
1321
+ replays: v,
1322
+ versions: h,
1323
+ writing: C,
1324
+ onExpand: T
1325
+ }),
1326
+ /* @__PURE__ */ f(K, {
1327
+ boards: u,
1328
+ contentBase: m,
1329
+ culled: c,
1330
+ pending: g,
1331
+ versions: h,
1332
+ writing: C,
1333
+ zoom: i.k,
1334
+ onExpand: T
1335
+ }),
1336
+ d.map(([e, t]) => t.kind === "title" ? /* @__PURE__ */ f("h2", {
1337
+ className: "x10l6tqk x1ghz6dp x1xlr1w8 x1uo3zyz xjat59b xo2rkog x1bd091l",
1338
+ style: {
1339
+ left: t.x,
1340
+ top: t.y,
1341
+ width: t.w,
1342
+ whiteSpace: t.w === void 0 ? "nowrap" : "normal",
1343
+ fontSize: t.size ?? 96,
1344
+ transform: `scale(${n(t.size ?? 96, i.k)})`
1345
+ },
1346
+ children: t.text
1347
+ }, e) : /* @__PURE__ */ f("div", {
1348
+ className: "x10l6tqk x12oqio5 x126k92a xj0a0fe x1pmbvsm",
1349
+ style: {
1350
+ left: t.x,
1351
+ top: t.y,
1352
+ width: t.w ?? 240,
1353
+ padding: 16,
1354
+ fontSize: 18,
1355
+ lineHeight: "27px",
1356
+ ...z(t.color)
1357
+ },
1358
+ children: t.text
1359
+ }, e)),
1360
+ D && /* @__PURE__ */ f(L, {
1361
+ agent: w ?? "Agent",
1362
+ title: D.title ?? E,
1363
+ x: D.x + Math.min(64, D.w * .15),
1364
+ y: D.y + Math.min(80, D.h * .2),
1365
+ zoom: i.k
1366
+ })
1367
+ ]
1368
+ });
1369
+ }
1370
+ //#endregion
1371
+ export { N as a, y as c, O as i, b as l, R as n, D as o, P as r, E as s, q as t, v as u };