@ohbug/extension-feedback 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,293 +1,282 @@
1
- const S = {};
2
- function Le(e) {
3
- S.context = e;
4
- }
5
- const ze = (e, t) => e === t, z = Symbol("solid-proxy"), He = Symbol("solid-track"), W = {
6
- equals: ze
1
+ const Te = (e, t) => e === t, C = Symbol("solid-proxy"), fe = Symbol("solid-track"), K = {
2
+ equals: Te
7
3
  };
8
- let be = me;
9
- const H = {}, O = 1, X = 2, pe = {
4
+ let ge = me;
5
+ const k = 1, W = 2, be = {
10
6
  owned: null,
11
7
  cleanups: null,
12
8
  context: null,
13
9
  owner: null
14
10
  };
15
- var y = null;
16
- let G = null, b = null, B = null, $ = null, E = null, le = 0;
17
- function je(e, t) {
18
- const n = b, o = y, l = e.length === 0, s = l ? pe : {
11
+ var w = null;
12
+ let ne = null, b = null, $ = null, S = null, ee = 0;
13
+ function Pe(e, t) {
14
+ const n = b, l = w, s = e.length === 0, o = s ? be : {
19
15
  owned: null,
20
16
  cleanups: null,
21
17
  context: null,
22
- owner: t || o
23
- }, i = l ? e : () => e(() => ue(s));
24
- y = s, b = null;
18
+ owner: t === void 0 ? l : t
19
+ }, i = s ? e : () => e(() => N(() => te(o)));
20
+ w = o, b = null;
25
21
  try {
26
- return ce(i, !0);
22
+ return H(i, !0);
27
23
  } finally {
28
- b = n, y = o;
24
+ b = n, w = l;
29
25
  }
30
26
  }
31
27
  function F(e, t) {
32
- t = t ? Object.assign({}, W, t) : W;
28
+ t = t ? Object.assign({}, K, t) : K;
33
29
  const n = {
34
30
  value: e,
35
31
  observers: null,
36
32
  observerSlots: null,
37
- pending: H,
38
33
  comparator: t.equals || void 0
39
- }, o = (l) => (typeof l == "function" && (l = l(n.pending !== H ? n.pending : n.value)), ie(n, l));
40
- return [ve.bind(n), o];
34
+ }, l = (s) => (typeof s == "function" && (s = s(n.value)), $e(n, s));
35
+ return [ye.bind(n), l];
41
36
  }
42
37
  function j(e, t, n) {
43
- const o = re(e, t, !1, O);
44
- I(o);
38
+ const l = re(e, t, !1, k);
39
+ G(l);
45
40
  }
46
- function we(e, t, n) {
47
- be = Fe;
48
- const o = re(e, t, !1, O);
49
- o.user = !0, E ? E.push(o) : I(o);
41
+ function pe(e, t, n) {
42
+ ge = Me;
43
+ const l = re(e, t, !1, k);
44
+ (!n || !n.render) && (l.user = !0), S ? S.push(l) : G(l);
50
45
  }
51
- function de(e, t, n) {
52
- n = n ? Object.assign({}, W, n) : W;
53
- const o = re(e, t, !0, 0);
54
- return o.pending = H, o.observers = null, o.observerSlots = null, o.comparator = n.equals || void 0, I(o), ve.bind(o);
46
+ function ae(e, t, n) {
47
+ n = n ? Object.assign({}, K, n) : K;
48
+ const l = re(e, t, !0, 0);
49
+ return l.observers = null, l.observerSlots = null, l.comparator = n.equals || void 0, G(l), ye.bind(l);
55
50
  }
56
- function ye(e) {
57
- if (B)
51
+ function Le(e) {
52
+ return H(e, !1);
53
+ }
54
+ function N(e) {
55
+ if (b === null)
58
56
  return e();
59
- let t;
60
- const n = B = [];
57
+ const t = b;
58
+ b = null;
61
59
  try {
62
- t = e();
60
+ return e();
63
61
  } finally {
64
- B = null;
62
+ b = t;
65
63
  }
66
- return ce(() => {
67
- for (let o = 0; o < n.length; o += 1) {
68
- const l = n[o];
69
- if (l.pending !== H) {
70
- const s = l.pending;
71
- l.pending = H, ie(l, s);
72
- }
73
- }
74
- }, !1), t;
75
- }
76
- function se(e) {
77
- let t, n = b;
78
- return b = null, t = e(), b = n, t;
79
64
  }
80
- function Me(e) {
81
- return y === null || (y.cleanups === null ? y.cleanups = [e] : y.cleanups.push(e)), e;
65
+ function ze(e) {
66
+ return w === null || (w.cleanups === null ? w.cleanups = [e] : w.cleanups.push(e)), e;
82
67
  }
83
- function $e() {
68
+ function we() {
84
69
  return b;
85
70
  }
86
- function ve() {
87
- const e = G;
88
- if (this.sources && (this.state || e)) {
89
- const t = $;
90
- $ = null, this.state === O || e ? I(this) : Y(this), $ = t;
91
- }
71
+ function ye() {
72
+ if (this.sources && this.state)
73
+ if (this.state === k)
74
+ G(this);
75
+ else {
76
+ const e = $;
77
+ $ = null, H(() => Y(this), !1), $ = e;
78
+ }
92
79
  if (b) {
93
- const t = this.observers ? this.observers.length : 0;
94
- b.sources ? (b.sources.push(this), b.sourceSlots.push(t)) : (b.sources = [this], b.sourceSlots = [t]), this.observers ? (this.observers.push(b), this.observerSlots.push(b.sources.length - 1)) : (this.observers = [b], this.observerSlots = [b.sources.length - 1]);
80
+ const e = this.observers ? this.observers.length : 0;
81
+ b.sources ? (b.sources.push(this), b.sourceSlots.push(e)) : (b.sources = [this], b.sourceSlots = [e]), this.observers ? (this.observers.push(b), this.observerSlots.push(b.sources.length - 1)) : (this.observers = [b], this.observerSlots = [b.sources.length - 1]);
95
82
  }
96
83
  return this.value;
97
84
  }
98
- function ie(e, t, n) {
99
- if (B)
100
- return e.pending === H && B.push(e), e.pending = t, t;
101
- if (e.comparator && e.comparator(e.value, t))
102
- return t;
103
- let o = !1;
104
- return e.value = t, e.observers && e.observers.length && ce(() => {
105
- for (let l = 0; l < e.observers.length; l += 1) {
106
- const s = e.observers[l];
107
- o && G.disposed.has(s), (o && !s.tState || !o && !s.state) && (s.pure ? $.push(s) : E.push(s), s.observers && xe(s)), o || (s.state = O);
85
+ function $e(e, t, n) {
86
+ let l = e.value;
87
+ return (!e.comparator || !e.comparator(l, t)) && (e.value = t, e.observers && e.observers.length && H(() => {
88
+ for (let s = 0; s < e.observers.length; s += 1) {
89
+ const o = e.observers[s], i = ne && ne.running;
90
+ i && ne.disposed.has(o), (i ? !o.tState : !o.state) && (o.pure ? $.push(o) : S.push(o), o.observers && ve(o)), i || (o.state = k);
108
91
  }
109
92
  if ($.length > 1e6)
110
93
  throw $ = [], new Error();
111
- }, !1), t;
94
+ }, !1)), t;
112
95
  }
113
- function I(e) {
96
+ function G(e) {
114
97
  if (!e.fn)
115
98
  return;
116
- ue(e);
117
- const t = y, n = b, o = le;
118
- b = y = e, De(e, e.value, o), b = n, y = t;
99
+ te(e);
100
+ const t = w, n = b, l = ee;
101
+ b = w = e, je(e, e.value, l), b = n, w = t;
119
102
  }
120
- function De(e, t, n) {
121
- let o;
103
+ function je(e, t, n) {
104
+ let l;
122
105
  try {
123
- o = e.fn(t);
124
- } catch (l) {
125
- Ee(l);
106
+ l = e.fn(t);
107
+ } catch (s) {
108
+ return e.pure && (e.state = k, e.owned && e.owned.forEach(te), e.owned = null), e.updatedAt = n + 1, xe(s);
126
109
  }
127
- (!e.updatedAt || e.updatedAt <= n) && (e.observers && e.observers.length ? ie(e, o) : e.value = o, e.updatedAt = n);
110
+ (!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ? $e(e, l) : e.value = l, e.updatedAt = n);
128
111
  }
129
- function re(e, t, n, o = O, l) {
130
- const s = {
112
+ function re(e, t, n, l = k, s) {
113
+ const o = {
131
114
  fn: e,
132
- state: o,
115
+ state: l,
133
116
  updatedAt: null,
134
117
  owned: null,
135
118
  sources: null,
136
119
  sourceSlots: null,
137
120
  cleanups: null,
138
121
  value: t,
139
- owner: y,
122
+ owner: w,
140
123
  context: null,
141
124
  pure: n
142
125
  };
143
- return y === null || y !== pe && (y.owned ? y.owned.push(s) : y.owned = [s]), s;
126
+ return w === null || w !== be && (w.owned ? w.owned.push(o) : w.owned = [o]), o;
144
127
  }
145
- function R(e) {
146
- const t = G;
147
- if (e.state === 0 || t)
128
+ function X(e) {
129
+ if (e.state === 0)
148
130
  return;
149
- if (e.state === X || t)
131
+ if (e.state === W)
150
132
  return Y(e);
151
- if (e.suspense && se(e.suspense.inFallback))
133
+ if (e.suspense && N(e.suspense.inFallback))
152
134
  return e.suspense.effects.push(e);
153
- const n = [e];
154
- for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < le); )
155
- (e.state || t) && n.push(e);
156
- for (let o = n.length - 1; o >= 0; o--)
157
- if (e = n[o], e.state === O || t)
158
- I(e);
159
- else if (e.state === X || t) {
135
+ const t = [e];
136
+ for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < ee); )
137
+ e.state && t.push(e);
138
+ for (let n = t.length - 1; n >= 0; n--)
139
+ if (e = t[n], e.state === k)
140
+ G(e);
141
+ else if (e.state === W) {
160
142
  const l = $;
161
- $ = null, Y(e, n[0]), $ = l;
143
+ $ = null, H(() => Y(e, t[0]), !1), $ = l;
162
144
  }
163
145
  }
164
- function ce(e, t) {
146
+ function H(e, t) {
165
147
  if ($)
166
148
  return e();
167
149
  let n = !1;
168
- t || ($ = []), E ? n = !0 : E = [], le++;
150
+ t || ($ = []), S ? n = !0 : S = [], ee++;
169
151
  try {
170
- const o = e();
171
- return Be(n), o;
172
- } catch (o) {
173
- $ || (E = null), Ee(o);
152
+ const l = e();
153
+ return He(n), l;
154
+ } catch (l) {
155
+ n || (S = null), $ = null, xe(l);
174
156
  }
175
157
  }
176
- function Be(e) {
177
- $ && (me($), $ = null), !e && (E.length ? ye(() => {
178
- be(E), E = null;
179
- }) : E = null);
158
+ function He(e) {
159
+ if ($ && (me($), $ = null), e)
160
+ return;
161
+ const t = S;
162
+ S = null, t.length && H(() => ge(t), !1);
180
163
  }
181
164
  function me(e) {
182
165
  for (let t = 0; t < e.length; t++)
183
- R(e[t]);
166
+ X(e[t]);
184
167
  }
185
- function Fe(e) {
168
+ function Me(e) {
186
169
  let t, n = 0;
187
170
  for (t = 0; t < e.length; t++) {
188
171
  const l = e[t];
189
- l.user ? e[n++] = l : R(l);
172
+ l.user ? e[n++] = l : X(l);
190
173
  }
191
- S.context && Le();
192
- const o = e.length;
193
174
  for (t = 0; t < n; t++)
194
- R(e[t]);
195
- for (t = o; t < e.length; t++)
196
- R(e[t]);
175
+ X(e[t]);
197
176
  }
198
177
  function Y(e, t) {
199
- const n = G;
200
178
  e.state = 0;
201
- for (let o = 0; o < e.sources.length; o += 1) {
202
- const l = e.sources[o];
203
- l.sources && (l.state === O || n ? l !== t && R(l) : (l.state === X || n) && Y(l, t));
179
+ for (let n = 0; n < e.sources.length; n += 1) {
180
+ const l = e.sources[n];
181
+ if (l.sources) {
182
+ const s = l.state;
183
+ s === k ? l !== t && (!l.updatedAt || l.updatedAt < ee) && X(l) : s === W && Y(l, t);
184
+ }
204
185
  }
205
186
  }
206
- function xe(e) {
207
- const t = G;
208
- for (let n = 0; n < e.observers.length; n += 1) {
209
- const o = e.observers[n];
210
- (!o.state || t) && (o.state = X, o.pure ? $.push(o) : E.push(o), o.observers && xe(o));
187
+ function ve(e) {
188
+ for (let t = 0; t < e.observers.length; t += 1) {
189
+ const n = e.observers[t];
190
+ n.state || (n.state = W, n.pure ? $.push(n) : S.push(n), n.observers && ve(n));
211
191
  }
212
192
  }
213
- function ue(e) {
193
+ function te(e) {
214
194
  let t;
215
195
  if (e.sources)
216
196
  for (; e.sources.length; ) {
217
- const n = e.sources.pop(), o = e.sourceSlots.pop(), l = n.observers;
218
- if (l && l.length) {
219
- const s = l.pop(), i = n.observerSlots.pop();
220
- o < l.length && (s.sourceSlots[i] = o, l[o] = s, n.observerSlots[o] = i);
197
+ const n = e.sources.pop(), l = e.sourceSlots.pop(), s = n.observers;
198
+ if (s && s.length) {
199
+ const o = s.pop(), i = n.observerSlots.pop();
200
+ l < s.length && (o.sourceSlots[i] = l, s[l] = o, n.observerSlots[l] = i);
221
201
  }
222
202
  }
223
203
  if (e.owned) {
224
- for (t = 0; t < e.owned.length; t++)
225
- ue(e.owned[t]);
204
+ for (t = e.owned.length - 1; t >= 0; t--)
205
+ te(e.owned[t]);
226
206
  e.owned = null;
227
207
  }
228
208
  if (e.cleanups) {
229
- for (t = 0; t < e.cleanups.length; t++)
209
+ for (t = e.cleanups.length - 1; t >= 0; t--)
230
210
  e.cleanups[t]();
231
211
  e.cleanups = null;
232
212
  }
233
213
  e.state = 0, e.context = null;
234
214
  }
235
- function Ee(e) {
236
- throw e;
215
+ function De(e) {
216
+ return e instanceof Error ? e : new Error(typeof e == "string" ? e : "Unknown error", {
217
+ cause: e
218
+ });
219
+ }
220
+ function xe(e, t = w) {
221
+ throw De(e);
237
222
  }
238
223
  function x(e, t) {
239
- return se(() => e(t || {}));
224
+ return N(() => e(t || {}));
240
225
  }
241
- function V(e) {
242
- let t = !1;
243
- const n = de(() => e.when, void 0, {
244
- equals: (o, l) => t ? o === l : !o == !l
226
+ const Be = (e) => `Stale read from <${e}>.`;
227
+ function U(e) {
228
+ const t = e.keyed, n = ae(() => e.when, void 0, {
229
+ equals: (l, s) => t ? l === s : !l == !s
245
230
  });
246
- return de(() => {
247
- const o = n();
248
- if (o) {
249
- const l = e.children;
250
- return (t = typeof l == "function" && l.length > 0) ? se(() => l(o)) : l;
231
+ return ae(() => {
232
+ const l = n();
233
+ if (l) {
234
+ const s = e.children;
235
+ return typeof s == "function" && s.length > 0 ? N(() => s(t ? l : () => {
236
+ if (!N(n))
237
+ throw Be("Show");
238
+ return e.when;
239
+ })) : s;
251
240
  }
252
241
  return e.fallback;
253
- });
242
+ }, void 0, void 0);
254
243
  }
255
- function Re(e, t, n) {
256
- let o = n.length, l = t.length, s = o, i = 0, r = 0, c = t[l - 1].nextSibling, f = null;
257
- for (; i < l || r < s; ) {
244
+ function Fe(e, t, n) {
245
+ let l = n.length, s = t.length, o = l, i = 0, r = 0, c = t[s - 1].nextSibling, h = null;
246
+ for (; i < s || r < o; ) {
258
247
  if (t[i] === n[r]) {
259
248
  i++, r++;
260
249
  continue;
261
250
  }
262
- for (; t[l - 1] === n[s - 1]; )
263
- l--, s--;
264
- if (l === i) {
265
- const a = s < o ? r ? n[r - 1].nextSibling : n[s - r] : c;
266
- for (; r < s; )
267
- e.insertBefore(n[r++], a);
268
- } else if (s === r)
269
- for (; i < l; )
270
- (!f || !f.has(t[i])) && t[i].remove(), i++;
271
- else if (t[i] === n[s - 1] && n[r] === t[l - 1]) {
272
- const a = t[--l].nextSibling;
273
- e.insertBefore(n[r++], t[i++].nextSibling), e.insertBefore(n[--s], a), t[l] = n[s];
251
+ for (; t[s - 1] === n[o - 1]; )
252
+ s--, o--;
253
+ if (s === i) {
254
+ const u = o < l ? r ? n[r - 1].nextSibling : n[o - r] : c;
255
+ for (; r < o; )
256
+ e.insertBefore(n[r++], u);
257
+ } else if (o === r)
258
+ for (; i < s; )
259
+ (!h || !h.has(t[i])) && t[i].remove(), i++;
260
+ else if (t[i] === n[o - 1] && n[r] === t[s - 1]) {
261
+ const u = t[--s].nextSibling;
262
+ e.insertBefore(n[r++], t[i++].nextSibling), e.insertBefore(n[--o], u), t[s] = n[o];
274
263
  } else {
275
- if (!f) {
276
- f = /* @__PURE__ */ new Map();
277
- let h = r;
278
- for (; h < s; )
279
- f.set(n[h], h++);
264
+ if (!h) {
265
+ h = /* @__PURE__ */ new Map();
266
+ let g = r;
267
+ for (; g < o; )
268
+ h.set(n[g], g++);
280
269
  }
281
- const a = f.get(t[i]);
282
- if (a != null)
283
- if (r < a && a < s) {
284
- let h = i, v = 1, _;
285
- for (; ++h < l && h < s && !((_ = f.get(t[h])) == null || _ !== a + v); )
286
- v++;
287
- if (v > a - r) {
288
- const C = t[i];
289
- for (; r < a; )
290
- e.insertBefore(n[r++], C);
270
+ const u = h.get(t[i]);
271
+ if (u != null)
272
+ if (r < u && u < o) {
273
+ let g = i, m = 1, _;
274
+ for (; ++g < s && g < o && !((_ = h.get(t[g])) == null || _ !== u + m); )
275
+ m++;
276
+ if (m > u - r) {
277
+ const T = t[i];
278
+ for (; r < u; )
279
+ e.insertBefore(n[r++], T);
291
280
  } else
292
281
  e.replaceChild(n[r++], t[i++]);
293
282
  } else
@@ -297,34 +286,42 @@ function Re(e, t, n) {
297
286
  }
298
287
  }
299
288
  }
300
- const he = "_$DX_DELEGATE";
301
- function Ve(e, t, n) {
302
- let o;
303
- return je((l) => {
304
- o = l, t === document ? e() : m(t, e(), t.firstChild ? null : void 0, n);
305
- }), () => {
306
- o(), t.textContent = "";
289
+ const de = "_$DX_DELEGATE";
290
+ function Ue(e, t, n, l = {}) {
291
+ let s;
292
+ return Pe((o) => {
293
+ s = o, t === document ? e() : v(t, e(), t.firstChild ? null : void 0, n);
294
+ }, l.owner), () => {
295
+ s(), t.textContent = "";
307
296
  };
308
297
  }
309
- function N(e, t, n) {
310
- const o = document.createElement("template");
311
- o.innerHTML = e;
312
- let l = o.content.firstChild;
313
- return n && (l = l.firstChild), l;
298
+ function A(e, t, n) {
299
+ let l;
300
+ const s = () => {
301
+ const i = document.createElement("template");
302
+ return i.innerHTML = e, n ? i.content.firstChild.firstChild : i.content.firstChild;
303
+ }, o = t ? () => N(() => document.importNode(l || (l = s()), !0)) : () => (l || (l = s())).cloneNode(!0);
304
+ return o.cloneNode = o, o;
314
305
  }
315
- function Se(e, t = window.document) {
316
- const n = t[he] || (t[he] = /* @__PURE__ */ new Set());
317
- for (let o = 0, l = e.length; o < l; o++) {
318
- const s = e[o];
319
- n.has(s) || (n.add(s), t.addEventListener(s, Ue));
306
+ function _e(e, t = window.document) {
307
+ const n = t[de] || (t[de] = /* @__PURE__ */ new Set());
308
+ for (let l = 0, s = e.length; l < s; l++) {
309
+ const o = e[l];
310
+ n.has(o) || (n.add(o), t.addEventListener(o, Ve));
320
311
  }
321
312
  }
322
- function m(e, t, n, o) {
323
- if (n !== void 0 && !o && (o = []), typeof t != "function")
324
- return J(e, t, o, n);
325
- j((l) => J(e, t(), l, n), o);
313
+ function Re(e, t) {
314
+ t == null ? e.removeAttribute("class") : e.className = t;
315
+ }
316
+ function D(e, t, n) {
317
+ return N(() => e(t, n));
326
318
  }
327
- function Ue(e) {
319
+ function v(e, t, n, l) {
320
+ if (n !== void 0 && !l && (l = []), typeof t != "function")
321
+ return J(e, t, l, n);
322
+ j((s) => J(e, t(), s, n), l);
323
+ }
324
+ function Ve(e) {
328
325
  const t = `$$${e.type}`;
329
326
  let n = e.composedPath && e.composedPath()[0] || e.target;
330
327
  for (e.target !== n && Object.defineProperty(e, "target", {
@@ -335,123 +332,113 @@ function Ue(e) {
335
332
  get() {
336
333
  return n || document;
337
334
  }
338
- }), S.registry && !S.done && (S.done = !0, document.querySelectorAll("[id^=pl-]").forEach((o) => o.remove())); n !== null; ) {
339
- const o = n[t];
340
- if (o && !n.disabled) {
341
- const l = n[`${t}Data`];
342
- if (l !== void 0 ? o.call(n, l, e) : o.call(n, e), e.cancelBubble)
335
+ }); n; ) {
336
+ const l = n[t];
337
+ if (l && !n.disabled) {
338
+ const s = n[`${t}Data`];
339
+ if (s !== void 0 ? l.call(n, s, e) : l.call(n, e), e.cancelBubble)
343
340
  return;
344
341
  }
345
- n = n.host && n.host !== n && n.host instanceof Node ? n.host : n.parentNode;
342
+ n = n._$host || n.parentNode || n.host;
346
343
  }
347
344
  }
348
- function J(e, t, n, o, l) {
349
- for (S.context && !n && (n = [...e.childNodes]); typeof n == "function"; )
345
+ function J(e, t, n, l, s) {
346
+ for (; typeof n == "function"; )
350
347
  n = n();
351
348
  if (t === n)
352
349
  return n;
353
- const s = typeof t, i = o !== void 0;
354
- if (e = i && n[0] && n[0].parentNode || e, s === "string" || s === "number") {
355
- if (S.context)
356
- return n;
357
- if (s === "number" && (t = t.toString()), i) {
350
+ const o = typeof t, i = l !== void 0;
351
+ if (e = i && n[0] && n[0].parentNode || e, o === "string" || o === "number")
352
+ if (o === "number" && (t = t.toString()), i) {
358
353
  let r = n[0];
359
- r && r.nodeType === 3 ? r.data = t : r = document.createTextNode(t), n = P(e, n, o, r);
354
+ r && r.nodeType === 3 ? r.data = t : r = document.createTextNode(t), n = L(e, n, l, r);
360
355
  } else
361
356
  n !== "" && typeof n == "string" ? n = e.firstChild.data = t : n = e.textContent = t;
362
- } else if (t == null || s === "boolean") {
363
- if (S.context)
364
- return n;
365
- n = P(e, n, o);
366
- } else {
367
- if (s === "function")
357
+ else if (t == null || o === "boolean")
358
+ n = L(e, n, l);
359
+ else {
360
+ if (o === "function")
368
361
  return j(() => {
369
362
  let r = t();
370
363
  for (; typeof r == "function"; )
371
364
  r = r();
372
- n = J(e, r, n, o);
365
+ n = J(e, r, n, l);
373
366
  }), () => n;
374
367
  if (Array.isArray(t)) {
375
368
  const r = [], c = n && Array.isArray(n);
376
- if (te(r, t, n, l))
377
- return j(() => n = J(e, r, n, o, !0)), () => n;
378
- if (S.context) {
379
- for (let f = 0; f < r.length; f++)
380
- if (r[f].parentNode)
381
- return n = r;
382
- }
369
+ if (le(r, t, n, s))
370
+ return j(() => n = J(e, r, n, l, !0)), () => n;
383
371
  if (r.length === 0) {
384
- if (n = P(e, n, o), i)
372
+ if (n = L(e, n, l), i)
385
373
  return n;
386
374
  } else
387
- c ? n.length === 0 ? ge(e, r, o) : Re(e, n, r) : (n && P(e), ge(e, r));
375
+ c ? n.length === 0 ? he(e, r, l) : Fe(e, n, r) : (n && L(e), he(e, r));
388
376
  n = r;
389
- } else if (t instanceof Node) {
390
- if (S.context && t.parentNode)
391
- return n = i ? [t] : t;
377
+ } else if (t.nodeType) {
392
378
  if (Array.isArray(n)) {
393
379
  if (i)
394
- return n = P(e, n, o, t);
395
- P(e, n, null, t);
380
+ return n = L(e, n, l, t);
381
+ L(e, n, null, t);
396
382
  } else
397
383
  n == null || n === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
398
384
  n = t;
399
- }
385
+ } else
386
+ console.warn("Unrecognized value. Skipped inserting", t);
400
387
  }
401
388
  return n;
402
389
  }
403
- function te(e, t, n, o) {
404
- let l = !1;
405
- for (let s = 0, i = t.length; s < i; s++) {
406
- let r = t[s], c = n && n[s];
407
- if (r instanceof Node)
408
- e.push(r);
409
- else if (!(r == null || r === !0 || r === !1))
410
- if (Array.isArray(r))
411
- l = te(e, r, c) || l;
412
- else if (typeof r == "function")
413
- if (o) {
390
+ function le(e, t, n, l) {
391
+ let s = !1;
392
+ for (let o = 0, i = t.length; o < i; o++) {
393
+ let r = t[o], c = n && n[o], h;
394
+ if (!(r == null || r === !0 || r === !1))
395
+ if ((h = typeof r) == "object" && r.nodeType)
396
+ e.push(r);
397
+ else if (Array.isArray(r))
398
+ s = le(e, r, c) || s;
399
+ else if (h === "function")
400
+ if (l) {
414
401
  for (; typeof r == "function"; )
415
402
  r = r();
416
- l = te(e, Array.isArray(r) ? r : [r], c) || l;
403
+ s = le(e, Array.isArray(r) ? r : [r], Array.isArray(c) ? c : [c]) || s;
417
404
  } else
418
- e.push(r), l = !0;
405
+ e.push(r), s = !0;
419
406
  else {
420
- const f = String(r);
421
- c && c.nodeType === 3 && c.data === f ? e.push(c) : e.push(document.createTextNode(f));
407
+ const u = String(r);
408
+ c && c.nodeType === 3 && c.data === u ? e.push(c) : e.push(document.createTextNode(u));
422
409
  }
423
410
  }
424
- return l;
411
+ return s;
425
412
  }
426
- function ge(e, t, n) {
427
- for (let o = 0, l = t.length; o < l; o++)
428
- e.insertBefore(t[o], n);
413
+ function he(e, t, n = null) {
414
+ for (let l = 0, s = t.length; l < s; l++)
415
+ e.insertBefore(t[l], n);
429
416
  }
430
- function P(e, t, n, o) {
417
+ function L(e, t, n, l) {
431
418
  if (n === void 0)
432
419
  return e.textContent = "";
433
- const l = o || document.createTextNode("");
420
+ const s = l || document.createTextNode("");
434
421
  if (t.length) {
435
- let s = !1;
422
+ let o = !1;
436
423
  for (let i = t.length - 1; i >= 0; i--) {
437
424
  const r = t[i];
438
- if (l !== r) {
425
+ if (s !== r) {
439
426
  const c = r.parentNode === e;
440
- !s && !i ? c ? e.replaceChild(l, r) : e.insertBefore(l, n) : c && r.remove();
427
+ !o && !i ? c ? e.replaceChild(s, r) : e.insertBefore(s, n) : c && r.remove();
441
428
  } else
442
- s = !0;
429
+ o = !0;
443
430
  }
444
431
  } else
445
- e.insertBefore(l, n);
446
- return [l];
432
+ e.insertBefore(s, n);
433
+ return [s];
447
434
  }
448
435
  function Ge(e, t, ...n) {
449
436
  if (t === void 0)
450
437
  throw new Error("`Ohbug warning(condition, format, ...args)` requires a warning message argument");
451
438
  if (!e) {
452
- let o = 0;
453
- const l = t.replace(/%s/g, () => n[o++]);
454
- throw new Error(`Ohbug ${l}`);
439
+ let l = 0;
440
+ const s = t.replace(/%s/g, () => n[l++]);
441
+ throw new Error(`Ohbug ${s}`);
455
442
  }
456
443
  }
457
444
  var Ie = {};
@@ -461,116 +448,114 @@ function qe() {
461
448
  function Ke() {
462
449
  const e = qe();
463
450
  return Ge(
464
- Boolean(e.__OHBUG__),
451
+ !!e.__OHBUG__,
465
452
  "Failed to get `OhbugObject`, please confirm if `Ohbug.setup`"
466
453
  ), e.__OHBUG__;
467
454
  }
468
- function _e(e, t) {
469
- e.parentNode && (t.push(e.parentNode), _e(e.parentNode, t));
455
+ function Ee(e, t) {
456
+ e.parentNode && (t.push(e.parentNode), Ee(e.parentNode, t));
470
457
  }
471
458
  function We(e) {
472
459
  const t = [];
473
- return t.push(e), _e(e, t), t;
460
+ return t.push(e), Ee(e, t), t;
474
461
  }
475
462
  var Xe = (e) => {
476
463
  const t = e.target || e.srcElement;
477
464
  let n = e.target || e.srcElement;
478
- const o = [];
465
+ const l = [];
479
466
  for (let i = 0; n && n.nodeType === Node.ELEMENT_NODE && n.nodeType !== Node.DOCUMENT_TYPE_NODE; n = n.previousSibling)
480
- i && o.push(n), i += 1;
481
- const l = typeof e.path > "u" ? We(e.target) : e.path, { outerHTML: s } = t;
482
- return l.reverse().map((i) => (i.localName || "") + (i.id ? `#${i.id}` : "") + (i.className ? `.${i.className}` : "") + (i.outerHTML === s ? `:nth-child(${o.length})` : "")).filter((i) => Boolean(i)).join(" > ");
467
+ i && l.push(n), i += 1;
468
+ const s = typeof e.path > "u" ? We(e.target) : e.path, { outerHTML: o } = t;
469
+ return s.reverse().map((i) => (i.localName || "") + (i.id ? `#${i.id}` : "") + (i.className ? `.${i.className}` : "") + (i.outerHTML === o ? `:nth-child(${l.length})` : "")).filter((i) => !!i).join(" > ");
483
470
  };
484
- const Ae = Symbol("store-raw"), Q = Symbol("store-node"), Ye = Symbol("store-name");
485
- function Ne(e, t) {
486
- let n = e[z];
487
- if (!n) {
488
- Object.defineProperty(e, z, {
489
- value: n = new Proxy(e, Ze)
490
- });
491
- const o = Object.keys(e), l = Object.getOwnPropertyDescriptors(e);
492
- for (let s = 0, i = o.length; s < i; s++) {
493
- const r = o[s];
494
- if (l[r].get) {
495
- const c = l[r].get.bind(n);
496
- Object.defineProperty(e, r, {
497
- get: c
498
- });
499
- }
471
+ const se = Symbol("store-raw"), R = Symbol("store-node");
472
+ function Se(e) {
473
+ let t = e[C];
474
+ if (!t && (Object.defineProperty(e, C, {
475
+ value: t = new Proxy(e, Qe)
476
+ }), !Array.isArray(e))) {
477
+ const n = Object.keys(e), l = Object.getOwnPropertyDescriptors(e);
478
+ for (let s = 0, o = n.length; s < o; s++) {
479
+ const i = n[s];
480
+ l[i].get && Object.defineProperty(e, i, {
481
+ enumerable: l[i].enumerable,
482
+ get: l[i].get.bind(t)
483
+ });
500
484
  }
501
485
  }
502
- return n;
486
+ return t;
503
487
  }
504
- function Z(e) {
488
+ function Q(e) {
505
489
  let t;
506
- return e != null && typeof e == "object" && (e[z] || !(t = Object.getPrototypeOf(e)) || t === Object.prototype || Array.isArray(e));
490
+ return e != null && typeof e == "object" && (e[C] || !(t = Object.getPrototypeOf(e)) || t === Object.prototype || Array.isArray(e));
507
491
  }
508
- function U(e, t = /* @__PURE__ */ new Set()) {
509
- let n, o, l, s;
510
- if (n = e != null && e[Ae])
492
+ function V(e, t = /* @__PURE__ */ new Set()) {
493
+ let n, l, s, o;
494
+ if (n = e != null && e[se])
511
495
  return n;
512
- if (!Z(e) || t.has(e))
496
+ if (!Q(e) || t.has(e))
513
497
  return e;
514
498
  if (Array.isArray(e)) {
515
499
  Object.isFrozen(e) ? e = e.slice(0) : t.add(e);
516
500
  for (let i = 0, r = e.length; i < r; i++)
517
- l = e[i], (o = U(l, t)) !== l && (e[i] = o);
501
+ s = e[i], (l = V(s, t)) !== s && (e[i] = l);
518
502
  } else {
519
503
  Object.isFrozen(e) ? e = Object.assign({}, e) : t.add(e);
520
504
  const i = Object.keys(e), r = Object.getOwnPropertyDescriptors(e);
521
- for (let c = 0, f = i.length; c < f; c++)
522
- s = i[c], !r[s].get && (l = e[s], (o = U(l, t)) !== l && (e[s] = o));
505
+ for (let c = 0, h = i.length; c < h; c++)
506
+ o = i[c], !r[o].get && (s = e[o], (l = V(s, t)) !== s && (e[o] = l));
523
507
  }
524
508
  return e;
525
509
  }
526
- function fe(e) {
527
- let t = e[Q];
528
- return t || Object.defineProperty(e, Q, {
529
- value: t = {}
510
+ function ce(e) {
511
+ let t = e[R];
512
+ return t || Object.defineProperty(e, R, {
513
+ value: t = /* @__PURE__ */ Object.create(null)
530
514
  }), t;
531
515
  }
532
- function ne(e, t, n) {
533
- return e[t] || (e[t] = Oe(n, !0));
516
+ function oe(e, t, n) {
517
+ return e[t] || (e[t] = ke(n));
534
518
  }
535
- function Je(e, t) {
519
+ function Ye(e, t) {
536
520
  const n = Reflect.getOwnPropertyDescriptor(e, t);
537
- return !n || n.get || !n.configurable || t === z || t === Q || t === Ye || (delete n.value, delete n.writable, n.get = () => e[z][t]), n;
521
+ return !n || n.get || !n.configurable || t === C || t === R || (delete n.value, delete n.writable, n.get = () => e[C][t]), n;
538
522
  }
539
- function ke(e) {
540
- if ($e()) {
541
- const t = fe(e);
542
- (t._ || (t._ = Oe()))();
523
+ function Ae(e) {
524
+ if (we()) {
525
+ const t = ce(e);
526
+ (t._ || (t._ = ke()))();
543
527
  }
544
528
  }
545
- function Qe(e) {
546
- return ke(e), Reflect.ownKeys(e);
529
+ function Je(e) {
530
+ return Ae(e), Reflect.ownKeys(e);
547
531
  }
548
- function Oe(e, t) {
549
- const [n, o] = F(e, t ? {
550
- internal: !0
551
- } : {
532
+ function ke(e) {
533
+ const [t, n] = F(e, {
552
534
  equals: !1,
553
535
  internal: !0
554
536
  });
555
- return n.$ = o, n;
537
+ return t.$ = n, t;
556
538
  }
557
- const Ze = {
539
+ const Qe = {
558
540
  get(e, t, n) {
559
- if (t === Ae)
541
+ if (t === se)
560
542
  return e;
561
- if (t === z)
543
+ if (t === C)
562
544
  return n;
563
- if (t === He)
564
- return ke(e);
565
- const o = fe(e), l = o[t];
566
- let s = l ? o[t]() : e[t];
567
- if (t === Q || t === "__proto__")
568
- return s;
569
- if (!l) {
545
+ if (t === fe)
546
+ return Ae(e), n;
547
+ const l = ce(e), s = l[t];
548
+ let o = s ? s() : e[t];
549
+ if (t === R || t === "__proto__")
550
+ return o;
551
+ if (!s) {
570
552
  const i = Object.getOwnPropertyDescriptor(e, t);
571
- $e() && (typeof s != "function" || e.hasOwnProperty(t)) && !(i && i.get) && (s = ne(o, t, s)());
553
+ we() && (typeof o != "function" || e.hasOwnProperty(t)) && !(i && i.get) && (o = oe(l, t, o)());
572
554
  }
573
- return Z(s) ? Ne(s) : s;
555
+ return Q(o) ? Se(o) : o;
556
+ },
557
+ has(e, t) {
558
+ return t === se || t === C || t === fe || t === R || t === "__proto__" ? !0 : (this.get(e, t, e), t in e);
574
559
  },
575
560
  set() {
576
561
  return !0;
@@ -578,775 +563,312 @@ const Ze = {
578
563
  deleteProperty() {
579
564
  return !0;
580
565
  },
581
- ownKeys: Qe,
582
- getOwnPropertyDescriptor: Je
566
+ ownKeys: Je,
567
+ getOwnPropertyDescriptor: Ye
583
568
  };
584
- function ee(e, t, n) {
585
- if (e[t] === n)
569
+ function Z(e, t, n, l = !1) {
570
+ if (!l && e[t] === n)
586
571
  return;
587
- const o = e[t], l = e.length;
572
+ const s = e[t], o = e.length;
588
573
  n === void 0 ? delete e[t] : e[t] = n;
589
- let s = fe(e), i;
590
- (i = ne(s, t, o)) && i.$(() => n), Array.isArray(e) && e.length !== l && (i = ne(s, "length", l)) && i.$(e.length), (i = s._) && i.$();
574
+ let i = ce(e), r;
575
+ if ((r = oe(i, t, s)) && r.$(() => n), Array.isArray(e) && e.length !== o) {
576
+ for (let c = e.length; c < o; c++)
577
+ (r = i[c]) && r.$();
578
+ (r = oe(i, "length", o)) && r.$(e.length);
579
+ }
580
+ (r = i._) && r.$();
591
581
  }
592
- function Ce(e, t) {
582
+ function Oe(e, t) {
593
583
  const n = Object.keys(t);
594
- for (let o = 0; o < n.length; o += 1) {
595
- const l = n[o];
596
- ee(e, l, t[l]);
584
+ for (let l = 0; l < n.length; l += 1) {
585
+ const s = n[l];
586
+ Z(e, s, t[s]);
597
587
  }
598
588
  }
599
- function et(e, t) {
600
- if (typeof t == "function" && (t = t(e)), t = U(t), Array.isArray(t)) {
589
+ function Ze(e, t) {
590
+ if (typeof t == "function" && (t = t(e)), t = V(t), Array.isArray(t)) {
601
591
  if (e === t)
602
592
  return;
603
- let n = 0, o = t.length;
604
- for (; n < o; n++) {
605
- const l = t[n];
606
- e[n] !== l && ee(e, n, l);
593
+ let n = 0, l = t.length;
594
+ for (; n < l; n++) {
595
+ const s = t[n];
596
+ e[n] !== s && Z(e, n, s);
607
597
  }
608
- ee(e, "length", o);
598
+ Z(e, "length", l);
609
599
  } else
610
- Ce(e, t);
600
+ Oe(e, t);
611
601
  }
612
- function D(e, t, n = []) {
613
- let o, l = e;
602
+ function B(e, t, n = []) {
603
+ let l, s = e;
614
604
  if (t.length > 1) {
615
- o = t.shift();
616
- const i = typeof o, r = Array.isArray(e);
617
- if (Array.isArray(o)) {
618
- for (let c = 0; c < o.length; c++)
619
- D(e, [o[c]].concat(t), n);
605
+ l = t.shift();
606
+ const i = typeof l, r = Array.isArray(e);
607
+ if (Array.isArray(l)) {
608
+ for (let c = 0; c < l.length; c++)
609
+ B(e, [l[c]].concat(t), n);
620
610
  return;
621
611
  } else if (r && i === "function") {
622
612
  for (let c = 0; c < e.length; c++)
623
- o(e[c], c) && D(e, [c].concat(t), n);
613
+ l(e[c], c) && B(e, [c].concat(t), n);
624
614
  return;
625
615
  } else if (r && i === "object") {
626
616
  const {
627
617
  from: c = 0,
628
- to: f = e.length - 1,
629
- by: a = 1
630
- } = o;
631
- for (let h = c; h <= f; h += a)
632
- D(e, [h].concat(t), n);
618
+ to: h = e.length - 1,
619
+ by: u = 1
620
+ } = l;
621
+ for (let g = c; g <= h; g += u)
622
+ B(e, [g].concat(t), n);
633
623
  return;
634
624
  } else if (t.length > 1) {
635
- D(e[o], t, [o].concat(n));
625
+ B(e[l], t, [l].concat(n));
636
626
  return;
637
627
  }
638
- l = e[o], n = [o].concat(n);
628
+ s = e[l], n = [l].concat(n);
639
629
  }
640
- let s = t[0];
641
- typeof s == "function" && (s = s(l, n), s === l) || o === void 0 && s == null || (s = U(s), o === void 0 || Z(l) && Z(s) && !Array.isArray(s) ? Ce(l, s) : ee(e, o, s));
630
+ let o = t[0];
631
+ typeof o == "function" && (o = o(s, n), o === s) || l === void 0 && o == null || (o = V(o), l === void 0 || Q(s) && Q(o) && !Array.isArray(o) ? Oe(s, o) : Z(e, l, o));
642
632
  }
643
- function tt(...[e, t]) {
644
- const n = U(e || {}), o = Array.isArray(n), l = Ne(n);
645
- function s(...i) {
646
- ye(() => {
647
- o && i.length === 1 ? et(n, i[0]) : D(n, i);
633
+ function et(...[e, t]) {
634
+ const n = V(e || {}), l = Array.isArray(n), s = Se(n);
635
+ function o(...i) {
636
+ Le(() => {
637
+ l && i.length === 1 ? Ze(n, i[0]) : B(n, i);
648
638
  });
649
639
  }
650
- return [l, s];
640
+ return [s, o];
651
641
  }
652
- const [p, L] = tt({ working: !1, selectedElement: null }), nt = /* @__PURE__ */ N('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z" data-ohbug-selector fill="rgba(255,255,255,1)"></path></svg>'), ot = /* @__PURE__ */ N('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M3 3h2v2H3V3zm4 0h2v2H7V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm0 4h2v2h-2V7zM3 19h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3V7zm7.667 4l1.036-1.555A1 1 0 0 1 12.535 9h2.93a1 1 0 0 1 .832.445L17.333 11H20a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h2.667zM9 19h10v-6h-2.737l-1.333-2h-1.86l-1.333 2H9v6zm5-1a2 2 0 1 1 0-4 2 2 0 0 1 0 4z" data-ohbug-selector></path></svg>'), oe = () => nt.cloneNode(!0), lt = () => (() => {
653
- const e = ot.cloneNode(!0);
642
+ const [p, z] = et({ working: !1, selectedElement: null }), tt = /* @__PURE__ */ A('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z" data-ohbug-selector fill="rgba(255,255,255,1)">'), nt = /* @__PURE__ */ A('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M3 3h2v2H3V3zm4 0h2v2H7V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm0 4h2v2h-2V7zM3 19h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3V7zm7.667 4l1.036-1.555A1 1 0 0 1 12.535 9h2.93a1 1 0 0 1 .832.445L17.333 11H20a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h2.667zM9 19h10v-6h-2.737l-1.333-2h-1.86l-1.333 2H9v6zm5-1a2 2 0 1 1 0-4 2 2 0 0 1 0 4z" data-ohbug-selector>'), ie = () => tt(), lt = () => (() => {
643
+ const e = nt();
654
644
  return e.firstChild.nextSibling.style.setProperty("fill", "var(--color)"), e;
655
- })();
656
- const st = /* @__PURE__ */ N('<div class="bg-none border-solid border-4 border-blue-500 transition top-0 right-0 bottom-0 left-0 z-10 fixed pointer-events-none" data-ohbug-selector><div class="tips" data-ohbug-selector>Select element on the page<button class="stop-btn" type="button"></button></div></div>'), it = /* @__PURE__ */ N('<button class="rounded-full cursor-pointer flex bg-red-500 h-6 -top-3 -right-3 w-6 z-10 items-center justify-center absolute pointer-events-auto" data-ohbug-selector type="button"></button>'), rt = /* @__PURE__ */ N('<button class="border-solid cursor-pointer font-semibold bg-red-500 border-4 border-red-500 -bottom-full text-white right-0 absolute pointer-events-auto" data-ohbug-selector type="button">Change</button>'), ct = /* @__PURE__ */ N('<div class="-z-1 fixed" data-ohbug-selector><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div data-ohbug-selector></div></div>'), ut = () => {
645
+ })(), st = /* @__PURE__ */ A('<div class="bg-none border-solid border-4 border-blue-500 transition top-0 right-0 bottom-0 left-0 z-10 fixed pointer-events-none" data-ohbug-selector><div class="tips" data-ohbug-selector>Select element on the page<button class="stop-btn" type="button">'), ot = /* @__PURE__ */ A('<button class="rounded-full cursor-pointer flex bg-red-500 h-6 -top-3 -right-3 w-6 z-10 items-center justify-center absolute pointer-events-auto" data-ohbug-selector type="button">'), it = /* @__PURE__ */ A('<button class="border-solid cursor-pointer font-semibold bg-red-500 border-4 border-red-500 -bottom-full text-white right-0 absolute pointer-events-auto" data-ohbug-selector type="button">Change'), rt = /* @__PURE__ */ A('<div class="-z-1 fixed" data-ohbug-selector><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div data-ohbug-selector>'), ct = () => {
657
646
  const [e, t] = F();
658
- let n, o, l, s, i;
647
+ let n, l, s, o, i;
659
648
  const r = 2;
660
- function c(u) {
661
- if (!u || u.tagName === "HTML")
649
+ function c(f) {
650
+ if (!f || f.tagName === "HTML")
662
651
  return;
663
652
  const {
664
- width: g,
665
- height: w,
666
- top: A,
667
- right: T,
653
+ width: a,
654
+ height: y,
655
+ top: E,
656
+ right: P,
668
657
  bottom: M,
669
658
  left: d
670
- } = u.getBoundingClientRect();
659
+ } = f.getBoundingClientRect();
671
660
  i == null || i.setAttribute("style", `
672
- width: ${g + r * 2}px;
673
- height: ${w + r * 2}px;
674
- top: ${A - r}px;
661
+ width: ${a + r * 2}px;
662
+ height: ${y + r * 2}px;
663
+ top: ${E - r}px;
675
664
  left: ${d - r}px;
676
665
  `), n == null || n.setAttribute("style", `
677
- height: ${A}px;
666
+ height: ${E}px;
678
667
  top: 0;
679
668
  right: 0;
680
669
  left: 0;
681
- `), o == null || o.setAttribute("style", `
682
- top: ${A}px;
670
+ `), l == null || l.setAttribute("style", `
671
+ top: ${E}px;
683
672
  right: 0;
684
673
  bottom: 0;
685
- left: ${T}px;
686
- `), l == null || l.setAttribute("style", `
687
- width: ${g + d}px;
674
+ left: ${P}px;
675
+ `), s == null || s.setAttribute("style", `
676
+ width: ${a + d}px;
688
677
  top: ${M}px;
689
678
  bottom: 0;
690
679
  left: 0;
691
- `), s == null || s.setAttribute("style", `
680
+ `), o == null || o.setAttribute("style", `
692
681
  width: ${d}px;
693
- height: ${w}px;
694
- top: ${A}px;
682
+ height: ${y}px;
683
+ top: ${E}px;
695
684
  left: 0;
696
685
  `);
697
686
  }
698
- function f(u) {
699
- if (!u || u.tagName === "HTML")
687
+ function h(f) {
688
+ if (!f || f.tagName === "HTML")
700
689
  return;
701
690
  const {
702
- width: g,
703
- height: w,
704
- top: A,
705
- left: T
706
- } = u.getBoundingClientRect();
707
- L({
708
- selectedElement: u
691
+ width: a,
692
+ height: y,
693
+ top: E,
694
+ left: P
695
+ } = f.getBoundingClientRect();
696
+ z({
697
+ selectedElement: f
709
698
  }), i == null || i.setAttribute("style", `
710
- width: ${g + r * 2}px;
711
- height: ${w + r * 2}px;
712
- top: ${A - r}px;
713
- left: ${T - r}px;
699
+ width: ${a + r * 2}px;
700
+ height: ${y + r * 2}px;
701
+ top: ${E - r}px;
702
+ left: ${P - r}px;
714
703
  `);
715
704
  }
716
- function a(u) {
717
- var w;
718
- L({
705
+ function u(f) {
706
+ var y;
707
+ z({
719
708
  working: !0
720
709
  });
721
- const g = document.elementFromPoint(u.clientX, u.clientY);
722
- if (((w = g == null ? void 0 : g.dataset) == null ? void 0 : w.ohbugSelector) !== void 0 || g.tagName === "HTML")
710
+ const a = document.elementFromPoint(f.clientX, f.clientY);
711
+ if (((y = a == null ? void 0 : a.dataset) == null ? void 0 : y.ohbugSelector) !== void 0 || a.tagName === "HTML")
723
712
  return !1;
724
- c(g);
713
+ c(a);
725
714
  }
726
- function h() {
727
- document.addEventListener("mousemove", a);
715
+ function g() {
716
+ document.addEventListener("mousemove", u);
728
717
  }
729
- function v() {
730
- document.removeEventListener("mousemove", a);
718
+ function m() {
719
+ document.removeEventListener("mousemove", u);
731
720
  }
732
- function _(u) {
733
- var w;
734
- const g = document.elementFromPoint(u.clientX, u.clientY);
735
- if (((w = g == null ? void 0 : g.dataset) == null ? void 0 : w.ohbugSelector) !== void 0 || g.tagName === "HTML" || p.selectedElement && p.working)
721
+ function _(f) {
722
+ var y;
723
+ const a = document.elementFromPoint(f.clientX, f.clientY);
724
+ if (((y = a == null ? void 0 : a.dataset) == null ? void 0 : y.ohbugSelector) !== void 0 || a.tagName === "HTML" || p.selectedElement && p.working)
736
725
  return !1;
737
- t(g), f(e()), v();
726
+ t(a), h(e()), m();
738
727
  }
739
- function C() {
728
+ function T() {
740
729
  document.addEventListener("mousedown", _);
741
730
  }
742
- function q() {
731
+ function I() {
743
732
  document.removeEventListener("mousedown", _);
744
733
  }
745
- function k() {
746
- t(null), v(), q(), L({
734
+ function O() {
735
+ t(null), m(), I(), z({
747
736
  working: !1,
748
737
  selectedElement: null
749
738
  });
750
739
  }
751
- function K() {
752
- L({
740
+ function q() {
741
+ z({
753
742
  working: !0,
754
743
  selectedElement: null
755
- }), t(null), h();
744
+ }), t(null), g();
756
745
  }
757
- return we(() => {
758
- p.working ? (h(), C()) : (v(), q());
759
- }), Me(k), (() => {
760
- const u = ct.cloneNode(!0), g = u.firstChild, w = g.nextSibling, A = w.nextSibling, T = A.nextSibling, M = T.nextSibling;
761
- return m(u, x(V, {
746
+ return pe(() => {
747
+ p.working ? (g(), T()) : (m(), I());
748
+ }), ze(O), (() => {
749
+ const f = rt(), a = f.firstChild, y = a.nextSibling, E = y.nextSibling, P = E.nextSibling, M = P.nextSibling;
750
+ return v(f, x(U, {
762
751
  get when() {
763
752
  return !p.selectedElement && p.working;
764
753
  },
765
754
  get children() {
766
- const d = st.cloneNode(!0), Te = d.firstChild, Pe = Te.firstChild, ae = Pe.nextSibling;
767
- return ae.$$click = k, m(ae, x(oe, {})), d;
755
+ const d = st(), Ce = d.firstChild, Ne = Ce.firstChild, ue = Ne.nextSibling;
756
+ return ue.$$click = O, v(ue, x(ie, {})), d;
768
757
  }
769
- }), g), ((d) => {
758
+ }), a), D((d) => {
770
759
  n = d;
771
- })(g), ((d) => {
772
- o = d;
773
- })(w), ((d) => {
760
+ }, a), D((d) => {
774
761
  l = d;
775
- })(A), ((d) => {
762
+ }, y), D((d) => {
776
763
  s = d;
777
- })(T), ((d) => {
764
+ }, E), D((d) => {
765
+ o = d;
766
+ }, P), D((d) => {
778
767
  i = d;
779
- })(M), m(M, x(V, {
768
+ }, M), v(M, x(U, {
780
769
  get when() {
781
770
  return p.selectedElement && p.working;
782
771
  },
783
772
  get children() {
784
773
  return [(() => {
785
- const d = it.cloneNode(!0);
786
- return d.$$click = k, m(d, x(oe, {})), d;
774
+ const d = ot();
775
+ return d.$$click = O, v(d, x(ie, {})), d;
787
776
  })(), (() => {
788
- const d = rt.cloneNode(!0);
789
- return d.$$click = K, d.style.setProperty("transform", "translate(4px, -8px)"), d;
777
+ const d = it();
778
+ return d.$$click = q, d.style.setProperty("transform", "translate(4px, -8px)"), d;
790
779
  })()];
791
780
  }
792
- })), j(() => M.className = `fixed -z-1 bg-black bg-opacity-20 border-4 rounded-sm transition cursor-pointer box-border pointer-events-none ${e() ? "border-red-500 border-solid" : "border-blue-500 border-dashed"}`), u;
781
+ })), j(() => Re(M, `fixed -z-1 bg-black bg-opacity-20 border-4 rounded-sm transition cursor-pointer box-border pointer-events-none ${e() ? "border-red-500 border-solid" : "border-blue-500 border-dashed"}`)), f;
793
782
  })();
794
783
  };
795
- Se(["click"]);
796
- const ft = /* @__PURE__ */ N('<button class="main-btn" data-ohbug-selector type="button"></button>'), at = /* @__PURE__ */ N('<div class="bg-white flex flex-col h-60 shadow z-max right-8 bottom-20 w-80 fixed" data-ohbug-selector><div class="bg-gray-300 p-4" data-ohbug-selector><textarea autofocus class="bg-transparent outline-none w-full resize-none" data-ohbug-selector maxlength="1000" placeholder="Tell me how you feel..." rows="4"></textarea><button class="cursor-pointer" data-ohbug-selector type="button"></button></div><div class="flex flex-1 p-4 justify-between items-center" data-ohbug-selector><span class="text-sm" data-ohbug-selector>Try<a class="ml-1 underline" data-ohbug-selector href="https://ohbug.net" rel="noreferrer" target="_blank">Ohbug</a>?</span><button class="send-btn" data-ohbug-selector type="button"></button></div><button class="rounded-full cursor-pointer flex bg-blue-500 h-6 -top-2 -right-2 w-6 z-10 items-center justify-center absolute" data-ohbug-selector type="button"></button></div>'), dt = /* @__PURE__ */ N('<div class="z-max relative" data-ohbug-selector><div></div></div>'), ht = () => {
797
- const [e, t] = F(!1), [n, o] = F("");
798
- function l() {
799
- L({
784
+ _e(["click"]);
785
+ const ut = /* @__PURE__ */ A('<button class="btn-main" data-ohbug-selector type="button">'), ft = /* @__PURE__ */ A('<div class="bg-white flex flex-col h-60 shadow z-max right-8 bottom-20 w-80 fixed" data-ohbug-selector><div class="bg-gray-300 p-4" data-ohbug-selector><textarea autofocus class="bg-transparent outline-none w-full resize-none" data-ohbug-selector maxlength="1000" placeholder="Tell me how you feel..." rows="4"></textarea><button class="cursor-pointer" data-ohbug-selector type="button"></button></div><div class="flex flex-1 p-4 justify-between items-center" data-ohbug-selector><span class="text-sm" data-ohbug-selector>Try<a class="ml-1 underline" data-ohbug-selector href="https://ohbug.net" rel="noreferrer" target="_blank">Ohbug</a>?</span><button class="btn-send" data-ohbug-selector type="button"></button></div><button class="rounded-full cursor-pointer flex bg-blue-500 h-6 -top-2 -right-2 w-6 z-10 items-center justify-center absolute" data-ohbug-selector type="button">'), at = /* @__PURE__ */ A('<div class="z-max relative" data-ohbug-selector><div>'), dt = () => {
786
+ const [e, t] = F(!1), [n, l] = F("");
787
+ function s() {
788
+ z({
800
789
  working: !0
801
790
  });
802
791
  }
803
- const [s, i] = F(!1);
792
+ const [o, i] = F(!1);
804
793
  async function r() {
805
794
  i(!0);
806
- let c, f;
807
- const a = Ke().client;
795
+ let c, h;
796
+ const u = Ke().client;
808
797
  if (p.selectedElement) {
809
- const h = {
798
+ const g = {
810
799
  target: p.selectedElement
811
800
  };
812
- c = Xe(h), f = p.selectedElement.outerHTML;
813
- const v = a.createEvent({
801
+ c = Xe(g), h = p.selectedElement.outerHTML;
802
+ const m = u.createEvent({
814
803
  category: "feedback",
815
804
  type: "feedback",
816
805
  detail: {
817
806
  selector: c,
818
- outerHTML: f,
807
+ outerHTML: h,
819
808
  feedback: n()
820
809
  }
821
810
  });
822
- await a.notify(v);
811
+ await u.notify(m);
823
812
  } else {
824
- const h = a.createEvent({
813
+ const g = u.createEvent({
825
814
  category: "feedback",
826
815
  type: "feedback",
827
816
  detail: {
828
817
  feedback: n()
829
818
  }
830
819
  });
831
- await a.notify(h);
820
+ await u.notify(g);
832
821
  }
833
- t(!1), o(""), L({
822
+ t(!1), l(""), z({
834
823
  working: !1,
835
824
  selectedElement: null
836
825
  }), i(!1);
837
826
  }
838
- return we(() => {
827
+ return pe(() => {
839
828
  p.working === !1 && p.selectedElement === null || p.working && !p.selectedElement ? t(!1) : t(!0);
840
829
  }), (() => {
841
- const c = dt.cloneNode(!0), f = c.firstChild;
842
- return m(c, x(V, {
830
+ const c = at(), h = c.firstChild;
831
+ return v(c, x(U, {
843
832
  get when() {
844
833
  return p.working;
845
834
  },
846
835
  get children() {
847
- return x(ut, {});
836
+ return x(ct, {});
848
837
  }
849
- }), f), m(f, x(V, {
838
+ }), h), v(h, x(U, {
850
839
  get when() {
851
840
  return !(p.working && !p.selectedElement);
852
841
  },
853
842
  get children() {
854
- const a = ft.cloneNode(!0);
855
- return a.$$click = () => t((h) => !h), m(a, () => e() ? "\u{1F606}" : "\u{1F642}"), a;
843
+ const u = ut();
844
+ return u.$$click = () => t((g) => !g), v(u, () => e() ? "😆" : "🙂"), u;
856
845
  }
857
- }), null), m(f, x(V, {
846
+ }), null), v(h, x(U, {
858
847
  get when() {
859
848
  return e();
860
849
  },
861
850
  get children() {
862
- const a = at.cloneNode(!0), h = a.firstChild, v = h.firstChild, _ = v.nextSibling, C = h.nextSibling, q = C.firstChild, k = q.nextSibling, K = C.nextSibling;
863
- return v.$$input = (u) => o(u.currentTarget.value), _.$$click = l, m(_, x(lt, {})), k.$$click = r, m(k, () => s() ? "Sending..." : "Send"), K.$$click = () => t((u) => !u), m(K, x(oe, {})), j((u) => {
864
- const g = p.selectedElement ? "blue" : "gray", w = !n() || s();
865
- return g !== u._v$ && _.style.setProperty("--color", u._v$ = g), w !== u._v$2 && (k.disabled = u._v$2 = w), u;
851
+ const u = ft(), g = u.firstChild, m = g.firstChild, _ = m.nextSibling, T = g.nextSibling, I = T.firstChild, O = I.nextSibling, q = T.nextSibling;
852
+ return m.$$input = (f) => l(f.currentTarget.value), _.$$click = s, v(_, x(lt, {})), O.$$click = r, v(O, () => o() ? "Sending..." : "Send"), q.$$click = () => t((f) => !f), v(q, x(ie, {})), j((f) => {
853
+ const a = p.selectedElement ? "blue" : "gray", y = !n() || o();
854
+ return a !== f._v$ && ((f._v$ = a) != null ? _.style.setProperty("--color", a) : _.style.removeProperty("--color")), y !== f._v$2 && (O.disabled = f._v$2 = y), f;
866
855
  }, {
867
856
  _v$: void 0,
868
857
  _v$2: void 0
869
- }), j(() => v.value = n()), a;
858
+ }), j(() => m.value = n()), u;
870
859
  }
871
860
  }), null), c;
872
861
  })();
873
862
  };
874
- Se(["click", "input"]);
875
- const gt = {
863
+ _e(["click", "input"]);
864
+ const ht = {
876
865
  name: "OhbugExtensionFeedback",
877
866
  onSetup: () => {
878
867
  const e = document.createElement("div");
879
- e.id = "OhbugExtensionFeedback-ROOT", document.body.appendChild(e), Ve(() => x(ht, {}), e);
868
+ e.id = "OhbugExtensionFeedback-ROOT", document.body.appendChild(e), Ue(() => x(dt, {}), e);
880
869
  }
881
870
  };
882
- function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(`.main-btn {
883
- --tw-bg-opacity: 1;
884
- background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
885
- border-radius: 0.25rem;
886
- cursor: pointer;
887
- display: -webkit-box;
888
- display: -ms-flexbox;
889
- display: -webkit-flex;
890
- display: flex;
891
- -webkit-box-align: center;
892
- -ms-flex-align: center;
893
- -webkit-align-items: center;
894
- align-items: center;
895
- -webkit-box-pack: center;
896
- -ms-flex-pack: center;
897
- -webkit-justify-content: center;
898
- justify-content: center;
899
- height: 2rem;
900
- position: fixed;
901
- right: 2rem;
902
- bottom: 2rem;
903
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1);
904
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);
905
- -webkit-box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
906
- box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
907
- --tw-text-opacity: 1;
908
- color: rgba(255, 255, 255, var(--tw-text-opacity));
909
- -webkit-user-select: none;
910
- -moz-user-select: none;
911
- -ms-user-select: none;
912
- user-select: none;
913
- width: 2.5rem;
914
- z-index: 9999999;
915
- -webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
916
- -o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
917
- transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
918
- -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
919
- -o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
920
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
921
- -webkit-transition-duration: 150ms;
922
- -o-transition-duration: 150ms;
923
- transition-duration: 150ms;
924
- }
925
- .main-btn:hover {
926
- --tw-bg-opacity: 1;
927
- background-color: rgba(37, 99, 235, var(--tw-bg-opacity));
928
- --tw-shadow: 0 20px 25px -5px rgb(0 0 0/0.1),0 8px 10px -6px rgb(0 0 0/0.1);
929
- --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);
930
- -webkit-box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
931
- box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
932
- }
933
- .send-btn {
934
- --tw-bg-opacity: 1;
935
- background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
936
- border-radius: 0.125rem;
937
- font-size: 0.875rem;
938
- line-height: 1.25rem;
939
- padding-left: 0.75rem;
940
- padding-right: 0.75rem;
941
- padding-top: 0.25rem;
942
- padding-bottom: 0.25rem;
943
- --tw-text-opacity: 1;
944
- color: rgba(255, 255, 255, var(--tw-text-opacity));
945
- -webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
946
- -o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
947
- transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
948
- -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
949
- -o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
950
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
951
- -webkit-transition-duration: 150ms;
952
- -o-transition-duration: 150ms;
953
- transition-duration: 150ms;
954
- }
955
- .send-btn:disabled {
956
- cursor: not-allowed;
957
- opacity: 0.5;
958
- }
959
- /* windicss layer base */
960
- *, ::before, ::after {
961
- -webkit-box-sizing: border-box;
962
- box-sizing: border-box;
963
- border-width: 0;
964
- border-style: solid;
965
- border-color: #e5e7eb;
966
- }
967
- * {
968
- --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
969
- --tw-ring-offset-width: 0px;
970
- --tw-ring-offset-color: #fff;
971
- --tw-ring-color: rgba(59, 130, 246, 0.5);
972
- --tw-ring-offset-shadow: 0 0 #0000;
973
- --tw-ring-shadow: 0 0 #0000;
974
- --tw-shadow: 0 0 #0000;
975
- }
976
- :root {
977
- -moz-tab-size: 4;
978
- -o-tab-size: 4;
979
- tab-size: 4;
980
- }
981
- :-moz-focusring {
982
- outline: 1px dotted ButtonText;
983
- }
984
- :-moz-ui-invalid {
985
- box-shadow: none;
986
- }
987
- ::moz-focus-inner {
988
- border-style: none;
989
- padding: 0;
990
- }
991
- ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
992
- height: auto;
993
- }
994
- ::-webkit-search-decoration {
995
- -webkit-appearance: none;
996
- }
997
- ::-webkit-file-upload-button {
998
- -webkit-appearance: button;
999
- font: inherit;
1000
- }
1001
- [type='search'] {
1002
- -webkit-appearance: textfield;
1003
- outline-offset: -2px;
1004
- }
1005
- abbr[title] {
1006
- -webkit-text-decoration: underline dotted;
1007
- text-decoration: underline dotted;
1008
- }
1009
- a {
1010
- color: inherit;
1011
- text-decoration: inherit;
1012
- }
1013
- body {
1014
- margin: 0;
1015
- font-family: inherit;
1016
- line-height: inherit;
1017
- }
1018
- button, textarea {
1019
- font-family: inherit;
1020
- font-size: 100%;
1021
- line-height: 1.15;
1022
- margin: 0;
1023
- padding: 0;
1024
- line-height: inherit;
1025
- color: inherit;
1026
- }
1027
- button {
1028
- text-transform: none;
1029
- background-color: transparent;
1030
- background-image: none;
1031
- }
1032
- button, [type='button'], [type='reset'], [type='submit'] {
1033
- -webkit-appearance: button;
1034
- }
1035
- button, [role="button"] {
1036
- cursor: pointer;
1037
- }
1038
- html {
1039
- -webkit-text-size-adjust: 100%;
1040
- font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
1041
- line-height: 1.5;
1042
- }
1043
- svg {
1044
- display: block;
1045
- vertical-align: middle;
1046
- }
1047
- textarea {
1048
- resize: vertical;
1049
- }
1050
- textarea::placeholder {
1051
- opacity: 1;
1052
- color: #9ca3af;
1053
- }
1054
- textarea::webkit-input-placeholder {
1055
- opacity: 1;
1056
- color: #9ca3af;
1057
- }
1058
- textarea::-moz-placeholder {
1059
- opacity: 1;
1060
- color: #9ca3af;
1061
- }
1062
- textarea:-ms-input-placeholder {
1063
- opacity: 1;
1064
- color: #9ca3af;
1065
- }
1066
- textarea::-ms-input-placeholder {
1067
- opacity: 1;
1068
- color: #9ca3af;
1069
- }
1070
- /* windicss layer components */
1071
-
1072
- /* windicss layer utilities */
1073
- .bg-white {
1074
- --tw-bg-opacity: 1;
1075
- background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
1076
- }
1077
- .bg-gray-300 {
1078
- --tw-bg-opacity: 1;
1079
- background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
1080
- }
1081
- .bg-transparent {
1082
- background-color: transparent;
1083
- }
1084
- .bg-blue-500 {
1085
- --tw-bg-opacity: 1;
1086
- background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
1087
- }
1088
- .bg-black {
1089
- --tw-bg-opacity: 1;
1090
- background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
1091
- }
1092
- .bg-red-500 {
1093
- --tw-bg-opacity: 1;
1094
- background-color: rgba(239, 68, 68, var(--tw-bg-opacity));
1095
- }
1096
- .bg-none {
1097
- background-image: none;
1098
- }
1099
- .bg-opacity-40 {
1100
- --tw-bg-opacity: 0.4;
1101
- }
1102
- .bg-opacity-20 {
1103
- --tw-bg-opacity: 0.2;
1104
- }
1105
- .border-blue-500 {
1106
- --tw-border-opacity: 1;
1107
- border-color: rgba(59, 130, 246, var(--tw-border-opacity));
1108
- }
1109
- .border-red-500 {
1110
- --tw-border-opacity: 1;
1111
- border-color: rgba(239, 68, 68, var(--tw-border-opacity));
1112
- }
1113
- .rounded-full {
1114
- border-radius: 9999px;
1115
- }
1116
- .rounded-sm {
1117
- border-radius: 0.125rem;
1118
- }
1119
- .border-solid {
1120
- border-style: solid;
1121
- }
1122
- .border-dashed {
1123
- border-style: dashed;
1124
- }
1125
- .border-4 {
1126
- border-width: 4px;
1127
- }
1128
- .box-border {
1129
- -webkit-box-sizing: border-box;
1130
- box-sizing: border-box;
1131
- }
1132
- .cursor-pointer {
1133
- cursor: pointer;
1134
- }
1135
- .flex {
1136
- display: -webkit-box;
1137
- display: -ms-flexbox;
1138
- display: -webkit-flex;
1139
- display: flex;
1140
- }
1141
- .flex-col {
1142
- -webkit-box-orient: vertical;
1143
- -webkit-box-direction: normal;
1144
- -ms-flex-direction: column;
1145
- -webkit-flex-direction: column;
1146
- flex-direction: column;
1147
- }
1148
- .items-center {
1149
- -webkit-box-align: center;
1150
- -ms-flex-align: center;
1151
- -webkit-align-items: center;
1152
- align-items: center;
1153
- }
1154
- .justify-center {
1155
- -webkit-box-pack: center;
1156
- -ms-flex-pack: center;
1157
- -webkit-justify-content: center;
1158
- justify-content: center;
1159
- }
1160
- .justify-between {
1161
- -webkit-box-pack: justify;
1162
- -ms-flex-pack: justify;
1163
- -webkit-justify-content: space-between;
1164
- justify-content: space-between;
1165
- }
1166
- .flex-1 {
1167
- -webkit-box-flex: 1;
1168
- -ms-flex: 1 1 0%;
1169
- -webkit-flex: 1 1 0%;
1170
- flex: 1 1 0%;
1171
- }
1172
- .font-semibold {
1173
- font-weight: 600;
1174
- }
1175
- .h-60 {
1176
- height: 15rem;
1177
- }
1178
- .h-6 {
1179
- height: 1.5rem;
1180
- }
1181
- .text-sm {
1182
- font-size: 0.875rem;
1183
- line-height: 1.25rem;
1184
- }
1185
- .ml-1 {
1186
- margin-left: 0.25rem;
1187
- }
1188
- .outline-none {
1189
- outline: 2px solid transparent;
1190
- outline-offset: 2px;
1191
- }
1192
- .p-4 {
1193
- padding: 1rem;
1194
- }
1195
- .pointer-events-none {
1196
- pointer-events: none;
1197
- }
1198
- .pointer-events-auto {
1199
- pointer-events: auto;
1200
- }
1201
- .fixed {
1202
- position: fixed;
1203
- }
1204
- .absolute {
1205
- position: absolute;
1206
- }
1207
- .relative {
1208
- position: relative;
1209
- }
1210
- .right-8 {
1211
- right: 2rem;
1212
- }
1213
- .bottom-20 {
1214
- bottom: 5rem;
1215
- }
1216
- .-top-2 {
1217
- top: -0.5rem;
1218
- }
1219
- .-right-2 {
1220
- right: -0.5rem;
1221
- }
1222
- .top-0 {
1223
- top: 0px;
1224
- }
1225
- .right-0 {
1226
- right: 0px;
1227
- }
1228
- .bottom-0 {
1229
- bottom: 0px;
1230
- }
1231
- .left-0 {
1232
- left: 0px;
1233
- }
1234
- .-top-3 {
1235
- top: -0.75rem;
1236
- }
1237
- .-right-3 {
1238
- right: -0.75rem;
1239
- }
1240
- .-bottom-full {
1241
- bottom: -100%;
1242
- }
1243
- .resize-none {
1244
- resize: none;
1245
- }
1246
- .shadow {
1247
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1);
1248
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);
1249
- -webkit-box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
1250
- box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
1251
- }
1252
- .text-white {
1253
- --tw-text-opacity: 1;
1254
- color: rgba(255, 255, 255, var(--tw-text-opacity));
1255
- }
1256
- .underline {
1257
- -webkit-text-decoration-line: underline;
1258
- text-decoration-line: underline;
1259
- }
1260
- .w-80 {
1261
- width: 20rem;
1262
- }
1263
- .w-full {
1264
- width: 100%;
1265
- }
1266
- .w-6 {
1267
- width: 1.5rem;
1268
- }
1269
- .z-max {
1270
- z-index: 9999999;
1271
- }
1272
- .z-10 {
1273
- z-index: 10;
1274
- }
1275
- .-z-1 {
1276
- z-index: -1;
1277
- }
1278
- .transition {
1279
- -webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
1280
- -o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1281
- transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
1282
- -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1283
- -o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1284
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1285
- -webkit-transition-duration: 150ms;
1286
- -o-transition-duration: 150ms;
1287
- transition-duration: 150ms;
1288
- }
1289
- .tips {
1290
- --tw-bg-opacity: 1;
1291
- background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
1292
- border-bottom-right-radius: 0.5rem;
1293
- border-bottom-left-radius: 0.5rem;
1294
- display: -webkit-box;
1295
- display: -ms-flexbox;
1296
- display: -webkit-flex;
1297
- display: flex;
1298
- -webkit-box-align: center;
1299
- -ms-flex-align: center;
1300
- -webkit-align-items: center;
1301
- align-items: center;
1302
- font-size: 0.875rem;
1303
- line-height: 1.25rem;
1304
- padding: 0.75rem;
1305
- position: fixed;
1306
- top: 0px;
1307
- left: 50%;
1308
- --tw-text-opacity: 1;
1309
- color: rgba(255, 255, 255, var(--tw-text-opacity));
1310
- -webkit-user-select: none;
1311
- -moz-user-select: none;
1312
- -ms-user-select: none;
1313
- user-select: none;
1314
- z-index: 9999999;
1315
- --tw-translate-x: 0;
1316
- --tw-translate-y: 0;
1317
- --tw-translate-z: 0;
1318
- --tw-rotate: 0;
1319
- --tw-rotate-x: 0;
1320
- --tw-rotate-y: 0;
1321
- --tw-rotate-z: 0;
1322
- --tw-skew-x: 0;
1323
- --tw-skew-y: 0;
1324
- --tw-scale-x: 1;
1325
- --tw-scale-y: 1;
1326
- --tw-scale-z: 1;
1327
- -webkit-transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));
1328
- -ms-transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));
1329
- transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));
1330
- --tw-translate-x: -50%;
1331
- }
1332
- .stop-btn:hover {
1333
- --tw-bg-opacity: 1;
1334
- background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
1335
- --tw-bg-opacity: 0.3;
1336
- }
1337
- .stop-btn {
1338
- margin-left: 0.25rem;
1339
- pointer-events: auto;
1340
- -webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
1341
- -o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1342
- transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
1343
- -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1344
- -o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1345
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1346
- -webkit-transition-duration: 150ms;
1347
- -o-transition-duration: 150ms;
1348
- transition-duration: 150ms;
1349
- }`);
871
+ function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject("/*\n! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n*/\n\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n.btn-main {\n z-index: 99999;\n position: fixed;\n right: 2rem;\n bottom: 2rem;\n display: flex;\n height: 2rem;\n width: 2.5rem;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n align-items: center;\n justify-content: center;\n border-radius: 0.25rem;\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.btn-main:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(37 99 235 / var(--tw-bg-opacity));\n --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.btn-send {\n border-radius: 0.125rem;\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.btn-send:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tips {\n z-index: 99999;\n position: fixed;\n top: 0px;\n left: 50%;\n display: flex;\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n align-items: center;\n border-bottom-right-radius: 0.5rem;\n border-bottom-left-radius: 0.5rem;\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n padding: 0.75rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n.z-max {\n z-index: 99999;\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.pointer-events-auto {\n pointer-events: auto;\n}\n.visible {\n visibility: visible;\n}\n.fixed {\n position: fixed;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.-bottom-full {\n bottom: -100%;\n}\n.-right-2 {\n right: -0.5rem;\n}\n.-right-3 {\n right: -0.75rem;\n}\n.-top-2 {\n top: -0.5rem;\n}\n.-top-3 {\n top: -0.75rem;\n}\n.bottom-0 {\n bottom: 0px;\n}\n.bottom-20 {\n bottom: 5rem;\n}\n.left-0 {\n left: 0px;\n}\n.right-0 {\n right: 0px;\n}\n.right-8 {\n right: 2rem;\n}\n.top-0 {\n top: 0px;\n}\n.z-10 {\n z-index: 10;\n}\n.ml-1 {\n margin-left: 0.25rem;\n}\n.box-border {\n box-sizing: border-box;\n}\n.flex {\n display: flex;\n}\n.h-6 {\n height: 1.5rem;\n}\n.h-60 {\n height: 15rem;\n}\n.w-6 {\n width: 1.5rem;\n}\n.w-80 {\n width: 20rem;\n}\n.w-full {\n width: 100%;\n}\n.flex-1 {\n flex: 1 1 0%;\n}\n.transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.resize-none {\n resize: none;\n}\n.flex-col {\n flex-direction: column;\n}\n.items-center {\n align-items: center;\n}\n.justify-center {\n justify-content: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.rounded-full {\n border-radius: 9999px;\n}\n.rounded-sm {\n border-radius: 0.125rem;\n}\n.border-4 {\n border-width: 4px;\n}\n.border-solid {\n border-style: solid;\n}\n.border-dashed {\n border-style: dashed;\n}\n.border-blue-500 {\n --tw-border-opacity: 1;\n border-color: rgb(59 130 246 / var(--tw-border-opacity));\n}\n.border-red-500 {\n --tw-border-opacity: 1;\n border-color: rgb(239 68 68 / var(--tw-border-opacity));\n}\n.bg-black {\n --tw-bg-opacity: 1;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity));\n}\n.bg-blue-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n}\n.bg-gray-300 {\n --tw-bg-opacity: 1;\n background-color: rgb(209 213 219 / var(--tw-bg-opacity));\n}\n.bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity));\n}\n.bg-transparent {\n background-color: transparent;\n}\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n.bg-opacity-20 {\n --tw-bg-opacity: 0.2;\n}\n.bg-opacity-40 {\n --tw-bg-opacity: 0.4;\n}\n.bg-none {\n background-image: none;\n}\n.p-4 {\n padding: 1rem;\n}\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.font-semibold {\n font-weight: 600;\n}\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n.underline {\n text-decoration-line: underline;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}");
1350
872
  export {
1351
- gt as default
873
+ ht as default
1352
874
  };