@topvisor/ui 1.5.9 → 1.5.10-animation.0

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.
Files changed (154) hide show
  1. package/.chunks/api-nVBtzTDk.es.amd.js +2 -0
  2. package/.chunks/api-nVBtzTDk.es.amd.js.map +1 -0
  3. package/.chunks/{api-lAoAK33f.es.js → api-nVBtzTDk.es.js} +101 -51
  4. package/.chunks/api-nVBtzTDk.es.js.map +1 -0
  5. package/.chunks/app-BbV6AslA.es.amd.js +2 -0
  6. package/.chunks/app-BbV6AslA.es.amd.js.map +1 -0
  7. package/.chunks/{app-CY6euLQJ.es.js → app-BbV6AslA.es.js} +26 -25
  8. package/.chunks/{app-CY6euLQJ.es.js.map → app-BbV6AslA.es.js.map} +1 -1
  9. package/.chunks/{datepicker-CeUbso62.es.amd.js → datepicker-CpnGeB5y.es.amd.js} +2 -2
  10. package/.chunks/{datepicker-CeUbso62.es.amd.js.map → datepicker-CpnGeB5y.es.amd.js.map} +1 -1
  11. package/.chunks/{datepicker-CeUbso62.es.js → datepicker-CpnGeB5y.es.js} +2 -2
  12. package/.chunks/{datepicker-CeUbso62.es.js.map → datepicker-CpnGeB5y.es.js.map} +1 -1
  13. package/.chunks/{dialog-Cnx_s8X1.es.amd.js → dialog-CiK4MPcB.es.amd.js} +2 -2
  14. package/.chunks/{dialog-Cnx_s8X1.es.amd.js.map → dialog-CiK4MPcB.es.amd.js.map} +1 -1
  15. package/.chunks/{dialog-Cnx_s8X1.es.js → dialog-CiK4MPcB.es.js} +3 -3
  16. package/.chunks/{dialog-Cnx_s8X1.es.js.map → dialog-CiK4MPcB.es.js.map} +1 -1
  17. package/.chunks/{dialog_regionSelectorRegions-BCEJBT1H.es.amd.js → dialog_regionSelectorRegions-CRUwGUuz.es.amd.js} +2 -2
  18. package/.chunks/{dialog_regionSelectorRegions-BCEJBT1H.es.amd.js.map → dialog_regionSelectorRegions-CRUwGUuz.es.amd.js.map} +1 -1
  19. package/.chunks/{dialog_regionSelectorRegions-BCEJBT1H.es.js → dialog_regionSelectorRegions-CRUwGUuz.es.js} +4 -4
  20. package/.chunks/{dialog_regionSelectorRegions-BCEJBT1H.es.js.map → dialog_regionSelectorRegions-CRUwGUuz.es.js.map} +1 -1
  21. package/.chunks/forms-CjJD60m3.es.amd.js +2 -0
  22. package/.chunks/forms-CjJD60m3.es.amd.js.map +1 -0
  23. package/.chunks/{forms-Ch1q0UUt.es.js → forms-CjJD60m3.es.js} +601 -638
  24. package/.chunks/forms-CjJD60m3.es.js.map +1 -0
  25. package/.chunks/formsExt-B9hGGznb.es.amd.js +2 -0
  26. package/.chunks/formsExt-B9hGGznb.es.amd.js.map +1 -0
  27. package/.chunks/{formsExt-DtFeVRvE.es.js → formsExt-B9hGGznb.es.js} +110 -111
  28. package/.chunks/{formsExt-DtFeVRvE.es.js.map → formsExt-B9hGGznb.es.js.map} +1 -1
  29. package/.chunks/lazy-DQU-hLos.es.js.map +1 -1
  30. package/.chunks/mocker-h3ROH-VB.es.js.map +1 -1
  31. package/.chunks/{notice-40E7zRe5.es.amd.js → notice-BSVUBQ4B.es.amd.js} +2 -2
  32. package/.chunks/{notice-40E7zRe5.es.amd.js.map → notice-BSVUBQ4B.es.amd.js.map} +1 -1
  33. package/.chunks/{notice-40E7zRe5.es.js → notice-BSVUBQ4B.es.js} +2 -2
  34. package/.chunks/{notice-40E7zRe5.es.js.map → notice-BSVUBQ4B.es.js.map} +1 -1
  35. package/.chunks/popup-BoCCkzOM.es.amd.js +2 -0
  36. package/.chunks/popup-BoCCkzOM.es.amd.js.map +1 -0
  37. package/.chunks/{popup-l46cef9d.es.js → popup-BoCCkzOM.es.js} +26 -25
  38. package/.chunks/{popup-l46cef9d.es.js.map → popup-BoCCkzOM.es.js.map} +1 -1
  39. package/.chunks/{popup-DA17NrM5.es.amd.js → popup-q1PRZblX.es.amd.js} +2 -2
  40. package/.chunks/{popup-DA17NrM5.es.amd.js.map → popup-q1PRZblX.es.amd.js.map} +1 -1
  41. package/.chunks/{popup-DA17NrM5.es.js → popup-q1PRZblX.es.js} +3 -3
  42. package/.chunks/{popup-DA17NrM5.es.js.map → popup-q1PRZblX.es.js.map} +1 -1
  43. package/.chunks/utils-DzPB2u_5.es.amd.js +2 -0
  44. package/.chunks/utils-DzPB2u_5.es.amd.js.map +1 -0
  45. package/.chunks/{utils-C0Y5ido8.es.js → utils-DzPB2u_5.es.js} +5 -5
  46. package/.chunks/utils-DzPB2u_5.es.js.map +1 -0
  47. package/.chunks/utils-Xb6J5WcU.es.amd.js +2 -0
  48. package/.chunks/utils-Xb6J5WcU.es.amd.js.map +1 -0
  49. package/.chunks/{utils-hK-QjvqM.es.js → utils-Xb6J5WcU.es.js} +3 -3
  50. package/.chunks/{utils-hK-QjvqM.es.js.map → utils-Xb6J5WcU.es.js.map} +1 -1
  51. package/.chunks/worker-F-Y1IEi2.es.amd.js +2 -0
  52. package/.chunks/worker-F-Y1IEi2.es.amd.js.map +1 -0
  53. package/.chunks/{worker-D-5BEVm7.es.js → worker-F-Y1IEi2.es.js} +4 -3
  54. package/.chunks/{worker-D-5BEVm7.es.js.map → worker-F-Y1IEi2.es.js.map} +1 -1
  55. package/api/additional.amd.js +1 -1
  56. package/api/additional.amd.js.map +1 -1
  57. package/api/additional.js +1 -1
  58. package/api/index.amd.js +1 -1
  59. package/api/index.amd.js.map +1 -1
  60. package/api/index.js +2 -3
  61. package/assets/themes/dark-th.css +1 -1
  62. package/assets/themes/dark.css +1 -1
  63. package/assets/themes/light.css +1 -1
  64. package/autoload-css-manifest.amd.json +4 -4
  65. package/autoload-css-manifest.json +4 -4
  66. package/charts/charts.amd.js +1 -1
  67. package/charts/charts.amd.js.map +1 -1
  68. package/charts/charts.js +1 -1
  69. package/charts/charts.js.map +1 -1
  70. package/core/app.amd.js +1 -1
  71. package/core/app.amd.js.map +1 -1
  72. package/core/app.js +3 -3
  73. package/dialog/dialog.amd.js +1 -1
  74. package/dialog/dialog.amd.js.map +1 -1
  75. package/dialog/dialog.js +2 -2
  76. package/extra/extra.amd.js +1 -1
  77. package/extra/extra.amd.js.map +1 -1
  78. package/extra/extra.js +2 -0
  79. package/extra/extra.js.map +1 -1
  80. package/forms/forms.amd.js +1 -1
  81. package/forms/forms.amd.js.map +1 -1
  82. package/forms/forms.js +1 -1
  83. package/formsExt/formsExt.amd.js +1 -1
  84. package/formsExt/formsExt.amd.js.map +1 -1
  85. package/formsExt/formsExt.js +1 -1
  86. package/layout/layout.amd.js +1 -1
  87. package/layout/layout.amd.js.map +1 -1
  88. package/layout/layout.js +1 -1
  89. package/package.json +1 -1
  90. package/popup/popup.amd.js +1 -1
  91. package/popup/popup.amd.js.map +1 -1
  92. package/popup/popup.js +1 -1
  93. package/popup/worker.amd.js +1 -1
  94. package/popup/worker.amd.js.map +1 -1
  95. package/popup/worker.js +1 -1
  96. package/project/project.amd.js +1 -1
  97. package/project/project.amd.js.map +1 -1
  98. package/project/project.js +245 -246
  99. package/project/project.js.map +1 -1
  100. package/schedule/schedule.amd.js +1 -1
  101. package/schedule/schedule.amd.js.map +1 -1
  102. package/schedule/schedule.js +2 -2
  103. package/schedule/schedule.js.map +1 -1
  104. package/tabsView/tabsView.amd.js +1 -1
  105. package/tabsView/tabsView.amd.js.map +1 -1
  106. package/tabsView/tabsView.js +2 -2
  107. package/tabsView/tabsView.js.map +1 -1
  108. package/utils/clipboard.amd.js +1 -1
  109. package/utils/clipboard.amd.js.map +1 -1
  110. package/utils/clipboard.js +1 -1
  111. package/utils/date.amd.js +1 -1
  112. package/utils/date.amd.js.map +1 -1
  113. package/utils/date.js +1 -1
  114. package/utils/device.amd.js +1 -1
  115. package/utils/device.amd.js.map +1 -1
  116. package/utils/device.js +1 -1
  117. package/utils/dom.amd.js.map +1 -1
  118. package/utils/dom.js.map +1 -1
  119. package/utils/lodash.amd.js +1 -1
  120. package/utils/lodash.amd.js.map +1 -1
  121. package/utils/lodash.js +1 -1
  122. package/utils/price.amd.js +1 -1
  123. package/utils/price.amd.js.map +1 -1
  124. package/utils/price.js +1 -1
  125. package/utils/scroll.js.map +1 -1
  126. package/utils/string.amd.js +1 -1
  127. package/utils/string.amd.js.map +1 -1
  128. package/utils/string.js +1 -1
  129. package/utils/string.js.map +1 -1
  130. package/utils/system.amd.js.map +1 -1
  131. package/utils/system.js.map +1 -1
  132. package/.chunks/api-lAoAK33f.es.amd.js +0 -2
  133. package/.chunks/api-lAoAK33f.es.amd.js.map +0 -1
  134. package/.chunks/api-lAoAK33f.es.js.map +0 -1
  135. package/.chunks/app-CY6euLQJ.es.amd.js +0 -2
  136. package/.chunks/app-CY6euLQJ.es.amd.js.map +0 -1
  137. package/.chunks/field-DEusYVqS.es.amd.js +0 -2
  138. package/.chunks/field-DEusYVqS.es.amd.js.map +0 -1
  139. package/.chunks/field-DEusYVqS.es.js +0 -16
  140. package/.chunks/field-DEusYVqS.es.js.map +0 -1
  141. package/.chunks/forms-Ch1q0UUt.es.amd.js +0 -2
  142. package/.chunks/forms-Ch1q0UUt.es.amd.js.map +0 -1
  143. package/.chunks/forms-Ch1q0UUt.es.js.map +0 -1
  144. package/.chunks/formsExt-DtFeVRvE.es.amd.js +0 -2
  145. package/.chunks/formsExt-DtFeVRvE.es.amd.js.map +0 -1
  146. package/.chunks/popup-l46cef9d.es.amd.js +0 -2
  147. package/.chunks/popup-l46cef9d.es.amd.js.map +0 -1
  148. package/.chunks/utils-C0Y5ido8.es.amd.js +0 -2
  149. package/.chunks/utils-C0Y5ido8.es.amd.js.map +0 -1
  150. package/.chunks/utils-C0Y5ido8.es.js.map +0 -1
  151. package/.chunks/utils-hK-QjvqM.es.amd.js +0 -2
  152. package/.chunks/utils-hK-QjvqM.es.amd.js.map +0 -1
  153. package/.chunks/worker-D-5BEVm7.es.amd.js +0 -2
  154. package/.chunks/worker-D-5BEVm7.es.amd.js.map +0 -1
@@ -5,19 +5,18 @@
5
5
  _autoloadCSSCore.insertCSSLinkToPage(fileNames, true);
6
6
  /* end import css */
7
7
 
8
- import "../.chunks/api-lAoAK33f.es.js";
9
- import { E as e, O as t, P as n, h as r, n as i } from "../.chunks/forms-Ch1q0UUt.es.js";
10
- import { n as a, t as o } from "../.chunks/field-DEusYVqS.es.js";
8
+ import { a as e, i as t } from "../.chunks/api-nVBtzTDk.es.js";
9
+ import { E as n, O as r, P as i, h as a, n as o } from "../.chunks/forms-CjJD60m3.es.js";
11
10
  import { storage as s } from "../utils/dom.js";
12
- import { t as c } from "../.chunks/worker-D-5BEVm7.es.js";
13
- import "../.chunks/app-CY6euLQJ.es.js";
14
- import { t as l } from "../.chunks/utils-hK-QjvqM.es.js";
11
+ import { t as c } from "../.chunks/worker-F-Y1IEi2.es.js";
12
+ import "../.chunks/app-BbV6AslA.es.js";
13
+ import { t as l } from "../.chunks/utils-Xb6J5WcU.es.js";
15
14
  import { validUrl as u } from "../utils/check.js";
16
15
  import { ellipsis as d } from "../utils/string.js";
17
16
  import { getDeviceGIcon as f, getLangLabel as p, getSearcherGIcon as m } from "../utils/searchers.js";
18
17
  import { invertKeyboardLayout as h } from "../utils/keyboard.js";
19
- import { c as g, n as _, o as v, r as ee, s as y } from "../.chunks/popup-DA17NrM5.es.js";
20
- import { c as b, d as x, f as te, p as ne } from "../.chunks/formsExt-DtFeVRvE.es.js";
18
+ import { c as g, n as _, o as v, r as ee, s as y } from "../.chunks/popup-q1PRZblX.es.js";
19
+ import { c as b, d as x, f as te, p as ne } from "../.chunks/formsExt-B9hGGznb.es.js";
21
20
  import { Fragment as S, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as re, createTextVNode as O, createVNode as k, defineComponent as A, isRef as ie, mergeModels as j, mergeProps as ae, nextTick as oe, normalizeClass as M, onMounted as se, openBlock as N, reactive as ce, ref as P, renderList as F, renderSlot as le, resolveComponent as ue, resolveDirective as de, resolveDynamicComponent as fe, shallowRef as pe, toDisplayString as I, toValue as me, unref as L, useId as he, useModel as R, watch as z, withCtx as B, withDirectives as ge, withKeys as _e, withModifiers as V } from "vue";
22
21
  //#region src/components/project/competitorSelector/competitorSelector.vue?vue&type=script&setup=true&lang.ts
23
22
  var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, be = /* @__PURE__ */ A({
@@ -35,30 +34,30 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
35
34
  modelModifiers: {}
36
35
  }),
37
36
  emits: ["update:modelValue"],
38
- setup(n) {
39
- let i = n, a = R(n, "modelValue"), o = C(() => {
40
- if (i.showSelectAllItem) return {
41
- icon: i.selectAllItemIcon,
42
- title: e().Common.Select_all,
37
+ setup(e) {
38
+ let t = e, i = R(e, "modelValue"), o = C(() => {
39
+ if (t.showSelectAllItem) return {
40
+ icon: t.selectAllItemIcon,
41
+ title: n().Common.Select_all,
43
42
  value: "all",
44
43
  content: ""
45
44
  };
46
45
  });
47
- return (e, i) => (N(), E("div", ve, [L(t).state.isMobile ? (N(), w(y, { key: 0 }, {
48
- opener: B(() => [k(r, {
46
+ return (t, n) => (N(), E("div", ve, [L(r).state.isMobile ? (N(), w(y, { key: 0 }, {
47
+ opener: B(() => [k(a, {
49
48
  class: "top-competitorSelector_opener",
50
49
  color: "theme",
51
50
  icon: "",
52
51
  icon2: ""
53
52
  }, {
54
- default: B(() => [O(I(n.items.find((e) => e.value === a.value?.[0])?.content), 1)]),
53
+ default: B(() => [O(I(e.items.find((e) => e.value === i.value?.[0])?.content), 1)]),
55
54
  _: 1
56
55
  })]),
57
- contentList: B(() => [(N(!0), E(S, null, F(n.items, (e) => (N(), w(v, {
58
- class: M({ "top-active": a.value?.includes(e.value) }),
56
+ contentList: B(() => [(N(!0), E(S, null, F(e.items, (e) => (N(), w(v, {
57
+ class: M({ "top-active": i.value?.includes(e.value) }),
59
58
  "data-top-icon": e.icon,
60
59
  title: e.title,
61
- onClick: () => a.value = [e.value]
60
+ onClick: () => i.value = [e.value]
62
61
  }, {
63
62
  default: B(() => [D("span", ye, I(e.content), 1)]),
64
63
  _: 2
@@ -71,9 +70,9 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
71
70
  _: 1
72
71
  })) : (N(), w(ne, {
73
72
  key: 1,
74
- modelValue: a.value,
75
- "onUpdate:modelValue": i[0] ||= (e) => a.value = e,
76
- items: n.items,
73
+ modelValue: i.value,
74
+ "onUpdate:modelValue": n[0] ||= (e) => i.value = e,
75
+ items: e.items,
77
76
  isMultiple: !0,
78
77
  styling: "bar",
79
78
  canBeEmptyMultiple: !1,
@@ -126,7 +125,7 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
126
125
  index: -1,
127
126
  lang: "ru",
128
127
  name: "Without region"
129
- }, De = () => (H.name = e().Common.Autoselect, H), Oe = () => (De(), Te.name = e().Common.Autoselect, console.log(Te), Te), ke = () => (Ee.name = e().Keywords.Without_region, Ee), Ae = [
128
+ }, De = () => (H.name = n().Common.Autoselect, H), Oe = () => (De(), Te.name = n().Common.Autoselect, console.log(Te), Te), ke = () => (Ee.name = n().Keywords.Without_region, Ee), Ae = [
130
129
  4,
131
130
  8,
132
131
  9
@@ -137,26 +136,26 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
137
136
  if (!i && (t.key === void 0 || t.key == r.key) && (t.index === void 0 || t.index == r.index) && !(!e && (t.lang !== void 0 && t.lang != r.lang || t.device !== void 0 && t.device != r.device))) return r.searcher_key = n.key, i = r, !1;
138
137
  }), i)) return !1;
139
138
  }), i;
140
- }, Me = l(() => import("../.chunks/dialog_regionSelectorRegions-BCEJBT1H.es.js")), Ne = (e = "", t = !1, n = []) => {
139
+ }, Me = l(() => import("../.chunks/dialog_regionSelectorRegions-CRUwGUuz.es.js")), Ne = (e = "", t = !1, n = []) => {
141
140
  let r;
142
141
  return r = e === "volume" || e === "cost_forecast" ? Pe(n) : e === "project_relevant_url" ? Fe(n) : Ie(n, !0), t && r.set(-2, Oe()), r.size || r.set(-2, we), r;
143
142
  }, Pe = (e) => {
144
- e = e.filter((e) => t.state.forceSearchersKeysForKeywordsStats.includes(e.key));
145
- let n = Ie(e, !1);
146
- return t.state.forceSearchersKeysForKeywordsStats.forEach((e) => {
147
- if (n.has(e)) return;
148
- let t = {
143
+ e = e.filter((e) => r.state.forceSearchersKeysForKeywordsStats.includes(e.key));
144
+ let t = Ie(e, !1);
145
+ return r.state.forceSearchersKeysForKeywordsStats.forEach((e) => {
146
+ if (t.has(e)) return;
147
+ let n = {
149
148
  key: e,
150
149
  name: Se[e],
151
150
  regions: [],
152
151
  regionByIndex: /* @__PURE__ */ new Map()
153
152
  };
154
- n.set(t.key, t);
155
- }), t.state.showGlobalRegionForKeywordsStats && n.forEach((e) => {
153
+ t.set(n.key, n);
154
+ }), r.state.showGlobalRegionForKeywordsStats && t.forEach((e) => {
156
155
  if (!e.regionByIndex) return;
157
156
  let t = { ...ke() };
158
157
  e.regionByIndex.set(t.index, t);
159
- }), n;
158
+ }), t;
160
159
  }, Fe = (e) => (e = e.filter((e) => !Ae.includes(e.key)), Ie(e, !1)), Ie = (e, t) => {
161
160
  let n = /* @__PURE__ */ new Map();
162
161
  return e.forEach((e) => {
@@ -168,77 +167,77 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
168
167
  r.regionByIndex.set(n.index, n);
169
168
  }), r.regionByIndex.size, (!e.regions || r.regionByIndex.size) && n.set(r.key, r);
170
169
  }), n;
171
- }, Le = (t, n) => {
172
- let r = e();
170
+ }, Le = (e, t) => {
171
+ let r = n();
173
172
  return {
174
- searcherKey: P(n.value.keys().next().value ?? -2),
173
+ searcherKey: P(t.value.keys().next().value ?? -2),
175
174
  optionBySearcherKey: C(() => {
176
- let e = /* @__PURE__ */ new Map();
177
- if (n.value.forEach((n) => {
175
+ let n = /* @__PURE__ */ new Map();
176
+ if (t.value.forEach((t) => {
178
177
  let r = {
179
- value: n.key,
180
- title: n.name
178
+ value: t.key,
179
+ title: t.name
181
180
  };
182
- t.addSearcherIcon && (r.icon = m(n.key)), e.set(n.key, r);
183
- }), t.addCompare && !e.has(-2)) {
184
- let t = {
181
+ e.addSearcherIcon && (r.icon = m(t.key)), n.set(t.key, r);
182
+ }), e.addCompare && !n.has(-2)) {
183
+ let e = {
185
184
  value: "",
186
185
  title: "--------------------",
187
186
  disabled: !0
188
187
  };
189
- e.set(t.value, t);
190
- let n = {
188
+ n.set(e.value, e);
189
+ let t = {
191
190
  value: -1,
192
191
  title: r.Common.Compare
193
192
  };
194
- e.set(n.value, n);
193
+ n.set(t.value, t);
195
194
  }
196
- return e;
195
+ return n;
197
196
  })
198
197
  };
199
- }, Re = (t, n) => {
200
- let r = e(), i = C(() => t.forMode === "volume" || t.forMode === "cost_forecast"), a = P(-2);
201
- t.modelValue.length === 1 && (a.value = t.modelValue[0]), a.value === -2 && (a.value = i.value ? n.value?.regionByIndex.values().next().value?.key ?? -2 : n.value?.regionByIndex.keys().next().value ?? -2);
198
+ }, Re = (e, t) => {
199
+ let r = n(), i = C(() => e.forMode === "volume" || e.forMode === "cost_forecast"), a = P(-2);
200
+ e.modelValue.length === 1 && (a.value = e.modelValue[0]), a.value === -2 && (a.value = i.value ? t.value?.regionByIndex.values().next().value?.key ?? -2 : t.value?.regionByIndex.keys().next().value ?? -2);
202
201
  let o = C(() => {
203
202
  let e = /* @__PURE__ */ new Map();
204
- return n.value.regionByIndex?.forEach((t) => {
205
- let a = t.name;
203
+ return t.value.regionByIndex?.forEach((n) => {
204
+ let a = n.name;
206
205
  if (i.value) {
207
- let n = {
208
- value: t.key,
206
+ let t = {
207
+ value: n.key,
209
208
  title: a
210
209
  };
211
- e.has(t.key) || e.set(t.key, n);
210
+ e.has(n.key) || e.set(n.key, t);
212
211
  return;
213
212
  }
214
- t.device && (a += " (" + r.Common["Device_" + t.device] + ")");
215
- let o = p(n.value.key || 0, t.lang ?? "");
213
+ n.device && (a += " (" + r.Common["Device_" + n.device] + ")");
214
+ let o = p(t.value.key || 0, n.lang ?? "");
216
215
  o && (a += " / " + o);
217
216
  let s = {
218
- value: t.index,
217
+ value: n.index,
219
218
  title: a,
220
- icon: t.device ? f(t.device) : void 0
219
+ icon: n.device ? f(n.device) : void 0
221
220
  };
222
- e.set(t.index, s);
221
+ e.set(n.index, s);
223
222
  }), e;
224
223
  });
225
- return z(o, (e, n) => {
226
- if (t.onlySearcher || a.value !== void 0 && e.get(a.value)) return;
227
- let i = e.keys().next().value;
224
+ return z(o, (t, n) => {
225
+ if (e.onlySearcher || a.value !== void 0 && t.get(a.value)) return;
226
+ let i = t.keys().next().value;
228
227
  if (a.value === -2 || i === -2) {
229
228
  a.value = i;
230
229
  return;
231
230
  }
232
231
  let o = n?.get(a.value)?.title || "", s = -1;
233
- for (let [t, n] of e.entries()) {
234
- let e = n.title;
235
- if (typeof e != "string" || typeof t == "string") break;
236
- if (e === o) {
237
- i = t;
232
+ for (let [e, n] of t.entries()) {
233
+ let t = n.title;
234
+ if (typeof t != "string" || typeof e == "string") break;
235
+ if (t === o) {
236
+ i = e;
238
237
  break;
239
238
  }
240
239
  let a = RegExp(` \\((${r.Common.Device_1}|${r.Common.Device_2})\\)`), c = o, l = 3;
241
- e.indexOf(c) === -1 && (c = o.replace(/^[^a-zа-я]/i, "").replace(a, ""), l--), e.indexOf(c) === -1 && (c = o.replace(/ \/.*/, ""), l--), e.indexOf(c) === -1 && (c = o.replace(/ \/.*/, ""), c = c.replace(/^[^a-zа-я]/i, "").replace(a, ""), l--), e.indexOf(c) !== -1 && (l <= s || (s = l, i = t));
240
+ t.indexOf(c) === -1 && (c = o.replace(/^[^a-zа-я]/i, "").replace(a, ""), l--), t.indexOf(c) === -1 && (c = o.replace(/ \/.*/, ""), l--), t.indexOf(c) === -1 && (c = o.replace(/ \/.*/, ""), c = c.replace(/^[^a-zа-я]/i, "").replace(a, ""), l--), t.indexOf(c) !== -1 && (l <= s || (s = l, i = e));
242
241
  }
243
242
  a.value = i;
244
243
  }), {
@@ -348,7 +347,7 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
348
347
  }),
349
348
  emits: ["update:modelValue", "update:modelValueSingle"],
350
349
  setup(e, { expose: t }) {
351
- let n = e, a = C(() => n.forMode === "volume" || n.forMode === "cost_forecast"), o = R(e, "modelValue"), s = R(e, "modelValueSingle"), { selectSearcher: c, selectRegion: l, compare: u, searcherByKey: d, allRegionsIndexes: f, getSearcher: p, getRegion: m } = Be(n), h = () => {
350
+ let n = e, r = C(() => n.forMode === "volume" || n.forMode === "cost_forecast"), i = R(e, "modelValue"), s = R(e, "modelValueSingle"), { selectSearcher: c, selectRegion: l, compare: u, searcherByKey: d, allRegionsIndexes: f, getSearcher: p, getRegion: m } = Be(n), h = () => {
352
351
  let e = [];
353
352
  d.value.forEach((t) => {
354
353
  (n.forMode === "project_relevant_url" || t.enabled) && t.regions.forEach((t) => {
@@ -366,61 +365,61 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
366
365
  u.regionsIndexes
367
366
  ], () => {
368
367
  if (c.searcherKey.value === -1 && u.regionsIndexes.value.length) {
369
- if (JSON.stringify(o.value) === JSON.stringify(u.regionsIndexes.value)) return;
370
- o.value = [...u.regionsIndexes.value];
371
- } else n.onlySearcher ? (o.value = [c.searcherKey.value], c.searcherKey.value === -2 && !n.autoRegion && (o.value.length = 0)) : (o.value = [l.regionIndex.value], l.regionIndex.value === -2 && !n.autoRegion && (o.value.length = 0));
368
+ if (JSON.stringify(i.value) === JSON.stringify(u.regionsIndexes.value)) return;
369
+ i.value = [...u.regionsIndexes.value];
370
+ } else n.onlySearcher ? (i.value = [c.searcherKey.value], c.searcherKey.value === -2 && !n.autoRegion && (i.value.length = 0)) : (i.value = [l.regionIndex.value], l.regionIndex.value === -2 && !n.autoRegion && (i.value.length = 0));
372
371
  !n.onlySearcher && !f.value.size && (c.searcherKey.value = -2);
373
372
  }), s.value && z(s, () => {
374
- s.value && (o.value = [s.value]);
375
- }, { immediate: !0 }), z(o, () => {
376
- if (o.value[0] && (s.value = o.value[0]), n.onlySearcher) {
377
- if (!o.value.length || o.value.length === 1 && !d.value.has(o.value[0]) || o.value.length === 1 && o.value[0] === -2 && !n.autoRegion) {
373
+ s.value && (i.value = [s.value]);
374
+ }, { immediate: !0 }), z(i, () => {
375
+ if (i.value[0] && (s.value = i.value[0]), n.onlySearcher) {
376
+ if (!i.value.length || i.value.length === 1 && !d.value.has(i.value[0]) || i.value.length === 1 && i.value[0] === -2 && !n.autoRegion) {
378
377
  let e = d.value.keys().next().value;
379
- e === -2 && !n.autoRegion && (e = void 0, s.value = -2), e === void 0 ? o.value.length = 0 : o.value = [e];
378
+ e === -2 && !n.autoRegion && (e = void 0, s.value = -2), e === void 0 ? i.value.length = 0 : i.value = [e];
380
379
  return;
381
380
  }
382
- if (o.value.length > 1 && JSON.stringify(o.value) !== JSON.stringify(u.regionsIndexes.value)) {
383
- o.value = [...u.regionsIndexes.value];
381
+ if (i.value.length > 1 && JSON.stringify(i.value) !== JSON.stringify(u.regionsIndexes.value)) {
382
+ i.value = [...u.regionsIndexes.value];
384
383
  return;
385
384
  }
386
385
  } else {
387
- let e = [...new Set(o.value)], t = d.value.values().next().value?.regionByIndex?.keys().next().value;
388
- if (a.value && (t = d.value.values().next().value?.regionByIndex?.values().next().value?.key), t === -2 && !n.autoRegion && (t = void 0, s.value = -2), !e.length) t !== void 0 && e.push(t);
386
+ let e = [...new Set(i.value)], t = d.value.values().next().value?.regionByIndex?.keys().next().value;
387
+ if (r.value && (t = d.value.values().next().value?.regionByIndex?.values().next().value?.key), t === -2 && !n.autoRegion && (t = void 0, s.value = -2), !e.length) t !== void 0 && e.push(t);
389
388
  else if (e.length === 1) {
390
389
  let n = f.value;
391
- a.value && (n = /* @__PURE__ */ new Set(), d.value.forEach((e) => {
390
+ r.value && (n = /* @__PURE__ */ new Set(), d.value.forEach((e) => {
392
391
  e.regionByIndex.forEach((e) => {
393
392
  e.index !== -2 && n.add(e.key);
394
393
  });
395
394
  })), n.has(e[0]) || (e = [], t !== void 0 && e.push(t));
396
395
  } else e = e.filter((e) => f.value.has(e)), !e.length && t !== void 0 && e.push(t);
397
- if (JSON.stringify(o.value) !== JSON.stringify(e)) {
398
- o.value = e;
396
+ if (JSON.stringify(i.value) !== JSON.stringify(e)) {
397
+ i.value = e;
399
398
  return;
400
399
  }
401
400
  }
402
- if (o.value.length !== 1 || o.value[0] !== (n.onlySearcher ? c.searcherKey.value : l.regionIndex.value)) {
401
+ if (i.value.length !== 1 || i.value[0] !== (n.onlySearcher ? c.searcherKey.value : l.regionIndex.value)) {
403
402
  if (n.onlySearcher) {
404
- if (o.value.length === 1) {
405
- c.searcherKey.value = o.value[0];
403
+ if (i.value.length === 1) {
404
+ c.searcherKey.value = i.value[0];
406
405
  return;
407
406
  }
408
407
  c.searcherKey.value = -1;
409
408
  return;
410
409
  }
411
- if (!o.value.length) return;
412
- if (o.value.length === 1 && c.searcherKey.value !== -1) {
413
- l.regionIndex.value = o.value[0];
410
+ if (!i.value.length) return;
411
+ if (i.value.length === 1 && c.searcherKey.value !== -1) {
412
+ l.regionIndex.value = i.value[0];
414
413
  let e;
415
414
  for (let t of d.value.values()) {
416
- for (let n of t.regionByIndex.values()) if ((a.value ? n.key : n.index) === l.regionIndex.value) {
415
+ for (let n of t.regionByIndex.values()) if ((r.value ? n.key : n.index) === l.regionIndex.value) {
417
416
  e = t.key;
418
417
  break;
419
418
  }
420
419
  if (e !== void 0) break;
421
420
  }
422
421
  e !== void 0 && (c.searcherKey.value = e);
423
- } else c.searcherKey.value = -1, u.regionsIndexes.value = [...o.value];
422
+ } else c.searcherKey.value = -1, u.regionsIndexes.value = [...i.value];
424
423
  }
425
424
  }, { immediate: !0 }), t({
426
425
  getSearcher: p,
@@ -429,7 +428,7 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
429
428
  "top-regionSelector": !0,
430
429
  "top-regionSelector-onlySearcher": e.onlySearcher
431
430
  }) }, [
432
- k(i, {
431
+ k(o, {
433
432
  options: L(c).optionBySearcherKey.value,
434
433
  modelValue: L(c).searcherKey.value,
435
434
  "onUpdate:modelValue": n[0] ||= (e) => L(c).searcherKey.value = e,
@@ -440,13 +439,13 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
440
439
  "modelValue",
441
440
  "addChanger"
442
441
  ]),
443
- !e.onlySearcher && L(c).searcherKey.value !== L(-1) ? (N(), w(i, {
442
+ !e.onlySearcher && L(c).searcherKey.value !== L(-1) ? (N(), w(o, {
444
443
  key: 0,
445
444
  class: "top-select-region",
446
445
  options: L(l).optionByRegionIndex.value,
447
446
  modelValue: L(l).regionIndex.value,
448
447
  "onUpdate:modelValue": n[1] ||= (e) => L(l).regionIndex.value = e,
449
- name: a.value ? "region_key" : "region_index",
448
+ name: r.value ? "region_key" : "region_index",
450
449
  addChanger: e.addChanger,
451
450
  "data-top-icon": e.addRegionIcon ? "" : void 0
452
451
  }, null, 8, [
@@ -456,7 +455,7 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
456
455
  "addChanger",
457
456
  "data-top-icon"
458
457
  ])) : T("", !0),
459
- e.addCompare && !e.onlySearcher && L(c).searcherKey.value === L(-1) ? (N(), w(r, {
458
+ e.addCompare && !e.onlySearcher && L(c).searcherKey.value === L(-1) ? (N(), w(a, {
460
459
  key: 1,
461
460
  name: "compare",
462
461
  onClick: h,
@@ -472,8 +471,8 @@ var ve = { class: "top-competitorSelector" }, ye = { class: "top-ellipsis1" }, b
472
471
  name: "/",
473
472
  path: "/"
474
473
  };
475
- function He(t) {
476
- return t ? e()?.Common.All_folders : "/ (" + e()?.Keywords.Root_folder + ")";
474
+ function He(e) {
475
+ return e ? n()?.Common.All_folders : "/ (" + n()?.Keywords.Root_folder + ")";
477
476
  }
478
477
  var Ue = (e, t, n = /* @__PURE__ */ new Map(), r = { id: "root" }, i = 0) => (r.childsIds = [], r.id && (r.countAllGroupsActive = r.count_groups_active), e[r.id] && e[r.id].forEach((a) => {
479
478
  a = { ...a }, r.childsIds.push(a.id), a.id === 0 && (a.name = He(t));
@@ -583,7 +582,7 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
583
582
  name: "All groups",
584
583
  folder_id: U.id,
585
584
  folder_path: U.path
586
- }, K = () => (G.name = e()?.Common.All_groups, G), Je = () => (G.name = e()?.Keywords.Choose_group, G), Ye = (e, t, n) => (e = [...e], t !== void 0 && (e = e.filter((e) => e.on == Number(t))), n && n.id && n.childsIds && (e = e.filter((e) => e.folder_id === n.id || n.childsIds.includes(e.folder_id))), e), Xe = (e, t) => e.gen(`/get/${t}/groups/`, [
585
+ }, K = () => (G.name = n()?.Common.All_groups, G), Je = () => (G.name = n()?.Keywords.Choose_group, G), Ye = (e, t, n) => (e = [...e], t !== void 0 && (e = e.filter((e) => e.on == Number(t))), n && n.id && n.childsIds && (e = e.filter((e) => e.folder_id === n.id || n.childsIds.includes(e.folder_id))), e), Xe = (e, t) => e.gen(`/get/${t}/groups/`, [
587
586
  "id",
588
587
  "name",
589
588
  "folder_id",
@@ -632,54 +631,54 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
632
631
  "editGroup",
633
632
  "delGroup"
634
633
  ], ["update:groupId", "update:group"]),
635
- setup(e, { expose: t, emit: n }) {
636
- let r = e, i = n, a = R(e, "groupId"), s = R(e, "group"), c = r.client && !r.groups ? Xe(r.client, r.service) : void 0, l = r.client ? Ze(r.client, r.service) : void 0, u = r.client ? Qe(r.client, r.service) : void 0, d = r.client ? $e(r.client, r.service) : void 0, f = P(null), p = C(() => {
637
- if (r.groups !== void 0) return Ye(r.groups, r.on, r.folder);
638
- }), m = o("folder_id", "EQUALS", [r.folder?.id ?? 0]);
634
+ setup(e, { expose: n, emit: r }) {
635
+ let i = e, a = r, o = R(e, "groupId"), s = R(e, "group"), c = i.client && !i.groups ? Xe(i.client, i.service) : void 0, l = i.client ? Ze(i.client, i.service) : void 0, u = i.client ? Qe(i.client, i.service) : void 0, d = i.client ? $e(i.client, i.service) : void 0, f = P(null), p = C(() => {
636
+ if (i.groups !== void 0) return Ye(i.groups, i.on, i.folder);
637
+ }), m = t("folder_id", "EQUALS", [i.folder?.id ?? 0]);
639
638
  c?.changeParams({
640
- project_id: r.projectId,
639
+ project_id: i.projectId,
641
640
  folder_id_depth: !0,
642
641
  filters: [m]
643
- }), r.on !== void 0 && c?.params.filters?.push(o("on", "EQUALS", [Number(r.on)]));
642
+ }), i.on !== void 0 && c?.params.filters?.push(t("on", "EQUALS", [Number(i.on)]));
644
643
  let h = (e) => {
645
- s.value = e, a.value = e.id;
644
+ s.value = e, o.value = e.id;
646
645
  }, g = (e = !1) => {
647
646
  f.value?.resetCache(e);
648
647
  };
649
648
  Ge({
650
- projectId: () => r.projectId,
651
- folderId: () => r.folder?.id,
652
- canSelectAll: () => r.canSelectAll
649
+ projectId: () => i.projectId,
650
+ folderId: () => i.folder?.id,
651
+ canSelectAll: () => i.canSelectAll
653
652
  }, (e) => {
654
- if (e.projectId && (c?.changeParams({ project_id: r.projectId }), c?.setOptions({ checkFingerprint: "TopGroupSelectorGroups:" + r.projectId })), e.folderId && (m.values = [r.folder?.id ?? 0]), g(), (e.folderId?.old !== void 0 || e.canSelectAll?.old !== void 0) && a.value !== null) {
653
+ if (e.projectId && (c?.changeParams({ project_id: i.projectId }), c?.setOptions({ checkFingerprint: "TopGroupSelectorGroups:" + i.projectId })), e.folderId && (m.values = [i.folder?.id ?? 0]), g(), (e.folderId?.old !== void 0 || e.canSelectAll?.old !== void 0) && o.value !== null) {
655
654
  let e;
656
- r.autoselect === "first" && (e = p.value?.[0], r.canSelectAll && (e = ce(K()))), (r.autoselect === "placeholder" || !e) && (e = Je()), h(e);
655
+ i.autoselect === "first" && (e = p.value?.[0], i.canSelectAll && (e = ce(K()))), (i.autoselect === "placeholder" || !e) && (e = Je()), h(e);
657
656
  }
658
657
  }, { immediate: !0 }), Ge({
659
658
  modelGroup: s,
660
- modelGroupId: a
659
+ modelGroupId: o
661
660
  }, async (e) => {
662
- if (a.value !== s.value.id) {
661
+ if (o.value !== s.value.id) {
663
662
  if (e.modelGroup && !e.modelGroupId) {
664
- a.value = s.value.id;
663
+ o.value = s.value.id;
665
664
  return;
666
665
  }
667
- if (!(r.canAdd && a.value === null)) {
668
- if (r.groups) {
669
- let e = p.value?.find((e) => e.id === a.value);
670
- if (!e && r.canSelectAll && (e = K()), e) h(e);
666
+ if (!(i.canAdd && o.value === null)) {
667
+ if (i.groups) {
668
+ let e = p.value?.find((e) => e.id === o.value);
669
+ if (!e && i.canSelectAll && (e = K()), e) h(e);
671
670
  else {
672
671
  let e = p.value?.[0];
673
- e && !a.value ? h(e) : h(W);
672
+ e && !o.value ? h(e) : h(W);
674
673
  }
675
674
  }
676
- if (r.client && !r.groups && (a.value || a.value === 0 && !r.canSelectAll)) {
677
- let e = Xe(r.client, r.service).changeParams({
678
- project_id: r.projectId,
679
- id: a.value,
675
+ if (i.client && !i.groups && (o.value || o.value === 0 && !i.canSelectAll)) {
676
+ let e = Xe(i.client, i.service).changeParams({
677
+ project_id: i.projectId,
678
+ id: o.value,
680
679
  filters: [m]
681
680
  });
682
- e?.setOptions({ checkFingerprint: "TopGroupSelectorFindGroup:" + r.projectId });
681
+ e?.setOptions({ checkFingerprint: "TopGroupSelectorFindGroup:" + i.projectId });
683
682
  let t = await e.call();
684
683
  if (!t.errors?.length && !t.result) return;
685
684
  !t.errors && t.result[0] ? h(t.result[0]) : h(W);
@@ -688,34 +687,34 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
688
687
  }
689
688
  }, { immediate: !0 });
690
689
  let v = async (e) => {
691
- if (r.canAdd !== "api" || !l) return;
690
+ if (i.canAdd !== "api" || !l) return;
692
691
  let t = s.value, n = await l.changeParams({
693
- project_id: r.projectId,
692
+ project_id: i.projectId,
694
693
  names: [e.name],
695
- to_id: r.folder?.id ?? U.id,
694
+ to_id: i.folder?.id ?? U.id,
696
695
  to_type: "in_folder_last"
697
696
  }).call();
698
697
  if (n.result) {
699
698
  let e = n.result[0];
700
- h(e), i("addGroup", e);
699
+ h(e), a("addGroup", e);
701
700
  } else h(t);
702
701
  f.value?.resetCache(!0);
703
702
  }, y = async (e, t) => {
704
703
  d && ((await d.changeParams({
705
- project_id: r.projectId,
704
+ project_id: i.projectId,
706
705
  id: e.id,
707
706
  name: t
708
- }).call()).errors || (s.value.id === e.id && (s.value.name = t), i("editGroup", {
707
+ }).call()).errors || (s.value.id === e.id && (s.value.name = t), a("editGroup", {
709
708
  id: e.id,
710
709
  name: t
711
710
  }), f.value?.updateCacheItemById(e.id, { name: t })));
712
711
  }, te = async (e) => {
713
712
  u && ((await u.changeParams({
714
- project_id: r.projectId,
713
+ project_id: i.projectId,
715
714
  id: e.id
716
- }).call()).errors || (s.value.id === e.id && h(r.canSelectAll ? K() : W), i("delGroup", e.id), f.value?.deleteCacheItemById(e.id)));
715
+ }).call()).errors || (s.value.id === e.id && h(i.canSelectAll ? K() : W), a("delGroup", e.id), f.value?.deleteCacheItemById(e.id)));
717
716
  };
718
- return t({ resetCacheGroups: g }), (t, n) => (N(), w(b, {
717
+ return n({ resetCacheGroups: g }), (t, n) => (N(), w(b, {
719
718
  ref_key: "refSelector",
720
719
  ref: f,
721
720
  class: "top-groupSelector_group",
@@ -943,17 +942,17 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
943
942
  scheduledUpdate: !1,
944
943
  manualUpdate: !1,
945
944
  guestProjects: !1
946
- }, ut = (t, n) => {
945
+ }, ut = (e, t) => {
947
946
  let r = [], i = {
948
- scheduledUpdate: ct(e().Projects.Scheduled_update),
949
- manualUpdate: ct(e().Projects.Manual_update),
950
- guestProjects: ct(e().Projects.Guest_projects)
951
- }, a = n ? {
947
+ scheduledUpdate: ct(n().Projects.Scheduled_update),
948
+ manualUpdate: ct(n().Projects.Manual_update),
949
+ guestProjects: ct(n().Projects.Guest_projects)
950
+ }, a = t ? {
952
951
  scheduledUpdate: !1,
953
952
  manualUpdate: !1,
954
953
  guestProjects: !1
955
954
  } : lt;
956
- for (let e of t) !a.scheduledUpdate && e.right?.startsWith("1") && e.on > 0 && (r.push(i.scheduledUpdate), a.scheduledUpdate = !0), !a.manualUpdate && e.right?.startsWith("1") && e.on === 0 && (r.push(i.manualUpdate), a.manualUpdate = !0), !a.guestProjects && e.right?.startsWith("0") && e.on >= 0 && (r.push(i.guestProjects), a.guestProjects = !0), r.push(e);
955
+ for (let t of e) !a.scheduledUpdate && t.right?.startsWith("1") && t.on > 0 && (r.push(i.scheduledUpdate), a.scheduledUpdate = !0), !a.manualUpdate && t.right?.startsWith("1") && t.on === 0 && (r.push(i.manualUpdate), a.manualUpdate = !0), !a.guestProjects && t.right?.startsWith("0") && t.on >= 0 && (r.push(i.guestProjects), a.guestProjects = !0), r.push(t);
957
956
  return r;
958
957
  }, dt = (e) => ({
959
958
  ...e,
@@ -983,13 +982,13 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
983
982
  }, gt = () => window.page?.subdomain ? window.location.host.replace(window.page?.subdomain + ".", "") : window.location.host, _t = (e) => {
984
983
  let t = e.startsWith("http") ? e : "https://" + e;
985
984
  return t = t.replace(/"/g, "%22"), t;
986
- }, vt = (e, t) => {
987
- let n = e.params.filters ?? [];
988
- n = n.filter((e) => e.name !== "GEN_SEARCH_STRING()");
989
- let r = h(t), i = t.replace(/([[^$.|?*+()])/g, "\\$1"), a = r.replace(/([[^$.|?*+()])/g, "\\$1");
990
- t && n.push(o("GEN_SEARCH_STRING()", "REGEXP", [`(${i}|${a})`])), e.changeParams({ filters: n });
991
- }, yt = (e) => {
992
- let n = e.gen("/get/projects_2/projects/", [
985
+ }, vt = (e, n) => {
986
+ let r = e.params.filters ?? [];
987
+ r = r.filter((e) => e.name !== "GEN_SEARCH_STRING()");
988
+ let i = h(n), a = n.replace(/([[^$.|?*+()])/g, "\\$1"), o = i.replace(/([[^$.|?*+()])/g, "\\$1");
989
+ n && r.push(t("GEN_SEARCH_STRING()", "REGEXP", [`(${a}|${o})`])), e.changeParams({ filters: r });
990
+ }, yt = (n) => {
991
+ let i = n.gen("/get/projects_2/projects/", [
993
992
  "id",
994
993
  "user_id",
995
994
  "name",
@@ -997,25 +996,25 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
997
996
  "on",
998
997
  "right"
999
998
  ]);
1000
- return n.changeParams({
1001
- filters: [o("on", "GREATER_THAN_EQUALS", [0])],
999
+ return i.changeParams({
1000
+ filters: [t("on", "GREATER_THAN_EQUALS", [0])],
1002
1001
  orders: [
1003
- a("user_id", "DESC", [t.state.userId]),
1004
- a("on", "ASC", [0]),
1005
- a("favorite", "DESC"),
1006
- a("ord", "ASC"),
1007
- a("id", "DESC")
1002
+ e("user_id", "DESC", [r.state.userId]),
1003
+ e("on", "ASC", [0]),
1004
+ e("favorite", "DESC"),
1005
+ e("ord", "ASC"),
1006
+ e("id", "DESC")
1008
1007
  ]
1009
- }), n.options.loadingShowSpinner = !1, n.options.onApiLoaded = (e, t, n) => {
1008
+ }), i.options.loadingShowSpinner = !1, i.options.onApiLoaded = (e, t, n) => {
1010
1009
  let r = t.data.filters.length > 1, i = t.data.offset === 0, a = t.data.offset === void 0 || i && !r, o = r;
1011
1010
  e.result = ft(e.result, a, o), n?.(e, t);
1012
- }, n;
1011
+ }, i;
1013
1012
  }, bt = (e) => e.gen("/add/projects_2/projects/"), xt = { class: "top-ellipsis1" }, St = /* @__PURE__ */ A({
1014
1013
  __name: "submenu",
1015
1014
  props: { id: {} },
1016
- setup(n) {
1017
- let r = n, i = e(), a = gt(), o = (e) => {
1018
- let n = [
1015
+ setup(e) {
1016
+ let t = e, i = n(), a = gt(), o = (e) => {
1017
+ let t = [
1019
1018
  {
1020
1019
  href: `https://${a}/project/keywords/${e.id}/`,
1021
1020
  title: i.Common.Menu_phrases,
@@ -1088,11 +1087,11 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1088
1087
  icon: "",
1089
1088
  right: "2"
1090
1089
  }
1091
- ].filter((e) => !Object.entries(t.state.closedByMod).some(([t, n]) => n && e.href.includes(`/${t}/`)));
1092
- return e.right.includes("0") ? n.filter((t) => e.right[t.right] === "1") : n;
1090
+ ].filter((e) => !Object.entries(r.state.closedByMod).some(([t, n]) => n && e.href.includes(`/${t}/`)));
1091
+ return e.right.includes("0") ? t.filter((t) => e.right[t.right] === "1") : t;
1093
1092
  };
1094
- return (e, t) => (N(), w(L(y), {
1095
- id: r.id,
1093
+ return (e, n) => (N(), w(L(y), {
1094
+ id: t.id,
1096
1095
  class: "top-projectSelectorSubmenu",
1097
1096
  notch: !1,
1098
1097
  pos: "2"
@@ -1124,21 +1123,21 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1124
1123
  }, 8, ["id"]));
1125
1124
  }
1126
1125
  }), q = "ui_project_selector_total", Ct = 864e5, J = P(null), Y = pe(), wt = (e) => {
1127
- localStorage.setItem(q + ":" + t.state.userId, JSON.stringify({
1126
+ localStorage.setItem(q + ":" + r.state.userId, JSON.stringify({
1128
1127
  projectsTotal: e,
1129
1128
  expiresAt: Date.now() + Ct
1130
1129
  }));
1131
1130
  }, Tt = () => {
1132
- let e = localStorage.getItem(q + ":" + t.state.userId);
1131
+ let e = localStorage.getItem(q + ":" + r.state.userId);
1133
1132
  if (!e) return;
1134
- let { projectsTotal: n, expiresAt: r } = JSON.parse(e);
1135
- if (Date.now() > r) {
1136
- localStorage.removeItem(q + ":" + t.state.userId);
1133
+ let { projectsTotal: t, expiresAt: n } = JSON.parse(e);
1134
+ if (Date.now() > n) {
1135
+ localStorage.removeItem(q + ":" + r.state.userId);
1137
1136
  return;
1138
1137
  }
1139
- return n;
1138
+ return t;
1140
1139
  }, Et = () => {
1141
- J.value = null, Y.value = void 0, localStorage.removeItem(q + ":" + t.state.userId), te("/get/projects_2/projects/");
1140
+ J.value = null, Y.value = void 0, localStorage.removeItem(q + ":" + r.state.userId), te("/get/projects_2/projects/");
1142
1141
  }, Dt = { class: "top-projectSelector_itemText" }, Ot = { class: "top-comment" }, kt = {
1143
1142
  key: 0,
1144
1143
  class: "top-comment"
@@ -1164,23 +1163,23 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1164
1163
  modelModifiers: {}
1165
1164
  }),
1166
1165
  emits: ["update:modelValue"],
1167
- setup(n) {
1168
- let r = e(), i = n, a = R(n, "modelValue"), o = yt(i.client), s = bt(i.client), c = P(Tt()), l = P(null), f = he(), p = C(() => i.placeholder ?? r.Projects.Select_project), m = C(() => !Y.value || !i.excludeProjectId ? Y.value : Y.value.filter((e) => e.id !== i.excludeProjectId)), h = C(() => {
1166
+ setup(e) {
1167
+ let t = n(), i = e, a = R(e, "modelValue"), o = yt(i.client), s = bt(i.client), c = P(Tt()), l = P(null), f = he(), p = C(() => i.placeholder ?? t.Projects.Select_project), m = C(() => !Y.value || !i.excludeProjectId ? Y.value : Y.value.filter((e) => e.id !== i.excludeProjectId)), h = C(() => {
1169
1168
  if (c.value || c.value === 0) return c.value < jt ? "static" : "api";
1170
1169
  }), _ = async () => {
1171
1170
  J.value ||= o.call();
1172
1171
  let e = await J.value;
1173
1172
  return J.value = null, e;
1174
1173
  }, v = async (e) => {
1175
- let n = await s.changeParams({
1174
+ let t = await s.changeParams({
1176
1175
  url: e.name,
1177
1176
  name: e.name
1178
1177
  }).call();
1179
- if (!n.errors) {
1178
+ if (!t.errors) {
1180
1179
  if (Y.value && h.value === "static") {
1181
- let r = dt({
1182
- id: n.result,
1183
- user_id: t.state.userId,
1180
+ let n = dt({
1181
+ id: t.result,
1182
+ user_id: r.state.userId,
1184
1183
  name: e.name,
1185
1184
  url: e.name,
1186
1185
  on: 0,
@@ -1188,7 +1187,7 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1188
1187
  }), i = Y.value.findIndex((e) => e.on === 0);
1189
1188
  Y.value = [
1190
1189
  ...Y.value.slice(0, i),
1191
- r,
1190
+ n,
1192
1191
  ...Y.value.slice(i)
1193
1192
  ], c.value && (c.value += 1, wt(c.value));
1194
1193
  }
@@ -1211,7 +1210,7 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1211
1210
  };
1212
1211
  return se(async () => {
1213
1212
  await y();
1214
- }), (e, t) => {
1213
+ }), (t, n) => {
1215
1214
  let r = ue("TopButton");
1216
1215
  return N(), E(S, null, [(N(), w(b, {
1217
1216
  key: h.value ?? "dummy",
@@ -1219,12 +1218,12 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1219
1218
  ref: l,
1220
1219
  class: "top-projectSelector",
1221
1220
  modelValue: a.value,
1222
- "onUpdate:modelValue": t[1] ||= (e) => n.menuMode ? L(mt)(e.id) : a.value = e,
1221
+ "onUpdate:modelValue": n[1] ||= (t) => e.menuMode ? L(mt)(t.id) : a.value = t,
1223
1222
  items: m.value,
1224
1223
  itemsChunkSize: 100,
1225
1224
  itemsIsLoading: h.value === "static" && L(Y) === void 0,
1226
- title: e.$i18n.Projects.Search_projects,
1227
- modificator: n.modificator,
1225
+ title: t.$i18n.Projects.Search_projects,
1226
+ modificator: e.modificator,
1228
1227
  searchFields: [
1229
1228
  "id",
1230
1229
  "name",
@@ -1240,27 +1239,27 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1240
1239
  appendSearchToResultCond: L(u),
1241
1240
  appendWithoutSelect: "",
1242
1241
  buttonProps: {
1243
- ...n.buttonProps,
1242
+ ...e.buttonProps,
1244
1243
  isProgress: !h.value,
1245
1244
  disabled: !h.value
1246
1245
  },
1247
- openerShortcut: n.openerShortcut,
1246
+ openerShortcut: e.openerShortcut,
1248
1247
  onAppendItem: v,
1249
1248
  onOpen: ee
1250
1249
  }, {
1251
- item: B(({ item: i }) => [D("div", Dt, [i.id ? (N(), E(S, { key: 0 }, [O(I(L(d)(i.name, 20)) + " ", 1), D("span", Ot, " id " + I(i.id), 1)], 64)) : (N(), E(S, { key: 1 }, [i.listItemProps?.type ? T("", !0) : (N(), E("div", kt, I(e.$i18n.Projects.Add_project) + ": ", 1)), O(" " + I(i.name), 1)], 64))]), i.id ? (N(), E(S, { key: 0 }, [
1252
- n.menuMode ? (N(), E("a", {
1250
+ item: B(({ item: i }) => [D("div", Dt, [i.id ? (N(), E(S, { key: 0 }, [O(I(L(d)(i.name, 20)) + " ", 1), D("span", Ot, " id " + I(i.id), 1)], 64)) : (N(), E(S, { key: 1 }, [i.listItemProps?.type ? T("", !0) : (N(), E("div", kt, I(t.$i18n.Projects.Add_project) + ": ", 1)), O(" " + I(i.name), 1)], 64))]), i.id ? (N(), E(S, { key: 0 }, [
1251
+ e.menuMode ? (N(), E("a", {
1253
1252
  key: 0,
1254
1253
  class: "top-projectSelector_itemLink",
1255
1254
  href: L(ht)(i.id)
1256
1255
  }, null, 8, At)) : T("", !0),
1257
- e.$core.state.isMobile ? T("", !0) : (N(), w(r, {
1256
+ t.$core.state.isMobile ? T("", !0) : (N(), w(r, {
1258
1257
  key: 1,
1259
1258
  href: i.externalLink,
1260
1259
  "data-top-icon": "",
1261
1260
  color: "theme",
1262
1261
  target: "_blank",
1263
- onClick: t[0] ||= V(() => {}, ["stop"])
1262
+ onClick: n[0] ||= V(() => {}, ["stop"])
1264
1263
  }, null, 8, ["href"])),
1265
1264
  k(g, {
1266
1265
  id: L(f),
@@ -1318,29 +1317,29 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1318
1317
  }), Q(r, e, n), r;
1319
1318
  }, Ft = (e, t) => {
1320
1319
  s(e, "topTagSelectorRender")?.(t);
1321
- }, Q = (t, n, r) => {
1322
- let i = L(n.modelValue);
1323
- if (t.classList.toggle("top-tagSelector-selectedOne", !i.length || i.length === 1), t.classList.toggle("top-tagSelector-toTwoLine", i.length > 5), n.mode === "setter" && n.filters) {
1324
- t.innerHTML = `<div>${r}</div>`;
1320
+ }, Q = (e, t, r) => {
1321
+ let i = L(t.modelValue);
1322
+ if (e.classList.toggle("top-tagSelector-selectedOne", !i.length || i.length === 1), e.classList.toggle("top-tagSelector-toTwoLine", i.length > 5), t.mode === "setter" && t.filters) {
1323
+ e.innerHTML = `<div>${r}</div>`;
1325
1324
  return;
1326
1325
  }
1327
- if (t.innerHTML = "", !i.length && n.mode === "filter") {
1328
- let n = It({
1326
+ if (e.innerHTML = "", !i.length && t.mode === "filter") {
1327
+ let t = It({
1329
1328
  id: "all",
1330
1329
  colorId: "",
1331
- name: e().Common?.All_tags ?? "",
1330
+ name: n().Common?.All_tags ?? "",
1332
1331
  state: ""
1333
1332
  });
1334
- t.append(n);
1333
+ e.append(t);
1335
1334
  }
1336
- i.forEach((e) => {
1335
+ i.forEach((n) => {
1337
1336
  let r = It({
1338
- id: X(e),
1339
- colorId: Z(e, n.tags)?.color_id ?? "",
1340
- name: Z(e, n.tags)?.name ?? "",
1341
- state: X(e) === e ? "selected" : "excluded"
1337
+ id: X(n),
1338
+ colorId: Z(n, t.tags)?.color_id ?? "",
1339
+ name: Z(n, t.tags)?.name ?? "",
1340
+ state: X(n) === n ? "selected" : "excluded"
1342
1341
  });
1343
- t.append(r);
1342
+ e.append(r);
1344
1343
  });
1345
1344
  }, It = (e) => {
1346
1345
  let t = document.createElement("div");
@@ -1520,17 +1519,17 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1520
1519
  }),
1521
1520
  emits: ["update:modelValue"],
1522
1521
  setup(e, { attrs: t }) {
1523
- let n = e, i = R(e, "modelValue"), a = n.useTopButton ? r : "div", o = n.useTopButton ? "html" : "default", s = {
1524
- model: i,
1522
+ let n = e, r = R(e, "modelValue"), i = n.useTopButton ? a : "div", o = n.useTopButton ? "html" : "default", s = {
1523
+ model: r,
1525
1524
  mode: n.mode,
1526
1525
  targetId: n.targetId,
1527
1526
  filters: n.filters,
1528
1527
  payload: n.payload
1529
1528
  };
1530
- return (r, c) => {
1529
+ return (a, c) => {
1531
1530
  let l = de("top-data");
1532
1531
  return N(), w(g, { id: e.id }, {
1533
- default: B(() => [ge((N(), w(fe(L(a)), ae({
1532
+ default: B(() => [ge((N(), w(fe(L(i)), ae({
1534
1533
  class: {
1535
1534
  "top-tagSelector": !0,
1536
1535
  "top-tagSelector-useTopButton": n.useTopButton,
@@ -1539,19 +1538,19 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1539
1538
  "top-tagSelector-filter": n.mode === "filter",
1540
1539
  "top-tagSelector-setter_single": n.mode === "setter" && !e.filters,
1541
1540
  "top-tagSelector-setter_several": n.mode === "setter" && e.filters,
1542
- "top-tagSelector-selectedOne": !i.value.length || i.value.length === 1,
1543
- "top-tagSelector-toTwoLine": i.value.length > 5
1541
+ "top-tagSelector-selectedOne": !r.value.length || r.value.length === 1,
1542
+ "top-tagSelector-toTwoLine": r.value.length > 5
1544
1543
  },
1545
1544
  color: "theme",
1546
1545
  styling: e.styling
1547
1546
  }, t), {
1548
- [L(o)]: B(() => [!i.value.length && e.mode === "filter" ? (N(), w(zt, {
1547
+ [L(o)]: B(() => [!r.value.length && e.mode === "filter" ? (N(), w(zt, {
1549
1548
  key: 0,
1550
1549
  id: "all",
1551
1550
  colorId: "",
1552
- name: r.$i18n.Common.All_tags ?? "",
1551
+ name: a.$i18n.Common.All_tags ?? "",
1553
1552
  state: ""
1554
- }, null, 8, ["name"])) : T("", !0), e.mode === "setter" && e.filters ? (N(), E("div", Ht, [le(r.$slots, "default")])) : (N(!0), E(S, { key: 2 }, F(i.value, (t) => (N(), w(zt, {
1553
+ }, null, 8, ["name"])) : T("", !0), e.mode === "setter" && e.filters ? (N(), E("div", Ht, [le(a.$slots, "default")])) : (N(!0), E(S, { key: 2 }, F(r.value, (t) => (N(), w(zt, {
1555
1554
  id: L(X)(t),
1556
1555
  colorId: L(Z)(t, e.tags)?.color_id ?? "",
1557
1556
  name: L(Z)(t, e.tags)?.name ?? "",
@@ -1603,8 +1602,8 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1603
1602
  "setter",
1604
1603
  "tagsChanged"
1605
1604
  ], ["update:modelValue", "update:tags"]),
1606
- setup(a, { emit: o }) {
1607
- let c = e(), l = a, u = R(a, "modelValue"), d = R(a, "tags"), f = o, p = n((e, t) => {
1605
+ setup(e, { emit: t }) {
1606
+ let c = n(), l = e, u = R(e, "modelValue"), d = R(e, "tags"), f = t, p = i((e, t) => {
1608
1607
  f(e, t);
1609
1608
  }, l.emitDelay);
1610
1609
  l.singleMode && !u.value.length && (u.value = [d.value[0].id]);
@@ -1659,11 +1658,11 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1659
1658
  }), f("tagsChanged", d.value);
1660
1659
  }, D = (e) => {
1661
1660
  if (_.value = s(e.elPopupOpener, "topTagSelectorTarget"), !_.value) throw Error("Open popup TopTagSelector required v-data:topTagSelectorTarget");
1662
- if (_.value.filters && (h.value = "add", _.value.model.value = []), !t.$?.ui.sortable) {
1661
+ if (_.value.filters && (h.value = "add", _.value.model.value = []), !r.$?.ui.sortable) {
1663
1662
  console.info("Для работы сортировки требуется глобальная загрузка jQuery UI Sortable");
1664
1663
  return;
1665
1664
  }
1666
- !t.state.isMobile && !t.state.isMobileUA && d.value && $(e.elPopup).sortable({
1665
+ !r.state.isMobile && !r.state.isMobileUA && d.value && $(e.elPopup).sortable({
1667
1666
  items: "li:has([data-tag_id]:not([data-tag_id=\"all\"]))",
1668
1667
  cancel: "[contenteditable=\"plaintext-only\"], [contenteditable=\"true\"]",
1669
1668
  distance: 10,
@@ -1678,16 +1677,16 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1678
1677
  }
1679
1678
  });
1680
1679
  }, A = (e) => {
1681
- t.$?.ui.sortable && $(e.elPopup).data("ui-sortable") && $(e.elPopup).sortable("destroy");
1680
+ r.$?.ui.sortable && $(e.elPopup).data("ui-sortable") && $(e.elPopup).sortable("destroy");
1682
1681
  };
1683
- return (e, t) => (N(), E(S, null, [k(Ut, {
1682
+ return (t, n) => (N(), E(S, null, [k(Ut, {
1684
1683
  modelValue: u.value,
1685
- "onUpdate:modelValue": t[0] ||= (e) => u.value = e,
1684
+ "onUpdate:modelValue": n[0] ||= (e) => u.value = e,
1686
1685
  id: L(m),
1687
1686
  tags: d.value,
1688
- styling: a.styling,
1687
+ styling: e.styling,
1689
1688
  mode: "filter",
1690
- useTopButton: a.useTopButton
1689
+ useTopButton: e.useTopButton
1691
1690
  }, null, 8, [
1692
1691
  "modelValue",
1693
1692
  "id",
@@ -1697,33 +1696,33 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1697
1696
  ]), k(y, {
1698
1697
  id: L(m),
1699
1698
  class: M(te.value),
1700
- onOpen: t[4] ||= (e) => D(e),
1701
- onClose: t[5] ||= (e) => A(e),
1699
+ onOpen: n[4] ||= (e) => D(e),
1700
+ onClose: n[5] ||= (e) => A(e),
1702
1701
  "transition-duration": 50
1703
1702
  }, re({
1704
1703
  contentList: B(() => [
1705
- _.value.mode === "filter" && !a.singleMode ? (N(), w(Vt, {
1704
+ _.value.mode === "filter" && !e.singleMode ? (N(), w(Vt, {
1706
1705
  key: 0,
1707
1706
  id: "all",
1708
1707
  colorId: "",
1709
- name: e.$i18n.Common.All_tags ?? "",
1708
+ name: t.$i18n.Common.All_tags ?? "",
1710
1709
  state: _.value.model.value.length ? "" : "selected",
1711
- onSelect: t[3] ||= (e) => _.value.model.value = []
1710
+ onSelect: n[3] ||= (e) => _.value.model.value = []
1712
1711
  }, null, 8, ["name", "state"])) : T("", !0),
1713
- (N(!0), E(S, null, F(d.value, (e) => (N(), w(Vt, {
1714
- key: e.id,
1715
- id: e.id,
1716
- colorId: e.color_id,
1717
- name: e.name,
1718
- state: b(e.id),
1719
- canExclude: _.value.mode === "filter" && !a.singleMode,
1720
- editable: a.tagsEditable,
1721
- disabled: ee.value && b(e.id) === "",
1722
- onUnselect: (t) => x(e.id, "unselect"),
1723
- onSelect: (t) => x(e.id, "select"),
1724
- onExclude: (t) => x(e.id, "exclude"),
1725
- "onUpdate:name": (t) => {
1726
- e.name = t, L(p)("tagsChanged", d.value);
1712
+ (N(!0), E(S, null, F(d.value, (t) => (N(), w(Vt, {
1713
+ key: t.id,
1714
+ id: t.id,
1715
+ colorId: t.color_id,
1716
+ name: t.name,
1717
+ state: b(t.id),
1718
+ canExclude: _.value.mode === "filter" && !e.singleMode,
1719
+ editable: e.tagsEditable,
1720
+ disabled: ee.value && b(t.id) === "",
1721
+ onUnselect: (e) => x(t.id, "unselect"),
1722
+ onSelect: (e) => x(t.id, "select"),
1723
+ onExclude: (e) => x(t.id, "exclude"),
1724
+ "onUpdate:name": (e) => {
1725
+ t.name = e, L(p)("tagsChanged", d.value);
1727
1726
  }
1728
1727
  }, null, 8, [
1729
1728
  "id",
@@ -1738,36 +1737,36 @@ var Ke = ["innerHTML"], qe = /* @__PURE__ */ A({
1738
1737
  "onExclude",
1739
1738
  "onUpdate:name"
1740
1739
  ]))), 128)),
1741
- a.tagsEditable && d.value.length < a.tagsMax && d.value.length < 20 ? (N(), w(v, {
1740
+ e.tagsEditable && d.value.length < e.tagsMax && d.value.length < 20 ? (N(), w(v, {
1742
1741
  key: 1,
1743
1742
  "data-top-icon": "",
1744
1743
  onClick: V(ne, ["stop"])
1745
1744
  }, {
1746
- default: B(() => [O(I(e.$i18n.Common.Add), 1)]),
1745
+ default: B(() => [O(I(t.$i18n.Common.Add), 1)]),
1747
1746
  _: 1
1748
1747
  })) : T("", !0)
1749
1748
  ]),
1750
1749
  _: 2
1751
1750
  }, [_.value.mode === "setter" && _.value.filters ? {
1752
1751
  name: "header",
1753
- fn: B(() => [k(i, {
1752
+ fn: B(() => [k(o, {
1754
1753
  modelValue: h.value,
1755
- "onUpdate:modelValue": t[1] ||= (e) => h.value = e,
1754
+ "onUpdate:modelValue": n[1] ||= (e) => h.value = e,
1756
1755
  options: g()
1757
1756
  }, null, 8, ["modelValue", "options"])]),
1758
1757
  key: "0"
1759
1758
  } : void 0, _.value.mode === "setter" && _.value.filters ? {
1760
1759
  name: "footer",
1761
- fn: B(() => [k(r, { color: "theme" }, {
1762
- default: B(() => [O(I(e.$i18n.Common.Cancel), 1)]),
1760
+ fn: B(() => [k(a, { color: "theme" }, {
1761
+ default: B(() => [O(I(t.$i18n.Common.Cancel), 1)]),
1763
1762
  _: 1
1764
- }), k(r, { onClick: t[2] ||= (e) => L(p)("setter", {
1763
+ }), k(a, { onClick: n[2] ||= (e) => L(p)("setter", {
1765
1764
  tagsIds: _.value.model.value,
1766
1765
  filters: _.value.filters,
1767
1766
  filtersAction: h.value,
1768
1767
  payload: _.value.payload
1769
1768
  }) }, {
1770
- default: B(() => [O(I(h.value === "add" ? e.$i18n.Common.Add : "") + " " + I(h.value === "replace" ? e.$i18n.Common.Replace : "") + " " + I(h.value === "delete" ? e.$i18n.Common.Delete : ""), 1)]),
1769
+ default: B(() => [O(I(h.value === "add" ? t.$i18n.Common.Add : "") + " " + I(h.value === "replace" ? t.$i18n.Common.Replace : "") + " " + I(h.value === "delete" ? t.$i18n.Common.Delete : ""), 1)]),
1771
1770
  _: 1
1772
1771
  })]),
1773
1772
  key: "1"