@appcues/web-sdk 7.16.0 → 7.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{index.COmFqR_V.js → index.KajA99Iz.js} +1 -1
- package/build/{index.MoDAiKcs.js → index.lsMLtC09.js} +10 -10
- package/build/{index.npm.CfzLoV--.js → index.npm.CorVAyQZ.js} +1 -1
- package/build/index.npm.js +1 -1
- package/build/{open-builder.C3kA6hYi.js → open-builder.Cdda7caO.js} +12 -9
- package/package.json +1 -1
- /package/build/{checklist.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → checklist.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css} +0 -0
- /package/build/{container.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → container.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css} +0 -0
- /package/build/{debugger.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → debugger.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css} +0 -0
- /package/build/{modal-step-legacy-render.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → modal-step-legacy-render.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css} +0 -0
- /package/build/{modal.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → modal.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css} +0 -0
- /package/build/{satisfaction-survey.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → satisfaction-survey.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css} +0 -0
- /package/build/{test-mode.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → test-mode.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css} +0 -0
- /package/build/{tooltip.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → tooltip.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ut, g as Ve, o as We, a as Ze, n as te, b as Fe } from "./index.
|
|
1
|
+
import { c as ut, g as Ve, o as We, a as Ze, n as te, b as Fe } from "./index.lsMLtC09.js";
|
|
2
2
|
const pt = window, Vt = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Wt = /* @__PURE__ */ Symbol(), ee = /* @__PURE__ */ new WeakMap();
|
|
3
3
|
let xe = class {
|
|
4
4
|
constructor(t, i, s) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as z, a as Hn, A as Tt, M as Ad, b as vd, c as te, d as qt, V as go, e as _r, f as Ke, g as Nt, B as mt, T as Wi, h as bd, i as wd, j as Nd, k as Vo, l as Dn, F as q, G as Wo, m as kl, E as cn, n as kd, D as Go, o as Od, p as yi, L as Fe, S as Bs, q as jo, r as Ie, s as Kt, t as qo, N as Fn, u as Ol, v as Rd, w as yo, W as Ld, x as ci, y as xd, z as _n, U as Ko, H as Pd, I as Dd, J as Yo, K as ln, O as So, P as Si, Q as li, R as Fd, X as Gi, Y as Rl, Z as Mn, _ as ji, $ as Ln, a0 as To, a1 as Vs, a2 as $n, a3 as Ud, a4 as Hd } from "./index.npm.
|
|
1
|
+
import { C as z, a as Hn, A as Tt, M as Ad, b as vd, c as te, d as qt, V as go, e as _r, f as Ke, g as Nt, B as mt, T as Wi, h as bd, i as wd, j as Nd, k as Vo, l as Dn, F as q, G as Wo, m as kl, E as cn, n as kd, D as Go, o as Od, p as yi, L as Fe, S as Bs, q as jo, r as Ie, s as Kt, t as qo, N as Fn, u as Ol, v as Rd, w as yo, W as Ld, x as ci, y as xd, z as _n, U as Ko, H as Pd, I as Dd, J as Yo, K as ln, O as So, P as Si, Q as li, R as Fd, X as Gi, Y as Rl, Z as Mn, _ as ji, $ as Ln, a0 as To, a1 as Vs, a2 as $n, a3 as Ud, a4 as Hd } from "./index.npm.CorVAyQZ.js";
|
|
2
2
|
var Md = Object.assign || function(e) {
|
|
3
3
|
for (var t = 1; t < arguments.length; t++) {
|
|
4
4
|
var n = arguments[t];
|
|
@@ -2164,7 +2164,7 @@ function Bt(e) {
|
|
|
2164
2164
|
}
|
|
2165
2165
|
return `https://fast.appcues.com${e}`;
|
|
2166
2166
|
}
|
|
2167
|
-
const Nh = "/generic/main/7.16.
|
|
2167
|
+
const Nh = "/generic/main/7.16.1/checklist.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css", kh = "sha256-EigK7j3mIcyRtN9QMMY0sUoowSOWimO63FNAhByeT6I=", Ji = Bt(Nh), uc = 30, Oh = -300, Rh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
|
|
2168
2168
|
let ur = null, dr = null;
|
|
2169
2169
|
const Lh = (e) => {
|
|
2170
2170
|
const {
|
|
@@ -6012,7 +6012,7 @@ function ys(e, t, n, r) {
|
|
|
6012
6012
|
yh(e.defaultView, i), window.setTimeout(i, 200);
|
|
6013
6013
|
}
|
|
6014
6014
|
}
|
|
6015
|
-
const kg = "/generic/main/7.16.
|
|
6015
|
+
const kg = "/generic/main/7.16.1/modal.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css", Og = "/generic/main/7.16.1/modal-step-legacy-render.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css", Rg = "sha256-gMdbP/xfvtptqP/0vvPGgdlUKg1OcJp09by8eMIzx4Q=", Lg = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", xg = Bt(Og), zr = Bt(kg), Gc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
|
|
6016
6016
|
function jc(e) {
|
|
6017
6017
|
if (!e) return;
|
|
6018
6018
|
const { style: t } = e, n = t.transform;
|
|
@@ -6284,7 +6284,7 @@ function Ug({ patternType: e, hidden: t }) {
|
|
|
6284
6284
|
}
|
|
6285
6285
|
);
|
|
6286
6286
|
}
|
|
6287
|
-
const Hg = "/generic/main/7.16.
|
|
6287
|
+
const Hg = "/generic/main/7.16.1/tooltip.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css", Mg = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", Xr = Bt(Hg), Kc = "//twemoji.maxcdn.com/2/svg/", $g = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Tr = "hs", Yc = "pattern-title", zc = "Hide these tips";
|
|
6288
6288
|
function Bg(e, t) {
|
|
6289
6289
|
return {
|
|
6290
6290
|
skippable: e.skippable,
|
|
@@ -7579,7 +7579,7 @@ function fy(e) {
|
|
|
7579
7579
|
)
|
|
7580
7580
|
)));
|
|
7581
7581
|
}
|
|
7582
|
-
const py = "/generic/main/7.16.
|
|
7582
|
+
const py = "/generic/main/7.16.1/satisfaction-survey.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css", hy = "sha256-orClVQ0cwyOjh8QFSBbV42LCG1fNHRPUyzFj1HntWSY=", co = Bt(py);
|
|
7583
7583
|
let nl, Jr;
|
|
7584
7584
|
function my(e) {
|
|
7585
7585
|
const t = ye(e), n = Lr(e), r = Ve(e), i = tt(e), o = st(e), s = zt(e, o), c = i[s], l = t.attributes.pattern_type, { position: u } = t.attributes, d = e.views.callbacks[z.SATISFACTION_SURVEY], f = n.cssLoaded, h = Li(e.settings), y = r !== te.SHOWING;
|
|
@@ -12898,7 +12898,7 @@ function Al({ user: e }) {
|
|
|
12898
12898
|
};
|
|
12899
12899
|
return /* @__PURE__ */ a.html("table", null, /* @__PURE__ */ a.html("thead", null, /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("th", null, "Property"), /* @__PURE__ */ a.html("th", null, "Value"))), /* @__PURE__ */ a.html("tbody", null, n.sort(r).map((i) => /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("td", null, i.name), /* @__PURE__ */ a.html("td", null, JSON.stringify(i.value))))));
|
|
12900
12900
|
}
|
|
12901
|
-
const p_ = "/generic/main/7.16.
|
|
12901
|
+
const p_ = "/generic/main/7.16.1/debugger.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css", h_ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", m_ = Bt(p_), ho = Qn(
|
|
12902
12902
|
[
|
|
12903
12903
|
nr,
|
|
12904
12904
|
tr,
|
|
@@ -13002,7 +13002,7 @@ const S_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", T_ = (
|
|
|
13002
13002
|
},
|
|
13003
13003
|
"Restart"
|
|
13004
13004
|
), /* @__PURE__ */ a.html("div", { "class-clickable": !0, "on-click": t.onCancelClicked }, "End Test"))));
|
|
13005
|
-
}, C_ = "/generic/main/7.16.
|
|
13005
|
+
}, C_ = "/generic/main/7.16.1/test-mode.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css", __ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", I_ = Bt(C_), mo = Qn(
|
|
13006
13006
|
[
|
|
13007
13007
|
nr,
|
|
13008
13008
|
tr,
|
|
@@ -14110,7 +14110,7 @@ const DI = "v2", FI = (e) => {
|
|
|
14110
14110
|
return window.createAppcues(n);
|
|
14111
14111
|
}, UI = async () => {
|
|
14112
14112
|
{
|
|
14113
|
-
const e = await import("./open-builder.
|
|
14113
|
+
const e = await import("./open-builder.Cdda7caO.js");
|
|
14114
14114
|
window.createAppcues = e.default;
|
|
14115
14115
|
}
|
|
14116
14116
|
return FI;
|
|
@@ -14157,7 +14157,7 @@ function* MI({ payload: e }) {
|
|
|
14157
14157
|
(o) => o.type === "launchpad"
|
|
14158
14158
|
);
|
|
14159
14159
|
if (i) {
|
|
14160
|
-
yield import("./index.
|
|
14160
|
+
yield import("./index.KajA99Iz.js");
|
|
14161
14161
|
const o = yield v(ye);
|
|
14162
14162
|
if (!(o?.type === z.HOTSPOTS) && o) {
|
|
14163
14163
|
const { experiences: c, launchpads: l } = gi(n);
|
|
@@ -14379,7 +14379,7 @@ function* rA() {
|
|
|
14379
14379
|
)
|
|
14380
14380
|
];
|
|
14381
14381
|
}
|
|
14382
|
-
const iA = "/generic/main/7.16.
|
|
14382
|
+
const iA = "/generic/main/7.16.1/container.6973a5fa7a1bedd77853ff2e3983c778ed8716ca.css", oA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
|
|
14383
14383
|
window.performance && window.performance.mark && window.performance.mark("apc-init");
|
|
14384
14384
|
JS();
|
|
14385
14385
|
const bt = window.AppcuesBundleSettings;
|
|
@@ -222,7 +222,7 @@ function O(t, e, s) {
|
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
224
|
async function d() {
|
|
225
|
-
await import("./index.
|
|
225
|
+
await import("./index.lsMLtC09.js").then((t) => t.i), E = !0;
|
|
226
226
|
}
|
|
227
227
|
async function u() {
|
|
228
228
|
window.Appcues.forEach((t) => {
|
package/build/index.npm.js
CHANGED
|
@@ -6059,13 +6059,15 @@ const Cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6059
6059
|
}, gi = (t = [], e = []) => {
|
|
6060
6060
|
const n = new Map(
|
|
6061
6061
|
t.map((s) => [s.id, s])
|
|
6062
|
-
), r = new Map(e.map((s) => [s.id, s])), o = e.filter(
|
|
6063
|
-
(s) => !n.has(s.id)
|
|
6064
|
-
), i = t.filter(
|
|
6065
|
-
(s) => !r.has(s.id)
|
|
6066
|
-
), a = e.filter((s) => {
|
|
6062
|
+
), r = new Map(e.map((s) => [s.id, s])), o = e.filter((s) => {
|
|
6067
6063
|
const c = n.get(s.id);
|
|
6068
|
-
|
|
6064
|
+
return !c || c.type !== s.type;
|
|
6065
|
+
}), i = t.filter((s) => {
|
|
6066
|
+
const c = r.get(s.id);
|
|
6067
|
+
return !c || c.type !== s.type;
|
|
6068
|
+
}), a = e.filter((s) => {
|
|
6069
|
+
const c = n.get(s.id);
|
|
6070
|
+
if (!c || c.type !== s.type) return !1;
|
|
6069
6071
|
const f = c.config || {}, y = s.config || {};
|
|
6070
6072
|
return !En(f, y);
|
|
6071
6073
|
});
|
|
@@ -9465,9 +9467,10 @@ const tv = "@appcues/experienceTheme", ev = ({ addHook: t }) => {
|
|
|
9465
9467
|
getWindowReference: a,
|
|
9466
9468
|
getTraitConfig: s
|
|
9467
9469
|
}) {
|
|
9468
|
-
const { css: c } = s();
|
|
9469
|
-
if (
|
|
9470
|
-
|
|
9470
|
+
const { css: c } = s(), f = o();
|
|
9471
|
+
if (!c || e && e.parentNode === f)
|
|
9472
|
+
return;
|
|
9473
|
+
const y = i();
|
|
9471
9474
|
f && (e = a().document.createElement("style"), e.id = `appcues-experience-style-${y}`, e.textContent = c, f.prepend(e));
|
|
9472
9475
|
}
|
|
9473
9476
|
function r() {
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|