playlight-sdk 0.1.8 → 0.1.9
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/playlight-sdk.es.js
CHANGED
|
@@ -3844,7 +3844,7 @@ function DiscoveryOverlay(e2, t2) {
|
|
|
3844
3844
|
})), append(e2, m2), pop(), o2();
|
|
3845
3845
|
}
|
|
3846
3846
|
delegate(["click"]);
|
|
3847
|
-
var vt = /* @__PURE__ */ template('<div class="fixed top-
|
|
3847
|
+
var vt = /* @__PURE__ */ template('<div class="fixed top-2 right-0 left-0 h-4"></div>');
|
|
3848
3848
|
delegate(["mouseover"]);
|
|
3849
3849
|
var ht = /* @__PURE__ */ template("<!> <!> <!> <!>", 1);
|
|
3850
3850
|
function App(e2, t2) {
|
|
@@ -3893,16 +3893,15 @@ function App(e2, t2) {
|
|
|
3893
3893
|
});
|
|
3894
3894
|
!function ExitIntentDetector(e3, t3) {
|
|
3895
3895
|
push(t3, true);
|
|
3896
|
-
let n3 = prop(t3, "enabled", 3, true), o3 =
|
|
3897
|
-
var
|
|
3898
|
-
|
|
3899
|
-
|
|
3896
|
+
let n3 = prop(t3, "enabled", 3, true), o3 = false;
|
|
3897
|
+
var i3 = vt();
|
|
3898
|
+
event("mousemove", T, function trackMouse() {
|
|
3899
|
+
o3 || setTimeout(() => o3 = true, 250);
|
|
3900
|
+
}), i3.__mouseover = function handleBarTrigger() {
|
|
3900
3901
|
var _a3;
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
},
|
|
3904
|
-
o3 = "bottom", i3 = Date.now();
|
|
3905
|
-
}, append(e3, s3), pop();
|
|
3902
|
+
n3() && !localStorage.getItem("playlight_exit_intent_disabled_by_user") && o3 && // Trigger exit intent
|
|
3903
|
+
((_a3 = t3.onIntent) == null ? void 0 : _a3.call(t3));
|
|
3904
|
+
}, append(e3, i3), pop();
|
|
3906
3905
|
}(d2, {
|
|
3907
3906
|
get enabled() {
|
|
3908
3907
|
return get$1(f2);
|