@vc-shell/framework 1.1.91-alpha.0 → 1.1.91-alpha.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.
Files changed (87) hide show
  1. package/CHANGELOG.md +1408 -2771
  2. package/core/api/platform.ts +9883 -9883
  3. package/core/composables/useNotifications/index.ts +32 -1
  4. package/core/composables/useSettings/index.ts +8 -3
  5. package/core/plugins/signalR/index.ts +3 -3
  6. package/core/providers/auth-provider-utils.ts +26 -0
  7. package/core/providers/example-custom-auth-provider.ts +3 -2
  8. package/core/providers/platform-auth-provider.ts +5 -3
  9. package/core/types/auth-provider.ts +2 -6
  10. package/dist/core/api/platform.d.ts +1 -1
  11. package/dist/core/api/platform.d.ts.map +1 -1
  12. package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
  13. package/dist/core/composables/useSettings/index.d.ts.map +1 -1
  14. package/dist/core/providers/auth-provider-utils.d.ts +17 -0
  15. package/dist/core/providers/auth-provider-utils.d.ts.map +1 -0
  16. package/dist/core/providers/example-custom-auth-provider.d.ts +2 -2
  17. package/dist/core/providers/example-custom-auth-provider.d.ts.map +1 -1
  18. package/dist/core/providers/platform-auth-provider.d.ts +3 -3
  19. package/dist/core/providers/platform-auth-provider.d.ts.map +1 -1
  20. package/dist/core/types/auth-provider.d.ts +2 -2
  21. package/dist/core/types/auth-provider.d.ts.map +1 -1
  22. package/dist/framework.js +10440 -10407
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/shared/components/sign-in/useExternalProvider.d.ts +1 -1
  26. package/dist/shared/components/sign-in/useExternalProvider.d.ts.map +1 -1
  27. package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts.map +1 -1
  28. package/dist/tsconfig.tsbuildinfo +1 -1
  29. package/dist/{vendor-core-js-azBmvlGv.js → vendor-core-js-DDuR6YMQ.js} +49 -49
  30. package/dist/vendor-microsoft-applicationinsights-analytics-js-C1Yxuzwg.js +1207 -0
  31. package/dist/{vendor-microsoft-applicationinsights-cfgsync-js-Dp8OU6ZE.js → vendor-microsoft-applicationinsights-cfgsync-js-DArHD4Dn.js} +20 -20
  32. package/dist/{vendor-microsoft-applicationinsights-channel-js-Bc73N-5y.js → vendor-microsoft-applicationinsights-channel-js-Dbs0XRes.js} +767 -754
  33. package/dist/{vendor-microsoft-applicationinsights-common-DcnOqpgL.js → vendor-microsoft-applicationinsights-common-OjU3Zs6r.js} +191 -191
  34. package/dist/vendor-microsoft-applicationinsights-core-js-DWRvqBek.js +4276 -0
  35. package/dist/{vendor-microsoft-applicationinsights-dependencies-js-C_DhEOae.js → vendor-microsoft-applicationinsights-dependencies-js-BxTNw-Sk.js} +422 -414
  36. package/dist/{vendor-microsoft-applicationinsights-properties-js-COczDd7b.js → vendor-microsoft-applicationinsights-properties-js-Gfhpu-At.js} +117 -117
  37. package/dist/{vendor-microsoft-applicationinsights-web-DtOQojwf.js → vendor-microsoft-applicationinsights-web-9yeJ0EZv.js} +59 -59
  38. package/dist/{vendor-nevware21-ts-async-DFUnZ_sN.js → vendor-nevware21-ts-async-CdMc_sGt.js} +4 -3
  39. package/dist/{vendor-prosemirror-gapcursor-3PaVPyUV.js → vendor-prosemirror-gapcursor-K-Pj0iVP.js} +1 -1
  40. package/dist/{vendor-prosemirror-tables-CezTPhzU.js → vendor-prosemirror-tables-MDKm8BUy.js} +1 -1
  41. package/dist/{vendor-prosemirror-view-CzsD5m3e.js → vendor-prosemirror-view-CesDChJC.js} +512 -511
  42. package/dist/{vendor-semver-B87_S22g.js → vendor-semver-Dar8oU3V.js} +38 -36
  43. package/dist/{vendor-tiptap-core-rgc3Sj5Y.js → vendor-tiptap-core-B000Ay3n.js} +4 -2
  44. package/dist/{vendor-tiptap-extension-blockquote-DgzMeNpc.js → vendor-tiptap-extension-blockquote-CHW3QVCH.js} +1 -1
  45. package/dist/{vendor-tiptap-extension-bold-DZbX5Qiw.js → vendor-tiptap-extension-bold-DsNXR7l5.js} +1 -1
  46. package/dist/{vendor-tiptap-extension-code-BcakHaXe.js → vendor-tiptap-extension-code-BXPfZcyf.js} +1 -1
  47. package/dist/vendor-tiptap-extension-code-block-DYMOFxJc.js +197 -0
  48. package/dist/{vendor-tiptap-extension-document-BBhadLNS.js → vendor-tiptap-extension-document-Y-jQl_8Q.js} +1 -1
  49. package/dist/{vendor-tiptap-extension-hard-break-eyl10A9U.js → vendor-tiptap-extension-hard-break-DfxtqTYW.js} +1 -1
  50. package/dist/{vendor-tiptap-extension-heading-BmX_Abvh.js → vendor-tiptap-extension-heading-BqN9fEEm.js} +1 -1
  51. package/dist/{vendor-tiptap-extension-horizontal-rule-DyYIWV6W.js → vendor-tiptap-extension-horizontal-rule-Dl1wmLAo.js} +16 -16
  52. package/dist/{vendor-tiptap-extension-image-C06iDyEi.js → vendor-tiptap-extension-image-Cv28QlbA.js} +1 -1
  53. package/dist/{vendor-tiptap-extension-italic-B2YDHBEe.js → vendor-tiptap-extension-italic-B3WETSCz.js} +1 -1
  54. package/dist/{vendor-tiptap-extension-link-Bw8_3Rr4.js → vendor-tiptap-extension-link-CTWD6W1U.js} +1 -1
  55. package/dist/{vendor-tiptap-extension-list-qHzpj6eq.js → vendor-tiptap-extension-list-Da9Xfgwa.js} +1 -1
  56. package/dist/{vendor-tiptap-extension-paragraph-BnCRfXCL.js → vendor-tiptap-extension-paragraph-CSda9k3a.js} +1 -1
  57. package/dist/vendor-tiptap-extension-placeholder-MI_ltlp7.js +1 -0
  58. package/dist/{vendor-tiptap-extension-strike-Naksm43m.js → vendor-tiptap-extension-strike-Di5VtsLj.js} +1 -1
  59. package/dist/{vendor-tiptap-extension-table-Cguez3tu.js → vendor-tiptap-extension-table-DYCEjlpp.js} +94 -85
  60. package/dist/vendor-tiptap-extension-table-cell-D5DL87Xa.js +1 -0
  61. package/dist/vendor-tiptap-extension-table-header-D5DL87Xa.js +1 -0
  62. package/dist/vendor-tiptap-extension-table-row-D5DL87Xa.js +1 -0
  63. package/dist/{vendor-tiptap-extension-text-CixjyWfN.js → vendor-tiptap-extension-text-8vtzSN60.js} +1 -1
  64. package/dist/{vendor-tiptap-extension-text-style-CVsjuWJ4.js → vendor-tiptap-extension-text-style-BiLsi9B8.js} +35 -30
  65. package/dist/{vendor-tiptap-extension-underline-Rwkvga0F.js → vendor-tiptap-extension-underline-Bz_pv2E0.js} +1 -1
  66. package/dist/{vendor-tiptap-extensions-F9A02hii.js → vendor-tiptap-extensions-Crh_nh74.js} +3 -3
  67. package/dist/{vendor-tiptap-markdown-BSUpswXr.js → vendor-tiptap-markdown-bGlioql8.js} +1 -1
  68. package/dist/vendor-tiptap-pm-Ug0Z93EG.js +1 -0
  69. package/dist/{vendor-tiptap-starter-kit-BUgq7S1_.js → vendor-tiptap-starter-kit-B3fY431M.js} +17 -17
  70. package/dist/{vendor-tiptap-vue-3-UHrHfZLG.js → vendor-tiptap-vue-3-CqWn44-V.js} +22 -22
  71. package/dist/{vendor-vue3-application-insights-CE6eo4vj.js → vendor-vue3-application-insights-BKiiWnf2.js} +2 -2
  72. package/dist/{vendor-vueuse-components-B0zqjNRW.js → vendor-vueuse-components-sgKpNzof.js} +1 -1
  73. package/dist/{vendor-vueuse-core-CYgwn-B2.js → vendor-vueuse-core-D0cN7FqY.js} +10 -10
  74. package/dist/{vendor-vueuse-shared-B_uDJJ6V.js → vendor-vueuse-shared-Pt0UEStA.js} +19 -19
  75. package/package.json +4 -4
  76. package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +2 -2
  77. package/shared/components/sign-in/useExternalProvider.ts +11 -1
  78. package/shared/modules/dynamic/helpers/nodeBuilder.ts +11 -3
  79. package/ui/components/organisms/vc-app/vc-app.vue +2 -2
  80. package/dist/vendor-microsoft-applicationinsights-analytics-js-BNSkz9ia.js +0 -1105
  81. package/dist/vendor-microsoft-applicationinsights-core-js-CX4NA2hM.js +0 -4127
  82. package/dist/vendor-tiptap-extension-code-block-B0U7g1XA.js +0 -192
  83. package/dist/vendor-tiptap-extension-placeholder-BVZ1jBA2.js +0 -1
  84. package/dist/vendor-tiptap-extension-table-cell-lniviH1T.js +0 -1
  85. package/dist/vendor-tiptap-extension-table-header-lniviH1T.js +0 -1
  86. package/dist/vendor-tiptap-extension-table-row-lniviH1T.js +0 -1
  87. package/dist/vendor-tiptap-pm-BUxx7nt1.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { d as H } from "./vendor-microsoft-dynamicproto-js-DSkQkH3T.js";
2
- import { Q as Ee, U as Se, V as _e, n as ne, W as Te, K as A, C as m, P as te, o as xe, h as De, p as Ce, B as Ae } from "./vendor-microsoft-applicationinsights-common-DcnOqpgL.js";
3
- import { r as Pe, e as me, u as Oe, o as re, l as ye, w as I, P as we, i as K, f as he, n as Ue } from "./vendor-nevware21-ts-utils-Dy41wRhA.js";
4
- import { o as X, s as oe, d as se, _ as V, a as ke, Z as ue, t as Le, g as Ye, x as be, z as N, $ as T, a0 as ce, a1 as Re, i as Ve, B as Me } from "./vendor-microsoft-applicationinsights-core-js-CX4NA2hM.js";
2
+ import { Q as Ee, U as Se, V as _e, n as ne, W as Te, K as C, C as m, P as te, o as xe, h as De, p as Ae, B as Ce } from "./vendor-microsoft-applicationinsights-common-OjU3Zs6r.js";
3
+ import { r as Pe, e as me, u as Oe, o as re, l as ye, w as I, P as we, i as z, f as he, n as Ue } from "./vendor-nevware21-ts-utils-Dy41wRhA.js";
4
+ import { o as X, s as oe, d as se, _ as V, a as ke, $ as ue, u as Le, g as Ye, f as be, y as Re, A as N, a0 as T, a1 as ce, a2 as Ve, j as Me, B as je } from "./vendor-microsoft-applicationinsights-core-js-DWRvqBek.js";
5
5
  import { _ as We } from "./vendor-microsoft-applicationinsights-shims-CxtPYiwp.js";
6
- var je = (
6
+ var Ke = (
7
7
  /** @class */
8
8
  /* @__PURE__ */ (function() {
9
9
  function n() {
@@ -18,66 +18,66 @@ var je = (
18
18
  }
19
19
  return n;
20
20
  })()
21
- ), Ke = "3.3.9", Be = (
21
+ ), Be = "3.3.10", Ge = (
22
22
  /** @class */
23
23
  /* @__PURE__ */ (function() {
24
24
  function n(o, g) {
25
- var l = this, E = X(o, function() {
25
+ var v = this, E = X(o, function() {
26
26
  var c = o.sdkExtension;
27
- l.sdkVersion = (c ? c + "_" : "") + "javascript:" + Ke;
27
+ v.sdkVersion = (c ? c + "_" : "") + "javascript:" + Be;
28
28
  });
29
29
  g && g.add(E);
30
30
  }
31
31
  return n;
32
32
  })()
33
- ), Ge = (
33
+ ), Fe = (
34
34
  /** @class */
35
35
  /* @__PURE__ */ (function() {
36
36
  function n() {
37
37
  }
38
38
  return n;
39
39
  })()
40
- ), F = "session", q = "sessionManager", B = "isUserCookieSet", Q = "isNewUser", Z = "getTraceCtx", ee = "telemetryTrace", ve = "applySessionContext", de = "applyApplicationContext", pe = "applyOperationContext", le = "applyOperatingSystemContxt", fe = "applyLocationContext", Ie = "applyInternalContext", G = "getSessionId", Ne = "sessionCookiePostfix", w = "automaticSession", k = "accountId", L = "authenticatedId", b = "acquisitionDate", W = "renewalDate", R = "cookieSeparator", $ = "authUserCookieName", Fe = "ai_session", qe = 864e5, Qe = 18e5, He = 6e4, ge = (
40
+ ), F = "session", q = "sessionManager", B = "isUserCookieSet", Q = "isNewUser", $ = "getTraceCtx", ee = "telemetryTrace", ve = "applySessionContext", de = "applyApplicationContext", pe = "applyOperationContext", le = "applyOperatingSystemContxt", fe = "applyLocationContext", Ie = "applyInternalContext", G = "getSessionId", Ne = "sessionCookiePostfix", w = "automaticSession", k = "accountId", L = "authenticatedId", b = "acquisitionDate", j = "renewalDate", R = "cookieSeparator", J = "authUserCookieName", qe = "ai_session", Qe = 864e5, He = 18e5, Xe = 6e4, ge = (
41
41
  /** @class */
42
42
  /* @__PURE__ */ (function() {
43
43
  function n() {
44
44
  }
45
45
  return n;
46
46
  })()
47
- ), Xe = (
47
+ ), $e = (
48
48
  /** @class */
49
49
  (function() {
50
- function n(o, g, l) {
51
- var E = this, c, f, a = oe(g), p = se(g), x, C;
50
+ function n(o, g, v) {
51
+ var E = this, c, f, a = oe(g), l = se(g), x, A;
52
52
  H(n, E, function(t) {
53
53
  o || (o = {});
54
54
  var s = X(o, function(u) {
55
- x = o.sessionExpirationMs || qe, C = o.sessionRenewalMs || Qe;
56
- var d = o[
55
+ x = o.sessionExpirationMs || Qe, A = o.sessionRenewalMs || He;
56
+ var p = o[
57
57
  Ne
58
58
  /* @min:%2esessionCookiePostfix */
59
59
  ] || o.namePrefix || "";
60
- c = Fe + d;
60
+ c = qe + p;
61
61
  });
62
- l && l.add(s), t[
62
+ v && v.add(s), t[
63
63
  w
64
64
  /* @min:%2eautomaticSession */
65
65
  ] = new ge(), t.update = function() {
66
- var u = Oe(), d = !1, S = t[
66
+ var u = Oe(), p = !1, S = t[
67
67
  w
68
68
  /* @min:%2eautomaticSession */
69
69
  ];
70
- if (S.id || (d = !e(S)), !d && x > 0) {
70
+ if (S.id || (p = !e(S)), !p && x > 0) {
71
71
  var D = u - S[
72
72
  b
73
73
  /* @min:%2eacquisitionDate */
74
74
  ], _ = u - S[
75
- W
75
+ j
76
76
  /* @min:%2erenewalDate */
77
77
  ];
78
- d = D < 0 || _ < 0, d = d || D > x, d = d || _ > C;
78
+ p = D < 0 || _ < 0, p = p || D > x, p = p || _ > A;
79
79
  }
80
- d ? r(u) : (!f || u - f > He) && v(S, u);
80
+ p ? r(u) : (!f || u - f > Xe) && d(S, u);
81
81
  }, t.backup = function() {
82
82
  var u = t[
83
83
  w
@@ -87,12 +87,12 @@ var je = (
87
87
  b
88
88
  /* @min:%2eacquisitionDate */
89
89
  ], u[
90
- W
90
+ j
91
91
  /* @min:%2erenewalDate */
92
92
  ]);
93
93
  };
94
- function e(u, d) {
95
- var S = !1, D = p.get(c);
94
+ function e(u, p) {
95
+ var S = !1, D = l.get(c);
96
96
  if (D && Pe(D.split))
97
97
  S = i(u, D);
98
98
  else {
@@ -101,8 +101,8 @@ var je = (
101
101
  }
102
102
  return S || !!u.id;
103
103
  }
104
- function i(u, d) {
105
- var S = !1, D = ", session will be reset", _ = d.split("|");
104
+ function i(u, p) {
105
+ var S = !1, D = ", session will be reset", _ = p.split("|");
106
106
  if (_.length >= 2)
107
107
  try {
108
108
  var Y = +_[1] || 0, y = +_[2] || 0;
@@ -110,59 +110,59 @@ var je = (
110
110
  b
111
111
  /* @min:%2eacquisitionDate */
112
112
  ] = Y, u[
113
- W
113
+ j
114
114
  /* @min:%2erenewalDate */
115
115
  ] = y, S = !0);
116
116
  } catch (M) {
117
- V(a, 1, 9, "Error parsing ai_session value [" + (d || "") + "]" + D + " - " + ke(M), { exception: me(M) });
117
+ V(a, 1, 9, "Error parsing ai_session value [" + (p || "") + "]" + D + " - " + ke(M), { exception: me(M) });
118
118
  }
119
119
  return S;
120
120
  }
121
121
  function r(u) {
122
- var d = o.getNewId || ue;
122
+ var p = o.getNewId || ue;
123
123
  t[
124
124
  w
125
125
  /* @min:%2eautomaticSession */
126
- ].id = d(o.idLength || 22), t[
126
+ ].id = p(o.idLength || 22), t[
127
127
  w
128
128
  /* @min:%2eautomaticSession */
129
129
  ][
130
130
  b
131
131
  /* @min:%2eacquisitionDate */
132
- ] = u, v(t[
132
+ ] = u, d(t[
133
133
  w
134
134
  /* @min:%2eautomaticSession */
135
135
  ], u), Se() || V(a, 2, 0, "Browser does not support local storage. Session durations will be inaccurate.");
136
136
  }
137
- function v(u, d) {
137
+ function d(u, p) {
138
138
  var S = u[
139
139
  b
140
140
  /* @min:%2eacquisitionDate */
141
141
  ];
142
142
  u[
143
- W
143
+ j
144
144
  /* @min:%2erenewalDate */
145
- ] = d;
146
- var D = C, _ = S + x - d, Y = [u.id, S, d], y = 0;
145
+ ] = p;
146
+ var D = A, _ = S + x - p, Y = [u.id, S, p], y = 0;
147
147
  _ < D ? y = _ / 1e3 : y = D / 1e3;
148
148
  var M = o.cookieDomain || null;
149
- p.set(c, Y.join("|"), x > 0 ? y : null, M), f = d;
149
+ l.set(c, Y.join("|"), x > 0 ? y : null, M), f = p;
150
150
  }
151
- function P(u, d, S) {
152
- _e(a, c, [u, d, S].join("|"));
151
+ function P(u, p, S) {
152
+ _e(a, c, [u, p, S].join("|"));
153
153
  }
154
154
  });
155
155
  }
156
156
  return n.__ieDyn = 1, n;
157
157
  })()
158
- ), Ze = (
158
+ ), Je = (
159
159
  /** @class */
160
160
  /* @__PURE__ */ (function() {
161
- function n(o, g, l, E) {
162
- var c = this;
163
- c.traceID = o || Le(), c.parentID = g;
164
- var f = Ye();
165
- !l && f && f.pathname && (l = f.pathname), c.name = ne(E, l);
161
+ function n(o, g, v, E, c) {
162
+ var f = this;
163
+ f.traceID = o || Le(), f.parentID = g;
164
+ var a = Ye();
165
+ !v && a && a.pathname && (v = a.pathname, c && (v = be(v, c))), f.name = ne(E, v);
166
166
  }
167
167
  return n;
168
168
  })()
@@ -170,10 +170,10 @@ var je = (
170
170
  function ae(n) {
171
171
  return !(typeof n != "string" || !n || n.match(/,|;|=| |\|/));
172
172
  }
173
- var $e = (
173
+ var Ze = (
174
174
  /** @class */
175
175
  (function() {
176
- function n(o, g, l) {
176
+ function n(o, g, v) {
177
177
  this.isNewUser = !1, this.isUserCookieSet = !1;
178
178
  var E = oe(g), c = se(g), f;
179
179
  H(n, this, function(a) {
@@ -182,7 +182,7 @@ var $e = (
182
182
  return o;
183
183
  }
184
184
  });
185
- var p = X(o, function() {
185
+ var l = X(o, function() {
186
186
  var s = o.userCookiePostfix || "";
187
187
  f = n.userCookieName + s;
188
188
  var e = c.get(f);
@@ -202,13 +202,13 @@ var $e = (
202
202
  }
203
203
  if (!a.id) {
204
204
  a.id = x();
205
- var r = C(a.id);
205
+ var r = A(a.id);
206
206
  t(r.join(n[
207
207
  R
208
208
  /* @min:%2ecookieSeparator */
209
209
  ]));
210
- var v = (o.namePrefix || "") + "ai_session";
211
- Te(E, v);
210
+ var d = (o.namePrefix || "") + "ai_session";
211
+ Te(E, d);
212
212
  }
213
213
  a[
214
214
  k
@@ -218,7 +218,7 @@ var $e = (
218
218
  /* @min:%2eaccountId */
219
219
  ] || void 0;
220
220
  var P = c.get(n[
221
- $
221
+ J
222
222
  /* @min:%2eauthUserCookieName */
223
223
  ]);
224
224
  if (P) {
@@ -236,13 +236,13 @@ var $e = (
236
236
  ] = u[1]);
237
237
  }
238
238
  });
239
- l && l.add(p);
239
+ v && v.add(l);
240
240
  function x() {
241
241
  var s = o || {}, e = s.getNewId || ue, i = e(s.idLength ? o.idLength : 22);
242
242
  return i;
243
243
  }
244
- function C(s) {
245
- var e = be(/* @__PURE__ */ new Date());
244
+ function A(s) {
245
+ var e = Re(/* @__PURE__ */ new Date());
246
246
  a.accountAcquisitionDate = e, a[
247
247
  Q
248
248
  /* @min:%2eisNewUser */
@@ -268,23 +268,23 @@ var $e = (
268
268
  L
269
269
  /* @min:%2eauthenticatedId */
270
270
  ] = s;
271
- var v = a[
271
+ var d = a[
272
272
  L
273
273
  /* @min:%2eauthenticatedId */
274
274
  ];
275
275
  e && (a[
276
276
  k
277
277
  /* @min:%2eaccountId */
278
- ] = e, v = [a[
278
+ ] = e, d = [a[
279
279
  L
280
280
  /* @min:%2eauthenticatedId */
281
281
  ], a.accountId].join(n[
282
282
  R
283
283
  /* @min:%2ecookieSeparator */
284
284
  ])), i && c.set(n[
285
- $
285
+ J
286
286
  /* @min:%2eauthUserCookieName */
287
- ], encodeURI(v));
287
+ ], encodeURI(d));
288
288
  }, a.clearAuthenticatedUserContext = function() {
289
289
  a[
290
290
  L
@@ -293,7 +293,7 @@ var $e = (
293
293
  k
294
294
  /* @min:%2eaccountId */
295
295
  ] = null, c.del(n[
296
- $
296
+ J
297
297
  /* @min:%2eauthUserCookieName */
298
298
  ]);
299
299
  }, a.update = function(s) {
@@ -301,7 +301,7 @@ var $e = (
301
301
  B
302
302
  /* @min:%2eisUserCookieSet */
303
303
  ]) {
304
- var e = s || x(), i = C(e);
304
+ var e = s || x(), i = A(e);
305
305
  t(i.join(n[
306
306
  R
307
307
  /* @min:%2ecookieSeparator */
@@ -312,32 +312,32 @@ var $e = (
312
312
  }
313
313
  return n.cookieSeparator = "|", n.userCookieName = "ai_user", n.authUserCookieName = "ai_authUser", n;
314
314
  })()
315
- ), j = "ext", z = "tags";
315
+ ), W = "ext", K = "tags";
316
316
  function h(n, o) {
317
317
  n && n[o] && we(n[o]).length === 0 && delete n[o];
318
318
  }
319
319
  function ie() {
320
320
  return null;
321
321
  }
322
- var Je = (
322
+ var ea = (
323
323
  /** @class */
324
324
  (function() {
325
- function n(o, g, l, E) {
325
+ function n(o, g, v, E) {
326
326
  var c = this, f = o.logger;
327
327
  H(n, this, function(a) {
328
328
  if (a.appId = ie, a[
329
329
  G
330
330
  /* @min:%2egetSessionId */
331
- ] = ie, a.application = new je(), a.internal = new Be(g, E), ye()) {
331
+ ] = ie, a.application = new Ke(), a.internal = new Ge(g, E), ye()) {
332
332
  a[
333
333
  q
334
334
  /* @min:%2esessionManager */
335
- ] = new Xe(g, o, E), a.device = new ze(), a.location = new Ge(), a.user = new $e(g, o, E);
336
- var p = void 0, x = void 0, C;
337
- l && (p = l.getTraceId(), x = l.getSpanId(), C = l.getName()), a[
335
+ ] = new $e(g, o, E), a.device = new ze(), a.location = new Fe(), a.user = new Ze(g, o, E);
336
+ var l = void 0, x = void 0, A;
337
+ v && (l = v.getTraceId(), x = v.getSpanId(), A = v.getName()), a[
338
338
  ee
339
339
  /* @min:%2etelemetryTrace */
340
- ] = new Ze(p, x, C, f), a[
340
+ ] = new Je(l, x, A, f), a[
341
341
  F
342
342
  /* @min:%2esession */
343
343
  ] = new ge();
@@ -367,7 +367,7 @@ var Je = (
367
367
  ve
368
368
  /* @min:%2eapplySessionContext */
369
369
  ] = function(t, s) {
370
- N(T(t.ext, A.AppExt), "sesId", a[
370
+ N(T(t.ext, C.AppExt), "sesId", a[
371
371
  G
372
372
  /* @min:%2egetSessionId */
373
373
  ](), I);
@@ -375,20 +375,20 @@ var Je = (
375
375
  le
376
376
  /* @min:%2eapplyOperatingSystemContxt */
377
377
  ] = function(t, s) {
378
- N(t.ext, A.OSExt, a.os);
378
+ N(t.ext, C.OSExt, a.os);
379
379
  }, a[
380
380
  de
381
381
  /* @min:%2eapplyApplicationContext */
382
382
  ] = function(t, s) {
383
383
  var e = a.application;
384
384
  if (e) {
385
- var i = T(t, z);
385
+ var i = T(t, K);
386
386
  N(i, m.applicationVersion, e.ver, I), N(i, m.applicationBuild, e.build, I);
387
387
  }
388
388
  }, a.applyDeviceContext = function(t, s) {
389
389
  var e = a.device;
390
390
  if (e) {
391
- var i = T(T(t, j), A.DeviceExt);
391
+ var i = T(T(t, W), C.DeviceExt);
392
392
  N(i, "localId", e.id, I), N(i, "ip", e.ip, I), N(i, "model", e.model, I), N(i, "deviceClass", e.deviceClass, I);
393
393
  }
394
394
  }, a[
@@ -397,7 +397,7 @@ var Je = (
397
397
  ] = function(t, s) {
398
398
  var e = a.internal;
399
399
  if (e) {
400
- var i = T(t, z);
400
+ var i = T(t, K);
401
401
  N(i, m.internalAgentVersion, e.agentVersion, I), N(i, m.internalSdkVersion, ne(f, e.sdkVersion, 64), I), (t.baseType === ce.dataType || t.baseType === te.dataType) && (N(i, m.internalSnippet, e.snippetVer, I), N(i, m.internalSdkSrc, e.sdkSrc, I));
402
402
  }
403
403
  }, a[
@@ -405,7 +405,7 @@ var Je = (
405
405
  /* @min:%2eapplyLocationContext */
406
406
  ] = function(t, s) {
407
407
  var e = c.location;
408
- e && N(T(t, z, []), m.locationIp, e.ip, I);
408
+ e && N(T(t, K, []), m.locationIp, e.ip, I);
409
409
  }, a[
410
410
  pe
411
411
  /* @min:%2eapplyOperationContext */
@@ -415,21 +415,21 @@ var Je = (
415
415
  /* @min:%2etelemetryTrace */
416
416
  ];
417
417
  if (e) {
418
- var i = T(T(t, j), A.TraceExt, { traceID: void 0, parentID: void 0 });
419
- N(i, "traceID", e.traceID, I, K), N(i, "name", e.name, I, K), N(i, "parentID", e.parentID, I, K);
418
+ var i = T(T(t, W), C.TraceExt, { traceID: void 0, parentID: void 0 });
419
+ N(i, "traceID", e.traceID, I, z), N(i, "name", e.name, I, z), N(i, "parentID", e.parentID, I, z);
420
420
  }
421
421
  }, a.applyWebContext = function(t, s) {
422
422
  var e = c.web;
423
- e && N(T(t, j), A.WebExt, e);
423
+ e && N(T(t, W), C.WebExt, e);
424
424
  }, a.applyUserContext = function(t, s) {
425
425
  var e = a.user;
426
426
  if (e) {
427
- var i = T(t, z, []);
427
+ var i = T(t, K, []);
428
428
  N(i, m.userAccountId, e[
429
429
  k
430
430
  /* @min:%2eaccountId */
431
431
  ], I);
432
- var r = T(T(t, j), A.UserExt);
432
+ var r = T(T(t, W), C.UserExt);
433
433
  N(r, "id", e.id, I), N(r, "authId", e[
434
434
  L
435
435
  /* @min:%2eauthenticatedId */
@@ -437,13 +437,13 @@ var Je = (
437
437
  }
438
438
  }, a.cleanUp = function(t, s) {
439
439
  var e = t.ext;
440
- e && (h(e, A.DeviceExt), h(e, A.UserExt), h(e, A.WebExt), h(e, A.OSExt), h(e, A.AppExt), h(e, A.TraceExt));
440
+ e && (h(e, C.DeviceExt), h(e, C.UserExt), h(e, C.WebExt), h(e, C.OSExt), h(e, C.AppExt), h(e, C.TraceExt));
441
441
  };
442
442
  });
443
443
  }
444
444
  return n.__ieDyn = 1, n;
445
445
  })()
446
- ), O, J, U = null, ea = Ue((O = {
446
+ ), O, Z, U = null, aa = Ue((O = {
447
447
  accountId: U,
448
448
  sessionRenewalMs: 1800 * 1e3,
449
449
  samplingPercentage: 100,
@@ -455,27 +455,27 @@ var Je = (
455
455
  }, O[
456
456
  G
457
457
  /* @min:getSessionId */
458
- ] = U, O.namePrefix = J, O[
458
+ ] = U, O.namePrefix = Z, O[
459
459
  Ne
460
460
  /* @min:sessionCookiePostfix */
461
- ] = J, O.userCookiePostfix = J, O.idLength = 22, O.getNewId = U, O)), oa = (
461
+ ] = Z, O.userCookiePostfix = Z, O.idLength = 22, O.getNewId = U, O)), sa = (
462
462
  /** @class */
463
463
  (function(n) {
464
464
  We(o, n);
465
465
  function o() {
466
466
  var g = n.call(this) || this;
467
467
  g.priority = 110, g.identifier = xe;
468
- var l, E, c, f, a;
469
- return H(o, g, function(p, x) {
470
- C(), re(p, "context", {
468
+ var v, E, c, f, a;
469
+ return H(o, g, function(l, x) {
470
+ A(), re(l, "context", {
471
471
  g: function() {
472
472
  return f;
473
473
  }
474
- }), p.initialize = function(e, i, r, v) {
475
- x.initialize(e, i, r, v), t(e);
476
- }, p.processTelemetry = function(e, i) {
477
- if (!K(e)) {
478
- i = p._getTelCtx(i), e.name === te.envelopeType && i.diagLog().resetInternalMessageCount();
474
+ }), l.initialize = function(e, i, r, d) {
475
+ x.initialize(e, i, r, d), t(e);
476
+ }, l.processTelemetry = function(e, i) {
477
+ if (!z(e)) {
478
+ i = l._getTelCtx(i), e.name === te.envelopeType && i.diagLog().resetInternalMessageCount();
479
479
  var r = f || {};
480
480
  r[
481
481
  F
@@ -490,58 +490,58 @@ var Je = (
490
490
  q
491
491
  /* @min:%2esessionManager */
492
492
  ].update();
493
- var v = r.user;
494
- if (v && !v[
493
+ var d = r.user;
494
+ if (d && !d[
495
495
  B
496
496
  /* @min:%2eisUserCookieSet */
497
- ] && v.update(r.user.id), s(e, i), v && v[
497
+ ] && d.update(r.user.id), s(e, i), d && d[
498
498
  Q
499
499
  /* @min:%2eisNewUser */
500
- ] && (v[
500
+ ] && (d[
501
501
  Q
502
502
  /* @min:%2eisNewUser */
503
503
  ] = !1, !a)) {
504
504
  var P = new ce(72, (he() || {}).userAgent || "");
505
- Re(i.diagLog(), 1, P);
505
+ Ve(i.diagLog(), 1, P);
506
506
  }
507
- p.processNext(e, i);
507
+ l.processNext(e, i);
508
508
  }
509
- }, p._doTeardown = function(e, i) {
509
+ }, l._doTeardown = function(e, i) {
510
510
  var r = (e || {}).core();
511
511
  if (r && r[
512
- Z
512
+ $
513
513
  /* @min:%2egetTraceCtx */
514
514
  ]) {
515
- var v = r[
516
- Z
515
+ var d = r[
516
+ $
517
517
  /* @min:%2egetTraceCtx */
518
518
  ](!1);
519
- v === E && r.setTraceCtx(c);
519
+ d === E && r.setTraceCtx(c);
520
520
  }
521
- C();
521
+ A();
522
522
  };
523
- function C() {
524
- l = null, E = null, c = null, f = null, a = !0;
523
+ function A() {
524
+ v = null, E = null, c = null, f = null, a = !0;
525
525
  }
526
526
  function t(e) {
527
- var i = p.identifier, r = p.core;
528
- p._addHook(X(e, function() {
529
- var v = Ve(null, e, r);
530
- e.storagePrefix && De(e.storagePrefix), a = e.disableUserInitMessage !== !1, l = v.getExtCfg(i, ea), p._extConfig = l;
527
+ var i = l.identifier, r = l.core;
528
+ l._addHook(X(e, function() {
529
+ var d = Me(null, e, r);
530
+ e.storagePrefix && De(e.storagePrefix), a = e.disableUserInitMessage !== !1, v = d.getExtCfg(i, aa), l._extConfig = v;
531
531
  })), c = r[
532
- Z
532
+ $
533
533
  /* @min:%2egetTraceCtx */
534
- ](!1), f = new Je(r, l, c, p._unloadHooks), E = Ce(p.context[
534
+ ](!1), f = new ea(r, v, c, l._unloadHooks), E = Ae(l.context[
535
535
  ee
536
536
  /* @min:%2etelemetryTrace */
537
- ], c), r.setTraceCtx(E), p.context.appId = function() {
538
- var v = r.getPlugin(Ae);
539
- return v ? v.plugin._appId : null;
537
+ ], c), r.setTraceCtx(E), l.context.appId = function() {
538
+ var d = r.getPlugin(Ce);
539
+ return d ? d.plugin._appId : null;
540
540
  };
541
541
  }
542
542
  function s(e, i) {
543
543
  T(e, "tags", []), T(e, "ext", {});
544
- var r = p.context;
544
+ var r = l.context;
545
545
  r[
546
546
  ve
547
547
  /* @min:%2eapplySessionContext */
@@ -565,8 +565,8 @@ var Je = (
565
565
  }), g;
566
566
  }
567
567
  return o.__ieDyn = 1, o;
568
- })(Me)
568
+ })(je)
569
569
  );
570
570
  export {
571
- oa as P
571
+ sa as P
572
572
  };