@sailfish-ai/recorder 1.8.17 → 1.8.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/inAppReportIssueModal/integrations.js +27 -5
- package/dist/recorder.cjs +36 -36
- package/dist/recorder.js +5 -5
- package/dist/recorder.js.br +0 -0
- package/dist/recorder.js.gz +0 -0
- package/dist/recorder.umd.cjs +40 -40
- package/package.json +1 -1
|
@@ -208,7 +208,13 @@ export function updateFormWithIntegrationData(currentState) {
|
|
|
208
208
|
const teamSelect = document.getElementById("sf-eng-ticket-team");
|
|
209
209
|
if (teamSelect && hasTeams) {
|
|
210
210
|
populateSelectOptions(teamSelect, integrationData.teams, integrationData.defaultTeam);
|
|
211
|
-
|
|
211
|
+
// Preserve existing value if available, otherwise use DOM value
|
|
212
|
+
if (currentState.engTicketTeam) {
|
|
213
|
+
teamSelect.value = currentState.engTicketTeam;
|
|
214
|
+
}
|
|
215
|
+
else {
|
|
216
|
+
currentState.engTicketTeam = teamSelect.value;
|
|
217
|
+
}
|
|
212
218
|
}
|
|
213
219
|
// Update project dropdown
|
|
214
220
|
const projectSelect = document.getElementById("sf-eng-ticket-project");
|
|
@@ -218,21 +224,37 @@ export function updateFormWithIntegrationData(currentState) {
|
|
|
218
224
|
? getProjectsForTeam(currentState.engTicketTeam)
|
|
219
225
|
: integrationData.projects || [];
|
|
220
226
|
populateSelectOptions(projectSelect, projects, integrationData.defaultProject);
|
|
221
|
-
|
|
227
|
+
// Preserve existing value if available, otherwise use DOM value
|
|
228
|
+
if (currentState.engTicketProject) {
|
|
229
|
+
projectSelect.value = currentState.engTicketProject;
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
currentState.engTicketProject = projectSelect.value;
|
|
233
|
+
}
|
|
222
234
|
}
|
|
223
235
|
// Update priority dropdown with proper values
|
|
224
236
|
const prioritySelect = document.getElementById("sf-eng-ticket-priority");
|
|
225
237
|
if (prioritySelect) {
|
|
226
238
|
populatePriorityOptions(prioritySelect, integrationData.provider || "", integrationData.defaultPriority);
|
|
227
|
-
|
|
239
|
+
// Preserve existing value if available, otherwise use DOM value
|
|
240
|
+
if (currentState.engTicketPriority) {
|
|
241
|
+
prioritySelect.value = String(currentState.engTicketPriority);
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
currentState.engTicketPriority = Number(prioritySelect.value);
|
|
245
|
+
}
|
|
228
246
|
}
|
|
229
247
|
// Update issue type dropdown based on selected project (for Jira)
|
|
230
248
|
const issueTypeSelect = document.getElementById("sf-eng-ticket-type");
|
|
231
249
|
const isJira = integrationData.provider?.toLowerCase() === "jira";
|
|
232
250
|
if (issueTypeSelect && isJira && currentState.engTicketProject) {
|
|
233
251
|
updateIssueTypeOptions(issueTypeSelect, currentState.engTicketProject);
|
|
234
|
-
//
|
|
235
|
-
if (
|
|
252
|
+
// Preserve existing value if available, otherwise use DOM value
|
|
253
|
+
if (currentState.engTicketIssueType) {
|
|
254
|
+
issueTypeSelect.value = currentState.engTicketIssueType;
|
|
255
|
+
issueTypeSelect.style.color = "#000";
|
|
256
|
+
}
|
|
257
|
+
else if (issueTypeSelect.value) {
|
|
236
258
|
currentState.engTicketIssueType = issueTypeSelect.value;
|
|
237
259
|
}
|
|
238
260
|
}
|
package/dist/recorder.cjs
CHANGED
|
@@ -465,7 +465,7 @@ function initializeWebSocket(e, a, u, m2) {
|
|
|
465
465
|
const a2 = document.createElement("a");
|
|
466
466
|
return a2.href = e2, `${a2.hostname}${a2.port ? `:${a2.port}` : ""}`;
|
|
467
467
|
})(e);
|
|
468
|
-
let b2 = `${"https:" === new URL(e).protocol ? "wss" : "ws"}://${w2}/ws/notify/?apiKey=${a}&sessionId=${u}&sender=JS%2FTS&version=1.8.
|
|
468
|
+
let b2 = `${"https:" === new URL(e).protocol ? "wss" : "ws"}://${w2}/ws/notify/?apiKey=${a}&sessionId=${u}&sender=JS%2FTS&version=1.8.18`;
|
|
469
469
|
m2 && (b2 += `&envValue=${encodeURIComponent(m2)}`);
|
|
470
470
|
return oe = new U(b2, [], { connectionTimeout: 3e4 }), oe.addEventListener("open", () => {
|
|
471
471
|
ne && (console.log("[Sailfish] WebSocket connection opened"), console.log("[Sailfish] Function span tracking state: " + (ce ? "ENABLED" : "DISABLED"))), (async () => {
|
|
@@ -770,9 +770,9 @@ function requireArraySet() {
|
|
|
770
770
|
return this._array.slice();
|
|
771
771
|
}, Ee.ArraySet = ArraySet, Ee;
|
|
772
772
|
}
|
|
773
|
-
var Oe,
|
|
773
|
+
var Oe, Te, Le = {};
|
|
774
774
|
function requireMappingList() {
|
|
775
|
-
if (Oe) return
|
|
775
|
+
if (Oe) return Le;
|
|
776
776
|
Oe = 1;
|
|
777
777
|
var e = requireUtil();
|
|
778
778
|
function MappingList() {
|
|
@@ -787,11 +787,11 @@ function requireMappingList() {
|
|
|
787
787
|
})(this._last, a) ? (this._sorted = false, this._array.push(a)) : (this._last = a, this._array.push(a));
|
|
788
788
|
}, MappingList.prototype.toArray = function MappingList_toArray() {
|
|
789
789
|
return this._sorted || (this._array.sort(e.compareByGeneratedPositionsInflated), this._sorted = true), this._array;
|
|
790
|
-
},
|
|
790
|
+
}, Le.MappingList = MappingList, Le;
|
|
791
791
|
}
|
|
792
792
|
function requireSourceMapGenerator() {
|
|
793
|
-
if (
|
|
794
|
-
|
|
793
|
+
if (Te) return ve;
|
|
794
|
+
Te = 1;
|
|
795
795
|
var e = requireBase64Vlq(), a = requireUtil(), u = requireArraySet().ArraySet, m2 = requireMappingList().MappingList;
|
|
796
796
|
function SourceMapGenerator(e2) {
|
|
797
797
|
e2 || (e2 = {}), this._file = a.getArg(e2, "file", null), this._sourceRoot = a.getArg(e2, "sourceRoot", null), this._skipValidation = a.getArg(e2, "skipValidation", false), this._ignoreInvalidMapping = a.getArg(e2, "ignoreInvalidMapping", false), this._sources = new u(), this._names = new u(), this._mappings = new m2(), this._sourcesContents = null;
|
|
@@ -1395,10 +1395,10 @@ function updateFormWithIntegrationData(e) {
|
|
|
1395
1395
|
var _a2;
|
|
1396
1396
|
if (!ot) return e;
|
|
1397
1397
|
const a = ot.teams && Array.isArray(ot.teams) && ot.teams.length > 0, u = document.getElementById("sf-eng-ticket-team");
|
|
1398
|
-
u && a && (populateSelectOptions(u, ot.teams, ot.defaultTeam), e.engTicketTeam = u.value);
|
|
1398
|
+
u && a && (populateSelectOptions(u, ot.teams, ot.defaultTeam), e.engTicketTeam ? u.value = e.engTicketTeam : e.engTicketTeam = u.value);
|
|
1399
1399
|
const m2 = document.getElementById("sf-eng-ticket-project");
|
|
1400
1400
|
if (m2) {
|
|
1401
|
-
populateSelectOptions(m2, a ? getProjectsForTeam(e.engTicketTeam) : ot.projects || [], ot.defaultProject), e.engTicketProject = m2.value;
|
|
1401
|
+
populateSelectOptions(m2, a ? getProjectsForTeam(e.engTicketTeam) : ot.projects || [], ot.defaultProject), e.engTicketProject ? m2.value = e.engTicketProject : e.engTicketProject = m2.value;
|
|
1402
1402
|
}
|
|
1403
1403
|
const w2 = document.getElementById("sf-eng-ticket-priority");
|
|
1404
1404
|
w2 && (!(function populatePriorityOptions(e2, a2, u2) {
|
|
@@ -1411,9 +1411,9 @@ function updateFormWithIntegrationData(e) {
|
|
|
1411
1411
|
u3.value = a3.id, u3.textContent = a3.name, e2.appendChild(u3);
|
|
1412
1412
|
});
|
|
1413
1413
|
null != u2 ? e2.value = String(u2) : m3 || (e2.value = "0");
|
|
1414
|
-
})(w2, ot.provider || "", ot.defaultPriority), e.engTicketPriority = Number(w2.value));
|
|
1414
|
+
})(w2, ot.provider || "", ot.defaultPriority), e.engTicketPriority ? w2.value = String(e.engTicketPriority) : e.engTicketPriority = Number(w2.value));
|
|
1415
1415
|
const b2 = document.getElementById("sf-eng-ticket-type"), x2 = "jira" === ((_a2 = ot.provider) == null ? void 0 : _a2.toLowerCase());
|
|
1416
|
-
return b2 && x2 && e.engTicketProject && (updateIssueTypeOptions(b2, e.engTicketProject), b2.value && (e.engTicketIssueType = b2.value)), e;
|
|
1416
|
+
return b2 && x2 && e.engTicketProject && (updateIssueTypeOptions(b2, e.engTicketProject), e.engTicketIssueType ? (b2.value = e.engTicketIssueType, b2.style.color = "#000") : b2.value && (e.engTicketIssueType = b2.value)), e;
|
|
1417
1417
|
}
|
|
1418
1418
|
const st = "sf-create-issue-preference", it = "sf-create-eng-ticket-preference";
|
|
1419
1419
|
function getInitialState() {
|
|
@@ -3121,12 +3121,12 @@ let gn = pn, yn = class extends gn {
|
|
|
3121
3121
|
};
|
|
3122
3122
|
var wn = yn;
|
|
3123
3123
|
yn.default = yn;
|
|
3124
|
-
let bn, Sn, In, Mn, En = mn, _n = wn, On = pn, { isClean:
|
|
3124
|
+
let bn, Sn, In, Mn, En = mn, _n = wn, On = pn, { isClean: Tn, my: Ln } = on;
|
|
3125
3125
|
function _r(e) {
|
|
3126
3126
|
return e.map((e2) => (e2.nodes && (e2.nodes = _r(e2.nodes)), delete e2.source, e2));
|
|
3127
3127
|
}
|
|
3128
3128
|
function Wr(e) {
|
|
3129
|
-
if (e[
|
|
3129
|
+
if (e[Tn] = false, e.proxyOf.nodes) for (let a of e.proxyOf.nodes) Wr(a);
|
|
3130
3130
|
}
|
|
3131
3131
|
let Rn = class zr extends On {
|
|
3132
3132
|
get first() {
|
|
@@ -3198,7 +3198,7 @@ let Rn = class zr extends On {
|
|
|
3198
3198
|
if (!e.text) throw new Error("Unknown node type in node creation");
|
|
3199
3199
|
e = [new En(e)];
|
|
3200
3200
|
}
|
|
3201
|
-
return e.map((e2) => (e2[
|
|
3201
|
+
return e.map((e2) => (e2[Ln] || zr.rebuild(e2), (e2 = e2.proxyOf).parent && e2.parent.removeChild(e2), e2[Tn] && Wr(e2), e2.raws || (e2.raws = {}), typeof e2.raws.before > "u" && a && typeof a.raws.before < "u" && (e2.raws.before = a.raws.before.replace(/\S/g, "")), e2.parent = this.proxyOf, e2));
|
|
3202
3202
|
}
|
|
3203
3203
|
prepend(...e) {
|
|
3204
3204
|
e = e.reverse();
|
|
@@ -3285,7 +3285,7 @@ Rn.registerParse = (e) => {
|
|
|
3285
3285
|
};
|
|
3286
3286
|
var An = Rn;
|
|
3287
3287
|
Rn.default = Rn, Rn.rebuild = (e) => {
|
|
3288
|
-
"atrule" === e.type ? Object.setPrototypeOf(e, bn.prototype) : "rule" === e.type ? Object.setPrototypeOf(e, Mn.prototype) : "decl" === e.type ? Object.setPrototypeOf(e, _n.prototype) : "comment" === e.type ? Object.setPrototypeOf(e, En.prototype) : "root" === e.type && Object.setPrototypeOf(e, In.prototype), e[
|
|
3288
|
+
"atrule" === e.type ? Object.setPrototypeOf(e, bn.prototype) : "rule" === e.type ? Object.setPrototypeOf(e, Mn.prototype) : "decl" === e.type ? Object.setPrototypeOf(e, _n.prototype) : "comment" === e.type ? Object.setPrototypeOf(e, En.prototype) : "root" === e.type && Object.setPrototypeOf(e, In.prototype), e[Ln] = true, e.nodes && e.nodes.forEach((e2) => {
|
|
3289
3289
|
Rn.rebuild(e2);
|
|
3290
3290
|
});
|
|
3291
3291
|
};
|
|
@@ -4374,7 +4374,7 @@ let vs = rn, xs = so, Is = class {
|
|
|
4374
4374
|
};
|
|
4375
4375
|
var Ms = Is;
|
|
4376
4376
|
Is.default = Is;
|
|
4377
|
-
let Es = zn, _s = ys, Os = Ms,
|
|
4377
|
+
let Es = zn, _s = ys, Os = Ms, Ts = Pr, Ls = class {
|
|
4378
4378
|
constructor(e = []) {
|
|
4379
4379
|
this.version = "8.5.3", this.plugins = this.normalize(e);
|
|
4380
4380
|
}
|
|
@@ -4396,8 +4396,8 @@ let Es = zn, _s = ys, Os = Ms, Ls = Pr, Ts = class {
|
|
|
4396
4396
|
return this.plugins = this.plugins.concat(this.normalize([e])), this;
|
|
4397
4397
|
}
|
|
4398
4398
|
};
|
|
4399
|
-
var Rs =
|
|
4400
|
-
|
|
4399
|
+
var Rs = Ls;
|
|
4400
|
+
Ls.default = Ls, Ts.registerProcessor(Ls), Es.registerProcessor(Ls);
|
|
4401
4401
|
let As = Fn, Ns = mn, $s = An, js = Xt, Ws = wn, Gs = zn, qs = Yr, Vs = Sr, Hs = ys, Ks = Dr, Zs = pn, Ys = Ko, Xs = Rs, Qs = Qo, ei = Pr, ti = jr, si = rn, ii = Jo;
|
|
4402
4402
|
function L$1(...e) {
|
|
4403
4403
|
return 1 === e.length && Array.isArray(e[0]) && (e = e[0]), new Xs(e);
|
|
@@ -4984,7 +4984,7 @@ function xo({ scrollCb: e, doc: a, mirror: u, blockClass: m2, blockSelector: w2,
|
|
|
4984
4984
|
} else e({ id: C2, x: x2.scrollLeft, y: x2.scrollTop });
|
|
4985
4985
|
}), b2.scroll || 100)), a);
|
|
4986
4986
|
}
|
|
4987
|
-
const
|
|
4987
|
+
const Ti = ["INPUT", "TEXTAREA", "SELECT"], Li = /* @__PURE__ */ new WeakMap();
|
|
4988
4988
|
function ql({ deviceChangeCb: e }) {
|
|
4989
4989
|
const t = (a2, u2) => {
|
|
4990
4990
|
const m2 = a2.device.productName ? [a2.device.productName] : ["Unknown USB Device"];
|
|
@@ -5120,7 +5120,7 @@ function au(e, a = {}) {
|
|
|
5120
5120
|
function p(e3) {
|
|
5121
5121
|
let u3 = tt(e3);
|
|
5122
5122
|
const E4 = e3.isTrusted, O4 = u3 && u3.tagName;
|
|
5123
|
-
if (u3 && "OPTION" === O4 && (u3 = u3.parentElement), !u3 || !O4 ||
|
|
5123
|
+
if (u3 && "OPTION" === O4 && (u3 = u3.parentElement), !u3 || !O4 || Ti.indexOf(O4) < 0 || Z(u3, m3, w3, true) || u3.classList.contains(b3) || x3 && u3.matches(x3)) return;
|
|
5124
5124
|
let F4 = u3.value, D4 = false;
|
|
5125
5125
|
const $4 = Yt(u3) || "", { value: B2, masked: U2 } = Zt({ element: u3, maskInputOptions: C3, tagName: O4, type: $4, value: F4, maskInputFn: I3 });
|
|
5126
5126
|
F4 = B2, ("radio" === $4 || "checkbox" === $4) && (D4 = u3.checked), f2(u3, _3 ? { text: F4, isChecked: D4, masked: U2, userTriggered: E4 } : { text: F4, isChecked: D4, masked: U2 });
|
|
@@ -5133,9 +5133,9 @@ function au(e, a = {}) {
|
|
|
5133
5133
|
});
|
|
5134
5134
|
}
|
|
5135
5135
|
function f2(a3, m4) {
|
|
5136
|
-
const w4 =
|
|
5136
|
+
const w4 = Li.get(a3);
|
|
5137
5137
|
if (!w4 || w4.text !== m4.text || w4.isChecked !== m4.isChecked || w4.masked !== m4.masked) {
|
|
5138
|
-
|
|
5138
|
+
Li.set(a3, m4);
|
|
5139
5139
|
const w5 = u2.getId(a3);
|
|
5140
5140
|
M(e2)({ ...m4, id: w5 });
|
|
5141
5141
|
}
|
|
@@ -6135,7 +6135,7 @@ let Ma = Ia, Ea = class extends Ma {
|
|
|
6135
6135
|
};
|
|
6136
6136
|
var _a = Ea;
|
|
6137
6137
|
Ea.default = Ea;
|
|
6138
|
-
let Oa = Ia,
|
|
6138
|
+
let Oa = Ia, Ta = class extends Oa {
|
|
6139
6139
|
get variable() {
|
|
6140
6140
|
return this.prop.startsWith("--") || "$" === this.prop[0];
|
|
6141
6141
|
}
|
|
@@ -6143,9 +6143,9 @@ let Oa = Ia, La = class extends Oa {
|
|
|
6143
6143
|
e && typeof e.value < "u" && "string" != typeof e.value && (e = { ...e, value: String(e.value) }), super(e), this.type = "decl";
|
|
6144
6144
|
}
|
|
6145
6145
|
};
|
|
6146
|
-
var
|
|
6147
|
-
|
|
6148
|
-
let Ra, Aa, Na, Pa, Fa = _a, Da =
|
|
6146
|
+
var La = Ta;
|
|
6147
|
+
Ta.default = Ta;
|
|
6148
|
+
let Ra, Aa, Na, Pa, Fa = _a, Da = La, $a = Ia, { isClean: Ba, my: Ua } = wa;
|
|
6149
6149
|
function Wo(e) {
|
|
6150
6150
|
return e.map((e2) => (e2.nodes && (e2.nodes = Wo(e2.nodes)), delete e2.source, e2));
|
|
6151
6151
|
}
|
|
@@ -6537,9 +6537,9 @@ let Ol = { comma: (e) => Ol.split(e, [","], true), space(e) {
|
|
|
6537
6537
|
for (let u2 of e) E2 ? E2 = false : "\\" === u2 ? E2 = true : C2 ? u2 === I2 && (C2 = false) : '"' === u2 || "'" === u2 ? (C2 = true, I2 = u2) : "(" === u2 ? x2 += 1 : ")" === u2 ? x2 > 0 && (x2 -= 1) : 0 === x2 && a.includes(u2) && (b2 = true), b2 ? ("" !== w2 && m2.push(w2.trim()), w2 = "", b2 = false) : w2 += u2;
|
|
6538
6538
|
return (u || "" !== w2) && m2.push(w2.trim()), m2;
|
|
6539
6539
|
} };
|
|
6540
|
-
var
|
|
6540
|
+
var Tl = Ol;
|
|
6541
6541
|
Ol.default = Ol;
|
|
6542
|
-
let
|
|
6542
|
+
let Ll = za, Rl = Tl, Al = class extends Ll {
|
|
6543
6543
|
get selectors() {
|
|
6544
6544
|
return Rl.comma(this.selector);
|
|
6545
6545
|
}
|
|
@@ -6552,8 +6552,8 @@ let Tl = za, Rl = Ll, Al = class extends Tl {
|
|
|
6552
6552
|
}
|
|
6553
6553
|
};
|
|
6554
6554
|
var Nl = Al;
|
|
6555
|
-
Al.default = Al,
|
|
6556
|
-
let Pl = qa, Dl = _a, Jl =
|
|
6555
|
+
Al.default = Al, Ll.registerRule(Al);
|
|
6556
|
+
let Pl = qa, Dl = _a, Jl = La, ec = kl, tc = al, nc = El, rc = Nl;
|
|
6557
6557
|
function Ke(e, a) {
|
|
6558
6558
|
if (Array.isArray(e)) return e.map((e2) => Ke(e2));
|
|
6559
6559
|
let { inputs: u, ...m2 } = e;
|
|
@@ -6707,7 +6707,7 @@ var mc = class {
|
|
|
6707
6707
|
}
|
|
6708
6708
|
};
|
|
6709
6709
|
const gc = /[\t\n\f\r "#'()/;[\\\]{}]/g, yc = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, wc = /.[\r\n"'(/\\]/, bc = /[\da-f]/i;
|
|
6710
|
-
let Sc = qa, vc = _a, xc =
|
|
6710
|
+
let Sc = qa, vc = _a, xc = La, Ic = El, Mc = Nl, kc = function(e, a = {}) {
|
|
6711
6711
|
let u, m2, w2, b2, x2, C2, I2, E2, _2, O2, F2 = e.css.valueOf(), D2 = a.ignoreErrors, $2 = F2.length, B2 = 0, U2 = [], j2 = [];
|
|
6712
6712
|
function y2(a2) {
|
|
6713
6713
|
throw e.error("Unclosed " + a2, B2);
|
|
@@ -7038,9 +7038,9 @@ var _c = class {
|
|
|
7038
7038
|
throw this.input.error("At-rule without name", { offset: a[2] }, { offset: a[2] + a[1].length });
|
|
7039
7039
|
}
|
|
7040
7040
|
};
|
|
7041
|
-
let Oc = za,
|
|
7041
|
+
let Oc = za, Tc = kl, Lc = _c;
|
|
7042
7042
|
function Gt(e, a) {
|
|
7043
|
-
let u = new
|
|
7043
|
+
let u = new Tc(e, a), m2 = new Lc(u);
|
|
7044
7044
|
try {
|
|
7045
7045
|
m2.parse();
|
|
7046
7046
|
} catch (e2) {
|
|
@@ -7398,7 +7398,7 @@ let xu = ya, Cu = ni, Mu = class {
|
|
|
7398
7398
|
};
|
|
7399
7399
|
var Eu = Mu;
|
|
7400
7400
|
Mu.default = Mu;
|
|
7401
|
-
let _u = Ya, Ou = lu,
|
|
7401
|
+
let _u = Ya, Ou = lu, Tu = Eu, Lu = El, Ru = class {
|
|
7402
7402
|
constructor(e = []) {
|
|
7403
7403
|
this.version = "8.5.3", this.plugins = this.normalize(e);
|
|
7404
7404
|
}
|
|
@@ -7414,15 +7414,15 @@ let _u = Ya, Ou = lu, Lu = Eu, Tu = El, Ru = class {
|
|
|
7414
7414
|
return a;
|
|
7415
7415
|
}
|
|
7416
7416
|
process(e, a = {}) {
|
|
7417
|
-
return this.plugins.length || a.parser || a.stringifier || a.syntax ? new Ou(this, e, a) : new
|
|
7417
|
+
return this.plugins.length || a.parser || a.stringifier || a.syntax ? new Ou(this, e, a) : new Tu(this, e, a);
|
|
7418
7418
|
}
|
|
7419
7419
|
use(e) {
|
|
7420
7420
|
return this.plugins = this.plugins.concat(this.normalize([e])), this;
|
|
7421
7421
|
}
|
|
7422
7422
|
};
|
|
7423
7423
|
var Au = Ru;
|
|
7424
|
-
Ru.default = Ru,
|
|
7425
|
-
let Nu = qa, Pu = _a, Fu = za, Du = pa, $u =
|
|
7424
|
+
Ru.default = Ru, Lu.registerProcessor(Ru), _u.registerProcessor(Ru);
|
|
7425
|
+
let Nu = qa, Pu = _a, Fu = za, Du = pa, $u = La, Uu = Ya, ju = oc, zu = kl, Wu = lu, Gu = Tl, qu = Ia, Vu = Rc, Hu = Au, Ku = Dc, Zu = El, Ju = Nl, Yu = ya, Xu = Nc;
|
|
7426
7426
|
function T$1(...e) {
|
|
7427
7427
|
return 1 === e.length && Array.isArray(e[0]) && (e = e[0]), new Hu(e);
|
|
7428
7428
|
}
|
package/dist/recorder.js
CHANGED
|
@@ -465,7 +465,7 @@ function initializeWebSocket(e, a, u, m2) {
|
|
|
465
465
|
const a2 = document.createElement("a");
|
|
466
466
|
return a2.href = e2, `${a2.hostname}${a2.port ? `:${a2.port}` : ""}`;
|
|
467
467
|
})(e);
|
|
468
|
-
let b2 = `${"https:" === new URL(e).protocol ? "wss" : "ws"}://${w2}/ws/notify/?apiKey=${a}&sessionId=${u}&sender=JS%2FTS&version=1.8.
|
|
468
|
+
let b2 = `${"https:" === new URL(e).protocol ? "wss" : "ws"}://${w2}/ws/notify/?apiKey=${a}&sessionId=${u}&sender=JS%2FTS&version=1.8.18`;
|
|
469
469
|
m2 && (b2 += `&envValue=${encodeURIComponent(m2)}`);
|
|
470
470
|
return se = new U(b2, [], { connectionTimeout: 3e4 }), se.addEventListener("open", () => {
|
|
471
471
|
re && (console.log("[Sailfish] WebSocket connection opened"), console.log("[Sailfish] Function span tracking state: " + (de ? "ENABLED" : "DISABLED"))), (async () => {
|
|
@@ -1395,10 +1395,10 @@ function updateFormWithIntegrationData(e) {
|
|
|
1395
1395
|
var _a2;
|
|
1396
1396
|
if (!st) return e;
|
|
1397
1397
|
const a = st.teams && Array.isArray(st.teams) && st.teams.length > 0, u = document.getElementById("sf-eng-ticket-team");
|
|
1398
|
-
u && a && (populateSelectOptions(u, st.teams, st.defaultTeam), e.engTicketTeam = u.value);
|
|
1398
|
+
u && a && (populateSelectOptions(u, st.teams, st.defaultTeam), e.engTicketTeam ? u.value = e.engTicketTeam : e.engTicketTeam = u.value);
|
|
1399
1399
|
const m2 = document.getElementById("sf-eng-ticket-project");
|
|
1400
1400
|
if (m2) {
|
|
1401
|
-
populateSelectOptions(m2, a ? getProjectsForTeam(e.engTicketTeam) : st.projects || [], st.defaultProject), e.engTicketProject = m2.value;
|
|
1401
|
+
populateSelectOptions(m2, a ? getProjectsForTeam(e.engTicketTeam) : st.projects || [], st.defaultProject), e.engTicketProject ? m2.value = e.engTicketProject : e.engTicketProject = m2.value;
|
|
1402
1402
|
}
|
|
1403
1403
|
const w2 = document.getElementById("sf-eng-ticket-priority");
|
|
1404
1404
|
w2 && (!(function populatePriorityOptions(e2, a2, u2) {
|
|
@@ -1411,9 +1411,9 @@ function updateFormWithIntegrationData(e) {
|
|
|
1411
1411
|
u3.value = a3.id, u3.textContent = a3.name, e2.appendChild(u3);
|
|
1412
1412
|
});
|
|
1413
1413
|
null != u2 ? e2.value = String(u2) : m3 || (e2.value = "0");
|
|
1414
|
-
})(w2, st.provider || "", st.defaultPriority), e.engTicketPriority = Number(w2.value));
|
|
1414
|
+
})(w2, st.provider || "", st.defaultPriority), e.engTicketPriority ? w2.value = String(e.engTicketPriority) : e.engTicketPriority = Number(w2.value));
|
|
1415
1415
|
const b2 = document.getElementById("sf-eng-ticket-type"), C2 = "jira" === ((_a2 = st.provider) == null ? void 0 : _a2.toLowerCase());
|
|
1416
|
-
return b2 && C2 && e.engTicketProject && (updateIssueTypeOptions(b2, e.engTicketProject), b2.value && (e.engTicketIssueType = b2.value)), e;
|
|
1416
|
+
return b2 && C2 && e.engTicketProject && (updateIssueTypeOptions(b2, e.engTicketProject), e.engTicketIssueType ? (b2.value = e.engTicketIssueType, b2.style.color = "#000") : b2.value && (e.engTicketIssueType = b2.value)), e;
|
|
1417
1417
|
}
|
|
1418
1418
|
const it = "sf-create-issue-preference", at = "sf-create-eng-ticket-preference";
|
|
1419
1419
|
function getInitialState() {
|
package/dist/recorder.js.br
CHANGED
|
Binary file
|
package/dist/recorder.js.gz
CHANGED
|
Binary file
|
package/dist/recorder.umd.cjs
CHANGED
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
const a3 = document.createElement("a");
|
|
468
468
|
return a3.href = e3, `${a3.hostname}${a3.port ? `:${a3.port}` : ""}`;
|
|
469
469
|
})(e2);
|
|
470
|
-
let b2 = `${"https:" === new URL(e2).protocol ? "wss" : "ws"}://${w2}/ws/notify/?apiKey=${a2}&sessionId=${u2}&sender=JS%2FTS&version=1.8.
|
|
470
|
+
let b2 = `${"https:" === new URL(e2).protocol ? "wss" : "ws"}://${w2}/ws/notify/?apiKey=${a2}&sessionId=${u2}&sender=JS%2FTS&version=1.8.18`;
|
|
471
471
|
m2 && (b2 += `&envValue=${encodeURIComponent(m2)}`);
|
|
472
472
|
return se = new j(b2, [], { connectionTimeout: 3e4 }), se.addEventListener("open", () => {
|
|
473
473
|
re && (console.log("[Sailfish] WebSocket connection opened"), console.log("[Sailfish] Function span tracking state: " + (de ? "ENABLED" : "DISABLED"))), (async () => {
|
|
@@ -772,10 +772,10 @@
|
|
|
772
772
|
return this._array.slice();
|
|
773
773
|
}, Oe.ArraySet = ArraySet, Oe;
|
|
774
774
|
}
|
|
775
|
-
var
|
|
775
|
+
var Te, Le, Ae = {};
|
|
776
776
|
function requireMappingList() {
|
|
777
|
-
if (
|
|
778
|
-
|
|
777
|
+
if (Te) return Ae;
|
|
778
|
+
Te = 1;
|
|
779
779
|
var e2 = requireUtil();
|
|
780
780
|
function MappingList() {
|
|
781
781
|
this._array = [], this._sorted = true, this._last = { generatedLine: -1, generatedColumn: 0 };
|
|
@@ -792,8 +792,8 @@
|
|
|
792
792
|
}, Ae.MappingList = MappingList, Ae;
|
|
793
793
|
}
|
|
794
794
|
function requireSourceMapGenerator() {
|
|
795
|
-
if (
|
|
796
|
-
|
|
795
|
+
if (Le) return ke;
|
|
796
|
+
Le = 1;
|
|
797
797
|
var e2 = requireBase64Vlq(), a2 = requireUtil(), u2 = requireArraySet().ArraySet, m2 = requireMappingList().MappingList;
|
|
798
798
|
function SourceMapGenerator(e3) {
|
|
799
799
|
e3 || (e3 = {}), this._file = a2.getArg(e3, "file", null), this._sourceRoot = a2.getArg(e3, "sourceRoot", null), this._skipValidation = a2.getArg(e3, "skipValidation", false), this._ignoreInvalidMapping = a2.getArg(e3, "ignoreInvalidMapping", false), this._sources = new u2(), this._names = new u2(), this._mappings = new m2(), this._sourcesContents = null;
|
|
@@ -1397,10 +1397,10 @@
|
|
|
1397
1397
|
var _a2;
|
|
1398
1398
|
if (!st) return e2;
|
|
1399
1399
|
const a2 = st.teams && Array.isArray(st.teams) && st.teams.length > 0, u2 = document.getElementById("sf-eng-ticket-team");
|
|
1400
|
-
u2 && a2 && (populateSelectOptions(u2, st.teams, st.defaultTeam), e2.engTicketTeam = u2.value);
|
|
1400
|
+
u2 && a2 && (populateSelectOptions(u2, st.teams, st.defaultTeam), e2.engTicketTeam ? u2.value = e2.engTicketTeam : e2.engTicketTeam = u2.value);
|
|
1401
1401
|
const m2 = document.getElementById("sf-eng-ticket-project");
|
|
1402
1402
|
if (m2) {
|
|
1403
|
-
populateSelectOptions(m2, a2 ? getProjectsForTeam(e2.engTicketTeam) : st.projects || [], st.defaultProject), e2.engTicketProject = m2.value;
|
|
1403
|
+
populateSelectOptions(m2, a2 ? getProjectsForTeam(e2.engTicketTeam) : st.projects || [], st.defaultProject), e2.engTicketProject ? m2.value = e2.engTicketProject : e2.engTicketProject = m2.value;
|
|
1404
1404
|
}
|
|
1405
1405
|
const w2 = document.getElementById("sf-eng-ticket-priority");
|
|
1406
1406
|
w2 && (!(function populatePriorityOptions(e3, a3, u3) {
|
|
@@ -1413,9 +1413,9 @@
|
|
|
1413
1413
|
u4.value = a4.id, u4.textContent = a4.name, e3.appendChild(u4);
|
|
1414
1414
|
});
|
|
1415
1415
|
null != u3 ? e3.value = String(u3) : m3 || (e3.value = "0");
|
|
1416
|
-
})(w2, st.provider || "", st.defaultPriority), e2.engTicketPriority = Number(w2.value));
|
|
1416
|
+
})(w2, st.provider || "", st.defaultPriority), e2.engTicketPriority ? w2.value = String(e2.engTicketPriority) : e2.engTicketPriority = Number(w2.value));
|
|
1417
1417
|
const b2 = document.getElementById("sf-eng-ticket-type"), C2 = "jira" === ((_a2 = st.provider) == null ? void 0 : _a2.toLowerCase());
|
|
1418
|
-
return b2 && C2 && e2.engTicketProject && (updateIssueTypeOptions(b2, e2.engTicketProject), b2.value && (e2.engTicketIssueType = b2.value)), e2;
|
|
1418
|
+
return b2 && C2 && e2.engTicketProject && (updateIssueTypeOptions(b2, e2.engTicketProject), e2.engTicketIssueType ? (b2.value = e2.engTicketIssueType, b2.style.color = "#000") : b2.value && (e2.engTicketIssueType = b2.value)), e2;
|
|
1419
1419
|
}
|
|
1420
1420
|
const it = "sf-create-issue-preference", at = "sf-create-eng-ticket-preference";
|
|
1421
1421
|
function getInitialState() {
|
|
@@ -3123,14 +3123,14 @@
|
|
|
3123
3123
|
};
|
|
3124
3124
|
var bn = wn;
|
|
3125
3125
|
wn.default = wn;
|
|
3126
|
-
let Sn, In, Mn, En, _n = gn, On = bn,
|
|
3126
|
+
let Sn, In, Mn, En, _n = gn, On = bn, Tn = hn, { isClean: Ln, my: Rn } = sn;
|
|
3127
3127
|
function _r(e2) {
|
|
3128
3128
|
return e2.map((e3) => (e3.nodes && (e3.nodes = _r(e3.nodes)), delete e3.source, e3));
|
|
3129
3129
|
}
|
|
3130
3130
|
function Wr(e2) {
|
|
3131
|
-
if (e2[
|
|
3131
|
+
if (e2[Ln] = false, e2.proxyOf.nodes) for (let a2 of e2.proxyOf.nodes) Wr(a2);
|
|
3132
3132
|
}
|
|
3133
|
-
let An = class zr extends
|
|
3133
|
+
let An = class zr extends Tn {
|
|
3134
3134
|
get first() {
|
|
3135
3135
|
if (this.proxyOf.nodes) return this.proxyOf.nodes[0];
|
|
3136
3136
|
}
|
|
@@ -3200,7 +3200,7 @@
|
|
|
3200
3200
|
if (!e2.text) throw new Error("Unknown node type in node creation");
|
|
3201
3201
|
e2 = [new _n(e2)];
|
|
3202
3202
|
}
|
|
3203
|
-
return e2.map((e3) => (e3[Rn] || zr.rebuild(e3), (e3 = e3.proxyOf).parent && e3.parent.removeChild(e3), e3[
|
|
3203
|
+
return e2.map((e3) => (e3[Rn] || zr.rebuild(e3), (e3 = e3.proxyOf).parent && e3.parent.removeChild(e3), e3[Ln] && Wr(e3), e3.raws || (e3.raws = {}), typeof e3.raws.before > "u" && a2 && typeof a2.raws.before < "u" && (e3.raws.before = a2.raws.before.replace(/\S/g, "")), e3.parent = this.proxyOf, e3));
|
|
3204
3204
|
}
|
|
3205
3205
|
prepend(...e2) {
|
|
3206
3206
|
e2 = e2.reverse();
|
|
@@ -4376,7 +4376,7 @@
|
|
|
4376
4376
|
};
|
|
4377
4377
|
var Es = Ms;
|
|
4378
4378
|
Ms.default = Ms;
|
|
4379
|
-
let _s = Wn, Os = ws,
|
|
4379
|
+
let _s = Wn, Os = ws, Ts = Es, Ls = Fr, Rs = class {
|
|
4380
4380
|
constructor(e2 = []) {
|
|
4381
4381
|
this.version = "8.5.3", this.plugins = this.normalize(e2);
|
|
4382
4382
|
}
|
|
@@ -4392,14 +4392,14 @@
|
|
|
4392
4392
|
return a2;
|
|
4393
4393
|
}
|
|
4394
4394
|
process(e2, a2 = {}) {
|
|
4395
|
-
return this.plugins.length || a2.parser || a2.stringifier || a2.syntax ? new Os(this, e2, a2) : new
|
|
4395
|
+
return this.plugins.length || a2.parser || a2.stringifier || a2.syntax ? new Os(this, e2, a2) : new Ts(this, e2, a2);
|
|
4396
4396
|
}
|
|
4397
4397
|
use(e2) {
|
|
4398
4398
|
return this.plugins = this.plugins.concat(this.normalize([e2])), this;
|
|
4399
4399
|
}
|
|
4400
4400
|
};
|
|
4401
4401
|
var As = Rs;
|
|
4402
|
-
Rs.default = Rs,
|
|
4402
|
+
Rs.default = Rs, Ls.registerProcessor(Rs), _s.registerProcessor(Rs);
|
|
4403
4403
|
let Ns = Dn, $s = gn, js = Nn, Ws = Qt, Gs = bn, qs = Wn, Vs = Xr, Hs = Cr, Ks = ws, Zs = $r, Ys = hn, Xs = Zo, Qs = As, ei = es, ti = Fr, si = Gr, ii = on, ai = Yo;
|
|
4404
4404
|
function L$1(...e2) {
|
|
4405
4405
|
return 1 === e2.length && Array.isArray(e2[0]) && (e2 = e2[0]), new Qs(e2);
|
|
@@ -4910,7 +4910,7 @@
|
|
|
4910
4910
|
const { parentNode: u2 } = a2;
|
|
4911
4911
|
return !!u2 && (!!e2.has(u2) || ko(e2, u2));
|
|
4912
4912
|
}
|
|
4913
|
-
const
|
|
4913
|
+
const Ti = [];
|
|
4914
4914
|
function tt(e2) {
|
|
4915
4915
|
try {
|
|
4916
4916
|
if ("composedPath" in e2) {
|
|
@@ -4924,7 +4924,7 @@
|
|
|
4924
4924
|
function Co(e2, a2) {
|
|
4925
4925
|
var u2, m2;
|
|
4926
4926
|
const w2 = new Zl();
|
|
4927
|
-
|
|
4927
|
+
Ti.push(w2), w2.init(e2);
|
|
4928
4928
|
let b2 = window.MutationObserver || window.__rrMutationObserver;
|
|
4929
4929
|
const C2 = null == (m2 = null == (u2 = null == window ? void 0 : window.Zone) ? void 0 : u2.__symbol__) ? void 0 : m2.call(u2, "MutationObserver");
|
|
4930
4930
|
C2 && window[C2] && (b2 = window[C2]);
|
|
@@ -4986,7 +4986,7 @@
|
|
|
4986
4986
|
} else e2({ id: x2, x: C2.scrollLeft, y: C2.scrollTop });
|
|
4987
4987
|
}), b2.scroll || 100)), a2);
|
|
4988
4988
|
}
|
|
4989
|
-
const
|
|
4989
|
+
const Li = ["INPUT", "TEXTAREA", "SELECT"], Ri = /* @__PURE__ */ new WeakMap();
|
|
4990
4990
|
function ql({ deviceChangeCb: e2 }) {
|
|
4991
4991
|
const t = (a3, u3) => {
|
|
4992
4992
|
const m2 = a3.device.productName ? [a3.device.productName] : ["Unknown USB Device"];
|
|
@@ -5122,7 +5122,7 @@
|
|
|
5122
5122
|
function p(e4) {
|
|
5123
5123
|
let u4 = tt(e4);
|
|
5124
5124
|
const E4 = e4.isTrusted, O4 = u4 && u4.tagName;
|
|
5125
|
-
if (u4 && "OPTION" === O4 && (u4 = u4.parentElement), !u4 || !O4 ||
|
|
5125
|
+
if (u4 && "OPTION" === O4 && (u4 = u4.parentElement), !u4 || !O4 || Li.indexOf(O4) < 0 || Z(u4, m3, w3, true) || u4.classList.contains(b3) || C3 && u4.matches(C3)) return;
|
|
5126
5126
|
let F4 = u4.value, D4 = false;
|
|
5127
5127
|
const $4 = Yt(u4) || "", { value: B2, masked: U2 } = Zt({ element: u4, maskInputOptions: x3, tagName: O4, type: $4, value: F4, maskInputFn: I3 });
|
|
5128
5128
|
F4 = B2, ("radio" === $4 || "checkbox" === $4) && (D4 = u4.checked), f2(u4, _3 ? { text: F4, isChecked: D4, masked: U2, userTriggered: E4 } : { text: F4, isChecked: D4, masked: U2 });
|
|
@@ -5311,7 +5311,7 @@
|
|
|
5311
5311
|
})(e2), $2 = [];
|
|
5312
5312
|
for (const a3 of e2.plugins) $2.push(a3.observer(a3.callback, u2, a3.options));
|
|
5313
5313
|
return M(() => {
|
|
5314
|
-
|
|
5314
|
+
Ti.forEach((e3) => e3.reset()), null == m2 || m2.disconnect(), w2(), b2(), C2(), x2(), I2(), E2(), O2(), f(), d(), g2(), h(), F2(), D2(), _2(), $2.forEach((e3) => e3());
|
|
5315
5315
|
});
|
|
5316
5316
|
}
|
|
5317
5317
|
function ft(e2) {
|
|
@@ -5662,7 +5662,7 @@
|
|
|
5662
5662
|
Qi = (e3, w3) => {
|
|
5663
5663
|
var b3;
|
|
5664
5664
|
const C3 = e3;
|
|
5665
|
-
if (C3.timestamp = Mi(), null != (b3 =
|
|
5665
|
+
if (C3.timestamp = Mi(), null != (b3 = Ti[0]) && b3.isFrozen() && C3.type !== ui.FullSnapshot && !(C3.type === ui.IncrementalSnapshot && C3.data.source === di.Mutation) && Ti.forEach((e4) => e4.unfreeze()), ie2) null == a2 || a2(vn(C3), w3);
|
|
5666
5666
|
else if (le2) {
|
|
5667
5667
|
const e4 = { type: "@sailfish-rrweb/rrweb", event: vn(C3), origin: window.location.origin, isCheckout: w3 };
|
|
5668
5668
|
window.parent.postMessage(e4, "*");
|
|
@@ -5684,7 +5684,7 @@
|
|
|
5684
5684
|
const we2 = new wu({ mutationCb: rt, scrollCb: kn, bypassOptions: { blockClass: w2, blockSelector: b2, maskTextClass: I2, maskTextSelector: E2, inlineStylesheet: _2, maskInputOptions: ce2, dataURLOptions: q2, maskTextFn: B2, maskInputFn: $2, recordCanvas: J2, inlineImages: te2, sampling: z2, slimDOMOptions: de2, iframeManager: ge2, stylesheetManager: me2, canvasManager: ta, keepIframeSrcFn: re2, processedNodeManager: ye2 }, mirror: oa });
|
|
5685
5685
|
ea = (e3 = false) => {
|
|
5686
5686
|
if (!H2) return;
|
|
5687
|
-
Qi({ type: ui.Meta, data: { href: window.location.href, width: mo(), height: fo() } }, e3), me2.reset(), we2.init(),
|
|
5687
|
+
Qi({ type: ui.Meta, data: { href: window.location.href, width: mo(), height: fo() } }, e3), me2.reset(), we2.init(), Ti.forEach((e4) => e4.lock());
|
|
5688
5688
|
const a3 = (function Zi(e4, a4) {
|
|
5689
5689
|
const { mirror: u3 = new vt(), blockClass: m3 = "rr-block", blockSelector: w3 = null, maskTextClass: b3 = "rr-mask", maskTextSelector: C3 = null, inlineStylesheet: x3 = true, inlineImages: I3 = false, recordCanvas: E3 = false, maskAllInputs: _3 = false, maskTextFn: O3, maskInputFn: F3, slimDOM: D3 = false, dataURLOptions: $3, preserveWhiteSpace: B3, onSerialize: U3, onIframeLoad: j3, iframeLoadTimeout: z3, onStylesheetLoad: q3, stylesheetLoadTimeout: V3, keepIframeSrcFn: H3 = () => false } = a4 || {};
|
|
5690
5690
|
return Se(e4, { doc: e4, mirror: u3, blockClass: m3, blockSelector: w3, maskTextClass: b3, maskTextSelector: C3, skipChild: false, inlineStylesheet: x3, maskInputOptions: true === _3 ? { color: true, date: true, "datetime-local": true, email: true, month: true, number: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true, textarea: true, select: true, password: true } : false === _3 ? { password: true } : _3, maskTextFn: O3, maskInputFn: F3, slimDOMOptions: true === D3 || "all" === D3 ? { script: true, comment: true, headFavicon: true, headWhitespace: true, headMetaDescKeywords: "all" === D3, headMetaSocial: true, headMetaRobots: true, headMetaHttpEquiv: true, headMetaAuthorship: true, headMetaVerification: true } : false === D3 ? {} : D3, dataURLOptions: $3, inlineImages: I3, recordCanvas: E3, preserveWhiteSpace: B3, onSerialize: U3, onIframeLoad: j3, iframeLoadTimeout: z3, onStylesheetLoad: q3, stylesheetLoadTimeout: V3, keepIframeSrcFn: H3, newlyAddedElement: false });
|
|
@@ -5696,7 +5696,7 @@
|
|
|
5696
5696
|
me2.attachLinkElement(e4, a4);
|
|
5697
5697
|
}, keepIframeSrcFn: re2 });
|
|
5698
5698
|
if (!a3) return console.warn("Failed to snapshot the document");
|
|
5699
|
-
Qi({ type: ui.FullSnapshot, data: { node: a3, initialOffset: po(window) } }, e3),
|
|
5699
|
+
Qi({ type: ui.FullSnapshot, data: { node: a3, initialOffset: po(window) } }, e3), Ti.forEach((e4) => e4.unlock()), document.adoptedStyleSheets && document.adoptedStyleSheets.length > 0 && me2.adoptStyleSheets(document.adoptedStyleSheets, oa.getId(document));
|
|
5700
5700
|
};
|
|
5701
5701
|
try {
|
|
5702
5702
|
const e3 = [], K = (e4) => {
|
|
@@ -5760,7 +5760,7 @@
|
|
|
5760
5760
|
if (!na) throw new Error("please add Sailfish event after start recording");
|
|
5761
5761
|
Qi({ type: e2, data: { tag: "sailfish-zendesk-test-tag", payload: a2 } });
|
|
5762
5762
|
}, ae.freezePage = () => {
|
|
5763
|
-
|
|
5763
|
+
Ti.forEach((e2) => e2.freeze());
|
|
5764
5764
|
}, ae.takeFullSnapshot = (e2) => {
|
|
5765
5765
|
if (!na) throw new Error("please take full snapshot after start recording");
|
|
5766
5766
|
ea(e2);
|
|
@@ -6137,7 +6137,7 @@
|
|
|
6137
6137
|
};
|
|
6138
6138
|
var Oa = _a;
|
|
6139
6139
|
_a.default = _a;
|
|
6140
|
-
let
|
|
6140
|
+
let Ta = Ma, La = class extends Ta {
|
|
6141
6141
|
get variable() {
|
|
6142
6142
|
return this.prop.startsWith("--") || "$" === this.prop[0];
|
|
6143
6143
|
}
|
|
@@ -6145,8 +6145,8 @@
|
|
|
6145
6145
|
e2 && typeof e2.value < "u" && "string" != typeof e2.value && (e2 = { ...e2, value: String(e2.value) }), super(e2), this.type = "decl";
|
|
6146
6146
|
}
|
|
6147
6147
|
};
|
|
6148
|
-
var Ra =
|
|
6149
|
-
|
|
6148
|
+
var Ra = La;
|
|
6149
|
+
La.default = La;
|
|
6150
6150
|
let Aa, Na, Pa, Fa, Da = Oa, $a = Ra, Ba = Ma, { isClean: Ua, my: ja } = ba;
|
|
6151
6151
|
function Wo(e2) {
|
|
6152
6152
|
return e2.map((e3) => (e3.nodes && (e3.nodes = Wo(e3.nodes)), delete e3.source, e3));
|
|
@@ -6531,17 +6531,17 @@
|
|
|
6531
6531
|
};
|
|
6532
6532
|
var Ol = El;
|
|
6533
6533
|
El.default = El, Ml.registerRoot(El);
|
|
6534
|
-
let
|
|
6534
|
+
let Tl = { comma: (e2) => Tl.split(e2, [","], true), space(e2) {
|
|
6535
6535
|
let a2 = [" ", "\n", " "];
|
|
6536
|
-
return
|
|
6536
|
+
return Tl.split(e2, a2);
|
|
6537
6537
|
}, split(e2, a2, u2) {
|
|
6538
6538
|
let m2 = [], w2 = "", b2 = false, C2 = 0, x2 = false, I2 = "", E2 = false;
|
|
6539
6539
|
for (let u3 of e2) E2 ? E2 = false : "\\" === u3 ? E2 = true : x2 ? u3 === I2 && (x2 = false) : '"' === u3 || "'" === u3 ? (x2 = true, I2 = u3) : "(" === u3 ? C2 += 1 : ")" === u3 ? C2 > 0 && (C2 -= 1) : 0 === C2 && a2.includes(u3) && (b2 = true), b2 ? ("" !== w2 && m2.push(w2.trim()), w2 = "", b2 = false) : w2 += u3;
|
|
6540
6540
|
return (u2 || "" !== w2) && m2.push(w2.trim()), m2;
|
|
6541
6541
|
} };
|
|
6542
|
-
var
|
|
6543
|
-
|
|
6544
|
-
let Rl = Wa, Al =
|
|
6542
|
+
var Ll = Tl;
|
|
6543
|
+
Tl.default = Tl;
|
|
6544
|
+
let Rl = Wa, Al = Ll, Nl = class extends Rl {
|
|
6545
6545
|
get selectors() {
|
|
6546
6546
|
return Al.comma(this.selector);
|
|
6547
6547
|
}
|
|
@@ -7040,9 +7040,9 @@
|
|
|
7040
7040
|
throw this.input.error("At-rule without name", { offset: a2[2] }, { offset: a2[2] + a2[1].length });
|
|
7041
7041
|
}
|
|
7042
7042
|
};
|
|
7043
|
-
let
|
|
7043
|
+
let Tc = Wa, Lc = Cl, Rc = Oc;
|
|
7044
7044
|
function Gt(e2, a2) {
|
|
7045
|
-
let u2 = new
|
|
7045
|
+
let u2 = new Lc(e2, a2), m2 = new Rc(u2);
|
|
7046
7046
|
try {
|
|
7047
7047
|
m2.parse();
|
|
7048
7048
|
} catch (e3) {
|
|
@@ -7051,7 +7051,7 @@
|
|
|
7051
7051
|
return m2.root;
|
|
7052
7052
|
}
|
|
7053
7053
|
var Ac = Gt;
|
|
7054
|
-
Gt.default = Gt,
|
|
7054
|
+
Gt.default = Gt, Tc.registerParse(Gt);
|
|
7055
7055
|
let Nc = class {
|
|
7056
7056
|
constructor(e2, a2 = {}) {
|
|
7057
7057
|
if (this.type = "warning", this.text = e2, a2.node && a2.node.source) {
|
|
@@ -7400,7 +7400,7 @@
|
|
|
7400
7400
|
};
|
|
7401
7401
|
var _u = Eu;
|
|
7402
7402
|
Eu.default = Eu;
|
|
7403
|
-
let Ou = Qa,
|
|
7403
|
+
let Ou = Qa, Tu = cu, Lu = _u, Ru = Ol, Au = class {
|
|
7404
7404
|
constructor(e2 = []) {
|
|
7405
7405
|
this.version = "8.5.3", this.plugins = this.normalize(e2);
|
|
7406
7406
|
}
|
|
@@ -7416,7 +7416,7 @@
|
|
|
7416
7416
|
return a2;
|
|
7417
7417
|
}
|
|
7418
7418
|
process(e2, a2 = {}) {
|
|
7419
|
-
return this.plugins.length || a2.parser || a2.stringifier || a2.syntax ? new
|
|
7419
|
+
return this.plugins.length || a2.parser || a2.stringifier || a2.syntax ? new Tu(this, e2, a2) : new Lu(this, e2, a2);
|
|
7420
7420
|
}
|
|
7421
7421
|
use(e2) {
|
|
7422
7422
|
return this.plugins = this.plugins.concat(this.normalize([e2])), this;
|
|
@@ -7424,7 +7424,7 @@
|
|
|
7424
7424
|
};
|
|
7425
7425
|
var Nu = Au;
|
|
7426
7426
|
Au.default = Au, Ru.registerProcessor(Au), Ou.registerProcessor(Au);
|
|
7427
|
-
let Pu = Va, Fu = Oa, Du = Wa, $u = ha, Uu = Ra, ju = Qa, zu = sc, Wu = Cl, Gu = cu, qu =
|
|
7427
|
+
let Pu = Va, Fu = Oa, Du = Wa, $u = ha, Uu = Ra, ju = Qa, zu = sc, Wu = Cl, Gu = cu, qu = Ll, Vu = Ma, Hu = Ac, Ku = Nu, Zu = $c, Ju = Ol, Yu = Pl, Xu = wa, Qu = Pc;
|
|
7428
7428
|
function T$1(...e2) {
|
|
7429
7429
|
return 1 === e2.length && Array.isArray(e2[0]) && (e2 = e2[0]), new Ku(e2);
|
|
7430
7430
|
}
|