@xwadex/fesd 0.0.30 → 0.0.32
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.
@@ -1164,15 +1164,8 @@ V = new WeakSet(), Se = function() {
|
|
1164
1164
|
route: l,
|
1165
1165
|
on: {
|
1166
1166
|
complete(m) {
|
1167
|
-
|
1168
|
-
|
1169
|
-
window.instgrm.Embeds.process();
|
1170
|
-
else {
|
1171
|
-
const f = document.createElement("script");
|
1172
|
-
f.src = "https://www.instagram.com/embed.js", f.async = !0, document.body.appendChild(f);
|
1173
|
-
}
|
1174
|
-
else
|
1175
|
-
m.querySelector(".modal-content").insertAdjacentHTML("beforeend", lt(t.params)), m.setAttribute("video-typeStyle", `${c}`);
|
1167
|
+
var f;
|
1168
|
+
c == "instagram" ? (m.setAttribute("video-typeStyle", `${c}`), (f = window.instgrm) != null && f.Embeds ? window.instgrm.Embeds.process() : console.log("window.instgrm is undefined")) : (m.querySelector(".modal-content").insertAdjacentHTML("beforeend", lt(t.params)), m.setAttribute("video-typeStyle", `${c}`));
|
1176
1169
|
},
|
1177
1170
|
open(m) {
|
1178
1171
|
const f = m.querySelectorAll("[data-overlayscrollbars-viewport]");
|