agentation-vue3 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.js +35 -35
- package/dist/index.mjs +799 -791
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as tt, useCssModule as ot, ref as _, computed as ge, onMounted as nt, watch as oe, openBlock as w, createElementBlock as E, withModifiers as Q, normalizeStyle as H, normalizeClass as p, createElementVNode as v, unref as l, toDisplayString as D, createCommentVNode as P, Fragment as re, renderList as fe, createTextVNode as ce, withDirectives as Se, vModelText as Rt, nextTick as Vt, h as a, onUnmounted as Ft, createBlock as N, Teleport as Yt, resolveDynamicComponent as Z, vModelCheckbox as qe } from "vue";
|
|
2
|
+
const Wt = ["placeholder"], Xt = ["disabled"], Ut = /* @__PURE__ */ tt({
|
|
3
3
|
__name: "AnnotationPopup",
|
|
4
4
|
props: {
|
|
5
5
|
element: {},
|
|
@@ -15,10 +15,10 @@ const Yt = ["placeholder"], Wt = ["disabled"], Xt = /* @__PURE__ */ et({
|
|
|
15
15
|
computedStyles: {}
|
|
16
16
|
},
|
|
17
17
|
emits: ["submit", "cancel"],
|
|
18
|
-
setup(o, { expose: e, emit:
|
|
19
|
-
const d =
|
|
18
|
+
setup(o, { expose: e, emit: c }) {
|
|
19
|
+
const d = ot(), h = o, n = c, y = _(h.initialValue), $ = _(!1), k = _("initial"), T = _(!1), I = _(!1), m = _(null), b = _(null), S = ge(() => h.computedStyles && Object.keys(h.computedStyles).length > 0), O = ge(() => [
|
|
20
20
|
d.popup,
|
|
21
|
-
|
|
21
|
+
h.lightMode && d.light,
|
|
22
22
|
k.value === "enter" && d.enter,
|
|
23
23
|
k.value === "entered" && d.entered,
|
|
24
24
|
k.value === "exit" && d.exit,
|
|
@@ -28,23 +28,23 @@ const Yt = ["placeholder"], Wt = ["disabled"], Xt = /* @__PURE__ */ et({
|
|
|
28
28
|
var M;
|
|
29
29
|
$.value = !1, (M = m.value) == null || M.focus();
|
|
30
30
|
}, 250);
|
|
31
|
-
},
|
|
31
|
+
}, se = () => {
|
|
32
32
|
k.value = "exit", setTimeout(() => {
|
|
33
33
|
n("cancel");
|
|
34
34
|
}, 150);
|
|
35
35
|
}, g = () => {
|
|
36
36
|
y.value.trim() && n("submit", y.value.trim());
|
|
37
|
-
},
|
|
37
|
+
}, z = (M) => {
|
|
38
38
|
var C;
|
|
39
|
-
M.isComposing || (C = M.nativeEvent) != null && C.isComposing || (M.key === "Enter" && !M.shiftKey && (M.preventDefault(), g()), M.key === "Escape" &&
|
|
40
|
-
},
|
|
39
|
+
M.isComposing || (C = M.nativeEvent) != null && C.isComposing || (M.key === "Enter" && !M.shiftKey && (M.preventDefault(), g()), M.key === "Escape" && se());
|
|
40
|
+
}, ae = () => {
|
|
41
41
|
const M = I.value;
|
|
42
|
-
I.value = !I.value, M &&
|
|
42
|
+
I.value = !I.value, M && Vt(() => {
|
|
43
43
|
var C;
|
|
44
44
|
return (C = m.value) == null ? void 0 : C.focus();
|
|
45
45
|
});
|
|
46
46
|
}, ve = (M) => M.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
47
|
-
return
|
|
47
|
+
return nt(() => {
|
|
48
48
|
requestAnimationFrame(() => {
|
|
49
49
|
k.value = "enter";
|
|
50
50
|
}), setTimeout(() => {
|
|
@@ -53,30 +53,30 @@ const Yt = ["placeholder"], Wt = ["disabled"], Xt = /* @__PURE__ */ et({
|
|
|
53
53
|
const M = m.value;
|
|
54
54
|
M && (M.focus(), M.selectionStart = M.selectionEnd = M.value.length, M.scrollTop = M.scrollHeight);
|
|
55
55
|
}, 50);
|
|
56
|
-
}), oe(() =>
|
|
56
|
+
}), oe(() => h.isExiting, (M) => {
|
|
57
57
|
M && k.value !== "exit" && (k.value = "exit");
|
|
58
58
|
}), e({
|
|
59
59
|
shake: B
|
|
60
60
|
}), (M, C) => (w(), E("div", {
|
|
61
61
|
ref_key: "popupRef",
|
|
62
62
|
ref: b,
|
|
63
|
-
class:
|
|
63
|
+
class: p(O.value),
|
|
64
64
|
"data-annotation-popup": "",
|
|
65
65
|
style: H(o.popupStyle),
|
|
66
66
|
onClick: C[3] || (C[3] = Q(() => {
|
|
67
67
|
}, ["stop"]))
|
|
68
68
|
}, [
|
|
69
69
|
v("div", {
|
|
70
|
-
class:
|
|
70
|
+
class: p(l(d).header)
|
|
71
71
|
}, [
|
|
72
|
-
|
|
72
|
+
S.value ? (w(), E("button", {
|
|
73
73
|
key: 0,
|
|
74
|
-
class:
|
|
74
|
+
class: p(l(d).headerToggle),
|
|
75
75
|
type: "button",
|
|
76
|
-
onClick:
|
|
76
|
+
onClick: ae
|
|
77
77
|
}, [
|
|
78
78
|
(w(), E("svg", {
|
|
79
|
-
class:
|
|
79
|
+
class: p([l(d).chevron, I.value && l(d).expanded]),
|
|
80
80
|
width: "14",
|
|
81
81
|
height: "14",
|
|
82
82
|
viewBox: "0 0 14 14",
|
|
@@ -92,37 +92,37 @@ const Yt = ["placeholder"], Wt = ["disabled"], Xt = /* @__PURE__ */ et({
|
|
|
92
92
|
}, null, -1)
|
|
93
93
|
])], 2)),
|
|
94
94
|
v("span", {
|
|
95
|
-
class:
|
|
95
|
+
class: p(l(d).element)
|
|
96
96
|
}, D(o.element), 3)
|
|
97
97
|
], 2)) : (w(), E("span", {
|
|
98
98
|
key: 1,
|
|
99
|
-
class:
|
|
99
|
+
class: p(l(d).element)
|
|
100
100
|
}, D(o.element), 3)),
|
|
101
101
|
o.timestamp ? (w(), E("span", {
|
|
102
102
|
key: 2,
|
|
103
|
-
class:
|
|
103
|
+
class: p(l(d).timestamp)
|
|
104
104
|
}, D(o.timestamp), 3)) : P("", !0)
|
|
105
105
|
], 2),
|
|
106
|
-
|
|
106
|
+
S.value ? (w(), E("div", {
|
|
107
107
|
key: 0,
|
|
108
|
-
class:
|
|
108
|
+
class: p([l(d).stylesWrapper, I.value && l(d).expanded])
|
|
109
109
|
}, [
|
|
110
110
|
v("div", {
|
|
111
|
-
class:
|
|
111
|
+
class: p(l(d).stylesInner)
|
|
112
112
|
}, [
|
|
113
113
|
v("div", {
|
|
114
|
-
class:
|
|
114
|
+
class: p(l(d).stylesBlock)
|
|
115
115
|
}, [
|
|
116
116
|
(w(!0), E(re, null, fe(o.computedStyles, (W, K) => (w(), E("div", {
|
|
117
117
|
key: K,
|
|
118
|
-
class:
|
|
118
|
+
class: p(l(d).styleLine)
|
|
119
119
|
}, [
|
|
120
120
|
v("span", {
|
|
121
|
-
class:
|
|
121
|
+
class: p(l(d).styleProperty)
|
|
122
122
|
}, D(ve(String(K))), 3),
|
|
123
123
|
C[5] || (C[5] = ce(" : ", -1)),
|
|
124
124
|
v("span", {
|
|
125
|
-
class:
|
|
125
|
+
class: p(l(d).styleValue)
|
|
126
126
|
}, D(W), 3),
|
|
127
127
|
C[6] || (C[6] = ce("; ", -1))
|
|
128
128
|
], 2))), 128))
|
|
@@ -131,75 +131,75 @@ const Yt = ["placeholder"], Wt = ["disabled"], Xt = /* @__PURE__ */ et({
|
|
|
131
131
|
], 2)) : P("", !0),
|
|
132
132
|
o.selectedText ? (w(), E("div", {
|
|
133
133
|
key: 1,
|
|
134
|
-
class:
|
|
134
|
+
class: p(l(d).quote)
|
|
135
135
|
}, " “" + D(o.selectedText.slice(0, 80)) + D(o.selectedText.length > 80 ? "..." : "") + "” ", 3)) : P("", !0),
|
|
136
|
-
|
|
136
|
+
Se(v("textarea", {
|
|
137
137
|
ref_key: "textareaRef",
|
|
138
138
|
ref: m,
|
|
139
|
-
class:
|
|
139
|
+
class: p(l(d).textarea),
|
|
140
140
|
style: H({ borderColor: T.value ? o.accentColor : void 0 }),
|
|
141
141
|
placeholder: o.placeholder,
|
|
142
142
|
"onUpdate:modelValue": C[0] || (C[0] = (W) => y.value = W),
|
|
143
143
|
rows: "2",
|
|
144
144
|
onFocus: C[1] || (C[1] = (W) => T.value = !0),
|
|
145
145
|
onBlur: C[2] || (C[2] = (W) => T.value = !1),
|
|
146
|
-
onKeydown:
|
|
147
|
-
}, null, 46,
|
|
148
|
-
[
|
|
146
|
+
onKeydown: z
|
|
147
|
+
}, null, 46, Wt), [
|
|
148
|
+
[Rt, y.value]
|
|
149
149
|
]),
|
|
150
150
|
v("div", {
|
|
151
|
-
class:
|
|
151
|
+
class: p(l(d).actions)
|
|
152
152
|
}, [
|
|
153
153
|
v("button", {
|
|
154
|
-
class:
|
|
155
|
-
onClick:
|
|
154
|
+
class: p(l(d).cancel),
|
|
155
|
+
onClick: se
|
|
156
156
|
}, " Cancel ", 2),
|
|
157
157
|
v("button", {
|
|
158
|
-
class:
|
|
158
|
+
class: p(l(d).submit),
|
|
159
159
|
style: H({
|
|
160
160
|
backgroundColor: o.accentColor,
|
|
161
161
|
opacity: y.value.trim() ? 1 : 0.4
|
|
162
162
|
}),
|
|
163
163
|
disabled: !y.value.trim(),
|
|
164
164
|
onClick: g
|
|
165
|
-
}, D(o.submitLabel), 15,
|
|
165
|
+
}, D(o.submitLabel), 15, Xt)
|
|
166
166
|
], 2)
|
|
167
167
|
], 6));
|
|
168
168
|
}
|
|
169
|
-
}),
|
|
170
|
-
popup:
|
|
171
|
-
enter:
|
|
172
|
-
popupEnter:
|
|
173
|
-
entered:
|
|
174
|
-
exit:
|
|
175
|
-
popupExit:
|
|
176
|
-
shake:
|
|
177
|
-
header:
|
|
178
|
-
element:
|
|
179
|
-
headerToggle:
|
|
180
|
-
chevron:
|
|
181
|
-
expanded:
|
|
182
|
-
stylesWrapper:
|
|
183
|
-
stylesInner:
|
|
184
|
-
stylesBlock:
|
|
185
|
-
styleLine:
|
|
186
|
-
styleProperty:
|
|
187
|
-
styleValue:
|
|
188
|
-
timestamp:
|
|
189
|
-
quote:
|
|
190
|
-
textarea:
|
|
191
|
-
actions:
|
|
192
|
-
cancel:
|
|
193
|
-
submit:
|
|
194
|
-
light:
|
|
195
|
-
},
|
|
196
|
-
const
|
|
197
|
-
for (const [d,
|
|
198
|
-
|
|
199
|
-
return
|
|
200
|
-
},
|
|
201
|
-
$style:
|
|
202
|
-
},
|
|
169
|
+
}), qt = "_popup_dj3wu_38", Gt = "_enter_dj3wu_52", Kt = "_popupEnter_dj3wu_1", Qt = "_entered_dj3wu_55", Jt = "_exit_dj3wu_59", eo = "_popupExit_dj3wu_1", to = "_shake_dj3wu_62", oo = "_header_dj3wu_66", no = "_element_dj3wu_73", lo = "_headerToggle_dj3wu_84", so = "_chevron_dj3wu_100", ao = "_expanded_dj3wu_105", io = "_stylesWrapper_dj3wu_109", ro = "_stylesInner_dj3wu_118", co = "_stylesBlock_dj3wu_122", uo = "_styleLine_dj3wu_132", po = "_styleProperty_dj3wu_137", ho = "_styleValue_dj3wu_141", fo = "_timestamp_dj3wu_145", mo = "_quote_dj3wu_154", go = "_textarea_dj3wu_165", vo = "_actions_dj3wu_193", Co = "_cancel_dj3wu_200", yo = "_submit_dj3wu_201", bo = "_light_dj3wu_230", wo = {
|
|
170
|
+
popup: qt,
|
|
171
|
+
enter: Gt,
|
|
172
|
+
popupEnter: Kt,
|
|
173
|
+
entered: Qt,
|
|
174
|
+
exit: Jt,
|
|
175
|
+
popupExit: eo,
|
|
176
|
+
shake: to,
|
|
177
|
+
header: oo,
|
|
178
|
+
element: no,
|
|
179
|
+
headerToggle: lo,
|
|
180
|
+
chevron: so,
|
|
181
|
+
expanded: ao,
|
|
182
|
+
stylesWrapper: io,
|
|
183
|
+
stylesInner: ro,
|
|
184
|
+
stylesBlock: co,
|
|
185
|
+
styleLine: uo,
|
|
186
|
+
styleProperty: po,
|
|
187
|
+
styleValue: ho,
|
|
188
|
+
timestamp: fo,
|
|
189
|
+
quote: mo,
|
|
190
|
+
textarea: go,
|
|
191
|
+
actions: vo,
|
|
192
|
+
cancel: Co,
|
|
193
|
+
submit: yo,
|
|
194
|
+
light: bo
|
|
195
|
+
}, lt = (o, e) => {
|
|
196
|
+
const c = o.__vccOpts || o;
|
|
197
|
+
for (const [d, h] of e)
|
|
198
|
+
c[d] = h;
|
|
199
|
+
return c;
|
|
200
|
+
}, ko = {
|
|
201
|
+
$style: wo
|
|
202
|
+
}, Ge = /* @__PURE__ */ lt(Ut, [["__cssModules", ko]]), xo = (o) => {
|
|
203
203
|
const e = o.size ?? 16;
|
|
204
204
|
return a("svg", { width: e, height: e, viewBox: "0 0 16 16", fill: "none" }, [
|
|
205
205
|
a("path", {
|
|
@@ -210,8 +210,8 @@ const Yt = ["placeholder"], Wt = ["disabled"], Xt = /* @__PURE__ */ et({
|
|
|
210
210
|
})
|
|
211
211
|
]);
|
|
212
212
|
};
|
|
213
|
-
|
|
214
|
-
const
|
|
213
|
+
xo.props = ["size"];
|
|
214
|
+
const st = (o) => {
|
|
215
215
|
const e = o.size ?? 16;
|
|
216
216
|
return a("svg", { width: e, height: e, viewBox: "0 0 16 16", fill: "none" }, [
|
|
217
217
|
a("path", {
|
|
@@ -222,8 +222,8 @@ const lt = (o) => {
|
|
|
222
222
|
})
|
|
223
223
|
]);
|
|
224
224
|
};
|
|
225
|
-
|
|
226
|
-
const
|
|
225
|
+
st.props = ["size"];
|
|
226
|
+
const _o = (o) => {
|
|
227
227
|
const e = o.size ?? 16;
|
|
228
228
|
return a("svg", { width: e, height: e, viewBox: "0 0 16 16", fill: "none" }, [
|
|
229
229
|
a("path", {
|
|
@@ -235,8 +235,8 @@ const xo = (o) => {
|
|
|
235
235
|
})
|
|
236
236
|
]);
|
|
237
237
|
};
|
|
238
|
-
|
|
239
|
-
const
|
|
238
|
+
_o.props = ["size"];
|
|
239
|
+
const Lo = (o) => {
|
|
240
240
|
const e = o.size ?? 14;
|
|
241
241
|
return a("svg", { width: e, height: e, viewBox: "0 0 14 14", fill: "none" }, [
|
|
242
242
|
a("path", {
|
|
@@ -248,8 +248,8 @@ const _o = (o) => {
|
|
|
248
248
|
})
|
|
249
249
|
]);
|
|
250
250
|
};
|
|
251
|
-
|
|
252
|
-
const
|
|
251
|
+
Lo.props = ["size"];
|
|
252
|
+
const at = (o) => {
|
|
253
253
|
const e = o.size ?? 24;
|
|
254
254
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", style: o.style }, [
|
|
255
255
|
a("g", { "clip-path": "url(#clip0_list_sparkle)" }, [
|
|
@@ -265,8 +265,8 @@ const st = (o) => {
|
|
|
265
265
|
])
|
|
266
266
|
]);
|
|
267
267
|
};
|
|
268
|
-
|
|
269
|
-
const
|
|
268
|
+
at.props = ["size", "style"];
|
|
269
|
+
const it = (o) => {
|
|
270
270
|
const e = o.size ?? 20;
|
|
271
271
|
return a("svg", { width: e, height: e, viewBox: "0 0 20 20", fill: "none" }, [
|
|
272
272
|
a("path", {
|
|
@@ -275,7 +275,7 @@ const at = (o) => {
|
|
|
275
275
|
})
|
|
276
276
|
]);
|
|
277
277
|
};
|
|
278
|
-
|
|
278
|
+
it.props = ["size"];
|
|
279
279
|
const ze = (o) => {
|
|
280
280
|
const e = o.size ?? 14;
|
|
281
281
|
return a("svg", { width: e, height: e, viewBox: "0 0 14 14", fill: "none" }, [
|
|
@@ -308,39 +308,39 @@ const ze = (o) => {
|
|
|
308
308
|
]);
|
|
309
309
|
};
|
|
310
310
|
ze.props = ["size"];
|
|
311
|
-
const
|
|
311
|
+
const Mo = (o) => {
|
|
312
312
|
const e = o.size ?? 16;
|
|
313
313
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
314
314
|
a("path", { d: "M4.75 11.25C4.75 10.4216 5.42157 9.75 6.25 9.75H12.75C13.5784 9.75 14.25 10.4216 14.25 11.25V17.75C14.25 18.5784 13.5784 19.25 12.75 19.25H6.25C5.42157 19.25 4.75 18.5784 4.75 17.75V11.25Z", stroke: "currentColor", "stroke-width": "1.5" }),
|
|
315
315
|
a("path", { d: "M17.25 14.25H17.75C18.5784 14.25 19.25 13.5784 19.25 12.75V6.25C19.25 5.42157 18.5784 4.75 17.75 4.75H11.25C10.4216 4.75 9.75 5.42157 9.75 6.25V6.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })
|
|
316
316
|
]);
|
|
317
317
|
};
|
|
318
|
-
|
|
319
|
-
const
|
|
320
|
-
const e = o.size ?? 24,
|
|
318
|
+
Mo.props = ["size"];
|
|
319
|
+
const rt = (o) => {
|
|
320
|
+
const e = o.size ?? 24, c = o.copied ?? !1;
|
|
321
321
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
322
322
|
a("style", {}, ".copy-icon, .check-icon { transition: opacity 0.2s ease, transform 0.2s ease; }"),
|
|
323
323
|
// Copy icon
|
|
324
|
-
a("g", { class: "copy-icon", style: { opacity:
|
|
324
|
+
a("g", { class: "copy-icon", style: { opacity: c ? 0 : 1, transform: c ? "scale(0.8)" : "scale(1)", transformOrigin: "center" } }, [
|
|
325
325
|
a("path", { d: "M4.75 11.25C4.75 10.4216 5.42157 9.75 6.25 9.75H12.75C13.5784 9.75 14.25 10.4216 14.25 11.25V17.75C14.25 18.5784 13.5784 19.25 12.75 19.25H6.25C5.42157 19.25 4.75 18.5784 4.75 17.75V11.25Z", stroke: "currentColor", "stroke-width": "1.5" }),
|
|
326
326
|
a("path", { d: "M17.25 14.25H17.75C18.5784 14.25 19.25 13.5784 19.25 12.75V6.25C19.25 5.42157 18.5784 4.75 17.75 4.75H11.25C10.4216 4.75 9.75 5.42157 9.75 6.25V6.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })
|
|
327
327
|
]),
|
|
328
328
|
// Checkmark circle
|
|
329
|
-
a("g", { class: "check-icon", style: { opacity:
|
|
329
|
+
a("g", { class: "check-icon", style: { opacity: c ? 1 : 0, transform: c ? "scale(1)" : "scale(0.8)", transformOrigin: "center" } }, [
|
|
330
330
|
a("path", { d: "M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
331
331
|
a("path", { d: "M15 10L11 14.25L9.25 12.25", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
332
332
|
])
|
|
333
333
|
]);
|
|
334
334
|
};
|
|
335
|
-
|
|
336
|
-
const
|
|
335
|
+
rt.props = ["size", "copied"];
|
|
336
|
+
const So = (o) => {
|
|
337
337
|
const e = o.size ?? 16;
|
|
338
338
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
339
339
|
a("path", { d: "M4.91516 12.7108C4.63794 12.2883 4.63705 11.7565 4.91242 11.3328C5.84146 9.9033 8.30909 6.74994 12 6.74994C15.6909 6.74994 18.1585 9.9033 19.0876 11.3328C19.3629 11.7565 19.3621 12.2883 19.0848 12.7108C18.1537 14.13 15.6873 17.2499 12 17.2499C8.31272 17.2499 5.8463 14.13 4.91516 12.7108Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
340
340
|
a("path", { d: "M12 14.25C13.2426 14.25 14.25 13.2426 14.25 12C14.25 10.7574 13.2426 9.75 12 9.75C10.7574 9.75 9.75 10.7574 9.75 12C9.75 13.2426 10.7574 14.25 12 14.25Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
341
341
|
]);
|
|
342
342
|
};
|
|
343
|
-
|
|
343
|
+
So.props = ["size"];
|
|
344
344
|
const zo = (o) => {
|
|
345
345
|
const e = o.size ?? 24;
|
|
346
346
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
@@ -349,74 +349,74 @@ const zo = (o) => {
|
|
|
349
349
|
]);
|
|
350
350
|
};
|
|
351
351
|
zo.props = ["size"];
|
|
352
|
-
const
|
|
352
|
+
const Eo = (o) => {
|
|
353
353
|
const e = o.size ?? 24;
|
|
354
354
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
355
355
|
a("path", { d: "M18.6025 9.28503C18.9174 8.9701 19.4364 8.99481 19.7015 9.35271C20.1484 9.95606 20.4943 10.507 20.7342 10.9199C21.134 11.6086 21.1329 12.4454 20.7303 13.1328C20.2144 14.013 19.2151 15.5225 17.7723 16.8193C16.3293 18.1162 14.3852 19.2497 12.0008 19.25C11.4192 19.25 10.8638 19.1823 10.3355 19.0613C9.77966 18.934 9.63498 18.2525 10.0382 17.8493C10.2412 17.6463 10.5374 17.573 10.8188 17.6302C11.1993 17.7076 11.5935 17.75 12.0008 17.75C13.8848 17.7497 15.4867 16.8568 16.7693 15.7041C18.0522 14.5511 18.9606 13.1867 19.4363 12.375C19.5656 12.1543 19.5659 11.8943 19.4373 11.6729C19.2235 11.3049 18.921 10.8242 18.5364 10.3003C18.3085 9.98991 18.3302 9.5573 18.6025 9.28503ZM12.0008 4.75C12.5814 4.75006 13.1358 4.81803 13.6632 4.93953C14.2182 5.06741 14.362 5.74812 13.9593 6.15091C13.7558 6.35435 13.4589 6.42748 13.1771 6.36984C12.7983 6.29239 12.4061 6.25006 12.0008 6.25C10.1167 6.25 8.51415 7.15145 7.23028 8.31543C5.94678 9.47919 5.03918 10.8555 4.56426 11.6729C4.43551 11.8945 4.43582 12.1542 4.56524 12.375C4.77587 12.7343 5.07189 13.2012 5.44718 13.7105C5.67623 14.0213 5.65493 14.4552 5.38193 14.7282C5.0671 15.0431 4.54833 15.0189 4.28292 14.6614C3.84652 14.0736 3.50813 13.5369 3.27129 13.1328C2.86831 12.4451 2.86717 11.6088 3.26739 10.9199C3.78185 10.0345 4.77959 8.51239 6.22247 7.2041C7.66547 5.89584 9.61202 4.75 12.0008 4.75Z", fill: "currentColor" }),
|
|
356
356
|
a("path", { d: "M5 19L19 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })
|
|
357
357
|
]);
|
|
358
358
|
};
|
|
359
|
-
|
|
360
|
-
const
|
|
361
|
-
const e = o.size ?? 24,
|
|
359
|
+
Eo.props = ["size"];
|
|
360
|
+
const ct = (o) => {
|
|
361
|
+
const e = o.size ?? 24, c = o.isOpen ?? !0;
|
|
362
362
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
363
363
|
a("style", {}, ".eye-open, .eye-closed { transition: opacity 0.2s ease; }"),
|
|
364
364
|
// Open state
|
|
365
|
-
a("g", { class: "eye-open", style: { opacity:
|
|
365
|
+
a("g", { class: "eye-open", style: { opacity: c ? 1 : 0 } }, [
|
|
366
366
|
a("path", { d: "M3.91752 12.7539C3.65127 12.2996 3.65037 11.7515 3.9149 11.2962C4.9042 9.59346 7.72688 5.49994 12 5.49994C16.2731 5.49994 19.0958 9.59346 20.0851 11.2962C20.3496 11.7515 20.3487 12.2996 20.0825 12.7539C19.0908 14.4459 16.2694 18.4999 12 18.4999C7.73064 18.4999 4.90918 14.4459 3.91752 12.7539Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
367
367
|
a("path", { d: "M12 14.8261C13.5608 14.8261 14.8261 13.5608 14.8261 12C14.8261 10.4392 13.5608 9.17392 12 9.17392C10.4392 9.17392 9.17391 10.4392 9.17391 12C9.17391 13.5608 10.4392 14.8261 12 14.8261Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
368
368
|
]),
|
|
369
369
|
// Closed state
|
|
370
|
-
a("g", { class: "eye-closed", style: { opacity:
|
|
370
|
+
a("g", { class: "eye-closed", style: { opacity: c ? 0 : 1 } }, [
|
|
371
371
|
a("path", { d: "M18.6025 9.28503C18.9174 8.9701 19.4364 8.99481 19.7015 9.35271C20.1484 9.95606 20.4943 10.507 20.7342 10.9199C21.134 11.6086 21.1329 12.4454 20.7303 13.1328C20.2144 14.013 19.2151 15.5225 17.7723 16.8193C16.3293 18.1162 14.3852 19.2497 12.0008 19.25C11.4192 19.25 10.8638 19.1823 10.3355 19.0613C9.77966 18.934 9.63498 18.2525 10.0382 17.8493C10.2412 17.6463 10.5374 17.573 10.8188 17.6302C11.1993 17.7076 11.5935 17.75 12.0008 17.75C13.8848 17.7497 15.4867 16.8568 16.7693 15.7041C18.0522 14.5511 18.9606 13.1867 19.4363 12.375C19.5656 12.1543 19.5659 11.8943 19.4373 11.6729C19.2235 11.3049 18.921 10.8242 18.5364 10.3003C18.3085 9.98991 18.3302 9.5573 18.6025 9.28503ZM12.0008 4.75C12.5814 4.75006 13.1358 4.81803 13.6632 4.93953C14.2182 5.06741 14.362 5.74812 13.9593 6.15091C13.7558 6.35435 13.4589 6.42748 13.1771 6.36984C12.7983 6.29239 12.4061 6.25006 12.0008 6.25C10.1167 6.25 8.51415 7.15145 7.23028 8.31543C5.94678 9.47919 5.03918 10.8555 4.56426 11.6729C4.43551 11.8945 4.43582 12.1542 4.56524 12.375C4.77587 12.7343 5.07189 13.2012 5.44718 13.7105C5.67623 14.0213 5.65493 14.4552 5.38193 14.7282C5.0671 15.0431 4.54833 15.0189 4.28292 14.6614C3.84652 14.0736 3.50813 13.5369 3.27129 13.1328C2.86831 12.4451 2.86717 11.6088 3.26739 10.9199C3.78185 10.0345 4.77959 8.51239 6.22247 7.2041C7.66547 5.89584 9.61202 4.75 12.0008 4.75Z", fill: "currentColor" }),
|
|
372
372
|
a("path", { d: "M5 19L19 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })
|
|
373
373
|
])
|
|
374
374
|
]);
|
|
375
375
|
};
|
|
376
|
-
|
|
377
|
-
const
|
|
378
|
-
const e = o.size ?? 24,
|
|
376
|
+
ct.props = ["size", "isOpen"];
|
|
377
|
+
const ut = (o) => {
|
|
378
|
+
const e = o.size ?? 24, c = o.isPaused ?? !1;
|
|
379
379
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
380
380
|
a("style", {}, ".pause-bar, .play-triangle { transition: opacity 0.15s ease; }"),
|
|
381
381
|
// Pause bars
|
|
382
|
-
a("path", { class: "pause-bar", d: "M8 6L8 18", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", style: { opacity:
|
|
383
|
-
a("path", { class: "pause-bar", d: "M16 18L16 6", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", style: { opacity:
|
|
382
|
+
a("path", { class: "pause-bar", d: "M8 6L8 18", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", style: { opacity: c ? 0 : 1 } }),
|
|
383
|
+
a("path", { class: "pause-bar", d: "M16 18L16 6", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", style: { opacity: c ? 0 : 1 } }),
|
|
384
384
|
// Play triangle
|
|
385
|
-
a("path", { class: "play-triangle", d: "M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z", stroke: "currentColor", "stroke-width": "1.5", style: { opacity:
|
|
385
|
+
a("path", { class: "play-triangle", d: "M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z", stroke: "currentColor", "stroke-width": "1.5", style: { opacity: c ? 1 : 0 } })
|
|
386
386
|
]);
|
|
387
387
|
};
|
|
388
|
-
|
|
389
|
-
const
|
|
388
|
+
ut.props = ["size", "isPaused"];
|
|
389
|
+
const dt = (o) => {
|
|
390
390
|
const e = o.size ?? 16;
|
|
391
391
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
392
392
|
a("path", { d: "M10.6504 5.81117C10.9939 4.39628 13.0061 4.39628 13.3496 5.81117C13.5715 6.72517 14.6187 7.15891 15.4219 6.66952C16.6652 5.91193 18.0881 7.33479 17.3305 8.57815C16.8411 9.38134 17.2748 10.4285 18.1888 10.6504C19.6037 10.9939 19.6037 13.0061 18.1888 13.3496C17.2748 13.5715 16.8411 14.6187 17.3305 15.4219C18.0881 16.6652 16.6652 18.0881 15.4219 17.3305C14.6187 16.8411 13.5715 17.2748 13.3496 18.1888C13.0061 19.6037 10.9939 19.6037 10.6504 18.1888C10.4285 17.2748 9.38135 16.8411 8.57815 17.3305C7.33479 18.0881 5.91193 16.6652 6.66952 15.4219C7.15891 14.6187 6.72517 13.5715 5.81117 13.3496C4.39628 13.0061 4.39628 10.9939 5.81117 10.6504C6.72517 10.4285 7.15891 9.38134 6.66952 8.57815C5.91193 7.33479 7.33479 5.91192 8.57815 6.66952C9.38135 7.15891 10.4285 6.72517 10.6504 5.81117Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
393
393
|
a("circle", { cx: "12", cy: "12", r: "2.5", stroke: "currentColor", "stroke-width": "1.5" })
|
|
394
394
|
]);
|
|
395
395
|
};
|
|
396
|
-
|
|
397
|
-
const
|
|
396
|
+
dt.props = ["size"];
|
|
397
|
+
const $o = (o) => {
|
|
398
398
|
const e = o.size ?? 24;
|
|
399
399
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
400
400
|
a("path", { d: "M8 6L8 18", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" }),
|
|
401
401
|
a("path", { d: "M16 18L16 6", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })
|
|
402
402
|
]);
|
|
403
403
|
};
|
|
404
|
-
|
|
405
|
-
const
|
|
404
|
+
$o.props = ["size"];
|
|
405
|
+
const To = (o) => {
|
|
406
406
|
const e = o.size ?? 16;
|
|
407
407
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
408
408
|
a("path", { d: "M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z", stroke: "currentColor", "stroke-width": "1.5" })
|
|
409
409
|
]);
|
|
410
410
|
};
|
|
411
|
-
|
|
412
|
-
const
|
|
411
|
+
To.props = ["size"];
|
|
412
|
+
const pt = (o) => {
|
|
413
413
|
const e = o.size ?? 16;
|
|
414
414
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
415
415
|
a("path", { d: "M13.5 4C14.7426 4 15.75 5.00736 15.75 6.25V7H18.5C18.9142 7 19.25 7.33579 19.25 7.75C19.25 8.16421 18.9142 8.5 18.5 8.5H17.9678L17.6328 16.2217C17.61 16.7475 17.5912 17.1861 17.5469 17.543C17.5015 17.9087 17.4225 18.2506 17.2461 18.5723C16.9747 19.0671 16.5579 19.4671 16.0518 19.7168C15.7227 19.8791 15.3772 19.9422 15.0098 19.9717C14.6514 20.0004 14.2126 20 13.6865 20H10.3135C9.78735 20 9.34856 20.0004 8.99023 19.9717C8.62278 19.9422 8.27729 19.8791 7.94824 19.7168C7.44205 19.4671 7.02532 19.0671 6.75391 18.5723C6.57751 18.2506 6.49853 17.9087 6.45312 17.543C6.40883 17.1861 6.39005 16.7475 6.36719 16.2217L6.03223 8.5H5.5C5.08579 8.5 4.75 8.16421 4.75 7.75C4.75 7.33579 5.08579 7 5.5 7H8.25V6.25C8.25 5.00736 9.25736 4 10.5 4H13.5ZM7.86621 16.1562C7.89013 16.7063 7.90624 17.0751 7.94141 17.3584C7.97545 17.6326 8.02151 17.7644 8.06934 17.8516C8.19271 18.0763 8.38239 18.2577 8.6123 18.3711C8.70153 18.4151 8.83504 18.4545 9.11035 18.4766C9.39482 18.4994 9.76335 18.5 10.3135 18.5H13.6865C14.2367 18.5 14.6052 18.4994 14.8896 18.4766C15.165 18.4545 15.2985 18.4151 15.3877 18.3711C15.6176 18.2577 15.8073 18.0763 15.9307 17.8516C15.9785 17.7644 16.0245 17.6326 16.0586 17.3584C16.0938 17.0751 16.1099 16.7063 16.1338 16.1562L16.4668 8.5H7.5332L7.86621 16.1562ZM9.97656 10.75C10.3906 10.7371 10.7371 11.0626 10.75 11.4766L10.875 15.4766C10.8879 15.8906 10.5624 16.2371 10.1484 16.25C9.73443 16.2629 9.38794 15.9374 9.375 15.5234L9.25 11.5234C9.23706 11.1094 9.56255 10.7629 9.97656 10.75ZM14.0244 10.75C14.4384 10.7635 14.7635 11.1105 14.75 11.5244L14.6201 15.5244C14.6066 15.9384 14.2596 16.2634 13.8457 16.25C13.4317 16.2365 13.1067 15.8896 13.1201 15.4756L13.251 11.4756C13.2645 11.0617 13.6105 10.7366 14.0244 10.75ZM10.5 5.5C10.0858 5.5 9.75 5.83579 9.75 6.25V7H14.25V6.25C14.25 5.83579 13.9142 5.5 13.5 5.5H10.5Z", fill: "currentColor" })
|
|
416
416
|
]);
|
|
417
417
|
};
|
|
418
|
-
|
|
419
|
-
const
|
|
418
|
+
pt.props = ["size"];
|
|
419
|
+
const ht = (o) => {
|
|
420
420
|
const e = o.size ?? 16;
|
|
421
421
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
422
422
|
a("circle", { cx: "12", cy: "12", r: "4", stroke: "currentColor", "stroke-width": "1.5" }),
|
|
@@ -430,54 +430,54 @@ const pt = (o) => {
|
|
|
430
430
|
a("path", { d: "M5.64 5.64L7.05 7.05", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })
|
|
431
431
|
]);
|
|
432
432
|
};
|
|
433
|
-
|
|
434
|
-
const
|
|
433
|
+
ht.props = ["size"];
|
|
434
|
+
const ft = (o) => {
|
|
435
435
|
const e = o.size ?? 16;
|
|
436
436
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
437
437
|
a("path", { d: "M21 12.79A9 9 0 1111.21 3a7 7 0 009.79 9.79z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
438
438
|
]);
|
|
439
439
|
};
|
|
440
|
-
|
|
441
|
-
const
|
|
440
|
+
ft.props = ["size"];
|
|
441
|
+
const Io = (o) => {
|
|
442
442
|
const e = o.size ?? 24;
|
|
443
443
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
444
444
|
a("path", { d: "M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
445
445
|
a("path", { d: "M15 10L11 14.25L9.25 12.25", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
446
446
|
]);
|
|
447
447
|
};
|
|
448
|
-
|
|
449
|
-
const
|
|
448
|
+
Io.props = ["size"];
|
|
449
|
+
const Bo = (o) => {
|
|
450
450
|
const e = o.size ?? 16;
|
|
451
451
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
452
452
|
a("path", { d: "M16.25 16.25L7.75 7.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
453
453
|
a("path", { d: "M7.75 16.25L16.25 7.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
454
454
|
]);
|
|
455
455
|
};
|
|
456
|
-
|
|
457
|
-
const
|
|
456
|
+
Bo.props = ["size"];
|
|
457
|
+
const Ee = (o) => {
|
|
458
458
|
const e = o.size ?? 12;
|
|
459
459
|
return a("svg", { width: e, height: e, viewBox: "0 0 12 12", fill: "none" }, [
|
|
460
460
|
a("path", { d: "M9 3L3 9M3 3L9 9", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
461
461
|
]);
|
|
462
462
|
};
|
|
463
|
-
|
|
464
|
-
const
|
|
463
|
+
Ee.props = ["size"];
|
|
464
|
+
const Ao = (o) => {
|
|
465
465
|
const e = o.size ?? 16;
|
|
466
466
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
467
467
|
a("path", { d: "M4.91516 12.7108C4.63794 12.2883 4.63705 11.7565 4.91242 11.3328C5.84146 9.9033 8.30909 6.74994 12 6.74994C15.6909 6.74994 18.1585 9.9033 19.0876 11.3328C19.3629 11.7565 19.3621 12.2883 19.0848 12.7108C18.1537 14.13 15.6873 17.2499 12 17.2499C8.31272 17.2499 5.8463 14.13 4.91516 12.7108Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
468
468
|
a("path", { d: "M9 12H15", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })
|
|
469
469
|
]);
|
|
470
470
|
};
|
|
471
|
-
|
|
472
|
-
const
|
|
471
|
+
Ao.props = ["size"];
|
|
472
|
+
const Po = (o) => {
|
|
473
473
|
const e = o.size ?? 16;
|
|
474
474
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
475
475
|
a("path", { d: "M9.25 5.75C9.80228 5.75 10.25 6.19772 10.25 6.75L10.25 17.25C10.25 17.8023 9.80228 18.25 9.25 18.25L6.75 18.25C6.19772 18.25 5.75 17.8023 5.75 17.25L5.75 6.75C5.75 6.19772 6.19772 5.75 6.75 5.75L9.25 5.75Z", stroke: "currentColor", "stroke-width": "1.5" }),
|
|
476
476
|
a("path", { d: "M17.25 5.75C17.8023 5.75 18.25 6.19772 18.25 6.75L18.25 17.25C18.25 17.8023 17.8023 18.25 17.25 18.25L14.75 18.25C14.1977 18.25 13.75 17.8023 13.75 17.25L13.75 6.75C13.75 6.19772 14.1977 5.75 14.75 5.75L17.25 5.75Z", stroke: "currentColor", "stroke-width": "1.5" })
|
|
477
477
|
]);
|
|
478
478
|
};
|
|
479
|
-
|
|
480
|
-
const
|
|
479
|
+
Po.props = ["size"];
|
|
480
|
+
const Ho = (o) => {
|
|
481
481
|
const e = o.size ?? 16;
|
|
482
482
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", style: o.style }, [
|
|
483
483
|
a("path", { d: "M18.8875 19.25L19.6112 19.0533C19.6823 19.3148 19.6068 19.5943 19.4137 19.7844C19.2206 19.9746 18.9399 20.0457 18.6795 19.9706L18.8875 19.25ZM14.9631 18.244L15.263 18.9314L14.9631 18.244ZM18.0914 15.6309L17.4669 15.2156L18.0914 15.6309ZM4.75 11.8041H5.5C5.5 15.2664 8.39065 18.1081 12 18.1081V18.8581V19.6081C7.60123 19.6081 4 16.1334 4 11.8041H4.75ZM19.25 11.8041H18.5C18.5 8.34166 15.6094 5.5 12 5.5V4.75V4C16.3988 4 20 7.47476 20 11.8041H19.25ZM12 4.75V5.5C8.39065 5.5 5.5 8.34166 5.5 11.8041H4.75H4C4 7.47476 7.60123 4 12 4V4.75ZM18.0914 15.6309L17.4669 15.2156C18.1213 14.2315 18.5 13.0612 18.5 11.8041H19.25H20C20 13.3681 19.5276 14.8257 18.716 16.0462L18.0914 15.6309ZM18.8875 19.25L18.1638 19.4467L17.2953 16.2517L18.019 16.055L18.7428 15.8583L19.6112 19.0533L18.8875 19.25ZM12 18.8581V18.1081C12.9509 18.1081 13.8518 17.9105 14.6632 17.5565L14.9631 18.244L15.263 18.9314C14.2652 19.3667 13.1603 19.6081 12 19.6081V18.8581ZM15.3144 18.2188L15.5224 17.4982L19.0955 18.5294L18.8875 19.25L18.6795 19.9706L15.1064 18.9394L15.3144 18.2188ZM14.9631 18.244L14.6632 17.5565C14.925 17.4423 15.2286 17.4134 15.5224 17.4982L15.3144 18.2188L15.1064 18.9394C15.1677 18.957 15.223 18.9489 15.263 18.9314L14.9631 18.244ZM18.0914 15.6309L18.716 16.0462C18.7451 16.0024 18.7636 15.9351 18.7428 15.8583L18.019 16.055L17.2953 16.2517C17.1957 15.8853 17.2716 15.5093 17.4669 15.2156L18.0914 15.6309Z", fill: "currentColor" }),
|
|
@@ -486,8 +486,8 @@ const Po = (o) => {
|
|
|
486
486
|
a("circle", { cx: "9", cy: "11.75", r: "1", fill: "currentColor" })
|
|
487
487
|
]);
|
|
488
488
|
};
|
|
489
|
-
|
|
490
|
-
const
|
|
489
|
+
Ho.props = ["size", "style"];
|
|
490
|
+
const Do = (o) => {
|
|
491
491
|
const e = o.size ?? 16;
|
|
492
492
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
493
493
|
a("g", { "clip-path": "url(#clip0_2_45)" }, [
|
|
@@ -500,8 +500,8 @@ const Ho = (o) => {
|
|
|
500
500
|
])
|
|
501
501
|
]);
|
|
502
502
|
};
|
|
503
|
-
|
|
504
|
-
const
|
|
503
|
+
Do.props = ["size"];
|
|
504
|
+
const No = (o) => {
|
|
505
505
|
const e = o.size ?? 16;
|
|
506
506
|
return a("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none" }, [
|
|
507
507
|
a("g", { "clip-path": "url(#clip0_2_37)" }, [
|
|
@@ -514,9 +514,9 @@ const Do = (o) => {
|
|
|
514
514
|
])
|
|
515
515
|
]);
|
|
516
516
|
};
|
|
517
|
-
|
|
518
|
-
const
|
|
519
|
-
const e = o.size ?? 20,
|
|
517
|
+
No.props = ["size"];
|
|
518
|
+
const Oo = (o) => {
|
|
519
|
+
const e = o.size ?? 20, c = o.color ?? "#4C74FF";
|
|
520
520
|
return a("svg", { width: e, height: e, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [
|
|
521
521
|
a("style", {}, `
|
|
522
522
|
@keyframes bunnyEnterEar { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }
|
|
@@ -536,19 +536,19 @@ const No = (o) => {
|
|
|
536
536
|
svg:hover .bunny-happy-face { opacity: 1; }
|
|
537
537
|
`),
|
|
538
538
|
a("rect", { width: "28", height: "28", fill: "transparent" }),
|
|
539
|
-
a("path", { class: "bunny-ear-left", d: "M3.738 10.2164L7.224 2.007H9.167L5.676 10.2164H3.738ZM10.791 6.42705C10.791 5.90346 10.726 5.42764 10.596 4.99959C10.47 4.57155 10.292 4.16643 10.063 3.78425C9.833 3.39825 9.56 3.01797 9.243 2.64343C8.926 2.26507 8.767 2.07589 8.767 2.07589L10.24 0.957996C10.24 0.957996 10.433 1.17203 10.819 1.60007C11.209 2.0243 11.559 2.49056 11.869 2.99886C12.178 3.50717 12.413 4.04222 12.574 4.60403C12.734 5.16584 12.814 5.77352 12.814 6.42705C12.814 7.10734 12.73 7.7303 12.562 8.29593C12.394 8.85774 12.153 9.3966 11.84 9.9126C11.526 10.4247 11.181 10.8833 10.802 11.2884C10.428 11.6974 10.24 11.9018 10.24 11.9018L8.767 10.7839C8.767 10.7839 8.924 10.5948 9.237 10.2164C9.554 9.8419 9.83 9.4597 10.063 9.06985C10.3 8.6762 10.479 8.26726 10.602 7.84304C10.728 7.41499 10.791 6.943 10.791 6.42705Z", fill:
|
|
540
|
-
a("path", { class: "bunny-ear-right", d: "M15.003 10.2164L18.489 2.007H20.432L16.941 10.2164H15.003ZM22.056 6.42705C22.056 5.90346 21.991 5.42764 21.861 4.99959C21.735 4.57155 21.557 4.16643 21.328 3.78425C21.098 3.39825 20.825 3.01797 20.508 2.64343C20.191 2.26507 20.032 2.07589 20.032 2.07589L21.505 0.957996C21.505 0.957996 21.698 1.17203 22.084 1.60007C22.474 2.0243 22.824 2.49056 23.133 2.99886C23.443 3.50717 23.678 4.04222 23.839 4.60403C23.999 5.16584 24.079 5.77352 24.079 6.42705C24.079 7.10734 23.995 7.7303 23.827 8.29593C23.659 8.85774 23.418 9.3966 23.105 9.9126C22.791 10.4247 22.445 10.8833 22.067 11.2884C21.693 11.6974 21.505 11.9018 21.505 11.9018L20.032 10.7839C20.032 10.7839 20.189 10.5948 20.502 10.2164C20.819 9.8419 21.094 9.4597 21.328 9.06985C21.565 8.6762 21.744 8.26726 21.866 7.84304C21.993 7.41499 22.056 6.943 22.056 6.42705Z", fill:
|
|
541
|
-
a("path", { class: "bunny-face", d: "M2.03 20.4328C2.03 20.9564 2.093 21.4322 2.219 21.8602C2.345 22.2883 2.523 22.6953 2.752 23.0813C2.981 23.4635 3.254 23.8419 3.572 24.2164C3.889 24.5948 4.047 24.7839 4.047 24.7839L2.574 25.9018C2.574 25.9018 2.379 25.6878 1.989 25.2598C1.603 24.8355 1.256 24.3693 0.946 23.861C0.636 23.3527 0.401 22.8176 0.241 22.2558C0.08 21.694 0 21.0863 0 20.4328C0 19.7525 0.084 19.1314 0.252 18.5696C0.421 18.004 0.661 17.4651 0.975 16.953C1.288 16.4371 1.632 15.9765 2.007 15.5714C2.385 15.1625 2.574 14.958 2.574 14.958L4.047 16.0759C4.047 16.0759 3.889 16.2651 3.572 16.6434C3.258 17.018 2.983 17.4021 2.746 17.7957C2.513 18.1855 2.335 18.5945 2.213 19.0225C2.091 19.4467 2.03 19.9168 2.03 20.4328ZM23.687 20.4271C23.687 19.9035 23.622 19.4276 23.492 18.9996C23.366 18.5715 23.188 18.1664 22.959 17.7843C22.729 17.3982 22.456 17.018 22.139 16.6434C21.822 16.2651 21.663 16.0759 21.663 16.0759L23.136 14.958C23.136 14.958 23.329 15.172 23.715 15.6001C24.105 16.0243 24.455 16.4906 24.765 16.9989C25.074 17.5072 25.309 18.0422 25.47 18.604C25.63 19.1658 25.71 19.7735 25.71 20.4271C25.71 21.1073 25.626 21.7303 25.458 22.2959C25.29 22.8577 25.049 23.3966 24.736 23.9126C24.422 24.4247 24.077 24.8833 23.698 25.2884C23.324 25.6974 23.136 25.9018 23.136 25.9018L21.663 24.7839C21.663 24.7839 21.82 24.5948 22.133 24.2164C22.45 23.8419 22.726 23.4597 22.959 23.0698C23.196 22.6762 23.375 22.2673 23.498 21.843C23.624 21.415 23.687 20.943 23.687 20.4271Z", fill:
|
|
542
|
-
a("circle", { class: "bunny-eye-left", cx: "8.277", cy: "20.466", r: "1.8", fill:
|
|
543
|
-
a("circle", { class: "bunny-eye-right", cx: "19.878", cy: "20.466", r: "1.8", fill:
|
|
544
|
-
a("text", { class: "bunny-happy-face", x: "14", y: "26", "text-anchor": "middle", "font-size": "12", "font-weight": "bold", fill:
|
|
539
|
+
a("path", { class: "bunny-ear-left", d: "M3.738 10.2164L7.224 2.007H9.167L5.676 10.2164H3.738ZM10.791 6.42705C10.791 5.90346 10.726 5.42764 10.596 4.99959C10.47 4.57155 10.292 4.16643 10.063 3.78425C9.833 3.39825 9.56 3.01797 9.243 2.64343C8.926 2.26507 8.767 2.07589 8.767 2.07589L10.24 0.957996C10.24 0.957996 10.433 1.17203 10.819 1.60007C11.209 2.0243 11.559 2.49056 11.869 2.99886C12.178 3.50717 12.413 4.04222 12.574 4.60403C12.734 5.16584 12.814 5.77352 12.814 6.42705C12.814 7.10734 12.73 7.7303 12.562 8.29593C12.394 8.85774 12.153 9.3966 11.84 9.9126C11.526 10.4247 11.181 10.8833 10.802 11.2884C10.428 11.6974 10.24 11.9018 10.24 11.9018L8.767 10.7839C8.767 10.7839 8.924 10.5948 9.237 10.2164C9.554 9.8419 9.83 9.4597 10.063 9.06985C10.3 8.6762 10.479 8.26726 10.602 7.84304C10.728 7.41499 10.791 6.943 10.791 6.42705Z", fill: c }),
|
|
540
|
+
a("path", { class: "bunny-ear-right", d: "M15.003 10.2164L18.489 2.007H20.432L16.941 10.2164H15.003ZM22.056 6.42705C22.056 5.90346 21.991 5.42764 21.861 4.99959C21.735 4.57155 21.557 4.16643 21.328 3.78425C21.098 3.39825 20.825 3.01797 20.508 2.64343C20.191 2.26507 20.032 2.07589 20.032 2.07589L21.505 0.957996C21.505 0.957996 21.698 1.17203 22.084 1.60007C22.474 2.0243 22.824 2.49056 23.133 2.99886C23.443 3.50717 23.678 4.04222 23.839 4.60403C23.999 5.16584 24.079 5.77352 24.079 6.42705C24.079 7.10734 23.995 7.7303 23.827 8.29593C23.659 8.85774 23.418 9.3966 23.105 9.9126C22.791 10.4247 22.445 10.8833 22.067 11.2884C21.693 11.6974 21.505 11.9018 21.505 11.9018L20.032 10.7839C20.032 10.7839 20.189 10.5948 20.502 10.2164C20.819 9.8419 21.094 9.4597 21.328 9.06985C21.565 8.6762 21.744 8.26726 21.866 7.84304C21.993 7.41499 22.056 6.943 22.056 6.42705Z", fill: c }),
|
|
541
|
+
a("path", { class: "bunny-face", d: "M2.03 20.4328C2.03 20.9564 2.093 21.4322 2.219 21.8602C2.345 22.2883 2.523 22.6953 2.752 23.0813C2.981 23.4635 3.254 23.8419 3.572 24.2164C3.889 24.5948 4.047 24.7839 4.047 24.7839L2.574 25.9018C2.574 25.9018 2.379 25.6878 1.989 25.2598C1.603 24.8355 1.256 24.3693 0.946 23.861C0.636 23.3527 0.401 22.8176 0.241 22.2558C0.08 21.694 0 21.0863 0 20.4328C0 19.7525 0.084 19.1314 0.252 18.5696C0.421 18.004 0.661 17.4651 0.975 16.953C1.288 16.4371 1.632 15.9765 2.007 15.5714C2.385 15.1625 2.574 14.958 2.574 14.958L4.047 16.0759C4.047 16.0759 3.889 16.2651 3.572 16.6434C3.258 17.018 2.983 17.4021 2.746 17.7957C2.513 18.1855 2.335 18.5945 2.213 19.0225C2.091 19.4467 2.03 19.9168 2.03 20.4328ZM23.687 20.4271C23.687 19.9035 23.622 19.4276 23.492 18.9996C23.366 18.5715 23.188 18.1664 22.959 17.7843C22.729 17.3982 22.456 17.018 22.139 16.6434C21.822 16.2651 21.663 16.0759 21.663 16.0759L23.136 14.958C23.136 14.958 23.329 15.172 23.715 15.6001C24.105 16.0243 24.455 16.4906 24.765 16.9989C25.074 17.5072 25.309 18.0422 25.47 18.604C25.63 19.1658 25.71 19.7735 25.71 20.4271C25.71 21.1073 25.626 21.7303 25.458 22.2959C25.29 22.8577 25.049 23.3966 24.736 23.9126C24.422 24.4247 24.077 24.8833 23.698 25.2884C23.324 25.6974 23.136 25.9018 23.136 25.9018L21.663 24.7839C21.663 24.7839 21.82 24.5948 22.133 24.2164C22.45 23.8419 22.726 23.4597 22.959 23.0698C23.196 22.6762 23.375 22.2673 23.498 21.843C23.624 21.415 23.687 20.943 23.687 20.4271Z", fill: c }),
|
|
542
|
+
a("circle", { class: "bunny-eye-left", cx: "8.277", cy: "20.466", r: "1.8", fill: c }),
|
|
543
|
+
a("circle", { class: "bunny-eye-right", cx: "19.878", cy: "20.466", r: "1.8", fill: c }),
|
|
544
|
+
a("text", { class: "bunny-happy-face", x: "14", y: "26", "text-anchor": "middle", "font-size": "12", "font-weight": "bold", fill: c, "font-family": "system-ui, -apple-system, sans-serif" }, "˃ ᵕ ˂")
|
|
545
545
|
]);
|
|
546
546
|
};
|
|
547
|
-
|
|
548
|
-
function
|
|
549
|
-
const
|
|
550
|
-
let d = o,
|
|
551
|
-
for (; d &&
|
|
547
|
+
Oo.props = ["size", "color"];
|
|
548
|
+
function jo(o, e = 4) {
|
|
549
|
+
const c = [];
|
|
550
|
+
let d = o, h = 0;
|
|
551
|
+
for (; d && h < e; ) {
|
|
552
552
|
const n = d.tagName.toLowerCase();
|
|
553
553
|
if (n === "html" || n === "body") break;
|
|
554
554
|
let y = n;
|
|
@@ -558,17 +558,17 @@ function Oo(o, e = 4) {
|
|
|
558
558
|
const $ = d.className.split(/\s+/).find((k) => k.length > 2 && !k.match(/^[a-z]{1,2}$/) && !k.match(/[A-Z0-9]{5,}/));
|
|
559
559
|
$ && (y = `.${$.split("_")[0]}`);
|
|
560
560
|
}
|
|
561
|
-
|
|
561
|
+
c.unshift(y), d = d.parentElement, h++;
|
|
562
562
|
}
|
|
563
|
-
return
|
|
563
|
+
return c.join(" > ");
|
|
564
564
|
}
|
|
565
565
|
function me(o) {
|
|
566
|
-
var d,
|
|
567
|
-
const e =
|
|
566
|
+
var d, h, n, y, $, k, T, I;
|
|
567
|
+
const e = jo(o);
|
|
568
568
|
if (o.dataset.element)
|
|
569
569
|
return { name: o.dataset.element, path: e };
|
|
570
|
-
const
|
|
571
|
-
if (["path", "circle", "rect", "line", "g"].includes(
|
|
570
|
+
const c = o.tagName.toLowerCase();
|
|
571
|
+
if (["path", "circle", "rect", "line", "g"].includes(c)) {
|
|
572
572
|
const m = o.closest("svg");
|
|
573
573
|
if (m) {
|
|
574
574
|
const b = m.parentElement;
|
|
@@ -577,7 +577,7 @@ function me(o) {
|
|
|
577
577
|
}
|
|
578
578
|
return { name: "graphic element", path: e };
|
|
579
579
|
}
|
|
580
|
-
if (
|
|
580
|
+
if (c === "svg") {
|
|
581
581
|
const m = o.parentElement;
|
|
582
582
|
if ((m == null ? void 0 : m.tagName.toLowerCase()) === "button") {
|
|
583
583
|
const b = (d = m.textContent) == null ? void 0 : d.trim();
|
|
@@ -585,75 +585,75 @@ function me(o) {
|
|
|
585
585
|
}
|
|
586
586
|
return { name: "icon", path: e };
|
|
587
587
|
}
|
|
588
|
-
if (
|
|
589
|
-
const m = (
|
|
588
|
+
if (c === "button") {
|
|
589
|
+
const m = (h = o.textContent) == null ? void 0 : h.trim(), b = o.getAttribute("aria-label");
|
|
590
590
|
return b ? { name: `button [${b}]`, path: e } : { name: m ? `button "${m.slice(0, 25)}"` : "button", path: e };
|
|
591
591
|
}
|
|
592
|
-
if (
|
|
592
|
+
if (c === "a") {
|
|
593
593
|
const m = (n = o.textContent) == null ? void 0 : n.trim(), b = o.getAttribute("href");
|
|
594
594
|
return m ? { name: `link "${m.slice(0, 25)}"`, path: e } : b ? { name: `link to ${b.slice(0, 30)}`, path: e } : { name: "link", path: e };
|
|
595
595
|
}
|
|
596
|
-
if (
|
|
597
|
-
const m = o.getAttribute("type") || "text", b = o.getAttribute("placeholder"),
|
|
598
|
-
return b ? { name: `input "${b}"`, path: e } :
|
|
596
|
+
if (c === "input") {
|
|
597
|
+
const m = o.getAttribute("type") || "text", b = o.getAttribute("placeholder"), S = o.getAttribute("name");
|
|
598
|
+
return b ? { name: `input "${b}"`, path: e } : S ? { name: `input [${S}]`, path: e } : { name: `${m} input`, path: e };
|
|
599
599
|
}
|
|
600
|
-
if (["h1", "h2", "h3", "h4", "h5", "h6"].includes(
|
|
600
|
+
if (["h1", "h2", "h3", "h4", "h5", "h6"].includes(c)) {
|
|
601
601
|
const m = (y = o.textContent) == null ? void 0 : y.trim();
|
|
602
|
-
return { name: m ? `${
|
|
602
|
+
return { name: m ? `${c} "${m.slice(0, 35)}"` : c, path: e };
|
|
603
603
|
}
|
|
604
|
-
if (
|
|
604
|
+
if (c === "p") {
|
|
605
605
|
const m = ($ = o.textContent) == null ? void 0 : $.trim();
|
|
606
606
|
return m ? { name: `paragraph: "${m.slice(0, 40)}${m.length > 40 ? "..." : ""}"`, path: e } : { name: "paragraph", path: e };
|
|
607
607
|
}
|
|
608
|
-
if (
|
|
608
|
+
if (c === "span" || c === "label") {
|
|
609
609
|
const m = (k = o.textContent) == null ? void 0 : k.trim();
|
|
610
|
-
return m && m.length < 40 ? { name: `"${m}"`, path: e } : { name:
|
|
610
|
+
return m && m.length < 40 ? { name: `"${m}"`, path: e } : { name: c, path: e };
|
|
611
611
|
}
|
|
612
|
-
if (
|
|
612
|
+
if (c === "li") {
|
|
613
613
|
const m = (T = o.textContent) == null ? void 0 : T.trim();
|
|
614
614
|
return m && m.length < 40 ? { name: `list item: "${m.slice(0, 35)}"`, path: e } : { name: "list item", path: e };
|
|
615
615
|
}
|
|
616
|
-
if (
|
|
617
|
-
if (
|
|
616
|
+
if (c === "blockquote") return { name: "blockquote", path: e };
|
|
617
|
+
if (c === "code") {
|
|
618
618
|
const m = (I = o.textContent) == null ? void 0 : I.trim();
|
|
619
619
|
return m && m.length < 30 ? { name: `code: \`${m}\``, path: e } : { name: "code", path: e };
|
|
620
620
|
}
|
|
621
|
-
if (
|
|
622
|
-
if (
|
|
621
|
+
if (c === "pre") return { name: "code block", path: e };
|
|
622
|
+
if (c === "img") {
|
|
623
623
|
const m = o.getAttribute("alt");
|
|
624
624
|
return { name: m ? `image "${m.slice(0, 30)}"` : "image", path: e };
|
|
625
625
|
}
|
|
626
|
-
if (
|
|
627
|
-
if (["div", "section", "article", "nav", "header", "footer", "aside", "main"].includes(
|
|
628
|
-
const m = o.className, b = o.getAttribute("role"),
|
|
629
|
-
if (
|
|
626
|
+
if (c === "video") return { name: "video", path: e };
|
|
627
|
+
if (["div", "section", "article", "nav", "header", "footer", "aside", "main"].includes(c)) {
|
|
628
|
+
const m = o.className, b = o.getAttribute("role"), S = o.getAttribute("aria-label");
|
|
629
|
+
if (S) return { name: `${c} [${S}]`, path: e };
|
|
630
630
|
if (b) return { name: `${b}`, path: e };
|
|
631
631
|
if (typeof m == "string" && m) {
|
|
632
632
|
const O = m.split(/[\s_-]+/).map((B) => B.replace(/[A-Z0-9]{5,}.*$/, "")).filter((B) => B.length > 2 && !/^[a-z]{1,2}$/.test(B)).slice(0, 2);
|
|
633
633
|
if (O.length > 0) return { name: O.join(" "), path: e };
|
|
634
634
|
}
|
|
635
|
-
return { name:
|
|
635
|
+
return { name: c === "div" ? "container" : c, path: e };
|
|
636
636
|
}
|
|
637
|
-
return { name:
|
|
637
|
+
return { name: c, path: e };
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function Zo(o) {
|
|
640
640
|
var n, y, $;
|
|
641
|
-
const e = [],
|
|
642
|
-
|
|
641
|
+
const e = [], c = (n = o.textContent) == null ? void 0 : n.trim();
|
|
642
|
+
c && c.length < 100 && e.push(c);
|
|
643
643
|
const d = o.previousElementSibling;
|
|
644
644
|
if (d) {
|
|
645
645
|
const k = (y = d.textContent) == null ? void 0 : y.trim();
|
|
646
646
|
k && k.length < 50 && e.unshift(`[before: "${k.slice(0, 40)}"]`);
|
|
647
647
|
}
|
|
648
|
-
const
|
|
649
|
-
if (
|
|
650
|
-
const k = ($ =
|
|
648
|
+
const h = o.nextElementSibling;
|
|
649
|
+
if (h) {
|
|
650
|
+
const k = ($ = h.textContent) == null ? void 0 : $.trim();
|
|
651
651
|
k && k.length < 50 && e.push(`[after: "${k.slice(0, 40)}"]`);
|
|
652
652
|
}
|
|
653
653
|
return e.join(" ");
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
var
|
|
655
|
+
function S1(o) {
|
|
656
|
+
var c, d;
|
|
657
657
|
if (o.dataset.element) return o.dataset.element;
|
|
658
658
|
const e = o.tagName.toLowerCase();
|
|
659
659
|
if (e === "path") return "path";
|
|
@@ -665,19 +665,19 @@ function M1(o) {
|
|
|
665
665
|
if (e === "g") return "group";
|
|
666
666
|
if (e === "svg") return "svg";
|
|
667
667
|
if (e === "button") {
|
|
668
|
-
const
|
|
669
|
-
return
|
|
668
|
+
const h = (c = o.textContent) == null ? void 0 : c.trim();
|
|
669
|
+
return h ? `button "${h}"` : "button";
|
|
670
670
|
}
|
|
671
671
|
if (e === "input")
|
|
672
672
|
return `input (${o.getAttribute("type") || "text"})`;
|
|
673
673
|
if (e === "span" || e === "p" || e === "label") {
|
|
674
|
-
const
|
|
675
|
-
return
|
|
674
|
+
const h = (d = o.textContent) == null ? void 0 : d.trim();
|
|
675
|
+
return h && h.length < 30 ? `"${h}"` : "text";
|
|
676
676
|
}
|
|
677
677
|
if (e === "div") {
|
|
678
|
-
const
|
|
679
|
-
if (typeof
|
|
680
|
-
const n =
|
|
678
|
+
const h = o.className;
|
|
679
|
+
if (typeof h == "string" && h) {
|
|
680
|
+
const n = h.split(/[\s_-]+/).map((y) => y.replace(/[A-Z0-9]{5,}.*$/, "")).filter((y) => y.length > 2 && !/^[a-z]{1,2}$/.test(y)).slice(0, 2);
|
|
681
681
|
if (n.length > 0)
|
|
682
682
|
return n.join(" ");
|
|
683
683
|
}
|
|
@@ -685,24 +685,24 @@ function M1(o) {
|
|
|
685
685
|
}
|
|
686
686
|
return e;
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function Ro(o) {
|
|
689
689
|
const e = o.parentElement;
|
|
690
690
|
if (!e) return "";
|
|
691
|
-
const
|
|
691
|
+
const c = Array.from(e.children).filter(
|
|
692
692
|
(k) => k !== o && k instanceof HTMLElement
|
|
693
693
|
);
|
|
694
|
-
if (
|
|
695
|
-
const d =
|
|
694
|
+
if (c.length === 0) return "";
|
|
695
|
+
const d = c.slice(0, 4).map((k) => {
|
|
696
696
|
var b;
|
|
697
697
|
const T = k.tagName.toLowerCase(), I = k.className;
|
|
698
698
|
let m = "";
|
|
699
699
|
if (typeof I == "string" && I) {
|
|
700
|
-
const
|
|
701
|
-
|
|
700
|
+
const S = I.split(/\s+/).map((O) => O.replace(/[_][a-zA-Z0-9]{5,}.*$/, "")).find((O) => O.length > 2 && !/^[a-z]{1,2}$/.test(O));
|
|
701
|
+
S && (m = `.${S}`);
|
|
702
702
|
}
|
|
703
703
|
if (T === "button" || T === "a") {
|
|
704
|
-
const
|
|
705
|
-
if (
|
|
704
|
+
const S = (b = k.textContent) == null ? void 0 : b.trim().slice(0, 15);
|
|
705
|
+
if (S) return `${T}${m} "${S}"`;
|
|
706
706
|
}
|
|
707
707
|
return `${T}${m}`;
|
|
708
708
|
});
|
|
@@ -714,27 +714,27 @@ function Zo(o) {
|
|
|
714
714
|
const y = e.children.length, $ = y > d.length + 1 ? ` (${y} total in ${n})` : "";
|
|
715
715
|
return d.join(", ") + $;
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function Vo(o) {
|
|
718
718
|
const e = o.className;
|
|
719
719
|
return typeof e != "string" || !e ? "" : e.split(/\s+/).filter((d) => d.length > 0).map((d) => {
|
|
720
|
-
const
|
|
721
|
-
return
|
|
722
|
-
}).filter((d,
|
|
720
|
+
const h = d.match(/^([a-zA-Z][a-zA-Z0-9_-]*?)(?:_[a-zA-Z0-9]{5,})?$/);
|
|
721
|
+
return h ? h[1] : d;
|
|
722
|
+
}).filter((d, h, n) => n.indexOf(d) === h).join(", ");
|
|
723
723
|
}
|
|
724
724
|
function z1(o) {
|
|
725
725
|
if (typeof window > "u") return "";
|
|
726
|
-
const e = window.getComputedStyle(o),
|
|
727
|
-
d && d !== "rgb(0, 0, 0)" &&
|
|
726
|
+
const e = window.getComputedStyle(o), c = [], d = e.color, h = e.backgroundColor;
|
|
727
|
+
d && d !== "rgb(0, 0, 0)" && c.push(`color: ${d}`), h && h !== "rgba(0, 0, 0, 0)" && h !== "transparent" && c.push(`bg: ${h}`);
|
|
728
728
|
const n = e.fontSize, y = e.fontWeight;
|
|
729
|
-
n &&
|
|
729
|
+
n && c.push(`font: ${n}`), y && y !== "400" && y !== "normal" && c.push(`weight: ${y}`);
|
|
730
730
|
const $ = e.padding, k = e.margin;
|
|
731
|
-
$ && $ !== "0px" &&
|
|
731
|
+
$ && $ !== "0px" && c.push(`padding: ${$}`), k && k !== "0px" && c.push(`margin: ${k}`);
|
|
732
732
|
const T = e.display, I = e.position;
|
|
733
|
-
T && T !== "block" && T !== "inline" &&
|
|
733
|
+
T && T !== "block" && T !== "inline" && c.push(`display: ${T}`), I && I !== "static" && c.push(`position: ${I}`);
|
|
734
734
|
const m = e.borderRadius;
|
|
735
|
-
return m && m !== "0px" &&
|
|
735
|
+
return m && m !== "0px" && c.push(`radius: ${m}`), c.join(", ");
|
|
736
736
|
}
|
|
737
|
-
const
|
|
737
|
+
const mt = /* @__PURE__ */ new Set([
|
|
738
738
|
"none",
|
|
739
739
|
"normal",
|
|
740
740
|
"auto",
|
|
@@ -743,7 +743,7 @@ const ft = /* @__PURE__ */ new Set([
|
|
|
743
743
|
"transparent",
|
|
744
744
|
"static",
|
|
745
745
|
"visible"
|
|
746
|
-
]),
|
|
746
|
+
]), Fo = /* @__PURE__ */ new Set([
|
|
747
747
|
"p",
|
|
748
748
|
"span",
|
|
749
749
|
"h1",
|
|
@@ -772,7 +772,7 @@ const ft = /* @__PURE__ */ new Set([
|
|
|
772
772
|
"time",
|
|
773
773
|
"cite",
|
|
774
774
|
"q"
|
|
775
|
-
]),
|
|
775
|
+
]), Yo = /* @__PURE__ */ new Set(["input", "textarea", "select"]), Wo = /* @__PURE__ */ new Set(["img", "video", "canvas", "svg"]), Xo = /* @__PURE__ */ new Set([
|
|
776
776
|
"div",
|
|
777
777
|
"section",
|
|
778
778
|
"article",
|
|
@@ -786,18 +786,18 @@ const ft = /* @__PURE__ */ new Set([
|
|
|
786
786
|
"form",
|
|
787
787
|
"fieldset"
|
|
788
788
|
]);
|
|
789
|
-
function
|
|
789
|
+
function Uo(o) {
|
|
790
790
|
if (typeof window > "u") return {};
|
|
791
|
-
const e = window.getComputedStyle(o),
|
|
792
|
-
let
|
|
793
|
-
|
|
794
|
-
for (const n of
|
|
791
|
+
const e = window.getComputedStyle(o), c = {}, d = o.tagName.toLowerCase();
|
|
792
|
+
let h;
|
|
793
|
+
Fo.has(d) ? h = ["color", "fontSize", "fontWeight", "fontFamily", "lineHeight"] : d === "button" || d === "a" && o.getAttribute("role") === "button" ? h = ["backgroundColor", "color", "padding", "borderRadius", "fontSize"] : Yo.has(d) ? h = ["backgroundColor", "color", "padding", "borderRadius", "fontSize"] : Wo.has(d) ? h = ["width", "height", "objectFit", "borderRadius"] : Xo.has(d) ? h = ["display", "padding", "margin", "gap", "backgroundColor"] : h = ["color", "fontSize", "margin", "padding", "backgroundColor"];
|
|
794
|
+
for (const n of h) {
|
|
795
795
|
const y = n.replace(/([A-Z])/g, "-$1").toLowerCase(), $ = e.getPropertyValue(y);
|
|
796
|
-
$ && !
|
|
796
|
+
$ && !mt.has($) && (c[n] = $);
|
|
797
797
|
}
|
|
798
|
-
return
|
|
798
|
+
return c;
|
|
799
799
|
}
|
|
800
|
-
const
|
|
800
|
+
const qo = [
|
|
801
801
|
// Colors
|
|
802
802
|
"color",
|
|
803
803
|
"backgroundColor",
|
|
@@ -836,77 +836,77 @@ const Uo = [
|
|
|
836
836
|
// Transform
|
|
837
837
|
"transform"
|
|
838
838
|
];
|
|
839
|
-
function
|
|
839
|
+
function Go(o) {
|
|
840
840
|
if (typeof window > "u") return "";
|
|
841
|
-
const e = window.getComputedStyle(o),
|
|
842
|
-
for (const d of
|
|
843
|
-
const
|
|
844
|
-
n && !
|
|
841
|
+
const e = window.getComputedStyle(o), c = [];
|
|
842
|
+
for (const d of qo) {
|
|
843
|
+
const h = d.replace(/([A-Z])/g, "-$1").toLowerCase(), n = e.getPropertyValue(h);
|
|
844
|
+
n && !mt.has(n) && c.push(`${h}: ${n}`);
|
|
845
845
|
}
|
|
846
|
-
return
|
|
846
|
+
return c.join("; ");
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function E1(o) {
|
|
849
849
|
if (!o) return;
|
|
850
|
-
const e = {},
|
|
851
|
-
for (const d of
|
|
852
|
-
const
|
|
853
|
-
if (
|
|
854
|
-
const n = d.slice(0,
|
|
850
|
+
const e = {}, c = o.split(";").map((d) => d.trim()).filter(Boolean);
|
|
851
|
+
for (const d of c) {
|
|
852
|
+
const h = d.indexOf(":");
|
|
853
|
+
if (h > 0) {
|
|
854
|
+
const n = d.slice(0, h).trim(), y = d.slice(h + 1).trim();
|
|
855
855
|
n && y && (e[n] = y);
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
return Object.keys(e).length > 0 ? e : void 0;
|
|
859
859
|
}
|
|
860
|
-
function Go(o) {
|
|
861
|
-
const e = [], r = o.getAttribute("role"), d = o.getAttribute("aria-label"), f = o.getAttribute("aria-describedby"), n = o.getAttribute("tabindex"), y = o.getAttribute("aria-hidden");
|
|
862
|
-
return r && e.push(`role="${r}"`), d && e.push(`aria-label="${d}"`), f && e.push(`aria-describedby="${f}"`), n && e.push(`tabindex=${n}`), y === "true" && e.push("aria-hidden"), o.matches("a, button, input, select, textarea, [tabindex]") && e.push("focusable"), e.join(", ");
|
|
863
|
-
}
|
|
864
860
|
function Ko(o) {
|
|
861
|
+
const e = [], c = o.getAttribute("role"), d = o.getAttribute("aria-label"), h = o.getAttribute("aria-describedby"), n = o.getAttribute("tabindex"), y = o.getAttribute("aria-hidden");
|
|
862
|
+
return c && e.push(`role="${c}"`), d && e.push(`aria-label="${d}"`), h && e.push(`aria-describedby="${h}"`), n && e.push(`tabindex=${n}`), y === "true" && e.push("aria-hidden"), o.matches("a, button, input, select, textarea, [tabindex]") && e.push("focusable"), e.join(", ");
|
|
863
|
+
}
|
|
864
|
+
function Qo(o) {
|
|
865
865
|
const e = [];
|
|
866
|
-
let
|
|
867
|
-
for (;
|
|
868
|
-
const d =
|
|
869
|
-
let
|
|
870
|
-
if (
|
|
871
|
-
|
|
872
|
-
else if (
|
|
873
|
-
const n =
|
|
874
|
-
n && (
|
|
866
|
+
let c = o;
|
|
867
|
+
for (; c && c.tagName.toLowerCase() !== "html"; ) {
|
|
868
|
+
const d = c.tagName.toLowerCase();
|
|
869
|
+
let h = d;
|
|
870
|
+
if (c.id)
|
|
871
|
+
h = `${d}#${c.id}`;
|
|
872
|
+
else if (c.className && typeof c.className == "string") {
|
|
873
|
+
const n = c.className.split(/\s+/).map((y) => y.replace(/[_][a-zA-Z0-9]{5,}.*$/, "")).find((y) => y.length > 2);
|
|
874
|
+
n && (h = `${d}.${n}`);
|
|
875
875
|
}
|
|
876
|
-
e.unshift(
|
|
876
|
+
e.unshift(h), c = c.parentElement;
|
|
877
877
|
}
|
|
878
878
|
return e.join(" > ");
|
|
879
879
|
}
|
|
880
|
-
const
|
|
880
|
+
const Jo = "feedback-annotations-", en = 7;
|
|
881
881
|
function ue(o) {
|
|
882
|
-
return `${
|
|
882
|
+
return `${Jo}${o}`;
|
|
883
883
|
}
|
|
884
|
-
function
|
|
884
|
+
function tn(o) {
|
|
885
885
|
if (typeof window > "u") return [];
|
|
886
886
|
try {
|
|
887
887
|
const e = localStorage.getItem(ue(o));
|
|
888
888
|
if (!e) return [];
|
|
889
|
-
const
|
|
890
|
-
return
|
|
889
|
+
const c = JSON.parse(e), d = Date.now() - en * 24 * 60 * 60 * 1e3;
|
|
890
|
+
return c.filter((h) => !h.timestamp || h.timestamp > d);
|
|
891
891
|
} catch {
|
|
892
892
|
return [];
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
|
-
function
|
|
895
|
+
function on(o, e) {
|
|
896
896
|
if (!(typeof window > "u"))
|
|
897
897
|
try {
|
|
898
898
|
localStorage.setItem(ue(o), JSON.stringify(e));
|
|
899
899
|
} catch {
|
|
900
900
|
}
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function $1(o) {
|
|
903
903
|
if (!(typeof window > "u"))
|
|
904
904
|
try {
|
|
905
905
|
localStorage.removeItem(ue(o));
|
|
906
906
|
} catch {
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
|
-
const
|
|
909
|
+
const nn = "1.0.3", ln = ["data-active"], sn = ["disabled"], an = ["disabled", "data-active"], rn = ["disabled"], cn = ["title"], un = ["onClick"], dn = ["title"], pn = ["onMouseenter", "onClick", "onContextmenu"], Ke = 5, hn = 50, Qe = 20, Je = 290, we = 280, ke = 20, et = 5, fn = /* @__PURE__ */ tt({
|
|
910
910
|
__name: "Agentation",
|
|
911
911
|
props: {
|
|
912
912
|
accentColor: { default: "#3c82f7" },
|
|
@@ -919,7 +919,7 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
919
919
|
},
|
|
920
920
|
emits: ["annotationAdd", "annotationDelete", "annotationUpdate", "annotationsClear", "copy"],
|
|
921
921
|
setup(o, { emit: e }) {
|
|
922
|
-
let
|
|
922
|
+
let c = !1;
|
|
923
923
|
const d = /* @__PURE__ */ new Set([
|
|
924
924
|
"P",
|
|
925
925
|
"SPAN",
|
|
@@ -958,7 +958,7 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
958
958
|
"SMALL",
|
|
959
959
|
"SUB",
|
|
960
960
|
"SUP"
|
|
961
|
-
]),
|
|
961
|
+
]), h = [
|
|
962
962
|
"BUTTON",
|
|
963
963
|
"A",
|
|
964
964
|
"INPUT",
|
|
@@ -974,7 +974,7 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
974
974
|
"LABEL",
|
|
975
975
|
"TD",
|
|
976
976
|
"TH"
|
|
977
|
-
], n =
|
|
977
|
+
], n = ot(), y = [
|
|
978
978
|
{ value: "compact", label: "Compact" },
|
|
979
979
|
{ value: "standard", label: "Standard" },
|
|
980
980
|
{ value: "detailed", label: "Detailed" },
|
|
@@ -990,117 +990,119 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
990
990
|
annotationColor: "#3c82f7",
|
|
991
991
|
autoClearAfterCopy: !1,
|
|
992
992
|
blockInteractions: !1
|
|
993
|
-
}, T = o, I = e, m = _(!1), b = _(!1),
|
|
993
|
+
}, T = o, I = e, m = _(!1), b = _(!1), S = _([]), O = _(!0), B = _(null), se = _({ x: 0, y: 0 }), g = _(null), z = _(null), ae = _(!1), ve = _(!1), M = _(null), C = _(!0), W = _(!1), K = _(0), de = _(!1), xe = _(!1), x = _({ ...k }), J = _(!1), j = _(null), ne = _(!1), ee = _(null), $e = _(0);
|
|
994
994
|
let X = !1;
|
|
995
|
-
const te = _(!1), U = _(null), q = _(null),
|
|
996
|
-
let Ce = !1,
|
|
995
|
+
const te = _(!1), U = _(null), q = _(null), ie = _([]);
|
|
996
|
+
let Ce = !1, Te = 0;
|
|
997
997
|
const pe = _(null);
|
|
998
|
-
let
|
|
999
|
-
const
|
|
998
|
+
let _e = !1;
|
|
999
|
+
const Ie = _(null), Be = _(null), le = _(typeof window < "u" ? window.location.pathname : "/"), ye = () => {
|
|
1000
|
+
le.value = window.location.pathname;
|
|
1001
|
+
}, be = ge(() => S.value.length > 0), gt = ge(() => {
|
|
1000
1002
|
if (!g.value) return { left: "0px", top: "0px" };
|
|
1001
|
-
const t = g.value.clientY,
|
|
1002
|
-
|
|
1003
|
+
const t = g.value.clientY, f = g.value.x / 100 * (typeof window < "u" ? window.innerWidth : 1e3), u = Math.max(
|
|
1004
|
+
we / 2 + ke,
|
|
1003
1005
|
Math.min(
|
|
1004
|
-
(typeof window < "u" ? window.innerWidth : 1e3) -
|
|
1005
|
-
|
|
1006
|
+
(typeof window < "u" ? window.innerWidth : 1e3) - we / 2 - ke,
|
|
1007
|
+
f
|
|
1006
1008
|
)
|
|
1007
|
-
),
|
|
1008
|
-
return t >
|
|
1009
|
-
left: `${
|
|
1010
|
-
bottom: `${
|
|
1009
|
+
), r = typeof window < "u" ? window.innerHeight : 800;
|
|
1010
|
+
return t > r - Je ? {
|
|
1011
|
+
left: `${u}px`,
|
|
1012
|
+
bottom: `${r - t + 20}px`
|
|
1011
1013
|
} : {
|
|
1012
|
-
left: `${
|
|
1014
|
+
left: `${u}px`,
|
|
1013
1015
|
top: `${t + 20}px`
|
|
1014
1016
|
};
|
|
1015
|
-
}),
|
|
1016
|
-
if (!
|
|
1017
|
-
const t =
|
|
1018
|
-
|
|
1017
|
+
}), vt = ge(() => {
|
|
1018
|
+
if (!z.value) return { left: "0px", top: "0px" };
|
|
1019
|
+
const t = z.value, s = t.isFixed ? t.y : t.y - K.value, u = t.x / 100 * (typeof window < "u" ? window.innerWidth : 1e3), r = Math.max(
|
|
1020
|
+
we / 2 + ke,
|
|
1019
1021
|
Math.min(
|
|
1020
|
-
(typeof window < "u" ? window.innerWidth : 1e3) -
|
|
1021
|
-
|
|
1022
|
+
(typeof window < "u" ? window.innerWidth : 1e3) - we / 2 - ke,
|
|
1023
|
+
u
|
|
1022
1024
|
)
|
|
1023
1025
|
), i = typeof window < "u" ? window.innerHeight : 800;
|
|
1024
|
-
return
|
|
1025
|
-
left: `${
|
|
1026
|
-
bottom: `${i -
|
|
1026
|
+
return s > i - Je ? {
|
|
1027
|
+
left: `${r}px`,
|
|
1028
|
+
bottom: `${i - s + 20}px`
|
|
1027
1029
|
} : {
|
|
1028
|
-
left: `${
|
|
1029
|
-
top: `${
|
|
1030
|
+
left: `${r}px`,
|
|
1031
|
+
top: `${s + 20}px`
|
|
1030
1032
|
};
|
|
1031
1033
|
});
|
|
1032
|
-
function
|
|
1033
|
-
let
|
|
1034
|
-
for (;
|
|
1035
|
-
const
|
|
1036
|
-
if (
|
|
1034
|
+
function Ct(t) {
|
|
1035
|
+
let s = t;
|
|
1036
|
+
for (; s && s !== document.body; ) {
|
|
1037
|
+
const f = window.getComputedStyle(s);
|
|
1038
|
+
if (f.position === "fixed" || f.position === "sticky")
|
|
1037
1039
|
return !0;
|
|
1038
|
-
|
|
1040
|
+
s = s.parentElement;
|
|
1039
1041
|
}
|
|
1040
1042
|
return !1;
|
|
1041
1043
|
}
|
|
1042
|
-
function
|
|
1043
|
-
const
|
|
1044
|
-
return `rgba(${
|
|
1044
|
+
function yt(t, s) {
|
|
1045
|
+
const f = parseInt(t.slice(1, 3), 16), u = parseInt(t.slice(3, 5), 16), r = parseInt(t.slice(5, 7), 16);
|
|
1046
|
+
return `rgba(${f}, ${u}, ${r}, ${s})`;
|
|
1045
1047
|
}
|
|
1046
|
-
function
|
|
1048
|
+
function Ae(t, s) {
|
|
1047
1049
|
return {
|
|
1048
|
-
left: Math.min(t.x,
|
|
1049
|
-
top: Math.min(t.y,
|
|
1050
|
-
right: Math.max(t.x,
|
|
1051
|
-
bottom: Math.max(t.y,
|
|
1052
|
-
width: Math.abs(
|
|
1053
|
-
height: Math.abs(
|
|
1050
|
+
left: Math.min(t.x, s.x),
|
|
1051
|
+
top: Math.min(t.y, s.y),
|
|
1052
|
+
right: Math.max(t.x, s.x),
|
|
1053
|
+
bottom: Math.max(t.y, s.y),
|
|
1054
|
+
width: Math.abs(s.x - t.x),
|
|
1055
|
+
height: Math.abs(s.y - t.y)
|
|
1054
1056
|
};
|
|
1055
1057
|
}
|
|
1056
|
-
function
|
|
1057
|
-
return !(t.right <
|
|
1058
|
-
}
|
|
1059
|
-
function bt(t) {
|
|
1060
|
-
const l = window.innerWidth, p = window.innerHeight;
|
|
1061
|
-
return t.width > l * 0.8 && t.height > p * 0.5;
|
|
1058
|
+
function bt(t, s) {
|
|
1059
|
+
return !(t.right < s.left || t.left > s.right || t.bottom < s.top || t.top > s.bottom);
|
|
1062
1060
|
}
|
|
1063
1061
|
function wt(t) {
|
|
1064
|
-
|
|
1062
|
+
const s = window.innerWidth, f = window.innerHeight;
|
|
1063
|
+
return t.width > s * 0.8 && t.height > f * 0.5;
|
|
1065
1064
|
}
|
|
1066
|
-
function
|
|
1067
|
-
|
|
1068
|
-
|
|
1065
|
+
function kt(t) {
|
|
1066
|
+
return t.filter((s) => !t.some((f) => f !== s && f.contains(s)));
|
|
1067
|
+
}
|
|
1068
|
+
function Pe(t) {
|
|
1069
|
+
const s = [], f = h.map((i) => i.toLowerCase()).join(",");
|
|
1070
|
+
document.querySelectorAll(f).forEach((i) => {
|
|
1069
1071
|
if (i.closest("[data-feedback-toolbar]") || i.closest("[data-annotation-popup]") || i.closest("[data-annotation-marker]"))
|
|
1070
1072
|
return;
|
|
1071
1073
|
const L = i.getBoundingClientRect();
|
|
1072
1074
|
if (L.width === 0 || L.height === 0) return;
|
|
1073
1075
|
const A = window.getComputedStyle(i);
|
|
1074
|
-
A.display === "none" || A.visibility === "hidden" || A.opacity === "0" ||
|
|
1076
|
+
A.display === "none" || A.visibility === "hidden" || A.opacity === "0" || wt(L) || bt(L, t) && s.push({ element: i, rect: L });
|
|
1075
1077
|
});
|
|
1076
|
-
const
|
|
1077
|
-
return
|
|
1078
|
+
const r = kt(s.map((i) => i.element));
|
|
1079
|
+
return s.filter((i) => r.includes(i.element));
|
|
1078
1080
|
}
|
|
1079
|
-
function
|
|
1081
|
+
function xt(t) {
|
|
1080
1082
|
if (t.length === 0) return "Empty area";
|
|
1081
1083
|
if (t.length === 1) {
|
|
1082
|
-
const { name:
|
|
1083
|
-
return
|
|
1084
|
+
const { name: u } = me(t[0]);
|
|
1085
|
+
return u;
|
|
1084
1086
|
}
|
|
1085
|
-
const
|
|
1086
|
-
t.forEach((
|
|
1087
|
-
const
|
|
1088
|
-
|
|
1087
|
+
const s = {};
|
|
1088
|
+
t.forEach((u) => {
|
|
1089
|
+
const r = u.tagName.toLowerCase();
|
|
1090
|
+
s[r] = (s[r] || 0) + 1;
|
|
1089
1091
|
});
|
|
1090
|
-
const
|
|
1091
|
-
return `${t.length} elements: ${
|
|
1092
|
+
const f = Object.entries(s).map(([u, r]) => r > 1 ? `${r} ${u}s` : u);
|
|
1093
|
+
return `${t.length} elements: ${f.join(", ")}`;
|
|
1092
1094
|
}
|
|
1093
|
-
function
|
|
1095
|
+
function _t(t) {
|
|
1094
1096
|
if (t.length === 0) return { x: 0, y: 0, width: 0, height: 0 };
|
|
1095
|
-
const
|
|
1097
|
+
const s = Math.min(...t.map((i) => i.left)), f = Math.min(...t.map((i) => i.top)), u = Math.max(...t.map((i) => i.right)), r = Math.max(...t.map((i) => i.bottom));
|
|
1096
1098
|
return {
|
|
1097
|
-
x:
|
|
1098
|
-
y:
|
|
1099
|
-
width:
|
|
1100
|
-
height:
|
|
1099
|
+
x: s,
|
|
1100
|
+
y: f + window.scrollY,
|
|
1101
|
+
width: u - s,
|
|
1102
|
+
height: r - f
|
|
1101
1103
|
};
|
|
1102
1104
|
}
|
|
1103
|
-
function
|
|
1105
|
+
function Lt(t) {
|
|
1104
1106
|
const i = t.x / 100 * (typeof window < "u" ? window.innerWidth : 1e3), L = t.y, A = {};
|
|
1105
1107
|
(typeof window < "u" ? window.innerHeight : 800) - L - 22 - 10 < 80 && (A.top = "auto", A.bottom = "calc(100% + 10px)");
|
|
1106
1108
|
const V = i - 200 / 2, Y = 10, F = typeof window < "u" ? window.innerWidth : 1e3;
|
|
@@ -1113,64 +1115,64 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1113
1115
|
}
|
|
1114
1116
|
return A;
|
|
1115
1117
|
}
|
|
1116
|
-
function
|
|
1118
|
+
function Mt(t, s, f = "standard") {
|
|
1117
1119
|
if (t.length === 0) return "";
|
|
1118
|
-
const
|
|
1119
|
-
let
|
|
1120
|
+
const u = typeof window < "u" ? `${window.innerWidth}×${window.innerHeight}` : "unknown";
|
|
1121
|
+
let r = `## Page Feedback: ${s}
|
|
1120
1122
|
`;
|
|
1121
|
-
return
|
|
1123
|
+
return f === "forensic" ? (r += `
|
|
1122
1124
|
**Environment:**
|
|
1123
|
-
`,
|
|
1124
|
-
`, typeof window < "u" && (
|
|
1125
|
-
`,
|
|
1126
|
-
`,
|
|
1127
|
-
`,
|
|
1128
|
-
`),
|
|
1125
|
+
`, r += `- Viewport: ${u}
|
|
1126
|
+
`, typeof window < "u" && (r += `- URL: ${window.location.href}
|
|
1127
|
+
`, r += `- User Agent: ${navigator.userAgent}
|
|
1128
|
+
`, r += `- Timestamp: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
1129
|
+
`, r += `- Device Pixel Ratio: ${window.devicePixelRatio}
|
|
1130
|
+
`), r += `
|
|
1129
1131
|
---
|
|
1130
|
-
`) :
|
|
1131
|
-
`),
|
|
1132
|
+
`) : f !== "compact" && (r += `**Viewport:** ${u}
|
|
1133
|
+
`), r += `
|
|
1132
1134
|
`, t.forEach((i, L) => {
|
|
1133
|
-
|
|
1134
|
-
`) :
|
|
1135
|
-
`, i.isMultiSelect && i.fullPath && (
|
|
1136
|
-
`), i.fullPath && (
|
|
1137
|
-
`), i.cssClasses && (
|
|
1138
|
-
`), i.boundingBox && (
|
|
1139
|
-
`),
|
|
1140
|
-
`, i.selectedText && (
|
|
1141
|
-
`), i.nearbyText && !i.selectedText && (
|
|
1142
|
-
`), i.computedStyles && (
|
|
1143
|
-
`), i.accessibility && (
|
|
1144
|
-
`), i.nearbyElements && (
|
|
1145
|
-
`),
|
|
1135
|
+
f === "compact" ? (r += `${L + 1}. **${i.element}**: ${i.comment}`, i.selectedText && (r += ` (re: "${i.selectedText.slice(0, 30)}${i.selectedText.length > 30 ? "..." : ""}")`), r += `
|
|
1136
|
+
`) : f === "forensic" ? (r += `### ${L + 1}. ${i.element}
|
|
1137
|
+
`, i.isMultiSelect && i.fullPath && (r += `*Forensic data shown for first element of selection*
|
|
1138
|
+
`), i.fullPath && (r += `**Full DOM Path:** ${i.fullPath}
|
|
1139
|
+
`), i.cssClasses && (r += `**CSS Classes:** ${i.cssClasses}
|
|
1140
|
+
`), i.boundingBox && (r += `**Position:** x:${Math.round(i.boundingBox.x)}, y:${Math.round(i.boundingBox.y)} (${Math.round(i.boundingBox.width)}×${Math.round(i.boundingBox.height)}px)
|
|
1141
|
+
`), r += `**Annotation at:** ${i.x.toFixed(1)}% from left, ${Math.round(i.y)}px from top
|
|
1142
|
+
`, i.selectedText && (r += `**Selected text:** "${i.selectedText}"
|
|
1143
|
+
`), i.nearbyText && !i.selectedText && (r += `**Context:** ${i.nearbyText.slice(0, 100)}
|
|
1144
|
+
`), i.computedStyles && (r += `**Computed Styles:** ${i.computedStyles}
|
|
1145
|
+
`), i.accessibility && (r += `**Accessibility:** ${i.accessibility}
|
|
1146
|
+
`), i.nearbyElements && (r += `**Nearby Elements:** ${i.nearbyElements}
|
|
1147
|
+
`), r += `**Feedback:** ${i.comment}
|
|
1146
1148
|
|
|
1147
|
-
`) : (
|
|
1148
|
-
`,
|
|
1149
|
-
`,
|
|
1150
|
-
`), i.boundingBox && (
|
|
1151
|
-
`)), i.selectedText && (
|
|
1152
|
-
`),
|
|
1153
|
-
`),
|
|
1149
|
+
`) : (r += `### ${L + 1}. ${i.element}
|
|
1150
|
+
`, r += `**Location:** ${i.elementPath}
|
|
1151
|
+
`, f === "detailed" && (i.cssClasses && (r += `**Classes:** ${i.cssClasses}
|
|
1152
|
+
`), i.boundingBox && (r += `**Position:** ${Math.round(i.boundingBox.x)}px, ${Math.round(i.boundingBox.y)}px (${Math.round(i.boundingBox.width)}×${Math.round(i.boundingBox.height)}px)
|
|
1153
|
+
`)), i.selectedText && (r += `**Selected text:** "${i.selectedText}"
|
|
1154
|
+
`), f === "detailed" && i.nearbyText && !i.selectedText && (r += `**Context:** ${i.nearbyText.slice(0, 100)}
|
|
1155
|
+
`), r += `**Feedback:** ${i.comment}
|
|
1154
1156
|
|
|
1155
1157
|
`);
|
|
1156
|
-
}),
|
|
1158
|
+
}), r.trim();
|
|
1157
1159
|
}
|
|
1158
|
-
const
|
|
1160
|
+
const He = () => {
|
|
1159
1161
|
X || (b.value = !b.value);
|
|
1160
|
-
},
|
|
1162
|
+
}, St = () => {
|
|
1161
1163
|
X || (O.value = !O.value);
|
|
1162
1164
|
}, zt = () => {
|
|
1163
1165
|
X || (C.value = !C.value, localStorage.setItem("feedback-toolbar-theme", C.value ? "dark" : "light"));
|
|
1164
|
-
}, St = () => {
|
|
1165
|
-
X || (de.value = !de.value);
|
|
1166
1166
|
}, Et = () => {
|
|
1167
|
-
|
|
1168
|
-
|
|
1167
|
+
X || (de.value = !de.value);
|
|
1168
|
+
}, $t = () => {
|
|
1169
|
+
const s = (y.findIndex(
|
|
1170
|
+
(f) => f.value === x.value.outputDetail
|
|
1169
1171
|
) + 1) % y.length;
|
|
1170
|
-
x.value.outputDetail = y[
|
|
1171
|
-
},
|
|
1172
|
+
x.value.outputDetail = y[s].value;
|
|
1173
|
+
}, Tt = (t) => {
|
|
1172
1174
|
x.value.annotationColor = t;
|
|
1173
|
-
},
|
|
1175
|
+
}, De = () => {
|
|
1174
1176
|
if (J.value) return;
|
|
1175
1177
|
const t = document.createElement("style");
|
|
1176
1178
|
t.id = "feedback-freeze-styles", t.textContent = `
|
|
@@ -1180,93 +1182,93 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1180
1182
|
animation-play-state: paused !important;
|
|
1181
1183
|
transition: none !important;
|
|
1182
1184
|
}
|
|
1183
|
-
`, document.head.appendChild(t), document.querySelectorAll("video").forEach((
|
|
1184
|
-
|
|
1185
|
+
`, document.head.appendChild(t), document.querySelectorAll("video").forEach((s) => {
|
|
1186
|
+
s.paused || (s.dataset.wasPaused = "false", s.pause());
|
|
1185
1187
|
}), J.value = !0;
|
|
1186
|
-
},
|
|
1188
|
+
}, Le = () => {
|
|
1187
1189
|
if (!J.value) return;
|
|
1188
1190
|
const t = document.getElementById("feedback-freeze-styles");
|
|
1189
|
-
t && t.remove(), document.querySelectorAll("video").forEach((
|
|
1190
|
-
|
|
1191
|
+
t && t.remove(), document.querySelectorAll("video").forEach((s) => {
|
|
1192
|
+
s.dataset.wasPaused === "false" && (s.play(), delete s.dataset.wasPaused);
|
|
1191
1193
|
}), J.value = !1;
|
|
1192
|
-
},
|
|
1193
|
-
X || (J.value ? (
|
|
1194
|
-
},
|
|
1194
|
+
}, It = () => {
|
|
1195
|
+
X || (J.value ? (Le(), x.value.blockInteractions = !1) : (De(), x.value.blockInteractions = !0));
|
|
1196
|
+
}, Bt = (t) => {
|
|
1195
1197
|
if (t.target.closest("[data-settings-panel]"))
|
|
1196
1198
|
return;
|
|
1197
|
-
const
|
|
1198
|
-
if (!
|
|
1199
|
-
const
|
|
1199
|
+
const s = t.currentTarget;
|
|
1200
|
+
if (!s) return;
|
|
1201
|
+
const f = s.getBoundingClientRect(), u = 257, r = 44;
|
|
1200
1202
|
let i, L;
|
|
1201
|
-
j.value ? (i = j.value.x, L = j.value.y) : (b.value ? i =
|
|
1203
|
+
j.value ? (i = j.value.x, L = j.value.y) : (b.value ? i = f.left : i = f.left - (u - r), L = f.top);
|
|
1202
1204
|
const A = (Math.random() - 0.5) * 10;
|
|
1203
|
-
|
|
1205
|
+
$e.value = A, ee.value = {
|
|
1204
1206
|
x: t.clientX,
|
|
1205
1207
|
y: t.clientY,
|
|
1206
1208
|
toolbarX: i,
|
|
1207
1209
|
toolbarY: L
|
|
1208
1210
|
};
|
|
1209
|
-
},
|
|
1211
|
+
}, Ne = (t) => {
|
|
1210
1212
|
if (!ee.value) return;
|
|
1211
|
-
const
|
|
1212
|
-
if (!ne.value &&
|
|
1213
|
-
let
|
|
1213
|
+
const s = t.clientX - ee.value.x, f = t.clientY - ee.value.y, u = Math.sqrt(s * s + f * f);
|
|
1214
|
+
if (!ne.value && u > et && (ne.value = !0), ne.value || u > et) {
|
|
1215
|
+
let r = ee.value.toolbarX + s, i = ee.value.toolbarY + f;
|
|
1214
1216
|
const L = 20, A = 257, R = 44, G = 44;
|
|
1215
1217
|
if (b.value)
|
|
1216
|
-
|
|
1218
|
+
r = Math.max(L, Math.min(window.innerWidth - A - L, r));
|
|
1217
1219
|
else {
|
|
1218
1220
|
const V = A - R, Y = L - V, F = window.innerWidth - A - L - 16;
|
|
1219
|
-
|
|
1221
|
+
r = Math.max(Y, Math.min(F, r));
|
|
1220
1222
|
}
|
|
1221
|
-
i = Math.max(L, Math.min(window.innerHeight - G - L, i)), j.value = { x:
|
|
1223
|
+
i = Math.max(L, Math.min(window.innerHeight - G - L, i)), j.value = { x: r, y: i };
|
|
1222
1224
|
}
|
|
1223
|
-
},
|
|
1225
|
+
}, Oe = () => {
|
|
1224
1226
|
ne.value && (X = !0, setTimeout(() => {
|
|
1225
1227
|
X = !1;
|
|
1226
1228
|
}, 50)), ne.value = !1, ee.value = null;
|
|
1227
|
-
},
|
|
1229
|
+
}, Me = () => {
|
|
1228
1230
|
if (!j.value) return;
|
|
1229
|
-
const t = 20,
|
|
1230
|
-
let
|
|
1231
|
+
const t = 20, s = 257, f = 44, u = 44;
|
|
1232
|
+
let r = j.value.x, i = j.value.y;
|
|
1231
1233
|
if (b.value)
|
|
1232
|
-
|
|
1234
|
+
r = Math.max(t, Math.min(window.innerWidth - s - t, r));
|
|
1233
1235
|
else {
|
|
1234
|
-
const L =
|
|
1235
|
-
|
|
1236
|
+
const L = s - f, A = t - L, R = window.innerWidth - s - t;
|
|
1237
|
+
r = Math.max(A, Math.min(R, r));
|
|
1236
1238
|
}
|
|
1237
|
-
i = Math.max(t, Math.min(window.innerHeight -
|
|
1238
|
-
},
|
|
1239
|
+
i = Math.max(t, Math.min(window.innerHeight - u - t, i)), (r !== j.value.x || i !== j.value.y) && (j.value = { x: r, y: i });
|
|
1240
|
+
}, At = async () => {
|
|
1239
1241
|
if (X) return;
|
|
1240
|
-
const t =
|
|
1242
|
+
const t = Mt(S.value, le.value, x.value.outputDetail);
|
|
1241
1243
|
if (t) {
|
|
1242
1244
|
if (T.copyToClipboard)
|
|
1243
1245
|
try {
|
|
1244
1246
|
if (navigator.clipboard && navigator.clipboard.writeText)
|
|
1245
1247
|
await navigator.clipboard.writeText(t);
|
|
1246
1248
|
else {
|
|
1247
|
-
const
|
|
1248
|
-
|
|
1249
|
+
const s = document.createElement("textarea");
|
|
1250
|
+
s.value = t, s.style.position = "fixed", s.style.left = "-9999px", s.style.top = "-9999px", document.body.appendChild(s), s.focus(), s.select(), document.execCommand("copy"), document.body.removeChild(s);
|
|
1249
1251
|
}
|
|
1250
|
-
if (
|
|
1251
|
-
|
|
1252
|
+
if (ae.value = !0, setTimeout(() => {
|
|
1253
|
+
ae.value = !1;
|
|
1252
1254
|
}, 2e3), x.value.autoClearAfterCopy) {
|
|
1253
|
-
const
|
|
1254
|
-
|
|
1255
|
+
const s = [...S.value];
|
|
1256
|
+
S.value = [], localStorage.removeItem(ue(le.value)), I("annotationsClear", s);
|
|
1255
1257
|
}
|
|
1256
|
-
} catch (
|
|
1257
|
-
console.error("Failed to copy:",
|
|
1258
|
+
} catch (s) {
|
|
1259
|
+
console.error("Failed to copy:", s);
|
|
1258
1260
|
}
|
|
1259
1261
|
I("copy", t);
|
|
1260
1262
|
}
|
|
1261
|
-
},
|
|
1262
|
-
if (X ||
|
|
1263
|
-
const t = [...
|
|
1264
|
-
|
|
1263
|
+
}, Pt = () => {
|
|
1264
|
+
if (X || S.value.length === 0) return;
|
|
1265
|
+
const t = [...S.value];
|
|
1266
|
+
S.value = [], localStorage.removeItem(ue(le.value)), ve.value = !0, setTimeout(() => {
|
|
1265
1267
|
ve.value = !1;
|
|
1266
1268
|
}, 2e3), I("annotationsClear", t);
|
|
1267
|
-
},
|
|
1269
|
+
}, Ht = (t) => {
|
|
1268
1270
|
if (!g.value) return;
|
|
1269
|
-
const
|
|
1271
|
+
const s = {
|
|
1270
1272
|
id: `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`,
|
|
1271
1273
|
x: g.value.x,
|
|
1272
1274
|
y: g.value.y,
|
|
@@ -1285,63 +1287,63 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1285
1287
|
nearbyElements: g.value.nearbyElements,
|
|
1286
1288
|
isMultiSelect: g.value.isMultiSelect
|
|
1287
1289
|
};
|
|
1288
|
-
|
|
1289
|
-
},
|
|
1290
|
+
S.value = [...S.value, s], g.value = null, I("annotationAdd", s);
|
|
1291
|
+
}, Dt = () => {
|
|
1290
1292
|
g.value = null;
|
|
1291
|
-
},
|
|
1292
|
-
if (!
|
|
1293
|
-
const
|
|
1294
|
-
|
|
1295
|
-
(
|
|
1296
|
-
),
|
|
1297
|
-
},
|
|
1298
|
-
|
|
1299
|
-
},
|
|
1300
|
-
|
|
1301
|
-
},
|
|
1302
|
-
|
|
1303
|
-
},
|
|
1293
|
+
}, Nt = (t) => {
|
|
1294
|
+
if (!z.value) return;
|
|
1295
|
+
const s = { ...z.value, comment: t };
|
|
1296
|
+
S.value = S.value.map(
|
|
1297
|
+
(f) => f.id === s.id ? s : f
|
|
1298
|
+
), z.value = null, I("annotationUpdate", s);
|
|
1299
|
+
}, Ot = () => {
|
|
1300
|
+
z.value = null;
|
|
1301
|
+
}, jt = (t, s) => {
|
|
1302
|
+
s.stopPropagation(), z.value = t;
|
|
1303
|
+
}, Zt = (t, s) => {
|
|
1304
|
+
s.stopPropagation(), M.value = null, S.value = S.value.filter((f) => f.id !== t.id), I("annotationDelete", t);
|
|
1305
|
+
}, je = (t) => {
|
|
1304
1306
|
if (!b.value || t.button !== 0) return;
|
|
1305
|
-
const
|
|
1306
|
-
if (!(
|
|
1307
|
-
if (d.has(
|
|
1307
|
+
const s = t.target;
|
|
1308
|
+
if (!(s.closest("[data-feedback-toolbar]") || s.closest("[data-annotation-popup]") || s.closest("[data-annotation-marker]")) && !(g.value || z.value)) {
|
|
1309
|
+
if (d.has(s.tagName) || s.isContentEditable) {
|
|
1308
1310
|
Ce = !0;
|
|
1309
1311
|
return;
|
|
1310
1312
|
}
|
|
1311
1313
|
Ce = !1, pe.value = { x: t.clientX, y: t.clientY }, U.value = { x: t.clientX, y: t.clientY }, q.value = { x: t.clientX, y: t.clientY };
|
|
1312
1314
|
}
|
|
1313
|
-
},
|
|
1315
|
+
}, Ze = (t) => {
|
|
1314
1316
|
if (!b.value || !pe.value || Ce) return;
|
|
1315
|
-
const
|
|
1316
|
-
if (
|
|
1317
|
+
const s = t.clientX - pe.value.x, f = t.clientY - pe.value.y;
|
|
1318
|
+
if (s * s + f * f >= Ke * Ke) {
|
|
1317
1319
|
te.value || (te.value = !0, B.value = null), q.value = { x: t.clientX, y: t.clientY };
|
|
1318
|
-
const
|
|
1319
|
-
if (
|
|
1320
|
-
|
|
1321
|
-
const i =
|
|
1322
|
-
|
|
1320
|
+
const r = Date.now();
|
|
1321
|
+
if (r - Te >= hn) {
|
|
1322
|
+
Te = r;
|
|
1323
|
+
const i = Ae(U.value, q.value);
|
|
1324
|
+
ie.value = Pe(i);
|
|
1323
1325
|
}
|
|
1324
1326
|
}
|
|
1325
|
-
},
|
|
1327
|
+
}, Re = (t) => {
|
|
1326
1328
|
if (!b.value) return;
|
|
1327
|
-
const
|
|
1328
|
-
if (pe.value = null, Ce = !1, !
|
|
1329
|
-
te.value = !1, U.value = null, q.value = null,
|
|
1329
|
+
const s = te.value;
|
|
1330
|
+
if (pe.value = null, Ce = !1, !s) {
|
|
1331
|
+
te.value = !1, U.value = null, q.value = null, ie.value = [];
|
|
1330
1332
|
return;
|
|
1331
1333
|
}
|
|
1332
|
-
const
|
|
1333
|
-
if (
|
|
1334
|
-
const
|
|
1335
|
-
if (
|
|
1336
|
-
const i =
|
|
1334
|
+
const f = U.value, u = { x: t.clientX, y: t.clientY };
|
|
1335
|
+
if (f) {
|
|
1336
|
+
const r = Ae(f, u);
|
|
1337
|
+
if (r.width >= Qe && r.height >= Qe) {
|
|
1338
|
+
const i = Pe(r), L = i.map((F) => F.element), A = i.map((F) => F.rect);
|
|
1337
1339
|
let R, G;
|
|
1338
|
-
L.length > 0 ? (G =
|
|
1339
|
-
x:
|
|
1340
|
-
y:
|
|
1341
|
-
width:
|
|
1342
|
-
height:
|
|
1343
|
-
}, R =
|
|
1344
|
-
const V =
|
|
1340
|
+
L.length > 0 ? (G = _t(A), R = G.y + G.height / 2) : (G = {
|
|
1341
|
+
x: r.left,
|
|
1342
|
+
y: r.top + window.scrollY,
|
|
1343
|
+
width: r.width,
|
|
1344
|
+
height: r.height
|
|
1345
|
+
}, R = r.top + window.scrollY + r.height / 2);
|
|
1346
|
+
const V = xt(L), Y = L.map((F) => me(F).path).join("; ");
|
|
1345
1347
|
g.value = {
|
|
1346
1348
|
x: t.clientX / window.innerWidth * 100,
|
|
1347
1349
|
// Mouse X as percentage
|
|
@@ -1356,54 +1358,54 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1356
1358
|
};
|
|
1357
1359
|
}
|
|
1358
1360
|
}
|
|
1359
|
-
te.value = !1, U.value = null, q.value = null,
|
|
1360
|
-
|
|
1361
|
+
te.value = !1, U.value = null, q.value = null, ie.value = [], s && (_e = !0, setTimeout(() => {
|
|
1362
|
+
_e = !1;
|
|
1361
1363
|
}, 50));
|
|
1362
|
-
},
|
|
1363
|
-
if (!b.value || g.value ||
|
|
1364
|
+
}, Ve = (t) => {
|
|
1365
|
+
if (!b.value || g.value || z.value) return;
|
|
1364
1366
|
if (t.target.closest("[data-feedback-toolbar]")) {
|
|
1365
1367
|
B.value = null;
|
|
1366
1368
|
return;
|
|
1367
1369
|
}
|
|
1368
|
-
const
|
|
1369
|
-
if (!
|
|
1370
|
+
const f = document.elementFromPoint(t.clientX, t.clientY);
|
|
1371
|
+
if (!f || f.closest("[data-feedback-toolbar]")) {
|
|
1370
1372
|
B.value = null;
|
|
1371
1373
|
return;
|
|
1372
1374
|
}
|
|
1373
|
-
const { name:
|
|
1374
|
-
B.value = { element:
|
|
1375
|
-
},
|
|
1376
|
-
var
|
|
1377
|
-
if (!b.value || X ||
|
|
1378
|
-
const
|
|
1379
|
-
if (
|
|
1380
|
-
const
|
|
1375
|
+
const { name: u, path: r } = me(f), i = f.getBoundingClientRect();
|
|
1376
|
+
B.value = { element: u, elementPath: r, rect: i }, se.value = { x: t.clientX, y: t.clientY };
|
|
1377
|
+
}, Fe = (t) => {
|
|
1378
|
+
var Xe, Ue;
|
|
1379
|
+
if (!b.value || X || _e) return;
|
|
1380
|
+
const s = t.target;
|
|
1381
|
+
if (s.closest("[data-feedback-toolbar]") || s.closest("[data-annotation-popup]") || s.closest("[data-annotation-marker]")) return;
|
|
1382
|
+
const f = s.closest(
|
|
1381
1383
|
"button, a, input, select, textarea, [role='button'], [onclick]"
|
|
1382
1384
|
);
|
|
1383
|
-
if (x.value.blockInteractions &&
|
|
1384
|
-
if (
|
|
1385
|
+
if (x.value.blockInteractions && f && (t.preventDefault(), t.stopPropagation()), g.value) {
|
|
1386
|
+
if (f && !x.value.blockInteractions)
|
|
1385
1387
|
return;
|
|
1386
|
-
t.preventDefault(), (
|
|
1388
|
+
t.preventDefault(), (Xe = Ie.value) == null || Xe.shake();
|
|
1387
1389
|
return;
|
|
1388
1390
|
}
|
|
1389
|
-
if (
|
|
1390
|
-
if (
|
|
1391
|
+
if (z.value) {
|
|
1392
|
+
if (f && !x.value.blockInteractions)
|
|
1391
1393
|
return;
|
|
1392
|
-
t.preventDefault(), (
|
|
1394
|
+
t.preventDefault(), (Ue = Be.value) == null || Ue.shake();
|
|
1393
1395
|
return;
|
|
1394
1396
|
}
|
|
1395
1397
|
t.preventDefault();
|
|
1396
|
-
const
|
|
1397
|
-
if (!
|
|
1398
|
-
const { name:
|
|
1398
|
+
const u = document.elementFromPoint(t.clientX, t.clientY);
|
|
1399
|
+
if (!u) return;
|
|
1400
|
+
const { name: r, path: i } = me(u), L = u.getBoundingClientRect(), A = t.clientX / window.innerWidth * 100, R = Ct(u), G = R ? t.clientY : t.clientY + window.scrollY, V = window.getSelection();
|
|
1399
1401
|
let Y;
|
|
1400
1402
|
V && V.toString().trim().length > 0 && (Y = V.toString().trim().slice(0, 500));
|
|
1401
|
-
const F =
|
|
1403
|
+
const F = Uo(u), he = Go(u);
|
|
1402
1404
|
g.value = {
|
|
1403
1405
|
x: A,
|
|
1404
1406
|
y: G,
|
|
1405
1407
|
clientY: t.clientY,
|
|
1406
|
-
element:
|
|
1408
|
+
element: r,
|
|
1407
1409
|
elementPath: i,
|
|
1408
1410
|
selectedText: Y,
|
|
1409
1411
|
boundingBox: {
|
|
@@ -1412,46 +1414,52 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1412
1414
|
width: L.width,
|
|
1413
1415
|
height: L.height
|
|
1414
1416
|
},
|
|
1415
|
-
nearbyText:
|
|
1416
|
-
cssClasses:
|
|
1417
|
+
nearbyText: Zo(u),
|
|
1418
|
+
cssClasses: Vo(u),
|
|
1417
1419
|
isFixed: R,
|
|
1418
|
-
fullPath:
|
|
1419
|
-
accessibility:
|
|
1420
|
+
fullPath: Qo(u),
|
|
1421
|
+
accessibility: Ko(u),
|
|
1420
1422
|
computedStyles: he,
|
|
1421
1423
|
computedStylesObj: F,
|
|
1422
|
-
nearbyElements:
|
|
1424
|
+
nearbyElements: Ro(u)
|
|
1423
1425
|
}, B.value = null;
|
|
1424
|
-
},
|
|
1426
|
+
}, Ye = () => {
|
|
1425
1427
|
K.value = window.scrollY;
|
|
1426
|
-
},
|
|
1427
|
-
t.key === "Escape" && (g.value ||
|
|
1428
|
+
}, We = (t) => {
|
|
1429
|
+
t.key === "Escape" && (g.value || z.value || b.value && (b.value = !1));
|
|
1428
1430
|
};
|
|
1429
|
-
return
|
|
1431
|
+
return nt(() => {
|
|
1430
1432
|
m.value = !0, K.value = window.scrollY;
|
|
1431
|
-
const t =
|
|
1432
|
-
|
|
1433
|
+
const t = tn(le.value);
|
|
1434
|
+
S.value = t, c || (W.value = !0, c = !0, setTimeout(() => {
|
|
1433
1435
|
W.value = !1;
|
|
1434
1436
|
}, 750));
|
|
1435
1437
|
try {
|
|
1436
|
-
const
|
|
1437
|
-
|
|
1438
|
+
const r = localStorage.getItem("feedback-toolbar-theme");
|
|
1439
|
+
r !== null && (C.value = r === "dark");
|
|
1438
1440
|
} catch {
|
|
1439
1441
|
}
|
|
1440
1442
|
try {
|
|
1441
|
-
const
|
|
1442
|
-
|
|
1443
|
+
const r = localStorage.getItem("feedback-toolbar-settings");
|
|
1444
|
+
r && (x.value = { ...k, ...JSON.parse(r) });
|
|
1443
1445
|
} catch {
|
|
1444
1446
|
}
|
|
1445
|
-
document.addEventListener("mousemove",
|
|
1446
|
-
const
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1447
|
+
document.addEventListener("mousemove", Ve), document.addEventListener("click", Fe, !0), document.addEventListener("keydown", We), window.addEventListener("scroll", Ye, { passive: !0 }), window.addEventListener("resize", Me), window.addEventListener("popstate", ye);
|
|
1448
|
+
const s = history.pushState.bind(history), f = history.replaceState.bind(history);
|
|
1449
|
+
history.pushState = (...r) => {
|
|
1450
|
+
s(...r), ye();
|
|
1451
|
+
}, history.replaceState = (...r) => {
|
|
1452
|
+
f(...r), ye();
|
|
1453
|
+
}, document.addEventListener("mousedown", je), document.addEventListener("mousemove", Ze), document.addEventListener("mouseup", Re);
|
|
1454
|
+
const u = document.createElement("style");
|
|
1455
|
+
u.id = "feedback-cursor-styles", document.head.appendChild(u);
|
|
1456
|
+
}), Ft(() => {
|
|
1457
|
+
document.removeEventListener("mousemove", Ve), document.removeEventListener("click", Fe, !0), document.removeEventListener("keydown", We), window.removeEventListener("scroll", Ye), window.removeEventListener("resize", Me), window.removeEventListener("popstate", ye), document.removeEventListener("mousedown", je), document.removeEventListener("mousemove", Ze), document.removeEventListener("mouseup", Re);
|
|
1450
1458
|
const t = document.getElementById("feedback-cursor-styles");
|
|
1451
1459
|
t && t.remove();
|
|
1452
1460
|
}), oe(b, (t) => {
|
|
1453
|
-
const
|
|
1454
|
-
|
|
1461
|
+
const s = document.getElementById("feedback-cursor-styles");
|
|
1462
|
+
s && (t ? s.textContent = `
|
|
1455
1463
|
body * { cursor: crosshair !important; }
|
|
1456
1464
|
body p, body span, body h1, body h2, body h3, body h4, body h5, body h6,
|
|
1457
1465
|
body li, body td, body th, body label, body blockquote, body figcaption,
|
|
@@ -1469,26 +1477,26 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1469
1477
|
[data-annotation-popup], [data-annotation-popup] * { cursor: default !important; }
|
|
1470
1478
|
[data-annotation-popup] textarea { cursor: text !important; }
|
|
1471
1479
|
[data-annotation-popup] button { cursor: pointer !important; }
|
|
1472
|
-
` : (
|
|
1473
|
-
}), oe(
|
|
1474
|
-
m.value && t.length > 0 ?
|
|
1480
|
+
` : (s.textContent = "", g.value = null, z.value = null, B.value = null));
|
|
1481
|
+
}), oe(S, (t) => {
|
|
1482
|
+
m.value && t.length > 0 ? on(le.value, t) : m.value && t.length === 0 && localStorage.removeItem(ue(le.value));
|
|
1475
1483
|
}, { deep: !0 }), oe(x, (t) => {
|
|
1476
1484
|
m.value && localStorage.setItem("feedback-toolbar-settings", JSON.stringify(t));
|
|
1477
1485
|
}, { deep: !0 }), oe(de, (t) => {
|
|
1478
|
-
t ?
|
|
1479
|
-
|
|
1486
|
+
t ? xe.value = !0 : setTimeout(() => {
|
|
1487
|
+
xe.value = !1;
|
|
1480
1488
|
}, 150);
|
|
1481
1489
|
}), oe(() => x.value.blockInteractions, (t) => {
|
|
1482
|
-
t ?
|
|
1490
|
+
t ? De() : Le();
|
|
1483
1491
|
}), oe(b, (t) => {
|
|
1484
|
-
t || (g.value = null,
|
|
1485
|
-
}), oe(ee, (t,
|
|
1486
|
-
t && !
|
|
1487
|
-
}), (t,
|
|
1488
|
-
var
|
|
1489
|
-
return w(), N(
|
|
1492
|
+
t || (g.value = null, z.value = null, B.value = null, de.value = !1, J.value && (Le(), x.value.blockInteractions = !1)), Me();
|
|
1493
|
+
}), oe(ee, (t, s) => {
|
|
1494
|
+
t && !s ? (document.addEventListener("mousemove", Ne), document.addEventListener("mouseup", Oe)) : !t && s && (document.removeEventListener("mousemove", Ne), document.removeEventListener("mouseup", Oe));
|
|
1495
|
+
}), (t, s) => {
|
|
1496
|
+
var f;
|
|
1497
|
+
return w(), N(Yt, { to: "body" }, [
|
|
1490
1498
|
v("div", {
|
|
1491
|
-
class:
|
|
1499
|
+
class: p(l(n).toolbar),
|
|
1492
1500
|
style: H({
|
|
1493
1501
|
zIndex: T.zIndex,
|
|
1494
1502
|
...j.value ? {
|
|
@@ -1501,221 +1509,221 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1501
1509
|
"data-feedback-toolbar": ""
|
|
1502
1510
|
}, [
|
|
1503
1511
|
v("div", {
|
|
1504
|
-
class:
|
|
1505
|
-
|
|
1506
|
-
!C.value &&
|
|
1507
|
-
W.value &&
|
|
1508
|
-
ne.value &&
|
|
1509
|
-
b.value ?
|
|
1512
|
+
class: p([
|
|
1513
|
+
l(n).toolbarContainer,
|
|
1514
|
+
!C.value && l(n).light,
|
|
1515
|
+
W.value && l(n).entrance,
|
|
1516
|
+
ne.value && l(n).dragging,
|
|
1517
|
+
b.value ? l(n).expanded : l(n).collapsed
|
|
1510
1518
|
]),
|
|
1511
|
-
style: H(ne.value ? { transform: `rotate(${
|
|
1512
|
-
onMousedown:
|
|
1513
|
-
onClick:
|
|
1519
|
+
style: H(ne.value ? { transform: `rotate(${$e.value}deg)` } : void 0),
|
|
1520
|
+
onMousedown: Bt,
|
|
1521
|
+
onClick: s[3] || (s[3] = (u) => b.value ? void 0 : He())
|
|
1514
1522
|
}, [
|
|
1515
1523
|
v("div", {
|
|
1516
|
-
class:
|
|
1524
|
+
class: p([l(n).toggleContent, b.value ? l(n).hidden : l(n).visible])
|
|
1517
1525
|
}, [
|
|
1518
|
-
(w(), N(Z(
|
|
1519
|
-
|
|
1526
|
+
(w(), N(Z(l(at)), { size: 24 })),
|
|
1527
|
+
be.value ? (w(), E("span", {
|
|
1520
1528
|
key: 0,
|
|
1521
|
-
class:
|
|
1529
|
+
class: p([l(n).badge, b.value && l(n).fadeOut, W.value && l(n).entrance]),
|
|
1522
1530
|
style: H({ backgroundColor: x.value.annotationColor })
|
|
1523
|
-
}, D(
|
|
1531
|
+
}, D(S.value.length), 7)) : P("", !0)
|
|
1524
1532
|
], 2),
|
|
1525
1533
|
v("div", {
|
|
1526
|
-
class:
|
|
1534
|
+
class: p([l(n).controlsContent, b.value ? l(n).visible : l(n).hidden])
|
|
1527
1535
|
}, [
|
|
1528
1536
|
v("button", {
|
|
1529
|
-
class:
|
|
1537
|
+
class: p([l(n).controlButton, !C.value && l(n).light]),
|
|
1530
1538
|
"data-active": J.value,
|
|
1531
|
-
onClick: Q(
|
|
1539
|
+
onClick: Q(It, ["stop"]),
|
|
1532
1540
|
title: "Pause/Resume animations"
|
|
1533
1541
|
}, [
|
|
1534
|
-
(w(), N(Z(
|
|
1542
|
+
(w(), N(Z(l(ut)), {
|
|
1535
1543
|
size: 24,
|
|
1536
1544
|
"is-paused": J.value
|
|
1537
1545
|
}, null, 8, ["is-paused"]))
|
|
1538
|
-
], 10,
|
|
1546
|
+
], 10, ln),
|
|
1539
1547
|
v("button", {
|
|
1540
|
-
class:
|
|
1541
|
-
disabled: !
|
|
1542
|
-
onClick: Q(
|
|
1548
|
+
class: p([l(n).controlButton, !C.value && l(n).light]),
|
|
1549
|
+
disabled: !be.value,
|
|
1550
|
+
onClick: Q(St, ["stop"]),
|
|
1543
1551
|
title: "Toggle markers"
|
|
1544
1552
|
}, [
|
|
1545
|
-
(w(), N(Z(
|
|
1553
|
+
(w(), N(Z(l(ct)), {
|
|
1546
1554
|
size: 24,
|
|
1547
1555
|
"is-open": O.value
|
|
1548
1556
|
}, null, 8, ["is-open"]))
|
|
1549
|
-
], 10,
|
|
1557
|
+
], 10, sn),
|
|
1550
1558
|
v("button", {
|
|
1551
|
-
class:
|
|
1552
|
-
disabled: !
|
|
1553
|
-
"data-active":
|
|
1554
|
-
onClick: Q(
|
|
1559
|
+
class: p([l(n).controlButton, !C.value && l(n).light]),
|
|
1560
|
+
disabled: !be.value,
|
|
1561
|
+
"data-active": ae.value,
|
|
1562
|
+
onClick: Q(At, ["stop"]),
|
|
1555
1563
|
title: "Copy as markdown"
|
|
1556
1564
|
}, [
|
|
1557
|
-
(w(), N(Z(
|
|
1565
|
+
(w(), N(Z(l(rt)), {
|
|
1558
1566
|
size: 24,
|
|
1559
|
-
copied:
|
|
1567
|
+
copied: ae.value
|
|
1560
1568
|
}, null, 8, ["copied"]))
|
|
1561
|
-
], 10,
|
|
1569
|
+
], 10, an),
|
|
1562
1570
|
v("button", {
|
|
1563
|
-
class:
|
|
1564
|
-
disabled: !
|
|
1571
|
+
class: p([l(n).controlButton, !C.value && l(n).light]),
|
|
1572
|
+
disabled: !be.value,
|
|
1565
1573
|
"data-danger": "",
|
|
1566
|
-
onClick: Q(
|
|
1574
|
+
onClick: Q(Pt, ["stop"]),
|
|
1567
1575
|
title: "Clear all annotations"
|
|
1568
1576
|
}, [
|
|
1569
|
-
(w(), N(Z(
|
|
1570
|
-
], 10,
|
|
1577
|
+
(w(), N(Z(l(pt)), { size: 24 }))
|
|
1578
|
+
], 10, rn),
|
|
1571
1579
|
v("button", {
|
|
1572
|
-
class:
|
|
1573
|
-
onClick: Q(
|
|
1580
|
+
class: p([l(n).controlButton, !C.value && l(n).light]),
|
|
1581
|
+
onClick: Q(Et, ["stop"]),
|
|
1574
1582
|
title: "Settings"
|
|
1575
1583
|
}, [
|
|
1576
|
-
(w(), N(Z(
|
|
1584
|
+
(w(), N(Z(l(dt)), { size: 24 }))
|
|
1577
1585
|
], 2),
|
|
1578
1586
|
v("div", {
|
|
1579
|
-
class:
|
|
1587
|
+
class: p([l(n).divider, !C.value && l(n).light])
|
|
1580
1588
|
}, null, 2),
|
|
1581
1589
|
v("button", {
|
|
1582
|
-
class:
|
|
1583
|
-
onClick: Q(
|
|
1590
|
+
class: p([l(n).controlButton, !C.value && l(n).light]),
|
|
1591
|
+
onClick: Q(He, ["stop"]),
|
|
1584
1592
|
title: "Exit"
|
|
1585
1593
|
}, [
|
|
1586
|
-
(w(), N(Z(
|
|
1594
|
+
(w(), N(Z(l(Ee)), { size: 24 }))
|
|
1587
1595
|
], 2)
|
|
1588
1596
|
], 2),
|
|
1589
|
-
|
|
1597
|
+
xe.value ? (w(), E("div", {
|
|
1590
1598
|
key: 0,
|
|
1591
|
-
class:
|
|
1592
|
-
onClick:
|
|
1599
|
+
class: p([l(n).settingsPanel, C.value ? l(n).dark : l(n).light, de.value ? l(n).enter : l(n).exit]),
|
|
1600
|
+
onClick: s[2] || (s[2] = Q(() => {
|
|
1593
1601
|
}, ["stop"]))
|
|
1594
1602
|
}, [
|
|
1595
1603
|
v("div", {
|
|
1596
|
-
class:
|
|
1604
|
+
class: p(l(n).settingsHeader)
|
|
1597
1605
|
}, [
|
|
1598
1606
|
v("span", {
|
|
1599
|
-
class:
|
|
1607
|
+
class: p(l(n).settingsBrand)
|
|
1600
1608
|
}, [
|
|
1601
1609
|
v("span", {
|
|
1602
|
-
class:
|
|
1610
|
+
class: p(l(n).settingsBrandSlash),
|
|
1603
1611
|
style: H({ color: x.value.annotationColor })
|
|
1604
1612
|
}, " / ", 6),
|
|
1605
|
-
|
|
1613
|
+
s[5] || (s[5] = ce(" agentation ", -1))
|
|
1606
1614
|
], 2),
|
|
1607
1615
|
v("span", {
|
|
1608
|
-
class:
|
|
1609
|
-
}, "v" + D(
|
|
1616
|
+
class: p(l(n).settingsVersion)
|
|
1617
|
+
}, "v" + D(l(nn)), 3),
|
|
1610
1618
|
v("button", {
|
|
1611
|
-
class:
|
|
1619
|
+
class: p(l(n).themeToggle),
|
|
1612
1620
|
onClick: zt,
|
|
1613
1621
|
title: C.value ? "Switch to light mode" : "Switch to dark mode"
|
|
1614
1622
|
}, [
|
|
1615
|
-
(w(), N(Z(C.value ?
|
|
1616
|
-
], 10,
|
|
1623
|
+
(w(), N(Z(C.value ? l(ht) : l(ft)), { size: 14 }))
|
|
1624
|
+
], 10, cn)
|
|
1617
1625
|
], 2),
|
|
1618
1626
|
v("div", {
|
|
1619
|
-
class:
|
|
1627
|
+
class: p(l(n).settingsSection)
|
|
1620
1628
|
}, [
|
|
1621
1629
|
v("div", {
|
|
1622
|
-
class:
|
|
1630
|
+
class: p(l(n).settingsRow)
|
|
1623
1631
|
}, [
|
|
1624
1632
|
v("div", {
|
|
1625
|
-
class:
|
|
1633
|
+
class: p([l(n).settingsLabel, !C.value && l(n).light])
|
|
1626
1634
|
}, [
|
|
1627
|
-
|
|
1635
|
+
s[6] || (s[6] = ce(" Output Detail ", -1)),
|
|
1628
1636
|
v("span", {
|
|
1629
|
-
class:
|
|
1637
|
+
class: p(l(n).helpIcon),
|
|
1630
1638
|
"data-tooltip": "Controls how much detail is included in the copied output"
|
|
1631
1639
|
}, [
|
|
1632
|
-
(w(), N(Z(
|
|
1640
|
+
(w(), N(Z(l(it)), { size: 20 }))
|
|
1633
1641
|
], 2)
|
|
1634
1642
|
], 2),
|
|
1635
1643
|
v("button", {
|
|
1636
|
-
class:
|
|
1637
|
-
onClick:
|
|
1644
|
+
class: p([l(n).cycleButton, !C.value && l(n).light]),
|
|
1645
|
+
onClick: $t
|
|
1638
1646
|
}, [
|
|
1639
1647
|
v("span", {
|
|
1640
|
-
class:
|
|
1641
|
-
}, D((
|
|
1648
|
+
class: p(l(n).cycleButtonText)
|
|
1649
|
+
}, D((f = y.find((u) => u.value === x.value.outputDetail)) == null ? void 0 : f.label), 3),
|
|
1642
1650
|
v("span", {
|
|
1643
|
-
class:
|
|
1651
|
+
class: p(l(n).cycleDots)
|
|
1644
1652
|
}, [
|
|
1645
|
-
(w(), E(re, null, fe(y, (
|
|
1646
|
-
key:
|
|
1647
|
-
class:
|
|
1653
|
+
(w(), E(re, null, fe(y, (u) => v("span", {
|
|
1654
|
+
key: u.value,
|
|
1655
|
+
class: p([l(n).cycleDot, !C.value && l(n).light, x.value.outputDetail === u.value && l(n).active])
|
|
1648
1656
|
}, null, 2)), 64))
|
|
1649
1657
|
], 2)
|
|
1650
1658
|
], 2)
|
|
1651
1659
|
], 2)
|
|
1652
1660
|
], 2),
|
|
1653
1661
|
v("div", {
|
|
1654
|
-
class:
|
|
1662
|
+
class: p(l(n).settingsSection)
|
|
1655
1663
|
}, [
|
|
1656
1664
|
v("div", {
|
|
1657
|
-
class:
|
|
1665
|
+
class: p([l(n).settingsLabel, l(n).settingsLabelMarker, !C.value && l(n).light])
|
|
1658
1666
|
}, " Marker Colour ", 2),
|
|
1659
1667
|
v("div", {
|
|
1660
|
-
class:
|
|
1668
|
+
class: p(l(n).colorOptions)
|
|
1661
1669
|
}, [
|
|
1662
|
-
(w(), E(re, null, fe($, (
|
|
1663
|
-
key:
|
|
1664
|
-
class:
|
|
1665
|
-
style: H({ borderColor: x.value.annotationColor ===
|
|
1666
|
-
onClick: (
|
|
1670
|
+
(w(), E(re, null, fe($, (u) => v("div", {
|
|
1671
|
+
key: u.value,
|
|
1672
|
+
class: p([l(n).colorOptionRing, x.value.annotationColor === u.value && l(n).selected]),
|
|
1673
|
+
style: H({ borderColor: x.value.annotationColor === u.value ? u.value : "transparent" }),
|
|
1674
|
+
onClick: (r) => Tt(u.value)
|
|
1667
1675
|
}, [
|
|
1668
1676
|
v("div", {
|
|
1669
|
-
class:
|
|
1670
|
-
style: H({ backgroundColor:
|
|
1671
|
-
title:
|
|
1672
|
-
}, null, 14,
|
|
1673
|
-
], 14,
|
|
1677
|
+
class: p([l(n).colorOption, x.value.annotationColor === u.value && l(n).selected]),
|
|
1678
|
+
style: H({ backgroundColor: u.value }),
|
|
1679
|
+
title: u.label
|
|
1680
|
+
}, null, 14, dn)
|
|
1681
|
+
], 14, un)), 64))
|
|
1674
1682
|
], 2)
|
|
1675
1683
|
], 2),
|
|
1676
1684
|
v("div", {
|
|
1677
|
-
class:
|
|
1685
|
+
class: p(l(n).settingsSection)
|
|
1678
1686
|
}, [
|
|
1679
1687
|
v("label", {
|
|
1680
|
-
class:
|
|
1688
|
+
class: p(l(n).settingsToggle)
|
|
1681
1689
|
}, [
|
|
1682
|
-
|
|
1690
|
+
Se(v("input", {
|
|
1683
1691
|
type: "checkbox",
|
|
1684
|
-
"onUpdate:modelValue":
|
|
1692
|
+
"onUpdate:modelValue": s[0] || (s[0] = (u) => x.value.autoClearAfterCopy = u)
|
|
1685
1693
|
}, null, 512), [
|
|
1686
|
-
[
|
|
1694
|
+
[qe, x.value.autoClearAfterCopy]
|
|
1687
1695
|
]),
|
|
1688
1696
|
v("span", {
|
|
1689
|
-
class:
|
|
1697
|
+
class: p([l(n).customCheckbox, !C.value && l(n).light, x.value.autoClearAfterCopy && l(n).checked])
|
|
1690
1698
|
}, [
|
|
1691
|
-
x.value.autoClearAfterCopy ? (w(), N(Z(
|
|
1699
|
+
x.value.autoClearAfterCopy ? (w(), N(Z(l(ze)), {
|
|
1692
1700
|
key: 0,
|
|
1693
1701
|
size: 14
|
|
1694
1702
|
})) : P("", !0)
|
|
1695
1703
|
], 2),
|
|
1696
1704
|
v("span", {
|
|
1697
|
-
class:
|
|
1705
|
+
class: p([l(n).toggleLabel, !C.value && l(n).light])
|
|
1698
1706
|
}, " Clear after copy ", 2)
|
|
1699
1707
|
], 2),
|
|
1700
1708
|
v("label", {
|
|
1701
|
-
class:
|
|
1709
|
+
class: p(l(n).settingsToggle)
|
|
1702
1710
|
}, [
|
|
1703
|
-
|
|
1711
|
+
Se(v("input", {
|
|
1704
1712
|
type: "checkbox",
|
|
1705
|
-
"onUpdate:modelValue":
|
|
1713
|
+
"onUpdate:modelValue": s[1] || (s[1] = (u) => x.value.blockInteractions = u)
|
|
1706
1714
|
}, null, 512), [
|
|
1707
|
-
[
|
|
1715
|
+
[qe, x.value.blockInteractions]
|
|
1708
1716
|
]),
|
|
1709
1717
|
v("span", {
|
|
1710
|
-
class:
|
|
1718
|
+
class: p([l(n).customCheckbox, !C.value && l(n).light, x.value.blockInteractions && l(n).checked])
|
|
1711
1719
|
}, [
|
|
1712
|
-
x.value.blockInteractions ? (w(), N(Z(
|
|
1720
|
+
x.value.blockInteractions ? (w(), N(Z(l(ze)), {
|
|
1713
1721
|
key: 0,
|
|
1714
1722
|
size: 14
|
|
1715
1723
|
})) : P("", !0)
|
|
1716
1724
|
], 2),
|
|
1717
1725
|
v("span", {
|
|
1718
|
-
class:
|
|
1726
|
+
class: p([l(n).toggleLabel, !C.value && l(n).light])
|
|
1719
1727
|
}, " Block page interactions ", 2)
|
|
1720
1728
|
], 2)
|
|
1721
1729
|
], 2)
|
|
@@ -1724,7 +1732,7 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1724
1732
|
], 6),
|
|
1725
1733
|
te.value && U.value && q.value ? (w(), E("div", {
|
|
1726
1734
|
key: 0,
|
|
1727
|
-
class:
|
|
1735
|
+
class: p(l(n).dragSelection),
|
|
1728
1736
|
style: H({
|
|
1729
1737
|
left: `${Math.min(U.value.x, q.value.x)}px`,
|
|
1730
1738
|
top: `${Math.min(U.value.y, q.value.y)}px`,
|
|
@@ -1732,89 +1740,89 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1732
1740
|
height: `${Math.abs(q.value.y - U.value.y)}px`
|
|
1733
1741
|
})
|
|
1734
1742
|
}, [
|
|
1735
|
-
|
|
1743
|
+
ie.value.length > 0 ? (w(), E("span", {
|
|
1736
1744
|
key: 0,
|
|
1737
|
-
class:
|
|
1738
|
-
}, D(
|
|
1745
|
+
class: p(l(n).dragCount)
|
|
1746
|
+
}, D(ie.value.length), 3)) : P("", !0)
|
|
1739
1747
|
], 6)) : P("", !0),
|
|
1740
|
-
(w(!0), E(re, null, fe(
|
|
1741
|
-
key: `drag-highlight-${
|
|
1742
|
-
class:
|
|
1748
|
+
(w(!0), E(re, null, fe(ie.value, (u, r) => (w(), E("div", {
|
|
1749
|
+
key: `drag-highlight-${r}`,
|
|
1750
|
+
class: p(l(n).selectedElementHighlight),
|
|
1743
1751
|
style: H({
|
|
1744
|
-
left: `${
|
|
1745
|
-
top: `${
|
|
1746
|
-
width: `${
|
|
1747
|
-
height: `${
|
|
1752
|
+
left: `${u.rect.left}px`,
|
|
1753
|
+
top: `${u.rect.top}px`,
|
|
1754
|
+
width: `${u.rect.width}px`,
|
|
1755
|
+
height: `${u.rect.height}px`
|
|
1748
1756
|
})
|
|
1749
1757
|
}, null, 6))), 128)),
|
|
1750
|
-
b.value && B.value && B.value.rect && !g.value && !
|
|
1758
|
+
b.value && B.value && B.value.rect && !g.value && !z.value && !M.value && !te.value ? (w(), E("div", {
|
|
1751
1759
|
key: 1,
|
|
1752
|
-
class:
|
|
1760
|
+
class: p(l(n).hoverHighlight),
|
|
1753
1761
|
style: H({
|
|
1754
1762
|
left: `${B.value.rect.left}px`,
|
|
1755
1763
|
top: `${B.value.rect.top}px`,
|
|
1756
1764
|
width: `${B.value.rect.width}px`,
|
|
1757
1765
|
height: `${B.value.rect.height}px`,
|
|
1758
1766
|
borderColor: x.value.annotationColor,
|
|
1759
|
-
backgroundColor:
|
|
1767
|
+
backgroundColor: yt(x.value.annotationColor, 0.1)
|
|
1760
1768
|
})
|
|
1761
1769
|
}, null, 6)) : P("", !0),
|
|
1762
|
-
b.value && B.value && !g.value && !
|
|
1770
|
+
b.value && B.value && !g.value && !z.value && !M.value && !te.value ? (w(), E("div", {
|
|
1763
1771
|
key: 2,
|
|
1764
|
-
class:
|
|
1772
|
+
class: p([l(n).hoverTooltip, !C.value && l(n).light]),
|
|
1765
1773
|
style: H({
|
|
1766
|
-
left: `${
|
|
1767
|
-
top: `${
|
|
1774
|
+
left: `${se.value.x}px`,
|
|
1775
|
+
top: `${se.value.y + 20}px`
|
|
1768
1776
|
})
|
|
1769
1777
|
}, D(B.value.element), 7)) : P("", !0),
|
|
1770
|
-
b.value && O.value ? (w(!0), E(re, { key: 3 }, fe(
|
|
1771
|
-
key:
|
|
1772
|
-
class:
|
|
1773
|
-
|
|
1774
|
-
!C.value &&
|
|
1775
|
-
M.value ===
|
|
1776
|
-
|
|
1778
|
+
b.value && O.value ? (w(!0), E(re, { key: 3 }, fe(S.value, (u, r) => (w(), E("div", {
|
|
1779
|
+
key: u.id,
|
|
1780
|
+
class: p([
|
|
1781
|
+
l(n).marker,
|
|
1782
|
+
!C.value && l(n).light,
|
|
1783
|
+
M.value === u.id && l(n).hovered,
|
|
1784
|
+
u.isMultiSelect && l(n).multiSelect
|
|
1777
1785
|
]),
|
|
1778
1786
|
style: H({
|
|
1779
|
-
left: `${
|
|
1780
|
-
top:
|
|
1787
|
+
left: `${u.x}%`,
|
|
1788
|
+
top: u.isFixed ? `${u.y}px` : `${u.y - K.value}px`,
|
|
1781
1789
|
position: "fixed",
|
|
1782
|
-
backgroundColor: M.value ===
|
|
1790
|
+
backgroundColor: M.value === u.id ? void 0 : u.isMultiSelect ? "#10b981" : x.value.annotationColor
|
|
1783
1791
|
}),
|
|
1784
1792
|
"data-annotation-marker": "",
|
|
1785
|
-
onMouseenter: (i) => M.value =
|
|
1786
|
-
onMouseleave:
|
|
1787
|
-
onClick: (i) =>
|
|
1788
|
-
onContextmenu: Q((i) =>
|
|
1793
|
+
onMouseenter: (i) => M.value = u.id,
|
|
1794
|
+
onMouseleave: s[4] || (s[4] = (i) => M.value = null),
|
|
1795
|
+
onClick: (i) => Zt(u, i),
|
|
1796
|
+
onContextmenu: Q((i) => jt(u, i), ["prevent"])
|
|
1789
1797
|
}, [
|
|
1790
|
-
M.value !==
|
|
1798
|
+
M.value !== u.id ? (w(), E("span", {
|
|
1791
1799
|
key: 0,
|
|
1792
|
-
class:
|
|
1793
|
-
}, D(
|
|
1800
|
+
class: p(l(n).markerNumber)
|
|
1801
|
+
}, D(r + 1), 3)) : (w(), N(Z(l(Ee)), {
|
|
1794
1802
|
key: 1,
|
|
1795
1803
|
size: 12
|
|
1796
1804
|
})),
|
|
1797
|
-
M.value ===
|
|
1805
|
+
M.value === u.id && !z.value ? (w(), E("div", {
|
|
1798
1806
|
key: 2,
|
|
1799
|
-
class:
|
|
1800
|
-
style: H(
|
|
1807
|
+
class: p([l(n).markerTooltip, !C.value && l(n).light, l(n).enter]),
|
|
1808
|
+
style: H(Lt(u))
|
|
1801
1809
|
}, [
|
|
1802
1810
|
v("span", {
|
|
1803
|
-
class:
|
|
1811
|
+
class: p(l(n).markerQuote)
|
|
1804
1812
|
}, [
|
|
1805
|
-
ce(D(
|
|
1806
|
-
|
|
1807
|
-
ce(' "' + D(
|
|
1813
|
+
ce(D(u.element) + " ", 1),
|
|
1814
|
+
u.selectedText ? (w(), E(re, { key: 0 }, [
|
|
1815
|
+
ce(' "' + D(u.selectedText.slice(0, 30)) + D(u.selectedText.length > 30 ? "..." : "") + '" ', 1)
|
|
1808
1816
|
], 64)) : P("", !0)
|
|
1809
1817
|
], 2),
|
|
1810
1818
|
v("span", {
|
|
1811
|
-
class:
|
|
1812
|
-
}, D(
|
|
1819
|
+
class: p(l(n).markerNote)
|
|
1820
|
+
}, D(u.comment), 3)
|
|
1813
1821
|
], 6)) : P("", !0)
|
|
1814
|
-
], 46,
|
|
1822
|
+
], 46, pn))), 128)) : P("", !0),
|
|
1815
1823
|
g.value && g.value.boundingBox ? (w(), E("div", {
|
|
1816
1824
|
key: 4,
|
|
1817
|
-
class:
|
|
1825
|
+
class: p(g.value.isMultiSelect ? l(n).multiSelectOutline : l(n).singleSelectOutline),
|
|
1818
1826
|
style: H({
|
|
1819
1827
|
left: `${g.value.boundingBox.x}px`,
|
|
1820
1828
|
top: `${g.value.boundingBox.y - K.value}px`,
|
|
@@ -1828,175 +1836,175 @@ const on = "1.0.2", nn = ["data-active"], ln = ["disabled"], sn = ["disabled", "
|
|
|
1828
1836
|
}, null, 6)) : P("", !0),
|
|
1829
1837
|
g.value ? (w(), E("div", {
|
|
1830
1838
|
key: 5,
|
|
1831
|
-
class:
|
|
1839
|
+
class: p([l(n).marker, l(n).pending, g.value.isMultiSelect && l(n).multiSelect]),
|
|
1832
1840
|
style: H({
|
|
1833
1841
|
left: `${g.value.x}%`,
|
|
1834
1842
|
top: `${g.value.clientY}px`,
|
|
1835
1843
|
backgroundColor: g.value.isMultiSelect ? "#34C759" : x.value.annotationColor
|
|
1836
1844
|
})
|
|
1837
1845
|
}, [
|
|
1838
|
-
(w(), N(Z(
|
|
1846
|
+
(w(), N(Z(l(st)), { size: 12 }))
|
|
1839
1847
|
], 6)) : P("", !0),
|
|
1840
|
-
g.value ? (w(), N(
|
|
1848
|
+
g.value ? (w(), N(Ge, {
|
|
1841
1849
|
key: 6,
|
|
1842
1850
|
ref_key: "popupRef",
|
|
1843
|
-
ref:
|
|
1851
|
+
ref: Ie,
|
|
1844
1852
|
element: g.value.element,
|
|
1845
1853
|
"selected-text": g.value.selectedText,
|
|
1846
1854
|
"computed-styles": g.value.computedStylesObj,
|
|
1847
1855
|
"accent-color": g.value.isMultiSelect ? "#34C759" : x.value.annotationColor,
|
|
1848
1856
|
"light-mode": !C.value,
|
|
1849
|
-
"popup-style":
|
|
1857
|
+
"popup-style": gt.value,
|
|
1850
1858
|
placeholder: g.value.element === "Empty area" ? "What should change in this area?" : g.value.isMultiSelect ? "Feedback for this group of elements..." : "What should change?",
|
|
1851
|
-
onSubmit:
|
|
1852
|
-
onCancel:
|
|
1859
|
+
onSubmit: Ht,
|
|
1860
|
+
onCancel: Dt
|
|
1853
1861
|
}, null, 8, ["element", "selected-text", "computed-styles", "accent-color", "light-mode", "popup-style", "placeholder"])) : P("", !0),
|
|
1854
|
-
|
|
1862
|
+
z.value && z.value.boundingBox ? (w(), E("div", {
|
|
1855
1863
|
key: 7,
|
|
1856
|
-
class:
|
|
1864
|
+
class: p(z.value.isMultiSelect ? l(n).multiSelectOutline : l(n).singleSelectOutline),
|
|
1857
1865
|
style: H({
|
|
1858
|
-
left: `${
|
|
1859
|
-
top: `${
|
|
1860
|
-
width: `${
|
|
1861
|
-
height: `${
|
|
1862
|
-
...
|
|
1866
|
+
left: `${z.value.boundingBox.x}px`,
|
|
1867
|
+
top: `${z.value.boundingBox.y - K.value}px`,
|
|
1868
|
+
width: `${z.value.boundingBox.width}px`,
|
|
1869
|
+
height: `${z.value.boundingBox.height}px`,
|
|
1870
|
+
...z.value.isMultiSelect ? {} : {
|
|
1863
1871
|
borderColor: `${x.value.annotationColor}99`,
|
|
1864
1872
|
backgroundColor: `${x.value.annotationColor}0D`
|
|
1865
1873
|
}
|
|
1866
1874
|
})
|
|
1867
1875
|
}, null, 6)) : P("", !0),
|
|
1868
|
-
|
|
1876
|
+
z.value ? (w(), N(Ge, {
|
|
1869
1877
|
key: 8,
|
|
1870
1878
|
ref_key: "editPopupRef",
|
|
1871
|
-
ref:
|
|
1872
|
-
element:
|
|
1873
|
-
"selected-text":
|
|
1874
|
-
"initial-value":
|
|
1875
|
-
"computed-styles": (
|
|
1876
|
-
"accent-color":
|
|
1879
|
+
ref: Be,
|
|
1880
|
+
element: z.value.element,
|
|
1881
|
+
"selected-text": z.value.selectedText,
|
|
1882
|
+
"initial-value": z.value.comment,
|
|
1883
|
+
"computed-styles": (z.value.computedStyles, void 0),
|
|
1884
|
+
"accent-color": z.value.isMultiSelect ? "#34C759" : x.value.annotationColor,
|
|
1877
1885
|
"light-mode": !C.value,
|
|
1878
1886
|
"submit-label": "Save",
|
|
1879
|
-
"popup-style":
|
|
1880
|
-
onSubmit:
|
|
1881
|
-
onCancel:
|
|
1887
|
+
"popup-style": vt.value,
|
|
1888
|
+
onSubmit: Nt,
|
|
1889
|
+
onCancel: Ot
|
|
1882
1890
|
}, null, 8, ["element", "selected-text", "initial-value", "computed-styles", "accent-color", "light-mode", "popup-style"])) : P("", !0)
|
|
1883
1891
|
]);
|
|
1884
1892
|
};
|
|
1885
1893
|
}
|
|
1886
|
-
}),
|
|
1887
|
-
dragSelection:
|
|
1888
|
-
dragCount:
|
|
1889
|
-
selectedElementHighlight:
|
|
1890
|
-
multiSelect:
|
|
1891
|
-
pending:
|
|
1892
|
-
multiSelectOutline:
|
|
1893
|
-
hoverHighlightIn:
|
|
1894
|
-
singleSelectOutline:
|
|
1895
|
-
toolbar:
|
|
1896
|
-
toolbarContainer:
|
|
1897
|
-
dragging:
|
|
1898
|
-
entrance:
|
|
1899
|
-
toolbarEnter:
|
|
1894
|
+
}), mn = "_dragSelection_zeo7w_31", gn = "_dragCount_zeo7w_45", vn = "_selectedElementHighlight_zeo7w_56", Cn = "_multiSelect_zeo7w_67", yn = "_pending_zeo7w_75", bn = "_multiSelectOutline_zeo7w_83", wn = "_hoverHighlightIn_zeo7w_1", kn = "_singleSelectOutline_zeo7w_93", xn = "_toolbar_zeo7w_112", _n = "_toolbarContainer_zeo7w_124", Ln = "_dragging_zeo7w_139", Mn = "_entrance_zeo7w_143", Sn = "_toolbarEnter_zeo7w_1", zn = "_collapsed_zeo7w_146", En = "_expanded_zeo7w_162", $n = "_light_zeo7w_168", Tn = "_toggleContent_zeo7w_177", In = "_visible_zeo7w_184", Bn = "_hidden_zeo7w_189", An = "_controlsContent_zeo7w_194", Pn = "_badge_zeo7w_214", Hn = "_fadeOut_zeo7w_235", Dn = "_badgeEnter_zeo7w_1", Nn = "_controlButton_zeo7w_244", On = "_divider_zeo7w_293", jn = "_hoverHighlight_zeo7w_303", Zn = "_hoverTooltip_zeo7w_311", Rn = "_marker_zeo7w_332", Vn = "_markerIn_zeo7w_1", Fn = "_markerDelete_zeo7w_353", Yn = "_hovered_zeo7w_356", Wn = "_markerNumber_zeo7w_361", Xn = "_markerTooltip_zeo7w_386", Un = "_enter_zeo7w_404", qn = "_tooltipIn_zeo7w_1", Gn = "_markerQuote_zeo7w_411", Kn = "_markerNote_zeo7w_414", Qn = "_settingsPanel_zeo7w_452", Jn = "_exit_zeo7w_470", e1 = "_settingsHeader_zeo7w_481", t1 = "_settingsBrand_zeo7w_484", o1 = "_settingsBrandSlash_zeo7w_487", n1 = "_settingsVersion_zeo7w_490", l1 = "_settingsSection_zeo7w_493", s1 = "_themeToggle_zeo7w_526", a1 = "_settingsRow_zeo7w_558", i1 = "_settingsLabel_zeo7w_565", r1 = "_settingsLabelMarker_zeo7w_578", c1 = "_cycleButton_zeo7w_582", u1 = "_cycleButtonText_zeo7w_609", d1 = "_cycleTextIn_zeo7w_1", p1 = "_cycleDots_zeo7w_614", h1 = "_cycleDot_zeo7w_614", f1 = "_active_zeo7w_628", m1 = "_colorOptions_zeo7w_639", g1 = "_colorOptionRing_zeo7w_646", v1 = "_colorOption_zeo7w_639", C1 = "_selected_zeo7w_56", y1 = "_settingsToggle_zeo7w_671", b1 = "_customCheckbox_zeo7w_687", w1 = "_checked_zeo7w_705", k1 = "_toggleLabel_zeo7w_721", x1 = "_helpIcon_zeo7w_734", _1 = {
|
|
1895
|
+
dragSelection: mn,
|
|
1896
|
+
dragCount: gn,
|
|
1897
|
+
selectedElementHighlight: vn,
|
|
1898
|
+
multiSelect: Cn,
|
|
1899
|
+
pending: yn,
|
|
1900
|
+
multiSelectOutline: bn,
|
|
1901
|
+
hoverHighlightIn: wn,
|
|
1902
|
+
singleSelectOutline: kn,
|
|
1903
|
+
toolbar: xn,
|
|
1904
|
+
toolbarContainer: _n,
|
|
1905
|
+
dragging: Ln,
|
|
1906
|
+
entrance: Mn,
|
|
1907
|
+
toolbarEnter: Sn,
|
|
1900
1908
|
collapsed: zn,
|
|
1901
|
-
expanded:
|
|
1902
|
-
light:
|
|
1903
|
-
toggleContent:
|
|
1904
|
-
visible:
|
|
1905
|
-
hidden:
|
|
1906
|
-
controlsContent:
|
|
1907
|
-
badge:
|
|
1908
|
-
fadeOut:
|
|
1909
|
-
badgeEnter:
|
|
1910
|
-
controlButton:
|
|
1911
|
-
divider:
|
|
1912
|
-
hoverHighlight:
|
|
1913
|
-
hoverTooltip:
|
|
1914
|
-
marker:
|
|
1915
|
-
markerIn:
|
|
1916
|
-
markerDelete:
|
|
1917
|
-
hovered:
|
|
1918
|
-
markerNumber:
|
|
1919
|
-
markerTooltip:
|
|
1920
|
-
enter:
|
|
1921
|
-
tooltipIn:
|
|
1922
|
-
markerQuote:
|
|
1923
|
-
markerNote:
|
|
1924
|
-
settingsPanel:
|
|
1925
|
-
exit:
|
|
1926
|
-
settingsHeader:
|
|
1927
|
-
settingsBrand:
|
|
1928
|
-
settingsBrandSlash:
|
|
1929
|
-
settingsVersion:
|
|
1930
|
-
settingsSection:
|
|
1931
|
-
themeToggle:
|
|
1932
|
-
settingsRow:
|
|
1933
|
-
settingsLabel:
|
|
1934
|
-
settingsLabelMarker:
|
|
1935
|
-
cycleButton:
|
|
1936
|
-
cycleButtonText:
|
|
1937
|
-
cycleTextIn:
|
|
1938
|
-
cycleDots:
|
|
1939
|
-
cycleDot:
|
|
1940
|
-
active:
|
|
1941
|
-
colorOptions:
|
|
1942
|
-
colorOptionRing:
|
|
1943
|
-
colorOption:
|
|
1944
|
-
selected:
|
|
1945
|
-
settingsToggle:
|
|
1946
|
-
customCheckbox:
|
|
1947
|
-
checked:
|
|
1948
|
-
toggleLabel:
|
|
1949
|
-
helpIcon:
|
|
1950
|
-
},
|
|
1951
|
-
$style:
|
|
1952
|
-
},
|
|
1909
|
+
expanded: En,
|
|
1910
|
+
light: $n,
|
|
1911
|
+
toggleContent: Tn,
|
|
1912
|
+
visible: In,
|
|
1913
|
+
hidden: Bn,
|
|
1914
|
+
controlsContent: An,
|
|
1915
|
+
badge: Pn,
|
|
1916
|
+
fadeOut: Hn,
|
|
1917
|
+
badgeEnter: Dn,
|
|
1918
|
+
controlButton: Nn,
|
|
1919
|
+
divider: On,
|
|
1920
|
+
hoverHighlight: jn,
|
|
1921
|
+
hoverTooltip: Zn,
|
|
1922
|
+
marker: Rn,
|
|
1923
|
+
markerIn: Vn,
|
|
1924
|
+
markerDelete: Fn,
|
|
1925
|
+
hovered: Yn,
|
|
1926
|
+
markerNumber: Wn,
|
|
1927
|
+
markerTooltip: Xn,
|
|
1928
|
+
enter: Un,
|
|
1929
|
+
tooltipIn: qn,
|
|
1930
|
+
markerQuote: Gn,
|
|
1931
|
+
markerNote: Kn,
|
|
1932
|
+
settingsPanel: Qn,
|
|
1933
|
+
exit: Jn,
|
|
1934
|
+
settingsHeader: e1,
|
|
1935
|
+
settingsBrand: t1,
|
|
1936
|
+
settingsBrandSlash: o1,
|
|
1937
|
+
settingsVersion: n1,
|
|
1938
|
+
settingsSection: l1,
|
|
1939
|
+
themeToggle: s1,
|
|
1940
|
+
settingsRow: a1,
|
|
1941
|
+
settingsLabel: i1,
|
|
1942
|
+
settingsLabelMarker: r1,
|
|
1943
|
+
cycleButton: c1,
|
|
1944
|
+
cycleButtonText: u1,
|
|
1945
|
+
cycleTextIn: d1,
|
|
1946
|
+
cycleDots: p1,
|
|
1947
|
+
cycleDot: h1,
|
|
1948
|
+
active: f1,
|
|
1949
|
+
colorOptions: m1,
|
|
1950
|
+
colorOptionRing: g1,
|
|
1951
|
+
colorOption: v1,
|
|
1952
|
+
selected: C1,
|
|
1953
|
+
settingsToggle: y1,
|
|
1954
|
+
customCheckbox: b1,
|
|
1955
|
+
checked: w1,
|
|
1956
|
+
toggleLabel: k1,
|
|
1957
|
+
helpIcon: x1
|
|
1958
|
+
}, L1 = {
|
|
1959
|
+
$style: _1
|
|
1960
|
+
}, T1 = /* @__PURE__ */ lt(fn, [["__cssModules", L1]]);
|
|
1953
1961
|
export {
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1962
|
+
T1 as Agentation,
|
|
1963
|
+
T1 as AgentationVue,
|
|
1964
|
+
Oo as AnimatedBunny,
|
|
1965
|
+
Ge as AnnotationPopup,
|
|
1966
|
+
Ho as IconChatEllipsis,
|
|
1967
|
+
_o as IconCheck,
|
|
1968
|
+
Lo as IconCheckSmall,
|
|
1961
1969
|
ze as IconCheckSmallAnimated,
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1970
|
+
Do as IconCheckmark,
|
|
1971
|
+
Io as IconCheckmarkCircle,
|
|
1972
|
+
No as IconCheckmarkLarge,
|
|
1973
|
+
xo as IconClose,
|
|
1974
|
+
Mo as IconCopyAlt,
|
|
1975
|
+
rt as IconCopyAnimated,
|
|
1976
|
+
So as IconEye,
|
|
1969
1977
|
zo as IconEyeAlt,
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1978
|
+
ct as IconEyeAnimated,
|
|
1979
|
+
Eo as IconEyeClosed,
|
|
1980
|
+
Ao as IconEyeMinus,
|
|
1981
|
+
dt as IconGear,
|
|
1982
|
+
it as IconHelp,
|
|
1983
|
+
at as IconListSparkle,
|
|
1984
|
+
ft as IconMoon,
|
|
1985
|
+
$o as IconPause,
|
|
1986
|
+
Po as IconPauseAlt,
|
|
1987
|
+
ut as IconPausePlayAnimated,
|
|
1988
|
+
To as IconPlayAlt,
|
|
1989
|
+
st as IconPlus,
|
|
1990
|
+
ht as IconSun,
|
|
1991
|
+
pt as IconTrashAlt,
|
|
1992
|
+
Bo as IconXmark,
|
|
1993
|
+
Ee as IconXmarkLarge,
|
|
1994
|
+
$1 as clearAnnotations,
|
|
1995
|
+
Ko as getAccessibilityInfo,
|
|
1988
1996
|
z1 as getComputedStylesSnapshot,
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1997
|
+
Uo as getDetailedComputedStyles,
|
|
1998
|
+
Vo as getElementClasses,
|
|
1999
|
+
jo as getElementPath,
|
|
2000
|
+
Go as getForensicComputedStyles,
|
|
2001
|
+
Qo as getFullElementPath,
|
|
2002
|
+
Ro as getNearbyElements,
|
|
2003
|
+
Zo as getNearbyText,
|
|
1996
2004
|
ue as getStorageKey,
|
|
1997
|
-
|
|
2005
|
+
S1 as identifyAnimationElement,
|
|
1998
2006
|
me as identifyElement,
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2007
|
+
tn as loadAnnotations,
|
|
2008
|
+
E1 as parseComputedStylesString,
|
|
2009
|
+
on as saveAnnotations
|
|
2002
2010
|
};
|