@realsee/dnalogel 3.72.4-alpha.2 → 3.72.5-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,105 +1,105 @@
1
- import { SvelteComponent as C, init as O, safe_not_equal as B, append_styles as R, element as p, space as z, attr as c, null_to_empty as A, set_style as k, insert as j, append as g, listen as P, noop as I, detach as w, binding_callbacks as S, text as L, set_data as y } from "../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as O, init as B, safe_not_equal as R, append_styles as S, element as p, space as y, attr as f, null_to_empty as A, set_style as k, insert as w, append as g, listen as C, noop as I, detach as z, binding_callbacks as x, text as L, set_data as D } from "../vendor/svelte/internal/index.js";
2
2
  import { classnames as _ } from "../vendor/classnames/index.js";
3
- function x(l) {
4
- R(l, "svelte-1jhufeh", `.item-label-item.svelte-1jhufeh.svelte-1jhufeh{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-1jhufeh-fadeIn .3s ease-in}.item-label-item.fold.svelte-1jhufeh>.item-label-item__text-wrap.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh:after{visibility:visible}.item-label-item__text-wrap.svelte-1jhufeh.svelte-1jhufeh{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-1jhufeh.svelte-1jhufeh{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-1jhufeh.svelte-1jhufeh{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-1jhufeh.svelte-1jhufeh{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-1jhufeh.svelte-1jhufeh{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-1jhufeh.svelte-1jhufeh{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-1jhufeh.svelte-1jhufeh:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==');background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-1jhufeh-fadeIn{from{opacity:0
3
+ function V(l) {
4
+ S(l, "svelte-139cs8e", `.item-label-item.svelte-139cs8e.svelte-139cs8e{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-139cs8e-fadeIn .3s ease-in}.item-label-item.fold.svelte-139cs8e>.item-label-item__text-wrap.svelte-139cs8e{visibility:hidden}.item-label-item.fold.svelte-139cs8e>.item-label-item__bar.anchor.svelte-139cs8e{visibility:hidden}.item-label-item.fold.svelte-139cs8e>.item-label-item__bar.anchor.svelte-139cs8e:after{visibility:visible}.item-label-item__text-wrap.svelte-139cs8e.svelte-139cs8e{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-139cs8e.svelte-139cs8e{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-139cs8e.svelte-139cs8e{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-139cs8e.svelte-139cs8e{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-139cs8e.svelte-139cs8e{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-139cs8e.svelte-139cs8e{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-139cs8e.svelte-139cs8e{height:auto;word-break:break-word;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-139cs8e.svelte-139cs8e{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-139cs8e.svelte-139cs8e:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==');background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-139cs8e-fadeIn{from{opacity:0
5
5
  }to{opacity:1
6
6
  }}`);
7
7
  }
8
- function V(l) {
9
- let e, t, n, s = (
8
+ function E(l) {
9
+ let e, t, n, a = (
10
10
  /*itemLabel*/
11
11
  (l[0].code || /*itemLabel*/
12
12
  l[0].id) + ""
13
- ), u, o, f, r = (
13
+ ), b, s, m, r = (
14
14
  /*itemLabel*/
15
15
  l[0].name + ""
16
- ), v, a = (
16
+ ), h, o = (
17
17
  /*itemLabel*/
18
- l[0].icon && D(l)
18
+ l[0].icon && P(l)
19
19
  );
20
20
  return {
21
21
  c() {
22
- a && a.c(), e = z(), t = p("div"), n = p("span"), u = L(s), o = z(), f = p("span"), v = L(r), c(n, "class", "item-model svelte-1jhufeh"), c(f, "class", "item-name svelte-1jhufeh"), c(t, "class", "item-label-text svelte-1jhufeh");
22
+ o && o.c(), e = y(), t = p("div"), n = p("span"), b = L(a), s = y(), m = p("span"), h = L(r), f(n, "class", "item-model svelte-139cs8e"), f(m, "class", "item-name svelte-139cs8e"), f(t, "class", "item-label-text svelte-139cs8e");
23
23
  },
24
- m(i, d) {
25
- a && a.m(i, d), j(i, e, d), j(i, t, d), g(t, n), g(n, u), g(t, o), g(t, f), g(f, v);
24
+ m(i, v) {
25
+ o && o.m(i, v), w(i, e, v), w(i, t, v), g(t, n), g(n, b), g(t, s), g(t, m), g(m, h);
26
26
  },
27
- p(i, d) {
27
+ p(i, v) {
28
28
  /*itemLabel*/
29
- i[0].icon ? a ? a.p(i, d) : (a = D(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), d & /*itemLabel*/
30
- 1 && s !== (s = /*itemLabel*/
29
+ i[0].icon ? o ? o.p(i, v) : (o = P(i), o.c(), o.m(e.parentNode, e)) : o && (o.d(1), o = null), v & /*itemLabel*/
30
+ 1 && a !== (a = /*itemLabel*/
31
31
  (i[0].code || /*itemLabel*/
32
- i[0].id) + "") && y(u, s), d & /*itemLabel*/
32
+ i[0].id) + "") && D(b, a), v & /*itemLabel*/
33
33
  1 && r !== (r = /*itemLabel*/
34
- i[0].name + "") && y(v, r);
34
+ i[0].name + "") && D(h, r);
35
35
  },
36
36
  d(i) {
37
- a && a.d(i), i && w(e), i && w(t);
37
+ o && o.d(i), i && z(e), i && z(t);
38
38
  }
39
39
  };
40
40
  }
41
- function E(l) {
41
+ function G(l) {
42
42
  let e;
43
43
  return {
44
44
  c() {
45
45
  e = p("div");
46
46
  },
47
47
  m(t, n) {
48
- j(t, e, n), l[6](e);
48
+ w(t, e, n), l[6](e);
49
49
  },
50
50
  p: I,
51
51
  d(t) {
52
- t && w(e), l[6](null);
52
+ t && z(e), l[6](null);
53
53
  }
54
54
  };
55
55
  }
56
- function D(l) {
57
- let e, t, n, s, u;
56
+ function P(l) {
57
+ let e, t, n, a, b;
58
58
  return {
59
59
  c() {
60
- e = p("div"), t = p("div"), c(t, "class", "icon svelte-1jhufeh"), c(t, "style", n = `background-image: url(${/*itemLabel*/
61
- l[0].icon})`), c(e, "class", "icon-wrap svelte-1jhufeh");
60
+ e = p("div"), t = p("div"), f(t, "class", "icon svelte-139cs8e"), f(t, "style", n = `background-image: url(${/*itemLabel*/
61
+ l[0].icon})`), f(e, "class", "icon-wrap svelte-139cs8e");
62
62
  },
63
- m(o, f) {
64
- j(o, e, f), g(e, t), s || (u = P(
63
+ m(s, m) {
64
+ w(s, e, m), g(e, t), a || (b = C(
65
65
  e,
66
66
  "click",
67
67
  /*click_handler*/
68
68
  l[7]
69
- ), s = !0);
69
+ ), a = !0);
70
70
  },
71
- p(o, f) {
72
- f & /*itemLabel*/
71
+ p(s, m) {
72
+ m & /*itemLabel*/
73
73
  1 && n !== (n = `background-image: url(${/*itemLabel*/
74
- o[0].icon})`) && c(t, "style", n);
74
+ s[0].icon})`) && f(t, "style", n);
75
75
  },
76
- d(o) {
77
- o && w(e), s = !1, u();
76
+ d(s) {
77
+ s && z(e), a = !1, b();
78
78
  }
79
79
  };
80
80
  }
81
- function G(l) {
82
- let e, t, n, s, u, o, f, r, v, a;
83
- function i(h, m) {
84
- return m & /*itemLabel*/
81
+ function U(l) {
82
+ let e, t, n, a, b, s, m, r, h, o;
83
+ function i(c, d) {
84
+ return d & /*itemLabel*/
85
85
  1 && (n = null), n == null && (n = typeof /*itemLabel*/
86
- h[0].render == "function"), n ? E : V;
86
+ c[0].render == "function"), n ? G : E;
87
87
  }
88
- let d = i(l, -1), b = d(l);
88
+ let v = i(l, -1), u = v(l);
89
89
  return {
90
90
  c() {
91
- e = p("div"), t = p("div"), b.c(), u = z(), o = p("div"), c(t, "class", s = A(_("item-label-item__text-wrap", {
91
+ e = p("div"), t = p("div"), u.c(), b = y(), s = p("div"), f(t, "class", a = A(_("item-label-item__text-wrap", {
92
92
  "item-label-item__custom": typeof /*itemLabel*/
93
93
  l[0].render == "function"
94
- })) + " svelte-1jhufeh"), k(t, "bottom", `${/*itemLabel*/
95
- l[0].strokeLength}px`), c(o, "class", f = A(_("item-label-item__bar", { anchor: (
94
+ })) + " svelte-139cs8e"), k(t, "bottom", `${/*itemLabel*/
95
+ l[0].strokeLength}px`), f(s, "class", m = A(_("item-label-item__bar", { anchor: (
96
96
  /*anchorEnabled*/
97
97
  l[1]
98
- ) })) + " svelte-1jhufeh"), k(o, "height", `${/*itemLabel*/
99
- l[0].strokeLength}px`), c(e, "class", r = A(_("item-label-item", { fold: (
98
+ ) })) + " svelte-139cs8e"), k(s, "height", `${/*itemLabel*/
99
+ l[0].strokeLength}px`), f(e, "class", r = A(_("item-label-item", { fold: (
100
100
  /*itemLabel*/
101
101
  l[0].isFold
102
- ) })) + " svelte-1jhufeh"), k(
102
+ ) })) + " svelte-139cs8e"), k(
103
103
  e,
104
104
  "z-index",
105
105
  /*itemLabel*/
@@ -111,66 +111,66 @@ function G(l) {
111
111
  l[0].transform
112
112
  );
113
113
  },
114
- m(h, m) {
115
- j(h, e, m), g(e, t), b.m(t, null), g(e, u), g(e, o), v || (a = P(
114
+ m(c, d) {
115
+ w(c, e, d), g(e, t), u.m(t, null), g(e, b), g(e, s), h || (o = C(
116
116
  t,
117
117
  "click",
118
118
  /*onClick*/
119
119
  l[4]
120
- ), v = !0);
120
+ ), h = !0);
121
121
  },
122
- p(h, [m]) {
123
- d === (d = i(h, m)) && b ? b.p(h, m) : (b.d(1), b = d(h), b && (b.c(), b.m(t, null))), m & /*itemLabel*/
124
- 1 && s !== (s = A(_("item-label-item__text-wrap", {
122
+ p(c, [d]) {
123
+ v === (v = i(c, d)) && u ? u.p(c, d) : (u.d(1), u = v(c), u && (u.c(), u.m(t, null))), d & /*itemLabel*/
124
+ 1 && a !== (a = A(_("item-label-item__text-wrap", {
125
125
  "item-label-item__custom": typeof /*itemLabel*/
126
- h[0].render == "function"
127
- })) + " svelte-1jhufeh") && c(t, "class", s), m & /*itemLabel*/
126
+ c[0].render == "function"
127
+ })) + " svelte-139cs8e") && f(t, "class", a), d & /*itemLabel*/
128
128
  1 && k(t, "bottom", `${/*itemLabel*/
129
- h[0].strokeLength}px`), m & /*anchorEnabled*/
130
- 2 && f !== (f = A(_("item-label-item__bar", { anchor: (
129
+ c[0].strokeLength}px`), d & /*anchorEnabled*/
130
+ 2 && m !== (m = A(_("item-label-item__bar", { anchor: (
131
131
  /*anchorEnabled*/
132
- h[1]
133
- ) })) + " svelte-1jhufeh") && c(o, "class", f), m & /*itemLabel*/
134
- 1 && k(o, "height", `${/*itemLabel*/
135
- h[0].strokeLength}px`), m & /*itemLabel*/
132
+ c[1]
133
+ ) })) + " svelte-139cs8e") && f(s, "class", m), d & /*itemLabel*/
134
+ 1 && k(s, "height", `${/*itemLabel*/
135
+ c[0].strokeLength}px`), d & /*itemLabel*/
136
136
  1 && r !== (r = A(_("item-label-item", { fold: (
137
137
  /*itemLabel*/
138
- h[0].isFold
139
- ) })) + " svelte-1jhufeh") && c(e, "class", r), m & /*itemLabel*/
138
+ c[0].isFold
139
+ ) })) + " svelte-139cs8e") && f(e, "class", r), d & /*itemLabel*/
140
140
  1 && k(
141
141
  e,
142
142
  "z-index",
143
143
  /*itemLabel*/
144
- h[0].zIndex
145
- ), m & /*itemLabel*/
144
+ c[0].zIndex
145
+ ), d & /*itemLabel*/
146
146
  1 && k(
147
147
  e,
148
148
  "transform",
149
149
  /*itemLabel*/
150
- h[0].transform
150
+ c[0].transform
151
151
  );
152
152
  },
153
153
  i: I,
154
154
  o: I,
155
- d(h) {
156
- h && w(e), b.d(), v = !1, a();
155
+ d(c) {
156
+ c && z(e), u.d(), h = !1, o();
157
157
  }
158
158
  };
159
159
  }
160
- function U(l, e, t) {
161
- let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled: u } = e, { onIconClick: o } = e;
162
- function f() {
163
- s.emit("onLabelClick", n);
160
+ function W(l, e, t) {
161
+ let { itemLabel: n } = e, { hooks: a } = e, { anchorEnabled: b } = e, { onIconClick: s } = e;
162
+ function m() {
163
+ a.emit("onLabelClick", n);
164
164
  }
165
165
  let r;
166
- function v(i) {
167
- S[i ? "unshift" : "push"](() => {
166
+ function h(i) {
167
+ x[i ? "unshift" : "push"](() => {
168
168
  r = i, t(3, r);
169
169
  });
170
170
  }
171
- const a = (i) => o(n);
171
+ const o = (i) => s(n);
172
172
  return l.$$set = (i) => {
173
- "itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1, u = i.anchorEnabled), "onIconClick" in i && t(2, o = i.onIconClick);
173
+ "itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, a = i.hooks), "anchorEnabled" in i && t(1, b = i.anchorEnabled), "onIconClick" in i && t(2, s = i.onIconClick);
174
174
  }, l.$$.update = () => {
175
175
  if (l.$$.dirty & /*itemLabel, customElement*/
176
176
  9 && typeof n.render == "function" && r && r.children.length === 0) {
@@ -179,33 +179,33 @@ function U(l, e, t) {
179
179
  }
180
180
  }, [
181
181
  n,
182
- u,
183
- o,
184
- r,
185
- f,
182
+ b,
186
183
  s,
187
- v,
188
- a
184
+ r,
185
+ m,
186
+ a,
187
+ h,
188
+ o
189
189
  ];
190
190
  }
191
- class K extends C {
191
+ class Z extends O {
192
192
  constructor(e) {
193
- super(), O(
193
+ super(), B(
194
194
  this,
195
195
  e,
196
+ W,
196
197
  U,
197
- G,
198
- B,
198
+ R,
199
199
  {
200
200
  itemLabel: 0,
201
201
  hooks: 5,
202
202
  anchorEnabled: 1,
203
203
  onIconClick: 2
204
204
  },
205
- x
205
+ V
206
206
  );
207
207
  }
208
208
  }
209
209
  export {
210
- K as default
210
+ Z as default
211
211
  };
@@ -1,117 +1,117 @@
1
- import { SvelteComponent as E, init as N, safe_not_equal as O, append_styles as P, empty as W, insert as q, transition_in as h, transition_out as k, check_outros as j, detach as x, onMount as A, onDestroy as B, element as C, text as F, attr as y, append as T, set_data as G, add_render_callback as H, create_bidirectional_transition as M, group_outros as I, binding_callbacks as J } from "../../vendor/svelte/internal/index.js";
2
- import { fade as v } from "../../vendor/svelte/transition/index.js";
1
+ import { SvelteComponent as q, init as N, safe_not_equal as O, append_styles as P, empty as W, insert as w, transition_in as p, transition_out as k, check_outros as j, detach as M, onMount as A, onDestroy as B, element as y, text as F, attr as z, append as C, set_data as G, add_render_callback as H, create_bidirectional_transition as x, group_outros as I, binding_callbacks as J } from "../../vendor/svelte/internal/index.js";
2
+ import { fade as T } from "../../vendor/svelte/transition/index.js";
3
3
  import "../../vendor/svelte/easing/index.js";
4
- function K(s) {
5
- P(s, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
4
+ function K(l) {
5
+ P(l, "svelte-1fzxlsz", ".Measure-Tips.svelte-1fzxlsz.svelte-1fzxlsz{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1fzxlsz .text.svelte-1fzxlsz{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-word;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
6
6
  }
7
- function w(s) {
8
- let i, o, e, n, r;
7
+ function v(l) {
8
+ let o, i, e, n, r;
9
9
  return {
10
10
  c() {
11
- i = C("div"), o = C("div"), e = F(
11
+ o = y("div"), i = y("div"), e = F(
12
12
  /*tip*/
13
- s[2]
14
- ), y(o, "class", "text svelte-1q8gtp4"), y(i, "class", "Measure-Tips svelte-1q8gtp4");
13
+ l[2]
14
+ ), z(i, "class", "text svelte-1fzxlsz"), z(o, "class", "Measure-Tips svelte-1fzxlsz");
15
15
  },
16
- m(l, f) {
17
- q(l, i, f), T(i, o), T(o, e), s[7](o), r = !0;
16
+ m(s, f) {
17
+ w(s, o, f), C(o, i), C(i, e), l[7](i), r = !0;
18
18
  },
19
- p(l, f) {
19
+ p(s, f) {
20
20
  (!r || f & /*tip*/
21
21
  4) && G(
22
22
  e,
23
23
  /*tip*/
24
- l[2]
24
+ s[2]
25
25
  );
26
26
  },
27
- i(l) {
27
+ i(s) {
28
28
  r || (H(() => {
29
- r && (n || (n = M(i, v, {}, !0)), n.run(1));
29
+ r && (n || (n = x(o, T, {}, !0)), n.run(1));
30
30
  }), r = !0);
31
31
  },
32
- o(l) {
33
- n || (n = M(i, v, {}, !1)), n.run(0), r = !1;
32
+ o(s) {
33
+ n || (n = x(o, T, {}, !1)), n.run(0), r = !1;
34
34
  },
35
- d(l) {
36
- l && x(i), s[7](null), l && n && n.end();
35
+ d(s) {
36
+ s && M(o), l[7](null), s && n && n.end();
37
37
  }
38
38
  };
39
39
  }
40
- function L(s) {
41
- let i, o, e = (
40
+ function L(l) {
41
+ let o, i, e = (
42
42
  /*visible*/
43
- s[0] && w(s)
43
+ l[0] && v(l)
44
44
  );
45
45
  return {
46
46
  c() {
47
- e && e.c(), i = W();
47
+ e && e.c(), o = W();
48
48
  },
49
49
  m(n, r) {
50
- e && e.m(n, r), q(n, i, r), o = !0;
50
+ e && e.m(n, r), w(n, o, r), i = !0;
51
51
  },
52
52
  p(n, [r]) {
53
53
  /*visible*/
54
54
  n[0] ? e ? (e.p(n, r), r & /*visible*/
55
- 1 && h(e, 1)) : (e = w(n), e.c(), h(e, 1), e.m(i.parentNode, i)) : e && (I(), k(e, 1, 1, () => {
55
+ 1 && p(e, 1)) : (e = v(n), e.c(), p(e, 1), e.m(o.parentNode, o)) : e && (I(), k(e, 1, 1, () => {
56
56
  e = null;
57
57
  }), j());
58
58
  },
59
59
  i(n) {
60
- o || (h(e), o = !0);
60
+ i || (p(e), i = !0);
61
61
  },
62
62
  o(n) {
63
- k(e), o = !1;
63
+ k(e), i = !1;
64
64
  },
65
65
  d(n) {
66
- e && e.d(n), n && x(i);
66
+ e && e.d(n), n && M(o);
67
67
  }
68
68
  };
69
69
  }
70
- function Q(s, i, o) {
71
- let { measureController: e } = i, { i18n: n = (t) => t } = i, { tips: r } = i, { tipStyle: l = {} } = i, { visible: f = !0 } = i, a = null;
70
+ function Q(l, o, i) {
71
+ let { measureController: e } = o, { i18n: n = (t) => t } = o, { tips: r } = o, { tipStyle: s = {} } = o, { visible: f = !0 } = o, a = null;
72
72
  const S = (t) => {
73
- const D = e.currentMeasureType;
73
+ const E = e.currentMeasureType;
74
74
  let d = "";
75
- return d = r[t], d === void 0 && (d = r[D][t]), d;
75
+ return d = r[t], d === void 0 && (d = r[E][t]), d;
76
76
  }, c = (t) => {
77
- o(2, p = n(S(t)));
77
+ i(2, h = n(S(t)));
78
78
  }, u = () => {
79
- o(2, p = "");
79
+ i(2, h = "");
80
80
  };
81
- let p = "";
81
+ let h = "";
82
82
  const m = (t) => {
83
83
  t === "Edit" && e.changeMeasureType ? c("start") : u();
84
- }, g = () => {
84
+ }, b = () => {
85
85
  e.getCurrentMode() === "Watch" && u();
86
86
  }, _ = () => {
87
87
  e.getCurrentMode() === "Edit" && c("start");
88
- }, b = (t) => {
88
+ }, g = (t) => {
89
89
  e.currentMeasureType === "area" && (t.length >= 2 ? c("close") : t.length === 0 ? c("start") : u());
90
90
  };
91
91
  A(() => {
92
- m(e.getCurrentMode()), e.hook.on("modeChange", m), e.hook.on("complete", g), e.hook.on("pointsChange", b), e.hook.on("measureTypeChange", _);
92
+ m(e.getCurrentMode()), e.hook.on("modeChange", m), e.hook.on("complete", b), e.hook.on("pointsChange", g), e.hook.on("measureTypeChange", _);
93
93
  }), B(() => {
94
- e.hook.off("modeChange", m), e.hook.off("complete", g), e.hook.off("pointsChange", b), e.hook.off("measureTypeChange", _), u();
94
+ e.hook.off("modeChange", m), e.hook.off("complete", b), e.hook.off("pointsChange", g), e.hook.off("measureTypeChange", _), u();
95
95
  });
96
- function z(t) {
96
+ function D(t) {
97
97
  J[t ? "unshift" : "push"](() => {
98
- a = t, o(1, a), o(6, l);
98
+ a = t, i(1, a), i(6, s);
99
99
  });
100
100
  }
101
- return s.$$set = (t) => {
102
- "measureController" in t && o(3, e = t.measureController), "i18n" in t && o(4, n = t.i18n), "tips" in t && o(5, r = t.tips), "tipStyle" in t && o(6, l = t.tipStyle), "visible" in t && o(0, f = t.visible);
103
- }, s.$$.update = () => {
104
- if (s.$$.dirty & /*textDom, tipStyle*/
101
+ return l.$$set = (t) => {
102
+ "measureController" in t && i(3, e = t.measureController), "i18n" in t && i(4, n = t.i18n), "tips" in t && i(5, r = t.tips), "tipStyle" in t && i(6, s = t.tipStyle), "visible" in t && i(0, f = t.visible);
103
+ }, l.$$.update = () => {
104
+ if (l.$$.dirty & /*textDom, tipStyle*/
105
105
  66 && a)
106
- for (const t in l)
107
- l.hasOwnProperty(t) && o(1, a.style[t] = l[t], a);
108
- }, [f, a, p, e, n, r, l, z];
106
+ for (const t in s)
107
+ s.hasOwnProperty(t) && i(1, a.style[t] = s[t], a);
108
+ }, [f, a, h, e, n, r, s, D];
109
109
  }
110
- class X extends E {
111
- constructor(i) {
110
+ class X extends q {
111
+ constructor(o) {
112
112
  super(), N(
113
113
  this,
114
- i,
114
+ o,
115
115
  Q,
116
116
  L,
117
117
  O,